try{
var m;function _DumpException(c){window.console.error(c.stack)};
}catch(e){_DumpException(e)}
try{
var aa=aa||{},ba=this,da=function(c){return void 0!==c},ea=function(c,d){for(var e=c.split("."),g=d||ba,h;h=e.shift();)if(null!=g[h])g=g[h];else return null;return g},p=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 e=Object.prototype.toString.call(c);if("[object Window]"==e)return"object";if("[object Array]"==e||"number"==typeof c.length&&"undefined"!=typeof c.splice&&"undefined"!=typeof c.propertyIsEnumerable&&
!c.propertyIsEnumerable("splice"))return"array";if("[object Function]"==e||"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,e){return c.call.apply(c.bind,arguments)},pa=function(c,d,e){if(!c)throw Error();if(2<arguments.length){var g=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,g);return c.apply(d,e)}}return function(){return c.apply(d,arguments)}},r=function(c,
d,e){r=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?oa:pa;return r.apply(null,arguments)},qa=function(c,d){var e=Array.prototype.slice.call(arguments,1);return function(){var d=e.slice();d.push.apply(d,arguments);return c.apply(this,d)}},u=Date.now||function(){return+new Date},ra=function(c,d){var e=c.split("."),g=ba;e[0]in g||!g.execScript||g.execScript("var "+e[0]);for(var h;e.length&&(h=e.shift());)!e.length&&da(d)?g[h]=d:g[h]?g=g[h]:g=g[h]={}},v=function(c, d){function e(){}e.prototype=d.prototype;c.K=d.prototype;c.prototype=new e;c.prototype.constructor=c;c.ih=function(c,e,k){for(var l=Array(arguments.length-2),n=2;n<arguments.length;n++)l[n-2]=arguments[n];return d.prototype[e].apply(c,l)}};
var sa=function(c){if(Error.captureStackTrace)Error.captureStackTrace(this,sa);else{var d=Error().stack;d&&(this.stack=d)}c&&(this.message=String(c))};v(sa,Error);sa.prototype.name="CustomError";var ta=String.prototype.trim?function(c){return c.trim()}:function(c){return c.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},ua=function(c){return encodeURIComponent(String(c))},va=function(c){return decodeURIComponent(c.replace(/\+/g," "))},za=function(c,d){for(var e=0,g=ta(String(c)).split("."),h=ta(String(d)).split("."),k=Math.max(g.length,h.length),l=0;0==e&&l<k;l++){var n=g[l]||"",q=h[l]||"",t=RegExp("(\\d*)(\\D*)","g"),w=RegExp("(\\d*)(\\D*)","g");do{var z=t.exec(n)||["","",""],B=w.exec(q)||["","", ""];if(0==z[0].length&&0==B[0].length)break;e=wa(0==z[1].length?0:parseInt(z[1],10),0==B[1].length?0:parseInt(B[1],10))||wa(0==z[2].length,0==B[2].length)||wa(z[2],B[2])}while(0==e)}return e},wa=function(c,d){return c<d?-1:c>d?1:0};Math.random();
var Aa=Array.prototype,Ca=Aa.indexOf?function(c,d,e){return Aa.indexOf.call(c,d,e)}:function(c,d,e){e=null==e?0:0>e?Math.max(0,c.length+e):e;if(ja(c))return ja(d)&&1==d.length?c.indexOf(d,e):-1;for(;e<c.length;e++)if(e in c&&c[e]===d)return e;return-1},Da=Aa.lastIndexOf?function(c,d,e){return Aa.lastIndexOf.call(c,d,null==e?c.length-1:e)}:function(c,d,e){e=null==e?c.length-1:e;0>e&&(e=Math.max(0,c.length+e));if(ja(c))return ja(d)&&1==d.length?c.lastIndexOf(d,e):-1;for(;0<=e;e--)if(e in c&&c[e]===
d)return e;return-1},x=Aa.forEach?function(c,d,e){Aa.forEach.call(c,d,e)}:function(c,d,e){for(var g=c.length,h=ja(c)?c.split(""):c,k=0;k<g;k++)k in h&&d.call(e,h[k],k,c)},Ea=function(c,d){for(var e=ja(c)?c.split(""):c,g=c.length-1;0<=g;--g)g in e&&d.call(void 0,e[g],g,c)},Fa=Aa.filter?function(c,d,e){return Aa.filter.call(c,d,e)}:function(c,d,e){for(var g=c.length,h=[],k=0,l=ja(c)?c.split(""):c,n=0;n<g;n++)if(n in l){var q=l[n];d.call(e,q,n,c)&&(h[k++]=q)}return h},Ga=Aa.map?function(c,d,e){return Aa.map.call(c,
d,e)}:function(c,d,e){for(var g=c.length,h=Array(g),k=ja(c)?c.split(""):c,l=0;l<g;l++)l in k&&(h[l]=d.call(e,k[l],l,c));return h},Ha=Aa.reduce?function(c,d,e,g){g&&(d=r(d,g));return Aa.reduce.call(c,d,e)}:function(c,d,e,g){var h=e;x(c,function(e,l){h=d.call(g,h,e,l,c)});return h},Ia=Aa.some?function(c,d,e){return Aa.some.call(c,d,e)}:function(c,d,e){for(var g=c.length,h=ja(c)?c.split(""):c,k=0;k<g;k++)if(k in h&&d.call(e,h[k],k,c))return!0;return!1},Ja=Aa.every?function(c,d,e){return Aa.every.call(c,
d,e)}:function(c,d,e){for(var g=c.length,h=ja(c)?c.split(""):c,k=0;k<g;k++)if(k in h&&!d.call(e,h[k],k,c))return!1;return!0},La=function(c,d,e){d=Ka(c,d,e);return 0>d?null:ja(c)?c.charAt(d):c[d]},Ka=function(c,d,e){for(var g=c.length,h=ja(c)?c.split(""):c,k=0;k<g;k++)if(k in h&&d.call(e,h[k],k,c))return k;return-1},Ma=function(c,d){return 0<=Ca(c,d)},Oa=function(c,d){var e=Ca(c,d),g;(g=0<=e)&&Na(c,e);return g},Na=function(c,d){return 1==Aa.splice.call(c,d,1).length},Qa=function(c){return Aa.concat.apply(Aa, arguments)},Ra=function(c){var d=c.length;if(0<d){for(var e=Array(d),g=0;g<d;g++)e[g]=c[g];return e}return[]};
var Sa=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g;var Ua=function(c,d,e){for(var g in c)d.call(e,c[g],g,c)},Va=function(c){var d=[],e=0,g;for(g in c)d[e++]=c[g];return d},Wa=function(c){var d=[],e=0,g;for(g in c)d[e++]=g;return d},Xa="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Ya=function(c,d){for(var e,g,h=1;h<arguments.length;h++){g=arguments[h];for(e in g)c[e]=g[e];for(var k=0;k<Xa.length;k++)e=Xa[k],Object.prototype.hasOwnProperty.call(g,e)&&(c[e]=g[e])}},Za=function(c){var d=arguments.length; if(1==d&&ha(arguments[0]))return Za.apply(null,arguments[0]);for(var e={},g=0;g<d;g++)e[arguments[g]]=!0;return e};
var $a=function(){this.Va=this.Va;this.Ka=this.Ka};$a.prototype.Va=!1;$a.prototype.isDisposed=function(){return this.Va};$a.prototype.dispose=function(){this.Va||(this.Va=!0,this.U())};$a.prototype.U=function(){if(this.Ka)for(;this.Ka.length;)this.Ka.shift()()};
var bb=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.Go=!0};bb.prototype.stopPropagation=function(){this.b=!0};bb.prototype.preventDefault=function(){this.defaultPrevented=!0;this.Go=!1};
var cb=function(c){cb[" "](c);return c};cb[" "]=p;var db;a:{var eb=ba.navigator;if(eb){var fb=eb.userAgent;if(fb){db=fb;break a}}db=""}var gb=function(c){return-1!=db.indexOf(c)};var hb=function(){return gb("Opera")||gb("OPR")},ib=function(){return gb("Edge")||gb("Trident")||gb("MSIE")};var jb=function(){return gb("Edge")};var kb=function(){return gb("iPhone")&&!gb("iPod")&&!gb("iPad")};var lb=hb(),mb=ib(),nb=gb("Gecko")&&!(-1!=db.toLowerCase().indexOf("webkit")&&!jb())&&!(gb("Trident")||gb("MSIE"))&&!jb(),pb=-1!=db.toLowerCase().indexOf("webkit")&&!jb(),qb=pb&&gb("Mobile"),rb=gb("Macintosh"),sb=gb("Windows"),tb=gb("Android"),ub=kb(),vb=gb("iPad"),wb=function(){var c=db;if(nb)return/rv\:([^\);]+)(\)|;)/.exec(c);if(mb&&jb())return/Edge\/([\d\.]+)/.exec(c);if(mb)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(lb&&ba.opera){var c=ba.opera.version;return la(c)?c():c}var c="",d=wb();d&&(c=d?d[1]:"");return mb&&!jb()&&(d=xb(),d>parseFloat(c))?String(d):c}(),zb={},Ab=function(c){return zb[c]||(zb[c]=0<=za(yb,c))},Cb=function(c){return mb&&(jb()||Bb>=c)},Db=ba.document,Eb=xb(),Bb=!Db||!mb||!Eb&&jb()?void 0:Eb||("CSS1Compat"==Db.compatMode?parseInt(yb,10):5);
var Fb=!mb||Cb(9),Hb=!mb||Cb(9),Ib=mb&&!Ab("9");!pb||Ab("528");nb&&Ab("1.9b")||mb&&Ab("8")||lb&&Ab("9.5")||pb&&Ab("528");nb&&!Ab("8")||mb&&Ab("9");var Jb=function(c){return pb?"webkit"+c:lb?"o"+c.toLowerCase():c.toLowerCase()},Lb={wx:"click",hA:"rightclick",Kx:"dblclick",kz:"mousedown",qz:"mouseup",pz:"mouseover",oz:"mouseout",nz:"mousemove",lz:"mouseenter",mz:"mouseleave",kA:"selectstart",WA:"wheel",Ly:"keypress",Ky:"keydown",My:"keyup",sx:"blur",jy:"focus",Lx:"deactivate",ly:mb?"focusin":"DOMFocusIn",oy:mb?"focusout":"DOMFocusOut",ux:"change",fA:"reset",jA:"select",uA:"submit",By:"input",cA:"propertychange",dy:"dragstart",Wx:"drag",Yx:"dragenter",
by:"dragover",Zx:"dragleave",ey:"drop",Xx:"dragend",DA:"touchstart",AA:"touchmove",zA:"touchend",yA:"touchcancel",rx:"beforeunload",Dx:"consolemessage",Ex:"contextmenu",Qx:"DOMContentLoaded",ERROR:"error",yy:"help",LOAD:"load",Yy:"losecapture",Pz:"orientationchange",dA:"readystatechange",RESIZE:"resize",yl:"scroll",IA:"unload",xy:"hashchange",Qz:"pagehide",Rz:"pageshow",aA:"popstate",Fx:"copy",Sz:"paste",Ix:"cut",ox:"beforecopy",px:"beforecut",qx:"beforepaste",Oz:"online",Mz:"offline",bz:"message",
Cx:"connect",mx:Jb("AnimationStart"),kx:Jb("AnimationEnd"),lx:Jb("AnimationIteration"),FA:Jb("TransitionEnd"),Uz:"pointerdown",$z:"pointerup",Tz:"pointercancel",Xz:"pointermove",Zz:"pointerover",Yz:"pointerout",Vz:"pointerenter",Wz:"pointerleave",wy:"gotpointercapture",Zy:"lostpointercapture",rz:"MSGestureChange",sz:"MSGestureEnd",vz:"MSGestureHold",wz:"MSGestureStart",xz:"MSGestureTap",yz:"MSGotPointerCapture",zz:"MSInertiaStart",Az:"MSLostPointerCapture",Bz:"MSPointerCancel",Cz:"MSPointerDown",
Dz:"MSPointerEnter",Ez:"MSPointerHover",Fz:"MSPointerLeave",Gz:"MSPointerMove",Hz:"MSPointerOut",Iz:"MSPointerOver",Jz:"MSPointerUp",wA:"text",xA:"textInput",yx:"compositionstart",zx:"compositionupdate",xx:"compositionend",iy:"exit",Ry:"loadabort",Sy:"loadcommit",Ty:"loadredirect",Uy:"loadstart",Vy:"loadstop",gA:"responsive",lA:"sizechanged",JA:"unresponsive",KA:"visibilitychange",oA:"storage",Vx:"DOMSubtreeModified",Rx:"DOMNodeInserted",Tx:"DOMNodeRemoved",Ux:"DOMNodeRemovedFromDocument",Sx:"DOMNodeInsertedIntoDocument", Ox:"DOMAttrModified",Px:"DOMCharacterDataModified"};
var Mb=function(c,d){bb.call(this,c?c.type:"");this.g=this.currentTarget=this.target=null;this.f=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;c&&this.init(c,d)};v(Mb,bb);
Mb.prototype.init=function(c,d){var e=this.type=c.type;this.target=c.target||c.srcElement;this.currentTarget=d;var g=c.relatedTarget;if(g){if(nb){var h;a:{try{cb(g.nodeName);h=!0;break a}catch(k){}h=!1}h||(g=null)}}else"mouseover"==e?g=c.fromElement:"mouseout"==e&&(g=c.toElement);this.g=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.f=c.charCode||("keypress"==e?
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()};Mb.prototype.stopPropagation=function(){Mb.K.stopPropagation.call(this);this.a.stopPropagation?this.a.stopPropagation():this.a.cancelBubble=!0};
Mb.prototype.preventDefault=function(){Mb.K.preventDefault.call(this);var c=this.a;if(c.preventDefault)c.preventDefault();else if(c.returnValue=!1,Ib)try{if(c.ctrlKey||112<=c.keyCode&&123>=c.keyCode)c.keyCode=-1}catch(d){}};Mb.prototype.o=function(){return this.a};
var Nb="closure_listenable_"+(1E6*Math.random()|0),Ob=function(c){return!(!c||!c[Nb])},Pb=0;var Qb=function(c,d,e,g,h){this.listener=c;this.proxy=null;this.src=d;this.type=e;this.kh=!!g;this.ic=h;this.key=++Pb;this.removed=this.jh=!1},Rb=function(c){c.removed=!0;c.listener=null;c.proxy=null;c.src=null;c.ic=null};var Sb=function(c){this.src=c;this.a={};this.b=0};Sb.prototype.add=function(c,d,e,g,h){var k=c.toString();c=this.a[k];c||(c=this.a[k]=[],this.b++);var l=Tb(c,d,g,h);-1<l?(d=c[l],e||(d.jh=!1)):(d=new Qb(d,this.src,k,!!g,h),d.jh=e,c.push(d));return d};Sb.prototype.remove=function(c,d,e,g){c=c.toString();if(!(c in this.a))return!1;var h=this.a[c];d=Tb(h,d,e,g);return-1<d?(Rb(h[d]),Na(h,d),0==h.length&&(delete this.a[c],this.b--),!0):!1};
var Ub=function(c,d){var e=d.type;if(!(e in c.a))return!1;var g=Oa(c.a[e],d);g&&(Rb(d),0==c.a[e].length&&(delete c.a[e],c.b--));return g};Sb.prototype.removeAll=function(c){c=c&&c.toString();var d=0,e;for(e in this.a)if(!c||e==c){for(var g=this.a[e],h=0;h<g.length;h++)++d,Rb(g[h]);delete this.a[e];this.b--}return d}; var Vb=function(c,d,e,g,h){c=c.a[d.toString()];d=-1;c&&(d=Tb(c,e,g,h));return-1<d?c[d]:null},Tb=function(c,d,e,g){for(var h=0;h<c.length;++h){var k=c[h];if(!k.removed&&k.listener==d&&k.kh==!!e&&k.ic==g)return h}return-1};
var Wb="closure_lm_"+(1E6*Math.random()|0),Xb={},Yb=0,Zb=function(c,d,e,g,h){if(ha(d)){for(var k=0;k<d.length;k++)Zb(c,d[k],e,g,h);return null}e=$b(e);return Ob(c)?c.listen(d,e,g,h):ac(c,d,e,!1,g,h)},ac=function(c,d,e,g,h,k){if(!d)throw Error("f");var l=!!h,n=bc(c);n||(c[Wb]=n=new Sb(c));e=n.add(d,e,g,h,k);if(e.proxy)return e;g=cc();e.proxy=g;g.src=c;g.listener=e;c.addEventListener?c.addEventListener(d.toString(),g,l):c.attachEvent(dc(d.toString()),g);Yb++;return e},cc=function(){var c=ec,d=Hb?function(e){return c.call(d.src,
d.listener,e)}:function(e){e=c.call(d.src,d.listener,e);if(!e)return e};return d},fc=function(c,d,e,g,h){if(ha(d))for(var k=0;k<d.length;k++)fc(c,d[k],e,g,h);else e=$b(e),Ob(c)?c.Nc.remove(String(d),e,g,h):c&&(c=bc(c))&&(d=Vb(c,d,e,!!g,h))&&gc(d)},gc=function(c){if(ka(c)||!c||c.removed)return!1;var d=c.src;if(Ob(d))return Ub(d.Nc,c);var e=c.type,g=c.proxy;d.removeEventListener?d.removeEventListener(e,g,c.kh):d.detachEvent&&d.detachEvent(dc(e),g);Yb--;(e=bc(d))?(Ub(e,c),0==e.b&&(e.src=null,d[Wb]=null)):
Rb(c);return!0},dc=function(c){return c in Xb?Xb[c]:Xb[c]="on"+c},ic=function(c,d,e,g){var h=!0;if(c=bc(c))if(d=c.a[d.toString()])for(d=d.concat(),c=0;c<d.length;c++){var k=d[c];k&&k.kh==e&&!k.removed&&(k=hc(k,g),h=h&&!1!==k)}return h},hc=function(c,d){var e=c.listener,g=c.ic||c.src;c.jh&&gc(c);return e.call(g,d)},ec=function(c,d){if(c.removed)return!0;if(!Hb){var e=d||ea("window.event"),g=new Mb(e,this),h=!0;if(!(0>e.keyCode||void 0!=e.returnValue)){a:{var k=!1;if(0==e.keyCode)try{e.keyCode=-1;break a}catch(l){k=
!0}if(k||void 0==e.returnValue)e.returnValue=!0}e=[];for(k=g.currentTarget;k;k=k.parentNode)e.push(k);for(var k=c.type,n=e.length-1;!g.b&&0<=n;n--){g.currentTarget=e[n];var q=ic(e[n],k,!0,g),h=h&&q}for(n=0;!g.b&&n<e.length;n++)g.currentTarget=e[n],q=ic(e[n],k,!1,g),h=h&&q}return h}return hc(c,new Mb(d,this))},bc=function(c){c=c[Wb];return c instanceof Sb?c:null},jc="__closure_events_fn_"+(1E9*Math.random()>>>0),$b=function(c){if(la(c))return c;c[jc]||(c[jc]=function(d){return c.handleEvent(d)});return c[jc]};
var y=function(){$a.call(this);this.Nc=new Sb(this);this.Gi=this;this.qc=null};v(y,$a);y.prototype[Nb]=!0;m=y.prototype;m.Ch=function(){return this.qc};m.Df=function(c){this.qc=c};m.addEventListener=function(c,d,e,g){Zb(this,c,d,e,g)};m.removeEventListener=function(c,d,e,g){fc(this,c,d,e,g)};
m.V=function(c){var d,e=this.Ch();if(e)for(d=[];e;e=e.Ch())d.push(e);var e=this.Gi,g=c.type||c;if(ja(c))c=new bb(c,e);else if(c instanceof bb)c.target=c.target||e;else{var h=c;c=new bb(g,e);Ya(c,h)}var h=!0,k;if(d)for(var l=d.length-1;!c.b&&0<=l;l--)k=c.currentTarget=d[l],h=kc(k,g,!0,c)&&h;c.b||(k=c.currentTarget=e,h=kc(k,g,!0,c)&&h,c.b||(h=kc(k,g,!1,c)&&h));if(d)for(l=0;!c.b&&l<d.length;l++)k=c.currentTarget=d[l],h=kc(k,g,!1,c)&&h;return h};
m.U=function(){y.K.U.call(this);this.Nc&&this.Nc.removeAll(void 0);this.qc=null};m.listen=function(c,d,e,g){return this.Nc.add(String(c),d,!1,e,g)};var kc=function(c,d,e,g){d=c.Nc.a[String(d)];if(!d)return!0;d=d.concat();for(var h=!0,k=0;k<d.length;++k){var l=d[k];if(l&&!l.removed&&l.kh==e){var n=l.listener,q=l.ic||l.src;l.jh&&Ub(c.Nc,l);h=!1!==n.call(q,g)&&h}}return h&&0!=g.Go};
var lc="StopIteration"in ba?ba.StopIteration:{message:"StopIteration",stack:""},mc=function(){};mc.prototype.next=function(){throw lc;};mc.prototype.kc=function(){return this};var A=function(c,d){this.b={};this.a=[];this.g=this.f=0;var e=arguments.length;if(1<e){if(e%2)throw Error("e");for(var g=0;g<e;g+=2)this.set(arguments[g],arguments[g+1])}else c&&nc(this,c)};m=A.prototype;m.Ya=function(){return this.f};m.bb=function(){oc(this);for(var c=[],d=0;d<this.a.length;d++)c.push(this.b[this.a[d]]);return c};m.Jb=function(){oc(this);return this.a.concat()};m.lh=function(c){for(var d=0;d<this.a.length;d++){var e=this.a[d];if(pc(this.b,e)&&this.b[e]==c)return!0}return!1};
m.Ab=function(){return 0==this.f};m.clear=function(){this.b={};this.g=this.f=this.a.length=0};m.remove=function(c){return pc(this.b,c)?(delete this.b[c],this.f--,this.g++,this.a.length>2*this.f&&oc(this),!0):!1};var oc=function(c){if(c.f!=c.a.length){for(var d=0,e=0;d<c.a.length;){var g=c.a[d];pc(c.b,g)&&(c.a[e++]=g);d++}c.a.length=e}if(c.f!=c.a.length){for(var h={},e=d=0;d<c.a.length;)g=c.a[d],pc(h,g)||(c.a[e++]=g,h[g]=1),d++;c.a.length=e}};
A.prototype.get=function(c,d){return pc(this.b,c)?this.b[c]:d};A.prototype.set=function(c,d){pc(this.b,c)||(this.f++,this.a.push(c),this.g++);this.b[c]=d};var nc=function(c,d){var e,g;d instanceof A?(e=d.Jb(),g=d.bb()):(e=Wa(d),g=Va(d));for(var h=0;h<e.length;h++)c.set(e[h],g[h])};A.prototype.forEach=function(c,d){for(var e=this.Jb(),g=0;g<e.length;g++){var h=e[g],k=this.get(h);c.call(d,k,h,this)}};A.prototype.clone=function(){return new A(this)};
A.prototype.kc=function(c){oc(this);var d=0,e=this.g,g=this,h=new mc;h.next=function(){if(e!=g.g)throw Error("h");if(d>=g.a.length)throw lc;var h=g.a[d++];return c?h:g.b[h]};return h};var pc=function(c,d){return Object.prototype.hasOwnProperty.call(c,d)};
var qc=function(c){if("function"==typeof c.bb)return c.bb();if(ja(c))return c.split("");if(ia(c)){for(var d=[],e=c.length,g=0;g<e;g++)d.push(c[g]);return d}return Va(c)},rc=function(c){if("function"==typeof c.Jb)return c.Jb();if("function"!=typeof c.bb){if(ia(c)||ja(c)){var d=[];c=c.length;for(var e=0;e<c;e++)d.push(e);return d}return Wa(c)}},sc=function(c,d,e){if("function"==typeof c.forEach)c.forEach(d,e);else if(ia(c)||ja(c))x(c,d,e);else for(var g=rc(c),h=qc(c),k=h.length,l=0;l<k;l++)d.call(e, h[l],g&&g[l],c)};
var tc=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/,vc=function(c){if(uc){uc=!1;var d=ba.location;if(d){var e=d.href;if(e&&(e=(e=vc(e)[3]||null)?decodeURI(e):e)&&e!=d.hostname)throw uc=!0,Error();}}return c.match(tc)},uc=pb,wc=function(c,d){for(var e=c.split("&"),g=0;g<e.length;g++){var h=e[g].indexOf("="),k=null,l=null;0<=h?(k=e[g].substring(0,h),l=e[g].substring(h+1)):k=e[g];d(k,l?va(l):"")}};
var xc=function(c,d){this.a=this.v=this.j="";this.f=null;this.o=this.b="";this.w=!1;var e;c instanceof xc?(this.w=da(d)?d:c.w,yc(this,c.j),this.v=c.v,zc(this,c.a),Ac(this,c.f),Bc(this,c.b),Cc(this,c.g.clone()),Dc(this,c.o)):c&&(e=vc(String(c)))?(this.w=!!d,yc(this,e[1]||"",!0),this.v=Ec(e[2]||""),zc(this,e[3]||"",!0),Ac(this,e[4]),Bc(this,e[5]||"",!0),Cc(this,e[6]||"",!0),Dc(this,e[7]||"",!0)):(this.w=!!d,this.g=new Fc(null,0,this.w))};
xc.prototype.toString=function(){var c=[],d=this.j;d&&c.push(Gc(d,Hc,!0),":");if(d=this.a){c.push("//");var e=this.v;e&&c.push(Gc(e,Hc,!0),"@");c.push(ua(d).replace(/%25([0-9a-fA-F]{2})/g,"%$1"));d=this.f;null!=d&&c.push(":",String(d))}if(d=this.b)this.a&&"/"!=d.charAt(0)&&c.push("/"),c.push(Gc(d,"/"==d.charAt(0)?Ic:Jc,!0));(d=this.g.toString())&&c.push("?",d);(d=this.o)&&c.push("#",Gc(d,Kc));return c.join("")};xc.prototype.clone=function(){return new xc(this)};
var yc=function(c,d,e){c.j=e?Ec(d,!0):d;c.j&&(c.j=c.j.replace(/:$/,""));return c},zc=function(c,d,e){c.a=e?Ec(d,!0):d;return c},Ac=function(c,d){if(d){d=Number(d);if(isNaN(d)||0>d)throw Error("i`"+d);c.f=d}else c.f=null},Bc=function(c,d,e){c.b=e?Ec(d,!0):d;return c},Cc=function(c,d,e){d instanceof Fc?(c.g=d,Lc(c.g,c.w)):(e||(d=Gc(d,Mc)),c.g=new Fc(d,0,c.w));return c},Nc=function(c,d,e){c.g.set(d,e);return c},Dc=function(c,d,e){c.o=e?Ec(d):d;return c},Oc=function(c){return c instanceof xc?c.clone():
new xc(c,void 0)},Ec=function(c,d){return c?d?decodeURI(c):decodeURIComponent(c):""},Gc=function(c,d,e){return ja(c)?(c=encodeURI(c).replace(d,Pc),e&&(c=c.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c):null},Pc=function(c){c=c.charCodeAt(0);return"%"+(c>>4&15).toString(16)+(c&15).toString(16)},Hc=/[#\/\?@]/g,Jc=/[\#\?:]/g,Ic=/[\#\?]/g,Mc=/[\#\?@]/g,Kc=/#/g,Fc=function(c,d,e){this.b=this.a=null;this.f=c||null;this.g=!!e},Qc=function(c){c.a||(c.a=new A,c.b=0,c.f&&wc(c.f,function(d,e){c.add(va(d),e)}))};
m=Fc.prototype;m.Ya=function(){Qc(this);return this.b};m.add=function(c,d){Qc(this);this.f=null;c=Rc(this,c);var e=this.a.get(c);e||this.a.set(c,e=[]);e.push(d);this.b++;return this};m.remove=function(c){Qc(this);c=Rc(this,c);return pc(this.a.b,c)?(this.f=null,this.b-=this.a.get(c).length,this.a.remove(c)):!1};m.clear=function(){this.a=this.f=null;this.b=0};m.Ab=function(){Qc(this);return 0==this.b};var Sc=function(c,d){Qc(c);d=Rc(c,d);return pc(c.a.b,d)};m=Fc.prototype;
m.lh=function(c){var d=this.bb();return Ma(d,c)};m.Jb=function(){Qc(this);for(var c=this.a.bb(),d=this.a.Jb(),e=[],g=0;g<d.length;g++)for(var h=c[g],k=0;k<h.length;k++)e.push(d[g]);return e};m.bb=function(c){Qc(this);var d=[];if(ja(c))Sc(this,c)&&(d=Qa(d,this.a.get(Rc(this,c))));else{c=this.a.bb();for(var e=0;e<c.length;e++)d=Qa(d,c[e])}return d};m.set=function(c,d){Qc(this);this.f=null;c=Rc(this,c);Sc(this,c)&&(this.b-=this.a.get(c).length);this.a.set(c,[d]);this.b++;return this};
m.get=function(c,d){var e=c?this.bb(c):[];return 0<e.length?String(e[0]):d};var Tc=function(c,d,e){c.remove(d);0<e.length&&(c.f=null,c.a.set(Rc(c,d),Ra(e)),c.b+=e.length)};Fc.prototype.toString=function(){if(this.f)return this.f;if(!this.a)return"";for(var c=[],d=this.a.Jb(),e=0;e<d.length;e++)for(var g=d[e],h=ua(g),g=this.bb(g),k=0;k<g.length;k++){var l=h;""!==g[k]&&(l+="="+ua(g[k]));c.push(l)}return this.f=c.join("&")};
Fc.prototype.clone=function(){var c=new Fc;c.f=this.f;this.a&&(c.a=this.a.clone(),c.b=this.b);return c};var Rc=function(c,d){var e=String(d);c.g&&(e=e.toLowerCase());return e},Lc=function(c,d){d&&!c.g&&(Qc(c),c.f=null,c.a.forEach(function(c,d){var h=d.toLowerCase();d!=h&&(this.remove(d),Tc(this,h,c))},c));c.g=d};Fc.prototype.j=function(c){for(var d=0;d<arguments.length;d++)sc(arguments[d],function(c,d){this.add(d,c)},this)};
var Uc=Za("area base br col command embed hr img input keygen link meta param source track wbr".split(" "));var Vc=RegExp("[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]"),Wc=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]"),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("[\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 $c=function(){this.a="";this.b=Zc};$c.prototype.Ie=!0;var Zc={};$c.prototype.od=function(){return this.a};var ad=function(c){var d=new $c;d.a=c;return d},bd=ad("");var dd=function(){this.a="";this.f=cd;this.b=null};dd.prototype.Yj=!0;dd.prototype.jf=function(){return this.b};dd.prototype.Ie=!0;dd.prototype.od=function(){return this.a};var cd={},ed=function(c,d){var e=new dd;e.a=c;e.b=d;return e};ed("<!DOCTYPE html>",0);var fd=ed("",0);
var gd=!mb||Cb(9),hd=!nb&&!mb||mb&&Cb(9)||nb&&Ab("1.9.1"),id=mb&&!Ab("9"),jd=mb||lb||pb;var kd=function(c){return 9==c.nodeType?c:c.ownerDocument||c.document};var ld=function(c,d){var e=kd(c);return e.defaultView&&e.defaultView.getComputedStyle&&(e=e.defaultView.getComputedStyle(c,null))?e[d]||e.getPropertyValue(d)||"":""},md=nb?"MozUserSelect":pb?"WebkitUserSelect":null;mb&&Ab(12);var nd=function(){return/(iPhone|iPad|iPod)/i.test(navigator.userAgent)};var od=function(c,d,e){this.j=e;this.f=c;this.g=d;this.b=0;this.a=null};od.prototype.get=function(){var c;0<this.b?(this.b--,c=this.a,this.a=c.next,c.next=null):c=this.f();return c};od.prototype.put=function(c){this.g(c);this.b<this.j&&(this.b++,c.next=this.a,this.a=c)};
var pd=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?(qd||(qd=sd()),qd(c)):ba.setImmediate(c)},qd,sd=function(){var c=ba.MessageChannel;"undefined"===typeof c&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!gb("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 e="callImmediate"+Math.random(),g="file:"==d.location.protocol?"*":d.location.protocol+"//"+d.location.host,c=r(function(c){if(("*"==g||c.origin==g)&&c.data==e)this.port1.onmessage()},this);d.addEventListener("message",c,!1);this.port1={};this.port2={postMessage:function(){d.postMessage(e,g)}}});if("undefined"!==typeof c&&!ib()){var d=new c,e={},g=e;d.port1.onmessage=function(){if(da(e.next)){e=e.next;var c=e.cm;e.cm=null;c()}};return function(c){g.next=
{cm: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(){this.b=this.a=null},wd=new od(function(){return new vd},function(c){c.reset()},100);ud.prototype.add=function(c,d){var e=wd.get();e.set(c,d);this.b?this.b.next=e:this.a=e;this.b=e};ud.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 vd=function(){this.next=this.scope=this.a=null};vd.prototype.set=function(c,d){this.a=c;this.scope=d;this.next=null}; vd.prototype.reset=function(){this.next=this.scope=this.a=null};
var Bd=function(c,d){xd||yd();zd||(xd(),zd=!0);Ad.add(c,d)},xd,yd=function(){if(ba.Promise&&ba.Promise.resolve){var c=ba.Promise.resolve();xd=function(){c.then(Cd)}}else xd=function(){td(Cd)}},zd=!1,Ad=new ud,Cd=function(){for(var c=null;c=Ad.remove();){try{c.a.call(c.scope)}catch(d){pd(d)}wd.put(c)}zd=!1};
var Dd=function(c){c.prototype.then=c.prototype.then;c.prototype.$goog_Thenable=!0},Ed=function(c){if(!c)return!1;try{return!!c.$goog_Thenable}catch(d){return!1}};var Hd=function(c,d){this.a=0;this.w=void 0;this.g=this.b=this.f=null;this.j=this.o=!1;if(c==Fd)Gd(this,2,d);else try{var e=this;c.call(d,function(c){Gd(e,2,c)},function(c){Gd(e,3,c)})}catch(g){Gd(this,3,g)}},Id=function(){this.next=this.b=this.a=this.f=this.Hb=null;this.g=!1};Id.prototype.reset=function(){this.b=this.a=this.f=this.Hb=null;this.g=!1};
var Jd=new od(function(){return new Id},function(c){c.reset()},100),Kd=function(c,d,e){var g=Jd.get();g.f=c;g.a=d;g.b=e;return g},Fd=function(){},Ld=function(c){return new Hd(Fd,c)},Md=function(c){return new Hd(function(d,e){e(c)})};Hd.prototype.then=function(c,d,e){return Nd(this,la(c)?c:null,la(d)?d:null,e)};Dd(Hd);var Pd=function(c,d,e,g){c instanceof Hd?Od(c,Kd(d||p,e||null,g)):c.then(d,e,g)},Qd=function(c,d){return Nd(c,null,d,void 0)};
Hd.prototype.cancel=function(c){0==this.a&&Bd(function(){var d=new Rd(c);Sd(this,d)},this)};
var Sd=function(c,d){if(0==c.a)if(c.f){var e=c.f;if(e.b){for(var g=0,h=null,k=null,l=e.b;l&&(l.g||(g++,l.Hb==c&&(h=l),!(h&&1<g)));l=l.next)h||(k=l);h&&(0==e.a&&1==g?Sd(e,d):(k?(g=k,g.next==e.g&&(e.g=g),g.next=g.next.next):Td(e),Ud(e,h,3,d)))}c.f=null}else Gd(c,3,d)},Od=function(c,d){c.b||2!=c.a&&3!=c.a||Vd(c);c.g?c.g.next=d:c.b=d;c.g=d},Nd=function(c,d,e,g){var h=Kd(null,null,null);h.Hb=new Hd(function(c,l){h.f=d?function(e){try{var h=d.call(g,e);c(h)}catch(t){l(t)}}:c;h.a=e?function(d){try{var h=
e.call(g,d);!da(h)&&d instanceof Rd?l(d):c(h)}catch(t){l(t)}}:l});h.Hb.f=c;Od(c,h);return h.Hb};Hd.prototype.v=function(c){this.a=0;Gd(this,2,c)};Hd.prototype.B=function(c){this.a=0;Gd(this,3,c)};
var Gd=function(c,d,e){if(0==c.a){if(c==e)d=3,e=new TypeError("Promise cannot resolve to itself");else{if(Ed(e)){c.a=1;Pd(e,c.v,c.B,c);return}if(ma(e))try{var g=e.then;if(la(g)){Wd(c,e,g);return}}catch(h){d=3,e=h}}c.w=e;c.a=d;c.f=null;Vd(c);3!=d||e instanceof Rd||Xd(c,e)}},Wd=function(c,d,e){c.a=1;var g=!1,h=function(d){g||(g=!0,c.v(d))},k=function(d){g||(g=!0,c.B(d))};try{e.call(d,h,k)}catch(l){k(l)}},Vd=function(c){c.o||(c.o=!0,Bd(c.I,c))},Td=function(c){var d=null;c.b&&(d=c.b,c.b=d.next,d.next=
null);c.b||(c.g=null);return d};Hd.prototype.I=function(){for(var c=null;c=Td(this);)Ud(this,c,this.a,this.w);this.o=!1};var Ud=function(c,d,e,g){if(3==e&&d.a&&!d.g)for(;c&&c.j;c=c.f)c.j=!1;if(d.Hb)d.Hb.f=null,Yd(d,e,g);else try{d.g?d.f.call(d.b):Yd(d,e,g)}catch(h){Zd.call(null,h)}Jd.put(d)},Yd=function(c,d,e){2==d?c.f.call(c.b,e):c.a&&c.a.call(c.b,e)},Xd=function(c,d){c.j=!0;Bd(function(){c.j&&Zd.call(null,d)})},Zd=pd,Rd=function(c){sa.call(this,c)};v(Rd,sa);Rd.prototype.name="cancel";
var $d=function(c,d,e){if(la(c))e&&(c=r(c,e));else if(c&&"function"==typeof c.handleEvent)c=r(c.handleEvent,c);else throw Error("A");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={}};v(be,$a);var ce=[];m=be.prototype;m.listen=function(c,d,e,g){ha(d)||(d&&(ce[0]=d.toString()),d=ce);for(var h=0;h<d.length;h++){var k=Zb(c,d[h],e||this.handleEvent,g||!1,this.b||this);if(!k)break;this.a[k.key]=k}return this};
m.Ja=function(c,d,e,g,h){if(ha(d))for(var k=0;k<d.length;k++)this.Ja(c,d[k],e,g,h);else e=e||this.handleEvent,h=h||this.b||this,e=$b(e),g=!!g,d=Ob(c)?Vb(c.Nc,String(d),e,g,h):c?(c=bc(c))?Vb(c,d,e,g,h):null:null,d&&(gc(d),delete this.a[d.key]);return this};m.removeAll=function(){Ua(this.a,gc);this.a={}};m.U=function(){be.K.U.call(this);this.removeAll()};m.handleEvent=function(){throw Error("B");};
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(){};v(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"],e=0;e<d.length;e++){var g=d[e];try{return new ActiveXObject(g),c.b=g}catch(h){}}throw Error("C");}return c.b};ge=new he;
var je=function(c){y.call(this);this.P=new A;this.v=c||null;this.a=!1;this.w=this.Ma=null;this.M="";this.Me=0;this.b=this.I=this.j=this.B=!1;this.g=0;this.o=null;this.f="";this.O=this.Y=!1};v(je,y);var ke=/^https?$/i,le=["POST","PUT"],me=[];je.prototype.ra=function(){this.dispose();Oa(me,this)};je.prototype.oa=function(){return this.f};
je.prototype.send=function(c,d,e,g){if(this.Ma)throw Error("D`"+this.M+"`"+c);d=d?d.toUpperCase():"GET";this.M=c;this.Me=0;this.B=!1;this.a=!0;this.Ma=this.v?ie(this.v):ie(ge);this.w=this.v?fe(this.v):fe(ge);this.Ma.onreadystatechange=r(this.T,this);try{this.I=!0,this.Ma.open(d,String(c),!0),this.I=!1}catch(h){ne(this);return}c=e||"";var k=this.P.clone();g&&sc(g,function(c,d){k.set(d,c)});g=La(k.Jb(),oe);e=ba.FormData&&c instanceof ba.FormData;!Ma(le,d)||g||e||k.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");
k.forEach(function(c,d){this.Ma.setRequestHeader(d,c)},this);this.f&&(this.Ma.responseType=this.f);"withCredentials"in this.Ma&&(this.Ma.withCredentials=this.Y);try{pe(this),0<this.g&&((this.O=qe(this.Ma))?(this.Ma.timeout=this.g,this.Ma.ontimeout=r(this.Bd,this)):this.o=$d(this.Bd,this.g,this)),this.j=!0,this.Ma.send(c),this.j=!1}catch(l){ne(this)}};var qe=function(c){return mb&&Ab(9)&&ka(c.timeout)&&da(c.ontimeout)},oe=function(c){return"content-type"==c.toLowerCase()};
je.prototype.Bd=function(){"undefined"!=typeof aa&&this.Ma&&(this.Me=8,this.V("timeout"),this.abort(8))};var ne=function(c){c.a=!1;c.Ma&&(c.b=!0,c.Ma.abort(),c.b=!1);c.Me=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.Ma&&this.a&&(this.a=!1,this.b=!0,this.Ma.abort(),this.b=!1,this.Me=c||7,this.V("complete"),this.V("abort"),se(this))};
je.prototype.U=function(){this.Ma&&(this.a&&(this.a=!1,this.b=!0,this.Ma.abort(),this.b=!1),se(this,!0));je.K.U.call(this)};je.prototype.T=function(){this.isDisposed()||(this.I||this.j||this.b?te(this):this.ya())};je.prototype.ya=function(){te(this)};
var te=function(c){if(c.a&&"undefined"!=typeof aa&&(!c.w[1]||4!=ue(c)||2!=c.Ce()))if(c.j&&4==ue(c))$d(c.T,0,c);else if(c.V("readystatechange"),4==ue(c)){c.a=!1;try{c.Sc()?(c.V("complete"),c.V("success")):(c.Me=6,c.Ce(),re(c))}finally{se(c)}}},se=function(c,d){if(c.Ma){pe(c);var e=c.Ma,g=c.w[0]?p:null;c.Ma=null;c.w=null;d||c.V("ready");try{e.onreadystatechange=g}catch(h){}}},pe=function(c){c.Ma&&c.O&&(c.Ma.ontimeout=null);ka(c.o)&&(ae(c.o),c.o=null)};
je.prototype.Sc=function(){var c=this.Ce(),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=vc(String(this.M))[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.Ma?c.Ma.readyState:0};je.prototype.Ce=function(){try{return 2<ue(this)?this.Ma.status:-1}catch(c){return-1}};
je.prototype.Dh=function(){try{if(!this.Ma)return null;if("response"in this.Ma)return this.Ma.response;switch(this.f){case "":case "text":return this.Ma.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in this.Ma)return this.Ma.mozResponseArrayBuffer}return null}catch(c){return null}};

}catch(e){_DumpException(e)}
try{
var D9=function(){return null},E9=function(c){return new Hd(function(d,e){var g=c.length,h=[];if(g)for(var k=function(c,e){g--;h[c]=e;0==g&&d(h)},l=function(c){e(c)},n=0,q;q=c[n];n++)Pd(q,qa(k,n),l);else d(h)})},eca=function(c,d){return c+Math.random()*(d-c)},fca=function(c,d,e){var g=0;Ea(c,function(h,k){d.call(e,h,k,c)&&Na(c,k)&&g++})},G9=function(c,d){y.call(this);this.o=!1;this.a=c;this.M=this.a.find(".icon-container");this.g=this.a.find(".title");this.j=this.a.find(".hover-target");this.f=0===
F9(this)?jQuery(".id-sub-nav-store"):this.a.find(".sub-nav");this.Y=this.a.find(".library-link");this.ya=this.a.find(".shop-link");this.Ua=this.a.find(".updates-link");this.B=this.a.find(".wishlist-link");this.b=this.a.find(".menu-link");this.v="transparent";this.P=150;this.ra=this.Fa=0;this.w=d;this.T=!0;this.O=!1};v(G9,y);var gca={3:"apps",1:"books",12:"chrome",5:"devices",6:"magazines",4:"movies",2:"music"};
G9.prototype.G=function(){this.j.mouseenter(r(G9.prototype.gb,this));this.j.mouseleave(r(G9.prototype.kb,this));this.Y.click(r(G9.prototype.I,this,this.Y));this.ya.click(r(G9.prototype.I,this,this.ya));this.Ua.click(r(G9.prototype.I,this,this.Ua));var c=Oc(this.B.attr("href")),d=parseInt(this.B.attr("data-backend"),10);Nc(c,"c",gca[d]);this.B.attr("href",c.toString());this.B.click(r(this.I,this,this.B));this.v=""+this.M.css("background-color");this.b.on("click",r(G9.prototype.Oa,this));this.a.find(".secondary-sub-nav-option").each(r(function(c,
d){var h=jQuery(d);h.click(r(G9.prototype.I,this,h))},this));this.a.css("left",-1E3);this.a.show();this.ra=this.b.height();this.Fa=0!==this.f.length?this.f.height():0;this.a.hide();this.a.css("left",0);this.a.show()};var H9=function(c){jQuery(".chosen").removeClass("chosen");c.ya.addClass("chosen")};G9.prototype.show=function(){this.a.show()};
var I9=function(c){return 0==F9(c)?c.Fa+8:c.Fa},F9=function(c){c=c.a.attr("data-backend");return null!=c?parseInt(c,10):null},J9=function(c,d){var e=0,g=c.w;d>c.w?e=48:d==c.w&&(g=0);return 48*g+e};G9.prototype.La=function(c,d){if(0==c){var e={type:"corpus-in-selected-state"};e.animating=d;this.V(e);this.O||(this.f.css("opacity",1),this.f.slideDown(300))}};
var L9=function(c,d){c.O=!1;K9(c);c.f.hide();c.b.removeClass("selected default").addClass("not-selected");d?hca(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.g.css({color:"#555"}));c.P=250;c.o=!1;c.b.off("click");c.b.on("click",r(G9.prototype.Oa,c))},hca=function(c){c.a.animate({left:-48},20,r(function(){this.a.removeClass("visible-item");this.a.addClass("hidden-item")},c));c.j.animate({width:48},150);c.g.css({color:"#555"});
c.g.hide();c.b.css("background-color","transparent").animate({width:48},150)},N9=function(c){M9(c);c.a.removeClass("hidden-item").addClass("visible-item").css("opacity",0).animate({left:0,opacity:1},c.P);c.j.animate({width:200},150);c.b.animate({width:200},150);c.g.css("display","table-cell");c.f.removeClass("hidden-subnav")},ica=function(c){c.O=!1;c.o?0==c.a.position().top&&(c.f.stop(!0,!0).css("color","transparent"),c.f.removeClass("hidden-subnav")):(M9(c),c.a.animate({left:-48,opacity:0},c.P,r(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.g.css("color","transparent"),c.f.addClass("hidden-subnav"))},jca=function(c,d,e){c.O=!1;K9(c);c.o=!0;c.b.removeClass("not-selected default").addClass("selected");c.a.removeClass("hidden-item").addClass("visible-item").css("opacity",1);e&&c.M.css("background-color",c.v);d?(c.b.animate({width:200},150).css("background-color",c.v),c.a.animate({left:0},150),c.M.css("background-color",c.v),c.j.animate({width:200},150),c.g.css("color",
"#fff").show()):(c.b.width(200).css("background-color",c.v),c.a.css("left",0),c.j.width(200),c.g.css("color","#fff").show(),c.f.slideDown(300));c.b.off("click")},M9=function(c){c.b.finish();c.M.finish();c.a.finish();c.j.finish();c.g.finish();c.f.finish()},K9=function(c){c.b.stop(!0,!0);c.M.stop(!0,!0);c.a.stop(!0,!0);c.j.stop(!0,!0);c.g.stop(!0,!0);c.f.stop(!0,!0)};
G9.prototype.I=function(c,d){d.altKey||d.ctrlKey||d.metaKey||d.shiftKey||(jQuery(".chosen").removeClass("chosen"),c.hasClass("id-cannot-set-chosen")||c.addClass("chosen"))};G9.prototype.gb=function(){!this.o&&this.a.hasClass("visible-item")?(this.b.css("background-color",this.v),this.g.css({color:"#fff"})):this.V({type:"hover"})};G9.prototype.kb=function(){!this.o&&this.a.hasClass("visible-item")&&(this.b.css("background-color",this.T?"transparent":"#fff"),this.g.css({color:"#555"}))};
G9.prototype.Oa=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 O9=function(){this.a=null;this.f=[];this.b=jQuery(".nav-container");0!=this.b.length&&(this.g=jQuery(".show-all-hover-zone"),this.B=this.O=0,this.v=new be(this),this.M=this.b.css("background-color"),this.j=this.b.find(".hover-arrow"),this.o=0,this.Va=!jQuery("body").hasClass("phone-optimized"))};
O9.prototype.G=function(){if(0!=this.b.length){jQuery(".nav-list-item").each(r(function(c,e){var g=jQuery(e),h=g.find(".menu-link"),g=new G9(g,c);g.G();h.hasClass("selected")&&(this.a=g);this.v.listen(g,"corpus-in-selected-state",this.Y);this.v.listen(g,"click",this.P);this.v.listen(g,"hover",this.I);this.o+=g.ra;this.f.push(g)},this));x(this.f,function(c){0==F9(c)&&(null==this.a&&(this.a=c),c.f.css("top",48*this.f.length))},this);P9(this);this.a&&Q9(this,this.a,!1,!1);var c=jQuery(window);c.scroll(r(function(){if(this.Va){var d=
c.scrollTop()>this.O;this.b.toggleClass("sticky",d);d&&!nd()&&this.b.css("left",-c.scrollLeft())}},this));this.g.on("mouseenter",r(O9.prototype.w,this));this.b.on("mouseleave",r(O9.prototype.I,this))}};var P9=function(c){var d;d=null!=c.a?0==F9(c.a)?c.o+I9(c.a)+6+6:Math.max(c.o,I9(c.a)+c.a.ra+6+6):c.o;c.b.animate({height:d},c.B);c.g.animate({height:d},c.B);d=Math.ceil((d-48)/2)+48-Math.ceil(c.j.height()/2);c.j.css("top",d)};
O9.prototype.Y=function(c){c=c.animating;var d=0==F9(this.a);P9(this);c||(Ua(this.f,function(c){d&&(c.T=!0,c.o||N9(c));c.show()},this),this.b.css("visibility","visible"),this.O=this.b.offset().top);d&&(c&&Ua(this.f,function(c){c.T=!0;c.o||(M9(c),c.a.removeClass("hidden-item").addClass("visible-item").css("opacity",0).css({left:0,opacity:1},c.P),c.j.css({width:200},150),c.b.css({width:200},150),c.g.css("display","table-cell"))},this),this.g.off("mouseenter"),this.g.hide(),this.j.hide())};
O9.prototype.Ka=function(c){var d=c.backend;null!=d&&0!=d?x(this.f,function(e){if(ga(F9(e))&&d==F9(e))return null!=this.a&&e==this.a||Q9(this,e,!0,!0),c.librarySubNavSelected?(e=this.a,jQuery(".chosen").removeClass("chosen"),e.Y.addClass("chosen")):c.isWishlist?(e=this.a,jQuery(".chosen").removeClass("chosen"),e.B.addClass("chosen")):H9(this.a),!1},this):x(this.f,function(c){0==F9(c)&&(null!=this.a&&c==this.a?null!=this.a&&c==this.a&&jQuery(".chosen").removeClass("chosen"):Q9(this,c,!0,!0))},this);
return!1};O9.prototype.P=function(c){c.altKey||c.ctrlKey||c.metaKey||c.shiftKey||Q9(this,c.menuItemClicked,!0,!1)};
var Q9=function(c,d,e,g){null!=d||x(c.f,function(c){0==F9(c)&&(this.a&&d==this.a||(d=c))},c);c.b.css("background-color",c.M);c.g.off("mouseenter");if(0!=F9(d))c.g.on("mouseenter",r(O9.prototype.w,c));c.g.show();c.j.show();c.B=300;null!=c.a&&c.a!=d&&L9(c.a,e);kca(c.a,d);c.a=d;jca(d,e,g);e&&!g&&H9(d);Ua(c.f,function(c){c!==d&&L9(c,e);if(e){var g=J9(c,d.w);c.a.animate({top:g},400,r(c.La,c,g,!0))}else g=J9(c,d.w),c.a.animate({top:g},400,r(c.La,c,g,!1));c.T=!1},c)},kca=function(c,d){var e=jQuery(".nav-list-item"),
g=jQuery(".nav");0<c.w&&c.a.insertAfter(e[c.w]);d.a.prependTo(g)};O9.prototype.w=function(){null!=this.a&&(this.j.hide(),this.g.off("mouseenter"),Ua(this.f,function(c){c.O=!0;c.o?0!=F9(c)&&(c.f.finish().css("color","transparent"),c.f.addClass("hidden-subnav")):(N9(c),c.b.css("background-color","#fff"),c.g.css("color","#555"))},this),this.b.css("background-color","#fff"))};
O9.prototype.I=function(){this.a&&0!=F9(this.a)&&(this.j.show(),this.g.on("mouseenter",r(O9.prototype.w,this,!0)),Ua(this.f,function(c){ica(c)},this),this.b.css("background-color",this.M))};O9.prototype.va=function(c){jQuery(c.currentTarget).hasClass("visible-item")||(jQuery("body").focusin(r(O9.prototype.T,this)),this.w())};O9.prototype.T=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.I()};
var R9=function(){this.a=new O9};R9.prototype.G=function(){this.a.G();ra("postLoadInitializeMenu",r(this.b,this))};ra("initializeAppMenu",function(){(new R9).G()});R9.prototype.b=function(){var c=this.a;window.navAddHandler(r(c.Ka,c));jQuery(".nav-list-item").focusin(r(O9.prototype.va,c))};
/*

 Copyright 2015 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 S9,T9,U9=function(c,d){this.f=c;this.g=d;this.offset=0};U9.prototype.a=function(){var c=this.f.getUint8(this.g+this.offset);this.offset++;return c};U9.prototype.j=function(c){this.f.setUint8(this.g+this.offset,c);this.offset++};var V9=function(c){var d=c.f.getUint16(c.g+c.offset);c.offset+=2;return d};U9.prototype.b=function(c){this.f.setUint16(this.g+this.offset,c);this.offset+=2};
var W9=function(c,d){c.f.setInt16(c.g+c.offset,d);c.offset+=2},X9=function(c){var d=c.f.getUint32(c.g+c.offset);c.offset+=4;return d},Y9=function(c,d){c.f.setUint32(c.g+c.offset,d);c.offset+=4},Z9=function(c){var d=c.f.getInt32(c.g+c.offset);c.offset+=4;return d},$9=function(c,d,e){for(var g=e.length,h=0;h<g;h++)d.call(c,e[h])},a$=function(c,d){var e;switch(d){case 1:e=c.a();break;case 2:e=V9(c);break;case 3:e=X9(c)>>>8;c.offset--;break;case 4:e=X9(c);break;default:throw"invalid offset size: "+d;
}return e},b$=function(c){for(var d="",e=0;4>e;e++)d+=String.fromCharCode(c.a());return d},c$=function(c,d){if(0>d)throw"Only nonnegative numbers are accepted";c.offset+=d},lca=function(c){var d,e,g=!0;return function(){g?(e=c.a(),d=(e&240)>>>4):d=e&15;g=!g;return d}},d$=function(c,d){for(var e=lca(c),g=[],h,k,l,n=0;n<d;n++){h=0;l=e();8>l?(k=1,l++):(k=-1,l-=7);for(var q=0;q<l;q++)h<<=4,h|=e();h*=k;g.push(h)}return g},e$=function(c){var d={},e=c.a(),g=V9(c),h=[];if(5==e)for(var k,l,n,q=0;q<g;q++)k=
X9(c),l=X9(c),n=X9(c),h.push([k,l,n]);else if(4==e){for(var t=[],q=0;q<g;)for(l=c.a(),k=0;4>k;k++)if(q<g)n=l&192>>>2*k,n>>>=6-2*k,h.push(n),3==n&&t.push(q),q++;else break;l=t.length;c=d$(c,l);for(q=0;q<l;q++)h[t[q]]=c[q]}else if(3==e){t=[];for(q=0;q<g;q++)n=a$(c,3),k=(n&16252928)>>19,l=(n&458752)>>16,n&=65535,h.push([k,l,n]),31==k&&t.push([q,0]),7==l&&t.push([q,1]);l=t.length;c=d$(c,l);for(q=0;q<l;q++)h[t[q][0]][t[q][1]]=c[q];for(q=1;q<g;q++)h[q][0]+=h[q-1][0]}else if(2==e){t=[];for(q=0;q<g;q++)n=
c.a(),k=(n&224)>>5,l=(n&24)>>3,n&=7,h.push([k,l,n]),7==k&&t.push([q,0]),3==l&&t.push([q,1]),7==n&&t.push([q,2]);l=t.length;c=d$(c,l);for(q=0;q<l;q++)h[t[q][0]][t[q][1]]=c[q];for(q=1;q<g;q++)h[q][0]+=h[q-1][0],h[q][2]+=h[q-1][2]}else if(6==e||7==e){t=[];for(q=0;q<g;q++)n=c.a(),l=(n&248)>>3,n&=7,h.push([l,n]),31==l&&t.push([q,0]),7==n&&t.push([q,1]);l=t.length;c=d$(c,l);for(q=0;q<l;q++)h[t[q][0]][t[q][1]]=c[q];for(q=1;q<g;q++)h[q][0]+=h[q-1][0],h[q][1]+=h[q-1][1]}d.Fb=h;d.type=e;d.Hn=g;return d},f$=
{GLOF:{desc:"Start of the glyphs data relative to font file start",fn:function(c,d){d.De=X9(c)}},GLCN:{desc:"Number of glyphs in the font",fn:function(c,d){d.ai=V9(c)}},LCOF:{desc:"Start of glyph data location offsets",fn:function(c,d){d.Wb=X9(c)}},LCFM:{desc:"Offset size of the offsets in loca table",fn:function(c,d){d.Tb=c.a()}},HMOF:{desc:"Start of the HMTX table relative to font file start",fn:function(c,d){d.xu=X9(c)}},VMOF:{desc:"Start of the VMTX table relative to font file start",fn:function(c,
d){d.cx=X9(c)}},HMMC:{desc:"Number of hmetrics in hmtx table",fn:function(c,d){d.wu=V9(c)}},VMMC:{desc:"Number of vmetrics in vmtx table",fn:function(c,d){d.bx=V9(c)}},TYPE:{desc:"Type of the font. 1 for TTF and 0 for CFF",fn:function(c,d){d.Cn=c.a()}},CM12:{desc:"Start offset and number of groups in cmap fmt 12 table",fn:function(c,d){var e={};e.offset=X9(c);e.Pn=X9(c);d.cc=e}},CM04:{desc:"Start offset of cmap fmt 4 table",fn:function(c,d){var e={};e.offset=X9(c);e.length=X9(c);d.Cb=e}},CCMP:{desc:"Compact cmap, groups of segments",
fn:function(c,d){for(var e={},g=c.a(),h=[],k=0;k<g;k++)h.push(e$(c));if(d.Cb&&d.cc&&2==h.length&&4==h[1].type){for(var g=h[1],l=h[0],n=[],q=[],t=0,w=0,z,B,G=g.Hn,J,E,I,ca,C,k=0;k<G;k++)if(0==g.Fb[k]){if(k!=G-1)throw"invalid segment";n.push([65535,65535,1,0])}else{z=w;B=w+g.Fb[k]-1;I=l.Fb[z][2];J=l.Fb[z][0];E=l.Fb[B][0]+l.Fb[B][1]-1;w=B+1;if(1==g.Fb[k])ca=0,I=I-J+65536&65535;else{I=0;ca=2*(t-k+G);C=E-J+1;t+=C;C=l.Fb[z];for(var T,P=J;P<=E;)P>=C[0]&&P<=C[0]+C[1]-1?(T=C[2]+P-C[0],q.push(T),P++):P>C[0]+
C[1]-1?(z++,z<=B&&(C=l.Fb[z])):P<C[0]&&(q.push(0),P++);if(t!=q.length)throw"glyphIdArray update failure";}n.push([J,E,I,ca])}e.Cb={};e.Cb.Fb=n;e.Cb.Lm=q}e.cc=h[0];d.Pb=e}},CS02:{desc:"CFF Charset format 2 in compacted format",fn:function(c,d){var e={};e.offset=X9(c);e.Qj=e$(c);d.Yf=e}}},g$=function(c,d,e,g){c.offset=d+g*e;return a$(c,e)},h$=function(c,d,e,g,h){c.offset=d+g*e;switch(e){case 1:c.j(h);break;case 2:c.b(h);break;case 3:c.b(h>>>8);c.j(h&255);break;case 4:Y9(c,h)}};
/*

 Copyright 2015 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 i$=function(c,d,e,g,h){this.w=c;this.a=d;this.g=e||"";this.o=g||"";this.f=h||"";this.j=this.b=""};m=i$.prototype;m.getName=function(){return this.w};m.Jr=function(){return this.a};m.Kr=function(){return this.g};m.Uw=function(){return this.o};m.Gr=function(){return this.f};m.Tw=function(){return this.b};m.Vo=function(c){this.b=c};m.getUrl=function(){return this.j};m.Wo=function(c){this.j=c};ra("tachyfont.FontInfo",i$);i$.prototype.getName=i$.prototype.getName;i$.prototype.getWeight=i$.prototype.Jr;
i$.prototype.getfamilyPath=i$.prototype.Kr;i$.prototype.getVersion=i$.prototype.Uw;i$.prototype.getFontKit=i$.prototype.Gr;i$.prototype.getFamilyName=i$.prototype.Tw;i$.prototype.setFamilyName=i$.prototype.Vo;i$.prototype.getUrl=i$.prototype.getUrl;i$.prototype.setUrl=i$.prototype.Wo;
/*

 Copyright 2015 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 j$=function(c,d){this.a=c;this.f=d};j$.prototype.b=function(){return this.a};j$.prototype.getUrl=function(){return this.f};ra("tachyfont.FontsInfo",j$);j$.prototype.getFonts=j$.prototype.b;j$.prototype.getUrl=j$.prototype.getUrl;/*

 Copyright 2015 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 k$=function(c,d){this.a=c;this.b=d;this.Dm=null};/*

 Copyright 2015 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 l$=function(c){this.a=c};l$.prototype.b=D9;l$.prototype.Ck=D9;l$.prototype.log=D9;var m$=function(c,d,e,g){return new Hd(function(h,k){var l=new je;l.f="arraybuffer";Zb(l,"complete",function(){if(this.Sc())h(this.Dh());else{var c=this.Ce()+" ",d;try{d=2<ue(this)?this.Ma.statusText:""}catch(e){d=""}k(c+d)}});l.send(c,d,e,g)})};
/*

 Copyright 2014-2015 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 n$=function(c,d,e,g,h){this.version=c;this.count=d;this.gf=e;this.Rn=g;this.Km=h};/*

 Copyright 2015 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 o$=function(c){this.a=c};v(o$,l$);o$.prototype.b=function(c,d){return m$(this.a+"/incremental_fonts/request","POST",JSON.stringify({font:c.getName(),arr:d}),{"Content-Type":"text/plain","X-TachyFont-bandwidth":"0"}).then(function(c){var d=new DataView(c),h=0,k=d.getUint16(h),h=h+2,d=d.getUint8(h++);return new n$("1.0",k,d,h,c)})};o$.prototype.Ck=function(c){return m$(this.a+"/incremental_fonts/incrfonts/"+c.getName()+"/base","GET",null,{"X-TachyFont-bandwidth":"0"})}; o$.prototype.log=function(c){return m$(this.a+"/incremental_fonts/logger","POST",c,{"Content-Type":"text/plain"})};
/*

 Copyright 2015 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 p$=function(c){if(65535>=c)return String.fromCharCode(c);c-=65536;return String.fromCharCode((c>>10)+55296,(c&1023)+56320)};/*

 Copyright 2015 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 q$=function(c){this.a=c};v(q$,l$);
q$.prototype.b=function(c,d){return m$(r$(this,c,"g","glyphs"),"POST","glyphs="+encodeURIComponent(mca(d)),{"Content-Type":"application/x-www-form-urlencoded"}).then(function(c){for(var d=new DataView(c),h=0,k="",l=0;4>l;l++)k+=String.fromCharCode(d.getUint8(h++));if("BSAC"==k){for(var k=d.getUint8(h++)+"."+d.getUint8(h++),h=h+2,n="",l=0;20>l;l++)n+=d.getUint8(h++).toString(16);l=d.getUint16(h);h+=2;d=d.getUint16(h);c=new n$(k,l,d,h+2,c)}else throw Error("nb`"+k);return c})};
q$.prototype.Ck=function(c){return m$(r$(this,c,"t","framework"),"GET",null,{})};q$.prototype.log=function(){return new Hd(function(c){c(new ArrayBuffer(0))})};var r$=function(c,d,e,g){var h=d.g;h||(h=d.b.replace(/ /g,"").toLowerCase());return c.a+"/"+e+"/"+h+"/"+d.o+"/"+d.f+"."+g},mca=function(c){for(var d="",e=0;e<c.length;e++)var g=c[e],d=45!=g?d+p$(g):"-"+d;return d};
/*

 Copyright 2015 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 s$=function(c,d,e){c||(c=document.createElement("style"),document.head.appendChild(c));c.sheet.cssRules.length&&c.sheet.deleteRule(0);e=e?"visible":"hidden";d="."+d.getName()+" { font-family: "+d.b+"; font-weight: "+d.a+"; visibility: "+e+"; }";c.sheet.insertRule(d,c.sheet.cssRules.length);return c},nca=function(c,d){var e;try{e=new Blob([c],{type:d})}catch(g){"InvalidStateError"==g.name&&(e=c.buffer.slice(c.byteOffset),e=new Blob([e],{type:d}))}return window.URL.createObjectURL(e)},t$=function(c){c=
c.trim();"'"==c.charAt(0)&&"'"==c.charAt(c.length-1)&&(c=c.substring(1,c.length-1));return c},oca=function(){var c=document.getElementById("Incremental\u00a0Font\u00a0Utils");c||(c=document.createElement("style"),c.id="Incremental\u00a0Font\u00a0Utils",document.head.appendChild(c));return c.sheet},u$=function(c,d){-1!=c&&(d.deleteRule?d.deleteRule(c):d.removeRule&&d.removeRule(c))},v$=function(c,d,e){var g=-1;if(c=c.cssRules||c.rules)for(var h=0;h<c.length;h++){var k=c[h];if(k.type==CSSRule.FONT_FACE_RULE){var l=
k.style,k=l.getPropertyValue("font-family"),k=t$(k),l=l.getPropertyValue("font-weight");if(k==d&&l==e){g=h;break}}}return g},pca=function(c,d,e,g,h){g="@font-face {\n    font-family: "+d+";\n    font-weight: "+e+';\n    src: url("'+g+'") format("'+h+'");\n}\n';d=v$(c,d,e);u$(d,c);c.insertRule(g,c.cssRules.length)};
/*

 Copyright 2015 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 qca={192:"copy",200:"fill"};/*

 Copyright 2015 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 w$=function(c){this.Ig=new Hd(function(d,e){this.j=d;this.g=e;this.a=c},this)},y$=function(c){c.b||S9&&x$("p1","",c.f);return c.b},z$=function(c){c.g(void 0);c.a&&(1>=c.a.Tc.length&&0!=c.a.Bq&&S9&&x$("p3","",c.f),1<c.a.Tc.length&&c.a.Tc.shift())},A$=function(c,d){c.j(d);c.a&&(1>=c.a.Tc.length&&0!=c.a.Bq&&S9&&x$("p2","",c.f),1<c.a.Tc.length&&c.a.Tc.shift())},B$=function(){this.Tc=[];var c=new w$(this);c.b=c.Ig;this.Tc.push(c);A$(c)},C$=function(c){var d=c.Tc[c.Tc.length-1],e=new w$(c);e.b=d.Ig; c.Tc.push(e);return e};
/*

 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 D$=function(c,d,e){S9&&x$("if"+c,d,e)},tca=function(c,d){var e=c.getName(),g=c.a,h=c.f?new q$(c.getUrl()):new o$(c.getUrl()),k=!1,l="hidden";"visible"==d.visibility&&(k=!0,l="visible");var n=3E3;if(d.maxVisibilityTimeout)try{n=parseInt(d.maxVisibilityTimeout,10)}catch(q){}var t=document.createElement("style");document.head.appendChild(t);t.sheet.insertRule("."+e+" { font-family: "+e+"; visibility: "+l+"; }",0);E$.start("load Tachyfont base+data for "+e);var w=new rca(c,d,h);w.g=sca(w,e);w.g.then(function(){F$("oi"+
g,50)});w.style=s$(null,c,k);setTimeout(function(){s$(w.style,c,!0)},n);w.w=Qd(w.g.then(function(c){if(G$)return H$(w,c,"charlist");c=new Event("not using persisting charlist");return Md(c)}),function(){return{}}).then(function(c){F$("ic"+g,50);return c});T9&&(T9=!1);return w},rca=function(c,d,e){this.b=c;this.j=c.getName();this.v=!1;this.I={};this.O=d.req_size||2200;this.B=!1;this.url=c.getUrl();this.P=!1;this.va=!0;this.f={};this.f.base_dirty=!1;this.f.charlist_dirty=!1;this.style=null;this.T=e;
0!=d.persistData&&G$||(this.va=!1);this.g=null;this.ih=new w$;this.o=this.ih.Ig;this.w=null;this.Ka=new B$;this.Y=new B$;this.Va=new B$},uca=function(c){return Qd(c.g.then(function(c){var e;G$?e=H$(this,c,"base"):e=Ld(null);return E9([Ld(c),e])}.bind(c)).then(function(c){F$("ib"+this.b.a,50);var e=new DataView(c[1]);I$(this,e);c=new DataView(c[1],this.a.Oh);return E9([Ld(this.a),Ld(c)])}.bind(c)),function(){return Ld(null)}.bind(c))},I$=function(c,d){var e=new U9(d,0),g=b$(e);if("BSAC"!=g)throw"magic number mismatch: expected BSAC but got "+
g;g={};g.Oh=Z9(e);g.version=Z9(e);if(1!=g.version)throw"Incompatible Base Font Version detected!";for(var h=V9(e),k,l,n,q=8*h+14,t=0;t<h;t++){k=b$(e);l=X9(e);if(!f$.hasOwnProperty(k))throw"Unknown Base Font Header TAG";n=e.offset;e.offset=q+l;f$[k].fn(e,g);e.offset=n}if(!g.Oh)throw F$("ph"+c.b.a,50),"missing header info";c.a=g;a:{if(c.a.Pb.Cb)for(e=c.a.Pb.Cb.Fb,h=0;h<e.length;h++)if(k=e[h][3],e[h][0]!=e[h][1]||0!=k){D$(28,c.b.a,c.j+" format4 has more than one char per segment");break a}if(c.a.Pb.cc)for(e=
c.a.Pb.cc.Fb,h=0;h<e.length;h++)if(1!=e[h][1]){D$(29,c.b.a,c.j+" format12 has more than one char per segment");break a}c.v=!0}e={};if(g.Pb.Cb){k=g.Pb.Cb.Fb;var w=g.Pb.Cb.Lm,z=0;for(l=0;l<k.length;l++){n=k[l][0];for(var B=k[l][2],G=k[l][3],q=k[l][1]-n+1,t=0;t<q;t++){var J=n+t,E=null;if(0==G)E=(J+B)%65536;else if(E=w[z++],0==E)continue;h=new k$(E,l);e[J]=h}}}if(g.Pb.cc)for(w=g.cc.Pn,k=g.Pb.cc.Fb,l=0;l<w;l++)for(n=k[l][0],q=k[l][1],g=k[l][2],t=0;t<q;t++)J=n+t,h=e[J],E=g+t,h||(h=new k$(E,null),e[J]=h),
h.Dm=l;c.M=e},vca=function(c,d,e){return d.Ck(e).then(function(c){F$("ub"+this.b.a,50);var d,e=new DataView(c);I$(this,e);e=new DataView(c,0,this.a.Oh);c=new DataView(c,this.a.Oh);c=[e,c];var l=c[0];c=c[1];var n=0,q=0,t=c.getUint32(n);l&&(q=l.byteLength,t+=q);var w,n=n+4,z=new DataView(new ArrayBuffer(t));if(l)for(w=0;w<l.byteLength;w++)z.setUint8(w,l.getUint8(w));for(;q<t;)if(w=c.getUint8(n),n++,w=[w&3,qca[w&252]],0==w[0]?(d=c.getUint8(n),n+=1):1==w[0]?(d=c.getUint16(n),n+=2):2==w[0]&&(d=c.getUint32(n),
n+=4),"copy"==w[1]){l=d&-4;for(w=0;w<l;w+=4)z.setUint32(q,c.getUint32(n)),n+=4,q+=4;for(;w<d;w++)z.setUint8(q,c.getUint8(n)),n++,q++}else if("fill"==w[1])if(l=c.getUint8(n),n++,0!=l)for(w=0;w<d;w++)z.setUint8(q,l),q++;else q+=d;d=new DataView(z.buffer,e.byteLength);if(this.a.Pb.cc)for(e=new U9(d,this.a.cc.offset+16),c=this.a.cc.Pn,n=this.a.Pb.cc.Fb,q=0;q<c;q++)Y9(e,n[q][0]),Y9(e,n[q][0]+n[q][1]-1),this.v?Y9(e,0):Y9(e,n[q][2]);if(this.a.Pb.Cb){e=this.a.Pb.Cb.Fb;c=this.a.Pb.Cb.Lm;n=new U9(d,this.a.Cb.offset+
6);q=V9(n)/2;q!=e.length&&D$(1,this.b.a,"segCount="+q+", segments.length="+e.length);t=(this.a.Cb.length-16-8*q)/2;this.a.Cb.iJ=q;this.a.Cb.iG=t;c$(n,6);for(z=0;z<q;z++)n.b(e[z][1]);c$(n,2);for(z=0;z<q;z++)n.b(e[z][0]);for(z=0;z<q;z++)this.v?n.b(65536-e[z][0]):n.b(e[z][2]);for(z=0;z<q;z++)n.b(e[z][3]);0<t&&$9(n,n.b,c)}q=this.a;if(q.Yf)for(e=new U9(d,q.Yf.offset+1),c=q.Yf.Qj.Hn,n=q.Yf.Qj.Fb,q=6==q.Yf.Qj.type,t=0;t<c;t++)e.b(n[t][0]),q?e.b(n[t][1]):e.j(n[t][1]);e=this.a;if(e.Cn)for(e.$f=!0,c=new U9(d,
0),n=e.De,q=e.ai,z=63;z<q;z+=64){if(t=g$(c,e.Wb,e.Tb,z),w=g$(c,e.Wb,e.Tb,z+1),w-=t)c.offset=n+t,W9(c,-1)}else for(e.$f=!0,c=new U9(d,0),n=e.De,q=e.ai,w=g$(c,e.Wb,e.Tb,0),z=l=0;z<q+1;z++)t=g$(c,e.Wb,e.Tb,z),w==t?(t=w+l,h$(c,e.Wb,e.Tb,z,t),l++):(w=t,l=1),z<q&&(c.offset=n+t,c.j(14));d=[this.a,d];J$(this,"base");return d}.bind(c))},K$=function(c,d,e){var g=C$(c.Va);y$(g).then(function(){this.B=!1;return Ld().then(function(){}.bind(this)).then(function(){var c,g;e?(c="font/ttf",g="truetype"):(c="font/otf",
g="opentype");c=nca(d,c);return wca(this.b,g,c).then(function(){})}.bind(this)).then(function(){A$(g)})}.bind(c));return g.Ig},xca=function(c,d){if(20<=c.length)return c;for(var e={},g=0;g<c.length;g++){var h=c[g];e[h]=h}for(var k=10*(20-c.length)+100,g=0;20>Object.keys(e).length&&g<k;g++){var h=c[g%c.length],l=h-128;0>l&&(l=0);h=Math.floor(eca(l,h+128+1));void 0==d[h]&&(e[h]=h,d[p$(h)]=1)}k=[];h=Object.keys(e);for(g=0;g<h.length;g++)k.push(e[h[g]]);return k},M$=function(c){var d,e=[],g=[],h=C$(c.Y);
Qd(y$(h).then(function(){var h=Object.keys(c.I);if(0==h.length)return null;var l,n;return Qd(new Hd(function(q,t){l=q;n=t;return c.w.then(function(n){d=n;n={};for(var q in d)n[q]=d[q];for(q=0;q<h.length;q++){var t=h[q];n[t]||(e.push(yca(t)),n[t]=1)}q=c.b.a;L$(S9,"mc"+q,e.length);L$(S9,"mr"+q,100*e.length/h.length);if(e.length){e=xca(e,n);e.sort(function(c,d){return c-d});c.O&&(g=e.slice(c.O),e=e.slice(0,c.O));for(q=0;q<e.length;q++)t=p$(e[q]),d[t]=1,delete c.I[t];return c.T.b(c.b,e).then(function(d){g.length&&
setTimeout(function(){M$(c)},1);return d})}l(!1)}).then(function(h){return c.o.then(function(k){var n=k[0],q=k[1];k=0;if(null!=h){k=h.Km.byteLength-h.Rn;0!=k&&(c.B=!0);k={};for(var t=0;t<e.length;t++){var E=e[t],I=c.M[E];I&&(void 0==k[I.a]&&(k[I.a]=[]),k[I.a].push(E))}c.a.$f=!0;var E=new U9(new DataView(h.Km),h.Rn),I=new U9(q,0),ca=h.count,C=h.gf,T=C&4,P=1;T||2!=c.a.Tb||(P=2);for(var t=[],Ba=0;Ba<ca;Ba+=1){var xa=V9(E);t.push(xa);var ya=xa+1,Gb;if(C&1){Gb=V9(E);var Ta=I,Kb=c.a.xu,ob=c.a.wu;Ta.offset=
xa<ob?Kb+4*xa+2:Kb+2*xa+2*ob;W9(Ta,Gb)}C&2&&(Gb=V9(E),Ta=I,Kb=c.a.cx,ob=c.a.bx,Ta.offset=xa<ob?Kb+4*xa+2:Kb+2*xa+2*ob,W9(Ta,Gb));Ta=X9(E);Kb=V9(E);if(T)for(h$(I,c.a.Wb,c.a.Tb,xa,Ta),Gb=g$(I,c.a.Wb,c.a.Tb,ya),h$(I,c.a.Wb,c.a.Tb,ya,Ta+Kb),ya=xa+2,xa=c.a.ai+1,ob=Ta+Kb,Gb<ob&&ya-1<xa-1&&(I.offset=c.a.De+ob,I.j(14));ya<xa;)if(Gb=g$(I,c.a.Wb,c.a.Tb,ya),Gb<=ob)ob++,h$(I,c.a.Wb,c.a.Tb,ya,ob),ya<xa-1&&(I.offset=c.a.De+ob,I.j(14)),ya++;else break;else{h$(I,c.a.Wb,c.a.Tb,xa,Ta/P);Gb=g$(I,c.a.Wb,c.a.Tb,ya);ob=
Ta+Kb;h$(I,c.a.Wb,c.a.Tb,ya,ob/P);for(--xa;0<=xa&&g$(I,c.a.Wb,c.a.Tb,xa)>Ta;)h$(I,c.a.Wb,c.a.Tb,xa,Ta/P),xa--;if(xa=(xa=Gb!=ob)&&ya<c.a.ai)I.offset=c.a.De+ob,0<Kb?W9(I,-1):0==Kb&&(ya=X9(I),xa=X9(I),0==ya&&0==xa&&(I.offset=c.a.De+ob,W9(I,-1)))}ya=E;xa=E.a;ob=[];for(Gb=0;Gb<Kb;Gb++)ob.push(xa.call(ya));ya=ob;I.offset=c.a.De+Ta;$9(I,I.j,ya)}if(c.v){if(c.a.cc)for(E=c.b.a,I=new U9(q,c.a.cc.offset+16),ca=c.a.Pb.cc.Fb,C=0;C<t.length;C+=1)if(T=k[t[C]],void 0!=T)for(P=0;P<T.length;P++)if(Ba=T[0],ya=c.M[Ba]){ya=
ya.Dm;Kb=ca[ya];Ta=Kb[0];xa=Ta+Kb[1]-1;Kb=Kb[2];ob=12*ya;I.offset=ob;Gb=X9(I);var dw=X9(I),vp=X9(I);Gb!=Ta&&D$(11,E,"format 12, code "+Ba+", seg "+ya+": startCode mismatch");dw!=xa&&D$(12,E,"format 12 code "+Ba+", seg "+ya+": endCode mismatch");Ta!=xa&&D$(13,E,"format 12 code "+Ba+", seg "+ya+": length != 1");0!=vp&&(vp==Kb?D$(14,E,"format 12 code "+Ba+", seg "+ya+" glyphId already set"):D$(15,E,"format 12 code "+Ba+", seg "+ya+" glyphId mismatch"));I.offset=ob+8;Y9(I,Kb)}else D$(10,E,"format 12, code "+
Ba+": no CharCmapInfo");a:if(c.a.Pb.Cb)if(E=c.b.a,I=c.a.Pb.Cb.Fb,ca=new U9(q,c.a.Cb.offset+6),P=V9(ca)/2,P!=I.length)D$(2,E,"segCount="+P+", segments.length="+I.length);else{ca.offset=8;for(C=0;C<P;C++){T=V9(ca);if(T!=I[C][1]){D$(3,E,"segment "+C+": segEndCode ("+T+") != segments["+C+"][1] ("+I[C][1]+")");break a}if(T!=I[C][0]){D$(4,E,"segment "+C+" is "+(I[C][1]-I[C][0]+1)+" chars long");break a}}c$(ca,2);for(C=0;C<P;C++)if(T=V9(ca),T!=I[C][0]){D$(5,E,"segment "+C+": segStartCode ("+T+") != segments["+
C+"][1] ("+I[C][0]+")");break a}T=ca.offset;for(C=0;C<P;C++)Ba=V9(ca),0!=(Ba+I[C][0]&65535)&&D$(6,E,"format 4 segment "+C+": segIdDelta ("+Ba+") != segments["+C+"][1] ("+I[C][2]+")");for(C=0;C<P;C++)if(Ba=V9(ca),0!=Ba){D$(7,E,"format 4 segment "+C+": segIdRangeOffset ("+Ba+") != 0");break a}for(C=0;C<t.length;C++)if(P=k[t[C]],void 0!=P)for(Ba=0;Ba<P.length;Ba++)ya=P[0],(Ta=c.M[ya])?(Ta=Ta.b,null==Ta?65535>=ya&&D$(9,E,"format 4, missing segment for code "+ya):(ca.offset=T+2*Ta,ca.b(I[Ta][2]))):D$(8,
E,"format 4, code "+ya+": no CharCmapInfo")}}g.length?Object.keys(d):(E$.end("load Tachyfont base+data for "+c.j),E$.done());c.o=E9([Ld(n),Ld(q)]);c.w=Ld(d);J$(c,"base");J$(c,"charlist")}else E$.end("load Tachyfont base+data for "+c.j),E$.done();l(!0)})})}),function(d){D$(16,c.b.a,d);n(!1)})}).then(function(){A$(h)}),function(d){z$(h);D$(18,c.b.a,d);return Ld(!1)});return h.Ig},J$=function(c,d){c.va&&("base"==d?c.f.base_dirty=!0:"charlist"==d&&(c.f.charlist_dirty=!0),setTimeout(function(){zca(c)},
1E3))},zca=function(c){var d=C$(c.Ka);Qd(y$(d).then(function(){var e=c.f.base_dirty,g=c.f.charlist_dirty;if(e||g)return c.f.base_dirty=!1,c.f.charlist_dirty=!1,Qd(Ld().then(function(){if(e)return c.o.then(function(d){return E9([c.g,Ld(d[0]),Ld(d[1])])}).then(function(d){return N$(c,"base",d[2].buffer)})}).then(function(){if(g)return c.w.then(function(d){return E9([c.g,Ld(d)])}).then(function(d){return N$(c,"charlist",d[1])})}),function(d){D$(19,c.b.a,d)}).then(function(){A$(d)});A$(d)}),function(e){D$(21,
c.b.a,e);z$(d)})},N$=function(c,d,e){return Qd(c.g.then(function(g){return new Hd(function(h,k){var l=g.transaction([d],"readwrite").objectStore(d).put(e,0);l.onsuccess=function(){h()};l.onerror=function(d){D$(22,c.b.a,d);k(null)}})}),function(d){D$(24,c.b.a,d)})},sca=function(c,d){return new Hd(function(e,g){var h="incrfonts/"+d,k=window.indexedDB.open(h,1);k.onsuccess=function(c){e(c.target.result)};k.onerror=function(d){D$(25,c.b.a,'!!! IncrFontIDB.obj_ "'+h+'": '+d.value);g(d)};k.onupgradeneeded=
function(d){var e=d.target.result;d.target.transaction.onerror=function(d){D$(26,c.b.a,"onupgradeneeded error: "+d.value);g(d)};e.objectStoreNames.contains("base")&&e.deleteObjectStore("base");e.objectStoreNames.contains("charlist")&&e.deleteObjectStore("charlist");e.createObjectStore("base");e.createObjectStore("charlist")}})},H$=function(c,d,e){return Qd(new Hd(function(g,h){var k=d.transaction([e],"readwrite").objectStore(e).get(0);k.onsuccess=function(c){var d=c.target.result;void 0!=d?g(d):h(c)};
k.onerror=function(d){D$(27,c.b.a,d);h(d)}}),function(c){return Md(c)})},Aca=function(c,d){d=d||{};this.Pd=tca(c,d)},wca=function(c,d,e){var g=c.b,h="tmp-"+g;c.getName();var k=c.a,l=oca();pca(l,h,k,e,d);return(new Hd(function(c){document.fonts.load(k+" 20px "+h).then(function(){c()})})).then(function(){var c=v$(l,g,k);u$(c,l);var c=v$(l,h,k),d=l.cssRules||l.rules;d&&-1!=c&&(d[c].style.fontFamily=g)})};
/*

 Copyright 2015 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 Bca=function(c){this.f=c;this.a={};this.b={}},O$,Cca=u(),F$=function(c,d){var e=S9,g=u()-Cca;"number"==typeof d&&1<d&&(g=Math.round(g/d)*d);L$(e,c,g)},L$=function(c,d,e){if(d in c.b){var g=c.b[d]+1;c.b[d]=g;d+="."+g}else c.b[d]=0;"number"==typeof e&&(e=Math.round(e));c.a[d]=e},x$=function(c,d,e){var g=S9,h=g.a;g.a={};c="e."+c;L$(g,c,"");L$(g,c+".id",d);d="";"string"==typeof e?L$(g,c+".msg",e):"object"==typeof e&&(e.message&&L$(g,c+".message",e.message),e.name&&L$(g,c+".name",e.name),e.url&&L$(g,
c+".url",e.url),e.lineNumber&&(d=e.lineNumber,L$(g,c+".lineNumber",d)));P$(g);g.a=h},P$=function(c){var d=Object.keys(c.a);d.sort();if(0!=d.length){for(var e=c.f+"/gen_204?id=tf&",g=e.length,h=[],k=0;k<d.length;k++){var l=d[k],n=encodeURIComponent(c.a[l].toString());delete c.a[l];l=l+"="+n;2E3<g+l.length&&(Q$(e,h),g=e.length,h=[]);g+=l.length;h.push(l)}Q$(e,h)}},Q$=function(c,d){var e=c+d.join("&"),g=new Image;g.onload=g.onerror=Dca(g);g.src=e},Dca=function(c){return function(){c.onload=c.onerror= null}};
/*

 Copyright 2015 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 R$=function(c){this.a=[];this.v={};this.f={};this.j=c;this.o=this.g=!1;this.w=new B$;this.b=null},S$=function(c,d){Eca(c,d);for(var e=d.childNodes,g=0;g<e.length;g++)S$(c,e[g])},Eca=function(c,d){if("INPUT"==d.nodeName){var e=ld(d,"font-family").split(",");fca(e,function(c){c=t$(c);return this.j==c},c);d.style.fontFamily=e.join(", ")}},T$=function(c,d){if("#text"==d.nodeName){var e=d.nodeValue.trim();if(e){var g=d.parentNode;if(g){var h=d.parentNode.nodeName;if("SCRIPT"!=h&&"STYLE"!=h){var h=
ld(g,"font-family"),k=ld(g,"font-weight"),g=c.f[h];if(void 0==g){for(var l=h.split(","),g=0;g<l.length;g++)if(t$(l[g])==c.j){c.f[h]=c.j;break}g=c.f[h]}if(g&&(k=Fca[k]||k,h=c.v[g+";"+k],void 0!=h)){g=c.a[h];h=[];for(k=0;k<e.length;k++){var l=e.charAt(k),n=l.charCodeAt(0);55296<=n&&56319>=n&&(k+=1,l+=e.charAt(k));h.push(l)}e=g.Pd.I;for(g=0;g<h.length;g++)e[h[g]]=1}}}}}e=d.childNodes;for(h=0;h<e.length;h++)T$(c,e[h])},Gca=function(c){null==c.b&&(c.b=setTimeout(function(){U$(this,!1)}.bind(c),3E3))},
U$=function(c,d){null!=c.b&&(clearTimeout(c.b),c.b=null);var e=C$(c.w);Qd(Qd(y$(e).then(function(){for(var c=[],d=0;d<this.a.length;d++){var e=M$(this.a[d].Pd);c.push(e)}return E9(c)}.bind(c)),function(c){S9&&x$("tfs1","all",c)}).then(function(){for(var c=[],e=0;e<this.a.length;e++){var k=this.a[e].Pd,l=k.B;this.g||d||(l=!1);var n;l?n=k.o:n=Ld(null);c.push(n)}return E9(c)}.bind(c)).then(function(c){for(var d=[],e=0;e<c.length;e++){var l=c[e];if(null==l)d.push(Ld(null));else{var n=this.a[e].Pd,l=K$(n, l[1],l[0]).then(function(){F$("sf"+this.b.a,50);s$(this.style,this.b,!0)}.bind(n));d.push(l)}}return E9(d)}.bind(c)).then(function(){P$(S9);A$(e)}.bind(c)),function(c){S9&&x$("tfs2","all","failed to load all fonts"+c.stack);z$(e)})};
/*

 Copyright 2014-2015 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.
*/
window.onerror=function(c,d,e){if(V$){var g={};g.message=c;g.url=d;g.lineNumber=e;V$(1,"window.onerror",g)}};
var G$=!0,Fca={lighter:"300",normal:"400",bold:"700",bolder:"800"},V$=function(c,d,e){if(S9)x$("tf"+c,d,e);else{var g={};g.xr=c;g.vr=d;g.wr=e;setTimeout(function(){V$(g.xr,g.vr,g.wr)}.bind(g),1E3)}},W$=function(c,d,e){var g=d.getUrl();g||(g=window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:""));S9||(O$||(O$=new Bca(g)),S9=O$);F$("lf");var h=new R$(c),k=h.a;e=e||{};d=d.a;for(var l=0;l<d.length;l++){var n=d[l];n.Vo(c);n.Wo(g);var q=new Aca(n,e);h.a.push(q);
h.v[c+";"+n.a]=l}F$("lfw");var t=C$(h.w);Qd(y$(t).then(function(){F$("lfb");for(var c=[],d=0;d<k.length;d++){var e=uca(k[d].Pd);c.push(e)}return E9(c)}).then(function(c){for(var d=0;d<k.length;d++){var e=c[d],g=k[d].Pd;null!=e?(g.P=!0,g.B=!0):e=vca(g,g.T,g.b);c[d]=Ld(e)}Qd(E9(c).then(function(c){for(var d=[],e=0;e<k.length;e++){var g=k[e].Pd,h=c[e];A$(g.ih,h);g.P?(g.ra=u(),g=K$(g,h[1],h[0].Cn).then(function(){var c=this.b.a;F$("sfe"+c,50);var d=u()-this.ra;L$(S9,"sfe.d"+c,d);s$(this.style,this.b,
!0);A$(this.ih,h)}.bind(g)),d.push(g)):d.push(Ld(null))}return E9(d)}).then(function(){A$(t)}),function(c){z$(t);V$(2,"all",c)})}),function(c){V$(3,"all",c);z$(t)});T$(h,document.documentElement);S$(h,document.documentElement);(new MutationObserver(function(c){c.forEach(function(c){if("childList"==c.type)for(var d=0;d<c.addedNodes.length;d++){var e=c.addedNodes[d];T$(h,e);S$(h,e)}else"characterData"==c.type&&T$(h,c.target)});c=!h.o&&h.g?!0:!1;h.o=!0;c?U$(h,!0):Gca(h)})).observe(document.documentElement,
{childList:!0,subtree:!0,characterData:!0});document.addEventListener("DOMContentLoaded",function(){h.g=!0;h.o&&U$(h,!0)});return h},yca=function(c){var d=c.charCodeAt(0);return 55296<=d&&56319>=d?(d-55296<<10)+(c.charCodeAt(1)-56320)+65536:d},X$=function(){};X$.prototype.start=function(){};X$.prototype.end=function(){};X$.prototype.done=function(){};var E$=window.b?window.f:new X$,Y$=function(){};window.a?Y$=window.a:(Y$.eG=function(){return"0"},Y$.PD=function(){},Y$.OD=function(){},Y$.QD=function(){}); ra("tachyfont.loadFonts",W$);
/*

 Copyright 2015 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 Z$={Vf:{}};
Z$.Vf.gg=function(){var c=[],d;d=new i$("notosansjapanese100","100","notosansjapanese","v3","3fHSXQ1q-wbTrz6G1O8VOiHWie5YszDE-r2ScC861uk");c.push(d);d=new i$("notosansjapanese200","200","notosansjapanese","v3","59WNSiazHjPcXNZms2coDtkoRJpV4R0Ozvb5OGFhjTg");c.push(d);d=new i$("notosansjapanese300","300","notosansjapanese","v3","59WNSiazHjPcXNZms2coDgpy6IiAE69ArBzdmARoK04");c.push(d);d=new i$("notosansjapanese400","400","notosansjapanese","v3","Q9iNMaYlQJY-Njmo1hjFOD49d0yjNQLRodwAuc7HmRA");c.push(d);
d=new i$("notosansjapanese500","500","notosansjapanese","v3","59WNSiazHjPcXNZms2coDvvhFPx3WM6lBpBqV9OOniw");c.push(d);d=new i$("notosansjapanese700","700","notosansjapanese","v3","59WNSiazHjPcXNZms2coDnoFRDdc-GQtH1W7670ZXcI");c.push(d);d=new i$("notosansjapanese900","900","notosansjapanese","v3","59WNSiazHjPcXNZms2coDqoSmDiNXUfQt1Vdw4NJsG0");c.push(d);return new j$(c,"https://fonts.sandbox.google.com/tf")};ra("webfonttailor.alternate",Z$.Vf);Z$.Vf.getTachyFontsInfo=Z$.Vf.gg;
/*

 Copyright 2015 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.
*/
Z$.pp={100:{name:"NotoSansJP-Thin",weight:"100"},200:{name:"NotoSansJP-Light",weight:"200"},300:{name:"NotoSansJP-DemiLight",weight:"300"},400:{name:"NotoSansJP-Regular",weight:"400"},500:{name:"NotoSansJP-Medium",weight:"500"},700:{name:"NotoSansJP-Bold",weight:"700"},900:{name:"NotoSansJP-Black",weight:"900"}};Z$.qp={normal:Z$.pp};Z$.Bp={ja:Z$.qp};Z$.jp={"Noto Sans":Z$.Bp};
Z$.gg=function(c,d,e,g){if(g.useAlternate)return Z$.Vf.gg(c,d,e,g);g=[];for(var h=0;h<c.length;h++){var k=Z$.jp[c[h]];if(k)for(var l=0;l<d.length;l++){var n=k[d[l]];if(n)for(var q=0;q<e.length;q++)for(var t=e[q],w=t.weights,t=n[t.style],z=0;z<w.length;z++){var B=t[w[z]];B&&g.push(new i$(B.name,B.weight))}}}return new j$(g,"")};ra("webfonttailor",Z$);Z$.getTachyFontsInfo=Z$.gg;
ra("initializeTachyFonts",function(){var c=Z$.gg(["Noto Sans"],["ja"],[{style:"normal",weights:["100","300","400","500","700"]}],{useAlternate:!0});return W$("UILanguageFont",c)});ra("updateTachyFonts",function(c){if(c.constructor==Array)for(var d=0;d<c.length;d++)M$(c[d].Pd);else c.constructor==R$&&U$(c,!0)});

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