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

My library

PublishersAboutPrivacyTermsHelp

");return(new DOMParser).parseFromString(Td(a),"text/html").body.children[0]} function Ng(a,b){if(!a)return Dd;var c=document.createElement("div").style;Qg(a).forEach(function(d){var e=dc&&d in Kg?d:d.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");Bb(e,"--")||Bb(e,"var")||(d=Gg(a,d),d=fg(e,d,b),null!=d&&Hg(c,e,d))});return new zd(c.cssText||"",yd)} function Rg(a){var b=Array.from(yg(ng,a,"getElementsByTagName",["STYLE"])),c=sb(b,function(h){return jb(Cg(h).cssRules)});c=Mg(c);for(var d=[],e=0;e=a.left&&b.right=a.top&&b.bottom=a.left&&b.x=a.top&&b.ya.right?b.x-a.right:0;a=b.ya.bottom?b.y-a.bottom:0;return Math.sqrt(c*c+a*a)} f.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};f.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};f.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};function Xg(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}f=Xg.prototype;f.clone=function(){return new Xg(this.left,this.top,this.width,this.height)};function Yg(a){return new Tg(a.top,a.left+a.width,a.top+a.height,a.left)}function Zg(a){return new Xg(a.left,a.top,a.right-a.left,a.bottom-a.top)} function $g(a,b){var c=Math.max(a.left,b.left),d=Math.min(a.left+a.width,b.left+b.width);if(ca.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return null} function ph(a){for(var b=new Tg(0,Infinity,Infinity,0),c=Se(a),d=c.g.body,e=c.g.documentElement,g=hf(c.g);a=oh(a);)if(!(z&&0==a.clientWidth||dc&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=ih(a,"overflow")){var h=qh(a),k=new A(a.clientLeft,a.clientTop);h.x+=k.x;h.y+=k.y;b.top=Math.max(b.top,h.y);b.right=Math.min(b.right,h.x+a.clientWidth);b.bottom=Math.min(b.bottom,h.y+a.clientHeight);b.left=Math.max(b.left,h.x)}d=g.scrollLeft;g=g.scrollTop;b.left=Math.max(b.left,d);b.top=Math.max(b.top,g);c= ef(Of(c));b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,g+c.height);return 0b.top&&b.right>b.left?b:null} function rh(a,b){b=b||hf(document);var c=b||hf(document);var d=qh(a),e=qh(c),g=sh(c);if(c==hf(document)){var h=d.x-c.scrollLeft;d=d.y-c.scrollTop;z&&!vc(10)&&(h+=g.left,d+=g.top)}else h=d.x-e.x-g.left,d=d.y-e.y-g.top;a=th(a);g=c.clientHeight-a.height;e=c.scrollLeft;var k=c.scrollTop;e+=Math.min(h,Math.max(h-(c.clientWidth-a.width),0));k+=Math.min(d,Math.max(d-g,0));c=new A(e,k);b.scrollLeft=c.x;b.scrollTop=c.y} function qh(a){var b=Ue(a),c=new A(0,0),d=mh(b);if(a==d)return c;a=nh(a);b=gf(Se(b).g);c.x=a.left+b.x;c.y=a.top+b.y;return c}function uh(a,b){a=vh(a);b=vh(b);return new A(a.x-b.x,a.y-b.y)}function wh(a){a=nh(a);return new A(a.left,a.top)}function vh(a){if(1==a.nodeType)return wh(a);a=a.changedTouches?a.changedTouches[0]:a;return new A(a.clientX,a.clientY)}function xh(a,b,c){var d=qh(a);b instanceof A&&(c=b.y,b=b.x);jh(a,a.offsetLeft+(b-d.x),a.offsetTop+(Number(c)-d.y))} function J(a,b,c){if(b instanceof ze)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");yh(a,b);a.style.height=kh(c,!0)}function kh(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}function yh(a,b){a.style.width=kh(b,!0)}function L(a){var b=th;if("none"!=ih(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,g=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=g;c.visibility=e;return a} function th(a){var b=a.offsetWidth,c=a.offsetHeight,d=dc&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=nh(a),new ze(a.right-a.left,a.bottom-a.top)):new ze(b,c)}function zh(a){var b=qh(a);a=L(a);return new Xg(b.x,b.y,a.width,a.height)}function Ah(a,b){a=a.style;"opacity"in a?a.opacity=b:"MozOpacity"in a?a.MozOpacity=b:"filter"in a&&(a.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")}function M(a,b){a.style.display=b?"":"none"}function Bh(a){return"none"!=a.style.display} function Ch(a){return"rtl"==ih(a,"direction")}var Dh=cc?"MozUserSelect":dc||ac?"WebkitUserSelect":null;function Eh(a,b,c){c=c?null:a.getElementsByTagName("*");if(Dh){if(b=b?"none":"",a.style&&(a.style[Dh]=b),c){a=0;for(var d;d=c[a];a++)d.style&&(d.style[Dh]=b)}}else if(z&&(b=b?"on":"",a.setAttribute("unselectable",b),c))for(a=0;d=c[a];a++)d.setAttribute("unselectable",b)} function Fh(a,b){var c=ff(Se(Ue(a)).g);if(!z||uc("10")||c)Gh(a,b,"border-box");else{var d=a.style;c?(c=Hh(a),a=sh(a),d.pixelWidth=b.width-a.left-c.left-c.right-a.right,d.pixelHeight=b.height-a.top-c.top-c.bottom-a.bottom):(d.pixelWidth=b.width,d.pixelHeight=b.height)}} function Ih(a){var b=Ue(a),c=z&&a.currentStyle;if(c&&ff(Se(b).g)&&"auto"!=c.width&&"auto"!=c.height&&!c.boxSizing)return b=Jh(a,c.width,"width","pixelWidth"),a=Jh(a,c.height,"height","pixelHeight"),new ze(b,a);c=new ze(a.offsetWidth,a.offsetHeight);b=Hh(a);a=sh(a);return new ze(c.width-a.left-b.left-b.right-a.right,c.height-a.top-b.top-b.bottom-a.bottom)} function Kh(a,b){var c=ff(Se(Ue(a)).g);if(!z||uc("10")||c)Gh(a,b,"content-box");else{var d=a.style;c?(d.pixelWidth=b.width,d.pixelHeight=b.height):(c=Hh(a),a=sh(a),d.pixelWidth=b.width+a.left+c.left+c.right+a.right,d.pixelHeight=b.height+a.top+c.top+c.bottom+a.bottom)}}function Gh(a,b,c){a=a.style;cc?a.MozBoxSizing=c:dc?a.WebkitBoxSizing=c:a.boxSizing=c;a.width=Math.max(b.width,0)+"px";a.height=Math.max(b.height,0)+"px"} function Jh(a,b,c,d){if(/^\d+px?$/.test(b))return parseInt(b,10);var e=a.style[c],g=a.runtimeStyle[c];a.runtimeStyle[c]=a.currentStyle[c];a.style[c]=b;b=a.style[d];a.style[c]=e;a.runtimeStyle[c]=g;return+b}function Lh(a,b){return(b=hh(a,b))?Jh(a,b,"left","pixelLeft"):0} function Hh(a){if(z){var b=Lh(a,"paddingLeft"),c=Lh(a,"paddingRight"),d=Lh(a,"paddingTop");a=Lh(a,"paddingBottom");return new Tg(d,c,a,b)}b=gh(a,"paddingLeft");c=gh(a,"paddingRight");d=gh(a,"paddingTop");a=gh(a,"paddingBottom");return new Tg(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))}var Mh={thin:2,medium:4,thick:6};function Nh(a,b){if("none"==hh(a,b+"Style"))return 0;b=hh(a,b+"Width");return b in Mh?Mh[b]:Jh(a,b,"left","pixelLeft")} function sh(a){if(z&&!vc(9)){var b=Nh(a,"borderLeft"),c=Nh(a,"borderRight"),d=Nh(a,"borderTop");a=Nh(a,"borderBottom");return new Tg(d,c,a,b)}b=gh(a,"borderLeftWidth");c=gh(a,"borderRightWidth");d=gh(a,"borderTopWidth");a=gh(a,"borderBottomWidth");return new Tg(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))};var Oh={"* ARIA-CHECKED":!0,"* ARIA-COLCOUNT":!0,"* ARIA-COLINDEX":!0,"* ARIA-CONTROLS":!0,"* ARIA-DESCRIBEDBY":!0,"* ARIA-DISABLED":!0,"* ARIA-EXPANDED":!0,"* ARIA-GOOG-EDITABLE":!0,"* ARIA-HASPOPUP":!0,"* ARIA-HIDDEN":!0,"* ARIA-LABEL":!0,"* ARIA-LABELLEDBY":!0,"* ARIA-MULTILINE":!0,"* ARIA-MULTISELECTABLE":!0,"* ARIA-ORIENTATION":!0,"* ARIA-PLACEHOLDER":!0,"* ARIA-READONLY":!0,"* ARIA-REQUIRED":!0,"* ARIA-ROLEDESCRIPTION":!0,"* ARIA-ROWCOUNT":!0,"* ARIA-ROWINDEX":!0,"* ARIA-SELECTED":!0,"* ABBR":!0, "* ACCEPT":!0,"* ACCESSKEY":!0,"* ALIGN":!0,"* ALT":!0,"* AUTOCOMPLETE":!0,"* AXIS":!0,"* BGCOLOR":!0,"* BORDER":!0,"* CELLPADDING":!0,"* CELLSPACING":!0,"* CHAROFF":!0,"* CHAR":!0,"* CHECKED":!0,"* CLEAR":!0,"* COLOR":!0,"* COLSPAN":!0,"* COLS":!0,"* COMPACT":!0,"* COORDS":!0,"* DATETIME":!0,"* DIR":!0,"* DISABLED":!0,"* ENCTYPE":!0,"* FACE":!0,"* FRAME":!0,"* HEIGHT":!0,"* HREFLANG":!0,"* HSPACE":!0,"* ISMAP":!0,"* LABEL":!0,"* LANG":!0,"* MAX":!0,"* MAXLENGTH":!0,"* METHOD":!0,"* MULTIPLE":!0, "* NOHREF":!0,"* NOSHADE":!0,"* NOWRAP":!0,"* OPEN":!0,"* READONLY":!0,"* REQUIRED":!0,"* REL":!0,"* REV":!0,"* ROLE":!0,"* ROWSPAN":!0,"* ROWS":!0,"* RULES":!0,"* SCOPE":!0,"* SELECTED":!0,"* SHAPE":!0,"* SIZE":!0,"* SPAN":!0,"* START":!0,"* SUMMARY":!0,"* TABINDEX":!0,"* TITLE":!0,"* TYPE":!0,"* VALIGN":!0,"* VALUE":!0,"* VSPACE":!0,"* WIDTH":!0},Ph={"* USEMAP":!0,"* ACTION":!0,"* CITE":!0,"* HREF":!0,"* LONGDESC":!0,"* SRC":!0,"LINK HREF":!0,"* FOR":!0,"* HEADERS":!0,"* NAME":!0,"A TARGET":!0, "* CLASS":!0,"* ID":!0,"* STYLE":!0};var Qh="undefined"!=typeof WeakMap&&-1!=WeakMap.toString().indexOf("[native code]"),Rh=0;function Sh(){this.j=[];this.i=[];this.g="data-elementweakmap-index-"+Rh++}Sh.prototype.set=function(a,b){if(yg(jg,a,"hasAttribute",[this.g])){var c=parseInt(yg(kg,a,"getAttribute",[this.g])||null,10);this.i[c]=b}else c=this.i.push(b)-1,Ag(a,this.g,c.toString()),this.j.push(a);return this}; Sh.prototype.get=function(a){if(yg(jg,a,"hasAttribute",[this.g]))return a=parseInt(yg(kg,a,"getAttribute",[this.g])||null,10),this.i[a]};Sh.prototype.clear=function(){this.j.forEach(function(a){yg(mg,a,"removeAttribute",[this.g])},this);this.j=[];this.i=[]};var Th=!z||vc(10),Uh=!z||null==document.documentMode;function Vh(){};var Wh={APPLET:!0,AUDIO:!0,BASE:!0,BGSOUND:!0,EMBED:!0,FORM:!0,IFRAME:!0,ISINDEX:!0,KEYGEN:!0,LAYER:!0,LINK:!0,META:!0,OBJECT:!0,SCRIPT:!0,SVG:!0,STYLE:!0,TEMPLATE:!0,VIDEO:!0};var Xh={A:!0,ABBR:!0,ACRONYM:!0,ADDRESS:!0,AREA:!0,ARTICLE:!0,ASIDE:!0,B:!0,BDI:!0,BDO:!0,BIG:!0,BLOCKQUOTE:!0,BR:!0,BUTTON:!0,CAPTION:!0,CENTER:!0,CITE:!0,CODE:!0,COL:!0,COLGROUP:!0,DATA:!0,DATALIST:!0,DD:!0,DEL:!0,DETAILS:!0,DFN:!0,DIALOG:!0,DIR:!0,DIV:!0,DL:!0,DT:!0,EM:!0,FIELDSET:!0,FIGCAPTION:!0,FIGURE:!0,FONT:!0,FOOTER:!0,FORM:!0,H1:!0,H2:!0,H3:!0,H4:!0,H5:!0,H6:!0,HEADER:!0,HGROUP:!0,HR:!0,I:!0,IMG:!0,INPUT:!0,INS:!0,KBD:!0,LABEL:!0,LEGEND:!0,LI:!0,MAIN:!0,MAP:!0,MARK:!0,MENU:!0,METER:!0,NAV:!0, NOSCRIPT:!0,OL:!0,OPTGROUP:!0,OPTION:!0,OUTPUT:!0,P:!0,PRE:!0,PROGRESS:!0,Q:!0,S:!0,SAMP:!0,SECTION:!0,SELECT:!0,SMALL:!0,SOURCE:!0,SPAN:!0,STRIKE:!0,STRONG:!0,STYLE:!0,SUB:!0,SUMMARY:!0,SUP:!0,TABLE:!0,TBODY:!0,TD:!0,TEXTAREA:!0,TFOOT:!0,TH:!0,THEAD:!0,TIME:!0,TR:!0,TT:!0,U:!0,UL:!0,VAR:!0,WBR:!0};var Yh={"ANNOTATION-XML":!0,"COLOR-PROFILE":!0,"FONT-FACE":!0,"FONT-FACE-SRC":!0,"FONT-FACE-URI":!0,"FONT-FACE-FORMAT":!0,"FONT-FACE-NAME":!0,"MISSING-GLYPH":!0}; function Zh(a){a=a||new $h;ai(a);this.g=Nc(a.g);this.N=Nc(a.ua);this.j=Nc(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()]=bi},this);a.Ba.forEach(function(b){b=b.toUpperCase();if(!Pb(b,"-")||Yh[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(Zh,Vh);function ci(a){return function(b,c){return(b=a(Fb(b),c))&&"about:invalid#zClosurez"!=pd(b)?pd(b):null}}function $h(){this.g={};v([Oh,Ph],function(a){Hc(a).forEach(function(b){this.g[b]=bi},this)},this);this.i={};this.Ca=[];this.Ba=[];this.ua=Nc(Wh);this.wa=Nc(Xh);this.na=!1;this.ma=vd;this.O=this.s=this.o=this.j=Bc;this.Qa=null;this.N=this.oa=!1} function di(a,b){return function(c,d,e,g){c=a(c,d,e,g);return null==c?null:b(c,d,e,g)}}function ei(a,b,c,d){a[c]&&!b[c]&&(a[c]=di(a[c],d))} function ai(a){if(a.N)throw Error("HtmlSanitizer.Builder.build() can only be used once.");ei(a.g,a.i,"* USEMAP",fi);var b=ci(a.ma);["* ACTION","* CITE","* HREF"].forEach(function(d){ei(this.g,this.i,d,b)},a);var c=ci(a.j);["* LONGDESC","* SRC","LINK HREF"].forEach(function(d){ei(this.g,this.i,d,c)},a);["* FOR","* HEADERS","* NAME"].forEach(function(d){ei(this.g,this.i,d,t(gi,this.o))},a);ei(a.g,a.i,"A TARGET",t(hi,["_blank","_self"]));ei(a.g,a.i,"* CLASS",t(ii,a.s));ei(a.g,a.i,"* ID",t(ji,a.s));ei(a.g, a.i,"* STYLE",t(a.O,c));a.N=!0}function ki(a,b){a||(a="*");return(a+" "+b).toUpperCase()}function bi(a){return Fb(a)}function hi(a,b){b=Fb(b);return db(a,b.toLowerCase())?b:null}function fi(a){return(a=Fb(a))&&"#"==a.charAt(0)?a:null}function gi(a,b,c){return a(Fb(b),c)}function ii(a,b,c){b=b.split(/(?:\s+)/);for(var d=[],e=0;e"+b+""),Rg(b),b=b.innerHTML);b=le(b);var c=document.createElement("template");if(Uh&&"content"in c)ne(c,b),c=c.content;else{var d=document.implementation.createHTMLDocument("x");c=d.body;ne(d.body,b)}b=document.createTreeWalker(c,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,null,!1);for(c=Qh? new WeakMap:new Sh;d=b.nextNode();){c:{var e=d;switch(Eg(e)){case 3:e=li(this,e);break c;case 1:if("TEMPLATE"==Dg(e).toUpperCase())e=null;else{var g=Dg(e).toUpperCase();if(g in this.N||"http://www.w3.org/1999/xhtml"!=Ig(e))var h=null;else this.j[g]?h=document.createElement(g):(h=E("SPAN"),this.oa&&Ag(h,"data-sanitizer-original-tag",g.toLowerCase()));if(h){var k=h,l=zg(e);if(null!=l)for(var n=0;g=l[n];n++)if(g.specified){var q=e;var w=g;var D=w.name;if(Bb(D,"data-sanitizer-"))w=null;else{var H=Dg(q); w=w.value;var K={tagName:Fb(H).toLowerCase(),attributeName:Fb(D).toLowerCase()},V={Qk:void 0};"style"==K.attributeName&&(V.Qk=Bg(q));q=ki(H,D);q in this.g?(D=this.g[q],w=D(w,K,V)):(D=ki(null,D),D in this.g?(D=this.g[D],w=D(w,K,V)):w=null)}null!==w&&Ag(k,g.name,w)}e=h}else e=null}break c;default:e=null}}if(e){if(1==Eg(e)&&c.set(d,e),d=Fg(d),g=!1,d)h=Eg(d),k=Dg(d).toLowerCase(),l=Fg(d),11!=h||l?"body"==k&&l&&(h=Fg(l))&&!Fg(h)&&(g=!0):g=!0,h=null,g||!d?h=a:1==Eg(d)&&(h=c.get(d)),h.content&&(h=h.content), h.appendChild(e)}else qf(d)}c.clear&&c.clear()}else a=E("SPAN");0")+1,a.lastIndexOf(""))}else a="";return le(a)};function li(a,b){var c=b.data;(b=Fg(b))&&"style"==Dg(b).toLowerCase()&&!("STYLE"in a.N)&&"STYLE"in a.j&&(c=Od(Og(c,a.s,r(function(d,e){return this.ma(d,{Os:e})},a))));return document.createTextNode(c)};function mi(a){return(new Zh(new $h)).i(a)};/* SPDX-License-Identifier: Apache-2.0 */ var ni={};function oi(a){return{valueOf:a}.valueOf()};function pi(){var a="undefined"!==typeof window?window.trustedTypes:void 0;return null!==a&&void 0!==a?a:null}var qi;function ri(){var a,b;if(void 0===qi)try{qi=null!==(b=null===(a=pi())||void 0===a?void 0:a.createPolicy("google#safe",{createHTML:function(c){return c},createScript:function(c){return c},createScriptURL:function(c){return c}}))&&void 0!==b?b:null}catch(c){qi=null}return qi};function si(){}function ti(a){this.g=a}m(ti,si);ti.prototype.toString=function(){return this.g.toString()};function ui(a){var b,c=null===(b=ri())||void 0===b?void 0:b.createHTML(a);return new ti(null!==c&&void 0!==c?c:a,ni)}function vi(a){if(a instanceof ti)return a.g;throw Error("");};function wi(a,b){a="undefined"===typeof window?null:window[a];if(null===a||void 0===a||!a.prototype.hasOwnProperty(b))return null;var c=Object.getOwnPropertyDescriptor(a.prototype,b);return function(d){return c.get.apply(d)}} var xi=oi(function(){var a;return null!==(a=wi("Element","attributes"))&&void 0!==a?a:wi("Node","attributes")}),yi=oi(function(){return wi("Node","nodeName")}),zi=oi(function(){return wi("Node","nodeType")}),Ai=oi(function(){return wi("Node","childNodes")}),Bi=oi(function(){return wi("Node","firstChild")}),Ci=oi(function(){return wi("Attr","name")}),Di=oi(function(){return wi("Attr","value")});var Ei=new function(){var a=new Map([["A",new Map([["href",{Lc:2}]])],["AREA",new Map([["href",{Lc:2}]])],["LINK",new Map([["href",{Lc:2,conditions:new Map([["rel",new Set("alternate author bookmark canonical cite help icon license next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" "))]])}]])],["SOURCE",new Map([["src",{Lc:2}]])],["IMG",new Map([["src",{Lc:2}]])],["VIDEO",new Map([["src",{Lc:2}]])],["AUDIO",new Map([["src",{Lc:2}]])]]),b=new Set("title aria-atomic aria-autocomplete aria-busy aria-checked aria-current aria-disabled aria-dropeffect aria-expanded aria-haspopup aria-hidden aria-invalid aria-label aria-level aria-live aria-multiline aria-multiselectable aria-orientation aria-posinset aria-pressed aria-readonly aria-relevant aria-required aria-selected aria-setsize aria-sort aria-valuemax aria-valuemin aria-valuenow aria-valuetext alt align autocapitalize autocomplete autocorrect autofocus autoplay bgcolor border cellpadding cellspacing checked color cols colspan controls datetime disabled download draggable enctype face formenctype frameborder height hreflang hidden ismap label lang loop max maxlength media minlength min multiple muted nonce open placeholder preload rel required reversed role rows rowspan selected shape size sizes slot span spellcheck start step summary translate type valign value width wrap itemscope itemtype itemid itemprop itemref".split(" ")), c=new Map([["dir",{Lc:3,conditions:new Map([["dir",new Set(["auto","ltr","rtl"])]])}],["async",{Lc:3,conditions:new Map([["async",new Set(["async"])]])}],["cite",{Lc:2}],["loading",{Lc:3,conditions:new Map([["loading",new Set(["eager","lazy"])]])}],["poster",{Lc:2}],["target",{Lc:3,conditions:new Map([["target",new Set(["_self","_blank"])]])}]]);this.i=new Set("ARTICLE SECTION NAV ASIDE H1 H2 H3 H4 H5 H6 HEADER FOOTER ADDRESS P HR PRE BLOCKQUOTE OL UL LH LI DL DT DD FIGURE FIGCAPTION MAIN DIV EM STRONG SMALL S CITE Q DFN ABBR RUBY RB RT RTC RP DATA TIME CODE VAR SAMP KBD SUB SUP I B U MARK BDI BDO SPAN BR WBR INS DEL PICTURE PARAM TRACK MAP TABLE CAPTION COLGROUP COL TBODY THEAD TFOOT TR TD TH SELECT DATALIST OPTGROUP OPTION OUTPUT PROGRESS METER FIELDSET LEGEND DETAILS SUMMARY MENU DIALOG SLOT CANVAS FONT CENTER".split(" ")); this.g=a;this.j=b;this.s=c};function Fi(){}function Gi(a){this.g=a}m(Gi,Fi);Gi.prototype.toString=function(){return this.g};var Hi=oi(function(){return new Gi("about:invalid#zTSz",ni)});function Ii(a){if(a instanceof Gi)return a.g;throw Error("");};function Ji(a){this.yl=a}function Ki(a){return new Ji(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})}var Li=[Ki("data"),Ki("http"),Ki("https"),Ki("mailto"),Ki("ftp"),new Ji(function(a){return/^[^:]*([/?#]|$)/.test(a)})];function Mi(a){var b=void 0===b?Li:b;a:{b=void 0===b?Li:b;for(var c=0;c"+b);b=(new DOMParser).parseFromString(vi(b),"text/html");for(var c=b.createElement("div");Ai(b.body).length;)c.appendChild(Bi(b.body));b=b.createTreeWalker(c,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,function(h){return Ti(a,h)},!1);c=b.nextNode();for(var d=document.createElement("div"),e=d;null!==c;){var g=void 0;if(zi(c)===Node.TEXT_NODE)g=document.createTextNode(c.data);else if(zi(c)===Node.ELEMENT_NODE)g=Ui(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(""));return ui(b)} function Ui(a,b){var c=yi(b),d=document.createElement(c);if(b=xi(b))for(var e=ka(b),g=e.next();!g.done;g=e.next()){var h=g.value;g=Ci(h);h=Di(h);var k=a.j,l=k.g.get(c);k=(null===l||void 0===l?0:l.has(g))?l.get(g):k.j.has(g)?{Lc:1}:k.s.get(g)||{Lc:0};a:{l=void 0;var n=k.conditions;if(n){n=ka(n);for(var q=n.next();!q.done;q=n.next()){var w=ka(q.value);q=w.next().value;w=w.next().value;if((q=null===(l=b.getNamedItem(q))||void 0===l?void 0:l.value)&&!w.has(q)){l=!1;break a}}}l=!0}if(l)switch(k.Lc){case 1:d.setAttribute(g, h);break;case 2:k=Ii(Mi(h));k!==h&&Vi(a);d.setAttribute(g,k);break;case 3:d.setAttribute(g,h.toLowerCase());break;case 0:Vi(a);break;default:throw Error("Unhandled AttributePolicyAction case");}else Vi(a)}return d} function Ti(a,b){if(zi(b)===Node.TEXT_NODE)return NodeFilter.FILTER_ACCEPT;if(zi(b)!==Node.ELEMENT_NODE)return Vi(a),NodeFilter.FILTER_REJECT;b=yi(b);if(null===b)return Vi(a),NodeFilter.FILTER_REJECT;var c=a.j;if(c.i.has(b)||c.g.has(b))return NodeFilter.FILTER_ACCEPT;Vi(a);return NodeFilter.FILTER_REJECT}function Vi(a){0===a.g.length&&a.g.push("")}var Si=oi(function(){return new Pi});function Wi(a){return a instanceof si?vi(a):Td(a)}function Xi(a){return a instanceof Fi?Ii(a):pd(a)};function N(a,b){if(null!==a&&void 0!==a.tagName){if("script"===a.tagName.toLowerCase())throw Error("Use setTextContent with a SafeScript.");if("style"===a.tagName.toLowerCase())throw Error("Use setTextContent with a SafeStyleSheet.");}a.innerHTML=Wi(b)};function Yi(a){var b,c=(a.ownerDocument&&a.ownerDocument.defaultView||window).document,d=null===(b=c.querySelector)||void 0===b?void 0:b.call(c,"script[nonce]");(b=d?d.nonce||d.getAttribute("nonce")||"":"")&&a.setAttribute("nonce",b)};function Zi(a){a.write.apply(a,ma(ua.apply(1,arguments).map(Wi)))};function $i(a){a&&"function"==typeof a.Ha&&a.Ha()};function aj(){this.Hd=this.Hd;this.Qa=this.Qa}aj.prototype.Hd=!1;aj.prototype.Ha=function(){this.Hd||(this.Hd=!0,this.va())};function bj(a,b){b=t($i,b);a.Hd?b():(a.Qa||(a.Qa=[]),a.Qa.push(b))}aj.prototype.va=function(){if(this.Qa)for(;this.Qa.length;)this.Qa.shift()()};function cj(a){this.id=a}cj.prototype.toString=function(){return this.id};function dj(a,b){this.type=a instanceof cj?String(a):a;this.currentTarget=this.target=b;this.defaultPrevented=this.g=!1}dj.prototype.stopPropagation=function(){this.g=!0};dj.prototype.preventDefault=function(){this.defaultPrevented=!0};function ej(a){a.preventDefault()};var fj=function(){if(!p.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{p.addEventListener("test",Da,b),p.removeEventListener("test",Da,b)}catch(c){}return a}();var gj={Ag:"mousedown",Bg:"mouseup",zh:"mousecancel",ww:"mousemove",yw:"mouseover",xw:"mouseout",tw:"mouseenter",uw:"mouseleave"};function hj(a,b){dj.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.Pl=!1;this.pointerId=0;this.pointerType="";this.Ob=null;a&&this.ul(a,b)}u(hj,dj);var ij={2:"touch",3:"pen",4:"mouse"}; hj.prototype.ul=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;(b=a.relatedTarget)?cc&&(Yb(b,"nodeName")||(b=null)):"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=dc||void 0!==a.offsetX? a.offsetX:a.layerX,this.offsetY=dc||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.Pl=fc?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||0;this.pointerType= "string"===typeof a.pointerType?a.pointerType:ij[a.pointerType]||"";this.state=a.state;this.Ob=a;a.defaultPrevented&&hj.ta.preventDefault.call(this)};function jj(a){return 0==a.Ob.button&&!(fc&&a.ctrlKey)}hj.prototype.stopPropagation=function(){hj.ta.stopPropagation.call(this);this.Ob.stopPropagation?this.Ob.stopPropagation():this.Ob.cancelBubble=!0};hj.prototype.preventDefault=function(){hj.ta.preventDefault.call(this);var a=this.Ob;a.preventDefault?a.preventDefault():a.returnValue=!1};var kj="closure_listenable_"+(1E6*Math.random()|0);function lj(a){return!(!a||!a[kj])};var mj=0;function nj(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.mj=e;this.key=++mj;this.Yg=this.Ti=!1}function oj(a){a.Yg=!0;a.listener=null;a.proxy=null;a.src=null;a.mj=null};function pj(a){this.src=a;this.g={};this.i=0}f=pj.prototype;f.add=function(a,b,c,d,e){var g=a.toString();a=this.g[g];a||(a=this.g[g]=[],this.i++);var h=qj(a,b,d,e);-1>>0);function wj(a){if("function"===typeof a)return a;a[Fj]||(a[Fj]=function(b){return a.handleEvent(b)});return a[Fj]};function Gj(a){aj.call(this);this.N=a;this.j={}}u(Gj,aj);var Hj=[];f=Gj.prototype;f.ka=function(a,b,c,d){return Ij(this,a,b,c,d)};function Jj(a,b,c,d,e){Ij(a,b,c,d,!1,e)}function Ij(a,b,c,d,e,g){Array.isArray(c)||(c&&(Hj[0]=c.toString()),c=Hj);for(var h=0;h=a.keyCode)return!1;if(Pj(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!cc;default:return 166>a.keyCode||183=a||96=a||65=a||(dc||ac)&&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 cc;default:return!1}}function Rj(a){if(cc)a=Sj(a);else if(fc&&dc)switch(a){case 93:a=91}return a} function Sj(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 Tj(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 Zj(a,b,c,d){for(var e=c.length;0d)return null;var e=b.indexOf("&",d);if(0>e||e>c)e=c;d+=a.length+1;return Fe(b.substr(d,e-d))}var ck=/[?&]($|#)/;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,dk(this,a.o),this.O=a.O,this.i=a.i,ek(this,a.ma),fk(this,a.s),gk(this,a.j.clone()),this.g=a.g):a&&(c=String(a).match(Wj))?(this.N=!!b,dk(this,c[1]||"",!0),this.O=hk(c[2]||""),this.i=hk(c[3]||"",!0),ek(this,c[4]),fk(this,c[5]||"",!0),gk(this,c[6]||"",!0),this.g=hk(c[7]||"")):(this.N=!!b,this.j=new ik(null,this.N))} Q.prototype.toString=function(){var a=[],b=this.o;b&&a.push(jk(b,kk,!0),":");var c=this.i;if(c||"file"==b)a.push("//"),(b=this.O)&&a.push(jk(b,kk,!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(jk(c,"/"==c.charAt(0)?lk:mk,!0));(c=this.j.toString())&&a.push("?",c);(c=this.g)&&a.push("#",jk(c,nk));return a.join("")}; Q.prototype.resolve=function(a){var b=this.clone(),c=!!a.o;c?dk(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)ek(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 fk(a,b,c){a.s=c?hk(b,!0):b}function gk(a,b,c){b instanceof ik?(a.j=b,ok(a.j,a.N)):(c||(b=jk(b,pk)),a.j=new ik(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 qk(a,b){a.j.remove(b)}function hk(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}function jk(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,rk),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}function rk(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)} var kk=/[#\/\?@]/g,mk=/[#\?:]/g,lk=/[#\?]/g,pk=/[#\?@]/g,nk=/#/g;function ik(a,b){this.i=this.g=null;this.j=a||null;this.s=!!b}function sk(a){a.g||(a.g=new Map,a.i=0,a.j&&Xj(a.j,function(b,c){a.add(Fe(b),c)}))}function tk(a){var b=Uj(a);if("undefined"==typeof b)throw Error("Keys are undefined");var c=new ik(null,void 0);a=Tj(a);for(var d=0;da.i&&(a.i++,b.next=a.g,a.g=b)};function Hk(a,b){var c=a;b&&(c=r(a,b));c=Ik(c);"function"!==typeof p.setImmediate||p.Window&&p.Window.prototype&&!y("Edge")&&p.Window.prototype.setImmediate==p.setImmediate?(Jk||(Jk=Kk()),Jk(c)):p.setImmediate(c)}var Jk; function Kk(){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 Ik=Cc;function Lk(a){p.setTimeout(function(){throw a;},0)};function Mk(){this.i=this.g=null}Mk.prototype.add=function(a,b){var c=Nk.get();c.set(a,b);this.i?this.i.next=c:this.g=c;this.i=c};Mk.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 Nk=new Fk(function(){return new Ok},function(a){return a.reset()});function Ok(){this.next=this.g=this.He=null}Ok.prototype.set=function(a,b){this.He=a;this.g=b;this.next=null};Ok.prototype.reset=function(){this.next=this.g=this.He=null};function Pk(a,b){Qk||Rk();Sk||(Qk(),Sk=!0);Tk.add(a,b)}var Qk;function Rk(){if(p.Promise&&p.Promise.resolve){var a=p.Promise.resolve(void 0);Qk=function(){a.then(Uk)}}else Qk=function(){Hk(Uk)}}var Sk=!1,Tk=new Mk;function Uk(){for(var a;a=Tk.remove();){try{a.He.call(a.g)}catch(b){Lk(b)}Gk(Nk,a)}Sk=!1};function Vk(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};function Wk(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){Xk(b,2,c)},function(c){Xk(b,3,c)})}catch(c){Xk(this,3,c)}}function Yk(){this.next=this.context=this.i=this.j=this.g=null;this.s=!1}Yk.prototype.reset=function(){this.context=this.i=this.j=this.g=null;this.s=!1};var Zk=new Fk(function(){return new Yk},function(a){a.reset()});function $k(a,b,c){var d=Zk.get();d.j=a;d.i=b;d.context=c;return d} function al(){var a,b,c=new Wk(function(d,e){a=d;b=e});return new bl(c,a,b)}Wk.prototype.then=function(a,b,c){return cl(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};Wk.prototype.$goog_Thenable=!0;Wk.prototype.cancel=function(a){if(0==this.g){var b=new dl(a);Pk(function(){el(this,b)},this)}}; function el(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 Nl(a,b){return a.g.find(function(c){return Vg(Yg(Jl(c)),b)})};function Ol(){this.g=[];this.cells=[]}u(Ol,Kl);f=Ol.prototype;f.Bm=0;f.marginTop=0;f.marginRight=0;f.yi=0;f.ql=0;f.Qj=0;f.jq=!1;f.Bb=function(){return this.wb};f.Db=function(){return this.Cb}; function Pl(a){a.O();for(var b=a.Bm,c=0;cthis.na)if(this.dispatchEvent(new Gm("start",this,a.clientX,a.clientY,a)))this.i=!0;else{this.Hd||this.Wi(a);return}}c=Jm(this,b,c);b=c.x;c=c.y;this.i&&this.dispatchEvent(new Gm("beforedrag",this,a.clientX,a.clientY,a,b,c))&&(Km(this,a,b,c),a.preventDefault())}}; function Jm(a,b,c){var d=gf(Se(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(Hm(a,a.deltaX),Im(a,a.deltaY))}f.kv=function(a){var b=Jm(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;Km(this,a,b.x,b.y)};function Km(a,b,c,d){a.Sk(c,d);a.dispatchEvent(new Gm("drag",a,b.clientX,b.clientY,b,c,d))}function Hm(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 Im(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 Gm(a,b,c,d,e,g,h){dj.call(this,a);this.clientX=c;this.clientY=d;this.i=e;this.left=void 0!==g?g:b.deltaX;this.top=void 0!==h?h:b.deltaY}u(Gm,dj);function Lm(a){this.Ud=new Map;var b=arguments.length;if(1b||b>bn(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 Mc(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=cn(this,b+1),Zm(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 dn(a){null==a.Xb&&(a.Xb=Ch(a.$a?a.ya:a.g.g.body));return a.Xb}function bn(a){return a.N?a.N.length:0}function Ym(a,b){a.ma&&b?(a=a.ma,b=(null!==a&&b in a?a[b]:void 0)||null):b=null;return b}function cn(a,b){return a.N?a.N[b]||null:null}function an(a,b,c){a.N&&a.N.forEach(b,c)} function en(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=Ym(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 fn(a,b){this.ya=a;this.i=b};function gn(a,b){P.call(this);this.s=new Gj(this);this.og(a||null);b&&(this.qg=b)}u(gn,P);f=gn.prototype;f.ya=null;f.Vn=!0;f.Un=null;f.mg=!1;f.Cl=-1;f.jo=!0;f.qg="toggle_display";f.getType=function(){return this.qg};f.ha=function(){return this.ya};f.og=function(a){hn(this);this.ya=a};function hn(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=Ue(this.ya);if(this.Vn)if(this.s.ka(a,"mousedown",this.lp,!0),z){try{var b=a.activeElement}catch(d){}for(;b&&"IFRAME"==b.nodeName;){try{var c=Bf(b)}catch(d){break}a=c;b=a.activeElement}this.s.ka(a,"mousedown",this.lp,!0);this.s.ka(a,"deactivate",this.kp)}else this.s.ka(a,"blur",this.kp);"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?(vj(this.Ja,"end",this.Ai,!1,this),this.Ja.play()):this.Ai()}}else jn(this)};f.ng=Da;function jn(a,b){a.mg&&a.dispatchEvent({type:"beforehide",target:b})&&(a.s&&Lj(a.s),a.mg=!1,Date.now(),a.ua?(vj(a.ua,"end",t(a.Zn,b),!1,a),a.ua.play()):a.Zn(b))}f.Zn=function(a){"toggle_display"==this.qg?this.su():"move_offscreen"==this.qg&&(this.ya.style.top="-10000px");this.jh(a)}; f.su=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.lp=function(a){a=a.target;Af(this.ya,a)||kn(this,a)||150>Date.now()-this.Cl||jn(this,a)}; f.kp=function(a){if(this.jo){var b=Ue(this.ya);if("undefined"!=typeof document.activeElement){if(a=b.activeElement,!a||Af(this.ya,a)||"BODY"==a.tagName||kn(this,a))return}else if(a.target!=b)return;150>Date.now()-this.Cl||jn(this)}};function kn(a,b){return ab(a.Un||[],function(c){return b===c||Af(c,b)})}f.va=function(){gn.ta.va.call(this);this.s.Ha();$i(this.Ja);$i(this.ua);delete this.ya;delete this.s;delete this.Un};function ln(a,b){X.call(this,b);this.Nf=!!a;this.ua=null;this.Nc=Qm({Su:this.Ej},this)}u(ln,X);f=ln.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(){ln.ta.Va.call(this);var a=this.ha();xb(a,Fb(this.kh()).split(" "));Gf(a,!0);M(a,!1);mn(this);nn(this)}; function mn(a){if(a.Nf&&!a.yc){var b=a.g.Ra("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;"});b.src=jd(Sm).toString();a.yc=b;a.yc.className=a.kh()+"-bg";M(a.yc,!1);Ah(a.yc,0)}a.md||(a.md=a.g.Ra("DIV",a.kh()+"-bg"),M(a.md,!1))}function nn(a){a.Td||(a.Td=Nf(a.g,"SPAN"),M(a.Td,!1),Gf(a.Td,!0),a.Td.style.position="absolute")}f.Lp=function(){this.Hk=!1};f.zi=function(a){return!!a&&"DIV"==a.tagName}; f.Nb=function(a){ln.ta.Nb.call(this,a);a=Fb(this.kh()).split(" ");xb(this.ha(),a);mn(this);nn(this);Gf(this.ha(),!0);M(this.ha(),!1)};f.Ma=function(){this.yc&&rf(this.yc,this.ha());rf(this.md,this.ha());ln.ta.Ma.call(this);sf(this.Td,this.ha());this.Zk=new Tm(this.g.g);Y(this).ka(this.Zk,"focusin",this.ev);on(this,!1)};f.kc=function(){this.isVisible()&&this.Da(!1);$i(this.Zk);ln.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&&on(this,a),a){if(this.dispatchEvent("beforeshow")){try{this.ua=this.g.g.activeElement}catch(e){}this.Ej();this.lh();Y(this).ka(Of(this.g),"resize",this.Ej).ka(Of(this.g),"orientationchange",this.Nc);pn(this,!0);this.focus();this.Di=!0;this.Ba&&this.La?(vj(this.Ba,"end",this.Ci,!1,this),this.La.play(),this.Ba.play()):this.Ci()}}else if(this.dispatchEvent("beforehide")){Y(this).Xa(Of(this.g), "resize",this.Ej).Xa(Of(this.g),"orientationchange",this.Nc);this.Di=!1;this.wa&&this.Ja?(vj(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.zm(this.ha(),d))&&this.ua.focus()}catch(e){}this.ua=null}}}; function on(a,b){a.Fc||(a.Fc=new fn(a.ya,a.g));a=a.Fc;if(b){a.g||(a.g=[]);b=a.i.qo(a.i.g.body);for(var c=0;c=Ln&&(Ah(this.g,a),this.j=a)};f.Bf=function(){this.j=-1;Kn.ta.Bf.call(this)};f.Pe=function(){this.j=-1;Kn.ta.Pe.call(this)};f.show=function(){this.g.style.display=""};f.kb=function(){this.g.style.display="none"};function Mn(a,b,c){Kn.call(this,a,1,0,b,c)}u(Mn,Kn);Mn.prototype.Bf=function(){this.show();Mn.ta.Bf.call(this)};Mn.prototype.Pe=function(){this.kb();Mn.ta.Pe.call(this)}; function Nn(a,b,c,d,e){if(3!=b.length||3!=c.length)throw Error("Start and end points must be 3D");Jn.call(this,a,b,c,d,e)}u(Nn,Jn);Nn.prototype.lg=function(){for(var a=[],b=0;b2*this.size&&Wn(this),a=!0):a=!1;return a};function Wn(a){if(a.size!=a.g.length){for(var b=0,c=0;b=d.g.length)return Rf;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 Pf;return h.value};return e};function Yn(a,b){return Object.prototype.hasOwnProperty.call(a,b)};function $n(){this.i=new Vn;this.g=new ao("",void 0);this.g.next=this.g.g=this.g}f=$n.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 ao(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 bo(this,this.g.next)};f.pop=function(){return bo(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 co(this,function(a,b){return b})};f.lc=function(){return co(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 co(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 bo(a,b){a.g!=b&&(b.remove(),a.i.remove(b.key));return b.value}function ao(a,b){this.key=a;this.value=b} ao.prototype.remove=function(){this.g.next=this.next;this.next.g=this.g;delete this.g;delete this.next};function eo(){P.call(this);this.i=new $n}u(eo,P);eo.prototype.j=function(a){a.sort(fo);v(a,function(b){b.ke(this)},this);this.i=new $n;v(a,function(b){this.i.set(b.Pa(),b)},this);this.dispatchEvent("update")};function fo(a,b){return go(a)-go(b)}function ho(a){return a.i.lc()}function io(a,b,c){a=ho(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 no(this),oo(this),po(this,!1,a))}};lo.prototype.na=function(a,b){this.O=!1;po(this,a,b)}; function po(a,b,c){a.j=!0;a.i=c;a.s=!b;qo(a)}function oo(a){if(a.j){if(!a.oa)throw new ro(a);a.oa=!1}}lo.prototype.Eg=function(a){oo(this);po(this,!0,a)};function so(a,b,c,d){a.o.push([b,c,d]);a.j&&qo(a)}lo.prototype.then=function(a,b,c){var d,e,g=new Wk(function(h,k){e=h;d=k});so(this,e,function(h){h instanceof no?g.cancel():d(h)});return g.then(a,b,c)};lo.prototype.$goog_Thenable=!0;function to(a){return ab(a.o,function(b){return"function"===typeof b[1]})} function qo(a){if(a.N&&a.j&&to(a)){var b=a.N,c=uo[b];c&&(p.clearTimeout(c.lb),delete uo[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(Vk(b)||"function"===typeof p.Promise&&b instanceof p.Promise)d=!0,a.O=!0}catch(l){b=l,a.s=!0,to(a)||(c=!0)}}a.i=b;d&&(k=r(a.na,a,!0),d=r(a.na,a,!1),b instanceof lo?(so(b,k,d),b.wa=!0):b.then(k,d)); c&&(b=new vo(b),uo[b.lb]=b,a.N=b.lb)}function ro(){Ra.call(this)}u(ro,Ra);ro.prototype.message="Deferred has already fired";ro.prototype.name="AlreadyCalledError";function no(){Ra.call(this)}u(no,Ra);no.prototype.message="Deferred was canceled";no.prototype.name="CanceledError";function vo(a){this.lb=p.setTimeout(r(this.i,this),0);this.g=a}vo.prototype.i=function(){delete uo[this.lb];throw this.g;};var uo={};function wo(a,b){var c=b||{};b=c.document||document;var d=jd(a).toString(),e=Nf(new Te(b),"SCRIPT"),g={Pp:e,kg:void 0},h=new lo(g),k=null,l=null!=c.timeout?c.timeout:5E3;0a.length?"":a[1]};function fp(a){P.call(this);this.ob={};a&&this.Dd(a)}u(fp,P);f=fp.prototype;f.qe=function(){return this.ob.w||this.getParent().g.width};f.de=function(){return this.ob.h||this.getParent().g.height};function Ul(a){return a.qe()/a.de()}f.Fa=function(){return new ze(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 go(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 gp(a,b,c){if(z&&!uc("9")){var d=[];d[0]=O(a,"readystatechange",t(hp,a,t(ip,b),d))}else vj(a,"load",t(ip,b));c&&vj(a,"error",t(ip,c))}function ip(a){T(a)}function hp(a,b,c){if("complete"!=a.readyState)return!0;Dj(c[0]);b();return!1}var jp=E("div");function kp(a){if(a)if(z){jp.appendChild(a);var b=t(F,a);gp(a,b,b);a.src="//www.google.com/images/cleardot.gif"}else a.src="//www.google.com/images/cleardot.gif",F(a)};function lp(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;0Math.abs(e-d)})});a.push.apply(a,c);nb(a);return a};function Pp(a,b){eo.call(this);this.O={};a&&(this.Ap=a.prefix,this.Vo=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(Pp,eo);Pp.prototype.tl=function(a){a=a.page;for(var b=0;be;e++){var g=c.concat(d[e].split(""));Sp[e]=g;for(var h=0;h>2];l=b[(l&3)>4];n=b[(n&15)>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]+b[(a&3)>4]+k+d}a=c.join("")}}return Array.isArray(a)?Zp(a,$p):a}function aq(a){return Up&&null!=a&&a instanceof Uint8Array?new Uint8Array(a):a};var bq;function cq(a,b,c){var d=bq;bq=null;a||(a=d);d=this.constructor.Pw;a||(a=d?[d]:[]);this.s=(d?0:-1)-(this.constructor.Mw||0);this.j=null;this.g=a;a:{d=this.g.length;a=d-1;if(d&&(d=this.g[a],Xp(d))){this.o=a-this.s;this.i=d;break a}void 0!==b&&-1=a.o?a.i?a.i[b]:void 0:(void 0===c?0:c)&&a.i&&a.i[b]?a.i[b]:a.g[b+a.s]}cq.prototype.toJSON=function(){return Zp(this.g,$p)};cq.prototype.toString=function(){return this.g.toString()};cq.prototype.clone=function(){var a=this.constructor,b=Zp(this.g,aq);bq=b;a=new a(b);bq=null;gq(a,this);return a}; function gq(a,b){b.N&&(a.N=b.N.slice());var c=b.j;if(c){b=b.i;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.j||(k.j={});var n=k.j[h];if(!n){var q=k;n=void 0===g?!1:g;n=void 0===n?!1:n;g=fq(q,h,n);null==g&&(g=dq);if(g===dq){var w=g=Wp(g.slice());(n=void 0===n?!1:n)||h>=q.o?(eq(q),q.i[h]=w):q.g[h+q.s]=w}n=[];for(q=0;qb.charCode&&Pj(d)?b.charCode:0):("keypress"==a.type?(wq&&(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),fc&&63==e&&224==d&&(d=191));var g=d=Rj(d);d?63232this.ac&&bthis.ac&&this.ac--}; f.removeChild=function(a,b){if(a="string"===typeof a?Ym(this,a):a){var c=en(this,a);-1!=c&&(c==this.ac?(a.Wc(!1),this.ac=-1):cb?c-1:b},0)}function mr(a){or(a,function(b,c){return(b+1)%c},a.ac)}function lr(a){or(a,function(b,c){b--;return 0>b?c-1:b},a.ac)} function or(a,b,c){c=0>c?en(a,a.bc):c;var d=bn(a);c=b.call(a,c,d);for(var e=0;e=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 Xg(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;jh(b,new A(e.left,e.top));h=e.Fa();Ae(c,h)||Fh(b,h);return a}function ur(a,b){return(b&8&&Ch(a)?b^4:b)&-9};function wr(a,b,c){this.g=a;this.i=b;this.O=c}u(wr,rr);wr.prototype.Pc=function(a,b,c){sr(this.g,this.i,a,b,void 0,c,this.O)};function xr(a,b,c,d){wr.call(this,a,b);this.j=c?5:0;this.o=d||void 0}u(xr,wr);xr.prototype.N=function(){return this.j};xr.prototype.s=function(a){this.j=a};xr.prototype.Pc=function(a,b,c,d){var e=sr(this.g,this.i,a,b,null,c,10,d,this.o);if(e&496){var g=yr(e,this.i);b=yr(e,b);e=sr(this.g,g,a,b,null,c,10,d,this.o);e&496&&(g=yr(e,g),b=yr(e,b),sr(this.g,g,a,b,null,c,this.j,d,this.o))}};function yr(a,b){a&48&&(b^=4);a&192&&(b^=1);return b};function zr(a,b){this.Lb=8;this.La=b||void 0;gn.call(this,a)}u(zr,gn);function Ar(a){a.Lb=4;a.isVisible()&&a.ng()}zr.prototype.nd=function(){return this.La||null};zr.prototype.setPosition=function(a){this.La=a||void 0;this.isVisible()&&this.ng()};zr.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 Br(a,b,c){var d=b;a.timeOfStartCall=(new Date).getTime();var e=c||p;b=e.document;var g=a.nonce||ce(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=Nf(Se(b),"SCRIPT");g&&a.setAttribute("nonce",g);g=ld(e);a.src=jd(g);Yi(a);b.body.appendChild(a)}}Pa("userfeedback.api.startFeedback",Br);function Cr(a){X.call(this);if(this.j=B("gb-mobile-appbar-back-button"))if(Y(this).ka(this.j,"click",this.o),mc&&Pb(Sb(),"GSA")){x(this.j,"igsa-hide");var b=this.g.ha("gb-mobile-appbar-logo");x(b,"igsa-shift")}(this.i=B("gb-mobile-appbar-more"))&&Dr(this);new pr(a)}m(Cr,X); function Dr(a){var b=B("gb-mobile-more-menu");if(b){var c=new zr(b);Ar(c);c.setPosition(new xr(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)}Cr.prototype.o=function(){window.history.back();ic&&Wf&&1==window.history.length&&window.close()};Pa("_OC_startFeedback",Br);function Er(a){P.call(this);a=a||Se();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?jf(a.contentDocument):null);break a}catch(c){}b=null}b=this.s=b;cc&&(a=b.document,a.open(),a.close());O(b,"resize",this.i,!1,this);this.j=this.g.offsetWidth}u(Er,P); Er.prototype.va=function(){Er.ta.va.call(this);Cj(this.s,"resize",this.i,!1,this);this.s=null;F(this.g);delete this.g};Er.prototype.i=function(){var a=this.g.offsetWidth;this.j!=a&&(this.j=a,this.dispatchEvent("fontsizechange"))};function Fr(a){this.i=a;a=r(this.j,this);this.g=new Nj;O(this.g,"resize",a);var b=new Er;O(b,"fontsizechange",a);O(window,"DOMContentLoaded",r(this.resize,this))}Fr.prototype.j=function(){this.resize();T(r(this.resize,this),100)};Fr.prototype.resize=function(){var a=this.g.Fa(),b=Math.round(qh(this.i).y);this.i.style.height=a.height-b+"px"};function Gr(a){var b=null;if(a=B(a))b=new Fr(a),b.resize();return b};function Hr(a){dj.call(this,"navigate");this.o=a}u(Hr,dj);function Ir(){return!(y("iPad")||y("Android")&&!y("Mobile")||y("Silk"))&&(y("iPod")||y("iPhone")||y("Android")||y("IEMobile"))};var Jr=new WeakMap;function Kr(a,b){a=[a];for(var c=b.length-1;0b?"":a.substring(b+1)}function Or(a,b,c){a=a.g.location;var d=a.href.split("#")[0],e=Pb(a.href,"#");if(Nr||e||b)d+="#"+b;d!=a.href&&(b=td(d),c?se(a,b):re(a,b))} function Qr(a,b,c,d){if(a.ua||b!=Ur(a))if(a.ua=!1,b=encodeURIComponent(String(b)),z){var e=Bf(a.O);e.open("text/html",c?"replace":void 0);c=fe(Xd("title",{},d||a.g.document.title),Xd("body",{},b));e.write(Td(c));e.close()}else e=jd(a.oa).toString()+"#"+b,(a=a.O.contentWindow)&&(c?se(a.location,e):re(a.location,e))} function Ur(a){if(z)return a=Bf(a.O),a.body?Fe(a.body.innerHTML):null;var b=a.O.contentWindow;if(b){try{var c=Fe(Sr(b))}catch(d){return a.o||(1!=a.o&&ol(a.Ya,1E4),a.o=!0),null}a.o&&(0!=a.o&&ol(a.Ya,150),a.o=!1);return c||null}return null}f.Jm=function(a){if(this.i){var b=Sr(this.g);b!=this.s&&Tr(this,b,a)}if(!this.i||Nr)if(b=Ur(this)||"",null==this.Wg||b==this.Wg)this.Wg=null,b!=this.s&&Tr(this,b,a)}; function Tr(a,b,c){a.s=a.N.value=b;a.i?(Nr&&Qr(a,b),Or(a,b)):Qr(a,b);a.dispatchEvent(new Hr(Pr(a),c))}var Mr=0;function Vr(a){cq.call(this,a)}m(Vr,cq);function Wr(){var a=new Vr([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 ps(a){return us[a]} var os=/[\x00\x22\x26\x27\x3c\x3e]/g,ts=/[\x00\x22\x27\x3c\x3e]/g,vs=/^(?!on|src|(?:action|archive|background|cite|classid|codebase|content|data|dsync|href|http-equiv|longdesc|style|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i,rs=/'"]|"[^"]*"|'[^']*')*>/g,ss=/;/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ function ws(a,b,c,d){a=a(b||xs,c);d=Nf(d||Se(),"DIV");if(Ha(a))if(a instanceof fs){if(a.Qf!==ds)throw Error("Sanitized content was not of kind HTML.");a=le(a.toString(),a.Ok)}else a=Ud("zSoyz");else a=Ud(String(a));ne(d,a);1==d.childNodes.length&&(a=d.firstChild,1==a.nodeType&&(d=a));return d}var xs={};function ys(a){a=a||{};var b=a.attributes,c=a.content,d=a.disabled,e=a.id,g=a.Ww,h=a.title,k=a.iw,l=a.value,n=ns;e='

"+ms(null!=c?c:"")+"
")};function zs(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(zs,rr);f=zs.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.Sn=Math.max(c,15));"number"===typeof d&&(this.Ll=d)};f.Pc=function(a,b,c){a=this.Fk;2==a&&(a=0);As(this,this.Jk,a,2==this.Fk?Bs(this.Jk)?this.g.offsetHeight/2:this.g.offsetWidth/2:this.Sn,0,c)}; function As(a,b,c,d,e,g){if(a.i){var h=Cs(b,c);var k=a.i;var l=a.g,n=a.Ea,q=L(k);a:{q=(Bs(b)?q.height/2:q.width/2)-d;var w=ur(k,h);if(n)n=n.clone(),l&&(l=tr(l),n.left+=l.x,n.right+=l.x,n.top+=l.y,n.bottom+=l.y);else if(n=ph(k),!n){k=q;break a}k=Yg(zh(k));Bs(b)?k.topn.bottom&&w&1&&(q-=k.bottom-n.bottom):k.leftn.right&&w&4&&(q-=k.right-n.right);k=q}k=Bs(b)?new A(a.Ll,k):new A(k,a.Ll);q=Bs(b)?6:9;a.Dk&&2==e&&(q=Bs(b)?4:1); w=b^3;Bs(b)&&"rtl"==a.i.dir&&(w=b);h=sr(a.i,Cs(w,c),a.g,h,k,g,a.vl?q:0,void 0,a.Ea);if(2!=e&&h&496){As(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||jh(a.g,Math.round(e),Math.round(g)))}Ds(a,b,c,d)} function Ds(a,b,c,d){var e=a.o;Fc(a.s,function(g){Ab(e,g,!1)},a);x(e,a.s[b]);e.style.top=e.style.left=e.style.right=e.style.bottom="";a.i?(c=uh(a.i,a.g),d=Es(a.i,b),Bs(b)?e.style.top=Fs(c.y+d.y,a.g.offsetHeight-15)+"px":e.style.left=Fs(c.x+d.x,a.g.offsetWidth-15)+"px"):e.style[0==c?Bs(b)?"top":"left":Bs(b)?"bottom":"right"]=d+"px"}function Fs(a,b){return 15>b?15:ve(a,15,b)}function Cs(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 Es(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 Bs(a){return 0==a||3==a}f.vl=!1;f.Fk=2;f.Sn=20;f.Jk=3;f.Ea=null;f.Ll=-5;f.Dk=!1;function Gs(a){aj.call(this);this.i=a||Se()}m(Gs,aj);Gs.prototype.o=function(){um(this.ha(),"tooltip");vm(this.ha(),"live","polite")};function Hs(a){Gs.call(this,a);this.g=this.i.Ra("DIV",Is()+"-contentId");this.j=this.i.Ra("DIV",Is()+"-arrow",this.i.Ra("DIV",Is()+"-arrowimplbefore"),this.i.Ra("DIV",Is()+"-arrowimplafter"));this.s=this.i.Ra("DIV",{"class":Is(),role:"tooltip"},this.g,this.j);this.o()}m(Hs,Gs);function Is(){return"jfk-tooltip"}Hs.prototype.ha=function(){return this.s};Hs.prototype.va=function(){Gs.prototype.va.call(this);this.s&&F(this.s)};function Js(a){Hs.call(this,a)}m(Js,Hs);Js.prototype.o=function(){um(this.ha(),"tooltip")};function Ks(a){return He(Fb(a.replace(Ls,function(b,c){return Ms.test(c)?"":" "}).replace(/[\t\n ]+/g," ")))}var Ms=/^(?:abbr|acronym|address|b|em|i|small|strong|su[bp]|u)$/i,Ls=/]*)?>/gi;function Ns(a){a=a||Se();var b=Ia(a.g);Os[b]||(Os[b]=new Ps(a))}function Qs(a,b){var c=b instanceof Rd?Ks(Sd(b)):b;a.removeAttribute("title");a.removeAttribute("data-tooltip-contained");a.removeAttribute("data-tooltip");b?(b instanceof Rd?a.i=b:(a.setAttribute("data-tooltip",b),a.i=null),a.setAttribute("aria-label",c)):(a.i=null,a.removeAttribute("aria-label"));Ns(Se(a))}var Os={}; function Ps(a){Gj.call(this);this.wa=a;this.ua=new bm(this.cw,0,this);bj(this,this.ua);var b=jf();this.ma="function"===typeof b.MutationObserver?new b.MutationObserver(r(this.mt,this)):null;a=a.g;this.ka(a,"mouseout mousedown click blur focusout keydown".split(" "),this.Js,!0);this.ka(a,["mouseover","focus","focusin"],this.Ov,!0)}m(Ps,Gj);f=Ps.prototype;f.va=function(){Rs(this);Gj.prototype.va.call(this)}; function Ss(a,b){switch(b.type){case "mousedown":case "mouseover":case "mouseout":case "click":a.Ba=!1;break;case "keydown":a.Ba=!0}}f.Ov=function(a){this.ma&&this.ma.disconnect();Ss(this,a);var b=a.target;a="focus"==a.type||"focusin"==a.type;var c=this.g&&Af(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(tm,a);a&&(this.ma.observe(b,{attributes:!0}),(a=xm(b))&&(b=a));this.s=b}else this.s=null;Ts(this)}; f.Js=function(a){Ss(this,a);var b=a.target;b=this.g&&Af(this.g.g,b);if("mousedown"!=a.type&&"click"!=a.type||!b)this.s=null,Ts(this)};f.mt=function(a){v(a,r(function(b){var c=xm(b.target);c&&"aria-activedescendant"==b.attributeName&&(this.s=c,Ts(this))},this))};function Ts(a){if(0==a.ua.lb||!a.i||!a.O){Rs(a);var b=null!=a.O?a.O:50;a.ua.start(a.i?b:300)}}function Rs(a){a.oa&&(pl(a.oa),a.oa=0,a.i=null)} f.cw=function(){if(!this.s)Us(this),this.O=this.i=null;else if(!(this.i&&this.g&&Af(this.g.ha(),this.s))||this.i.getAttribute("data-tooltip-unhoverable")){var a=Lf(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&&(Us(this),this.O=this.i=null,b=!0);if(!this.i&&a&&(this.i=a,Vs(this,a))){var c=ee;if(a.getAttribute("data-tooltip-contained"))for(var d=Ze("jfk-tooltip-data", a),e=0;e=b.scrollWidth&&b.offsetHeight>=b.scrollHeight||a.Ca&&"mouse"==b.getAttribute("data-tooltip-trigger")?!1:!0}function Ws(a){if(a)switch(a.toLowerCase().split(",")[0]){case "l":return 0;case "t":return 2;case "r":return 3}return 1} f.Vp=function(a,b,c,d,e,g){this.oa=0;this.O=g;if(!this.g){this.g=new Js(this.wa);Us(this);g=this.g.ha();this.wa.g.body.appendChild(g);bj(this,this.g);this.o=new zs(Is(),!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(Ws(c),g,void 0,d);yb(this.g.ha(),"jfk-tooltip-hide");this.na!=e&&(this.na&&!Db(Oe(this.na))&&yb(this.g.ha(),this.na),Db(Oe(e))||x(this.g.ha(), e),this.na=e);jh(this.g.ha(),0,0);if(b instanceof Rd)N(this.g.g,b);else for(qf(this.g.g);c=b.firstChild;)this.g.g.appendChild(c);this.o.Gj(a);this.o.Pc(null,0)};function Us(a){a.g&&x(a.g.ha(),"jfk-tooltip-hide")};function Xs(a){var b="Yf";if(a.Yf&&a.hasOwnProperty(b))return a.Yf;b=new a;return a.Yf=b};function Ys(){}u(Ys,Gq);Ea(Ys);f=Ys.prototype;f.sg=function(){return"button"};f.ne=function(a,b,c){switch(b){case 8:case 16:vm(a,"pressed",c);break;default:case 64:case 1:Ys.ta.ne.call(this,a,b,c)}};f.Oc=function(a){var b=Ys.ta.Oc.call(this,a);this.oc(b,a.sf());var c=a.Ab();c&&this.xc(b,c);Oq(a,16)&&this.ne(b,16,Pq(a,16));return b};f.Sb=function(a,b){b=Ys.ta.Sb.call(this,a,b);var c=this.Ab(b);a.Ca=c;a.na=this.sf(b);Oq(a,16)&&this.ne(b,16,Pq(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=dn(a),d=this.Wa()+"-collapse-left",e=this.Wa()+"-collapse-right",g=c?e:d;b&1?Uq(a,g):Vq(a,g);c=c?d:e;b&2?Uq(a,c):Vq(a,c)};f.Wa=function(){return"goog-button"};function Zs(){}u(Zs,Ys);Ea(Zs);f=Zs.prototype;f.sg=function(){};f.Oc=function(a){Sq(a,!1);a.Of&=-256;a.Zb(32,!1);return a.g.Ra("BUTTON",{"class":Jq(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){Sq(a,!1);a.Of&=-256;a.Zb(32,!1);if(b.disabled){var c=this.Kh(1);x(b,c)}return Zs.ta.Sb.call(this,a,b)}; f.Fi=function(a){Y(a).ka(a.ha(),"click",a.Qe)};f.ek=Da;f.Gm=Da;f.Fm=function(a){return a.isEnabled()};f.mh=Da;f.Zc=function(a,b,c){Zs.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 $s(a,b,c){Rq.call(this,a,b||Zs.Eb(),c)}u($s,Rq);f=$s.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(){$s.ta.va.call(this);delete this.Ca;delete this.na};f.Ma=function(){$s.ta.Ma.call(this);if(Oq(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};yq("goog-button",function(){return new $s(null)});function Z(a,b,c,d){$s.call(this,a,at.Eb(),b);this.wa=c||0;this.wb=d||0;this.Ka=!1}u(Z,$s);f=Z.prototype;f.Bb=function(){return this.wb};f.oc=function(a){this.na=a;var b=this.ha();b&&(this.Ka?Qs(b,a):a?b.title=a:b.removeAttribute("title"))};f.Ta=function(a){this.isEnabled()!=a&&(Z.ta.Ta.call(this,a),bt(this))};f.focus=function(){var a=this.ya;try{a.focus()}catch(b){}};f.Hj=function(a){Z.ta.Hj.call(this,a);ct(this,!1)};f.$e=function(a){Z.ta.$e.call(this,a);this.isEnabled()&&ct(this,!0)}; f.he=function(a){Z.ta.he.call(this,a);this.isEnabled()&&ct(this,!0)};function ct(a,b){a.ha()&&Ab(a.ha(),"jfk-button-clear-outline",b)}function bt(a){a.ha()&&dt(a.wd(),a)}function et(a,b){if("string"===typeof a){var c=a;a=C("IMG");pe(a,c);J(a,21,21)}x(a,"jfk-button-img");c=[];c.push(a);b&&(a=C("SPAN","jfk-button-label",b),c.push(a));return c} function at(){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(at,Ys);at.Eb=function(){return Xs(at)};f=at.prototype;f.Hf=function(a,b,c){a&&c.wa!=a&&(c.wa=a,bt(c));b&&c.wb!=b&&(c.wb=b,bt(c))};f.Wa=function(){return"jfk-button"}; f.Oc=function(a){var b=a.g,c=ws(ys,{disabled:!a.isEnabled(),checked:Pq(a,16),style:a.wa,title:a.sf(),iw:a.Ka,value:a.Ab(),width:a.Bb()},void 0,b);b.ym(c,a.Gc());this.Sb(a,c);return c}; f.Sb=function(a,b){at.ta.Sb.call(this,a,b);this.j||(this.j=Qc(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=Wg(this.Ka,this.O))}if(b){if(this.li(),this.Wb=null,b=this.oa)b.Wb=null}else 3==lt(this)&&this.Fg();st.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:st.ta.fl.call(this)};function ut(a,b){a=new st(a);a.Vl(Gl(b.innerHTML));a.className="buy-tip-card";a.wa=new Tg(5,5,5,5);a.Vi=!0;a.ah=500;a.Wh=250};function vt(a,b){this.Cb=a||200;this.wb=b||108;W.call(this)}u(vt,W);vt.prototype.Db=function(){return this.Cb};vt.prototype.Bb=function(){return this.wb};function wt(a){jt.call(this,a,void 0,void 0);this.jo=!1;this.Vi=!0;this.ah=500}m(wt,st);wt.prototype.Lj=function(a,b){b||(b=new xr(a,9,!0));st.prototype.Lj.call(this,a,b)};wt.prototype.className="unified-hovercard";var xt="ganpub ganclk dapp source_ip source_country source_domain authuser".split(" ");function yt(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"),qk(a,"output")):"ge-tablet-app"==b?(R(a,"dapp","4"),qk(a,"output")):"ge-ip-app"==b?R(a,"dapp","1"):"ge-android-app"==b&&R(a,"dapp","3");S(c,"authuser")||qk(a,"authuser");xt.forEach(function(d){var e=S(c,d);e&&R(a,d,e)})};function zt(a,b,c){aj.call(this);this.i=null;this.data=a;this.g=b;this.maxWidth=c||500}m(zt,aj);zt.prototype.va=function(){this.i&&this.i.Ha()};function At(a){return a.i||(a.i=new Gj(a))} zt.prototype.j=function(a){var b=C("DIV"),c=new Q(this.data.Aa.Ug||this.data.Aa.Cp);this.data.Aa.source&&R(c,"source",this.data.Aa.source);var d=this.data.hb();this.data.Aa.Zp&&(d+=": "+this.data.Aa.Zp);d=C("A",{},d);d.classList.add(this.g+"-title");oe(d,c.toString());b.appendChild(d);a.appendChild(b);Bt(this,a);b=C("DIV");if("number"===typeof(this.data.Aa.Fp||0)){d=this.data.Aa.Fp||0;c=Math.floor(d);d=0)|()/ig,Et={VIEW_PAGES_PARTIAL:2,VIEW_PAGES_ALL:5,VIEW_PAGES_PARTIAL_FIXED:6,VIEW_PURCHASED:7,VIEW_GOOGLE_EDITIONS_PREVIEW:8};function Ft(){this.Aa={}}f=Ft.prototype;f.hb=function(){return this.Aa.title};f.Yb=function(){return this.Aa.nm};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 Gt(){this.g=[]}f=Gt.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 Ht(a,b,c){if(It(a,b)||null==a.ma||!a.j)c&&c(null);else{var d=a.ma.clone();a=r(a.Ds,a,b,c||Da);R(d,"id",b);vl(d,a,"POST")}}function Jt(a,b,c){if(It(a,b)&&null!=a.oa&&a.na){var d=a.oa.clone();a=r(a.Ss,a,b,c||Da);R(d,"id",b);vl(d,a,"POST")}else c&&c(null)} f.Ds=function(a,b,c){var d=null;Dl(c.target)&&(d=new Ft,d.Aa.nm=a,this.g.push(d));b(d)};f.Ss=function(a,b,c){var d=null;Dl(c.target)&&(d=It(this,a),Kt(this,d));b(d)};function Kt(a,b){hb(a.g,function(c){return c.Yb()==b.Yb()})}function It(a,b){return bb(a.g,function(c){return c&&c.Yb()==b})};function Lt(a){this.Aa={};this.Aa.title=a.title;this.Aa.Zp=a.subtitle;this.Aa.Gk=a.authors;this.Aa.Cp=a.preview_url;this.Aa.Ug=a.info_url;this.Aa.Bj=a.pub_date;this.Aa.jp=a.num_pages;this.Aa.kq=a.viewability;this.Aa.Vw=a.subject;this.Aa.bq=a.thumbnail_url;this.Aa.fm=a.snippet;this.Aa.Ow=a.list_price;this.Aa.Op=a.sale_price;this.Aa.Tw=a.sale_price_better;this.Aa.Xu=a.offer_price;this.Aa.Lk=a.buy_url;this.Aa.Gp=a.read_url;this.Aa.sj=a.is_free_ebook||!1;this.Aa.qj=a.in_my_ebooks||!1;this.Aa.Qw=a.my_ebooks_url|| "";this.Aa.Fp=a.rating_score||0;this.Aa.Vu=a.num_reviews||0;this.Aa.Rd=a.is_purchased||!1;this.Aa.Yh=a.is_ebook||!1;this.Aa.Yw=a.write_review_url||"";this.Aa.et=a.add_to_my_ebooks_url||"";this.Aa.tv=a.preview_ebook_url||"";this.Aa.Hv=a.reviews_url||"";this.Aa.Rj=a.view_order_url||"";this.Aa.Fw=a.add_to_my_ebooks_url;this.Aa.Cs=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=dp(a.info_url);this.Aa.nm=b;this.Aa.Hw=a.canonical_atb_url|| "";this.Aa.wl=a.is_rentable||!1;this.Aa.ag=a.is_pre_order||!1;this.Aa.xp=a.on_sale_date||"";this.Aa.Zf=a.is_pre_ordered||!1;this.Aa.Nw=a.issue_volume_count||0;this.Aa.Zh=a.is_volume_cancelled||!1;this.Aa.Fs=a.cancelled_reason||"0";switch(a.rental_state){case 1:this.Aa.Dj=1;break;case 2:this.Aa.Dj=2}this.Aa.Dv=a.rental_end_utc||0}m(Lt,Ft);function Mt(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 Lt(b)}))}m(Mt,Gt);function Nt(){W.call(this);this.j=[];this.i=[]}u(Nt,W);function Ot(a){var b=new Q(jf().location);b=new Q(b);return a===parseInt(S(b,"as_coll"),10)}function Pt(a,b,c){Qt(a,b.getId())||(a=b.O?a.j:a.i,c?lb(a,void 0,0,b):a.push(b))}function Rt(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()));vl(a,c,"POST",b)} Nt.prototype.N=function(a){a=a.target;if(Dl(a)){a=new Mt(Fl(a));var b=Qt(this,a.getId());b.Ec=a.hb();b.s=a.Og();b.ye=a.ye;b=new dj("update",this);b.shelf=a;this.dispatchEvent(b)}};Nt.prototype.o=function(a,b){b=b.target;Dl(b)&&(b=new Mt(Fl(b)),Pt(this,b,a),a=new dj("add",this),a.shelf=b,this.dispatchEvent(a))};function St(a,b){a.s=new Q(b);R(a.s,"jscmd","ClCreate")}function Qt(a,b){return bb(Tt(a),function(c){return c.getId()==b})}function Tt(a){return qb(a.j,a.i)};function Ut(a,b){var c=C("A",{},"View order");oe(c,a);c.classList.add(b);return c};function Vt(a,b,c){zt.call(this,a,b,c);S(new Q(this.data.Aa.Ug),"dapp")}m(Vt,zt); Vt.prototype.render=function(a){qf(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()&&Ot(1))Wt(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.xp;e.appendChild(g);this.data.Zf()&&Ot(1)&&Wt(this,e)}else if(this.data.Rd()&&Ot(1))Xt(this,e),Wt(this, e);else{Xt(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.tv||this.data.Aa.Gp){for(var k=h.search(ak),l=0,n,q=[];0this.maxWidth&&J(a,this.maxWidth,"")}; Vt.prototype.j=function(a){if(!(this.data.Rd()||this.data.Zf()||this.data.Zh())&&this.data.Aa.Rj&&Ot(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=Ut(this.data.Aa.Rj,"primary"),d=C("SPAN");d.innerText=" ";b.appendChild(d);b.appendChild(c)}a.appendChild(b)}zt.prototype.j.call(this,a);b=C("DIV",this.g+"-book-options");this.data.Aa.Yh?(this.data.Aa.sj?this.data.Aa.qj? Yt(this,b):Dt(this,b,"eBook - FREE",this.data.Aa.et,!this.data.Aa.Cs,void 0,"unified-hovercard-free-btn"):this.data.Zf()?(c=C("SPAN",this.g+"-pre-ordered","Pre-ordered"),b.appendChild(c)):this.data.Zh()&&Ot(1)?(c=C("DIV",this.g+"-cancelled"),d=this.data.Aa.Fs,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?Zt(this,b):this.data.Rd()&&Yt(this,b):Zt(this,b),Ot(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.Cp,Ic(Et,this.data.Aa.kq)&&!Db(c)?Dt(this,b,"Preview",c,void 0,void 0,"unified-hovercard-preview-sample"):Dt(this,b,"Preview",c,!1,!0,"unified-hovercard-preview-sample"));a.appendChild(b)}; function Wt(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=Ut(d,""),c.appendChild(d));a.data.Zf()||(d=C("DIV",{id:"unified-hovercard-delete-forever","class":a.g+"-footer-fake-link"},"Delete forever"),x(d,a.g+"-footer-action-link"),d.id="hovercard-delete-forever",c.appendChild(d));b.appendChild(c)} function Zt(a,b){a.data.Aa.ag&&!a.data.Rd()?Dt(a,b,"Pre-order eBook - "+a.data.Aa.Op,a.data.Aa.Lk,void 0,void 0,"unified-hovercard-buy-btn"):a.data.wl()?Dt(a,b,"EBOOK FROM "+a.data.Aa.Xu,a.data.Aa.Lk,void 0,void 0,"unified-hovercard-buy-btn"):Dt(a,b,"Buy eBook - "+a.data.Aa.Op,a.data.Aa.Lk,void 0,void 0,"unified-hovercard-buy-btn")}function Yt(a,b){Dt(a,b,"Read now",a.data.Aa.Gp,void 0,void 0,"unified-hovercard-read-now")} function Xt(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"),w=C("SPAN","goog-inline-block"),D=C("SPAN","goog-inline-block");a.data.Aa.nj?(x(n,e),x(q,e),x(w,e),x(D,e)):(a.data.Aa.oj?(x(n,e),x(q,e)):(x(n,g),x(q,g)),x(w,g),x(D,g));c.appendChild(n);c.appendChild(h); c.appendChild(q);c.appendChild(k);c.appendChild(w);c.appendChild(l);c.appendChild(D);c.appendChild(d);b.appendChild(c)};function $t(a,b,c){wt.call(this,a);this.Xb=Vl();this.j=this.Ba=this.o=null;this.Rb=b;this.i=null;this.Vb=!!c;this.render(b);au(this)}m($t,wt);$t.prototype.va=function(){At(this.i).Ha();F(this.ha())};$t.prototype.ai=function(a,b){wt.prototype.ai.call(this,a,b);this.isVisible()&&(this.Gl=this.Xb?new Tg(0,-2,0,0):new Tg(0,0,0,-2),this.isVisible()&&this.ng(),this.o=this.g,bu(this))}; $t.prototype.render=function(a){this.i&&(this.i.Ha(),this.j=this.Ba=null);this.i=new Vt(a,this.className,435,this.Vb);this.i.render(this.ha());au(this);this.isVisible()&&bu(this)}; function bu(a){var b=C("DIV"),c=C("DIV");var d=zh(a.o||null);var e=zh(a.ha());if(d){d.top=Math.ceil(d.top);e.top=Math.ceil(e.top);d.left=Math.ceil(d.left);e.left=Math.ceil(e.left);var g=e.top>=d.top,h=ah(e,d);h||(h=new Xg(d.left,0,d.width,0));d=a.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));vj(b,"mouseover",this.na.bind(this,b))};cu.prototype.oa=function(){this.dispatchEvent("render");du.dispatchEvent("complete");this.s&&yh(this.s,L(this.j).width)};cu.prototype.na=function(a,b){(new $t(a,this.i)).Ke(b)};function eu(a,b,c){cu.call(this,a,b-40,c);this.N=C("DIV","slider-annotation");this.O=!1}m(eu,cu);eu.prototype.Qc=function(a){vj(this,"render",r(this.ua,this));cu.prototype.Qc.call(this,a);a.appendChild(this.N)};eu.prototype.ua=function(a){this.O||(a.stopPropagation(),a=this.ma(),this.N.appendChild(a),this.O=!0,this.dispatchEvent("render"))};function fu(a,b,c){eu.call(this,a,b,c)}m(fu,eu);fu.prototype.Qc=function(a){eu.prototype.Qc.call(this,a)};fu.prototype.ma=function(){var a=this.i,b=E("DIV"),c=C("A",{className:"slider-annotation-title"},nf(a.hb()));oe(c,a.Aa.Ug);b.appendChild(c);if(a=a.Aa.Gk)a=C("DIV","slider-annotation-author",nf(a)),b.appendChild(a);J(b,L(this.j).width+5,"");return b};function gu(){this.g=hu;this.kg=5E3}var iu=0;gu.prototype.send=function(a,b,c,d){a=a?Nc(a):{};d=d||"_"+(iu++).toString(36)+Date.now().toString(36);var e="_callbacks___"+d;b&&(p[e]=ju(d,b),a.callback=e);b={timeout:this.kg,Is:!0};e=kd.exec(jd(this.g).toString());var g=e[3]||"";e=ld(e[1]+md("?",e[2]||"",a)+md("#",g,void 0));b=wo(e,b);so(b,null,ku(d,a,c),void 0);return{lb:d,$n:b}};gu.prototype.cancel=function(a){a&&(a.$n&&a.$n.cancel(),a.lb&&lu(a.lb,!1))}; function ku(a,b,c){return function(){lu(a,!1);c&&c(b)}}function ju(a,b){return function(c){lu(a,!0);b.apply(void 0,arguments)}}function lu(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 mu(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(mu,P);f=mu.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[nu(this,a)];c=!!d&&b.xl&&b.xl(d);d&&!c&&this.s!=a&&this.Le(a)}c||this.eg();break;case "canceldismiss":ou(this);break;case "dismiss":pu(this)}};f.ji=function(a){this.N!=a&&(this.N=a,this.ma.Kp(this.N,10,r(this.Mu,this)),ou(this))};f.qd=function(){return this.j.isVisible()}; function qu(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 su(a){var b=0,c=0;uu(a)&&(b=a.selectionStart,c=-1);return[b,c]}function uu(a){try{return"number"==typeof a.selectionStart}catch(b){return!1}};function vu(a,b,c,d){aj.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.qp),this.i.ka(this.Mb,"keypress",this.np),this.If=!0),!0}return yu(this,a)};function yu(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.Mt=function(){return!1};f.Lm=function(a){xu(this,a.target||null)}; function xu(a,b){Lj(a.N);a.g&&ou(a.g);b!=a.Mb&&(a.Mb=b,a.Ya&&(a.Ya.start(),a.i.ka(a.Ya,"tick",a.Nm)),a.Dl=a.Ab(),a.s.attach(a.Mb),a.i.ka(a.s,"key",a.Mm),a.i.ka(a.Mb,"mousedown",a.rp),z&&a.i.ka(a.Mb,"keypress",a.mp))}f.Mq=function(){this.Mb&&(this.i.Xa(this.s,"key",this.Mm),xq(this.s),this.i.Xa(this.Mb,"keyup",this.Mt),this.i.Xa(this.Mb,"mousedown",this.rp),z&&this.i.Xa(this.Mb,"keypress",this.mp),this.If&&zu(this),this.Mb=null,this.Ya&&(this.Ya.stop(),this.i.Xa(this.Ya,"tick",this.Nm)),this.g&&pu(this.g))}; f.Nm=function(){this.update()};f.gv=function(a){this.Lm(a)};f.Mm=function(a){this.ma=a.keyCode;this.g&&this.Sc(a)};f.np=function(){this.If&&229!=this.ma&&zu(this)};f.qp=function(a){this.If&&(13==a.keyCode||77==a.keyCode&&a.ctrlKey)&&zu(this)};f.rp=function(){};function zu(a){a.If&&(a.If=!1,a.i.Xa(a.Mb,"keypress",a.np),a.i.Xa(a.Mb,"keyup",a.qp))}f.mp=function(a){yu(this,a)}; f.update=function(a){if(this.Mb&&(a||this.Ab()!=this.Dl)){if(a||!this.Rl){a=su(this.Mb)[0];var b=this.Ab();a=tu(this,b)[ru(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 ru(a,b,c){a=tu(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=Nf(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&&Fu(a,b,d)}}else for(b=b.firstChild;b;)d=b.nextSibling,Fu(a,b,c),b=d}function Gu(a){var b="";if(!a)return b;Array.isArray(a)&&(a=a.filter(function(c){return!Db(Oe(c))}));Array.isArray(a)?b=0Na()-this.wa)&&this.dispatchEvent({type:"hilite",Ef:this.i[a].id})};function Iu(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 Ju;c=new Ku(this.Ka||a,this.Ba);c.ua=!0;d=new vu(null,null,!1);mu.call(this,b,c,d);d.g=this;d.Lq(a);this.O=a;this.hk=!1;this.Ek=!0;O(this,"update",r(this.Ja,this))}u(Iu,mu);Iu.prototype.eg=function(){this.La=this.ua.value;Iu.ta.eg.call(this);return!1}; Iu.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 Ju(){}var hu=ld(Xc(Yc("//suggestqueries.google.com/complete/search")));Ju.prototype.Kp=function(a,b,c){a={client:"books",ds:"bo",q:a};c=r(this.g,this,c);this.i&&this.i.cancel();this.i=new gu;this.i.send(a,c)};Ju.prototype.g=function(a,b){var c=Array.prototype.map.call(b[1],function(d){return d[0]});a(b[0],c)}; function Ku(a,b){Au.call(this);this.Ja=a;this.La=b||0}u(Ku,Au);Ku.prototype.ik=function(){Ku.ta.ik.call(this);var a=0,b=B("gbfwa");b||(b=$e("gbqfwa"));b&&(a=b.offsetTop+b.offsetHeight-1);Array.prototype.forEach.call(Xe("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 Lu(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||x(this.O,"slider-small");this.ma=[];this.j=E("A");this.j.textContent=Vl()?"\u203a":"\u2039";this.j.setAttribute("title","Scroll left");Eh(this.j,!0);this.O.appendChild(this.j);this.i=E("div");x(this.i,"slider-drawables");this.O.appendChild(this.i);this.o=E("A");this.o.textContent=Vl()?"\u2039":"\u203a";this.o.setAttribute("title","Scroll right");Eh(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&&uc("8")&&!uc("9")&&Vl();c&&Mu(this,c)}u(Lu,W);function Nu(a){var b=Math.ceil(1.25*Ou(a));b=Math.min(a.ma.length,a.oa+b);v(a.ma.slice(a.oa,b),r(a.Xs,a));a.wi();a.oa=b;b>=a.ma.length&&a.dispatchEvent("render")}f=Lu.prototype; f.Xs=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.Zs.bind(this,b,c));a.Qc(c)};f.Zs=function(a,b){F(a);this.wi();M(b,!0)};function Mu(a,b){b=b.map(function(c){return this.N?new fu(c,this.Cb):new cu(c,this.Cb,this.ua)},a);Pu(a,b)}function Pu(a,b){kb(a.ma,b);Nu(a)} f.Kl=function(a){(Vl()?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 Ou(a){var b=a.N?110:50;return Math.ceil(L(a.i).width/b)};function Qu(a,b,c){W.call(this);this.i=a;this.source=b?b:"gbs_bookshelf_slider";this.ma=0;this.o=new Nj;this.ua=this.o.Fa();this.oa="";this.wa="boolean"===typeof c?!c:!1;vj(this.o,"resize",r(this.Rm,this))}m(Qu,W);f=Qu.prototype;f.Rm=function(){this.o.Fa().width>this.ua.width?this.Gh():vj(this.o,"resize",r(this.Rm,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 Lu(this.N,!0,void 0,void 0,this.i.getId())}; f.Gh=function(){this.j.resize();var a=Math.ceil(1.25*Ou(this.j))+1,b=this.nf(this.ma,a);b&&(this.ma+=a,vl(b,r(this.mu,this)))};f.Mg=ba(2);f.mu=function(a){a=a.target;if(Dl(a)){if((a=(new Mt(Fl(a))).g)&&a.length){var b=dp(a[a.length-1].Aa.Ug);this.oa!=b&&(this.oa=b,Pu(this.j,Ru(this,a)));(a=Kf(this.ha()))&&Ah(a,1)}else 0==this.j.oa&&this.Jp();this.dispatchEvent("success")}}; function Ru(a,b){return a.Rk(b).map(function(c){return this.j.N?new fu(c,200,this.i.getId()):new cu(c,80,this.i.getId())},a)}f.Jp=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 Su(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(Su,Il);Su.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.":bv(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 av(a){a=a.hb();var b;/[^0-9]/.test(a)||Db(a)?b=null:b=Cb(a,"B")?hs(a,ks):hs(a,js);return b} function bv(a,b){a=av(a);b=av(b);return 0==a+1-(b-1)};function cv(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=We("IMG",e);if(1==b.length){b= b[0].cloneNode(!0);var g=c.insertRow(-1).insertCell(-1);tf(g,b,0);x(g,"separator-message");x(g,"separator-pubinfo-message")}b=$u(this.s,this.j);e=Hf(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,mi(e)):N(g,mi(b+""+e));x(c,"separator-message");x(c,"separator-pubinfo-message")}x(a,"separator-pubinfo");x(d,"separator-pubinfo")}else a=c.insertRow(-1).insertCell(-1),x(a,"separator-message"),a.textContent=$u(this.s,this.j);Eh(this.i, !0);U(this.i)}m(cv,mm);cv.prototype.mb=function(a){J(this.i,a)};cv.prototype.setPosition=function(a){jh(this.i,a)};cv.prototype.Na=function(){F(this.i)};function dv(a){var b=this;W.call(this);this.o=a;this.j=a.s;this.mb(Ih(this.j));this.Gb=new A(0,0);this.O=null;this.na=new bm(function(){M(b.O,!1)},600);bj(this,this.na)}u(dv,W);f=dv.prototype;f.mb=function(a){if(!this.i||!Ae(this.i,a)){this.i=a;var b=this.o;b.ma=a;ev(b);this.dispatchEvent("resize")}};f.Xc=function(a){this.wc=a;this.N.Na();var b=this.o,c=this.Fa();b.ma=c;ev(b);b=this.o;a=new ze(a.Bb(),a.Db());b.oa=a;b.o=!0;J(b.i,a);T(b.na,0,b);ev(b);this.dispatchEvent("layoutchange")}; function fv(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));Lp(this.N,a);this.dispatchEvent("update")};function gv(a,b){a.oa=b} f.Yc=function(a){var b=this.Gb.x,c=this.Gb.y;"number"===typeof a.x&&(a.x=ve(a.x,0,Math.max(this.wc.Bb()-this.i.width,0)));"number"===typeof a.y&&(a.y=ve(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 im([b.x,b.y],[a.x,a.y],250+250*ve(xe(b,a)/800,0,1),lm),O(this.s,"animate",r(this.Tm,this)),O(this.s,"end",r(this.Oq,this)),this.dispatchEvent("movestart"),vj(this,"movestart",r(this.s.Ha,this.s)),this.s.play())};f.Tm=function(a){a=a.coords.map(Math.round);this.Yc(new A(a[0],a[1]))};f.Oq=function(a){this.Tm(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(){dv.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.bt=function(){var a=this;this.na.stop();M(this.O,!0);T(function(){a.O.style.opacity=1})};f.Sm=1;function jv(a,b){dv.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.bt,a))}u(jv,dv);f=jv.prototype;f.Ld=function(){var a=this.wc.Kd(),b=[];this.oa&&(a=this.oa.ki(a)[0]||[]);v(a,function(c){c instanceof Tl&&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=Np(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=rm(new qm(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(){kv&&(this.el().Na(),this.wa&&this.wa(),this.hc())};var kv=!0;function lv(a,b){this.Ea=a;this.g=b}m(lv,np);lv.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.wu=e.width;b.tu=e.height;b.setPosition(a.be(),a.od());b.ub(c);b.Qc();return b};function mv(){};function nv(a){this.Ea=a}u(nv,mv);nv.prototype.bl=function(a){var b=this.ki(a);a=b[0]||[];b=b[1]||[];b.sort(t(ov,this.Ea.Kc()));var c=[];kb(c,a,b);return c};function ov(a,b,c){return Wg(Yg(Jl(b)),a)-Wg(Yg(Jl(c)),a)}nv.prototype.ki=function(a){var b=hv(this.Ea),c=new Xg(b.left-800,b.top-800,b.width+1600,b.height+1600);return pb(a,function(d){d=Jl(d);if(ah(c,d))return ah(b,d)?0:1})};function pv(a,b){this.Ea=b;this.V=a}m(pv,nv);pv.prototype.bl=function(a){var b=nv.prototype.bl.call(this,a),c=this.V.Ga();if(c){var d=[],e=this.V.rb();v([1,-1],function(){var g=io(e,c.Pa(),1);g&&d.push(g)});v(a,function(g){g.Ga&&db(d,g.Ga())&&eb(b,g)})}return b};function qv(){W.call(this)}u(qv,W);qv.prototype.te=function(a){this.i=a;this.s=rv(a)};qv.prototype.va=function(){qv.ta.va.call(this);F(this.s)};function sv(a){W.call(this);this.ma=a;this.O=[]}u(sv,qv);f=sv.prototype;f.te=function(a){sv.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=tv(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}),Ah(e,.3));this.O.push(new Xg(a[0],a[1],a[2],a[3]));return e}; function uv(a){return a.i.Fa().width/a.i.Ga().getParent().g.width}function tv(a,b,c,d,e){var g=uv(a);return Ya([b,c,d,e],function(h){return Math.round(h*g)})}function vv(a,b){v(b,function(c){this.nh.apply(this,c)},a)}f.io=function(a){return this.nh(a.left,a.top,a.width,a.height)};f.vg=function(){qf(this.s);this.O=[]};f.oh=Da;function wv(){sv.call(this)}m(wv,sv);f=wv.prototype;f.oh=function(){if(!this.j){var a=this.Ga();a&&(a=Dp(a))&&(vv(this,a),this.j=!0)}}; f.nh=function(a,b,c,d){this.o=sv.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=tv(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.Pq,this));O(this.o,"mouseover",r(this.Uo,this,!0));vj(this.N,"click",r(this.Na,this));return this.o};f.Na=function(){F(this.o)}; f.Pq=function(a){Af(this.o,a.target)||this.Uo(!1)};f.Uo=function(a){I(this.N,{display:a?"":"none"})};function xv(a){sv.call(this);this.V=a}m(xv,sv);xv.prototype.oh=function(){if(!this.j){var a=this.Ga();a&&(a=Cp(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)}};xv.prototype.o=function(a,b){(a=jo(this.V.rb(),a))?this.V.ub(a):So(this.V,b)};function yv(a,b){this.s=a;this.g=b}yv.prototype.Ga=function(){return this.s};yv.prototype.i=function(){return this.s.xd(this.g)};function zv(a,b,c){yv.call(this,a,b);this.j=c}m(zv,yv);zv.prototype.i=function(){return this.j.width>this.g.width?this.s.xd(this.j):yv.prototype.i.call(this)};function Av(a,b,c,d,e){W.call(this);this.$g(a.Ia());this.V=a;this.i=c;this.na=[];this.Um=d;J(d,c);this.ua=rv(this);I(this.ua,"backgroundColor","#fff");J(this.ua,c);if(this.Ba=void 0!==e?e:!0)a=rv(this),J(a,c),this.wa=new Bv(a),this.wa.show();b&&(this.s=b,this.g.ka(b,"update",this.wg),Uo(b))}u(Av,W);f=Av.prototype;f.Fa=function(){return this.i};f.Ga=function(){return this.s};function Cv(a,b){a.na.push(b);b.te(a)}f.wg=Da;function Dv(a){a.dispatchEvent("load");a.Ba&&a.wa.kb()} function rv(a){var b=E("div");U(b,!0);I(b,{position:"absolute",left:0,top:0});a.Um.appendChild(b);return b}f.Na=function(){v(this.na,function(a){a.Ha()});this.na=null;this.o&&F(this.o)};function Ev(a){a.N=rv(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.Qq);a.g.ka(a.N,"dragstart",ej)}f.Qq=function(a){a.display=this;Fv.dispatchEvent(a)};var Fv=new P; function Bv(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}}Bv.prototype.show=function(a){I(this.g,{display:a?"none":""})};Bv.prototype.kb=function(){this.show(!0)};Av.prototype.Yl=function(){Gv(this)};function Gv(a,b){a.o&&F(a.o);a.o=rv(a);new Hv(a.o,a.Fa(),b)} function Hv(a,b,c){this.g=a;I(a,{backgroundColor:"#FFF",textAlign:"center"});J(a,b);N(a,Gl(c||""));U(this.g)};function Iv(a,b,c){Av.call(this,a,b.Ga(),b.g,c);this.$g(Jv);a=rv(this);this.ma=new Kv(b.g,a);a=rv(this);this.O=new Kv(b.g,a);Ev(this);Eh(c,!0);x(c,"pageImageDisplay");this.oa=b;b.Ga()&&this.wg()}m(Iv,Av);f=Iv.prototype;f.ub=function(a){wp(a,"output",null);Av.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=Lv(b);vj(this.ma,"load",r(this.Rq,this,a,b,this.Fa().width));Mv(this.ma,[b]);var c=No(this.V.Xb,a.Pa());c.push(b);Mv(this.O,c);this.j=!0;a==this.V.Ga()&&this.dispatchEvent("fetch")}zp(a,[16,8])&&(a=Be('%s',bp("/googlebooks/restricted_logo.gif"),"You have either reached a page that is unavailable for viewing or reached your viewing limit for this book."),Gv(this, a),Dv(this))};f.Rq=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;Dv(this)};f.mc=ba(7);f.Na=function(){this.j=!1;this.ma.empty();this.O.empty();Av.prototype.Na.call(this)};var Jv=new P,Lv=Cc;function Kv(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(Kv,P);Kv.prototype.empty=function(){for(var a;a=wf(this.j);)kp(a)}; function Mv(a,b){gp(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 nl(100),this.g.ka(this.O,"tick",this.Vq));this.ma=d;d.x||d.y?this.O.start():this.O.stop()}}};f.Vq=function(){var a=this.ma,b=this.Ea;iv(b,new A(15*a.x,15*a.y),r(b.Ed,b))}; f.$s=function(){Dj(this.N);$i(this.O);this.O=null};function Yv(){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);vm(a,"hidden",!0);document.body.appendChild(a);this.s=a}Yv.prototype.show=function(){this.g?(this.i(),T(r(this.j,this),500)):this.j();T(r(this.i,this),6E3)};Yv.prototype.j=function(){I(this.s,"bottom","0");this.g=!0};Yv.prototype.i=function(){I(this.s,"bottom","-48px");this.g=!1};function Zv(a){this.i=a;this.s=new Yv;this.j=$v(this)}Zv.prototype.ha=function(){return this.j}; function $v(a){var b=C("DIV");xb(b,["entity-page-copy-button","entity-page-action-chip"]);var c=C("IMG");x(c,"entity-page-action-chip-icon");c.src="https://www.gstatic.com/images/icons/material/system/1x/content_copy_googblue_18dp.png";var d=C("SPAN");x(d,"entity-page-action-chip-label");G(d,"Copy");b.appendChild(c);b.appendChild(d);O(b,"click",r(a.g,a));um(b,"button");Gf(b,!0);O(b,"keydown",function(e){32!=e.keyCode&&13!=e.keyCode||a.g.call(a)});return b} Zv.prototype.g=function(){this.i.focus();this.i.select();document.execCommand("copy");this.s.show()};function aw(a){zr.call(this,a);hn(this);this.Vn=!1;this.g=new Gj;this.i=rp();x(a,"viewport-selection-popup");bw&&bw.Ha();bw=this}m(aw,zr);aw.prototype.j=function(){this.dispatchEvent("close");this.Ha()}; function cw(a,b,c){var d=a.ha(),e=E("div");x(e,"selection-popup-select-container");d.appendChild(e);d=E("div");x(d,"selection-popup-select-label");e.appendChild(d);d.appendChild(nf(b));e.appendChild(E("div"));b=E("input");b.value=c;x(b,"viewport-input");e.appendChild(b);Eh(b,!1);a.i&&(c=(new Zv(b)).ha(),e.appendChild(c));a.g.ka(b,"mousedown",dw)}function dw(a){a.stopPropagation()}aw.prototype.va=function(){F(this.ha());zr.prototype.va.call(this);this.g.Ha()};var bw=null;function ew(a,b){this.g=a instanceof A?a:new A(a,b)}u(ew,rr);ew.prototype.Pc=function(a,b,c,d){var e=Ue(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=tr(a);g-=h.x;e-=h.y;vr(new A(g,e),a,b,c,null,null,d)};function fw(a,b){ew.call(this,a,b)}u(fw,ew);fw.prototype.i=0;fw.prototype.s=function(a){this.i=a};fw.prototype.Pc=function(a,b,c,d){var e=mh(a);e=ph(e);var g=hf(Se(a).g);g=new A(this.g.x+g.scrollLeft,this.g.y+g.scrollTop);var h=b,k=vr(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=vr(g,a,h,c,e,10,d);0!=(k&496)&&vr(g,a,b,c,e,this.i,d)}};function gw(a){sv.call(this,"#4a95d6");this.j=a}m(gw,sv);gw.prototype.te=function(a){sv.prototype.te.call(this,a);I(this.s,{cursor:"pointer"});this.g.ka(this.s,"mousedown",hw)};function hw(a){a.stopPropagation()} function Vv(a,b,c,d){a.vg();Ya(b,r(a.io,a));a.N&&Dj(a.N);a.o&&a.o.Ha();b=E("div");document.body.appendChild(b);var e=Rv(a.O);if(e){var g=qh(a.s);b=new aw(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=Be('',n.toString(),l)}d=n;qf(b.ha());n=b.ha();h=E("IMG");h.src="/googlebooks/images/material/close_black_24dp.png";x(h, "selection-popup-close");n.appendChild(h);b.g.yf(h,"click",r(b.j,b));h=C("DIV",{},"Share this clip");x(h,"selection-popup-title");n.appendChild(h);c&&(cw(b,"Selection text",c),n=E("DIV"),x(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"),x(h,"entity-page-action-chip-label"),c.appendChild(h),h=E("SPAN"),G(h,"\u00bb"),x(h,"selection-popup-translate-arrow"),c.appendChild(h),x(c,"selection-popup-translate-link"),x(c,"entity-page-action-chip"),n.appendChild(c));l&&cw(b,"Image",l);d&&cw(b,"Embed",d)}else c=E("DIV"),G(c,"Loading..."),x(c,"selection-popup-loading-msg"),b.ha().appendChild(c);Ar(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(iw,b,new fw(new A(c, e))));a.N=vj(b,"close",r(a.vg,a))}}function iw(a,b){a.Hd||(a.setPosition(b),a.Da(!0))}gw.prototype.vg=function(){sv.prototype.vg.call(this);this.o&&this.o.Ha()};gw.prototype.va=function(){sv.prototype.va.call(this);this.o&&this.o.Ha();this.N&&Dj(this.N)};function jw(a,b,c){return a.Za().hj()?new Nv(a,b,c):new Iv(a,b,c)}function kw(a,b){if(b instanceof Iv){Cv(b,new Ov(a.tb()));Cv(b,new wv);var c=new gw(a.Fb()),d=new Wv(c,a.Ia());Cv(b,d);Cv(b,c);Cv(b,new xv(a))}};function lw(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(lw,mm);f=lw.prototype; f.Qc=function(){var a=this.yj-2,b=this.Xg-2,c=this.wu-2,d=this.tu-2;I(this.N,{backgroundColor:"#cccccc",position:"absolute"});jh(this.N,0,0);J(this.N,this.yj,this.Xg);I(this.O,{overflow:"hidden",backgroundColor:"#fcfcfc",position:"absolute"});jh(this.O,1,1);J(this.O,a,b);this.show();var e=this.V;a=jw(e,new zv(this.Ga(),new ze(a,b),new ze(c,d)),this.O);a instanceof Iv?kw(e,a):a instanceof Nv&&a instanceof Nv&&Cv(a,new Ov(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){jh(this.j,a,b)};f.od=function(){return lh(this.j).x};f.be=function(){return lh(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 mw(a){return a+2}f.Fa=function(){return new ze(this.yj,this.Xg)};function nw(a){W.call(this);qf(a);U(a);this.s=a;this.i=E("div");U(this.i,!0);Vl()&&(cf(a,{dir:"ltr"}),cf(this.i,{dir:"rtl"}));a.appendChild(this.i)}u(nw,W);function ow(a,b){nw.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");x(this.j,"scroll-background");U(this.j,!0);b.appendChild(this.j);this.j.appendChild(this.i)}m(ow,nw);function ev(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"))}ow.prototype.na=function(){this.o=!1;this.N()}; ow.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);we(a,b)||(this.O=!0,this.Ea.Ed(b),this.O=!1)}}};function pw(a){var b=a.Fb(),c=new ow(this,b);qw(b);jv.call(this,a,c);gv(this,new pv(a,this));fv(this,rw(this));var d=a.rb(),e=a.Za().Wf();this.ma=a.Za().O?function(g){return new Xu(d,e,g)}:a.Za().na?function(g){return new Xu(d,e,g,!0,a.Za().na)}:function(g){return new Xu(d,e,g,!0)};b=this.vb.Za();"fixed_height"==b.Wf()?(b=b.ee(),b=b[Math.floor(b.length/2)]+2):b=sw(b)+2;this.ih(b);this.g.ka(this.vb,"pagesupdate",this.Wt);this.g.ka(this.vb,"pagemodechange",this.Wq);this.g.ka(this,"move",this.hc);this.g.ka(this, "move",this.hw)}u(pw,jv);function qw(a){I(a,"overflow","auto");I(a,{overflowX:"auto",overflowY:"scroll"});x(a,"overflow-scrolling");cf(a,{dir:"ltr"})}f=pw.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 Mp(Ya(b,mw))};f.Ig=function(a){return this.ma(a)}; f.Fa=function(){if(this.j.hasChildNodes()){var a=Ih(this.j.childNodes[0]).width;a=new ze(a,this.i.height)}else a=this.i;return a};function rw(a){var b=new Jp;Kp(b,Tl,new lv(a,t(Dc,lw,a.vb,a,a.o.i)));Kp(b,Su,new Zu(a.vb,function(c){return new cv(a.o.i,c)}));return b}f.hw=function(){if(this.Ca){var a=Ml(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.Wt=function(){var a=this.vb.Ga(),b=this.vb.rb(),c=jo(b,a.Pa());if(!c)a:{c=go(a);b=ho(b);for(a=b.length-1;0=go(c)&&ea.x&&(a.x=0);jh(this.i,a)};f.Ot=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();)Dj(a);this.i.parentNode&&F(this.i)};function Hw(a){return 2*a};function Iw(a){this.V=a}m(Iw,np);Iw.prototype.render=function(a){var b=new Fw(this.V,a.Fa().width);b.setPosition(a.nd());b.Qc();b.Da(!0);return this.g=b};function Jw(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=Vl()}m(Jw,P);Jw.prototype.xf=function(){return this.i};function Kw(a,b){if(b!=a.i){a.i=b;var c=a.V.Ia().o.i;M(c,!1);L(c);[t(Lw,a.j,a.N,a.o,a.g,b),r(a.s,a),t(M,c,!0)].forEach(T)}}Jw.prototype.s=function(){this.dispatchEvent("change")};function Lw(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 Mw=null;function Nw(a,b){Gj.call(this);this.i=Mw;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(Nw,Gj);Nw.prototype.s=function(){var a=this.g.ma.g.Ld()[0]||new fp,b=this.g.ma.g.Ld()[1]||new fp,c=this.O,d=this.o,e=d?go(d):-1,g=go(a)||-1,h=go(b)||-1,k=Math.max(c?go(c):-1,e),l=Math.max(g,h);if(Math.abs(l-k)>this.g.Sm){if(0l-k&&(n=-1!=h?b:a,q=d);1=go(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(Zw,this.s));this.N&&(a=new Q(a.Ac()),R(a,"output","embed"),this.Fe.value=$w(a.toString()))};Yw.prototype.Xl=function(){Xw.prototype.Xl.call(this);this.g.ka(this.s,"click",t(Zw,this.s));this.N&&this.g.ka(this.Fe,"click",t(Zw,this.Fe))};function Zw(a){a.select()}function $w(a){return Be('',a)};function ax(a,b){W.call(this);this.Ea=a;this.j=b;this.i=E("div");a.o.i.appendChild(this.i);x(this.i,"sitb_result");jh(this.i,b.nd());J(this.i,b.Fa());a=E("div");x(a,"sitb-result-header");this.i.appendChild(a);this.o=E("div");x(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");x(this.s,"sitb-result-content");this.i.appendChild(this.s);if(b=jo(this.Ea.V.rb(),this.j.g.Pa())){a=this.Ea.V.tb().getQuery();var c=b.ob.snippetSrc;c&&a==Ko(c)? bx(this,c):(a=b.nf(),"entity_page"==S(a,"source")?R(a,"source","entity_page_gbs_snippet"):R(a,"source","gbs_snippet"),up(b,a,r(this.O,this)))}else cx(this)}m(ax,mm);ax.prototype.N=function(a){this.Ea.uf(a.g)};ax.prototype.O=function(a){(a=a.ob.snippetSrc)?bx(this,a):cx(this)};function bx(a,b){qf(a.s);var c=E("IMG");c.src=b;dx(a);b=a.j.Fa().width-25;I(c,{width:b+"px"});a.s.appendChild(c)} function dx(a){x(a.i,"sitb-result-clickable");x(a.o,"sitb-result-link");var b=Hf(a.o);N(a.o,Ri(b+" »"));um(a.i,"link");Gf(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 cx(a){qf(a.s);var b=E("div");x(b,"sitb-result-snippet");a.s.appendChild(b);I(b,{width:Math.floor(.75*a.j.Fa().width)+"px"});N(b,Gl(a.j.g.i));b=E("div");x(b,"sitb-result-explanatory-link");a.s.appendChild(b);var c=jo(a.Ea.V.rb(),a.j.g.Pa());c&&c.xd()&&!zp(c,[4,8,16])&&c.s(2)?(dx(a),N(b,Ri("We couldn't make an image for this result.  ")),a=E("span"),N(a,Ri("Click to view the whole page.")),b.appendChild(a),x(a,"sitb-result-link")):(N(b,Ri("No preview available for this page.  ")), a=E("a"),x(a,"sitb-result-buy-link"),N(a,Ri("Buy this book.")),b.appendChild(a),b=new Q(window.location.href),R(b,"sitesec","buy"),R(b,"source","gbs_snippet"),qk(b,"printsec"),a.href=b.toString())}ax.prototype.Na=function(){F(this.i);this.Ha()};function ex(a){this.Ea=a}m(ex,np);ex.prototype.render=function(a){return new ax(this.Ea,a)};function fx(a){this.g=a}m(fx,Il);function gx(a,b){Tu.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)),Pl(this))}m(gx,Tu);gx.prototype.s=function(a){a=new fx(a);var b=Math.min(this.N-16,600);a.mb(new ze(b,Math.round(124/600*b+42)));this.Sa(a)};function hx(a){var b=a.Fb();I(b,"overflow","hidden");var c=new ow(this,b);dv.call(this,c);this.V=a;gv(this,new nv(this));this.g.ka(this,"move",this.hc);var d=B("subscription-bar");d&&(this.Yk(d),T(function(){M(d,!1)},600));fv(this,ix(this));jx(b)}u(hx,dv);function jx(a){I(a,"overflow","auto");I(a,{overflowX:"auto",overflowY:"scroll"});cf(a,{dir:"ltr"})}function ix(a){var b=new Jp;Kp(b,fx,new ex(a));return b}hx.prototype.resize=function(){kx(this)}; function kx(a){var b=new gx(a.Jb,a.Fa().width);a.Xc(b);a.hc()}hx.prototype.uf=function(a,b){return this.Ba(a,b)};function lx(a){this.g=a||{}}lx.prototype.lc=function(){return this.g};lx.prototype.qc=function(a){var b=Jc(mx,function(c){return c==a});this.g.v=b};lx.prototype.getQuery=function(){return this.g.q};var mx={onepage:pw,twopage:Uw,thumbnail:xw,snippet:hx};function nx(a,b){this.g=new Lr;O(this.g,"navigate",r(this.o,this));this.V=a;this.i=b}nx.prototype.o=function(a){ox(this,a.o)};function ox(a,b){if(!(a.s&&""==b||a.j))if((z||dc)&&""==b)window.history.go(-2);else if(b){var c={},d=new ik(b);v(d.ae(),function(e){var g=d.get(e);g in px&&(g=px[g]);c[e]=g});b=new lx(c);a.V.qc(mx[b.g.v]||pw);Kw(a.i,!!b.g.f);void 0!==b.getQuery()&&Jo(a.V.tb(),b.getQuery())}} nx.prototype.Ta=function(a){this.s=!0;this.g.Ta(a);z&&(a=(new Q(window.location)).g,ox(this,a));this.s=!1};nx.prototype.update=function(){var a=new lx;a.qc(this.V.O);a.g.q=this.V.tb().getQuery();a.g.f=this.i.xf();a=tk(a.lc()).toString();this.j=!0;this.g.ji(a);this.j=!1};var px={"true":!0,"false":!1};function qx(){this.i=[]}u(qx,Gq);Ea(qx);function rx(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=qx.prototype;f.sg=function(){return"menuitem"};f.Oc=function(a){var b=a.g.Ra("DIV",Jq(this,a).join(" "),sx(this,a.Gc(),a.g));tx(this,a,b,Oq(a,8)||Oq(a,16));return b};f.Ic=function(a){return a&&a.firstChild}; f.Sb=function(a,b){var c=wf(b),d=rx(this,2);c&&wb(c,d)||b.appendChild(sx(this,b.childNodes,a.g));wb(b,"goog-option")&&(a.ii(!0),this.ii(a,b,!0));return qx.ta.Sb.call(this,a,b)};f.tg=function(a,b){var c=this.Ic(a),d=ux(this,a)?c.firstChild:null;qx.ta.tg.call(this,a,b);d&&!ux(this,a)&&c.insertBefore(d,c.firstChild||null)};function sx(a,b,c){a=rx(a,2);return c.Ra("DIV",a,b)}f.Rp=function(a,b,c){a&&b&&tx(this,a,b,c)};f.ii=function(a,b,c){a&&b&&tx(this,a,b,c)}; function ux(a,b){return(b=a.Ic(b))?(b=b.firstChild,a=rx(a,1),!!b&&yf(b)&&wb(b,a)):!1}function tx(a,b,c,d){Mq(a,c,b.rf());Nq(a,b,c);d!=ux(a,c)&&(Ab(c,"goog-option",d),c=a.Ic(c),d?(a=rx(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 rx(this,0);case 16:case 8:return"goog-option-selected";default:return qx.ta.Kh.call(this,a)}}; f.fj=function(a){var b=rx(this,0);switch(a){case "goog-option-selected":return 16;case b:return 2;default:return qx.ta.fj.call(this,a)}};f.Wa=function(){return"goog-menuitem"};function vx(a,b,c,d){Rq.call(this,a,d||qx.Eb(),c);this.xc(b)}u(vx,Rq);f=vx.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){vx.ta.Zb.call(this,a,b);switch(a){case 8:Pq(this,16)&&!b&&this.Ff(!1);(a=this.ha())&&this.wd().Rp(this,a,b);break;case 16:(a=this.ha())&&this.wd().ii(this,a,b)}};f.Rp=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 yf(b)&&(wb(b,"goog-menuitem-accel")||wb(b,"goog-menuitem-mnemonic-separator"))?"":Jf(b)}).join(""),Ee(a)):vx.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&&we(c,new A(a.clientX,a.clientY)))return}vx.ta.he.call(this,a)};f.fe=function(a){return a.keyCode==this.Il&&this.Qe(a)?!0:vx.ta.fe.call(this,a)};f.ft=function(){return this.Il}; yq("goog-menuitem",function(){return new vx(null)});vx.prototype.rf=function(){return Oq(this,16)?"menuitemcheckbox":Oq(this,8)?"menuitemradio":vx.ta.rf.call(this)};vx.prototype.getParent=function(){return Rq.prototype.getParent.call(this)};vx.prototype.Sg=function(){return Rq.prototype.Sg.call(this)};function wx(a,b,c){vx.call(this,a,b,c);this.ii(!0)}u(wx,vx);yq("goog-checkbox-menuitem",function(){return new wx(null)});function xx(a){wx.call(this,He(a.hb()),a.getId());this.i=a}m(xx,wx);xx.prototype.Nb=function(a){wx.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:"+(Vl()?"left":"right")});a=C("DIV","goog-menuitem-accel",a,nf(String(this.i.wa)));tf(this.Ib(),a,1)}};function yx(a,b,c,d){xr.call(this,a,b,c||d);(c||d)&&this.s(65|(d?32:132))}u(yx,xr);function zx(){}u(zx,Gq);Ea(zx);zx.prototype.Wa=function(){return"goog-menuheader"};function Ax(a,b,c){Rq.call(this,a,c||zx.Eb(),b);this.Zb(1,!1);this.Zb(2,!1);this.Zb(4,!1);this.Zb(32,!1);this.Vd=1}u(Ax,Rq);yq("goog-menuheader",function(){return new Ax(null)});function Bx(){}u(Bx,Gq);Ea(Bx);Bx.prototype.Oc=function(a){return a.g.Ra("DIV",this.Wa())};Bx.prototype.Sb=function(a,b){b.id&&a.Zg(b.id);if("HR"==b.tagName){var c=b;b=this.Oc(a);rf(b,c);F(c)}else x(b,this.Wa());return b};Bx.prototype.tg=function(){};Bx.prototype.Wa=function(){return"goog-menuseparator"};function Cx(a,b){Rq.call(this,null,a||Bx.Eb(),b);this.Zb(1,!1);this.Zb(2,!1);this.Zb(4,!1);this.Zb(32,!1);this.Vd=1}u(Cx,Rq);Cx.prototype.Ma=function(){Cx.ta.Ma.call(this);var a=this.ha();um(a,"separator")};yq("goog-menuseparator",function(){return new Cx});function Dx(a){this.g=a||"menu"}u(Dx,Bq);Ea(Dx);f=Dx.prototype;f.ak=function(a){return"UL"==a.tagName||Dx.ta.ak.call(this,a)};f.Mh=function(a){return"HR"==a.tagName?new Cx:Dx.ta.Mh.call(this,a)};f.Zd=function(a,b){return Af(a.ha(),b)};f.rg=function(){return"goog-menu"};f.dk=function(a){Dx.ta.dk.call(this,a);a=a.ha();vm(a,"haspopup","true")};function Ex(a){Cx.call(this,Bx.Eb(),a)}u(Ex,Cx);yq("goog-menuseparator",function(){return new Cx});function Fx(a,b){er.call(this,"vertical",b||Dx.Eb(),a);nr(this,!1)}u(Fx,er);f=Fx.prototype;f.Ck=!0;f.Zd=function(a){if(this.wd().Zd(this,a))return!0;for(var b=0,c=bn(this);bDate.now()-a.$o);g&&a.km?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.$o=Date.now()))};f.Yu=function(){this.kb()};f.mv=function(a){Jx(this,a)}; f.nv=function(a){32!=a.keyCode&&13!=a.keyCode&&40!=a.keyCode||Jx(this,a);40==a.keyCode&&jr(this)};function Jx(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 ky(a,b){this.startOffset=a;this.fh=void 0;this.endOffset=a;this.Eh=void 0;this.i=!1;this.g=b};function ly(a,b){var c=void 0;c=void 0===c?Infinity:c;b=new iy(b);c=void 0===c?Infinity:c;var d=void 0===d?[]:d;var e=" ",g,h=ey(a);for(g=0;g=c&&(d.length=c);return d};function my(a){var b=fy(a);a=ny();Array.prototype.forEach.call(a,function(c){oy(b,c)})}function ny(){var a=[],b=jb(Ze("patent-text")),c=$e("patent-title");for(c&&b.push(c);c=b.pop();)3==c.nodeType?a.push(c):kb(b,c.childNodes);return a} function oy(a,b){var c=Jf(b);a=ly(c,a);if(a.length){var d=[],e=0;a.forEach(function(g){d.push(c.substring(e,g.startOffset),Xd("span",{"class":"patent-text-highlight"},c.substring(g.startOffset,g.endOffset)));e=g.endOffset});d.push(c.substring(e));a=E("span");N(a,fe(d));uf(a,b)}};function py(){vx.call(this,"Turn off highlighting");var a=bk("dq")||bk("q");a&&my(a);this.Pb=!0}m(py,vx);py.prototype.Ma=function(){vx.prototype.Ma.call(this);Y(this).ka(this,"action",this.i)};py.prototype.i=function(){this.Pb=!this.Pb;Ab(window.document.body,"patent-highlight-disabled",!this.Pb);Xq(this,this.Pb?"Turn off highlighting":"Turn on highlighting")};function qy(){}u(qy,Bx);Ea(qy);qy.prototype.Oc=function(a){return a.g.Ra("DIV",Jq(this,a).join(" ")+" goog-inline-block","\u00a0")};qy.prototype.Sb=function(a,b){b=qy.ta.Sb.call(this,a,b);x(b,"goog-inline-block");return b};qy.prototype.Wa=function(){return"goog-toolbar-separator"};function ry(){}u(ry,Ys);Ea(ry);f=ry.prototype;f.Oc=function(a){var b=Jq(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){sy(b,!0);sy(b,!1);a:{var c=a.g.uo(b);var d=this.Wa()+"-outer-box";if(c&&wb(c,d)&&(c=a.g.uo(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 ry.ta.Sb.call(this,a,b)};f.Wa=function(){return"goog-custom-button"}; function sy(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 ty(){}u(ty,ry);Ea(ty);ty.prototype.Wa=function(){return"goog-toolbar-button"};function uy(){this.g="toolbar"}u(uy,Bq);Ea(uy);uy.prototype.Mh=function(a){return"HR"==a.tagName?new Cx(qy.Eb()):uy.ta.Mh.call(this,a)};uy.prototype.rg=function(){return"goog-toolbar"};uy.prototype.ro=function(){return"horizontal"};function vy(a){uy.call(this);this.i=a}u(vy,uy);var wy={};vy.prototype.rg=function(){return this.i||"ocean-chrome-toolbar"};function xy(a){P.call(this);this.g=[];yy(this,a)}u(xy,P);f=xy.prototype;f.fg=null;f.jk=null;function zy(a,b){a.jk=b}function yy(a,b){b&&(b.forEach(function(c){Ay(this,c,!1)},a),kb(a.g,b))}f.Sa=function(a){this.jf(a,this.g.length)};f.jf=function(a,b){a&&(Ay(this,a,!1),lb(this.g,b,0,a))};f.Kd=function(){return jb(this.g)};f.Ue=function(a){a!=this.fg&&(Ay(this,this.fg,!1),this.fg=a,Ay(this,a,!0));this.dispatchEvent("select")};f.va=function(){xy.ta.va.call(this);delete this.g;this.fg=null}; function Ay(a,b,c){b&&("function"==typeof a.jk?a.jk(b,c):"function"==typeof b.Wl&&b.Wl(c))};function By(a,b,c){er.call(this,b,a||uy.Eb(),c)}u(By,er);By.prototype.Ji=function(a){By.ta.Ji.call(this,a);this.ie||jr(this)};function Cy(a,b,c){$s.call(this,a,b||ty.Eb(),c)}u(Cy,$s);yq("goog-toolbar-button",function(){return new Cy(null)});function Dy(a,b){Cx.call(this,a||qy.Eb(),b)}u(Dy,Cx);yq("goog-toolbar-separator",function(){return new Dy});function Ey(a){a=a||"viewport-chrome-toolbar";a=wy[a]||(wy[a]=new vy(a));By.call(this,a);this.Ba={};this.j=new Gj(this)}m(Ey,By);function Fy(a,b,c,d){b.Zb(16,!0);if(c){var e=a.Ba[c];e||(e=new xy,zy(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 Gy(a,b){a.Ba.viewport&&a.Ba.viewport.Ue(b)}Ey.prototype.va=function(){By.prototype.va.call(this);this.j.Ha();Fc(this.Ba,function(a){a.Ha()})};function Hy(){}u(Hy,Ys);Ea(Hy);f=Hy.prototype;f.Oc=function(a){var b=Jq(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){x(b,"goog-inline-block");return Hy.ta.Sb.call(this,a,b)};f.Ab=function(){return""};f.Wa=function(){return"goog-flat-button"};yq("goog-flat-button",function(){return new $s(null,Hy.Eb())});function Iy(){}u(Iy,ry);Ea(Iy);Iy.prototype.Ic=function(a){return Iy.ta.Ic.call(this,a&&a.firstChild)};Iy.prototype.Sb=function(a,b){var c=Xe("*","goog-menu",b)[0];if(c){M(c,!1);Ue(c).body.appendChild(c);var d=new Fx;$m(d,c);a.Te(d)}return Iy.ta.Sb.call(this,a,b)};Iy.prototype.Ui=function(a,b){return Iy.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)};Iy.prototype.Wa=function(){return"goog-menu-button"};function Jy(){this.i=[]}u(Jy,qx);Ea(Jy);Jy.prototype.Oc=function(a){var b=Jy.ta.Oc.call(this,a);x(b,"goog-submenu");Ky(this,a,b);return b};Jy.prototype.Sb=function(a,b){b=Jy.ta.Sb.call(this,a,b);x(b,"goog-submenu");Ky(this,a,b);var c=Xe("DIV","goog-menu",b);if(c.length){var d=new Fx(a.g);c=c[0];M(c,!1);a.g.g.body.appendChild(c);$m(d,c);a.Te(d,!0)}return b};Jy.prototype.tg=function(a,b){var c=this.Ic(a),d=c&&c.lastChild;Jy.ta.tg.call(this,a,b);d&&c.lastChild!=d&&wb(d,"goog-submenu-arrow")&&c.appendChild(d)}; Jy.prototype.Fi=function(a){Jy.ta.Fi.call(this,a);var b=a.Ib(),c=Ye(a.g.g,"SPAN","goog-submenu-arrow",b)[0];Ly(a,c);c!=b.lastChild&&b.appendChild(c);a=a.ha();vm(a,"haspopup","true")};function Ky(a,b,c){var d=b.g.Ra("SPAN");d.className="goog-submenu-arrow";Ly(b,d);a.Ic(c).appendChild(d)}function Ly(a,b){dn(a)?(x(b,"goog-submenu-arrow-rtl"),G(b,"\u25c4")):(yb(b,"goog-submenu-arrow-rtl"),G(b,"\u25ba"))};function My(a,b,c,d){vx.call(this,a,b,c,d||Jy.Eb())}u(My,vx);f=My.prototype;f.qh=null;f.dm=null;f.Hl=!1;f.tc=null;f.Xi=!1;f.Ma=function(){My.ta.Ma.call(this);Y(this).ka(this.getParent(),"hide",this.vp);this.tc&&Ny(this,this.tc,!0)};f.kc=function(){Y(this).Xa(this.getParent(),"hide",this.vp);this.tc&&(Ny(this,this.tc,!1),this.Xi||(this.tc.kc(),F(this.tc.ha())));My.ta.kc.call(this)};f.va=function(){this.tc&&!this.Xi&&this.tc.Ha();this.tc=null;My.ta.va.call(this)}; f.Wc=function(a){My.ta.Wc.call(this,a);a||(this.qh&&pl(this.qh),this.qh=T(this.Ee,218,this))};f.bm=function(){var a=this.getParent();a&&ir(a)==this&&(Oy(this,!0),Py(this))};f.Ee=function(){var a=this.tc;a&&a.getParent()==this&&(Oy(this,!1),an(a,function(b){"function"==typeof b.Ee&&b.Ee()}))};function Qy(a){a.qh&&pl(a.qh);a.dm&&pl(a.dm)}f.Da=function(a,b){(a=My.ta.Da.call(this,a,b))&&!this.isVisible()&&this.Ee();return a}; function Py(a){an(a.getParent(),function(b){b!=this&&"function"==typeof b.Ee&&(b.Ee(),Qy(b))},a)}f.Sc=function(a){var b=a.keyCode,c=dn(this)?37:39,d=dn(this)?39:37;if(!this.Hl){if(!this.isEnabled()||b!=c&&13!=b&&b!=this.Il)return!1;this.bm();jr(Ry(this));Qy(this)}else if(!Ry(this).Sc(a))if(b==d)this.Ee();else return!1;a.preventDefault();return!0};f.$u=function(){this.tc.getParent()==this&&(Qy(this),this.Sg().Wc(this),Py(this))};f.vp=function(a){a.target==this.Sg()&&(this.Ee(),Qy(this))}; f.Ke=function(a){this.isEnabled()&&(Qy(this),this.dm=T(this.bm,218,this));My.ta.Ke.call(this,a)};f.Qe=function(a){Qy(this);if(Oq(this,8)||Oq(this,16))return My.ta.Qe.call(this,a);this.bm();return!0}; function Oy(a,b){!b&&Ry(a)&&Ry(a).Sd(-1);a.dispatchEvent(Xm(64,b));var c=Ry(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 xr(a.ha(),12,!1);var d=Ry(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 Ny(a,b,c){var d=Y(a);(c?d.ka:d.Xa).call(d,b,"enter",a.$u)}f.Sa=function(a){Ry(this).Oa(a,!0)};f.jf=function(a,b){Ry(this).Dg(a,b,!0)}; f.Kd=function(){return Ry(this).Kd()};function Ry(a){a.tc?a.Xi&&a.tc.getParent()!=a&&a.tc.ke(a):a.Te(new Fx(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&&Ny(this,c,!1)),this.tc=a,this.Xi=!b,a&&(a.ke(this),a.Da(!1,!0),Gx(a,!1),nr(a,!1),this.$a&&Ny(this,a,!0)))};f.Zd=function(a){return Ry(this).Zd(a)};yq("goog-submenu",function(){return new My(null)});function Sy(a,b,c,d,e){$s.call(this,a,c||Iy.Eb(),d);this.Zb(64,!0);this.o=new yx(null,9);b&&this.Te(b);this.Ya=new nl(500);this.Lb=e||Dx.Eb()}u(Sy,$s);f=Sy.prototype;f.Ma=function(){Sy.ta.Ma.call(this);Ty(this,!0);this.i&&Uy(this,this.i,!0);vm(this.ya,"haspopup",!!this.i)};f.kc=function(){Sy.ta.kc.call(this);Ty(this,!1);if(this.i){this.Qb(!1);this.i.kc();Uy(this,this.i,!1);var a=this.i.ha();a&&F(a)}};f.va=function(){Sy.ta.va.call(this);this.i&&(this.i.Ha(),delete this.i);delete this.nb;this.Ya.Ha()}; f.$e=function(a){Sy.ta.$e.call(this,a);Pq(this,4)&&(this.Qb(!this.qd(),a),this.i&&(a=this.qd(),this.i.ie=a))};f.he=function(a){Sy.ta.he.call(this,a);this.i&&!Pq(this,4)&&(this.i.ie=!1)};f.Qe=function(){Zq(this,!1);return!0};f.ut=function(a){this.i&&this.i.isVisible()&&!this.Zd(a.target)&&this.Qb(!1)};f.Zd=function(a){return a&&Af(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 My||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);Sy.ta.Gi.call(this,a)}; function Vy(a){a.i||a.Te(new Fx(a.g,a.Lb));return a.i||null}f.Te=function(a){var b=this.i;a!=b&&(b&&(this.Qb(!1),this.$a&&Uy(this,b,!1),delete this.i),this.$a&&vm(this.ya,"haspopup",!!a),a&&(this.i=a,a.ke(this),a.Da(!1),Gx(a,!1),this.$a&&Uy(this,a,!0)));return b};f.Sa=function(a){Vy(this).Oa(a,!0)};f.jf=function(a,b){Vy(this).Dg(a,b,!0)};f.Da=function(a,b){(a=Sy.ta.Da.call(this,a,b))&&!this.isVisible()&&this.Qb(!1);return a};f.Ta=function(a){Sy.ta.Ta.call(this,a);this.isEnabled()||this.Qb(!1)}; f.Qb=function(a,b){Sy.ta.Qb.call(this,a);if(this.i&&Pq(this,64)==a){if(a)this.i.$a||this.i.render(),this.Ba=ph(this.ha()),this.ab=zh(this.ha()),Wy(this),!b||40!=b.keyCode&&38!=b.keyCode?this.i.Sd(-1):jr(this.i);else{Zq(this,!1);this.i.ie=!1;var c=this.ha();c&&(vm(c,"activedescendant",""),vm(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.ut,!0),c.call(b,this.Ya,"tick",this.gr),a?this.Ya.start(): this.Ya.stop())}this.i&&this.i.ha()&&this.i.ya.removeAttribute("aria-hidden")};function Wy(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.gr=function(){var a=zh(this.ha()),b=ph(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=lf(d,"TR"),l=0;2>l;l++)k.appendChild(lf(d,"TD"));g.appendChild(k)}x(e,this.className+"-table-layout");d=e.rows[0].cells;g=ez(this);d[0].appendChild(g);g=fz(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";oe(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",nf("Download ")),g&&(k=C("A",{href:g},"EPUB"),e.appendChild(k)),h&&(g&&e.appendChild(nf(", ")),g=C("A",{href:h},"PDF"),e.appendChild(g)),e.appendChild(nf(" - ")),d=d.Yb(),g=(new Q(window.location.href)).s.split("/"),g=new Q("/"+g[1]),yt(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");oe(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);x(b,this.className+"-device-content");a.appendChild(b)}}; function ez(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,w=a.o.oj,D=a.o.ag;d=new Gj(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||w)&&d.ka(h,"mouseover",t(a.i,"This eBook, like all Google eBooks, is formatted to be readable on the web."));d.ka(h,"mouseout",a.Ba);b.appendChild(h);k=C("LI",null,k);D?d.ka(k,"mouseover",t(a.i,"The format of this book is currently unknown. We will update this when we receive the information from the publisher.")): (q||w)&&d.ka(k,"mouseover",t(a.i,"This eBook, like all Google eBooks, is formatted to be readable on tablet devices like Android tablets and the iPad."));d.ka(k,"mouseout",a.Ba);b.appendChild(k);l=C("LI",null,l);d.ka(l,"mouseover",function(){D?this.i("The format of this book is currently unknown. We will update this when we receive the information from the publisher."):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&&w?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?(x(h,g),x(k,g),x(l,g),x(n,g)):q?(x(h,c),x(k,c),x(l,c),x(n,c)):(w?(x(h,c),x(k,c)):(x(h,e),x(k,e)),x(l,e),x(n,e));return b} function fz(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");oe(c,"/support/bin/answer.py?answer=1062949");var h=C("A",{},"Scanned pages");oe(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 Gj(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} dz.prototype.Ba=function(){qf(this.j);var a=C("A",{target:"_blank"},"Learn more about books on Google Play");oe(a,"https://books.google.com/support/bin/topic.py?topic=28528");this.j.appendChild(a)};dz.prototype.i=function(a){qf(this.j);"string"===typeof a?this.j.appendChild(nf(a)):this.j.appendChild(a)};function gz(a,b){Z.call(this,b,void 0,3);this.o=a}m(gz,Z);gz.prototype.render=function(a){Z.prototype.render.call(this,a);x(this.ha(),"gb-get-book")};gz.prototype.Ma=function(){Z.prototype.Ma.call(this);var a=this.ha();this.i=new dz(a,this.o);this.i.render();a=B("menu_container");(a=$e("about_title",a))&&F(a)}; function hz(){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);x(b,"gb-buy-options-list");x(b,"unified-hovercard");sr(a,9,b,8);M(b,!1);O(document,"mousedown",t(iz,a,b))}}}function iz(a,b,c){a=Af(a,c.target);c=Af(b,c.target);var d=Bh(b);a||c||!d?a&&(M(b,!d),d||Ah(b,1)):M(b,!1)};function jz(a,b,c,d,e,g){function h(l){if(l){l.tabIndex=0;um(l,k.wa);x(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||Se();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=Bh(this.s):this.i&&(this.g=wb(this.i,"goog-zippy-expanded")));this.ma=new Gj(this);this.O=new tq;this.oa=new Gj(this); var k=this;h(this.i);h(this.s);this.Se(this.g)}u(jz,P);jz.prototype.va=function(){jz.ta.va.call(this);$i(this.ma);$i(this.O);$i(this.oa)};jz.prototype.Se=function(a){this.j?M(this.j,a):a&&this.o&&(this.j=this.o());this.j&&x(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),vm(this.i,"expanded",a));this.g=a;this.dispatchEvent(new kz("toggle",this,this.g))}; jz.prototype.ua=function(a){if(13==a.keyCode||32==a.keyCode)this.Se(!this.g),this.dispatchEvent(new kz("action",this,this.g,a)),a.preventDefault(),a.stopPropagation()};jz.prototype.na=function(a){this.Se(!this.g);this.dispatchEvent(new kz("action",this,this.g,a))};function kz(a,b){dj.call(this,a,b)}u(kz,dj);function lz(a,b,c,d){if(b.child_node&&0"+c.i.Jb.yb.length+"",""+oq(c.i.Jb)+""))):N(c.j,Ri("Showing "+(c.i.Jb.yb.length+" results in this book for ")+(oq(c.i.Jb)+"")));Kz(c,!0);c=a.Jb;c!=b.Jb&&(b.Jb=c,kx(b));a=r(a.uf,a);b.Ba=a;b.Yc(new A(0, 0))} Fz.prototype.uf=function(a,b){kv=!0;var c=this.Vc.j;Kz(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,Ri(Lz(c,c.N+1,c.i.Jb.yb.length,null)))):ec?N(c.j,Ri(Lz(c,""+(c.N+1)+"",""+c.i.Jb.yb.length+"",""+oq(c.i.Jb)+""))):N(c.j,Ri("Result "+(c.N+1+" of ")+(c.i.Jb.yb.length+" in this book for ")+(oq(c.i.Jb)+"")));c=this.Vc.V;a=jo(c.rb(),a.Pa());if(!a)return null;var d=c.Ia();d instanceof pw||d instanceof Uw||(this.Vc.s== Uw?c.qc(Uw):c.qc(pw));if(b)return c.Bd(b),null;c.Sh(a);return a};Fz.prototype.va=function(){$i(this.j);W.prototype.va.call(this)};function Mz(a){W.call(this);this.Ja=rp(a);this.s=ec&&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 hq(this.ma),this.ua.render(Nz),this.ua.Da(!0),a=this.ua.ha(),x(a,"search-results-bar"),x(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?(Oz(this,B("gb-mobile-search-result-prev"),r(this.kj,this,-1),"Previous"),Oz(this,B("gb-mobile-search-result-next"),r(this.kj,this,1),"Next"),G(B("gb-mobile-search-result-viewall"),"View all"),Oz(this,B("gb-mobile-search-result-viewall"),r(this.No,this),"View all"),G(B("gb-mobile-search-clear"),"Clear search"),Oz(this,B("gb-mobile-search-clear"),r(this.ll,this),"Clear search")):(x(this.oa,"search-bar-result-links"),this.ma.appendChild(this.oa),a=E("SPAN"),N(a,Ri("-  ")),x(a,"search-bar-link-spacer"), this.oa.appendChild(a),Pz(this,this.oa,"‹ Previous",r(this.kj,this,-1),"Previous"),a=E("SPAN"),N(a,Ri("  ")),x(a,"search-bar-link-spacer"),this.oa.appendChild(a),Pz(this,this.oa,"Next ›",r(this.kj,this,1),"Next"),a=E("SPAN"),N(a,Ri("  -  ")),x(a,"search-bar-link-spacer"),this.oa.appendChild(a),Pz(this,this.oa,"View all",r(this.No,this)));this.O=this.s?B("gb-mobile-search-snippet-links"):E("SPAN");this.s?Qz(this):(this.Ja?(this.wa=E("DIV"),x(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"]),Qz(this)):(this.Ba=E("SPAN"),this.Ca=E("SPAN"),this.ma.appendChild(this.O),a=E("SPAN"),N(a,Ri("-  ")),x(a,"search-bar-link-spacer"),this.O.appendChild(a),this.O.appendChild(nf("Order by: ")),this.O.appendChild(this.Ba),Pz(this,this.Ba,"relevance",r(this.lj,this,"r"),"Order by relevance"),a=E("SPAN"),N(a,Ri(" | pages")),this.Ba.appendChild(a), this.O.appendChild(this.Ca),a=E("SPAN"),N(a,Ri("relevance | ")),this.Ca.appendChild(a),Pz(this,this.Ca,"pages",r(this.lj,this,"n"),"Order by pages")),x(this.O,"search-bar-snippet-links"));if(!this.s){a=E("SPAN");x(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=Pz(this,a,"Clear search",r(this.ll,this));x(b,"search-bar-close-link");b=E("IMG");b.src="/googlebooks/images/close_x.gif";x(b,"search-bar-close-img"); a.appendChild(b);Eh(this.ma,!0)}}var Nz,Rz,Sz;m(Mz,W);function Tz(){Nz=B("search_bar")}function Uz(){Rz=B("toolbar_container")} function Qz(a){a.o=C("A",{"class":"search-bar-sort-dropdown-link"});um(a.o,"button");Gf(a.o,!0);vm(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=et("/googlebooks/images/material/arrow_drop_down_black_20dp.png");x(b[0],"search-bar-sort-dropdown-icon");vm(b[0],"hidden",!0);a.o.appendChild(b[0]);b=new Hx;var c=new vx("relevance"); c.hi("Order by relevance");b.Oa(c,!0);x(c.ha(),"search-bar-sort-dropdown-item");c=new vx("pages");c.hi("Order by pages");b.Oa(c,!0);x(c.ha(),"search-bar-sort-dropdown-item");b.km=!0;b.render(document.body);b.attach(a.o,13,12);a.g.ka(b,"action",a.Go);a.g.ka(b,"keydown",function(d){32!=d.keyCode&&13!=d.keyCode||r(a.Go,a)})}function Kz(a,b){M(Rz,!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])||Wz(a,b,c))}f.lj=function(a){var b=this.i.Vc;b&&b.update(a)};f.No=function(){Hz(this.i)}; f.fu=function(a){var b=this.i.Vc;b&&(a=He(a),Jo(b.V.tb(),a),b.N.xc(a),b.o&&b.o.update())};f.Go=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 Iz(a,b){a.o&&(Ab(a.o,"search-bar-sort-dropdown-disabled",!b),vm(a.o,"disabled",!b));var c="n"==a.i.hm;b&&!c&&G(a.na,"relevance")}function Jz(a,b,c){return a.s?b+" results":b+" results for "+c} function Lz(a,b,c,d){return a.s?b+" of "+c:"Result "+b+" of "+c+" for "+d};function Xz(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(Xz,W); Xz.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 Mz(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))}hA.prototype.va=function(){hA.ta.va.call(this);delete this.g;this.j.Ha();this.j=null};function jA(a,b,c,d,e){dA.call(this,a,b,null,!0);this.ab=c;this.Rb=d;this.Ca=e}m(jA,dA); jA.prototype.Va=function(){dA.prototype.Va.call(this);this.o=kA(this,"Name","input");this.nb=kA(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&&(cf(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&&lA(this);Zo.IsZipitFolderCollectionEnabled||(b=this.j,a=En(b,"ok"),I(a,"fontWeight","bold"),x(a,"gb-button"),x(En(b,"cancel"),"gb-button"))}; function lA(a){a.o.value=He(a.i.hb());a.o.disabled=a.i.O;a.nb.value=He(a.i.Og());a.Ka(1==a.i.ye);a.o.disabled&&I(a.o,"background","#f2f2f2")}function kA(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,mi(b));a.appendChild(d);b=C(c,{"class":"ccd-input"});"input"==c?(cf(b,{type:"text"}),b.setAttribute("maxlength",100)):"textarea"==c&&(cf(b,{rows:6,cols:50}),new hA(b,E("span"),500));a.appendChild(b);return b} jA.prototype.Ka=function(a){this.ve=a;v(this.xe,function(b){M(b,a)});v(this.we,function(b){M(b,!a)})}; jA.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 Gt;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.fq);R(c,"as_coll",a.getId());Rt(c,a,r(b.N,b))}else b=this.ab,Rt(b.s,a,r(b.o,b,!0));return!0}; jA.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;dA.prototype.va.call(this)};function mA(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,nA),this.i&&kb(this.s,Ya(this.i.childNodes,nA)));this.o=e;T(r(this.pr,this))}u(mA,W);f=mA.prototype;f.pr=function(){this.j&&this.i&&this.g.ka(this.j,"click",this.eq);this.N&&this.g.ka(this.N,"click",this.st);this.g.ka(this.o,"add",this.Bs)}; function nA(a){var b=Xe("SPAN","sidebar-collection-title",a)[0];b||(b=Xe("SPAN","hp-collection-title",a)[0]);if(!b)return"";a=Fb(De(Hf(b)));return Fb(a.split("(")[0])}f.st=function(){var a=new jA("Create new bookshelf","Create bookshelf",this.o,r(this.Hu,this));a.render();a.Da(!0)};f.Hu=function(a){var b=Fb(De(a)).toLowerCase();return!ab(this.s,function(c){return c.toLowerCase()==b})}; f.Bs=function(a){a=a.shelf;var b=Fb(De(a.hb())),c=1==a.ye;this.s.push(b);var d=new Q("/books");yt(d);R(d,"as_coll",a.getId());R(d,"source","gbs_lp_bookshelf_list");if(Zo.IsBooksUnifiedLeftNavEnabled){a=C("LI",{"class":"left-nav-shelf-item"});var e=C("A",{"class":"sidebar-link"});oe(e,d.toString());d=C("SPAN");x(d,"sidebar-collection-title");N(d,Gl(b+" (0)"));e.appendChild(d);a.appendChild(e);c=B("hidden-my-library-expanded");rf(a,c);cA(!0,"my-library")}else a=E("DIV"),e=C("A",{"class":"hp-bookshelf-link", style:"line-height:19px"}),oe(e,d.toString()),d=C("SPAN",{"class":"hp-collection-title"}),N(d,Gl(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),sf(a,B("csStart"))}; f.eq=function(a){a.preventDefault();a=!Bh(this.i);M(this.i,a);a?(sr(this.j,9,this.i,8),200