try{
var u;function _DumpException(c){window.console.error(c.stack)};
}catch(e){_DumpException(e)}
try{
var aa=aa||{},ba=this,ca=function(c){return void 0!==c},da=function(c,d){for(var f=c.split("."),g=d||ba,k;k=f.shift();)if(null!=g[k])g=g[k];else return null;return g},ea=function(){},fa=function(c){var d=typeof c;if("object"==d)if(c){if(c instanceof Array)return"array";if(c instanceof Object)return d;var f=Object.prototype.toString.call(c);if("[object Window]"==f)return"object";if("[object Array]"==f||"number"==typeof c.length&&"undefined"!=typeof c.splice&&"undefined"!=typeof c.propertyIsEnumerable&&
!c.propertyIsEnumerable("splice"))return"array";if("[object Function]"==f||"undefined"!=typeof c.call&&"undefined"!=typeof c.propertyIsEnumerable&&!c.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"==d&&"undefined"==typeof c.call)return"object";return d},ga=function(c){return null!=c},ha=function(c){return"array"==fa(c)},ia=function(c){var d=fa(c);return"array"==d||"object"==d&&"number"==typeof c.length},ja=function(c){return"string"==typeof c},ka=function(c){return"number"==
typeof c},la=function(c){return"function"==fa(c)},ma=function(c){var d=typeof c;return"object"==d&&null!=c||"function"==d},na="closure_uid_"+(1E9*Math.random()>>>0),oa=function(c,d,f){return c.call.apply(c.bind,arguments)},pa=function(c,d,f){if(!c)throw Error();if(2<arguments.length){var g=Array.prototype.slice.call(arguments,2);return function(){var f=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(f,g);return c.apply(d,f)}}return function(){return c.apply(d,arguments)}},v=function(c,
d,f){v=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?oa:pa;return v.apply(null,arguments)},qa=function(c,d){var f=Array.prototype.slice.call(arguments,1);return function(){var d=f.slice();d.push.apply(d,arguments);return c.apply(this,d)}},ra=Date.now||function(){return+new Date},sa=function(c,d){var f=c.split("."),g=ba;f[0]in g||!g.execScript||g.execScript("var "+f[0]);for(var k;f.length&&(k=f.shift());)!f.length&&ca(d)?g[k]=d:g[k]?g=g[k]:g=g[k]={}},w=function(c, d){function f(){}f.prototype=d.prototype;c.K=d.prototype;c.prototype=new f;c.prototype.constructor=c;c.Li=function(c,f,l){for(var m=Array(arguments.length-2),h=2;h<arguments.length;h++)m[h-2]=arguments[h];return d.prototype[f].apply(c,m)}};
var ta=function(c){if(Error.captureStackTrace)Error.captureStackTrace(this,ta);else{var d=Error().stack;d&&(this.stack=d)}c&&(this.message=String(c))};w(ta,Error);ta.prototype.name="CustomError";var va=function(c,d){return 0==c.lastIndexOf(d,0)},wa=String.prototype.trim?function(c){return c.trim()}:function(c){return c.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},xa=function(c){return encodeURIComponent(String(c))},ya=function(c){return decodeURIComponent(c.replace(/\+/g," "))},Ba=function(c,d){for(var f=0,g=wa(String(c)).split("."),k=wa(String(d)).split("."),l=Math.max(g.length,k.length),m=0;0==f&&m<l;m++){var h=g[m]||"",p=k[m]||"",n=RegExp("(\\d*)(\\D*)","g"),q=RegExp("(\\d*)(\\D*)","g");do{var r=
n.exec(h)||["","",""],t=q.exec(p)||["","",""];if(0==r[0].length&&0==t[0].length)break;f=Aa(0==r[1].length?0:parseInt(r[1],10),0==t[1].length?0:parseInt(t[1],10))||Aa(0==r[2].length,0==t[2].length)||Aa(r[2],t[2])}while(0==f)}return f},Aa=function(c,d){return c<d?-1:c>d?1:0};Math.random();
var Ca=Array.prototype,Da=Ca.indexOf?function(c,d,f){return Ca.indexOf.call(c,d,f)}:function(c,d,f){f=null==f?0:0>f?Math.max(0,c.length+f):f;if(ja(c))return ja(d)&&1==d.length?c.indexOf(d,f):-1;for(;f<c.length;f++)if(f in c&&c[f]===d)return f;return-1},Ea=Ca.lastIndexOf?function(c,d,f){return Ca.lastIndexOf.call(c,d,null==f?c.length-1:f)}:function(c,d,f){f=null==f?c.length-1:f;0>f&&(f=Math.max(0,c.length+f));if(ja(c))return ja(d)&&1==d.length?c.lastIndexOf(d,f):-1;for(;0<=f;f--)if(f in c&&c[f]===
d)return f;return-1},Fa=Ca.forEach?function(c,d,f){Ca.forEach.call(c,d,f)}:function(c,d,f){for(var g=c.length,k=ja(c)?c.split(""):c,l=0;l<g;l++)l in k&&d.call(f,k[l],l,c)},Ga=Ca.filter?function(c,d,f){return Ca.filter.call(c,d,f)}:function(c,d,f){for(var g=c.length,k=[],l=0,m=ja(c)?c.split(""):c,h=0;h<g;h++)if(h in m){var p=m[h];d.call(f,p,h,c)&&(k[l++]=p)}return k},Ha=Ca.map?function(c,d,f){return Ca.map.call(c,d,f)}:function(c,d,f){for(var g=c.length,k=Array(g),l=ja(c)?c.split(""):c,m=0;m<g;m++)m in
l&&(k[m]=d.call(f,l[m],m,c));return k},Ia=Ca.reduce?function(c,d,f,g){g&&(d=v(d,g));return Ca.reduce.call(c,d,f)}:function(c,d,f,g){var k=f;Fa(c,function(f,m){k=d.call(g,k,f,m,c)});return k},Ja=Ca.some?function(c,d,f){return Ca.some.call(c,d,f)}:function(c,d,f){for(var g=c.length,k=ja(c)?c.split(""):c,l=0;l<g;l++)if(l in k&&d.call(f,k[l],l,c))return!0;return!1},Ka=Ca.every?function(c,d,f){return Ca.every.call(c,d,f)}:function(c,d,f){for(var g=c.length,k=ja(c)?c.split(""):c,l=0;l<g;l++)if(l in k&&
!d.call(f,k[l],l,c))return!1;return!0},Ma=function(c,d,f){d=La(c,d,f);return 0>d?null:ja(c)?c.charAt(d):c[d]},La=function(c,d,f){for(var g=c.length,k=ja(c)?c.split(""):c,l=0;l<g;l++)if(l in k&&d.call(f,k[l],l,c))return l;return-1},Na=function(c,d){return 0<=Da(c,d)},Pa=function(c,d){var f=Da(c,d),g;(g=0<=f)&&Oa(c,f);return g},Oa=function(c,d){Ca.splice.call(c,d,1)},Qa=function(c){return Ca.concat.apply(Ca,arguments)},Ra=function(c){var d=c.length;if(0<d){for(var f=Array(d),g=0;g<d;g++)f[g]=c[g];return f}return[]};
var Sa=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g;var Ta=function(c,d,f){for(var g in c)d.call(f,c[g],g,c)},Ua=function(c){var d=[],f=0,g;for(g in c)d[f++]=c[g];return d},Va=function(c){var d=[],f=0,g;for(g in c)d[f++]=g;return d},Xa="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Ya=function(c,d){for(var f,g,k=1;k<arguments.length;k++){g=arguments[k];for(f in g)c[f]=g[f];for(var l=0;l<Xa.length;l++)f=Xa[l],Object.prototype.hasOwnProperty.call(g,f)&&(c[f]=g[f])}},Za=function(c){var d=arguments.length; if(1==d&&ha(arguments[0]))return Za.apply(null,arguments[0]);for(var f={},g=0;g<d;g++)f[arguments[g]]=!0;return f};
var $a=function(){this.Ea=this.Ea;this.Aa=this.Aa};$a.prototype.Ea=!1;$a.prototype.isDisposed=function(){return this.Ea};$a.prototype.Fa=function(){this.Ea||(this.Ea=!0,this.T())};$a.prototype.T=function(){if(this.Aa)for(;this.Aa.length;)this.Aa.shift()()};
var cb=function(c,d){this.type="undefined"!=typeof ab&&c instanceof ab?String(c):c;this.currentTarget=this.target=d;this.defaultPrevented=this.b=!1;this.Qn=!0};cb.prototype.stopPropagation=function(){this.b=!0};cb.prototype.preventDefault=function(){this.defaultPrevented=!0;this.Qn=!1};
var db=function(c){db[" "](c);return c};db[" "]=ea;var eb;a:{var fb=ba.navigator;if(fb){var gb=fb.userAgent;if(gb){eb=gb;break a}}eb=""}var hb=function(c){return-1!=eb.indexOf(c)};var ib=function(){return hb("Opera")||hb("OPR")},jb=function(){return hb("Edge")||hb("Trident")||hb("MSIE")};var kb=function(){return hb("Edge")};var lb=function(){return hb("iPhone")&&!hb("iPod")&&!hb("iPad")};var mb=ib(),nb=jb(),ob=hb("Gecko")&&!(-1!=eb.toLowerCase().indexOf("webkit")&&!kb())&&!(hb("Trident")||hb("MSIE"))&&!kb(),pb=-1!=eb.toLowerCase().indexOf("webkit")&&!kb(),qb=pb&&hb("Mobile"),rb=hb("Macintosh"),sb=hb("Windows"),tb=hb("Android"),ub=lb(),vb=hb("iPad"),wb=function(){var c=eb;if(ob)return/rv\:([^\);]+)(\)|;)/.exec(c);if(nb&&kb())return/Edge\/([\d\.]+)/.exec(c);if(nb)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(c);if(pb)return/WebKit\/(\S+)/.exec(c)},xb=function(){var c=ba.document;return c?
c.documentMode:void 0},yb=function(){if(mb&&ba.opera){var c=ba.opera.version;return la(c)?c():c}var c="",d=wb();d&&(c=d?d[1]:"");return nb&&!kb()&&(d=xb(),d>parseFloat(c))?String(d):c}(),zb={},Ab=function(c){return zb[c]||(zb[c]=0<=Ba(yb,c))},Cb=function(c){return nb&&(kb()||Bb>=c)},Db=ba.document,Eb=xb(),Bb=!Db||!nb||!Eb&&kb()?void 0:Eb||("CSS1Compat"==Db.compatMode?parseInt(yb,10):5);
var Fb=!nb||Cb(9),Gb=!nb||Cb(9),Hb=nb&&!Ab("9");!pb||Ab("528");ob&&Ab("1.9b")||nb&&Ab("8")||mb&&Ab("9.5")||pb&&Ab("528");ob&&!Ab("8")||nb&&Ab("9");var Ib=function(c){return pb?"webkit"+c:mb?"o"+c.toLowerCase():c.toLowerCase()},Jb={lw:"click",Oy:"rightclick",Bw:"dblclick",Kx:"mousedown",Qx:"mouseup",Px:"mouseover",Ox:"mouseout",Nx:"mousemove",Lx:"mouseenter",Mx:"mouseleave",Ry:"selectstart",qz:"wheel",tx:"keypress",sx:"keydown",ux:"keyup",fw:"blur",Ww:"focus",Cw:"deactivate",Xw:nb?"focusin":"DOMFocusIn",Yw:nb?"focusout":"DOMFocusOut",hw:"change",Qy:"select",bz:"submit",jx:"input",Jy:"propertychange",Sw:"dragstart",Nw:"drag",Pw:"dragenter",Rw:"dragover",
Qw:"dragleave",Tw:"drop",Ow:"dragend",kz:"touchstart",jz:"touchmove",iz:"touchend",gz:"touchcancel",ew:"beforeunload",vw:"consolemessage",ww:"contextmenu",Hw:"DOMContentLoaded",ERROR:"error",gx:"help",LOAD:"load",Fx:"losecapture",vy:"orientationchange",Ky:"readystatechange",My:"resize",Tk:"scroll",nz:"unload",ex:"hashchange",wy:"pagehide",xy:"pageshow",Hy:"popstate",xw:"copy",yy:"paste",Aw:"cut",bw:"beforecopy",cw:"beforecut",dw:"beforepaste",uy:"online",ry:"offline",Ix:"message",uw:"connect",$v:Ib("AnimationStart"),
Yv:Ib("AnimationEnd"),Zv:Ib("AnimationIteration"),lz:Ib("TransitionEnd"),Ay:"pointerdown",Gy:"pointerup",zy:"pointercancel",Dy:"pointermove",Fy:"pointerover",Ey:"pointerout",By:"pointerenter",Cy:"pointerleave",dx:"gotpointercapture",Gx:"lostpointercapture",Rx:"MSGestureChange",Sx:"MSGestureEnd",Tx:"MSGestureHold",Ux:"MSGestureStart",Vx:"MSGestureTap",Wx:"MSGotPointerCapture",Xx:"MSInertiaStart",Yx:"MSLostPointerCapture",Zx:"MSPointerCancel",by:"MSPointerDown",dy:"MSPointerEnter",ey:"MSPointerHover",
gy:"MSPointerLeave",iy:"MSPointerMove",jy:"MSPointerOut",ly:"MSPointerOver",oy:"MSPointerUp",ez:"text",fz:"textInput",nw:"compositionstart",ow:"compositionupdate",mw:"compositionend",Vw:"exit",yx:"loadabort",zx:"loadcommit",Ax:"loadredirect",Bx:"loadstart",Cx:"loadstop",Ny:"responsive",Sy:"sizechanged",oz:"unresponsive",pz:"visibilitychange",Vy:"storage",Mw:"DOMSubtreeModified",Iw:"DOMNodeInserted",Kw:"DOMNodeRemoved",Lw:"DOMNodeRemovedFromDocument",Jw:"DOMNodeInsertedIntoDocument",Fw:"DOMAttrModified", Gw:"DOMCharacterDataModified"};
var Kb=function(c,d){cb.call(this,c?c.type:"");this.f=this.currentTarget=this.target=null;this.e=this.keyCode=this.screenY=this.screenX=this.clientY=this.clientX=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.j=!1;this.a=null;if(c){var f=this.type=c.type;this.target=c.target||c.srcElement;this.currentTarget=d;var g=c.relatedTarget;if(g){if(ob){var k;a:{try{db(g.nodeName);k=!0;break a}catch(l){}k=!1}k||(g=null)}}else"mouseover"==f?g=c.fromElement:"mouseout"==f&&(g=c.toElement);
this.f=g;this.clientX=void 0!==c.clientX?c.clientX:c.pageX;this.clientY=void 0!==c.clientY?c.clientY:c.pageY;this.screenX=c.screenX||0;this.screenY=c.screenY||0;this.keyCode=c.keyCode||0;this.e=c.charCode||("keypress"==f?c.keyCode:0);this.ctrlKey=c.ctrlKey;this.altKey=c.altKey;this.shiftKey=c.shiftKey;this.metaKey=c.metaKey;this.j=rb?c.metaKey:c.ctrlKey;this.state=c.state;this.a=c;c.defaultPrevented&&this.preventDefault()}};w(Kb,cb);
Kb.prototype.stopPropagation=function(){Kb.K.stopPropagation.call(this);this.a.stopPropagation?this.a.stopPropagation():this.a.cancelBubble=!0};Kb.prototype.preventDefault=function(){Kb.K.preventDefault.call(this);var c=this.a;if(c.preventDefault)c.preventDefault();else if(c.returnValue=!1,Hb)try{if(c.ctrlKey||112<=c.keyCode&&123>=c.keyCode)c.keyCode=-1}catch(d){}};Kb.prototype.l=function(){return this.a};
var Lb="closure_listenable_"+(1E6*Math.random()|0),Mb=function(c){return!(!c||!c[Lb])},Nb=0;var Ob=function(c,d,f,g,k){this.Be=c;this.proxy=null;this.src=d;this.type=f;this.Qg=!!g;this.cc=k;this.key=++Nb;this.removed=this.Pg=!1},Pb=function(c){c.removed=!0;c.Be=null;c.proxy=null;c.src=null;c.cc=null};var Qb=function(c){this.src=c;this.a={};this.b=0};Qb.prototype.add=function(c,d,f,g,k){var l=c.toString();c=this.a[l];c||(c=this.a[l]=[],this.b++);var m=Rb(c,d,g,k);-1<m?(d=c[m],f||(d.Pg=!1)):(d=new Ob(d,this.src,l,!!g,k),d.Pg=f,c.push(d));return d};Qb.prototype.remove=function(c,d,f,g){c=c.toString();if(!(c in this.a))return!1;var k=this.a[c];d=Rb(k,d,f,g);return-1<d?(Pb(k[d]),Oa(k,d),0==k.length&&(delete this.a[c],this.b--),!0):!1};
var Sb=function(c,d){var f=d.type;if(!(f in c.a))return!1;var g=Pa(c.a[f],d);g&&(Pb(d),0==c.a[f].length&&(delete c.a[f],c.b--));return g};Qb.prototype.removeAll=function(c){c=c&&c.toString();var d=0,f;for(f in this.a)if(!c||f==c){for(var g=this.a[f],k=0;k<g.length;k++)++d,Pb(g[k]);delete this.a[f];this.b--}return d}; var Tb=function(c,d,f,g,k){c=c.a[d.toString()];d=-1;c&&(d=Rb(c,f,g,k));return-1<d?c[d]:null},Rb=function(c,d,f,g){for(var k=0;k<c.length;++k){var l=c[k];if(!l.removed&&l.Be==d&&l.Qg==!!f&&l.cc==g)return k}return-1};
var Ub="closure_lm_"+(1E6*Math.random()|0),Vb={},Wb=0,Xb=function(c,d,f,g,k){if(ha(d)){for(var l=0;l<d.length;l++)Xb(c,d[l],f,g,k);return null}f=Yb(f);return Mb(c)?c.listen(d,f,g,k):Zb(c,d,f,!1,g,k)},Zb=function(c,d,f,g,k,l){if(!d)throw Error("f");var m=!!k,h=$b(c);h||(c[Ub]=h=new Qb(c));f=h.add(d,f,g,k,l);if(f.proxy)return f;g=ac();f.proxy=g;g.src=c;g.Be=f;c.addEventListener?c.addEventListener(d.toString(),g,m):c.attachEvent(bc(d.toString()),g);Wb++;return f},ac=function(){var c=cc,d=Gb?function(f){return c.call(d.src,
d.Be,f)}:function(f){f=c.call(d.src,d.Be,f);if(!f)return f};return d},ec=function(c,d,f,g,k){if(ha(d))for(var l=0;l<d.length;l++)ec(c,d[l],f,g,k);else f=Yb(f),Mb(c)?c.Lc.remove(String(d),f,g,k):c&&(c=$b(c))&&(d=Tb(c,d,f,!!g,k))&&fc(d)},fc=function(c){if(ka(c)||!c||c.removed)return!1;var d=c.src;if(Mb(d))return Sb(d.Lc,c);var f=c.type,g=c.proxy;d.removeEventListener?d.removeEventListener(f,g,c.Qg):d.detachEvent&&d.detachEvent(bc(f),g);Wb--;(f=$b(d))?(Sb(f,c),0==f.b&&(f.src=null,d[Ub]=null)):Pb(c);
return!0},bc=function(c){return c in Vb?Vb[c]:Vb[c]="on"+c},hc=function(c,d,f,g){var k=!0;if(c=$b(c))if(d=c.a[d.toString()])for(d=d.concat(),c=0;c<d.length;c++){var l=d[c];l&&l.Qg==f&&!l.removed&&(l=gc(l,g),k=k&&!1!==l)}return k},gc=function(c,d){var f=c.Be,g=c.cc||c.src;c.Pg&&fc(c);return f.call(g,d)},cc=function(c,d){if(c.removed)return!0;if(!Gb){var f=d||da("window.event"),g=new Kb(f,this),k=!0;if(!(0>f.keyCode||void 0!=f.returnValue)){a:{var l=!1;if(0==f.keyCode)try{f.keyCode=-1;break a}catch(m){l=
!0}if(l||void 0==f.returnValue)f.returnValue=!0}f=[];for(l=g.currentTarget;l;l=l.parentNode)f.push(l);for(var l=c.type,h=f.length-1;!g.b&&0<=h;h--){g.currentTarget=f[h];var p=hc(f[h],l,!0,g),k=k&&p}for(h=0;!g.b&&h<f.length;h++)g.currentTarget=f[h],p=hc(f[h],l,!1,g),k=k&&p}return k}return gc(c,new Kb(d,this))},$b=function(c){c=c[Ub];return c instanceof Qb?c:null},ic="__closure_events_fn_"+(1E9*Math.random()>>>0),Yb=function(c){if(la(c))return c;c[ic]||(c[ic]=function(d){return c.handleEvent(d)});return c[ic]};
var jc=function(){$a.call(this);this.Lc=new Qb(this);this.Vh=this;this.zc=null};w(jc,$a);jc.prototype[Lb]=!0;u=jc.prototype;u.bh=function(){return this.zc};u.og=function(c){this.zc=c};u.addEventListener=function(c,d,f,g){Xb(this,c,d,f,g)};u.removeEventListener=function(c,d,f,g){ec(this,c,d,f,g)};
u.V=function(c){var d,f=this.bh();if(f)for(d=[];f;f=f.bh())d.push(f);var f=this.Vh,g=c.type||c;if(ja(c))c=new cb(c,f);else if(c instanceof cb)c.target=c.target||f;else{var k=c;c=new cb(g,f);Ya(c,k)}var k=!0,l;if(d)for(var m=d.length-1;!c.b&&0<=m;m--)l=c.currentTarget=d[m],k=kc(l,g,!0,c)&&k;c.b||(l=c.currentTarget=f,k=kc(l,g,!0,c)&&k,c.b||(k=kc(l,g,!1,c)&&k));if(d)for(m=0;!c.b&&m<d.length;m++)l=c.currentTarget=d[m],k=kc(l,g,!1,c)&&k;return k};
u.T=function(){jc.K.T.call(this);this.Lc&&this.Lc.removeAll(void 0);this.zc=null};u.listen=function(c,d,f,g){return this.Lc.add(String(c),d,!1,f,g)};var kc=function(c,d,f,g){d=c.Lc.a[String(d)];if(!d)return!0;d=d.concat();for(var k=!0,l=0;l<d.length;++l){var m=d[l];if(m&&!m.removed&&m.Qg==f){var h=m.Be,p=m.cc||m.src;m.Pg&&Sb(c.Lc,m);k=!1!==h.call(p,g)&&k}}return k&&0!=g.Qn};
var lc="StopIteration"in ba?ba.StopIteration:Error("g"),mc=function(){};mc.prototype.next=function(){throw lc;};mc.prototype.gc=function(){return this};var oc=function(c,d){this.b={};this.a=[];this.f=this.e=0;var f=arguments.length;if(1<f){if(f%2)throw Error("e");for(var g=0;g<f;g+=2)this.set(arguments[g],arguments[g+1])}else c&&nc(this,c)};u=oc.prototype;u.Ta=function(){return this.e};u.Ya=function(){pc(this);for(var c=[],d=0;d<this.a.length;d++)c.push(this.b[this.a[d]]);return c};u.Db=function(){pc(this);return this.a.concat()};u.Rg=function(c){for(var d=0;d<this.a.length;d++){var f=this.a[d];if(qc(this.b,f)&&this.b[f]==c)return!0}return!1};
u.rb=function(){return 0==this.e};u.clear=function(){this.b={};this.f=this.e=this.a.length=0};u.remove=function(c){return qc(this.b,c)?(delete this.b[c],this.e--,this.f++,this.a.length>2*this.e&&pc(this),!0):!1};var pc=function(c){if(c.e!=c.a.length){for(var d=0,f=0;d<c.a.length;){var g=c.a[d];qc(c.b,g)&&(c.a[f++]=g);d++}c.a.length=f}if(c.e!=c.a.length){for(var k={},f=d=0;d<c.a.length;)g=c.a[d],qc(k,g)||(c.a[f++]=g,k[g]=1),d++;c.a.length=f}};
oc.prototype.get=function(c,d){return qc(this.b,c)?this.b[c]:d};oc.prototype.set=function(c,d){qc(this.b,c)||(this.e++,this.a.push(c),this.f++);this.b[c]=d};var nc=function(c,d){var f,g;d instanceof oc?(f=d.Db(),g=d.Ya()):(f=Va(d),g=Ua(d));for(var k=0;k<f.length;k++)c.set(f[k],g[k])};oc.prototype.forEach=function(c,d){for(var f=this.Db(),g=0;g<f.length;g++){var k=f[g],l=this.get(k);c.call(d,l,k,this)}};oc.prototype.clone=function(){return new oc(this)};
oc.prototype.gc=function(c){pc(this);var d=0,f=this.a,g=this.b,k=this.f,l=this,m=new mc;m.next=function(){for(;;){if(k!=l.f)throw Error("i");if(d>=f.length)throw lc;var h=f[d++];return c?h:g[h]}};return m};var qc=function(c,d){return Object.prototype.hasOwnProperty.call(c,d)};
var rc=function(c){if("function"==typeof c.Ya)return c.Ya();if(ja(c))return c.split("");if(ia(c)){for(var d=[],f=c.length,g=0;g<f;g++)d.push(c[g]);return d}return Ua(c)},sc=function(c){if("function"==typeof c.Db)return c.Db();if("function"!=typeof c.Ya){if(ia(c)||ja(c)){var d=[];c=c.length;for(var f=0;f<c;f++)d.push(f);return d}return Va(c)}},tc=function(c,d,f){if("function"==typeof c.forEach)c.forEach(d,f);else if(ia(c)||ja(c))Fa(c,d,f);else for(var g=sc(c),k=rc(c),l=k.length,m=0;m<l;m++)d.call(f, k[m],g&&g[m],c)};
var uc=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/,wc=function(c){if(vc){vc=!1;var d=ba.location;if(d){var f=d.href;if(f&&(f=(f=wc(f)[3]||null)?decodeURI(f):f)&&f!=d.hostname)throw vc=!0,Error();}}return c.match(uc)},vc=pb,xc=function(c,d){for(var f=c.split("&"),g=0;g<f.length;g++){var k=f[g].indexOf("="),l=null,m=null;0<=k?(l=f[g].substring(0,k),m=f[g].substring(k+1)):l=f[g];d(l,m?ya(m):"")}};
var yc=function(c,d){var f;c instanceof yc?(this.ke=ca(d)?d:c.ke,zc(this,c.mc),this.He=c.He,Ac(this,c.Ib),Bc(this,c.Kb),Cc(this,c.Rb),Dc(this,c.a.clone()),Ec(this,c.Zc)):c&&(f=wc(String(c)))?(this.ke=!!d,zc(this,f[1]||"",!0),this.He=Fc(f[2]||""),Ac(this,f[3]||"",!0),Bc(this,f[4]),Cc(this,f[5]||"",!0),Dc(this,f[6]||"",!0),Ec(this,f[7]||"",!0)):(this.ke=!!d,this.a=new Gc(null,0,this.ke))};u=yc.prototype;u.mc="";u.He="";u.Ib="";u.Kb=null;u.Rb="";u.Zc="";u.ke=!1;
u.toString=function(){var c=[],d=this.mc;d&&c.push(Hc(d,Ic,!0),":");if(d=this.Ib){c.push("//");var f=this.He;f&&c.push(Hc(f,Ic,!0),"@");c.push(xa(d).replace(/%25([0-9a-fA-F]{2})/g,"%$1"));d=this.Kb;null!=d&&c.push(":",String(d))}if(d=this.Rb)this.Ib&&"/"!=d.charAt(0)&&c.push("/"),c.push(Hc(d,"/"==d.charAt(0)?Jc:Kc,!0));(d=this.a.toString())&&c.push("?",d);(d=this.Zc)&&c.push("#",Hc(d,Lc));return c.join("")};
u.resolve=function(c){var d=this.clone(),f=!!c.mc;f?zc(d,c.mc):f=!!c.He;f?d.He=c.He:f=!!c.Ib;f?Ac(d,c.Ib):f=null!=c.Kb;var g=c.Rb;if(f)Bc(d,c.Kb);else if(f=!!c.Rb){if("/"!=g.charAt(0))if(this.Ib&&!this.Rb)g="/"+g;else{var k=d.Rb.lastIndexOf("/");-1!=k&&(g=d.Rb.substr(0,k+1)+g)}k=g;if(".."==k||"."==k)g="";else if(-1!=k.indexOf("./")||-1!=k.indexOf("/.")){for(var g=va(k,"/"),k=k.split("/"),l=[],m=0;m<k.length;){var h=k[m++];"."==h?g&&m==k.length&&l.push(""):".."==h?((1<l.length||1==l.length&&""!=l[0])&&
l.pop(),g&&m==k.length&&l.push("")):(l.push(h),g=!0)}g=l.join("/")}else g=k}f?Cc(d,g):f=""!==c.a.toString();f?Dc(d,Fc(c.a.toString())):f=!!c.Zc;f&&Ec(d,c.Zc);return d};u.clone=function(){return new yc(this)};
var zc=function(c,d,f){c.mc=f?Fc(d,!0):d;c.mc&&(c.mc=c.mc.replace(/:$/,""));return c},Ac=function(c,d,f){c.Ib=f?Fc(d,!0):d;return c},Bc=function(c,d){if(d){d=Number(d);if(isNaN(d)||0>d)throw Error("j`"+d);c.Kb=d}else c.Kb=null},Cc=function(c,d,f){c.Rb=f?Fc(d,!0):d;return c},Dc=function(c,d,f){d instanceof Gc?(c.a=d,Mc(c.a,c.ke)):(f||(d=Hc(d,Nc)),c.a=new Gc(d,0,c.ke));return c},Oc=function(c,d,f){c.a.set(d,f);return c},Ec=function(c,d,f){c.Zc=f?Fc(d):d;return c},Pc=function(c){return c instanceof yc?
c.clone():new yc(c,void 0)},Fc=function(c,d){return c?d?decodeURI(c):decodeURIComponent(c):""},Hc=function(c,d,f){return ja(c)?(c=encodeURI(c).replace(d,Qc),f&&(c=c.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c):null},Qc=function(c){c=c.charCodeAt(0);return"%"+(c>>4&15).toString(16)+(c&15).toString(16)},Ic=/[#\/\?@]/g,Kc=/[\#\?:]/g,Jc=/[\#\?]/g,Nc=/[\#\?@]/g,Lc=/#/g,Gc=function(c,d,f){this.a=c||null;this.b=!!f},Rc=function(c){c.pb||(c.pb=new oc,c.ac=0,c.a&&xc(c.a,function(d,f){c.add(ya(d),f)}))};u=Gc.prototype;
u.pb=null;u.ac=null;u.Ta=function(){Rc(this);return this.ac};u.add=function(c,d){Rc(this);this.a=null;c=Sc(this,c);var f=this.pb.get(c);f||this.pb.set(c,f=[]);f.push(d);this.ac++;return this};u.remove=function(c){Rc(this);c=Sc(this,c);return qc(this.pb.b,c)?(this.a=null,this.ac-=this.pb.get(c).length,this.pb.remove(c)):!1};u.clear=function(){this.pb=this.a=null;this.ac=0};u.rb=function(){Rc(this);return 0==this.ac};var Tc=function(c,d){Rc(c);d=Sc(c,d);return qc(c.pb.b,d)};u=Gc.prototype;
u.Rg=function(c){var d=this.Ya();return Na(d,c)};u.Db=function(){Rc(this);for(var c=this.pb.Ya(),d=this.pb.Db(),f=[],g=0;g<d.length;g++)for(var k=c[g],l=0;l<k.length;l++)f.push(d[g]);return f};u.Ya=function(c){Rc(this);var d=[];if(ja(c))Tc(this,c)&&(d=Qa(d,this.pb.get(Sc(this,c))));else{c=this.pb.Ya();for(var f=0;f<c.length;f++)d=Qa(d,c[f])}return d};u.set=function(c,d){Rc(this);this.a=null;c=Sc(this,c);Tc(this,c)&&(this.ac-=this.pb.get(c).length);this.pb.set(c,[d]);this.ac++;return this};
u.get=function(c,d){var f=c?this.Ya(c):[];return 0<f.length?String(f[0]):d};var Uc=function(c,d,f){c.remove(d);0<f.length&&(c.a=null,c.pb.set(Sc(c,d),Ra(f)),c.ac+=f.length)};Gc.prototype.toString=function(){if(this.a)return this.a;if(!this.pb)return"";for(var c=[],d=this.pb.Db(),f=0;f<d.length;f++)for(var g=d[f],k=xa(g),g=this.Ya(g),l=0;l<g.length;l++){var m=k;""!==g[l]&&(m+="="+xa(g[l]));c.push(m)}return this.a=c.join("&")};
Gc.prototype.clone=function(){var c=new Gc;c.a=this.a;this.pb&&(c.pb=this.pb.clone(),c.ac=this.ac);return c};var Sc=function(c,d){var f=String(d);c.b&&(f=f.toLowerCase());return f},Mc=function(c,d){d&&!c.b&&(Rc(c),c.a=null,c.pb.forEach(function(c,d){var k=d.toLowerCase();d!=k&&(this.remove(d),Uc(this,k,c))},c));c.b=d};Gc.prototype.e=function(c){for(var d=0;d<arguments.length;d++)tc(arguments[d],function(c,d){this.add(d,c)},this)};
var Vc=Za("area base br col command embed hr img input keygen link meta param source track wbr".split(" "));var Wc=RegExp("[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]"),Xc=RegExp("^[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*[\u0591-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]"),Yc=RegExp("[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff][^\u0591-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]*$"),Zc= RegExp("[\u0591-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc][^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*$");
var ad=function(){this.a="";this.b=$c};ad.prototype.re=!0;var $c={};ad.prototype.bd=function(){return this.a};var bd=function(c){var d=new ad;d.a=c;return d},dd=bd("");var fd=function(){this.a="";this.e=ed;this.b=null};fd.prototype.Bj=!0;fd.prototype.Ze=function(){return this.b};fd.prototype.re=!0;fd.prototype.bd=function(){return this.a};var ed={},gd=function(c,d){var f=new fd;f.a=c;f.b=d;return f},hd=gd("",0);var id=!nb||Cb(9),jd=!ob&&!nb||nb&&Cb(9)||ob&&Ab("1.9.1"),kd=nb&&!Ab("9"),ld=nb||mb||pb;var md=function(c){return 9==c.nodeType?c:c.ownerDocument||c.document};var nd=function(c,d){var f=md(c);return f.defaultView&&f.defaultView.getComputedStyle&&(f=f.defaultView.getComputedStyle(c,null))?f[d]||f.getPropertyValue(d)||"":""},od=ob?"MozUserSelect":pb?"WebkitUserSelect":null;var pd=function(){return/(iPhone|iPad|iPod)/i.test(navigator.userAgent)};var qd=function(c){ba.setTimeout(function(){throw c;},0)},td=function(c){!la(ba.setImmediate)||ba.Window&&ba.Window.prototype&&ba.Window.prototype.setImmediate==ba.setImmediate?(rd||(rd=sd()),rd(c)):ba.setImmediate(c)},rd,sd=function(){var c=ba.MessageChannel;"undefined"===typeof c&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!hb("Presto")&&(c=function(){var c=document.createElement("iframe");c.style.display="none";c.src="";document.documentElement.appendChild(c);var d=
c.contentWindow,c=d.document;c.open();c.write("");c.close();var f="callImmediate"+Math.random(),g="file:"==d.location.protocol?"*":d.location.protocol+"//"+d.location.host,c=v(function(c){if(("*"==g||c.origin==g)&&c.data==f)this.port1.onmessage()},this);d.addEventListener("message",c,!1);this.port1={};this.port2={postMessage:function(){d.postMessage(f,g)}}});if("undefined"!==typeof c&&!jb()){var d=new c,f={},g=f;d.port1.onmessage=function(){if(ca(f.next)){f=f.next;var c=f.Cl;f.Cl=null;c()}};return function(c){g.next=
{Cl:c};g=g.next;d.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement("script")?function(c){var d=document.createElement("script");d.onreadystatechange=function(){d.onreadystatechange=null;d.parentNode.removeChild(d);d=null;c();c=null};document.documentElement.appendChild(d)}:function(c){ba.setTimeout(c,0)}};
var ud=function(c,d,f){this.j=f;this.e=c;this.f=d;this.b=0;this.a=null};ud.prototype.get=function(){var c;0<this.b?(this.b--,c=this.a,this.a=c.next,c.next=null):c=this.e();return c};ud.prototype.put=function(c){this.f(c);this.b<this.j&&(this.b++,c.next=this.a,this.a=c)};
var vd=function(){this.b=this.a=null},xd=new ud(function(){return new wd},function(c){c.reset()},100);vd.prototype.add=function(c,d){var f=xd.get();f.set(c,d);this.b?this.b.next=f:this.a=f;this.b=f};vd.prototype.remove=function(){var c=null;this.a&&(c=this.a,this.a=this.a.next,this.a||(this.b=null),c.next=null);return c};var wd=function(){this.next=this.scope=this.a=null};wd.prototype.set=function(c,d){this.a=c;this.scope=d;this.next=null}; wd.prototype.reset=function(){this.next=this.scope=this.a=null};
var Cd=function(c,d){yd||zd();Ad||(yd(),Ad=!0);Bd.add(c,d)},yd,zd=function(){if(ba.Promise&&ba.Promise.resolve){var c=ba.Promise.resolve();yd=function(){c.then(Dd)}}else yd=function(){td(Dd)}},Ad=!1,Bd=new vd,Dd=function(){for(var c=null;c=Bd.remove();){try{c.a.call(c.scope)}catch(d){qd(d)}xd.put(c)}Ad=!1};
var Ed=function(c){c.prototype.then=c.prototype.then;c.prototype.$goog_Thenable=!0},Fd=function(c){if(!c)return!1;try{return!!c.$goog_Thenable}catch(d){return!1}};var Id=function(c,d){this.a=0;this.o=void 0;this.f=this.b=this.e=null;this.j=this.l=!1;if(c==Gd)Hd(this,2,d);else try{var f=this;c.call(d,function(c){Hd(f,2,c)},function(c){Hd(f,3,c)})}catch(g){Hd(this,3,g)}},Jd=function(){this.next=this.b=this.a=this.e=this.yb=null;this.f=!1};Jd.prototype.reset=function(){this.b=this.a=this.e=this.yb=null;this.f=!1};
var Kd=new ud(function(){return new Jd},function(c){c.reset()},100),Ld=function(c,d,f){var g=Kd.get();g.e=c;g.a=d;g.b=f;return g},Gd=function(){},Md=function(c){return new Id(Gd,c)},Nd=function(c){return new Id(function(d,f){f(c)})};Id.prototype.then=function(c,d,f){return Od(this,la(c)?c:null,la(d)?d:null,f)};Ed(Id);var Qd=function(c,d,f,g){c instanceof Id?Pd(c,Ld(d||ea,f||null,g)):c.then(d,f,g)},Rd=function(c,d){return Od(c,null,d,void 0)};
Id.prototype.cancel=function(c){0==this.a&&Cd(function(){var d=new Sd(c);Td(this,d)},this)};
var Td=function(c,d){if(0==c.a)if(c.e){var f=c.e;if(f.b){for(var g=0,k=null,l=null,m=f.b;m&&(m.f||(g++,m.yb==c&&(k=m),!(k&&1<g)));m=m.next)k||(l=m);k&&(0==f.a&&1==g?Td(f,d):(l?(g=l,g.next==f.f&&(f.f=g),g.next=g.next.next):Ud(f),Vd(f,k,3,d)))}c.e=null}else Hd(c,3,d)},Pd=function(c,d){c.b||2!=c.a&&3!=c.a||Wd(c);c.f?c.f.next=d:c.b=d;c.f=d},Od=function(c,d,f,g){var k=Ld(null,null,null);k.yb=new Id(function(c,m){k.e=d?function(f){try{var k=d.call(g,f);c(k)}catch(n){m(n)}}:c;k.a=f?function(d){try{var k=
f.call(g,d);!ca(k)&&d instanceof Sd?m(d):c(k)}catch(n){m(n)}}:m});k.yb.e=c;Pd(c,k);return k.yb};Id.prototype.p=function(c){this.a=0;Hd(this,2,c)};Id.prototype.B=function(c){this.a=0;Hd(this,3,c)};
var Hd=function(c,d,f){if(0==c.a){if(c==f)d=3,f=new TypeError("Promise cannot resolve to itself");else{if(Fd(f)){c.a=1;Qd(f,c.p,c.B,c);return}if(ma(f))try{var g=f.then;if(la(g)){Xd(c,f,g);return}}catch(k){d=3,f=k}}c.o=f;c.a=d;c.e=null;Wd(c);3!=d||f instanceof Sd||Yd(c,f)}},Xd=function(c,d,f){c.a=1;var g=!1,k=function(d){g||(g=!0,c.p(d))},l=function(d){g||(g=!0,c.B(d))};try{f.call(d,k,l)}catch(m){l(m)}},Wd=function(c){c.l||(c.l=!0,Cd(c.H,c))},Ud=function(c){var d=null;c.b&&(d=c.b,c.b=d.next,d.next=
null);c.b||(c.f=null);return d};Id.prototype.H=function(){for(var c=null;c=Ud(this);)Vd(this,c,this.a,this.o);this.l=!1};var Vd=function(c,d,f,g){d.yb&&(d.yb.e=null);if(2==f)d.e.call(d.b,g);else if(null!=d.a){if(!d.f)for(;c&&c.j;c=c.e)c.j=!1;d.a.call(d.b,g)}Kd.put(d)},Yd=function(c,d){c.j=!0;Cd(function(){c.j&&Zd.call(null,d)})},Zd=qd,Sd=function(c){ta.call(this,c)};w(Sd,ta);Sd.prototype.name="cancel";
var $d=function(c,d,f){if(la(c))f&&(c=v(c,f));else if(c&&"function"==typeof c.handleEvent)c=v(c.handleEvent,c);else throw Error("B");return 2147483647<d?-1:ba.setTimeout(c,d||0)},ae=function(c){ba.clearTimeout(c)};var be=function(c){$a.call(this);this.b=c;this.a={}};w(be,$a);var ce=[];u=be.prototype;u.listen=function(c,d,f,g){ha(d)||(d&&(ce[0]=d.toString()),d=ce);for(var k=0;k<d.length;k++){var l=Xb(c,d[k],f||this.handleEvent,g||!1,this.b||this);if(!l)break;this.a[l.key]=l}return this};
u.Na=function(c,d,f,g,k){if(ha(d))for(var l=0;l<d.length;l++)this.Na(c,d[l],f,g,k);else f=f||this.handleEvent,k=k||this.b||this,f=Yb(f),g=!!g,d=Mb(c)?Tb(c.Lc,String(d),f,g,k):c?(c=$b(c))?Tb(c,d,f,g,k):null:null,d&&(fc(d),delete this.a[d.key]);return this};u.removeAll=function(){Ta(this.a,fc);this.a={}};u.T=function(){be.K.T.call(this);this.removeAll()};u.handleEvent=function(){throw Error("C");};
var de=function(){};de.prototype.a=null;var fe=function(c){var d;(d=c.a)||(d={},ee(c)&&(d[0]=!0,d[1]=!0),d=c.a=d);return d};var ge,he=function(){};w(he,de);var ie=function(c){return(c=ee(c))?new ActiveXObject(c):new XMLHttpRequest},ee=function(c){if(!c.b&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var d=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],f=0;f<d.length;f++){var g=d[f];try{return new ActiveXObject(g),c.b=g}catch(k){}}throw Error("D");}return c.b};ge=new he;
var je=function(c){jc.call(this);this.U=new oc;this.p=c||null;this.a=!1;this.o=this.La=null;this.I="";this.Ae=0;this.b=this.H=this.j=this.B=!1;this.f=0;this.l=null;this.e="";this.M=this.Ja=!1};w(je,jc);var ke=/^https?$/i,le=["POST","PUT"],me=[];je.prototype.$=function(){this.Fa();Pa(me,this)};je.prototype.oa=function(){return this.e};
je.prototype.send=function(c,d,f,g){if(this.La)throw Error("E`"+this.I+"`"+c);d=d?d.toUpperCase():"GET";this.I=c;this.Ae=0;this.B=!1;this.a=!0;this.La=this.p?ie(this.p):ie(ge);this.o=this.p?fe(this.p):fe(ge);this.La.onreadystatechange=v(this.W,this);try{this.H=!0,this.La.open(d,String(c),!0),this.H=!1}catch(k){ne(this);return}c=f||"";var l=this.U.clone();g&&tc(g,function(c,d){l.set(d,c)});g=Ma(l.Db(),oe);f=ba.FormData&&c instanceof ba.FormData;!Na(le,d)||g||f||l.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");
l.forEach(function(c,d){this.La.setRequestHeader(d,c)},this);this.e&&(this.La.responseType=this.e);"withCredentials"in this.La&&(this.La.withCredentials=this.Ja);try{pe(this),0<this.f&&((this.M=qe(this.La))?(this.La.timeout=this.f,this.La.ontimeout=v(this.td,this)):this.l=$d(this.td,this.f,this)),this.j=!0,this.La.send(c),this.j=!1}catch(m){ne(this)}};var qe=function(c){return nb&&Ab(9)&&ka(c.timeout)&&ca(c.ontimeout)},oe=function(c){return"content-type"==c.toLowerCase()};
je.prototype.td=function(){"undefined"!=typeof aa&&this.La&&(this.Ae=8,this.V("timeout"),this.abort(8))};var ne=function(c){c.a=!1;c.La&&(c.b=!0,c.La.abort(),c.b=!1);c.Ae=5;re(c);se(c)},re=function(c){c.B||(c.B=!0,c.V("complete"),c.V("error"))};je.prototype.abort=function(c){this.La&&this.a&&(this.a=!1,this.b=!0,this.La.abort(),this.b=!1,this.Ae=c||7,this.V("complete"),this.V("abort"),se(this))};
je.prototype.T=function(){this.La&&(this.a&&(this.a=!1,this.b=!0,this.La.abort(),this.b=!1),se(this,!0));je.K.T.call(this)};je.prototype.W=function(){this.isDisposed()||(this.H||this.j||this.b?te(this):this.Ba())};je.prototype.Ba=function(){te(this)};
var te=function(c){if(c.a&&"undefined"!=typeof aa&&(!c.o[1]||4!=ue(c)||2!=ve(c)))if(c.j&&4==ue(c))$d(c.W,0,c);else if(c.V("readystatechange"),4==ue(c)){c.a=!1;try{c.Pc()?(c.V("complete"),c.V("success")):(c.Ae=6,ve(c),re(c))}finally{se(c)}}},se=function(c,d){if(c.La){pe(c);var f=c.La,g=c.o[0]?ea:null;c.La=null;c.o=null;d||c.V("ready");try{f.onreadystatechange=g}catch(k){}}},pe=function(c){c.La&&c.M&&(c.La.ontimeout=null);ka(c.l)&&(ae(c.l),c.l=null)};
je.prototype.Pc=function(){var c=ve(this),d;a:switch(c){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:d=!0;break a;default:d=!1}if(!d){if(c=0===c)c=wc(String(this.I))[1]||null,!c&&self.location&&(c=self.location.protocol,c=c.substr(0,c.length-1)),c=!ke.test(c?c.toLowerCase():"");d=c}return d};var ue=function(c){return c.La?c.La.readyState:0},ve=function(c){try{return 2<ue(c)?c.La.status:-1}catch(d){return-1}};
je.prototype.dh=function(){try{if(!this.La)return null;if("response"in this.La)return this.La.response;switch(this.e){case "":case "text":return this.La.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in this.La)return this.La.mozResponseArrayBuffer}return null}catch(c){return null}};

}catch(e){_DumpException(e)}
try{
var RU=function(c){return new Id(function(d,f){var g=c.length,k=[];if(g)for(var l=function(c,f){g--;k[c]=f;0==g&&d(k)},m=function(c){f(c)},h=0,p;p=c[h];h++)Qd(p,qa(l,h),m);else d(k)})},SU=function(c,d){return c+Math.random()*(d-c)},UU=function(c,d){jc.call(this);this.l=!1;this.a=c;this.I=this.a.find(".icon-container");this.f=this.a.find(".title");this.j=this.a.find(".hover-target");this.e=0===TU(this)?jQuery(".id-sub-nav-store"):this.a.find(".sub-nav");this.$=this.a.find(".library-link");this.Ja=
this.a.find(".shop-link");this.ob=this.a.find(".updates-link");this.B=this.a.find(".wishlist-link");this.b=this.a.find(".menu-link");this.p="transparent";this.U=150;this.Ba=this.Ma=0;this.o=d;this.W=!0;this.M=!1};w(UU,jc);var VU={3:"apps",1:"books",12:"chrome",5:"devices",6:"magazines",4:"movies",2:"music"};
UU.prototype.F=function(){this.j.mouseenter(v(UU.prototype.tb,this));this.j.mouseleave(v(UU.prototype.qb,this));this.$.click(v(UU.prototype.H,this,this.$));this.Ja.click(v(UU.prototype.H,this,this.Ja));this.ob.click(v(UU.prototype.H,this,this.ob));var c=Pc(this.B.attr("href")),d=parseInt(this.B.attr("data-backend"),10);Oc(c,"c",VU[d]);this.B.attr("href",c.toString());this.B.click(v(this.H,this,this.B));this.p=""+this.I.css("background-color");this.b.on("click",v(UU.prototype.eb,this));this.a.find(".secondary-sub-nav-option").each(v(function(c,
d){var k=jQuery(d);k.click(v(UU.prototype.H,this,k))},this));this.a.css("left",-1E3);this.a.show();this.Ba=this.b.height();this.Ma=0!==this.e.length?this.e.height():0;this.a.hide();this.a.css("left",0);this.a.show()};var WU=function(c){jQuery(".chosen").removeClass("chosen");c.Ja.addClass("chosen")};UU.prototype.show=function(){this.a.show()};
var XU=function(c){return 0==TU(c)?c.Ma+8:c.Ma},TU=function(c){c=c.a.attr("data-backend");return null!=c?parseInt(c,10):null},YU=function(c,d){var f=0,g=c.o;d>c.o?f=48:d==c.o&&(g=0);return 48*g+f};UU.prototype.bb=function(c,d){if(0==c){var f={type:"corpus-in-selected-state"};f.animating=d;this.V(f);this.M||(this.e.css("opacity",1),this.e.slideDown(300))}};
var aV=function(c,d){c.M=!1;ZU(c);c.e.hide();c.b.removeClass("selected default").addClass("not-selected");d?$U(c):(c.j.css("width",48),c.a.css("left",-48),c.b.css("width",48),c.a.removeClass("visible-item"),c.a.addClass("hidden-item"),c.f.css({color:"#555"}));c.U=250;c.l=!1;c.b.off("click");c.b.on("click",v(UU.prototype.eb,c))},$U=function(c){c.a.animate({left:-48},20,v(function(){this.a.removeClass("visible-item");this.a.addClass("hidden-item")},c));c.j.animate({width:48},150);c.f.css({color:"#555"});
c.f.hide();c.b.css("background-color","transparent").animate({width:48},150)},cV=function(c){bV(c);c.a.removeClass("hidden-item").addClass("visible-item").css("opacity",0).animate({left:0,opacity:1},c.U);c.j.animate({width:200},150);c.b.animate({width:200},150);c.f.css("display","table-cell");c.e.removeClass("hidden-subnav")},dV=function(c){c.M=!1;c.l?0==c.a.position().top&&(c.e.stop(!0,!0).css("color","transparent"),c.e.removeClass("hidden-subnav")):(bV(c),c.a.animate({left:-48,opacity:0},c.U,v(function(){this.a.removeClass("visible-item").addClass("hidden-item").css("opacity",
1)},c)),c.b.css({"background-color":"transparent",width:0}),c.j.width(0),c.f.css("color","transparent"),c.e.addClass("hidden-subnav"))},eV=function(c,d,f){c.M=!1;ZU(c);c.l=!0;c.b.removeClass("not-selected default").addClass("selected");c.a.removeClass("hidden-item").addClass("visible-item").css("opacity",1);f&&c.I.css("background-color",c.p);d?(c.b.animate({width:200},150).css("background-color",c.p),c.a.animate({left:0},150),c.I.css("background-color",c.p),c.j.animate({width:200},150),c.f.css("color",
"#fff").show()):(c.b.width(200).css("background-color",c.p),c.a.css("left",0),c.j.width(200),c.f.css("color","#fff").show(),c.e.slideDown(300));c.b.off("click")},bV=function(c){c.b.finish();c.I.finish();c.a.finish();c.j.finish();c.f.finish();c.e.finish()},ZU=function(c){c.b.stop(!0,!0);c.I.stop(!0,!0);c.a.stop(!0,!0);c.j.stop(!0,!0);c.f.stop(!0,!0);c.e.stop(!0,!0)};
UU.prototype.H=function(c,d){d.altKey||d.ctrlKey||d.metaKey||d.shiftKey||(jQuery(".chosen").removeClass("chosen"),c.hasClass("id-cannot-set-chosen")||c.addClass("chosen"))};UU.prototype.tb=function(){!this.l&&this.a.hasClass("visible-item")?(this.b.css("background-color",this.p),this.f.css({color:"#fff"})):this.V({type:"hover"})};UU.prototype.qb=function(){!this.l&&this.a.hasClass("visible-item")&&(this.b.css("background-color",this.W?"transparent":"#fff"),this.f.css({color:"#555"}))};
UU.prototype.eb=function(c){c.altKey||c.ctrlKey||c.metaKey||c.shiftKey||0!==jQuery(c.currentTarget).closest(".sub-nav-option").length||0!==jQuery(c.currentTarget).closest(".secondary-sub-nav-option").length||this.V({type:"click",menuItemClicked:this})};
var fV=function(){this.a=null;this.e=[];this.b=jQuery(".nav-container");0!=this.b.length&&(this.f=jQuery(".show-all-hover-zone"),this.B=this.M=0,this.p=new be(this),this.I=this.b.css("background-color"),this.j=this.b.find(".hover-arrow"),this.l=0,this.$=!jQuery("body").hasClass("phone-optimized"))};
fV.prototype.F=function(){if(0!=this.b.length){jQuery(".nav-list-item").each(v(function(c,f){var g=jQuery(f),k=g.find(".menu-link"),g=new UU(g,c);g.F();k.hasClass("selected")&&(this.a=g);this.p.listen(g,"corpus-in-selected-state",this.W);this.p.listen(g,"click",this.Y);this.p.listen(g,"hover",this.H);this.l+=g.Ba;this.e.push(g)},this));Fa(this.e,function(c){0==TU(c)&&(null==this.a&&(this.a=c),c.e.css("top",48*this.e.length))},this);gV(this);this.a&&hV(this,this.a,!1,!1);var c=jQuery(window);c.scroll(v(function(){if(this.$){var d=
c.scrollTop()>this.M;this.b.toggleClass("sticky",d);d&&!pd()&&this.b.css("left",-c.scrollLeft())}},this));this.f.on("mouseenter",v(fV.prototype.o,this));this.b.on("mouseleave",v(fV.prototype.H,this))}};var gV=function(c){var d;d=null!=c.a?0==TU(c.a)?c.l+XU(c.a)+6+6:Math.max(c.l,XU(c.a)+c.a.Ba+6+6):c.l;c.b.animate({height:d},c.B);c.f.animate({height:d},c.B);d=Math.ceil((d-48)/2)+48-Math.ceil(c.j.height()/2);c.j.css("top",d)};
fV.prototype.W=function(c){c=c.animating;var d=0==TU(this.a);gV(this);c||(Ta(this.e,function(c){d&&(c.W=!0,c.l||cV(c));c.show()},this),this.b.css("visibility","visible"),this.M=this.b.offset().top);d&&(c&&Ta(this.e,function(c){c.W=!0;c.l||(bV(c),c.a.removeClass("hidden-item").addClass("visible-item").css("opacity",0).css({left:0,opacity:1},c.U),c.j.css({width:200},150),c.b.css({width:200},150),c.f.css("display","table-cell"))},this),this.f.off("mouseenter"),this.f.hide(),this.j.hide())};
fV.prototype.U=function(c){var d=c.backend;null!=d&&0!=d?Fa(this.e,function(f){if(ga(TU(f))&&d==TU(f))return null!=this.a&&f==this.a||hV(this,f,!0,!0),c.librarySubNavSelected?(f=this.a,jQuery(".chosen").removeClass("chosen"),f.$.addClass("chosen")):c.isWishlist?(f=this.a,jQuery(".chosen").removeClass("chosen"),f.B.addClass("chosen")):WU(this.a),!1},this):Fa(this.e,function(c){0==TU(c)&&(null!=this.a&&c==this.a?null!=this.a&&c==this.a&&jQuery(".chosen").removeClass("chosen"):hV(this,c,!0,!0))},this);
return!1};fV.prototype.Y=function(c){c.altKey||c.ctrlKey||c.metaKey||c.shiftKey||hV(this,c.menuItemClicked,!0,!1)};
var hV=function(c,d,f,g){null!=d||Fa(c.e,function(c){0==TU(c)&&(this.a&&d==this.a||(d=c))},c);c.b.css("background-color",c.I);c.f.off("mouseenter");if(0!=TU(d))c.f.on("mouseenter",v(fV.prototype.o,c));c.f.show();c.j.show();c.B=300;null!=c.a&&c.a!=d&&aV(c.a,f);iV(c.a,d);c.a=d;eV(d,f,g);f&&!g&&WU(d);Ta(c.e,function(c){c!==d&&aV(c,f);if(f){var g=YU(c,d.o);c.a.animate({top:g},400,v(c.bb,c,g,!0))}else g=YU(c,d.o),c.a.animate({top:g},400,v(c.bb,c,g,!1));c.W=!1},c)},iV=function(c,d){var f=jQuery(".nav-list-item"),
g=jQuery(".nav");0<c.o&&c.a.insertAfter(f[c.o]);d.a.prependTo(g)};fV.prototype.o=function(){null!=this.a&&(this.j.hide(),this.f.off("mouseenter"),Ta(this.e,function(c){c.M=!0;c.l?0!=TU(c)&&(c.e.finish().css("color","transparent"),c.e.addClass("hidden-subnav")):(cV(c),c.b.css("background-color","#fff"),c.f.css("color","#555"))},this),this.b.css("background-color","#fff"))};
fV.prototype.H=function(){this.a&&0!=TU(this.a)&&(this.j.show(),this.f.on("mouseenter",v(fV.prototype.o,this,!0)),Ta(this.e,function(c){dV(c)},this),this.b.css("background-color",this.I))};fV.prototype.Ea=function(c){jQuery(c.currentTarget).hasClass("visible-item")||(jQuery("body").focusin(v(fV.prototype.Aa,this)),this.o())};fV.prototype.Aa=function(c){c=jQuery(c.target).closest(".nav-list-item");if(c.children(".menu-link").hasClass("selected")||0===c.length)jQuery("body").off("focusin"),this.H()};
var jV=function(){this.a=new fV};jV.prototype.F=function(){this.a.F();sa("postLoadInitializeMenu",v(this.b,this))};sa("initializeAppMenu",function(){(new jV).F()});jV.prototype.b=function(){var c=this.a;window.navAddHandler(v(c.U,c));jQuery(".nav-list-item").focusin(v(fV.prototype.Ea,c))};
/*

 Copyright 2014 Google Inc. All rights reserved.

 Licensed under the Apache License, Version 2.0 (the "License"); you may not
 use this file except in compliance with the License. You may obtain a copy of
 the License at

 http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 License for the specific language governing permissions and limitations under
 the License.
*/
var kV,lV={lighter:"300",normal:"400",bold:"700",bolder:"800"},mV=function(c){this.a=[];this.l={};this.e={};this.j=c;this.o=this.f=!1;this.b=null},nV=function(c,d){var f=d.nodeValue.trim();if(!f)return!1;var g=d.parentNode;if(!g)return!1;var k=d.parentNode.nodeName;if("SCRIPT"==k||"STYLE"==k)return!1;var k=nd(g,"font-family"),l=nd(g,"font-weight"),g=c.e[k];if(void 0==g){for(var m=k.split(","),g=0;g<m.length;g++){var h=m[g].trim();"'"==h.charAt(0)&&"'"==h.charAt(h.length-1)&&(h=h.substring(1,h.length-
1));if(h==c.j){c.e[k]=c.j;break}}g=c.e[k]}if(!g)return!1;l=lV[l]||l;k=c.l[g+";"+l];if(void 0==k)return!1;g=c.a[k];k=[];for(l=0;l<f.length;l++)m=f.charAt(l),h=m.charCodeAt(0),55296<=h&&56319>=h&&(l+=1,m+=f.charAt(l)),k.push(m);f=g.Ad.Qi;for(g=0;g<k.length;g++)f[k[g]]=1;return!0},pV=function(c){null==c.b&&(c.b=setTimeout(function(){oV(this,!1)}.bind(c),3E3))},oV=function(c,d){null!=c.b&&(clearTimeout(c.b),c.b=null);for(var f=[],g=0;g<c.a.length;g++){var k=qV(c.a[g].Ad);f.push(k)}Rd(RU(f).then(function(){for(var c=
[],f=0;f<this.a.length;f++){var g=this.a[f].Ad,k=g.cg;this.f||d||(k=!1);var n;k?n=g.ah:n=Md(null);c.push(n)}return RU(c)}.bind(c)).then(function(c){for(var d=0;d<c.length;d++){var f=c[d];if(null!=f){var g=this.a[d].Ad,k=g,q=f[1],f=f[0].Gj;k.cg=!1;rV(k.Ye,q,f);sV(g.style,g.Ye,!0)}}}.bind(c)),function(){})},tV=function(c,d){for(var f=d(c),g=c.childNodes,k=0;k<g.length;k++)f=tV(g[k],d)||f;return f},xV=function(c,d,f){var g=new mV(c);f=f||{};var k=d.url,l=d.fonts;for(d=0;d<l.length;d++){var m=l[d];m.familyName=
c;m.url=k;var h=new uV(m,f);g.a.push(h);g.l[c+";"+m.weight]=d}var p=g.a;c=[];for(d=0;d<p.length;d++)f=vV(p[d].Ad),c.push(f);RU(c).then(function(c){for(var d=0;d<p.length;d++){var f=c[d],g=p[d].Ad;null!=f?(g.rl=!0,g.cg=!0):f=wV(g,g.yl,g.Ye);c[d]=Md(f)}Rd(RU(c).then(function(c){for(var d=0;d<p.length;d++){var f=p[d].Ad,g=c[d];if(f.rl){var h=f,k=g[1],l=g[0].Gj;h.cg=!1;rV(h.Ye,k,l);sV(f.style,f.Ye,!0)}f.Li.resolve(g)}}),function(){})});tV(document.documentElement,function(c){return"#text"==c.nodeName?
nV(this,c):!1}.bind(g));(new MutationObserver(function(c){g.o=!0;c.forEach(function(c){if("childList"==c.type)for(var d=0;d<c.addedNodes.length;d++){var f=c.addedNodes[d];"#text"==f.nodeName&&nV(g,f)}else"characterData"==c.type&&"#text"==c.target.nodeName&&nV(g,c.target)});pV(g)})).observe(document.documentElement,{childList:!0,subtree:!0,characterData:!0});document.addEventListener("DOMContentLoaded",function(){g.f=!0;g.o||tV(document.documentElement,function(c){return"#text"==c.nodeName?nV(this,
c):!1}.bind(g));oV(g,!0)});return g},yV=function(c){var d=c.charCodeAt(0);return 55296<=d&&56319>=d?(d-55296<<10)+(c.charCodeAt(1)-56320)+65536:d},zV=function(){},AV=function(c){return new Id(function(c,f){this.resolve=c;this.reject=f},c)},HV=function(c,d){var f=c.name,g=c.fontkit?new BV(c.url):new CV(c.url),k=!1,l="hidden";"visible"==d.visibility&&(k=!0,l="visible");var m=3E3;if(d.maxVisibilityTimeout)try{m=parseInt(d.maxVisibilityTimeout,10)}catch(h){}var p=document.createElement("style");document.head.appendChild(p);
p.sheet.insertRule("."+f+" { font-family: "+f+"; visibility: "+l+"; }",0);DV.start("load Tachyfont base+data for "+f);var n=new EV(c,d,g);n.b=FV(f);n.style=sV(null,c,k);setTimeout(function(){sV(n.style,c,!0)},m);n.f=Rd(Rd(n.b.then(function(c){return GV(c,"charlist")}),function(){return{}}).then(function(c){return c}),function(){});kV&&(kV=!1);return n},EV=function(c,d,f){this.Ye=c;this.o=c.name;this.Qi={};this.j=d.req_size;this.cg=!1;this.url=c.url;this.rl=!1;this.p=!0;this.a={};this.a.base_dirty=
!1;this.a.charlist_dirty=!1;this.style=null;this.yl=f;0==d.persistData&&(this.p=!1);this.url||(this.url=window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:""));this.b=null;this.Li=new zV;this.ah=AV(this.Li);this.f=null;this.l=Md();this.e=Md()},vV=function(c){return Rd(c.b.then(function(c){var f;f=GV(c,"base");return RU([Md(c),f])}).then(function(c){var f=new DataView(c[1]),f=IV(f);c=new DataView(c[1],f.oh);return RU([Md(f),Md(c)])}),function(){return null})},
wV=function(c,d,f){return d.Nn(f).then(function(d){var f=new DataView(d),f=IV(f),l=new DataView(d,0,f.oh);d=new DataView(d,f.oh);d=[l,d];var m=d[0];d=d[1];var h=0,p=0,n=d.getUint32(h);m&&(p=m.byteLength,n+=p);var q,r,h=h+4,t=new DataView(new ArrayBuffer(n));if(m)for(q=0;q<m.byteLength;q++)t.setUint8(q,m.getUint8(q));for(;p<n;)if(q=d.getUint8(h),h++,q=[q&3,JV[q&252]],0==q[0]?(r=d.getUint8(h),h+=1):1==q[0]?(r=d.getUint16(h),h+=2):2==q[0]&&(r=d.getUint32(h),h+=4),"copy"==q[1]){m=r&-4;for(q=0;q<m;q+=
4)t.setUint32(p,d.getUint32(h)),h+=4,p+=4;for(;q<r;q++)t.setUint8(p,d.getUint8(h)),h++,p++}else if("fill"==q[1])if(m=d.getUint8(h),h++,0!=m)for(q=0;q<r;q++)t.setUint8(p,m),p++;else p+=r;r=new DataView(t.buffer,l.byteLength);if(f.Pe)for(l=new KV(r,f.Pe.offset+16),d=f.Pe.pu,h=f.Ri.Pe.nc,p=0;p<d;p++)LV(l,h[p][0]),LV(l,h[p][0]+h[p][1]-1),LV(l,h[p][2]);if(f.xc){l=f.Ri.xc.nc;d=f.Ri.xc.er;h=new KV(r,f.xc.offset+6);p=MV(h)/2;n=(f.xc.length-16-8*p)/2;f.xc.xE=p;f.xc.tC=n;NV(h,6);for(t=0;t<p;t++)h.b(l[t][1]);
NV(h,2);for(t=0;t<p;t++)h.b(l[t][0]);for(t=0;t<p;t++)h.b(l[t][2]);for(t=0;t<p;t++)h.b(l[t][3]);0<n&&OV(h,h.b,d)}if(f.If)for(l=new KV(r,f.If.offset+1),d=f.If.tj.Vm,h=f.If.tj.nc,p=6==f.If.tj.type,n=0;n<d;n++)l.b(h[n][0]),p?l.b(h[n][1]):l.j(h[n][1]);if(f.Gj)for(f.Kf=!0,l=new KV(r,0),d=f.je,h=f.Fh,n=63;n<h;n+=64){if(p=PV(l,f.Ub,f.Qb,n),t=PV(l,f.Ub,f.Qb,n+1),t-=p)l.offset=d+p,QV(l,-1)}else for(f.Kf=!0,l=new KV(r,0),d=f.je,h=f.Fh,t=PV(l,f.Ub,f.Qb,0),n=q=0;n<h+1;n++)p=PV(l,f.Ub,f.Qb,n),t==p?(p=t+q,RV(l,
f.Ub,f.Qb,n,p),q++):(t=p,q=1),n<h&&(l.offset=d+p,l.j(14));SV(c,"base");return[f,r]})},TV=function(c,d){if(20<=c.length)return c;for(var f={},g=0;g<c.length;g++){var k=c[g];f[k]=k}for(var l=10*(20-c.length)+100,g=0;20>Object.keys(f).length&&g<l;g++){var k=c[g%c.length],m=k-128;0>m&&(m=0);k=Math.floor(SU(m,k+128+1));void 0==d[k]&&(f[k]=k,d[String.fromCharCode(k)]=1)}l=[];k=Object.keys(f);for(g=0;g<k.length;g++)l.push(f[k[g]]);return l},qV=function(c){var d,f=[],g=[];c.e=Rd(c.e.then(function(){var k=
Object.keys(c.Qi);c.Qi={};if(0==k.length)return null;var l,m;return Rd(new Id(function(h,p){l=h;m=p;return c.f.then(function(h){d=h;h={};for(var l in d)h[l]=d[l];for(l=0;l<k.length;l++){var m=k[l];h[m]||(f.push(yV(m)),h[m]=1)}if(f.length)f=TV(f,h);else return null;f.sort(function(c,d){return c-d});c.j&&(g=f.slice(c.j),f=f.slice(0,c.j));for(l=0;l<f.length;l++)m=String.fromCharCode(f[l]),d[m]=1;return c.yl.Mn(c.Ye,f).then(function(d){g.length&&setTimeout(function(){qV(c)},1);return d})}).then(function(f){return Rd(c.ah.then(function(h){var k=
h[0];h=h[1];var m=0;if(null!=f){m=f.hm.byteLength-f.jn;0!=m&&(c.cg=!0);k.Kf=!0;var m=new KV(new DataView(f.hm),f.jn),p=new KV(h,0),E=f.count,H=f.We,O=H&4,J=1;O||2!=k.Qb||(J=2);for(var K=0;K<E;K+=1){var Q=MV(m),Y=Q+1,ua;if(H&1){ua=MV(m);var za=p,dc=k.xt,bb=k.wt;za.offset=Q<bb?dc+4*Q+2:dc+2*Q+2*bb;QV(za,ua)}H&2&&(ua=MV(m),za=p,dc=k.Rv,bb=k.Qv,za.offset=Q<bb?dc+4*Q+2:dc+2*Q+2*bb,QV(za,ua));za=UV(m);dc=MV(m);if(O)for(RV(p,k.Ub,k.Qb,Q,za),ua=PV(p,k.Ub,k.Qb,Y),RV(p,k.Ub,k.Qb,Y,za+dc),Y=Q+2,Q=k.Fh+1,bb=
za+dc,ua<bb&&Y-1<Q-1&&(p.offset=k.je+bb,p.j(14));Y<Q;)if(ua=PV(p,k.Ub,k.Qb,Y),ua<=bb)bb++,RV(p,k.Ub,k.Qb,Y,bb),Y<Q-1&&(p.offset=k.je+bb,p.j(14)),Y++;else break;else{RV(p,k.Ub,k.Qb,Q,za/J);ua=PV(p,k.Ub,k.Qb,Y);bb=za+dc;RV(p,k.Ub,k.Qb,Y,bb/J);for(--Q;0<=Q&&PV(p,k.Ub,k.Qb,Q)>za;)RV(p,k.Ub,k.Qb,Q,za/J),Q--;if(Q=(Q=ua!=bb)&&Y<k.Fh)p.offset=k.je+bb,0<dc?QV(p,-1):0==dc&&(Y=UV(p),Q=UV(p),0==Y&&0==Q&&(p.offset=k.je+bb,QV(p,-1)))}Y=m;Q=m.a;bb=[];for(ua=0;ua<dc;ua++)bb.push(Q.call(Y));Y=bb;p.offset=k.je+za;
OV(p,p.j,Y)}g.length?Object.keys(d):(DV.end("load Tachyfont base+data for "+c.o),DV.done());c.ah=RU([Md(k),Md(h)]);c.B=Md(d);SV(c,"base");SV(c,"charlist")}else DV.end("load Tachyfont base+data for "+c.o),DV.done();l(!0)}),function(){m(!1)})})}),function(){m(!1)})}),function(){});return c.e},SV=function(c,d){c.p&&("base"==d?c.a.base_dirty=!0:"charlist"==d&&(c.a.charlist_dirty=!0),setTimeout(function(){VV(c)},1E3))},VV=function(c){Rd(c.l.then(function(){var d=c.a.base_dirty,f=c.a.charlist_dirty;if(d||
f)c.a.base_dirty=!1,c.a.charlist_dirty=!1,c.l=Rd(Md().then(function(){if(d)return c.ah.then(function(d){return RU([c.b,Md(d[0]),Md(d[1])])}).then(function(d){return WV(c,"base",d[2].buffer)})}).then(function(){if(f)return c.f.then(function(d){return RU([c.b,Md(d)])}).then(function(d){return WV(c,"charlist",d[1])})}),function(){}).then(function(){})}),function(){})},WV=function(c,d,f){return Rd(c.b.then(function(c){return Rd(new Id(function(k,l){var m=c.transaction([d],"readwrite").objectStore(d).put(f,
0);m.onsuccess=function(){k()};m.onerror=function(){l(null)}}),function(){})}),function(){})},FV=function(c){return new Id(function(d,f){var g=window.indexedDB.open("incrfonts/"+c,1);g.onsuccess=function(c){d(c.target.result)};g.onerror=function(c){f(c)};g.onupgradeneeded=function(c){var d=c.target.result;c.target.transaction.onerror=function(c){f(c)};d.objectStoreNames.contains("base")&&d.deleteObjectStore("base");d.objectStoreNames.contains("charlist")&&d.deleteObjectStore("charlist");d.createObjectStore("base");
d.createObjectStore("charlist")}})},GV=function(c,d){return Rd(new Id(function(f,g){var k=c.transaction([d],"readwrite").objectStore(d).get(0);k.onsuccess=function(c){var d=c.target.result;void 0!=d?f(d):g(c)};k.onerror=function(c){g(c)}}),function(c){return Nd(c)})},KV=function(c,d){this.e=c;this.f=d;this.offset=0};KV.prototype.a=function(){var c=this.e.getUint8(this.f+this.offset);this.offset++;return c};KV.prototype.j=function(c){this.e.setUint8(this.f+this.offset,c);this.offset++};
var MV=function(c){var d=c.e.getUint16(c.f+c.offset);c.offset+=2;return d};KV.prototype.b=function(c){this.e.setUint16(this.f+this.offset,c);this.offset+=2};
var QV=function(c,d){c.e.setInt16(c.f+c.offset,d);c.offset+=2},UV=function(c){var d=c.e.getUint32(c.f+c.offset);c.offset+=4;return d},LV=function(c,d){c.e.setUint32(c.f+c.offset,d);c.offset+=4},XV=function(c){var d=c.e.getInt32(c.f+c.offset);c.offset+=4;return d},OV=function(c,d,f){for(var g=f.length,k=0;k<g;k++)d.call(c,f[k])},YV=function(c,d){var f;switch(d){case 1:f=c.a();break;case 2:f=MV(c);break;case 3:f=UV(c)>>>8;c.offset--;break;case 4:f=UV(c);break;default:throw"invalid offset size: "+d;
}return f},ZV=function(c){for(var d="",f=0;4>f;f++)d+=String.fromCharCode(c.a());return d},NV=function(c,d){if(0>d)throw"Only nonnegative numbers are accepted";c.offset+=d},$V=function(c){var d,f,g=!0;return function(){g?(f=c.a(),d=(f&240)>>>4):d=f&15;g=!g;return d}},aW=function(c,d){for(var f=$V(c),g=[],k,l,m,h=0;h<d;h++){k=0;m=f();8>m?(l=1,m++):(l=-1,m-=7);for(var p=0;p<m;p++)k<<=4,k|=f();k*=l;g.push(k)}return g},bW=function(c){var d={},f=c.a(),g=MV(c),k=[];if(5==f)for(var l,m,h,p=0;p<g;p++)l=UV(c),
m=UV(c),h=UV(c),k.push([l,m,h]);else if(4==f){for(var n=[],p=0;p<g;)for(m=c.a(),l=0;4>l;l++)if(p<g)h=m&192>>>2*l,h>>>=6-2*l,k.push(h),3==h&&n.push(p),p++;else break;m=n.length;c=aW(c,m);for(p=0;p<m;p++)k[n[p]]=c[p]}else if(3==f){n=[];for(p=0;p<g;p++)h=YV(c,3),l=(h&16252928)>>19,m=(h&458752)>>16,h&=65535,k.push([l,m,h]),31==l&&n.push([p,0]),7==m&&n.push([p,1]);m=n.length;c=aW(c,m);for(p=0;p<m;p++)k[n[p][0]][n[p][1]]=c[p];for(p=1;p<g;p++)k[p][0]+=k[p-1][0]}else if(2==f){n=[];for(p=0;p<g;p++)h=c.a(),
l=(h&224)>>5,m=(h&24)>>3,h&=7,k.push([l,m,h]),7==l&&n.push([p,0]),3==m&&n.push([p,1]),7==h&&n.push([p,2]);m=n.length;c=aW(c,m);for(p=0;p<m;p++)k[n[p][0]][n[p][1]]=c[p];for(p=1;p<g;p++)k[p][0]+=k[p-1][0],k[p][2]+=k[p-1][2]}else if(6==f||7==f){n=[];for(p=0;p<g;p++)h=c.a(),m=(h&248)>>3,h&=7,k.push([m,h]),31==m&&n.push([p,0]),7==h&&n.push([p,1]);m=n.length;c=aW(c,m);for(p=0;p<m;p++)k[n[p][0]][n[p][1]]=c[p];for(p=1;p<g;p++)k[p][0]+=k[p-1][0],k[p][1]+=k[p-1][1]}d.nc=k;d.type=f;d.Vm=g;return d},cW={GLOF:{desc:"Start of the glyphs data relative to font file start",
fn:function(c,d){d.je=UV(c)}},GLCN:{desc:"Number of glyphs in the font",fn:function(c,d){d.Fh=MV(c)}},LCOF:{desc:"Start of glyph data location offsets",fn:function(c,d){d.Ub=UV(c)}},LCFM:{desc:"Offset size of the offsets in loca table",fn:function(c,d){d.Qb=c.a()}},HMOF:{desc:"Start of the HMTX table relative to font file start",fn:function(c,d){d.xt=UV(c)}},VMOF:{desc:"Start of the VMTX table relative to font file start",fn:function(c,d){d.Rv=UV(c)}},HMMC:{desc:"Number of hmetrics in hmtx table",
fn:function(c,d){d.wt=MV(c)}},VMMC:{desc:"Number of vmetrics in vmtx table",fn:function(c,d){d.Qv=MV(c)}},TYPE:{desc:"Type of the font. 1 for TTF and 0 for CFF",fn:function(c,d){d.Gj=c.a()}},CM12:{desc:"Start offset and number of groups in cmap fmt 12 table",fn:function(c,d){var f={};f.offset=UV(c);f.pu=UV(c);d.Pe=f}},CM04:{desc:"Start offset of cmap fmt 4 table",fn:function(c,d){var f={};f.offset=UV(c);f.length=UV(c);d.xc=f}},CCMP:{desc:"Compact cmap, groups of segments",fn:function(c,d){for(var f=
{},g=c.a(),k=[],l=0;l<g;l++)k.push(bW(c));if(d.xc&&d.Pe&&2==k.length&&4==k[1].type){for(var g=k[1],m=k[0],h=[],p=[],n=0,q=0,r,t,z=g.Vm,E,H,O,J,K,l=0;l<z;l++)if(0==g.nc[l]){if(l!=z-1)throw"invalid segment";h.push([65535,65535,1,0])}else{r=q;t=q+g.nc[l]-1;O=m.nc[r][2];E=m.nc[r][0];H=m.nc[t][0]+m.nc[t][1]-1;q=t+1;if(1==g.nc[l])J=0,O=O-E+65536&65535;else{O=0;J=2*(n-l+z);K=H-E+1;n+=K;K=m.nc[r];for(var Q,Y=E;Y<=H;)Y>=K[0]&&Y<=K[0]+K[1]-1?(Q=K[2]+Y-K[0],p.push(Q),Y++):Y>K[0]+K[1]-1?(r++,r<=t&&(K=m.nc[r])):
Y<K[0]&&(p.push(0),Y++);if(n!=p.length)throw"glyphIdArray update failure";}h.push([E,H,O,J])}f.xc={};f.xc.nc=h;f.xc.er=p}f.Pe=k[0];d.Ri=f}},CS02:{desc:"CFF Charset format 2 in compacted format",fn:function(c,d){var f={};f.offset=UV(c);f.tj=bW(c);d.If=f}}},PV=function(c,d,f,g){c.offset=d+g*f;return YV(c,f)},RV=function(c,d,f,g,k){c.offset=d+g*f;switch(f){case 1:c.j(k);break;case 2:c.b(k);break;case 3:c.b(k>>>8);c.j(k&255);break;case 4:LV(c,k)}},uV=function(c,d){d=d||{};this.Ad=HV(c,d)},IV=function(c){c=
new KV(c,0);var d=ZV(c);if("BSAC"!=d)throw"magic number mismatch: expected BSAC but got "+d;d={};d.oh=XV(c);d.version=XV(c);if(1!=d.version)throw"Incompatible Base Font Version detected!";for(var f=MV(c),g,k,l,m=8*f+14,h=0;h<f;h++){g=ZV(c);k=UV(c);if(!cW.hasOwnProperty(g))throw"Unknown Base Font Header TAG";l=c.offset;c.offset=m+k;cW[g].fn(c,d);c.offset=l}if(!d.oh)throw"missing header info";return d},sV=function(c,d,f){c||(c=document.createElement("style"),document.head.appendChild(c));c.sheet.cssRules.length&&
c.sheet.deleteRule(0);c.sheet.insertRule("."+d.name+" { font-family: "+d.familyName+"; font-weight: "+d.weight+"; visibility: "+(f?"visible":"hidden")+"; }",c.sheet.cssRules.length);return c},rV=function(c,d,f){var g=c.familyName,k=c.weight,l="",l=f?"font/ttf":"font/otf",m;try{m=new Blob([d],{type:l})}catch(h){"InvalidStateError"==h.name&&(d=d.buffer.slice(d.byteOffset),m=new Blob([d],{type:l}))}l=window.URL.createObjectURL(m);d=document.getElementById("Incremental\u00a0Font\u00a0Utils");d||(d=document.createElement("style"),
d.id="Incremental\u00a0Font\u00a0Utils",document.head.appendChild(d));d=d.sheet;m=-1;var p=d.cssRules||d.rules;if(p)for(var n=0;n<p.length;n++){var q=p[n];if(q.type==CSSRule.FONT_FACE_RULE){var r=q.style,q=r.getPropertyValue("font-family"),r=r.getPropertyValue("font-weight");if(q==g&&r==k){m=n;break}}}d.insertRule("@font-face {\n    font-family: "+c.familyName+";\n    font-weight: "+k+';\n    src: url("'+l+'") format("'+(f?"truetype":"opentype")+'");}',d.cssRules.length);0<=m&&(d.deleteRule?d.deleteRule(m):
d.removeRule&&d.removeRule(m))},dW=function(c,d,f,g,k){this.version=c;this.count=d;this.We=f;this.jn=g;this.hm=k},CV=function(c){this.a=c};CV.prototype.Mn=function(c,d){return eW(this.a+"/incremental_fonts/request","POST",JSON.stringify({font:c.name,arr:d}),{"Content-Type":"text/plain","X-TachyFont-bandwidth":"0"}).then(function(c){var d=new DataView(c),k=0,l=d.getUint16(k),k=k+2,d=d.getUint8(k++);return new dW("1.0",l,d,k,c)})};
CV.prototype.Nn=function(c){return eW(this.a+"/incremental_fonts/incrfonts/"+c.name+"/base","GET",null,{"X-TachyFont-bandwidth":"0"})};CV.prototype.log=function(c){return eW(this.a+"/incremental_fonts/logger","POST",c,{"Content-Type":"text/plain"})};
var eW=function(c,d,f,g){return new Id(function(k,l){var m=new je;m.e="arraybuffer";Xb(m,"complete",function(){if(this.Pc())k(this.dh());else{var c=ve(this)+" ",d;try{d=2<ue(this)?this.La.statusText:""}catch(f){d=""}l(c+d)}});m.send(c,d,f,g)})},BV=function(c){this.a=c};
BV.prototype.Mn=function(c,d){return eW(fW(this,c,"g","glyphs"),"POST","glyphs="+encodeURIComponent(gW(d)),{"Content-Type":"application/x-www-form-urlencoded"}).then(function(c){for(var d=new DataView(c),k=0,l="",m=0;4>m;m++)l+=String.fromCharCode(d.getUint8(k++));if("BSAC"==l){for(var l=d.getUint8(k++)+"."+d.getUint8(k++),k=k+2,h="",m=0;20>m;m++)h+=d.getUint8(k++).toString(16);m=d.getUint16(k);k+=2;d=d.getUint16(k);c=new dW(l,m,d,k+2,c)}else throw Error("La`"+l);return c})};
BV.prototype.Nn=function(c){return eW(fW(this,c,"t","framework"),"GET",null,{})};BV.prototype.log=function(){return new Id(function(c){c(new ArrayBuffer(0))})};var fW=function(c,d,f,g){var k=d.familyName.replace(/ /g,"").toLowerCase();return c.a+"/"+f+"/"+k+"/"+d.version+"/"+d.fontkit+"."+g},gW=function(c){for(var d="",f=0;f<c.length;f++)var g=c[f],d=45!=g?d+String.fromCharCode(g):"-"+d;return d},JV={192:"copy",200:"fill"},hW=function(){};hW.prototype.start=function(){};hW.prototype.end=function(){};
hW.prototype.done=function(){};var DV=window.b?window.e:new hW,iW=function(){};window.a?iW=window.a:(iW.pC=function(){return"0"},iW.HA=function(){},iW.FA=function(){},iW.IA=function(){});
var jW={"Noto Sans":{ja:{normal:{100:{name:"NotoSansJP-Thin",weight:"100","class":"NotoSansJP-Thin"},200:{name:"NotoSansJP-Light",weight:"200","class":"NotoSansJP-light"},300:{name:"NotoSansJP-DemiLight",weight:"300","class":"NotoSansJP-DemiLight"},400:{name:"NotoSansJP-Regular",weight:"400","class":"NotoSansJP-Regular"},500:{name:"NotoSansJP-Medium",weight:"500","class":"NotoSansJP-Medium"},700:{name:"NotoSansJP-Bold",weight:"700","class":"NotoSansJP-Bold"},900:{name:"NotoSansJP-Black",weight:"900", "class":"NotoSansJP-Black"}}}}},kW=function(){};sa("tachyfont.loadFonts",xV);
sa("initializeTachyFonts",function(){for(var c=["Noto Sans"],d=["ja"],f=[{style:"normal",weights:["100","300","400","500","700"]}],g=new kW,k=[],l=0;l<c.length;l++){var m=jW[c[l]];if(void 0!=m)for(var h=0;h<d.length;h++){var p=m[d[h]];if(void 0!=p)for(var n=0;n<f.length;n++)for(var q=f[n],r=q.weights,q=p[q.style],t=0;t<r.length;t++){var z=q[r[t]];z&&k.push(z)}}}g.fonts=k;g.url="";g.url="https://green-pear.appspot.com/";return xV("UILanguageFont",g)}); sa("updateTachyFonts",function(c){if(c.constructor==Array)for(var d=0;d<c.length;d++)qV(c[d].Ad);else c.constructor==mV&&oV(c,!0)});

}catch(e){_DumpException(e)}
// Google Inc.
