<!DOCTYPE html><html manifest="//ssl.gstatic.com/gb/remove-manifest-link"><head><meta http-equiv="content-type"content="text/html; charset=ISO-8859-1"><meta name="viewport" content="width=device-width, initial-scale=1"><title>Google Books: Find, Preview, and Read Books Online.</title><link rel="canonical" href="https://books.google.com/"><style>/* IMPORTANT: Changes to this template need to be tested in all OneGoogle  */
/* enabled frontends!                                                      */

/* Explanation of classes and ids...                                       */
/* #gbar: Outer div containing the OneGoogle bar.                          */
/* #guser: Outer div containing the GAIA bar.                              */
/* #gbs: Iframe shim behind the more box.                                  */
/* .gbh: Div which draws the main horizontal line.                         */
/* .gbd: Divs which draw horizontal lines within the more box.             */
/* .gb1: Class applied to all anchors on the top line.                     */
/* .gb4: Class applied to all regular anchors in the Gaia bar.             */
/* .gbi: Class applied to all internal anchors in the Gaia bar.            */
/* .gbf: Class applied to all featured anchors in the Gaia bar.            */

#gbar,#guser{
  font-size:13px;
  
  padding-top:1px !important;
}
#gbar{
  
  height:22px
}
#guser{
  padding-bottom:7px !important;
  text-align:right
}
.gbh,.gbd{
  border-top:1px solid #c9d7f1;
  /* Needs to be 1px in order for the gaia bar to be clickable in Mac IE5. */
  font-size:1px
}
.gbh{
  height:0;
  position:absolute;
  top:24px;
  width:100%
}
/* Hack to hide this CSS from IE5 Mac and 4.x browsers and earlier.        */
@media all{
  /* This needs to be hidden from NS 4 and IE 4, because adding a margin   */
  /* would change the element to display:block.                            */
  .gb1{
    /* Setting a height on .gb1 triggers hasLayout which causes IE5 to     */
    /* properly render the right margin.                                   */
    height:22px;
    margin-right:.5em;
    vertical-align:top
  }
  /* Mac IE5 does not handle floats well, so we don't even try to float the */
  /* OneGoogle and GAIA bars on the same line.                              */
  #gbar{
    float:left
  }
}
/* Underline the top links for all frontends. The default style on some    */
/* frontends is to not underline links or to underline only on hover,      */
/* so we apply the underline here in order to unify the OneGoogle bar      */
/* design across products.                                                 */
  a.gb1,a.gb4{
    text-decoration:underline !important
  }

/* The following selectors are used for setting the appropriate color       */
/* to elements in the OneGoogle bar. The preconditions are as follows:      */
/* CSS_RANK(text selector) <= CSS_RANK(link selector)                       */
/* CSS_RANK(link selector) <= CSS_RANK(internal or featured link selector)  */
/* CSS_RANK(internal or featured link selector) <= CSS_RANK(hover selector) */

/* Link selector */
a.gb1,a.gb4{
  /* Marked important to override pseudo classes in IE6 strict mode. */
  color:#00c !important
}

/* Internal and featured text and link selectors */
/* These rules apply only to those frontends for which we want to enable */
/* internal and featured link coloration.                                */
.gbi .gb4{
  /* Marked important to override pseudo classes in IE6 strict mode. */
  color:#dd8e27 !important
}
.gbf .gb4{
  /* Marked important to override pseudo classes in IE6 strict mode. */
  color:#900 !important
}

</style><script></script><style>.jfk-textinput{border-radius:1px;border:1px solid #d9d9d9;border-top:1px solid #c0c0c0;font-size:13px;height:25px;padding:1px 8px}.jfk-textinput:focus{-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.3);box-shadow:inset 0 1px 2px rgba(0,0,0,0.3);border:1px solid #4d90fe;outline:none}.jfk-textinput::-ms-clear{display:none}a{text-decoration:none}a:link{color:#15c}a:visited{color:#61c}a:active{color:#d14836}a:hover{text-decoration:underline}body{font-family:arial,sans-serif;font-size:13px;margin:0}#oc-search-image{background:url(https://www.google.com/intl/en_ALL/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png) no-repeat}#oc-search-logo{color:#4285f4;font-family:roboto-regular,arial,sans-serif;font-size:16px;position:relative;white-space:nowrap}@media (min-width:801px){#oc-search-image-box{padding:120px 0 24px 0}#oc-search-image{-webkit-background-size:272px 92px;background-size:272px 92px;height:92px;width:272px}#oc-search-logo{font-size:16px;left:101px;top:74px}#oc-search-button-box{margin-left:12px}#oc-search-button{width:70px}#oc-search-description{margin-top:28px;font-size:14px}}@media (max-width:800px){#oc-search-input-box{width:88%}#oc-search-image-box{padding:70px 0 24px 0}#oc-search-image{-webkit-background-size:200px 68px;background-size:200px 68px;height:68px;width:200px}#oc-search-logo{font-size:13px;left:77px;top:54px}#oc-search-button{padding:1px 0;width:40px}#oc-search-description{margin:16px;font-size:13px}}@media (orientation:landscape) and (max-width:800px){#oc-search-image-box{padding:35px 0 24px 0}}@media (max-width:500px){#oc-search-input-box{width:96%}}#oc-search-button{margin-left:12px;border:1px solid #3079ed;border-radius:2px;height:27px;background-color:#357ae8;background-image:-webkit-linear-gradient(top,#4d90fe,#357ae8);background-image:linear-gradient(top,#4d90fe,#357ae8)}#oc-search-button input{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAAtUlEQVQoz2P4//8/AxQbAvFBIP7yHwJA9BGoOAM2DGNkAPHv/9jBb6g8Vs0gk39BFd4G4hggloPSt6Hiv7C5AETshyq4i8N5d6Hy+7Fp/gqVDMChOQAq/xWb5r9QSUkcmiWh8n/x2eyDQ7MPPpsPEunng9g0myJFEyh0I4BYBErfRoqyXHLiGRmsxqYZ5gJQivoGVfgNyi/BZQADrqSHhtdhM4BYzVgNIEUzugHrSNUMMwCEGQDxZPLNLQuzXAAAAABJRU5ErkJggg==) no-repeat 50%;height:27px;vertical-align:top;color:transparent;border:0;cursor:default;width:100%}#oc-search-input{width:100%;height:29px;font-size:17px}#oc-search-input:focus{border-color:#d9d9d9;-webkit-box-shadow:none;box-shadow:none}#oc-search-input:hover{border-color:#a0a0a0}.footerOuter{position:absolute;bottom:0;height:75px;width:100%}.footerInner{position:absolute;bottom:0;left:0;right:0;background:#f2f2f2;border-top:1px solid #e4e4e4;line-height:49px;text-align:center}.footerLeft,.footerRight{white-space:nowrap;margin:0 30px}.footerInner a{display:inline-block;color:#666;white-space:nowrap;margin-left:27px}.footerInner a:first-child{margin-left:0}@media (min-width:501px){.footerLeft{float:right}.footerRight{float:left}}@media (max-width:500px){.footerLeft{display:none}}.ac-renderer{position:absolute;background-color:#fff;cursor:default;border:1px solid #ccc;border-top-color:#d9d9d9;font-size:13px;line-height:1.3em;overflow:hidden;white-space:nowrap;-webkit-box-shadow:0 2px 4px rgba(0,0,0,.2);box-shadow:0 2px 4px rgba(0,0,0,.2)}.gb-reset .ac-renderer{font-size:100%}.ac-active{background-color:#4d90fe;color:white}.ac-row{padding:2px 5px}sentinel{}</style></head><body ><div id=gbar><nobr><a target=_blank class=gb1 href="https://www.google.com/webhp?tab=pw">Search</a> <a target=_blank class=gb1 href="https://www.google.com/imghp?hl=en&tab=pi">Images</a> <a target=_blank class=gb1 href="https://maps.google.com/maps?hl=en&tab=pl">Maps</a> <a target=_blank class=gb1 href="https://play.google.com/?hl=en&tab=p8">Play</a> <a target=_blank class=gb1 href="https://www.youtube.com/?tab=p1">YouTube</a> <a target=_blank class=gb1 href="https://news.google.com/?tab=pn">News</a> <a target=_blank class=gb1 href="https://mail.google.com/mail/?tab=pm">Gmail</a> <a target=_blank class=gb1 href="https://drive.google.com/?tab=po">Drive</a> <a target=_blank class=gb1 style="text-decoration:none" href="https://www.google.com/intl/en/about/products?tab=ph"><u>More</u> &raquo;</a></nobr></div><div id=guser width=100%><nobr><span id=gbn class=gbi></span><span id=gbf class=gbf></span><span id=gbe></span><a target=_top id=gb_70 href="https://www.google.com/accounts/Login?service=print&continue=https://books.google.com/%3Fas_list%3DBDUH97fgQwfq3x4-kwpwtGhS5ZU0FzxkrE1GsG3crK8mPt4SiXQ%26output%3Drss%26hl%3Den&hl=en&ec=GAZACg" class=gb4>Sign in</a></nobr></div><div class=gbh style=left:0></div><div class=gbh style=right:0></div><div align="center"><form action="//www.google.com/search" method="GET" id="oc-search-form"><input type="hidden" name="udm" value="36"><div id="oc-search-image-box"><div id="oc-search-image" title="Google Books"><div id="oc-search-logo">Books</div></div></div><table id="oc-search-input-box"><tr><td><input id="oc-search-input"autocomplete="off"name="q"type="text"class="jfk-textinput"title="Search Books"size="66"maxlength="2048"></td><td><div id="oc-search-button-box"><div id="oc-search-button"><input type="submit" value="Search Books"></div></div></td></tr></table><p id="oc-search-description">Search the world's most comprehensive index of full-text books.</p><p id="oc-my-library"><a href="https://www.google.com/books/library?hl=en">Your library</a></p></form></div><div class="footerOuter"><div class="footerInner"><span class="footerLeft"><a href="http://books.google.com/support/partner/?hl=en">Publishers</a><a href="/intl/en/googlebooks/about.html">About</a></span><span class="footerRight"><a href="/intl/en/googlebooks/privacy.html">Privacy</a><a href="/intl/en/googlebooks/tos.html">Terms</a><a href="http://books.google.com/support/topic/4359341?hl=en">Help</a></span></div></div><script>var f,aa=[];function ba(a){return function(){return aa[a].apply(this,arguments)}}function ca(a,b){return aa[a]=b}var da=typeof Object.create=="function"?Object.create:function(a){function b(){}b.prototype=a;return new b},ea=typeof Object.defineProperties=="function"?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a};
function fa(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");}var ha=fa(this);function ia(a,b){if(b)a:{var c=ha;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&b!=null&&ea(c,a,{configurable:!0,writable:!0,value:b})}}var ja;
if(typeof Object.setPrototypeOf=="function")ja=Object.setPrototypeOf;else{var ka;a:{var la={a:!0},ma={};try{ma.__proto__=la;ka=ma.a;break a}catch(a){}ka=!1}ja=ka?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var na=ja;
function n(a,b){a.prototype=da(b.prototype);a.prototype.constructor=a;if(na)na(a,b);else for(var c in b)if(c!="prototype")if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.oa=b.prototype}function oa(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}
function pa(a){var b=typeof Symbol!="undefined"&&Symbol.iterator&&a[Symbol.iterator];if(b)return b.call(a);if(typeof a.length=="number")return{next:oa(a)};throw Error(String(a)+" is not an iterable or ArrayLike");}function qa(a){for(var b,c=[];!(b=a.next()).done;)c.push(b.value);return c}function ra(a){return a instanceof Array?a:qa(pa(a))}function sa(a){return ta(a,a)}function ta(a,b){a.raw=b;Object.freeze&&(Object.freeze(a),Object.freeze(b));return a}
function ua(a){if(!(a instanceof Object))throw new TypeError("Iterator result "+a+" is not an object");}function va(){this.V=!1;this.l=null;this.o=void 0;this.g=1;this.j=this.N=0;this.na=this.i=null}function wa(a){if(a.V)throw new TypeError("Generator is already running");a.V=!0}va.prototype.ma=function(a){this.o=a};function ya(a,b){a.i={Tn:b,Ho:!0};a.g=a.N||a.j}va.prototype.getNextAddressJsc=function(){return this.g};va.prototype.getYieldResultJsc=function(){return this.o};
va.prototype.return=function(a){this.i={return:a};this.g=this.j};va.prototype["return"]=va.prototype.return;va.prototype.Da=function(a){this.i={Dg:a};this.g=this.j};va.prototype.jumpThroughFinallyBlocks=va.prototype.Da;va.prototype.U=function(a,b){this.g=b;return{value:a}};va.prototype.yield=va.prototype.U;va.prototype.Fb=function(a,b){a=pa(a);var c=a.next();ua(c);if(c.done)this.o=c.value,this.g=b;else return this.l=a,this.U(c.value,b)};va.prototype.yieldAll=va.prototype.Fb;
va.prototype.Dg=function(a){this.g=a};va.prototype.jumpTo=va.prototype.Dg;va.prototype.Ka=function(){this.g=0};va.prototype.jumpToEnd=va.prototype.Ka;va.prototype.Ia=function(a,b){this.N=a;b!=void 0&&(this.j=b)};va.prototype.setCatchFinallyBlocks=va.prototype.Ia;va.prototype.Ma=function(a){this.N=0;this.j=a||0};va.prototype.setFinallyBlock=va.prototype.Ma;va.prototype.Ja=function(a,b){this.g=a;this.N=b||0};va.prototype.leaveTryBlock=va.prototype.Ja;
va.prototype.ua=function(a){this.N=a||0;a=this.i.Tn;this.i=null;return a};va.prototype.enterCatchBlock=va.prototype.ua;va.prototype.va=function(a,b,c){c?this.na[c]=this.i:this.na=[this.i];this.N=a||0;this.j=b||0};va.prototype.enterFinallyBlock=va.prototype.va;va.prototype.Ha=function(a,b){b=this.na.splice(b||0)[0];(b=this.i=this.i||b)?b.Ho?this.g=this.N||this.j:b.Dg!=void 0&&this.j<b.Dg?(this.g=b.Dg,this.i=null):this.g=this.j:this.g=a};va.prototype.leaveFinallyBlock=va.prototype.Ha;
va.prototype.Ca=function(a){return new za(a)};va.prototype.forIn=va.prototype.Ca;function za(a){this.j=a;this.g=[];for(var b in a)this.g.push(b);this.g.reverse()}za.prototype.i=function(){for(;this.g.length>0;){var a=this.g.pop();if(a in this.j)return a}return null};za.prototype.getNext=za.prototype.i;function Ba(a){this.g=new va;this.i=a}function Ca(a,b){wa(a.g);var c=a.g.l;if(c)return Da(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.g.return);a.g.return(b);return Ea(a)}
function Da(a,b,c,d){try{var e=b.call(a.g.l,c);ua(e);if(!e.done)return a.g.V=!1,e;var g=e.value}catch(h){return a.g.l=null,ya(a.g,h),Ea(a)}a.g.l=null;d.call(a.g,g);return Ea(a)}function Ea(a){for(;a.g.g;)try{var b=a.i(a.g);if(b)return a.g.V=!1,{value:b.value,done:!1}}catch(c){a.g.o=void 0,ya(a.g,c)}a.g.V=!1;if(a.g.i){b=a.g.i;a.g.i=null;if(b.Ho)throw b.Tn;return{value:b.return,done:!0}}return{value:void 0,done:!0}}
function Fa(a){this.next=function(b){wa(a.g);a.g.l?b=Da(a,a.g.l.next,b,a.g.ma):(a.g.ma(b),b=Ea(a));return b};this.throw=function(b){wa(a.g);a.g.l?b=Da(a,a.g.l["throw"],b,a.g.ma):(ya(a.g,b),b=Ea(a));return b};this.return=function(b){return Ca(a,b)};this[Symbol.iterator]=function(){return this}}function Ga(a){function b(d){return a.next(d)}function c(d){return a.throw(d)}return new Promise(function(d,e){function g(h){h.done?d(h.value):Promise.resolve(h.value).then(b,c).then(g,e)}g(a.next())})}
function Ha(a){return Ga(new Fa(new Ba(a)))}function Ka(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b}ia("globalThis",function(a){return a||ha});
ia("Symbol",function(a){function b(g){if(this instanceof b)throw new TypeError("Symbol is not a constructor");return new c(d+(g||"")+"_"+e++,g)}function c(g,h){this.g=g;ea(this,"description",{configurable:!0,writable:!0,value:h})}if(a)return a;c.prototype.toString=function(){return this.g};var d="jscomp_symbol_"+(Math.random()*1E9>>>0)+"_",e=0;return b});
ia("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");ea(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return La(oa(this))}});return a});function La(a){a={next:a};a[Symbol.iterator]=function(){return this};return a}
ia("Promise",function(a){function b(h){this.g=0;this.j=void 0;this.i=[];this.U=!1;var k=this.l();try{h(k.resolve,k.reject)}catch(l){k.reject(l)}}function c(){this.g=null}function d(h){return h instanceof b?h:new b(function(k){k(h)})}if(a)return a;c.prototype.i=function(h){if(this.g==null){this.g=[];var k=this;this.j(function(){k.o()})}this.g.push(h)};var e=ha.setTimeout;c.prototype.j=function(h){e(h,0)};c.prototype.o=function(){for(;this.g&&this.g.length;){var h=this.g;this.g=[];for(var k=0;k<h.length;++k){var l=
h[k];h[k]=null;try{l()}catch(m){this.l(m)}}}this.g=null};c.prototype.l=function(h){this.j(function(){throw h;})};b.prototype.l=function(){function h(m){return function(p){l||(l=!0,m.call(k,p))}}var k=this,l=!1;return{resolve:h(this.ua),reject:h(this.o)}};b.prototype.ua=function(h){if(h===this)this.o(new TypeError("A Promise cannot resolve to itself"));else if(h instanceof b)this.Ca(h);else{a:switch(typeof h){case "object":var k=h!=null;break a;case "function":k=!0;break a;default:k=!1}k?this.Ka(h):
this.N(h)}};b.prototype.Ka=function(h){var k=void 0;try{k=h.then}catch(l){this.o(l);return}typeof k=="function"?this.Da(k,h):this.N(h)};b.prototype.o=function(h){this.V(2,h)};b.prototype.N=function(h){this.V(1,h)};b.prototype.V=function(h,k){if(this.g!=0)throw Error("Cannot settle("+h+", "+k+"): Promise already settled in state"+this.g);this.g=h;this.j=k;this.g===2&&this.va();this.ma()};b.prototype.va=function(){var h=this;e(function(){if(h.na()){var k=ha.console;typeof k!=="undefined"&&k.error(h.j)}},
1)};b.prototype.na=function(){if(this.U)return!1;var h=ha.CustomEvent,k=ha.Event,l=ha.dispatchEvent;if(typeof l==="undefined")return!0;typeof h==="function"?h=new h("unhandledrejection",{cancelable:!0}):typeof k==="function"?h=new k("unhandledrejection",{cancelable:!0}):(h=ha.document.createEvent("CustomEvent"),h.initCustomEvent("unhandledrejection",!1,!0,h));h.promise=this;h.reason=this.j;return l(h)};b.prototype.ma=function(){if(this.i!=null){for(var h=0;h<this.i.length;++h)g.i(this.i[h]);this.i=
null}};var g=new c;b.prototype.Ca=function(h){var k=this.l();h.Di(k.resolve,k.reject)};b.prototype.Da=function(h,k){var l=this.l();try{h.call(k,l.resolve,l.reject)}catch(m){l.reject(m)}};b.prototype.then=function(h,k){function l(D,H){return typeof D=="function"?function(F){try{m(D(F))}catch(L){p(L)}}:H}var m,p,y=new b(function(D,H){m=D;p=H});this.Di(l(h,m),l(k,p));return y};b.prototype.catch=function(h){return this.then(void 0,h)};b.prototype.Di=function(h,k){function l(){switch(m.g){case 1:h(m.j);
break;case 2:k(m.j);break;default:throw Error("Unexpected state: "+m.g);}}var m=this;this.i==null?g.i(l):this.i.push(l);this.U=!0};b.resolve=d;b.reject=function(h){return new b(function(k,l){l(h)})};b.race=function(h){return new b(function(k,l){for(var m=pa(h),p=m.next();!p.done;p=m.next())d(p.value).Di(k,l)})};b.all=function(h){var k=pa(h),l=k.next();return l.done?d([]):new b(function(m,p){function y(F){return function(L){D[F]=L;H--;H==0&&m(D)}}var D=[],H=0;do D.push(void 0),H++,d(l.value).Di(y(D.length-
1),p),l=k.next();while(!l.done)})};return b});function Ma(a,b){return Object.prototype.hasOwnProperty.call(a,b)}var Na=typeof Object.assign=="function"?Object.assign:function(a,b){if(a==null)throw new TypeError("No nullish arg");a=Object(a);for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)Ma(d,e)&&(a[e]=d[e])}return a};ia("Object.assign",function(a){return a||Na});ia("Symbol.dispose",function(a){return a?a:Symbol("Symbol.dispose")});
ia("WeakMap",function(a){function b(l){this.yb=(k+=Math.random()+1).toString();if(l){l=pa(l);for(var m;!(m=l.next()).done;)m=m.value,this.set(m[0],m[1])}}function c(){}function d(l){var m=typeof l;return m==="object"&&l!==null||m==="function"}function e(l){if(!Ma(l,h)){var m=new c;ea(l,h,{value:m})}}function g(l){var m=Object[l];m&&(Object[l]=function(p){if(p instanceof c)return p;Object.isExtensible(p)&&e(p);return m(p)})}if(function(){if(!a||!Object.seal)return!1;try{var l=Object.seal({}),m=Object.seal({}),
p=new a([[l,2],[m,3]]);if(p.get(l)!=2||p.get(m)!=3)return!1;p.delete(l);p.set(m,4);return!p.has(l)&&p.get(m)==4}catch(y){return!1}}())return a;var h="$jscomp_hidden_"+Math.random();g("freeze");g("preventExtensions");g("seal");var k=0;b.prototype.set=function(l,m){if(!d(l))throw Error("Invalid WeakMap key");e(l);if(!Ma(l,h))throw Error("WeakMap key fail: "+l);l[h][this.yb]=m;return this};b.prototype.get=function(l){return d(l)&&Ma(l,h)?l[h][this.yb]:void 0};b.prototype.has=function(l){return d(l)&&
Ma(l,h)&&Ma(l[h],this.yb)};b.prototype.delete=function(l){return d(l)&&Ma(l,h)&&Ma(l[h],this.yb)?delete l[h][this.yb]:!1};return b});
ia("Map",function(a){function b(){var k={};return k.Ie=k.next=k.head=k}function c(k,l){var m=k[1];return La(function(){if(m){for(;m.head!=k[1];)m=m.Ie;for(;m.next!=m.head;)return m=m.next,{done:!1,value:l(m)};m=null}return{done:!0,value:void 0}})}function d(k,l){var m=l&&typeof l;m=="object"||m=="function"?g.has(l)?m=g.get(l):(m=""+ ++h,g.set(l,m)):m="p_"+l;var p=k[0][m];if(p&&Ma(k[0],m))for(k=0;k<p.length;k++){var y=p[k];if(l!==l&&y.key!==y.key||l===y.key)return{id:m,list:p,index:k,entry:y}}return{id:m,
list:p,index:-1,entry:void 0}}function e(k){this[0]={};this[1]=b();this.size=0;if(k){k=pa(k);for(var l;!(l=k.next()).done;)l=l.value,this.set(l[0],l[1])}}if(function(){if(!a||typeof a!="function"||!a.prototype.entries||typeof Object.seal!="function")return!1;try{var k=Object.seal({x:4}),l=new a(pa([[k,"s"]]));if(l.get(k)!="s"||l.size!=1||l.get({x:4})||l.set({x:4},"t")!=l||l.size!=2)return!1;var m=l.entries(),p=m.next();if(p.done||p.value[0]!=k||p.value[1]!="s")return!1;p=m.next();return p.done||p.value[0].x!=
4||p.value[1]!="t"||!m.next().done?!1:!0}catch(y){return!1}}())return a;var g=new WeakMap;e.prototype.set=function(k,l){k=k===0?0:k;var m=d(this,k);m.list||(m.list=this[0][m.id]=[]);m.entry?m.entry.value=l:(m.entry={next:this[1],Ie:this[1].Ie,head:this[1],key:k,value:l},m.list.push(m.entry),this[1].Ie.next=m.entry,this[1].Ie=m.entry,this.size++);return this};e.prototype.delete=function(k){k=d(this,k);return k.entry&&k.list?(k.list.splice(k.index,1),k.list.length||delete this[0][k.id],k.entry.Ie.next=
k.entry.next,k.entry.next.Ie=k.entry.Ie,k.entry.head=null,this.size--,!0):!1};e.prototype.clear=function(){this[0]={};this[1]=this[1].Ie=b();this.size=0};e.prototype.has=function(k){return!!d(this,k).entry};e.prototype.get=function(k){return(k=d(this,k).entry)&&k.value};e.prototype.entries=function(){return c(this,function(k){return[k.key,k.value]})};e.prototype.keys=function(){return c(this,function(k){return k.key})};e.prototype.values=function(){return c(this,function(k){return k.value})};e.prototype.forEach=
function(k,l){for(var m=this.entries(),p;!(p=m.next()).done;)p=p.value,k.call(l,p[1],p[0],this)};e.prototype[Symbol.iterator]=e.prototype.entries;var h=0;return e});
ia("Set",function(a){function b(c){this.g=new Map;if(c){c=pa(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.g.size}if(function(){if(!a||typeof a!="function"||!a.prototype.entries||typeof Object.seal!="function")return!1;try{var c=Object.seal({x:4}),d=new a(pa([c]));if(!d.has(c)||d.size!=1||d.add(c)!=d||d.size!=1||d.add({x:4})!=d||d.size!=2)return!1;var e=d.entries(),g=e.next();if(g.done||g.value[0]!=c||g.value[1]!=c)return!1;g=e.next();return g.done||g.value[0]==c||g.value[0].x!=
4||g.value[1]!=g.value[0]?!1:e.next().done}catch(h){return!1}}())return a;b.prototype.add=function(c){c=c===0?0:c;this.g.set(c,c);this.size=this.g.size;return this};b.prototype.delete=function(c){c=this.g.delete(c);this.size=this.g.size;return c};b.prototype.clear=function(){this.g.clear();this.size=0};b.prototype.has=function(c){return this.g.has(c)};b.prototype.entries=function(){return this.g.entries()};b.prototype.values=function(){return this.g.values()};b.prototype.keys=b.prototype.values;b.prototype[Symbol.iterator]=
b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.g.forEach(function(g){return c.call(d,g,g,e)})};return b});function Oa(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var g=c++;return{value:b(g,a[g]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return e};return e}ia("Array.prototype.entries",function(a){return a?a:function(){return Oa(this,function(b,c){return[b,c]})}});
ia("Array.prototype.keys",function(a){return a?a:function(){return Oa(this,function(b){return b})}});function Pa(a,b,c){if(a==null)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""}
ia("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=Pa(this,b,"startsWith"),e=d.length,g=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var h=0;h<g&&c<e;)if(d[c++]!=b[h++])return!1;return h>=g}});ia("Number.isFinite",function(a){return a?a:function(b){return typeof b!=="number"?!1:!isNaN(b)&&b!==Infinity&&b!==-Infinity}});
ia("String.prototype.repeat",function(a){return a?a:function(b){var c=Pa(this,null,"repeat");if(b<0||b>1342177279)throw new RangeError("Invalid count value");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}});ia("Array.prototype.find",function(a){return a?a:function(b,c){a:{var d=this;d instanceof String&&(d=String(d));for(var e=d.length,g=0;g<e;g++){var h=d[g];if(b.call(c,h,g,d)){b=h;break a}}b=void 0}return b}});
ia("String.prototype.codePointAt",function(a){return a?a:function(b){var c=Pa(this,null,"codePointAt"),d=c.length;b=Number(b)||0;if(b>=0&&b<d){b|=0;var e=c.charCodeAt(b);if(e<55296||e>56319||b+1===d)return e;b=c.charCodeAt(b+1);return b<56320||b>57343?e:(e-55296)*1024+b+9216}}});
ia("String.fromCodePoint",function(a){return a?a:function(b){for(var c="",d=0;d<arguments.length;d++){var e=Number(arguments[d]);if(e<0||e>1114111||e!==Math.floor(e))throw new RangeError("invalid_code_point "+e);e<=65535?c+=String.fromCharCode(e):(e-=65536,c+=String.fromCharCode(e>>>10&1023|55296),c+=String.fromCharCode(e&1023|56320))}return c}});ia("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)Ma(b,d)&&c.push([d,b[d]]);return c}});
ia("Array.prototype.values",function(a){return a?a:function(){return Oa(this,function(b,c){return c})}});ia("Array.from",function(a){return a?a:function(b,c,d){c=c!=null?c:function(k){return k};var e=[],g=typeof Symbol!="undefined"&&Symbol.iterator&&b[Symbol.iterator];if(typeof g=="function"){b=g.call(b);for(var h=0;!(g=b.next()).done;)e.push(c.call(d,g.value,h++))}else for(g=b.length,h=0;h<g;h++)e.push(c.call(d,b[h],h));return e}});ia("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991});
ia("Number.MIN_SAFE_INTEGER",function(){return-9007199254740991});ia("Number.isInteger",function(a){return a?a:function(b){return Number.isFinite(b)?b===Math.floor(b):!1}});ia("Object.is",function(a){return a?a:function(b,c){return b===c?b!==0||1/b===1/c:b!==b&&c!==c}});ia("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(c<0&&(c=Math.max(c+e,0));c<e;c++){var g=d[c];if(g===b||Object.is(g,b))return!0}return!1}});
ia("String.prototype.includes",function(a){return a?a:function(b,c){return Pa(this,b,"includes").indexOf(b,c||0)!==-1}});ia("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)Ma(b,d)&&c.push(b[d]);return c}});ia("Number.isNaN",function(a){return a?a:function(b){return typeof b==="number"&&isNaN(b)}});
ia("String.prototype.replaceAll",function(a){return a?a:function(b,c){if(b instanceof RegExp&&!b.global)throw new TypeError("String.prototype.replaceAll called with a non-global RegExp argument.");return b instanceof RegExp?this.replace(b,c):this.replace(new RegExp(String(b).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"),"g"),c)}});/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var Qa=Qa||{},q=this||self;function Ra(a,b){var c=Sa("CLOSURE_FLAGS");a=c&&c[a];return a!=null?a:b}function Sa(a,b){a=a.split(".");b=b||q;for(var c=0;c<a.length;c++)if(b=b[a[c]],b==null)return null;return b}function Ua(a){a.Lf=void 0;a.Nb=function(){return a.Lf?a.Lf:a.Lf=new a}}function Va(a){var b=typeof a;return b!="object"?b:a?Array.isArray(a)?"array":b:"null"}function Wa(a){var b=Va(a);return b=="array"||b=="object"&&typeof a.length=="number"}
function Xa(a){var b=typeof a;return b=="object"&&a!=null||b=="function"}function Ya(a){return Object.prototype.hasOwnProperty.call(a,Za)&&a[Za]||(a[Za]=++$a)}var Za="closure_uid_"+(Math.random()*1E9>>>0),$a=0;function ab(a,b,c){return a.call.apply(a.bind,arguments)}
function bb(a,b,c){if(!a)throw Error();if(arguments.length>2){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}}function r(a,b,c){r=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?ab:bb;return r.apply(null,arguments)}
function t(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}}function cb(){return Date.now()}function db(a,b){a=a.split(".");for(var c=q,d;a.length&&(d=a.shift());)a.length||b===void 0?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b}
function u(a,b){function c(){}c.prototype=b.prototype;a.oa=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.rw=function(d,e,g){for(var h=Array(arguments.length-2),k=2;k<arguments.length;k++)h[k-2]=arguments[k];return b.prototype[e].apply(d,h)}};var eb=typeof AsyncContext!=="undefined"&&typeof AsyncContext.Snapshot==="function"?function(a){return a&&AsyncContext.Snapshot.wrap(a)}:function(a){return a};function fb(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,fb);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));b!==void 0&&(this.cause=b)}u(fb,Error);fb.prototype.name="CustomError";var gb;function hb(a){return a[a.length-1]}
var ib=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(typeof a==="string")return typeof b!=="string"||b.length!=1?-1:a.indexOf(b,0);for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},lb=Array.prototype.lastIndexOf?function(a,b){return Array.prototype.lastIndexOf.call(a,b,a.length-1)}:function(a,b){var c=a.length-1;c<0&&(c=Math.max(0,a.length+c));if(typeof a==="string")return typeof b!=="string"||b.length!=1?-1:a.lastIndexOf(b,
c);for(;c>=0;c--)if(c in a&&a[c]===b)return c;return-1},v=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=typeof a==="string"?a.split(""):a,g=0;g<d;g++)g in e&&b.call(c,e[g],g,a)},mb=Array.prototype.filter?function(a,b,c){return Array.prototype.filter.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=[],g=0,h=typeof a==="string"?a.split(""):a,k=0;k<d;k++)if(k in h){var l=h[k];b.call(c,l,k,a)&&(e[g++]=l)}return e},nb=Array.prototype.map?
function(a,b,c){return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),g=typeof a==="string"?a.split(""):a,h=0;h<d;h++)h in g&&(e[h]=b.call(c,g[h],h,a));return e},ob=Array.prototype.some?function(a,b){return Array.prototype.some.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=typeof a==="string"?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return!0;return!1};function pb(a,b){b=qb(a,b);return b<0?null:typeof a==="string"?a.charAt(b):a[b]}
function qb(a,b,c){for(var d=a.length,e=typeof a==="string"?a.split(""):a,g=0;g<d;g++)if(g in e&&b.call(c,e[g],g,a))return g;return-1}function rb(a,b){return ib(a,b)>=0}function sb(a,b){rb(a,b)||a.push(b)}function tb(a,b){b=ib(a,b);var c;(c=b>=0)&&ub(a,b);return c}function ub(a,b){Array.prototype.splice.call(a,b,1)}function vb(a,b){b=qb(a,b);b>=0&&ub(a,b)}function wb(a){return Array.prototype.concat.apply([],arguments)}
function xb(a){var b=a.length;if(b>0){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]}function yb(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(Wa(d)){var e=a.length||0,g=d.length||0;a.length=e+g;for(var h=0;h<g;h++)a[e+h]=d[h]}else a.push(d)}}function zb(a,b,c,d){Array.prototype.splice.apply(a,Ab(arguments,1))}function Ab(a,b,c){return arguments.length<=2?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}function Bb(a,b){a.sort(b||Cb)}
function Cb(a,b){return a>b?1:a<b?-1:0}function Db(a,b){for(var c={},d=0;d<a.length;d++){var e=a[d],g=b.call(void 0,e,d,a);g!==void 0&&(c[g]||(c[g]=[])).push(e)}return c}function Eb(a){for(var b=[],c=0;c<arguments.length;c++){var d=arguments[c];if(Array.isArray(d))for(var e=0;e<d.length;e+=8192)for(var g=Eb.apply(null,Ab(d,e,e+8192)),h=0;h<g.length;h++)b.push(g[h]);else b.push(d)}return b}
function Fb(a){if(a.length){var b=1%a.length;b>0?Array.prototype.unshift.apply(a,a.splice(-b,b)):b<0&&Array.prototype.push.apply(a,a.splice(0,-b))}return a};function Gb(a,b,c){return Math.min(Math.max(a,b),c)};function w(a,b){this.x=a!==void 0?a:0;this.y=b!==void 0?b:0}f=w.prototype;f.clone=function(){return new w(this.x,this.y)};function Hb(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1}function Ib(a,b){var c=a.x-b.x;a=a.y-b.y;return Math.sqrt(c*c+a*a)}function Jb(a,b){return new w(a.x-b.x,a.y-b.y)}f.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};f.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};
f.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};f.Hj=function(a,b){this.x*=a;this.y*=typeof b==="number"?b:a;return this};function Kb(a,b){this.width=a;this.height=b}function Lb(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1}f=Kb.prototype;f.clone=function(){return new Kb(this.width,this.height)};f.aspectRatio=function(){return this.width/this.height};f.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};f.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
f.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function Mb(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function Nb(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}function Ob(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return c}function Pb(){var a=Qb,b;for(b in a)return!1;return!0}function Rb(a,b,c){if(a!==null&&b in a)throw Error('The object already contains the key "'+b+'"');a[b]=c}var Sb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
function Tb(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var g=0;g<Sb.length;g++)c=Sb[g],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}}function Ub(a){var b=arguments.length;if(b==1&&Array.isArray(arguments[0]))return Ub.apply(null,arguments[0]);if(b%2)throw Error("Uneven number of arguments");for(var c={},d=0;d<b;d+=2)c[arguments[d]]=arguments[d+1];return c};function Vb(a,b){var c=a.length-b.length;return c>=0&&a.indexOf(b,c)==c}function Wb(a){return/^[\s\xa0]*$/.test(a)}var Xb=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]};
function Yb(a){if(!Zb.test(a))return a;a.indexOf("&")!=-1&&(a=a.replace($b,"&amp;"));a.indexOf("<")!=-1&&(a=a.replace(ac,"&lt;"));a.indexOf(">")!=-1&&(a=a.replace(bc,"&gt;"));a.indexOf('"')!=-1&&(a=a.replace(cc,"&quot;"));a.indexOf("'")!=-1&&(a=a.replace(dc,"&#39;"));a.indexOf("\x00")!=-1&&(a=a.replace(ec,"&#0;"));return a}var $b=/&/g,ac=/</g,bc=/>/g,cc=/"/g,dc=/'/g,ec=/\x00/g,Zb=/[\x00&<>"']/;function fc(a,b){return a.indexOf(b)!=-1}
function hc(a,b){var c=0;a=Xb(String(a)).split(".");b=Xb(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;c==0&&e<d;e++){var g=a[e]||"",h=b[e]||"";do{g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""];h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];if(g[0].length==0&&h[0].length==0)break;c=ic(g[1].length==0?0:parseInt(g[1],10),h[1].length==0?0:parseInt(h[1],10))||ic(g[2].length==0,h[2].length==0)||ic(g[2],h[2]);g=g[3];h=h[3]}while(c==0)}return c}function ic(a,b){return a<b?-1:a>b?1:0};/*

 Copyright Google LLC
 SPDX-License-Identifier: Apache-2.0
*/
function jc(a){return{valueOf:a}.valueOf()};var kc=globalThis.trustedTypes,lc=kc,mc;function nc(){var a=null;if(!lc)return a;try{var b=function(c){return c};a=lc.createPolicy("goog#html",{createHTML:b,createScript:b,createScriptURL:b})}catch(c){}return a}function oc(){mc===void 0&&(mc=nc());return mc};function pc(a){this.g=a}pc.prototype.toString=function(){return this.g+""};function qc(a){var b=oc();a=b?b.createScriptURL(a):a;return new pc(a)}function rc(a){if(a instanceof pc)return a.g;throw Error("");};function sc(a){this.g=a}sc.prototype.toString=function(){return this.g};var tc=new sc("about:invalid#zClosurez");function vc(a){if(a instanceof sc)return a.g;throw Error("");};function wc(a){this.fl=a}function xc(a){return new wc(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})}var yc=[xc("data"),xc("http"),xc("https"),xc("mailto"),xc("ftp"),new wc(function(a){return/^[^:]*([/?#]|$)/.test(a)})];function zc(a){var b=b===void 0?yc:b;a:if(b=b===void 0?yc:b,!(a instanceof sc)){for(var c=0;c<b.length;++c){var d=b[c];if(d instanceof wc&&d.fl(a)){a=new sc(a);break a}}a=void 0}return a||tc}
var Ac=jc(function(){return typeof URL==="function"}),Bc=["data:","http:","https:","mailto:","ftp:"],Cc=/^\s*(?!javascript:)(?:[\w+.-]+:|[^:/?#]*(?:[/?#]|$))/i;function Dc(a){if(Cc.test(a))return a}function Ec(a){return a instanceof sc?vc(a):Dc(a)};function Fc(a,b){b=Ec(b);b!==void 0&&(a.href=b)};function Gc(a){this.g=a}Gc.prototype.toString=function(){return this.g+""};function Hc(a){var b=oc();a=b?b.createHTML(a):a;return new Gc(a)}var Ic=jc(function(){return new Gc(kc?kc.emptyHTML:"")});function Jc(a){if(a instanceof Gc)return a.g;throw Error("");};function Kc(a,b){b=Ec(b);b!==void 0&&a.open(b,void 0,void 0)}function Lc(a,b){b=b===void 0?document:b;var c,d;b=(d=(c=b).querySelector)==null?void 0:d.call(c,a+"[nonce]");return b==null?"":b.nonce||b.getAttribute("nonce")||""};function Mc(a){this.g=a}Mc.prototype.toString=function(){return this.g+""};function Nc(a,b){a.src=rc(b);(b=Lc("script",a.ownerDocument))&&a.setAttribute("nonce",b)};function Oc(){this.g=Pc[0].toLowerCase()}Oc.prototype.toString=function(){return this.g};function x(a,b){a.nodeType===1&&Qc(a);a.innerHTML=Jc(b)}function Rc(a,b,c){var d=b==="beforebegin"||b==="afterend"?a.parentElement:a;d!==null&&Qc(d);a.insertAdjacentHTML(b,Jc(c))}function Sc(a,b){var c=Tc;if(c.length===0)throw Error("");if(c.map(function(d){if(d instanceof Oc)d=d.g;else throw Error("");return d}).every(function(d){return"value".indexOf(d)!==0}))throw Error('Attribute "value" does not match any of the allowed prefixes.');a.setAttribute("value",b)}
function Qc(a){if(/^(script|style)$/i.test(a.tagName))throw Error("");};function Uc(a,b){b=Ec(b);b!==void 0&&(a.href=b)}function Vc(a,b){b=Ec(b);b!==void 0&&a.replace(b)};function Wc(a){return qc(a)};function Xc(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&c.length>1;)d+=c.shift()+e.shift();return d+c.join("%s")}function Yc(a){return a.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")}function Zc(a){return a.replace(/\xa0|[ \t]+/g," ")}function $c(a){return a.replace(/[\t\r\n ]+/g," ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g,"")}function bd(a){return encodeURIComponent(String(a))}function cd(a){return decodeURIComponent(a.replace(/\+/g," "))}
function dd(a){return a=Yb(a)}function ed(a){return fc(a,"&")?"document"in q?fd(a):gd(a):a}function fd(a){var b={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"'};var c=q.document.createElement("div");return a.replace(hd,function(d,e){var g=b[d];if(g)return g;e.charAt(0)=="#"&&(e=Number("0"+e.slice(1)),isNaN(e)||(g=String.fromCharCode(e)));g||(x(c,Hc(d+" ")),g=c.firstChild.nodeValue.slice(0,-1));return b[d]=g})}
function gd(a){return a.replace(/&([^;]+);/g,function(b,c){switch(c){case "amp":return"&";case "lt":return"<";case "gt":return">";case "quot":return'"';default:return c.charAt(0)!="#"||(c=Number("0"+c.slice(1)),isNaN(c))?b:String.fromCharCode(c)}})}var hd=/&([^;\s<&]+);?/g;function id(a,b){a.length>b&&(a=a.substring(0,b-3)+"...");return a}function jd(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")}
var kd=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)};function ld(a){return a==null?"":String(a)}function md(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})}function nd(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})};var od=Ra(610401301,!1),pd=Ra(748402147,!0);function qd(){var a=q.navigator;return a&&(a=a.userAgent)?a:""}var rd,sd=q.navigator;rd=sd?sd.userAgentData||null:null;function td(a){if(!od||!rd)return!1;for(var b=0;b<rd.brands.length;b++){var c=rd.brands[b].brand;if(c&&fc(c,a))return!0}return!1}function ud(a){return fc(qd(),a)};function vd(){return od?!!rd&&rd.brands.length>0:!1}function wd(){return vd()?!1:ud("Opera")}function xd(){return vd()?!1:ud("Trident")||ud("MSIE")}function yd(){return ud("Firefox")||ud("FxiOS")}function zd(){return vd()?td("Chromium"):(ud("Chrome")||ud("CriOS"))&&!(vd()?0:ud("Edge"))||ud("Silk")}
function Ad(){var a=qd();if(xd()){var b=/rv: *([\d\.]*)/.exec(a);if(b&&b[1])a=b[1];else{b="";var c=/MSIE +([\d\.]+)/.exec(a);if(c&&c[1])if(a=/Trident\/(\d.\d)/.exec(a),c[1]=="7.0")if(a&&a[1])switch(a[1]){case "4.0":b="8.0";break;case "5.0":b="9.0";break;case "6.0":b="10.0";break;case "7.0":b="11.0"}else b="7.0";else b=c[1];a=b}}else a="";return a}
function Bd(){if(vd()){var a=rd.brands.find(function(b){return b.brand==="Internet Explorer"});if(!a||!a.version)return NaN;a=a.version.split(".")}else{a=Ad();if(a==="")return NaN;a=a.split(".")}return a.length===0?NaN:Number(a[0])};function Cd(){return od?!!rd&&!!rd.platform:!1}function Dd(){return ud("iPhone")&&!ud("iPod")&&!ud("iPad")}function Ed(){return Dd()||ud("iPad")||ud("iPod")}function Fd(){return Cd()?rd.platform==="macOS":ud("Macintosh")};function Gd(a){Gd[" "](a);return a}Gd[" "]=function(){};function Hd(a,b,c,d){d=d?d(b):b;return Object.prototype.hasOwnProperty.call(a,d)?a[d]:a[d]=c(b)};var Id=wd(),Jd=xd(),Kd=ud("Edge"),Ld=ud("Gecko")&&!(fc(qd().toLowerCase(),"webkit")&&!ud("Edge"))&&!(ud("Trident")||ud("MSIE"))&&!ud("Edge"),Md=fc(qd().toLowerCase(),"webkit")&&!ud("Edge"),Nd=Md&&ud("Mobile"),Od=Fd(),Pd=Cd()?rd.platform==="Windows":ud("Windows"),Qd=(Cd()?rd.platform==="Linux":ud("Linux"))||(Cd()?rd.platform==="Chrome OS":ud("CrOS")),Rd=Cd()?rd.platform==="Android":ud("Android"),Sd=Dd(),Td=ud("iPad"),Ud=ud("iPod"),Vd=Ed(),Wd;
a:{var Xd="",Yd=function(){var a=qd();if(Ld)return/rv:([^\);]+)(\)|;)/.exec(a);if(Kd)return/Edge\/([\d\.]+)/.exec(a);if(Jd)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Md)return/WebKit\/(\S+)/.exec(a);if(Id)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Yd&&(Xd=Yd?Yd[1]:"");if(Jd){var Zd,$d=q.document;Zd=$d?$d.documentMode:void 0;if(Zd!=null&&Zd>parseFloat(Xd)){Wd=String(Zd);break a}}Wd=Xd}var ae=Wd,be={};function ce(a){return Hd(be,a,function(){return hc(ae,a)>=0})};function de(a,b){if(a instanceof Gc)return a;a=ee(String(a));if(b==null?0:b.Ew)a=a.replace(/(^|[\r\n\t ]) /g,"$1&#160;");if(b==null?0:b.Mh)a=a.replace(/(\r\n|\n|\r)/g,"<br>");if(b==null?0:b.Fw)a=a.replace(/(\t+)/g,'<span style="white-space:pre">$1</span>');return Hc(a)}
function fe(a){var b={nonce:Lc("script",document)};if(a instanceof Mc)a=a.g;else throw Error("");a=a.toString();var c="<script";if(b==null?0:b.id)c+=' id="'+ee(b.id)+'"';if(b==null?0:b.nonce)c+=' nonce="'+ee(b.nonce)+'"';if(b==null?0:b.type)c+=' type="'+ee(b.type)+'"';if(b==null?0:b.defer)c+=" defer";return Hc(c+(">"+a+"\x3c/script>"))}function ee(a){return a.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}function ge(a){return he(a)}
function he(a){var b=de("");return Hc(a.map(function(c){return Jc(de(c))}).join(Jc(b).toString()))}var ie=/^[a-z][a-z\d-]*$/i,je="APPLET BASE EMBED IFRAME LINK MATH META OBJECT SCRIPT STYLE SVG TEMPLATE".split(" "),ke="AREA BR COL COMMAND HR IMG INPUT KEYGEN PARAM SOURCE TRACK WBR".split(" "),le=["action","formaction","href"];function me(a){if(!ie.test(a))throw Error("");if(je.indexOf(a.toUpperCase())!==-1)throw Error("");}
function ne(a,b,c){me(a);var d="<"+a;b&&(d+=oe(b));Array.isArray(c)||(c=c===void 0?[]:[c]);ke.indexOf(a.toUpperCase())!==-1?d+=">":(b=ge(c.map(function(e){return e instanceof Gc?e:de(String(e))})),d+=">"+b.toString()+"</"+a+">");return Hc(d)}
function oe(a){for(var b="",c=Object.keys(a),d=0;d<c.length;d++){var e=c[d],g=a[e];if(!ie.test(e))throw Error("");if(g!==void 0&&g!==null){if(/^on./i.test(e))throw Error("");le.indexOf(e.toLowerCase())!==-1&&(g=g instanceof sc?g.toString():Dc(String(g))||"about:invalid#zClosurez");g=e+'="'+de(String(g))+'"';b+=" "+g}}return b};function pe(a){try{return new URL(a,window.document.baseURI)}catch(b){return new URL("about:invalid")}};function qe(a,b){var c=b.createRange();c.selectNode(b.body);a=Hc(a);return c.createContextualFragment(Jc(a))};function re(a){a=a.nodeName;return typeof a==="string"?a:"FORM"}function se(a){a=a.nodeType;return a===1||typeof a!=="number"};function te(a,b,c,d,e){this.j=a;this.g=b;this.l=c;this.o=d;this.i=e}function ue(a,b,c){c=a.g.get(c);return(c==null?0:c.has(b))?c.get(b):a.l.has(b)?{oc:1}:(c=a.o.get(b))?c:a.i&&[].concat(ra(a.i)).some(function(d){return b.indexOf(d)===0})?{oc:1}:{oc:0}};var ve="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 NOBR 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 ACRONYM BASEFONT BIG DIR HGROUP STRIKE TT".split(" "),
we=[["A",new Map([["href",{oc:7}]])],["AREA",new Map([["href",{oc:7}]])],["LINK",new Map([["href",{oc:5,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",{oc:5}],["srcset",{oc:6}]])],["IMG",new Map([["src",{oc:5}],["srcset",{oc:6}]])],["VIDEO",new Map([["src",{oc:5}]])],["AUDIO",new Map([["src",{oc:5}]])]],xe="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 cite color cols colspan controls controlslist coords crossorigin datetime disabled download draggable enctype face formenctype frameborder height hreflang hidden inert ismap label lang loop max maxlength media minlength min multiple muted nonce open playsinline placeholder preload rel required reversed role rows rowspan selected shape size sizes slot span spellcheck start step summary translate type usemap valign value width wrap itemscope itemtype itemid itemprop itemref".split(" "),
ye=[["dir",{oc:3,conditions:jc(function(){return new Map([["dir",new Set(["auto","ltr","rtl"])]])})}],["async",{oc:3,conditions:jc(function(){return new Map([["async",new Set(["async"])]])})}],["loading",{oc:3,conditions:jc(function(){return new Map([["loading",new Set(["eager","lazy"])]])})}],["poster",{oc:5}],["target",{oc:3,conditions:jc(function(){return new Map([["target",new Set(["_self","_blank"])]])})}]],ze=new te(new Set(ve),new Map(we),new Set(xe),new Map(ye)),Ae=new te(new Set(ve.concat(["BUTTON",
"INPUT"])),new Map(we),new Set(jc(function(){return xe.concat(["class","id","name"])})),new Map(jc(function(){return ye.concat([["style",{oc:1}]])}))),Be=new te(new Set(jc(function(){return ve.concat("STYLE TITLE INPUT TEXTAREA BUTTON LABEL".split(" "))})),new Map(we),new Set(jc(function(){return xe.concat(["class","id","tabindex","contenteditable","name"])})),new Map(jc(function(){return ye.concat([["style",{oc:1}]])})),new Set(["data-","aria-"]));function Ce(a,b,c,d,e){this.j=a;this.o=b;this.l=c;this.g=d;this.i=e}function De(a,b){var c=document.implementation.createHTMLDocument("");a=Ee(a,b,c);c=c.body;c.appendChild(a);c=(new XMLSerializer).serializeToString(c);c=c.slice(c.indexOf(">")+1,c.lastIndexOf("</"));return Hc(c)}
function Ee(a,b,c){b=qe(b,c);b=document.createTreeWalker(b,5,function(k){if(k.nodeType===3)k=1;else if(se(k))if(k=re(k),k===null)k=2;else{var l=a.j;k=k!=="FORM"&&(l.j.has(k)||l.g.has(k))?1:2}else k=2;return k});for(var d=b.nextNode(),e=c.createDocumentFragment(),g=e;d!==null;){var h=void 0;if(d.nodeType===3)a.o&&g.nodeName==="STYLE"?(d=a.o(d.data),h=document.createTextNode(d)):h=document.createTextNode(d.data);else if(se(d))h=Fe(a,d,c);else throw Error("");g.appendChild(h);if(d=b.firstChild())g=h;
else for(;!(d=b.nextSibling())&&(d=b.parentNode());)g=g.parentNode}return e}
function Fe(a,b,c){var d,e=re(b);c=c.createElement(e);b=b.attributes;for(var g=pa(b),h=g.next();!h.done;h=g.next()){var k=h.value;h=k.name;k=k.value;var l=ue(a.j,h,e);a:{if(d=l.conditions){d=pa(d);for(var m=d.next();!m.done;m=d.next()){var p=pa(m.value);m=p.next().value;p=p.next().value;var y=void 0;if((m=(y=b.getNamedItem(m))==null?void 0:y.value)&&!p.has(m)){d=!1;break a}}}d=!0}if(d)switch(l.oc){case 1:Ge(c,h,k);break;case 2:throw Error();case 3:Ge(c,h,k.toLowerCase());break;case 4:a.l?(k=a.l(k),
Ge(c,h,k)):Ge(c,h,k);break;case 5:a.g?(l={type:2,attributeName:h,Qn:e},k=pe(k),(k=a.g(k,l))&&Ge(c,h,k.toString())):Ge(c,h,k);break;case 6:if(a.g){l={type:2,attributeName:h,Qn:e};d=[];k=pa(k.split(","));for(m=k.next();!m.done;m=k.next())p=pa(m.value.trim().split(/\s+/,2)),m=p.next().value,p=p.next().value,d.push({url:m,Dk:p});k={zl:[]};d=pa(d);for(m=d.next();!m.done;m=d.next())m=m.value,p=pe(m.url),(p=a.g(p,l))&&k.zl.push({url:p.toString(),Dk:m.Dk});Ge(c,h,He(k))}else Ge(c,h,k);break;case 7:l=k;if(a.i){l=
{type:2,attributeName:h,Qn:e};k=pe(k);k=a.i(k,l);if(k===null)break;l=k.toString()}k=l;a:if(d=void 0,l=k,Ac){try{d=new URL(l)}catch(D){l="https:";break a}l=d.protocol}else b:{d=document.createElement("a");try{d.href=l}catch(D){l=void 0;break b}l=d.protocol;l=l===":"||l===""?"https:":l}l=l!==void 0&&Bc.indexOf(l.toLowerCase())!==-1?k:"about:invalid#zClosurez";Ge(c,h,l)}}return c}function Ge(a,b,c){a.setAttribute(b,c)}
function He(a){return a.zl.map(function(b){var c=b.Dk;return""+b.url+(c?" "+c:"")}).join(" , ")}var Ie=jc(function(){return new Ce(ze)});function Je(a){return De(Ie,a)}function z(a){return De(Ie,a)}var Ke=jc(function(){return new Ce(Ae)}),Le=jc(function(){return new Ce(Be)});function Me(){this.i=!1;this.g=ze}function Ne(){Me.apply(this,arguments)}n(Ne,Me);function Oe(a){var b=Ka.apply(1,arguments);if(b.length===0)return qc(a[0]);for(var c=a[0],d=0;d<b.length;d++)c+=encodeURIComponent(b[d])+a[d+1];return qc(c)}function Pe(a,b,c,d){function e(h,k){h!=null&&(Array.isArray(h)?h.forEach(function(l){return e(l,k)}):(b+=g+encodeURIComponent(k)+"="+encodeURIComponent(h),g="&"))}var g=b.length?"&":"?";d.constructor===Object&&(d=Object.entries(d));Array.isArray(d)?d.forEach(function(h){return e(h[1],h[0])}):d.forEach(e);return qc(a+b+c)};var Qe={0:1,1:1},Re={0:.1,1:.1};function Se(a,b){try{De(Le,a)}catch(c){return Te(b,"H_SLSANITIZE"),!0}try{De(Ke,a)}catch(c){return Te(b,"H_RSANITIZE"),!0}try{z(a)}catch(c){return Te(b,"H_SANITIZE"),!0}return!1}function Te(a,b){(Ue?Ue:typeof window!=="undefined"&&window.navigator&&window.navigator.sendBeacon!==void 0?navigator.sendBeacon.bind(navigator):Ve)("https://csp.withgoogle.com/csp/lcreport/"+a.oj,JSON.stringify({host:window.location.hostname,type:b,additionalData:void 0}))}
function Ve(a,b){var c=new XMLHttpRequest;c.open("POST",a);c.setRequestHeader("Content-Type","application/json");c.send(b)}var Ue;var We={};function Xe(a){return a?new Ye(Ze(a)):gb||(gb=new Ye)}function A(a){return $e(document,a)}function $e(a,b){return typeof b==="string"?a.getElementById(b):b}function af(a,b){return(b||document).getElementsByTagName(String(a))}function bf(a,b,c){return cf(document,a,b,c)}function df(a,b){return(b||document).querySelectorAll("."+a)}function ef(a,b){var c=b||document,d=null;c.getElementsByClassName?d=c.getElementsByClassName(a)[0]:d=ff("*",a,b);return d||null}
function cf(a,b,c,d){a=d||a;return(b=b&&b!="*"?String(b).toUpperCase():"")||c?a.querySelectorAll(b+(c?"."+c:"")):a.getElementsByTagName("*")}function ff(a,b,c){var d=document,e=a&&a!="*"?String(a).toUpperCase():"";return e||b?(c||d).querySelector(e+(b?"."+b:"")):cf(d,a,b,c)[0]||null}
function gf(a,b){Mb(b,function(c,d){d=="style"?a.style.cssText=c:d=="class"?a.className=c:d=="for"?a.htmlFor=c:hf.hasOwnProperty(d)?a.setAttribute(hf[d],c):d.lastIndexOf("aria-",0)==0||d.lastIndexOf("data-",0)==0?a.setAttribute(d,c):a[d]=c})}var hf={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};
function jf(a){a=(a||window).document;a=a.compatMode=="CSS1Compat"?a.documentElement:a.body;return new Kb(a.clientWidth,a.clientHeight)}function kf(a){var b=lf(a);a=a.defaultView;return new w((a==null?void 0:a.pageXOffset)||b.scrollLeft,(a==null?void 0:a.pageYOffset)||b.scrollTop)}function lf(a){return a.scrollingElement?a.scrollingElement:Md||a.compatMode!="CSS1Compat"?a.body||a.documentElement:a.documentElement}function mf(a){return a?a.defaultView:window}
function B(a,b,c){return nf(document,arguments)}function nf(a,b){var c=b[1],d=of(a,String(b[0]));c&&(typeof c==="string"?d.className=c:Array.isArray(c)?d.className=c.join(" "):gf(d,c));b.length>2&&pf(a,d,b,2);return d}
function pf(a,b,c,d){function e(k){k&&b.appendChild(typeof k==="string"?a.createTextNode(k):k)}for(;d<c.length;d++){var g=c[d];if(!Wa(g)||Xa(g)&&g.nodeType>0)e(g);else{a:{if(g&&typeof g.length=="number"){if(Xa(g)){var h=typeof g.item=="function"||typeof g.item=="string";break a}if(typeof g==="function"){h=typeof g.item=="function";break a}}h=!1}v(h?xb(g):g,e)}}}function C(a){return of(document,a)}
function of(a,b){b=String(b);a.contentType==="application/xhtml+xml"&&(b=b.toLowerCase());return a.createElement(b)}function qf(a){return document.createTextNode(String(a))}function rf(a,b){a.appendChild(b)}function sf(a,b){pf(Ze(a),a,arguments,1)}function tf(a){for(var b;b=a.firstChild;)a.removeChild(b)}function uf(a,b){b.parentNode&&b.parentNode.insertBefore(a,b)}function vf(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)}
function wf(a,b,c){a.insertBefore(b,a.childNodes[c]||null)}function E(a){return a&&a.parentNode?a.parentNode.removeChild(a):null}function xf(a,b){var c=b.parentNode;c&&c.replaceChild(a,b)}function yf(a){return a.children!=void 0?a.children:Array.prototype.filter.call(a.childNodes,function(b){return b.nodeType==1})}function zf(a){return a.firstElementChild!==void 0?a.firstElementChild:Af(a.firstChild,!0)}function Af(a,b){for(;a&&a.nodeType!=1;)a=b?a.nextSibling:a.previousSibling;return a}
function Bf(a){return Xa(a)&&a.nodeType==1}function Cf(a,b){if(!a||!b)return!1;if(a.contains&&b.nodeType==1)return a==b||a.contains(b);if(typeof a.compareDocumentPosition!="undefined")return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}function Ze(a){return a.nodeType==9?a:a.ownerDocument||a.document}
function G(a,b){if("textContent"in a)a.textContent=b;else if(a.nodeType==3)a.data=String(b);else if(a.firstChild&&a.firstChild.nodeType==3){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=String(b)}else tf(a),a.appendChild(Ze(a).createTextNode(String(b)))}var Df={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},Ef={IMG:" ",BR:"\n"};function Ff(a){return a.hasAttribute("tabindex")&&Gf(a)}function Hf(a,b){b?a.tabIndex=0:(a.tabIndex=-1,a.removeAttribute("tabIndex"))}
function Gf(a){a=a.tabIndex;return typeof a==="number"&&a>=0&&a<32768}function If(a){var b=[];Jf(a,b,!0);a=b.join("");a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");a=a.replace(/ +/g," ");a!=" "&&(a=a.replace(/^\s*/,""));return a}function Kf(a){var b=[];Jf(a,b,!1);return b.join("")}
function Jf(a,b,c){if(!(a.nodeName in Df))if(a.nodeType==3)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in Ef)b.push(Ef[a.nodeName]);else for(a=a.firstChild;a;)Jf(a,b,c),a=a.nextSibling}function Lf(a){return Mf(a,function(b){return b.nodeName=="DIV"&&typeof b.className==="string"&&rb(b.className.split(/\s+/),"slider-box")})}function Mf(a,b){for(var c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null}
function Nf(a){try{var b=a&&a.activeElement;return b&&b.nodeName?b:null}catch(c){return null}}function Ye(a){this.g=a||q.document||document}f=Ye.prototype;f.ha=function(a){return $e(this.g,a)};f.getElementsByTagName=function(a,b){return(b||this.g).getElementsByTagName(String(a))};f.Pa=function(a,b,c){return nf(this.g,arguments)};function Of(a,b){return of(a.g,b)}function Pf(a){return kf(a.g)}f.appendChild=rf;f.dm=sf;f.hm=tf;f.mu=uf;f.lu=vf;f.ci=E;f.Xn=yf;f.Zn=zf;f.pu=Bf;f.fm=Cf;function Qf(a){a&&typeof a.dispose=="function"&&a.dispose()};function Rf(){this.qd=this.qd;this.Ka=this.Ka}Rf.prototype.qd=!1;Rf.prototype.dispose=function(){this.qd||(this.qd=!0,this.wa())};Rf.prototype[Symbol.dispose]=function(){this.dispose()};function Sf(a,b){b=t(Qf,b);a.qd?b():(a.Ka||(a.Ka=[]),a.Ka.push(b))}Rf.prototype.wa=function(){if(this.Ka)for(;this.Ka.length;)this.Ka.shift()()};function Tf(a){this.id=a}Tf.prototype.toString=function(){return this.id};function Uf(a,b){this.type=a instanceof Tf?String(a):a;this.currentTarget=this.target=b;this.defaultPrevented=this.g=!1}Uf.prototype.stopPropagation=function(){this.g=!0};Uf.prototype.preventDefault=function(){this.defaultPrevented=!0};function Vf(a){a.preventDefault()};var Wf=function(){if(!q.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=function(){};q.addEventListener("test",c,b);q.removeEventListener("test",c,b)}catch(d){}return a}();function Xf(a,b){Uf.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.Al=!1;this.pointerId=0;this.pointerType="";this.timeStamp=0;this.Rb=null;a&&this.init(a,b)}u(Xf,Uf);
Xf.prototype.init=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;b||(c=="mouseover"?b=a.fromElement:c=="mouseout"&&(b=a.toElement));this.relatedTarget=b;d?(this.clientX=d.clientX!==void 0?d.clientX:d.pageX,this.clientY=d.clientY!==void 0?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=Md||a.offsetX!==void 0?a.offsetX:a.layerX,this.offsetY=
Md||a.offsetY!==void 0?a.offsetY:a.layerY,this.clientX=a.clientX!==void 0?a.clientX:a.pageX,this.clientY=a.clientY!==void 0?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||(c=="keypress"?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.Al=Od?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||0;this.pointerType=a.pointerType;this.state=
a.state;this.timeStamp=a.timeStamp;this.Rb=a;a.defaultPrevented&&Xf.oa.preventDefault.call(this)};function Yf(a){return a.Rb.button==0&&!(Od&&a.ctrlKey)}Xf.prototype.stopPropagation=function(){Xf.oa.stopPropagation.call(this);this.Rb.stopPropagation?this.Rb.stopPropagation():this.Rb.cancelBubble=!0};Xf.prototype.preventDefault=function(){Xf.oa.preventDefault.call(this);var a=this.Rb;a.preventDefault?a.preventDefault():a.returnValue=!1};var Zf="closure_listenable_"+(Math.random()*1E6|0);function $f(a){return!(!a||!a[Zf])};var ag=0;function bg(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.Ti=e;this.key=++ag;this.Hg=this.Ci=!1}function cg(a){a.Hg=!0;a.listener=null;a.proxy=null;a.src=null;a.Ti=null};function dg(a){this.src=a;this.g={};this.i=0}f=dg.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=eg(a,b,d,e);h>-1?(b=a[h],c||(b.Ci=!1)):(b=new bg(b,this.src,g,!!d,e),b.Ci=c,a.push(b));return b};f.remove=function(a,b,c,d){a=a.toString();if(!(a in this.g))return!1;var e=this.g[a];b=eg(e,b,c,d);return b>-1?(cg(e[b]),ub(e,b),e.length==0&&(delete this.g[a],this.i--),!0):!1};
function fg(a,b){var c=b.type;c in a.g&&tb(a.g[c],b)&&(cg(b),a.g[c].length==0&&(delete a.g[c],a.i--))}f.zg=ba(1);f.uh=function(a,b,c,d){a=this.g[a.toString()];var e=-1;a&&(e=eg(a,b,c,d));return e>-1?a[e]:null};f.hasListener=function(a,b){var c=a!==void 0,d=c?a.toString():"",e=b!==void 0;return Nb(this.g,function(g){for(var h=0;h<g.length;++h)if(!(c&&g[h].type!=d||e&&g[h].capture!=b))return!0;return!1})};
function eg(a,b,c,d){for(var e=0;e<a.length;++e){var g=a[e];if(!g.Hg&&g.listener==b&&g.capture==!!c&&g.Ti==d)return e}return-1};var gg="closure_lm_"+(Math.random()*1E6|0),hg={},ig=0;function I(a,b,c,d,e){if(d&&d.once)return jg(a,b,c,d,e);if(Array.isArray(b)){for(var g=0;g<b.length;g++)I(a,b[g],c,d,e);return null}c=kg(c);return $f(a)?a.ka(b,c,Xa(d)?!!d.capture:!!d,e):lg(a,b,c,!1,d,e)}
function lg(a,b,c,d,e,g){if(!b)throw Error("Invalid event type");var h=Xa(e)?!!e.capture:!!e,k=mg(a);k||(a[gg]=k=new dg(a));c=k.add(b,c,d,h,g);if(c.proxy)return c;d=ng();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)Wf||(e=h),e===void 0&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(og(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");ig++;return c}
function ng(){function a(c){return b.call(a.src,a.listener,c)}var b=pg;return a}function jg(a,b,c,d,e){if(Array.isArray(b)){for(var g=0;g<b.length;g++)jg(a,b[g],c,d,e);return null}c=kg(c);return $f(a)?a.jf(b,c,Xa(d)?!!d.capture:!!d,e):lg(a,b,c,!0,d,e)}function qg(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)qg(a,b[g],c,d,e);else d=Xa(d)?!!d.capture:!!d,c=kg(c),$f(a)?a.Va(b,c,d,e):a&&(a=mg(a))&&(b=a.uh(b,c,d,e))&&rg(b)}
function rg(a){if(typeof a!=="number"&&a&&!a.Hg){var b=a.src;if($f(b))fg(b.Id,a);else{var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(og(c),d):b.addListener&&b.removeListener&&b.removeListener(d);ig--;(c=mg(b))?(fg(c,a),c.i==0&&(c.src=null,b[gg]=null)):cg(a)}}}function og(a){return a in hg?hg[a]:hg[a]="on"+a}function sg(a,b){var c=a.listener,d=a.Ti||a.src;a.Ci&&rg(a);return c.call(d,b)}
function pg(a,b){return a.Hg?!0:sg(a,new Xf(b,this))}function mg(a){a=a[gg];return a instanceof dg?a:null}var tg="__closure_events_fn_"+(Math.random()*1E9>>>0);function kg(a){if(typeof a==="function")return a;a[tg]||(a[tg]=function(b){return a.handleEvent(b)});return a[tg]};function ug(a){Rf.call(this);this.N=a;this.l={}}u(ug,Rf);var vg=[];f=ug.prototype;f.ka=function(a,b,c,d){return wg(this,a,b,c,d)};function xg(a,b,c,d,e){wg(a,b,c,d,!1,e)}function wg(a,b,c,d,e,g){Array.isArray(c)||(c&&(vg[0]=c.toString()),c=vg);for(var h=0;h<c.length;h++){var k=I(b,c[h],d||a.handleEvent,e||!1,g||a.N||a);if(!k)break;a.l[k.key]=k}return a}f.jf=function(a,b,c,d){return yg(this,a,b,c,d)};
function yg(a,b,c,d,e,g){if(Array.isArray(c))for(var h=0;h<c.length;h++)yg(a,b,c[h],d,e,g);else{b=jg(b,c,d||a.handleEvent,e,g||a.N||a);if(!b)return a;a.l[b.key]=b}return a}f.Va=function(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)this.Va(a,b[g],c,d,e);else c=c||this.handleEvent,d=Xa(d)?!!d.capture:!!d,e=e||this.N||this,c=kg(c),d=!!d,b=$f(a)?a.uh(b,c,d,e):a?(a=mg(a))?a.uh(b,c,d,e):null:null,b&&(rg(b),delete this.l[b.key]);return this};
function zg(a){Mb(a.l,function(b,c){this.l.hasOwnProperty(c)&&rg(b)},a);a.l={}}f.wa=function(){ug.oa.wa.call(this);zg(this)};f.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};function Ag(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}function Bg(a){for(var b=new Ag(arguments[0].y,arguments[0].x,arguments[0].y,arguments[0].x),c=1;c<arguments.length;c++){var d=b,e=arguments[c];d.top=Math.min(d.top,e.y);d.right=Math.max(d.right,e.x);d.bottom=Math.max(d.bottom,e.y);d.left=Math.min(d.left,e.x)}return b}f=Ag.prototype;f.wb=function(){return this.right-this.left};f.Gb=function(){return this.bottom-this.top};
f.clone=function(){return new Ag(this.top,this.right,this.bottom,this.left)};function Cg(a,b){return a&&b?b instanceof Ag?b.left>=a.left&&b.right<=a.right&&b.top>=a.top&&b.bottom<=a.bottom:b.x>=a.left&&b.x<=a.right&&b.y>=a.top&&b.y<=a.bottom:!1}function Dg(a,b){var c=b.x<a.left?b.x-a.left:b.x>a.right?b.x-a.right:0;a=b.y<a.top?b.y-a.top:b.y>a.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 Eg(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}f=Eg.prototype;f.clone=function(){return new Eg(this.left,this.top,this.width,this.height)};function Fg(a){return new Ag(a.top,a.left+a.width,a.top+a.height,a.left)}function Gg(a){return new Eg(a.left,a.top,a.right-a.left,a.bottom-a.top)}
function Hg(a,b){var c=Math.max(a.left,b.left),d=Math.min(a.left+a.width,b.left+b.width);if(c<=d){var e=Math.max(a.top,b.top);b=Math.min(a.top+a.height,b.top+b.height);if(e<=b)return a.left=c,a.top=e,a.width=d-c,a.height=b-e,!0}return!1}function Ig(a,b){var c=Math.max(a.left,b.left),d=Math.min(a.left+a.width,b.left+b.width);if(c<=d){var e=Math.max(a.top,b.top);a=Math.min(a.top+a.height,b.top+b.height);if(e<=a)return new Eg(c,e,d-c,a-e)}return null}
function Jg(a,b){return a.left<=b.left+b.width&&b.left<=a.left+a.width&&a.top<=b.top+b.height&&b.top<=a.top+a.height}function Kg(a,b){if(!a||!b)return null;a=new Eg(a.left,a.top,a.width,a.height);var c=Math.max(a.left+a.width,b.left+b.width),d=Math.max(a.top+a.height,b.top+b.height);a.left=Math.min(a.left,b.left);a.top=Math.min(a.top,b.top);a.width=c-a.left;a.height=d-a.top;return a}f.getSize=function(){return new Kb(this.width,this.height)};
f.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};f.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};f.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function J(a,b,c){if(typeof b==="string")Lg(a,c,b);else for(var d in b)Lg(a,b[d],d)}var Mg=/^--.+/;function Lg(a,b,c){(c=Ng(a,c))&&(Mg.test(c)?a.style.setProperty(c,b):a.style[c]=b)}var Og={};function Ng(a,b){var c=Og[b];if(!c){var d=md(b);c=d;a.style[d]===void 0&&(d=(Md?"Webkit":Ld?"Moz":null)+nd(d),a.style[d]!==void 0&&(c=d));Og[b]=c}return c}function Pg(a,b){var c=a.style[md(b)];return typeof c!=="undefined"?c:a.style[Ng(a,b)]||""}
function Qg(a,b){var c=Ze(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""}function Rg(a,b){return Qg(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]}function Sg(a){return Rg(a,"position")}function Tg(a,b,c){if(b instanceof w){var d=b.x;b=b.y}else d=b,b=c;a.style.left=Ug(d,!1);a.style.top=Ug(b,!1)}function Vg(a){return new w(a.offsetLeft,a.offsetTop)}
function Wg(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}}function Xg(a){var b=Ze(a),c=Rg(a,"position"),d=c=="fixed"||c=="absolute";for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(a.nodeType==11&&a.host&&(a=a.host),c=Rg(a,"position"),d=d&&c=="static"&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||c=="fixed"||c=="absolute"||c=="relative"))return a;return null}
function Yg(a){for(var b=new Ag(0,Infinity,Infinity,0),c=Xe(a),d=c.g.body,e=c.g.documentElement,g=lf(c.g);a=Xg(a);)if((!Md||a.clientHeight!=0||a!=d)&&a!=d&&a!=e&&Rg(a,"overflow")!="visible"){var h=Zg(a),k=new w(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=jf(c.g.defaultView);
b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,g+c.height);return b.top>=0&&b.left>=0&&b.bottom>b.top&&b.right>b.left?b:null}
function $g(a,b){b=b||lf(document);var c=b||lf(document);var d=Zg(a),e=Zg(c),g=ah(c);if(c==lf(document)){var h=d.x-c.scrollLeft;d=d.y-c.scrollTop}else h=d.x-e.x-g.left,d=d.y-e.y-g.top;a=bh(a);e=c.clientHeight-a.height;g=c.scrollLeft;var k=c.scrollTop;g+=Math.min(h,Math.max(h-(c.clientWidth-a.width),0));k+=Math.min(d,Math.max(d-e,0));c=new w(g,k);b.scrollLeft=c.x;b.scrollTop=c.y}
function Zg(a){var b=Ze(a),c=new w(0,0);if(a==(b?Ze(b):document).documentElement)return c;a=Wg(a);b=Pf(Xe(b));c.x=a.left+b.x;c.y=a.top+b.y;return c}function ch(a,b){a=dh(a);b=dh(b);return new w(a.x-b.x,a.y-b.y)}function eh(a){a=Wg(a);return new w(a.left,a.top)}function dh(a){if(a.nodeType==1)return eh(a);a=a.changedTouches?a.changedTouches[0]:a;return new w(a.clientX,a.clientY)}function fh(a,b,c){var d=Zg(a);b instanceof w&&(c=b.y,b=b.x);Tg(a,a.offsetLeft+(b-d.x),a.offsetTop+(Number(c)-d.y))}
function K(a,b,c){if(b instanceof Kb)c=b.height,b=b.width;else if(c==void 0)throw Error("missing height argument");gh(a,b);a.style.height=Ug(c,!0)}function Ug(a,b){typeof a=="number"&&(a=(b?Math.round(a):a)+"px");return a}function gh(a,b){a.style.width=Ug(b,!0)}function hh(a){return M(a)}
function M(a){var b=bh;if(Rg(a,"display")!="none")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 bh(a){var b=a.offsetWidth,c=a.offsetHeight,d=Md&&!b&&!c;return(b===void 0||d)&&a.getBoundingClientRect?(a=Wg(a),new Kb(a.right-a.left,a.bottom-a.top)):new Kb(b,c)}function ih(a){var b=Zg(a);a=M(a);return new Eg(b.x,b.y,a.width,a.height)}
function jh(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="+Number(b)*100+")")}function N(a,b){a.style.display=b?"":"none"}function kh(a){return a.style.display!="none"}function lh(a){return"rtl"==Rg(a,"direction")}var mh=Ld?"MozUserSelect":Md||Kd?"WebkitUserSelect":null;
function nh(a,b,c){c=c?null:a.getElementsByTagName("*");if(mh&&(b=b?"none":"",a.style&&(a.style[mh]=b),c))for(var d=0;a=c[d];d++)a.style&&(a.style[mh]=b)}function oh(a,b){ph(a,b,"border-box")}
function qh(a){var b=new Kb(a.offsetWidth,a.offsetHeight);var c=Qg(a,"paddingLeft");var d=Qg(a,"paddingRight"),e=Qg(a,"paddingTop"),g=Qg(a,"paddingBottom");c=new Ag(parseFloat(e),parseFloat(d),parseFloat(g),parseFloat(c));a=ah(a);return new Kb(b.width-a.left-c.left-c.right-a.right,b.height-a.top-c.top-c.bottom-a.bottom)}function ph(a,b,c){a=a.style;Ld?a.MozBoxSizing=c:Md?a.WebkitBoxSizing=c:a.boxSizing=c;a.width=Math.max(b.width,0)+"px";a.height=Math.max(b.height,0)+"px"}
function ah(a){var b=Qg(a,"borderLeftWidth"),c=Qg(a,"borderRightWidth"),d=Qg(a,"borderTopWidth");a=Qg(a,"borderBottomWidth");return new Ag(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))};function rh(a,b){a=sh(a);var c;if(c=b){var d,e;c=Math.random()<((e=(d=b.Kw)!=null?d:Qe[b.oj[0]])!=null?e:0)}if(c&&window.SAFEVALUES_REPORTING!==!1&&"DocumentFragment"in window){var g,h;Math.random()<((h=(g=b.yw)!=null?g:Re[b.oj[0]])!=null?h:0)&&Te(b,"HEARTBEAT");Se(a,b)||de(a).toString()!==a&&Te(b,"H_ESCAPE")}return Hc(a)}function sh(a){return a===null?"null":a===void 0?"undefined":a};function th(a){return typeof a.className=="string"?a.className:a.getAttribute&&a.getAttribute("class")||""}function uh(a){return a.classList?a.classList:th(a).match(/\S+/g)||[]}function vh(a,b){typeof a.className=="string"?a.className=b:a.setAttribute&&a.setAttribute("class",b)}function wh(a,b){return a.classList?a.classList.contains(b):rb(uh(a),b)}function O(a,b){if(a.classList)a.classList.add(b);else if(!wh(a,b)){var c=th(a);vh(a,c+(c.length>0?" "+b:b))}}
function xh(a,b){if(a.classList)Array.prototype.forEach.call(b,function(e){O(a,e)});else{var c={};Array.prototype.forEach.call(uh(a),function(e){c[e]=!0});Array.prototype.forEach.call(b,function(e){c[e]=!0});b="";for(var d in c)b+=b.length>0?" "+d:d;vh(a,b)}}function yh(a,b){a.classList?a.classList.remove(b):wh(a,b)&&vh(a,Array.prototype.filter.call(uh(a),function(c){return c!=b}).join(" "))}
function zh(a,b){a.classList?Array.prototype.forEach.call(b,function(c){yh(a,c)}):vh(a,Array.prototype.filter.call(uh(a),function(c){return!rb(b,c)}).join(" "))}function P(a,b,c){c?O(a,b):yh(a,b)};function Q(){Rf.call(this);this.Id=new dg(this);this.bs=this;this.yl=null}u(Q,Rf);Q.prototype[Zf]=!0;f=Q.prototype;f.Ag=function(){return this.yl};f.Jg=function(a){this.yl=a};f.addEventListener=function(a,b,c,d){I(this,a,b,c,d)};f.removeEventListener=function(a,b,c,d){qg(this,a,b,c,d)};
f.dispatchEvent=function(a){var b,c=this.Ag();if(c)for(b=[];c;c=c.Ag())b.push(c);c=this.bs;var d=a.type||a;if(typeof a==="string")a=new Uf(a,c);else if(a instanceof Uf)a.target=a.target||c;else{var e=a;a=new Uf(d,c);Tb(a,e)}e=!0;var g;if(b)for(g=b.length-1;!a.g&&g>=0;g--){var h=a.currentTarget=b[g];e=Ah(h,d,!0,a)&&e}a.g||(h=a.currentTarget=c,e=Ah(h,d,!0,a)&&e,a.g||(e=Ah(h,d,!1,a)&&e));if(b)for(g=0;!a.g&&g<b.length;g++)h=a.currentTarget=b[g],e=Ah(h,d,!1,a)&&e;return e};
f.wa=function(){Q.oa.wa.call(this);if(this.Id){var a=this.Id,b=0,c;for(c in a.g){for(var d=a.g[c],e=0;e<d.length;e++)++b,cg(d[e]);delete a.g[c];a.i--}}this.yl=null};f.ka=function(a,b,c,d){return this.Id.add(String(a),b,!1,c,d)};f.jf=function(a,b,c,d){return this.Id.add(String(a),b,!0,c,d)};f.Va=function(a,b,c,d){return this.Id.remove(String(a),b,c,d)};
function Ah(a,b,c,d){b=a.Id.g[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,g=0;g<b.length;++g){var h=b[g];if(h&&!h.Hg&&h.capture==c){var k=h.listener,l=h.Ti||h.src;h.Ci&&fg(a.Id,h);e=k.call(l,d)!==!1&&e}}return e&&!d.defaultPrevented}f.zg=ba(0);f.uh=function(a,b,c,d){return this.Id.uh(String(a),b,c,d)};f.hasListener=function(a,b){return this.Id.hasListener(a!==void 0?String(a):void 0,b)};function Bh(a){Q.call(this);this.g=a||window;this.j=I(this.g,"resize",this.l,!1,this);this.i=jf(this.g)}u(Bh,Q);function Ch(){var a=window,b=Ya(a);return Dh[b]=Dh[b]||new Bh(a)}var Dh={};Bh.prototype.getSize=function(){return this.i?this.i.clone():null};Bh.prototype.wa=function(){Bh.oa.wa.call(this);this.j&&(rg(this.j),this.j=null);this.i=this.g=null};Bh.prototype.l=function(){var a=jf(this.g);Lb(a,this.i)||(this.i=a,this.dispatchEvent("resize"))};function Eh(a){if(a.altKey&&!a.ctrlKey||a.metaKey||a.keyCode>=112&&a.keyCode<=123)return!1;if(Fh(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!Ld;default:return a.keyCode<166||a.keyCode>183}}
function Gh(a,b,c,d,e,g){if(Od&&e)return Fh(a);if(e&&!d)return!1;if(!Ld){typeof b==="number"&&(b=Hh(b));var h=b==17||b==18||Od&&b==91;if((!c||Od)&&h||Od&&b==16&&(d||g))return!1}if(Md&&d&&c)switch(a){case 220:case 219:case 221:case 192:case 186:case 189:case 187:case 188:case 190:case 191:case 192:case 222:return!1}switch(a){case 13:return Ld?g||e?!1:!(c&&d):!0;case 27:return!Md&&!Ld}return Ld&&(d||e||g)?!1:Fh(a)}
function Fh(a){if(a>=48&&a<=57||a>=96&&a<=106||a>=65&&a<=90||Md&&a==0)return!0;switch(a){case 32:case 43:case 63:case 64:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:case 163:case 58:return!0;case 173:case 171:return Ld;default:return!1}}function Hh(a){if(Ld)a=Ih(a);else if(Od&&Md)a:switch(a){case 93:a=91;break a}return a}
function Ih(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 Jh(a){if(a.Gc&&typeof a.Gc=="function")return a.Gc();if(typeof Map!=="undefined"&&a instanceof Map||typeof Set!=="undefined"&&a instanceof Set)return Array.from(a.values());if(typeof a==="string")return a.split("");if(Wa(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}b=[];c=0;for(d in a)b[c++]=a[d];return b}
function Kh(a){if(a.Wd&&typeof a.Wd=="function")return a.Wd();if(!a.Gc||typeof a.Gc!="function"){if(typeof Map!=="undefined"&&a instanceof Map)return Array.from(a.keys());if(!(typeof Set!=="undefined"&&a instanceof Set)){if(Wa(a)||typeof a==="string"){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}b=[];c=0;for(var d in a)b[c++]=d;return b}}}
function Lh(a,b,c){if(a.forEach&&typeof a.forEach=="function")a.forEach(b,c);else if(Wa(a)||typeof a==="string")Array.prototype.forEach.call(a,b,c);else for(var d=Kh(a),e=Jh(a),g=e.length,h=0;h<g;h++)b.call(c,e[h],d&&d[h],a)};var Mh=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function Nh(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(d>=0){var g=a[c].substring(0,d);e=a[c].substring(d+1)}else g=a[c];b(g,e?cd(e):"")}}}
function Oh(a,b,c){c=c!=null?"="+bd(c):"";if(b+=c){c=a.indexOf("#");c<0&&(c=a.length);var d=a.indexOf("?");if(d<0||d>c){d=c;var e=""}else e=a.substring(d+1,c);a=[a.slice(0,d),e,a.slice(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;a=a[0]+(a[1]?"?"+a[1]:"")+a[2]}return a}function Ph(a,b,c,d){for(var e=c.length;(b=a.indexOf(c,b))>=0&&b<d;){var g=a.charCodeAt(b-1);if(g==38||g==63)if(g=a.charCodeAt(b+e),!g||g==61||g==38||g==35)return b;b+=e+1}return-1}var Qh=/#|$/;
function Rh(a){var b=window.location.href,c=b.search(Qh),d=Ph(b,0,a,c);if(d<0)return null;var e=b.indexOf("&",d);if(e<0||e>c)e=c;d+=a.length+1;return cd(b.slice(d,e!==-1?e:0))}var Sh=/[?&]($|#)/;function R(a){this.g=this.U=this.o="";this.V=null;this.i=this.l="";this.N=!1;var b;a instanceof R?(this.N=a.N,Th(this,a.o),this.U=a.U,this.g=a.g,Uh(this,a.V),Vh(this,a.l),Wh(this,a.j.clone()),Xh(this,a.i)):a&&(b=String(a).match(Mh))?(this.N=!1,Th(this,b[1]||"",!0),this.U=Yh(b[2]||""),this.g=Yh(b[3]||"",!0),Uh(this,b[4]),Vh(this,b[5]||"",!0),Wh(this,b[6]||"",!0),Xh(this,b[7]||"",!0)):(this.N=!1,this.j=new Zh(null,this.N))}
R.prototype.toString=function(){var a=[],b=this.o;b&&a.push($h(b,ai,!0),":");var c=this.g;if(c||b=="file")a.push("//"),(b=this.U)&&a.push($h(b,ai,!0),"@"),a.push(bd(c).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.V,c!=null&&a.push(":",String(c));if(c=this.l)this.g&&c.charAt(0)!="/"&&a.push("/"),a.push($h(c,c.charAt(0)=="/"?bi:ci,!0));(c=this.j.toString())&&a.push("?",c);(c=this.i)&&a.push("#",$h(c,di));return a.join("")};
R.prototype.resolve=function(a){var b=this.clone(),c=!!a.o;c?Th(b,a.o):c=!!a.U;c?b.U=a.U:c=!!a.g;c?b.g=a.g:c=a.V!=null;var d=a.l;if(c)Uh(b,a.V);else if(c=!!a.l){if(d.charAt(0)!="/")if(this.g&&!this.l)d="/"+d;else{var e=b.l.lastIndexOf("/");e!=-1&&(d=b.l.slice(0,e+1)+d)}e=d;if(e==".."||e==".")d="";else if(fc(e,"./")||fc(e,"/.")){d=e.lastIndexOf("/",0)==0;e=e.split("/");for(var g=[],h=0;h<e.length;){var k=e[h++];k=="."?d&&h==e.length&&g.push(""):k==".."?((g.length>1||g.length==1&&g[0]!="")&&g.pop(),
d&&h==e.length&&g.push("")):(g.push(k),d=!0)}d=g.join("/")}else d=e}c?Vh(b,d):c=a.j.toString()!=="";c?Wh(b,a.j.clone()):c=!!a.i;c&&Xh(b,a.i);return b};R.prototype.clone=function(){return new R(this)};function Th(a,b,c){a.o=c?Yh(b,!0):b;a.o&&(a.o=a.o.replace(/:$/,""))}function Uh(a,b){if(b){b=Number(b);if(isNaN(b)||b<0)throw Error("Bad port number "+b);a.V=b}else a.V=null}function Vh(a,b,c){a.l=c?Yh(b,!0):b}
function Wh(a,b,c){b instanceof Zh?(a.j=b,ei(a.j,a.N)):(c||(b=$h(b,fi)),a.j=new Zh(b,a.N))}R.prototype.getQuery=function(){return this.j.toString()};function S(a,b,c){a.j.set(b,c);return a}function T(a,b){return a.j.get(b)}function Xh(a,b,c){a.i=c?Yh(b):b;return a}function gi(a,b){a.j.remove(b);return a}function Yh(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}
function $h(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,hi),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}function hi(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}var ai=/[#\/\?@]/g,ci=/[#\?:]/g,bi=/[#\?]/g,fi=/[#\?@]/g,di=/#/g;function Zh(a,b){this.i=this.g=null;this.j=a||null;this.l=!!b}function ii(a){a.g||(a.g=new Map,a.i=0,a.j&&Nh(a.j,function(b,c){a.add(cd(b),c)}))}
function ji(a){var b=Kh(a);if(typeof b=="undefined")throw Error("Keys are undefined");var c=new Zh(null);a=Jh(a);for(var d=0;d<b.length;d++){var e=b[d],g=a[d];Array.isArray(g)?ki(c,e,g):c.add(e,g)}return c}f=Zh.prototype;f.add=function(a,b){ii(this);this.j=null;a=li(this,a);var c=this.g.get(a);c||this.g.set(a,c=[]);c.push(b);this.i+=1;return this};f.remove=function(a){ii(this);a=li(this,a);return this.g.has(a)?(this.j=null,this.i-=this.g.get(a).length,this.g.delete(a)):!1};
f.clear=function(){this.g=this.j=null;this.i=0};function mi(a,b){ii(a);b=li(a,b);return a.g.has(b)}f.forEach=function(a,b){ii(this);this.g.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};f.Wd=function(){ii(this);for(var a=Array.from(this.g.values()),b=Array.from(this.g.keys()),c=[],d=0;d<b.length;d++)for(var e=a[d],g=0;g<e.length;g++)c.push(b[d]);return c};
f.Gc=function(a){ii(this);var b=[];if(typeof a==="string")mi(this,a)&&(b=b.concat(this.g.get(li(this,a))));else{a=Array.from(this.g.values());for(var c=0;c<a.length;c++)b=b.concat(a[c])}return b};f.set=function(a,b){ii(this);this.j=null;a=li(this,a);mi(this,a)&&(this.i-=this.g.get(a).length);this.g.set(a,[b]);this.i+=1;return this};f.get=function(a,b){if(!a)return b;a=this.Gc(a);return a.length>0?String(a[0]):b};
function ki(a,b,c){a.remove(b);c.length>0&&(a.j=null,a.g.set(li(a,b),xb(c)),a.i+=c.length)}f.toString=function(){if(this.j)return this.j;if(!this.g)return"";for(var a=[],b=Array.from(this.g.keys()),c=0;c<b.length;c++){var d=b[c],e=bd(d);d=this.Gc(d);for(var g=0;g<d.length;g++){var h=e;d[g]!==""&&(h+="="+bd(d[g]));a.push(h)}}return this.j=a.join("&")};f.clone=function(){var a=new Zh;a.j=this.j;this.g&&(a.g=new Map(this.g),a.i=this.i);return a};
function li(a,b){b=String(b);a.l&&(b=b.toLowerCase());return b}function ei(a,b){b&&!a.l&&(ii(a),a.j=null,a.g.forEach(function(c,d){var e=d.toLowerCase();d!=e&&(this.remove(d),ki(this,e,c))},a));a.l=b}f.aq=function(a){for(var b=0;b<arguments.length;b++)Lh(arguments[b],function(c,d){this.add(d,c)},this)};function ni(a){try{return q.JSON.parse(a)}catch(b){}a=String(a);if(/^\s*$/.test(a)?0:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,"")))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);};function oi(){Q.call(this);this.headers=new Map;this.i=!1;this.g=null;this.ej="";this.j=this.U=this.o=this.N=!1;this.V=0;this.l=null;this.na="";this.ma=!1}u(oi,Q);var pi=/^https?$/i,qi=["POST","PUT"],ri=[];function si(a,b,c,d,e,g,h){var k=new oi;ri.push(k);b&&k.ka("complete",b);k.jf("ready",k.ts);g&&(k.V=Math.max(0,g));h&&(k.ma=h);k.send(a,c,d,e)}f=oi.prototype;f.ts=function(){this.dispose();tb(ri,this)};
f.send=function(a,b,c,d){if(this.g)throw Error("[goog.net.XhrIo] Object is active with another request="+this.ej+"; newUri="+a);b=b?b.toUpperCase():"GET";this.ej=a;this.N=!1;this.i=!0;this.g=new XMLHttpRequest;this.g.onreadystatechange=eb(r(this.Xo,this));try{this.U=!0,this.g.open(b,String(a),!0),this.U=!1}catch(h){ti(this);return}a=c||"";c=new Map(this.headers);if(d)if(Object.getPrototypeOf(d)===Object.prototype)for(var e in d)c.set(e,d[e]);else if(typeof d.keys==="function"&&typeof d.get==="function"){e=
pa(d.keys());for(var g=e.next();!g.done;g=e.next())g=g.value,c.set(g,d.get(g))}else throw Error("Unknown input type for opt_headers: "+String(d));d=Array.from(c.keys()).find(function(h){return"content-type"==h.toLowerCase()});e=q.FormData&&a instanceof q.FormData;!rb(qi,b)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=pa(c);for(d=b.next();!d.done;d=b.next())c=pa(d.value),d=c.next().value,c=c.next().value,this.g.setRequestHeader(d,c);this.na&&(this.g.responseType=
this.na);"withCredentials"in this.g&&this.g.withCredentials!==this.ma&&(this.g.withCredentials=this.ma);try{this.l&&(clearTimeout(this.l),this.l=null),this.V>0&&(this.l=setTimeout(this.Ng.bind(this),this.V)),this.o=!0,this.g.send(a),this.o=!1}catch(h){ti(this)}};f.Ng=function(){typeof Qa!="undefined"&&this.g&&(this.dispatchEvent("timeout"),this.abort(8))};function ti(a){a.i=!1;a.g&&(a.j=!0,a.g.abort(),a.j=!1);ui(a);vi(a)}
function ui(a){a.N||(a.N=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))}f.abort=function(){this.g&&this.i&&(this.i=!1,this.j=!0,this.g.abort(),this.j=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),vi(this))};f.wa=function(){this.g&&(this.i&&(this.i=!1,this.j=!0,this.g.abort(),this.j=!1),vi(this,!0));oi.oa.wa.call(this)};f.Xo=function(){this.qd||(this.U||this.o||this.j?wi(this):this.Su())};f.Su=function(){wi(this)};
function wi(a){if(a.i&&typeof Qa!="undefined")if(a.o&&(a.g?a.g.readyState:0)==4)setTimeout(a.Xo.bind(a),0);else if(a.dispatchEvent("readystatechange"),(a.g?a.g.readyState:0)==4){a.i=!1;try{xi(a)?(a.dispatchEvent("complete"),a.dispatchEvent("success")):ui(a)}finally{vi(a)}}}function vi(a,b){if(a.g){a.l&&(clearTimeout(a.l),a.l=null);var c=a.g;a.g=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=null}catch(d){}}}f.isActive=function(){return!!this.g};
function xi(a){var b=yi(a);a:switch(b){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var c=!0;break a;default:c=!1}if(!c){if(b=b===0)a=String(a.ej).match(Mh)[1]||null,!a&&q.self&&q.self.location&&(a=q.self.location.protocol.slice(0,-1)),b=!pi.test(a?a.toLowerCase():"");c=b}return c}function yi(a){try{return(a.g?a.g.readyState:0)>2?a.g.status:-1}catch(b){return-1}}function zi(a){try{return a.g?a.g.responseText:""}catch(b){return""}}
function Ai(a,b){if(a.g){a=a.g.responseText;b&&a.indexOf(b)==0&&(a=a.substring(b.length));a:{b=a;if(q.JSON)try{var c=q.JSON.parse(b);break a}catch(d){}c=ni(b)}return c}};function Bi(){}f=Bi.prototype;f.nb=function(a){this.ub=a.width;this.Db=a.height};f.getSize=function(){return new Kb(this.ub,this.Db)};f.Xd=function(){return this.U};f.kd=function(){return this.N};f.wb=function(){return this.ub};f.Gb=function(){return this.Db};f.jd=function(){return new w(this.U,this.N)};function Ci(a){return new Eg(a.U,a.N,a.ub,a.Db)};function Di(){return!0}function Ei(){}function Fi(a,b){function c(){}c.prototype=a.prototype;var d=new c;a.apply(d,Array.prototype.slice.call(arguments,1));return d};function Gi(){this.g=[]}Gi.prototype.Qa=function(a){this.g.push(a)};Gi.prototype.getSize=function(){var a=this.wb(),b=this.Gb();return a===null||b===null?null:new Kb(a,b)};Gi.prototype.Kd=function(a){return this.g.filter(a||Di)};function Hi(a,b){for(var c=0;c<a.g.length;c++){var d=a.g[c];if(b(d))return d}return null}function Ii(a,b){return Hi(a,function(c){return c.kd()<=b&&c.kd()+c.getSize().height>=b})}function Ji(a,b){return a.g.find(function(c){return Cg(Fg(Ci(c)),b)})};function Ki(){this.g=[];this.cells=[]}u(Ki,Gi);f=Ki.prototype;f.im=0;f.ei=0;f.marginRight=0;f.di=0;f.Xk=0;f.Cj=0;f.Pp=!1;f.wb=function(){return this.ub};f.Gb=function(){return this.Db};
function Li(a){a.U();for(var b=a.im,c={},d=0;d<a.j;c={columnWidth:void 0},d++)c.columnWidth=Mi(a,d),a.cells[d].forEach(function(g){return function(h){if(h){var k=b+Math.round((g.columnWidth-h.getSize().width)/2);h.U=k}}}(c)),b+=c.columnWidth+a.Xk;a.ub=b+a.marginRight;var e=a.ei;c={};for(d=0;d<a.i;c={Cl:void 0},d++)c.Cl=Ni(a,d),Oi(a,d).forEach(function(g){return function(h){if(h)if(this.Pp){var k=e+Math.round((g.Cl-h.getSize().height)/2);h.N=k}else h.N=e}}(c)),e+=c.Cl+a.Cj;a.Db=e+a.di}
function Oi(a,b){return a.cells.map(function(c){return c[b]})}function Mi(a,b){var c=0;a.cells[b].forEach(function(d){d&&(c=Math.max(c,d.getSize().width))});return c}function Ni(a,b){var c=0;Oi(a,b).forEach(function(d){d&&(c=Math.max(c,d.getSize().height))});return c};function Pi(a){this.l=a}n(Pi,Bi);Pi.prototype.Fa=function(){return this.l};Pi.prototype.nb=function(a){a.width==void 0?(this.Db=a.height,this.ub=Math.round(a.height*Qi(this.l))):a.height==void 0?(this.ub=a.width,this.Db=Math.round(a.width/Qi(this.l))):(this.ub=a.width,this.Db=a.height)};function Ri(a,b){this.j=a;this.l=b;this.i=0;this.g=null}Ri.prototype.get=function(){if(this.i>0){this.i--;var a=this.g;this.g=a.next;a.next=null}else a=this.j();return a};function Si(a,b){a.l(b);a.i<100&&(a.i++,b.next=a.g,a.g=b)};function Ti(a){q.setTimeout(function(){throw a;},0)};function Ui(){this.i=this.g=null}Ui.prototype.add=function(a,b){var c=Vi.get();c.set(a,b);this.i?this.i.next=c:this.g=c;this.i=c};Ui.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 Vi=new Ri(function(){return new Wi},function(a){return a.reset()});function Wi(){this.next=this.g=this.ye=null}Wi.prototype.set=function(a,b){this.ye=a;this.g=b;this.next=null};Wi.prototype.reset=function(){this.next=this.g=this.ye=null};var Xi,Yi=!1,Zi=new Ui;function $i(a,b){Xi||aj();Yi||(Xi(),Yi=!0);Zi.add(a,b)}function aj(){var a=Promise.resolve(void 0);Xi=function(){a.then(bj)}}function bj(){for(var a;a=Zi.remove();){try{a.ye.call(a.g)}catch(b){Ti(b)}Si(Vi,a)}Yi=!1};function cj(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};function dj(a){this.g=0;this.U=void 0;this.l=this.i=this.j=null;this.o=this.N=!1;if(a!=Ei)try{var b=this;a.call(void 0,function(c){ej(b,2,c)},function(c){ej(b,3,c)})}catch(c){ej(this,3,c)}}function fj(){this.next=this.context=this.i=this.j=this.g=null;this.l=!1}fj.prototype.reset=function(){this.context=this.i=this.j=this.g=null;this.l=!1};var gj=new Ri(function(){return new fj},function(a){a.reset()});function hj(a,b,c){var d=gj.get();d.j=a;d.i=b;d.context=c;return d}
function ij(){var a,b,c=new dj(function(d,e){a=d;b=e});return new jj(c,a,b)}dj.prototype.then=function(a,b,c){return kj(this,eb(typeof a==="function"?a:null),eb(typeof b==="function"?b:null),c)};dj.prototype.$goog_Thenable=!0;dj.prototype.cancel=function(a){if(this.g==0){var b=new lj(a);$i(function(){mj(this,b)},this)}};
function mj(a,b){if(a.g==0)if(a.j){var c=a.j;if(c.i){for(var d=0,e=null,g=null,h=c.i;h&&(h.l||(d++,h.g==a&&(e=h),!(e&&d>1)));h=h.next)e||(g=h);e&&(c.g==0&&d==1?mj(c,b):(g?(d=g,d.next==c.l&&(c.l=d),d.next=d.next.next):nj(c),oj(c,e,3,b)))}a.j=null}else ej(a,3,b)}function pj(a,b){a.i||a.g!=2&&a.g!=3||qj(a);a.l?a.l.next=b:a.i=b;a.l=b}
function kj(a,b,c,d){var e=hj(null,null,null);e.g=new dj(function(g,h){e.j=b?function(k){try{var l=b.call(d,k);g(l)}catch(m){h(m)}}:g;e.i=c?function(k){try{var l=c.call(d,k);l===void 0&&k instanceof lj?h(k):g(l)}catch(m){h(m)}}:h});e.g.j=a;pj(a,e);return e.g}dj.prototype.ma=function(a){this.g=0;ej(this,2,a)};dj.prototype.na=function(a){this.g=0;ej(this,3,a)};
function ej(a,b,c){if(a.g==0){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.g=1;a:{var d=c,e=a.ma,g=a.na;if(d instanceof dj){pj(d,hj(e||Ei,g||null,a));var h=!0}else if(cj(d))d.then(e,g,a),h=!0;else{if(Xa(d))try{var k=d.then;if(typeof k==="function"){rj(d,k,e,g,a);h=!0;break a}}catch(l){g.call(a,l);h=!0;break a}h=!1}}h||(a.U=c,a.g=b,a.j=null,qj(a),b!=3||c instanceof lj||sj(a,c))}}
function rj(a,b,c,d,e){function g(l){k||(k=!0,d.call(e,l))}function h(l){k||(k=!0,c.call(e,l))}var k=!1;try{b.call(a,h,g)}catch(l){g(l)}}function qj(a){a.N||(a.N=!0,$i(a.V,a))}function nj(a){var b=null;a.i&&(b=a.i,a.i=b.next,b.next=null);a.i||(a.l=null);return b}dj.prototype.V=function(){for(var a;a=nj(this);)oj(this,a,this.g,this.U);this.N=!1};
function oj(a,b,c,d){if(c==3&&b.i&&!b.l)for(;a&&a.o;a=a.j)a.o=!1;if(b.g)b.g.j=null,tj(b,c,d);else try{b.l?b.j.call(b.context):tj(b,c,d)}catch(e){uj.call(null,e)}Si(gj,b)}function tj(a,b,c){b==2?a.j.call(a.context,c):a.i&&a.i.call(a.context,c)}function sj(a,b){a.o=!0;$i(function(){a.o&&uj.call(null,b)})}var uj=Ti;function lj(a){fb.call(this,a)}u(lj,fb);lj.prototype.name="cancel";function jj(a,b,c){this.promise=a;this.resolve=b;this.reject=c};function vj(a,b){Q.call(this);this.i=a||1;this.g=b||q;this.j=r(this.Mv,this);this.l=cb()}u(vj,Q);f=vj.prototype;f.enabled=!1;f.Ta=null;function wj(a,b){a.i=b;a.Ta&&a.enabled?(a.stop(),a.start()):a.Ta&&a.stop()}f.Mv=function(){if(this.enabled){var a=cb()-this.l;a>0&&a<this.i*.8?this.Ta=this.g.setTimeout(this.j,this.i-a):(this.Ta&&(this.g.clearTimeout(this.Ta),this.Ta=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}};
f.start=function(){this.enabled=!0;this.Ta||(this.Ta=this.g.setTimeout(this.j,this.i),this.l=cb())};f.stop=function(){this.enabled=!1;this.Ta&&(this.g.clearTimeout(this.Ta),this.Ta=null)};f.wa=function(){vj.oa.wa.call(this);this.stop();delete this.g};function U(a,b,c){if(typeof a==="function")c&&(a=r(a,c));else if(a&&typeof a.handleEvent=="function")a=r(a.handleEvent,a);else throw Error("Invalid listener argument");return Number(b)>2147483647?-1:q.setTimeout(a,b||0)}
function xj(a){q.clearTimeout(a)};function yj(){return document.body.dir=="rtl"}function zj(a,b,c){a=a.style;Jd?a.filter='progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+b+'", sizingMethod="scale")':(a.backgroundImage="url("+b+")",a.backgroundRepeat=c||"no-repeat")}var Aj={border:!0,padding:!0,margin:!0},Bj=["Top","Bottom","Right","Left"],Cj={color:"#0000cc",textDecoration:"underline"};
function Dj(a){var b={backgroundColor:"transparent",border:"0px",color:"#000",fontFamily:"Arial, sans-serif",fontSize:"13.28px",fontWeight:"normal",lineHeight:"1",margin:"0px",padding:"0px",textAlign:"left",textDecoration:"none",verticalAlign:"middle"};v(a,function(c){Mb(b,t(Ej,c))})}function Ej(a,b,c){var d=Pg(a,c)=="";Aj[c]?v(Bj,function(e){d&&Pg(a,c+e)==""&&J(a,c+e,b)}):d&&(a.tagName.toLowerCase()=="a"&&Cj[c]?J(a,c,Cj[c]):J(a,c,b))}
function V(a,b){var c={img:!0,div:!0,table:!0,td:!0,span:!0,a:!0},d=[];c[a.tagName.toLowerCase()]&&d.push(a);b||Mb(c,function(e,g){yb(d,xb(a.getElementsByTagName(g)))});Dj(d)};function Fj(a,b,c){Rf.call(this);this.Hh=a;this.j=b||0;this.g=c;this.i=r(this.bq,this)}u(Fj,Rf);f=Fj.prototype;f.yb=0;f.wa=function(){Fj.oa.wa.call(this);this.stop();delete this.Hh;delete this.g};f.start=function(a){this.stop();this.yb=U(this.i,a!==void 0?a:this.j)};f.stop=function(){this.isActive()&&xj(this.yb);this.yb=0};f.isActive=function(){return this.yb!=0};f.bq=function(){this.yb=0;this.Hh&&this.Hh.call(this.g)};var Qb={},Gj=null;function Hj(a){a=Ya(a);delete Qb[a];Pb()&&Gj&&Gj.stop()}function Ij(){Gj||(Gj=new Fj(function(){Jj()},20));var a=Gj;a.isActive()||a.start()}function Jj(){var a=cb();Mb(Qb,function(b){Kj(b,a)});Pb()||Ij()};function Lj(){Q.call(this);this.Hc=0;this.endTime=this.startTime=null}u(Lj,Q);Lj.prototype.lf=function(){this.od("begin")};Lj.prototype.He=function(){this.od("end")};Lj.prototype.od=function(a){this.dispatchEvent(a)};function Mj(a,b,c,d){Lj.call(this);if(!Array.isArray(a)||!Array.isArray(b))throw Error("Start and end parameters must be arrays");if(a.length!=b.length)throw Error("Start and end points must be the same length");this.i=a;this.o=b;this.duration=c;this.l=d;this.coords=[];this.progress=0}u(Mj,Lj);f=Mj.prototype;
f.play=function(a){if(a||this.Hc==0)this.progress=0,this.coords=this.i;else if(this.Hc==1)return!1;Hj(this);this.startTime=a=cb();this.Hc==-1&&(this.startTime-=this.duration*this.progress);this.endTime=this.startTime+this.duration;this.progress||this.lf();this.od("play");this.Hc==-1&&this.od("resume");this.Hc=1;var b=Ya(this);b in Qb||(Qb[b]=this);Ij();Kj(this,a);return!0};f.stop=function(a){Hj(this);this.Hc=0;a&&(this.progress=1);Nj(this,this.progress);this.od("stop");this.He()};
f.wa=function(){this.Hc==0||this.stop(!1);this.od("destroy");Mj.oa.wa.call(this)};function Kj(a,b){b<a.startTime&&(a.endTime=b+a.endTime-a.startTime,a.startTime=b);a.progress=(b-a.startTime)/(a.endTime-a.startTime);a.progress>1&&(a.progress=1);Nj(a,a.progress);a.progress==1?(a.Hc=0,Hj(a),a.od("finish"),a.He()):a.Hc==1&&a.wl()}function Nj(a,b){typeof a.l==="function"&&(b=a.l(b));a.coords=Array(a.i.length);for(var c=0;c<a.i.length;c++)a.coords[c]=(a.o[c]-a.i[c])*b+a.i[c]}f.wl=function(){this.od("animate")};
f.od=function(a){this.dispatchEvent(new Oj(a,this))};function Oj(a,b){Uf.call(this,a);this.coords=b.coords;this.x=b.coords[0];this.y=b.coords[1];this.z=b.coords[2];this.duration=b.duration;this.progress=b.progress;this.state=b.Hc}u(Oj,Uf);function Pj(a){return 3*a*a-2*a*a*a};function W(){Q.call(this);this.g=new ug(this)}u(W,Q);W.prototype.wa=function(){this.dispatchEvent("dispose");W.oa.wa.call(this);this.g.dispose()};function Qj(){W.call(this)}u(Qj,W);function Rj(a,b){this.x=a;this.y=b}u(Rj,w);function Sj(a){return new Rj(a.x,a.y)}Rj.prototype.clone=function(){return new Rj(this.x,this.y)};Rj.prototype.Hj=w.prototype.Hj;Rj.prototype.add=function(a){this.x+=a.x;this.y+=a.y;return this};function Tj(a,b){a.x-=b.x;a.y-=b.y;return a};function Uj(a,b){this.g=a;this.i=b}function Vj(a,b){var c=Ji(a.g,b);if(!c)a:{c=Number.POSITIVE_INFINITY;for(var d=a.g.Kd(),e=d[0],g=0;g<d.length;g++){var h=d[g],k=Dg(Fg(Ci(h)),b);if(k<c){c=k;if(k==0){c=h;break a}e=h}}c=e}a=a.i.qh(c);b=Sj(b);Gd(Tj(b,c.jd()));d=a.getSize().width/c.getSize().width;c=a.getSize().height/c.getSize().height;b=new w(Math.round(b.x*d),Math.round(b.y*c));return Sj(a.jd()).add(b)};var Wj={};var Xj;var Yj="combobox grid group listbox menu menubar radiogroup row rowgroup tablist textbox toolbar tree treegrid".split(" ");function Zj(a,b){b?a.setAttribute("role",b):a.removeAttribute("role")}
function X(a,b,c){Array.isArray(c)&&(c=c.join(" "));var d="aria-"+b;c===""||c==void 0?(Xj||(c={},Xj=(c.atomic=!1,c.autocomplete="none",c.dropeffect="none",c.haspopup=!1,c.live="off",c.multiline=!1,c.multiselectable=!1,c.orientation="vertical",c.readonly=!1,c.relevant="additions text",c.required=!1,c.sort="none",c.busy=!1,c.disabled=!1,c.hidden=!1,c.invalid="false",c)),c=Xj,b in c?a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,c)}
function ak(a,b){a=a.getAttribute("aria-"+b);return a==null||a==void 0?"":String(a)}function bk(a){var b=ak(a,"activedescendant");return Ze(a).getElementById(b)}function ck(a,b){var c="";b&&(c=b.id);X(a,"activedescendant",c)}function dk(a,b){X(a,"label",b)};var ek=function(){if(Pd){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(qd()))?a[1]:"0"}return Od?(a=/1[0|1][_.][0-9_.]+/,(a=a.exec(qd()))?a[0].replace(/_/g,"."):"10"):Rd?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(qd()))?a[1]:""):Sd||Td||Ud?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(qd()))?a[1].replace(/_/g,"."):""):""}();var fk=yd(),gk=Dd()||ud("iPod"),hk=ud("iPad"),ik=ud("Android")&&!(zd()||yd()||wd()||ud("Silk")),jk=zd(),kk=ud("Safari")&&!(zd()||(vd()?0:ud("Coast"))||wd()||(vd()?0:ud("Edge"))||(vd()?td("Microsoft Edge"):ud("Edg/"))||(vd()?td("Opera"):ud("OPR"))||yd()||ud("Silk")||ud("Android"))&&!Ed();function lk(a){return(a=a.exec(qd()))?a[1]:""}var mk=function(){if(fk)return lk(/Firefox\/([0-9.]+)/);if(Jd||Kd||Id)return ae;if(jk){if(Ed()||Fd()){var a=lk(/CriOS\/([0-9.]+)/);if(a)return a}return lk(/Chrome\/([0-9.]+)/)}if(kk&&!Ed())return lk(/Version\/([0-9.]+)/);if(gk||hk){if(a=/Version\/(\S+).*Mobile\/(\S+)/.exec(qd()))return a[1]+"."+a[2]}else if(ik)return(a=lk(/Android\s+([0-9.]+)/))?a:lk(/Version\/([0-9.]+)/);return""}();function nk(a,b,c){Q.call(this);this.target=a;this.handle=b||a;this.na=c||new Eg(NaN,NaN,NaN,NaN);this.j=Ze(a);this.g=new ug(this);Sf(this,this.g);this.deltaY=this.deltaX=this.Ca=this.va=this.screenY=this.screenX=this.clientY=this.clientX=0;this.Qb=!0;this.i=!1;this.ma=0;I(this.handle,["touchstart","mousedown"],this.Ql,!1,this);this.o=ok}u(nk,Q);var ok=q.document&&q.document.documentElement&&!!q.document.documentElement.setCapture&&!!q.document.releaseCapture;
function pk(a,b){a.na=b||new Eg(NaN,NaN,NaN,NaN)}f=nk.prototype;f.tb=function(a){this.Qb=a};f.wa=function(){nk.oa.wa.call(this);qg(this.handle,["touchstart","mousedown"],this.Ql,!1,this);zg(this.g);this.o&&this.j.releaseCapture();this.handle=this.target=null};
f.Ql=function(a){var b=a.type=="mousedown";if(!this.Qb||this.i||b&&!Yf(a))this.dispatchEvent("earlycancel");else{if(this.ma==0)if(this.dispatchEvent(new qk("start",this,a.clientX,a.clientY,a)))this.i=!0,b&&a.preventDefault();else return;else b&&a.preventDefault();b=this.j;var c=b.documentElement,d=!this.o;this.g.ka(b,["touchmove","mousemove"],this.Et,{capture:d,passive:!1});this.g.ka(b,["touchend","mouseup"],this.Gi,d);this.o?(c.setCapture(!1),this.g.ka(c,"losecapture",this.Gi)):this.g.ka(mf(b),"blur",
this.Gi);this.Ha&&this.g.ka(this.Ha,"scroll",this.Tu,d);this.clientX=this.va=a.clientX;this.clientY=this.Ca=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;this.deltaX=this.target.offsetLeft;this.deltaY=this.target.offsetTop;this.ua=Pf(Xe(this.j))}};f.Gi=function(a,b){zg(this.g);this.o&&this.j.releaseCapture();this.i?(this.i=!1,this.dispatchEvent(new qk("end",this,a.clientX,a.clientY,a,rk(this,this.deltaX),sk(this,this.deltaY),b||a.type=="touchcancel"))):this.dispatchEvent("earlycancel")};
f.Et=function(a){if(this.Qb){var b=a.clientX-this.clientX,c=a.clientY-this.clientY;this.clientX=a.clientX;this.clientY=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;if(!this.i){var d=this.va-this.clientX,e=this.Ca-this.clientY;if(d*d+e*e>this.ma)if(this.dispatchEvent(new qk("start",this,a.clientX,a.clientY,a)))this.i=!0;else{this.qd||this.Gi(a);return}}c=tk(this,b,c);b=c.x;c=c.y;this.i&&this.dispatchEvent(new qk("beforedrag",this,a.clientX,a.clientY,a,b,c))&&(uk(this,a,b,c),a.preventDefault())}};
function tk(a,b,c){var d=Pf(Xe(a.j));b+=d.x-a.ua.x;c+=d.y-a.ua.y;a.ua=d;a.deltaX+=b;a.deltaY+=c;return new w(rk(a,a.deltaX),sk(a,a.deltaY))}f.Tu=function(a){var b=tk(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;uk(this,a,b.x,b.y)};function uk(a,b,c,d){a.Ck(c,d);a.dispatchEvent(new qk("drag",a,b.clientX,b.clientY,b,c,d))}function rk(a,b){var c=a.na;a=isNaN(c.left)?null:c.left;c=isNaN(c.width)?0:c.width;return Math.min(a!=null?a+c:Infinity,Math.max(a!=null?a:-Infinity,b))}
function sk(a,b){var c=a.na;a=isNaN(c.top)?null:c.top;c=isNaN(c.height)?0:c.height;return Math.min(a!=null?a+c:Infinity,Math.max(a!=null?a:-Infinity,b))}f.Ck=function(a,b){this.target.style.left=a+"px";this.target.style.top=b+"px"};function qk(a,b,c,d,e,g,h){Uf.call(this,a);this.clientX=c;this.clientY=d;this.i=e;this.left=g!==void 0?g:b.deltaX;this.top=h!==void 0?h:b.deltaY}u(qk,Uf);function vk(a){this.Bd=new Map;var b=arguments.length;if(b>1){if(b%2)throw Error("Uneven number of arguments");for(var c=0;c<b;c+=2)this.set(arguments[c],arguments[c+1])}else if(a)if(a instanceof vk)for(b=pa(a.Bd),c=b.next();!c.done;c=b.next()){var d=pa(c.value);c=d.next().value;d=d.next().value;this.Bd.set(c,d)}else if(a)for(b=pa(Object.entries(a)),c=b.next();!c.done;c=b.next())d=pa(c.value),c=d.next().value,d=d.next().value,this.Bd.set(c,d)}f=vk.prototype;f.Gc=function(){return Array.from(this.Bd.values())};
f.Wd=function(){return Array.from(this.Bd.keys())};f.clear=function(){this.Bd.clear()};f.remove=function(a){return this.Bd.delete(a)};f.get=function(a,b){return this.Bd.has(a)?this.Bd.get(a):b};f.set=function(a,b){this.Bd.set(a,b);return this};f.forEach=function(a,b){var c=this;b=b===void 0?this:b;this.Bd.forEach(function(d,e){return a.call(b,d,e,c)})};f.clone=function(){return new vk(this)};(function(){for(var a=["ms","moz","webkit","o"],b,c=0;b=a[c]&&!q.requestAnimationFrame;++c)q.requestAnimationFrame=q[b+"RequestAnimationFrame"],q.cancelAnimationFrame=q[b+"CancelAnimationFrame"]||q[b+"CancelRequestAnimationFrame"];if(!q.requestAnimationFrame){var d=0;q.requestAnimationFrame=function(e){var g=(new Date).getTime(),h=Math.max(0,16-(g-d));d=g+h;return q.setTimeout(function(){e(g+h)},h)};q.cancelAnimationFrame||(q.cancelAnimationFrame=function(e){clearTimeout(e)})}})();
var wk=[[],[]],xk=0,yk=!1,zk=0;function Ak(a,b){var c=zk++,d={Au:{id:c,ye:a.measure,context:b},Du:{id:c,ye:a.Oo,context:b},state:{},ad:void 0,Zi:!1};return function(){arguments.length>0?(d.ad||(d.ad=[]),d.ad.length=0,d.ad.push.apply(d.ad,arguments),d.ad.push(d.state)):d.ad&&d.ad.length!=0?(d.ad[0]=d.state,d.ad.length=1):d.ad=[d.state];d.Zi||(d.Zi=!0,wk[xk].push(d));yk||(yk=!0,window.requestAnimationFrame(Bk))}}
function Bk(){yk=!1;var a=wk[xk],b=a.length;xk=(xk+1)%2;for(var c,d=0;d<b;++d){c=a[d];var e=c.Au;c.Zi=!1;e.ye&&e.ye.apply(e.context,c.ad)}for(d=0;d<b;++d)c=a[d],e=c.Du,c.Zi=!1,e.ye&&e.ye.apply(e.context,c.ad),c.state={};a.length=0};var Ck=sa(["about:blank"]),Dk=sa(["javascript:undefined"]),Ek=Oe(Ck);rc(Ek);var Fk=Oe(Dk);rc(Fk);function Gk(a){Q.call(this);this.ya=a;this.g=I(this.ya,"focus",this,!0);this.i=I(this.ya,"blur",this,!0)}u(Gk,Q);Gk.prototype.handleEvent=function(a){var b=new Xf(a.Rb);b.type=a.type=="focusin"||a.type=="focus"?"focusin":"focusout";this.dispatchEvent(b)};Gk.prototype.wa=function(){Gk.oa.wa.call(this);rg(this.g);rg(this.i);delete this.ya};function Hk(){}Ua(Hk);Hk.prototype.g=0;function Ik(a){return":"+(a.g++).toString(36)};function Y(a){Q.call(this);this.g=a||Xe();this.Fb=Jk;this.yb=null;this.Ua=!1;this.ya=null;this.na=void 0;this.ma=this.U=this.N=this.tl=null;this.Nc=!1}u(Y,Q);Y.prototype.md=Hk.Nb();var Jk=null;
function Kk(a,b){switch(a){case 1:return b?"disable":"enable";case 2:return b?"highlight":"unhighlight";case 4:return b?"activate":"deactivate";case 8:return b?"select":"unselect";case 16:return b?"check":"uncheck";case 32:return b?"focus":"blur";case 64:return b?"open":"close"}throw Error("Invalid component state");}f=Y.prototype;f.getId=function(){return this.yb||(this.yb=Ik(this.md))};
f.Ig=function(a){if(this.N&&this.N.ma){var b=this.N.ma,c=this.yb;c in b&&delete b[c];Rb(this.N.ma,a,this)}this.yb=a};f.ha=function(){return this.ya};function Z(a){a.na||(a.na=new ug(a));return a.na}f.ee=function(a){if(this==a)throw Error("Unable to set parent component");if(a&&this.N&&this.yb&&Lk(this.N,this.yb)&&this.N!=a)throw Error("Unable to set parent component");this.N=a;Y.oa.Jg.call(this,a)};f.getParent=function(){return this.N};
f.Jg=function(a){if(this.N&&this.N!=a)throw Error("Method not supported");Y.oa.Jg.call(this,a)};f.Ra=function(){this.ya=Of(this.g,"DIV")};f.render=function(a){Mk(this,a)};function Mk(a,b,c){if(a.Ua)throw Error("Component already rendered");a.ya||a.Ra();b?b.insertBefore(a.ya,c||null):a.g.g.body.appendChild(a.ya);a.N&&!a.N.Ua||a.La()}
function Nk(a,b){if(a.Ua)throw Error("Component already rendered");if(b&&a.fi(b)){a.Nc=!0;var c=Ze(b);a.g&&a.g.g==c||(a.g=Xe(b));a.Pb(b);a.La()}else throw Error("Invalid element to decorate");}f.fi=function(){return!0};f.Pb=function(a){this.ya=a};f.La=function(){this.Ua=!0;Ok(this,function(a){!a.Ua&&a.ha()&&a.La()})};f.mc=function(){Ok(this,function(a){a.Ua&&a.mc()});this.na&&zg(this.na);this.Ua=!1};
f.wa=function(){this.Ua&&this.mc();this.na&&(this.na.dispose(),delete this.na);Ok(this,function(a){a.dispose()});!this.Nc&&this.ya&&E(this.ya);this.N=this.tl=this.ya=this.ma=this.U=null;Y.oa.wa.call(this)};f.ab=function(a,b){this.lg(a,Pk(this),b)};
f.lg=function(a,b,c){if(a.Ua&&(c||!this.Ua))throw Error("Component already rendered");if(b<0||b>Pk(this))throw Error("Child component index out of bounds");this.ma&&this.U||(this.ma={},this.U=[]);if(a.getParent()==this){var d=this.ma,e=a.getId();d[e]=a;tb(this.U,a)}else Rb(this.ma,a.getId(),a);a.ee(this);zb(this.U,b,0,a);a.Ua&&this.Ua&&a.getParent()==this?(c=this.Mb(),(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.Ra(),b=Qk(this,b+1),Mk(a,this.Mb(),b?b.ya:null)):this.Ua&&!a.Ua&&a.ya&&a.ya.parentNode&&a.ya.parentNode.nodeType==1&&a.La()};f.Mb=function(){return this.ya};function Rk(a){a.Fb==null&&(a.Fb=lh(a.Ua?a.ya:a.g.g.body));return a.Fb}function Pk(a){return a.U?a.U.length:0}function Lk(a,b){a.ma&&b?(a=a.ma,b=(a!==null&&b in a?a[b]:void 0)||null):b=null;return b}function Qk(a,b){return a.U?a.U[b]||null:null}function Ok(a,b,c){a.U&&a.U.forEach(b,c)}
function Sk(a,b){return a.U&&b?a.U.indexOf(b):-1}f.removeChild=function(a,b){if(a){var c=typeof a==="string"?a:a.getId();a=Lk(this,c);if(c&&a){var d=this.ma;c in d&&delete d[c];tb(this.U,a);b&&(a.mc(),a.ya&&E(a.ya));a.ee(null)}}if(!a)throw Error("Child is not in parent component");return a};function Tk(a,b){this.ya=a;this.i=b};function Uk(a,b){Q.call(this);this.V=new ug(this);this.Yf(a||null);b&&(this.Zf=b)}u(Uk,Q);f=Uk.prototype;f.ya=null;f.Cn=!0;f.Bn=null;f.Pe=!1;f.kl=-1;f.dj=-1;f.Rn=!0;f.Zf="toggle_display";f.getType=function(){return this.Zf};f.ha=function(){return this.ya};f.Yf=function(a){Vk(this);this.ya=a};function Wk(a,b){Vk(a);a.Cn=b}function Vk(a){if(a.Pe)throw Error("Can not change this state of the popup while showing.");}f.isVisible=function(){return this.Pe};
f.Ba=function(a){this.Ha&&this.Ha.stop();this.ua&&this.ua.stop();if(a){if(!this.Pe&&this.xl()){if(!this.ya)throw Error("Caller must call setElement before trying to show the popup");this.Xf();a=Ze(this.ya);this.Cn&&(this.V.ka(a,"mousedown",this.Nu,!0),this.V.ka(a,"blur",this.Lu));this.Zf=="toggle_display"?(this.ya.style.visibility="visible",N(this.ya,!0)):this.Zf=="move_offscreen"&&this.Xf();this.Pe=!0;this.kl=Date.now();this.dj=-1;this.Ha?(jg(this.Ha,"end",this.hi,!1,this),this.Ha.play()):this.hi()}}else Xk(this)};
f.Xf=function(){};function Xk(a,b){a.Pe&&a.dispatchEvent({type:"beforehide",target:b})&&(a.V&&zg(a.V),a.Pe=!1,a.dj=Date.now(),a.ua?(jg(a.ua,"end",t(a.Hn,b),!1,a),a.ua.play()):a.Hn(b))}f.Hn=function(a){this.Zf=="toggle_display"?this.au():this.Zf=="move_offscreen"&&(this.ya.style.top="-10000px");this.Qg(a)};f.au=function(){this.ya.style.visibility="hidden";N(this.ya,!1)};f.xl=function(){return this.dispatchEvent("beforeshow")};f.hi=function(){this.dispatchEvent("show")};
f.Qg=function(a){this.dispatchEvent({type:"hide",target:a})};f.Nu=function(a){a=a.target;Cf(this.ya,a)||Yk(this,a)||Date.now()-this.kl<150||Xk(this,a)};f.Lu=function(a){if(this.Rn){var b=Ze(this.ya);if(typeof document.activeElement!="undefined"){if(a=b.activeElement,!a||Cf(this.ya,a)||a.tagName=="BODY"||Yk(this,a))return}else if(a.target!=b)return;Date.now()-this.kl<150||Xk(this)}};function Yk(a,b){return ob(a.Bn||[],function(c){return b===c||Cf(c,b)})}
f.wa=function(){Uk.oa.wa.call(this);this.V.dispose();Qf(this.Ha);Qf(this.ua);delete this.ya;delete this.V;delete this.Bn};function Zk(a,b){Y.call(this,b);this.Bf=!!a;this.ua=null;this.yc=Ak({Oo:this.qj},this);Ak({Oo:this.Np},this)}u(Zk,Y);f=Zk.prototype;f.Kk=null;f.ki=!1;f.hd=null;f.zc=null;f.Sd=null;f.rk=!1;f.Rg=function(){return"goog-modalpopup"};f.nh=function(){return this.hd};f.Ra=function(){Zk.oa.Ra.call(this);var a=this.ha();xh(a,Xb(this.Rg()).split(" "));Hf(a,!0);N(a,!1);$k(this);al(this)};
function $k(a){if(a.Bf&&!a.zc){var b=a.g.Pa("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;"});b.src=rc(Ek).toString();a.zc=b;a.zc.className=a.Rg()+"-bg";N(a.zc,!1);jh(a.zc,0)}a.hd||(a.hd=a.g.Pa("DIV",a.Rg()+"-bg"),N(a.hd,!1))}function al(a){a.Sd||(a.Sd=Of(a.g,"SPAN"),N(a.Sd,!1),Hf(a.Sd,!0),a.Sd.style.position="absolute")}f.np=function(){this.rk=!1};f.fi=function(a){return!!a&&a.tagName=="DIV"};
f.Pb=function(a){Zk.oa.Pb.call(this,a);a=Xb(this.Rg()).split(" ");xh(this.ha(),a);$k(this);al(this);Hf(this.ha(),!0);N(this.ha(),!1)};f.La=function(){this.zc&&uf(this.zc,this.ha());uf(this.hd,this.ha());Zk.oa.La.call(this);vf(this.Sd,this.ha());this.Kk=new Gk(this.g.g);Z(this).ka(this.Kk,"focusin",this.Ou);bl(this,!1)};f.mc=function(){this.isVisible()&&this.Ba(!1);Qf(this.Kk);Zk.oa.mc.call(this);E(this.zc);E(this.hd);E(this.Sd)};
f.Ba=function(a){if(a!=this.ki)if(this.Ca&&this.Ca.stop(),this.Ja&&this.Ja.stop(),this.va&&this.va.stop(),this.Ha&&this.Ha.stop(),this.Ua&&bl(this,a),a){if(this.dispatchEvent("beforeshow")){try{this.ua=this.g.g.activeElement}catch(e){}this.Np();Z(this).ka(this.g.g.defaultView,"resize",this.qj).ka(this.g.g.defaultView,"orientationchange",this.yc);cl(this,!0);this.focus();this.ki=!0;this.Ca&&this.Ja?(jg(this.Ca,"end",this.ji,!1,this),this.Ja.play(),this.Ca.play()):this.ji()}}else if(this.dispatchEvent("beforehide")){Z(this).Va(this.g.g.defaultView,
"resize",this.qj).Va(this.g.g.defaultView,"orientationchange",this.yc);this.ki=!1;this.va&&this.Ha?(jg(this.va,"end",this.ii,!1,this),this.Ha.play(),this.va.play()):this.ii();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.fm(this.ha(),d))&&this.ua.focus()}catch(e){}this.ua=null}}};
function bl(a,b){a.kc||(a.kc=new Tk(a.ya,a.g));a=a.kc;if(b){a.g||(a.g=[]);b=a.i.Xn(a.i.g.body);for(var c=0;c<b.length;c++){var d=b[c];d==a.ya||ak(d,"hidden")||(X(d,"hidden",!0),a.g.push(d))}}else if(a.g){for(b=0;b<a.g.length;b++)a.g[b].removeAttribute("aria-hidden");a.g=null}}f.Np=function(){this.qj();this.Sg()};function cl(a,b){a.zc&&N(a.zc,b);a.hd&&N(a.hd,b);N(a.ha(),b);N(a.Sd,b)}f.ji=function(){this.dispatchEvent("show")};f.ii=function(){cl(this,!1);this.dispatchEvent("hide")};f.isVisible=function(){return this.ki};
f.focus=function(){this.Wn()};f.qj=function(){this.zc&&N(this.zc,!1);this.hd&&N(this.hd,!1);var a=this.g.g;var b=jf(mf(this.g.g)||window);var c=Math.max(b.width,Math.max(a.body.scrollWidth,a.documentElement.scrollWidth));a=Math.max(b.height,Math.max(a.body.scrollHeight,a.documentElement.scrollHeight));this.zc&&(N(this.zc,!0),K(this.zc,c,a));this.hd&&(N(this.hd,!0),K(this.hd,c,a))};
f.Sg=function(){var a;if(Sg(this.ha())=="fixed")var b=a=0;else b=Pf(this.g),a=b.x,b=b.y;var c=hh(this.ha());var d=jf(mf(this.g.g)||window);a=Math.max(a+d.width/2-c.width/2,0);b=Math.max(b+d.height/2-c.height/2,0);Tg(this.ha(),a,b);Tg(this.Sd,a,b)};f.Ou=function(a){this.rk?this.np():a.target==this.Sd&&U(this.Wn,0,this)};f.Wn=function(){try{this.ha().focus()}catch(a){}};f.wa=function(){Qf(this.Ca);this.Ca=null;Qf(this.va);this.va=null;Qf(this.Ja);this.Ja=null;Qf(this.Ha);this.Ha=null;Zk.oa.wa.call(this)};function dl(a,b,c){Zk.call(this,b,c);this.l=a||"modal-dialog";this.j=el(el(new fl,gl,!0),hl,!1,!0)}u(dl,Zk);f=dl.prototype;f.Ch=!0;f.Mo=!0;f.Gk=!0;f.Bi=.5;f.xc="";f.xf=null;f.je=null;f.Mn=!1;f.Wc=null;f.Xc=null;f.Xh=null;f.Fc=null;f.Cd=null;f.tc=null;f.km="dialog";f.Rg=function(){return this.l};function il(a,b){a.xc=b;a.Xc&&G(a.Xc,b)}f.kb=function(){return this.xc};f.Ac=function(){return this.xf!=null?Jc(this.xf).toString():""};f.Ze=function(){return this.km};f.Rh=ba(3);
function jl(a){a.ha()||a.render()}f.Mb=function(){jl(this);return this.Cd};function kl(a){jl(a);return a.tc}function ll(a){jl(a);return a.ha()}f.nh=function(){jl(this);return dl.oa.nh.call(this)};function ml(a,b){a.Bi=b;a.ha()&&(b=a.nh())&&jh(b,a.Bi)}f.cq=function(){};
function nl(a,b){var c=Xb(a.l+"-title-draggable").split(" ");a.ha()&&(b?xh(a.Wc,c):zh(a.Wc,c));b&&!a.je?(b=new nk(a.ha(),a.Wc),a.je=b,xh(a.Wc,c),I(a.je,"start",a.xv,!1,a),I(a.je,"drag",a.cq,!1,a)):!b&&a.je&&(a.je.dispose(),a.je=null)}
f.Ra=function(){dl.oa.Ra.call(this);var a=this.ha(),b=this.g;this.Xh=this.getId();var c=this.getId()+".contentEl";this.Wc=b.Pa("DIV",this.l+"-title",this.Xc=b.Pa("SPAN",{className:this.l+"-title-text",id:this.Xh},this.xc),this.Fc=b.Pa("SPAN",this.l+"-title-close"));sf(a,this.Wc,this.Cd=b.Pa("DIV",{className:this.l+"-content",id:c}),this.tc=b.Pa("DIV",this.l+"-buttons"));Zj(this.Xc,"heading");Zj(this.Fc,"button");Hf(this.Fc,!0);dk(this.Fc,"Close");Zj(a,this.Ze());X(a,"labelledby",this.Xh||"");this.xf&&
x(this.Cd,this.xf);N(this.Fc,this.Ch);this.j&&(a=this.j,a.ya=this.tc,a.render());N(this.tc,!!this.j);ml(this,this.Bi)};
f.Pb=function(a){dl.oa.Pb.call(this,a);a=this.ha();var b=this.l+"-content";this.Cd=bf(null,b,a)[0];this.Cd||(this.Cd=this.g.Pa("DIV",b),this.xf&&x(this.Cd,this.xf),a.appendChild(this.Cd));b=this.l+"-title";var c=this.l+"-title-text",d=this.l+"-title-close";(this.Wc=bf(null,b,a)[0])?(this.Xc=bf(null,c,this.Wc)[0],this.Fc=bf(null,d,this.Wc)[0]):(this.Wc=this.g.Pa("DIV",b),a.insertBefore(this.Wc,this.Cd));this.Xc?(this.xc=If(this.Xc),this.Xc.id||(this.Xc.id=this.getId())):(this.Xc=B("SPAN",{className:c,
id:this.getId()}),this.Wc.appendChild(this.Xc));this.Xh=this.Xc.id;X(a,"labelledby",this.Xh||"");this.Fc||(this.Fc=this.g.Pa("SPAN",d),this.Wc.appendChild(this.Fc));N(this.Fc,this.Ch);b=this.l+"-buttons";if(this.tc=bf(null,b,a)[0]){if(a=this.j=new fl(this.g),(b=this.tc)&&b.nodeType==1){a.ya=b;b=af("BUTTON",a.ya);for(var e,g=0;c=b[g];g++)if(d=c.name||c.id,e=If(c)||c.value,d){var h=g==0;a.set(d,e,h,c.name=="cancel");h&&O(c,"goog-buttonset-default")}}}else this.tc=this.g.Pa("DIV",b),a.appendChild(this.tc),
this.j&&(a=this.j,a.ya=this.tc,a.render()),N(this.tc,!!this.j);ml(this,this.Bi)};f.La=function(){dl.oa.La.call(this);Z(this).ka(this.ha(),"keydown",this.jm).ka(this.ha(),"keypress",this.jm);Z(this).ka(this.tc,"click",this.Iu);nl(this,this.Gk);Z(this).ka(this.Fc,"click",this.Xu);var a=this.ha();Zj(a,this.Ze());this.Xc.id!==""&&X(a,"labelledby",this.Xc.id);if(!this.Mo){this.Mo=!1;if(this.Ua){a=this.g;var b=this.nh();a.ci(this.zc);a.ci(b)}this.isVisible()&&bl(this,!1)}};
f.mc=function(){this.isVisible()&&this.Ba(!1);nl(this,!1);dl.oa.mc.call(this)};f.Ba=function(a){a!=this.isVisible()&&(this.Ua||this.render(),dl.oa.Ba.call(this,a))};f.ji=function(){dl.oa.ji.call(this);this.dispatchEvent("aftershow")};f.ii=function(){dl.oa.ii.call(this);this.dispatchEvent("afterhide");this.Mn&&this.dispose()};
f.xv=function(){var a=this.g.g,b=jf(mf(a)||window),c=Math.max(a.body.scrollWidth,b.width);a=Math.max(a.body.scrollHeight,b.height);var d=hh(this.ha());Sg(this.ha())=="fixed"?pk(this.je,new Eg(0,0,Math.max(0,b.width-d.width),Math.max(0,b.height-d.height))):pk(this.je,new Eg(0,0,c-d.width,a-d.height))};f.Xu=function(){ol(this)};function ol(a){if(a.Ch){var b=a.j,c=b&&b.g;c?(b=b.get(c),a.dispatchEvent(new pl(c,b))&&a.Ba(!1)):a.Ba(!1)}}f.wa=function(){this.tc=this.Fc=null;dl.oa.wa.call(this)};
function ql(a,b){a.j=b;a.tc&&(a.j?(b=a.j,b.ya=a.tc,b.render()):x(a.tc,Ic),N(a.tc,!!a.j))}f.Iu=function(a){a:{for(a=a.target;a!=null&&a!=this.tc;){if(a.tagName=="BUTTON")break a;a=a.parentNode}a=null}if(a&&!a.disabled){a=a.name;var b=this.j.get(a);this.dispatchEvent(new pl(a,b))&&this.Ba(!1)}};
f.jm=function(a){var b=!1,c=!1,d=this.j,e=a.target;if(a.type=="keydown")if(a.keyCode==27){var g=d&&d.g;e=e.tagName=="SELECT"&&!e.disabled;g&&!e?(c=!0,b=d.get(g),b=this.dispatchEvent(new pl(g,b))):e||(b=!0)}else{if(a.keyCode==9&&a.shiftKey&&e==this.ha()){this.rk=!0;try{this.Sd.focus()}catch(l){}U(this.np,0,this)}}else if(a.keyCode==13){if(e.tagName=="BUTTON"&&!e.disabled)g=e.name;else if(e==this.Fc)ol(this);else if(d){var h=d.i,k=h&&rl(d,h);e=(e.tagName=="TEXTAREA"||e.tagName=="SELECT"||e.tagName==
"A")&&!e.disabled;!k||k.disabled||e||(g=h)}g&&d&&(c=!0,b=this.dispatchEvent(new pl(g,String(d.get(g)))))}else e!=this.Fc||a.keyCode!=32&&a.key!=" "||ol(this);if(b||c)a.stopPropagation(),a.preventDefault();b&&this.Ba(!1)};function pl(a,b){this.type="dialogselect";this.key=a;this.caption=b}u(pl,Uf);function fl(a){vk.call(this);a||Xe();this.g=this.ya=this.i=null}u(fl,vk);fl.prototype.clear=function(){vk.prototype.clear.call(this);this.i=this.g=null};
fl.prototype.set=function(a,b,c,d){vk.prototype.set.call(this,a,b);c&&(this.i=a);d&&(this.g=a);return this};function el(a,b,c,d){return a.set(b.key,b.caption,c,d)}fl.prototype.render=function(){if(this.ya){x(this.ya,Ic);var a=Xe(this.ya);this.forEach(function(b,c){b=a.Pa("BUTTON",{name:c},b);c==this.i&&(b.className="goog-buttonset-default");this.ya.appendChild(b)},this)}};fl.prototype.ha=function(){return this.ya};
function rl(a,b){a=af("BUTTON",a.ya);for(var c,d=0;c=a[d];d++)if(c.name==b||c.id==b)return c;return null}var gl={key:"ok",caption:"OK"},hl={key:"cancel",caption:"Cancel"},sl={key:"yes",caption:"Yes"},ul={key:"no",caption:"No"},vl={key:"save",caption:"Save"},wl={key:"continue",caption:"Continue"};typeof document!="undefined"&&(el(new fl,gl,!0,!0),el(el(new fl,gl,!0),hl,!1,!0),el(el(new fl,sl,!0),ul,!1,!0),el(el(el(new fl,sl),ul,!0),hl,!1,!0),el(el(el(new fl,wl),vl),hl,!0,!0));function xl(a,b,c,d,e){Mj.call(this,b,c,d,e);this.g=a}u(xl,Mj);xl.prototype.Vf=function(){};xl.prototype.wl=function(){this.Vf();xl.oa.wl.call(this)};xl.prototype.He=function(){this.Vf();xl.oa.He.call(this)};xl.prototype.lf=function(){this.Vf();xl.oa.lf.call(this)};function yl(a,b,c,d,e){typeof b==="number"&&(b=[b]);typeof c==="number"&&(c=[c]);xl.call(this,a,b,c,d,e);if(b.length!=1||c.length!=1)throw Error("Start and end points must be 1D");this.j=-1}u(yl,xl);var zl=1/1024;f=yl.prototype;
f.Vf=function(){var a=this.coords[0];Math.abs(a-this.j)>=zl&&(jh(this.g,a),this.j=a)};f.lf=function(){this.j=-1;yl.oa.lf.call(this)};f.He=function(){this.j=-1;yl.oa.He.call(this)};f.show=function(){this.g.style.display=""};f.lb=function(){this.g.style.display="none"};function Al(a,b,c){yl.call(this,a,1,0,b,c)}u(Al,yl);Al.prototype.lf=function(){this.show();Al.oa.lf.call(this)};Al.prototype.He=function(){this.lb();Al.oa.He.call(this)};
function Bl(a,b,c,d,e){if(b.length!=3||c.length!=3)throw Error("Start and end points must be 3D");xl.call(this,a,b,c,d,e)}u(Bl,xl);Bl.prototype.Vf=function(){for(var a=[],b=0;b<this.coords.length;b++)a[b]=Math.round(this.coords[b]);this.g.style.backgroundColor="rgb("+a.join(",")+")"};function Cl(a,b){this.g=a[q.Symbol.iterator]();this.i=b}Cl.prototype[Symbol.iterator]=function(){return this};Cl.prototype.next=function(){var a=this.g.next();return{value:a.done?void 0:this.i.call(void 0,a.value),done:a.done}};function Dl(a,b){return new Cl(a,b)};function El(){}El.prototype.next=function(){return Fl};var Fl={done:!0,value:void 0};El.prototype.kg=function(){return this};function Gl(a){if(a instanceof Hl||a instanceof Il||a instanceof Jl)return a;if(typeof a.next=="function")return new Hl(function(){return a});if(typeof a[Symbol.iterator]=="function")return new Hl(function(){return a[Symbol.iterator]()});if(typeof a.kg=="function")return new Hl(function(){return a.kg()});throw Error("Not an iterator or iterable.");}function Hl(a){this.g=a}Hl.prototype.kg=function(){return new Il(this.g())};Hl.prototype[Symbol.iterator]=function(){return new Jl(this.g())};
Hl.prototype.i=function(){return new Jl(this.g())};function Il(a){this.g=a}n(Il,El);Il.prototype.next=function(){return this.g.next()};Il.prototype[Symbol.iterator]=function(){return new Jl(this.g)};Il.prototype.i=function(){return new Jl(this.g)};function Jl(a){Hl.call(this,function(){return a});this.j=a}n(Jl,Hl);Jl.prototype.next=function(){return this.j.next()};function Kl(a,b){this.i={};this.g=[];this.j=this.size=0;var c=arguments.length;if(c>1){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else if(a)if(a instanceof Kl)for(c=a.Wd(),d=0;d<c.length;d++)this.set(c[d],a.get(c[d]));else for(d in a)this.set(d,a[d])}f=Kl.prototype;f.Gc=function(){Ll(this);for(var a=[],b=0;b<this.g.length;b++)a.push(this.i[this.g[b]]);return a};f.Wd=function(){Ll(this);return this.g.concat()};
f.has=function(a){return Ml(this.i,a)};f.clear=function(){this.i={};this.j=this.size=this.g.length=0};f.remove=function(a){return this.delete(a)};f.delete=function(a){return Ml(this.i,a)?(delete this.i[a],--this.size,this.j++,this.g.length>2*this.size&&Ll(this),!0):!1};
function Ll(a){if(a.size!=a.g.length){for(var b=0,c=0;b<a.g.length;){var d=a.g[b];Ml(a.i,d)&&(a.g[c++]=d);b++}a.g.length=c}if(a.size!=a.g.length){b={};for(d=c=0;c<a.g.length;){var e=a.g[c];Ml(b,e)||(a.g[d++]=e,b[e]=1);c++}a.g.length=d}}f.get=function(a,b){return Ml(this.i,a)?this.i[a]:b};f.set=function(a,b){Ml(this.i,a)||(this.size+=1,this.g.push(a),this.j++);this.i[a]=b};f.forEach=function(a,b){for(var c=this.Wd(),d=0;d<c.length;d++){var e=c[d],g=this.get(e);a.call(b,g,e,this)}};f.clone=function(){return new Kl(this)};
f.keys=function(){return Gl(this.kg(!0)).i()};f.values=function(){return Gl(this.kg(!1)).i()};f.entries=function(){var a=this;return Dl(this.keys(),function(b){return[b,a.get(b)]})};f.kg=function(a){Ll(this);var b=0,c=this.j,d=this,e=new El;e.next=function(){if(c!=d.j)throw Error("The map has changed since the iterator was created");if(b>=d.g.length)return Fl;var g=d.g[b++];return{value:a?g:d.i[g],done:!1}};return e};function Ml(a,b){return Object.prototype.hasOwnProperty.call(a,b)};function Nl(){this.i=new Kl;this.g=new Ol("");this.g.next=this.g.g=this.g}f=Nl.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 Ol(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 Pl(this,this.g.next)};f.pop=function(){return Pl(this,this.g.g)};f.remove=function(a){return(a=this.i.get(a))?(a.remove(),this.i.remove(a.key),!0):!1};
f.Wd=function(){return this.map(function(a,b){return b})};f.Gc=function(){return this.map(function(a){return a})};f.clear=function(){for(;this.i.size>0;){var a=this.g.next;a.remove();this.i.remove(a.key)}};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)};f.map=function(a,b){for(var c=[],d=this.g.next;d!=this.g;d=d.next)c.push(a.call(b,d.value,d.key,this));return c};
f.some=function(a,b){for(var c=this.g.next;c!=this.g;c=c.next)if(a.call(b,c.value,c.key,this))return!0;return!1};f.every=function(a,b){for(var c=this.g.next;c!=this.g;c=c.next)if(!a.call(b,c.value,c.key,this))return!1;return!0};function Pl(a,b){a.g!=b&&(b.remove(),a.i.remove(b.key));return b.value}function Ol(a,b){this.key=a;this.value=b}Ol.prototype.remove=function(){this.g.next=this.next;this.next.g=this.g;delete this.g;delete this.next};function Ql(){Q.call(this);this.i=new Nl}u(Ql,Q);Ql.prototype.j=function(a){a.sort(Rl);v(a,function(b){b.ee(this)},this);this.i=new Nl;v(a,function(b){this.i.set(b.Na(),b)},this);this.dispatchEvent("update")};function Rl(a,b){return Sl(a)-Sl(b)}function Tl(a){return a.i.Gc()}function Ul(a,b,c){a=Tl(a);for(var d=-1,e=0;e<a.length;e++)if(a[e].Na()==b){d=e;break}if(d>=0)return a[c+d]}function Vl(a,b){return a.i.get(b)}
function Wl(a,b){b=Xb(b);if(b.length!=0)return pb(Tl(a),function(c){return c.kb()==b})};/*

 Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
 Copyright The Closure Library Authors.
 SPDX-License-Identifier: MIT
*/
function Xl(a){var b=Yl;this.o=[];this.ua=b;this.Ka=a||null;this.l=this.j=!1;this.i=void 0;this.ma=this.va=this.U=!1;this.N=0;this.g=null;this.V=0}Xl.prototype.cancel=function(a){if(this.j)this.i instanceof Xl&&this.i.cancel();else{if(this.g){var b=this.g;delete this.g;a?b.cancel(a):(b.V--,b.V<=0&&b.cancel())}this.ua?this.ua.call(this.Ka,this):this.ma=!0;this.j||(a=new Zl(this),$l(this),am(this,!1,a))}};Xl.prototype.na=function(a,b){this.U=!1;am(this,a,b)};
function am(a,b,c){a.j=!0;a.i=c;a.l=!b;bm(a)}function $l(a){if(a.j){if(!a.ma)throw new cm(a);a.ma=!1}}Xl.prototype.mg=function(a){$l(this);am(this,!0,a)};function dm(a,b,c,d){var e=a.j;e||(b===c?b=c=eb(b):(b=eb(b),c=eb(c)));a.o.push([b,c,d]);e&&bm(a)}Xl.prototype.then=function(a,b,c){var d,e,g=new dj(function(h,k){e=h;d=k});dm(this,e,function(h){h instanceof Zl?g.cancel():d(h);return em},this);return g.then(a,b,c)};Xl.prototype.$goog_Thenable=!0;
function fm(a){return ob(a.o,function(b){return typeof b[1]==="function"})}var em={};
function bm(a){if(a.N&&a.j&&fm(a)){var b=a.N,c=gm[b];c&&(q.clearTimeout(c.yb),delete gm[b]);a.N=0}a.g&&(a.g.V--,delete a.g);b=a.i;for(var d=c=!1;a.o.length&&!a.U;){var e=a.o.shift(),g=e[0],h=e[1];e=e[2];if(g=a.l?h:g)try{var k=g.call(e||a.Ka,b);k===em&&(k=void 0);k!==void 0&&(a.l=a.l&&(k==b||k instanceof Error),a.i=b=k);if(cj(b)||typeof q.Promise==="function"&&b instanceof q.Promise)d=!0,a.U=!0}catch(l){b=l,a.l=!0,fm(a)||(c=!0)}}a.i=b;d&&(k=r(a.na,a,!0),d=r(a.na,a,!1),b instanceof Xl?(dm(b,k,d),b.va=
!0):b.then(k,d));c&&(b=new hm(b),gm[b.yb]=b,a.N=b.yb)}function cm(){fb.call(this)}u(cm,fb);cm.prototype.message="Deferred has already fired";cm.prototype.name="AlreadyCalledError";function Zl(){fb.call(this)}u(Zl,fb);Zl.prototype.message="Deferred was canceled";Zl.prototype.name="CanceledError";function hm(a){this.yb=q.setTimeout(r(this.i,this),0);this.g=a}hm.prototype.i=function(){delete gm[this.yb];throw this.g;};var gm={};function im(a,b){var c=b||{};b=c.document||document;var d=rc(a).toString(),e=Of(new Ye(b),"SCRIPT"),g={wp:e,Ng:void 0},h=new Xl(g),k=null,l=c.timeout!=null?c.timeout:5E3;l>0&&(k=window.setTimeout(function(){jm(e,!0);var m=new km(1,"Timeout reached for loading script "+d);$l(h);am(h,!1,m)},l),g.Ng=k);e.onload=e.onreadystatechange=function(){e.readyState&&e.readyState!="loaded"&&e.readyState!="complete"||(jm(e,c.us||!1,k),h.mg(null))};e.onerror=function(){jm(e,!0,k);var m=new km(0,"Error while loading script "+
d);$l(h);am(h,!1,m)};g=c.attributes||{};Tb(g,{type:"text/javascript",charset:"UTF-8"});gf(e,g);Nc(e,a);lm(b).appendChild(e);return h}function lm(a){var b=af("HEAD",a);return b&&b.length!==0?b[0]:a.documentElement}function Yl(){if(this&&this.wp){var a=this.wp;a&&a.tagName=="SCRIPT"&&jm(a,!0,this.Ng)}}function jm(a,b,c){c!=null&&q.clearTimeout(c);a.onload=function(){};a.onerror=function(){};a.onreadystatechange=function(){};b&&window.setTimeout(function(){E(a)},0)}
function km(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);fb.call(this,c);this.code=a}u(km,fb);var mm=sa(["//apis.google.com/js/api.js"]);function nm(a){var b=document,c=window;om()&&(im(pm,{document:b}).then(function(){var d=Sa("gapi.load",c);d&&d("gapi.rpc",{mg:function(){return qm(a)},onerror:function(){return null},timeout:5E3,ontimeout:function(){return null}})}),U(function(){qm(a)},5E3))}function rm(a){var b={};b.q=a;sm("updateInViewportPage",b)}function tm(a){a?sm("onboardingComplete"):sm("onboardingCompleteNoPlainText")}
function qm(a){var b=Sa("gapi.rpc.register");typeof b==="function"&&(b("handshake",function(){}),um(),vm(a))}function um(){I(document,"keydown",function(a){a.keyCode==27&&sm("closeViewportDialog")})}function vm(a){var b=Sa("gapi.rpc.register");if(typeof b==="function")for(var c in a)b(c,a[c])}function sm(a,b){if(om()){var c=Sa("gapi.rpc.call");typeof c==="function"&&c("..",a,null,b)}}function om(){try{return window.self!==window.top}catch(a){return!0}}var pm=Oe(mm);function wm(a){Q.call(this);xm(this,a||"")}n(wm,Q);wm.prototype.getQuery=function(){return this.j};function xm(a,b){a.j!=b&&(a.j=b,a.dispatchEvent("change"),rm(b))}function ym(a){a=new R(a);return T(a,"q")||T(a,"vq")||T(a,"dq")}function zm(){return T(new R(window.location.toString()),"q")};function Am(a){this.g={};this.O=a}function Bm(a,b){var c=[];if(a.g[b]){var d=[],e;for(e in a.g[b])d.push(e);Bb(d);for(e=0;e<d.length;e++)c.push(a.g[b][d[e]])}return c};function Cm(a){this.O=a;this.j=a.Cb()}Cm.prototype.Zb=function(a){this.Ea&&(this.Ea.dispose(),tf(this.O.Ga().N.i));this.Ea=new a(this.O);this.Ea.Nd&&this.Ea.Nd(this.O.Fa());this.Ea.Od&&this.Ea.Od()};Cm.prototype.Ga=function(){return this.Ea};function Dm(a){W.call(this);this.V=a;tf(a);J(a,"overflow","hidden");this.j=C("div");J(this.V,{position:"relative",padding:"0px"});wf(this.V,this.j,0);this.Fb=new Am(this);this.Ha=[];this.Ca=[];Em(this);this.ma=new Cm(this);a=C("div");V(a,!0);J(a,{position:"absolute",left:"0px",top:"0px"});this.V.appendChild(a);this.Lb=a;this.nb(qh(this.V));Fm.push(this);this.zd=new wm;I(this.zd,"change",this.gq,!1,this)}u(Dm,W);var Fm=[];f=Dm.prototype;f.Cb=function(){return this.j};f.ud=function(){return this.Lb};
f.nb=function(a){a.width=Math.max(a.width,0);a.height=Math.max(a.height,0);if(!this.i||!Lb(this.i,a)){ph(this.j,a,"content-box");this.i=a;var b=this.ma.Ga();b&&b.nb(a);this.dispatchEvent("resize")}};f.getSize=function(){return this.i};f.wb=function(){return this.i.width};f.Gb=function(){return this.i.height};f.go=function(){this.dispatchEvent("load")};f.Zb=function(a){this.U!=a&&(this.U=a,this.ma.Zb(a),this.dispatchEvent("viewportmodechange"))};f.Xa=function(){return this.o};f.Ga=function(){return this.ma.Ga()};
function Gm(a,b){if(a.N)throw"";a.N=b;I(b,"update",r(a.eq,a))}f.eq=function(){this.dispatchEvent("pagesupdate")};f.hb=function(){return this.N};f.Ad=function(a,b){return(a=Vl(this.N,a))?(this.mb(a,b),a):null};f.mb=function(a,b){if(this.l!=a||b)this.l=a,this.dispatchEvent("pagechange")};function Hm(a,b){return(b=Wl(a.N,b))?(a.mb(b),!0):!1}function Im(a,b){Jm(a,b,r(function(c){U(r(this.mb,this,c))},a))}function Jm(a,b,c){a=a.hb();new R(b);b=new a.l({url:b});b.ee(a);Km(b,r(a.ma,a,c))}
f.zh=function(a,b){var c=this.ma.Ga().Hb();if(c&&c.Bc&&(c=c.Bc(a))){b=b||new w(40,80);var d=this.Ya().getQuery();if(!d)return;var e=Lm(a,d);if(e){Mm(this,c,b,e);return}Km(a,r(this.fq,this,c,b,d))}this.mb(a)};f.fq=function(a,b,c,d){(c=Lm(d,c))&&Mm(this,a,b,c)};function Mm(a,b,c,d){if(d&&d.length){for(var e=d[0],g=1;g<d.length;g++)e=Kg(e,d[g]);d=b.Fa().ke();d=b.getSize().width/d;e=new Rj(e.left,e.top);e.Hj(d);e.x=Math.round(e.x);e.y=Math.round(e.y);b=Sj(b.jd());b.add(e);Tj(b,c);a.Ga().mf(b)}}f.Na=function(){return this.l.Na()};
f.Fa=function(){return this.l};f.rb=function(a){for(var b=[],c=0;c<arguments.length;c++)b.push(arguments[c]);this.Ha.push(b);this.Ha.length==1&&Nm(this)};function Om(a,b,c){a.Ca.push([b,c])}function Nm(a){var b=a.Ha.shift();if(b){for(var c=b.shift(),d=0;d<a.Ca.length;d++)a.Ca[d][0]==c&&a.Ca[d][1].apply(a,b);Nm(a)}}
function Em(a){Om(a,"next",r(a.lm,a,1));Om(a,"previous",r(a.lm,a,-1));Om(a,"turntopage",r(a.hq,a));Om(a,"zoomin",r(a.iq,a));Om(a,"zoomout",r(a.jq,a));Om(a,"showkeyboardshortcuts",function(){a.dispatchEvent("keyboardshortcutsopened")})}function Pm(a){var b=a.ma.Ga();b.Hk&&b.Hk(a.Fa())}f.lm=function(a){var b=this.ma.Ga(),c;b.ua?c=b.ua(this.Fa(),a):c=Ul(this.hb(),this.Fa().Na(),a);c&&(this.mb(c),Pm(this),this.dispatchEvent("pageturn"))};f.hq=function(a){if(a=Vl(this.N,a))this.mb(a),Pm(this)};
f.iq=function(){var a=this.ma.Ga();a.Kc&&(a.Kc(),Pm(this));this.dispatchEvent("zoomchange")};f.jq=function(){var a=this.ma.Ga();a.Zc&&(a.Zc(),Pm(this));this.dispatchEvent("zoomchange")};f.gq=function(){this.dispatchEvent("searchupdate")};f.Ya=function(){return this.zd};var Qm={update:function(a){for(var b in a)Qm[b]=a[b]},gs:function(a){if(typeof a==="string")try{a=JSON.parse(a)}catch(c){a=null}for(var b in a)Qm.fs(b,a[b])},fs:function(a,b){Qm[a]=b}};db("_OC_addFlags",Qm.gs);var Rm;function Sm(a,b,c){c=new R(c.replace(/#.*/g,""));S(c,a,b);return c.toString()}function Tm(a){if(Rm){var b=new R(Rm);Vh(b,a);return b.toString()}return a}function Um(a){return Sm("hl","en",a)}function Vm(a){a=new R(a);var b=a.l.split("/");b[0]||b.shift();return b.length>3?b[3]:T(a,"id")||""}function Wm(){var a=window.location.pathname.split("/");return a.length<1?"":a[1]};function Xm(a){Q.call(this);this.ob={};a&&this.Dd(a)}u(Xm,Q);f=Xm.prototype;f.ke=function(){return this.ob.w||this.getParent().g.width};f.Yd=function(){return this.ob.h||this.getParent().g.height};function Qi(a){return a.ke()/a.Yd()}f.getSize=function(){return new Kb(this.ke(),this.Yd())};f.Dd=function(a){for(var b in a)this.ob[b]=a[b];this.dispatchEvent("update")};f.ee=function(a){this.N=a};f.getParent=function(){return this.N};f.kb=function(){return this.ob.title};
f.ze=function(){var a=this.kb();return a?"Page "+a:""};function Sl(a){return a.ob.order}f.wd=function(a){if(this.ob.src&&a){var b=new R(this.ob.src);S(b,"w",a.width);return b.toString()}return this.ob.src};f.Na=function(){return this.ob.pid};function Ym(a,b,c){if(Bd()<=8){var d=[];d[0]=I(a,"readystatechange",t(Zm,a,t($m,b),d))}else jg(a,"load",t($m,b));c&&jg(a,"error",t($m,c))}function $m(a){U(a)}function Zm(a,b,c){if(a.readyState!="complete")return!0;rg(c[0]);b();return!1}var an=C("div");function bn(a){if(a)if(Jd){an.appendChild(a);var b=t(E,a);Ym(a,b,b);a.src="//www.google.com/images/cleardot.gif"}else a.src="//www.google.com/images/cleardot.gif",E(a)};function cn(a,b,c,d,e,g,h){Q.call(this);this.N=a;this.ub=b;this.Db=c;this.j=d;this.i=e;this.ma=g;this.U=h;this.l=Math.ceil(this.ub/this.j);this.o=Math.ceil(this.Db/this.i);this.g=[];for(a=0;a<this.l;++a){b=[];for(c=0;c<this.o;++c)b.push(null);this.g.push(b)}}n(cn,Q);cn.prototype.empty=function(){for(var a;a=this.N.firstChild;)bn(a)};
function dn(a,b){var c=Math.floor(b.left/a.j),d=Math.floor(b.top/a.i),e=Math.ceil((b.left+b.width)/a.j),g=Math.ceil((b.top+b.height)/a.i);e=Math.min(e,a.l);for(g=Math.min(g,a.o);c<e;c++)for(var h=d;h<g;h++)if(!a.g[c][h]){var k=a,l=c,m=h;if(!k.g[l][m]){var p=C("IMG");J(p,{position:"absolute",left:l*k.j+"px",top:m*k.i+"px",display:"none"});k.g[l][m]=p;k.N.appendChild(p)}k=k.g[l][m];l=a.ma(c,h);Ym(k,r(a.V,a,k,l),r(a.na,a,k,l));k.src=l}for(d=0;d<a.l;++d)for(e=0;e<a.o;++e){if(g=!!a.g[d][e])g=!Jg(new Eg(d*
a.j,e*a.i,(d+1)*a.j,(e+1)*a.i),b);g&&(bn(a.g[d][e]),a.g[d][e]=null)}}cn.prototype.V=function(a,b){J(a,{display:""});this.U&&this.U(b)};cn.prototype.na=function(){};function en(){};function fn(a){this.g={};for(var b=0;b<a.length;b++){var c=a[b];this.g[c.z]=new Kb(c.w,c.h)}}function gn(a,b){return(a=Ob(a.g,function(c){return c.height==b}))?Number(a):null}function hn(a,b){return(a=a.g[b])?a.width:null};function jn(a){if(a)return a.isEntityPageViewport;a=T(new R(window.location.href),"source");return a=="entity_page"||a=="entity_page_gbs_snippet"}function kn(){var a=T(new R(window.location.href),"output");return(jn()||Nd)&&a=="text"}function ln(){return(new R(window.location.href)).i==="toggled"};function mn(a){Xm.call(this,a);this.rj={};this.Ca={};this.o={};this.va=this.na=null}var nn;u(mn,Xm);f=mn.prototype;f.Dd=function(a,b){mn.oa.Dd.call(this,a);b&&(this.ua=b)};function Km(a,b){on(a,a.Xe(),b)}f.Xe=function(){var a=pn(this);S(a,"jscmd","click3");var b;this.zd&&(b=this.zd.getQuery());qn(this,"vq",b);Mb(this.rj,function(c,d){S(a,d,c)});return a};
function on(a,b,c){b=b.toString();if(b==a.ua)c&&c(a);else if(c&&(a.o[b]=a.o[b]||[]).push(c),b!=a.V){a.V=b;a.j&&q.clearTimeout(a.j);a.j=q.setTimeout(r(a.ot,a,b),6E3);var d;a.zd&&(d=a.zd.getQuery());nn(b,r(a.kq,a,b,d))}}function qn(a,b,c){c?a.rj[b]=c:delete a.rj[b]}f.rj=null;f.kq=function(a,b,c){this.V==a&&(this.V=null,this.j&&(q.clearTimeout(this.j),this.j=null),this.ua=a,rn(this,c.page[0]),this.N.Yk(c),b=this.o[a])&&(v(b,function(d){d(this)},this),delete this.o[a])};
f.ot=function(a){this.j=this.V=null;delete this.o[a]};function pn(a){var b=a.ob.url;b?b=new R(b):(b=new R(a.N.cp),S(b,"pg",a.Na()),a.ob.sig&&S(b,"sig",a.ob.sig));jn()&&S(b,"source","entity_page");return b}f.Cc=function(){return pn(this).toString()};f.ke=function(){return this.ob.w||this.getParent().g.width};f.Yd=function(){return this.ob.h||this.getParent().g.height};
var sn={additional_info:"additional_info",content:"content",feedbackUrl:"uf",flags:"flags",highlights:"highlights",links:"links",order:"order",pid:"pid",src:"src",snippetSrc:"snippet_src"};function rn(a,b){var c={},d;for(d in sn){var e=sn[d],g=b[e];g!==void 0&&(e=="highlights"?a.Ca[b.vq]=g:c[d]=g)}c.additional_info&&(d=c.additional_info["[NewspaperJSONPageInfo]"])&&(a.na=new fn(d.tileres),d=d.page_scanjob_coordinates)&&(a.va=""+d.x+","+d.y);b.vq&&!c.snippetSrc&&(c.snippetSrc="");a.Dd(c)}
mn.prototype.Ac=function(){return this.ob.content};mn.prototype.l=function(a){return!!(this.ob.flags&a)};function tn(a,b){return ob(b,r(a.l,a))}function un(a,b){b=dd(b);b=b.replace(/'/g,"&#39;");if(a=a.Ca[b]){var c=[];v(a,function(d){c.push([d.X,d.Y,d.W,d.H])});return c}}function Lm(a,b){if(a=un(a,b))return nb(a,t(vn,1))}function vn(a,b){b=nb(b,function(c){return Math.round(c*a)});return new Eg(b[0],b[1],b[2],b[3])}
function wn(a){if(a.ob.links)return nb(a.ob.links,function(b){var c=b.region;return[c.X,c.Y,c.W,c.H,b.target_pid,b.url]})}function xn(a){if(a.ob.clip_highlight||a.ob.clip_highlights){var b=[];v(a.ob.clip_highlights||[a.ob.clip_highlight],function(c){var d=[];v(["X","Y","W","H"],function(e){d.push(c[e])});b.push(d)});return b}return null}
mn.prototype.wd=function(a){if(this.ob.src&&a){var b=new R(this.ob.src);a&&Mb(this.Ok(),function(c,d){d=="height"&&a.height?S(b,c,a.height):d=="width"&&a.width&&S(b,c,a.width)});return b.toString()}return this.ob.src};mn.prototype.Ok=function(){return{width:"w",height:"h"}};function yn(a,b,c,d){this.Jj=a||256;this.Ij=b||256;this.i=c||3;this.j=d||3;this.g=null}function zn(a,b){a.g=b}yn.prototype.eo=function(a,b,c,d,e){var g=this.i,h=this.j;b=Math.ceil(b/this.Jj);c=Math.ceil(c/this.Ij);var k=Math.floor(e/g),l=Math.floor(d/h),m=g*b*k;e-=k*g;g=Math.min(g,c-k*g);m+=g*h*l;d-=l*h;h=Math.min(h,b-l*h);d=m+(e*h+d);a=new R(a);S(a,"tid",d);this.g&&(a=this.g(a,d));return a.toString()};function An(){}An.prototype.kb=function(){return this.xc};function Bn(){this.g=new Map}Bn.prototype.add=function(a,b){this.g.set(Ya(a),b)};function Cn(a,b){b=b===void 0?[]:b;b=new Set(b.map(function(g){return Ya(g)}));for(var c=pa(a.g.keys()),d=c.next();!d.done;d=c.next())if(d=d.value,!b.has(d)){var e=a.g.get(d);e&&e.Oa();a.g.delete(d)}};function Dn(){this.i={};this.g=new Bn}function En(a,b,c){a.i[Ya(b)]=c}Dn.prototype.Oa=function(){Cn(this.g)};function Fn(a,b){b=mb(b,function(c){return!!this.i[Ya(c.constructor)]},a);Cn(a.g,b);v(b,function(c){this.g.g.has(Ya(c))||this.g.add(c,this.i[Ya(c.constructor)].render(c))},a)};function Gn(a){this.wf=a}function Hn(a,b,c,d){a=In(a,d);if(c>0)for(c=0;c<a.length;c++){if(a[c]>b)return a[c]}else for(c=a.length-1;c>=0;c--)if(a[c]<b)return a[c];return b}function In(a,b){var c=b||[];a=mb(a.wf,function(d){return!ob(c,function(e){return Math.abs(e-d)<50})});a.push.apply(a,c);Bb(a);return a};function Jn(a,b){Ql.call(this);this.U={};a&&(this.cp=a.prefix,this.Do=a.image_prefix||a.prefix,a=nb(a.page,function(c){c=new this.l(c);b&&(c.zd=b);return c},this),this.j(a))}u(Jn,Ql);Jn.prototype.Yk=function(a){a=a.page;for(var b=0;b<a.length;b++){var c=a[b],d=Vl(this,c.pid);d&&rn(d,c)}};Jn.prototype.l=mn;Jn.prototype.ma=function(a,b){if(!Vl(this,b.Na())){var c=xb(Tl(this));yb(c,b);this.j(c)}this.U[b.Na()]=!0;a&&a(b)};function Kn(a,b,c){si(a,t(Ln,b,c))}function Ln(a,b,c){c=c.target;xi(c)?a(Ai(c)):b&&b()};var Mn=typeof q.BigInt==="function"&&typeof q.BigInt(0)==="bigint";var Nn=Number.MIN_SAFE_INTEGER.toString(),On=Mn?BigInt(Number.MIN_SAFE_INTEGER):void 0,Pn=Number.MAX_SAFE_INTEGER.toString(),Qn=Mn?BigInt(Number.MAX_SAFE_INTEGER):void 0;function Rn(a,b){if(a.length>b.length)return!1;if(a.length<b.length||a===b)return!0;for(var c=0;c<a.length;c++){var d=a[c],e=b[c];if(d>e)return!1;if(d<e)return!0}};var Sn=typeof Symbol==="function"&&typeof Symbol()==="symbol";function Tn(a,b,c){return typeof Symbol==="function"&&typeof Symbol()==="symbol"?(c===void 0?0:c)&&Symbol.for&&a?Symbol.for(a):a!=null?Symbol(a):Symbol():b}var Un=Tn("jas",void 0,!0),Vn=Tn(void 0,"0actk"),Wn=Tn("m_m","Bw",!0);var Xn={ou:{value:0,configurable:!0,writable:!0,enumerable:!1}},Yn=Object.defineProperties,Zn=Sn?Un:"ou";function $n(a,b){Sn||Zn in a||Yn(a,Xn);a[Zn]|=b}function ao(a,b){Sn||Zn in a||Yn(a,Xn);a[Zn]=b};var bo={};function co(a,b){return b===void 0?a.i!==eo&&!!(2&(a.g[Zn]|0)):!!(2&b)&&a.i!==eo}var eo={};var fo=void 0;function go(a){return a};function ho(a,b,c,d){var e=d!==void 0;d=!!d;var g=[],h=a.length,k=4294967295,l=!1,m=!!(b&64),p=m?b&128?0:-1:void 0;if(!(b&1)){var y=h&&a[h-1];y!=null&&typeof y==="object"&&y.constructor===Object?(h--,k=h):y=void 0;if(m&&!(b&128)&&!e){l=!0;var D;k=((D=io)!=null?D:go)(k-p,p,a,y,void 0)+p}}b=void 0;for(e=0;e<h;e++)if(D=a[e],D!=null&&(D=c(D,d))!=null)if(m&&e>=k){var H=e-p,F=void 0;((F=b)!=null?F:b={})[H]=D}else g[e]=D;if(y)for(var L in y)a=y[L],a!=null&&(a=c(a,d))!=null&&(h=+L,e=void 0,m&&!Number.isNaN(h)&&
(e=h+p)<k?g[e]=a:(h=void 0,((h=b)!=null?h:b={})[L]=a));b&&(l?g.push(b):g[k]=b);return g}function jo(a){switch(typeof a){case "number":return Number.isFinite(a)?a:""+a;case "bigint":return(Mn?a>=On&&a<=Qn:a[0]==="-"?Rn(a,Nn):Rn(a,Pn))?Number(a):""+a;case "boolean":return a?1:0;case "object":if(Array.isArray(a)){var b=a[Zn]|0;return a.length===0&&b&1?void 0:ho(a,b,jo)}if(a!=null&&a[Wn]===bo)return ko(a);return}return a}var io;function ko(a){a=a.g;return ho(a,a[Zn]|0,jo)};function lo(a,b,c,d){d=d===void 0?0:d;if(a==null){var e=32;c?(a=[c],e|=128):a=[];b&&(e=e&-16760833|(b&1023)<<14)}else{if(!Array.isArray(a))throw Error("narr");e=a[Zn]|0;if(pd&&1&e)throw Error("rfarr");2048&e&&!(2&e)&&mo();if(e&256)throw Error("farr");if(e&64)return(e|d)!==e&&ao(a,e|d),a;if(c&&(e|=128,c!==a[0]))throw Error("mid");a:{c=a;e|=64;var g=c.length;if(g){var h=g-1,k=c[h];if(k!=null&&typeof k==="object"&&k.constructor===Object){b=e&128?0:-1;h-=b;if(h>=1024)throw Error("pvtlmt");for(var l in k)g=
+l,g<h&&(c[g+b]=k[l],delete k[l]);e=e&-16760833|(h&1023)<<14;break a}}if(b){l=Math.max(b,g-(e&128?0:-1));if(l>1024)throw Error("spvt");e=e&-16760833|(l&1023)<<14}}}ao(a,e|64|d);return a}function mo(){if(pd)throw Error("carr");if(Vn!=null){var a;var b=(a=fo)!=null?a:fo={};a=b[Vn]||0;a>=5||(b[Vn]=a+1,b=Error(),b.__closure__error__context__984382||(b.__closure__error__context__984382={}),b.__closure__error__context__984382.severity="incident",Ti(b))}};function no(a,b){if(typeof a!=="object")return a;if(Array.isArray(a)){var c=a[Zn]|0;a.length===0&&c&1?a=void 0:c&2||(!b||4096&c||16&c?a=oo(a,c,!1,b&&!(c&16)):($n(a,34),c&4&&Object.freeze(a)));return a}if(a!=null&&a[Wn]===bo)return b=a.g,c=b[Zn]|0,co(a,c)?a:po(a,b,c)?qo(a,b):oo(b,c)}function qo(a,b,c){a=new a.constructor(b);c&&(a.i=eo);a.j=eo;return a}function oo(a,b,c,d){d!=null||(d=!!(34&b));a=ho(a,b,no,d);d=32;c&&(d|=2);b=b&16769217|d;ao(a,b);return a}
function ro(a){if(a.i!==eo)return!1;var b=a.g;b=oo(b,b[Zn]|0);$n(b,2048);a.g=b;a.i=void 0;a.j=void 0;return!0}function so(a){if(!ro(a)&&co(a,a.g[Zn]|0))throw Error();}function to(a,b){b===void 0&&(b=a[Zn]|0);b&32&&!(b&4096)&&ao(a,b|4096)}function po(a,b,c){return c&2?!0:c&32&&!(c&4096)?(ao(b,c|2),a.i=eo,!0):!1};var uo={};function vo(a,b,c,d){b=wo(a.g,b,c);if(b!==null||d&&a.j!==eo)return b}function wo(a,b,c,d){if(b===-1)return null;var e=b+(c?0:-1),g=a.length-1;if(!(g<1+(c?0:-1))){if(e>=g){var h=a[g];if(h!=null&&typeof h==="object"&&h.constructor===Object){c=h[b];var k=!0}else if(e===g)c=h;else return}else c=a[e];if(d&&c!=null){d=d(c);if(d==null)return d;if(!Object.is(d,c))return k?h[b]=d:a[e]=d,d}return c}}
function xo(a,b,c,d){var e=c+-1,g=a.length-1;if(g>=0&&e>=g){var h=a[g];if(h!=null&&typeof h==="object"&&h.constructor===Object)return h[c]=d,b}if(e<=g)return a[e]=d,b;if(d!==void 0){var k;g=((k=b)!=null?k:b=a[Zn]|0)>>14&1023||536870912;c>=g?d!=null&&(e={},a[g+-1]=(e[c]=d,e)):a[e]=d}return b}
function yo(a,b){var c=zo,d=!1,e=wo(a,1,void 0,function(g){if(g!=null&&g[Wn]===bo)var h=g;else if(Array.isArray(g)){h=g[Zn]|0;var k=h|b&32;k|=b&2;k!==h&&ao(g,k);h=new c(g)}else h=void 0;d=h!==g&&h!=null;return h});if(e!=null)return d&&!co(e)&&to(a,b),e}
function Ao(a){var b=a.g,c=b[Zn]|0,d=yo(b,c);if(d==null)return d;c=b[Zn]|0;if(!co(a,c)){var e=d;var g=e.g,h=g[Zn]|0;e=co(e,h)?po(e,g,h)?qo(e,g,!0):new e.constructor(oo(g,h,!1)):e;e!==d&&(ro(a)&&(b=a.g,c=b[Zn]|0),d=e,c=xo(b,c,1,d),to(b,c))}return d}function Bo(a,b){var c=c===void 0?!1:c;a=vo(a,b);a=a==null||typeof a==="boolean"?a:typeof a==="number"?!!a:void 0;return a!=null?a:c}
function Co(a,b,c){if(c!=null&&typeof c!=="boolean")throw Error("Expected boolean but got "+Va(c)+": "+c);so(a);var d=a.g;xo(d,d[Zn]|0,b,c===!1?void 0:c);return a};function Do(a,b,c){this.g=lo(a,b,c,2048)}Do.prototype.toJSON=function(){var a=ko(this);return a};Do.prototype.clone=function(){var a=this.g,b=a[Zn]|0;return po(this,a,b)?qo(this,a,!0):new this.constructor(oo(a,b,!1))};Do.prototype[Wn]=bo;Do.prototype.toString=function(){return this.g.toString()};function Eo(a){this.g=a}Eo.prototype.rd=function(){return this.g.aid};Eo.prototype.xg=function(){var a=this.g.x_focus,b=this.g.y_focus;if(a===void 0||b===void 0){b=this.If();if(!b.length)return null;a=b[0][0];b=b[0][1]}return new w(a,b)};Eo.prototype.Lk=ba(4);Eo.prototype.If=function(){return Fo(this,"head_boxes")};function Fo(a,b){var c=[];a.g[b]&&v(a.g[b],function(d){c.push([d.X,d.Y,d.W,d.H])});return c};function Go(a){this.g=a};function Ho(a,b,c){this.j=a;this.g=b;this.l=c||!1;a=this.getSize();this.i()?a.height=120:a.height=65;this.nb(a)}n(Ho,Bi);Ho.prototype.i=function(){var a=A("gb-mobile-menu-pubinfo");return a?yf(a).length>0&&this.j!=null&&Sl(this.j)==0:!1};function Io(a){Ki.call(this);this.j=a}u(Io,Ki);Io.prototype.U=function(){this.i=Math.ceil(this.g.length/this.j);for(var a=0;a<this.i;a++)for(var b=0;b<this.j;b++){var c=a*this.j+b;this.cells[b]=this.cells[b]||[];this.cells[b][a]=this.g[c]}};function Jo(a){Io.call(this,a);this.Fe=new Map}u(Jo,Io);Jo.prototype.Bc=function(a){return this.Fe.get(Ko(Pi,a))};Jo.prototype.qh=function(a){if(a instanceof Ho)a=Ko(a.constructor,a.g);else if(a instanceof Pi)a=Ko(a.constructor,a.Fa());else throw Error("Input item must be a LayoutPage or LayoutSeparator.");return this.Fe.get(a)};
Jo.prototype.Qa=function(a){if(a instanceof Ho){var b=Ko(a.constructor,a.g);this.Fe.set(b,a)}else a instanceof Pi&&(b=Ko(a.constructor,a.Fa()),this.Fe.set(b,a));Jo.oa.Qa.call(this,a)};function Ko(a,b){return Ya(a)+"#"+b.Na()};function Lo(a,b,c,d,e){Jo.call(this,1);this.o=b;this.l=c;var g=d||!1,h;a=Tl(a);v(a,function(k){g&&h&&Sl(k)-Sl(h)>1&&Mo(this,h,k);var l=A("gb-mobile-menu-pubinfo");l&&yf(l).length>0&&!g&&h&&k&&Sl(h)==0&&Mo(this,h,k,!0);l=new Pi(k);var m=l.getSize();this.o=="fixed_height"?m.height=this.l:m.width=this.l;l.nb(m);this.Qa(l);h=k},this);g&&h&&e&&Sl(h)<Sl(e)&&Mo(this,h,e);Li(this)}n(Lo,Jo);
function Mo(a,b,c,d){b=new Ho(b,c,d||!1);c=b.getSize();a.o=="fixed_height"?c.height=a.l:c.width=a.l;b.nb(c);a.Qa(b)}Lo.prototype.N=function(){return this.l};Lo.prototype.Jf=function(){return this.o};Lo.prototype.Cj=8;function No(a,b){this.O=a;this.g=b}n(No,en);No.prototype.render=function(a){var b=this.g(a);b.nb(a.getSize());b.setPosition(a.jd());return b};function Oo(){}n(Oo,Bi);function Po(){W.call(this)}u(Po,W);Po.prototype.le=function(a){this.i=a;this.l=Qo(a)};Po.prototype.wa=function(){Po.oa.wa.call(this);E(this.l)};function Ro(a){W.call(this);this.j=a}n(Ro,Po);Ro.prototype.Ba=function(a){N(this.l,a)};Ro.prototype.le=function(a){Po.prototype.le.call(this,a);var b=this.i.getSize();a=this.l;var c=b.width;b=b.height;var d=Math.floor(c*.035),e=this.j?"/googlebooks/images/burn-left.png":"/googlebooks/images/burn-right.png";Tg(a,this.j?c-d:0,0);K(a,d,b);J(a,{position:"absolute"});Jd?zj(a,e):(c=B("IMG",{src:e,width:d,height:b,border:0,position:"absolute",top:0,left:0}),a.appendChild(c))};function So(a){W.call(this);this.V=a;this.U=[]}u(So,Po);f=So.prototype;f.le=function(a){So.oa.le.call(this,a);this.Ug();this.Fa()&&this.g.ka(this.Fa(),"update",this.Ug)};f.Fa=function(){return this.i.Fa()};f.Tg=function(a,b,c,d){var e=C("div");V(e,!0);this.l.appendChild(e);a=To(this,a,b,c,d);J(e,{position:"absolute",left:a[0]+"px",top:a[1]+"px",width:a[2]+"px",height:a[3]+"px"});this.V&&(J(e,{backgroundColor:this.V}),jh(e,.3));this.U.push(new Eg(a[0],a[1],a[2],a[3]));return e};
function Uo(a){return a.i.getSize().width/a.i.Fa().getParent().g.width}function To(a,b,c,d,e){var g=Uo(a);return nb([b,c,d,e],function(h){return Math.round(h*g)})}function Vo(a,b){v(b,function(c){this.Tg.apply(this,c)},a)}f.Pn=function(a){return this.Tg(a.left,a.top,a.width,a.height)};f.ag=function(){tf(this.l);this.U=[]};f.Ug=function(){};function Wo(){So.call(this)}n(Wo,So);f=Wo.prototype;f.Ug=function(){if(!this.j){var a=this.Fa();a&&(a=xn(a))&&(Vo(this,a),this.j=!0)}};
f.Tg=function(a,b,c,d){this.o=So.prototype.Tg.call(this,a,b,c,d);J(this.o,{border:"2px #aaaaff dashed"});this.N=C("IMG");this.o.appendChild(this.N);this.N.src="/googlebooks/images/dialog_close_x.gif";a=To(this,a,b,c,d);J(this.N,{position:"absolute",cursor:"pointer",left:a[2]-19+"px",top:"4px",display:"none"});I(this.o,"mouseout",r(this.lq,this));I(this.o,"mouseover",r(this.Co,this,!0));jg(this.N,"click",r(this.Oa,this));return this.o};f.Oa=function(){E(this.o)};
f.lq=function(a){Cf(this.o,a.target)||this.Co(!1)};f.Co=function(a){J(this.N,{display:a?"":"none"})};function Xo(a){So.call(this);this.O=a}n(Xo,So);Xo.prototype.Ug=function(){if(!this.j){var a=this.Fa();a&&(a=wn(a))&&(v(a,function(b){var c=b.pop(),d=b.pop();b=this.Tg.apply(this,b);J(b,{cursor:"pointer"});this.g.ka(b,"click",r(this.o,this,d,c))},this),this.j=!0)}};Xo.prototype.o=function(a,b){(a=Vl(this.O.hb(),a))?this.O.mb(a):Im(this.O,b)};function Yo(a,b){this.l=a;this.g=b}Yo.prototype.Fa=function(){return this.l};Yo.prototype.i=function(){return this.l.wd(this.g)};function Zo(a,b,c){Yo.call(this,a,b);this.j=c}n(Zo,Yo);Zo.prototype.i=function(){return this.j.width>this.g.width?this.l.wd(this.j):Yo.prototype.i.call(this)};function $o(a,b,c,d,e){W.call(this);this.Jg(a.Ga());this.O=a;this.i=c;this.na=[];this.nm=d;K(d,c);this.ua=Qo(this);J(this.ua,"backgroundColor","#fff");K(this.ua,c);if(this.Ca=e!==void 0?e:!0)a=Qo(this),K(a,c),this.va=new ap(a),this.va.show();b&&(this.l=b,this.g.ka(b,"update",this.dg),Km(b))}u($o,W);f=$o.prototype;f.getSize=function(){return this.i};f.Fa=function(){return this.l};function bp(a,b){a.na.push(b);b.le(a)}f.dg=function(){};function cp(a){a.dispatchEvent("load");a.Ca&&a.va.lb()}
function Qo(a){var b=C("div");V(b,!0);J(b,{position:"absolute",left:0,top:0});a.nm.appendChild(b);return b}function dp(a){a.o&&(E(a.o),a.o=null)}f.Oa=function(){v(this.na,function(a){a.dispose()});this.na=null;dp(this)};function ep(a){a.N=Qo(a);K(a.N,a.getSize());J(a.N,{backgroundImage:"url(//www.google.com/images/cleardot.gif)",backgroundRepeat:"repeat"});a.g.ka(a.N,"mousedown",a.mq);a.g.ka(a.N,"dragstart",Vf)}f.mq=function(a){a.display=this;fp.dispatchEvent(a)};var fp=new Q;
function ap(a){this.g=a;a={position:"absolute",left:0,color:"#808080",fontSize:"13px",backgroundColor:"white"};for(var b=0;b<2;b++){var c=C("div");V(c);J(c,a);this.g.appendChild(c);c.textContent="Loading...";a.bottom=0}}ap.prototype.show=function(a){J(this.g,{display:a?"none":""})};ap.prototype.lb=function(){this.show(!0)};$o.prototype.Jl=function(){gp(this)};function gp(a,b){dp(a);a.o=Qo(a);new hp(a.o,a.getSize(),b)}
function hp(a,b,c){this.g=a;J(a,{backgroundColor:"#FFF",textAlign:"center"});K(a,b);x(a,De(Le,c||""));V(this.g)};function ip(a,b,c){$o.call(this,a,b.Fa(),b.g,c);this.Jg(jp);a=Qo(this);this.V=new kp(b.g,a);a=Qo(this);this.U=new kp(b.g,a);ep(this);nh(c,!0);O(c,"pageImageDisplay");this.ma=b;b.Fa()&&this.dg()}n(ip,$o);f=ip.prototype;f.mb=function(a){qn(a,"output",null);$o.prototype.mb.call(this,a);a.wd()&&this.dg()};
f.dg=function(){var a=this.Fa(),b=this.ma.i();if(b&&!this.j){b=lp(b);jg(this.V,"load",r(this.nq,this,a,b,this.getSize().width));mp(this.V,[b]);var c=Bm(this.O.Fb,a.Na());c.push(b);mp(this.U,c);this.j=!0;dp(this);a==this.O.Fa()&&this.dispatchEvent("fetch")}tn(a,[16,8])&&(a=Xc('<table width=100% height=100%><tr><td><img src="%s"/><br/>%s</td></tr></table>',Tm("/googlebooks/restricted_logo.gif"),"You have either reached a page that is unavailable for viewing or reached your viewing limit for this book."),
gp(this,a),cp(this))};f.nq=function(a,b,c){a==this.O.Fa()&&this.dispatchEvent("loaded");this.U.empty();var d=this.O.Fb;a=a.Na();d.g[a]=d.g[a]||{};d.g[a][c]=b;cp(this)};f.nc=ba(7);f.Oa=function(){this.j=!1;this.V.empty();this.U.empty();$o.prototype.Oa.call(this)};var jp=new Q;function lp(a){return a}function kp(a,b){Q.call(this);this.i=a;this.j=b;this.kf=!1;this.g=C("IMG");dk(this.g,"Page");this.g.width=this.i.width;this.j.appendChild(this.g);V(this.j)}n(kp,Q);
kp.prototype.empty=function(){for(var a;a=zf(this.j);)bn(a)};function mp(a,b){Ym(a.g,r(a.l,a,a.g));for(var c=0;c<b.length;c++)a.g.src=b[c]}kp.prototype.l=function(a){this.g==a&&(this.dispatchEvent("load"),this.kf=!0)};kp.prototype.nc=ba(6);function np(a){var b=this;W.call(this);this.N=a;this.j=a.l;this.nb(qh(this.j));this.Ib=new w(0,0);this.V=null;this.na=new Fj(function(){N(b.V,!1)},600);Sf(this,this.na)}u(np,W);f=np.prototype;f.nb=function(a){if(!this.i||!Lb(this.i,a)){this.i=a;var b=this.N;b.V=a;op(b);this.dispatchEvent("resize")}};f.Tc=function(a){this.vc=a;this.U.Oa();var b=this.N,c=this.getSize();b.V=c;op(b);b=this.N;a=new Kb(a.wb(),a.Gb());b.ma=a;b.o=!0;K(b.i,a);U(b.na,0,b);op(b);this.dispatchEvent("layoutchange")};
function pp(a,b){a.U=b}f.Pk=function(){return this.U};f.Hb=function(){return this.vc};f.jc=function(){var a=this.vc.Kd();this.ma&&(a=this.ma.Nk(a));Fn(this.U,a);this.dispatchEvent("update")};function qp(a,b){a.ma=b}
f.Uc=function(a){var b=this.Ib.x,c=this.Ib.y;typeof a.x==="number"&&(a.x=Gb(a.x,0,Math.max(this.vc.wb()-this.i.width,0)));typeof a.y==="number"&&(a.y=Gb(a.y,0,Math.max(this.vc.Gb()-this.i.height,0)));typeof a.x==="number"&&(b=a.x);typeof a.y==="number"&&(a.y-c>1?this.dispatchEvent("scrolldown"):c-a.y>1&&this.dispatchEvent("scrollup"),c=a.y);this.Ib=new w(b,c);b=this.N;a=this.Ib;b.U||(b=b.l,a.y!=null&&(b.scrollTop=a.y),a.x!=null&&(b.scrollLeft=a.x));this.dispatchEvent("move")};
function rp(a){var b=a.Ib;return b?new Eg(b.x,b.y,a.i.width,a.i.height):null}f.getSize=function(){return this.i};f.Ed=function(a){this.dispatchEvent("movestart");this.Uc(a);this.dispatchEvent("moveend")};function sp(a,b,c){a=a.Ib;c(new w(a.x+b.x,a.y+b.y))}
f.mf=function(a){var b=this.Ib,c=this.getSize();!b||Math.abs(b.x-a.x)>c.width||Math.abs(b.y-a.y)>c.height?this.Ed(a):(this.l&&(this.l.dispose(),this.l=null),this.l=new Mj([b.x,b.y],[a.x,a.y],250+Gb(Ib(b,a)/800,0,1)*250,Pj),I(this.l,"animate",r(this.rm,this)),I(this.l,"end",r(this.oq,this)),this.dispatchEvent("movestart"),jg(this,"movestart",r(this.l.dispose,this.l)),this.l.play())};f.rm=function(a){a=a.coords.map(Math.round);this.Uc(new w(a[0],a[1]))};f.oq=function(a){this.rm(a);this.dispatchEvent("moveend")};
f.Cb=function(){return this.j};f.Ae=ba(8);f.Jc=function(){return new w(Math.round(this.Ib.x+this.i.width/2),Math.round(this.Ib.y+this.i.height/2))};f.Ge=function(a){return new w(Math.round(a.x+this.i.width/2*-1),Math.round(a.y+this.i.height/2*-1))};f.wa=function(){np.oa.wa.call(this);this.U.Oa()};f.Jk=function(a){this.V==null&&(this.V=a);this.V.style.opacity=0;this.na.start()};f.Ms=function(){var a=this;this.na.stop();N(this.V,!0);U(function(){a.V.style.opacity=1})};f.om=1;function tp(a,b,c,d){$o.call(this,a,b.Fa(),b.g,c,d);this.ma=Qo(this);ep(this);b.Fa()&&this.dg();this.O=a;this.U=I(this.O.Ga(),"update",this.Da,!1,this)}n(tp,$o);tp.prototype.dg=function(){var a=this.Fa(),b=a.wd(),c=this.O.Xa().Qi(),d=a.na;if(b&&d&&!this.j){var e=gn(d,this.getSize().height);typeof e==="number"&&(d=hn(d,e),b=new R(b),S(b,"zoom",e),S(b,"pg",a.va),b=b.toString(),this.V=new cn(this.ma,d,this.getSize().height,c.Jj,c.Ij,r(c.eo,c,b,d,this.getSize().height),null),this.j=!0,this.Da())}};
tp.prototype.Da=function(){if(this.j){var a=Yg(this.ma);if(a){var b=dh(this.ma);a.top-=b.y;a.bottom-=b.y;a.left-=b.x;a.right-=b.x;a.bottom-a.top>0&&a.right-a.left>0&&dn(this.V,Gg(a))}Pm(this.O)}};tp.prototype.Oa=function(){this.j&&(this.V.empty(),this.j=!1);this.U&&(rg(this.U),this.U=null);$o.prototype.Oa.call(this)};function up(a){this.zd=a;So.call(this,"#ffff00")}u(up,So);up.prototype.Ug=function(){var a=this.i.Fa();if(a){var b=this.zd.getQuery();b!=this.o&&(a=Lm(a,b),this.ag(),a&&(nb(a,r(this.Pn,this)),this.o=b))}};function vp(a){Q.call(this);this.url=a;this.j=null;this.N=!0}n(vp,Q);vp.prototype.Td=function(){if(this.N)this.N=!1;else throw Error();};function wp(a,b){vp.call(this,a);this.U=b||"GET";this.i=new ug;this.g=new oi}n(wp,vp);f=wp.prototype;f.Td=function(a,b){vp.prototype.Td.call(this,a,b);this.o=a;this.l=b;this.i.ka(this.g,"success",r(this.rq,this));this.i.ka(this.g,"error",r(this.qq,this));this.g.send(this.url.toString(),this.U,void 0)};f.rq=function(a){this.j=JSON.parse(zi(a.target));U(r(this.dispatchEvent,this,"success"));this.o&&U(t(this.o,this.j));U(r(this.Kj,this))};
f.qq=function(){U(r(this.dispatchEvent,this,"error"));this.l&&U(this.l);U(r(this.Kj,this))};f.abort=function(){this.g.abort();this.Kj();return!1};f.Kj=function(){zg(this.i);this.l=this.o=null};function xp(a){return a.length?a.reduce(function(b,c){return Kg(b,c)},a[0].clone()):null};function yp(a,b,c,d,e){W.call(this);this.N=a;this.na=b;this.va=e;this.l=d;this.i=!1;this.o=C("div");c.appendChild(this.o);this.g.ka(b,"mousemove",this.U);this.g.ka(b,"mouseup",this.V)}u(yp,W);yp.prototype.U=function(a){if(!this.ua){a=Jb(new w(a.clientX,a.clientY),Zg(this.na));a=Bg(a,this.va);J(this.o,{border:"2px dashed #99AAEE",position:"absolute"});var b=a.right-a.left,c=a.bottom-a.top;Tg(this.o,a.left,a.top);K(this.o,b,c);this.j=a}};
yp.prototype.V=function(a){this.U(a);this.ua=!0;a=this.l;var b=Gg(this.j),c=Uo(this.N);c=zp(b,1/c);b=Ap(zp(c,1/a.getSize().width*1E3));a=new R(a.Cc());S(a,"ci",[b.left,b.top,b.width,b.height].join());S(a,"jscmd","click3");S(a,"output","text");c=Ap(c);Bp(this.N,[c]);E(this.o);(new wp(a)).Td(r(this.ma,this,c,b));this.dispatchEvent("endsize")};
yp.prototype.ma=function(a,b,c){c=c.page[0];var d=!1,e=c.clip_highlights;if(e){var g=[];v(e,function(h){g.push(new Eg(h.X,h.Y,h.W,h.H))});if(c=c.content)Bp(this.N,[a],c,b),d=!0}d||this.N.ag();this.dispose()};function zp(a,b){return new Eg(a.left*b,a.top*b,a.width*b,a.height*b)}function Ap(a){return new Eg(Math.round(a.left),Math.round(a.top),Math.round(a.width),Math.round(a.height))}yp.prototype.wa=function(){yp.oa.wa.call(this);E(this.o)};function Cp(a,b){W.call(this);this.o=a;this.Ea=b}var Dp;n(Cp,Po);f=Cp.prototype;f.le=function(a){Po.prototype.le.call(this,a);a=this.l;var b=C("div");V(b,!0);a.appendChild(b);vh(b,"selection-layer");K(a,this.i.getSize());K(b,this.i.getSize());this.g.ka(b,"click",this.sq);this.g.ka(b,"mousedown",this.tq)};
f.tq=function(a){if(Dp){a.stopPropagation();this.j&&this.j.dispose();var b=this.i.nm;a=Jb(new w(a.clientX,a.clientY),Zg(b));this.j=new yp(this.o,b,this.l,this.i.Fa(),a);this.N=I(document.body,"mousemove",r(this.uq,this));jg(this.j,["endsize","dispose"],r(this.Ks,this))}};f.sq=function(a){Dp&&a.stopPropagation()};
f.uq=function(a){if(this.j&&!this.j.qd){var b=new w(a.clientX,a.clientY),c=Fg(ih(this.Ea.Cb()));if(Cg(c,b)){var d=new w(0,0);v([[c.top-a.clientY,0,-1],[c.bottom-a.clientY,0,1],[c.left-a.clientX,-1,0],[c.right-a.clientX,1,0]],function(e){Math.abs(e[0])<40&&(d.x=e[1]||d.x,d.y=e[2]||d.y)});this.U||(this.U=new vj(100),this.g.ka(this.U,"tick",this.wq));this.V=d;d.x||d.y?this.U.start():this.U.stop()}}};f.wq=function(){var a=this.V,b=this.Ea;sp(b,new w(a.x*15,a.y*15),r(b.Ed,b))};
f.Ks=function(){rg(this.N);Qf(this.U);this.U=null};function Ep(){this.o="Selection copied to clipboard";this.g=!1;var a=B("DIV","entity-page-snackbar"),b=B("SPAN","entity-page-snackbar-text");G(b,this.o);a.appendChild(b);X(a,"hidden",!0);document.body.appendChild(a);this.l=a}Ep.prototype.show=function(){this.g?(this.i(),U(r(this.j,this),500)):this.j();U(r(this.i,this),6E3)};Ep.prototype.j=function(){J(this.l,"bottom","0");this.g=!0};Ep.prototype.i=function(){J(this.l,"bottom","-48px");this.g=!1};function Fp(a){this.i=a;this.l=new Ep;this.j=Gp(this)}Fp.prototype.ha=function(){return this.j};function Gp(a){var b=C("DIV");xh(b,["entity-page-copy-button","entity-page-action-chip"]);var c=C("SPAN");O(c,"entity-page-action-chip-icon");var d=C("SPAN");O(d,"entity-page-action-chip-label");G(d,"Copy");b.appendChild(c);b.appendChild(d);I(b,"click",r(a.g,a));Zj(b,"button");Hf(b,!0);I(b,"keydown",function(e){e.keyCode!=32&&e.keyCode!=13||a.g.call(a)});return b}
Fp.prototype.g=function(){this.i.focus();this.i.select();document.execCommand("copy");this.l.show()};function Hp(){}Hp.prototype.Lc=function(){};function Ip(a,b,c,d,e,g,h,k,l){var m=Jp(c),p=ih(a),y=Yg(a);y&&Hg(p,Gg(y));y=Xe(a);var D=Xe(c);if(y.g!=D.g){y=y.g.body;D=D.g.defaultView;var H=new w(0,0),F=mf(Ze(y));b:{try{Gd(F.parent);var L=!0;break b}catch(jb){}L=!1}if(L){L=y;do{var kb=F==D?Zg(L):eh(L);H.x+=kb.x;H.y+=kb.y}while(F&&F!=D&&F!=F.parent&&(L=F.frameElement)&&(F=F.parent))}y=Jb(H,Zg(y));p.left+=y.x;p.top+=y.y}a=Kp(a,b);b=p.left;a&4?b+=p.width:a&2&&(b+=p.width/2);p=new w(b,p.top+(a&1?p.height:0));p=Jb(p,m);e&&(p.x+=(a&4?-1:1)*e.x,p.y+=
(a&1?-1:1)*e.y);if(h)if(l)var Ta=l;else if(Ta=Yg(c))Ta.top-=m.y,Ta.right-=m.x,Ta.bottom-=m.y,Ta.left-=m.x;return Lp(p,c,d,g,Ta,h,k)}
function Jp(a){if(a=a.offsetParent){var b=a.tagName=="HTML"||a.tagName=="BODY";if(!b||Sg(a)!="static"){var c=Zg(a);if(!b){b=lh(a);var d;if(d=b){d=kk&&hc(mk,10)>=0;var e;if(e=Vd)e=hc(ek,10)>=0;var g=jk&&hc(mk,85)>=0;d=Ld||d||e||g}b=d?-a.scrollLeft:b&&Rg(a,"overflowX")!="visible"?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft;c=Jb(c,new w(b,a.scrollTop))}}}return c||new w}
function Lp(a,b,c,d,e,g,h){a=a.clone();var k=Kp(b,c);c=M(b);h=h?h.clone():c.clone();a=a.clone();h=h.clone();var l=0;if(d||k!=0)k&4?a.x-=h.width+(d?d.right:0):k&2?a.x-=h.width/2:d&&(a.x+=d.left),k&1?a.y-=h.height+(d?d.bottom:0):d&&(a.y+=d.top);g&&(e?(d=h,k=0,(g&65)==65&&(a.x<e.left||a.x>=e.right)&&(g&=-2),(g&132)==132&&(a.y<e.top||a.y>=e.bottom)&&(g&=-5),a.x<e.left&&g&1&&(a.x=e.left,k|=1),g&16&&(l=a.x,a.x<e.left&&(a.x=e.left,k|=4),a.x+d.width>e.right&&(d.width=Math.min(e.right-a.x,l+d.width-e.left),
d.width=Math.max(d.width,0),k|=4)),a.x+d.width>e.right&&g&1&&(a.x=Math.max(e.right-d.width,e.left),k|=1),g&2&&(k|=(a.x<e.left?16:0)|(a.x+d.width>e.right?32:0)),a.y<e.top&&g&4&&(a.y=e.top,k|=2),g&32&&(l=a.y,a.y<e.top&&(a.y=e.top,k|=8),a.y+d.height>e.bottom&&(d.height=Math.min(e.bottom-a.y,l+d.height-e.top),d.height=Math.max(d.height,0),k|=8)),a.y+d.height>e.bottom&&g&4&&(a.y=Math.max(e.bottom-d.height,e.top),k|=2),g&8&&(k|=(a.y<e.top?64:0)|(a.y+d.height>e.bottom?128:0)),e=k):e=256,l=e);e=new Eg(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;Tg(b,new w(e.left,e.top));h=e.getSize();Lb(c,h)||oh(b,h);return a}function Kp(a,b){return(b&8&&lh(a)?b^4:b)&-9};function Mp(a,b){this.Kb=8;this.Ja=b||void 0;Uk.call(this,a)}u(Mp,Uk);function Np(a,b){a.Kb=b;a.isVisible()&&a.Xf()}Mp.prototype.jd=function(){return this.Ja||null};Mp.prototype.setPosition=function(a){this.Ja=a||void 0;this.isVisible()&&this.Xf()};Mp.prototype.Xf=function(){if(this.Ja){var a=!this.isVisible()&&this.getType()!="move_offscreen",b=this.ha();a&&(b.style.visibility="hidden",N(b,!0));this.Ja.Lc(b,this.Kb,this.ol);a&&N(b,!1)}};function Op(a){Mp.call(this,a);Wk(this,!1);this.i=new ug;this.g=jn();O(a,"viewport-selection-popup");Pp&&Pp.dispose();Pp=this}n(Op,Mp);Op.prototype.j=function(){this.dispatchEvent("close");this.dispose()};
function Qp(a,b,c){var d=a.g?A("selection-popup-table"):a.ha(),e=a.g?C("TR"):C("div");O(e,"selection-popup-select-container");d.appendChild(e);d=a.g?C("TD"):C("div");O(d,"selection-popup-select-label");e.appendChild(d);d.appendChild(qf(b));d=a.g?C("TD"):C("div");e.appendChild(d);b=C("input");b.value=c;O(b,"viewport-input");d.appendChild(b);nh(b,!1);a.g&&(c=C("TD"),e.appendChild(c),e=(new Fp(b)).ha(),c.appendChild(e));a.i.ka(b,"mousedown",Rp)}function Rp(a){a.stopPropagation()}
Op.prototype.wa=function(){E(this.ha());Mp.prototype.wa.call(this);this.i.dispose()};var Pp=null;function Sp(a,b){this.g=a instanceof w?a:new w(a,b)}u(Sp,Hp);Sp.prototype.Lc=function(a,b,c,d){var e=Ze(a);var g=e.body;e=e.documentElement;e=new w(g.scrollLeft||e.scrollLeft,g.scrollTop||e.scrollTop);g=this.g.x+e.x;e=this.g.y+e.y;var h=Jp(a);g-=h.x;e-=h.y;Lp(new w(g,e),a,b,c,null,null,d)};function Tp(a,b){Sp.call(this,a,b)}u(Tp,Sp);Tp.prototype.i=0;Tp.prototype.l=function(a){this.i=a};Tp.prototype.Lc=function(a,b,c,d){var e=Yg((a?Ze(a):document).documentElement);var g=Xe(a);g=lf(g.g);g=new w(this.g.x+g.scrollLeft,this.g.y+g.scrollTop);var h=b,k=Lp(g,a,h,c,e,10,d);if((k&496)!=0){if(k&16||k&32)h^=4;if(k&64||k&128)h^=1;k=Lp(g,a,h,c,e,10,d);(k&496)!=0&&Lp(g,a,b,c,e,this.i,d)}};function Up(a){So.call(this,"#4a95d6");this.j=a}n(Up,So);Up.prototype.le=function(a){So.prototype.le.call(this,a);J(this.l,{cursor:"pointer"});this.g.ka(this.l,"mousedown",Vp)};function Vp(a){a.stopPropagation()}
function Bp(a,b,c,d){a.ag();nb(b,r(a.Pn,a));a.N&&rg(a.N);a.o&&a.o.dispose();b=C("div");document.body.appendChild(b);var e=xp(a.U);if(e){var g=Zg(a.l);b=new Op(b);if(c&&d){var h=a.Fa(),k=h.wd();if(k){var l=new R(k);d=[d.left,d.top,d.width,d.height].join();S(l,"ci",d);S(l,"edge",0);l=l.toString();var m=new R(h.Cc());S(m,"ci",d);S(m,"source","bookclip");m=Xc('<a href="%s"><img src="%s"/></a>',m.toString(),l)}d=m;tf(b.ha());m=b.ha();h=C("IMG");h.src="/googlebooks/images/material/close_black_24dp.png";
O(h,"selection-popup-close");m.appendChild(h);b.i.jf(h,"click",r(b.j,b));h=B("DIV",{},"Share this clip");O(h,"selection-popup-title");m.appendChild(h);b.g&&(h=B("TABLE",{id:"selection-popup-table"}),m.appendChild(h));c&&(Qp(b,"Selection text",c),m=C("DIV"),O(m,"selection-popup-translate-container"),b.g?(h=zf(A("selection-popup-table")),k=C("TD"),h.appendChild(k),k.appendChild(m)):b.ha().appendChild(m),h=new R("https://translate.google.com/translate_t"),S(h,"text",c),S(h,"sl","auto"),S(h,"tl","auto"),
c=C("A"),c.href=h.toString(),c.target="_blank",b.g&&(h=C("SPAN"),xh(h,["selection-popup-translate-icon","entity-page-action-chip-icon"]),c.appendChild(h)),h=C("SPAN"),G(h,"Translate"),O(h,"entity-page-action-chip-label"),c.appendChild(h),h=C("SPAN"),G(h,"\u00bb"),O(h,"selection-popup-translate-arrow"),c.appendChild(h),O(c,"selection-popup-translate-link"),O(c,"entity-page-action-chip"),m.appendChild(c));l&&Qp(b,"Image",l);d&&Qp(b,"Embed",d)}else c=C("DIV"),G(c,"Loading..."),O(c,"selection-popup-loading-msg"),
b.ha().appendChild(c);Np(b,4);a.o=b;c=g.x+e.left+e.width;e=g.y+e.top+e.height;g=hh(b.ha()).width;c-g<24&&(c=g+24);U(t(Wp,b,new Tp(new w(c,e))));a.N=jg(b,"close",r(a.ag,a))}}function Wp(a,b){a.qd||(a.setPosition(b),a.Ba(!0))}Up.prototype.ag=function(){So.prototype.ag.call(this);this.o&&this.o.dispose()};Up.prototype.wa=function(){So.prototype.wa.call(this);this.o&&this.o.dispose();this.N&&rg(this.N)};function Xp(a,b,c){return a.Xa().Qi()?new tp(a,b,c):new ip(a,b,c)}function Yp(a,b){if(b instanceof ip){bp(b,new up(a.Ya()));bp(b,new Wo);var c=new Up(a.Cb()),d=new Cp(c,a.Ga());bp(b,d);bp(b,c);bp(b,new Xo(a))}};function Zp(a,b){W.call(this);this.O=a;b=Math.floor(b/2);var c=Math.floor(b/this.O.hb().g.aspectRatio());this.j=new Kb(b,c);this.i=C("div");J(this.i,{position:"absolute",backgroundColor:"white",top:0,left:0});this.na=[];a.Ga().N.i.appendChild(this.i);this.l=C("div");this.N=C("div");this.na.push(I(this.l,"dblclick",r(this.zt,this)));a={overflow:"hidden",backgroundColor:"#fcfcfc",position:"absolute",border:"1px solid #ccc"};J(this.l,a);J(this.N,a);this.i.appendChild(this.l);this.i.appendChild(this.N);
this.V=C("div");this.ma=C("div");this.l.appendChild(this.V);this.N.appendChild(this.ma);$p(this)}n(Zp,Qj);function $p(a){a.o&&a.o.Oa();a.U&&a.U.Oa();tf(a.V);tf(a.ma);oh(a.l,a.j);oh(a.N,a.j);a.o=Xp(a.O,new Yo(a.ua,a.j),a.V);Yp(a.O,a.o);a.va=new Ro(!0);bp(a.o,a.va);a.U=Xp(a.O,new Yo(a.Ca,a.j),a.ma);a.Da=new Ro(!1);Yp(a.O,a.U);bp(a.U,a.Da)}f=Zp.prototype;f.setPosition=function(a){a.x<0&&(a.x=0);Tg(this.i,a)};f.zt=function(a){a.preventDefault();a.stopPropagation();this.O.rb("previous")};
f.Ba=function(a){J(this.i,{display:a?"":"none"})};f.Oc=function(){J(this.l,{left:0,top:0});J(this.N,{left:this.j.width+"px",top:0})};f.Ld=function(){return mb([this.ua,this.Ca],function(a){return!!a})};f.Oa=function(){this.o.Oa();this.U.Oa();for(var a;a=this.na.pop();)rg(a);this.i.parentNode&&E(this.i)};function aq(a){return a*2};function bq(a){this.O=a}n(bq,en);bq.prototype.render=function(a){var b=new Zp(this.O,a.getSize().width);b.setPosition(a.jd());b.Oc();b.Ba(!0);return this.g=b};function cq(a,b){var c=a.match(dq);return c?Number(c[1])*b[c[2]]:Number(a)}var dq=/^(-?\d+\.?\d*)([KMGTPEZYkmun]?)B?$/,eq={"":1,n:1E-9,u:1E-6,m:.001,k:1E3,K:1E3,M:1E6,G:1E9,T:1E12,P:1E15,E:1E18,Z:1E21,Y:1E24},fq={"":1,n:9.313225746154785E-10,u:9.5367431640625E-7,m:1/1024,k:1024,K:1024,M:1048576,G:1073741824,T:1099511627776,P:0x4000000000000,E:0x1000000000000000,Z:1.1805916207174113E21,Y:1.2089258196146292E24};function gq(a,b){var c=hq(a),d=hq(b);Sl(a)==0||Sl(b)==0?d="This is a preview. The total pages displayed will be limited.":typeof c!=="number"||typeof d!=="number"||c>=d||Math.abs(c-d)==1?d="Some pages are omitted from this book preview.":iq(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 hq(a){a=a.kb();var b;/[^0-9]/.test(a)||Wb(a)?b=null:b=Vb(a,"B")?cq(a,fq):cq(a,eq);return b}
function iq(a,b){a=hq(a);b=hq(b);return a+1-(b-1)==0};function jq(a,b,c){Q.call(this);this.O=a;this.j=b;this.o=M(b).width;this.N=c;this.i=!1;this.g=yj()}n(jq,Q);jq.prototype.hf=function(){return this.i};function kq(a,b){if(b!=a.i){a.i=b;var c=a.O.Ga().N.i;N(c,!1);M(c);[t(lq,a.j,a.N,a.o,a.g,b),r(a.l,a),t(N,c,!0)].forEach(U)}}jq.prototype.l=function(){this.dispatchEvent("change")};function lq(a,b,c,d,e){var g=b.style.width;d=d?"right":"left";e?(b.style[d]="0",b.style.width=g+c):(b.style[d]="",b.style.width="");N(a,!e)};var mq=null;function nq(a,b){ug.call(this);this.i=mq;this.O=a;this.g=b;this.O.Xa().U||(this.ka(this.O,"pageturn",this.j),this.ka(this.g,"dispose",this.dispose))}n(nq,ug);
nq.prototype.j=function(){var a=this.g.o.g.Ld()[0]||new Xm,b=this.g.o.g.Ld()[1]||new Xm,c=this.U,d=this.o,e=d?Sl(d):-1,g=Sl(a)||-1,h=Sl(b)||-1,k=Math.max(c?Sl(c):-1,e),l=Math.max(g,h);if(Math.abs(l-k)>this.g.om){if(l-k>0){var m=k==e?d:c;var p=a}l-k<0&&(m=h!=-1?b:a,p=d);h-g>1&&(m=a,p=b);iq(m,p)||m===void 0||p===void 0||(a=gq(m,p),this.i.V(a),this.i.show(3E3))}};function oq(a){mn.call(this,a)}n(oq,mn);f=oq.prototype;f.Dd=function(a){mn.prototype.Dd.call(this,a);a&&a.additional_info&&(this.g=a.additional_info["[NewspaperJSONPageInfo]"],this.g.articles&&(this.i={},v(this.g.articles,function(b){var c=b.aid;c&&(this.i[c]=new Eo(b))},this)))};f.ze=function(){return this.l(32)?"Front Cover":this.l(64)?"Back Cover":mn.prototype.ze.call(this)};f.Ok=function(){return{width:"w"}};f.Li=ba(9);f.bo=function(){return this.U};function pq(a){Jn.call(this);Jn.apply(this,arguments);this.N();I(this,"update",r(this.N,this))}n(pq,Jn);function qq(a,b){var c={};v(b.page,function(e){var g=Vl(this,e.pid);g&&rn(g,e);c[e.pid]=!0},a);b=Tl(a);var d=mb(b,function(e){return!!c[e.Na()]||!!this.U[e.Na()]},a);b.length!=d.length&&a.j(d)}pq.prototype.Yk=function(a){this.o?qq(this,a):Jn.prototype.Yk.call(this,a)};
pq.prototype.N=function(){var a={},b=0;v(Tl(this),function(h){var k=Sl(h);a[k]=h;b=Math.max(b,k)});for(var c=[],d=-1;d<=b;d+=2){var e=a[d],g=a[d+1];(e||g)&&c.push([e,g])}this.V=c};pq.prototype.l=oq;function rq(a){this.o=a.Seller;this.Ma=a.Url;this.i=a.TrackingUrl;this.g=a.Price;this.j=a.IsInStock;this.l=a.IsPublisher};function sq(a){this.j=a.page_id;this.i=a.page_number||"";this.g=a.snippet_text||"";this.l=a.page_url}sq.prototype.Na=function(){return this.j};sq.prototype.Cc=function(){return this.l};function tq(a){this.g=a;this.g.number_of_results>0?(this.Ab=nb(this.g.search_results,function(b){return new sq(b)},this),this.id=this.g.search_results[0].page_id+uq(this)+this.g.search_results[this.g.number_of_results-1].page_id):this.Ab=[]}function vq(a){return a.g.spellresults&&a.g.spellresults.correct_spell?a.g.spellresults.correct_spell:null}function uq(a){return a.g.search_query_escaped};function wq(a,b){W.call(this);this.o=a;this.N=b;this.l=b.j;this.j=b.g;this.i=C("DIV");this.i.className="separator-container";this.o.appendChild(this.i);a=C("TABLE");a.className="separator-outer-table";this.i.appendChild(a);var c=a.insertRow(-1).insertCell(-1);c.align="center";var d=C("DIV");d.className="separator-background";c.appendChild(d);c=C("TABLE");c.className="separator-inner-table";d.appendChild(c);c.align="center";if(b.i()){var e=A("gb-mobile-menu-pubinfo");if(e){b=af("IMG",e);if(b.length==
1){b=b[0].cloneNode(!0);var g=c.insertRow(-1).insertCell(-1);wf(g,b,0);O(g,"separator-message");O(g,"separator-pubinfo-message")}b=gq(this.l,this.j);e=If(e);c=c.insertRow(-1).insertCell(-1);g=C("SPAN");g.className="separator-text";c.appendChild(g);var h=this.N;h.i&&h.l?x(g,z(e)):x(g,z(b+"<br>"+e));O(c,"separator-message");O(c,"separator-pubinfo-message")}O(a,"separator-pubinfo");O(d,"separator-pubinfo")}else a=c.insertRow(-1).insertCell(-1),O(a,"separator-message"),a.textContent=gq(this.l,this.j);
nh(this.i,!0);V(this.i)}n(wq,Qj);wq.prototype.nb=function(a){K(this.i,a)};wq.prototype.setPosition=function(a){Tg(this.i,a)};wq.prototype.Oa=function(){E(this.i)};function xq(a,b,c,d){this.Cj=this.Xk=10;this.di=this.ei=20;b=Math.floor((b-20)/(100+this.Xk));d&&b>2&&(b-=b%2);Jo.call(this,b);Tl(a);a=nb(Tl(a),function(e){e=new Pi(e);var g=e.getSize();g.width=100;e.nb(g);return e});c&&(c=a[0].getSize(),d=new Bi,d.nb(c),this.Qa(d));v(a,r(this.Qa,this));Li(this)}u(xq,Jo);function yq(a,b){np.call(this,b);this.Eb=a;this.g.ka(a,"pagechange",this.Od);this.g.ka(this.Eb,"searchupdate",this.Vk);if(a=A("subscription-bar"))this.g.ka(this,"scrolldown",t(this.Jk,a)),this.g.ka(this,"scrollup",t(this.Ms,a))}u(yq,np);f=yq.prototype;f.Ld=function(){var a=this.vc.Kd(),b=[];this.ma&&(a=this.ma.Sh(a)[0]||[]);v(a,function(c){c instanceof Pi&&b.push(c.Fa())});return b};f.Wf=function(a){this.Tf(!1,!1);this.Ne(this.qg(a))};
f.Me=function(a){var b=[];this.Hb().Jf()=="fixed_width"&&b.push(this.getSize().width);this.Zd&&(a=Hn(this.Zd(),this.Hb().N(),a,b))&&this.Wf(a)};f.xe=function(){this.Tf(!0,!1);var a=this.getSize().width;this.Ne(this.qg(a))};f.ff=ba(10);f.Tf=function(a,b){this.rg=a;this.Ki=b};f.resize=function(){if(this.rg)this.xe();else{var a=this.Hb().N();a&&this.Wf(a)}};f.Ne=function(a){var b=this.Hb();this.Tc(a);b&&(a=Vj(new Uj(b,a),this.Jc()),(a=this.Ge(a))&&this.Ed(a))};f.Od=function(){this.Eh||this.Nd(this.Eb.Fa())};
f.Nd=function(a){this.vc.Bc&&(a=this.vc.Bc(a))&&this.Uc(new w(Math.round(a.Xd()),Math.round(a.kd())))};f.Vk=function(){zq&&(this.Pk().Oa(),this.va&&this.va(),this.jc())};var zq=!0;function Aq(a,b){this.Ea=a;this.g=b}n(Aq,en);Aq.prototype.render=function(a){var b=this.g(),c=a.Fa(),d=this.Ea.Zd();d=hb(d.wf)/a.getSize().width;var e=a.getSize();b.ij=e.width;b.Gg=e.height;e=a.getSize().clone();e.width*=d;e.height*=d;b.fu=e.width;b.cu=e.height;b.setPosition(a.Xd(),a.kd());b.mb(c);b.Oc();return b};function Bq(){};function Cq(a){this.Ea=a}u(Cq,Bq);Cq.prototype.Nk=function(a){var b=this.Sh(a);a=b[0]||[];b=b[1]||[];b.sort(t(Dq,this.Ea.Jc()));var c=[];yb(c,a,b);return c};function Dq(a,b,c){return Dg(Fg(Ci(b)),a)-Dg(Fg(Ci(c)),a)}Cq.prototype.Sh=function(a){var b=rp(this.Ea),c=new Eg(b.left-800,b.top-800,b.width+1600,b.height+1600);return Db(a,function(d){d=Ci(d);if(Ig(c,d))return Ig(b,d)?0:1})};function Eq(a,b){this.Ea=b;this.O=a}n(Eq,Cq);Eq.prototype.Nk=function(a){var b=Cq.prototype.Nk.call(this,a),c=this.O.Fa();if(c){var d=[],e=this.O.hb();v([1,-1],function(){var g=Ul(e,c.Na(),1);g&&d.push(g)});v(a,function(g){g.Fa&&rb(d,g.Fa())&&sb(b,g)})}return b};function Fq(a,b,c){W.call(this);this.O=a;this.Ea=b;this.j=C("div");V(this.j,!0);J(this.j,{position:"absolute",display:"none"});c.appendChild(this.j);this.o=C("div");V(this.o,!0);J(this.o,{position:"absolute"});this.j.appendChild(this.o);this.N=C("div");V(this.N,!0);this.j.appendChild(this.N);this.U=C("div");V(this.U,!0);this.N.appendChild(this.U);this.lb()}u(Fq,Qj);f=Fq.prototype;
f.Oc=function(){var a=this.ij-2,b=this.Gg-2,c=this.fu-2,d=this.cu-2;J(this.N,{backgroundColor:"#cccccc",position:"absolute"});Tg(this.N,0,0);K(this.N,this.ij,this.Gg);J(this.U,{overflow:"hidden",backgroundColor:"#fcfcfc",position:"absolute"});Tg(this.U,1,1);K(this.U,a,b);this.show();var e=this.O;a=Xp(e,new Zo(this.Fa(),new Kb(a,b),new Kb(c,d)),this.U);a instanceof ip?Yp(e,a):a instanceof tp&&a instanceof tp&&bp(a,new up(e.Ya()));this.i=a};f.lb=function(){N(this.j,!1)};f.show=function(){N(this.j,!0)};
f.nc=ba(5);f.Oa=function(){this.i&&this.i.Oa();E(this.j)};f.setPosition=function(a,b){Tg(this.j,a,b)};f.kd=function(){return Vg(this.j).x};f.Xd=function(){return Vg(this.j).y};f.mb=function(a){this.l=a};f.Fa=function(){return this.l};f.Gb=function(){return this.Gg};f.wb=function(){return this.ij};function Gq(a){return a+2}f.getSize=function(){return new Kb(this.ij,this.Gg)};function Hq(a){W.call(this);tf(a);V(a);this.l=a;this.i=C("div");V(this.i,!0);yj()&&(gf(a,{dir:"ltr"}),gf(this.i,{dir:"rtl"}));a.appendChild(this.i)}u(Hq,W);function Iq(a,b){Hq.call(this,b);this.Ea=a;this.g.ka(b,"scroll",this.N);J(b,"position","relative");J(this.i,"position","absolute");this.j=C("div");O(this.j,"scroll-background");V(this.j,!0);b.appendChild(this.j);this.j.appendChild(this.i)}n(Iq,Hq);function op(a){var b=a.ma;a.V&&b&&(J(a.i,"left",Math.floor(Math.max(0,a.Ea.N.l.clientWidth-b.width)/2)+"px"),J(a.j,"height",b.height+"px"))}Iq.prototype.na=function(){this.o=!1;this.N()};
Iq.prototype.N=function(){if(!this.o){var a=this.Ea.Ib;if(a){a=a.clone();var b=this.l;b=new w(b.scrollLeft,b.scrollTop);Hb(a,b)||(this.U=!0,this.Ea.Ed(b),this.U=!1)}}};function Jq(a){var b=a.Cb(),c=new Iq(this,b);J(b,"overflow","auto");J(b,{overflowX:"auto",overflowY:"scroll"});O(b,"overflow-scrolling");gf(b,{dir:"ltr"});yq.call(this,a,c);qp(this,new Eq(a,this));pp(this,Kq(this));var d=a.hb(),e=a.Xa().Jf();this.o=a.Xa().U?function(g){return new Lo(d,e,g)}:a.Xa().na?function(g){return new Lo(d,e,g,!0,a.Xa().na)}:function(g){return new Lo(d,e,g,!0)};b=this.Eb.Xa();b.Jf()=="fixed_height"?(b=b.Zd(),b=b[Math.floor(b.length/2)]+2):b=Lq(b)+2;this.Wf(b);this.g.ka(this.Eb,
"pagesupdate",this.Ht);this.g.ka(this.Eb,"pagemodechange",this.xq);this.g.ka(this,"move",this.jc);this.g.ka(this,"move",this.Qv)}u(Jq,yq);f=Jq.prototype;f.Kc=function(){this.Me(1)};f.Zc=function(){this.Me(-1)};f.Zd=function(){var a=this.Eb.Xa(),b=xb(a.Zd());a.Jf()=="fixed_width"&&(a=this.Eb.Xa().Ka)&&a-hb(b)>150&&(a<1500?sb(b,a):sb(b,1500));return new Gn(nb(b,Gq))};f.qg=function(a){return this.o(a)};
f.getSize=function(){if(this.j.hasChildNodes()){var a=qh(this.j.childNodes[0]).width;a=new Kb(a,this.i.height)}else a=this.i;return a};function Kq(a){var b=new Dn;En(b,Pi,new Aq(a,t(Fi,Fq,a.Eb,a,a.N.i)));En(b,Ho,new No(a.Eb,function(c){return new wq(a.N.i,c)}));return b}f.Qv=function(){if(this.Ca){var a=Ii(this.vc,this.Jc().y);a&&a.Fa&&(a=a.Fa(),this.Eb.Fa()!=a&&(this.Eh=!0,this.Eb.Ad(a.Na()),this.Eh=!1))}this.Ca=!0};
f.Ht=function(){var a=this.Eb.Fa(),b=this.Eb.hb(),c=Vl(b,a.Na());if(!c)a:{c=Sl(a);b=Tl(b);for(a=b.length-1;a>=0;a--){var d=b[a];if(Sl(d)<=c){c=d;break a}}c=null}a=this.Ib;b=this.Hb();d=b.Bc(c);a=Jb(a,d.jd());b=this.qg(b.N());c=b.Bc(c).jd();c=new w(c.x+a.x,c.y+a.y);this.Tc(b);this.Ed(c)};f.xq=function(){this.U.Oa();this.jc()};
f.Hk=function(a){if(a.bo&&a.U){var b=a.U;if(a.ma!=null)var c=a.ma;else a.ma=new Go(this.N.i),c=a.ma;c.g=this.N.i;if(A("focus_article_div")){var d=A("focus_article_div");E(d)}d=this.Hb().Bc(a);a=d.wb()/a.ke();if(b.If()&&(b=b.If())){var e=b[0];if(e&&e.length==4){b=a*e[0]+d.Xd();d=a*e[1]+d.kd();var g=a*e[2];a*=e[3];e=C("DIV");e.setAttribute("id","focus_article_div");V(e,!0);jh(e,.3);J(e,{position:"absolute",left:b+"px",top:d+"px",width:g+"px",height:a+"px",cursor:"pointer",backgroundColor:"#36C",border:"2px solid #00F"});
c.g.appendChild(e)}}}};function Mq(a,b,c,d,e){W.call(this);this.O=a;this.Ea=b;this.l=c;var g=C("div");J(g,{position:"absolute"});e=e.width-2;Tg(g,d.x+(yj()?e:0),d.y);b.N.i.appendChild(g);this.i=g;b=Math.floor(e/Qi(c));g=new Kb(e,b);this.j=C("div");this.i.appendChild(this.j);J(this.j,{padding:"1px",position:"absolute"});this.o();b=C("div");this.j.appendChild(b);J(b,{overflow:"hidden",backgroundColor:"#fcfcfc"});K(b,g);this.j.appendChild(b);d=C("IMG");d.title=c.ze();this.U=d;e=new R(c.N.Do);S(e,"pg",c.Na());c.ob.sig&&S(e,
"sig",c.ob.sig);e=new R(e.toString());S(e,"zoom","1");S(e,"img","1");S(e,"w",g.width);if(g=this.O.Xa().md)S(e,"imgtk",g),S(e,"jtp",Sl(c));d.src=e.toString();b.appendChild(d);J(this.j,"cursor","pointer");this.g.ka(this.j,"click",this.N);this.g.ka(a,"pagechange",this.o)}n(Mq,Qj);Mq.prototype.o=function(){var a=!1,b=this.O.Fa();b&&b==this.l&&(a=!0);J(this.j,"backgroundColor",a?"#6B90DA":"#ccc")};Mq.prototype.N=function(){this.O.Zb(Jq);this.O.mb(this.l);Nq.dispatchEvent("click")};
Mq.prototype.Oa=function(){bn(this.U);E(this.i)};var Nq=new Q;function Oq(a,b){this.O=a;this.Ea=b}n(Oq,en);Oq.prototype.render=function(a){return new Mq(this.O,this.Ea,a.Fa(),a.jd(),a.getSize())};function Pq(a){var b=a.Cb();J(b,{overflow:"hidden"});var c=new Iq(this,b);yq.call(this,a,c);this.g.ka(this,"move",this.jc);J(b,{overflow:"auto"});pp(this,Qq(this));this.Tc(Rq(this));qp(this,new Cq(this));U(r(this.jc,this),0);this.g.ka(this,"resize",this.o);var d=A("subscription-bar");d&&(this.Jk(d),U(function(){N(d,!1)},600))}u(Pq,yq);Pq.prototype.Nd=function(a){a=this.Hb().Bc(a).jd();this.Ed(new w(void 0,a.y-40))};
function Rq(a){var b=a.Eb.Xa().yc;return new xq(a.Eb.hb(),jn()?Math.min(a.getSize().width,1120):a.getSize().width,b,b)}Pq.prototype.o=function(){this.Tc(Rq(this));this.Nd(this.Eb.Fa())};function Qq(a){var b=new Dn;En(b,Pi,new Oq(a.Eb,a));return b};function Sq(a){this.xc=a.Title;this.i=a.Pid;this.g=a.PgNum}Sq.prototype.kb=function(){return this.xc};Sq.prototype.getId=function(){return this.i};function Tq(a,b,c,d){Xf.call(this,d);this.type="key";this.keyCode=a;this.charCode=b;this.repeat=c}u(Tq,Xf);function Uq(a,b){Q.call(this);a&&this.attach(a,b)}u(Uq,Q);f=Uq.prototype;f.ya=null;f.aj=null;f.il=null;f.cj=null;f.Qc=-1;f.Qe=-1;f.Lj=!1;
var Vq={3:13,12:144,63232:38,63233:40,63234:37,63235:39,63236:112,63237:113,63238:114,63239:115,63240:116,63241:117,63242:118,63243:119,63244:120,63245:121,63246:122,63247:123,63248:44,63272:46,63273:36,63275:35,63276:33,63277:34,63289:144,63302:45},Wq={Up:38,Down:40,Left:37,Right:39,Enter:13,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,"U+007F":46,Home:36,End:35,PageUp:33,PageDown:34,Insert:45},Xq=Od&&Ld;f=Uq.prototype;
f.yq=function(a){Md&&(this.Qc==17&&!a.ctrlKey||this.Qc==18&&!a.altKey||Od&&this.Qc==91&&!a.metaKey)&&(this.Qe=this.Qc=-1);this.Qc==-1&&(a.ctrlKey&&a.keyCode!=17?this.Qc=17:a.altKey&&a.keyCode!=18?this.Qc=18:a.metaKey&&a.keyCode!=91&&(this.Qc=91));Gh(a.keyCode,this.Qc,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?(this.Qe=Hh(a.keyCode),Xq&&(this.Lj=a.altKey)):this.handleEvent(a)};f.zq=function(a){this.Qe=this.Qc=-1;this.Lj=a.altKey};
f.handleEvent=function(a){var b=a.Rb,c=b.altKey;if(Md&&a.type=="keypress"){var d=this.Qe;var e=b.charCode>=0&&b.charCode<63232&&Fh(d)?b.charCode:0}else a.type=="keypress"?(Xq&&(c=this.Lj),b.keyCode==b.charCode?b.keyCode<32?(d=b.keyCode,e=0):(d=this.Qe,e=b.charCode):(d=b.keyCode||this.Qe,e=b.charCode||0)):(d=b.keyCode||this.Qe,e=b.charCode||0),Od&&e==63&&d==224&&(d=191);var g=d=Hh(d);d?d>=63232&&d in Vq?g=Vq[d]:d==25&&a.shiftKey&&(g=9):b.keyIdentifier&&b.keyIdentifier in Wq&&(g=Wq[b.keyIdentifier]);
if(!Ld||a.type!="keypress"||Gh(g,this.Qc,a.shiftKey,a.ctrlKey,c,a.metaKey))a=g==this.Qc,this.Qc=g,b=new Tq(g,e,a,b),b.altKey=c,this.dispatchEvent(b)};f.ha=function(){return this.ya};f.attach=function(a,b){this.cj&&Yq(this);this.ya=a;this.aj=I(this.ya,"keypress",this,b);this.il=I(this.ya,"keydown",this.yq,b,this);this.cj=I(this.ya,"keyup",this.zq,b,this)};function Yq(a){a.aj&&(rg(a.aj),rg(a.il),rg(a.cj),a.aj=null,a.il=null,a.cj=null);a.ya=null;a.Qc=-1;a.Qe=-1}f.wa=function(){Uq.oa.wa.call(this);Yq(this)};function Zq(){}var $q;Ua(Zq);var ar={button:"pressed",checkbox:"checked",menuitem:"selected",menuitemcheckbox:"checked",menuitemradio:"checked",radio:"checked",tab:"selected",treeitem:"selected"};f=Zq.prototype;f.eg=function(){};f.Mc=function(a){return a.g.Pa("DIV",br(this,a).join(" "),a.Ac())};f.Ic=function(a){return a};function cr(a,b,c){(a=a.ha?a.ha():a)&&(c?xh:zh)(a,[b])}f.li=function(){return!0};
f.Tb=function(a,b){b.id&&a.Ig(b.id);var c=this.Ic(b);c&&c.firstChild?dr(a,c.firstChild.nextSibling?xb(c.childNodes):c.firstChild):a.hg=null;var d=0,e=this.Sa(),g=this.Sa(),h=!1,k=!1,l=xb(uh(b));l.forEach(function(m){h||m!=e?k||m!=g?d|=this.Pi(m):k=!0:(h=!0,g==e&&(k=!0));this.Pi(m)==1&&Ff(c)&&Hf(c,!1)},this);a.me=d;h||(l.push(e),g==e&&(k=!0));k||l.push(g);(a=a.Jd)&&l.push.apply(l,a);h&&k&&!a||vh(b,l.join(" "));return b};f.mi=function(a){Rk(a)&&this.tm(a.ha(),!0);a.isEnabled()&&this.Vg(a,a.isVisible())};
function er(a,b,c){if(a=c||a.eg())c=b.getAttribute("role")||null,a!=c&&Zj(b,a)}function fr(a,b,c){var d=b.Ia;d!=null&&a.Ph(c,d);b.isVisible()||X(c,"hidden",!b.isVisible());b.isEnabled()||a.he(c,1,!b.isEnabled());gr(b,8)&&a.he(c,8,hr(b,8));gr(b,16)&&a.he(c,16,hr(b,16));gr(b,64)&&a.he(c,64,b.ld())}f.Ph=function(a,b){dk(a,b)};f.Mj=function(a,b){nh(a,!b,!0)};f.tm=function(a,b){cr(a,this.Sa()+"-rtl",b)};f.sm=function(a){var b;return gr(a,32)&&(b=a.ha())?Ff(b):!1};
f.Vg=function(a,b){var c;if(gr(a,32)&&(c=a.ha())){if(!b&&hr(a,32)){try{c.blur()}catch(d){}hr(a,32)&&a.ni(null)}Ff(c)!=b&&Hf(c,b)}};f.Ba=function(a,b){N(a,b);a&&X(a,"hidden",!b)};f.Vc=function(a,b,c){var d=a.ha();if(d){var e=this.oh(b);e&&cr(a,e,c);this.he(d,b,c)}};f.he=function(a,b,c){$q||($q={1:"disabled",8:"selected",16:"checked",64:"expanded"});b=$q[b];var d=a.getAttribute("role")||null;d&&(d=ar[d]||b,b=b=="checked"||b=="selected"?d:b);b&&X(a,b,c)};
f.fg=function(a,b){var c=this.Ic(a);c&&(tf(c),b&&(typeof b==="string"?G(c,b):(a=function(d){if(d){var e=Ze(c);c.appendChild(typeof d==="string"?e.createTextNode(d):d)}},Array.isArray(b)?b.forEach(a):!Wa(b)||"nodeType"in b?a(b):xb(b).forEach(a))))};f.Sa=function(){return"goog-control"};function br(a,b){var c=a.Sa(),d=[c],e=a.Sa();e!=c&&d.push(e);c=b.me;for(e=[];c;){var g=c&-c;e.push(a.oh(g));c&=~g}d.push.apply(d,e);(a=b.Jd)&&d.push.apply(d,a);return d}f.oh=function(a){this.i||ir(this);return this.i[a]};
f.Pi=function(a){if(!this.ua){this.i||ir(this);var b=this.i,c={},d;for(d in b)c[b[d]]=d;this.ua=c}a=parseInt(this.ua[a],10);return isNaN(a)?0:a};function ir(a){var b=a.Sa();a.i={1:b+"-disabled",2:b+"-hover",4:b+"-active",8:b+"-selected",16:b+"-checked",32:b+"-focused",64:b+"-open"}};function jr(){}u(jr,Zq);Ua(jr);f=jr.prototype;f.eg=function(){return"button"};f.he=function(a,b,c){switch(b){case 8:case 16:X(a,"pressed",c);break;default:case 64:case 1:jr.oa.he.call(this,a,b,c)}};f.Mc=function(a){var b=jr.oa.Mc.call(this,a);this.tf(b,a.af());var c=a.Bb();c&&this.wc(b,c);gr(a,16)&&this.he(b,16,hr(a,16));return b};f.Tb=function(a,b){b=jr.oa.Tb.call(this,a,b);var c=this.Bb(b);a.Ca=c;a.V=this.af(b);gr(a,16)&&this.he(b,16,hr(a,16));return b};f.Bb=function(){};f.wc=function(){};
f.af=function(a){return a.title};f.tf=function(a,b){a&&(b?a.title=b:a.removeAttribute("title"))};f.qc=function(a,b){var c=Rk(a),d=this.Sa()+"-collapse-left",e=this.Sa()+"-collapse-right",g=c?e:d;b&1?kr(a,g):lr(a,g);c=c?d:e;b&2?kr(a,c):lr(a,c)};f.Sa=function(){return"goog-button"};var mr={dh:"mousedown",eh:"mouseup",ah:"mousecancel",fw:"mousemove",hw:"mouseover",gw:"mouseout",dw:"mouseenter",ew:"mouseleave"};function nr(a,b){if(!a)throw Error("Invalid class name "+a);if(typeof b!=="function")throw Error("Invalid decorator function "+b);or[a]=b}var pr={},or={};function qr(a,b,c){Y.call(this,c);if(!b){for(b=this.constructor;b;){var d=Ya(b);if(d=pr[d])break;b=(b=Object.getPrototypeOf(b.prototype))&&b.constructor}b=d?typeof d.Nb==="function"?d.Nb():new d:null}this.j=b;this.hg=a!==void 0?a:null;this.Ia=null}u(qr,Y);f=qr.prototype;f.hg=null;f.me=0;f.Wh=39;f.Cf=255;f.Vh=0;f.oi=!0;f.Jd=null;f.Nj=!0;f.um=null;function rr(a,b){a.Ua&&b!=a.Nj&&sr(a,b);a.Nj=b}f.vd=function(){return this.j};function kr(a,b){b&&(a.Jd?rb(a.Jd,b)||a.Jd.push(b):a.Jd=[b],cr(a,b,!0))}
function lr(a,b){b&&a.Jd&&tb(a.Jd,b)&&(a.Jd.length==0&&(a.Jd=null),cr(a,b,!1))}f.Ra=function(){var a=this.j.Mc(this);this.ya=a;er(this.j,a,this.Ze());this.j.Mj(a,!1);this.isVisible()||this.j.Ba(a,!1)};f.Ze=function(){return this.um};f.Rh=ba(2);f.Ph=function(a){this.Ia=a;var b=this.ha();b&&this.j.Ph(b,a)};f.Mb=function(){return this.j.Ic(this.ha())};f.fi=function(a){return this.j.li(a)};f.Pb=function(a){this.ya=a=this.j.Tb(this,a);er(this.j,a,this.Ze());this.j.Mj(a,!1);this.oi=a.style.display!="none"};
f.La=function(){qr.oa.La.call(this);fr(this.j,this,this.ya);this.j.mi(this);if(this.Wh&-2&&(this.Nj&&sr(this,!0),gr(this,32))){var a=this.ha();if(a){var b=this.l||(this.l=new Uq);b.attach(a);Z(this).ka(b,"key",this.Pc).ka(a,"focus",this.Aq).ka(a,"blur",this.ni)}}};
function sr(a,b){var c=Z(a),d=a.ha();b?(c.ka(d,mr.dh,a.yf).ka(d,[mr.eh,mr.ah],a.Ce).ka(d,"mouseover",a.Be).ka(d,"mouseout",a.Uk),a.Ah!=Ei&&c.ka(d,"contextmenu",a.Ah)):(c.Va(d,mr.dh,a.yf).Va(d,[mr.eh,mr.ah],a.Ce).Va(d,"mouseover",a.Be).Va(d,"mouseout",a.Uk),a.Ah!=Ei&&c.Va(d,"contextmenu",a.Ah))}f.mc=function(){qr.oa.mc.call(this);this.l&&Yq(this.l);this.isVisible()&&this.isEnabled()&&this.j.Vg(this,!1)};
f.wa=function(){qr.oa.wa.call(this);this.l&&(this.l.dispose(),delete this.l);delete this.j;this.Jd=this.hg=null};f.Ac=function(){return this.hg};function tr(a,b){a.j.fg(a.ha(),b);a.hg=b}function dr(a,b){a.hg=b}f.vg=function(){var a=this.Ac();if(!a)return"";a=typeof a==="string"?a:Array.isArray(a)?a.map(Kf).join(""):If(a);return $c(a)};f.isVisible=function(){return this.oi};
f.Ba=function(a,b){return b||this.oi!=a&&this.dispatchEvent(a?"show":"hide")?((b=this.ha())&&this.j.Ba(b,a),this.isEnabled()&&this.j.Vg(this,a),this.oi=a,!0):!1};f.isEnabled=function(){return!hr(this,1)};f.tb=function(a){var b=this.getParent();b&&typeof b.isEnabled=="function"&&!b.isEnabled()||!ur(this,1,!a)||(a||(vr(this,!1),this.Sc(!1)),this.isVisible()&&this.j.Vg(this,a),this.Vc(1,!a,!0))};f.Sc=function(a){ur(this,2,a)&&this.Vc(2,a)};f.isActive=function(){return hr(this,4)};
function vr(a,b){ur(a,4,b)&&a.Vc(4,b)}f.Hl=function(a){ur(this,8,a)&&this.Vc(8,a)};f.Sf=function(a){ur(this,16,a)&&this.Vc(16,a)};f.tj=function(a){ur(this,32,a)&&this.Vc(32,a)};f.ld=function(){return hr(this,64)};f.Sb=function(a){ur(this,64,a)&&this.Vc(64,a)};function hr(a,b){return!!(a.me&b)}f.Vc=function(a,b,c){c||a!=1?gr(this,a)&&b!=hr(this,a)&&(this.j.Vc(this,a,b),this.me=b?this.me|a:this.me&~a):this.tb(!b)};function gr(a,b){return!!(a.Wh&b)}
f.Yb=function(a,b){if(this.Ua&&hr(this,a)&&!b)throw Error("Component already rendered");!b&&hr(this,a)&&this.Vc(a,!1);this.Wh=b?this.Wh|a:this.Wh&~a};function wr(a,b){return!!(a.Cf&b)&&gr(a,b)}function ur(a,b,c){return gr(a,b)&&hr(a,b)!=c&&(!(a.Vh&b)||a.dispatchEvent(Kk(b,c)))&&!a.qd}f.Be=function(a){!xr(a,this.ha())&&this.dispatchEvent("enter")&&this.isEnabled()&&wr(this,2)&&this.Sc(!0)};f.Uk=function(a){!xr(a,this.ha())&&this.dispatchEvent("leave")&&(wr(this,4)&&vr(this,!1),wr(this,2)&&this.Sc(!1))};
f.Ah=Ei;function xr(a,b){return!!a.relatedTarget&&Cf(b,a.relatedTarget)}f.yf=function(a){this.isEnabled()&&(wr(this,2)&&this.Sc(!0),Yf(a)&&(wr(this,4)&&vr(this,!0),this.j&&this.j.sm(this)&&this.ha().focus()));Yf(a)&&a.preventDefault()};f.Ce=function(a){this.isEnabled()&&(wr(this,2)&&this.Sc(!0),this.isActive()&&this.nf(a)&&wr(this,4)&&vr(this,!1))};
f.nf=function(a){wr(this,16)&&this.Sf(!hr(this,16));wr(this,8)&&this.Hl(!0);wr(this,64)&&this.Sb(!this.ld());var b=new Uf("action",this);a&&(b.altKey=a.altKey,b.ctrlKey=a.ctrlKey,b.metaKey=a.metaKey,b.shiftKey=a.shiftKey,b.Al=a.Al,b.timeStamp=a.timeStamp);return this.dispatchEvent(b)};f.Aq=function(){wr(this,32)&&this.tj(!0)};f.ni=function(){wr(this,4)&&vr(this,!1);wr(this,32)&&this.tj(!1)};
f.Pc=function(a){return this.isVisible()&&this.isEnabled()&&this.ae(a)?(a.preventDefault(),a.stopPropagation(),!0):!1};f.ae=function(a){return a.keyCode==13&&this.nf(a)};if(typeof qr!=="function")throw Error("Invalid component class "+qr);if(typeof Zq!=="function")throw Error("Invalid renderer class "+Zq);var yr=Ya(qr);pr[yr]=Zq;nr("goog-control",function(){return new qr(null)});function zr(){}u(zr,jr);Ua(zr);f=zr.prototype;f.eg=function(){};f.Mc=function(a){rr(a,!1);a.Cf&=-256;a.Yb(32,!1);return a.g.Pa("BUTTON",{"class":br(this,a).join(" "),disabled:!a.isEnabled(),title:a.af()||"",value:a.Bb()||""},a.vg()||"")};f.li=function(a){return a.tagName=="BUTTON"||a.tagName=="INPUT"&&(a.type=="button"||a.type=="submit"||a.type=="reset")};f.Tb=function(a,b){rr(a,!1);a.Cf&=-256;a.Yb(32,!1);if(b.disabled){var c=this.oh(1);O(b,c)}return zr.oa.Tb.call(this,a,b)};
f.mi=function(a){Z(a).ka(a.ha(),"click",a.nf)};f.Mj=function(){};f.tm=function(){};f.sm=function(a){return a.isEnabled()};f.Vg=function(){};f.Vc=function(a,b,c){zr.oa.Vc.call(this,a,b,c);(a=a.ha())&&b==1&&(a.disabled=c)};f.Bb=function(a){return a.value};f.wc=function(a,b){a&&(a.value=b)};f.he=function(){};function Ar(a,b,c){qr.call(this,a,b||zr.Nb(),c)}u(Ar,qr);f=Ar.prototype;f.Bb=function(){return this.Ca};f.wc=function(a){this.Ca=a;this.vd().wc(this.ha(),a)};f.af=function(){return this.V};f.tf=function(a){this.V=a;this.vd().tf(this.ha(),a)};f.qc=function(a){this.vd().qc(this,a)};f.wa=function(){Ar.oa.wa.call(this);delete this.Ca;delete this.V};f.La=function(){Ar.oa.La.call(this);if(gr(this,32)){var a=this.ha();a&&Z(this).ka(a,"keyup",this.ae)}};
f.ae=function(a){return a.keyCode==13&&a.type=="key"||a.keyCode==32&&a.type=="keyup"?this.nf(a):a.keyCode==32};nr("goog-button",function(){return new Ar(null)});function Br(a,b,c,d){d=d===void 0?!1:d;W.call(this);this.O=a;this.o=b;this.j=this.O.Xa().ti;this.V=!!this.O.Xa().ti;this.na=!!this.O.Xa().Yh;this.l=jn(c);this.N=d;if(this.V){a:{a=this.O.hb();for(b=0;b<this.j.length;b++)if(c=Vl(a,this.j[b].getId())){b:{for(d=b+1;d<this.j.length;d++){var e=Vl(this.O.hb(),this.j[d].getId());if(e){d=e;break b}}d=null}d=d?Sl(d)-1:Sl(hb(Tl(a)));e=Sl(this.O.Fa());if(e>=Sl(c)&&e<=d){a=b;break a}}a=-1}this.ma=a}}n(Br,W);f=Br.prototype;
f.render=function(a,b){b=b===void 0?2:b;this.i=C("div");document.body.appendChild(this.i);U(r(this.Bq,this));this.ua=a;this.V?(this.N&&(this.U=b),Cr(this)):this.na?(O(this.i,"base-image-toc-div"),a=this.O.Xa().Yh,(b=Vl(this.O.hb(),a))&&Dr(this,b),this.O.Xa().Ob>1&&(a=Ul(this.O.hb(),a,1))&&Dr(this,a),this.ri()):this.dispose()};
f.Bq=function(){var a=this;this.g.ka(document,"click",this.dispose);this.g.ka(document,"keydown",function(b){b.keyCode!=13&&b.keyCode!=27||a.dispose()});this.g.ka(this.O,"resize",this.ri)};function Dr(a,b){var c=new Kb(128,0),d=B("IMG",{width:128});O(d,"toc-page-image");a.g.ka(d,"click",function(){a.O.mb(b)});Ld&&yj()&&a.g.ka(d,"load",a.ri);b.wd(c)?a.xp(d,b,c):Km(b,t(a.xp,d,b,c));a.i.appendChild(d)}f.xp=function(a,b,c){gf(a,{src:b.wd(c)})};
function Cr(a){var b=B("DIV",{"class":"toc-div"}),c;v(a.j,function(d,e){d=Er(a,d,e);b.appendChild(d);e==a.ma&&(c=d)});c&&U(function(){var d=c;d.offsetTop+M(d).height>300&&(d=d.previousElementSibling!==void 0?d.previousElementSibling:Af(d.previousSibling,!1))&&(a.i.scrollTop=d.offsetTop);c.focus()});a.i.appendChild(b);M(a.i).height>300&&(J(a.i,"height","300px"),O(a.i,"scroll-toc-div-wide"));O(a.i,"scroll-toc-div");a.ri();a.i.tabIndex=-1;Zj(a.i,"dialog");a.i.focus()}
f.ri=function(){var a=this.l?8:13,b=this.l?9:12,c;this.o instanceof Ar?c=this.o.ha():c=this.o;Ip(c,a,this.i,b,new w(0,-this.ua))};
function Er(a,b,c){var d=b.getId(),e=Vl(a.O.hb(),d);d=b.g;var g=a.j[c+1]?"":"-last",h="toc-middle-cell"+g,k="toc-right-cell"+g;a.N?g=B("A",{"class":e?"toc-row":"toc-disabled-row"}):(g=B("DIV",{"class":e?"toc-row":"toc-disabled-row"}),Zj(g,"button"),Hf(g,!0));var l=C("div");O(l,"goog-inline-block");O(l,"toc-left-cell");c==a.ma&&(O(l,yj()?"SPRITE_toc_selected_item_arrow_right":"SPRITE_toc_selected_item_arrow_left"),O(g,"toc-row-selected"));c=C("div");O(c,"goog-inline-block");O(c,h);Ld&&!ce("1.9")&&
J(c,"overflow","hidden");var m=b.kb(),p=a.l?m:id(m,35);x(c,z(p));a.l&&(c.title=m);m=C("div");O(m,"goog-inline-block");O(m,k);x(m,z(Wb(ld(d))?"&nbsp;":d));g.appendChild(l);g.appendChild(c);g.appendChild(m);e?a.N?(d=new R(window.location.href),S(gi(gi(d,"pg"),"printsec"),"jtp",b.g),a.U&&S(gi(d,"zoom"),"zoom",a.U),a.O.Ya().getQuery()||gi(gi(d,"dq"),"num"),Fc(g,d.toString())):(a.g.ka(g,"click",function(){a.O.mb(e)}),a.g.ka(g,"keydown",function(y){y.keyCode==13&&a.O.mb(e)})):(yh(c,h),O(c,"toc-middle-disabled-cell"),
yh(m,k),O(m,"toc-right-disabled-cell"),X(g,"disabled",!0));return g}f.wa=function(){W.prototype.wa.call(this);E(this.i);this.o.focus()};function Fr(a){Io.call(this,1);var b=new Oo;b.nb(a);this.Qa(b);Li(this)}n(Fr,Io);Fr.prototype.qh=function(){return this.g[0]};Fr.prototype.N=function(){return this.wb()||0};Fr.prototype.Jf=function(){return"fixed_width"};function Gr(a){var b=a.Cb(),c=new Iq(this,b);J(b,{overflow:"hidden"});yq.call(this,a,c);this.o=new bq(a);b=new Dn;En(b,Oo,this.o);this.U=b;b=a.hb().g.aspectRatio();c=this.getSize();b=this.qg(Math.min(Math.floor(c.height*b)*2,c.width));this.Tc(b);this.Ca=new nq(a,this);this.g.ka(this.Eb,"pagemodechange",this.Cq);U(this.jc,0,this)}u(Gr,yq);f=Gr.prototype;f.Zd=function(){var a=wb(Hr,this.Eb.Xa().Zd());return new Gn(nb(a,aq))};f.Ne=function(a){Gr.oa.Ne.call(this,a);this.U.Oa();this.jc()};f.Kc=function(){this.Me(1)};
f.Zc=function(){this.Me(-1)};f.Cq=function(){this.U.Oa();this.jc()};f.om=2;f.qg=function(a){this.getSize();var b=this.Eb.hb().g.aspectRatio();return new Fr(new Kb(a,Math.floor(Math.floor(a/2)/b)))};var Hr=[180,220,280];
Gr.prototype.Od=function(){var a=Ir(this,this.Eb.Fa()),b=this.o.g;if(b){var c=this.Ca,d=b.Ld();c.o=d[0];c.U=d[1];c=a[0];d=a[1];var e=!0;a=!0;b.ua=c;b.Ca=d;$p(b);if(c){if(c.l(64)||d==void 0)a=!1}else b.o.Jl();if(d){if(d.l(32)||c==void 0)e=!1}else b.U.Jl();c=e;d=a?"":"hidden";J(b.l,"visibility",c?"":"hidden");J(b.N,"visibility",d);c=c&&a;b.va.Ba(c);b.Da.Ba(c)}this.dispatchEvent("pagechange")};Gr.prototype.Ld=function(){return this.o.g.Ld()};
function Ir(a,b){return pb(a.Eb.hb().V,function(c){return rb(c,b)})}Gr.prototype.jc=function(){Gr.oa.jc.call(this);this.Od()};Gr.prototype.ua=function(a,b){var c=this.Eb.hb().V;a=Sl(a);for(var d,e,g=0;g<c.length;++g){var h=c[g];if(h[0]&&a==Sl(h[0])||h[1]&&a==Sl(h[1])){d=g;break}else if(e){var k=h[0]||h[1];if(a>=Sl(e[0]||e[1])&&a<Sl(k)){d=b>0?g-b:g;break}}e=h}return(b=c[typeof d==="number"?d+b:0])?b[0]||b[1]:null};function Jr(a){this.xc=a.title||"";this.U=!!a.fullview;this.Yh=a.table_of_contents_page_id||"";this.Ob=a.num_toc_pages||"";this.V=a.initial_zoom_width_override;this.Ka=a.max_resolution_image_width;this.yc=!!a.paired_thumbnails;this.md=a.thumbnail_token||"";this.Ma=a.containing_bookshelves||[];this.Ca=a.volume_id||"";this.kc=a.other_issues_query||"";this.Za=!!a.is_browsable;this.Lb=!!a.is_public_domain;a.last_page&&(this.na=new mn(a.last_page));this.g=new Kb(a.page_width,a.page_height);this.ma=a.is_ebook||
!1;var b=a.additional_info,c={};b&&(c=b["[JsonBookInfo]"]);c.BuyLinks&&(this.N=nb(c.BuyLinks,function(d){return new rq(d)},this));this.Ha=c.AboutUrl;c.allowed_syndication_flags&&(this.o=c.allowed_syndication_flags.allow_disabling_chrome);c.TocLine&&(this.ti=nb(c.TocLine,function(d){return new Sq(d)}));c.SubscribeLink&&(this.ua=new rq(c.SubscribeLink));c=null;b&&(c=b["[NewspaperJSONVolumeInfo]"]);this.j=c;this.l=c==null?null:new yn(c.tile_h,c.tile_w,c.x_win,c.y_win);this.Nc=a.sample_url||"";this.Kb=
a.is_newspaper||!1;(this.va=a.newspaper_tile_base_url)&&this.l&&zn(this.l,r(this.qv,this));this.wf=c?c.res_h:Kr;this.Da=this.Kb?"fixed_height":"fixed_width";this.Of=a.is_pre_order||!1;this.Yo=a.on_sale_date||"";this.Ui=a.volumeresult&&a.volumeresult.has_flowing_text;this.Vi=a.volumeresult&&a.volumeresult.has_scanned_text;this.Ia=a.volumeresult&&a.volumeresult.can_download_pdf;this.Ja=a.volumeresult&&a.volumeresult.can_download_epub;this.Wa=a.volumeresult?a.volumeresult.download_pdf_url:"";this.Fb=
a.volumeresult?a.volumeresult.download_epub_url:""}n(Jr,An);f=Jr.prototype;f.xh=ba(11);f.Oi=function(){typeof this.i!=="number"&&(this.i=this.j.read_zm,this.i=typeof this.i==="number"?this.j.read_zm:4,this.i=Gb(this.i,-1,this.Zd().length-1));return this.i};function Lq(a){return a.V?a.V:a.g&&a.g.width?a.g.width:575}f.Xb=function(){return this.Ca};f.Qi=function(){return this.l};f.Zd=function(){return this.wf};f.Jf=function(){return this.Da};
f.qv=function(a){a=a.toString();var b=a.indexOf("?");b>=0&&(a=this.va+a.substring(b));return new R(a)};f.th=function(){return this.j?this.j.focus_aid:null};f.xg=function(){var a=this.j.focus_x,b=this.j.focus_y;return a!==void 0&&b!==void 0?new w(a,b):null};var Kr=[350,410,495,575,685,800,910,1025];function Lr(a){W.call(this);this.o=a;this.i=null}n(Lr,W);f=Lr.prototype;
f.render=function(a,b){this.j=a;a=a.ha();var c=Zg(a).y,d=M(a);c=c+d.height+3;d="";b&&(d=Zg(a).x);this.i=B("DIV",{"class":"linkbar-panel-div"});Tg(this.i,d,c);this.ma=B("DIV",{"class":"SPRITE_close_v2 linkbar-panel-close"});this.i.appendChild(this.ma);Ld&&Od&&!ce("1.9")&&(this.U=B("IFRAME",{style:"position: absolute;",xw:"0"}),this.o.appendChild(this.U));this.o.appendChild(this.i);this.U&&(K(this.U,M(this.i)),Tg(this.U,Vg(this.i)));U(r(this.Il,this))};
f.Il=function(){this.g.ka(this.ma,"click",this.dispose);this.g.ka(this.j,"action",this.Dq);this.g.ka(document,"mousedown",this.Ds)};f.Dq=function(){hr(this.j,16)||this.dispose()};f.Ds=function(a){Cf(this.i,a.target)||Cf(this.j.ha(),a.target)||this.dispose()};f.wa=function(){W.prototype.wa.call(this);E(this.i);E(this.U)};f.ha=function(){return this.i};function Mr(a,b,c){Lr.call(this,a);this.O=b;this.V=c}n(Mr,Lr);
Mr.prototype.render=function(a,b){Lr.prototype.render.call(this,a,b);a=B("DIV",{style:"padding-top:5px; font-size: 13px;"});x(a,z("Paste link in <b>email</b> or <b>IM</b>"));this.ha().appendChild(a);this.l=C("input");K(this.l,"100%","auto");this.ha().appendChild(this.l);this.V&&(a=B("DIV",{style:"font-size: 13px; padding-top: 7px;"},"Embed"),this.ha().appendChild(a),this.N=C("input"),K(this.N,"100%","auto"),this.ha().appendChild(this.N));a=this.O.Fa();b=(new R(window.location)).i;var c=new R(a.Cc());
Xh(c,b);this.l.value=c.toString();U(t(Nr,this.l));this.V&&(a=new R(a.Cc()),S(a,"output","embed"),this.N.value=Or(a.toString()))};Mr.prototype.Il=function(){Lr.prototype.Il.call(this);this.g.ka(this.l,"click",t(Nr,this.l));this.V&&this.g.ka(this.N,"click",t(Nr,this.N))};function Nr(a){a.select()}function Or(a){return Xc('<iframe frameborder="0" scrolling="no" style="border:0px" src="%s" width=500 height=500></iframe>',a)};function Pr(a,b){var c=this;this.O=a;this.j=b;this.g=Ch();this.i=A("flow-top-div")?!0:!1;(new ug(this)).ka(this.g,"resize",function(){var d=c.O.Ga(),e=d.Hb(),g=d.Jc();c.resize();c.O.Ga().xe();d=c.O.Ga();e=Vj(new Uj(e,d.Hb()),g);d.Ed(d.Ge(e))}).ka(this.O,"searchupdate",function(){var d=A("gb-ogen-mobile-appbar");if(d){var e=c.g.getSize().height;d=d.getBoundingClientRect().height;e-=d;d=c.g.getSize().width;c.O.nb(new Kb(d,e));c.i&&K(c.j,new Kb(d,e))}}).ka(window,"load",this.resize)}
Pr.prototype.resize=function(){var a=this.g.getSize().height,b=this.g.getSize().width,c=Math.round(Zg(this.j).y);a=Math.max(0,a-c);this.O.nb(new Kb(b,a));this.i&&K(this.j,new Kb(b,a))};function Qr(){Rr(this)}function Sr(a){rg(a.g);a.g=jg(document.body,"mousedown",function(){yh(document.body,"focus-outline-enabled");Rr(a)},{capture:!0})}function Rr(a){rg(a.g);a.g=I(document.body,"keydown",function(b){b.keyCode===9&&(O(document.body,"focus-outline-enabled"),Sr(a))})};function Tr(a,b,c,d){d=d===void 0?!1:d;Mp.call(this);var e=this;this.xc=a;this.i=b;this.g=c?c:null;this.Yf(Ur(this));if(d){var g=A("ep-lb");I(this,"hide",function(){J(g,"visibility","hidden")});I(this,"beforeshow",function(){J(g,"visibility","visible");P(e.ha(),"lightbox-dialog",!0)})}}n(Tr,Mp);
function Ur(a){var b=B("DIV");xh(b,["popup-menu","goog-menu","goog-menu-vertical"]);Zj(b,"dialog");b.setAttribute("tabindex","-1");document.body.appendChild(b);if(a.xc!=""){var c=B("DIV",{"class":"popup-menu-header"});b.appendChild(c);var d=B("SPAN",{"class":"popup-menu-title"});G(d,a.xc);c.appendChild(d);d=B("DIV",{"class":"popup-menu-close"});dk(d,"Close popup");var e=B("IMG");e.src="/googlebooks/images/material/close_black_24dp.png";K(e,24,24);X(e,"hidden",!0);d.appendChild(e);I(d,"click",function(){a.Ba(!1);
a.g&&a.g()});I(d,"keydown",function(g){if(g.keyCode==32||g.keyCode==13)a.Ba(!1),a.g&&a.g()});Zj(d,"button");Hf(d,!0);c.appendChild(d)}b.appendChild(a.i);return b};function Vr(a,b,c){this.g=a;this.i=b;this.U=c}u(Vr,Hp);Vr.prototype.Lc=function(a,b,c){Ip(this.g,this.i,a,b,void 0,c,this.U)};function Wr(a,b,c,d){Vr.call(this,a,b);this.j=c?5:0;this.o=d||void 0}u(Wr,Vr);Wr.prototype.N=function(){return this.j};Wr.prototype.l=function(a){this.j=a};Wr.prototype.Lc=function(a,b,c,d){var e=Ip(this.g,this.i,a,b,null,c,10,d,this.o);if(e&496){var g=Xr(e,this.i);b=Xr(e,b);e=Ip(this.g,g,a,b,null,c,10,d,this.o);e&496&&(g=Xr(e,g),b=Xr(e,b),Ip(this.g,g,a,b,null,c,this.j,d,this.o))}};function Xr(a,b){a&48&&(b^=4);a&192&&(b^=1);return b};function Yr(a,b,c,d,e){this.g=a;this.O=b;this.N=c;this.ma=A("epo-welcome");this.U=A("epo-keyboard");this.j=A("epo-plain-text");this.l=A("epo-plain-text-only");this.o=A("entity-page-toggle-viewport-mode-link");this.V=A("epo-share-link");this.i=e;Zr(this,d);$r(this,!1)}
function Zr(a,b){if(a.N)a.l&&as(a,b);else{var c=new Tr("",a.ma,function(){});xh(c.ha(),["onboarding-popup","onboarding-fixed-popup","onboarding-welcome-popup"]);Wk(c,!1);var d=A("epo-keyboard-text");x(d,z(If(d)));var e=new Tr("",a.U,function(){});xh(e.ha(),["onboarding-popup","onboarding-fixed-popup"]);Wk(e,!1);d=af("A",d)[0];d.id="ep-keyboard-link";O(d,"onboarding-link");Hf(d,!0);bs(d,function(){a.O.rb("showkeyboardshortcuts")});if(a.j){var g=new Tr("",a.j,function(){});xh(g.ha(),["onboarding-popup",
"onboarding-plain-text-popup"])}d=new Tr("",a.V,function(){});xh(d.ha(),["onboarding-popup","onboarding-share-popup"]);var h=A("entity-page-clip");Np(d,5);d.setPosition(new Wr(h,4,!0));Wk(d,!1);cs(a,c,e,g,d);ds(a,c,e,g,d);if(a.i)switch(a.i){case 0:c.Ba(!0);break;case 1:e.Ba(!0);break;case 2:g?es(a,g,b):d.Ba(!0);break;default:d.Ba(!0)}else c.Ba(!0)}}
function cs(a,b,c,d,e){var g=A("epo-welcome-next");bs(g,function(){a.i++;b.Ba(!1);c.Ba(!0);$r(a,!1)});g=A("epo-keyboard-next");bs(g,function(){a.i++;c.Ba(!1);d?es(a,d):e.Ba(!0);$r(a,!1)});a.j&&d&&(g=A("epo-plain-text-next"),bs(g,function(){a.i++;a.g.Ba(!1);Wk(a.g,!0);d.Ba(!1);e.Ba(!0);$r(a,!1)}))}
function ds(a,b,c,d,e){document.querySelectorAll(".onboarding-link").forEach(function(h){h.id!="ep-keyboard-link"&&bs(h,function(){b.Ba(!1);c.Ba(!1);d&&(d.Ba(!1),a.g.Ba(!1),Wk(a.g,!0));e.Ba(!1);fs(a)})});var g=A("epo-done");bs(g,function(){e.Ba(!1);fs(a)})}function as(a,b){var c=new Tr("",a.l,function(){});xh(c.ha(),["onboarding-popup","onboarding-plain-text-popup"]);es(a,c,b);b=A("epo-done-only");bs(b,function(){c.Ba(!1);a.g.Ba(!1);Wk(a.g,!0);fs(a)})}
function es(a,b,c){c!==void 0&&c||(Wk(a.g,!1),a.g.Ba(!0));a=A("entity-page-more-menu-content");Np(b,0);b.setPosition(new Wr(a,4,!0));Wk(b,!1);b.Ba(!0)}function fs(a){$r(a,!0);a.j?tm(!0):tm(!1)}function $r(a,b){if(a.o){var c=new R(a.o.href);b?(gi(c,"ovso"),gi(c,"ovsopt"),gi(c,"op")):a.N&&a.l?S(c,"ovsopt","1"):(S(c,"ovso","1"),S(c,"op",a.i));Fc(a.o,c.toString())}}function bs(a,b){I(a,"click",function(){b()});I(a,"keydown",function(c){c.keyCode!=32&&c.keyCode!=13||b()})};function gs(a,b){W.call(this);this.Ea=a;this.j=b;this.i=C("div");a.N.i.appendChild(this.i);O(this.i,"sitb_result");Hf(this.i,!0);Zj(this.i,"link");X(this.i,"disabled",!0);Nd?(J(this.i,"width",b.getSize().width+"px"),J(this.i,"min-height",b.getSize().height+"px")):(Tg(this.i,b.jd()),K(this.i,b.getSize()));a=C("div");O(a,"sitb-result-header");this.i.appendChild(a);this.l=C("div");O(this.l,"sitb-result-page-link");b=(b=b.g.i)?"Page "+b:"Page";G(this.l,b);dk(this.l,"Search result: "+b);a.appendChild(this.l);
this.o=C("div");O(this.o,"sitb-result-content");this.i.appendChild(this.o);if(a=Vl(this.Ea.O.hb(),this.j.g.Na())){b=this.Ea.O.Ya().getQuery();var c=a.ob.snippetSrc;c&&b==ym(c)?hs(this,c):(b=a.Xe(),T(b,"source")=="entity_page"?S(b,"source","entity_page_gbs_snippet"):S(b,"source","gbs_snippet"),on(a,b,r(this.U,this)))}else is(this)}n(gs,Qj);gs.prototype.N=function(a){this.Ea.va(a.g,void 0)};gs.prototype.U=function(a){(a=a.ob.snippetSrc)?hs(this,a):is(this)};
function hs(a,b){tf(a.o);var c=C("IMG");c.src=b;js(a);b=a.j.getSize().width-25;J(c,{width:b+"px"});a.o.appendChild(c)}function js(a){O(a.i,"sitb-result-clickable");O(a.l,"sitb-result-link");var b=If(a.l);x(a.l,z(b+"&nbsp;&raquo;"));X(a.i,"disabled",!1);a.g.ka(a.i,"click",r(a.N,a,a.j));a.g.ka(a.i,"keydown",function(c){c.keyCode!=32&&c.keyCode!=13||a.N(a.j)})}
function is(a){tf(a.o);var b=C("div");O(b,"sitb-result-snippet");a.o.appendChild(b);Nd||J(b,{width:Math.floor(a.j.getSize().width*.75)+"px"});x(b,Je(a.j.g.g));b=C("div");O(b,"sitb-result-explanatory-link");a.o.appendChild(b);var c=Vl(a.Ea.O.hb(),a.j.g.Na());c&&c.wd()&&!tn(c,[4,8,16])&&c.l(2)?(js(a),x(b,z((Nd?"No image for result.":"We couldn't make an image for this result.")+"&nbsp;&nbsp;")),a=C("span"),c=Nd||jn()?"Click to view":"Click to view the whole page.",x(a,z(c)),b.appendChild(a),O(a,"sitb-result-link")):
(x(b,z("No preview available for this page.&nbsp;&nbsp;")),Nd||(a=C("a"),O(a,"sitb-result-buy-link"),x(a,z("Buy this book.")),b.appendChild(a),b=new R(window.location.href),S(b,"sitesec","buy"),S(b,"source","gbs_snippet"),gi(b,"printsec"),a.href=b.toString()))}gs.prototype.Oa=function(){E(this.i);this.dispose()};function ks(a){this.Ea=a}n(ks,en);ks.prototype.render=function(a){return new gs(this.Ea,a)};function ls(a){this.g=a}n(ls,Bi);function ms(a,b){Io.call(this,1);this.o=a;this.V=b;this.Cj=this.di=this.ei=20;a.Ab&&(a.Ab.forEach(r(this.l,this)),Li(this))}n(ms,Io);ms.prototype.l=function(a){a=new ls(a);var b=Math.min(this.V-16,600);a.nb(new Kb(b,Math.round(124/600*b+42)));this.Qa(a)};function ns(a){var b=a.Cb();J(b,"overflow","hidden");var c=new Iq(this,b);np.call(this,c);this.O=a;Nd||qp(this,new Cq(this));this.g.ka(this,"move",this.jc);var d=A("subscription-bar");d&&(this.Jk(d),U(function(){N(d,!1)},600));pp(this,os(this));J(b,"overflow","auto");J(b,{overflowX:"auto",overflowY:"scroll"});gf(b,{dir:"ltr"})}u(ns,np);function ps(a,b){b!=a.o&&(a.o=b,qs(a))}function os(a){var b=new Dn;En(b,ls,new ks(a));return b}ns.prototype.resize=function(){qs(this)};
function qs(a){var b=new ms(a.o,a.getSize().width);a.Tc(b);a.jc()}function rs(a,b){a.va=b};function ss(a){this.g=a||{}}ss.prototype.Gc=function(){return this.g};ss.prototype.Zb=function(a){var b=Ob(ts,function(c){return c==a});this.g.v=b};ss.prototype.getQuery=function(){return this.g.q};var ts={onepage:Jq,twopage:Gr,thumbnail:Pq,snippet:ns};function us(a){Uf.call(this,"navigate");this.o=a}u(us,Uf);var vs={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};var ws=/^[a-zA-Z0-9-]+$/,xs={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0};var ys=new WeakMap;function zs(a,b){a=[a];for(var c=b.length-1;c>=0;--c)a.push(typeof b[c],b[c]);return a.join("\v")};function As(a,b,c,d){Q.call(this);if(a&&!b)throw Error("Can't use invisible history without providing a blank page.");if(c)var e=c;else{e="history_state"+Bs;var g=ne("input",{type:"text",name:e,id:e,style:"display:none"});document.write(Jc(g));e=A(e)}this.N=e;this.i=c?mf(Ze(c)):window;this.U=b;this.Ta=new vj(150);Sf(this,this.Ta);this.g=!a;this.o=new ug(this);if(a){if(d)var h=d;else{a="history_iframe"+Bs;b=this.U;c={id:a,style:"display:none",sandbox:void 0};b&&rc(b);d={};d.src=b||null;d.srcdoc=null;
e={sandbox:""};b={};for(var k in d)Object.prototype.hasOwnProperty.call(d,k)&&(b[k]=d[k]);for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&(b[l]=e[l]);if(c)for(var m in c)if(Object.prototype.hasOwnProperty.call(c,m)){k=m.toLowerCase();if(k in d)throw Error("");k in e&&delete b[k];b[m]=c[m]}m=void 0;k="";if(b)for(h in b)if(Object.prototype.hasOwnProperty.call(b,h)){if(!ws.test(h))throw Error("");l=b[h];if(l!=null){c=h;if(c.toLowerCase()=="style")l=String(l);else{if(/^on/i.test(c))throw Error("");
if(c.toLowerCase()in xs)if(l instanceof pc)l=rc(l).toString();else if(l instanceof sc)l=vc(l);else if(typeof l==="string")l=zc(l).toString();else throw Error("");}l=c+'="'+Yb(String(l))+'"';k+=" "+l}}h="<iframe"+k;m==null?m=[]:Array.isArray(m)||(m=[m]);vs.iframe===!0?h+=">":(m=he(m),h+=">"+Jc(m)+"</iframe>");h=Hc(h);document.write(Jc(h));h=A(a)}this.V=h;this.ma=!0}this.g?Cs(this,Ds(this),!0):Es(this,this.N.value);Bs++}u(As,Q);As.prototype.Qb=!1;As.prototype.l=!1;As.prototype.j=null;
var Fs=function(a,b){function c(g){var h=pa(g);g=h.next().value;h=qa(h);return a.apply(g,h)}function d(g){g=pa(g);g.next();g=qa(g);return b(e,g)}b=b===void 0?zs:b;var e=Ya(a);return function(){var g=Ka.apply(0,arguments),h=this||q,k=ys.get(h);k||(k={},ys.set(h,k));return Hd(k,[this].concat(ra(g)),c,d)}}(function(){return"onhashchange"in q});f=As.prototype;f.Eg=null;f.wa=function(){As.oa.wa.call(this);this.o.dispose();this.tb(!1)};
f.tb=function(a){a!=this.Qb&&(a?(Ld&&this.o.ka(this.i,"pageshow",this.Uu),Fs()&&this.g?(this.o.ka(this.i,"hashchange",this.Pu),this.Qb=!0,this.dispatchEvent(new us(Ds(this),!1))):(this.o.ka(this.Ta,"tick",r(this.vm,this,!0)),this.Qb=!0,this.j=Ds(this),this.dispatchEvent(new us(Ds(this),!1)),this.Ta.start())):(this.Qb=!1,zg(this.o),this.Ta.stop()))};f.Uu=function(a){a.Rb.persisted&&(this.tb(!1),this.tb(!0))};f.Pu=function(){var a=Gs(this.i);a!=this.j&&Hs(this,a,!0)};
function Ds(a){return a.Eg!=null?a.Eg:a.g?Gs(a.i):Is(a)||""}function Js(a,b){Ds(a)!=b&&(a.g?(Cs(a,b,!1),a.Qb&&a.vm(!1)):(Es(a,b,!1),a.Eg=a.j=a.N.value=b,a.dispatchEvent(new us(b,!1))))}function Gs(a){a=a.location.href;var b=a.indexOf("#");return b<0?"":a.substring(b+1)}function Cs(a,b,c){a=a.i.location;var d=a.href.split("#")[0];if(fc(a.href,"#")||b)d+="#"+b;d!=a.href&&(b=new sc(d),c?Vc(a,b):Uc(a,b))}
function Es(a,b,c){if(a.ma||b!=Is(a))a.ma=!1,b=bd(b),b=rc(a.U).toString()+"#"+b,(a=a.V.contentWindow)&&(c?Vc(a.location,b):Uc(a.location,b))}function Is(a){var b=a.V.contentWindow;if(b){try{var c=cd(Gs(b))}catch(d){return a.l||(a.l!=1&&wj(a.Ta,1E4),a.l=!0),null}a.l&&(a.l!=0&&wj(a.Ta,150),a.l=!1);return c||null}return null}f.vm=function(a){if(this.g){var b=Gs(this.i);b!=this.j&&Hs(this,b,a)}this.g||(b=Is(this)||"",this.Eg!=null&&b!=this.Eg)||(this.Eg=null,b!=this.j&&Hs(this,b,a))};
function Hs(a,b,c){a.j=a.N.value=b;a.g?Cs(a,b):Es(a,b);a.dispatchEvent(new us(Ds(a),c))}var Bs=0;function Ks(a,b){this.g=new As;I(this.g,"navigate",r(this.o,this));this.O=a;this.i=b}Ks.prototype.o=function(a){Ls(this,a.o)};function Ls(a,b){if(!(a.l&&b==""||a.j))if((Jd||Md)&&b=="")window.history.go(-2);else if(b){var c={},d=new Zh(b);v(d.Wd(),function(e){var g=d.get(e);g in Ms&&(g=Ms[g]);c[e]=g});b=new ss(c);a.O.Zb(ts[b.g.v]||Jq);kq(a.i,!!b.g.f);b.getQuery()!==void 0&&xm(a.O.Ya(),b.getQuery())}}
Ks.prototype.tb=function(a){this.l=!0;this.g.tb(a);Jd&&(a=(new R(window.location)).i,Ls(this,a));this.l=!1};Ks.prototype.update=function(){var a=new ss;a.Zb(this.O.U);a.g.q=this.O.Ya().getQuery();a.g.f=this.i.hf();a=ji(a.Gc()).toString();this.j=!0;Js(this.g,a);this.j=!1};var Ms={"true":!0,"false":!1};function Ns(a,b,c,d,e,g,h){var k=this;a&&(this.O=a,this.Fb=b);if(this.Da=c)this.md=!1;this.Nc=!!d;this.yc=!!e;this.Ma=g;this.Lb=h===void 0?!1:h;this.U=A("entity-page-toc");this.Ka=A("entity-page-toc-label");this.Ob=!1;if(this.ma=A("entity-page-pagination"))this.Ca=A("entity-page-prev"),this.va=A("entity-page-next"),this.Wa=A("entity-page-floating-hover");this.Ha=A("entity-page-zoom-in");this.Ja=A("entity-page-zoom-out");this.na=A("entity-page-one-page");this.N=A("entity-page-two-page");this.o=A("entity-page-thumbnail");
this.V=A("entity-page-link");this.Gd=A("entity-page-link-menu-content");this.Kb=A("entity-page-share-input");this.nd=A("entity-page-embed-input");this.j=A("entity-page-clip");this.ua=A("entity-page-more");this.Hd=A("entity-page-more-menu-content");this.Za=!1;this.Ia=A("entity-page-volume-info");A("flow-top-div")&&(this.g=A("flow-top-div"),this.i=(a=Number(T(new R(window.location.href),"zoom")))?a:2,Os(this,this.i),I(this.O,"searchupdate",function(){Ps(k)}));this.l=!0;Qs(this);Rs(this);Ss(this);Ts(this);
Us(this);Vs(this);Ws(this);Xs(this);Ys(this);Zs(this);new Qr;nm($s(this))}
function Qs(a){if(a.O){var b=a.O.Xa(),c=!!b.ti;b=(b=b.Yh)&&a.O.hb()&&!!Vl(a.O.hb(),b);c||b?(a.Ob=!0,a.g?(c=A("jtp").value||"Contents",G(a.Ka,c)):G(a.Ka,a.O.Fa().ze()||"Contents"),at(a.U,function(){var d=ef("base-image-toc-div");ef("scroll-toc-div")||d||(new Br(a.O,a.U,a.Ma,!!a.g)).render(8,a.i)}),I(a.O,"pagechange",function(){var d=a.O.Fa().ze()||"Contents";a.Ka&&x(a.Ka,z(d))})):(G(a.Ka,"Contents unavailable"),xh(a.U,["toolbar-button-disabled","toc-button-unavailable"]),X(a.U,"disabled",!0))}else G(a.Ka,
"Contents unavailable"),xh(a.U,["toolbar-button-disabled","toc-button-unavailable"]),X(a.U,"disabled",!0)}function Rs(a){a.ma&&(a.O&&(at(a.Ca,function(){a.Ca.hasAttribute("href")||a.O.rb("previous")}),at(a.va,function(){a.va.hasAttribute("href")||a.O.rb("next")})),a.Ca.setAttribute("title","Previous Page"),a.va.setAttribute("title","Next Page"))}
function Ss(a){at(a.Ha,function(){a.g?bt(a):a.O&&a.O.rb("zoomin")});at(a.Ja,function(){a.g?ct(a):a.O&&a.O.rb("zoomout")});a.g&&I(document.body,"keydown",function(b){b.keyCode==107||b.keyCode==187||b.keyCode==61?bt(a):(b.keyCode==109||b.keyCode==189||b.keyCode==173)&&ct(a)});a.Ha.setAttribute("title","Zoom in");a.Ja.setAttribute("title","Zoom out")}
function Ts(a){at(a.na,function(){dt(a,Jq)});a.na.setAttribute("title","Single page view");a.Nc?(at(a.N,function(){dt(a,Gr)}),a.N.setAttribute("title","Two page view")):(P(a.N,"toolbar-button-disabled",!0),a.N.setAttribute("title","Two page view unavailable"),X(a.N,"disabled",!0));a.yc?(at(a.o,function(){dt(a,Pq)}),a.o.setAttribute("title","Thumbnail view")):(P(a.o,"toolbar-button-disabled",!0),a.o.setAttribute("title","Thumbnail view unavailable"),X(a.o,"disabled",!0));a.O&&(I(a.O,"viewportmodechange",
function(){et(a)}),et(a))}
function Us(a){var b=(new Fp(a.Kb)).ha();A("entity-page-share-copy-container").appendChild(b);b=(new Fp(a.nd)).ha();A("entity-page-embed-copy-container").appendChild(b);var c=new Tr("Link to this result",a.Gd,function(){a.V.focus()});Np(c,5);c.setPosition(new Wr(a.V,4,!0));c.Ba(!1);var d=new R(a.Kb.value);at(a.V,function(){if(c.Pe||Date.now()-c.dj<150)c.Ba(!1);else{c.Ba(!0);c.ha().focus();if(a.O){ft(a,d);a.g&&S(d,"bksoutput","text");var e=a.O.Ya().getQuery();e?a.O.U==ns?(gi(d,"dq"),gi(d,"pg"),S(d,
"bsq",e)):(gi(d,"bsq"),S(d,"dq",e)):(gi(d,"bsq"),gi(d,"dq"))}else(e=Jc(Je((new R(window.location.href)).i)).toString())&&S(d,"bsq",e);a.Kb.value=d.toString();a.O&&(e=new R(a.O.Fa().Cc()),gi(e,"source"),S(e,"output","embed"),a.nd.value=Or(e.toString()))}});a.V.setAttribute("title","Link to this result")}
function Vs(a){if(a.Da){var b=A("entity-page-selection-bar"),c=A("entity-page-exit-selection"),d=A("entity-page-toolbar");at(a.j,function(){a.md=!a.md;a.Da(!0);P(b,"menu-hidden",!1);c.focus();X(d,"hidden",!0)});at(c,function(){a.Da(!1);P(b,"menu-hidden",!0);a.j.focus();X(d,"hidden",!1)});a.j.setAttribute("title","Select a clip")}else P(a.j,"toolbar-button-disabled",!0),X(a.j,"disabled",!0),a.j.setAttribute("title","Select a clip unavailable")}
function Ws(a){gt(a);ht(a);it(a);var b=new Tr("",a.Hd,function(){a.ua.focus()});Np(b,4);b.setPosition(new Wr(a.ua,5,!0));O(b.ha(),"more-actions-popup");b.Ba(!1);jt(a,b);var c=A("entity-page-toggle-viewport-mode-link");c&&a.Lb&&(b.Ba(!0),c.focus());at(a.ua,function(){if(b.Pe||Date.now()-b.dj<150)b.Ba(!1),a.ua.focus();else if(b.Ba(!0),b.ha().focus(),c){var e=new R(c.href);ft(a,e);a.g&&(gi(e,"zoom"),gi(e,"num"),gi(e,"scoring"));gi(e,"q");var g=a.O.Ya().getQuery();if(g){if(S(e,"dq",g),!a.g){g=A("search-results-summ");
var h=g.hasAttribute("data-result-num")?g.getAttribute("data-result-num"):0;S(e,"num",h);g=g.hasAttribute("data-search-sort")?g.getAttribute("data-search-sort"):"n";S(e,"scoring",g)}}else gi(e,"dq");Fc(c,e.toString())}});a.ua.setAttribute("title","More actions menu");I(b,"show",function(){a.Za=!0;a.l=!0;kt(a)});I(b,"hide",function(){a.Za=!1;a.l=!1;lt(a)});if(a.Ma.showViewportOnboarding||a.Ma.showViewportPlainTextOnboarding){var d=Number(T(new R(window.location.href),"op"));new Yr(b,a.O,!!a.Ma.showViewportPlainTextOnboarding,
a.Lb,d?d:0)}}function jt(a,b){var c=A("entity-page-store"),d=A("gb-mobile-buy-section");if(c&&d&&(d=ff("TABLE","gb-mobile-buy-table",d))){var e=new Tr("",d,function(){a.ua.focus()});Np(e,0);e.setPosition(new Wr(c,4,!0));O(e.ha(),"buy-table-popup");e.Ba(!1);at(c,function(){e.Ba(!0);e.ha().focus()},!0);b.ha().querySelectorAll(".more-actions-menu-link").forEach(function(g){g!=c&&I(g,"mouseenter",function(){e.Ba(!1)})});I(e.ha(),"mouseleave",function(){e.Ba(!1)})}}
function Xs(a){var b=A("ep-keyboard-shortcuts");if(b&&a.O){var c=new Tr("",b,function(){},!0);O(c.ha(),"keyboard-shortcuts-popup");b=A("ep-keyboard-close");at(b,function(){c.Ba(!1)});I(a.O,"keyboardshortcutsopened",function(){c.Ba(!0)})}}function it(a){var b=A("entity-page-keyboard");b&&a.O&&at(b,function(){a.O.rb("showkeyboardshortcuts")})}
function ht(a){var b=A("entity-page-copyright-page-id");if(b&&a.O){var c=A("entity-page-copyright");b=If(b);var d=Vl(a.O.hb(),b);at(c,function(){a.O.mb(d)})}}function gt(a){var b=A("entity-page-toggle-viewport-mode-link");if(b){var c=a.g?!0:!1;P(b,"checked",c);X(b,"pressed",c);at(b,function(){P(b,"checked",!c);X(b,"pressed",!c)})}}
function et(a){a.O.U==Jq?(mt(a,!0),nt(a,!0),ot(a,!0),pt(a,!0),qt(a,!0),X(a.na,"current","true"),X(a.N,"current","false"),X(a.o,"current","false")):a.O.U==Gr?(mt(a,!0),nt(a,!0),ot(a,!0),pt(a,!0),qt(a,!0),X(a.na,"current","false"),X(a.N,"current","true"),X(a.o,"current","false")):a.O.U==Pq?(mt(a,!0),nt(a,!1),ot(a,!0),pt(a,!0),qt(a,!1),X(a.na,"current","false"),X(a.N,"current","false"),X(a.o,"current","true")):(mt(a,!1),nt(a,!1),ot(a,!1),pt(a,!1),qt(a,!1));var b=a.O.U;a.ma&&b!=ns&&!a.g&&(P(a.ma,"one-page-view",
b==Jq),P(a.Ia,"one-page-view",b==Jq),P(a.ma,"two-page-view",b==Gr),P(a.Ia,"two-page-view",b==Gr),P(a.ma,"thumbnail-view",b==Pq),P(a.Ia,"thumbnail-view",b==Pq))}function dt(a,b){a.O&&a.O.U!=b&&(a.O.Zb(b),!a.O.Ya().getQuery()&&a.Fb&&a.Fb.update())}function mt(a,b){P(a.na,"toolbar-button-disabled",!b);X(a.na,"disabled",!b);a.Nc&&(P(a.N,"toolbar-button-disabled",!b),X(a.N,"disabled",!b));a.yc&&(P(a.o,"toolbar-button-disabled",!b),X(a.o,"disabled",!b))}
function nt(a,b){P(a.Ja,"toolbar-button-disabled",!b);X(a.Ja,"disabled",!b);P(a.Ha,"toolbar-button-disabled",!b);X(a.Ha,"disabled",!b)}function ot(a,b){P(a.Ca,"toolbar-button-disabled",!b);X(a.Ca,"disabled",!b);P(a.va,"toolbar-button-disabled",!b);X(a.va,"disabled",!b)}function pt(a,b){a.Ob&&(P(a.U,"toolbar-button-disabled",!b),X(a.U,"disabled",!b))}function qt(a,b){a.Da&&(P(a.j,"toolbar-button-disabled",!b),X(a.j,"disabled",!b))}function ft(a,b){a=new R(a.O.Fa().Cc());S(b,"pg",T(a,"pg"))}
function bt(a){a.i<5&&(a.i+=1,Os(a,a.i))}function ct(a){a.i>1&&(--a.i,Os(a,a.i))}function Os(a,b){P(a.g,"zoomstop1",b==1);P(a.g,"zoomstop2",b==2);P(a.g,"zoomstop3",b==3);P(a.g,"zoomstop4",b==4);P(a.g,"zoomstop5",b==5);P(a.Ja,"toolbar-button-disabled",b==1);P(a.Ha,"toolbar-button-disabled",b==5);Ps(a)}
function Ps(a){var b=a.Ca,c=new R(b.href);rt(a,c);Fc(b,c.toString());b=a.va;c=new R(b.href);rt(a,c);Fc(b,c.toString());b=A("text-viewport-prev");c=new R(b.href);rt(a,c);Fc(b,c.toString());b=A("text-viewport-next");c=new R(b.href);rt(a,c);Fc(b,c.toString());if(b=A("entity-page-copyright"))c=new R(b.href),rt(a,c),Fc(b,c.toString());if(b=A("search-result-prev"))c=S(new R(b.href),"zoom",a.i),Fc(b,c.toString());if(b=A("search-result-next"))a=S(new R(b.href),"zoom",a.i),Fc(b,a.toString())}
function rt(a,b){S(b,"zoom",a.i);gi(b,"q");(a=a.O.Ya().getQuery())?S(b,"dq",a):gi(gi(gi(b,"dq"),"num"),"scoring")}function at(a,b,c){c=c===void 0?!1:c;I(a,"click",function(){b()});I(a,"keydown",function(d){d.keyCode!=32&&d.keyCode!=13||b()});c&&I(a,"mouseover",function(){b()})}
function Ys(a){function b(c){P(document.body,"opaque-background",!0);a.l=!1;c&&lt(a)}a.Lb?b(!0):(a.O&&(jg(a.O.Ga(),"move",function(){b(!0)}),jg(a.O.Cb(),"click",function(){b(!0)})),jg(document.body,"click",function(){b(!a.g)}),jg(document.body,"keydown",function(c){c.keyCode!=27&&b(!a.g)}))}
function Zs(a){a.O&&(a.g?I(window,"resize",function(){lt(a)}):(I(a.O,"viewportmodechange",function(){lt(a)}),I(a.O,"resize",function(){lt(a)}),I(a.O,"zoomchange",function(){lt(a)})),I(a.Wa,"mouseenter",function(){a.l=!0;kt(a)}),I(a.Wa,"mouseleave",function(){a.l=!1;lt(a)}),document.body.querySelectorAll(".floating-button-group").forEach(function(b){I(b,"mouseenter",function(){a.l=!0;kt(a)});I(b,"mouseleave",function(){a.l=!1;lt(a)});I(b,"focusin",function(){a.l=!0;kt(a)});I(b,"focusout",function(){a.l=
!1;lt(a)})}))}function lt(a){a.l||a.Za||(kt(a),st(a)&&(a.kc=U(function(){tt(a,!1);P(a.Wa,"listen-for-hover",!0)},3E3)))}function st(a){if(!a.O||a.O.U==ns)return!1;var b=a.Ia.getBoundingClientRect();if(a.g)return a=a.g.getBoundingClientRect(),yj()?a.right-54>=b.left:a.left+54<=b.right;a=ef("scroll-background");if(!a)return!1;a=zf(a);if(!a)return!1;a=a.getBoundingClientRect();return yj()?a.right>=b.left:a.left<=b.right}function kt(a){tt(a,!0);P(a.Wa,"listen-for-hover",!1);a.kc&&xj(a.kc)}
function tt(a,b){P(a.Ia,"floating-button-group-hidden",!b);a.ma&&P(a.ma,"floating-button-group-hidden",!b)}function $s(a){return{focusSearch:function(){A("search_form_input").focus()},updateSearch:function(b){xm(a.O.Ya(),b);a.Fb&&a.Fb.update()},goToPage:function(b){b&&a.O.Ad(b)}}};function ut(a,b){this.g=a;this.l=b}function vt(a,b){var c=C("DIV");O(c,"sitb-content");var d=C("H4");O(d,"sitb-result-header");var e=C("DIV"),g=a.g.i;g=g?"Page "+g:"Page";G(e,g);dk(d,"Search result: "+g);d.appendChild(e);b&&!a.l&&(a=C("SPAN"),O(a,"sitb-no-preview-msg"),G(a,"No preview available for this page."),d.appendChild(a));c.appendChild(d);return c};function wt(a){this.g=a}Ua(wt);function xt(a,b){a&&(a.tabIndex=b?0:-1)}f=wt.prototype;f.Oj=function(a){return a.tagName=="DIV"};function yt(a,b,c){c.id&&b.Ig(c.id);var d=a.ig(),e=!1,g=uh(c);g&&Array.prototype.forEach.call(g,function(h){h==d?e=!0:h&&(h==d+"-disabled"?b.tb(!1):h==d+"-horizontal"?zt(b,"horizontal"):h==d+"-vertical"&&zt(b,"vertical"))},a);e||O(c,d);At(a,b,c);return c}
function At(a,b,c){if(c)for(var d=c.firstChild,e;d&&d.parentNode==c;){e=d.nextSibling;if(d.nodeType==1){var g=a.rh(d);g&&(g.ya=d,b.isEnabled()||g.tb(!1),b.ab(g),Nk(g,d))}else d.nodeValue&&Xb(d.nodeValue)!=""||c.removeChild(d);d=e}}f.rh=function(a){a:{a=uh(a);for(var b=a.length,c=0;c<b;c++){var d=a[c];if(d=d in or?or[d]():null){a=d;break a}}a=null}return a};f.Pj=function(a){a=a.ha();nh(a,!0,Ld);var b=this.g;b&&Zj(a,b)};f.ig=function(){return"goog-container"};f.Yn=function(){return"vertical"};function Bt(a,b,c){Y.call(this,c);this.Re=b||wt.Nb();this.Nf=a||this.Re.Yn()}u(Bt,Y);f=Bt.prototype;f.jl=null;f.zf=null;f.Re=null;f.Nf=null;f.ne=!0;f.Qb=!0;f.tg=!0;f.bc=-1;f.hc=null;f.be=!1;f.ue=null;function Ct(a){return a.jl||a.ha()}f.vd=function(){return this.Re};f.Ra=function(){var a=this.g,b=a.Pa,c=this.Re.ig(),d=[c,this.Nf=="horizontal"?c+"-horizontal":c+"-vertical"];this.isEnabled()||d.push(c+"-disabled");this.ya=b.call(a,"DIV",d.join(" "))};f.Mb=function(){return this.ha()};f.fi=function(a){return this.Re.Oj(a)};
f.Pb=function(a){this.ya=yt(this.Re,this,a);a.style.display=="none"&&(this.ne=!1)};f.La=function(){Bt.oa.La.call(this);Ok(this,function(b){b.Ua&&Dt(this,b)},this);var a=this.ha();this.Re.Pj(this);this.Ba(this.ne,!0);Z(this).ka(this,"enter",this.Sk).ka(this,"highlight",this.Fq).ka(this,"unhighlight",this.Hq).ka(this,"open",this.Gt).ka(this,"close",this.Eq).ka(a,mr.dh,this.Gq).ka(Ze(a),[mr.eh,mr.ah],this.gt).ka(a,[mr.dh,mr.eh,mr.ah,"mouseover","mouseout","contextmenu"],this.bt);this.tg&&Et(this,!0)};
function Et(a,b){var c=Z(a),d=Ct(a);b?c.ka(d,"focus",a.wi).ka(d,"blur",a.ui).ka(a.zf||(a.zf=new Uq(Ct(a))),"key",a.Pc):c.Va(d,"focus",a.wi).Va(d,"blur",a.ui).Va(a.zf||(a.zf=new Uq(Ct(a))),"key",a.Pc)}f.mc=function(){this.Rd(-1);this.hc&&this.hc.Sb(!1);this.be=!1;Bt.oa.mc.call(this)};f.wa=function(){Bt.oa.wa.call(this);this.zf&&(this.zf.dispose(),this.zf=null);this.Re=this.hc=this.ue=this.jl=null};f.Sk=function(){return!0};
f.Fq=function(a){var b=Sk(this,a.target);if(b>-1&&b!=this.bc){var c=Ft(this);c&&c.Sc(!1);this.bc=b;c=Ft(this);this.be&&vr(c,!0);this.hc&&c!=this.hc&&(gr(c,64)?c.Sb(!0):this.hc.Sb(!1))}b=this.ha();a.target.ha()!=null&&X(b,"activedescendant",a.target.ha().id)};f.Hq=function(a){a.target==Ft(this)&&(this.bc=-1);this.ha().removeAttribute("aria-activedescendant")};f.Gt=function(a){(a=a.target)&&a!=this.hc&&a.getParent()==this&&(this.hc&&this.hc.Sb(!1),this.hc=a)};
f.Eq=function(a){a.target==this.hc&&(this.hc=null);var b=this.ha(),c=a.target.ha();b&&hr(a.target,2)&&c&&ck(b,c)};f.Gq=function(a){this.Qb&&(this.be=!0);var b=Ct(this);b&&Ff(b)?b.focus():a.preventDefault()};f.gt=function(){this.be=!1};
f.bt=function(a){a:{var b=a.target;if(this.ue)for(var c=this.ha();b&&b!==c;){var d=b.id;if(d in this.ue){b=this.ue[d];break a}b=b.parentNode}b=null}if(b)switch(a.type){case mr.dh:b.yf(a);break;case mr.eh:case mr.ah:b.Ce(a);break;case "mouseover":b.Be(a);break;case "mouseout":b.Uk(a);break;case "contextmenu":b.Ah(a)}};f.wi=function(){};f.ui=function(){this.Rd(-1);this.be=!1;this.hc&&this.hc.Sb(!1)};
f.Pc=function(a){return this.isEnabled()&&this.isVisible()&&(Pk(this)!=0||this.jl)&&this.ae(a)?(a.preventDefault(),a.stopPropagation(),!0):!1};
f.ae=function(a){var b=Ft(this);if(b&&typeof b.Pc=="function"&&b.Pc(a)||this.hc&&this.hc!=b&&typeof this.hc.Pc=="function"&&this.hc.Pc(a))return!0;if(a.shiftKey||a.ctrlKey||a.metaKey||a.altKey)return!1;switch(a.keyCode){case 27:if(this.tg)Ct(this).blur();else return!1;break;case 36:Gt(this);break;case 35:Ht(this);break;case 38:if(this.Nf=="vertical")It(this);else return!1;break;case 37:if(this.Nf=="horizontal")Rk(this)?Jt(this):It(this);else return!1;break;case 40:if(this.Nf=="vertical")Jt(this);
else return!1;break;case 39:if(this.Nf=="horizontal")Rk(this)?It(this):Jt(this);else return!1;break;default:return!1}return!0};function Dt(a,b){var c=b.ha();c=c.id||(c.id=b.getId());a.ue||(a.ue={});a.ue[c]=b}f.ab=function(a,b){Bt.oa.ab.call(this,a,b)};
f.lg=function(a,b,c){a.Vh|=2;a.Vh|=64;a.Yb(32,!1);rr(a,!1);var d=a.getParent()==this?Sk(this,a):-1;Bt.oa.lg.call(this,a,b,c);a.Ua&&this.Ua&&Dt(this,a);a=d;a==-1&&(a=Pk(this));a==this.bc?this.bc=Math.min(Pk(this)-1,b):a>this.bc&&b<=this.bc?this.bc++:a<this.bc&&b>this.bc&&this.bc--};
f.removeChild=function(a,b){if(a=typeof a==="string"?Lk(this,a):a){var c=Sk(this,a);c!=-1&&(c==this.bc?(a.Sc(!1),this.bc=-1):c<this.bc&&this.bc--);var d=a.ha();d&&d.id&&this.ue&&(c=this.ue,d=d.id,d in c&&delete c[d])}a=Bt.oa.removeChild.call(this,a,b);rr(a,!0);return a};function zt(a,b){if(a.ha())throw Error("Component already rendered");a.Nf=b}f.isVisible=function(){return this.ne};
f.Ba=function(a,b){if(b||this.ne!=a&&this.dispatchEvent(a?"show":"hide")){this.ne=a;var c=this.ha();c&&(N(c,a),this.tg&&xt(Ct(this),this.Qb&&this.ne),b||this.dispatchEvent(this.ne?"aftershow":"afterhide"));return!0}return!1};f.isEnabled=function(){return this.Qb};f.tb=function(a){this.Qb!=a&&this.dispatchEvent(a?"enable":"disable")&&(a?(this.Qb=!0,Ok(this,function(b){b.Rp?delete b.Rp:b.tb(!0)})):(Ok(this,function(b){b.isEnabled()?b.tb(!1):b.Rp=!0}),this.be=this.Qb=!1),this.tg&&xt(Ct(this),a&&this.ne))};
function Kt(a,b){b!=a.tg&&a.Ua&&Et(a,b);a.tg=b;a.Qb&&a.ne&&xt(Ct(a),b)}f.Rd=function(a){(a=Qk(this,a))?a.Sc(!0):this.bc>-1&&Ft(this).Sc(!1)};f.Sc=function(a){this.Rd(Sk(this,a))};function Ft(a){return Qk(a,a.bc)}function Gt(a){Lt(a,function(b,c){return(b+1)%c},Pk(a)-1)}function Ht(a){Lt(a,function(b,c){b--;return b<0?c-1:b},0)}function Jt(a){Lt(a,function(b,c){return(b+1)%c},a.bc)}function It(a){Lt(a,function(b,c){b--;return b<0?c-1:b},a.bc)}
function Lt(a,b,c){c=c<0?Sk(a,a.hc):c;var d=Pk(a);c=b.call(a,c,d);for(var e=0;e<=d;){var g=Qk(a,c);if(g&&a.Dn(g)){a.Rd(c);break}e++;c=b.call(a,c,d)}}f.Dn=function(a){return a.isVisible()&&a.isEnabled()&&gr(a,2)};function Mt(a){Y.call(this);this.j=a?a:null;var b=this.g;a=b.ha("gb-mobile-buy-panel");var c=b.ha("gb-mobile-buy-button"),d=b.ha("gb-mobile-buy-close-button");b=b.ha("volume-left");a&&c&&d&&b&&(this.i=new Bt,Nk(this.i,a),this.o=c,this.V=d,Nk(this,b),this.i.Ba(!1))}n(Mt,Y);
Mt.prototype.La=function(){var a=this;Z(this).ka(this.o,"click",this.l).ka(this.o,"keydown",function(b){b.keyCode!=32&&b.keyCode!=13||a.l()}).ka(this.V,"click",this.l).ka(this.V,"keydown",function(b){b.keyCode!=32&&b.keyCode!=13||a.l()})};
Mt.prototype.l=function(){if(this.i.isVisible()){this.i.Ba(!1);yh(this.i.Mb(),"gb-mobile-buy-panel-visible");this.j&&(this.j.style.overflowX="auto",this.j.style.overflowY="scroll");this.o.focus();for(var a=pa(document.querySelectorAll('[role="alert"],#volume-center,.aria-hide-on-menu-open')),b=a.next();!b.done;b=a.next())b.value.removeAttribute("aria-hidden")}else this.i.Ba(!0),O(this.i.Mb(),"gb-mobile-buy-panel-visible"),this.j&&(this.j.style.overflowX="hidden",this.j.style.overflowY="hidden"),this.i.Mb().focus(),
Nt(this)};function Nt(a){var b=a.i.Mb().querySelectorAll('[role="button"],[href]'),c=b[0],d=b[b.length-1];Z(a).ka(a.i.Mb(),"keydown",function(e){e.keyCode==9&&(e.shiftKey?document.activeElement===c&&(e.preventDefault(),d.focus()):document.activeElement===d&&(e.preventDefault(),c.focus()))});a=pa(document.querySelectorAll('[role="alert"],#volume-center,.aria-hide-on-menu-open'));for(b=a.next();!b.done;b=a.next())X(b.value,"hidden",!0)};function zo(a){this.g=lo(a,void 0,void 0,2048)}n(zo,Do);f=zo.prototype;f.getEnableSsEngine=function(){return Bo(this,2)};f.getEnableAwr=function(){return Bo(this,3)};f.getAlohaAutoGaRollout=function(){return Bo(this,5)};f.getEnableConfigurator=function(){return Bo(this,6)};f.getEnableMweb=function(){return Bo(this,7)};f.getEnableCtlConsentCheckbox=function(){return Bo(this,8)};f.getEnableIframe=function(){return Bo(this,9)};f.getEnableScreenshotNudge=function(){return Bo(this,10)};
f.getEnableWebStartupConfigEndpoint=function(){return Bo(this,11)};f.getEnableJunkNudge=function(){return Bo(this,12)};f.getEnableConfiguratorLocale=function(){return Bo(this,13)};f.getEnableTinyNoPointer=function(){return Bo(this,14)};f.getEnableSupportSessionLogging=function(){return Bo(this,15)};f.getEnableFileUploadForScreenshot=function(){return Bo(this,16)};f.getEnableDirectDeflectionForSingleCategory=function(){return Bo(this,17)};f.getEnableImageSanitization=function(){return Bo(this,18)};
f.getEnableAlohaBinarySplit=function(){return Bo(this,19)};f.getEnableDbFeedbackIntents=function(){return Bo(this,20)};f.getEnableMarkMandatoryFieldsWithRequired=function(){return Bo(this,21)};f.getEnableFeedbackCategoryCustomUi=function(){return Bo(this,22)};f.getEnableRealtimeCtl=function(){return Bo(this,23)};function Ot(a){this.g=lo(a,void 0,void 0,2048)}n(Ot,Do);function Pt(a){return Qt.some(function(b){return b.test(a)})}var Qt=[/https:\/\/sandbox\.google\.com\/tools\/feedback/,/https:\/\/feedback-frontend-qual[a-z0-9.]*\.google\.com\/inapp/,/https:\/\/feedback-frontend-qual[a-z0-9.]*\.google\.com\/tools\/feedback/,/https:\/\/.*\.googleusercontent\.com\/inapp/];var Rt="af am ar-EG ar-JO ar-MA ar-SA ar-XB ar az be bg bn bs ca cs cy da de-AT de-CH de el en en-GB en-AU en-CA en-IE en-IN en-NZ en-SG en-XA en-XC en-ZA es es-419 es-AR es-BO es-CL es-CO es-CR es-DO es-EC es-GT es-HN es-MX es-NI es-PA es-PE es-PR es-PY es-SV es-US es-UY es-VE et eu fa fi fil fr-CA fr-CH fr gl gsw gu he hi hr hu hy id in is it iw ja ka kk km kn ko ky ln lo lt lv mk ml mn mo mr ms my nb ne nl no pa pl pt pt-BR pt-PT ro ru si sk sl sq sr-Latn sr sv sw ta te th tl tr uk ur uz vi zh zh-CN zh-HK zh-TW zu".split(" ");var St=sa(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_light_binary.js"]),Tt=sa(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_binary__",".js"]);
function Ut(a,b){var c;var d=(c=a.formContent)==null?void 0:c.locale;c=d==null?void 0:d.split("-")[0];d=d&&Rt.includes(d)?d:c&&Rt.includes(c)?c:void 0;d=(d!=null?d:"en").replaceAll("-","_").toLowerCase();var e;a=((e=a.initializationData)==null?0:e.useNightlyRelease)?"nightly":"live";var g;return(b==null?0:(g=b.getEnableAlohaBinarySplit)==null?0:g.call(b))?Oe(St,a):Oe(Tt,a,d)};function Vt(){var a=Error.call(this,"Form is either loading or already opened");this.message=a.message;"stack"in a&&(this.stack=a.stack);this.name="DuplicateFormError"}n(Vt,Error);var Wt,Xt,Yt,Zt;
function $t(a,b,c,d){if(Wt&&Yt===b)return Wt;Yt=b;var e=Ut(a,d);return Wt=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(g,h){var k=C("SCRIPT");Nc(k,e);k.onload=function(){b.feedbackV2GlobalObject?g(b.feedbackV2GlobalObject):h(Error("feedbackV2GlobalObject not found on window."))};k.onerror=function(){h(Error("Feedback binary script tag failed to load: "+e.toString()))};c.body.appendChild(k)})}
function au(a,b,c,d){if(Xt&&Zt===b)return Xt;Zt=b;var e=Ut(a,d);return Xt=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(g,h){var k=C("SCRIPT");Nc(k,e);k.onload=function(){b.feedbackV2GlobalObject?g(b.feedbackV2GlobalObject):h(Error("feedbackV2GlobalObject not found on window."))};k.onerror=function(){h(Error("Feedback binary script tag failed to load: "+e.toString()))};c.body.appendChild(k)})}
function bu(a,b,c,d,e){e=e===void 0?!0:e;var g,h,k,l,m;return Ha(function(p){switch(p.g){case 1:return g=Date.now(),p.U($t(a,c,d,b),2);case 2:h=p.o;if(!(e||((l=a.initializationData)==null?0:l.useNightlyRelease)||((m=a.initializationData)==null?0:m.isLocalServer))){k=h.initializeFeedbackClient(a,g,b);p.Dg(3);break}return p.U(h.initializeFeedbackClientAsync(a,g,b),4);case 4:k=p.o;case 3:return k.initiateAloha(),p.return(k)}})}
function cu(a,b,c,d){var e,g,h;return Ha(function(k){if(k.g==1)return e=Date.now(),k.U(au(a,c,d.document,b),2);if(k.g!=3)return g=k.o,k.U(g.initializeFeedbackClientAsync(a,e,b,d),3);h=k.o;h.initiateAloha();return k.return(h)})}
function du(a,b,c){var d=!0;d=d===void 0?!0:d;var e,g,h,k,l,m,p,y;return Ha(function(D){e=c||q;if((g=b)==null?0:(k=(h=g).getEnableAlohaBinarySplit)==null?0:k.call(h)){l=e;if(l.isFormOpened)throw new Vt;l.isFormOpened=!0;a.callbacks=a.callbacks||{};m=a.callbacks.onClose||function(){};a.callbacks.onClose=function(H){l.isFormOpened=!1;m(H)};try{return D.return(cu(a,b,l,e))}catch(H){throw l.isFormOpened=!1,H;}}else{p=e;if(p.isFormOpened)throw new Vt;p.isFormOpened=!0;a.callbacks=a.callbacks||{};y=a.callbacks.onClose||
function(){};a.callbacks.onClose=function(H){p.isFormOpened=!1;y(H)};try{return D.return(bu(a,b,p,e.document,d))}catch(H){throw p.isFormOpened=!1,H;}}D.Ka()})};function eu(a,b){return Ha(function(c){return c.return(new Promise(function(d,e){Number.isInteger(Number(a))&&Number(a)>0?(e=fu(b!=null?b:"")+"/aloha_form_properties?productId="+a,si(e,function(g){g=g.target;var h=null;try{var k=JSON.stringify(Ai(g,")]}'\n"));if(k==null||k=="")h=new Ot;else{var l=JSON.parse(k);if(!Array.isArray(l))throw Error("dnarr");$n(l,32);h=new Ot(l)}}catch(m){k=new Ot,l=new zo,l=Co(l,5,!0),l=Co(l,2,!0),l=Co(l,4,!1),l=Co(l,8,!0),l=Co(l,9,!0),l=Co(l,7,!0),l=Co(l,10,!0),l=Co(l,
12,!0),l=Co(l,13,!1),l=Co(l,14,!0),l=Co(l,15,!0),l=Co(l,20,!1),l==null&&(l=void 0),g=l,so(k),h=k.g,xo(h,h[Zn]|0,1,g),l&&!co(l)&&to(k.g),h=k}d(h)},"GET","",{},2E3,!0)):e(Error("Invalid product id: "+a))}))})}function fu(a){return Pt(a)?a:"https://www.google.com/tools/feedback"};function gu(a,b,c,d){a.timeOfStartCall=(new Date).getTime();var e=c||q,g=e.document,h=a.nonce||Lc("script",e.document);h&&!a.nonce&&(a.nonce=h);if(a.flow=="help"){var k=Sa("document.location.href",e);!a.helpCenterContext&&k&&(a.helpCenterContext=k.substring(0,1200));k=!0;if(b&&JSON&&JSON.stringify){var l=JSON.stringify(b);(k=l.length<=1200)&&(a.psdJson=l)}k||(b={invalidPsd:!0})}b=[a,b,c,d];e.GOOGLE_FEEDBACK_START_ARGUMENTS=b;c=a.feedbackServerUri||"//www.google.com/tools/feedback";if(d=e.GOOGLE_FEEDBACK_START)d.apply(e,
b);else{e=c+"/load.js?";for(var m in a)b=a[m],b==null||Xa(b)||(e+=encodeURIComponent(m)+"="+encodeURIComponent(b)+"&");a=Of(Xe(g),"SCRIPT");h&&a.setAttribute("nonce",h);Nc(a,qc(e));g.body.appendChild(a)}}
function hu(a,b,c,d,e){var g,h;return Ha(function(k){g=c||q;var l=a.serverEnvironment==="DEV",m=c||q;m=a.nonce||Lc("script",m.document);l={integrationKeys:{productId:a.productId,feedbackBucket:a.bucket,triggerId:a.triggerId,microfeedbackScore:a.microfeedbackScore},callbacks:{onClose:a.callback,onLoad:a.onLoadCallback},formContent:{locale:a.locale,disableScreenshot:a.disableScreenshotting,productDisplayName:void 0,announcement:void 0,issueCategories:void 0,includeSeveritySelection:void 0,customImageSrc:void 0,
thankYouMessage:void 0,Pw:void 0,defaultFormInputValues:void 0,defaultFormInputValuesString:void 0,abuseLink:a.abuseLink,additionalDataConsent:a.additionalDataConsent},initializationData:{isLocalServer:l,nonce:m,useNightlyRelease:l,feedbackJsUrl:void 0,feedbackCssUrl:void 0,feedbackJsUrlSerialized:void 0,feedbackCssUrlSerialized:void 0,submissionServerUri:a.feedbackServerUri,colorScheme:a.colorScheme},extraData:{productVersion:a.productVersion,authUser:a.authuser,configuratorId:a.configuratorId,customZIndex:a.customZIndex,
tinyNoPointer:a.tinyNoPointer,allowNonLoggedInFeedback:a.allowNonLoggedInFeedback,enableAnonymousFeedback:a.enableAnonymousFeedback}};b&&(m=new Map(Object.entries(b)),l.extraData.productSpecificData=m);e&&(m=new Map(Object.entries(e)),l.extraData.productSpecificBinaryData=m);h=l;return k.U(du(h,d,g),0)})}
function iu(a,b,c,d){try{if(a.flow==="help"){var e=a.helpCenterPath.replace(/^\//,"");Kc(c||window,"https://support.google.com/"+e)}else a.flow==="submit"?gu(a,b,c,d):eu(a.productId,a.feedbackServerUri).then(function(g){g=Ao(g);var h=!Nd||(g==null?void 0:g.getEnableMweb()),k=!a.tinyNoPointer||(g==null?void 0:g.getEnableTinyNoPointer());!g||g.getAlohaAutoGaRollout()&&h&&k?hu(a,b,c,g,d).catch(function(l){!l||l instanceof Vt||gu(a,b,c,d)}):gu(a,b,c,d)},function(g){!g||g instanceof Vt||gu(a,b,c,d)})}catch(g){hu(a,
b,c,null,d).catch(function(h){!h||h instanceof Vt||gu(a,b,c,d)})}}db("userfeedback.api.startFeedback",iu);function ju(a,b,c){Y.call(this);if(this.j=A("gb-mobile-appbar-back-button"))Z(this).ka(this.j,"click",this.l),ku(this);(this.i=A("gb-mobile-appbar-more"))&&lu(this);var d=A("gb-mobile-appbar-search-button");d&&b&&(I(d,"click",function(){mu(b,c)}),I(d,"keydown",function(e){e.keyCode!=32&&e.keyCode!=13||mu(b,c)}));new Mt(a)}n(ju,Y);
function lu(a){var b=A("gb-mobile-more-menu");if(b){var c=new Mp(b);Np(c,4);c.setPosition(new Wr(a.i,4));c.Ba(!1);I(a.i,"click",function(){nu(b,c)});I(a.i,"keydown",function(d){d.keyCode!=32&&d.keyCode!=13||nu(b,c)})}else E(a.i)}function nu(a,b){yh(a,"more-menu-hidden");b.Ba(!0);b.ha().focus();a=df("more-menu-link");for(var c=0;c<a.length;c++)I(a[c],"click",function(){b.Ba(!1)}),I(a[c],"keydown",function(d){d.keyCode!=32&&d.keyCode!=13||b.Ba(!1)})}
function mu(a,b){var c=A("gb-mobile-search"),d=kh(c);N(c,!d);d?a.blur():a.focus();b&&b.resize()}ju.prototype.l=function(){window.history.back();Rd&&jk&&window.history.length==1&&window.close()};function ku(a){Vd&&fc(qd(),"GSA")&&(O(a.j,"igsa-hide"),a=a.g.ha("gb-mobile-appbar-logo"),O(a,"igsa-shift"))}db("_OC_startFeedback",iu);function ou(a){Q.call(this);a=a||Xe();this.g=a.Pa("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);a:{a=this.g;try{var b=a.contentWindow||(a.contentDocument?mf(a.contentDocument):null);break a}catch(c){}b=null}this.i=b;Ld&&(b=this.i.document,b.open(),b.close());I(this.i,"resize",this.j,!1,this);this.l=this.g.offsetWidth}u(ou,Q);
ou.prototype.wa=function(){ou.oa.wa.call(this);qg(this.i,"resize",this.j,!1,this);this.i=null;E(this.g);delete this.g};ou.prototype.j=function(){var a=this.g.offsetWidth;this.l!=a&&(this.l=a,this.dispatchEvent("fontsizechange"))};function pu(a){this.i=a;a=r(this.j,this);this.g=new Bh;I(this.g,"resize",a);var b=new ou;I(b,"fontsizechange",a);I(window,"DOMContentLoaded",r(this.resize,this))}pu.prototype.j=function(){this.resize();U(r(this.resize,this),100)};pu.prototype.resize=function(){var a=this.g.getSize(),b=Math.round(Zg(this.i).y);this.i.style.height=a.height-b+"px"};function qu(a){var b=null;if(a=A(a))b=new pu(a),b.resize();return b};function ru(a,b){Y.call(this,b);this.j=a}u(ru,Y);ru.prototype.i="info";ru.prototype.l=!1;var su={info:"jfk-butterBar-info",error:"jfk-butterBar-error",warning:"jfk-butterBar-warning",promo:"jfk-butterBar-promo"};ru.prototype.getType=function(){return this.i};function tu(a,b){if(a.Mb()){var c=a.ha(),d=su[b];yh(c,su[a.i]);O(c,d)}a.i=b}function uu(a,b){a.j=b;if(b=a.ha()){var c=a.g;c.hm(b);c.dm(b,a.j)}}ru.prototype.isVisible=function(){var a=this.ha();return a!=null&&wh(a,"jfk-butterBar-shown")};
ru.prototype.Ba=function(a){P(this.ha(),"jfk-butterBar-shown",a)};function vu(a,b){a.l=b;(b=a.ha())&&P(b,"jfk-butterBar-mini",a.l)}ru.prototype.Ra=function(){this.ya=this.g.Pa("DIV","jfk-butterBar");var a=this.ha();a&&(X(a,"live","assertive"),X(a,"atomic","true"));uu(this,this.j);vu(this,this.l);tu(this,this.i)};function wu(a,b){Y.call(this,b);this.i=a||""}var xu;u(wu,Y);f=wu.prototype;f.Vd=null;function yu(){xu==null&&(xu="placeholder"in C("INPUT"));return xu}f.Bh=!1;f.Ra=function(){this.ya=this.g.Pa("INPUT",{type:"text"})};f.Pb=function(a){wu.oa.Pb.call(this,a);this.i||(this.i=a.getAttribute("label")||"");Nf(Ze(a))==a&&(this.Bh=!0,a=this.ha(),yh(a,"label-input-label"));yu()&&(this.ha().placeholder=this.i);a=this.ha();X(a,"label",this.i)};
f.La=function(){wu.oa.La.call(this);var a=new ug(this);a.ka(this.ha(),"focus",this.jo);a.ka(this.ha(),"blur",this.Ys);if(yu())this.j=a;else{Ld&&a.ka(this.ha(),["keypress","keydown","keyup"],this.nt);var b=Ze(this.ha());a.ka(mf(b),"load",this.Wt);this.j=a;zu(this)}Au(this);this.ha().ma=this};f.mc=function(){wu.oa.mc.call(this);this.j&&(this.j.dispose(),this.j=null);this.ha().ma=null};function zu(a){!a.l&&a.j&&a.ha().form&&(a.j.ka(a.ha().form,"submit",a.st),a.l=!0)}
f.wa=function(){wu.oa.wa.call(this);this.j&&(this.j.dispose(),this.j=null)};f.jo=function(){this.Bh=!0;var a=this.ha();yh(a,"label-input-label");yu()||Bu(this)||this.o||!this.ha()||(this.ha().value="")};f.Ys=function(){yu()||(this.j.Va(this.ha(),"click",this.jo),this.Vd=null);this.Bh=!1;Au(this)};f.nt=function(a){a.keyCode==27&&(a.type=="keydown"?this.Vd=this.ha().value:a.type=="keypress"?this.ha().value=this.Vd:a.type=="keyup"&&(this.Vd=null),a.preventDefault())};
f.st=function(){Bu(this)||(this.ha().value="",U(this.Vs,10,this))};f.Vs=function(){Bu(this)||(this.ha().value=this.i)};f.Wt=function(){Au(this)};function Bu(a){return!!a.ha()&&a.ha().value!=""&&a.ha().value!=a.i}f.clear=function(){this.ha().value="";this.Vd!=null&&(this.Vd="")};f.reset=function(){Bu(this)&&(this.clear(),Au(this))};f.wc=function(a){this.Vd!=null&&(this.Vd=a);this.ha().value=a;Au(this)};f.Bb=function(){return this.Vd!=null?this.Vd:Bu(this)?this.ha().value:""};f.ze=function(){return this.i};
function Au(a){var b=a.ha();yu()?a.ha().placeholder!=a.i&&(a.ha().placeholder=a.i):zu(a);X(b,"label",a.i);Bu(a)?(a=a.ha(),yh(a,"label-input-label")):(a.o||a.Bh||(b=a.ha(),O(b,"label-input-label")),yu()||U(a.pv,10,a))}f.tb=function(a){this.ha().disabled=!a;var b=this.ha();P(b,"label-input-label-disabled",!a)};f.isEnabled=function(){return!this.ha().disabled};f.pv=function(){!this.ha()||Bu(this)||this.Bh||(this.ha().value=this.i)};function Cu(a,b,c){wu.call(this,c!=null?c:"Search in this book");this.Pb(a);this.La();b&&this.wc(b)}n(Cu,wu);function Du(a,b,c){this.o=a;this.j=b;this.N=c;this.g=A("text-viewport-snippet-container");this.i=ef("html-div")}
function Eu(a){tf(a.g);a.o.Ab.forEach(function(b,c){var d=Vl(a.N,b.Na());var e=new ut(b,d?d:null);if(e.g.g){var g=vt(e,!0),h=C("DIV");O(h,"sitb-snippet-text");x(h,Je(e.g.g));g.appendChild(h);e=g}else e=null;e&&b.Na()&&(g=d?C("A"):C("DIV"),O(g,"text-viewport-snippet-link"),d?(b=S(S(S(S(Xh(gi(gi(new R(window.location.href),"jtp"),"q"),""),"pg",b.Na()),"dq",ed(uq(a.o))),"num",c),"scoring",a.j),Fc(g,b.toString())):(Hf(g,!0),Zj(g,"link"),X(g,"disabled",!0)),g.appendChild(e),a.g.appendChild(g))})}
function Fu(a,b){a=Nd?A("viewport"):a.i;P(document.body,"text-viewport-snippet-view",b);P(a,"exit-search-view",!b);b&&(a.scrollTop=0)};function Gu(a,b){this.g=a instanceof w?a:new w(a,b)}u(Gu,Hp);Gu.prototype.Lc=function(a,b,c,d){Lp(this.g,a,b,c,null,null,d)};function Hu(a,b){this.g=a instanceof w?a:new w(a,b)}u(Hu,Hp);Hu.prototype.Lc=function(a,b,c,d){Ip((a?Ze(a):document).documentElement,0,a,b,this.g,c,null,d)};function Iu(a,b,c){this.l=c||(a?Xe(A(a)):Xe());Mp.call(this,this.l.Pa("DIV",{style:"position:absolute;display:none;"}));this.N=new w(1,1);this.ac=new Set;this.U=null;a&&this.attach(a);b!=null&&this.zp(b)}u(Iu,Mp);var Ju=[];f=Iu.prototype;f.Wb=null;f.className="goog-tooltip";f.Kg=500;f.Dh=0;f.attach=function(a){a=A(a);this.ac.add(a);I(a,"mouseover",this.Be,!1,this);I(a,"mouseout",this.Si,!1,this);I(a,"mousemove",this.Bg,!1,this);I(a,"focus",this.wm,!1,this);I(a,"blur",this.Si,!1,this)};
function Ku(a){a.ac.forEach(function(b){qg(b,"mouseover",a.Be,!1,a);qg(b,"mouseout",a.Si,!1,a);qg(b,"mousemove",a.Bg,!1,a);qg(b,"focus",a.wm,!1,a);qg(b,"blur",a.Si,!1,a)});a.ac.clear()}f.Qk=function(){return this.Dh};f.zp=function(a){G(this.ha(),a)};f.Gl=function(a){var b=this.ha();b&&x(b,a)};
f.Yf=function(a){var b=this.ha();b&&E(b);Iu.oa.Yf.call(this,a);a?(b=this.l.g.body,b.insertBefore(a,b.lastChild),Qf(this.U),this.U=new Gk(this.ha()),Sf(this,this.U),I(this.U,"focusin",this.ng,void 0,this),I(this.U,"focusout",this.Th,void 0,this)):(Qf(this.U),this.U=null)};function Lu(a){return a.Da?a.isVisible()?4:1:a.na?3:a.isVisible()?2:0}f.Xi=function(a){if(!this.isVisible())return!1;var b=Zg(this.ha()),c=hh(this.ha());return b.x<=a.x&&a.x<=b.x+c.width&&b.y<=a.y&&a.y<=b.y+c.height};
f.xl=function(){if(!Uk.prototype.xl.call(this))return!1;if(this.g)for(var a,b=0;a=Ju[b];b++)Cf(a.ha(),this.g)||a.Ba(!1);sb(Ju,this);a=this.ha();a.className=this.className;this.ng();I(a,"mouseover",this.Wk,!1,this);I(a,"mouseout",this.qo,!1,this);Mu(this);return!0};f.Qg=function(){tb(Ju,this);for(var a=this.ha(),b,c=0;b=Ju[c];c++)b.g&&Cf(a,b.g)&&b.Ba(!1);this.Za&&this.Za.Th();qg(a,"mouseover",this.Wk,!1,this);qg(a,"mouseout",this.qo,!1,this);this.g=void 0;Lu(this)==0&&(this.Ma=!1);Uk.prototype.Qg.call(this)};
f.Ih=function(a,b){this.g==a&&this.ac.has(this.g)&&(this.Ma||!this.yc?(this.Ba(!1),this.isVisible()||(this.g=a,this.setPosition(b||this.Ni(0)),this.Ba(!0))):this.g=void 0);this.Da=void 0};f.Lo=function(a){this.na=void 0;if(a==this.g){a=this.l;var b;a=(b=Nf(a.g))&&this.ha()&&a.fm(this.ha(),b);this.Wb!=null&&(this.Wb==this.ha()||this.ac.has(this.Wb))||a||this.ma&&this.ma.Wb||this.Ba(!1)}};function Nu(a,b){var c=Pf(a.l);a.N.x=b.clientX+c.x;a.N.y=b.clientY+c.y}
f.Be=function(a){var b=Ou(this,a.target);this.Wb=b;this.ng();b!=this.g&&(this.g=b,this.yj(b),Pu(this),Nu(this,a))};function Ou(a,b){try{for(;b&&!a.ac.has(b);)b=b.parentNode;return b}catch(c){return null}}f.Bg=function(a){Nu(this,a);this.Ma=!0};f.wm=function(a){this.Wb=a=Ou(this,a.target);this.Ma=!0;if(this.g!=a){this.g=a;var b=this.Ni(1);this.ng();this.yj(a,b);Pu(this)}};f.Ni=function(a){return a==0?(a=this.N.clone(),new Qu(a)):new Ru(this.Wb)};
function Pu(a){if(a.g)for(var b,c=0;b=Ju[c];c++)Cf(b.ha(),a.g)&&(b.ma=a,a.Za=b)}f.Si=function(a){var b=Ou(this,a.target),c=Ou(this,a.relatedTarget);b!=c&&(b==this.Wb&&(this.Wb=null),Mu(this),this.Ma=!1,!this.isVisible()||a.relatedTarget&&Cf(this.ha(),a.relatedTarget)?this.g=void 0:this.Th())};f.Wk=function(){var a=this.ha();this.Wb!=a&&(this.ng(),this.Wb=a)};f.qo=function(a){var b=this.ha();this.Wb!=b||a.relatedTarget&&Cf(b,a.relatedTarget)||(this.Wb=null,this.Th())};
f.yj=function(a,b){this.Da||(this.Da=U(r(this.Ih,this,a,b),this.Kg))};function Mu(a){a.Da&&(xj(a.Da),a.Da=void 0)}f.Th=function(){Lu(this)==2&&(this.na=U(r(this.Lo,this,this.g),this.Qk()))};f.ng=function(){this.na&&(xj(this.na),this.na=void 0)};f.wa=function(){this.Ba(!1);Mu(this);Ku(this);this.ha()&&E(this.ha());this.Wb=null;delete this.l;Iu.oa.wa.call(this)};function Qu(a,b){Hu.call(this,a,b)}u(Qu,Hu);
Qu.prototype.Lc=function(a,b,c){b=Yg((a?Ze(a):document).documentElement);c=c?new Ag(c.top+10,c.right,c.bottom,c.left+10):new Ag(10,0,0,10);Lp(this.g,a,8,c,b,9)&496&&Lp(this.g,a,8,c,b,5)};function Ru(a){Vr.call(this,a,5)}u(Ru,Vr);Ru.prototype.Lc=function(a,b,c){var d=new w(10,0);Ip(this.g,this.i,a,b,d,c,9)&496&&Ip(this.g,4,a,1,d,c,5)};function Su(a,b){Q.call(this);this.re=C("div");a.appendChild(this.re);J(this.re,{position:"absolute",backgroundColor:"#b2c4e9",width:"100%",height:"5px",cursor:"pointer"});this.g=new Tu(this.re,b);I(this.re,"click",r(this.dispatchEvent,this,"click"));I(this.g.ha(),"click",r(this.dispatchEvent,this,"click"));I(this.re,"mouseover",r(this.i,this,!0));I(this.re,"mouseout",r(this.i,this,!1))}n(Su,Q);function Uu(a,b){J(a.re,{backgroundColor:b?"#ffcc00":"#b2c4e9"});a.j=b}
Su.prototype.i=function(a){this.j||J(this.re,{backgroundColor:a?"#ffffcc":"#b2c4e9"})};Su.prototype.wa=function(){this.g.dispose();Q.prototype.wa.call(this)};function Tu(a,b){Iu.call(this,a);this.i=a;this.Kg=200;this.Dh=500;a=this.ha();J(a,{backgroundColor:"#FFF",color:"#333",border:"1px solid #6b90da",padding:"6px",fontSize:"83%",width:"350px",cursor:"pointer"});var c=C("div");J(c,{fontWeight:"bold"});c.appendChild(qf("Page "+b.i));a.appendChild(c);c=C("div");x(c,z(b.g));a.appendChild(c)}n(Tu,Iu);
Tu.prototype.Ih=function(a){var b=Zg(this.i),c=hh(this.ha());Iu.prototype.Ih.call(this,a,new Gu(b.x-c.width,Math.min(b.y,jf().height-c.height)))};function Vu(a,b,c){W.call(this);var d=this;this.O=a;this.o=b;this.na=c;this.j={};this.U=new ug;this.i=C("div");J(this.i,{backgroundColor:"#fcfcff",position:"absolute"});this.O.ud().appendChild(this.i);this.o.Ab.forEach(function(e){Wu(d,e)});this.g.ka(this.O,"pagechange",this.ma);this.ma();this.g.ka(this.O,"resize",this.l);this.g.ka(this.O,"viewportmodechange",this.V);this.O.Ga()&&this.V()}n(Vu,W);
Vu.prototype.ma=function(){this.N&&(Uu(this.N,!1),this.N=null);var a=this.j[this.O.Fa().Na()];a&&(this.N=a,Uu(a,!0))};Vu.prototype.V=function(){var a=this,b=this.O.Ga(),c=b instanceof Jq;c&&this.l();zg(this.U);this.U.ka(b,"layoutchange",function(){a.l()});N(this.i,c)};Vu.prototype.l=function(){var a=this;U(function(){var b=a.O.Ga();b&&b instanceof Jq&&(b=b.N.l,K(a.i,15,b.clientHeight),Tg(a.i,b.clientWidth-15,0),Xu(a))},10)};
function Xu(a){var b={};a.O.Ga().Hb().Kd(function(c){return c instanceof Pi}).forEach(function(c){b[c.Fa().Na()]=c});a.o.Ab.forEach(function(c){var d=a.O.Ga().N.i.clientHeight,e=b[c.Na()];if(e){var g=Od?5:15;Tg(a.j[c.Na()].re,0,Math.floor(e.kd()/d*(a.i.clientHeight-g-(Od?30:15)))+g)}})}function Wu(a,b){var c=new Su(a.i,b);a.j[b.Na()]=c;a.g.ka(c,"click",function(){a.na(b)})}Vu.prototype.wa=function(){E(this.i);Mb(this.j,function(a){a.wa.call(a)});W.prototype.wa.call(this)};function Yu(a){W.call(this);this.i=a;this.j="n"}n(Yu,W);function Zu(a,b,c){$u(a.i.j);var d=new R(window.location.href);S(d,"jscmd","SearchWithinVolume");S(d,"q",b);S(d,"scoring",c);(new wp(d)).Td(function(e){av(a,!1,e)});a.j=c}
function av(a,b,c,d,e){c.search_results&&(c.search_results=mb(c.search_results,function(g){return g.snippet_text!==void 0&&g.snippet_text}),c.number_of_results=c.search_results.length);a.o=new tq(c);kn()&&(e&&(a.j=e),a.l=new Du(a.o,a.j,a.i.O.hb()));c=a.i.O;c.U||c.Zb(Jq);e=a.o.Ab;e.length==0?bv(a.i.j):b?d?(b=e.find(function(g){return d==g.Na()}))?cv(a,b):cv(a,e[0],d):cv(a,e[0]):dv(a);a.N=new Vu(c,a.o,function(g){cv(a,g)})}
function dv(a){var b=a.i.O,c=b.U;if(c==Jq||c==Gr)a.i.l=c;b.Zb(ns);b=b.Ga();ev(a.i.j);kn()?(Eu(a.l),Fu(a.l,!0)):(ps(b,a.o),rs(b,function(d,e){return cv(a,d,e)}),b.Uc(new w(0,0)))}
function cv(a,b,c,d){zq=!0;var e=a.i.j;fv(e,!1);e.j=ib(e.i.o.Ab,b);e.o?(gv(e,!0),x(e.l,z(e.j+1+" of "+e.i.o.Ab.length)),dk(e.l,"Result "+(e.j+1)+" of "+e.i.o.Ab.length),e.o&&e.l.setAttribute("data-result-num",e.j)):x(e.l,z("Result <b>"+(e.j+1+"</b> of <b>")+(e.i.o.Ab.length+"</b> in this book for <b>")+(uq(e.i.o)+"</b>")));e=a.i.O;b=Vl(e.hb(),b.Na());if(!b)return null;var g=e.Ga();g instanceof Jq||g instanceof Gr||(a.i.l==Gr?e.Zb(Gr):e.Zb(Jq));if(c)return e.Ad(c),null;if(d)return Hm(e,d),null;e.zh(b);
return b}Yu.prototype.wa=function(){Qf(this.N);W.prototype.wa.call(this)};var hv="ganpub ganclk dapp source_ip source_country source_domain authuser".split(" ");function iv(a){var b=b===void 0?window.location.href:b;var c=new R(b);S(a,"hl","en");(b=T(c,"output"))&&S(a,"output",b);b=T(c,"source");b=="ge-ipad-app"?(S(a,"dapp","2"),gi(a,"output")):b=="ge-tablet-app"?(S(a,"dapp","4"),gi(a,"output")):b=="ge-ip-app"?S(a,"dapp","1"):b=="ge-android-app"&&S(a,"dapp","3");T(c,"authuser")||gi(a,"authuser");hv.forEach(function(d){var e=T(c,d);e&&S(a,d,e)})};function jv(){this.g=[]}u(jv,Zq);Ua(jv);function kv(a,b){var c=a.g[b];if(!c){switch(b){case 0:c=a.Sa()+"-highlight";break;case 1:c=a.Sa()+"-checkbox";break;case 2:c=a.Sa()+"-content"}a.g[b]=c}return c}f=jv.prototype;f.eg=function(){return"menuitem"};f.Mc=function(a){var b=a.g.Pa("DIV",br(this,a).join(" "),lv(this,a.Ac(),a.g));mv(this,a,b,gr(a,8)||gr(a,16));return b};f.Ic=function(a){return a&&a.firstChild};
f.Tb=function(a,b){var c=zf(b),d=kv(this,2);c&&wh(c,d)||b.appendChild(lv(this,b.childNodes,a.g));wh(b,"goog-option")&&(a.Qh(!0),this.Qh(a,b,!0));return jv.oa.Tb.call(this,a,b)};f.fg=function(a,b){var c=this.Ic(a),d=nv(this,a)?c.firstChild:null;jv.oa.fg.call(this,a,b);d&&!nv(this,a)&&c.insertBefore(d,c.firstChild||null)};function lv(a,b,c){a=kv(a,2);return c.Pa("DIV",a,b)}f.yp=function(a,b,c){a&&b&&mv(this,a,b,c)};f.Qh=function(a,b,c){a&&b&&mv(this,a,b,c)};
function nv(a,b){return(b=a.Ic(b))?(b=b.firstChild,a=kv(a,1),!!b&&Bf(b)&&wh(b,a)):!1}function mv(a,b,c,d){er(a,c,b.Ze());fr(a,b,c);d!=nv(a,c)&&(P(c,"goog-option",d),c=a.Ic(c),d?(a=kv(a,1),c.insertBefore(b.g.Pa("DIV",a),c.firstChild||null)):c.removeChild(c.firstChild))}f.oh=function(a){switch(a){case 2:return kv(this,0);case 16:case 8:return"goog-option-selected";default:return jv.oa.oh.call(this,a)}};
f.Pi=function(a){var b=kv(this,0);switch(a){case "goog-option-selected":return 16;case b:return 2;default:return jv.oa.Pi.call(this,a)}};f.Sa=function(){return"goog-menuitem"};function ov(a,b,c,d){qr.call(this,a,d||jv.Nb(),c);this.wc(b)}u(ov,qr);f=ov.prototype;f.Bb=function(){var a=this.tl;return a!=null?a:this.vg()};f.wc=function(a){this.tl=a};f.Yb=function(a,b){ov.oa.Yb.call(this,a,b);switch(a){case 8:hr(this,16)&&!b&&this.Sf(!1);(a=this.ha())&&this.vd().yp(this,a,b);break;case 16:(a=this.ha())&&this.vd().Qh(this,a,b)}};f.yp=function(a){this.Yb(8,a)};f.Qh=function(a){this.Yb(16,a)};
f.vg=function(){var a=this.Ac();return Array.isArray(a)?(a=nb(a,function(b){return Bf(b)&&(wh(b,"goog-menuitem-accel")||wh(b,"goog-menuitem-mnemonic-separator"))?"":Kf(b)}).join(""),$c(a)):ov.oa.vg.call(this)};f.Ce=function(a){var b=this.getParent();if(b){var c=b.l;b.l=null;if(c&&typeof a.clientX==="number"&&Hb(c,new w(a.clientX,a.clientY)))return}ov.oa.Ce.call(this,a)};f.ae=function(a){return a.keyCode==this.rl&&this.nf(a)?!0:ov.oa.ae.call(this,a)};f.Qs=function(){return this.rl};
nr("goog-menuitem",function(){return new ov(null)});ov.prototype.Ze=function(){return gr(this,16)?"menuitemcheckbox":gr(this,8)?"menuitemradio":ov.oa.Ze.call(this)};ov.prototype.getParent=function(){return qr.prototype.getParent.call(this)};ov.prototype.Ag=function(){return qr.prototype.Ag.call(this)};function pv(a,b,c,d){Wr.call(this,a,b,c||d);(c||d)&&this.l(65|(d?32:132))}u(pv,Wr);function qv(){}u(qv,Zq);Ua(qv);qv.prototype.Sa=function(){return"goog-menuheader"};function rv(a,b,c){qr.call(this,a,c||qv.Nb(),b);this.Yb(1,!1);this.Yb(2,!1);this.Yb(4,!1);this.Yb(32,!1);this.me=1}u(rv,qr);nr("goog-menuheader",function(){return new rv(null)});function sv(){}u(sv,Zq);Ua(sv);sv.prototype.Mc=function(a){return a.g.Pa("DIV",this.Sa())};sv.prototype.Tb=function(a,b){b.id&&a.Ig(b.id);if(b.tagName=="HR"){var c=b;b=this.Mc(a);uf(b,c);E(c)}else O(b,this.Sa());return b};sv.prototype.fg=function(){};sv.prototype.Sa=function(){return"goog-menuseparator"};function tv(a,b){qr.call(this,null,a||sv.Nb(),b);this.Yb(1,!1);this.Yb(2,!1);this.Yb(4,!1);this.Yb(32,!1);this.me=1}u(tv,qr);tv.prototype.La=function(){tv.oa.La.call(this);var a=this.ha();Zj(a,"separator")};nr("goog-menuseparator",function(){return new tv});function uv(a){this.g=a||"menu"}u(uv,wt);Ua(uv);f=uv.prototype;f.Oj=function(a){return a.tagName=="UL"||uv.oa.Oj.call(this,a)};f.rh=function(a){return a.tagName=="HR"?new tv:uv.oa.rh.call(this,a)};f.Ud=function(a,b){return Cf(a.ha(),b)};f.ig=function(){return"goog-menu"};f.Pj=function(a){uv.oa.Pj.call(this,a);a=a.ha();X(a,"haspopup","true")};function vv(a){tv.call(this,sv.Nb(),a)}u(vv,tv);nr("goog-menuseparator",function(){return new tv});function wv(a,b){Bt.call(this,"vertical",b||uv.Nb(),a);Kt(this,!1)}u(wv,Bt);f=wv.prototype;f.kk=!0;f.Ud=function(a){if(this.vd().Ud(this,a))return!0;for(var b=Pk(this),c=0;c<b;c++){var d=Qk(this,c);if(typeof d.Ud=="function"&&d.Ud(a))return!0}return!1};f.Qa=function(a){this.ab(a,!0)};f.Ue=function(a,b){this.lg(a,b,!0)};f.Kd=function(){var a=[];Ok(this,function(b){a.push(b)});return a};f.setPosition=function(a,b){var c=this.isVisible();c||N(this.ha(),!0);fh(this.ha(),a,b);c||N(this.ha(),!1)};
f.jd=function(){return this.isVisible()?Zg(this.ha()):null};function xv(a,b){(a.kk=b)&&Kt(a,!0)}f.Ba=function(a,b,c){(b=wv.oa.Ba.call(this,a,b))&&a&&this.Ua&&this.kk&&Ct(this).focus();a&&c&&typeof c.clientX==="number"?this.l=new w(c.clientX,c.clientY):this.l=null;return b};f.Sk=function(a){this.kk&&Ct(this).focus();return wv.oa.Sk.call(this,a)};f.Dn=function(a){return a.isEnabled()&&a.isVisible()&&gr(a,2)};
f.Pb=function(a){for(var b=this.vd(),c=cf(this.g.g,"DIV",b.ig()+"-content",a),d=c.length,e=0;e<d;e++)At(b,this,c[e]);wv.oa.Pb.call(this,a)};f.ae=function(a){var b=wv.oa.ae.call(this,a);b||Ok(this,function(c){!b&&c.Qs&&c.rl==a.keyCode&&(this.isEnabled()&&this.Sc(c),b=c.Pc(a))},this);return b};f.Rd=function(a){wv.oa.Rd.call(this,a);(a=Qk(this,a))&&$g(a.ha(),this.ha())};function yv(a,b){wv.call(this,a,b);xv(this,!0);this.Ba(!1,!0);this.i=new Kl}u(yv,wv);f=yv.prototype;f.Sl=!1;f.Jo=0;f.Pb=function(a){yv.oa.Pb.call(this,a);(a=a.getAttribute("for")||a.htmlFor)&&this.attach(this.g.ha(a),1)};f.La=function(){yv.oa.La.call(this);this.i.forEach(this.An,this);var a=Z(this);a.ka(this,"action",this.Hu);a.ka(this.g.g,"mousedown",this.Ku,!0)};
f.attach=function(a,b,c,d,e){var g;if(!(g=!a)){g=this.i;var h=Ya(a);g=!g.has(h)}g&&(a?(b={ya:a,Gp:b,Bu:c,Sn:d?"contextmenu":"mousedown",ol:e},this.i.set(Ya(a),b)):b=null,this.Ua&&this.An(b),a=t(this.Ru,a),this.ha()&&Z(this).ka(this.ha(),"keydown",a))};
f.Ru=function(a,b){if(b.keyCode==27)a.focus();else if(a=Qk(this,this.bc)){var c=a.ha();a=new Xf(b.Rb,c);a.target=c;if(b.keyCode==32||b.keyCode==13)if($f(c))Ah(c,"keydown",!1,a);else if(c=mg(c))if(c=c.g["keydown".toString()]){c=c.concat();for(var d=0;d<c.length;d++){var e=c[d];e&&e.capture==0&&!e.Hg&&sg(e,a)}}b.keyCode==32&&this.lb()}};f.An=function(a){Z(this).ka(a.ya,a.Sn,this.Vu);a.Sn!="contextmenu"&&Z(this).ka(a.ya,"keydown",this.Wu)};
function zv(a,b,c,d){var e=a.isVisible(),g;(g=a.isVisible())||(g=Date.now()-a.Jo<150);g&&a.Sl?a.lb():a.dispatchEvent("beforeshow")&&(c=typeof c!="undefined"?c:8,e||(a.ha().style.visibility="hidden"),N(a.ha(),!0),b.Lc(a.ha(),c,d),e||(a.ha().style.visibility="visible"),a.Rd(-1),a.Ba(!0))}f.lb=function(){this.isVisible()&&(this.Ba(!1),this.isVisible()||(this.Jo=Date.now()))};f.Hu=function(){this.lb()};f.Vu=function(a){Av(this,a)};
f.Wu=function(a){a.keyCode!=32&&a.keyCode!=13&&a.keyCode!=40||Av(this,a);a.keyCode==40&&Gt(this)};function Av(a,b){for(var c=a.i.Wd(),d=0;d<c.length;d++){var e=a.i.get(c[d]);if(e.ya==b.currentTarget){c=e.Gp!==void 0?new Wr(e.ya,e.Gp,!0):new Tp(b.clientX,b.clientY);c.l&&c.l(5);zv(a,c,e.Bu,e.ol);b.preventDefault();b.stopPropagation();break}}}f.Ku=function(a){this.isVisible()&&!this.Ud(a.target)&&this.lb()};f.ui=function(a){yv.oa.ui.call(this,a);this.lb()};
f.wa=function(){yv.oa.wa.call(this);this.i&&(this.i.clear(),delete this.i)};function Bv(a){W.call(this);this.ua=jn(a);this.va=Nd&&a&&a.isOgenEligibleMobileViewport;this.o=this.ua||this.va;this.na=this.V=null;this.o?gv(this,!0):(this.ma=C("DIV"),this.Ca=new ru(this.ma),this.Ca.render(Cv),this.Ca.Ba(!0),a=this.Ca.ha(),O(a,"search-results-bar"),O(this.ma,"search-results-bar-contents"));this.l=this.o?A("search-results-summ"):C("SPAN");this.o||this.ma.appendChild(this.l);this.N=this.o?A("search-result-links"):C("SPAN");this.o?Dv(this):(O(this.N,"search-bar-result-links"),this.ma.appendChild(this.N),
Ev(this));this.U=this.o?A("search-snippet-links"):C("SPAN");this.o?Fv(this):(this.ua?(this.Da=C("DIV"),O(this.Da,"search-bar-result-buttons"),this.ma.appendChild(this.Da),this.Da.appendChild(this.U),xh(this.U,["search-bar-sort-dropdown-button-container","search-bar-close-link"]),Fv(this)):(this.Ha=C("SPAN"),this.Ja=C("SPAN"),Gv(this)),O(this.U,"search-bar-snippet-links"));this.o||(Hv(this),nh(this.ma,!0))}n(Bv,W);function Iv(){Cv=A("search_bar")}function Jv(){Kv=A("toolbar_container")}
function ev(a){if(a.V)Lv(a,!0);else{var b=a.i.j=="n";N(a.Ha,b);N(a.Ja,!b)}a.o?(gv(a,!0),x(a.l,z(a.i.o.Ab.length+" results")),a.l.removeAttribute("aria-label")):x(a.l,z("Showing <b>"+(a.i.o.Ab.length+"</b> results in this book for <b>")+(uq(a.i.o)+"</b>")));fv(a,!0)}
function Dv(a){kn()||(Mv(a,A("search-result-prev"),function(){Nv(a,a.j,-1)},"Previous result"),Mv(a,A("search-result-next"),function(){Nv(a,a.j,1)},"Next result"));Mv(a,A("search-result-viewall"),function(){dv(a.i)},"View all");Mv(a,A("search-close"),function(){a.Ia()},"Close search")}
function Ev(a){var b=C("SPAN");x(b,z("-&nbsp;&nbsp;"));O(b,"search-bar-link-spacer");a.N.appendChild(b);Ov(a,a.N,"\u2039 Previous",function(){Nv(a,a.j,-1)},"Previous");b=C("SPAN");x(b,z("&nbsp;&nbsp;"));O(b,"search-bar-link-spacer");a.N.appendChild(b);Ov(a,a.N,"Next \u203a",function(){Nv(a,a.j,1)},"Next");b=C("SPAN");x(b,z("&nbsp;&nbsp;-&nbsp;&nbsp;"));O(b,"search-bar-link-spacer");a.N.appendChild(b);Ov(a,a.N,"View all",function(){dv(a.i)})}
function Gv(a){a.ma.appendChild(a.U);var b=C("SPAN");x(b,z("-&nbsp;&nbsp;"));O(b,"search-bar-link-spacer");a.U.appendChild(b);a.U.appendChild(qf("Order by: "));a.U.appendChild(a.Ha);Ov(a,a.Ha,"relevance",function(){Pv(a,"r")},"Order by relevance");b=C("SPAN");x(b,z("&nbsp;|&nbsp;<b>pages</b>"));a.Ha.appendChild(b);a.U.appendChild(a.Ja);b=C("SPAN");x(b,z("<b>relevance</b>&nbsp;|&nbsp;"));a.Ja.appendChild(b);Ov(a,a.Ja,"pages",function(){Pv(a,"n")},"Order by pages")}
function Fv(a){a.V=a.o?A("sort-dropdown-button"):B("A",{"class":"search-bar-sort-dropdown-link"});var b=a.o?A("sort-dropdown-label"):B("SPAN",{"class":"search-bar-sort-dropdown-text"});G(b,"Order by ");a.na=B("SPAN",{"class":"search-bar-sort-dropdown-selected"});G(a.na,"pages");var c=a.V;dk(c,"Order by pages");c.setAttribute("title","Order by pages");b.appendChild(a.na);b=new yv;var d=new ov("relevance");d.Ph("Order by relevance");b.ab(d,!0);O(d.ha(),"search-bar-sort-dropdown-item");var e=new ov("pages");
e.Ph("Order by pages");b.ab(e,!0);xh(e.ha(),["search-bar-sort-dropdown-item","search-bar-sort-dropdown-item-selected"]);b.Sl=!0;a.va?b.render(a.U):b.render(document.body);O(b.ha(),"sort-dropdown-menu");c=C("SPAN");c.id="current-sort-label";G(c,"Current");N(c,!1);b.ha().appendChild(c);X(e.ha(),"describedby","current-sort-label");a.ua?(b.attach(a.V,12,13),O(b.ha(),"popup-menu")):b.attach(a.V,13,12);a.g.ka(b,"action",function(g){Qv(a,g,d.ha(),e.ha())});a.g.ka(b,"keydown",function(g){g.keyCode!=32&&g.keyCode!=
13||Qv(a,g,d.ha(),e.ha())});a.va&&a.g.ka(b,"beforeshow",function(){var g=a.V.offsetWidth-32;gh(d.ha(),g);gh(e.ha(),g)})}function Hv(a){var b=C("SPAN");O(b,"search-bar-close-link-container");a.ua?a.Da.appendChild(b):a.ma.appendChild(b);a.g.ka(b,"click",a.Ia);var c=Ov(a,b,"Clear search",function(){a.Ia()});O(c,"search-bar-close-link");c=C("IMG");c.src="/googlebooks/images/close_x.gif";O(c,"search-bar-close-img");b.appendChild(c)}
function fv(a,b){N(Kv,!b);N(a.U,b);a.o?(N(a.N,!b),b=!b&&a.i.o.Ab.length==1,P(a.N,"toolbar-button-disabled",b),X(a.N,"disabled",b)):N(a.N,!b&&a.i.o.Ab.length>1);a.ma&&N(a.ma,!0);Rv!=null&&Rv.resize()}function Sv(a){a.V?Lv(a,!1):N(a.U,!1);a.va&&N(a.U,!0);N(a.N,!1);tf(a.l)}function $u(a){Sv(a);x(a.l,z("Loading..."));a.o&&a.l.removeAttribute("aria-label")}
function bv(a){Sv(a);var b=a.i.o,c=vq(b),d=null;c&&!a.o&&(d=C("SPAN"),x(d,z("Did you mean: ")),Ov(a,d,c,function(){var h=a.i.i;if(h){var k=ed(c);xm(h.O.Ya(),k);h.N.wc(k);h.o&&h.o.update()}}));var e=C("SPAN");a.o?x(e,z("No results")):x(e,z(Xb("No results found in this book for "+uq(b))));b=C("A");a.o||(x(b,z("Search all books")),b.setAttribute("target","_top"),O(b,"sitb-action-link"));var g=Wm()=="patents"?new R("https://www.google.com/search?tbm=pts&tbo=p&hl=en"):new R("https://www.google.com/search?tbm=bks&tbo=p");
iv(g);T(g,"output")=="embed"&&gi(g,"output");S(g,"q",ed(uq(a.i.o)));Fc(b,g.toString());a.o?(a.l.appendChild(e),a.l.removeAttribute("aria-label")):a.ua?(a.l.appendChild(e),a.l.appendChild(b),d&&(Rc(d,"afterbegin",z("&nbsp;&nbsp;&middot;&nbsp;&nbsp;")),a.l.appendChild(d))):(d&&(a.l.appendChild(d),a.l.appendChild(C("BR"))),Rc(e,"beforeend",z("&nbsp;&nbsp;-&nbsp;&nbsp;")),a.l.appendChild(e),Rc(b,"beforeend",z(" &raquo;")),a.l.appendChild(b));Rv!=null&&Rv.resize()}
function Tv(a,b,c,d,e){a.j+=e;a.j>=c.length&&(a.j=0);a.j<0&&(a.j=c.length-1);if(a.j!=d){var g=c[a.j];cv(a.i,g)?(e=Xh(S(S(S(new R(b.href),"pg",g.Na()),"num",a.j),"scoring",a.i.j),""),Fc(b,e.toString()),cv(a.i,c[d])):Tv(a,b,c,d,e)}}Bv.prototype.wa=function(){W.prototype.wa.call(this);Qf(this.Ca);N(Kv,!0);E(this.ma);Rv!=null&&Rv.resize();this.o&&(gv(this,!1),E(ef("sort-dropdown-menu")),tf(this.l))};
function Ov(a,b,c,d,e){var g=C("SPAN");O(g,"search-bar-link");Zj(g,"link");dk(g,e?e:c);Hf(g,!0);b.appendChild(g);g.innerText=c;a.g.ka(g,"click",d);a.g.ka(g,"keydown",function(h){h.keyCode!=32&&h.keyCode!=13||d()});return g}function Mv(a,b,c,d){dk(b,d);b.setAttribute("title",d);a.g.ka(b,"click",c);a.g.ka(b,"keydown",function(e){e.keyCode!=32&&e.keyCode!=13||c()})}Bv.prototype.Ia=function(){var a=this.i;xm(a.i.O.Ya(),"");kn()&&Fu(a.l,!1);(a=this.i.i)&&a.o&&a.o.update()};
function Nv(a,b,c){var d=a.i.o.Ab.length;a.j+=c;a.j>=d&&(a.j=0);a.j<0&&(a.j=d-1);a.j!=b&&(cv(a.i,a.i.o.Ab[a.j])||Nv(a,b,c))}function Pv(a,b){(a=a.i.i)&&a.update(b)}
function Qv(a,b,c,d){if((b=b.target.Ac())&&a.na){var e=a.V;switch(b){case "pages":Pv(a,"n");G(a.na,"pages");dk(e,"Order by pages");e.setAttribute("title","Order by pages");P(d,"search-bar-sort-dropdown-item-selected",!0);X(d,"describedby","current-sort-label");P(c,"search-bar-sort-dropdown-item-selected",!1);c.removeAttribute("aria-describedby");break;case "relevance":Pv(a,"r"),G(a.na,"relevance"),dk(e,"Order by relevance"),e.setAttribute("title","Order by relevance"),P(c,"search-bar-sort-dropdown-item-selected",
!0),X(c,"describedby","current-sort-label"),P(d,"search-bar-sort-dropdown-item-selected",!1),d.removeAttribute("aria-describedby")}}}
function Lv(a,b){a.V&&(P(a.V,"search-bar-sort-dropdown-disabled",!b),X(a.V,"disabled",!b));var c=a.i.j=="n";b&&!c&&(G(a.na,"relevance"),b=a.V,dk(b,"Order by relevance"),b.setAttribute("title","Order by relevance"),b=df("search-bar-sort-dropdown-item"),P(b[0],"search-bar-sort-dropdown-item-selected",!0),X(b[0],"describedby","current-sort-label"),P(b[1],"search-bar-sort-dropdown-item-selected",!1),b[1].removeAttribute("aria-describedby"));a.o&&a.l.setAttribute("data-search-sort",a.i.j)}
function gv(a,b){a.va?(N(A("gb-mobile-search"),b),N(A("gb-mobile-search-buttons"),b)):(P(A("entity-page-search-nav"),"hide-search-nav",!b),P(A("search-results-summ"),"hide-search-nav",!b),P(A("search-close"),"hide-search-nav",!b))}var Cv,Kv,Rv;function Uv(a,b,c,d){W.call(this);var e=this;this.O=a;this.N=b;this.o=c;this.U=d;this.V=Nd&&d&&d.isOgenEligibleMobileViewport;this.g.ka(a.Ya(),"change",function(){e.update("r")})}n(Uv,W);
Uv.prototype.update=function(a,b,c){this.i?(this.i.dispose(),this.i=null):(this.O.U&&(this.l=this.O.U),this.j=new Bv(this.U));var d=this.O.Ya().getQuery();b&&!b.search_query_escaped&&b.number_of_results>0&&d&&(b.search_query_escaped=d);if(b&&b.search_query_escaped){if(this.i=new Yu(this),this.j.i=this.i,d=!zm(),av(this.i,d,b,c,a),a=this.j,kn()&&a.j!==void 0){b=a.i.o.Ab;d=b.length;c=new R(window.location.href);var e=Number(T(c,"num"));e&&d>0&&(d=b[Number(e)],e=T(c,"jtp"),c=T(c,"pg"),e?cv(a.i,d,"",
e):c?cv(a.i,d,c):cv(a.i,d));c=a.j;d=A("search-result-prev");Tv(a,d,b,c,-1);dk(d,"Previous result");d.setAttribute("title","Previous result");d=A("search-result-next");Tv(a,d,b,c,1);dk(d,"Next result");d.setAttribute("title","Next result")}}else d?(this.i=new Yu(this),this.j.i=this.i,Zu(this.i,d,a),this.N.wc(d)):(this.i&&(this.i.dispose(),this.i=null),this.O.Ga()instanceof ns&&(this.O.Zb(this.l),this.V&&!kn()&&this.O.Ga().Wf(this.O.Ga().getSize().width)),this.j&&(this.j.dispose(),this.j=null),this.N.wc(""))};function Vv(a,b){var c=this;this.O=a;b&&(this.g=b);this.l=new Uq(document);this.i={};this.j={};I(this.l,"key",function(d){var e=c.i[String.fromCharCode(d.charCode)]||c.j[d.keyCode];e&&e(d)});Wv(this,33,function(){Xv(c,-1)},!1,!0);Wv(this,34,function(){Xv(c,1)},!1,!0);Wv(this,38,function(){Yv(c,0,-20)},!1,!0);Wv(this,40,function(){Yv(c,0,20)},!1,!0);this.g||(Wv(this,37,function(){c.O.U==Gr&&c.O.Ga().Hb().getSize().width>c.O.wb()?Yv(c,-20,0):c.O.rb("previous")},!1,!0),Wv(this,39,function(){c.O.U==Gr&&
c.O.Ga().Hb().getSize().width>c.O.wb()?Yv(c,20,0):c.O.rb("next")},!1,!0),Wv(this,32,function(d){d.shiftKey?Xv(c,-1):Xv(c,1)},!0,!0),Wv(this,74,function(){c.O.rb("next")},!0),Wv(this,75,function(){c.O.rb("previous")},!0),Zv(this,"+",function(){c.O.rb("zoomin")}),Zv(this,"-",function(){c.O.rb("zoomout")}),Zv(this,"=",function(){c.O.rb("zoomin")}));Zv(this,"?",function(){c.O.rb("showkeyboardshortcuts")})}function Zv(a,b,c){a.i[b]=t($v,c,!0,void 0)}function Wv(a,b,c,d,e){a.j[b]=t($v,c,d,e)}
function $v(a,b,c,d){b&&d.repeat||d.ctrlKey||d.altKey||d.metaKey||aw[d.target.tagName.toUpperCase()]||(c&&d.preventDefault(),a(d))}function Xv(a,b){var c=a.g?a.g.clientHeight:a.O.Ga().getSize().height;Yv(a,0,Math.floor(b*c*.75))}function Yv(a,b,c){a.g?a.g.scrollTop+=c:(a=a.O.Ga(),sp(a,new w(b,c),r(a.Ed,a)))}var aw={BUTTON:!0,INPUT:!0,SELECT:!0,TEXTAREA:!0};function bw(a){this.g=lo(a,void 0,void 0,2048)}n(bw,Do);var cw=function(a){return function(b){b=JSON.parse(b);if(!Array.isArray(b))throw Error("Expected jspb data to be an array, got "+Va(b)+": "+b);$n(b,34);return new a(b)}}(bw);var dw;function ew(){var a=dw||(dw=cw('[null,null,null,null,null,"(function(){\'use strict\';var f\\u003dtypeof Object.defineProperties\\u003d\\u003d\\"function\\"?Object.defineProperty:function(a,c,b){if(a\\u003d\\u003dArray.prototype||a\\u003d\\u003dObject.prototype)return a;a[c]\\u003db.value;return a};function g(a){a\\u003d[\\"object\\"\\u003d\\u003dtypeof globalThis\\u0026\\u0026globalThis,a,\\"object\\"\\u003d\\u003dtypeof window\\u0026\\u0026window,\\"object\\"\\u003d\\u003dtypeof self\\u0026\\u0026self,\\"object\\"\\u003d\\u003dtypeof global\\u0026\\u0026global];for(var c\\u003d0;c\\u003ca.length;++c){var b\\u003da[c];if(b\\u0026\\u0026b.Math\\u003d\\u003dMath)return b}throw Error(\\"Cannot find global object\\");}var h\\u003dg(this);\\nfunction k(a,c){if(c)a:{var b\\u003dh;a\\u003da.split(\\".\\");for(var d\\u003d0;d\\u003ca.length-1;d++){var e\\u003da[d];if(!(e in b))break a;b\\u003db[e]}a\\u003da[a.length-1];d\\u003db[a];c\\u003dc(d);c!\\u003dd\\u0026\\u0026c!\\u003dnull\\u0026\\u0026f(b,a,{configurable:!0,writable:!0,value:c})}}k(\\"globalThis\\",function(a){return a||h});/*\\n\\n Copyright Google LLC\\n SPDX-License-Identifier: Apache-2.0\\n*/\\nvar l\\u003dglobalThis.trustedTypes,m;function n(){var a\\u003dnull;if(!l)return a;try{var c\\u003dfunction(b){return b};a\\u003dl.createPolicy(\\"goog#html\\",{createHTML:c,createScript:c,createScriptURL:c})}catch(b){}return a};function p(a){this.g\\u003da}p.prototype.toString\\u003dfunction(){return this.g+\\"\\"};function q(a){m\\u003d\\u003d\\u003dvoid 0\\u0026\\u0026(m\\u003dn());a\\u003dm?m.createScriptURL(a):a;return new p(a)};if(!function(){if(self.origin)return self.origin\\u003d\\u003d\\u003d\\"null\\";if(location.host!\\u003d\\u003d\\"\\")return!1;try{return window.parent.escape(\\"\\"),!1}catch(a){return!0}}())throw Error(\\"sandboxing error\\");\\nwindow.addEventListener(\\"message\\",function(a){var c\\u003da.ports[0];a\\u003da.data;var b\\u003da.callbackName.split(\\".\\"),d\\u003dwindow;b[0]\\u003d\\u003d\\u003d\\"window\\"\\u0026\\u0026b.shift();for(var e\\u003d0;e\\u003cb.length-1;e++)d[b[e]]\\u003d{},d\\u003dd[b[e]];d[b[b.length-1]]\\u003dfunction(r){c.postMessage(JSON.stringify(r))};b\\u003ddocument.createElement(\\"script\\");a\\u003dq(a.url);if(a instanceof p)a\\u003da.g;else throw Error(\\"\\");b.src\\u003da;document.body.appendChild(b)},!0);}).call(this);\\n"]'));
if(!a)return null;a=vo(a,6,void 0,uo);a=a==null||typeof a==="string"?a:void 0;if(a===null||a===void 0)a=null;else{var b=oc();a=b?b.createScript(a):a;a=new Mc(a)}return a};function fw(a){this.url=a;this.timeout=5E3;this.l="callback";this.g=this.i=null}function gw(a){var b=b===void 0?{}:b;a.g=ij();var c=new R(a.url),d=new Map;d.set("callback",a.l);c.j.aq(ji(b),d);hw(a).then(function(){iw(a,c.toString())}).then(function(){return a.g.promise}).then(function(){jw(a)},function(){jw(a)});a.timeout>0&&(a.j=setTimeout(function(){a.g.reject(Error("Timeout!"))},a.timeout));return a.g.promise}
function iw(a,b){var c=new MessageChannel;a.i.contentWindow.postMessage({url:b,callbackName:a.l},"*",[c.port2]);c.port1.onmessage=function(d){var e={};a.j!==void 0&&(clearTimeout(a.j),a.j=void 0);d.data===void 0&&a.g.reject(Error("Callback called, but no data received"));typeof d.data!=="string"&&a.g.reject(Error("Exploitation attempt! Data is not a string!"));try{e=JSON.parse(d.data)}catch(g){a.g.reject(Error("Invalid Data received: "+g.message))}a.g.resolve(e)}}
function hw(a){var b=ij(),c=C("IFRAME");if(!c.sandbox)throw Error("iframe sandboxes not supported");c.sandbox.value="allow-scripts";c.style.display="none";a.i=c;a=ew();a=ge([Hc("<!DOCTYPE html>"),ne("body",{},fe(a))]);c.srcdoc=Jc(a);a=Wc("data:text/html;charset=UTF-8;base64,"+btoa(Jc(a).toString()));c.src=rc(a).toString();c.addEventListener("load",function(){return b.resolve(c)},!1);c.addEventListener("error",function(d){b.reject(d instanceof Error?d:Error(String(d)))},!1);document.documentElement.appendChild(c);
return b.promise}function jw(a){a.i!==null&&(document.documentElement.removeChild(a.i),a.i=null)};function kw(a){vp.call(this,a);this.i=new fw(a);this.g=!0}n(kw,vp);kw.prototype.Td=function(a,b){vp.prototype.Td.call(this,a,b);this.g=!1;gw(this.i).then(r(this.o,this,a),r(this.l,this,b))};kw.prototype.o=function(a,b){this.g||(this.j=b,this.dispatchEvent("success"),a&&a(this.j),this.g=!0)};kw.prototype.l=function(a){this.g||(this.dispatchEvent("error"),a&&a(),this.g=!0)};kw.prototype.abort=function(){return this.g=!0};function lw(a,b,c,d,e){Array.isArray(a)||(a=[a]);this.g=a;this.j=b;this.i=c;b=new R((GBS_HOST||"https://books.google.com/")+"books?jscmd=viewapi");S(b,"bibkeys",a.join(","));S(b,"hl",e||"en");S(b,"source",d||"previewlib");(new kw(b)).Td(r(this.l,this))}lw.prototype.l=function(a){for(var b=0;b<this.g.length;b++){var c=a[this.g[b]];if(c){var d=c.preview_url,e;if(e=d)e=c.preview,c=c.embeddable,c===void 0&&(c=!0),e=(e=="full"||e=="partial")&&c;if(e){this.j&&this.j(d);return}}}this.i&&this.i()};var mw=RegExp("[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]"),nw=RegExp("^[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]"),ow=/^http:\/\/.*/,pw=/\s+/,qw=/[\d\u06f0-\u06f9]/;var rw={},sw={};function tw(){throw Error("Do not instantiate directly");}tw.prototype.Gn=null;tw.prototype.Ac=function(){return this.content};tw.prototype.toString=function(){return this.content};tw.prototype.Jp=function(){if(this.Ef!==rw)throw Error("Sanitized content was not of kind HTML.");return Hc(this.toString())};function uw(){tw.call(this)}u(uw,tw);uw.prototype.Ef=rw;function vw(a){if(a!=null)switch(a.Gn){case 1:return 1;case -1:return-1;case 0:return 0}return null}function ww(a){return a!=null&&a.Ef===rw?a:a instanceof Gc?xw(Jc(a).toString()):xw(String(String(a)).replace(yw,zw),vw(a))}var xw=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c,d){c=new b(String(c));d!==void 0&&(c.Gn=d);return c}}(uw);function Aw(a){return a instanceof tw?!!a.Ac():!!a}function Bw(a){return Cw(String(a),function(){return""}).replace(Dw,"&lt;")}
var Ew=RegExp.prototype.hasOwnProperty("sticky"),Fw=new RegExp((Ew?"":"^")+"(?:!|/?([a-zA-Z][a-zA-Z0-9:-]*))",Ew?"gy":"g");
function Cw(a,b){for(var c=[],d=a.length,e=0,g=[],h,k,l=0;l<d;){switch(e){case 0:var m=a.indexOf("<",l);if(m<0){if(c.length===0)return a;c.push(a.substring(l));l=d}else c.push(a.substring(l,m)),k=m,l=m+1,Ew?(Fw.lastIndex=l,m=Fw.exec(a)):(Fw.lastIndex=0,m=Fw.exec(a.substring(l))),m?(g=["<",m[0]],h=m[1],e=1,l+=m[0].length):c.push("<");break;case 1:m=a.charAt(l++);switch(m){case "'":case '"':var p=a.indexOf(m,l);p<0?l=d:(g.push(m,a.substring(l,p+1)),l=p+1);break;case ">":g.push(m);c.push(b(g.join(""),
h));e=0;g=[];k=h=null;break;default:g.push(m)}break;default:throw Error();}e===1&&l>=d&&(l=k+1,c.push("<"),e=0,g=[],k=h=null)}return c.join("")}function Gw(a){a!=null&&a.Ef===rw?(a=Bw(a.Ac()),a=String(a).replace(Hw,zw)):a=String(a).replace(yw,zw);return a}
var Iw={"\x00":"&#0;","\t":"&#9;","\n":"&#10;","\v":"&#11;","\f":"&#12;","\r":"&#13;"," ":"&#32;",'"':"&quot;","&":"&amp;","'":"&#39;","-":"&#45;","/":"&#47;","<":"&lt;","=":"&#61;",">":"&gt;","`":"&#96;","\u0085":"&#133;","\u00a0":"&#160;","\u2028":"&#8232;","\u2029":"&#8233;"};function zw(a){return Iw[a]}
var yw=/[\x00\x22\x26\x27\x3c\x3e]/g,Hw=/[\x00\x22\x27\x3c\x3e]/g,Jw=/^(?!on|src|(?:action|archive|background|cite|classid|codebase|content|data|dsync|href|http-equiv|longdesc|style|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i,Dw=/</g;/*
 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
function Kw(a,b,c,d){a:{a=a(b||Lw,c);d=d||Xe();if(a&&a.g)d=a.g();else{d=Of(d,"DIV");b:if(Xa(a)){if(a.Jp&&(a=a.Jp(),a instanceof Gc))break b;a=de("zSoyz")}else a=de(String(a));d.innerHTML=Jc(a)}if(d.childNodes.length==1&&(a=d.firstChild,a.nodeType==1)){d=a;break a}}return d}var Lw={};function Mw(a){a=a||{};var b=a.attributes,c=a.content,d=a.disabled,e=a.id,g=a.Nw,h=a.title,k=a.Rv,l=a.value,m=xw;e='<div role="button"'+(Aw(e)?' id="'+Gw(e)+'"':"")+' class="';var p=a||{};a=p.tw;var y=p.disabled,D=p.checked,H=p.style;p=p.width;var F="goog-inline-block jfk-button ";switch(Xa(H)?H.toString():H){case 0:F+="jfk-button-standard";break;case 2:F+="jfk-button-action";break;case 3:F+="jfk-button-primary";break;case 1:F+="jfk-button-default";break;case 4:F+="jfk-button-flat";break;case 5:F+=
"jfk-button-mini";break;case 6:F+="jfk-button-contrast";break;default:F+="jfk-button-standard"}F+=((p&&p.qu&&(1).qu?p.Ef!==(1).Ef?0:p.toString()===(1).toString():p==1)?" jfk-button-narrow":"")+(Aw(D)?" jfk-button-checked":"")+(Aw(a)?" "+a:"")+(Aw(y)?" jfk-button-disabled":"");d=e+Gw(F)+'"'+(Aw(d)?' aria-disabled="true"':' tabindex="'+(Aw(g)?Gw(g):"0")+'"')+(Aw(h)?Aw(k)?' data-tooltip="'+Gw(h)+'"':' title="'+Gw(h)+'"':"")+(Aw(l)?' value="'+Gw(l)+'"':"");Aw(b)?(b!=null&&b.Ef===sw?b=b.Ac():(b=String(b),
b=Jw.test(b)?b:"zSoyz"),b!=null&&b.Ef===sw&&(b=b.Ac()),b=(b&&!b.startsWith(" ")?" ":"")+b):b="";return m(d+b+">"+ww(c!=null?c:"")+"</div>")};function Nw(a,b){this.j=a;this.N=!!b;this.l={0:this.j+"-arrowright",1:this.j+"-arrowup",2:this.j+"-arrowdown",3:this.j+"-arrowleft"}}n(Nw,Hp);f=Nw.prototype;f.Oh=function(a){this.i=a};f.setPosition=function(a,b,c,d){a!=null&&(this.uk=a);b!=null&&(this.nk=b);typeof c==="number"&&(this.zn=Math.max(c,15));typeof d==="number"&&(this.vl=d)};f.Lc=function(a,b,c){a=this.nk;a==2&&(a=0);Ow(this,this.uk,a,this.nk==2?Pw(this.uk)?this.g.offsetHeight/2:this.g.offsetWidth/2:this.zn,0,c)};
function Ow(a,b,c,d,e,g){if(a.i){var h=Qw(b,c);var k=a.i;var l=a.g,m=a.Ea,p=M(k);a:{p=(Pw(b)?p.height/2:p.width/2)-d;var y=Kp(k,h);if(m)m=m.clone(),l&&(l=Jp(l),m.left+=l.x,m.right+=l.x,m.top+=l.y,m.bottom+=l.y);else if(m=Yg(k),!m){k=p;break a}k=Fg(ih(k));Pw(b)?k.top<m.top&&!(y&1)?p-=m.top-k.top:k.bottom>m.bottom&&y&1&&(p-=k.bottom-m.bottom):k.left<m.left&&!(y&4)?p-=m.left-k.left:k.right>m.right&&y&4&&(p-=k.right-m.right);k=p}k=Pw(b)?new w(a.vl,k):new w(k,a.vl);p=Pw(b)?6:9;a.lk&&e==2&&(p=Pw(b)?4:1);
y=b^3;Pw(b)&&a.i.dir=="rtl"&&(y=b);h=Ip(a.i,Qw(y,c),a.g,h,k,g,a.Zk?p:0,void 0,a.Ea);if(e!=2&&h&496){Ow(a,b^3,c,d,a.lk&&e==0?1:2,g);return}!a.N||h&496||(e=parseFloat(a.g.style.left),g=parseFloat(a.g.style.top),isFinite(e)&&e%1==0&&isFinite(g)&&g%1==0||Tg(a.g,Math.round(e),Math.round(g)))}Rw(a,b,c,d)}
function Rw(a,b,c,d){var e=a.o;Mb(a.l,function(g){P(e,g,!1)},a);O(e,a.l[b]);e.style.top=e.style.left=e.style.right=e.style.bottom="";a.i?(c=ch(a.i,a.g),d=Sw(a.i,b),Pw(b)?e.style.top=Tw(c.y+d.y,a.g.offsetHeight-15)+"px":e.style.left=Tw(c.x+d.x,a.g.offsetWidth-15)+"px"):e.style[c==0?Pw(b)?"top":"left":Pw(b)?"bottom":"right"]=d+"px"}function Tw(a,b){return 15>b?15:Gb(a,15,b)}function Qw(a,b){switch(a){case 2:return b==0?1:5;case 1:return b==0?0:4;case 0:return b==0?12:13;default:return b==0?8:9}}
function Sw(a,b){var c=0,d=0;a=M(a);switch(b){case 2:c=a.width/2;break;case 1:c=a.width/2;d=a.height;break;case 0:d=a.height/2;break;case 3:c=a.width,d=a.height/2}return new w(c,d)}function Pw(a){return a==0||a==3}f.Zk=!1;f.nk=2;f.zn=20;f.uk=3;f.Ea=null;f.vl=-5;f.lk=!1;function Uw(a){Rf.call(this);this.i=a||Xe()}n(Uw,Rf);Uw.prototype.o=function(){Zj(this.ha(),"tooltip");X(this.ha(),"live","polite")};function Vw(a){Uw.call(this,a);this.g=this.i.Pa("DIV",Ww()+"-contentId");this.j=this.i.Pa("DIV",Ww()+"-arrow",this.i.Pa("DIV",Ww()+"-arrowimplbefore"),this.i.Pa("DIV",Ww()+"-arrowimplafter"));this.l=this.i.Pa("DIV",{"class":Ww(),role:"tooltip"},this.g,this.j);this.o()}n(Vw,Uw);function Ww(){return"jfk-tooltip"}Vw.prototype.ha=function(){return this.l};Vw.prototype.wa=function(){Uw.prototype.wa.call(this);this.l&&E(this.l)};function Xw(a){Vw.call(this,a)}n(Xw,Vw);Xw.prototype.o=function(){Zj(this.ha(),"tooltip")};function Yw(a){return ed(Xb(a.replace(Zw,function(b,c){return $w.test(c)?"":" "}).replace(/[\t\n ]+/g," ")))}var $w=/^(?:abbr|acronym|address|b|em|i|small|strong|su[bp]|u)$/i,Zw=/<[!\/]?([a-z0-9]+)([\/ ][^>]*)?>/gi;function ax(a){a=a||Xe();var b=Ya(a.g);bx[b]||(bx[b]=new cx(a))}function dx(a,b){var c=b instanceof Gc?Yw(Jc(b).toString()):b;a.removeAttribute("title");a.removeAttribute("data-tooltip-contained");a.removeAttribute("data-tooltip");b?(b instanceof Gc?a.j=b:(a.setAttribute("data-tooltip",b),a.j=null),a.setAttribute("aria-label",c)):(a.j=null,a.removeAttribute("aria-label"));ax(Xe(a))}var bx={};
function cx(a){ug.call(this);this.va=a;this.ua=new Fj(this.Lv,0,this);Sf(this,this.ua);var b=mf();this.V=typeof b.MutationObserver==="function"?new b.MutationObserver(r(this.Xs,this)):null;a=a.g;this.ka(a,"mouseout mousedown click blur focusout keydown".split(" "),this.vs,!0);this.ka(a,["mouseover","focus","focusin"],this.vv,!0)}n(cx,ug);f=cx.prototype;f.wa=function(){ex(this);ug.prototype.wa.call(this)};
function fx(a,b){switch(b.type){case "mousedown":case "mouseover":case "mouseout":case "click":a.Ca=!1;break;case "keydown":a.Ca=!0}}f.vv=function(a){this.V&&this.V.disconnect();fx(this,a);var b=a.target;a=a.type=="focus"||a.type=="focusin";var c=this.g&&Cf(this.g.g,b);if(this.Ca||!a||c){this.Da=a;if(a=b&&b.getAttribute&&this.V)a=b.getAttribute("role")||null,a=rb(Yj,a);a&&(this.V.observe(b,{attributes:!0}),(a=bk(b))&&(b=a));this.o=b}else this.o=null;gx(this)};
f.vs=function(a){fx(this,a);var b=a.target;b=this.g&&Cf(this.g.g,b);if(a.type!="mousedown"&&a.type!="click"||!b)this.o=null,gx(this)};f.Xs=function(a){v(a,r(function(b){var c=bk(b.target);c&&b.attributeName=="aria-activedescendant"&&(this.o=c,gx(this))},this))};function gx(a){if(!(a.ua.isActive()&&a.i&&a.U)){ex(a);var b=a.U!=null?a.U:50;a.ua.start(a.i?b:300)}}function ex(a){a.ma&&(xj(a.ma),a.ma=0,a.i=null)}
f.Lv=function(){if(!this.o)hx(this),this.U=this.i=null;else if(!(this.i&&this.g&&Cf(this.g.ha(),this.o))||this.i.getAttribute("data-tooltip-unhoverable")){var a=Mf(this.o,function(k){return k.getAttribute&&(k.getAttribute("data-tooltip-contained")||k.getAttribute("data-tooltip")||k.j)&&!k.getAttribute("data-tooltip-suspended")}),b=!1;this.i&&this.i!=a&&(hx(this),this.U=this.i=null,b=!0);if(!this.i&&a&&(this.i=a,!(a.getAttribute("data-tooltip-only-on-overflow")&&a.offsetWidth>=a.scrollWidth&&a.offsetHeight>=
a.scrollHeight||this.Da&&"mouse"==a.getAttribute("data-tooltip-trigger")))){var c=Ic;if(a.getAttribute("data-tooltip-contained"))for(var d=df("jfk-tooltip-data",a),e=0;e<d.length;e++){if(d[e].parentNode==a){c=d[e].cloneNode(!0);break}}else c=a.j?a.j:de(a.getAttribute("data-tooltip"),{Mh:!0});d=a.getAttribute("data-tooltip-align");e=a.getAttribute("data-tooltip-class");var g=a.getAttribute("data-tooltip-offset");g=Wb(ld(g))?-1:Number(g);var h=a.getAttribute("data-tooltip-hide-delay");h=Wb(ld(h))?null:
Number(h);if(!b&&(a=a.getAttribute("data-tooltip-delay"),a=Math.max(0,a-300))){this.ma=U(t(this.Bp,this.i,c,d,g,e,h),a,this);return}this.Bp(this.i,c,d,g,e,h)}}};function ix(a){if(a)switch(a.toLowerCase().split(",")[0]){case "l":return 0;case "t":return 2;case "r":return 3}return 1}
f.Bp=function(a,b,c,d,e,g){this.ma=0;this.U=g;if(!this.g){this.g=new Xw(this.va);hx(this);g=this.va.g.body;var h=this.g.ha();g.appendChild(h);Sf(this,this.g);this.j=new Nw(Ww(),!0);this.j.Zk=!0;this.j.lk=!0;g=this.j;h=this.g.ha();var 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.j.setPosition(ix(c),g,void 0,d);yh(this.g.ha(),"jfk-tooltip-hide");this.na!=e&&(this.na&&!Wb(ld(this.na))&&yh(this.g.ha(),this.na),Wb(ld(e))||O(this.g.ha(),
e),this.na=e);Tg(this.g.ha(),0,0);if(b instanceof Gc)x(this.g.g,b);else for(tf(this.g.g);c=b.firstChild;)this.g.g.appendChild(c);this.j.Oh(a);this.j.Lc(null,0)};function hx(a){if(a.g){O(a.g.ha(),"jfk-tooltip-hide");var b;(b=a.j)==null||b.Oh(null)}};function jx(a){var b="Lf";if(a.Lf&&a.hasOwnProperty(b))return a.Lf;b=new a;return a.Lf=b};var Pc=sa(["value"]);function kx(a,b,c,d){Ar.call(this,a,lx.Nb(),b);this.ua=c||0;this.ub=d||0;this.Ja=!1}u(kx,Ar);f=kx.prototype;f.wb=function(){return this.ub};f.tf=function(a){this.V=a;var b=this.ha();b&&(this.Ja?dx(b,a):a?b.title=a:b.removeAttribute("title"))};f.tb=function(a){this.isEnabled()!=a&&(kx.oa.tb.call(this,a),mx(this))};f.focus=function(){var a=this.ya;try{a.focus()}catch(b){}};f.tj=function(a){kx.oa.tj.call(this,a);nx(this,!1)};
f.yf=function(a){kx.oa.yf.call(this,a);this.isEnabled()&&nx(this,!0)};f.Ce=function(a){kx.oa.Ce.call(this,a);this.isEnabled()&&nx(this,!0)};function nx(a,b){a.ha()&&P(a.ha(),"jfk-button-clear-outline",b)}function mx(a){a.ha()&&ox(a.vd(),a)}function px(a,b){if(typeof a==="string"){var c=a;a=C("IMG");a.src=c;K(a,21,21)}O(a,"jfk-button-img");c=[];c.push(a);b&&(a=B("SPAN","jfk-button-label",b),c.push(a));return c}
function lx(){this.Ka=this.Sa()+"-standard";this.j=this.Sa()+"-action";this.na=this.Sa()+"-primary";this.N=this.Sa()+"-default";this.U=this.Sa()+"-flat";this.ma=this.Sa()+"-narrow";this.V=this.Sa()+"-mini";this.o=this.Sa()+"-contrast"}u(lx,jr);lx.Nb=function(){return jx(lx)};lx.prototype.g=function(a,b,c){a&&c.ua!=a&&(c.ua=a,mx(c));b&&c.ub!=b&&(c.ub=b,mx(c))};lx.prototype.Sa=function(){return"jfk-button"};
lx.prototype.Mc=function(a){var b=a.g,c=Kw(Mw,{disabled:!a.isEnabled(),checked:hr(a,16),style:a.ua,title:a.af(),Rv:a.Ja,value:a.Bb(),width:a.wb()},void 0,b);b.dm(c,a.Ac());this.Tb(a,c);return c};
lx.prototype.Tb=function(a,b){lx.oa.Tb.call(this,a,b);this.l||(this.l=Ub(this.Ka,t(this.g,0,null),this.j,t(this.g,2,null),this.na,t(this.g,3,null),this.N,t(this.g,1,null),this.U,t(this.g,4,null),this.V,t(this.g,5,null),this.o,t(this.g,6,null),this.ma,t(this.g,null,1)));for(var c=uh(b),d=0;d<c.length;++d){var e=this.l[c[d]];e&&e(a)}if(c=b.getAttribute("data-tooltip"))a.V=c,a.Ja=!0;return b};var Tc=[new Oc];lx.prototype.Bb=function(a){return a.getAttribute("value")||""};
lx.prototype.wc=function(a,b){a&&Sc(a,b)};function ox(a,b){function c(h,k){(h?d:e).push(k)}var d=[],e=[],g=b.ua;c(g==0,a.Ka);c(g==2,a.j);c(g==3,a.na);c(g==4,a.U);c(g==5,a.V);c(g==1,a.N);c(g==6,a.o);c(b.wb()==1,a.ma);c(!b.isEnabled(),a.Sa()+"-disabled");zh(b.ha(),e);xh(b.ha(),d)};function qx(a,b,c){Iu.call(this,a,b,c)}u(qx,Iu);f=qx.prototype;f.Fi=!1;f.Zh=!1;f.hi=function(){qx.oa.hi.call(this);this.Ia=Fg(ih(this.ha()));this.g&&(this.Wa=Fg(ih(this.g)));this.Zh=this.Fi;I(this.l.g,"mousemove",this.Bg,!1,this)};f.Qg=function(){qg(this.l.g,"mousemove",this.Bg,!1,this);this.Wa=this.Ia=null;this.Zh=!1;qx.oa.Qg.call(this)};
f.Xi=function(a){if(this.va){var b=Zg(this.ha()),c=hh(this.ha());return b.x-this.va.left<=a.x&&a.x<=b.x+c.width+this.va.right&&b.y-this.va.top<=a.y&&a.y<=b.y+c.height+this.va.bottom}return qx.oa.Xi.call(this,a)};function rx(a,b){if(a.Wa&&Cg(a.Wa,b)||a.Xi(b))return!0;a=a.ma;return!!a&&a.Xi(b)}f.Lo=function(a){this.na=void 0;a!=this.g||rx(this,this.N)||this.Wb||this.ma&&this.ma.Wb||Ld&&this.N.x==0&&this.N.y==0||this.Ba(!1)};
f.Bg=function(a){var b=this.isVisible();if(this.Ia){var c=Pf(this.l);c=new w(a.clientX+c.x,a.clientY+c.y);rx(this,c)?b=!1:this.Zh&&(b=Dg(this.Ia,c)>=Dg(this.Ia,this.N))}if(b){if(this.Th(),this.Wb=null,b=this.ma)b.Wb=null}else Lu(this)==3&&this.ng();qx.oa.Bg.call(this,a)};f.Wk=function(){this.Wb!=this.ha()&&(this.Zh=!1,this.Wb=this.ha())};f.Qk=function(){return this.Zh?100:qx.oa.Qk.call(this)};function sx(a,b){a=new qx(a);a.Gl(De(Le,b.innerHTML));a.className="buy-tip-card";a.va=new Ag(5,5,5,5);a.Fi=!0;a.Kg=500;a.Dh=250};function tx(a,b){this.Db=a||200;this.ub=b||108;W.call(this)}u(tx,W);tx.prototype.Gb=function(){return this.Db};tx.prototype.wb=function(){return this.ub};function ux(a){Iu.call(this,a,void 0,void 0);this.Rn=!1;this.Fi=!0;this.Kg=500}n(ux,qx);ux.prototype.yj=function(a,b){b||(b=new Wr(a,9,!0));qx.prototype.yj.call(this,a,b)};ux.prototype.className="unified-hovercard";function vx(a,b,c){Rf.call(this);this.i=null;this.data=a;this.g=b;this.maxWidth=c||500}n(vx,Rf);vx.prototype.wa=function(){this.i&&this.i.dispose()};function wx(a){return a.i||(a.i=new ug(a))}
vx.prototype.j=function(a){var b=B("DIV"),c=new R(this.data.Aa.Cg||this.data.Aa.fp);this.data.Aa.source&&S(c,"source",this.data.Aa.source);var d=this.data.kb();this.data.Aa.Fp&&(d+=": "+this.data.Aa.Fp);d=B("A",{},d);d.classList.add(this.g+"-title");Fc(d,c.toString());b.appendChild(d);a.appendChild(b);xx(this,a);this.data.Aa.Pl&&(c=new We.cw,b=B("DIV",this.g+"-snippet"),x(b,De(c,this.data.Aa.Pl+" ")),c=B("A",{},"more \u00bb"),c.classList.add(this.g+"-more-link"),Fc(c,this.data.Aa.Cg),b.appendChild(c),
a.appendChild(b))};
function xx(a,b){var c="",d=B("DIV"),e=a.data.Aa.qk;if(!Wb(ld(e))){c=e.split(/\s*,\s*/g);e=c.length;if(!e)return;var g=B("SPAN","author"),h=e-1,k=qf(", ");v(c,function(l,m){var p=l?l.replace(yx,""):"";p=Yc(p);l=new R(Xc('/ebooks?output=ws2&as_brr=5&q=inauthor:"%s"',p));iv(l);p=B("A",{},p);Fc(p,l.toString());g.appendChild(p);m<h&&g.appendChild(k.cloneNode(!0))},a);d.appendChild(g);c="\u00a0-\u00a0"}a.data.Aa.lj&&(rf(d,B("SPAN",a.g+"-pubdate",c+a.data.Aa.lj)),c="\u00a0-\u00a0");a.data.Aa.So&&(d.appendChild(qf(c)),
rf(d,B("SPAN",a.g+"-pagesnum",a.data.Aa.So+" pages")));b.appendChild(d)}
function zx(a,b,c,d,e,g,h){c=B("A",{id:h||""},c);Fc(c,e?"#":d);c.classList.add(a.g+"-button");c.classList.add(a.g+"-button-hilite");g&&c.classList.add("disabled");e&&(e=hk||ik?"touchstart":"click",wx(a).jf(c,e,function(k){k.preventDefault();k=B("FORM",{method:"POST"});var l=Ec(d);l!==void 0&&(k.action=l);J(k,{position:"absolute",overflow:"hidden",width:"1px",height:"1px",visibility:"hidden"});b.appendChild(k);k.submit()},!1));b.appendChild(c)}
var yx=/(<b\s*>)|(<\/b>)/ig,Ax={VIEW_PAGES_PARTIAL:2,VIEW_PAGES_ALL:5,VIEW_PAGES_PARTIAL_FIXED:6,VIEW_PURCHASED:7,VIEW_GOOGLE_EDITIONS_PREVIEW:8};function Bx(){this.Aa={}}f=Bx.prototype;f.kb=function(){return this.Aa.title};f.Xb=function(){return this.Aa.Ul};f.Qd=function(){return this.Aa.Qd};f.dl=function(){return this.Aa.dl};f.Mf=function(){return this.Aa.Mf};f.Gh=function(){return this.Aa.Gh};function Cx(){this.g=[]}f=Cx.prototype;f.getId=function(){return this.yb};f.Ig=function(a){this.yb=a};f.kb=function(){return this.xc};f.wg=function(){return this.l};function Dx(a,b,c){Ex(a,b)||a.V==null||!a.j?c&&c(null):Fx(b,a.V.clone(),r(a.os,a,b,c||function(){}))}function Gx(a,b,c){Ex(a,b)&&a.ma!=null&&a.na?Fx(b,a.ma.clone(),r(a.Cs,a,b,c||function(){})):c&&c(null)}function Fx(a,b,c){S(b,"id",a);si(b,c,"POST")}f.os=function(a,b,c){var d=null;xi(c.target)&&(d=new Bx,d.Aa.Ul=a,this.g.push(d));b(d)};
f.Cs=function(a,b,c){var d=null;xi(c.target)&&(d=Ex(this,a),Hx(this,d));b(d)};function Hx(a,b){vb(a.g,function(c){return c.Xb()==b.Xb()})}function Ex(a,b){return pb(a.g,function(c){return c&&c.Xb()==b})};function Ix(a){this.Aa={};this.Aa.title=a.title;this.Aa.Fp=a.subtitle;this.Aa.qk=a.authors;this.Aa.fp=a.preview_url;this.Aa.Cg=a.info_url;this.Aa.lj=a.pub_date;this.Aa.So=a.num_pages;this.Aa.Qp=a.viewability;this.Aa.Mw=a.subject;this.Aa.Hp=a.thumbnail_url;this.Aa.Pl=a.snippet;this.Aa.Aw=a.list_price;this.Aa.vp=a.sale_price;this.Aa.Jw=a.sale_price_better;this.Aa.Gu=a.offer_price;this.Aa.wk=a.buy_url;this.Aa.ip=a.read_url;this.Aa.Yi=a.is_free_ebook||!1;this.Aa.Wi=a.in_my_ebooks||!1;this.Aa.Cw=a.my_ebooks_url||
"";this.Aa.Hw=a.rating_score||0;this.Aa.Dw=a.num_reviews||0;this.Aa.Qd=a.is_purchased||!1;this.Aa.Fh=a.is_ebook||!1;this.Aa.Qw=a.write_review_url||"";this.Aa.Ps=a.add_to_my_ebooks_url||"";this.Aa.av=a.preview_ebook_url||"";this.Aa.Iw=a.reviews_url||"";this.Aa.Dj=a.view_order_url||"";this.Aa.qw=a.add_to_my_ebooks_url;this.Aa.ns=a.add_to_my_ebooks_url_is_on_play||!1;this.Aa.Ui=a.has_flowing_text||!1;this.Aa.Vi=a.has_scanned_text||!1;var b=Vm(a.info_url);this.Aa.Ul=b;this.Aa.sw=a.canonical_atb_url||
"";this.Aa.dl=a.is_rentable||!1;this.Aa.Of=a.is_pre_order||!1;this.Aa.Yo=a.on_sale_date||"";this.Aa.Mf=a.is_pre_ordered||!1;this.Aa.zw=a.issue_volume_count||0;this.Aa.Gh=a.is_volume_cancelled||!1;this.Aa.rs=a.cancelled_reason||"0";switch(a.rental_state){case 1:this.Aa.nj=1;break;case 2:this.Aa.nj=2}this.Aa.mv=a.rental_end_utc||0}n(Ix,Bx);function Jx(a){this.g=[];this.Ig(a.id);this.o=a.owner_uid;this.xc=a.title;this.l=a.description;this.va=a.num_volumes;this.oe=a.access||"0";this.Ka=a.can_modify_metadata;this.U=a.predefined;this.na=a.can_remove_volumes;this.j=a.can_add_volumes;this.ua=a.can_only_add_ebooks||!1;this.V=new R(a.add_vol_base_url);this.ma=new R(a.del_vol_base_url);a.paused!==void 0&&(this.i=a.paused,this.N=a.pause_bookshelf_url);a.volumes&&(this.g=nb(a.volumes,function(b){return new Ix(b)}))}n(Jx,Cx);function Kx(){W.call(this);this.j=[];this.i=[]}u(Kx,W);function Lx(a){var b=new R(mf().location);b=new R(b);return a===parseInt(T(b,"as_coll"),10)}function Mx(a,b,c){Nx(a,b.getId())||(a=b.U?a.j:a.i,c?zb(a,void 0,0,b):a.push(b))}function Ox(a,b,c){var d=b.oe==1;a=new R(a);S(a,"cl_title",b.kb());S(a,"cl_mode",d?"public":"private");b="cl_des="+bd(b.wg());si(a,c,"POST",b)}
Kx.prototype.N=function(a){a=a.target;if(xi(a)){a=new Jx(Ai(a));var b=Nx(this,a.getId());b.xc=a.kb();b.l=a.wg();b.oe=a.oe;b=new Uf("update",this);b.shelf=a;this.dispatchEvent(b)}};Kx.prototype.o=function(a,b){b=b.target;xi(b)&&(b=new Jx(Ai(b)),Mx(this,b,a),a=new Uf("add",this),a.shelf=b,this.dispatchEvent(a))};function Px(a,b){a.l=new R(b);S(a.l,"jscmd","ClCreate")}function Nx(a,b){return pb(Qx(a),function(c){return c.getId()==b})}function Qx(a){return Eb(a.j,a.i)};function Rx(a,b){var c=B("A",{},"View order");Fc(c,a);c.classList.add(b);return c};function Sx(a,b,c){vx.call(this,a,b,c);T(new R(this.data.Aa.Cg),"dapp")}n(Sx,vx);
Sx.prototype.render=function(a){tf(a);var b=B("DIV",this.g),c=B("DIV",this.g+"-meta");this.j(c);var d=B("DIV",this.data.Aa.Fh?this.g+"-footer":this.g+"-footer-nonebook"),e=B("DIV",this.g+"-footer-inner");if(this.data.Aa.Fh)if(this.data.Gh()&&Lx(1))Tx(this,e);else if(this.data.Aa.Of&&!this.data.Qd()||this.data.Mf()){var g=B("DIV",this.g+"-pre-order-date");g.textContent="Available on: "+this.data.Aa.Yo;e.appendChild(g);this.data.Mf()&&Lx(1)&&Tx(this,e)}else if(this.data.Qd()&&Lx(1))Ux(this,e),Tx(this,
e);else{Ux(this,e);g=!this.data.Qd()&&!this.data.Aa.Yi;var h=this.data.Aa.Yi&&!this.data.Aa.Wi;if(g||h){g=B("SPAN",{"class":this.g+"-footer-inner-right"});if(h=this.data.Aa.av||this.data.Aa.ip){for(var k=h.search(Qh),l=0,m,p=[];(m=Ph(h,l,"source",k))>=0;)p.push(h.substring(l,m)),l=Math.min(h.indexOf("&",m)+1||k,k);p.push(h.slice(l));h=p.join("").replace(Sh,"$1");h=Oh(h,"source","ebookstore")}h&&(k=B("A",{id:"unified-hovercard-preview-link"},"preview it"),Fc(k,h),g.appendChild(k));e.appendChild(g)}}d.appendChild(e);
b.appendChild(c);b.appendChild(d);a.appendChild(b);M(a).width>this.maxWidth&&K(a,this.maxWidth,"")};
Sx.prototype.j=function(a){if(!(this.data.Qd()||this.data.Mf()||this.data.Gh())&&this.data.Aa.Dj&&Lx(1)){var b=B("IMG",{src:"/googlebooks/images/purchase_error.gif","class":this.g+"-error-icon"});b=B("DIV",this.g+"-card-error",b,"Credit card declined:");if(this.data.Aa.Dj){var c=Rx(this.data.Aa.Dj,"primary"),d=B("SPAN");d.innerText="&nbsp;";b.appendChild(d);b.appendChild(c)}a.appendChild(b)}vx.prototype.j.call(this,a);b=B("DIV",this.g+"-book-options");if(this.data.Aa.Fh){if(this.data.Aa.Yi)this.data.Aa.Wi?
Vx(this,b):zx(this,b,"Read eBook",this.data.Aa.Ps,!this.data.Aa.ns,void 0,"unified-hovercard-free-btn");else if(this.data.Mf()){var e=B("SPAN",this.g+"-pre-ordered","Pre-ordered");b.appendChild(e)}else this.data.Gh()&&Lx(1)?(e=B("DIV",this.g+"-cancelled"),c=this.data.Aa.rs,c==0?G(e,"Cancelled - by customer request"):c==1?G(e,"Cancelled - problem with eBook"):c==2?G(e,"Cancelled - price change"):c==3?G(e,"Cancelled - publisher cancellation"):G(e,"Cancelled"),b.appendChild(e)):this.data.Qd()||this.data.Aa.Wi?
!this.data.Qd()&&this.data.Aa.Wi?Wx(this,b):this.data.Qd()&&Vx(this,b):Wx(this,b);Lx(7)&&(e=B("SPAN",this.g+"-offline-remove-options"),c=B("SPAN",{id:"unified-hovercard-remove-from-ebooks","class":this.g+"-fake-link"},"Remove from My eBooks"),c.id="hovercard-remove-from-my-ebooks",e.appendChild(c),b.appendChild(e))}else{c=this.data.Aa.fp;a:{for(e in Ax)if(Ax[e]==this.data.Aa.Qp){e=!0;break a}e=!1}e&&!Wb(c)?zx(this,b,"Preview",c,void 0,void 0,"unified-hovercard-preview-sample"):zx(this,b,"Preview",
c,!1,!0,"unified-hovercard-preview-sample")}a.appendChild(b)};function Tx(a,b){var c=B("DIV",{id:"unified-hovercard-purchased-shelf-links","class":a.g+"-order-links-container"}),d=a.data.Aa.Dj;d&&(d=Rx(d,""),c.appendChild(d));a.data.Mf()||(d=B("DIV",{id:"unified-hovercard-delete-forever","class":a.g+"-footer-fake-link"},"Delete forever"),O(d,a.g+"-footer-action-link"),d.id="hovercard-delete-forever",c.appendChild(d));b.appendChild(c)}
function Wx(a,b){a.data.Aa.Of&&!a.data.Qd()?zx(a,b,"Pre-order eBook - "+a.data.Aa.vp,a.data.Aa.wk,void 0,void 0,"unified-hovercard-buy-btn"):a.data.dl()?zx(a,b,"EBOOK FROM "+a.data.Aa.Gu,a.data.Aa.wk,void 0,void 0,"unified-hovercard-buy-btn"):zx(a,b,"Buy eBook - "+a.data.Aa.vp,a.data.Aa.wk,void 0,void 0,"unified-hovercard-buy-btn")}function Vx(a,b){zx(a,b,"Read now",a.data.Aa.ip,void 0,void 0,"unified-hovercard-read-now")}
function Ux(a,b){var c=B("DIV",a.g+"-supported-devices"),d=a.g+"-device-type",e=a.g+"-device-supported",g=a.g+"-device-not-supported",h=B("SPAN",d,"Web"),k=B("SPAN",d,"Tablet / iPad"),l=B("SPAN",d,"eReader");d=B("SPAN",d,"Smartphone");var m=B("SPAN","goog-inline-block"),p=B("SPAN","goog-inline-block"),y=B("SPAN","goog-inline-block"),D=B("SPAN","goog-inline-block");a.data.Aa.Ui?(O(m,e),O(p,e),O(y,e),O(D,e)):(a.data.Aa.Vi?(O(m,e),O(p,e)):(O(m,g),O(p,g)),O(y,g),O(D,g));c.appendChild(m);c.appendChild(h);
c.appendChild(p);c.appendChild(k);c.appendChild(y);c.appendChild(l);c.appendChild(D);c.appendChild(d);b.appendChild(c)};function Xx(a,b,c){ux.call(this,a);this.Fb=yj();this.j=this.Ca=this.o=null;this.Lb=b;this.i=null;this.Ob=!!c;this.render(b);Yx(this)}n(Xx,ux);Xx.prototype.wa=function(){wx(this.i).dispose();E(this.ha())};Xx.prototype.Ih=function(a,b){ux.prototype.Ih.call(this,a,b);this.isVisible()&&(this.ol=this.Fb?new Ag(0,-2,0,0):new Ag(0,0,0,-2),this.isVisible()&&this.Xf(),this.o=this.g,Zx(this))};
Xx.prototype.render=function(a){this.i&&(this.i.dispose(),this.j=this.Ca=null);this.i=new Sx(a,this.className,435,this.Ob);this.i.render(this.ha());Yx(this);this.isVisible()&&Zx(this)};
function Zx(a){var b=C("DIV"),c=C("DIV");var d=ih(a.o||null);var e=ih(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=Ig(e,d);h||(h=new Eg(d.left,0,d.width,0));d=a.Fb?e.left+e.width-h.left-(h.width/2+12):h.left-e.left+(h.width/2-12);e={x:d>0?d:0,y:e.height-2,su:g}}else e=null;g=a.Fb?"marginRight":"marginLeft";J(c,g,e.x+"px");J(b,g,e.x-1+"px");O(a.ha(),a.className+"-tooltip");e.su?(J(c,"bottom",e.y+"px"),J(b,"bottom",
e.y+1+"px"),O(c,a.className+"-arrow-up"),O(b,a.className+"-arrow-up-border")):(J(c,"top",e.y+"px"),J(b,"top",e.y+1+"px"),a.Lb.Aa.Fh||O(c,a.className+"-nofooter"),O(c,a.className+"-arrow-down"),O(b,a.className+"-arrow-down-border"));a.j?xf(b,a.j):a.ha().appendChild(b);a.Ca?xf(c,a.Ca):a.ha().appendChild(c);a.Ca=c;a.j=b}
Xx.prototype.kc=function(a){var b=a.target||null;if(b){b.nodeType==3&&(b=b.parentNode);switch(b.id){case "hovercard-remove-from-my-ebooks":a.preventDefault();var c="c";break;case "hovercard-save-sample-for-later":case "hovercard-add-to-my-ebooks":a.preventDefault();c="a";break;case "hovercard-delete-forever":a.preventDefault();c="b";break;default:b.href&&(c="f",a.type=="touchstart"&&Vc(window.location,b.href))}c&&this.dispatchEvent(new Uf(c,this))}};
function Yx(a){var b=hk||ik?"touchstart":"click";xg(wx(a.i),a.ha(),b,a.kc,a)};function $x(a,b,c){tx.call(this,b);this.i=a;this.j=null;this.o=!1;if(c==(1).toString()||c==(7).toString())this.o=!0}u($x,tx);var ay=new Q;
$x.prototype.Oc=function(a){var b=B("A",{className:"slider-link goog-inline-block"});K(b,"",this.Gb());var c=new R(this.i.Aa.Cg);this.i.Aa.source?S(c,"source",this.i.Aa.source):S(c,"source","gbs_slider_thumb");gi(c,"num");Fc(b,c.toString());a.appendChild(b);this.j=C("IMG");this.j.alt="";this.g.jf(this.j,"load",r(this.ma,this));ay.dispatchEvent("start");(a=this.i.Aa.Hp)?(a=new R(a),S(a,"h",this.Gb()),S(a,"stbn",1),gi(a,"edge"),this.j.src=a.toString()):this.j.src="/googlebooks/images/no_cover_thumb.gif";
K(this.j,"",this.Gb());b.appendChild(this.j);this.o&&this.i.Aa.nj==2?(this.l=B("SPAN",["bookcard-badge","bookcard-sample-label"],"Expired"),b.appendChild(this.l)):this.o&&this.i.Aa.nj==1?(a=this.i,a.Aa.nj==1?(a=a.Aa.mv-cb()/1E3,a=Math.round(a/3600),c=Math.round(a/24),a=a<=1?"Expiring soon":a<=48?a+" hours":c+" days"):a="",this.l=B("SPAN",["bookcard-badge","bookcard-sample-label"],a),b.appendChild(this.l)):!this.o||this.i.Qd()||this.i.Aa.Yi||(this.l=B("SPAN",["bookcard-badge","bookcard-sample-label"],
"Sample"),b.appendChild(this.l));jg(b,"mouseover",this.na.bind(this,b))};$x.prototype.ma=function(){this.dispatchEvent("render");ay.dispatchEvent("complete");this.l&&gh(this.l,M(this.j).width)};$x.prototype.na=function(a,b){(new Xx(a,this.i)).Be(b)};function by(a,b,c){$x.call(this,a,b-40,c);this.N=B("DIV","slider-annotation");this.U=!1}n(by,$x);by.prototype.Oc=function(a){jg(this,"render",r(this.ua,this));$x.prototype.Oc.call(this,a);a.appendChild(this.N)};by.prototype.ua=function(a){if(!this.U){a.stopPropagation();a=this.N;var b=this.V();a.appendChild(b);this.U=!0;this.dispatchEvent("render")}};function cy(a,b,c){by.call(this,a,b,c)}n(cy,by);cy.prototype.Oc=function(a){by.prototype.Oc.call(this,a)};cy.prototype.V=function(){var a=this.i,b=C("DIV"),c=B("A",{className:"slider-annotation-title"},qf(a.kb()));Fc(c,a.Aa.Cg);b.appendChild(c);if(a=a.Aa.qk)a=B("DIV","slider-annotation-author",qf(a)),b.appendChild(a);K(b,M(this.j).width+5,"");return b};function dy(){this.g=ey;this.Ng=5E3}var fy=0;dy.prototype.send=function(a,b,c,d){if(a){var e={};for(g in a)e[g]=a[g];a=e}else a={};d=d||"_"+(fy++).toString(36)+Date.now().toString(36);e="_callbacks___"+d;b&&(q[e]=gy(d,b),a.callback=e);b={timeout:this.Ng,us:!0};var g=this.g;e=new Map(Object.entries(a));g=rc(g).toString();var h=g.split(/[?#]/),k=/[?]/.test(g)?"?"+h[1]:"";e=Pe(h[0],k,/[#]/.test(g)?"#"+(k?h[2]:h[1]):"",e);b=im(e,b);dm(b,null,hy(d,a,c));return{yb:d,In:b}};
dy.prototype.cancel=function(a){a&&(a.In&&a.In.cancel(),a.yb&&iy(a.yb,!1))};function hy(a,b,c){return function(){iy(a,!1);c&&c(b)}}function gy(a,b){return function(c){iy(a,!0);b.apply(void 0,arguments)}}function iy(a,b){a="_callbacks___"+a;if(q[a])if(b)try{delete q[a]}catch(c){q[a]=void 0}else q[a]=Ei};function jy(a,b,c){Q.call(this);this.V=a;this.na=c;this.j=b;I(b,["hilite","select","canceldismiss","dismiss"],this.handleEvent,!1,this);this.N=null;this.i=[];this.l=-1;this.g=0;this.o=this.U=null;this.va={}}u(jy,Q);f=jy.prototype;f.Qj=!0;f.mk=!1;f.vd=function(){return this.j};
f.handleEvent=function(a){var b=this.V;if(a.target==this.j)switch(a.type){case "hilite":this.De(a.rf);break;case "select":var c=!1;if(typeof a.rf==="number"){a=a.rf;var d=this.i[ky(this,a)];c=!!d&&b.el&&b.el(d);d&&!c&&this.l!=a&&this.De(a)}c||this.Qf();break;case "canceldismiss":ly(this);break;case "dismiss":my(this)}};f.ld=function(){return this.j.isVisible()};
function ny(a){for(var b=a.g+a.i.length-1,c=a.l,d=0;d<a.i.length;d++){if(c>=a.g&&c<b)c++;else if(c==-1)c=a.g;else{a.mk&&c==b&&a.De(-1);break}if(a.De(c))break}}f.De=function(a){var b=ky(this,a),c=this.i[b];return c&&this.V.el&&this.V.el(c)?!1:(this.l=a,this.j.De(a),b!=-1)};
f.Qf=function(){var a=ky(this,this.l);if(a!=-1){var b=this.i[a],c=this.na;if(c.Ub){var d=b.toString();if(c.j){var e=oy(c,c.Bb(),py(c.Ub)[0]),g=qy(c,c.Bb());c.ma&&!c.ma.test(d)&&(d=d.replace(/[\s\xa0]+$/,"")+c.ua);e==0||Wb(g[e-1])||(d=" "+d);e==g.length-1&&(d+=" ");if(d!=g[e]){g[e]=d;d=c.Ub;d.value=g.join("");for(var h=0,k=0;k<=e;k++)h+=g[k].length;d.focus();e=h;g=c.Ub;ry(g)&&(g.selectionStart=e);g=c.Ub;ry(g)&&(g.selectionEnd=e)}}else c.wc(d);c.Dl=!0}this.ve();this.dispatchEvent({type:"update",rf:b,
index:a});return!0}this.ve();this.dispatchEvent({type:"update",rf:null,index:null});return!1};f.ve=function(){this.l=-1;this.N=null;this.g+=this.i.length;this.i=[];window.clearTimeout(this.o);this.o=null;this.j.ve();this.dispatchEvent("suggestionsupdate");this.dispatchEvent("dismiss")};function my(a){a.o||(a.o=window.setTimeout(r(a.ve,a),100))}f.Eo=function(){return this.o?(window.clearTimeout(this.o),this.o=null,!0):!1};function ly(a){a.Eo()||window.setTimeout(r(a.Eo,a),10)}
f.wa=function(){jy.oa.wa.call(this);delete this.va;this.j.dispose();this.na.dispose();this.V=null};f.xu=function(a,b,c){this.N==a&&this.Bl(b,c)};
f.Bl=function(a,b){var c=Va(b)=="object"&&b;b=(c?c.i():b)?ky(this,this.l):-1;this.g+=this.i.length;this.i=a;for(var d=[],e=0;e<a.length;++e)d.push({id:this.g+e,data:a[e]});a=null;this.U&&(a=this.va[Ya(this.U)]||this.U);this.j.Oh(a);this.j.Bl(d,this.N,this.U);a=this.Qj;c&&c.g()!==void 0&&(a=c.g());this.l=-1;(a||b>=0)&&d.length!=0&&this.N&&(b>=0?this.De(this.g+b):ny(this));this.dispatchEvent("suggestionsupdate")};function ky(a,b){b-=a.g;return b<0||b>=a.i.length?-1:b}f.update=function(a){this.na.update(a)};function py(a){var b=0,c=0;ry(a)&&(b=a.selectionStart,c=-1);return[b,c]}function ry(a){try{return typeof a.selectionStart=="number"}catch(b){return!1}};function sy(a,b,c,d){Rf.call(this);d=d||150;this.j=c!=null?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.ma=new RegExp("\\s*["+this.o+"]$");this.U=b||"";this.va=this.j;this.Ta=d>0?new vj(d):null;this.i=new ug(this);this.N=new ug(this);this.l=new Uq;this.V=-1}u(sy,Rf);f=sy.prototype;f.Ub=null;f.ll="";f.vf=!1;f.Dl=!1;f.Bb=function(){return this.Ub.value};f.wc=function(a){this.Ub.value=a};
function ty(a,b){Bf(b)&&(Zj(b,"combobox"),X(b,"autocomplete","list"));a.i.ka(b,"focus",a.xm);a.i.ka(b,"blur",a.Jq);a.Ub||(a.N.ka(b,"keydown",a.Qu),Bf(b)&&Nf(Ze(b))==b&&uy(a,b))}f.Iq=function(a){for(var b=0;b<arguments.length;b++)ty(this,arguments[b])};f.wa=function(){sy.oa.wa.call(this);this.i.dispose();delete this.i;this.N.dispose();this.l.dispose();Qf(this.Ta)};
f.Pc=function(a){switch(a.keyCode){case 40:if(this.g.ld())return ny(this.g),a.preventDefault(),!0;if(!this.j)return this.update(!0),a.preventDefault(),!0;break;case 38:if(this.g.ld()){a:for(var b=this.g,c=b.l,d=0;d<b.i.length;d++){if(c>b.g)c--;else{b.mk&&c==b.g&&b.De(-1);break}if(b.De(c))break a}a.preventDefault();return!0}break;case 9:if(!this.g.ld()||a.shiftKey)this.g.ve();else if(this.update(),this.g.Qf()&&this.va)return a.preventDefault(),!0;break;case 13:if(this.g.ld()){if(this.update(),this.g.Qf())return a.preventDefault(),
a.stopPropagation(),!0}else this.g.ve();break;case 27:if(this.g.ld())return this.g.ve(),a.preventDefault(),a.stopPropagation(),!0;break;case 229:if(!this.vf)return this.vf||(this.i.ka(this.Ub,"keyup",this.Uo),this.i.ka(this.Ub,"keypress",this.To),this.vf=!0),!0}(b=this.j&&a.charCode&&this.o.indexOf(String.fromCharCode(a.charCode))!=-1)&&this.update();b&&this.g.Qf()?(a.preventDefault(),a=!0):a=!1;return a};f.yt=function(){return!1};f.xm=function(a){uy(this,a.target||null)};
function uy(a,b){zg(a.N);a.g&&ly(a.g);b!=a.Ub&&(a.Ub=b,a.Ta&&(a.Ta.start(),a.i.ka(a.Ta,"tick",a.zm)),a.ll=a.Bb(),a.l.attach(a.Ub),a.i.ka(a.l,"key",a.ym),a.i.ka(a.Ub,"mousedown",a.Vo))}f.Jq=function(){this.Ub&&(this.i.Va(this.l,"key",this.ym),Yq(this.l),this.i.Va(this.Ub,"keyup",this.yt),this.i.Va(this.Ub,"mousedown",this.Vo),this.vf&&vy(this),this.Ub=null,this.Ta&&(this.Ta.stop(),this.i.Va(this.Ta,"tick",this.zm)),this.g&&my(this.g))};f.zm=function(){this.update()};f.Qu=function(a){this.xm(a)};
f.ym=function(a){this.V=a.keyCode;this.g&&this.Pc(a)};f.To=function(){this.vf&&this.V!=229&&vy(this)};f.Uo=function(a){this.vf&&(a.keyCode==13||a.keyCode==77&&a.ctrlKey)&&vy(this)};f.Vo=function(){};function vy(a){a.vf&&(a.vf=!1,a.i.Va(a.Ub,"keypress",a.To),a.i.Va(a.Ub,"keyup",a.Uo))}
f.update=function(a){if(this.Ub&&(a||this.Bb()!=this.ll)){if(a||!this.Dl){a=py(this.Ub)[0];var b=this.Bb();a=qy(this,b)[oy(this,b,a)];a=this.na?String(a).replace(this.na,""):a;this.g&&(this.g.U=this.Ub,b=this.g,this.Bb(),b.N!=a&&(b.N=a,b.V.mp(b.N,10,r(b.xu,b)),ly(b)))}this.ll=this.Bb()}this.Dl=!1};function oy(a,b,c){a=qy(a,b);if(c==b.length)return a.length-1;for(var d=b=0,e=0;e<a.length&&d<=c;e++)d+=a[e].length,b=e;return b}
function qy(a,b){if(!a.j)return[b];b=String(b).split("");for(var c=[],d=[],e=!1,g=0;g<b.length;g++)a.U&&a.U.indexOf(b[g])!=-1?(e||(c.push(d.join("")),d.length=0),d.push(b[g]),e=!e):e||a.o.indexOf(b[g])==-1?d.push(b[g]):(d.push(b[g]),c.push(d.join("")),d.length=0);c.push(d.join(""));return c};function wy(a,b,c,d){Q.call(this);this.ma=a||document.body;this.g=Xe(this.ma);this.ua=!a;this.ya=null;this.na="";this.i=[];this.o=[];this.va=this.V=-1;this.N=!1;this.className="ac-renderer";this.Ia="ac-highlighted";this.U=b||null;this.Wa=d!=null?d:!0;this.Fb=!!c}u(wy,Q);f=wy.prototype;f.ha=function(){return this.ya};f.Oh=function(a){this.Da=a};f.Bl=function(a,b,c){this.na=b;this.i=a;this.V=-1;this.va=cb();this.j=c;this.o=[];xy(this)};f.ve=function(){this.N&&(this.N=!1,yy(this,!1),N(this.ya,!1))};
f.show=function(){this.N||(this.N=!0,yy(this,!0),N(this.ya,!0))};function yy(a,b){a.j&&(X(a.j,"haspopup",b),X(a.ya,"expanded",b),X(a.j,"expanded",b),b?X(a.j,"owns",a.ya.id):(a.j.removeAttribute("aria-owns"),ck(a.j,null)))}f.isVisible=function(){return this.N};
function zy(a,b){var c=b>=0&&b<a.i.length?a.i[b]:void 0,d=b>=0&&b<a.o.length?a.o[b]:void 0;a.dispatchEvent({type:"rowhilite",N:d,rf:c?c.data:null})&&(a.V>=0&&zh(a.o[a.V],["ac-active","active"]),a.V=b,d&&(xh(d,["ac-active","active"]),a.j&&ck(a.j,d),$g(d,a.ya)))}f.De=function(a){if(a==-1)zy(this,-1);else for(var b=0;b<this.i.length;b++)if(this.i[b].id==a){zy(this,b);break}};
function Ay(a){if(!a.ya){var b=a.g.Pa("DIV",{style:"display:none"});a.ya=b;xh(b,Xb(a.className).split(" "));Zj(b,"listbox");b.id=Ik(Hk.Nb());a.g.appendChild(a.ma,b);I(b,"click",a.Am,!1,a);I(b,"mousedown",a.Bm,!1,a);I(b,"mouseover",a.Cm,!1,a)}}
function xy(a){Ay(a);a.Za&&(a.ya.style.minWidth=a.Za.clientWidth-0+"px");a.Ma&&(a.ya.style.maxWidth=a.Ma.clientWidth-0+"px");a.o.length=0;a.g.hm(a.ya);a.U&&a.U.render?a.U.render(a,a.ya,a.i,a.na):a.i.forEach(function(b){var c=this.na,d=this.g.Pa("DIV",{className:"ac-row",id:Ik(Hk.Nb())});Zj(d,"option");this.U&&this.U.lv?this.U.lv(b,c,d):G(d,b.data.toString());c&&this.Wa&&(this.Ca=!1,By(this,d,c));O(d,"ac-row");this.o.push(d);b=d;this.g.appendChild(this.ya,b)},a);a.i.length==0?a.ve():(a.show(),a.Rj(),
nh(a.ya,!0))}f.Rj=function(){if(this.j&&this.ua){var a=this.Da||this.j;var b=this.Fb?5:1;Ip(a,b,this.ya,b^1,null,null,65)}};f.wa=function(){this.ya&&(qg(this.ya,"click",this.Am,!1,this),qg(this.ya,"mousedown",this.Bm,!1,this),qg(this.ya,"mouseover",this.Cm,!1,this),this.g.ci(this.ya),this.ya=null,this.N=!1);Qf(this.l);this.ma=null;wy.oa.wa.call(this)};
function By(a,b,c){if(!a.Ca)if(b.nodeType==3){var d=null;Array.isArray(c)&&c.length>1&&(d=c.slice(1));c=Cy(c);if(c.length!=0){var e=b.nodeValue,g=new RegExp("\\b(?:"+c+")","gi");c=[];for(var h=0,k=g.exec(e),l=0;k;)l++,c.push(e.substring(h,k.index)),c.push(e.substring(k.index,g.lastIndex)),h=g.lastIndex,k=g.exec(e);c.push(e.substring(h));if(c.length>1){for(d=0;d<1;d++)e=2*d,b.nodeValue=c[e],g=Of(a.g,"B"),g.className=a.Ia,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.Ca=!0}else d&&By(a,b,d)}}else for(b=b.firstChild;b;)d=b.nextSibling,By(a,b,c),b=d}function Cy(a){var b="";if(!a)return b;Array.isArray(a)&&(a=a.filter(function(c){return!Wb(ld(c))}));Array.isArray(a)?b=a.length>0?jd(a[0]):"":/^\W/.test(a)||(b=jd(a));return b}function Dy(a,b){for(;b&&b!=a.ya&&!wh(b,"ac-row");)b=b.parentNode;return b?a.o.indexOf(b):-1}
f.Am=function(a){var b=Dy(this,a.target);b>=0&&this.dispatchEvent({type:"select",rf:this.i[b].id});a.stopPropagation()};f.Bm=function(a){a.stopPropagation();a.preventDefault()};f.Cm=function(a){a=Dy(this,a.target);a>=0&&!(cb()-this.va<300)&&this.dispatchEvent({type:"hilite",rf:this.i[a].id})};var Ey=sa(["//suggestqueries.google.com/complete/search"]);function Fy(a,b,c,d){this.ua=a;this.ma=null;this.Ia=c||null;this.Da=typeof b==="boolean"?b:!0;this.Ca=d||0;b=new Gy;c=new Hy(this.Ia||a,this.Ca);c.ua=!0;d=new sy(null,null,!1);jy.call(this,b,c,d);d.g=this;d.Iq(a);this.U=a;this.Qj=!1;this.mk=!0;I(this,"update",r(this.Ha,this))}u(Fy,jy);Fy.prototype.Qf=function(){this.Ja=this.ua.value;Fy.oa.Qf.call(this);return!1};
Fy.prototype.Ha=function(a){a.rf&&(a=this.ua.form,this.ma||(this.ma=B("INPUT",{type:"hidden",name:"oq"}),a.appendChild(this.ma)),this.ma.value=this.Ja,this.Da&&a.submit())};function Gy(){}var ey=Oe(Ey);Gy.prototype.mp=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 dy;this.i.send(a,c)};Gy.prototype.g=function(a,b){var c=Array.prototype.map.call(b[1],function(d){return d[0]});a(b[0],c)};function Hy(a,b){wy.call(this);this.Ha=a;this.Ja=b||0}
u(Hy,wy);Hy.prototype.Rj=function(){Hy.oa.Rj.call(this);var a=0,b=A("gbfwa");b||(b=ef("gbqfwa"));b&&(a=b.offsetTop+b.offsetHeight-1);Array.prototype.forEach.call(bf("div","ac-renderer"),function(c){a&&J(c,"top",a+"px");J(c,"width",M(this.Ha).width-2+"px");J(c,"left",parseInt(c.style.left,10)+this.Ja+"px")},this)};function Iy(a,b,c,d,e){W.call(this);this.U=a;this.N=b;this.ua=e;this.Db=typeof d==="number"?d:this.N?200:80;this.N||O(this.U,"slider-small");this.V=[];this.j=C("A");this.j.textContent=yj()?"\u203a":"\u2039";this.j.setAttribute("title","Scroll left");nh(this.j,!0);this.U.appendChild(this.j);this.i=C("div");O(this.i,"slider-drawables");this.U.appendChild(this.i);this.o=C("A");this.o.textContent=yj()?"\u2039":"\u203a";this.o.setAttribute("title","Scroll right");nh(this.o,!0);this.U.appendChild(this.o);
this.g.ka(this.j,"click",this.ul.bind(this,-.75));this.g.ka(this.o,"click",this.ul.bind(this,.75));this.ai();this.g.ka(this.j,"click",this.ul.bind(this,-.75));this.resize();this.ma=0;this.na=Bd()>=8&&!ce("9")&&yj();c&&Jy(this,c)}u(Iy,W);function Ky(a){var b=Math.ceil(Ly(a)*1.25);b=Math.min(a.V.length,a.ma+b);v(a.V.slice(a.ma,b),r(a.Hs,a));a.ai();a.ma=b;b>=a.V.length&&a.dispatchEvent("render")}f=Iy.prototype;
f.Hs=function(a){var b=B("DIV",{"class":"goog-inline-block slider-loading"});this.i.appendChild(b);var c=B("DIV",{"class":"goog-inline-block slider-drawable"});N(c,!1);this.i.appendChild(c);this.g.jf(a,"render",this.Js.bind(this,b,c));a.Oc(c)};f.Js=function(a,b){E(a);this.ai();N(b,!0)};function Jy(a,b){b=b.map(function(c){return this.N?new cy(c,this.Db):new $x(c,this.Db,this.ua)},a);My(a,b)}function My(a,b){yb(a.V,b);Ky(a)}
f.ul=function(a){(yj()?a<0:a>0)&&Ky(this);a*=this.na?-1:1;a*=M(this.i).width+20;this.l&&(this.l.dispose(),this.l=null);this.l=new Mj([this.i.scrollLeft,0],[this.i.scrollLeft+a,0],500,Pj);I(this.l,"animate",this.Kq.bind(this));I(this.l,"end",this.ai.bind(this));this.l.play()};f.Kq=function(a){a=a.coords.map(Math.round);this.i.scrollLeft=a[0]};
f.ai=function(){if(Ld&&yj()||this.na){var a=this.i.scrollLeft<=(this.i.scrollWidth-M(this.i).width)*-1;var b=this.i.scrollLeft==0}else a=this.i.scrollLeft==0,b=this.i.scrollLeft>=this.i.scrollWidth-M(this.i).width;this.j.className=a?"slider-button slider-button-left slider-button-disabled":"slider-button slider-button-left";this.o.className=b?"slider-button slider-button-right slider-button-disabled":"slider-button slider-button-right"};f.resize=function(){this.ai()};
function Ly(a){var b=a.N?110:50;return Math.ceil(M(a.i).width/b)};function Ny(a,b,c){W.call(this);this.metadata=a;this.source=b?b:"gbs_bookshelf_slider";this.U=0;this.l=new Bh;this.na=this.l.getSize();this.V="";this.ua=typeof c==="boolean"?!c:!1;jg(this.l,"resize",r(this.Dm,this))}n(Ny,W);f=Ny.prototype;f.Dm=function(){this.l.getSize().width>this.na.width?this.kh():jg(this.l,"resize",r(this.Dm,this))};f.render=function(a){this.o=a;this.i=this.Rk(a);this.g.ka(this.i,"render",r(this.kh,this))};f.Rk=function(){return new Iy(this.o,!0,void 0,void 0,this.metadata.getId())};
f.kh=function(){this.i.resize();var a=Math.ceil(Ly(this.i)*1.25)+1,b=this.Xe(this.U,a);b&&(this.U+=a,si(b,r(this.Vt,this)))};f.ug=ba(12);f.Vt=function(a){a=a.target;if(xi(a)){if((a=(new Jx(Ai(a))).g)&&a.length){var b=Vm(a[a.length-1].Aa.Cg);this.V!=b&&(this.V=b,My(this.i,Oy(this,a)));(a=Lf(this.ha()))&&jh(a,1)}else this.i.ma==0&&this.lp();this.dispatchEvent("success")}};
function Oy(a,b){return a.Bk(b).map(function(c){return this.i.N?new cy(c,200,this.metadata.getId()):new $x(c,80,this.metadata.getId())},a)}f.lp=function(){};f.ha=function(){return this.o};f.Bk=function(a){return this.source?a.map(function(b){b.Aa.source=this.source;return b},this):a};function Py(a,b,c){ov.call(this,a,b,c);this.Qh(!0)}u(Py,ov);nr("goog-checkbox-menuitem",function(){return new Py(null)});function Qy(a){Py.call(this,ed(a.kb()),a.getId());this.i=a}n(Qy,Py);Qy.prototype.Pb=function(a){Py.prototype.Pb.call(this,a);if(this.i.oe){var b=(a=this.i.oe==1)?"Public bookshelf":"Private bookshelf";a=B("IMG",{src:"/googlebooks/images/sharing_"+(a?"public":"private")+".gif",alt:b,title:b,style:"padding-top:2px;padding-left:8px;float:"+(yj()?"left":"right")});a=B("DIV","goog-menuitem-accel",a,qf(String(this.i.va)));wf(this.Mb(),a,1)}};function Ry(a,b,c){c=c===void 0?!1:c;yv.call(this);this.j=a;this.o=b;this.V=c}n(Ry,yv);f=Ry.prototype;f.Ra=function(){yv.prototype.Ra.call(this);Qx(this.o).forEach(this.ks,this)};f.La=function(){yv.prototype.La.call(this);this.ha().style.maxHeight="200px";this.ha().style.overflowY="scroll";var a=Z(this);a.ka(this.ha(),"mouseout",this.Lq);a.ka(this.ha(),"scroll",this.Mq)};f.Lq=function(a){Cf(this.ha(),a.relatedTarget)||this.Ba(!1)};
f.vt=function(a){var b=a.target,c=b.i,d=this.j.Xb();hr(b,16)?Dx(c,d):Gx(c,d);this.dispatchEvent("g");a.stopPropagation()};f.Mq=function(a){a.stopPropagation()};f.ks=function(a){var b=!Wb(ld(a.kb())),c=a.j&&(!a.ua||this.j.ma),d=!!Ex(a,this.j.Xb());b&&(c||d)&&(b=new Qy(a),b.Sf(d),b.tb(this.o.ml!=a.getId()||this.V),this.ab(b,!0),Z(this).ka(b,"action",this.vt))};function Sy(a){var b=[];Ok(a,function(c){c instanceof Qy&&hr(c,16)&&b.push(c.i)});return b};function Ty(a,b,c){kx.call(this,null,null,c?5:0);this.i=new Ry(a,b);this.i.ee(this);Sf(this,this.i);this.o=new Image(16,16);this.o.src="/googlebooks/images/my_library_logo.png";this.Yb(64,!0)}n(Ty,kx);f=Ty.prototype;f.Ra=function(){kx.prototype.Ra.call(this);O(this.ha(),"add-to-library")};
function Uy(a){a.i.Ua||a.i.render();var b=Sy(a.i);switch(b.length){case 0:var c="Add to my library";break;case 1:c="Added to "+b[0].kb();break;default:c="Added to "+b.length+" shelves"}b.length>0&&(c=px(a.o,c));tr(a,c)}f.Sb=function(a){this.xk();kx.prototype.Sb.call(this,a);this.i.Ua||this.i.render();if(a){a=this.i;var b=this.ha();zv(a,new pv(b,8,!0),void 0,null)}else this.i.lb()};
f.La=function(){kx.prototype.La.call(this);var a=Z(this);a.ka(this,"enter",this.Gv);a.ka(this,"leave",this.xk);a.ka(this,"action",this.Nq);a.ka(this.i,"g",this.Ct);Uy(this)};f.Ct=function(){Uy(this)};f.Nq=function(){this.Sb(!0)};f.Gv=function(){this.xk();this.Zo=U(r(this.Sb,this,!0),200)};f.xk=function(){xj(this.Zo)};f.Zo=null;function Vy(a){Kx.call(this);a!=null&&a.bookshelf&&v(a.bookshelf,function(b){Mx(this,new Jx(b))},this)}n(Vy,Kx);function Wy(a,b,c){var d=new R("/books");iv(d);S(d,"op","cls_metadata");S(d,"jscmd","ClsMetadata");var e=T(new R(window.location),"uid");e&&S(d,"uid",e);b&&S(d,"uid",b);Kn(d.toString(),t(Xy,a,c))}function Yy(a,b){var c=new Vy(b);a&&a.forEach(function(d){Zy(d.Xb(),d.Ma,c)});return c}function Zy(a,b,c){b.forEach(function(d){var e=new Bx;e.Aa.Ul=a;(d=Nx(c,String(d)))&&d.g.push(e)})}function Xy(a,b,c){a(Yy(b,c))};function $y(a){return a.split(az).filter(function(b){return b.length>0})}
var bz=/\s/,cz=/[ -]/,az=/[+,;]/,dz=/-?"[^"]+"|[^\s"]+/g,ez=RegExp('["\\u201C\\u201D\\u201E\\u201F\\u275D\\u275E\\u301D-\\u301F\\uFF02]',"g"),fz=RegExp("[,!-%'-/:-@\\[-^`{-~\\xA1\\xAB\\xBB\\xB7\\xBF\\u05F3\\u05F4\\u200B\\u2010-\\u2014\\u2018-\\u201A\\u2026\\u2039\\u203A\\u2060\\u3001\\u3002\\u3008-\\u3011\\u30FB\\uFF01-\\uFF05\\uFF07-\\uFF0F\\uFF1A-\\uFF20\\uFF3B-\\uFF3E\\uFF40\\uFF5B-\\uFF65,\"\\u201C\\u201D\\u201E\\u201F\\u275D\\u275E\\u301D-\\u301F\\uFF02,]"),gz=RegExp("^[\\s\\xA0!-%'-/:-@\\[-^`{-~\\xA1\\xAB\\xBB\\xB7\\xBF\\u05F3\\u05F4\\u200B\\u2010-\\u2014\\u2018-\\u201A\\u2026\\u2039\\u203A\\u2060\\u3001\\u3002\\u3008-\\u3011\\u30FB\\uFF01-\\uFF05\\uFF07-\\uFF0F\\uFF1A-\\uFF20\\uFF3B-\\uFF3E\\uFF40\\uFF5B-\\uFF65]+|[\\s\\xA0!-%'-/:-@\\[-^`{-~\\xA1\\xAB\\xBB\\xB7\\xBF\\u05F3\\u05F4\\u200B\\u2010-\\u2014\\u2018-\\u201A\\u2026\\u2039\\u203A\\u2060\\u3001\\u3002\\u3008-\\u3011\\u30FB\\uFF01-\\uFF05\\uFF07-\\uFF0F\\uFF1A-\\uFF20\\uFF3B-\\uFF3E\\uFF40\\uFF5B-\\uFF65]+$",
"g");function hz(a){return Jd?a.toLowerCase():a.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").normalize("NFC")};function iz(a){var b={};jz(a).forEach(function(c){for(var d=b,e=0;e<c.length;e++){var g=c.charAt(e);g=fz.test(g)?"-":g;d[g]||(d[g]={});d=d[g]}d!=b&&(d.$=kz)});return b}
function jz(a){a=Yc(hz(a));var b=a.match(ez);b&&(a=a.replace(ez,'"'),b.length&1&&(a+='"'));b=a.match(dz);if(!b)return[];a=new Set;b=pa(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,c.startsWith('"'))a.add(c.replace(gz,""));else if(!c.startsWith("-")){c=$y(c.replace(gz,""));c=pa(c);for(var d=c.next();!d.done;d=c.next())a.add(d.value)}a.delete("");return Array.from(a)}var kz={};function lz(a){var b=!0;b=b===void 0?!1:b;this.g=typeof a==="string"?iz(a):a;this.j=b;this.i=[]}
function mz(a,b,c,d){for(var e=hb(d),g=a.i,h=g.length-1,k;k=g[h];h--){var l=k;var m=b;var p=c,y=!1;if(l.g)if(y=!!l.g.$,cz.test(m)){if(l.g=l.g[" "]||l.g["-"],l.g)for(;m=l.g[" "]||l.g["-"];)l.g=m}else l.endOffset=p+1,l.jh=void 0,l.g=l.g[m]||null;l.complete=!l.g;if(y){l={startOffset:k.startOffset,Lg:k.Lg,endOffset:k.endOffset,jh:k.jh};if(a.j)for(;e&&e.startOffset<=l.endOffset&&l.startOffset<=e.endOffset&&e.Lg===l.Lg;){d.pop();if(e.startOffset<l.startOffset||e.endOffset>l.endOffset)l={startOffset:e.startOffset,
Lg:e.Lg,endOffset:l.endOffset,jh:l.jh};e=hb(d)}d.push(l);e=l}k.complete&&ub(g,h)}}function nz(a,b){this.startOffset=a;this.Lg=void 0;this.endOffset=a;this.jh=void 0;this.complete=!1;this.g=b};function oz(a,b){var c=void 0;c=c===void 0?Infinity:c;b=new lz(b);c=c===void 0?Infinity:c;var d=d===void 0?[]:d;var e=" ",g,h=hz(a);for(g=0;g<h.length&&d.length<c;g++){var k=h.charAt(g);a=cz.test(e);if(bz.test(k)){if(k=" ",a)continue}else if(fz.test(k)){if(k="-",a)continue}else a&&b.g[k]&&b.i.push(new nz(g,b.g));mz(b,k,g,d);e=k}cz.test(e)||mz(b," ",g,d);d.length>=c&&(d.length=c);return d};function pz(a){var b=iz(a);a=qz();Array.prototype.forEach.call(a,function(c){rz(b,c)})}function qz(){var a=[],b=xb(df("patent-text")),c=ef("patent-title");for(c&&b.push(c);c=b.pop();)c.nodeType==3?a.push(c):yb(b,c.childNodes);return a}
function rz(a,b){var c=Kf(b);a=oz(c,a);if(a.length){var d=[],e=0;a.forEach(function(g){d.push(c.substring(e,g.startOffset),ne("span",{"class":"patent-text-highlight"},c.substring(g.startOffset,g.endOffset)));e=g.endOffset});d.push(c.substring(e));a=C("span");x(a,he(d));xf(a,b)}};function sz(){ov.call(this,"Turn off highlighting");var a=Rh("dq")||Rh("q");a&&pz(a);this.Qb=!0}n(sz,ov);sz.prototype.La=function(){ov.prototype.La.call(this);Z(this).ka(this,"action",this.i)};sz.prototype.i=function(){this.Qb=!this.Qb;P(window.document.body,"patent-highlight-disabled",!this.Qb);tr(this,this.Qb?"Turn off highlighting":"Turn on highlighting")};function tz(){}u(tz,sv);Ua(tz);tz.prototype.Mc=function(a){return a.g.Pa("DIV",br(this,a).join(" ")+" goog-inline-block","\u00a0")};tz.prototype.Tb=function(a,b){b=tz.oa.Tb.call(this,a,b);O(b,"goog-inline-block");return b};tz.prototype.Sa=function(){return"goog-toolbar-separator"};function uz(){}u(uz,jr);Ua(uz);f=uz.prototype;f.Mc=function(a){var b=br(this,a);b=a.g.Pa("DIV","goog-inline-block "+b.join(" "),this.Ei(a.Ac(),a.g));this.tf(b,a.af());return b};f.eg=function(){return"button"};f.Ic=function(a){return a&&a.firstChild&&a.firstChild.firstChild};f.Ei=function(a,b){return b.Pa("DIV","goog-inline-block "+(this.Sa()+"-outer-box"),b.Pa("DIV","goog-inline-block "+(this.Sa()+"-inner-box"),a))};f.li=function(a){return a.tagName=="DIV"};
f.Tb=function(a,b){vz(b,!0);vz(b,!1);a:{var c=a.g.Zn(b);var d=this.Sa()+"-outer-box";if(c&&wh(c,d)&&(c=a.g.Zn(c),d=this.Sa()+"-inner-box",c&&wh(c,d))){c=!0;break a}c=!1}c||b.appendChild(this.Ei(b.childNodes,a.g));xh(b,["goog-inline-block",this.Sa()]);return uz.oa.Tb.call(this,a,b)};f.Sa=function(){return"goog-custom-button"};
function vz(a,b){if(a)for(var c=b?a.firstChild:a.lastChild,d;c&&c.parentNode==a;){d=b?c.nextSibling:c.previousSibling;if(c.nodeType==3){var e=c.nodeValue;if(Xb(e)=="")a.removeChild(c);else{c.nodeValue=b?e.replace(/^[\s\xa0]+/,""):e.replace(/[\s\xa0]+$/,"");break}}else break;c=d}};function wz(){}u(wz,uz);Ua(wz);wz.prototype.Sa=function(){return"goog-toolbar-button"};function xz(){this.g="toolbar"}u(xz,wt);Ua(xz);xz.prototype.rh=function(a){return a.tagName=="HR"?new tv(tz.Nb()):xz.oa.rh.call(this,a)};xz.prototype.ig=function(){return"goog-toolbar"};xz.prototype.Yn=function(){return"horizontal"};function yz(a){xz.call(this);this.i=a}u(yz,xz);var zz={};yz.prototype.ig=function(){return this.i||"ocean-chrome-toolbar"};function Az(a){Q.call(this);this.g=[];Bz(this,a)}u(Az,Q);f=Az.prototype;f.Rf=null;f.Sj=null;function Cz(a,b){a.Sj=b}function Bz(a,b){b&&(b.forEach(function(c){Dz(this,c,!1)},a),yb(a.g,b))}f.Qa=function(a){this.Ue(a,this.g.length)};f.Ue=function(a,b){a&&(Dz(this,a,!1),zb(this.g,b,0,a))};f.Kd=function(){return xb(this.g)};f.Le=function(a){a!=this.Rf&&(Dz(this,this.Rf,!1),this.Rf=a,Dz(this,a,!0));this.dispatchEvent("select")};
f.clear=function(){var a=this.g;if(!Array.isArray(a))for(var b=a.length-1;b>=0;b--)delete a[b];a.length=0;this.Rf=null};f.wa=function(){Az.oa.wa.call(this);delete this.g;this.Rf=null};function Dz(a,b,c){b&&(typeof a.Sj=="function"?a.Sj(b,c):typeof b.Hl=="function"&&b.Hl(c))};function Ez(a,b,c){Bt.call(this,b,a||xz.Nb(),c)}u(Ez,Bt);Ez.prototype.wi=function(a){Ez.oa.wi.call(this,a);this.be||Gt(this)};function Fz(a,b,c){Ar.call(this,a,b||wz.Nb(),c)}u(Fz,Ar);nr("goog-toolbar-button",function(){return new Fz(null)});function Gz(a,b){tv.call(this,a||tz.Nb(),b)}u(Gz,tv);nr("goog-toolbar-separator",function(){return new Gz});function Hz(a){a=a||"viewport-chrome-toolbar";a=zz[a]||(zz[a]=new yz(a));Ez.call(this,a);this.Ca={};this.l=new ug(this)}n(Hz,Ez);function Iz(a,b,c,d){b.Yb(16,!0);if(c){var e=a.Ca[c];e||(e=new Az,Cz(e,function(g,h){g&&g.Sf(h)}),a.Ca[c]=e);e.Qa(b);b.Cf&=-17;I(b,"action",function(g){e.Le(g.target)});d&&e.Le(b)}else b.Vc(16,!!d)}function Jz(a,b){a.Ca.viewport&&a.Ca.viewport.Le(b)}Hz.prototype.wa=function(){Ez.prototype.wa.call(this);this.l.dispose();Mb(this.Ca,function(a){a.dispose()})};function Kz(){}u(Kz,jr);Ua(Kz);f=Kz.prototype;f.Mc=function(a){var b=br(this,a);b=a.g.Pa("DIV","goog-inline-block "+b.join(" "),a.Ac());this.tf(b,a.af());return b};f.eg=function(){return"button"};f.li=function(a){return a.tagName=="DIV"};f.Tb=function(a,b){O(b,"goog-inline-block");return Kz.oa.Tb.call(this,a,b)};f.Bb=function(){return""};f.Sa=function(){return"goog-flat-button"};nr("goog-flat-button",function(){return new Ar(null,Kz.Nb())});function Lz(){}u(Lz,uz);Ua(Lz);Lz.prototype.Ic=function(a){return Lz.oa.Ic.call(this,a&&a.firstChild)};Lz.prototype.Tb=function(a,b){var c=bf("*","goog-menu",b)[0];if(c){N(c,!1);Ze(c).body.appendChild(c);var d=new wv;Nk(d,c);a.Ke(d)}return Lz.oa.Tb.call(this,a,b)};Lz.prototype.Ei=function(a,b){return Lz.oa.Ei.call(this,[b.Pa("DIV","goog-inline-block "+(this.Sa()+"-caption"),a),b.Pa("DIV","goog-inline-block "+(this.Sa()+"-dropdown"),"\u00a0")],b)};Lz.prototype.Sa=function(){return"goog-menu-button"};function Mz(){this.g=[]}u(Mz,jv);Ua(Mz);Mz.prototype.Mc=function(a){var b=Mz.oa.Mc.call(this,a);O(b,"goog-submenu");Nz(this,a,b);return b};Mz.prototype.Tb=function(a,b){b=Mz.oa.Tb.call(this,a,b);O(b,"goog-submenu");Nz(this,a,b);var c=bf("DIV","goog-menu",b);if(c.length){var d=new wv(a.g);c=c[0];N(c,!1);a.g.g.body.appendChild(c);Nk(d,c);a.Ke(d,!0)}return b};Mz.prototype.fg=function(a,b){var c=this.Ic(a),d=c&&c.lastChild;Mz.oa.fg.call(this,a,b);d&&c.lastChild!=d&&wh(d,"goog-submenu-arrow")&&c.appendChild(d)};
Mz.prototype.mi=function(a){Mz.oa.mi.call(this,a);var b=a.Mb(),c=cf(a.g.g,"SPAN","goog-submenu-arrow",b)[0];Oz(a,c);c!=b.lastChild&&b.appendChild(c);a=a.ha();X(a,"haspopup","true")};function Nz(a,b,c){var d=b.g.Pa("SPAN");d.className="goog-submenu-arrow";Oz(b,d);a.Ic(c).appendChild(d)}function Oz(a,b){Rk(a)?(O(b,"goog-submenu-arrow-rtl"),G(b,"\u25c4")):(yh(b,"goog-submenu-arrow-rtl"),G(b,"\u25ba"))};function Pz(a,b,c,d){ov.call(this,a,b,c,d||Mz.Nb())}u(Pz,ov);f=Pz.prototype;f.Wg=null;f.Ol=null;f.ql=!1;f.rc=null;f.Hi=!1;f.La=function(){Pz.oa.La.call(this);Z(this).ka(this.getParent(),"hide",this.Wo);this.rc&&Qz(this,this.rc,!0)};f.mc=function(){Z(this).Va(this.getParent(),"hide",this.Wo);this.rc&&(Qz(this,this.rc,!1),this.Hi||(this.rc.mc(),E(this.rc.ha())));Pz.oa.mc.call(this)};f.wa=function(){this.rc&&!this.Hi&&this.rc.dispose();this.rc=null;Pz.oa.wa.call(this)};
f.Sc=function(a){Pz.oa.Sc.call(this,a);a||(this.Wg&&xj(this.Wg),this.Wg=U(this.we,218,this))};f.Nl=function(){var a=this.getParent();a&&Ft(a)==this&&(Rz(this,!0),Sz(this))};f.we=function(){if(!this.qd){var a=this.rc;a&&a.getParent()==this&&(Rz(this,!1),Ok(a,function(b){typeof b.we=="function"&&b.we()}))}};function Tz(a){a.Wg&&xj(a.Wg);a.Ol&&xj(a.Ol)}f.Ba=function(a,b){(a=Pz.oa.Ba.call(this,a,b))&&!this.isVisible()&&this.we();return a};
function Sz(a){Ok(a.getParent(),function(b){b!=this&&typeof b.we=="function"&&(b.we(),Tz(b))},a)}f.Pc=function(a){var b=a.keyCode,c=Rk(this)?37:39,d=Rk(this)?39:37;if(!this.ql){if(!this.isEnabled()||b!=c&&b!=13&&b!=this.rl)return!1;this.Nl();Gt(Uz(this));Tz(this)}else if(!Uz(this).Pc(a))if(b==d)this.we();else return!1;a.preventDefault();return!0};f.Ju=function(){this.rc.getParent()==this&&(Tz(this),this.Ag().Sc(this),Sz(this))};f.Wo=function(a){a.target==this.Ag()&&(this.we(),Tz(this))};
f.Be=function(a){this.isEnabled()&&(Tz(this),this.Ol=U(this.Nl,218,this));Pz.oa.Be.call(this,a)};f.nf=function(a){Tz(this);if(gr(this,8)||gr(this,16))return Pz.oa.nf.call(this,a);this.Nl();return!0};
function Rz(a,b){!b&&Uz(a)&&Uz(a).Rd(-1);a.dispatchEvent(Kk(64,b));var c=Uz(a);b!=a.ql&&P(a.ha(),"goog-submenu-open",b);if(b!=c.isVisible()&&(b&&(c.Ua||c.render(),c.Rd(-1)),c.Ba(b),b)){c=new Wr(a.ha(),12,!1);var d=Uz(a),e=d.ha();d.isVisible()||(e.style.visibility="hidden",N(e,!0));c.Lc(e,8);d.isVisible()||(N(e,!1),e.style.visibility="visible")}a.ql=b}function Qz(a,b,c){var d=Z(a);(c?d.ka:d.Va).call(d,b,"enter",a.Ju)}f.Qa=function(a){Uz(this).ab(a,!0)};f.Ue=function(a,b){Uz(this).lg(a,b,!0)};
f.Kd=function(){return Uz(this).Kd()};function Uz(a){a.rc?a.Hi&&a.rc.getParent()!=a&&a.rc.ee(a):a.Ke(new wv(a.g),!0);a.rc.ha()||a.rc.Ra();return a.rc}f.Ke=function(a,b){var c=this.rc;a!=c&&(c&&(this.we(),this.Ua&&Qz(this,c,!1)),this.rc=a,this.Hi=!b,a&&(a.ee(this),a.Ba(!1,!0),xv(a,!1),Kt(a,!1),this.Ua&&Qz(this,a,!0)))};f.Ud=function(a){return Uz(this).Ud(a)};nr("goog-submenu",function(){return new Pz(null)});function Vz(a,b,c,d,e){Ar.call(this,a,c||Lz.Nb(),d);this.Yb(64,!0);this.o=new pv(null,9);b&&this.Ke(b);this.Ta=new vj(500);this.Wa=e||uv.Nb()}u(Vz,Ar);f=Vz.prototype;f.La=function(){Vz.oa.La.call(this);Wz(this,!0);this.i&&Xz(this,this.i,!0);X(this.ya,"haspopup",!!this.i)};f.mc=function(){Vz.oa.mc.call(this);Wz(this,!1);if(this.i){this.Sb(!1);this.i.mc();Xz(this,this.i,!1);var a=this.i.ha();a&&E(a)}};f.wa=function(){Vz.oa.wa.call(this);this.i&&(this.i.dispose(),delete this.i);delete this.Za;this.Ta.dispose()};
f.yf=function(a){Vz.oa.yf.call(this,a);if(this.isActive()&&(this.Sb(!this.ld(),a),this.i)){a=this.i;var b=this.ld();a.be=b}};f.Ce=function(a){Vz.oa.Ce.call(this,a);this.i&&!this.isActive()&&(this.i.be=!1)};f.nf=function(){vr(this,!1);return!0};f.ft=function(a){this.i&&this.i.isVisible()&&!this.Ud(a.target)&&this.Sb(!1)};f.Ud=function(a){return a&&Cf(this.ha(),a)||this.i&&this.i.Ud(a)||!1};
f.ae=function(a){if(a.keyCode==32){if(a.preventDefault(),a.type!="keyup")return!0}else if(a.type!="key")return!1;if(this.i&&this.i.isVisible()){var b=a.keyCode==13||a.keyCode==32,c=this.i.Pc(a);return c&&this.i&&this.i.hc instanceof Pz||a.keyCode!=27&&!b?c:(this.Sb(!1),!0)}return a.keyCode==40||a.keyCode==38||a.keyCode==32||a.keyCode==13?(this.Sb(!0,a),!0):!1};f.Tk=function(){this.Sb(!1)};f.ni=function(a){this.Sb(!1);Vz.oa.ni.call(this,a)};
function Yz(a){a.i||a.Ke(new wv(a.g,a.Wa));return a.i||null}f.Ke=function(a){var b=this.i;a!=b&&(b&&(this.Sb(!1),this.Ua&&Xz(this,b,!1),delete this.i),this.Ua&&X(this.ya,"haspopup",!!a),a&&(this.i=a,a.ee(this),a.Ba(!1),xv(a,!1),this.Ua&&Xz(this,a,!0)));return b};f.Qa=function(a){Yz(this).ab(a,!0)};f.Ue=function(a,b){Yz(this).lg(a,b,!0)};f.Ba=function(a,b){(a=Vz.oa.Ba.call(this,a,b))&&!this.isVisible()&&this.Sb(!1);return a};f.tb=function(a){Vz.oa.tb.call(this,a);this.isEnabled()||this.Sb(!1)};
f.Sb=function(a,b){Vz.oa.Sb.call(this,a);if(this.i&&hr(this,64)==a){if(a)this.i.Ua||this.i.render(),this.va=Yg(this.ha()),this.Ma=ih(this.ha()),Zz(this),!b||b.keyCode!=40&&b.keyCode!=38?this.i.Rd(-1):Gt(this.i);else{vr(this,!1);this.i.be=!1;var c=this.ha();c&&(X(c,"activedescendant",""),X(c,"owns",""));this.ua!=null&&(this.ua=void 0,(c=this.i.ha())&&K(c,"",""))}this.i.Ba(a,!1,b);this.qd||(b=Z(this),c=a?b.ka:b.Va,c.call(b,this.g.g,"mousedown",this.ft,!0),c.call(b,this.Ta,"tick",this.Rq),a?this.Ta.start():
this.Ta.stop())}this.i&&this.i.ha()&&this.i.ya.removeAttribute("aria-hidden")};function Zz(a){if(a.i.Ua){var b=a.Za||a.ha(),c=a.o;a.o.g=b;b=a.i.ha();a.i.isVisible()||(b.style.visibility="hidden",N(b,!0));!a.ua&&a.o.N&&a.o.j&32&&(a.ua=M(b));c.Lc(b,c.i^1,null,a.ua);a.i.isVisible()||(N(b,!1),b.style.visibility="visible")}}
f.Rq=function(){var a=ih(this.ha()),b=Yg(this.ha());var c=this.Ma;(c=!(c==a||c&&a&&c.left==a.left&&c.width==a.width&&c.top==a.top&&c.height==a.height))||(c=this.va,c=!(c==b||c&&b&&c.top==b.top&&c.right==b.right&&c.bottom==b.bottom&&c.left==b.left));c&&(this.i.Ua&&b&&this.va&&b.wb()<this.va.wb()&&(c=this.i.ha(),this.i.isVisible()||(c.style.visibility="hidden",N(c,!0)),Tg(c,new w(0,0))),this.Ma=a,this.va=b,Zz(this))};
function Xz(a,b,c){var d=Z(a);c=c?d.ka:d.Va;c.call(d,b,"action",a.Tk);c.call(d,b,"close",a.Oq);c.call(d,b,"highlight",a.Pq);c.call(d,b,"unhighlight",a.Qq)}function Wz(a,b){var c=Z(a);(b?c.ka:c.Va).call(c,a.ha(),"keydown",a.wt)}f.Pq=function(a){(a=a.target.ha())&&$z(this,a)};f.wt=function(a){gr(this,32)&&this.ha()&&this.i&&this.i.isVisible()&&a.stopPropagation()};f.Qq=function(){if(!Ft(this.i)){var a=this.ha();X(a,"activedescendant","");X(a,"owns","")}};
f.Oq=function(a){if(this.ld()&&a.target instanceof ov){a=a.target;var b=a.ha();a.isVisible()&&hr(a,2)&&b!=null&&$z(this,b)}};function $z(a,b){a=a.ha();b=bk(b)||b;if(!b.id){var c=Hk.Nb();b.id=Ik(c)}ck(a,b);X(a,"owns",b.id)}nr("goog-menu-button",function(){return new Vz(null)});function aA(){}u(aA,Kz);Ua(aA);aA.prototype.Mc=function(a){var b=br(this,a);b=a.g.Pa("DIV","goog-inline-block "+b.join(" "),[bA(this,a.Ac(),a.g),cA(this,a.g)]);this.tf(b,a.af());return b};aA.prototype.Ic=function(a){return a&&a.firstChild};
aA.prototype.Tb=function(a,b){var c=bf("*","goog-menu",b)[0];if(c){N(c,!1);a.g.g.body.appendChild(c);var d=new wv;Nk(d,c);a.Ke(d)}bf("*",this.Sa()+"-caption",b)[0]||b.appendChild(bA(this,b.childNodes,a.g));bf("*",this.Sa()+"-dropdown",b)[0]||b.appendChild(cA(this,a.g));return aA.oa.Tb.call(this,a,b)};function bA(a,b,c){return c.Pa("DIV","goog-inline-block "+(a.Sa()+"-caption"),b)}function cA(a,b){return b.Pa("DIV",{"class":"goog-inline-block "+(a.Sa()+"-dropdown"),"aria-hidden":!0},"\u00a0")}
aA.prototype.Sa=function(){return"goog-flat-menu-button"};nr("goog-flat-menu-button",function(){return new Vz(null,null,aA.Nb())});function dA(a){Hz.call(this);this.O=a.Eb;this.i=a.fullscreen;this.Ja=a.history;this.o=a.Ej;this.Da=a.Bj;this.va=a.flags;this.Ha=a.yk;this.Ma=Wm()=="patents";if(!a.al){var b=A("appbar-patents-prior-art-finder-link");if(b&&(b=b.getAttribute("href"))){var c=new kx("Find prior art",void 0,2);this.ab(c,!0);this.l.ka(c,"action",r(this.de,this,b))}if(c=A("appbar-patents-discuss-this-link"))if(b=c.getAttribute("href")){if(c.getAttribute("data-is-grant")=="true"){var d="Discuss this patent";c="Discuss this patent on Stack Exchange"}else d=
"Discuss this application",c="Discuss this application on Stack Exchange";d=new kx(d,void 0,2);d.tf(c);this.ab(d,!0);this.l.ka(d,"action",r(this.de,this,b))}!this.O&&(b=A("appbar-read-patent-link"))&&(b=b.getAttribute("href"))&&(c=new kx("View PDF"),this.ab(c,!0),this.l.ka(c,"action",r(this.de,this,b)))}if(this.O){this.Za=!!a.xj||!!a.wj;a.al&&(b=px("/googlebooks/images/kennedy/zoom_tool.png"),this.Yg=new kx(b,void 0,void 0,1),this.Yg.qc(2),this.ab(this.Yg,!0),I(this.Yg,"action",r(this.Fm,this,"zoomin")),
b=px("/googlebooks/images/kennedy/zoom_out.png"),this.Zg=new kx(b,void 0,void 0,1),this.Zg.qc(1),this.ab(this.Zg,!0),I(this.Zg,"action",r(this.Fm,this,"zoomout")));c=!!a.xj;b=!!a.wj;if(c||b){d=px("/googlebooks/images/kennedy/one_up_page_view.png");this.Fg=new kx(d,void 0,void 0,1);this.Fg.qc(2);I(this.Fg,"action",r(this.Tj,this,Jq));this.ab(this.Fg,!0);Iz(this,this.Fg,"viewport",!0);if(c){d=px("/googlebooks/images/kennedy/two_up_page_view.png");this.Og=new kx(d,void 0,void 0,1);c=1;if(this.i||b)c=
3;this.Og.qc(c);I(this.Og,"action",r(this.Tj,this,Gr));this.ab(this.Og,!0);Iz(this,this.Og,"viewport")}b&&(d=px("/googlebooks/images/kennedy/thumbnail.png"),this.Mg=new kx(d,void 0,void 0,1),c=1,this.i&&(c=3),this.Mg.qc(c),I(this.Mg,"action",r(this.Tj,this,Pq)),this.ab(this.Mg,!0),Iz(this,this.Mg,"viewport"));this.l.ka(this.O,"viewportmodechange",this.Em);this.Em()}this.i&&(b=px("/googlebooks/images/kennedy/maximize.png"),this.ua=new kx(b,void 0,void 0,1),this.ua.Yb(16,!0),this.ua.Sf(!1),this.Za&&
this.ua.qc(1),this.ab(this.ua,!0),this.l.ka(this.ua,"action",this.Ov),this.l.ka(this.i,"change",this.tt));this.Ha&&(b=px("/googlebooks/images/kennedy/clip.png"),this.j=new kx(b,void 0,void 0,1),this.j.Yb(16,!0),this.j.qc(2),this.j.Sf(!1),this.ab(this.j,!0),I(this.j,"action",r(this.Ot,this)));a.Kl&&(b=px("/googlebooks/images/kennedy/insert_link.png"),this.V=new kx(b,void 0,void 0,1),this.V.Yb(16,!0),this.j&&this.V.qc(1),this.ab(this.V,!0),I(this.V,"action",r(this.xs,this)));a.Ll&&(b=!!this.O.Xa().ti,
c=!!Vl(this.O.hb(),this.O.Xa().Yh),d=this.O.Fa().ze()||"Contents",b||c?(b=px("/googlebooks/images/kennedy/menu_down_arrow.png",d),b=Fb(b),this.Xg=b[0],this.Fd=new kx(b),this.Fd.qc(2),this.ab(this.Fd,!0),this.l.ka(this.Fd,"action",this.uu),Iz(this,this.Fd)):(this.Xg=B("SPAN","jfk-button-label",d),this.Fd=new kx(this.Xg),this.Fd.tb(!1),this.Fd.qc(2),this.ab(this.Fd,!0)),b=px("/googlebooks/images/kennedy/page_left.png"),this.fj=new kx(b,void 0,void 0,1),this.fj.qc(3),this.ab(this.fj,!0),I(this.fj,"action",
r(this.O.rb,this.O,"previous")),b=px("/googlebooks/images/kennedy/page_right.png"),this.hj=new kx(b,void 0,void 0,1),this.hj.qc(1),this.ab(this.hj,!0),I(this.hj,"action",r(this.O.rb,this.O,"next")),this.l.ka(this.O,"pagechange",this.Sq))}if(a.Ml&&(b=A("appbar-view-print-sample-link"))&&(b=b.getAttribute("href"))){c=A("appbar-view-ebook-sample-link");var e;c&&(e=c.getAttribute("href"));c=new kx("View sample");kr(c,"gb-view-sample-button");this.ab(c,!0);this.l.ka(c,"action",r(this.de,this,b));e&&(c.qc(2),
c=new wv,d=new ov("Sample print book"),this.l.ka(d,"action",r(this.de,this,b)),c.ab(d,!0),kr(d,"gb-sample-print-book-menuitem"),b=new ov("Sample eBook"),this.l.ka(b,"action",r(this.de,this,e)),c.ab(b,!0),kr(b,"gb-sample-ebook-menuitem"),e=new Vz("",c,aA.Nb()),kr(e,"gb-jfk-margin-fix"),kr(e,"gb-view-sample-dropdown"),e.qc(1),this.ab(e,!0))}this.va&&!this.va.is_cobrand&&this.o&&!this.Ma&&(e=this.Da&&this.Da.uid,b=Yy([this.o],this.Da),e?(this.Lh=new Ty(this.o,b),this.ab(this.Lh,!0)):(e=px("/googlebooks/images/kennedy/menu_down_arrow.png",
"Add to my library"),e=Fb(e),this.Lh=new kx(e),this.ab(this.Lh,!0),e=r(this.de,this,this.va.sign_in_url||this.va.signInUrl),jg(this.Lh,"action",e)));if(a.al){if(e=A("appbar-write-review-link"))if(e=e.getAttribute("href"))this.Wa=new kx("Write review"),this.ab(this.Wa,!0),this.l.ka(this.Wa,"action",r(this.de,this,e));eA(this,"appbar-application-grant-link","application-grant");eA(this,"appbar-content-language-link","content-language")}else if(e=A("appbar-download-pdf-link"))if(e=e.getAttribute("href"))b=
new kx("Download PDF"),this.ab(b,!0),this.l.ka(b,"action",r(this.de,this,e));a.Dv&&(a=px("/googlebooks/images/kennedy/settings.png"),O(a[0],"goog-flat-menu-button-img"),e=B("DIV",{"class":"toc-div"}),b=new wv,b.ab(new qr(e),!0),(c=document.getElementById("ofe-gear-menu-contents"))&&e.appendChild(c.cloneNode(!0)),this.Ia=new Vz(a,b,aA.Nb()),this.ab(this.Ia,!0),this.Ma&&!this.O&&(a=new sz,this.Ia.Ue(a,0)))}n(dA,Hz);
function fA(a){var b=A("left-toolbar-buttons"),c=A("right-toolbar-buttons");(new dA({Eb:a.Eb,fullscreen:a.fullscreen,history:a.history,xj:a.xj,wj:a.wj,Ej:a.Ej,Bj:a.Bj,flags:a.flags,yk:a.yk,Kl:a.Kl,al:!0,Ml:a.Ml})).render(b);(new dA({Eb:a.Eb,Ll:a.Ll,Dv:!0})).render(c)}f=dA.prototype;f.Ov=function(){var a=this.i;kq(a,!a.hf());this.Ja.update()};f.tt=function(){this.ua.Vc(16,this.i.hf())};f.Ot=function(){this.Ha(hr(this.j,16))};
f.xs=function(){if(hr(this.V,16)){var a=new Mr(document.body,this.O,!0);a.render(this.V,!0);jg(a,"dispose",r(this.V.Sf,this.V,!1))}};f.Tj=function(a){this.O.Zb(a);this.O.Ya().getQuery()||this.Ja.update()};f.Em=function(){var a=this.O.Ga();a instanceof Jq&&Jz(this,this.Fg);a instanceof Gr&&Jz(this,this.Og);a instanceof Pq&&Jz(this,this.Mg);a=a.Kc;this.Zg.tb(a);this.Yg.tb(a)};f.Fm=function(a){this.O.rb(a)};
function eA(a,b,c){b=df(b);if(b){var d=b.length;if(d>1)for(var e=0;e<d;++e){var g=b[e],h=g.getAttribute("href"),k=g.getAttribute("data-label");g=g.getAttribute("data-selected");k=new kx(k);e==0&&e!=d-1?k.qc(2):e==d-1&&e!=0?k.qc(1):e!=0&&e!=d-1&&k.qc(3);a.ab(k,!0);Iz(a,k,c,!!g);g||a.l.ka(k,"action",r(a.de,a,h))}}}f.Sq=function(){var a=this.O.Fa().ze()||"Contents";this.Xg&&x(this.Xg,rh(a,{oj:"009928d1-72d6-47df-9510-9ba0bced7071"}))};f.uu=function(){this.Fd.me&16&&(new Br(this.O,this.Fd,this.va)).render(3)};
f.de=function(a){Uc(window.location,a)};f.Fg=null;f.Og=null;f.Mg=null;f.Yg=null;f.Zg=null;f.hj=null;f.fj=null;f.Fd=null;f.Xg=null;f.Lh=null;function gA(a,b){ux.call(this,a);this.o=b}n(gA,ux);
gA.prototype.render=function(){var a=this.ha();O(a,this.className+"-tooltip");O(a,this.className+"-device-and-format");J(a,"z-index",1E4);if(this.o.ma){for(var b=this.className,c=B("DIV",this.className+"-meta"),d=document,e=of(d,"TABLE"),g=e.appendChild(of(d,"TBODY")),h=0;h<1;h++){for(var k=of(d,"TR"),l=0;l<2;l++)k.appendChild(of(d,"TD"));g.appendChild(k)}O(e,this.className+"-table-layout");d=e.rows[0].cells;g=d[0];h=hA(this);g.appendChild(h);g=d[1];h=iA(this);g.appendChild(h);g=B("DIV",this.className+
"-link");h=B("A",{target:"_blank"},"Help with devices & formats");k=new R(window.location.href);l=new R("/support/bin/answer.py?answer=1062949");k=T(k,"hl")?S(l,"hl",T(k,"hl")).toString():"/support/bin/answer.py?answer=1062949";Fc(h,k);g.appendChild(h);d[1].appendChild(g);c.appendChild(e);e=this.o;if((d=e.Nc)&&!e.Of&&e.Za){var m;e.Lb&&Wj.iw&&(m="Read the book");m=B("P",this.className+"-additional",B("A",{href:d},m));c.appendChild(m)}if(e.Ia||e.Ja)if(d=e.Fb,g=e.Wa,d||g)m=B("P",this.className+"-additional",
qf("Download ")),d&&(h=B("A",{href:d},"EPUB"),m.appendChild(h)),g&&(d&&m.appendChild(qf(", ")),d=B("A",{href:g},"PDF"),m.appendChild(d)),m.appendChild(qf(" - ")),e=e.Xb(),d=(new R(window.location.href)).l.split("/"),d=new R("/"+d[1]),iv(d),S(d,"output","acs_help"),S(d,"id",e),e=B("A",{href:d.toString()},"read eReader instructions"),m.appendChild(e),c.appendChild(m);m=B("A",{target:"_blank"},"Learn more about books on Google Play");Fc(m,"https://books.google.com/support/bin/topic.py?topic=28528");
this.j=B("DIV",this.className+"-footer",m);b=B("DIV",b,c,this.j);O(b,this.className+"-device-content");a.appendChild(b)}};
function hA(a){var b=B("UL",a.className+"-list"),c=B("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=B("A",{"class":d,href:"/help/ebooks/webreader.html"},"Web"),k=B("A",{"class":d,href:"/help/ebooks/devices.html"},"Tablet / iPad"),l=B("A",{"class":d,href:"/help/ebooks/ereader.html"},"eReader"),m=B("A",{"class":d,href:"/help/ebooks/devices.html"},"Smartphone"),
p=a.o.Ui,y=a.o.Vi,D=a.o.Of;d=new ug(a);h=B("LI",null,h);D?d.ka(h,"mouseover",t(a.i,"The format of this book is currently unknown. We will update this when we receive the information from the publisher.")):(p||y)&&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.Ca);b.appendChild(h);k=B("LI",null,k);D?d.ka(k,"mouseover",t(a.i,"The format of this book is currently unknown. We will update this when we receive the information from the publisher.")):
(p||y)&&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.Ca);b.appendChild(k);l=B("LI",null,l);d.ka(l,"mouseover",function(){D?this.i("The format of this book is currently unknown. We will update this when we receive the information from the publisher."):p?this.i("This Google eBook includes flowing text, so you can adjust the font to read comfortably on an eReader."):this.i("This Google eBook does not include flowing text, so you cannot adjust the font on an eReader.")});
d.ka(l,"mouseout",a.Ca);b.appendChild(l);m=B("LI",null,m);d.ka(m,"mouseover",function(){D?this.i("The format of this book is currently unknown. We will update this when we receive the information from the publisher."):p&&y?this.i("This eBook is good for smartphones like Android and iPhone / iPod touch."):p?this.i("This Google eBook includes flowing text  so you can adjust the font to read comfortably on the small screen of a smartphone."):this.i("This eBook may be hard to read on smartphones like Android and iPhone / iPod touch.")});
d.ka(m,"mouseout",a.Ca);b.appendChild(m);D?(O(h,g),O(k,g),O(l,g),O(m,g)):p?(O(h,c),O(k,c),O(l,c),O(m,c)):(y?(O(h,c),O(k,c)):(O(h,e),O(k,e)),O(l,e),O(m,e));return b}
function iA(a){var b=B("UL",a.className+"-list"),c=B("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=B("A",{},"Flowing text");Fc(c,"/support/bin/answer.py?answer=1062949");var h=B("A",{},"Scanned pages");Fc(h,"/support/bin/answer.py?answer=1062949");var k=a.o.Ui,l=a.o.Vi,m=a.o.Of;m?(c=B("LI",g,c),d=B("LI",g,h)):(c=B("LI",k?d:e,c),d=B("LI",l?d:e,h));e=new ug(a);e.ka(c,"mouseover",function(){m?
this.i("The format of this book is currently unknown. We will update this when we receive the information from the publisher."):k?this.i("This eBook includes flowing text, so you can adjust the font size and style to read comfortably on any device."):this.i("This book does not include flowing text, so you cannot adjust the font. Instead, you see images of pages, with a fixed layout. This is good for larger screens,  but not always ideal for eReaders and smartphones.")});e.ka(c,"mouseout",a.Ca);e.ka(d,
"mouseover",function(){m?this.i("The format of this book is currently unknown. We will update this when we receive the information from the publisher."):l?this.i("This eBook includes scanned pages, so pages appear as they would in a printed book."):this.i("This eBook does not include scanned pages, which retain the format of a printed book. Instead, the text can be  adjusted and it flows to fit any screen.")});e.ka(d,"mouseout",a.Ca);b.appendChild(c);b.appendChild(d);return b}
gA.prototype.Ca=function(){tf(this.j);var a=B("A",{target:"_blank"},"Learn more about books on Google Play");Fc(a,"https://books.google.com/support/bin/topic.py?topic=28528");this.j.appendChild(a)};gA.prototype.i=function(a){tf(this.j);typeof a==="string"?this.j.appendChild(qf(a)):this.j.appendChild(a)};function jA(a,b){kx.call(this,b,void 0,3);this.o=a}n(jA,kx);jA.prototype.render=function(a){kx.prototype.render.call(this,a);O(this.ha(),"gb-get-book")};jA.prototype.La=function(){kx.prototype.La.call(this);var a=this.ha();this.i=new gA(a,this.o);this.i.render();a=A("menu_container");(a=ef("about_title",a))&&E(a)};
function kA(){var a=A("gb-buy-options-trigger");if(a&&a.parentNode&&a.parentNode.parentNode?!wh(a.parentNode.parentNode,"jfk-button"):1){a=A("gb-buy-options-trigger");var b=A("buy");if(a&&b){yh(b,"about_content");var c=B("SPAN","gb-buy-options-arrow","\u25bc");a.appendChild(c);O(b,"gb-buy-options-list");O(b,"unified-hovercard");Ip(a,9,b,8);N(b,!1);I(document,"mousedown",t(lA,a,b))}}}function lA(a,b,c){a=Cf(a,c.target);c=Cf(b,c.target);var d=kh(b);a||c||!d?a&&(N(b,!d),d||jh(b,1)):N(b,!1)};function mA(a,b,c,d,e,g){function h(l){l&&(l.tabIndex=0,Zj(l,k.va),O(l,"goog-zippy-header"),l&&k.ma.ka(l,"click",k.na),l&&(k.U.attach(l),k.V.ka(k.U,"key",k.ua)))}Q.call(this);this.N=e||Xe();this.i=this.N.ha(a)||null;this.l=this.N.ha(d||null);this.o=typeof b==="function"?b:null;this.va=g||"tab";this.j=this.o||!b?null:this.N.ha(b);this.g=c==1;c!==void 0||this.o||(this.l?this.g=kh(this.l):this.i&&(this.g=wh(this.i,"goog-zippy-expanded")));this.V=new ug(this);this.U=new Uq;this.ma=new ug(this);var k=
this;h(this.i);h(this.l);this.Je(this.g)}u(mA,Q);mA.prototype.wa=function(){mA.oa.wa.call(this);Qf(this.V);Qf(this.U);Qf(this.ma)};mA.prototype.Je=function(a){this.j?N(this.j,a):a&&this.o&&(this.j=this.o());this.j&&O(this.j,"goog-zippy-content");this.l?(N(this.i,!a),N(this.l,a)):this.i&&(P(this.i,"goog-zippy-expanded",a),P(this.i,"goog-zippy-collapsed",!a),X(this.i,"expanded",a));this.g=a;this.dispatchEvent(new nA("toggle",this,this.g))};
mA.prototype.ua=function(a){if(a.keyCode==13||a.keyCode==32)this.Je(!this.g),this.dispatchEvent(new nA("action",this,this.g,a)),a.preventDefault(),a.stopPropagation()};mA.prototype.na=function(a){this.Je(!this.g);this.dispatchEvent(new nA("action",this,this.g,a))};function nA(a,b){Uf.call(this,a,b)}u(nA,Uf);function oA(a,b,c,d){if(b.child_node&&b.child_node.length>0){var e=pA(b,!0,c,d),g=B("UL",c+"-list");a.appendChild(e);a.appendChild(g);(new mA(e,g)).Je(!b.collapsed);v(b.child_node,function(h){oA(g,h,c,d)})}else a.appendChild(pA(b,!1,c,d))}function pA(a,b,c,d){var e;if(b){b=c+"-heading";var g=c+"-header"}else b=c+"-link",g=c+"-item";a.url!=""?e=B("A",{"class":b,href:a.url},ed(a.title)):e=B("DIV",b,a.title);e=B("DIV",g,e);d==a.id&&O(e,c+"-selected");return e}
db("_OC_InitNavbar",function(a){var b=A("navbarContainer");if(b&&a.child_node){var c=B("UL","gb-left-nav-list");v(a.child_node,function(d){oA(c,d,"gb-left-nav",a.highlighted_node_id)});b.appendChild(c)}});function qA(a,b){Q.call(this);this.ya=a;this.g=b||null;O(a,"with-auto-dir-text");I(this.ya,"keyup",r(this.i,this));I(this.ya,"paste",r(this.j,this))}n(qA,Q);qA.prototype.i=function(){rA(this.ya,this.g)};qA.prototype.j=function(){sA(this.ya,this.g)};function sA(a,b){U(t(function(){rA(a,b)}))}
function rA(a,b){var c=!1,d;if(a.value){for(var e=d=0,g=!1,h=a.value.split(pw),k=0;k<h.length;k++){var l=h[k];nw.test(l)?(d++,e++):ow.test(l)?g=!0:mw.test(l)?e++:qw.test(l)&&(g=!0)}d=(e==0?g?1:0:d/e>.4?-1:1)==-1}else d=yj();d?(c=!0,J(a,"textAlign","right"),gf(a,{dir:"rtl"})):(J(a,"textAlign","left"),gf(a,{dir:"ltr"}));b&&(c?(yh(b,"input-direction-ltr"),O(b,"input-direction-rtl")):(O(b,"input-direction-ltr"),yh(b,"input-direction-rtl")))}
function tA(a,b){if(a=A(a))b=b?A(b):null,rA(a,b),new qA(a,b)}db("_OC_autoDir",tA);function uA(a){this.g=A("gb-ogen-opt-in-banner");this.j=A("gb-ogen-opt-in-banner-dismiss");this.i=A("gb-ogen-opt-in-header-link");this.l=a;a=A("gbq");this.i&&a&&(a=a.parentElement||null)&&(O(a,"searchbar-with-opt-in"),vf(this.i,a),J(this.i,"display","block"));vA(this)}
function vA(a){a.g&&a.j&&(window.localStorage.getItem("obclose")?N(a.g,!1):(O(a.g,"opt-in-banner-expanded"),I(a.j,"click",function(){yh(a.g,"opt-in-banner-expanded");window.localStorage.setItem("obclose","true");U(function(){N(a.g,!1);a.l.resize()},600)})))};function wA(a,b){a=A(a);b=A(b);a&&b&&I(a,"submit",t(xA,b))}function xA(a,b){a.value==""&&b.preventDefault()};function yA(a,b,c){if(Ld&&!Pd)return a;a='url("'+b+'")';Md&&(a+=" 7 5");return a+(", "+c)};function zA(a){W.call(this);this.O=a;this.i=new ug;this.g.ka(a,"viewportmodechange",this.Gm);this.O.Ga()&&this.Gm()}n(zA,W);f=zA.prototype;f.Gm=function(){zg(this.i);this.j&&this.j.dispose();this.l=this.O.Ga().N.j;var a=new nk(this.l);a.Ck=function(){};this.j=a;this.i.ka(this.l,"dblclick",r(this.et,this));this.i.ka(a,"start",r(this.Uq,this));this.i.ka(a,"drag",r(this.Vq,this));this.i.ka(a,"end",r(this.Tq,this));AA(this,!1)};f.et=function(){this.O.rb("next")};
function AA(a,b){a=a.l;if(Ld)b=b?"-moz-grabbing":"-moz-grab";else{var c=Tm("/googlebooks/images/");b=b?yA("-moz-grabbing",c+"closedhand.cur","move"):yA("-moz-grab",c+"openhand.cur","default")}J(a,"cursor",b)}f.Uq=function(){this.o=this.O.Ga().Ib;AA(this,!0)};f.Vq=function(){var a=this.j,b=this.o;this.O.Ga().Uc(new w(b.x-a.deltaX,b.y-a.deltaY))};f.Tq=function(){this.o=null;AA(this,!1)};f.wa=function(){W.prototype.wa.call(this)};function BA(a,b,c){c&&c.preventDefault();c=A(b.concat("-icon-right"));N(c,!a);c=A(b.concat("-icon-down"));N(c,a);b=A(b.concat("-expanded"));N(b,a)};function CA(a,b,c,d){dl.call(this,Qm.IsZipitFolderCollectionEnabled?void 0:"p13nd",!0);il(this,a);this.Mn=!0;ml(this,.5);this.mg=c;a=new fl;a.set("ok",b,!0);(d!==void 0?d:1)&&a.set("cancel","Cancel",!1,!0);ql(this,a);I(this,"dialogselect",this.Ma,!1,this)}u(CA,dl);CA.prototype.Ra=function(){CA.oa.Ra.call(this);J(rl(this.j,"ok"),"fontWeight","bold");J(this.ha(),"width","500px")};CA.prototype.Ma=function(a){a.key=="ok"&&this.Kb(a);return!0};
CA.prototype.wa=function(){qg(this,"dialogselect",this.Ma,!0,this);CA.oa.wa.call(this)};CA.prototype.Kb=function(a){this.mg(a)};function DA(a){Q.call(this);this.Ta=null;this.ya=a;this.g=new ug(this);this.g.ka(this.ya,"input",this)}u(DA,Q);DA.prototype.handleEvent=function(a){if(a.type=="input")EA(this),this.dispatchEvent(FA(a));else if(a.type!="keydown"||Eh(a)){var b=a.type=="keydown"?this.ya.value:null,c=FA(a);EA(this);this.Ta=setTimeout(function(){this.Ta=null;this.ya.value!=b&&this.dispatchEvent(c)}.bind(this),0)}};function EA(a){a.Ta!=null&&(clearTimeout(a.Ta),a.Ta=null)}
function FA(a){a=new Xf(a.Rb);a.type="input";return a}DA.prototype.wa=function(){DA.oa.wa.call(this);this.g.dispose();EA(this);delete this.ya};function GA(a,b,c,d){Q.call(this);this.g=a;this.l=b;this.i=c;this.o=d||0;a.removeAttribute("maxlength");this.j=new DA(a);I(this.j,"input",this.N,!1,this);HA(this)}u(GA,Q);GA.prototype.N=function(){HA(this)};function HA(a){var b=a.g.value.length;if(b>a.i){var c=a.g.scrollTop,d=a.g.scrollLeft;a.g.value=a.g.value.substring(0,a.i);b=a.i;a.g.scrollTop=c;a.g.scrollLeft=d}a.l&&G(a.l,String(a.o==1?b:a.i-b))}GA.prototype.wa=function(){GA.oa.wa.call(this);delete this.g;this.j.dispose();this.j=null};function IA(a,b,c,d,e){CA.call(this,a,b,null,!0);this.Wa=c;this.Lb=d;this.Da=e}n(IA,CA);
IA.prototype.Ra=function(){CA.prototype.Ra.call(this);this.o=JA(this,"Name","input");this.Za=JA(this,"Description <span class=cl-desc>(optional)</span>","textarea");var a=this.Mb(),b=B("DIV",{"class":"ccd-label"}),c=C("span");c.textContent="Visibility";b.appendChild(c);a.appendChild(b);a=B("SPAN",{className:"ccd-mode-indicator"});c=B("IMG",{src:"/googlebooks/images/sharing_public.gif",style:"vertical-align:-2px;padding:0 2px"});var d=C("span");d.textContent="Public";a.appendChild(c);a.appendChild(d);
b.appendChild(a);c=B("SPAN",{className:"ccd-mode-indicator"});d=B("IMG",{src:"/googlebooks/images/sharing_private.gif",style:"vertical-align:-2px;"});var e=C("span");e.textContent="Private";c.appendChild(d);c.appendChild(e);b.appendChild(c);d=B("SPAN",{"class":"ccd-mode-link"});d.textContent="Make public";b.appendChild(d);I(d,"click",r(this.Ia,this,!0));e=B("SPAN",{"class":"ccd-mode-link"});e.textContent="Make private";b.appendChild(e);I(e,"click",r(this.Ia,this,!1));this.Hd=[a,e];this.Gd=[c,d];this.Da!=
null&&(gf(this.Da,{"class":"ccd-mode-link"}),b.appendChild(this.Da));this.Ia(!0);this.V=B("DIV",{"class":"ccd-error"});this.Mb().appendChild(this.V);this.Ob=B("P","ccd-footnote","Please note that the contents and title of Public bookshelves can be viewed and shared by others.");this.Mb().appendChild(this.Ob);this.i&&KA(this);Qm.IsZipitFolderCollectionEnabled||(b=this.j,a=rl(b,"ok"),J(a,"fontWeight","bold"),O(a,"gb-button"),O(rl(b,"cancel"),"gb-button"))};
function KA(a){a.o.value=ed(a.i.kb());a.o.disabled=a.i.U;a.Za.value=ed(a.i.wg());a.Ia(a.i.oe==1);a.o.disabled&&J(a.o,"background","#f2f2f2")}
function JA(a,b,c){var d=a.Mb();a=B("DIV",{"class":"gb-bookshelf-dialog-container"});d.appendChild(a);d=B("DIV",{"class":"ccd-label"});var e=new Ne,g=new Set(e.g.l);g.add("class");e.g=new te(e.g.j,e.g.g,g,e.g.o,e.g.i);if(e.i)throw Error("this sanitizer has already called build");e.i=!0;x(d,De(new Ce(e.g,void 0,void 0,e.l,e.j),b));a.appendChild(d);b=B(c,{"class":"ccd-input"});c=="input"?(gf(b,{type:"text"}),b.setAttribute("maxlength",100)):c=="textarea"&&(gf(b,{rows:6,cols:50}),new GA(b,C("span"),
500));a.appendChild(b);return b}IA.prototype.Ia=function(a){this.nd=a;v(this.Hd,function(b){N(b,a)});v(this.Gd,function(b){N(b,!a)})};
IA.prototype.Ma=function(a){var b=this.o.value;if(a.key=="cancel")return!0;if(Wb(b))return this.V.textContent="Please enter a title for this bookshelf.",!1;if(this.Lb&&!this.Lb(b))return this.V.textContent="Another bookshelf already has that title. Please enter a different title.",!1;a=this.i||new Cx;a.xc=b;a.l=this.Za.value;a.oe=this.nd?1:2;if(this.i){b=this.Wa;var c=new R(b.Lp);S(c,"as_coll",a.getId());Ox(c,a,r(b.N,b))}else b=this.Wa,Ox(b.l,a,r(b.o,b,!0));return!0};
IA.prototype.wa=function(){delete this.Wa;delete this.Da;delete this.i;delete this.V;delete this.Ob;delete this.o;delete this.Za;delete this.Lb;CA.prototype.wa.call(this)};function LA(a,b,c,d,e){W.call(this);this.U=a;this.j=b;this.N=c;this.i=d;this.U&&(this.l=nb(this.U.childNodes,MA),this.i&&yb(this.l,nb(this.i.childNodes,MA)));this.o=e;U(r(this.Wq,this))}u(LA,W);f=LA.prototype;f.Wq=function(){this.j&&this.i&&this.g.ka(this.j,"click",this.Kp);this.N&&this.g.ka(this.N,"click",this.dt);this.g.ka(this.o,"add",this.ls)};
function MA(a){var b=bf("SPAN","sidebar-collection-title",a)[0];b||(b=bf("SPAN","hp-collection-title",a)[0]);if(!b)return"";a=If(b);return Xb(Xb(Zc(a)).split("(")[0])}f.dt=function(){var a=new IA("Create new bookshelf","Create bookshelf",this.o,r(this.ru,this));a.render();a.Ba(!0)};f.ru=function(a){var b=Xb(Zc(a)).toLowerCase();return!ob(this.l,function(c){return c.toLowerCase()==b})};
f.ls=function(a){var b=a.shelf;a=Xb(Zc(b.kb()));var c=b.oe==1;this.l.push(a);var d=new R("/books");iv(d);S(d,"as_coll",b.getId());S(d,"source","gbs_lp_bookshelf_list");if(Qm.IsBooksUnifiedLeftNavEnabled)b=B("LI",{"class":"left-nav-shelf-item"}),c=B("A",{"class":"sidebar-link"}),Fc(c,d.toString()),d=C("SPAN"),O(d,"sidebar-collection-title"),x(d,Je(a+" (0)")),c.appendChild(d),b.appendChild(c),a=A("hidden-my-library-expanded"),uf(b,a),BA(!0,"my-library");else{b=C("DIV");var e=B("A",{"class":"hp-bookshelf-link",
style:"line-height:19px"});Fc(e,d.toString());d=B("SPAN",{"class":"hp-collection-title"});x(d,Je(a));e.appendChild(d);b.appendChild(e);a=c?"Public bookshelf":"Private bookshelf";a=B("IMG",{"class":"hp-bookshelf-access",src:"/googlebooks/images/sharing_"+(c?"public":"private")+".gif",title:a,alt:a,width:14,height:14});b.appendChild(a);a=B("DIV",{style:"clear:both"});b.appendChild(a);vf(b,A("csStart"))}};
f.Kp=function(a){a.preventDefault();a=!kh(this.i);N(this.i,a);a?(Ip(this.j,9,this.i,8),M(this.i).height>200&&(a=M(this.i).width,K(this.i,a,200),J(this.i,"overflow","auto"),J(this.i,"overflowX","hidden")),this.V=I(document,"mousedown",r(this.yu,this))):rg(this.V)};f.yu=function(a){Cf(this.i,a.target)||Cf(this.j,a.target)||this.Kp(a)};
db("_OC_RunHomepage",function(){var a=A("oc-search-input");A("oc-search-form")&&a&&(tA("oc-search-input"),new Fy(a),a.focus(),wA("oc-search-form","oc-search-input"))});
</script><script>_OC_RunHomepage();</script></body></html>