(function(){var GBS_HOST = "https://books.google.com/";var f,aa=[];function ba(a){return function(){return aa[a].apply(this,arguments)}}function ca(a,b){return aa[a]=b}function da(a){var b=0;return function(){return b>>0)+"_",e=0;return b}); ka("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c=e}}); ka("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=La(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}});ka("Number.isFinite",function(a){return a?a:function(b){return"number"!==typeof b?!1:!isNaN(b)&&Infinity!==b&&-Infinity!==b}}); ka("String.prototype.repeat",function(a){return a?a:function(b){var c=La(this,null,"repeat");if(0>b||1342177279>>=1)c+=c;return d}});function Ma(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&cc&&(c=Math.max(0,e+c));if(null==d||d>e)d=e;d=Number(d);0>d&&(d=Math.max(0,e+d));for(c=Number(c||0);cc&&(c=Math.max(c+e,0));c>>0),Xa=0;function Ya(a,b,c){return a.call.apply(a.bind,arguments)}function Za(a,b,c){if(!a)throw Error();if(2c&&(c=Math.max(0,a.length+c));if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.lastIndexOf(b,c); for(;0<=c;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="string"===typeof a?a.split(""):a,g=0;gb?null:"string"===typeof a?a.charAt(b):a[b]} function ob(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,g=0;g=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}function zb(a,b){a.sort(b||Ab)} function Ab(a,b){return a>b?1:ab&&Array.prototype.push.apply(a,a.splice(0,-b))}return a}function Eb(a,b){return ub.apply([],lb(a,b))};function Fb(a){return"string"==typeof a.className?a.className:a.getAttribute&&a.getAttribute("class")||""}function Gb(a){return a.classList?a.classList:Fb(a).match(/\S+/g)||[]}function Hb(a,b){"string"==typeof a.className?a.className=b:a.setAttribute&&a.setAttribute("class",b)}function Ib(a,b){return a.classList?a.classList.contains(b):pb(Gb(a),b)}function x(a,b){if(a.classList)a.classList.add(b);else if(!Ib(a,b)){var c=Fb(a);Hb(a,c+(0")&&(a=a.replace(Vb,">"));-1!=a.indexOf('"')&&(a=a.replace(Wb,"""));-1!=a.indexOf("'")&&(a=a.replace(Xb,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(Yb,"�"));return a}var Tb=/&/g,Ub=//g,Wb=/"/g,Xb=/'/g,Yb=/\x00/g,Sb=/[\x00&<>"']/;function Zb(a,b){return-1!=a.indexOf(b)} function $b(a,b){var c=0;a=Qb(String(a)).split(".");b=Qb(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;0==c&&eb?1:0};function bc(){var a=q.navigator;return a&&(a=a.userAgent)?a:""}function z(a){return Zb(bc(),a)};function cc(){return z("Trident")||z("MSIE")}function dc(){return z("Firefox")||z("FxiOS")}function ec(){return(z("Chrome")||z("CriOS"))&&!z("Edge")||z("Silk")} function fc(){var a=bc();if(cc()){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),"7.0"==c[1])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="";if(""===a)return NaN;a=a.split(".");return 0===a.length?NaN:Number(a[0])};function gc(){return z("iPhone")&&!z("iPod")&&!z("iPad")}function hc(){return gc()||z("iPad")||z("iPod")};function ic(a){ic[" "](a);return a}ic[" "]=function(){};function jc(a,b){try{return ic(a[b]),!0}catch(c){}return!1}function kc(a,b,c,d){d=d?d(b):b;return Object.prototype.hasOwnProperty.call(a,d)?a[d]:a[d]=c(b)};var lc=z("Opera"),A=cc(),mc=z("Edge"),nc=mc||A,oc=z("Gecko")&&!(Zb(bc().toLowerCase(),"webkit")&&!z("Edge"))&&!(z("Trident")||z("MSIE"))&&!z("Edge"),pc=Zb(bc().toLowerCase(),"webkit")&&!z("Edge"),qc=pc&&z("Mobile"),rc=z("Macintosh"),sc=z("Windows"),tc=z("Linux")||z("CrOS"),uc=z("Android"),vc=gc(),wc=z("iPad"),xc=z("iPod"),yc=hc();function zc(){var a=q.document;return a?a.documentMode:void 0}var Ac; a:{var Bc="",Cc=function(){var a=bc();if(oc)return/rv:([^\);]+)(\)|;)/.exec(a);if(mc)return/Edge\/([\d\.]+)/.exec(a);if(A)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(pc)return/WebKit\/(\S+)/.exec(a);if(lc)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Cc&&(Bc=Cc?Cc[1]:"");if(A){var Dc=zc();if(null!=Dc&&Dc>parseFloat(Bc)){Ac=String(Dc);break a}}Ac=Bc}var Ec=Ac,Fc={};function Gc(a){return kc(Fc,a,function(){return 0<=$b(Ec,a)})}function Hc(a){return Number(Ic)>=a}var Jc; if(q.document&&A){var Kc=zc();Jc=Kc?Kc:parseInt(Ec,10)||void 0}else Jc=void 0;var Ic=Jc;var Lc=A||pc;function Mc(){return!0}function Nc(){return null}function Oc(){}function Pc(a){return a}function Qc(a,b){function c(){}c.prototype=a.prototype;var d=new c;a.apply(d,Array.prototype.slice.call(arguments,1));return d}function Rc(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}};function Sc(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function Tc(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}function Uc(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}function Vc(a,b){for(var c in a)if(a[c]==b)return!0;return!1}function Wc(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return c}function Xc(){var a=Yc,b;for(b in a)return!1;return!0}function Zc(a,b,c){if(null!==a&&b in a)throw Error('The object already contains the key "'+b+'"');a[b]=c} function $c(a){var b={},c;for(c in a)b[c]=a[c];return b}var ad="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function bd(a,b){for(var c,d,e=1;ea.length?"&":"")+encodeURIComponent(d)+"="+encodeURIComponent(String(h)))}}return b};function td(a,b){this.i=b===ud?a:""}td.prototype.toString=function(){return this.i.toString()};td.prototype.Yd=!0;td.prototype.vd=function(){return this.i.toString()};function vd(a){return a instanceof td&&a.constructor===td?a.i:"type_error:SafeUrl"}var wd=/^data:(.*);base64,[a-z0-9+\/]+=*$/i,xd=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i; function yd(a){a instanceof td||(a="object"==typeof a&&a.Yd?a.vd():String(a),xd.test(a)?a=zd(a):(a=String(a).replace(/(%0A|%0D)/g,""),a=a.match(wd)?zd(a):null));return a||Ad}function Bd(a){if(a instanceof td)return a;a="object"==typeof a&&a.Yd?a.vd():String(a);xd.test(a)||(a="about:invalid#zClosurez");return zd(a)}var ud={};function zd(a){return new td(a,ud)}var Ad=zd("about:invalid#zClosurez");var Cd={};function Dd(a,b){this.i=b===Cd?a:"";this.Yd=!0}Dd.prototype.vd=function(){return this.i};Dd.prototype.toString=function(){return this.i.toString()};function Ed(a){return a instanceof Dd&&a.constructor===Dd?a.i:"type_error:SafeStyle"} function Fd(a){var b="",c;for(c in a)if(Object.prototype.hasOwnProperty.call(a,c)){if(!/^[-_a-zA-Z0-9]+$/.test(c))throw Error("Name allows only [-_a-zA-Z0-9], got: "+c);var d=a[c];null!=d&&(d=Array.isArray(d)?d.map(Gd).join(" "):Gd(d),b+=c+":"+d+";")}return b?new Dd(b,Cd):Hd}var Hd=new Dd("",Cd); function Gd(a){if(a instanceof td)return'url("'+vd(a).replace(/+~[\]()=^$|]+$/.test(c))throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=^$|] and strings, got: "+a);a:{for(var d={"(":")","[":"]"},e=[],g=0;g"))} function ae(a,b,c){be(String(a));return ce(String(a),b,c)}function be(a){if(!de.test(a))throw Error("");if(a.toUpperCase()in ee)throw Error("");}function fe(a){function b(e){Array.isArray(e)?e.forEach(b):(e=Yd(e),d.push(Wd(e)))}var c=Yd(ge),d=[];a.forEach(b);return Zd(d.join(Wd(c)))}function he(a){return fe(Array.prototype.slice.call(arguments))}function Zd(a){var b=fd();a=b?b.createHTML(a):a;return new Vd(a,Ud)} function ce(a,b,c){b="<"+a+ie(b);null==c?c=[]:Array.isArray(c)||(c=[c]);!0===dd[a.toLowerCase()]?b+=">":(c=he(c),b+=">"+Wd(c)+"");return Zd(b)} function ie(a){var b="";if(a)for(var c in a)if(Object.prototype.hasOwnProperty.call(a,c)){if(!de.test(c))throw Error("");var d=a[c];if(null!=d){var e=c;if(d instanceof gd)d=jd(d);else if("style"==e.toLowerCase()){if(!Ua(d))throw Error("");d instanceof Dd||(d=Fd(d));d=Ed(d)}else{if(/^on/i.test(e))throw Error("");if(e.toLowerCase()in je)if(d instanceof nd)d=pd(d).toString();else if(d instanceof td)d=vd(d);else if("string"===typeof d)d=yd(d).vd();else throw Error("");}d.Yd&&(d=d.vd());e=e+'="'+Rb(String(d))+ '"';b+=" "+e}}return b}var de=/^[a-zA-Z0-9-]+$/,je={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},ee={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},ke=Zd(""),ge=new Vd(q.trustedTypes&&q.trustedTypes.emptyHTML||"",Ud),le=Zd("
");function me(a,b,c){a.insertAdjacentHTML(b,Xd(c))}var ne=Rc(function(){var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);b=a.firstChild.firstChild;a.innerHTML=Xd(ge);return!b.parentElement});function oe(a,b){if(ne())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=Xd(b)}function pe(a,b){b=b instanceof td?b:Bd(b);a.href=vd(b)} function qe(a,b){var c=re(a.ownerDocument&&a.ownerDocument.defaultView);c&&a.setAttribute("nonce",c);a.src=pd(b)}function se(a,b){b=b instanceof td?b:Bd(b);a.href=vd(b)}function te(a,b){b=b instanceof td?b:Bd(b);a.replace(vd(b))}function re(a){return ue("script[nonce]",a)}var ve=/^[\w+/_-]+[=]{0,2}$/;function ue(a,b){b=(b||q).document;return b.querySelector?(a=b.querySelector(a))&&(a=a.nonce||a.getAttribute("nonce"))&&ve.test(a)?a:"":""};function we(a,b,c){return Math.min(Math.max(a,b),c)};function B(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0}f=B.prototype;f.clone=function(){return new B(this.x,this.y)};function xe(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1}function ye(a,b){var c=a.x-b.x;a=a.y-b.y;return Math.sqrt(c*c+a*a)}function ze(a,b){return new B(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.qk=function(a,b){this.x*=a;this.y*="number"===typeof b?b:a;return this};function Ae(a,b){this.width=a;this.height=b}function Be(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1}f=Ae.prototype;f.clone=function(){return new Ae(this.width,this.height)};f.aspectRatio=function(){return this.width/this.height};f.Hc=ba(6);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 Ce(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1",""":'"'};var c=q.document.createElement("div");return a.replace(Le,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||(g=Zd(d+" "),oe(c,g),g=c.firstChild.nodeValue.slice(0,-1));return b[d]=g})} function Ke(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 Le=/&([^;\s<&]+);?/g;function Me(a,b){a.length>b&&(a=a.substring(0,b-3)+"...");return a}function Ne(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#a}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(3==a.nodeType)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"DIV"==b.nodeName&&"string"===typeof b.className&&pb(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 Ue(a){this.i=a||q.document||document}f=Ue.prototype;f.ma=function(a){return We(this.i,a)};f.getElementsByTagName=function(a,b){return(b||this.i).getElementsByTagName(String(a))};f.Ua=function(a,b,c){return kf(this.i,arguments)};function Of(a,b){return lf(a.i,b)}function Pf(a){a=a.i;return a.parentWindow||a.defaultView}f.appendChild=pf;f.Km=qf;f.Mm=rf;f.Tu=sf;f.Su=tf;f.Li=I;f.Do=wf;f.Fo=xf;f.Vu=zf; f.Lm=Bf;function Qf(){}Qf.prototype.next=function(){return Rf};var Rf={done:!0,value:void 0};Qf.prototype.vf=function(){return this};var Sf={}; function Tf(a){var b=Sf.hasOwnProperty(a)?Sf[a]:null;if(b)return b;65536~\\.\\[:]+)","g"),1);b=Vf(b,c,RegExp("(\\.[^\\s\\+>~\\.\\[:]+)","g"),2);b=Vf(b,c,/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,3); b=Vf(b,c,/(:[\w-]+\([^\)]*\))/gi,2);b=Vf(b,c,/(:[^\s\+>~\.\[:]+)/g,2);b=b.replace(/[\*\s\+>~]/g," ");b=b.replace(/[#\.]/g," ");Vf(b,c,/([^\s\+>~\.\[:]+)/g,3);b=c;return Sf[a]=b}function Vf(a,b,c,d){return a.replace(c,function(e){b[d]+=1;return Array(e.length+1).join(" ")})}function Uf(a,b){return a.replace(b,function(c){return Array(c.length+1).join("A")})};var Wf={rgb:!0,rgba:!0,alpha:!0,rect:!0,image:!0,"linear-gradient":!0,"radial-gradient":!0,"repeating-linear-gradient":!0,"repeating-radial-gradient":!0,"cubic-bezier":!0,matrix:!0,perspective:!0,rotate:!0,rotate3d:!0,rotatex:!0,rotatey:!0,steps:!0,rotatez:!0,scale:!0,scale3d:!0,scalex:!0,scaley:!0,scalez:!0,skew:!0,skewx:!0,skewy:!0,translate:!0,translate3d:!0,translatex:!0,translatey:!0,translatez:!0},Xf=/[\n\f\r"'()*<>]/g,Yf={"\n":"%0a","\f":"%0c","\r":"%0d",'"':"%22","'":"%27","(":"%28",")":"%29", "*":"%2a","<":"%3c",">":"%3e"};function Zf(a){return Yf[a]} function $f(a,b,c){b=Qb(b);if(""==b)return null;var d=String(b.slice(0,4)).toLowerCase();if(0==("url("d;d++){var e="\"'".charAt(d);if(b.charAt(0)==e&&b.charAt(b.length-1)==e){b=b.substring(1,b.length-1);break a}}a=c?(a=c(b,a))&&"about:invalid#zClosurez"!=vd(a)?'url("'+vd(a).replace(Xf,Zf)+'")':null:null}return a}if(0document.documentMode){if(!b[c].call)throw Error("IE Clobbering detected");}else if("function"!=typeof b[c])throw Error("Clobbering detected");return b[c].apply(b,d)}function zg(a){return xg(ig,a,"attributes",function(b){return b instanceof NamedNodeMap})} function Ag(a,b,c){try{yg(lg,a,"setAttribute",[b,c])}catch(d){if(-1==d.message.indexOf("A security problem occurred"))throw d;}}function Bg(a){return xg(sg,a,"style",function(b){return b instanceof CSSStyleDeclaration})}function Cg(a){return xg(tg,a,"sheet",function(b){return b instanceof CSSStyleSheet})}function Dg(a){return xg(pg,a,"nodeName",function(b){return"string"==typeof b})}function Eg(a){return xg(qg,a,"nodeType",function(b){return"number"==typeof b})} function Fg(a){return xg(rg,a,"parentNode",function(b){return!(b&&"string"==typeof b.name&&b.name&&"parentnode"==b.name.toLowerCase())})}function Gg(a,b){return yg(ug,a,a.getPropertyValue?"getPropertyValue":"getAttribute",[b])||""}function Hg(a,b,c){yg(vg,a,a.setProperty?"setProperty":"setAttribute",[b,c])}function Ig(a){return xg(wg,a,"namespaceURI",function(b){return"string"==typeof b})};var Jg=A&&10>document.documentMode?null:RegExp("\\s*([^\\s'\",]+[^'\",]*(('([^'\\r\\n\\f\\\\]|\\\\[^])*')|(\"([^\"\\r\\n\\f\\\\]|\\\\[^])*\")|[^'\",])*)","g"),Kg={"-webkit-border-horizontal-spacing":!0,"-webkit-border-vertical-spacing":!0}; function Lg(a,b,c){var d=[];Mg(vb(a.cssRules)).forEach(function(e){if(b&&!/[a-zA-Z][\w-:\.]*/.test(b))throw Error("Invalid container id");if(!(b&&A&&10==document.documentMode&&/\\['"]/.test(e.selectorText))){var g=b?e.selectorText.replace(Jg,"#"+b+" $1"):e.selectorText;d.push(Qd(g,Ng(e.style,c)))}});return Rd(d)}function Mg(a){return a.filter(function(b){return b instanceof CSSStyleRule||b.type==CSSRule.STYLE_RULE})} function Og(a,b,c){a=Pg("");return null==a||null==a.sheet?Td:Lg(a.sheet,void 0!=b?b:null,c)}function Pg(a){a=Zd(""+a+"");return(new DOMParser).parseFromString(Xd(a),"text/html").body.children[0]} function Ng(a,b){if(!a)return Hd;var c=document.createElement("div").style;Qg(a).forEach(function(d){var e=pc&&d in Kg?d:d.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");Nb(e,"--")||Nb(e,"var")||(d=Gg(a,d),d=$f(e,d,b),null!=d&&Hg(c,e,d))});return new Dd(c.cssText||"",Cd)} function Rg(a){var b=Array.from(yg(ng,a,"getElementsByTagName",["STYLE"])),c=Eb(b,function(h){return vb(Cg(h).cssRules)});c=Mg(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 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 Ae(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=Re(b);c=d;void 0===a.style[d]&&(d=(pc?"Webkit":oc?"Moz":A?"ms":null)+Se(d),void 0!==a.style[d]&&(c=d));eh[b]=c}return c}function fh(a,b){var c=a.style[Re(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||Hc(9)||ff(Te(a).i)?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&&!Hc(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.i.body,e=c.i.documentElement,g=hf(c.i);a=oh(a);)if(!(A&&0==a.clientWidth||pc&&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= ef(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||hf(document);var c=b||hf(document);var d=qh(a),e=qh(c),g=sh(c);if(c==hf(document)){var h=d.x-c.scrollLeft;d=d.y-c.scrollTop;A&&!Hc(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=gf(Te(b).i);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 Ae)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=pc&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=nh(a),new Ae(a.right-a.left,a.bottom-a.top)):new Ae(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=oc?"MozUserSelect":pc||mc?"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){Gh(a,b,"border-box")} function Hh(a){var b=Ve(a),c=A&&a.currentStyle;if(c&&ff(Te(b).i)&&"auto"!=c.width&&"auto"!=c.height&&!c.boxSizing)return b=Ih(a,c.width,"width","pixelWidth"),a=Ih(a,c.height,"height","pixelHeight"),new Ae(b,a);c=new Ae(a.offsetWidth,a.offsetHeight);if(A){b=Jh(a,"paddingLeft");var d=Jh(a,"paddingRight"),e=Jh(a,"paddingTop"),g=Jh(a,"paddingBottom");b=new Tg(e,d,g,b)}else b=gh(a,"paddingLeft"),d=gh(a,"paddingRight"),e=gh(a,"paddingTop"),g=gh(a,"paddingBottom"),b=new Tg(parseFloat(e),parseFloat(d),parseFloat(g), parseFloat(b));a=sh(a);return new Ae(c.width-a.left-b.left-b.right-a.right,c.height-a.top-b.top-b.bottom-a.bottom)}function Gh(a,b,c){a=a.style;oc?a.MozBoxSizing=c:pc?a.WebkitBoxSizing=c:a.boxSizing=c;a.width=Math.max(b.width,0)+"px";a.height=Math.max(b.height,0)+"px"}function Ih(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 Jh(a,b){return(b=hh(a,b))?Ih(a,b,"left","pixelLeft"):0}var Kh={thin:2,medium:4,thick:6};function Lh(a,b){if("none"==hh(a,b+"Style"))return 0;b=hh(a,b+"Width");return b in Kh?Kh[b]:Ih(a,b,"left","pixelLeft")} function sh(a){if(A&&!Hc(9)){var b=Lh(a,"borderLeft"),c=Lh(a,"borderRight"),d=Lh(a,"borderTop");a=Lh(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 Mh={"* 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},Nh={"* 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 Oh="undefined"!=typeof WeakMap&&-1!=WeakMap.toString().indexOf("[native code]"),Ph=0;function Qh(){this.o=[];this.j=[];this.i="data-elementweakmap-index-"+Ph++}Qh.prototype.set=function(a,b){if(yg(jg,a,"hasAttribute",[this.i])){var c=parseInt(yg(kg,a,"getAttribute",[this.i])||null,10);this.j[c]=b}else c=this.j.push(b)-1,Ag(a,this.i,c.toString()),this.o.push(a);return this}; Qh.prototype.get=function(a){if(yg(jg,a,"hasAttribute",[this.i]))return a=parseInt(yg(kg,a,"getAttribute",[this.i])||null,10),this.j[a]};Qh.prototype.clear=function(){this.o.forEach(function(a){yg(mg,a,"removeAttribute",[this.i])},this);this.o=[];this.j=[]};var Rh=!A||Hc(10),Sh=!A||null==document.documentMode;function Th(){};var Uh={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 Vh={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 Wh={"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 Xh(a){a=a||new Yh;Zh(a);this.i=$c(a.i);this.N=$c(a.va);this.j=$c(a.wa);this.ha=a.ta;a.Da.forEach(function(b){if(!Nb(b,"data-"))throw new fb('Only "data-" attributes allowed, got: %s.',[b]);if(Nb(b,"data-sanitizer-"))throw new fb('Attributes with "%s" prefix are not allowed, got: %s.',["data-sanitizer-",b]);this.i["* "+b.toUpperCase()]=$h},this);a.Ca.forEach(function(b){b=b.toUpperCase();if(!Zb(b,"-")||Wh[b])throw new fb("Only valid custom element tag names allowed, got: %s.",[b]);this.j[b]= !0},this);this.ka=a.o;this.s=a.Na;this.o=null;this.O=a.oa}u(Xh,Th);function ai(a){return function(b,c){return(b=a(Qb(b),c))&&"about:invalid#zClosurez"!=vd(b)?vd(b):null}}function Yh(){this.i={};v([Mh,Nh],function(a){Uc(a).forEach(function(b){this.i[b]=$h},this)},this);this.j={};this.Da=[];this.Ca=[];this.va=$c(Uh);this.wa=$c(Vh);this.ta=!1;this.ha=yd;this.ka=this.s=this.N=this.o=Nc;this.Na=null;this.O=this.oa=!1} function bi(a,b){return function(c,d,e,g){c=a(c,d,e,g);return null==c?null:b(c,d,e,g)}}function ci(a,b,c,d){a[c]&&!b[c]&&(a[c]=bi(a[c],d))} function Zh(a){if(a.O)throw Error("HtmlSanitizer.Builder.build() can only be used once.");ci(a.i,a.j,"* USEMAP",di);var b=ai(a.ha);["* ACTION","* CITE","* HREF"].forEach(function(d){ci(this.i,this.j,d,b)},a);var c=ai(a.o);["* LONGDESC","* SRC","LINK HREF"].forEach(function(d){ci(this.i,this.j,d,c)},a);["* FOR","* HEADERS","* NAME"].forEach(function(d){ci(this.i,this.j,d,t(ei,this.N))},a);ci(a.i,a.j,"A TARGET",t(fi,["_blank","_self"]));ci(a.i,a.j,"* CLASS",t(gi,a.s));ci(a.i,a.j,"* ID",t(hi,a.s));ci(a.i, a.j,"* STYLE",t(a.ka,c));a.O=!0}function ii(a,b){a||(a="*");return(a+" "+b).toUpperCase()}function $h(a){return Qb(a)}function fi(a,b){b=Qb(b);return pb(a,b.toLowerCase())?b:null}function di(a){return(a=Qb(a))&&"#"==a.charAt(0)?a:null}function ei(a,b,c){return a(Qb(b),c)}function gi(a,b,c){b=b.split(/(?:\s+)/);for(var d=[],e=0;e"+b+""),Rg(b),b=b.innerHTML);b=Zd(b);var c=document.createElement("template");if(Sh&&"content"in c)oe(c,b),c=c.content;else{var d=document.implementation.createHTMLDocument("x");c=d.body;oe(d.body,b)}b=document.createTreeWalker(c,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,null,!1);for(c=Oh? new WeakMap:new Qh;d=b.nextNode();){c:{var e=d;switch(Eg(e)){case 3:e=ji(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=G("SPAN"),this.ha&&Ag(h,"data-sanitizer-original-tag",g.toLowerCase()));if(h){var k=h,l=zg(e);if(null!=l)for(var m=0;g=l[m];m++)if(g.specified){var p=e;var w=g;var D=w.name;if(Nb(D,"data-sanitizer-"))w=null;else{var E=Dg(p); w=w.value;var H={tagName:Qb(E).toLowerCase(),attributeName:Qb(D).toLowerCase()},O={hl:void 0};"style"==H.attributeName&&(O.hl=Bg(p));p=ii(E,D);p in this.i?(D=this.i[p],w=D(w,H,O)):(D=ii(null,D),D in this.i?(D=this.i[D],w=D(w,H,O)):w=null)}null!==w&&Ag(k,g.name,w)}e=h}else e=null}break c;default:e=null}}if(e){if(1==Eg(e)&&c.set(d,e),d=Fg(d),g=!1,d)h=Eg(d),k=Dg(d).toLowerCase(),l=Fg(d),11!=h||l?"body"==k&&l&&(h=Fg(l))&&!Fg(h)&&(g=!0):g=!0,h=null,g||!d?h=a:1==Eg(d)&&(h=c.get(d)),h.content&&(h=h.content), h.appendChild(e)}else rf(d)}c.clear&&c.clear()}else a=G("SPAN");0")+1,a.lastIndexOf(">>0);function Hi(a){if("function"===typeof a)return a;a[Qi]||(a[Qi]=function(b){return a.handleEvent(b)});return a[Qi]};function Ri(a){mi.call(this);this.O=a;this.o={}}u(Ri,mi);var Si=[];f=Ri.prototype;f.na=function(a,b,c,d){return Ti(this,a,b,c,d)};function Ui(a,b,c,d,e){Ti(a,b,c,d,!1,e)}function Ti(a,b,c,d,e,g){Array.isArray(c)||(c&&(Si[0]=c.toString()),c=Si);for(var h=0;h=a.keyCode)return!1;if(qj(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!oc;default:return 166>a.keyCode||183=a||96<=a&&106>=a||65<=a&&90>=a||(pc||mc)&&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 oc;default:return!1}}function sj(a){if(oc)a=tj(a);else if(rc&&pc)switch(a){case 93:a=91}return a} function tj(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 uj(a){if(a.tc&&"function"==typeof a.tc)return a.tc();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(Ta(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.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 Aj(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 Ge(b.slice(d,-1!==e?e:0))}var Dj=/[?&]($|#)/;function S(a,b){this.j=this.ka=this.N="";this.ha=null;this.i=this.s="";this.O=!1;var c;a instanceof S?(this.O=void 0!==b?b:a.O,Ej(this,a.N),this.ka=a.ka,this.j=a.j,Fj(this,a.ha),Gj(this,a.s),Hj(this,a.o.clone()),this.i=a.i):a&&(c=String(a).match(xj))?(this.O=!!b,Ej(this,c[1]||"",!0),this.ka=Ij(c[2]||""),this.j=Ij(c[3]||"",!0),Fj(this,c[4]),Gj(this,c[5]||"",!0),Hj(this,c[6]||"",!0),this.i=Ij(c[7]||"")):(this.O=!!b,this.o=new Jj(null,this.O))} S.prototype.toString=function(){var a=[],b=this.N;b&&a.push(Kj(b,Lj,!0),":");var c=this.j;if(c||"file"==b)a.push("//"),(b=this.ka)&&a.push(Kj(b,Lj,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.ha,null!=c&&a.push(":",String(c));if(c=this.s)this.j&&"/"!=c.charAt(0)&&a.push("/"),a.push(Kj(c,"/"==c.charAt(0)?Mj:Nj,!0));(c=this.o.toString())&&a.push("?",c);(c=this.i)&&a.push("#",Kj(c,Oj));return a.join("")}; S.prototype.resolve=function(a){var b=this.clone(),c=!!a.N;c?Ej(b,a.N):c=!!a.ka;c?b.ka=a.ka:c=!!a.j;c?b.j=a.j:c=null!=a.ha;var d=a.s;if(c)Fj(b,a.ha);else if(c=!!a.s){if("/"!=d.charAt(0))if(this.j&&!this.s)d="/"+d;else{var e=b.s.lastIndexOf("/");-1!=e&&(d=b.s.slice(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(Zb(e,"./")||Zb(e,"/.")){d=Nb(e,"/");e=e.split("/");for(var g=[],h=0;hb)throw Error("Bad port number "+b);a.ha=b}else a.ha=null}function Gj(a,b,c){a.s=c?Ij(b,!0):b}function Hj(a,b,c){b instanceof Jj?(a.o=b,Pj(a.o,a.O)):(c||(b=Kj(b,Qj)),a.o=new Jj(b,a.O))} S.prototype.getQuery=function(){return this.o.toString()};function T(a,b,c){a.o.set(b,c);return a}function U(a,b){return a.o.get(b)}function Rj(a,b){a.o.remove(b);return a}function Ij(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}function Kj(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,Sj),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}function Sj(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)} var Lj=/[#\/\?@]/g,Nj=/[#\?:]/g,Mj=/[#\?]/g,Qj=/[#\?@]/g,Oj=/#/g;function Jj(a,b){this.j=this.i=null;this.o=a||null;this.s=!!b}function Tj(a){a.i||(a.i=new Map,a.j=0,a.o&&yj(a.o,function(b,c){a.add(Ge(b),c)}))}function Uj(a){var b=vj(a);if("undefined"==typeof b)throw Error("Keys are undefined");var c=new Jj(null);a=uj(a);for(var d=0;da.j&&(a.j++,b.next=a.i,a.i=b)};function hk(a,b){var c=a;b&&(c=r(a,b));c=ik(c);"function"!==typeof q.setImmediate||q.Window&&q.Window.prototype&&!z("Edge")&&q.Window.prototype.setImmediate==q.setImmediate?(jk||(jk=kk()),jk(c)):q.setImmediate(c)}var jk; function kk(){var a=q.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!z("Presto")&&(a=function(){var e=G("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&&!cc()){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 ik=Pc;function lk(a){q.setTimeout(function(){throw a;},0)};function mk(){this.j=this.i=null}mk.prototype.add=function(a,b){var c=nk.get();c.set(a,b);this.j?this.j.next=c:this.i=c;this.j=c};mk.prototype.remove=function(){var a=null;this.i&&(a=this.i,this.i=this.i.next,this.i||(this.j=null),a.next=null);return a};var nk=new fk(function(){return new ok},function(a){return a.reset()});function ok(){this.next=this.i=this.Te=null}ok.prototype.set=function(a,b){this.Te=a;this.i=b;this.next=null};ok.prototype.reset=function(){this.next=this.i=this.Te=null};var pk,qk=!1,rk=new mk;function sk(a,b){pk||tk();qk||(pk(),qk=!0);rk.add(a,b)}function tk(){if(q.Promise&&q.Promise.resolve){var a=q.Promise.resolve(void 0);pk=function(){a.then(uk)}}else pk=function(){hk(uk)}}function uk(){for(var a;a=rk.remove();){try{a.Te.call(a.i)}catch(b){lk(b)}gk(nk,a)}qk=!1};function vk(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};function wk(a){this.i=0;this.ka=void 0;this.s=this.j=this.o=null;this.N=this.O=!1;if(a!=Oc)try{var b=this;a.call(void 0,function(c){xk(b,2,c)},function(c){xk(b,3,c)})}catch(c){xk(this,3,c)}}function yk(){this.next=this.context=this.j=this.o=this.i=null;this.s=!1}yk.prototype.reset=function(){this.context=this.j=this.o=this.i=null;this.s=!1};var zk=new fk(function(){return new yk},function(a){a.reset()});function Ak(a,b,c){var d=zk.get();d.o=a;d.j=b;d.context=c;return d} function Bk(){var a,b,c=new wk(function(d,e){a=d;b=e});return new Ck(c,a,b)}wk.prototype.then=function(a,b,c){return Dk(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};wk.prototype.$goog_Thenable=!0;wk.prototype.cancel=function(a){if(0==this.i){var b=new Ek(a);sk(function(){Fk(this,b)},this)}}; function Fk(a,b){if(0==a.i)if(a.o){var c=a.o;if(c.j){for(var d=0,e=null,g=null,h=c.j;h&&(h.s||(d++,h.i==a&&(e=h),!(e&&1"+a+"\x3c/script>"))}function gl(a){return a.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")};function hl(a){var b=document.createElement("template");if(!("content"in b)){b=Zd(""+a);b=(new DOMParser).parseFromString(Xd(b),"text/html");for(a=b.createDocumentFragment();0