Hidden fields

Search the world's most comprehensive index of full-text books.

My library

PublishersAboutPrivacyTermsHelp
galvanizing equipment

");return(new DOMParser).parseFromString(Xd(a),"text/html").body.children[0]} function Ng(a,b){if(!a)return Hd;var c=document.createElement("div").style;Qg(a).forEach(function(d){var e=pc&&d in Kg?d:d.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");Mb(e,"--")||Mb(e,"var")||(d=Gg(a,d),d=fg(e,d,b),null!=d&&Hg(c,e,d))});return new Dd(c.cssText||"",Cd)} function Rg(a){var b=Array.from(yg(ng,a,"getElementsByTagName",["STYLE"])),c=Db(b,function(h){return ub(Cg(h).cssRules)});c=Mg(c);for(var d=[],e=0;e=a.left&&b.right=a.top&&b.bottom=a.left&&b.x=a.top&&b.ya.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 Xg(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}f=Xg.prototype;f.clone=function(){return new Xg(this.left,this.top,this.width,this.height)};function Yg(a){return new Tg(a.top,a.left+a.width,a.top+a.height,a.left)}function Zg(a){return new Xg(a.left,a.top,a.right-a.left,a.bottom-a.top)} function $g(a,b){var c=Math.max(a.left,b.left),d=Math.min(a.left+a.width,b.left+b.width);if(ca.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return null} function ph(a){for(var b=new Tg(0,Infinity,Infinity,0),c=Te(a),d=c.g.body,e=c.g.documentElement,g=jf(c.g);a=oh(a);)if(!(z&&0==a.clientWidth||pc&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=ih(a,"overflow")){var h=qh(a),k=new A(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= ff(Pf(c));b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,g+c.height);return 0b.top&&b.right>b.left?b:null} function rh(a,b){b=b||jf(document);var c=b||jf(document);var d=qh(a),e=qh(c),g=sh(c);if(c==jf(document)){var h=d.x-c.scrollLeft;d=d.y-c.scrollTop;z&&!Hc(10)&&(h+=g.left,d+=g.top)}else h=d.x-e.x-g.left,d=d.y-e.y-g.top;a=th(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 A(e,k);b.scrollLeft=c.x;b.scrollTop=c.y} function qh(a){var b=Ve(a),c=new A(0,0),d=mh(b);if(a==d)return c;a=nh(a);b=hf(Te(b).g);c.x=a.left+b.x;c.y=a.top+b.y;return c}function uh(a,b){a=vh(a);b=vh(b);return new A(a.x-b.x,a.y-b.y)}function wh(a){a=nh(a);return new A(a.left,a.top)}function vh(a){if(1==a.nodeType)return wh(a);a=a.changedTouches?a.changedTouches[0]:a;return new A(a.clientX,a.clientY)}function xh(a,b,c){var d=qh(a);b instanceof A&&(c=b.y,b=b.x);jh(a,a.offsetLeft+(b-d.x),a.offsetTop+(Number(c)-d.y))} function K(a,b,c){if(b instanceof Ae)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");yh(a,b);a.style.height=kh(c,!0)}function kh(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}function yh(a,b){a.style.width=kh(b,!0)}function L(a){var b=th;if("none"!=ih(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 th(a){var b=a.offsetWidth,c=a.offsetHeight,d=pc&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=nh(a),new Ae(a.right-a.left,a.bottom-a.top)):new Ae(b,c)}function zh(a){var b=qh(a);a=L(a);return new Xg(b.x,b.y,a.width,a.height)}function Ah(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 M(a,b){a.style.display=b?"":"none"}function Bh(a){return"none"!=a.style.display} function Ch(a){return"rtl"==ih(a,"direction")}var Dh=oc?"MozUserSelect":pc||mc?"WebkitUserSelect":null;function Eh(a,b,c){c=c?null:a.getElementsByTagName("*");if(Dh){if(b=b?"none":"",a.style&&(a.style[Dh]=b),c){a=0;for(var d;d=c[a];a++)d.style&&(d.style[Dh]=b)}}else if(z&&(b=b?"on":"",a.setAttribute("unselectable",b),c))for(a=0;d=c[a];a++)d.setAttribute("unselectable",b)} function Fh(a,b){var c=gf(Te(Ve(a)).g);if(!z||Gc("10")||c)Gh(a,b,"border-box");else{var d=a.style;c?(c=Hh(a),a=sh(a),d.pixelWidth=b.width-a.left-c.left-c.right-a.right,d.pixelHeight=b.height-a.top-c.top-c.bottom-a.bottom):(d.pixelWidth=b.width,d.pixelHeight=b.height)}} function Ih(a){var b=Ve(a),c=z&&a.currentStyle;if(c&&gf(Te(b).g)&&"auto"!=c.width&&"auto"!=c.height&&!c.boxSizing)return b=Jh(a,c.width,"width","pixelWidth"),a=Jh(a,c.height,"height","pixelHeight"),new Ae(b,a);c=new Ae(a.offsetWidth,a.offsetHeight);b=Hh(a);a=sh(a);return new Ae(c.width-a.left-b.left-b.right-a.right,c.height-a.top-b.top-b.bottom-a.bottom)} function Kh(a,b){var c=gf(Te(Ve(a)).g);if(!z||Gc("10")||c)Gh(a,b,"content-box");else{var d=a.style;c?(d.pixelWidth=b.width,d.pixelHeight=b.height):(c=Hh(a),a=sh(a),d.pixelWidth=b.width+a.left+c.left+c.right+a.right,d.pixelHeight=b.height+a.top+c.top+c.bottom+a.bottom)}}function Gh(a,b,c){a=a.style;oc?a.MozBoxSizing=c:pc?a.WebkitBoxSizing=c:a.boxSizing=c;a.width=Math.max(b.width,0)+"px";a.height=Math.max(b.height,0)+"px"} function Jh(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 Lh(a,b){return(b=hh(a,b))?Jh(a,b,"left","pixelLeft"):0} function Hh(a){if(z){var b=Lh(a,"paddingLeft"),c=Lh(a,"paddingRight"),d=Lh(a,"paddingTop");a=Lh(a,"paddingBottom");return new Tg(d,c,a,b)}b=gh(a,"paddingLeft");c=gh(a,"paddingRight");d=gh(a,"paddingTop");a=gh(a,"paddingBottom");return new Tg(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))}var Mh={thin:2,medium:4,thick:6};function Nh(a,b){if("none"==hh(a,b+"Style"))return 0;b=hh(a,b+"Width");return b in Mh?Mh[b]:Jh(a,b,"left","pixelLeft")} function sh(a){if(z&&!Hc(9)){var b=Nh(a,"borderLeft"),c=Nh(a,"borderRight"),d=Nh(a,"borderTop");a=Nh(a,"borderBottom");return new Tg(d,c,a,b)}b=gh(a,"borderLeftWidth");c=gh(a,"borderRightWidth");d=gh(a,"borderTopWidth");a=gh(a,"borderBottomWidth");return new Tg(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))};var Oh={"* ARIA-CHECKED":!0,"* ARIA-COLCOUNT":!0,"* ARIA-COLINDEX":!0,"* ARIA-CONTROLS":!0,"* ARIA-DESCRIBEDBY":!0,"* ARIA-DISABLED":!0,"* ARIA-EXPANDED":!0,"* ARIA-GOOG-EDITABLE":!0,"* ARIA-HASPOPUP":!0,"* ARIA-HIDDEN":!0,"* ARIA-LABEL":!0,"* ARIA-LABELLEDBY":!0,"* ARIA-MULTILINE":!0,"* ARIA-MULTISELECTABLE":!0,"* ARIA-ORIENTATION":!0,"* ARIA-PLACEHOLDER":!0,"* ARIA-READONLY":!0,"* ARIA-REQUIRED":!0,"* ARIA-ROLEDESCRIPTION":!0,"* ARIA-ROWCOUNT":!0,"* ARIA-ROWINDEX":!0,"* ARIA-SELECTED":!0,"* ABBR":!0, "* ACCEPT":!0,"* ACCESSKEY":!0,"* ALIGN":!0,"* ALT":!0,"* AUTOCOMPLETE":!0,"* AXIS":!0,"* BGCOLOR":!0,"* BORDER":!0,"* CELLPADDING":!0,"* CELLSPACING":!0,"* CHAROFF":!0,"* CHAR":!0,"* CHECKED":!0,"* CLEAR":!0,"* COLOR":!0,"* COLSPAN":!0,"* COLS":!0,"* COMPACT":!0,"* COORDS":!0,"* DATETIME":!0,"* DIR":!0,"* DISABLED":!0,"* ENCTYPE":!0,"* FACE":!0,"* FRAME":!0,"* HEIGHT":!0,"* HREFLANG":!0,"* HSPACE":!0,"* ISMAP":!0,"* LABEL":!0,"* LANG":!0,"* MAX":!0,"* MAXLENGTH":!0,"* METHOD":!0,"* MULTIPLE":!0, "* NOHREF":!0,"* NOSHADE":!0,"* NOWRAP":!0,"* OPEN":!0,"* READONLY":!0,"* REQUIRED":!0,"* REL":!0,"* REV":!0,"* ROLE":!0,"* ROWSPAN":!0,"* ROWS":!0,"* RULES":!0,"* SCOPE":!0,"* SELECTED":!0,"* SHAPE":!0,"* SIZE":!0,"* SPAN":!0,"* START":!0,"* SUMMARY":!0,"* TABINDEX":!0,"* TITLE":!0,"* TYPE":!0,"* VALIGN":!0,"* VALUE":!0,"* VSPACE":!0,"* WIDTH":!0},Ph={"* USEMAP":!0,"* ACTION":!0,"* CITE":!0,"* HREF":!0,"* LONGDESC":!0,"* SRC":!0,"LINK HREF":!0,"* FOR":!0,"* HEADERS":!0,"* NAME":!0,"A TARGET":!0, "* CLASS":!0,"* ID":!0,"* STYLE":!0};var Qh="undefined"!=typeof WeakMap&&-1!=WeakMap.toString().indexOf("[native code]"),Rh=0;function Sh(){this.j=[];this.i=[];this.g="data-elementweakmap-index-"+Rh++}Sh.prototype.set=function(a,b){if(yg(jg,a,"hasAttribute",[this.g])){var c=parseInt(yg(kg,a,"getAttribute",[this.g])||null,10);this.i[c]=b}else c=this.i.push(b)-1,Ag(a,this.g,c.toString()),this.j.push(a);return this}; Sh.prototype.get=function(a){if(yg(jg,a,"hasAttribute",[this.g]))return a=parseInt(yg(kg,a,"getAttribute",[this.g])||null,10),this.i[a]};Sh.prototype.clear=function(){this.j.forEach(function(a){yg(mg,a,"removeAttribute",[this.g])},this);this.j=[];this.i=[]};var Th=!z||Hc(10),Uh=!z||null==document.documentMode;function Vh(){};var Wh={APPLET:!0,AUDIO:!0,BASE:!0,BGSOUND:!0,EMBED:!0,FORM:!0,IFRAME:!0,ISINDEX:!0,KEYGEN:!0,LAYER:!0,LINK:!0,META:!0,OBJECT:!0,SCRIPT:!0,SVG:!0,STYLE:!0,TEMPLATE:!0,VIDEO:!0};var Xh={A:!0,ABBR:!0,ACRONYM:!0,ADDRESS:!0,AREA:!0,ARTICLE:!0,ASIDE:!0,B:!0,BDI:!0,BDO:!0,BIG:!0,BLOCKQUOTE:!0,BR:!0,BUTTON:!0,CAPTION:!0,CENTER:!0,CITE:!0,CODE:!0,COL:!0,COLGROUP:!0,DATA:!0,DATALIST:!0,DD:!0,DEL:!0,DETAILS:!0,DFN:!0,DIALOG:!0,DIR:!0,DIV:!0,DL:!0,DT:!0,EM:!0,FIELDSET:!0,FIGCAPTION:!0,FIGURE:!0,FONT:!0,FOOTER:!0,FORM:!0,H1:!0,H2:!0,H3:!0,H4:!0,H5:!0,H6:!0,HEADER:!0,HGROUP:!0,HR:!0,I:!0,IMG:!0,INPUT:!0,INS:!0,KBD:!0,LABEL:!0,LEGEND:!0,LI:!0,MAIN:!0,MAP:!0,MARK:!0,MENU:!0,METER:!0,NAV:!0, NOSCRIPT:!0,OL:!0,OPTGROUP:!0,OPTION:!0,OUTPUT:!0,P:!0,PRE:!0,PROGRESS:!0,Q:!0,S:!0,SAMP:!0,SECTION:!0,SELECT:!0,SMALL:!0,SOURCE:!0,SPAN:!0,STRIKE:!0,STRONG:!0,STYLE:!0,SUB:!0,SUMMARY:!0,SUP:!0,TABLE:!0,TBODY:!0,TD:!0,TEXTAREA:!0,TFOOT:!0,TH:!0,THEAD:!0,TIME:!0,TR:!0,TT:!0,U:!0,UL:!0,VAR:!0,WBR:!0};var Yh={"ANNOTATION-XML":!0,"COLOR-PROFILE":!0,"FONT-FACE":!0,"FONT-FACE-SRC":!0,"FONT-FACE-URI":!0,"FONT-FACE-FORMAT":!0,"FONT-FACE-NAME":!0,"MISSING-GLYPH":!0}; function Zh(a){a=a||new $h;ai(a);this.i=$c(a.g);this.N=$c(a.ua);this.j=$c(a.va);this.oa=a.na;a.Ca.forEach(function(b){if(!Mb(b,"data-"))throw new eb('Only "data-" attributes allowed, got: %s.',[b]);if(Mb(b,"data-sanitizer-"))throw new eb('Attributes with "%s" prefix are not allowed, got: %s.',["data-sanitizer-",b]);this.i["* "+b.toUpperCase()]=bi},this);a.Ba.forEach(function(b){b=b.toUpperCase();if(!Zb(b,"-")||Yh[b])throw new eb("Only valid custom element tag names allowed, got: %s.",[b]);this.j[b]= !0},this);this.ma=a.j;this.s=a.Pa;this.o=null;this.O=a.oa}u(Zh,Vh);function ci(a){return function(b,c){return(b=a(Pb(b),c))&&"about:invalid#zClosurez"!=vd(b)?vd(b):null}}function $h(){this.g={};v([Oh,Ph],function(a){Uc(a).forEach(function(b){this.g[b]=bi},this)},this);this.i={};this.Ca=[];this.Ba=[];this.ua=$c(Wh);this.va=$c(Xh);this.na=!1;this.ma=yd;this.O=this.o=this.s=this.j=Nc;this.Pa=null;this.N=this.oa=!1} function di(a,b){return function(c,d,e,g){c=a(c,d,e,g);return null==c?null:b(c,d,e,g)}}function ei(a,b,c,d){a[c]&&!b[c]&&(a[c]=di(a[c],d))} function ai(a){if(a.N)throw Error("HtmlSanitizer.Builder.build() can only be used once.");ei(a.g,a.i,"* USEMAP",fi);var b=ci(a.ma);["* ACTION","* CITE","* HREF"].forEach(function(d){ei(this.g,this.i,d,b)},a);var c=ci(a.j);["* LONGDESC","* SRC","LINK HREF"].forEach(function(d){ei(this.g,this.i,d,c)},a);["* FOR","* HEADERS","* NAME"].forEach(function(d){ei(this.g,this.i,d,t(gi,this.s))},a);ei(a.g,a.i,"A TARGET",t(hi,["_blank","_self"]));ei(a.g,a.i,"* CLASS",t(ii,a.o));ei(a.g,a.i,"* ID",t(ji,a.o));ei(a.g, a.i,"* STYLE",t(a.O,c));a.N=!0}function ki(a,b){a||(a="*");return(a+" "+b).toUpperCase()}function bi(a){return Pb(a)}function hi(a,b){b=Pb(b);return ob(a,b.toLowerCase())?b:null}function fi(a){return(a=Pb(a))&&"#"==a.charAt(0)?a:null}function gi(a,b,c){return a(Pb(b),c)}function ii(a,b,c){b=b.split(/(?:\s+)/);for(var d=[],e=0;e"+b+""),Rg(b),b=b.innerHTML);b=Zd(b);var c=document.createElement("template");if(Uh&&"content"in c)oe(c,b),c=c.content;else{var d=document.implementation.createHTMLDocument("x");c=d.body;oe(d.body,b)}b=document.createTreeWalker(c,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,null,!1);for(c=Qh? new WeakMap:new Sh;d=b.nextNode();){c:{var e=d;switch(Eg(e)){case 3:e=li(this,e);break c;case 1:if("TEMPLATE"==Dg(e).toUpperCase())e=null;else{var g=Dg(e).toUpperCase();if(g in this.N||"http://www.w3.org/1999/xhtml"!=Ig(e))var h=null;else this.j[g]?h=document.createElement(g):(h=F("SPAN"),this.oa&&Ag(h,"data-sanitizer-original-tag",g.toLowerCase()));if(h){var k=h,l=zg(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(Mb(D,"data-sanitizer-"))w=null;else{var E=Dg(p); w=w.value;var G={tagName:Pb(E).toLowerCase(),attributeName:Pb(D).toLowerCase()},P={il:void 0};"style"==G.attributeName&&(P.il=Bg(p));p=ki(E,D);p in this.i?(D=this.i[p],w=D(w,G,P)):(D=ki(null,D),D in this.i?(D=this.i[D],w=D(w,G,P)):w=null)}null!==w&&Ag(k,g.name,w)}e=h}else e=null}break c;default:e=null}}if(e){if(1==Eg(e)&&c.set(d,e),d=Fg(d),g=!1,d)h=Eg(d),k=Dg(d).toLowerCase(),l=Fg(d),11!=h||l?"body"==k&&l&&(h=Fg(l))&&!Fg(h)&&(g=!0):g=!0,h=null,g||!d?h=a:1==Eg(d)&&(h=c.get(d)),h.content&&(h=h.content), h.appendChild(e)}else rf(d)}c.clear&&c.clear()}else a=F("SPAN");0")+1,a.lastIndexOf(""))}else a="";return Zd(a)};function li(a,b){var c=b.data;(b=Fg(b))&&"style"==Dg(b).toLowerCase()&&!("STYLE"in a.N)&&"STYLE"in a.j&&(c=Sd(Og(c,a.o,r(function(d,e){return this.ma(d,{qt:e})},a))));return document.createTextNode(c)};function mi(a){return(new Zh(new $h)).g(a)};/* SPDX-License-Identifier: Apache-2.0 */ var ni;try{new URL("s://g"),ni=!0}catch(a){ni=!1}var oi=ni;function pi(a){if(!oi){a:{var b=document.createElement("a");try{b.href=a}catch(c){a=void 0;break a}a=-1!==[":",""].indexOf(b.protocol)?"https:":b.protocol}return a}try{b=new URL(a)}catch(c){return"https:"}return b.protocol}var qi=["data:","http:","https:","mailto:","ftp:"];function ri(a){var b;a instanceof td?b=vd(a):b="javascript:"===pi(a)?"about:invalid":a;return b};var si={};function ti(){}function ui(a){this.g=a}n(ui,ti);ui.prototype.toString=function(){return this.g};function N(a,b){if(void 0!==a.tagName){if("script"===a.tagName.toLowerCase())throw Error("Use setTextContent with a SafeScript.");if("style"===a.tagName.toLowerCase())throw Error("Use setTextContent with a SafeStyleSheet.");}a.innerHTML=Xd(b)} function vi(a,b){var c=wi;if(0===c.length)throw Error("No prefixes are provided");if(c.map(function(d){if(d instanceof ui)d=d.g;else throw Error("");return d}).every(function(d){return 0!=="value".indexOf(d)}))throw Error('Attribute "value" does not match any of the allowed prefixes.');a.setAttribute("value",b)};function xi(a){var b,c,d=null==(c=(b=(a.ownerDocument&&a.ownerDocument.defaultView||window).document).querySelector)?void 0:c.call(b,"script[nonce]");(b=d?d.nonce||d.getAttribute("nonce")||"":"")&&a.setAttribute("nonce",b)};function yi(a){a&&"function"==typeof a.Ha&&a.Ha()};function zi(){this.Nd=this.Nd;this.Pa=this.Pa}zi.prototype.Nd=!1;zi.prototype.Ha=function(){this.Nd||(this.Nd=!0,this.wa())};function Ai(a,b){b=t(yi,b);a.Nd?b():(a.Pa||(a.Pa=[]),a.Pa.push(b))}zi.prototype.wa=function(){if(this.Pa)for(;this.Pa.length;)this.Pa.shift()()};function Bi(a){this.id=a}Bi.prototype.toString=function(){return this.id};function Ci(a,b){this.type=a instanceof Bi?String(a):a;this.currentTarget=this.target=b;this.defaultPrevented=this.g=!1}Ci.prototype.stopPropagation=function(){this.g=!0};Ci.prototype.preventDefault=function(){this.defaultPrevented=!0};function Di(a){a.preventDefault()};var Ei=function(){if(!q.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{q.addEventListener("test",function(){},b),q.removeEventListener("test",function(){},b)}catch(c){}return a}();function Fi(a,b){Ci.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.im=!1;this.pointerId=0;this.pointerType="";this.Ob=null;a&&this.Kl(a,b)}u(Fi,Ci);var Gi={2:"touch",3:"pen",4:"mouse"}; Fi.prototype.Kl=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;(b=a.relatedTarget)?oc&&(jc(b,"nodeName")||(b=null)):"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=pc||void 0!==a.offsetX? a.offsetX:a.layerX,this.offsetY=pc||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.im=rc?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||0;this.pointerType= "string"===typeof a.pointerType?a.pointerType:Gi[a.pointerType]||"";this.state=a.state;this.Ob=a;a.defaultPrevented&&Fi.ta.preventDefault.call(this)};function Hi(a){return 0==a.Ob.button&&!(rc&&a.ctrlKey)}Fi.prototype.stopPropagation=function(){Fi.ta.stopPropagation.call(this);this.Ob.stopPropagation?this.Ob.stopPropagation():this.Ob.cancelBubble=!0};Fi.prototype.preventDefault=function(){Fi.ta.preventDefault.call(this);var a=this.Ob;a.preventDefault?a.preventDefault():a.returnValue=!1};var Ii="closure_listenable_"+(1E6*Math.random()|0);function Ji(a){return!(!a||!a[Ii])};var Ki=0;function Li(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.Ej=e;this.key=++Ki;this.nh=this.kj=!1}function Mi(a){a.nh=!0;a.listener=null;a.proxy=null;a.src=null;a.Ej=null};function Ni(a){this.src=a;this.g={};this.i=0}f=Ni.prototype;f.add=function(a,b,c,d,e){var g=a.toString();a=this.g[g];a||(a=this.g[g]=[],this.i++);var h=Oi(a,b,d,e);-1>>0);function Ui(a){if("function"===typeof a)return a;a[cj]||(a[cj]=function(b){return a.handleEvent(b)});return a[cj]};function dj(a){zi.call(this);this.N=a;this.j={}}u(dj,zi);var ej=[];f=dj.prototype;f.ka=function(a,b,c,d){return fj(this,a,b,c,d)};function gj(a,b,c,d,e){fj(a,b,c,d,!1,e)}function fj(a,b,c,d,e,g){Array.isArray(c)||(c&&(ej[0]=c.toString()),c=ej);for(var h=0;h=a.keyCode)return!1;if(mj(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!oc;default:return 166>a.keyCode||183=a||96=a||65=a||(pc||mc)&&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:return oc;default:return!1}}function oj(a){if(oc)a=pj(a);else if(rc&&pc)switch(a){case 93:a=91}return a} function pj(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 qj(a){if(a.qc&&"function"==typeof a.qc)return a.qc();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(Ra(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 wj(a,b,c,d){for(var e=c.length;0d)return null;var e=b.indexOf("&",d);if(0>e||e>c)e=c;d+=a.length+1;return Ge(b.slice(d,-1!==e?e:0))}var zj=/[?&]($|#)/;function R(a,b){this.i=this.O=this.s="";this.ma=null;this.g=this.o="";this.N=!1;var c;a instanceof R?(this.N=void 0!==b?b:a.N,Aj(this,a.s),this.O=a.O,this.i=a.i,Bj(this,a.ma),Cj(this,a.o),Dj(this,a.j.clone()),this.g=a.g):a&&(c=String(a).match(tj))?(this.N=!!b,Aj(this,c[1]||"",!0),this.O=Ej(c[2]||""),this.i=Ej(c[3]||"",!0),Bj(this,c[4]),Cj(this,c[5]||"",!0),Dj(this,c[6]||"",!0),this.g=Ej(c[7]||"")):(this.N=!!b,this.j=new Fj(null,this.N))} R.prototype.toString=function(){var a=[],b=this.s;b&&a.push(Gj(b,Hj,!0),":");var c=this.i;if(c||"file"==b)a.push("//"),(b=this.O)&&a.push(Gj(b,Hj,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.ma,null!=c&&a.push(":",String(c));if(c=this.o)this.i&&"/"!=c.charAt(0)&&a.push("/"),a.push(Gj(c,"/"==c.charAt(0)?Ij:Jj,!0));(c=this.j.toString())&&a.push("?",c);(c=this.g)&&a.push("#",Gj(c,Kj));return a.join("")}; R.prototype.resolve=function(a){var b=this.clone(),c=!!a.s;c?Aj(b,a.s):c=!!a.O;c?b.O=a.O:c=!!a.i;c?b.i=a.i:c=null!=a.ma;var d=a.o;if(c)Bj(b,a.ma);else if(c=!!a.o){if("/"!=d.charAt(0))if(this.i&&!this.o)d="/"+d;else{var e=b.o.lastIndexOf("/");-1!=e&&(d=b.o.slice(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(Zb(e,"./")||Zb(e,"/.")){d=Mb(e,"/");e=e.split("/");for(var g=[],h=0;hb)throw Error("Bad port number "+b);a.ma=b}else a.ma=null}function Cj(a,b,c){a.o=c?Ej(b,!0):b}function Dj(a,b,c){b instanceof Fj?(a.j=b,Lj(a.j,a.N)):(c||(b=Gj(b,Mj)),a.j=new Fj(b,a.N))} R.prototype.getQuery=function(){return this.j.toString()};function S(a,b,c){a.j.set(b,c);return a}function T(a,b){return a.j.get(b)}function Nj(a,b){a.j.remove(b)}function Ej(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}function Gj(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,Oj),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}function Oj(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)} var Hj=/[#\/\?@]/g,Jj=/[#\?:]/g,Ij=/[#\?]/g,Mj=/[#\?@]/g,Kj=/#/g;function Fj(a,b){this.i=this.g=null;this.j=a||null;this.o=!!b}function Pj(a){a.g||(a.g=new Map,a.i=0,a.j&&uj(a.j,function(b,c){a.add(Ge(b),c)}))}function Qj(a){var b=rj(a);if("undefined"==typeof b)throw Error("Keys are undefined");var c=new Fj(null);a=qj(a);for(var d=0;da.i&&(a.i++,b.next=a.g,a.g=b)};function dk(a,b){var c=a;b&&(c=r(a,b));c=ek(c);"function"!==typeof q.setImmediate||q.Window&&q.Window.prototype&&!y("Edge")&&q.Window.prototype.setImmediate==q.setImmediate?(fk||(fk=gk()),fk(c)):q.setImmediate(c)}var fk; function gk(){var a=q.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!y("Presto")&&(a=function(){var e=F("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&&!cc()){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 ek=Pc;function hk(a){q.setTimeout(function(){throw a;},0)};function ik(){this.i=this.g=null}ik.prototype.add=function(a,b){var c=jk.get();c.set(a,b);this.i?this.i.next=c:this.g=c;this.i=c};ik.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 jk=new bk(function(){return new kk},function(a){return a.reset()});function kk(){this.next=this.g=this.Pe=null}kk.prototype.set=function(a,b){this.Pe=a;this.g=b;this.next=null};kk.prototype.reset=function(){this.next=this.g=this.Pe=null};var lk,mk=!1,nk=new ik;function ok(a,b){lk||pk();mk||(lk(),mk=!0);nk.add(a,b)}function pk(){if(q.Promise&&q.Promise.resolve){var a=q.Promise.resolve(void 0);lk=function(){a.then(qk)}}else lk=function(){dk(qk)}}function qk(){for(var a;a=nk.remove();){try{a.Pe.call(a.g)}catch(b){hk(b)}ck(jk,a)}mk=!1};function rk(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};function sk(a){this.g=0;this.O=void 0;this.o=this.i=this.j=null;this.s=this.N=!1;if(a!=Oc)try{var b=this;a.call(void 0,function(c){tk(b,2,c)},function(c){tk(b,3,c)})}catch(c){tk(this,3,c)}}function uk(){this.next=this.context=this.i=this.j=this.g=null;this.o=!1}uk.prototype.reset=function(){this.context=this.i=this.j=this.g=null;this.o=!1};var vk=new bk(function(){return new uk},function(a){a.reset()});function wk(a,b,c){var d=vk.get();d.j=a;d.i=b;d.context=c;return d} function xk(){var a,b,c=new sk(function(d,e){a=d;b=e});return new yk(c,a,b)}sk.prototype.then=function(a,b,c){return zk(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};sk.prototype.$goog_Thenable=!0;sk.prototype.cancel=function(a){if(0==this.g){var b=new Ak(a);ok(function(){Bk(this,b)},this)}}; function Bk(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.o||(d++,h.g==a&&(e=h),!(e&&1"+a+"\x3c/script>"))}function cl(a){return a.replace(/&/g,"&").replace(/,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")};function dl(a){var b=document.createElement("template");if(!("content"in b)){b=Zd(""+a);b=(new DOMParser).parseFromString(Xd(b),"text/html");for(a=b.createDocumentFragment();0

"+ht(null!=c?c:"")+"
")};function ut(a,b){this.j=a;this.N=!!b;this.o={0:this.j+"-arrowright",1:this.j+"-arrowup",2:this.j+"-arrowdown",3:this.j+"-arrowleft"}}n(ut,Sr);f=ut.prototype;f.Wj=function(a){this.i=a};f.setPosition=function(a,b,c,d){null!=a&&(this.jj=a);null!=b&&(this.Wk=b);"number"===typeof c&&(this.lo=Math.max(c,15));"number"===typeof d&&(this.bm=d)};f.Tc=function(a,b,c){a=this.Wk;2==a&&(a=0);vt(this,this.jj,(wt(this.jj),a),2==this.Wk?wt(this.jj)?this.g.offsetHeight/2:this.g.offsetWidth/2:this.lo,0,c)}; function vt(a,b,c,d,e,g){if(a.i){var h=xt(b,c);var k=a.i;var l=a.g,m=a.Ea,p=L(k);a:{p=(wt(b)?p.height/2:p.width/2)-d;var w=Vr(k,h);if(m)m=m.clone(),l&&(l=Ur(l),m.left+=l.x,m.right+=l.x,m.top+=l.y,m.bottom+=l.y);else if(m=ph(k),!m){k=p;break a}k=Yg(zh(k));wt(b)?k.topm.bottom&&w&1&&(p-=k.bottom-m.bottom):k.leftm.right&&w&4&&(p-=k.right-m.right);k=p}k=wt(b)?new A(a.bm,k):new A(k,a.bm);p=wt(b)?6:9;a.Uk&&2==e&&(p=wt(b)?4:1); w=b^3;wt(b)&&"rtl"==a.i.dir&&(w=b);h=Tr(a.i,xt(w,c),a.g,h,k,g,a.Ll?p:0,void 0,a.Ea);if(2!=e&&h&496){vt(a,b^3,c,d,a.Uk&&0==e?1:2,g);return}!a.N||h&496||(e=parseFloat(a.g.style.left),g=parseFloat(a.g.style.top),isFinite(e)&&0==e%1&&isFinite(g)&&0==g%1||jh(a.g,Math.round(e),Math.round(g)))}yt(a,b,c,d)} function yt(a,b,c,d){var e=a.s;Sc(a.o,function(g){Lb(e,g,!1)},a);x(e,a.o[b]);e.style.top=e.style.left=e.style.right=e.style.bottom="";a.i?(c=uh(a.i,a.g),d=zt(a.i,b),wt(b)?e.style.top=At(c.y+d.y,a.g.offsetHeight-15)+"px":e.style.left=At(c.x+d.x,a.g.offsetWidth-15)+"px"):e.style[0==c?wt(b)?"top":"left":wt(b)?"bottom":"right"]=d+"px"}function At(a,b){return 15>b?15:we(a,15,b)}function xt(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 zt(a,b){var c=0,d=0;a=L(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 A(c,d)}function wt(a){return 0==a||3==a}f.Ll=!1;f.Wk=2;f.lo=20;f.jj=3;f.Ea=null;f.bm=-5;f.Uk=!1;function Bt(a){zi.call(this);this.i=a||Te()}n(Bt,zi);Bt.prototype.s=function(){um(this.ha(),"tooltip");X(this.ha(),"live","polite")};function Ct(a){Bt.call(this,a);this.g=this.i.Ra("DIV",Dt()+"-contentId");this.j=this.i.Ra("DIV",Dt()+"-arrow",this.i.Ra("DIV",Dt()+"-arrowimplbefore"),this.i.Ra("DIV",Dt()+"-arrowimplafter"));this.o=this.i.Ra("DIV",{"class":Dt(),role:"tooltip"},this.g,this.j);this.s()}n(Ct,Bt);function Dt(){return"jfk-tooltip"}Ct.prototype.ha=function(){return this.o};Ct.prototype.wa=function(){Bt.prototype.wa.call(this);this.o&&H(this.o)};function Et(a){Ct.call(this,a)}n(Et,Ct);Et.prototype.s=function(){um(this.ha(),"tooltip")};function Ft(a){return Ie(Pb(a.replace(Gt,function(b,c){return Ht.test(c)?"":" "}).replace(/[\t\n ]+/g," ")))}var Ht=/^(?:abbr|acronym|address|b|em|i|small|strong|su[bp]|u)$/i,Gt=/]*)?>/gi;function It(a){a=a||Te();var b=Ta(a.g);Jt[b]||(Jt[b]=new Kt(a))}function Lt(a,b){var c=b instanceof Vd?Ft(Wd(b)):b;a.removeAttribute("title");a.removeAttribute("data-tooltip-contained");a.removeAttribute("data-tooltip");b?(b instanceof Vd?a.i=b:(a.setAttribute("data-tooltip",b),a.i=null),a.setAttribute("aria-label",c)):(a.i=null,a.removeAttribute("aria-label"));It(Te(a))}var Jt={}; function Kt(a){dj.call(this);this.va=a;this.ua=new am(this.Lw,0,this);Ai(this,this.ua);var b=kf();this.ma="function"===typeof b.MutationObserver?new b.MutationObserver(r(this.Qt,this)):null;a=a.g;this.ka(a,"mouseout mousedown click blur focusout keydown".split(" "),this.kt,!0);this.ka(a,["mouseover","focus","focusin"],this.uw,!0)}n(Kt,dj);f=Kt.prototype;f.wa=function(){Mt(this);dj.prototype.wa.call(this)}; function Nt(a,b){switch(b.type){case "mousedown":case "mouseover":case "mouseout":case "click":a.Ba=!1;break;case "keydown":a.Ba=!0}}f.uw=function(a){this.ma&&this.ma.disconnect();Nt(this,a);var b=a.target;a="focus"==a.type||"focusin"==a.type;var c=this.g&&Bf(this.g.g,b);if(this.Ba||!a||c){this.Ca=a;if(a=b&&b.getAttribute&&this.ma)a=b.getAttribute("role")||null,a=ob(tm,a);a&&(this.ma.observe(b,{attributes:!0}),(a=wm(b))&&(b=a));this.o=b}else this.o=null;Ot(this)}; f.kt=function(a){Nt(this,a);var b=a.target;b=this.g&&Bf(this.g.g,b);if("mousedown"!=a.type&&"click"!=a.type||!b)this.o=null,Ot(this)};f.Qt=function(a){v(a,r(function(b){var c=wm(b.target);c&&"aria-activedescendant"==b.attributeName&&(this.o=c,Ot(this))},this))};function Ot(a){if(!(a.ua.isActive()&&a.i&&a.O)){Mt(a);var b=null!=a.O?a.O:50;a.ua.start(a.i?b:300)}}function Mt(a){a.oa&&(Mk(a.oa),a.oa=0,a.i=null)} f.Lw=function(){if(!this.o)Pt(this),this.O=this.i=null;else if(!(this.i&&this.g&&Bf(this.g.ha(),this.o))||this.i.getAttribute("data-tooltip-unhoverable")){var a=Mf(this.o,function(k){return k.getAttribute&&(k.getAttribute("data-tooltip-contained")||k.getAttribute("data-tooltip")||k.i)&&!k.getAttribute("data-tooltip-suspended")}),b=!1;this.i&&this.i!=a&&(Pt(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.Ca&&"mouse"==a.getAttribute("data-tooltip-trigger")))){var c=ge;if(a.getAttribute("data-tooltip-contained"))for(var d=$e("jfk-tooltip-data",a),e=0;e=Wg(this.Ka,this.O))}if(b){if(this.Ci(),this.Yb=null,b=this.oa)b.Yb=null}else 3==hu(this)&&this.Rg();ou.ta.ih.call(this,a)};f.Hl=function(){this.Yb!=this.ha()&&(this.Ji=!1,this.Yb=this.ha())};f.Al=function(){return this.Ji?100:ou.ta.Al.call(this)};function qu(a,b){a=new ou(a);a.rm(Ks(ql(b.innerHTML,{af:"0954fe00-75b6-49fb-8f60-c8631eadc3e0"})));a.className="buy-tip-card";a.va=new Tg(5,5,5,5);a.nj=!0;a.rh=500;a.ki=250};function ru(a,b){this.Eb=a||200;this.yb=b||108;W.call(this)}u(ru,W);ru.prototype.Fb=function(){return this.Eb};ru.prototype.Db=function(){return this.yb};function su(a){fu.call(this,a,void 0,void 0);this.Go=!1;this.nj=!0;this.rh=500}n(su,ou);su.prototype.dk=function(a,b){b||(b=new Yr(a,9,!0));ou.prototype.dk.call(this,a,b)};su.prototype.className="unified-hovercard";var tu="ganpub ganclk dapp source_ip source_country source_domain authuser".split(" ");function uu(a){var b=void 0===b?window.location.href:b;var c=new R(b);S(a,"hl","en");(b=T(c,"output"))&&S(a,"output",b);b=T(c,"source");"ge-ipad-app"==b?(S(a,"dapp","2"),Nj(a,"output")):"ge-tablet-app"==b?(S(a,"dapp","4"),Nj(a,"output")):"ge-ip-app"==b?S(a,"dapp","1"):"ge-android-app"==b&&S(a,"dapp","3");T(c,"authuser")||Nj(a,"authuser");tu.forEach(function(d){var e=T(c,d);e&&S(a,d,e)})};function vu(a,b,c){zi.call(this);this.i=null;this.data=a;this.g=b;this.maxWidth=c||500}n(vu,zi);vu.prototype.wa=function(){this.i&&this.i.Ha()};function wu(a){return a.i||(a.i=new dj(a))} vu.prototype.j=function(a){var b=C("DIV"),c=new R(this.data.Aa.jh||this.data.Aa.Yp);this.data.Aa.source&&S(c,"source",this.data.Aa.source);var d=this.data.kb();this.data.Aa.wq&&(d+=": "+this.data.Aa.wq);d=C("A",{},d);d.classList.add(this.g+"-title");pe(d,c.toString());b.appendChild(d);a.appendChild(b);xu(this,a);b=C("DIV");if("number"===typeof(this.data.Aa.bq||0)){d=this.data.Aa.bq||0;c=Math.floor(d);d=0)|()/ig,Au={VIEW_PAGES_PARTIAL:2,VIEW_PAGES_ALL:5,VIEW_PAGES_PARTIAL_FIXED:6,VIEW_PURCHASED:7,VIEW_GOOGLE_EDITIONS_PREVIEW:8};function Bu(){this.Aa={}}f=Bu.prototype;f.kb=function(){return this.Aa.title};f.ac=function(){return this.Aa.Hm};f.Xd=function(){return this.Aa.Xd};f.Ml=function(){return this.Aa.Ml};f.lg=function(){return this.Aa.lg};f.oi=function(){return this.Aa.oi};function Cu(){this.g=[]}f=Cu.prototype;f.getId=function(){return this.Bb};f.oh=function(a){this.Bb=a};f.kb=function(){return this.Jc};f.ah=function(){return this.o};function Du(a,b,c){Eu(a,b)||null==a.ma||!a.j?c&&c(null):Fu(b,a.ma.clone(),r(a.et,a,b,c||function(){}))}function Gu(a,b,c){Eu(a,b)&&null!=a.oa&&a.na?Fu(b,a.oa.clone(),r(a.ut,a,b,c||function(){})):c&&c(null)}function Fu(a,b,c){S(b,"id",a);Rk(b,c,"POST")}f.et=function(a,b,c){var d=null;Zk(c.target)&&(d=new Bu,d.Aa.Hm=a,this.g.push(d));b(d)}; f.ut=function(a,b,c){var d=null;Zk(c.target)&&(d=Eu(this,a),Hu(this,d));b(d)};function Hu(a,b){sb(a.g,function(c){return c.ac()==b.ac()})}function Eu(a,b){return mb(a.g,function(c){return c&&c.ac()==b})};function Iu(a){this.Aa={};this.Aa.title=a.title;this.Aa.wq=a.subtitle;this.Aa.Xk=a.authors;this.Aa.Yp=a.preview_url;this.Aa.jh=a.info_url;this.Aa.Rj=a.pub_date;this.Aa.Jp=a.num_pages;this.Aa.Hq=a.viewability;this.Aa.Nx=a.subject;this.Aa.zq=a.thumbnail_url;this.Aa.Am=a.snippet;this.Aa.Cx=a.list_price;this.Aa.lq=a.sale_price;this.Aa.Jx=a.sale_price_better;this.Aa.Dv=a.offer_price;this.Aa.bl=a.buy_url;this.Aa.cq=a.read_url;this.Aa.Jj=a.is_free_ebook||!1;this.Aa.Hj=a.in_my_ebooks||!1;this.Aa.Dx=a.my_ebooks_url|| "";this.Aa.bq=a.rating_score||0;this.Aa.Bv=a.num_reviews||0;this.Aa.Xd=a.is_purchased||!1;this.Aa.ni=a.is_ebook||!1;this.Aa.Rx=a.write_review_url||"";this.Aa.It=a.add_to_my_ebooks_url||"";this.Aa.Yv=a.preview_ebook_url||"";this.Aa.mw=a.reviews_url||"";this.Aa.kk=a.view_order_url||"";this.Aa.tx=a.add_to_my_ebooks_url;this.Aa.dt=a.add_to_my_ebooks_url_is_on_play||!1;this.Aa.Fj=a.has_flowing_text||!1;this.Aa.Gj=a.has_scanned_text||!1;var b=cp(a.info_url);this.Aa.Hm=b;this.Aa.vx=a.canonical_atb_url|| "";this.Aa.Ml=a.is_rentable||!1;this.Aa.ng=a.is_pre_order||!1;this.Aa.Sp=a.on_sale_date||"";this.Aa.lg=a.is_pre_ordered||!1;this.Aa.Bx=a.issue_volume_count||0;this.Aa.oi=a.is_volume_cancelled||!1;this.Aa.gt=a.cancelled_reason||"0";switch(a.rental_state){case 1:this.Aa.Tj=1;break;case 2:this.Aa.Tj=2}this.Aa.iw=a.rental_end_utc||0}n(Iu,Bu);function Ju(a){this.g=[];this.oh(a.id);this.s=a.owner_uid;this.Jc=a.title;this.o=a.description;this.va=a.num_volumes;this.Ge=a.access||"0";this.Pa=a.can_modify_metadata;this.O=a.predefined;this.na=a.can_remove_volumes;this.j=a.can_add_volumes;this.ua=a.can_only_add_ebooks||!1;this.ma=new R(a.add_vol_base_url);this.oa=new R(a.del_vol_base_url);void 0!==a.paused&&(this.i=a.paused,this.N=a.pause_bookshelf_url);a.volumes&&(this.g=jb(a.volumes,function(b){return new Iu(b)}))}n(Ju,Cu);function Ku(){W.call(this);this.j=[];this.i=[]}u(Ku,W);function Lu(a){var b=new R(kf().location);b=new R(b);return a===parseInt(T(b,"as_coll"),10)}function Mu(a,b,c){Nu(a,b.getId())||(a=b.O?a.j:a.i,c?wb(a,void 0,0,b):a.push(b))}function Ou(a,b,c){var d=1==b.Ge;a=new R(a);S(a,"cl_title",b.kb());S(a,"cl_mode",d?"public":"private");b="cl_des="+encodeURIComponent(String(b.ah()));Rk(a,c,"POST",b)} Ku.prototype.N=function(a){a=a.target;if(Zk(a)){a=new Ju(al(a));var b=Nu(this,a.getId());b.Jc=a.kb();b.o=a.ah();b.Ge=a.Ge;b=new Ci("update",this);b.shelf=a;this.dispatchEvent(b)}};Ku.prototype.s=function(a,b){b=b.target;Zk(b)&&(b=new Ju(al(b)),Mu(this,b,a),a=new Ci("add",this),a.shelf=b,this.dispatchEvent(a))};function Pu(a,b){a.o=new R(b);S(a.o,"jscmd","ClCreate")}function Nu(a,b){return mb(Qu(a),function(c){return c.getId()==b})}function Qu(a){return Bb(a.j,a.i)};function Ru(a,b){var c=C("A",{},"View order");pe(c,a);c.classList.add(b);return c};function Su(a,b,c){vu.call(this,a,b,c);T(new R(this.data.Aa.jh),"dapp")}n(Su,vu); Su.prototype.render=function(a){rf(a);var b=C("DIV",this.g),c=C("DIV",this.g+"-meta");this.j(c);var d=C("DIV",this.data.Aa.ni?this.g+"-footer":this.g+"-footer-nonebook"),e=C("DIV",this.g+"-footer-inner");if(this.data.Aa.ni)if(this.data.oi()&&Lu(1))Tu(this,e);else if(this.data.Aa.ng&&!this.data.Xd()||this.data.lg()){var g=C("DIV",this.g+"-pre-order-date");g.textContent="Available on: "+this.data.Aa.Sp;e.appendChild(g);this.data.lg()&&Lu(1)&&Tu(this,e)}else if(this.data.Xd()&&Lu(1))Uu(this,e),Tu(this, e);else{Uu(this,e);g=!this.data.Xd()&&!this.data.Aa.Jj;var h=this.data.Aa.Jj&&!this.data.Aa.Hj;if(g||h){g=C("SPAN",{"class":this.g+"-footer-inner-right"});if(h=this.data.Aa.Yv||this.data.Aa.cq){for(var k=h.search(xj),l=0,m,p=[];0this.maxWidth&&K(a,this.maxWidth,"")}; Su.prototype.j=function(a){if(!(this.data.Xd()||this.data.lg()||this.data.oi())&&this.data.Aa.kk&&Lu(1)){var b=C("IMG",{src:"/googlebooks/images/purchase_error.gif","class":this.g+"-error-icon"});b=C("DIV",this.g+"-card-error",b,"Credit card declined:");if(this.data.Aa.kk){var c=Ru(this.data.Aa.kk,"primary"),d=C("SPAN");d.innerText=" ";b.appendChild(d);b.appendChild(c)}a.appendChild(b)}vu.prototype.j.call(this,a);b=C("DIV",this.g+"-book-options");this.data.Aa.ni?(this.data.Aa.Jj?this.data.Aa.Hj? Vu(this,b):zu(this,b,"Read eBook",this.data.Aa.It,!this.data.Aa.dt,void 0,"unified-hovercard-free-btn"):this.data.lg()?(c=C("SPAN",this.g+"-pre-ordered","Pre-ordered"),b.appendChild(c)):this.data.oi()&&Lu(1)?(c=C("DIV",this.g+"-cancelled"),d=this.data.Aa.gt,0==d?I(c,"Cancelled - by customer request"):1==d?I(c,"Cancelled - problem with eBook"):2==d?I(c,"Cancelled - price change"):3==d?I(c,"Cancelled - publisher cancellation"):I(c,"Cancelled"),b.appendChild(c)):this.data.Xd()||this.data.Aa.Hj?!this.data.Xd()&& this.data.Aa.Hj?Wu(this,b):this.data.Xd()&&Vu(this,b):Wu(this,b),Lu(7)&&(c=C("SPAN",this.g+"-offline-remove-options"),d=C("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.Aa.Yp,Vc(Au,this.data.Aa.Hq)&&!Ob(c)?zu(this,b,"Preview",c,void 0,void 0,"unified-hovercard-preview-sample"):zu(this,b,"Preview",c,!1,!0,"unified-hovercard-preview-sample"));a.appendChild(b)}; function Tu(a,b){var c=C("DIV",{id:"unified-hovercard-purchased-shelf-links","class":a.g+"-order-links-container"}),d=a.data.Aa.kk;d&&(d=Ru(d,""),c.appendChild(d));a.data.lg()||(d=C("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 Wu(a,b){a.data.Aa.ng&&!a.data.Xd()?zu(a,b,"Pre-order eBook - "+a.data.Aa.lq,a.data.Aa.bl,void 0,void 0,"unified-hovercard-buy-btn"):a.data.Ml()?zu(a,b,"EBOOK FROM "+a.data.Aa.Dv,a.data.Aa.bl,void 0,void 0,"unified-hovercard-buy-btn"):zu(a,b,"Buy eBook - "+a.data.Aa.lq,a.data.Aa.bl,void 0,void 0,"unified-hovercard-buy-btn")}function Vu(a,b){zu(a,b,"Read now",a.data.Aa.cq,void 0,void 0,"unified-hovercard-read-now")} function Uu(a,b){var c=C("DIV",a.g+"-supported-devices"),d=a.g+"-device-type",e=a.g+"-device-supported",g=a.g+"-device-not-supported",h=C("SPAN",d,"Web"),k=C("SPAN",d,"Tablet / iPad"),l=C("SPAN",d,"eReader");d=C("SPAN",d,"Smartphone");var m=C("SPAN","goog-inline-block"),p=C("SPAN","goog-inline-block"),w=C("SPAN","goog-inline-block"),D=C("SPAN","goog-inline-block");a.data.Aa.Fj?(x(m,e),x(p,e),x(w,e),x(D,e)):(a.data.Aa.Gj?(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 Xu(a,b,c){su.call(this,a);this.Zb=Ul();this.j=this.Ba=this.s=null;this.Tb=b;this.i=null;this.Xb=!!c;this.render(b);Yu(this)}n(Xu,su);Xu.prototype.wa=function(){wu(this.i).Ha();H(this.ha())};Xu.prototype.ti=function(a,b){su.prototype.ti.call(this,a,b);this.isVisible()&&(this.Wl=this.Zb?new Tg(0,-2,0,0):new Tg(0,0,0,-2),this.isVisible()&&this.Ag(),this.s=this.g,Zu(this))}; Xu.prototype.render=function(a){this.i&&(this.i.Ha(),this.j=this.Ba=null);this.i=new Su(a,this.className,435,this.Xb);this.i.render(this.ha());Yu(this);this.isVisible()&&Zu(this)}; function Zu(a){var b=C("DIV"),c=C("DIV");var d=zh(a.s||null);var e=zh(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=ah(e,d);h||(h=new Xg(d.left,0,d.width,0));d=a.Zb?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.o=C("SPAN",["bookcard-badge","bookcard-sample-label"],a),b.appendChild(this.o)):!this.s||this.i.Xd()||this.i.Aa.Jj||(this.o=C("SPAN",["bookcard-badge","bookcard-sample-label"], "Sample"),b.appendChild(this.o));Ti(b,"mouseover",this.na.bind(this,b))};$u.prototype.oa=function(){this.dispatchEvent("render");av.dispatchEvent("complete");this.o&&yh(this.o,L(this.j).width)};$u.prototype.na=function(a,b){(new Xu(a,this.i)).Se(b)};function bv(a,b,c){$u.call(this,a,b-40,c);this.N=C("DIV","slider-annotation");this.O=!1}n(bv,$u);bv.prototype.Uc=function(a){Ti(this,"render",r(this.ua,this));$u.prototype.Uc.call(this,a);a.appendChild(this.N)};bv.prototype.ua=function(a){this.O||(a.stopPropagation(),a=this.ma(),this.N.appendChild(a),this.O=!0,this.dispatchEvent("render"))};function cv(a,b,c){bv.call(this,a,b,c)}n(cv,bv);cv.prototype.Uc=function(a){bv.prototype.Uc.call(this,a)};cv.prototype.ma=function(){var a=this.i,b=F("DIV"),c=C("A",{className:"slider-annotation-title"},of(a.kb()));pe(c,a.Aa.jh);b.appendChild(c);if(a=a.Aa.Xk)a=C("DIV","slider-annotation-author",of(a)),b.appendChild(a);K(b,L(this.j).width+5,"");return b};function dv(){this.g=ev;this.vg=5E3}var fv=0;dv.prototype.send=function(a,b,c,d){a=a?$c(a):{};d=d||"_"+(fv++).toString(36)+Date.now().toString(36);var e="_callbacks___"+d;b&&(q[e]=gv(d,b),a.callback=e);b={timeout:this.vg,jt:!0};e=qd.exec(pd(this.g).toString());var g=e[3]||"";e=rd(e[1]+sd("?",e[2]||"",a)+sd("#",g));b=uo(e,b);po(b,null,hv(d,a,c));return{Bb:d,yo:b}};dv.prototype.cancel=function(a){a&&(a.yo&&a.yo.cancel(),a.Bb&&iv(a.Bb,!1))};function hv(a,b,c){return function(){iv(a,!1);c&&c(b)}} function gv(a,b){return function(c){iv(a,!0);b.apply(void 0,arguments)}}function iv(a,b){a="_callbacks___"+a;if(q[a])if(b)try{delete q[a]}catch(c){q[a]=void 0}else q[a]=Oc};function jv(a,b,c){Q.call(this);this.ma=a;this.na=c;this.j=b;O(b,["hilite","select","canceldismiss","dismiss"],this.handleEvent,!1,this);this.N=null;this.i=[];this.o=-1;this.g=0;this.s=this.O=null;this.va={}}u(jv,Q);f=jv.prototype;f.Ak=!0;f.Vk=!1;f.Bd=function(){return this.j}; f.handleEvent=function(a){var b=this.ma;if(a.target==this.j)switch(a.type){case "hilite":this.Te(a.Nf);break;case "select":var c=!1;if("number"===typeof a.Nf){a=a.Nf;var d=this.i[kv(this,a)];c=!!d&&b.Nl&&b.Nl(d);d&&!c&&this.o!=a&&this.Te(a)}c||this.qg();break;case "canceldismiss":lv(this);break;case "dismiss":mv(this)}};f.Ai=function(a){this.N!=a&&(this.N=a,this.ma.hq(this.N,10,r(this.sv,this)),lv(this))};f.xd=function(){return this.j.isVisible()}; function nv(a){for(var b=a.g+a.i.length-1,c=a.o,d=0;d=a.g&&cb||b>=a.i.length?-1:b}f.update=function(a){this.na.update(a)};function pv(a){var b=0,c=0;rv(a)&&(b=a.selectionStart,c=-1);return[b,c]}function rv(a){try{return"number"==typeof a.selectionStart}catch(b){return!1}};function sv(a,b,c,d){zi.call(this);d=d||150;this.j=null!=c?c:!0;this.s=a||",;";this.ua=this.s.charAt(0);a=this.j?"[\\s"+this.s+"]+":"[\\s]+";this.na=new RegExp("^"+a+"|"+a+"$","g");this.oa=new RegExp("\\s*["+this.s+"]$");this.O=b||"";this.va=this.j;this.Ya=0b.g)c--;else{b.Vk&&c==b.g&&b.Te(-1);break}if(b.Te(c))break a}a.preventDefault();return!0}break;case 9:if(!this.g.xd()||a.shiftKey)this.g.Le();else if(this.update(),this.g.qg()&&this.va)return a.preventDefault(),!0;break;case 13:if(this.g.xd()){if(this.update(),this.g.qg())return a.preventDefault(), a.stopPropagation(),!0}else this.g.Le();break;case 27:if(this.g.xd())return this.g.Le(),a.preventDefault(),a.stopPropagation(),!0;break;case 229:if(!this.Qf)return this.Qf||(this.i.ka(this.Mb,"keyup",this.Op),this.i.ka(this.Mb,"keypress",this.Np),this.Qf=!0),!0}return vv(this,a)};function vv(a,b){var c=a.j&&b.charCode&&-1!=a.s.indexOf(String.fromCharCode(b.charCode));c&&a.update();return c&&a.g.qg()?(b.preventDefault(),!0):!1}f.pu=function(){return!1};f.bn=function(a){uv(this,a.target||null)}; function uv(a,b){ij(a.N);a.g&&lv(a.g);b!=a.Mb&&(a.Mb=b,a.Ya&&(a.Ya.start(),a.i.ka(a.Ya,"tick",a.fn)),a.Tl=a.Cb(),a.o.attach(a.Mb),a.i.ka(a.o,"key",a.en),a.i.ka(a.Mb,"mousedown",a.Pp),z&&a.i.ka(a.Mb,"keypress",a.Mp))}f.mr=function(){this.Mb&&(this.i.Xa(this.o,"key",this.en),Xq(this.o),this.i.Xa(this.Mb,"keyup",this.pu),this.i.Xa(this.Mb,"mousedown",this.Pp),z&&this.i.Xa(this.Mb,"keypress",this.Mp),this.Qf&&wv(this),this.Mb=null,this.Ya&&(this.Ya.stop(),this.i.Xa(this.Ya,"tick",this.fn)),this.g&&mv(this.g))}; f.fn=function(){this.update()};f.Mv=function(a){this.bn(a)};f.en=function(a){this.ma=a.keyCode;this.g&&this.Vc(a)};f.Np=function(){this.Qf&&229!=this.ma&&wv(this)};f.Op=function(a){this.Qf&&(13==a.keyCode||77==a.keyCode&&a.ctrlKey)&&wv(this)};f.Pp=function(){};function wv(a){a.Qf&&(a.Qf=!1,a.i.Xa(a.Mb,"keypress",a.Np),a.i.Xa(a.Mb,"keyup",a.Op))}f.Mp=function(a){vv(this,a)}; f.update=function(a){if(this.Mb&&(a||this.Cb()!=this.Tl)){if(a||!this.km){a=pv(this.Mb)[0];var b=this.Cb();a=qv(this,b)[ov(this,b,a)];a=this.na?String(a).replace(this.na,""):a;this.g&&(this.g.O=this.Mb,this.g.Ai(a,this.Cb()))}this.Tl=this.Cb()}this.km=!1};function ov(a,b,c){a=qv(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=Of(a.g,"B"),g.className=a.Ka,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.Ba=!0}else d&&Cv(a,b,d)}}else for(b=b.firstChild;b;)d=b.nextSibling,Cv(a,b,c),b=d}function Dv(a){var b="";if(!a)return b;Array.isArray(a)&&(a=a.filter(function(c){return!Ob(Pe(c))}));Array.isArray(a)?b=0Za()-this.va)&&this.dispatchEvent({type:"hilite",Nf:this.i[a].id})};function Fv(a,b,c,d){this.ua=a;this.oa=null;this.Ka=c||null;this.Ca="boolean"===typeof b?b:!0;this.Ba=d||0;b=new Gv;c=new Hv(this.Ka||a,this.Ba);c.ua=!0;d=new sv(null,null,!1);jv.call(this,b,c,d);d.g=this;d.lr(a);this.O=a;this.Ak=!1;this.Vk=!0;O(this,"update",r(this.Ja,this))}u(Fv,jv);Fv.prototype.qg=function(){this.La=this.ua.value;Fv.ta.qg.call(this);return!1}; Fv.prototype.Ja=function(a){a.Nf&&(a=this.ua.form,this.oa||(this.oa=C("INPUT",{type:"hidden",name:"oq"}),a.appendChild(this.oa)),this.oa.value=this.La,this.Ca&&a.submit())};function Gv(){}var ev=rd(jd(kd("//suggestqueries.google.com/complete/search")));Gv.prototype.hq=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 dv;this.i.send(a,c)};Gv.prototype.g=function(a,b){var c=Array.prototype.map.call(b[1],function(d){return d[0]});a(b[0],c)}; function Hv(a,b){xv.call(this);this.Ja=a;this.La=b||0}u(Hv,xv);Hv.prototype.Bk=function(){Hv.ta.Bk.call(this);var a=0,b=B("gbfwa");b||(b=af("gbqfwa"));b&&(a=b.offsetTop+b.offsetHeight-1);Array.prototype.forEach.call(Ye("div","ac-renderer"),function(c){a&&J(c,"top",a+"px");J(c,"width",L(this.Ja).width-2+"px");J(c,"left",parseInt(c.style.left,10)+this.La+"px")},this)};function Iv(a,b,c,d,e){W.call(this);this.O=a;this.N=b;this.ua=e;this.Eb="number"===typeof d?d:this.N?200:80;this.N||x(this.O,"slider-small");this.ma=[];this.j=F("A");this.j.textContent=Ul()?"\u203a":"\u2039";this.j.setAttribute("title","Scroll left");Eh(this.j,!0);this.O.appendChild(this.j);this.i=F("div");x(this.i,"slider-drawables");this.O.appendChild(this.i);this.s=F("A");this.s.textContent=Ul()?"\u2039":"\u203a";this.s.setAttribute("title","Scroll right");Eh(this.s,!0);this.O.appendChild(this.s); this.g.ka(this.j,"click",this.am.bind(this,-.75));this.g.ka(this.s,"click",this.am.bind(this,.75));this.Ki();this.g.ka(this.j,"click",this.am.bind(this,-.75));this.resize();this.oa=0;this.na=8=a.ma.length&&a.dispatchEvent("render")}f=Iv.prototype; f.zt=function(a){var b=C("DIV",{"class":"goog-inline-block slider-loading"});this.i.appendChild(b);var c=C("DIV",{"class":"goog-inline-block slider-drawable"});M(c,!1);this.i.appendChild(c);this.g.Hf(a,"render",this.Bt.bind(this,b,c));a.Uc(c)};f.Bt=function(a,b){H(a);this.Ki();M(b,!0)};function Jv(a,b){b=b.map(function(c){return this.N?new cv(c,this.Eb):new $u(c,this.Eb,this.ua)},a);Mv(a,b)}function Mv(a,b){vb(a.ma,b);Kv(a)} f.am=function(a){(Ul()?0>a:0=this.i.scrollWidth-L(this.i).width;this.j.className=a?"slider-button slider-button-left slider-button-disabled":"slider-button slider-button-left";this.s.className=b?"slider-button slider-button-right slider-button-disabled":"slider-button slider-button-right"};f.resize=function(){this.Ki()}; function Lv(a){var b=a.N?110:50;return Math.ceil(L(a.i).width/b)};function Nv(a,b,c){W.call(this);this.i=a;this.source=b?b:"gbs_bookshelf_slider";this.ma=0;this.s=new kj;this.ua=this.s.Fa();this.oa="";this.va="boolean"===typeof c?!c:!1;Ti(this.s,"resize",r(this.mn,this))}n(Nv,W);f=Nv.prototype;f.mn=function(){this.s.Fa().width>this.ua.width?this.Sh():Ti(this.s,"resize",r(this.mn,this))};f.render=function(a){this.N=a;this.j=this.Bl(a);this.g.ka(this.j,"render",r(this.Sh,this))};f.Bl=function(){return new Iv(this.N,!0,void 0,void 0,this.i.getId())}; f.Sh=function(){this.j.resize();var a=Math.ceil(1.25*Lv(this.j))+1,b=this.yf(this.ma,a);b&&(this.ma+=a,Rk(b,r(this.Qu,this)))};f.Yg=ba(9);f.Qu=function(a){a=a.target;if(Zk(a)){if((a=(new Ju(al(a))).g)&&a.length){var b=cp(a[a.length-1].Aa.jh);this.oa!=b&&(this.oa=b,Mv(this.j,Ov(this,a)));(a=Lf(this.ha()))&&Ah(a,1)}else 0==this.j.oa&&this.gq();this.dispatchEvent("success")}}; function Ov(a,b){return a.jl(b).map(function(c){return this.j.N?new cv(c,200,this.i.getId()):new $u(c,80,this.i.getId())},a)}f.gq=function(){};f.ha=function(){return this.N};f.jl=function(a){return this.source?a.map(function(b){b.Aa.source=this.source;return b},this):a};function Pv(a,b,c){this.j=a;this.g=b;this.o=c||!1;a=this.Fa();this.i()?a.height=120:a.height=65;this.nb(a)}n(Pv,Hl);Pv.prototype.i=function(){var a=B("gb-mobile-menu-pubinfo");return a?0=d||1==Math.abs(c-d)?d="Some pages are omitted from this book preview.":Zv(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 Yv(a){a=a.kb();var b;/[^0-9]/.test(a)||Ob(a)?b=null:b=Nb(a,"B")?ct(a,ft):ct(a,et);return b} function Zv(a,b){a=Yv(a);b=Yv(b);return 0==a+1-(b-1)};function $v(a,b){W.call(this);this.s=a;this.N=b;this.o=b.j;this.j=b.g;this.i=F("DIV");this.i.className="separator-container";this.s.appendChild(this.i);a=F("TABLE");a.className="separator-outer-table";this.i.appendChild(a);var c=a.insertRow(-1).insertCell(-1);c.align="center";var d=F("DIV");d.className="separator-background";c.appendChild(d);c=F("TABLE");c.className="separator-inner-table";d.appendChild(c);c.align="center";if(b.i()){var e=B("gb-mobile-menu-pubinfo");if(e){b=Xe("IMG",e);if(1==b.length){b= b[0].cloneNode(!0);var g=c.insertRow(-1).insertCell(-1);uf(g,b,0);x(g,"separator-message");x(g,"separator-pubinfo-message")}b=Xv(this.o,this.j);e=If(e);c=c.insertRow(-1).insertCell(-1);g=F("SPAN");g.className="separator-text";c.appendChild(g);var h=this.N;h.i&&h.o?N(g,mi(e)):N(g,mi(b+""+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=Xv(this.o,this.j);Eh(this.i, !0);V(this.i)}n($v,lm);$v.prototype.nb=function(a){K(this.i,a)};$v.prototype.setPosition=function(a){jh(this.i,a)};$v.prototype.Na=function(){H(this.i)};function aw(a){var b=this;W.call(this);this.s=a;this.j=a.o;this.nb(Ih(this.j));this.Ib=new A(0,0);this.O=null;this.na=new am(function(){M(b.O,!1)},600);Ai(this,this.na)}u(aw,W);f=aw.prototype;f.nb=function(a){if(!this.i||!Be(this.i,a)){this.i=a;var b=this.s;b.ma=a;bw(b);this.dispatchEvent("resize")}};f.ad=function(a){this.zc=a;this.N.Na();var b=this.s,c=this.Fa();b.ma=c;bw(b);b=this.s;a=new Ae(a.Db(),a.Fb());b.oa=a;b.s=!0;K(b.i,a);U(b.na,0,b);bw(b);this.dispatchEvent("layoutchange")}; function cw(a,b){a.N=b}f.zl=function(){return this.N};f.Lb=function(){return this.zc};f.mc=function(){var a=this.zc.Qd();this.oa&&(a=this.oa.xl(a));Kp(this.N,a);this.dispatchEvent("update")};function dw(a,b){a.oa=b} f.hd=function(a){var b=this.Ib.x,c=this.Ib.y;"number"===typeof a.x&&(a.x=we(a.x,0,Math.max(this.zc.Db()-this.i.width,0)));"number"===typeof a.y&&(a.y=we(a.y,0,Math.max(this.zc.Fb()-this.i.height,0)));"number"===typeof a.x&&(b=a.x);"number"===typeof a.y&&(1c.width||Math.abs(b.y-a.y)>c.height?this.Kd(a):(this.o&&(this.o.Ha(),this.o=null),this.o=new hm([b.x,b.y],[a.x,a.y],250+250*we(ye(b,a)/800,0,1),km),O(this.o,"animate",r(this.on,this)),O(this.o,"end",r(this.pr,this)),this.dispatchEvent("movestart"),Ti(this,"movestart",r(this.o.Ha,this.o)),this.o.play())};f.on=function(a){a=a.coords.map(Math.round);this.hd(new A(a[0],a[1]))};f.pr=function(a){this.on(a);this.dispatchEvent("moveend")}; f.Hb=function(){return this.j};f.Re=ba(10);f.Pc=function(){return new A(Math.round(this.Ib.x+this.i.width/2),Math.round(this.Ib.y+this.i.height/2))};f.We=function(a){return new A(Math.round(a.x+this.i.width/2*-1),Math.round(a.y+this.i.height/2*-1))};f.wa=function(){aw.ta.wa.call(this);this.N.Na()};f.tl=function(a){null==this.O&&(this.O=a);this.O.style.opacity=0;this.na.start()};f.Ft=function(){var a=this;this.na.stop();M(this.O,!0);U(function(){a.O.style.opacity=1})};f.nn=1;function gw(a,b){aw.call(this,b);this.wb=a;this.g.ka(a,"pagechange",this.Ud);this.g.ka(this.wb,"searchupdate",this.Gl);if(a=B("subscription-bar"))this.g.ka(this,"scrolldown",t(this.tl,a)),this.g.ka(this,"scrollup",t(this.Ft,a))}u(gw,aw);f=gw.prototype;f.Rd=function(){var a=this.zc.Qd(),b=[];this.oa&&(a=this.oa.Bi(a)[0]||[]);v(a,function(c){c instanceof Sl&&b.push(c.Ga())});return b};f.yg=function(a){this.sg(!1,!1);this.jf(this.Ug(a))}; f.hf=function(a){var b=[];"fixed_width"==this.Lb().hg()&&b.push(this.Fa().width);this.le&&(a=Mp(this.le(),this.Lb().s(),a,b))&&this.yg(a)};f.Oe=function(){this.sg(!0,!1);var a=this.Fa().width;this.jf(this.Ug(a))};f.Ff=ba(11);f.sg=function(a,b){this.Wg=a;this.tj=b};f.resize=function(){if(this.Wg)this.Oe();else{var a=this.Lb().s();a&&this.yg(a)}};f.jf=function(a){var b=this.Lb();this.ad(a);b&&(a=qm(new pm(b,a),this.Pc()),(a=this.We(a))&&this.Kd(a))};f.Ud=function(){this.li||this.Td(this.wb.Ga())}; f.Td=function(a){this.zc.Dc&&(a=this.zc.Dc(a))&&this.hd(new A(Math.round(a.je()),Math.round(a.vd())))};f.Gl=function(){hw&&(this.zl().Na(),this.va&&this.va(),this.mc())};var hw=!0;function iw(a,b){this.Ea=a;this.g=b}n(iw,mp);iw.prototype.render=function(a){var b=this.g(),c=a.Ga(),d=fb(this.Ea.le().Rf)/a.Fa().width,e=a.Fa();b.Oj=e.width;b.mh=e.height;e=a.Fa().clone();e.width*=d;e.height*=d;b.Zu=e.width;b.Wu=e.height;b.setPosition(a.je(),a.vd());b.vb(c);b.Uc();return b};function jw(){};function kw(a){this.Ea=a}u(kw,jw);kw.prototype.xl=function(a){var b=this.Bi(a);a=b[0]||[];b=b[1]||[];b.sort(t(lw,this.Ea.Pc()));var c=[];vb(c,a,b);return c};function lw(a,b,c){return Wg(Yg(Il(b)),a)-Wg(Yg(Il(c)),a)}kw.prototype.Bi=function(a){var b=ew(this.Ea),c=new Xg(b.left-800,b.top-800,b.width+1600,b.height+1600);return Ab(a,function(d){d=Il(d);if(ah(c,d))return ah(b,d)?0:1})};function mw(a,b){this.Ea=b;this.V=a}n(mw,kw);mw.prototype.xl=function(a){var b=kw.prototype.xl.call(this,a),c=this.V.Ga();if(c){var d=[],e=this.V.rb();v([1,-1],function(){var g=fo(e,c.Qa(),1);g&&d.push(g)});v(a,function(g){g.Ga&&ob(d,g.Ga())&&pb(b,g)})}return b};function nw(){W.call(this)}u(nw,W);nw.prototype.Be=function(a){this.i=a;this.o=ow(a)};nw.prototype.wa=function(){nw.ta.wa.call(this);H(this.o)};function pw(a){W.call(this);this.ma=a;this.O=[]}u(pw,nw);f=pw.prototype;f.Be=function(a){pw.ta.Be.call(this,a);this.Ch();this.Ga()&&this.g.ka(this.Ga(),"update",this.Ch)};f.Ga=function(){return this.i.Ga()};f.Bh=function(a,b,c,d){var e=F("div");V(e,!0);this.o.appendChild(e);a=qw(this,a,b,c,d);J(e,{position:"absolute",left:a[0]+"px",top:a[1]+"px",width:a[2]+"px",height:a[3]+"px"});this.ma&&(J(e,{backgroundColor:this.ma}),Ah(e,.3));this.O.push(new Xg(a[0],a[1],a[2],a[3]));return e}; function rw(a){return a.i.Fa().width/a.i.Ga().getParent().g.width}function qw(a,b,c,d,e){var g=rw(a);return jb([b,c,d,e],function(h){return Math.round(h*g)})}function sw(a,b){v(b,function(c){this.Bh.apply(this,c)},a)}f.Fo=function(a){return this.Bh(a.left,a.top,a.width,a.height)};f.Hg=function(){rf(this.o);this.O=[]};f.Ch=function(){};function tw(){pw.call(this)}n(tw,pw);f=tw.prototype;f.Ch=function(){if(!this.j){var a=this.Ga();a&&(a=Cp(a))&&(sw(this,a),this.j=!0)}}; f.Bh=function(a,b,c,d){this.s=pw.prototype.Bh.call(this,a,b,c,d);J(this.s,{border:"2px #aaaaff dashed"});this.N=F("IMG");this.s.appendChild(this.N);this.N.src="/googlebooks/images/dialog_close_x.gif";a=qw(this,a,b,c,d);J(this.N,{position:"absolute",cursor:"pointer",left:a[2]-19+"px",top:"4px",display:"none"});O(this.s,"mouseout",r(this.qr,this));O(this.s,"mouseover",r(this.vp,this,!0));Ti(this.N,"click",r(this.Na,this));return this.s};f.Na=function(){H(this.s)}; f.qr=function(a){Bf(this.s,a.target)||this.vp(!1)};f.vp=function(a){J(this.N,{display:a?"":"none"})};function uw(a){pw.call(this);this.V=a}n(uw,pw);uw.prototype.Ch=function(){if(!this.j){var a=this.Ga();a&&(a=Bp(a))&&(v(a,function(b){var c=b.pop(),d=b.pop();b=this.Bh.apply(this,b);J(b,{cursor:"pointer"});this.g.ka(b,"click",r(this.s,this,d,c))},this),this.j=!0)}};uw.prototype.s=function(a,b){(a=go(this.V.rb(),a))?this.V.vb(a):Ro(this.V,b)};function vw(a,b){this.o=a;this.g=b}vw.prototype.Ga=function(){return this.o};vw.prototype.i=function(){return this.o.Cd(this.g)};function ww(a,b,c){vw.call(this,a,b);this.j=c}n(ww,vw);ww.prototype.i=function(){return this.j.width>this.g.width?this.o.Cd(this.j):vw.prototype.i.call(this)};function xw(a,b,c,d,e){W.call(this);this.qh(a.Ia());this.V=a;this.i=c;this.na=[];this.qn=d;K(d,c);this.ua=ow(this);J(this.ua,"backgroundColor","#fff");K(this.ua,c);if(this.Ba=void 0!==e?e:!0)a=ow(this),K(a,c),this.va=new yw(a),this.va.show();b&&(this.o=b,this.g.ka(b,"update",this.Ig),To(b))}u(xw,W);f=xw.prototype;f.Fa=function(){return this.i};f.Ga=function(){return this.o};function zw(a,b){a.na.push(b);b.Be(a)}f.Ig=function(){};function Aw(a){a.dispatchEvent("load");a.Ba&&a.va.lb()} function ow(a){var b=F("div");V(b,!0);J(b,{position:"absolute",left:0,top:0});a.qn.appendChild(b);return b}f.Na=function(){v(this.na,function(a){a.Ha()});this.na=null;this.s&&H(this.s)};function Bw(a){a.N=ow(a);K(a.N,a.Fa());J(a.N,{backgroundImage:"url(//www.google.com/images/cleardot.gif)",backgroundRepeat:"repeat"});a.g.ka(a.N,"mousedown",a.rr);a.g.ka(a.N,"dragstart",Di)}f.rr=function(a){a.display=this;Cw.dispatchEvent(a)};var Cw=new Q; function yw(a){this.g=a;a={position:"absolute",left:0,color:"#808080",fontSize:"13px",backgroundColor:"white"};for(var b=0;2>b;b++){var c=F("div");V(c);J(c,a);this.g.appendChild(c);c.textContent="Loading...";a.bottom=0}}yw.prototype.show=function(a){J(this.g,{display:a?"none":""})};yw.prototype.lb=function(){this.show(!0)};xw.prototype.um=function(){Dw(this)};function Dw(a,b){a.s&&H(a.s);a.s=ow(a);new Ew(a.s,a.Fa(),b)} function Ew(a,b,c){this.g=a;J(a,{backgroundColor:"#FFF",textAlign:"center"});K(a,b);N(a,ql(c||""));V(this.g)};function Fw(a,b,c){xw.call(this,a,b.Ga(),b.g,c);this.qh(Gw);a=ow(this);this.ma=new Hw(b.g,a);a=ow(this);this.O=new Hw(b.g,a);Bw(this);Eh(c,!0);x(c,"pageImageDisplay");this.oa=b;b.Ga()&&this.Ig()}n(Fw,xw);f=Fw.prototype;f.vb=function(a){vp(a,"output",null);xw.prototype.vb.call(this,a);a.Cd()&&this.Ig()}; f.Ig=function(){var a=this.Ga(),b=this.oa.i();if(b&&!this.j){b=Iw(b);Ti(this.ma,"load",r(this.sr,this,a,b,this.Fa().width));Jw(this.ma,[b]);var c=Mo(this.V.Zb,a.Qa());c.push(b);Jw(this.O,c);this.j=!0;a==this.V.Ga()&&this.dispatchEvent("fetch")}yp(a,[16,8])&&(a=Ce('%s',ap("/googlebooks/restricted_logo.gif"),"You have either reached a page that is unavailable for viewing or reached your viewing limit for this book."),Dw(this, a),Aw(this))};f.sr=function(a,b,c){a==this.V.Ga()&&this.dispatchEvent("loaded");this.O.empty();var d=this.V.Zb;a=a.Qa();d.g[a]=d.g[a]||{};d.g[a][c]=b;Aw(this)};f.tc=ba(14);f.Na=function(){this.j=!1;this.ma.empty();this.O.empty();xw.prototype.Na.call(this)};var Gw=new Q,Iw=Pc;function Hw(a,b){Q.call(this);this.i=a;this.j=b;this.If=!1;this.g=F("IMG");this.g.width=this.i.width;this.j.appendChild(this.g);V(this.j)}n(Hw,Q);Hw.prototype.empty=function(){for(var a;a=xf(this.j);)jp(a)}; function Jw(a,b){fp(a.g,r(a.o,a,a.g));for(var c=0;cMath.abs(e[0])&&(d.x=e[1]||d.x,d.y=e[2]||d.y)});this.O||(this.O=new Kk(100),this.g.ka(this.O,"tick",this.wr));this.ma=d;d.x||d.y?this.O.start():this.O.stop()}}};f.wr=function(){var a=this.ma,b=this.Ea;fw(b,new A(15*a.x,15*a.y),r(b.Kd,b))}; f.Ct=function(){aj(this.N);yi(this.O);this.O=null};function Vw(){this.s="Selection copied to clipboard";this.g=!1;var a=C("DIV","entity-page-snackbar"),b=C("SPAN","entity-page-snackbar-text");I(b,this.s);a.appendChild(b);X(a,"hidden",!0);document.body.appendChild(a);this.o=a}Vw.prototype.show=function(){this.g?(this.i(),U(r(this.j,this),500)):this.j();U(r(this.i,this),6E3)};Vw.prototype.j=function(){J(this.o,"bottom","0");this.g=!0};Vw.prototype.i=function(){J(this.o,"bottom","-48px");this.g=!1};function Ww(a){this.i=a;this.o=new Vw;this.j=Xw(this)}Ww.prototype.ha=function(){return this.j}; function Xw(a){var b=C("DIV");Ib(b,["entity-page-copy-button","entity-page-action-chip"]);var c=C("IMG");x(c,"entity-page-action-chip-icon");c.src="https://www.gstatic.com/images/icons/material/system/1x/content_copy_googblue_18dp.png";var d=C("SPAN");x(d,"entity-page-action-chip-label");I(d,"Copy");b.appendChild(c);b.appendChild(d);O(b,"click",r(a.g,a));um(b,"button");Hf(b,!0);O(b,"keydown",function(e){32!=e.keyCode&&13!=e.keyCode||a.g.call(a)});return b} Ww.prototype.g=function(){this.i.focus();this.i.select();document.execCommand("copy");this.o.show()};function Yw(a){$r.call(this,a);gn(this);this.qo=!1;this.g=new dj;this.i=qp();x(a,"viewport-selection-popup");Zw&&Zw.Ha();Zw=this}n(Yw,$r);Yw.prototype.j=function(){this.dispatchEvent("close");this.Ha()}; function $w(a,b,c){var d=a.ha(),e=F("div");x(e,"selection-popup-select-container");d.appendChild(e);d=F("div");x(d,"selection-popup-select-label");e.appendChild(d);d.appendChild(of(b));e.appendChild(F("div"));b=F("input");b.value=c;x(b,"viewport-input");e.appendChild(b);Eh(b,!1);a.i&&(c=(new Ww(b)).ha(),e.appendChild(c));a.g.ka(b,"mousedown",ax)}function ax(a){a.stopPropagation()}Yw.prototype.wa=function(){H(this.ha());$r.prototype.wa.call(this);this.g.Ha()};var Zw=null;function bx(a,b){this.g=a instanceof A?a:new A(a,b)}u(bx,Sr);bx.prototype.Tc=function(a,b,c,d){var e=Ve(a);var g=e.body;e=e.documentElement;e=new A(g.scrollLeft||e.scrollLeft,g.scrollTop||e.scrollTop);g=this.g.x+e.x;e=this.g.y+e.y;var h=Ur(a);g-=h.x;e-=h.y;Wr(new A(g,e),a,b,c,null,null,d)};function cx(a,b){bx.call(this,a,b)}u(cx,bx);cx.prototype.i=0;cx.prototype.o=function(a){this.i=a};cx.prototype.Tc=function(a,b,c,d){var e=mh(a);e=ph(e);var g=jf(Te(a).g);g=new A(this.g.x+g.scrollLeft,this.g.y+g.scrollTop);var h=b,k=Wr(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=Wr(g,a,h,c,e,10,d);0!=(k&496)&&Wr(g,a,b,c,e,this.i,d)}};function dx(a){pw.call(this,"#4a95d6");this.j=a}n(dx,pw);dx.prototype.Be=function(a){pw.prototype.Be.call(this,a);J(this.o,{cursor:"pointer"});this.g.ka(this.o,"mousedown",ex)};function ex(a){a.stopPropagation()} function Sw(a,b,c,d){a.Hg();jb(b,r(a.Fo,a));a.N&&aj(a.N);a.s&&a.s.Ha();b=F("div");document.body.appendChild(b);var e=Ow(a.O);if(e){var g=qh(a.o);b=new Yw(b);if(c&&d){var h=a.Ga(),k=h.Cd();if(k){var l=new R(k);d=[d.left,d.top,d.width,d.height].join();S(l,"ci",d);S(l,"edge",0);l=l.toString();var m=new R(h.Ec());S(m,"ci",d);S(m,"source","bookclip");m=Ce('',m.toString(),l)}d=m;rf(b.ha());m=b.ha();h=F("IMG");h.src="/googlebooks/images/material/close_black_24dp.png";x(h, "selection-popup-close");m.appendChild(h);b.g.Hf(h,"click",r(b.j,b));h=C("DIV",{},"Share this clip");x(h,"selection-popup-title");m.appendChild(h);c&&($w(b,"Selection text",c),m=F("DIV"),x(m,"selection-popup-translate-container"),b.ha().appendChild(m),h=new R("https://translate.google.com/translate_t"),S(h,"text",c),S(h,"sl","auto"),S(h,"tl","auto"),c=F("A"),c.href=h.toString(),c.target="_blank",b.i&&(h=C("IMG"),Ib(h,["selection-popup-translate-icon","entity-page-action-chip-icon"]),h.src="https://www.gstatic.com/images/icons/material/system/1x/translate_googblue_18dp.png", c.appendChild(h)),h=C("SPAN"),I(h,"Translate"),x(h,"entity-page-action-chip-label"),c.appendChild(h),h=F("SPAN"),I(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&&$w(b,"Image",l);d&&$w(b,"Embed",d)}else c=F("DIV"),I(c,"Loading..."),x(c,"selection-popup-loading-msg"),b.ha().appendChild(c);as(b);a.s=b;c=g.x+e.left+e.width;e=g.y+e.top+e.height;g=L(b.ha()).width;24>c-g&&(c=g+24);U(t(fx,b,new cx(new A(c, e))));a.N=Ti(b,"close",r(a.Hg,a))}}function fx(a,b){a.Nd||(a.setPosition(b),a.Da(!0))}dx.prototype.Hg=function(){pw.prototype.Hg.call(this);this.s&&this.s.Ha()};dx.prototype.wa=function(){pw.prototype.wa.call(this);this.s&&this.s.Ha();this.N&&aj(this.N)};function gx(a,b,c){return a.Za().zj()?new Kw(a,b,c):new Fw(a,b,c)}function hx(a,b){if(b instanceof Fw){zw(b,new Lw(a.ub()));zw(b,new tw);var c=new dx(a.Hb()),d=new Tw(c,a.Ia());zw(b,d);zw(b,c);zw(b,new uw(a))}};function ix(a,b,c){W.call(this);this.V=a;this.Ea=b;this.j=F("div");V(this.j,!0);J(this.j,{position:"absolute",display:"none"});c.appendChild(this.j);this.s=F("div");V(this.s,!0);J(this.s,{position:"absolute"});this.j.appendChild(this.s);this.N=F("div");V(this.N,!0);this.j.appendChild(this.N);this.O=F("div");V(this.O,!0);this.N.appendChild(this.O);this.lb()}u(ix,lm);f=ix.prototype; f.Uc=function(){var a=this.Oj-2,b=this.mh-2,c=this.Zu-2,d=this.Wu-2;J(this.N,{backgroundColor:"#cccccc",position:"absolute"});jh(this.N,0,0);K(this.N,this.Oj,this.mh);J(this.O,{overflow:"hidden",backgroundColor:"#fcfcfc",position:"absolute"});jh(this.O,1,1);K(this.O,a,b);this.show();var e=this.V;a=gx(e,new ww(this.Ga(),new Ae(a,b),new Ae(c,d)),this.O);a instanceof Fw?hx(e,a):a instanceof Kw&&a instanceof Kw&&zw(a,new Lw(e.ub()));this.i=a};f.lb=function(){M(this.j,!1)};f.show=function(){M(this.j,!0)}; f.tc=ba(12);f.Na=function(){this.i&&this.i.Na();H(this.j)};f.setPosition=function(a,b){jh(this.j,a,b)};f.vd=function(){return lh(this.j).x};f.je=function(){return lh(this.j).y};f.vb=function(a){this.o=a};f.Ga=function(){return this.o};f.Fb=function(){return this.mh};f.Db=function(){return this.Oj};function jx(a){return a+2}f.Fa=function(){return new Ae(this.Oj,this.mh)};function kx(a){W.call(this);rf(a);V(a);this.o=a;this.i=F("div");V(this.i,!0);Ul()&&(df(a,{dir:"ltr"}),df(this.i,{dir:"rtl"}));a.appendChild(this.i)}u(kx,W);function lx(a,b){kx.call(this,b);this.Ea=a;this.g.ka(b,"scroll",this.N);J(b,"position","relative");J(this.i,"position","absolute");this.j=F("div");x(this.j,"scroll-background");V(this.j,!0);b.appendChild(this.j);this.j.appendChild(this.i)}n(lx,kx);function bw(a){var b=a.oa;a.ma&&b&&(J(a.i,"left",Math.floor(Math.max(0,a.Ea.s.o.clientWidth-b.width)/2)+"px"),J(a.j,"height",b.height+"px"))}lx.prototype.na=function(){this.s=!1;this.N()}; lx.prototype.N=function(){if(!this.s){var a=this.Ea.Ib;if(a){a=a.clone();var b=this.o;b=new A(b.scrollLeft,b.scrollTop);xe(a,b)||(this.O=!0,this.Ea.Kd(b),this.O=!1)}}};function mx(a){var b=a.Hb(),c=new lx(this,b);nx(b);gw.call(this,a,c);dw(this,new mw(a,this));cw(this,ox(this));var d=a.rb(),e=a.Za().hg();this.ma=a.Za().O?function(g){return new Uv(d,e,g)}:a.Za().na?function(g){return new Uv(d,e,g,!0,a.Za().na)}:function(g){return new Uv(d,e,g,!0)};b=this.wb.Za();"fixed_height"==b.hg()?(b=b.le(),b=b[Math.floor(b.length/2)]+2):b=px(b)+2;this.yg(b);this.g.ka(this.wb,"pagesupdate",this.zu);this.g.ka(this.wb,"pagemodechange",this.xr);this.g.ka(this,"move",this.mc);this.g.ka(this, "move",this.Qw)}u(mx,gw);function nx(a){J(a,"overflow","auto");J(a,{overflowX:"auto",overflowY:"scroll"});x(a,"overflow-scrolling");df(a,{dir:"ltr"})}f=mx.prototype;f.Qc=function(){this.hf(1)};f.nd=function(){this.hf(-1)};f.le=function(){var a=this.wb.Za(),b=ub(a.le());"fixed_width"==a.hg()&&(a=this.wb.Za().Pa)&&150a?pb(b,a):pb(b,1500));return new Lp(jb(b,jx))};f.Ug=function(a){return this.ma(a)}; f.Fa=function(){if(this.j.hasChildNodes()){var a=Ih(this.j.childNodes[0]).width;a=new Ae(a,this.i.height)}else a=this.i;return a};function ox(a){var b=new Ip;Jp(b,Sl,new iw(a,t(Qc,ix,a.wb,a,a.s.i)));Jp(b,Pv,new Wv(a.wb,function(c){return new $v(a.s.i,c)}));return b}f.Qw=function(){if(this.Ca){var a=Ll(this.zc,this.Pc().y);a&&a.Ga&&(a=a.Ga(),this.wb.Ga()!=a&&(this.li=!0,this.wb.Gd(a.Qa()),this.li=!1))}this.Ca=!0}; f.zu=function(){var a=this.wb.Ga(),b=this.wb.rb(),c=go(b,a.Qa());if(!c)a:{c=co(a);b=eo(b);for(a=b.length-1;0=co(c)&&ea.x&&(a.x=0);jh(this.i,a)};f.ru=function(a){a.preventDefault();a.stopPropagation();this.V.Vb("previous")}; f.Da=function(a){J(this.i,{display:a?"":"none"})};f.Uc=function(){J(this.o,{left:0,top:0});J(this.N,{left:this.j.width+"px",top:0})};f.Rd=function(){return ib([this.ua,this.Ba],function(a){return!!a})};f.Na=function(){this.s.Na();this.O.Na();for(var a;a=this.na.pop();)aj(a);this.i.parentNode&&H(this.i)};function Ex(a){return 2*a};function Fx(a){this.V=a}n(Fx,mp);Fx.prototype.render=function(a){var b=new Cx(this.V,a.Fa().width);b.setPosition(a.ud());b.Uc();b.Da(!0);return this.g=b};function Gx(a,b,c){Q.call(this);this.V=a;this.j=b;this.s=L(b).width;this.N=c;this.i=!1;this.g=Ul()}n(Gx,Q);Gx.prototype.Gf=function(){return this.i};function Hx(a,b){if(b!=a.i){a.i=b;var c=a.V.Ia().s.i;M(c,!1);L(c);[t(Ix,a.j,a.N,a.s,a.g,b),r(a.o,a),t(M,c,!0)].forEach(U)}}Gx.prototype.o=function(){this.dispatchEvent("change")};function Ix(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="");M(a,!e)};var Jx=null;function Kx(a,b){dj.call(this);this.i=Jx;this.V=a;this.g=b;this.V.Za().O||(this.ka(this.V,"pageturn",this.o),this.ka(this.g,"dispose",this.Ha))}n(Kx,dj);Kx.prototype.o=function(){var a=this.g.ma.g.Rd()[0]||new ep,b=this.g.ma.g.Rd()[1]||new ep,c=this.O,d=this.s,e=d?co(d):-1,g=co(a)||-1,h=co(b)||-1,k=Math.max(c?co(c):-1,e),l=Math.max(g,h);if(Math.abs(l-k)>this.g.nn){if(0l-k&&(m=-1!=h?b:a,p=d);1=co(e[0]||e[1])&&aemail or IM"));this.ha().appendChild(a);this.o=F("input");K(this.o,"100%","auto");this.ha().appendChild(this.o);this.N&&(a=C("DIV",{style:"font-size: 13px; padding-top: 7px;"},"Embed"),this.ha().appendChild(a),this.Ne=F("input"),K(this.Ne,"100%","auto"),this.ha().appendChild(this.Ne));a=this.V.Ga();b=(new R(window.location)).g;var c=new R(a.Ec()); c.g=b;this.o.value=c.toString();U(t(Wx,this.o));this.N&&(a=new R(a.Ec()),S(a,"output","embed"),this.Ne.value=Xx(a.toString()))};Vx.prototype.tm=function(){Ux.prototype.tm.call(this);this.g.ka(this.o,"click",t(Wx,this.o));this.N&&this.g.ka(this.Ne,"click",t(Wx,this.Ne))};function Wx(a){a.select()}function Xx(a){return Ce('',a)};function Yx(a,b){W.call(this);this.Ea=a;this.j=b;this.i=F("div");a.s.i.appendChild(this.i);x(this.i,"sitb_result");qc?(J(this.i,"width",b.Fa().width+"px"),J(this.i,"min-height",b.Fa().height+"px")):(jh(this.i,b.ud()),K(this.i,b.Fa()));a=F("div");x(a,"sitb-result-header");this.i.appendChild(a);this.s=F("div");x(this.s,"sitb-result-page-link");b=b.g.g;this.s.textContent=b?"Page "+b:"Page";a.appendChild(this.s);this.o=F("div");x(this.o,"sitb-result-content");this.i.appendChild(this.o);if(b=go(this.Ea.V.rb(), this.j.g.Qa())){a=this.Ea.V.ub().getQuery();var c=b.ob.snippetSrc;c&&a==Jo(c)?Zx(this,c):(a=b.yf(),"entity_page"==T(a,"source")?S(a,"source","entity_page_gbs_snippet"):S(a,"source","gbs_snippet"),tp(b,a,r(this.O,this)))}else $x(this)}n(Yx,lm);Yx.prototype.N=function(a){this.Ea.Df(a.g)};Yx.prototype.O=function(a){(a=a.ob.snippetSrc)?Zx(this,a):$x(this)};function Zx(a,b){rf(a.o);var c=F("IMG");c.src=b;ay(a);b=a.j.Fa().width-25;J(c,{width:b+"px"});a.o.appendChild(c)} function ay(a){x(a.i,"sitb-result-clickable");x(a.s,"sitb-result-link");var b=If(a.s);N(a.s,pl(b+" »"));um(a.i,"link");Hf(a.i,!0);a.g.ka(a.i,"click",r(a.N,a,a.j));a.g.ka(a.i,"keydown",function(c){32!=c.keyCode&&13!=c.keyCode||a.N(a.j)})} function $x(a){rf(a.o);var b=F("div");x(b,"sitb-result-snippet");a.o.appendChild(b);qc||J(b,{width:Math.floor(.75*a.j.Fa().width)+"px"});N(b,ol.g(a.j.g.i));b=F("div");x(b,"sitb-result-explanatory-link");a.o.appendChild(b);var c=go(a.Ea.V.rb(),a.j.g.Qa());c&&c.Cd()&&!yp(c,[4,8,16])&&c.o(2)?(ay(a),N(b,pl((qc?"No image for result.":"We couldn't make an image for this result.")+"  ")),a=F("span"),N(a,pl(qc?"Click to view":"Click to view the whole page.")),b.appendChild(a),x(a,"sitb-result-link")): (N(b,pl("No preview available for this page.  ")),qc||(a=F("a"),x(a,"sitb-result-buy-link"),N(a,pl("Buy this book.")),b.appendChild(a),b=new R(window.location.href),S(b,"sitesec","buy"),S(b,"source","gbs_snippet"),Nj(b,"printsec"),a.href=b.toString()))}Yx.prototype.Na=function(){H(this.i);this.Ha()};function by(a){this.Ea=a}n(by,mp);by.prototype.render=function(a){return new Yx(this.Ea,a)};function cy(a){this.g=a}n(cy,Hl);function dy(a,b){Qv.call(this,1);this.Pb=a;this.N=b;this.jk=this.Mi=this.marginTop=20;a.Ab&&(a.Ab.forEach(r(this.o,this)),Ol(this))}n(dy,Qv);dy.prototype.o=function(a){a=new cy(a);var b=Math.min(this.N-16,600);a.nb(new Ae(b,Math.round(124/600*b+42)));this.Sa(a)};function ey(a){var b=a.Hb();J(b,"overflow","hidden");var c=new lx(this,b);aw.call(this,c);this.V=a;qc||dw(this,new kw(this));this.g.ka(this,"move",this.mc);var d=B("subscription-bar");d&&(this.tl(d),U(function(){M(d,!1)},600));cw(this,fy(this));gy(b)}u(ey,aw);function gy(a){J(a,"overflow","auto");J(a,{overflowX:"auto",overflowY:"scroll"});df(a,{dir:"ltr"})}function fy(a){var b=new Ip;Jp(b,cy,new by(a));return b}ey.prototype.resize=function(){hy(this)}; function hy(a){var b=new dy(a.Pb,a.Fa().width);a.ad(b);a.mc()}ey.prototype.Df=function(a,b){return this.Ba(a,b)};function iy(a){this.g=a||{}}iy.prototype.qc=function(){return this.g};iy.prototype.lc=function(a){var b=Wc(jy,function(c){return c==a});this.g.v=b};iy.prototype.getQuery=function(){return this.g.q};var jy={onepage:mx,twopage:Rx,thumbnail:ux,snippet:ey};function ky(a,b){this.g=new As;O(this.g,"navigate",r(this.s,this));this.V=a;this.i=b}ky.prototype.s=function(a){ly(this,a.s)};function ly(a,b){if(!(a.o&&""==b||a.j))if((z||pc)&&""==b)window.history.go(-2);else if(b){var c={},d=new Fj(b);v(d.ie(),function(e){var g=d.get(e);g in my&&(g=my[g]);c[e]=g});b=new iy(c);a.V.lc(jy[b.g.v]||mx);Hx(a.i,!!b.g.f);void 0!==b.getQuery()&&Io(a.V.ub(),b.getQuery())}} ky.prototype.Ta=function(a){this.o=!0;this.g.Ta(a);z&&(a=(new R(window.location)).g,ly(this,a));this.o=!1};ky.prototype.update=function(){var a=new iy;a.lc(this.V.O);a.g.q=this.V.ub().getQuery();a.g.f=this.i.Gf();a=Qj(a.qc()).toString();this.j=!0;this.g.Ai(a);this.j=!1};var my={"true":!0,"false":!1};function ny(){this.g=[]}u(ny,gr);Oa(ny);function oy(a,b){var c=a.g[b];if(!c){switch(b){case 0:c=a.Wa()+"-highlight";break;case 1:c=a.Wa()+"-checkbox";break;case 2:c=a.Wa()+"-content"}a.g[b]=c}return c}f=ny.prototype;f.Eg=function(){return"menuitem"};f.Sc=function(a){var b=a.g.Ra("DIV",jr(this,a).join(" "),py(this,a.Lc(),a.g));qy(this,a,b,or(a,8)||or(a,16));return b};f.Nc=function(a){return a&&a.firstChild}; f.Ub=function(a,b){var c=xf(b),d=oy(this,2);c&&Hb(c,d)||b.appendChild(py(this,b.childNodes,a.g));Hb(b,"goog-option")&&(a.zi(!0),this.zi(a,b,!0));return ny.ta.Ub.call(this,a,b)};f.Fg=function(a,b){var c=this.Nc(a),d=ry(this,a)?c.firstChild:null;ny.ta.Fg.call(this,a,b);d&&!ry(this,a)&&c.insertBefore(d,c.firstChild||null)};function py(a,b,c){a=oy(a,2);return c.Ra("DIV",a,b)}f.oq=function(a,b,c){a&&b&&qy(this,a,b,c)};f.zi=function(a,b,c){a&&b&&qy(this,a,b,c)}; function ry(a,b){return(b=a.Nc(b))?(b=b.firstChild,a=oy(a,1),!!b&&zf(b)&&Hb(b,a)):!1}function qy(a,b,c,d){mr(a,c,b.Af());nr(a,b,c);d!=ry(a,c)&&(Lb(c,"goog-option",d),c=a.Nc(c),d?(a=oy(a,1),c.insertBefore(b.g.Ra("DIV",a),c.firstChild||null)):c.removeChild(c.firstChild))}f.Wh=function(a){switch(a){case 2:return oy(this,0);case 16:case 8:return"goog-option-selected";default:return ny.ta.Wh.call(this,a)}}; f.yj=function(a){var b=oy(this,0);switch(a){case "goog-option-selected":return 16;case b:return 2;default:return ny.ta.yj.call(this,a)}};f.Wa=function(){return"goog-menuitem"};function sy(a,b,c,d){rr.call(this,a,d||ny.Gb(),c);this.Bc(b)}u(sy,rr);f=sy.prototype;f.Cb=function(){var a=this.Zl;return null!=a?a:this.Zg()};f.Bc=function(a){this.Zl=a};f.bc=function(a,b){sy.ta.bc.call(this,a,b);switch(a){case 8:pr(this,16)&&!b&&this.Of(!1);(a=this.ha())&&this.Bd().oq(this,a,b);break;case 16:(a=this.ha())&&this.Bd().zi(this,a,b)}};f.oq=function(a){this.bc(8,a)};f.zi=function(a){this.bc(16,a)}; f.Zg=function(){var a=this.Lc();return Array.isArray(a)?(a=jb(a,function(b){return zf(b)&&(Hb(b,"goog-menuitem-accel")||Hb(b,"goog-menuitem-mnemonic-separator"))?"":Kf(b)}).join(""),Fe(a)):sy.ta.Zg.call(this)};f.oe=function(a){var b=this.getParent();if(b){var c=b.s;b.s=null;if(c&&"number"===typeof a.clientX&&xe(c,new A(a.clientX,a.clientY)))return}sy.ta.oe.call(this,a)};f.ne=function(a){return a.keyCode==this.Yl&&this.Ye(a)?!0:sy.ta.ne.call(this,a)};f.Jt=function(){return this.Yl}; Zq("goog-menuitem",function(){return new sy(null)});sy.prototype.Af=function(){return or(this,16)?"menuitemcheckbox":or(this,8)?"menuitemradio":sy.ta.Af.call(this)};sy.prototype.getParent=function(){return rr.prototype.getParent.call(this)};sy.prototype.hh=function(){return rr.prototype.hh.call(this)};function ty(a,b,c){sy.call(this,a,b,c);this.zi(!0)}u(ty,sy);Zq("goog-checkbox-menuitem",function(){return new ty(null)});function uy(a){ty.call(this,Ie(a.kb()),a.getId());this.i=a}n(uy,ty);uy.prototype.Nb=function(a){ty.prototype.Nb.call(this,a);if(this.i.Ge){var b=(a=1==this.i.Ge)?"Public bookshelf":"Private bookshelf";a=C("IMG",{src:"/googlebooks/images/sharing_"+(a?"public":"private")+".gif",alt:b,title:b,style:"padding-top:2px;padding-left:8px;float:"+(Ul()?"left":"right")});a=C("DIV","goog-menuitem-accel",a,of(String(this.i.va)));uf(this.Kb(),a,1)}};function vy(a,b,c,d){Yr.call(this,a,b,c||d);(c||d)&&this.o(65|(d?32:132))}u(vy,Yr);function wy(){}u(wy,gr);Oa(wy);wy.prototype.Wa=function(){return"goog-menuheader"};function xy(a,b,c){rr.call(this,a,c||wy.Gb(),b);this.bc(1,!1);this.bc(2,!1);this.bc(4,!1);this.bc(32,!1);this.ae=1}u(xy,rr);Zq("goog-menuheader",function(){return new xy(null)});function yy(){}u(yy,gr);Oa(yy);yy.prototype.Sc=function(a){return a.g.Ra("DIV",this.Wa())};yy.prototype.Ub=function(a,b){b.id&&a.oh(b.id);if("HR"==b.tagName){var c=b;b=this.Sc(a);sf(b,c);H(c)}else x(b,this.Wa());return b};yy.prototype.Fg=function(){};yy.prototype.Wa=function(){return"goog-menuseparator"};function zy(a,b){rr.call(this,null,a||yy.Gb(),b);this.bc(1,!1);this.bc(2,!1);this.bc(4,!1);this.bc(32,!1);this.ae=1}u(zy,rr);zy.prototype.Ma=function(){zy.ta.Ma.call(this);var a=this.ha();um(a,"separator")};Zq("goog-menuseparator",function(){return new zy});function Ay(a){this.g=a||"menu"}u(Ay,br);Oa(Ay);f=Ay.prototype;f.wk=function(a){return"UL"==a.tagName||Ay.ta.wk.call(this,a)};f.Yh=function(a){return"HR"==a.tagName?new zy:Ay.ta.Yh.call(this,a)};f.fe=function(a,b){return Bf(a.ha(),b)};f.Dg=function(){return"goog-menu"};f.xk=function(a){Ay.ta.xk.call(this,a);a=a.ha();X(a,"haspopup","true")};function By(a){zy.call(this,yy.Gb(),a)}u(By,zy);Zq("goog-menuseparator",function(){return new zy});function Cy(a,b){Fr.call(this,"vertical",b||Ay.Gb(),a);Or(this,!1)}u(Cy,Fr);f=Cy.prototype;f.Tk=!0;f.fe=function(a){if(this.Bd().fe(this,a))return!0;for(var b=0,c=an(this);bDate.now()-a.Bp);g&&a.Fm?a.lb():a.dispatchEvent("beforeshow")&&(c="undefined"!=typeof c?c:8,e||(a.ha().style.visibility="hidden"),M(a.ha(),!0),b.Tc(a.ha(),c,d),e||(a.ha().style.visibility="visible"),a.Yd(-1),a.Da(!0))}f.lb=function(){this.isVisible()&&(this.Da(!1),this.isVisible()||(this.Bp=Date.now()))};f.Ev=function(){this.lb()};f.Rv=function(a){Gy(this,a)}; f.Sv=function(a){32!=a.keyCode&&13!=a.keyCode&&40!=a.keyCode||Gy(this,a);40==a.keyCode&&Kr(this)};function Gy(a,b){for(var c=a.i.ie(),d=0;dl.endOffset)l={startOffset:e.startOffset, uh:e.uh,endOffset:l.endOffset,Qh:l.Qh};e=fb(d)}d.push(l);e=l}k.i&&rb(g,h)}}function hz(a,b){this.startOffset=a;this.uh=void 0;this.endOffset=a;this.Qh=void 0;this.i=!1;this.g=b};function iz(a,b){var c=void 0;c=void 0===c?Infinity:c;b=new fz(b);c=void 0===c?Infinity:c;var d=void 0===d?[]:d;var e=" ",g,h=bz(a);for(g=0;g=c&&(d.length=c);return d};function jz(a){var b=cz(a);a=kz();Array.prototype.forEach.call(a,function(c){lz(b,c)})}function kz(){var a=[],b=ub($e("patent-text")),c=af("patent-title");for(c&&b.push(c);c=b.pop();)3==c.nodeType?a.push(c):vb(b,c.childNodes);return a} function lz(a,b){var c=Kf(b);a=iz(c,a);if(a.length){var d=[],e=0;a.forEach(function(g){d.push(c.substring(e,g.startOffset),ae("span",{"class":"patent-text-highlight"},c.substring(g.startOffset,g.endOffset)));e=g.endOffset});d.push(c.substring(e));a=F("span");N(a,he(d));vf(a,b)}};function mz(){sy.call(this,"Turn off highlighting");var a=yj("dq")||yj("q");a&&jz(a);this.Qb=!0}n(mz,sy);mz.prototype.Ma=function(){sy.prototype.Ma.call(this);Z(this).ka(this,"action",this.i)};mz.prototype.i=function(){this.Qb=!this.Qb;Lb(window.document.body,"patent-highlight-disabled",!this.Qb);xr(this,this.Qb?"Turn off highlighting":"Turn on highlighting")};function nz(){}u(nz,yy);Oa(nz);nz.prototype.Sc=function(a){return a.g.Ra("DIV",jr(this,a).join(" ")+" goog-inline-block","\u00a0")};nz.prototype.Ub=function(a,b){b=nz.ta.Ub.call(this,a,b);x(b,"goog-inline-block");return b};nz.prototype.Wa=function(){return"goog-toolbar-separator"};function oz(){}u(oz,St);Oa(oz);f=oz.prototype;f.Sc=function(a){var b=jr(this,a);b=a.g.Ra("DIV","goog-inline-block "+b.join(" "),this.mj(a.Lc(),a.g));this.vc(b,a.Bf());return b};f.Eg=function(){return"button"};f.Nc=function(a){return a&&a.firstChild&&a.firstChild.firstChild};f.mj=function(a,b){return b.Ra("DIV","goog-inline-block "+(this.Wa()+"-outer-box"),b.Ra("DIV","goog-inline-block "+(this.Wa()+"-inner-box"),a))};f.Si=function(a){return"DIV"==a.tagName}; f.Ub=function(a,b){pz(b,!0);pz(b,!1);a:{var c=a.g.No(b);var d=this.Wa()+"-outer-box";if(c&&Hb(c,d)&&(c=a.g.No(c),d=this.Wa()+"-inner-box",c&&Hb(c,d))){c=!0;break a}c=!1}c||b.appendChild(this.mj(b.childNodes,a.g));Ib(b,["goog-inline-block",this.Wa()]);return oz.ta.Ub.call(this,a,b)};f.Wa=function(){return"goog-custom-button"}; function pz(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(""==Pb(e))a.removeChild(c);else{c.nodeValue=b?e.replace(/^[\s\xa0]+/,""):e.replace(/[\s\xa0]+$/,"");break}}else break;c=d}};function qz(){}u(qz,oz);Oa(qz);qz.prototype.Wa=function(){return"goog-toolbar-button"};function rz(){this.g="toolbar"}u(rz,br);Oa(rz);rz.prototype.Yh=function(a){return"HR"==a.tagName?new zy(nz.Gb()):rz.ta.Yh.call(this,a)};rz.prototype.Dg=function(){return"goog-toolbar"};rz.prototype.Mo=function(){return"horizontal"};function sz(a){rz.call(this);this.i=a}u(sz,rz);var tz={};sz.prototype.Dg=function(){return this.i||"ocean-chrome-toolbar"};function uz(a){Q.call(this);this.g=[];vz(this,a)}u(uz,Q);f=uz.prototype;f.rg=null;f.Ck=null;function wz(a,b){a.Ck=b}function vz(a,b){b&&(b.forEach(function(c){xz(this,c,!1)},a),vb(a.g,b))}f.Sa=function(a){this.uf(a,this.g.length)};f.uf=function(a,b){a&&(xz(this,a,!1),wb(this.g,b,0,a))};f.Qd=function(){return ub(this.g)};f.ff=function(a){a!=this.rg&&(xz(this,this.rg,!1),this.rg=a,xz(this,a,!0));this.dispatchEvent("select")};f.wa=function(){uz.ta.wa.call(this);delete this.g;this.rg=null}; function xz(a,b,c){b&&("function"==typeof a.Ck?a.Ck(b,c):"function"==typeof b.sm&&b.sm(c))};function yz(a,b,c){Fr.call(this,b,a||rz.Gb(),c)}u(yz,Fr);yz.prototype.Xi=function(a){yz.ta.Xi.call(this,a);this.qe||Kr(this)};function zz(a,b,c){Ut.call(this,a,b||qz.Gb(),c)}u(zz,Ut);Zq("goog-toolbar-button",function(){return new zz(null)});function Az(a,b){zy.call(this,a||nz.Gb(),b)}u(Az,zy);Zq("goog-toolbar-separator",function(){return new Az});function Bz(a){a=a||"viewport-chrome-toolbar";a=tz[a]||(tz[a]=new sz(a));yz.call(this,a);this.Ba={};this.j=new dj(this)}n(Bz,yz);function Cz(a,b,c,d){b.bc(16,!0);if(c){var e=a.Ba[c];e||(e=new uz,wz(e,function(g,h){g&&g.Of(h)}),a.Ba[c]=e);e.Sa(b);b.Wf&=-17;O(b,"action",function(g){e.ff(g.target)});d&&e.ff(b)}else b.jd(16,!!d)}function Dz(a,b){a.Ba.viewport&&a.Ba.viewport.ff(b)}Bz.prototype.wa=function(){yz.prototype.wa.call(this);this.j.Ha();Sc(this.Ba,function(a){a.Ha()})};function Ez(){}u(Ez,St);Oa(Ez);f=Ez.prototype;f.Sc=function(a){var b=jr(this,a);b=a.g.Ra("DIV","goog-inline-block "+b.join(" "),a.Lc());this.vc(b,a.Bf());return b};f.Eg=function(){return"button"};f.Si=function(a){return"DIV"==a.tagName};f.Ub=function(a,b){x(b,"goog-inline-block");return Ez.ta.Ub.call(this,a,b)};f.Cb=function(){return""};f.Wa=function(){return"goog-flat-button"};Zq("goog-flat-button",function(){return new Ut(null,Ez.Gb())});function Fz(){}u(Fz,oz);Oa(Fz);Fz.prototype.Nc=function(a){return Fz.ta.Nc.call(this,a&&a.firstChild)};Fz.prototype.Ub=function(a,b){var c=Ye("*","goog-menu",b)[0];if(c){M(c,!1);Ve(c).body.appendChild(c);var d=new Cy;Zm(d,c);a.ef(d)}return Fz.ta.Ub.call(this,a,b)};Fz.prototype.mj=function(a,b){return Fz.ta.mj.call(this,[b.Ra("DIV","goog-inline-block "+(this.Wa()+"-caption"),a),b.Ra("DIV","goog-inline-block "+(this.Wa()+"-dropdown"),"\u00a0")],b)};Fz.prototype.Wa=function(){return"goog-menu-button"};function Gz(){this.g=[]}u(Gz,ny);Oa(Gz);Gz.prototype.Sc=function(a){var b=Gz.ta.Sc.call(this,a);x(b,"goog-submenu");Hz(this,a,b);return b};Gz.prototype.Ub=function(a,b){b=Gz.ta.Ub.call(this,a,b);x(b,"goog-submenu");Hz(this,a,b);var c=Ye("DIV","goog-menu",b);if(c.length){var d=new Cy(a.g);c=c[0];M(c,!1);a.g.g.body.appendChild(c);Zm(d,c);a.ef(d,!0)}return b};Gz.prototype.Fg=function(a,b){var c=this.Nc(a),d=c&&c.lastChild;Gz.ta.Fg.call(this,a,b);d&&c.lastChild!=d&&Hb(d,"goog-submenu-arrow")&&c.appendChild(d)}; Gz.prototype.Ti=function(a){Gz.ta.Ti.call(this,a);var b=a.Kb(),c=Ze(a.g.g,"SPAN","goog-submenu-arrow",b)[0];Iz(a,c);c!=b.lastChild&&b.appendChild(c);a=a.ha();X(a,"haspopup","true")};function Hz(a,b,c){var d=b.g.Ra("SPAN");d.className="goog-submenu-arrow";Iz(b,d);a.Nc(c).appendChild(d)}function Iz(a,b){cn(a)?(x(b,"goog-submenu-arrow-rtl"),I(b,"\u25c4")):(Jb(b,"goog-submenu-arrow-rtl"),I(b,"\u25ba"))};function Jz(a,b,c,d){sy.call(this,a,b,c,d||Gz.Gb())}u(Jz,sy);f=Jz.prototype;f.Dh=null;f.zm=null;f.Xl=!1;f.wc=null;f.qj=!1;f.Ma=function(){Jz.ta.Ma.call(this);Z(this).ka(this.getParent(),"hide",this.Qp);this.wc&&Kz(this,this.wc,!0)};f.oc=function(){Z(this).Xa(this.getParent(),"hide",this.Qp);this.wc&&(Kz(this,this.wc,!1),this.qj||(this.wc.oc(),H(this.wc.ha())));Jz.ta.oc.call(this)};f.wa=function(){this.wc&&!this.qj&&this.wc.Ha();this.wc=null;Jz.ta.wa.call(this)}; f.Zc=function(a){Jz.ta.Zc.call(this,a);a||(this.Dh&&Mk(this.Dh),this.Dh=U(this.Me,218,this))};f.ym=function(){var a=this.getParent();a&&Jr(a)==this&&(Lz(this,!0),Mz(this))};f.Me=function(){var a=this.wc;a&&a.getParent()==this&&(Lz(this,!1),$m(a,function(b){"function"==typeof b.Me&&b.Me()}))};function Nz(a){a.Dh&&Mk(a.Dh);a.zm&&Mk(a.zm)}f.Da=function(a,b){(a=Jz.ta.Da.call(this,a,b))&&!this.isVisible()&&this.Me();return a}; function Mz(a){$m(a.getParent(),function(b){b!=this&&"function"==typeof b.Me&&(b.Me(),Nz(b))},a)}f.Vc=function(a){var b=a.keyCode,c=cn(this)?37:39,d=cn(this)?39:37;if(!this.Xl){if(!this.isEnabled()||b!=c&&13!=b&&b!=this.Yl)return!1;this.ym();Kr(Oz(this));Nz(this)}else if(!Oz(this).Vc(a))if(b==d)this.Me();else return!1;a.preventDefault();return!0};f.Gv=function(){this.wc.getParent()==this&&(Nz(this),this.hh().Zc(this),Mz(this))};f.Qp=function(a){a.target==this.hh()&&(this.Me(),Nz(this))}; f.Se=function(a){this.isEnabled()&&(Nz(this),this.zm=U(this.ym,218,this));Jz.ta.Se.call(this,a)};f.Ye=function(a){Nz(this);if(or(this,8)||or(this,16))return Jz.ta.Ye.call(this,a);this.ym();return!0}; function Lz(a,b){!b&&Oz(a)&&Oz(a).Yd(-1);a.dispatchEvent(Wm(64,b));var c=Oz(a);b!=a.Xl&&Lb(a.ha(),"goog-submenu-open",b);if(b!=c.isVisible()&&(b&&(c.ab||c.render(),c.Yd(-1)),c.Da(b),b)){c=new Yr(a.ha(),12,!1);var d=Oz(a),e=d.ha();d.isVisible()||(e.style.visibility="hidden",M(e,!0));c.Tc(e,8);d.isVisible()||(M(e,!1),e.style.visibility="visible")}a.Xl=b}function Kz(a,b,c){var d=Z(a);(c?d.ka:d.Xa).call(d,b,"enter",a.Gv)}f.Sa=function(a){Oz(this).Oa(a,!0)};f.uf=function(a,b){Oz(this).Pg(a,b,!0)}; f.Qd=function(){return Oz(this).Qd()};function Oz(a){a.wc?a.qj&&a.wc.getParent()!=a&&a.wc.te(a):a.ef(new Cy(a.g),!0);a.wc.ha()||a.wc.Va();return a.wc}f.ef=function(a,b){var c=this.wc;a!=c&&(c&&(this.Me(),this.ab&&Kz(this,c,!1)),this.wc=a,this.qj=!b,a&&(a.te(this),a.Da(!1,!0),Dy(a,!1),Or(a,!1),this.ab&&Kz(this,a,!0)))};f.fe=function(a){return Oz(this).fe(a)};Zq("goog-submenu",function(){return new Jz(null)});function Pz(a,b,c,d,e){Ut.call(this,a,c||Fz.Gb(),d);this.bc(64,!0);this.s=new vy(null,9);b&&this.ef(b);this.Ya=new Kk(500);this.tb=e||Ay.Gb()}u(Pz,Ut);f=Pz.prototype;f.Ma=function(){Pz.ta.Ma.call(this);Qz(this,!0);this.i&&Rz(this,this.i,!0);X(this.ya,"haspopup",!!this.i)};f.oc=function(){Pz.ta.oc.call(this);Qz(this,!1);if(this.i){this.Rb(!1);this.i.oc();Rz(this,this.i,!1);var a=this.i.ha();a&&H(a)}};f.wa=function(){Pz.ta.wa.call(this);this.i&&(this.i.Ha(),delete this.i);delete this.hb;this.Ya.Ha()}; f.mf=function(a){Pz.ta.mf.call(this,a);this.isActive()&&(this.Rb(!this.xd(),a),this.i&&(a=this.xd(),this.i.qe=a))};f.oe=function(a){Pz.ta.oe.call(this,a);this.i&&!this.isActive()&&(this.i.qe=!1)};f.Ye=function(){zr(this,!1);return!0};f.Xt=function(a){this.i&&this.i.isVisible()&&!this.fe(a.target)&&this.Rb(!1)};f.fe=function(a){return a&&Bf(this.ha(),a)||this.i&&this.i.fe(a)||!1}; f.ne=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.Vc(a);return c&&this.i&&this.i.kc instanceof Jz||27!=a.keyCode&&!b?c:(this.Rb(!1),!0)}return 40==a.keyCode||38==a.keyCode||32==a.keyCode||13==a.keyCode?(this.Rb(!0,a),!0):!1};f.Dl=function(){this.Rb(!1)};f.Ui=function(a){this.Rb(!1);Pz.ta.Ui.call(this,a)}; function Sz(a){a.i||a.ef(new Cy(a.g,a.tb));return a.i||null}f.ef=function(a){var b=this.i;a!=b&&(b&&(this.Rb(!1),this.ab&&Rz(this,b,!1),delete this.i),this.ab&&X(this.ya,"haspopup",!!a),a&&(this.i=a,a.te(this),a.Da(!1),Dy(a,!1),this.ab&&Rz(this,a,!0)));return b};f.Sa=function(a){Sz(this).Oa(a,!0)};f.uf=function(a,b){Sz(this).Pg(a,b,!0)};f.Da=function(a,b){(a=Pz.ta.Da.call(this,a,b))&&!this.isVisible()&&this.Rb(!1);return a};f.Ta=function(a){Pz.ta.Ta.call(this,a);this.isEnabled()||this.Rb(!1)}; f.Rb=function(a,b){Pz.ta.Rb.call(this,a);if(this.i&&pr(this,64)==a){if(a)this.i.ab||this.i.render(),this.Ba=ph(this.ha()),this.Ua=zh(this.ha()),Tz(this),!b||40!=b.keyCode&&38!=b.keyCode?this.i.Yd(-1):Kr(this.i);else{zr(this,!1);this.i.qe=!1;var c=this.ha();c&&(X(c,"activedescendant",""),X(c,"owns",""));null!=this.va&&(this.va=void 0,(c=this.i.ha())&&K(c,"",""))}this.i.Da(a,!1,b);this.Nd||(b=Z(this),c=a?b.ka:b.Xa,c.call(b,this.g.g,"mousedown",this.Xt,!0),c.call(b,this.Ya,"tick",this.Hr),a?this.Ya.start(): this.Ya.stop())}this.i&&this.i.ha()&&this.i.ya.removeAttribute("aria-hidden")};function Tz(a){if(a.i.ab){var b=a.hb||a.ha(),c=a.s;a.s.g=b;b=a.i.ha();a.i.isVisible()||(b.style.visibility="hidden",M(b,!0));!a.va&&a.s.N&&a.s.j&32&&(a.va=L(b));c.Tc(b,c.i^1,null,a.va);a.i.isVisible()||(M(b,!1),b.style.visibility="visible")}} f.Hr=function(){var a=zh(this.ha()),b=ph(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.Ba,c=!(c==b||c&&b&&c.top==b.top&&c.right==b.right&&c.bottom==b.bottom&&c.left==b.left));c&&(this.i.ab&&b&&this.Ba&&b.Db()h;h++){for(var k=mf(d,"TR"),l=0;2>l;l++)k.appendChild(mf(d,"TD"));g.appendChild(k)}x(e,this.className+"-table-layout");d=e.rows[0].cells;g=bA(this);d[0].appendChild(g);g=cA(this);d[1].appendChild(g);g=C("DIV",this.className+"-link"); h=C("A",{target:"_blank"},"Help with devices & formats");k=new R(window.location.href);l=new R("/support/bin/answer.py?answer=1062949");k=T(k,"hl")?S(l,"hl",T(k,"hl")).toString():"/support/bin/answer.py?answer=1062949";pe(h,k);g.appendChild(h);d[1].appendChild(g);c.appendChild(e);e=this.s;if((d=e.Md)&&!e.ng&&e.tb){var m;e.Tb&&rm.lx&&(m="Read the book");m=C("P",this.className+"-additional",C("A",{href:d},m));c.appendChild(m)}if(e.Ka||e.La)if(d=e.Zb,g=e.hb,d||g)m=C("P",this.className+"-additional", of("Download ")),d&&(h=C("A",{href:d},"EPUB"),m.appendChild(h)),g&&(d&&m.appendChild(of(", ")),d=C("A",{href:g},"PDF"),m.appendChild(d)),m.appendChild(of(" - ")),e=e.ac(),d=(new R(window.location.href)).o.split("/"),d=new R("/"+d[1]),uu(d),S(d,"output","acs_help"),S(d,"id",e),e=C("A",{href:d.toString()},"read eReader instructions"),m.appendChild(e),c.appendChild(m);m=C("A",{target:"_blank"},"Learn more about books on Google Play");pe(m,"https://books.google.com/support/bin/topic.py?topic=28528"); this.j=C("DIV",this.className+"-footer",m);b=C("DIV",b,c,this.j);x(b,this.className+"-device-content");a.appendChild(b)}}; function bA(a){var b=C("UL",a.className+"-list"),c=C("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=C("A",{"class":d,href:"/help/ebooks/webreader.html"},"Web"),k=C("A",{"class":d,href:"/help/ebooks/devices.html"},"Tablet / iPad"),l=C("A",{"class":d,href:"/help/ebooks/ereader.html"},"eReader"),m=C("A",{"class":d,href:"/help/ebooks/devices.html"},"Smartphone"), p=a.s.Fj,w=a.s.Gj,D=a.s.ng;d=new dj(a);h=C("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.Ba);b.appendChild(h);k=C("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.Ba);b.appendChild(k);l=C("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.Ba);b.appendChild(l);m=C("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.Ba);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 cA(a){var b=C("UL",a.className+"-list"),c=C("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=C("A",{},"Flowing text");pe(c,"/support/bin/answer.py?answer=1062949");var h=C("A",{},"Scanned pages");pe(h,"/support/bin/answer.py?answer=1062949");var k=a.s.Fj,l=a.s.Gj,m=a.s.ng;m?(c=C("LI",g,c),d=C("LI",g,h)):(c=C("LI",k?d:e,c),d=C("LI",l?d:e,h));e=new dj(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.Ba);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.Ba);b.appendChild(c);b.appendChild(d);return b} aA.prototype.Ba=function(){rf(this.j);var a=C("A",{target:"_blank"},"Learn more about books on Google Play");pe(a,"https://books.google.com/support/bin/topic.py?topic=28528");this.j.appendChild(a)};aA.prototype.i=function(a){rf(this.j);"string"===typeof a?this.j.appendChild(of(a)):this.j.appendChild(a)};function dA(a,b){Wt.call(this,b,void 0,3);this.s=a}n(dA,Wt);dA.prototype.render=function(a){Wt.prototype.render.call(this,a);x(this.ha(),"gb-get-book")};dA.prototype.Ma=function(){Wt.prototype.Ma.call(this);var a=this.ha();this.i=new aA(a,this.s);this.i.render();a=B("menu_container");(a=af("about_title",a))&&H(a)}; function eA(){var a=B("gb-buy-options-trigger");if(a&&a.parentNode&&a.parentNode.parentNode?!Hb(a.parentNode.parentNode,"jfk-button"):1){a=B("gb-buy-options-trigger");var b=B("buy");if(a&&b){Jb(b,"about_content");var c=C("SPAN","gb-buy-options-arrow","\u25bc");a.appendChild(c);x(b,"gb-buy-options-list");x(b,"unified-hovercard");Tr(a,9,b,8);M(b,!1);O(document,"mousedown",t(fA,a,b))}}}function fA(a,b,c){a=Bf(a,c.target);c=Bf(b,c.target);var d=Bh(b);a||c||!d?a&&(M(b,!d),d||Ah(b,1)):M(b,!1)};function gA(a,b,c,d,e,g){function h(l){if(l){l.tabIndex=0;um(l,k.va);x(l,"goog-zippy-header");l&&k.oa.ka(l,"click",k.na);var m=k;l&&(m.O.attach(l),m.ma.ka(m.O,"key",m.ua))}}Q.call(this);this.N=e||Te();this.i=this.N.ha(a)||null;this.o=this.N.ha(d||null);this.s="function"===typeof b?b:null;this.va=g||"tab";this.j=this.s||!b?null:this.N.ha(b);this.g=1==c;void 0!==c||this.s||(this.o?this.g=Bh(this.o):this.i&&(this.g=Hb(this.i,"goog-zippy-expanded")));this.ma=new dj(this);this.O=new Tq;this.oa=new dj(this); var k=this;h(this.i);h(this.o);this.df(this.g)}u(gA,Q);gA.prototype.wa=function(){gA.ta.wa.call(this);yi(this.ma);yi(this.O);yi(this.oa)};gA.prototype.df=function(a){this.j?M(this.j,a):a&&this.s&&(this.j=this.s());this.j&&x(this.j,"goog-zippy-content");this.o?(M(this.i,!a),M(this.o,a)):this.i&&(Lb(this.i,"goog-zippy-expanded",a),Lb(this.i,"goog-zippy-collapsed",!a),X(this.i,"expanded",a));this.g=a;this.dispatchEvent(new hA("toggle",this,this.g))}; gA.prototype.ua=function(a){if(13==a.keyCode||32==a.keyCode)this.df(!this.g),this.dispatchEvent(new hA("action",this,this.g,a)),a.preventDefault(),a.stopPropagation()};gA.prototype.na=function(a){this.df(!this.g);this.dispatchEvent(new hA("action",this,this.g,a))};function hA(a,b){Ci.call(this,a,b)}u(hA,Ci);function iA(a,b,c,d){if(b.child_node&&0"+(c.i.Pb.Ab.length+" results in this book for ")+(Oq(c.i.Pb)+"")));GA(c,!0);c=a.Pb;c!=b.Pb&&(b.Pb=c,hy(b));a=r(a.Df,a);b.Ba=a;b.hd(new A(0,0))} CA.prototype.Df=function(a,b){hw=!0;var c=this.Yc.j;GA(c,!1);c.ma=gb(c.i.Pb.Ab,a);c.o?(M(B("gb-mobile-search"),!0),M(B("gb-mobile-search-buttons"),!0),N(c.j,pl(c.ma+1+" of "+c.i.Pb.Ab.length)),ym(c.j,"Result "+(c.ma+1)+" of "+c.i.Pb.Ab.length)):N(c.j,pl("Result "+(c.ma+1+" of ")+(c.i.Pb.Ab.length+" in this book for ")+(Oq(c.i.Pb)+"")));c=this.Yc.V;a=go(c.rb(),a.Qa());if(!a)return null;var d=c.Ia();d instanceof mx||d instanceof Rx||(this.Yc.o==Rx?c.lc(Rx):c.lc(mx));if(b)return c.Gd(b), null;c.fi(a);return a};CA.prototype.wa=function(){yi(this.j);W.prototype.wa.call(this)};function HA(a){W.call(this);this.Ja=qp(a);this.o=qc&&a&&a.isOgenEligibleMobileViewport;this.na=this.s=null;this.o?(M(B("gb-mobile-search"),!0),M(B("gb-mobile-search-buttons"),!0)):(this.oa=F("DIV"),this.ua=new Hq(this.oa),this.ua.render(IA),this.ua.Da(!0),a=this.ua.ha(),x(a,"search-results-bar"),x(this.oa,"search-results-bar-contents"));this.j=this.o?B("gb-mobile-search-results-summ"):F("SPAN");this.o||this.oa.appendChild(this.j);this.O=this.o?B("gb-mobile-search-result-links"):F("SPAN");this.o?(JA(this, B("gb-mobile-search-result-prev"),r(this.Cj,this,-1),"Previous result"),JA(this,B("gb-mobile-search-result-next"),r(this.Cj,this,1),"Next result"),I(B("gb-mobile-search-result-viewall"),"View all"),JA(this,B("gb-mobile-search-result-viewall"),r(this.ip,this),"View all"),JA(this,B("gb-mobile-search-close"),r(this.Fl,this),"Close search")):(x(this.O,"search-bar-result-links"),this.oa.appendChild(this.O),a=F("SPAN"),N(a,pl("-  ")),x(a,"search-bar-link-spacer"),this.O.appendChild(a),KA(this, this.O,"\u2039 Previous",r(this.Cj,this,-1),"Previous"),a=F("SPAN"),N(a,pl("  ")),x(a,"search-bar-link-spacer"),this.O.appendChild(a),KA(this,this.O,"Next \u203a",r(this.Cj,this,1),"Next"),a=F("SPAN"),N(a,pl("  -  ")),x(a,"search-bar-link-spacer"),this.O.appendChild(a),KA(this,this.O,"View all",r(this.ip,this)));this.N=this.o?B("gb-mobile-search-snippet-links"):F("SPAN");this.o?LA(this):(this.Ja?(this.va=F("DIV"),x(this.va,"search-bar-result-buttons"),this.oa.appendChild(this.va), this.va.appendChild(this.N),Ib(this.N,["search-bar-sort-dropdown-button-container","search-bar-close-link"]),LA(this)):(this.Ba=F("SPAN"),this.Ca=F("SPAN"),this.oa.appendChild(this.N),a=F("SPAN"),N(a,pl("-  ")),x(a,"search-bar-link-spacer"),this.N.appendChild(a),this.N.appendChild(of("Order by: ")),this.N.appendChild(this.Ba),KA(this,this.Ba,"relevance",r(this.Dj,this,"r"),"Order by relevance"),a=F("SPAN"),N(a,pl(" | pages")),this.Ba.appendChild(a),this.N.appendChild(this.Ca), a=F("SPAN"),N(a,pl("relevance | ")),this.Ca.appendChild(a),KA(this,this.Ca,"pages",r(this.Dj,this,"n"),"Order by pages")),x(this.N,"search-bar-snippet-links"));if(!this.o){a=F("SPAN");x(a,"search-bar-close-link-container");this.Ja?this.va.appendChild(a):this.oa.appendChild(a);this.g.ka(a,"click",this.Fl);var b=KA(this,a,"Clear search",r(this.Fl,this));x(b,"search-bar-close-link");b=F("IMG");b.src="/googlebooks/images/close_x.gif";x(b,"search-bar-close-img");a.appendChild(b);Eh(this.oa, !0)}}var IA,MA,NA;n(HA,W);function OA(){MA=B("toolbar_container")} function LA(a){a.s=C("A",{"class":"search-bar-sort-dropdown-link"});um(a.s,"button");Hf(a.s,!0);X(a.s,"haspopup",!0);a.N.appendChild(a.s);var b=C("SPAN",{"class":"search-bar-sort-dropdown-text"});I(b,"Order by");a.na=C("SPAN",{"class":"search-bar-sort-dropdown-selected"});I(a.na,"relevance");ym(a.s,"Order by relevance");b.appendChild(a.na);a.s.appendChild(b);b=au("/googlebooks/images/material/arrow_drop_down_black_20dp.png");x(b[0],"search-bar-sort-dropdown-icon");X(b[0],"hidden",!0);a.s.appendChild(b[0]); b=new Ey;var c=new sy("relevance");c.yi("Order by relevance");b.Oa(c,!0);x(c.ha(),"search-bar-sort-dropdown-item");var d=new sy("pages");d.yi("Order by pages");b.Oa(d,!0);x(d.ha(),"search-bar-sort-dropdown-item");b.Fm=!0;a.o?b.render(a.N):b.render(document.body);b.attach(a.s,13,12);a.g.ka(b,"action",a.Zo);a.g.ka(b,"keydown",function(e){32!=e.keyCode&&13!=e.keyCode||r(a.Zo,a)});a.o&&a.g.ka(b,"beforeshow",function(){var e=a.s.offsetWidth-32;yh(c.ha(),e);yh(d.ha(),e)})} function GA(a,b){M(MA,!b);M(a.N,b);a.o?(M(a.O,!b),b=!b&&1==a.i.Pb.Ab.length,Lb(a.O,"mobile-search-button-disabled",b),X(a.O,"disabled",b)):M(a.O,!b&&1=d&&(a.ma=0);0>a.ma&&(a.ma=d-1);a.ma!=b&&(a.i.Df(a.i.Pb.Ab[a.ma])||QA(a,b,c))}f.Dj=function(a){var b=this.i.Yc;b&&b.update(a)};f.ip=function(){EA(this.i)}; f.Ju=function(a){var b=this.i.Yc;b&&(a=Ie(a),Io(b.V.ub(),a),b.N.Bc(a),b.s&&b.s.update())};f.Zo=function(a){if((a=a.target.Lc())&&this.na)switch(a){case "pages":this.Dj("n");I(this.na,"pages");ym(this.s,"Order by pages");break;case "relevance":this.Dj("r"),I(this.na,"relevance"),ym(this.s,"Order by relevance")}};function FA(a,b){a.s&&(Lb(a.s,"search-bar-sort-dropdown-disabled",!b),X(a.s,"disabled",!b));var c="n"==a.i.Bm;b&&!c&&I(a.na,"relevance")};function RA(a,b,c,d){W.call(this);this.V=a;this.N=b;this.s=c;this.O=d;this.ma=qc&&d&&d.isOgenEligibleMobileViewport;this.g.ka(a.ub(),"change",r(this.update,this,"r",null))}n(RA,W); RA.prototype.update=function(a,b,c){this.i?(this.i.Ha(),this.i=null):(this.V.O&&(this.o=this.V.O),this.j=new HA(this.O));var d=this.V.ub().getQuery();b&&!b.search_query_escaped&&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.o&&I(a.o,String(1==a.s?b:a.i-b))}bB.prototype.wa=function(){bB.ta.wa.call(this);delete this.g;this.j.Ha();this.j=null};function dB(a,b,c,d,e){YA.call(this,a,b,null,!0);this.hb=c;this.Tb=d;this.Ca=e}n(dB,YA); dB.prototype.Va=function(){YA.prototype.Va.call(this);this.s=eB(this,"Name","input");this.tb=eB(this,"Description (optional)","textarea");var a=this.Kb(),b=C("DIV",{"class":"ccd-label"}),c=F("span");c.textContent="Visibility";b.appendChild(c);a.appendChild(b);a=C("SPAN",{className:"ccd-mode-indicator"});c=C("IMG",{src:"/googlebooks/images/sharing_public.gif",style:"vertical-align:-2px;padding:0 2px"});var d=F("span");d.textContent="Public";a.appendChild(c);a.appendChild(d); b.appendChild(a);c=C("SPAN",{className:"ccd-mode-indicator"});d=C("IMG",{src:"/googlebooks/images/sharing_private.gif",style:"vertical-align:-2px;"});var e=F("span");e.textContent="Private";c.appendChild(d);c.appendChild(e);b.appendChild(c);d=C("SPAN",{"class":"ccd-mode-link"});d.textContent="Make public";b.appendChild(d);O(d,"click",r(this.Ka,this,!0));e=C("SPAN",{"class":"ccd-mode-link"});e.textContent="Make private";b.appendChild(e);O(e,"click",r(this.Ka,this,!1));this.Fe=[a,e];this.Ee=[c,d];null!= this.Ca&&(df(this.Ca,{"class":"ccd-mode-link"}),b.appendChild(this.Ca));this.Ka(!0);this.na=C("DIV",{"class":"ccd-error"});this.Kb().appendChild(this.na);this.Xb=C("P","ccd-footnote","Please note that the contents and title of Public bookshelves can be viewed and shared by others.");this.Kb().appendChild(this.Xb);this.i&&fB(this);Yo.IsZipitFolderCollectionEnabled||(b=this.j,a=Dn(b,"ok"),J(a,"fontWeight","bold"),x(a,"gb-button"),x(Dn(b,"cancel"),"gb-button"))}; function fB(a){a.s.value=Ie(a.i.kb());a.s.disabled=a.i.O;a.tb.value=Ie(a.i.ah());a.Ka(1==a.i.Ge);a.s.disabled&&J(a.s,"background","#f2f2f2")}function eB(a,b,c){var d=a.Kb();a=C("DIV",{"class":"gb-bookshelf-dialog-container"});d.appendChild(a);d=C("DIV",{"class":"ccd-label"});N(d,mi(b));a.appendChild(d);b=C(c,{"class":"ccd-input"});"input"==c?(df(b,{type:"text"}),b.setAttribute("maxlength",100)):"textarea"==c&&(df(b,{rows:6,cols:50}),new bB(b,F("span"),500));a.appendChild(b);return b} dB.prototype.Ka=function(a){this.De=a;v(this.Fe,function(b){M(b,a)});v(this.Ee,function(b){M(b,!a)})}; dB.prototype.Ua=function(a){var b=this.s.value;if("cancel"==a.key)return!0;if(Ob(b))return this.na.textContent="Please enter a title for this bookshelf.",!1;if(this.Tb&&!this.Tb(b))return this.na.textContent="Another bookshelf already has that title. Please enter a different title.",!1;a=this.i||new Cu;a.Jc=b;a.o=this.tb.value;a.Ge=this.De?1:2;if(this.i){b=this.hb;var c=new R(b.Cq);S(c,"as_coll",a.getId());Ou(c,a,r(b.N,b))}else b=this.hb,Ou(b.o,a,r(b.s,b,!0));return!0}; dB.prototype.wa=function(){delete this.hb;delete this.Ca;delete this.i;delete this.na;delete this.Xb;delete this.s;delete this.tb;delete this.Tb;YA.prototype.wa.call(this)};function gB(a,b,c,d,e){W.call(this);this.O=a;this.j=b;this.N=c;this.i=d;this.O&&(this.o=jb(this.O.childNodes,hB),this.i&&vb(this.o,jb(this.i.childNodes,hB)));this.s=e;U(r(this.Or,this))}u(gB,W);f=gB.prototype;f.Or=function(){this.j&&this.i&&this.g.ka(this.j,"click",this.Bq);this.N&&this.g.ka(this.N,"click",this.Vt);this.g.ka(this.s,"add",this.ct)}; function hB(a){var b=Ye("SPAN","sidebar-collection-title",a)[0];b||(b=Ye("SPAN","hp-collection-title",a)[0]);if(!b)return"";a=Pb(Ee(If(b)));return Pb(a.split("(")[0])}f.Vt=function(){var a=new dB("Create new bookshelf","Create bookshelf",this.s,r(this.nv,this));a.render();a.Da(!0)};f.nv=function(a){var b=Pb(Ee(a)).toLowerCase();return!kb(this.o,function(c){return c.toLowerCase()==b})}; f.ct=function(a){a=a.shelf;var b=Pb(Ee(a.kb())),c=1==a.Ge;this.o.push(b);var d=new R("/books");uu(d);S(d,"as_coll",a.getId());S(d,"source","gbs_lp_bookshelf_list");if(Yo.IsBooksUnifiedLeftNavEnabled){a=C("LI",{"class":"left-nav-shelf-item"});var e=C("A",{"class":"sidebar-link"});pe(e,d.toString());d=C("SPAN");x(d,"sidebar-collection-title");N(d,ql(b+" (0)",{af:"038e33c2-d414-44e2-bbe6-927f8ace3e86"}));e.appendChild(d);a.appendChild(e);c=B("hidden-my-library-expanded");sf(a,c);XA(!0,"my-library")}else a= F("DIV"),e=C("A",{"class":"hp-bookshelf-link",style:"line-height:19px"}),pe(e,d.toString()),d=C("SPAN",{"class":"hp-collection-title"}),N(d,ql(b,{af:"0b6daedb-ff6d-4634-9ac2-c45d944e2b5e"})),e.appendChild(d),a.appendChild(e),b=c?"Public bookshelf":"Private bookshelf",c=C("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=C("DIV",{style:"clear:both"}),a.appendChild(c),tf(a,B("csStart"))}; f.Bq=function(a){a.preventDefault();a=!Bh(this.i);M(this.i,a);a?(Tr(this.j,9,this.i,8),200 galvanizing equipment