Effectuez des recherches dans l'index de livres complets le plus fourni au monde.

Ma bibliothèque

ÉditeursÀ proposConfidentialitéConditions d'utilisationAide
");return null==a||null==a.sheet?Rd:Ng(a.sheet,void 0!=b?b:null,c)}function Rg(a){if(z&&!wc(10)||"function"!=typeof p.DOMParser)return null;a=ne(""+a+"");return(new DOMParser).parseFromString(Vd(a),"text/html").body.children[0]} function Pg(a,b){if(!a)return Fd;var c=document.createElement("div").style;Sg(a).forEach(function(d){var e=fc&&d in Mg?d:d.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");Bb(e,"--")||Bb(e,"var")||(d=Ig(a,d),d=hg(e,d,b),null!=d&&Jg(c,e,d))});return new Bd(c.cssText||"",Ad)} function Tg(a){var b=Array.from(Ag(pg,a,"getElementsByTagName",["STYLE"])),c=sb(b,function(e){return jb(Eg(e).cssRules)});c=Og(c);c.sort(function(e,g){e=ag(e.selectorText);a:{g=ag(g.selectorText);for(var h=ob,k=Math.min(e.length,g.length),l=0;l=a.left&&b.right<=a.right&&b.top>=a.top&&b.bottom<=a.bottom:b.x>=a.left&&b.x<=a.right&&b.y>=a.top&&b.y<=a.bottom:!1}function Yg(a,b){var c=b.xa.right?b.x-a.right:0;a=b.ya.bottom?b.y-a.bottom:0;return Math.sqrt(c*c+a*a)} f.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};f.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};f.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};function Zg(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}f=Zg.prototype;f.clone=function(){return new Zg(this.left,this.top,this.width,this.height)};function $g(a){return new Vg(a.top,a.left+a.width,a.top+a.height,a.left)}function ah(a){return new Zg(a.left,a.top,a.right-a.left,a.bottom-a.top)} function bh(a,b){var c=Math.max(a.left,b.left),d=Math.min(a.left+a.width,b.left+b.width);if(c<=d){var e=Math.max(a.top,b.top);b=Math.min(a.top+a.height,b.top+b.height);if(e<=b)return a.left=c,a.top=e,a.width=d-c,a.height=b-e,!0}return!1}function ch(a,b){var c=Math.max(a.left,b.left),d=Math.min(a.left+a.width,b.left+b.width);if(c<=d){var e=Math.max(a.top,b.top);a=Math.min(a.top+a.height,b.top+b.height);if(e<=a)return new Zg(c,e,d-c,a-e)}return null} function dh(a,b){return a.left<=b.left+b.width&&b.left<=a.left+a.width&&a.top<=b.top+b.height&&b.top<=a.top+a.height}function eh(a,b){if(!a||!b)return null;a=new Zg(a.left,a.top,a.width,a.height);var c=Math.max(a.left+a.width,b.left+b.width),d=Math.max(a.top+a.height,b.top+b.height);a.left=Math.min(a.left,b.left);a.top=Math.min(a.top,b.top);a.width=c-a.left;a.height=d-a.top;return a}f.Fa=function(){return new Be(this.width,this.height)}; f.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};f.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};f.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function I(a,b,c){if("string"===typeof b)(b=fh(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],g=fh(c,d);g&&(c.style[g]=e)}}var gh={};function fh(a,b){var c=gh[b];if(!c){var d=Se(b);c=d;void 0===a.style[d]&&(d=(fc?"Webkit":ec?"Moz":z?"ms":null)+Te(d),void 0!==a.style[d]&&(c=d));gh[b]=c}return c}function hh(a,b){var c=a.style[Se(b)];return"undefined"!==typeof c?c:a.style[fh(a,b)]||""} function ih(a,b){var c=We(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""}function jh(a,b){return a.currentStyle?a.currentStyle[b]:null}function kh(a,b){return ih(a,b)||jh(a,b)||a.style&&a.style[b]}function lh(a,b,c){if(b instanceof A){var d=b.x;b=b.y}else d=b,b=c;a.style.left=mh(d,!1);a.style.top=mh(b,!1)}function nh(a){return new A(a.offsetLeft,a.offsetTop)} function oh(a){a=a?We(a):document;return!z||xc(9)||hf(Ue(a).g)?a.documentElement:a.body}function ph(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}} function qh(a){if(z&&!xc(8))return a.offsetParent;var b=We(a),c=kh(a,"position"),d="fixed"==c||"absolute"==c;for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(11==a.nodeType&&a.host&&(a=a.host),c=kh(a,"position"),d=d&&"static"==c&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return null} function rh(a){for(var b=new Vg(0,Infinity,Infinity,0),c=Ue(a),d=c.g.body,e=c.g.documentElement,g=kf(c.g);a=qh(a);)if(!(z&&0==a.clientWidth||fc&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=kh(a,"overflow")){var h=sh(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= gf(Qf(c));b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,g+c.height);return 0<=b.top&&0<=b.left&&b.bottom>b.top&&b.right>b.left?b:null} function th(a,b){b=b||kf(document);var c=b||kf(document);var d=sh(a),e=sh(c),g=uh(c);if(c==kf(document)){var h=d.x-c.scrollLeft;d=d.y-c.scrollTop;z&&!xc(10)&&(h+=g.left,d+=g.top)}else h=d.x-e.x-g.left,d=d.y-e.y-g.top;a=vh(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 sh(a){var b=We(a),c=new A(0,0),d=oh(b);if(a==d)return c;a=ph(a);b=jf(Ue(b).g);c.x=a.left+b.x;c.y=a.top+b.y;return c}function wh(a,b){a=xh(a);b=xh(b);return new A(a.x-b.x,a.y-b.y)}function yh(a){a=ph(a);return new A(a.left,a.top)}function xh(a){if(1==a.nodeType)return yh(a);a=a.changedTouches?a.changedTouches[0]:a;return new A(a.clientX,a.clientY)}function zh(a,b,c){var d=sh(a);b instanceof A&&(c=b.y,b=b.x);lh(a,a.offsetLeft+(b-d.x),a.offsetTop+(Number(c)-d.y))} function J(a,b,c){if(b instanceof Be)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");Ah(a,b);a.style.height=mh(c,!0)}function mh(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}function Ah(a,b){a.style.width=mh(b,!0)}function L(a){var b=vh;if("none"!=kh(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 vh(a){var b=a.offsetWidth,c=a.offsetHeight,d=fc&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=ph(a),new Be(a.right-a.left,a.bottom-a.top)):new Be(b,c)}function Bh(a){var b=sh(a);a=L(a);return new Zg(b.x,b.y,a.width,a.height)}function Ch(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 Dh(a){return"none"!=a.style.display} function Eh(a){return"rtl"==kh(a,"direction")}var Fh=ec?"MozUserSelect":fc||cc?"WebkitUserSelect":null;function Gh(a,b,c){c=c?null:a.getElementsByTagName("*");if(Fh){if(b=b?"none":"",a.style&&(a.style[Fh]=b),c){a=0;for(var d;d=c[a];a++)d.style&&(d.style[Fh]=b)}}else if(z&&(b=b?"on":"",a.setAttribute("unselectable",b),c))for(a=0;d=c[a];a++)d.setAttribute("unselectable",b)} function Hh(a,b){var c=hf(Ue(We(a)).g);if(!z||wc("10")||c)Ih(a,b,"border-box");else{var d=a.style;c?(c=Jh(a),a=uh(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 Kh(a){var b=We(a),c=z&&a.currentStyle;if(c&&hf(Ue(b).g)&&"auto"!=c.width&&"auto"!=c.height&&!c.boxSizing)return b=Lh(a,c.width,"width","pixelWidth"),a=Lh(a,c.height,"height","pixelHeight"),new Be(b,a);c=new Be(a.offsetWidth,a.offsetHeight);b=Jh(a);a=uh(a);return new Be(c.width-a.left-b.left-b.right-a.right,c.height-a.top-b.top-b.bottom-a.bottom)} function Mh(a,b){var c=hf(Ue(We(a)).g);if(!z||wc("10")||c)Ih(a,b,"content-box");else{var d=a.style;c?(d.pixelWidth=b.width,d.pixelHeight=b.height):(c=Jh(a),a=uh(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 Ih(a,b,c){a=a.style;ec?a.MozBoxSizing=c:fc?a.WebkitBoxSizing=c:a.boxSizing=c;a.width=Math.max(b.width,0)+"px";a.height=Math.max(b.height,0)+"px"} function Lh(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 Nh(a,b){return(b=jh(a,b))?Lh(a,b,"left","pixelLeft"):0} function Jh(a){if(z){var b=Nh(a,"paddingLeft"),c=Nh(a,"paddingRight"),d=Nh(a,"paddingTop");a=Nh(a,"paddingBottom");return new Vg(d,c,a,b)}b=ih(a,"paddingLeft");c=ih(a,"paddingRight");d=ih(a,"paddingTop");a=ih(a,"paddingBottom");return new Vg(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))}var Oh={thin:2,medium:4,thick:6};function Ph(a,b){if("none"==jh(a,b+"Style"))return 0;b=jh(a,b+"Width");return b in Oh?Oh[b]:Lh(a,b,"left","pixelLeft")} function uh(a){if(z&&!xc(9)){var b=Ph(a,"borderLeft"),c=Ph(a,"borderRight"),d=Ph(a,"borderTop");a=Ph(a,"borderBottom");return new Vg(d,c,a,b)}b=ih(a,"borderLeftWidth");c=ih(a,"borderRightWidth");d=ih(a,"borderTopWidth");a=ih(a,"borderBottomWidth");return new Vg(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))};var Qh={"* 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},Rh={"* 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 Sh="undefined"!=typeof WeakMap&&-1!=WeakMap.toString().indexOf("[native code]"),Th=0;function Uh(){this.j=[];this.i=[];this.g="data-elementweakmap-index-"+Th++}Uh.prototype.set=function(a,b){if(Ag(lg,a,"hasAttribute",[this.g])){var c=parseInt(Ag(mg,a,"getAttribute",[this.g])||null,10);this.i[c]=b}else c=this.i.push(b)-1,Cg(a,this.g,c.toString()),this.j.push(a);return this}; Uh.prototype.get=function(a){if(Ag(lg,a,"hasAttribute",[this.g]))return a=parseInt(Ag(mg,a,"getAttribute",[this.g])||null,10),this.i[a]};Uh.prototype.clear=function(){this.j.forEach(function(a){Ag(og,a,"removeAttribute",[this.g])},this);this.j=[];this.i=[]};var Vh=!z||xc(10),Wh=!z||null==document.documentMode;function Xh(){};var Yh={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 Zh={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 $h={"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 ai(a){a=a||new bi;ci(a);this.g=Pc(a.g);this.N=Pc(a.ua);this.j=Pc(a.wa);this.oa=a.na;a.Ca.forEach(function(b){if(!Bb(b,"data-"))throw new Ta('Only "data-" attributes allowed, got: %s.',[b]);if(Bb(b,"data-sanitizer-"))throw new Ta('Attributes with "%s" prefix are not allowed, got: %s.',["data-sanitizer-",b]);this.g["* "+b.toUpperCase()]=di},this);a.Ba.forEach(function(b){b=b.toUpperCase();if(!Pb(b,"-")||$h[b])throw new Ta("Only valid custom element tag names allowed, got: %s.",[b]);this.j[b]= !0},this);this.ma=a.j;this.o=a.Qa;this.s=null;this.O=a.oa}u(ai,Xh);function ei(a){return function(b,c){return(b=a(Fb(b),c))&&"about:invalid#zClosurez"!=rd(b)?rd(b):null}}function bi(){this.g={};v([Qh,Rh],function(a){Jc(a).forEach(function(b){this.g[b]=di},this)},this);this.i={};this.Ca=[];this.Ba=[];this.ua=Pc(Yh);this.wa=Pc(Zh);this.na=!1;this.ma=xd;this.O=this.s=this.o=this.j=Dc;this.Qa=null;this.N=this.oa=!1} function fi(a,b){return function(c,d,e,g){c=a(c,d,e,g);return null==c?null:b(c,d,e,g)}}function gi(a,b,c,d){a[c]&&!b[c]&&(a[c]=fi(a[c],d))} function ci(a){if(a.N)throw Error("HtmlSanitizer.Builder.build() can only be used once.");gi(a.g,a.i,"* USEMAP",hi);var b=ei(a.ma);["* ACTION","* CITE","* HREF"].forEach(function(d){gi(this.g,this.i,d,b)},a);var c=ei(a.j);["* LONGDESC","* SRC","LINK HREF"].forEach(function(d){gi(this.g,this.i,d,c)},a);["* FOR","* HEADERS","* NAME"].forEach(function(d){gi(this.g,this.i,d,t(ii,this.o))},a);gi(a.g,a.i,"A TARGET",t(ji,["_blank","_self"]));gi(a.g,a.i,"* CLASS",t(ki,a.s));gi(a.g,a.i,"* ID",t(li,a.s));gi(a.g, a.i,"* STYLE",t(a.O,c));a.N=!0}function mi(a,b){a||(a="*");return(a+" "+b).toUpperCase()}function di(a){return Fb(a)}function ji(a,b){b=Fb(b);return db(a,b.toLowerCase())?b:null}function hi(a){return(a=Fb(a))&&"#"==a.charAt(0)?a:null}function ii(a,b,c){return a(Fb(b),c)}function ki(a,b,c){b=b.split(/(?:\s+)/);for(var d=[],e=0;e"+b+""),Tg(b),b=b.innerHTML);b=ne(b);var c=document.createElement("template");if(Wh&&"content"in c)pe(c,b),c=c.content;else{var d=document.implementation.createHTMLDocument("x");c=d.body;pe(d.body,b)}b=document.createTreeWalker(c,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,null,!1);for(c=Sh? new WeakMap:new Uh;d=b.nextNode();){c:{var e=d;switch(Gg(e)){case 3:e=ni(this,e);break c;case 1:if("TEMPLATE"==Fg(e).toUpperCase())e=null;else{var g=Fg(e).toUpperCase();if(g in this.N||"http://www.w3.org/1999/xhtml"!=Kg(e))var h=null;else this.j[g]?h=document.createElement(g):(h=E("SPAN"),this.oa&&Cg(h,"data-sanitizer-original-tag",g.toLowerCase()));if(h){var k=h,l=Bg(e);if(null!=l)for(var n=0;g=l[n];n++)if(g.specified){var q=e;var x=g;var D=x.name;if(Bb(D,"data-sanitizer-"))x=null;else{var H=Fg(q); x=x.value;var K={tagName:Fb(H).toLowerCase(),attributeName:Fb(D).toLowerCase()},V={Qk:void 0};"style"==K.attributeName&&(V.Qk=Dg(q));q=mi(H,D);q in this.g?(D=this.g[q],x=D(x,K,V)):(D=mi(null,D),D in this.g?(D=this.g[D],x=D(x,K,V)):x=null)}null!==x&&Cg(k,g.name,x)}e=h}else e=null}break c;default:e=null}}if(e){if(1==Gg(e)&&c.set(d,e),d=Hg(d),g=!1,d)h=Gg(d),k=Fg(d).toLowerCase(),l=Hg(d),11!=h||l?"body"==k&&l&&(h=Hg(l))&&!Hg(h)&&(g=!0):g=!0,h=null,g||!d?h=a:1==Gg(d)&&(h=c.get(d)),h.content&&(h=h.content), h.appendChild(e)}else sf(d)}c.clear&&c.clear()}else a=E("SPAN");0")+1,a.lastIndexOf(""+b);b=(new DOMParser).parseFromString(xi(b),"text/html");for(var c=b.createElement("div");Ci(b.body).length;)c.appendChild(Di(b.body));b=b.createTreeWalker(c,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,function(h){return Vi(a,h)},!1);c=b.nextNode();for(var d=document.createElement("div"),e=d;null!==c;){var g=void 0;if(Bi(c)===Node.TEXT_NODE)g=document.createTextNode(c.data);else if(Bi(c)===Node.ELEMENT_NODE)g=Wi(a,c);else throw Error("Node is not of type text or element"); e.appendChild(g);if(c=b.firstChild())e=g;else for(;!(c=b.nextSibling())&&(c=b.parentNode());)e=e.parentNode}b=(new XMLSerializer).serializeToString(d);b=b.slice(b.indexOf(">")+1,b.lastIndexOf(">>0);function yj(a){if("function"===typeof a)return a;a[Hj]||(a[Hj]=function(b){return a.handleEvent(b)});return a[Hj]};function Ij(a){cj.call(this);this.N=a;this.j={}}u(Ij,cj);var Jj=[];f=Ij.prototype;f.ka=function(a,b,c,d){return Kj(this,a,b,c,d)};function Lj(a,b,c,d,e){Kj(a,b,c,d,!1,e)}function Kj(a,b,c,d,e,g){Array.isArray(c)||(c&&(Jj[0]=c.toString()),c=Jj);for(var h=0;h=a.keyCode)return!1;if(Rj(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!ec;default:return 166>a.keyCode||183=a||96<=a&&106>=a||65<=a&&90>=a||(fc||cc)&&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 ec;default:return!1}}function Tj(a){if(ec)a=Uj(a);else if(hc&&fc)switch(a){case 93:a=91}return a} function Uj(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 Vj(a){if(a.lc&&"function"==typeof a.lc)return a.lc();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(Ga(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.substr(0,d),e,a.substr(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;a=a[0]+(a[1]?"?"+a[1]:"")+a[2]}return a}function bk(a,b,c,d){for(var e=c.length;0<=(b=a.indexOf(c,b))&&bd)return null;var e=b.indexOf("&",d);if(0>e||e>c)e=c;d+=a.length+1;return He(b.substr(d,e-d))}var ek=/[?&]($|#)/;function Q(a,b){this.i=this.O=this.o="";this.ma=null;this.g=this.s="";this.N=!1;var c;a instanceof Q?(this.N=void 0!==b?b:a.N,fk(this,a.o),this.O=a.O,this.i=a.i,gk(this,a.ma),hk(this,a.s),ik(this,a.j.clone()),this.g=a.g):a&&(c=String(a).match(Yj))?(this.N=!!b,fk(this,c[1]||"",!0),this.O=jk(c[2]||""),this.i=jk(c[3]||"",!0),gk(this,c[4]),hk(this,c[5]||"",!0),ik(this,c[6]||"",!0),this.g=jk(c[7]||"")):(this.N=!!b,this.j=new kk(null,this.N))} Q.prototype.toString=function(){var a=[],b=this.o;b&&a.push(lk(b,mk,!0),":");var c=this.i;if(c||"file"==b)a.push("//"),(b=this.O)&&a.push(lk(b,mk,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.ma,null!=c&&a.push(":",String(c));if(c=this.s)this.i&&"/"!=c.charAt(0)&&a.push("/"),a.push(lk(c,"/"==c.charAt(0)?nk:ok,!0));(c=this.j.toString())&&a.push("?",c);(c=this.g)&&a.push("#",lk(c,pk));return a.join("")}; Q.prototype.resolve=function(a){var b=this.clone(),c=!!a.o;c?fk(b,a.o):c=!!a.O;c?b.O=a.O:c=!!a.i;c?b.i=a.i:c=null!=a.ma;var d=a.s;if(c)gk(b,a.ma);else if(c=!!a.s){if("/"!=d.charAt(0))if(this.i&&!this.s)d="/"+d;else{var e=b.s.lastIndexOf("/");-1!=e&&(d=b.s.substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(Pb(e,"./")||Pb(e,"/.")){d=Bb(e,"/");e=e.split("/");for(var g=[],h=0;hb)throw Error("Bad port number "+b);a.ma=b}else a.ma=null}function hk(a,b,c){a.s=c?jk(b,!0):b}function ik(a,b,c){b instanceof kk?(a.j=b,qk(a.j,a.N)):(c||(b=lk(b,rk)),a.j=new kk(b,a.N))} Q.prototype.getQuery=function(){return this.j.toString()};function R(a,b,c){a.j.set(b,c);return a}function S(a,b){return a.j.get(b)}function sk(a,b){a.j.remove(b)}function jk(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}function lk(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,tk),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}function tk(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)} var mk=/[#\/\?@]/g,ok=/[#\?:]/g,nk=/[#\?]/g,rk=/[#\?@]/g,pk=/#/g;function kk(a,b){this.i=this.g=null;this.j=a||null;this.s=!!b}function uk(a){a.g||(a.g=new Map,a.i=0,a.j&&Zj(a.j,function(b,c){a.add(He(b),c)}))}function vk(a){var b=Wj(a);if("undefined"==typeof b)throw Error("Keys are undefined");var c=new kk(null,void 0);a=Vj(a);for(var d=0;da.i&&(a.i++,b.next=a.g,a.g=b)};function Jk(a,b){var c=a;b&&(c=r(a,b));c=Kk(c);"function"!==typeof p.setImmediate||p.Window&&p.Window.prototype&&!y("Edge")&&p.Window.prototype.setImmediate==p.setImmediate?(Lk||(Lk=Mk()),Lk(c)):p.setImmediate(c)}var Lk; function Mk(){var a=p.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!y("Presto")&&(a=function(){var e=E("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&&!y("Trident")&&!y("MSIE")){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){p.setTimeout(e,0)}}var Kk=Ec;function Nk(a){p.setTimeout(function(){throw a;},0)};function Ok(){this.i=this.g=null}Ok.prototype.add=function(a,b){var c=Pk.get();c.set(a,b);this.i?this.i.next=c:this.g=c;this.i=c};Ok.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 Pk=new Hk(function(){return new Qk},function(a){return a.reset()});function Qk(){this.next=this.g=this.He=null}Qk.prototype.set=function(a,b){this.He=a;this.g=b;this.next=null};Qk.prototype.reset=function(){this.next=this.g=this.He=null};function Rk(a,b){Sk||Tk();Uk||(Sk(),Uk=!0);Vk.add(a,b)}var Sk;function Tk(){if(p.Promise&&p.Promise.resolve){var a=p.Promise.resolve(void 0);Sk=function(){a.then(Wk)}}else Sk=function(){Jk(Wk)}}var Uk=!1,Vk=new Ok;function Wk(){for(var a;a=Vk.remove();){try{a.He.call(a.g)}catch(b){Nk(b)}Ik(Pk,a)}Uk=!1};function Xk(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};function Yk(a){this.g=0;this.O=void 0;this.s=this.i=this.j=null;this.o=this.N=!1;if(a!=Da)try{var b=this;a.call(void 0,function(c){Zk(b,2,c)},function(c){Zk(b,3,c)})}catch(c){Zk(this,3,c)}}function $k(){this.next=this.context=this.i=this.j=this.g=null;this.s=!1}$k.prototype.reset=function(){this.context=this.i=this.j=this.g=null;this.s=!1};var al=new Hk(function(){return new $k},function(a){a.reset()});function bl(a,b,c){var d=al.get();d.j=a;d.i=b;d.context=c;return d} function cl(){var a,b,c=new Yk(function(d,e){a=d;b=e});return new dl(c,a,b)}Yk.prototype.then=function(a,b,c){return el(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};Yk.prototype.$goog_Thenable=!0;Yk.prototype.cancel=function(a){if(0==this.g){var b=new fl(a);Rk(function(){gl(this,b)},this)}}; function gl(a,b){if(0==a.g)if(a.j){var c=a.j;if(c.i){for(var d=0,e=null,g=null,h=c.i;h&&(h.s||(d++,h.g==a&&(e=h),!(e&&1=b})}function Pl(a,b){return a.g.find(function(c){return Xg($g(Ll(c)),b)})};function Ql(){this.g=[];this.cells=[]}u(Ql,Ml);f=Ql.prototype;f.Am=0;f.marginTop=0;f.marginRight=0;f.yi=0;f.ql=0;f.Qj=0;f.iq=!1;f.Bb=function(){return this.wb};f.Db=function(){return this.Cb}; function Rl(a){a.O();for(var b=a.Am,c=0;cthis.na)if(this.dispatchEvent(new Im("start",this,a.clientX,a.clientY,a)))this.i=!0;else{this.Hd||this.Wi(a);return}}c=Lm(this,b,c);b=c.x;c=c.y;this.i&&this.dispatchEvent(new Im("beforedrag",this,a.clientX,a.clientY,a,b,c))&&(Mm(this,a,b,c),a.preventDefault())}}; function Lm(a,b,c){var d=jf(Ue(a.j).g);b+=d.x-a.wa.x;c+=d.y-a.wa.y;a.wa=d;a.deltaX+=b;a.deltaY+=c;return new A(Jm(a,a.deltaX),Km(a,a.deltaY))}f.jv=function(a){var b=Lm(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;Mm(this,a,b.x,b.y)};function Mm(a,b,c,d){a.Sk(c,d);a.dispatchEvent(new Im("drag",a,b.clientX,b.clientY,b,c,d))}function Jm(a,b){var c=a.ua;a=isNaN(c.left)?null:c.left;c=isNaN(c.width)?0:c.width;return Math.min(null!=a?a+c:Infinity,Math.max(null!=a?a:-Infinity,b))} function Km(a,b){var c=a.ua;a=isNaN(c.top)?null:c.top;c=isNaN(c.height)?0:c.height;return Math.min(null!=a?a+c:Infinity,Math.max(null!=a?a:-Infinity,b))}f.Sk=function(a,b){this.target.style.left=a+"px";this.target.style.top=b+"px"};function Im(a,b,c,d,e,g,h){fj.call(this,a);this.clientX=c;this.clientY=d;this.i=e;this.left=void 0!==g?g:b.deltaX;this.top=void 0!==h?h:b.deltaY}u(Im,fj);function Nm(a){this.Ud=new Map;var b=arguments.length;if(1b||b>dn(this))throw Error("Child component index out of bounds");this.ma&&this.N||(this.ma={},this.N=[]);if(a.getParent()==this){var d=a.getId();this.ma[d]=a;fb(this.N,a)}else Oc(this.ma,a.getId(),a);a.ke(this);lb(this.N,b,0,a);a.$a&&this.$a&&a.getParent()==this?(c=this.Ib(),(c.childNodes[b]||null)!=a.ha()&&(a.ha().parentElement==c&&c.removeChild(a.ha()),b=c.childNodes[b]||null,c.insertBefore(a.ha(),b))):c? (this.ya||this.Va(),b=en(this,b+1),an(a,this.Ib(),b?b.ya:null)):this.$a&&!a.$a&&a.ya&&a.ya.parentNode&&1==a.ya.parentNode.nodeType&&a.Ma()};f.Ib=function(){return this.ya};function fn(a){null==a.Xb&&(a.Xb=Eh(a.$a?a.ya:a.g.g.body));return a.Xb}function dn(a){return a.N?a.N.length:0}function $m(a,b){a.ma&&b?(a=a.ma,b=(null!==a&&b in a?a[b]:void 0)||null):b=null;return b}function en(a,b){return a.N?a.N[b]||null:null}function cn(a,b,c){a.N&&a.N.forEach(b,c)} function gn(a,b){return a.N&&b?a.N.indexOf(b):-1}f.removeChild=function(a,b){if(a){var c="string"===typeof a?a:a.getId();a=$m(this,c);if(c&&a){var d=this.ma;c in d&&delete d[c];fb(this.N,a);b&&(a.kc(),a.ya&&F(a.ya));a.ke(null)}}if(!a)throw Error("Child is not in parent component");return a};function hn(a,b){this.ya=a;this.i=b};function jn(a,b){P.call(this);this.s=new Ij(this);this.og(a||null);b&&(this.qg=b)}u(jn,P);f=jn.prototype;f.ya=null;f.Un=!0;f.Tn=null;f.mg=!1;f.Cl=-1;f.io=!0;f.qg="toggle_display";f.getType=function(){return this.qg};f.ha=function(){return this.ya};f.og=function(a){kn(this);this.ya=a};function kn(a){if(a.mg)throw Error("Can not change this state of the popup while showing.");}f.isVisible=function(){return this.mg}; f.Da=function(a){this.Ja&&this.Ja.stop();this.ua&&this.ua.stop();if(a){if(!this.mg&&this.Nl()){if(!this.ya)throw Error("Caller must call setElement before trying to show the popup");this.ng();a=We(this.ya);if(this.Un)if(this.s.ka(a,"mousedown",this.kp,!0),z){try{var b=a.activeElement}catch(d){}for(;b&&"IFRAME"==b.nodeName;){try{var c=Df(b)}catch(d){break}a=c;b=a.activeElement}this.s.ka(a,"mousedown",this.kp,!0);this.s.ka(a,"deactivate",this.jp)}else this.s.ka(a,"blur",this.jp);"toggle_display"==this.qg? (this.ya.style.visibility="visible",M(this.ya,!0)):"move_offscreen"==this.qg&&this.ng();this.mg=!0;this.Cl=Date.now();this.Ja?(xj(this.Ja,"end",this.Ai,!1,this),this.Ja.play()):this.Ai()}}else ln(this)};f.ng=Da;function ln(a,b){a.mg&&a.dispatchEvent({type:"beforehide",target:b})&&(a.s&&Nj(a.s),a.mg=!1,Date.now(),a.ua?(xj(a.ua,"end",t(a.Yn,b),!1,a),a.ua.play()):a.Yn(b))}f.Yn=function(a){"toggle_display"==this.qg?this.ru():"move_offscreen"==this.qg&&(this.ya.style.top="-10000px");this.jh(a)}; f.ru=function(){this.ya.style.visibility="hidden";M(this.ya,!1)};f.Nl=function(){return this.dispatchEvent("beforeshow")};f.Ai=function(){this.dispatchEvent("show")};f.jh=function(a){this.dispatchEvent({type:"hide",target:a})};f.kp=function(a){a=a.target;Cf(this.ya,a)||mn(this,a)||150>Date.now()-this.Cl||ln(this,a)}; f.jp=function(a){if(this.io){var b=We(this.ya);if("undefined"!=typeof document.activeElement){if(a=b.activeElement,!a||Cf(this.ya,a)||"BODY"==a.tagName||mn(this,a))return}else if(a.target!=b)return;150>Date.now()-this.Cl||ln(this)}};function mn(a,b){return ab(a.Tn||[],function(c){return b===c||Cf(c,b)})}f.va=function(){jn.ta.va.call(this);this.s.Ha();bj(this.Ja);bj(this.ua);delete this.ya;delete this.s;delete this.Tn};function nn(a,b){X.call(this,b);this.Nf=!!a;this.ua=null;this.Nc=Sm({Ru:this.Ej},this)}u(nn,X);f=nn.prototype;f.Zk=null;f.Di=!1;f.md=null;f.yc=null;f.Td=null;f.Hk=!1;f.kh=function(){return"goog-modalpopup"};f.Jh=function(){return this.md};f.Va=function(){nn.ta.Va.call(this);var a=this.ha();xb(a,Fb(this.kh()).split(" "));If(a,!0);M(a,!1);on(this);pn(this)}; function on(a){if(a.Nf&&!a.yc){var b=a.g.Ra("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;"});b.src=ld(Um).toString();a.yc=b;a.yc.className=a.kh()+"-bg";M(a.yc,!1);Ch(a.yc,0)}a.md||(a.md=a.g.Ra("DIV",a.kh()+"-bg"),M(a.md,!1))}function pn(a){a.Td||(a.Td=Pf(a.g,"SPAN"),M(a.Td,!1),If(a.Td,!0),a.Td.style.position="absolute")}f.Kp=function(){this.Hk=!1};f.zi=function(a){return!!a&&"DIV"==a.tagName}; f.Nb=function(a){nn.ta.Nb.call(this,a);a=Fb(this.kh()).split(" ");xb(this.ha(),a);on(this);pn(this);If(this.ha(),!0);M(this.ha(),!1)};f.Ma=function(){this.yc&&tf(this.yc,this.ha());tf(this.md,this.ha());nn.ta.Ma.call(this);uf(this.Td,this.ha());this.Zk=new Vm(this.g.g);Y(this).ka(this.Zk,"focusin",this.dv);qn(this,!1)};f.kc=function(){this.isVisible()&&this.Da(!1);bj(this.Zk);nn.ta.kc.call(this);F(this.yc);F(this.md);F(this.Td)}; f.Da=function(a){if(a!=this.Di)if(this.Ba&&this.Ba.stop(),this.La&&this.La.stop(),this.wa&&this.wa.stop(),this.Ja&&this.Ja.stop(),this.$a&&qn(this,a),a){if(this.dispatchEvent("beforeshow")){try{this.ua=this.g.g.activeElement}catch(e){}this.Ej();this.lh();Y(this).ka(Qf(this.g),"resize",this.Ej).ka(Qf(this.g),"orientationchange",this.Nc);rn(this,!0);this.focus();this.Di=!0;this.Ba&&this.La?(xj(this.Ba,"end",this.Ci,!1,this),this.La.play(),this.Ba.play()):this.Ci()}}else if(this.dispatchEvent("beforehide")){Y(this).Xa(Qf(this.g), "resize",this.Ej).Xa(Qf(this.g),"orientationchange",this.Nc);this.Di=!1;this.wa&&this.Ja?(xj(this.wa,"end",this.Bi,!1,this),this.Ja.play(),this.wa.play()):this.Bi();a:{try{var b=this.g,c=b.g.body,d=b.g.activeElement||c;if(!this.ua||this.ua==c){this.ua=null;break a}(d==c||b.ym(this.ha(),d))&&this.ua.focus()}catch(e){}this.ua=null}}}; function qn(a,b){a.Fc||(a.Fc=new hn(a.ya,a.g));a=a.Fc;if(b){a.g||(a.g=[]);b=a.i.oo(a.i.g.body);for(var c=0;c=Nn&&(Ch(this.g,a),this.j=a)};f.Bf=function(){this.j=-1;Mn.ta.Bf.call(this)};f.Pe=function(){this.j=-1;Mn.ta.Pe.call(this)};f.show=function(){this.g.style.display=""};f.kb=function(){this.g.style.display="none"};function On(a,b,c){Mn.call(this,a,1,0,b,c)}u(On,Mn);On.prototype.Bf=function(){this.show();On.ta.Bf.call(this)};On.prototype.Pe=function(){this.kb();On.ta.Pe.call(this)}; function Pn(a,b,c,d,e){if(3!=b.length||3!=c.length)throw Error("Start and end points must be 3D");Ln.call(this,a,b,c,d,e)}u(Pn,Ln);Pn.prototype.lg=function(){for(var a=[],b=0;b2*this.size&&Yn(this),a=!0):a=!1;return a};function Yn(a){if(a.size!=a.g.length){for(var b=0,c=0;b=d.g.length)return Tf;var h=d.g[b++];return{value:a?h:d.i[h],done:!1}};var g=e.next;e.xj=function(){var h=g.call(e);if(h.done)throw Rf;return h.value};return e};function $n(a,b){return Object.prototype.hasOwnProperty.call(a,b)};function bo(){this.i=new Xn;this.g=new co("",void 0);this.g.next=this.g.g=this.g}f=bo.prototype;f.get=function(a,b){return(a=this.i.get(a))?a.value:b};f.set=function(a,b){var c=this.i.get(a);c?c.value=b:(c=new co(a,b),this.i.set(a,c),a=c,a.g=this.g.g,a.next=this.g,this.g.g=a,a.g.next=a)};f.shift=function(){return eo(this,this.g.next)};f.pop=function(){return eo(this,this.g.g)};f.remove=function(a){return(a=this.i.get(a))?(a.remove(),this.i.remove(a.key),!0):!1}; f.ae=function(){return fo(this,function(a,b){return b})};f.lc=function(){return fo(this,function(a){return a})};f.forEach=function(a,b){for(var c=this.g.next;c!=this.g;c=c.next)a.call(b,c.value,c.key,this)};function fo(a,b){for(var c=[],d=a.g.next;d!=a.g;d=d.next)c.push(b.call(void 0,d.value,d.key,a));return c}function eo(a,b){a.g!=b&&(b.remove(),a.i.remove(b.key));return b.value}function co(a,b){this.key=a;this.value=b} co.prototype.remove=function(){this.g.next=this.next;this.next.g=this.g;delete this.g;delete this.next};function go(){P.call(this);this.i=new bo}u(go,P);go.prototype.j=function(a){a.sort(ho);v(a,function(b){b.ke(this)},this);this.i=new bo;v(a,function(b){this.i.set(b.Pa(),b)},this);this.dispatchEvent("update")};function ho(a,b){return io(a)-io(b)}function jo(a){return a.i.lc()}function ko(a,b,c){a=jo(a);for(var d=-1,e=0;e=b.ma&&b.cancel())}this.ua?this.ua.call(this.Qa,this):this.oa=!0;this.j||(a=new po(this),qo(this),ro(this,!1,a))}};no.prototype.na=function(a,b){this.O=!1;ro(this,a,b)}; function ro(a,b,c){a.j=!0;a.i=c;a.s=!b;so(a)}function qo(a){if(a.j){if(!a.oa)throw new to(a);a.oa=!1}}no.prototype.Eg=function(a){qo(this);ro(this,!0,a)};function uo(a,b,c,d){a.o.push([b,c,d]);a.j&&so(a)}no.prototype.then=function(a,b,c){var d,e,g=new Yk(function(h,k){e=h;d=k});uo(this,e,function(h){h instanceof po?g.cancel():d(h)});return g.then(a,b,c)};no.prototype.$goog_Thenable=!0;function vo(a){return ab(a.o,function(b){return"function"===typeof b[1]})} function so(a){if(a.N&&a.j&&vo(a)){var b=a.N,c=wo[b];c&&(p.clearTimeout(c.lb),delete wo[b]);a.N=0}a.g&&(a.g.ma--,delete a.g);b=a.i;for(var d=c=!1;a.o.length&&!a.O;){var e=a.o.shift(),g=e[0],h=e[1];e=e[2];if(g=a.s?h:g)try{var k=g.call(e||a.Qa,b);void 0!==k&&(a.s=a.s&&(k==b||k instanceof Error),a.i=b=k);if(Xk(b)||"function"===typeof p.Promise&&b instanceof p.Promise)d=!0,a.O=!0}catch(l){b=l,a.s=!0,vo(a)||(c=!0)}}a.i=b;d&&(k=r(a.na,a,!0),d=r(a.na,a,!1),b instanceof no?(uo(b,k,d),b.wa=!0):b.then(k,d)); c&&(b=new xo(b),wo[b.lb]=b,a.N=b.lb)}function to(){Ra.call(this)}u(to,Ra);to.prototype.message="Deferred has already fired";to.prototype.name="AlreadyCalledError";function po(){Ra.call(this)}u(po,Ra);po.prototype.message="Deferred was canceled";po.prototype.name="CanceledError";function xo(a){this.lb=p.setTimeout(r(this.i,this),0);this.g=a}xo.prototype.i=function(){delete wo[this.lb];throw this.g;};var wo={};function yo(a,b){var c=b||{};b=c.document||document;var d=ld(a).toString(),e=Pf(new Ve(b),"SCRIPT"),g={Op:e,kg:void 0},h=new no(g),k=null,l=null!=c.timeout?c.timeout:5E3;0a.length?"":a[1]};function hp(a){P.call(this);this.ob={};a&&this.Dd(a)}u(hp,P);f=hp.prototype;f.qe=function(){return this.ob.w||this.getParent().g.width};f.de=function(){return this.ob.h||this.getParent().g.height};function Wl(a){return a.qe()/a.de()}f.Fa=function(){return new Be(this.qe(),this.de())};f.Dd=function(a){for(var b in a)this.ob[b]=a[b];this.dispatchEvent("update")};f.ke=function(a){this.N=a};f.getParent=function(){return this.N};f.hb=function(){return this.ob.title}; f.Ie=function(){var a=this.hb();return a?"Page "+a:""};function io(a){return a.ob.order}f.xd=function(a){if(this.ob.src&&a){var b=new Q(this.ob.src);R(b,"w",a.width);return b.toString()}return this.ob.src};f.Pa=function(){return this.ob.pid};function ip(a,b,c){if(z&&!wc("9")){var d=[];d[0]=O(a,"readystatechange",t(jp,a,t(kp,b),d))}else xj(a,"load",t(kp,b));c&&xj(a,"error",t(kp,c))}function kp(a){T(a)}function jp(a,b,c){if("complete"!=a.readyState)return!0;Fj(c[0]);b();return!1}var lp=E("div");function mp(a){if(a)if(z){lp.appendChild(a);var b=t(F,a);ip(a,b,b);a.src="//www.google.com/images/cleardot.gif"}else a.src="//www.google.com/images/cleardot.gif",F(a)};function np(a,b,c,d,e,g,h){P.call(this);this.N=a;this.wb=b;this.Cb=c;this.j=d;this.i=e;this.oa=g;this.O=h;this.s=Math.ceil(this.wb/this.j);this.o=Math.ceil(this.Cb/this.i);this.g=[];for(a=0;ab)return a[c]}else for(c=a.length-1;0<=c;c--)if(a[c]Math.abs(e-d)})});a.push.apply(a,c);nb(a);return a};function Rp(a,b){go.call(this);this.O={};a&&(this.zp=a.prefix,this.Uo=a.image_prefix||a.prefix,a=Ya(a.page,function(c){c=new this.s(c);b&&(c.Ad=b);return c},this),this.j(a))}u(Rp,go);Rp.prototype.tl=function(a){a=a.page;for(var b=0;be;e++){var g=c.concat(d[e].split(""));Up[e]=g;for(var h=0;h>2];l=b[(l&3)<<4|n>>4];n=b[(n&15)<<2|k>>6];k=b[k&63];c[e++]=h+l+n+k}h=0;k=d;switch(a.length-g){case 2:h=a[g+1],k=b[(h&15)<<2]||d;case 1:a=a[g],c[e]=b[a>>2]+b[(a&3)<<4|h>>4]+k+d}a=c.join("")}}return Array.isArray(a)?aq(a,bq):a}function cq(a){return Wp&&null!=a&&a instanceof Uint8Array?new Uint8Array(a):a};var dq;function eq(a,b,c){var d=dq;dq=null;a||(a=d);d=this.constructor.Ow;a||(a=d?[d]:[]);this.s=(d?0:-1)-(this.constructor.Lw||0);this.i=null;this.g=a;a:{d=this.g.length;a=d-1;if(d&&(d=this.g[a],Zp(d))){this.o=a-this.s;this.j=d;break a}void 0!==b&&-1=a.o?a.j?a.j[b]:void 0:a.g[b+a.s]}eq.prototype.toJSON=function(){return aq(this.g,bq)};eq.prototype.toString=function(){return this.g.toString()};eq.prototype.clone=function(){var a=this.constructor,b=aq(this.g,cq);dq=b;a=new a(b);dq=null;iq(a,this);return a}; function iq(a,b){b.N&&(a.N=b.N.slice());var c=b.i;if(c){b=b.j;for(var d in c){var e=c[d];if(e){var g=!(!b||!b[d]),h=+d;if(Array.isArray(e)){if(e.length){var k=a,l=e[0].constructor;k.i||(k.i={});var n=k.i[h];if(!n){var q=k;n=void 0===g?!1:g;n=void 0===n?!1:n;g=hq(q,h,n);null==g&&(g=fq);if(g===fq){var x=g=Yp(g.slice());(n=void 0===n?!1:n)||h>=q.o?(gq(q),q.j[h]=x):q.g[h+q.s]=x}n=[];for(q=0;qb.charCode&&Rj(d)?b.charCode:0):("keypress"==a.type?(yq&&(c=this.$j),b.keyCode==b.charCode?32>b.keyCode?(d=b.keyCode,e=0):(d=this.re,e=b.charCode):(d=b.keyCode||this.re,e=b.charCode||0)):(d=b.keyCode||this.re,e=b.charCode||0),hc&&63==e&&224==d&&(d=191));var g=d=Tj(d);d?63232<=d&&d in wq?g=wq[d]:25==d&&a.shiftKey&& (g=9):b.keyIdentifier&&b.keyIdentifier in xq&&(g=xq[b.keyIdentifier]);if(!ec||"keypress"!=a.type||Sj(g,this.Tc,a.shiftKey,a.ctrlKey,c,a.metaKey))a=g==this.Tc,this.Tc=g,b=new uq(g,e,a,b),b.altKey=c,this.dispatchEvent(b)};f.ha=function(){return this.ya};f.attach=function(a,b){this.vj&&zq(this);this.ya=a;this.uj=O(this.ya,"keypress",this,b);this.Al=O(this.ya,"keydown",this.Dq,b,this);this.vj=O(this.ya,"keyup",this.Eq,b,this)}; function zq(a){a.uj&&(Fj(a.uj),Fj(a.Al),Fj(a.vj),a.uj=null,a.Al=null,a.vj=null);a.ya=null;a.Tc=-1;a.re=-1}f.va=function(){vq.ta.va.call(this);zq(this)};function Aq(a,b){if(!a)throw Error("Invalid class name "+a);if("function"!==typeof b)throw Error("Invalid decorator function "+b);Bq[a]=b}var Cq={},Bq={};function Dq(a){this.g=a}Ea(Dq);function Eq(a,b){a&&(a.tabIndex=b?0:-1)}f=Dq.prototype;f.ak=function(a){return"DIV"==a.tagName};function Fq(a,b,c){c.id&&b.Zg(c.id);var d=a.rg(),e=!1,g=ub(c);g&&Array.prototype.forEach.call(g,function(h){h==d?e=!0:h&&(h==d+"-disabled"?b.Ta(!1):h==d+"-horizontal"?Gq(b,"horizontal"):h==d+"-vertical"&&Gq(b,"vertical"))},a);e||w(c,d);Hq(a,b,c);return c} function Hq(a,b,c){if(c)for(var d=c.firstChild,e;d&&d.parentNode==c;){e=d.nextSibling;if(1==d.nodeType){var g=a.Mh(d);g&&(g.ya=d,b.isEnabled()||g.Ta(!1),b.Oa(g),bn(g,d))}else d.nodeValue&&""!=Fb(d.nodeValue)||c.removeChild(d);d=e}}f.Mh=function(a){a:{a=ub(a);for(var b=0,c=a.length;bthis.ac&&b<=this.ac?this.ac++:athis.ac&&this.ac--}; f.removeChild=function(a,b){if(a="string"===typeof a?$m(this,a):a){var c=gn(this,a);-1!=c&&(c==this.ac?(a.Wc(!1),this.ac=-1):cb?c-1:b},0)}function or(a){qr(a,function(b,c){return(b+1)%c},a.ac)}function nr(a){qr(a,function(b,c){b--;return 0>b?c-1:b},a.ac)} function qr(a,b,c){c=0>c?gn(a,a.bc):c;var d=dn(a);c=b.call(a,c,d);for(var e=0;e<=d;){var g=en(a,c);if(g&&a.Vn(g)){a.Sd(c);break}e++;c=b.call(a,c,d)}}f.Vn=function(a){return a.isVisible()&&a.isEnabled()&&Qq(a,2)};function rr(a){X.call(this);this.j=a?a:null;var b=this.g;a=b.ha("gb-mobile-buy-panel");var c=b.ha("gb-mobile-buy-button"),d=b.ha("gb-mobile-buy-close-button");b=b.ha("volume-left");a&&c&&d&&b&&(this.i=new gr,bn(this.i,a),this.O=c,this.na=d,bn(this,b),this.i.Da(!1))}m(rr,X); rr.prototype.Ma=function(){var a=this;Y(this).ka(this.O,"click",this.o).ka(this.O,"keydown",function(b){32!=b.keyCode&&13!=b.keyCode||a.o()}).ka(this.na,"click",this.o).ka(this.na,"keydown",function(b){32!=b.keyCode&&13!=b.keyCode||a.o()})}; rr.prototype.o=function(){if(this.i.isVisible()){this.i.Da(!1);yb(this.i.Ib(),"gb-mobile-buy-panel-visible");this.j&&(this.j.style.overflowX="auto",this.j.style.overflowY="scroll");this.O.focus();for(var a=ka(document.querySelectorAll('[role="alert"],#volume-center,.aria-hide-on-menu-open')),b=a.next();!b.done;b=a.next())b.value.removeAttribute("aria-hidden")}else this.i.Da(!0),w(this.i.Ib(),"gb-mobile-buy-panel-visible"),this.j&&(this.j.style.overflowX="hidden",this.j.style.overflowY="hidden"),this.i.Ib().focus(), sr(this)};function sr(a){var b=a.i.Ib().querySelectorAll('[role="button"],[href]'),c=b[0],d=b[b.length-1];Y(a).ka(a.i.Ib(),"keydown",function(e){9==e.keyCode&&(e.shiftKey?document.activeElement===c&&(e.preventDefault(),d.focus()):document.activeElement===d&&(e.preventDefault(),c.focus()))});a=ka(document.querySelectorAll('[role="alert"],#volume-center,.aria-hide-on-menu-open'));for(b=a.next();!b.done;b=a.next())xm(b.value,"hidden",!0)};function tr(){}tr.prototype.Pc=function(){};function ur(a,b,c,d,e,g,h,k,l){var n=vr(c),q=Bh(a),x=rh(a);x&&bh(q,ah(x));x=Ue(a);var D=Ue(c);if(x.g!=D.g){var H=x.g.body;D=Qf(D);var K=new A(0,0),V=lf(We(H));if($b(V,"parent")){var Za=H;do{var Eb=V==D?sh(Za):yh(Za);K.x+=Eb.x;K.y+=Eb.y}while(V&&V!=D&&V!=V.parent&&(Za=V.frameElement)&&(V=V.parent))}H=Ae(K,sh(H));!z||xc(9)||hf(x.g)||(H=Ae(H,jf(x.g)));q.left+=H.x;q.top+=H.y}a=wr(a,b);b=q.left;a&4?b+=q.width:a&2&&(b+=q.width/2);q=new A(b,q.top+(a&1?q.height:0));q=Ae(q,n);e&&(q.x+=(a&4?-1:1)*e.x,q.y+= (a&1?-1:1)*e.y);if(h)if(l)var ta=l;else if(ta=rh(c))ta.top-=n.y,ta.right-=n.x,ta.bottom-=n.y,ta.left-=n.x;return xr(q,c,d,g,ta,h,k)} function vr(a){if(a=a.offsetParent){var b="HTML"==a.tagName||"BODY"==a.tagName;if(!b||"static"!=kh(a,"position")){var c=sh(a);if(!b){b=Eh(a);var d;if(d=b){d=Zf&&0<=Qb(Em,10);var e;if(e=oc)e=0<=Qb(Cm,10);var g=Yf&&0<=Qb(Em,85);d=ec||d||e||g}b=d?-a.scrollLeft:b&&!dc&&"visible"!=kh(a,"overflowX")?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft;c=Ae(c,new A(b,a.scrollTop))}}}return c||new A} function xr(a,b,c,d,e,g,h){a=a.clone();var k=wr(b,c);c=L(b);h=h?h.clone():c.clone();a=a.clone();h=h.clone();var l=0;if(d||0!=k)k&4?a.x-=h.width+(d?d.right:0):k&2?a.x-=h.width/2:d&&(a.x+=d.left),k&1?a.y-=h.height+(d?d.bottom:0):d&&(a.y+=d.top);if(g){if(e){d=a;k=h;l=0;65==(g&65)&&(d.x=e.right)&&(g&=-2);132==(g&132)&&(d.y=e.bottom)&&(g&=-5);d.xe.right&&(k.width=Math.min(e.right-d.x,n+ k.width-e.left),k.width=Math.max(k.width,0),l|=4)}d.x+k.width>e.right&&g&1&&(d.x=Math.max(e.right-k.width,e.left),l|=1);g&2&&(l|=(d.xe.right?32:0));d.ye.bottom&&(k.height=Math.min(e.bottom-d.y,n+k.height-e.top),k.height=Math.max(k.height,0),l|=8));d.y+k.height>e.bottom&&g&4&&(d.y=Math.max(e.bottom-k.height,e.top),l|=2);g&8&&(l|=(d.ye.bottom?128:0));e=l}else e=256; l=e}e=new Zg(0,0,0,0);e.left=a.x;e.top=a.y;e.width=h.width;e.height=h.height;a=l;if(a&496)return a;lh(b,new A(e.left,e.top));h=e.Fa();Ce(c,h)||Hh(b,h);return a}function wr(a,b){return(b&8&&Eh(a)?b^4:b)&-9};function yr(a,b,c){this.g=a;this.i=b;this.O=c}u(yr,tr);yr.prototype.Pc=function(a,b,c){ur(this.g,this.i,a,b,void 0,c,this.O)};function zr(a,b,c,d){yr.call(this,a,b);this.j=c?5:0;this.o=d||void 0}u(zr,yr);zr.prototype.N=function(){return this.j};zr.prototype.s=function(a){this.j=a};zr.prototype.Pc=function(a,b,c,d){var e=ur(this.g,this.i,a,b,null,c,10,d,this.o);if(e&496){var g=Ar(e,this.i);b=Ar(e,b);e=ur(this.g,g,a,b,null,c,10,d,this.o);e&496&&(g=Ar(e,g),b=Ar(e,b),ur(this.g,g,a,b,null,c,this.j,d,this.o))}};function Ar(a,b){a&48&&(b^=4);a&192&&(b^=1);return b};function Br(a,b){this.Lb=8;this.La=b||void 0;jn.call(this,a)}u(Br,jn);function Cr(a){a.Lb=4;a.isVisible()&&a.ng()}Br.prototype.nd=function(){return this.La||null};Br.prototype.setPosition=function(a){this.La=a||void 0;this.isVisible()&&this.ng()};Br.prototype.ng=function(){if(this.La){var a=!this.isVisible()&&"move_offscreen"!=this.getType(),b=this.ha();a&&(b.style.visibility="hidden",M(b,!0));this.La.Pc(b,this.Lb,this.Gl);a&&M(b,!1)}};function Dr(a,b,c){var d=b;a.timeOfStartCall=(new Date).getTime();var e=c||p;b=e.document;var g=a.nonce||ee(e);g&&!a.nonce&&(a.nonce=g);if("help"==a.flow){var h=Ca("document.location.href",e);!a.helpCenterContext&&h&&(a.helpCenterContext=h.substring(0,1200));h=!0;if(d&&JSON&&JSON.stringify){var k=JSON.stringify(d);(h=1200>=k.length)&&(a.psdJson=k)}h||(d={invalidPsd:!0})}c=[a,d,c];e.GOOGLE_FEEDBACK_START_ARGUMENTS=c;d=a.serverUri||"//www.google.com/tools/feedback";if(h=e.GOOGLE_FEEDBACK_START)h.apply(e, c);else{e=d+"/load.js?";for(var l in a)c=a[l],null==c||Ha(c)||(e+=encodeURIComponent(l)+"="+encodeURIComponent(c)+"&");a=Pf(Ue(b),"SCRIPT");g&&a.setAttribute("nonce",g);g=nd(e);a.src=ld(g);$i(a);b.body.appendChild(a)}}Pa("userfeedback.api.startFeedback",Dr);function Er(a){X.call(this);if(this.j=B("gb-mobile-appbar-back-button"))if(Y(this).ka(this.j,"click",this.o),oc&&Pb(Sb,"GSA")){w(this.j,"igsa-hide");var b=this.g.ha("gb-mobile-appbar-logo");w(b,"igsa-shift")}(this.i=B("gb-mobile-appbar-more"))&&Fr(this);new rr(a)}m(Er,X); function Fr(a){var b=B("gb-mobile-more-menu");if(b){var c=new Br(b);Cr(c);c.setPosition(new zr(a.i,4));c.Da(!1);O(a.i,"click",function(){yb(b,"more-menu-hidden");c.Da(!0);c.ha().focus()});O(a.i,"keydown",function(d){if(32==d.keyCode||13==d.keyCode)yb(b,"more-menu-hidden"),c.Da(!0),c.ha().focus()})}else F(a.i)}Er.prototype.o=function(){window.history.back();kc&&Yf&&1==window.history.length&&window.close()};Pa("_OC_startFeedback",Dr);function Gr(a){P.call(this);a=a||Ue();this.g=a.Ra(z?"DIV":"IFRAME",{style:"position:absolute;width:9em;height:9em;top:-99em",tabIndex:-1,"aria-hidden":"true"});a=a.g.body;a.insertBefore(this.g,a.firstChild);if(z)var b=this.g;else a:{a=this.g;try{b=a.contentWindow||(a.contentDocument?lf(a.contentDocument):null);break a}catch(c){}b=null}b=this.s=b;ec&&(a=b.document,a.open(),a.close());O(b,"resize",this.i,!1,this);this.j=this.g.offsetWidth}u(Gr,P); Gr.prototype.va=function(){Gr.ta.va.call(this);Ej(this.s,"resize",this.i,!1,this);this.s=null;F(this.g);delete this.g};Gr.prototype.i=function(){var a=this.g.offsetWidth;this.j!=a&&(this.j=a,this.dispatchEvent("fontsizechange"))};function Hr(a){this.i=a;a=r(this.j,this);this.g=new Pj;O(this.g,"resize",a);var b=new Gr;O(b,"fontsizechange",a);O(window,"DOMContentLoaded",r(this.resize,this))}Hr.prototype.j=function(){this.resize();T(r(this.resize,this),100)};Hr.prototype.resize=function(){var a=this.g.Fa(),b=Math.round(sh(this.i).y);this.i.style.height=a.height-b+"px"};function Ir(a){var b=null;if(a=B(a))b=new Hr(a),b.resize();return b};function Jr(a){fj.call(this,"navigate");this.o=a}u(Jr,fj);function Kr(){return!(y("iPad")||y("Android")&&!y("Mobile")||y("Silk"))&&(y("iPod")||y("iPhone")||y("Android")||y("IEMobile"))};var Lr=new WeakMap;function Mr(a,b){a=[a];for(var c=b.length-1;0<=c;--c)a.push(typeof b[c],b[c]);return a.join("\x0B")};function Nr(a,b,c,d){P.call(this);if(a&&!b)throw Error("Can't use invisible history without providing a blank page.");if(c)var e=c;else{e="history_state"+Or;var g=Zd("input",{type:"text",name:e,id:e,style:$c("display:none")});document.write(Vd(g));e=B(e)}this.N=e;this.g=c?lf(We(c)):window;this.oa=b;z&&!b&&(this.oa="https"==window.location.protocol?nd(Zc($c("https:///"))):nd(Zc($c('javascript:""'))));this.Ya=new pl(150);dj(this,this.Ya);this.i=!a;this.j=new Ij(this);if(a||Pr){if(d)var h=d;else{a="history_iframe"+ Or;b={id:a,style:$c("display:none"),sandbox:void 0};c={};c.src=this.oa||null;c.srcdoc=null;d={sandbox:""};e={};for(var k in c)Object.prototype.hasOwnProperty.call(c,k)&&(e[k]=c[k]);for(var l in d)Object.prototype.hasOwnProperty.call(d,l)&&(e[l]=d[l]);if(b)for(h in b)if(Object.prototype.hasOwnProperty.call(b,h)){k=h.toLowerCase();if(k in c)throw Error("");k in d&&delete e[k];e[h]=b[h]}h=ae("iframe",e,void 0);document.write(Vd(h));h=B(a)}this.O=h;this.ua=!0}Pr&&(this.j.ka(this.g,"load",this.cv),this.na= this.ma=!1);this.i?Qr(this,Rr(this),!0):Sr(this,this.N.value);Or++}u(Nr,P);Nr.prototype.Pb=!1;Nr.prototype.o=!1;Nr.prototype.s=null;var Tr=function(a,b){function c(g){var h=ka(g);g=h.next().value;h=la(h);return a.apply(g,h)}function d(g){g=ka(g);g.next();g=la(g);return b(e,g)}b=void 0===b?Mr:b;var e=Ia(a);return function(){var g=ua.apply(0,arguments),h=this||p,k=Lr.get(h);k||(k={},Lr.set(h,k));return ac(k,[this].concat(ma(g)),c,d)}}(function(){return z?xc(8):"onhashchange"in p}),Pr=z&&!xc(8);f=Nr.prototype; f.Wg=null;f.va=function(){Nr.ta.va.call(this);this.j.Ha();this.Ta(!1)};f.Ta=function(a){if(a!=this.Pb)if(Pr&&!this.ma)this.na=a;else if(a)if(ec&&this.j.ka(this.g,"pageshow",this.kv),Tr()&&this.i)this.j.ka(this.g,"hashchange",this.ev),this.Pb=!0,this.dispatchEvent(new Jr(Rr(this),!1));else{if(!z||Kr()||this.ma)this.j.ka(this.Ya,"tick",r(this.Im,this,!0)),this.Pb=!0,Pr||(this.s=Rr(this),this.dispatchEvent(new Jr(Rr(this),!1))),this.Ya.start()}else this.Pb=!1,Nj(this.j),this.Ya.stop()}; f.cv=function(){this.ma=!0;this.N.value&&Sr(this,this.N.value,!0);this.Ta(this.na)};f.kv=function(a){a.Ob.persisted&&(this.Ta(!1),this.Ta(!0))};f.ev=function(){var a=Ur(this.g);a!=this.s&&Vr(this,a,!0)};function Rr(a){return null!=a.Wg?a.Wg:a.i?Ur(a.g):Wr(a)||""}f.ji=function(a,b){Rr(this)!=a&&(this.i?(Qr(this,a,!1),Tr()||z&&!Kr()&&Sr(this,a,!1,b),this.Pb&&this.Im(!1)):(Sr(this,a,!1),this.Wg=this.s=this.N.value=a,this.dispatchEvent(new Jr(a,!1))))}; function Ur(a){a=a.location.href;var b=a.indexOf("#");return 0>b?"":a.substring(b+1)}function Qr(a,b,c){a=a.g.location;var d=a.href.split("#")[0],e=Pb(a.href,"#");if(Pr||e||b)d+="#"+b;d!=a.href&&(b=vd(d),c?ue(a,b):te(a,b))} function Sr(a,b,c,d){if(a.ua||b!=Wr(a))if(a.ua=!1,b=encodeURIComponent(String(b)),z){var e=Df(a.O);e.open("text/html",c?"replace":void 0);c=ie(Zd("title",{},d||a.g.document.title),Zd("body",{},b));e.write(Vd(c));e.close()}else e=ld(a.oa).toString()+"#"+b,(a=a.O.contentWindow)&&(c?ue(a.location,e):te(a.location,e))} function Wr(a){if(z)return a=Df(a.O),a.body?He(a.body.innerHTML):null;var b=a.O.contentWindow;if(b){try{var c=He(Ur(b))}catch(d){return a.o||(1!=a.o&&ql(a.Ya,1E4),a.o=!0),null}a.o&&(0!=a.o&&ql(a.Ya,150),a.o=!1);return c||null}return null}f.Im=function(a){if(this.i){var b=Ur(this.g);b!=this.s&&Vr(this,b,a)}if(!this.i||Pr)if(b=Wr(this)||"",null==this.Wg||b==this.Wg)this.Wg=null,b!=this.s&&Vr(this,b,a)}; function Vr(a,b,c){a.s=a.N.value=b;a.i?(Pr&&Sr(a,b),Qr(a,b)):Sr(a,b);a.dispatchEvent(new Jr(Rr(a),c))}var Or=0;function Xr(a){eq.call(this,a)}m(Xr,eq);function Yr(){var a=new Xr([null,null,null,null,null,'(function(){/*\n\n Copyright The Closure Library Authors.\n SPDX-License-Identifier: Apache-2.0\n*/\nvar d="function"==typeof Object.create?Object.create:function(a){var c=function(){};c.prototype=a;return new c},e;if("function"==typeof Object.setPrototypeOf)e=Object.setPrototypeOf;else{var f;a:{var g={a:!0},l={};try{l.__proto__=g;f=l.a;break a}catch(a){}f=!1}e=f?function(a,c){a.__proto__=c;if(a.__proto__!==c)throw new TypeError(a+" is not extensible");return a}:null}var m=e;/*\n\n SPDX-License-Identifier: Apache-2.0\n*/\nvar n={};function p(){var a="undefined"!==typeof window?window.trustedTypes:void 0;return null!==a&&void 0!==a?a:null}var q;function r(){var a,c;if(void 0===q)try{q=null!==(c=null===(a=p())||void 0===a?void 0:a.createPolicy("google#safe",{createHTML:function(b){return b},createScript:function(b){return b},createScriptURL:function(b){return b}}))&&void 0!==c?c:null}catch(b){q=null}return q};var t=function(a,c){if(c!==n)throw Error("Bad secret");this.g=a},u=function(){};t.prototype=d(u.prototype);t.prototype.constructor=t;if(m)m(t,u);else for(var v in u)if("prototype"!=v)if(Object.defineProperties){var w=Object.getOwnPropertyDescriptor(u,v);w&&Object.defineProperty(t,v,w)}else t[v]=u[v];t.prototype.toString=function(){return this.g.toString()};function x(a){var c,b=null===(c=r())||void 0===c?void 0:c.createScriptURL(a);return new t(null!==b&&void 0!==b?b:a,n)};if(!function(){if(self.origin)return"null"===self.origin;if(""!==location.host)return!1;try{return window.parent.escape(""),!1}catch(a){return!0}}())throw Error("sandboxing error");\nwindow.addEventListener("message",function(a){var c=a.ports[0];a=a.data;var b=a.callbackName.split("."),h=window;"window"===b[0]&&b.unshift();for(var k=0;k":">","`":"`","\u0085":"…","\u00a0":" ","\u2028":"
","\u2029":"
"};function rs(a){return ws[a]} var qs=/[\x00\x22\x26\x27\x3c\x3e]/g,vs=/[\x00\x22\x27\x3c\x3e]/g,xs=/^(?!on|src|(?:action|archive|background|cite|classid|codebase|content|data|dsync|href|http-equiv|longdesc|style|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i,ts=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,us=/"+os(null!=c?c:"")+"")};function Bs(a,b){this.j=a;this.N=!!b;this.s={0:this.j+"-arrowright",1:this.j+"-arrowup",2:this.j+"-arrowdown",3:this.j+"-arrowleft"}}m(Bs,tr);f=Bs.prototype;f.Gj=function(a){this.i=a};f.setPosition=function(a,b,c,d){null!=a&&(this.Jk=a);null!=b&&(this.Fk=b);"number"===typeof c&&(this.Rn=Math.max(c,15));"number"===typeof d&&(this.Ll=d)};f.Pc=function(a,b,c){a=this.Fk;2==a&&(a=0);Cs(this,this.Jk,a,2==this.Fk?Ds(this.Jk)?this.g.offsetHeight/2:this.g.offsetWidth/2:this.Rn,0,c)}; function Cs(a,b,c,d,e,g){if(a.i){var h=Es(b,c);var k=a.i;var l=a.g,n=a.Ea,q=L(k);a:{q=(Ds(b)?q.height/2:q.width/2)-d;var x=wr(k,h);if(n)n=n.clone(),l&&(l=vr(l),n.left+=l.x,n.right+=l.x,n.top+=l.y,n.bottom+=l.y);else if(n=rh(k),!n){k=q;break a}k=$g(Bh(k));Ds(b)?k.topn.bottom&&x&1&&(q-=k.bottom-n.bottom):k.leftn.right&&x&4&&(q-=k.right-n.right);k=q}k=Ds(b)?new A(a.Ll,k):new A(k,a.Ll);q=Ds(b)?6:9;a.Dk&&2==e&&(q=Ds(b)?4:1); x=b^3;Ds(b)&&"rtl"==a.i.dir&&(x=b);h=ur(a.i,Es(x,c),a.g,h,k,g,a.vl?q:0,void 0,a.Ea);if(2!=e&&h&496){Cs(a,b^3,c,d,a.Dk&&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||lh(a.g,Math.round(e),Math.round(g)))}Fs(a,b,c,d)} function Fs(a,b,c,d){var e=a.o;Hc(a.s,function(g){Ab(e,g,!1)},a);w(e,a.s[b]);e.style.top=e.style.left=e.style.right=e.style.bottom="";a.i?(c=wh(a.i,a.g),d=Gs(a.i,b),Ds(b)?e.style.top=Hs(c.y+d.y,a.g.offsetHeight-15)+"px":e.style.left=Hs(c.x+d.x,a.g.offsetWidth-15)+"px"):e.style[0==c?Ds(b)?"top":"left":Ds(b)?"bottom":"right"]=d+"px"}function Hs(a,b){return 15>b?15:xe(a,15,b)}function Es(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 Gs(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 Ds(a){return 0==a||3==a}f.vl=!1;f.Fk=2;f.Rn=20;f.Jk=3;f.Ea=null;f.Ll=-5;f.Dk=!1;function Is(a){cj.call(this);this.i=a||Ue()}m(Is,cj);Is.prototype.o=function(){wm(this.ha(),"tooltip");xm(this.ha(),"live","polite")};function Js(a){Is.call(this,a);this.g=this.i.Ra("DIV",Ks()+"-contentId");this.j=this.i.Ra("DIV",Ks()+"-arrow",this.i.Ra("DIV",Ks()+"-arrowimplbefore"),this.i.Ra("DIV",Ks()+"-arrowimplafter"));this.s=this.i.Ra("DIV",{"class":Ks(),role:"tooltip"},this.g,this.j);this.o()}m(Js,Is);function Ks(){return"jfk-tooltip"}Js.prototype.ha=function(){return this.s};Js.prototype.va=function(){Is.prototype.va.call(this);this.s&&F(this.s)};function Ls(a){Js.call(this,a)}m(Ls,Js);Ls.prototype.o=function(){wm(this.ha(),"tooltip")};function Ms(a){return Je(Fb(a.replace(Ns,function(b,c){return Os.test(c)?"":" "}).replace(/[\t\n ]+/g," ")))}var Os=/^(?:abbr|acronym|address|b|em|i|small|strong|su[bp]|u)$/i,Ns=/<[!\/]?([a-z0-9]+)([\/ ][^>]*)?>/gi;function Ps(a){a=a||Ue();var b=Ia(a.g);Qs[b]||(Qs[b]=new Rs(a))}function Ss(a,b){var c=b instanceof Td?Ms(Ud(b)):b;a.removeAttribute("title");a.removeAttribute("data-tooltip-contained");a.removeAttribute("data-tooltip");b?(b instanceof Td?a.i=b:(a.setAttribute("data-tooltip",b),a.i=null),a.setAttribute("aria-label",c)):(a.i=null,a.removeAttribute("aria-label"));Ps(Ue(a))}var Qs={}; function Rs(a){Ij.call(this);this.wa=a;this.ua=new dm(this.bw,0,this);dj(this,this.ua);var b=lf();this.ma="function"===typeof b.MutationObserver?new b.MutationObserver(r(this.lt,this)):null;a=a.g;this.ka(a,"mouseout mousedown click blur focusout keydown".split(" "),this.Is,!0);this.ka(a,["mouseover","focus","focusin"],this.Nv,!0)}m(Rs,Ij);f=Rs.prototype;f.va=function(){Ts(this);Ij.prototype.va.call(this)}; function Us(a,b){switch(b.type){case "mousedown":case "mouseover":case "mouseout":case "click":a.Ba=!1;break;case "keydown":a.Ba=!0}}f.Nv=function(a){this.ma&&this.ma.disconnect();Us(this,a);var b=a.target;a="focus"==a.type||"focusin"==a.type;var c=this.g&&Cf(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=db(vm,a);a&&(this.ma.observe(b,{attributes:!0}),(a=zm(b))&&(b=a));this.s=b}else this.s=null;Vs(this)}; f.Is=function(a){Us(this,a);var b=a.target;b=this.g&&Cf(this.g.g,b);if("mousedown"!=a.type&&"click"!=a.type||!b)this.s=null,Vs(this)};f.lt=function(a){v(a,r(function(b){var c=zm(b.target);c&&"aria-activedescendant"==b.attributeName&&(this.s=c,Vs(this))},this))};function Vs(a){if(0==a.ua.lb||!a.i||!a.O){Ts(a);var b=null!=a.O?a.O:50;a.ua.start(a.i?b:300)}}function Ts(a){a.oa&&(rl(a.oa),a.oa=0,a.i=null)} f.bw=function(){if(!this.s)Ws(this),this.O=this.i=null;else if(!(this.i&&this.g&&Cf(this.g.ha(),this.s))||this.i.getAttribute("data-tooltip-unhoverable")){var a=Nf(this.s,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&&(Ws(this),this.O=this.i=null,b=!0);if(!this.i&&a&&(this.i=a,Xs(this,a))){var c=he;if(a.getAttribute("data-tooltip-contained"))for(var d=af("jfk-tooltip-data", a),e=0;e=b.scrollWidth&&b.offsetHeight>=b.scrollHeight||a.Ca&&"mouse"==b.getAttribute("data-tooltip-trigger")?!1:!0}function Ys(a){if(a)switch(a.toLowerCase().split(",")[0]){case "l":return 0;case "t":return 2;case "r":return 3}return 1} f.Tp=function(a,b,c,d,e,g){this.oa=0;this.O=g;if(!this.g){this.g=new Ls(this.wa);Ws(this);g=this.g.ha();this.wa.g.body.appendChild(g);dj(this,this.g);this.o=new Bs(Ks(),!0);this.o.vl=!0;this.o.Dk=!0;g=this.o;var h=this.g.ha(),k=this.g.j;g.g=h;g.o=k}a:{if(c)switch(c.toLowerCase().split(",")[1]){case "l":g=0;break a;case "r":g=1;break a}g=2}this.o.setPosition(Ys(c),g,void 0,d);yb(this.g.ha(),"jfk-tooltip-hide");this.na!=e&&(this.na&&!Db(Qe(this.na))&&yb(this.g.ha(),this.na),Db(Qe(e))||w(this.g.ha(), e),this.na=e);lh(this.g.ha(),0,0);if(b instanceof Td)N(this.g.g,b);else for(sf(this.g.g);c=b.firstChild;)this.g.g.appendChild(c);this.o.Gj(a);this.o.Pc(null,0)};function Ws(a){a.g&&w(a.g.ha(),"jfk-tooltip-hide")};function Zs(a){var b="Yf";if(a.Yf&&a.hasOwnProperty(b))return a.Yf;b=new a;return a.Yf=b};function $s(){}u($s,Iq);Ea($s);f=$s.prototype;f.sg=function(){return"button"};f.ne=function(a,b,c){switch(b){case 8:case 16:xm(a,"pressed",c);break;default:case 64:case 1:$s.ta.ne.call(this,a,b,c)}};f.Oc=function(a){var b=$s.ta.Oc.call(this,a);this.oc(b,a.sf());var c=a.Ab();c&&this.xc(b,c);Qq(a,16)&&this.ne(b,16,Rq(a,16));return b};f.Sb=function(a,b){b=$s.ta.Sb.call(this,a,b);var c=this.Ab(b);a.Ca=c;a.na=this.sf(b);Qq(a,16)&&this.ne(b,16,Rq(a,16));return b};f.Ab=Da;f.xc=Da;f.sf=function(a){return a.title}; f.oc=function(a,b){a&&(b?a.title=b:a.removeAttribute("title"))};f.nc=function(a,b){var c=fn(a),d=this.Wa()+"-collapse-left",e=this.Wa()+"-collapse-right",g=c?e:d;b&1?Wq(a,g):Xq(a,g);c=c?d:e;b&2?Wq(a,c):Xq(a,c)};f.Wa=function(){return"goog-button"};function at(){}u(at,$s);Ea(at);f=at.prototype;f.sg=function(){};f.Oc=function(a){Uq(a,!1);a.Of&=-256;a.Zb(32,!1);return a.g.Ra("BUTTON",{"class":Lq(this,a).join(" "),disabled:!a.isEnabled(),title:a.sf()||"",value:a.Ab()||""},a.Ng()||"")};f.Ei=function(a){return"BUTTON"==a.tagName||"INPUT"==a.tagName&&("button"==a.type||"submit"==a.type||"reset"==a.type)};f.Sb=function(a,b){Uq(a,!1);a.Of&=-256;a.Zb(32,!1);if(b.disabled){var c=this.Kh(1);w(b,c)}return at.ta.Sb.call(this,a,b)}; f.Fi=function(a){Y(a).ka(a.ha(),"click",a.Qe)};f.ek=Da;f.Fm=Da;f.Em=function(a){return a.isEnabled()};f.mh=Da;f.Zc=function(a,b,c){at.ta.Zc.call(this,a,b,c);(a=a.ha())&&1==b&&(a.disabled=c)};f.Ab=function(a){return a.value};f.xc=function(a,b){a&&(a.value=b)};f.ne=Da;function bt(a,b,c){Tq.call(this,a,b||at.Eb(),c)}u(bt,Tq);f=bt.prototype;f.Ab=function(){return this.Ca};f.xc=function(a){this.Ca=a;this.wd().xc(this.ha(),a)};f.sf=function(){return this.na};f.oc=function(a){this.na=a;this.wd().oc(this.ha(),a)};f.nc=function(a){this.wd().nc(this,a)};f.va=function(){bt.ta.va.call(this);delete this.Ca;delete this.na};f.Ma=function(){bt.ta.Ma.call(this);if(Qq(this,32)){var a=this.ha();a&&Y(this).ka(a,"keyup",this.fe)}}; f.fe=function(a){return 13==a.keyCode&&"key"==a.type||32==a.keyCode&&"keyup"==a.type?this.Qe(a):32==a.keyCode};Aq("goog-button",function(){return new bt(null)});function Z(a,b,c,d){bt.call(this,a,ct.Eb(),b);this.wa=c||0;this.wb=d||0;this.Ka=!1}u(Z,bt);f=Z.prototype;f.Bb=function(){return this.wb};f.oc=function(a){this.na=a;var b=this.ha();b&&(this.Ka?Ss(b,a):a?b.title=a:b.removeAttribute("title"))};f.Ta=function(a){this.isEnabled()!=a&&(Z.ta.Ta.call(this,a),dt(this))};f.focus=function(){var a=this.ya;try{a.focus()}catch(b){}};f.Hj=function(a){Z.ta.Hj.call(this,a);et(this,!1)};f.$e=function(a){Z.ta.$e.call(this,a);this.isEnabled()&&et(this,!0)}; f.he=function(a){Z.ta.he.call(this,a);this.isEnabled()&&et(this,!0)};function et(a,b){a.ha()&&Ab(a.ha(),"jfk-button-clear-outline",b)}function dt(a){a.ha()&&ft(a.wd(),a)}function gt(a,b){if("string"===typeof a){var c=a;a=C("IMG");re(a,c);J(a,21,21)}w(a,"jfk-button-img");c=[];c.push(a);b&&(a=C("SPAN","jfk-button-label",b),c.push(a));return c} function ct(){this.na=this.Wa()+"-standard";this.i=this.Wa()+"-action";this.oa=this.Wa()+"-primary";this.o=this.Wa()+"-default";this.N=this.Wa()+"-flat";this.ma=this.Wa()+"-narrow";this.O=this.Wa()+"-mini";this.s=this.Wa()+"-contrast"}u(ct,$s);ct.Eb=function(){return Zs(ct)};f=ct.prototype;f.Hf=function(a,b,c){a&&c.wa!=a&&(c.wa=a,dt(c));b&&c.wb!=b&&(c.wb=b,dt(c))};f.Wa=function(){return"jfk-button"}; f.Oc=function(a){var b=a.g,c=ys(As,{disabled:!a.isEnabled(),checked:Rq(a,16),style:a.wa,title:a.sf(),hw:a.Ka,value:a.Ab(),width:a.Bb()},void 0,b);b.xm(c,a.Gc());this.Sb(a,c);return c}; f.Sb=function(a,b){ct.ta.Sb.call(this,a,b);this.j||(this.j=Sc(this.na,t(this.Hf,0,null),this.i,t(this.Hf,2,null),this.oa,t(this.Hf,3,null),this.o,t(this.Hf,1,null),this.N,t(this.Hf,4,null),this.O,t(this.Hf,5,null),this.s,t(this.Hf,6,null),this.ma,t(this.Hf,null,1)));for(var c=ub(b),d=0;d=Yg(this.Ka,this.O))}if(b){if(this.li(),this.Wb=null,b=this.oa)b.Wb=null}else 3==nt(this)&&this.Fg();ut.ta.Tg.call(this,a)};f.ol=function(){this.Wb!=this.ha()&&(this.vi=!1,this.Wb=this.ha())};f.fl=function(){return this.vi?100:ut.ta.fl.call(this)};function wt(a,b){a=new ut(a);a.Ul(Il(b.innerHTML));a.className="buy-tip-card";a.wa=new Vg(5,5,5,5);a.Vi=!0;a.ah=500;a.Wh=250};function xt(a,b){this.Cb=a||200;this.wb=b||108;W.call(this)}u(xt,W);xt.prototype.Db=function(){return this.Cb};xt.prototype.Bb=function(){return this.wb};function yt(a){lt.call(this,a,void 0,void 0);this.io=!1;this.Vi=!0;this.ah=500}m(yt,ut);yt.prototype.Lj=function(a,b){b||(b=new zr(a,9,!0));ut.prototype.Lj.call(this,a,b)};yt.prototype.className="unified-hovercard";var zt="ganpub ganclk dapp source_ip source_country source_domain authuser".split(" ");function At(a){var b=void 0===b?window.location.href:b;var c=new Q(b);R(a,"hl","en");(b=S(c,"output"))&&R(a,"output",b);b=S(c,"source");"ge-ipad-app"==b?(R(a,"dapp","2"),sk(a,"output")):"ge-tablet-app"==b?(R(a,"dapp","4"),sk(a,"output")):"ge-ip-app"==b?R(a,"dapp","1"):"ge-android-app"==b&&R(a,"dapp","3");S(c,"authuser")||sk(a,"authuser");zt.forEach(function(d){var e=S(c,d);e&&R(a,d,e)})};function Bt(a,b,c){cj.call(this);this.i=null;this.data=a;this.g=b;this.maxWidth=c||500}m(Bt,cj);Bt.prototype.va=function(){this.i&&this.i.Ha()};function Ct(a){return a.i||(a.i=new Ij(a))} Bt.prototype.j=function(a){var b=C("DIV"),c=new Q(this.data.Aa.Ug||this.data.Aa.Bp);this.data.Aa.source&&R(c,"source",this.data.Aa.source);var d=this.data.hb();this.data.Aa.Yp&&(d+=": "+this.data.Aa.Yp);d=C("A",{},d);d.classList.add(this.g+"-title");qe(d,c.toString());b.appendChild(d);a.appendChild(b);Dt(this,a);b=C("DIV");if("number"===typeof(this.data.Aa.Ep||0)){d=this.data.Aa.Ep||0;c=Math.floor(d);d=0)|(<\/b>)/ig,Gt={VIEW_PAGES_PARTIAL:2,VIEW_PAGES_ALL:5,VIEW_PAGES_PARTIAL_FIXED:6,VIEW_PURCHASED:7,VIEW_GOOGLE_EDITIONS_PREVIEW:8};function Ht(){this.Aa={}}f=Ht.prototype;f.hb=function(){return this.Aa.title};f.Yb=function(){return this.Aa.lm};f.Rd=function(){return this.Aa.Rd};f.wl=function(){return this.Aa.wl};f.Zf=function(){return this.Aa.Zf};f.Zh=function(){return this.Aa.Zh};function It(){this.g=[]}f=It.prototype;f.getId=function(){return this.lb};f.Zg=function(a){this.lb=a};f.hb=function(){return this.Ec};f.Og=function(){return this.s};function Jt(a,b,c){if(Kt(a,b)||null==a.ma||!a.j)c&&c(null);else{var d=a.ma.clone();a=r(a.Cs,a,b,c||Da);R(d,"id",b);xl(d,a,"POST")}}function Lt(a,b,c){if(Kt(a,b)&&null!=a.oa&&a.na){var d=a.oa.clone();a=r(a.Rs,a,b,c||Da);R(d,"id",b);xl(d,a,"POST")}else c&&c(null)} f.Cs=function(a,b,c){var d=null;Fl(c.target)&&(d=new Ht,d.Aa.lm=a,this.g.push(d));b(d)};f.Rs=function(a,b,c){var d=null;Fl(c.target)&&(d=Kt(this,a),Mt(this,d));b(d)};function Mt(a,b){hb(a.g,function(c){return c.Yb()==b.Yb()})}function Kt(a,b){return bb(a.g,function(c){return c&&c.Yb()==b})};function Nt(a){this.Aa={};this.Aa.title=a.title;this.Aa.Yp=a.subtitle;this.Aa.Gk=a.authors;this.Aa.Bp=a.preview_url;this.Aa.Ug=a.info_url;this.Aa.Bj=a.pub_date;this.Aa.ip=a.num_pages;this.Aa.jq=a.viewability;this.Aa.Uw=a.subject;this.Aa.aq=a.thumbnail_url;this.Aa.dm=a.snippet;this.Aa.Nw=a.list_price;this.Aa.Np=a.sale_price;this.Aa.Sw=a.sale_price_better;this.Aa.Wu=a.offer_price;this.Aa.Lk=a.buy_url;this.Aa.Fp=a.read_url;this.Aa.sj=a.is_free_ebook||!1;this.Aa.qj=a.in_my_ebooks||!1;this.Aa.Pw=a.my_ebooks_url|| "";this.Aa.Ep=a.rating_score||0;this.Aa.Uu=a.num_reviews||0;this.Aa.Rd=a.is_purchased||!1;this.Aa.Yh=a.is_ebook||!1;this.Aa.Xw=a.write_review_url||"";this.Aa.dt=a.add_to_my_ebooks_url||"";this.Aa.sv=a.preview_ebook_url||"";this.Aa.Gv=a.reviews_url||"";this.Aa.Rj=a.view_order_url||"";this.Aa.Ew=a.add_to_my_ebooks_url;this.Aa.Bs=a.add_to_my_ebooks_url_is_on_play||!1;this.Aa.nj=a.has_flowing_text||!1;this.Aa.oj=a.has_scanned_text||!1;var b=fp(a.info_url);this.Aa.lm=b;this.Aa.Gw=a.canonical_atb_url|| "";this.Aa.wl=a.is_rentable||!1;this.Aa.ag=a.is_pre_order||!1;this.Aa.wp=a.on_sale_date||"";this.Aa.Zf=a.is_pre_ordered||!1;this.Aa.Mw=a.issue_volume_count||0;this.Aa.Zh=a.is_volume_cancelled||!1;this.Aa.Es=a.cancelled_reason||"0";switch(a.rental_state){case 1:this.Aa.Dj=1;break;case 2:this.Aa.Dj=2}this.Aa.Cv=a.rental_end_utc||0}m(Nt,Ht);function Ot(a){this.g=[];this.Zg(a.id);this.o=a.owner_uid;this.Ec=a.title;this.s=a.description;this.wa=a.num_volumes;this.ye=a.access||"0";this.Qa=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 Q(a.add_vol_base_url);this.oa=new Q(a.del_vol_base_url);void 0!==a.paused&&(this.i=a.paused,this.N=a.pause_bookshelf_url);a.volumes&&(this.g=Ya(a.volumes,function(b){return new Nt(b)}))}m(Ot,It);function Pt(){W.call(this);this.j=[];this.i=[]}u(Pt,W);function Qt(a){var b=new Q(lf().location);b=new Q(b);return a===parseInt(S(b,"as_coll"),10)}function Rt(a,b,c){St(a,b.getId())||(a=b.O?a.j:a.i,c?lb(a,void 0,0,b):a.push(b))}function Tt(a,b,c){var d=1==b.ye;a=new Q(a);R(a,"cl_title",b.hb());R(a,"cl_mode",d?"public":"private");b="cl_des="+encodeURIComponent(String(b.Og()));xl(a,c,"POST",b)} Pt.prototype.N=function(a){a=a.target;if(Fl(a)){a=new Ot(Hl(a));var b=St(this,a.getId());b.Ec=a.hb();b.s=a.Og();b.ye=a.ye;b=new fj("update",this);b.shelf=a;this.dispatchEvent(b)}};Pt.prototype.o=function(a,b){b=b.target;Fl(b)&&(b=new Ot(Hl(b)),Rt(this,b,a),a=new fj("add",this),a.shelf=b,this.dispatchEvent(a))};function Ut(a,b){a.s=new Q(b);R(a.s,"jscmd","ClCreate")}function St(a,b){return bb(Vt(a),function(c){return c.getId()==b})}function Vt(a){return qb(a.j,a.i)};function Wt(a,b){var c=C("A",{},"View order");qe(c,a);c.classList.add(b);return c};function Xt(a,b,c){Bt.call(this,a,b,c);S(new Q(this.data.Aa.Ug),"dapp")}m(Xt,Bt); Xt.prototype.render=function(a){sf(a);var b=C("DIV",this.g),c=C("DIV",this.g+"-meta");this.j(c);var d=C("DIV",this.data.Aa.Yh?this.g+"-footer":this.g+"-footer-nonebook"),e=C("DIV",this.g+"-footer-inner");if(this.data.Aa.Yh)if(this.data.Zh()&&Qt(1))Yt(this,e);else if(this.data.Aa.ag&&!this.data.Rd()||this.data.Zf()){var g=C("DIV",this.g+"-pre-order-date");g.textContent="Available on: "+this.data.Aa.wp;e.appendChild(g);this.data.Zf()&&Qt(1)&&Yt(this,e)}else if(this.data.Rd()&&Qt(1))Zt(this,e),Yt(this, e);else{Zt(this,e);g=!this.data.Rd()&&!this.data.Aa.sj;var h=this.data.Aa.sj&&!this.data.Aa.qj;if(g||h){g=C("SPAN",{"class":this.g+"-footer-inner-right"});if(h=this.data.Aa.sv||this.data.Aa.Fp){for(var k=h.search(ck),l=0,n,q=[];0<=(n=bk(h,l,"source",k));)q.push(h.substring(l,n)),l=Math.min(h.indexOf("&",n)+1||k,k);q.push(h.substr(l));h=q.join("").replace(ek,"$1");h=ak(h,"source","ebookstore")}h&&(k=C("A",{id:"unified-hovercard-preview-link"},"preview it"),qe(k,h),g.appendChild(k));e.appendChild(g)}}d.appendChild(e); b.appendChild(c);b.appendChild(d);a.appendChild(b);L(a).width>this.maxWidth&&J(a,this.maxWidth,"")}; Xt.prototype.j=function(a){if(!(this.data.Rd()||this.data.Zf()||this.data.Zh())&&this.data.Aa.Rj&&Qt(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.Rj){var c=Wt(this.data.Aa.Rj,"primary"),d=C("SPAN");d.innerText=" ";b.appendChild(d);b.appendChild(c)}a.appendChild(b)}Bt.prototype.j.call(this,a);b=C("DIV",this.g+"-book-options");this.data.Aa.Yh?(this.data.Aa.sj?this.data.Aa.qj? $t(this,b):Ft(this,b,"eBook - FREE",this.data.Aa.dt,!this.data.Aa.Bs,void 0,"unified-hovercard-free-btn"):this.data.Zf()?(c=C("SPAN",this.g+"-pre-ordered","Pre-ordered"),b.appendChild(c)):this.data.Zh()&&Qt(1)?(c=C("DIV",this.g+"-cancelled"),d=this.data.Aa.Es,0==d?G(c,"Cancelled - by customer request"):1==d?G(c,"Cancelled - problem with eBook"):2==d?G(c,"Cancelled - price change"):3==d?G(c,"Cancelled - publisher cancellation"):G(c,"Cancelled"),b.appendChild(c)):this.data.Rd()||this.data.Aa.qj?!this.data.Rd()&& this.data.Aa.qj?au(this,b):this.data.Rd()&&$t(this,b):au(this,b),Qt(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.Bp,Kc(Gt,this.data.Aa.jq)&&!Db(c)?Ft(this,b,"Preview",c,void 0,void 0,"unified-hovercard-preview-sample"):Ft(this,b,"Preview",c,!1,!0,"unified-hovercard-preview-sample"));a.appendChild(b)}; function Yt(a,b){var c=C("DIV",{id:"unified-hovercard-purchased-shelf-links","class":a.g+"-order-links-container"}),d=a.data.Aa.Rj;d&&(d=Wt(d,""),c.appendChild(d));a.data.Zf()||(d=C("DIV",{id:"unified-hovercard-delete-forever","class":a.g+"-footer-fake-link"},"Delete forever"),w(d,a.g+"-footer-action-link"),d.id="hovercard-delete-forever",c.appendChild(d));b.appendChild(c)} function au(a,b){a.data.Aa.ag&&!a.data.Rd()?Ft(a,b,"Pre-order eBook - "+a.data.Aa.Np,a.data.Aa.Lk,void 0,void 0,"unified-hovercard-buy-btn"):a.data.wl()?Ft(a,b,"EBOOK FROM "+a.data.Aa.Wu,a.data.Aa.Lk,void 0,void 0,"unified-hovercard-buy-btn"):Ft(a,b,"Buy eBook - "+a.data.Aa.Np,a.data.Aa.Lk,void 0,void 0,"unified-hovercard-buy-btn")}function $t(a,b){Ft(a,b,"Read now",a.data.Aa.Fp,void 0,void 0,"unified-hovercard-read-now")} function Zt(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 n=C("SPAN","goog-inline-block"),q=C("SPAN","goog-inline-block"),x=C("SPAN","goog-inline-block"),D=C("SPAN","goog-inline-block");a.data.Aa.nj?(w(n,e),w(q,e),w(x,e),w(D,e)):(a.data.Aa.oj?(w(n,e),w(q,e)):(w(n,g),w(q,g)),w(x,g),w(D,g));c.appendChild(n);c.appendChild(h); c.appendChild(q);c.appendChild(k);c.appendChild(x);c.appendChild(l);c.appendChild(D);c.appendChild(d);b.appendChild(c)};function bu(a,b,c){yt.call(this,a);this.Xb=Xl();this.j=this.Ba=this.o=null;this.Rb=b;this.i=null;this.Vb=!!c;this.render(b);cu(this)}m(bu,yt);bu.prototype.va=function(){Ct(this.i).Ha();F(this.ha())};bu.prototype.ai=function(a,b){yt.prototype.ai.call(this,a,b);this.isVisible()&&(this.Gl=this.Xb?new Vg(0,-2,0,0):new Vg(0,0,0,-2),this.isVisible()&&this.ng(),this.o=this.g,du(this))}; bu.prototype.render=function(a){this.i&&(this.i.Ha(),this.j=this.Ba=null);this.i=new Xt(a,this.className,435,this.Vb);this.i.render(this.ha());cu(this);this.isVisible()&&du(this)}; function du(a){var b=C("DIV"),c=C("DIV");var d=Bh(a.o||null);var e=Bh(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=ch(e,d);h||(h=new Zg(d.left,0,d.width,0));d=a.Xb?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.s=C("SPAN",["bookcard-badge","bookcard-sample-label"],a),b.appendChild(this.s)):!this.o||this.i.Rd()||this.i.Aa.sj||(this.s=C("SPAN",["bookcard-badge","bookcard-sample-label"], "Sample"),b.appendChild(this.s));xj(b,"mouseover",this.na.bind(this,b))};eu.prototype.oa=function(){this.dispatchEvent("render");fu.dispatchEvent("complete");this.s&&Ah(this.s,L(this.j).width)};eu.prototype.na=function(a,b){(new bu(a,this.i)).Ke(b)};function gu(a,b,c){eu.call(this,a,b-40,c);this.N=C("DIV","slider-annotation");this.O=!1}m(gu,eu);gu.prototype.Qc=function(a){xj(this,"render",r(this.ua,this));eu.prototype.Qc.call(this,a);a.appendChild(this.N)};gu.prototype.ua=function(a){this.O||(a.stopPropagation(),a=this.ma(),this.N.appendChild(a),this.O=!0,this.dispatchEvent("render"))};function hu(a,b,c){gu.call(this,a,b,c)}m(hu,gu);hu.prototype.Qc=function(a){gu.prototype.Qc.call(this,a)};hu.prototype.ma=function(){var a=this.i,b=E("DIV"),c=C("A",{className:"slider-annotation-title"},pf(a.hb()));qe(c,a.Aa.Ug);b.appendChild(c);if(a=a.Aa.Gk)a=C("DIV","slider-annotation-author",pf(a)),b.appendChild(a);J(b,L(this.j).width+5,"");return b};function iu(){this.g=ju;this.kg=5E3}var ku=0;iu.prototype.send=function(a,b,c,d){a=a?Pc(a):{};d=d||"_"+(ku++).toString(36)+Date.now().toString(36);var e="_callbacks___"+d;b&&(p[e]=lu(d,b),a.callback=e);b={timeout:this.kg,Hs:!0};e=md.exec(ld(this.g).toString());var g=e[3]||"";e=nd(e[1]+od("?",e[2]||"",a)+od("#",g,void 0));b=yo(e,b);uo(b,null,mu(d,a,c),void 0);return{lb:d,Zn:b}};iu.prototype.cancel=function(a){a&&(a.Zn&&a.Zn.cancel(),a.lb&&nu(a.lb,!1))}; function mu(a,b,c){return function(){nu(a,!1);c&&c(b)}}function lu(a,b){return function(c){nu(a,!0);b.apply(void 0,arguments)}}function nu(a,b){a="_callbacks___"+a;if(p[a])if(b)try{delete p[a]}catch(c){p[a]=void 0}else p[a]=Da};function ou(a,b,c){P.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.s=-1;this.g=0;this.o=this.O=null;this.wa={}}u(ou,P);f=ou.prototype;f.hk=!0;f.Ek=!1;f.wd=function(){return this.j}; f.handleEvent=function(a){var b=this.ma;if(a.target==this.j)switch(a.type){case "hilite":this.Le(a.Ef);break;case "select":var c=!1;if("number"===typeof a.Ef){a=a.Ef;var d=this.i[pu(this,a)];c=!!d&&b.xl&&b.xl(d);d&&!c&&this.s!=a&&this.Le(a)}c||this.eg();break;case "canceldismiss":qu(this);break;case "dismiss":ru(this)}};f.ji=function(a){this.N!=a&&(this.N=a,this.ma.Jp(this.N,10,r(this.Lu,this)),qu(this))};f.qd=function(){return this.j.isVisible()}; function su(a){for(var b=a.g+a.i.length-1,c=a.s,d=0;d=a.g&&cb||b>=a.i.length?-1:b}f.update=function(a){this.na.update(a)};function uu(a){var b=0,c=0;wu(a)&&(b=a.selectionStart,c=-1);return[b,c]}function wu(a){try{return"number"==typeof a.selectionStart}catch(b){return!1}};function xu(a,b,c,d){cj.call(this);d=d||150;this.j=null!=c?c:!0;this.o=a||",;";this.ua=this.o.charAt(0);a=this.j?"[\\s"+this.o+"]+":"[\\s]+";this.na=new RegExp("^"+a+"|"+a+"$","g");this.oa=new RegExp("\\s*["+this.o+"]$");this.O=b||"";this.wa=this.j;this.Ya=0b.g)c--;else{b.Ek&&c==b.g&&b.Le(-1);break}if(b.Le(c))break a}a.preventDefault();return!0}break;case 9:if(!this.g.qd()||a.shiftKey)this.g.De();else if(this.update(),this.g.eg()&&this.wa)return a.preventDefault(),!0;break;case 13:if(this.g.qd()){if(this.update(),this.g.eg())return a.preventDefault(), a.stopPropagation(),!0}else this.g.De();break;case 27:if(this.g.qd())return this.g.De(),a.preventDefault(),a.stopPropagation(),!0;break;case 229:if(!this.If)return this.If||(this.i.ka(this.Mb,"keyup",this.np),this.i.ka(this.Mb,"keypress",this.mp),this.If=!0),!0}return Au(this,a)};function Au(a,b){var c=a.j&&b.charCode&&-1!=a.o.indexOf(String.fromCharCode(b.charCode));c&&a.update();return c&&a.g.eg()?(b.preventDefault(),!0):!1}f.Lt=function(){return!1};f.Km=function(a){zu(this,a.target||null)}; function zu(a,b){Nj(a.N);a.g&&qu(a.g);b!=a.Mb&&(a.Mb=b,a.Ya&&(a.Ya.start(),a.i.ka(a.Ya,"tick",a.Mm)),a.Dl=a.Ab(),a.s.attach(a.Mb),a.i.ka(a.s,"key",a.Lm),a.i.ka(a.Mb,"mousedown",a.qp),z&&a.i.ka(a.Mb,"keypress",a.lp))}f.Lq=function(){this.Mb&&(this.i.Xa(this.s,"key",this.Lm),zq(this.s),this.i.Xa(this.Mb,"keyup",this.Lt),this.i.Xa(this.Mb,"mousedown",this.qp),z&&this.i.Xa(this.Mb,"keypress",this.lp),this.If&&Bu(this),this.Mb=null,this.Ya&&(this.Ya.stop(),this.i.Xa(this.Ya,"tick",this.Mm)),this.g&&ru(this.g))}; f.Mm=function(){this.update()};f.fv=function(a){this.Km(a)};f.Lm=function(a){this.ma=a.keyCode;this.g&&this.Sc(a)};f.mp=function(){this.If&&229!=this.ma&&Bu(this)};f.np=function(a){this.If&&(13==a.keyCode||77==a.keyCode&&a.ctrlKey)&&Bu(this)};f.qp=function(){};function Bu(a){a.If&&(a.If=!1,a.i.Xa(a.Mb,"keypress",a.mp),a.i.Xa(a.Mb,"keyup",a.np))}f.lp=function(a){Au(this,a)}; f.update=function(a){if(this.Mb&&(a||this.Ab()!=this.Dl)){if(a||!this.Rl){a=uu(this.Mb)[0];var b=this.Ab();a=vu(this,b)[tu(this,b,a)];a=this.na?String(a).replace(this.na,""):a;this.g&&(this.g.O=this.Mb,this.g.ji(a,this.Ab()))}this.Dl=this.Ab()}this.Rl=!1};function tu(a,b,c){a=vu(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=Pf(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&&Hu(a,b,d)}}else for(b=b.firstChild;b;)d=b.nextSibling,Hu(a,b,c),b=d}function Iu(a){var b="";if(!a)return b;Array.isArray(a)&&(a=a.filter(function(c){return!Db(Qe(c))}));Array.isArray(a)?b=0Na()-this.wa)&&this.dispatchEvent({type:"hilite",Ef:this.i[a].id})};function Ku(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 Lu;c=new Mu(this.Ka||a,this.Ba);c.ua=!0;d=new xu(null,null,!1);ou.call(this,b,c,d);d.g=this;d.Kq(a);this.O=a;this.hk=!1;this.Ek=!0;O(this,"update",r(this.Ja,this))}u(Ku,ou);Ku.prototype.eg=function(){this.La=this.ua.value;Ku.ta.eg.call(this);return!1}; Ku.prototype.Ja=function(a){a.Ef&&(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 Lu(){}var ju=nd(Zc($c("//suggestqueries.google.com/complete/search")));Lu.prototype.Jp=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 iu;this.i.send(a,c)};Lu.prototype.g=function(a,b){var c=Array.prototype.map.call(b[1],function(d){return d[0]});a(b[0],c)}; function Mu(a,b){Cu.call(this);this.Ja=a;this.La=b||0}u(Mu,Cu);Mu.prototype.ik=function(){Mu.ta.ik.call(this);var a=0,b=B("gbfwa");b||(b=cf("gbqfwa"));b&&(a=b.offsetTop+b.offsetHeight-1);Array.prototype.forEach.call(Ze("div","ac-renderer"),function(c){a&&I(c,"top",a+"px");I(c,"width",L(this.Ja).width-2+"px");I(c,"left",parseInt(c.style.left,10)+this.La+"px")},this)};function Nu(a,b,c,d,e){W.call(this);this.O=a;this.N=b;this.ua=e;this.Cb="number"===typeof d?d:this.N?200:80;this.N||w(this.O,"slider-small");this.ma=[];this.j=E("A");this.j.textContent=Xl()?"\u203a":"\u2039";this.j.setAttribute("title","Scroll left");Gh(this.j,!0);this.O.appendChild(this.j);this.i=E("div");w(this.i,"slider-drawables");this.O.appendChild(this.i);this.o=E("A");this.o.textContent=Xl()?"\u2039":"\u203a";this.o.setAttribute("title","Scroll right");Gh(this.o,!0);this.O.appendChild(this.o); this.g.ka(this.j,"click",this.Kl.bind(this,-.75));this.g.ka(this.o,"click",this.Kl.bind(this,.75));this.wi();this.g.ka(this.j,"click",this.Kl.bind(this,-.75));this.resize();this.oa=0;this.na=z&&wc("8")&&!wc("9")&&Xl();c&&Ou(this,c)}u(Nu,W);function Pu(a){var b=Math.ceil(1.25*Qu(a));b=Math.min(a.ma.length,a.oa+b);v(a.ma.slice(a.oa,b),r(a.Ws,a));a.wi();a.oa=b;b>=a.ma.length&&a.dispatchEvent("render")}f=Nu.prototype; f.Ws=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.yf(a,"render",this.Ys.bind(this,b,c));a.Qc(c)};f.Ys=function(a,b){F(a);this.wi();M(b,!0)};function Ou(a,b){b=b.map(function(c){return this.N?new hu(c,this.Cb):new eu(c,this.Cb,this.ua)},a);Ru(a,b)}function Ru(a,b){kb(a.ma,b);Pu(a)} f.Kl=function(a){(Xl()?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.o.className=b?"slider-button slider-button-right slider-button-disabled":"slider-button slider-button-right"};f.resize=function(){this.wi()}; function Qu(a){var b=a.N?110:50;return Math.ceil(L(a.i).width/b)};function Su(a,b,c){W.call(this);this.i=a;this.source=b?b:"gbs_bookshelf_slider";this.ma=0;this.o=new Pj;this.ua=this.o.Fa();this.oa="";this.wa="boolean"===typeof c?!c:!1;xj(this.o,"resize",r(this.Qm,this))}m(Su,W);f=Su.prototype;f.Qm=function(){this.o.Fa().width>this.ua.width?this.Gh():xj(this.o,"resize",r(this.Qm,this))};f.render=function(a){this.N=a;this.j=this.hl(a);this.g.ka(this.j,"render",r(this.Gh,this))};f.hl=function(){return new Nu(this.N,!0,void 0,void 0,this.i.getId())}; f.Gh=function(){this.j.resize();var a=Math.ceil(1.25*Qu(this.j))+1,b=this.nf(this.ma,a);b&&(this.ma+=a,xl(b,r(this.lu,this)))};f.Mg=ba(2);f.lu=function(a){a=a.target;if(Fl(a)){if((a=(new Ot(Hl(a))).g)&&a.length){var b=fp(a[a.length-1].Aa.Ug);this.oa!=b&&(this.oa=b,Ru(this.j,Tu(this,a)));(a=Mf(this.ha()))&&Ch(a,1)}else 0==this.j.oa&&this.Ip();this.dispatchEvent("success")}}; function Tu(a,b){return a.Rk(b).map(function(c){return this.j.N?new hu(c,200,this.i.getId()):new eu(c,80,this.i.getId())},a)}f.Ip=function(){};f.ha=function(){return this.N};f.Rk=function(a){return this.source?a.map(function(b){b.Aa.source=this.source;return b},this):a};function Uu(a,b,c){this.j=a;this.g=b;this.s=c||!1;a=this.Fa();this.i()?a.height=120:a.height=65;this.mb(a)}m(Uu,Kl);Uu.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.":dv(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 cv(a){a=a.hb();var b;/[^0-9]/.test(a)||Db(a)?b=null:b=Cb(a,"B")?js(a,ms):js(a,ls);return b} function dv(a,b){a=cv(a);b=cv(b);return 0==a+1-(b-1)};function ev(a,b){W.call(this);this.o=a;this.N=b;this.s=b.j;this.j=b.g;this.i=E("DIV");this.i.className="separator-container";this.o.appendChild(this.i);a=E("TABLE");a.className="separator-outer-table";this.i.appendChild(a);var c=a.insertRow(-1).insertCell(-1);c.align="center";var d=E("DIV");d.className="separator-background";c.appendChild(d);c=E("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=Ye("IMG",e);if(1==b.length){b= b[0].cloneNode(!0);var g=c.insertRow(-1).insertCell(-1);vf(g,b,0);w(g,"separator-message");w(g,"separator-pubinfo-message")}b=bv(this.s,this.j);e=Jf(e);c=c.insertRow(-1).insertCell(-1);g=E("SPAN");g.className="separator-text";c.appendChild(g);var h=this.N;h.i&&h.s?N(g,oi(e)):N(g,oi(b+"
"+e));w(c,"separator-message");w(c,"separator-pubinfo-message")}w(a,"separator-pubinfo");w(d,"separator-pubinfo")}else a=c.insertRow(-1).insertCell(-1),w(a,"separator-message"),a.textContent=bv(this.s,this.j);Gh(this.i, !0);U(this.i)}m(ev,om);ev.prototype.mb=function(a){J(this.i,a)};ev.prototype.setPosition=function(a){lh(this.i,a)};ev.prototype.Na=function(){F(this.i)};function fv(a){var b=this;W.call(this);this.o=a;this.j=a.s;this.mb(Kh(this.j));this.Gb=new A(0,0);this.O=null;this.na=new dm(function(){M(b.O,!1)},600);dj(this,this.na)}u(fv,W);f=fv.prototype;f.mb=function(a){if(!this.i||!Ce(this.i,a)){this.i=a;var b=this.o;b.ma=a;gv(b);this.dispatchEvent("resize")}};f.Xc=function(a){this.wc=a;this.N.Na();var b=this.o,c=this.Fa();b.ma=c;gv(b);b=this.o;a=new Be(a.Bb(),a.Db());b.oa=a;b.o=!0;J(b.i,a);T(b.na,0,b);gv(b);this.dispatchEvent("layoutchange")}; function hv(a,b){a.N=b}f.el=function(){return this.N};f.Kb=function(){return this.wc};f.hc=function(){var a=this.wc.Kd();this.oa&&(a=this.oa.bl(a));Np(this.N,a);this.dispatchEvent("update")};function iv(a,b){a.oa=b} f.Yc=function(a){var b=this.Gb.x,c=this.Gb.y;"number"===typeof a.x&&(a.x=xe(a.x,0,Math.max(this.wc.Bb()-this.i.width,0)));"number"===typeof a.y&&(a.y=xe(a.y,0,Math.max(this.wc.Db()-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.Ed(a):(this.s&&(this.s.Ha(),this.s=null),this.s=new km([b.x,b.y],[a.x,a.y],250+250*xe(ze(b,a)/800,0,1),nm),O(this.s,"animate",r(this.Sm,this)),O(this.s,"end",r(this.Nq,this)),this.dispatchEvent("movestart"),xj(this,"movestart",r(this.s.Ha,this.s)),this.s.play())};f.Sm=function(a){a=a.coords.map(Math.round);this.Yc(new A(a[0],a[1]))};f.Nq=function(a){this.Sm(a);this.dispatchEvent("moveend")}; f.Fb=function(){return this.j};f.Je=ba(3);f.Kc=function(){return new A(Math.round(this.Gb.x+this.i.width/2),Math.round(this.Gb.y+this.i.height/2))};f.Oe=function(a){return new A(Math.round(a.x+this.i.width/2*-1),Math.round(a.y+this.i.height/2*-1))};f.va=function(){fv.ta.va.call(this);this.N.Na()};f.Yk=function(a){null==this.O&&(this.O=a);this.O.style.opacity=0;this.na.start()};f.at=function(){var a=this;this.na.stop();M(this.O,!0);T(function(){a.O.style.opacity=1})};f.Rm=1;function lv(a,b){fv.call(this,b);this.vb=a;this.g.ka(a,"pagechange",this.Od);this.g.ka(this.vb,"searchupdate",this.nl);if(a=B("subscription-bar"))this.g.ka(this,"scrolldown",t(this.Yk,a)),this.g.ka(this,"scrollup",t(this.at,a))}u(lv,fv);f=lv.prototype;f.Ld=function(){var a=this.wc.Kd(),b=[];this.oa&&(a=this.oa.ki(a)[0]||[]);v(a,function(c){c instanceof Vl&&b.push(c.Ga())});return b};f.ih=function(a){this.hg(!1,!1);this.We(this.Ig(a))}; f.Ve=function(a){var b=[];"fixed_width"==this.Kb().Wf()&&b.push(this.Fa().width);this.ee&&(a=Pp(this.ee(),this.Kb().o(),a,b))&&this.ih(a)};f.Ge=function(){this.hg(!0,!1);var a=this.Fa().width;this.We(this.Ig(a))};f.wf=ba(4);f.hg=function(a,b){this.Kg=a;this.$i=b};f.resize=function(){if(this.Kg)this.Ge();else{var a=this.Kb().o();a&&this.ih(a)}};f.We=function(a){var b=this.Kb();this.Xc(a);b&&(a=tm(new sm(b,a),this.Kc()),(a=this.Oe(a))&&this.Ed(a))};f.Od=function(){this.Xh||this.Nd(this.vb.Ga())}; f.Nd=function(a){this.wc.zc&&(a=this.wc.zc(a))&&this.Yc(new A(Math.round(a.be()),Math.round(a.od())))};f.nl=function(){mv&&(this.el().Na(),this.wa&&this.wa(),this.hc())};var mv=!0;function nv(a,b){this.Ea=a;this.g=b}m(nv,pp);nv.prototype.render=function(a){var b=this.g(),c=a.Ga(),d=Ua(this.Ea.ee().Jf)/a.Fa().width,e=a.Fa();b.yj=e.width;b.Xg=e.height;e=a.Fa().clone();e.width*=d;e.height*=d;b.vu=e.width;b.su=e.height;b.setPosition(a.be(),a.od());b.ub(c);b.Qc();return b};function ov(){};function pv(a){this.Ea=a}u(pv,ov);pv.prototype.bl=function(a){var b=this.ki(a);a=b[0]||[];b=b[1]||[];b.sort(t(qv,this.Ea.Kc()));var c=[];kb(c,a,b);return c};function qv(a,b,c){return Yg($g(Ll(b)),a)-Yg($g(Ll(c)),a)}pv.prototype.ki=function(a){var b=jv(this.Ea),c=new Zg(b.left-800,b.top-800,b.width+1600,b.height+1600);return pb(a,function(d){d=Ll(d);if(ch(c,d))return ch(b,d)?0:1})};function rv(a,b){this.Ea=b;this.V=a}m(rv,pv);rv.prototype.bl=function(a){var b=pv.prototype.bl.call(this,a),c=this.V.Ga();if(c){var d=[],e=this.V.rb();v([1,-1],function(){var g=ko(e,c.Pa(),1);g&&d.push(g)});v(a,function(g){g.Ga&&db(d,g.Ga())&&eb(b,g)})}return b};function sv(){W.call(this)}u(sv,W);sv.prototype.te=function(a){this.i=a;this.s=tv(a)};sv.prototype.va=function(){sv.ta.va.call(this);F(this.s)};function uv(a){W.call(this);this.ma=a;this.O=[]}u(uv,sv);f=uv.prototype;f.te=function(a){uv.ta.te.call(this,a);this.oh();this.Ga()&&this.g.ka(this.Ga(),"update",this.oh)};f.Ga=function(){return this.i.Ga()};f.nh=function(a,b,c,d){var e=E("div");U(e,!0);this.s.appendChild(e);a=vv(this,a,b,c,d);I(e,{position:"absolute",left:a[0]+"px",top:a[1]+"px",width:a[2]+"px",height:a[3]+"px"});this.ma&&(I(e,{backgroundColor:this.ma}),Ch(e,.3));this.O.push(new Zg(a[0],a[1],a[2],a[3]));return e}; function wv(a){return a.i.Fa().width/a.i.Ga().getParent().g.width}function vv(a,b,c,d,e){var g=wv(a);return Ya([b,c,d,e],function(h){return Math.round(h*g)})}function xv(a,b){v(b,function(c){this.nh.apply(this,c)},a)}f.ho=function(a){return this.nh(a.left,a.top,a.width,a.height)};f.vg=function(){sf(this.s);this.O=[]};f.oh=Da;function yv(){uv.call(this)}m(yv,uv);f=yv.prototype;f.oh=function(){if(!this.j){var a=this.Ga();a&&(a=Fp(a))&&(xv(this,a),this.j=!0)}}; f.nh=function(a,b,c,d){this.o=uv.prototype.nh.call(this,a,b,c,d);I(this.o,{border:"2px #aaaaff dashed"});this.N=E("IMG");this.o.appendChild(this.N);this.N.src="/googlebooks/images/dialog_close_x.gif";a=vv(this,a,b,c,d);I(this.N,{position:"absolute",cursor:"pointer",left:a[2]-19+"px",top:"4px",display:"none"});O(this.o,"mouseout",r(this.Oq,this));O(this.o,"mouseover",r(this.To,this,!0));xj(this.N,"click",r(this.Na,this));return this.o};f.Na=function(){F(this.o)}; f.Oq=function(a){Cf(this.o,a.target)||this.To(!1)};f.To=function(a){I(this.N,{display:a?"":"none"})};function zv(a){uv.call(this);this.V=a}m(zv,uv);zv.prototype.oh=function(){if(!this.j){var a=this.Ga();a&&(a=Ep(a))&&(v(a,function(b){var c=b.pop(),d=b.pop();b=this.nh.apply(this,b);I(b,{cursor:"pointer"});this.g.ka(b,"click",r(this.o,this,d,c))},this),this.j=!0)}};zv.prototype.o=function(a,b){(a=lo(this.V.rb(),a))?this.V.ub(a):Uo(this.V,b)};function Av(a,b){this.s=a;this.g=b}Av.prototype.Ga=function(){return this.s};Av.prototype.i=function(){return this.s.xd(this.g)};function Bv(a,b,c){Av.call(this,a,b);this.j=c}m(Bv,Av);Bv.prototype.i=function(){return this.j.width>this.g.width?this.s.xd(this.j):Av.prototype.i.call(this)};function Cv(a,b,c,d,e){W.call(this);this.$g(a.Ia());this.V=a;this.i=c;this.na=[];this.Tm=d;J(d,c);this.ua=tv(this);I(this.ua,"backgroundColor","#fff");J(this.ua,c);if(this.Ba=void 0!==e?e:!0)a=tv(this),J(a,c),this.wa=new Dv(a),this.wa.show();b&&(this.s=b,this.g.ka(b,"update",this.wg),Wo(b))}u(Cv,W);f=Cv.prototype;f.Fa=function(){return this.i};f.Ga=function(){return this.s};function Ev(a,b){a.na.push(b);b.te(a)}f.wg=Da;function Fv(a){a.dispatchEvent("load");a.Ba&&a.wa.kb()} function tv(a){var b=E("div");U(b,!0);I(b,{position:"absolute",left:0,top:0});a.Tm.appendChild(b);return b}f.Na=function(){v(this.na,function(a){a.Ha()});this.na=null;this.o&&F(this.o)};function Gv(a){a.N=tv(a);J(a.N,a.Fa());I(a.N,{backgroundImage:"url(//www.google.com/images/cleardot.gif)",backgroundRepeat:"repeat"});a.g.ka(a.N,"mousedown",a.Pq);a.g.ka(a.N,"dragstart",gj)}f.Pq=function(a){a.display=this;Hv.dispatchEvent(a)};var Hv=new P; function Dv(a){this.g=a;a={position:"absolute",left:0,color:"#808080",fontSize:"13px",backgroundColor:"white"};for(var b=0;2>b;b++){var c=E("div");U(c);I(c,a);this.g.appendChild(c);c.textContent="Loading...";a.bottom=0}}Dv.prototype.show=function(a){I(this.g,{display:a?"none":""})};Dv.prototype.kb=function(){this.show(!0)};Cv.prototype.Xl=function(){Iv(this)};function Iv(a,b){a.o&&F(a.o);a.o=tv(a);new Jv(a.o,a.Fa(),b)} function Jv(a,b,c){this.g=a;I(a,{backgroundColor:"#FFF",textAlign:"center"});J(a,b);N(a,Il(c||""));U(this.g)};function Kv(a,b,c){Cv.call(this,a,b.Ga(),b.g,c);this.$g(Lv);a=tv(this);this.ma=new Mv(b.g,a);a=tv(this);this.O=new Mv(b.g,a);Gv(this);Gh(c,!0);w(c,"pageImageDisplay");this.oa=b;b.Ga()&&this.wg()}m(Kv,Cv);f=Kv.prototype;f.ub=function(a){yp(a,"output",null);Cv.prototype.ub.call(this,a);a.xd()&&this.wg()}; f.wg=function(){var a=this.Ga(),b=this.oa.i();if(b&&!this.j){b=Nv(b);xj(this.ma,"load",r(this.Qq,this,a,b,this.Fa().width));Ov(this.ma,[b]);var c=Po(this.V.Xb,a.Pa());c.push(b);Ov(this.O,c);this.j=!0;a==this.V.Ga()&&this.dispatchEvent("fetch")}Bp(a,[16,8])&&(a=De('

%s
',dp("/googlebooks/restricted_logo.gif"),"You have either reached a page that is unavailable for viewing or reached your viewing limit for this book."),Iv(this, a),Fv(this))};f.Qq=function(a,b,c){a==this.V.Ga()&&this.dispatchEvent("loaded");this.O.empty();var d=this.V.Xb;a=a.Pa();d.g[a]=d.g[a]||{};d.g[a][c]=b;Fv(this)};f.mc=ba(7);f.Na=function(){this.j=!1;this.ma.empty();this.O.empty();Cv.prototype.Na.call(this)};var Lv=new P,Nv=Ec;function Mv(a,b){P.call(this);this.i=a;this.j=b;this.zf=!1;this.g=E("IMG");this.g.width=this.i.width;this.j.appendChild(this.g);U(this.j)}m(Mv,P);Mv.prototype.empty=function(){for(var a;a=yf(this.j);)mp(a)}; function Ov(a,b){ip(a.g,r(a.s,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 pl(100),this.g.ka(this.O,"tick",this.Uq));this.ma=d;d.x||d.y?this.O.start():this.O.stop()}}};f.Uq=function(){var a=this.ma,b=this.Ea;kv(b,new A(15*a.x,15*a.y),r(b.Ed,b))}; f.Zs=function(){Fj(this.N);bj(this.O);this.O=null};function $v(){this.g=!1;var a=C("DIV","entity-page-snackbar"),b=C("SPAN","entity-page-snackbar-text");G(b,"Selection copied to clipboard");a.appendChild(b);xm(a,"hidden",!0);document.body.appendChild(a);this.s=a}$v.prototype.show=function(){this.g?(this.i(),T(r(this.j,this),500)):this.j();T(r(this.i,this),6E3)};$v.prototype.j=function(){I(this.s,"bottom","0");this.g=!0};$v.prototype.i=function(){I(this.s,"bottom","-48px");this.g=!1};function aw(a){this.i=a;this.s=new $v;this.j=bw(this)}aw.prototype.ha=function(){return this.j}; function bw(a){var b=C("DIV");xb(b,["entity-page-copy-button","entity-page-action-chip"]);var c=C("IMG");w(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");w(d,"entity-page-action-chip-label");G(d,"Copy");b.appendChild(c);b.appendChild(d);O(b,"click",r(a.g,a));wm(b,"button");If(b,!0);O(b,"keydown",function(e){32!=e.keyCode&&13!=e.keyCode||a.g.call(a)});return b} aw.prototype.g=function(){this.i.focus();this.i.select();document.execCommand("copy");this.s.show()};function cw(a){Br.call(this,a);kn(this);this.Un=!1;this.g=new Ij;this.i=tp();w(a,"viewport-selection-popup");dw&&dw.Ha();dw=this}m(cw,Br);cw.prototype.j=function(){this.dispatchEvent("close");this.Ha()}; function ew(a,b,c){var d=a.ha(),e=E("div");w(e,"selection-popup-select-container");d.appendChild(e);d=E("div");w(d,"selection-popup-select-label");e.appendChild(d);d.appendChild(pf(b));e.appendChild(E("div"));b=E("input");b.value=c;w(b,"viewport-input");e.appendChild(b);Gh(b,!1);a.i&&(c=(new aw(b)).ha(),e.appendChild(c));a.g.ka(b,"mousedown",fw)}function fw(a){a.stopPropagation()}cw.prototype.va=function(){F(this.ha());Br.prototype.va.call(this);this.g.Ha()};var dw=null;function gw(a,b){this.g=a instanceof A?a:new A(a,b)}u(gw,tr);gw.prototype.Pc=function(a,b,c,d){var e=We(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=vr(a);g-=h.x;e-=h.y;xr(new A(g,e),a,b,c,null,null,d)};function hw(a,b){gw.call(this,a,b)}u(hw,gw);hw.prototype.i=0;hw.prototype.s=function(a){this.i=a};hw.prototype.Pc=function(a,b,c,d){var e=oh(a);e=rh(e);var g=kf(Ue(a).g);g=new A(this.g.x+g.scrollLeft,this.g.y+g.scrollTop);var h=b,k=xr(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=xr(g,a,h,c,e,10,d);0!=(k&496)&&xr(g,a,b,c,e,this.i,d)}};function iw(a){uv.call(this,"#4a95d6");this.j=a}m(iw,uv);iw.prototype.te=function(a){uv.prototype.te.call(this,a);I(this.s,{cursor:"pointer"});this.g.ka(this.s,"mousedown",jw)};function jw(a){a.stopPropagation()} function Xv(a,b,c,d){a.vg();Ya(b,r(a.ho,a));a.N&&Fj(a.N);a.o&&a.o.Ha();b=E("div");document.body.appendChild(b);var e=Tv(a.O);if(e){var g=sh(a.s);b=new cw(b);if(c&&d){var h=a.Ga(),k=h.xd();if(k){var l=new Q(k);d=[d.left,d.top,d.width,d.height].join();R(l,"ci",d);R(l,"edge",0);l=l.toString();var n=new Q(h.Ac());R(n,"ci",d);R(n,"source","bookclip");n=De('',n.toString(),l)}d=n;sf(b.ha());n=b.ha();h=E("IMG");h.src="/googlebooks/images/material/close_black_24dp.png";w(h, "selection-popup-close");n.appendChild(h);b.g.yf(h,"click",r(b.j,b));h=C("DIV",{},"Share this clip");w(h,"selection-popup-title");n.appendChild(h);c&&(ew(b,"Selection text",c),n=E("DIV"),w(n,"selection-popup-translate-container"),b.ha().appendChild(n),h=new Q("https://translate.google.com/translate_t"),R(h,"text",c),R(h,"sl","auto"),R(h,"tl","auto"),c=E("A"),c.href=h.toString(),c.target="_blank",b.i&&(h=C("IMG"),xb(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"),G(h,"Translate"),w(h,"entity-page-action-chip-label"),c.appendChild(h),h=E("SPAN"),G(h,"\u00bb"),w(h,"selection-popup-translate-arrow"),c.appendChild(h),w(c,"selection-popup-translate-link"),w(c,"entity-page-action-chip"),n.appendChild(c));l&&ew(b,"Image",l);d&&ew(b,"Embed",d)}else c=E("DIV"),G(c,"Loading..."),w(c,"selection-popup-loading-msg"),b.ha().appendChild(c);Cr(b);a.o=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);T(t(kw,b,new hw(new A(c, e))));a.N=xj(b,"close",r(a.vg,a))}}function kw(a,b){a.Hd||(a.setPosition(b),a.Da(!0))}iw.prototype.vg=function(){uv.prototype.vg.call(this);this.o&&this.o.Ha()};iw.prototype.va=function(){uv.prototype.va.call(this);this.o&&this.o.Ha();this.N&&Fj(this.N)};function lw(a,b,c){return a.Za().hj()?new Pv(a,b,c):new Kv(a,b,c)}function mw(a,b){if(b instanceof Kv){Ev(b,new Qv(a.tb()));Ev(b,new yv);var c=new iw(a.Fb()),d=new Yv(c,a.Ia());Ev(b,d);Ev(b,c);Ev(b,new zv(a))}};function nw(a,b,c){W.call(this);this.V=a;this.Ea=b;this.j=E("div");U(this.j,!0);I(this.j,{position:"absolute",display:"none"});c.appendChild(this.j);this.o=E("div");U(this.o,!0);I(this.o,{position:"absolute"});this.j.appendChild(this.o);this.N=E("div");U(this.N,!0);this.j.appendChild(this.N);this.O=E("div");U(this.O,!0);this.N.appendChild(this.O);this.kb()}u(nw,om);f=nw.prototype; f.Qc=function(){var a=this.yj-2,b=this.Xg-2,c=this.vu-2,d=this.su-2;I(this.N,{backgroundColor:"#cccccc",position:"absolute"});lh(this.N,0,0);J(this.N,this.yj,this.Xg);I(this.O,{overflow:"hidden",backgroundColor:"#fcfcfc",position:"absolute"});lh(this.O,1,1);J(this.O,a,b);this.show();var e=this.V;a=lw(e,new Bv(this.Ga(),new Be(a,b),new Be(c,d)),this.O);a instanceof Kv?mw(e,a):a instanceof Pv&&a instanceof Pv&&Ev(a,new Qv(e.tb()));this.i=a};f.kb=function(){M(this.j,!1)};f.show=function(){M(this.j,!0)}; f.mc=ba(5);f.Na=function(){this.i&&this.i.Na();F(this.j)};f.setPosition=function(a,b){lh(this.j,a,b)};f.od=function(){return nh(this.j).x};f.be=function(){return nh(this.j).y};f.ub=function(a){this.s=a};f.Ga=function(){return this.s};f.Db=function(){return this.Xg};f.Bb=function(){return this.yj};function ow(a){return a+2}f.Fa=function(){return new Be(this.yj,this.Xg)};function pw(a){W.call(this);sf(a);U(a);this.s=a;this.i=E("div");U(this.i,!0);Xl()&&(ef(a,{dir:"ltr"}),ef(this.i,{dir:"rtl"}));a.appendChild(this.i)}u(pw,W);function qw(a,b){pw.call(this,b);this.Ea=a;this.g.ka(b,"scroll",this.N);I(b,"position","relative");I(this.i,"position","absolute");this.j=E("div");w(this.j,"scroll-background");U(this.j,!0);b.appendChild(this.j);this.j.appendChild(this.i)}m(qw,pw);function gv(a){var b=a.oa;a.ma&&b&&(I(a.i,"left",Math.floor(Math.max(0,a.Ea.o.s.clientWidth-b.width)/2)+"px"),I(a.j,"height",b.height+"px"))}qw.prototype.na=function(){this.o=!1;this.N()}; qw.prototype.N=function(){if(!this.o){var a=this.Ea.Gb;if(a){a=a.clone();var b=this.s;b=new A(b.scrollLeft,b.scrollTop);ye(a,b)||(this.O=!0,this.Ea.Ed(b),this.O=!1)}}};function rw(a){var b=a.Fb(),c=new qw(this,b);sw(b);lv.call(this,a,c);iv(this,new rv(a,this));hv(this,tw(this));var d=a.rb(),e=a.Za().Wf();this.ma=a.Za().O?function(g){return new Zu(d,e,g)}:a.Za().na?function(g){return new Zu(d,e,g,!0,a.Za().na)}:function(g){return new Zu(d,e,g,!0)};b=this.vb.Za();"fixed_height"==b.Wf()?(b=b.ee(),b=b[Math.floor(b.length/2)]+2):b=uw(b)+2;this.ih(b);this.g.ka(this.vb,"pagesupdate",this.Vt);this.g.ka(this.vb,"pagemodechange",this.Vq);this.g.ka(this,"move",this.hc);this.g.ka(this, "move",this.gw)}u(rw,lv);function sw(a){I(a,"overflow","auto");I(a,{overflowX:"auto",overflowY:"scroll"});w(a,"overflow-scrolling");ef(a,{dir:"ltr"})}f=rw.prototype;f.Mc=function(){this.Ve(1)};f.jd=function(){this.Ve(-1)};f.ee=function(){var a=this.vb.Za(),b=jb(a.ee());"fixed_width"==a.Wf()&&(a=this.vb.Za().Qa)&&150a?eb(b,a):eb(b,1500));return new Op(Ya(b,ow))};f.Ig=function(a){return this.ma(a)}; f.Fa=function(){if(this.j.hasChildNodes()){var a=Kh(this.j.childNodes[0]).width;a=new Be(a,this.i.height)}else a=this.i;return a};function tw(a){var b=new Lp;Mp(b,Vl,new nv(a,t(Fc,nw,a.vb,a,a.o.i)));Mp(b,Uu,new av(a.vb,function(c){return new ev(a.o.i,c)}));return b}f.gw=function(){if(this.Ca){var a=Ol(this.wc,this.Kc().y);a&&a.Ga&&(a=a.Ga(),this.vb.Ga()!=a&&(this.Xh=!0,this.vb.Bd(a.Pa()),this.Xh=!1))}this.Ca=!0}; f.Vt=function(){var a=this.vb.Ga(),b=this.vb.rb(),c=lo(b,a.Pa());if(!c)a:{c=io(a);b=jo(b);for(a=b.length-1;0<=a;a--){var d=b[a];if(io(d)<=c){c=d;break a}}c=null}a=this.Gb;b=this.Kb();d=b.zc(c);a=Ae(a,d.nd());b=this.Ig(b.o());c=b.zc(c).nd();c=new A(c.x+a.x,c.y+a.y);this.Xc(b);this.Ed(c)};f.Vq=function(){this.N.Na();this.hc()}; f.Wk=function(a){if(a.vo&&a.O){var b=a.O;if(null!=a.oa)var c=a.oa;else a.oa=new vw(this.o.i),c=a.oa;c.g=this.o.i;if(B("focus_article_div")){var d=B("focus_article_div");F(d)}d=this.Kb().zc(a);a=d.Bb()/a.qe();if(b.Uf()&&(b=b.Uf())){var e=b[0];if(e&&4==e.length){b=a*e[0]+d.be();d=a*e[1]+d.od();var g=a*e[2];a*=e[3];e=E("DIV");e.setAttribute("id","focus_article_div");U(e,!0);Ch(e,.3);I(e,{position:"absolute",left:b+"px",top:d+"px",width:g+"px",height:a+"px",cursor:"pointer",backgroundColor:"#36C",border:"2px solid #00F"}); c.g.appendChild(e)}}}};function ww(a,b,c,d,e){W.call(this);this.V=a;this.Ea=b;this.s=c;var g=E("div");I(g,{position:"absolute"});e=e.width-2;lh(g,d.x+(Xl()?e:0),d.y);b.o.i.appendChild(g);this.i=g;b=Math.floor(e/Wl(c));g=new Be(e,b);this.j=E("div");this.i.appendChild(this.j);I(this.j,{padding:"1px",position:"absolute"});this.o();b=E("div");this.j.appendChild(b);I(b,{overflow:"hidden",backgroundColor:"#fcfcfc"});J(b,g);this.j.appendChild(b);d=E("IMG");d.title=c.Ie();this.O=d;e=Q;var h=new Q(c.N.Uo);R(h,"pg",c.Pa());c.ob.sig&& R(h,"sig",c.ob.sig);e=new e(h.toString());R(e,"zoom","1");R(e,"img","1");R(e,"w",g.width);if(g=this.V.Za().ue)R(e,"imgtk",g),R(e,"jtp",io(c));d.src=e.toString();b.appendChild(d);I(this.j,"cursor","pointer");this.g.ka(this.j,"click",this.N);this.g.ka(a,"pagechange",this.o)}m(ww,om);ww.prototype.o=function(){var a=!1,b=this.V.Ga();b&&b==this.s&&(a=!0);I(this.j,"backgroundColor",a?"#6B90DA":"#ccc")};ww.prototype.N=function(){this.V.qc(rw);this.V.ub(this.s);xw.dispatchEvent("click")}; ww.prototype.Na=function(){mp(this.O);F(this.i)};var xw=new P;function yw(a,b){this.V=a;this.Ea=b}m(yw,pp);yw.prototype.render=function(a){return new ww(this.V,this.Ea,a.Ga(),a.nd(),a.Fa())};function zw(a){var b=a.Fb();I(b,{overflow:"hidden"});var c=new qw(this,b);lv.call(this,a,c);this.g.ka(this,"move",this.hc);I(b,{overflow:"auto"});hv(this,Aw(this));this.Xc(Bw(this));iv(this,new pv(this));T(r(this.hc,this),0);this.g.ka(this,"resize",this.ma);var d=B("subscription-bar");d&&(this.Yk(d),T(function(){M(d,!1)},600))}u(zw,lv);zw.prototype.Nd=function(a){a=this.Kb().zc(a).nd();this.Ed(new A(void 0,a.y-40))};function Bw(a){var b=a.vb.Za().Nc;return new Yu(a.vb.rb(),a.Fa().width,b,b)} zw.prototype.ma=function(){this.Xc(Bw(this));this.Nd(this.vb.Ga())};function Aw(a){var b=new Lp;Mp(b,Vl,new yw(a.vb,a));return b};function Cw(a,b,c){W.call(this);this.V=a;this.o=b;this.j=this.V.Za().Li;this.N=!!this.V.Za().Li;this.ma=!!this.V.Za().ui;this.s=tp(c);if(this.N){a:{a=this.V.rb();for(b=0;b=io(c)&&e<=d){a=b;break a}}a=-1}this.O=a}}m(Cw,W);f=Cw.prototype; f.render=function(a){this.i=E("div");document.body.appendChild(this.i);T(r(this.Wq,this));this.oa=a;if(this.N)Dw(this);else if(this.ma){w(this.i,"base-image-toc-div");a=this.V.Za().ui;var b=lo(this.V.rb(),a);b&&Ew(this,b);1a.x&&(a.x=0);lh(this.i,a)};f.Nt=function(a){a.preventDefault();a.stopPropagation();this.V.Tb("previous")}; f.Da=function(a){I(this.i,{display:a?"":"none"})};f.Qc=function(){I(this.s,{left:0,top:0});I(this.N,{left:this.j.width+"px",top:0})};f.Ld=function(){return Xa([this.ua,this.Ba],function(a){return!!a})};f.Na=function(){this.o.Na();this.O.Na();for(var a;a=this.na.pop();)Fj(a);this.i.parentNode&&F(this.i)};function Jw(a){return 2*a};function Kw(a){this.V=a}m(Kw,pp);Kw.prototype.render=function(a){var b=new Hw(this.V,a.Fa().width);b.setPosition(a.nd());b.Qc();b.Da(!0);return this.g=b};function Lw(a,b,c){P.call(this);this.V=a;this.j=b;this.o=L(b).width;this.N=c;this.i=!1;this.g=Xl()}m(Lw,P);Lw.prototype.xf=function(){return this.i};function Mw(a,b){if(b!=a.i){a.i=b;var c=a.V.Ia().o.i;M(c,!1);L(c);[t(Nw,a.j,a.N,a.o,a.g,b),r(a.s,a),t(M,c,!0)].forEach(T)}}Lw.prototype.s=function(){this.dispatchEvent("change")};function Nw(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 Ow=null;function Pw(a,b){Ij.call(this);this.i=Ow;this.V=a;this.g=b;this.V.Za().O||(this.ka(this.V,"pageturn",this.s),this.ka(this.g,"dispose",this.Ha))}m(Pw,Ij);Pw.prototype.s=function(){var a=this.g.ma.g.Ld()[0]||new hp,b=this.g.ma.g.Ld()[1]||new hp,c=this.O,d=this.o,e=d?io(d):-1,g=io(a)||-1,h=io(b)||-1,k=Math.max(c?io(c):-1,e),l=Math.max(g,h);if(Math.abs(l-k)>this.g.Rm){if(0l-k&&(n=-1!=h?b:a,q=d);1=io(e[0]||e[1])&&aemail or IM"));this.ha().appendChild(a);this.s=E("input");J(this.s,"100%","auto");this.ha().appendChild(this.s);this.N&&(a=C("DIV",{style:"font-size: 13px; padding-top: 7px;"},"Embed"),this.ha().appendChild(a),this.Fe=E("input"),J(this.Fe,"100%","auto"),this.ha().appendChild(this.Fe));a=this.V.Ga();b=(new Q(window.location)).g;var c=new Q(a.Ac()); c.g=b;this.s.value=c.toString();T(t(ax,this.s));this.N&&(a=new Q(a.Ac()),R(a,"output","embed"),this.Fe.value=bx(a.toString()))};$w.prototype.Wl=function(){Zw.prototype.Wl.call(this);this.g.ka(this.s,"click",t(ax,this.s));this.N&&this.g.ka(this.Fe,"click",t(ax,this.Fe))};function ax(a){a.select()}function bx(a){return De('',a)};function cx(a,b){W.call(this);this.Ea=a;this.j=b;this.i=E("div");a.o.i.appendChild(this.i);w(this.i,"sitb_result");lh(this.i,b.nd());J(this.i,b.Fa());a=E("div");w(a,"sitb-result-header");this.i.appendChild(a);this.o=E("div");w(this.o,"sitb-result-page-link");b=b.g.g;this.o.textContent=b?"Page "+b:"Page";a.appendChild(this.o);this.s=E("div");w(this.s,"sitb-result-content");this.i.appendChild(this.s);if(b=lo(this.Ea.V.rb(),this.j.g.Pa())){a=this.Ea.V.tb().getQuery();var c=b.ob.snippetSrc;c&&a==Mo(c)? dx(this,c):(a=b.nf(),"entity_page"==S(a,"source")?R(a,"source","entity_page_gbs_snippet"):R(a,"source","gbs_snippet"),wp(b,a,r(this.O,this)))}else ex(this)}m(cx,om);cx.prototype.N=function(a){this.Ea.uf(a.g)};cx.prototype.O=function(a){(a=a.ob.snippetSrc)?dx(this,a):ex(this)};function dx(a,b){sf(a.s);var c=E("IMG");c.src=b;fx(a);b=a.j.Fa().width-25;I(c,{width:b+"px"});a.s.appendChild(c)} function fx(a){w(a.i,"sitb-result-clickable");w(a.o,"sitb-result-link");var b=Jf(a.o);N(a.o,Ti(b+" »"));wm(a.i,"link");If(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 ex(a){sf(a.s);var b=E("div");w(b,"sitb-result-snippet");a.s.appendChild(b);I(b,{width:Math.floor(.75*a.j.Fa().width)+"px"});N(b,Il(a.j.g.i));b=E("div");w(b,"sitb-result-explanatory-link");a.s.appendChild(b);var c=lo(a.Ea.V.rb(),a.j.g.Pa());c&&c.xd()&&!Bp(c,[4,8,16])&&c.s(2)?(fx(a),N(b,Ti("We couldn't make an image for this result.  ")),a=E("span"),N(a,Ti("Click to view the whole page.")),b.appendChild(a),w(a,"sitb-result-link")):(N(b,Ti("No preview available for this page.  ")), a=E("a"),w(a,"sitb-result-buy-link"),N(a,Ti("Buy this book.")),b.appendChild(a),b=new Q(window.location.href),R(b,"sitesec","buy"),R(b,"source","gbs_snippet"),sk(b,"printsec"),a.href=b.toString())}cx.prototype.Na=function(){F(this.i);this.Ha()};function gx(a){this.Ea=a}m(gx,pp);gx.prototype.render=function(a){return new cx(this.Ea,a)};function hx(a){this.g=a}m(hx,Kl);function ix(a,b){Vu.call(this,1);this.Jb=a;this.N=b;this.Qj=this.yi=this.marginTop=20;a.yb&&(a.yb.forEach(r(this.s,this)),Rl(this))}m(ix,Vu);ix.prototype.s=function(a){a=new hx(a);var b=Math.min(this.N-16,600);a.mb(new Be(b,Math.round(124/600*b+42)));this.Sa(a)};function jx(a){var b=a.Fb();I(b,"overflow","hidden");var c=new qw(this,b);fv.call(this,c);this.V=a;iv(this,new pv(this));this.g.ka(this,"move",this.hc);var d=B("subscription-bar");d&&(this.Yk(d),T(function(){M(d,!1)},600));hv(this,kx(this));lx(b)}u(jx,fv);function lx(a){I(a,"overflow","auto");I(a,{overflowX:"auto",overflowY:"scroll"});ef(a,{dir:"ltr"})}function kx(a){var b=new Lp;Mp(b,hx,new gx(a));return b}jx.prototype.resize=function(){mx(this)}; function mx(a){var b=new ix(a.Jb,a.Fa().width);a.Xc(b);a.hc()}jx.prototype.uf=function(a,b){return this.Ba(a,b)};function nx(a){this.g=a||{}}nx.prototype.lc=function(){return this.g};nx.prototype.qc=function(a){var b=Lc(ox,function(c){return c==a});this.g.v=b};nx.prototype.getQuery=function(){return this.g.q};var ox={onepage:rw,twopage:Ww,thumbnail:zw,snippet:jx};function px(a,b){this.g=new Nr;O(this.g,"navigate",r(this.o,this));this.V=a;this.i=b}px.prototype.o=function(a){qx(this,a.o)};function qx(a,b){if(!(a.s&&""==b||a.j))if((z||fc)&&""==b)window.history.go(-2);else if(b){var c={},d=new kk(b);v(d.ae(),function(e){var g=d.get(e);g in rx&&(g=rx[g]);c[e]=g});b=new nx(c);a.V.qc(ox[b.g.v]||rw);Mw(a.i,!!b.g.f);void 0!==b.getQuery()&&Lo(a.V.tb(),b.getQuery())}} px.prototype.Ta=function(a){this.s=!0;this.g.Ta(a);z&&(a=(new Q(window.location)).g,qx(this,a));this.s=!1};px.prototype.update=function(){var a=new nx;a.qc(this.V.O);a.g.q=this.V.tb().getQuery();a.g.f=this.i.xf();a=vk(a.lc()).toString();this.j=!0;this.g.ji(a);this.j=!1};var rx={"true":!0,"false":!1};function sx(){this.i=[]}u(sx,Iq);Ea(sx);function tx(a,b){var c=a.i[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.i[b]=c}return c}f=sx.prototype;f.sg=function(){return"menuitem"};f.Oc=function(a){var b=a.g.Ra("DIV",Lq(this,a).join(" "),ux(this,a.Gc(),a.g));vx(this,a,b,Qq(a,8)||Qq(a,16));return b};f.Ic=function(a){return a&&a.firstChild}; f.Sb=function(a,b){var c=yf(b),d=tx(this,2);c&&wb(c,d)||b.appendChild(ux(this,b.childNodes,a.g));wb(b,"goog-option")&&(a.ii(!0),this.ii(a,b,!0));return sx.ta.Sb.call(this,a,b)};f.tg=function(a,b){var c=this.Ic(a),d=wx(this,a)?c.firstChild:null;sx.ta.tg.call(this,a,b);d&&!wx(this,a)&&c.insertBefore(d,c.firstChild||null)};function ux(a,b,c){a=tx(a,2);return c.Ra("DIV",a,b)}f.Qp=function(a,b,c){a&&b&&vx(this,a,b,c)};f.ii=function(a,b,c){a&&b&&vx(this,a,b,c)}; function wx(a,b){return(b=a.Ic(b))?(b=b.firstChild,a=tx(a,1),!!b&&Af(b)&&wb(b,a)):!1}function vx(a,b,c,d){Oq(a,c,b.rf());Pq(a,b,c);d!=wx(a,c)&&(Ab(c,"goog-option",d),c=a.Ic(c),d?(a=tx(a,1),c.insertBefore(b.g.Ra("DIV",a),c.firstChild||null)):c.removeChild(c.firstChild))}f.Kh=function(a){switch(a){case 2:return tx(this,0);case 16:case 8:return"goog-option-selected";default:return sx.ta.Kh.call(this,a)}}; f.fj=function(a){var b=tx(this,0);switch(a){case "goog-option-selected":return 16;case b:return 2;default:return sx.ta.fj.call(this,a)}};f.Wa=function(){return"goog-menuitem"};function xx(a,b,c,d){Tq.call(this,a,d||sx.Eb(),c);this.xc(b)}u(xx,Tq);f=xx.prototype;f.Ab=function(){var a=this.Jl;return null!=a?a:this.Ng()};f.xc=function(a){this.Jl=a};f.Zb=function(a,b){xx.ta.Zb.call(this,a,b);switch(a){case 8:Rq(this,16)&&!b&&this.Ff(!1);(a=this.ha())&&this.wd().Qp(this,a,b);break;case 16:(a=this.ha())&&this.wd().ii(this,a,b)}};f.Qp=function(a){this.Zb(8,a)};f.ii=function(a){this.Zb(16,a)}; f.Ng=function(){var a=this.Gc();return Array.isArray(a)?(a=Ya(a,function(b){return Af(b)&&(wb(b,"goog-menuitem-accel")||wb(b,"goog-menuitem-mnemonic-separator"))?"":Lf(b)}).join(""),Ge(a)):xx.ta.Ng.call(this)};f.he=function(a){var b=this.getParent();if(b){var c=b.o;b.o=null;if(c&&"number"===typeof a.clientX&&ye(c,new A(a.clientX,a.clientY)))return}xx.ta.he.call(this,a)};f.fe=function(a){return a.keyCode==this.Il&&this.Qe(a)?!0:xx.ta.fe.call(this,a)};f.et=function(){return this.Il}; Aq("goog-menuitem",function(){return new xx(null)});xx.prototype.rf=function(){return Qq(this,16)?"menuitemcheckbox":Qq(this,8)?"menuitemradio":xx.ta.rf.call(this)};xx.prototype.getParent=function(){return Tq.prototype.getParent.call(this)};xx.prototype.Sg=function(){return Tq.prototype.Sg.call(this)};function yx(a,b,c){xx.call(this,a,b,c);this.ii(!0)}u(yx,xx);Aq("goog-checkbox-menuitem",function(){return new yx(null)});function zx(a){yx.call(this,Je(a.hb()),a.getId());this.i=a}m(zx,yx);zx.prototype.Nb=function(a){yx.prototype.Nb.call(this,a);if(this.i.ye){var b=(a=1==this.i.ye)?"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:"+(Xl()?"left":"right")});a=C("DIV","goog-menuitem-accel",a,pf(String(this.i.wa)));vf(this.Ib(),a,1)}};function Ax(a,b,c,d){zr.call(this,a,b,c||d);(c||d)&&this.s(65|(d?32:132))}u(Ax,zr);function Bx(){}u(Bx,Iq);Ea(Bx);Bx.prototype.Wa=function(){return"goog-menuheader"};function Cx(a,b,c){Tq.call(this,a,c||Bx.Eb(),b);this.Zb(1,!1);this.Zb(2,!1);this.Zb(4,!1);this.Zb(32,!1);this.Vd=1}u(Cx,Tq);Aq("goog-menuheader",function(){return new Cx(null)});function Dx(){}u(Dx,Iq);Ea(Dx);Dx.prototype.Oc=function(a){return a.g.Ra("DIV",this.Wa())};Dx.prototype.Sb=function(a,b){b.id&&a.Zg(b.id);if("HR"==b.tagName){var c=b;b=this.Oc(a);tf(b,c);F(c)}else w(b,this.Wa());return b};Dx.prototype.tg=function(){};Dx.prototype.Wa=function(){return"goog-menuseparator"};function Ex(a,b){Tq.call(this,null,a||Dx.Eb(),b);this.Zb(1,!1);this.Zb(2,!1);this.Zb(4,!1);this.Zb(32,!1);this.Vd=1}u(Ex,Tq);Ex.prototype.Ma=function(){Ex.ta.Ma.call(this);var a=this.ha();wm(a,"separator")};Aq("goog-menuseparator",function(){return new Ex});function Fx(a){this.g=a||"menu"}u(Fx,Dq);Ea(Fx);f=Fx.prototype;f.ak=function(a){return"UL"==a.tagName||Fx.ta.ak.call(this,a)};f.Mh=function(a){return"HR"==a.tagName?new Ex:Fx.ta.Mh.call(this,a)};f.Zd=function(a,b){return Cf(a.ha(),b)};f.rg=function(){return"goog-menu"};f.dk=function(a){Fx.ta.dk.call(this,a);a=a.ha();xm(a,"haspopup","true")};function Gx(a){Ex.call(this,Dx.Eb(),a)}u(Gx,Ex);Aq("goog-menuseparator",function(){return new Ex});function Hx(a,b){gr.call(this,"vertical",b||Fx.Eb(),a);pr(this,!1)}u(Hx,gr);f=Hx.prototype;f.Ck=!0;f.Zd=function(a){if(this.wd().Zd(this,a))return!0;for(var b=0,c=dn(this);bDate.now()-a.Zo);g&&a.jm?a.kb():a.dispatchEvent("beforeshow")&&(c="undefined"!=typeof c?c:8,e||(a.ha().style.visibility="hidden"),M(a.ha(),!0),b.Pc(a.ha(),c,d),e||(a.ha().style.visibility="visible"),a.Sd(-1),a.Da(!0))}f.kb=function(){this.isVisible()&&(this.Da(!1),this.isVisible()||(this.Zo=Date.now()))};f.Xu=function(){this.kb()};f.lv=function(a){Lx(this,a)}; f.mv=function(a){32!=a.keyCode&&13!=a.keyCode&&40!=a.keyCode||Lx(this,a);40==a.keyCode&&lr(this)};function Lx(a,b){for(var c=a.i.ae(),d=0;dl.endOffset)l={startOffset:e.startOffset, fh:e.fh,endOffset:l.endOffset,Eh:l.Eh};e=Ua(d)}d.push(l);e=l}k.i&&gb(g,h)}}function my(a,b){this.startOffset=a;this.fh=void 0;this.endOffset=a;this.Eh=void 0;this.i=!1;this.g=b};function ny(a,b){var c=void 0;c=void 0===c?Infinity:c;b=new ky(b);c=void 0===c?Infinity:c;var d=void 0===d?[]:d;var e=" ",g,h=gy(a);for(g=0;g=c&&(d.length=c);return d};function oy(a){var b=hy(a);a=py();Array.prototype.forEach.call(a,function(c){qy(b,c)})}function py(){var a=[],b=jb(af("patent-text")),c=cf("patent-title");for(c&&b.push(c);c=b.pop();)3==c.nodeType?a.push(c):kb(b,c.childNodes);return a} function qy(a,b){var c=Lf(b);a=ny(c,a);if(a.length){var d=[],e=0;a.forEach(function(g){d.push(c.substring(e,g.startOffset),Zd("span",{"class":"patent-text-highlight"},c.substring(g.startOffset,g.endOffset)));e=g.endOffset});d.push(c.substring(e));a=E("span");N(a,ie(d));wf(a,b)}};function ry(){xx.call(this,"Turn off highlighting");var a=dk("dq")||dk("q");a&&oy(a);this.Pb=!0}m(ry,xx);ry.prototype.Ma=function(){xx.prototype.Ma.call(this);Y(this).ka(this,"action",this.i)};ry.prototype.i=function(){this.Pb=!this.Pb;Ab(window.document.body,"patent-highlight-disabled",!this.Pb);Zq(this,this.Pb?"Turn off highlighting":"Turn on highlighting")};function sy(){}u(sy,Dx);Ea(sy);sy.prototype.Oc=function(a){return a.g.Ra("DIV",Lq(this,a).join(" ")+" goog-inline-block","\u00a0")};sy.prototype.Sb=function(a,b){b=sy.ta.Sb.call(this,a,b);w(b,"goog-inline-block");return b};sy.prototype.Wa=function(){return"goog-toolbar-separator"};function ty(){}u(ty,$s);Ea(ty);f=ty.prototype;f.Oc=function(a){var b=Lq(this,a);b=a.g.Ra("DIV","goog-inline-block "+b.join(" "),this.Ui(a.Gc(),a.g));this.oc(b,a.sf());return b};f.sg=function(){return"button"};f.Ic=function(a){return a&&a.firstChild&&a.firstChild.firstChild};f.Ui=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.Ei=function(a){return"DIV"==a.tagName}; f.Sb=function(a,b){uy(b,!0);uy(b,!1);a:{var c=a.g.ro(b);var d=this.Wa()+"-outer-box";if(c&&wb(c,d)&&(c=a.g.ro(c),d=this.Wa()+"-inner-box",c&&wb(c,d))){c=!0;break a}c=!1}c||b.appendChild(this.Ui(b.childNodes,a.g));xb(b,["goog-inline-block",this.Wa()]);return ty.ta.Sb.call(this,a,b)};f.Wa=function(){return"goog-custom-button"}; function uy(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(""==Fb(e))a.removeChild(c);else{c.nodeValue=b?e.replace(/^[\s\xa0]+/,""):e.replace(/[\s\xa0]+$/,"");break}}else break;c=d}};function vy(){}u(vy,ty);Ea(vy);vy.prototype.Wa=function(){return"goog-toolbar-button"};function wy(){this.g="toolbar"}u(wy,Dq);Ea(wy);wy.prototype.Mh=function(a){return"HR"==a.tagName?new Ex(sy.Eb()):wy.ta.Mh.call(this,a)};wy.prototype.rg=function(){return"goog-toolbar"};wy.prototype.qo=function(){return"horizontal"};function xy(a){wy.call(this);this.i=a}u(xy,wy);var yy={};xy.prototype.rg=function(){return this.i||"ocean-chrome-toolbar"};function zy(a){P.call(this);this.g=[];Ay(this,a)}u(zy,P);f=zy.prototype;f.fg=null;f.jk=null;function By(a,b){a.jk=b}function Ay(a,b){b&&(b.forEach(function(c){Cy(this,c,!1)},a),kb(a.g,b))}f.Sa=function(a){this.jf(a,this.g.length)};f.jf=function(a,b){a&&(Cy(this,a,!1),lb(this.g,b,0,a))};f.Kd=function(){return jb(this.g)};f.Ue=function(a){a!=this.fg&&(Cy(this,this.fg,!1),this.fg=a,Cy(this,a,!0));this.dispatchEvent("select")};f.va=function(){zy.ta.va.call(this);delete this.g;this.fg=null}; function Cy(a,b,c){b&&("function"==typeof a.jk?a.jk(b,c):"function"==typeof b.Vl&&b.Vl(c))};function Dy(a,b,c){gr.call(this,b,a||wy.Eb(),c)}u(Dy,gr);Dy.prototype.Ji=function(a){Dy.ta.Ji.call(this,a);this.ie||lr(this)};function Ey(a,b,c){bt.call(this,a,b||vy.Eb(),c)}u(Ey,bt);Aq("goog-toolbar-button",function(){return new Ey(null)});function Fy(a,b){Ex.call(this,a||sy.Eb(),b)}u(Fy,Ex);Aq("goog-toolbar-separator",function(){return new Fy});function Gy(a){a=a||"viewport-chrome-toolbar";a=yy[a]||(yy[a]=new xy(a));Dy.call(this,a);this.Ba={};this.j=new Ij(this)}m(Gy,Dy);function Hy(a,b,c,d){b.Zb(16,!0);if(c){var e=a.Ba[c];e||(e=new zy,By(e,function(g,h){g&&g.Ff(h)}),a.Ba[c]=e);e.Sa(b);b.Of&=-17;O(b,"action",function(g){e.Ue(g.target)});d&&e.Ue(b)}else b.Zc(16,!!d)}function Iy(a,b){a.Ba.viewport&&a.Ba.viewport.Ue(b)}Gy.prototype.va=function(){Dy.prototype.va.call(this);this.j.Ha();Hc(this.Ba,function(a){a.Ha()})};function Jy(){}u(Jy,$s);Ea(Jy);f=Jy.prototype;f.Oc=function(a){var b=Lq(this,a);b=a.g.Ra("DIV","goog-inline-block "+b.join(" "),a.Gc());this.oc(b,a.sf());return b};f.sg=function(){return"button"};f.Ei=function(a){return"DIV"==a.tagName};f.Sb=function(a,b){w(b,"goog-inline-block");return Jy.ta.Sb.call(this,a,b)};f.Ab=function(){return""};f.Wa=function(){return"goog-flat-button"};Aq("goog-flat-button",function(){return new bt(null,Jy.Eb())});function Ky(){}u(Ky,ty);Ea(Ky);Ky.prototype.Ic=function(a){return Ky.ta.Ic.call(this,a&&a.firstChild)};Ky.prototype.Sb=function(a,b){var c=Ze("*","goog-menu",b)[0];if(c){M(c,!1);We(c).body.appendChild(c);var d=new Hx;bn(d,c);a.Te(d)}return Ky.ta.Sb.call(this,a,b)};Ky.prototype.Ui=function(a,b){return Ky.ta.Ui.call(this,[b.Ra("DIV","goog-inline-block "+(this.Wa()+"-caption"),a),b.Ra("DIV","goog-inline-block "+(this.Wa()+"-dropdown"),"\u00a0")],b)};Ky.prototype.Wa=function(){return"goog-menu-button"};function Ly(){this.i=[]}u(Ly,sx);Ea(Ly);Ly.prototype.Oc=function(a){var b=Ly.ta.Oc.call(this,a);w(b,"goog-submenu");My(this,a,b);return b};Ly.prototype.Sb=function(a,b){b=Ly.ta.Sb.call(this,a,b);w(b,"goog-submenu");My(this,a,b);var c=Ze("DIV","goog-menu",b);if(c.length){var d=new Hx(a.g);c=c[0];M(c,!1);a.g.g.body.appendChild(c);bn(d,c);a.Te(d,!0)}return b};Ly.prototype.tg=function(a,b){var c=this.Ic(a),d=c&&c.lastChild;Ly.ta.tg.call(this,a,b);d&&c.lastChild!=d&&wb(d,"goog-submenu-arrow")&&c.appendChild(d)}; Ly.prototype.Fi=function(a){Ly.ta.Fi.call(this,a);var b=a.Ib(),c=$e(a.g.g,"SPAN","goog-submenu-arrow",b)[0];Ny(a,c);c!=b.lastChild&&b.appendChild(c);a=a.ha();xm(a,"haspopup","true")};function My(a,b,c){var d=b.g.Ra("SPAN");d.className="goog-submenu-arrow";Ny(b,d);a.Ic(c).appendChild(d)}function Ny(a,b){fn(a)?(w(b,"goog-submenu-arrow-rtl"),G(b,"\u25c4")):(yb(b,"goog-submenu-arrow-rtl"),G(b,"\u25ba"))};function Oy(a,b,c,d){xx.call(this,a,b,c,d||Ly.Eb())}u(Oy,xx);f=Oy.prototype;f.qh=null;f.bm=null;f.Hl=!1;f.tc=null;f.Xi=!1;f.Ma=function(){Oy.ta.Ma.call(this);Y(this).ka(this.getParent(),"hide",this.rp);this.tc&&Py(this,this.tc,!0)};f.kc=function(){Y(this).Xa(this.getParent(),"hide",this.rp);this.tc&&(Py(this,this.tc,!1),this.Xi||(this.tc.kc(),F(this.tc.ha())));Oy.ta.kc.call(this)};f.va=function(){this.tc&&!this.Xi&&this.tc.Ha();this.tc=null;Oy.ta.va.call(this)}; f.Wc=function(a){Oy.ta.Wc.call(this,a);a||(this.qh&&rl(this.qh),this.qh=T(this.Ee,218,this))};f.am=function(){var a=this.getParent();a&&kr(a)==this&&(Qy(this,!0),Ry(this))};f.Ee=function(){var a=this.tc;a&&a.getParent()==this&&(Qy(this,!1),cn(a,function(b){"function"==typeof b.Ee&&b.Ee()}))};function Sy(a){a.qh&&rl(a.qh);a.bm&&rl(a.bm)}f.Da=function(a,b){(a=Oy.ta.Da.call(this,a,b))&&!this.isVisible()&&this.Ee();return a}; function Ry(a){cn(a.getParent(),function(b){b!=this&&"function"==typeof b.Ee&&(b.Ee(),Sy(b))},a)}f.Sc=function(a){var b=a.keyCode,c=fn(this)?37:39,d=fn(this)?39:37;if(!this.Hl){if(!this.isEnabled()||b!=c&&13!=b&&b!=this.Il)return!1;this.am();lr(Ty(this));Sy(this)}else if(!Ty(this).Sc(a))if(b==d)this.Ee();else return!1;a.preventDefault();return!0};f.Zu=function(){this.tc.getParent()==this&&(Sy(this),this.Sg().Wc(this),Ry(this))};f.rp=function(a){a.target==this.Sg()&&(this.Ee(),Sy(this))}; f.Ke=function(a){this.isEnabled()&&(Sy(this),this.bm=T(this.am,218,this));Oy.ta.Ke.call(this,a)};f.Qe=function(a){Sy(this);if(Qq(this,8)||Qq(this,16))return Oy.ta.Qe.call(this,a);this.am();return!0}; function Qy(a,b){!b&&Ty(a)&&Ty(a).Sd(-1);a.dispatchEvent(Zm(64,b));var c=Ty(a);b!=a.Hl&&Ab(a.ha(),"goog-submenu-open",b);if(b!=c.isVisible()&&(b&&(c.$a||c.render(),c.Sd(-1)),c.Da(b),b)){c=new zr(a.ha(),12,!1);var d=Ty(a),e=d.ha();d.isVisible()||(e.style.visibility="hidden",M(e,!0));c.Pc(e,8);d.isVisible()||(M(e,!1),e.style.visibility="visible")}a.Hl=b}function Py(a,b,c){var d=Y(a);(c?d.ka:d.Xa).call(d,b,"enter",a.Zu)}f.Sa=function(a){Ty(this).Oa(a,!0)};f.jf=function(a,b){Ty(this).Dg(a,b,!0)}; f.Kd=function(){return Ty(this).Kd()};function Ty(a){a.tc?a.Xi&&a.tc.getParent()!=a&&a.tc.ke(a):a.Te(new Hx(a.g),!0);a.tc.ha()||a.tc.Va();return a.tc}f.Te=function(a,b){var c=this.tc;a!=c&&(c&&(this.Ee(),this.$a&&Py(this,c,!1)),this.tc=a,this.Xi=!b,a&&(a.ke(this),a.Da(!1,!0),Ix(a,!1),pr(a,!1),this.$a&&Py(this,a,!0)))};f.Zd=function(a){return Ty(this).Zd(a)};Aq("goog-submenu",function(){return new Oy(null)});function Uy(a,b,c,d,e){bt.call(this,a,c||Ky.Eb(),d);this.Zb(64,!0);this.o=new Ax(null,9);b&&this.Te(b);this.Ya=new pl(500);this.Lb=e||Fx.Eb()}u(Uy,bt);f=Uy.prototype;f.Ma=function(){Uy.ta.Ma.call(this);Vy(this,!0);this.i&&Wy(this,this.i,!0);xm(this.ya,"haspopup",!!this.i)};f.kc=function(){Uy.ta.kc.call(this);Vy(this,!1);if(this.i){this.Qb(!1);this.i.kc();Wy(this,this.i,!1);var a=this.i.ha();a&&F(a)}};f.va=function(){Uy.ta.va.call(this);this.i&&(this.i.Ha(),delete this.i);delete this.nb;this.Ya.Ha()}; f.$e=function(a){Uy.ta.$e.call(this,a);Rq(this,4)&&(this.Qb(!this.qd(),a),this.i&&(a=this.qd(),this.i.ie=a))};f.he=function(a){Uy.ta.he.call(this,a);this.i&&!Rq(this,4)&&(this.i.ie=!1)};f.Qe=function(){ar(this,!1);return!0};f.tt=function(a){this.i&&this.i.isVisible()&&!this.Zd(a.target)&&this.Qb(!1)};f.Zd=function(a){return a&&Cf(this.ha(),a)||this.i&&this.i.Zd(a)||!1}; f.fe=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.Sc(a);return c&&this.i&&this.i.bc instanceof Oy||27!=a.keyCode&&!b?c:(this.Qb(!1),!0)}return 40==a.keyCode||38==a.keyCode||32==a.keyCode||13==a.keyCode?(this.Qb(!0,a),!0):!1};f.jl=function(){this.Qb(!1)};f.Gi=function(a){this.Qb(!1);Uy.ta.Gi.call(this,a)}; function Xy(a){a.i||a.Te(new Hx(a.g,a.Lb));return a.i||null}f.Te=function(a){var b=this.i;a!=b&&(b&&(this.Qb(!1),this.$a&&Wy(this,b,!1),delete this.i),this.$a&&xm(this.ya,"haspopup",!!a),a&&(this.i=a,a.ke(this),a.Da(!1),Ix(a,!1),this.$a&&Wy(this,a,!0)));return b};f.Sa=function(a){Xy(this).Oa(a,!0)};f.jf=function(a,b){Xy(this).Dg(a,b,!0)};f.Da=function(a,b){(a=Uy.ta.Da.call(this,a,b))&&!this.isVisible()&&this.Qb(!1);return a};f.Ta=function(a){Uy.ta.Ta.call(this,a);this.isEnabled()||this.Qb(!1)}; f.Qb=function(a,b){Uy.ta.Qb.call(this,a);if(this.i&&Rq(this,64)==a){if(a)this.i.$a||this.i.render(),this.Ba=rh(this.ha()),this.ab=Bh(this.ha()),Yy(this),!b||40!=b.keyCode&&38!=b.keyCode?this.i.Sd(-1):lr(this.i);else{ar(this,!1);this.i.ie=!1;var c=this.ha();c&&(xm(c,"activedescendant",""),xm(c,"owns",""));null!=this.wa&&(this.wa=void 0,(c=this.i.ha())&&J(c,"",""))}this.i.Da(a,!1,b);this.Hd||(b=Y(this),c=a?b.ka:b.Xa,c.call(b,this.g.g,"mousedown",this.tt,!0),c.call(b,this.Ya,"tick",this.fr),a?this.Ya.start(): this.Ya.stop())}this.i&&this.i.ha()&&this.i.ya.removeAttribute("aria-hidden")};function Yy(a){if(a.i.$a){var b=a.nb||a.ha(),c=a.o;a.o.g=b;b=a.i.ha();a.i.isVisible()||(b.style.visibility="hidden",M(b,!0));!a.wa&&a.o.N&&a.o.j&32&&(a.wa=L(b));c.Pc(b,c.i^1,null,a.wa);a.i.isVisible()||(M(b,!1),b.style.visibility="visible")}} f.fr=function(){var a=Bh(this.ha()),b=rh(this.ha());var c=this.ab;(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.$a&&b&&this.Ba&&b.Bb()h;h++){for(var k=nf(d,"TR"),l=0;2>l;l++)k.appendChild(nf(d,"TD"));g.appendChild(k)}w(e,this.className+"-table-layout");d=e.rows[0].cells;g=gz(this);d[0].appendChild(g);g=hz(this);d[1].appendChild(g);g=C("DIV",this.className+"-link"); h=C("A",{target:"_blank"},"Help with devices & formats");k=new Q(window.location.href);l=new Q("/support/bin/answer.py?answer=1062949");k=S(k,"hl")?R(l,"hl",S(k,"hl")).toString():"/support/bin/answer.py?answer=1062949";qe(h,k);g.appendChild(h);d[1].appendChild(g);c.appendChild(e);d=this.o;(e=d.Gd)&&!d.ag&&d.nb&&(e=C("P",this.className+"-additional",C("A",{href:e},d.Rb?"Read the book for FREE":"Read the first chapter - FREE!")),c.appendChild(e));if(d.Ka||d.La)if(g=d.Xb,h=d.ab,g||h)e=C("P",this.className+ "-additional",pf("Download ")),g&&(k=C("A",{href:g},"EPUB"),e.appendChild(k)),h&&(g&&e.appendChild(pf(", ")),g=C("A",{href:h},"PDF"),e.appendChild(g)),e.appendChild(pf(" - ")),d=d.Yb(),g=(new Q(window.location.href)).s.split("/"),g=new Q("/"+g[1]),At(g),R(g,"output","acs_help"),R(g,"id",d),d=C("A",{href:g.toString()},"read eReader instructions"),e.appendChild(d),c.appendChild(e);e=C("A",{target:"_blank"},"Learn more about books on Google Play");qe(e,"https://books.google.com/support/bin/topic.py?topic=28528"); this.j=C("DIV",this.className+"-footer",e);b=C("DIV",b,c,this.j);w(b,this.className+"-device-content");a.appendChild(b)}}; function gz(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"),n=C("A",{"class":d,href:"/help/ebooks/devices.html"},"Smartphone"), q=a.o.nj,x=a.o.oj,D=a.o.ag;d=new Ij(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.")):(q||x)&&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.")): (q||x)&&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."):q?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);n=C("LI",null,n);d.ka(n,"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."):q&&x?this.i("This eBook is good for smartphones like Android and iPhone / iPod touch."):q?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(n,"mouseout",a.Ba);b.appendChild(n);D?(w(h,g),w(k,g),w(l,g),w(n,g)):q?(w(h,c),w(k,c),w(l,c),w(n,c)):(x?(w(h,c),w(k,c)):(w(h,e),w(k,e)),w(l,e),w(n,e));return b} function hz(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");qe(c,"/support/bin/answer.py?answer=1062949");var h=C("A",{},"Scanned pages");qe(h,"/support/bin/answer.py?answer=1062949");var k=a.o.nj,l=a.o.oj,n=a.o.ag;n?(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 Ij(a);e.ka(c,"mouseover",function(){n? 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(){n?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} fz.prototype.Ba=function(){sf(this.j);var a=C("A",{target:"_blank"},"Learn more about books on Google Play");qe(a,"https://books.google.com/support/bin/topic.py?topic=28528");this.j.appendChild(a)};fz.prototype.i=function(a){sf(this.j);"string"===typeof a?this.j.appendChild(pf(a)):this.j.appendChild(a)};function iz(a,b){Z.call(this,b,void 0,3);this.o=a}m(iz,Z);iz.prototype.render=function(a){Z.prototype.render.call(this,a);w(this.ha(),"gb-get-book")};iz.prototype.Ma=function(){Z.prototype.Ma.call(this);var a=this.ha();this.i=new fz(a,this.o);this.i.render();a=B("menu_container");(a=cf("about_title",a))&&F(a)}; function jz(){var a=B("gb-buy-options-trigger");if(a&&a.parentNode&&a.parentNode.parentNode?!wb(a.parentNode.parentNode,"jfk-button"):1){a=B("gb-buy-options-trigger");var b=B("buy");if(a&&b){yb(b,"about_content");var c=C("SPAN","gb-buy-options-arrow","\u25bc");a.appendChild(c);w(b,"gb-buy-options-list");w(b,"unified-hovercard");ur(a,9,b,8);M(b,!1);O(document,"mousedown",t(kz,a,b))}}}function kz(a,b,c){a=Cf(a,c.target);c=Cf(b,c.target);var d=Dh(b);a||c||!d?a&&(M(b,!d),d||Ch(b,1)):M(b,!1)};function lz(a,b,c,d,e,g){function h(l){if(l){l.tabIndex=0;wm(l,k.wa);w(l,"goog-zippy-header");l&&k.oa.ka(l,"click",k.na);var n=k;l&&(n.O.attach(l),n.ma.ka(n.O,"key",n.ua))}}P.call(this);this.N=e||Ue();this.i=this.N.ha(a)||null;this.s=this.N.ha(d||null);this.o="function"===typeof b?b:null;this.wa=g||"tab";this.j=this.o||!b?null:this.N.ha(b);this.g=1==c;void 0!==c||this.o||(this.s?this.g=Dh(this.s):this.i&&(this.g=wb(this.i,"goog-zippy-expanded")));this.ma=new Ij(this);this.O=new vq;this.oa=new Ij(this); var k=this;h(this.i);h(this.s);this.Se(this.g)}u(lz,P);lz.prototype.va=function(){lz.ta.va.call(this);bj(this.ma);bj(this.O);bj(this.oa)};lz.prototype.Se=function(a){this.j?M(this.j,a):a&&this.o&&(this.j=this.o());this.j&&w(this.j,"goog-zippy-content");this.s?(M(this.i,!a),M(this.s,a)):this.i&&(Ab(this.i,"goog-zippy-expanded",a),Ab(this.i,"goog-zippy-collapsed",!a),xm(this.i,"expanded",a));this.g=a;this.dispatchEvent(new mz("toggle",this,this.g))}; lz.prototype.ua=function(a){if(13==a.keyCode||32==a.keyCode)this.Se(!this.g),this.dispatchEvent(new mz("action",this,this.g,a)),a.preventDefault(),a.stopPropagation()};lz.prototype.na=function(a){this.Se(!this.g);this.dispatchEvent(new mz("action",this,this.g,a))};function mz(a,b){fj.call(this,a,b)}u(mz,fj);function nz(a,b,c,d){if(b.child_node&&0"+c.i.Jb.yb.length+"",""+qq(c.i.Jb)+""))):N(c.j,Ti("Showing "+(c.i.Jb.yb.length+" results in this book for ")+(qq(c.i.Jb)+"")));Mz(c,!0);c=a.Jb;c!=b.Jb&&(b.Jb=c,mx(b));a=r(a.uf,a);b.Ba=a;b.Yc(new A(0, 0))} Hz.prototype.uf=function(a,b){mv=!0;var c=this.Vc.j;Mz(c,!1);c.N=Va(c.i.Jb.yb,a);c.s?(M(B("gb-mobile-search"),!0),M(B("gb-mobile-search-buttons"),!0),N(c.j,Ti(Nz(c,c.N+1,c.i.Jb.yb.length,null)))):gc?N(c.j,Ti(Nz(c,""+(c.N+1)+"",""+c.i.Jb.yb.length+"",""+qq(c.i.Jb)+""))):N(c.j,Ti("Result "+(c.N+1+" of ")+(c.i.Jb.yb.length+" in this book for ")+(qq(c.i.Jb)+"")));c=this.Vc.V;a=lo(c.rb(),a.Pa());if(!a)return null;var d=c.Ia();d instanceof rw||d instanceof Ww||(this.Vc.s== Ww?c.qc(Ww):c.qc(rw));if(b)return c.Bd(b),null;c.Sh(a);return a};Hz.prototype.va=function(){bj(this.j);W.prototype.va.call(this)};function Oz(a){W.call(this);this.Ja=tp(a);this.s=gc&&a&&a.enableOgenEligibleMobileViewportSitb;this.na=this.o=null;this.s?(M(B("gb-mobile-search"),!0),M(B("gb-mobile-search-buttons"),!0)):(this.ma=E("DIV"),this.ua=new jq(this.ma),this.ua.render(Pz),this.ua.Da(!0),a=this.ua.ha(),w(a,"search-results-bar"),w(this.ma,"search-results-bar-contents"));this.j=this.s?B("gb-mobile-search-results-summ"):E("SPAN");this.s||this.ma.appendChild(this.j);this.oa=this.s?B("gb-mobile-search-result-links"):E("SPAN"); this.s?(Qz(this,B("gb-mobile-search-result-prev"),r(this.kj,this,-1),"Previous"),Qz(this,B("gb-mobile-search-result-next"),r(this.kj,this,1),"Next"),G(B("gb-mobile-search-result-viewall"),"View all"),Qz(this,B("gb-mobile-search-result-viewall"),r(this.Mo,this),"View all"),G(B("gb-mobile-search-clear"),"Clear search"),Qz(this,B("gb-mobile-search-clear"),r(this.ll,this),"Clear search")):(w(this.oa,"search-bar-result-links"),this.ma.appendChild(this.oa),a=E("SPAN"),N(a,Ti("-  ")),w(a,"search-bar-link-spacer"), this.oa.appendChild(a),Rz(this,this.oa,"‹ Previous",r(this.kj,this,-1),"Previous"),a=E("SPAN"),N(a,Ti("  ")),w(a,"search-bar-link-spacer"),this.oa.appendChild(a),Rz(this,this.oa,"Next ›",r(this.kj,this,1),"Next"),a=E("SPAN"),N(a,Ti("  -  ")),w(a,"search-bar-link-spacer"),this.oa.appendChild(a),Rz(this,this.oa,"View all",r(this.Mo,this)));this.O=this.s?B("gb-mobile-search-snippet-links"):E("SPAN");this.s?Sz(this):(this.Ja?(this.wa=E("DIV"),w(this.wa,"search-bar-result-buttons"), this.ma.appendChild(this.wa),this.wa.appendChild(this.O),xb(this.O,["search-bar-sort-dropdown-button-container","search-bar-close-link"]),Sz(this)):(this.Ba=E("SPAN"),this.Ca=E("SPAN"),this.ma.appendChild(this.O),a=E("SPAN"),N(a,Ti("-  ")),w(a,"search-bar-link-spacer"),this.O.appendChild(a),this.O.appendChild(pf("Order by: ")),this.O.appendChild(this.Ba),Rz(this,this.Ba,"relevance",r(this.lj,this,"r"),"Order by relevance"),a=E("SPAN"),N(a,Ti(" | pages")),this.Ba.appendChild(a), this.O.appendChild(this.Ca),a=E("SPAN"),N(a,Ti("relevance | ")),this.Ca.appendChild(a),Rz(this,this.Ca,"pages",r(this.lj,this,"n"),"Order by pages")),w(this.O,"search-bar-snippet-links"));if(!this.s){a=E("SPAN");w(a,"search-bar-close-link-container");this.Ja?this.wa.appendChild(a):this.ma.appendChild(a);this.g.ka(a,"click",this.ll);var b=Rz(this,a,"Clear search",r(this.ll,this));w(b,"search-bar-close-link");b=E("IMG");b.src="/googlebooks/images/close_x.gif";w(b,"search-bar-close-img"); a.appendChild(b);Gh(this.ma,!0)}}var Pz,Tz,Uz;m(Oz,W);function Vz(){Pz=B("search_bar")}function Wz(){Tz=B("toolbar_container")} function Sz(a){a.o=C("A",{"class":"search-bar-sort-dropdown-link"});wm(a.o,"button");If(a.o,!0);xm(a.o,"haspopup",!0);a.O.appendChild(a.o);var b=C("SPAN",{"class":"search-bar-sort-dropdown-text"});G(b,"Order by");a.na=C("SPAN",{"class":"search-bar-sort-dropdown-selected"});G(a.na,"relevance");b.appendChild(a.na);a.o.appendChild(b);b=gt("/googlebooks/images/material/arrow_drop_down_black_20dp.png");w(b[0],"search-bar-sort-dropdown-icon");xm(b[0],"hidden",!0);a.o.appendChild(b[0]);b=new Jx;var c=new xx("relevance"); c.hi("Order by relevance");b.Oa(c,!0);w(c.ha(),"search-bar-sort-dropdown-item");c=new xx("pages");c.hi("Order by pages");b.Oa(c,!0);w(c.ha(),"search-bar-sort-dropdown-item");b.jm=!0;b.render(document.body);b.attach(a.o,13,12);a.g.ka(b,"action",a.Fo);a.g.ka(b,"keydown",function(d){32!=d.keyCode&&13!=d.keyCode||r(a.Fo,a)})}function Mz(a,b){M(Tz,!b);M(a.O,b);M(a.oa,!b&&1=d&&(a.N=0);0>a.N&&(a.N=d-1);a.N!=b&&(a.i.uf(a.i.Jb.yb[a.N])||Yz(a,b,c))}f.lj=function(a){var b=this.i.Vc;b&&b.update(a)};f.Mo=function(){Jz(this.i)}; f.eu=function(a){var b=this.i.Vc;b&&(a=Je(a),Lo(b.V.tb(),a),b.N.xc(a),b.o&&b.o.update())};f.Fo=function(a){if((a=a.target.Gc())&&this.na)switch(a){case "pages":this.lj("n");G(this.na,"pages");break;case "relevance":this.lj("r"),G(this.na,"relevance")}};function Kz(a,b){a.o&&(Ab(a.o,"search-bar-sort-dropdown-disabled",!b),xm(a.o,"disabled",!b));var c="n"==a.i.fm;b&&!c&&G(a.na,"relevance")}function Lz(a,b,c){return a.s?b+" results":b+" results for "+c} function Nz(a,b,c,d){return a.s?b+" of "+c:"Result "+b+" of "+c+" for "+d};function Zz(a,b,c,d){W.call(this);this.V=a;this.N=b;this.o=c;this.O=d;this.g.ka(a.tb(),"change",r(this.update,this,"r",null))}m(Zz,W); Zz.prototype.update=function(a,b,c){this.i?(this.i.Ha(),this.i=null):(this.V.O&&(this.s=this.V.O),this.j=new Oz(this.O));var d=this.V.tb().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.s&&G(a.s,String(1==a.o?b:a.i-b))}jA.prototype.va=function(){jA.ta.va.call(this);delete this.g;this.j.Ha();this.j=null};function lA(a,b,c,d,e){fA.call(this,a,b,null,!0);this.ab=c;this.Rb=d;this.Ca=e}m(lA,fA); lA.prototype.Va=function(){fA.prototype.Va.call(this);this.o=mA(this,"Name","input");this.nb=mA(this,"Description (optional)","textarea");var a=this.Ib(),b=C("DIV",{"class":"ccd-label"}),c=E("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=E("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=E("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.xe=[a,e];this.we=[c,d];null!= this.Ca&&(ef(this.Ca,{"class":"ccd-mode-link"}),b.appendChild(this.Ca));this.Ka(!0);this.na=C("DIV",{"class":"ccd-error"});this.Ib().appendChild(this.na);this.Vb=C("P","ccd-footnote","Please note that the contents and title of Public bookshelves can be viewed and shared by others.");this.Ib().appendChild(this.Vb);this.i&&nA(this);ap.IsZipitFolderCollectionEnabled||(b=this.j,a=Gn(b,"ok"),I(a,"fontWeight","bold"),w(a,"gb-button"),w(Gn(b,"cancel"),"gb-button"))}; function nA(a){a.o.value=Je(a.i.hb());a.o.disabled=a.i.O;a.nb.value=Je(a.i.Og());a.Ka(1==a.i.ye);a.o.disabled&&I(a.o,"background","#f2f2f2")}function mA(a,b,c){var d=a.Ib();a=C("DIV",{"class":"gb-bookshelf-dialog-container"});d.appendChild(a);d=C("DIV",{"class":"ccd-label"});N(d,oi(b));a.appendChild(d);b=C(c,{"class":"ccd-input"});"input"==c?(ef(b,{type:"text"}),b.setAttribute("maxlength",100)):"textarea"==c&&(ef(b,{rows:6,cols:50}),new jA(b,E("span"),500));a.appendChild(b);return b} lA.prototype.Ka=function(a){this.ve=a;v(this.xe,function(b){M(b,a)});v(this.we,function(b){M(b,!a)})}; lA.prototype.Ua=function(a){var b=this.o.value;if("cancel"==a.key)return!0;if(Db(b))return this.na.textContent="Please enter a title for this bookshelf.",!1;if(this.Rb&&!this.Rb(b))return this.na.textContent="Another bookshelf already has that title. Please enter a different title.",!1;a=this.i||new It;a.Ec=b;a.s=this.nb.value;a.ye=this.ve?1:2;if(this.i){b=this.ab;var c=new Q(b.eq);R(c,"as_coll",a.getId());Tt(c,a,r(b.N,b))}else b=this.ab,Tt(b.s,a,r(b.o,b,!0));return!0}; lA.prototype.va=function(){delete this.ab;delete this.Ca;delete this.i;delete this.na;delete this.Vb;delete this.o;delete this.nb;delete this.Rb;fA.prototype.va.call(this)};function oA(a,b,c,d,e){W.call(this);this.O=a;this.j=b;this.N=c;this.i=d;this.O&&(this.s=Ya(this.O.childNodes,pA),this.i&&kb(this.s,Ya(this.i.childNodes,pA)));this.o=e;T(r(this.nr,this))}u(oA,W);f=oA.prototype;f.nr=function(){this.j&&this.i&&this.g.ka(this.j,"click",this.cq);this.N&&this.g.ka(this.N,"click",this.rt);this.g.ka(this.o,"add",this.As)}; function pA(a){var b=Ze("SPAN","sidebar-collection-title",a)[0];b||(b=Ze("SPAN","hp-collection-title",a)[0]);if(!b)return"";a=Fb(Fe(Jf(b)));return Fb(a.split("(")[0])}f.rt=function(){var a=new lA("Create new bookshelf","Create bookshelf",this.o,r(this.Gu,this));a.render();a.Da(!0)};f.Gu=function(a){var b=Fb(Fe(a)).toLowerCase();return!ab(this.s,function(c){return c.toLowerCase()==b})}; f.As=function(a){a=a.shelf;var b=Fb(Fe(a.hb())),c=1==a.ye;this.s.push(b);var d=new Q("/books");At(d);R(d,"as_coll",a.getId());R(d,"source","gbs_lp_bookshelf_list");if(ap.IsBooksUnifiedLeftNavEnabled){a=C("LI",{"class":"left-nav-shelf-item"});var e=C("A",{"class":"sidebar-link"});qe(e,d.toString());d=C("SPAN");w(d,"sidebar-collection-title");N(d,Il(b+" (0)"));e.appendChild(d);a.appendChild(e);c=B("hidden-my-library-expanded");tf(a,c);eA(!0,"my-library")}else a=E("DIV"),e=C("A",{"class":"hp-bookshelf-link", style:"line-height:19px"}),qe(e,d.toString()),d=C("SPAN",{"class":"hp-collection-title"}),N(d,Il(b)),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),uf(a,B("csStart"))}; f.cq=function(a){a.preventDefault();a=!Dh(this.i);M(this.i,a);a?(ur(this.j,9,this.i,8),200