"+typeof CTATLanguagePack);if("undefined"!==typeof CTATLanguagePack){if(CTATLanguagePack[b])return CTATLanguagePack[b]}else a.ctatdebug("No custom language pack defined, using default...");return CTATDefaultLanguagePack[b]};this.filterString=function(b){a.ctatdebug("filterString ("+
-b+") -> "+typeof CTATLanguagePack);if("undefined"!==typeof CTATLanguagePack){if(CTATLanguagePack[b])return a.ctatdebug("Found tag in provided language pack, returning: "+CTATLanguagePack[b]),CTATLanguagePack[b]}else a.ctatdebug("No custom language pack defined, using default...");return"undefined"!==typeof CTATDefaultLanguagePack&&CTATDefaultLanguagePack[b]?(a.ctatdebug("Found tag in default language pack, returning: "+CTATDefaultLanguagePack[b]),CTATDefaultLanguagePack[b]):b}};
-CTATLanguageManager.prototype=Object.create(CTATBase.prototype);CTATLanguageManager.prototype.constructor=CTATLanguageManager;CTATLanguageManager.theSingleton=new CTATLanguageManager;var scrimIsUp=!1,errorScrim=!1,waitScrim=!0,warnScrim=!1,connectionScrim=!1,authorTimeSet=!0,inAuthorTime=!0,CTATScrim=function(){function a(){warnScrim=!1;n.scrimDown()}function b(a){"google"!=CTATConfig.platform&&(!0===scrimIsUp&&n.scrimDownForced(),n.ctatdebug("errScrimUp ("+a+")"),!0===errorScrim?!0===f&&(f=!1,getSafeElementById(ctatcontainer).removeChild(r)):!0===warnScrim&&(f=!0),n.scrimUp(a))}function e(a,c){n.ctatdebug("makeHTMLButton ()");var b=document.createElement("input");b.type="button";
-b.value=c;a?(n.ctatdebug("clickHandle!=null"),b.onclick=a):(n.ctatdebug("clickHandle==null"),b.onclick=n.defaultClickHandler);b.id=c;b.setAttribute("class","scrimButton");return b}CTATBase.call(this,"CTATScrim","__undefined__");var g="",d=!1,c=!1,f=!1,h=null,m=null,l=new CTATCanvasComponent("CTAT Scrim"),q=[],p=null,u=null,r=null,w=null,n=this;this.scrimUp=function(b){if("google"!=CTATConfig.platform)if(n.ctatdebug("scrimUp ()"),b=CTATGlobals.languageManager.filterString(b),n.ctatdebug("Message: "+
-b),!0===scrimIsUp?(g=!0===waitScrim?b:g+(" \n "+b),l.removeComponent(),n.removeHTMLElements()):(g=b,scrimIsUp=!0),n.ctatdebug("scrimUp() to call drawScrim() scrimIsUp "+scrimIsUp),n.ctatdebug("drawScrim ()"),"google"==CTATConfig.platform)n.ctatdebug("This is not available for now when we're in this environment");else if($('').appendTo("body"),$("#scrim").css("z-index",1E3),"google"!=CTATConfig.platform&&($("#scrimpanel").empty(),$("#scrim").append('"),!0===f&&(waitScrim=!1,r=e(a,"close"),$(r).appendTo("#scrimpanel")),!0===d&&(waitScrim=!1,p=e(h,"yes"),$(p).appendTo("#scrimpanel"),d=!1),!0===c&&(waitScrim=!1,u=e(m,"no"),$(u).appendTo("#scrimpanel"),c=!1),!0===waitScrim)){n.ctatdebug("Adding spinner ...");$("#scrimpanel").append("
");b=$('');b.css("width","100%");b.css("position","relative");$("#scrimpanel").append(b);try{var w=(new Spinner({className:"scrim_spinner"})).spin();$("#scrim_spin").append(w.el)}catch(y){(y instanceof
-ReferenceError||y instanceof TypeError)&&n.ctatdebug('Spinner is not available, please include it in the build or add