UNPKG

@atlassian/aui

Version:

Atlassian User Interface Framework

1 lines 107 kB
("undefined"==typeof window?global:window).__48d3d0a32f111046982726b9502ed356=function(){var e={};return window.atl_soy=window.atl_soy||{},atl_soy.concat=function(e,t){if(e.concat)return e.concat(t);var o={};for(var a in e)e.hasOwnProperty(a)&&(o[a]=e[a]);for(var a in t)t.hasOwnProperty(a)&&(o[a]=t[a]);return o},e}.call(this),("undefined"==typeof window?global:window).__594ab344a54957cc0f67e98b2c34cb15=function(){var module={exports:{}},exports=module.exports;return function(){goog=window.goog=window.goog||{};var goog=goog||{};goog.global=this,COMPILED=!0,goog.global.CLOSURE_UNCOMPILED_DEFINES,goog.global.CLOSURE_DEFINES,goog.isDef=function(e){return void 0!==e},goog.exportPath_=function(e,t,o){var a=e.split("."),n=o||goog.global;a[0]in n||!n.execScript||n.execScript("var "+a[0]);for(var i;a.length&&(i=a.shift());)!a.length&&goog.isDef(t)?n[i]=t:n=n[i]?n[i]:n[i]={}},goog.define=function(e,t){var o=t;COMPILED||(goog.global.CLOSURE_UNCOMPILED_DEFINES&&Object.prototype.hasOwnProperty.call(goog.global.CLOSURE_UNCOMPILED_DEFINES,e)?o=goog.global.CLOSURE_UNCOMPILED_DEFINES[e]:goog.global.CLOSURE_DEFINES&&Object.prototype.hasOwnProperty.call(goog.global.CLOSURE_DEFINES,e)&&(o=goog.global.CLOSURE_DEFINES[e])),goog.exportPath_(e,o)},goog.DEBUG=!0,goog.define("goog.LOCALE","en"),goog.define("goog.TRUSTED_SITE",!0),goog.define("goog.STRICT_MODE_COMPATIBLE",!1),goog.define("goog.DISALLOW_TEST_ONLY_CODE",COMPILED&&!goog.DEBUG),goog.provide=function(e){if(!COMPILED&&goog.isProvided_(e))throw Error('Namespace "'+e+'" already declared.');goog.constructNamespace_(e)},goog.constructNamespace_=function(e,t){if(!COMPILED){delete goog.implicitNamespaces_[e];for(var o=e;(o=o.substring(0,o.lastIndexOf(".")))&&!goog.getObjectByName(o);)goog.implicitNamespaces_[o]=!0}goog.exportPath_(e,t)},goog.VALID_MODULE_RE_=/^[a-zA-Z_$][a-zA-Z0-9._$]*$/,goog.module=function(e){if(!goog.isString(e)||!e||-1==e.search(goog.VALID_MODULE_RE_))throw Error("Invalid module identifier");if(!goog.isInModuleLoader_())throw Error("Module "+e+" has been loaded incorrectly.");if(goog.moduleLoaderState_.moduleName)throw Error("goog.module may only be called once per module.");if(goog.moduleLoaderState_.moduleName=e,!COMPILED){if(goog.isProvided_(e))throw Error('Namespace "'+e+'" already declared.');delete goog.implicitNamespaces_[e]}},goog.module.get=function(e){return goog.module.getInternal_(e)},goog.module.getInternal_=function(e){if(!COMPILED)return goog.isProvided_(e)?e in goog.loadedModules_?goog.loadedModules_[e]:goog.getObjectByName(e):null},goog.moduleLoaderState_=null,goog.isInModuleLoader_=function(){return null!=goog.moduleLoaderState_},goog.module.declareTestMethods=function(){if(!goog.isInModuleLoader_())throw new Error("goog.module.declareTestMethods must be called from within a goog.module");goog.moduleLoaderState_.declareTestMethods=!0},goog.module.declareLegacyNamespace=function(){if(!COMPILED&&!goog.isInModuleLoader_())throw new Error("goog.module.declareLegacyNamespace must be called from within a goog.module");if(!COMPILED&&!goog.moduleLoaderState_.moduleName)throw Error("goog.module must be called prior to goog.module.declareLegacyNamespace.");goog.moduleLoaderState_.declareLegacyNamespace=!0},goog.setTestOnly=function(e){if(goog.DISALLOW_TEST_ONLY_CODE)throw e=e||"",Error("Importing test-only code into non-debug environment"+(e?": "+e:"."))},goog.forwardDeclare=function(e){},COMPILED||(goog.isProvided_=function(e){return e in goog.loadedModules_||!goog.implicitNamespaces_[e]&&goog.isDefAndNotNull(goog.getObjectByName(e))},goog.implicitNamespaces_={"goog.module":!0}),goog.getObjectByName=function(e,t){for(var o,a=e.split("."),n=t||goog.global;o=a.shift();){if(!goog.isDefAndNotNull(n[o]))return null;n=n[o]}return n},goog.globalize=function(e,t){var o=t||goog.global;for(var a in e)o[a]=e[a]},goog.addDependency=function(e,t,o,a){if(goog.DEPENDENCIES_ENABLED){for(var n,i,r=e.replace(/\\/g,"/"),s=goog.dependencies_,l=0;n=t[l];l++)s.nameToPath[n]=r,s.pathIsModule[r]=!!a;for(var d=0;i=o[d];d++)r in s.requires||(s.requires[r]={}),s.requires[r][i]=!0}},goog.define("goog.ENABLE_DEBUG_LOADER",!0),goog.logToConsole_=function(e){goog.global.console&&goog.global.console.error(e)},goog.require=function(e){if(!COMPILED){if(goog.ENABLE_DEBUG_LOADER&&goog.IS_OLD_IE_&&goog.maybeProcessDeferredDep_(e),goog.isProvided_(e))return goog.isInModuleLoader_()?goog.module.getInternal_(e):null;if(goog.ENABLE_DEBUG_LOADER){var t=goog.getPathFromDeps_(e);if(t)return goog.included_[t]=!0,goog.writeScripts_(),null}var o="goog.require could not find: "+e;throw goog.logToConsole_(o),Error(o)}},goog.basePath="",goog.global.CLOSURE_BASE_PATH,goog.global.CLOSURE_NO_DEPS,goog.global.CLOSURE_IMPORT_SCRIPT,goog.nullFunction=function(){},goog.identityFunction=function(e,t){return e},goog.abstractMethod=function(){throw Error("unimplemented abstract method")},goog.addSingletonGetter=function(e){e.getInstance=function(){return e.instance_?e.instance_:(goog.DEBUG&&(goog.instantiatedSingletons_[goog.instantiatedSingletons_.length]=e),e.instance_=new e)}},goog.instantiatedSingletons_=[],goog.define("goog.LOAD_MODULE_USING_EVAL",!0),goog.define("goog.SEAL_MODULE_EXPORTS",goog.DEBUG),goog.loadedModules_={},goog.DEPENDENCIES_ENABLED=!COMPILED&&goog.ENABLE_DEBUG_LOADER,goog.DEPENDENCIES_ENABLED&&(goog.included_={},goog.dependencies_={pathIsModule:{},nameToPath:{},requires:{},visited:{},written:{},deferred:{}},goog.inHtmlDocument_=function(){var e=goog.global.document;return void 0!==e&&"write"in e},goog.findBasePath_=function(){if(goog.global.CLOSURE_BASE_PATH)goog.basePath=goog.global.CLOSURE_BASE_PATH;else if(goog.inHtmlDocument_())for(var e=goog.global.document.getElementsByTagName("script"),t=e.length-1;t>=0;--t){var o=e[t].src,a=o.lastIndexOf("?"),n=-1==a?o.length:a;if("base.js"==o.substr(n-7,7))return void(goog.basePath=o.substr(0,n-7))}},goog.importScript_=function(e,t){(goog.global.CLOSURE_IMPORT_SCRIPT||goog.writeScriptTag_)(e,t)&&(goog.dependencies_.written[e]=!0)},goog.IS_OLD_IE_=goog.global.document&&goog.global.document.all&&!goog.global.atob,goog.importModule_=function(e){var t='goog.retrieveAndExecModule_("'+e+'");';goog.importScript_("",t)&&(goog.dependencies_.written[e]=!0)},goog.queuedModules_=[],goog.wrapModule_=function(e,t){return goog.LOAD_MODULE_USING_EVAL&&goog.isDef(goog.global.JSON)?"goog.loadModule("+goog.global.JSON.stringify(t+"\n//# sourceURL="+e+"\n")+");":'goog.loadModule(function(exports) {"use strict";'+t+"\n;return exports});\n//# sourceURL="+e+"\n"},goog.loadQueuedModules_=function(){var e=goog.queuedModules_.length;if(e>0){var t=goog.queuedModules_;goog.queuedModules_=[];for(var o=0;o<e;o++){var a=t[o];goog.maybeProcessDeferredPath_(a)}}},goog.maybeProcessDeferredDep_=function(e){if(goog.isDeferredModule_(e)&&goog.allDepsAreAvailable_(e)){var t=goog.getPathFromDeps_(e);goog.maybeProcessDeferredPath_(goog.basePath+t)}},goog.isDeferredModule_=function(e){var t=goog.getPathFromDeps_(e);if(t&&goog.dependencies_.pathIsModule[t]){return goog.basePath+t in goog.dependencies_.deferred}return!1},goog.allDepsAreAvailable_=function(e){var t=goog.getPathFromDeps_(e);if(t&&t in goog.dependencies_.requires)for(var o in goog.dependencies_.requires[t])if(!goog.isProvided_(o)&&!goog.isDeferredModule_(o))return!1;return!0},goog.maybeProcessDeferredPath_=function(e){if(e in goog.dependencies_.deferred){var t=goog.dependencies_.deferred[e];delete goog.dependencies_.deferred[e],goog.globalEval(t)}},goog.loadModule=function(e){var t=goog.moduleLoaderState_;try{goog.moduleLoaderState_={moduleName:void 0,declareTestMethods:!1};var o;if(goog.isFunction(e))o=e.call(goog.global,{});else{if(!goog.isString(e))throw Error("Invalid module definition");o=goog.loadModuleFromSource_.call(goog.global,e)}var a=goog.moduleLoaderState_.moduleName;if(!goog.isString(a)||!a)throw Error('Invalid module name "'+a+'"');if(goog.moduleLoaderState_.declareLegacyNamespace?goog.constructNamespace_(a,o):goog.SEAL_MODULE_EXPORTS&&Object.seal&&Object.seal(o),goog.loadedModules_[a]=o,goog.moduleLoaderState_.declareTestMethods)for(var n in o)0!==n.indexOf("test",0)&&"tearDown"!=n&&"setUp"!=n&&"setUpPage"!=n&&"tearDownPage"!=n||(goog.global[n]=o[n])}finally{goog.moduleLoaderState_=t}},goog.loadModuleFromSource_=function(source){var exports={};return eval(arguments[0]),exports},goog.writeScriptTag_=function(e,t){if(goog.inHtmlDocument_()){var o=goog.global.document;if("complete"==o.readyState){if(/\bdeps.js$/.test(e))return!1;throw Error('Cannot write "'+e+'" after document load')}var a=goog.IS_OLD_IE_;if(void 0===t)if(a){var n=" onreadystatechange='goog.onScriptLoad_(this, "+ ++goog.lastNonModuleScriptIndex_+")' ";o.write('<script type="text/javascript" src="'+e+'"'+n+"><\/script>")}else o.write('<script type="text/javascript" src="'+e+'"><\/script>');else o.write('<script type="text/javascript">'+t+"<\/script>");return!0}return!1},goog.lastNonModuleScriptIndex_=0,goog.onScriptLoad_=function(e,t){return"complete"==e.readyState&&goog.lastNonModuleScriptIndex_==t&&goog.loadQueuedModules_(),!0},goog.writeScripts_=function(){function e(n){if(!(n in a.written))if(n in a.visited)n in o||(o[n]=!0,t.push(n));else{if(a.visited[n]=!0,n in a.requires)for(var i in a.requires[n])if(!goog.isProvided_(i)){if(!(i in a.nameToPath))throw Error("Undefined nameToPath for "+i);e(a.nameToPath[i])}n in o||(o[n]=!0,t.push(n))}}var t=[],o={},a=goog.dependencies_;for(var n in goog.included_)a.written[n]||e(n);for(r=0;r<t.length;r++){n=t[r];goog.dependencies_.written[n]=!0}var i=goog.moduleLoaderState_;goog.moduleLoaderState_=null;for(var r=0;r<t.length;r++){if(!(n=t[r]))throw goog.moduleLoaderState_=i,Error("Undefined script input");a.pathIsModule[n]?(!0,goog.importModule_(goog.basePath+n)):goog.importScript_(goog.basePath+n)}goog.moduleLoaderState_=i},goog.getPathFromDeps_=function(e){return e in goog.dependencies_.nameToPath?goog.dependencies_.nameToPath[e]:null},goog.findBasePath_(),goog.global.CLOSURE_NO_DEPS||goog.importScript_(goog.basePath+"deps.js")),goog.normalizePath_=function(e){for(var t=e.split("/"),o=0;o<t.length;)"."==t[o]?t.splice(o,1):o&&".."==t[o]&&t[o-1]&&".."!=t[o-1]?t.splice(--o,2):o++;return t.join("/")},goog.retrieveAndExecModule_=function(e){if(!COMPILED){var t=e;e=goog.normalizePath_(e);var o=goog.global.CLOSURE_IMPORT_SCRIPT||goog.writeScriptTag_,a=null,n=new goog.global.XMLHttpRequest;if(n.onload=function(){a=this.responseText},n.open("get",e,!1),n.send(),null==(a=n.responseText))throw new Error("load of "+e+"failed");var i=goog.wrapModule_(e,a);goog.IS_OLD_IE_?(goog.dependencies_.deferred[t]=i,goog.queuedModules_.push(t)):o(e,i)}},goog.typeOf=function(e){var t=typeof e;if("object"==t){if(!e)return"null";if(e instanceof Array)return"array";if(e instanceof Object)return t;var o=Object.prototype.toString.call(e);if("[object Window]"==o)return"object";if("[object Array]"==o||"number"==typeof e.length&&void 0!==e.splice&&void 0!==e.propertyIsEnumerable&&!e.propertyIsEnumerable("splice"))return"array";if("[object Function]"==o||void 0!==e.call&&void 0!==e.propertyIsEnumerable&&!e.propertyIsEnumerable("call"))return"function"}else if("function"==t&&void 0===e.call)return"object";return t},goog.isNull=function(e){return null===e},goog.isDefAndNotNull=function(e){return null!=e},goog.isArray=function(e){return"array"==goog.typeOf(e)},goog.isArrayLike=function(e){var t=goog.typeOf(e);return"array"==t||"object"==t&&"number"==typeof e.length},goog.isDateLike=function(e){return goog.isObject(e)&&"function"==typeof e.getFullYear},goog.isString=function(e){return"string"==typeof e},goog.isBoolean=function(e){return"boolean"==typeof e},goog.isNumber=function(e){return"number"==typeof e},goog.isFunction=function(e){return"function"==goog.typeOf(e)},goog.isObject=function(e){var t=typeof e;return"object"==t&&null!=e||"function"==t},goog.getUid=function(e){return e[goog.UID_PROPERTY_]||(e[goog.UID_PROPERTY_]=++goog.uidCounter_)},goog.hasUid=function(e){return!!e[goog.UID_PROPERTY_]},goog.removeUid=function(e){"removeAttribute"in e&&e.removeAttribute(goog.UID_PROPERTY_);try{delete e[goog.UID_PROPERTY_]}catch(e){}},goog.UID_PROPERTY_="closure_uid_"+(1e9*Math.random()>>>0),goog.uidCounter_=0,goog.getHashCode=goog.getUid,goog.removeHashCode=goog.removeUid,goog.cloneObject=function(e){var t=goog.typeOf(e);if("object"==t||"array"==t){if(e.clone)return e.clone();var o="array"==t?[]:{};for(var a in e)o[a]=goog.cloneObject(e[a]);return o}return e},goog.bindNative_=function(e,t,o){return e.call.apply(e.bind,arguments)},goog.bindJs_=function(e,t,o){if(!e)throw new Error;if(arguments.length>2){var a=Array.prototype.slice.call(arguments,2);return function(){var o=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(o,a),e.apply(t,o)}}return function(){return e.apply(t,arguments)}},goog.bind=function(e,t,o){return Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?goog.bind=goog.bindNative_:goog.bind=goog.bindJs_,goog.bind.apply(null,arguments)},goog.partial=function(e,t){var o=Array.prototype.slice.call(arguments,1);return function(){var t=o.slice();return t.push.apply(t,arguments),e.apply(this,t)}},goog.mixin=function(e,t){for(var o in t)e[o]=t[o]},goog.now=goog.TRUSTED_SITE&&Date.now||function(){return+new Date},goog.globalEval=function(e){if(goog.global.execScript)goog.global.execScript(e,"JavaScript");else{if(!goog.global.eval)throw Error("goog.globalEval not available");if(null==goog.evalWorksForGlobals_&&(goog.global.eval("var _et_ = 1;"),void 0!==goog.global._et_?(delete goog.global._et_,goog.evalWorksForGlobals_=!0):goog.evalWorksForGlobals_=!1),goog.evalWorksForGlobals_)goog.global.eval(e);else{var t=goog.global.document,o=t.createElement("script");o.type="text/javascript",o.defer=!1,o.appendChild(t.createTextNode(e)),t.body.appendChild(o),t.body.removeChild(o)}}},goog.evalWorksForGlobals_=null,goog.cssNameMapping_,goog.cssNameMappingStyle_,goog.getCssName=function(e,t){var o,a=function(e){return goog.cssNameMapping_[e]||e};return o=goog.cssNameMapping_?"BY_WHOLE"==goog.cssNameMappingStyle_?a:function(e){for(var t=e.split("-"),o=[],n=0;n<t.length;n++)o.push(a(t[n]));return o.join("-")}:function(e){return e},t?e+"-"+o(t):o(e)},goog.setCssNameMapping=function(e,t){goog.cssNameMapping_=e,goog.cssNameMappingStyle_=t},goog.global.CLOSURE_CSS_NAME_MAPPING,!COMPILED&&goog.global.CLOSURE_CSS_NAME_MAPPING&&(goog.cssNameMapping_=goog.global.CLOSURE_CSS_NAME_MAPPING),goog.getMsg=function(e,t){return t&&(e=e.replace(/\{\$([^}]+)}/g,function(e,o){return o in t?t[o]:e})),e},goog.getMsgWithFallback=function(e,t){return e},goog.exportSymbol=function(e,t,o){goog.exportPath_(e,t,o)},goog.exportProperty=function(e,t,o){e[t]=o},goog.inherits=function(e,t){function o(){}o.prototype=t.prototype,e.superClass_=t.prototype,e.prototype=new o,e.prototype.constructor=e,e.base=function(e,o,a){for(var n=new Array(arguments.length-2),i=2;i<arguments.length;i++)n[i-2]=arguments[i];return t.prototype[o].apply(e,n)}},goog.base=function(e,t,o){var a=arguments.callee.caller;if(goog.STRICT_MODE_COMPATIBLE||goog.DEBUG&&!a)throw Error("arguments.caller not defined. goog.base() cannot be used with strict mode code. See http://www.ecma-international.org/ecma-262/5.1/#sec-C");if(a.superClass_){for(var n=new Array(arguments.length-1),i=1;i<arguments.length;i++)n[i-1]=arguments[i];return a.superClass_.constructor.apply(e,n)}for(var r=new Array(arguments.length-2),i=2;i<arguments.length;i++)r[i-2]=arguments[i];for(var s=!1,l=e.constructor;l;l=l.superClass_&&l.superClass_.constructor)if(l.prototype[t]===a)s=!0;else if(s)return l.prototype[t].apply(e,r);if(e[t]===a)return e.constructor.prototype[t].apply(e,r);throw Error("goog.base called from a method of one name to a method of a different name")},goog.scope=function(e){e.call(goog.global)},COMPILED||(goog.global.COMPILED=COMPILED),goog.defineClass=function(e,t){var o=t.constructor,a=t.statics;o&&o!=Object.prototype.constructor||(o=function(){throw Error("cannot instantiate an interface (no constructor defined).")});var n=goog.defineClass.createSealingConstructor_(o,e);return e&&goog.inherits(n,e),delete t.constructor,delete t.statics,goog.defineClass.applyProperties_(n.prototype,t),null!=a&&(a instanceof Function?a(n):goog.defineClass.applyProperties_(n,a)),n},goog.defineClass.ClassDescriptor,goog.define("goog.defineClass.SEAL_CLASS_INSTANCES",goog.DEBUG),goog.defineClass.createSealingConstructor_=function(e,t){if(goog.defineClass.SEAL_CLASS_INSTANCES&&Object.seal instanceof Function){if(t&&t.prototype&&t.prototype[goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_])return e;var o=function(){var t=e.apply(this,arguments)||this;return t[goog.UID_PROPERTY_]=t[goog.UID_PROPERTY_],this.constructor===o&&Object.seal(t),t};return o}return e},goog.defineClass.OBJECT_PROTOTYPE_FIELDS_=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],goog.defineClass.applyProperties_=function(e,t){var o;for(o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);for(var a=0;a<goog.defineClass.OBJECT_PROTOTYPE_FIELDS_.length;a++)o=goog.defineClass.OBJECT_PROTOTYPE_FIELDS_[a],Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])},goog.tagUnsealableClass=function(e){!COMPILED&&goog.defineClass.SEAL_CLASS_INSTANCES&&(e.prototype[goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_]=!0)},goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_="goog_defineClass_legacy_unsealable",goog.DEBUG=!1,goog.inherits=function(e,t){function o(){}o.prototype=t.prototype,e.superClass_=t.prototype,e.prototype=new o,e.prototype.constructor=e,e.base=function(e,o,a){var n=Array.prototype.slice.call(arguments,2);return t.prototype[o].apply(e,n)}},goog.userAgent||(goog.userAgent=function(){var e="";"undefined"!=typeof navigator&&navigator&&"string"==typeof navigator.userAgent&&(e=navigator.userAgent);var t=0==e.indexOf("Opera");return{jscript:{HAS_JSCRIPT:"ScriptEngine"in this},OPERA:t,IE:!t&&-1!=e.indexOf("MSIE"),WEBKIT:!t&&-1!=e.indexOf("WebKit")}}()),goog.asserts||(goog.asserts={assert:function(e){if(!e)throw Error("Assertion error")},fail:function(e){}}),goog.dom||(goog.dom={},goog.dom.DomHelper=function(e){this.document_=e||document},goog.dom.DomHelper.prototype.getDocument=function(){return this.document_},goog.dom.DomHelper.prototype.createElement=function(e){return this.document_.createElement(e)},goog.dom.DomHelper.prototype.createDocumentFragment=function(){return this.document_.createDocumentFragment()}),goog.format||(goog.format={insertWordBreaks:function(e,t){for(var o=[],a=0,n=!1,i=!1,r=0,s=0,l=0,d=(e=String(e)).length;l<d;++l){var c=e.charCodeAt(l);if(r>=t&&32!=c&&(o[a++]=e.substring(s,l),s=l,o[a++]=goog.format.WORD_BREAK,r=0),n)62==c&&(n=!1);else if(i)switch(c){case 59:i=!1,++r;break;case 60:i=!1,n=!0;break;case 32:i=!1,r=0}else switch(c){case 60:n=!0;break;case 38:i=!0;break;case 32:r=0;break;default:++r}}return o[a++]=e.substring(s),o.join("")},WORD_BREAK:goog.userAgent.WEBKIT?"<wbr></wbr>":goog.userAgent.OPERA?"&shy;":goog.userAgent.IE?"&#8203;":"<wbr>"}),goog.i18n||(goog.i18n={bidi:{}}),goog.i18n.bidi.IS_RTL=!1,goog.i18n.bidi.Dir={LTR:1,RTL:-1,NEUTRAL:0,UNKNOWN:0},goog.i18n.bidi.toDir=function(e,t){return"number"==typeof e?e>0?goog.i18n.bidi.Dir.LTR:e<0?goog.i18n.bidi.Dir.RTL:t?null:goog.i18n.bidi.Dir.NEUTRAL:null==e?null:e?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR},goog.i18n.bidi.estimateDirection=function(e,t){for(var o=0,a=0,n=!1,i=soyshim.$$bidiStripHtmlIfNecessary_(e,t).split(soyshim.$$bidiWordSeparatorRe_),r=0;r<i.length;r++){var s=i[r];soyshim.$$bidiRtlDirCheckRe_.test(s)?(o++,a++):soyshim.$$bidiIsRequiredLtrRe_.test(s)?n=!0:soyshim.$$bidiLtrCharRe_.test(s)?a++:soyshim.$$bidiHasNumeralsRe_.test(s)&&(n=!0)}return 0==a?n?goog.i18n.bidi.Dir.LTR:goog.i18n.bidi.Dir.NEUTRAL:o/a>soyshim.$$bidiRtlDetectionThreshold_?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR},goog.i18n.BidiFormatter=function(e){this.dir_=goog.i18n.bidi.toDir(e,!0)},goog.i18n.BidiFormatter.prototype.getContextDir=function(){return this.dir_},goog.i18n.BidiFormatter.prototype.knownDirAttr=function(e){return e&&e!=this.dir_?e<0?'dir="rtl"':'dir="ltr"':""},goog.i18n.BidiFormatter.prototype.endEdge=function(){return this.dir_<0?"left":"right"},goog.i18n.BidiFormatter.prototype.mark=function(){return this.dir_>0?"‎":this.dir_<0?"‏":""},goog.i18n.BidiFormatter.prototype.markAfterKnownDir=function(e,t,o){return null==e&&(e=goog.i18n.bidi.estimateDirection(t,o)),this.dir_>0&&(e<0||soyshim.$$bidiIsRtlExitText_(t,o))?"‎":this.dir_<0&&(e>0||soyshim.$$bidiIsLtrExitText_(t,o))?"‏":""},goog.i18n.BidiFormatter.prototype.spanWrapWithKnownDir=function(e,t,o){null==e&&(e=goog.i18n.bidi.estimateDirection(t,!0));var a=this.markAfterKnownDir(e,t,!0);return e>0&&this.dir_<=0?t='<span dir="ltr">'+t+"</span>":e<0&&this.dir_>=0&&(t='<span dir="rtl">'+t+"</span>"),t+a},goog.i18n.BidiFormatter.prototype.startEdge=function(){return this.dir_<0?"right":"left"},goog.i18n.BidiFormatter.prototype.unicodeWrapWithKnownDir=function(e,t,o){null==e&&(e=goog.i18n.bidi.estimateDirection(t,o));var a=this.markAfterKnownDir(e,t,o);return e>0&&this.dir_<=0?t="‪"+t+"‬":e<0&&this.dir_>=0&&(t="‫"+t+"‬"),t+a},goog.string||(goog.string={newLineToBr:function(e,t){return e=String(e),goog.string.NEWLINE_TO_BR_RE_.test(e)?e.replace(/(\r\n|\r|\n)/g,t?"<br />":"<br>"):e},urlEncode:encodeURIComponent,NEWLINE_TO_BR_RE_:/[\r\n]/}),goog.string.StringBuffer=function(e,t){this.buffer_=goog.userAgent.jscript.HAS_JSCRIPT?[]:"",null!=e&&this.append.apply(this,arguments)},goog.string.StringBuffer.prototype.bufferLength_=0,goog.string.StringBuffer.prototype.append=function(e,t,o){if(goog.userAgent.jscript.HAS_JSCRIPT)if(null==t)this.buffer_[this.bufferLength_++]=e;else{var a=this.buffer_;a.push.apply(a,arguments),this.bufferLength_=this.buffer_.length}else if(this.buffer_+=e,null!=t)for(var n=1;n<arguments.length;n++)this.buffer_+=arguments[n];return this},goog.string.StringBuffer.prototype.clear=function(){goog.userAgent.jscript.HAS_JSCRIPT?(this.buffer_.length=0,this.bufferLength_=0):this.buffer_=""},goog.string.StringBuffer.prototype.toString=function(){if(goog.userAgent.jscript.HAS_JSCRIPT){var e=this.buffer_.join("");return this.clear(),e&&this.append(e),e}return this.buffer_},goog.soy||(goog.soy={renderAsElement:function(e,t,o,a){return soyshim.$$renderWithWrapper_(e,t,a,!0,o)},renderAsFragment:function(e,t,o,a){return soyshim.$$renderWithWrapper_(e,t,a,!1,o)},renderElement:function(e,t,o,a){e.innerHTML=t(o,null,a)},data:{}}),goog.soy.data.SanitizedContentKind={HTML:goog.DEBUG?{sanitizedContentKindHtml:!0}:{},JS:goog.DEBUG?{sanitizedContentJsChars:!0}:{},JS_STR_CHARS:goog.DEBUG?{sanitizedContentJsStrChars:!0}:{},URI:goog.DEBUG?{sanitizedContentUri:!0}:{},ATTRIBUTES:goog.DEBUG?{sanitizedContentHtmlAttribute:!0}:{},CSS:goog.DEBUG?{sanitizedContentCss:!0}:{},TEXT:goog.DEBUG?{sanitizedContentKindText:!0}:{}},goog.soy.data.SanitizedContent=function(){throw Error("Do not instantiate directly")},goog.soy.data.SanitizedContent.prototype.contentKind,goog.soy.data.SanitizedContent.prototype.contentDir=null,goog.soy.data.SanitizedContent.prototype.content,goog.soy.data.SanitizedContent.prototype.toString=function(){return this.content};var soy={esc:{}},soydata={};soydata.VERY_UNSAFE={};var soyshim={$$DEFAULT_TEMPLATE_DATA_:{}};soyshim.$$renderWithWrapper_=function(e,t,o,a,n){var i=o||document,r=i.createElement("div");if(r.innerHTML=e(t||soyshim.$$DEFAULT_TEMPLATE_DATA_,void 0,n),1==r.childNodes.length){var s=r.firstChild;if(!a||1==s.nodeType)return s}if(a)return r;for(var l=i.createDocumentFragment();r.firstChild;)l.appendChild(r.firstChild);return l},soyshim.$$bidiStripHtmlIfNecessary_=function(e,t){return t?e.replace(soyshim.$$BIDI_HTML_SKIP_RE_,""):e},soyshim.$$BIDI_HTML_SKIP_RE_=/<[^>]*>|&[^;]+;/g,soyshim.$$bidiLtrChars_="A-Za-zÀ-ÖØ-öø-ʸ̀-֐ࠀ-῿‎Ⰰ-﬜︀-﹯﻽-￿",soyshim.$$bidiRtlChars_="֑-߿‏יִ-﷿ﹰ-ﻼ",soyshim.$$bidiRtlDirCheckRe_=new RegExp("^[^"+soyshim.$$bidiLtrChars_+"]*["+soyshim.$$bidiRtlChars_+"]"),soyshim.$$bidiLtrCharRe_=new RegExp("["+soyshim.$$bidiLtrChars_+"]"),soyshim.$$bidiIsRequiredLtrRe_=/^http:\/\/.*/,soyshim.$$bidiHasNumeralsRe_=/\d/,soyshim.$$bidiWordSeparatorRe_=/\s+/,soyshim.$$bidiRtlDetectionThreshold_=.4,soyshim.$$bidiLtrExitDirCheckRe_=new RegExp("["+soyshim.$$bidiLtrChars_+"][^"+soyshim.$$bidiRtlChars_+"]*$"),soyshim.$$bidiRtlExitDirCheckRe_=new RegExp("["+soyshim.$$bidiRtlChars_+"][^"+soyshim.$$bidiLtrChars_+"]*$"),soyshim.$$bidiIsLtrExitText_=function(e,t){return e=soyshim.$$bidiStripHtmlIfNecessary_(e,t),soyshim.$$bidiLtrExitDirCheckRe_.test(e)},soyshim.$$bidiIsRtlExitText_=function(e,t){return e=soyshim.$$bidiStripHtmlIfNecessary_(e,t),soyshim.$$bidiRtlExitDirCheckRe_.test(e)},soy.StringBuilder=goog.string.StringBuffer,soydata.SanitizedContentKind=goog.soy.data.SanitizedContentKind,soydata.isContentKind=function(e,t){return null!=e&&e.contentKind===t},soydata.getContentDir=function(e){if(null!=e)switch(e.contentDir){case goog.i18n.bidi.Dir.LTR:return goog.i18n.bidi.Dir.LTR;case goog.i18n.bidi.Dir.RTL:return goog.i18n.bidi.Dir.RTL;case goog.i18n.bidi.Dir.NEUTRAL:return goog.i18n.bidi.Dir.NEUTRAL}return null},soydata.SanitizedHtml=function(){goog.soy.data.SanitizedContent.call(this)},goog.inherits(soydata.SanitizedHtml,goog.soy.data.SanitizedContent),soydata.SanitizedHtml.prototype.contentKind=soydata.SanitizedContentKind.HTML,soydata.SanitizedHtml.from=function(e){return null!=e&&e.contentKind===soydata.SanitizedContentKind.HTML?(goog.asserts.assert(e.constructor===soydata.SanitizedHtml),e):soydata.VERY_UNSAFE.ordainSanitizedHtml(soy.esc.$$escapeHtmlHelper(String(e)),soydata.getContentDir(e))},soydata.SanitizedJs=function(){goog.soy.data.SanitizedContent.call(this)},goog.inherits(soydata.SanitizedJs,goog.soy.data.SanitizedContent),soydata.SanitizedJs.prototype.contentKind=soydata.SanitizedContentKind.JS,soydata.SanitizedJs.prototype.contentDir=goog.i18n.bidi.Dir.LTR,soydata.SanitizedJsStrChars=function(){goog.soy.data.SanitizedContent.call(this)},goog.inherits(soydata.SanitizedJsStrChars,goog.soy.data.SanitizedContent),soydata.SanitizedJsStrChars.prototype.contentKind=soydata.SanitizedContentKind.JS_STR_CHARS,soydata.SanitizedUri=function(){goog.soy.data.SanitizedContent.call(this)},goog.inherits(soydata.SanitizedUri,goog.soy.data.SanitizedContent),soydata.SanitizedUri.prototype.contentKind=soydata.SanitizedContentKind.URI,soydata.SanitizedUri.prototype.contentDir=goog.i18n.bidi.Dir.LTR,soydata.SanitizedHtmlAttribute=function(){goog.soy.data.SanitizedContent.call(this)},goog.inherits(soydata.SanitizedHtmlAttribute,goog.soy.data.SanitizedContent),soydata.SanitizedHtmlAttribute.prototype.contentKind=soydata.SanitizedContentKind.ATTRIBUTES,soydata.SanitizedHtmlAttribute.prototype.contentDir=goog.i18n.bidi.Dir.LTR,soydata.SanitizedCss=function(){goog.soy.data.SanitizedContent.call(this)},goog.inherits(soydata.SanitizedCss,goog.soy.data.SanitizedContent),soydata.SanitizedCss.prototype.contentKind=soydata.SanitizedContentKind.CSS,soydata.SanitizedCss.prototype.contentDir=goog.i18n.bidi.Dir.LTR,soydata.UnsanitizedText=function(e,t){this.content=String(e),this.contentDir=null!=t?t:null},goog.inherits(soydata.UnsanitizedText,goog.soy.data.SanitizedContent),soydata.UnsanitizedText.prototype.contentKind=soydata.SanitizedContentKind.TEXT,soydata.$$EMPTY_STRING_={VALUE:""},soydata.$$makeSanitizedContentFactory_=function(e){function t(){}return t.prototype=e.prototype,function(e,o){var a=new t;return a.content=String(e),void 0!==o&&(a.contentDir=o),a}},soydata.$$makeSanitizedContentFactoryWithDefaultDirOnly_=function(e){function t(){}return t.prototype=e.prototype,function(e){var o=new t;return o.content=String(e),o}},soydata.markUnsanitizedText=function(e,t){return new soydata.UnsanitizedText(e,t)},soydata.VERY_UNSAFE.ordainSanitizedHtml=soydata.$$makeSanitizedContentFactory_(soydata.SanitizedHtml),soydata.VERY_UNSAFE.ordainSanitizedJs=soydata.$$makeSanitizedContentFactoryWithDefaultDirOnly_(soydata.SanitizedJs),soydata.VERY_UNSAFE.ordainSanitizedJsStrChars=soydata.$$makeSanitizedContentFactory_(soydata.SanitizedJsStrChars),soydata.VERY_UNSAFE.ordainSanitizedUri=soydata.$$makeSanitizedContentFactoryWithDefaultDirOnly_(soydata.SanitizedUri),soydata.VERY_UNSAFE.ordainSanitizedHtmlAttribute=soydata.$$makeSanitizedContentFactoryWithDefaultDirOnly_(soydata.SanitizedHtmlAttribute),soydata.VERY_UNSAFE.ordainSanitizedCss=soydata.$$makeSanitizedContentFactoryWithDefaultDirOnly_(soydata.SanitizedCss),soy.renderElement=goog.soy.renderElement,soy.renderAsFragment=function(e,t,o,a){return goog.soy.renderAsFragment(e,t,a,new goog.dom.DomHelper(o))},soy.renderAsElement=function(e,t,o,a){return goog.soy.renderAsElement(e,t,a,new goog.dom.DomHelper(o))},soy.$$IS_LOCALE_RTL=goog.i18n.bidi.IS_RTL,soy.$$augmentMap=function(e,t){function o(){}o.prototype=e;var a=new o;for(var n in t)a[n]=t[n];return a},soy.$$checkMapKey=function(e){if("string"!=typeof e)throw Error("Map literal's key expression must evaluate to string (encountered type \""+typeof e+'").');return e},soy.$$getMapKeys=function(e){var t=[];for(var o in e)t.push(o);return t},soy.$$getDelTemplateId=function(e){return e},soy.$$DELEGATE_REGISTRY_PRIORITIES_={},soy.$$DELEGATE_REGISTRY_FUNCTIONS_={},soy.$$registerDelegateFn=function(e,t,o,a){var n="key_"+e+":"+t,i=soy.$$DELEGATE_REGISTRY_PRIORITIES_[n];if(void 0===i||o>i)soy.$$DELEGATE_REGISTRY_PRIORITIES_[n]=o,soy.$$DELEGATE_REGISTRY_FUNCTIONS_[n]=a;else if(o==i)throw Error('Encountered two active delegates with the same priority ("'+e+":"+t+'").')},soy.$$getDelegateFn=function(e,t,o){var a=soy.$$DELEGATE_REGISTRY_FUNCTIONS_["key_"+e+":"+t];if(a||""==t||(a=soy.$$DELEGATE_REGISTRY_FUNCTIONS_["key_"+e+":"]),a)return a;if(o)return soy.$$EMPTY_TEMPLATE_FN_;throw Error('Found no active impl for delegate call to "'+e+":"+t+'" (and not allowemptydefault="true").')},soy.$$EMPTY_TEMPLATE_FN_=function(e,t,o){return""},soydata.$$makeSanitizedContentFactoryForInternalBlocks_=function(e){function t(){}return t.prototype=e.prototype,function(e,o){if(!String(e))return soydata.$$EMPTY_STRING_.VALUE;var a=new t;return a.content=String(e),void 0!==o&&(a.contentDir=o),a}},soydata.$$makeSanitizedContentFactoryWithDefaultDirOnlyForInternalBlocks_=function(e){function t(){}return t.prototype=e.prototype,function(e){if(!String(e))return soydata.$$EMPTY_STRING_.VALUE;var o=new t;return o.content=String(e),o}},soydata.$$markUnsanitizedTextForInternalBlocks=function(e,t){var o=String(e);return o?new soydata.UnsanitizedText(o,t):soydata.$$EMPTY_STRING_.VALUE},soydata.VERY_UNSAFE.$$ordainSanitizedHtmlForInternalBlocks=soydata.$$makeSanitizedContentFactoryForInternalBlocks_(soydata.SanitizedHtml),soydata.VERY_UNSAFE.$$ordainSanitizedJsForInternalBlocks=soydata.$$makeSanitizedContentFactoryWithDefaultDirOnlyForInternalBlocks_(soydata.SanitizedJs),soydata.VERY_UNSAFE.$$ordainSanitizedUriForInternalBlocks=soydata.$$makeSanitizedContentFactoryWithDefaultDirOnlyForInternalBlocks_(soydata.SanitizedUri),soydata.VERY_UNSAFE.$$ordainSanitizedAttributesForInternalBlocks=soydata.$$makeSanitizedContentFactoryWithDefaultDirOnlyForInternalBlocks_(soydata.SanitizedHtmlAttribute),soydata.VERY_UNSAFE.$$ordainSanitizedCssForInternalBlocks=soydata.$$makeSanitizedContentFactoryWithDefaultDirOnlyForInternalBlocks_(soydata.SanitizedCss),soy.$$escapeHtml=function(e){return soydata.SanitizedHtml.from(e)},soy.$$cleanHtml=function(e){return soydata.isContentKind(e,soydata.SanitizedContentKind.HTML)?(goog.asserts.assert(e.constructor===soydata.SanitizedHtml),e):soydata.VERY_UNSAFE.ordainSanitizedHtml(soy.$$stripHtmlTags(e,soy.esc.$$SAFE_TAG_WHITELIST_),soydata.getContentDir(e))},soy.$$escapeHtmlRcdata=function(e){return soydata.isContentKind(e,soydata.SanitizedContentKind.HTML)?(goog.asserts.assert(e.constructor===soydata.SanitizedHtml),soy.esc.$$normalizeHtmlHelper(e.content)):soy.esc.$$escapeHtmlHelper(e)},soy.$$HTML5_VOID_ELEMENTS_=new RegExp("^<(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)\\b"),soy.$$stripHtmlTags=function(e,t){if(!t)return String(e).replace(soy.esc.$$HTML_TAG_REGEX_,"").replace(soy.esc.$$LT_REGEX_,"&lt;");var o=String(e).replace(/\[/g,"&#91;"),a=[];o=o.replace(soy.esc.$$HTML_TAG_REGEX_,function(e,o){if(o&&(o=o.toLowerCase(),t.hasOwnProperty(o)&&t[o])){var n="/"===e.charAt(1)?"</":"<",i=a.length;return a[i]=n+o+">","["+i+"]"}return""}),o=soy.esc.$$normalizeHtmlHelper(o);var n=soy.$$balanceTags_(a);return(o=o.replace(/\[(\d+)\]/g,function(e,t){return a[t]}))+n},soy.$$balanceTags_=function(e){for(var t=[],o=0,a=e.length;o<a;++o){var n=e[o];if("/"===n.charAt(1)){for(var i=t.length-1;i>=0&&t[i]!=n;)i--;i<0?e[o]="":(e[o]=t.slice(i).reverse().join(""),t.length=i)}else soy.$$HTML5_VOID_ELEMENTS_.test(n)||t.push("</"+n.substring(1))}return t.reverse().join("")},soy.$$escapeHtmlAttribute=function(e){return soydata.isContentKind(e,soydata.SanitizedContentKind.HTML)?(goog.asserts.assert(e.constructor===soydata.SanitizedHtml),soy.esc.$$normalizeHtmlHelper(soy.$$stripHtmlTags(e.content))):soy.esc.$$escapeHtmlHelper(e)},soy.$$escapeHtmlAttributeNospace=function(e){return soydata.isContentKind(e,soydata.SanitizedContentKind.HTML)?(goog.asserts.assert(e.constructor===soydata.SanitizedHtml),soy.esc.$$normalizeHtmlNospaceHelper(soy.$$stripHtmlTags(e.content))):soy.esc.$$escapeHtmlNospaceHelper(e)},soy.$$filterHtmlAttributes=function(e){return soydata.isContentKind(e,soydata.SanitizedContentKind.ATTRIBUTES)?(goog.asserts.assert(e.constructor===soydata.SanitizedHtmlAttribute),e.content.replace(/([^"'\s])$/,"$1 ")):soy.esc.$$filterHtmlAttributesHelper(e)},soy.$$filterHtmlElementName=function(e){return soy.esc.$$filterHtmlElementNameHelper(e)},soy.$$escapeJs=function(e){return soy.$$escapeJsString(e)},soy.$$escapeJsString=function(e){return soydata.isContentKind(e,soydata.SanitizedContentKind.JS_STR_CHARS)?(goog.asserts.assert(e.constructor===soydata.SanitizedJsStrChars),e.content):soy.esc.$$escapeJsStringHelper(e)},soy.$$escapeJsValue=function(e){if(null==e)return" null ";if(soydata.isContentKind(e,soydata.SanitizedContentKind.JS))return goog.asserts.assert(e.constructor===soydata.SanitizedJs),e.content;switch(typeof e){case"boolean":case"number":return" "+e+" ";default:return"'"+soy.esc.$$escapeJsStringHelper(String(e))+"'"}},soy.$$escapeJsRegex=function(e){return soy.esc.$$escapeJsRegexHelper(e)},soy.$$problematicUriMarks_=/['()]/g,soy.$$pctEncode_=function(e){return"%"+e.charCodeAt(0).toString(16)},soy.$$escapeUri=function(e){if(soydata.isContentKind(e,soydata.SanitizedContentKind.URI))return goog.asserts.assert(e.constructor===soydata.SanitizedUri),soy.$$normalizeUri(e);var t=soy.esc.$$escapeUriHelper(e);return soy.$$problematicUriMarks_.lastIndex=0,soy.$$problematicUriMarks_.test(t)?t.replace(soy.$$problematicUriMarks_,soy.$$pctEncode_):t},soy.$$normalizeUri=function(e){return soy.esc.$$normalizeUriHelper(e)},soy.$$filterNormalizeUri=function(e){return soydata.isContentKind(e,soydata.SanitizedContentKind.URI)?(goog.asserts.assert(e.constructor===soydata.SanitizedUri),soy.$$normalizeUri(e)):soy.esc.$$filterNormalizeUriHelper(e)},soy.$$filterImageDataUri=function(e){return soydata.VERY_UNSAFE.ordainSanitizedUri(soy.esc.$$filterImageDataUriHelper(e))},soy.$$escapeCssString=function(e){return soy.esc.$$escapeCssStringHelper(e)},soy.$$filterCssValue=function(e){return soydata.isContentKind(e,soydata.SanitizedContentKind.CSS)?(goog.asserts.assert(e.constructor===soydata.SanitizedCss),e.content):null==e?"":soy.esc.$$filterCssValueHelper(e)},soy.$$filterNoAutoescape=function(e){return soydata.isContentKind(e,soydata.SanitizedContentKind.TEXT)?(goog.asserts.fail("Tainted SanitizedContentKind.TEXT for |noAutoescape: `%s`",[e.content]),"zSoyz"):e},soy.$$changeNewlineToBr=function(e){var t=goog.string.newLineToBr(String(e),!1);return soydata.isContentKind(e,soydata.SanitizedContentKind.HTML)?soydata.VERY_UNSAFE.ordainSanitizedHtml(t,soydata.getContentDir(e)):t},soy.$$insertWordBreaks=function(e,t){var o=goog.format.insertWordBreaks(String(e),t);return soydata.isContentKind(e,soydata.SanitizedContentKind.HTML)?soydata.VERY_UNSAFE.ordainSanitizedHtml(o,soydata.getContentDir(e)):o},soy.$$truncate=function(e,t,o){return(e=String(e)).length<=t?e:(o&&(t>3?t-=3:o=!1),soy.$$isHighSurrogate_(e.charAt(t-1))&&soy.$$isLowSurrogate_(e.charAt(t))&&(t-=1),e=e.substring(0,t),o&&(e+="..."),e)},soy.$$isHighSurrogate_=function(e){return 55296<=e&&e<=56319},soy.$$isLowSurrogate_=function(e){return 56320<=e&&e<=57343},soy.$$bidiFormatterCache_={},soy.$$getBidiFormatterInstance_=function(e){return soy.$$bidiFormatterCache_[e]||(soy.$$bidiFormatterCache_[e]=new goog.i18n.BidiFormatter(e))},soy.$$bidiTextDir=function(e,t){var o=soydata.getContentDir(e);if(null!=o)return o;var a=t||soydata.isContentKind(e,soydata.SanitizedContentKind.HTML);return goog.i18n.bidi.estimateDirection(e+"",a)},soy.$$bidiDirAttr=function(e,t,o){var a=soy.$$getBidiFormatterInstance_(e),n=soydata.getContentDir(t);if(null==n){var i=o||soydata.isContentKind(t,soydata.SanitizedContentKind.HTML);n=goog.i18n.bidi.estimateDirection(t+"",i)}return soydata.VERY_UNSAFE.ordainSanitizedHtmlAttribute(a.knownDirAttr(n))},soy.$$bidiMarkAfter=function(e,t,o){var a=soy.$$getBidiFormatterInstance_(e),n=o||soydata.isContentKind(t,soydata.SanitizedContentKind.HTML);return a.markAfterKnownDir(soydata.getContentDir(t),t+"",n)},soy.$$bidiSpanWrap=function(e,t){return soy.$$getBidiFormatterInstance_(e).spanWrapWithKnownDir(soydata.getContentDir(t),t+"",!0)},soy.$$bidiUnicodeWrap=function(e,t){var o=soy.$$getBidiFormatterInstance_(e),a=soydata.isContentKind(t,soydata.SanitizedContentKind.HTML),n=o.unicodeWrapWithKnownDir(soydata.getContentDir(t),t+"",a),i=o.getContextDir();return soydata.isContentKind(t,soydata.SanitizedContentKind.TEXT)?new soydata.UnsanitizedText(n,i):a?soydata.VERY_UNSAFE.ordainSanitizedHtml(n,i):soydata.isContentKind(t,soydata.SanitizedContentKind.JS_STR_CHARS)?soydata.VERY_UNSAFE.ordainSanitizedJsStrChars(n,i):n},soy.esc.$$escapeUriHelper=function(e){return encodeURIComponent(String(e))},soy.esc.$$ESCAPE_MAP_FOR_ESCAPE_HTML__AND__NORMALIZE_HTML__AND__ESCAPE_HTML_NOSPACE__AND__NORMALIZE_HTML_NOSPACE_={"\0":"&#0;",'"':"&quot;","&":"&amp;","'":"&#39;","<":"&lt;",">":"&gt;","\t":"&#9;","\n":"&#10;","\v":"&#11;","\f":"&#12;","\r":"&#13;"," ":"&#32;","-":"&#45;","/":"&#47;","=":"&#61;","`":"&#96;","…":"&#133;"," ":"&#160;","\u2028":"&#8232;","\u2029":"&#8233;"},soy.esc.$$REPLACER_FOR_ESCAPE_HTML__AND__NORMALIZE_HTML__AND__ESCAPE_HTML_NOSPACE__AND__NORMALIZE_HTML_NOSPACE_=function(e){return soy.esc.$$ESCAPE_MAP_FOR_ESCAPE_HTML__AND__NORMALIZE_HTML__AND__ESCAPE_HTML_NOSPACE__AND__NORMALIZE_HTML_NOSPACE_[e]},soy.esc.$$ESCAPE_MAP_FOR_ESCAPE_JS_STRING__AND__ESCAPE_JS_REGEX_={"\0":"\\x00","\b":"\\x08","\t":"\\t","\n":"\\n","\v":"\\x0b","\f":"\\f","\r":"\\r",'"':"\\x22","&":"\\x26","'":"\\x27","/":"\\/","<":"\\x3c","=":"\\x3d",">":"\\x3e","\\":"\\\\","…":"\\x85","\u2028":"\\u2028","\u2029":"\\u2029",$:"\\x24","(":"\\x28",")":"\\x29","*":"\\x2a","+":"\\x2b",",":"\\x2c","-":"\\x2d",".":"\\x2e",":":"\\x3a","?":"\\x3f","[":"\\x5b","]":"\\x5d","^":"\\x5e","{":"\\x7b","|":"\\x7c","}":"\\x7d"},soy.esc.$$REPLACER_FOR_ESCAPE_JS_STRING__AND__ESCAPE_JS_REGEX_=function(e){return soy.esc.$$ESCAPE_MAP_FOR_ESCAPE_JS_STRING__AND__ESCAPE_JS_REGEX_[e]},soy.esc.$$ESCAPE_MAP_FOR_ESCAPE_CSS_STRING_={"\0":"\\0 ","\b":"\\8 ","\t":"\\9 ","\n":"\\a ","\v":"\\b ","\f":"\\c ","\r":"\\d ",'"':"\\22 ","&":"\\26 ","'":"\\27 ","(":"\\28 ",")":"\\29 ","*":"\\2a ","/":"\\2f ",":":"\\3a ",";":"\\3b ","<":"\\3c ","=":"\\3d ",">":"\\3e ","@":"\\40 ","\\":"\\5c ","{":"\\7b ","}":"\\7d ","…":"\\85 "," ":"\\a0 ","\u2028":"\\2028 ","\u2029":"\\2029 "},soy.esc.$$REPLACER_FOR_ESCAPE_CSS_STRING_=function(e){return soy.esc.$$ESCAPE_MAP_FOR_ESCAPE_CSS_STRING_[e]},soy.esc.$$ESCAPE_MAP_FOR_NORMALIZE_URI__AND__FILTER_NORMALIZE_URI_={"\0":"%00","":"%01","":"%02","":"%03","":"%04","":"%05","":"%06","":"%07","\b":"%08","\t":"%09","\n":"%0A","\v":"%0B","\f":"%0C","\r":"%0D","":"%0E","":"%0F","":"%10","":"%11","":"%12","":"%13","":"%14","":"%15","":"%16","":"%17","":"%18","":"%19","":"%1A","":"%1B","":"%1C","":"%1D","":"%1E","":"%1F"," ":"%20",'"':"%22","'":"%27","(":"%28",")":"%29","<":"%3C",">":"%3E","\\":"%5C","{":"%7B","}":"%7D","":"%7F","…":"%C2%85"," ":"%C2%A0","\u2028":"%E2%80%A8","\u2029":"%E2%80%A9","!":"%EF%BC%81","#":"%EF%BC%83","$":"%EF%BC%84","&":"%EF%BC%86","'":"%EF%BC%87","(":"%EF%BC%88",")":"%EF%BC%89","*":"%EF%BC%8A","+":"%EF%BC%8B",",":"%EF%BC%8C","/":"%EF%BC%8F",":":"%EF%BC%9A",";":"%EF%BC%9B","=":"%EF%BC%9D","?":"%EF%BC%9F","@":"%EF%BC%A0","[":"%EF%BC%BB","]":"%EF%BC%BD"},soy.esc.$$REPLACER_FOR_NORMALIZE_URI__AND__FILTER_NORMALIZE_URI_=function(e){return soy.esc.$$ESCAPE_MAP_FOR_NORMALIZE_URI__AND__FILTER_NORMALIZE_URI_[e]},soy.esc.$$MATCHER_FOR_ESCAPE_HTML_=/[\x00\x22\x26\x27\x3c\x3e]/g,soy.esc.$$MATCHER_FOR_NORMALIZE_HTML_=/[\x00\x22\x27\x3c\x3e]/g,soy.esc.$$MATCHER_FOR_ESCAPE_HTML_NOSPACE_=/[\x00\x09-\x0d \x22\x26\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,soy.esc.$$MATCHER_FOR_NORMALIZE_HTML_NOSPACE_=/[\x00\x09-\x0d \x22\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,soy.esc.$$MATCHER_FOR_ESCAPE_JS_STRING_=/[\x00\x08-\x0d\x22\x26\x27\/\x3c-\x3e\\\x85\u2028\u2029]/g,soy.esc.$$MATCHER_FOR_ESCAPE_JS_REGEX_=/[\x00\x08-\x0d\x22\x24\x26-\/\x3a\x3c-\x3f\x5b-\x5e\x7b-\x7d\x85\u2028\u2029]/g,soy.esc.$$MATCHER_FOR_ESCAPE_CSS_STRING_=/[\x00\x08-\x0d\x22\x26-\x2a\/\x3a-\x3e@\\\x7b\x7d\x85\xa0\u2028\u2029]/g,soy.esc.$$MATCHER_FOR_NORMALIZE_URI__AND__FILTER_NORMALIZE_URI_=/[\x00- \x22\x27-\x29\x3c\x3e\\\x7b\x7d\x7f\x85\xa0\u2028\u2029\uff01\uff03\uff04\uff06-\uff0c\uff0f\uff1a\uff1b\uff1d\uff1f\uff20\uff3b\uff3d]/g,soy.esc.$$FILTER_FOR_FILTER_CSS_VALUE_=/^(?!-*(?:expression|(?:moz-)?binding))(?:[.#]?-?(?:[_a-z0-9-]+)(?:-[_a-z0-9-]+)*-?|-?(?:[0-9]+(?:\.[0-9]*)?|\.[0-9]+)(?:[a-z]{1,2}|%)?|!important|)$/i,soy.esc.$$FILTER_FOR_FILTER_NORMALIZE_URI_=/^(?:(?:https?|mailto):|[^&:\/?#]*(?:[\/?#]|$))/i,soy.esc.$$FILTER_FOR_FILTER_IMAGE_DATA_URI_=/^data:image\/(?:bmp|gif|jpe?g|png|tiff|webp);base64,[a-z0-9+\/]+=*$/i,soy.esc.$$FILTER_FOR_FILTER_HTML_ATTRIBUTES_=/^(?!style|on|action|archive|background|cite|classid|codebase|data|dsync|href|longdesc|src|usemap)(?:[a-z0-9_$:-]*)$/i,soy.esc.$$FILTER_FOR_FILTER_HTML_ELEMENT_NAME_=/^(?!script|style|title|textarea|xmp|no)[a-z0-9_$:-]*$/i,soy.esc.$$escapeHtmlHelper=function(e){return String(e).replace(soy.esc.$$MATCHER_FOR_ESCAPE_HTML_,soy.esc.$$REPLACER_FOR_ESCAPE_HTML__AND__NORMALIZE_HTML__AND__ESCAPE_HTML_NOSPACE__AND__NORMALIZE_HTML_NOSPACE_)},soy.esc.$$normalizeHtmlHelper=function(e){return String(e).replace(soy.esc.$$MATCHER_FOR_NORMALIZE_HTML_,soy.esc.$$REPLACER_FOR_ESCAPE_HTML__AND__NORMALIZE_HTML__AND__ESCAPE_HTML_NOSPACE__AND__NORMALIZE_HTML_NOSPACE_)},soy.esc.$$escapeHtmlNospaceHelper=function(e){return String(e).replace(soy.esc.$$MATCHER_FOR_ESCAPE_HTML_NOSPACE_,soy.esc.$$REPLACER_FOR_ESCAPE_HTML__AND__NORMALIZE_HTML__AND__ESCAPE_HTML_NOSPACE__AND__NORMALIZE_HTML_NOSPACE_)},soy.esc.$$normalizeHtmlNospaceHelper=function(e){return String(e).replace(soy.esc.$$MATCHER_FOR_NORMALIZE_HTML_NOSPACE_,soy.esc.$$REPLACER_FOR_ESCAPE_HTML__AND__NORMALIZE_HTML__AND__ESCAPE_HTML_NOSPACE__AND__NORMALIZE_HTML_NOSPACE_)},soy.esc.$$escapeJsStringHelper=function(e){return String(e).replace(soy.esc.$$MATCHER_FOR_ESCAPE_JS_STRING_,soy.esc.$$REPLACER_FOR_ESCAPE_JS_STRING__AND__ESCAPE_JS_REGEX_)},soy.esc.$$escapeJsRegexHelper=function(e){return String(e).replace(soy.esc.$$MATCHER_FOR_ESCAPE_JS_REGEX_,soy.esc.$$REPLACER_FOR_ESCAPE_JS_STRING__AND__ESCAPE_JS_REGEX_)},soy.esc.$$escapeCssStringHelper=function(e){return String(e).replace(soy.esc.$$MATCHER_FOR_ESCAPE_CSS_STRING_,soy.esc.$$REPLACER_FOR_ESCAPE_CSS_STRING_)},soy.esc.$$filterCssValueHelper=function(e){var t=String(e);return soy.esc.$$FILTER_FOR_FILTER_CSS_VALUE_.test(t)?t:"zSoyz"},soy.esc.$$normalizeUriHelper=function(e){return String(e).replace(soy.esc.$$MATCHER_FOR_NORMALIZE_URI__AND__FILTER_NORMALIZE_URI_,soy.esc.$$REPLACER_FOR_NORMALIZE_URI__AND__FILTER_NORMALIZE_URI_)},soy.esc.$$filterNormalizeUriHelper=function(e){var t=String(e);return soy.esc.$$FILTER_FOR_FILTER_NORMALIZE_URI_.test(t)?t.replace(soy.esc.$$MATCHER_FOR_NORMALIZE_URI__AND__FILTER_NORMALIZE_URI_,soy.esc.$$REPLACER_FOR_NORMALIZE_URI__AND__FILTER_NORMALIZE_URI_):"#zSoyz"},soy.esc.$$filterImageDataUriHelper=function(e){var t=String(e);return soy.esc.$$FILTER_FOR_FILTER_IMAGE_DATA_URI_.test(t)?t:"data:image/gif;base64,zSoyz"},soy.esc.$$filterHtmlAttributesHelper=function(e){var t=String(e);return soy.esc.$$FILTER_FOR_FILTER_HTML_ATTRIBUTES_.test(t)?t:"zSoyz"},soy.esc.$$filterHtmlElementNameHelper=function(e){var t=String(e);return soy.esc.$$FILTER_FOR_FILTER_HTML_ELEMENT_NAME_.test(t)?t:"zSoyz"},soy.esc.$$HTML_TAG_REGEX_=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,soy.esc.$$LT_REGEX_=/</g,soy.esc.$$SAFE_TAG_WHITELIST_={b:1,br:1,em:1,i:1,s:1,sub:1,sup:1,u:1},window.soy=soy,window.soydata=soydata}(),module.exports}.call(this),("undefined"==typeof window?global:window).__8b5bb72893e441262f45040d92adbdbd=function(){var e={};return function(){if(void 0===(e=window.aui=window.aui||{}))var e={};e.renderExtraAttributes=function(e,t){var o="";if((e=e||{}).extraAttributes)if("[object Object]"===Object.prototype.toString.call(e.extraAttributes))for(var a=soy.$$getMapKeys(e.extraAttributes),n=a.length,i=0;i<n;i++){var r=a[i];o+=" "+soy.$$escapeHtml(r)+'="'+soy.$$escapeHtml(e.extraAttributes[r])+'"'}else o+=" "+soy.$$filterNoAutoescape(e.extraAttributes);return o},goog.DEBUG&&(e.renderExtraAttributes.soyTemplateName="aui.renderExtraAttributes"),e.renderExtraClasses=function(e,t){var o="";if((e=e||{}).extraClasses)if(e.extraClasses instanceof Array)for(var a=e.extraClasses,n=a.length,i=0;i<n;i++){var r=a[i];o+=" "+soy.$$escapeHtml(r)}else o+=" "+soy.$$escapeHtml(e.extraClasses);return o},goog.DEBUG&&(e.renderExtraClasses.soyTemplateName="aui.renderExtraClasses")}(),e}.call(this),("undefined"==typeof window?global:window).__cb0b3333a858b365bce98760e0b00943=function(){var e={};return function(){if(void 0===(e=window.aui=window.aui||{}))var e={};void 0===e.avatar&&(e.avatar={}),e.avatar.avatar=function(t,o){return"<"+soy.$$escapeHtml(t.tagName?t.tagName:"span")+(t.id?' id="'+soy.$$escapeHtml(t.id)+'"':"")+' class="aui-avatar aui-avatar-'+soy.$$escapeHtml(t.size)+soy.$$escapeHtml(t.isProject?" aui-avatar-project":"")+soy.$$escapeHtml(t.badgeContent?" aui-avatar-badged":"")+e.renderExtraClasses(t)+'"'+e.renderExtraAttributes(t)+'><span class="aui-avatar-inner"><img src="'+soy.$$escapeHtml(t.avatarImageUrl)+'"'+(t.accessibilityText?' alt="'+soy.$$escapeHtml(t.accessibilityText)+'"':"")+(t.title?' title="'+soy.$$escapeHtml(t.title)+'"':"")+(t.imageClasses?' class="'+soy.$$escapeHtml(t.imageClasses)+'"':"")+" /></span>"+(t.badgeContent?soy.$$filterNoAutoescape(t.badgeContent):"")+"</"+soy.$$escapeHtml(t.tagName?t.tagName:"span")+">"},goog.DEBUG&&(e.avatar.avatar.soyTemplateName="aui.avatar.avatar")}(),e}.call(this),("undefined"==typeof window?global:window).__9aa416887d30edb9611b79eac10612f9=function(){var e={};return function(){if(void 0===(e=window.aui=window.aui||{}))var e={};void 0===e.badges&&(e.badges={}),e.badges.badge=function(t,o){return"<aui-badge"+(t.id?' id="'+soy.$$escapeHtml(t.id)+'"':"")+' class="'+e.renderExtraClasses(t)+'"'+e.renderExtraAttributes(t)+">"+soy.$$escapeHtml(t.text)+"</aui-badge>"},goog.DEBUG&&(e.badges.badge.soyTemplateName="aui.badges.badge")}(),e}.call(this),("undefined"==typeof window?global:window).__4c2da5ea4401ec0f5fbb06aecd621595=function(){var e={};return function(){if(void 0===(e=window.aui=window.aui||{}))var e={};void 0===e.buttons&&(e.buttons={}),e.buttons.button=function(t,o){var a="";if(t.href||""==t.href)a+='<a href="'+soy.$$escapeHtml(t.href)+'"'+e.buttons.buttonAttributes(soy.$$augmentMap(t,{tagName:"a"}))+">"+e.buttons.buttonIcon(t)+(t.hasLabel?'<span class="aui-button-label">':"")+soy.$$escapeHtml(t.text)+(t.hasLabel?"</span>":"")+"</a>";else if("input"==t.tagName)a+='<input type="'+soy.$$escapeHtml(t.inputType?t.inputType:"button")+'" '+e.buttons.buttonAttributes(t)+' value="'+soy.$$escapeHtml(t.text)+'" />';else{var n=t.tagName?t.tagName:"button";a+="<"+soy.$$escapeHtml(n)+e.buttons.buttonAttributes(soy.$$augmentMap(t,{tagName:n}))+">"+e.buttons.buttonIcon(t)+(t.hasLabel?'<span class="aui-button-label">':"")+soy.$$escapeHtml(t.text)+(t.hasLabel?"</span>":"")+"</"+soy.$$escapeHtml(n)+">"}return a},goog.DEBUG&&(e.buttons.button.soyTemplateName="aui.buttons.button"),e.buttons.buttons=function(t,o){return"<div"+(t.id?' id="'+soy.$$escapeHtml(t.id)+'"':"")+' class="aui-buttons'+e.renderExtraClasses(t)+'"'+e.renderExtraAttributes(t)+">"+soy.$$filterNoAutoescape(t.content)+"</div>"},goog.DEBUG&&(e.buttons.buttons.soyTemplateName="aui.buttons.buttons"),e.buttons.buttonAttributes=function(t,o){var a=((t=t||{}).id?' id="'+soy.$$escapeHtml(t.id)+'"':"")+' class="aui-button'+("main"==t.splitButtonType?" aui-button-split-main":"")+(t.dropdown2Target?" aui-dropdown2-trigger"+("more"==t.splitButtonType?" aui-button-split-more":""):"");switch(t.type){case"primary":a+=" aui-button-primary";break;case"link":a+=" aui-button-link";break;case"subtle":a+=" aui-button-subtle";break;case"text":a+=" aui-button-text"}return a+=e.renderExtraClasses(t)+'"'+e.renderExtraAttributes(t)+(t.isPressed?' aria-pressed="'+soy.$$escapeHtml(t.isPressed)+'"':"")+(t.isDisabled?' aria-disabled="'+soy.$$escapeHtml(t.isDisabled)+'"'+(1==t.isDisabled&&("button"==t.tagName||"input"==t.tagName)?' disabled="disabled" ':""):"")+(t.dropdown2Target?' aria-owns="'+soy.$$escapeHtml(t.dropdown2Target)+'" aria-haspopup="true"':"")+("a"==t.tagName?' tabindex="0"':"")},goog.DEBUG&&(e.buttons.buttonAttributes.soyTemplateName="aui.buttons.buttonAttributes"),e.buttons.buttonIcon=function(e,t){return(e=e||{}).iconType?'<span class="'+("aui"==e.iconType?"aui-icon":""