(function(){var GBS_HOST = "https://books.google.com/";var f,aa=[];function ba(a){return function(){return aa[a].apply(this,arguments)}}function ca(a,b){return aa[a]=b}function da(a){var b=0;return function(){return b>>0)+"_",e=0;return b}); ia("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c=e}});ia("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=Na(this,b,"startsWith"),e=d.length,g=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var h=0;h=g}}); ia("Number.isFinite",function(a){return a?a:function(b){return"number"!==typeof b?!1:!isNaN(b)&&Infinity!==b&&-Infinity!==b}});ia("String.prototype.repeat",function(a){return a?a:function(b){var c=Na(this,null,"repeat");if(0>b||1342177279>>=1)c+=c;return d}}); function Oa(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&cc&&(c=Math.max(c+e,0));c>>0),Ya=0;function $a(a,b,c){return a.call.apply(a.bind,arguments)} function ab(a,b,c){if(!a)throw Error();if(2c&&(c=Math.max(0,a.length+c));if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.lastIndexOf(b,c); for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1},v=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,g=0;gb?null:"string"===typeof a?a.charAt(b):a[b]} function pb(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,g=0;g=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}function Ab(a,b){a.sort(b||Bb)} function Bb(a,b){return a>b?1:ab&&Array.prototype.push.apply(a,a.splice(0,-b))}return a}function Fb(a,b){return vb.apply([],mb(a,b))};function Gb(a){return"string"==typeof a.className?a.className:a.getAttribute&&a.getAttribute("class")||""}function Hb(a){return a.classList?a.classList:Gb(a).match(/\S+/g)||[]}function Ib(a,b){"string"==typeof a.className?a.className=b:a.setAttribute&&a.setAttribute("class",b)}function Jb(a,b){return a.classList?a.classList.contains(b):qb(Hb(a),b)}function x(a,b){if(a.classList)a.classList.add(b);else if(!Jb(a,b)){var c=Gb(a);Ib(a,c+(0")&&(a=a.replace(Yb,">"));-1!=a.indexOf('"')&&(a=a.replace(Zb,"""));-1!=a.indexOf("'")&&(a=a.replace($b,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(ac,"�"));return a}var Wb=/&/g,Xb=//g,Zb=/"/g,$b=/'/g,ac=/\x00/g,Vb=/[\x00&<>"']/;function bc(a,b){return-1!=a.indexOf(b)} function cc(a,b){var c=0;a=Tb(String(a)).split(".");b=Tb(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;0==c&&eb?1:0};function ec(){var a=q.navigator;return a&&(a=a.userAgent)?a:""}var fc,gc=q.navigator;fc=gc?gc.userAgentData||null:null;function hc(a){return Ob?fc?fc.brands.some(function(b){return(b=b.brand)&&bc(b,a)}):!1:!1}function z(a){return bc(ec(),a)};function ic(){return Ob?!!fc&&0parseFloat(Nc)){Mc=String(Pc);break a}}Mc=Nc}var Qc=Mc,Rc={};function Sc(a){return vc(Rc,a,function(){return 0<=cc(Qc,a)})}function Tc(a){return Number(Uc)>=a}var Vc; if(q.document&&A){var Wc=Lc();Vc=Wc?Wc:parseInt(Qc,10)||void 0}else Vc=void 0;var Uc=Vc;var Xc=A||Bc;function Yc(){return!0}function Zc(){return null}function $c(){}function ad(a){return a}function bd(a,b){function c(){}c.prototype=a.prototype;var d=new c;a.apply(d,Array.prototype.slice.call(arguments,1));return d}function cd(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}};function dd(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function ed(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}function fd(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}function hd(a,b){for(var c in a)if(a[c]==b)return!0;return!1}function id(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return c}function jd(){var a=kd,b;for(b in a)return!1;return!0}function ld(a,b,c){if(null!==a&&b in a)throw Error('The object already contains the key "'+b+'"');a[b]=c} function md(a){var b={},c;for(c in a)b[c]=a[c];return b}var nd="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function od(a,b){for(var c,d,e=1;ea.length?"&":"")+encodeURIComponent(d)+"="+encodeURIComponent(String(h)))}}return b};function Gd(a){this.g=a}Gd.prototype.toString=function(){return this.g.toString()};Gd.prototype.Qd=!0;Gd.prototype.ld=function(){return this.g.toString()};function Hd(a){return a instanceof Gd&&a.constructor===Gd?a.g:"type_error:SafeUrl"}var Id=/^data:(.*);base64,[a-z0-9+\/]+=*$/i,Jd=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i; function Kd(a){a instanceof Gd||(a="object"==typeof a&&a.Qd?a.ld():String(a),Jd.test(a)?a=Ld(a):(a=String(a).replace(/(%0A|%0D)/g,""),a=a.match(Id)?Ld(a):null));return a||Md}var Nd;try{new URL("s://g"),Nd=!0}catch(a){Nd=!1}var Od=Nd; function Pd(a){if(a instanceof Gd)return a;a="object"==typeof a&&a.Qd?a.ld():String(a);a:{var b=a;if(Od){try{var c=new URL(b)}catch(d){b="https:";break a}b=c.protocol}else b:{c=document.createElement("a");try{c.href=b}catch(d){b=void 0;break b}b=c.protocol;b=":"===b||""===b?"https:":b}}"javascript:"===b&&(a="about:invalid#zClosurez");return Ld(a)}var Qd={};function Ld(a){return new Gd(a,Qd)}var Md=Ld("about:invalid#zClosurez");var Rd={};function Sd(a){this.g=a;this.Qd=!0}Sd.prototype.ld=function(){return this.g};Sd.prototype.toString=function(){return this.g.toString()};function Td(a){return a instanceof Sd&&a.constructor===Sd?a.g:"type_error:SafeStyle"} function Ud(a){var b="",c;for(c in a)if(Object.prototype.hasOwnProperty.call(a,c)){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=Array.isArray(d)?d.map(Vd).join(" "):Vd(d),b+=c+":"+d+";")}return b?new Sd(b,Rd):Wd}var Wd=new Sd("",Rd); function Vd(a){if(a instanceof Gd)return'url("'+Hd(a).replace(/+~[\]()=\\^$|]+$/.test(c))throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=\\^$|] and strings, got: "+a);a:{for(var d={"(":")","[":"]"},e=[],g=0;g":(c=ue(c),b+=">"+le(c).toString()+"");return ne(b)}var pe=/^[a-zA-Z0-9-]+$/,ve={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},qe={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},te=new ke(q.trustedTypes&&q.trustedTypes.emptyHTML||"",je);var we=cd(function(){var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);b=a.firstChild.firstChild;a.innerHTML=le(te);return!b.parentElement});function xe(a,b){if(we())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=le(b)}function ye(a,b){var c=ze(a.ownerDocument&&a.ownerDocument.defaultView);c&&a.setAttribute("nonce",c);a.src=Bd(b)}function Ae(a,b){b=b instanceof Gd?b:Pd(b);a.href=Hd(b)} function Be(a,b){b=b instanceof Gd?b:Pd(b);a.replace(Hd(b))}function ze(a){return Ce("script[nonce]",a)}var De=/^[\w+/_-]+[=]{0,2}$/;function Ce(a,b){b=(b||q).document;return b.querySelector?(a=b.querySelector(a))&&(a=a.nonce||a.getAttribute("nonce"))&&De.test(a)?a:"":""};function Ee(a,b,c){return Math.min(Math.max(a,b),c)};function B(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0}f=B.prototype;f.clone=function(){return new B(this.x,this.y)};function Fe(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1}function Ge(a,b){var c=a.x-b.x;a=a.y-b.y;return Math.sqrt(c*c+a*a)}function He(a,b){return new B(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.Hj=function(a,b){this.x*=a;this.y*="number"===typeof b?b:a;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.Jc=ba(5);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};/* SPDX-License-Identifier: Apache-2.0 */ function Ke(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1",""":'"'};var c=q.document.createElement("div");return a.replace(Te,function(d,e){var g=b[d];if(g)return g;"#"==e.charAt(0)&&(e=Number("0"+e.slice(1)),isNaN(e)||(g=String.fromCharCode(e)));g||(g=ne(d+" "),xe(c,g),g=c.firstChild.nodeValue.slice(0,-1));return b[d]=g})} function Se(a){return a.replace(/&([^;]+);/g,function(b,c){switch(c){case "amp":return"&";case "lt":return"<";case "gt":return">";case "quot":return'"';default:return"#"!=c.charAt(0)||(c=Number("0"+c.slice(1)),isNaN(c))?b:String.fromCharCode(c)}})}var Te=/&([^;\s<&]+);?/g;function Ue(a,b){a.length>b&&(a=a.substring(0,b-3)+"...");return a}function Ve(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#a}function Pf(a){var b=[];Qf(a,b,!0);a=b.join("");a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");a=a.replace(/ +/g," ");" "!=a&&(a=a.replace(/^\s*/,""));return a}function Rf(a){var b=[];Qf(a,b,!1);return b.join("")} function Qf(a,b,c){if(!(a.nodeName in Kf))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 Lf)b.push(Lf[a.nodeName]);else for(a=a.firstChild;a;)Qf(a,b,c),a=a.nextSibling}function Sf(a){return Tf(a,function(b){return"DIV"==b.nodeName&&"string"===typeof b.className&&qb(b.className.split(/\s+/),"slider-box")})}function Tf(a,b){for(var c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null} function Uf(a){try{var b=a&&a.activeElement;return b&&b.nodeName?b:null}catch(c){return null}}function bf(a){this.g=a||q.document||document}f=bf.prototype;f.ha=function(a){return df(this.g,a)};f.getElementsByTagName=function(a,b){return(b||this.g).getElementsByTagName(String(a))};f.Oa=function(a,b,c){return sf(this.g,arguments)};function Vf(a,b){return tf(a.g,b)}function Wf(a){a=a.g;return a.parentWindow||a.defaultView}f.appendChild=wf;f.am=xf;f.dm=yf;f.ou=zf;f.nu=Af;f.bi=I;f.Un=Df;f.Wn=Ef;f.qu=Gf; f.bm=If;function Xf(){}Xf.prototype.next=function(){return Yf};var Yf={done:!0,value:void 0};Xf.prototype.Xe=function(){return this};var Zf={}; function $f(a){var b=Zf.hasOwnProperty(a)?Zf[a]:null;if(b)return b;65536~\\.\\[:]+)","g"),1);b=bg(b,c,RegExp("(\\.[^\\s\\+>~\\.\\[:]+)","g"),2);b=bg(b,c,/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,3); b=bg(b,c,/(:[\w-]+\([^\)]*\))/gi,2);b=bg(b,c,/(:[^\s\+>~\.\[:]+)/g,2);b=b.replace(/[\*\s\+>~]/g," ");b=b.replace(/[#\.]/g," ");bg(b,c,/([^\s\+>~\.\[:]+)/g,3);b=c;return Zf[a]=b}function bg(a,b,c,d){return a.replace(c,function(e){b[d]+=1;return Array(e.length+1).join(" ")})}function ag(a,b){return a.replace(b,function(c){return Array(c.length+1).join("A")})};var cg={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},dg=/[\n\f\r"'()*<>]/g,eg={"\n":"%0a","\f":"%0c","\r":"%0d",'"':"%22","'":"%27","(":"%28",")":"%29", "*":"%2a","<":"%3c",">":"%3e"};function fg(a){return eg[a]} function gg(a,b,c){b=Tb(b);if(""==b)return null;var d=String(b.slice(0,4)).toLowerCase();if(0==("url("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"!=Hd(a)?'url("'+Hd(a).replace(dg,fg)+'")':null:null}return a}if(0document.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 Gg(a){return Eg(pg,a,"attributes",function(b){return b instanceof NamedNodeMap})} function Hg(a,b,c){try{Fg(sg,a,"setAttribute",[b,c])}catch(d){if(-1==d.message.indexOf("A security problem occurred"))throw d;}}function Ig(a){return Eg(zg,a,"style",function(b){return b instanceof CSSStyleDeclaration})}function Jg(a){return Eg(Ag,a,"sheet",function(b){return b instanceof CSSStyleSheet})}function Kg(a){return Eg(wg,a,"nodeName",function(b){return"string"==typeof b})}function Lg(a){return Eg(xg,a,"nodeType",function(b){return"number"==typeof b})} function Mg(a){return Eg(yg,a,"parentNode",function(b){return!(b&&"string"==typeof b.name&&b.name&&"parentnode"==b.name.toLowerCase())})}function Ng(a,b){return Fg(Bg,a,a.getPropertyValue?"getPropertyValue":"getAttribute",[b])||""}function Og(a,b,c){Fg(Cg,a,a.setProperty?"setProperty":"setAttribute",[b,c])}function Pg(a){return Eg(Dg,a,"namespaceURI",function(b){return"string"==typeof b})};var Qg=A&&10>document.documentMode?null:RegExp("\\s*([^\\s'\",]+[^'\",]*(('([^'\\r\\n\\f\\\\]|\\\\[^])*')|(\"([^\"\\r\\n\\f\\\\]|\\\\[^])*\")|[^'\",])*)","g"),Rg={"-webkit-border-horizontal-spacing":!0,"-webkit-border-vertical-spacing":!0}; function Sg(a,b,c){var d=[];Tg(wb(a.cssRules)).forEach(function(e){if(b&&!/[a-zA-Z][\w-:\.]*/.test(b))throw Error("Invalid container id");if(!(b&&A&&10==document.documentMode&&/\\['"]/.test(e.selectorText))){var g=b?e.selectorText.replace(Qg,"#"+b+" $1"):e.selectorText;d.push(ee(g,Ug(e.style,c)))}});return ge(d)}function Tg(a){return a.filter(function(b){return b instanceof CSSStyleRule||b.type==CSSRule.STYLE_RULE})} function Vg(a,b,c){a=Wg("");return null==a||null==a.sheet?ie:Sg(a.sheet,void 0!=b?b:null,c)}function Wg(a){a=ne(""+a+"");return(new DOMParser).parseFromString(le(a),"text/html").body.children[0]} function Ug(a,b){if(!a)return Wd;var c=document.createElement("div").style;Xg(a).forEach(function(d){var e=Bc&&d in Rg?d:d.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");Qb(e,"--")||Qb(e,"var")||(d=Ng(a,d),d=gg(e,d,b),null!=d&&Og(c,e,d))});return new Sd(c.cssText||"",Rd)} function Yg(a){var b=Array.from(Fg(ug,a,"getElementsByTagName",["STYLE"])),c=Fb(b,function(h){return wb(Jg(h).cssRules)});c=Tg(c);for(var d=[],e=0;e=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 ch(a,b){var c=b.xa.right?b.x-a.right:0;a=b.ya.bottom?b.y-a.bottom:0;return Math.sqrt(c*c+a*a)} 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 dh(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}f=dh.prototype;f.clone=function(){return new dh(this.left,this.top,this.width,this.height)};function eh(a){return new $g(a.top,a.left+a.width,a.top+a.height,a.left)}function fh(a){return new dh(a.left,a.top,a.right-a.left,a.bottom-a.top)} function gh(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);b=Math.min(a.top+a.height,b.top+b.height);if(e<=b)return a.left=c,a.top=e,a.width=d-c,a.height=b-e,!0}return!1}function hh(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);a=Math.min(a.top+a.height,b.top+b.height);if(e<=a)return new dh(c,e,d-c,a-e)}return null} function ih(a,b){return a.left<=b.left+b.width&&b.left<=a.left+a.width&&a.top<=b.top+b.height&&b.top<=a.top+a.height}function jh(a,b){if(!a||!b)return null;a=new dh(a.left,a.top,a.width,a.height);var c=Math.max(a.left+a.width,b.left+b.width),d=Math.max(a.top+a.height,b.top+b.height);a.left=Math.min(a.left,b.left);a.top=Math.min(a.top,b.top);a.width=c-a.left;a.height=d-a.top;return a}f.getSize=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 K(a,b,c){if("string"===typeof b)(b=kh(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],g=kh(c,d);g&&(c.style[g]=e)}}var lh={};function kh(a,b){var c=lh[b];if(!c){var d=Ze(b);c=d;void 0===a.style[d]&&(d=(Bc?"Webkit":Ac?"Moz":A?"ms":null)+$e(d),void 0!==a.style[d]&&(c=d));lh[b]=c}return c}function mh(a,b){var c=a.style[Ze(b)];return"undefined"!==typeof c?c:a.style[kh(a,b)]||""} function nh(a,b){var c=cf(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""}function oh(a,b){return a.currentStyle?a.currentStyle[b]:null}function ph(a,b){return nh(a,b)||oh(a,b)||a.style&&a.style[b]}function qh(a,b,c){if(b instanceof B){var d=b.x;b=b.y}else d=b,b=c;a.style.left=rh(d,!1);a.style.top=rh(b,!1)}function sh(a){return new B(a.offsetLeft,a.offsetTop)} function th(a){a=a?cf(a):document;return!A||Tc(9)||of(af(a).g)?a.documentElement:a.body}function uh(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}} function vh(a){if(A&&!Tc(8))return a.offsetParent;var b=cf(a),c=ph(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=ph(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 wh(a){for(var b=new $g(0,Infinity,Infinity,0),c=af(a),d=c.g.body,e=c.g.documentElement,g=qf(c.g);a=vh(a);)if(!(A&&0==a.clientWidth||Bc&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=ph(a,"overflow")){var h=xh(a),k=new B(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= nf(Wf(c));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 yh(a,b){b=b||qf(document);var c=b||qf(document);var d=xh(a),e=xh(c),g=zh(c);if(c==qf(document)){var h=d.x-c.scrollLeft;d=d.y-c.scrollTop;A&&!Tc(10)&&(h+=g.left,d+=g.top)}else h=d.x-e.x-g.left,d=d.y-e.y-g.top;a=Ah(a);g=c.clientHeight-a.height;e=c.scrollLeft;var k=c.scrollTop;e+=Math.min(h,Math.max(h-(c.clientWidth-a.width),0));k+=Math.min(d,Math.max(d-g,0));c=new B(e,k);b.scrollLeft=c.x;b.scrollTop=c.y} function xh(a){var b=cf(a),c=new B(0,0),d=th(b);if(a==d)return c;a=uh(a);b=pf(af(b).g);c.x=a.left+b.x;c.y=a.top+b.y;return c}function Bh(a,b){a=Ch(a);b=Ch(b);return new B(a.x-b.x,a.y-b.y)}function Dh(a){a=uh(a);return new B(a.left,a.top)}function Ch(a){if(1==a.nodeType)return Dh(a);a=a.changedTouches?a.changedTouches[0]:a;return new B(a.clientX,a.clientY)}function Eh(a,b,c){var d=xh(a);b instanceof B&&(c=b.y,b=b.x);qh(a,a.offsetLeft+(b-d.x),a.offsetTop+(Number(c)-d.y))} function L(a,b,c){if(b instanceof Ie)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");Fh(a,b);a.style.height=rh(c,!0)}function rh(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}function Fh(a,b){a.style.width=rh(b,!0)}function M(a){var b=Ah;if("none"!=ph(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 Ah(a){var b=a.offsetWidth,c=a.offsetHeight,d=Bc&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=uh(a),new Ie(a.right-a.left,a.bottom-a.top)):new Ie(b,c)}function Gh(a){var b=xh(a);a=M(a);return new dh(b.x,b.y,a.width,a.height)}function Hh(a,b){a=a.style;"opacity"in a?a.opacity=b:"MozOpacity"in a?a.MozOpacity=b:"filter"in a&&(a.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")}function N(a,b){a.style.display=b?"":"none"}function Ih(a){return"none"!=a.style.display} function Jh(a){return"rtl"==ph(a,"direction")}var Kh=Ac?"MozUserSelect":Bc||xc?"WebkitUserSelect":null;function Lh(a,b,c){c=c?null:a.getElementsByTagName("*");if(Kh){if(b=b?"none":"",a.style&&(a.style[Kh]=b),c){a=0;for(var d;d=c[a];a++)d.style&&(d.style[Kh]=b)}}else if(A&&(b=b?"on":"",a.setAttribute("unselectable",b),c))for(a=0;d=c[a];a++)d.setAttribute("unselectable",b)}function Mh(a,b){Nh(a,b,"border-box")} function Oh(a){var b=cf(a),c=A&&a.currentStyle;if(c&&of(af(b).g)&&"auto"!=c.width&&"auto"!=c.height&&!c.boxSizing)return b=Ph(a,c.width,"width","pixelWidth"),a=Ph(a,c.height,"height","pixelHeight"),new Ie(b,a);c=new Ie(a.offsetWidth,a.offsetHeight);if(A){b=Qh(a,"paddingLeft");var d=Qh(a,"paddingRight"),e=Qh(a,"paddingTop"),g=Qh(a,"paddingBottom");b=new $g(e,d,g,b)}else b=nh(a,"paddingLeft"),d=nh(a,"paddingRight"),e=nh(a,"paddingTop"),g=nh(a,"paddingBottom"),b=new $g(parseFloat(e),parseFloat(d),parseFloat(g), parseFloat(b));a=zh(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 Nh(a,b,c){a=a.style;Ac?a.MozBoxSizing=c:Bc?a.WebkitBoxSizing=c:a.boxSizing=c;a.width=Math.max(b.width,0)+"px";a.height=Math.max(b.height,0)+"px"}function Ph(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 Qh(a,b){return(b=oh(a,b))?Ph(a,b,"left","pixelLeft"):0}var Rh={thin:2,medium:4,thick:6};function Sh(a,b){if("none"==oh(a,b+"Style"))return 0;b=oh(a,b+"Width");return b in Rh?Rh[b]:Ph(a,b,"left","pixelLeft")} function zh(a){if(A&&!Tc(9)){var b=Sh(a,"borderLeft"),c=Sh(a,"borderRight"),d=Sh(a,"borderTop");a=Sh(a,"borderBottom");return new $g(d,c,a,b)}b=nh(a,"borderLeftWidth");c=nh(a,"borderRightWidth");d=nh(a,"borderTopWidth");a=nh(a,"borderBottomWidth");return new $g(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))};function Th(a){return{valueOf:a}.valueOf()};function Uh(a){this.el=a}function Vh(a){return new Uh(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})}var Wh=[Vh("data"),Vh("http"),Vh("https"),Vh("mailto"),Vh("ftp"),new Uh(function(a){return/^[^:]*([/?#]|$)/.test(a)})];function Xh(a){var b=void 0===b?Wh:b;a:if(b=void 0===b?Wh:b,!(a instanceof Gd)){for(var c=0;c"+b+""),Yg(b),b=b.innerHTML);b=ne(b);var c=document.createElement("template");if(ti&&"content"in c)xe(c,b),c=c.content;else{var d=document.implementation.createHTMLDocument("x");c=d.body;xe(d.body,b)}b=document.createTreeWalker(c,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT, null,!1);for(c=pi?new WeakMap:new ri;d=b.nextNode();){c:{var e=d;switch(Lg(e)){case 3:e=Li(this,e);break c;case 1:if("TEMPLATE"==Kg(e).toUpperCase())e=null;else{var g=Kg(e).toUpperCase();if(g in this.O||"http://www.w3.org/1999/xhtml"!=Pg(e))var h=null;else this.l[g]?h=this.j.createElement(g):(h=this.j.createElement("span"),this.na&&Hg(h,"data-sanitizer-original-tag",g.toLowerCase()));if(h){var k=h,l=Gg(e);if(null!=l)for(var m=0;g=l[m];m++)if(g.specified){var p=e;var w=g;var D=w.name;if(Qb(D,"data-sanitizer-"))w= null;else{var F=Kg(p);w=w.value;var E={tagName:Tb(F).toLowerCase(),attributeName:Tb(D).toLowerCase()},P={Ak:void 0};"style"==E.attributeName&&(P.Ak=Ig(p));p=Ki(F,D);p in this.i?(D=this.i[p],w=D(w,E,P)):(D=Ki(null,D),D in this.i?(D=this.i[D],w=D(w,E,P)):w=null)}null!==w&&Hg(k,g.name,w)}e=h}else e=null}break c;default:e=null}}if(e){if(1==Lg(e)&&c.set(d,e),d=Mg(d),g=!1,d)h=Lg(d),k=Kg(d).toLowerCase(),l=Mg(d),11!=h||l?"body"==k&&l&&(h=Mg(l))&&!Mg(h)&&(g=!0):g=!0,h=null,g||!d?h=a:1==Lg(d)&&(h=c.get(d)), h.content&&(h=h.content),h.appendChild(e)}else yf(d)}c.clear&&c.clear()}0")+1,a.lastIndexOf(""));b.Ew&&(a=a.replace(/(\t+)/g,'$1'));return ne(a)} function Oi(a){var b={nonce:ki(window)};b=void 0===b?{}:b;a=(a instanceof zd&&a.constructor===zd?a.g:"type_error:SafeScript").toString();var c=""+a+"\x3c/script>"))}function Ni(a){return a.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")} function Pi(a){var b=Mi("");return ne(a.map(function(c){return le(Mi(c))}).join(le(b).toString()))}var Qi=/^[a-z][a-z\d-]*$/i,Ri="APPLET BASE EMBED IFRAME LINK MATH META OBJECT SCRIPT STYLE SVG TEMPLATE".split(" "),Si="AREA BR COL COMMAND HR IMG INPUT KEYGEN PARAM SOURCE TRACK WBR".split(" "),Ti=["action","formaction","href"];function Ui(a){if(!Qi.test(a))throw Error("");if(-1!==Ri.indexOf(a.toUpperCase()))throw Error("");} function Vi(a,b,c){Ui(a);var d="<"+a;b&&(d+=Wi(b));Array.isArray(c)||(c=void 0===c?[]:[c]);-1!==Si.indexOf(a.toUpperCase())?d+=">":(b=Pi(c.map(function(e){return e instanceof ke?e:Mi(String(e))})),d+=">"+b.toString()+"");return ne(d)} function Wi(a){for(var b="",c=Object.keys(a),d=0;d")+1,a.lastIndexOf(">>0);function Vj(a){if("function"===typeof a)return a;a[ek]||(a[ek]=function(b){return a.handleEvent(b)});return a[ek]};function fk(a){Aj.call(this);this.s=a;this.j={}}u(fk,Aj);var gk=[];f=fk.prototype;f.ka=function(a,b,c,d){return hk(this,a,b,c,d)};function ik(a,b,c,d,e){hk(a,b,c,d,!1,e)}function hk(a,b,c,d,e,g){Array.isArray(c)||(c&&(gk[0]=c.toString()),c=gk);for(var h=0;h=a.keyCode)return!1;if(qk(a.keyCode))return!0;switch(a.keyCode){case 18:case 20:case 93:case 17:case 40:case 35:case 27:case 36:case 45:case 37:case 224:case 91:case 144:case 12:case 34:case 33:case 19:case 255:case 44:case 39:case 145:case 16:case 38:case 252:case 224:case 92:return!1;case 0:return!Ac;default:return 166>a.keyCode||183=a||96<=a&&106>=a||65<=a&&90>=a||(Bc||xc)&&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:case 58:return!0;case 173:case 171:return Ac;default:return!1}}function sk(a){if(Ac)a=tk(a);else if(Dc&&Bc)switch(a){case 93:a=91}return a} function tk(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 uk(a){if(a.kc&&"function"==typeof a.kc)return a.kc();if("undefined"!==typeof Map&&a instanceof Map||"undefined"!==typeof Set&&a instanceof Set)return Array.from(a.values());if("string"===typeof a)return a.split("");if(Ua(a)){for(var b=[],c=a.length,d=0;dc&&(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.slice(0,d),e,a.slice(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;a=a[0]+(a[1]?"?"+a[1]:"")+a[2]}return a}function Ak(a,b,c,d){for(var e=c.length;0<=(b=a.indexOf(c,b))&&bd)return null;var e=b.indexOf("&",d);if(0>e||e>c)e=c;d+=a.length+1;return Oe(b.slice(d,-1!==e?e:0))}var Dk=/[?&]($|#)/;function T(a,b){this.g=this.O=this.o="";this.V=null;this.i=this.l="";this.s=!1;var c;a instanceof T?(this.s=void 0!==b?b:a.s,Ek(this,a.o),this.O=a.O,this.g=a.g,Fk(this,a.V),Gk(this,a.l),Hk(this,a.j.clone()),Ik(this,a.i)):a&&(c=String(a).match(xk))?(this.s=!!b,Ek(this,c[1]||"",!0),this.O=Jk(c[2]||""),this.g=Jk(c[3]||"",!0),Fk(this,c[4]),Gk(this,c[5]||"",!0),Hk(this,c[6]||"",!0),Ik(this,c[7]||"",!0)):(this.s=!!b,this.j=new Kk(null,this.s))} T.prototype.toString=function(){var a=[],b=this.o;b&&a.push(Lk(b,Mk,!0),":");var c=this.g;if(c||"file"==b)a.push("//"),(b=this.O)&&a.push(Lk(b,Mk,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.V,null!=c&&a.push(":",String(c));if(c=this.l)this.g&&"/"!=c.charAt(0)&&a.push("/"),a.push(Lk(c,"/"==c.charAt(0)?Nk:Ok,!0));(c=this.j.toString())&&a.push("?",c);(c=this.i)&&a.push("#",Lk(c,Pk));return a.join("")}; T.prototype.resolve=function(a){var b=this.clone(),c=!!a.o;c?Ek(b,a.o):c=!!a.O;c?b.O=a.O:c=!!a.g;c?b.g=a.g:c=null!=a.V;var d=a.l;if(c)Fk(b,a.V);else if(c=!!a.l){if("/"!=d.charAt(0))if(this.g&&!this.l)d="/"+d;else{var e=b.l.lastIndexOf("/");-1!=e&&(d=b.l.slice(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(bc(e,"./")||bc(e,"/.")){d=Qb(e,"/");e=e.split("/");for(var g=[],h=0;hb)throw Error("Bad port number "+b);a.V=b}else a.V=null}function Gk(a,b,c){a.l=c?Jk(b,!0):b}function Hk(a,b,c){b instanceof Kk?(a.j=b,Qk(a.j,a.s)):(c||(b=Lk(b,Rk)),a.j=new Kk(b,a.s))} T.prototype.getQuery=function(){return this.j.toString()};function U(a,b,c){a.j.set(b,c);return a}function V(a,b){return a.j.get(b)}function Ik(a,b,c){a.i=c?Jk(b):b;return a}function Sk(a,b){a.j.remove(b);return a}function Jk(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}function Lk(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,Tk),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null} function Tk(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}var Mk=/[#\/\?@]/g,Ok=/[#\?:]/g,Nk=/[#\?]/g,Rk=/[#\?@]/g,Pk=/#/g;function Kk(a,b){this.i=this.g=null;this.j=a||null;this.l=!!b}function Uk(a){a.g||(a.g=new Map,a.i=0,a.j&&yk(a.j,function(b,c){a.add(Oe(b),c)}))} function Vk(a){var b=vk(a);if("undefined"==typeof b)throw Error("Keys are undefined");var c=new Kk(null);a=uk(a);for(var d=0;da.i&&(a.i++,b.next=a.g,a.g=b)};function hl(a,b){var c=a;b&&(c=r(a,b));c=il(c);"function"!==typeof q.setImmediate||q.Window&&q.Window.prototype&&(ic()||!z("Edge"))&&q.Window.prototype.setImmediate==q.setImmediate?(jl||(jl=kl()),jl(c)):q.setImmediate(c)}var jl; function kl(){var a=q.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!z("Presto")&&(a=function(){var e=H("IFRAME");e.style.display="none";document.documentElement.appendChild(e);var g=e.contentWindow;e=g.document;e.open();e.close();var h="callImmediate"+Math.random(),k="file:"==g.location.protocol?"*":g.location.protocol+"//"+g.location.host;e=r(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&&!kc()){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==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 function(e){q.setTimeout(e,0)}}var il=ad;function ll(a){q.setTimeout(function(){throw a;},0)};function ml(){this.i=this.g=null}ml.prototype.add=function(a,b){var c=nl.get();c.set(a,b);this.i?this.i.next=c:this.g=c;this.i=c};ml.prototype.remove=function(){var a=null;this.g&&(a=this.g,this.g=this.g.next,this.g||(this.i=null),a.next=null);return a};var nl=new fl(function(){return new ol},function(a){return a.reset()});function ol(){this.next=this.g=this.Be=null}ol.prototype.set=function(a,b){this.Be=a;this.g=b;this.next=null};ol.prototype.reset=function(){this.next=this.g=this.Be=null};var pl,ql=!1,rl=new ml;function sl(a,b){pl||ul();ql||(pl(),ql=!0);rl.add(a,b)}function ul(){if(q.Promise&&q.Promise.resolve){var a=q.Promise.resolve(void 0);pl=function(){a.then(vl)}}else pl=function(){hl(vl)}}function vl(){for(var a;a=rl.remove();){try{a.Be.call(a.g)}catch(b){ll(b)}gl(nl,a)}ql=!1};function wl(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};function xl(a){this.g=0;this.O=void 0;this.l=this.i=this.j=null;this.o=this.s=!1;if(a!=$c)try{var b=this;a.call(void 0,function(c){yl(b,2,c)},function(c){yl(b,3,c)})}catch(c){yl(this,3,c)}}function zl(){this.next=this.context=this.i=this.j=this.g=null;this.l=!1}zl.prototype.reset=function(){this.context=this.i=this.j=this.g=null;this.l=!1};var Al=new fl(function(){return new zl},function(a){a.reset()});function Bl(a,b,c){var d=Al.get();d.j=a;d.i=b;d.context=c;return d} function Cl(){var a,b,c=new xl(function(d,e){a=d;b=e});return new Dl(c,a,b)}xl.prototype.then=function(a,b,c){return El(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};xl.prototype.$goog_Thenable=!0;xl.prototype.cancel=function(a){if(0==this.g){var b=new Fl(a);sl(function(){Gl(this,b)},this)}}; function Gl(a,b){if(0==a.g)if(a.j){var c=a.j;if(c.i){for(var d=0,e=null,g=null,h=c.i;h&&(h.l||(d++,h.g==a&&(e=h),!(e&&1=b})}function nm(a,b){return a.g.find(function(c){return bh(eh(jm(c)),b)})};function om(){this.g=[];this.cells=[]}u(om,km);f=om.prototype;f.fm=0;f.di=0;f.marginRight=0;f.ci=0;f.Wk=0;f.Cj=0;f.Op=!1;f.tb=function(){return this.rb};f.Db=function(){return this.Bb}; function pm(a){a.O();for(var b=a.fm,c=0;cthis.ma)if(this.dispatchEvent(new gn("start",this,a.clientX,a.clientY,a)))this.i=!0;else{this.Id||this.Ei(a);return}}c=kn(this,b,c);b=c.x;c=c.y;this.i&&this.dispatchEvent(new gn("beforedrag",this,a.clientX,a.clientY,a,b,c))&&(ln(this,a,b,c),a.preventDefault())}}; function kn(a,b,c){var d=pf(af(a.j).g);b+=d.x-a.qa.x;c+=d.y-a.qa.y;a.qa=d;a.deltaX+=b;a.deltaY+=c;return new B(hn(a,a.deltaX),jn(a,a.deltaY))}f.Uu=function(a){var b=kn(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;ln(this,a,b.x,b.y)};function ln(a,b,c,d){a.Ck(c,d);a.dispatchEvent(new gn("drag",a,b.clientX,b.clientY,b,c,d))}function hn(a,b){var c=a.na;a=isNaN(c.left)?null:c.left;c=isNaN(c.width)?0:c.width;return Math.min(null!=a?a+c:Infinity,Math.max(null!=a?a:-Infinity,b))} function jn(a,b){var c=a.na;a=isNaN(c.top)?null:c.top;c=isNaN(c.height)?0:c.height;return Math.min(null!=a?a+c:Infinity,Math.max(null!=a?a:-Infinity,b))}f.Ck=function(a,b){this.target.style.left=a+"px";this.target.style.top=b+"px"};function gn(a,b,c,d,e,g,h){Dj.call(this,a);this.clientX=c;this.clientY=d;this.i=e;this.left=void 0!==g?g:b.deltaX;this.top=void 0!==h?h:b.deltaY}u(gn,Dj);function mn(a){this.od=new Map;var b=arguments.length;if(1b||b>Fn(this))throw Error("Child component index out of bounds");this.ma&&this.O||(this.ma={},this.O=[]);if(a.getParent()==this){var d=this.ma,e=a.getId();d[e]=a;sb(this.O,a)}else ld(this.ma,a.getId(),a);a.he(this);yb(this.O,b,0,a);a.Va&&this.Va&&a.getParent()==this?(c=this.Ib(),(c.childNodes[b]||null)!=a.ha()&&(a.ha().parentElement==c&&c.removeChild(a.ha()),b=c.childNodes[b]||null,c.insertBefore(a.ha(),b))): c?(this.va||this.Qa(),b=Gn(this,b+1),Cn(a,this.Ib(),b?b.va:null)):this.Va&&!a.Va&&a.va&&a.va.parentNode&&1==a.va.parentNode.nodeType&&a.Ka()};f.Ib=function(){return this.va};function Hn(a){null==a.Kb&&(a.Kb=Jh(a.Va?a.va:a.g.g.body));return a.Kb}function Fn(a){return a.O?a.O.length:0}function Bn(a,b){a.ma&&b?(a=a.ma,b=(null!==a&&b in a?a[b]:void 0)||null):b=null;return b}function Gn(a,b){return a.O?a.O[b]||null:null}function En(a,b,c){a.O&&a.O.forEach(b,c)} function In(a,b){return a.O&&b?a.O.indexOf(b):-1}f.removeChild=function(a,b){if(a){var c="string"===typeof a?a:a.getId();a=Bn(this,c);if(c&&a){var d=this.ma;c in d&&delete d[c];sb(this.O,a);b&&(a.jc(),a.va&&I(a.va));a.he(null)}}if(!a)throw Error("Child is not in parent component");return a};function Jn(a,b){this.va=a;this.i=b};function Kn(a,b){S.call(this);this.l=new fk(this);this.hg(a||null);b&&(this.ig=b)}u(Kn,S);f=Kn.prototype;f.va=null;f.Bn=!0;f.An=null;f.Re=!1;f.jl=-1;f.aj=-1;f.Pn=!0;f.ig="toggle_display";f.getType=function(){return this.ig};f.ha=function(){return this.va};f.hg=function(a){Ln(this);this.va=a};function Mn(a,b){Ln(a);a.Bn=b}function Ln(a){if(a.Re)throw Error("Can not change this state of the popup while showing.");}f.isVisible=function(){return this.Re}; f.Aa=function(a){this.Ga&&this.Ga.stop();this.qa&&this.qa.stop();if(a){if(!this.Re&&this.xl()){if(!this.va)throw Error("Caller must call setElement before trying to show the popup");this.fg();a=cf(this.va);if(this.Bn)if(this.l.ka(a,"mousedown",this.Po,!0),A){try{var b=a.activeElement}catch(d){}for(;b&&"IFRAME"==b.nodeName;){try{var c=Jf(b)}catch(d){break}a=c;b=a.activeElement}this.l.ka(a,"mousedown",this.Po,!0);this.l.ka(a,"deactivate",this.Oo)}else this.l.ka(a,"blur",this.Oo);"toggle_display"==this.ig? (this.va.style.visibility="visible",N(this.va,!0)):"move_offscreen"==this.ig&&this.fg();this.Re=!0;this.jl=Date.now();this.aj=-1;this.Ga?(Uj(this.Ga,"end",this.fi,!1,this),this.Ga.play()):this.fi()}}else Nn(this)};f.fg=function(){};function Nn(a,b){a.Re&&a.dispatchEvent({type:"beforehide",target:b})&&(a.l&&kk(a.l),a.Re=!1,a.aj=Date.now(),a.qa?(Uj(a.qa,"end",t(a.Gn,b),!1,a),a.qa.play()):a.Gn(b))} f.Gn=function(a){"toggle_display"==this.ig?this.cu():"move_offscreen"==this.ig&&(this.va.style.top="-10000px");this.Ug(a)};f.cu=function(){this.va.style.visibility="hidden";N(this.va,!1)};f.xl=function(){return this.dispatchEvent("beforeshow")};f.fi=function(){this.dispatchEvent("show")};f.Ug=function(a){this.dispatchEvent({type:"hide",target:a})};f.Po=function(a){a=a.target;If(this.va,a)||On(this,a)||150>Date.now()-this.jl||Nn(this,a)}; f.Oo=function(a){if(this.Pn){var b=cf(this.va);if("undefined"!=typeof document.activeElement){if(a=b.activeElement,!a||If(this.va,a)||"BODY"==a.tagName||On(this,a))return}else if(a.target!=b)return;150>Date.now()-this.jl||Nn(this)}};function On(a,b){return nb(a.An||[],function(c){return b===c||If(c,b)})}f.ua=function(){Kn.oa.ua.call(this);this.l.Ea();zj(this.Ga);zj(this.qa);delete this.va;delete this.l;delete this.An};function Pn(a,b){xn.call(this,b);this.Ff=!!a;this.qa=null;this.wc=rn({Jo:this.oj},this);rn({Jo:this.Mp},this)}u(Pn,xn);f=Pn.prototype;f.Jk=null;f.ji=!1;f.hd=null;f.xc=null;f.Ud=null;f.rk=!1;f.Vg=function(){return"goog-modalpopup"};f.qh=function(){return this.hd};f.Qa=function(){Pn.oa.Qa.call(this);var a=this.ha();Kb(a,Tb(this.Vg()).split(" "));Of(a,!0);N(a,!1);Qn(this);Rn(this)}; function Qn(a){if(a.Ff&&!a.xc){var b=a.g.Oa("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;"});b.src=Bd(tn).toString();a.xc=b;a.xc.className=a.Vg()+"-bg";N(a.xc,!1);Hh(a.xc,0)}a.hd||(a.hd=a.g.Oa("DIV",a.Vg()+"-bg"),N(a.hd,!1))}function Rn(a){a.Ud||(a.Ud=Vf(a.g,"SPAN"),N(a.Ud,!1),Of(a.Ud,!0),a.Ud.style.position="absolute")}f.lp=function(){this.rk=!1};f.ei=function(a){return!!a&&"DIV"==a.tagName}; f.Nb=function(a){Pn.oa.Nb.call(this,a);a=Tb(this.Vg()).split(" ");Kb(this.ha(),a);Qn(this);Rn(this);Of(this.ha(),!0);N(this.ha(),!1)};f.Ka=function(){this.xc&&zf(this.xc,this.ha());zf(this.hd,this.ha());Pn.oa.Ka.call(this);Af(this.Ud,this.ha());this.Jk=new un(this.g.g);An(this).ka(this.Jk,"focusin",this.Pu);Sn(this,!1)};f.jc=function(){this.isVisible()&&this.Aa(!1);zj(this.Jk);Pn.oa.jc.call(this);I(this.xc);I(this.hd);I(this.Ud)}; f.Aa=function(a){if(a!=this.ji)if(this.wa&&this.wa.stop(),this.Ia&&this.Ia.stop(),this.ta&&this.ta.stop(),this.Ga&&this.Ga.stop(),this.Va&&Sn(this,a),a){if(this.dispatchEvent("beforeshow")){try{this.qa=this.g.g.activeElement}catch(e){}this.Mp();An(this).ka(Wf(this.g),"resize",this.oj).ka(Wf(this.g),"orientationchange",this.wc);Tn(this,!0);this.focus();this.ji=!0;this.wa&&this.Ia?(Uj(this.wa,"end",this.ii,!1,this),this.Ia.play(),this.wa.play()):this.ii()}}else if(this.dispatchEvent("beforehide")){An(this).Ta(Wf(this.g), "resize",this.oj).Ta(Wf(this.g),"orientationchange",this.wc);this.ji=!1;this.ta&&this.Ga?(Uj(this.ta,"end",this.hi,!1,this),this.Ga.play(),this.ta.play()):this.hi();a:{try{var b=this.g,c=b.g.body,d=b.g.activeElement||c;if(!this.qa||this.qa==c){this.qa=null;break a}(d==c||b.bm(this.ha(),d))&&this.qa.focus()}catch(e){}this.qa=null}}}; function Sn(a,b){a.bc||(a.bc=new Jn(a.va,a.g));a=a.bc;if(b){a.g||(a.g=[]);b=a.i.Un(a.i.g.body);for(var c=0;c=po&&(Hh(this.g,a),this.j=a)};f.tf=function(){this.j=-1;oo.oa.tf.call(this)};f.Je=function(){this.j=-1;oo.oa.Je.call(this)};f.show=function(){this.g.style.display=""};f.kb=function(){this.g.style.display="none"};function qo(a,b,c){oo.call(this,a,1,0,b,c)}u(qo,oo);qo.prototype.tf=function(){this.show();qo.oa.tf.call(this)};qo.prototype.Je=function(){this.kb();qo.oa.Je.call(this)}; function ro(a,b,c,d,e){if(3!=b.length||3!=c.length)throw Error("Start and end points must be 3D");no.call(this,a,b,c,d,e)}u(ro,no);ro.prototype.dg=function(){for(var a=[],b=0;b2*this.size&&zo(this),!0):!1}; function zo(a){if(a.size!=a.g.length){for(var b=0,c=0;b=d.g.length)return Yf;var g=d.g[b++];return{value:a?g:d.i[g],done:!1}};return e};function Bo(a,b){return Object.prototype.hasOwnProperty.call(a,b)};function Co(){this.i=new yo;this.g=new Do("");this.g.next=this.g.g=this.g}f=Co.prototype;f.get=function(a,b){return(a=this.i.get(a))?a.value:b};f.set=function(a,b){var c=this.i.get(a);c?c.value=b:(c=new Do(a,b),this.i.set(a,c),a=c,a.g=this.g.g,a.next=this.g,this.g.g=a,a.g.next=a)};f.shift=function(){return Eo(this,this.g.next)};f.pop=function(){return Eo(this,this.g.g)};f.remove=function(a){return(a=this.i.get(a))?(a.remove(),this.i.remove(a.key),!0):!1};f.Jc=ba(1); f.Xd=function(){return this.map(function(a,b){return b})};f.kc=function(){return this.map(function(a){return a})};f.clear=function(){for(;0=b.V&&b.cancel())}this.qa?this.qa.call(this.Ja,this):this.ma=!0;this.j||(a=new Oo(this),Po(this),Qo(this,!1,a))}};No.prototype.na=function(a,b){this.O=!1;Qo(this,a,b)}; function Qo(a,b,c){a.j=!0;a.i=c;a.l=!b;Ro(a)}function Po(a){if(a.j){if(!a.ma)throw new So(a);a.ma=!1}}No.prototype.ug=function(a){Po(this);Qo(this,!0,a)};function To(a,b,c,d){a.o.push([b,c,d]);a.j&&Ro(a)}No.prototype.then=function(a,b,c){var d,e,g=new xl(function(h,k){e=h;d=k});To(this,e,function(h){h instanceof Oo?g.cancel():d(h);return Uo},this);return g.then(a,b,c)};No.prototype.$goog_Thenable=!0;function Vo(a){return nb(a.o,function(b){return"function"===typeof b[1]})}var Uo={}; function Ro(a){if(a.s&&a.j&&Vo(a)){var b=a.s,c=Wo[b];c&&(q.clearTimeout(c.ub),delete Wo[b]);a.s=0}a.g&&(a.g.V--,delete a.g);b=a.i;for(var d=c=!1;a.o.length&&!a.O;){var e=a.o.shift(),g=e[0],h=e[1];e=e[2];if(g=a.l?h:g)try{var k=g.call(e||a.Ja,b);k===Uo&&(k=void 0);void 0!==k&&(a.l=a.l&&(k==b||k instanceof Error),a.i=b=k);if(wl(b)||"function"===typeof q.Promise&&b instanceof q.Promise)d=!0,a.O=!0}catch(l){b=l,a.l=!0,Vo(a)||(c=!0)}}a.i=b;d&&(k=r(a.na,a,!0),d=r(a.na,a,!1),b instanceof No?(To(b,k,d),b.ta= !0):b.then(k,d));c&&(b=new Xo(b),Wo[b.ub]=b,a.s=b.ub)}function So(){eb.call(this)}u(So,eb);So.prototype.message="Deferred has already fired";So.prototype.name="AlreadyCalledError";function Oo(){eb.call(this)}u(Oo,eb);Oo.prototype.message="Deferred was canceled";Oo.prototype.name="CanceledError";function Xo(a){this.ub=q.setTimeout(r(this.i,this),0);this.g=a}Xo.prototype.i=function(){delete Wo[this.ub];throw this.g;};var Wo={};function Yo(a,b){var c=b||{};b=c.document||document;var d=Bd(a).toString(),e=Vf(new bf(b),"SCRIPT"),g={rp:e,ag:void 0},h=new No(Zo,g),k=null,l=null!=c.timeout?c.timeout:5E3;0a.length?"":a[1]};function Np(a){S.call(this);this.ob={};a&&this.Dd(a)}u(Np,S);f=Np.prototype;f.me=function(){return this.ob.w||this.getParent().g.width};f.Zd=function(){return this.ob.h||this.getParent().g.height};function um(a){return a.me()/a.Zd()}f.getSize=function(){return new Ie(this.me(),this.Zd())};f.Dd=function(a){for(var b in a)this.ob[b]=a[b];this.dispatchEvent("update")};f.he=function(a){this.s=a};f.getParent=function(){return this.s};f.hb=function(){return this.ob.title}; f.Ce=function(){var a=this.hb();return a?"Page "+a:""};function Ho(a){return a.ob.order}f.xd=function(a){if(this.ob.src&&a){var b=new T(this.ob.src);U(b,"w",a.width);return b.toString()}return this.ob.src};f.La=function(){return this.ob.pid};function Op(a,b,c){if(8>=oc()){var d=[];d[0]=R(a,"readystatechange",t(Pp,a,t(Qp,b),d))}else Uj(a,"load",t(Qp,b));c&&Uj(a,"error",t(Qp,c))}function Qp(a){W(a)}function Pp(a,b,c){if("complete"!=a.readyState)return!0;ck(c[0]);b();return!1}var Rp=H("div");function Sp(a){if(a)if(A){Rp.appendChild(a);var b=t(I,a);Op(a,b,b);a.src="//www.google.com/images/cleardot.gif"}else a.src="//www.google.com/images/cleardot.gif",I(a)};function Tp(a,b,c,d,e,g,h){S.call(this);this.s=a;this.rb=b;this.Bb=c;this.j=d;this.i=e;this.ma=g;this.O=h;this.l=Math.ceil(this.rb/this.j);this.o=Math.ceil(this.Bb/this.i);this.g=[];for(a=0;ab)return a[c]}else for(c=a.length-1;0<=c;c--)if(a[c]Math.abs(e-d)})});a.push.apply(a,c);Ab(a);return a};function yq(a,b){Fo.call(this);this.O={};a&&(this.Zo=a.prefix,this.zo=a.image_prefix||a.prefix,a=mb(a.page,function(c){c=new this.l(c);b&&(c.Ad=b);return c},this),this.j(a))}u(yq,Fo);yq.prototype.Xk=function(a){a=a.page;for(var b=0;b>14&1023;return 0===a?536870912:a};var Rq={},Sq={};function Tq(a){return!(!a||"object"!==typeof a||a.zw!==Sq)}function Uq(a){return null!==a&&"object"===typeof a&&!Array.isArray(a)&&a.constructor===Object}var Vq=!Pb;function Wq(a,b,c){if(!Array.isArray(a)||a.length)return!1;var d=Kq(a);if(d&1)return!0;if(!(b&&(Array.isArray(b)?b.includes(c):b.has(c))))return!1;Lq(a,d|1);return!0}var Xq,Yq=[];Lq(Yq,55);Xq=Object.freeze(Yq);Object.freeze(new function(){});Object.freeze(new function(){});var Zq;function $q(a,b){Zq=b;a=new a(b);Zq=void 0;return a} function ar(a,b,c){null==a&&(a=Zq);Zq=void 0;if(null==a){var d=96;c?(a=[c],d|=512):a=[];b&&(d=d&-16760833|(b&1023)<<14)}else{if(!Array.isArray(a))throw Error();d=Kq(a);if(d&64)return a;d|=64;if(c&&(d|=512,c!==a[0]))throw Error();a:{c=a;var e=c.length;if(e){var g=e-1;if(Uq(c[g])){d|=256;b=g-(+!!(d&512)-1);if(1024<=b)throw Error();d=d&-16760833|(b&1023)<<14;break a}}if(b){b=Math.max(b,e-(+!!(d&512)-1));if(1024e;e++){var g=c.concat(d[e].split(""));Bq[e]=g;for(var h=0;h>2];l=b[(l&3)<<4|m>>4];m=b[(m&15)<<2|k>>6];k=b[k&63];c[e++]=h+l+m+k}h=0;k=d;switch(a.length-g){case 2:h=a[g+1],k=b[(h&15)<<2]||d;case 1:a=a[g],c[e]=b[a>>2]+b[(a&3)<<4|h>>4]+k+d}a=c.join("")}return a}}}return a};function cr(a,b,c){a=Array.prototype.slice.call(a);var d=a.length,e=b&256?a[d-1]:void 0;d+=e?-1:0;for(b=b&512?1:0;b=Qq(b)){if(b&256)return a[a.length-1][c]}else{var e=a.length;if(d&&b&256&&(d=a[e-1][c],null!=d))return d;b=c+(+!!(b&512)-1);if(b=g||e){e=b;if(b&256)g=a[a.length-1];else{if(null==d)return;g=a[g+(+!!(b&512)-1)]={};e|=256}g[c]=d;e!==b&&Lq(a,e)}else a[c+(+!!(b&512)-1)]=d,b&256&&(a=a[a.length-1],c in a&&delete a[c])} function lr(a,b){a=ir(a,b);a=null==a||"boolean"===typeof a?a:"number"===typeof a?!!a:void 0;return null!=a?a:!1}function mr(a,b,c){if(null!=c&&"boolean"!==typeof c)throw Error("Expected boolean but got "+Ta(c)+": "+c);var d=a.Ic,e=Mq(d);if(e&2)throw Error();kr(d,e,b,!1===c?void 0:c);return a};function nr(a,b,c){this.Ic=ar(a,b,c)}nr.prototype.toJSON=function(){var a=er(this.Ic,fr,void 0,void 0,!1,!1);return or(this,a,!0)};nr.prototype.clone=function(){var a=this.Ic;return $q(this.constructor,hr(a,Mq(a),!1))};nr.prototype.ql=Rq;nr.prototype.toString=function(){return or(this,this.Ic,!1).toString()}; function or(a,b,c){var d=a.constructor.Hw,e=Mq(c?a.Ic:b),g=Qq(e),h=!1;if(d&&Vq){if(!c){b=Array.prototype.slice.call(b);var k;if(b.length&&Uq(k=b[b.length-1]))for(h=0;h=g){Object.assign(b[b.length-1]={},k);break}h=!0}g=b;c=!c;k=Mq(a.Ic);a=Qq(k);k=+!!(k&512)-1;for(var l,m,p=0;pthis.g.width?this.l.xd(this.j):Jr.prototype.i.call(this)};function Lr(a,b,c,d,e){Y.call(this);this.Og(a.Fa());this.N=a;this.i=c;this.na=[];this.km=d;L(d,c);this.qa=Br(this);K(this.qa,"backgroundColor","#fff");L(this.qa,c);if(this.wa=void 0!==e?e:!0)a=Br(this),L(a,c),this.ta=new Mr(a),this.ta.show();b&&(this.l=b,this.g.ka(b,"update",this.kg),Ap(b))}u(Lr,Y);f=Lr.prototype;f.getSize=function(){return this.i};f.Da=function(){return this.l};function Nr(a,b){a.na.push(b);b.ne(a)}f.kg=function(){};function Or(a){a.dispatchEvent("load");a.wa&&a.ta.kb()} function Br(a){var b=H("div");X(b,!0);K(b,{position:"absolute",left:0,top:0});a.km.appendChild(b);return b}f.Ma=function(){v(this.na,function(a){a.Ea()});this.na=null;this.o&&I(this.o)};function Pr(a){a.s=Br(a);L(a.s,a.getSize());K(a.s,{backgroundImage:"url(//www.google.com/images/cleardot.gif)",backgroundRepeat:"repeat"});a.g.ka(a.s,"mousedown",a.lq);a.g.ka(a.s,"dragstart",Ej)}f.lq=function(a){a.display=this;Qr.dispatchEvent(a)};var Qr=new S; function Mr(a){this.g=a;a={position:"absolute",left:0,color:"#808080",fontSize:"13px",backgroundColor:"white"};for(var b=0;2>b;b++){var c=H("div");X(c);K(c,a);this.g.appendChild(c);c.textContent="Loading...";a.bottom=0}}Mr.prototype.show=function(a){K(this.g,{display:a?"none":""})};Mr.prototype.kb=function(){this.show(!0)};Lr.prototype.Il=function(){Rr(this)};function Rr(a,b){a.o&&I(a.o);a.o=Br(a);new Sr(a.o,a.getSize(),b)} function Sr(a,b,c){this.g=a;K(a,{backgroundColor:"#FFF",textAlign:"center"});L(a,b);O(a,rj.g(c||""));X(this.g)};function Tr(a,b,c){Lr.call(this,a,b.Da(),b.g,c);this.Og(Ur);a=Br(this);this.V=new Vr(b.g,a);a=Br(this);this.O=new Vr(b.g,a);Pr(this);Lh(c,!0);x(c,"pageImageDisplay");this.ma=b;b.Da()&&this.kg()}n(Tr,Lr);f=Tr.prototype;f.mb=function(a){fq(a,"output",null);Lr.prototype.mb.call(this,a);a.xd()&&this.kg()}; f.kg=function(){var a=this.Da(),b=this.ma.i();if(b&&!this.j){b=Wr(b);Uj(this.V,"load",r(this.mq,this,a,b,this.getSize().width));Xr(this.V,[b]);var c=rp(this.N.Kb,a.La());c.push(b);Xr(this.O,c);this.j=!0;a==this.N.Da()&&this.dispatchEvent("fetch")}iq(a,[16,8])&&(a=Ke('

%s
',Jp("/googlebooks/restricted_logo.gif"),"You have either reached a page that is unavailable for viewing or reached your viewing limit for this book."),Rr(this, a),Or(this))};f.mq=function(a,b,c){a==this.N.Da()&&this.dispatchEvent("loaded");this.O.empty();var d=this.N.Kb;a=a.La();d.g[a]=d.g[a]||{};d.g[a][c]=b;Or(this)};f.lc=ba(13);f.Ma=function(){this.j=!1;this.V.empty();this.O.empty();Lr.prototype.Ma.call(this)};var Ur=new S,Wr=ad;function Vr(a,b){S.call(this);this.i=a;this.j=b;this.rf=!1;this.g=H("IMG");$m(this.g,"Page");this.g.width=this.i.width;this.j.appendChild(this.g);X(this.j)}n(Vr,S);Vr.prototype.empty=function(){for(var a;a=Ef(this.j);)Sp(a)}; function Xr(a,b){Op(a.g,r(a.l,a,a.g));for(var c=0;cc.width||Math.abs(b.y-a.y)>c.height?this.Ed(a):(this.l&&(this.l.Ea(),this.l=null),this.l=new Jm([b.x,b.y],[a.x,a.y],250+250*Ee(Ge(b,a)/800,0,1),Mm),R(this.l,"animate",r(this.nm,this)),R(this.l,"end",r(this.nq,this)),this.dispatchEvent("movestart"),Uj(this,"movestart",r(this.l.Ea,this.l)),this.l.play())};f.nm=function(a){a=a.coords.map(Math.round);this.Uc(new B(a[0],a[1]))};f.nq=function(a){this.nm(a);this.dispatchEvent("moveend")}; f.Ab=function(){return this.j};f.De=ba(14);f.Hc=function(){return new B(Math.round(this.Fb.x+this.i.width/2),Math.round(this.Fb.y+this.i.height/2))};f.Ie=function(a){return new B(Math.round(a.x+this.i.width/2*-1),Math.round(a.y+this.i.height/2*-1))};f.ua=function(){Yr.oa.ua.call(this);this.O.Ma()};f.Ik=function(a){null==this.V&&(this.V=a);this.V.style.opacity=0;this.na.start()};f.Ks=function(){var a=this;this.na.stop();N(this.V,!0);W(function(){a.V.style.opacity=1})};f.lm=1;function ds(a,b,c,d){Lr.call(this,a,b.Da(),b.g,c,d);this.ma=Br(this);Pr(this);b.Da()&&this.kg();this.N=a;this.O=R(this.N.Fa(),"update",this.Ba,!1,this)}n(ds,Lr);ds.prototype.kg=function(){var a=this.Da(),b=a.xd(),c=this.N.Wa().Oi(),d=a.na;if(b&&d&&!this.j){var e=Xp(d,this.getSize().height);"number"===typeof e&&(d=Yp(d,e),b=new T(b),U(b,"zoom",e),U(b,"pg",a.ta),b=b.toString(),this.V=new Tp(this.ma,d,this.getSize().height,c.Jj,c.Ij,r(c.ao,c,b,d,this.getSize().height),null),this.j=!0,this.Ba())}}; ds.prototype.Ba=function(){if(this.j){var a=wh(this.ma);if(a){var b=Ch(this.ma);a.top-=b.y;a.bottom-=b.y;a.left-=b.x;a.right-=b.x;0Math.abs(e[0])&&(d.x=e[1]||d.x,d.y=e[2]||d.y)});this.O||(this.O=new Pl(100),this.g.ka(this.O,"tick",this.tq));this.V=d;d.x||d.y?this.O.start():this.O.stop()}}};f.tq=function(){var a=this.V,b=this.Ca;cs(b,new B(15*a.x,15*a.y),r(b.Ed,b))}; f.Hs=function(){ck(this.s);zj(this.O);this.O=null};function os(){this.o="Selection copied to clipboard";this.g=!1;var a=G("DIV","entity-page-snackbar"),b=G("SPAN","entity-page-snackbar-text");J(b,this.o);a.appendChild(b);Z(a,"hidden",!0);document.body.appendChild(a);this.l=a}os.prototype.show=function(){this.g?(this.i(),W(r(this.j,this),500)):this.j();W(r(this.i,this),6E3)};os.prototype.j=function(){K(this.l,"bottom","0");this.g=!0};os.prototype.i=function(){K(this.l,"bottom","-48px");this.g=!1};function ps(a){this.i=a;this.l=new os;this.j=qs(this)}ps.prototype.ha=function(){return this.j};function qs(a){var b=G("DIV");Kb(b,["entity-page-copy-button","entity-page-action-chip"]);var c=G("SPAN");x(c,"entity-page-action-chip-icon");var d=G("SPAN");x(d,"entity-page-action-chip-label");J(d,"Copy");b.appendChild(c);b.appendChild(d);R(b,"click",r(a.g,a));Wm(b,"button");Of(b,!0);R(b,"keydown",function(e){32!=e.keyCode&&13!=e.keyCode||a.g.call(a)});return b} ps.prototype.g=function(){this.i.focus();this.i.select();document.execCommand("copy");this.l.show()};function rs(){}rs.prototype.Mc=function(){};function ss(a,b,c,d,e,g,h,k,l){var m=ts(c),p=Gh(a),w=wh(a);w&&gh(p,fh(w));w=af(a);var D=af(c);if(w.g!=D.g){var F=w.g.body;D=Wf(D);var E=new B(0,0),P=rf(cf(F));if(uc(P,"parent")){var Za=F;do{var kb=P==D?xh(Za):Dh(Za);E.x+=kb.x;E.y+=kb.y}while(P&&P!=D&&P!=P.parent&&(Za=P.frameElement)&&(P=P.parent))}F=He(E,xh(F));!A||Tc(9)||of(w.g)||(F=He(F,pf(w.g)));p.left+=F.x;p.top+=F.y}a=us(a,b);b=p.left;a&4?b+=p.width:a&2&&(b+=p.width/2);p=new B(b,p.top+(a&1?p.height:0));p=He(p,m);e&&(p.x+=(a&4?-1:1)*e.x,p.y+= (a&1?-1:1)*e.y);if(h)if(l)var va=l;else if(va=wh(c))va.top-=m.y,va.right-=m.x,va.bottom-=m.y,va.left-=m.x;return vs(p,c,d,g,va,h,k)} function ts(a){if(a=a.offsetParent){var b="HTML"==a.tagName||"BODY"==a.tagName;if(!b||"static"!=ph(a,"position")){var c=xh(a);if(!b){b=Jh(a);var d;if(d=b){d=mg&&0<=cc(cn,10);var e;if(e=Kc)e=0<=cc(an,10);var g=lg&&0<=cc(cn,85);d=Ac||d||e||g}b=d?-a.scrollLeft:b&&!zc&&"visible"!=ph(a,"overflowX")?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft;c=He(c,new B(b,a.scrollTop))}}}return c||new B} function vs(a,b,c,d,e,g,h){a=a.clone();var k=us(b,c);c=M(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);g&&(e?(d=h,k=0,65==(g&65)&&(a.x=e.right)&&(g&=-2),132==(g&132)&&(a.y=e.bottom)&&(g&=-5),a.xe.right&&(d.width=Math.min(e.right-a.x,l+d.width-e.left), d.width=Math.max(d.width,0),k|=4)),a.x+d.width>e.right&&g&1&&(a.x=Math.max(e.right-d.width,e.left),k|=1),g&2&&(k|=(a.xe.right?32:0)),a.ye.bottom&&(d.height=Math.min(e.bottom-a.y,l+d.height-e.top),d.height=Math.max(d.height,0),k|=8)),a.y+d.height>e.bottom&&g&4&&(a.y=Math.max(e.bottom-d.height,e.top),k|=2),g&8&&(k|=(a.ye.bottom?128:0)),e=k):e=256,l=e);e=new dh(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;qh(b,new B(e.left,e.top));h=e.getSize();Je(c,h)||Mh(b,h);return a}function us(a,b){return(b&8&&Jh(a)?b^4:b)&-9};function ws(a,b){this.wb=8;this.Ia=b||void 0;Kn.call(this,a)}u(ws,Kn);function xs(a,b){a.wb=b;a.isVisible()&&a.fg()}ws.prototype.jd=function(){return this.Ia||null};ws.prototype.setPosition=function(a){this.Ia=a||void 0;this.isVisible()&&this.fg()};ws.prototype.fg=function(){if(this.Ia){var a=!this.isVisible()&&"move_offscreen"!=this.getType(),b=this.ha();a&&(b.style.visibility="hidden",N(b,!0));this.Ia.Mc(b,this.wb,this.nl);a&&N(b,!1)}};function ys(a){ws.call(this,a);Mn(this,!1);this.i=new fk;this.g=Zp();x(a,"viewport-selection-popup");zs&&zs.Ea();zs=this}n(ys,ws);ys.prototype.j=function(){this.dispatchEvent("close");this.Ea()}; function As(a,b,c){var d=a.g?C("selection-popup-table"):a.ha(),e=a.g?H("TR"):H("div");x(e,"selection-popup-select-container");d.appendChild(e);d=a.g?H("TD"):H("div");x(d,"selection-popup-select-label");e.appendChild(d);d.appendChild(vf(b));d=a.g?H("TD"):H("div");e.appendChild(d);b=H("input");b.value=c;x(b,"viewport-input");d.appendChild(b);Lh(b,!1);a.g&&(c=H("TD"),e.appendChild(c),e=(new ps(b)).ha(),c.appendChild(e));a.i.ka(b,"mousedown",Bs)}function Bs(a){a.stopPropagation()} ys.prototype.ua=function(){I(this.ha());ws.prototype.ua.call(this);this.i.Ea()};var zs=null;function Cs(a,b){this.g=a instanceof B?a:new B(a,b)}u(Cs,rs);Cs.prototype.Mc=function(a,b,c,d){var e=cf(a);var g=e.body;e=e.documentElement;e=new B(g.scrollLeft||e.scrollLeft,g.scrollTop||e.scrollTop);g=this.g.x+e.x;e=this.g.y+e.y;var h=ts(a);g-=h.x;e-=h.y;vs(new B(g,e),a,b,c,null,null,d)};function Ds(a,b){Cs.call(this,a,b)}u(Ds,Cs);Ds.prototype.i=0;Ds.prototype.l=function(a){this.i=a};Ds.prototype.Mc=function(a,b,c,d){var e=th(a);e=wh(e);var g=qf(af(a).g);g=new B(this.g.x+g.scrollLeft,this.g.y+g.scrollTop);var h=b,k=vs(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=vs(g,a,h,c,e,10,d);0!=(k&496)&&vs(g,a,b,c,e,this.i,d)}};function Es(a){Dr.call(this,"#4a95d6");this.j=a}n(Es,Dr);Es.prototype.ne=function(a){Dr.prototype.ne.call(this,a);K(this.l,{cursor:"pointer"});this.g.ka(this.l,"mousedown",Fs)};function Fs(a){a.stopPropagation()} function ls(a,b,c,d){a.jg();mb(b,r(a.On,a));a.s&&ck(a.s);a.o&&a.o.Ea();b=H("div");document.body.appendChild(b);var e=hs(a.O);if(e){var g=xh(a.l);b=new ys(b);if(c&&d){var h=a.Da(),k=h.xd();if(k){var l=new T(k);d=[d.left,d.top,d.width,d.height].join();U(l,"ci",d);U(l,"edge",0);l=l.toString();var m=new T(h.zc());U(m,"ci",d);U(m,"source","bookclip");m=Ke('',m.toString(),l)}d=m;yf(b.ha());m=b.ha();h=H("IMG");h.src="/googlebooks/images/material/close_black_24dp.png";x(h, "selection-popup-close");m.appendChild(h);b.i.qf(h,"click",r(b.j,b));h=G("DIV",{},"Share this clip");x(h,"selection-popup-title");m.appendChild(h);b.g&&(h=G("TABLE",{id:"selection-popup-table"}),m.appendChild(h));c&&(As(b,"Selection text",c),m=H("DIV"),x(m,"selection-popup-translate-container"),b.g?(h=Ef(C("selection-popup-table")),k=H("TD"),h.appendChild(k),k.appendChild(m)):b.ha().appendChild(m),h=new T("https://translate.google.com/translate_t"),U(h,"text",c),U(h,"sl","auto"),U(h,"tl","auto"), c=H("A"),c.href=h.toString(),c.target="_blank",b.g&&(h=G("SPAN"),Kb(h,["selection-popup-translate-icon","entity-page-action-chip-icon"]),c.appendChild(h)),h=G("SPAN"),J(h,"Translate"),x(h,"entity-page-action-chip-label"),c.appendChild(h),h=H("SPAN"),J(h,"\u00bb"),x(h,"selection-popup-translate-arrow"),c.appendChild(h),x(c,"selection-popup-translate-link"),x(c,"entity-page-action-chip"),m.appendChild(c));l&&As(b,"Image",l);d&&As(b,"Embed",d)}else c=H("DIV"),J(c,"Loading..."),x(c,"selection-popup-loading-msg"), b.ha().appendChild(c);xs(b,4);a.o=b;c=g.x+e.left+e.width;e=g.y+e.top+e.height;g=M(b.ha()).width;24>c-g&&(c=g+24);W(t(Gs,b,new Ds(new B(c,e))));a.s=Uj(b,"close",r(a.jg,a))}}function Gs(a,b){a.Id||(a.setPosition(b),a.Aa(!0))}Es.prototype.jg=function(){Dr.prototype.jg.call(this);this.o&&this.o.Ea()};Es.prototype.ua=function(){Dr.prototype.ua.call(this);this.o&&this.o.Ea();this.s&&ck(this.s)};function Hs(a,b,c){return a.Wa().Oi()?new ds(a,b,c):new Tr(a,b,c)}function Is(a,b){if(b instanceof Tr){Nr(b,new es(a.Xa()));Nr(b,new Hr);var c=new Es(a.Ab()),d=new ms(c,a.Fa());Nr(b,d);Nr(b,c);Nr(b,new Ir(a))}};function Js(a,b){Y.call(this);this.N=a;b=Math.floor(b/2);var c=Math.floor(b/this.N.ab().g.aspectRatio());this.j=new Ie(b,c);this.i=H("div");K(this.i,{position:"absolute",backgroundColor:"white",top:0,left:0});this.na=[];a.Fa().s.i.appendChild(this.i);this.l=H("div");this.s=H("div");this.na.push(R(this.l,"dblclick",r(this.yt,this)));a={overflow:"hidden",backgroundColor:"#fcfcfc",position:"absolute",border:"1px solid #ccc"};K(this.l,a);K(this.s,a);this.i.appendChild(this.l);this.i.appendChild(this.s); this.V=H("div");this.ma=H("div");this.l.appendChild(this.V);this.s.appendChild(this.ma);Ks(this)}n(Js,Nm);function Ks(a){a.o&&a.o.Ma();a.O&&a.O.Ma();yf(a.V);yf(a.ma);Mh(a.l,a.j);Mh(a.s,a.j);a.o=Hs(a.N,new Jr(a.qa,a.j),a.V);Is(a.N,a.o);a.ta=new Cr(!0);Nr(a.o,a.ta);a.O=Hs(a.N,new Jr(a.wa,a.j),a.ma);a.Ba=new Cr(!1);Is(a.N,a.O);Nr(a.O,a.Ba)}f=Js.prototype;f.setPosition=function(a){0>a.x&&(a.x=0);qh(this.i,a)};f.yt=function(a){a.preventDefault();a.stopPropagation();this.N.qb("previous")}; f.Aa=function(a){K(this.i,{display:a?"":"none"})};f.Oc=function(){K(this.l,{left:0,top:0});K(this.s,{left:this.j.width+"px",top:0})};f.Md=function(){return lb([this.qa,this.wa],function(a){return!!a})};f.Ma=function(){this.o.Ma();this.O.Ma();for(var a;a=this.na.pop();)ck(a);this.i.parentNode&&I(this.i)};function Ls(a){return 2*a};function Ms(a){this.N=a}n(Ms,Vp);Ms.prototype.render=function(a){var b=new Js(this.N,a.getSize().width);b.setPosition(a.jd());b.Oc();b.Aa(!0);return this.g=b};function Ns(a,b){var c=a.match(Os);return c?Number(c[1])*b[c[2]]:Number(a)}var Os=/^(-?\d+\.?\d*)([KMGTPEZYkmun]?)B?$/,Ps={"":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},Qs={"":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)};function Rs(a,b){var c=Ss(a),d=Ss(b);0==Ho(a)||0==Ho(b)?d="This is a preview. The total pages displayed will be limited.":"number"!==typeof c||"number"!==typeof d||c>=d||1==Math.abs(c-d)?d="Some pages are omitted from this book preview.":Ts(a,b)?d="Page "+(--d+" is not part of this book preview."):(a=++c+"",d=--d+"",d="Pages "+a+" to "+d+" are not shown in this preview.");return d}function Ss(a){a=a.hb();var b;/[^0-9]/.test(a)||Sb(a)?b=null:b=Rb(a,"B")?Ns(a,Qs):Ns(a,Ps);return b} function Ts(a,b){a=Ss(a);b=Ss(b);return 0==a+1-(b-1)};function Us(a,b,c){S.call(this);this.N=a;this.j=b;this.o=M(b).width;this.s=c;this.i=!1;this.g=vm()}n(Us,S);Us.prototype.nf=function(){return this.i};function Vs(a,b){if(b!=a.i){a.i=b;var c=a.N.Fa().s.i;N(c,!1);M(c);[t(Ws,a.j,a.s,a.o,a.g,b),r(a.l,a),t(N,c,!0)].forEach(W)}}Us.prototype.l=function(){this.dispatchEvent("change")};function Ws(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="");N(a,!e)};var Xs=null;function Ys(a,b){fk.call(this);this.i=Xs;this.N=a;this.g=b;this.N.Wa().O||(this.ka(this.N,"pageturn",this.l),this.ka(this.g,"dispose",this.Ea))}n(Ys,fk);Ys.prototype.l=function(){var a=this.g.o.g.Md()[0]||new Np,b=this.g.o.g.Md()[1]||new Np,c=this.O,d=this.o,e=d?Ho(d):-1,g=Ho(a)||-1,h=Ho(b)||-1,k=Math.max(c?Ho(c):-1,e),l=Math.max(g,h);if(Math.abs(l-k)>this.g.lm){if(0l-k&&(m=-1!=h?b:a,p=d);1"+e));x(c,"separator-message");x(c,"separator-pubinfo-message")}x(a,"separator-pubinfo");x(d,"separator-pubinfo")}else a=c.insertRow(-1).insertCell(-1),x(a,"separator-message"),a.textContent=Rs(this.l,this.j);Lh(this.i, !0);X(this.i)}n(gt,Nm);gt.prototype.nb=function(a){L(this.i,a)};gt.prototype.setPosition=function(a){qh(this.i,a)};gt.prototype.Ma=function(){I(this.i)};function ht(a,b,c,d){this.Cj=this.Wk=10;this.ci=this.di=20;b=Math.floor((b-20)/(100+this.Wk));d&&2a?rb(b,a):rb(b,1500));return new vq(mb(b,qt))};f.xg=function(a){return this.o(a)}; f.getSize=function(){if(this.j.hasChildNodes()){var a=Oh(this.j.childNodes[0]).width;a=new Ie(a,this.i.height)}else a=this.i;return a};function vt(a){var b=new sq;tq(b,tm,new kt(a,t(bd,pt,a.Cb,a,a.s.i)));tq(b,sr,new yr(a.Cb,function(c){return new gt(a.s.i,c)}));return b}f.Pv=function(){if(this.wa){var a=mm(this.rc,this.Hc().y);a&&a.Da&&(a=a.Da(),this.Cb.Da()!=a&&(this.Fh=!0,this.Cb.Bd(a.La()),this.Fh=!1))}this.wa=!0}; f.Gt=function(){var a=this.Cb.Da(),b=this.Cb.ab(),c=Ko(b,a.La());if(!c)a:{c=Ho(a);b=Io(b);for(a=b.length-1;0<=a;a--){var d=b[a];if(Ho(d)<=c){c=d;break a}}c=null}a=this.Fb;b=this.Eb();d=b.yc(c);a=He(a,d.jd());b=this.xg(b.s());c=b.yc(c).jd();c=new B(c.x+a.x,c.y+a.y);this.Tc(b);this.Ed(c)};f.uq=function(){this.O.Ma();this.ac()}; f.Gk=function(a){if(a.Yn&&a.O){var b=a.O;if(null!=a.ma)var c=a.ma;else a.ma=new rr(this.s.i),c=a.ma;c.g=this.s.i;if(C("focus_article_div")){var d=C("focus_article_div");I(d)}d=this.Eb().yc(a);a=d.tb()/a.me();if(b.Mf()&&(b=b.Mf())){var e=b[0];if(e&&4==e.length){b=a*e[0]+d.Yd();d=a*e[1]+d.kd();var g=a*e[2];a*=e[3];e=H("DIV");e.setAttribute("id","focus_article_div");X(e,!0);Hh(e,.3);K(e,{position:"absolute",left:b+"px",top:d+"px",width:g+"px",height:a+"px",cursor:"pointer",backgroundColor:"#36C",border:"2px solid #00F"}); c.g.appendChild(e)}}}};function xt(a,b,c,d,e){Y.call(this);this.N=a;this.Ca=b;this.l=c;var g=H("div");K(g,{position:"absolute"});e=e.width-2;qh(g,d.x+(vm()?e:0),d.y);b.s.i.appendChild(g);this.i=g;b=Math.floor(e/um(c));g=new Ie(e,b);this.j=H("div");this.i.appendChild(this.j);K(this.j,{padding:"1px",position:"absolute"});this.o();b=H("div");this.j.appendChild(b);K(b,{overflow:"hidden",backgroundColor:"#fcfcfc"});L(b,g);this.j.appendChild(b);d=H("IMG");d.title=c.Ce();this.O=d;e=T;var h=new T(c.s.zo);U(h,"pg",c.La());c.ob.sig&& U(h,"sig",c.ob.sig);e=new e(h.toString());U(e,"zoom","1");U(e,"img","1");U(e,"w",g.width);if(g=this.N.Wa().nd)U(e,"imgtk",g),U(e,"jtp",Ho(c));d.src=e.toString();b.appendChild(d);K(this.j,"cursor","pointer");this.g.ka(this.j,"click",this.s);this.g.ka(a,"pagechange",this.o)}n(xt,Nm);xt.prototype.o=function(){var a=!1,b=this.N.Da();b&&b==this.l&&(a=!0);K(this.j,"backgroundColor",a?"#6B90DA":"#ccc")};xt.prototype.s=function(){this.N.Wb(tt);this.N.mb(this.l);yt.dispatchEvent("click")}; xt.prototype.Ma=function(){Sp(this.O);I(this.i)};var yt=new S;function zt(a,b){this.N=a;this.Ca=b}n(zt,Vp);zt.prototype.render=function(a){return new xt(this.N,this.Ca,a.Da(),a.jd(),a.getSize())};function At(a){var b=a.Ab();K(b,{overflow:"hidden"});var c=new st(this,b);it.call(this,a,c);this.g.ka(this,"move",this.ac);K(b,{overflow:"auto"});$r(this,Bt(this));this.Tc(Ct(this));as(this,new mt(this));W(r(this.ac,this),0);this.g.ka(this,"resize",this.o);var d=C("subscription-bar");d&&(this.Ik(d),W(function(){N(d,!1)},600))}u(At,it);At.prototype.Od=function(a){a=this.Eb().yc(a).jd();this.Ed(new B(void 0,a.y-40))}; function Ct(a){var b=a.Cb.Wa().wc;return new ht(a.Cb.ab(),Zp()?Math.min(a.getSize().width,1120):a.getSize().width,b,b)}At.prototype.o=function(){this.Tc(Ct(this));this.Od(this.Cb.Da())};function Bt(a){var b=new sq;tq(b,tm,new zt(a.Cb,a));return b};function Dt(a){this.vc=a.Title;this.i=a.Pid;this.g=a.PgNum}Dt.prototype.hb=function(){return this.vc};Dt.prototype.getId=function(){return this.i};function Et(a,b,c,d){Gj.call(this,d);this.type="key";this.keyCode=a;this.charCode=b;this.repeat=c}u(Et,Gj);function Ft(a,b){S.call(this);a&&this.attach(a,b)}u(Ft,S);f=Ft.prototype;f.va=null;f.Yi=null;f.hl=null;f.Zi=null;f.Qc=-1;f.oe=-1;f.Lj=!1; var Gt={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},Ht={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},It=Dc&&Ac;f=Ft.prototype; f.wq=function(a){if(Bc||xc)if(17==this.Qc&&!a.ctrlKey||18==this.Qc&&!a.altKey||Dc&&91==this.Qc&&!a.metaKey)this.oe=this.Qc=-1;-1==this.Qc&&(a.ctrlKey&&17!=a.keyCode?this.Qc=17:a.altKey&&18!=a.keyCode?this.Qc=18:a.metaKey&&91!=a.keyCode&&(this.Qc=91));rk(a.keyCode,this.Qc,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?(this.oe=sk(a.keyCode),It&&(this.Lj=a.altKey)):this.handleEvent(a)};f.xq=function(a){this.oe=this.Qc=-1;this.Lj=a.altKey}; f.handleEvent=function(a){var b=a.Ob,c=b.altKey;if(A&&"keypress"==a.type){var d=this.oe;var e=13!=d&&27!=d?b.keyCode:0}else(Bc||xc)&&"keypress"==a.type?(d=this.oe,e=0<=b.charCode&&63232>b.charCode&&qk(d)?b.charCode:0):("keypress"==a.type?(It&&(c=this.Lj),b.keyCode==b.charCode?32>b.keyCode?(d=b.keyCode,e=0):(d=this.oe,e=b.charCode):(d=b.keyCode||this.oe,e=b.charCode||0)):(d=b.keyCode||this.oe,e=b.charCode||0),Dc&&63==e&&224==d&&(d=191));var g=d=sk(d);d?63232<=d&&d in Gt?g=Gt[d]:25==d&&a.shiftKey&& (g=9):b.keyIdentifier&&b.keyIdentifier in Ht&&(g=Ht[b.keyIdentifier]);if(!Ac||"keypress"!=a.type||rk(g,this.Qc,a.shiftKey,a.ctrlKey,c,a.metaKey))a=g==this.Qc,this.Qc=g,b=new Et(g,e,a,b),b.altKey=c,this.dispatchEvent(b)};f.ha=function(){return this.va};f.attach=function(a,b){this.Zi&&Jt(this);this.va=a;this.Yi=R(this.va,"keypress",this,b);this.hl=R(this.va,"keydown",this.wq,b,this);this.Zi=R(this.va,"keyup",this.xq,b,this)}; function Jt(a){a.Yi&&(ck(a.Yi),ck(a.hl),ck(a.Zi),a.Yi=null,a.hl=null,a.Zi=null);a.va=null;a.Qc=-1;a.oe=-1}f.ua=function(){Ft.oa.ua.call(this);Jt(this)};function Kt(){}var Lt;Sa(Kt);var Mt={button:"pressed",checkbox:"checked",menuitem:"selected",menuitemcheckbox:"checked",menuitemradio:"checked",radio:"checked",tab:"selected",treeitem:"selected"};f=Kt.prototype;f.lg=function(){};f.Nc=function(a){return a.g.Oa("DIV",Nt(this,a).join(" "),a.Dc())};f.Fc=function(a){return a};function Ot(a,b,c){(a=a.ha?a.ha():a)&&(c?Kb:Mb)(a,[b])}f.ki=function(){return!0}; f.Rb=function(a,b){b.id&&a.Ng(b.id);var c=this.Fc(b);c&&c.firstChild?Pt(a,c.firstChild.nextSibling?wb(c.childNodes):c.firstChild):a.ng=null;var d=0,e=this.Ra(),g=this.Ra(),h=!1,k=!1,l=wb(Hb(b));l.forEach(function(m){h||m!=e?k||m!=g?d|=this.Ni(m):k=!0:(h=!0,g==e&&(k=!0));1==this.Ni(m)&&Mf(c)&&Of(c,!1)},this);a.qe=d;h||(l.push(e),g==e&&(k=!0));k||l.push(g);(a=a.Kd)&&l.push.apply(l,a);h&&k&&!a||Ib(b,l.join(" "));return b};f.li=function(a){Hn(a)&&this.rm(a.ha(),!0);a.isEnabled()&&this.Zg(a,a.isVisible())}; function Qt(a,b,c){if(a=c||a.lg())c=b.getAttribute("role")||null,a!=c&&Wm(b,a)}function Rt(a,b,c){var d=b.Na;null!=d&&a.Oh(c,d);b.isVisible()||Z(c,"hidden",!b.isVisible());b.isEnabled()||a.je(c,1,!b.isEnabled());St(b,8)&&a.je(c,8,Tt(b,8));St(b,16)&&a.je(c,16,Tt(b,16));St(b,64)&&a.je(c,64,b.md())}f.Oh=function(a,b){$m(a,b)};f.Mj=function(a,b){Lh(a,!b,!A)};f.rm=function(a,b){Ot(a,this.Ra()+"-rtl",b)};f.om=function(a){var b;return St(a,32)&&(b=a.ha())?Mf(b):!1}; f.Zg=function(a,b){var c;if(St(a,32)&&(c=a.ha())){if(!b&&Tt(a,32)){try{c.blur()}catch(d){}Tt(a,32)&&a.mi(null)}Mf(c)!=b&&Of(c,b)}};f.Aa=function(a,b){N(a,b);a&&Z(a,"hidden",!b)};f.Vc=function(a,b,c){var d=a.ha();if(d){var e=this.rh(b);e&&Ot(a,e,c);this.je(d,b,c)}};f.je=function(a,b,c){Lt||(Lt={1:"disabled",8:"selected",16:"checked",64:"expanded"});b=Lt[b];var d=a.getAttribute("role")||null;d&&(d=Mt[d]||b,b="checked"==b||"selected"==b?d:b);b&&Z(a,b,c)}; f.mg=function(a,b){var c=this.Fc(a);c&&(yf(c),b&&("string"===typeof b?J(c,b):(a=function(d){if(d){var e=cf(c);c.appendChild("string"===typeof d?e.createTextNode(d):d)}},Array.isArray(b)?b.forEach(a):!Ua(b)||"nodeType"in b?a(b):wb(b).forEach(a))))};f.Ra=function(){return"goog-control"};function Nt(a,b){var c=a.Ra(),d=[c],e=a.Ra();e!=c&&d.push(e);c=b.qe;for(e=[];c;){var g=c&-c;e.push(a.rh(g));c&=~g}d.push.apply(d,e);(a=b.Kd)&&d.push.apply(d,a);return d}f.rh=function(a){this.i||Ut(this);return this.i[a]}; f.Ni=function(a){if(!this.qa){this.i||Ut(this);var b=this.i,c={},d;for(d in b)c[b[d]]=d;this.qa=c}a=parseInt(this.qa[a],10);return isNaN(a)?0:a};function Ut(a){var b=a.Ra();a.i={1:b+"-disabled",2:b+"-hover",4:b+"-active",8:b+"-selected",16:b+"-checked",32:b+"-focused",64:b+"-open"}};function Vt(){}u(Vt,Kt);Sa(Vt);f=Vt.prototype;f.lg=function(){return"button"};f.je=function(a,b,c){switch(b){case 8:case 16:Z(a,"pressed",c);break;default:case 64:case 1:Vt.oa.je.call(this,a,b,c)}};f.Nc=function(a){var b=Vt.oa.Nc.call(this,a);this.yf(b,a.hf());var c=a.yb();c&&this.uc(b,c);St(a,16)&&this.je(b,16,Tt(a,16));return b};f.Rb=function(a,b){b=Vt.oa.Rb.call(this,a,b);var c=this.yb(b);a.Ba=c;a.V=this.hf(b);St(a,16)&&this.je(b,16,Tt(a,16));return b};f.yb=function(){};f.uc=function(){}; f.hf=function(a){return a.title};f.yf=function(a,b){a&&(b?a.title=b:a.removeAttribute("title"))};f.mc=function(a,b){var c=Hn(a),d=this.Ra()+"-collapse-left",e=this.Ra()+"-collapse-right",g=c?e:d;b&1?Wt(a,g):Xt(a,g);c=c?d:e;b&2?Wt(a,c):Xt(a,c)};f.Ra=function(){return"goog-button"};var Yt={qg:"mousedown",rg:"mouseup",hh:"mousecancel",dw:"mousemove",fw:"mouseover",ew:"mouseout",bw:"mouseenter",cw:"mouseleave"};function Zt(a,b){if(!a)throw Error("Invalid class name "+a);if("function"!==typeof b)throw Error("Invalid decorator function "+b);$t[a]=b}var au={},$t={};function bu(a,b,c){xn.call(this,c);if(!b){for(b=this.constructor;b;){var d=Wa(b);if(d=au[d])break;b=(b=Object.getPrototypeOf(b.prototype))&&b.constructor}b=d?"function"===typeof d.Jb?d.Jb():new d:null}this.j=b;this.ng=void 0!==a?a:null;this.Na=null}u(bu,xn);f=bu.prototype;f.ng=null;f.qe=0;f.Vh=39;f.Gf=255;f.Uh=0;f.ni=!0;f.Kd=null;f.Nj=!0;f.sm=null;function cu(a,b){a.Va&&b!=a.Nj&&du(a,b);a.Nj=b}f.wd=function(){return this.j};function Wt(a,b){b&&(a.Kd?qb(a.Kd,b)||a.Kd.push(b):a.Kd=[b],Ot(a,b,!0))} function Xt(a,b){b&&a.Kd&&sb(a.Kd,b)&&(0==a.Kd.length&&(a.Kd=null),Ot(a,b,!1))}f.Qa=function(){var a=this.j.Nc(this);this.va=a;Qt(this.j,a,this.ff());this.j.Mj(a,!1);this.isVisible()||this.j.Aa(a,!1)};f.ff=function(){return this.sm};f.Qh=ba(8);f.Oh=function(a){this.Na=a;var b=this.ha();b&&this.j.Oh(b,a)};f.Ib=function(){return this.j.Fc(this.ha())};f.ei=function(a){return this.j.ki(a)};f.Nb=function(a){this.va=a=this.j.Rb(this,a);Qt(this.j,a,this.ff());this.j.Mj(a,!1);this.ni="none"!=a.style.display}; f.Ka=function(){bu.oa.Ka.call(this);Rt(this.j,this,this.va);this.j.li(this);if(this.Vh&-2&&(this.Nj&&du(this,!0),St(this,32))){var a=this.ha();if(a){var b=this.l||(this.l=new Ft);b.attach(a);An(this).ka(b,"key",this.Pc).ka(a,"focus",this.yq).ka(a,"blur",this.mi)}}}; function du(a,b){var c=An(a),d=a.ha();b?(c.ka(d,Yt.qg,a.Te).ka(d,[Yt.rg,Yt.hh],a.de).ka(d,"mouseover",a.Ee).ka(d,"mouseout",a.Tk),a.Bh!=$c&&c.ka(d,"contextmenu",a.Bh),A&&!a.qa&&(a.qa=new eu(a),Bj(a,a.qa))):(c.Ta(d,Yt.qg,a.Te).Ta(d,[Yt.rg,Yt.hh],a.de).Ta(d,"mouseover",a.Ee).Ta(d,"mouseout",a.Tk),a.Bh!=$c&&c.Ta(d,"contextmenu",a.Bh),A&&(zj(a.qa),a.qa=null))}f.jc=function(){bu.oa.jc.call(this);this.l&&Jt(this.l);this.isVisible()&&this.isEnabled()&&this.j.Zg(this,!1)}; f.ua=function(){bu.oa.ua.call(this);this.l&&(this.l.Ea(),delete this.l);delete this.j;this.qa=this.Kd=this.ng=null};f.Dc=function(){return this.ng};function fu(a,b){a.j.mg(a.ha(),b);a.ng=b}function Pt(a,b){a.ng=b}f.Bg=function(){var a=this.Dc();if(!a)return"";a="string"===typeof a?a:Array.isArray(a)?a.map(Rf).join(""):Pf(a);return Ne(a)};f.isVisible=function(){return this.ni}; f.Aa=function(a,b){return b||this.ni!=a&&this.dispatchEvent(a?"show":"hide")?((b=this.ha())&&this.j.Aa(b,a),this.isEnabled()&&this.j.Zg(this,a),this.ni=a,!0):!1};f.isEnabled=function(){return!Tt(this,1)};f.lb=function(a){var b=this.getParent();b&&"function"==typeof b.isEnabled&&!b.isEnabled()||!gu(this,1,!a)||(a||(hu(this,!1),this.Sc(!1)),this.isVisible()&&this.j.Zg(this,a),this.Vc(1,!a,!0))};f.Sc=function(a){gu(this,2,a)&&this.Vc(2,a)};f.isActive=function(){return Tt(this,4)}; function hu(a,b){gu(a,4,b)&&a.Vc(4,b)}f.Gl=function(a){gu(this,8,a)&&this.Vc(8,a)};f.Xf=function(a){gu(this,16,a)&&this.Vc(16,a)};f.sj=function(a){gu(this,32,a)&&this.Vc(32,a)};f.md=function(){return Tt(this,64)};f.Qb=function(a){gu(this,64,a)&&this.Vc(64,a)};function Tt(a,b){return!!(a.qe&b)}f.Vc=function(a,b,c){c||1!=a?St(this,a)&&b!=Tt(this,a)&&(this.j.Vc(this,a,b),this.qe=b?this.qe|a:this.qe&~a):this.lb(!b)};function St(a,b){return!!(a.Vh&b)} f.Vb=function(a,b){if(this.Va&&Tt(this,a)&&!b)throw Error("Component already rendered");!b&&Tt(this,a)&&this.Vc(a,!1);this.Vh=b?this.Vh|a:this.Vh&~a};function iu(a,b){return!!(a.Gf&b)&&St(a,b)}function gu(a,b,c){return St(a,b)&&Tt(a,b)!=c&&(!(a.Uh&b)||a.dispatchEvent(zn(b,c)))&&!a.Id}f.Ee=function(a){!ju(a,this.ha())&&this.dispatchEvent("enter")&&this.isEnabled()&&iu(this,2)&&this.Sc(!0)};f.Tk=function(a){!ju(a,this.ha())&&this.dispatchEvent("leave")&&(iu(this,4)&&hu(this,!1),iu(this,2)&&this.Sc(!1))}; f.Bh=$c;function ju(a,b){return!!a.relatedTarget&&If(b,a.relatedTarget)}f.Te=function(a){this.isEnabled()&&(iu(this,2)&&this.Sc(!0),Ij(a)&&(iu(this,4)&&hu(this,!0),this.j&&this.j.om(this)&&this.ha().focus()));Ij(a)&&a.preventDefault()};f.de=function(a){this.isEnabled()&&(iu(this,2)&&this.Sc(!0),this.isActive()&&this.vf(a)&&iu(this,4)&&hu(this,!1))}; f.vf=function(a){iu(this,16)&&this.Xf(!Tt(this,16));iu(this,8)&&this.Gl(!0);iu(this,64)&&this.Qb(!this.md());var b=new Dj("action",this);a&&(b.altKey=a.altKey,b.ctrlKey=a.ctrlKey,b.metaKey=a.metaKey,b.shiftKey=a.shiftKey,b.zl=a.zl,b.timeStamp=a.timeStamp);return this.dispatchEvent(b)};f.yq=function(){iu(this,32)&&this.sj(!0)};f.mi=function(){iu(this,4)&&hu(this,!1);iu(this,32)&&this.sj(!1)}; f.Pc=function(a){return this.isVisible()&&this.isEnabled()&&this.be(a)?(a.preventDefault(),a.stopPropagation(),!0):!1};f.be=function(a){return 13==a.keyCode&&this.vf(a)};if("function"!==typeof bu)throw Error("Invalid component class "+bu);if("function"!==typeof Kt)throw Error("Invalid renderer class "+Kt);var ku=Wa(bu);au[ku]=Kt;Zt("goog-control",function(){return new bu(null)}); function eu(a){Aj.call(this);this.g=a;this.i=!1;this.j=new fk(this);Bj(this,this.j);a=this.g.va;this.j.ka(a,Yt.qg,this.o).ka(a,Yt.rg,this.s).ka(a,"click",this.l)}u(eu,Aj);var lu=!A||Tc(9);eu.prototype.o=function(){this.i=!1};eu.prototype.s=function(){this.i=!0}; function mu(a,b){if(!lu)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}eu.prototype.l=function(a){if(this.i)this.i=!1;else{var b=a.Ob,c=b.button,d=b.type,e=mu(b,"mousedown");this.g.Te(new Gj(e,a.currentTarget));e=mu(b,"mouseup");this.g.de(new Gj(e,a.currentTarget));lu||(b.button=c,b.type=d)}}; eu.prototype.ua=function(){this.g=null;eu.oa.ua.call(this)};function nu(){}u(nu,Vt);Sa(nu);f=nu.prototype;f.lg=function(){};f.Nc=function(a){cu(a,!1);a.Gf&=-256;a.Vb(32,!1);return a.g.Oa("BUTTON",{"class":Nt(this,a).join(" "),disabled:!a.isEnabled(),title:a.hf()||"",value:a.yb()||""},a.Bg()||"")};f.ki=function(a){return"BUTTON"==a.tagName||"INPUT"==a.tagName&&("button"==a.type||"submit"==a.type||"reset"==a.type)};f.Rb=function(a,b){cu(a,!1);a.Gf&=-256;a.Vb(32,!1);if(b.disabled){var c=this.rh(1);x(b,c)}return nu.oa.Rb.call(this,a,b)}; f.li=function(a){An(a).ka(a.ha(),"click",a.vf)};f.Mj=function(){};f.rm=function(){};f.om=function(a){return a.isEnabled()};f.Zg=function(){};f.Vc=function(a,b,c){nu.oa.Vc.call(this,a,b,c);(a=a.ha())&&1==b&&(a.disabled=c)};f.yb=function(a){return a.value};f.uc=function(a,b){a&&(a.value=b)};f.je=function(){};function ou(a,b,c){bu.call(this,a,b||nu.Jb(),c)}u(ou,bu);f=ou.prototype;f.yb=function(){return this.Ba};f.uc=function(a){this.Ba=a;this.wd().uc(this.ha(),a)};f.hf=function(){return this.V};f.yf=function(a){this.V=a;this.wd().yf(this.ha(),a)};f.mc=function(a){this.wd().mc(this,a)};f.ua=function(){ou.oa.ua.call(this);delete this.Ba;delete this.V};f.Ka=function(){ou.oa.Ka.call(this);if(St(this,32)){var a=this.ha();a&&An(this).ka(a,"keyup",this.be)}}; f.be=function(a){return 13==a.keyCode&&"key"==a.type||32==a.keyCode&&"keyup"==a.type?this.vf(a):32==a.keyCode};Zt("goog-button",function(){return new ou(null)});function pu(a,b,c,d){d=void 0===d?!1:d;Y.call(this);this.N=a;this.o=b;this.j=this.N.Wa().ri;this.V=!!this.N.Wa().ri;this.na=!!this.N.Wa().Xh;this.l=Zp(c);this.s=d;if(this.V){a:{a=this.N.ab();for(b=0;b=Ho(c)&&e<=d){a=b;break a}}a=-1}this.ma=a}}n(pu,Y);f=pu.prototype; f.render=function(a,b){b=void 0===b?2:b;this.i=H("div");document.body.appendChild(this.i);W(r(this.zq,this));this.qa=a;this.V?(this.s&&(this.O=b),qu(this)):this.na?(x(this.i,"base-image-toc-div"),a=this.N.Wa().Xh,(b=Ko(this.N.ab(),a))&&ru(this,b),1=Ho(e[0]||e[1])&&aemail or IM"));this.ha().appendChild(a);this.l=H("input");L(this.l,"100%","auto");this.ha().appendChild(this.l);this.V&&(a=G("DIV",{style:"font-size: 13px; padding-top: 7px;"},"Embed"),this.ha().appendChild(a),this.s=H("input"),L(this.s,"100%","auto"),this.ha().appendChild(this.s));a=this.N.Da();b=(new T(window.location)).i;var c=new T(a.zc()); Ik(c,b);this.l.value=c.toString();W(t(Bu,this.l));this.V&&(a=new T(a.zc()),U(a,"output","embed"),this.s.value=Cu(a.toString()))};Au.prototype.Hl=function(){zu.prototype.Hl.call(this);this.g.ka(this.l,"click",t(Bu,this.l));this.V&&this.g.ka(this.s,"click",t(Bu,this.s))};function Bu(a){a.select()}function Cu(a){return Ke('',a)};function Du(a,b){var c=this;this.N=a;this.j=b;this.g=nk();this.i=C("flow-top-div")?!0:!1;(new fk(this)).ka(this.g,"resize",function(){var d=c.N.Fa(),e=d.Eb(),g=d.Hc();c.resize();c.N.Fa().Ae();d=c.N.Fa();e=Sm(new Rm(e,d.Eb()),g);d.Ed(d.Ie(e))}).ka(this.N,"searchupdate",function(){var d=C("gb-ogen-mobile-appbar");if(d){var e=c.g.getSize().height;d=d.getBoundingClientRect().height;e-=d;d=c.g.getSize().width;c.N.nb(new Ie(d,e));c.i&&L(c.j,new Ie(d,e))}}).ka(window,"load",this.resize)} Du.prototype.resize=function(){var a=this.g.getSize().height,b=this.g.getSize().width,c=Math.round(xh(this.j).y);a=Math.max(0,a-c);this.N.nb(new Ie(b,a));this.i&&L(this.j,new Ie(b,a))};function Eu(){Fu(this)}function Gu(a){ck(a.g);a.g=Uj(document.body,"mousedown",function(){Lb(document.body,"focus-outline-enabled");Fu(a)},{capture:!0})}function Fu(a){ck(a.g);a.g=R(document.body,"keydown",function(b){9===b.keyCode&&(x(document.body,"focus-outline-enabled"),Gu(a))})};function Hu(a,b,c,d){d=void 0===d?!1:d;ws.call(this);var e=this;this.vc=a;this.i=b;this.g=c?c:null;this.hg(Iu(this));if(d){var g=C("ep-lb");R(this,"hide",function(){K(g,"visibility","hidden")});R(this,"beforeshow",function(){K(g,"visibility","visible");y(e.ha(),"lightbox-dialog",!0)})}}n(Hu,ws); function Iu(a){var b=G("DIV");Kb(b,["popup-menu","goog-menu","goog-menu-vertical"]);Wm(b,"dialog");b.setAttribute("tabindex","-1");document.body.appendChild(b);if(""!=a.vc){var c=G("DIV",{"class":"popup-menu-header"});b.appendChild(c);var d=G("SPAN",{"class":"popup-menu-title"});J(d,a.vc);c.appendChild(d);d=G("DIV",{"class":"popup-menu-close"});$m(d,"Close popup");var e=G("IMG");e.src="/googlebooks/images/material/close_black_24dp.png";L(e,24,24);Z(e,"hidden",!0);d.appendChild(e);R(d,"click",function(){a.Aa(!1); a.g&&a.g()});R(d,"keydown",function(g){if(32==g.keyCode||13==g.keyCode)a.Aa(!1),a.g&&a.g()});Wm(d,"button");Of(d,!0);c.appendChild(d)}b.appendChild(a.i);return b};function Ju(a,b,c){this.g=a;this.i=b;this.O=c}u(Ju,rs);Ju.prototype.Mc=function(a,b,c){ss(this.g,this.i,a,b,void 0,c,this.O)};function Ku(a,b,c,d){Ju.call(this,a,b);this.j=c?5:0;this.o=d||void 0}u(Ku,Ju);Ku.prototype.s=function(){return this.j};Ku.prototype.l=function(a){this.j=a};Ku.prototype.Mc=function(a,b,c,d){var e=ss(this.g,this.i,a,b,null,c,10,d,this.o);if(e&496){var g=Lu(e,this.i);b=Lu(e,b);e=ss(this.g,g,a,b,null,c,10,d,this.o);e&496&&(g=Lu(e,g),b=Lu(e,b),ss(this.g,g,a,b,null,c,this.j,d,this.o))}};function Lu(a,b){a&48&&(b^=4);a&192&&(b^=1);return b};function Mu(a,b,c,d,e){this.g=a;this.N=b;this.s=c;this.ma=C("epo-welcome");this.O=C("epo-keyboard");this.j=C("epo-plain-text");this.l=C("epo-plain-text-only");this.o=C("entity-page-toggle-viewport-mode-link");this.V=C("epo-share-link");this.i=e;Nu(this,d);Ou(this,!1)} function Nu(a,b){if(a.s)a.l&&Pu(a,b);else{var c=new Hu("",a.ma,function(){});Kb(c.ha(),["onboarding-popup","onboarding-fixed-popup","onboarding-welcome-popup"]);Mn(c,!1);var d=C("epo-keyboard-text");O(d,Q(Pf(d)));var e=new Hu("",a.O,function(){});Kb(e.ha(),["onboarding-popup","onboarding-fixed-popup"]);Mn(e,!1);d=ef("A",d)[0];d.id="ep-keyboard-link";x(d,"onboarding-link");Of(d,!0);Qu(d,function(){a.N.qb("showkeyboardshortcuts")});if(a.j){var g=new Hu("",a.j,function(){});Kb(g.ha(),["onboarding-popup", "onboarding-plain-text-popup"])}d=new Hu("",a.V,function(){});Kb(d.ha(),["onboarding-popup","onboarding-share-popup"]);var h=C("entity-page-clip");xs(d,5);d.setPosition(new Ku(h,4,!0));Mn(d,!1);Ru(a,c,e,g,d);Su(a,c,e,g,d);if(a.i)switch(a.i){case 0:c.Aa(!0);break;case 1:e.Aa(!0);break;case 2:g?Tu(a,g,b):d.Aa(!0);break;default:d.Aa(!0)}else c.Aa(!0)}} function Ru(a,b,c,d,e){var g=C("epo-welcome-next");Qu(g,function(){a.i++;b.Aa(!1);c.Aa(!0);Ou(a,!1)});g=C("epo-keyboard-next");Qu(g,function(){a.i++;c.Aa(!1);d?Tu(a,d):e.Aa(!0);Ou(a,!1)});a.j&&d&&(g=C("epo-plain-text-next"),Qu(g,function(){a.i++;a.g.Aa(!1);Mn(a.g,!0);d.Aa(!1);e.Aa(!0);Ou(a,!1)}))} function Su(a,b,c,d,e){document.querySelectorAll(".onboarding-link").forEach(function(h){"ep-keyboard-link"!=h.id&&Qu(h,function(){b.Aa(!1);c.Aa(!1);d&&(d.Aa(!1),a.g.Aa(!1),Mn(a.g,!0));e.Aa(!1);Uu(a)})});var g=C("epo-done");Qu(g,function(){e.Aa(!1);Uu(a)})}function Pu(a,b){var c=new Hu("",a.l,function(){});Kb(c.ha(),["onboarding-popup","onboarding-plain-text-popup"]);Tu(a,c,b);b=C("epo-done-only");Qu(b,function(){c.Aa(!1);a.g.Aa(!1);Mn(a.g,!0);Uu(a)})} function Tu(a,b,c){void 0!==c&&c||(Mn(a.g,!1),a.g.Aa(!0));a=C("entity-page-more-menu-content");xs(b,0);b.setPosition(new Ku(a,4,!0));Mn(b,!1);b.Aa(!0)}function Uu(a){Ou(a,!0);a.j?jp(!0):jp(!1)}function Ou(a,b){if(a.o){var c=new T(a.o.href);b?(Sk(c,"ovso"),Sk(c,"ovsopt"),Sk(c,"op")):a.s&&a.l?U(c,"ovsopt","1"):(U(c,"ovso","1"),U(c,"op",a.i));ci(a.o,Xh(c.toString()))}}function Qu(a,b){R(a,"click",function(){b()});R(a,"keydown",function(c){32!=c.keyCode&&13!=c.keyCode||b()})};function Vu(a,b){Y.call(this);this.Ca=a;this.j=b;this.i=H("div");a.s.i.appendChild(this.i);x(this.i,"sitb_result");Of(this.i,!0);Wm(this.i,"link");Z(this.i,"disabled",!0);Cc?(K(this.i,"width",b.getSize().width+"px"),K(this.i,"min-height",b.getSize().height+"px")):(qh(this.i,b.jd()),L(this.i,b.getSize()));a=H("div");x(a,"sitb-result-header");this.i.appendChild(a);this.l=H("div");x(this.l,"sitb-result-page-link");b=(b=b.g.i)?"Page "+b:"Page";J(this.l,b);$m(this.l,"Search result: "+b);a.appendChild(this.l); this.o=H("div");x(this.o,"sitb-result-content");this.i.appendChild(this.o);if(a=Ko(this.Ca.N.ab(),this.j.g.La())){b=this.Ca.N.Xa().getQuery();var c=a.ob.snippetSrc;c&&b==op(c)?Wu(this,c):(b=a.df(),"entity_page"==V(b,"source")?U(b,"source","entity_page_gbs_snippet"):U(b,"source","gbs_snippet"),dq(a,b,r(this.O,this)))}else Xu(this)}n(Vu,Nm);Vu.prototype.s=function(a){this.Ca.ta(a.g,void 0)};Vu.prototype.O=function(a){(a=a.ob.snippetSrc)?Wu(this,a):Xu(this)}; function Wu(a,b){yf(a.o);var c=H("IMG");c.src=b;Yu(a);b=a.j.getSize().width-25;K(c,{width:b+"px"});a.o.appendChild(c)}function Yu(a){x(a.i,"sitb-result-clickable");x(a.l,"sitb-result-link");var b=Pf(a.l);O(a.l,Q(b+" »"));Z(a.i,"disabled",!1);a.g.ka(a.i,"click",r(a.s,a,a.j));a.g.ka(a.i,"keydown",function(c){32!=c.keyCode&&13!=c.keyCode||a.s(a.j)})} function Xu(a){yf(a.o);var b=H("div");x(b,"sitb-result-snippet");a.o.appendChild(b);Cc||K(b,{width:Math.floor(.75*a.j.getSize().width)+"px"});O(b,pj.g(a.j.g.g));b=H("div");x(b,"sitb-result-explanatory-link");a.o.appendChild(b);var c=Ko(a.Ca.N.ab(),a.j.g.La());c&&c.xd()&&!iq(c,[4,8,16])&&c.l(2)?(Yu(a),O(b,Q((Cc?"No image for result.":"We couldn't make an image for this result.")+"  ")),a=H("span"),c=Cc||Zp()?"Click to view":"Click to view the whole page.",O(a,Q(c)),b.appendChild(a),x(a,"sitb-result-link")): (O(b,Q("No preview available for this page.  ")),Cc||(a=H("a"),x(a,"sitb-result-buy-link"),O(a,Q("Buy this book.")),b.appendChild(a),b=new T(window.location.href),U(b,"sitesec","buy"),U(b,"source","gbs_snippet"),Sk(b,"printsec"),a.href=b.toString()))}Vu.prototype.Ma=function(){I(this.i);this.Ea()};function Zu(a){this.Ca=a}n(Zu,Vp);Zu.prototype.render=function(a){return new Vu(this.Ca,a)};function $u(a){this.g=a}n($u,im);function av(a,b){tr.call(this,1);this.o=a;this.V=b;this.Cj=this.ci=this.di=20;a.vb&&(a.vb.forEach(r(this.l,this)),pm(this))}n(av,tr);av.prototype.l=function(a){a=new $u(a);var b=Math.min(this.V-16,600);a.nb(new Ie(b,Math.round(124/600*b+42)));this.Pa(a)};function bv(a){var b=a.Ab();K(b,"overflow","hidden");var c=new st(this,b);Yr.call(this,c);this.N=a;Cc||as(this,new mt(this));this.g.ka(this,"move",this.ac);var d=C("subscription-bar");d&&(this.Ik(d),W(function(){N(d,!1)},600));$r(this,cv(this));dv(b)}u(bv,Yr);function ev(a,b){b!=a.o&&(a.o=b,fv(a))}function dv(a){K(a,"overflow","auto");K(a,{overflowX:"auto",overflowY:"scroll"});lf(a,{dir:"ltr"})}function cv(a){var b=new sq;tq(b,$u,new Zu(a));return b}bv.prototype.resize=function(){fv(this)}; function fv(a){var b=new av(a.o,a.getSize().width);a.Tc(b);a.ac()}function gv(a,b){a.ta=b};function hv(a){this.g=a||{}}hv.prototype.kc=function(){return this.g};hv.prototype.Wb=function(a){var b=id(iv,function(c){return c==a});this.g.v=b};hv.prototype.getQuery=function(){return this.g.q};var iv={onepage:tt,twopage:uu,thumbnail:At,snippet:bv};function jv(a){Dj.call(this,"navigate");this.o=a}u(jv,Dj);function kv(){return Ob&&fc?fc.mobile:!(Ob&&fc?!fc.mobile&&(z("iPad")||z("Android")||z("Silk")):z("iPad")||z("Android")&&!z("Mobile")||z("Silk"))&&(z("iPod")||z("iPhone")||z("Android")||z("IEMobile"))};var lv=new WeakMap;function mv(a,b){a=[a];for(var c=b.length-1;0<=c;--c)a.push(typeof b[c],b[c]);return a.join("\v")};function nv(a,b,c,d){S.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"+ov;var g=oe("input",{type:"text",name:e,id:e,style:xd("display:none")});document.write(le(g));e=C(e)}this.s=e;this.g=c?rf(cf(c)):window;this.ma=b;A&&!b&&(this.ma="https"==window.location.protocol?Ed(wd(xd("https:///"))):Ed(wd(xd('javascript:""'))));this.Sa=new Pl(150);Bj(this,this.Sa);this.i=!a;this.j=new fk(this);if(a||pv){if(d)var h=d;else{a="history_iframe"+ ov;b={id:a,style:xd("display:none"),sandbox:void 0};c={};c.src=this.ma||null;c.srcdoc=null;d={sandbox:""};e={};for(var k in c)Object.prototype.hasOwnProperty.call(c,k)&&(e[k]=c[k]);for(var l in d)Object.prototype.hasOwnProperty.call(d,l)&&(e[l]=d[l]);if(b)for(h in b)if(Object.prototype.hasOwnProperty.call(b,h)){k=h.toLowerCase();if(k in c)throw Error("");k in d&&delete e[k];e[h]=b[h]}h=re("iframe",e);document.write(le(h));h=C(a)}this.O=h;this.qa=!0}pv&&(this.j.ka(this.g,"load",this.Ou),this.na=this.V= !1);this.i?qv(this,rv(this),!0):sv(this,this.s.value);ov++}u(nv,S);nv.prototype.Pb=!1;nv.prototype.o=!1;nv.prototype.l=null;var tv=function(a,b){function c(g){var h=la(g);g=h.next().value;h=ma(h);return a.apply(g,h)}function d(g){g=la(g);g.next();g=ma(g);return b(e,g)}b=void 0===b?mv:b;var e=Wa(a);return function(){var g=Ia.apply(0,arguments),h=this||q,k=lv.get(h);k||(k={},lv.set(h,k));return vc(k,[this].concat(na(g)),c,d)}}(function(){return A?Tc(8):"onhashchange"in q}),pv=A&&!Tc(8);f=nv.prototype; f.Jg=null;f.ua=function(){nv.oa.ua.call(this);this.j.Ea();this.lb(!1)};f.lb=function(a){if(a!=this.Pb)if(pv&&!this.V)this.na=a;else if(a)if(Ac&&this.j.ka(this.g,"pageshow",this.Vu),tv()&&this.i)this.j.ka(this.g,"hashchange",this.Qu),this.Pb=!0,this.dispatchEvent(new jv(rv(this),!1));else{if(!A||kv()||this.V)this.j.ka(this.Sa,"tick",r(this.tm,this,!0)),this.Pb=!0,pv||(this.l=rv(this),this.dispatchEvent(new jv(rv(this),!1))),this.Sa.start()}else this.Pb=!1,kk(this.j),this.Sa.stop()}; f.Ou=function(){this.V=!0;this.s.value&&sv(this,this.s.value,!0);this.lb(this.na)};f.Vu=function(a){a.Ob.persisted&&(this.lb(!1),this.lb(!0))};f.Qu=function(){var a=uv(this.g);a!=this.l&&vv(this,a,!0)};function rv(a){return null!=a.Jg?a.Jg:a.i?uv(a.g):wv(a)||""}function xv(a,b){rv(a)!=b&&(a.i?(qv(a,b,!1),tv()||A&&!kv()&&sv(a,b,!1),a.Pb&&a.tm(!1)):(sv(a,b,!1),a.Jg=a.l=a.s.value=b,a.dispatchEvent(new jv(b,!1))))}function uv(a){a=a.location.href;var b=a.indexOf("#");return 0>b?"":a.substring(b+1)} function qv(a,b,c){a=a.g.location;var d=a.href.split("#")[0],e=bc(a.href,"#");if(pv||e||b)d+="#"+b;d!=a.href&&(b=Ld(d),c?Be(a,b):Ae(a,b))}function sv(a,b,c){if(a.qa||b!=wv(a))if(a.qa=!1,b=encodeURIComponent(String(b)),A){var d=Jf(a.O);d.open("text/html",c?"replace":void 0);c=ue(oe("title",{},a.g.document.title),oe("body",{},b));d.write(le(c));d.close()}else d=Bd(a.ma).toString()+"#"+b,(a=a.O.contentWindow)&&(c?Be(a.location,d):Ae(a.location,d))} function wv(a){if(A)return a=Jf(a.O),a.body?Oe(a.body.innerHTML):null;var b=a.O.contentWindow;if(b){try{var c=Oe(uv(b))}catch(d){return a.o||(1!=a.o&&Ql(a.Sa,1E4),a.o=!0),null}a.o&&(0!=a.o&&Ql(a.Sa,150),a.o=!1);return c||null}return null}f.tm=function(a){if(this.i){var b=uv(this.g);b!=this.l&&vv(this,b,a)}if(!this.i||pv)if(b=wv(this)||"",null==this.Jg||b==this.Jg)this.Jg=null,b!=this.l&&vv(this,b,a)}; function vv(a,b,c){a.l=a.s.value=b;a.i?(pv&&sv(a,b),qv(a,b)):sv(a,b);a.dispatchEvent(new jv(rv(a),c))}var ov=0;function yv(a,b){this.g=new nv;R(this.g,"navigate",r(this.o,this));this.N=a;this.i=b}yv.prototype.o=function(a){zv(this,a.o)};function zv(a,b){if(!(a.l&&""==b||a.j))if((A||Bc)&&""==b)window.history.go(-2);else if(b){var c={},d=new Kk(b);v(d.Xd(),function(e){var g=d.get(e);g in Av&&(g=Av[g]);c[e]=g});b=new hv(c);a.N.Wb(iv[b.g.v]||tt);Vs(a.i,!!b.g.f);void 0!==b.getQuery()&&np(a.N.Xa(),b.getQuery())}} yv.prototype.lb=function(a){this.l=!0;this.g.lb(a);A&&(a=(new T(window.location)).i,zv(this,a));this.l=!1};yv.prototype.update=function(){var a=new hv;a.Wb(this.N.O);a.g.q=this.N.Xa().getQuery();a.g.f=this.i.nf();a=Vk(a.kc()).toString();this.j=!0;xv(this.g,a);this.j=!1};var Av={"true":!0,"false":!1};function Bv(a,b,c,d,e,g,h){var k=this;a&&(this.N=a,this.Kb=b);if(this.Ba=c)this.nd=!1;this.Lc=!!d;this.wc=!!e;this.Na=g;this.Hb=void 0===h?!1:h;this.O=C("entity-page-toc");this.Ja=C("entity-page-toc-label");this.Lb=!1;if(this.ma=C("entity-page-pagination"))this.wa=C("entity-page-prev"),this.ta=C("entity-page-next"),this.Ua=C("entity-page-floating-hover");this.Ga=C("entity-page-zoom-in");this.Ia=C("entity-page-zoom-out");this.na=C("entity-page-one-page");this.s=C("entity-page-two-page");this.o=C("entity-page-thumbnail"); this.V=C("entity-page-link");this.Gd=C("entity-page-link-menu-content");this.wb=C("entity-page-share-input");this.qd=C("entity-page-embed-input");this.j=C("entity-page-clip");this.qa=C("entity-page-more");this.Hd=C("entity-page-more-menu-content");this.Ya=!1;this.Ha=C("entity-page-volume-info");C("flow-top-div")&&(this.g=C("flow-top-div"),this.i=(a=Number(V(new T(window.location.href),"zoom")))?a:2,Cv(this,this.i),R(this.N,"searchupdate",function(){Dv(k)}));this.l=!0;Ev(this);Fv(this);Gv(this);Hv(this); Iv(this);Jv(this);Kv(this);Lv(this);Mv(this);Nv(this);new Eu;dp(Ov(this))} function Ev(a){if(a.N){var b=a.N.Wa(),c=!!b.ri;b=(b=b.Xh)&&a.N.ab()&&!!Ko(a.N.ab(),b);c||b?(a.Lb=!0,a.g?(c=C("jtp").value||"Contents",J(a.Ja,c)):J(a.Ja,a.N.Da().Ce()||"Contents"),Pv(a.O,function(){var d=jf("base-image-toc-div");jf("scroll-toc-div")||d||(new pu(a.N,a.O,a.Na,!!a.g)).render(8,a.i)}),R(a.N,"pagechange",function(){var d=a.N.Da().Ce()||"Contents";a.Ja&&O(a.Ja,Q(d))})):(J(a.Ja,"Contents unavailable"),Kb(a.O,["toolbar-button-disabled","toc-button-unavailable"]),Z(a.O,"disabled",!0))}else J(a.Ja, "Contents unavailable"),Kb(a.O,["toolbar-button-disabled","toc-button-unavailable"]),Z(a.O,"disabled",!0)}function Fv(a){a.ma&&(a.N&&(Pv(a.wa,function(){a.wa.hasAttribute("href")||a.N.qb("previous")}),Pv(a.ta,function(){a.ta.hasAttribute("href")||a.N.qb("next")})),a.wa.setAttribute("title","Previous Page"),a.ta.setAttribute("title","Next Page"))} function Gv(a){Pv(a.Ga,function(){a.g?Qv(a):a.N&&a.N.qb("zoomin")});Pv(a.Ia,function(){a.g?Rv(a):a.N&&a.N.qb("zoomout")});a.g&&R(document.body,"keydown",function(b){107==b.keyCode||187==b.keyCode||61==b.keyCode?Qv(a):(109==b.keyCode||189==b.keyCode||173==b.keyCode)&&Rv(a)});a.Ga.setAttribute("title","Zoom in");a.Ia.setAttribute("title","Zoom out")} function Hv(a){Pv(a.na,function(){Sv(a,tt)});a.na.setAttribute("title","Single page view");a.Lc?(Pv(a.s,function(){Sv(a,uu)}),a.s.setAttribute("title","Two page view")):(y(a.s,"toolbar-button-disabled",!0),a.s.setAttribute("title","Two page view unavailable"),Z(a.s,"disabled",!0));a.wc?(Pv(a.o,function(){Sv(a,At)}),a.o.setAttribute("title","Thumbnail view")):(y(a.o,"toolbar-button-disabled",!0),a.o.setAttribute("title","Thumbnail view unavailable"),Z(a.o,"disabled",!0));a.N&&(R(a.N,"viewportmodechange", function(){Tv(a)}),Tv(a))} function Iv(a){var b=(new ps(a.wb)).ha();C("entity-page-share-copy-container").appendChild(b);b=(new ps(a.qd)).ha();C("entity-page-embed-copy-container").appendChild(b);var c=new Hu("Link to this result",a.Gd,function(){a.V.focus()});xs(c,5);c.setPosition(new Ku(a.V,4,!0));c.Aa(!1);var d=new T(a.wb.value);Pv(a.V,function(){if(c.Re||150>Date.now()-c.aj)c.Aa(!1);else{c.Aa(!0);c.ha().focus();if(a.N){Uv(a,d);a.g&&U(d,"bksoutput","text");var e=a.N.Xa().getQuery();e?a.N.O==bv?(Sk(d,"dq"),Sk(d,"pg"),U(d, "bsq",e)):(Sk(d,"bsq"),U(d,"dq",e)):(Sk(d,"bsq"),Sk(d,"dq"))}else(e=le(pj.g((new T(window.location.href)).i)).toString())&&U(d,"bsq",e);a.wb.value=d.toString();a.N&&(e=new T(a.N.Da().zc()),Sk(e,"source"),U(e,"output","embed"),a.qd.value=Cu(e.toString()))}});a.V.setAttribute("title","Link to this result")} function Jv(a){if(a.Ba){var b=C("entity-page-selection-bar"),c=C("entity-page-exit-selection"),d=C("entity-page-toolbar");Pv(a.j,function(){a.nd=!a.nd;a.Ba(!0);y(b,"menu-hidden",!1);c.focus();Z(d,"hidden",!0)});Pv(c,function(){a.Ba(!1);y(b,"menu-hidden",!0);a.j.focus();Z(d,"hidden",!1)});a.j.setAttribute("title","Select a clip")}else y(a.j,"toolbar-button-disabled",!0),Z(a.j,"disabled",!0),a.j.setAttribute("title","Select a clip unavailable")} function Kv(a){Vv(a);Wv(a);Xv(a);var b=new Hu("",a.Hd,function(){a.qa.focus()});xs(b,4);b.setPosition(new Ku(a.qa,5,!0));x(b.ha(),"more-actions-popup");b.Aa(!1);Yv(a,b);var c=C("entity-page-toggle-viewport-mode-link");c&&a.Hb&&(b.Aa(!0),c.focus());Pv(a.qa,function(){if(b.Re||150>Date.now()-b.aj)b.Aa(!1),a.qa.focus();else if(b.Aa(!0),b.ha().focus(),c){var e=new T(c.href);Uv(a,e);a.g&&(Sk(e,"zoom"),Sk(e,"num"),Sk(e,"scoring"));Sk(e,"q");var g=a.N.Xa().getQuery();if(g){if(U(e,"dq",g),!a.g){g=C("search-results-summ"); var h=g.hasAttribute("data-result-num")?g.getAttribute("data-result-num"):0;U(e,"num",h);g=g.hasAttribute("data-search-sort")?g.getAttribute("data-search-sort"):"n";U(e,"scoring",g)}}else Sk(e,"dq");ci(c,Xh(e.toString()))}});a.qa.setAttribute("title","More actions menu");R(b,"show",function(){a.Ya=!0;a.l=!0;Zv(a)});R(b,"hide",function(){a.Ya=!1;a.l=!1;$v(a)});if(a.Na.showViewportOnboarding||a.Na.showViewportPlainTextOnboarding){var d=Number(V(new T(window.location.href),"op"));new Mu(b,a.N,!!a.Na.showViewportPlainTextOnboarding, a.Hb,d?d:0)}}function Yv(a,b){var c=C("entity-page-store"),d=C("gb-mobile-buy-section");if(c&&d&&(d=kf("TABLE","gb-mobile-buy-table",d))){var e=new Hu("",d,function(){a.qa.focus()});xs(e,0);e.setPosition(new Ku(c,4,!0));x(e.ha(),"buy-table-popup");e.Aa(!1);Pv(c,function(){e.Aa(!0);e.ha().focus()},!0);b.ha().querySelectorAll(".more-actions-menu-link").forEach(function(g){g!=c&&R(g,"mouseenter",function(){e.Aa(!1)})});R(e.ha(),"mouseleave",function(){e.Aa(!1)})}} function Lv(a){var b=C("ep-keyboard-shortcuts");if(b&&a.N){var c=new Hu("",b,function(){},!0);x(c.ha(),"keyboard-shortcuts-popup");b=C("ep-keyboard-close");Pv(b,function(){c.Aa(!1)});R(a.N,"keyboardshortcutsopened",function(){c.Aa(!0)})}}function Xv(a){var b=C("entity-page-keyboard");b&&a.N&&Pv(b,function(){a.N.qb("showkeyboardshortcuts")})} function Wv(a){var b=C("entity-page-copyright-page-id");if(b&&a.N){var c=C("entity-page-copyright");b=Pf(b);var d=Ko(a.N.ab(),b);Pv(c,function(){a.N.mb(d)})}}function Vv(a){var b=C("entity-page-toggle-viewport-mode-link");if(b){var c=a.g?!0:!1;y(b,"checked",c);Z(b,"pressed",c);Pv(b,function(){y(b,"checked",!c);Z(b,"pressed",!c)})}} function Tv(a){a.N.O==tt?(aw(a,!0),bw(a,!0),cw(a,!0),dw(a,!0),ew(a,!0),Z(a.na,"current","true"),Z(a.s,"current","false"),Z(a.o,"current","false")):a.N.O==uu?(aw(a,!0),bw(a,!0),cw(a,!0),dw(a,!0),ew(a,!0),Z(a.na,"current","false"),Z(a.s,"current","true"),Z(a.o,"current","false")):a.N.O==At?(aw(a,!0),bw(a,!1),cw(a,!0),dw(a,!0),ew(a,!1),Z(a.na,"current","false"),Z(a.s,"current","false"),Z(a.o,"current","true")):(aw(a,!1),bw(a,!1),cw(a,!1),dw(a,!1),ew(a,!1));var b=a.N.O;a.ma&&b!=bv&&!a.g&&(y(a.ma,"one-page-view", b==tt),y(a.Ha,"one-page-view",b==tt),y(a.ma,"two-page-view",b==uu),y(a.Ha,"two-page-view",b==uu),y(a.ma,"thumbnail-view",b==At),y(a.Ha,"thumbnail-view",b==At))}function Sv(a,b){a.N&&a.N.O!=b&&(a.N.Wb(b),!a.N.Xa().getQuery()&&a.Kb&&a.Kb.update())}function aw(a,b){y(a.na,"toolbar-button-disabled",!b);Z(a.na,"disabled",!b);a.Lc&&(y(a.s,"toolbar-button-disabled",!b),Z(a.s,"disabled",!b));a.wc&&(y(a.o,"toolbar-button-disabled",!b),Z(a.o,"disabled",!b))} function bw(a,b){y(a.Ia,"toolbar-button-disabled",!b);Z(a.Ia,"disabled",!b);y(a.Ga,"toolbar-button-disabled",!b);Z(a.Ga,"disabled",!b)}function cw(a,b){y(a.wa,"toolbar-button-disabled",!b);Z(a.wa,"disabled",!b);y(a.ta,"toolbar-button-disabled",!b);Z(a.ta,"disabled",!b)}function dw(a,b){a.Lb&&(y(a.O,"toolbar-button-disabled",!b),Z(a.O,"disabled",!b))}function ew(a,b){a.Ba&&(y(a.j,"toolbar-button-disabled",!b),Z(a.j,"disabled",!b))}function Uv(a,b){a=new T(a.N.Da().zc());U(b,"pg",V(a,"pg"))} function Qv(a){5>a.i&&(a.i+=1,Cv(a,a.i))}function Rv(a){1=b.left:a.left+54<=b.right;a=jf("scroll-background");if(!a)return!1;a=Ef(a);if(!a)return!1;a=a.getBoundingClientRect();return vm()?a.right>=b.left:a.left<=b.right}function Zv(a){hw(a,!0);y(a.Ua,"listen-for-hover",!1);a.bc&&Rl(a.bc)} function hw(a,b){y(a.Ha,"floating-button-group-hidden",!b);a.ma&&y(a.ma,"floating-button-group-hidden",!b)}function Ov(a){return{focusSearch:function(){C("search_form_input").focus()},updateSearch:function(b){np(a.N.Xa(),b);a.Kb&&a.Kb.update()},goToPage:function(b){b&&a.N.Bd(b)}}};function iw(a,b){this.g=a;this.l=b}function jw(a,b){var c=H("DIV");x(c,"sitb-content");var d=H("H4");x(d,"sitb-result-header");var e=H("DIV"),g=a.g.i;g=g?"Page "+g:"Page";J(e,g);$m(d,"Search result: "+g);d.appendChild(e);b&&!a.l&&(a=H("SPAN"),x(a,"sitb-no-preview-msg"),J(a,"No preview available for this page."),d.appendChild(a));c.appendChild(d);return c};function kw(a){this.g=a}Sa(kw);function lw(a,b){a&&(a.tabIndex=b?0:-1)}f=kw.prototype;f.Oj=function(a){return"DIV"==a.tagName};function mw(a,b,c){c.id&&b.Ng(c.id);var d=a.og(),e=!1,g=Hb(c);g&&Array.prototype.forEach.call(g,function(h){h==d?e=!0:h&&(h==d+"-disabled"?b.lb(!1):h==d+"-horizontal"?nw(b,"horizontal"):h==d+"-vertical"&&nw(b,"vertical"))},a);e||x(c,d);ow(a,b,c);return c} function ow(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.th(d);g&&(g.va=d,b.isEnabled()||g.lb(!1),b.Za(g),Dn(g,d))}else d.nodeValue&&""!=Tb(d.nodeValue)||c.removeChild(d);d=e}}f.th=function(a){a:{a=Hb(a);for(var b=0,c=a.length;bthis.Yb&&b<=this.Yb?this.Yb++:athis.Yb&&this.Yb--}; f.removeChild=function(a,b){if(a="string"===typeof a?Bn(this,a):a){var c=In(this,a);-1!=c&&(c==this.Yb?(a.Sc(!1),this.Yb=-1):cb?c-1:b},0)}function xw(a){zw(a,function(b,c){return(b+1)%c},a.Yb)}function ww(a){zw(a,function(b,c){b--;return 0>b?c-1:b},a.Yb)} function zw(a,b,c){c=0>c?In(a,a.Zb):c;var d=Fn(a);c=b.call(a,c,d);for(var e=0;e<=d;){var g=Gn(a,c);if(g&&a.Cn(g)){a.Td(c);break}e++;c=b.call(a,c,d)}}f.Cn=function(a){return a.isVisible()&&a.isEnabled()&&St(a,2)};function Aw(a){xn.call(this);this.j=a?a:null;var b=this.g;a=b.ha("gb-mobile-buy-panel");var c=b.ha("gb-mobile-buy-button"),d=b.ha("gb-mobile-buy-close-button");b=b.ha("volume-left");a&&c&&d&&b&&(this.i=new pw,Dn(this.i,a),this.o=c,this.V=d,Dn(this,b),this.i.Aa(!1))}n(Aw,xn); Aw.prototype.Ka=function(){var a=this;An(this).ka(this.o,"click",this.l).ka(this.o,"keydown",function(b){32!=b.keyCode&&13!=b.keyCode||a.l()}).ka(this.V,"click",this.l).ka(this.V,"keydown",function(b){32!=b.keyCode&&13!=b.keyCode||a.l()})}; Aw.prototype.l=function(){if(this.i.isVisible()){this.i.Aa(!1);Lb(this.i.Ib(),"gb-mobile-buy-panel-visible");this.j&&(this.j.style.overflowX="auto",this.j.style.overflowY="scroll");this.o.focus();for(var a=la(document.querySelectorAll('[role="alert"],#volume-center,.aria-hide-on-menu-open')),b=a.next();!b.done;b=a.next())b.value.removeAttribute("aria-hidden")}else this.i.Aa(!0),x(this.i.Ib(),"gb-mobile-buy-panel-visible"),this.j&&(this.j.style.overflowX="hidden",this.j.style.overflowY="hidden"),this.i.Ib().focus(), Bw(this)};function Bw(a){var b=a.i.Ib().querySelectorAll('[role="button"],[href]'),c=b[0],d=b[b.length-1];An(a).ka(a.i.Ib(),"keydown",function(e){9==e.keyCode&&(e.shiftKey?document.activeElement===c&&(e.preventDefault(),d.focus()):document.activeElement===d&&(e.preventDefault(),c.focus()))});a=la(document.querySelectorAll('[role="alert"],#volume-center,.aria-hide-on-menu-open'));for(b=a.next();!b.done;b=a.next())Z(b.value,"hidden",!0)};function Cw(a){this.Ic=ar(a)}n(Cw,nr);f=Cw.prototype;f.getEnableSsEngine=function(){return lr(this,2)};f.getEnableAwr=function(){return lr(this,3)};f.getAlohaAutoGaRollout=function(){return lr(this,5)};f.getEnableConfigurator=function(){return lr(this,6)};f.getEnableMweb=function(){return lr(this,7)};f.getEnableCtlConsentCheckbox=function(){return lr(this,8)};f.getEnableIframe=function(){return lr(this,9)};f.getEnableScreenshotNudge=function(){return lr(this,10)}; f.getEnableWebStartupConfigEndpoint=function(){return lr(this,11)};f.getEnableJunkNudge=function(){return lr(this,12)};f.getEnableConfiguratorLocale=function(){return lr(this,13)};f.getEnableTinyNoPointer=function(){return lr(this,14)};f.getEnableSupportSessionLogging=function(){return lr(this,15)};f.getEnableFileUploadForScreenshot=function(){return lr(this,16)};f.getEnableDirectDeflectionForSingleCategory=function(){return lr(this,17)};f.getEnableImageSanitization=function(){return lr(this,18)}; f.getEnableAlohaBinarySplit=function(){return lr(this,19)};f.getEnableDbFeedbackIntents=function(){return lr(this,20)};f.getEnableMarkMandatoryFieldsWithRequired=function(){return lr(this,21)};f.getEnableFeedbackCategoryCustomUi=function(){return lr(this,22)};f.getEnableRealtimeCtl=function(){return lr(this,23)};function Dw(a){this.Ic=ar(a)}n(Dw,nr);function Ew(a){return Fw.some(function(b){return b.test(a)})}var Fw=[/https:\/\/sandbox\.google\.com\/tools\/feedback/,/https:\/\/feedback-frontend-qual[a-z0-9.]*\.google\.com\/inapp/,/https:\/\/feedback-frontend-qual[a-z0-9.]*\.google\.com\/tools\/feedback/,/https:\/\/.*\.googleusercontent\.com\/inapp/];var Gw="af;am;ar-EG;ar-JO;ar-MA;ar-SA;ar-XB;ar;az;be;bg;bn;bs;ca;cs;cy;da;de-AT;de-CH;de;el;en;en-GB;en-AU;en-CA;en-IE;en-IN;en-NZ;en-SG;en-XA;en-XC;en-ZA;es;es-419;es-AR;es-BO;es-CL;es-CO;es-CR;es-DO;es-EC;es-GT;es-HN;es-MX;es-NI;es-PA;es-PE;es-PR;es-PY;es-SV;es-US;es-UY;es-VE;et;eu;fa;fi;fil;fr-CA;fr-CH;fr;gl;gsw;gu;he;hi;hr;hu;hy;id;in;is;it;iw;ja;ka;kk;km;kn;ko;ky;ln;lo;lt;lv;mk;ml;mn;mo;mr;ms;my;nb;ne;nl;no;pa;pl;pt;pt-BR;pt-PT;ro;ru;si;sk;sl;sq;sr-Latn;sr;sv;sw;ta;te;th;tl;tr;uk ; ur ; uz ; vi ; zh;zh-CN;zh-HK;zh-TW;zu".split(";"); function Hw(a){var b;return null==(b=a.formContent)?void 0:b.locale};var Iw=ka(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_light_binary.js"]),Jw=ka(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_binary__",".js"]);function Kw(a,b){var c=Hw(a);c=(c&&Gw.includes(c)?Hw(a):"en").replaceAll("-","_").toLowerCase();var d;a=(null==(d=a.initializationData)?0:d.useNightlyRelease)?"nightly":"live";var e;return(null==b?0:null==(e=b.getEnableAlohaBinarySplit)?0:e.call(b))?sj(Iw,a):sj(Jw,a,c)};var Lw,Mw;function Nw(a,b,c,d){if(Lw)return Lw;var e=Kw(a,d);return Lw=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(g,h){var k=H("SCRIPT");li(k,e);k.onload=function(){b.feedbackV2GlobalObject?g(b.feedbackV2GlobalObject):h("feedbackV2GlobalObject not found on window.")};k.onerror=function(){h("Feedback binary script tag failed to load: "+e.toString())};c.body.appendChild(k)})} function Ow(a,b,c,d){if(Mw)return Mw;var e=Kw(a,d);return Mw=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(g,h){var k=H("SCRIPT");li(k,e);k.onload=function(){b.feedbackV2GlobalObject?g(b.feedbackV2GlobalObject):h("feedbackV2GlobalObject not found on window.")};k.onerror=function(){h("Feedback binary script tag failed to load: "+e.toString())};c.body.appendChild(k)})} function Pw(a,b,c,d,e){e=void 0===e?!0:e;var g,h,k,l,m;return Ha(function(p){switch(p.g){case 1:return g=Date.now(),za(p,Nw(a,c,d,b),2);case 2:h=p.j;if(!(e||(null==(l=a.initializationData)?0:l.useNightlyRelease)||(null==(m=a.initializationData)?0:m.isLocalServer))){k=h.initializeFeedbackClient(a,g,b);p.g=3;break}return za(p,h.initializeFeedbackClientAsync(a,g,b),4);case 4:k=p.j;case 3:return k.initiateAloha(),p.return(k)}})} function Qw(a,b,c,d){var e,g,h;return Ha(function(k){if(1==k.g)return e=Date.now(),za(k,Ow(a,c,d.document,b),2);if(3!=k.g)return g=k.j,za(k,g.initializeFeedbackClientAsync(a,e,b,d),3);h=k.j;h.initiateAloha();return k.return(h)})} function Rw(a,b,c){var d=!0;d=void 0===d?!0:d;var e,g,h,k,l,m,p,w,D,F;return Ha(function(E){e=c||q;if(null==(g=b)?0:null==(k=(h=g).getEnableAlohaBinarySplit)?0:k.call(h)){l=e;if(l.isFormOpened)throw m=Error("Form is either loading or already opened"),m.name="DuplicateFormError",m;l.isFormOpened=!0;a.callbacks=a.callbacks||{};p=a.callbacks.onClose||function(){};a.callbacks.onClose=function(P){l.isFormOpened=!1;p(P)};try{return E.return(Qw(a,b,l,e))}catch(P){throw l.isFormOpened=!1,P;}}else{w=e;if(w.isFormOpened)throw D= Error("Form is either loading or already opened"),D.name="DuplicateFormError",D;w.isFormOpened=!0;a.callbacks=a.callbacks||{};F=a.callbacks.onClose||function(){};a.callbacks.onClose=function(P){w.isFormOpened=!1;F(P)};try{return E.return(Pw(a,b,w,e.document,d))}catch(P){throw w.isFormOpened=!1,P;}}})};function Sw(a,b){return Ha(function(c){return c.return(new Promise(function(d){var e=Tw(null!=b?b:"")+"/aloha_form_properties?productId="+a;Wl(e,function(g){g=g.target;var h=null;try{var k=JSON.stringify(fm(g,")]}'\n"));if(null==k||""==k)h=new Dw;else{var l=JSON.parse(k);if(!Array.isArray(l))throw Error(void 0);Iq(l,32);h=$q(Dw,l)}}catch(m){k=new Dw;l=new Cw;l=mr(l,5,!0);l=mr(l,2,!0);l=mr(l,4,!1);l=mr(l,8,!0);l=mr(l,9,!0);l=mr(l,7,!0);l=mr(l,10,!0);l=mr(l,12,!0);l=mr(l,13,!1);l=mr(l,14,!0);l=mr(l, 15,!0);l=mr(l,20,!1);null==l&&(l=void 0);g=k.Ic;h=Mq(g);if(h&2)throw Error();kr(g,h,1,l);h=k}d(h)},"GET","",{},2E3,!0)}))})}function Tw(a){return Ew(a)?a:"https://www.google.com/tools/feedback"};function Uw(a,b,c){a.timeOfStartCall=(new Date).getTime();var d=c||q,e=d.document,g=a.nonce||ze(d);g&&!a.nonce&&(a.nonce=g);if("help"==a.flow){var h=Ra("document.location.href",d);!a.helpCenterContext&&h&&(a.helpCenterContext=h.substring(0,1200));h=!0;if(b&&JSON&&JSON.stringify){var k=JSON.stringify(b);(h=1200>=k.length)&&(a.psdJson=k)}h||(b={invalidPsd:!0})}b=[a,b,c];d.GOOGLE_FEEDBACK_START_ARGUMENTS=b;c=a.feedbackServerUri||"//www.google.com/tools/feedback";if(h=d.GOOGLE_FEEDBACK_START)h.apply(d, b);else{d=c+"/load.js?";for(var l in a)b=a[l],null==b||Va(b)||(d+=encodeURIComponent(l)+"="+encodeURIComponent(b)+"&");a=Vf(af(e),"SCRIPT");g&&a.setAttribute("nonce",g);li(a,Ed(d));e.body.appendChild(a)}} function Vw(a,b,c,d){var e,g;Ha(function(h){e=c||q;var k="DEV"===a.serverEnvironment,l=c||q;l=a.nonce||ze(l);k={integrationKeys:{productId:a.productId,feedbackBucket:a.bucket,triggerId:a.triggerId},callbacks:{onClose:a.callback,onLoad:a.onLoadCallback},formContent:{locale:a.locale,disableScreenshot:a.disableScreenshotting,productDisplayName:void 0,announcement:void 0,issueCategories:void 0,includeSeveritySelection:void 0,customImageSrc:void 0,thankYouMessage:void 0,Pw:void 0,defaultFormInputValues:void 0, defaultFormInputValuesString:void 0,abuseLink:a.abuseLink,additionalDataConsent:a.additionalDataConsent},initializationData:{isLocalServer:k,nonce:l,useNightlyRelease:k,feedbackJsUrl:void 0,feedbackCssUrl:void 0,feedbackJsUrlSerialized:void 0,feedbackCssUrlSerialized:void 0,submissionServerUri:a.feedbackServerUri,colorScheme:a.colorScheme},extraData:{productVersion:a.productVersion,authUser:a.authuser,configuratorId:a.configuratorId,customZIndex:a.customZIndex,tinyNoPointer:a.tinyNoPointer,allowNonLoggedInFeedback:a.allowNonLoggedInFeedback, enableAnonymousFeedback:a.enableAnonymousFeedback}};b&&(l=new Map(Object.entries(b)),k.extraData.productSpecificData=l);g=k;return za(h,Rw(g,d,e),0)})} function Ww(a,b,c){try{if("help"===a.flow){var d=a.helpCenterPath.replace(/^\//,"");ji(c||window,Xh("https://support.google.com/"+d))}else"submit"===a.flow?Uw(a,b,c):Sw(a.productId,a.feedbackServerUri).then(function(e){var g=void 0===g?!1:g;var h=e.Ic;var k=Mq(h),l=jr(h,k,1,g);if(null!=l&&"object"===typeof l&&l.ql===Rq)var m=l;else if(Array.isArray(l)){var p=m=Kq(l);0===p&&(p|=k&32);p|=k&2;p!==m&&Lq(l,p);m=new Cw(l)}else m=void 0;m!==l&&null!=m&&kr(h,k,1,m,g);h=m;null!=h&&(e=e.Ic,k=Mq(e),k&2||(l= h,m=l.Ic,p=Mq(m),l=p&2?$q(l.constructor,hr(m,p,!1)):l,l!==h&&(h=l,kr(e,k,1,h,g))));g=h;e=!Cc||(null==g?void 0:g.getEnableMweb());h=!a.tinyNoPointer||(null==g?void 0:g.getEnableTinyNoPointer());!g||g.getAlohaAutoGaRollout()&&e&&h?Vw(a,b,c,g):Uw(a,b,c)},function(e){e&&"DuplicateFormError"!==e.name&&Uw(a,b,c)})}catch(e){Vw(a,b,c,null)}}cb("userfeedback.api.startFeedback",Ww);function Xw(a,b,c){xn.call(this);if(this.j=C("gb-mobile-appbar-back-button"))An(this).ka(this.j,"click",this.l),Yw(this);(this.i=C("gb-mobile-appbar-more"))&&Zw(this);var d=C("gb-mobile-appbar-search-button");d&&b&&(R(d,"click",function(){$w(b,c)}),R(d,"keydown",function(e){32!=e.keyCode&&13!=e.keyCode||$w(b,c)}));new Aw(a)}n(Xw,xn); function Zw(a){var b=C("gb-mobile-more-menu");if(b){var c=new ws(b);xs(c,4);c.setPosition(new Ku(a.i,4));c.Aa(!1);R(a.i,"click",function(){ax(b,c)});R(a.i,"keydown",function(d){32!=d.keyCode&&13!=d.keyCode||ax(b,c)})}else I(a.i)}function ax(a,b){Lb(a,"more-menu-hidden");b.Aa(!0);b.ha().focus();a=hf("more-menu-link");for(var c=0;c"+(e.j+1+" of ")+(e.i.o.vb.length+" in this book for ")+(et(e.i.o)+"")));e=a.i.N;b=Ko(e.ab(),b.La());if(!b)return null;var g=e.Fa();g instanceof tt||g instanceof uu||(a.i.l==uu?e.Wb(uu):e.Wb(tt));if(c)return e.Bd(c),null;if(d)return xp(e,d),null;e.Ah(b); return b}Mx.prototype.ua=function(){zj(this.s);Y.prototype.ua.call(this)};var Wx="ganpub ganclk dapp source_ip source_country source_domain authuser".split(" ");function Xx(a){var b=void 0===b?window.location.href:b;var c=new T(b);U(a,"hl","en");(b=V(c,"output"))&&U(a,"output",b);b=V(c,"source");"ge-ipad-app"==b?(U(a,"dapp","2"),Sk(a,"output")):"ge-tablet-app"==b?(U(a,"dapp","4"),Sk(a,"output")):"ge-ip-app"==b?U(a,"dapp","1"):"ge-android-app"==b&&U(a,"dapp","3");V(c,"authuser")||Sk(a,"authuser");Wx.forEach(function(d){var e=V(c,d);e&&U(a,d,e)})};function Yx(){this.g=[]}u(Yx,Kt);Sa(Yx);function Zx(a,b){var c=a.g[b];if(!c){switch(b){case 0:c=a.Ra()+"-highlight";break;case 1:c=a.Ra()+"-checkbox";break;case 2:c=a.Ra()+"-content"}a.g[b]=c}return c}f=Yx.prototype;f.lg=function(){return"menuitem"};f.Nc=function(a){var b=a.g.Oa("DIV",Nt(this,a).join(" "),$x(this,a.Dc(),a.g));ay(this,a,b,St(a,8)||St(a,16));return b};f.Fc=function(a){return a&&a.firstChild}; f.Rb=function(a,b){var c=Ef(b),d=Zx(this,2);c&&Jb(c,d)||b.appendChild($x(this,b.childNodes,a.g));Jb(b,"goog-option")&&(a.Ph(!0),this.Ph(a,b,!0));return Yx.oa.Rb.call(this,a,b)};f.mg=function(a,b){var c=this.Fc(a),d=by(this,a)?c.firstChild:null;Yx.oa.mg.call(this,a,b);d&&!by(this,a)&&c.insertBefore(d,c.firstChild||null)};function $x(a,b,c){a=Zx(a,2);return c.Oa("DIV",a,b)}f.wp=function(a,b,c){a&&b&&ay(this,a,b,c)};f.Ph=function(a,b,c){a&&b&&ay(this,a,b,c)}; function by(a,b){return(b=a.Fc(b))?(b=b.firstChild,a=Zx(a,1),!!b&&Gf(b)&&Jb(b,a)):!1}function ay(a,b,c,d){Qt(a,c,b.ff());Rt(a,b,c);d!=by(a,c)&&(y(c,"goog-option",d),c=a.Fc(c),d?(a=Zx(a,1),c.insertBefore(b.g.Oa("DIV",a),c.firstChild||null)):c.removeChild(c.firstChild))}f.rh=function(a){switch(a){case 2:return Zx(this,0);case 16:case 8:return"goog-option-selected";default:return Yx.oa.rh.call(this,a)}}; f.Ni=function(a){var b=Zx(this,0);switch(a){case "goog-option-selected":return 16;case b:return 2;default:return Yx.oa.Ni.call(this,a)}};f.Ra=function(){return"goog-menuitem"};function cy(a,b,c,d){bu.call(this,a,d||Yx.Jb(),c);this.uc(b)}u(cy,bu);f=cy.prototype;f.yb=function(){var a=this.tl;return null!=a?a:this.Bg()};f.uc=function(a){this.tl=a};f.Vb=function(a,b){cy.oa.Vb.call(this,a,b);switch(a){case 8:Tt(this,16)&&!b&&this.Xf(!1);(a=this.ha())&&this.wd().wp(this,a,b);break;case 16:(a=this.ha())&&this.wd().Ph(this,a,b)}};f.wp=function(a){this.Vb(8,a)};f.Ph=function(a){this.Vb(16,a)}; f.Bg=function(){var a=this.Dc();return Array.isArray(a)?(a=mb(a,function(b){return Gf(b)&&(Jb(b,"goog-menuitem-accel")||Jb(b,"goog-menuitem-mnemonic-separator"))?"":Rf(b)}).join(""),Ne(a)):cy.oa.Bg.call(this)};f.de=function(a){var b=this.getParent();if(b){var c=b.l;b.l=null;if(c&&"number"===typeof a.clientX&&Fe(c,new B(a.clientX,a.clientY)))return}cy.oa.de.call(this,a)};f.be=function(a){return a.keyCode==this.rl&&this.vf(a)?!0:cy.oa.be.call(this,a)};f.Os=function(){return this.rl}; Zt("goog-menuitem",function(){return new cy(null)});cy.prototype.ff=function(){return St(this,16)?"menuitemcheckbox":St(this,8)?"menuitemradio":cy.oa.ff.call(this)};cy.prototype.getParent=function(){return bu.prototype.getParent.call(this)};cy.prototype.Gg=function(){return bu.prototype.Gg.call(this)};function dy(a,b,c,d){Ku.call(this,a,b,c||d);(c||d)&&this.l(65|(d?32:132))}u(dy,Ku);function ey(){}u(ey,Kt);Sa(ey);ey.prototype.Ra=function(){return"goog-menuheader"};function fy(a,b,c){bu.call(this,a,c||ey.Jb(),b);this.Vb(1,!1);this.Vb(2,!1);this.Vb(4,!1);this.Vb(32,!1);this.qe=1}u(fy,bu);Zt("goog-menuheader",function(){return new fy(null)});function gy(){}u(gy,Kt);Sa(gy);gy.prototype.Nc=function(a){return a.g.Oa("DIV",this.Ra())};gy.prototype.Rb=function(a,b){b.id&&a.Ng(b.id);if("HR"==b.tagName){var c=b;b=this.Nc(a);zf(b,c);I(c)}else x(b,this.Ra());return b};gy.prototype.mg=function(){};gy.prototype.Ra=function(){return"goog-menuseparator"};function hy(a,b){bu.call(this,null,a||gy.Jb(),b);this.Vb(1,!1);this.Vb(2,!1);this.Vb(4,!1);this.Vb(32,!1);this.qe=1}u(hy,bu);hy.prototype.Ka=function(){hy.oa.Ka.call(this);var a=this.ha();Wm(a,"separator")};Zt("goog-menuseparator",function(){return new hy});function iy(a){this.g=a||"menu"}u(iy,kw);Sa(iy);f=iy.prototype;f.Oj=function(a){return"UL"==a.tagName||iy.oa.Oj.call(this,a)};f.th=function(a){return"HR"==a.tagName?new hy:iy.oa.th.call(this,a)};f.Vd=function(a,b){return If(a.ha(),b)};f.og=function(){return"goog-menu"};f.Pj=function(a){iy.oa.Pj.call(this,a);a=a.ha();Z(a,"haspopup","true")};function jy(a){hy.call(this,gy.Jb(),a)}u(jy,hy);Zt("goog-menuseparator",function(){return new hy});function ky(a,b){pw.call(this,"vertical",b||iy.Jb(),a);yw(this,!1)}u(ky,pw);f=ky.prototype;f.kk=!0;f.Vd=function(a){if(this.wd().Vd(this,a))return!0;for(var b=0,c=Fn(this);bDate.now()-a.Eo);g&&a.Rl?a.kb():a.dispatchEvent("beforeshow")&&(c="undefined"!=typeof c?c:8,e||(a.ha().style.visibility="hidden"),N(a.ha(),!0),b.Mc(a.ha(),c,d),e||(a.ha().style.visibility="visible"),a.Td(-1),a.Aa(!0))}f.kb=function(){this.isVisible()&&(this.Aa(!1),this.isVisible()||(this.Eo=Date.now()))};f.Ju=function(){this.kb()};f.Wu=function(a){oy(this,a)}; f.Xu=function(a){32!=a.keyCode&&13!=a.keyCode&&40!=a.keyCode||oy(this,a);40==a.keyCode&&uw(this)};function oy(a,b){for(var c=a.i.Xd(),d=0;d"+(a.i.o.vb.length+" results in this book for ")+(et(a.i.o)+"")));Ux(a,!0)} function ry(a){$p()||(Ay(a,C("search-result-prev"),function(){By(a,a.j,-1)},"Previous result"),Ay(a,C("search-result-next"),function(){By(a,a.j,1)},"Next result"));Ay(a,C("search-result-viewall"),function(){Sx(a.i)},"View all");Ay(a,C("search-close"),function(){a.Ha()},"Close search")} function sy(a){var b=H("SPAN");O(b,Q("-  "));x(b,"search-bar-link-spacer");a.s.appendChild(b);Cy(a,a.s,"\u2039 Previous",function(){By(a,a.j,-1)},"Previous");b=H("SPAN");O(b,Q("  "));x(b,"search-bar-link-spacer");a.s.appendChild(b);Cy(a,a.s,"Next \u203a",function(){By(a,a.j,1)},"Next");b=H("SPAN");O(b,Q("  -  "));x(b,"search-bar-link-spacer");a.s.appendChild(b);Cy(a,a.s,"View all",function(){Sx(a.i)})} function uy(a){a.ma.appendChild(a.O);var b=H("SPAN");O(b,Q("-  "));x(b,"search-bar-link-spacer");a.O.appendChild(b);a.O.appendChild(vf("Order by: "));a.O.appendChild(a.Ga);Cy(a,a.Ga,"relevance",function(){Dy(a,"r")},"Order by relevance");b=H("SPAN");O(b,Q(" | pages"));a.Ga.appendChild(b);a.O.appendChild(a.Ia);b=H("SPAN");O(b,Q("relevance | "));a.Ia.appendChild(b);Cy(a,a.Ia,"pages",function(){Dy(a,"n")},"Order by pages")} function ty(a){a.V=a.o?C("sort-dropdown-button"):G("A",{"class":"search-bar-sort-dropdown-link"});var b=a.o?C("sort-dropdown-label"):G("SPAN",{"class":"search-bar-sort-dropdown-text"});J(b,"Order by ");a.na=G("SPAN",{"class":"search-bar-sort-dropdown-selected"});J(a.na,"pages");var c=a.V;$m(c,"Order by pages");c.setAttribute("title","Order by pages");b.appendChild(a.na);b=new my;var d=new cy("relevance");d.Oh("Order by relevance");b.Za(d,!0);x(d.ha(),"search-bar-sort-dropdown-item");var e=new cy("pages"); e.Oh("Order by pages");b.Za(e,!0);Kb(e.ha(),["search-bar-sort-dropdown-item","search-bar-sort-dropdown-item-selected"]);b.Rl=!0;a.ta?b.render(a.O):b.render(document.body);x(b.ha(),"sort-dropdown-menu");c=H("SPAN");c.id="current-sort-label";J(c,"Current");N(c,!1);b.ha().appendChild(c);Z(e.ha(),"describedby","current-sort-label");a.qa?(b.attach(a.V,12,13),x(b.ha(),"popup-menu")):b.attach(a.V,13,12);a.g.ka(b,"action",function(g){Ey(a,g,d.ha(),e.ha())});a.g.ka(b,"keydown",function(g){32!=g.keyCode&&13!= g.keyCode||Ey(a,g,d.ha(),e.ha())});a.ta&&a.g.ka(b,"beforeshow",function(){var g=a.V.offsetWidth-32;Fh(d.ha(),g);Fh(e.ha(),g)})}function vy(a){var b=H("SPAN");x(b,"search-bar-close-link-container");a.qa?a.Ba.appendChild(b):a.ma.appendChild(b);a.g.ka(b,"click",a.Ha);var c=Cy(a,b,"Clear search",function(){a.Ha()});x(c,"search-bar-close-link");c=H("IMG");c.src="/googlebooks/images/close_x.gif";x(c,"search-bar-close-img");b.appendChild(c)} function Ux(a,b){N(yy,!b);N(a.O,b);a.o?(N(a.s,!b),b=!b&&1==a.i.o.vb.length,y(a.s,"toolbar-button-disabled",b),Z(a.s,"disabled",b)):N(a.s,!b&&1=c.length&&(a.j=0);0>a.j&&(a.j=c.length-1);if(a.j!=d){var g=c[a.j];Rx(a.i,g)?(e=Ik(U(U(U(new T(b.href),"pg",g.La()),"num",a.j),"scoring",a.i.j),""),ci(b,Xh(e.toString())),Rx(a.i,c[d])):Hy(a,b,c,d,e)}}py.prototype.ua=function(){Y.prototype.ua.call(this);zj(this.wa);N(yy,!0);I(this.ma);null!=Fy&&Fy.resize();this.o&&(Vx(this,!1),I(jf("sort-dropdown-menu")),yf(this.l))}; function Cy(a,b,c,d,e){var g=H("SPAN");x(g,"search-bar-link");Wm(g,"link");$m(g,e?e:c);Of(g,!0);b.appendChild(g);g.innerText=c;a.g.ka(g,"click",d);a.g.ka(g,"keydown",function(h){32!=h.keyCode&&13!=h.keyCode||d()});return g}function Ay(a,b,c,d){$m(b,d);b.setAttribute("title",d);a.g.ka(b,"click",c);a.g.ka(b,"keydown",function(e){32!=e.keyCode&&13!=e.keyCode||c()})}py.prototype.Ha=function(){var a=this.i;np(a.i.N.Xa(),"");$p()&&sx(a.l,!1);(a=this.i.i)&&a.o&&a.o.update()}; function By(a,b,c){var d=a.i.o.vb.length;a.j+=c;a.j>=d&&(a.j=0);0>a.j&&(a.j=d-1);a.j!=b&&(Rx(a.i,a.i.o.vb[a.j])||By(a,b,c))}function Dy(a,b){(a=a.i.i)&&a.update(b)} function Ey(a,b,c,d){if((b=b.target.Dc())&&a.na){var e=a.V;switch(b){case "pages":Dy(a,"n");J(a.na,"pages");$m(e,"Order by pages");e.setAttribute("title","Order by pages");y(d,"search-bar-sort-dropdown-item-selected",!0);Z(d,"describedby","current-sort-label");y(c,"search-bar-sort-dropdown-item-selected",!1);c.removeAttribute("aria-describedby");break;case "relevance":Dy(a,"r"),J(a.na,"relevance"),$m(e,"Order by relevance"),e.setAttribute("title","Order by relevance"),y(c,"search-bar-sort-dropdown-item-selected", !0),Z(c,"describedby","current-sort-label"),y(d,"search-bar-sort-dropdown-item-selected",!1),d.removeAttribute("aria-describedby")}}} function zy(a,b){a.V&&(y(a.V,"search-bar-sort-dropdown-disabled",!b),Z(a.V,"disabled",!b));var c="n"==a.i.j;b&&!c&&(J(a.na,"relevance"),b=a.V,$m(b,"Order by relevance"),b.setAttribute("title","Order by relevance"),b=hf("search-bar-sort-dropdown-item"),y(b[0],"search-bar-sort-dropdown-item-selected",!0),Z(b[0],"describedby","current-sort-label"),y(b[1],"search-bar-sort-dropdown-item-selected",!1),b[1].removeAttribute("aria-describedby"));a.o&&a.l.setAttribute("data-search-sort",a.i.j)} function Vx(a,b){a.ta?(N(C("gb-mobile-search"),b),N(C("gb-mobile-search-buttons"),b)):(y(C("entity-page-search-nav"),"hide-search-nav",!b),y(C("search-results-summ"),"hide-search-nav",!b),y(C("search-close"),"hide-search-nav",!b))}var qy,yy,Fy;function Iy(a,b,c,d){Y.call(this);var e=this;this.N=a;this.s=b;this.o=c;this.O=d;this.V=Cc&&d&&d.isOgenEligibleMobileViewport;this.g.ka(a.Xa(),"change",function(){e.update("r")})}n(Iy,Y); Iy.prototype.update=function(a,b,c){this.i?(this.i.Ea(),this.i=null):(this.N.O&&(this.l=this.N.O),this.j=new py(this.O));var d=this.N.Xa().getQuery();b&&!b.search_query_escaped&&0c.N.tb()?My(c,-20,0):c.N.qb("previous")},!1,!0),Ky(this,39,function(){c.N.O==uu&& c.N.Fa().Eb().getSize().width>c.N.tb()?My(c,20,0):c.N.qb("next")},!1,!0),Ky(this,32,function(d){d.shiftKey?Ly(c,-1):Ly(c,1)},!0,!0),Ky(this,74,function(){c.N.qb("next")},!0),Ky(this,75,function(){c.N.qb("previous")},!0),Ny(this,"+",function(){c.N.qb("zoomin")}),Ny(this,"-",function(){c.N.qb("zoomout")}),Ny(this,"=",function(){c.N.qb("zoomin")}));Ny(this,"?",function(){c.N.qb("showkeyboardshortcuts")})}function Ny(a,b,c){a.i[b]=t(Oy,c,!0,void 0)}function Ky(a,b,c,d,e){a.j[b]=t(Oy,c,d,e)} function Oy(a,b,c,d){b&&d.repeat||d.ctrlKey||d.altKey||d.metaKey||Py[d.target.tagName.toUpperCase()]||(c&&d.preventDefault(),a(d))}function Ly(a,b){var c=a.g?a.g.clientHeight:a.N.Fa().getSize().height;My(a,0,Math.floor(b*c*.75))}function My(a,b,c){a.g?a.g.scrollTop+=c:(a=a.N.Fa(),cs(a,new B(b,c),r(a.Ed,a)))}var Py={BUTTON:!0,INPUT:!0,SELECT:!0,TEXTAREA:!0};function Qy(a){this.Ic=ar(a)}n(Qy,nr);var Ry=function(a){return function(b){b=JSON.parse(b);if(!Array.isArray(b))throw Error("Expected jspb data to be an array, got "+Ta(b)+": "+b);Iq(b,34);return new a(b)}}(Qy);var Sy;function Ty(){var a=Sy||(Sy=Ry('[null,null,null,null,null,"(function(){\'use strict\';/*\\n\\n Copyright The Closure Library Authors.\\n SPDX-License-Identifier: Apache-2.0\\n*/\\nvar e\\u003dthis||self;function f(a){return a};var h;function k(a){this.g\\u003da}k.prototype.toString\\u003dfunction(){return this.g+\\"\\"};var l\\u003d{};function m(a){if(void 0\\u003d\\u003d\\u003dh){var c\\u003dnull;var b\\u003de.trustedTypes;if(b\\u0026\\u0026b.createPolicy){try{c\\u003db.createPolicy(\\"goog#html\\",{createHTML:f,createScript:f,createScriptURL:f})}catch(d){e.console\\u0026\\u0026e.console.error(d.message)}h\\u003dc}else h\\u003dc}a\\u003d(c\\u003dh)?c.createScriptURL(a):a;return new k(a,l)};/*\\n\\n SPDX-License-Identifier: Apache-2.0\\n*/\\nif(!function(){if(self.origin)return\\"null\\"\\u003d\\u003d\\u003dself.origin;if(\\"\\"!\\u003d\\u003dlocation.host)return!1;try{return window.parent.escape(\\"\\"),!1}catch(a){return!0}}())throw Error(\\"sandboxing error\\");\\nwindow.addEventListener(\\"message\\",function(a){var c\\u003da.ports[0];a\\u003da.data;var b\\u003da.callbackName.split(\\".\\"),d\\u003dwindow;\\"window\\"\\u003d\\u003d\\u003db[0]\\u0026\\u0026b.shift();for(var g\\u003d0;g\\u003cb.length-1;g++)d[b[g]]\\u003d{},d\\u003dd[b[g]];d[b[b.length-1]]\\u003dfunction(n){c.postMessage(JSON.stringify(n))};b\\u003ddocument.createElement(\\"script\\");a\\u003dm(a.url);b.src\\u003da instanceof k\\u0026\\u0026a.constructor\\u003d\\u003d\\u003dk?a.g:\\"type_error:TrustedResourceUrl\\";document.body.appendChild(b)},!0);}).call(this);\\n"]')); if(!a)return null;a=ir(a,6);a=null==a||"string"===typeof a?a:void 0;if(null===a||void 0===a)a=null;else{var b=sd();a=b?b.createScript(a):a;a=new zd(a,yd)}return a};function Uy(a){this.url=a;this.timeout=5E3;this.l="callback";this.g=this.i=null}function Vy(a){var b=void 0===b?{}:b;a.g=Cl();var c=new T(a.url),d=new Map;d.set("callback",a.l);c.j.Zp(Vk(b),d);Wy(a).then(function(){Xy(a,c.toString())}).then(function(){return a.g.promise}).then(function(){Yy(a)},function(){Yy(a)});0"),Vi("body",{},Oi(a))]);c.srcdoc=le(a);a=Ed("data:text/html;charset=UTF-8;base64,"+btoa(le(a).toString()));c.src=Bd(a).toString();c.addEventListener("load",function(){return b.resolve(c)},!1);c.addEventListener("error",function(d){b.reject(d)},!1);document.documentElement.appendChild(c);return b.promise} function Yy(a){null!==a.i&&(document.documentElement.removeChild(a.i),a.i=null)};function Zy(a){fs.call(this,a);this.i=new Uy(a);this.g=!0}n(Zy,fs);Zy.prototype.Se=function(a,b){fs.prototype.Se.call(this,a,b);this.g=!1;Vy(this.i).then(r(this.o,this,a),r(this.l,this,b))};Zy.prototype.o=function(a,b){this.g||(this.j=b,this.dispatchEvent("success"),a&&a(this.j),this.g=!0)};Zy.prototype.l=function(a){this.g||(this.dispatchEvent("error"),a&&a(),this.g=!0)};Zy.prototype.abort=function(){return this.g=!0};function $y(a,b,c,d,e){Array.isArray(a)||(a=[a]);this.g=a;this.j=b;this.i=c;b=new T((GBS_HOST||"https://books.google.com/")+"books?jscmd=viewapi");U(b,"bibkeys",a.join(","));U(b,"hl",e||"en");U(b,"source",d||"previewlib");(new Zy(b)).Se(r(this.l,this))}$y.prototype.l=function(a){for(var b=0;b":">","`":"`","\u0085":"…","\u00a0":" ","\u2028":"
","\u2029":"
"};function nz(a){return sz[a]} var mz=/[\x00\x22\x26\x27\x3c\x3e]/g,rz=/[\x00\x22\x27\x3c\x3e]/g,tz=/^(?!on|src|(?:action|archive|background|cite|classid|codebase|content|data|dsync|href|http-equiv|longdesc|style|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i,pz=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,qz=/"+kz(null!=c?c:"")+"")};function xz(a,b){this.j=a;this.s=!!b;this.l={0:this.j+"-arrowright",1:this.j+"-arrowup",2:this.j+"-arrowdown",3:this.j+"-arrowleft"}}n(xz,rs);f=xz.prototype;f.rj=function(a){this.i=a};f.setPosition=function(a,b,c,d){null!=a&&(this.tk=a);null!=b&&(this.nk=b);"number"===typeof c&&(this.yn=Math.max(c,15));"number"===typeof d&&(this.vl=d)};f.Mc=function(a,b,c){a=this.nk;2==a&&(a=0);yz(this,this.tk,a,2==this.nk?zz(this.tk)?this.g.offsetHeight/2:this.g.offsetWidth/2:this.yn,0,c)}; function yz(a,b,c,d,e,g){if(a.i){var h=Az(b,c);var k=a.i;var l=a.g,m=a.Ca,p=M(k);a:{p=(zz(b)?p.height/2:p.width/2)-d;var w=us(k,h);if(m)m=m.clone(),l&&(l=ts(l),m.left+=l.x,m.right+=l.x,m.top+=l.y,m.bottom+=l.y);else if(m=wh(k),!m){k=p;break a}k=eh(Gh(k));zz(b)?k.topm.bottom&&w&1&&(p-=k.bottom-m.bottom):k.leftm.right&&w&4&&(p-=k.right-m.right);k=p}k=zz(b)?new B(a.vl,k):new B(k,a.vl);p=zz(b)?6:9;a.lk&&2==e&&(p=zz(b)?4:1); w=b^3;zz(b)&&"rtl"==a.i.dir&&(w=b);h=ss(a.i,Az(w,c),a.g,h,k,g,a.Zk?p:0,void 0,a.Ca);if(2!=e&&h&496){yz(a,b^3,c,d,a.lk&&0==e?1:2,g);return}!a.s||h&496||(e=parseFloat(a.g.style.left),g=parseFloat(a.g.style.top),isFinite(e)&&0==e%1&&isFinite(g)&&0==g%1||qh(a.g,Math.round(e),Math.round(g)))}Bz(a,b,c,d)} function Bz(a,b,c,d){var e=a.o;dd(a.l,function(g){y(e,g,!1)},a);x(e,a.l[b]);e.style.top=e.style.left=e.style.right=e.style.bottom="";a.i?(c=Bh(a.i,a.g),d=Cz(a.i,b),zz(b)?e.style.top=Dz(c.y+d.y,a.g.offsetHeight-15)+"px":e.style.left=Dz(c.x+d.x,a.g.offsetWidth-15)+"px"):e.style[0==c?zz(b)?"top":"left":zz(b)?"bottom":"right"]=d+"px"}function Dz(a,b){return 15>b?15:Ee(a,15,b)}function Az(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 Cz(a,b){var c=0,d=0;a=M(a);switch(b){case 2:c=a.width/2;break;case 1:c=a.width/2;d=a.height;break;case 0:d=a.height/2;break;case 3:c=a.width,d=a.height/2}return new B(c,d)}function zz(a){return 0==a||3==a}f.Zk=!1;f.nk=2;f.yn=20;f.tk=3;f.Ca=null;f.vl=-5;f.lk=!1;function Ez(a){Aj.call(this);this.i=a||af()}n(Ez,Aj);Ez.prototype.o=function(){Wm(this.ha(),"tooltip");Z(this.ha(),"live","polite")};function Fz(a){Ez.call(this,a);this.g=this.i.Oa("DIV",Gz()+"-contentId");this.j=this.i.Oa("DIV",Gz()+"-arrow",this.i.Oa("DIV",Gz()+"-arrowimplbefore"),this.i.Oa("DIV",Gz()+"-arrowimplafter"));this.l=this.i.Oa("DIV",{"class":Gz(),role:"tooltip"},this.g,this.j);this.o()}n(Fz,Ez);function Gz(){return"jfk-tooltip"}Fz.prototype.ha=function(){return this.l};Fz.prototype.ua=function(){Ez.prototype.ua.call(this);this.l&&I(this.l)};function Hz(a){Fz.call(this,a)}n(Hz,Fz);Hz.prototype.o=function(){Wm(this.ha(),"tooltip")};function Iz(a){return Qe(Tb(a.replace(Jz,function(b,c){return Kz.test(c)?"":" "}).replace(/[\t\n ]+/g," ")))}var Kz=/^(?:abbr|acronym|address|b|em|i|small|strong|su[bp]|u)$/i,Jz=/<[!\/]?([a-z0-9]+)([\/ ][^>]*)?>/gi;function Lz(a){a=a||af();var b=Wa(a.g);Mz[b]||(Mz[b]=new Nz(a))}function Oz(a,b){var c=b instanceof ke?Iz(le(b).toString()):b;a.removeAttribute("title");a.removeAttribute("data-tooltip-contained");a.removeAttribute("data-tooltip");b?(b instanceof ke?a.j=b:(a.setAttribute("data-tooltip",b),a.j=null),a.setAttribute("aria-label",c)):(a.j=null,a.removeAttribute("aria-label"));Lz(af(a))}var Mz={}; function Nz(a){fk.call(this);this.ta=a;this.qa=new Cm(this.Kv,0,this);Bj(this,this.qa);var b=rf();this.V="function"===typeof b.MutationObserver?new b.MutationObserver(r(this.Vs,this)):null;a=a.g;this.ka(a,"mouseout mousedown click blur focusout keydown".split(" "),this.rs,!0);this.ka(a,["mouseover","focus","focusin"],this.vv,!0)}n(Nz,fk);f=Nz.prototype;f.ua=function(){Pz(this);fk.prototype.ua.call(this)}; function Qz(a,b){switch(b.type){case "mousedown":case "mouseover":case "mouseout":case "click":a.wa=!1;break;case "keydown":a.wa=!0}}f.vv=function(a){this.V&&this.V.disconnect();Qz(this,a);var b=a.target;a="focus"==a.type||"focusin"==a.type;var c=this.g&&If(this.g.g,b);if(this.wa||!a||c){this.Ba=a;if(a=b&&b.getAttribute&&this.V)a=b.getAttribute("role")||null,a=qb(Vm,a);a&&(this.V.observe(b,{attributes:!0}),(a=Ym(b))&&(b=a));this.l=b}else this.l=null;Rz(this)}; f.rs=function(a){Qz(this,a);var b=a.target;b=this.g&&If(this.g.g,b);if("mousedown"!=a.type&&"click"!=a.type||!b)this.l=null,Rz(this)};f.Vs=function(a){v(a,r(function(b){var c=Ym(b.target);c&&"aria-activedescendant"==b.attributeName&&(this.l=c,Rz(this))},this))};function Rz(a){if(!(a.qa.isActive()&&a.i&&a.O)){Pz(a);var b=null!=a.O?a.O:50;a.qa.start(a.i?b:300)}}function Pz(a){a.ma&&(Rl(a.ma),a.ma=0,a.i=null)} f.Kv=function(){if(!this.l)Sz(this),this.O=this.i=null;else if(!(this.i&&this.g&&If(this.g.ha(),this.l))||this.i.getAttribute("data-tooltip-unhoverable")){var a=Tf(this.l,function(k){return k.getAttribute&&(k.getAttribute("data-tooltip-contained")||k.getAttribute("data-tooltip")||k.j)&&!k.getAttribute("data-tooltip-suspended")}),b=!1;this.i&&this.i!=a&&(Sz(this),this.O=this.i=null,b=!0);if(!this.i&&a&&(this.i=a,!(a.getAttribute("data-tooltip-only-on-overflow")&&a.offsetWidth>=a.scrollWidth&&a.offsetHeight>= a.scrollHeight||this.Ba&&"mouse"==a.getAttribute("data-tooltip-trigger")))){var c=te;if(a.getAttribute("data-tooltip-contained"))for(var d=hf("jfk-tooltip-data",a),e=0;e=ch(this.Ha,this.O))}if(b){if(this.Sh(),this.Tb=null,b=this.ma)b.Tb=null}else 3==zx(this)&&this.vg();bA.oa.Hg.call(this,a)};f.Vk=function(){this.Tb!=this.ha()&&(this.Yh=!1,this.Tb=this.ha())};f.Pk=function(){return this.Yh?100:bA.oa.Pk.call(this)};function dA(a,b){a=new bA(a);a.Fl(rj.g(b.innerHTML));a.className="buy-tip-card";a.ta=new $g(5,5,5,5);a.Di=!0;a.Pg=500;a.Eh=250};function eA(a,b){this.Bb=a||200;this.rb=b||108;Y.call(this)}u(eA,Y);eA.prototype.Db=function(){return this.Bb};eA.prototype.tb=function(){return this.rb};function fA(a){xx.call(this,a,void 0,void 0);this.Pn=!1;this.Di=!0;this.Pg=500}n(fA,bA);fA.prototype.xj=function(a,b){b||(b=new Ku(a,9,!0));bA.prototype.xj.call(this,a,b)};fA.prototype.className="unified-hovercard";function gA(a,b,c){Aj.call(this);this.i=null;this.data=a;this.g=b;this.maxWidth=c||500}n(gA,Aj);gA.prototype.ua=function(){this.i&&this.i.Ea()};function hA(a){return a.i||(a.i=new fk(a))} gA.prototype.j=function(a){var b=G("DIV"),c=new T(this.data.ya.Ig||this.data.ya.cp);this.data.ya.source&&U(c,"source",this.data.ya.source);var d=this.data.hb();this.data.ya.Dp&&(d+=": "+this.data.ya.Dp);d=G("A",{},d);d.classList.add(this.g+"-title");ci(d,c.toString());b.appendChild(d);a.appendChild(b);iA(this,a);this.data.ya.Ol&&(c=new yi,b=G("DIV",this.g+"-snippet"),O(b,c.g(this.data.ya.Ol+" ")),c=G("A",{},"more \u00bb"),c.classList.add(this.g+"-more-link"),ci(c,this.data.ya.Ig),b.appendChild(c), a.appendChild(b))}; function iA(a,b){var c="",d=G("DIV"),e=a.data.ya.qk;if(!Sb(Xe(e))){c=e.split(/\s*,\s*/g);e=c.length;if(!e)return;var g=G("SPAN","author"),h=e-1,k=vf(", ");v(c,function(l,m){var p=l?l.replace(jA,""):"";p=Le(p);l=new T(Ke('/ebooks?output=ws2&as_brr=5&q=inauthor:"%s"',p));Xx(l);p=G("A",{},p);ci(p,l.toString());g.appendChild(p);m)|(<\/b>)/ig,lA={VIEW_PAGES_PARTIAL:2,VIEW_PAGES_ALL:5,VIEW_PAGES_PARTIAL_FIXED:6,VIEW_PURCHASED:7,VIEW_GOOGLE_EDITIONS_PREVIEW:8};function mA(){this.ya={}}f=mA.prototype;f.hb=function(){return this.ya.title};f.Ub=function(){return this.ya.Tl};f.Sd=function(){return this.ya.Sd};f.bl=function(){return this.ya.bl};f.Rf=function(){return this.ya.Rf};f.Hh=function(){return this.ya.Hh};function nA(){this.g=[]}f=nA.prototype;f.getId=function(){return this.ub};f.Ng=function(a){this.ub=a};f.hb=function(){return this.vc};f.Cg=function(){return this.l};function oA(a,b,c){pA(a,b)||null==a.V||!a.j?c&&c(null):qA(b,a.V.clone(),r(a.ks,a,b,c||function(){}))}function rA(a,b,c){pA(a,b)&&null!=a.ma&&a.na?qA(b,a.ma.clone(),r(a.zs,a,b,c||function(){})):c&&c(null)}function qA(a,b,c){U(b,"id",a);Wl(b,c,"POST")}f.ks=function(a,b,c){var d=null;dm(c.target)&&(d=new mA,d.ya.Tl=a,this.g.push(d));b(d)}; f.zs=function(a,b,c){var d=null;dm(c.target)&&(d=pA(this,a),sA(this,d));b(d)};function sA(a,b){ub(a.g,function(c){return c.Ub()==b.Ub()})}function pA(a,b){return ob(a.g,function(c){return c&&c.Ub()==b})};function tA(a){this.ya={};this.ya.title=a.title;this.ya.Dp=a.subtitle;this.ya.qk=a.authors;this.ya.cp=a.preview_url;this.ya.Ig=a.info_url;this.ya.kj=a.pub_date;this.ya.No=a.num_pages;this.ya.Pp=a.viewability;this.ya.Mw=a.subject;this.ya.Gp=a.thumbnail_url;this.ya.Ol=a.snippet;this.ya.yw=a.list_price;this.ya.qp=a.sale_price;this.ya.Jw=a.sale_price_better;this.ya.Iu=a.offer_price;this.ya.vk=a.buy_url;this.ya.gp=a.read_url;this.ya.Wi=a.is_free_ebook||!1;this.ya.Ui=a.in_my_ebooks||!1;this.ya.Aw=a.my_ebooks_url|| "";this.ya.Gw=a.rating_score||0;this.ya.Bw=a.num_reviews||0;this.ya.Sd=a.is_purchased||!1;this.ya.Gh=a.is_ebook||!1;this.ya.Qw=a.write_review_url||"";this.ya.Ns=a.add_to_my_ebooks_url||"";this.ya.cv=a.preview_ebook_url||"";this.ya.Iw=a.reviews_url||"";this.ya.Dj=a.view_order_url||"";this.ya.nw=a.add_to_my_ebooks_url;this.ya.js=a.add_to_my_ebooks_url_is_on_play||!1;this.ya.Si=a.has_flowing_text||!1;this.ya.Ti=a.has_scanned_text||!1;var b=Lp(a.info_url);this.ya.Tl=b;this.ya.qw=a.canonical_atb_url|| "";this.ya.bl=a.is_rentable||!1;this.ya.Tf=a.is_pre_order||!1;this.ya.Wo=a.on_sale_date||"";this.ya.Rf=a.is_pre_ordered||!1;this.ya.xw=a.issue_volume_count||0;this.ya.Hh=a.is_volume_cancelled||!1;this.ya.ms=a.cancelled_reason||"0";switch(a.rental_state){case 1:this.ya.mj=1;break;case 2:this.ya.mj=2}this.ya.mv=a.rental_end_utc||0}n(tA,mA);function uA(a){this.g=[];this.Ng(a.id);this.o=a.owner_uid;this.vc=a.title;this.l=a.description;this.ta=a.num_volumes;this.te=a.access||"0";this.Ja=a.can_modify_metadata;this.O=a.predefined;this.na=a.can_remove_volumes;this.j=a.can_add_volumes;this.qa=a.can_only_add_ebooks||!1;this.V=new T(a.add_vol_base_url);this.ma=new T(a.del_vol_base_url);void 0!==a.paused&&(this.i=a.paused,this.s=a.pause_bookshelf_url);a.volumes&&(this.g=mb(a.volumes,function(b){return new tA(b)}))}n(uA,nA);function vA(){Y.call(this);this.j=[];this.i=[]}u(vA,Y);function wA(a){var b=new T(rf().location);b=new T(b);return a===parseInt(V(b,"as_coll"),10)}function xA(a,b,c){yA(a,b.getId())||(a=b.O?a.j:a.i,c?yb(a,void 0,0,b):a.push(b))}function zA(a,b,c){var d=1==b.te;a=new T(a);U(a,"cl_title",b.hb());U(a,"cl_mode",d?"public":"private");b="cl_des="+encodeURIComponent(String(b.Cg()));Wl(a,c,"POST",b)} vA.prototype.s=function(a){a=a.target;if(dm(a)){a=new uA(fm(a));var b=yA(this,a.getId());b.vc=a.hb();b.l=a.Cg();b.te=a.te;b=new Dj("update",this);b.shelf=a;this.dispatchEvent(b)}};vA.prototype.o=function(a,b){b=b.target;dm(b)&&(b=new uA(fm(b)),xA(this,b,a),a=new Dj("add",this),a.shelf=b,this.dispatchEvent(a))};function AA(a,b){a.l=new T(b);U(a.l,"jscmd","ClCreate")}function yA(a,b){return ob(BA(a),function(c){return c.getId()==b})}function BA(a){return Db(a.j,a.i)};function CA(a,b){var c=G("A",{},"View order");ci(c,a);c.classList.add(b);return c};function DA(a,b,c){gA.call(this,a,b,c);V(new T(this.data.ya.Ig),"dapp")}n(DA,gA); DA.prototype.render=function(a){yf(a);var b=G("DIV",this.g),c=G("DIV",this.g+"-meta");this.j(c);var d=G("DIV",this.data.ya.Gh?this.g+"-footer":this.g+"-footer-nonebook"),e=G("DIV",this.g+"-footer-inner");if(this.data.ya.Gh)if(this.data.Hh()&&wA(1))EA(this,e);else if(this.data.ya.Tf&&!this.data.Sd()||this.data.Rf()){var g=G("DIV",this.g+"-pre-order-date");g.textContent="Available on: "+this.data.ya.Wo;e.appendChild(g);this.data.Rf()&&wA(1)&&EA(this,e)}else if(this.data.Sd()&&wA(1))FA(this,e),EA(this, e);else{FA(this,e);g=!this.data.Sd()&&!this.data.ya.Wi;var h=this.data.ya.Wi&&!this.data.ya.Ui;if(g||h){g=G("SPAN",{"class":this.g+"-footer-inner-right"});if(h=this.data.ya.cv||this.data.ya.gp){for(var k=h.search(Bk),l=0,m,p=[];0<=(m=Ak(h,l,"source",k));)p.push(h.substring(l,m)),l=Math.min(h.indexOf("&",m)+1||k,k);p.push(h.slice(l));h=p.join("").replace(Dk,"$1");h=zk(h,"source","ebookstore")}h&&(k=G("A",{id:"unified-hovercard-preview-link"},"preview it"),ci(k,h),g.appendChild(k));e.appendChild(g)}}d.appendChild(e); b.appendChild(c);b.appendChild(d);a.appendChild(b);M(a).width>this.maxWidth&&L(a,this.maxWidth,"")}; DA.prototype.j=function(a){if(!(this.data.Sd()||this.data.Rf()||this.data.Hh())&&this.data.ya.Dj&&wA(1)){var b=G("IMG",{src:"/googlebooks/images/purchase_error.gif","class":this.g+"-error-icon"});b=G("DIV",this.g+"-card-error",b,"Credit card declined:");if(this.data.ya.Dj){var c=CA(this.data.ya.Dj,"primary"),d=G("SPAN");d.innerText=" ";b.appendChild(d);b.appendChild(c)}a.appendChild(b)}gA.prototype.j.call(this,a);b=G("DIV",this.g+"-book-options");this.data.ya.Gh?(this.data.ya.Wi?this.data.ya.Ui? GA(this,b):kA(this,b,"Read eBook",this.data.ya.Ns,!this.data.ya.js,void 0,"unified-hovercard-free-btn"):this.data.Rf()?(c=G("SPAN",this.g+"-pre-ordered","Pre-ordered"),b.appendChild(c)):this.data.Hh()&&wA(1)?(c=G("DIV",this.g+"-cancelled"),d=this.data.ya.ms,0==d?J(c,"Cancelled - by customer request"):1==d?J(c,"Cancelled - problem with eBook"):2==d?J(c,"Cancelled - price change"):3==d?J(c,"Cancelled - publisher cancellation"):J(c,"Cancelled"),b.appendChild(c)):this.data.Sd()||this.data.ya.Ui?!this.data.Sd()&& this.data.ya.Ui?HA(this,b):this.data.Sd()&&GA(this,b):HA(this,b),wA(7)&&(c=G("SPAN",this.g+"-offline-remove-options"),d=G("SPAN",{id:"unified-hovercard-remove-from-ebooks","class":this.g+"-fake-link"},"Remove from My eBooks"),d.id="hovercard-remove-from-my-ebooks",c.appendChild(d),b.appendChild(c))):(c=this.data.ya.cp,hd(lA,this.data.ya.Pp)&&!Sb(c)?kA(this,b,"Preview",c,void 0,void 0,"unified-hovercard-preview-sample"):kA(this,b,"Preview",c,!1,!0,"unified-hovercard-preview-sample"));a.appendChild(b)}; function EA(a,b){var c=G("DIV",{id:"unified-hovercard-purchased-shelf-links","class":a.g+"-order-links-container"}),d=a.data.ya.Dj;d&&(d=CA(d,""),c.appendChild(d));a.data.Rf()||(d=G("DIV",{id:"unified-hovercard-delete-forever","class":a.g+"-footer-fake-link"},"Delete forever"),x(d,a.g+"-footer-action-link"),d.id="hovercard-delete-forever",c.appendChild(d));b.appendChild(c)} function HA(a,b){a.data.ya.Tf&&!a.data.Sd()?kA(a,b,"Pre-order eBook - "+a.data.ya.qp,a.data.ya.vk,void 0,void 0,"unified-hovercard-buy-btn"):a.data.bl()?kA(a,b,"EBOOK FROM "+a.data.ya.Iu,a.data.ya.vk,void 0,void 0,"unified-hovercard-buy-btn"):kA(a,b,"Buy eBook - "+a.data.ya.qp,a.data.ya.vk,void 0,void 0,"unified-hovercard-buy-btn")}function GA(a,b){kA(a,b,"Read now",a.data.ya.gp,void 0,void 0,"unified-hovercard-read-now")} function FA(a,b){var c=G("DIV",a.g+"-supported-devices"),d=a.g+"-device-type",e=a.g+"-device-supported",g=a.g+"-device-not-supported",h=G("SPAN",d,"Web"),k=G("SPAN",d,"Tablet / iPad"),l=G("SPAN",d,"eReader");d=G("SPAN",d,"Smartphone");var m=G("SPAN","goog-inline-block"),p=G("SPAN","goog-inline-block"),w=G("SPAN","goog-inline-block"),D=G("SPAN","goog-inline-block");a.data.ya.Si?(x(m,e),x(p,e),x(w,e),x(D,e)):(a.data.ya.Ti?(x(m,e),x(p,e)):(x(m,g),x(p,g)),x(w,g),x(D,g));c.appendChild(m);c.appendChild(h); c.appendChild(p);c.appendChild(k);c.appendChild(w);c.appendChild(l);c.appendChild(D);c.appendChild(d);b.appendChild(c)};function IA(a,b,c){fA.call(this,a);this.Kb=vm();this.j=this.wa=this.o=null;this.Hb=b;this.i=null;this.Lb=!!c;this.render(b);JA(this)}n(IA,fA);IA.prototype.ua=function(){hA(this.i).Ea();I(this.ha())};IA.prototype.Jh=function(a,b){fA.prototype.Jh.call(this,a,b);this.isVisible()&&(this.nl=this.Kb?new $g(0,-2,0,0):new $g(0,0,0,-2),this.isVisible()&&this.fg(),this.o=this.g,KA(this))}; IA.prototype.render=function(a){this.i&&(this.i.Ea(),this.j=this.wa=null);this.i=new DA(a,this.className,435,this.Lb);this.i.render(this.ha());JA(this);this.isVisible()&&KA(this)}; function KA(a){var b=G("DIV"),c=G("DIV");var d=Gh(a.o||null);var e=Gh(a.ha());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=hh(e,d);h||(h=new dh(d.left,0,d.width,0));d=a.Kb?e.left+e.width-h.left-(h.width/2+12):h.left-e.left+(h.width/2-12);e={x:0=a?"Expiring soon":48>=a?a+" hours":c+" days"):a="",this.l=G("SPAN",["bookcard-badge","bookcard-sample-label"],a),b.appendChild(this.l)):!this.o||this.i.Sd()||this.i.ya.Wi||(this.l=G("SPAN",["bookcard-badge","bookcard-sample-label"], "Sample"),b.appendChild(this.l));Uj(b,"mouseover",this.na.bind(this,b))};LA.prototype.ma=function(){this.dispatchEvent("render");MA.dispatchEvent("complete");this.l&&Fh(this.l,M(this.j).width)};LA.prototype.na=function(a,b){(new IA(a,this.i)).Ee(b)};function NA(a,b,c){LA.call(this,a,b-40,c);this.s=G("DIV","slider-annotation");this.O=!1}n(NA,LA);NA.prototype.Oc=function(a){Uj(this,"render",r(this.qa,this));LA.prototype.Oc.call(this,a);a.appendChild(this.s)};NA.prototype.qa=function(a){if(!this.O){a.stopPropagation();a=this.s;var b=this.V();a.appendChild(b);this.O=!0;this.dispatchEvent("render")}};function OA(a,b,c){NA.call(this,a,b,c)}n(OA,NA);OA.prototype.Oc=function(a){NA.prototype.Oc.call(this,a)};OA.prototype.V=function(){var a=this.i,b=H("DIV"),c=G("A",{className:"slider-annotation-title"},vf(a.hb()));ci(c,a.ya.Ig);b.appendChild(c);if(a=a.ya.qk)a=G("DIV","slider-annotation-author",vf(a)),b.appendChild(a);L(b,M(this.j).width+5,"");return b};function PA(){this.g=QA;this.ag=5E3}var RA=0;PA.prototype.send=function(a,b,c,d){a=a?md(a):{};d=d||"_"+(RA++).toString(36)+Date.now().toString(36);var e="_callbacks___"+d;b&&(q[e]=SA(d,b),a.callback=e);b={timeout:this.ag,ps:!0};e=Cd.exec(Bd(this.g).toString());var g=e[3]||"";e=Ed(e[1]+Fd("?",e[2]||"",a)+Fd("#",g));b=Yo(e,b);To(b,null,TA(d,a,c));return{ub:d,Hn:b}};PA.prototype.cancel=function(a){a&&(a.Hn&&a.Hn.cancel(),a.ub&&UA(a.ub,!1))};function TA(a,b,c){return function(){UA(a,!1);c&&c(b)}} function SA(a,b){return function(c){UA(a,!0);b.apply(void 0,arguments)}}function UA(a,b){a="_callbacks___"+a;if(q[a])if(b)try{delete q[a]}catch(c){q[a]=void 0}else q[a]=$c};function VA(a,b,c){S.call(this);this.V=a;this.na=c;this.j=b;R(b,["hilite","select","canceldismiss","dismiss"],this.handleEvent,!1,this);this.s=null;this.i=[];this.l=-1;this.g=0;this.o=this.O=null;this.ta={}}u(VA,S);f=VA.prototype;f.Qj=!0;f.mk=!1;f.wd=function(){return this.j}; f.handleEvent=function(a){var b=this.V;if(a.target==this.j)switch(a.type){case "hilite":this.Fe(a.xf);break;case "select":var c=!1;if("number"===typeof a.xf){a=a.xf;var d=this.i[WA(this,a)];c=!!d&&b.dl&&b.dl(d);d&&!c&&this.l!=a&&this.Fe(a)}c||this.Vf();break;case "canceldismiss":XA(this);break;case "dismiss":YA(this)}};f.md=function(){return this.j.isVisible()}; function ZA(a){for(var b=a.g+a.i.length-1,c=a.l,d=0;d=a.g&&cb||b>=a.i.length?-1:b}f.update=function(a){this.na.update(a)};function aB(a){var b=0,c=0;cB(a)&&(b=a.selectionStart,c=-1);return[b,c]}function cB(a){try{return"number"==typeof a.selectionStart}catch(b){return!1}};function dB(a,b,c,d){Aj.call(this);d=d||150;this.j=null!=c?c:!0;this.o=a||",;";this.qa=this.o.charAt(0);a=this.j?"[\\s"+this.o+"]+":"[\\s]+";this.na=new RegExp("^"+a+"|"+a+"$","g");this.ma=new RegExp("\\s*["+this.o+"]$");this.O=b||"";this.ta=this.j;this.Sa=0b.g)c--;else{b.mk&&c==b.g&&b.Fe(-1);break}if(b.Fe(c))break a}a.preventDefault();return!0}break;case 9:if(!this.g.md()||a.shiftKey)this.g.ye();else if(this.update(),this.g.Vf()&&this.ta)return a.preventDefault(),!0;break;case 13:if(this.g.md()){if(this.update(),this.g.Vf())return a.preventDefault(), a.stopPropagation(),!0}else this.g.ye();break;case 27:if(this.g.md())return this.g.ye(),a.preventDefault(),a.stopPropagation(),!0;break;case 229:if(!this.Af)return this.Af||(this.i.ka(this.Mb,"keyup",this.So),this.i.ka(this.Mb,"keypress",this.Ro),this.Af=!0),!0}return gB(this,a)};function gB(a,b){var c=a.j&&b.charCode&&-1!=a.o.indexOf(String.fromCharCode(b.charCode));c&&a.update();return c&&a.g.Vf()?(b.preventDefault(),!0):!1}f.wt=function(){return!1};f.vm=function(a){fB(this,a.target||null)}; function fB(a,b){kk(a.s);a.g&&XA(a.g);b!=a.Mb&&(a.Mb=b,a.Sa&&(a.Sa.start(),a.i.ka(a.Sa,"tick",a.xm)),a.kl=a.yb(),a.l.attach(a.Mb),a.i.ka(a.l,"key",a.wm),a.i.ka(a.Mb,"mousedown",a.To),A&&a.i.ka(a.Mb,"keypress",a.Qo))}f.Hq=function(){this.Mb&&(this.i.Ta(this.l,"key",this.wm),Jt(this.l),this.i.Ta(this.Mb,"keyup",this.wt),this.i.Ta(this.Mb,"mousedown",this.To),A&&this.i.Ta(this.Mb,"keypress",this.Qo),this.Af&&hB(this),this.Mb=null,this.Sa&&(this.Sa.stop(),this.i.Ta(this.Sa,"tick",this.xm)),this.g&&YA(this.g))}; f.xm=function(){this.update()};f.Ru=function(a){this.vm(a)};f.wm=function(a){this.V=a.keyCode;this.g&&this.Pc(a)};f.Ro=function(){this.Af&&229!=this.V&&hB(this)};f.So=function(a){this.Af&&(13==a.keyCode||77==a.keyCode&&a.ctrlKey)&&hB(this)};f.To=function(){};function hB(a){a.Af&&(a.Af=!1,a.i.Ta(a.Mb,"keypress",a.Ro),a.i.Ta(a.Mb,"keyup",a.So))}f.Qo=function(a){gB(this,a)}; f.update=function(a){if(this.Mb&&(a||this.yb()!=this.kl)){if(a||!this.Bl){a=aB(this.Mb)[0];var b=this.yb();a=bB(this,b)[$A(this,b,a)];a=this.na?String(a).replace(this.na,""):a;this.g&&(this.g.O=this.Mb,b=this.g,this.yb(),b.s!=a&&(b.s=a,b.V.kp(b.s,10,r(b.zu,b)),XA(b)))}this.kl=this.yb()}this.Bl=!1};function $A(a,b,c){a=bB(a,b);if(c==b.length)return a.length-1;for(var d=b=0,e=0;dd;d++)e=2*d,b.nodeValue=c[e],g=Vf(a.g,"B"),g.className=a.Ha,a.g.appendChild(g,a.g.g.createTextNode(String(c[e+1]))),g=b.parentNode.insertBefore(g, b.nextSibling),b.parentNode.insertBefore(a.g.g.createTextNode(""),g.nextSibling),b=g.nextSibling;b.nodeValue=c.slice(2).join("");a.wa=!0}else d&&nB(a,b,d)}}else for(b=b.firstChild;b;)d=b.nextSibling,nB(a,b,c),b=d}function oB(a){var b="";if(!a)return b;Array.isArray(a)&&(a=a.filter(function(c){return!Sb(Xe(c))}));Array.isArray(a)?b=0bb()-this.ta)&&this.dispatchEvent({type:"hilite",xf:this.i[a].id})};var qB=ka(["//suggestqueries.google.com/complete/search"]);function rB(a,b,c,d){this.qa=a;this.ma=null;this.Ha=c||null;this.Ba="boolean"===typeof b?b:!0;this.wa=d||0;b=new sB;c=new tB(this.Ha||a,this.wa);c.qa=!0;d=new dB(null,null,!1);VA.call(this,b,c,d);d.g=this;d.Gq(a);this.O=a;this.Qj=!1;this.mk=!0;R(this,"update",r(this.Ga,this))}u(rB,VA);rB.prototype.Vf=function(){this.Ia=this.qa.value;rB.oa.Vf.call(this);return!1}; rB.prototype.Ga=function(a){a.xf&&(a=this.qa.form,this.ma||(this.ma=G("INPUT",{type:"hidden",name:"oq"}),a.appendChild(this.ma)),this.ma.value=this.Ia,this.Ba&&a.submit())};function sB(){}var QA=sj(qB);sB.prototype.kp=function(a,b,c){a={client:"books",ds:"bo",q:a};c=r(this.g,this,c);this.i&&this.i.cancel();this.i=new PA;this.i.send(a,c)};sB.prototype.g=function(a,b){var c=Array.prototype.map.call(b[1],function(d){return d[0]});a(b[0],c)};function tB(a,b){iB.call(this);this.Ga=a;this.Ia=b||0} u(tB,iB);tB.prototype.Rj=function(){tB.oa.Rj.call(this);var a=0,b=C("gbfwa");b||(b=jf("gbqfwa"));b&&(a=b.offsetTop+b.offsetHeight-1);Array.prototype.forEach.call(ff("div","ac-renderer"),function(c){a&&K(c,"top",a+"px");K(c,"width",M(this.Ga).width-2+"px");K(c,"left",parseInt(c.style.left,10)+this.Ia+"px")},this)};function uB(a,b,c,d,e){Y.call(this);this.O=a;this.s=b;this.qa=e;this.Bb="number"===typeof d?d:this.s?200:80;this.s||x(this.O,"slider-small");this.V=[];this.j=H("A");this.j.textContent=vm()?"\u203a":"\u2039";this.j.setAttribute("title","Scroll left");Lh(this.j,!0);this.O.appendChild(this.j);this.i=H("div");x(this.i,"slider-drawables");this.O.appendChild(this.i);this.o=H("A");this.o.textContent=vm()?"\u2039":"\u203a";this.o.setAttribute("title","Scroll right");Lh(this.o,!0);this.O.appendChild(this.o); this.g.ka(this.j,"click",this.ul.bind(this,-.75));this.g.ka(this.o,"click",this.ul.bind(this,.75));this.Zh();this.g.ka(this.j,"click",this.ul.bind(this,-.75));this.resize();this.ma=0;this.na=8<=oc()&&!Sc("9")&&vm();c&&vB(this,c)}u(uB,Y);function wB(a){var b=Math.ceil(1.25*xB(a));b=Math.min(a.V.length,a.ma+b);v(a.V.slice(a.ma,b),r(a.Es,a));a.Zh();a.ma=b;b>=a.V.length&&a.dispatchEvent("render")}f=uB.prototype; f.Es=function(a){var b=G("DIV",{"class":"goog-inline-block slider-loading"});this.i.appendChild(b);var c=G("DIV",{"class":"goog-inline-block slider-drawable"});N(c,!1);this.i.appendChild(c);this.g.qf(a,"render",this.Gs.bind(this,b,c));a.Oc(c)};f.Gs=function(a,b){I(a);this.Zh();N(b,!0)};function vB(a,b){b=b.map(function(c){return this.s?new OA(c,this.Bb):new LA(c,this.Bb,this.qa)},a);yB(a,b)}function yB(a,b){xb(a.V,b);wB(a)} f.ul=function(a){(vm()?0>a:0=this.i.scrollWidth-M(this.i).width;this.j.className=a?"slider-button slider-button-left slider-button-disabled":"slider-button slider-button-left";this.o.className=b?"slider-button slider-button-right slider-button-disabled":"slider-button slider-button-right"};f.resize=function(){this.Zh()}; function xB(a){var b=a.s?110:50;return Math.ceil(M(a.i).width/b)};function zB(a,b,c){Y.call(this);this.i=a;this.source=b?b:"gbs_bookshelf_slider";this.V=0;this.o=new mk;this.qa=this.o.getSize();this.ma="";this.ta="boolean"===typeof c?!c:!1;Uj(this.o,"resize",r(this.Bm,this))}n(zB,Y);f=zB.prototype;f.Bm=function(){this.o.getSize().width>this.qa.width?this.mh():Uj(this.o,"resize",r(this.Bm,this))};f.render=function(a){this.s=a;this.j=this.Qk(a);this.g.ka(this.j,"render",r(this.mh,this))};f.Qk=function(){return new uB(this.s,!0,void 0,void 0,this.i.getId())}; f.mh=function(){this.j.resize();var a=Math.ceil(1.25*xB(this.j))+1,b=this.df(this.V,a);b&&(this.V+=a,Wl(b,r(this.Wt,this)))};f.Ag=ba(18);f.Wt=function(a){a=a.target;if(dm(a)){if((a=(new uA(fm(a))).g)&&a.length){var b=Lp(a[a.length-1].ya.Ig);this.ma!=b&&(this.ma=b,yB(this.j,AB(this,a)));(a=Sf(this.ha()))&&Hh(a,1)}else 0==this.j.ma&&this.jp();this.dispatchEvent("success")}};function AB(a,b){return a.Bk(b).map(function(c){return this.j.s?new OA(c,200,this.i.getId()):new LA(c,80,this.i.getId())},a)} f.jp=function(){};f.ha=function(){return this.s};f.Bk=function(a){return this.source?a.map(function(b){b.ya.source=this.source;return b},this):a};function BB(a,b,c){cy.call(this,a,b,c);this.Ph(!0)}u(BB,cy);Zt("goog-checkbox-menuitem",function(){return new BB(null)});function CB(a){BB.call(this,Qe(a.hb()),a.getId());this.i=a}n(CB,BB);CB.prototype.Nb=function(a){BB.prototype.Nb.call(this,a);if(this.i.te){var b=(a=1==this.i.te)?"Public bookshelf":"Private bookshelf";a=G("IMG",{src:"/googlebooks/images/sharing_"+(a?"public":"private")+".gif",alt:b,title:b,style:"padding-top:2px;padding-left:8px;float:"+(vm()?"left":"right")});a=G("DIV","goog-menuitem-accel",a,vf(String(this.i.ta)));Bf(this.Ib(),a,1)}};function DB(a,b,c){c=void 0===c?!1:c;my.call(this);this.j=a;this.o=b;this.V=c}n(DB,my);f=DB.prototype;f.Qa=function(){my.prototype.Qa.call(this);BA(this.o).forEach(this.gs,this)};f.Ka=function(){my.prototype.Ka.call(this);this.ha().style.maxHeight="200px";this.ha().style.overflowY="scroll";var a=An(this);a.ka(this.ha(),"mouseout",this.Jq);a.ka(this.ha(),"scroll",this.Kq)};f.Jq=function(a){If(this.ha(),a.relatedTarget)||this.Aa(!1)}; f.tt=function(a){var b=a.target,c=b.i,d=this.j.Ub();Tt(b,16)?oA(c,d):rA(c,d);this.dispatchEvent("g");a.stopPropagation()};f.Kq=function(a){a.stopPropagation()};f.gs=function(a){var b=!Sb(Xe(a.hb())),c=a.j&&(!a.qa||this.j.ma),d=!!pA(a,this.j.Ub());b&&(c||d)&&(b=new CB(a),b.Xf(d),b.lb(this.o.ll!=a.getId()||this.V),this.Za(b,!0),An(this).ka(b,"action",this.tt))};function EB(a){var b=[];En(a,function(c){c instanceof CB&&Tt(c,16)&&b.push(c.i)});return b};function FB(a,b,c){Wz.call(this,null,null,c?5:0);this.i=new DB(a,b);this.i.he(this);Bj(this,this.i);this.o=new Image(16,16);this.o.src="/googlebooks/images/my_library_logo.png";this.Vb(64,!0)}n(FB,Wz);f=FB.prototype;f.Qa=function(){Wz.prototype.Qa.call(this);x(this.ha(),"add-to-library")}; function GB(a){a.i.Va||a.i.render();var b=EB(a.i);switch(b.length){case 0:var c="Add to my library";break;case 1:c="Added to "+b[0].hb();break;default:c="Added to "+b.length+" shelves"}0l.endOffset)l={startOffset:e.startOffset, Qg:e.Qg,endOffset:l.endOffset,lh:l.lh};e=hb(d)}d.push(l);e=l}k.i&&tb(g,h)}}function $B(a,b){this.startOffset=a;this.Qg=void 0;this.endOffset=a;this.lh=void 0;this.i=!1;this.g=b};function aC(a,b){var c=void 0;c=void 0===c?Infinity:c;b=new YB(b);c=void 0===c?Infinity:c;var d=void 0===d?[]:d;var e=" ",g,h=UB(a);for(g=0;g=c&&(d.length=c);return d};function bC(a){var b=VB(a);a=cC();Array.prototype.forEach.call(a,function(c){dC(b,c)})}function cC(){var a=[],b=wb(hf("patent-text")),c=jf("patent-title");for(c&&b.push(c);c=b.pop();)3==c.nodeType?a.push(c):xb(b,c.childNodes);return a} function dC(a,b){var c=Rf(b);a=aC(c,a);if(a.length){var d=[],e=0;a.forEach(function(g){d.push(c.substring(e,g.startOffset),Vi("span",{"class":"patent-text-highlight"},c.substring(g.startOffset,g.endOffset)));e=g.endOffset});d.push(c.substring(e));a=H("span");O(a,Pi(d));Cf(a,b)}};function eC(){cy.call(this,"Turn off highlighting");var a=Ck("dq")||Ck("q");a&&bC(a);this.Pb=!0}n(eC,cy);eC.prototype.Ka=function(){cy.prototype.Ka.call(this);An(this).ka(this,"action",this.i)};eC.prototype.i=function(){this.Pb=!this.Pb;y(window.document.body,"patent-highlight-disabled",!this.Pb);fu(this,this.Pb?"Turn off highlighting":"Turn on highlighting")};function fC(){}u(fC,gy);Sa(fC);fC.prototype.Nc=function(a){return a.g.Oa("DIV",Nt(this,a).join(" ")+" goog-inline-block","\u00a0")};fC.prototype.Rb=function(a,b){b=fC.oa.Rb.call(this,a,b);x(b,"goog-inline-block");return b};fC.prototype.Ra=function(){return"goog-toolbar-separator"};function gC(){}u(gC,Vt);Sa(gC);f=gC.prototype;f.Nc=function(a){var b=Nt(this,a);b=a.g.Oa("DIV","goog-inline-block "+b.join(" "),this.Ci(a.Dc(),a.g));this.yf(b,a.hf());return b};f.lg=function(){return"button"};f.Fc=function(a){return a&&a.firstChild&&a.firstChild.firstChild};f.Ci=function(a,b){return b.Oa("DIV","goog-inline-block "+(this.Ra()+"-outer-box"),b.Oa("DIV","goog-inline-block "+(this.Ra()+"-inner-box"),a))};f.ki=function(a){return"DIV"==a.tagName}; f.Rb=function(a,b){hC(b,!0);hC(b,!1);a:{var c=a.g.Wn(b);var d=this.Ra()+"-outer-box";if(c&&Jb(c,d)&&(c=a.g.Wn(c),d=this.Ra()+"-inner-box",c&&Jb(c,d))){c=!0;break a}c=!1}c||b.appendChild(this.Ci(b.childNodes,a.g));Kb(b,["goog-inline-block",this.Ra()]);return gC.oa.Rb.call(this,a,b)};f.Ra=function(){return"goog-custom-button"}; function hC(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(""==Tb(e))a.removeChild(c);else{c.nodeValue=b?e.replace(/^[\s\xa0]+/,""):e.replace(/[\s\xa0]+$/,"");break}}else break;c=d}};function iC(){}u(iC,gC);Sa(iC);iC.prototype.Ra=function(){return"goog-toolbar-button"};function jC(){this.g="toolbar"}u(jC,kw);Sa(jC);jC.prototype.th=function(a){return"HR"==a.tagName?new hy(fC.Jb()):jC.oa.th.call(this,a)};jC.prototype.og=function(){return"goog-toolbar"};jC.prototype.Vn=function(){return"horizontal"};function kC(a){jC.call(this);this.i=a}u(kC,jC);var lC={};kC.prototype.og=function(){return this.i||"ocean-chrome-toolbar"};function mC(a){S.call(this);this.g=[];nC(this,a)}u(mC,S);f=mC.prototype;f.Wf=null;f.Sj=null;function oC(a,b){a.Sj=b}function nC(a,b){b&&(b.forEach(function(c){pC(this,c,!1)},a),xb(a.g,b))}f.Pa=function(a){this.Ye(a,this.g.length)};f.Ye=function(a,b){a&&(pC(this,a,!1),yb(this.g,b,0,a))};f.Ld=function(){return wb(this.g)};f.Ne=function(a){a!=this.Wf&&(pC(this,this.Wf,!1),this.Wf=a,pC(this,a,!0));this.dispatchEvent("select")}; f.clear=function(){var a=this.g;if(!Array.isArray(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0;this.Wf=null};f.ua=function(){mC.oa.ua.call(this);delete this.g;this.Wf=null};function pC(a,b,c){b&&("function"==typeof a.Sj?a.Sj(b,c):"function"==typeof b.Gl&&b.Gl(c))};function qC(a,b,c){pw.call(this,b,a||jC.Jb(),c)}u(qC,pw);qC.prototype.ui=function(a){qC.oa.ui.call(this,a);this.ee||uw(this)};function rC(a,b,c){ou.call(this,a,b||iC.Jb(),c)}u(rC,ou);Zt("goog-toolbar-button",function(){return new rC(null)});function sC(a,b){hy.call(this,a||fC.Jb(),b)}u(sC,hy);Zt("goog-toolbar-separator",function(){return new sC});function tC(a){a=a||"viewport-chrome-toolbar";a=lC[a]||(lC[a]=new kC(a));qC.call(this,a);this.wa={};this.l=new fk(this)}n(tC,qC);function uC(a,b,c,d){b.Vb(16,!0);if(c){var e=a.wa[c];e||(e=new mC,oC(e,function(g,h){g&&g.Xf(h)}),a.wa[c]=e);e.Pa(b);b.Gf&=-17;R(b,"action",function(g){e.Ne(g.target)});d&&e.Ne(b)}else b.Vc(16,!!d)}function vC(a,b){a.wa.viewport&&a.wa.viewport.Ne(b)}tC.prototype.ua=function(){qC.prototype.ua.call(this);this.l.Ea();dd(this.wa,function(a){a.Ea()})};function xC(){}u(xC,Vt);Sa(xC);f=xC.prototype;f.Nc=function(a){var b=Nt(this,a);b=a.g.Oa("DIV","goog-inline-block "+b.join(" "),a.Dc());this.yf(b,a.hf());return b};f.lg=function(){return"button"};f.ki=function(a){return"DIV"==a.tagName};f.Rb=function(a,b){x(b,"goog-inline-block");return xC.oa.Rb.call(this,a,b)};f.yb=function(){return""};f.Ra=function(){return"goog-flat-button"};Zt("goog-flat-button",function(){return new ou(null,xC.Jb())});function yC(){}u(yC,gC);Sa(yC);yC.prototype.Fc=function(a){return yC.oa.Fc.call(this,a&&a.firstChild)};yC.prototype.Rb=function(a,b){var c=ff("*","goog-menu",b)[0];if(c){N(c,!1);cf(c).body.appendChild(c);var d=new ky;Dn(d,c);a.Me(d)}return yC.oa.Rb.call(this,a,b)};yC.prototype.Ci=function(a,b){return yC.oa.Ci.call(this,[b.Oa("DIV","goog-inline-block "+(this.Ra()+"-caption"),a),b.Oa("DIV","goog-inline-block "+(this.Ra()+"-dropdown"),"\u00a0")],b)};yC.prototype.Ra=function(){return"goog-menu-button"};function zC(){this.g=[]}u(zC,Yx);Sa(zC);zC.prototype.Nc=function(a){var b=zC.oa.Nc.call(this,a);x(b,"goog-submenu");AC(this,a,b);return b};zC.prototype.Rb=function(a,b){b=zC.oa.Rb.call(this,a,b);x(b,"goog-submenu");AC(this,a,b);var c=ff("DIV","goog-menu",b);if(c.length){var d=new ky(a.g);c=c[0];N(c,!1);a.g.g.body.appendChild(c);Dn(d,c);a.Me(d,!0)}return b};zC.prototype.mg=function(a,b){var c=this.Fc(a),d=c&&c.lastChild;zC.oa.mg.call(this,a,b);d&&c.lastChild!=d&&Jb(d,"goog-submenu-arrow")&&c.appendChild(d)}; zC.prototype.li=function(a){zC.oa.li.call(this,a);var b=a.Ib(),c=gf(a.g.g,"SPAN","goog-submenu-arrow",b)[0];BC(a,c);c!=b.lastChild&&b.appendChild(c);a=a.ha();Z(a,"haspopup","true")};function AC(a,b,c){var d=b.g.Oa("SPAN");d.className="goog-submenu-arrow";BC(b,d);a.Fc(c).appendChild(d)}function BC(a,b){Hn(a)?(x(b,"goog-submenu-arrow-rtl"),J(b,"\u25c4")):(Lb(b,"goog-submenu-arrow-rtl"),J(b,"\u25ba"))};function CC(a,b,c,d){cy.call(this,a,b,c,d||zC.Jb())}u(CC,cy);f=CC.prototype;f.ah=null;f.Nl=null;f.ol=!1;f.nc=null;f.Fi=!1;f.Ka=function(){CC.oa.Ka.call(this);An(this).ka(this.getParent(),"hide",this.Uo);this.nc&&DC(this,this.nc,!0)};f.jc=function(){An(this).Ta(this.getParent(),"hide",this.Uo);this.nc&&(DC(this,this.nc,!1),this.Fi||(this.nc.jc(),I(this.nc.ha())));CC.oa.jc.call(this)};f.ua=function(){this.nc&&!this.Fi&&this.nc.Ea();this.nc=null;CC.oa.ua.call(this)}; f.Sc=function(a){CC.oa.Sc.call(this,a);a||(this.ah&&Rl(this.ah),this.ah=W(this.ze,218,this))};f.Ml=function(){var a=this.getParent();a&&tw(a)==this&&(EC(this,!0),FC(this))};f.ze=function(){var a=this.nc;a&&a.getParent()==this&&(EC(this,!1),En(a,function(b){"function"==typeof b.ze&&b.ze()}))};function GC(a){a.ah&&Rl(a.ah);a.Nl&&Rl(a.Nl)}f.Aa=function(a,b){(a=CC.oa.Aa.call(this,a,b))&&!this.isVisible()&&this.ze();return a}; function FC(a){En(a.getParent(),function(b){b!=this&&"function"==typeof b.ze&&(b.ze(),GC(b))},a)}f.Pc=function(a){var b=a.keyCode,c=Hn(this)?37:39,d=Hn(this)?39:37;if(!this.ol){if(!this.isEnabled()||b!=c&&13!=b&&b!=this.rl)return!1;this.Ml();uw(HC(this));GC(this)}else if(!HC(this).Pc(a))if(b==d)this.ze();else return!1;a.preventDefault();return!0};f.Lu=function(){this.nc.getParent()==this&&(GC(this),this.Gg().Sc(this),FC(this))};f.Uo=function(a){a.target==this.Gg()&&(this.ze(),GC(this))}; f.Ee=function(a){this.isEnabled()&&(GC(this),this.Nl=W(this.Ml,218,this));CC.oa.Ee.call(this,a)};f.vf=function(a){GC(this);if(St(this,8)||St(this,16))return CC.oa.vf.call(this,a);this.Ml();return!0}; function EC(a,b){!b&&HC(a)&&HC(a).Td(-1);a.dispatchEvent(zn(64,b));var c=HC(a);b!=a.ol&&y(a.ha(),"goog-submenu-open",b);if(b!=c.isVisible()&&(b&&(c.Va||c.render(),c.Td(-1)),c.Aa(b),b)){c=new Ku(a.ha(),12,!1);var d=HC(a),e=d.ha();d.isVisible()||(e.style.visibility="hidden",N(e,!0));c.Mc(e,8);d.isVisible()||(N(e,!1),e.style.visibility="visible")}a.ol=b}function DC(a,b,c){var d=An(a);(c?d.ka:d.Ta).call(d,b,"enter",a.Lu)}f.Pa=function(a){HC(this).Za(a,!0)};f.Ye=function(a,b){HC(this).tg(a,b,!0)}; f.Ld=function(){return HC(this).Ld()};function HC(a){a.nc?a.Fi&&a.nc.getParent()!=a&&a.nc.he(a):a.Me(new ky(a.g),!0);a.nc.ha()||a.nc.Qa();return a.nc}f.Me=function(a,b){var c=this.nc;a!=c&&(c&&(this.ze(),this.Va&&DC(this,c,!1)),this.nc=a,this.Fi=!b,a&&(a.he(this),a.Aa(!1,!0),ly(a,!1),yw(a,!1),this.Va&&DC(this,a,!0)))};f.Vd=function(a){return HC(this).Vd(a)};Zt("goog-submenu",function(){return new CC(null)});function IC(a,b,c,d,e){ou.call(this,a,c||yC.Jb(),d);this.Vb(64,!0);this.o=new dy(null,9);b&&this.Me(b);this.Sa=new Pl(500);this.Ya=e||iy.Jb()}u(IC,ou);f=IC.prototype;f.Ka=function(){IC.oa.Ka.call(this);JC(this,!0);this.i&&KC(this,this.i,!0);Z(this.va,"haspopup",!!this.i)};f.jc=function(){IC.oa.jc.call(this);JC(this,!1);if(this.i){this.Qb(!1);this.i.jc();KC(this,this.i,!1);var a=this.i.ha();a&&I(a)}};f.ua=function(){IC.oa.ua.call(this);this.i&&(this.i.Ea(),delete this.i);delete this.wb;this.Sa.Ea()}; f.Te=function(a){IC.oa.Te.call(this,a);if(this.isActive()&&(this.Qb(!this.md(),a),this.i)){a=this.i;var b=this.md();a.ee=b}};f.de=function(a){IC.oa.de.call(this,a);this.i&&!this.isActive()&&(this.i.ee=!1)};f.vf=function(){hu(this,!1);return!0};f.dt=function(a){this.i&&this.i.isVisible()&&!this.Vd(a.target)&&this.Qb(!1)};f.Vd=function(a){return a&&If(this.ha(),a)||this.i&&this.i.Vd(a)||!1}; f.be=function(a){if(32==a.keyCode){if(a.preventDefault(),"keyup"!=a.type)return!0}else if("key"!=a.type)return!1;if(this.i&&this.i.isVisible()){var b=13==a.keyCode||32==a.keyCode,c=this.i.Pc(a);return c&&this.i&&this.i.Zb instanceof CC||27!=a.keyCode&&!b?c:(this.Qb(!1),!0)}return 40==a.keyCode||38==a.keyCode||32==a.keyCode||13==a.keyCode?(this.Qb(!0,a),!0):!1};f.Sk=function(){this.Qb(!1)};f.mi=function(a){this.Qb(!1);IC.oa.mi.call(this,a)}; function LC(a){a.i||a.Me(new ky(a.g,a.Ya));return a.i||null}f.Me=function(a){var b=this.i;a!=b&&(b&&(this.Qb(!1),this.Va&&KC(this,b,!1),delete this.i),this.Va&&Z(this.va,"haspopup",!!a),a&&(this.i=a,a.he(this),a.Aa(!1),ly(a,!1),this.Va&&KC(this,a,!0)));return b};f.Pa=function(a){LC(this).Za(a,!0)};f.Ye=function(a,b){LC(this).tg(a,b,!0)};f.Aa=function(a,b){(a=IC.oa.Aa.call(this,a,b))&&!this.isVisible()&&this.Qb(!1);return a};f.lb=function(a){IC.oa.lb.call(this,a);this.isEnabled()||this.Qb(!1)}; f.Qb=function(a,b){IC.oa.Qb.call(this,a);if(this.i&&Tt(this,64)==a){if(a)this.i.Va||this.i.render(),this.wa=wh(this.ha()),this.Ua=Gh(this.ha()),MC(this),!b||40!=b.keyCode&&38!=b.keyCode?this.i.Td(-1):uw(this.i);else{hu(this,!1);this.i.ee=!1;var c=this.ha();c&&(Z(c,"activedescendant",""),Z(c,"owns",""));null!=this.ta&&(this.ta=void 0,(c=this.i.ha())&&L(c,"",""))}this.i.Aa(a,!1,b);this.Id||(b=An(this),c=a?b.ka:b.Ta,c.call(b,this.g.g,"mousedown",this.dt,!0),c.call(b,this.Sa,"tick",this.Pq),a?this.Sa.start(): this.Sa.stop())}this.i&&this.i.ha()&&this.i.va.removeAttribute("aria-hidden")};function MC(a){if(a.i.Va){var b=a.wb||a.ha(),c=a.o;a.o.g=b;b=a.i.ha();a.i.isVisible()||(b.style.visibility="hidden",N(b,!0));!a.ta&&a.o.s&&a.o.j&32&&(a.ta=M(b));c.Mc(b,c.i^1,null,a.ta);a.i.isVisible()||(N(b,!1),b.style.visibility="visible")}} f.Pq=function(){var a=Gh(this.ha()),b=wh(this.ha());var c=this.Ua;(c=!(c==a||c&&a&&c.left==a.left&&c.width==a.width&&c.top==a.top&&c.height==a.height))||(c=this.wa,c=!(c==b||c&&b&&c.top==b.top&&c.right==b.right&&c.bottom==b.bottom&&c.left==b.left));c&&(this.i.Va&&b&&this.wa&&b.tb()h;h++){for(var k=tf(d,"TR"),l=0;2>l;l++)k.appendChild(tf(d,"TD"));g.appendChild(k)}x(e,this.className+"-table-layout");d=e.rows[0].cells;g=d[0];h=VC(this);g.appendChild(h);g=d[1];h=WC(this);g.appendChild(h);g=G("DIV",this.className+ "-link");h=G("A",{target:"_blank"},"Help with devices & formats");k=new T(window.location.href);l=new T("/support/bin/answer.py?answer=1062949");k=V(k,"hl")?U(l,"hl",V(k,"hl")).toString():"/support/bin/answer.py?answer=1062949";ci(h,k);g.appendChild(h);d[1].appendChild(g);c.appendChild(e);e=this.o;if((d=e.Lc)&&!e.Tf&&e.Ya){var m;e.Hb&&Tm.gw&&(m="Read the book");m=G("P",this.className+"-additional",G("A",{href:d},m));c.appendChild(m)}if(e.Ha||e.Ia)if(d=e.Kb,g=e.Ua,d||g)m=G("P",this.className+"-additional", vf("Download ")),d&&(h=G("A",{href:d},"EPUB"),m.appendChild(h)),g&&(d&&m.appendChild(vf(", ")),d=G("A",{href:g},"PDF"),m.appendChild(d)),m.appendChild(vf(" - ")),e=e.Ub(),d=(new T(window.location.href)).l.split("/"),d=new T("/"+d[1]),Xx(d),U(d,"output","acs_help"),U(d,"id",e),e=G("A",{href:d.toString()},"read eReader instructions"),m.appendChild(e),c.appendChild(m);m=G("A",{target:"_blank"},"Learn more about books on Google Play");ci(m,"https://books.google.com/support/bin/topic.py?topic=28528"); this.j=G("DIV",this.className+"-footer",m);b=G("DIV",b,c,this.j);x(b,this.className+"-device-content");a.appendChild(b)}}; function VC(a){var b=G("UL",a.className+"-list"),c=G("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=G("A",{"class":d,href:"/help/ebooks/webreader.html"},"Web"),k=G("A",{"class":d,href:"/help/ebooks/devices.html"},"Tablet / iPad"),l=G("A",{"class":d,href:"/help/ebooks/ereader.html"},"eReader"),m=G("A",{"class":d,href:"/help/ebooks/devices.html"},"Smartphone"), p=a.o.Si,w=a.o.Ti,D=a.o.Tf;d=new fk(a);h=G("LI",null,h);D?d.ka(h,"mouseover",t(a.i,"The format of this book is currently unknown. We will update this when we receive the information from the publisher.")):(p||w)&&d.ka(h,"mouseover",t(a.i,"This eBook, like all Google eBooks, is formatted to be readable on the web."));d.ka(h,"mouseout",a.wa);b.appendChild(h);k=G("LI",null,k);D?d.ka(k,"mouseover",t(a.i,"The format of this book is currently unknown. We will update this when we receive the information from the publisher.")): (p||w)&&d.ka(k,"mouseover",t(a.i,"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.wa);b.appendChild(k);l=G("LI",null,l);d.ka(l,"mouseover",function(){D?this.i("The format of this book is currently unknown. We will update this when we receive the information from the publisher."):p?this.i("This Google eBook includes flowing text, so you can adjust the font to read comfortably on an eReader."):this.i("This Google eBook does not include flowing text, so you cannot adjust the font on an eReader.")}); d.ka(l,"mouseout",a.wa);b.appendChild(l);m=G("LI",null,m);d.ka(m,"mouseover",function(){D?this.i("The format of this book is currently unknown. We will update this when we receive the information from the publisher."):p&&w?this.i("This eBook is good for smartphones like Android and iPhone / iPod touch."):p?this.i("This Google eBook includes flowing text so you can adjust the font to read comfortably on the small screen of a smartphone."):this.i("This eBook may be hard to read on smartphones like Android and iPhone / iPod touch.")}); d.ka(m,"mouseout",a.wa);b.appendChild(m);D?(x(h,g),x(k,g),x(l,g),x(m,g)):p?(x(h,c),x(k,c),x(l,c),x(m,c)):(w?(x(h,c),x(k,c)):(x(h,e),x(k,e)),x(l,e),x(m,e));return b} function WC(a){var b=G("UL",a.className+"-list"),c=G("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=G("A",{},"Flowing text");ci(c,"/support/bin/answer.py?answer=1062949");var h=G("A",{},"Scanned pages");ci(h,"/support/bin/answer.py?answer=1062949");var k=a.o.Si,l=a.o.Ti,m=a.o.Tf;m?(c=G("LI",g,c),d=G("LI",g,h)):(c=G("LI",k?d:e,c),d=G("LI",l?d:e,h));e=new fk(a);e.ka(c,"mouseover",function(){m? this.i("The format of this book is currently unknown. We will update this when we receive the information from the publisher."):k?this.i("This eBook includes flowing text, so you can adjust the font size and style to read comfortably on any device."):this.i("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.wa);e.ka(d, "mouseover",function(){m?this.i("The format of this book is currently unknown. We will update this when we receive the information from the publisher."):l?this.i("This eBook includes scanned pages, so pages appear as they would in a printed book."):this.i("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.wa);b.appendChild(c);b.appendChild(d);return b} UC.prototype.wa=function(){yf(this.j);var a=G("A",{target:"_blank"},"Learn more about books on Google Play");ci(a,"https://books.google.com/support/bin/topic.py?topic=28528");this.j.appendChild(a)};UC.prototype.i=function(a){yf(this.j);"string"===typeof a?this.j.appendChild(vf(a)):this.j.appendChild(a)};function XC(a,b){Wz.call(this,b,void 0,3);this.o=a}n(XC,Wz);XC.prototype.render=function(a){Wz.prototype.render.call(this,a);x(this.ha(),"gb-get-book")};XC.prototype.Ka=function(){Wz.prototype.Ka.call(this);var a=this.ha();this.i=new UC(a,this.o);this.i.render();a=C("menu_container");(a=jf("about_title",a))&&I(a)}; function YC(){var a=C("gb-buy-options-trigger");if(a&&a.parentNode&&a.parentNode.parentNode?!Jb(a.parentNode.parentNode,"jfk-button"):1){a=C("gb-buy-options-trigger");var b=C("buy");if(a&&b){Lb(b,"about_content");var c=G("SPAN","gb-buy-options-arrow","\u25bc");a.appendChild(c);x(b,"gb-buy-options-list");x(b,"unified-hovercard");ss(a,9,b,8);N(b,!1);R(document,"mousedown",t(ZC,a,b))}}}function ZC(a,b,c){a=If(a,c.target);c=If(b,c.target);var d=Ih(b);a||c||!d?a&&(N(b,!d),d||Hh(b,1)):N(b,!1)};function $C(a,b,c,d,e,g){function h(l){if(l){l.tabIndex=0;Wm(l,k.ta);x(l,"goog-zippy-header");l&&k.ma.ka(l,"click",k.na);var m=k;l&&(m.O.attach(l),m.V.ka(m.O,"key",m.qa))}}S.call(this);this.s=e||af();this.i=this.s.ha(a)||null;this.l=this.s.ha(d||null);this.o="function"===typeof b?b:null;this.ta=g||"tab";this.j=this.o||!b?null:this.s.ha(b);this.g=1==c;void 0!==c||this.o||(this.l?this.g=Ih(this.l):this.i&&(this.g=Jb(this.i,"goog-zippy-expanded")));this.V=new fk(this);this.O=new Ft;this.ma=new fk(this); var k=this;h(this.i);h(this.l);this.Le(this.g)}u($C,S);$C.prototype.ua=function(){$C.oa.ua.call(this);zj(this.V);zj(this.O);zj(this.ma)};$C.prototype.Le=function(a){this.j?N(this.j,a):a&&this.o&&(this.j=this.o());this.j&&x(this.j,"goog-zippy-content");this.l?(N(this.i,!a),N(this.l,a)):this.i&&(y(this.i,"goog-zippy-expanded",a),y(this.i,"goog-zippy-collapsed",!a),Z(this.i,"expanded",a));this.g=a;this.dispatchEvent(new aD("toggle",this,this.g))}; $C.prototype.qa=function(a){if(13==a.keyCode||32==a.keyCode)this.Le(!this.g),this.dispatchEvent(new aD("action",this,this.g,a)),a.preventDefault(),a.stopPropagation()};$C.prototype.na=function(a){this.Le(!this.g);this.dispatchEvent(new aD("action",this,this.g,a))};function aD(a,b){Dj.call(this,a,b)}u(aD,Dj);function bD(a,b,c,d){if(b.child_node&&0a.i){var c=a.g.scrollTop,d=a.g.scrollLeft;a.g.value=a.g.value.substring(0,a.i);b=a.i;a.g.scrollTop=c;a.g.scrollLeft=d}a.l&&J(a.l,String(1==a.o?b:a.i-b))}tD.prototype.ua=function(){tD.oa.ua.call(this);delete this.g;this.j.Ea();this.j=null};function vD(a,b,c,d,e){pD.call(this,a,b,null,!0);this.Ua=c;this.Hb=d;this.Ba=e}n(vD,pD); vD.prototype.Qa=function(){pD.prototype.Qa.call(this);this.o=wD(this,"Name","input");this.Ya=wD(this,"Description (optional)","textarea");var a=this.Ib(),b=G("DIV",{"class":"ccd-label"}),c=H("span");c.textContent="Visibility";b.appendChild(c);a.appendChild(b);a=G("SPAN",{className:"ccd-mode-indicator"});c=G("IMG",{src:"/googlebooks/images/sharing_public.gif",style:"vertical-align:-2px;padding:0 2px"});var d=H("span");d.textContent="Public";a.appendChild(c);a.appendChild(d); b.appendChild(a);c=G("SPAN",{className:"ccd-mode-indicator"});d=G("IMG",{src:"/googlebooks/images/sharing_private.gif",style:"vertical-align:-2px;"});var e=H("span");e.textContent="Private";c.appendChild(d);c.appendChild(e);b.appendChild(c);d=G("SPAN",{"class":"ccd-mode-link"});d.textContent="Make public";b.appendChild(d);R(d,"click",r(this.Ha,this,!0));e=G("SPAN",{"class":"ccd-mode-link"});e.textContent="Make private";b.appendChild(e);R(e,"click",r(this.Ha,this,!1));this.Hd=[a,e];this.Gd=[c,d];null!= this.Ba&&(lf(this.Ba,{"class":"ccd-mode-link"}),b.appendChild(this.Ba));this.Ha(!0);this.V=G("DIV",{"class":"ccd-error"});this.Ib().appendChild(this.V);this.Lb=G("P","ccd-footnote","Please note that the contents and title of Public bookshelves can be viewed and shared by others.");this.Ib().appendChild(this.Lb);this.i&&xD(this);Gp.IsZipitFolderCollectionEnabled||(b=this.j,a=io(b,"ok"),K(a,"fontWeight","bold"),x(a,"gb-button"),x(io(b,"cancel"),"gb-button"))}; function xD(a){a.o.value=Qe(a.i.hb());a.o.disabled=a.i.O;a.Ya.value=Qe(a.i.Cg());a.Ha(1==a.i.te);a.o.disabled&&K(a.o,"background","#f2f2f2")} function wD(a,b,c){var d=a.Ib();a=G("DIV",{"class":"gb-bookshelf-dialog-container"});d.appendChild(a);d=G("DIV",{"class":"ccd-label"});b=(new yi(new zi)).g(b);O(d,b);a.appendChild(d);b=G(c,{"class":"ccd-input"});"input"==c?(lf(b,{type:"text"}),b.setAttribute("maxlength",100)):"textarea"==c&&(lf(b,{rows:6,cols:50}),new tD(b,H("span"),500));a.appendChild(b);return b}vD.prototype.Ha=function(a){this.qd=a;v(this.Hd,function(b){N(b,a)});v(this.Gd,function(b){N(b,!a)})}; vD.prototype.Na=function(a){var b=this.o.value;if("cancel"==a.key)return!0;if(Sb(b))return this.V.textContent="Please enter a title for this bookshelf.",!1;if(this.Hb&&!this.Hb(b))return this.V.textContent="Another bookshelf already has that title. Please enter a different title.",!1;a=this.i||new nA;a.vc=b;a.l=this.Ya.value;a.te=this.qd?1:2;if(this.i){b=this.Ua;var c=new T(b.Kp);U(c,"as_coll",a.getId());zA(c,a,r(b.s,b))}else b=this.Ua,zA(b.l,a,r(b.o,b,!0));return!0}; vD.prototype.ua=function(){delete this.Ua;delete this.Ba;delete this.i;delete this.V;delete this.Lb;delete this.o;delete this.Ya;delete this.Hb;pD.prototype.ua.call(this)};function yD(a,b,c,d,e){Y.call(this);this.O=a;this.j=b;this.s=c;this.i=d;this.O&&(this.l=mb(this.O.childNodes,zD),this.i&&xb(this.l,mb(this.i.childNodes,zD)));this.o=e;W(r(this.Uq,this))}u(yD,Y);f=yD.prototype;f.Uq=function(){this.j&&this.i&&this.g.ka(this.j,"click",this.Jp);this.s&&this.g.ka(this.s,"click",this.bt);this.g.ka(this.o,"add",this.hs)}; function zD(a){var b=ff("SPAN","sidebar-collection-title",a)[0];b||(b=ff("SPAN","hp-collection-title",a)[0]);if(!b)return"";a=Tb(Me(Pf(b)));return Tb(a.split("(")[0])}f.bt=function(){var a=new vD("Create new bookshelf","Create bookshelf",this.o,r(this.tu,this));a.render();a.Aa(!0)};f.tu=function(a){var b=Tb(Me(a)).toLowerCase();return!nb(this.l,function(c){return c.toLowerCase()==b})}; f.hs=function(a){a=a.shelf;var b=Tb(Me(a.hb())),c=1==a.te;this.l.push(b);var d=new T("/books");Xx(d);U(d,"as_coll",a.getId());U(d,"source","gbs_lp_bookshelf_list");if(Gp.IsBooksUnifiedLeftNavEnabled){a=G("LI",{"class":"left-nav-shelf-item"});var e=G("A",{"class":"sidebar-link"});ci(e,d.toString());d=G("SPAN");x(d,"sidebar-collection-title");O(d,pj.g(b+" (0)"));e.appendChild(d);a.appendChild(e);c=C("hidden-my-library-expanded");zf(a,c);oD(!0,"my-library")}else a=H("DIV"),e=G("A",{"class":"hp-bookshelf-link", style:"line-height:19px"}),ci(e,d.toString()),d=G("SPAN",{"class":"hp-collection-title"}),O(d,pj.g(b)),e.appendChild(d),a.appendChild(e),b=c?"Public bookshelf":"Private bookshelf",c=G("IMG",{"class":"hp-bookshelf-access",src:"/googlebooks/images/sharing_"+(c?"public":"private")+".gif",title:b,alt:b,width:14,height:14}),a.appendChild(c),c=G("DIV",{style:"clear:both"}),a.appendChild(c),Af(a,C("csStart"))}; f.Jp=function(a){a.preventDefault();a=!Ih(this.i);N(this.i,a);a?(ss(this.j,9,this.i,8),200