"undefined"===typeof Aura&&(Aura={});Aura.bootstrap||(Aura.bootstrap={});Aura.frameworkJsReady||(Aura.ApplicationDefs={cmpExporter:{},libExporter:{}},$A={componentService:{addComponent:function(a,b){Aura.ApplicationDefs.cmpExporter[a]=b},addLibraryExporter:function(a,b){Aura.ApplicationDefs.libExporter[a]=b},initEventDefs:function(a){Aura.ApplicationDefs.eventDefs=a},initLibraryDefs:function(a){Aura.ApplicationDefs.libraryDefs=a},initControllerDefs:function(a){Aura.ApplicationDefs.controllerDefs=a},initModuleDefs:function(a){Aura.ApplicationDefs.moduleDefs=a}}});
$A.componentService.addLibraryExporter("js://one.centerStageLibrary.Context",function(){/*$A.componentService.addLibraryInclude("js://one.centerStageLibrary.Context",[],function(){return{isSalesforceNativeDesktop:function(a){return a.get("m.isSalesforceNativeDesktop")},isNativeContainer:function(){return"sfNativeBridge"in window},isMasterDetailPanelSupported:function(a){return a.get("m.isMasterDetailEnabled")}}});*/});
$A.componentService.addLibraryExporter("js://one.centerStageLibrary.DefType",function(){/*$A.componentService.addLibraryInclude("js://one.centerStageLibrary.DefType",[],function(){return{getDefType:function(a){return!a?null:0===a.indexOf("e.")?"event":0===a.indexOf("/")?"route":"component"},isEventDef:function(a){return"event"===this.getDefType(a)},isRouteDef:function(a){return"route"===this.getDefType(a)}}});*/});
$A.componentService.addLibraryExporter("js://one.centerStageLibrary.URL",function(){/*$A.componentService.addLibraryInclude("js://one.centerStageLibrary.URL",[],function(){return{getSiteUrlPrefix:function(a){return a.get("m.siteUrlPrefix")},_getPathNameWithoutPrefix:function(a){var b=window.location.pathname;return $A.util.isUndefinedOrNull(b)?"":$A.util.isUndefinedOrNull(a)?b:0===b.indexOf(a)?b.substring(a.length):b},_getUrlWithSitePrefix:function(a,b){return $A.util.isUndefinedOrNull(a)||$A.util.isUndefinedOrNull(b)||0!==a.indexOf("/")||0===a.indexOf(b)?a:b+a},getFullSiteURLWithQuery:function(a){a=
a.get("m.fullSiteURLAction").executionComponent.attributes.url;return-1!=a.indexOf("?")?a:null},getFullSiteURL:function(a){a=a.get("m.fullSiteURLAction").executionComponent.attributes.url;var b=a.indexOf("?");return a.slice(0,b)}}});*/});
$A.componentService.addLibraryExporter("js://one.centerStageLibrary.RouteToComponentMapping",function(){/*$A.componentService.addLibraryInclude("js://one.centerStageLibrary.RouteToComponentMapping",[],function(){function g(a){return $A.util.isUndefinedOrNull(a)?[]:a.split("?")}function h(a,c){return a.replace(/{([^{}]{0,})}/g,function(a,e){var b=c[e];return"string"===typeof b||"number"===typeof b?b:a})}var f=function(a,c,d){this.routeDef=a;this.componentDef=c;this.componentAttributes=!$A.util.isEmpty(d)?d:{};this.routeParamsSortedList=this.getParameterNamesFromRouteDefinition(a);this.routeRegExp=this.getRegexpFromRouteDefinition(a);
this.optionalAttributes=this.getOptionalParameterMapFromRouteDefinition(a)},k=/\{([a-zA-Z][a-zA-Z0-9-]{0,})\}|\([^\(\)]+\)/g;f.prototype.getParameterNamesFromRouteDefinition=function(a){a=g(a);for(var c,d=[];$A.util.isArray(c=k.exec(a[0]));)$A.util.isString(c[1])?d.push(c[1]):d.push(""+d.length);return d};f.prototype.getRegexpFromRouteDefinition=function(a){-1<a.indexOf("?")&&(a=g(a)[0]);"/"===a[a.length-1]&&(a=a.substr(0,a.length-1));a=a.replace(/\{[a-zA-Z][a-zA-Z0-9-]{0,}\}/g,"([._a-zA-Z0-9-]+)");
return RegExp("^"+a+"(?:/?$)")};f.prototype.getOptionalParameterMapFromRouteDefinition=function(a){a=g(a);if(2>a.length)return{};var c={},d;a[1].split("\x26").forEach(function(a){d=a.split("\x3d");a=d[0];var b;b=d[1];b=$A.util.isUndefinedOrNull(b)?"":b.replace(/\{|\}/g,"");c[a]=b});return c};f.prototype.match=function(a){a=a.split("?")[0];return this.routeRegExp.test(a)};f.prototype.parseRoute=function(a){a=a.split("?");var c=a[1]||"";a=a[0];if(this.match(a)){a=this.routeRegExp.exec(a);var d;if(c.length){d=
{};for(var c=c.split("\x26"),e,b,f=0;f<c.length;f++)b=c[f],e=b.indexOf("\x3d"),-1===e?d[b]=void 0:d[b.substring(0,e)]=decodeURIComponent(b.substring(e+1))}else d={};e={};c=this.optionalAttributes;for(b=1;b<a.length;b++)e[this.routeParamsSortedList[b-1]]=a[b];a=JSON.parse(h(this.componentAttributes,e));for(var g in c)e=c[g],b=g,c.hasOwnProperty(b)&&(d.hasOwnProperty(e)&&!$A.util.isEmpty(d[e]))&&(a[b]=d[e]);return{componentDef:this.componentDef,attributes:a,t:d.t||0}}};return{RouteToComponentMapping:f}});*/});
$A.componentService.addLibraryExporter("js://one.centerStageLibrary.Router",function(){/*$A.componentService.addLibraryInclude("js://one.centerStageLibrary.Router",["js://one.centerStageLibrary.RouteToComponentMapping"],function(h){function b(a,c,k,b,e){var g=$A.util.isObject(a),d=g?a:{};g||(d.path=a,d.routeDef=c,d.componentDef=k,d.componentAttributes=b,d.childRoutes=e);this.config=d;this.path=d.path;this.childRoutes=[]}var l=h.RouteToComponentMapping;b.prototype.initRoutes=function(){if(this.isInitialized)return this;var a=this.config,c=a.childRoutes||[];if(this.hasCmpMapping=!($A.util.isEmpty(a.routeDef)||
$A.util.isEmpty(a.componentDef)||$A.util.isUndefinedOrNull(a.componentAttributes)))this.routeToComponentMapping=new l(a.routeDef,a.componentDef,a.componentAttributes);$A.util.forEach(c,function(a){this.childRoutes.push(new b(a))},this);this.isInitialized=!0;return this};b.prototype.appendRoute=function(a){this.childRoutes.push(a);return this};b.prototype.prependRoute=function(a){this.childRoutes.unshift(a);return this};b.prototype.match=function(a){this.isInitialized||this.initRoutes();if(this.hasCmpMapping&&
this.routeToComponentMapping.match(a))return[this];if(!a||!(0<a.length&&0===a.indexOf(this.path)))return!1;if(a.length===this.path.length)return[this];a=this.isPassthrough?a:a.substring(this.path.length);0===a.indexOf("/")&&(a=a.substring(1));a=this.matchChildren(a);$A.util.isArray(a)&&a.unshift(this);return a};b.prototype.matchChildren=function(a){this.isInitialized||this.initRoutes();for(var c,b=0;b<this.childRoutes.length;b++)if((c=this.childRoutes[b].match(a))&&0<c.length)return c;return[]};b.prototype.parseRoute=
function(a){this.isInitialized||this.initRoutes();for(var c=this.match(a),b=c.length,f=0;f<b-1;f++){var e=c[f];a=e.isPassthrough?a:a.substring(e.path.length);0===a.indexOf("/")&&(a=a.substring(1))}c=c[b-1];return 0<b&&c.routeToComponentMapping?c.routeToComponentMapping.parseRoute(a):null};b.prototype.toString=function(){var a="[Router: path: "+this.path+" :: ";this.hasCmpMapping&&(a+="componentDef: "+this.routeToComponentMapping.componentDef+"]");0<this.childRoutes.length&&(a+="childRoute paths: "+
this.childRoutes.reduce(function(a,b){return a+", "+b.path},""));return a};return{Router:b}});*/});
$A.componentService.addLibraryExporter("js://one.centerStageLibrary.SObjectActionRouter",function(){/*$A.componentService.addLibraryInclude("js://one.centerStageLibrary.SObjectActionRouter",["js://one.centerStageLibrary.Router"],function(m){function f(a,b){if($A.util.isEmpty(a))return 0;var c=a[b];if($A.util.isEmpty(c)||"ALL"===c)return 0;c=n[b];return $A.util.isNumber(c)?c:0}function d(a,b,c){var d=b.routeDef,k=b.routeDef;c&&!$A.util.isEmpty(b.routeDefNoOverride)&&(k=d=b.routeDefNoOverride);this.actionType=a;this.config=b;this.componentType="auraComponent";var g,h;a=$A.util.lookup(b,"routeMappings",
"standard","CUSTOMAPP")||$A.util.lookup(b,"routeMappings","standard","ALL")||$A.util.lookup(b,"routeMappings","default","CUSTOMAPP")||$A.util.lookup(b,"routeMappings","default","ALL");var e=$A.util.lookup(b,"override","CUSTOMAPP")||$A.util.lookup(b,"override","ALL");c=!c&&f(e,"entityName")+f(e,"customApplicationId")>=f(a,"sObjectName")+f(a,"customApplication");e&&c?(this.isOverride=!0,this.componentType=(g=!$A.util.isEmpty(e.formFactor)&&!$A.util.isEmpty(e.pageName))?"flexipage":"visualforce",h=g?
e.pageName:void 0,c=b.componentMappings[this.componentType].componentDef,a=b.componentMappings[this.componentType].componentAttributes):$A.util.isEmpty($A.util.lookup(a,"flexipage"))?$A.util.isEmpty($A.util.lookup(a,"auraComponent"))?$A.util.isEmpty($A.util.lookup(b,"componentMappings","default"))?(this.componentType="auraComponent",c="one:unsupported",a="{}"):(this.componentType="auraComponent",c=b.componentMappings.default.componentDef,a=b.componentMappings["default"].componentAttributes):(this.componentType=
"auraComponent",c=a.auraComponent,a=b.componentMappings["default"].componentAttributes):(this.componentType="flexipage",g=!0,h=a.flexipage,c=b.componentMappings.flexipage.componentDef,a=b.componentMappings.flexipage.componentAttributes);g&&(a=a.replace("%s",h));"visualforce"===this.componentType&&("HOME"===this.actionType&&(a=a.replace("%s",b.keyPrefix)),a=a.replace("{sitePrefix}",b.siteUrlPrefix||""));l.call(this,d,k,c,a)}var l=m.Router,n={sObjectName:1E7,customApplication:100,entityName:1E7,customApplicationId:100};
d.prototype=Object.create(l.prototype);d.prototype.toString=function(){var a="[SObjectActionRouter: sObject: "+this.sObjectName+"/"+this.keyPrefix+" :: ",a=a+("path: "+this.path+" :: ");this.hasCmpMapping&&(a+="componentDef: "+this.routeToComponentMapping.componentDef+"]");0<this.childRoutes.length&&(a+="childRoute paths: "+this.childRoutes.reduce(function(a,c){return a+", "+c.path},""));return a};return{SObjectActionRouter:d}});*/});
$A.componentService.addLibraryExporter("js://one.centerStageLibrary.SObjectRouter",function(){/*$A.componentService.addLibraryInclude("js://one.centerStageLibrary.SObjectRouter",["js://one.centerStageLibrary.Router","js://one.centerStageLibrary.SObjectActionRouter"],function(g,h){function b(a){this.sObjectName=a.sObjectName;this.keyPrefix=a.keyPrefix;$A.util.isUndefinedOrNull(a.supportedActions)&&(a.supportedActions=Object.keys(d));$A.util.isUndefinedOrNull(a.actionConfig)&&(a.actionConfig=d);$A.util.isUndefinedOrNull(a.path)&&(a.path=this.sObjectName+"/");this.isPassthrough=!0;e.call(this,
a)}var e=g.Router,f=h.SObjectActionRouter,d={HOME:{actionName:"Tab",routeEnumType:"OBJECT_HOME",routeDef:"{keyPrefixOrApiName}/home",routeMappings:{"default":{},standard:{}},override:{},componentMappings:{"default":{componentDef:"force:objectHome",componentAttributes:'{ "scope": "{keyPrefixOrApiName}" }'},visualforce:{componentDef:"one:alohaPage",componentAttributes:'{ "address": "{sitePrefix}/%s/o" }'},flexipage:{componentDef:"one:objectHomeFlexipage",componentAttributes:'{ "flexiPageDeveloperName": "%s" }'}}},
VIEW:{actionName:"View",routeEnumType:"RECORD_HOME",routeDef:"{id}/view?slideDevName\x3d{slideDevName}\x26ignoreExistingAction\x3d{ignoreExistingAction}",routeDefNoOverride:"{id}/nooverride/view?slideDevName\x3d{slideDevName}\x26ignoreExistingAction\x3d{ignoreExistingAction}",routeMappings:{"default":{},standard:{}},override:{},componentMappings:{"default":{componentDef:"force:recordDetail",componentAttributes:'{"recordId": "{id}" }'},visualforce:{componentDef:"one:alohaPage",componentAttributes:'{ "address": "{sitePrefix}/{id}", "isRecordDetail" : true }'},
flexipage:{componentDef:"one:recordHomeFlexipage",componentAttributes:'{"flexiPageDeveloperName": "%s", "recordId": "{id}" }'}}},NEW:{actionName:"New",routeEnumType:"NEW",routeDef:"{keyPrefixOrApiName}/new?recordTypeId\x3d{recordTypeId}\x26removeAnimations\x3d{removeAnimations}",routeDefNoOverride:"{keyPrefixOrApiName}/nooverride/new?recordTypeId\x3d{recordTypeId}\x26removeAnimations\x3d{removeAnimations}",routeMappings:{"default":{},standard:{}},override:{},componentMappings:{"default":{componentDef:"e.force:createRecord",
componentAttributes:'{ "entityApiName": "{keyPrefixOrApiName}" }'},visualforce:{componentDef:"one:alohaPage",componentAttributes:'{ "address": "{sitePrefix}/{keyPrefixOrApiName}/e" }'}}},EDIT:{actionName:"Edit",routeEnumType:"EDIT",routeDef:"{id}/edit",routeDefNoOverride:"{id}/nooverride/edit",routeMappings:{"default":{},standard:{}},override:{},componentMappings:{"default":{componentDef:"e.force:editRecord",componentAttributes:'{ "recordId": "{id}" }'},visualforce:{componentDef:"one:alohaPage",componentAttributes:'{ "address": "{sitePrefix}/{id}/e" }'}}},
LIST:{actionName:"List",routeEnumType:"LIST_VIEW",routeDef:"{keyPrefixOrApiName}/list?filterName\x3d{filterName}\x26showFilterPicker\x3d{showFilterPicker}",routeMappings:{"default":{},standard:{}},override:{},componentMappings:{"default":{componentDef:"one:unsupported",componentAttributes:'{ "scope": "{keyPrefixOrApiName}" }'},visualforce:{componentDef:"one:alohaPage",componentAttributes:'{ "address": "{sitePrefix}/{keyPrefixOrApiName}/" }'}}},RELATED_LIST:{actionName:"Related",routeEnumType:"RELATED_LIST",
routeDef:"{id}/rlName/{relatedListId}/view?relatedSObject\x3d{relatedSObject}",routeMappings:{"default":{},standard:{}},override:{},componentMappings:{"default":{componentDef:"one:unsupported",componentAttributes:'{ "parentRecordId": "{id}" , "relatedListId": "{relatedListId}" }'},visualforce:{componentDef:"one:alohaPage",componentAttributes:'{ "address": "{sitePrefix}/{keyPrefixOrApiName}/e" }'}}}};b.prototype=Object.create(e.prototype);b.prototype.toString=function(){var a="[SObjectRouter: sObject: "+
this.sObjectName+"/"+this.keyPrefix+" :: ",a=a+("path: "+this.path+" :: ");this.hasCmpMapping&&(a+="componentDef: "+this.routeToComponentMapping.componentDef+"]");0<this.childRoutes.length&&(a+="childRoute paths: "+this.childRoutes.reduce(function(a,b){return a+", "+b.path},""));return a};b.prototype.initRoutes=function(){if(!this.isInitialized){var a,b,d=this.config.supportedActions;d?d.forEach(function(c){b=this.config.actionConfig[c];b.flags=this.config.flags;b.sObjectName=this.sObjectName;b.keyPrefix=
this.keyPrefix;b.siteUrlPrefix=this.config.siteUrlPrefix;a=new f(c,b);this.childRoutes.push(a);this.config.actionConfig[c].routeDefNoOverride&&(c=new f(c,this.config.actionConfig[c],!0),this.childRoutes.push(c))},this):$A.log(this.toString+" did not have any supported actions and may not work correctly");this.isInitialized=!0;return this}};b.prototype.match=function(a){this.isInitialized||this.initRoutes();if(this.hasCmpMapping&&this.routeToComponentMapping.match(a))return[this];if(!a||!(0<a.length&&
(0===a.indexOf(this.path)||0===a.indexOf(this.keyPrefix))))return!1;if(a===this.path)return[this];a=this.isPassthrough?a:a.substring(this.path.length);a=this.matchChildren(a);$A.util.isArray(a)&&a.unshift(this);return a};return{SObjectRouter:b,sObjectActionDefaults:d,supportedActions:"HOME VIEW NEW EDIT LIST RELATED_LIST".split(" "),actionToRouteEnumType:{HOME:"OBJECT_HOME",VIEW:"RECORD_HOME",NEW:"NEW",EDIT:"EDIT",LIST:"LIST_VIEW",RELATED_LIST:"RELATED_LIST"}}});*/});
$A.componentService.addLibraryExporter("js://one.centerStageLibrary.Route",function(){/*$A.componentService.addLibraryInclude("js://one.centerStageLibrary.Route",["js://one.centerStageLibrary.Router"],function(k){var g;return{RouteToComponentMapping:k.RouteToComponentMapping,Router:k.Router,SObjectRouter:k.SObjectRouter,appRouterConfig:k.newConfig,setAppRouter:function(c){$A.util.isUndefinedOrNull(g)&&(g=c,window.FORCE.appRouter=g)},encodeRoute:function(c){var e=c.attributes.values||c.attributes,a=c.componentDef.split("?"),d=a[0],b=a[1],a=[],h=0===d.indexOf("/apex/"),d=this.format(d,
e);if(b&&b.length)if(b=this.parseQueryString(b),h)for(var f in b)b.hasOwnProperty(f)&&a.push(encodeURIComponent(f)+"\x3d"+encodeURIComponent(b[f]));else for(f in b)b.hasOwnProperty(f)&&(e.hasOwnProperty(f)&&!$A.util.isEmpty(e[f]))&&a.push(encodeURIComponent(f)+"\x3d"+encodeURIComponent(e[f]));c["a:t"]&&a.push("a:t\x3d"+c["a:t"]);a.length&&(d+="?"+a.join("\x26"));return d},decodeRoute:function(c,e){return $A.util.isUndefinedOrNull(g)?c.routeMappingsLoader().then($A.getCallback(function(a){return this.findRouteMapping(a,
e)}.bind(this))):Promise.resolve(g.parseRoute(e)).then($A.getCallback(function(a){return $A.util.isEmpty(a)?g.getSetupRouteMappings().then($A.getCallback(function(a){return this.findRouteMapping(a,e)}.bind(this))):a}.bind(this)))},findRouteMapping:function(c,e){for(var a=0,d=c.length;a<d;a++){var b=this.parseRoute(e,c[a]);if(b)return b}return null},parseRoute:function(c,e){var a=0===c.indexOf("/apex/"),d=c.split("?"),b=d[1]||"";a||(c=d[0]);a=RegExp(e.routeRegExp);if(a.test(c)){for(var d=a.exec(c),
b=b.length?this.parseQueryString(b):{},h={},a=e.optionalAttributes,f=1;f<d.length;f++)h[e.routeParamsSortedList[f-1]]=d[f];var d=JSON.parse(this.format(e.componentAttributes,h)),g;for(g in a)h=a[g],f=g,a.hasOwnProperty(f)&&(b.hasOwnProperty(h)&&!$A.util.isEmpty(b[h]))&&(d[f]=b[h]);return{componentDef:e.componentDef,attributes:d,"a:t":b["a:t"]||0}}},format:function(c,e){return c.replace(/{([^{}]{0,})}/g,function(a,c){var b=e[c];return"string"===typeof b||"number"===typeof b?b:a})},parseQueryString:function(c){var e=
{};c=c.split("\x26");for(var a,d,b=0;b<c.length;b++)d=c[b],a=d.indexOf("\x3d"),-1===a?e[decodeURIComponent(d)]=void 0:e[decodeURIComponent(d.substring(0,a))]=decodeURIComponent(d.substring(a+1));return e}}});*/});
$A.componentService.addLibraryExporter("js://one.centerStageLibrary.Token",function(){/*$A.componentService.addLibraryInclude("js://one.centerStageLibrary.Token",["js://force.stringLibrary.Base64","js://one.centerStageLibrary.DefType","js://one.centerStageLibrary.Route","js://laf.routingServices.Helpers"],function(f,g,e,l){function h(a){var b=$A.util.lookup(a,"attributes","a:t");if($A.util.isEmpty(b))return a;a["a:t"]=b;delete a.attributes["a:t"];return a}var c=$A&&$A.getContext&&$A.getContext(),k=(c=c&&c.getMode&&c.getMode())&&("PROD"===c||"PRODDEBUG"===c||"PERFDEBUG"===c);return{getFullToken:function(a,
b){return(a||"")+(b&&b.length?"?"+b:"")},encodeToken:function(a){if(g.isRouteDef(a.componentDef))return e.encodeRoute(a);a=JSON.stringify(a);return k?f.encode(a):encodeURIComponent(a)},_decodeToken:function(a,b){if(!a)return Promise.resolve(null);if(g.isRouteDef(a))return e.decodeRoute(b,a).then($A.getCallback(function(b){return!b?(b=a.split("?"),b=(b[1]?e.parseQueryString(b[1]):{})["a:t"]||Date.now(),{componentDef:"one:unsupported",attributes:{values:{address:a}},"a:t":b}):h(b)}.bind(this)));var d=
null;try{var c=k?f.decode(a):window.decodeURIComponent(a);"undefined"!==typeof c&&(d=JSON.parse(c),l.isCmpBlacklistedFromRoute(d.componentDef)&&($A.warning("LAF:CenterStageLibrary:Stack has blacklisted the event "+d.componentDef+" from being used in a URL"),d.componentDef="one:unsupported",d.attributes={}))}catch(m){$A.warning("Token: '"+a+"' produced error: "+m)}return Promise.resolve(h(d))},setCurrentPushedComponentToken:function(a,b){b?(a._currentComponentHash=this.encodeToken(b),a._lastHashTimestamp=
b["a:t"]):(a._currentComponentHash="",a._lastHashTimestamp=null)},getCurrentPushedComponentToken:function(a){return a._currentComponentHash},stringifyWithoutTimestamp:function(a){var b=null;if($A.util.isUndefinedOrNull(a))return b;if(a&&a["a:t"]){var d=a["a:t"];delete a["a:t"];b=JSON.stringify(a);a["a:t"]=d}else b=JSON.stringify(a);return b},equalsIgnoreTimestamp:function(a,b){if($A.util.isEmpty(a)||$A.util.isEmpty(b)||a.componentDef!==b.componentDef)return!1;var d=$A.util.lookup(a,"attributes")||
$A.util.lookup(a,"attributes","values"),c=$A.util.lookup(b,"attributes")||$A.util.lookup(b,"attributes","values");return d&&c&&Object.keys(d).length===Object.keys(c).length?$A.util.every(Object.keys(d),function(a){return 2<a.length&&"a:"===a.substr(0,2)||JSON.stringify(d[a])===JSON.stringify(c[a])}):!1}}});*/});
$A.componentService.addLibraryExporter("js://one.centerStageLibrary.Error",function(){/*$A.componentService.addLibraryInclude("js://one.centerStageLibrary.Error",["js://force.componentLibrary.errors"],function(b){return{handler_aura_systemError:function(e,c){var a,d;a=c.getParams()||{};a=a.auraError||Error(a.message);c.handled||(d=a.severity,b.isValidSeverity(d)||(a.severity=b.DEFAULT_SEVERITY),b.isDisplayableError(a)?b.displayError(a):b.logErrorDetails(a,"Suppressed Error"),c.handled=!0)}}});*/});
$A.componentService.addLibraryExporter("js://one.centerStageLibrary.Mask",function(){/*$A.componentService.addLibraryInclude("js://one.centerStageLibrary.Mask",[],function(){return{handler_ui_panelTransitionEnd:function(a,b){this.hideMask(a)},hideMask:function(a){(a=a.find("mask").getElement())&&$A.util.removeClass(a,"on")},showMask:function(a){(a=a.find("mask").getElement())&&$A.util.addClass(a,"on")}}});*/});
$A.componentService.addLibraryExporter("js://one.centerStageLibrary.Spinner",function(){/*$A.componentService.addLibraryInclude("js://one.centerStageLibrary.Spinner",[],function(){return{handler_force_toggleSpinner:function(a,b){var c=a._state,d=b.getParam("visible");("web"==a.get("v.host")||c&&0<c.length)&&this.toggleInlineSpinner(a,d)},handler_one_setSpinnerLagTime:function(a,b){var c=b.getParam("spinnerLagMillis"),d=b.getParam("toastLagMillis");c&&(FORCE.spinnerLagTime.spinner=c);d&&(FORCE.spinnerLagTime.toast=d)},showInlineSpinner:function(a){$A.getEvt("markup://force:toggleSpinner").setParams({visible:!0}).fire()},
showModalSpinner:function(a){this.toggleModalSpinner(a,!0)},hideInlineSpinner:function(a){$A.getEvt("markup://force:toggleSpinner").setParams({visible:!1}).fire()},hideModalSpinner:function(a){this.toggleModalSpinner(a,!1)},toggleInlineSpinner:function(a,b){var c=a.find("loadingIndicator").getEvent("toggle");c.setParams({isVisible:b});c.fire()},toggleModalSpinner:function(a,b){$A.getEvt("markup://force:toggleModalSpinner").setParams({isVisible:b}).fire()}}});*/});
$A.componentService.addLibraryExporter("js://one.centerStageLibrary.Search",function(){/*$A.componentService.addLibraryInclude("js://one.centerStageLibrary.Search",[],function(){function c(a,b,c){return b?b.getDef(c).defaultValue:a.get("v."+c)}return{configureSearchHeader:function(a,b,e){var f=$A.get("$Browser.isDesktop"),d=null;$A.util.isFunction(a.getAttributeDefs)&&(d=a.getAttributeDefs());a.isInstanceOf("forceSearch:searchable")?(b.searchActive=this.getBooleanWithDefault(c(a,d,"searchActive"),!1),b.searchShowLauncher=this.getBooleanWithDefault(c(a,d,"searchShowLauncher"),f)):(b.searchActive=
!1,b.searchShowLauncher=f?!0:e&&1>=e.length);b={};e={};a.isInstanceOf("forceSearch:searchPage")||(a.isInstanceOf("forceSearch:searchInterface")?(b=c(a,d,"scopeMap"),e=c(a,d,"context")):a.isInstanceOf("forceSearch:scopeable")?b={name:c(a,d,"scope"),labelPlural:c(a,d,"scopeLabel"),icon:c(a,d,"scopeIcon"),color:c(a,d,"scopeColor")}:f&&a.isInstanceOf("one:chatter")&&(b={name:"FeedPost",labelPlural:$A.get("$Label.AuraSearchUI.ScopeRibbonFeedItem"),resultsCmp:"forceSearch:resultsFeed"}),$A.getEvt("markup://force:searchRequest").setParams({type:"SET_CONTEXT",
scopeMap:b,context:e}).fire())},setSearchActive:function(a,b){a._searchActive=b},setSearchShowLauncher:function(a,b){a._searchShowLauncher=b},getBooleanWithDefault:function(a,b){return void 0!=a?a:b}}});*/});
$A.componentService.addLibraryExporter("js://one.centerStageLibrary.Publisher",function(){/*$A.componentService.addLibraryInclude("js://one.centerStageLibrary.Publisher",[],function(){return{updatePublisherContext:function(a){if(a.isInstanceOf("force:hasGlobalPublisherContext")){var b=a.get("v.globalPublisherContext");!b&&a.getSuper()&&(b=a.getSuper().get("v.globalPublisherContext"));$A.getEvt("markup://force:updateMDP").setParams(b).fire()}}}});*/});
$A.componentService.addLibraryExporter("js://one.centerStageLibrary.Logging",function(){/*$A.componentService.addLibraryInclude("js://one.centerStageLibrary.Logging",[],function(c){return{handler_native_changeUiLogging:function(a,b){},handler_force_requestPerfLogging:function(a,b){},handler_force_requestLogging:function(a,b){},handler_one_sendAppAnalyticsData:function(a,b){}}});*/});
$A.componentService.addLibraryExporter("js://one.centerStageLibrary.Layout",function(){/*$A.componentService.addLibraryInclude("js://one.centerStageLibrary.Layout",["js://one.centerStageLibrary.Context","js://one.centerStageLibrary.Token"],function(g,h){return{_getHome:function(a){switch(a&&a.descriptor){case "markup://force:navigateToComponent":if(a.attributes&&a.attributes.componentDef)return{componentDef:a.attributes.componentDef,attributes:a.attributes.componentAttributes||{}};break;case "markup://force:navigateToURL":if(a.attributes&&a.attributes.url)return{componentDef:"one:alohaPage",
attributes:{address:a.attributes.url}};break;case "markup://force:navigateToState":if(a.attributes&&(a.attributes.pageReference&&a.attributes.pageReference.attributes)&&"standard__navItemPage"===a.attributes.pageReference.type)return{componentDef:"/n/{apiName}",attributes:{apiName:a.attributes.pageReference.attributes.apiName}};break;case "markup://force:navigateToObjectHome":if(a.attributes&&a.attributes.scope)return{componentDef:"/sObject/{scope}/home",attributes:{scope:a.attributes.scope}}}},getUnsupportedObjectHome:function(a,
b){var c;if($A.get("$Browser.isDesktop"))c=a.get("m.apiNameToObjectHomeUrls")[b];else{var d=URL.getSiteUrlPrefix(a),e=a.get("m.scopesToKeyPrefixes")[b];e&&(c=d+"/"+e+"/o")}return this.getUnsupportedLink(c,b)},getUnsupportedLink:function(a,b){return{componentDef:"one:unsupportedHome",attributes:{action:{url:a,target:"_blank"},scope:b}}},_getUnsupportedHome:function(a,b,c){if(c&&"markup://force:navigateToObjectHome"===c.descriptor&&c.attributes&&c.attributes.scope)return this.getUnsupportedObjectHome(a,
c.attributes.scope);if(this._getHome(c))return{componentDef:"one:unsupportedHome",attributes:{action:b}}},_getSupportedHome:function(a,b,c){if(b.attributes&&b.attributes.scope&&c.length){if(-1!==c.indexOf(b.attributes.scope))return this._getHome(b)}else return this._getHome(b)},_findHomeInActions:function(a,b,c){for(var d=0;d<a.length;d++){var e=a[d],f=e&&e.executionComponent;if(e=f&&c(e,f,b))return e}},_getHomeComponent:function(a){var b=a.get("v.home");if(b)return{component:b,componentDef:b,attributes:{}};
var c=$A.get("$Browser.isDesktop"),b=c?a.get("v.supportedEntities")||[]:[],d;c?(c=a.get("v.navItems"),d=a.get("v.tabs"),c||(c=d.map(function(a){return a.navAction}))):c=a.get("m.appNavActions");if(c&&0!==c.length)return this._findHomeInActions(c,b,this._getSupportedHome.bind(this))||this._findHomeInActions(c,b,this._getUnsupportedHome.bind(this,a))},getContentWrapperComponent:function(a,b,c,d,e){return $A.createComponentFromConfig({descriptor:"markup://one:content",attributes:{cardifyIframe:e,componentDef:a,
attributes:b.values||b,ignoreExistingAction:d}})},getCenterComponent:function(a){return a.find("center")},getContentComponent:function(a){return a.find("content")},getCurrentContent:function(a){a=this.getContentComponent(a).get("v.body");return!a.length?null:this.getInnerComponent(a[a.length-1])},getInnerComponent:function(a){if(a)return a.get("v.hostedComponent")},getMdpComponent:function(a){return a.get("v.mdp")[0]},setViewportWidth:function(a,b){b?$A.util.addClass(a,"full"):$A.util.removeClass(a,
"full")}}});*/});
$A.componentService.addLibraryExporter("js://one.centerStageLibrary.Aloha",function(){/*$A.componentService.addLibraryInclude("js://one.centerStageLibrary.Aloha",["js://one.centerStageLibrary.Layout"],function(b){return{handler_native_postMessage:function(a,b){var c=this._getActiveAlohaComponent(a);c&&c.get("c.postMessage").run(b.getParams())},_getActiveAlohaComponent:function(a){return(a=b.getCurrentContent(a))&&a.isInstanceOf("one:alohaPage")?a:null}}});*/});
$A.componentService.addLibraryExporter("js://one.centerStageLibrary.Stack",function(){/*$A.componentService.addLibraryInclude("js://one.centerStageLibrary.Stack","js://one.centerStageLibrary.Context js://one.centerStageLibrary.DefType js://one.centerStageLibrary.Token js://one.centerStageLibrary.Publisher js://one.centerStageLibrary.Search js://one.stageLeftState.State js://one.centerStageLibrary.Layout".split(" "),function(s,t,r,u,p,w,m){return{MAXSTAGESLIDECOUNT:5,handler_native_lowMemory:function(a,b,c){var e=this,d=function(){if(!e.isActionInProgress(a)){var b=m.getContentComponent(a),
c=b.get("v.body"),d=c&&c.length,k;if(!(1>=d)){for(var f=0;f<d-1;f++)k=c.splice(0,1)[0],k.destroy(!0),a._skipped++;b.set("v.body",c)}}};this.isActionInProgress(a)?setTimeout($A.getCallback(function(){$A.run(d)}),300):d()},handler_native_nativeTransition:function(a,b,c){b=b.getParam("type");"auraToNative"===b?(b=m.getContentComponent(a),b=b.get("v.body"),this._setActive(b[b.length-1],!1),a._onNativeScreen=!0,$A.metricsService.transactionEnd("ltng","pageView")):"nativeToAura"!==b&&("backToAura"===b?
(a._onNativeScreen&&(b=m.getContentComponent(a),b=b.get("v.body"),this._setActive(b[b.length-1],!0)),a._onNativeScreen=!1):$A.warning("Unknown native:nativeTransition type: "+b))},pushComponent:function(a,b,c,e,d){$A.assert(b,"Component to be pushed to centerStage can NOT be null or undefined");var g=$A.get("$Browser");!g.isDesktop&&"e.forceChatter:downloadFile"!=b.componentDef&&$A.getEvt("markup://force:updateMDPVisibility").setParams({show:!1}).fire();if(t.isEventDef(b.componentDef))this.setActionInProgress(a,
!1),g=$A.get(b.componentDef),g.setParams(b.attributes),g.fire();else{var h=m.getContentComponent(a),l=h.get("v.body"),k=$A.componentService.getDef(b.componentDef),f={fullWidth:!1,mdpVisible:!0,search:!1};if(!k&&!d){var n=this;$A.getDefinition(b.componentDef,$A.getCallback(function(d){d?n.pushComponent(a,b,c,e,!0):(d=$A.clientService.isConnected()?$A.util.format($A.get("$Label.Errors.GenericErrorFormat"),"$A.getDefinition"):$A.get("$Label.Offline.NoConnectionDescription"),$A.getEvt("markup://force:showMessage").setParams({message:d,
severity:"warning"}).fire(),n.setActionInProgress(a,!1))}))}else{k.isInstanceOf("force:handlesRouteChange")&&!b.attributes.parameters&&(b.attributes.parameters={scope:b.attributes.scope,token:this.getCurrentToken(a)});f.fullWidth=!1;d=m.getContentWrapperComponent(b.componentDef,b.attributes,k,e,a.get("v.cardifyIframe"));d.setAttributeValueProvider(a);var q=m.getCenterComponent(a).getElement();(g.isWindowsPhone||g.isWindowsTablet||s.isSalesforceNativeDesktop(a))&&d.set("v.nativeScroller",!0);var v=
$A.util.map(a._state,function(a){return a.url});p.configureSearchHeader(k,f,v);"flexipageEditor:editor"===b.componentDef&&(f.fullWidth=!0,f.mdpVisible=!1);k.isInstanceOf("force:fullViewportWidth")&&(f.fullWidth=!0);k.isInstanceOf("force:hasGlobalPublisherContext")||(f.mdpVisible=!1);p.setSearchActive(a,f.searchActive);p.setSearchShowLauncher(a,f.searchShowLauncher);g.isDesktop?m.setViewportWidth(q,f.fullWidth):$A.getEvt("markup://force:updateMDPVisibility").setParams({show:f.mdpVisible}).fire();d._options=
f;d._token=b;k=a._state[a._state.length-1]||{};k.options=f;k._token=b;e&&(f=this.safePopBody(l))&&f.destroy();this.safePushBody(l,d);r.setCurrentPushedComponentToken(a,d._token);c=c&&!a._onNativeScreen;a._onNativeScreen=!1;d.get("c.loadComponent").run();!g.isDesktop&&c&&1<l.length?this.animateStack(h,l,d,null,function(){this.pushContent(a,h,l)}.bind(this)):this.pushContent(a,h,l);h.set("v.body",l)}}},pushContent:function(a,b,c){var e=c.length,d=1<e?c[c.length-2]:null;this._setActive(c[e-1],!0);d&&
this._setActive(d,!1);this.setActionInProgress(a,!1);this.setContentBody(a,b,c)},unpushComponent:function(a,b,c){var e=$A.get("$Browser"),d=m.getContentComponent(a),g=m.getCenterComponent(a).getElement(),h=d.get("v.body"),l=h.length,k=0<l-1,f=k&&h[l-2],n=f&&f._options||{},q=m.getInnerComponent(f);e.isDesktop||$A.getEvt("markup://force:updateMDPVisibility").setParams({show:!1}).fire();c&&a._skipped--;!(c&&0<l)&&!k?this.pushComponent(a,b,!1,!1):(c||e.isDesktop||$A.getEvt("markup://force:updateMDPVisibility").setParams({show:n.mdpVisible}).fire(),
q&&u.updatePublisherContext(q),c?$A.get("$Browser.isDesktop")?(this.safePopBody(h),d.set("v.body",h),this.pushComponent(a,c,!1,!1)):this.animateStack(d,h,null,"back",function(b){this.safePopBody(h);d.set("v.body",h);this.pushComponent(a,c,!1,!1)}.bind(this)):(q&&(b=$A.util.map(a._state,function(a){return a.url}),p.configureSearchHeader(q,n,b),p.setSearchActive(a,n.searchActive),p.setSearchShowLauncher(a,n.searchShowLauncher)),e.isPhone||m.setViewportWidth(g,n.fullWidth),!$A.get("$Browser.isDesktop")&&
!a._onNativeScreen?this.animateStack(d,h,f,"back",function(b){this.popContent(a,d,h)}.bind(this)):this.popContent(a,d,h),a._onNativeScreen=!1))},popContent:function(a,b,c){this._setActive(c[c.length-1],!0);this.safePopBody(c);var e=c.length;0<e&&($A.metricsService.updateCurrentPageTransaction({context:{attributes:{cacheState:$A.metricsService.PAGE_IN_DOM}}}),e=c[e-1],this._setActive(e,!0),r.setCurrentPushedComponentToken(a,c[c.length-1]._token),a._refreshOnLocationChange&&(a._refreshOnLocationChange=
!1,(e=e.get("c.refresh"))&&e.run()));this.setActionInProgress(a,!1);b.set("v.body",c)},animateStackEnd:function(a,b,c,e,d,g){a.removeEventListener(FORCE.getAnimationEndEventName(),this._animationEnd,!1);$A.util.removeClass(c,e.slideIn);b&&$A.util.removeClass(b,e.slideOut);d&&$A.run(function(){d(g)})},animateStack:function(a,b,c,e,d){var g=0===b.length;b="back"===e?"Right":"Left";e="slide"+b+"In";b="slide"+b+"Out";var h={slideIn:e,slideOut:b},l=FORCE.getAnimationEndEventName();g?d({}):($A.rerender(a),
a=a.getElement(),c=c&&c.isValid()&&c.getElement(),g=a.querySelectorAll(".oneContent.active"),g=g[g.length-1],$A.util.addClass(g,b),$A.util.addClass(c,e),d=$A.getCallback(d),a.addEventListener(l,this._attachAnimEvent(a,g,c,h,d),!1))},_attachAnimEvent:function(){var a=this,b=Array.prototype.slice.call(arguments);return this._animationEnd=function(){var c=b.concat(Array.prototype.slice.call(arguments));a.animateStackEnd.apply(a,c)}},getCurrentToken:function(a){return a._state.length?a._state[a._state.length-
1].tokenString:null},setContentBody:function(a,b,c){c.length>this.MAXSTAGESLIDECOUNT&&(c.splice(c.length-2,1)[0].destroy(!0),a._skipped++,b.set("v.body",c))},safePopBody:function(a){a.length&&a[a.length-1]._slidePanel&&$A.getEvt("markup://one:destroySlidePanel").setParams({panel:a[a.length-1]._slidePanel.getGlobalId()}).fire();a.pop();a.length&&a[a.length-1]._slidePanel&&a[a.length-1]._slidePanel.get("c.show").run()},safePushBody:function(a,b){a.length&&a[a.length-1]._slidePanel&&a[a.length-1]._slidePanel.get("c.hide").run();
a.push(b)},getCurrentPushedComponentTimestamp:function(a){return a._lastHashTimestamp},setActionInProgress:function(a,b){a._actionInProgress=b},isActionInProgress:function(a){return a._actionInProgress},clearComponents:function(a){$A.getEvt("markup://one:resetHistory").fire();r.setCurrentPushedComponentToken(a,"")},_setActive:function(a,b){a&&a.isValid()&&a.set("v.active",b)}}});*/});
$A.componentService.addLibraryExporter("js://one.centerStageLibrary.Network",function(){/*$A.componentService.addLibraryInclude("js://one.centerStageLibrary.Network",["js://one.centerStageLibrary.URL"],function(d){return{handler_force_switchToNetwork:function(e,f){var a;a=f.getParam("networkId");var c=f.getParam("hash"),g=d._getPathNameWithoutPrefix(d.getSiteUrlPrefix(e)),b=d._getUrlWithSitePrefix("/servlet/networks/switch",d.getSiteUrlPrefix(e));$A.get("$Browser.isDesktop")&&"0DB"===a.substring(0,3)?(a={networkId:a,startURL:c},b=window.open($A.util.generateUrl(b,a),"_blank"),(!b||b.closed||
"undefined"==typeof b.closed)&&$A.getEvt("markup://force:showToast").setParams({title:$A.get("$Label.NetworkNotifications.PopupBlockedTitle"),message:$A.get("$Label.NetworkNotifications.PopupBlockedMessage"),key:"error"}).fire()):(c=$A.util.isUndefinedOrNull(c)?"":"#"+c,a={networkId:a,startURL:g+c},window.location=$A.util.generateUrl(b,a))}}});*/});
$A.componentService.addLibraryExporter("js://one.centerStageLibrary.Salesforce1URI",function(){/*$A.componentService.addLibraryInclude("js://one.centerStageLibrary.Salesforce1URI",["js://force.util.uriUtil"],function(h){return function(d,s){function l(a){return(a=h.parse(a).authority)?a.split(":")[0].replace(/^www\./,""):a}function m(a){return"origin"in a?a.origin:""==a.host?window.location.origin:a.protocol+"//"+a.host}if($A.util.isUndefinedOrNull(d))throw Error("Required parameter 'url' was not supplied to Salesforce1URI constructor.");var c=$A.util.apply({isAuraDomainEnabled:!1,salesforcePrefixWithoutProtocol:null,
siteUrlPrefix:null},s,!0),n=m(window.location),a=l(n),t=l(d),b=d;a===t&&(a=h.parse(d),delete a.authority,delete a.scheme,b=h.toURL(a));var f=b&&b.length?b.replace(/^https?:\/\//i,""):b,e=c.salesforcePrefixWithoutProtocol;(a=c.visualforceDomain)&&(a=a.split(".").slice(1).join("."));var g=c.siteUrlPrefix&&c.siteUrlPrefix.length?0===f.search(RegExp(c.siteUrlPrefix,"i")):!1,p=c.isAuraDomainEnabled&&(e&&e.length?0===f.search(RegExp(e,"i")):!1),a=a&&-1<f.search(RegExp(a,"i")),u=p||a,k=function(){var a=
b;g&&(a=c.siteUrlPrefix&&c.siteUrlPrefix.length?f.substr(c.siteUrlPrefix.length):b);p&&(a=e&&e.length?f.substr(e.length):b);return a}(),v=g?c.siteUrlPrefix+k:k,q="",r=!1,a=document.createElement("a");a.href=d;m(a)==n&&(r=!0,q=a.hash.substring(1));this.getFullUrl=function(){return d};this.getRelativeUrl=function(){return b};this.getRelativeUrlWithSitePrefix=function(){return v};this.getNormalizedUrl=function(){return k};this.getToken=function(){return q};this.hasSitePrefix=function(){return g};this.getSitePrefix=
function(){return g?c.siteUrlPrefix:""};this.isExternalLocation=function(){return RegExp(/^(geo:|maps:|mailto:|tel:|itms-services:)/).test(b)};this.isExternalPage=function(){return RegExp(/^(http:\/\/|https:\/\/)/i).test(b)||/^\/\//.test(b)};this.isSameOrigin=function(){return r};this.isSeparateDomainUrl=function(){return u}}});*/});
$A.componentService.addLibraryExporter("js://one.centerStageLibrary.Navigation",function(){/*$A.componentService.addLibraryInclude("js://one.centerStageLibrary.Navigation","js://one.centerStageLibrary.Context js://one.centerStageLibrary.DefType js://one.centerStageLibrary.URL js://one.centerStageLibrary.Salesforce1URI js://one.centerStageLibrary.Token js://one.centerStageLibrary.Stack js://one.centerStageLibrary.Spinner js://one.centerStageLibrary.Layout js://one.navRouter.NavRouter js://one.navState.NavState js://one.centerStageLibrary.History js://force.util.url js://force.util.uriUtil js://force.componentLibrary.errors js://laf.navLib.locationService".split(" "),
function(A,q,m,p,l,r,w,s,t,x,u,y,v,z,n){var k=null;return{handler_native_hostComponent:function(a,b){var c=b.getParam("componentName"),e=b.getParam("componentParams"),d={};try{e&&(d=JSON.parse(window.decodeURIComponent(e)))}catch(g){throw g;}$A.util.isEmpty(c)?r.clearComponents(a):this.beginNavigate(a,b,c,d)},handler_force_navigateHome:function(a,b){var c=s._getHomeComponent(a);b.setParam("resetHistory",!0);this.beginNavigate(a,b,c.componentDef,c.attributes)},handler_force_navigateToCanvasApp:function(a,
b){var c=b.getParams(),e={};b.getDef().getAttributeDefs().each(function(a){a.getDefault()&&(e[a.getDescriptor().getName()]=a.getDefault())});for(var d in e)c.hasOwnProperty(d)||(c[d]=e[d]);this.beginNavigate(a,b,"force:canvasApp",c)},handler_force_navigateToComponent:function(a,b){var c=b.getParam("componentDef"),e=b.getParam("componentAttributes");this.beginNavigate(a,b,c,e)},handler_force_navigateToFeed:function(a,b){var c={type:b.getParam("type"),subjectId:b.getParam("subjectId")};this.beginNavigate(a,
b,"forceChatter:feed",c)},handler_force_navigateToFeedItemDetailInternal:function(a,b){var c={feedItemId:b.getParam("feedItemId"),showGroupMentionVisibility:b.getParam("showGroupMentionVisibility"),feedType:b.getParam("feedType"),feedDesign:b.getParam("feedDesign")};$A.getEvt("markup://force:navigateToFeedItemDetail").setParams(c).fire()},handler_force_navigateToFeedItemDetail:function(a,b){if($A.get("$Browser.isDesktop"))var c={feedElementId:b.getParam("feedItemId")},e="forceChatter:desktopChatter";
else c={feedElementId:b.getParam("feedItemId"),showGroupMentionVisibility:b.getParam("showGroupMentionVisibility"),feedType:b.getParam("feedType"),feedDesign:b.getParam("feedDesign"),requireScroller:!$A.get("$Browser").isDesktop,ignoreExistingAction:!0},e="forceChatter:feedElementFullView";this.beginNavigate(a,b,e,c)},handler_force_navigateToFeedElementDetail:function(a,b){if($A.get("$Browser.isDesktop"))var c={feedElementId:b.getParam("feedElementId")},e="forceChatter:desktopChatter";else c={feedElementId:b.getParam("feedElementId"),
showGroupMentionVisibility:b.getParam("showGroupMentionVisibility"),feedType:b.getParam("feedType"),feedDesign:b.getParam("feedDesign"),requireScroller:!$A.get("$Browser").isDesktop,ignoreExistingAction:!0},e="forceChatter:feedElementFullView";this.beginNavigate(a,b,e,c)},handler_force_navigateToMessages:function(a,b){var c={messageId:b.getParam("feedItemId")};$A.getEvt("markup://force:navigateToMessages").setParams(c).fire()},handler_force_navigateToObjectHome:function(a,b){$A.metricsService.markStart("ltng",
"objectHomeNavEventHandler");var c=b.getParam("scope"),e={scope:c};if(!(-1<a.get("m.objectHomeSupportedEntities").indexOf(c))&&-1<a.get("m.allSupportedApiNames").indexOf(c)){var d;if($A.get("$Browser.isDesktop"))d=a.get("m.apiNameToObjectHomeUrls")[c];else{var g=m.getSiteUrlPrefix(a);(c=a.get("m.scopesToKeyPrefixes")[c])&&(d=g+"/"+c+"/o")}if(d){$A.getEvt("markup://force:navigateToURL").setParams({url:d,isredirect:!1}).fire();return}}this.beginNavigate(a,b,"/sObject/{scope}/home",e,!0)},handler_force_navigateToList:function(a,
b){var c={filterName:b.getParam("listViewId"),showFilterPicker:b.getParam("showFilterPicker"),scope:b.getParam("scope")};this.beginNavigate(a,b,"/sObject/{scope}/list?filterName\x3d{filterName}\x26showFilterPicker\x3d{showFilterPicker}",c,!0)},handler_force_navigateToState:function(a,b){var c=b.getParam("pageReference");"standard__navItemPage"===c.type&&this.beginNavigate(a,b,"/n/{apiName}",{apiName:c.attributes.apiName},!0)},handler_force_navigateToRelatedList:function(a,b){var c={relatedListId:b.getParam("relatedListId"),
parentRecordId:b.getParam("parentRecordId"),entityApiName:b.getParam("entityApiName")};this.beginNavigate(a,b,"/sObject/{parentRecordId}/rlName/{relatedListId}/view?relatedSObject\x3d{entityApiName}",c)},handler_force_navigateToSObject:function(a,b){$A.metricsService.markStart("ltng","recordHomeNavEventHandler");var c=b.getParam("recordId"),e=b.getParam("networkId"),d=b.getParam("sObjectName"),g={recordId:c,networkId:e,slideDevName:b.getParam("slideDevName"),ignoreExistingAction:b.getParam("ignoreExistingAction")},
f=c.substring(0,3),h=a.get("m.nonNavigatableEntities");"ContentNote"===d?$A.getEvt("markup://notes:editNote").setParams({noteId:c}).fire():(c&&0===c.indexOf("01Z")&&$A.metricsService.transactionStart("ltng","performance:S1MobileAnalytics"),-1===h.indexOf(f)&&(-1<a.get("m.viewSupportedEntities").indexOf(f)?this.beginNavigate(a,b,"/sObject/{recordId}/view?slideDevName\x3d{slideDevName}\x26ignoreExistingAction\x3d{ignoreExistingAction}",g):(d=m.getSiteUrlPrefix(a),$A.getEvt("markup://force:navigateToURL").setParams({url:d+
"/"+c,networkId:e}).fire())))},handler_force_navigateToURL:function(a,b){if($A.util.isUndefinedOrNull(b.getParam("url")))throw Error("The required 'url' parameter in the 'force:navigateToURL' event is not set.");if(!r.isActionInProgress(a)){var c={isAuraDomainEnabled:a.get("m.isAuraDomainEnabled"),isAlohaEmbeddable:a.get("m.isAlohaEmbeddable"),scopesToKeyPrefixes:a.get("m.scopesToKeyPrefixes"),salesforcePrefixWithoutProtocol:a.get("m.salesforcePrefixWithoutProtocol"),siteUrlPrefix:a.get("m.siteUrlPrefix"),
alohaURLMappingsLoader:$A.getCallback(function(){return a.helper.getAlohaURLMappings(a)}),routeMappingsLoader:$A.getCallback(function(){return a.helper.getOldRouteMappings(a)}),fullSiteURLWithQuery:m.getFullSiteURLWithQuery(a),fullSiteURL:m.getFullSiteURL(a),isSalesforceNativeDesktop:a.get("m.isSalesforceNativeDesktop"),isNativeContainer:"sfNativeBridge"in window,visualforceDomain:a.get("m.visualforceDomain"),Token:l,DefType:q,uriUtil:v},e=new p(b.getParam("url"),c),d=e.getNormalizedUrl(),g={isredirect:b.getParam("isredirect"),
event:b},f=$A.getCallback(function(a){$A.error(a);setTimeout($A.getCallback(function(){throw a;}),1)}.bind(this));this.getNavEventManager().then($A.getCallback(function(h){(y.isAllowedScheme(d,/^(https?|maps|mailto|tel|geo|itms-services):/i)?this.resolveIntegrationUrl(h,d).then($A.getCallback(function(a){a!=d&&(e=new p(a,c),c.siteUrlPrefix&&!e.isExternalPage()&&(e=new p(c.siteUrlPrefix+a,c)));t.initHandlers(c);return t.route(e,g)})).then($A.getCallback(function(a){if(!$A.util.isBoolean(a))return $A.util.isObject(a)||
(a={componentDef:"one:unsupported",attributes:{address:d}}),a}.bind(this))):Promise.resolve({componentDef:"one:unsupported",attributes:{address:d}})).then($A.getCallback(function(c){c&&this.beginNavStateChange(a,b,c)}.bind(this))).then(null,f)}.bind(this)),f)}},resolveIntegrationUrl:function(a,b){return new Promise(function(c,e){var d=v.parse(b,{decode:!0}),g=d.queryDecoded.lid,f=d.queryDecoded.eid,d=d.pathDecoded;!g||!(3<=d.length&&"servlet"==d[1]&&"servlet.Integration"==d[2])?c(b):(d=a.get("c.getResolvedIntegrationUrl"),
d.setParams({linkId:g,entityId:f}),d.setCallback(this,function(a){var d=a.getState();"SUCCESS"===d?(a=a.getReturnValue())?c(a):c(b):"INCOMPLETE"===d?$A.getEvt("markup://force:showOfflineMessage").setParams({retryAction:a}).fire():"ERROR"===d&&(d=a.getError(),e(d&&d[0]&&d[0].message||"Error resolving URL"),z.handleActionError(a))}),$A.enqueueAction(d))}.bind(this))},getNavEventManager:function(){return k&&k.isValid()?Promise.resolve(k):new Promise($A.getCallback(function(a,b){$A.createComponent("laf:navEventManager",
{},$A.getCallback(function(c,e,d){"SUCCESS"===e?(k=c,a(k)):b(d)}))}))},getCurrentState:function(a){a=a._state;return!$A.util.isEmpty(a)?a[a.length-1]:null},beginNavStateChange:function(a,b,c,e){var d=Date.now(),g;c["a:t"]=d;var f=c.attributes;delete c.attributes;c.attributes={values:f};var h=this.getCurrentState(a),f={};f.stateHistory=a._state;f._searchActive=a._searchActive;f._searchShowLauncher=a._searchShowLauncher;f._networkId=a.get("m.networkId");$A.util.isUndefinedOrNull(f._networkId)||(f._networkId=
f._networkId.substring(0,15));f.currentContent=s.getCurrentContent(a);f.DefType=q;f.Token=l;f.routeMappingsLoader=$A.getCallback(function(){return a.helper.getOldRouteMappings(a)});f.isNetworksEnabled=a.get("m.isNetworksEnabled");f.isNativeContainer="hybrid"===a.get("v.host");b.getParam("continueTransaction")&&(a._continueTransaction=!0);if(!e||!e.suppressTitleChange)$A.getEvt("markup://force:setTitle").setParams({title:$A.get("$Browser.isDesktop")?$A.get("$Label.LightningDesktop.TemplateTitle"):
$A.get("$Label.Salesforce1App.TemplateTitle")}).fire();x.applyFilters(b,h,c,f).then($A.getCallback(function(e){if(e){var f;h&&h.tokenString&&"/n/"===h.tokenString.substring(0,3)?u.fireCenterStageNavigation(a,null,h.tokenString):(f=l.encodeToken({componentDef:c.componentDef,attributes:c.attributes,"a:t":d}),l._decodeToken(f,c).then($A.getCallback(function(b){u.fireCenterStageNavigation(a,b,f)})))}else if(w.hideInlineSpinner(a),e=b.getParam("isredirect"),c["a:t"]=d,g=l.encodeToken({componentDef:c.componentDef,
attributes:c.attributes,"a:t":d}),e?(a._isredirect=!0,n.v1.replace?n.v1.replace(g):window.location.replace?window.location.replace("#"+g):n.v1.set(g)):n.v1.set(g),a.getElement()){e=!0;var k=document.activeElement;k&&k.getAttribute("keepFocusOnNavigate")&&(e=!1);e&&a.getElement().focus()}}.bind(this))).then(null,$A.getCallback(function(a){$A.error(a);setTimeout($A.getCallback(function(){throw a;}),1)}.bind(this)))},beginNavigate:function(a,b,c,e){$A.metricsService.markStart("Routing1RecordHomePerf",
"beginNavigate");this.beginNavStateChange(a,b,{componentDef:c,attributes:e});$A.metricsService.markEnd("Routing1RecordHomePerf","beginNavigate")}}});*/});
$A.componentService.addLibraryExporter("js://one.centerStageLibrary.History",function(){/*$A.componentService.addLibraryInclude("js://one.centerStageLibrary.History","js://one.centerStageLibrary.Token js://one.centerStageLibrary.Stack js://one.centerStageLibrary.Spinner js://one.centerStageLibrary.Layout js://one.navState.NavState js://laf.embarcaderoLib.NavigationContext js://force.locationContextLib.LocationContext js://laf.navLib.locationService".split(" "),function(h,f,k,m,s,y,t,n){function q(b){return b&&b.isInstanceOf&&b.isInstanceOf("force:handlesRouteChange")}function u(b,c,a){if(!q(a)||
!c)return!1;c=m.getCurrentContent(b);return c.getDef()===a}function v(b,c,a){a||(a=n.v1.get());var d=JSON.parse(JSON.stringify(b.attributes));$A.util.apply(d,a);b.attributes.token=c;b.attributes.parameters=d}function w(b){return new Promise(function(c){$A.getDefinition(b,c)})}function p(b,c,a){var d=b.get("v.host"),e=b._state,g=h.getFullToken(c,a);c={routeMappingsLoader:$A.getCallback(function(){return b.helper.getOldRouteMappings(b)})};c=g?h._decodeToken(g,c):Promise.resolve();var l,x,k,p=n.v1.get();
c.then($A.getCallback(function(a){if(!g&&"hybrid"===d)$A.log("CenterStage hybrid locationChange with no token found. Clearing component stack."),f.clearComponents(b);else{var c;c=g;var e=a;if(!$A.get("$Browser.S1Features.isPersonAccountsEnabled")||(!c||!e||!e.attributes||!e.attributes.recordId)||0!==e.attributes.recordId.indexOf("001"))c=!1;else{var r=c.match("^/sObject/(003[\\w]{12,15})/(view|edit)");c=!r||2>r.length?!1:c.replace(r[1],e.attributes.recordId)}if(c)n.v1.set(c);else if(f.setActionInProgress(b,
!0),!g||!a)(a=m._getHomeComponent(b))?(k=a.attributes||{},k.values||(a.attributes={values:k}),a["a:t"]=l=Date.now(),g=h.encodeToken(a),f.setActionInProgress(b,!1),n.v1.replace(g)):($A.log("centerStage: handle locationChange - could not parse token or determine home component."),f.setActionInProgress(b,!1));else return a}}.bind(this))).then($A.getCallback(function(a){if(a){l=a&&a["a:t"];if($A.util.isEmpty(l)||0===l)h.equalsIgnoreTimestamp(s.getPriorState(b),a)?a["a:t"]=l=-1:a["a:t"]=l=Date.now();var c=
t.getCurrentPage();b._continueTransaction?delete b._continueTransaction:$A.metricsService.transactionStart("ltng","pageView",{pageTransaction:!0,context:{previousPage:c||{location:"undefined"}}});if(h.equalsIgnoreTimestamp(s.getCurrentState(b),a)){$A.getEvt("markup://force:refreshView").fire();f.setActionInProgress(b,!1);var d=top.document.title;setTimeout(function(){top.document.title=d},0);this.fireCenterStageNavigation(b,a,g)}else{e.length&&g===e[e.length-1].tokenString&&e.pop();var k=(c=m.getContentComponent(b).get("v.body"))&&
0<c.length&&c[c.length-1];return w(a.componentDef).then($A.getCallback(function(c){if(b.isValid()){q(c)?v(a,f.getCurrentToken(b),p):$A.getEvt("markup://force:closeQuickAction").fire();if(0!=l&&l<f.getCurrentPushedComponentTimestamp(b)){$A.metricsService.transaction("ltng","interaction",{context:{locator:{target:"back",scope:"browserHistory"},eventSource:"history"}});for(var d=e.pop(),d=d?d.url:"";e.length&&e[e.length-1].url===d;)e.pop();if((d=e[e.length-1])&&d.options&&d.options.skipOnBack)d.options.skipOnBack=
!1,window.history.go(-1);d&&0<b._skipped&&(x=d._token);b._state=e;u(b,k,c)?this.delegateRouteChange(b,a):f.unpushComponent(b,a,x)}else d={url:g,tokenString:g,componentDef:a.componentDef,attributes:a.attributes,options:{},timestamp:l},b._isredirect&&e.pop(),e.push(d),b._state=e,u(b,k,c)?(e[e.length-1]._token=a,this.delegateRouteChange(b,a)):f.pushComponent(b,a,!0,b._isredirect);b._isredirect=!1;$A.getEvt("markup://one:updateHeader").setParams({hasHistory:b._state&&1<b._state.length,searchActive:b._searchActive,
searchShowLauncher:b._searchShowLauncher}).fire();this.fireCenterStageNavigation(b,a,g)}}.bind(this)))}}else f.setActionInProgress(b,!1)}.bind(this))).then(null,$A.getCallback(function(a){"INCOMPLETE"===a?$A.getEvt("markup://force:showOfflineMessage").setParams({retryAction:b.get("c.resolveState")}).fire():("string"===typeof a?$A.error(a):$A.error(void 0,a),setTimeout($A.getCallback(function(){throw a;}),1))}.bind(this)))}return{handler_aura_locationChange:function(b,c){f.isActionInProgress(b)||($A.metricsService.markEnd("ltng",
"objectHomeNavEventHandler"),$A.metricsService.markEnd("ltng","recordHomeNavEventHandler"),b._continueTransaction||$A.metricsService.transactionEnd("ltng","pageView"),p.call(this,b,c.getParam("token"),c.getParam("querystring")))},forceResolvePage:function(b,c){b._isredirect=!0;var a=n.v1.get();p.call(this,b,a.token,a.querystring)},extractParamsFromToken:function(b){var c=b.attributes||{},a={scope:c.scope,relatedList:c.relatedListId,componentDef:b.componentDef};if(!a.scope)if("one:recordHomeFlexipage"===
b.componentDef){if(b=/^(?:flexipage__)?([a-zA-Z]+)DesktopRecordHome/.exec(c.flexiPageDeveloperName))a.scope=b[1]}else a.scope=b.componentDef;a.scope&&(a.scope=a.scope.toLowerCase());return a},fireCenterStageNavigation:function(b,c,a){if(b._onNativeScreen){var d=m.getContentComponent(b).get("v.body");if((d=d[d.length-1])&&d.isValid())d.set("v.active",!0),$A.getEvt("markup://one:contentLoaded").setParams({componentName:d.get("v.componentDef"),componentParams:d.get("v.attributes"),success:!0}).fire();
b._onNativeScreen=!1}b=c||{};d=b.attributes||{};t.setCurrentPage({url:a||"/",location:b.componentDef,timestamp:b["a:t"],sobjectType:d.scope||d.sObjectName||d.relatedListId,recordId:d.parameters&&d.parameters.recordId||d.recordId||((a||"").match(/\/sObject\/([a-zA-Z0-9]{18}|[a-zA-Z0-9]{15})\/view/)||[])[1],listNameOrId:d.filterName,objHomePrefix:((a||"").match(/\/sObject\/([a-zA-Z0-9]{3})\/home/)||[])[1],isRelatedList:!!d.relatedListId});"/n/"===a.substring(0,3)?(a=a.substring(3),a=(a||"").toLowerCase(),
b=a.indexOf("?"),a=-1!=b?a.substring(0,b):a):a=y.getContextFromNavigationToken(c);$A.getEvt("markup://one:centerStageNavigation").setParams({navigationContext:a,navigationToken:c}).fire()},handler_one_back:function(b,c){$A.assert(!$A.util.isUndefinedOrNull(b)&&$A.util.isFunction(b),"Invalid callback");$A.assert(0<c,"Must use a positive tolerance period.");var a=null,d;return function(){var e=arguments,g=new Date;null===a||g-a>c?(a=g,d=b.apply(this,e)):$A.log("function throttled - ignoring calls within "+
c+" ms of prior call.");return d}}(function(b,c){f.isActionInProgress(b)||(k.hideModalSpinner(b),k.hideInlineSpinner(b),b._refreshOnLocationChange=!!c.getParam("refresh"),n.back())},300),handler_one_resetHistory:function(b,c){m.getContentComponent(b).set("v.body",[]);b._state=[];b._skipped=0;k.hideModalSpinner(b);f.setActionInProgress(b,!1)},handler_force_refreshView:function(b,c){var a=m.getContentComponent(b);if(a&&(a=a.get("v.body"))&&Array.isArray(a)&&0<a.length)if((a=a[a.length-1].get("v.hostedComponent"))&&
!a.isInstanceOf("one:simulateContentRefresh")&&a.isInstanceOf("ui:handlesRefresh")&&!1!=a.get("v.canRefresh"))if(a=a.get("e.refresh")){a.setParams(c.getParams());a.fire();return}var a=n.v1.get(),a=h.getFullToken(a.token,a.querystring),d={routeMappingsLoader:$A.getCallback(function(){return b.helper.getOldRouteMappings(b)})};(a?h._decodeToken(a,d):Promise.resolve()).then($A.getCallback(function(a){var c=Promise.resolve(a);if(!a)if(a=m._getHomeComponent(b))a=h.encodeToken(a),c=h._decodeToken(a,d);else return;
c.then($A.getCallback(function(a){a&&w(a.componentDef).then($A.getCallback(function(c){b.isValid()&&(q(c)&&v(a,f.getCurrentToken(b)),f.pushComponent(b,a,!1,!0))}.bind(this)))}.bind(this)))}.bind(this)))},delegateRouteChange:function(b,c){h.setCurrentPushedComponentToken(b,c);f.setActionInProgress(b,!1);m.getCurrentContent(b).get("e.routeChange").setParams({parameters:c.attributes}).fire()}}});*/});
$A.componentService.addLibraryExporter("js://one.centerStageLibrary.Record",function(){/*$A.componentService.addLibraryInclude("js://one.centerStageLibrary.Record",["js://force.toasterLibrary.messages","js://force.componentLibrary.components","js://force.componentLibrary.actions","js://one.centerStageLibrary.Spinner","js://one.centerStageLibrary.Navigation"],function(m,h,g,n,s){function k(d,b,a,c,e){n.hideModalSpinner(d);var f=a.attributes.retURL;c=$A.get("$Browser.isDesktop");h.createPanel(d,a.componentDef,a.attributes,function(c){l(c,b.getParam("removeAnimations"),function(b){c.set("v.parentPanel",
b);f&&c.addEventHandler("force:cancelEdit",$A.getCallback(function(a){$A.getEvt("force:navigateToURL").setParams({url:f}).fire();a.stopPropagation();a.preventDefault()}),"bubble");$A.util.isFunction(a.attributes.panelOnCreateCallback)&&a.attributes.panelOnCreateCallback()},a.attributes.panelOnDestroyCallback,"center")},c)}function l(d,b,a,c,e,f){$A.getEvt("markup://force:showPanel").setParams({isFullScreen:!$A.get("$Browser.isDesktop"),lazyLoad:!0,flavor:"medium",autoFocus:!0,removeAnimations:b||
!1,closeOnActionButtonClick:!1,component:d,onCreate:a,onDestroy:c,attributes:{animation:e?e:"bottom",closeAnimation:f?f:"bottom"}}).fire()}return{NAMESPACE:"force",handler_force_cloneRecord:function(d,b){var a=g.getCloneRecordPanelDef(b),c=g.makePayload(a.attributes,"CLONE");k(d,b,a,"force:cloneRecord",c)},handler_force_createRecord:function(d,b){var a=d.get("m")?d.get("m.scopesToKeyPrefixes"):[],a=g.getCreateRecordPanelDef(b,a),c=g.makePayload(a.attributes,"CREATE");k(d,b,a,"force:createRecord",
c)},handler_force_showRecordTypeSelector:function(d,b){var a=g.getRecordSelectorPanelDef(b);a.attributes.panelLayout="LeftRight";$A.createComponent(a.componentDef,a.attributes,function(b,e){if("SUCCESS"===e){var f={context:{injectPageUsageInfo:!0,usageInfo:{action:"Load",gusTeamId:"a00B0000000w9xAIAQ",target:"force:showRecordTypeSelector"}}};$A.util.isUndefinedOrNull(a.attributes.entityApiName)||(f.context.entityName=a.attributes.entityApiName);$A.util.isUndefinedOrNull(a.attributes.record)||(f.context.recordId=
a.attributes.record.Id);$A.getEvt("markup://ui:createPanel").setParams({panelType:"actionModal",visible:!0,panelConfig:{footer:b.get("v.footerComponent"),title:b.get("v.title"),body:b,closeAction:function(b){b.hide(function(){b.isValid()&&b.getEvent("notify").setParams({action:"destroyPanel",typeOf:"ui:destroyPanel",payload:{panelInstance:b.getGlobalId()}}).fire()});var c=a.attributes.panelOnDestroyCallback;$A.util.isFunction(c)&&c()}},onCreate:function(){}}).fire()}else"ERROR"===e&&g.showCreateComponentError(d.getDef().getDescriptor().getQualifiedName(),
[a.componentDef])})},handler_force_createRecordWithRecordTypeCheck:function(d,b){var a=b.getParams();if(a.entityApiName)if("ContentNote"===a.entityApiName)$A.getEvt("markup://notes:editNote").fire();else{var c=g.getRecordSelectorDeciderDef(b);$A.createComponent(c.componentDef,c.attributes,function(a,f){if("SUCCESS"===f)a.get("e.run").fire();else if("ERROR"===f)g.showCreateComponentError(d.getDef().getDescriptor().getQualifiedName(),[c.componentDef]);else if("INCOMPLETE"===f){var p={retryFunction:function(){this.handler_force_createRecordWithRecordTypeCheck(d,
b)}.bind(this)};$A.getEvt("force:showOfflineMessage").setParams(p).fire()}}.bind(this))}},handler_force_editRecord:function(d,b){var a=b.getParam("recordId"),c=b.getParam("nooverride"),e=Promise.resolve(!1);c||(e=this.hasEditOverride(d,a));e.then($A.getCallback(function(c){if(c){c=b.getParam("recordTypeId");var e="/"+a+"/e";c&&(e+="?RecordType\x3d"+c);$A.getEvt("markup://force:navigateToURL").setParams({url:e}).fire()}else c=$A.get("$Browser.isDesktop"),e=g.getEditRecordPanelDef(b),h.createPanel(d,
e.componentDef,e.attributes,function(a){l(a,!1,function(b){a.set("v.parentPanel",b)})},c)}))},handler_force_recordDeleted:function(d,b){var a="CombinedAttachment ContentDocument ContractLineItem OpportunityLineItem OrderItem QuoteLineItem WorkOrderLineItem OpportunityContactRole OpportunityLineItemSchedule".split(" "),c=d._state,e=b.getParam("navigationLocation"),f=b.getParam("entityApiName"),g=b.getParam("customToastMessage"),q=b.getParam("recordName"),r=b.getParam("state");"DETAIL"===e?c&&1<c.length?
$A.getEvt("markup://one:back").setParams({refresh:!0}).fire():c&&0<c.length||$A.getEvt("markup://force:navigateHome").fire():("RELATED_LIST_ROW"===e||"LIST_VIEW_ROW"===e)&&-1<a.indexOf(f)&&$A.getEvt("markup://force:refreshView").fire();g?$A.getEvt("force:showToast").setParams({message:g,key:"success"}).fire():-1===["DRAFT","MERGE"].indexOf(r)&&m.showCrud("DELETE",q,b.getParam("entityLabel"))},hasEditOverride:function(d,b){var a=g.getKeyPrefix(b),c;if(d.get("m"))c=d.get("m.editOverriddenKeyPrefixes");
else{var e=d.get("v");e&&e.values&&(c=e.values.editOverriddenKeyPrefixes)}return c?Promise.resolve(-1!==c.indexOf(a)):d.isActionOverridden?new Promise($A.getCallback(function(c,e){d.isActionOverridden(a,"Edit",function(a,d){a&&$A.warning("[LAF:centerStageLibrary:hasEditOverride] error determining if "+b+" is overridden, will use modal: "+a);c(d)})})):Promise.resolve(!1)}}});*/});
$A.componentService.addLibraryExporter("js://one.centerStageLibrary.PanelService",function(){/*$A.componentService.addLibraryInclude("js://one.centerStageLibrary.PanelService",["js://one.centerStageLibrary.Mask","js://one.centerStageLibrary.Spinner","js://one.centerStageLibrary.Layout"],function(h,k,l){return{handler_force_showMessage:function(a,b){var d=b.getParams()||{},d=this._prepareMessagePanel(d);this._fireOpenPanel(d)},handler_force_createModal:function(a,b,d){a=b.getParams()||{};a=this._prepareDialogPanel(a,!0);a.show=d;this._fireOpenPanel(a)},handler_force_showModal:function(a,b){var d=
b.getParams()||{};k.hideInlineSpinner(a);h.showMask(a);if(d.instance){var e=$A.util.isArray(d.instance)?d.instance[0]:d.instance;$A.util.isComponent(e)&&e.isInstanceOf("ui:panelType")&&e.show(d.onCreate)}else this.handler_force_createModal(a,b,!0)},handler_force_showModalWeb:function(a,b){this.handler_force_showModal(a,b)},handler_force_showOfflineMessage:function(a,b){$A.metricsService.mark("S1PERF","force:handler_showOfflineMessage");this._clearRetryComponent(a);var d=this._prepareOfflineMessagePanel(a,
b.getParams());this._fireOpenPanel(d)},_getComponentHeaderActions:function(a){var b=null;$A.util.isComponent(a)&&a.isInstanceOf("force:hasHeader")&&(b=a.get("v.headerActions"));return b},handler_force_createPanel:function(a,b,d){function e(a){$A.getEvt("markup://ui:createPanel").setParams({panelType:"mobileOverlay",visible:d,panelConfig:{title:c.title||"",removeHeader:c.removeHeader,animation:c.removeAnimations?"none":"bottom",body:a,flavor:c.flavor?c.flavor:void 0},closeOnLocationChange:c.closeOnLocationChange,
onCreate:function(a){if(c.component&&$A.util.isComponent(c.component)){var b=c.removeHeader?[]:f._preparePanelHeader(c.headerActions||f._getComponentHeaderActions(c.component));a.update({body:c.component,headerActions:b},c.onCreate)}else c.componentDef&&g?$A.createComponent(c.componentDef,g,function(b){var d=c.removeHeader?[]:f._preparePanelHeader(c.headerActions||f._getComponentHeaderActions(b));a.update({body:b,headerActions:d},c.onCreate)}):$A.log("Error fetching component")}}).fire()}var f=this,
c=b.getParams()||{};a={centered:!1,isLarge:!0};var g=c.attributes&&c.attributes.values?c.attributes.values:c.attributes;if((b=c.lazyLoad)&&!c.componentDef&&!c.component)c.component=$A.createComponentFromConfig({descriptor:"markup://force:inlineSpinner",attributes:a}),b=!1;b?$A.createComponent("markup://force:inlineSpinner",a,e):c.component&&$A.util.isComponent(c.component)?(a=c.removeHeader?[]:f._preparePanelHeader(c.headerActions||f._getComponentHeaderActions(c.component)),$A.getEvt("markup://ui:createPanel").setParams({panelType:"mobileOverlay",
visible:d,panelConfig:{title:c.removeHeader?"":c.title,removeHeader:c.removeHeader,headerActions:a,animation:c.removeAnimations?"none":"bottom",body:c.component,flavor:c.flavor?c.flavor:void 0},closeOnLocationChange:c.closeOnLocationChange,onCreate:c.onCreate}).fire()):c.componentDef&&g?$A.createComponent(c.componentDef,g,function(a){var b=c.removeHeader?[]:f._preparePanelHeader(c.headerActions||f._getComponentHeaderActions(a));$A.getEvt("markup://ui:createPanel").setParams({panelType:"mobileOverlay",
visible:d,panelConfig:{title:c.removeHeader?"":c.title,removeHeader:c.removeHeader,headerActions:b,animation:c.removeAnimations?"none":"bottom",body:a,flavor:c.flavor?c.flavor:void 0},closeOnLocationChange:c.closeOnLocationChange,onCreate:c.onCreate}).fire()}):$A.log("Error fetching component")},handler_force_closePanel:function(a,b){return this.handler_force_hidePanel(a,b)},handler_force_hidePanel:function(a,b){return $A.get("$Browser.isDesktop")?this.handler_force_hidePanelDesktop(a,b):this.handler_force_hidePanelPhone(a,
b)},handler_force_showPanel:function(a,b){return $A.get("$Browser.isDesktop")?this.handler_force_showPanelDesktop(a,b.getParams()):this.handler_force_showPanelPhone(a,b)},handler_force_hidePanelDesktop:function(a,b){$A.getEvt("markup://ui:getActivePanel").setParams({callback:function(a){a&&a.close()}}).fire()},handler_force_showPanelDesktop:function(a,b){var d=this;this._preparePanelBodyDesktop(a,b,function(a){var f=b.headerActions||d._getComponentHeaderActions(a),c=!0,g=!0;b.hasOwnProperty("closeOnActionButtonClick")&&
(c=b.closeOnActionButtonClick);b.hasOwnProperty("autoFocus")&&(g=b.autoFocus);$A.getEvt("markup://ui:createPanel").setParams({panelType:"actionModal",visible:!0,panelConfig:{title:b.title,flavor:b.flavor,detail:b.detail,showCloseButton:!0,useTransition:b.useTransition||!(!b.attributes||!b.attributes.animation),body:a,footerActions:f,owner:b.owner,closeOnActionButtonClick:$A.util.getBooleanValue(c),autoFocus:$A.util.getBooleanValue(g),animation:b.attributes&&b.attributes.animation,closeAnimation:b.attributes&&
b.attributes.closeAnimation},closeOnLocationChange:b.closeOnLocationChange,onCreate:b.onCreate,onDestroy:b.onDestroy}).fire()})},_preparePanelBodyDesktop:function(a,b,d){a=b.component;var e=b.componentDef;b=b.attributes&&b.attributes.values?b.attributes.values:b.attributes;$A.util.isComponent(a)?d(a):e&&b?$A.createComponent(e,b,function(a){d(a)}):d(this.createPanelLoadingBody())},createPanelLoadingBody:function(){return $A.createComponentFromConfig({descriptor:"markup://force:inlineSpinner",attributes:{centered:!1,
isLarge:!0}})},handler_force_showPanelPhone:function(a,b){h.showMask(a);var d=b.getParams()||{},e=d.instance;e?(e=$A.util.isArray(e)?e[0]:e,$A.util.isComponent(e)&&e.isInstanceOf("ui:panelType")&&e.show(d.onCreate)):this.handler_force_createPanel(a,b,!0)},handler_force_destroyPanel:function(a,b){var d=b.getParams()||{},e=d.instance;e&&$A.getEvt("markup://ui:destroyPanel").setParams({panelInstance:e,onDestroy:d.onDestroy}).fire();this._clearRetryComponent(a)},handler_force_hidePanelPhone:function(a,
b){$A.getEvt("markup://ui:getActivePanel").setParams({callback:function(a){a&&a.close()}}).fire();this._clearRetryComponent(a)},_clearRetryComponent:function(a){var b=a._offlinePanel;!$A.util.isUndefinedOrNull(b)&&b.isValid()&&(a._retryComponent=null,a._offlinePanel=null,$A.getEvt("markup://ui:destroyPanel").setParams({panelInstance:b}).fire())},_prepareDialogPanel:function(a,b){a||(a={});if($A.get("$Browser.isDesktop"))return a;var d=a.actions||a.footerActions||[],e=[],f;for(f=0;f<d.length;f++)e.push(this._createActionButton(d[f]));
a.actions=e;a.animation=a.removeAnimations&&"none";a.isModal=b;a.isDialog=!0;a.callbacks={onCreate:a.onCreate};delete a.onCreate;delete a.removeAnimations;return a},_prepareMessagePanel:function(a){a||(a={});var b=a.severity&&a.severity.toLowerCase();b&&(b={componentDef:{descriptor:"markup://force:icon"},attributes:{values:{key:b,"class":"slds-icon"}}});a={title:a.title,detail:a.message,icon:b,animation:a.removeAnimations&&"none",show:!0,onCreate:a.callbacks?a.callbacks.onCreate:null};$A.get("$Browser.isDesktop")||
(b=this.createCancelButton(),a.actions=[b]);return a},_createActionButton:function(a,b){return"AttachFileFromDevice"===a.devNameOrId?$A.createComponentFromConfig({descriptor:"markup://forceChatter:attachFileActionButton",attributes:{action:a,attachmentComponentId:a.executionComponent.attributes.attachmentComponentId}}):"publisherFileAction"===a.devNameOrId?$A.createComponentFromConfig({descriptor:"markup://"+a.executionComponent.descriptor,attributes:{action:a}}):$A.createComponentFromConfig({descriptor:"markup://force:actionButton",
attributes:{action:a}})},_prepareOfflineMessagePanel:function(a,b){var d=this,e=b.retryAction,f=b.retryFunction;$A.util.isFunction(f)&&(f=$A.getCallback(f));e=$A.createComponentFromConfig({descriptor:"markup://force:retryButton",attributes:{label:$A.get("$Label.Offline.Retry"),retryAction:e?[e]:[],retryFunction:f?[f]:[],onRetry:function(b){d._clearRetryComponent(a)}}});f=b.panelDetailMessage||$A.get("$Label.Offline.NoConnectionDescription");b.panelDetailExtendedMessage&&(f+=" "+b.panelDetailExtendedMessage);
f={detail:f,icon:{componentDef:{descriptor:"markup://force:icon"},attributes:{values:{key:"offline"}}},animation:"none",isModal:!0,show:!0,onDestroy:function(){if(b&&b.onClose)b.onClose()},onCreate:function(b){a._offlinePanel=b}};if($A.get("$Browser.isDesktop"))f.footerActions=[e],f.onCreate=function(b){a._offlinePanel=b};else{var c=this.createCancelButton();f.actions=[e,c]}a._retryComponent=e;return f},_preparePanelHeader:function(a){var b,d=[],e;if(!a||!a.length)return d;var f=2<a.length?2:a.length;
for(b=0;b<f;b++)e=a[b],$A.util.isComponent(e)?d[b]=e:d[b]=$A.createComponentFromConfig({descriptor:"markup://force:actionButton",attributes:{action:e}});return d},_fireOpenPanel:function(a){if($A.get("$Browser.isDesktop"))$A.getEvt("markup://ui:createPanel").setParams({panelType:"actionModal",visible:!0,panelConfig:{title:a.title,showCloseButton:!0,useTransition:!0,detail:a.detail,body:a.body,actions:a.actions,flavor:a.flavor,footerActions:a.footerActions},closeOnLocationChange:a.closeOnLocationChange,
onCreate:a.onCreate,onDestroy:a.onDestroy}).fire();else{var b={title:a.title,useTransition:!0,headerDetail:a.detail,body:a.body,actions:a.actions,flavor:a.flavor,icon:a.icon,showDefaultCancelButton:a.showDefaultCancelButton,closeOnActionButtonClick:$A.util.isUndefinedOrNull(a.closeOnActionButtonClick)?!0:a.closeOnActionButtonClick,footerActions:a.footerActions};a.labelCancel&&(b.labelCancel=a.labelCancel);$A.getEvt("ui:createPanel").setParams({panelType:"mobileActionModal",visible:$A.util.isUndefinedOrNull(a.show)?
!0:a.show,panelConfig:b,closeOnLocationChange:a.closeOnLocationChange,onCreate:a.onCreate,onDestroy:a.onDestroy}).fire()}},_enqueueActionsForRetry:function(a,b){var d=a._retryComponent;if($A.util.isUndefinedOrNull(d)||!d.isValid())throw Error("Missing or invalid retry component.");var e=d.get("v.retryAction");e.push(b);d.set("v.retryAction",e)},createCancelButton:function(a){return $A.createComponentFromConfig({descriptor:"markup://force:actionButton",attributes:{action:{label:$A.get("$Label.Buttons.cancel")}}})}}});*/});
$A.componentService.addLibraryExporter("js://one.centerStageLibrary.Storage",function(){/*$A.componentService.addLibraryInclude("js://one.centerStageLibrary.Storage",[],function(){return{handler_native_storagePrimeConfig:function(a,b){}}});*/});
$A.componentService.addLibraryExporter("js://one.centerStageLibrary.Setup",function(){/*$A.componentService.addLibraryInclude("js://one.centerStageLibrary.Setup",["js://one.centerStageLibrary.Navigation","js://onesetup.actionHandler.create","js://laf.navLib.locationService"],function(g,k,h){return{handler_setup_navigateToSetup:function(f,d){var b={id:d.getParam("id")},a=d.getParam("prefix"),a=(a?a:"/setup/")+"{id}";d.getParam("nodeId")&&(b.nodeId=d.getParam("nodeId"),a+="?nodeId\x3d{nodeId}");var c=d.getParam("url");c&&(b.address=c,a+=(0<=a.indexOf("?")?"\x26":"?")+"address\x3d{address}");
g.beginNavStateChange(f,d,{componentDef:a,attributes:b},{suppressTitleChange:!0})},handler_setup_navigateToObjectManager:function(f,d){var b=d.getParams(),a={},c="",e;"object"===b.routeName?(e=(e=h.v1.get().token.match("/setup/object/[^/]*#_#/([^/]*)/page.*".replace(/\*#_#/g,"*")))&&e[1],!b.disallowDetailTypeFromHistory&&e?(c="/setup/object/{id}/all/{detailType}",a.detailType=e):c="/setup/object/{id}",a.id=b.entityDurableId):"relatedDetail"===b.routeName?(c="/setup/object/{id}/{detailType}/{detailName}",
a.id=b.entityDefinitionId,a.detailType=b.detailType,a.detailName=b.detailName):"objectManager"===b.routeName?(c="/setup/object/manager",b.term&&(c+="?term\x3d{term}",a.term=b.term)):"relatedList"===b.routeName?(c="/setup/object/{id}/all/{detailType}",a.detailType=b.detailType,a.id=b.entityDurableId):"objectPage"===b.routeName?(c="/setup/object/{id}/{detailType}/page?nodeId\x3dObjectManager\x26address\x3d{address}",b.entityDurableId?(a.id=b.entityDurableId,a.detailType=b.detailType):(e=h.v1.get().token.match("/setup/object/([^/]*)/([^/]*)/page.*"))?
(a.id=e[1],a.detailType=e[2]):($A.metricsService.transaction("ltng","error",{context:{eventSource:d.getType(),attributes:{params:b,errorId:"NoEntityIdInObjectManagerRouteError"}}}),c="/setup/page?nodeId\x3dObjectManager\x26address\x3d{address}",a.nodeId="ObjectManager"),a.address=b.url):"objectManagerPage"===b.routeName&&(c="/setup/object/manager/page?address\x3d{address}",a.address=b.url);g.beginNavStateChange(f,d,{componentDef:c,attributes:a},{suppressTitleChange:!0})}}});*/});
$A.componentService.addLibraryExporter("js://forceChatter.methodEmitterService.service",function(){/*$A.componentService.addLibraryInclude("js://forceChatter.methodEmitterService.service",[],function(){function f(b){var a=g[b];a||(a={},g[b]=a);return a}var g={};return{on:function(b,a,d,e){if(!b||!a||!$A.util.isFunction(a[d]))throw"Invalid argument";a=a.getGlobalId();e=f(e);var c=e[b];c||(c=[]);c.push({cmpId:a,fnName:d});e[b]=c;return this},remove:function(b,a,d){if(!b||!a)throw"Invalid argument";var e=a.getGlobalId();a=f(d);(d=a[b])&&(a[b]=d.filter(function(a){return a.cmpId!=e}));return this},emit:function(b,
a,d){if(!b||!a)throw"Invalid argument";(b=f(d)[b])&&b.forEach(function(b){var c=$A.componentService.getComponent(b.cmpId);c&&c.isValid()&&c[b.fnName].apply(c,a)});return this}}});*/});
$A.componentService.addLibraryExporter("js://emailStream.common.utils",function(){/*$A.componentService.addLibraryInclude("js://emailStream.common.utils",[],function(){return{oauth:{terms:{NONE:"",INBOX:"Inbox",EAC:"EAC",INBOX_AND_EAC:"InboxAndEAC"},calculateRemainingTerms:function(a,b,c,d){return b&&!d||a&&!c?b&&a?this.terms.INBOX_AND_EAC:b?this.terms.INBOX:this.terms.EAC:this.terms.NONE}},refreshSystemMessages:function(){$A.getEvt("one:systemMessageRefresh").fire()},popupCenter:function(a,b,c,d){(a=window.open(a,b,"location\x3dno, toolbar\x3dno, width\x3d"+c+", height\x3d"+d+", top\x3d"+
((window.screenTop?window.screenTop:screen.top)+((window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height)-d)/2)+", left\x3d"+((window.screenLeft?window.screenLeft:screen.left)+((window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width)-c)/2)))&&a.focus();return a},showNewActivityTeamModal:function(a,b){$A.createComponent("markup://forceChatter:groupCreationWizard",
{},function(c,d,e){"SUCCESS"===d?$A.getEvt("markup://ui:createPanel").setParams({panelType:"modal",visible:!0,onCreate:a,onDestroy:b,panelConfig:{animation:"center",closeAnimation:"bottom",showCloseButton:!0,closeOnClickOut:!0,useTransition:!0,body:c,showPointer:!1,"class":"",autoFocus:!0,titleDisplay:!1,flavor:"activityGroupModal"}}).fire():$A.getEvt("force:showMessage").setParams({severity:"error",message:e}).fire()})},handleRecordSaveError:function(a){a=this.getRecordSaveErrors(a).join("\n");$A.get("$Browser.isDesktop")?
$A.getEvt("markup://force:showToast").setParams({message:a,type:"error",mode:"dismissible"}).fire():$A.getEvt("markup://force:showMessage").setParams({message:a,severity:"error"}).fire()},getRecordSaveErrors:function(a){var b={},c=[];if(a)for(var d in a){var e=a[d].fieldErrors;if($A.util.isEmpty(e))c.push(a[d].message);else{var h=Object.getOwnPropertyNames(e);if(h)for(var k=0;k<h.length;k++){var f=e[h[k]];if(f)for(var g=0;g<f.length;g++)b[f[g].message]||(c.push(f[g].message),b[f[g].message]=!0)}}}return c},
isValidEmailAddress:function(a){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+){0,})|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(a)}}});*/});
$A.componentService.addLibraryExporter("js://emailStream.common.defaultSharingSettings",function(){/*$A.componentService.addLibraryInclude("js://emailStream.common.defaultSharingSettings",[],function(){return{getDefaultRecords:function(){return[{Id:"email",record:{Title:$A.get("$Label.EmailStream.defaultSharingSettingsEmailTitle"),BodySummary:$A.get("$Label.EmailStream.defaultSharingSettingsEmailBodySummary"),PrimaryToName:$A.get("$Label.EmailStream.defaultSharingSettingsEmailToName"),Author:$A.get("$Label.EmailStream.You"),NumRecipients:1,displayDueDate:"11:00 AM | Feb 02",displayDueDateStyle:"dueDate",
isVisible:!0,sobjectType:"EmailStreamObject"},Subject:$A.get("$Label.EmailStream.defaultSharingSettingsEmailTitle"),isExpanded:!0,isVisible:!0,sobjectLower:"siqemail",cssClasses:"SiqEmail",icon:{iconColor:"95AEC5",iconUrl:"/img/icon/t4v35/standard/email.svg",iconAltText:"Email"},label:$A.get("$Label.activityTimeline.timelineEmailSummaryThirdPersonPast"),privateStreamLabel:$A.get("$Label.activityTimeline.emailIsPrivate"),lookup1:{label:$A.get("$Label.EmailStream.You"),value:$A.get("$Label.EmailStream.You")},
lookup2:{label:$A.get("$Label.EmailStream.defaultSharingSettingsEmailToName"),value:$A.get("$Label.EmailStream.defaultSharingSettingsEmailToName")}},{Id:"event",record:{Title:$A.get("$Label.EmailStream.defaultSharingSettingsEventTitle"),BodySummary:$A.get("$Label.EmailStream.defaultSharingSettingsEventBodySummary"),StartTime:"2016-02-02 11:00",EndTime:"2016-02-02 12:00",ActivityDate:"2016-02-02",displayDueDate:"11:00 AM | Feb 02",displayDueDateStyle:"dueDate",sobjectType:"EventStreamObject",IsAllDayEvent:!0,
isOpenActivity:!0,NumAttendees:1,Locations:$A.get("$Label.EmailStream.defaultSharingSettingsEventLocation"),Author:$A.get("$Label.EmailStream.defaultSharingSettingsEventAuthor")},Subject:$A.get("$Label.EmailStream.defaultSharingSettingsEventTitle"),isVisible:!0,isExpanded:!0,sobjectLower:"siqevent",cssClasses:"SiqEvent",icon:{iconColor:"EB7092",iconUrl:"/img/icon/t4v35/standard/event.svg",iconAltText:"Event"},privateStreamLabel:$A.get("$Label.activityTimeline.eventIsPrivate"),lookup1:{label:$A.get("$Label.EmailStream.defaultSharingSettingsEventAuthor"),
value:$A.get("$Label.EmailStream.defaultSharingSettingsEventAuthor")},label:$A.get("$Label.activityTimeline.timelineSiqEventSummaryPastManyWho")}]},showDefaultSharingSettingsModal:function(d){var e=this.getDefaultRecords();$A.createComponents([["markup://emailStream:defaultSharingSettingsPanel",{sharingType:d,originalSharingType:d,emailRecord:e[0],eventRecord:e[1]}],["markup://emailStream:defaultSharingSettingsPanelFooter",{}]],function(b,a,c){if("SUCCESS"===a)$A.getEvt("markup://ui:createPanel").setParams({panelType:"actionModal",
visible:!0,onCreate:function(a){b[0]._panel=a;a.getElement().querySelector(".forceModalActionContainer").style.padding=".75em"},onDestroy:function(a){b[0]._panel=null},panelConfig:{title:$A.get("$Label.EmailStream.defaultSharingSettingsPanelTitle"),body:b[0],flavor:"subheader",closeOnActionButtonClick:!1,footerActions:b[1]}}).fire();else for(a=0;a<c.length;a++)"ERROR"==c[a].status&&$A.getEvt("force:showMessage").setParams({severity:"error",message:c[a].message}).fire()})}}});*/});
$A.componentService.addLibraryExporter("js://emailStream.common.aseClickTrackingService",function(){/*$A.componentService.addLibraryInclude("js://emailStream.common.aseClickTrackingService",[],function(){var f=null,c=null,g=null,b=null,d=null,e=function(a){var e=(new Date).getTime();c=f=e;b=g=a;d=null};return{init:function(a){e(a)},trackOnNavigateToModal:function(a){b=a;c=(new Date).getTime()},trackNavigateToNextModal:function(a){$A.metricsService.transaction("ltng","interaction",{context:{eventSource:"synthetic-click",eventType:"user",locator:{target:a,scope:b,context:{feature:"ase-setup"}},attributes:{"onshow-datetime":c,
"init-datetime":f}}});d=a},trackCloseWindow:function(){!("modalFinalize"===b&&"finish"===d)&&!("modalReviewTerms"===b&&"cancel"===d)&&$A.metricsService.transaction("ltng","interaction",{context:{eventSource:"synthetic-click",eventType:"user",locator:{target:"close-window",scope:b,context:{feature:"ase-setup"}},attributes:{"onshow-datetime":c,"init-datetime":f}}});e(g)}}});*/});
$A.componentService.addLibraryExporter("js://home.heroChartLibrary.LinearScale",function(){/*$A.componentService.addLibraryInclude("js://home.heroChartLibrary.LinearScale",[],function(){return{getLinearScale:function(){return{_domain:[0,1],_range:[0,1],_dx:1,_dy:1,_kx:1,_ky:1,scale:function(a){a=(a-this._domain[0])*this._kx;return this._range[0]+this._dy*a},invert:function(a){return(a-this._range[0])*this._ky+this._domain[0]},domain:function(a){if(null==a)return this._domain;this._domain=a;this._domain[0]=+this._domain[0];this._domain[1]=+this._domain[1];this._kx=(this._dx=this._domain[1]-
this._domain[0])?1/this._dx:0;this._ky=this._dy?this._dx/this._dy:0;return this},range:function(a){if(null==a)return this._range;this._range=a;this._ky=(this._dy=this._range[1]-this._range[0])?this._dx/this._dy:0;return this}}}}});*/});
$A.componentService.addLibraryExporter("js://home.heroChartLibrary.HeroChartUtil",function(){/*$A.componentService.addLibraryInclude("js://home.heroChartLibrary.HeroChartUtil",[],function(){function a(){}a.ReportKeys={AMOUNT:"s!AMOUNT",DATE:"CLOSE_DATE",OPEN:$A.get("$Label.Report.false").toLowerCase(),CLOSED:$A.get("$Label.Report.true").toLowerCase(),TOTAL:"Total",REPORT_DATE_FORMAT:"yyyy-MM-dd"};a.ChartKeys={ATTR_X:"dateAsNumber",ATTR_RAW_X:"date",ATTR_DISPLAY_X:"dateLabel",ATTR_DISPLAY_Y:"formattedAmount",ATTR_Y:"amount",ATTR_HAS_NO_DATA:"hasNoData",ATTR_X_RANGE:"dateRange"};a.shortDateFormat=
"l";a.getCurrencyFormatter=function(){this._format||(this._format=($A.get("$Home.isMultiCurrencyEnabled")?$A.get("$Home.currencyCode")+" "+$A.get("$Locale.numberFormat"):$A.get("$Home.currencyFormat")||$A.get("$Locale.currencyFormat")).replace(/\.(#|0){0,}/,""));var a=$A.get("$Home.currencySymbols");try{return $A.localizationService.getNumberFormat(this._format,a)}catch(b){return $A.localizationService.getDefaultNumberFormat()}};a.formatCurrency=function(a){var b;if(!$A.util.isUndefinedOrNull(a))try{b=
this.getCurrencyFormatter().format(a)}catch(c){b=a}return b};a.formatDate=function(d,b){var c=!$A.util.isUndefinedOrNull(b)?b:a.shortDateFormat;return $A.localizationService.formatDate(d,c)};return a});*/});
$A.componentService.addLibraryExporter("js://forceChatter.offlineMessageService.service",function(){/*$A.componentService.addLibraryInclude("js://forceChatter.offlineMessageService.service",[],function(){function a(){}a.OfflineMessagingUnavailableError=function(){this.message="An 'offline' message cannot be displayed.";this.name="OfflineMessagingUnavailableError";this.stack=Error().stack};a.OfflineMessagingUnavailableError.prototype=Object.create(Error.prototype);a.show=function(c){var b=$A.getEvt("markup://force:showOfflineMessage");if($A.util.isUndefinedOrNull(b))throw new a.OfflineMessagingUnavailableError;
$A.util.isFunction(c)&&b.setParams({retryFunction:c});b.fire()};return a});*/});
$A.componentService.addLibraryExporter("js://ui.virtualDataGridLib.columnResize",function(){/*$A.componentService.addLibraryInclude("js://ui.virtualDataGridLib.columnResize",[],function(h){h||(h=window);var k=["webkit","Moz","ms"],n={ltr:{37:"increase",39:"decrease"},rtl:{37:"decrease",39:"increase"}},l={ltr:"left",rtl:"right"},m=function(a,b){this._initializeConfig(b);this._initializeResizer(a);this._initializeColumns(a)};m.prototype={DIVIDER_RELAYOUT_DELAY:17,_setDividerHeight:function(a){var b=this;return(new Promise($A.getCallback(function(a){setTimeout(a,b.DIVIDER_RELAYOUT_DELAY)}))).then($A.getCallback(function(){var b=
window.innerHeight,d=a.querySelector(".column-divider");if(a.parentNode){var e=a.parentNode.getBoundingClientRect().top;d.style.height=b-e+"px"}}))},_initializeConfig:function(a){a=a||{};this.config={container:a.container,initialWidths:a.initialWidths,step:a.step||10,minWidth:a.minWidth||20,maxWidth:a.maxWidth||1E3,indicatorClasses:a.indicatorClasses||"",contentSpanClasses:a.contentSpanClasses||"content",headerSpanClasses:a.headerSpanClasses||"header-wrapper",assistiveLabel:a.assistiveLabel||"Column Width"}},
_initializeResizer:function(a){this.container=this.config.container||a.parentNode;this.tableParent=a.parentNode;this.table=a;this._events={};this.current=null;this.indicator=this._createIndicator();this.tableParent.insertBefore(this.indicator,a);this._setDividerHeight(this.indicator);this._initializeBrowserSupport()},_initializeColumns:function(a){this.columns=[];for(var b=a.querySelectorAll("thead th"),c=0;c<b.length;c++)this.columns[c]=b[c];0<this.columns.length&&(this._initializeHandles(a),this.indicator.style.height=
this.columns[0].clientHeight+"px")},_initializeBrowserSupport:function(){var a=h.document.documentElement.style;if("undefined"!==typeof a.transform)this.transformStyle="transform";else for(var b=0;b<k.length;b++){var c=k[b]+"Transform";if("undefined"!==typeof a[c]){this.transformStyle=c;break}}},_initializeHandles:function(a){for(var b=0,c=this.columns,d=this.config.initialWidths||[],e=Promise.resolve(),f=this,g=0;g<c.length;g++)e=this._calculateWidthAsync(e,c[g],d[g]).then(function(a){b+=a.clientWidth});
e=e.then($A.getCallback(function(){return f._setDividerHeight(f.indicator)})).then($A.getCallback(function(){a.style.width=b+"px"}))},_calculateWidthAsync:function(a,b,c){var d=this;if(!this.hasHandle(b)){var e=this._createHandle();this._attachHandle(b,e);a=a.then($A.getCallback(function(){b._resized?c=b.clientWidth:(c=c||b.clientWidth,c<d.config.minWidth&&(c=d.config.minWidth));return d._setDividerHeight(e).then(function(){return c})})).then($A.getCallback(function(a){d._resize(b,a);d._updateRange(d._findRangeElement(b),
b.clientWidth)}))}return a.then(function(){return b})},_attachHandle:function(a,b){var c=document.createElement("span");for(c.setAttribute("class",this.config.contentSpanClasses);a.firstChild;)c.appendChild(a.firstChild);var d=document.createElement("span");d.setAttribute("class",this.config.headerSpanClasses);d.appendChild(c);d.appendChild(b);c=document.createElement("div");c.appendChild(d);a.appendChild(c)},_createIndicator:function(){for(var a=document.createElement("div"),b=$A.util.isString(this.config.indicatorClasses)?
this.config.indicatorClasses:"",b=b.split(/\s+/),c=0;c<b.length;c++)a.classList.add(b[c]);a.classList.add("indicator");b=document.createElement("span");b.classList.add("column-divider");a.appendChild(b);return a},_createHandle:function(a){var b=document.createElement("div");b.classList.add("handle");a=this._createRangeElement(a);var c=document.createElement("span");c.classList.add("resize-button");var d=document.createElement("span");d.classList.add("column-divider");c.appendChild(d);b.appendChild(a);
b.appendChild(c);b.addEventListener("keydown",this);b.addEventListener("mousedown",this);b.addEventListener("touchstart",this);return b},_createRangeElement:function(a){var b=document.createElement("input");b.setAttribute("type","range");b.setAttribute("min",this.config.minWidth);b.setAttribute("max",this.config.maxWidth);b.value=a;b.addEventListener("focus",function(a){(a=a.target.parentNode.querySelector(".resize-button"))&&this._setDividerHeight(a)}.bind(this));return b},_slideIndicator:function(a){var b=
this._getTranslatedPosition(this.indicator),c=this.indicator.offsetParent;if(c){var d=$A.get("$Locale.dir");a-=c.getBoundingClientRect()[l[d]]}this.indicator.style[this.transformStyle]="translate3d("+a+"px,"+b.y+"px,"+b.z+"px)";this._setTranslatedPosition(this.indicator,"x",a)},_getTranslatedPosition:function(a){return{x:a._x||0,y:a._y||0,z:a._z||0}},_setTranslatedPosition:function(a,b,c){a["_"+b]=c},_addTableWidth:function(a){var b=this.tableWidth;null!==this.table.offsetParent&&(b=this.table.clientWidth);
this.tableWidth=b+a;this.table.style.width=this.tableWidth+"px"},resizeColumn:function(a,b,c){b<this.config.minWidth&&(b=this.config.minWidth);var d=b-a.clientWidth;this._resize(a,b);this._addTableWidth(d);this.isValid(a)||(this._resize(a,a.clientWidth),this._addTableWidth(a.clientWidth-b));c&&this._updateRange(c,a.clientWidth);this._fire("resize",{index:this.columns.indexOf(a),width:a.clientWidth});a._resized=!0;return a.clientWidth},_resize:function(a,b){a.style.width=b+"px"},_updateRange:function(a,
b){a.value=b},attachHandlers:function(a){a?(this.container.addEventListener("mousemove",this),this.container.addEventListener("mouseup",this),this.container.addEventListener("mouseleave",this),this.indicator.addEventListener("mouseup",this)):(this.container.addEventListener("touchmove",this),this.container.addEventListener("touchend",this),this.container.addEventListener("touchcancel",this))},detachHandlers:function(a){a?(this.container.removeEventListener("mousemove",this),this.container.removeEventListener("mouseup",
this),this.container.removeEventListener("mouseleave",this),this.indicator.removeEventListener("mouseup",this)):(this.container.removeEventListener("touchmove",this),this.container.removeEventListener("touchend",this),this.container.removeEventListener("touchcancel",this))},handleEvent:function(a){switch(a.type){case "mousedown":this._onStart(a,!0);$A.util.squash(a,!0);break;case "mousemove":this._onMove(a,!0);break;case "mouseup":case "mouseleave":this._onEnd(!0);break;case "touchstart":this._onStart(a,
!1);break;case "touchmove":this._onMove(a,!1);break;case "touchend":case "touchcancel":this._onEnd(!1);break;case "keydown":this._onKeydown(a);break;case "focus":this._onFocus(a)}},_onStart:function(a,b){var c=this._findParentTH(a.target),d=l[$A.get("$Locale.dir")||"ltr"],e=a.target.getBoundingClientRect()[d],f=this._getClientX(a,b);null!=f&&(this.current={element:c,range:this._findRangeElement(c),cursorOffset:f-e,startX:e,width:c.clientWidth,tableOffset:this.table.getBoundingClientRect()[d],handleWidth:this.indicator.offsetWidth},
this.attachHandlers(b),this.indicator.classList.add("active"),this.table.classList.add("resizing"),this._setDividerHeight(this.indicator),this._slideIndicator(e))},_onMove:function(a,b){var c=this.current,d="rtl"===$A.get("$Locale.dir"),e=c.element.getBoundingClientRect(),f=this._getClientX(a,b);if(null!=f&&(f-=c.cursorOffset,d=d?e.right-f+c.handleWidth:f-e.left+c.handleWidth,d>this.config.minWidth||f>c.startX))this._slideIndicator(f),c.width=d},_onEnd:function(a){var b=this.current;this.resizeColumn(b.element,
b.width,b.range);this.detachHandlers(a);this.current=null;this.table.classList.remove("resizing");this.indicator.classList.remove("active")},_getClientX:function(a,b){return b?a.clientX:a.changedTouches.length?a.changedTouches[0].clientX:null},_onKeydown:function(a){var b=n[$A.get("$Locale.dir")||"ltr"][a.keyCode];a=a.target;switch(b){case "increase":b=this._findParentTH(a);this.resizeColumn(b,b.clientWidth-this.config.step,a);break;case "decrease":b=this._findParentTH(a),this.resizeColumn(b,b.clientWidth+
this.config.step,a)}},on:function(a,b,c){(this._events[a]||(this._events[a]=[])).push({fn:b,context:c})},_fire:function(a){var b=this._events[a],c=b&&b.length,d=Array.prototype.slice.call(arguments,1),e;if(c)for(var f=0;f<c;f++)e=b[f],e.fn.apply(e.context||this,d)},_findParentTH:function(a){for(;"TH"!==a.tagName;)a=a.parentNode;return a},_findRangeElement:function(a){return a?a.querySelector('input[type\x3d"range"]'):null},isValid:function(a){return null===a.offsetParent?!0:a.clientWidth+"px"===a.style.width},
hasHandle:function(a){return a?null!==a.querySelector(".handle"):!1},updateColumns:function(){this.indicator&&this._setDividerHeight(this.indicator);this._initializeColumns(this.table)},getColumnWidths:function(){return this.columns.map(function(a){return a.clientWidth})},resize:function(a,b){var c=this.columns[a];c&&0<b&&this.resizeColumn(c,b,this._findRangeElement(c))},resizeAll:function(a){for(var b=this.tableWidth=0;b<a.length;b++)this.resize(b,a[b]);for(a=b;a<this.columns.length;a++)this.resize(a,
this.config.minWidth)},updateAccessibilityLabels:function(a){for(var b=this.columns,c=0;c<b.length;c++)this._findRangeElement(b[c]).setAttribute("aria-label",a[c]+" "+this.config.assistiveLabel)}};return{initializeColumnResizer:function(a,b){return new m(a,b)}}});*/});
$A.componentService.addLibraryExporter("js://ui.virtualDataGridLib.keyNav",function(){/*$A.componentService.addLibraryInclude("js://ui.virtualDataGridLib.keyNav",[],function(d){d||(d=window);d=function(){};d.prototype={initialize:function(a,b){this.tbody=a;this.currentRowIndex=0;a.addEventListener("keydown",this._onKeydown.bind(this),!0);a.addEventListener("click",this._onClick.bind(this));this.updateRowElements(b)},updateRowElements:function(a){this.rowElements=a;0<a.length&&(this.currentRowIndex=Math.min(this.currentRowIndex,a.length-1),this._targetColumnIndex=this._findTargetColumnIndex(0),
this._getInputElement(this.currentRowIndex,this._targetColumnIndex).setAttribute("tabindex","0"))},_getInputElement:function(a,b){return this.rowElements[a].children[b].getElementsByTagName("input")[0]},focus:function(a,b){var c=this._getInputElement(a,b);c&&c.focus()},navigateToRow:function(a){this._targetColumnIndex||(this._targetColumnIndex=this._findTargetColumnIndex(a));this.focus(a,this._targetColumnIndex)},_findTargetRowIndex:function(a){for(;a;){var b=parseInt(a._index,10);if(-1<b)return parseInt(b,
10);a=a.parentNode}return 0},_findTargetColumnIndex:function(a){a=this.rowElements[a].children;for(var b=0,c=0;c<a.length;c++)if(a[c].getElementsByTagName("input")[0]){b=c;break}return b},_onKeydown:function(a){switch(a.keyCode){case 38:0<this.currentRowIndex&&(this._updateCurrentRowIndex(this.currentRowIndex-1),this.navigateToRow(this.currentRowIndex));a.preventDefault();a.stopPropagation();break;case 40:this.currentRowIndex+1<this.rowElements.length&&(this._updateCurrentRowIndex(this.currentRowIndex+
1),this.navigateToRow(this.currentRowIndex)),a.preventDefault(),a.stopPropagation()}},_updateCurrentRowIndex:function(a){if(a!==this.currentRowIndex){var b=this._getInputElement(this.currentRowIndex,this._targetColumnIndex),c=this._getInputElement(a,this._targetColumnIndex);b.setAttribute("tabindex","-1");c.setAttribute("tabindex","0");this.currentRowIndex=a}},_onClick:function(a){this._updateCurrentRowIndex(this._findTargetRowIndex(a.target));this.focus(this.currentRowIndex,this._targetColumnIndex)}};
return new d});*/});
$A.componentService.addLibraryExporter("js://one.navRouter.NavRouter",function(){/*$A.componentService.addLibraryInclude("js://one.navRouter.NavRouter","js://one.navRouter.AlohaMappingsUrlHandler js://one.navRouter.ExternalLocationUrlHandler js://one.navRouter.ExternalPageWindowsDeviceUrlHandler js://one.navRouter.ExternalPageNativeUrlHandler js://one.navRouter.ExternalPageUrlHandler js://one.navRouter.AlohaInNewWindowUrlHandler js://one.navRouter.HomePageUrlHandler js://one.navRouter.AuraUrlHandler js://one.navRouter.LightningComponentUrlHandler js://one.navRouter.WeakHttpsAndXdsAuthUrlHandler js://one.navRouter.VisualForceUrlHandler js://one.navRouter.DefaultUrlHandler".split(" "),
function(h,k,l,m,n,p,q,r,s,t,u,d){function g(a,b,c,e){return a.length>b?a[b].canHandle(c,e).then($A.getCallback(function(d){return d?a[b]:g(a,b+1,c,e)})):Promise.resolve(new d)}var a=[];return{initHandlers:function(f){$A.util.isEmpty(a)&&(a.push(u),a.push(h),a.push(k),a.push(l),a.push(m),a.push(n),a.push(p),a.push(q),a.push(r),a.push(s),a.push(t),a.push(d),$A.util.forEach(a,function(a){a.init(f)}))},getHandler:function(f,b){return g(a,0,f,b)},route:function(a,b){var c;return this.getHandler(a,b).then($A.getCallback(function(e){c=
e;return c.handle(a,b)})).then($A.getCallback(function(b){$A.log("NavRouter: "+c.name+" handled url: "+a.getFullUrl()+", result: "+JSON.stringify(b));return b}))}}});*/});
$A.componentService.addLibraryExporter("js://one.navRouter.AlohaMappingsUrlHandler",function(){/*$A.componentService.addLibraryInclude("js://one.navRouter.AlohaMappingsUrlHandler",[],function(){function q(f,c){for(var b=c.getNormalizedUrl(),d=null,e=null,d=0;d<f.length;d++){var a=f[d],l=RegExp(a.regEx);if(l.test(b)){d=a.routeDef||a.componentDef;try{var h=b.replace(l,a.componentAttributes),e=JSON.parse(h)}catch(k){throw Error("JSON: '"+h+"' produced error: "+k);}if(e.scope&&3===e.scope.length){a:{a=void 0;for(a in g.scopesToKeyPrefixes)if(e.scope===g.scopesToKeyPrefixes[a])break a;a=null}a&&(e.scope=
a)}if("one:alohaPage"===d&&e.address)a=m.parse(e.address,{decode:!0}),b=a.queryDecoded.vfRetURLInSFX,b||(window.location.hash?b=window.location.href:(l=/^\/(\w{3})\/e/.exec(a.path||""))&&(b="/"+l[1]+"/o"),a.queryDecoded.id&&(b="/"+a.queryDecoded.id),b&&(a.queryDecoded.vfRetURLInSFX=b),e.address=m.toURL(a));else if("e.force:createRecord"===d&&!e.retURL&&(a=m.parse(b,{decode:!0}),b=a.queryDecoded.vfRetURLInSFX||a.queryDecoded.retURL))e.retURL=b;return{definition:d,attributes:e}}}return null}var g={},
h=null,n=null,p,k,m;return{name:"AlohaMappingsUrlHandler",init:function(f){g=f;h=g.alohaURLMappingsLoader;n=g.routeMappingsLoader;p=g.DefType;k=g.Token;m=g.uriUtil},canHandle:function(f){var c=f.getNormalizedUrl();return c&&"/"!=c[0]&&!f.isSameOrigin()&&!f.isSeparateDomainUrl()||-1<c.indexOf("?S1FullSite")?Promise.resolve(!1):h().then(function(b){for(var d=0;d<b.length;d++)if(RegExp(b[d].regEx).test(c))return!0;return!1})},handle:function(f){return h().then($A.getCallback(function(c){var b={};c=q(c,
f);if($A.util.isEmpty(c))return!1;var d=!1,e=c.definition,a=c.attributes;c=Promise.resolve();p.isRouteDef(e)&&(c=k.encodeToken({componentDef:e,attributes:{values:a}}),c=k._decodeToken(c,{routeMappingsLoader:n}).then($A.getCallback(function(a){d="one:alohaPage"===a.componentDef})));return c.then(function(){f.hasSitePrefix()&&a&&(a.address?a.address=f.getSitePrefix()+a.address:a.recordId&&(a.recordId=f.getSitePrefix().substring(1)+"/"+a.recordId));b={componentDef:e,attributes:a};d&&(b.options={isAlohaPageRoute:!0});
return b})}))}}});*/});
$A.componentService.addLibraryExporter("js://one.navRouter.ExternalLocationUrlHandler",function(){/*$A.componentService.addLibraryInclude("js://one.navRouter.ExternalLocationUrlHandler",[],function(){return{name:"ExternalLocationUrlHandler",init:function(a){},canHandle:function(a){return Promise.resolve(a.isExternalLocation())},handle:function(a){window.location=a.getFullUrl();return Promise.resolve(!0)}}});*/});
$A.componentService.addLibraryExporter("js://one.navRouter.ExternalPageWindowsDeviceUrlHandler",function(){/*$A.componentService.addLibraryInclude("js://one.navRouter.ExternalPageWindowsDeviceUrlHandler",[],function(){return{name:"ExternalPageWindowsDeviceUrlHandler",init:function(a){},canHandle:function(a){return Promise.resolve(!a.isSeparateDomainUrl()&&a.isExternalPage()&&($A.get("$Browser.isWindowsPhone")||$A.get("$Browser.isWindowsTablet")))},handle:function(a){var b=document.createElement("a");b.href=a.getRelativeUrl();b.target="_blank";document.body.appendChild(b);b.click();document.body.removeChild(b);
return Promise.resolve(!0)}}});*/});
$A.componentService.addLibraryExporter("js://one.navRouter.ExternalPageNativeUrlHandler",function(){/*$A.componentService.addLibraryInclude("js://one.navRouter.ExternalPageNativeUrlHandler",[],function(){var b={};return{name:"ExternalPageNativeUrlHandler",init:function(a){b=a},canHandle:function(a){return Promise.resolve(!a.isSeparateDomainUrl()&&a.isExternalPage()&&b.isNativeContainer)},handle:function(a){$A.get("e.native:openPopup").setParams({url:a.getRelativeUrl()}).fire();return Promise.resolve(!0)}}});*/});
$A.componentService.addLibraryExporter("js://one.navRouter.ExternalPageUrlHandler",function(){/*$A.componentService.addLibraryInclude("js://one.navRouter.ExternalPageUrlHandler",["js://one.navRouter.HandlerUtil"],function(c){var d={};return{name:"ExternalPageUrlHandler",init:function(a){d=a},canHandle:function(a){return Promise.resolve(!a.isSeparateDomainUrl()&&a.isExternalPage())},handle:function(a,e){var b=a.getRelativeUrl(),b=b.replace(/(?:\?|&)isdtp=p1/,""),g=c.targetDomain(b),f=window.open(b);f.opener=null;f||d.isSalesforceNativeDesktop?e.isredirect&&$A.get("e.one:back").fire():c.openTargetRedirectModal(b,
g,!0,e.isredirect);return Promise.resolve(!0)}}});*/});
$A.componentService.addLibraryExporter("js://one.navRouter.AlohaInNewWindowUrlHandler",function(){/*$A.componentService.addLibraryInclude("js://one.navRouter.AlohaInNewWindowUrlHandler",[],function(){var b={};return{name:"AlohaInNewWindowUrlHandler",init:function(a){b=a},canHandle:function(a){return Promise.resolve(0===a.getRelativeUrl().indexOf(b.fullSiteURLWithQuery))},handle:function(a){try{window.open(a.getRelativeUrl())}catch(b){window.location.assign(a.getRelativeUrl())}return Promise.resolve(!0)}}});*/});
$A.componentService.addLibraryExporter("js://one.navRouter.HomePageUrlHandler",function(){/*$A.componentService.addLibraryInclude("js://one.navRouter.HomePageUrlHandler",[],function(){var b={};return{name:"HomePageUrlHandler",init:function(a){b=a},canHandle:function(a){a=a.getNormalizedUrl();return 0===a.indexOf(b.fullSiteURL)?Promise.resolve(-1==a.indexOf("?")||a.indexOf("?isdtp\x3dp1")===a.length-9):Promise.resolve(!1)},handle:function(a){$A.get("e.force:navigateHome").fire();return Promise.resolve(!0)}}});*/});
$A.componentService.addLibraryExporter("js://one.navRouter.AuraUrlHandler",function(){/*$A.componentService.addLibraryInclude("js://one.navRouter.AuraUrlHandler",["js://one.centerStageLibrary.DefType"],function(f){var c,d;return{name:"AuraUrlHandler",init:function(a){c=a.Token;d=a.routeMappingsLoader},canHandle:function(a){return Promise.resolve(a.isSameOrigin()&&a.getToken())},handle:function(a){var b=a.getToken(),e=null;return c._decodeToken(b,{routeMappingsLoader:d}).then($A.getCallback(function(a){$A.util.isObject(a)&&(a.attributes&&(e=a.attributes.values||a.attributes),a.componentDef&&
!f.isRouteDef(b)&&(b=a.componentDef));return{componentDef:b,attributes:e}}))}}});*/});
$A.componentService.addLibraryExporter("js://one.navRouter.LightningComponentUrlHandler",function(){/*$A.componentService.addLibraryInclude("js://one.navRouter.LightningComponentUrlHandler",[],function(){var b=/.{0,}\/(.{0,})\/(.{0,})\.cmp/;return{name:"LightningComponentUrlHandler",init:function(a){},canHandle:function(a){return Promise.resolve(b.test(a.getRelativeUrl()))},handle:function(a){a=b.exec(a.getRelativeUrl());var c=a.pop();a=a.pop()+":"+c;return Promise.resolve({componentDef:"one:auraContainer",attributes:{tag:a}})}}});*/});
$A.componentService.addLibraryExporter("js://one.navRouter.WeakHttpsAndXdsAuthUrlHandler",function(){/*$A.componentService.addLibraryInclude("js://one.navRouter.WeakHttpsAndXdsAuthUrlHandler",[],function(){return{name:"WeakHttpsAndXdsAuthUrlHandler",init:function(a){},canHandle:function(a){a=a.getNormalizedUrl();return Promise.resolve(0===a.indexOf("/secur/weakhttps.jsp?")||0===a.indexOf("/services/auth/xds/"))},handle:function(a){window.location=a.getFullUrl();return Promise.resolve(!0)}}});*/});
$A.componentService.addLibraryExporter("js://one.navRouter.VisualForceUrlHandler",function(){/*$A.componentService.addLibraryInclude("js://one.navRouter.VisualForceUrlHandler",["js://force.util.uriUtil"],function(c){return{name:"VisualForceUrlHandler",init:function(a){},canHandle:function(a){return Promise.resolve(!1)},handle:function(a){a=c.parse(a.getRelativeUrlWithSitePrefix(),{decode:!0});var b=a.path;a.query&&(b+="?"+a.query);return Promise.resolve({componentDef:b})}}});*/});
$A.componentService.addLibraryExporter("js://one.navRouter.DefaultUrlHandler",function(){/*$A.componentService.addLibraryInclude("js://one.navRouter.DefaultUrlHandler",["js://one.navRouter.HandlerUtil"],function(c){var d={};return{name:"DefaultUrlHandler",init:function(b){d=b},canHandle:function(b){return Promise.resolve(!0)},handle:function(b,e){var a=b.getFullUrl(),a=a.replace(/(?:\?|&)isdtp=p1/,""),f=c.targetDomain(a);return d.isAlohaEmbeddable?(window.open(a)||c.openTargetRedirectModal(a,f,!0,e.isredirect),Promise.resolve(!0)):Promise.resolve({componentDef:"one:unsupported",attributes:{address:a}})}}});*/});
$A.componentService.addLibraryExporter("js://one.navRouter.HandlerUtil",function(){/*$A.componentService.addLibraryInclude("js://one.navRouter.HandlerUtil",[],function(){return{openTargetRedirectModal:function(a,b,c,d){a={targetUrl:a,displayedUrl:b,isRedirect:d};c&&(a.headerLabel=$A.get("$Label.LightningRedirectWarningPage.redirectHeaderSalesforce"),a.targetUrlExplanationLabel1=$A.get("$Label.LightningRedirectWarningPage.redirectBodySalesforce1"),a.targetUrlExplanationLabel2=$A.get("$Label.LightningRedirectWarningPage.redirectBodySalesforce2"),a.cancelButtonLabel=$A.get("$Label.LightningRedirectWarningPage.redirectNoSalesforce"),
a.confirmButtonLabel=$A.get("$Label.LightningRedirectWarningPage.redirectYesSalesforce"));$A.createComponent("one:externalRedirect",a,function(a){var b=$A.getEvt("markup://ui:createPanel");b.setParams({panelType:"modal",visible:!0,panelConfig:{body:a,flavor:"small",bodyClass:""}});b.fire()})},targetDomain:function(a){var b=document.createElement("a");b.href=a;a=null;"origin"in b?a=b.origin:(a=b.protocol+"//"+b.host,/^https(.{0,}):443$/.test(a)?a=a.substring(0,a.length-4):/^http(.{0,}):80$/.test(a)&&
(a=a.substring(0,a.length-3)));return a}}});*/});
$A.componentService.addLibraryExporter("js://force.loginHints.sessionClient",function(){/*$A.componentService.addLibraryInclude("js://force.loginHints.sessionClient",[],function(){return{api:function(e,h,r){function l(a){if(a.origin.split("://")[1].split(":")[0]===r){try{var c=JSON.parse(a.data);if(!c)return}catch(b){return}if("sfdcsession::ready"===c.cmd)f=d.contentWindow,setTimeout(s,0);else if(a=g[c.id])a.callback&&a.callback(c),delete g[c.id]}}function s(){for(var a=0;a<k.length;a++){var c=g[k.shift()];f.postMessage(JSON.stringify(m(c)),h)}}function m(a){var c={},b;for(b in a)a.hasOwnProperty(b)&&
"function"!=typeof a[b]&&(c[b]=a[b]);return c}function b(a){if(!n)if(a.id=p,g[p++]=a,!d||!f){if(k.push(a.id),!d&&!f){a=e.document;d=a.createElement("iframe");d.setAttribute("title","sessionserver");d.setAttribute("aria-hidden","true");var b=d.style;b.position="absolute";b.left=b.top="-999px";e.addEventListener?e.addEventListener("message",l,!1):e.attachEvent&&e.attachEvent("onmessage",l);a.body.appendChild(d);d.src=h}}else f.postMessage(JSON.stringify(m(a)),h)}var q=!1;try{q=!!e.localStorage}catch(t){}var n=
!(e.postMessage&&q),d=null,f=null,g={},p=0,k=[];return{setIdentity:function(a){a||(a={});b({cmd:"sfdcsession::setIdentity",uid:a.uid||null,oid:a.oid||null,identity:a.identity||"",expire:a.expire||0,session:a.session||!1,active:a.active||!1,activeonly:a.activeonly||!1,community:a.community||!1,mydomain:a.mydomain||!1,callback:a.callback||null})},getIdentities:function(a){a||(a={});b({cmd:"sfdcsession::getIdentities",get:a.get||[],callback:a.callback||null})},active:function(a){a||(a={});b({cmd:"sfdcsession::active",
uid:a.uid||null,oid:a.oid||null,callback:a.callback||null})},inactive:function(a){a||(a={});b({cmd:"sfdcsession::inactive",uid:a.uid||null,oid:a.oid||null,callback:a.callback||null,upexp:a.upexp||null})},updateAndActivate:function(a){a||(a={});b({cmd:"sfdcsession::updateandactivate",uid:a.uid||null,oid:a.oid||null,expire:a.expire||0,session:a.session||!1,instance:a.instance||null,callback:a.callback||null})},updateLastused:function(a){a||(a={});b({cmd:"sfdcsession::updatelastused",uid:a.uid||null,
oid:a.oid||null,callback:a.callback||null})},updateExpires:function(a){a||(a={});b({cmd:"sfdcsession::updateexpires",uid:a.uid||null,oid:a.oid||null,expire:a.expire||0,callback:a.callback||null})},deleteIdentity:function(a){a||(a={});b({cmd:"sfdcsession::deleteIdentity",uid:a.uid||null,oid:a.oid||null,callback:a.callback||null})},changeDisplay:function(a){a||(a={});b({cmd:"sfdcsession::changeDisplay",uid:a.uid||null,oid:a.oid||null,display:a.display||null,callback:a.callback||null})},disabled:n}}}});*/});
$A.componentService.addLibraryExporter("js://forceContent.fileDroppableLibrary.util",function(){/*$A.componentService.addLibraryInclude("js://forceContent.fileDroppableLibrary.util",[],function(){var b={componentsMap:{},pageDragEventsListener:null,cmpDragEventsListener:null,dragCmpEventTypes:["dragover","dragenter","dragleave","drop"],dragPageEventTypes:["dragover","dragenter","dragleave","drop"],registerCmp:function(a){a.isInstanceOf("forceContent:fileDroppable")&&(b.registerDragEvents(a),b.componentsMap[a.getGlobalId()]=a)},deregisterCmp:function(a){delete b.componentsMap[a.getGlobalId()];b.deregisterDragEvents(a)},
registerDragEvents:function(a){0===Object.keys(b.componentsMap).length&&b.dragPageEventTypes.forEach(function(a){$A.util.on(document.body,a,b.getPageDragEventsListener(),!0)});b.dragCmpEventTypes.forEach(function(c){$A.util.on(a.getElement(),c,b.getCmpDragEventsListener(a),!0)})},deregisterDragEvents:function(a){0===Object.keys(b.componentsMap).length&&(b.dragPageEventTypes.forEach(function(a){$A.util.removeOn(document.body,a,b.getPageDragEventsListener(),!0)}),b.pageDragEventsListener=null,b.cmpDragEventsListener=
null,b._dragEnterElement=null);b.dragCmpEventTypes.forEach(function(c){a._dragEnterElement=null;$A.util.removeOn(a.getElement(),c,b.getCmpDragEventsListener(a),!0)})},invokePageDragEventsHandler:function(a){if(b.isFileDrag(a)){a.preventDefault();if("dragenter"===a.type)b._dragEnterElement=a.target;else if("dragleave"===a.type){if(b._dragEnterElement!==a.target&&!b.isDragEdgeOfPage(a))return}else if("dragover"===a.type)return;var c=Object.keys(b.componentsMap),d=b.getOpenedModal();c.forEach(function(c){var e=
b.componentsMap[c];e&&(!b.isDragDisabled(e)&&(!d||d&&$A.util.contains(d.getElement(),e.getElement())))&&b.componentsMap[c].handlePageDragEvent(a)})}},invokeCmpDragEventsHandler:function(a){if(b.isFileDrag(a)){a.preventDefault();var c=$A.getComponent(a.currentTarget).getOwner();if("dragenter"===a.type)c._dragEnterElement=a.target;else if("dragleave"===a.type&&c._dragEnterElement!==a.target)return;b.isDragDisabled(c)||c.handleComponentDragEvent(a)}},getPageDragEventsListener:function(){b.pageDragEventsListener||
(b.pageDragEventsListener=$A.getCallback(function(a){b.invokePageDragEventsHandler(a)}));return b.pageDragEventsListener},getCmpDragEventsListener:function(a){b.cmpDragEventsListener||(b.cmpDragEventsListener=$A.getCallback(function(a){b.invokeCmpDragEventsHandler(a)}));return b.cmpDragEventsListener},isFileDrag:function(a){try{var b=a.dataTransfer;if(b&&b.types)for(var d in b.types)if(d&&b.types[d]&&"Files"===b.types[d])return!0;return!1}catch(f){return!1}},isDragDisabled:function(a){return a.get("v.disabled")},
getOpenedModal:function(){var a=null;$A.getEvt("ui:getActivePanel").setParams({callback:function(b){b&&"force:modal"===b.getType()&&(a=b)}}).fire();return a},isDragEdgeOfPage:function(a){return $A.get("$Browser.isFIREFOX")?-50<document.body.clientHeight-a.pageY:!1}};return{register:b.registerCmp,deregister:b.deregisterCmp}});*/});
$A.componentService.addLibraryExporter("js://force.massActionLib.utilities",function(){/*$A.componentService.addLibraryInclude("js://force.massActionLib.utilities",[],function(){this.splitBulkRecords=function(a){return!$A.util.isEmpty(a)&&0<a.indexOf(":")?a.split(":"):[].concat(a)};this.joinBulkRecords=function(a){return!$A.util.isEmpty(a)&&$A.util.isArray(a)?a.join(":"):a};return this});*/});
$A.componentService.addLibraryExporter("js://runtime_sales_activities.taskStatusLibrary.statusBroker",function(){/*$A.componentService.addLibraryInclude("js://runtime_sales_activities.taskStatusLibrary.statusBroker",[],function(){var c={},f=[],g=null,d="INITIAL";return{initializeMap:function(a){return"INITIAL"===d?(d="LOADING",this.getStatuses(),!0):!1},getStatuses:function(){var a=this;g||$A.createComponent("markup://runtime_sales_activities:taskStatusBroker",{},function(b,e,c){"SUCCESS"===e?(g=b,b=g.get("c.getStatuses"),a.getStatusesInternal(b)):($A.log("statusBroker failed to create taskStatusBroker component: ",
c),g=null,d="INITIAL")})},getStatusesInternal:function(a){a.setCallback(this,function(a){var e=a.getReturnValue();"SUCCESS"===a.getState()&&e?(c=e,d="LOADED",this.processAndClearQueueEvents()):"INCOMPLETE"!==a.getState()&&($A.warning("Unable to retrieve task statuses map. action.error in aura warning below:"),$A.warning(a.error))});a.setStorable();a.setAbortable(!1);a.setBackground();$A.getCallback(function(){$A.enqueueAction(a)})()},enqueueEvent:function(a){a&&f.push(a)},clearQueue:function(){f=
[]},processAndClearQueueEvents:function(){f&&0<f.length&&this.processEvents(f);this.clearQueue()},processEvents:function(a){if(a)for(var b=0;b<a.length;b+=1)this.processOrEnqueueEvent(a[b])},processOrEnqueueEvent:function(a){a&&a.payload&&a.payload.taskId&&a.callback?"LOADED"===d?a.callback(a.payload.taskId,this.getActiveList(a.payload.recordTypeId,a.payload.closed),a.payload.lastMod):this.enqueueEvent(a):a&&a.callback&&a.callback()},getActiveList:function(a,b){var e;if("LOADED"!==d)throw Error("No task statuses retrieved.");
!a||!c[a]?e=c.MAIN:c[a]&&(e=c[a]);return e.filter(function(a){return a.closed===b?a:""})},changeStatus:function(a,b,e,c,d){var f=$A.getEvt("markup://runtime_sales_activities:taskStatusChange");f.setParams({taskId:a,updateValue:b,isClosed:e,lastStatus:c,record:d});f.fire()},isInitializing:function(){return"LOADING"===d},_getStatusMap:function(){return c},_setStatusMap:function(a){c=a},_setBrokerState:function(a){d=a}}});*/});
$A.componentService.addLibraryExporter("js://runtime_sales_activities.taskStatusLibrary.statusMenu",function(){/*$A.componentService.addLibraryInclude("js://runtime_sales_activities.taskStatusLibrary.statusMenu",[],function(){var g;return{openStatusModalDesktop:function(b,a,c,d,e){a={statuses:a,taskId:c,lastMod:d,cmpId:b.getGlobalId(),singleClickToCloseFromLV:e};var f=this;$A.createComponent("markup://runtime_sales_activities:taskStatusModal",a,function(a,c,d){if("SUCCESS"===c)f.openStatusModal(b,a,"actionModal");else throw Error("taskStatusLibrary.statusMenu.openStatusModalDesktop failed to create modal component: "+
JSON.stringify(d));})},openStatusModalMobile:function(b,a,c,d){var e=this,f=b&&b.getGlobalId();a={actions:a&&a.map(function(a){return a?e.createAction(c,a.label,a.value,a.closed,d,f):null}),closeOnActionButtonClick:!0,isBodyAction:!0};a.actions&&a.actions.push({label:$A.get("$Label.Buttons.cancel"),executionComponent:{isClientSideCreatable:!0,isEvent:!0,descriptor:"markup://runtime_sales_activities:taskStatusCancel",attributes:{componentId:f}}});$A.createComponent("markup://force:modalActionContainer",
a,function(a,c,d){if("SUCCESS"===c)e.openStatusModal(b,a,"mobileActionModal");else throw Error("taskStatusLibrary.statusMenu.openStatusModalMobile failed to create modal component: "+JSON.stringify(d));})},cancelStatusModal:function(b){g&&g.close();b&&b.resetCheckbox()},openStatusModal:function(b,a,c){$A.getEvt("markup://ui:createPanel").setParams({panelType:c,visible:!0,panelConfig:{title:$A.get("$Label.ProjectOne_Task_Actions.SelectTaskStatus"),body:a,showCloseButton:!0,bodyClass:"",ariaDescribedBy:""},
onCreate:function(a){g=a},onDestroy:function(){g=null;b&&"runtime_sales_activities:statelessTaskStatus"===b.type&&b.resetCheckbox()}}).fire()},createAction:function(b,a,c,d,e,f){return{label:a,executionComponent:this.createExecutionComponentDefinition(b,c,d,e,f)}},createExecutionComponentDefinition:function(b,a,c,d,e){return{isClientSideCreatable:!0,isEvent:!0,descriptor:"markup://runtime_sales_activities:taskStatusSave",attributes:{taskId:b,newStatus:a,lastMod:d,componentId:e,isClosed:c}}}}});*/});
$A.componentService.addLibraryExporter("js://clients.msMailLibrary.Bootstrap",function(){/*$A.componentService.addLibraryInclude("js://clients.msMailLibrary.Bootstrap",["js://clients.msMailLibrary.Promises","js://clients.contextLibrary.ContextWindowProxy","js://clients.msMailLibrary.PerformanceTiming"],function(l,k,C){function t(){function b(){var a=$A.storageService.getStorage(q);a||(a=$A.storageService.initStorage({name:q,persistent:!0,secure:!0,maxSize:u,expiration:Number.MAX_VALUE,debugLogging:!0,clearOnInit:!1}));return a}function a(a){if(a)for(var b=0;b<r.length;b++)if(-1!==a.indexOf(r[b]))return!0;
return!1}var c=function(){var b=["script","link[href*"+String.fromCharCode(61)+"'app.css?1']"].join(),b=Array.prototype.slice.call(document.querySelectorAll(b)).map(function(a){return a.src||a.href}).filter(a);return Object.keys(b.reduce(function(a,b){a[b]=(a[b]||0)+1;return a},{}))}();return b().get("lastScripts").then(function(a){b().set("lastScripts",c);if(!c||0===c.length)return $A.warning("No resources loaded for some bizarre reason"),{state:"no-resources"};if(!a)return $A.warning("No scripts previously loaded!"),
{state:"uncached",reason:"nothing previously loaded"};var e=c.reduce(function(b,c){var g=/\w+\.(js|css)/gi.exec(c),g=g&&0<g.length?g[0]:c;0>a.indexOf(c)?($A.warning("Script has changed since last load: "+c),b.uncached.push(g)):b.cached.push(g);return b},{cached:[],uncached:[]});e.state=e.cached.length===c.length?"cached":0===e.cached.length?"uncached":"partially";return e})}function v(b,a){function c(a,b){var c=a.pageStartTime;b.pst=c;b.startTs=c+b.startTime;b.offsetTime=a.authDuration;if(c=a.requestUrl||
window.location.href)var f=c.lastIndexOf("/")+1,e=Math.max(c.indexOf("?"),c.indexOf("#")),e=0>e?c.length:e,c=c.substring(f,e);b.frame=c;m.push(b)}function f(a){if(a){var b=a.requests||a.allRequests;b&&b.forEach(c.bind(this,a))}}var e=b.pageStartTime<a.pageStartTime?b:a,k=e===b?a:b,m=[];f(e);f(k);m.sort(function(a,b){return a.startTs-b.startTs});return m}function w(b,a,c){if(!a)return b;var f=b.pageStartTime<a.pageStartTime?b:a;a=f===b?a:b;f.authDuration=0;a.authDuration=a.pageStartTime-f.pageStartTime;
a.normalizedAuthDelay=a.pageStartTime-c;c=v(f,a);b.authBootstrapEPT=(a.normalizedAuthDelay||a.authDuration)+a.bootstrapEPT;b.mergedRequests=c;return b}function x(b,a,c,f,e,k,m){var g;$A.metricsService.transactionEnd("ltng","bootstrap:lightningMailapp",{context:{eventType:"bootstrap",eventSource:"lightningMailapp"},postProcess:function(h){var n=Date.now()-h.pageStartTime,d=$A.util.apply({},$A.metricsService.getBootstrapMetrics(),!0,!0),d=w(d,f,a);d.auraPageStartTime=h.pageStartTime;d.auraCacheState=
b;var p=d.authBootstrapEPT||d.bootstrapEPT;d.authDetails=m;d.normalizedPageStartTime=a;var l=y();l&&(d.connection=l);d.visibilityStateEnd=document.visibilityState;d.lightningEPT=n;d.initialStorageSizes=e;d.finalComponentDefSize=k;Array.isArray(h.marks.custom)&&(d.navbarCPUTime=h.marks.custom.filter(function(a){return a.name&&0===a.name.indexOf("navContainer")}).reduce(function(a,b){return a+(b.duration||0)},0));d.diag=c;f&&(d.parentStartTime=f.pageStartTime,d.parentUrl=f.requestUrl,d.parentTiming=
f.timing);d.bootstrapSchema=1;h.context.attributes=d;h.duration=p;h.ts=0;z(h);g=h}});return g}function y(){if(navigator&&navigator.connection){var b=navigator.connection;return["downlink","downlinkMax","effectiveType","rtt","type"].map(function(a){return[a,b[a]]}).filter(function(a){return a[1]}).reduce(function(a,b){a[b[0]]=b[1];return a},{})}return null}function z(b){if(b&&(delete b.marks,b.context&&b.context.attributes)){var a=b.context.attributes;delete a.allRequests;delete a.requests;delete a.cache;
Object.keys(a).forEach(function(b){(0===b.indexOf("requestApp")||0===b.indexOf("requestAura")||0===b.indexOf("requsetBootstrap"))&&delete a[b]})}}function A(){return k.then(function(b){return b.timestampService.get().then(function(b){b.isFirstTimeUser="FirstTimeUser_Init"in b;return b})})}function s(){return k.then(function(b){var a=b.getServerVersion();b=b.getDiagnosticInfo();return l.all([a,b],function(b,a){a.appType=(a.gmailExtVer?"Google":a.hostName)||JSON.stringify(a);a.getExchangeInfoDuration=
b.duration;a.exchangeMajorBuild=b.majorBuild;a.exchangeMajorVersion=b.majorVersion;a.exchangeMinorBuild=b.minorBuild;a.exchangeMinorVersion=b.minorVersion;a.exchangeVersion=b.version;var e=$A.util.getWindowSize();a.winHeight=e.height;a.winWidth=e.width;a.userAgent=window.navigator?window.navigator.userAgent:"";navigator&&(navigator.hardwareConcurrency&&(a.hardwareConcurrency=navigator.hardwareConcurrency),navigator.deviceMemory&&(a.deviceMemory=navigator.deviceMemory));return a})})}function B(){var b=
$A.one&&$A.one.getInitialStorageSizePromises?$A.one.getInitialStorageSizePromises():null;if(b){var a=b.map(function(b){return b.promise});return Promise.all(a).then(function(a){return a.map(function(a,c){return{name:b[c].name,size:a}}).reduce(function(a,b){a[b.name]=b.size;return a},{})})}return Promise.resolve(-1)}function n(b){$A.warning("Ignored error: ",b)}var q="bootstrapStats",u=1048576,r=["app.css","appcore.js","app.js","/aura_"],p=null;return{log:function(){if(p)return p;$A.metricsService.transactionStart("ltng",
"bootstrap:lightningMailapp");var b=$A.getCallback(x),a=$A.storageService.getStorage("ComponentDefStorage"),a=a?a.getSize():-1;return p=l.all([t(),k.getNormalizedPageStart().catch(n),s().catch(n),k.getPerformanceTiming().catch(n),B(),a,A()],b,b)},getDiagnosticInfoForLogging:function(){return s().then(function(b){var a={};b.exchangeMajorBuild&&(a.exchangeServerVersion=$A.util.format("{0}.{1} ({2}.{3})",b.exchangeMajorVersion,b.exchangeMinorVersion,b.exchangeMajorBuild,b.exchangeMinorBuild));Object.keys(b).forEach(function(c){$A.util.isString(b[c])&&
(a[c]=b[c])});return a},function(){return{}})}}});*/});
$A.componentService.addLibraryExporter("js://clients.msMailLibrary.Dialog",function(){/*$A.componentService.addLibraryInclude("js://clients.msMailLibrary.Dialog",["js://clients.msMailLibrary.Storage"],function(g){function m(a,e,d,b,f){var c=[];d=$A.util.isString(d)?a.getReference(d):a.getReference("c.handleConfirmDialog");b={label:$A.util.isUndefinedOrNull(b)?h:b,variant:"slds-button slds-button--brand",press:d};f={label:$A.util.isUndefinedOrNull(f)?n:f,variant:"slds-button slds-button--neutral",press:a.getReference("c.handleCancelDialog")};switch(e){case "cancelOnlyDialog":b.press=
a.getReference("c.handleCancelDialog");c.push(["ui:button",b]);break;case "cancelAndOkDialog":c.push(["ui:button",f],["ui:button",b]);break;default:c.push(["ui:button",b])}return c}function k(){$A.getEvt("markup://ui:getActivePanel").setParams({callback:function(a){a&&a.close()}}).fire()}function l(a){return g.getStorage(g.STORAGE_NAME.DO_NOT_SHOW_DIALOGS).get(a).then($A.getCallback(function(a){return!!a}))}var h=$A.get("$Label.DialogReloadOrStayOnPage.ConfirmLabel"),n=$A.get("$Label.DialogReloadOrStayOnPage.CancelLabel");
return{showDialog:function(a,e,d,b,f,c,p){if(!a.isInstanceOf("clients:mailAppDialog"))throw Error("Component must implement clients:mailAppDialog interface");a=m(a,b,f,c,p);$A.createComponents(a,function(a,b,c){"SUCCESS"===b&&$A.getEvt("markup://ui:createPanel").setParams({panelType:"actionModal",visible:!0,panelConfig:{title:d,body:e,footer:a}}).fire()})},showConfirmDialog:function(a,e,d,b){return new Promise($A.getCallback(function(f,c){$A.createComponent("force:confirmDialog",{message:a,title:e,
okLabel:h},function(a,e){"SUCCESS"===e?a.show(function(){$A.util.isFunction(d)&&d("confirm");f("confirm")},function(){$A.util.isFunction(b)&&b({reason:"cancel"});c({reason:"cancel"})}):"INCOMPLETE"===e?c("incomplete"):"ERROR"===e&&c(Error("Failed to create force:confirmDialog"))})}))},handleConfirmDialog:function(a){k()},showPermanentlyDismissibleDialog:function(a,e,d,b){return l(d).then($A.getCallback(function(f){return f?Promise.resolve():new Promise($A.getCallback(function(c){$A.createComponent("clients:permanentlyDismissableDialog",
{title:e,message:a,dontShowAgainPrefIdentifier:d,okLabel:b},function(a,b){if(a&&"SUCCESS"===b)return a.show().then(c)})}))}))},hasDialogBeenPermanentlyDismissed:l,closeDialog:k}});*/});
$A.componentService.addLibraryExporter("js://clients.msMailLibrary.Errors",function(){/*$A.componentService.addLibraryInclude("js://clients.msMailLibrary.Errors",["js://force.componentLibrary.actions","js://force.componentLibrary.errors","js://clients.msMailLibrary.Toast"],function(f,b,d){var c=!1,e=[];return{sessionHasExpired:function(){c=!0},hasSessionExpired:function(){return c},showErrorMessage:function(a){c||b.handleActionError(a)},showOfflineMessage:f.showOfflineMessage,addSilentError:function(a){e.push(a)},getSilentErrors:function(){return e},showErrorAsToast:function(a){d.showError({message:a.message,
error:a})},isDisplayableError:b.isDisplayableError,displayError:b.displayError,handleGetContextErrorScenario:function(a){var b="exchange"===$A.util.lookup(a,"context","context")?$A.get("$Label.mailapp_association_message.exchange_connect_failure"):$A.get("$Label.mailapp_association_message.email_server_unavailable");d.showError({message:b,error:a})}}});*/});
$A.componentService.addLibraryExporter("js://clients.msMailLibrary.ForceChatterUtil",function(){/*$A.componentService.addLibraryInclude("js://clients.msMailLibrary.ForceChatterUtil",[],function(){return{navigateToFeedItemDetail:function(a){var b={feedElementId:a.getParam("feedItemId"),showGroupMentionVisibility:a.getParam("showGroupMentionVisibility"),feedType:a.getParam("feedType"),requireScroller:!1,ignoreExistingAction:!0};a.getParam("feedDesign")&&(b.feedDesign=a.getParam("feedDesign"));a=$A.getEvt("force:navigateToComponent");a.setParams({componentDef:"forceChatter:feedElementFullView",componentAttributes:b});
a.fire()}}});*/});
$A.componentService.addLibraryExporter("js://clients.msMailLibrary.Globals",function(){/*$A.componentService.addLibraryInclude("js://clients.msMailLibrary.Globals",[],function(){var a={},f={},b;a.get=function(g){if(b)return b.get.apply(b,arguments);if(!g)return null;for(var a=g.split("."),d,c=f;0<a.length&&c;)if(d=a.shift(),c=d in c?c[d]:null,0===a.length)return c};a.set=function(a,h){if(b)return b.set.apply(b,arguments);for(var d=a.split("."),c,e=f;0<d.length;)c=d.shift(),e[c]=0<d.length?e[c]||{}:h,e=e[c]};a.getAsync=function(){if(b)return b.getAsync.apply(b,arguments);throw Error("NOT DEFINED YET!");
};a.setProxy=function(a){b=a};return a});*/});
$A.componentService.addLibraryExporter("js://clients.msMailLibrary.Promises",function(){/*$A.componentService.addLibraryInclude("js://clients.msMailLibrary.Promises",["js://clients.msMailLibrary.Errors"],function(e){return{all:function(a,c,b){$A.assert($A.util.isFunction(c),"Must have a callback function!");b=b?$A.getCallback(b):null;a=Promise.all(a).then(function(b){return c.apply(c,b)});return b?a.catch(b):a},RAF:function(){return new Promise(function(a){window.requestAnimationFrame(a)})},getPromiseForAction:function(a,c,b){$A.util.isEmpty(b)&&(b={});c&&a.setParams(c);b.isBackgroundAction&&
a.setBackground();b.isAbortable&&a.setAbortable();b.storable&&a.setStorable(b.storable);return new Promise($A.getCallback(function(c,f){a.setCallback(this,function(a){if("SUCCESS"===a.getState()){var d=a.returnValue;d&&(d.isFromStorage=a.isFromStorage);c(d)}else"ERROR"===a.getState()?(d=a.error[0],b.suppressErrorMessage?("toast"===b.suppressErrorMessage&&e.showErrorAsToast(d),e.addSilentError(d)):e.showErrorMessage(a),f(d)):"INCOMPLETE"===a.getState()&&(b.suppressOfflineMessage||e.showOfflineMessage(a),
f())});$A.enqueueAction(a)}))}}});*/});
$A.componentService.addLibraryExporter("js://clients.msMailLibrary.PerfLogging",function(){/*$A.componentService.addLibraryInclude("js://clients.msMailLibrary.PerfLogging",[],function(){var g={};return{getDurations:function(b,a){a=$A.util.isUndefined(a)?!0:a;var d={},c,e,f;for(c in b)b.hasOwnProperty(c)&&(-1!==c.indexOf("Start",c.length-5)&&(f=c.replace("Start",""),e=f+"End",e in b&&(d[f]=b[e]-b[c])),a&&(d[c]=b[c]));return d},logMarkOnce:function(b,a,d){g[a]?$A.log(a+" already logged once"):(g[a]=!0,$A.metricsService.mark(b,a,d))}}});*/});
$A.componentService.addLibraryExporter("js://clients.msMailLibrary.RenderTracker",function(){/*$A.componentService.addLibraryInclude("js://clients.msMailLibrary.RenderTracker",[],function(){var c={};return{onRender:function(a){var b=a.getDef().getDescriptor().getFullName();c[b]=c[b]||{};c[b][a.getGlobalId()]=a},onUnRender:function(a){var b=a.getDef().getDescriptor().getFullName();delete c[b][a.getGlobalId()]},iterateRendered:function(a,b){var d=c[a],e,f,g,h=[];if(d)for(e in d)if(d.hasOwnProperty(e))if(f=d[e],b)(g=b(f))&&h.push(g);else break;return f}}});*/});
$A.componentService.addLibraryExporter("js://clients.msMailLibrary.SfdcLibrary",function(){/*$A.componentService.addLibraryInclude("js://clients.msMailLibrary.SfdcLibrary",["js://clients.msMailLibrary.Util"],function(a){return{getLibrary:function(b){return a.pollForSfdc().then(function(){return new Promise(function(d,e){var c=!1;Sfdc.require(b,function(a){c=!0;d(a)});a.delay(1E3).then(function(){c||e("timeout loading "+b)})})},function(){return Promise.reject("Timeout loading Sfdc")})}}});*/});
$A.componentService.addLibraryExporter("js://clients.msMailLibrary.Toast",function(){/*$A.componentService.addLibraryInclude("js://clients.msMailLibrary.Toast",[],function(){function c(){this.message="";this.iconKey=this.type=null;this.duration=5E3}function d(a,b,c,d,e){1===arguments.length&&(b=arguments[0],a=null);if(b){var f=$A.getEvt("markup://force:showToast");f.setParams({messageTemplate:b,messageTemplateData:d,key:c,type:a,message:b,duration:e});f.fire()}}function e(a){var b=a.error,d=!1;b&&(b.exchangeServerError?d=!0:b.code&&(b.message&&b.name)&&(d=!0));a=a.message;a=(new c).setType("error").setIconKey("error").setDuration(7E3).setMessage(a);
d&&(b=[{executionComponent:{isEvent:!0,attributes:{title:$A.util.format($A.get("$Label.mailapp_association_message.email_server_unavailable"),""),severity:"error",error:b},descriptor:"clients:showDetailedError"},label:$A.get("$Label.mailapp_association_message.exchange_connect_failure_details_link")}],a.setMessageTemplateData(b));a.show()}c.prototype.setType=function(a){this.type=a;return this};c.prototype.setIconKey=function(a){this.iconKey=a;return this};c.prototype.setMessage=function(a){this.message=
a;return this};c.prototype.setDuration=function(a){this.duration=a;return this};c.prototype.setMessageTemplateData=function(a){this.messageTemplateData=a;return this};c.prototype.show=function(){$A.getEvt("markup://force:showToast").setParams({messageTemplate:this.message,messageTemplateData:this.messageTemplateData,key:this.iconKey,type:this.type,message:this.message,duration:this.duration}).fire()};return{newToastBuilder:function(){return new c},showToastMessage:d,showError:function(a){if($A.util.isObject(a)){if(a.error)return e(a);
a.type=a.type||"error";a.messageTemplate&&!a.message&&(a.message=a.messageTemplate);a.links&&(a.messageTemplateData=a.links.map(function(a){return{executionComponent:{isEvent:!0,attributes:{url:a.url},descriptor:"force:navigateToURL"},label:a.label}}));$A.getEvt("markup://force:showToast").setParams(a).fire()}else d("error",a)}}});*/});
$A.componentService.addLibraryExporter("js://clients.msMailLibrary.PerformanceTiming",function(){/*$A.componentService.addLibraryInclude("js://clients.msMailLibrary.PerformanceTiming",["js://clients.msMailLibrary.Util","js://clients.contextLibrary.ContextWindowProxy","js://clients.msMailLibrary.SfdcLibrary"],function(h,e,f){function d(){return Promise.reject("Unable to resolve SfdcApp.Mailapp.PerformanceTiming")}var b=f.getLibrary("SfdcApp.Mailapp.PerformanceTiming");b.catch(function(){});b.getStartTime=function(){return e.then(function(g){return g.timestampService.get().then(function(a){var c=
a&&a.contextChanged;c||(a.FirstTimeUser_Init&&(c=a.FirstTimeUser_EnteredCode),c=a.FirstTimeUser_Init?a.FirstTimeUser_EnteredCode:a.absolute_initial_page_load);a.absolute_initial_page_load>c&&(c=a.absolute_initial_page_load);return c?c:b.then(function(a){return a.getPageStartTime?a.getPageStartTime():d()})})},function(){$A.log("Failed to resolve ContextWindowProxy")})};b.getPageTiming=function(){return b.then(function(b){return b.getPageTiming?b.getPageTiming():d()})};return b});*/});
$A.componentService.addLibraryExporter("js://clients.msMailLibrary.SFXBridge",function(){/*$A.componentService.addLibraryInclude("js://clients.msMailLibrary.SFXBridge",[],function(){return{bustOut:function(a){a=a.get("v.href");window.open(a,"_blank").focus()}}});*/});
$A.componentService.addLibraryExporter("js://clients.msMailLibrary.Util",function(){/*$A.componentService.addLibraryInclude("js://clients.msMailLibrary.Util",[],function(){function g(a,c,d){if($A.util.isArray(a)&&$A.util.isArray(c)){if(a.length!==c.length)return!1;for(var b=0;b<a.length;b++)if(!g(a[b],c[b]))return!1;return!0}if($A.util.isObject(a)&&$A.util.isObject(c)){var e=Object.keys(a),b=Object.keys(c);if(e.length!==b.length)return!1;for(var f,b=0;b<e.length;b++)if(f=e[b],!$A.util.isArray(d)||!d.includes(f))if(!c.hasOwnProperty(f)||!g(a[f],c[f]))return!1;return!0}return a===c}
return{deepEqual:g,delay:function(a,c){var d,b;b=new Promise(function(b){d=setTimeout(function(){"function"===typeof c&&(c=c());b(c)},a)});b.cancel=function(){clearTimeout(d)};return b},getUrlParams:function(){var a=window.location.search;if(!a)return Promise.resolve({});-1<a.indexOf("?")&&(a=a.split("?")[1]);for(var c={},a=a.split("\x26"),d=0,b=a.length,e=null,f;d<b;d++)$A.util.isEmpty(a[d])||(e=a[d].split("\x3d"),f=e[0],e=decodeURIComponent(e[1]),c[f]=e);return c},getWindowOrigin:function(){return window.location.origin},
navigateToUrl:function(a){window.location.href=a},pollForSfdc:function(){var a=this;return new Promise(function(c,d){var b,e=0,f=function(){"undefined"!==typeof Sfdc&&!$A.util.isEmpty(Sfdc)&&!a.isEmptyObject(Sfdc)?($A.log("Found Sfdc!"),c(Sfdc)):50>e?($A.log("[Inner Frame Util] Polling for Sfdc failed"),e++,b=setTimeout(f,100)):($A.log("[Inner Frame Util] Failed to load Sfdc in inner frame"),b&&clearTimeout(b),$A.getRoot()&&"flexipageEditor$surface"===!$A.getRoot().getName()&&$A.error("Failed to load Sfdc"),
d("timeout loading Sfdc"))};f()})},isEmptyObject:function(a){return 0===Object.keys(a).length&&a.constructor===Object},handleErrors:function(a,c,d){return d.then(function(a){return a}).catch(function(b){$A.reportError("["+a+"] Promise rejected while calling '"+c+"'",b);return Promise.reject(b)})},replaceSuffixInString:function(a,c){if(a&&c){var d=/\s{1}\([0-9]+\)$/g.exec(a);d&&0<d.length&&d.forEach(function(b){a=a.replace(b,"")});a+=c}return a},getCmpNameFromCmpDef:function(a){return(a=$A.util.lookup(a,
"componentDef","componentDef","descriptor"))?a.replace("markup://",""):null},showModalSpinner:function(){$A.getEvt("markup://force:toggleModalSpinner").setParams({isVisible:!0}).fire()},hideModalSpinner:function(){$A.getEvt("markup://force:toggleModalSpinner").setParams({isVisible:!1}).fire()}}});*/});
$A.componentService.addLibraryExporter("js://clients.msMailLibrary.Storage",function(){/*$A.componentService.addLibraryInclude("js://clients.msMailLibrary.Storage",[],function(){var b={LAST_USED_TAB:"clients_tabset_last_used_tab",DO_NOT_SHOW_DIALOGS:"clients_do_not_show_dialogs"},c={};c[b.LAST_USED_TAB]={secure:!1,maxSize:1024,expiration:604800};c[b.DO_NOT_SHOW_DIALOGS]={secure:!1,maxSize:1024,expiration:604800};return{STORAGE_NAME:b,getStorage:function(d,b){var a=$A.storageService.getStorage(d);a||(a=b,c.hasOwnProperty(d)&&(a=c[d]),a||(a={}),a=$A.storageService.initStorage({name:d,persistent:!0,
secure:void 0===a.secure?!0:a.secure,maxSize:a.maxSize||1024,expiration:a.expiration||604800,debugLogging:!0,clearOnInit:!1}));return a}}});*/});
$A.componentService.addLibraryExporter("js://clients.msMailLibrary.Nav",function(){/*$A.componentService.addLibraryInclude("js://clients.msMailLibrary.Nav",["js://one.navRouter.HandlerUtil","js://force.locationContextLib.LocationContext","js://clients.contextLibrary.ContextWindowProxy","js://clients.msMailLibrary.Storage"],function(d,l,m,f){function e(a){var b=l.getCurrentPage();!a&&b&&(a=b.location);$A.metricsService.transactionStart("ltng","pageView",{pageTransaction:!0,context:{previousPage:b||{location:"undefined"},attributes:a}})}function g(){$A.metricsService.transactionEnd("ltng",
"pageView")}var h={};return{startPageViewTransaction:e,endPageViewTransaction:g,finishCurrentPageTransactionAndStartNewPage:function(a){g();e(a)},handle:function(a){a=a.replace(/(?:\?|&)isdtp=p1/,"");var b=d.targetDomain(a),c=!0;return m.getDiagnosticInfo().then($A.getCallback(function(k){if("OutlookWebApp"===k.hostName||k.gmailExtVer)c=!window.open(a);c&&d.openTargetRedirectModal(a,b,!0,!1);return!0}))},bypassPopup:function(a){var b=a.replace(/(?:\?|&)isdtp=p1/,"");a=d.targetDomain(a);d.openTargetRedirectModal(b,
a,!0,!1)},setSelectedTabId:function(a,b,c){h[a+"|"+b]=c},getSelectedTabId:function(a,b){return h[a+"|"+b]},getStoredTabFor:function(a,b){var c=f.getStorage(f.STORAGE_NAME.LAST_USED_TAB);return $A.util.isEmpty(b)?Promise.resolve(""):c.get(a+"|"+b).then(function(a){return a}).catch(function(a){$A.warning("Error retrieving tab selection. Reason: "+a)})},storeCurrentTab:function(a,b,c){var d=f.getStorage(f.STORAGE_NAME.LAST_USED_TAB),e={};e[a+"|"+b]=c;return d.setAll(e).catch(function(a){$A.warning("Error storing tab selection. Reason: "+
a)})}}});*/});
$A.componentService.addLibraryExporter("js://clients.msMailLibrary.Record",function(){/*$A.componentService.addLibraryInclude("js://clients.msMailLibrary.Record",["js://clients.msMailLibrary.RenderTracker","js://clients.msMailLibrary.Promises"],function(e,c){this.loadRecordsInADS=function(a,b,f,g){var d=e.iterateRendered("clients:matchingManager");$A.assert(d,"Must have instance of clients:matchingManager");var h=d.get("c.loadRecordsInADS");if(Array.isArray(a)&&0<a.length)$A.metricsService.mark("matchingManager","loadRecordsInADS",{recordCount:a.length});else return Promise.resolve();
$A.metricsService.markStart("recordLoadPerf","loadRecordsInADS");return c.RAF().then($A.getCallback(function(){return c.getPromiseForAction(h,{recordIds:a,layoutType:b,fieldsForQuery:f,ignoreLimit:g||!1})})).then(function(){$A.metricsService.markEnd("recordLoadPerf","loadRecordsInADS");return Promise.resolve()},function(a){$A.metricsService.markEnd("recordLoadPerf","loadRecordsInADS",{error:a});$A.warning("peopleListDataManager fails to fetch data.",a);return Promise.reject(a)})};this.getRecordTemplateKey=
function(a,b){$A.assert(a,"entityName is required for the record layout template key");return a+(b?"-"+b:"")};return this});*/});
$A.componentService.addLibraryExporter("js://clients.msMailLibrary.Insights",function(){/*$A.componentService.addLibraryInclude("js://clients.msMailLibrary.Insights",["js://clients.msMailLibrary.RenderTracker"],function(b){this.loadInsights=function(c,d){var a=b.iterateRendered("clients:insightAggregator");if(a)return a.loadInsights(c,d);$A.warning("Could not find insights aggregation component");return Promise.resolve({})};return this});*/});
$A.componentService.addLibraryExporter("js://clients.msMailLibrary.SidePanelDialog",function(){/*$A.componentService.addLibraryInclude("js://clients.msMailLibrary.SidePanelDialog",["js://clients.contextLibrary.ContextWindowProxy","js://clients.msMailLibrary.Globals","js://clients.msMailLibrary.Errors","js://clients.msMailLibrary.LwcLibs"],function(c,d,p,g){function f(a){h=a;k.then($A.getCallback(function(b){b.actions.updateDialogStatus(a)}))}function l(){return e?!1:m}function n(){return d.get("$Mail.isEACEnabledByPerm")?g.getContextLibLwc().then($A.getCallback(function(a){return a.ContextWindowProxy.getUserInfo().then($A.getCallback(function(b){return a.EacEnablement.isEacFullyEnabled(b.userEmail)}))})):
Promise.resolve(!1)}var h=!1,m=!1,e=!1,k=g.getStoreLib();k.then(function(a){n().then($A.getCallback(function(b){e=b;a.store.subscribe(function(b){b=a.store.getState();b=a.selectors.composeContextSelector(b||{})||{};m=e?!1:b.logItemEnabled})})).catch($A.getCallback(function(a){$A.warning("Unable to set EAC enablement ",a);e=!1}))});return{openSidePanelDialog:function(a){return c.handshake(function(b){return b.isSidePanelModalSupported&&b.isSidePanelModalOpen&&b.setShouldShowDialog?Promise.all([b.isSidePanelModalSupported(),
b.isSidePanelModalOpen()]).then(function(d){var e=d[1];if(d[0])return!e?(f(!0),b.setShouldShowDialog(!0).then(function(){a.fire();return c.openSidePanelDialog()})):b.setSidePanelModalOpen?b.setSidePanelModalOpen(!1).then(function(){return Promise.reject("Sidepanel Dialog may already be opened, resetting dialog state")}):Promise.reject("Sidepanel Dialog may already be opened")}):Promise.resolve()}).catch($A.getCallback(function(a){$A.warning("Unable to open sidepanel dialog",a)}))},closeSidePanelDialogIfNecessary:function(){return c.handshake(function(a){return a.isSidePanelModalOpen&&
a.setShouldShowDialog?a.isSidePanelModalOpen().then(function(b){return b?(f(!1),a.setShouldShowDialog(!1).then(function(){return c.closeSidePanelDialog()})):Promise.resolve()}):Promise.resolve()}).catch($A.getCallback(function(a){$A.warning("Unable to check if sidepanel modal is opened",a)}))},closeSidepanelDialogAnyway:function(){return c.handshake(function(a){return a.closeSidePanelDialog?c.closeSidePanelDialog():Promise.resolve()}).catch($A.getCallback(function(a){$A.warning("Unable to close sidepanel dialog",
a)}))},isSidepanelDialogOpened:function(){return h},isEmailLogged:l,shouldOpenSidePanelDialog:function(){var a=d.get("mailAppPersonalization")||{},a=a.logReminder?a.logReminder.toggleState:!0,b=d.get("flexipageContainsLogEmailCmp"),c=d.get("usesEnhancedEmailGmailEnabled");return d.get("areAssociationPermsEnabled")&&c&&!e&&b&&a&&!l()&&!p.hasSessionExpired()},updateSidePanelModalStatus:f,checkEACEnablement:n}});*/});
$A.componentService.addLibraryExporter("js://clients.msMailLibrary.Consent",function(){/*$A.componentService.addLibraryInclude("js://clients.msMailLibrary.Consent",["js://clients.msMailLibrary.RenderTracker"],function(a){this.loadConsentData=function(b){return a.iterateRendered("clients:consentManager").loadConsentData(b)};this.handleConsentMessage=function(b){var a=b.getParams().consentInfo;return new Promise(function(b,d){$A.createComponent("lightningInbox:consentMessageWrapper",{"aura:id":"consentMessageWrapper",consentInfo:a},function(a,c){"SUCCESS"===c?b(a):d(c)})})};return this});*/});
$A.componentService.addLibraryExporter("js://clients.msMailLibrary.LwcLibs",function(){/*$A.componentService.addLibraryInclude("js://clients.msMailLibrary.LwcLibs",[],function(){var a={},b=new Promise(function(b){a.setAllLwcLibs=function(c){Object.keys(c).forEach(function(b){a[b]=c[b]});b()}});a.getStoreLib=function(){return b.then(function(){return a.storeLib})};a.getContextLibLwc=function(){return b.then(function(){return a.contextLibLwc})};return a});*/});
$A.componentService.addLibraryExporter("js://force.alternateIdLibrary.util",function(){/*$A.componentService.addLibraryInclude("js://force.alternateIdLibrary.util",[],function(){var b=function(a){return $A.get("$Browser.S1Features.isPersonAccountsEnabled")&&a&&0==a.indexOf("003")};return{canHaveAlternateId:function(a){return b(a)},doesHaveAlternateId:function(a){return a&&b(a.Id)&&a.IsPersonAccount},getFieldsToQuery:function(a){return a&&b(a)?["IsPersonAccount","AccountId","Id"]:null},getAlternateId:function(a){return a&&a&&b(a.Id)&&a.IsPersonAccount?a.AccountId?a.AccountId:null:null}}});*/});
$A.componentService.addLibraryExporter("js://clients.contextLibrary.ClientSideItemContext",function(){/*$A.componentService.addLibraryInclude("js://clients.contextLibrary.ClientSideItemContext",["js://clients.contextLibrary.Context","js://clients.contextLibrary.ContextWindowProxy","js://clients.msMailLibrary.Promises","js://clients.contextLibrary.ApiCallLimiter","js://clients.msMailLibrary.LwcLibs"],function(g,e,h,k,n){function f(a,b){return b.then(function(a){return a}).catch(function(b){$A.reportError("[ClientSideItemContext] Promise rejected while calling '"+a+"'",b);return Promise.reject(b)})}function b(a,
b){return f(a,e.handshake(function(c){return c[a]&&$A.util.isFunction(c[a])?c[a].apply(c,b):Promise.reject("method not found after handshake")}))}function l(a){var b=h.all([g.getLatest(),e.getItemId()],function(a,b){return{invitees:a.getPeople(),id:b}});a&&b.then($A.getCallback(a));return b}function m(a,b){var c=h.all([g.getLatest(),e.getItemId()],function(a,c){return{emails:a.getEmails(b),id:c}});a&&c.then($A.getCallback(a));return c}return{getPeople:l,getEmails:m,getUserInfo:function(){return b("getUserInfo",
arguments)},getPeopleAndEmails:function(a){return Promise.all([l(),m()]).then(function(a){var b=a[0];return{invitees:b.invitees,emails:a[1].emails,id:b.id}}).then($A.getCallback(a))},getCustomProperties:function(a){return b("getCustomProperties",arguments)},setCustomProperties:function(a){return k.limitToOneCall("setCustomProperties",b("setCustomProperties",arguments))},removeCustomProperties:function(a){return k.limitToOneCall("removeCustomProperties",b("removeCustomProperties",arguments))},getBody:function(a){return b("getBody",
[a])},getBodyType:function(){return b("getBodyType")},getSubject:function(){return b("getSubject",arguments)},getRoamingSetting:function(a){return b("getRoamingSetting",arguments)},setRoamingSettings:function(a){return b("setRoamingSettings",arguments)},getExchangeItemContext:function(){return f("getExchangeItemContext",e.getExchangeItemContext())},getItem:function(){return b("getItem",arguments)},setBody:function(a,d,c){return c?b("insertBody",[d,a]):b("setBody",[d,a])},prependBody:function(a,d){return b("prependBody",
[d,a])},setSubject:function(a){return b("setSubject",arguments)},setTo:function(a){return b("setTo",arguments)},addTo:function(a){return b("addTo",arguments)},addCC:function(a){return b("addCC",arguments)},setCC:function(a){return b("setCC",arguments)},getAttachments:function(a){return f("getAttachments",e.getAttachments())},getAppointmentComposeInfo:function(a){return b("getAppointmentComposeInfo",arguments)},getRestAppointmentComposeInfo:function(a){return b("getRestAppointmentComposeInfo",arguments)},
reinitializeOAuthFlow:function(a){return b("reinitializeOAuthFlow",arguments)},getExchangeCallbackToken:function(){return b("getExchangeCallbackToken",arguments)},getEwsItemDetails:function(a){var d=arguments;return n.getStoreLib().then(function(a){a=a.store.getState();return(a&&a.context).id&&a.itemDetails&&0!==Object.keys(a.itemDetails).length?Promise.resolve(a.itemDetails):b("getEwsItemDetails",d)}).catch(function(a){return b("getEwsItemDetails",d)})},getRestItemDetails:function(){return b("getRestItemDetails",
arguments)}}});*/});
$A.componentService.addLibraryExporter("js://clients.contextLibrary.Context",function(){/*$A.componentService.addLibraryInclude("js://clients.contextLibrary.Context",["js://clients.contextLibrary.ContextObject","js://clients.contextLibrary.ContextWindowProxy","js://clients.msMailLibrary.Util"],function(c,d,e){var a=null;this.updateLatestContext=function(b){return Object.getPrototypeOf(b)===c.prototype?a=Promise.resolve(b):a=c.construct(b,d.getUserInfo())};this.getLatest=function(){return a?a:a=d.getExchangeItemContext()};this.setLWCProxy=function(b){Object.keys(this).forEach(function(a){"setLWCProxy"!==
a&&b[a]&&(this[a]=b[a])}.bind(this))};return this});*/});
$A.componentService.addLibraryExporter("js://clients.contextLibrary.ContextObject",function(){/*$A.componentService.addLibraryInclude("js://clients.contextLibrary.ContextObject",["js://clients.msMailLibrary.Globals"],function(m){function h(a){return!a?null:$A.util.isString(a)?a:a.email||a.Email}function l(a){return $A.util.isString(a)?l({email:a}):a}function e(a,b,c){return Object.defineProperty(a,b,{value:c,enumerable:!0})}function n(a){var b=m.get("emailToSalesforceSettings.emailAddress");return Object.keys(a).reduce(function(c,k){var d=a[k];if($A.util.isArray(d))e(c,k,d.filter(function(a){return h(a)!==
b}));else{var f=h(d);f&&f!==b&&e(c,k,d)}return c},{})}function d(a,b){$A.assert($A.util.isObject(a),"Passed in item context object must be a map");$A.assert($A.util.isObject(b),"Passed in user info object must be a map");if(Object.getPrototypeOf(a)===d.prototype)return a;var c=this;Object.keys(a).forEach(function(b){0<=p.indexOf(b)?e(c,b,a[b]):"people"===b?e(c,b,n(a[b])):c[b]=a[b]});Object.defineProperties(c,{source:{value:b.context,enumerable:!0},userEmail:{value:b.userEmail,enumerable:!0}})}function q(a){return this.filter(function(b){return b.listType===
a})}var p="ewsUrl subject id token itemClass itemType textBody".split(" ");d.prototype.getEmailPeopleMap=function(a){var b=this,c=this.people||{};return Object.keys(c).filter(function(a){return"bcc"!==a}).reduce(function(d,e){var f=function(c){var f=l(c,e),g=(c=h(c))&&b.userEmail&&c.toLowerCase()===b.userEmail.toLowerCase();if(c&&(!0===a||!g))f.listType=e,d[c]=d[c]||f},g=c[e];$A.util.isArray(g)?g.forEach(f):f(g);return d},{})};d.prototype.getEmails=function(a){return Object.keys(this.getEmailPeopleMap(a))};
d.prototype.getPeople=function(a){a=this.getEmailPeopleMap(a);var b=[],c;for(c in a)a.hasOwnProperty(c)&&b.push(a[c]);b.ofType=q.bind(b);return b};d.construct=function(a,b){return!$A.util.isObject(a)?Promise.reject("Item context map must be passed"):!b?Promise.reject("Must have promise from getUserInfo call"):Object.getPrototypeOf(a)===d.prototype?Promise.resolve(a):b.then(function(b){return new d(a,b)})};d.setLWCProxy=function(a){Object.keys(this).forEach(function(b){"setLWCProxy"!==b&&a[b]&&(this[b]=
a[b])}.bind(this));Object.keys(this.prototype).forEach(function(b){"setLWCProxy"!==b&&a.prototype[b]&&(this.prototype[b]=a.prototype[b])}.bind(this))};return d});*/});
$A.componentService.addLibraryExporter("js://clients.contextLibrary.ContextWindowProxy",function(){/*$A.componentService.addLibraryInclude("js://clients.contextLibrary.ContextWindowProxy",["js://clients.msMailLibrary.Util","js://clients.contextLibrary.ContextObject","js://clients.msMailLibrary.SfdcLibrary","js://clients.msMailLibrary.LwcLibs","js://clients.msMailLibrary.Globals"],function(f,d,e){function b(c,a,b){b=!$A.util.isArray(b)?[b]:b;return c[a]?c[a].apply(c,b):Promise.reject("Unable to get SfdcApp.Mailapp.ContextWindowProxy")}var a=e.getLibrary("SfdcApp.Mailapp.ContextWindowProxy");a.catch(function(){});
a.getItemId=function(){return a.then(function(c){return b(c,"getItemId")})};a.getAttachments=function(){return a.then(function(c){return b(c,"getAttachments")})};a.displayNewMessageForm=function(c){return a.then(function(a){return b(a,"displayNewMessageForm",c)})};a.displayMessageForm=function(c){return a.then(function(a){return b(a,"displayMessageForm",c)})};a.getDiagnosticInfo=function(){return a.then(function(a){return b(a,"getDiagnosticInfo")})};a.getUserInfo=function(){return a.then(function(a){return b(a,
"getUserInfo")})};a.getExchangeItemType=function(){return a.then(function(a){return b(a,"getExchangeItemType")})};a.getExchangeItemContext=function(){return a.then(function(a){return b(a,"getExchangeItemContext")}).then(function(c){return d.construct(c,a.getUserInfo())})};a.showLoading=function(){return a.then(function(a){return b(a,"showLoading")})};a.reload=function(){return a.then(function(a){return b(a,"reload")})};a.navigateFrame=function(c){return a.then(function(a){return b(a,"navigateFrame",
c)})};a.getPerformanceTiming=function(){return a.then(function(a){return b(a,"getPerformanceTiming")})};a.getNormalizedPageStart=function(){return a.then(function(a){return b(a,"getNormalizedPageStart")})};a.isSidePanelModalSupported=function(){return a.then(function(a){return b(a,"isSidePanelModalSupported")})};a.openSidePanelDialog=function(){return a.then(function(a){return b(a,"openSidePanelDialog")})};a.closeSidePanelDialog=function(){return a.then(function(a){return b(a,"closeSidePanelDialog")})};
a.handshake=function(c){c=$A.getCallback(c);return a.then(function(a){return b(a,"handshake")}).then(c)};return a});*/});
$A.componentService.addLibraryExporter("js://clients.contextLibrary.RoamingSettings",function(){/*$A.componentService.addLibraryInclude("js://clients.contextLibrary.RoamingSettings",["js://clients.contextLibrary.ClientSideItemContext"],function(b){return{get:function(a){return b.getRoamingSetting(a)},set:function(a){return b.setRoamingSettings(a)}}});*/});
$A.componentService.addLibraryExporter("js://clients.contextLibrary.ApiCallLimiter",function(){/*$A.componentService.addLibraryInclude("js://clients.contextLibrary.ApiCallLimiter",[],function(){return{limitToOneCall:function(c,a,d){return new Promise($A.getCallback(function(b,e){$A.util.Mutex.lock(c,$A.getCallback(function(){a instanceof Promise?a.then(b,e):b(a())}),d||4E3)}))}}});*/});
$A.componentService.addLibraryExporter("js://lightning.propValuesLibrary.propValues",function(){/*$A.componentService.addLibraryInclude("js://lightning.propValuesLibrary.propValues",[],function(){function e(c,b){return b.some(function(a){return c&&a&&c.toLowerCase()===a.toLowerCase()})}return function(c,b){if(Array.isArray(b))b.forEach(function(a){if(a&&a.name){var b="v."+a.name,d=c.get(b);if(a.oneOf&&Array.isArray(a.oneOf))if(e(d,a.oneOf))a.lowercase&&d!==d.toLowerCase()&&c.set(b,d.toLowerCase());else if(a.force)c.set(b,a.force);else throw Error("The attribute "+a.name+" should be one of "+a.oneOf.join()+
".");}});else throw Error("Argument attributes should be Array.");}});*/});
$A.componentService.addLibraryExporter("js://lightning.propValuesLibrary.normalize",function(){/*$A.componentService.addLibraryInclude("js://lightning.propValuesLibrary.normalize",[],function(){return function(c,d){var a=d||{},e=a.fallbackValue||"",a=a.validValues,b="string"===typeof c&&c.trim()||"",b=b.toLowerCase();a&&-1===a.indexOf(b)&&(b=e);return b}});*/});
$A.componentService.addLibraryExporter("js://forceChatter.interactionsBuilderService.service",function(){/*$A.componentService.addLibraryInclude("js://forceChatter.interactionsBuilderService.service",["js://forceChatter.elementBuilderService.service","js://forceChatter.commonBuilderService.service","js://forceChatter.feedLib.util"],function(n,g,k){var h=n.buildElement,l=function(a,c){if($A.util.isArray(c))for(var b=0;b<c.length;++b)a.appendChild(c[b]);else a.appendChild(c)},m={buildActions:function(a){var c=[],b=a.get("v.enabled"),d=a.get("v.data.capabilities.status"),d=!$A.util.isUndefinedOrNull(d)?d.feedEntityStatus===
k.feedEntityStatus.PendingReview:!1;if(!b||d)return[h("div",{})];var e=k.isCommunityStreamInLEX(a.get("v.communityId")),b={data:a.get("v.data"),feedType:a.get("v.feedType"),richTextConfig:a.get("v.richTextConfig"),isDirectMessagesEnabled:a.get("v.isDirectMessagesEnabled"),comments:a.get("v.comments"),feedDisplayConfig:a.get("v.feedDisplayConfig"),isTopicsEnabled:a.get("v.isTopicsEnabled"),isUpDownVoteEnabled:a.get("v.isUpDownVoteEnabled"),isReadOnly:a.get("v.isReadOnly"),isCommunityStreamInLEX:e};
c.push(h("hr",{"class":"sectionBreak"}));d=h("footer",{"class":"slds-post__footer interactions-wrap"});c.push(d);var f=h("ul",{"class":"slds-post__footer-actions-list slds-list--horizontal slds-text-title"});d.appendChild(f);b.isUpDownVoteEnabled&&"QUESTIONPOST"===b.data.type.toUpperCase()&&$A.util.lookup(a.get("v.data"),"capabilities","upDownVote","myVote")&&(k.isPSSC()||e)?f.appendChild(this.toggleUpVoteBlock(b.data)):f.appendChild(this.toggleLikeBlock(b.data));var e=b.feedDisplayConfig&&b.feedDisplayConfig.commentsDisplayConfig.commentInputStyle,
e="BOTTOM"===e||"INLINE"===e,g=$A.util.lookup(a.get("v.data"),"capabilities","close","isClosed");($A.get("$Browser.isDesktop")||!e)&&(!g&&!b.isReadOnly)&&f.appendChild(m.commentTriggerBlock({data:b.data,comments:b.comments,commentInputPresent:e}));a.get("v.data.isSharable")&&(!k.isCommunityStreamInLEX(a.get("v.communityId"))&&(k.isDesktop()||k.isPSSC()))&&f.appendChild(m.shareButtonBlock({data:b.data,richTextConfig:b.richTextConfig,isDirectMessagesEnabled:b.isDirectMessagesEnabled,isTopicsEnabled:b.isTopicsEnabled},
a));a.get("v.isUIExperimentsEnabled")&&(k.isOneApp()&&$A.get("$Browser.isDesktop"))&&f.appendChild(this.dockBlock({data:b.data,feedType:b.feedType}));d.appendChild(m.metaList(b));return c},metaList:function(a){var c=h("ul",{"class":"slds-list--horizontal slds-has-dividers--right slds-text-title"});"rtl"===window.getComputedStyle(document.body).direction?c.classList.add("slds-col--bump-left","slds-m-bottom_none"):c.classList.add("slds-post__footer-meta-list");var b=a.data.capabilities;if("QUESTIONPOST"===
$A.util.lookup(a.data,"type").toUpperCase()&&k.isPSSC()&&"SINGLE_VIEW"!==a.feedType&&$A.util.lookup(a.data,"hasVerifiedComment")){var d=h("li",{"class":"slds-item "}),e=h("span",{title:g.fetchLabel("$Label.Feeds.CompanyVerifiedAssistiveText")});e.appendChild(g.svgIcon({"class":"solved-icon slds-icon slds-icon_x-small",key:"answer"}));var f=h("span",{"class":"solved-text"});f.appendChild(document.createTextNode(g.fetchLabel("$Label.Feeds.CompanyVerifiedAnswer")));d.appendChild(e);d.appendChild(f);
c.appendChild(d)}d=$A.util.lookup(b,"upDownVote","upVoteCount");if("QUESTIONPOST"===$A.util.lookup(a.data,"type").toUpperCase()&&a.isUpDownVoteEnabled&&d&&(k.isPSSC()||a.isCommunityStreamInLEX))e=$A.localizationService.formatNumber(d),d=$A.util.format(g.fetchLabel(1===d?"$Label.Feeds.UpVoteCountSingular":"$Label.Feeds.UpVoteCountPlural"),e),e=document.createTextNode(d),f=h("li",{"class":"slds-item qe-upVoteCount"}),k.isDesktop()?(d=h("a",{"class":"upvoters-card-target",href:"javascript:void(0)"}),
d.appendChild(e),l(f,d)):l(f,e),c.appendChild(f);if(f=a.comments&&a.comments.total)e=$A.localizationService.formatNumber(f),d=h("li",{"class":"slds-item qe-commentCount",role:"status"}),f=g.forceChatterFeedLabel({section:"Feeds",type:a.data&&a.data.type,key:1===f?"CommentsSummarySingular":"CommentsSummaryPlural"}),f=$A.util.format(f,e),e=g.resolveLabel(f,[document.createTextNode(e)]),l(d,e),c.appendChild(d);d=$A.util.lookup(a,"data","capabilities","readBy","page","items","length");a=$A.util.lookup(a,
"data","capabilities","interactions","count");d&&0<d?(b=k.shortenCount(Math.max(b.readBy.page.total,d)),f=$A.util.format(g.fetchLabel("$Label.Feeds.SeenBy"),b),d=h("li",{"class":"slds-item cuf-seenBy qe-seenBy"}),$A.get("$Browser.isDesktop")?(b=h("a",{"class":"seenby-card-target",href:"javascript:void(0)"}),b.appendChild(document.createTextNode(f)),l(d,b)):l(d,document.createTextNode(f)),c.appendChild(d)):a&&0<a&&(b=k.shortenCount(a),f=$A.util.format(g.fetchLabel(1===a?"$Label.Feeds.ViewsSingular":
"$Label.Feeds.ViewsPlural"),b),d=h("li",{"class":"slds-item cuf-viewCount qe-viewCount"}),l(d,document.createTextNode(f)),c.appendChild(d));return c},moderationBlock:function(a,c){var b=a.data.capabilities;(b=(b=b&&b.moderation)&&b.moderationFlags)&&(b.flaggedByMe||0<b.flagCount)&&c.appendChild(h("li",{"class":"slds-col slds-list__item slds-m-right--medium"},g.forceChatterFlags({data:b})))},commentTriggerBlock:function(a){var c;c=a.commentInputPresent?"cuf-focusCommentInput":"drillInTarget";a=a.data&&
a.data.type;var b=g.forceChatterFeedLabel({section:"Feeds",type:a,key:"CommentSummary"});$A.util.isEmpty(b)&&$A.metricsService.transaction("ltng","interaction",{context:{eventSource:"synthetic-comment-trigger-label-missing",eventType:"system",locator:{target:"forceChatter-interactionBuilderService",scope:"service.js",context:{description:"Feeds_"+a+"_CommentSummary Label Missing"}}}});return m.actionBlock("share_post",b,"cuf-commentTrigger "+c+" slds-button")},actionBlock:function(a,c,b){var d;d=
h("li",{"class":"cuf-commentLink slds-col slds-list__item slds-m-right--medium"});b=h("button",{"class":b+" slds-post__footer-action"});var e=" slds-button__icon slds-button__icon_left slds-icon-text-default ",f=$A.get("$Browser.isDesktop");a=g.svgIcon({attributes:{"aria-hidden":"true"},"class":e+(f?"slds-icon_x-small ":"slds-icon_small "),key:a});b.appendChild(a);b.appendChild(document.createTextNode(" "+c));d.appendChild(b);return d},dockBlock:function(a){return g.forceChatterDock(a)},toggleLikeBlock:function(a){a=
$A.util.lookup(a,"capabilities","chatterLikes","myLike");return g.forceChatterToggleLike(a)},toggleUpVoteBlock:function(a){var c=$A.util.lookup(a,"capabilities","upDownVote","myVote");a=$A.util.lookup(a,"id");return g.forceChatterUpVote(c,a)},renderLikersBar:function(a){var c=a.get("v.feedItem"),b=a.getElement(),d="QUESTIONPOST"===$A.util.lookup(c,"type").toUpperCase()&&$A.util.lookup(c,"capabilities","upDownVote","myVote")&&a.get("v.config.isUpDownVoteEnabled");if(b&&!d){var e=$A.util.lookup(c,"capabilities",
"chatterLikes","myLike"),d=$A.util.lookup(c,"capabilities","chatterLikes","page","total"),f=null!==e,g=b.getElementsByClassName("cuf-likersBar");g.length&&b.removeChild(g[0]);if(d&&!(1===d&&e)){var g=h("div",{"class":"slds-p-horizontal--medium slds-p-vertical--x-small cuf-likersBar"}),c=$A.util.lookup(c,"capabilities","chatterLikes","page","items")||[],k=e&&e.id,c=c.filter(function(a){return a.id!==k});a=a.get("v.config.communityId.rawValue");g.appendChild(m.forceChatterLikesText(d,f,c,a));a=b.children;
a.length?b.insertBefore(g,a[0]):b.appendChild(g)}}},shareButtonBlock:function(a,c){return k.isPSSCGuestUser()?g.forceChatterShareButton(a.showText,a.showIcon):g.forceChatterShareMenu(a,c)},forceChatterLikesText:function(a,c,b,d){var e=$A.get("$Browser.isDesktop"),f=h("span",{"class":"cuf-likes cuf-likesText slds-text-body--small"}),k="";0===a?(c=f,e&&(c=h("a",{href:"javascript:void(0);","class":"like-target"}),f.appendChild(c)),k=g.fetchLabel("$Label.Feeds.FeedPostLikeVerb"),c.appendChild(document.createTextNode(" "+
k))):c&&1===a?(k=g.fetchLabel("$Label.Feeds.youLike"),f.appendChild(document.createTextNode(" "+k))):(e=c?4<a?2:4===a?1:2:3<a?2:3,b.length>e&&(b=b.slice(0,e)),e=b.map(function(a){a=a&&a.user;return g.forceChatterEntityLink({data:{name:a&&a.displayName,id:a&&a.id},communityId:d})}),a=a-(c?1:0)-b.length,0<a&&(b=g.fetchLabel(1===a?"$Label.Feeds.1other":"$Label.Feeds.nothers"),b=b.replace("{0}",a),a=h("a",{"class":"likers-card-target qe-likers-card-target",href:"javascript:void(0)"}),b=document.createTextNode(b),
$A.get("$Browser.isDesktop")?(a.appendChild(b),e.push(a)):e.push(b)),b=g.fetchLabel(c?1===e.length?"$Label.Feeds.youOthersLike":2===e.length?"$Label.Feeds.you1OthersLike":"$Label.Feeds.you2OthersLike":1===e.length?"$Label.Feeds.1Like":2===e.length?"$Label.Feeds.2Like":3===e.length?"$Label.Feeds.2OthersLike":"$Label.Feeds.3OthersLike"),c=g.resolveLabel(b,e),l(f,c));return f}};return m});*/});
$A.componentService.addLibraryExporter("js://forceChatter.feedPrefetcherLib.prefetcher",function(){/*$A.componentService.addLibraryInclude("js://forceChatter.feedPrefetcherLib.prefetcher",[],function(){return{resetAndConfigurePrefetcher:function(b,d,f,c){if(!b.isInstanceOf("forceChatter:hasFeedPrefetchSupport"))throw"Prefetcher should only be used by components that have the hasFeedPrefetchSupport interface";var a={},g={};g.pageSizeGetter="function"===typeof f?f:function(){return f};g.pageCountGetter="function"===typeof c?c:function(){return c};g.pagesLeftThreshold=Math.max(Math.floor(g.pageCountGetter("Threshold")/
3),1);a.config=g;a.pages=[];a.pageCount=1;a.pagingToken=d;a.fetchingNetworkData=!1;a.serviceNetworkRequest=!1;b.set("v.prefetchData",a,!0)},fetchNextPage:function(b,d,f,c){c=c||{};var a=b.get("v.prefetchData"),g=!1;0<a.pages.length?($A.log("Returning page from existing pages"),this._executeCallbackWithMockActionAndRealData(a,d,f),g=!0):a.serviceNetworkRequest=!0;if(!(a.pages.length>a.config.pagesLeftThreshold)){if($A.util.isEmpty(a.pagingToken))return $A.log("Prefetcher - PagingToken un-available. Skipping. CallbackExecuted should be true :"+
g),!1;var h=a.pageCount,k=a.config.pageSizeGetter,e=a.config.pageCountGetter;c=!0===c.isPreloading?"Preload":"LoadMore";for(var l=e(c,h),p=[],m=e=0;m<l;m++){var n=k(c,m+h);0<n&&(e+=n,p.push(n))}$A.log("Prefetcher#fetchNextPage - pageSizeToPrefetch:"+e+"; pageCount:"+l);if(!(0<e))return!1;a.pageCount++;h=b.get("c.showMoreFeedItems");h.setParams({config:b.get("v.config"),pagingToken:a.pagingToken,pageSize:e});h.setCallback(this,function(b){a.fetchingNetworkData=!1;$A.log("Marking network request as complete");
var c=b.getReturnValue(),e=!g||a.serviceNetworkRequest;"SUCCESS"===b.getState()&&c?(this._populatePages(a,c.data,p),e?(this._executeCallbackWithMockActionAndRealData(a,d,f),g=!0):$A.log("Prefetcher - skipping execution of callback because callback already executed")):e&&($A.log("Had issues with prefetch request. Executing original callback"),d.apply(f,[b]),g=!0);a.serviceNetworkRequest=!1});h.setStorable({executeCallbackIfUpdated:!1});h.setBackground();h.setAbortable(!1);a.fetchingNetworkData?$A.log("skipping network request because one already in progress"):
(a.fetchingNetworkData=!0,$A.log("Disabling prefetcher network queue"),$A.enqueueAction(h));return!0}},_populatePages:function(b,d,f){var c=0,a=d.elements.length,g=0,h=f.length;for($A.log("Populating pages with prefetched data from server");c<a;){var k=g++;k>=h&&(k=h-1,b.pageCount++);var k=c+f[k],e=d.elements.slice(c,k);if(!$A.util.isUndefinedOrNull($A.util.lookup(d,"searchQueryId")))for(var l=0;l<e.length;l++)e[l].searchQueryId=d.searchQueryId;e={data:{nextPageToken:b.pagingToken,elements:d.elements.slice(c,
k)}};$A.util.isUndefinedOrNull($A.util.lookup(d,"elements",0,"searchQueryId"))||(e.data.searchQueryId=d.elements[0].searchQueryId);c=k;b.pages.push(e)}this._updatePagingToken(b,d.nextPageToken)},_updatePagingToken:function(b,d){var f=b.pages[b.pages.length-1];f&&(f.data.nextPageToken=d);b.pagingToken=d;$A.log("Paging token updated to: "+b.pagingToken)},_executeCallbackWithMockActionAndRealData:function(b,d,f){var c=b.pages.shift();$A.log("FeedInner - prefeteched pages left: "+b.pages.length);var a=
{getState:function(){return"SUCCESS"},getReturnValue:function(){return c}};b=$A.getCallback(function(){d.apply(f,[a])});window.requestAnimationFrame?window.requestAnimationFrame(b):b()}}});*/});
$A.componentService.addLibraryExporter("js://forceChatter.chatterHomeState.state",function(){/*$A.componentService.addLibraryInclude("js://forceChatter.chatterHomeState.state",[],function(){var e=null,d=function(a){this.parentComponentId=a;this.streamsListing=!1;this.feedElementId=this.feedType=this.recordTypeId=this.subjectId=null;this.flexipageBody=!1;this.feedListingData=null};d.prototype.updateFeedListingData=function(a){this.feedListingData=a;this.updateSelected();this.notifyUpdated()};d.prototype.updateState=function(a){this.streamsListing=a.streamsListing;this.subjectId=a.subjectId;
"me"===this.subjectId&&(this.subjectId=null);this.recordTypeId=a.recordTypeId;"default"===this.recordTypeId&&(this.recordTypeId=null);this.flexiPageDeveloperName=null;this.subjectId&&0===this.subjectId.indexOf("0F9")?(this.flexipageBody=!0,this.flexiPageDeveloperName="forceChatter__CollaborationGroup_rec_L"):this.flexipageBody=!1;this.feedType=a.feedType;this.streamsListing&&(this.feedType=null);this.feedElementId=a.feedElementId;!this.feedType&&(!this.subjectId&&!this.feedElementId&&!this.streamsListing)&&
(this.feedType="Landing");this.hideListing=a.hideListing;this.updateSelected();this.notifyUpdated()};d.prototype.streamDeleted=function(a){this.feedListingData.streamsList=this.feedListingData.streamsList.filter(function(c){return c.subjectId!==a});this.feedListingData.totalNumberOfStreams-=1;e.navigateToStreamHome()};d.prototype.updateSelected=function(){var a=this;if(this.feedListingData){["groupsList","streamsList"].forEach(function(b){(b=a.feedListingData[b])&&b.forEach(function(b){b.active=a.subjectId&&
b.subjectId===a.subjectId})});var c=a.feedListingData.feedsTypeList;c&&c.forEach(function(b){b.active=(b.feedType&&b.feedType.toLowerCase())===(a.feedType&&a.feedType.toLowerCase())})}};d.prototype.notifyUpdated=function(){var a=this.getParentCmp();a&&a.set("v.state",this)};d.prototype.getParentCmp=function(){var a=$A.componentService.getComponent(this.parentComponentId);if(a&&a.isValid())return a};return e={getState:function(a){var c=$A.componentService.getComponent(a),b=null;if(c&&c.isValid())return b=
c.get("v.state"),b||(b=new d(a),c.set("v.state",b)),b},navigateToStreamHome:function(){$A.getEvt("markup://force:navigateToState").setParams({pageReference:{type:"standard__featurePage",attributes:{featureName:"chatter",pageName:"streams"}}}).fire()},navigateToFeed:function(a,c,b){a={subjectId:a||"me",type:c&&c.toLowerCase()};b={recordTypeId:b};$A.getEvt("markup://force:navigateToState").setParams({pageReference:{type:"forceChatter:routingStateFeed",attributes:a,state:b}}).fire()}}});*/});
$A.componentService.addLibraryExporter("js://force.quickActionRecordLibrary.util",function(){/*$A.componentService.addLibraryInclude("js://force.quickActionRecordLibrary.util",["js://force.recordLibrary.util"],function(e){var d=this;d.getTargetRecord=function(c,d){var b=null;if($A.util.isArray(c))for(var a=0;a<c.length;a++)if(c[a].id===d){b=c[a];break}return b};d.mergeTemplateToRecord=function(c,f,b){var a=e.getFields(f),a=$A.util.filter(Object.keys(a),function(a){return-1===c.indexOf(a)});d.mergeRecords(b,f,a);return b};d.mergeRecords=function(c,f,b){$A.util.forEach(b,function(a){var b=e.getFieldValue(f,
a);b&&b.fields?d.mergeRecords(e.getFieldValue(c,a),b,Object.keys(e.getFields(b))):c&&e.setFieldValue(c,a,b)},this)};return d});*/});
$A.componentService.addLibraryExporter("js://force.quickActionRecordLibrary.massQuickActionAggregator",function(){/*$A.componentService.addLibraryInclude("js://force.quickActionRecordLibrary.massQuickActionAggregator",["js://force.recordLibrary.util"],function(m){return{mergeRecordsForMassQuickActionsDeprecated:function(b,a,d,c){if(!$A.util.isArray(b)||!$A.util.isArray(a)||!$A.util.isArray(d)||0===d.length)return null;for(var f=0,k=m.deepClone(b[d[0]]),h=[],f=1;f<d.length;f++){var g=b[d[f]],l=a[d[f]],e;for(e in l)if(l.hasOwnProperty(e)&&-1===h.indexOf(e)){try{if(g[e]===k[e]||null!==g[e]&&void 0!==g[e]&&"object"===
typeof g[e]&&JSON.stringify(g[e])===JSON.stringify(k[e]))continue}catch(n){}h.push(e)}}if(c&&0<=h.indexOf("RecordTypeId"))return!1;for(f=0;f<h.length;f++)k[h[f]]=null;return k},mergeRecordsForMassQuickActions:function(b,a,d){if(!$A.util.isArray(b)||!$A.util.isArray(a)||0===a.length)return null;for(var c=0,f=m.deepClone(b[a[0]]),k=b[a[0]].recordTypeInfo?b[a[0]].recordTypeInfo.recordTypeId:null,h=[],c=1;c<a.length;c++){var g=b[a[c]],l=b[a[c]].recordTypeInfo?b[a[c]].recordTypeInfo.recordTypeId:null;
if(d&&l!==k)return!1;for(var e in g.fields)g.fields.hasOwnProperty(e)&&-1===h.indexOf(e)&&(this.mergeRecordFieldForMassQuickActions(f.fields[e],g.fields[e])||h.push(e))}f.id&&(f.id=null);f.recordTypeInfo&&(f.recordTypeInfo=null);return f},mergeRecordFieldForMassQuickActions:function(b,a){var d=!0,c;for(c in a)if(a.hasOwnProperty(c)&&!(b[c]===a[c]||a[c]instanceof Array&&b[c]instanceof Array&&this.arraysEqual(a[c],b[c])))a[c]instanceof Object&&b[c]instanceof Object?d=this.mergeRecordFieldForMassQuickActions(b[c],
a[c]):(b[c]=null,d=!1);return d},arraysEqual:function(b,a){if(b===a)return!0;if(null==b||null==a||b.length!==a.length)return!1;for(var d=0;d<b.length;++d)if(b[d]!==a[d])return!1;return!0}}});*/});
$A.componentService.addLibraryExporter("js://force.virtualGridLib.gridHelper",function(){/*$A.componentService.addLibraryInclude("js://force.virtualGridLib.gridHelper",[],function(n){n||(n=window);var g=[{type:"click",useCapture:!1},{type:"mouseover",useCapture:!1},{type:"mouseout",useCapture:!1},{type:"keydown",useCapture:!1},{type:"focus",useCapture:!0}],p=function(a,b){var c=document.createElement(a);$A.render(b,c);return c},r=function(a){return(a=$A.util.getDataAttribute(a,"auraRenderedBy"))&&$A.componentService.get(a)},q=function(a){this._initialize(a)};q.prototype={_initialize:function(a){this._templates=
[];this._virtualItems=[];this._ptv=null;this._dirtyFlag=0;this._cmp=a;this.markDirty()},_destroy:function(a){if(this._templates)for(a=0;a<this._templates.length;++a)this._templates[a].destroy(!0);delete this._virtualItems;this._ptv=null;this._dirtyFlag=0;this._cmp.destroy(!0)},reset:function(a){this._initialize(a)},getVirtualItems:function(){return this._virtualItems},setVirtualItems:function(a){this._virtualItems=a},clearVirtualItems:function(){this._virtualItems=[]},appendVirtualItems:function(a){this._virtualItems=
this._virtualItems.concat(a)},initializeTemplates:function(a,b,c){if(a){var d=this._cmp,e={index:0};e[b]=void 0;this._ptv=$A.expressionService.createPassthroughValue(e,d);for(d=0;d<a.length;d++)a[d].attributes.valueProvider=this._ptv,this._templates.push($A.createComponentFromConfig(a[d])),this._templates[d].isInstanceOf("ui:hasGridEvents")&&this._templates[d].addHandler("gridAction",this._cmp,"c.handleGridAction");this._rowTemplate=this._initializeRowTemplate(c);this._ptv.ignoreChanges=!0;this._ptv.dirty=
!1;this._cmp.addValueHandler({event:"change",value:b,method:this._onItemChange.bind(this,this._ptv)})}},_onItemChange:function(a){a.ignoreChanges||(a.dirty=!0)},markClean:function(a){this._cmp.getConcreteComponent().markClean(a)},markDirty:function(){this._cmp.getConcreteComponent().set("v._dirty",++this._dirtyFlag)},_initializeRowTemplate:function(a){var b=document.createElement("tr"),c=0;a&&(a=p("th",this._templates[0]),a.setAttribute("scope","row"),a.className="slds-tree__item",b.appendChild(a),
c=1);for(;c<this._templates.length;c++)a=p("td",this._templates[c]),b.appendChild(a);$A.afterRender(this._templates);return b},createEventDelegates:function(a,b){for(var c=this,d=function(b){c._eventDelegator(a,b)},e=0;e<g.length;e++)b.addEventListener(g[e].type,d,g[e].useCapture)},_eventDelegator:function(a,b){if(a.isValid()){for(var c=b.type,d=b.target,e=b.target,g=a.get("v.itemVar"),k=[],l,f,h;d;){if(f=r(d))(h=f.isInstanceOf("aura:html")&&f.get("v.HTMLAttributes")["on"+c])&&k.push([h,f]);if(f=
d._data){l=Array.prototype.indexOf.call(d.childNodes,e);break}e=d;d=d.parentElement}if(!(0<!k.length)&&f){b.templateItem=f;b.templateElement=d;e&&-1!==l&&(this._templates[l].getElement=function(){return e.firstChild});this._ptv.set(g,f,!0);this._ptv.ignoreChanges=!1;for(this._ptv.dirty=!1;c=k.shift();)h=c[0],$A.util.isExpression(h)&&m._dispatchAction(void 0,b,c[1],h);this._ptv.dirty&&this._rerenderDirtyElement(f,d)}}},_rerenderDirtyElement:function(a,b){var c;a:{var d=this._virtualItems;for(c=0;c<
d.length;c++)if(d[c]===b)break a;c=null}return!$A.util.isUndefinedOrNull(c)?(d=this.generateVirtualRow(a),this._virtualItems[c]=d,c=this.getGridBody(),c.hasChildNodes()&&c.replaceChild(d,b),d):null},getGridBody:function(){return this._cmp.find("tbody").getElement()},generateVirtualRow:function(a){var b=this._cmp.get("v.itemVar");this._ptv.set(b,a);this.markClean("v.items");$A.renderingService.rerenderDirty("virtualRendering");b=this._rowTemplate.cloneNode(!0);b._data=a;return b}};var m={initializeVirtualGrid:function(a){return new q(a)},
initializeFixedHeader:function(a){a.get("v.fixedHeader")&&($A.util.toggleClass(a,"fixedHeaderTable",!0),m.updateSizesForFixedHeader(a))},updateSizesForFixedHeader:function(a){var b=a.getElement(),c=a.find("thead").getElement();a.find("tbody").getElement().style.height=b.clientHeight-c.clientHeight+"px"},initializeSorting:function(a){var b=a.get("v.headerColumns");a=a.get("c.handleSortTrigger");if(b)for(var c=0;c<b.length;c++){var d=b[c];d.get("v.sortable")&&d.set("v.onsortchange",a)}},_dispatchAction:function(a,
b,c,d){d.evaluate().runDeprecated(b)}};return m});*/});
$A.componentService.addLibraryExporter("js://force.virtualGridLib.keyNav",function(){/*$A.componentService.addLibraryInclude("js://force.virtualGridLib.keyNav",[],function(c){c||(c=window);c=function(){};c.prototype={initialize:function(a,b){this.tbody=a;this.currentRowIndex=0;this.map=this.initializeKeyCodeMap();this.focusableRow=null;a.addEventListener("keydown",this._onKeydown.bind(this),!0);a.addEventListener("keyup",this._onKeyup.bind(this),!0);this.updateRowElements(b)},initializeKeyCodeMap:function(){return{91:!1,17:!1,37:!1,39:!1}},updateRowElements:function(a){this.rowElements=
a;$A.util.isUndefinedOrNull(this.focusableRow)||this.focusOnTargetElement(this.focusableRow)},focusOnTargetElement:function(a){a=this._getTargetElement(a);$A.util.isUndefinedOrNull(a)||a.focus()},setFocusableRow:function(a){this.focusableRow=a},_findTargetRowIndex:function(a){for(;a;){var b=this.rowElements.indexOf(a);if(-1<b)return b;a=a.parentNode}return-1},_onKeydown:function(a){this._updateCurrentRowIndex(this._findTargetRowIndex(a.target));var b=this.rowElements[this.currentRowIndex];if(a.keyCode in
this.map)if(this.map[a.keyCode]=!0,this.map[91]&&this.map[37]||this.map[17]&&this.map[37])!0===b._data.isExpanded&&this._clickTargetElement(b),a.preventDefault(),this.map=this.initializeKeyCodeMap();else if(this.map[91]&&this.map[39]||this.map[17]&&this.map[39])!1===b._data.isExpanded&&this._clickTargetElement(b),a.preventDefault(),this.map=this.initializeKeyCodeMap()},_onKeyup:function(a){this._updateCurrentRowIndex(this._findTargetRowIndex(a.target));a.keyCode in this.map&&(this.map[a.keyCode]=
!1)},_clickTargetElement:function(a){a=this._getTargetElement(a);$A.util.isUndefinedOrNull(a)||a.click()},_getTargetElement:function(a){return a.querySelector("a.forceTreeGridTriggerCell")||a.querySelector("button")||a.querySelector("a")},_updateCurrentRowIndex:function(a){a!==this.currentRowIndex&&(this.currentRowIndex=a)}};return new c});*/});
$A.componentService.addLibraryExporter("js://support.util.EmailUtil",function(){/*$A.componentService.addLibraryInclude("js://support.util.EmailUtil",["js://support.util.TextUtil"],function(h){return{isValidEmailAddress:function(b){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(b)},prepareReplyMessage:function(b,c,d){var e=c.body,f=d?"\x3cbr\x3e":"\n",a;a=this.writeLineBreak("",3,f);a=a.concat($A.get("$Label.EmailMessage.OriginalMessage"));a=this.writeLineBreak(a,1,f);a=this.wrapWithBold(a,$A.get("$Label.EmailMessage.From").concat(":"),d);a=a.concat(" ");a=a.concat(this.getStringNonNull(c.fromAddress.displayName));
c.fromAddress.emailAddress&&(a=a.concat(" [").concat(c.fromAddress.emailAddress).concat("]"));a=this.writeLineBreak(a,1,f);a=this.wrapWithBold(a,$A.get("$Label.EmailMessage.TimeStamp").concat(":"),d);a=a.concat(" ").concat((new Date(b.createdDate)).toLocaleString());a=this.writeLineBreak(a,1,f);a=this.wrapWithBold(a,$A.get("$Label.EmailMessage.To").concat(":"),d);var g=[];for(b=0;b<c.toAddresses.length;b++)c.toAddresses[b].emailAddress&&g.push(c.toAddresses[b].emailAddress);a=a.concat(" ").concat(this.getStringNonNull(g.join()));
a=this.writeLineBreak(a,1,f);if(c.ccAddresses&&0<c.ccAddresses.length){a=this.wrapWithBold(a,$A.get("$Label.EmailMessage.Cc").concat(":"),d);g=[];for(b=0;b<c.ccAddresses.length;b++)c.ccAddresses[b].emailAddress&&g.push(c.ccAddresses[b].emailAddress);a=a.concat(" ").concat(this.getStringNonNull(g.join()));a=this.writeLineBreak(a,1,f)}a=this.wrapWithBold(a,$A.get("$Label.EmailMessage.Subject").concat(":"),d);a=a.concat(" ");a=a.concat(this.getStringNonNull(c.subject));a=this.writeLineBreak(a,2,f);c.isRichText&&
!d?e=h.convertHtml2Text(e):!c.isRichText&&d&&(e=e.replace(/(?:\r\n|\r|\n)/g,"\x3cbr /\x3e"));return a=a.concat(e)},writeLineBreak:function(b,c,d){for(var e=0;e<c;e++)b=b.concat(d);return b},getStringNonNull:function(b){return b?b:""},wrapWithBold:function(b,c,d){d&&(b=b.concat("\x3cb\x3e"));b=b.concat(c);d&&(b=b.concat("\x3c/b\x3e"));return b},removeOriginalAndForwardMessage:function(b){if(!$A.util.isEmpty(b)){var c=b.indexOf($A.get("$Label.EmailMessage.OriginalMessage")),d=b.indexOf($A.get("$Label.EmailMessage.ForwardMessage"));
if(0<=c)return 0<=d&&d<c?b.slice(0,d):b.slice(0,c);if(0<=d)return b.slice(0,d)}return b}}});*/});
$A.componentService.addLibraryExporter("js://support.util.CompactFeed",function(){/*$A.componentService.addLibraryInclude("js://support.util.CompactFeed",["js://forceChatter.pageLoadCoordinationService.service","js://force.dynamicLabelLibrary.labelLoader"],function(k,l){return{getPostVisibilityLabel:function(a){var b="";a&&(b="","InternalUsers"===a.visibility?b=$A.get("$Label.CompactFeed.InternalUsers"):"AllUsers"===a.visibility&&(b=$A.get("$Label.CompactFeed.AllUsers")),b=$A.get("{!$Label.CompactFeed.PostVisibility}").replace("{0}",b));return b},isIconUrl:function(a){return/^[^\s@]+\.[^\s@]+$/.test(a)},
isInternalFeedItem:function(a){return a&&a.capabilities&&a.capabilities.caseComment&&!a.capabilities.caseComment.published?!0:!1},resolveLabel:function(a,b){var e=[],c=/\{(0|[1-9][0-9]{0,})\}/,f=/\}/;if(!a)return e;var d=a.search(c);if(-1>d)return e;for(var g=[],h=a;-1<d;){0<d&&g.push(h.substring(0,d));h=h.substring(d);d=h.search(f);if(0>d)break;g.push(parseInt(h.substring(1,d),10));h=h.substring(d+1);d=h.search(c)}0<h.length&&g.push(h);for(c=0;c<g.length;++c)f=g[c],"number"==typeof f?b.length<=f||
(f=b[f])&&e.push(f):e.push(f);return e},extractFeedItemBodyText:function(a){var b="";if(a&&a.body){if($A.util.isString(a.body.text))return a.body.text;$A.util.isArray(a.body.messageSegments)&&a.body.messageSegments.forEach(function(a){$A.util.isString(a.text)&&(b+=a.text)})}return b},createLabelWithURL:function(a,b,e,c){$A.createComponents([["ui:outputURL",b]],function(b,d){"SUCCESS"===d&&(c&&($A.util.isArray(c)?b.push.apply(b,c):c&&b.push(c)),$A.createComponent("support:label",{label:a,values:b},
function(a,b,c){e(a,b,c)}))})},createLabelWithEnhancedOutputURL:function(a,b,e,c){$A.createComponents([["support:enhancedOutputURL",b]],function(b,d){"SUCCESS"===d&&(c&&($A.util.isArray(c)?b.push.apply(b,c):c&&b.push(c)),$A.createComponent("support:label",{label:a,values:b},function(a,b,c){e(a,b,c)}))})},createLabelWithEntityLink:function(a,b,e,c){$A.createComponents([["forceChatter:entityLink",{data:{id:b.id,name:b.name}}]],function(b,d){"SUCCESS"===d&&(c&&($A.util.isArray(c)?b.push.apply(b,c):b.push(c)),
$A.createComponent("support:label",{label:a,values:b},function(a,b,c){e(a,b,c)}))})},getLabelAfterPageLoad:function(a,b,e,c,f){k.waitForPageLoad().then($A.getCallback(function(){l.getLabel(a,b,e,c,f)}))},isRequestForLabel:function(a){return!(a&&(a.endsWith("__c")||a.endsWith("__kav")||a.endsWith("__ka")))},markUnreadFeedItemsAsRead:function(a,b,e){b&&a.isValid()&&k.waitForPageLoad().then($A.getCallback(function(){var c=[],f=$A.get("$SObjectType").CurrentUser.Id,d=[];b.forEach(function(a){a.capabilities&&
(a.capabilities.interactions&&a.actor&&f!==a.actor.id)&&(0===a.capabilities.interactions.count&&(c.push(a.id),a.capabilities.interactions.count=1),(a=a.capabilities.emailMessage)&&"NewStatus"===a.status&&d.push(a.emailMessageId))});if(a.isValid()&&(0<c.length||0<d.length)){var g=a.get("c.handleCompactFeedItemInteraction");g.setBackground();g.setParams({parentId:b[0].parent.id,feedItemIds:c,emailMessageIds:d});"function"===typeof e&&g.setCallback(this,e);$A.enqueueAction(g)}else e({isActionSkipped:!0})}))},
toggleBoldClass:function(a,b){var e=a.find("compactFeedItemHeader").find("customSummary"),c=a.find("compactFeedItemHeader").find("customPreamble");$A.util.toggleClass(e,"unReadFeedItemWeight",b);$A.util.toggleClass(c,"unReadFeedItemWeight",b);b&&a.find("compactFeedItemHeader").set("v.isUnreadFeed",!0)}}});*/});
$A.componentService.addLibraryExporter("js://support.util.TextUtil",function(){/*$A.componentService.addLibraryInclude("js://support.util.TextUtil",[],function(){return{convertHtml2Text:function(a,c){if(!a||0===a.length)return"";a=a.replace(/(<a\s[^>]{0,}href\s{0,}=\s{0,}\"([^\"]{0,})\"[^>]{0,}>(.{0,}?)<\/a>)/g,"$1 \x26lt;$2\x26gt;");var d=!0;a.match(/^<br\s{0,}\/\s{0,}>/g)&&(d=!1);var b=document.implementation.createHTMLDocument("New").body;c?(b.innerHTML=this.removeNewlines(a),b=b.innerText):(b.innerHTML=a,b=b.textContent||b.innerText||"");d&&(b=this.suppressWhiteSpacePost(b));
return b},suppressWhiteSpacePost:function(a){return a.replace(/^\s{0,}(\S{0,}(\s+\S+){0,})\s{0,}$/gm,"$1")},ellipsis:function(a,c){if(this.isTextFitted(a))return c;var d=a.cloneNode(!0),b=a.parentNode||document.body;b.appendChild(d);for(var e=1,f=c.length+1,g=e,h;4<f-e;)currentLength=Math.floor((f+e)/2),h=c.substr(0,currentLength)+"...",d.innerHTML=h,this.isTextFitted(d)?(g=currentLength,e=currentLength+1):f=currentLength-1;b.removeChild(d);return c.substr(0,g)+"..."},isTextFitted:function(a){return a.offsetHeight>=
a.scrollHeight},removeNewlines:function(a,c){return!$A.util.isString(a)||$A.util.isEmpty(a)?a:a.replace(/[\r\n|\r|\n]+/g,"undefined"!==typeof c?c:" ")},removeMiscChars:function(a){return!$A.util.isString(a)?a:a.replace(/[\u200B]+/g,"")},escapeHTMLTags:function(a){var c=a;!$A.util.isUndefinedOrNull(a)&&!$A.util.isEmpty(a)&&(c=a.replace(/&/g,"\x26amp;").replace(/"/g,"\x26quot;").replace(/'/g,"\x26#39;").replace(/</g,"\x26lt;").replace(/>/g,"\x26gt;"));return c}}});*/});
$A.componentService.addLibraryExporter("js://support.util.CmpUtil",function(){/*$A.componentService.addLibraryInclude("js://support.util.CmpUtil",[],function(){return{destroy:function(a){if($A.util.isComponent(a))a.destroy();else if($A.util.isArray(a))for(var b=0;b<a.length;++b){var c=a[b];$A.util.isComponent(c)&&c.destroy()}},replace:function(a,b,c){this.destroy(a.get(b));c&&a.set(b,c)}}});*/});
$A.componentService.addLibraryExporter("js://support.util.IncidentMgmtSetupUtil",function(){/*$A.componentService.addLibraryInclude("js://support.util.IncidentMgmtSetupUtil",[],function(){return{IncidentMgmtSetup:{IncidentTrailhead:"incident_trailhead",IncidentOverview:"incident_overview",AlignIncidentCase:"align_incident_and_case"},getAllSetupTilesInfo:function(a){allSetupTilesInfo={};allSetupTilesInfo[this.IncidentMgmtSetup.IncidentTrailhead]={name:this.IncidentMgmtSetup.IncidentTrailhead,title:$A.get("$Label.IncidentManagementSetupTrailheadTile.title"),description:$A.get("$Label.IncidentManagementSetupTrailheadTile.description"),
navigateOnPress:!0,navUrl:$A.get("$Label.IncidentManagementSetupTrailheadTile.navUrl"),navLabel:$A.get("$Label.IncidentManagementSetupTrailheadTile.linkText"),buttonLabel:$A.get("$Label.IncidentManagementSetupTrailheadTile.linkText"),navAssistiveText:": "+$A.get("$Label.IncidentManagementSetupTrailheadTile.title"),navUsingEvent:!1,category:"resources"};allSetupTilesInfo[this.IncidentMgmtSetup.IncidentOverview]={name:this.IncidentMgmtSetup.IncidentOverview,title:$A.get("$Label.IncidentManagementSetupOverviewTile.title"),
description:$A.get("$Label.IncidentManagementSetupOverviewTile.description"),navigateOnPress:!1,navUrl:$A.get("$Label.IncidentManagementSetupOverviewTile.navUrl"),navLabel:$A.get("$Label.IncidentManagementSetupOverviewTile.linkText"),buttonLabel:$A.get("$Label.IncidentManagementSetupOverviewTile.linkText"),navAssistiveText:": "+$A.get("$Label.IncidentManagementSetupOverviewTile.title"),navUsingEvent:!1,category:"resources",videoInModal:!0,videoModalTitle:$A.get("$Label.IncidentManagementSetupOverviewTile.title")};
allSetupTilesInfo[this.IncidentMgmtSetup.AlignIncidentCase]={name:this.IncidentMgmtSetup.AlignIncidentCase,title:$A.get("$Label.IncidentManagementSetupMarketingTile.title"),description:$A.get("$Label.IncidentManagementSetupMarketingTile.description"),navigateOnPress:!1,navUrl:$A.get("$Label.IncidentManagementSetupMarketingTile.navUrl"),navLabel:$A.get("$Label.IncidentManagementSetupMarketingTile.linkText"),buttonLabel:$A.get("$Label.IncidentManagementSetupMarketingTile.linkText"),navAssistiveText:": "+
$A.get("$Label.IncidentManagementSetupMarketingTile.title"),navUsingEvent:!1,category:"resources",videoInModal:!0,videoModalTitle:$A.get("$Label.IncidentManagementSetupMarketingTile.title")};return allSetupTilesInfo},getConnectedAppsInfo:function(a){return connectedAppsInfo=[{title:$A.get("$Label.IncidentManagementSetupConnectedApps.slackTitle"),description:$A.get("$Label.IncidentManagementSetupConnectedApps.slackDesc"),buttonLabel:$A.get("$Label.IncidentManagementSetupConnectedApps.slackButton"),
link:$A.get("$Label.IncidentManagementSetupConnectedApps.slackLink"),type:$A.get("$Label.IncidentManagementSetupConnectedApps.slackType"),sectionType:$A.get("$Label.IncidentManagementSetup.integrationTabCollaborateSectionHeader")},{title:$A.get("$Label.IncidentManagementSetupConnectedApps.dashboardTitle"),description:$A.get("$Label.IncidentManagementSetupConnectedApps.dashboardDesc"),buttonLabel:$A.get("$Label.IncidentManagementSetupConnectedApps.dashboardButton"),link:$A.get("$Label.IncidentManagementSetupConnectedApps.dashboardLink"),
type:$A.get("$Label.IncidentManagementSetupConnectedApps.appExchangeType"),sectionType:$A.get("$Label.IncidentManagementSetup.integrationTabOptimizeSectionHeader")},{title:$A.get("$Label.IncidentManagementSetupConnectedApps.datadogTitle"),description:$A.get("$Label.IncidentManagementSetupConnectedApps.datadogDesc"),buttonLabel:$A.get("$Label.IncidentManagementSetupConnectedApps.datadogButton"),link:$A.get("$Label.IncidentManagementSetupConnectedApps.datadogLink"),type:$A.get("$Label.IncidentManagementSetupConnectedApps.appExchangeType"),
sectionType:$A.get("$Label.IncidentManagementSetup.integrationTabMonitorSectionHeader")},{title:$A.get("$Label.IncidentManagementSetupConnectedApps.pagerDutyTitle"),description:$A.get("$Label.IncidentManagementSetupConnectedApps.pagerDutyDesc"),buttonLabel:$A.get("$Label.IncidentManagementSetupConnectedApps.pagerDutyButton"),link:$A.get("$Label.IncidentManagementSetupConnectedApps.pagerDutyLink"),type:$A.get("$Label.IncidentManagementSetupConnectedApps.appExchangeType"),sectionType:$A.get("$Label.IncidentManagementSetup.integrationTabMonitorSectionHeader")},
{title:$A.get("$Label.IncidentManagementSetupConnectedApps.cadalysTitle"),description:$A.get("$Label.IncidentManagementSetupConnectedApps.cadalysDesc"),buttonLabel:$A.get("$Label.IncidentManagementSetupConnectedApps.cadalysButton"),link:$A.get("$Label.IncidentManagementSetupConnectedApps.cadalysLink"),type:$A.get("$Label.IncidentManagementSetupConnectedApps.appExchangeType"),sectionType:$A.get("$Label.IncidentManagementSetup.integrationTabAutomateSectionHeader")},{title:$A.get("$Label.IncidentManagementSetupConnectedApps.mulesoftTitle"),
description:$A.get("$Label.IncidentManagementSetupConnectedApps.mulesoftDesc"),buttonLabel:$A.get("$Label.IncidentManagementSetupConnectedApps.mulesoftButton"),link:$A.get("$Label.IncidentManagementSetupConnectedApps.mulesoftDocId"),type:$A.get("$Label.IncidentManagementSetupConnectedApps.helpDocLinkType"),sectionType:$A.get("$Label.IncidentManagementSetup.integrationTabCollaborateSectionHeader")},{title:$A.get("$Label.IncidentManagementSetupConnectedApps.criticalIncientCenterTitle"),description:$A.get("$Label.IncidentManagementSetupConnectedApps.criticalIncientCenterDesc"),
buttonLabel:$A.get("$Label.IncidentManagementSetupConnectedApps.criticalIncientCenterButton"),link:$A.get("$Label.IncidentManagementSetupConnectedApps.criticalIncientCenterLink"),type:$A.get("$Label.IncidentManagementSetupConnectedApps.appExchangeType"),sectionType:$A.get("$Label.IncidentManagementSetup.integrationTabOptimizeSectionHeader")}]}}});*/});
$A.componentService.addLibraryExporter("js://force.formsContext.createContext",function(){/*$A.componentService.addLibraryInclude("js://force.formsContext.createContext",[],function(){return function(){function d(a,b){c.forEach(function(c){c(a,b)})}var c=[],b={};return{add:function(a,c){b[a]||(b[a]=[]);b[a].push(c);d("ADD",a)},remove:function(a){delete b[a];d("REMOVE",a)},clear:function(){b={};d("CLEAR")},getAll:function(){return Object.keys(b)},getComponentsInEdit:function(a){return b[a]},includes:function(a){return b[a]},observe:function(a){c.push(a)},disconnect:function(a){c.splice(c.indexOf(a),
1)},get length(){return Object.keys(b).length}}}});*/});
$A.componentService.addLibraryExporter("js://runtime_sales_activities.activityTimelineStreamLibrary.activityTimelineStream",function(){/*$A.componentService.addLibraryInclude("js://runtime_sales_activities.activityTimelineStreamLibrary.activityTimelineStream",[],function(){return{setCirclesText:function(a,b){this.isLWCWrapperComponent(a)||(a.set("v.circleIcon",this.getCircleIcon(b)),a.set("v.circleText",this.getCircleText(b)))},getCircleIcon:function(a){return 0===a?"lock":0<a?"groups":"world"},getCircleText:function(a){return 0===a?$A.get("$Label.activityTimeline.onlyYou"):1===a?$A.get("$Label.activityTimeline.circle"):1<a?$A.get("$Label.activityTimeline.circles").replace("{0}",
a):$A.get("$Label.activityTimeline.everyone")},setNoSubjectTextForEmptySubject:function(a){this.isLWCWrapperComponent(a)||a.get("v.record.Title")||a.set("v.record.Title",$A.get("$Label.activityTimeline.noSubjectActivityLabel"))},setIconProps:function(a,b,c,d){this.isLWCWrapperComponent(a)||(a.set("v.scopeIcon",b),a.set("v.scopeColor",c),a.set("v.iconLabel",d))},convertSharingBits:function(a){(a=a.get("v.groupSharingList"))&&a.forEach(function(a){a.shared=a.overriddenSharingLevel?"Full"===a.overriddenSharingLevel?
!0:!1:"Full"===a.sharingLevel?!0:!1})},showWarningsAndSave:function(a){var b=a.get("v.sharingType");"teams"===b?this.save(a):"everyone"===b?(b=this.getOtherOwnersPrivate(a),b.ownerName?this.showWarning(a,!1,b):this.save(a)):(b=this.getOtherOwnersShared(a),b.ownerName?this.showWarning(a,!0,b):this.save(a))},showWarning:function(a,b,c){c={isPrivate:b,userName:c.ownerName,numOthers:c.numMore};var d={saveFunction:a.getReference("c.save")},e=b?$A.get("$Label.activityTimeline.privateWarningHeader"):$A.get("$Label.activityTimeline.everyoneWarningHeader");
$A.createComponent("markup://runtime_sales_activities:siqCherrypickingSettingsConfirmationBody",c,function(a,b,c){if("SUCCESS"===b)$A.createComponent("markup://runtime_sales_activities:siqCherrypickingSettingsConfirmationFooter",d,function(b,c,d){if("SUCCESS"===c)$A.getEvt("markup://ui:createPanel").setParams({panelType:"actionModal",visible:!0,panelConfig:{title:e,modalClass:"slds-modal--prompt",headerClass:"slds-theme--warning slds-theme--alert-texture",bodyClass:"slds-p-around--medium",footerClass:"slds-theme--default",
body:a,footer:b}}).fire();else throw Error("siqCherrypickingSettings.helper.showWarning failed to create confirmation modal footer: "+JSON.stringify(d));});else throw Error("siqCherrypickingSettings.helper.showWarning failed to create confirmation modal body: "+JSON.stringify(c));})},save:function(a){var b,c={externalId:this.getExternalId(a)};switch(a.get("v.sharingType")){case "everyone":b=a.get("c.cherryPickToEveryone");break;case "onlyme":b=a.get("c.cherryPickToOnlyMe");break;default:if(b=a.get("c.cherryPickToMyGroups"),
c.groupsToShareWith=this.getGroupsToShareWith(a),0===c.groupsToShareWith.length){$A.getEvt("markup://force:showToast").setParams({message:$A.get("$Label.SharingSettings.ShareWithGroupsRequireAtLeastOneGroup"),type:"error"}).fire();return}}b.setParams(c);b.setCallback(this,function(b){this.onSuccess(a,b)}.bind(this),"SUCCESS");b.setCallback(this,function(b){this.displayError(a,b)},"ERROR");b.setCallback(this,function(b){this.displayRetryPanel(a,b)},"INCOMPLETE");b.setAbortable(!1);$A.enqueueAction(b)},
getGroupsToShareWith:function(a){var b=[];this.getGroupSharingList(a).forEach(function(a){a.shared&&b.push(a.groupId)});return b},onSuccess:function(a,b){var c=a.get("v.panel");c&&c.close();var c=$A.getEvt("markup://force:showToast"),d={message:"EventStreamObject"===this.getObjectType(a)?$A.get("$Label.activityTimeline.CherryPickingEventToast"):$A.get("$Label.activityTimeline.CherryPickingEmailToast"),hasOffsetFromTop:!0,type:"success"};c.setParams(d);c.fire();"cherryPickToMyGroups"===b.getDef().name&&
this.updateGroupSharingListAfterCherrypickingToGroups(a);this.updateNumSharedCircles(a);if(!this.isLWCWrapperComponent(a)&&(c=a.getEvent("updateVirtualListItem")))d={recordId:a.get("v.externalId"),item:{record:a.get("v.record")},state:"SUCCESS"},c.setParams(d),c.fire()},displayRetryPanel:function(a,b){$A.getEvt("markup://force:showOfflineMessage").setParams({retryAction:b}).fire()},displayError:function(a,b){$A.getEvt("markup://force:showMessage").setParams({message:b.getError()[0].message,severity:"error"}).fire()},
updateNumSharedCircles:function(a){var b,c=a.get("v.sharingType");"everyone"===c?b=-1:"onlyme"===c?b=0:(b=0,this.getGroupSharingList(a).forEach(function(a){a.shared&&(b+=1)}));if(this.isLWCWrapperComponent(a)){if(c=a.get("v.item"))c=c.record,c.circlesSharedWith=b,c.numSharedCicles=b,(a=a.get("v.sharingSettingsSaveCallback"))&&a(b)}else a.set("v.numSharedCircles",b),this.setCirclesText(a,a.get("v.numSharedCircles"))},updateGroupSharingListAfterCherrypickingToGroups:function(a){this.getGroupSharingList(a).forEach(function(a){a.overriddenSharingLevel=
a.shared?"Full":"Summary"})},isLWCWrapperComponent:function(a){return"timelineFixedStencilWrapper"===a.getDef().getDescriptor().name||"timelineVoiceVideoCallsWrapper"===a.getDef().getDescriptor().name||"unifiedEmailStencilWrapper"===a.getDef().getDescriptor().name||"timelineEmailStencilWrapper"===a.getDef().getDescriptor().name},getGroupSharingList:function(a){return this.isLWCWrapperComponent(a)?a.get("v.item.record").groupSharingList:a.get("v.groupSharingList")},getExternalId:function(a){return this.isLWCWrapperComponent(a)?
a.get("v.item.record").ExternalId:a.get("v.externalId")},getObjectType:function(a){return this.isLWCWrapperComponent(a)?a.get("v.item.record").sobjectType:a.get("v.objectType")},getOtherOwnersPrivate:function(a){return this.isLWCWrapperComponent(a)?a.get("v.item.record").otherOwnersPrivate:a.get("v.otherOwnersPrivate")},getOtherOwnersShared:function(a){return this.isLWCWrapperComponent(a)?a.get("v.item.record").otherOwnersShared:a.get("v.otherOwnersShared")}}});*/});
$A.componentService.addLibraryExporter("js://ui.contentTypeLibrary.contentType",function(){/*$A.componentService.addLibraryInclude("js://ui.contentTypeLibrary.contentType",[],function(){function c(a){this.setAccepted(a)}function d(a){return a.filter(function(a){return $A.util.isString(a)&&2===a.split(b).length&&e(a)})}function e(a){a=a.split(b)[0].toLowerCase();return-1!==g.indexOf(a)}function f(a){return{type:a.split(b)[0],subType:a.split(b)[1]}}var b="/",g="application audio example image message model multipart text video *".split(" ");c.prototype.accept=function(a){var c=$A.util.isString(a)&&
2===a.split(b).length&&e(a)?a:a instanceof File?a.type:!1;return c&&this._contentTypes.some(function(a){var b=c,b=f(b);a=f(a);return(b.type===a.type||"*"===a.type)&&(b.subType===a.subType||"*"===a.subType)})};c.prototype.setAccepted=function(a){if(Array.isArray(a))return this._contentTypes=d(a),this;if($A.util.isString(a))return this._contentTypes=d(a.split(",")),this;this._contentTypes=[];return this};return function(a){return new c(a)}});*/});
$A.componentService.addLibraryExporter("js://runtime_sales_cadence.cadenceLibrary.TargetsCadenceActionUtils",function(){/*$A.componentService.addLibraryInclude("js://runtime_sales_cadence.cadenceLibrary.TargetsCadenceActionUtils",["js://clients.msMailLibrary.Toast","js://runtime_sales_cadence.cadenceLibrary.Constants"],function(q,e){function r(a,c){h(a);c&&$A.util.isFunction(c.publishToActionsRefresh)&&c.publishToActionsRefresh();$A.util.isFunction(a.isValid)&&(a.isValid()&&!a.get("v.massActionContext"))&&$A.getEvt("markup://force:refreshView").fire()}function s(a){a=a?{isVisible:!0,showMask:!0}:{isVisible:!1};$A.getEvt("markup://force:toggleModalSpinner").setParams(a).fire()}
function h(a){$A.util.isFunction(a.isValid)&&a.isValid()&&(a=a.get("v.panel"),!$A.util.isUndefinedOrNull(a)&&$A.util.isFunction(a.close)&&a.close())}function t(a){var c=a.warningMessage,d=a.errorMessage,b=0;$A.util.isEmpty(a.successMessage)||(b+=5E3);$A.util.isEmpty(c)||(b+=5E3);$A.util.isEmpty(d)||(b+=5E3);return b}return{handleTargetsCadenceActionResponse:function(a,c,d,b,m,f,u,k){s(!1);var g=!1,v=!1;if("SUCCESS"===c.getState()){if($A.util.isFunction(a.isValid)&&a.isValid()){var l=c.getReturnValue();
if(!$A.util.isUndefinedOrNull(l)){c=l.successMessage;var h=l.warningMessage,w=l.errorMessage;$A.util.isFunction(f)&&f(l)?$A.util.isFunction(u)&&u(l):(g=t(l),f=!0,$A.util.isEmpty(c)||(q.showToastMessage("success",c,null,null,g),v=!0),$A.util.isEmpty(h)||(q.showToastMessage("warning",h,null,null,g),f=!1),$A.util.isEmpty(w)||(q.showToastMessage("error",w,null,null,g),f=!1),g=!0,f&&$A.getEvt("markup://runtime_sales_cadence:cadenceCardRefreshEvent").setParams({targetIds:d,actionType:b?b.actionType:null,
actionLocation:b?b.actionLocation:null}).fire())}}}else"INCOMPLETE"===c.getState()?b&&!$A.util.isEmpty(b.auraAction)&&($A.getEvt("markup://force:showOfflineMessage").fire({retryAction:b.auraAction}),g=!0):($A.getEvt("markup://force:showMessage").setParams({message:c.getError(),severity:"error"}).fire(),g=!0);if(v&&k){k=a.find("ruleEditorWrapper");var n;if(b.actionType===e.CadenceActionType.ADD){n=e.CadenceActionName.ADD;b=[{FieldName:e.CadenceActionParameterName.CADENCE_NAME_OR_ID,Value:b.cadenceId,
DataType:"String"},{FieldName:e.CadenceActionParameterName.USER_ID,Value:b.userId,DataType:"String"}];var p;Array.isArray(d)&&0<d.length&&(d=d[0],d.startsWith("001")?p=e.SupportedTargetEntities.PERSON_ACCOUNT:d.startsWith("003")?p=e.SupportedTargetEntities.CONTACT:d.startsWith("00Q")&&(p=e.SupportedTargetEntities.LEAD));n={ActionIdOrEnum:n,ReferenceEntity:p,AutomatedActionParams:b}}k.open(null,!1,n,function(){r(a,m)})}else g&&r(a,m)},toggleModalSpinner:s,displayUpcomingStepConfirmationModal:function(a,
c,d){var b=$A.get("$Label.CadenceStepsCardStepLabel.UpcomingStepWarningTitle"),m=$A.get("$Label.CadenceStepsCardStepLabel.UpcomingStepWarningBody"),f=$A.get("$Label.Buttons.cancel"),e=$A.get("$Label.CadenceStepsCardStepLabel.UpcomingStepWarningTakeAction"),k=a.getReference("c.cancel");a.set("v.clickEventBeforePanel",c);this.createConfirmationModal(a,b,m,f,k,e,d)},createConfirmationModal:function(a,c,d,b,e,f,h){var k=$A.createComponentFromConfig({descriptor:"markup://lightning:formattedRichText",attributes:{value:d,
"class":"slds-text-body_regular slds-align_absolute-center"}});d=[];f={"aura:id":"takeAction",label:f,title:f,variant:"brand",onclick:h,"class":"takeActionButton slds-m-left_x-small"};d.push(["lightning:button",{"aura:id":"cancel",variant:"neutral",label:b,title:b,onclick:e,"class":"cancelBtn"}]);d.push(["lightning:button",f]);$A.createComponents(d,$A.getCallback(function(b){$A.getEvt("markup://ui:createPanel").fire({panelType:"modal",visible:!0,closeOnLocationChange:!0,owner:a.getGlobalId(),panelConfig:{body:k,
isScrollable:!1,autoFocus:!0,showCloseButton:!0,title:c,footer:b,"class":"modal-container"},onCreate:$A.getCallback(function(b){a.isValid()&&a.set("v.panel",b)})})}))},hidePanel:h,showPageLevelErrors:function(a,c){c&&0<c.length&&$A.createComponent("markup://force:pageError",{errors:c,collisionDetected:!1},$A.getCallback(function(c){a.find("pageLevelErrors").set("v.body",c)}))},getCadenceActionToastDuration:t,ActionInfo:function(a,c,d,b,e){this.auraAction=a;this.actionType=c;this.actionLocation=d;
this.cadenceId=b;this.userId=e}}});*/});
$A.componentService.addLibraryExporter("js://runtime_sales_cadence.cadenceLibrary.CadenceStepCard",function(){/*$A.componentService.addLibraryInclude("js://runtime_sales_cadence.cadenceLibrary.CadenceStepCard",[],function(f){var c={REMOVE_FROM_CADENCE:{title:$A.get("$Label.RemoveFromCadence.RemoveFromCadenceActionName"),label:$A.get("$Label.RemoveFromCadence.RemoveFromCadenceActionName"),value:"RemoveFromCadence",canShowAction:function(a){return!0}},CHANGE_TARGET_ASSIGNEE:{title:$A.get("$Label.ChangeTargetAssignee.ChangeTargetAssigneeName"),label:$A.get("$Label.ChangeTargetAssignee.ChangeTargetAssigneeName"),
value:"ChangeTargetAssignee",canShowAction:function(a){return a&&!0===a.canAccessChangeTargetAssignee&&a.hasAccessToRelatedAttributes}},PAUSE_CADENCE_BY_TARGET_ID:{title:$A.get("$Label.PauseCadence.PauseCadenceByTargetIdName"),label:$A.get("$Label.PauseCadence.PauseCadenceByTargetIdName"),value:"PauseCadenceByTargetId",canShowAction:function(a){return a&&a.hasAccessToRelatedAttributes}}},e=["CHANGE_TARGET_ASSIGNEE","PAUSE_CADENCE_BY_TARGET_ID","REMOVE_FROM_CADENCE"];return{CADENCE_ACTIONS_CONFIG:c,
getBuyerInCadenceActions:function(a){var d=[];e.forEach(function(b){b=c[b];$A.util.isFunction(b.canShowAction)&&b.canShowAction(a)&&d.push(b)});return d},getPauseCadenceAction:function(){return c.PAUSE_CADENCE_BY_TARGET_ID}}});*/});
$A.componentService.addLibraryExporter("js://runtime_sales_cadence.cadenceLibrary.CadenceActionsHandlers",function(){/*$A.componentService.addLibraryInclude("js://runtime_sales_cadence.cadenceLibrary.CadenceActionsHandlers",[],function(){return{handleAddToCadenceAction:function(a,b,c,d,e,f,g){$A.getEvt("markup://force:runActionComponent").fire({descriptor:"markup://runtime_sales_cadence:addToCadence",isClientSideCreatable:!0,attributes:{ids:a,massActionContext:c,metadata:b,entityName:d,entityPluralName:e,actionLocation:f,relatedToId:g}})},handleMassAsyncAddToCadenceAction:function(a,b,c,d,e){$A.getEvt("markup://force:runActionComponent").fire({descriptor:"markup://runtime_sales_cadence:addToCadence",
isClientSideCreatable:!0,attributes:{ids:[],massActionContext:!0,metadata:c,actionLocation:d,relatedToId:e,isCadenceMassAsyncAction:!0,targetListId:a,targetListMetadata:b}})},handleRemoveFromCadenceAction:function(a,b,c,d,e,f){$A.getEvt("markup://force:runActionComponent").fire({descriptor:"markup://runtime_sales_cadence:removeFromCadence",isClientSideCreatable:!0,attributes:{entityName:d,entityPluralName:e,stepTrackerId:b,ids:a,massActionContext:c,actionLocation:f}})},handleMassAsyncRemoveFromCadenceAction:function(a,
b,c){$A.getEvt("markup://force:runActionComponent").fire({descriptor:"markup://runtime_sales_cadence:removeFromCadence",isClientSideCreatable:!0,attributes:{stepTrackerId:null,ids:[],massActionContext:!0,isCadenceMassAsyncAction:!0,targetListId:a,targetListMetadata:b,actionLocation:c}})},handleChangeTargetAssigneeAction:function(a,b,c,d,e,f){$A.getEvt("markup://force:runActionComponent").fire({descriptor:"markup://runtime_sales_cadence:changeTargetAssignee",isClientSideCreatable:!0,attributes:{record:e,
entityName:d,stepTrackerId:b,ids:a,massActionContext:c,closeAnimation:"bottom",animation:"center",actionLocation:f}})},handlePauseCadenceByTargetIdAction:function(a,b,c,d,e,f){$A.getEvt("markup://force:runActionComponent").fire({descriptor:"markup://runtime_sales_cadence:pauseResumeCadence",isClientSideCreatable:!0,attributes:{entityName:d,stepTrackerId:b,ids:a,actionType:e,massActionContext:c,closeAnimation:"bottom",animation:"center",overrideModalText:!0,panelTitle:$A.get("$Label.PauseCadence.PauseCadenceByTargetIdModalTitle"),
actionLocation:f}})},handleEditCadenceAction:function(a,b,c){$A.getEvt("markup://force:runActionComponent").fire({descriptor:"markup://runtime_sales_cadence:editCadence",isClientSideCreatable:!0,attributes:{trackerId:b,targetId:a,actionLocation:c}})}}});*/});
$A.componentService.addLibraryExporter("js://runtime_sales_cadence.cadenceLibrary.Constants",function(){/*$A.componentService.addLibraryInclude("js://runtime_sales_cadence.cadenceLibrary.Constants",[],function(){var a={CadenceActionType:{PAUSE:"PAUSE",CHANGE_TARGET_ASSIGNEE:"CHANGE_TARGET_ASSIGNEE",ADD:"ADD",REMOVE:"REMOVE",EDIT:"EDIT"},CadenceActionLocation:{CADENCE_STEP_CARD:"CADENCE_STEP_CARD",WORK_QUEUE:"WORK_QUEUE",CADENCE_STEP_CARD_OPPTY_RH:"CADENCE_STEP_CARD_OPPTY_RH",TODO_LIST:"TODO_LIST",NUDGE_CADENCE_LOCATION:"NUDGE_CADENCE_LOCATION",AUTOMATED_ACTION:"AUTOMATED_ACTION"}};a.AutomatedActionToCadenceActionType=
{assignTargetToSalesCadence:a.CadenceActionType.ADD,removeTargetFromSalesCadence:a.CadenceActionType.REMOVE,changeSalesCadenceTargetAssignee:a.CadenceActionType.CHANGE_TARGET_ASSIGNEE,pauseSalesCadenceTracker:a.CadenceActionType.PAUSE};a.ChangeOwnerOptions={RECORD_OWNER:{label:$A.get("$Label.ChangeTargetAssignee.ChangeTargetAssigneeOption1"),value:"RECORD_OWNER"},ME:{label:$A.get("$Label.ChangeTargetAssignee.ChangeTargetAssigneeOption2"),value:"ME"},ANOTHER_USER:{label:$A.get("$Label.ChangeTargetAssignee.ChangeTargetAssigneeOption3"),
value:"ANOTHER_USER"}};a.CadenceActionName={PAUSE:"pauseSalesCadenceTracker",CHANGE_TARGET_ASSIGNEE:"changeSalesCadenceTargetAssignee",ADD:"assignTargetToSalesCadence",REMOVE:"removeTargetFromSalesCadence"};a.SupportedTargetEntities={LEAD:"Lead",CONTACT:"Contact",PERSON_ACCOUNT:"PersonAccount"};a.CadenceActionParameterName={CADENCE_NAME_OR_ID:"salesCadenceNameOrId",USER_ID:"userId"};a.EmpChannelEvents={AUTOMATED_ACTIONS_EXEC_EVENT:"/event/AutomatedActionExecEvent"};a.CadenceTimingStates={ACTIVE:"Active",
UPNEXT:"UpNext",PAUSED:"Paused"};return a});*/});
$A.componentService.addComponent("markup://forceSearch:filterInputRadio",function(){/*$A.componentService.addComponentClass("markup://forceSearch:filterInputRadio",function(){return{meta:{name:"forceSearch$filterInputRadio","extends":"markup://forceSearch:filterInput"},controller:{handleInputChange:function(a,b,c){c.applyFilter(a,[b.getParam("value")])},focus:function(a,b,c){a.find("input").focus()}},helper:{clearInput:function(a){a=a.find("input");a.set("v.value","");a.getElement().focus()}}}});return {"xs":"I","descriptor":"markup://forceSearch:filterInputRadio","su":"markup://forceSearch:filterInput","ad":[["body","aura://Aura.Component[]","G",false,[]],["fieldName","aura://String","I",true],["fieldLabel","aura://String","I",true],["fieldType","aura://String","I",true],["objectApiName","aura://String","I",true],["fieldLevelHelp","aura://String","I",false,""],["options","aura://List","I",false,[]],["logicalOperator","aura://String","I",false,"AND"],["enableApplyButton","aura://Boolean","I",false,true],["priv_conditions","aura://List","I",false,[]]],"med":[{"name":"forceSearch:clearFilter","xs":"I"},{"name":"forceSearch:focus","xs":"I"}],"re":[{"ed":"markup://ui:dataChanged","n":"filterChanged","xs":"I"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:radioGroup","type":"module"},"localId":"input","attributes":{"values":{"name":{"descriptor":"name","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:filterInputRadio","path":"v.fieldName"}},"options":{"descriptor":"options","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:filterInputRadio","path":"v.options"}},"onchange":{"descriptor":"onchange","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:filterInputRadio","path":"c.handleInputChange"}},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:filterInputRadio","path":"v.fieldLabel"}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://support:publisherQuickSendEmail",function(){/*$A.componentService.addComponentClass("markup://support:publisherQuickSendEmail",function(){return{meta:{name:"support$publisherQuickSendEmail","extends":"markup://forceChatter:publisherQuickAction",imports:{util:"markup://support:util",emailuiutil:"markup://emailui:utils",gptInstrumentationUtil:"markup://runtime_sales_engagement:gptInstrumentationUtils",MatchingCadencesModal:"markup://emailui:matchingCadencesModal",cadenceLib:"markup://runtime_sales_cadence:cadenceLibrary",lightningToastEvent:"markup://lightning:platformShowToastEvent"}},
controller:{init:function(a,b,c){b=a.get("v.quickActionSubjectId");c.isCaseContext(b)?(a.set("v.cssClass","notNeedOauth"),a.set("v._isInContextOfCase",!0)):(a.set("v.renderOauth",!0),a.set("v.cssClass","prefsNotLoaded"));c.setToolbarState(a);c.getOverlayLibrary(a,c);c.getTimeUtility(a,c);if(b=a.find("sendEmailQuickAction")){b=b.getScheduledTime();var d=c.parseTime(b);a.set("v.scheduledSendTime",b?d:b)}(b=a.find("oauthSplash"))&&b.getSenderPrefs();a.set("v.uniqueComposerId",c.getRandomInt(1E9,9999999999).toString());
c.isInEverywhereApp()&&a.set("v.gptProductSelectionMenuWidth","small")},setTargetFields:function(a,b,c){c.setIsAutosaverPaused(a,!0);var d=a.getSuper(),e=b.getParam("arguments"),g,f=c.getFieldByName(e.fieldValues,"ContentDocumentIds");if(f&&f.position){var h=c.parseAttachmentIds(f.value,!1);b=c.addToCallback(e.callback,function(){c.setIsAutosaverPaused(a,!1)});(g=a.find("sendEmailQuickAction"))&&g.addAttachment(h,b);c.removeFromSet(e.fieldValues,f)}if((f=c.getFieldByName(e.fieldValues,"AttachmentIds"))&&
f.position)h=c.parseAttachmentIds(f.value,!0),b=c.addToCallback(e.callback,function(){c.setIsAutosaverPaused(a,!1)}),(g=a.find("sendEmailQuickAction"))&&g.addLegacyAttachment(h,b),c.removeFromSet(e.fieldValues,f);$A.util.isEmpty(e.fieldValues)||(b=c.addToCallback(e.callback,function(){if((g=a.find("sendEmailQuickAction"))&&c.shouldResetCursorToBegin(e.fieldValues))g.initTextBodyCursor(),g.focusBodyCursor();c.setIsAutosaverPaused(a,!1)}),d.setTargetFields(e.fieldValues,b))},handleQuickActionLayoutRendered:function(a,
b,c){a.getEvent("publisherStateChange").setParams({doneRenderingHostable:!0}).fire();c.setIsAutosaverPaused(a,!1);(b=a.find("sendEmailQuickAction"))&&b.get("v.shouldInsertNextAvailableTimes")&&c.insertNextAvailableTimes(a);c.isCaseContext(a.get("v.quickActionSubjectId"))||(b=a.get("v.quickActionFieldOverrides"))&&b.toString().includes("divReplyFwdMsg")&&c.disableToolbarTools(a,["assist"])},onAttachmentsChanged:function(a,b,c){c.updateAttachments(a)},onFieldMissing:function(a,b,c){(b=b.getParams())&&
b.publisherId===a.find("emailToolbarContainer").getGlobalId()&&a.find("sendEmailQuickAction").updateFocus(b.fieldName)},submitAction:function(a,b,c){if($A.get("$Browser.isDesktop")||a.get("v._isInContextOfCase"))b=b.getParam("arguments").callback,c.submitActionImpl(a,b)},onSendEmailFieldNotInLayout:function(a,b,c){c.sendEmailFieldNotInLayout(a,b)},onSendEmailEventsInitialized:function(a,b,c){c.notifyEmailToolbarSendEmailEventsInitialized(a)},onSetFieldValues:function(a,b,c){c.setFieldValues(a,b)},
handleSwitchCadence:function(a,b,c){c.openMatchingCadenceModal(a)},handleNudgeChangeToggle:function(a,b,c){b=b&&b.getParam("value");c.updateNudgeToggle(a,b)},handleNudgeDismissBanner:function(a,b,c){c.dismissNudgeBanner(a)},onEmailRecipientsUpdated:function(a,b,c){c.handleEmailRecipientsUpdated(a,b)},onEmailTemplateSaved:function(a,b,c){c.saveAttachmentsInFiles(a,b)},saveAttachmentsInFiles:function(a,b,c){c.saveAttachmentsInFiles(a,b)},onRelatedToCreated:function(a,b,c){var d=a.find("relatedToContainer");
d&&d.createRelatedTo&&(b=b.getParam("inputLookupData"),c=c.isCaseContext(a.get("v.quickActionSubjectId")),a=!0===a.get("v.isStreamUser"),d.createRelatedTo(b,c,a))},senderPrefsReady:function(a,b,c){var d=a.get("v.quickActionSubjectId");c.isCaseContext(d)?a.set("v.cssClass","notNeedOauth"):(a.set("v.cssClass",b.getParam("userNeedsOauth")?"needOauth":"notNeedOauth"),b=b.getParam("prefs"),$A.util.isObject(b)&&(a.set("v.isStreamUser",b.userHasEmailStreamEnabled),a.set("v.showTertiaryAction",b.userHasInboxEnabled&&
b.orgHasEnhancedEmailEnabled)))},useSalesforceSender:function(a,b,c){a.set("v.cssClass","notNeedOauth")},onDataRequest:function(a,b,c){c.onDataRequest(a,b)},checkIfContextIsInDockComposer:function(a,b){b.stopPropagation();var c,d=a.find("sendEmailQuickAction");d&&d.isValid()&&(c=d.get("v.isInDockingPanel"));var e;c&&(e=a.find("emailToolbarContainer"));b.getParams().callback(c,e)},resetFields:function(a,b,c){c.resetFields(a)},onSaveEmailDraft:function(a,b,c){var d=b&&b.getParam("callback");b=b&&b.getParam("isSubmittingForApproval");
c.onSaveEmailDraft(a,b,d)},onEmailDraftLoaded:function(a,b,c){b=b&&b.getParam("id");c.onEmailDraftLoaded(a,b)},onEmailApprovalInfoUpdated:function(a,b,c){b=b&&b.getParam("emailApprovalStatusInfo");c.onEmailApprovalInfoUpdated(a,b)},onRecordReady:function(a){a.find("sendEmailQuickAction").updateObservesConsent()},onSendLaterClicked:function(a,b,c){b&&"SendLater"===b.getParam("value")&&c.openScheduledTimePicker(a)},onQuickCadenceCreate:function(a,b,c){c.createQuickCadence(a)},onQuickCadenceSkip:function(a,
b,c){c.skipQuickCadence(a)},onAssistPromptSelected:function(a,b,c){c.insertAssistContent(a,b)},cancelGPTProductSelect:function(a,b,c){c.cancelGPTProductSelect(a)},continueGPTProductSelect:function(a,b,c){c.continueGPTProductSelect(a,b)},stopGPT:function(a,b,c){c.stopGPTBanner(a)},retryGPT:function(a,b,c){c.retryGPT(a)},onGeneratedEmailCheckboxChange:function(a,b,c){c.disableActionButton(a,!a.get("v.isSubmitting"))},showGeneratedEmailCheckbox:function(a,b){if(a.get("v.quickActionSubjectId")===b.getParam("recordId")){a.set("v.showGeneratedEmailCheckbox",
!0);a.set("v.isSubmitting",!0);a.set("v.requestId",b.getParam("requestId"));a.set("v.showFeedback",b.getParam("feedbackShown"));var c=a.find("generatedEmailCheckbox");$A.util.isEmpty(c)||c.set("v.checked",!1);c=a.find("generatedEmailResponseFeedback");$A.util.isEmpty(c)||c.resetState()}},handleVoteAction:function(a,b,c){c.handleVoteAction(a,b,c)},submitFeedbackReason:function(a,b,c){c.submitFeedbackReason(a,b,c)}},helper:{getLayoutComponent:function(a){return a.find("sendEmailQuickAction")},insertNextAvailableTimes:function(a){a=
{data:{id:"ui.publisher.support.quickAction.sendEmail.insertNextAvailableTimes"},publisherId:a.find("emailToolbarContainer").getGlobalId(),quickActionSubjectId:a.get("v.quickActionSubjectId")};$A.createComponent("emailui:publisherInsertNextAvailableTimes",a,function(a){a&&a.get("e.run").fire()})},submitActionImpl:function(a,b){var c=!0===a.get("v.isStreamUser");c&&this.createPlaceholderGenerator(a.get("v.quickActionSubjectId"),function(a){this.placeholderGeneratorCmp=a;this.placeholderGeneratorCmp.getAssociatedEmails()}.bind(this));
var d=a.find("sendEmailQuickAction"),e=d&&d.submitForApproval&&a.get("v.approvalStatus"),g=d&&d.send;if(e||g){var f=!0===a.get("v.isInDockingPanel"),h={quickActionCmp:d,callback:b,isInDockingPanel:f,shouldRefresh:!f&&!c,isStreamUser:c};if(this.shouldPopupWarningModalForSalesforceFile(a,d)){var k=this;this.popupWarningModalForSalesforceFile(a,function(b){b&&(e?k.saveDraftAndSubmitForApproval(a):g&&k.checkConsentAndSend(a,h))})}else e?this.saveDraftAndSubmitForApproval(a):this.checkConsentAndSend(a,
h)}else b&&b({state:"ERROR"})},saveDraftAndSubmitForApproval:function(a){(a=a.find("emailToolbarContainer"))&&a.saveDraftAndSubmitForApproval()},createEmailApprovalNotificationCmp:function(a,b){var c=a.find("emailApprovalNotificationCmp");c?(c.set("v.showApprovalInfo",b.showApprovalInfo),c.set("v.approvalStatusMessage",b.approvalStatusMessage),c.set("v.rejectionComment",b.rejectionComment),c.set("v.draftId",b.draftId)):$A.createComponent("support:emailApprovalNotification",{"aura:id":"emailApprovalNotificationCmp",
showApprovalInfo:b.showApprovalInfo,approvalStatusMessage:b.approvalStatusMessage,rejectionComment:b.rejectionComment,draftId:b.draftId},function(b,c,g){"SUCCESS"===c?a.set("v.emailApprovalNotification",b):"INCOMPLETE"===c?$A.getEvt("markup://force:showOfflineMessage").fire():"ERROR"===c&&this.componentLib.actions.showCreateComponentError("support:emailApprovalNotification",g)})},checkConsentAndSend:function(a,b){var c=this.isCaseContext(a.get("v.quickActionSubjectId"));b.quickActionCmp.getFieldComponents(b.isStreamUser?
["Subject","HtmlBody","ToAddress","CcAddress","BccAddress"]:["ToAddress","CcAddress","BccAddress"],!0,function(d){b.isStreamUser&&(b.placeholderSeed=this.getPlaceholderSeed(d));if(c)this.performSend(a,b);else if(d=this.getLabelsPerConsentCategory(d),$A.util.isEmpty(d.CANT_SEND_EMAILS)&&$A.util.isEmpty(d.CANT_SEND_OPT_OUT)&&!$A.util.isEmpty(d.SEND_WITH_EXTRA_PROCESSING)){var e=this;this.showConsentWarning(a,d.SEND_WITH_EXTRA_PROCESSING,function(c){c&&e.performSend(a,b)})}else this.performSend(a,b)}.bind(this))},
getPlaceholderSeed:function(a){return{to:this.getRecipients(a.ToAddress)[1],cc:this.getRecipients(a.CcAddress)[1],bcc:this.getRecipients(a.BccAddress)[1],subject:this.extractFieldValue(a.Subject),body:this.extractFieldValue(a.HtmlBody)}},getLabelsPerConsentCategory:function(a){var b=this.getRecipients(a.ToAddress)[1],c=this.getRecipients(a.CcAddress)[1];a=this.getRecipients(a.BccAddress)[1];var d={SEND_WITH_EXTRA_PROCESSING:[],CANT_SEND_OPT_OUT:[],CANT_SEND_EMAILS:[]};b.concat(c,a).forEach(function(a){var b=
a.consentCategory;Array.isArray(d[b])&&d[b].push(a.label)});return d},showConsentWarning:function(a,b,c){$A.createComponent("emailui:consentWarningModal",{recipients:b,onCancel:$A.getCallback(function(){c&&c(!1)}),onAccept:$A.getCallback(function(){c&&c(!0)})},function(a,b,c){a&&"SUCCESS"===b?a.createModal():$A.getEvt("markup://force:showMessage").setParams({message:c,severity:"error"}).fire()})},performSend:function(a,b){var c=a.get("v.publisherFeedType");this.setIsAutosaverPaused(a,!0);if(!$A.util.isUndefinedOrNull(a.get("v.selectedCadenceId"))&&
("do_not_enroll"===a.get("v.selectedCadenceId")&&$A.metricsService.transaction("ltng","interaction",{context:{eventSource:"synthetic-click",eventType:"user",locator:{target:"select-do-not-add-nudge-cadence",scope:"email"}}}),a.get("v.isNudgeCadenceAccepted"))){var d="select-different-nudge-cadence";1<=a.get("v.matchingCadences").length&&a.get("v.matchingCadences")[0]===a.get("v.selectedCadence")&&(d="select-suggested-nudge-cadence");$A.metricsService.transaction("ltng","interaction",{context:{eventSource:"synthetic-click",
eventType:"user",locator:{target:d,scope:"email"}}})}b.quickActionCmp.send(c,b.shouldRefresh,function(c){if("SUCCESS"===c.state){if(a.get("v.shouldNudgeNewQuickCadence")){$A.metricsService.transaction("ltng","interaction",{context:{eventType:"system",locator:{target:"quick_cadence_prompt_appears",scope:"email"}}});a.set("v.cssClass","needQuickCadence");var d=a.find("quickCadencePrompt");d&&d.set("v.countdownSeconds","10")}else this.closePanel(a);b.isStreamUser&&this.createPlaceholder(b.placeholderSeed);
this.refreshCadenceCardsAndShowToast(a)}else this.setIsAutosaverPaused(a,!1);"ERROR"===c.state&&this.checkIfNudgeCadenceAssigned(a);b.callback&&(a.get("v.shouldNudgeNewQuickCadence")?a.set("v.collapseCallback",b.callback.bind(this,c)):b.callback(c))}.bind(this))},refreshCadenceCardsAndShowToast:function(a){if(a.isValid()){var b=a.get("v.isNudgeCadenceAccepted"),c=a.get("v.selectedCadence"),d=a.get("v.primaryWho"),e=d?d.id:null;c&&(e&&b)&&($A.getEvt("markup://runtime_sales_cadence:cadenceCardRefreshEvent").setParams({shouldStartPolling:!1,
targetIds:e,actionType:this.cadenceLib.Constants.CadenceActionType.ADD,actionLocation:this.cadenceLib.Constants.CadenceActionLocation.NUDGE_CADENCE_LOCATION}).fire(),this.showCadenceAssignedToast(a,d,c))}},checkIfNudgeCadenceAssigned:function(a){var b=a.get("v.shouldDisplayNudgeCadence"),c=a.get("v.isNudgeCadenceAccepted");if(b&&c){var d=a.get("v.primaryWho"),e=a.get("v.selectedCadence");d&&(d.id&&e&&e.id)&&(b=a.get("c.isBuyerAssignedToCadence"),b.setParams({primaryBuyerId:d.id,cadenceId:e.id}),b.setCallback(this,
function(b){"SUCCESS"===b.getState()&&b.getReturnValue()&&(this.dismissNudgeBanner(a),this.showCadenceAssignedToast(a,d,e))}.bind(this)),$A.enqueueAction(b))}},showCadenceAssignedToast:function(a,b,c){var d=this,e=a.find("navigation");e?e.generateUrl({type:"standard__recordPage",attributes:{recordId:c.id,actionName:"view"}}).then($A.getCallback(function(e){d.fireCadenceAssignedToast(a,b,c,e)})):d.fireCadenceAssignedToast(a,b,c,"/lightning/r/"+c.id+"/view")},fireCadenceAssignedToast:function(a,b,c,
d){a=new this.lightningToastEvent.ShowToastEvent({message:$A.get("$Label.NudgeCadence.buyerAddedToCadenceToastMessage"),messageData:[b.label,{label:c.name,url:d}],variant:"success"});window.dispatchEvent(a)},createQuickCadence:function(a){var b={id:"SendAnEmail",label:"Send an email",icon:"utility:email"},c={label:a.get("v.emailTemplateName"),value:a.get("v.emailTemplateId")},d=a.get("v.emailTemplateName");$A.createComponent("runtime_sales_cadence:createEditQuickCadence",{},function(e,g){"SUCCESS"===
g?(e.openModal(b,"",d,"",c),e.set("v.source","email"),this.collapseAndClosePanel(a)):$A.getEvt("markup://force:showMessage").setParams({message:$A.get("$Label.EmailErrorMessage.CreateQuickCadenceComponentCreationFailed"),severity:"error"}).fire()}.bind(this))},skipQuickCadence:function(a){this.collapseAndClosePanel(a)},collapseAndClosePanel:function(a){var b=a.get("v.collapseCallback");b&&b();this.closePanel(a)},closePanel:function(a){(a=a.getEvent("notify"))&&a.setParams({action:"closePanel",typeOf:"ui:closePanel"}).fire()},
setDataFromFieldCmps:function(a,b,c){c.emailSubject=JSON.stringify(this.getFieldValue(b.Subject,""));var d=this.getFieldValue(b.TextBody,"");""===d?(d=this.getFieldValue(b.HtmlBody,""),c.isPlainText=!1):c.isPlainText=!0;c.emailBody=JSON.stringify(d);c.textBody=JSON.stringify(this.getFieldValue(b.TextBody,""));c.htmlBody=JSON.stringify(this.getFieldValue(b.HtmlBody,""));c.templateId=this.getFieldValue(b.EmailTemplateId,"");c.quickActionName=a.get("v.quickActionApiName");c.quickActionLabel=a.get("v.quickActionLabel");
c.quickActionPublisherId=a.get("v.publisherId");c.scheduledTargetTime=this.getFieldValue(b.ScheduledTargetTime,"");d=this.getRecipients(b.ToAddress);c.toAddresses=d[1];c.toAddressIds=d[0];d=this.getRecipients(b.CcAddress);c.ccAddresses=d[1];c.ccAddressIds=d[0];d=this.getRecipients(b.BccAddress);c.bccAddresses=d[1];c.bccAddressIds=d[0];c.fromAddress=this.getFieldValue(b.ValidatedFromAddress,"");c.attachmentIds=this.getFieldValue(b.ContentDocumentIds,[]);c.contextRecordId=a.get("v.quickActionSubjectId");
c.relatedTo=this.getFieldValue(b.RelatedToId,null);$A.util.isEmpty(b.RelatedToId)&&$A.util.isEmpty(c.relatedTo)&&(a=this.isEmailMessageObject(c.contextRecordId)?this.getFieldValue(b.ParentId,null):c.contextRecordId,c.relatedTo=this.emailuiutil.validation.isValidWhoId(c.contextRecordId)?null:a)},getRecipients:function(a){a=a&&1===a.length?a[0]:null;return!a?[null,[]]:[a.get("v.recipientIds"),a.get("v.recipients")]},onDataRequest:function(a,b){var c=b.getParam("callback");if(c&&a.isValid()){var d={publisherId:a.getGlobalId()},
e=a.find("sendEmailQuickAction");e.getNonRemovableAttachments(function(a){d.nonRemovableAttachments=a});e.getFieldComponents("Subject TextBody HtmlBody ToAddress CcAddress BccAddress ContentDocumentIds RelatedToId EmailTemplateId ParentId ValidatedFromAddress ScheduledTargetTime".split(" "),!0,function(b){this.setDataFromFieldCmps(a,b,d);c(d)}.bind(this))}},sendEmailFieldNotInLayout:function(a,b){var c=a.find("emailToolbarContainer"),d=b.getParam("missingFieldNames");c&&(c.notifySubjectOrBodyNotInLayout&&
d&&0<d.length)&&c.notifySubjectOrBodyNotInLayout(d)},notifyEmailToolbarSendEmailEventsInitialized:function(a){(a=a.find("emailToolbarContainer"))&&a.set("v.sendEmailEventsInitialized",!0)},setFieldValues:function(a,b){var c=b.getParam("fields");c&&(this.setSendEmailQuickActionFieldValues(a,c,b.getParam("isAppend")),c.templateId&&c.templateId!==a.get("v.emailTemplateId")&&this.setEmailTemplateAdditionalAttributes(a,c))},setSendEmailQuickActionFieldValues:function(a,b,c){(a=a.find("sendEmailQuickAction"))&&
a.setFieldValues&&a.setFieldValues(b,c)},setEmailTemplateAdditionalAttributes:function(a,b){a.set("v.emailTemplateId",b.templateId);a.set("v.disableSendLaterDueToTemplate",b.useClassicTemplate&&"text"!==b.type);a.set("v.useLexEmailTemplate",b.useLexEmailTemplate);a.set("v.isBuilderEmailTemplate",b.isBuilderEmailTemplate);a.set("v.withLetterhead",b.withLetterhead);a.set("v.relatedEntityType",b.relatedEntityType);a.set("v.isTemplateInPrivateFolder",b.isTemplateInPrivateFolder);a.set("v.emailTemplateName",
b.emailTemplateName);this.recalculateMatchingCadences(a)},saveAttachmentsInFiles:function(a){(a=a.find("sendEmailQuickAction"))&&a.saveAttachmentsInFiles&&a.saveAttachmentsInFiles()},showErrorMessage:function(a){$A.getEvt("markup://force:showMessage").setParams({message:a,severity:"error"}).fire()},createPlaceholderGenerator:function(a,b){$A.createComponent("emailui:placeholderEmailGenerator",{recordId:a,selfDestroy:!0},function(a,d,e){"SUCCESS"===d?b(a):"ERROR"===d&&$A.getEvt("markup://force:showMessage").setParams({severity:"error",
message:e}).fire()})},createPlaceholder:function(a){this.placeholderGeneratorCmp&&a&&this.placeholderGeneratorCmp.generatePlaceholder(a)},getQuickActionFields:function(a,b,c){$A.util.isArray(b)&&a.find("sendEmailQuickAction").getFieldComponents(b,!0,c)},extractFieldValue:function(a){return a&&0<a.length?$A.util.isUndefinedOrNull(a[0].get("v.value"))?"":a[0].get("v.value"):""},isCaseContext:function(a){return this.emailuiutil.validation.isCaseId(a)||this.emailuiutil.validation.isEmailMessageId(a)},
isEmailMessageObject:function(a){return this.emailuiutil.validation.isEmailMessageId(a)},shouldPopupWarningModalForSalesforceFile:function(a,b){return this.hasAttachments(b)&&(!document.cookie||0>document.cookie.indexOf(this.getHideFilesWarningModalCookieName()+"\x3dtrue"))},hasAttachments:function(a){a=a.get("v._attachments");return!$A.util.isEmpty(a)},popupWarningModalForSalesforceFile:function(a,b){var c=a.find("ePrivacyConsentCookie"),c=c?c.isCategoryAllowedForCurrentConsent("Preferences"):!0;
$A.createComponent("emailui:salesforceFileWarningModal",{onAccept:function(){b(!0)},onCancel:function(){b(!1)},_cookieIdentifier:this.getHideFilesWarningModalCookieName(),showRememberCkb:c},function(a,b,c){a&&"SUCCESS"===b?$A.getEvt("markup://ui:createPanel").setParams({panelType:"modal",visible:!0,panelConfig:{title:$A.get("$Label.EmailSalesforceFileWarningDialog.Title"),body:a,closeAction:function(){a.getConcreteComponent().getDef().getHelper().closeModal(a)}},onCreate:function(b){a.setAttributeValueProvider(b)}}).fire():
this.showErrorMessage(c)}.bind(this))},getHideFilesWarningModalCookieName:function(){return"hideFilesWarningModal"},getFieldValue:function(a,b){var c=b;if(!$A.util.isEmpty(a)&&1===a.length){var d=a[0].get("v.value");$A.util.isEmpty(d)||(c=d)}return c},resetFields:function(a){a.set("v.disableSendLaterDueToTemplate",!1);a.find("emailToolbarContainer").resetState();this.isCaseContext(a.get("v.quickActionSubjectId"))&&this.isDraftsEnabled(a)?(this.setIsAutosaverPaused(a,!0),a.find("sendEmailQuickAction").deleteEmailDraft()):
a.find("sendEmailQuickAction").reset();a.get("v.shouldDisplayNudgeCadence")&&this.dismissNudgeBanner(a);a.set("v.showGeneratedEmailCheckbox",!1);a.set("v.isSubmitting",!1)},setToolbarState:function(a){var b=a.get("v.quickActionFieldOverrides"),b=$A.util.isUndefinedOrNull(b)?null:JSON.parse(b);null!==b&&(!$A.util.isUndefinedOrNull(b._isClassicTemplate)&&b._isClassicTemplate)&&a.find("emailToolbarContainer").initializeToolbarForClassic();null!==b&&(!$A.util.isUndefinedOrNull(b._isTemplateUpdateable)&&
b._isTemplateUpdateable)&&a.find("emailToolbarContainer").initializeToolbarForUpdateableTemplate(b.TemplateId,b.TemplateName,b.TemplateDescription,b.TemplateReltaedEntity)},parseAttachmentIds:function(a,b){a=$A.util.isString(a)&&-1!==a.indexOf(",")?a.split(","):a;var c=$A.util.isArray(a)?a:[a],c=b?c.filter(function(a){return this.emailuiutil.validation.isAttachmentId(a)||this.emailuiutil.validation.isLegacyDocumentId(a)}.bind(this)):c.filter(function(a){return this.emailuiutil.validation.isContentDocId(a)}.bind(this));
return c.map(function(a){return{id:a}})},setIsAutosaverPaused:function(a,b){var c=a.find("emailToolbarContainer");(c=c&&c.find("emailAutosaver"))&&c.isValid()&&c.setIsPaused(!!b)},isDraftsEnabled:function(a){return(a=(a=a.find("emailToolbarContainer"))&&a.find("emailAutosaver"))&&a.isValid()?a.get("v.isEnabled"):!1},addToCallback:function(a,b){return $A.getCallback(function(){a&&a.apply(this,Array.prototype.slice.call(arguments));b&&b()})},getFieldByName:function(a,b){var c=a.filter(function(a){return a.fieldName===
b?a:null});return $A.util.isEmpty(c)?null:c[0]},removeFromSet:function(a,b){b&&a.splice(a.indexOf(b),1);return b},onSaveEmailDraft:function(a,b,c){(a=a.find("sendEmailQuickAction"))&&(a.isValid()&&c)&&a.saveEmailDraft(b,c)},onEmailDraftLoaded:function(a,b){this.isCaseContext(a.get("v.quickActionSubjectId"))&&!a.get("v.isInDockingPanel")&&a.find("emailToolbarContainer").enableEmailApproval(b)},onEmailApprovalInfoUpdated:function(a,b){if(b&&b.status){a.set("v.approvalStatus",b.status);var c=!1;-1!==
["Required","Approved","Rejected","Removed","Pending"].indexOf(b.status)&&(a.set("v.submitLabelOverride",$A.get("$Label.CaseInteraction.SubmitForApproval")),a.set("v._submitButtonClass","extraWidth"));-1!==["Pending"].indexOf(b.status)&&(c=!0);this.disableActionButton(a,c);b.showApprovalInfo?this.createEmailApprovalNotificationCmp(a,b):(c=a.find("emailApprovalNotificationCmp"))&&c.set("v.showApprovalInfo",!1)}},disableActionButton:function(a,b){var c=a.find("sendEmailQuickAction");c&&c.isValid()&&
c.set("v.isSubmitting",b)},openScheduledTimePicker:function(a){var b,c=this,d=a.find("sendEmailQuickAction");c.getTimeUtility(a,c,$A.getCallback(function(e){var g=e.getLocaleTimezone(),f=d.getScheduledTime(),h;h=$A.util.isUndefinedOrNull(f)?e.getDefaultSendLaterTimestamp(g):c.parseTime(f);$A.createComponent("lightningInbox:sendLaterTimePickerWrapper",{"aura:id":"sendLaterTimePicker",modalCssClass:"",saveAction:$A.getCallback(function(d,e,f){b.close();c.setScheduledTime(a,e,f);c.logSendLaterEmail(a);
a.getConcreteComponent().submitTarget()}),cancelAction:$A.getCallback(function(){c.setScheduledTime(a,f?h:null,null);b.close()}),timestamp:h,timezone:g},function(d,e,f){"SUCCESS"===e?c.getOverlayLibrary(a,c,function(a){a.showCustomModal({body:d,header:d.get("v.header"),footer:d.get("v.footer"),devNameOrId:"schedule-email-time-picker-modal",showCloseButton:!0,cssClass:"slds-modal_small",closeCallback:function(){}}).then(function(a){b=a})}):f&&f.length&&c.showErrorMessage(f)})}))},logSendLaterEmail:function(a){$A.metricsService.transaction("ltng",
"interaction",{context:{eventSource:"synthetic-click",eventType:"user",locator:{target:"submitButton",scope:"support-sendemail-composer",context:{devNameOrId:a.get("v.quickActionApiName"),useLexEmailTemplate:a.get("v.useLexEmailTemplate"),isBuilderEmailTemplate:a.get("v.isBuilderEmailTemplate"),withLetterhead:a.get("v.withLetterhead"),relatedEntityType:a.get("v.relatedEntityType"),sendLaterEmail:!0}}}})},parseTime:function(a){return a?(a=Date.parse(a),isNaN(a)?(new Date).getTime():a):(new Date).getTime()},
setScheduledTime:function(a,b,c){a.set("v.scheduledSendTime",b);a=a.find("sendEmailQuickAction");a.setScheduledTime(b,c);return a},getOverlayLibrary:function(a,b,c){return b.getLibrary(a,b,"lightning:overlayLibrary","v.overlayLibrary","overlayLib",c)},getTimeUtility:function(a,b,c){return b.getLibrary(a,b,"support:timeUtility","v.timeUtility","timeUtility",c)},getLibrary:function(a,b,c,d,e,g){var f=a.get(d);f&&g?g(f):$A.createComponent(c,{"aura:id":e},function(c,e,f){c&&"SUCCESS"===e?(a.set(d,c),
g&&g(c)):b.showErrorMessage(f)})},shouldResetCursorToBegin:function(a){for(var b=0;b<a.length;b++){var c=a[b];if(c&&("HtmlBody"===c.fieldName||"TextBody"===c.fieldName))return"begin"===c.cursorPos}return!1},handleEmailRecipientsUpdated:function(a,b){var c=b.getParam("field"),d=b.getParam("recipients"),e=null,g=null,f=null;"ToAddress"===c?(e="v.firstToWithId",g="v.toGptIds",f="v.toGptEmails"):"CcAddress"===c&&(e="v.firstCcWithId",g="v.ccGptIds",f="v.ccGptEmails");e&&(this.recalculatePrimaryWhoOnFieldChange(a,
e,d),this.collectGptRecipients(a,g,f,d))},recalculatePrimaryWhoOnFieldChange:function(a,b,c){var d=(c=this.getFirstRecipientWithId(c))?c.id:null,e=a.get(b);if(d!==(e?e.id:null))a.set(b,c),this.updatePrimaryWho(a)},collectGptRecipients:function(a,b,c,d){for(var e=[],g=[],f=0;f<d.length;++f)d[f].id&&"RESTRICTED"!==d[f].consentCategory&&this.isContactOrLead(d[f].id)?e.push(d[f].id):d[f].label&&g.push(d[f].label);a.set(b,e);a.set(c,g);a.set("v.recipientIds",[].concat(a.get("v.toGptIds"),a.get("v.ccGptIds")));
a.set("v.recipientPlainEmails",[].concat(a.get("v.toGptEmails"),a.get("v.ccGptEmails")))},getFirstRecipientWithId:function(a){if(Array.isArray(a)&&0<a.length)for(var b=0;b<a.length;++b)if(a[b].id&&"RESTRICTED"!==a[b].consentCategory&&this.isContactOrLead(a[b].id))return a[b];return null},isContactOrLead:function(a){return(a=a?a.substring(0,3):null)&&("00Q"===a||"003"===a)},updatePrimaryWho:function(a){var b=a.get("v.primaryWho")?a.get("v.primaryWho").id:null,c=a.get("v.firstToWithId");c?c.id!==b&&
(a.set("v.primaryWho",c),this.recalculateMatchingCadences(a)):(c=a.get("v.firstCcWithId"))?c.id!==b&&(a.set("v.primaryWho",c),this.recalculateMatchingCadences(a)):b&&(a.set("v.primaryWho",null),this.recalculateMatchingCadences(a))},recalculateMatchingCadences:function(a){var b=this.isCaseContext(a.get("v.quickActionSubjectId")),c=a.get("v.emailTemplateId"),d=a.get("v.primaryWho"),e=a.find("sendEmailQuickAction"),e=(e=e?e.get("v.targetRecord"):null)?e.fields:null;a.set("v.selectedCadenceId",null);
b||!c||!d||!a.get("v.useLexEmailTemplate")||a.get("v.isTemplateInPrivateFolder")||e&&e.ActionCadenceStepTrackerId&&e.ActionCadenceStepTrackerId.value?this.dismissNudgeBanner(a):(a.set("v.matchingCadences",[]),b=a.get("c.getNudgeCadenceInfo"),b.setParams({templateId:c,primaryBuyerId:d.id}),b.setCallback(this,function(b){"SUCCESS"===b.getState()?(b=b.getReturnValue(),b.matchingCadences&&0<b.matchingCadences.length?(a.set("v.matchingCadences",b.matchingCadences),a.set("v.selectedCadence",b.matchingCadences[0]),
a.set("v.shouldDisplayNudgeCadence",!0),a.set("v.isNudgeCadenceAccepted",!1),$A.metricsService.transaction("ltng","interaction",{context:{eventType:"system",locator:{target:"nudge_appears",scope:"email"}}})):this.dismissNudgeBanner(a),a.set("v.shouldNudgeNewQuickCadence",b.shouldNudgeNewQuickCadence)):this.dismissNudgeBanner(a)}),$A.enqueueAction(b))},openMatchingCadenceModal:function(a){this.MatchingCadencesModal.open({size:"small",options:a.get("v.matchingCadences"),selectedOption:a.get("v.selectedCadence.id"),
sourceObj:"email"}).then(function(b){if(b)if("do_not_enroll"===b)this.dismissNudgeBanner(a),a.set("v.selectedCadenceId","do_not_enroll");else{for(var c=a.get("v.matchingCadences"),d=0;d<c.length;d++)c[d].id===b&&(a.set("v.selectedCadence",c[d]),a.set("v.selectedCadenceId",c[d].id));this.updateNudgeToggle(a,!0)}}.bind(this))},updateNudgeToggle:function(a,b){if(a.get("v.selectedCadence")){var c=a.get("v.selectedCadence.id");this.setActionCadenceIdOnQuickAction(a,b?c:"");a.set("v.isNudgeCadenceAccepted",
b)}},dismissNudgeBanner:function(a){a.set("v.shouldDisplayNudgeCadence",!1);a.set("v.shouldNudgeNewQuickCadence",!1);a.set("v.matchingCadences",[]);a.set("v.selectedCadence",null);a.set("v.isNudgeCadenceAccepted",!1);this.setActionCadenceIdOnQuickAction(a,"")},setActionCadenceIdOnQuickAction:function(a,b){a.find("sendEmailQuickAction").setFieldValues({actionCadenceId:b})},insertAssistContent:function(a,b){var c=a.find("emailToolbarContainer");if(this.isEmailToolBarVisibleAndIsValidPublisherId(c,b)){var c=
b.getParam("promptId"),d=b.getParam("recipientIds"),e=b.getParam("extraInfo");a.set("v.promptId",c);a.set("v.referenceIds",d);this.isPromptForProductSelection(a,e)?(a.set("v.gptProductPromptSelected",!0),this.displayGPTProductSelectionMenu(a,c,d,!0)):(a.set("v.gptProductPromptSelected",!1),this.generateEmail(a,c,{referenceIds:d},!0))}},isPromptForProductSelection:function(a,b){return b&&b.includes("Product.Name")&&b.includes("Product.Description")},isEmailToolBarVisibleAndIsValidPublisherId:function(a,
b){return this.isComponentVisible(a)&&this.isValidPublisherId(a,b)},isComponentVisible:function(a){return a.getElement()?(a=window.getComputedStyle(a.getElement()),"none"!==a.display&&"hidden"!==a.visibility):!1},isValidPublisherId:function(a,b){var c=$A.util.isUndefinedOrNull(b.getParam("componentId"))?b.getParam("publisherId"):b.getParam("componentId");return!$A.util.isEmpty(c)&&c===a.getGlobalId()?!0:!1},generateEmailWithProductInfo:function(a){var b=a.get("v.promptId"),c=a.get("v.referenceIds"),
d=a.get("v.gptProductName"),e=a.get("v.gptProductDescription");this.generateEmail(a,b,{referenceIds:c,slotValues:{"Product.Name":d,"Product.Description":e}},!0)},generateEmail:function(a,b,c,d){var e=this,g={};this.displayGPTBanner(a,null);a.find("apiWrapper").generateEmail(b,c,$A.getCallback(function(c){if(a.get("v.isGptRequestStopped"))a.set("v.isGptRequestStopped",!1);else if("SUCCESS"===c.status)if(!c.returnValue||!c.returnValue.EmailBody)e.displayGPTBanner(a,$A.get("$Label.SalesEmailAssistant.error"));
else{var h=c.returnValue.EmailSubject;g.body={htmlValue:c.returnValue.EmailBody.replace(/\n/g,"\x3cbr/\x3e"),isReadOnly:!1};h&&(g.subject={value:h,isReadOnly:!1});g.contentSource="EinsteinGpt";e.setSendEmailQuickActionFieldValues(a,g,d);e.closeGPTBanner(a);(c=a.find("sendEmailQuickAction"))&&c.showGptDisclaimer(a);e.gptInstrumentationUtil.logGenerateEmail("support-publisherQuickSendEmail",e.loggingContext(a,b))}else"ERROR"===c.status&&(c=c.message?c.message:$A.get("$Label.SalesEmailAssistant.error"),
e.displayGPTBanner(a,c))}))},loggingContext:function(a,b){return{composeType:"Compose",draftId:a.get("v.uniqueComposerId"),promptId:b,mode:this.isInEverywhereApp()?"Everywhere":"Lex"}},getRandomInt:function(a,b){a=Math.ceil(a);b=Math.floor(b);return Math.floor(Math.random()*(b-a+1)+a)},displayGPTProductSelectionMenu:function(a){var b=a.get("v.toGptIds")?a.get("v.toGptIds"):[],c=a.get("v.ccGptIds")?a.get("v.ccGptIds"):[],b=b.concat(c);(b=0<b.length?b[0]:null)?a.find("apiWrapper").getRelatedOpportunities(b,
$A.getCallback(function(b){"SUCCESS"===b.status&&(0<b.returnValue.length&&a.set("v.relatedOpportunities",b.returnValue),a.set("v.renderGptProductSelectionMenu",!0))})):a.set("v.renderGptProductSelectionMenu",!0);a.set("v.gptLoggingContext",this.loggingContext(a,a.get("v.promptId")))},cancelGPTProductSelect:function(a){a.set("v.renderGptProductSelectionMenu",!1)},continueGPTProductSelect:function(a,b){a.set("v.renderGptProductSelectionMenu",!1);a.set("v.gptProductName",b.getParam("selectedProductName"));
a.set("v.gptProductDescription",b.getParam("selectedProductDescription"));this.generateEmailWithProductInfo(a)},displayGPTBanner:function(a,b){a.set("v.renderGptIndicator",!0);a.set("v.hasGptError",!!b);var c=a.find("gptProgressIndicator");c&&c.set("v.errorMessage",b)},stopGPTBanner:function(a){a.get("v.hasGptError")||a.set("v.isGptRequestStopped",!0);this.gptInstrumentationUtil.logCancelGenerateEmail("support-publisherQuickSendEmail",this.loggingContext(a,a.get("v.promptId")));this.closeGPTBanner(a)},
closeGPTBanner:function(a){a.set("v.renderGptIndicator",!1);a.set("v.promptId","");a.set("v.referenceIds",[])},retryGPT:function(a){var b=a.get("v.promptId"),c=a.get("v.referenceIds"),d=a.get("v.gptProductPromptSelected");this.gptInstrumentationUtil.logRetryGenerateEmail("support-publisherQuickSendEmail",this.loggingContext(a,b));!$A.util.isEmpty(b)&&(!$A.util.isUndefinedOrNull(c)&&1<=c.length)&&(d?this.generateEmailWithProductInfo(a):this.generateEmail(a,b,{referenceIds:c},!0))},disableToolbarTools:function(a,
b){var c=a.find("emailToolbarContainer");c&&(c=c.find("emailToolbar"))&&c.disableTools(b)},handleVoteAction:function(a,b,c){b.getParam("likeState");b.getParam("dislikeState")},submitFeedbackReason:function(a,b,c){b.getParam("value");b.getParam("dislikeState");b=new this.lightningToastEvent.ShowToastEvent({message:$A.get("$Label.GeneratedEmailFeedback.SubmitSuccessToastMessage"),variant:"success"});a.getElement().dispatchEvent(b)},isInEverywhereApp:function(){return $A.getRoot()?"clientsEverywhere"===
$A.getRoot().getName():!1}}}});return {"xs":"I","descriptor":"markup://support:publisherQuickSendEmail","st":{"descriptor":"css://support.publisherQuickSendEmail","cl":"supportPublisherQuickSendEmail"},"cd":{"descriptor":"compound://support.publisherQuickSendEmail","ac":[{"n":"shouldShowGeneratedEmailCheckbox","descriptor":"serviceComponent://ui.support.components.aura.components.emailquickaction.PublisherQuickSendEmailController/ACTION$shouldShowGeneratedEmailCheckbox","at":"SERVER","rt":"java://java.lang.Boolean","pa":[]},{"n":"isBuyerAssignedToCadence","descriptor":"serviceComponent://ui.support.components.aura.components.emailquickaction.PublisherQuickSendEmailController/ACTION$isBuyerAssignedToCadence","at":"SERVER","rt":"java://java.lang.Boolean","pa":[{"name":"primaryBuyerId","type":"java://java.lang.String"},{"name":"cadenceId","type":"java://java.lang.String"}]},{"n":"getNudgeCadenceInfo","descriptor":"serviceComponent://ui.support.components.aura.components.emailquickaction.PublisherQuickSendEmailController/ACTION$getNudgeCadenceInfo","at":"SERVER","rt":"java://ui.email.api.models.MatchingCadenceResponse","pa":[{"name":"templateId","type":"java://java.lang.String"},{"name":"primaryBuyerId","type":"java://java.lang.String"}]}]},"su":"markup://forceChatter:publisherQuickAction","ad":[["body","aura://Aura.Component[]","G",false,[]],["width","aura://String","PP",false],["publisherFeedType","aura://String","I",true],["publisherId","aura://String","I",false],["hasPublisherTopics","aura://Boolean","I",false,false],["richTextConfig","aura://Map","I",false,{"isRichTextEnabled":false,"isCodeSnippetUserPermEnabled":false}],["contentHubUriRegExps","aura://String[]","I",false,[]],["attachmentConfig","aura://Map","I",false,null],["isTopicsEnabled","aura://Boolean","I",false,false],["_panelProxy","aura://Map","I",false,null],["successCallback","aura://Object","I",false,null],["insideScroller","aura://Boolean","I",false,true],["quickActionSubjectId","aura://String","I",true],["quickActionApiName","aura://String","I",true],["quickActionLabel","aura://String","I",true],["contextualMessages","aura://List","I",false,[]],["visibilityOptions","aura://Map","I",false,null],["quickActionFieldOverrides","aura://String","I",false],["inContextOfComponent","aura://String","I",false],["isWebApp","aura://Boolean","I",false,true],["isComposerContext","aura://Boolean","I",false,false],["isSfxPanelContext","aura://Boolean","I",false,false],["isSubmitting","aura://Boolean","I",false,false],["hasError","aura://Boolean","I",false,false],["submitDisabled","aura://Boolean","I",false,{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.isSubmitting\")||cmp.get(\"v.hasError\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"v.isSubmitting"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"v.hasError"}],"byValue":false}],["navigateToSObject","aura://Boolean","I",false,false],["invocableActionType","aura://String","I",false],["isCollapsed","aura://Boolean","I",false,false],["cssClass","aura://String","I",false,""],["panelConfig","aura://String","I",false],["_main","aura://Aura.Component[]","I",true,[]],["_bottom","aura://Aura.Component[]","I",false,[]],["_submitLabel","aura://String","I",false,{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"$Label.Publisher.Submit"}],["_submitButtonClass","aura://String","I",false,""],["_quickActionType","aura://String","p",false,""],["isInDockingPanel","aura://Boolean","I",false,false],["header","aura://Aura.Component[]","I",false,[]],["cancelButton","aura://Aura.Component[]","I",false,[]],["tertiaryActionButton","aura://Aura.Component[]","I",false,[]],["useButtonGroup","aura://Boolean","I",false,false],["recordSaveParams","aura://Object","I",false,null],["renderOauth","aura://Boolean","p",false,false],["isStreamUser","aura://Boolean","p",false,false],["showTertiaryAction","aura://Boolean","p",false,false],["_isInContextOfCase","aura://Boolean","p",false,false],["approvalStatus","aura://String","p",false],["emailApprovalNotification","aura://Aura.Component","p",false,null],["sourceUICmp","aura://String","I",false],["useLexEmailTemplate","aura://Boolean","I",false],["isBuilderEmailTemplate","aura://Boolean","I",false],["disableSendLaterDueToTemplate","aura://Boolean","p",false],["withLetterhead","aura://Boolean","I",false],["relatedEntityType","aura://String","I",false],["overlayLibrary","aura://Aura.Component","p",false,null],["timeUtility","aura://Aura.Component","p",false,null],["isTemplateInPrivateFolder","aura://Boolean","I",false],["renderGptIndicator","aura://Boolean","p",false,false],["renderGptProductSelectionMenu","aura://Boolean","p",false,false],["gptProductSelectionMenuWidth","aura://String","I",false,"large"],["gptProductPromptSelected","aura://Boolean","p",false,false],["gptProductName","aura://String","p",false],["gptProductDescription","aura://String","p",false],["relatedOpportunities","aura://List","I",false,[]],["gptLoggingContext","aura://Object","I",false,null],["uniqueComposerId","aura://String","I",false],["showGeneratedEmailCheckbox","aura://Boolean","I",false,false],["requestId","aura://String","I",false],["showFeedback","aura://Boolean","I",false,false],["scheduledSendTime","aura://DateTime","p",false,null],["submitLabelOverride","aura://String","p",false],["shouldDisplayNudgeCadence","aura://Boolean","I",false,false],["matchingCadences","aura://Object[]","I",false,[]],["selectedCadence","aura://Object","I",false,null],["primaryWho","aura://Object","I",false,null],["firstToWithId","aura://Object","I",false,null],["firstCcWithId","aura://Object","I",false,null],["selectedCadenceId","aura://String","I",false],["toGptIds","aura://List","I",false,[]],["toGptEmails","aura://List","I",false,[]],["ccGptIds","aura://List","I",false,[]],["ccGptEmails","aura://List","I",false,[]],["recipientIds","aura://List","I",false,[]],["recipientPlainEmails","aura://List","I",false,[]],["emailTemplateId","aura://String","I",false],["emailTemplateName","aura://String","I",false],["isNudgeCadenceAccepted","aura://Boolean","I",false,false],["shouldNudgeNewQuickCadence","aura://Boolean","I",false],["collapseCallback","aura://Object","I",false,null],["promptId","aura://String","I",false],["referenceIds","aura://Object[]","I",false,[]],["isGptRequestStopped","aura://Boolean","I",false,false],["hasGptError","aura://Boolean","I",false,false]],"med":[{"name":"force:submitTarget","xs":"I","attributes":[["callback","apex://Function","I",false,null]]},{"name":"force:getTargetSubmitActions","xs":"I","attributes":[["callback","apex://Function","I",true,null]]},{"name":"force:beforeClose","xs":"I","attributes":[["callback","aura://Object","I",false,null]]},{"name":"force:afterDocked","xs":"I"},{"name":"force:beforeMinimized","xs":"I"},{"name":"force:afterMinimized","xs":"I"},{"name":"force:afterMaximized","xs":"I"},{"name":"force:afterOverflowed","xs":"I"},{"name":"force:setTargetFields","xs":"I","attributes":[["fieldValues","aura://List","I",true,[]],["callback","apex://Function","I",false,null],["replace","aura://Boolean","I",false]]},{"name":"force:getTargetFields","xs":"I","attributes":[["callback","apex://Function","I",true,null]]},{"name":"force:getTargetCancelActions","xs":"I","attributes":[["callback","apex://Function","I",true,null]]},{"name":"force:cancelTarget","xs":"I","attributes":[["callback","apex://Function","I",false,null]]},{"name":"forceChatter:submitAction","xs":"I","attributes":[["callback","aura://Object","I",false,null]]}],"re":[{"ed":"markup://ui:notify","n":"notify","xs":"I"},{"ed":"markup://force:publisherStateChange","n":"publisherStateChange","xs":"I"},{"ed":"markup://force:setActionTitle","n":"setActionTitle","xs":"I"},{"ed":"markup://force:setActionFooter","n":"setActionFooter","xs":"I"},{"ed":"markup://runtime_sales_cadence:cadenceCardRefreshEvent","n":"cadenceCardRefreshEvent","xs":"I"}],"hd":[{"ed":{"descriptor":"markup://emailui:useSalesforceSender"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.useSalesforceSender"},"n":"useSalesforceSender"},{"ed":{"descriptor":"markup://emailui:senderPrefsReady"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.senderPrefsReady"},"n":"senderPrefsReady"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"ed":{"descriptor":"markup://emailui:composerResetComponentEvent"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.resetFields"},"n":"composerResetComponentEvent"},{"ed":{"descriptor":"markup://emailui:dataRequest"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onDataRequest"},"n":"dataRequest"},{"ed":{"descriptor":"markup://emailui:saveAttachmentsInFiles"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.saveAttachmentsInFiles"},"n":"saveAttachmentsInFiles"},{"ed":{"descriptor":"markup://force:componentRendered"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleQuickActionLayoutRendered"},"n":"quickActionLayoutRendered"},{"ed":{"descriptor":"markup://emailui:fieldMissing"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onFieldMissing"}},{"ed":{"descriptor":"markup://support:checkIfContextIsInDockComposer"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.checkIfContextIsInDockComposer"},"n":"checkIfContextIsInDockComposer"},{"ed":{"descriptor":"markup://support:saveEmailDraft"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onSaveEmailDraft"},"n":"saveEmailDraft"},{"ed":{"descriptor":"markup://support:emailApprovalInfoUpdated"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onEmailApprovalInfoUpdated"},"n":"emailApprovalInfoUpdated"},{"ed":{"descriptor":"markup://support:emailDraftLoaded"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onEmailDraftLoaded"},"n":"emailDraftLoaded"},{"ed":{"descriptor":"markup://force:componentReady"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onRecordReady"},"n":"componentReady"},{"ed":{"descriptor":"markup://emailui:updatedRecipientDetails"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onEmailRecipientsUpdated"},"n":"updatedRecipientDetails"},{"ed":{"descriptor":"markup://runtime_sales_emailtemplateui:assistPromptSelected"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onAssistPromptSelected"}},{"ed":{"descriptor":"markup://support:showGeneratedEmailInfo"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.showGeneratedEmailCheckbox"}}],"ld":{"sendEmailQuickAction":{},"submitButton":{"context":{"isBuilderEmailTemplate":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.isBuilderEmailTemplate"},"sendLaterEmail":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.scheduledSendTime\")?true:false);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.scheduledSendTime"}],"byValue":false},"devNameOrId":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.quickActionApiName"},"withLetterhead":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.withLetterhead"},"relatedEntityType":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.relatedEntityType"},"useLexEmailTemplate":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.useLexEmailTemplate"}},"alias":"publisher-quick-action"}},"fa":[{"descriptor":"_submitLabel","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.submitLabelOverride\")?cmp.get(\"v.submitLabelOverride\"):(cmp.get(\"v.scheduledSendTime\")?$A.get(\"$Label.EmailComposerHeaders.SendEmailLaterButton\"):$A.get(\"$Label.EmailComposerHeaders.SendEmailButton\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.submitLabelOverride"},{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"$Label.EmailComposerHeaders.SendEmailLaterButton"},{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.scheduledSendTime"},{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"$Label.EmailComposerHeaders.SendEmailButton"}],"byValue":false}},{"descriptor":"_submitButtonClass","value":"send"},{"descriptor":"_main","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-m-around_small"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"$Label.EmailErrorMessage.NotSupportedInS1"}}}}}]}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"oauthSplash"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://emailui:oauthSplash"},"localId":"oauthSplash","attributes":{"values":{"quickActionSubjectId":{"descriptor":"quickActionSubjectId","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.quickActionSubjectId"}},"parentAction":{"descriptor":"parentAction","value":"SingleEmail"}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.renderOauth"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"quickCadencePrompt"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://support:quickCadencePrompt","type":"module"},"localId":"quickCadencePrompt","attributes":{"values":{"onquickcadencecreate":{"descriptor":"onquickcadencecreate","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"c.onQuickCadenceCreate"}},"successMessage":{"descriptor":"successMessage","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.scheduledSendTime\")?$A.get(\"$Label.EmailComposerHeaders.EmailScheduled\"):$A.get(\"$Label.EmailComposerHeaders.EmailSent\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.scheduledSendTime"},{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"$Label.EmailComposerHeaders.EmailScheduled"},{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"$Label.EmailComposerHeaders.EmailSent"}],"byValue":false}},"onquickcadenceskip":{"descriptor":"onquickcadenceskip","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"c.onQuickCadenceSkip"}},"sourceObj":{"descriptor":"sourceObj","value":"email"}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://emailui:gptProductSelectionMenu","type":"module"},"localId":"gptProductSelectionMenu","attributes":{"values":{"mode":{"descriptor":"mode","value":"dock"},"oncontinueproductselect":{"descriptor":"oncontinueproductselect","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"c.continueGPTProductSelect"}},"loggingContext":{"descriptor":"loggingContext","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.gptLoggingContext"}},"oncancelproductselect":{"descriptor":"oncancelproductselect","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"c.cancelGPTProductSelect"}},"width":{"descriptor":"width","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.gptProductSelectionMenuWidth"}},"relatedOpportunities":{"descriptor":"relatedOpportunities","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.relatedOpportunities"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.renderGptProductSelectionMenu"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://emailui:gptProgressIndicator","type":"module"},"localId":"gptProgressIndicator","attributes":{"values":{"onstopgpt":{"descriptor":"onstopgpt","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"c.stopGPT"}},"onretry":{"descriptor":"onretry","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"c.retryGPT"}},"variant":{"descriptor":"variant","value":"lex"}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.renderGptIndicator"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"sendMailQuickAction"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://support:nudgeCadence","type":"module"},"attributes":{"values":{"ondismissnudge":{"descriptor":"ondismissnudge","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"c.handleNudgeDismissBanner"}},"sourceObj":{"descriptor":"sourceObj","value":"email"},"onchangetoggle":{"descriptor":"onchangetoggle","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"c.handleNudgeChangeToggle"}},"isSwitchCadenceDisabled":{"descriptor":"isSwitchCadenceDisabled","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (1>=cmp.get(\"v.matchingCadences.length\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.matchingCadences.length"}],"byValue":false}},"onswitchcadence":{"descriptor":"onswitchcadence","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"c.handleSwitchCadence"}},"isNudgeCadenceAccepted":{"descriptor":"isNudgeCadenceAccepted","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.isNudgeCadenceAccepted"}},"selectedCadence":{"descriptor":"selectedCadence","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.selectedCadence"}},"primaryWho":{"descriptor":"primaryWho","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.primaryWho"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-p-around_xx-small"}},"tag":{"descriptor":"tag","value":"div"}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.shouldDisplayNudgeCadence"}}}}},{"componentDef":{"descriptor":"markup://support:sendEmailQuickAction"},"localId":"sendEmailQuickAction","attributes":{"values":{"onFailure":{"descriptor":"onFailure","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"c.onFailure"}},"fieldNotInLayout":{"descriptor":"fieldNotInLayout","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"c.onSendEmailFieldNotInLayout"}},"isStreamUser":{"descriptor":"isStreamUser","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.isStreamUser"}},"quickActionName":{"descriptor":"quickActionName","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.quickActionApiName"}},"fieldOverrides":{"descriptor":"fieldOverrides","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.quickActionFieldOverrides"}},"contextId":{"descriptor":"contextId","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.quickActionSubjectId"}},"invocableActionType":{"descriptor":"invocableActionType","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.invocableActionType"}},"isSubmitting":{"descriptor":"isSubmitting","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.isSubmitting"}},"keepDockedOnSave":{"descriptor":"keepDockedOnSave","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.shouldNudgeNewQuickCadence"}},"isCollapsed":{"descriptor":"isCollapsed","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.isCollapsed"}},"sourceUICmp":{"descriptor":"sourceUICmp","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.sourceUICmp"}},"quickActionLabel":{"descriptor":"quickActionLabel","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.quickActionLabel"}},"isInContextOfCase":{"descriptor":"isInContextOfCase","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v._isInContextOfCase"}},"successCallback":{"descriptor":"successCallback","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.successCallback"}},"isInDockingPanel":{"descriptor":"isInDockingPanel","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.isInDockingPanel"}},"changeAndNotInLayoutEventsInitialized":{"descriptor":"changeAndNotInLayoutEventsInitialized","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"c.onSendEmailEventsInitialized"}},"relatedToCreatedEvent":{"descriptor":"relatedToCreatedEvent","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"c.onRelatedToCreated"}},"containerId":{"descriptor":"containerId","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.publisherId"}}}}}]}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.emailApprovalNotification"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.emailApprovalNotification"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-grid"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-col slds-size_6-of-7"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:input","type":"module"},"localId":"generatedEmailCheckbox","attributes":{"values":{"onchange":{"descriptor":"onchange","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"c.onGeneratedEmailCheckboxChange"}},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":true,"target":"support:publisherQuickSendEmail","path":"$Label.EmailComposerHeaders.GeneratedEmailCheckbox"}},"type":{"descriptor":"type","value":"checkbox"},"class":{"descriptor":"class","value":"slds-p-top_x-small slds-float_right"},"required":{"descriptor":"required","value":"true"}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-col slds-size_1-of-7"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://support:emailResponseFeedback","type":"module"},"localId":"generatedEmailResponseFeedback","attributes":{"values":{"generationId":{"descriptor":"generationId","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.requestId"}},"onsubmitdislikefeedbackreason":{"descriptor":"onsubmitdislikefeedbackreason","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"c.submitFeedbackReason"}},"class":{"descriptor":"class","value":"slds-float_right slds-p-top_xxx-small"},"applicationName":{"descriptor":"applicationName","value":"Service email responses"},"onrecordresponseclick":{"descriptor":"onrecordresponseclick","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"c.handleVoteAction"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.showFeedback"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.showGeneratedEmailCheckbox"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return ($A.get(\"$Browser.isDesktop\")||cmp.get(\"v._isInContextOfCase\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"$Browser.isDesktop"},{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v._isInContextOfCase"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"bottomBar","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-grid bottomBar"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"bottomBarLeft slds-col"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://emailui:emailToolbarContainer"},"localId":"emailToolbarContainer","attributes":{"values":{"recipientIds":{"descriptor":"recipientIds","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.recipientIds"}},"inContextOfComponent":{"descriptor":"inContextOfComponent","value":"support:publisherQuickSendEmail"},"quickActionSubjectId":{"descriptor":"quickActionSubjectId","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.quickActionSubjectId"}},"isInContextOfCase":{"descriptor":"isInContextOfCase","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v._isInContextOfCase"}},"isInDockingPanel":{"descriptor":"isInDockingPanel","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.isInDockingPanel"}},"uniqueComposerId":{"descriptor":"uniqueComposerId","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.uniqueComposerId"}},"templateSaved":{"descriptor":"templateSaved","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"c.onEmailTemplateSaved"}},"recipientPlainEmails":{"descriptor":"recipientPlainEmails","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.recipientPlainEmails"}},"isInModal":{"descriptor":"isInModal","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.isSfxPanelContext"}},"fieldsChanged":{"descriptor":"fieldsChanged","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"c.onSetFieldValues"}},"attachmentFilePickerConfig":{"descriptor":"attachmentFilePickerConfig","value":{"isMultipleAttachmentsContextCmp":true,"maxFilesLimit":10,"maxFiles":10}}}}},{"componentDef":{"descriptor":"markup://emailui:emailRelatedToContainer"},"localId":"relatedToContainer","attributes":{"values":{"isInContextOfCase":{"descriptor":"isInContextOfCase","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v._isInContextOfCase"}},"isInDockingPanel":{"descriptor":"isInDockingPanel","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.isInDockingPanel"}},"width":{"descriptor":"width","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.width"}},"fieldsChanged":{"descriptor":"fieldsChanged","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"c.onSetFieldValues"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"$Browser.isDesktop"}}}}}]}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.isSfxPanelContext"}}}}}]},{"descriptor":"_bottom","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://emailui:emailToolbarContainer"},"localId":"emailToolbarContainer","attributes":{"values":{"recipientIds":{"descriptor":"recipientIds","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.recipientIds"}},"inContextOfComponent":{"descriptor":"inContextOfComponent","value":"support:publisherQuickSendEmail"},"quickActionSubjectId":{"descriptor":"quickActionSubjectId","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.quickActionSubjectId"}},"isInContextOfCase":{"descriptor":"isInContextOfCase","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v._isInContextOfCase"}},"isInDockingPanel":{"descriptor":"isInDockingPanel","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.isInDockingPanel"}},"uniqueComposerId":{"descriptor":"uniqueComposerId","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.uniqueComposerId"}},"templateSaved":{"descriptor":"templateSaved","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"c.onEmailTemplateSaved"}},"recipientPlainEmails":{"descriptor":"recipientPlainEmails","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.recipientPlainEmails"}},"isInModal":{"descriptor":"isInModal","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.isSfxPanelContext"}},"fieldsChanged":{"descriptor":"fieldsChanged","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"c.onSetFieldValues"}},"attachmentFilePickerConfig":{"descriptor":"attachmentFilePickerConfig","value":{"isMultipleAttachmentsContextCmp":true,"maxFilesLimit":10,"maxFiles":10}}}}},{"componentDef":{"descriptor":"markup://emailui:emailRelatedToContainer"},"localId":"relatedToContainer","attributes":{"values":{"isInContextOfCase":{"descriptor":"isInContextOfCase","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v._isInContextOfCase"}},"isInDockingPanel":{"descriptor":"isInDockingPanel","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.isInDockingPanel"}},"width":{"descriptor":"width","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.width"}},"fieldsChanged":{"descriptor":"fieldsChanged","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"c.onSetFieldValues"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return ($A.get(\"$Browser.isDesktop\")&&!(cmp.get(\"v.isSfxPanelContext\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"$Browser.isDesktop"},{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.isSfxPanelContext"}],"byValue":false}}}}}]},{"descriptor":"useButtonGroup","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.showTertiaryAction"}},{"descriptor":"tertiaryActionButton","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:buttonMenu"},"localId":"dropdownTrigger","attributes":{"values":{"menuAlignment":{"descriptor":"menuAlignment","value":"bottom-right"},"onselect":{"descriptor":"onselect","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"c.onSendLaterClicked"}},"variant":{"descriptor":"variant","value":"border-filled"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:menuItem"},"attributes":{"values":{"disabled":{"descriptor":"disabled","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.disableSendLaterDueToTemplate"}},"label":{"descriptor":"label","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.scheduledSendTime\")?$A.get(\"$Label.ButtonLabels.editSendTime\"):$A.get(\"$Label.EmailComposerHeaders.SendEmailLaterButton\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.scheduledSendTime"},{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"$Label.ButtonLabels.editSendTime"},{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"$Label.EmailComposerHeaders.SendEmailLaterButton"}],"byValue":false}},"value":{"descriptor":"value","value":"SendLater"}}}}]},"class":{"descriptor":"class","value":"slds-button_last"},"alternativeText":{"descriptor":"alternativeText","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"$Label.EmailComposerHeaders.SendEmailOptionsButton"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"support:publisherQuickSendEmail","path":"v.showTertiaryAction"}}}}}]},{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:ePrivacyConsentCookie","type":"module"},"localId":"ePrivacyConsentCookie"},{"componentDef":{"descriptor":"markup://lightning:navigation"},"localId":"navigation"},{"componentDef":{"descriptor":"markup://runtime_sales_engagement:emailAssistantApiWrapper"},"localId":"apiWrapper"}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:inputLookupDesktopDataProvider",function(){/*$A.componentService.addComponentClass("markup://forceSearch:inputLookupDesktopDataProvider",function(){return{meta:{name:"forceSearch$inputLookupDesktopDataProvider","extends":"markup://ui:dataProvider",imports:{typeAheadLib:"markup://force:searchTypeAheadLib",lib:"markup://forceSearch:searchLibrary"}},controller:{provide:function(c,a,b){$A.get("$Browser.isIE11")&&c.get("v.priv_ignoreProvideInIE11")?c.set("v.priv_ignoreProvideInIE11",!1):b.provide(c)},resetQueryType:function(c,a,b){c.set("v.priv_queryType",
"MRU");c.set("v.priv_mruResults",[])}},helper:{provide:function(c){var a=c.getConcreteComponent(),b=a.get("v.entityType");if(b&&!a.get("v.disabled")){var e=a.get("v.priv_queryType"),f=a.get("v.maxMRUResults"),d=a.get("v.queryTerm"),d=null===d||void 0===d?"":d.trim();if("Typeahead"===e){if(!this.typeAheadLib.util.isValidTypeAheadString(d)){b=a.get("v.priv_mruResults");this.fireDataChangeEvent(a,b);return}f=a.get("v.maxTypeaheadResults")}var h=a.get("c.getOptions"),k={queryTerm:d,queryType:e,entityType:b,
maxResults:f,recordType:a.get("v.recordType"),recordId:a.get("v.recordId"),parentId:a.get("v.parentId"),field:a.get("v.field"),additionalFields:a.get("v.additionalFields"),additionalContext:a.get("v.additionalContext"),dependentFieldBindings:a.get("v.dependentFieldBindings")};h.setParams(k);h.setStorable({executeCallbackIfUpdated:!1});h.setAbortable();this.lib.logging.logPerf(c,"provide","START");var l=this;h.setCallback(this,function(b){b=l.actionCallback(a,b,e);var d=l.getLogContext(a,k,b);this.lib.logging.logPerf(c,
"provide","END",d);Promise.resolve().then(function(){this.lib.logging.logPerf(c,"lookup-user-experience","END",d)}.bind(this))});$A.enqueueAction(h)}},actionCallback:function(c,a,b){var e=[],f=a.getReturnValue();if("SUCCESS"===a.getState()&&null!==f){a=f.records;var d=f.reQueried&&!c.get("v.allowFallbackQueryWithNoContext");if(a&&!d)for(var d=f.entityType,h=d.entityLabel,k=d.icon,l=d.iconColor,n=d.iconLabel,p=c.get("v.queryTerm"),m=0,q=a.length;m<q;m++){var g=a[m],r=g.sobjectType&&/__x$/.test(g.sobjectType)?
g.ExternalId:g.Id;e.push({qType:b,label:g.Name,secondLabel:g.DisambiguationField,allFields:g,keyword:p,visible:!1,icon:k,iconColor:l,iconLabel:n,value:{type:d.entityType,typeLabel:h,id:r,label:g.Name,icon:{url:k,backgroundColor:l,alt:n}}})}}"Typeahead"===b?(b=c.get("v.priv_mruResults"),null!=b&&(e=b.concat(e))):"MRU"===b&&(c.set("v.priv_mruResults",e),c.set("v.priv_queryType","Typeahead"),c.set("v.additionalFields",null!=f?f.additionalFields:null));c.set("v.queryId",null!=f?f.queryId:"");e=this.dedupe(e);
this.fireDataChangeEvent(c,e);return f},dedupe:function(c){for(var a=[],b=[],e=0,f=c.length;e<f;e++){var d=c[e];d&&(d.value?void 0===b[d.value.id]&&(b[d.value.id]=null,a.push(d)):a.push(d))}return a},getLogContext:function(c,a,b){var e=0,f=[];b&&(f=b.times,b.records&&(e=b.records.length));return{injectPageUsageInfo:!0,sobjectType:a.recordType,qType:a.queryType,qLength:a.queryTerm.length,qResults:e,qMax:a.maxResults,sAction:"Load",target:"LookupOptions",target2:a.entityType,location:c.get("v.loggingLocation"),
gusTeamId:"a00B0000000wkIfIAI",searchTimes:f}}}}});return {"xs":"PP","descriptor":"markup://forceSearch:inputLookupDesktopDataProvider","cd":{"descriptor":"compound://forceSearch.inputLookupDesktopDataProvider","ac":[{"n":"getOptions","descriptor":"serviceComponent://ui.search.components.forcesearch.inputlookupdesktopdataprovider.InputLookupDesktopDataProviderController/ACTION$getOptions","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"queryType","type":"java://java.lang.String"},{"name":"queryTerm","type":"java://java.lang.String"},{"name":"entityType","type":"java://java.lang.String"},{"name":"maxResults","type":"java://int"},{"name":"recordType","type":"java://java.lang.String"},{"name":"recordId","type":"java://java.lang.String"},{"name":"parentId","type":"java://java.lang.String"},{"name":"field","type":"java://java.lang.String"},{"name":"additionalFields","type":"java://java.util.List<java.util.Map<java.lang.String,java.lang.Object>>"},{"name":"additionalContext","type":"java://java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>>"},{"name":"dependentFieldBindings","type":"java://java.util.Map<java.lang.String,java.lang.Object>"}]}]},"su":"markup://ui:dataProvider","ad":[["body","aura://Aura.Component[]","G",false,[]],["searchTerm","aura://String","PP",false],["sortBy","aura://String","PP",false],["sortDirection","aura://String","I",false],["columns","aura://List","PP",false,[]],["items","aura://List","PP",false,[]],["modelItemsKey","aura://String","PP",false],["currentPage","aura://Integer","PP",false,1],["endIndex","aura://Integer","I",false,-1],["pageCount","aura://Integer","PP",false,0],["pageSize","aura://Integer","PP",false,25],["startIndex","aura://Integer","I",false,-1],["totalItems","aura://Integer","PP",false,0],["type","aura://String","I",false],["entityType","aura://String","PP",false],["queryTerm","aura://String","I",false,""],["maxTypeaheadResults","aura://Integer","PP",true,5],["maxMRUResults","aura://Integer","PP",true,25],["recordType","aura://String","PP",false],["recordId","aura://String","I",false],["queryId","aura://String","I",false,""],["parentId","aura://String","I",false],["field","aura://String","PP",false],["additionalFields","aura://List","I",false,[]],["additionalContext","aura://Map","I",false,null],["dependentFieldBindings","aura://Map","I",false,{}],["disabled","aura://Boolean","I",false,false],["loggingLocation","aura://String","I",false,"force:edit"],["allowFallbackQueryWithNoContext","aura://Boolean","I",false,true],["priv_queryType","aura://String","I",false,"MRU"],["priv_mruResults","aura://List","I",false,[]],["priv_ignoreProvideInIE11","aura://Boolean","I",false,true]],"re":[{"ed":"markup://ui:dataProvide","n":"provide","xs":"PP"},{"ed":"markup://ui:abortFetchData","n":"abort","xs":"PP"},{"ed":"markup://ui:dataChanged","n":"onchange","xs":"PP"},{"ed":"markup://ui:dataProvideError","n":"error","xs":"PP"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.provide"},"n":"provide"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.resetQueryType"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.entityType"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.resetQueryType"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.dependentFieldBindings"},"n":"change"}],"css":true}*/});
$A.componentService.addComponent("markup://ui:inputCurrency",function(){/*$A.componentService.addComponentClass("markup://ui:inputCurrency",function(){return{meta:{name:"ui$inputCurrency","extends":"markup://ui:input"},controller:{initialize:function(a,b,c){c.setDefaultAttrs(a)},handleChange:function(a,b){b.stopPropagation();a.getEvent("change").fire()}},helper:{setDefaultAttrs:function(a){a.set("v.updateOnDisabled",!0)},handleUpdate:function(){},fireEvent:function(a,b){"change"!==b.type&&this.lib.interactive.fireEvent(a,b)}}}});return {"xs":"G","descriptor":"markup://ui:inputCurrency","su":"markup://ui:input","ad":[["body","aura://Aura.Component[]","G",false,[]],["disableDoubleClicks","aura://Boolean","I",false,false],["class","aura://String","G",false],["dir","aura://String","I",false,"ltr"],["namespaceOverride","aura://String","I",false],["actionable","aura://Boolean","I",false,true],["role","aura://String","I",false],["ariaDescribedBy","aura://String","PP",false,""],["value","aura://Decimal","G",false],["visible","aura://Boolean","I",false,true],["showErrors","aura://Boolean","PP",false,true],["errors","aura://Object[]","G",false,[]],["errorComponent","aura://Aura.Component[]","I",false,[]],["fieldHelpComponent","aura://Aura.Component[]","I",false,[]],["type","aura://String","PP",false,"text"],["isCompound","aura://Boolean","I",false,false],["required","aura://Boolean","G",false,false],["updateOn","aura://String","G",false,"change"],["updateOnDisabled","aura://Boolean","I",false,false],["label","aura://String","G",false],["labelClass","aura://String","G",false,""],["labelPosition","aura://String","PP",false,"left"],["labelTitle","aura://String","I",false],["useSpanLabel","aura://Boolean","I",false,false],["requiredIndicatorClass","aura://String","G",false,""],["disabled","aura://Boolean","G",false,false],["domId","aura://String","PP",false],["requiredIndicator","aura://Aura.Component[]","I",false,[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"title":{"exprType":"PROPERTY","byValue":false,"target":"ui:input","path":"$Label.LightningControl.required"},"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"required \",cmp.get(\"v.requiredIndicatorClass\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"ui:input","path":"v.requiredIndicatorClass"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:text"},"attributes":{"values":{"value":{"descriptor":"value","value":"*"}}}}]}}}}]],["placeholder","aura://String","G",false,""],["maxlength","aura://Integer","G",false],["size","aura://Integer","G",false],["max","aura://Decimal","PP",false,99999999999999],["min","aura://Decimal","PP",false,-99999999999999],["step","aura://Decimal","I",false,1],["format","aura://String","G",false],["valueScale","aura://Integer","I",false,0],["doFormat","aura://Boolean","I",false,true]],"med":[{"name":"ui:focus","xs":"I"}],"i":["markup://ui:inputTextComponent","markup://ui:inputNumberComponent"],"re":[{"ed":"markup://ui:click","n":"click","xs":"G"},{"ed":"markup://ui:dblclick","n":"dblclick","xs":"G"},{"ed":"markup://ui:mousedown","n":"mousedown","xs":"G"},{"ed":"markup://ui:mousemove","n":"mousemove","xs":"G"},{"ed":"markup://ui:mouseout","n":"mouseout","xs":"G"},{"ed":"markup://ui:mouseover","n":"mouseover","xs":"G"},{"ed":"markup://ui:mouseup","n":"mouseup","xs":"G"},{"ed":"markup://ui:blur","n":"blur","xs":"G"},{"ed":"markup://ui:focus","n":"focus","xs":"G"},{"ed":"markup://ui:keydown","n":"keydown","xs":"G"},{"ed":"markup://ui:keypress","n":"keypress","xs":"G"},{"ed":"markup://ui:keyup","n":"keyup","xs":"G"},{"ed":"markup://ui:select","n":"select","xs":"G"},{"ed":"markup://ui:inputEvent","n":"input","xs":"I"},{"ed":"markup://ui:cut","n":"cut","xs":"G"},{"ed":"markup://ui:validationError","n":"onError","xs":"G"},{"ed":"markup://ui:clearErrors","n":"onClearErrors","xs":"G"},{"ed":"markup://ui:change","n":"change","xs":"G"},{"ed":"markup://ui:copy","n":"copy","xs":"G"},{"ed":"markup://ui:paste","n":"paste","xs":"G"},{"ed":"markup://ui:updateError","n":"updateError","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.initialize"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:inputSmartNumber"},"attributes":{"values":{"max":{"descriptor":"max","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:inputCurrency","path":"v.max"}},"change":{"descriptor":"change","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:inputCurrency","path":"c.handleChange"}},"format":{"descriptor":"format","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:inputCurrency","path":"v.format"}},"required":{"descriptor":"required","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:inputCurrency","path":"v.required"}},"min":{"descriptor":"min","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:inputCurrency","path":"v.min"}},"style":{"descriptor":"style","value":"currency"},"step":{"descriptor":"step","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:inputCurrency","path":"v.step"}},"disabled":{"descriptor":"disabled","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:inputCurrency","path":"v.disabled"}},"ariaDescribedBy":{"descriptor":"ariaDescribedBy","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:inputCurrency","path":"v.ariaDescribedBy"}},"id":{"descriptor":"id","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:inputCurrency","path":"v.domId"}},"placeholder":{"descriptor":"placeholder","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:inputCurrency","path":"v.placeholder"}},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:inputCurrency","path":"v.value"}},"updateOn":{"descriptor":"updateOn","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:inputCurrency","path":"v.updateOn"}},"class":{"descriptor":"class","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:inputCurrency","path":"v.class"}}}}}]}],"df":"default, input","css":true}*/});
$A.componentService.addComponent("markup://force:virtualGrid",function(){/*$A.componentService.addComponentClass("markup://force:virtualGrid",function(){return{meta:{name:"force$virtualGrid","extends":"markup://ui:virtualDataGrid",imports:{lib:"markup://force:virtualGridLib"}},controller:{handleColumnsChange:function(e,a,b){if((a=(a=e.get("v.columns"))&&a[0])&&a.getDef&&"layout"===a.getDef().getDescriptor().getPrefix()){a=a.getSuper().get("v.body");b=[];for(var c=0;c<a.length;c++){var d=a[c].get("v.outputComponent");d&&b.push(d[0])}c=e.get("v.selectionHeader");d=e.get("v.selectionColumn");
if(c&&0<c.length&&d&&0<d.length){var f=e.get("v.selectionColumnPosition").toLowerCase();"right"===f?(a=a.concat(c),b=b.concat(d)):"left"===f?(a=c.concat(a),b=d.concat(b)):(a=a.concat(c),b=b.concat(d))}e.set("v.headerColumns",a);e.set("v.columns",b,!0)}}}}});return {"xs":"I","descriptor":"markup://force:virtualGrid","su":"markup://ui:virtualDataGrid","ad":[["body","aura://Aura.Component[]","G",false,[]],["sortBy","aura://String","PP",false],["class","aura://String","PP",false],["items","aura://List","PP",false,[]],["headerColumns","aura://Aura.Component[]","PP",false,[]],["columns","aura://Aura.ComponentDefRef[]","PP",false,[]],["columnsEdit","aura://Aura.ComponentDefRef[]","I",false,[]],["dataModel","aura://Aura.Component[]","PP",false,[]],["_dirty","aura://Integer","I",false],["itemVar","aura://String","I",false,"item"],["delegatedEvents","aura://String","I",false,"click,keydown"],["_sortBy","aura://String","I",false,""],["useRowHeaders","aura://Boolean","I",false,false],["rowHeaderIndex","aura://Integer","I",false,-1],["fixedHeader","aura://Boolean","I",false,false],["keyboardNavigation","aura://Boolean","I",false,false],["enableResizableColumns","aura://Boolean","I",false,false],["resizableColumnsConfig","aura://Object","I",false,null],["ariaLabel","aura://String","I",false],["renderInfo","aura://Object","I",false,null],["itemChangeHandlerConfig","aura://Object","I",false,null],["selectionHeader","aura://Aura.Component[]","I",false,[]],["selectionColumn","aura://Aura.ComponentDefRef[]","I",false,[]],["selectionColumnPosition","aura://String","I",false,"right"]],"med":[{"name":"ui:appendItems","xs":"I","attributes":[["items","aura://Object","I",false,null]]},{"name":"ui:updateItem","xs":"I","attributes":[["item","aura://Object","I",true,null],["index","aura://Integer","I",true]]},{"name":"ui:resizeColumns","xs":"I","attributes":[["widths","aura://Integer[]","I",false,[]]]},{"name":"ui:sort","xs":"I","attributes":[["sortBy","aura://String","PP",false]]},{"name":"force:handleColumnsChange","xs":"I","action":"{!c.handleColumnsChange}"}],"re":[{"ed":"markup://ui:sort","n":"onsort","xs":"I"},{"ed":"markup://ui:gridAction","n":"gridAction","xs":"I"},{"ed":"markup://ui:resize","n":"onColumnResize","xs":"I"},{"ed":"markup://ui:refresh","n":"refresh","xs":"I"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"force:virtualGrid","path":"v.body"}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:groupContainer",function(){/*$A.componentService.addComponentClass("markup://forceSearch:groupContainer",function(){return{meta:{name:"forceSearch$groupContainer","extends":"markup://forceSearch:baseSearch"},controller:{handleSearchRequest:function(a,b,c){if(c.shouldHandleSearchRequest(a,b)){var d=b.getParams(),e=d.groupId,f=a.get("v.groupId");if(e===f||"DEFAULT"===f&&!e)e=b.getSource().getGlobalId(),a.update(d.type,d.term,d.scopeMap,d.context,e),!0===a.get("v.sendGroupLogs")&&c.logEvent(a,b)}}},helper:{shouldHandleSearchRequest:function(a,
b){var c=!1;a&&this.lib.event.isValid(b)&&(c=a.get("v.updateOnlyIfActive")?this.isActive(a):!0);if(!c)return!1;switch(b.getParam("type")){case this.lib.event.SET_TERM:return b.getParam("term")===a.get("v.term")?!1:!0;case this.lib.event.SET_SCOPE:return this.lib.scope.scopeMapsEqual(b.getParam("scopeMap"),a.get("v.scopeMap"))?!1:!0;case this.lib.event.SET_CONTEXT:return this.lib.scope.scopeMapsEqual(b.getParam("scopeMap"),a.get("v.scopeMap"))&&this.lib.util.isEqual(b.getParam("context"),a.get("v.context"))?
!1:!0;default:return!0}},logEvent:function(a,b){(b.getParam("context")||{}).groupId=a.get("v.groupId");b.getParam("type")}}}});return {"xs":"I","descriptor":"markup://forceSearch:groupContainer","su":"markup://forceSearch:baseSearch","ad":[["body","aura://Aura.Component[]","G",false,[]],["shouldFocus","aura://Boolean","I",false,false],["groupId","aura://String","I",true,"DEFAULT"],["updateChildren","aura://Boolean","I",true,true],["updateOnlyIfActive","aura://Boolean","I",true,true],["priv_valueProviderReady","aura://Boolean","I",false,false],["initialTerm","aura://String","I",false],["initialScopeMap","aura://Map","I",false,null],["initialContext","aura://Map","I",false,null],["inContextOfComponent","aura://String","I",false,"forceSearch:search"],["term","aura://String","I",true,""],["scopeMap","aura://Map","I",true,{}],["context","aura://Map","I",true,{}],["loggingContext","aura://Map","I",true,{}],["name","aura://String","I",true,"groupContainer"],["sendGroupLogs","aura://Boolean","I",true,false]],"med":[{"name":"forceSearch:update","xs":"I","action":"{!c.update}","attributes":[["type","aura://String","I",false],["term","aura://String","I",false],["scopeMap","aura://Map","I",false,null],["context","aura://Map","I",false,null],["sourceId","aura://String","I",false]]}],"re":[{"ed":"markup://force:searchRequest","n":"searchRequest","xs":"I"}],"hd":[{"ed":{"descriptor":"markup://force:searchRequest"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleSearchRequest"}}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:groupContainer","path":"v.body"}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://one:navItemDropdownMenuItem",function(){/*$A.componentService.addComponentClass("markup://one:navItemDropdownMenuItem",function(){return{meta:{name:"one$navItemDropdownMenuItem","extends":"markup://ui:menuItem",imports:{util:"markup://force:util"}},controller:{init:function(b,a,c){a=b.get("v.action");!b.get("v.isNewAction")&&(a&&a.pageReference)&&b.find("navigation").generateUrl(a.pageReference).then($A.getCallback(function(a){b.set("v.url",a)}))},handleClick:function(b,a,c){var d=b.find("anchor");d&&c.util.dom.letBrowserHandleClick(d,a)?
a.stopPropagation():(a.preventDefault(),b.select())}}}});return {"xs":"I","descriptor":"markup://one:navItemDropdownMenuItem","su":"markup://ui:menuItem","ad":[["body","aura://Aura.Component[]","G",false,[]],["class","aura://String","G",false],["dir","aura://String","I",false,"ltr"],["namespaceOverride","aura://String","I",false],["actionable","aura://Boolean","I",false,true],["role","aura://String","I",false,"menuitem"],["ariaDescribedBy","aura://String","PP",false,""],["value","aura://Object","PP",false,null],["visible","aura://Boolean","I",false,true],["selected","aura://Boolean","G",false,false],["type","aura://String","G",false],["label","aura://String","G",false],["hideMenuAfterSelected","aura://Boolean","G",false,true],["disabled","aura://Boolean","G",false,false],["section","aura://String","I",false],["action","aura://Object","I",false,"null"],["iconKey","aura://String","I",false,""],["isNewAction","aura://String","I",false,"false"],["url","aura://String","p",false,"javascript:void(0)"]],"med":[{"name":"ui:select","xs":"I","action":"{!c.select}"},{"name":"ui:setFocus","xs":"I","action":"{!c.setFocus}"}],"re":[{"ed":"markup://ui:click","n":"click","xs":"G"},{"ed":"markup://ui:dblclick","n":"dblclick","xs":"G"},{"ed":"markup://ui:mousedown","n":"mousedown","xs":"G"},{"ed":"markup://ui:mousemove","n":"mousemove","xs":"G"},{"ed":"markup://ui:mouseout","n":"mouseout","xs":"G"},{"ed":"markup://ui:mouseover","n":"mouseover","xs":"G"},{"ed":"markup://ui:mouseup","n":"mouseup","xs":"G"},{"ed":"markup://ui:blur","n":"blur","xs":"G"},{"ed":"markup://ui:focus","n":"focus","xs":"G"},{"ed":"markup://ui:keydown","n":"keydown","xs":"G"},{"ed":"markup://ui:keypress","n":"keypress","xs":"G"},{"ed":"markup://ui:keyup","n":"keyup","xs":"G"},{"ed":"markup://ui:select","n":"select","xs":"G"},{"ed":"markup://ui:menuSelect","n":"menuSelect","xs":"PP"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"}],"ld":{"new":{"alias":"nav-dropdown-menu-new-action"},"anchor":{"context":{"section":{"exprType":"PROPERTY","byValue":false,"target":"one:navItemDropdownMenuItem","path":"v.section"},"label":{"exprType":"PROPERTY","byValue":false,"target":"one:navItemDropdownMenuItem","path":"v.label"}},"alias":"nav-dropdown-menu-item"}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:navigation"},"localId":"navigation"},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"role":"presentation","class":{"exprType":"PROPERTY","byValue":true,"target":"one:navItemDropdownMenuItem","path":"v.class"}}},"tag":{"descriptor":"tag","value":"li"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"anchor","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"role":"menuitem","onclick":{"exprType":"PROPERTY","byValue":false,"target":"one:navItemDropdownMenuItem","path":"c.handleClick"},"href":{"exprType":"PROPERTY","byValue":false,"target":"one:navItemDropdownMenuItem","path":"v.url"},"title":{"exprType":"PROPERTY","byValue":true,"target":"one:navItemDropdownMenuItem","path":"v.label"}}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:icon"},"attributes":{"values":{"alt":{"descriptor":"alt","value":{"exprType":"PROPERTY","byValue":true,"target":"one:navItemDropdownMenuItem","path":"v.action.label"}},"class":{"descriptor":"class","value":"slds-m-right--x-small"},"key":{"descriptor":"key","value":{"exprType":"PROPERTY","byValue":true,"target":"one:navItemDropdownMenuItem","path":"v.iconKey"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":true,"target":"one:navItemDropdownMenuItem","path":"v.iconKey"}}}}},{"componentDef":{"descriptor":"markup://ui:outputText"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":true,"target":"one:navItemDropdownMenuItem","path":"v.label"}}}}}]}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"new","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"role":"menuitem","onclick":{"exprType":"PROPERTY","byValue":false,"target":"one:navItemDropdownMenuItem","path":"c.handleClick"},"href":{"exprType":"PROPERTY","byValue":false,"target":"one:navItemDropdownMenuItem","path":"v.url"},"title":{"exprType":"PROPERTY","byValue":true,"target":"one:navItemDropdownMenuItem","path":"v.label"}}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:icon"},"attributes":{"values":{"alt":{"descriptor":"alt","value":{"exprType":"PROPERTY","byValue":true,"target":"one:navItemDropdownMenuItem","path":"v.action.label"}},"class":{"descriptor":"class","value":"slds-m-right--x-small"},"key":{"descriptor":"key","value":{"exprType":"PROPERTY","byValue":true,"target":"one:navItemDropdownMenuItem","path":"v.iconKey"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":true,"target":"one:navItemDropdownMenuItem","path":"v.iconKey"}}}}},{"componentDef":{"descriptor":"markup://ui:outputText"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":true,"target":"one:navItemDropdownMenuItem","path":"v.label"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"one:navItemDropdownMenuItem","path":"v.isNewAction"}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:newContent",function(){/*$A.componentService.addComponentClass("markup://forceChatter:newContent",function() {
return {
  "meta":{
    "name":"forceChatter$newContent",
    "extends":"markup://aura:component"
  }
};
});
return {"xs":"I","descriptor":"markup://forceChatter:newContent","ad":[["body","aura://Aura.Component[]","G",false,[]],["interval","aura://Integer","I",false,60000],["isEnabled","aura://Boolean","I",false,false],["isVisible","aura://Boolean","I",false,false],["onPress","aura://Aura.Action","I",false,null],["checkNewContent","aura://Aura.Action","I",false,null]],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:newContentButton"},"localId":"newContentButton","attributes":{"values":{"checkNewContent":{"descriptor":"checkNewContent","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:newContent","path":"v.checkNewContent"}},"isVisible":{"descriptor":"isVisible","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:newContent","path":"v.isVisible"}},"interval":{"descriptor":"interval","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:newContent","path":"v.interval"}},"onPress":{"descriptor":"onPress","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:newContent","path":"v.onPress"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:newContent","path":"v.isEnabled"}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:feedBodyQuestionWithBestAnswer",function(){/*$A.componentService.addComponentClass("markup://forceChatter:feedBodyQuestionWithBestAnswer",function(){return{meta:{name:"forceChatter$feedBodyQuestionWithBestAnswer","extends":"markup://forceChatter:feedBody"},controller:{handleRender:function(a,b,c){$A.get("$Site")&&(window.location.pathname.includes(a.get("v.data.id"))&&a.getElements()&&0<a.getElements().length)&&a.getElements()[0].setAttribute("aria-live","polite")}}}});return {"xs":"I","descriptor":"markup://forceChatter:feedBodyQuestionWithBestAnswer","st":{"descriptor":"css://forceChatter.feedBodyQuestionWithBestAnswer","cl":"forceChatterFeedBodyQuestionWithBestAnswer"},"su":"markup://forceChatter:feedBody","ad":[["body","aura://Aura.Component[]","G",false,[]],["searchQueryId","aura://String","I",false],["feedItemPosition","aura://String","I",false],["subjectId","aura://String","I",false],["sortOrder","aura://String","I",false],["feedDesign","aura://String","I",false,"BROWSE"],["feedType","aura://String","I",false],["feedDisplayConfig","java://ui.chatter.api.FeedDisplayConfig","I",true,null],["data","java://sfdc.chatter.connect.api.output.feeds.FeedItemRepresentation","I",false,null],["isTopicsEnabled","aura://Boolean","I",false,false],["_truncate","aura://Boolean","I",false,true],["truncatedMessage","aura://String","I",false],["onTruncatedMessageClick","aura://Aura.Action","I",false,null],["disableHover","aura://Boolean","I",false,false],["communityId","aura://String","I",false]],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleRender"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"render"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-body cuf-questionTitle"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:outputText"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedBodyQuestionWithBestAnswer","path":"v.data.capabilities.questionAndAnswers.questionTitle"}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:experimentContextInitializer",function(){/*$A.componentService.addComponentClass("markup://forceSearch:experimentContextInitializer",function(){return{meta:{name:"forceSearch$experimentContextInitializer","extends":"markup://aura:component",imports:{lib:"markup://forceSearch:searchLibrary"}},controller:{handleSearchRequest:function(a,b,c){a&&(b&&c.lib.event.isCustom(b))&&(b=c.lib.event.getEventData(b),"forceSearch:baseSearchInput:SEARCH_ACTIVATED"===b.type&&(a=a.get("c.startExperiment"),a.setParams({searchDialogSessionId:b.data.searchDialogSessionId}),
a.setCaboose(),$A.enqueueAction(a)))}}}});return {"xs":"I","descriptor":"markup://forceSearch:experimentContextInitializer","cd":{"descriptor":"compound://forceSearch.experimentContextInitializer","ac":[{"n":"startExperiment","descriptor":"serviceComponent://ui.search.components.forcesearch.experiment.ExperimentController/ACTION$startExperiment","at":"SERVER","rt":"java://void","pa":[{"name":"searchDialogSessionId","type":"java://java.lang.String"}]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]]],"hd":[{"ed":{"descriptor":"markup://force:searchRequest"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleSearchRequest"}}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:entitySelectorMenu",function(){/*$A.componentService.addComponentClass("markup://forceSearch:entitySelectorMenu",function(){return{meta:{name:"forceSearch$entitySelectorMenu","extends":"markup://aura:component"},controller:{init:function(a,b,c){c.init(a)},entityMenuBlur:function(a,b,c){a.getEvent("entityMenuBlur").fire()},entityMenuClick:function(a,b,c){a.getEvent("entityMenuClick").fire()},entityMenuCollapse:function(a,b,c){a.getEvent("entityMenuCollapse").fire()},entityMenuPressed:function(a,b,c){a.get("v.priv_entitiesResolved")?
c.updateEntityMenuItems(a):c.refreshEntities(a);a.getEvent("entityMenuPressed").fire()},entityMenuItemSelected:function(a,b,c){(b=b.getParam("selectedItem"))&&c.setCurrentEntity(a,b.get("v.value"))},setEntityStateHandler:function(a,b,c){b=b.getParam("arguments");c.setEntityState(a,b.entities,b.selectedEntityIndex,b.entityMenuItemStates)},handleDisabledChange:function(a,b,c){c.setSelectorState(a,a.get("v.disabled"))}},helper:{init:function(a){var b=this.getDefaultEntityType(a);this.setCurrentEntity(a,
b)},fireSelectedEntity:function(a){a.getEvent("entitySelected").fire({entity:a.get("v.priv_currentEntity")})},getDefaultEntityType:function(a){var b=a.get("v.entities"),c=a.get("v.selectedEntityIndex"),d=null;a=a.get("v.priv_entityMenuItemStates")||[];!0===a[c]&&(c=-1);if(b&&0<b.length)if(-1===c)for(var c=0,f=b.length;c<f;c++){if(!0!==a[c]){d=b[c].name;break}}else d=b[c].name;return d},setCurrentEntity:function(a,b){b=null===b?"":b;for(var c=a.get("v.entities")||[],d=null,f=-1,e=0;e<c.length;e++)if(c[e].name===
b){d=c[e];f=e;break}d?(d&&!this.isResolvedEntity(d)?this.resolveCurrentEntityToRender(a,d,f):this.setAndFireSelectedEntity(a,d,f),this.computeEntitySelectorAriaLabel(a,d)):this.resetSelectedEntityAndSelectedIndex(a)},resolveCurrentEntityToRender:function(a,b,c){var d={};d[b.name]=!0;this.fetchThemeForEntities(a,d,function(){var b=a.get("v.entities")||[],d=b[c];d&&d.notSearchable?this.fetchThemeForEntities(a,null,function(){var d=b.filter(function(a){return a&&!a.notSearchable});0===d.length?(this.fireEntityAvailability(a,
!1),this.resetSelectedEntityAndSelectedIndex(a)):this.setAndFireSelectedEntity(a,d[0],c)}):d&&this.setAndFireSelectedEntity(a,d,c)})},setAndFireSelectedEntity:function(a,b,c){a.set("v.priv_currentEntity",b);a.set("v.entityType",b.name);a.set("v.selectedEntityIndex",c);-1!==c&&this.fireSelectedEntity(a)},resetSelectedEntityAndSelectedIndex:function(a){a.set("v.priv_currentEntity",{});a.set("v.entityType","");a.set("v.selectedEntityIndex",-1)},isResolvedEntity:function(a){return a&&!!a.icon&&!!a.color||
!!a.notSearchable},fetchThemeForEntities:function(a,b,c){var d=this,f=(a.get("v.entities")||[]).filter(function(a){var c=d.isResolvedEntity(a),e=!0;b&&!b[a.name]&&(e=!1);return!c&&e});if(0===f.length)d.fireSelectedEntity(a),c&&c.call(d);else{var e=a.get("v.priv_entityFetchRequestId")+1;a.set("v.priv_entityFetchRequestId",e);var g=a.get("c.getEntityInfo");g.setParams({entityNames:f.map(function(a){return a.name})});g.setCallback(this,function(b){if("SUCCESS"===b.getState()&&a.get("v.priv_entityFetchRequestId")===
e){var f=a.get("v.entities");if(!(void 0===f||null===f)){b=b.getReturnValue();for(var g=0;g<f.length;++g){var k=f[g],h=b[k.name];h&&(h.notSearchable&&(k.notSearchable=h.notSearchable),k.label||(k.label=h.label),k.labelPlural||(k.labelPlural=h.labelPlural),void 0!==h.icon&&(k.icon=h.icon),void 0!==h.color&&(k.color=h.color))}a.set("v.entities",f);c&&c.call(d)}}});g.setAbortable();g.setStorable({executeCallbackIfUpdated:!1});$A.enqueueAction(g)}},computeEntitySelectorAriaLabel:function(a,b){var c=$A.get("$Label.Lookup.PickEntity"),
d=$A.get("$Label.LightningSearchUI.LookupEntitySelectorAriaLabel")||"",d=d.replace(/<entity>/i,b.labelPlural),d=$A.util.format(d,a.get("v.fieldLabel"));a.set("v.priv_entitySelectorAriaLabel",d+", "+c)},refreshEntities:function(a){a.set("v.priv_entitiesResolved",!1);this.fetchThemeForEntities(a,null,function(){a.set("v.priv_entitiesResolved",!0);this.createMenuItems(a)})},createMenuItems:function(a){var b=a.get("v.entities")||[],c=a.get("v.priv_entityMenuItemStates")||[],d=[],f=0,e=function(c,e){"SUCCESS"===
e?d.push(c):f+=1;d.length+f===b.length&&(a.find("actionMenu").set("v.body",d),a.set("v.priv_menuItemsUpdated",!0))};b.forEach(function(b,d){b.notSearchable?e(null,"ERROR","No Access for Entity"):$A.createComponent("forceSearch:entityMenuItem",{"aura:id":"menuItem",value:b.name,label:b.labelPlural,"class":"entityMenuItem"+b.name,menuSelect:a.getReference("c.entityMenuItemSelected"),hideMenuAfterSelected:!0,disabled:!0===c[d],color:b.color,icon:b.icon},e)})},setEntityState:function(a,b,c,d){b&&(a.set("v.priv_entitiesResolved",
!1),a.set("v.entities",b),(b=b&&0===b.length)&&(c=-1),this.fireEntityAvailability(a,!b));d&&this.updateEntityMenuItemStates(a,d);0<=c&&c<a.get("v.entities").length&&a.set("v.selectedEntityIndex",c);c=this.getDefaultEntityType(a);this.setCurrentEntity(a,c)},updateEntityMenuItemStates:function(a,b){var c=a.get("v.priv_entityMenuItemStates")||[],d=(a.get("v.entities")||[]).length;if(!(0===d||$A.util.isEmpty(b))){var f=!0,e;if(c.length!==d){c=[];for(e=0;e<d;e++)c[e]=e in b&&!0===b[e],f=f&&c[e]}else for(e=
0;e<d;e++)e in b&&(c[e]=!0===b[e]),f=f&&c[e];a.set("v.priv_entityMenuItemStates",c);a.set("v.priv_menuItemsUpdated",!1);this.fireEntityAvailability(a,!f)}},setSelectorState:function(a,b){var c=a.find("entityMenuTrigger");c&&c.getElement()&&(c=c.getElement().getElementsByClassName("entityMenuTrigger")[0],b?c.setAttribute("tabindex","-1"):c.removeAttribute("tabIndex"))},updateEntityMenuItems:function(a){var b=a.get("v.priv_entityMenuItemStates")||[],c=a.get("v.priv_menuItemsUpdated");if(!(0===b.length||
c))if(c=a.find("actionMenu").get("v.body")||[],0!==c.length){for(var d=!0,f=0,e=c.length;f<e;f++){var g=c[f].get("v.disabled"),l=b[f],d=d&&l;g!==l&&c[f].set("v.disabled",l)}a.set("v.priv_menuItemsUpdated",!0);this.fireEntityAvailability(a,!d)}},fireEntityAvailability:function(a,b){b?a.getEvent("entitiesAvailable").fire():a.getEvent("entitiesUnavailable").fire()}}}});return {"xs":"I","descriptor":"markup://forceSearch:entitySelectorMenu","cd":{"descriptor":"compound://forceSearch.entitySelectorMenu","ac":[{"n":"getEntityInfo","descriptor":"serviceComponent://ui.search.components.forcesearch.entityselectormenu.EntitySelectorMenuController/ACTION$getEntityInfo","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"entityNames","type":"java://java.util.List<java.lang.String>"}]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["class","aura://String","G",false],["dir","aura://String","I",false,"ltr"],["namespaceOverride","aura://String","I",false],["actionable","aura://Boolean","I",false,true],["role","aura://String","I",false],["ariaDescribedBy","aura://String","PP",false,""],["value","aura://Object","PP",false,null],["visible","aura://Boolean","I",false,true],["disabled","aura://Boolean","I",false,false],["entities","aura://List","I",true,[]],["entityType","aura://String","I",false],["selectedEntityIndex","aura://Integer","I",false,-1],["loggingLocation","aura://String","I",false,"force:edit"],["loggingActionLocation","aura://String","I",false,"force:center"],["fieldLabel","aura://String","I",false,""],["priv_currentEntity","aura://Map","I",false,{}],["priv_entityFetchRequestId","aura://Integer","I",false,0],["priv_entitiesResolved","aura://Boolean","I",false,false],["priv_entityMenuItemStates","aura://Boolean[]","I",false,[]],["priv_menuItemsUpdated","aura://Boolean","I",false,false],["priv_entitySelectorAriaLabel","aura://String","I",false,""]],"med":[{"name":"forceSearch:setEntityState","xs":"I","action":"{!c.setEntityStateHandler}","attributes":[["entities","aura://List","I",false,"[]"],["selectedEntityIndex","aura://Integer","I",false,"-1"],["entityMenuItemStates","aura://Map","I",false,null]]}],"i":["markup://force:entitySelector","markup://ui:visible"],"re":[{"ed":"markup://ui:click","n":"click","xs":"G"},{"ed":"markup://ui:dblclick","n":"dblclick","xs":"G"},{"ed":"markup://ui:mousedown","n":"mousedown","xs":"G"},{"ed":"markup://ui:mousemove","n":"mousemove","xs":"G"},{"ed":"markup://ui:mouseout","n":"mouseout","xs":"G"},{"ed":"markup://ui:mouseover","n":"mouseover","xs":"G"},{"ed":"markup://ui:mouseup","n":"mouseup","xs":"G"},{"ed":"markup://force:entitySelected","n":"entitySelected","xs":"I"},{"ed":"markup://ui:change","n":"entityMenuPressed","xs":"I"},{"ed":"markup://ui:change","n":"entityMenuClick","xs":"I"},{"ed":"markup://ui:change","n":"entityMenuCollapse","xs":"I"},{"ed":"markup://ui:change","n":"entitiesAvailable","xs":"I"},{"ed":"markup://ui:change","n":"entityMenuBlur","xs":"I"},{"ed":"markup://ui:change","n":"entitiesUnavailable","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleDisabledChange"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.disabled"},"n":"change"}],"ld":{"entityMenuTrigger":{"alias":"search-entity-selector-menu-trigger"},"menuItem":{"alias":"search-entity-selector-menu-list"}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:menu"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:menuTriggerLink"},"localId":"entityMenuTrigger","attributes":{"values":{"popupTriggerPress":{"descriptor":"popupTriggerPress","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:entitySelectorMenu","path":"c.entityMenuPressed"}},"blur":{"descriptor":"blur","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:entitySelectorMenu","path":"c.entityMenuBlur"}},"ariaLabel":{"descriptor":"ariaLabel","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:entitySelectorMenu","path":"v.priv_entitySelectorAriaLabel"}},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:entityIcon"},"attributes":{"values":{"color":{"descriptor":"color","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:entitySelectorMenu","path":"v.priv_currentEntity.color"}},"icon":{"descriptor":"icon","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:entitySelectorMenu","path":"v.priv_currentEntity.icon"}},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:entitySelectorMenu","path":"v.priv_currentEntity.labelPlural"}},"class":{"descriptor":"class","value":"entityIcon slds-icon slds-icon--small slds-float--left"}}}},{"componentDef":{"descriptor":"markup://lightning:icon","type":"module"},"attributes":{"values":{"size":{"descriptor":"size","value":"xx-small"},"iconName":{"descriptor":"iconName","value":"utility:down"},"class":{"descriptor":"class","value":"entityDownIcon slds-button__icon slds-m-vertical--xx-small slds-p-top--xxx-small slds-button-space-left"},"alternativeText":{"descriptor":"alternativeText","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:entitySelectorMenu","path":"$Label.Lookup.PickEntity"}}}}}]},"class":{"descriptor":"class","value":"entityMenuTrigger slds-button slds-button--icon slds-shrink-none slds-m-vertical--xxx-small slds-grid slds-grid_align-center"},"click":{"descriptor":"click","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:entitySelectorMenu","path":"c.entityMenuClick"}},"keydown":{"descriptor":"keydown","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:entitySelectorMenu","path":"c.entityMenuPressed"}}}}},{"componentDef":{"descriptor":"markup://ui:menuList"},"localId":"actionMenu","flavor":"left, default","attributes":{"values":{"autoPosition":{"descriptor":"autoPosition","value":false},"menuCollapse":{"descriptor":"menuCollapse","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:entitySelectorMenu","path":"c.entityMenuCollapse"}},"attachToBody":{"descriptor":"attachToBody","value":true},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:inlineSpinner"},"flavor":"small","attributes":{"values":{"isVisible":{"descriptor":"isVisible","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(cmp.get(\"v.priv_entitiesResolved\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:entitySelectorMenu","path":"v.priv_entitiesResolved"}],"byValue":false}},"class":{"descriptor":"class","value":"entitySpinner"}}}}]},"class":{"descriptor":"class","value":"entityMenuList"},"closeOnClickOutside":{"descriptor":"closeOnClickOutside","value":true}}}}]},"class":{"descriptor":"class","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.visible\")?\"entityMenu slds-p-left--xxx-small\":\"slds-hide\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:entitySelectorMenu","path":"v.visible"}],"byValue":false}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.entities.length\")>1);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:entitySelectorMenu","path":"v.entities.length"}],"byValue":false}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:searchPageDesktop",function(){/*$A.componentService.addComponentClass("markup://forceSearch:searchPageDesktop",function(){return{meta:{name:"forceSearch$searchPageDesktop","extends":"markup://forceSearch:searchPage",imports:{lib:"markup://forceSearch:searchLibrary"}},controller:{init:function(a,b,c){b=a.get("v.groupId");var d=a.get("v.term"),e=c.initScopeMap(a),f=c.lib.ctx.isDesktop();a.set("v.priv_globalSearchMode",c.lib.scope.isTopResults(e)||"FeedPost"===e.name&&!f);a.get("v.enableNavigation")&&(c.initNavContainer(a),(!f||!$A.util.isEmpty(a.get("v.scopeSets")))&&
c.updateNavContainer(a,c.lib.event.SET_SCOPE));c.initViewportListeners(a);c.initializeDataStore(a);c.lib.event.fireCustom(b,"forceSearch:search:STATE_CHANGE",{state:"LOADED",page:a.getType(),cmpId:a.getGlobalId()});c.lib.event.fireSetTerm(b,d)},handleScopeChange:function(a,b,c){b=a.get("v.scope");var d={name:b};b||(d.type=c.lib.scope.TYPE.TOP_RESULTS);a.set("v.scopeMap",d);c.displayResultsFilterIfNeeded(a)},handleSearchRequest:function(a,b,c){if(c.lib.event.isValid(b)&&a.get("v.priv_active")){var d=
b.getParam("groupId"),e=b.getParam("context"),f=b.getParam("scopeMap");if(!(d&&"DEFAULT"!==d)&&c.acceptingAppEvents(a,b))switch(b.getParam("type")){case c.lib.event.CLEAR:case c.lib.event.SET_TERM:c.handleSetTerm(a,b);break;case c.lib.event.SET_SCOPE:c.handleSetScope(a,b);c.updateNavContainer(a,c.lib.event.SET_SCOPE,!c.lib.scope.isTopResults(f)||!c.lib.scope.hasMru(f));break;case c.lib.event.SET_CONTEXT:c.lib.scope.scopeMapEmpty(f)||c.loadInit(a,f);c.updateNavContainer(a,c.lib.event.SET_CONTEXT);
break;case c.lib.event.SEARCH:c.handleSearch(a,b);c.updateNavContainer(a,c.lib.event.SEARCH);break;case c.lib.event.SEARCH_RESULTS:c.handleSearchResults(a,e);c.updateNavContainer(a,c.lib.event.SEARCH_RESULTS);break;case c.lib.event.CUSTOM:b=c.lib.event.getEventData(b),"forceSearch:resultsFilters:FILTERED_SEARCH"===b.type&&(c.lib.ctx.clearEventId(a.get("v.context")),a.set("v.context.filterData",b.data),c.refresh(a))}}},search:function(a,b,c){b=b.getParam("arguments");var d=b.scopeMap||{};b.scope&&
(d.name=b.scope);c.doSearch(a,{term:b.term,scopeMap:d,currentPage:1,sortBy:""})},resultRefreshedHandler:function(a,b,c){if(c.isShowingResults(a)){b=b.getParams().data;var d=c.lib.scope.isTopResults(b.scopeMap),e=c.lib.scope.isTopResults(a.get("v.priv_resolvedScope")),f=!!(b.scopeMap&&"conceptual"===b.scopeMap.namespace);e&&a.set("v.priv_isConceptualSearch",f);c.toggleInlineSpinner(!1);a.set("v.priv_searchInProgress",!1);!d&&!e&&c.handleScopedResultsRefreshed(a,b);!b.wasSorted&&!e&&a.set("v.priv_focusResults",
!0);a.getEvent("resultsLoaded").setParams({data:{results:b.records||[],scopeMap:a.get("v.priv_resolvedScope"),totalSize:b.totalSize,isTopResultsSource:d}}).fire();if(!b.isOverridenResults&&(!d||!e)){d=null;try{d=a.find("listSorter").get("v.dataProvider")[0].get("v.sortBy")}catch(g){}$A.util.isEmpty(d)||$A.endMark("sortedSearch:"+d);c.updateTotalSize(a,b.totalSize,b.moreResultsAvailable)}}},reflow:function(a,b,c){},toggleNavExpanded:function(a,b,c){b=a.get("v.priv_isNavExpanded");var d={action:b?"collapse":
"expand"};c.expandOrCollapseNav(a,!b);c.lib.logging.log(a,c.lib.interaction.SYNTHETIC_CLICK,"search-nav-container","search-nav-expand-toggle-button",d)},resultFailedHandler:function(){},resultEndedHandler:function(a,b,c){c.toggleInlineSpinner(!1)},handleRouteChange:function(a,b,c){b.stopPropagation();var d=b.getParams().parameters;b=$A.util.lookup(d,"term")||null;var e=$A.util.lookup(d,"scopeMap")||null,f=$A.util.lookup(d,"context")||null,d=$A.util.lookup(d,"groupId")||null;b&&(e&&f)&&(a.set("v.term",
b),a.set("v.scopeMap",e),a.set("v.context",f),a.set("v.groupId",d),c.fireSearch(a))},handleResultsFilterLoaded:function(a,b,c){c.updateFiltersSearchStatus(a)}},helper:{handleSearchResults:function(a,b){a.set("v.priv_searchResultsContextMapPerEntity",b)},initScopeMap:function(a){var b=a.get("v.scopeMap")||{};if(this.lib.scope.scopeMapEmpty(b)){var c=a.get("v.scope");c?b.name=c:b.type=this.lib.scope.TYPE.TOP_RESULTS}this.lib.scope.isTopResults(b)&&(b.resultsCmp=this.lib.scope.getResultsCmp(b));a.set("v.scopeMap",
b);return b},initViewportListeners:function(a){var b=$A.getEvt("markup://ui:notify","content",a);b&&(b.setParams({payload:{viewportEnter:function(b,d){this.notifyOnViewportEnter(a,d)}.bind(this),viewportExit:function(){this.notifyOnViewportExit(a)}.bind(this)}}),b.fire())},initNavContainer:function(a){this.displayResultsFilterIfNeeded(a)},updateNavContainer:function(a,b,c){if(b){var d=a.get("v.term"),e=a.get("v.scopeMap"),f=a.get("v.context"),g=a.find("scopes"),h=a.find("externalScopes");b===this.lib.event.SEARCH&&
(f[this.lib.scope.ACTIVE_SCOPE_SET_TYPE]="",a.set("v.priv_searchResultsContextMapPerEntity",{}));g&&g.update(b,d,e,f);h&&h.update(b,d,e,f);b===this.lib.event.SEARCH&&this.lib.logging.logPerf(a,"scopesPanel-newSearch","END");!1!==c&&this.displayResultsFilterIfNeeded(a)}},updateNavDisplay:function(a){var b=!!a.get("v.context.filterData"),c=this.getSearchResultsContext(a),d=a.get("v.priv_enableResultsFilters"),e=a.get("v.scopeMap"),f=this.lib.filters.isSupportedEntity(e),c=$A.util.isUndefinedOrNull(c[e.name])?
-1:c[e.name].totalSize,c=!!($A.util.isUndefinedOrNull(c)||0<c),b=d&&f&&(c||b);a.set("v.priv_showResultsFilters",b);this.expandOrCollapseNav(a,!b)},expandOrCollapseNav:function(a,b){var c=a.find("scopes");if(c){if(b){if(a.get("v.priv_isNavExpanded"))return;c.expand()}else{var d=a.get("v.scopeMap"),e=this.getSearchResultsContext(a),f={};$A.util.isEmpty(e)||(f[d.name]={totalSize:e[d.name].totalSize||-1,scopeMap:d,moreResultsAvailable:e[d.name].moreResultsAvailable||!1,hasError:e[d.name].hasError||!1},
c.collapse([this.lib.scope.getTopResultsScopeMap(),d],f))}a.set("v.priv_isNavExpanded",b)}},getSearchResultsContext:function(a){var b=a.get("v.scopeMap");a=a.get("v.priv_searchResultsContextMapPerEntity");return b=(b=b?a.scopedResponsesMap:{})||{}},loadInit:function(a,b){if(null==a.get("v.priv_initialScopeMap")){a.set("v.priv_initialScopeMap",b);this.setCurrentScope(a,b);$A.get("$Browser.isDesktop")&&this.showResults(a);var c=a.get("v.term");c||(c=a.get("v.searchString")||"",a.set("v.term",c));var c=
c.trim(),d=a.get("v.groupId"),e=a.get("v.context");this.lib.loggingUtils.hasConsistentSearchActivity(a)||this.lib.event.fireActivity(d,e);0<c.length?(this.doSearch(a,{term:c,scopeMap:b,currentPage:1},!1,!0),this.lib.cache.initCommonData(a,{term:c,scopeMap:b})):(this.refresh(a,!0,!1,!1,!0),a.get("v.suppressApplicationEvents")||this.lib.event.fireClear(d));a.getEvent("loaded").fire();this.lib.logging.logPerf(a,"initSearch","END",{scopeName:b.name})}},refresh:function(a,b,c,d){if(this.acceptingAppEvents(a)){if(this.isShowingResults(a)){var e=
a.get("v.term"),f=a.get("v.priv_resolvedScope")||{};b=b?"":a.get("v.priv_sortBy");(e||!d)&&this.doSearch(a,{term:e,scopeMap:f,currentPage:1,sortBy:b},c)}else this.showActionBar(a,!1),c||this.toggleInlineSpinner(!0);$A.get("e.ui:updateSize").fire()}},doSearch:function(a,b,c){if(this.isFreshSearch(a,b)){var d=b.term,e=b.scopeMap||a.get("v.priv_resolvedScope")||{},f=this.lib.scope.isTopResults(e),g=this.getFullContext(a,e.name);b=b.sortBy;g&&(!g.sortBy&&b)&&(g.sortBy=b);f||this.lib.logging.logPerf(a,
"showResults","START",{term:d,scopeName:e.name});a.set("v.priv_focusResults",!1);this.showResults(a);var h=a.find("resultsRegion");$A.util.isEmpty(b)?this.resetSortingInfo(a):(h&&h.set("v.sortBy",b),$A.mark("sortedSearch:"+b));a.set("v.priv_showScopeSelector",!0);a.set("v.priv_searchInProgress",!0);a.set("v.priv_max_totalSize",0);a.set("v.priv_max_moreResultsAvailable",!1);a.set("v.term",d);this.updateFiltersSearchStatus(a);this.showActionBar(a,!1);c||this.toggleInlineSpinner(!0);var k=this;setTimeout($A.getCallback(function(){h&&
h.update(k.lib.event.SEARCH,d,e,g,"searchHelper")}),10)}},handleScopedResultsRefreshed:function(a,b){var c=b.searchLogInfo||{},d=b.filterData;this.endShowResultsTransaction(a,c,d);$A.util.isEmpty(d)&&(d=a.get("v.loggingContext")||{},d.unfilteredQueryId=c.queryId,a.set("v.loggingContext",d));this.updateFiltersSearchStatus(a,c)},updateFiltersSearchStatus:function(a,b){var c=a.find("resultsFilters");if(c){var d=a.get("v.priv_searchInProgress");c.updateSearchStatus(d,b?{queryId:b.queryId}:{})}},handleSearch:function(a,
b){var c=a.get("v.priv_resolvedScope")||{},d=b.getParam("scopeMap")||{};this.lib.scope.scopeMapEmpty(d)&&(d=c);var e=b.getParam("term");e&&a.set("v.term",e);var f=b.getParam("context")||{};a.set("v.context",this.lib.util.copy(f));c.name===d.name?this.doSearch(a,{term:e,scopeMap:d,currentPage:1,sortBy:""}):(this.setCurrentScope(a,d),this.refresh(a,!0));this.setBrowserTitle(a)},handleSetTerm:function(a,b){a.set("v.term",b.getParam("term")||"")},handleSetScope:function(a,b){var c=b.getParams(),d=c.context||
{},c=c.scopeMap||{};this.lib.scope.scopeMapsEqual(a.get("v.scopeMap"),c)?d.filterData=a.get("v.context.filterData"):delete d.filterData;this.setCurrentScope(a,c);a.set("v.context",d);c=!0;if(d=d.sortBy)a.set("v.priv_sortBy",d),c=!1;this.refresh(a,c)},updateSearchContext:function(a,b,c){!a.get("v.suppressApplicationEvents")&&!this.lib.scope.scopeMapEmpty(b)&&(a=this.lib.util.mergeMaps(c,{goBackOnCancel:a.get("v.priv_globalSearchMode")}),this.lib.event.fireSetContext("DEFAULT",b,a))},showActionBar:function(a,
b){if(!a.get("v.suppressApplicationEvents")){var c=a.get("v.priv_resolvedScope")||{},d=c.name;if(!c.name||"ContentVersion"===d||"ContentDocument"===d)b=!1;b?(c={entityApiName:d,feedType:"MRU_LIST",listNameOrId:a.getGlobalId()},a.set("v.globalPublisherContext",c),$A.get("e.force:updateMDP").setParams(c).fire()):(a.set("v.globalPublisherContext",null),$A.get("e.force:updateMDPVisibility").setParams({show:!1}).fire())}},resetSortingInfo:function(a){a.set("v.priv_sortBy","");var b=a.find("resultsRegion");
b&&b.set("v.sortBy","");if(a=a.find("listSorter"))if(b=a.get("v.dataProvider"))b[0].set("v.sortBy",""),a.set("v.defaultSelectedItems",""),a.get("c.refresh").run()},setCurrentScope:function(a,b){a.set("v.priv_resolvedScope",b);a.set("v.scopeMap",b)},updateTotalSize:function(a,b,c){var d=a.get("v.priv_max_totalSize");b>d&&(a.set("v.priv_max_totalSize",b),a.set("v.priv_max_moreResultsAvailable",c))},checkContainerDisplay:function(a){var b=a.find("navContainer"),c=a.find("scopes");b&&c&&(!this.lib.ctx.isDesktop()||
a.get("v.useRibbon")?a.set("v.class","slds-grid_vertical"):a.set("v.class",""))},focusResults:function(a){if(a.get("v.priv_focusResults")&&$A.util.isUndefinedOrNull(a.get("v.context.filterData"))){var b=a.find("resultsWrapper");b&&b.getElement()&&(b.getElement().focus(),a.set("v.priv_focusResults",!1),window.scrollTo(0,0))}},setBrowserTitle:function(a){if($A.get("$Browser.isDesktop")){var b=a.get("v.term"),b=b?$A.get("$Label.LightningSearchUI.SearchResultsBrowserTitleWithTerm").replace("{0}",b):$A.get("$Label.LightningSearchUI.SearchResultsBrowserTitle");
a.getEvent("windowUpdate").setParams({title:b,icon:"standard:search"}).fire()}},hideResults:function(a){a.set("v.priv_topResultsView",!1);a.set("v.priv_resultsView",!1);var b=a.find("resultsRegion");b&&b.set("v.visible",!1);a.getEvent("resultsVisibilityChanged").fire({visible:!1})},showResults:function(a){var b=a.get("v.context"),c=a.get("v.priv_resolvedScope"),d=this.lib.scope.isTopResults(c),d=d&&!this.lib.scope.isPredictedResults(c,b);a.set("v.priv_topResultsView",d);a.set("v.priv_resultsView",
!d);(b=a.find("resultsRegion"))&&b.set("v.visible",!0);a.getEvent("resultsVisibilityChanged").fire({visible:!0})},isShowingResults:function(a){var b=a.find("resultsRegion");return a.get("v.priv_topResultsView")||a.get("v.priv_resultsView")||b&&b.get("v.visible")},acceptingAppEvents:function(a,b){var c=a.get("v.suppressApplicationEvents");if(!(void 0===c||!0===c)){if(b&&(c=b.getParam("scopeMap")||{},!this.lib.scope.scopeMapEmpty(c))){var d=(a.get("v.scopeMap")||{}).namespace,e=c.namespace;"conceptual"!==
c.namespace&&((d||e)&&d!==e)&&a.set("v.priv_active",!1)}return a.get("v.priv_active")}},getFullContext:function(a,b){var c=a.get("v.persistedContextParams")||{};b&&(c=c[b]);var d=a.get("v.context");return this.lib.util.mergeMaps(d,c)},notifyOnViewportEnter:function(a,b){var c=a.get("v.groupId");if(void 0!==c)if(this.lib.event.fireCustom(c,"forceSearch:search:STATE_CHANGE",{state:"ENTERED",page:a.getType(),cmpId:a.getGlobalId()}),b)a.get("v.priv_active")||a.set("v.priv_active",!0,!0);else{var d=a.get("v.term"),
e=a.get("v.priv_resolvedScope")||{},f=this.getFullContext(a,e.name);this.setBrowserTitle(a);this.updateSearchContext(a,e,f);this.lib.event.fireSetTerm(c,d);if(!a.get("v.priv_active")){a.set("v.priv_active",!0,!0);if(!d&&(c=a.get("v.priv_lastSearch"))&&c.params)d=c.params.term,a.set("v.term",d);var g=a.find("resultsRegionContainer"),h=a.find("scopesContainer"),c=$A.getCallback(function(){h&&h.update(this.lib.event.SET_SCOPE,d,e,f);g&&g.update(this.lib.event.SEARCH,d,e,f)}.bind(this));setTimeout(c,
10)}}},notifyOnViewportExit:function(a){this.handleExit(a)},displayResultsFilterIfNeeded:function(a){var b=a.get("v.scopeMap")||{},b=this.lib.ctx.isDesktop()&&this.lib.scope.fieldEmpty(b.namespace)&&!this.lib.scope.isTopResults(b);a.set("v.priv_enableResultsFilters",b);this.updateNavDisplay(a)}},renderer:{render:function(a,b){var c=a.superRender();b.checkContainerDisplay(a);b.focusResults(a);return c},rerender:function(a,b){a.superRerender();b.checkContainerDisplay(a);b.focusResults(a)},afterRender:function(a,
b){a.superAfterRender();b.setBrowserTitle(a)}}}});return {"xs":"I","descriptor":"markup://forceSearch:searchPageDesktop","st":{"descriptor":"css://forceSearch.searchPageDesktop","cl":"forceSearchSearchPageDesktop"},"cd":{"descriptor":"compound://forceSearch.searchPageDesktop","ac":[{"n":"getScopeHeaderActions","descriptor":"serviceComponent://ui.search.components.forcesearch.search.SearchController/ACTION$getScopeHeaderActions","at":"SERVER","rt":"java://java.util.List","pa":[{"name":"scopeName","type":"java://java.lang.String"}]},{"n":"getResolvedScopeMap","descriptor":"serviceComponent://ui.search.components.forcesearch.search.SearchController/ACTION$getResolvedScopeMap","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"scopeMap","type":"java://java.util.Map<java.lang.String,java.lang.String>"}]}]},"su":"markup://forceSearch:searchPage","ad":[["body","aura://Aura.Component[]","G",false,[]],["shouldFocus","aura://Boolean","I",false,false],["groupId","aura://String","I",true,"DEFAULT"],["updateChildren","aura://Boolean","I",true,true],["updateOnlyIfActive","aura://Boolean","I",true,true],["priv_valueProviderReady","aura://Boolean","I",false,false],["initialTerm","aura://String","I",false],["initialScopeMap","aura://Map","I",false,null],["initialContext","aura://Map","I",false,null],["inContextOfComponent","aura://String","I",false,"forceSearch:search"],["term","aura://String","I",true,""],["scopeMap","aura://Map","I",true,{}],["context","aura://Map","I",true,{}],["loggingContext","aura://Map","I",true,{}],["searchShowLauncher","aura://Boolean","I",false,true],["searchActive","aura://Boolean","I",false,false],["canRefresh","aura://Boolean","PP",false],["priv_active","aura://Boolean","I",false,true],["priv_resolvedScope","aura://Map","I",false,{}],["priv_lastSearch","aura://Object","I",false,"{}"],["priv_minTimeBeforeRefresh","aura://Integer","I",false,1000],["impl","aura://String","I",false],["scopeSets","aura://Map","I",false,{}],["useRibbon","aura://Boolean","I",false,false],["allowChatterResults","aura://Boolean","I",false,true],["globalPublisherContext","aura://Object","I",false,null],["token","aura://String","I",false],["parameters","aura://Object","I",false,null],["scrollerEnabled","aura://Boolean","I",false,true],["scrollerInfiniteLoading","aura://Boolean","I",false,true],["scrollerUseNativeScroller","aura://Boolean","I",false,true],["scrollerPreventNestedScroll","aura://Boolean","I",false,false],["scrollerUseCSSTransition","aura://Boolean","I",false,false],["scrollerClass","aura://String","I",false,""],["scrollerScroll","aura://String","I",false,""],["scrollerCanRefresh","aura://Boolean","I",false,false],["scrollerOverrides","aura://Map","I",false,{}],["windowViewMode","aura://String","I",false,"normal"],["ignoreExistingAction","aura://Boolean","I",false],["suppressApplicationEvents","aura://Boolean","I",false,false],["enableScroller","aura://Boolean","I",false,true],["enableNavigation","aura://Boolean","I",false,true],["class","aura://String","G",false],["enableRowActions","aura://Boolean","I",false,true],["persistedContextParams","aura://Map","I",false,{}],["resultsLayoutType","aura://String","I",false,"grid"],["scope","aura://String","I",false],["searchString","aura://String","I",false,""],["insideScroller","aura://Boolean","I",false,false],["priv_chatterMemberCountPreload","aura://String","I",false,{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:searchPageDesktop","path":"$Label.ChatterGroups.memberCount"}],["priv_focusResults","aura://Boolean","I",false,false],["priv_globalSearchMode","aura://Boolean","I",false,false],["priv_max_moreResultsAvailable","aura://Boolean","I",false,false],["priv_max_totalSize","aura://Integer","I",false,0],["priv_resultsView","aura://Boolean","I",false,false],["priv_searchInProgress","aura://Boolean","I",false,false],["priv_showScopeSelector","aura://Boolean","I",false,false],["priv_sortBy","aura://String","I",false,""],["priv_sortByLabel","aura://String","I",false,""],["priv_topResultsView","aura://Boolean","I",false,false],["priv_isConceptualSearch","aura://Boolean","I",false,false],["priv_initialScopeMap","aura://Map","I",false,null],["priv_enableResultsFilters","aura://Boolean","I",false,false],["priv_showResultsFilters","aura://Boolean","I",false,false],["priv_isNavExpanded","aura://Boolean","I",false,true],["priv_searchResultsContextMapPerEntity","aura://Map","I",false,{}]],"med":[{"name":"forceSearch:update","xs":"I","action":"{!c.update}","attributes":[["type","aura://String","I",false],["term","aura://String","I",false],["scopeMap","aura://Map","I",false,null],["context","aura://Map","I",false,null],["sourceId","aura://String","I",false]]},{"name":"force:reflow","xs":"I","action":"{!c.reflow}"},{"name":"forceSearch:search","xs":"I","action":"{!c.search}","attributes":[["term","aura://String","I",false],["scopeMap","aura://Map","I",false,"{}"],["scope","aura://String","I",false],["context","aura://Map","I",false,"{}"]]}],"i":["markup://force:layoutRegionTopEmbeddable","markup://force:hasGlobalPublisherContext","markup://force:handlesRouteChange","markup://force:fullViewportWidth","markup://forceSearch:hasGroupId","markup://forceSearch:resultsScrollerInterface","markup://force:window","markup://force:hasStorableSupport","markup://force:objectHomeRecordChangeEmitter"],"re":[{"ed":"markup://force:searchRequest","n":"searchRequest","xs":"I"},{"ed":"markup://ui:refresh","n":"refresh","xs":"I"},{"ed":"markup://ui:refresh","n":"routeChange","xs":"I"},{"ed":"markup://force:windowUpdate","n":"windowUpdate","xs":"I"},{"ed":"markup://ui:response","n":"loaded","xs":"I"},{"ed":"markup://ui:dataChanged","n":"resultsLoaded","xs":"I"},{"ed":"markup://forceSearch:resultsVisibilityChanged","n":"resultsVisibilityChanged","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.destroy"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"destroy"},{"ed":{"descriptor":"markup://force:searchRequest"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleSearchRequest"}},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleScopeChange"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.scope"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleRefresh"},"n":"refresh"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleRouteChange"},"n":"routeChange"},{"ed":{"descriptor":"markup://ui:load"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleResultsFilterLoaded"},"n":"resultsFilterLoaded"}],"ld":{"*":{"alias":"search-nav-container"},"scopes":{"alias":"search-scopes-container"}},"fa":[{"descriptor":"searchActive","value":true},{"descriptor":"searchShowLauncher","value":false},{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"navContainer","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"navContainer slds-is-relative slds-scrollable--y slds-p-vertical--x-small"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceSearch:groupContainer"},"localId":"scopesContainer","attributes":{"values":{"initialTerm":{"descriptor":"initialTerm","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.term"}},"initialScopeMap":{"descriptor":"initialScopeMap","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.scopeMap"}},"name":{"descriptor":"name","value":"forceSearch:search:scopes"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"scopesWrapper","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-nav-vertical slds-nav-vertical_shade","aria-label":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:searchPageDesktop","path":"$Label.LightningSearchUI.SearchResultsByObject"}}},"tag":{"descriptor":"tag","value":"nav"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceSearch:scopes"},"localId":"scopes","attributes":{"values":{"initialTerm":{"descriptor":"initialTerm","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.term"}},"fetchScopesOnInit":{"descriptor":"fetchScopesOnInit","value":false},"visible":{"descriptor":"visible","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return ((cmp.get(\"v.priv_globalSearchMode\")||cmp.get(\"v.priv_showScopeSelector\"))||(fn.eq(cmp.get(\"v.scopeMap.name\"),\"FeedPost\")&&!($A.get(\"$Browser.isDesktop\"))));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.priv_globalSearchMode"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.scopeMap.name"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"$Browser.isDesktop"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.priv_showScopeSelector"}],"byValue":false}},"enableMoreScopes":{"descriptor":"enableMoreScopes","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (!((cmp.get(\"v.scopeSets.DEFAULT\")&&(cmp.get(\"v.scopeSets.DEFAULT.length\")>0)))&&$A.get(\"$Browser.isDesktop\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"$Browser.isDesktop"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.scopeSets.DEFAULT"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.scopeSets.DEFAULT.length"}],"byValue":false}},"allowScopesReordering":{"descriptor":"allowScopesReordering","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.priv_searchInProgress\")?false:!(cmp.get(\"v.priv_isConceptualSearch\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.priv_searchInProgress"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.priv_isConceptualSearch"}],"byValue":false}},"initialScopeMap":{"descriptor":"initialScopeMap","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.scopeMap"}},"title":{"descriptor":"title","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:searchPageDesktop","path":"$Label.LightningSearchUI.SearchResults"}},"scopeSets":{"descriptor":"scopeSets","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:searchPageDesktop","path":"v.scopeSets"}},"useRibbon":{"descriptor":"useRibbon","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.useRibbon"}},"initialContext":{"descriptor":"initialContext","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.context"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceSearch:scopes"},"localId":"externalScopes","attributes":{"values":{"impl":{"descriptor":"impl","value":"runtime_search_federated:externalScopes"},"initialTerm":{"descriptor":"initialTerm","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.term"}},"visible":{"descriptor":"visible","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.priv_isNavExpanded\")&&((cmp.get(\"v.priv_globalSearchMode\")||cmp.get(\"v.priv_showScopeSelector\"))||(fn.eq(cmp.get(\"v.scopeMap.name\"),\"FeedPost\")&&!($A.get(\"$Browser.isDesktop\")))));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.priv_globalSearchMode"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.scopeMap.name"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.priv_isNavExpanded"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"$Browser.isDesktop"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.priv_showScopeSelector"}],"byValue":false}},"enableMoreScopes":{"descriptor":"enableMoreScopes","value":false},"initialScopeMap":{"descriptor":"initialScopeMap","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.scopeMap"}},"title":{"descriptor":"title","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:searchPageDesktop","path":"$Label.LightningSearchUI.ExternalResults"}},"useRibbon":{"descriptor":"useRibbon","value":false},"initialContext":{"descriptor":"initialContext","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.context"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.eq(cmp.get(\"v.scopeMap.namespace\"),cmp.get(\"undefined\"))||fn.eq(cmp.get(\"v.scopeMap.namespace\"),\"\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.scopeMap.namespace"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"undefined"}],"byValue":false}}}}}]}}}}]}}}}]},"initialContext":{"descriptor":"initialContext","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.context"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:button"},"attributes":{"values":{"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"c.toggleNavExpanded"}},"variant":{"descriptor":"variant","value":"base"},"label":{"descriptor":"label","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.priv_isNavExpanded\")?$A.get(\"$Label.LightningSearchUI.CollapseList\"):$A.get(\"$Label.LightningSearchUI.ExpandList\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"$Label.LightningSearchUI.CollapseList"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"$Label.LightningSearchUI.ExpandList"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.priv_isNavExpanded"}],"byValue":false}},"class":{"descriptor":"class","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.priv_showResultsFilters\")?\"navExpandToggle slds-text-link slds-size_1-of-1 slds-text-align_left slds-p-vertical_xx-small slds-m-left_xx-small\":\"slds-hide\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.priv_showResultsFilters"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.priv_showResultsFilters\")?\"filterSeparator slds-m-top_medium slds-m-horizontal_medium slds-m-bottom_small\":\"slds-hide\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.priv_showResultsFilters"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.priv_showResultsFilters\")?\"\":\"slds-hide\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.priv_showResultsFilters"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceSearch:groupContainer"},"localId":"filtersContainer","attributes":{"values":{"initialTerm":{"descriptor":"initialTerm","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.term"}},"initialScopeMap":{"descriptor":"initialScopeMap","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.scopeMap"}},"name":{"descriptor":"name","value":"forceSearch:search:filters"},"updateOnlyIfActive":{"descriptor":"updateOnlyIfActive","value":false},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceSearch:resultsFilters"},"localId":"resultsFilters","attributes":{"values":{"initialTerm":{"descriptor":"initialTerm","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.term"}},"initialScopeMap":{"descriptor":"initialScopeMap","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.scopeMap"}},"initialContext":{"descriptor":"initialContext","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.context"}}}}}]},"initialContext":{"descriptor":"initialContext","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.context"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.priv_enableResultsFilters"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.enableNavigation"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"content","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.priv_topResultsView\")?\"topResultsWrapper\":\"searchScrollerWrapper\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.priv_topResultsView"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-assistive-text"}},"tag":{"descriptor":"tag","value":"h1"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:label"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.scopeMap.labelPlural"}}}}}]},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:searchPageDesktop","path":"$Label.LightningSearchUI.ScopedResults"}}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:label"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:searchPageDesktop","path":"$Label.LightningSearchUI.ScopeRibbonTopResultsItem"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.priv_topResultsView"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"resultsWrapper","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"tabindex":"-1","class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(fn.add(\"resultsWrapper \",\"slds-template__content\"),\" slds-scrollable--y\");}","args":[],"byValue":true}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceSearch:groupContainer"},"localId":"resultsRegionContainer","attributes":{"values":{"initialTerm":{"descriptor":"initialTerm","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.term"}},"initialScopeMap":{"descriptor":"initialScopeMap","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.scopeMap"}},"name":{"descriptor":"name","value":"forceSearch:search:resultsRegion"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceSearch:resultsRegion"},"localId":"resultsRegion","attributes":{"values":{"scrollerPreventNestedScroll":{"descriptor":"scrollerPreventNestedScroll","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:searchPageDesktop","path":"v.scrollerPreventNestedScroll"}},"refreshed":{"descriptor":"refreshed","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"c.resultRefreshedHandler"}},"inContextOfComponent":{"descriptor":"inContextOfComponent","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.inContextOfComponent"}},"updateChildren":{"descriptor":"updateChildren","value":false},"ended":{"descriptor":"ended","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"c.resultEndedHandler"}},"enableRowActions":{"descriptor":"enableRowActions","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:searchPageDesktop","path":"v.enableRowActions"}},"updateOnlyIfActive":{"descriptor":"updateOnlyIfActive","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:searchPageDesktop","path":"$Browser.isDesktop"}},"failed":{"descriptor":"failed","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"c.resultFailedHandler"}}}}}]},"initialContext":{"descriptor":"initialContext","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPageDesktop","path":"v.context"}}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://force:staticGoogleMap",function(){/*$A.componentService.addComponentClass("markup://force:staticGoogleMap",function(){return{meta:{name:"force$staticGoogleMap","extends":"markup://aura:component",imports:{componentLib:"markup://force:componentLibrary"}},controller:{online:function(b,a){b.set("v.online",!0)}},helper:{setup:function(b){b.set("v.url","");b.set("v.online",$A.clientService.isConnected());b.get("v.state");var a=b.get("v.width"),f=b.get("v.height"),d=$A.util.getWindowSize(),c=$A.get("$Browser.formFactor"),g;g="devicePixelRatio"in
window&&1<Math.round(window.devicePixelRatio)?2:1;if(null==a||0==a)"PHONE"===c?a=30<d.width?d.width-30:300:"TABLET"===c?(a=d.width,768<a&&(a=768),a=Number(a/2).toFixed(),a=30<a?a-30:300):(a=$A.get("$Browser.isDesktop")?564:d.width,768<a&&(a=768),a=Number(a/2).toFixed(),a=30<a?a-30:360),b.set("v.width",a);if(null==f||0==f)f=Number(9*a/16).toFixed(),b.set("v.height",f);var d="",c=b.get("v.latitude"),e=b.get("v.longitude");if(null!=c&&-90<=c&&90>=c&&null!=e&&-180<=e&&180>=e)d+=c+","+e;else{c=$A.util.trim(b.get("v.street"));
if($A.util.isEmpty(c))return;d+=c;c=$A.util.trim(b.get("v.city"));if($A.util.isEmpty(c))return;d+=" "+c;e=!1;c=$A.util.trim(b.get("v.state"));$A.util.isEmpty(c)||(d+=" "+c,e=!0);c=$A.util.trim(b.get("v.postalCode"));$A.util.isEmpty(c)||(d+=" "+c,e=!0);c=$A.util.trim(b.get("v.country"));$A.util.isEmpty(c)||(d+=" "+c,e=!0);if(!e)return}c="zoom\x3d"+($A.get("$Browser.isDesktop")?14:b.get("v.zoom"));g="scale\x3d"+g;var e="maptype\x3d"+b.get("v.type"),h="format\x3d"+b.get("v.format"),a="size\x3d"+a+"x"+
f,f="center\x3d"+encodeURIComponent(d),d="markers\x3d"+encodeURIComponent("color:red|"+d),k="language\x3d"+$A.get("$Locale.language"),l=b.get("v.baseUrl"),m="canvas\x3d"+b.getGlobalId();b.set("v.url",l+"?"+f+"\x26"+c+"\x26"+g+"\x26"+e+"\x26"+h+"\x26"+a+"\x26"+d+"\x26"+k+"\x26src\x3daura\x26"+m)}},renderer:{render:function(b,a){a.setup(b);var f=b.superRender();a.componentLib.placeholders.insertDelayed(b,function(){var a=b.find("mapIframe").getElement();return a&&"true"!==a.loaded},b.find("placeholder"),
["map"]);return f}}}});return {"xs":"I","descriptor":"markup://force:staticGoogleMap","st":{"descriptor":"css://force.staticGoogleMap","cl":"forceStaticGoogleMap"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["mapAddressName","aura://String","I",false],["street","aura://String","I",false],["city","aura://String","I",false],["state","aura://String","I",false],["postalCode","aura://String","I",false],["country","aura://String","I",false],["latitude","aura://Decimal","I",false],["longitude","aura://Decimal","I",false],["width","aura://Integer","I",false],["height","aura://Integer","I",false],["scale","aura://Integer","I",false],["zoom","aura://Integer","I",false,15],["format","aura://String","I",false,"png"],["type","aura://String","I",false,"roadmap"],["baseUrl","aura://String","I",false,"/maps/SourceBuilder"],["url","aura://String","I",false],["online","aura://Boolean","I",false,true]],"hd":[{"ed":{"descriptor":"markup://aura:connectionResumed"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.online"}}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:renderIf"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"style":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(fn.add(fn.add(fn.add(\"width: \",cmp.get(\"v.width\")),\"px; height: \"),cmp.get(\"v.height\")),\"px;\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:staticGoogleMap","path":"v.width"},{"exprType":"PROPERTY","byValue":false,"target":"force:staticGoogleMap","path":"v.height"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"placeholder","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"mapPlaceholder"}},"tag":{"descriptor":"tag","value":"div"}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"mapIframe","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"scrolling":"no","src":{"exprType":"PROPERTY","byValue":false,"target":"force:staticGoogleMap","path":"v.url"},"tabIndex":"-1","width":{"exprType":"PROPERTY","byValue":false,"target":"force:staticGoogleMap","path":"v.width"},"id":{"exprType":"PROPERTY","byValue":false,"target":"force:staticGoogleMap","path":"globalId"},"title":{"exprType":"FUNCTION","code":"function(cmp,fn){return ((cmp.get(\"v.mapAddressName\")&&fn.ne(cmp.get(\"v.mapAddressName\"),\"\"))?fn.format($A.get(\"$Label.GoogleStaticMapLabels.MapFrame\"),cmp.get(\"v.mapAddressName\")):$A.get(\"$Label.GoogleStaticMapLabels.MapDefaultFrame\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:staticGoogleMap","path":"$Label.GoogleStaticMapLabels.MapFrame"},{"exprType":"PROPERTY","byValue":false,"target":"force:staticGoogleMap","path":"v.mapAddressName"},{"exprType":"PROPERTY","byValue":false,"target":"force:staticGoogleMap","path":"$Label.GoogleStaticMapLabels.MapDefaultFrame"}],"byValue":false},"height":{"exprType":"PROPERTY","byValue":false,"target":"force:staticGoogleMap","path":"v.height"}}},"tag":{"descriptor":"tag","value":"iframe"}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"overlay"}},"tag":{"descriptor":"tag","value":"div"}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.ne(cmp.get(\"v.url\"),\"\")&&cmp.get(\"v.online\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:staticGoogleMap","path":"v.url"},{"exprType":"PROPERTY","byValue":false,"target":"force:staticGoogleMap","path":"v.online"}],"byValue":false}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:typingIndicator",function(){/*$A.componentService.addComponentClass("markup://forceChatter:typingIndicator",function(){return{meta:{name:"forceChatter$typingIndicator","extends":"markup://aura:component",imports:{feedLib:"markup://forceChatter:feedLib"}},controller:{addTyper:function(b,f){if(b.isValid()&&b.getElement()){var d=b.get("v.countdown"),c=f.getParams().arguments.typerData,a=b.get("v.typers")||[],e=b.helper.findTyperIndex(b,c);$A.util.isUndefinedOrNull(e)?a.push(c):(c=a[e],clearTimeout(c.timeoutId));c.timeoutId=setTimeout($A.getCallback(function(){b.helper.removeTyper(b,
c)}),d);b.set("v.typers",a)}},removeTyper:function(b,f){if(b.isValid()&&b.getElement()){var d=f.getParams().arguments.typerData;b.helper.removeTyper(b,d)}},updateTypersString:function(b,f){var d=b.get("v.typers"),c="",a="",e=b.get("v.ownerOfPost");if(0===d.length)b.set("v.whoIsTypingAccessibility","");else{1===d.length?(c=$A.get("$Label.Feeds.1Typing"),a=$A.get("$Label.Feeds.1TypingAccessibility")):2===d.length?(c=$A.get("$Label.Feeds.2Typing"),a=$A.get("$Label.Feeds.2TypingAccessibility")):3===d.length?
(c=$A.get("$Label.Feeds.3Typing"),a=$A.get("$Label.Feeds.3TypingAccessibility")):4<=d.length&&(c=$A.get("$Label.Feeds.MultipleTyping"),a=$A.get("$Label.Feeds.MultipleTypingAccessibility").replace("{0}",e));if(3>=d.length){d=d.slice(0);d.push({userName:e});for(e=0;e<d.length;e++)c=c.replace("{"+e+"}",d[e].userName),a=a.replace("{"+e+"}",d[e].userName)}b.set("v.whoIsTyping",c);b.set("v.whoIsTypingAccessibility",a)}}},helper:{findTyperIndex:function(b,f){if(b.isValid()&&b.getElement()){for(var d=b.get("v.typers")||
[],c,a=0;a<d.length;a++)if(d[a].userId===f.userId){c=a;break}return c}},removeTyper:function(b,f){if(b.isValid()&&b.getElement()){var d=b.get("v.typers"),c=this.findTyperIndex(b,f);!$A.util.isUndefinedOrNull(c)&&0<=c&&(d.splice(c,1),b.set("v.typers",d))}}},renderer:{afterRender:function(b,f){var d=b.superAfterRender(),c=document.createElementNS("http://www.w3.org/2000/svg","svg");c.setAttribute("viewBox","0 0 16 16");c.setAttribute("class","caterpillar");var a=document.createElementNS("http://www.w3.org/2000/svg",
"circle");a.setAttribute("class","circle head");a.setAttribute("cx","2.3875");a.setAttribute("cy","50%");a.setAttribute("r","1.825");a.setAttribute("fill","#a6bac5");a.setAttribute("stroke","#a6bac5");a.setAttribute("stroke-width","1.125");c.appendChild(a);a=document.createElementNS("http://www.w3.org/2000/svg","circle");a.setAttribute("class","circle thorax");a.setAttribute("cx","50%");a.setAttribute("cy","50%");a.setAttribute("r","1.825");a.setAttribute("fill","#a6bac5");a.setAttribute("stroke",
"#a6bac5");a.setAttribute("stroke-width","1.125");c.appendChild(a);a=document.createElementNS("http://www.w3.org/2000/svg","circle");a.setAttribute("class","circle abdomen");a.setAttribute("cx","13.6125");a.setAttribute("cy","50%");a.setAttribute("r","1.825");a.setAttribute("fill","#a6bac5");a.setAttribute("stroke","#a6bac5");a.setAttribute("stroke-width","1.125");c.appendChild(a);a=document.createElement("span");a.setAttribute("class","svg-container");a.appendChild(c);c=b.getElement();$A.util.isObject(c)&&
c.insertBefore(a,c.firstChild);return d}}}});return {"xs":"I","descriptor":"markup://forceChatter:typingIndicator","st":{"descriptor":"css://forceChatter.typingIndicator","cl":"forceChatterTypingIndicator"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["typers","apex://Array","I",false,null],["countdown","aura://Integer","I",false,15000],["ownerOfPost","aura://String","I",true],["whoIsTyping","aura://String","I",false],["whoIsTypingAccessibility","aura://String","I",false]],"med":[{"name":"forceChatter:addTyper","xs":"I","action":"{!c.addTyper}","attributes":[["typerData","aura://Object","I",false,null]]},{"name":"forceChatter:removeTyper","xs":"I","action":"{!c.removeTyper}","attributes":[["typerData","aura://Object","I",false,null]]}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.updateTypersString"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.typers"},"n":"change"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"slds-text-color--weak\",((cmp.get(\"v.typers.length\")>0)?\"\":\" hidden\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:typingIndicator","path":"v.typers.length"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"p"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"whoIsTyping"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:typingIndicator","path":"v.whoIsTyping"}}}}}]}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"aria-live":"polite","class":"slds-assistive-text"}},"tag":{"descriptor":"tag","value":"p"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:typingIndicator","path":"v.whoIsTypingAccessibility"}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:filterInputPicklist",function(){/*$A.componentService.addComponentClass("markup://forceSearch:filterInputPicklist",function(){return{meta:{name:"forceSearch$filterInputPicklist","extends":"markup://forceSearch:filterInput"},controller:{handlePicklistChanged:function(a,b,c){b=b.getParam("value");void 0===b?c.clearFilter(a):c.applyFilter(a,[b])},focus:function(a,b,c){a.find("input").focus()}},helper:{clearInput:function(a){a.find("input").set("v.value","")}}}});return {"xs":"I","descriptor":"markup://forceSearch:filterInputPicklist","st":{"descriptor":"css://forceSearch.filterInputPicklist","cl":"forceSearchFilterInputPicklist"},"su":"markup://forceSearch:filterInput","ad":[["body","aura://Aura.Component[]","G",false,[]],["fieldName","aura://String","I",true],["fieldLabel","aura://String","I",true],["fieldType","aura://String","I",true],["objectApiName","aura://String","I",true],["fieldLevelHelp","aura://String","I",false,""],["options","aura://List","I",false,[]],["logicalOperator","aura://String","I",false,"AND"],["enableApplyButton","aura://Boolean","I",false,true],["priv_conditions","aura://List","I",false,[]]],"med":[{"name":"forceSearch:clearFilter","xs":"I"},{"name":"forceSearch:focus","xs":"I"}],"re":[{"ed":"markup://ui:dataChanged","n":"filterChanged","xs":"I"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:combobox","type":"module"},"localId":"input","attributes":{"values":{"name":{"descriptor":"name","value":"filterInputPicklist"},"options":{"descriptor":"options","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:filterInputPicklist","path":"v.options"}},"onchange":{"descriptor":"onchange","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:filterInputPicklist","path":"c.handlePicklistChanged"}},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:filterInputPicklist","path":"v.fieldLabel"}},"placeholder":{"descriptor":"placeholder","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:filterInputPicklist","path":"$Label.LightningSearchUI.PicklistChooseOption"}},"dropdownAlignment":{"descriptor":"dropdownAlignment","value":"auto"}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://runtime_sales_activities:taskDueDate",function(){/*$A.componentService.addComponentClass("markup://runtime_sales_activities:taskDueDate",function(){return{meta:{name:"runtime_sales_activities$taskDueDate","extends":"markup://ui:outputDate"},helper:{formatDate:function(a){var c=a.getSuper(),e=c.get("v.value"),d=c.find("span"),c=a.get("v.isAllDayEvent"),d=d?d.getElement():null,b="",l=a.get("v.useInlineTime");if(e){var m=a.get("v.usingTime"),h=new Date,g=h.getTimezoneOffset(),h=h.getTime(),e=$A.localizationService.parseDateTime(e,m?"YYYY-MM-DDTHH:mm:ss.SSSZ":
"YYYY-MM-DD"),k=$A.get("$Locale.timezone"),n=e.getTimezoneOffset(),n=new Date(e.getTime()+6E4*n),p=new Date(h+6E4*g),q=new Date(h+6E4*(g+1440)),g=new Date(h+6E4*(g-1440)),f;m?this.convertUTCDateToTimeZone(n,k,function(a){f=a}):f=e;this.convertUTCDateToTimeZone(p,k,function(a){nowInUserTimezone=a});this.convertUTCDateToTimeZone(q,k,function(a){tomorrowInUserTimezone=a});this.convertUTCDateToTimeZone(g,k,function(a){yesterdayInUserTimezone=a});a.isValid()&&(g=!1,h=a.get("v.enableOverdueStyle"),f&&(b=
$A.get("$Locale.dateFormat"),$A.localizationService.isSame(f,nowInUserTimezone,"day")?b=$A.get("$Label.Feeds.today"):$A.localizationService.isAfter(nowInUserTimezone,f,"day")&&$A.localizationService.isSame(f,yesterdayInUserTimezone,"day")?(g=!0,b=$A.get("$Label.Feeds.yesterday")):$A.localizationService.isBefore(nowInUserTimezone,f,"day")&&$A.localizationService.isSame(f,tomorrowInUserTimezone,"day")?b=$A.get("$Label.Feeds.tomorrow"):($A.localizationService.isAfter(nowInUserTimezone,f,"day")&&(g=!0),
$A.localizationService.isSame(f,nowInUserTimezone,"year")?a.set("v.format",this.removeYearFromDateFormat(b)):a.set("v.format",b),a=a.get("v.format"),b=$A.localizationService.formatDate(f,a)),a="",c?a=$A.get("$Label.udd_Activity.IsAllDayEvent"):m&&(c=$A.get("$Locale.timeFormat"),c=c.replace(":ss",""),a=$A.localizationService.formatDate(f,c)),a&&(b=l?"rtl"===$A.get("$Locale.dir")?b+" | "+a:a+" | "+b:'\x3cdiv class\x3d"date"\x3e'+b+'\x3c/div\x3e\x3cdiv class\x3d"time"\x3c/div\x3e'+a+"\x3c/div\x3e")),
d&&(g&&h?(b+='\x3cspan class\x3d"slds-assistive-text"\x3eOverdue\x3c/span\x3e',$A.util.addClass(d,"overdue")):$A.util.removeClass(d,"overdue"),d.innerHTML=b))}else b=a.get("v.usingTime")?$A.get("$Label.activityTimeline.noDateActivityLabel"):$A.get("$Label.activityTimeline.noDueDateActivityLabel"),$A.util.addClass(d,"noDate");d&&(d.innerHTML=b)},convertUTCDateToTimeZone:function(a,c,e){var d=null;$A.localizationService.UTCToWallTime(a,c,function(a){d=a;e&&e(a)});return d},removeYearFromDateFormat:function(a){var c=
a.toLowerCase(),e=c.indexOf("y"),c=c.lastIndexOf("y"),d=e,b=c;if(0<e)for(;0<=d&&-1<".-/, \u5e74\ub144".indexOf(a.charAt(d-1));)d--;if(c<a.length-1)for(;b<=a.length&&-1<".-/, \u5e74\ub144".indexOf(a.charAt(b+1));)b++;var l=a;return l=0<e&&c<a.length-1?a.substring(0,d+1)+a.substring(b+1):a.substring(0,d)+a.substring(b+1)},replaceAll:function(a,c,e){return a.replace(RegExp(c,"g"),e)}}}});return {"xs":"I","descriptor":"markup://runtime_sales_activities:taskDueDate","st":{"descriptor":"css://runtime_sales_activities.taskDueDate","cl":"runtime_sales_activitiesTaskDueDate"},"su":"markup://ui:outputDate","ad":[["body","aura://Aura.Component[]","G",false,[]],["format","aura://String","G",false],["langLocale","aura://String","G",false],["class","aura://String","G",false],["dir","aura://String","I",false,"ltr"],["namespaceOverride","aura://String","I",false],["actionable","aura://Boolean","I",false,true],["role","aura://String","I",false],["ariaDescribedBy","aura://String","PP",false,""],["value","aura://String","G",true],["visible","aura://Boolean","I",false,true],["timezone","aura://String","I",false,{"exprType":"PROPERTY","byValue":false,"target":"ui:outputDate","path":"$Locale.timezone"}],["enableOverdueStyle","aura://Boolean","I",false,true],["isAllDayEvent","aura://Boolean","I",false,false],["usingTime","aura://Boolean","I",false,false],["useInlineTime","aura://Boolean","I",false,false]],"re":[{"ed":"markup://ui:click","n":"click","xs":"G"},{"ed":"markup://ui:dblclick","n":"dblclick","xs":"G"},{"ed":"markup://ui:mousedown","n":"mousedown","xs":"G"},{"ed":"markup://ui:mousemove","n":"mousemove","xs":"G"},{"ed":"markup://ui:mouseout","n":"mouseout","xs":"G"},{"ed":"markup://ui:mouseover","n":"mouseover","xs":"G"},{"ed":"markup://ui:mouseup","n":"mouseup","xs":"G"}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:resultsTopResults",function(){/*$A.componentService.addComponentClass("markup://forceSearch:resultsTopResults",function(){return{meta:{name:"forceSearch$resultsTopResults","extends":"markup://forceSearch:resultsMultiScope",imports:{topResultsLib:"markup://forceSearch:resultsTopResultsLibrary",bestResultLib:"markup://forceSearch:bestResultLibrary",recordLayoutsCache:"markup://search_lightning:layoutStore"}},controller:{dataProviderOnChangeHandler:function(a,b,c){c.dataProviderOnChangeHandler(a,b.getParams().data)},recordLayoutDataProviderOnChangeHandler:function(a,
b,c){c.recordLayoutDataProviderOnChangeHandler(a,b)},pageLoadedChangeHandler:function(a,b,c){b.getParam("value")&&(c.prefetchRemainingBuckets(a),c.updateDisplay(a))},bestResultChangeHandler:function(a,b,c){a.get("v.priv_isEptRecorded")||c.lib.loggingCtx.updateStateLoggingContext(a,{"ept.eptSummary.bestResultRequestId":b.getParam("apiRequestId"),"ept.eptSummary.bestResultFound":!$A.util.isEmpty(b.getParam("record"))})},render:function(a,b,c){a.get("v.priv_checkViewport")&&(a.set("v.priv_checkViewport",
!1),c.isViewportFilled(a)?(a.set("v.priv_isViewportFilled",!0),a.set("v.priv_fillingViewport",!1),c.updateViewportSummary(a),a.get("v.priv_isPrefetchDone")&&c.endPostEptTransaction(a)):a.get("v.priv_numBucketsProcessed")>=a.get("v.priv_scopeMaps").length?c.endPostEptTransaction(a):(a.set("v.priv_fillingViewport",!0),b=a.get("v.priv_currentDisplayIndex")+1,a.set("v.priv_endDisplayIndex",b),b=c.getPostEpt(a).fillViewportSummary,$A.util.isEmpty(b.startTime)&&c.lib.loggingCtx.updateStateLoggingContext(a,
{"postEpt.fillViewportSummary.startTime":Date.now(),"postEpt.fillViewportSummary.bucketStartIdx":a.get("v.priv_numBucketsProcessed"),"postEpt.fillViewportSummary.displayedBucketCount":0})),c.updateDisplay(a))},handleObjectInfos:function(a,b,c){b=b.getParam("objectInfos");c.applyObjectInfos(a,b)}},helper:{initPost:function(a){this.refresh(a);this.triggerInitialized(a)},createResultsComponentBucket:function(a,b,c,d){var e=this.getResultsByScopeMap(a,b);e.searchMetadata&&e.searchMetadata.displayType===
this.topResultsLib.constants.DISPLAY_TYPE.LWC?this.createResultsLWCBucket(a,b,c):this.createResultsAuraBucket(a,b,c,d)},createResultsLWCBucket:function(a,b,c){$A.createComponent("forceSearch:resultsGridLWC",{inMultiScope:!0,pageSize:a.get("v.pageSize"),scopeMap:b,results:this.getResultsByScopeMap(a,b),objectInfos:a.get("v.priv_objectInfos")},$A.getCallback(function(d,e,f){a.isValid()&&"SUCCESS"===e?c.set("v.body",d):this.logCreateResultsComponentError(f,e,b,null,resultsCmp)}.bind(this)))},refresh:function(a){var b=
a.get("state.term"),c=a.get("v.topResultsData"),d=Date.now();this.resetLoggingContext(a,{startTime:d,xhrs:[],buckets:[],queryIds:[],bucketsRenderedWithLWC:[],earlyLayoutsFetchingInfo:null,ept:{refreshId:d,eptSummary:{}},postEpt:{refreshId:d,prefetchSummary:{},fillViewportSummary:{}},postScroll:{refreshId:d,postScrollSummary:{}}});this.lib.logging.logPerf(a,this.getTopResultsAiltnEptName(a),"START");a.set("v.priv_refreshId",d);this.resetTopResults(a);$A.util.isEmpty(c)?this.lib.util.isValidSearchString(b)?
(a.set("v.searchInProgress",!0),this.fetchQnaResult(a),this.fetchBestResult(a),this.fetchResults(a,{remainingScopes:[],refreshId:d})):this.showNoResultsCmp(a,"QUERY_TOO_SHORT"):(a.set("state.loggingContext.startTime",c.startTime),a.set("v.priv_xhrStartTime",Date.now()),c.refreshId=a.get("v.priv_refreshId"),this.fetchQnaResult(a),this.fetchBestResult(a),this.dataProviderOnChangeHandler(a,c))},resetTopResults:function(a){this.reset(a);a.set("v.priv_scopeMaps",[]);a.set("v.priv_scopedResponsesMap",{});
a.set("v.priv_numBucketsProcessed",0);a.set("v.priv_xhrResponse",{});a.set("v.priv_displayableBuckets",[]);a.set("v.priv_checkViewport",!1);a.set("v.priv_fillingViewport",!1);a.set("v.priv_currentDisplayIndex",0);a.set("v.priv_entityPredictionEventFired",!1);a.set("v.priv_alreadyRenderedMap",{});a.set("v.priv_endDisplayIndex",this.topResultsLib.constants.NUM_BUCKETS_FOR_EPT);a.set("v.priv_endFetchIndex",this.topResultsLib.constants.NUM_BUCKETS_FOR_EPT);a.set("v.priv_entityPredictionRequestId",null);
a.set("v.priv_isPrefetchDone",!1);a.set("v.priv_isViewportFilled",!1);a.set("v.priv_isEptRecorded",!1);a.set("v.priv_isSearchMoreMessageActive",!$A.get("$Browser.S1Features.isSearchFeedbackComponentEnabled"))},prefetchRemainingBuckets:function(a){var b=a.get("v.priv_xhrResponse");if($A.util.isEmpty(b)||$A.util.isEmpty(b.remainingScopes)||b.hasError)return!1;this.lib.logging.logPerf(a,this.topResultsLib.constants.AILTN.TOP_RESULTS_EPT_POST,"START");a.set("state.loggingContext.postEpt.prefetchSummary.startTime",
Date.now());a.set("v.priv_endFetchIndex",a.get("v.priv_scopeMaps").length);this.fetchResults(a,b);return!0},fetchQnaResult:function(a){var b=a.get("v.priv_qnaCmp");if(this.lib.config.isEinsteinSearchAnswersEnabled()&&!b){var b=this.lib.loggingUtils.getLogInfo(a),c=$A.get("$Browser.S1Features.isEinsteinSearchAnswersGPTEnabled")?"GENERATED":"EXTRACTED";$A.createComponent("search_results:qnaAuraAdapter",{query:a.get("state.term"),loggingContext:b,searchAnswerType:c},function(b,c){"SUCCESS"===c&&(a&&
a.isValid())&&a.set("v.priv_qnaCmp",b)})}},fetchBestResult:function(a){var b=a.get("v.bestResultCmp"),c=this.bestResultLib.utils.isBestResultEnabled(),d=a.get("v.priv_bestResultCmp");a.get("v.withBestResult")&&c&&(a.set("state.loggingContext.ept.eptSummary.bestResultEnabled",c),$A.util.isEmpty(b)?this.bestResultLib.utils.loadBestResult({"aura:id":"bestResult",initialTerm:a.get("state.term"),initialScopeMap:a.get("state.scopeMap"),initialContext:a.get("state.context")},d).then($A.getCallback(function(b){d||
a.set("v.priv_bestResultCmp",b)})):d||a.set("v.priv_bestResultCmp",b[0]))},fetchResults:function(a,b,c){var d=b.refreshId;d===a.get("v.priv_refreshId")&&(c=c||this.topResultsLib.constants.DEFAULT_BATCHING_NUM_BUCKETS,a.set("v.priv_xhrStartTime",Date.now()),b=b.remainingScopes,a=a.get("v.dataProvider")[0],a.set("v.scopeNames",b),a.set("v.withEntityPrediction",0===b.length),a.set("v.refreshId",d),a.set("v.batchSize",c),a.set("v.batchingTimeout",this.topResultsLib.constants.DEFAULT_BATCHING_TIMEOUT),
a.set("v.doBackgroundAction",this.bestResultLib.utils.isBestResultEnabled()),a.get("e.provide").fire())},getNumDisplayableBucketsWithResults:function(a){var b=0,c=a.get("v.priv_displayableBuckets"),d=a.get("v.priv_scopedResponsesMap");a=a.get("v.priv_scopeMaps");for(var e=0;e<c.length;e+=1)0<d[a[c[e]].name].totalSize&&(b+=1);return b},handleResultCmpCreated:function(a,b){if(a&&b&&a.isValid()&&b.isValid()){var c=a.get("v.priv_scopedResponsesMap"),d=b.get("v.scopeMap");b.showResults(c[d.name])}},handleResultsBucketRefreshed:function(a,
b){var c=b.getParam("data"),d=a.get("v.priv_scopedResponsesMap"),e=!1,f;if(a.isValid()&&d&&(d=d[c.scopeMap.name])){f=d.clientLogInfo.bucketIdx;d.clientLogInfo.fetchRecordLayoutTime=c.fetchRecordLayoutTime||0;this.displayResultsBucket(a,f,c);this.handleResultsBucketProcessed(a,d);this.lib.logging.logPerf(a,"showResultsSection"+(f+1),"MARKEND");c=a.get("v.priv_numBucketsDisplayedWithResults");if(c===this.topResultsLib.constants.NUM_BUCKETS_FOR_EPT&&!a.get("v.priv_isEptRecorded")){this.endEptTransaction(a);
a.get("v.pageLoaded")&&(e=this.prefetchRemainingBuckets(a));var h=this;setTimeout($A.getCallback(function(){h.fireEntityPredictedOrder(a,!e,!0)}))}else d.hasError&&c<this.topResultsLib.constants.NUM_BUCKETS_FOR_EPT&&(d=a.get("v.priv_endDisplayIndex"),a.set("v.priv_endDisplayIndex",d+1));c>=this.topResultsLib.constants.NUM_BUCKETS_FOR_EPT&&!a.get("v.priv_isViewportFilled")?a.set("v.priv_checkViewport",!0):this.updateDisplay(a)}},sendResultCountsToLeftNav:function(a){this.fireSearchResults(a,a.get("v.priv_scopedResponsesMap"))},
fireEntityPredictedOrder:function(a,b,c){if(!a.get("v.priv_entityPredictionEventFired")||b){var d=a.get("v.priv_scopeMaps"),e=a.get("v.priv_scopedResponsesMap"),f=a.get("v.priv_xhrResponse");f&&!$A.util.isEmpty(f)&&(c&&this.lib.logging.logPerf(a,"scopesPanel-scopeItemsReorderingOn","START"),this.fireCustom(a,"forceSearch:scopes:ENTITY_PREDICTED_ORDER",{scopeMaps:d,scopedResponsesMap:e,targetedScopeSetType:this.lib.scope.SCOPE_SET_TYPE.PRIMARY,completeRendering:!!b,singleResponse:!!f.withSingleSOSL,
hasExternalScope:this.lib.scope.hasExternalScopeMap(d),hasError:!!f.hasError}),a.set("v.priv_entityPredictionEventFired",!0),this.sendResultCountsToLeftNav(a),b&&this.lib.logging.logPerf(a,"scopesPanel-scopeItemsReorderingOn","END"))}},onScrollMoveHandler:function(a){if(a.get("v.priv_isViewportFilled")){var b=a.get("v.priv_scopeMaps").length;a.get("v.priv_endDisplayIndex")>=b||(this.lib.logging.logPerf(a,this.topResultsLib.constants.AILTN.TOP_RESULTS_POST_SCROLL,"START"),this.lib.loggingCtx.updateStateLoggingContext(a,
{"postScroll.postScrollSummary.startTime":Date.now(),"postScroll.postScrollSummary.displayedBucketCount":0}),a.set("v.priv_endDisplayIndex",b),this.updateDisplay(a))}},isViewportFilled:function(a){var b=a.getSuper();a=b.find("resultsContainer");b=b.find("scroller");return a&&a.getElement()&&b&&b.getElement()?a.getElement().clientHeight>b.getElement().clientHeight:!1},updateViewportSummary:function(a){var b=this.getPostEpt(a).fillViewportSummary;if(!$A.util.isEmpty(b)){var c=a.get("v.priv_numBucketsProcessed"),
d=this.getEpt(a).eptSummary.displayedBucketCount,b=this.lib.cache.setValues(b,{totalDisplayedBucketCount:d+b.displayedBucketCount,numBucketsProcessed:c-b.bucketStartIdx});this.updateSummaryWithTotalTimeAndStartTime(a,b);this.lib.loggingCtx.updateStateLoggingContext(a,{"postEpt.fillViewportSummary":b,postScrollBucketsStartIdx:c})}},handleResultsBucketProcessed:function(a,b){this.updateBucketWithClientLogInfo(a,b.clientLogInfo);var c=a.get("v.priv_numBucketsProcessed")+1;a.set("v.priv_numBucketsProcessed",
c);if(b.totalSize||b.hasError){var c=this.getPostEpt(a).fillViewportSummary,d=this.getPostScroll(a).postScrollSummary,e={};a.get("v.priv_fillingViewport")&&!$A.util.isEmpty(c)&&(e["postEpt.fillViewportSummary.displayedBucketCount"]=++c.displayedBucketCount);d.startTime&&(e["postScroll.postScrollSummary.displayedBucketCount"]=++d.displayedBucketCount);this.lib.loggingCtx.updateStateLoggingContext(a,e)}},handleResultsLoaded:function(a){a.get("v.priv_numBucketsDisplayedWithResults")<this.topResultsLib.constants.NUM_BUCKETS_FOR_EPT&&
this.endEptTransaction(a);this.fireEntityPredictedOrder(a,!0,!0);this.getPostScroll(a).postScrollSummary.startTime&&this.endPostScrollTransaction(a)},dataProviderOnChangeHandler:function(a,b){b.startTime=a.get("v.priv_xhrStartTime");if(b.refreshId===a.get("v.priv_refreshId")){var c=a.get("v.priv_scopeMaps");a.set("v.priv_xhrResponse",b,!0);$A.util.isEmpty(c)&&this.initScopeMaps(a,b);if(b.hasError||0===b.numBucketsWithResults)c=this.getQueryIds(a).concat(b.queryIds||[]),a.set("state.loggingContext.queryIds",
c);if(b.hasError)this.finishSearching(a,!0);else{0<b.remainingScopes.length&&(a.get("v.priv_isEptRecorded")?this.fetchResults(a,b,this.topResultsLib.constants.DEFAULT_BATCHING_NUM_BUCKETS):(c=this.getNumDisplayableBucketsWithResults(a)+b.numBucketsWithResults,c<this.topResultsLib.constants.NUM_BUCKETS_FOR_EPT&&this.fetchResults(a,b,this.topResultsLib.constants.NUM_BUCKETS_FOR_EPT-c)));a.set("v.priv_entityPredictionEventFired",!1);var d=this;setTimeout($A.getCallback(function(){d.processXhrResponse(a,
b)}))}}},updateDisplay:function(a){if(!this.shouldPreventUpdateCycle(a)){var b=a.get("v.priv_currentDisplayIndex"),c=a.get("v.priv_endDisplayIndex"),d=a.get("v.priv_displayableBuckets"),c=Math.min(c,d.length);if(b<c)for(var e=a.get("v.priv_scopedResponsesMap"),f=0,h=a.get("v.priv_alreadyRenderedMap"),g=a.get("v.priv_scopeMaps"),l=b;l<c;l+=1){var k=d[l];if(!h[k]&&(e[g[k].name].clientLogInfo.displayTimeStart=Date.now(),h[k]=!0,this.createResults(a,k),f+=1,a.set("v.priv_currentDisplayIndex",b+f,!0),
f===this.topResultsLib.constants.DEFAULT_BATCH_RENDERING_NUM_BUCKETS))break}}},shouldPreventUpdateCycle:function(a){if(!a.get("v.searchInProgress"))return!0;var b=a.get("v.priv_scopeMaps"),c=0===b.length,b=a.get("v.priv_numBucketsProcessed")>=b.length;if(c||b)return this.finishSearching(a),!0;if(a.get("v.priv_numBucketsDisplayedWithResults")>=this.topResultsLib.constants.NUM_BUCKETS_FOR_EPT&&!a.get("v.pageLoaded"))return!0;c=a.get("v.priv_numBucketsDisplayed");a=a.get("v.priv_currentDisplayIndex");
return c<a?!0:!1},updateObjectApiNames:function(a){var b=a.get("v.priv_objectApiNames")||[],c=a.get("v.priv_scopedResponsesMap")||{};a.set("v.priv_objectApiNames",this.calculateObjectApiNames(a,c,b))},calculateObjectApiNames:function(a,b,c){var d=[];$A.util.forEach(Object.keys(b),function(a){var c=b[a]||{result:[],searchMetadata:{displayType:this.topResultsLib.constants.DISPLAY_TYPE.AURA,relatedEntities:[]}},h=c.searchMetadata&&c.searchMetadata.relatedEntities||[];if(c.searchMetadata&&c.searchMetadata.displayType===
this.topResultsLib.constants.DISPLAY_TYPE.LWC&&(0<c.totalSize||c.hasError))d=d.concat(a,h)}.bind(this));c=c.concat(d);return c=c.filter(function(a,b,c){return c.indexOf(a)===b})},applyObjectInfos:function(a,b){a.set("v.priv_objectInfos",b);var c=this.getResultsItems(a,"resultsItemWrapper")||[];$A.util.forEach(c,function(a){a=a.get("v.body");(a=$A.util.isArray(a)?a[0]:a)&&"forceSearch:resultsGridLWC"===a.getType()&&a.set("v.objectInfos",b)})},getResultsByScopeMap:function(a,b){return a.get("v.priv_scopedResponsesMap")[b.name]||
{}},processXhrResponse:function(a,b){if(a&&a.isValid()&&b.refreshId===a.get("v.priv_refreshId")){var c=this.getEntityPredictionRequestId(a,b),d=b.results;if(0<d.length){var e,f=a.get("v.priv_scopeMaps"),h=this.getBucketIdx(f,d[0].scopeMap),g,l=a.get("v.priv_scopedResponsesMap");$A.util.isEmpty(a.get("v.topResultsData"))&&(e=this.topResultsLib.layouts.fetchLayouts(this.recordLayoutsCache,this.getRecordLayoutDataProvider(a),b),a.set("v.entitiesToDisplay",e));for(e=0;e<d.length;e+=1){g=h+e;var k=d[e],
m=k.scopeMap;l[m.name]=k;(!b.withSingleSOSL||f[g]&&!f[g].id)&&this.copyScopeMap(m,f[g]);this.processResultsBucket(a,k,g,c)}a.set("v.priv_scopedResponsesMap",l);this.updateObjectApiNames(a)}this.addXhrToLoggingContext(a,b);0===b.remainingScopes.length&&(a.set("v.priv_isPrefetchDone",!0),a.get("v.priv_isViewportFilled")&&this.endPostEptTransaction(a),this.showSpellCorrectionMessage(a,!0,!0));a.get("v.priv_isEptRecorded")&&this.fireEntityPredictedOrder(a,!0);this.updateDisplay(a)}},initScopeMaps:function(a,
b){var c=b.results,d=c.length,e=b.remainingScopes,f=e.length,h=[],g;for(g=0;g<d;g+=1)h.push(c[g].scopeMap);for(g=0;g<f;g+=1)h.push({name:e[g]});a.set("v.priv_scopeMaps",h);return h},processResultsBucket:function(a,b,c,d){b.clientLogInfo={bucketIdx:c,displayTimeStart:null};this.addBucketToLoggingContext(a,b);0<b.totalSize||b.hasError?(d&&this.setScopedResponseEntityPredictionInfo(b,d),d=a.get("v.priv_displayableBuckets"),d.push(c),b.clientLogInfo.bucketRank=d.length,this.updateSpellCorrection(a,b)):
this.handleResultsBucketProcessed(a,b)},getEntityBucketRank:function(a,b){return a.get("v.priv_scopedResponsesMap")[b.name].clientLogInfo.bucketRank},getEntityPredictionRequestId:function(a,b){var c;(c=b.entityPredictionInfo)&&c.requestId?(c=c.requestId,a.set("v.priv_entityPredictionRequestId",c)):c=a.get("v.priv_entityPredictionRequestId");return c},setScopedResponseEntityPredictionInfo:function(a,b){var c=a.searchLogInfo;c&&(c.entityPredictionRequestId=b)},getBucketIdx:function(a,b){var c=-1;if(!a||
!b)return c;for(var d=0;d<a.length;d+=1)if(a[d].name===b.name){c=d;break}return c},getScopeNames:function(a){var b=[];if(!a)return b;for(var c=0,d=a.length;c<d;c+=1)b.push(a[c].name);return b},copyScopeMap:function(a,b){for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c])},addXhrToLoggingContext:function(a,b){var c=a.get("state.loggingContext"),d={},e=b.times||[],f=b.startTime;delete b.startTime;e&&0<e.length&&(d.xhrTime=this.getXhrDuration(e),d.serverTime=this.getServerTime(e));e=e.concat(this.getScopedTimes(b.results));
d.startTime=f-c.startTime;d.networkTime=d.xhrTime-d.serverTime;d.times=e.join("|");d.numBucketsRequested=b.numBucketsRequested;d.numBucketsProcessed=b.numBucketsProcessed;d.numBucketsWithResults=b.numBucketsWithResults;d.numBucketsWithErrors=b.numBucketsWithErrors;d.batchingTotalTime=b.batchingTotalTime;d.batchingTimeoutValue=b.batchingTimeoutValue;d.batchingTimeoutReached=b.batchingTimeoutReached;d.withSingleSOSL=b.withSingleSOSL;d.hasDeprioritizedScopes=b.hasDeprioritizedScopes;a.set("state.loggingContext.xhrs."+
this.getXhrs(a).length,d)},addBucketToLoggingContext:function(a,b){var c=this.getBucketLogInfo(a,b);c.times=b.times.join("|");c.hasError=b.hasError;c.bucketIdx=b.clientLogInfo.bucketIdx;a.set("state.loggingContext.buckets."+this.getBuckets(a).length,c);this.addQueryIdToContext(a,b.searchLogInfo)},updateBucketWithClientLogInfo:function(a,b){if(!$A.util.isEmpty(b)){var c=this.getBuckets(a),d=b.bucketIdx;c.length<=b.bucketIdx||(c=this.lib.cache.setValues(c[d],{displayTime:this.getDisplayTime(b),fetchRecordLayoutTime:b.fetchRecordLayoutTime||
0}),$A.util.isEmpty(b.bucketRank)||(c.bucketRank=b.bucketRank),a.set("state.loggingContext.buckets."+d,c))}},getDisplayTime:function(a){a=a.displayTimeStart;return $A.util.isEmpty(a)?0:Date.now()-a},addQueryIdToContext:function(a,b){var c=b?b.queryId:null;if(c){var d=this.getQueryIds(a).slice();d.push(c);a.set("state.loggingContext.queryIds",d)}},endEptTransaction:function(a){var b=a.get("state.loggingContext"),c=Date.now()-b.startTime,d=this.getBuckets(a).slice(0),b=this.lib.cache.setValues(this.getEpt(a),
{buckets:d,xhrs:this.getXhrs(a).slice(0),bucketsRenderedWithLWC:b.bucketsRenderedWithLWC,earlyLayoutsFetchingInfo:b.earlyLayoutsFetchingInfo||this.getEarlyLayoutsFetchingInfo(d)}),b=this.lib.cache.setValues(b,{"eptSummary.displayedBucketCount":a.get("v.priv_numBucketsDisplayed"),"eptSummary.totalTime":c}),d=b.eptSummary;this.updateSummaryWithXhrs(d,b.xhrs);this.updateSummaryWithBuckets(d,b.buckets);1===d.xhrCount&&(d.displayTime=c-d.xhrTime);b.buckets.length===a.get("v.priv_scopeMaps").length&&this.logResultsLoaded(a);
b.serverTimeDetails=this.extractServerTimeBreakdownFromSingleLine(this.getXhrs(a));a.set("state.loggingContext.ept",b);this.lib.logging.logPerf(a,this.getTopResultsAiltnEptName(a),"END",b,void 0,this.postProcessWhenCloseAiltnShowResultsTopResults.bind(this));this.lib.logging.logPerf(a,this.topResultsLib.constants.AILTN.TOP_RESULTS_EPT_E2E,"END",b);a.set("v.priv_isEptRecorded",!0);a.getEvent("topResultsEPTRecorded").fire()},postProcessWhenCloseAiltnShowResultsTopResults:function(a){try{var b=a&&a.context&&
a.context.attributes||{},c=b.buckets||[],d=(a&&a.marks&&a.marks.custom||[]).filter(function(a){return"forceSearch:resultsTopResults"===a.owner&&0===a.name.indexOf("performance:search-showResultsSection")}),e=$A.util.map(d,function(a){var b=a.duration;a=parseInt(a.name.split("performance:search-showResultsSection")[1],0)-1;var d=c[a]||{};return{bucketIndex:a,entityName:d.scopeName,keyPrefix:d.keyPrefix,gridRenderedWithLWC:d.gridRenderedWithLWC,numResults:d.numResults,duration:b}}),e=e.sort(function(a,
b){return a.bucketIndex<b.bucketIndex?-1:1});b.uiApiObjectInfosCalled=!1;b.showResultsSections=$A.util.map(e,function(a,b){return $A.util.apply({index:b},a)});if(this.lib.config.isConfigEnabled(this.lib.config.FEATURE.LWC_KEYWORD_PERF_OPTIMIZATION_ENABLED)){var f=$A.util.filter(a&&a.marks&&a.marks.actions||[],function(a){return"aura://RecordUiController/ACTION$getObjectInfos"===((a.context||{}).def||"")});$A.util.isEmpty(f)||(b.uiApiObjectInfosCalled=!0)}}catch(h){}return a},extractServerTimeBreakdownFromSingleLine:function(a){return a.map(function(a){return!!a&&
a.times}).filter(function(a){return"string"===typeof a}).map(function(a){return a.split("|")}).reduce(function(a,c){return a.concat(c)},[]).map(function(a){return a.split(":")}).filter(function(a){return 2===a.length&&0<=+a[1]}).reduce(function(a,c){a[c[0].replace(/[.()]/g,"_")]=c[1];return a},{})},endPostEptTransaction:function(a){var b=this.getPostEpt(a),c=this.getEpt(a),d=c.eptSummary.numBucketsProcessed,b=this.lib.cache.setValues(b,{buckets:this.getBuckets(a).slice(d)});b.xhrs=this.getXhrs(a).slice(c.xhrs.length);
b.prefetchSummary=this.lib.util.mergeMaps({},b.prefetchSummary);this.updateSummaryWithXhrs(b.prefetchSummary,b.xhrs);this.updateSummaryWithBuckets(b.prefetchSummary,b.buckets);this.updateSummaryWithTotalTimeAndStartTime(a,b.prefetchSummary);this.lib.loggingCtx.updateStateLoggingContext(a,{postEpt:b,postScrollBucketsStartIdx:a.get("state.loggingContext").postScrollBucketsStartIdx||d});this.logResultsLoaded(a);this.lib.logging.logPerf(a,this.topResultsLib.constants.AILTN.TOP_RESULTS_EPT_POST,"END",
b)},endPostScrollTransaction:function(a){var b=a.get("state.loggingContext").postScrollBucketsStartIdx,c=this.getPostScroll(a);if(!$A.util.isUndefinedOrNull(b)){var d=this.getBuckets(a),e=this.lib.cache.setValues(c.postScrollSummary,{totalDisplayedBucketCount:a.get("v.priv_displayableBuckets").length,numBucketsProcessed:d.length-b});this.updateSummaryWithTotalTimeAndStartTime(a,e);this.lib.loggingCtx.updateStateLoggingContext(a,{"postScroll.postScrollSummary":e,"postScroll.buckets":d.slice(b,d.length)})}this.lib.logging.logPerf(a,
this.topResultsLib.constants.AILTN.TOP_RESULTS_POST_SCROLL,"END",c)},updateSummaryWithXhrs:function(a,b){var c=b.length;a.xhrCount=c;a.xhrTime=0;a.serverTime=0;a.networkTime=0;a.numBucketsRequested=null;a.numBucketsProcessed=0;a.numBucketsWithResults=0;a.numBucketsWithErrors=0;a.withSingleSOSL=!1;a.hasDeprioritizedScopes=!1;0<c&&b[0].hasDeprioritizedScopes&&(a.hasDeprioritizedScopes=b[0].hasDeprioritizedScopes);0<c&&b[0].withSingleSOSL?a.withSingleSOSL=!0:(a.batchingTotalTime=0,a.batchingTimeoutReached=
!1,a.batchingTimeoutValue=null);for(var d=0;d<c;d+=1){var e=b[d];a.xhrTime+=e.xhrTime;a.serverTime+=e.serverTime;a.networkTime+=e.networkTime;a.numBucketsProcessed+=e.numBucketsProcessed;a.numBucketsWithResults+=e.numBucketsWithResults;a.numBucketsWithErrors+=e.numBucketsWithErrors;a.numBucketsRequested=null===a.numBucketsRequested?e.numBucketsRequested:a.numBucketsRequested+";"+e.numBucketsRequested;a.withSingleSOSL||(a.batchingTimeoutReached|=e.batchingTimeoutReached,a.batchingTotalTime+=e.batchingTotalTime,
a.batchingTimeoutValue=e.batchingTimeoutValue)}},updateSummaryWithBuckets:function(a,b){for(var c=b.length,d=a.buildRecordLayoutsTime=0;d<c;d+=1){var e=b[d];e.times&&(e=e.times.split("|"),e=this.getBuildRecordLayoutsTime(e),0<e&&(a.buildRecordLayoutsTime+=e))}},updateSummaryWithTotalTimeAndStartTime:function(a,b){b.totalTime=Date.now()-b.startTime;b.startTime-=a.get("state.loggingContext.startTime")},_TASK_TIME_DELIMITER:":",getTaskName:function(a){return a.split(this._TASK_TIME_DELIMITER)[0]},getTaskTime:function(a){return parseInt(a.split(this._TASK_TIME_DELIMITER)[1])},
getBuildRecordLayoutsTime:function(a){if(a&&0<a.length)for(var b=0;b<a.length;b++)if("RCC.buildRecordLayout()"===this.getTaskName(a[b]))return this.getTaskTime(a[b]);return 0},getXhrDuration:function(a){return a&&0<a.length&&(a=a[a.length-1],"XHR.duration"===this.getTaskName(a))?this.getTaskTime(a):0},getServerTime:function(a){if(a&&0<a.length)for(var b=0;b<a.length;b++)if("TRDP.getItems()"===this.getTaskName(a[b]))return this.getTaskTime(a[b]);return 0},getScopedTimes:function(a){for(var b={},c=
0;c<a.length;c++)for(var d=a[c].times||[],e=0;e<d.length;e++){var f=d[e],h=this.getTaskName(f);b[h]=b[h]||0;b[h]+=this.getTaskTime(f)}return Object.keys(b).map(function(a){return a+this._TASK_TIME_DELIMITER+b[a]}.bind(this))},triggerInitialized:function(a){a.getEvent("topResultsInitialized").fire()},getTopResultsAiltnEptName:function(a){a=a.get("v.topResultsData");return!$A.util.isEmpty(a)?this.topResultsLib.constants.AILTN.TOP_RESULTS_EPT_NO_FETCH:this.topResultsLib.constants.AILTN.TOP_RESULTS_EPT},
getEpt:function(a){return a.get("state.loggingContext").ept||{refreshId:null,eptSummary:{},xhrs:[]}},getPostEpt:function(a){return a.get("state.loggingContext").postEpt||{refreshId:null,prefetchSummary:{},fillViewportSummary:{},xhrs:[]}},getPostScroll:function(a){return a.get("state.loggingContext").postScroll||{refreshId:null,postScrollSummary:{}}},getQueryIds:function(a){return a.get("state.loggingContext").queryIds||[]},getBuckets:function(a){return a.get("state.loggingContext").buckets||[]},getEarlyLayoutsFetchingInfo:function(a){a=
(a||[]).filter(function(a){return a.layoutEarlyFetched}).map(function(a){return a.keyPrefix});return{layouts:a,layoutsCount:a.length}},getXhrs:function(a){return a.get("state.loggingContext").xhrs||[]},getRecordLayoutDataProvider:function(a){return a.find("recordLayoutDataProvider")},recordLayoutDataProviderOnChangeHandler:function(a,b){var c=this,d=(b.getParams().data||{}).layouts||{},e=[];Object.keys(d).forEach(function(a){var b=d[a],g=c.recordLayoutsCache.buildLayoutConfig(a);c.recordLayoutsCache.saveLayout(g,
{viewRecordLayout:b});e.push(a)});this.lib.loggingCtx.updateStateLoggingContext(a,{earlyLayoutsFetchingInfo:{layoutsCount:e.length,layouts:e}})},getEntitiesToDisplay:function(a){return a.get("v.entitiesToDisplay")||[]}}}});return {"xs":"I","descriptor":"markup://forceSearch:resultsTopResults","su":"markup://forceSearch:resultsMultiScope","ad":[["body","aura://Aura.Component[]","G",false,[]],["shouldFocus","aura://Boolean","I",false,false],["groupId","aura://String","I",true,"DEFAULT"],["updateChildren","aura://Boolean","I",true,true],["updateOnlyIfActive","aura://Boolean","I",true,true],["priv_valueProviderReady","aura://Boolean","I",false,false],["initialTerm","aura://String","I",false],["initialScopeMap","aura://Map","I",false,null],["initialContext","aura://Map","I",false,null],["inContextOfComponent","aura://String","I",false,"forceSearch:search"],["width","aura://String","PP",false],["impl","aura://String","I",false],["class","aura://String","G",false],["dir","aura://String","I",false,"ltr"],["namespaceOverride","aura://String","I",false],["actionable","aura://Boolean","I",false,true],["role","aura://String","I",false],["ariaDescribedBy","aura://String","PP",false,""],["value","aura://Object","PP",false,null],["visible","aura://Boolean","I",false,true],["inMultiScope","aura://Boolean","I",false,false],["enableRowActions","aura://Boolean","I",false,true],["enableSorting","aura://Boolean","I",false,true],["enableSortDirection","aura://Boolean","I",false,true],["sortBy","aura://String","I",false,""],["sortByLabel","aura://String","I",false,{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:baseResults","path":"$Label.AuraSearchUI.Relevancy"}],["stencilColumns","aura://Integer","I",false,5],["stencilRows","aura://Integer","I",false,10],["items","aura://List","I",false,[]],["searchInProgress","aura://Boolean","I",false,false],["previousTerm","aura://String","I",false,""],["pageLoaded","aura://Boolean","I",false,false],["isLookupSearch","aura://Boolean","I",false,false],["lookupSource","aura://String","I",false],["lookupField","aura://String","I",false],["lookupRecordId","aura://String","I",false],["lookupContextId","aura://String","I",false],["lookupAdditionalFields","aura://List","I",false,[]],["lookupDependentFieldBindings","aura://Map","I",false,{}],["lookupAdditionalContext","aura://Map","I",false,null],["currentPage","aura://Integer","PP",false,1],["endIndex","aura://Integer","I",false,-1],["pageCount","aura://Integer","PP",false,0],["pageSize","aura://Integer","I",false,5],["startIndex","aura://Integer","I",false,-1],["totalItems","aura://Integer","PP",false,0],["type","aura://String","I",false],["dataProvider","aura://Aura.Component[]","I",false,[]],["searchOnInit","aura://Boolean","I",false,true],["preserveLoggingContextKeys","aura://List","I",false,["searchDialogSuggestionsListIteration","scrolled","autoLogKeys"]],["eventScope","aura://String","I",false,"search-results-container"],["priv_noResultsCmp","aura://Aura.Component","I",false,null],["priv_feedbackCmp","aura://Aura.Component","I",false,null],["priv_spinnerCmp","aura://Aura.Component","I",false,null],["priv_resultsAreSorted","aura://Boolean","I",false,false],["priv_fetchActionsFromServer","aura://Boolean","I",false,{"exprType":"FUNCTION","code":"function(cmp,fn){return ($A.get(\"$Browser.isPhone\")&&cmp.get(\"v.enableRowActions\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:baseResults","path":"$Browser.isPhone"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:baseResults","path":"v.enableRowActions"}],"byValue":false}],["priv_recordIdRankMap","aura://Map","I",false,null],["priv_showSpellCorrectionMessage","aura://Boolean","I",false,false],["priv_correctedTerm","aura://String","I",false],["priv_hasNonCorrectedResults","aura://Boolean","I",false,false],["priv_lastRecordClickEvent","aura://Integer","I",false],["scopeSets","aura://Map","I",false,{}],["sortLabelsInitialized","aura://Boolean","I",false,false],["scopeSetType","aura://String","I",false,"SMART_SCOPE"],["resultsDataProvider","aura://Aura.Component[]","I",false,[]],["scrollerEnabled","aura://Boolean","I",false,false],["scopesDataProvider","aura://Aura.Component[]","I",false,[{"componentDef":{"descriptor":"markup://forceSearch:multiScopesDataProvider"},"attributes":{"values":{"onchange":{"descriptor":"onchange","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsMultiScope","path":"c.scopesDataProviderChangeHandler"}}}}}]],["placeholderView","aura://Aura.Component[]","I",false,[{"componentDef":{"descriptor":"markup://force:listViewPlaceholder"},"localId":"placeholder","attributes":{"values":{"rows":{"descriptor":"rows","value":10},"cols":{"descriptor":"cols","value":5},"class":{"descriptor":"class","value":"gridStencil slds-card"}}}}]],["priv_bucketIdx","aura://Integer","I",false,0],["priv_numBucketsDisplayed","aura://Integer","I",false,0],["priv_numBucketsDisplayedWithResults","aura://Integer","I",false,0],["priv_totalSize","aura://Integer","I",false,0],["priv_scopeMaps","aura://List","I",false,[]],["priv_canFocus","aura://Boolean","I",false,false],["priv_bestResultCmp","aura://Aura.Component","I",false,null],["priv_qnaCmp","aura://Aura.Component","I",false,null],["topResultsData","aura://Object","I",false,null],["withBestResult","aura://Boolean","I",false,true],["bestResultCmp","aura://Aura.Component[]","I",false,[]],["entitiesToDisplay","aura://String[]","I",false,[]],["priv_scopedResponsesMap","aura://Map","I",false,{}],["priv_numBucketsProcessed","aura://Integer","I",false,0],["priv_entityPredictionRequestId","aura://String","I",false],["priv_xhrStartTime","aura://String","I",false],["priv_refreshId","aura://String","I",false],["priv_xhrResponse","aura://Map","I",false,{}],["priv_checkViewport","aura://Boolean","I",false,false],["priv_displayableBuckets","aura://List","I",false,[]],["priv_currentDisplayIndex","aura://Integer","I",false,0],["priv_endDisplayIndex","aura://Integer","I",false,0],["priv_endFetchIndex","aura://Integer","I",false,0],["priv_isPrefetchDone","aura://Boolean","I",false,false],["priv_isViewportFilled","aura://Boolean","I",false,false],["priv_fillingViewport","aura://Boolean","I",false,false],["priv_isEptRecorded","aura://Boolean","I",false,false],["priv_isSearchMoreMessageActive","aura://Boolean","I",false,false],["priv_entityPredictionEventFired","aura://Boolean","I",false,false],["priv_objectApiNames","aura://List","I",false,[]],["priv_objectInfos","aura://List","I",false,[]],["priv_alreadyRenderedMap","aura://Map","I",false,{}]],"med":[{"name":"forceSearch:update","xs":"I","action":"{!c.update}","attributes":[["type","aura://String","I",false],["term","aura://String","I",false],["scopeMap","aura://Map","I",false,null],["context","aura://Map","I",false,null],["sourceId","aura://String","I",false]]},{"name":"forceSearch:search","xs":"I","action":"{!c.search}","attributes":[["term","aura://String","I",false],["sortBy","aura://String","I",false]]},{"name":"forceSearch:showResults","xs":"I","action":"{!c.showResults}","attributes":[["results","aura://Object","I",false,null]]}],"re":[{"ed":"markup://force:searchRequest","n":"searchRequest","xs":"I"},{"ed":"markup://ui:click","n":"click","xs":"G"},{"ed":"markup://ui:dblclick","n":"dblclick","xs":"G"},{"ed":"markup://ui:mousedown","n":"mousedown","xs":"G"},{"ed":"markup://ui:mousemove","n":"mousemove","xs":"G"},{"ed":"markup://ui:mouseout","n":"mouseout","xs":"G"},{"ed":"markup://ui:mouseover","n":"mouseover","xs":"G"},{"ed":"markup://ui:mouseup","n":"mouseup","xs":"G"},{"ed":"markup://ui:dataChanged","n":"refreshed","xs":"I"},{"ed":"markup://forceSearch:resultsLoaded","n":"ended","xs":"I"},{"ed":"markup://ui:dataProvideError","n":"failed","xs":"I"},{"ed":"markup://ui:change","n":"topResultsInitialized","xs":"I"},{"ed":"markup://forceSearch:resultsLoaded","n":"topResultsEPTRecorded","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.pageLoadedChangeHandler"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.pageLoaded"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.render"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"render"},{"ed":{"descriptor":"markup://forceSearch:bestResultChanged"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.bestResultChangeHandler"},"n":"bestResultChanged"}],"fa":[{"descriptor":"dataProvider","value":[{"componentDef":{"descriptor":"markup://forceSearch:resultsTopResultsDataProvider"},"attributes":{"values":{"throwOnError":{"descriptor":"throwOnError","value":false},"withSingleSOSL":{"descriptor":"withSingleSOSL","value":true},"context":{"descriptor":"context","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsTopResults","path":"state.context"}},"pageSize":{"descriptor":"pageSize","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsTopResults","path":"v.pageSize"}},"onchange":{"descriptor":"onchange","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsTopResults","path":"c.dataProviderOnChangeHandler"}},"term":{"descriptor":"term","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsTopResults","path":"state.term"}},"sortBy":{"descriptor":"sortBy","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsTopResults","path":"v.sortBy"}},"currentPage":{"descriptor":"currentPage","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsTopResults","path":"v.currentPage"}},"scopeMap":{"descriptor":"scopeMap","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsTopResults","path":"state.scopeMap"}}}}}]},{"descriptor":"scrollerEnabled","value":true},{"descriptor":"shouldFocus","value":true},{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceSearch:recordLayoutDataProvider"},"localId":"recordLayoutDataProvider","attributes":{"values":{"onchange":{"descriptor":"onchange","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsTopResults","path":"c.recordLayoutDataProviderOnChangeHandler"}}}}},{"componentDef":{"descriptor":"markup://search_lightning:objectInfos","type":"module"},"attributes":{"values":{"objectApiNames":{"descriptor":"objectApiNames","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsTopResults","path":"v.priv_objectApiNames"}},"onobjectinfos":{"descriptor":"onobjectinfos","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsTopResults","path":"c.handleObjectInfos"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://search_results:searchMoreBox","type":"module"},"localId":"searchall"}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.priv_isSearchMoreMessageActive\")&&((cmp.get(\"v.priv_numBucketsDisplayed\")>0)&&!(cmp.get(\"v.searchInProgress\"))));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsTopResults","path":"v.priv_numBucketsDisplayed"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsTopResults","path":"v.priv_isSearchMoreMessageActive"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsTopResults","path":"v.searchInProgress"}],"byValue":false}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://runtime_sales_activities:emailStreamReplyActions",function(){/*$A.componentService.addComponentClass("markup://runtime_sales_activities:emailStreamReplyActions",function(){return{meta:{name:"runtime_sales_activities$emailStreamReplyActions","extends":"markup://emailui:emailBaseReplyActions"},helper:{wasSentByCurrentUser:function(a){return a.from[0].isCurrentUser},getAddressList:function(a){var c=[],b;if(a)for(var d=0;d<a.length;d++)(b=this.getAddressListItem(a[d]))&&c.push(b);return c},getAddressListItem:function(a){if(!this.isValidEmailAddress(a.emailAddress))return null;
var c={email:a.emailAddress};if(a.id){if(this._currentUserId&&this._currentUserId===a.id)return null;c.id=a.id}a.name?(c.label=a.name,c.nameAndEmail=a.name+" "+a.email):(c.label=a.emailAddress,c.nameAndEmail=a.emailAddress);return c},loadEmailData:function(a,c,b){var d=a.get("v.record.ExternalId"),f;"REPLY"===b||"REPLY_ALL"===b?b=a.get("c.getEmailDataForReply"):(b=a.get("c.getEmailDataForForward"),f=(f=a.get("v.record.Title"))||a.get("v.record.subject"),b.setParam("subject",f));a.get("v.compact")||
b.setParam("emailDetail",a.get("v.record"));b.setParam("externalId",d);b.setParam("addressMap",a.get("v.addressMap"));b.setParam("parentId",a.get("v.parentId"));b.setCallback(this,function(b){var e=b.getReturnValue(),d=a.get("v.record");e&&(d.body=e.body,this._composerSubject=e.subject,e.userId&&(this._currentUserId=e.userId),a.set("v.record",d),e.addressMap.contextId&&a.set("v.contextRecordId",e.addressMap.contextId[0].id));c&&c(b)},"SUCCESS");b.setCallback(this,function(a){$A.getEvt("markup://force:showOfflineMessage").setParams({retryAction:a}).fire()},
"INCOMPLETE");b.setCallback(this,function(a){throw Error("emailStreamReplyActions.helper.loadEmailData: error in "+a.getDef().getName()+": "+JSON.stringify(a.getError()));},"ERROR");b.setStorable();b.setAbortable(!1);$A.enqueueAction(b)},getFromForReply:function(a){a=a.get("v.addressMap");return this.wasSentByCurrentUser(a)&&this.isValidEmailAddress(a.from[0].emailAddress)?a.from[0].emailAddress:null},getToListForReply:function(a){a=a.get("v.addressMap");return this.wasSentByCurrentUser(a)?this.getAddressList(a.to):
[].concat(this.getAddressListItem(a.from[0]))},getCcListForReplyAll:function(a){a=a.get("v.addressMap");if(this.wasSentByCurrentUser(a))return this.getAddressList(a.cc);a=this.getAddressList(a.to).concat(this.getAddressList(a.cc));for(var c=0;c<a.length;++c)for(var b=c+1;b<a.length;++b)a[c].email===a[b].email&&a.splice(b--,1);return a},getSubjectForReply:function(a){return this._composerSubject},getSubjectForForward:function(a){return this._composerSubject},getBccListForReplyAll:function(a){return[]},
getEmailBody:function(a){return a.get("v.record.body")},getAttachments:function(a){return[]},getInReplyToForReply:function(a){return a.get("v.record")&&a.get("v.record.headers")?a.get("v.record.headers.inReplyTo"):null},getReferencesForReply:function(a){return a.get("v.record")&&a.get("v.record.headers")?a.get("v.record.headers.references"):null},getMessageIdForReply:function(a){return a.get("v.record")&&a.get("v.record.headers")?a.get("v.record.headers.messageId"):null}}}});return {"xs":"I","descriptor":"markup://runtime_sales_activities:emailStreamReplyActions","cd":{"descriptor":"compound://runtime_sales_activities.emailStreamReplyActions","ac":[{"n":"getEmailActionEvent","descriptor":"serviceComponent://ui.email.components.aura.components.actions.EmailBaseReplyActionsController/ACTION$getEmailActionEvent","at":"SERVER","rt":"java://ui.aura.components.ComponentDefinition","pa":[{"name":"fromAddr","type":"java://java.lang.String"},{"name":"toAddrs","type":"java://java.util.List<java.util.Map<java.lang.String,java.lang.Object>>"},{"name":"ccAddrs","type":"java://java.util.List<java.util.Map<java.lang.String,java.lang.Object>>"},{"name":"bccAddrs","type":"java://java.util.List<java.util.Map<java.lang.String,java.lang.Object>>"},{"name":"subject","type":"java://java.lang.String"},{"name":"htmlBody","type":"java://java.lang.String"},{"name":"textBody","type":"java://java.lang.String"},{"name":"contextRecordId","type":"java://java.lang.String"},{"name":"contentDocumentIds","type":"java://java.util.List<java.lang.String>"},{"name":"inReplyTo","type":"java://java.lang.String"},{"name":"references","type":"java://java.lang.String"},{"name":"messageId","type":"java://java.lang.String"}]},{"n":"getEmailDataForReply","descriptor":"serviceComponent://ui.activities.impl.controllers.EmailStreamDetailController/ACTION$getEmailDataForReply","at":"SERVER","rt":"java://ui.activities.impl.utils.EmailStreamDetailData","pa":[{"name":"externalId","type":"java://java.lang.String","loggable":true},{"name":"addressMap","type":"java://java.util.Map<java.lang.String,java.util.List<java.util.Map<java.lang.String,java.lang.String>>>"},{"name":"email","type":"java://ui.activities.impl.utils.EmailStreamDetailData"},{"name":"parentId","type":"java://java.lang.String","loggable":true}]},{"n":"getEmailStreamDetailRecord","descriptor":"serviceComponent://ui.activities.impl.controllers.EmailStreamDetailController/ACTION$getEmailStreamDetailRecord","at":"SERVER","rt":"java://ui.activities.impl.utils.EmailStreamDetailData","pa":[{"name":"externalId","type":"java://java.lang.String","loggable":true},{"name":"unifiedEmailId","type":"java://java.lang.String","loggable":true},{"name":"parentId","type":"java://java.lang.String","loggable":true}]},{"n":"getEmailDataForForward","descriptor":"serviceComponent://ui.activities.impl.controllers.EmailStreamDetailController/ACTION$getEmailDataForForward","at":"SERVER","rt":"java://ui.activities.impl.utils.EmailStreamDetailData","pa":[{"name":"externalId","type":"java://java.lang.String","loggable":true},{"name":"subject","type":"java://java.lang.String"},{"name":"addressMap","type":"java://java.util.Map<java.lang.String,java.util.List<java.util.Map<java.lang.String,java.lang.String>>>"},{"name":"email","type":"java://ui.activities.impl.utils.EmailStreamDetailData"},{"name":"parentId","type":"java://java.lang.String","loggable":true}]}]},"su":"markup://emailui:emailBaseReplyActions","ad":[["body","aura://Aura.Component[]","G",false,[]],["record","aura://Object","I",false,null],["inContextOfComponent","aura://String","I",false],["compact","aura://Boolean","I",false,false],["contextRecordId","aura://String","I",false],["class","aura://String","I",false],["hasReplyActions","aura://Boolean","I",false,true],["addressMap","aura://Object","I",false,null],["parentId","aura://String","I",false]],"css":true}*/});
$A.componentService.addComponent("markup://force:quickActionLayout",function(){/*$A.componentService.addComponentClass("markup://force:quickActionLayout",function(){return{meta:{name:"force$quickActionLayout","extends":"markup://aura:component",imports:{componentLib:"markup://force:componentLibrary",inlineEditLib:"markup://force:inlineEditLibrary",inlineEditGroupManager:"markup://force:inlineEditGroupManager",layoutLib:"markup://force:recordLayoutLibrary",toasterLib:"markup://force:toasterLibrary",recordLib:"markup://force:recordLibrary",massActions:"markup://force:massActionLib",
recordUtils:"markup://force:recordUiUtils",pageBlockLib:"markup://force:pageBlockLibrary"}},controller:{handlePublisherChange:function(a,b,c){b=$A.getCmp(a._composerSectionCmpId);!1===a.get("v.isCollapsed")&&b&&b.expand("REST")},registerComposerSection:function(a,b,c){a._composerSectionCmpId=b.getSource().getGlobalId();b=$A.getCmp(a._composerSectionCmpId);$A.util.isUndefinedOrNull(b)||(!1===a.get("v.isCollapsed")?b.expand("ALL"):b.expand("ONE"))},quickActionRecordCollectionDataLoadedSuccess:function(a,
b,c){c.quickActionRecordCollectionDataLoadedSuccess(a)},quickActionRecordCollectionDataLoadError:function(a,b,c){c.showLoadErrorMessage(a,b.getParam("error"))},onInit:function(a,b,c){a.set("v.fieldsChangedInLayout",{});b=a.get("v.contextId");var d,e=a.helper.massActions;e&&e.utilities&&(d=e.utilities.splitBulkRecords(b));d&&0<d.length&&a.set("v.contextId",d[0]);a.set("v.contextIds",d);d&&1<d.length&&a.set("v.inContextOfComponent","force:quickActionLayout:mass");d=!$A.util.isEmpty(a.get("v.invocableActionType"));
d||(b=a.get("v.fieldOverrides"),$A.util.isEmpty(b)||a.set("v.fieldOverridesMap",JSON.parse(b)),a.set("v.adsSupported",!0));d?(d=a.get("c.getInvocableQuickActionRecordAndLayoutConfig"),d.setParam("invocableActionType",a.get("v.invocableActionType"))):(d=a.get("c.getQuickActionLayoutConfig"),d.setStorable());d.setParam("actionName",a.get("v.quickActionName"));d.setParam("contextId",a.get("v.contextIds")[0]);d.setParam("mode",a.get("v.mode"));d.setParam("inContextOfComponent",a.get("v.inContextOfComponent"));
d.setParam("offset",a.get("v.offset"));d.setParam("pageSize",a.get("v.pageSize"));d.setCallback(a,function(b){if("SUCCESS"===b.getState()){var d=b.getReturnValue();b=!$A.util.isEmpty(d.errorMessage);a.set("v.configLoadErrorMessage",d.errorMessage);a.set("v.configLoadIncomplete",!1);b?c.showLoadErrorMessage(a,d.errorMessage):(a.set("v.entityApiName",d.entityApiName),a.set("v.entityLabel",d.entityLabel),a.set("v.actionType",d.actionType),a.set("v.layoutType",d.layoutType),a.set("v.publisherActions",
d.publisherActions),a.set("v.dedupeConfig",d.dedupeConfig),a.set("v.reloadRecordForInlineEdit",d.reloadRecordForInlineEdit),a.set("v.recordSaveParams",d.recordSaveParams),d.record&&a.set("v.record",d.record),c.storeRecordLayout(a,d.recordLayout).then($A.getCallback(function(){a.set("v.additionalFields",$A.util.lookup(d.recordLayout,"attributes","values","additionalFields"));a.set("v.configLoaded",!0);a.get("v.adsSupported")?c.bindAdditionalFieldsAndTriggerRlb(a):c.triggerRLBLoading(a);c.enableInlineEdit(a);
var b=a.get("v.errors");b&&c.handleErrorsOnSave(a,b)})))}else a.set("v.configLoadIncomplete",!0),c.showRetryPanel(a,b),(b=a.getEvent("quickActionLayoutRendered"))&&b.fire({status:"INCOMPLETE"})});$A.enqueueAction(d)},save:function(a,b,c){if(c.isMassQuickAction(a)){var d=function(d){d.show($A.getCallback(function(){c.save(a,b)}).bind(this))},e=a.get("v.massQuickActionSubmitConfirmDialog");c.updateMassQuickActionConfirmSubmitMessage(a);e?d(e):$A.createComponent("force:confirmDialog",{"aura:id":"confirmSubmitMassQuickAction",
title:$A.get("$Label.MassQuickActions.confirmSubmitTitle"),message:a.getReference("v.massQuickActionConfirmSubmitMessage")},function(b,c){"SUCCESS"===c&&(a.set("v.massQuickActionSubmitConfirmDialog",b),d(b))})}else c.save(a,b)},editInline:function(a,b,c){b=b.getParam("arguments");if(!a.isValid()||!a.get("v.isInlineEditable")||a._toggleInlineEditEvent||a._editInlineCall)b.callback&&b.callback({state:"ERROR"});else if(a.get("v.isInlineEditMode"))b.callback&&b.callback({state:"SUCCESS"});else if("RENDERED"===
a.get("v.inlineEditState")){var d=a.get("v.shouldUpdateInlineEdit");c.toggleInlineEdit(a);b.callback&&(d?a._editInlineCall=b:b.callback({state:"SUCCESS"}))}else!a.get("v.inlineEdit")&&c.isInlineEditable(a)&&c.createInlineEdit(a),a._editInlineCall=b,c.toggleInlineEdit(a)},getFieldComponents:function(a,b,c){b=b.getParam("arguments");a.get("v.recordLayoutRendered")?c.getFieldComponents(a,[b]):(a._parkedGetFieldComponentsCalls=a._parkedGetFieldComponentsCalls||[],a._parkedGetFieldComponentsCalls.push(b))},
getSections:function(a,b,c){b=b.getParam("arguments");a.get("v.recordLayoutRendered")?c.getSections(a,[b]):(a._parkedGetSectionsCalls=a._parkedGetSectionsCalls||[],a._parkedGetSectionsCalls.push(b))},handleRecordLayoutRendered:function(a,b,c){a.set("v.recordLayoutRendered",!0);a._parkedGetFieldComponentsCalls&&(c.getFieldComponents(a,a._parkedGetFieldComponentsCalls),delete a._parkedGetFieldComponentsCalls);a._parkedGetSectionsCalls&&(c.getSections(a,a._parkedGetSectionsCalls),delete a._parkedGetSectionsCalls);
c.showPencils(a);a.getEvent("quickActionLayoutRendered").fire(b.getParams())},handleRecordSaveError:function(a,b,c){(b=b.getParam("errors"))&&c.handleErrorsOnSave(a,b)},handleRecordDataChange:function(a,b,c){var d=b.getParams().fieldName,e=b.getParams().fieldLabel||d,f=b.getParams().record;a.get("v.dedupeConfig.dedupeEnabled")&&a.find("dedupeManager").getEvent("recordDataChange").setParams({fieldName:d,record:b.getParams().record}).fire();b=a.find("importButton");f&&(""!==f[d]&&b&&b.find("importButtonWrapper")&&
!$A.util.hasClass(b.find("importButtonWrapper").getElement(),"hidden"))&&b.getEvent("recordDataChange").fire();b=a.get("v.fieldsChangedInLayout");var g=a.get("v.aggregatedTemplateDeprecated");f&&(c.isMassQuickAction(a)&&a.get("v.recordLayoutRendered")&&b&&!b[d]&&e&&g)&&!c.isFieldValuesSame(g[d],f[d])&&(b[d]=e,"Update"===a.get("v.actionType")&&a.set("v.massQuickActionUpdateFieldList",c.getFieldsChangedLabelList(a)))},handleDedupeError:function(a,b){var c=b.getParam("potentialMatches"),d=b.getParam("errors"),
e=a.find("dedupeManager").getEvent("recordDuplicateDetected");e.setParams({potentialMatches:c,errors:d});e.fire()},closePanel:function(){$A.getEvt("markup://ui:getActivePanel").setParams({callback:function(a){a&&a.close()}}).fire()},toggleInlineEdit:function(a,b,c){!a.get("v.inlineEdit")&&c.isInlineEditable(a)&&c.createInlineEdit(a);c.toggleInlineEdit(a,b)},refresh:function(a,b,c){b=b.getParam("arguments");c.refresh(a,b);b.doBackgroundRefresh||a.set("v.recordLayoutRendered",!1)},handleInlineEditReady:function(a,
b,c){"NOT_CREATED"===a.get("v.inlineEditState")&&(a.set("v.inlineEditState","CREATED"),(a._toggleInlineEditEvent||a._editInlineCall)&&c.toggleInlineEdit(a,a._toggleInlineEditEvent))},handleInlineEditRendered:function(a,b,c){"quickActionLayoutHandledRendered"!==b.getParams().status&&("RENDERED"!==a.get("v.inlineEditState")?(a.set("v.inlineEditState","RENDERED"),a._toggleInlineEditEvent?window.requestAnimationFrame($A.getCallback(function(){a&&(a.isValid&&a.isValid())&&(c.toggleInlineEdit(a,a._toggleInlineEditEvent),
a._toggleInlineEditEvent.source.setInlineEditTriggerSpinnerVisible(!1),delete a._toggleInlineEditEvent,c.enableScroll(a))})):a._editInlineCall&&(c.toggleInlineEdit(a),a._editInlineCall.callback&&a._editInlineCall.callback({state:"SUCCESS"}),delete a._editInlineCall)):a._editInlineCall&&(a._editInlineCall.callback&&a._editInlineCall.callback({state:"SUCCESS"}),delete a._editInlineCall),a.getEvent("inlineEditRendered").fire({status:"quickActionLayoutHandledRendered"}))},onInlineEditableChanged:function(a,
b,c){a.get("v.isInlineEditable")?c.enableInlineEdit(a):c.disableInlineEdit(a)},handleQaRecordLoaded:function(a,b,c){c.bindAdditionalFieldsAndTriggerRlb(a)},resume:function(a,b,c){a&&(a.isValid&&a.isValid()&&"EDIT"===a.get("v.mode"))&&(a.get("v.isSubmitting")?(c.hideIndicator(),a.set("v.isSubmitting",!1)):$A.get("$Browser.isDesktop")||(b=a.find("pageLevelErrors"),$A.util.isUndefinedOrNull(b)?c.closeDocker(a):b.set("v.body",[])))}},helper:{save:function(a,b){if(!a.get("v.isSubmitting")&&a.get("v.configLoaded")&&
a.get("v.record")){var c=b.getParam("arguments"),d={callback:c?c.callback:void 0,isDocked:c?c.isDocked:!1,shouldRefresh:c?c.shouldRefresh:!0};if(a.get("v.isInlineEditMode"))a.get("v.inlineEdit").handleSave($A.getCallback(function(a){d.callback&&d.callback({state:a?"SUCCESS":"ERROR"})}));else{var e=this.makePayLoad(a);this.transactionStart("S1PERF","quickAction",e);var f=a.get("v.record"),g=c&&c.advancedPublisherSaveConfig?c.advancedPublisherSaveConfig:{},l=a.find("dedupeManager");a.get("v.dedupeConfig.dedupeEnabled")&&
l&&l.getEvent("refreshDedupeVisibility").fire();this.cleanUpErrors(a);this.isMassQuickAction(a)&&"Update"===a.get("v.actionType")?this.performSaveAfterRecordLayoutValidation(a,g,d,l,f):a.find("recordLayout").validate($A.getCallback(function(b){this.performSaveAfterRecordLayoutValidation(a,g,d,l,f,b)}.bind(this)))}}},handleErrors:function(a,b){b=$A.util.isArray(b)?b:[b];var c=[],d=null,e=[];$A.util.forEach(b,function(a){var b=a.pageErrors;$A.util.isEmpty(b)||$A.util.forEach(b,function(b){c.push(b.message);
!d&&"DUPLICATES_DETECTED"===b.statusCode&&(d=a,e=a.potentialDuplicates)});$A.util.isEmpty(a.pageErrors)&&($A.util.isEmpty(a.fieldErrors)&&!$A.util.isEmpty(a.message))&&c.push(a.message)});if(d||!$A.util.isEmpty(e)){var f=a.find("dedupeManager").getEvent("recordDuplicateDetected");if(f){f.setParams({potentialMatches:e,errors:d});f.fire();return}}this.showPageLevelError(a,c)},showPageLevelError:function(a,b){b=$A.util.isArray(b)?b:[b];var c=$A.createComponentFromConfig({descriptor:"markup://force:pageError",
attributes:{errors:b,collisionDetected:!1}}),d=a.find("pageLevelErrors");d&&(d.set("v.body",[c]),d.getElement()&&d.getElement().focus());this.scrollToTop(a)},handleErrorsOnSave:function(a,b){if($A.util.isString(b))this.showPageLevelError(a,b);else{var c=a.find("recordLayout");$A.util.isUndefinedOrNull(c)||c.handleSaveErrors(b);this.handleErrors(a,b)}},cleanUpErrors:function(a){a.find("pageLevelErrors").set("v.body",[])},notify:function(a,b,c,d){$A.getEvt("markup://force:recordPublished").setParams({id:b,
isCreate:c,shouldResetActivatedComponents:!1,contextId:d}).fire();a.isValid()&&a.getEvent("saved").setParams({id:b,isCreate:c}).fire()},showRetryPanel:function(a,b){$A.createComponent("force:retryPanel",{retryAction:[b]},function(b){a.isValid()&&a.find("retryPanel").set("v.body",[b])})},refreshView:function(){$A.getEvt("markup://force:refreshView").fire()},fireToast:function(a,b,c,d,e,f,g){var l=!1,l=$A.get("$Site")&&$A.get("$Site.features.guestRecordReassignEnabled")&&$A.get("$Site.isGuestUser")&&
"Create"===b;g||l?$A.eventService.newEvent("force:showToast").fire({type:"SUCCESS",mode:"dismissible",message:f}):this.toasterLib&&("Create"===b||"LogACall"===b?a.find("hostConfig").getHostConfigData($A.getCallback(function(a){this.toasterLib.messages.showLinkable("CREATE",c,d,e,null,a.get("v.nonNavigableEntityKeyPrefixes"))}.bind(this)),$A.getCallback(function(a){this.toasterLib.messages.showLinkable("CREATE",c,d,e)}.bind(this))):this.toasterLib.messages.showCrud("EDIT",d,c))},scrollToTop:function(a){function b(a){return $A.util.isUndefinedOrNull(a)||
0<a.scrollTop?a:b(a.parentNode)}function c(a,b){if(!(0>=b||$A.util.isUndefinedOrNull(d))){var g=10*((a-d.scrollTop)/b);window.requestAnimationFrame(function(){d.scrollTop+=g;c(a,b-10)})}}var d=b(a.getElement());c(0,205)},showSavingIndicator:function(){$A.getEvt("markup://force:toggleModalSpinner").setParams({isVisible:!0}).fire()},hideIndicator:function(){$A.getEvt("markup://force:toggleModalSpinner").setParams({isVisible:!1}).fire()},makePayLoad:function(a){var b=a.get("v.record");return{context:{injectPageUsageInfo:!0,
usageInfo:{gusTeamId:"a00B0000000x9fFIAQ",recordId:b.Id?b.Id.slice(0,15):null,sobjectType:b.sobjectType,cudAction:"Create",action:a.get("v.quickActionName")}}}},transactionStart:function(a,b,c){},transactionEnd:function(a,b,c){},closeDocker:function(a){if(a=a.getEvent("notify"))a.setParams({action:"closePanel"}),a.fire()},getFieldComponents:function(a,b){var c=a.get("v.isInlineEditMode")?a.get("v.inlineEdit"):a.find("recordLayout");b.forEach(function(a){c.getFieldComponents(a.fieldNames,a.inputOnly,
a.callback)})},getSections:function(a,b){var c=a.find("recordLayout");b.forEach(function(a){c.getSections(a.callback)})},storeRecordLayout:function(a,b){var c;c=this.layoutLib.recordLayoutStore;var d=b.attributes.values,e={},d={record:d.record,entityName:d.entityName,mode:d.mode,type:d.type,recordTypeId:d.recordTypeId,inContextOfComponent:d.inContextOfComponent,layoutOverride:d.layoutOverride,inContextOfRecordId:d.inContextOfRecordId,pageSize:d.pageSize?d.pageSize:a.get("v.pageSize"),offset:d.offset?
d.offset:a.get("v.offset")},d=c.getLayoutKey(d);e[d]=b.componentDef.descriptor;c=c.storeLayouts(e,"force:quickActionLayout");c.catch(function(a){this.log("Error in caching layout. Reason: "+a)});return c},createInlineEdit:function(a){if(a.isValid())if($A.util.isUndefinedOrNull(a.get("v.inlineEdit"))){var b={descriptor:"markup://force:inlineEdit",localId:"inlineEdit",attributes:{entityApiName:a.get("v.entityApiName"),recordId:a.get("v.contextId"),record:a.get("v.record"),inContextOfRecordId:a.get("v.contextId"),
layoutType:a.get("v.layoutType"),layoutOverride:a.get("v.quickActionName"),createRLComponent:!1}},c=this;this.componentLib.components.createComponentFromConfigWithErrorHandling(b,["force:quickActionLayout"],null,function(b){if(c.isInlineEditable(a)){a.set("v.inlineEdit",b);var e=a.find("inlineEditRecordLayoutContainer");e&&e.set("v.body",[b]);c.enableInlineEdit(a);c.registerViewportEvents(a)}})}else this.registerViewportEvents(a),this.enableInlineEdit(a)},isInlineEditable:function(a){return a.get("v.isInlineEditable")&&
"VIEW"===a.get("v.mode")},enableInlineEdit:function(a){if(this.isInlineEditable(a)){var b=a.get("v.contextId");a=a.getGlobalId();this._getInlineEditLib().register(b,a,"recordLayoutContainer","inlineEditRecordLayoutContainer","v.inlineEdit","recordLayout");this._getInlineEditLib().enableInlineEdit(b,a)}},disableInlineEdit:function(a){if(!this.isInlineEditable(a)){var b=a.get("v.contextId");a=a.getGlobalId();this._getInlineEditLib().isRegistered(b,a)&&(this._getInlineEditLib().disableInlineEdit(b,a),
this._getInlineEditLib().unRegister(b,a))}},toggleInlineEdit:function(a,b){if(a.isValid()&&a.get("v.isInlineEditable")){var c=!a.get("v.isInlineEditMode"),d=a.get("v.inlineEditState");c&&!a._previousFocusedElement&&(a._previousFocusedElement=document.activeElement);if(c&&"NOT_CREATED"===d)a._processingToggleInlineEdit||(a._processingToggleInlineEdit=!0,b&&b.source.setInlineEditTriggerSpinnerVisible(!0),a._toggleInlineEditEvent=b);else if(c&&"CREATED"===d)a._toggleInlineEditEvent=b,this.disableScroll(a),
b&&b.source.setInlineEditTriggerSpinnerVisible(!0),window.setTimeout($A.getCallback(function(){if(a&&a.isValid&&a.isValid()){var b=a.get("v.inlineEdit");b&&(b.isValid&&b.isValid())&&b.set("v.createRLComponent",!0)}},10));else{d=a.get("v.inlineEdit");!$A.util.isUndefinedOrNull(d)&&d.resetEditActions&&d.resetEditActions();var d=a.get("v.contextIds")[0],e=a.getGlobalId(),f={};b&&(f=b.getParams("config"));this._getInlineEditLib().toggleInlineEdit(d,e,f);delete a._processingToggleInlineEdit;a.getEvent("onToggleInlineEdit").fire();
c||window.setTimeout($A.getCallback(function(){a&&a._previousFocusedElement&&(a._previousFocusedElement.focus(),a._previousFocusedElement=null)},10))}}},disableScroll:function(a){var b=function(){window.onwheel=null;window.onmousewheel=document.onmousewheel=null;delete a._minTimeStampToProcessEvent},c=function(c){var e=a._minTimeStampToProcessEvent;$A.util.isUndefinedOrNull(e)||c.timeStamp<e?(c=c||window.event,c.preventDefault&&c.preventDefault(),c.stopImmediatePropagation(),c.returnValue=!1):b()};
window.onwheel=c;window.onmousewheel=document.onmousewheel=c;setTimeout(b,2E3)},enableScroll:function(a){a._minTimeStampToProcessEvent=document.createEvent("CustomEvent").timeStamp},registerViewportEvents:function(a){var b=$A.getEvt("markup://ui:notify","content",a);b&&(b.setParams({payload:{viewportEnter:function(a){this.viewportEnter(a)}.bind(this,a)}}),b.fire())},viewportEnter:function(a){a.isValid()&&this.enableInlineEdit(a)},refresh:function(a,b){var c=b.record,d=b.doBackgroundRefresh,e=function(){var b=
a.find("recordLayout");b&&!d&&b.refresh()};if(a.get("v.adsSupported")){var f=a.find("qaRecord");$A.util.isUndefinedOrNull(f)||f.reloadRecord(c,e)}else c&&a.set("v.record",c),e();a.get("v.isInlineEditMode")&&!d&&this._getInlineEditLib().cancelInlineEdit(a.get("v.contextId"),a.getGlobalId());"NOT_CREATED"!==a.get("v.inlineEditState")&&a.get("v.isInlineEditable")&&(a.set("v.shouldUpdateInlineEdit",!0),c=a.get("v.inlineEdit"),e=a.get("v.contextId"),c&&e&&c.set("v.recordId",e))},invokeSaveCallback:function(a,
b,c,d,e,f){var g=e.callback,l=e.isDocked,h=this.isMassQuickAction(a),n=e.shouldRefresh;e=a.get("v.contextIds");e=void 0===e||void 0===e[0]?[null]:e;a.get("v.showLoadingIndicator")&&this.hideIndicator();if("SUCCESS"===b||"DRAFT"===b||"SUCCESS_WITH_ERRORS"===b){if(f=a.get("v.successCallback"),$A.util.isFunction(f)&&(h?f(c):f(c[e[0]])),c){l&&0===d.length&&(a.get("v.keepDockedOnSave")||this.closeDocker(a));f=0;for(var p,m=0;m<e.length;m++){var k=c[e[m]];!h&&"Global"===e[0]&&(k=c);if(k&&!k.errorObj){if(this.notify(a,
k.recordId,l,e[m]),a.get("v.showToastMessage")&&(k.successMessage&&!h)&&this.fireToast(a,a.get("v.actionType"),k.entityLabel,k.recordName,k.recordId,k.successMessage,k.isCustomSuccessMessage),p=k.isCustomSuccessMessage?k.successMessage:void 0,!h){var q={contextId:e[m],isContextRecordUpdated:!0};k.feedItem&&(q.feedItem=k.feedItem);$A.getEvt("markup://forceChatter:postCreated").fire(q);this.fireRecordChangeEventIfNewRecordCreated(a,a.get("v.actionType"),k.recordId,a.get("v.entityApiName"))}}else f++}n&&
("DRAFT"!==b&&e.length>f)&&this.refreshView();h&&"DRAFT"!==b?(this.launchMassErrors(a,d,e,p),this.closeDocker(a)):null!=d&&(1===d.length&&"SUCCESS_WITH_ERRORS"===b)&&(d=[d[0].errorObj],this.handleErrorsOnSave(a,d))}}else"ERROR"===b?1===d.length&&"Event fired"===d[0].message||this.handleErrorsOnSave(a,d):"INCOMPLETE"===b&&f();"SUCCESS"!==b&&a.set("v.isSubmitting",!1);g&&(a=null,c&&!h?(a=$A.util.isUndefinedOrNull(c[e[0]])?{}:c[e[0]],a.error=c.error,a.state=c.state):a=c,g.call(null,a))},fireRecordChangeEventIfNewRecordCreated:function(a,
b,c,d){("LogACall"===b||"SendEmail"===b)&&$A.getEvt("markup://force:recordChange").fire({recordId:c,isNewRecord:!0,record:{sobjectType:d}});"Create"===b&&"Task"===d&&$A.getEvt("markup://force:recordChangeForToDo").fire({recordId:c,isNewRecord:!0,record:a.get("v.record")})},quickActionRecordCollectionDataLoadedSuccess:function(a){a.find("qaRecordCollection")&&(a.find("qaRecordCollection").getAggregatedTemplate($A.getCallback(function(b,c){a.set("v.record",c)})),a.find("qaRecordCollection").getAggregatedTemplate($A.getCallback(function(b,
c){a.set("v.aggregatedTemplateDeprecated",c)})))},isFieldValuesSame:function(a,b){return"object"===typeof a&&"object"===typeof b?JSON.stringify(a)===JSON.stringify(b):(""===a?null:a)===(""===b?null:b)},performSaveAfterRecordLayoutValidation:function(a,b,c,d,e,f){var g=a.get("v.adsSupported");b.postValidationCallback&&b.postValidationCallback(f);if(f)this.handleErrors(a,f),c.callback&&c.callback.call(null,{state:"ERROR"}),this.transactionEnd("S1PERF","quickAction",{context:{error:f.pageErrors}});else{a.get("v.showLoadingIndicator")&&
this.showSavingIndicator();a.set("v.isSubmitting",!0);var l=a.get("v.recordSaveParams")||{};a.get("v.dedupeConfig.dedupeEnabled")&&(l.bypassDedupeCheck=d.get("v.bypassDedupeCheck"));var h;if(b.saveAction)h=b.saveAction,b=b.saveActionParams?b.saveActionParams:{},b.record=e,h.setParams(b);else if($A.util.isEmpty(a.get("v.invocableActionType")))if(g){var n=function(){var b=$A.getCallback(function(b){this.invokeSaveCallback(a,b.state,b,b.error,c,$A.getCallback(function(){$A.getEvt("markup://force:showOfflineMessage").fire({retryFunction:$A.getCallback(function(){this.showSavingIndicator();
a.set("v.isSubmitting",!0);n()}.bind(this))})}.bind(this)))}.bind(this)),d=a.find("qaRecord");d?d.saveQuickActionRecord(a.get("v.fetchFeedItem"),l,b):(d=a.find("qaRecordCollection"))&&d.saveQuickActionRecords(a.get("v.record"),Object.keys(a.get("v.fieldsChangedInLayout")),!1,l,b)}.bind(this);n()}else throw Error("Unsupported save operation.");else h=a.get("c.saveInvocableQuickAction"),h.setParams({recordValues:e,actionName:a.get("v.quickActionName")});a.get("v.dedupeConfig.dedupeEnabled")&&d.getEvent("refreshDedupeState").fire();
h&&(h.setCallback(a,function(b){this.invokeSaveCallback(a,b.getState(),b.getReturnValue(),b.getError(),c,$A.getCallback(function(){$A.getEvt("markup://force:showOfflineMessage").fire({retryAction:h,retryFunction:$A.getCallback(function(){this.showSavingIndicator();a.set("v.isSubmitting",!0)}.bind(this))})}.bind(this)))}.bind(this)),$A.enqueueAction(h))}},launchMassErrors:function(a,b,c,d){var e=a.helper,f=$A.getCallback(function(){var f=d?d:$A.util.format($A.get("$Label.MobileWebRecordActions.ToasterMessageMassQuickActionUpdate"),
c.length-b.length);c.length>b.length&&1<c.length&&e.fireToast(a,null,null,null,null,f,!0);0<b.length&&(f=$A.getEvt("markup://force:showToast"))&&f.setParams({title:$A.get("$Label.MassQuickActions.toastTitle"),message:$A.get("$Label.MassQuickActions.toastMessage"),type:"error"}).fire()});$A.getEvt("markup://force:massShowErrors").setParams({errors:b,callback:f}).fire()},isMassQuickAction:function(a){return(a=a.get("v.contextIds"))&&1<a.length},getFieldsChangedLabelList:function(a){if((a=(a=a.get("v.fieldsChangedInLayout"))&&
Object.values(a))&&0<a.length){var b=$A.get("$Label.Global.listDelimiter");return a.sort().join(b)}return null},updateMassQuickActionConfirmSubmitMessage:function(a){var b,c=a.get("v.contextIds");if("Update"===a.get("v.actionType")){var d=this.getFieldsChangedLabelList(a);d&&(b=$A.util.format($A.get("$Label.MassQuickActions.confirmSubmitMessageUpdate"),c.length,d))}b||(b=$A.util.format($A.get("$Label.MassQuickActions.confirmSubmitMessage"),c.length));a.set("v.massQuickActionConfirmSubmitMessage",
b)},showLoadErrorMessage:function(a,b){a.set("v.configLoadErrorMessage",b);var c=a.get("v.onFailure");c&&$A.enqueueAction(c);a.getEvent("quickActionLayoutRendered").fire({status:"ERROR"})},_getInlineEditLib:function(){if(this.inlineEditLib.inlineEdit)return this.inlineEditLib.inlineEdit(this.inlineEditGroupManager)},bindAdditionalFieldsAndTriggerRlb:function(a){if(a.isValid()&&!a.get("v.priv_enable_rlb")){var b=a.get("v.priv_qa_loaded"),c=a.get("v.configLoaded");b&&c&&(b=a.get("v.additionalFields"),
this.isMassQuickAction(a)?a.find("qaRecordCollection").bindAdditionalFields(b,a.get("v.actionType")):a.find("qaRecord").bindAdditionalFields(b,a.get("v.actionType")),this.triggerRLBLoading(a))}},triggerRLBLoading:function(a){a.isValid()&&(a.get("v.priv_enable_rlb")||a.set("v.priv_enable_rlb","true"))},addKeydownHandler:function(a,b){var c=a.getElement(),d="VIEW"===a.get("v.mode");a._keydownHandler||(a._keydownHandler=$A.getCallback(function(b){if(a&&a.isValid&&a.isValid()&&!a.get("v.isSubmitting")&&
(a.get("v.record")&&!d)&&!(a.getOwner()&&"supportSendEmailQuickAction"===a.getOwner().getName())){var c=b.keyCode,g=$A.get("$Browser").isOSX;if(c&&83===c&&(!g&&b.ctrlKey||g&&b.metaKey))b.srcElement&&b.srcElement.blur&&b.srcElement.blur(),a.save()}}));c&&c.addEventListener("keydown",a._keydownHandler)},removeKeydownHandler:function(a){var b=a.getElement();b&&a._keydownHandler&&(b.removeEventListener("keydown",a._keydownHandler),a._keydownHandler=null)},showPencils:function(a){if(!a._pencilObserver&&
a.isValid&&a.isValid()&&this.isInlineEditable(a)){var b=this;a._pencilObserver=new b.recordUtils.IntersectionObserverCompat($A.getCallback(function(c){Array.isArray(c)&&(!$A.util.isUndefinedOrNull(c[0])&&c[0].isIntersecting)&&(b.pageBlockLib.pageBlock.throttledUpdateState(),a._pencilObserver.disconnect(),a._pencilObserver=null)}));a._pencilObserver.observe(a.getElement())}}},renderer:{afterRender:function(a,b){a.superAfterRender();b.addKeydownHandler(a)},unrender:function(a,b){a._pencilObserver&&
(a._pencilObserver.disconnect(),a._pencilObserver=null);var c=a.get("v.contextIds"),d=a.getGlobalId();Array.isArray(c)&&(!$A.util.isUndefinedOrNull(c[0])&&!$A.util.isUndefinedOrNull(d))&&b._getInlineEditLib().unRegister(c[0],d);b.removeKeydownHandler(a);a.superUnrender()}}}});return {"xs":"I","descriptor":"markup://force:quickActionLayout","st":{"descriptor":"css://force.quickActionLayout","cl":"forceQuickActionLayout"},"cd":{"descriptor":"compound://force.quickActionLayout","ac":[{"n":"getQuickActionLayoutConfig","descriptor":"serviceComponent://ui.force.components.controllers.quickActionLayout.QuickActionLayoutController/ACTION$getQuickActionLayoutConfig","at":"SERVER","rt":"java://ui.force.components.controllers.quickActionLayout.QuickActionLayoutController$QuickActionLayoutConfiguration","pa":[{"name":"actionName","type":"java://java.lang.String"},{"name":"contextId","type":"java://java.lang.String"},{"name":"mode","type":"java://java.lang.String"},{"name":"inContextOfComponent","type":"java://java.lang.String"},{"name":"offset","type":"java://java.lang.Integer"},{"name":"pageSize","type":"java://java.lang.Integer"}]},{"n":"saveInvocableQuickAction","descriptor":"serviceComponent://ui.force.components.controllers.quickActionLayout.QuickActionLayoutController/ACTION$saveInvocableQuickAction","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"recordValues","type":"java://java.util.Map<java.lang.String,java.lang.Object>"},{"name":"actionName","type":"java://java.lang.String"}]},{"n":"getInvocableQuickActionRecordAndLayoutConfig","descriptor":"serviceComponent://ui.force.components.controllers.quickActionLayout.QuickActionLayoutController/ACTION$getInvocableQuickActionRecordAndLayoutConfig","at":"SERVER","rt":"java://ui.force.components.controllers.quickActionLayout.QuickActionLayoutController$QuickActionLayoutConfiguration","pa":[{"name":"actionName","type":"java://java.lang.String"},{"name":"contextId","type":"java://java.lang.String"},{"name":"invocableActionType","type":"java://java.lang.String"},{"name":"mode","type":"java://java.lang.String"},{"name":"inContextOfComponent","type":"java://java.lang.String"},{"name":"offset","type":"java://java.lang.Integer"},{"name":"pageSize","type":"java://java.lang.Integer"}]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["width","aura://String","PP",false],["isInlineEditable","aura://Boolean","I",false,false],["shouldUpdateInlineEdit","aura://Boolean","I",false,false],["isInlineEditMode","aura://Boolean","I",false,false],["saved","aura://Boolean","I",false,false],["reloadRecordForInlineEdit","aura://Boolean","I",false,false],["insideScroller","aura://Boolean","I",false,true],["isCollapsed","aura://Boolean","I",false,false],["quickActionName","aura://String","I",true],["contextId","aura://String","I",false],["contextIds","aura://String[]","I",false,[]],["recordId","aura://String","I",false],["errors","aura://Object","I",false,null],["invocableActionType","aura://String","I",false],["fieldOverrides","aura://String","I",false],["fieldOverridesMap","aura://Map","I",false,null],["mode","aura://String","I",false,"EDIT"],["inContextOfComponent","aura://String","I",false,"force:quickActionLayout"],["isSubmitting","aura://Boolean","I",false,false],["fetchFeedItem","aura://Boolean","I",false,true],["showPublisherButtons","aura://Boolean","I",false,true],["showToastMessage","aura://Boolean","I",false,true],["onFailure","aura://Aura.Action","I",false,null],["successCallback","aura://Object","I",false,null],["offset","aura://Integer","I",false,0],["pageSize","aura://Integer","I",false,-1],["inlineEditState","aura://String","p",false,"NOT_CREATED"],["inlineEdit","aura://Aura.Component","PP",false,null],["configLoadIncomplete","aura://Boolean","I",false,false],["showLoadingIndicator","aura://Boolean","I",false,true],["showSetupErrors","aura://Boolean","I",false,true],["recordSaveParams","aura://Object","I",false,null],["keepDockedOnSave","aura://Boolean","I",false,false],["recordLayoutRendered","aura://Boolean","p",false,false],["adsSupported","aura://Boolean","p",false,false],["configLoaded","aura://Boolean","I",false,false],["configLoadErrorMessage","aura://String","I",false],["recordLoadErrorMessage","aura://String","I",false],["entityApiName","aura://String","I",false],["entityLabel","aura://String","I",false],["actionType","aura://String","I",false],["layoutType","aura://String","I",false],["publisherActions","aura://List","I",false,[]],["record","apex://SObject","I",false,null],["targetRecord","aura://Object","I",false,null],["dedupeConfig","aura://Object","I",false,null],["fieldsChangedInLayout","aura://Object","p",false,null],["aggregatedTemplateDeprecated","aura://Object","p",false,null],["massQuickActionUpdateFieldList","aura://String","p",false,{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"$Label.MassQuickActions.updateActionNoChangesToShow"}],["massQuickActionConfirmSubmitMessage","aura://String","p",false],["massQuickActionSubmitConfirmDialog","aura://Aura.Component","I",false,null],["additionalFields","aura://String","p",false],["priv_qa_loaded","aura://Boolean","p",false,false],["priv_enable_rlb","aura://Boolean","p",false,false]],"med":[{"name":"force:save","xs":"I","action":"{!c.save}","attributes":[["context","aura://String","I",false,""],["isDocked","aura://Boolean","I",false,"false"],["shouldRefresh","aura://Boolean","I",false,"true"],["callback","apex://Function","I",false,null],["advancedPublisherSaveConfig","aura://Object","I",false,null]]},{"name":"force:editInline","xs":"I","action":"{!c.editInline}","attributes":[["callback","apex://Function","I",false,null]]},{"name":"force:getFieldComponents","xs":"I","action":"{!c.getFieldComponents}","attributes":[["fieldNames","aura://String[]","I",true,[]],["inputOnly","aura://Boolean","I",false,"false"],["callback","apex://Function","I",true,null]]},{"name":"force:getSections","xs":"I","action":"{!c.getSections}","attributes":[["callback","apex://Function","I",true,null]]},{"name":"force:refresh","xs":"I","action":"{!c.refresh}","attributes":[["record","aura://Object","I",false,null],["doBackgroundRefresh","aura://Boolean","I",false]]}],"i":["markup://force:widthAware","markup://native:nativeHostable","markup://force:hasInlineEdit","markup://forceChatter:publisherHostable"],"re":[{"ed":"markup://force:toggleInlineEdit","n":"toggleInlineEdit","xs":"I"},{"ed":"markup://force:inlineEditDataChanged","n":"inlineEditDataChanged","xs":"I"},{"ed":"markup://force:publisherStateChange","n":"publisherStateChange","xs":"I"},{"ed":"markup://force:toggleModalSpinner","n":"toggleModalSpinner","xs":"I"},{"ed":"markup://force:saved","n":"saved","xs":"I"},{"ed":"markup://force:recordSaveError","n":"recordSaveError","xs":"I"},{"ed":"markup://force:componentRendered","n":"inlineEditRendered","xs":"I"},{"ed":"markup://force:recordDuplicateDetected","n":"recordDuplicateDetected","xs":"I"},{"ed":"markup://force:componentRendered","n":"quickActionLayoutRendered","xs":"I"},{"ed":"markup://force:showToast","n":"showToast","xs":"I"},{"ed":"markup://force:recordPublished","n":"recordPublished","xs":"I"},{"ed":"markup://forceChatter:postCreated","n":"postCreated","xs":"I"},{"ed":"markup://ui:notify","n":"notify","xs":"P"},{"ed":"markup://aura:componentEvent","n":"onToggleInlineEdit","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleRecordSaveError"},"n":"recordSaveError"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleDedupeError"},"n":"recordDuplicateDetected"},{"ed":{"descriptor":"markup://force:save"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.save"},"n":"save"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.toggleInlineEdit"},"n":"toggleInlineEdit"},{"ed":{"descriptor":"markup://force:recordDataChange"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleRecordDataChange"},"n":"recordDataHasChanged"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handlePublisherChange"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.isCollapsed"},"n":"change"},{"ed":{"descriptor":"markup://force:componentReady"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleInlineEditReady"},"n":"inlineEditReady"},{"ed":{"descriptor":"markup://force:componentRendered"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleInlineEditRendered"},"n":"inlineEditRendered"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onInlineEditableChanged"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.isInlineEditable"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onInit"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"ed":{"descriptor":"markup://force:registerPageblock"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.registerComposerSection"},"n":"registerPageblock","if":"true"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleQaRecordLoaded"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.priv_qa_loaded"},"n":"change"},{"ed":{"descriptor":"markup://force:refreshView"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.resume"}}],"ld":{"dedupeManager":{"alias":"dedupe-manager"},"recordLayoutContainer":{"alias":"record-layout"}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:hostConfig"},"localId":"hostConfig"},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"container \",cmp.get(\"v.mode\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.mode"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"quickActionError"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:message"},"attributes":{"values":{"severity":{"descriptor":"severity","value":"error"},"strength":{"descriptor":"strength","value":3},"theme":{"descriptor":"theme","value":"desktopBoxed"},"detail":{"descriptor":"detail","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.empty(cmp.get(\"v.configLoadErrorMessage\"))?cmp.get(\"v.recordLoadErrorMessage\"):cmp.get(\"v.configLoadErrorMessage\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.configLoadErrorMessage"},{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.recordLoadErrorMessage"}],"byValue":false}}}}}]}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return ((cmp.get(\"v.showSetupErrors\")&&((!(fn.empty(cmp.get(\"v.configLoadErrorMessage\")))||!(fn.empty(cmp.get(\"v.recordLoadErrorMessage\"))))&&!(cmp.get(\"v.configLoadIncomplete\")))));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.showSetupErrors"},{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.configLoadErrorMessage"},{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.recordLoadErrorMessage"},{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.configLoadIncomplete"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"retryPanel","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://force:quickActionRecord"},"localId":"qaRecord","attributes":{"values":{"recordId":{"descriptor":"recordId","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.recordId"}},"targetRecord":{"descriptor":"targetRecord","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.targetRecord"}},"priv_qa_loaded":{"descriptor":"priv_qa_loaded","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.priv_qa_loaded"}},"targetError":{"descriptor":"targetError","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.recordLoadErrorMessage"}},"quickActionName":{"descriptor":"quickActionName","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.quickActionName"}},"targetRecordDeprecated":{"descriptor":"targetRecordDeprecated","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.record"}},"fieldOverrides":{"descriptor":"fieldOverrides","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.fieldOverridesMap"}},"ignoreExistingAction":{"descriptor":"ignoreExistingAction","value":true},"contextId":{"descriptor":"contextId","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.contextIds.0"}}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:quickActionRecordCollection"},"localId":"qaRecordCollection","attributes":{"values":{"actionType":{"descriptor":"actionType","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.actionType"}},"dataLoadedSuccessfully":{"descriptor":"dataLoadedSuccessfully","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"c.quickActionRecordCollectionDataLoadedSuccess"}},"priv_qa_loaded":{"descriptor":"priv_qa_loaded","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.priv_qa_loaded"}},"dataLoadError":{"descriptor":"dataLoadError","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"c.quickActionRecordCollectionDataLoadError"}},"quickActionName":{"descriptor":"quickActionName","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.quickActionName"}},"fieldOverrides":{"descriptor":"fieldOverrides","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.fieldOverridesMap"}},"contextIds":{"descriptor":"contextIds","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.contextIds"}},"ignoreExistingAction":{"descriptor":"ignoreExistingAction","value":true}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.contextIds.length\")>1);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.contextIds.length"}],"byValue":false}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.adsSupported"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:dedupeManager"},"localId":"dedupeManager","attributes":{"values":{"mode":{"descriptor":"mode","value":"CREATE"},"inContextOfComponent":{"descriptor":"inContextOfComponent","value":"force:quickActionLayout"},"dedupeConfig":{"descriptor":"dedupeConfig","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.dedupeConfig"}},"notify":{"descriptor":"notify","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"c.closePanel"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"pageLevelErrors","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"tabIndex":"-1","class":"pageLevelErrors"}},"tag":{"descriptor":"tag","value":"div"}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"publisherButtons"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:buttonBarDeprecated"},"attributes":{"values":{"isGrouped":{"descriptor":"isGrouped","value":false},"buttonModels":{"descriptor":"buttonModels","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.publisherActions"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.showPublisherButtons"}}}}},{"componentDef":{"descriptor":"markup://sfa:importButton"},"localId":"importButton","attributes":{"values":{"record":{"descriptor":"record","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.record"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"section"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"recordLayoutContainer","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"riseTransitionEnabled"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://force:recordLayoutBroker"},"localId":"recordLayout","attributes":{"values":{"mode":{"descriptor":"mode","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.mode"}},"recordLayoutRendered":{"descriptor":"recordLayoutRendered","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"c.handleRecordLayoutRendered"}},"inContextOfRecordId":{"descriptor":"inContextOfRecordId","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.contextIds.0"}},"inContextOfComponent":{"descriptor":"inContextOfComponent","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.inContextOfComponent"}},"record":{"descriptor":"record","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.record"}},"layoutOverride":{"descriptor":"layoutOverride","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.quickActionName"}},"type":{"descriptor":"type","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.layoutType"}},"recordDataHasChanged":{"descriptor":"recordDataHasChanged","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"c.handleRecordDataChange"}}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:recordLayoutBroker"},"localId":"recordLayout","attributes":{"values":{"mode":{"descriptor":"mode","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.mode"}},"recordLayoutRendered":{"descriptor":"recordLayoutRendered","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"c.handleRecordLayoutRendered"}},"inContextOfComponent":{"descriptor":"inContextOfComponent","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.inContextOfComponent"}},"record":{"descriptor":"record","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.record"}},"layoutOverride":{"descriptor":"layoutOverride","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.quickActionName"}},"type":{"descriptor":"type","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.layoutType"}},"recordDataHasChanged":{"descriptor":"recordDataHasChanged","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"c.handleRecordDataChange"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.contextIds.length\")>1);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.contextIds.length"}],"byValue":false}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"aria-live":"polite","aria-atomic":"true","class":"updatedFields slds-m-top_medium slds-p-top_medium slds-border_top"}},"tag":{"descriptor":"tag","value":"section"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"updatedFieldsLabel"}},"tag":{"descriptor":"tag","value":"h3"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"$Label.MassQuickActions.updateActionFieldsToUpdate"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"updatedFieldsList"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.massQuickActionUpdateFieldList"}}}}}]}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq(cmp.get(\"v.actionType\"),\"Update\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.actionType"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.massQuickActionSubmitConfirmDialog"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return ((cmp.get(\"v.contextIds.length\")>1)&&cmp.get(\"v.recordLayoutRendered\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.contextIds.length"},{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.recordLayoutRendered"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"inlineEditRecordLayoutContainer","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"hideEl riseTransitionEnabled"}},"tag":{"descriptor":"tag","value":"div"}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.eq(cmp.get(\"v.mode\"),\"VIEW\")&&cmp.get(\"v.isInlineEditable\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.mode"},{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.isInlineEditable"}],"byValue":false}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionLayout","path":"v.priv_enable_rlb"}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:bestResult",function(){/*$A.componentService.addComponentClass("markup://forceSearch:bestResult",function(){return{meta:{name:"forceSearch$bestResult","extends":"markup://forceSearch:baseSearch",imports:{bestResultLib:"markup://forceSearch:bestResultLibrary"}},controller:{init:function(a,c,b){b.loadBestResult(a)},render:function(a,c,b){a.get("v.priv_showBestResult")&&b.bestResultLib.loadingPerf.log(a,"bestResult","render")},loadBestResult:function(a,c,b){c=c.getParam("arguments").term;a.set("v.term",c);b.loadBestResult(a)}},
helper:{loadBestResult:function(a){var c=a.get("c.getBestResult");c.setParams({term:a.get("v.term")});this.lib.logging.logPerf(a,"bestResult","MARKSTART");c.setCallback(this,$A.getCallback(function(b){this.bestResultLib.loadingPerf.log(a,"bestResult","apiResponse");var d=c.getState();b=a.get("v.loggingContext");if("SUCCESS"===d){var d=c.getReturnValue()||{},f=d.apiRequestId,e=d.record,h=d.times||[],g=d.summaryTimes||[];b.bestResultRequestId=f;b.resultType=this.lib.results.resultType.BEST_RESULT;$A.util.isEmpty(e)||
(e.id=e.Id,a.set("v.priv_apiRequestId",f),a.set("v.priv_record",e),a.set("v.priv_fields",d.fields),a.set("v.priv_scopeMap",d.scopeMap),this.bestResultLib.loadingPerf.log(a,"bestResult","displaying"),a.set("v.priv_showBestResult",!0),this.lib.logging.log(a,this.lib.interaction.SYNTHETIC_REFRESH,"search-results-container","search-results-bestResult",b,null));this.bestResultLib.loadingPerf.setAdditionalLoggingContext(a,[{name:"taskTimes",data:h},{name:"summaryTimes",data:g}]);this.lib.logging.logPerf(a,
"bestResult","MARKEND",{summaryTimes:g});this.fireBestResultChangedEvent(a,f,e)}else"ERROR"===d&&(b.error="BEST_RESULT_ACTION_ERROR");this.bestResultLib.loadingPerf.log(a,"bestResult","loaded")}).bind(this));a.set("v.priv_showBestResult",!1);this.bestResultLib.loadingPerf.initLoggingContext(a,"loadBestResult");var b=a.get("v.loggingContext")||{};b.scope="search-results-container";b.target="search-result-item";b.clickSource="bestResult";a.set("v.loggingContext",b);this.bestResultLib.loadingPerf.log(a,
"bestResult","apiRequest",[{name:"bestResult",method:"loaded"}]);c.setBackground();$A.enqueueAction(c)},fireBestResultChangedEvent:function(a,c,b){a=a.getEvent("bestResultChanged");a.setParams({apiRequestId:c,record:b});a.fire()}}}});return {"xs":"I","descriptor":"markup://forceSearch:bestResult","cd":{"descriptor":"compound://forceSearch.bestResult","ac":[{"n":"getBestResult","descriptor":"serviceComponent://ui.search.components.forcesearch.bestresult.BestResultController/ACTION$getBestResult","at":"SERVER","rt":"java://ui.search.api.models.BestResultServiceRecord","pa":[{"name":"term","type":"java://java.lang.String"}]}]},"su":"markup://forceSearch:baseSearch","ad":[["body","aura://Aura.Component[]","G",false,[]],["shouldFocus","aura://Boolean","I",false,false],["groupId","aura://String","I",true,"DEFAULT"],["updateChildren","aura://Boolean","I",true,true],["updateOnlyIfActive","aura://Boolean","I",true,true],["priv_valueProviderReady","aura://Boolean","I",false,false],["initialTerm","aura://String","I",false],["initialScopeMap","aura://Map","I",false,null],["initialContext","aura://Map","I",false,null],["inContextOfComponent","aura://String","I",false,"forceSearch:search"],["term","aura://String","I",true,""],["scopeMap","aura://Map","I",true,{}],["context","aura://Map","I",true,{}],["loggingContext","aura://Map","I",true,{}],["priv_showBestResult","aura://Boolean","I",false,false],["priv_apiRequestId","aura://String","I",false,""],["priv_record","aura://Map","I",false,{}],["priv_fields","aura://List","I",false,[]],["priv_scopeMap","aura://Map","I",false,{}]],"med":[{"name":"forceSearch:update","xs":"I","action":"{!c.update}","attributes":[["type","aura://String","I",false],["term","aura://String","I",false],["scopeMap","aura://Map","I",false,null],["context","aura://Map","I",false,null],["sourceId","aura://String","I",false]]},{"name":"forceSearch:loadBestResult","xs":"I","action":"{!c.loadBestResult}","attributes":[["term","aura://String","I",false]]}],"re":[{"ed":"markup://force:searchRequest","n":"searchRequest","xs":"I"},{"ed":"markup://forceSearch:bestResultChanged","n":"bestResultChanged","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.render"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"render"}],"fa":[{"descriptor":"updateOnlyIfActive","value":false},{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-grid slds-grid--vertical slds-card slds-m-bottom_small"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceSearch:recordPreview"},"localId":"recordPreview","attributes":{"values":{"loggingContext":{"descriptor":"loggingContext","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:bestResult","path":"v.loggingContext"}},"record":{"descriptor":"record","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:bestResult","path":"v.priv_record"}},"subtitle":{"descriptor":"subtitle","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:bestResult","path":"$Label.LightningSearchUI.RecommendedBestResult"}},"groupId":{"descriptor":"groupId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:bestResult","path":"v.groupId"}},"apiRequestId":{"descriptor":"apiRequestId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:bestResult","path":"v.priv_apiRequestId"}},"scopeMap":{"descriptor":"scopeMap","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:bestResult","path":"v.priv_scopeMap"}},"apiRequestKey":{"descriptor":"apiRequestKey","value":"bestResultRequestId"},"fields":{"descriptor":"fields","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:bestResult","path":"v.priv_fields"}}}}},{"componentDef":{"descriptor":"markup://forceSearch:bestResultFooter"},"localId":"footer","attributes":{"values":{"record":{"descriptor":"record","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:bestResult","path":"v.priv_record"}},"apiRequestId":{"descriptor":"apiRequestId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:bestResult","path":"v.priv_apiRequestId"}},"scopeMap":{"descriptor":"scopeMap","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:bestResult","path":"v.priv_scopeMap"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:bestResult","path":"v.priv_showBestResult"}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:feedSwitcher",function(){/*$A.componentService.addComponentClass("markup://forceChatter:feedSwitcher",function(){return{meta:{name:"forceChatter$feedSwitcher","extends":"markup://aura:component",imports:{methodEmitter:"markup://forceChatter:methodEmitterService"}},controller:{init:function(b,a,c){c.methodEmitter.service.on("requestFeedSwitch",b,"requestFeedSwitch",b.get("v.contextId"))},swapAndOpenSwitcher:function(b,a,c){(!a||!a.keyCode||!(13!=a.keyCode&&32!=a.keyCode&&(37>a.keyCode||40<a.keyCode)))&&b.set("v._isSwitcherLoaded",
!0)},select:function(b,a,c){a=a.getParam("selectedItem").get("v.value");c.methodEmitter.service.emit("switchFeedType",[a],b.get("v.contextId"))},requestFeedSwitch:function(b,a,c){a=a.getParam("arguments");var e=a.type.toLowerCase(),f=b.find("feedSwitcher").find("trigger");if(f&&e){c.methodEmitter.service.emit("switchFeedType",[a.type],b.get("v.contextId"));c=b.get("v.typeList");for(var d=0;d<c.length;d++){var g=c[d];if(g.value.toLowerCase()===e){f.set("v.label",g.label);break}}b.set("v.currentType",
null);b.set("v.currentType",a.type)}}}}});return {"xs":"I","descriptor":"markup://forceChatter:feedSwitcher","st":{"descriptor":"css://forceChatter.feedSwitcher","cl":"forceChatterFeedSwitcher"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["currentTypeLabel","aura://String","I",false],["currentType","aura://String","I",false],["typeList","aura://List","I",true,[]],["contextId","aura://String","I",true],["_isSwitcherLoaded","aura://Boolean","I",false,false]],"med":[{"name":"forceChatter:requestFeedSwitch","xs":"I","action":"{!c.requestFeedSwitch}","attributes":[["type","aura://String","I",false,"News"]]}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://sfa:filterMenu"},"localId":"feedSwitcher","attributes":{"values":{"filter":{"descriptor":"filter","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedSwitcher","path":"v.currentType"}},"select":{"descriptor":"select","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedSwitcher","path":"c.select"}},"visible":{"descriptor":"visible","value":true},"triggerLabel":{"descriptor":"triggerLabel","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedSwitcher","path":"v.currentTypeLabel"}},"filters":{"descriptor":"filters","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedSwitcher","path":"v.typeList"}},"class":{"descriptor":"class","value":"feed-switcher-menu"}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"filter selector feed-switcher-menu uiMenu sfaFilterMenu"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onclick":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedSwitcher","path":"c.swapAndOpenSwitcher"},"onkeydown":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedSwitcher","path":"c.swapAndOpenSwitcher"},"title":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedSwitcher","path":"v.currentTypeLabel"},"class":"trigger","onkeypress":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedSwitcher","path":"c.swapAndOpenSwitcher"}}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedSwitcher","path":"v.currentTypeLabel"}}}}},{"componentDef":{"descriptor":"markup://force:icon"},"localId":"triggerIcon","attributes":{"values":{"imageType":{"descriptor":"imageType","value":"decorative"},"class":{"descriptor":"class","value":"slds-button__icon slds-button__icon--right slds-no-flex"},"key":{"descriptor":"key","value":"chevrondown"}}}}]}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(cmp.get(\"v._isSwitcherLoaded\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedSwitcher","path":"v._isSwitcherLoaded"}],"byValue":false}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:preamble",function(){/*$A.componentService.addComponentClass("markup://forceChatter:preamble",function() {
return {
  "meta":{
    "name":"forceChatter$preamble",
    "extends":"markup://forceChatter:messageSegments"
  }
};
});
return {"xs":"I","descriptor":"markup://forceChatter:preamble","su":"markup://forceChatter:messageSegments","ad":[["body","aura://Aura.Component[]","G",false,[]],["feedDesign","aura://String","I",false,"BROWSE"],["data","aura://Object","I",true,null],["class","aura://String","I",false],["isTopicsEnabled","aura://Boolean","I",false,false],["truncate","aura://Boolean","I",false,false],["maxLength","aura://Integer","I",false,150],["truncatedMessage","aura://String","I",false],["onTruncatedMessageClick","aura://Aura.Action","I",false,null],["useHeightTruncation","aura://Boolean","I",false,true],["communityId","aura://String","I",false],["disableHover","aura://Boolean","I",false,false],["_isTruncated","aura://Boolean","I",false,false],["_hasImage","aura://Boolean","p",false,false]],"fa":[{"descriptor":"class","value":"cuf-preamble"},{"descriptor":"maxLength","value":0},{"descriptor":"truncate","value":false}],"css":true}*/});
$A.componentService.addComponent("markup://ui:list",function(){/*$A.componentService.addComponentClass("markup://ui:list",function(){return{meta:{name:"ui$list","extends":"markup://ui:abstractList"},controller:{init:function(b){var a=b.get("v.dataProvider[0]");a&&a.getModel()&&b.set("v.items",a.get("m.items"))},iterationComplete:function(b,a){b.get("e.listComplete").fire(a.getParams())}}}});return {"xs":"I","descriptor":"markup://ui:list","su":"markup://ui:abstractList","ad":[["body","aura://Aura.Component[]","G",false,[]],["class","aura://String","G",false],["dir","aura://String","I",false,"ltr"],["namespaceOverride","aura://String","I",false],["actionable","aura://Boolean","I",false,true],["role","aura://String","I",false],["ariaDescribedBy","aura://String","PP",false,""],["value","aura://Object","PP",false,null],["visible","aura://Boolean","I",false,true],["currentPage","aura://Integer","PP",false,1],["endIndex","aura://Integer","I",false,-1],["pageCount","aura://Integer","PP",false,0],["pageSize","aura://Integer","PP",false,25],["startIndex","aura://Integer","I",false,-1],["totalItems","aura://Integer","PP",false,0],["type","aura://String","I",false],["itemTemplate","aura://Aura.ComponentDefRef[]","I",true,[]],["items","aura://Object[]","PP",false,[]],["itemVar","aura://String","I",true],["dataProvider","aura://Aura.Component[]","PP",true,[]],["emptyListContent","aura://Aura.Component[]","I",false,[]],["loadingIndicator","aura://Aura.Component[]","PP",false,[]],["header","aura://Aura.Component[]","I",false,[]],["footer","aura://Aura.Component[]","I",false,[]]],"re":[{"ed":"markup://ui:click","n":"click","xs":"G"},{"ed":"markup://ui:dblclick","n":"dblclick","xs":"G"},{"ed":"markup://ui:mousedown","n":"mousedown","xs":"G"},{"ed":"markup://ui:mousemove","n":"mousemove","xs":"G"},{"ed":"markup://ui:mouseout","n":"mouseout","xs":"G"},{"ed":"markup://ui:mouseover","n":"mouseover","xs":"G"},{"ed":"markup://ui:mouseup","n":"mouseup","xs":"G"},{"ed":"markup://ui:dataProvide","n":"triggerDataProvider","xs":"I"},{"ed":"markup://ui:addRemove","n":"addRemove","xs":"I"},{"ed":"markup://aura:operationComplete","n":"listComplete","xs":"I"},{"ed":"markup://ui:refresh","n":"refresh","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"PROPERTY","byValue":false,"target":"ui:list","path":"v.class"}}},"tag":{"descriptor":"tag","value":"ul"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:iteration"},"attributes":{"values":{"template":{"descriptor":"template","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:list","path":"v.itemTemplate"}},"var":{"descriptor":"var","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:list","path":"v.itemVar"}},"iterationComplete":{"descriptor":"iterationComplete","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:list","path":"c.iterationComplete"}},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:list","path":"v.items"}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:searchInputListHeader",function(){/*$A.componentService.addComponentClass("markup://forceSearch:searchInputListHeader",function() {
return {
  "meta":{
    "name":"forceSearch$searchInputListHeader",
    "extends":"markup://aura:component"
  }
};
});
return {"xs":"I","descriptor":"markup://forceSearch:searchInputListHeader","st":{"descriptor":"css://forceSearch.searchInputListHeader","cl":"forceSearchSearchInputListHeader"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["term","aura://String","I",true,""],["scopeMap","aura://Map","I",true,{}],["context","aura://Map","I",true,{}],["selectable","aura://Boolean","I",false,true],["class","aura://String","G",false],["dir","aura://String","I",false,"ltr"],["namespaceOverride","aura://String","I",false],["actionable","aura://Boolean","I",false,true],["role","aura://String","I",false],["ariaDescribedBy","aura://String","PP",false,""],["value","aura://Object","PP",false,null],["visible","aura://Boolean","I",false,true],["filtered","aura://Boolean","I",false,false]],"i":["markup://forceSearch:searchInterface","markup://forceSearch:firesSearchRequest","markup://ui:autocompleteListSelectable","markup://ui:visible"],"re":[{"ed":"markup://force:searchRequest","n":"searchRequest","xs":"I"},{"ed":"markup://ui:click","n":"click","xs":"G"},{"ed":"markup://ui:dblclick","n":"dblclick","xs":"G"},{"ed":"markup://ui:mousedown","n":"mousedown","xs":"G"},{"ed":"markup://ui:mousemove","n":"mousemove","xs":"G"},{"ed":"markup://ui:mouseout","n":"mouseout","xs":"G"},{"ed":"markup://ui:mouseover","n":"mouseover","xs":"G"},{"ed":"markup://ui:mouseup","n":"mouseup","xs":"G"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.join(\" \",cmp.get(\"v.class\"),(cmp.get(\"v.visible\")?\"listHeader \":\"slds-hide\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchInputListHeader","path":"v.visible"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchInputListHeader","path":"v.class"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:searchInputListHeader","path":"$Label.LightningSearchUI.MRURecentRecords"}}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.format($A.get(\"$Label.LightningSearchUI.MRUObjectRecent\"),cmp.get(\"v.scopeMap.labelPlural\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchInputListHeader","path":"$Label.LightningSearchUI.MRUObjectRecent"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchInputListHeader","path":"v.scopeMap.labelPlural"}],"byValue":false}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchInputListHeader","path":"v.filtered"}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:streamsListingNavigation",function(){/*$A.componentService.addComponentClass("markup://forceChatter:streamsListingNavigation",function(){return{meta:{name:"forceChatter$streamsListingNavigation","extends":"markup://aura:component"},controller:{navigateOnClick:function(a,b,c){a=b.templateItem.id;$A.getEvt("markup://force:navigateToSObject").setParams({recordId:a,sObjectName:"Streams"}).fire();$A.getEvt("markup://forceChatter:streamClicked").setParams({stream:{description:b.templateItem.description,feedType:"Streams",label:b.templateItem.name,
subjectId:a}}).fire()}}}});return {"xs":"I","descriptor":"markup://forceChatter:streamsListingNavigation","st":{"descriptor":"css://forceChatter.streamsListingNavigation","cl":"forceChatterStreamsListingNavigation"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["listedItem","aura://Object","I",true,null]],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onclick":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamsListingNavigation","path":"c.navigateOnClick"},"class":"slds-m-horizontal--x-small qe-streamslist-nav"}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamsListingNavigation","path":"v.listedItem.name"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.listedItem.isCommunity\")?null:\"slds-hide\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamsListingNavigation","path":"v.listedItem.isCommunity"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"externalStream"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:text"},"attributes":{"values":{"value":{"descriptor":"value","value":" ("}}}},{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamsListingNavigation","path":"v.listedItem.community.name"}}}}},{"componentDef":{"descriptor":"markup://aura:text"},"attributes":{"values":{"value":{"descriptor":"value","value":")"}}}}]}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://emailui:oauthSplash",function(){/*$A.componentService.addComponentClass("markup://emailui:oauthSplash",function(){return{meta:{name:"emailui$oauthSplash","extends":"markup://aura:component",imports:{emailStreamLib:"markup://emailStream:common"}},controller:{init:function(a,b,e){$A.createComponent("markup://runtime_sales_easy:eacDockingComposerWrapper",{},function(b,c,e){if("SUCCESS"===c)a.set("v.eacDockingComposerWrapper",b);else if("INCOMPLETE"===c)$A.getEvt("markup://force:showOfflineMessage").fire();else if("ERROR"===c)throw Error("Error trying to create the runtime_sales_easy:eacDockingComposerWrapper component. "+
e);})},getSenderPrefs:function(a,b,e){var f=a.get("c.getSendViaExternalServiceUserPreference");f.setCallback(this,function(c){var b=c.getState();if("SUCCESS"===b){c=c.getReturnValue();a.set("v.externalSenderPrefs",c);a.set("v.isEACOnEasyEnabled",c.isEACOnEasyEnabled);b="ListEmail"===a.get("v.parentAction");if(b=e.userNeedsOauth(c,b)){var d=e.userNeedsInboxConnector(c);d?(a.set("v.needsInboxConnector",d),d=e.getInboxConnectorMessageLabels(c),a.set("v.inboxConnectorTitle",$A.get(d.title)),a.set("v.inboxConnectorMessage",
$A.get(d.message)),a.set("v.inboxConnectorMessage2",$A.get(d.message2)),a.set("v.inboxConnectorButtonText",$A.get(d.button))):(d=a.find("externalEmailAuthenticator"))&&d.setButtonTitleMessages&&d.setButtonTitleMessages()}(d=a.getEvent("senderPrefsReady"))&&d.setParams({prefs:c,userNeedsOauth:b}).fire()}else"INCOMPLETE"===b&&(c.isFromStorage()||$A.getEvt("markup://force:showOfflineMessage").setParams({retryAction:f}).fire())});$A.enqueueAction(f)},useSalesforceSender:function(a){var b=a.get("v.externalSenderPrefs");
b.isSendViaGmailEnabled=!1;b.isSendViaExchangeEnabled=!1;a.set("v.externalSenderPrefs",b)}},helper:{LABELS:{title:{WithDS:"$Label.SalesforceInboxOAuthConfirm.Title_AcceptTOS",NoDS:"$Label.SalesforceInboxOAuthConfirm.Title"},message:{Inbox:"$Label.SalesforceInboxOAuthConfirm.Message_Inbox",EAC:"$Label.SalesforceInboxOAuthConfirm.Message_EAC",InboxAndEAC:"$Label.SalesforceInboxOAuthConfirm.Message_InboxAndEAC",SelfService:"$Label.SalesforceInboxOAuthConfirm.SelfServiceLabel"},message2:{WithDS:"$Label.SalesforceInboxOAuthConfirm.Message2_AcceptTOS",
NoDS:"$Label.SalesforceInboxOAuthConfirm.Message2",SelfService:"$Label.SalesforceInboxOAuthConfirm.SelfServiceLabel2"},button:{WithDS:"$Label.SalesforceInboxOAuthConfirm.ReviewTermsOfServiceButton",NoDS:"$Label.SalesforceInboxOAuthConfirm.ConnectToButton"}},userNeedsOauth:function(a,b){return!a||b&&!a.isListEmailViaExternalEnabled?!1:this.userNeedsInboxConnector(a)||this.userNeedsExternalEmailServiceConnector(a)},userNeedsInboxConnector:function(a){return!a.userHasEmailStreamEnabled&&!a.userHasInboxEnabled||
a.userHasGlobalDataSourceConnected?!1:this.hasRemainingTerms(a)||!a.userHasSIQDataSourceConnected},userNeedsExternalEmailServiceConnector:function(a){return(a.isSendViaExchangeEnabled||a.isSendViaGmailEnabled)&&!a.isUserAuthorizedToSendViaExternalEmail},hasRemainingTerms:function(a){return!!this.emailStreamLib.utils.oauth.calculateRemainingTerms(a.userHasEmailStreamEnabled,a.userHasInboxEnabled,a.userHasEACTermsAccepted,a.userHasInboxTermsAccepted)},getInboxConnectorMessageLabels:function(a){var b,
e="NoDS",f="NoDS";b=a.userHasEmailStreamEnabled&&a.userHasInboxEnabled?"InboxAndEAC":a.userHasEmailStreamEnabled?"EAC":"Inbox";a.userHasSIQDataSourceConnected&&(e=f="WithDS");a.orgHasSelfServiceEmailConnect&&(e=b="SelfService");return{title:this.LABELS.title[f],message:this.LABELS.message[b],message2:this.LABELS.message2[e],button:this.LABELS.button[f]}}}}});return {"xs":"I","descriptor":"markup://emailui:oauthSplash","cd":{"descriptor":"compound://emailui.oauthSplash","ac":[{"n":"setUserPreferenceEmailTransportTypeToSalesforce","descriptor":"serviceComponent://ui.email.components.aura.components.emailcomposer.EmailComposerController/ACTION$setUserPreferenceEmailTransportTypeToSalesforce","at":"SERVER","rt":"java://java.lang.Boolean","pa":[]},{"n":"getCaseContactId","descriptor":"serviceComponent://ui.email.components.aura.components.emailcomposer.EmailComposerController/ACTION$getCaseContactId","at":"SERVER","rt":"java://java.lang.String","pa":[{"name":"caseId","type":"java://java.lang.String"}]},{"n":"getSendViaExternalServiceUserPreference","descriptor":"serviceComponent://ui.email.components.aura.components.emailcomposer.EmailComposerController/ACTION$getSendViaExternalServiceUserPreference","at":"SERVER","rt":"java://java.util.Map","pa":[]},{"n":"getExternalEmailAuthorizeURL","descriptor":"serviceComponent://ui.email.components.aura.components.emailcomposer.EmailComposerController/ACTION$getExternalEmailAuthorizeURL","at":"SERVER","rt":"java://java.lang.String","pa":[{"name":"targetURL","type":"java://java.lang.String"}]},{"n":"getNamesFromLooseRecipients","descriptor":"serviceComponent://ui.email.components.aura.components.emailcomposer.EmailComposerController/ACTION$getNamesFromLooseRecipients","at":"SERVER","rt":"java://java.util.List","pa":[{"name":"ids","type":"java://java.util.List<java.lang.String>"}]},{"n":"renderEmailTemplate","descriptor":"serviceComponent://ui.email.components.aura.components.emailcomposer.EmailComposerController/ACTION$renderEmailTemplate","at":"SERVER","rt":"java://ui.services.connection.models.api.RenderEmailTemplateResult","pa":[{"name":"whoId","type":"java://java.lang.String"},{"name":"whatId","type":"java://java.lang.String"},{"name":"emailBody","type":"java://java.lang.String"}]},{"n":"renderEnhancedTemplate","descriptor":"serviceComponent://ui.email.components.aura.components.emailcomposer.EmailComposerController/ACTION$renderEnhancedTemplate","at":"SERVER","rt":"java://java.util.List","pa":[{"name":"whoId","type":"java://java.lang.String"},{"name":"whatId","type":"java://java.lang.String"},{"name":"emailBody","type":"java://java.lang.String"}]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["parentAction","aura://String","I",false,""],["externalSenderPrefs","aura://Object","p",false,null],["quickActionSubjectId","aura://String","I",false],["needsInboxConnector","aura://Boolean","p",false],["inboxConnectorTitle","aura://String","p",false],["inboxConnectorMessage","aura://String","p",false],["inboxConnectorMessage2","aura://String","p",false],["inboxConnectorButtonText","aura://String","p",false],["isEACOnEasyEnabled","aura://String","p",false],["eacDockingComposerWrapper","aura://Aura.Component","p",false,null]],"med":[{"name":"emailui:getSenderPrefs","xs":"G","action":"{!c.getSenderPrefs}"}],"re":[{"ed":"markup://emailui:senderPrefsReady","n":"senderPrefsReady","xs":"I"}],"hd":[{"ed":{"descriptor":"markup://emailui:useSalesforceSender"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.useSalesforceSender"},"n":"useSalesforceSender"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"}],"ld":{"salesforceInboxConnector":{},"externalEmailAuthenticator":{}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"emailComposerEmailAuthenticator","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://emailui:externalEmailAuthenticator"},"localId":"externalEmailAuthenticator","attributes":{"values":{"isSendViaExchangeEnabled":{"descriptor":"isSendViaExchangeEnabled","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:oauthSplash","path":"v.externalSenderPrefs.isSendViaExchangeEnabled"}},"recordId":{"descriptor":"recordId","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:oauthSplash","path":"v.quickActionSubjectId"}},"isSendViaGmailEnabled":{"descriptor":"isSendViaGmailEnabled","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:oauthSplash","path":"v.externalSenderPrefs.isSendViaGmailEnabled"}},"parentAction":{"descriptor":"parentAction","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:oauthSplash","path":"v.parentAction"}},"isDocked":{"descriptor":"isDocked","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq(cmp.get(\"v.quickActionSubjectId\"),null);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"emailui:oauthSplash","path":"v.quickActionSubjectId"}],"byValue":false}}}}}]}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://emailui:salesforceInboxConnector"},"localId":"salesforceInboxConnector","attributes":{"values":{"buttonText":{"descriptor":"buttonText","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:oauthSplash","path":"v.inboxConnectorButtonText"}},"title":{"descriptor":"title","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:oauthSplash","path":"v.inboxConnectorTitle"}},"message":{"descriptor":"message","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:oauthSplash","path":"v.inboxConnectorMessage"}},"message2":{"descriptor":"message2","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:oauthSplash","path":"v.inboxConnectorMessage2"}}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:oauthSplash","path":"v.eacDockingComposerWrapper"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:oauthSplash","path":"v.isEACOnEasyEnabled"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:oauthSplash","path":"v.needsInboxConnector"}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://runtime_sales_activities:siqCherrypickingSettingsConfirmationBody",function(){/*$A.componentService.addComponentClass("markup://runtime_sales_activities:siqCherrypickingSettingsConfirmationBody",function(){return{meta:{name:"runtime_sales_activities$siqCherrypickingSettingsConfirmationBody","extends":"markup://aura:component"},controller:{init:function(a,b,c){b="";b=a.get("v.isPrivate")?$A.get("$Label.activityTimeline.privateWarningBody"):$A.get("$Label.activityTimeline.everyoneWarningBody");a.set("v.bodyText",c.customizeBodyText(b,a.get("v.userName"),a.get("v.numOthers")))}},
helper:{customizeBodyText:function(a,b,c){a=a.replace("{0}",b);if(!c||!parseInt(c))return a.replace("{1}","");if(1===parseInt(c))return a.replace("{1}",$A.get("$Label.activityTimeline.plusOneOther"));b=$A.get("$Label.activityTimeline.plusNOthers").replace("{0}",c);return a.replace("{1}",b)}}}});return {"xs":"I","descriptor":"markup://runtime_sales_activities:siqCherrypickingSettingsConfirmationBody","ad":[["body","aura://Aura.Component[]","G",false,[]],["isPrivate","aura://Boolean","I",false],["userName","aura://String","I",false],["numOthers","aura://String","I",false],["bodyText","aura://String","I",false]],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:siqCherrypickingSettingsConfirmationBody","path":"v.bodyText"}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:recommendationBaseWidget",function(){/*$A.componentService.addComponentClass("markup://forceChatter:recommendationBaseWidget",function(){return{meta:{name:"forceChatter$recommendationBaseWidget","extends":"markup://aura:component"},controller:{init:function(a,c,d){$A.util.isUndefinedOrNull(a.get("v.recommendationsList"))&&d.loadRecommendations(a.getConcreteComponent())},clearCache:function(a,c,d){a=a.getConcreteComponent()._loadParams;$A.clientService.invalidateAction("serviceComponent://ui.chatter.components.aura.components.forceChatter.recommend.RecommendationWidgetController/ACTION$loadRecommendations",
a,function(a){a?$A.log("recommendationsWidget.cmp cache invalidated"):$A.log("recommendationsWidget.cmp unable to clear cache")})}},helper:{loadRecommendations:function(a){var c=a.get("c.loadRecommendations"),d={channelString:a.get("v.channel"),recommendationTypes:a.get("v.recommendationTypes"),maxResults:a.get("v.maxResults")};a._loadParams=d;c.setParams(d);c.setStorable();c.setBackground();c.setCallback(this,function(b){if(a.isValid()){if("SUCCESS"===b.getState()&&b.getReturnValue())b=b.getReturnValue(),
a.set("v.recommendationsList",b),a.helper.recommendationsLoaded(a);else if("INCOMPLETE"===b.getState())$A.getEvt("markup://force:showOfflineMessage").setParams({retryAction:b}).fire();else if(b=b.getError(),0<b.length){var c=$A.getEvt("markup://force:showMessage");c.setParams({message:b[0].message});c.fire()}$A.util.addClass(a,"loaded");a.set("v._recommendationsLoaded",!0)}});$A.enqueueAction(c)},recommendationsLoaded:function(a){}}}});return {"xs":"I","descriptor":"markup://forceChatter:recommendationBaseWidget","cd":{"descriptor":"compound://forceChatter.recommendationBaseWidget","ac":[{"n":"loadRecommendations","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.recommend.RecommendationWidgetController/ACTION$loadRecommendations","at":"SERVER","rt":"java://java.util.List","pa":[{"name":"channelString","type":"java://sfdc.chatter.connect.api.enums.reccs.ConnectRecommendationChannel","loggable":true},{"name":"recommendationTypes","type":"java://java.util.List<java.lang.String>","loggable":true},{"name":"maxResults","type":"java://int","loggable":true}]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["recommendationsList","aura://Object","I",false,null],["channel","aura://String","I",false],["maxResults","aura://Integer","I",false,20],["placeHolder","aura://Aura.Component[]","I",false,[]],["_recommendationsLoaded","aura://Boolean","I",false,false]],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"ed":{"descriptor":"markup://forceChatter:recommendationClearCache"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.clearCache"}}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationBaseWidget","path":"v.placeHolder"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationBaseWidget","path":"v._recommendationsLoaded"}}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationBaseWidget","path":"v.body"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.recommendationsList.length\")>0);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationBaseWidget","path":"v.recommendationsList.length"}],"byValue":false}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:topicList",function(){/*$A.componentService.addComponentClass("markup://forceChatter:topicList",function() {
return {
  "meta":{
    "name":"forceChatter$topicList",
    "extends":"markup://aura:component"
  }
};
});
return {"xs":"I","descriptor":"markup://forceChatter:topicList","st":{"descriptor":"css://forceChatter.topicList","cl":"forceChatterTopicList"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["title","aura://String","I",true],["dataProvider","aura://Aura.Component[]","I",true,[]],["emptyMessage","aura://String","I",false],["listClass","aura://String","I",false],["listItemClass","aura://String","I",false],["topicLinkClass","aura://String","I",false],["isMetricVisible","aura://Boolean","I",false,false]],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:list"},"attributes":{"values":{"emptyListContent":{"descriptor":"emptyListContent","value":[{"componentDef":{"descriptor":"markup://ui:outputText"},"attributes":{"values":{"class":{"descriptor":"class","value":"emptyMessage"},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:topicList","path":"v.emptyMessage"}}}}}]},"itemVar":{"descriptor":"itemVar","value":"row"},"itemTemplate":{"descriptor":"itemTemplate","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(fn.add(cmp.get(\"v.listItemClass\"),\" \"),\"slds-item\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:topicList","path":"v.listItemClass"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"li"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:entityLink"},"attributes":{"values":{"data":{"descriptor":"data","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:topicList","path":"row"}},"class":{"descriptor":"class","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:topicList","path":"v.topicLinkClass"}}}}}]}}}}]},"class":{"descriptor":"class","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:topicList","path":"v.listClass"}},"dataProvider":{"descriptor":"dataProvider","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:topicList","path":"v.dataProvider"}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:deleteFeedItemAction",function(){/*$A.componentService.addComponentClass("markup://forceChatter:deleteFeedItemAction",function(){return{meta:{name:"forceChatter$deleteFeedItemAction","extends":"markup://aura:component",imports:{feedLib:"markup://forceChatter:feedLib"}},controller:{run:function(a,b,c){b=a.get("c.deleteFeedItem");var d=a.get("v.recordId");b.setParams({feedItemId:d});c.showSpinner();b.setCallback(a,function(a){"SUCCESS"===a.getState()?$A.getEvt("markup://forceChatter:feedItemDeleted").setParams({feedItemId:d}).fire():
"INCOMPLETE"===a.getState()?$A.getEvt("markup://force:showOfflineMessage").setParams({retryAction:a}).fire():c.fireActionErrorMessage(a);c.hideSpinner()});$A.enqueueAction(b)}},helper:{fireActionErrorMessage:function(a){a=a.getError();if($A.util.isArray(a)){for(var b=[],c=0;c<a.length;c++)b.push(a[c].message);$A.util.isEmpty(b)||(a=b.join(" "),this.fireErrorMessage(a))}},fireErrorMessage:function(a){var b=$A.getEvt("markup://force:showMessage");b.setParams({message:a,severity:"error"});b.fire()},
showSpinner:function(){$A.getEvt("markup://force:toggleModalSpinner").setParams({isVisible:!0}).fire()},hideSpinner:function(){$A.getEvt("markup://force:toggleModalSpinner").setParams({isVisible:!1}).fire()}}}});return {"xs":"I","descriptor":"markup://forceChatter:deleteFeedItemAction","cd":{"descriptor":"compound://forceChatter.deleteFeedItemAction","ac":[{"n":"deleteFeedItem","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$deleteFeedItem","at":"SERVER","rt":"java://void","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true}]},{"n":"isFeedItemEditableByMe","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$isFeedItemEditableByMe","at":"SERVER","rt":"java://boolean","pa":[{"name":"feedItemId","type":"java://java.lang.String"}]},{"n":"updateCloseStatus","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$updateCloseStatus","at":"SERVER","rt":"java://void","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"communityId","type":"java://java.lang.String"},{"name":"isClosed","type":"java://boolean"}]},{"n":"updatePinStatus","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$updatePinStatus","at":"SERVER","rt":"java://void","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"feedType","type":"java://java.lang.String"},{"name":"subjectId","type":"java://java.lang.String"},{"name":"isPinned","type":"java://boolean"}]},{"n":"updateVisibility","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$updateVisibility","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.feeds.AbstractFeedElementRepresentation","pa":[{"name":"feedItemInput","type":"java://sfdc.chatter.connect.api.input.feeds.FeedItemInputRepresentation"},{"name":"feedItemId","type":"java://java.lang.String","loggable":true}]},{"n":"updateBookmark","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$updateBookmark","at":"SERVER","rt":"java://boolean","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"hasBookmark","type":"java://boolean"},{"name":"communityId","type":"java://java.lang.String","loggable":true}]},{"n":"updateMute","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$updateMute","at":"SERVER","rt":"java://void","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"isMuted","type":"java://boolean"}]},{"n":"getFeedItemActions","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$getFeedItemActions","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"feedItemId","type":"java://java.lang.String"}]},{"n":"getFeedEntityIsEditableByMe","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$getFeedEntityIsEditableByMe","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.feeds.FeedEntityIsEditableRepresentation","pa":[{"name":"feedItemId","type":"java://java.lang.String"},{"name":"communityId","type":"java://java.lang.String","loggable":true}]},{"n":"setBestAnswer","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$setBestAnswer","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.feeds.QuestionAndAnswersCapabilityRepresentation","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"commentId","type":"java://java.lang.String","loggable":true},{"name":"communityId","type":"java://java.lang.String","loggable":true}]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["context","aura://Object","I",false,null],["recordId","aura://String","I",false]],"i":["markup://force:runnable"],"re":[{"ed":"markup://force:run","n":"run","xs":"I"},{"ed":"markup://force:run","n":"afterRun","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.run"},"n":"run"}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:inputDesktopPillWrapper",function(){/*$A.componentService.addComponentClass("markup://forceSearch:inputDesktopPillWrapper",function(){return{meta:{name:"forceSearch$inputDesktopPillWrapper","extends":"markup://aura:component",imports:{lib:"markup://forceSearch:searchLibrary"}},controller:{init:function(a,c,b){b.updateFilterLabels(a)},handlePillEvent:function(a,c,b){var d=c.getParam("value")||{};c=d.action;d=d.id;c&&d&&"delete"===c&&(b.logPillAction(a,d,b.lib.interaction.SYNTHETIC_PILL_REMOVE),d===b.ADVANCED_PILL&&(a.set("v.priv_advancedVisible",
!1),a.set("v.priv_advancedEnabled",!1),a.getEvent("advancedPillRemoved").fire()))},advancedVisible:function(a,c,b){arguments=c.getParam("arguments");var d=void 0!==arguments.visible?arguments.visible:!1,e=void 0!==arguments.enabled?arguments.enabled:!1;if(a.get("v.priv_advancedVisible")!==d||a.get("v.priv_advancedEnabled")!==e)a.set("v.priv_advancedVisible",d),a.set("v.priv_advancedEnabled",e),b.logPillAction(a,b.ADVANCED_PILL,d||e?b.lib.interaction.SYNTHETIC_PILL_ADD:b.lib.interaction.SYNTHETIC_PILL_REMOVE)},
handleAdvancedClick:function(a,c,b){a.get("v.priv_advancedVisible")&&a.get("v.priv_advancedEnabled")&&a.getEvent("advancedSelected").fire()},handleTotalFiltersChange:function(a,c,b){b.updateFilterLabels(a)},focus:function(a,c,b){a.get("v.priv_advancedVisible")&&a.get("v.priv_advancedEnabled")&&(a=a.find("advancedPill"))&&a.focus()}},helper:{ADVANCED_PILL:"ADVANCED_PILL",updateFilterLabels:function(a){var c=a.get("v.totalFilters"),b=1===c?$A.get("$Label.LightningSearchUI.SingleFilter"):$A.get("$Label.LightningSearchUI.ManyFilters").replace("{0}",
c);a.set("v.priv_filterLabel",b);a.set("v.priv_removeFilterLabel",$A.get("$Label.LightningSearchUI.RemoveAdvancedFilters").replace("{0}",c))},logPillAction:function(a,c,b){if(!$A.util.isEmpty(b)&&!$A.util.isEmpty(c)){var d={},e;switch(c){case this.ADVANCED_PILL:e="search-advanced-pill-item",d.visible=a.get("v.priv_advancedVisible"),d.enabled=a.get("v.priv_advancedEnabled")}this.lib.logging.log(a,b,"search-input-desktop",e,d)}}}}});return {"xs":"I","descriptor":"markup://forceSearch:inputDesktopPillWrapper","st":{"descriptor":"css://forceSearch.inputDesktopPillWrapper","cl":"forceSearchInputDesktopPillWrapper"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["term","aura://String","I",true,""],["scopeMap","aura://Map","I",true,{}],["context","aura://Map","I",true,{}],["totalFilters","aura://Integer","I",false,0],["priv_advancedVisible","aura://Boolean","I",false,false],["priv_advancedEnabled","aura://Boolean","I",false,true],["priv_filterLabel","aura://String","I",false],["priv_removeFilterLabel","aura://String","I",false]],"med":[{"name":"forceSearch:advancedVisible","xs":"I","action":"{!c.advancedVisible}","attributes":[["visible","aura://Boolean","I",false,"true"],["enabled","aura://Boolean","I",false,"false"]]},{"name":"forceSearch:focus","xs":"I","action":"{!c.focus}"}],"i":["markup://forceSearch:searchInterface","markup://forceSearch:firesSearchRequest"],"re":[{"ed":"markup://force:searchRequest","n":"searchRequest","xs":"I"},{"ed":"markup://ui:change","n":"advancedPillRemoved","xs":"I"},{"ed":"markup://ui:change","n":"advancedSelected","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleTotalFiltersChange"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.totalFilters"},"n":"change"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-grid slds-no-flex slds-m-right--xx-small"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"advancedPillWrapper","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.join(\" \",\"slds-col\",(cmp.get(\"v.priv_advancedEnabled\")?\"\":\"disabled\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktopPillWrapper","path":"v.priv_advancedEnabled"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:pill"},"localId":"advancedPill","attributes":{"values":{"showDelete":{"descriptor":"showDelete","value":true},"accessibleDeleteLabel":{"descriptor":"accessibleDeleteLabel","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktopPillWrapper","path":"v.priv_removeFilterLabel"}},"active":{"descriptor":"active","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.priv_advancedVisible\")&&cmp.get(\"v.priv_advancedEnabled\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktopPillWrapper","path":"v.priv_advancedVisible"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktopPillWrapper","path":"v.priv_advancedEnabled"}],"byValue":false}},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktopPillWrapper","path":"v.priv_filterLabel"}},"id":{"descriptor":"id","value":"ADVANCED_PILL"},"click":{"descriptor":"click","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktopPillWrapper","path":"c.handleAdvancedClick"}},"onHandledEvent":{"descriptor":"onHandledEvent","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktopPillWrapper","path":"c.handlePillEvent"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktopPillWrapper","path":"v.priv_advancedVisible"}}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://force:entityBannerPhotoDetail",function(){/*$A.componentService.addComponentClass("markup://force:entityBannerPhotoDetail",function(){return{meta:{name:"force$entityBannerPhotoDetail","extends":"markup://aura:component"},controller:{init:function(b,a,c){a=b.get("c.getEntityBannerPhotoDetails");if(c=b.get("v.recordId"))a.setParams({recordId:c}),a.setCallback(this,function(a){var c=a.getState();"SUCCESS"===c?(a=a.getReturnValue(),b.isValid()&&(b.priv_photoActions=a.bannerPhotoActions,b.set("v.actions",a.bannerPhotoActions),a.editable&&(a=b.find("photoTitle\u200bContainer"),
$A.util.removeClass(a,"hidePhotoTitle")))):"ERROR"===c&&$A.getEvt("markup://force:showMessage").setParams({message:$A.util.isUndefinedOrNull(a.getError()[0])?"":a.getError()[0].message,severity:"error"}).fire()}),$A.enqueueAction(a)},showEntityBannerPhotoActions:function(b){b=b.priv_photoActions;if(!$A.util.isUndefinedOrNull(b)&&1==b.length){var a=b[0].executionComponent;b=a.attributes;a=$A.get("e."+a.descriptor);$A.util.isUndefinedOrNull(b)||a.setParams(b);a.fire()}},setMenuListeners:function(b,
a,c){(b=b.find("actionMenuList"))&&b.helper.setEventHandlersOnChildren(b)}}}});return {"xs":"I","descriptor":"markup://force:entityBannerPhotoDetail","st":{"descriptor":"css://force.entityBannerPhotoDetail","cl":"forceEntityBannerPhotoDetail"},"cd":{"descriptor":"compound://force.entityBannerPhotoDetail","ac":[{"n":"getEntityBannerPhotoDetails","descriptor":"serviceComponent://ui.force.components.controllers.entityBannerPhoto.EntityBannerPhotoDetailController/ACTION$getEntityBannerPhotoDetails","at":"SERVER","rt":"java://ui.force.components.controllers.entityBannerPhoto.EntityBannerPhotoDetailController$EntityBannerPhotoDetails","pa":[{"name":"recordId","type":"java://java.lang.String"}]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["recordId","aura://String","I",false],["actions","java://ui.services.models.Action","I",false,null]],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"}],"ld":{"entityBannerPhotoActions":{},"actionMenuTrigger":{},"actionsMenuItem":{}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"entityBannerPhotoActions","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onclick":{"exprType":"PROPERTY","byValue":false,"target":"force:entityBannerPhotoDetail","path":"c.showEntityBannerPhotoActions"},"href":"javascript:void(0);","class":"photoAnchor"}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"photoTitle\u200bContainer","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"hidePhotoTitle"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:icon"},"attributes":{"values":{"size":{"descriptor":"size","value":"small"},"alt":{"descriptor":"alt","value":{"exprType":"PROPERTY","byValue":false,"target":"force:entityBannerPhotoDetail","path":"$Label.PhotoUpload.titleForUpdateBannerPhoto"}},"class":{"descriptor":"class","value":"bannerPhotoIcon"},"key":{"descriptor":"key","value":"photo"}}}}]}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq(cmp.get(\"v.actions.length\"),1);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:entityBannerPhotoDetail","path":"v.actions.length"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:menu"},"localId":"actionMenu","attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:menuTriggerLink"},"localId":"actionMenuTrigger","attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"photoTitle\u200bContainer","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"hidePhotoTitle"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:icon"},"attributes":{"values":{"size":{"descriptor":"size","value":"small"},"alt":{"descriptor":"alt","value":{"exprType":"PROPERTY","byValue":false,"target":"force:entityBannerPhotoDetail","path":"$Label.PhotoUpload.titleForUpdateBannerPhoto"}},"class":{"descriptor":"class","value":"bannerPhotoIcon"},"key":{"descriptor":"key","value":"photo"}}}}]}}}}]},"class":{"descriptor":"class","value":"photoAnchor"}}}},{"componentDef":{"descriptor":"markup://ui:menuList"},"localId":"actionsMenuList","flavor":"right, default","attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:iteration"},"attributes":{"values":{"var":{"descriptor":"var","value":"action"},"iterationComplete":{"descriptor":"iterationComplete","value":{"exprType":"PROPERTY","byValue":false,"target":"force:entityBannerPhotoDetail","path":"c.setMenuListeners"}},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://objectManager:actionsMenuItem"},"localId":"actionsMenuItem","attributes":{"values":{"action":{"descriptor":"action","value":{"exprType":"PROPERTY","byValue":false,"target":"force:entityBannerPhotoDetail","path":"action"}},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"force:entityBannerPhotoDetail","path":"action.label"}}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"force:entityBannerPhotoDetail","path":"v.actions"}}}}}]},"class":{"descriptor":"class","value":"actionMenu"}}}}]},"class":{"descriptor":"class","value":"bannerPhotoMenu"}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.actions\")&&(cmp.get(\"v.actions.length\")>1));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:entityBannerPhotoDetail","path":"v.actions"},{"exprType":"PROPERTY","byValue":false,"target":"force:entityBannerPhotoDetail","path":"v.actions.length"}],"byValue":false}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://emailui:warningModal",function(){/*$A.componentService.addComponentClass("markup://emailui:warningModal",function(){return{meta:{name:"emailui$warningModal","extends":"markup://aura:component",imports:{commons:"markup://emailui:utils"}},controller:{cancel:function(a,c,b){b.cancel(a)},accept:function(a,c,b){b.accept(a)}},helper:{cancel:function(a){this.commons.modal.closeModal(a);a.get("v.onCancel")&&a.get("v.onCancel")()},accept:function(a){this.commons.modal.closeModal(a);a.get("v.onAccept")&&a.get("v.onAccept")()}}}});return {"xs":"I","descriptor":"markup://emailui:warningModal","st":{"descriptor":"css://emailui.warningModal","cl":"emailuiWarningModal"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["onAccept","aura://Object","I",true,null],["onCancel","aura://Object","I",true,null],["_cookieIdentifier","aura://String","I",false],["message","aura://String","I",false],["cancelLabel","aura://String","I",false,""],["acceptLabel","aura://String","I",false,""]],"i":["markup://emailui:baseWarningModal"],"ld":{"emailui-warning-modal-cancel":{},"emailui-warning-modal-accept":{}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"modalContainer"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"alertBody"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:warningModal","path":"v.message"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"buttonContainer"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:button"},"localId":"emailui-warning-modal-cancel","attributes":{"values":{"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:warningModal","path":"c.cancel"}},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:warningModal","path":"v.cancelLabel"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.ne(cmp.get(\"v.cancelLabel\"),\"\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"emailui:warningModal","path":"v.cancelLabel"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://lightning:button"},"localId":"emailui-warning-modal-accept","attributes":{"values":{"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:warningModal","path":"c.accept"}},"variant":{"descriptor":"variant","value":"brand"},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:warningModal","path":"v.acceptLabel"}}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:flags",function(){/*$A.componentService.addComponentClass("markup://forceChatter:flags",function(){return{meta:{name:"forceChatter$flags","extends":"markup://aura:component"},helper:{freshenFlagAltText:function(b){var a=b.get("v.data"),c=null==a?null:a.flaggedByMe,a=null==a?null:a.flagCount;null!=c&&(c=c?!a||1==a?$A.get("$Label.NetworkModeration.YouFlaggedThis"):2==a?$A.get("$Label.NetworkModeration.YouAndOneOtherFlaggedThis"):$A.get("$Label.NetworkModeration.YouAndManyOthersFlaggedThis").replace("{0}",a-1):1<a?$A.get("$Label.NetworkModeration.ManyFlaggedThis").replace("{0}",
a):$A.get("$Label.NetworkModeration.OneFlaggedThis"),b.set("v.flagDescription",c))},fireActionErrorMessage:function(b){b=b.getError();if($A.util.isArray(b)){for(var a=[],c=0;c<b.length;c++)a.push(b[c].message);$A.util.isEmpty(a)||(b=a.join(" "),this.fireErrorMessage(b))}},fireErrorMessage:function(b){var a=$A.getEvt("markup://force:showMessage");a.setParams({message:b});a.fire()}},renderer:{render:function(b,a){a.freshenFlagAltText(b);return b.superRender()},rerender:function(b,a){a.freshenFlagAltText(b);
b.superRerender()}}}});return {"xs":"I","descriptor":"markup://forceChatter:flags","st":{"descriptor":"css://forceChatter.flags","cl":"forceChatterFlags"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["data","java://sfdc.chatter.connect.api.output.moderation.ModerationFlagsRepresentation","I",false,null],["flagDescription","aura://String","I",false]],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:label"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:flags","path":"v.data.flagCount"}}}}}]},"value":{"descriptor":"value","value":"{0} "}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.ne(cmp.get(\"v.data.flagCount\"),null);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:flags","path":"v.data.flagCount"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-flagIcon"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:icon"},"attributes":{"values":{"alt":{"descriptor":"alt","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:flags","path":"v.flagDescription"}},"class":{"descriptor":"class","value":"slds-m-around--none"},"key":{"descriptor":"key","value":"priority"}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.data.flaggedByMe\")||(cmp.get(\"v.data.flagCount\")>0));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:flags","path":"v.data.flaggedByMe"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:flags","path":"v.data.flagCount"}],"byValue":false}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://home:goalEditor",function(){/*$A.componentService.addComponentClass("markup://home:goalEditor",function(){return{meta:{name:"home$goalEditor","extends":"markup://aura:component"},controller:{handleSave:function(a,b,c){c.handleSave(a)},handleCancel:function(a){a.set("v.errorMessage",null);a.getEvent("goalButtonClicked").setParams({operation:"cancel"}).fire()},handleInput:function(a){a._startInput=!0},onKeyUp:function(a,b,c){13===b.getParam("keyCode")&&a._startInput&&c.handleSave(a)}},helper:{massageInput:function(a){if($A.util.isEmpty(a))return null;
if("string"===typeof a){var b=$A.get("$Locale.grouping")||",",c=$A.get("$Locale.decimal")||".";a=a.replace(RegExp("\\"+b,"g"),"");"."!==c&&(a=a.replace(c,"."))}return a},validRange:function(a){return!$A.util.isEmpty(a)?(a=parseInt(a,10),0<=a&&999999999999999>=a):!0},handleSave:function(a){var b=a.find("inputCurrency").get("v.value");(b=this.massageInput(b))&&isNaN(b)?a.set("v.errorMessage",$A.get("$Label.HeroChart.InvalidCurrency")):this.validRange(b)?(a.set("v.errorMessage",null),a.getEvent("goalButtonClicked").setParams({operation:"apply",
goal:b}).fire()):a.set("v.errorMessage",$A.get("$Label.HeroChart.CurrencyOutOfRange"))}}}});return {"xs":"I","descriptor":"markup://home:goalEditor","st":{"descriptor":"css://home.goalEditor","cl":"homeGoalEditor"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["goal","aura://Decimal","I",false],["errorMessage","aura://String","I",false]],"re":[{"ed":"markup://home:goalButtonClicked","n":"goalButtonClicked","xs":"I"}],"ld":{"saveGoal":{"alias":"goal-save"},"cancelGoalSave":{"alias":"cancel-goal-save"}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"inputContainer"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:label"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":true,"target":"home:goalEditor","path":"$Label.HeroChart.EditGoal"}}}}}]},"class":{"descriptor":"class","value":"inputLabel"}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"goalInputRow"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"currencyCode","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"id":"currencyCode","class":"currencyCode"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":true,"target":"home:goalEditor","path":"$Home.currencyCode"}}}}}]}}}},{"componentDef":{"descriptor":"markup://lightning:input","type":"module"},"localId":"inputCurrency","attributes":{"values":{"formatter":{"descriptor":"formatter","value":"currency"},"onkeyup":{"descriptor":"onkeyup","value":{"exprType":"PROPERTY","byValue":false,"target":"home:goalEditor","path":"c.onKeyUp"}},"variant":{"descriptor":"variant","value":"label-hidden"},"ariaDescribedBy":{"descriptor":"ariaDescribedBy","value":"currencyCode"},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":true,"target":"home:goalEditor","path":"$Label.HeroChart.EditGoal"}},"type":{"descriptor":"type","value":"number"},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"home:goalEditor","path":"v.goal"}},"oninput":{"descriptor":"oninput","value":{"exprType":"PROPERTY","byValue":false,"target":"home:goalEditor","path":"c.handleInput"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:renderIf"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:formattedText","type":"module"},"attributes":{"values":{"class":{"descriptor":"class","value":"goalErrorMsg"},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"home:goalEditor","path":"v.errorMessage"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(fn.empty(cmp.get(\"v.errorMessage\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"home:goalEditor","path":"v.errorMessage"}],"byValue":false}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"buttonGroup"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:button"},"localId":"cancelGoalSave","attributes":{"values":{"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"home:goalEditor","path":"c.handleCancel"}},"variant":{"descriptor":"variant","value":"neutral"},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"home:goalEditor","path":"$Label.Buttons.cancel"}}}}},{"componentDef":{"descriptor":"markup://lightning:button"},"localId":"saveGoal","attributes":{"values":{"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"home:goalEditor","path":"c.handleSave"}},"variant":{"descriptor":"variant","value":"brand"},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"home:goalEditor","path":"$Label.Buttons.save"}}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:viewportChangeHandler",function(){/*$A.componentService.addComponentClass("markup://forceSearch:viewportChangeHandler",function(){return{meta:{name:"forceSearch$viewportChangeHandler","extends":"markup://aura:component"},controller:{init:function(b,a,c){if(a=$A.getEvt("markup://ui:notify","content",b))a.setParams({payload:{viewportEnter:function(){b.getEvent("onenter").setComponentEvent().fire()}}}),a.fire()}}}});return {"xs":"I","descriptor":"markup://forceSearch:viewportChangeHandler","ad":[["body","aura://Aura.Component[]","G",false,[]]],"re":[{"ed":"markup://ui:change","n":"onenter","xs":"PP"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:streamDeleteModalBody",function(){/*$A.componentService.addComponentClass("markup://forceChatter:streamDeleteModalBody",function(){return{meta:{name:"forceChatter$streamDeleteModalBody","extends":"markup://aura:component"},controller:{handleDelete:function(a,c,e){a.set("v.disableSubmit",!0);c=a.get("c.serverDeleteStream");var d=a.get("v.streamId");c.setParams({streamId:d});c.setCallback(this,function(b){"SUCCESS"===b.getState()?(a.get("v._panel").close(),(b=$A.getEvt("markup://forceChatter:streamDeleted"))&&b.setParams({streamId:d}).fire()):
"INCOMPLETE"===b.getState()?($A.getEvt("markup://force:showOfflineMessage").setParams({retryAction:b}).fire(),a.set("v.disableSubmit",!1)):"ERROR"===b.getState()&&($A.getEvt("markup://force:showMessage").setParams({title:"Error",message:b.getError()[0].message,severity:"error"}).fire(),a.set("v.disableSubmit",!1))});$A.enqueueAction(c)},closeModal:function(a){a.getEvent("notify").setParams({action:"closePanel",typeOf:"ui:closePanel"}).fire()}}}});return {"xs":"I","descriptor":"markup://forceChatter:streamDeleteModalBody","cd":{"descriptor":"compound://forceChatter.streamDeleteModalBody","ac":[{"n":"serverGetStreams","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverGetStreams","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.stream.FeedStreamCollectionRepresentation","pa":[{"name":"page","type":"java://int"},{"name":"pageSize","type":"java://java.lang.Integer","loggable":true},{"name":"globalScope","type":"java://java.lang.Boolean","loggable":true}]},{"n":"unsetEmailNotificationFrequency","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$unsetEmailNotificationFrequency","at":"SERVER","rt":"java://void","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"communityId","type":"java://java.lang.String","loggable":true}]},{"n":"serverAddStreamSubscription","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverAddStreamSubscription","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.stream.FeedStreamRepresentation","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"recordId","type":"java://java.lang.String"}]},{"n":"serverGetStream","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverGetStream","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.stream.FeedStreamRepresentation","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"globalScope","type":"java://java.lang.Boolean","loggable":true}]},{"n":"serverRemoveStreamSubscription","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverRemoveStreamSubscription","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.stream.FeedStreamRepresentation","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"recordId","type":"java://java.lang.String"}]},{"n":"serverCreateStream","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverCreateStream","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.stream.FeedStreamRepresentation","pa":[{"name":"streamName","type":"java://java.lang.String"},{"name":"entities","type":"java://java.util.ArrayList<java.lang.String>"}]},{"n":"getEmailNotificationFrequency","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$getEmailNotificationFrequency","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.notificationMember.NotificationMemberRepresentation","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"communityId","type":"java://java.lang.String","loggable":true}]},{"n":"serverDeleteStream","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverDeleteStream","at":"SERVER","rt":"java://void","pa":[{"name":"streamId","type":"java://java.lang.String"}]},{"n":"serverUpdateStream","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverUpdateStream","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.stream.FeedStreamRepresentation","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"streamName","type":"java://java.lang.String"},{"name":"entitiesToAdd","type":"java://java.util.ArrayList<java.lang.String>"},{"name":"entitiesToRemove","type":"java://java.util.ArrayList<java.lang.String>"}]},{"n":"setEmailNotificationFrequency","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$setEmailNotificationFrequency","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.notificationMember.NotificationMemberRepresentation","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"frequency","type":"java://java.lang.String"},{"name":"communityId","type":"java://java.lang.String","loggable":true}]},{"n":"serverGetStreamInfoForHeader","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverGetStreamInfoForHeader","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"globalScope","type":"java://java.lang.Boolean","loggable":true}]},{"n":"getCrudStreamConfig","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$getCrudStreamConfig","at":"SERVER","rt":"java://java.util.Map","pa":[]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["actions","aura://Aura.Component[]","I",false,[]],["_panel","aura://Object","G",false,null],["streamId","aura://String","I",false],["streamName","aura://String","I",false],["disableSubmit","aura://Boolean","I",false,false],["panelActions","aura://Aura.Component[]","I",false,[{"componentDef":{"descriptor":"markup://lightning:button"},"localId":"feed-stream-delete","attributes":{"values":{"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamDeleteModalBody","path":"c.handleDelete"}},"variant":{"descriptor":"variant","value":"brand"},"disabled":{"descriptor":"disabled","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamDeleteModalBody","path":"v.disableSubmit"}},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:streamDeleteModalBody","path":"$Label.Buttons.delete"}},"class":{"descriptor":"class","value":"deleteStream"}}}},{"componentDef":{"descriptor":"markup://lightning:button"},"localId":"feed-stream-delete-cancel","attributes":{"values":{"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamDeleteModalBody","path":"c.closeModal"}},"variant":{"descriptor":"variant","value":"brand"},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:streamDeleteModalBody","path":"$Label.Buttons.cancel"}},"class":{"descriptor":"class","value":"deleteStreamCancel"}}}}]]],"i":["markup://ui:hasNotify"],"re":[{"ed":"markup://ui:notify","n":"notify","xs":"I"}],"ld":{"feed-stream-delete":{"context":{"streamId":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamDeleteModalBody","path":"v.streamId"}}},"feed-stream-delete-cancel":{"context":{"streamId":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamDeleteModalBody","path":"v.streamId"}}}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-align--absolute-center qe-deleteStreamConfirmation"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"p"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamDeleteModalBody","path":"$Label.Feeds.DeleteStreamAreYouSure"}}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:threadedComment",function(){/*$A.componentService.addComponentClass("markup://forceChatter:threadedComment",function(){return{meta:{name:"forceChatter$threadedComment","extends":"markup://aura:component"},controller:{handleCommentCreatedEvent:function(a,b){b.stopPropagation();a.set("v.showReplyPublisher",!1);$A.metricsService.transaction("ltng","interaction",{context:{eventSource:"synthetic-threaded-discussions-reply",eventType:"user",locator:{target:"threaded-comment",scope:"ChatterFeed",context:{threadParentId:a.get("v.comment.threadParentId"),
threadLevel:a.get("v.comment.threadLevel")}}}})},handleRepliesRequestedEvent:function(a,b){b.stopPropagation();var c=a.get("v.comment.id");a.getElement().dispatchEvent(new CustomEvent("commentrepliesrequested",{bubbles:!0,cancelable:!0,composed:!0,detail:{commentId:c}}))},handleReplyEvent:function(a,b){a.get("v.comment.threadLevel")<a.get("v.threadedConversationLevelLimit")-1&&(b.stopPropagation(),a.set("v.showReplyPublisher",!0),a.find("replyPublisher").focusWhenVisible())}}}});return {"xs":"I","descriptor":"markup://forceChatter:threadedComment","st":{"descriptor":"css://forceChatter.threadedComment","cl":"forceChatterThreadedComment"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["searchQueryId","aura://String","I",false],["feedItemPosition","aura://String","I",false],["subjectId","aura://String","I",false],["sortOrder","aura://String","I",false],["canRequestReplies","aura://Boolean","I",false,false],["comment","aura://Object","I",false,null],["commentActions","aura://List","I",false,[]],["communityId","aura://String","I",false],["feedDisplayConfig","java://ui.chatter.api.FeedDisplayConfig","I",true,null],["feedItem","aura://Object","I",false,null],["feedType","aura://String","I",false],["initiallyFocusedCommentId","aura://String","I",false],["initiallyFocusedCommentCssClass","aura://String","I",false,""],["isReplyEnabled","aura://Boolean","I",false,false],["isTopicsEnabled","aura://Boolean","I",true],["isUpDownVoteEnabled","aura://Boolean","I",false],["richTextConfig","aura://Map","I",false,{}],["commentCssClass","aura://String","I",false,""],["threadedConversationLevelLimit","aura://Integer","I",true],["canUserDeleteComment","aura://Boolean","I",false],["showFeedsTranslationButton","aura://Boolean","I",false,false],["showRelativeTimestamp","aura://Boolean","I",false,true],["showReplyPublisher","aura://Boolean","p",false,false]],"i":["markup://forceChatter:additionalFeedLogData"],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onrepliesrequested":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"c.handleRepliesRequestedEvent"},"onreply":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"c.handleReplyEvent"},"oncommentcreated":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"c.handleCommentCreatedEvent"}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:comment"},"attributes":{"values":{"showFeedsTranslationButton":{"descriptor":"showFeedsTranslationButton","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.showFeedsTranslationButton"}},"data":{"descriptor":"data","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.comment"}},"feedType":{"descriptor":"feedType","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.feedType"}},"isReplyEnabled":{"descriptor":"isReplyEnabled","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.isReplyEnabled"}},"feedItem":{"descriptor":"feedItem","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.feedItem"}},"richTextConfig":{"descriptor":"richTextConfig","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.richTextConfig"}},"automaticallyFocusAfterInitialDisplay":{"descriptor":"automaticallyFocusAfterInitialDisplay","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq(cmp.get(\"v.comment.id\"),cmp.get(\"v.initiallyFocusedCommentId\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.initiallyFocusedCommentId"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.comment.id"}],"byValue":false}},"subjectId":{"descriptor":"subjectId","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:threadedComment","path":"v.subjectId"}},"searchQueryId":{"descriptor":"searchQueryId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.searchQueryId"}},"feedItemPosition":{"descriptor":"feedItemPosition","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.feedItemPosition"}},"isTopicsEnabled":{"descriptor":"isTopicsEnabled","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.isTopicsEnabled"}},"canUserDeleteComment":{"descriptor":"canUserDeleteComment","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.canUserDeleteComment"}},"commentCssClass":{"descriptor":"commentCssClass","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(cmp.get(\"v.commentCssClass\"),(fn.eq(cmp.get(\"v.comment.id\"),cmp.get(\"v.initiallyFocusedCommentId\"))?fn.add(\" \",cmp.get(\"v.initiallyFocusedCommentCssClass\")):\"\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.initiallyFocusedCommentId"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.comment.id"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.commentCssClass"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.initiallyFocusedCommentCssClass"}],"byValue":false}},"isUpDownVoteEnabled":{"descriptor":"isUpDownVoteEnabled","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:threadedComment","path":"v.isUpDownVoteEnabled"}},"showRelativeTimestamp":{"descriptor":"showRelativeTimestamp","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:threadedComment","path":"v.showRelativeTimestamp"}},"sortOrder":{"descriptor":"sortOrder","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.sortOrder"}},"commentActions":{"descriptor":"commentActions","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.commentActions"}},"communityId":{"descriptor":"communityId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.communityId"}},"feedDisplayConfig":{"descriptor":"feedDisplayConfig","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.feedDisplayConfig"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(cmp.get(\"v.comment.isPlaceholder\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.comment.isPlaceholder"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"showReplies"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://feeds_replying:repliesAvailableCount","type":"module"},"attributes":{"values":{"replies":{"descriptor":"replies","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.comment.capabilities.comments.page.total\")-cmp.get(\"v.comment.comments.length\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.comment.comments.length"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.comment.capabilities.comments.page.total"}],"byValue":false}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.canRequestReplies\")&&(cmp.get(\"v.comment.comments.length\")<cmp.get(\"v.comment.capabilities.comments.page.total\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.comment.comments.length"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.comment.capabilities.comments.page.total"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.canRequestReplies"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"ul"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:iteration"},"attributes":{"values":{"var":{"descriptor":"var","value":"childComment"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"data-thread-level":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"childComment.threadLevel"},"aria-live":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"childComment.isLive\")?\"assertive\":\"off\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"childComment.isLive"}],"byValue":false},"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(fn.add(fn.add(\"cuf-commentLi \",cmp.get(\"childComment.transitionClass\")),(cmp.get(\"childComment.pendingReview\")?\" pendingReview\":\" published\")),(cmp.get(\"childComment.isPlaceholder\")?\" is-placeholder\":\"\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"childComment.isPlaceholder"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"childComment.transitionClass"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"childComment.pendingReview"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"li"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:threadedComment"},"attributes":{"values":{"threadedConversationLevelLimit":{"descriptor":"threadedConversationLevelLimit","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.threadedConversationLevelLimit"}},"initiallyFocusedCommentId":{"descriptor":"initiallyFocusedCommentId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.initiallyFocusedCommentId"}},"showFeedsTranslationButton":{"descriptor":"showFeedsTranslationButton","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.showFeedsTranslationButton"}},"feedType":{"descriptor":"feedType","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.feedType"}},"isReplyEnabled":{"descriptor":"isReplyEnabled","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.isReplyEnabled"}},"feedItem":{"descriptor":"feedItem","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.feedItem"}},"richTextConfig":{"descriptor":"richTextConfig","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.richTextConfig"}},"subjectId":{"descriptor":"subjectId","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:threadedComment","path":"v.subjectId"}},"searchQueryId":{"descriptor":"searchQueryId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.searchQueryId"}},"feedItemPosition":{"descriptor":"feedItemPosition","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.feedItemPosition"}},"isTopicsEnabled":{"descriptor":"isTopicsEnabled","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.isTopicsEnabled"}},"canUserDeleteComment":{"descriptor":"canUserDeleteComment","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.canUserDeleteComment"}},"commentCssClass":{"descriptor":"commentCssClass","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.commentCssClass"}},"canRequestReplies":{"descriptor":"canRequestReplies","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.canRequestReplies"}},"isUpDownVoteEnabled":{"descriptor":"isUpDownVoteEnabled","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:threadedComment","path":"v.isUpDownVoteEnabled"}},"showRelativeTimestamp":{"descriptor":"showRelativeTimestamp","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:threadedComment","path":"v.showRelativeTimestamp"}},"comment":{"descriptor":"comment","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"childComment"}},"sortOrder":{"descriptor":"sortOrder","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.sortOrder"}},"commentActions":{"descriptor":"commentActions","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.commentActions"}},"communityId":{"descriptor":"communityId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.communityId"}},"feedDisplayConfig":{"descriptor":"feedDisplayConfig","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.feedDisplayConfig"}},"initiallyFocusedCommentCssClass":{"descriptor":"initiallyFocusedCommentCssClass","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.initiallyFocusedCommentCssClass"}}}}}]}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.comment.comments"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(fn.empty(cmp.get(\"v.comment.comments\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.comment.comments"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"commentActorAndInput commentInputArea"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:avatar","type":"module"},"attributes":{"values":{"size":{"descriptor":"size","value":"small"},"src":{"descriptor":"src","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.feedDisplayConfig.contextUser.photo.smallPhotoUrl"}},"variant":{"descriptor":"variant","value":"circle"},"class":{"descriptor":"class","value":"slds-m-right_small"},"alternativeText":{"descriptor":"alternativeText","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.feedDisplayConfig.contextUser.displayName"}}}}},{"componentDef":{"descriptor":"markup://forceChatter:feedCommentInput"},"localId":"replyPublisher","attributes":{"values":{"feedType":{"descriptor":"feedType","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.feedType"}},"richTextConfig":{"descriptor":"richTextConfig","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.richTextConfig"}},"feedItemVisibility":{"descriptor":"feedItemVisibility","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.feedItem.visibility"}},"feedItemId":{"descriptor":"feedItemId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.feedItem.id"}},"feedItemModifiedDate":{"descriptor":"feedItemModifiedDate","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.feedItem.modifiedDate"}},"promptText":{"descriptor":"promptText","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"$Label.Messages.replyPlaceholder"}},"subjectId":{"descriptor":"subjectId","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:threadedComment","path":"v.subjectId"}},"searchQueryId":{"descriptor":"searchQueryId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.searchQueryId"}},"feedItemPosition":{"descriptor":"feedItemPosition","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.feedItemPosition"}},"feedItemParentId":{"descriptor":"feedItemParentId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.feedItem.parent.id"}},"isTopicsEnabled":{"descriptor":"isTopicsEnabled","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.isTopicsEnabled"}},"feedItemData":{"descriptor":"feedItemData","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.feedItem"}},"commentButtonLabel":{"descriptor":"commentButtonLabel","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"$Label.Publisher.Reply"}},"commentsDisplayConfig":{"descriptor":"commentsDisplayConfig","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.feedDisplayConfig.commentsDisplayConfig"}},"parentCommentId":{"descriptor":"parentCommentId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.comment.id"}},"contextUser":{"descriptor":"contextUser","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.feedDisplayConfig.contextUser"}},"sortOrder":{"descriptor":"sortOrder","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.sortOrder"}},"communityId":{"descriptor":"communityId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.communityId"}},"feedItemType":{"descriptor":"feedItemType","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.feedItem.type"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:threadedComment","path":"v.showReplyPublisher"}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://force:headerButton",function(){/*$A.componentService.addComponentClass("markup://force:headerButton",function(){return{meta:{name:"force$headerButton","extends":"markup://aura:component",imports:{util:"markup://force:util"}},controller:{handleClick:function(a,c,b){b.util.duplicatedHeaderTooltipLogic.handleClick(a,c,b);a.get("e.press").fire()},handleFocus:function(a,c,b){b.util.duplicatedHeaderTooltipLogic.showTooltip(a)},handleBlur:function(a,c,b){b.util.duplicatedHeaderTooltipLogic.hideTooltip(a)},showTooltip:function(a,c,b){(a=
a.find("tooltip"))&&a.show()}}}});return {"xs":"I","descriptor":"markup://force:headerButton","st":{"descriptor":"css://force.headerButton","cl":"forceHeaderButton"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["alt","aura://String","I",false],["ariaHasPopup","aura://String","I",false],["iconKey","aura://String","I",false],["iconClass","aura://String","I",false],["isMenuOpen","aura://Boolean","I",false,false],["tooltipText","aura://String","I",false],["tooltipDelay","aura://Integer","I",false,1000],["headerButtonClass","aura://String","I",false],["isStateful","aura://Boolean","I",false,false],["disabled","aura://Boolean","I",false,false],["ariaExpanded","aura://String","I",false,"false"]],"med":[{"name":"force:showTooltip","xs":"I"}],"re":[{"ed":"markup://ui:press","n":"press","xs":"I"}],"ld":{"headerButton":{"alias":"force-headerbutton-link"},"tooltip":{"alias":"force-headerbutton-tooltip"}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:button"},"localId":"headerButton","attributes":{"values":{"onblur":{"descriptor":"onblur","value":{"exprType":"PROPERTY","byValue":false,"target":"force:headerButton","path":"c.handleBlur"}},"ariaExpanded":{"descriptor":"ariaExpanded","value":{"exprType":"PROPERTY","byValue":false,"target":"force:headerButton","path":"v.ariaExpanded"}},"onfocus":{"descriptor":"onfocus","value":{"exprType":"PROPERTY","byValue":false,"target":"force:headerButton","path":"c.handleFocus"}},"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"force:headerButton","path":"c.handleClick"}},"variant":{"descriptor":"variant","value":"bare"},"disabled":{"descriptor":"disabled","value":{"exprType":"PROPERTY","byValue":false,"target":"force:headerButton","path":"v.disabled"}},"ariaHasPopup":{"descriptor":"ariaHasPopup","value":{"exprType":"PROPERTY","byValue":false,"target":"force:headerButton","path":"v.ariaHasPopup"}},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:tooltip"},"localId":"tooltip","attributes":{"values":{"advanced":{"descriptor":"advanced","value":true},"tabIndex":{"descriptor":"tabIndex","value":-1},"tooltipBody":{"descriptor":"tooltipBody","value":{"exprType":"PROPERTY","byValue":false,"target":"force:headerButton","path":"v.tooltipText"}},"tabIndexOverride":{"descriptor":"tabIndexOverride","value":-1},"triggerClass":{"descriptor":"triggerClass","value":"tooltipTrigger"},"trigger":{"descriptor":"trigger","value":"hover"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"force:headerButton","path":"v.body"}}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:icon"},"attributes":{"values":{"imageType":{"descriptor":"imageType","value":"decorative"},"class":{"descriptor":"class","value":{"exprType":"PROPERTY","byValue":false,"target":"force:headerButton","path":"v.iconClass"}},"key":{"descriptor":"key","value":{"exprType":"PROPERTY","byValue":false,"target":"force:headerButton","path":"v.iconKey"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq(cmp.get(\"v.body.length\"),0);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:headerButton","path":"v.body.length"}],"byValue":false}}}}}]},"class":{"descriptor":"class","value":"forceHeaderButton header-tooltip"}}}}]},"class":{"descriptor":"class","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(cmp.get(\"v.headerButtonClass\"),(cmp.get(\"v.isMenuOpen\")?\" activated\":\"\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:headerButton","path":"v.isMenuOpen"},{"exprType":"PROPERTY","byValue":false,"target":"force:headerButton","path":"v.headerButtonClass"}],"byValue":false}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://runtime_sales_activities:siqCherrypickingSettings",function(){/*$A.componentService.addComponentClass("markup://runtime_sales_activities:siqCherrypickingSettings",function(){return{meta:{name:"runtime_sales_activities$siqCherrypickingSettings","extends":"markup://aura:component"},controller:{init:function(a,b,c){b=a.get("v.isSensitive");c=a.get("v.isAutomated");b&&c?a.set("v.sharingMessage",$A.get("$Label.activityTimeline.sensitiveEmailInfoMessage")):b?a.set("v.sharingMessage",$A.get("$Label.activityTimeline.sensitiveEmailInfoMessage")):c&&a.set("v.sharingMessage",
$A.get("$Label.activityTimeline.automatedEmailInfoMessage"));if(!a.get("v.orgIsA360Enabled")&&(b=a.get("v.groupSharingList"),!b||0===b.length))b=a.find("groups"),b.set("v.class",b.get("v.class")+" grayedOut"),a.find("groupsOption").set("v.disabled",!0);b=a.get("v.numSharedCircles");0===b?a.set("v.sharingType","onlyme"):0<b?a.set("v.sharingType","teams"):a.set("v.sharingType","everyone")},showWarningsAndSave:function(a,b,c){a.get("v.saveFunction").run();c.instrumentSharingSettingChange(a,"siqShareSettingChange",
"panel-content")},updateSharingType:function(a,b,c){b=b&&b.getSource()&&b.getSource().get("v.text");a.set("v.sharingType",b)},navigateToEmailSharing:function(a,b){32===b.keyCode&&(b.preventDefault(),b.target.click())}},helper:{getNumberSharedGroups:function(a){a=a.find("teamSharingCheckbox");if(!Array.isArray(a))return a.get("v.value")?1:0;for(var b=0,c=0;c<a.length;c++)a[c].get("v.value")&&b++;return b},instrumentSharingSettingChange:function(a,b,c){$A.metricsService.transaction("ltng","interaction",
{context:{eventSource:"synthetic-click",eventType:"user",locator:{target:b,scope:c,context:{sharingSetting:a.get("v.sharingType"),externalId:a.get("v.externalId")}},attributes:{}}})}},renderer:{afterRender:function(a,b){a.superAfterRender()}}}});return {"xs":"I","descriptor":"markup://runtime_sales_activities:siqCherrypickingSettings","st":{"descriptor":"css://runtime_sales_activities.siqCherrypickingSettings","cl":"runtime_sales_activitiesSiqCherrypickingSettings"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["everyoneSharingMap","aura://Object","I",false,null],["sharingType","aura://String","I",false,"everyone"],["groupSharingList","aura://List","I",false,[]],["numSharedCircles","aura://Integer","I",false],["externalId","aura://String","I",false],["sharingMessage","aura://String","I",false],["isSensitive","aura://Boolean","I",false,false],["isAutomated","aura://Boolean","I",false,false],["orgIsA360Enabled","aura://Boolean","I",false,false],["saveFunction","aura://Aura.Action","I",false,null]],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"}],"ld":{"saveButton":{"alias":"saveSiqShare"},"salesforceInboxSettingsLink":{}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-size--medium slds-var-m-around_small"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-p-around_x-small"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"role":"status","class":"slds-scoped-notification slds-media slds-media_center slds-scoped-notification_light"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:icon","type":"module"},"attributes":{"values":{"size":{"descriptor":"size","value":"small"},"iconName":{"descriptor":"iconName","value":"utility:einstein"},"class":{"descriptor":"class","value":"approval-icon icon-padding"},"alternativeText":{"descriptor":"alternativeText","value":"checked"}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-media__body slds-m-left_small"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:formattedRichText","type":"module"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:siqCherrypickingSettings","path":"v.sharingMessage"}}}}}]}}}}]}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.isAutomated\")||cmp.get(\"v.isSensitive\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:siqCherrypickingSettings","path":"v.isAutomated"},{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:siqCherrypickingSettings","path":"v.isSensitive"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"fieldset"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-text-body--small slds-text-color--weak"}},"tag":{"descriptor":"tag","value":"legend"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":true,"target":"runtime_sales_activities:siqCherrypickingSettings","path":"$Label.activityTimeline.cherrypickingRadioButtonLegend"}}}}}]}}}},{"componentDef":{"descriptor":"markup://ui:label"},"attributes":{"values":{"for":{"descriptor":"for","value":"everyoneSharingOption"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:inputRadio"},"attributes":{"values":{"change":{"descriptor":"change","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:siqCherrypickingSettings","path":"c.updateSharingType"}},"name":{"descriptor":"name","value":"sharingOption"},"domId":{"descriptor":"domId","value":"everyoneSharingOption"},"text":{"descriptor":"text","value":"everyone"},"class":{"descriptor":"class","value":"sharingRadioButton"},"value":{"descriptor":"value","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq(cmp.get(\"v.sharingType\"),\"everyone\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:siqCherrypickingSettings","path":"v.sharingType"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-radio--faux slds-var-m-right_x-small"}},"tag":{"descriptor":"tag","value":"span"}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-form-element__label slds-m-vertical--none slds-text-color--default"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://emailStream:iconLabel"},"attributes":{"values":{"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":true,"target":"runtime_sales_activities:siqCherrypickingSettings","path":"$Label.activityTimeline.allIqUsersOption"}},"key":{"descriptor":"key","value":"world"}}}}]}}}}]},"class":{"descriptor":"class","value":"slds-radio slds-var-m-vertical_x-small slds-grid slds-grid--vertical-align-center optionLabel"}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:label"},"localId":"groups","attributes":{"values":{"for":{"descriptor":"for","value":"teamSharingOption"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:inputRadio"},"localId":"groupsOption","attributes":{"values":{"change":{"descriptor":"change","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:siqCherrypickingSettings","path":"c.updateSharingType"}},"name":{"descriptor":"name","value":"sharingOption"},"domId":{"descriptor":"domId","value":"teamSharingOption"},"text":{"descriptor":"text","value":"teams"},"class":{"descriptor":"class","value":"sharingRadioButton"},"value":{"descriptor":"value","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq(cmp.get(\"v.sharingType\"),\"teams\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:siqCherrypickingSettings","path":"v.sharingType"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-radio--faux slds-var-m-right_x-small"}},"tag":{"descriptor":"tag","value":"span"}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-form-element__label slds-m-vertical--none slds-text-color--default"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://emailStream:iconLabel"},"attributes":{"values":{"subtitle":{"descriptor":"subtitle","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.eq(cmp.get(\"v.groupSharingList.length\"),0)?$A.get(\"$Label.activityTimeline.myIqTeamsNone\"):null);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:siqCherrypickingSettings","path":"$Label.activityTimeline.myIqTeamsNone"},{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:siqCherrypickingSettings","path":"v.groupSharingList.length"}],"byValue":false}},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":true,"target":"runtime_sales_activities:siqCherrypickingSettings","path":"$Label.activityTimeline.myIqTeamsOption"}},"key":{"descriptor":"key","value":"groups"}}}}]}}}}]},"class":{"descriptor":"class","value":"slds-radio slds-var-m-vertical_x-small slds-grid slds-grid--vertical-align-center optionLabel"}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"teamSharingOptions","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"teamSharingOptions"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"fieldset"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"assistiveText"}},"tag":{"descriptor":"tag","value":"legend"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":true,"target":"runtime_sales_activities:siqCherrypickingSettings","path":"$Label.activityTimeline.myIqTeamsOption"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"role":"presentation","class":"teamSharingList"}},"tag":{"descriptor":"tag","value":"ul"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:iteration"},"attributes":{"values":{"var":{"descriptor":"var","value":"item"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"teamSharingRow optionLabel"}},"tag":{"descriptor":"tag","value":"li"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:label"},"attributes":{"values":{"labelDisplay":{"descriptor":"labelDisplay","value":false},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:siqCherrypickingSettings","path":"item.name"}},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:inputCheckbox"},"localId":"teamSharingCheckbox","attributes":{"values":{"domId":{"descriptor":"domId","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:siqCherrypickingSettings","path":"item.groupMemberId"}},"name":{"descriptor":"name","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:siqCherrypickingSettings","path":"item.groupMemberId"}},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:siqCherrypickingSettings","path":"item.shared"}}}}}]},"class":{"descriptor":"class","value":"teamSharingCheckbox"}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-checkbox--faux"}},"tag":{"descriptor":"tag","value":"span"}}}},{"componentDef":{"descriptor":"markup://emailStream:iconLabel"},"attributes":{"values":{"labelClass":{"descriptor":"labelClass","value":"teamSharingCheckboxLabel"},"tooltip":{"descriptor":"tooltip","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:siqCherrypickingSettings","path":"item.name"}},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:siqCherrypickingSettings","path":"item.name"}},"key":{"descriptor":"key","value":"groups"}}}},{"componentDef":{"descriptor":"markup://forceChatter:outputGroupMemberCount"},"attributes":{"values":{"class":{"descriptor":"class","value":"memberCount"},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:siqCherrypickingSettings","path":"item.memberCount"}}}}}]}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:siqCherrypickingSettings","path":"v.groupSharingList"}}}}}]}}}}]}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq(cmp.get(\"v.sharingType\"),\"teams\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:siqCherrypickingSettings","path":"v.sharingType"}],"byValue":false}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(cmp.get(\"v.orgIsA360Enabled\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:siqCherrypickingSettings","path":"v.orgIsA360Enabled"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://ui:label"},"attributes":{"values":{"for":{"descriptor":"for","value":"onlyMeSharingOption"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:inputRadio"},"attributes":{"values":{"change":{"descriptor":"change","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:siqCherrypickingSettings","path":"c.updateSharingType"}},"name":{"descriptor":"name","value":"sharingOption"},"domId":{"descriptor":"domId","value":"onlyMeSharingOption"},"text":{"descriptor":"text","value":"onlyme"},"class":{"descriptor":"class","value":"sharingRadioButton"},"value":{"descriptor":"value","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq(cmp.get(\"v.sharingType\"),\"onlyme\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:siqCherrypickingSettings","path":"v.sharingType"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-radio--faux slds-var-m-right_x-small"}},"tag":{"descriptor":"tag","value":"span"}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-form-element__label slds-m-vertical--none slds-text-color--default"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://emailStream:iconLabel"},"attributes":{"values":{"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":true,"target":"runtime_sales_activities:siqCherrypickingSettings","path":"$Label.activityTimeline.onlyMeOption"}},"key":{"descriptor":"key","value":"lock"}}}}]}}}}]},"class":{"descriptor":"class","value":"slds-radio slds-var-m-vertical_x-small slds-grid slds-grid--vertical-align-center optionLabel"}}}}]}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-modal__footer slds-grid slds-grid--align-spread slds-grid--vertical-align-center"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"salesforceInboxSettingsLink","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"role":"button","onkeydown":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:siqCherrypickingSettings","path":"c.navigateToEmailSharing"},"href":"/lightning/settings/personal/EmailStreamSharingSettings/home","class":"slds-col slds-button"}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":true,"target":"runtime_sales_activities:siqCherrypickingSettings","path":"$Label.activityTimeline.salesforceInboxSettingsLink"}}}}}]}}}},{"componentDef":{"descriptor":"markup://lightning:button"},"localId":"saveButton","attributes":{"values":{"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:siqCherrypickingSettings","path":"c.showWarningsAndSave"}},"variant":{"descriptor":"variant","value":"brand"},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:siqCherrypickingSettings","path":"$Label.Buttons.save"}},"class":{"descriptor":"class","value":"slds-col"}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:resultsRegion",function(){/*$A.componentService.addComponentClass("markup://forceSearch:resultsRegion",function(){return{meta:{name:"forceSearch$resultsRegion","extends":"markup://forceSearch:base"},controller:{update:function(a,c,b){b.updateWithRetry(a,c,1)},pageLoadedHandler:function(a,c,b){a.set("v.pageLoaded",!0)},onViewportEntered:function(a,c,b){b.onViewportEntered(a)}},helper:{doUpdate:function(a,c){var b=c.getParam("arguments")||c.getParams()||{},d=b.type||this.lib.event.SEARCH,e;if(d===this.lib.event.SEARCH)e="results-region-update-search";
else if(d===this.lib.event.SET_CONTEXT||d===this.lib.event.SET_SCOPE)e="results-region-update-scopes-context";this.lib.logging.logPerf(a,e,"START");switch(d){case this.lib.event.SEARCH:this.updateResultsContainerId(a);this.handleSearch(a,b.term,$A.util.lookup(b.context,"eventId"));break;case this.lib.event.SET_SCOPE:case this.lib.event.SET_CONTEXT:this.updateResultsContainerId(a);default:this.updateChildren(a,c),this.updatePost(a,c)}e&&this.lib.logging.logPerf(a,e,"END")},updateWithRetry:function(a,
c,b){var d=this;if(d.shouldUpdate(a,c))a&&a.isValid()&&a.set("v.priv_storedEvents",null),d.doUpdate(a,c);else if(a&&a.isValid()&&c)if(21>b)this.lib.metrics.mark("resultsRegion_updateWithRetry",{attributes:{attempts:b,isDesktop:d.lib.ctx.isDesktop(),isPhone:d.lib.ctx.isPhone(),pageInformation:d.lib.loggingUtils.getPageInformation()}}),setTimeout($A.getCallback(function(){d.updateWithRetry(a,c,b+1)}),50*b);else{var e=a.get("v.priv_storedEvents")||[];this.lib.metrics.mark("resultsRegion_updateWithRetry_stored",
{attributes:{isDesktop:d.lib.ctx.isDesktop(),isPhone:d.lib.ctx.isPhone(),pageInformation:d.lib.loggingUtils.getPageInformation(),storedEventsCount:e.length}});e.push(c);a.set("v.priv_storedEvents",e)}},handleSearch:function(a,c,b){var d=a.get("state.scopeMap"),e=this.lib.scope.getResultsCmp(d,a.get("state.context"));if(e){var f=Date.now(),g=a.get("v.priv_lastResultsInfo"),k=g?g.eventId:null,h=!1;if(g&&g.impl===e&&this.lib.scope.scopeMapsEqual(d,g.scopeMap)){if((!b||b!==k)&&f-g.time>=a.get("v.priv_minRefreshTime"))this.searchResultsCmp(a,
e,c),h=!0}else this.buildResultsCmp(a,e),h=!0;h&&a.set("v.priv_lastResultsInfo",{impl:e,scopeMap:d,time:f,eventId:b})}},searchResultsCmp:function(a,c,b){var d=a.get("v.body")||[],e=a.get("v.sortBy");a.get("state.term")!==b&&a.set("state.term",b);for(b=0;b<d.length;b+=1){var f=d[b];f&&(f.isValid()&&f.isInstanceOf(c))&&(f.set("v.sortBy",e),f.update(this.lib.event.SEARCH,a.get("state.term"),a.get("state.scopeMap"),a.get("state.context"),a.getGlobalId()))}},buildResultsCmp:function(a,c){var b=this.lib.results.getResultsInterfaceAttributes(a),
d=a.get("v.inContextOfComponentForGrid");d?$A.getDefinition(c,function(e){e.isInstanceOf("forceSearch:hasInContextOfComponent")&&(b.inContextOfComponent=d);this.lib.util.applyBaseImplToBody(a,c,b)}.bind(this)):this.lib.util.applyBaseImplToBody(a,c,b)},updateResultsContainerId:function(a){this.lib.cache.updateSGDPData(a,this.lib.cache.type.ACTIVITY,"searchPage.resultsContainerId",this.lib.util.generateUUID())},onViewportEntered:function(a){var c=a.get("v.priv_storedEvents");a.isValid()&&!$A.util.isEmpty(c)&&
(a.set("v.priv_storedEvents",null),this.lib.metrics.mark("resultsRegion_onViewportEntered",{attributes:{isDesktop:this.lib.ctx.isDesktop(),isPhone:this.lib.ctx.isPhone(),pageInformation:this.lib.loggingUtils.getPageInformation(),storedEventsCount:c.length}}),$A.util.forEach(c,function(b){this.doUpdate(a,b)}.bind(this)))}}}});return {"xs":"I","descriptor":"markup://forceSearch:resultsRegion","st":{"descriptor":"css://forceSearch.resultsRegion","cl":"forceSearchResultsRegion"},"su":"markup://forceSearch:base","ad":[["body","aura://Aura.Component[]","G",false,[]],["shouldFocus","aura://Boolean","I",false,false],["groupId","aura://String","I",true,"DEFAULT"],["updateChildren","aura://Boolean","I",true,true],["updateOnlyIfActive","aura://Boolean","I",true,true],["priv_valueProviderReady","aura://Boolean","I",false,false],["initialTerm","aura://String","I",false],["initialScopeMap","aura://Map","I",false,null],["initialContext","aura://Map","I",false,null],["inContextOfComponent","aura://String","I",false,"forceSearch:search"],["scrollerEnabled","aura://Boolean","I",false,true],["scrollerInfiniteLoading","aura://Boolean","I",false,true],["scrollerUseNativeScroller","aura://Boolean","I",false,true],["scrollerPreventNestedScroll","aura://Boolean","I",false,false],["scrollerUseCSSTransition","aura://Boolean","I",false,false],["scrollerClass","aura://String","I",false,""],["scrollerScroll","aura://String","I",false,""],["scrollerCanRefresh","aura://Boolean","I",false,false],["scrollerOverrides","aura://Map","I",false,{}],["class","aura://String","I",false,"forceSearchResultsRegion slds-grid slds-grid--vertical"],["dir","aura://String","I",false,"ltr"],["namespaceOverride","aura://String","I",false],["actionable","aura://Boolean","I",false,true],["role","aura://String","I",false],["ariaDescribedBy","aura://String","PP",false,""],["value","aura://Object","PP",false,null],["visible","aura://Boolean","I",false,true],["inMultiScope","aura://Boolean","I",false,false],["enableRowActions","aura://Boolean","I",false,true],["enableSorting","aura://Boolean","I",false,true],["enableSortDirection","aura://Boolean","I",false,true],["sortBy","aura://String","I",false,""],["sortByLabel","aura://String","I",false,""],["stencilColumns","aura://Integer","I",false,5],["stencilRows","aura://Integer","I",false,10],["items","aura://List","I",false,[]],["searchInProgress","aura://Boolean","I",false,false],["previousTerm","aura://String","I",false,""],["pageLoaded","aura://Boolean","I",false,false],["isLookupSearch","aura://Boolean","I",false,false],["lookupSource","aura://String","I",false],["lookupField","aura://String","I",false],["lookupRecordId","aura://String","I",false],["lookupContextId","aura://String","I",false],["lookupAdditionalFields","aura://List","I",false,[]],["lookupDependentFieldBindings","aura://Map","I",false,{}],["lookupAdditionalContext","aura://Map","I",false,null],["inContextOfComponentForGrid","aura://String","I",false],["priv_storedEvents","apex://Array","I",false,null],["priv_lastResultsInfo","aura://Object","I",false,"{}"],["priv_minRefreshTime","aura://Integer","I",true,1000]],"med":[{"name":"forceSearch:update","xs":"I","action":"{!c.update}","attributes":[["type","aura://String","I",false],["term","aura://String","I",false],["scopeMap","aura://Map","I",false,null],["context","aura://Map","I",false,null],["sourceId","aura://String","I",false]]}],"i":["markup://forceSearch:resultsScrollerInterface","markup://ui:visible","markup://forceSearch:resultsInterface","markup://forceSearch:supportsStateManagement"],"re":[{"ed":"markup://force:searchRequest","n":"searchRequest","xs":"I"},{"ed":"markup://ui:click","n":"click","xs":"G"},{"ed":"markup://ui:dblclick","n":"dblclick","xs":"G"},{"ed":"markup://ui:mousedown","n":"mousedown","xs":"G"},{"ed":"markup://ui:mousemove","n":"mousemove","xs":"G"},{"ed":"markup://ui:mouseout","n":"mouseout","xs":"G"},{"ed":"markup://ui:mouseover","n":"mouseover","xs":"G"},{"ed":"markup://ui:mouseup","n":"mouseup","xs":"G"},{"ed":"markup://ui:dataChanged","n":"refreshed","xs":"I"},{"ed":"markup://forceSearch:resultsLoaded","n":"ended","xs":"I"},{"ed":"markup://ui:dataProvideError","n":"failed","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"ed":{"descriptor":"markup://force:pageLoaded"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.pageLoadedHandler"}}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.visible\")?cmp.get(\"v.class\"):\"slds-hide\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsRegion","path":"v.visible"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsRegion","path":"v.class"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsRegion","path":"v.body"}}}}}]}}}},{"componentDef":{"descriptor":"markup://forceSearch:viewportChangeHandler"},"attributes":{"values":{"onenter":{"descriptor":"onenter","value":"c.onViewportEntered"}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://emailui:consentManager",function(){/*$A.componentService.addComponentClass("markup://emailui:consentManager",function(){return{meta:{name:"emailui$consentManager","extends":"markup://aura:component"},controller:{initRecipientConsentCategories:function(b,a,c){a=(a.getParams()||{}).arguments||{};b.set("v.updatedCount",0);a.recipientIds&&c.initRecipientConsentCategories(b,a.recipientIds);a.recipients&&c.updateRecipientConsentCategories(b,a.recipients)},updateRecipientConsentCategories:function(b,a,c){a=(a.getParams()||{}).arguments||{};
a.recipients&&c.updateRecipientConsentCategories(b,a.recipients)}},helper:{updateLabel:function(b,a){var c=[],d=[],e;for(e in a)if(a.hasOwnProperty(e))switch(a[e].category){case "CANT_SEND_EMAILS":c.push(a[e].label);break;case "SEND_WITH_EXTRA_PROCESSING":case "CANT_SEND_OPT_OUT":d.push(a[e].label)}0!==c.length?(c=1===c.length?$A.get("$Label.EmailErrorMessage.RestrictedRecipientSingle").replace("{0}",c[0]):$A.get("$Label.EmailErrorMessage.RestrictedRecipientPlural"),this.updateLabelAndFireEvent(b,
c)):0!==d.length&&(c=1===d.length?$A.get("$Label.EmailErrorMessage.OptedOutRecipientSingle").replace("{0}",d[0]):$A.get("$Label.EmailErrorMessage.OptedOutRecipientPlural"),this.updateLabelAndFireEvent(b,c))},initRecipientConsentCategories:function(b,a){var c=b.get("v.recipientConsentCategories");Array.isArray(a)&&a.forEach(function(a){a=a.substring(0,15);c[a]={}});b.set("v.recipientConsentCategories",c)},updateRecipientConsentCategories:function(b,a){var c=b.get("v.updatedCount"),d=b.get("v.recipientConsentCategories");
Array.isArray(a)&&a.forEach(function(a){if(a.id){var b=a.id.substring(0,15);a.consentCategory&&(b in d&&d.hasOwnProperty(b)&&!d[b].category)&&(c++,d[b]={label:a.label,category:a.consentCategory})}});b.set("v.updatedCount",c);b.set("v.recipientConsentCategories",d);0!==c&&c===Object.keys(d).length&&this.updateLabel(b,d)},updateLabelAndFireEvent:function(b,a){b.set("v.label",a);b.getEvent("consentWarningHappened").setParams({warning:a}).fire()}}}});return {"xs":"I","descriptor":"markup://emailui:consentManager","ad":[["body","aura://Aura.Component[]","G",false,[]],["label","aura://String","I",false,""],["updatedCount","aura://Integer","I",false,0],["recipientConsentCategories","aura://Map","I",false,{}]],"med":[{"name":"emailui:initRecipientConsentCategories","xs":"I","action":"{!c.initRecipientConsentCategories}","attributes":[["recipientIds","aura://List","I",false,"[]"],["recipients","aura://List","I",false,"[]"]]},{"name":"emailui:updateRecipientConsentCategories","xs":"I","action":"{!c.updateRecipientConsentCategories}","attributes":[["recipients","aura://List","I",false,"[]"]]}],"re":[{"ed":"markup://emailui:consentWarningHappened","n":"consentWarningHappened","xs":"I"}],"css":true}*/});
$A.componentService.addComponent("markup://force:empApi",function(){/*$A.componentService.addComponentClass("markup://force:empApi",function(){return{meta:{name:"force$empApi","extends":"markup://aura:component",imports:{empLib:"markup://force:emp",empNotificationServiceLib:"markup://force:empNotificationService",toolkit:"markup://one:internalToolkit"}},controller:{init:function(a,b,c){c.initEmpConfig(a);c.toolkit.internal.registerEmp(a)},subscribe:function(a,b,c){var d=b.getParam("arguments");b=$A.util.lookup(d,"channel");var f=$A.util.lookup(d,"onMessageCallback"),
e=$A.util.lookup(d,"subscribeCallback"),d=$A.util.lookup(d,"replayId"),d=$A.util.isUndefinedOrNull(d)?-1:d;if(b||f)return c.subscribe(a,b,d,f,e)},unsubscribe:function(a,b,c){var d=b.getParam("arguments");b=$A.util.lookup(d,"subscription");d=$A.util.lookup(d,"callback");b&&c.unsubscribe(a,b,d)},onError:function(a,b,c){b=b.getParam("arguments");if(b=$A.util.lookup(b,"callback"))c.onError(a,b)},setDebugFlag:function(a,b,c){b=b.getParam("arguments");b=$A.util.lookup(b,"flag");$A.util.isUndefinedOrNull(b)||
c.setDebugFlag(a,b)},isEmpEnabled:function(a,b,c){return c.isEmpEnabled()}},helper:{initializedCore:!1,initEmpConfig:function(a){var b=this.getEmpLib(a);if(this.isEmpEnabled()){var c=a.get("v.notificationServiceEndpoint");if(!this.initialized||c){var d=a.get("c.getEmpConfig");d.setCallback(this,function(a){var e=d.getState();a=a.getReturnValue();"SUCCESS"===e&&(a?(c?(e={sessionId:a.sessionKey,cometdUrl:"wss://"+c,paths:{cometdWorkerJs:a.notificationServiceCometdWorkerJs},websocketEnabled:!0},b.Emp.init(e)):
(e={sessionId:a.sessionKey,cometdUrl:a.cometdUrl,paths:{cometdWorkerJs:a.cometdWorkerJs}},b.Emp.init(e),this.initialized=!0),console.log("empApi setting initialized true for : "+c)):$A.warning("[empApi] payload from the server is null so didn't initialize Emp."))}.bind(this));$A.enqueueAction(d)}this.setDebugFlag(a,"DEV"===$A.getContext().getMode())}else $A.warning("[empApi] EmpJs only works in the desktop and mobile browsers.")},subscribe:function(a,b,c,d,f){if(a=this.getEmpLib(a))return a.Emp.subscribe(b,
c,d,f)},unsubscribe:function(a,b,c){if(a=this.getEmpLib(a))return a.Emp.unsubscribe(b,c)},onError:function(a,b){var c=this.getEmpLib(a);if(c)return c.Emp.onError(b)},setDebugFlag:function(a,b){var c=this.getEmpLib(a);if(c)return c.Emp.setDebugFlag(b)},isEmpEnabled:function(){return void 0!==$A&&null!==$A&&(void 0===$A.getRoot()||null===$A.getRoot()||"native:bridge"!==$A.getRoot().type)&&!!this.empLib},getEmpLib:function(a){return!a.get("v.notificationServiceEndpoint")?this.empLib:this.empNotificationServiceLib}}}});return {"xs":"I","descriptor":"markup://force:empApi","cd":{"descriptor":"compound://force.empApi","ac":[{"n":"getEmpConfig","descriptor":"serviceComponent://ui.force.components.controllers.empApi.EmpApiController/ACTION$getEmpConfig","at":"SERVER","rt":"java://java.util.Map","pa":[]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["notificationServiceEndpoint","aura://String","I",false]],"med":[{"name":"force:subscribe","xs":"I","attributes":[["channel","aura://String","I",false],["replayId","aura://Long","I",false,null],["onMessageCallback","apex://Function","I",false,null],["subscribeCallback","apex://Function","I",false,null]]},{"name":"force:unsubscribe","xs":"I","attributes":[["subscription","aura://Object","I",false,null],["callback","apex://Function","I",false,null]]},{"name":"force:onError","xs":"I","attributes":[["callback","apex://Function","I",false,null]]},{"name":"force:setDebugFlag","xs":"I","attributes":[["flag","aura://Boolean","I",false]]},{"name":"force:isEmpEnabled","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:pill",function(){/*$A.componentService.addComponentClass("markup://forceChatter:pill",function(){return{meta:{name:"forceChatter$pill","extends":"markup://ui:interactive"},controller:{deleteItem:function(a,c,b){b.fireHandleEvent(a,"delete")},setFocus:function(a,c,b){b.setFocus(a)},getHandledDOMEvents:function(a){return["click","keydown","mouseover"]},handleInteraction:function(a,c,b){b.handledInteraction(a,c)},onBlur:function(a,c,b){b.removeFocus(a)}},helper:{handledInteraction:function(a,c){var b=c.getParams(),e=b.domEvent,
d;37===b.keyCode?d="focusPrevItem":39===b.keyCode?d="focusNextItem":46===b.keyCode?d="delete":8===b.keyCode&&(e&&e.preventDefault(),d="delete");d&&this.fireHandleEvent(a,d)},fireHandleEvent:function(a,c){var b=a.getEvent("onHandledEvent"),e={data:a.get("v.data"),action:c};b.setParams({value:e}).fire()},setFocus:function(a){if(a=(a=a.find("link"))?a.getElement():null)a.focus(),$A.util.addClass(a,"focused")},removeFocus:function(a){(a=(a=a.find("link"))?a.getElement():null)&&$A.util.removeClass(a,"focused")}}}});return {"xs":"I","descriptor":"markup://forceChatter:pill","st":{"descriptor":"css://forceChatter.pill","cl":"forceChatterPill"},"su":"markup://ui:interactive","ad":[["body","aura://Aura.Component[]","G",false,[]],["disableDoubleClicks","aura://Boolean","I",false,false],["class","aura://String","G",false],["dir","aura://String","I",false,"ltr"],["namespaceOverride","aura://String","I",false],["actionable","aura://Boolean","I",false,true],["role","aura://String","I",false],["ariaDescribedBy","aura://String","PP",false,""],["value","aura://Object","PP",false,null],["visible","aura://Boolean","I",false,true],["disabled","aura://Boolean","G",false,false],["data","aura://Object","I",false,null],["showDelete","aura://Boolean","I",false,true]],"re":[{"ed":"markup://ui:click","n":"click","xs":"G"},{"ed":"markup://ui:dblclick","n":"dblclick","xs":"G"},{"ed":"markup://ui:mousedown","n":"mousedown","xs":"G"},{"ed":"markup://ui:mousemove","n":"mousemove","xs":"G"},{"ed":"markup://ui:mouseout","n":"mouseout","xs":"G"},{"ed":"markup://ui:mouseover","n":"mouseover","xs":"G"},{"ed":"markup://ui:mouseup","n":"mouseup","xs":"G"},{"ed":"markup://ui:select","n":"select","xs":"G"},{"ed":"markup://ui:blur","n":"blur","xs":"G"},{"ed":"markup://ui:focus","n":"focus","xs":"G"},{"ed":"markup://ui:keypress","n":"keypress","xs":"G"},{"ed":"markup://ui:keyup","n":"keyup","xs":"G"},{"ed":"markup://ui:keydown","n":"keydown","xs":"G"},{"ed":"markup://ui:response","n":"onHandledEvent","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleInteraction"},"n":"keydown"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onBlur"},"n":"blur"}],"ld":{"delete":{}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"role":"listitem","title":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:pill","path":"v.data.name"},"class":"pill"}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:outputText"},"attributes":{"values":{"class":{"descriptor":"class","value":"topic"},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:pill","path":"v.data.name"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:outputText"},"attributes":{"values":{"visible":{"descriptor":"visible","value":false},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:pill","path":"$Label.Feeds.DeleteAction"}},"class":{"descriptor":"class","value":"assistiveText"}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"delete","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onclick":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:pill","path":"c.deleteItem"},"tabindex":"-1"}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"deleteIcon"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:icon"},"attributes":{"values":{"alt":{"descriptor":"alt","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:pill","path":"$Label.TopicAssignment.removeTopic"}},"key":{"descriptor":"key","value":"close"}}}}]}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:pill","path":"v.showDelete"}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:inputDesktop",function(){/*$A.componentService.addComponentClass("markup://forceSearch:inputDesktop",function(){return{meta:{name:"forceSearch$inputDesktop","extends":"markup://forceSearch:input",imports:{stringLib:"markup://force:stringLibrary",lib:"markup://forceSearch:searchLibrary",navLib:"markup://laf:navLib"}},controller:{init:function(a,b,c){if(a.get("v.delayInit")){var d=function(){a.removeEventHandler("force:pageLoaded",d);c.handleInit.call(c,a)};a.addEventHandler("force:pageLoaded",d)}else c.handleInit(a);c.updateLabels(a);
(b=c.getAutocompleteCmp(a))&&b.set("v.listReferenceComponent",a);c.lib.loggingCtx.setAutoLogKeys(a,["searchDialogSessionId"])},update:function(a,b,c){if(c.shouldUpdate(a,b)){var d={term:a.get("v.term"),scopeMap:a.get("v.scopeMap"),context:a.get("v.context")};c.updateSelf(a,b);c.updateChildren(a,b);c.updatePost(a,b,d)}},updateHeader:function(a,b,c){b=b.getParams();b.searchActive||b.searchHasFocus?($A.util.removeClass(a,"hidden"),$A.util.addClass(a,"searching"),b.searchHasFocus&&c.focus(a)):(!1===b.searchShowLauncher?
$A.util.addClass(a,"hidden"):$A.util.removeClass(a,"hidden"),$A.util.removeClass(a,"searching"))},blur:function(a,b,c){a.get("v.priv_inputHasFocus")&&(a.set("v.priv_inputHasFocus",!1),c.cancelFetchData(a),c.updateFocused(a),c.resetListIteration(a))},focus:function(a,b,c){if(!a.get("v.priv_inputHasFocus")){a.set("v.priv_inputHasFocus",!0);try{var d=c.getAutocompleteCmp(a);null!==d&&$A.util.removeClass(d,"slds-hidden");setTimeout(function(){c.fireFetchData(a)});c.updateFocused(a);c.setupNewSearchActivation(a);
c.lib.logging.log(a,c.lib.interaction.SYNTHETIC_CLICK,a.get("v.eventScope"),"search-input");var e=c.getInputEl(a);e&&e.setAttribute("keepFocusOnNavigate","true")}catch(f){}a.getEvent("inputFocused").fire()}},click:function(a,b,c){try{c.resetListHighlight(a)}catch(d){}a.getEvent("inputClicked").fire()},keydown:function(a,b,c){var d=b.getParam("keyCode");if(13===d)if(c.hasHighlightedListItem(a))b.getParam("domEvent").preventDefault();else{if(b=c.getInputValue(a),a.get("v.term")!==b&&a.set("v.term",
b),b&&0!==b.trim().length){var e=a.get("v.dataProvider[0]").get("v.headerActions[0]"),d=(e||{}).scopeMap,e=(e||{}).context;$A.util.isEmpty(d)&&(d=a.get("v.scopeMap")||{});$A.util.isEmpty(e)&&(e=a.get("v.context")||{});a.set("v.scopeMap",d);a.set("v.context",e);a.getConcreteComponent().getDef().getHelper().runSearch(a,b,d,e);c.cancelFetchData(a);window.setTimeout($A.getCallback(function(){c.hideList(a)}),0);c.lib.logging.log(a,c.lib.interaction.SYNTHETIC_CLICK,a.get("v.eventScope"),"search-mru-action-item",
{type:c.lib.action.SEARCH_OPTION,method:"enter",term:b,scopeName:d.name||d.type})}}else if(27===d)c.resetListHighlight(a);else if((8===d||37===d)&&""===a.get("v.term"))(b=a.find("pills"))&&b.focus()},selectListOption:function(a,b,c){var d=b.getParam("option");if(b.getParam("isFooter"))c.launchAdvancedPanel(a);else{b=c.getInputValue(a);c.logItemClick(a,d,b);var e=d.get("v.value"),f=d.get("v.type"),h=d.get("v.scopeMap")||{};f===c.lib.action.SEARCH_OPTION?(d=d.get("v.context")||{},a.set("v.scopeMap",
h),a.set("v.context",d),a.getConcreteComponent().getDef().getHelper().runSearch(a,b,h,d),c.cancelFetchData(a),window.setTimeout($A.getCallback(function(){c.hideList(a)}),0)):f===c.lib.action.FILTER_OPTION?(c.clear(a),c.hideList(a),c.addFilter(a,h),c.focus(a),c.fireCustom(a,"forceSearch:inputDesktop:UPDATE_FILTERED_SCOPE",h)):e&&(c.fireCustom(a,"forceSearch:inputDesktop:RECORD_SELECTED",{recordId:e}),a.isConcrete()?c.handleRecordSelected(a,d):(b=a.getConcreteComponent(),b.getDef().getHelper().handleRecordSelected(b,
d)),c.hideList(a),c.blur(a))}},inputChange:function(a,b,c){b=b.getParam("value");c.fireFetchData(a);c.fireSetTerm(a,b)},matchDone:function(a,b,c){c.resetListHighlight(a)},handleResize:function(a,b,c){c.resizeList(a)},handleInputBusy:function(a,b,c){b=a.find("inputSpinner");a.get("v.priv_inputBusy")&&!$A.util.isEmpty(a.get("v.term"))?$A.util.removeClass(b,"slds-hide"):$A.util.addClass(b,"slds-hide")},handleDataChange:function(a,b,c){c.logInstantResultsListRefresh(a)},addFilter:function(a,b,c){c.addFilter(a,
a.get("v.scopeMap"))},clearFilter:function(a,b,c){c.clearFilter(a)},handleAdvancedPillRemoved:function(a,b,c){c.clearAdvancedFilter(a);c.focus(a)},handleFilterPanelDestroyed:function(a,b,c){b=a.find("pills");a=c.lib.ctx.getTotalFiltersApplied(a);0===a?(b.advancedVisible(!1,!1),b.set("v.totalFilters",0)):0<a&&b.advancedVisible(!0,!0)},handleFilterChanged:function(a,b,c){b=b.getParam("values")||{};a.find("pills").set("v.totalFilters",Object.keys(b).length)},handleAdvancedPillSelected:function(a,b,c){c.launchAdvancedPanel(a)},
onPageLoaded:function(a,b,c){c.showPopovers(a)}},helper:{handleInit:function(a){this.fetchScopeMaps(a);this.fireFetchData(a);a=this.getInputEl(a);null!==a&&void 0!==a&&a.setAttribute("spellcheck",!1)},fetchScopeMaps:function(a){var b=[],c=a.get("v.scopeSets")||{},d=this.lib.scope.SCOPE_SET_TYPE.FILTER;!a.get("v.filtered")&&(0<a.get("v.maxScopedSearchActions")&&$A.util.isEmpty(c[d]))&&b.push(d);for(var c=a.get("v.scopeSetTypes")||[],e=0;e<c.length;e+=1){var f=c[e];f!==d&&this.lib.scope.SCOPE_SET_TYPE[f]&&
b.push(f)}0<b.length&&this.fireSGDPRequest(a,"getScopeMaps",{scopeTypes:b})},shouldUpdate:function(a,b){if(!a||!a.isValid()||!b||a.get("v.updateOnlyIfActive")&&!this.isActive(a))return!1;var c=this,d=b.getParam("arguments")||b.getParams()||{},e=!1,f;switch(d.type){case c.lib.event.SET_CONTEXT:e=!0;case c.lib.event.SET_SCOPE:case c.lib.event.SEARCH:if(f=a.get("v.priv_suspectSetContextTimeoutId"))clearTimeout(f),a.set("v.priv_suspectSetContextTimeoutId",null)}if(!e)return!0;e=d.scopeMap;f=!1;$A.util.isEmpty(e)?
f=!0:!$A.util.isEmpty(e.name)&&$A.util.isEmpty(e.labelPlural)&&(f=!0);return f?(f=setTimeout($A.getCallback(function(){a.update(d.type,d.term,{type:c.lib.scope.TYPE.TOP_RESULTS},d.context,d.sourceId)}),750),a.set("v.priv_suspectSetContextTimeoutId",f),!1):c.lib.scope.scopeMapsEqual(a.get("v.scopeMap"),e)&&$A.util.isEmpty(d.context)&&$A.util.isEmpty(a.get("v.context"))&&!a.get("v.filtered")?!1:!0},updatePost:function(a,b,c){if(this.shouldUpdatePost(a,b)){var d=a;"markup://forceSearch:inputDesktop"!==
a.getDef().getDescriptor().getQualifiedName()&&(d=a.getSuper());if(a=b.getParam("arguments"))switch(a.type){case this.lib.event.FOCUS:this.focus(d);break;case this.lib.event.BLUR:this.blur(d);break;case this.lib.event.CLEAR:this.clear(d,!0);break;case this.lib.event.SET_TERM:this.fireFetchData(d);break;case this.lib.event.SGDP_RESPONSE:this.postSgdpResponse(d,b);break;case this.lib.event.SET_CONTEXT:if((a.context||{}).searchSource!==this.lib.ctx.searchSource.SCOPES_LIST)this.postSetContext(d),this.updateState(d,
c);break;case this.lib.event.SET_SCOPE:this.updateState(d,c);break;case this.lib.event.SEARCH:this.updateState(d,c);break;case this.lib.event.CUSTOM:this.postCustom(d,b,c)}}},focus:function(a){try{this.getInputEl(a).focus(),this.updateFocused(a)}catch(b){}},blur:function(a){try{this.getInputEl(a).blur(),this.updateFocused(a)}catch(b){}},clear:function(a,b){if(a.get("v.term")){a.set("v.term","");try{this.getInputEl(a).value=""}catch(c){}b||this.fireClear(a)}},postSgdpResponse:function(a,b){var c=this.getSGDPResponseData(a,
"getScopeMaps",b);if(null!==c){if(c.CUSTOM&&1===c.CUSTOM.length)this.lib.scope.scopeMapsEqual(c.CUSTOM[0],a.get("v.scopeMap"))&&(c=c.CUSTOM[0],a.set("v.scopeMap",c),this.lib.scope.addScopeMapToSetIfNotTopResults(this.lib.scope.SCOPE_SET_TYPE.VISITED,c,!0));else{var d=a.get("v.scopeSets"),c=this.lib.util.mergeMaps(c,d);a.set("v.scopeSets",c);this.lib.scope.addScopeSets(c);this.resetTypeAheadQueryMaps(a)}this.updateCrossEntityTypeAheadEnabled(a)}},postSetContext:function(a){0===(a.get("v.priv_activeSearchPages")||
[]).length&&this.clear(a,!0)},postCustom:function(a,b,c){b=this.lib.event.getEventData(b);if(null!==b)switch(b.type){case "forceSearch:filterPanel:FILTER_UPDATE":this.handleCustomFilterUpdate(a,b,c);a.get("v.isES4CSKPilotEnabled")&&this.performSearch(a);break;case "forceSearch:search:STATE_CHANGE":this.handleCustomSearchActive(a,b);break;case "forceSearch:inputEntitySelector:UPDATE_FILTERED_SCOPE":this.handleCustomPrescoping(a,b);break;case "forceSearch:inputEntitySelector:CLEAR_FILTERED_SCOPE":a.get("v.filtered")&&
(c=a.get("v.priv_unfilteredConfig")||{},c=$A.util.isEmpty(c.scopeMap)?this.lib.scope.getTopResultsScopeMap({}):c.scopeMap,a.set("v.scopeMap",c),this.clearFilter(a),this.fireFetchData(a))}},handleCustomPrescoping:function(a,b){var c=b.data||{};c&&0<Object.keys(c).length&&this.addFilter(a,c);this.lib.scope.addScopeMapToSetIfNotTopResults(this.lib.scope.SCOPE_SET_TYPE.VISITED,c,!0)},handleCustomFilterUpdate:function(a,b,c){b=(b||{}).data||{};c=a.get("v.context")||{};c[this.lib.ctx.FILTERS]=b;a.set("v.context",
c);this.updateAdvancedFilters(a);this.updateLabels(a)},handleCustomSearchActive:function(a,b){var c=(b||{}).data||{},d=void 0!==c.page?c.page:null,e=void 0!==c.cmpId?c.cmpId:null,d=null!==d&&null!==e?d+":"+e:null;if(null!==d){var e=a.get("v.priv_activeSearchPages")||[],f=e.indexOf(d),c=void 0!==c.state?c.state:null;"LOADED"===c||"ENTERED"===c?-1===f&&e.push(d):-1!==f&&e.splice(f,1);a.set("v.priv_activeSearchPages",e)}},updateState:function(a,b){this.updateScopeMap(a);this.updateGlobalAction(a);this.updateFilters(a);
this.updateLabels(a);this.updateOptions(a,b)},updateScopeMap:function(a){var b=a.get("v.scopeMap")||{};!b.cacheable&&b.name&&this.fireSGDPRequest(a,"getScopeMaps",{entityNames:[b.name]})},updateGlobalAction:function(a){var b=a.get("v.scopeMap");b.cacheable&&this.lib.scope.isTopResults(b)&&a.set("v.priv_globalActionScopeMap",b)},updateLabels:function(a){var b=a.get("v.filtered"),c=a.get("v.scopeMap")||{},d=c.name&&c.labelPlural,e="",f="",f=a.get("v.placeholderOverride");null!==f&&void 0!==f?e=f:b?
(e=$A.get("$Label.LightningSearchUI.FilteredSearchPlaceholder"),f=$A.get("$Label.LightningSearchUI.FilteredSearchTooltip").replace("{0}",c.labelPlural)):d?(e=$A.get("$Label.LightningSearchUI.ScopedSearchPlaceholder").replace("{0}",c.labelPlural),f=$A.get("$Label.LightningSearchUI.ScopedSearchTooltip").replace("{0}",c.labelPlural)):(e=$A.get("$Label.LightningSearchUI.GlobalSearchPlaceholder"),f=$A.get("$Label.LightningSearchUI.GlobalSearchTooltip"));a.set("v.placeholder",e);a.set("v.priv_inputTitle",
f);c="";b?(b=this.lib.ctx.getTotalFiltersApplied(a),c=(b=1===b?$A.get("$Label.LightningSearchUI.FilteredBySingle"):$A.get("$Label.LightningSearchUI.FilteredByMany").replace("{0}",b))?f+": "+b:e):c=f;a.set("v.priv_assistiveText",c)},updateFilters:function(a){var b=a.getConcreteComponent();b===a&&a.get("v.filtered")&&(this.fireCustom(b,"forceSearch:inputDesktop:CLEAR_FILTERED_SCOPE",null),this.clearFilter(b),(a=b.find("pills"))&&a.advancedVisible(!1,!1))},updateAdvancedFilters:function(a){0<this.lib.ctx.getTotalFiltersApplied(a)&&
(a=a.find("pills"))&&a.advancedVisible(!0,!0)},updateOptions:function(a,b){!this.lib.scope.scopeMapsEqual(a.get("v.scopeMap"),b.scopeMap)&&(this.isFocused(a)&&!this.isSearching(a))&&this.fireFetchData(a)},updateFocused:function(a){this.isFocused(a)?($A.util.addClass(a,"focused"),$A.util.addClass(a.find("contentWrapper"),"focused"),this.monitorList(a,5)):($A.util.removeClass(a,"focused"),$A.util.removeClass(a.find("contentWrapper"),"focused"))},updateCrossEntityTypeAheadEnabled:function(a){var b=a.get("v.scopeSetTypes")||
[],c=a.get("v.scopeSets")||{},b=0<b.length,d=a.get("v.scopeMap")||{};if(!1===b&&(c=this.lib.scope.getScopeNames(c[this.lib.scope.SCOPE_SET_TYPE.DEFAULT]||[]),b=1<c.length,!1===b&&(d=d.name)))var e=c.concat(d),c=e.filter(function(a,b){return e.indexOf(a)===b}),b=1<c.length;a.set("v.priv_hasMultiEntityParams",b)},fireFetchData:function(a){if(this.isFocused(a)){var b=this.getAutocompleteCmp(a);null!==b&&(a=a.get("v.term")||"",b.set("v.setDefaultHighlight",this.lib.util.isValidSearchString(a)),b.get("e.fetchData").setParams({parameters:{value:a,
keyword:a}}).fire())}else $A.util.removeClass(a,"focused"),$A.util.removeClass(a.find("contentWrapper"),"focused")},cancelFetchData:function(a){a=this.getAutocompleteCmp(a);null!==a&&a.get("e.abortFetchData").fire()},runSearch:function(a,b,c,d){$A.util.addClass(a,"searching");this.lib.logging.logPerf(a,"showResultsTopResultsEPTE2E","START");delete d.filterData;d.disableSpellCorrection=!1;d.disableIntentQuery=!1;d.searchDialogSessionId=(a.get("v.loggingContext")||{}).searchDialogSessionId;d.searchSource=
this.lib.ctx.searchSource.INPUT_DESKTOP;this.fireSearch(a,b,c,d);if(0===(a.get("v.priv_activeSearchPages")||[]).length)this.lib.logging.logPerf(a,"initSearch","START"),this.navigateToResultsPage(a,b,c,d)},navigateToResultsPage:function(a,b,c,d){var e=c&&c.resultsPageCmp||this.lib.scope.getResultsPageCmp(a);$A.get("e.force:navigateToComponent").setParams({componentDef:e,componentAttributes:{term:b,scopeMap:c,context:d,groupId:a.get("v.groupId")},resetHistory:$A.get("$Browser.isPhone")}).fire()},isSearching:function(a){return $A.util.hasClass(a,
"searching")},isFocused:function(a){a=this.getInputEl(a);try{return null!==a&&a===window.document.activeElement}catch(b){return!1}},hideList:function(a){(a=this.getListCmp(a))&&a.set("v.visible",!1)},getAutocompleteCmp:function(a){return(a=a.find("autocomplete"))?a:null},getInputEl:function(a){if(a=this.getAutocompleteCmp(a))if(a=a.getElement())return a.getElementsByTagName("input")[0]||null;return null},getListCmp:function(a){if(a=this.getAutocompleteCmp(a))if(a=a.find("list"))return a;return null},
getInputValue:function(a){return(a=this.getInputEl(a))&&a.value?a.value:""},computeResultType:function(a){return{MRU_GLOBAL:this.lib.results.resultType.MRU,MRU_SCOPED:this.lib.results.resultType.MRU,TYPEAHEAD_SCOPED:this.lib.results.resultType.TYPEAHEAD,SEARCH_OPTION:this.lib.results.resultType.USER_INPUT}[a]},computeResultSet:function(a){return a.map(function(a){return{position:a.index,resultType:this.computeResultType(a.type),tableEnumOrId:(a.scopeMap||{}).name,recordId:a.Id,keyPrefix:(a.scopeMap||
{}).keyPrefix}}.bind(this))},updateLoggingContext:function(a){var b=a.get("v.loggingContext");b.searchDialogSuggestionsListIteration=(b.searchDialogSuggestionsListIteration||0)+1;b.instantResultListImpressionId=b.searchDialogSessionId+"_"+b.searchDialogSuggestionsListIteration;a.set("v.loggingContext",b)},logInstantResultsListRefresh:function(a){var b=a.get("v.dataProvider")[0];if(b){this.updateLoggingContext(a);var c=b.get("v.items"),c=this.computeResultSet(c),b=(b.get("v.loggingContext")||{}).suggestionId,
d=a.get("v.loggingContext")||{};this.lib.logging.log(a,this.lib.interaction.SYNTHETIC_REFRESH,a.get("v.eventScope"),"search-suggestions-list",{iteration:d.searchDialogSuggestionsListIteration,numChars:a.get("v.term").length,numResults:c.length,resultSet:c,suggestionId:b,instantResultListImpressionId:d.instantResultListImpressionId})}},resetListIteration:function(a){var b=a.get("v.loggingContext")||{};b.searchDialogSuggestionsListIteration=null;a.set("v.loggingContext",b)},logItemClick:function(a,
b,c){if(b){var d=b.get("v.type");if(d){var e,f;e=a.get("v.dataProvider[0]");var h=e.get("v.loggingContext.suggestionId"),k=b.get("v.index"),l=(a.get("v.loggingContext")||{}).instantResultListImpressionId,g={recordId:b.get("v.value"),position:k,searchString:c,mruVisibleCount:e.get("v.numScopedMruItems"),typeAheadVisibleCount:e.get("v.numScopedTypeAheadItems"),suggestionId:h,instantResultListImpressionId:l,prescoping:a.get("v.filtered")};!a.get("v.filtered")&&a.get("v.priv_hasMultiEntityParams")&&(g.mruVisibleCount=
e.get("v.numGlobalMruItems"));switch(d){case "MRU_GLOBAL":g.searchArea="forceSearch:mruDesktopItem:global";g.resultType=this.lib.results.resultType.MRU;f="semac";e=!0;break;case "MRU_SCOPED":g.searchArea="forceSearch:mruDesktopItem:scoped";g.resultType=this.lib.results.resultType.MRU;f="semac";e=!0;break;case "TYPEAHEAD_SCOPED":g.searchArea="forceSearch:mruDesktopItem:scoped";g.queryId=e.get("v.typeAheadQueryId");g.resultType=this.lib.results.resultType.TYPEAHEAD;f="seasc";e=!0;break;default:e=!1}e?
this.lib.logging.log(a,this.lib.interaction.SYNTHETIC_CLICK,a.get("v.eventScope"),"search-mru-item",g,f):this.lib.logging.log(a,this.lib.interaction.SYNTHETIC_CLICK,a.get("v.eventScope"),"search-mru-action-item",{method:"click",term:c,scopeName:b.get("v.scopeMap").name||b.get("v.scopeMap").type,type:d,prescoping:a.get("v.filtered"),suggestionId:h,instantResultListImpressionId:l,position:k})}}},monitorList:function(a,b){var c=this;c.resizeList(a);if(b)for(var d=0;d<2*b;d+=1)setTimeout($A.getCallback(function(){a&&
c.resizeList(a)}),500*d)},resizeList:function(a){var b=this.getListCmp(a);if(b){var b=b.getElement(),c=a.getElement();if(b&&c&&(c=c.clientWidth+"px",b.style.width!==c&&(b.style.width=c),a=a.find("contentWrapper")))if(a=a.getElement())a=a.offsetLeft+"px",b.style.left!==a&&(b.style.left=a)}},hasHighlightedListItem:function(a){var b=!1;if(a=this.getListCmp(a)){for(var c=a.find("iter").get("v.body"),d=0,e=c.length;d<e;d+=1)b=b||c[d].get("v.highlighted");b=b||a.get("v.footerSelected")}return b},resetListHighlight:function(a){var b=
this.getListCmp(a);if(null!==b){for(var c=b.find("iter").get("v.body"),d=0,e=c.length;d<e;d+=1)c[d].set("v.highlighted",!1);c=a.find("listFooter");$A.util.removeClass(c,"highlighted");b.set("v.footerSelected",!1);this.lib.util.isValidSearchString(a.get("v.term"))&&b.get("e.listHighlight").setParams({activeIndex:0}).fire()}},addFilter:function(a,b){this.cancelFetchData(a);this.resetTypeAheadQueryMaps(a,!0);var c=a.get("v.priv_unfilteredConfig");$A.util.isEmpty(c)&&a.set("v.priv_unfilteredConfig",{scopeSets:a.get("v.scopeSets"),
scopeSetTypes:a.get("v.scopeSetTypes"),scopeMap:a.get("v.scopeMap")});a.set("v.scopeSets",{});a.set("v.scopeSetTypes",[]);a.set("v.scopeMap",b);a.set("v.filtered",!0);(c=a.find("listFooter"))&&c.populateFilterCmp();this.clearAdvancedFilter(a);this.updateLabels(a);this.fireFetchData(a)},clearFilter:function(a){this.cancelFetchData(a);if(a.get("v.filtered")){var b=a.get("v.priv_unfilteredConfig");a.set("v.priv_unfilteredConfig",{});a.set("v.scopeSets",void 0!==b.scopeSets?b.scopeSets:{});a.set("v.scopeSetTypes",
void 0!==b.scopeSetTypes?b.scopeSetTypes:[]);a.set("v.filtered",!1);(b=a.find("listFooter"))&&b.populateFilterCmp();this.clearAdvancedFilter(a);this.resetTypeAheadQueryMaps(a);this.updateLabels(a)}},clearAdvancedFilter:function(a){if(0<this.lib.ctx.getTotalFiltersApplied(a)){var b=a.find("pills");b&&b.advancedVisible(!1,!1);b=a.get("v.context")||{};b[this.lib.ctx.FILTERS]={};a.set("v.context",b);this.fireSetContext(a,a.get("v.scopeMap"),b)}},resetTypeAheadQueryMaps:function(a,b){var c=a.get("v.dataProvider[0]");
if(c){var d=[];if(!b){var e=this.lib.scope.SCOPE_SET_TYPE.DEFAULT,f=a.get("v.scopeSets")||{};f[e]?d=f[e]:(e=a.get("v.scopeSetTypes"))&&0<e.length&&(d=f[e[0]]||[]);d=this.lib.scope.removeScopesFromList(d,a.get("v.disabledEntitiesTypeahead"));d.splice(this.lib.scope.MAX_TYPEAHEAD_SCOPES)}c.set("v.typeAheadQueryMaps",this.lib.util.copy(d))}},launchAdvancedPanel:function(a){var b=a.find("pills"),c=a.find("listFooter");if(b&&c){var d=b.find("advancedPillWrapper");d&&(b.advancedVisible(!0,!1),b=this.getInputEl(a),
d=d.getElement(),this.hideList(a),c.launchPanel(d,b))}},handleRecordSelected:function(a,b){var c=b.get("v.value"),d=(b.get("v.scopeMap")||{}).name;("ContentDocument"===d?$A.get("e.forceContent:openPreview").setParams({recordId:c,actionsContext:"LIST_VIEW_RECORD"}):$A.get("e.force:navigateToSObject").setParams({recordId:c,sObjectName:d})).fire()},showPopovers:function(a){},performSearch:function(a){var b=this.getInputValue(a),c=a.get("v.scopeMap"),d=a.get("v.context");a.getConcreteComponent().getDef().getHelper().runSearch(a,
b,c,d)}},renderer:{afterRender:function(a,b){a.superAfterRender();var c=b.getInputEl(a);c&&c.setAttribute("autocomplete","off")}}}});return {"xs":"I","descriptor":"markup://forceSearch:inputDesktop","st":{"descriptor":"css://forceSearch.inputDesktop","cl":"forceSearchInputDesktop"},"su":"markup://forceSearch:input","ad":[["body","aura://Aura.Component[]","G",false,[]],["shouldFocus","aura://Boolean","I",false,false],["groupId","aura://String","I",true,"DEFAULT"],["updateChildren","aura://Boolean","I",true,true],["updateOnlyIfActive","aura://Boolean","I",true,true],["priv_valueProviderReady","aura://Boolean","I",false,false],["initialTerm","aura://String","I",false],["initialScopeMap","aura://Map","I",false,null],["initialContext","aura://Map","I",false,null],["inContextOfComponent","aura://String","I",false,"forceSearch:search"],["term","aura://String","I",true,""],["scopeMap","aura://Map","I",true,{"type":"TOP_RESULTS"}],["context","aura://Map","I",true,{}],["loggingContext","aura://Map","I",true,{}],["isActivationTrackingEnabled","aura://Boolean","I",false,false],["impl","aura://String","I",false],["preloadCachesOnInit","aura://List","I",false,[]],["preloadCachesOnPageLoaded","aura://List","I",false,[]],["maxlength","aura://Integer","I",false,100],["class","aura://String","I",false],["disabled","aura://Boolean","I",false,false],["placeholder","aura://String","I",false,{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:input","path":"$Label.LightningSearchUI.GlobalSearchPlaceholder"}],["disabledEntitiesTypeahead","aura://List","I",false,["FeedPost","FeedItem","KnowledgeArticleVersion"]],["scopeSets","aura://Map","I",false,{}],["delayInit","aura://Boolean","I",false,true],["maxScopedMruItems","aura://Integer","I",false,5],["maxGlobalMruItems","aura://Integer","I",false,5],["maxScopedSearchActions","aura://Integer","I",false,0],["maxPills","aura://Integer","I",false,2],["filtered","aura://Boolean","I",false,false],["scopeSetTypes","aura://List","I",false,[]],["dataProvider","aura://Aura.Component[]","I",false,[{"componentDef":{"descriptor":"markup://forceSearch:inputDesktopDataProvider"},"attributes":{"values":{"groupId":{"descriptor":"groupId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"v.groupId"}},"scopeSetTypes":{"descriptor":"scopeSetTypes","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"v.scopeSetTypes"}},"onchange":{"descriptor":"onchange","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"c.handleDataChange"}},"scopeSets":{"descriptor":"scopeSets","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"v.scopeSets"}},"limitGlobalMruRequests":{"descriptor":"limitGlobalMruRequests","value":true},"allowCrossEntityTypeAhead":{"descriptor":"allowCrossEntityTypeAhead","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.priv_hasMultiEntityParams\")&&!(cmp.get(\"v.filtered\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"v.priv_hasMultiEntityParams"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"v.filtered"}],"byValue":false}},"enableGlobalAction":{"descriptor":"enableGlobalAction","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(cmp.get(\"v.filtered\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"v.filtered"}],"byValue":false}},"globalActionScopeMap":{"descriptor":"globalActionScopeMap","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"v.priv_globalActionScopeMap"}},"maxScopedMruItems":{"descriptor":"maxScopedMruItems","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.filtered\")?cmp.get(\"v.maxScopedMruItems\"):0);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"v.filtered"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"v.maxScopedMruItems"}],"byValue":false}},"maxGlobalMruItems":{"descriptor":"maxGlobalMruItems","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.filtered\")?0:cmp.get(\"v.maxGlobalMruItems\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"v.filtered"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"v.maxGlobalMruItems"}],"byValue":false}},"isProviding":{"descriptor":"isProviding","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"v.priv_inputBusy"}},"filtered":{"descriptor":"filtered","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"v.filtered"}},"context":{"descriptor":"context","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"v.context"}},"term":{"descriptor":"term","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"v.term"}},"scopeMap":{"descriptor":"scopeMap","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"v.scopeMap"}},"maxScopedSearchItems":{"descriptor":"maxScopedSearchItems","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"v.maxScopedSearchActions"}}}}}]],["listOption","aura://Aura.ComponentDefRef[]","I",true,[{"componentDef":{"descriptor":"markup://forceSearch:inputDesktopOption"},"attributes":{"values":{"secondLabel":{"descriptor":"secondLabel","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:inputDesktop","path":"row.descriptionLabel"}},"visible":{"descriptor":"visible","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:inputDesktop","path":"row.visible"}},"context":{"descriptor":"context","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:inputDesktop","path":"row.context"}},"index":{"descriptor":"index","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:inputDesktop","path":"row.index"}},"scopeLabel":{"descriptor":"scopeLabel","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.filtered\")?\"\":cmp.get(\"row.scopeMap.label\"));}","args":[{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:inputDesktop","path":"v.filtered"},{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:inputDesktop","path":"row.scopeMap.label"}],"byValue":true}},"scopeMap":{"descriptor":"scopeMap","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:inputDesktop","path":"row.scopeMap"}},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:inputDesktop","path":"row.nameLabel"}},"type":{"descriptor":"type","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:inputDesktop","path":"row.type"}},"title":{"descriptor":"title","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:inputDesktop","path":"row.title"}},"keyword":{"descriptor":"keyword","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:inputDesktop","path":"row.keyword"}},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:inputDesktop","path":"row.Id"}}}}}]],["placeholderOverride","aura://String","I",false],["eventScope","aura://String","I",false,"search-input-desktop"],["isES4CSKPilotEnabled","aura://Boolean","I",false,false],["disableAdvancedSearchFooterOverride","aura://Boolean","I",false,false],["priv_inputHasFocus","aura://Boolean","I",false,false],["priv_inputBusy","aura://Boolean","I",false,false],["priv_hasMultiEntityParams","aura://Boolean","I",false,true],["priv_unfilteredConfig","aura://Map","I",false,{}],["priv_assistiveText","aura://String","I",false,{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"$Label.LightningSearchUI.GlobalSearchPlaceholder"}],["priv_inputTitle","aura://String","I",false,{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"$Label.LightningSearchUI.GlobalSearchTooltip"}],["priv_globalActionScopeMap","aura://Map","I",false,{}],["priv_suspectSetContextTimeoutId","aura://Integer","I",false],["priv_activeSearchPages","aura://List","I",false,[]]],"med":[{"name":"forceSearch:update","xs":"I","action":"{!c.update}","attributes":[["type","aura://String","I",false],["term","aura://String","I",false],["scopeMap","aura://Map","I",false,null],["context","aura://Map","I",false,null],["sourceId","aura://String","I",false]]},{"name":"forceSearch:addFilter","xs":"I"},{"name":"forceSearch:clearFilter","xs":"I"}],"i":["markup://forceSearch:hasScopeSets"],"re":[{"ed":"markup://force:searchRequest","n":"searchRequest","xs":"I"},{"ed":"markup://force:showOnboardingPrompt","n":"showPrompt","xs":"I"},{"ed":"markup://ui:focus","n":"inputFocused","xs":"I"},{"ed":"markup://ui:click","n":"inputClicked","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"ed":{"descriptor":"markup://one:updateHeader"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.updateHeader"}},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleInputBusy"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.priv_inputBusy"},"n":"change"},{"ed":{"descriptor":"markup://force:pageLoaded"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onPageLoaded"}}],"ld":{"autocomplete":{"alias":"search-input-desktop"}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"flavorable":true,"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(cmp.get(\"v.class\"),\" slds-grid slds-nowrap slds-text-body--regular slds-text-color--weak slds-is-relative\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"v.class"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"contentWrapper","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"contentWrapper slds-size--1-of-1 slds-nowrap slds-border_top slds-border_left slds-border_right slds-border_bottom slds-grid slds-grid--vertical-align-center slds-scrollable_none"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:resizeObserver"},"attributes":{"values":{"onresize":{"descriptor":"onresize","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"c.handleResize"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-form-element__control slds-input-has-icon slds-input-has-icon--left"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:icon"},"attributes":{"values":{"imageType":{"descriptor":"imageType","value":"decorative"},"class":{"descriptor":"class","value":"slds-text-color--weak slds-input__icon inputIcon searchIcon slds-p-left--x-small"},"key":{"descriptor":"key","value":"search"}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"inputWrapper slds-grid slds-grid--align-center slds-grid--vertical-align-center slds-size--1-of-1"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceSearch:inputDesktopPillWrapper"},"localId":"pills","attributes":{"values":{"advancedSelected":{"descriptor":"advancedSelected","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"c.handleAdvancedPillSelected"}},"advancedPillRemoved":{"descriptor":"advancedPillRemoved","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"c.handleAdvancedPillRemoved"}},"scopeMap":{"descriptor":"scopeMap","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"v.scopeMap"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(cmp.get(\"v.disableAdvancedSearchFooterOverride\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"v.disableAdvancedSearchFooterOverride"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"autocompleteWrapper slds-grow slds-form-element__control"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:autocomplete"},"localId":"autocomplete","flavor":"default","attributes":{"values":{"emptyListContent":{"descriptor":"emptyListContent","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"aria-live":"polite","class":"assistiveText"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:inputDesktop","path":"$Label.LightningSearchUI.AutocompleteNoQuickResults"}}}}}]}}}}]},"listOption":{"descriptor":"listOption","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"v.listOption"}},"inputTitle":{"descriptor":"inputTitle","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"v.priv_inputTitle"}},"focus":{"descriptor":"focus","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"c.focus"}},"blur":{"descriptor":"blur","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"c.blur"}},"setDefaultHighlight":{"descriptor":"setDefaultHighlight","value":false},"labelPosition":{"descriptor":"labelPosition","value":"hidden"},"listHeader":{"descriptor":"listHeader","value":[{"componentDef":{"descriptor":"markup://forceSearch:searchInputListHeader"},"attributes":{"values":{"visible":{"descriptor":"visible","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.term\")?false:true);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"v.term"}],"byValue":false}},"filtered":{"descriptor":"filtered","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"v.filtered"}},"selectable":{"descriptor":"selectable","value":false},"scopeMap":{"descriptor":"scopeMap","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"v.scopeMap"}},"class":{"descriptor":"class","value":"slds-m-bottom--xx-small slds-p-horizontal--medium slds-p-top--x-small"}}}}]},"disabled":{"descriptor":"disabled","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"v.disabled"}},"placeholder":{"descriptor":"placeholder","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"v.placeholder"}},"listFooter":{"descriptor":"listFooter","value":[{"componentDef":{"descriptor":"markup://forceSearch:filterPanelTrigger"},"localId":"listFooter","attributes":{"values":{"panelDestroyed":{"descriptor":"panelDestroyed","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"c.handleFilterPanelDestroyed"}},"filtered":{"descriptor":"filtered","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"v.filtered"}},"groupId":{"descriptor":"groupId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"v.groupId"}},"context":{"descriptor":"context","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"v.context"}},"filterChanged":{"descriptor":"filterChanged","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"c.handleFilterChanged"}},"scopeMap":{"descriptor":"scopeMap","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"v.scopeMap"}},"disableAdvancedSearchFooterOverride":{"descriptor":"disableAdvancedSearchFooterOverride","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"v.disableAdvancedSearchFooterOverride"}}}}}]},"class":{"descriptor":"class","value":"list slds-size--1-of-1 slds-show slds-hidden slds-p-vertical--xx-small"},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"v.term"}},"inputFlavor":{"descriptor":"inputFlavor","value":"{remove}"},"disableMatch":{"descriptor":"disableMatch","value":true},"inputChange":{"descriptor":"inputChange","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"c.inputChange"}},"maxlength":{"descriptor":"maxlength","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"v.maxlength"}},"matchDone":{"descriptor":"matchDone","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"c.matchDone"}},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"v.priv_assistiveText"}},"selectOnTab":{"descriptor":"selectOnTab","value":false},"optionVar":{"descriptor":"optionVar","value":"row"},"click":{"descriptor":"click","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"c.click"}},"keydown":{"descriptor":"keydown","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"c.keydown"}},"selectListOption":{"descriptor":"selectListOption","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"c.selectListOption"}},"loadingIndicator":{"descriptor":"loadingIndicator","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"}}}}]},"inputClass":{"descriptor":"inputClass","value":"slds-input slds-text-color_default slds-p-left--none slds-size--1-of-1 input"},"dataProvider":{"descriptor":"dataProvider","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktop","path":"v.dataProvider"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"inputSpinner","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"inputSpinner slds-is-absolute slds-hide"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-assistive-text"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:inputDesktop","path":"$Label.LightningSearchUI.GlobalSearchLoading"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"role":"alert","aria-hidden":"false","class":"slds-spinner--brand slds-spinner slds-spinner--small"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-spinner__dot-a"}},"tag":{"descriptor":"tag","value":"div"}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-spinner__dot-b"}},"tag":{"descriptor":"tag","value":"div"}}}}]}}}}]}}}}]}}}}]}}}}]}}}}]}],"fc":true,"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:publisherPresentationDesktop",function(){/*$A.componentService.addComponentClass("markup://forceChatter:publisherPresentationDesktop",function() {
return {
  "meta":{
    "name":"forceChatter$publisherPresentationDesktop",
    "extends":"markup://forceChatter:publisherPresentation"
  }
};
});
return {"xs":"I","descriptor":"markup://forceChatter:publisherPresentationDesktop","st":{"descriptor":"css://forceChatter.publisherPresentationDesktop","cl":"forceChatterPublisherPresentationDesktop"},"su":"markup://forceChatter:publisherPresentation","ad":[["body","aura://Aura.Component[]","G",false,[]],["isWebApp","aura://Boolean","I",false,true],["isComposerContext","aura://Boolean","I",false,false],["isSfxPanelContext","aura://Boolean","I",false,false],["name","aura://String","I",false],["actions","aura://Aura.Component[]","I",false,[]],["errors","aura://Aura.Component[]","I",false,[]],["contextualMessages","aura://Aura.Component[]","I",false,[]],["main","aura://Aura.Component[]","I",false,[]],["bottom","aura://Aura.Component[]","I",false,[]],["insideScroller","aura://Boolean","I",false,true],["scrollerRefreshDelay","aura://Integer","I",false,500],["extraTitleClass","aura://String","I",false,""],["extraScrollerInsideClass","aura://String","I",false,""],["cssClass","aura://String","I",false,""],["showQuickActionVfHeader","aura://Boolean","I",false,true],["visibilitySwitcher","aura://Aura.Component[]","I",false,[]],["isPublisherCollapsed","aura://Boolean","I",false,false],["header","aura://Aura.Component[]","I",false,[]],["inPanel","aura://Boolean","I",false,false],["publisherId","aura://String","I",false]],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(fn.add(fn.add(\"container \",cmp.get(\"v.cssClass\")),\" \"),(cmp.get(\"v.isPublisherCollapsed\")?\"collapsedState\":\"activeState\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherPresentationDesktop","path":"v.isPublisherCollapsed"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherPresentationDesktop","path":"v.cssClass"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherPresentationDesktop","path":"v.header"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-content scrollable"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherPresentationDesktop","path":"v.errors"}}}}},{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherPresentationDesktop","path":"v.contextualMessages"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"visibilitySwitcher \",((cmp.get(\"v.visibilitySwitcher\")>\"\")?\"\":\"hide\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherPresentationDesktop","path":"v.visibilitySwitcher"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherPresentationDesktop","path":"v.visibilitySwitcher"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherPresentationDesktop","path":"v.inPanel"}}}}},{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherPresentationDesktop","path":"v.main"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"visibilitySwitcher \",((cmp.get(\"v.visibilitySwitcher\")>\"\")?\"\":\"hide\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherPresentationDesktop","path":"v.visibilitySwitcher"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherPresentationDesktop","path":"v.visibilitySwitcher"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(cmp.get(\"v.inPanel\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherPresentationDesktop","path":"v.inPanel"}],"byValue":false}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"bottomBar","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-grid bottomBar"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"bottomBarLeft slds-col"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherPresentationDesktop","path":"v.bottom"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"bottomBarRight slds-col--bump-left"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherPresentationDesktop","path":"v.actions"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(cmp.get(\"v.inPanel\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherPresentationDesktop","path":"v.inPanel"}],"byValue":false}}}}}]}}}}]}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://ui:pill",function(){/*$A.componentService.addComponentClass("markup://ui:pill",function(){return{meta:{name:"ui$pill","extends":"markup://aura:component",imports:{lib:"markup://ui:eventLib"}},controller:{deleteItem:function(a,c,b){b.fireHandleEvent(a,"delete")},getHandledDOMEvents:function(){return["click","keydown","mouseover"]},handleInteraction:function(a,c,b){b.handledInteraction(a,c)},onBlur:function(a,c,b){b.removeFocus(a)},onMouseEnter:function(a){var c=a.get("v.label");if(c){var b=a.find("label");b&&((b=b.getElement())&&
b.offsetWidth<b.scrollWidth?a.getElement().setAttribute("title",c):a.getElement().removeAttribute("title"))}},onFocus:function(){},focus:function(a,c,b){b.setFocus(a)},onIconError:function(a){$A.util.addClass(a.find("icon").getElement(),"invisible")}},helper:{handledInteraction:function(a,c){var b=c.getParams(),e=b.domEvent,d;37===b.keyCode?d="focusPrevItem":39===b.keyCode?d="focusNextItem":46===b.keyCode?d="delete":8===b.keyCode&&(d="delete");d&&(e&&e.preventDefault(),this.fireHandleEvent(a,d))},
fireHandleEvent:function(a,c){var b=a.getEvent("onHandledEvent"),e={id:a.get("v.id"),label:a.get("v.label"),action:c};b.setParams({value:e}).fire()},setFocus:function(a){if(a=(a=a.find("link"))?a.getElement():null)a.focus(),$A.util.addClass(a,"focused")},removeFocus:function(a){(a=(a=a.find("link"))?a.getElement():null)&&$A.util.removeClass(a,"focused")}},renderer:{afterRender:function(a,c){c.lib.interactive.addDomEvents(a);return a.superAfterRender()},unrender:function(a,c){c.lib.interactive.removeDomEventsFromMap(a);
a.superUnrender()}}}});return {"xs":"I","descriptor":"markup://ui:pill","st":{"descriptor":"css://ui.pill","cl":"uiPill"},"fst":{"descriptor":"css://ui.pill"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["class","aura://String","G",false],["dir","aura://String","I",false,"ltr"],["namespaceOverride","aura://String","I",false],["actionable","aura://Boolean","I",false,true],["role","aura://String","I",false],["ariaDescribedBy","aura://String","PP",false,""],["value","aura://Object","PP",false,null],["visible","aura://Boolean","I",false,true],["label","aura://String","I",false],["id","aura://String","I",false],["showDelete","aura://Boolean","I",false,true],["iconUrl","aura://String","I",false],["iconBackgroundColor","aura://String","I",false],["iconAlt","aura://String","I",false],["accessibleDeleteLabel","aura://String","I",false,"Press Delete to Remove"],["maxCharacters","aura://Integer","I",false,30],["active","aura://Boolean","I",false,true],["ariaLabelledBy","aura://String","I",false]],"med":[{"name":"ui:focus","xs":"I"}],"i":["markup://ui:visible","markup://ui:focusable"],"re":[{"ed":"markup://ui:click","n":"click","xs":"G"},{"ed":"markup://ui:dblclick","n":"dblclick","xs":"G"},{"ed":"markup://ui:mousedown","n":"mousedown","xs":"G"},{"ed":"markup://ui:mousemove","n":"mousemove","xs":"G"},{"ed":"markup://ui:mouseout","n":"mouseout","xs":"G"},{"ed":"markup://ui:mouseover","n":"mouseover","xs":"G"},{"ed":"markup://ui:mouseup","n":"mouseup","xs":"G"},{"ed":"markup://ui:focus","n":"focus","xs":"G"},{"ed":"markup://ui:blur","n":"blur","xs":"G"},{"ed":"markup://ui:response","n":"onHandledEvent","xs":"I"},{"ed":"markup://ui:keydown","n":"keydown","xs":"G"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleInteraction"},"n":"keydown"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onBlur"},"n":"blur"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"link","flavorable":true,"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"aria-labelledby":{"exprType":"PROPERTY","byValue":false,"target":"ui:pill","path":"v.ariaLabelledBy"},"tabindex":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.active\")?0: -(1));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"ui:pill","path":"v.active"}],"byValue":false},"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.active\")?\"pill focused\":\"pill\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"ui:pill","path":"v.active"}],"byValue":false},"onmouseenter":{"exprType":"PROPERTY","byValue":false,"target":"ui:pill","path":"c.onMouseEnter"}}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"style":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"background-color: \",(fn.empty(cmp.get(\"v.iconBackgroundColor\"))?\"transparent\":fn.add(\"#\",cmp.get(\"v.iconBackgroundColor\"))));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"ui:pill","path":"v.iconBackgroundColor"}],"byValue":false},"class":"pillIcon"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:image"},"localId":"icon","attributes":{"values":{"imageType":{"descriptor":"imageType","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.empty(cmp.get(\"v.iconAlt\"))?\"decorative\":\"informational\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"ui:pill","path":"v.iconAlt"}],"byValue":false}},"onerror":{"descriptor":"onerror","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:pill","path":"c.onIconError"}},"src":{"descriptor":"src","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:pill","path":"v.iconUrl"}},"alt":{"descriptor":"alt","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:pill","path":"v.iconAlt"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(fn.empty(cmp.get(\"v.iconUrl\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"ui:pill","path":"v.iconUrl"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"label","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"pillText"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:pill","path":"v.label"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onclick":{"exprType":"PROPERTY","byValue":false,"target":"ui:pill","path":"c.deleteItem"},"tabindex":"-1","class":"deleteAction"}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"aria-hidden":"true","class":"deleteIcon"}},"tag":{"descriptor":"tag","value":"span"}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"assistiveText"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:pill","path":"v.accessibleDeleteLabel"}}}}}]}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:pill","path":"v.showDelete"}}}}}]}}}}]}],"df":"default","fc":true,"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:commentRetrievalService",function(){/*$A.componentService.addComponentClass("markup://forceChatter:commentRetrievalService",function(){return{meta:{name:"forceChatter$commentRetrievalService","extends":"markup://aura:component",imports:{auraServerAction:"markup://forceChatter:auraServerActionService"}},controller:{getFeedItemComments:function(b,a,c){a=a.getParam("arguments");return c.auraServerAction.service.callMethod(b,"getMoreComments",{feedItemId:a.feedItemId,pagingToken:a.pagingToken,pageSize:a.maximumQuantity,communityId:a.communityId,
retrieveOnlyTopLevelThreadedComments:a.retrieveOnlyTopLevelThreadedComments,commentSortOrder:a.sortOrder}).then($A.getCallback(function(a){return a.getReturnValue()}))},getCommentReplies:function(b,a,c){a=a.getParam("arguments");return c.auraServerAction.service.callMethod(b,"getChildComments",{commentId:a.commentId,communityId:a.communityId,pageSize:a.maximumQuantity,pagingToken:a.pagingToken}).then($A.getCallback(function(a){return a.getReturnValue()}))}}}});return {"xs":"I","descriptor":"markup://forceChatter:commentRetrievalService","cd":{"descriptor":"compound://forceChatter.commentRetrievalService","ac":[{"n":"getChildComments","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedbackController/ACTION$getChildComments","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.feeds.FeedElementCommentCollectionRepresentation","pa":[{"name":"commentId","type":"java://java.lang.String","loggable":true},{"name":"pagingToken","type":"java://java.lang.String"},{"name":"pageSize","type":"java://int","loggable":true},{"name":"communityId","type":"java://java.lang.String","loggable":true}]},{"n":"getMoreComments","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedbackController/ACTION$getMoreComments","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.feeds.FeedElementCommentCollectionRepresentation","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"pagingToken","type":"java://java.lang.String"},{"name":"pageSize","type":"java://int","loggable":true},{"name":"communityId","type":"java://java.lang.String","loggable":true},{"name":"commentSortOrder","type":"java://java.lang.String","loggable":true},{"name":"retrieveOnlyTopLevelThreadedComments","type":"java://boolean","loggable":true}]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]]],"med":[{"name":"forceChatter:getFeedItemComments","xs":"I","action":"{! c.getFeedItemComments }","attributes":[["feedItemId","aura://String","I",false],["maximumQuantity","aura://Integer","I",false],["retrieveOnlyTopLevelThreadedComments","aura://Boolean","I",false],["sortOrder","aura://String","I",false],["communityId","aura://String","I",false],["pagingToken","aura://String","I",false]]},{"name":"forceChatter:getCommentReplies","xs":"I","action":"{! c.getCommentReplies }","attributes":[["commentId","aura://String","I",false],["communityId","aura://String","I",false],["maximumQuantity","aura://Integer","I",false],["pagingToken","aura://String","I",false]]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:fileThumbnail",function(){/*$A.componentService.addComponentClass("markup://forceChatter:fileThumbnail",function(){return{meta:{name:"forceChatter$fileThumbnail","extends":"markup://aura:component",imports:{contentLib:"markup://forceContent:contentLib"}},controller:{click:function(a){var b=a.get("v.contentId");$A.getEvt("markup://forceContent:openPreview").setParams({recordId:b}).fire();a.getEvent("onClick").fire()},renditionLoaded:function(a,b,c){c.resizeRendition(a)}},helper:{resizeRendition:function(a){var b=a.find("preview").getElement();
if(b){var c=b.clientHeight,b=b.clientWidth;a=a.find("thumbnailImg").getElement().firstChild;var d=a.naturalHeight,e=a.naturalWidth;c<=d&&b<=e&&(b/c>=e/d?a.style.width=b+"px":a.style.height=c+"px")}},listenToWindowResize:function(a,b){this._callbackInstance=$A.getCallback(function(){a.isValid()&&b.resizeRendition(a)});window.addEventListener("resize",this._callbackInstance)},stopListenToWindowResize:function(a){window.removeEventListener("resize",this._callbackInstance)}},renderer:{afterRender:function(a,
b){var c=a.superAfterRender();a.get("v.showThumbnail")&&b.listenToWindowResize(a,b);return c},unrender:function(a,b){a.get("v.showThumbnail")&&b.stopListenToWindowResize(a);a.superUnrender()}}}});return {"xs":"I","descriptor":"markup://forceChatter:fileThumbnail","st":{"descriptor":"css://forceChatter.fileThumbnail","cl":"forceChatterFileThumbnail"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["contentId","aura://String","I",true],["fileType","aura://String","I",true],["title","aura://String","I",true],["showThumbnail","aura://Boolean","I",true],["thumbnailUrl","aura://String","I",false]],"re":[{"ed":"markup://ui:click","n":"onClick","xs":"I"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-file slds-file--card"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"preview","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onclick":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:fileThumbnail","path":"c.click"},"title":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:fileThumbnail","path":"$Label.ChatterFileFeeds.ViewFile"},"class":"slds-file__crop slds-file__crop_4-by-3"}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-image"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-file__icon slds-icon_container"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:fileIcon"},"attributes":{"values":{"fileType":{"descriptor":"fileType","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:fileThumbnail","path":"v.fileType"}},"size":{"descriptor":"size","value":"large"}}}}]}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:image"},"localId":"thumbnailImg","attributes":{"values":{"imageType":{"descriptor":"imageType","value":"informational"},"src":{"descriptor":"src","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:fileThumbnail","path":"v.thumbnailUrl"}},"alt":{"descriptor":"alt","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:fileThumbnail","path":"v.title"}},"onload":{"descriptor":"onload","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:fileThumbnail","path":"c.renditionLoaded"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:fileThumbnail","path":"v.showThumbnail"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-fileInfo slds-file__title slds-file__title_card"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-media slds-media_small slds-media_center"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-media__figure slds-line-height_reset"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:fileIcon"},"attributes":{"values":{"fileType":{"descriptor":"fileType","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:fileThumbnail","path":"v.fileType"}},"size":{"descriptor":"size","value":"x-small"}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-media__body"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:outputText"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:fileThumbnail","path":"v.title"}}}}}]}}}}]}}}}]}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://force:alternateIdProvider",function(){/*$A.componentService.addComponentClass("markup://force:alternateIdProvider",function(){return{meta:{name:"force$alternateIdProvider","extends":"markup://aura:component",imports:{altIdLib:"markup://force:alternateIdLibrary"}},controller:{loadRecord:function(a,b,d){return new Promise($A.getCallback(function(b,c){d.loadRecord(a,b,c)}))},loadAlternateId:function(a,b,d){d.loadAlternateId(a)}},helper:{loadRecord:function(a,b,d){var e=a.find("alternateIdRecord"),c=a.get("v.recordId");e&&c&&this.altIdLib.util.canHaveAlternateId(c)?
(e.set("v.recordId",c),e.set("v.fields",this.altIdLib.util.getFieldsToQuery(c)),e.reloadRecord(!1,$A.getCallback(function(){if(a&&$A.util.isFunction(a.isValid)&&a.isValid()){var c=a.get("v.recordError");$A.util.isUndefinedOrNull(c)?(this.loadAlternateId(a),b()):(a.set("v.alternateId",null),d(c))}}).bind(this))):(a.set("v.record",null),a.set("v.alternateId",null),b())},loadAlternateId:function(a){var b=a.get("v.record");(b=this.altIdLib.util.getAlternateId(b))?a.set("v.alternateId",b):a.set("v.alternateId",
null)}}}});return {"xs":"I","descriptor":"markup://force:alternateIdProvider","ad":[["body","aura://Aura.Component[]","G",false,[]],["recordId","aura://String","G",false],["alternateId","aura://String","I",false],["record","aura://Object","p",false,null],["recordError","aura://String","p",false]],"med":[{"name":"force:loadRecord","xs":"I","action":"{!c.loadRecord}"}],"i":["markup://force:hasRecordId"],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:record"},"localId":"alternateIdRecord","attributes":{"values":{"targetError":{"descriptor":"targetError","value":{"exprType":"PROPERTY","byValue":false,"target":"force:alternateIdProvider","path":"v.recordError"}},"recordUpdated":{"descriptor":"recordUpdated","value":{"exprType":"PROPERTY","byValue":false,"target":"force:alternateIdProvider","path":"c.loadAlternateId"}},"targetRecordDeprecated":{"descriptor":"targetRecordDeprecated","value":{"exprType":"PROPERTY","byValue":false,"target":"force:alternateIdProvider","path":"v.record"}},"updateMru":{"descriptor":"updateMru","value":false}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://runtime_sales_forecasting:forecastingAdjustmentDialog",function(){/*$A.componentService.addComponentClass("markup://runtime_sales_forecasting:forecastingAdjustmentDialog",function(){return{meta:{name:"runtime_sales_forecasting$forecastingAdjustmentDialog","extends":"markup://aura:component",imports:{lib:"markup://runtime_sales_forecasting:forecastingLibrary",utilLib:"markup://force:util"}},controller:{init:function(a,b,c){c.logger=new c.utilLib.logging.Logger("runtime_sales_forecasting","forecastingAdjustmentDialog");b=a.get("v.isAmount");var d=new c.lib.promiseWithDeferred.deferred;
if(b){var f=a.get("v.currencyIsoCode");f&&"000"!==f?c.lib.conversionToUserCurrency.getCurrencyService().then($A.getCallback(function(b){var e=b.getConvertedValue(f,a.get("v.forecastingAmount"));b=b.getCurrencyFormat(f);c.getAdjustmentValueComponent(a).set("v.format",b);d.resolve(e)})):d.resolve(a.get("v.forecastingAmount"))}else d.resolve(a.get("v.forecastingQuantity"));d.then($A.getCallback(function(b){c.getAdjustmentValueComponent(a).set("v.value",b);c.getAdjustmentValueComponent(a).getElement().focus();
c.setCounter(a.get("v.adjustmentNote"),a)}))},saveAdjustment:function(a,b,c){b=c.getAdjustmentValueComponent(a).get("v.value");var d=a.find("adjNotes").get("v.value");if(c.validateText(a,b)){b=Number(b);var f=!$A.util.isUndefinedOrNull(a.get("v.forecastingAdjustmentId"))?!0:!1;($A.util.isUndefinedOrNull(a.get("v.forecastingAdjustmentRecord"))||$A.util.isUndefinedOrNull(a.get("v.forecastingAdjustmentId")))&&c.logger.log("saveAdjustment","forecasting Adjustment Record: "+$A.util.isUndefinedOrNull(a.get("v.forecastingAdjustmentRecord"))+
", forecasting Adjustment Id: "+$A.util.isUndefinedOrNull(a.get("v.forecastingAdjustmentId")));c.lib.rowTypeUtil.isOwnerAdjustmentRow(a.get("v.forecastingDisplayRowType"))?f?c.updateOwnerAdjustment(a,b,d):c.createOwnerAdjustment(a,b,d):f?c.updateManagerAdjustment(a,b,d):c.createManagerAdjustment(a,b,d)}$A.metricsService.transaction("ltng","interaction",{context:{eventSource:"synthetic-sales-forecasting",eventType:"user",locator:{target:"sales-forecasting",scope:"sales-forecasting",context:{cloud:"SalesCloud",
productFamily:"Forecasting",productFeature:"Adjustments",userAction:"EditAdjustments",metricValue:b,captureAnalytics:"true",deviceType:"Desktop"}}}});$A.metricsService.transaction("ltng","interaction",{context:{eventSource:"synthetic-sales-forecasting",eventType:"user",locator:{target:"sales-forecasting",scope:"sales-forecasting",context:{cloud:"SalesCloud",productFamily:"Forecasting",productFeature:"Adjustments",userAction:"EditNote",metricValue:d,captureAnalytics:"true",deviceType:"Desktop"}}}})},
cancelAdjustment:function(a,b,c){$A.getEvt("markup://force:hidePanel").fire()},deleteAdjustment:function(a,b,c){c.deleteAdjustment(a)},updateCounter:function(a,b,c){b=a.find("adjNotes").find("textAreaElem").getElement().value;c.setCounter(b,a)}},helper:{createOwnerAdjustment:function(a,b,c){var d=a.get("v.isAmount"),f=a.get("v.productFamily"),g=a.get("v.isRoleHierarchy"),e={ForecastOwnerId:a.get("v.forecastingOwnerId"),ForecastingTypeId:a.get("v.forecastingTypeId"),ForecastingItemCategory:a.get("v.forecastingItemCategory"),
StartDate:this.getDateFormat(a)};e.OwnerAdjustmentNote=c?c:"";$A.util.isUndefinedOrNull(f)||(e.ProductFamily=f);d?(e.OwnerAdjustedAmount=b,e.CurrencyIsoCode=a.get("v.currencyIsoCode")):e.OwnerAdjustedQuantity=b;g||(e.Territory2Id=a.get("v.territory2Id"));this.createRecord(a,"ForecastingOwnerAdjustment",e)},createManagerAdjustment:function(a,b,c){var d=a.get("v.isAmount"),f=a.get("v.productFamily"),g=a.get("v.isRoleHierarchy"),e={OwnerId:a.get("v.forecastingOwnerId"),ForecastingTypeId:a.get("v.forecastingTypeId"),
ForecastingItemCategory:a.get("v.forecastingItemCategory"),StartDate:this.getDateFormat(a)};e.AdjustmentNote=c?c:"";$A.util.isEmpty(f)||(e.ProductFamily=f);d?(e.AdjustedAmount=b,e.CurrencyIsoCode=a.get("v.currencyIsoCode")):e.AdjustedQuantity=b;g||(e.Territory2Id=a.get("v.territory2Id"));this.createRecord(a,"ForecastingAdjustment",e)},createRecord:function(a,b,c){var d=this;a.find("forecastingAdjustmentForceRecordId").getNewRecord(b,null,c,!1,$A.getCallback(function(){a.set("v.forecastingAdjustmentRecord",
a.find("forecastingAdjustmentForceRecordId").get("v.targetRecord"));d.saveRecord(a)}))},saveRecord:function(a){var b=this;a.find("forecastingAdjustmentForceRecordId").saveRecord($A.getCallback(function(c){"SUCCESS"===c.state?(b.lib.toast.showSuccessToast($A.get("$Label.Forecasting_Tab.save_success")),b.refreshGridData(),$A.getEvt("markup://force:hidePanel").fire()):"ERROR"===c.state?($A.getEvt("markup://force:hidePanel").fire(),c=b.isHoldoutError(a,c.error[0])?$A.get("$Label.ForecastingLightning_Error.Adjustment_Error_Holdout_Text_Save"):
$A.get("$Label.ForecastingLightning_Error.Adjustment_Error_Dialog_Text_Save"),b.showErrorPopup(c)):"DRAFT"===c.state&&$A.getEvt("markup://force:hidePanel").fire()}))},isHoldoutError:function(a,b){return!a.get("v.isRoleHierarchy")&&!$A.util.isUndefinedOrNull(b)&&!$A.util.isUndefinedOrNull(b.fieldErrors)&&!$A.util.isUndefinedOrNull(b.fieldErrors.OwnerId)&&"INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY"===b.fieldErrors.OwnerId[0].statusCode},updateOwnerAdjustment:function(a,b,c){var d=this,f=a.get("v.isAmount"),
g=a.find("forecastingAdjustmentForceRecordId");a&&(a.isValid()&&!$A.util.isUndefinedOrNull(g)&&g.isValid())&&g.reloadRecord(!1,$A.getCallback(function(){var e=g.get("v.targetRecord");null!=e&&(e=e.fields,f?e.OwnerAdjustedAmount={value:b,displayValue:b.toString()}:e.OwnerAdjustedQuantity={value:b,displayValue:b.toString()},f&&"undefined"!==typeof a.get("v.currencyIsoCode")&&(e.CurrencyIsoCode={value:a.get("v.currencyIsoCode"),displayValue:a.get("v.currencyIsoCode")}),e.OwnerAdjustmentNote={value:c?
c:"",displayValue:c?c:""},d.saveRecord(a))}))},updateManagerAdjustment:function(a,b,c){var d=this,f=a.get("v.isAmount");a.find("forecastingAdjustmentForceRecordId").reloadRecord(!1,$A.getCallback(function(){var g=a.find("forecastingAdjustmentForceRecordId").get("v.targetRecord").fields;f?g.AdjustedAmount={value:b,displayValue:b.toString()}:g.AdjustedQuantity={value:b,displayValue:b.toString()};f&&"undefined"!==typeof a.get("v.currencyIsoCode")&&(g.CurrencyIsoCode={value:a.get("v.currencyIsoCode"),
displayValue:a.get("v.currencyIsoCode")});g.AdjustmentNote={value:c?c:"",displayValue:c?c:""};d.saveRecord(a)}))},deleteAdjustment:function(a){var b=this;a.find("forecastingAdjustmentForceRecordId").deleteRecord($A.getCallback(function(a){"SUCCESS"===a.state?(b.lib.toast.showSuccessToast($A.get("$Label.Forecasting_Tab.save_success")),b.refreshGridData(),$A.getEvt("markup://force:hidePanel").fire()):"ERROR"===a.state?($A.getEvt("markup://force:hidePanel").fire(),b.showErrorPopup($A.get("$Label.ForecastingLightning_Error.Adjustment_Error_Dialog_Text_Delete"))):
"DRAFT"===a.state&&$A.getEvt("markup://force:hidePanel").fire()}))},refreshGridData:function(){$A.getEvt("runtime_sales_forecasting:forecastingAdjustmentChange").fire()},getDateFormat:function(a){return a.get("v.startDate").split("T")[0]},validateText:function(a,b){var c=this.getAdjustmentValueComponent(a),d=a.get("v.isAmount");this.setTextError(c,null);if("undefined"===typeof b||isNaN(parseInt(b,10)))return this.setTextError(c,$A.get("$Label.ForecastingLightning_Error.Adjustment_Error_Input_Text")),
!1;if(10<b.toString().length){var f=b.toString().replace("-","").split(".");if(d&&16<f[0].length||!d&&10<f[0].length)return this.setTextError(c,$A.get("$Label.ForecastingLightning_Error.Adjustment_Error_Input_Text_Max")),!1}return!0},setTextError:function(a,b){a.hasOwnProperty("setCustomValidity")?(a.setCustomValidity(null==b?"":b),a.reportValidity()):a.set("v.errors",null==b?[]:[{message:b}])},setCounter:function(a,b){var c=a?a.length:0,d=b.get("v.forecastingAdjustmentNoteMaxSize");b.find("adjustmentNoteCounter").set("v.value",
c+"/"+d)},showErrorPopup:function(a){a=[["markup://runtime_sales_forecasting:forecastingAdjustmentErrorDialog",{errorMessageBody:a}],["markup://ui:button",{label:$A.get("$Label.ForecastingLightning_Error.Adjustment_Error_Dialog_Button")}]];$A.createComponents(a,function(a,c){if("SUCCESS"===c)a[1].addHandler("press",a[0],"c.pressGotIt"),$A.getEvt("markup://ui:createPanel").setParams({panelType:"actionModal",visible:!0,panelConfig:{showCloseButton:!0,title:$A.get("$Label.ForecastingLightning_Error.Adjustment_Error_Dialog_Title"),
headerClass:"slds-theme--error slds-theme--alert-texture",bodyClass:"slds-p-around--medium",footerClass:"slds-text-align--center",body:a[0],footer:a[1]}}).fire();else throw Error("Create component for Adjustment dialog failed with status "+c);})},getAdjustmentValueComponent:function(a){return a.get("v.isAmount")?a.find("adjAmountValue"):a.find("adjQuantityValue")}}}});return {"xs":"I","descriptor":"markup://runtime_sales_forecasting:forecastingAdjustmentDialog","ad":[["body","aura://Aura.Component[]","G",false,[]],["forecastingItemId","aura://String","I",false],["forecastingAmount","aura://Decimal","I",false],["amountWithoutAdjustments","aura://String","I",false],["forecastingQuantity","aura://Decimal","I",false],["quantityWithoutAdjustments","aura://Decimal","I",false],["forecastingItemCategory","aura://String","I",false],["forecastingOwnerId","aura://String","I",false],["periodId","aura://String","I",false],["startDate","aura://Date","I",false,null],["forecastingTypeId","aura://String","I",false],["currencyIsoCode","aura://String","I",false],["isAmount","aura://Boolean","I",false],["forecastingDisplayRowType","aura://String","I",false],["adjustmentNote","aura://String","I",false],["forecastingItemCategoryLabel","aura://String","I",false],["productFamily","aura://String","I",false],["territory2Id","aura://String","I",false],["isRoleHierarchy","aura://Boolean","I",false],["forecastingAdjustmentNoteMaxSize","aura://Decimal","I",false,255],["forecastingAdjustmentId","aura://String","I",false],["forecastingAdjustmentRecord","aura://Object","I",false,null],["forecastingAdjustmentRecordError","aura://String","I",false],["forecastingAdjustmentfield","aura://String[]","I",false,[]]],"re":[{"ed":"markup://runtime_sales_forecasting:forecastingAdjustmentChange","n":"forecastingAdjustmentChange","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:record"},"localId":"forecastingAdjustmentForceRecordId","attributes":{"values":{"recordId":{"descriptor":"recordId","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_forecasting:forecastingAdjustmentDialog","path":"v.forecastingAdjustmentId"}},"mode":{"descriptor":"mode","value":"EDIT"},"targetRecord":{"descriptor":"targetRecord","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_forecasting:forecastingAdjustmentDialog","path":"v.forecastingAdjustmentRecord"}},"targetError":{"descriptor":"targetError","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_forecasting:forecastingAdjustmentDialog","path":"v.forecastingAdjustmentRecordError"}},"fields":{"descriptor":"fields","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_forecasting:forecastingAdjustmentDialog","path":"v.forecastingAdjustmentfield"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:renderIf"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://ui:inputNumber"},"localId":"adjQuantityValue","attributes":{"values":{"format":{"descriptor":"format","value":"#,##0.00"},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_forecasting:forecastingAdjustmentDialog","path":"v.forecastingItemCategoryLabel"}},"class":{"descriptor":"class","value":"alignCenter"},"required":{"descriptor":"required","value":true}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:inputCurrency"},"localId":"adjAmountValue","attributes":{"values":{"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_forecasting:forecastingAdjustmentDialog","path":"v.forecastingItemCategoryLabel"}},"class":{"descriptor":"class","value":"alignCenter"},"required":{"descriptor":"required","value":true}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_forecasting:forecastingAdjustmentDialog","path":"v.isAmount"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"br"}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:formattedText","type":"module"},"attributes":{"values":{"class":{"descriptor":"class","value":"slds-text-body--small slds-text-color--weak"},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_forecasting:forecastingAdjustmentDialog","path":"$Label.Forecasting_Tab.before_adjustment"}}}}},{"componentDef":{"descriptor":"markup://lightning:formattedText","type":"module"},"localId":"colon-separator","attributes":{"values":{"class":{"descriptor":"class","value":"slds-text-body--small slds-text-color--weak"},"value":{"descriptor":"value","value":":"}}}},{"componentDef":{"descriptor":"markup://aura:text"},"attributes":{"values":{"value":{"descriptor":"value","value":"\n         \n        "}}}},{"componentDef":{"descriptor":"markup://aura:renderIf"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://ui:outputNumber"},"localId":"quantityWithoutAdjustmentsId","attributes":{"values":{"format":{"descriptor":"format","value":"0.00"},"class":{"descriptor":"class","value":"slds-text-body--small slds-text-color--weak"},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_forecasting:forecastingAdjustmentDialog","path":"v.quantityWithoutAdjustments"}}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:outputCurrency"},"localId":"amountWithoutAdjustmentsId","attributes":{"values":{"formattedValue":{"descriptor":"formattedValue","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_forecasting:forecastingAdjustmentDialog","path":"v.amountWithoutAdjustments"}},"value":{"descriptor":"value"},"class":{"descriptor":"class","value":"slds-text-body--small slds-text-color--weak"}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_forecasting:forecastingAdjustmentDialog","path":"v.isAmount"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"br"}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:inputTextArea"},"localId":"adjNotes","attributes":{"values":{"cut":{"descriptor":"cut","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_forecasting:forecastingAdjustmentDialog","path":"c.updateCounter"}},"maxlength":{"descriptor":"maxlength","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_forecasting:forecastingAdjustmentDialog","path":"v.forecastingAdjustmentNoteMaxSize"}},"change":{"descriptor":"change","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_forecasting:forecastingAdjustmentDialog","path":"c.updateCounter"}},"keyup":{"descriptor":"keyup","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_forecasting:forecastingAdjustmentDialog","path":"c.updateCounter"}},"ariaDescribedBy":{"descriptor":"ariaDescribedBy","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_forecasting:forecastingAdjustmentDialog","path":"$Label.Forecasting_Tab.adjustment_note_description"}},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_forecasting:forecastingAdjustmentDialog","path":"$Label.Forecasting_Tab.adjustment_note"}},"paste":{"descriptor":"paste","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_forecasting:forecastingAdjustmentDialog","path":"c.updateCounter"}},"rows":{"descriptor":"rows","value":5},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_forecasting:forecastingAdjustmentDialog","path":"v.adjustmentNote"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:formattedText","type":"module"},"localId":"adjustmentNoteCounter","attributes":{"values":{"ariaLive":{"descriptor":"ariaLive","value":"polite"},"class":{"descriptor":"class","value":"slds-text-body--small slds-text-color--weak"},"value":{"descriptor":"value","value":""}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:contentVisibilityMonitor",function(){/*$A.componentService.addComponentClass("markup://forceChatter:contentVisibilityMonitor",function(){return{meta:{name:"forceChatter$contentVisibilityMonitor","extends":"markup://aura:component"},controller:{handleInitialization:function(a,c,b){var d=b.monitorAppTabVisibilityChanges(a),e=b.monitorBrowserVisibilityChanges(a);a._stopMonitoring=function(){d();e()}},handleDestruction:function(a,c,b){a._stopMonitoring&&a._stopMonitoring()}},helper:{fireCustomEvent:function(a,c){var b={bubbles:!0,cancelable:!0,
composed:!0},d=a.getElement();d&&d.dispatchEvent(new CustomEvent(c,b))},monitorAppTabVisibilityChanges:function(a){var c=this,b=function(){a.isValid()?c.fireCustomEvent(a,"visible"):b=function(){}},d=function(){a.isValid()?c.fireCustomEvent(a,"hidden"):d=function(){}},e=$A.getEvt("markup://ui:notify","content",a);e&&(e.setParams({payload:{viewportEnter:$A.getCallback(function(){b()}),viewportExit:$A.getCallback(function(){d()})}}),e.fire());return function(){b=function(){};d=function(){}}},monitorBrowserVisibilityChanges:function(a){var c=
[];void 0!==document.hidden&&c.push(this.monitorDocumentVisibilityChanges(a));c.push(this.monitorDocumentUnload(a));return function(){c.forEach(function(a){a()})}},monitorDocumentVisibilityChanges:function(a){var c=this,b=$A.getCallback(function(){try{c.fireCustomEvent(a,document.hidden?"hidden":"visible")}catch(b){}});document.addEventListener("visibilitychange",b);return function(){document.removeEventListener("visibilitychange",b)}},monitorDocumentUnload:function(a){var c=this,b=$A.getCallback(function(){c.fireCustomEvent(a,
"hidden")});window.addEventListener("beforeunload",b);return function(){window.removeEventListener("beforeunload",b)}}}}});return {"xs":"I","descriptor":"markup://forceChatter:contentVisibilityMonitor","ad":[["body","aura://Aura.Component[]","G",false,[]]],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleInitialization"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleDestruction"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"destroy"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:streamsListingProvider",function(){/*$A.componentService.addComponentClass("markup://forceChatter:streamsListingProvider",function(){return{meta:{name:"forceChatter$streamsListingProvider","extends":"markup://ui:dataProvider",imports:{feedLib:"markup://forceChatter:feedLib"}},controller:{provide:function(c,g,e){e.provide(c,g)}},helper:{provide:function(c,g){var e=c.getConcreteComponent(),f=e.get("c.serverGetStreams"),l=this,h=g.getParams().parameters.currentPage;c._hasLoadedOnce||(h=0);var k=c.get("v.globalScope")||this.feedLib.util.isOneApp();
f.setParams({pageSize:25,page:h,globalScope:k});f.setCallback(this,function(d){if("SUCCESS"===d.getState()){d=d.getReturnValue();for(var a=d.items,b=0;b<a.length;++b)a[b].isCommunity=!$A.util.isUndefinedOrNull(a[b])&&!$A.util.isUndefinedOrNull(a[b].community)&&this.feedLib.util.isNonDefaultNetwork(a[b].community.id)&&k,a[b].isCommunity&&(a[b].communityId=a[b].community.id);c.set("v.currentPage",h);c.set("v.totalItems",d.total);c._hasLoadedOnce=!0;l.fireDataChangeEvent(e,a)}else"INCOMPLETE"===d.getState()?
$A.getEvt("markup://force:showOfflineMessage").setParams({retryAction:f}).fire():"ERROR"===d.getState()&&$A.getEvt("markup://force:showMessage").setParams({title:"Error",message:d.getError()[0].message,severity:"error"}).fire()});$A.enqueueAction(f)}}}});return {"xs":"I","descriptor":"markup://forceChatter:streamsListingProvider","cd":{"descriptor":"compound://forceChatter.streamsListingProvider","ac":[{"n":"serverGetStreams","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverGetStreams","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.stream.FeedStreamCollectionRepresentation","pa":[{"name":"page","type":"java://int"},{"name":"pageSize","type":"java://java.lang.Integer","loggable":true},{"name":"globalScope","type":"java://java.lang.Boolean","loggable":true}]},{"n":"unsetEmailNotificationFrequency","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$unsetEmailNotificationFrequency","at":"SERVER","rt":"java://void","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"communityId","type":"java://java.lang.String","loggable":true}]},{"n":"serverAddStreamSubscription","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverAddStreamSubscription","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.stream.FeedStreamRepresentation","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"recordId","type":"java://java.lang.String"}]},{"n":"serverGetStream","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverGetStream","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.stream.FeedStreamRepresentation","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"globalScope","type":"java://java.lang.Boolean","loggable":true}]},{"n":"serverRemoveStreamSubscription","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverRemoveStreamSubscription","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.stream.FeedStreamRepresentation","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"recordId","type":"java://java.lang.String"}]},{"n":"serverCreateStream","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverCreateStream","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.stream.FeedStreamRepresentation","pa":[{"name":"streamName","type":"java://java.lang.String"},{"name":"entities","type":"java://java.util.ArrayList<java.lang.String>"}]},{"n":"getEmailNotificationFrequency","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$getEmailNotificationFrequency","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.notificationMember.NotificationMemberRepresentation","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"communityId","type":"java://java.lang.String","loggable":true}]},{"n":"serverDeleteStream","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverDeleteStream","at":"SERVER","rt":"java://void","pa":[{"name":"streamId","type":"java://java.lang.String"}]},{"n":"serverUpdateStream","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverUpdateStream","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.stream.FeedStreamRepresentation","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"streamName","type":"java://java.lang.String"},{"name":"entitiesToAdd","type":"java://java.util.ArrayList<java.lang.String>"},{"name":"entitiesToRemove","type":"java://java.util.ArrayList<java.lang.String>"}]},{"n":"setEmailNotificationFrequency","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$setEmailNotificationFrequency","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.notificationMember.NotificationMemberRepresentation","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"frequency","type":"java://java.lang.String"},{"name":"communityId","type":"java://java.lang.String","loggable":true}]},{"n":"serverGetStreamInfoForHeader","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverGetStreamInfoForHeader","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"globalScope","type":"java://java.lang.Boolean","loggable":true}]},{"n":"getCrudStreamConfig","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$getCrudStreamConfig","at":"SERVER","rt":"java://java.util.Map","pa":[]}]},"su":"markup://ui:dataProvider","ad":[["body","aura://Aura.Component[]","G",false,[]],["searchTerm","aura://String","PP",false],["sortBy","aura://String","PP",false],["sortDirection","aura://String","I",false],["columns","aura://List","PP",false,[]],["items","aura://List","PP",false,[]],["modelItemsKey","aura://String","PP",false],["currentPage","aura://Integer","PP",false,1],["endIndex","aura://Integer","I",false,-1],["pageCount","aura://Integer","PP",false,0],["pageSize","aura://Integer","PP",false,25],["startIndex","aura://Integer","I",false,-1],["totalItems","aura://Integer","PP",false,0],["type","aura://String","I",false],["globalScope","aura://Boolean","I",false,false]],"re":[{"ed":"markup://ui:dataProvide","n":"provide","xs":"PP"},{"ed":"markup://ui:abortFetchData","n":"abort","xs":"PP"},{"ed":"markup://ui:dataChanged","n":"onchange","xs":"PP"},{"ed":"markup://ui:dataProvideError","n":"error","xs":"PP"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.provide"},"n":"provide"}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:streamsListingRecordCell",function(){/*$A.componentService.addComponentClass("markup://forceChatter:streamsListingRecordCell",function(){return{meta:{name:"forceChatter$streamsListingRecordCell","extends":"markup://aura:component"},controller:{launchRecordCard:function(c,b,e){b=c.get("v.records").map(function(a){return{user:{displayName:a.name,id:a.id,photo:{smallPhotoUrl:a.motif.largeIconUrl}},icon:{src:a.motif.largeIconUrl,color:a.motif.color,type:a.type}}});var d=$A.util.format($A.get("{!$Label.Feeds.StreamsListingRecordCellTitle}"),
b.length);$A.createComponent("markup://forceChatter:entityCard",{entities:b,communityId:c.get("v.communityId")},function(a){a&&$A.getEvt("ui:createPanel").setParams({panelType:"modal",visible:!0,panelConfig:{title:d,body:a,showCloseButton:!0}}).fire()})}}}});return {"xs":"I","descriptor":"markup://forceChatter:streamsListingRecordCell","st":{"descriptor":"css://forceChatter.streamsListingRecordCell","cl":"forceChatterStreamsListingRecordCell"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["records","aura://Object[]","I",true,[]],["maxRecords","aura://Integer","I",false,10],["communityId","aura://String","I",false]],"ld":{"streams-listing-records-card":{},"streams-listing-record":{}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-truncate  qe-streamslist-recordCell"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add((fn.eq(cmp.get(\"v.records.length\"),0)?null:\"slds-hide\"),\" color-text-placeholder\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamsListingRecordCell","path":"v.records.length"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamsListingRecordCell","path":"$Label.Feeds.StreamsListingNoRecordsYet"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return ((cmp.get(\"v.records.length\")>1)?null:\"slds-hide\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamsListingRecordCell","path":"v.records.length"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"streams-listing-records-card","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onclick":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamsListingRecordCell","path":"c.launchRecordCard"}}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamsListingRecordCell","path":"v.records.length"}}}}},{"componentDef":{"descriptor":"markup://aura:text"},"attributes":{"values":{"value":{"descriptor":"value","value":" "}}}},{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamsListingRecordCell","path":"$Label.Feeds.StreamsListingRecordCellRecords"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:text"},"attributes":{"values":{"value":{"descriptor":"value","value":" "}}}},{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamsListingRecordCell","path":"$Label.Feeds.StreamsListingRecordCellIncluding"}}}}},{"componentDef":{"descriptor":"markup://aura:text"},"attributes":{"values":{"value":{"descriptor":"value","value":" "}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:iteration"},"attributes":{"values":{"indexVar":{"descriptor":"indexVar","value":"index"},"var":{"descriptor":"var","value":"item"},"end":{"descriptor":"end","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamsListingRecordCell","path":"v.maxRecords"}},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:entityLink"},"localId":"streams-listing-record","attributes":{"values":{"data":{"descriptor":"data","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:streamsListingRecordCell","path":"item"}},"transclude":{"descriptor":"transclude","value":false},"communityId":{"descriptor":"communityId","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:streamsListingRecordCell","path":"v.communityId"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:text"},"attributes":{"values":{"value":{"descriptor":"value","value":", "}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.ne(cmp.get(\"index\"),(cmp.get(\"v.records.length\")-1))&&fn.ne(cmp.get(\"index\"),(cmp.get(\"v.maxRecords\")-1)));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamsListingRecordCell","path":"v.records.length"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamsListingRecordCell","path":"v.maxRecords"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamsListingRecordCell","path":"index"}],"byValue":false}}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamsListingRecordCell","path":"v.records"}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:baseSearchInput",function(){/*$A.componentService.addComponentClass("markup://forceSearch:baseSearchInput",function(){return{meta:{name:"forceSearch$baseSearchInput","extends":"markup://forceSearch:baseSearch"},helper:{EVENT_SEARCH_ACTIVATED:"forceSearch:baseSearchInput:SEARCH_ACTIVATED",setupNewSearchActivation:function(a){if(a.get("v.isActivationTrackingEnabled")){var b=a.get("v.loggingContext")||{};b.searchDialogSessionId=this.lib.util.generateUUID();a.set("v.loggingContext",b);this.fireCustom(a,this.EVENT_SEARCH_ACTIVATED,
{searchDialogSessionId:b.searchDialogSessionId})}}}}});return {"xs":"I","descriptor":"markup://forceSearch:baseSearchInput","su":"markup://forceSearch:baseSearch","ad":[["body","aura://Aura.Component[]","G",false,[]],["shouldFocus","aura://Boolean","I",false,false],["groupId","aura://String","I",true,"DEFAULT"],["updateChildren","aura://Boolean","I",true,true],["updateOnlyIfActive","aura://Boolean","I",true,true],["priv_valueProviderReady","aura://Boolean","I",false,false],["initialTerm","aura://String","I",false],["initialScopeMap","aura://Map","I",false,null],["initialContext","aura://Map","I",false,null],["inContextOfComponent","aura://String","I",false,"forceSearch:search"],["term","aura://String","I",true,""],["scopeMap","aura://Map","I",true,{}],["context","aura://Map","I",true,{}],["loggingContext","aura://Map","I",true,{}],["isActivationTrackingEnabled","aura://Boolean","I",false,false]],"med":[{"name":"forceSearch:update","xs":"I","action":"{!c.update}","attributes":[["type","aura://String","I",false],["term","aura://String","I",false],["scopeMap","aura://Map","I",false,null],["context","aura://Map","I",false,null],["sourceId","aura://String","I",false]]}],"re":[{"ed":"markup://force:searchRequest","n":"searchRequest","xs":"I"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:baseSearchInput","path":"v.body"}}}}},{"componentDef":{"descriptor":"markup://forceSearch:experimentContextInitializer"}}]}],"ab":true,"css":true}*/});
$A.componentService.addComponent("markup://force:confirmDialog",function(){/*$A.componentService.addComponentClass("markup://force:confirmDialog",function(){return{meta:{name:"force$confirmDialog","extends":"markup://aura:component"},controller:{callCancel:function(a,b){var c=a.get("v._onCancel"),d=b.getParam("arguments").onDone||function(){};c();d()},callOk:function(a,b){var c=a.get("v._onOk"),d=b.getParam("arguments").onDone||function(){};c();d()},handleOkPress:function(a,b,c){c.handleButtonClick(a,"v._onOk")},handleCancelPress:function(a,b,c){c.handleButtonClick(a,"v._onCancel")},
show:function(a,b,c){var d=b.getParam("arguments");b={};var e;a.get("v.panel")||(a.set("v._onOk",c.getAutoClose(a,d.onOk)),a.set("v._onCancel",c.getAutoClose(a,d.onCancel)),(e=a.get("v.messageComponent"))&&e.length?b.body=e:b.detail=a.get("v.message"),(e=a.get("v.headerComponent"))&&e.length?b.header=e:b.title=a.get("v.title"),b.flavor=a.get("v.flavor"),b.returnFocusElement=a.get("v.returnFocusElement"),b.headerClass=a.get("v.headerClass"),b.footerClass=a.get("v.footerClass"),$A.getEvt("markup://ui:createPanel").setParams({panelType:"actionModal",
visible:!0,onCreate:c.getOnCreate(a),onDestroy:function(){if(a.get("v.panel")&&(a.set("v.panel",null),d.onCancel))d.onCancel()},panelConfig:b}).fire())}},helper:{getAutoClose:function(a,b){b=b||function(){};return function(){b();var c=a.get("v.panel");c&&(c.close(),a.set("v.panel",null))}},handleButtonClick:function(a,b){var c=a.get(b);c&&(c(),a.set(b,null))},getOnCreate:function(a){return function(b){var c=a.get("v.cancelLabel"),d=a.get("v.okLabel");a.set("v.panel",b);$A.createComponents([["ui:button",
{label:c,buttonTitle:c}],["ui:button",{label:d,buttonTitle:d,"aura:flavor":"default, brand",variant:"slds-button slds-button--brand"}]],function(c){c[0].addHandler("press",a,"c.handleCancelPress");c[1].addHandler("press",a,"c.handleOkPress");b.set("v.footer",c)})}}}}});return {"xs":"I","descriptor":"markup://force:confirmDialog","ad":[["body","aura://Aura.Component[]","G",false,[]],["okLabel","aura://String","I",false,{"exprType":"PROPERTY","byValue":true,"target":"force:confirmDialog","path":"$Label.Buttons.ok"}],["cancelLabel","aura://String","I",false,{"exprType":"PROPERTY","byValue":true,"target":"force:confirmDialog","path":"$Label.Buttons.cancel"}],["title","aura://String","I",false],["headerComponent","aura://Aura.Component[]","I",false,[]],["message","aura://String","I",false],["messageComponent","aura://Aura.Component[]","I",false,[]],["flavor","aura://String","I",false],["returnFocusElement","aura://Object","I",false,null],["headerClass","aura://String","I",false],["footerClass","aura://String","I",false],["panel","aura://Aura.Component","I",false,null],["_onOk","aura://Object","p",false,null],["_onCancel","aura://Object","p",false,null]],"med":[{"name":"force:show","xs":"I","action":"{!c.show}","attributes":[["onOk","aura://Object","I",false,null],["onCancel","aura://Object","I",false,null]]},{"name":"force:callOk","xs":"I","action":"{!c.callOk}","attributes":[["onDone","aura://Object","I",false,null]]},{"name":"force:callCancel","xs":"I","action":"{!c.callCancel}","attributes":[["onDone","aura://Object","I",false,null]]}],"css":true}*/});
$A.componentService.addComponent("markup://force:dedupeManager",function(){/*$A.componentService.addComponentClass("markup://force:dedupeManager",function(){return{meta:{name:"force$dedupeManager","extends":"markup://aura:component",imports:{fmLib:"markup://ui:focusManagerLib",cmpLib:"markup://force:componentLibrary",dedupeLib:"markup://force:dedupeConstants",navLib:"markup://laf:navLib"}},controller:{dismissDedupePanel:function(a,b,c){a._dedupePanelOpen=!1;c.destroyDedupePanel()},handleDedupeError:function(a,b,c){c.filterDedupeError(a,b.getParam("errors"));c.isHandlingDedupe(a)||
(a._handlingDedupe=!0,$A.util.isUndefinedOrNull(a.get("v.navigationLocationId"))||$A.getEvt("markup://force:duplicateDetectedOnSave").setParams({potentialMatches:b.getParam("potentialMatches"),errors:b.getParam("errors"),navigationLocationId:a.get("v.navigationLocationId")}).fire(),c.handleDedupeError(a,b.getParam("potentialMatches"),b.getParam("errors")))},handleRecordDataChange:function(a,b,c){c.evaluateDedupe(a,b.getParams().fieldName)&&(a.get("v.duplicatesDetected")&&c.refreshDedupe(a),a.get("v.predupeEnabled")&&
c.predupe(a,b))},handleRecordSelect:function(a,b,c){if(a.get("v.inContextOfComponent")===b.getParam("inContextOfComponent")&&a._dedupePanelOpen){var d=b.getParam("recordId"),e=b.getParam("recordName");d&&(c.destroyDedupePanel(a),b={source:$A.get("$Browser.isDesktop")?"SFX":"S1"},c.logMetrics("duplicateSelected",b),(b=a.get("v.duplicateSelectedCallbackEvent"))?$A.getEvt(b).setParams({navigationLocationId:a.get("v.navigationLocationId"),recordId:d}).fire():"LOOKUP"===a.get("v.navigationContext")?($A.getEvt("force:recordCreatedFromLookup").setParams({id:d,
label:e,ownerId:a.get("v.navigationLocationId")}).fire(),c.closeCurrentPanel()):c.navigateToObject(a,d))}},initialize:function(a,b,c){a._dedupePanelOpen=!1;a._handlingDedupe=!1;a._requestQueue=[];if($A.util.isUndefinedOrNull(a.get("v.dedupeConfig"))){var d=a.get("v.entityApiName");c.isEntitySupported(d)?$A.util.isUndefinedOrNull(a.get("v.recordId"))&&$A.util.isUndefinedOrNull(d)?c.skipDedupe(a):(b=a.get("c.getConfig"),d={entityApiName:d,recordTypeId:a.get("v.recordTypeId"),recordId:a.get("v.recordId")},
b.setParams(d),b.setCallback(a,function(b){a&&(a.isValid&&a.isValid())&&("SUCCESS"===b.getState()?(b=b.getReturnValue(),$A.util.isUndefinedOrNull(b)?c.skipDedupe(a):(a.set("v.dedupeConfig",b),c.setupConfig(a,c))):"INCOMPLETE"===b.getState()?c.skipDedupe(a):"ERROR"===b.getState()&&c.cmpLib.errors.handleActionError(b))}),b.setStorable({ignoreExisting:a.get("v.ignoreExistingAction")}),$A.enqueueAction(b)):c.skipDedupe(a)}else c.setupConfig(a,c)},refreshDedupeState:function(a,b,c){c.isHandlingDedupe(a)||
c.refreshDedupe(a)},refreshDedupeVisibility:function(a,b,c){a._requestQueue=[];a.set("v.duplicateErrorMessage",null)},closeCurrentPanel:function(a,b,c){c.closeCurrentPanel()},renderDedupePanel:function(a,b,c){0<a._duplicateSet.length&&(b={source:$A.get("$Browser.isDesktop")?"SFX":"S1"},c.logMetrics("predupeClicked",b),c._renderDedupePanel(a))}},helper:{isEntitySupported:function(a){var b=this.dedupeLib.SUPPORTED_STANDARD_ENTITIES;return $A.util.isUndefinedOrNull(a)||-1!=b.indexOf(a)||a.indexOf("__c")===
a.length-3},destroyDedupePanel:function(a){this.closeCurrentPanel();a&&"runtime_sales_lead:convert"!==a.get("v.inContextOfComponent")&&(a._destroyParent=!0)},evaluateDedupe:function(a,b){if(a.get("v.dedupeEnabled")){var c=a.get("v.dedupeFields");if(this.evaluateDedupeForAll(c))return!0;if(c)for(var d=0;d<c.length;d++)if(c[d]===b)return!0}return!1},evaluateDedupeForAll:function(a){return!(a&&null!=a&&0<a.length)},handleDedupeError:function(a,b,c){var d={isPredupe:function(){return!1},performance:{numPotentialMatches:b.length}};
a.set("v.duplicatesDetected",!0);if(0<b.length)c=this.flattenPotentialMatches(b),this.logMetrics("dedupe",c),this._massagePotentialMatches(a,b,d.isPredupe(),c.isAllowSave,!0,this);else{b=d.isPredupe();d=!0;if(c&&c.duplicateResults)for(var e=0;e<c.duplicateResults.length;e++)if(!c.duplicateResults[e].isAllowSave){d=!1;break}c=b?!0:d;d={isAllowSave:d,source:$A.get("$Browser.isDesktop")?"SFX":"S1"};this.logMetrics("dedupeNoAccess",d);this._showDuplicates(a,b,[],c)}},filterDedupeError:function(a,b){if(b&&
b.pageErrors&&0<b.pageErrors.length)for(var c=b.pageErrors,d=0;d<c.length;d++)if("DUPLICATES_DETECTED"==c[d].statusCode){a._dedupeErrorMessage=c[d].message;break}},isHandlingDedupe:function(a){return a._dedupePanelOpen||a._handlingDedupe},logMetrics:function(a,b){$A.metricsService.mark("dedupeManager",a,b)},predupe:function(a,b,c){b=(c=b.getParams())&&c.fieldName;c=c&&c.record;var d={isPredupe:function(){return!0},performance:{}};b&&(d.performance.fieldName=b,c&&(d.performance.fieldValue=c[b]));c&&
c.sobjectType&&(d.performance.sobjectType=c.sobjectType);b=a.get("c.findMatches");b.setParams({record:c});b.setCallback(a,this._showDuplicatesCallback(a,b,d));this._enqueueRequest(a,b);$A.enqueueAction(b)},refreshDedupe:function(a){a.get("v.dedupeEnabled")&&(a.set("v.bypassDedupeCheck",!1),a.set("v.duplicatesDetected",!1),a.set("v.duplicateErrorMessage",null),a.set("v.duplicateCount",0),a._dedupeErrorMessage="",a._duplicateSet=[],a._isAlert=null)},_checkAndUpdateRequestQueue:function(a,b){var c=a._requestQueue,
d=c.indexOf(b.$actionId$),e=!1;-1!==d&&(d!==c.length-1?c.splice(d,1):(c.splice(0),e=!0));return e},_enqueueRequest:function(a,b){a._requestQueue.push(b.$actionId$)},_getDuplicateSet:function(a,b){var c;c="LOOKUP"===a.get("v.navigationContext")?$A.get("$Label.DuplicateList.LookupNewFooter"):a.get("v.duplicateSelectedText");var d=[];b.forEach(function(b){$A.util.isEmpty(b.recordIds)||(b={entityLabel:b.entityLabel,entityLabelPlural:b.entityLabelPlural,entityName:b.entityType,recordIds:b.recordIds,pageSize:b.pageSize,
currentPage:1,canShowMore:b.recordIds.length>b.pageSize,footerLabel:c,inContextOfComponent:a.get("v.inContextOfComponent"),themeBackgroundColor:b.themeBackgroundColor,themeIcon:b.themeIcon},d.push(b))});return d},_showDuplicates:function(a,b,c,d){a.set("v.duplicatesDetected",!0);a._duplicateSet=c;a._isAlert=d;this._showToast(a,b);b||(a._handlingDedupe=!1);a.set("v.bypassDedupeCheck",!0)},_showDuplicatesCallback:function(a,b,c,d){var e=this;return function(){var d=c.isPredupe();if("SUCCESS"===b.getState()){if(!d||
e._checkAndUpdateRequestQueue(a,b)){var f=b.getReturnValue(),h;if(f){var k=f.isAllowSave;!0===d&&(k=!e.hasBlockingRule(a,f.duplicateRulesWithResults));h=f.potentialMatches;var l=e.flattenPotentialMatches(h);e.logMetrics("predupe",l);e._massagePotentialMatches(a,h,d,k,f.gotDuplicateError,e)}}}else d&&e._checkAndUpdateRequestQueue(a,b),"INCOMPLETE"===b.getState()?e.skipDedupe(a):"ERROR"===b.getState()&&(d={actionError:b.getError(),source:$A.get("$Browser.isDesktop")?"SFX":"S1"},e.logMetrics("predupe",
d))}},_massagePotentialMatches:function(a,b,c,d,e,g){if(b&&Array.isArray(b)){var f=[];0<b.length&&(f=g._getDuplicateSet(a,b));e&&g._showDuplicates(a,c,f,d)}},_showToast:function(a,b){this._cleanupExistingErrorMsgs(a);var c=0;a._duplicateSet.forEach(function(a){c+=a.recordIds.length});var d,e=a._isAlert?"info":"warning";0==c?d=$A.get("$Label.DuplicateList.ToastMessageWithNoDuplicateAccess"):a._isAlert?d="EDIT"===this.getMode(a)?$A.get("$Label.DuplicateList.ToastMessageAlertEdit"):$A.get("$Label.DuplicateList.ToastMessageAlertCreate"):
(d=$A.get("$Label.DuplicateList.ToastMessageBlock"),e="warning");a.set("v.duplicateErrorMessage",d);a.set("v.duplicateErrorIcon",e);a.set("v.duplicateCount",c);var g=this;window.setTimeout($A.getCallback(function(){g._focusOnToastMessage(a,g)}));$A.metricsService.transaction("ltng","interaction",{context:{eventSource:"synthetic-click",eventType:"userInteraction",locator:{target:"saveOrEdit",scope:"dedupeManager",context:{entityType:a.get("v.entityApiName"),duplicateCount:a.get("v.duplicateCount"),
isPredupe:b,mode:a.get("v.mode"),alerted:a._isAlert}}}})},_renderDedupePanel:function(a){this._createDuplicateTabs(a);a._dedupePanelOpen=!0;a._handlingDedupe=!1},_focusOnToastMessage:function(a,b){if(!$A.util.isUndefinedOrNull(a)&&a.isValid()){var c=a.find("dedupeToast");!$A.util.isUndefinedOrNull(c)&&c.getElement()&&(c=b.fmLib.focusUtil.getTabbableChildren(c.getElement()),!$A.util.isUndefinedOrNull(c)&&0<c.length&&c[0].focus())}},_createDuplicateTabs:function(a){var b=this;$A.createComponent("markup://force:duplicateTabs",
{duplicateSet:a._duplicateSet,duplicateErrorMessage:a._dedupeErrorMessage,panelTitle:$A.util.isEmpty(a._dedupeErrorMessage)?a.get("v.panelTitle"):"",severity:a._isAlert?"warning":"error"},function(c){$A.util.isUndefinedOrNull(c)||b._createPanel(a,c,b)})},_createPanel:function(a,b,c){var d=$A.get("$Label.DuplicateList.ModalTitle");if($A.get("$Browser.isDesktop"))$A.getEvt("markup://ui:createPanel").setParams({panelType:"modal",visible:!0,panelConfig:{title:d,body:b,flavor:this._getModalFlavorBasedOnTheContext(a)},
onDestroy:function(){a.isValid()&&!0===a._destroyParent&&a.getEvent("notify").setParams({action:"closePanel",typeOf:"ui:closePanel"}).fire();a._dedupePanelOpen=!1;c._focusOnToastMessage(a,c)}}).fire();else{var e=$A.createComponentFromConfig({descriptor:"markup://ui:button",attributes:{"class":"dedupePanelClose",label:$A.get("$Label.ActionBar.Close"),"aura:flavor":"default,brand"}});e.addHandler("press",a,"c.dismissDedupePanel");$A.getEvt("markup://force:showPanel").setParams({lazyLoad:!0,title:d,
component:b,onCreate:function(a){a.update({headerActions:[e]})}}).fire()}},_getModalFlavorBasedOnTheContext:function(a){return-1!=["force:quickActionLayout","runtime_sales_lead:convert"].indexOf(a.get("v.inContextOfComponent"))?"default,mailapp":"large"},_cleanupExistingErrorMsgs:function(a){a=a.getAttributeValueProvider();var b=a.find("pageLevelErrors");b&&b.set("v.body",[]);a.isInstanceOf("runtime_sales_lead:convert")?a.helper.cleanupFieldErrors(a):(a=a.find("recordLayout"))&&$A.util.isFunction(a.cleanupFieldErrors)&&
a.cleanupFieldErrors()},closeCurrentPanel:function(){$A.getEvt("markup://ui:getActivePanel").setParams({callback:function(a){if(a&&a.isValid()){var b=a.getEvent("notify");b?b.setParams({action:"destroyPanel",typeOf:"ui:destroyPanel"}).fire():$A.getEvt("markup://ui:destroyPanel").setParams({panelInstance:a}).fire()}}}).fire()},skipDedupe:function(a,b,c){a.set("v.dedupeEnabled",!1);a.set("v.dedupeFields",[]);a.set("v.predupeEnabled",!1)},flattenPotentialMatches:function(a){var b=!0,c=0,d=[],e=[];$A.util.isArray(a)&&
$A.util.forEach(a,function(a){a.isAllowSave||(b=!1);$A.util.isArray(a.recordIds)&&(c+=a.recordIds.length);a.matchRule&&-1===d.indexOf(a.matchRule)&&d.push(a.matchRule);e.push(a.entityType)});return{isAllowSave:b,totalMatches:c,matchRules:d.join(),entityType:e.join(),source:$A.get("$Browser.isDesktop")?"SFX":"S1"}},setupConfig:function(a,b){var c=a.get("v.dedupeConfig"),d=a.get("v.predupeEnabled"),e=!1,g=[],f="EDIT"!==b.getMode(a);$A.util.isUndefinedOrNull(d)&&(d=c.predupeEnabled);if(!1!==d&&$A.util.isArray(c.dedupeRules)){var h=
f?"actionOnInsert":"actionOnUpdate",k=f?"operationsOnInsert":"operationsOnUpdate";$A.util.forEach(c.dedupeRules,function(a){"Block"===a[h]&&(e=!0,g.push(a.name));a=a[k];!e&&(!$A.util.isUndefinedOrNull(a)&&-1<a.indexOf("Alert"))&&(e=!0)});d=e}a.set("v.predupeEnabled",d);a.set("v.blockingRules",g);a.set("v.dedupeEnabled",c.dedupeEnabled);a.set("v.dedupeFields",c.dedupeFields)},hasBlockingRule:function(a,b){if($A.util.isArray(b)&&0<b.length){var c=a.get("v.blockingRules");if($A.util.isArray(c)&&0<c.length)for(var d=
0;d<b.length;d++)if(-1<c.indexOf(b[d]))return!0}return!1},getMode:function(a){var b=a.get("v.mode");return"EDIT"===b&&$A.util.isEmpty(a.get("v.recordId"))?"CREATE":b},navigateToObject:function(a,b){$A.util.isUndefinedOrNull(a._workspaceApi)||!a._workspaceApi.isValid()?$A.createComponent("lightning:workspaceAPI",{},function(c){a._workspaceApi=c;a.helper.helpNavigateToObject(a,b,a._workspaceApi)}):a.helper.helpNavigateToObject(a,b,a._workspaceApi)},helpNavigateToObject:function(a,b,c,d){var e=this;
$A.get("$Browser.isDesktop")?$A.get("$Site")||$A.get("$Browser.isContainer")?(e.fireNavigateToSObjectEvent(b),$A.util.isUndefinedOrNull(d)||d()):c.isConsoleNavigation().then(function(c){c?e.helpNavigateInConsole(b,a):e.fireNavigateToSObjectEvent(b);$A.util.isUndefinedOrNull(d)||d()}):(e.fireNavigateToSObjectEvent(b),$A.util.isUndefinedOrNull(d)||d())},fireNavigateToSObjectEvent:function(a){$A.getEvt("force:navigateToSObject").setParams({recordId:a}).fire()},helpNavigateInConsole:function(a,b){var c=
window.location.pathname.indexOf("/lightning");-1<c?(c=window.location.pathname.substring(0,c+10),b.helper.navLib.locationService.set({},c+"/r/"+a+"/view")):b.helper.navLib.locationService.v1.set("/sObject/"+a+"/view")}},renderer:{unrender:function(a){a._workspaceApi&&(a._workspaceApi.destroy(!0),a.superUnrender())}}}});return {"xs":"I","descriptor":"markup://force:dedupeManager","st":{"descriptor":"css://force.dedupeManager","cl":"forceDedupeManager"},"cd":{"descriptor":"compound://force.dedupeManager","ac":[{"n":"findMatches","descriptor":"serviceComponent://ui.force.components.controllers.dedupe.DedupeManagerController/ACTION$findMatches","at":"SERVER","rt":"java://ui.services.exceptions.DuplicateRecordError$DuplicateMatchResult","pa":[{"name":"record","type":"java://java.lang.Object"}]},{"n":"loadRecords","descriptor":"serviceComponent://ui.force.components.controllers.dedupe.DedupeManagerController/ACTION$loadRecords","at":"SERVER","rt":"java://boolean","pa":[{"name":"recordIds","type":"java://java.util.List<java.lang.String>"},{"name":"layoutType","type":"java://java.lang.String"}]},{"n":"loadObjectApiInfo","descriptor":"serviceComponent://ui.force.components.controllers.dedupe.DedupeManagerController/ACTION$loadObjectApiInfo","at":"SERVER","rt":"java://ui.services.models.DedupeObjectApiInfoData","pa":[{"name":"entityApiNames","type":"java://java.util.List<java.lang.String>"}]},{"n":"getConfig","descriptor":"serviceComponent://ui.force.components.controllers.dedupe.DedupeManagerController/ACTION$getConfig","at":"SERVER","rt":"java://ui.services.models.DedupeConfig","pa":[{"name":"entityApiName","type":"java://java.lang.String"},{"name":"recordTypeId","type":"java://java.lang.String"},{"name":"recordId","type":"java://java.lang.String"}]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["ignoreExistingAction","aura://Boolean","I",false],["dedupeConfig","aura://Object","I",false,null],["dedupeEnabled","aura://Boolean","I",false],["predupeEnabled","aura://Boolean","I",false],["bypassDedupeCheck","aura://Boolean","I",false,false],["duplicatesDetected","aura://Boolean","I",false,false],["inContextOfComponent","aura://String","I",false],["navigationContext","aura://String","I",false],["navigationLocationId","aura://String","I",false],["duplicateSelectedCallbackEvent","aura://String","I",false],["duplicateSelectedText","aura://String","I",false,{"exprType":"PROPERTY","byValue":false,"target":"force:dedupeManager","path":"$Label.DuplicateList.Footer"}],["panelTitle","aura://String","I",false,{"exprType":"PROPERTY","byValue":false,"target":"force:dedupeManager","path":"$Label.DuplicateList.Header"}],["entityApiName","aura://String","I",false],["recordTypeId","aura://String","I",false],["recordId","aura://String","I",false],["mode","aura://String","I",false,"CREATE"],["dedupeFields","aura://List","p",false,[]],["_toastClass","aura://String","p",false,""],["_cmpToastContext","aura://String","p",false,""],["blockingRules","aura://List","p",false,[]],["duplicateErrorMessage","aura://String","p",false],["duplicateErrorIcon","aura://String","p",false],["duplicateCount","aura://Integer","p",false,0]],"med":[{"name":"force:refreshVisibility","xs":"I","action":"{!c.refreshDedupeVisibility}"},{"name":"force:refreshState","xs":"I","action":"{!c.refreshDedupeState}"},{"name":"force:closeCurrentPanel","xs":"I","action":"{!c.closeCurrentPanel}"}],"i":["markup://force:hasStorableSupport"],"re":[{"ed":"markup://force:refresh","n":"refreshDedupeState","xs":"I"},{"ed":"markup://force:duplicateDetectedOnSave","n":"duplicateDetectedOnSave","xs":"I"},{"ed":"markup://force:recordDuplicateSelected","n":"recordDuplicateSelected","xs":"I"},{"ed":"markup://force:recordDataChange","n":"recordDataChange","xs":"I"},{"ed":"markup://force:recordDuplicateDetected","n":"recordDuplicateDetected","xs":"I"},{"ed":"markup://force:refresh","n":"refreshDedupeVisibility","xs":"I"},{"ed":"markup://ui:notify","n":"notify","xs":"I"}],"hd":[{"ed":{"descriptor":"markup://force:recordDuplicateSelected"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleRecordSelect"}},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.initialize"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleRecordDataChange"},"n":"recordDataChange"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleDedupeError"},"n":"recordDuplicateDetected"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.refreshDedupeState"},"n":"refreshDedupeState"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.refreshDedupeVisibility"},"n":"refreshDedupeVisibility"}],"ld":{"viewDuplicatesLink":{"context":{"entityApiName":{"exprType":"PROPERTY","byValue":false,"target":"force:dedupeManager","path":"v.entityApiName"},"duplicateCount":{"exprType":"PROPERTY","byValue":false,"target":"force:dedupeManager","path":"v.duplicateCount"}}}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"dedupeToast","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"dedupeToast slds-inline_icon_text slds-grid slds-m-bottom--large\",(fn.eq(cmp.get(\"v.duplicateErrorIcon\"),\"warning\")?\" slds-inline_icon_text--warning\":\"\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:dedupeManager","path":"v.duplicateErrorIcon"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:icon"},"attributes":{"values":{"imageType":{"descriptor":"imageType","value":"decorative"},"size":{"descriptor":"size","value":"small"},"class":{"descriptor":"class","value":"slds-icon--small slds-m-right--small"},"key":{"descriptor":"key","value":{"exprType":"PROPERTY","byValue":false,"target":"force:dedupeManager","path":"v.duplicateErrorIcon"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-col slds-align-middle"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"force:dedupeManager","path":"v.duplicateErrorMessage"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"viewDuplicatesLink","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onclick":{"exprType":"PROPERTY","byValue":false,"target":"force:dedupeManager","path":"c.renderDedupePanel"},"href":"javascript:void(0);"}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"force:dedupeManager","path":"$Label.DuplicateList.ViewDuplicates"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.duplicateCount\")>0);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:dedupeManager","path":"v.duplicateCount"}],"byValue":false}}}}}]}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(fn.empty(cmp.get(\"v.duplicateErrorMessage\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:dedupeManager","path":"v.duplicateErrorMessage"}],"byValue":false}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:clumpItem",function(){/*$A.componentService.addComponentClass("markup://forceChatter:clumpItem",function(){return{meta:{name:"forceChatter$clumpItem","extends":"markup://aura:component",imports:{metricsReporter:"markup://forceChatter:metricsReportingService"}},controller:{drillIn:function(a,c,b){"IN_FEED"==a.get("v.config.feedDisplayConfig.mode")&&(b.highlight(a),a={feedElementId:a.get("v.data.id"),feedType:a.get("v.feedType"),feedDesign:a.get("v.feedDesign")},$A.getEvt("markup://force:navigateToFeedElementDetail").setParams(a).fire());
b.stopPropagation(c)}},helper:{highlight:function(a){var c=a.getElement();$A.util.addClass(c,"highlight");setTimeout($A.getCallback(function(){$A.util.removeClass(c,"highlight")}),1E3)},stopPropagation:function(a){a&&(a.getParams?(a=a.getParams())&&a.domEvent&&$A.util.squash(a.domEvent,!0):$A.util.squash(a,!0))}},renderer:{render:function(a,c){var b=a.get("v.data")||{},b="Clump Item render() time "+(b.type||"type not found")+" "+(b.id||"id not found");c.metricsReporter.service.markStart("feeds",b);
var d=a.superRender();c.metricsReporter.service.markEnd("feeds",b);return d},rerender:function(a,c){var b=a.get("v.data")||{},b="Clump Item rerender() time "+(b.type||"type not found")+" "+(b.id||"id not found");c.metricsReporter.service.markStart("feeds",b);a.superRerender();c.metricsReporter.service.markEnd("feeds",b)},afterRender:function(a,c){a.superAfterRender();if((a.get("v.data")||{}).refocus){var b=a.getElement().querySelector(".cuf-entityLink");b&&b.focus()}}}}});return {"xs":"I","descriptor":"markup://forceChatter:clumpItem","st":{"descriptor":"css://forceChatter.clumpItem","cl":"forceChatterClumpItem"},"fst":{"descriptor":"css://forceChatter.clumpItem"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["feedDesign","aura://String","I",false,"BROWSE"],["data","java://sfdc.chatter.connect.api.output.feeds.FeedElementRepresentation","I",false,null],["subjectId","aura://String","I",false],["feedType","aura://String","I",false],["expandClump","aura://Boolean","I",false,false],["config","java://ui.chatter.api.FeedConfig","I",false,null],["ftcCount","aura://Integer","I",false,2]],"i":["markup://forceChatter:respectFeedDesign"],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"flavorable":true,"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"cuf-element \",(cmp.get(\"v.expandClump\")?\" drillIn\":\" inFeed\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpItem","path":"v.expandClump"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:anchor"},"localId":"clumpAnchor","attributes":{"values":{"onClick":{"descriptor":"onClick","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpItem","path":"c.drillIn"}},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"data-id":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpItem","path":"v.data.id"},"class":"cuf-feedElement cuf-clumpItem"}},"tag":{"descriptor":"tag","value":"article"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:clumpHeader"},"attributes":{"values":{"parent":{"descriptor":"parent","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpItem","path":"v.data.parent"}},"showSubPreamble":{"descriptor":"showSubPreamble","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(cmp.get(\"v.expandClump\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpItem","path":"v.expandClump"}],"byValue":false}},"createdDate":{"descriptor":"createdDate","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpItem","path":"v.data.relativeCreatedDate"}},"header":{"descriptor":"header","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpItem","path":"v.data.header"}},"subjectId":{"descriptor":"subjectId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpItem","path":"v.subjectId"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onclick":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpItem","path":"c.drillIn"},"class":"cuf-drillIn"}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-box cuf-clumpSummary"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:ftcList"},"attributes":{"values":{"data":{"descriptor":"data","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpItem","path":"v.data.capabilities.bundle.changes"}},"ftcCount":{"descriptor":"ftcCount","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpItem","path":"v.ftcCount"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-ftcLink cuf-moreFtcs"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:label"},"localId":"link","attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpItem","path":"$Label.Feeds.ShowAllUpdates"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.data.capabilities.bundle.changes.length\")>cmp.get(\"v.ftcCount\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpItem","path":"v.ftcCount"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpItem","path":"v.data.capabilities.bundle.changes.length"}],"byValue":false}}}}}]}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (!(cmp.get(\"v.expandClump\"))&&(cmp.get(\"v.data.capabilities.bundle.changes.length\")>0));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpItem","path":"v.expandClump"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpItem","path":"v.data.capabilities.bundle.changes.length"}],"byValue":false}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq(cmp.get(\"v.data.capabilities.bundle.bundleType\"),\"TrackedChanges\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpItem","path":"v.data.capabilities.bundle.bundleType"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:feedElementIteration"},"attributes":{"values":{"feedType":{"descriptor":"feedType","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpItem","path":"v.feedType"}},"elements":{"descriptor":"elements","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpItem","path":"v.data.capabilities.bundle.page.elements"}},"config":{"descriptor":"config","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpItem","path":"v.config"}},"subjectId":{"descriptor":"subjectId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpItem","path":"v.data.parent.id"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.expandClump\")&&(cmp.get(\"v.data.capabilities.bundle.page.elements.length\")>0));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpItem","path":"v.data.capabilities.bundle.page.elements.length"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpItem","path":"v.expandClump"}],"byValue":false}}}}}]}}}}]},"class":{"descriptor":"class","value":"cuf-feedElement-wrap"},"enabled":{"descriptor":"enabled","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (!(cmp.get(\"v.expandClump\"))&&cmp.get(\"v.config.feedDisplayConfig.feedElementDisplayConfig.useLargeDrillInTarget\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpItem","path":"v.expandClump"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpItem","path":"v.config.feedDisplayConfig.feedElementDisplayConfig.useLargeDrillInTarget"}],"byValue":false}}}}}]}}}}]}],"fc":true,"css":true}*/});
$A.componentService.addComponent("markup://force:multiTemplateVirtualList",function(){/*$A.componentService.addComponentClass("markup://force:multiTemplateVirtualList",function(){return{meta:{name:"force$multiTemplateVirtualList","extends":"markup://aura:component",imports:{relatedListsDataManagerLib:"markup://force:relatedListsDataManagerLibrary",componentLib:"markup://force:componentLibrary"}},controller:{init:function(a,b,c){b=c.getDataProvider(a);!$A.util.isUndefinedOrNull(b)&&b.isValid()&&b.addEventHandler("onchange",a.getReference("c.handleDataChanged"));c.setInitTemplates(a)},
refresh:function(a,b,c){var d=b.getParam("arguments");b=d.callback;d=d.templates;a.get("v.templateMap")?(d=c.bindTemplateValues(a,d),a.set("v.templateMap",d)):c.newTemplateComponent(a);b&&$A.util.isFunction(b)&&b()},showMore:function(a,b,c){var d=b.getParam("arguments");b=d.templates;var d=d.items,e;b&&(e=c.bindTemplateValues(a,b));var f=a.find("list");f&&(e&&Object.keys(e).forEach(function(a){f.addTemplate(a,e[a])}),d&&f.appendItems(d))},getItems:function(a,b,c){b=b.getParam("arguments").callback;
a=a.find("list");b&&$A.util.isFunction(b)&&(a?b(a.get("v.items")):b(void 0))},setItems:function(a,b,c){b=b.getParam("arguments");a=a.find("list");b&&(b.items&&a)&&a.set("v.items",b.items)},updateItem:function(a,b,c){a=a.find("list");b=b.getParam("arguments");a&&b&&a.updateItem(b.item,b.index)},handleDataChanged:function(a,b,c){b=b.getParam("data");c.handleDataChanged(a,b)},addTemplate:function(a,b,c){var d=b.getParam("arguments");b=d.key;var e={};e[b]=d.template;c=c.bindTemplateValues(a,e);a.find("list").addTemplate(b,
c[b])},getComponentByIndex:function(a,b,c){a=a.find("list");c=b.getParam("arguments");b=c.index;c=c.callback;a&&a.isValid()?c(a.getComponentByIndex(b,c)):c(null)}},helper:{setInitTemplates:function(a){a.get("v.templateMap")?(this.bindTemplateValues(a,a.get("v.templateMap")),this.setTemplateLoaded(a),this.renderInitialData(a)):this.newTemplateComponent(a)},newTemplateComponent:function(a,b){var c=a.get("c.getRecordLayoutComponent"),d={inContextOfRecordId:a.get("v.inContextOfRecordId"),listViewIdOrName:a.get("v.layoutOverride"),
entityKeyPrefixOrApiName:a.get("v.entityName")};c.setParams({inContextOfComponent:a.get("v.inContextOfComponent"),listReference:d,layoutType:a.get("v.type")});c.setCallback(this,function(b){!a._hasError&&"SUCCESS"===b.getState()&&(b=b.getReturnValue(),b.errorResponse?(a._hasError=!0,b=b.errorResponse&&b.errorResponse.userFacingMessage||"",this.hidePlaceHolder(a),this.showNoContentMessage(a,b)):(b.component.attributes.values.record={descriptor:"record",value:{exprType:"PROPERTY",path:"item.record"}},
a.set("v.itemTemplate",b.component),this.setTemplateLoaded(a),this.renderInitialData(a)))});$A.enqueueAction(c)},hidePlaceHolder:function(a){a.set("v.showPlaceholder",!1)},bindTemplateValues:function(a,b){var c={descriptor:"record",value:{exprType:"PROPERTY",path:"item.record"}},d;for(d in b)b[d].attributes.values.record=c;return b},renderInitialData:function(a){var b=a.find("virtualList");if((a=this.getDataProvider(a))&&a.isValid()){var c=a.get("v.items");c&&b?b.set("v.items",c,!0):a&&(b=a.getEvent("provide"))&&
b.fire()}},isLoadingInitialData:function(a){return(a=this.getDataProvider(a))&&a.isValid()?1===a.get("v.currentPage"):!0},setTemplateLoaded:function(a){this.hidePlaceHolder(a);a.set("v.isTemplateLoaded",!0)},getDataProvider:function(a){a=a.get("v.dataProvider");return!$A.util.isEmpty(a)?a[0]:null},showNoContentMessage:function(a,b){var c=a.find("emptyContent");b&&a.set("v.messages",b);c&&$A.util.removeClass(c,"hidden")},handleDataChanged:function(a,b){var c=a.find("list");if(c)if(this.isLoadingInitialData(a)){var d=
c.get("v.items");this.relatedListsDataManagerLib.relatedListsDataManager.utilMethods.recordsAreDifferent(d,b)&&c.set("v.items",JSON.parse(JSON.stringify(b)))}else c.appendItems(b)}}}});return {"xs":"I","descriptor":"markup://force:multiTemplateVirtualList","cd":{"descriptor":"compound://force.multiTemplateVirtualList","ac":[{"n":"getRecordLayoutComponent","descriptor":"serviceComponent://ui.force.components.controllers.multiTemplateVirtualList.MultiTemplateVirtualListController/ACTION$getRecordLayoutComponent","at":"SERVER","rt":"java://ui.force.components.controllers.multiTemplateVirtualList.MultiTemplateVirtualListController$VirtualRecordListRecordLayoutResponse","pa":[{"name":"inContextOfComponent","type":"java://java.lang.String"},{"name":"listReference","type":"java://ui.services.models.ListReference"},{"name":"layoutType","type":"java://java.lang.String"}]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["canShowMore","aura://Boolean","I",false],["canRefresh","aura://Boolean","PP",false],["insideScroller","aura://Boolean","I",false],["entityName","aura://String","I",false],["type","aura://String","I",false,"FULL"],["layoutOverride","aura://String","I",false],["inContextOfRecordId","aura://String","I",false],["inContextOfComponent","aura://String","I",true],["showPlaceholder","aura://Boolean","I",false,false],["placeholderName","aura://String","I",false,"list_preview"],["isTemplateLoaded","aura://Boolean","I",false,false],["messages","aura://String[]","p",false,[]],["itemVar","aura://String","I",false,"item"],["dataProvider","aura://Aura.Component[]","I",true,[]],["templateExpression","aura://String","I",false,"item"],["templateMap","aura://Object","I",false,null],["itemTemplate","aura://Aura.ComponentDefRef[]","I",false,[]]],"med":[{"name":"force:showMore","xs":"I","action":"{!c.showMore}","attributes":[["templates","aura://Object","I",false,null],["items","aura://Object[]","I",false,[]],["callback","apex://Function","I",false,null]]},{"name":"force:refresh","xs":"I","action":"{!c.refresh}","attributes":[["templates","aura://Object","I",false,null],["callback","apex://Function","I",false,null]]},{"name":"force:getItems","xs":"I","action":"{!c.getItems}","attributes":[["callback","apex://Function","I",true,null]]},{"name":"force:setItems","xs":"I","action":"{!c.setItems}","attributes":[["items","aura://List","I",true,[]]]},{"name":"force:updateItem","xs":"I","attributes":[["item","aura://Object","I",true,null],["index","aura://Integer","I",false]]},{"name":"force:addTemplate","xs":"I","attributes":[["key","aura://Object","I",true,null],["template","aura://Object","I",true,null]]},{"name":"force:getComponentByIndex","xs":"I","attributes":[["index","aura://Integer","I",true],["callback","apex://Function","I",true,null]]}],"i":["markup://ui:scrollerEmbeddable","markup://ui:handlesShowMore","markup://ui:handlesRefresh"],"re":[{"ed":"markup://ui:showMore","n":"showMore","xs":"I"},{"ed":"markup://ui:noMoreContent","n":"noMoreContent","xs":"I"},{"ed":"markup://ui:scrollTo","n":"parentScrollTo","xs":"I"},{"ed":"markup://ui:refresh","n":"refresh","xs":"I"},{"ed":"markup://force:onLoadError","n":"onLoadError","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.showPlaceholder\")?\"\":\"slds-hide\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:multiTemplateVirtualList","path":"v.showPlaceholder"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:placeholder2","type":"module"},"attributes":{"values":{"name":{"descriptor":"name","value":{"exprType":"PROPERTY","byValue":false,"target":"force:multiTemplateVirtualList","path":"v.placeholderName"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:virtualList"},"localId":"list","attributes":{"values":{"itemVar":{"descriptor":"itemVar","value":"item"},"itemTemplate":{"descriptor":"itemTemplate","value":{"exprType":"PROPERTY","byValue":false,"target":"force:multiTemplateVirtualList","path":"v.itemTemplate"}},"templateMap":{"descriptor":"templateMap","value":{"exprType":"PROPERTY","byValue":false,"target":"force:multiTemplateVirtualList","path":"v.templateMap"}},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"uiAbstractList"}},"tag":{"descriptor":"tag","value":"ul"}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"force:multiTemplateVirtualList","path":"v.isTemplateLoaded"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"emptyContent","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"emptyContent hidden"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"emptyContentInner slds-text-align--center"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:iteration"},"attributes":{"values":{"var":{"descriptor":"var","value":"label"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"p"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"force:multiTemplateVirtualList","path":"label"}}}}}]}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"force:multiTemplateVirtualList","path":"v.messages"}}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://force:detailPanel",function(){/*$A.componentService.addComponentClass("markup://force:detailPanel",function(){return{meta:{name:"force$detailPanel","extends":"markup://aura:component",imports:{liveRecordsLib:"markup://force:liveRecordsLibrary"}},provider:{provide:function(a){return!$A.get("$Browser.isDesktop")?"markup://force:detailPanelMobile":"markup://force:detailPanelDesktop"}}}});return {"xs":"PP","descriptor":"markup://force:detailPanel","cd":{"descriptor":"compound://force.detailPanel","ac":[{"n":"getNextRecordLayout","descriptor":"serviceComponent://ui.force.components.controllers.detail.DetailController/ACTION$getNextRecordLayout","at":"SERVER","rt":"java://org.auraframework.instance.Component","pa":[{"name":"recordId","type":"java://java.lang.String"},{"name":"inContextOfRecordId","type":"java://java.lang.String"},{"name":"mode","type":"java://java.lang.String"},{"name":"entityName","type":"java://java.lang.String"},{"name":"pageSize","type":"java://int"},{"name":"offset","type":"java://int"},{"name":"type","type":"java://java.lang.String"}]},{"n":"getDetailComponent","descriptor":"serviceComponent://ui.force.components.controllers.detail.DetailController/ACTION$getDetailComponent","at":"SERVER","rt":"java://org.auraframework.instance.Component","pa":[{"name":"recordId","type":"java://java.lang.String"},{"name":"inContextOfRecordId","type":"java://java.lang.String"},{"name":"mode","type":"java://java.lang.String"},{"name":"recordTypeId","type":"java://java.lang.String"},{"name":"keyPrefix","type":"java://java.lang.String"},{"name":"entityApiName","type":"java://java.lang.String"},{"name":"navigationLocation","type":"java://java.lang.String"},{"name":"layoutType","type":"java://java.lang.String"},{"name":"layoutOverride","type":"java://java.lang.String"}]},{"n":"saveSectionState","descriptor":"serviceComponent://ui.force.components.controllers.detail.DetailController/ACTION$saveSectionState","at":"SERVER","rt":"java://void","pa":[{"name":"sectionId","type":"java://java.lang.String"},{"name":"collapsed","type":"java://boolean"}]},{"n":"cloneRecordWithRelatedEntities","descriptor":"serviceComponent://ui.force.components.controllers.detail.DetailController/ACTION$cloneRecordWithRelatedEntities","at":"SERVER","rt":"java://java.lang.String","pa":[{"name":"record","type":"java://ui.services.connection.models.api.Record"},{"name":"cloneRelatedEntities","type":"java://java.lang.Object"},{"name":"recordId","type":"java://java.lang.String"},{"name":"successAction","type":"java://java.lang.String"}]},{"n":"getRecord","descriptor":"serviceComponent://ui.force.components.controllers.detail.DetailController/ACTION$getRecord","at":"SERVER","rt":"java://ui.force.api.dto.GetRecordResultAndLayout","pa":[{"name":"recordId","type":"java://java.lang.String"},{"name":"record","type":"java://java.lang.Object"},{"name":"inContextOfRecordId","type":"java://java.lang.String"},{"name":"inContextOfComponent","type":"java://java.lang.String"},{"name":"entityApiNameOrKeyPrefix","type":"java://java.lang.String"},{"name":"recordTypeId","type":"java://java.lang.String"},{"name":"mode","type":"java://java.lang.String"},{"name":"layoutType","type":"java://java.lang.String"},{"name":"layoutOverride","type":"java://java.lang.String"},{"name":"defaultFieldValues","type":"java://java.lang.Object"},{"name":"changeRecordType","type":"java://java.lang.Boolean"},{"name":"navigationLocation","type":"java://java.lang.String"},{"name":"navigationLocationId","type":"java://java.lang.String"}]},{"n":"getPostSaveNavigationEvent","descriptor":"serviceComponent://ui.force.components.controllers.detail.DetailController/ACTION$getPostSaveNavigationEvent","at":"SERVER","rt":"java://ui.plugins.api.navigation.NavigationEvent","pa":[{"name":"record","type":"java://ui.services.connection.models.api.Record"},{"name":"crudAction","type":"java://java.lang.String"},{"name":"navigationLocation","type":"java://java.lang.String"},{"name":"navigationLocationId","type":"java://java.lang.String"}]},{"n":"getEntityConfig","descriptor":"serviceComponent://ui.force.components.controllers.detail.DetailController/ACTION$getEntityConfig","at":"SERVER","rt":"java://ui.force.components.controllers.detail.DetailController$DetailPanelEntityConfiguration","pa":[{"name":"recordId","type":"java://java.lang.String"},{"name":"recordTypeId","type":"java://java.lang.String"},{"name":"entityApiNameOrKeyPrefix","type":"java://java.lang.String"},{"name":"layoutType","type":"java://java.lang.String"},{"name":"mode","type":"java://java.lang.String"},{"name":"isCreateOrClone","type":"java://java.lang.Boolean"},{"name":"isCloneWithRelated","type":"java://java.lang.Boolean"}]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["canShowMore","aura://Boolean","I",false],["canRefresh","aura://Boolean","PP",false],["insideScroller","aura://Boolean","I",false],["record","apex://SObject","I",false,null],["recordLabel","aura://String","I",false],["footerComponent","aura://Object","I",false,null],["showFooter","aura://Boolean","I",false,false],["recordId","aura://String","G",false],["loadInBackground","aura://Boolean","I",false,false],["width","aura://String","PP",false],["isInlineEditable","aura://Boolean","I",false,false],["shouldUpdateInlineEdit","aura://Boolean","I",false,false],["isInlineEditMode","aura://Boolean","I",false,false],["saved","aura://Boolean","I",false,false],["reloadRecordForInlineEdit","aura://Boolean","I",false,false],["loadingConfig","aura://Object","I",false,null],["title","aura://String","I",false],["headerActions","apex://Array","I",false,null],["ignoreExistingAction","aura://Boolean","PP",false,false],["keyPrefix","aura://String","I",false],["entityApiName","aura://String","PP",false],["recordNameField","aura://String","I",false],["entityLabel","aura://String","I",false],["inContextOfRecordId","aura://String","I",false],["inContextOfComponent","aura://String","I",false,""],["navigationLocation","aura://String","PP",false],["navigationLocationId","aura://String","I",false],["recordTypeId","aura://String","PP",false],["mode","aura://String","PP",false,"VIEW"],["cloneRelatedEntities","aura://Object","I",false,null],["layoutMode","aura://String","I",false,"VIEW"],["defaultFieldValues","aura://Map","PP",false,null],["errors","aura://Object","I",false,null],["changeRecordType","aura://Boolean","I",false,false],["handleCancel","aura://Boolean","I",false,false],["fullSiteLink","aura://String","I",false],["layoutType","aura://String","I",false,"FULL"],["layoutOverride","aura://String","I",false,""],["pageSize","aura://Integer","I",false,-1],["parentPanel","aura://Aura.Component[]","I",false,[]],["inlineEditActions","aura://List","I",false,[]],["titleOverride","aura://String","I",false],["showTitleInline","aura://Boolean","I",false,false],["showCreateRecordToast","aura://Boolean","I",false,true],["shouldFireRecordChangeEvt","aura://Boolean","I",false,true],["shouldUseBackgroundContext","aura://Boolean","I",false,false],["panelOnCreateCallback","aura://Object","I",false,null],["panelOnDestroyCallback","aura://Object","I",false,null],["isRLBRendered","aura://Boolean","p",false,false],["beforeFunctionsRegistered","aura://Boolean","p",false,false],["configLoaded","aura://Boolean","I",false,false],["currentIterationLoadCount","aura://Integer","p",false],["onLoadErrorMessage","aura://String","p",false],["saveOptionComponents","aura://Object[]","p",false,[]],["saveOptions","aura://Aura.Component[]","p",false,[]],["inlineEditState","aura://String","p",false,"NOT_CREATED"],["isInlineEditReady","aura://Boolean","p",false,false],["inlineEdit","aura://Aura.Component","PP",false,null]],"i":["markup://flexipage:availableForRecordHome","markup://ui:scrollerEmbeddable","markup://ui:handlesShowMore","markup://ui:handlesRefresh","markup://force:hasRecord","markup://force:hasFooter","markup://force:recordTab","markup://force:widthAware","markup://force:hasRecordId","markup://flexipage:availableForRecordPreview","markup://force:hasInlineEdit","markup://force:hasProgressiveLoading","markup://force:hasHeader","markup://ui:hasNotify","markup://force:hasStorableSupport","markup://force:hasRecordInfo"],"re":[{"ed":"markup://ui:showMore","n":"showMore","xs":"I"},{"ed":"markup://ui:noMoreContent","n":"noMoreContent","xs":"I"},{"ed":"markup://ui:scrollTo","n":"parentScrollTo","xs":"I"},{"ed":"markup://ui:refresh","n":"refresh","xs":"I"},{"ed":"markup://force:toggleInlineEdit","n":"toggleInlineEdit","xs":"I"},{"ed":"markup://force:inlineEditDataChanged","n":"inlineEditDataChanged","xs":"I"},{"ed":"markup://ui:notify","n":"notify","xs":"I"}],"ab":true,"css":true}*/});
$A.componentService.addComponent("markup://force:searchFilterHeader",function(){/*$A.componentService.addComponentClass("markup://force:searchFilterHeader",function(){return{meta:{name:"force$searchFilterHeader","extends":"markup://aura:component"},controller:{onKeyPress:function(a,c,b){13===c.getParam("keyCode")&&(b.search(a),b.blurInput(a))},onInput:function(a,c,b){b.search(a);b.blurInput(a)},onFocus:function(a,c,b){a=a.getElement();a.querySelector(".right.cell").setAttribute("aria-hidden","false");$A.util.addClass(a,"fadeInCancelButton")},onBlur:function(a,c,b){var d=a.find("cancelButton").getElement();
c.getParam("domEvent").relatedTarget!=d&&b.revealHeader(a)},clearSearchInput:function(a){a.find("input").set("v.value","")},onCancelClick:function(a,c,b){b.revealHeader(a);(c=a.get("v.onCancel"))&&$A.enqueueAction(c);b.blurInput(a)},init:function(a,c,b){(c=a.find("cancelButton"))&&c.addHandler("press",a,"c.onCancelClick")}},helper:{search:function(a){var c=a.get("v.onSearch"),b=a.find("input").find("txt").getElement().value;a.set("v.searchQuery",b);c&&$A.enqueueAction(c)},revealHeader:function(a){a=
a.getElement();a.querySelector(".right.cell").setAttribute("aria-hidden","true");$A.util.removeClass(a,"fadeInCancelButton")},blurInput:function(a){a.find("input").find("txt").getElement().blur()}},renderer:{afterRender:function(a,c){var b=a.find("input").find("txt").getElement();b.setAttribute("spellcheck","false");b.setAttribute("autocomplete","off");b.setAttribute("autocorrect","off");b.setAttribute("autocapitalize","off");b.setAttribute("aria-label",a.get("v.searchInputPlaceholder"));a.find("input").getElement().querySelector("label").setAttribute("aria-hidden",
"true");a.find("cancelButtonWrapper").getElement().onmousedown=function(a){a.preventDefault()};a.superAfterRender()}}}});return {"xs":"I","descriptor":"markup://force:searchFilterHeader","st":{"descriptor":"css://force.searchFilterHeader","cl":"forceSearchFilterHeader"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["onCancel","aura://Aura.Action","I",false,null],["onSearch","aura://Aura.Action","I",false,null],["type","aura://String","I",false,"search"],["maxlength","aura://Integer","I",false,100],["showCancel","aura://Boolean","I",false,true],["searchInputPlaceholder","aura://String","I",true],["searchQuery","aura://String","I",false],["class","aura://String","I",false]],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"PROPERTY","byValue":false,"target":"force:searchFilterHeader","path":"v.class"}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"containerWrapper"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"left cell"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"left block"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"form","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"action":"javascript:void(0)"}},"tag":{"descriptor":"tag","value":"form"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:inputText"},"localId":"input","attributes":{"values":{"labelPosition":{"descriptor":"labelPosition","value":"hidden"},"maxlength":{"descriptor":"maxlength","value":{"exprType":"PROPERTY","byValue":false,"target":"force:searchFilterHeader","path":"v.maxlength"}},"keypress":{"descriptor":"keypress","value":{"exprType":"PROPERTY","byValue":false,"target":"force:searchFilterHeader","path":"c.onKeyPress"}},"focus":{"descriptor":"focus","value":{"exprType":"PROPERTY","byValue":false,"target":"force:searchFilterHeader","path":"c.onFocus"}},"blur":{"descriptor":"blur","value":{"exprType":"PROPERTY","byValue":false,"target":"force:searchFilterHeader","path":"c.onBlur"}},"placeholder":{"descriptor":"placeholder","value":{"exprType":"PROPERTY","byValue":false,"target":"force:searchFilterHeader","path":"v.searchInputPlaceholder"}},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"force:searchFilterHeader","path":"v.searchInputPlaceholder"}},"type":{"descriptor":"type","value":"search"},"class":{"descriptor":"class","value":"inputTextArea listSearch"},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"force:searchFilterHeader","path":"v.searchQuery"}}}}}]}}}}]}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"aria-hidden":"true","class":"right cell"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"cancelButtonWrapper","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"right block"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:button"},"localId":"cancelButton","attributes":{"values":{"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"force:searchFilterHeader","path":"$Label.AuraSearchUI.ObjectCancel"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"force:searchFilterHeader","path":"v.showCancel"}}}}}]}}}}]}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:inputDesktopDataProvider",function(){/*$A.componentService.addComponentClass("markup://forceSearch:inputDesktopDataProvider",function(){return{meta:{name:"forceSearch$inputDesktopDataProvider","extends":"markup://forceSearch:inputDataProvider"},controller:{provide:function(b,e,c){c.provide(b)}},helper:{provide:function(b){var e=[],c=b.get("v.scopeMap")||{},d=b.get("v.context")||{};d.FILTERS&&(d.FILTERS=this.lib.ctx.standardizeFilters(d.FILTERS));var a=this.lib.scope.isTopResults(c),f=a&&c.namespace&&c.label!==c.labelPlural,h=(b.get("v.scopeSets")||
{})[this.lib.scope.SCOPE_SET_TYPE.FILTER]||[],g=b.get("v.maxScopedSearchItems");0<h.length&&0<g&&e.unshift({type:this.lib.action.FILTERED_SEARCH,maxItems:g,scopeMaps:h,context:d});a||(a={},a.type=this.lib.action.SEARCH_FOR_IN_SCOPE,a.scopeMap=c,a.context=d,e.unshift(a));b.get("v.enableGlobalAction")&&(a={},h={type:this.lib.scope.TYPE.TOP_RESULTS},g=b.get("v.globalActionScopeMap"),a.scopeMap=$A.util.isEmpty(g)?h:g,a.type=this.lib.action.SEARCH_FOR,a.context=d,e.unshift(a));f&&(f={},f.type=this.lib.action.SEARCH_FOR_IN_SCOPE,
f.scopeMap=c,f.context=d,e.unshift(f));b.set("v.headerActions",e)}}}});return {"xs":"I","descriptor":"markup://forceSearch:inputDesktopDataProvider","cd":{"descriptor":"compound://forceSearch.inputDesktopDataProvider","ac":[{"n":"getMruItems","descriptor":"serviceComponent://ui.search.components.forcesearch.inputdesktopdataprovider.InputDesktopDataProviderController/ACTION$getMruItems","at":"SERVER","rt":"java://java.util.List","pa":[{"name":"scopeMap","type":"java://java.util.Map<java.lang.String,java.lang.String>"},{"name":"context","type":"java://java.util.Map<java.lang.String,java.lang.Object>"},{"name":"scopeNames","type":"java://java.util.List<java.lang.String>"},{"name":"maxResults","type":"java://int"},{"name":"isGlobalMru","type":"java://boolean"}]},{"n":"getTypeaheadItems","descriptor":"serviceComponent://ui.search.components.forcesearch.inputdesktopdataprovider.InputDesktopDataProviderController/ACTION$getTypeaheadItems","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"scopeMap","type":"java://java.util.Map<java.lang.String,java.lang.String>"},{"name":"context","type":"java://java.util.Map<java.lang.String,java.lang.Object>"},{"name":"maxResults","type":"java://int"},{"name":"term","type":"java://java.lang.String"},{"name":"scopeNames","type":"java://java.util.List<java.lang.String>"},{"name":"scopeSetTypes","type":"java://java.util.List<java.lang.String>"},{"name":"queryMaps","type":"java://java.util.List<java.util.Map<java.lang.String,java.lang.String>>"}]}]},"su":"markup://forceSearch:inputDataProvider","ad":[["body","aura://Aura.Component[]","G",false,[]],["searchTerm","aura://String","PP",false],["sortBy","aura://String","PP",false],["sortDirection","aura://String","I",false],["columns","aura://List","PP",false,[]],["items","aura://List","I",false,[]],["modelItemsKey","aura://String","PP",false],["currentPage","aura://Integer","PP",false,1],["endIndex","aura://Integer","I",false,-1],["pageCount","aura://Integer","PP",false,0],["pageSize","aura://Integer","PP",false,25],["startIndex","aura://Integer","I",false,-1],["totalItems","aura://Integer","PP",false,0],["type","aura://String","I",false],["loggingContext","aura://Map","I",true,{}],["groupId","aura://String","I",true,"DEFAULT"],["scopeSets","aura://Map","I",false,{}],["scopeSetTypes","aura://List","I",false,[]],["maxItems","aura://Integer","I",false,5],["maxPrefetch","aura://Integer","I",false,200],["itemsToIgnore","aura://List","I",false,[]],["isProviding","aura://Boolean","I",false,false],["provideDelay","aura://Integer","I",false,0],["priv_timeoutId","aura://Integer","I",false],["term","aura://String","I",true,""],["scopeMap","aura://Map","I",true,{}],["context","aura://Map","I",true,{}],["maxScopedMruItems","aura://Integer","I",false,5],["maxGlobalMruItems","aura://Integer","I",false,5],["filtered","aura://Boolean","I",false,false],["headerActions","aura://List","I",false,[]],["footerActions","aura://List","I",false,[]],["limitGlobalMruRequests","aura://Boolean","I",false,false],["numGlobalMruItems","aura://Integer","I",false,0],["numScopedMruItems","aura://Integer","I",false,0],["numScopedTypeAheadItems","aura://Integer","I",false,0],["numScopedItems","aura://Integer","I",false,0],["numHeaderActionItems","aura://Integer","I",false,0],["numFooterActionItems","aura://Integer","I",false,0],["typeAheadQueryId","aura://String","I",false,""],["typeAheadQueryMaps","aura://List","I",false,[]],["typeAheadProvideDelay","aura://Integer","I",false,0],["mruProvideDelay","aura://Integer","I",false,0],["allowCrossEntityTypeAhead","aura://Boolean","I",false,false],["priv_isAborting","aura://Boolean","I",false,false],["priv_mruItems","aura://Object[]","I",false,[]],["priv_typeAheadItems","aura://Object[]","I",false,[]],["priv_headerActionItems","aura://Object[]","I",false,[]],["priv_footerActionItems","aura://Object[]","I",false,[]],["priv_headerDPIsProviding","aura://Boolean","I",false,false],["priv_footerDPIsProviding","aura://Boolean","I",false,false],["priv_typeAheadDPIsProviding","aura://Boolean","I",false,false],["priv_mruDPIsProviding","aura://Boolean","I",false,false],["enableGlobalAction","aura://Boolean","I",false,true],["globalActionScopeMap","aura://Map","I",false,{}],["maxScopedSearchItems","aura://Integer","I",false,0]],"re":[{"ed":"markup://ui:dataProvide","n":"provide","xs":"PP"},{"ed":"markup://ui:abortFetchData","n":"abort","xs":"PP"},{"ed":"markup://ui:dataChanged","n":"onchange","xs":"PP"},{"ed":"markup://ui:dataProvideError","n":"error","xs":"PP"},{"ed":"markup://force:searchRequest","n":"searchRequest","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.provide"},"n":"provide"}],"css":true}*/});
$A.componentService.addComponent("markup://runtime_sales_forecasting:forecastingAdjustmentErrorDialog",function(){/*$A.componentService.addComponentClass("markup://runtime_sales_forecasting:forecastingAdjustmentErrorDialog",function(){return{meta:{name:"runtime_sales_forecasting$forecastingAdjustmentErrorDialog","extends":"markup://aura:component"},controller:{pressGotIt:function(a,b,c){$A.getEvt("markup://force:hidePanel").fire()}}}});return {"xs":"I","descriptor":"markup://runtime_sales_forecasting:forecastingAdjustmentErrorDialog","ad":[["body","aura://Aura.Component[]","G",false,[]],["errorMessageBody","aura://String","I",false]],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:formattedText","type":"module"},"attributes":{"values":{"class":{"descriptor":"class","value":"slds-text-body--small slds-text-color--weak"},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_forecasting:forecastingAdjustmentErrorDialog","path":"v.errorMessageBody"}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://emailui:emailToolbarRelatedTo",function(){/*$A.componentService.addComponentClass("markup://emailui:emailToolbarRelatedTo",function(){return{meta:{name:"emailui$emailToolbarRelatedTo","extends":"markup://aura:component"},controller:{initialize:function(c,a,b){var d=a.getParam("arguments").relateToInfo,e=a.getParam("arguments").isCaseObject;a=a.getParam("arguments").isStreamUser;b.createRelatedTo(c,d,e,a)},onRelatedToValueAdded:function(c,a,b){a=a.getSource().get("v.value");b.onEmailToolbarRelatedToChanged(c,a)},onRelatedToValueRemoved:function(c,
a,b){b.onEmailToolbarRelatedToChanged(c,null)}},helper:{initializeRelatedTo:function(c,a,b){b={"aura:id":"enabledRelatedToLookup",valueAdded:c.getReference("c.onRelatedToValueAdded"),label:$A.get("$Label.EmailComposerHeaders.RelatedTo"),labelPosition:"hidden",valueRemoved:c.getReference("c.onRelatedToValueRemoved"),usePanel:!0};this.createInputLookupDesktop(c,Object.assign(b,a))},createInputLookupDesktop:function(c,a){var b=this;$A.createComponent("forceSearch:inputLookupDesktop",a,function(a,e,f){a&&
"SUCCESS"===e?setTimeout(function(){c.set("v.relatedTo",a)},0):b.showErrorMessage(f)})},createCaseNumberCard:function(c,a){var b=this,d=a.entities[0];$A.createComponents([["force:entityIcon",{color:d.color,label:d.label,icon:d.icon,"class":"extraSmall bottomBarCaseIcon"}],["force:outputLookup",{label:a.selectedLabel,value:a.value}]],function(a,d,g){a&&"SUCCESS"===d?setTimeout(function(){c.set("v.relatedTo",a)},0):b.showErrorMessage(g)})},createRelatedTo:function(c,a,b){b?this.createCaseNumberCard(c,
a):this.initializeRelatedTo(c,a)},onEmailToolbarRelatedToChanged:function(c,a){var b=c.getEvent("emailToolbarRelatedToChanged");b?(b.setParams({fields:{relatedTo:a},isAppend:!0}),b.fire()):($A.log("emailToolbarRelatedToChanged event"),$A.log(b))}}}});return {"xs":"I","descriptor":"markup://emailui:emailToolbarRelatedTo","ad":[["body","aura://Aura.Component[]","G",false,[]],["relatedTo","aura://Aura.Component","P",false,null]],"med":[{"name":"emailui:initialize","xs":"I","action":"{!c.initialize}","attributes":[["relateToInfo","aura://Object","I",false,null],["isCaseObject","aura://Boolean","I",false],["isStreamUser","aura://Boolean","I",false]]}],"re":[{"ed":"markup://emailui:fieldsChanged","n":"emailToolbarRelatedToChanged","xs":"I"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailToolbarRelatedTo","path":"v.relatedTo"}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://force:quickActionRecord",function(){/*$A.componentService.addComponentClass("markup://force:quickActionRecord",function(){return{meta:{name:"force$quickActionRecord","extends":"markup://aura:component",imports:{recordLib:"markup://force:recordLibrary",qaRecordLib:"markup://force:quickActionRecordLibrary"}},controller:{init:function(a,b,d){d.getQuickActionRecord(a)},handleRecordUpdated:function(a,b,d){b.stopPropagation();if(a.isValid()){var c=d.recordLib.util;b=b.getParam("changeType");"LOADED"===b?(b=d.isLoadExistingRecord(a)?c.deepClone(a.find("recordCmp").get("v.targetRecord")):
d.mergeTemplateToRecord(a),d.bindAndUpdateTargetRecords(a,c.notificationTypes.LOADED,a.find("recordCmp").get("v.targetDraftType"),b,null),a.set("v.priv_qa_loaded",!0)):"ERROR"===b&&c.updateCmp(a,d.recordLib.util.notificationTypes.ERROR,null,null,a.find("recordCmp").get("v.targetError"),null,!0)}},reloadRecord:function(a,b,d){var c=b.getParam("arguments"),e=d.recordLib.util,f=c?c.callback:null;if(c&&c.record){if("force:quickActionLayout"!==b.getSource().getType())throw Error("force:quickActionRecord reloadRecord() IS INTERNAL ONLY. DO NOT USE!");
if(a.get("v.targetRecord")&&e.getEntityName(c.record)!==a.get("v.targetRecord").apiName)throw Error("Invalid use of force:quickActionRecord reloadRecord; entityName does not match loaded record");b=e.deepClone(c.record);b=e.recordOldToNew(b);e.updateCmp(a,e.notificationTypes.LOADED,null,b,null,null,!1);f&&$A.util.isFunction(f)&&f()}else d.getQuickActionRecord(a,f)},saveQuickActionRecord:function(a,b,d){d.saveQuickActionRecord(a,b)},onTargetRecordDeprecatedChanged:function(a,b,d){if(!a.get("v.priv_internalUpdateInProgress")&&
0!==a.get("v.priv_additionalFields").length){var c=a.get("v.targetRecordDeprecated");if(!d.isCustomBindsPresentOnRecord(c)){b=d.recordLib.util;var c=b.recordOldToNew(c),e=a.get("v.template"),c=d.qaRecordLib.util.mergeTemplateToRecord(a.get("v.defaultValueFields")||[],c,e,b);d.bindAndUpdateTargetRecords(a,b.notificationTypes.LOADED,null,c,null)}}},bindAdditionalFields:function(a,b,d){var c=b.getParam("arguments");if(c&&c.additionalFields&&(b=c.additionalFields.split(","),0!==b.length)){a.set("v.priv_additionalFields",
b);var e=!1,f=a.get("v.targetRecord");if("Create"===c.actionType){for(c=0;c<b.length;c++)f&&!f.fields[b[c]]&&(f.fields[b[c]]={value:null,displayValue:null},e=!0);e&&d.bindAndUpdateTargetRecords(a,d.recordLib.util.notificationTypes.LOADED,null,f,null)}}}},helper:{getQuickActionRecord:function(a,b){this.isLoadExistingRecord(a)?this.loadQuickActionRecord(a,b):this.getQuickActionRecordTemplate(a,b)},getQuickActionRecordTemplate:function(a,b){var d=this.recordLib;d.records.getRecordForQuickAction(a,{quickActionName:a.get("v.quickActionName"),
contextId:a.get("v.contextId"),fieldOverrides:a.get("v.fieldOverrides"),forceServer:a.get("v.ignoreExistingAction"),callback:$A.getCallback(function(c,e,f){var g=null;c&&(g=c[a.get("v.contextId")]);a.isValid()&&(g&&f&&"Update"===f.type?(a.set("v.template",g),a.set("v.priv_recordId",g.id),a.set("v.priv_fields",f.fields),a.set("v.defaultValueFields",f.defaultValueFields),a.find("recordCmp").reloadRecord(!1,b)):(c=d.util.notificationTypes,this.bindAndUpdateTargetRecords(a,e?c.ERROR:c.LOADED,null,g,e),
e||(a.set("v.priv_qa_loaded",!0),b&&$A.util.isFunction(b)&&b())))}.bind(this))})},mergeTemplateToRecord:function(a){var b=this.recordLib.util,d=a.get("v.template"),c=a.find("recordCmp").get("v.targetRecord");return this.qaRecordLib.util.mergeTemplateToRecord(a.get("v.defaultValueFields")||[],c,d,b)},isLoadExistingRecord:function(a){return!$A.util.isEmpty(a.get("v.recordId"))},loadQuickActionRecord:function(a,b){var d=this.recordLib.recordsStore.getQuickActionMetadata(a.get("v.quickActionName"));d&&
(a.set("v.priv_recordId",a.get("v.recordId")),a.set("v.priv_fields",d.fields),a.find("recordCmp").reloadRecord(!1,b))},saveQuickActionRecord:function(a,b){var d=b.getParam("arguments"),c=a.get("v.targetRecord"),e=this.recordLib.util,c=e.deepClone(c);e.removeSpanningFields(c);this.recordLib.records.saveQuickActionRecord(a,c,a.get("v.quickActionName"),[a.get("v.contextId")],d.fetchFeedItem,d.recordSaveParams,this.recordLib.util.getSaveCallback(a,d.callback))},bindAndUpdateTargetRecords:function(a,b,
d,c,e){a.get("v.priv_internalUpdateInProgress")||(a.set("v.priv_internalUpdateInProgress",!0),this.recordLib.util.updateCmp(a,b,d,c,e,null,!0),a.set("v.priv_internalUpdateInProgress",!1))},isCustomBindsPresentOnRecord:function(a){for(var b in a)if(a.hasOwnProperty(b)&&Object.getOwnPropertyDescriptor(a,b).set)return!0;return!1}}}});return {"xs":"I","descriptor":"markup://force:quickActionRecord","ad":[["body","aura://Aura.Component[]","G",false,[]],["recordId","aura://String","G",false],["targetFields","aura://Object","G",false,null],["targetRecord","aura://Object","G",false,null],["targetError","aura://String","G",false],["targetIsDraft","aura://Boolean","I",false],["targetDraftType","aura://String","I",false],["targetRecordDeprecated","aura://Object","G",false,null],["ignoreExistingAction","aura://Boolean","I",false],["quickActionName","aura://String","I",true],["contextId","aura://String","I",false],["fieldOverrides","aura://Map","I",false,null],["template","aura://Object","p",false,null],["defaultValueFields","aura://String[]","p",false,[]],["priv_recordId","aura://String","p",false],["priv_fields","aura://String[]","p",false,[]],["priv_additionalFields","aura://String[]","p",false,[]],["priv_internalUpdateInProgress","aura://Boolean","p",false,false],["priv_qa_loaded","aura://Boolean","I",false,false]],"med":[{"name":"force:reloadRecord","xs":"I","action":"{!c.reloadRecord}","attributes":[["record","aura://Object","I",false,null],["callback","apex://Function","I",false,null]]},{"name":"force:saveQuickActionRecord","xs":"I","action":"{!c.saveQuickActionRecord}","attributes":[["fetchFeedItem","aura://Boolean","I",false,"true"],["recordSaveParams","aura://Object","I",false,null],["callback","apex://Function","I",false,null]]},{"name":"force:bindAdditionalFields","xs":"I","action":"{!c.bindAdditionalFields}","attributes":[["additionalFields","aura://String","I",false],["actionType","aura://String","I",false]]}],"i":["markup://force:recordProviderInternal","markup://force:recordProvider","markup://force:hasRecordId","markup://force:hasStorableSupport"],"re":[{"ed":"markup://force:recordUpdated","n":"recordUpdated","xs":"G"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onTargetRecordDeprecatedChanged"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.targetRecordDeprecated"},"n":"change"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:record"},"localId":"recordCmp","attributes":{"values":{"recordId":{"descriptor":"recordId","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionRecord","path":"v.priv_recordId"}},"recordUpdated":{"descriptor":"recordUpdated","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionRecord","path":"c.handleRecordUpdated"}},"fields":{"descriptor":"fields","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionRecord","path":"v.priv_fields"}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:feedPill",function(){/*$A.componentService.addComponentClass("markup://forceChatter:feedPill",function(){return{meta:{name:"forceChatter$feedPill","extends":"markup://ui:button",imports:{eventBroker:"markup://one:s1EventBroker"}},helper:{initializeDynamicPositioning:function(a){if($A.get("$Browser.isDesktop")){var b=$A.getEvt("markup://ui:notify","content",a);b&&(b.setParams({payload:{viewportEnter:$A.getCallback(function(b){a.isValid()?(a.helper.log("Entering viewport: "+a.getGlobalId()),this.subscribe(a)):$A.log("feedPillHelper viewPortEnter: component is not valid, not doing anything.")}.bind(this)),
viewportExit:$A.getCallback(function(b){a.isValid()?(a.helper.log("Exiting viewport: "+a.getGlobalId()),this.cleanupDynamicPositioning(a)):$A.log("feedPillHelper viewPortExit: component is not valid, not doing anything.")}.bind(this))}}),b.fire());this.subscribe(a)}},subscribe:function(a){if(a.isValid()){this.updatePillPosition(a);var b=a.getGlobalId();this.eventBroker.scroll.unsubscribe(b);a.helper.eventBroker.scroll.subscribe($A.getCallback(function(b,d,e){this.updatePillPosition(a)}.bind(this)),
b)}else a.helper.log("INVALID CMP in subscribeToScroll")},updatePillPosition:function(a){if(a=a.getElement()){var b=a.parentElement;if(b){var c=document.getElementsByClassName("oneHeader");if(c.length){var c=c[0],d=a.getBoundingClientRect();newPostTop=b.getBoundingClientRect().top;oneHeaderBottom=c.getBoundingClientRect().bottom;0===newPostTop&&0===d.width?(a.style.position="absolute",a.style.top=0,a.style.transform="translate(-50%, 0)",a.style.left="50%"):newPostTop<oneHeaderBottom+20?($A.util.removeClass(a,
"cuf-newPostButtonInlinePosition"),a.style.position="fixed",a.style.top=oneHeaderBottom+20+"px",a.style.transform="none",a.style.marginLeft="-"+(d.width/2+window.pageXOffset)+"px",a.style.left=null):($A.util.addClass(a,"cuf-newPostButtonInlinePosition"),a.style.position="absolute",a.style.top=0,a.style.transform="none",a.style.marginLeft="-"+d.width/2+"px",a.style.left="50%");a.style.transition="none"}}}},cleanupDynamicPositioning:function(a){a=a.getGlobalId();this.eventBroker.scroll.unsubscribe(a)},
log:function(){}},renderer:{afterRender:function(a,b){a.superAfterRender();var c=a.getElement();if(a.get("v.feedCmp")){var d=c.getBoundingClientRect();c.style.left="50%";c.style.marginLeft="-"+d.width/2+"px";$A.util.addClass(c,"active")}b.initializeDynamicPositioning(a)},unrender:function(a,b){b.cleanupDynamicPositioning(a);a.superUnrender()}}}});return {"xs":"I","descriptor":"markup://forceChatter:feedPill","su":"markup://ui:button","ad":[["body","aura://Aura.Component[]","G",false,[]],["buttonTitle","aura://String","G",false],["buttonType","aura://String","G",false,"button"],["class","aura://String","G",false,""],["variant","aura://String","PP",false,""],["label","aura://String","G",false],["labelClass","aura://String","G",false,""],["labelDisplay","aura://Boolean","I",false,true],["iconImgSrc","aura://String","I",false,""],["iconClass","aura://String","I",false,""],["selectedClass","aura://String","I",false,"is-selected"],["notSelectedClass","aura://String","I",false,"not-selected"],["classList","aura://String","p",false,""],["disabled","aura://Boolean","G",false,false],["accesskey","aura://String","G",false],["labelDir","aura://String","I",false,"ltr"],["stopPropagation","aura://Boolean","I",false,false],["tabIndex","aura://Integer","I",false],["stateful","aura://Boolean","I",false,false],["selected","aura://Boolean","I",false,false],["ariaLabel","aura://String","I",false,""],["feedCmp","aura://Object","I",false,null]],"med":[{"name":"ui:addHandler","xs":"I","attributes":[["eventName","aura://String","I",false],["valueProvider","aura://Object","I",false,null],["actionExpression","aura://Aura.Action","I",false,null]]}],"re":[{"ed":"markup://ui:mouseover","n":"mouseover","xs":"I"},{"ed":"markup://ui:mouseout","n":"mouseout","xs":"I"},{"ed":"markup://ui:focus","n":"focus","xs":"I"},{"ed":"markup://ui:blur","n":"blur","xs":"I"},{"ed":"markup://ui:press","n":"press","xs":"G"},{"ed":"markup://ui:keydown","n":"keydown","xs":"I"}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:outputGroupMemberCount",function(){/*$A.componentService.addComponentClass("markup://forceChatter:outputGroupMemberCount",function() {
return {
  "meta":{
    "name":"forceChatter$outputGroupMemberCount",
    "extends":"markup://aura:component"
  }
};
});
return {"xs":"I","descriptor":"markup://forceChatter:outputGroupMemberCount","ad":[["body","aura://Aura.Component[]","G",false,[]],["class","aura://String","G",false],["dir","aura://String","I",false,"ltr"],["namespaceOverride","aura://String","I",false],["actionable","aura://Boolean","I",false,true],["role","aura://String","I",false],["ariaDescribedBy","aura://String","PP",false,""],["value","aura://Object","G",true,null],["visible","aura://Boolean","I",false,true]],"i":["markup://ui:visible"],"re":[{"ed":"markup://ui:click","n":"click","xs":"G"},{"ed":"markup://ui:dblclick","n":"dblclick","xs":"G"},{"ed":"markup://ui:mousedown","n":"mousedown","xs":"G"},{"ed":"markup://ui:mousemove","n":"mousemove","xs":"G"},{"ed":"markup://ui:mouseout","n":"mouseout","xs":"G"},{"ed":"markup://ui:mouseover","n":"mouseover","xs":"G"},{"ed":"markup://ui:mouseup","n":"mouseup","xs":"G"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"span","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:outputGroupMemberCount","path":"v.class"}}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:label"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:outputGroupMemberCount","path":"v.value"}}}}}]},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:outputGroupMemberCount","path":"$Label.ChatterGroups.membersCount"}}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:label"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:outputGroupMemberCount","path":"v.value"}}}}}]},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:outputGroupMemberCount","path":"$Label.ChatterGroups.memberCount"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.eq(cmp.get(\"v.value\"),1)||fn.eq(cmp.get(\"v.value\"),\"1\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:outputGroupMemberCount","path":"v.value"}],"byValue":false}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:search",function(){/*$A.componentService.addComponentClass("markup://forceSearch:search",function(){return{meta:{name:"forceSearch$search","extends":"markup://forceSearch:searchPage",imports:{lib:"markup://forceSearch:searchLibrary"}},controller:{init:function(a,b,c){b=a.get("v.groupId");var d=a.get("v.term"),e=c.initScopeMap(a),f=c.lib.ctx.isDesktop();c.lib.cache.getStore(a);a.set("v.priv_globalSearchMode",c.lib.scope.isTopResults(e)||"FeedPost"===e.name&&!f);a.get("v.enableNavigation")?(c.initNavContainer(a),(!f||!$A.util.isEmpty(a.get("v.scopeSets")))&&
c.updateNavContainer(a,c.lib.event.SET_SCOPE)):c.initSearch(a);c.initViewportListeners(a);c.lib.event.fireCustom(b,"forceSearch:search:STATE_CHANGE",{state:"LOADED",page:a.getType(),cmpId:a.getGlobalId()});c.lib.event.fireSetTerm(b,d);c.initializeDataStore(a)},handleScopeChange:function(a,b,c){b=a.get("v.scope");var d={name:b};b||(d.type=c.lib.scope.TYPE.TOP_RESULTS);a.set("v.scopeMap",d)},handleSearchRequest:function(a,b,c){if(c.lib.event.isValid(b)&&a.get("v.priv_active")){var d=b.getParam("groupId");
if(!(d&&"DEFAULT"!==d)&&c.acceptingAppEvents(a,b))switch(b.getParam("type")){case c.lib.event.CANCEL:c.handleCancel(a);break;case c.lib.event.CLEAR:case c.lib.event.SET_TERM:c.handleSetTerm(a,b);break;case c.lib.event.SET_SCOPE:c.handleSetScope(a,b);c.updateNavContainer(a,c.lib.event.SET_SCOPE);break;case c.lib.event.SET_CONTEXT:b=b.getParam("scopeMap");c.lib.scope.scopeMapEmpty(b)||c.loadInit(a,b);c.updateNavContainer(a,c.lib.event.SET_CONTEXT);break;case c.lib.event.SEARCH:c.handleSearch(a,b);c.updateNavContainer(a,
c.lib.event.SEARCH);break;case c.lib.event.CUSTOM:b=c.lib.event.getEventData(b),"forceSearch:resultsFilters:FILTERED_SEARCH"===b.type&&(c.lib.ctx.clearEventId(a.get("v.context")),a.set("v.context.filterData",b.data),c.refresh(a))}}},search:function(a,b,c){b=b.getParam("arguments");var d=b.scopeMap||{};b.scope&&(d.name=b.scope);var e=a.get("v.groupId");c.lib.event.fireSetTerm(e,b.term);c.doSearch(a,{term:b.term,scopeMap:d,currentPage:1,sortBy:""})},resultRefreshedHandler:function(a,b,c){if(c.isShowingResults(a)){b=
b.getParams().data;var d=c.lib.scope.isTopResults(b.scopeMap),e=c.lib.scope.isTopResults(a.get("v.priv_resolvedScope"));c.toggleInlineSpinner(!1);a.set("v.priv_searchInProgress",!1);!d&&!e&&c.handleScopedResultsRefreshed(a,b);!b.wasSorted&&!e&&a.set("v.priv_focusResults",!0);a.getEvent("resultsLoaded").setParams({data:{results:b.records||[],scopeMap:a.get("v.priv_resolvedScope"),totalSize:b.totalSize,isTopResultsSource:d}}).fire();if(!b.isOverridenResults){if(!d||!e){d=null;try{d=a.find("listSorter").get("v.dataProvider")[0].get("v.sortBy")}catch(f){}$A.util.isEmpty(d)||
$A.endMark("sortedSearch:"+d);c.updateTotalSize(a,b.totalSize,b.moreResultsAvailable)}$A.get("$Browser.isDesktop")||c.showActionBar(a,!0)}}},sortMruListHandler:function(a,b,c){a.getGlobalId()===b.getParams().componentGlobalId&&a.find("listSorter").get("c.onOpen").run()},listSorterDataChangeHandler:function(a,b,c){b=b.getParams().data||{columns:[]};b.columns.unshift({fieldName:"",isSortable:!0,label:$A.get("$Label.AuraSearchUI.Relevancy")});a=a.find("listSorter");c=a.get("v.dataProvider")[0].get("v.sortBy");
var d=!0;/^-/.test(c)&&(c=c.substr(1),d=!1);a.get("v.defaultSelectedItems")?b.orderBy=[{ascending:d,fieldName:c}]:b.orderBy=[{ascending:!1,fieldName:""}]},sortHandler:function(a,b,c){b=b&&0<b.length?b[0]:null;var d="";b&&"-"!==b.sortBy&&(d=b.sortBy);d&&(c.lib.ctx.clearEventId(a.get("v.context")),c.doSearch(a,{term:a.get("v.term"),scope:a.get("v.priv_resolvedScope"),currentPage:1,sortBy:d}))},reflow:function(a,b,c){},toggleNavExpanded:function(a,b,c){b=a.get("v.priv_isNavExpanded");var d={action:b?
"collapse":"expand"};c.expandOrCollapseNav(a,!b);c.lib.logging.log(a,c.lib.interaction.SYNTHETIC_CLICK,"search-nav-container","search-nav-expand-toggle-button",d)},resultFailedHandler:function(a,b,c){c.toggleInlineSpinner(!1)},resultEndedHandler:function(a,b,c){c.toggleInlineSpinner(!1)},handleResultsFilterLoaded:function(a,b,c){c.updateFiltersSearchStatus(a)}},helper:{initScopeMap:function(a){var b=a.get("v.scopeMap")||{};if(this.lib.scope.scopeMapEmpty(b)){var c=a.get("v.scope");c?b.name=c:b.type=
this.lib.scope.TYPE.TOP_RESULTS}this.lib.scope.isTopResults(b)&&(b.resultsCmp=this.lib.scope.getResultsCmp(b));a.set("v.scopeMap",b);return b},initSearch:function(a){var b=a.get("v.scopeMap"),c=a.get("c.getResolvedScopeMap");c.setParams({scopeMap:b});c.setStorable();c.setCallback(this,function(b){"SUCCESS"===b.getState()&&(b=b.getReturnValue()||{},this.loadInit(a,b))});$A.enqueueAction(c)},initViewportListeners:function(a){var b=$A.getEvt("markup://ui:notify","content",a);b&&(b.setParams({payload:{viewportEnter:function(b,
d){this.notifyOnViewportEnter(a,d)}.bind(this),viewportExit:function(){this.notifyOnViewportExit(a)}.bind(this)}}),b.fire())},initNavContainer:function(a){this.lib.ctx.isDesktop()&&this.lib.scope.fieldEmpty(a.get("v.scopeMap.namespace"))&&(a.set("v.priv_enableResultsFilters",!0),this.updateNavDisplay(a))},updateNavContainer:function(a,b){if(b){var c=a.get("v.term"),d=a.get("v.scopeMap"),e=a.get("v.context"),f=a.find("scopes"),g=a.find("externalScopes");b===this.lib.event.SEARCH&&(e[this.lib.scope.ACTIVE_SCOPE_SET_TYPE]=
"");f&&f.update(b,c,d,e);g&&g.update(b,c,d,e);this.updateNavDisplay(a)}},updateNavDisplay:function(a){var b=a.get("v.priv_enableResultsFilters")&&this.lib.filters.isSupportedEntity(a.get("v.scopeMap"));a.set("v.priv_showResultsFilters",b);this.expandOrCollapseNav(a,!b)},expandOrCollapseNav:function(a,b){var c=a.find("scopes");if(c){if(b){if(a.get("v.priv_isNavExpanded"))return;c.expand()}else c.collapse([this.lib.scope.getTopResultsScopeMap(),a.get("v.scopeMap")]);a.set("v.priv_isNavExpanded",b)}},
loadInit:function(a,b){if(null==a.get("v.priv_initialScopeMap")){this.lib.scope.isTopResults(b)||a.set("v.priv_initialScopeMap",b);this.setCurrentScope(a,b);$A.get("$Browser.isDesktop")?this.showResults(a):(this.hideResults(a),this.updateMru(a));var c=a.get("v.term");c||(c=a.get("v.searchString")||"",a.set("v.term",c));c=c.trim();0<c.length?(this.doSearch(a,{term:c,scopeMap:b,currentPage:1},!1,!0),this.lib.cache.initCommonData(a,{term:c,scopeMap:b})):(this.refresh(a,!0,!1,!1,!0),a.get("v.suppressApplicationEvents")||
(c=a.get("v.groupId"),this.lib.event.fireClear(c)));a.getEvent("loaded").fire();this.lib.logging.logPerf(a,"initSearch","END",{scopeName:b.name})}},refresh:function(a,b,c,d){if(this.acceptingAppEvents(a)){if(this.isShowingResults(a)){var e=a.get("v.term"),f=a.get("v.priv_resolvedScope")||{};b=b?"":a.get("v.priv_sortBy");(e||!d)&&this.doSearch(a,{term:e,scopeMap:f,currentPage:1,sortBy:b},c)}else this.showActionBar(a,!1),c||this.toggleInlineSpinner(!0);$A.get("e.ui:updateSize").fire()}},doSearch:function(a,
b,c){if(this.isFreshSearch(a,b)){var d=b.term,e=b.scopeMap||a.get("v.priv_resolvedScope")||{},f=this.lib.scope.isTopResults(e),g=this.getFullContext(a,e.name);b=b.sortBy;g&&(!g.sortBy&&b)&&(g.sortBy=b);f||this.lib.logging.logPerf(a,"showResults","START",{term:d,scopeName:e.name});a.set("v.priv_focusResults",!1);this.showResults(a);var h=a.find("resultsRegion");$A.util.isEmpty(b)?this.resetSortingInfo(a):(h&&h.set("v.sortBy",b),$A.mark("sortedSearch:"+b));a.set("v.priv_showScopeSelector",!0);a.set("v.priv_searchInProgress",
!0);a.set("v.priv_max_totalSize",0);a.set("v.priv_max_moreResultsAvailable",!1);a.set("v.term",d);this.updateFiltersSearchStatus(a);this.showActionBar(a,!1);c||this.toggleInlineSpinner(!0);var k=this;setTimeout($A.getCallback(function(){h&&h.update(k.lib.event.SEARCH,d,e,g,"searchHelper")}),10)}},handleScopedResultsRefreshed:function(a,b){var c=b.searchLogInfo||{},d=b.filterData;this.endShowResultsTransaction(a,c,d);$A.util.isEmpty(d)&&(d=a.get("v.loggingContext")||{},d.unfilteredQueryId=c.queryId,
a.set("v.loggingContext",d));this.updateFiltersSearchStatus(a,c)},updateFiltersSearchStatus:function(a,b){var c=a.find("resultsFilters");if(c){var d=a.get("v.priv_searchInProgress");c.updateSearchStatus(d,b?{queryId:b.queryId}:{})}},handleSearch:function(a,b){var c=a.get("v.priv_resolvedScope")||{},d=b.getParam("scopeMap")||{};this.lib.scope.scopeMapEmpty(d)&&(d=c);var e=b.getParam("term");e&&a.set("v.term",e);var f=b.getParam("context")||{};a.set("v.context",this.lib.util.copy(f));c.name===d.name?
this.doSearch(a,{term:e,scopeMap:d,currentPage:1,sortBy:""}):(this.setCurrentScope(a,d),this.refresh(a,!0));this.setBrowserTitle(a)},handleSetTerm:function(a,b){a.set("v.term",b.getParam("term")||"");!$A.get("$Browser.isDesktop")&&this.isShowingResults(a)&&(this.toggleInlineSpinner(!1),this.showActionBar(a,!1),$A.get("e.ui:updateSize").fire(),this.hideResults(a),this.refresh(a))},handleCancel:function(a){a.set("v.term","");this.hideResults(a);if(!a.get("v.priv_globalSearchMode")){a.set("v.priv_showScopeSelector",
!1);a.set("v.context",{});var b=a.get("v.priv_initialScopeMap");this.setCurrentScope(a,b);var c=a.get("v.context")||{};this.lib.event.fireSetScope("DEFAULT",b,c)}this.refresh(a)},handleSetScope:function(a,b){var c=b.getParams(),d=c.context||{},c=c.scopeMap||{};this.lib.scope.scopeMapsEqual(a.get("v.scopeMap"),c)?d.filterData=a.get("v.context.filterData"):delete d.filterData;this.setCurrentScope(a,c);a.set("v.context",d);c=!0;if(d=d.sortBy)a.set("v.priv_sortBy",d),c=!1;this.refresh(a,c)},updateSearchContext:function(a,
b,c){!a.get("v.suppressApplicationEvents")&&!this.lib.scope.scopeMapEmpty(b)&&(a=this.lib.util.mergeMaps(c,{goBackOnCancel:a.get("v.priv_globalSearchMode")}),this.lib.event.fireSetContext("DEFAULT",b,a))},showActionBar:function(a,b){if(!a.get("v.suppressApplicationEvents")){var c=a.get("v.priv_resolvedScope")||{},d=c.name;if(!c.name||"ContentVersion"===d||"ContentDocument"===d)b=!1;b?(c={entityApiName:d,feedType:"MRU_LIST",listNameOrId:a.getGlobalId()},a.set("v.globalPublisherContext",c),$A.get("e.force:updateMDP").setParams(c).fire()):
(a.set("v.globalPublisherContext",null),$A.get("e.force:updateMDPVisibility").setParams({show:!1}).fire())}},resetSortingInfo:function(a){a.set("v.priv_sortBy","");var b=a.find("resultsRegion");b&&b.set("v.sortBy","");if(a=a.find("listSorter"))if(b=a.get("v.dataProvider"))b[0].set("v.sortBy",""),a.set("v.defaultSelectedItems",""),a.get("c.refresh").run()},setCurrentScope:function(a,b){a.set("v.priv_resolvedScope",b);a.set("v.scopeMap",b)},updateTotalSize:function(a,b,c){var d=a.get("v.priv_max_totalSize");
b>d&&(a.set("v.priv_max_totalSize",b),a.set("v.priv_max_moreResultsAvailable",c))},checkContainerDisplay:function(a){var b=a.find("navContainer"),c=a.find("scopes");b&&c&&(!this.lib.ctx.isDesktop()||a.get("v.useRibbon")?a.set("v.class","slds-grid_vertical"):a.set("v.class",""))},focusResults:function(a){if(a.get("v.priv_focusResults")&&$A.util.isUndefinedOrNull(a.get("v.context.filterData"))){var b=a.find("resultsWrapper");b&&b.getElement()&&(b.getElement().focus(),a.set("v.priv_focusResults",!1),
window.scrollTo(0,0))}},updateMru:function(a){if(!a.get("v.enableNavigation")||!a.isRendered()){var b=this,c=a.find("mruContainer"),d=$A.getCallback(function(){c&&c.update(b.lib.event.SET_SCOPE,a.get("v.term"),a.get("v.scopeMap"),a.get("v.context"))});setTimeout(d,10)}},setBrowserTitle:function(a){if($A.get("$Browser.isDesktop")&&!a.get("v.isLookupSearch")){var b=a.get("v.term"),b=b?$A.get("$Label.LightningSearchUI.SearchResultsBrowserTitleWithTerm").replace("{0}",b):$A.get("$Label.LightningSearchUI.SearchResultsBrowserTitle");
a.getEvent("windowUpdate").setParams({title:b,icon:"standard:search"}).fire()}},hideResults:function(a){a.set("v.priv_topResultsView",!1);a.set("v.priv_resultsView",!1);var b=a.find("resultsRegion");b&&b.set("v.visible",!1);a.getEvent("resultsVisibilityChanged").fire({visible:!1})},showResults:function(a){var b=a.get("v.priv_resolvedScope"),b=this.lib.scope.isTopResults(b);a.set("v.priv_topResultsView",b);a.set("v.priv_resultsView",!b);(b=a.find("resultsRegion"))&&b.set("v.visible",!0);a.getEvent("resultsVisibilityChanged").fire({visible:!0})},
isShowingResults:function(a){var b=a.find("resultsRegion");return a.get("v.priv_topResultsView")||a.get("v.priv_resultsView")||b&&b.get("v.visible")},acceptingAppEvents:function(a,b){var c=a.get("v.suppressApplicationEvents");if(!(void 0===c||!0===c)){if(b){var d=b.getParam("scopeMap")||{};this.lib.scope.scopeMapEmpty(d)||(c=(a.get("v.scopeMap")||{}).namespace,d=d.namespace,(c||d)&&c!==d&&a.set("v.priv_active",!1))}return a.get("v.priv_active")}},getFullContext:function(a,b){var c=a.get("v.persistedContextParams")||
{};b&&(c=c[b]);var d=a.get("v.context");return this.lib.util.mergeMaps(d,c)},notifyOnViewportEnter:function(a,b){var c=a.get("v.groupId");if(void 0!==c)if(this.lib.event.fireCustom(c,"forceSearch:search:STATE_CHANGE",{state:"ENTERED",page:a.getType(),cmpId:a.getGlobalId()}),b)a.get("v.priv_active")||a.set("v.priv_active",!0,!0);else{var d=a.get("v.term"),e=a.get("v.priv_resolvedScope")||{},f=this.getFullContext(a,e.name);this.setBrowserTitle(a);this.updateSearchContext(a,e,f);this.lib.event.fireSetTerm(c,
d);if(!a.get("v.priv_active")){a.set("v.priv_active",!0,!0);if(!d&&(c=a.get("v.priv_lastSearch"))&&c.params)d=c.params.term,a.set("v.term",d);var g=a.find("resultsRegionContainer"),h=a.find("mruContainer"),k=a.find("scopesContainer"),c=$A.getCallback(function(){k&&k.update(this.lib.event.SET_SCOPE,d,e,f);h&&h.update(this.lib.event.SET_SCOPE,d,e,f);g&&g.update(this.lib.event.SEARCH,d,e,f)}.bind(this));setTimeout(c,10)}}},notifyOnViewportExit:function(a){this.handleExit(a)}},renderer:{render:function(a,
b){var c=a.superRender();b.lib.util.isMobile()&&a.set("v.priv_isMobile",!0);b.checkContainerDisplay(a);b.focusResults(a);return c},rerender:function(a,b){a.superRerender();b.checkContainerDisplay(a);b.focusResults(a)},afterRender:function(a,b){a.superAfterRender();b.setBrowserTitle(a)}}}});return {"xs":"I","descriptor":"markup://forceSearch:search","st":{"descriptor":"css://forceSearch.search","cl":"forceSearchSearch"},"cd":{"descriptor":"compound://forceSearch.search","ac":[{"n":"getScopeHeaderActions","descriptor":"serviceComponent://ui.search.components.forcesearch.search.SearchController/ACTION$getScopeHeaderActions","at":"SERVER","rt":"java://java.util.List","pa":[{"name":"scopeName","type":"java://java.lang.String"}]},{"n":"getResolvedScopeMap","descriptor":"serviceComponent://ui.search.components.forcesearch.search.SearchController/ACTION$getResolvedScopeMap","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"scopeMap","type":"java://java.util.Map<java.lang.String,java.lang.String>"}]}]},"su":"markup://forceSearch:searchPage","ad":[["body","aura://Aura.Component[]","G",false,[]],["shouldFocus","aura://Boolean","I",false,false],["groupId","aura://String","I",true,"DEFAULT"],["updateChildren","aura://Boolean","I",true,true],["updateOnlyIfActive","aura://Boolean","I",true,true],["priv_valueProviderReady","aura://Boolean","I",false,false],["initialTerm","aura://String","I",false],["initialScopeMap","aura://Map","I",false,null],["initialContext","aura://Map","I",false,null],["inContextOfComponent","aura://String","I",false,"forceSearch:search"],["term","aura://String","I",true,""],["scopeMap","aura://Map","I",true,{}],["context","aura://Map","I",true,{}],["loggingContext","aura://Map","I",true,{}],["searchShowLauncher","aura://Boolean","I",false,true],["searchActive","aura://Boolean","I",false,false],["canRefresh","aura://Boolean","PP",false],["priv_active","aura://Boolean","I",false,true],["priv_resolvedScope","aura://Map","I",false,{}],["priv_lastSearch","aura://Object","I",false,"{}"],["priv_minTimeBeforeRefresh","aura://Integer","I",false,1000],["impl","aura://String","I",false],["scopeSets","aura://Map","I",false,{}],["useRibbon","aura://Boolean","I",false,false],["allowChatterResults","aura://Boolean","I",false,true],["globalPublisherContext","aura://Object","I",false,null],["scrollerEnabled","aura://Boolean","I",false,true],["scrollerInfiniteLoading","aura://Boolean","I",false,true],["scrollerUseNativeScroller","aura://Boolean","I",false,true],["scrollerPreventNestedScroll","aura://Boolean","I",false,false],["scrollerUseCSSTransition","aura://Boolean","I",false,false],["scrollerClass","aura://String","I",false,""],["scrollerScroll","aura://String","I",false,""],["scrollerCanRefresh","aura://Boolean","I",false,false],["scrollerOverrides","aura://Map","I",false,{}],["windowViewMode","aura://String","I",false,"normal"],["ignoreExistingAction","aura://Boolean","I",false],["suppressApplicationEvents","aura://Boolean","I",false,false],["enableScroller","aura://Boolean","I",false,true],["enableNavigation","aura://Boolean","I",false,true],["inContextOfComponentForGrid","aura://String","I",false],["maxMRUItems","aura://Integer","I",true,200],["maxMRUItemsVisible","aura://Integer","I",true,50],["maxMRUListViews","aura://Integer","I",true,200],["maxMRUListViewsVisible","aura://Integer","I",true,4],["class","aura://String","G",false],["enableRowActions","aura://Boolean","I",false,true],["persistedContextParams","aura://Map","I",false,{}],["resultsLayoutType","aura://String","I",false,"grid"],["scope","aura://String","I",false],["searchString","aura://String","I",false,""],["isLookupSearch","aura://Boolean","I",false,false],["lookupSource","aura://String","I",false],["lookupField","aura://String","I",false],["lookupRecordId","aura://String","I",false],["lookupContextId","aura://String","I",false],["lookupAdditionalFields","aura://List","I",false,[]],["lookupDependentFieldBindings","aura://Map","I",false,{}],["lookupAdditionalContext","aura://Map","I",false,null],["insideScroller","aura://Boolean","I",false,false],["priv_chatterMemberCountPreload","aura://String","I",false,{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:search","path":"$Label.ChatterGroups.memberCount"}],["priv_focusResults","aura://Boolean","I",false,false],["priv_globalSearchMode","aura://Boolean","I",false,false],["priv_max_moreResultsAvailable","aura://Boolean","I",false,false],["priv_max_totalSize","aura://Integer","I",false,0],["priv_resultsView","aura://Boolean","I",false,false],["priv_searchInProgress","aura://Boolean","I",false,false],["priv_showScopeSelector","aura://Boolean","I",false,false],["priv_sortBy","aura://String","I",false,""],["priv_sortByLabel","aura://String","I",false,""],["priv_topResultsView","aura://Boolean","I",false,false],["priv_initialScopeMap","aura://Map","I",false,null],["priv_enableResultsFilters","aura://Boolean","I",false,false],["priv_showResultsFilters","aura://Boolean","I",false,false],["priv_isNavExpanded","aura://Boolean","I",false,true],["priv_resultsFiltersCmp","aura://Aura.Component","I",false,null],["priv_isMobile","aura://Boolean","p",false,false]],"med":[{"name":"forceSearch:update","xs":"I","action":"{!c.update}","attributes":[["type","aura://String","I",false],["term","aura://String","I",false],["scopeMap","aura://Map","I",false,null],["context","aura://Map","I",false,null],["sourceId","aura://String","I",false]]},{"name":"force:reflow","xs":"I","action":"{!c.reflow}"},{"name":"forceSearch:search","xs":"I","action":"{!c.search}","attributes":[["term","aura://String","I",false],["scopeMap","aura://Map","I",false,"{}"],["scope","aura://String","I",false],["context","aura://Map","I",false,"{}"]]}],"i":["markup://force:layoutRegionTopEmbeddable","markup://force:hasGlobalPublisherContext","markup://force:fullViewportWidth","markup://forceSearch:hasGroupId","markup://forceSearch:resultsScrollerInterface","markup://force:window","markup://force:hasStorableSupport","markup://force:objectHomeRecordChangeEmitter"],"re":[{"ed":"markup://force:searchRequest","n":"searchRequest","xs":"I"},{"ed":"markup://ui:refresh","n":"refresh","xs":"I"},{"ed":"markup://force:windowUpdate","n":"windowUpdate","xs":"I"},{"ed":"markup://ui:response","n":"loaded","xs":"I"},{"ed":"markup://ui:dataChanged","n":"resultsLoaded","xs":"I"},{"ed":"markup://forceSearch:resultsVisibilityChanged","n":"resultsVisibilityChanged","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.destroy"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"destroy"},{"ed":{"descriptor":"markup://force:searchRequest"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleSearchRequest"}},{"ed":{"descriptor":"markup://force:sortMruList"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.sortMruListHandler"}},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleScopeChange"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.scope"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleRefresh"},"n":"refresh"},{"ed":{"descriptor":"markup://ui:load"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleResultsFilterLoaded"},"n":"resultsFilterLoaded"}],"ld":{"*":{"alias":"search-nav-container"},"scopes":{"alias":"search-scopes-container"}},"fa":[{"descriptor":"searchActive","value":true},{"descriptor":"searchShowLauncher","value":false},{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"navContainer","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"navContainer slds-scrollable--y slds-p-vertical--x-small"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceSearch:groupContainer"},"localId":"scopesContainer","attributes":{"values":{"initialTerm":{"descriptor":"initialTerm","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.term"}},"groupId":{"descriptor":"groupId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.groupId"}},"initialScopeMap":{"descriptor":"initialScopeMap","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.scopeMap"}},"name":{"descriptor":"name","value":"forceSearch:search:scopes"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"scopesWrapper","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"aria-label":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:search","path":"$Label.LightningSearchUI.SearchResultsByObject"}}},"tag":{"descriptor":"tag","value":"nav"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceSearch:scopes"},"localId":"scopes","attributes":{"values":{"initialTerm":{"descriptor":"initialTerm","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.term"}},"visible":{"descriptor":"visible","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return ((cmp.get(\"v.priv_globalSearchMode\")||cmp.get(\"v.priv_showScopeSelector\"))||(fn.eq(cmp.get(\"v.scopeMap.name\"),\"FeedPost\")&&!($A.get(\"$Browser.isDesktop\"))));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.priv_globalSearchMode"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.scopeMap.name"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"$Browser.isDesktop"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.priv_showScopeSelector"}],"byValue":false}},"enableMoreScopes":{"descriptor":"enableMoreScopes","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (!((cmp.get(\"v.scopeSets.DEFAULT\")&&(cmp.get(\"v.scopeSets.DEFAULT.length\")>0)))&&$A.get(\"$Browser.isDesktop\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"$Browser.isDesktop"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.scopeSets.DEFAULT"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.scopeSets.DEFAULT.length"}],"byValue":false}},"groupId":{"descriptor":"groupId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.groupId"}},"initialScopeMap":{"descriptor":"initialScopeMap","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.scopeMap"}},"title":{"descriptor":"title","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:search","path":"$Label.LightningSearchUI.SearchResults"}},"scopeSets":{"descriptor":"scopeSets","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:search","path":"v.scopeSets"}},"useRibbon":{"descriptor":"useRibbon","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.useRibbon"}},"initialContext":{"descriptor":"initialContext","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.context"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceSearch:scopes"},"localId":"externalScopes","attributes":{"values":{"impl":{"descriptor":"impl","value":"runtime_search_federated:externalScopes"},"initialTerm":{"descriptor":"initialTerm","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.term"}},"visible":{"descriptor":"visible","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.priv_isNavExpanded\")&&((cmp.get(\"v.priv_globalSearchMode\")||cmp.get(\"v.priv_showScopeSelector\"))||(fn.eq(cmp.get(\"v.scopeMap.name\"),\"FeedPost\")&&!($A.get(\"$Browser.isDesktop\")))));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.priv_globalSearchMode"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.scopeMap.name"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.priv_isNavExpanded"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"$Browser.isDesktop"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.priv_showScopeSelector"}],"byValue":false}},"enableMoreScopes":{"descriptor":"enableMoreScopes","value":false},"groupId":{"descriptor":"groupId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.groupId"}},"initialScopeMap":{"descriptor":"initialScopeMap","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.scopeMap"}},"title":{"descriptor":"title","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:search","path":"$Label.LightningSearchUI.ExternalResults"}},"useRibbon":{"descriptor":"useRibbon","value":false},"initialContext":{"descriptor":"initialContext","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.context"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.eq(cmp.get(\"v.scopeMap.namespace\"),cmp.get(\"undefined\"))||fn.eq(cmp.get(\"v.scopeMap.namespace\"),\"\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.scopeMap.namespace"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"undefined"}],"byValue":false}}}}}]}}}}]}}}}]},"initialContext":{"descriptor":"initialContext","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.context"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:button"},"attributes":{"values":{"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"c.toggleNavExpanded"}},"variant":{"descriptor":"variant","value":"base"},"label":{"descriptor":"label","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.priv_isNavExpanded\")?$A.get(\"$Label.LightningSearchUI.CollapseList\"):$A.get(\"$Label.LightningSearchUI.ExpandList\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"$Label.LightningSearchUI.CollapseList"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"$Label.LightningSearchUI.ExpandList"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.priv_isNavExpanded"}],"byValue":false}},"class":{"descriptor":"class","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.priv_showResultsFilters\")?\"navExpandToggle slds-button_reset slds-text-link slds-nav-vertical__action slds-nav-vertical__action_overflow slds-m-left_xx-small\":\"slds-hide\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.priv_showResultsFilters"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.priv_showResultsFilters\")?\"filterSeparator slds-m-top_medium slds-m-horizontal_medium slds-m-bottom_small\":\"slds-hide\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.priv_showResultsFilters"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"}}}},{"componentDef":{"descriptor":"markup://forceSearch:groupContainer"},"localId":"filtersContainer","attributes":{"values":{"initialTerm":{"descriptor":"initialTerm","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.term"}},"groupId":{"descriptor":"groupId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.groupId"}},"initialScopeMap":{"descriptor":"initialScopeMap","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.scopeMap"}},"name":{"descriptor":"name","value":"forceSearch:search:filters"},"updateOnlyIfActive":{"descriptor":"updateOnlyIfActive","value":false},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceSearch:resultsFilters"},"localId":"resultsFilters","attributes":{"values":{"initialTerm":{"descriptor":"initialTerm","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.term"}},"initialScopeMap":{"descriptor":"initialScopeMap","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.scopeMap"}},"initialContext":{"descriptor":"initialContext","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.context"}}}}}]},"initialContext":{"descriptor":"initialContext","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.context"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.priv_enableResultsFilters"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.enableNavigation"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"content","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.priv_topResultsView\")?\"topResultsWrapper\":\"searchScrollerWrapper\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.priv_topResultsView"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-assistive-text"}},"tag":{"descriptor":"tag","value":"h1"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:label"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.scopeMap.labelPlural"}}}}}]},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:search","path":"$Label.LightningSearchUI.ScopedResults"}}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:label"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:search","path":"$Label.LightningSearchUI.ScopeRibbonTopResultsItem"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.priv_topResultsView"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(cmp.get(\"v.priv_isMobile\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.priv_isMobile"}],"byValue":false}}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-assistive-text"}},"tag":{"descriptor":"tag","value":"h2"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:label"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.scopeMap.labelPlural"}}}}}]},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:search","path":"$Label.LightningSearchUI.ScopedResults"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.isLookupSearch"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceSearch:groupContainer"},"localId":"mruContainer","attributes":{"values":{"initialTerm":{"descriptor":"initialTerm","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.term"}},"groupId":{"descriptor":"groupId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.groupId"}},"initialScopeMap":{"descriptor":"initialScopeMap","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.scopeMap"}},"name":{"descriptor":"name","value":"forceSearch:search:mru"},"updateOnlyIfActive":{"descriptor":"updateOnlyIfActive","value":false},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceSearch:mru"},"localId":"searchMru","attributes":{"values":{"enableScroller":{"descriptor":"enableScroller","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.enableScroller"}},"initialTerm":{"descriptor":"initialTerm","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.term"}},"maxItemsVisible":{"descriptor":"maxItemsVisible","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:search","path":"v.maxMRUItemsVisible"}},"visible":{"descriptor":"visible","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !((cmp.get(\"v.priv_resultsView\")||cmp.get(\"v.priv_topResultsView\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.priv_topResultsView"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.priv_resultsView"}],"byValue":false}},"groupId":{"descriptor":"groupId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.groupId"}},"initialScopeMap":{"descriptor":"initialScopeMap","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return ($A.get(\"$Browser.isPhone\")?null:cmp.get(\"v.scopeMap\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.scopeMap"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"$Browser.isPhone"}],"byValue":false}},"maxListViewsVisible":{"descriptor":"maxListViewsVisible","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:search","path":"v.maxMRUListViewsVisible"}},"updateOnlyIfActive":{"descriptor":"updateOnlyIfActive","value":false},"scopeSets":{"descriptor":"scopeSets","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:search","path":"v.scopeSets"}},"maxItems":{"descriptor":"maxItems","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:search","path":"v.maxMRUItems"}},"maxListViews":{"descriptor":"maxListViews","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:search","path":"v.maxMRUListViews"}},"initialContext":{"descriptor":"initialContext","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.context"}}}}}]},"initialContext":{"descriptor":"initialContext","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.context"}}}}},{"componentDef":{"descriptor":"markup://ui:listSorter"},"localId":"listSorter","attributes":{"values":{"rowVar":{"descriptor":"rowVar","value":"item"},"applyLabel":{"descriptor":"applyLabel","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:search","path":"$Label.ProjectOne_FilterList.SorterApplyLabel"}},"rowDef":{"descriptor":"rowDef","value":[{"componentDef":{"descriptor":"markup://force:sortFilterMenuItem"},"attributes":{"values":{"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:search","path":"item.label"}},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:search","path":"item.fieldName"}},"disableToggle":{"descriptor":"disableToggle","value":{"__relevancy__":true}},"ascLabel":{"descriptor":"ascLabel","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:search","path":"$Label.ProjectOne_FilterList.SorterAscDefault"}},"descLabel":{"descriptor":"descLabel","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:search","path":"$Label.ProjectOne_FilterList.SorterDescDefault"}}}}}]},"onApply":{"descriptor":"onApply","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"c.sortHandler"}},"cancelLabel":{"descriptor":"cancelLabel","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:search","path":"$Label.ProjectOne_FilterList.SorterCancelLabel"}},"title":{"descriptor":"title","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:search","path":"$Label.ProjectOne_FilterList.SorterTitle"}},"dataProvider":{"descriptor":"dataProvider","value":[{"componentDef":{"descriptor":"markup://force:listSorterDataProvider"},"localId":"sorterDataProvider","attributes":{"values":{"entityName":{"descriptor":"entityName","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.priv_resolvedScope.name"}},"onchange":{"descriptor":"onchange","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"c.listSorterDataChangeHandler"}},"layoutType":{"descriptor":"layoutType","value":"SEARCH"}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.priv_isMobile"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"resultsWrapper","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"tabindex":"-1","class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(fn.add(\"resultsWrapper \",(cmp.get(\"v.isLookupSearch\")?\"\":\"slds-template__content\")),\" slds-scrollable--y\");}","args":[{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:search","path":"v.isLookupSearch"}],"byValue":true}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceSearch:groupContainer"},"localId":"resultsRegionContainer","attributes":{"values":{"initialTerm":{"descriptor":"initialTerm","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.term"}},"groupId":{"descriptor":"groupId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.groupId"}},"initialScopeMap":{"descriptor":"initialScopeMap","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.scopeMap"}},"name":{"descriptor":"name","value":"forceSearch:search:resultsRegion"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceSearch:resultsRegion"},"localId":"resultsRegion","attributes":{"values":{"lookupAdditionalContext":{"descriptor":"lookupAdditionalContext","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.lookupAdditionalContext"}},"lookupContextId":{"descriptor":"lookupContextId","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:search","path":"v.lookupContextId"}},"scrollerPreventNestedScroll":{"descriptor":"scrollerPreventNestedScroll","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:search","path":"v.scrollerPreventNestedScroll"}},"refreshed":{"descriptor":"refreshed","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"c.resultRefreshedHandler"}},"lookupField":{"descriptor":"lookupField","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:search","path":"v.lookupField"}},"updateChildren":{"descriptor":"updateChildren","value":false},"lookupAdditionalFields":{"descriptor":"lookupAdditionalFields","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.lookupAdditionalFields"}},"groupId":{"descriptor":"groupId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.groupId"}},"updateOnlyIfActive":{"descriptor":"updateOnlyIfActive","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:search","path":"$Browser.isDesktop"}},"failed":{"descriptor":"failed","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"c.resultFailedHandler"}},"lookupDependentFieldBindings":{"descriptor":"lookupDependentFieldBindings","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.lookupDependentFieldBindings"}},"inContextOfComponentForGrid":{"descriptor":"inContextOfComponentForGrid","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.inContextOfComponentForGrid"}},"isLookupSearch":{"descriptor":"isLookupSearch","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:search","path":"v.isLookupSearch"}},"inContextOfComponent":{"descriptor":"inContextOfComponent","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.inContextOfComponent"}},"lookupSource":{"descriptor":"lookupSource","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:search","path":"v.lookupSource"}},"ended":{"descriptor":"ended","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"c.resultEndedHandler"}},"enableRowActions":{"descriptor":"enableRowActions","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:search","path":"v.enableRowActions"}},"lookupRecordId":{"descriptor":"lookupRecordId","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:search","path":"v.lookupRecordId"}}}}}]},"initialContext":{"descriptor":"initialContext","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:search","path":"v.context"}}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:recommendationSingleCard",function(){/*$A.componentService.addComponentClass("markup://forceChatter:recommendationSingleCard",function(){return{meta:{name:"forceChatter$recommendationSingleCard","extends":"markup://aura:component"},controller:{onRejected:function(c,a,b){a=a.getParam("recommendation");a=a.entity.idOrEnum||a.entity.id;if((b=c.get("v.recommendation"))&&(b.entity.idOrEnum===a||b.entity.id===a))a=c.getEvent("noMoreRec"),a.fire()}},helper:{logEvent:function(c,a){var b=c.find("recommendation");b.helper.logEvent(b,a)}}}});return {"xs":"I","descriptor":"markup://forceChatter:recommendationSingleCard","ad":[["body","aura://Aura.Component[]","G",false,[]],["recommendation","aura://Object","I",false,null],["endPoint","aura://String","I",true],["channel","aura://String","I",true]],"re":[{"ed":"markup://ui:dataChanged","n":"noMoreRec","xs":"I"}],"hd":[{"ed":{"descriptor":"markup://forceChatter:recommendationRejected"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onRejected"}}],"ld":{"recommendation":{}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://forceChatter:recommendationBig"},"localId":"recommendation","attributes":{"values":{"item":{"descriptor":"item","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationSingleCard","path":"v.recommendation"}},"endPoint":{"descriptor":"endPoint","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationSingleCard","path":"v.endPoint"}},"channel":{"descriptor":"channel","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationSingleCard","path":"v.channel"}}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:recommendationSmall"},"localId":"recommendation","attributes":{"values":{"item":{"descriptor":"item","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationSingleCard","path":"v.recommendation"}},"endPoint":{"descriptor":"endPoint","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationSingleCard","path":"v.endPoint"}},"channel":{"descriptor":"channel","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationSingleCard","path":"v.channel"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq(cmp.get(\"v.recommendation.recommendationType\"),\"groups\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationSingleCard","path":"v.recommendation.recommendationType"}],"byValue":false}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.ne(cmp.get(\"v.recommendation\"),null);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationSingleCard","path":"v.recommendation"}],"byValue":false}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:searchFor",function(){/*$A.componentService.addComponentClass("markup://forceSearch:searchFor",function(){return{meta:{name:"forceSearch$searchFor","extends":"markup://forceSearch:baseSearch",imports:{lib:"markup://forceSearch:searchLibrary"}},controller:{init:function(a,c,b){b.updateMessage(a)},handleValueChange:function(a,c,b){b.updateMessage(a,c)},fireSearchRequest:function(a,c,b){b.fireSearch(a)}},helper:{updateMessage:function(a){var c=a.get("v.term"),b=a.get("v.searchForMsg"),b=b.replace("{0}",c),b=b.replace("{1}",
a.get("v.scopeMap").labelPlural);a.set("v.message",b);this.lib.util.isValidSearchString(c)?$A.util.removeClass(a,"slds-hide"):$A.util.addClass(a,"slds-hide")}}}});return {"xs":"I","descriptor":"markup://forceSearch:searchFor","st":{"descriptor":"css://forceSearch.searchFor","cl":"forceSearchSearchFor"},"su":"markup://forceSearch:baseSearch","ad":[["body","aura://Aura.Component[]","G",false,[]],["shouldFocus","aura://Boolean","I",false,false],["groupId","aura://String","I",true,"DEFAULT"],["updateChildren","aura://Boolean","I",true,true],["updateOnlyIfActive","aura://Boolean","I",true,true],["priv_valueProviderReady","aura://Boolean","I",false,false],["initialTerm","aura://String","I",false],["initialScopeMap","aura://Map","I",false,null],["initialContext","aura://Map","I",false,null],["inContextOfComponent","aura://String","I",false,"forceSearch:search"],["term","aura://String","I",true,""],["scopeMap","aura://Map","I",true,{}],["context","aura://Map","I",true,{}],["loggingContext","aura://Map","I",true,{}],["class","aura://String","I",false],["searchForMsg","aura://String","I",false,{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchFor","path":"$Label.AuraSearchUI.SearchForInObject"}],["message","aura://String","I",false,""]],"med":[{"name":"forceSearch:update","xs":"I","action":"{!c.update}","attributes":[["type","aura://String","I",false],["term","aura://String","I",false],["scopeMap","aura://Map","I",false,null],["context","aura://Map","I",false,null],["sourceId","aura://String","I",false]]}],"re":[{"ed":"markup://force:searchRequest","n":"searchRequest","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleValueChange"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.term"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleValueChange"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.scopeMap"},"n":"change"}],"ld":{"searchFor":{"context":{"method":"click","scopeName":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.ne(cmp.get(\"v.scopeMap\"),null)?cmp.get(\"v.scopeMap.name\"):\"\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchFor","path":"v.scopeMap"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchFor","path":"v.scopeMap.name"}],"byValue":false}},"alias":"search-mru-action-item"}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"container","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchFor","path":"v.class"}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"searchFor","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onclick":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchFor","path":"c.fireSearchRequest"},"class":"link slds-truncate"}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:icon"},"attributes":{"values":{"alt":{"descriptor":"alt","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchFor","path":"$Label.AuraSearchUI.LauncherHandle"}},"class":{"descriptor":"class","value":"slds-m-right--medium"},"key":{"descriptor":"key","value":"search"}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"displayedMsg","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"label"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchFor","path":"v.message"}}}}}]}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:clumpHeader",function(){/*$A.componentService.addComponentClass("markup://forceChatter:clumpHeader",function() {
return {
  "meta":{
    "name":"forceChatter$clumpHeader",
    "extends":"markup://aura:component"
  }
};
});
return {"xs":"I","descriptor":"markup://forceChatter:clumpHeader","st":{"descriptor":"css://forceChatter.clumpHeader","cl":"forceChatterClumpHeader"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["showSubPreamble","aura://Boolean","I",false,false],["subjectId","aura://String","I",false],["parent","aura://Object","I",false,null],["header","aura://Object","I",false,null],["createdDate","aura://String","I",false]],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-clumpHeader cuf-media"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-media-box"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-media-left"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:entityIcon"},"attributes":{"values":{"color":{"descriptor":"color","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpHeader","path":"v.parent.motif.color"}},"icon":{"descriptor":"icon","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpHeader","path":"v.parent.motif.mediumIconUrl"}},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpHeader","path":"v.parent.type"}},"class":{"descriptor":"class","value":"cuf-clumpIcon"}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.ne(cmp.get(\"v.parent.id\"),cmp.get(\"v.subjectId\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpHeader","path":"v.parent.id"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpHeader","path":"v.subjectId"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-media-main"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-preamble"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:label"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpHeader","path":"$Label.Feeds.ThisRecordWasUpdated"}}}}}]}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:preamble"},"attributes":{"values":{"data":{"descriptor":"data","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpHeader","path":"v.header"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.ne(cmp.get(\"v.parent.id\"),cmp.get(\"v.subjectId\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpHeader","path":"v.parent.id"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpHeader","path":"v.subjectId"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-subPreamble"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:outputText"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpHeader","path":"v.createdDate"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpHeader","path":"v.showSubPreamble"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpHeader","path":"v.body"}}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://force:relatedListPreviewGrid",function(){/*$A.componentService.addComponentClass("markup://force:relatedListPreviewGrid",function(){return{meta:{name:"force$relatedListPreviewGrid","extends":"markup://force:baseListView",imports:{relatedListsDataManagerLib:"markup://force:relatedListsDataManagerLibrary"}},controller:{init:function(a,b,c){b=a.get("v.dataProvider");$A.util.isArray(b)&&!$A.util.isUndefinedOrNull(b[0])&&b[0].addHandler("onchange",a,"c.dataChange");a.getSuper().reload();c.setSLDSTableClasses(a)},dataChange:function(a,b,c){b=b.getParam("data");
c.handleDataChanged(a,b)}},helper:{getRecordLayoutActionParams:function(a){return{entityName:a.get("v.scope"),type:a.get("v.layoutType"),layoutOverride:a.get("v.filterName"),inContextOfRecordId:a.get("v.parentRecordId")}},handleDataChanged:function(a,b){if(a&&a.isValid&&a.isValid()){var c=!1;a._internalCopyOfRecords?this.relatedListsDataManagerLib.relatedListsDataManager.utilMethods.recordsAreDifferent(a._internalCopyOfRecords,b)&&(c=!0):c=!0;c&&(a._internalCopyOfRecords=JSON.parse(JSON.stringify(b)),
this.setData(a.getSuper(),b))}},setSLDSTableClasses:function(a){var b;b="slds-table slds-no-row-hover slds-table_cell-buffer"+("SMALL"===a.get("v.width")?"":" slds-table_fixed-layout");a.set("v.tableClass",b)}}}});return {"xs":"PP","descriptor":"markup://force:relatedListPreviewGrid","st":{"descriptor":"css://force.relatedListPreviewGrid","cl":"forceRelatedListPreviewGrid"},"cd":{"descriptor":"compound://force.relatedListPreviewGrid","ac":[{"n":"getUpdatedRecord","descriptor":"serviceComponent://ui.force.components.controllers.lists.baseListView.BaseListViewController/ACTION$getUpdatedRecord","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"scope","type":"java://java.lang.String"},{"name":"recordId","type":"java://java.lang.String"},{"name":"layoutType","type":"java://java.lang.String"},{"name":"listName","type":"java://java.lang.String"}]},{"n":"updateSortOrderAction","descriptor":"serviceComponent://ui.force.components.controllers.lists.baseListView.BaseListViewController/ACTION$updateSortOrderAction","at":"SERVER","rt":"java://void","pa":[{"name":"sortBy","type":"java://java.lang.String"},{"name":"filterName","type":"java://java.lang.String"},{"name":"scope","type":"java://java.lang.String"}]},{"n":"getRecordLayoutComponent","descriptor":"serviceComponent://ui.force.components.controllers.lists.baseListView.BaseListViewController/ACTION$getRecordLayoutComponent","at":"SERVER","rt":"java://ui.force.components.controllers.lists.baseListView.BaseListViewController$BaseListViewRecordLayoutResponse","pa":[{"name":"attributeMap","type":"java://java.util.Map<java.lang.String,java.lang.Object>"}]},{"n":"updateColumnWidth","descriptor":"serviceComponent://ui.force.components.controllers.lists.baseListView.BaseListViewController/ACTION$updateColumnWidth","at":"SERVER","rt":"java://void","pa":[{"name":"widths","type":"java://java.lang.String"},{"name":"filterName","type":"java://java.lang.String"},{"name":"scope","type":"java://java.lang.String"}]}]},"su":"markup://force:baseListView","ad":[["body","aura://Aura.Component[]","G",false,[]],["scope","aura://String","I",false],["scopeIcon","aura://String","I",false],["scopeColor","aura://String","I",false],["scopeLabel","aura://String","I",false],["scopeLabelSingular","aura://String","I",false],["class","aura://String","G",false],["dir","aura://String","I",false,"ltr"],["namespaceOverride","aura://String","I",false],["actionable","aura://Boolean","I",false,true],["role","aura://String","I",false],["ariaDescribedBy","aura://String","PP",false,""],["value","aura://Object","PP",false,null],["visible","aura://Boolean","I",false,true],["entityName","aura://String","I",false],["filterName","aura://String","I",false],["filterTitle","aura://String","I",false],["dataProvider","aura://Aura.Component[]","PP",false,[]],["emptyContent","aura://Aura.Component[]","I",false,[]],["selectionHeader","aura://Aura.Component[]","I",false,[]],["selectionColumn","aura://Aura.ComponentDefRef[]","I",false,[]],["selectionColumnPosition","aura://String","I",false,"right"],["useStaticLayout","aura://Boolean","I",false],["headerColumns","aura://Aura.Component[]","I",false,[]],["columns","aura://Aura.ComponentDefRef[]","I",false,[]],["keyboardNavigation","aura://Boolean","I",false,false],["items","aura://List","I",false,[]],["sortBy","aura://String","I",false,""],["pageSize","aura://Integer","I",false,10],["totalItems","aura://Integer","I",false],["layoutType","aura://String","I",false],["retryAction","aura://Object[]","I",false,[]],["deviceMode","aura://String","I",false,"online"],["scrollerPlugin","aura://String","I",false,"ActionBar,FixedHeader"],["hasData","aura://Boolean","I",false,false],["doneRendering","aura://Boolean","I",false,false],["stencilCols","aura://Integer","I",false,5],["stencilRows","aura://Integer","I",false,10],["inContextOfComponent","aura://String","I",false],["infiniteLoading","aura://Boolean","I",false,true],["recordLayout","aura://Aura.Component[]","p",false,[]],["useRowHeaders","aura://Boolean","I",false,false],["enableResizableColumns","aura://Boolean","I",false,false],["resizableColumnsConfig","aura://Object","I",false,null],["scrollerClass","aura://String","I",false,"scrollable"],["infiniteLoadingTemplate","aura://Aura.Component[]","I",false,[]],["disableSpinner","aura://Boolean","I",false,false],["useHeaderBarFix","aura://Boolean","I",false,true],["tableClass","aura://String","I",false,""],["autoScroll","aura://Boolean","I",false,true],["disableColumnSort","aura://Boolean","I",false],["delegatedEvents","aura://String","I",false,"click,keydown,mouseover,mouseout,focus,blur"],["width","aura://String","PP",false],["sObjectName","aura://String","PP",true],["relatedListId","aura://String","PP",true],["parentRecordId","aura://String","PP",true],["numRecordsToShow","aura://Integer","I",false]],"med":[{"name":"force:reload","xs":"I","action":"{!c.handleReload}","attributes":[["forceReload","aura://Boolean","I",false],["executeCallbackIfUpdated","aura://Boolean","I",false]]}],"i":["markup://force:widthAware","markup://force:relatedListPreviewEmbeddable"],"re":[{"ed":"markup://ui:click","n":"click","xs":"G"},{"ed":"markup://ui:dblclick","n":"dblclick","xs":"G"},{"ed":"markup://ui:mousedown","n":"mousedown","xs":"G"},{"ed":"markup://ui:mousemove","n":"mousemove","xs":"G"},{"ed":"markup://ui:mouseout","n":"mouseout","xs":"G"},{"ed":"markup://ui:mouseover","n":"mouseover","xs":"G"},{"ed":"markup://ui:mouseup","n":"mouseup","xs":"G"},{"ed":"markup://ui:change","n":"displayChangeComplete","xs":"I"},{"ed":"markup://force:listSortOrderChange","n":"sortOrderChange","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"}],"fa":[{"descriptor":"scope","value":{"exprType":"PROPERTY","byValue":false,"target":"force:relatedListPreviewGrid","path":"v.sObjectName"}},{"descriptor":"filterName","value":{"exprType":"PROPERTY","byValue":false,"target":"force:relatedListPreviewGrid","path":"v.relatedListId"}},{"descriptor":"pageSize","value":{"exprType":"PROPERTY","byValue":false,"target":"force:relatedListPreviewGrid","path":"v.numRecordsToShow"}},{"descriptor":"layoutType","value":"RELATED_LIST"},{"descriptor":"stencilCols","value":0},{"descriptor":"stencilRows","value":0},{"descriptor":"inContextOfComponent","value":"force:relatedListPreviewGrid"},{"descriptor":"infiniteLoading","value":false},{"descriptor":"useRowHeaders","value":true},{"descriptor":"disableColumnSort","value":true},{"descriptor":"autoScroll","value":false}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:feedItemInteractions",function(){/*$A.componentService.addComponentClass("markup://forceChatter:feedItemInteractions",function(){return{meta:{name:"forceChatter$feedItemInteractions","extends":"markup://aura:component",imports:{interactionsBuilder:"markup://forceChatter:interactionsBuilderService",feedLib:"markup://forceChatter:feedLib"}},controller:{handleLikeToggled:function(b,a,c){if(a.getParam("associatedObjectId")===b.get("v.data.id")){c=b.get("v.data.capabilities.chatterLikes");var d=b.get("v.data.capabilities.chatterLikes.myLike"),
e=a.getParam("isLiked");a=a.getParam("object");b.set("v.data.capabilities.chatterLikes.myLike",a);if(e){for(var g=-1,f=0;f<c.page.items.length;f++)c.page.items[f].id===a.id&&(g=f);0>=g&&a.id&&(c.page.items.push(a),b.set("v.data.capabilities.chatterLikes",c))}else{g=-1;for(f=0;f<c.page.items.length;f++)d&&c.page.items[f].id===d.id&&(g=f);0<=g&&(c.page.items.splice(g,1),b.set("v.data.capabilities.chatterLikes",c))}if(!(d&&e||!d&&!e)&&!$A.util.isUndefinedOrNull(c))c.page.total+=e?1:-1,b.set("v.data.capabilities.chatterLikes",
c)}},handleVoteUpdated:function(b,a,c){if(a.getParam("entityId")===b.get("v.data.id")){c=a.getParam("myVote");var d=a.getParam("upVoteCount");a=a.getParam("downVoteCount");b.set("v.data.capabilities.upDownVote.myVote",c);b.set("v.data.capabilities.upDownVote.upVoteCount",d);b.set("v.data.capabilities.upDownVote.downVoteCount",a)}},handleCloseUpdated:function(b,a){if(a.getParam("feedItem").id===b.get("v.data.id")){var c=a.getParam("isClosed");b.set("v.data.capabilities.close.isClosed",c)}}},renderer:{render:function(b,
a){return a.interactionsBuilder.service.buildActions(b)},rerender:function(b,a){var c=document.activeElement,d=b.getElements()[1],e=a.interactionsBuilder.service.buildActions(b);if(d)for(;d.hasChildNodes();)d.removeChild(d.children[0]);if(d){if(e&&e[1])for(;e[1].hasChildNodes();)d.appendChild(e[1].children[0]);c&&a.feedLib.util.returnFocusToClickedActionButton(d,c)}},unrender:function(b){if(b._componentsToDestroy)for(var a=0;a<b._componentsToDestroy.length;++a)b._componentsToDestroy[a].destroy();
b.superUnrender()}}}});return {"xs":"I","descriptor":"markup://forceChatter:feedItemInteractions","ad":[["body","aura://Aura.Component[]","G",false,[]],["feedDesign","aura://String","I",false,"BROWSE"],["enabled","aura://Boolean","I",false],["data","aura://Object","I",false,null],["feedType","aura://String","I",false],["richTextConfig","aura://Map","I",false,{}],["isDirectMessagesEnabled","aura://Boolean","I",false,false],["isUIExperimentsEnabled","aura://Boolean","I",false,false],["comments","aura://Object","I",false,null],["isTopicsEnabled","aura://Boolean","I",false,false],["isUpDownVoteEnabled","aura://Boolean","I",false],["communityId","aura://String","I",false],["isReadOnly","aura://Boolean","I",false,false],["feedDisplayConfig","java://ui.chatter.api.FeedDisplayConfig","I",true,null]],"i":["markup://forceChatter:respectFeedDesign"],"re":[{"ed":"markup://forceChatter:objectLikeToggled","n":"likeToggledEvent","xs":"I"}],"hd":[{"ed":{"descriptor":"markup://forceChatter:objectLikeToggled"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleLikeToggled"}},{"ed":{"descriptor":"markup://forceChatter:voteUpdated"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleVoteUpdated"}},{"ed":{"descriptor":"markup://forceChatter:closeStatusUpdated"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleCloseUpdated"}}],"ld":{"sharePostMenu":{}},"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:feedBody",function(){/*$A.componentService.addComponentClass("markup://forceChatter:feedBody",function(){return{meta:{name:"forceChatter$feedBody","extends":"markup://aura:component",imports:{feedLib:"markup://forceChatter:feedLib"}},controller:{showFullBodyText:function(b,a,c){b.set("v._truncate",!1);c.feedLib.util.focusTemporarilyOnElement(b.getElement());a&&$A.util.squash(a);a=b.get("v.data");c.feedLib.util.logFeedInteraction(b,"feeditem","showMoreContent",$A.util.lookup(a,"id"),{likeCount:$A.util.lookup(a,"capabilities",
"chatterLikes","page","total"),viewCount:$A.util.lookup(a,"capabilities","interactions","count"),commentCount:$A.util.lookup(a,"capabilities","comments","page","total")})}},provider:{provide:function(b){var a=b.get("v.data");b=b.get("v.feedDisplayConfig");return $A.util.lookup(a,"capabilities","banner")?"forceChatter:feedBodyBanner":$A.util.lookup(a,"capabilities","questionAndAnswers")?!$A.get("$Browser.isDesktop")&&a.capabilities.questionAndAnswers.bestAnswer&&"FULL"!==b.feedElementDisplayConfig.auxBodyDetail?
"forceChatter:feedBodyQuestionWithBestAnswer":"forceChatter:feedBodyQuestionWithoutAnswer":0<a.body.messageSegments.length&&("CreateRecordEvent"!==a.type||"FULL"===b.feedElementDisplayConfig.auxBodyDetail)?"forceChatter:feedBodySimple":null}}}});return {"xs":"I","descriptor":"markup://forceChatter:feedBody","ad":[["body","aura://Aura.Component[]","G",false,[]],["searchQueryId","aura://String","I",false],["feedItemPosition","aura://String","I",false],["subjectId","aura://String","I",false],["sortOrder","aura://String","I",false],["feedDesign","aura://String","I",false,"BROWSE"],["feedType","aura://String","I",false],["feedDisplayConfig","java://ui.chatter.api.FeedDisplayConfig","I",true,null],["data","java://sfdc.chatter.connect.api.output.feeds.FeedItemRepresentation","I",false,null],["isTopicsEnabled","aura://Boolean","I",false,false],["_truncate","aura://Boolean","I",false,true],["truncatedMessage","aura://String","I",false],["onTruncatedMessageClick","aura://Aura.Action","I",false,null],["disableHover","aura://Boolean","I",false,false],["communityId","aura://String","I",false]],"i":["markup://forceChatter:additionalFeedLogData","markup://forceChatter:respectFeedDesign"],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedBody","path":"v.body"}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:inputDesktopOption",function(){/*$A.componentService.addComponentClass("markup://forceSearch:inputDesktopOption",function() {
return {
  "meta":{
    "name":"forceSearch$inputDesktopOption",
    "extends":"markup://ui:autocompleteOption"
  }
};
});
return {"xs":"I","descriptor":"markup://forceSearch:inputDesktopOption","st":{"descriptor":"css://forceSearch.inputDesktopOption","cl":"forceSearchInputDesktopOption"},"su":"markup://ui:autocompleteOption","ad":[["body","aura://Aura.Component[]","G",false,[]],["disableDoubleClicks","aura://Boolean","I",false,false],["class","aura://String","G",false],["dir","aura://String","I",false,"ltr"],["namespaceOverride","aura://String","I",false],["actionable","aura://Boolean","I",false,true],["role","aura://String","I",false],["ariaDescribedBy","aura://String","PP",false,""],["value","aura://Object","PP",false,null],["visible","aura://Boolean","PP",false,true],["disabled","aura://Boolean","G",false,false],["highlighted","aura://Boolean","I",false,false],["keyword","aura://String","PP",false],["displayText","aura://String","I",false],["label","aura://String","PP",true],["theme","aura://String","I",false,"default"],["domId","aura://String","I",false,""],["term","aura://String","I",true,""],["scopeMap","aura://Map","I",true,{}],["context","aura://Map","I",true,{}],["index","aura://Integer","I",false,-1],["type","aura://String","I",false,""],["title","aura://String","I",false,""],["secondLabel","aura://String","I",false,""],["scopeLabel","aura://String","I",false,""]],"i":["markup://forceSearch:searchInterface","markup://forceSearch:firesSearchRequest"],"re":[{"ed":"markup://ui:click","n":"click","xs":"G"},{"ed":"markup://ui:dblclick","n":"dblclick","xs":"G"},{"ed":"markup://ui:mousedown","n":"mousedown","xs":"G"},{"ed":"markup://ui:mousemove","n":"mousemove","xs":"G"},{"ed":"markup://ui:mouseout","n":"mouseout","xs":"G"},{"ed":"markup://ui:mouseover","n":"mouseover","xs":"G"},{"ed":"markup://ui:mouseup","n":"mouseup","xs":"G"},{"ed":"markup://ui:select","n":"select","xs":"G"},{"ed":"markup://ui:blur","n":"blur","xs":"G"},{"ed":"markup://ui:focus","n":"focus","xs":"G"},{"ed":"markup://ui:keypress","n":"keypress","xs":"G"},{"ed":"markup://ui:keyup","n":"keyup","xs":"G"},{"ed":"markup://ui:keydown","n":"keydown","xs":"G"},{"ed":"markup://ui:listHighlight","n":"listHighlight","xs":"I"},{"ed":"markup://force:searchRequest","n":"searchRequest","xs":"I"}],"fa":[{"descriptor":"class","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add((fn.eq(cmp.get(\"v.type\"),\"LABEL\")?\"label\":cmp.get(\"v.type\")),\" slds-text-link--reset slds-grid slds-grid--vertical-align-center slds-size_1-of-1 slds-truncate \");}","args":[{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:inputDesktopOption","path":"v.type"}],"byValue":true}},{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-icon_container"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:entityIcon"},"localId":"mruIcon","attributes":{"values":{"color":{"descriptor":"color","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:inputDesktopOption","path":"v.scopeMap.color"}},"icon":{"descriptor":"icon","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:inputDesktopOption","path":"v.scopeMap.icon"}},"class":{"descriptor":"class","value":"mruIcon slds-icon slds-icon--small slds-m-vertical--xx-small slds-m-right--small slds-m-left--none"}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-truncate"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"title":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:inputDesktopOption","path":"v.title"},"class":"mruName slds-text-body--regular slds-text-color--default slds-truncate slds-show"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:outputRichText"},"attributes":{"values":{"supportedTags":{"descriptor":"supportedTags","value":"mark"},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:inputDesktopOption","path":"v.label"}},"class":{"descriptor":"class","value":"slds-truncate"}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-clearfix mruDescription slds-text-heading--label-normal slds-show slds-truncate"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:outputRichText"},"attributes":{"values":{"supportedTags":{"descriptor":"supportedTags","value":"mark"},"class":{"descriptor":"class","value":"slds-float--left"},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:inputDesktopOption","path":"v.scopeLabel"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-float--left slds-p-horizontal--xx-small"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:text"},"attributes":{"values":{"value":{"descriptor":"value","value":"\u2022"}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.secondLabel\")&&cmp.get(\"v.scopeLabel\"));}","args":[{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:inputDesktopOption","path":"v.scopeLabel"},{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:inputDesktopOption","path":"v.secondLabel"}],"byValue":true}}}}},{"componentDef":{"descriptor":"markup://ui:outputRichText"},"attributes":{"values":{"supportedTags":{"descriptor":"supportedTags","value":"mark"},"class":{"descriptor":"class","value":"slds-float--none slds-truncate"},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:inputDesktopOption","path":"v.secondLabel"}}}}}]}}}}]}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-text-heading--label-normal"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:inputDesktopOption","path":"v.keyword"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq(cmp.get(\"v.type\"),\"LABEL_OPTION\");}","args":[{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:inputDesktopOption","path":"v.type"}],"byValue":true}}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-icon_container"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-icon slds-icon--small slds-m-vertical--xx-small slds-m-right--small slds-m-left--none slds-p-top--xxx-small slds-p-horizontal--xxx-small"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:image"},"attributes":{"values":{"imageType":{"descriptor":"imageType","value":"decorative"},"src":{"descriptor":"src","value":"/img/search/scoped-search-icon.svg"},"alt":{"descriptor":"alt","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputDesktopOption","path":"v.title"}},"class":{"descriptor":"class","value":"icon"}}}}]}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"title":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:inputDesktopOption","path":"v.title"},"class":"mruSearchLabel slds-text-body_regular slds-text-color_default slds-truncate slds-show slds-m-right_large slds-text-align_left slds-grow"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:outputRichText"},"attributes":{"values":{"supportedTags":{"descriptor":"supportedTags","value":"mark"},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:inputDesktopOption","path":"v.label"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq(cmp.get(\"v.type\"),\"FILTER_OPTION\");}","args":[{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:inputDesktopOption","path":"v.type"}],"byValue":true}}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-icon_container"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:icon"},"attributes":{"values":{"alt":{"descriptor":"alt","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:inputDesktopOption","path":"$Label.Global.search"}},"class":{"descriptor":"class","value":"slds-icon slds-icon--small slds-icon-text-default slds-text-align--center slds-p-top--xx-small slds-m-vertical--xx-small slds-m-right--small slds-m-left--none"},"key":{"descriptor":"key","value":"search"}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"title":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:inputDesktopOption","path":"v.label"},"class":"mruSearchLabel slds-text-body_regular slds-text-color_default slds-truncate slds-show slds-m-right_large slds-text-align_left slds-grow"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:inputDesktopOption","path":"v.label"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq(cmp.get(\"v.type\"),\"SEARCH_OPTION\");}","args":[{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:inputDesktopOption","path":"v.type"}],"byValue":true}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:chatterDisabledMessage",function(){/*$A.componentService.addComponentClass("markup://forceChatter:chatterDisabledMessage",function() {
return {
  "meta":{
    "name":"forceChatter$chatterDisabledMessage",
    "extends":"markup://aura:component"
  }
};
});
return {"xs":"I","descriptor":"markup://forceChatter:chatterDisabledMessage","st":{"descriptor":"css://forceChatter.chatterDisabledMessage","cl":"forceChatterChatterDisabledMessage"},"ad":[["body","aura://Aura.Component[]","G",false,[]]],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:outputText"},"attributes":{"values":{"class":{"descriptor":"class","value":"cuf-chatterNotEnabledText cuf-center"},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:chatterDisabledMessage","path":"$Label.Feeds.ChatterNotEnabled"}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:publisherQuickAction",function(){/*$A.componentService.addComponentClass("markup://forceChatter:publisherQuickAction",function(){return{meta:{name:"forceChatter$publisherQuickAction","extends":"markup://aura:component",imports:{interactionLib:"markup://force:targetInteractionLibrary",componentService:"markup://forceChatter:auraComponentService"}},controller:{onInit:function(a,c,b){"FeedItem.EscalateQFIToCase"===a.get("v.quickActionApiName")&&(a.set("v._quickActionType","escalateToCase"),"DESKTOP"===$A.get("$Browser.formFactor")&&$A.createComponent("ui:button",
{"class":"cuf-publisherCancelButton",localId:"publisherQuickCreateCancelButton",label:$A.get("$Label.Publisher.cancel"),press:a.getReference("c.closePanel")},function(b){a.set("v.cancelButton",b)}));a.get("v.isSfxPanelContext")&&b.getPanelConfig(a)},handleQuickActionLayoutRendered:function(a,c,b){var d=c.getParam("status"),f=function(){if("SUCCESS"===d&&$A.get("$Browser.isDesktop")&&a.get("v.isComposerContext")){var c=a.getElement().getElementsByTagName("input");$A.util.isEmpty(c)||a.get("v.isInDockingPanel")&&
b.addListenerForDockingPanelTitle(a,[].slice.call(c))}},e=a.get("v._panelProxy");if(e&&e.hasOwnProperty("setTitle")&&e.hasOwnProperty("updateConfig")){var g="INCOMPLETE"===d;b.getPanelActionConfig(a,g).then($A.getCallback(function(b){e.setTitle(g?"":a.get("v.quickActionLabel"));e.updateConfig(b);f()}))}else a.getEvent("setActionTitle").setParams({title:g?"":a.get("v.quickActionLabel")}).fire(),g="INCOMPLETE"===d,b.getPanelActionConfig(a,g).then($A.getCallback(function(b){var c=a.getEvent("setActionFooter");
$A.get("$Browser.isDesktop")?c.setParams({actions:b.footer}).fire():c.setParams({actions:b.headerActions}).fire();f()}))},submit:function(a,c,b){a.submitTarget()},submitTarget:function(a,c,b){b=a.get("v.publisherFeedType");var d=a.get("v.quickActionApiName"),f=$A.getEvt("markup://force:requestPerfLogging");f&&f.setParams({eventName:d,phase:"START",timestamp:(new Date).getTime(),data:{feedType:b}}).fire();var e=c.getParam("arguments");a.getConcreteComponent().submitAction($A.getCallback(function(b){b=
b||{};"SUCCESS"===b.state&&a&&(a.isValid&&a.isValid())&&a.getEvent("publisherStateChange").setParams({hasCollapsed:!0,yieldFocus:!0,recreateHostable:!0}).fire();e.callback&&e.callback({state:b.state})}))},getTargetSubmitActions:function(a,c,b){c=c.getParam("arguments");b=b.getPanelFooterCmp(a,"submitButton");if(!b)for(;!b&&a&&a.isInstanceOf("forceChatter:publisherQuickAction");)b=a.find("submitButton"),a=a.getSuper();Array.isArray(b)&&0<b.length&&(b=b[0]);b&&b.getElement&&b.getElement()?c.callback({state:"SUCCESS",
submitActions:[{name:null,isDefault:!0,component:b}]}):c.callback({state:"ERROR"})},setTargetFields:function(a,c,b){c=c.getParam("arguments");a=a.getConcreteComponent();(a=a.getDef().getHelper().getLayoutComponent(a))?b.interactionLib.Fields.setTargetFields(a,c.fieldValues,c.callback):c.callback&&c.callback({state:"ERROR"})},getTargetFields:function(a,c,b){c=c.getParam("arguments");a=a.getConcreteComponent();(a=a.getDef().getHelper().getLayoutComponent(a))?b.interactionLib.Fields.getTargetFields(a,
c.callback):c.callback({state:"ERROR"})},getTargetCancelActions:function(a,c,b){c=c.getParam("arguments");(a=b.getPanelFooterCmp(a,"publisherCancelButton"))?c.callback({state:"SUCCESS",cancelActions:[{component:a}]}):c.callback({state:"NOT_CANCELABLE"})},cancelTarget:function(a,c,b){c=c.getParam("arguments");var d=b.getPanelFooterCmp(a,"publisherCancelButton");d&&b.closePanel(a);c.callback&&c.callback({state:d?"SUCCESS":"NOT_CANCELABLE"})},onRecordPublished:function(a,c,b){var d=c.getParam("contextId"),
f=c.getParam("isCreate"),e=null;d&&(b=b.getLayoutComponent(a))&&(e=b.get("v.contextId"));if(!d||!e||e===d)d=a.get("v.navigateToSObject"),e=$A.getEvt("markup://force:navigateToSObject"),d&&e&&e.setParams({recordId:c.getParam("id")}).fire(),f||a.getEvent("notify").setParams({action:"closePanel",typeOf:"ui:closePanel"}).fire()},onFailure:function(a,c,b){a.set("v.hasError",!0);a.set("v.contextualMessages","")},closePanel:function(a,c,b){b.closePanel(a)},beforeClose:function(a,c,b){(a=c.getParam("arguments"))&&
(a.callback&&"function"===typeof a.callback)&&a.callback()},afterDocked:function(a,c,b){},beforeMinimized:function(a,c,b){},afterMinimized:function(a,c,b){},afterMaximized:function(a,c,b){},afterOverflowed:function(a,c,b){}},helper:{getPanelConfig:function(a){this.getPanelActionConfig(a).then($A.getCallback(function(c){var b={title:a.get("v.quickActionLabel"),body:a};$A.util.apply(b,c);a.set("v.panelConfig",{panelConfig:b})}))},getLayoutComponent:function(a){if(a=a.get("v._main"))for(var c=0;c<a.length;c++)if(a[c].isInstanceOf("force:quickActionLayout"))return a[c];
return null},closePanel:function(a){a.getEvent("notify").setParams({action:"closePanel",typeOf:"ui:closePanel"}).fire()},getPanelFooterCmp:function(a,c){var b=a.get("v._panelProxy");if((b=b&&b.getFooter())&&0<b.length)for(var d=0;d<b.length;d++)if($A.util.isComponent(b[d])&&b[d].getLocalId()===c)return b[d];return null},getPanelActionConfig:function(a,c){return this.createFooter(a,c).then($A.getCallback(function(a){a={footer:a};$A.get("$Browser.isDesktop")||(a.headerActions=a.footer,a.headerActions.reverse(),
delete a.footer);return a}))},createFooter:function(a,c){c=$A.util.isUndefinedOrNull(c)?!1:c;var b=!$A.util.isUndefinedOrNull(a.find("presentation")),d=this.componentService.service.createComponent("markup://ui:button",{"aura:id":"publisherCancelButton",label:$A.get("$Label.Publisher.cancel"),"class":"cuf-publisherCancelButton","aura:flavor":"default,brand"}),f=this.componentService.service.createComponent("markup://ui:button",{"aura:id":"submitButton",label:a.get("v._submitLabel"),"class":"cuf-publisherShareButton "+
a.get("v.width")+" "+a.get("v._submitButtonClass"),variant:"slds-button slds-button_brand",disabled:a.getReference("v.submitDisabled")}),e=function(c){b&&c.addHandler("press",a,"c.closePanel")};return!c&&b?Promise.all([d,f]).then($A.getCallback(function(b){var c=b[1];b=b[0];e(b);return null!==c?(c.addHandler("press",a,"c.submit"),[b,c]):[b]})):d.then($A.getCallback(function(a){e(a);return[a]}))},addListenerForDockingPanelTitle:function(a,c){var b=c&&c.filter(function(a){return"text"===a.type});if(b&&
b[0])$A.util.on(b[0],"blur",$A.getCallback(function(){a.getEvent("notify").setParams({action:"updatePanel",payload:{title:this.value||a.get("v.quickActionLabel")}}).fire()}),!0)}},renderer:{afterRender:function(a,c){var b=a.get("v._quickActionType");b&&$A.util.addClass(a,b);a.superAfterRender()}}}});return {"xs":"I","descriptor":"markup://forceChatter:publisherQuickAction","st":{"descriptor":"css://forceChatter.publisherQuickAction","cl":"forceChatterPublisherQuickAction"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["width","aura://String","PP",false],["publisherFeedType","aura://String","I",true],["publisherId","aura://String","I",false],["hasPublisherTopics","aura://Boolean","I",false,false],["richTextConfig","aura://Map","I",false,{"isRichTextEnabled":false,"isCodeSnippetUserPermEnabled":false}],["contentHubUriRegExps","aura://String[]","I",false,[]],["attachmentConfig","aura://Map","I",false,null],["isTopicsEnabled","aura://Boolean","I",false,false],["_panelProxy","aura://Map","I",false,null],["successCallback","aura://Object","I",false,null],["insideScroller","aura://Boolean","I",false,true],["quickActionSubjectId","aura://String","I",true],["quickActionApiName","aura://String","I",true],["quickActionLabel","aura://String","I",true],["contextualMessages","aura://List","I",false,[]],["visibilityOptions","aura://Map","I",false,null],["quickActionFieldOverrides","aura://String","I",false],["inContextOfComponent","aura://String","I",false],["isWebApp","aura://Boolean","I",false,true],["isComposerContext","aura://Boolean","I",false,false],["isSfxPanelContext","aura://Boolean","I",false,false],["isSubmitting","aura://Boolean","I",false,false],["hasError","aura://Boolean","I",false,false],["submitDisabled","aura://Boolean","I",false,{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.isSubmitting\")||cmp.get(\"v.hasError\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"v.isSubmitting"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"v.hasError"}],"byValue":false}],["navigateToSObject","aura://Boolean","I",false,false],["invocableActionType","aura://String","I",false],["isCollapsed","aura://Boolean","I",false,false],["cssClass","aura://String","I",false,""],["panelConfig","aura://String","I",false],["_main","aura://Aura.Component[]","I",true,[]],["_bottom","aura://Aura.Component[]","I",false,[]],["_submitLabel","aura://String","I",false,{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"$Label.Publisher.Submit"}],["_submitButtonClass","aura://String","I",false,""],["_quickActionType","aura://String","p",false,""],["isInDockingPanel","aura://Boolean","I",false,false],["header","aura://Aura.Component[]","I",false,[]],["cancelButton","aura://Aura.Component[]","I",false,[]],["tertiaryActionButton","aura://Aura.Component[]","I",false,[]],["useButtonGroup","aura://Boolean","I",false,false],["recordSaveParams","aura://Object","I",false,null]],"med":[{"name":"force:submitTarget","xs":"I","attributes":[["callback","apex://Function","I",false,null]]},{"name":"force:getTargetSubmitActions","xs":"I","attributes":[["callback","apex://Function","I",true,null]]},{"name":"force:beforeClose","xs":"I","attributes":[["callback","aura://Object","I",false,null]]},{"name":"force:afterDocked","xs":"I"},{"name":"force:beforeMinimized","xs":"I"},{"name":"force:afterMinimized","xs":"I"},{"name":"force:afterMaximized","xs":"I"},{"name":"force:afterOverflowed","xs":"I"},{"name":"force:setTargetFields","xs":"I","attributes":[["fieldValues","aura://List","I",true,[]],["callback","apex://Function","I",false,null],["replace","aura://Boolean","I",false]]},{"name":"force:getTargetFields","xs":"I","attributes":[["callback","apex://Function","I",true,null]]},{"name":"force:getTargetCancelActions","xs":"I","attributes":[["callback","apex://Function","I",true,null]]},{"name":"force:cancelTarget","xs":"I","attributes":[["callback","apex://Function","I",false,null]]},{"name":"forceChatter:submitAction","xs":"I","attributes":[["callback","aura://Object","I",false,null]]}],"i":["markup://force:submittableTarget","markup://force:widthAware","markup://force:dockingPanelContent","markup://force:hasFieldsTarget","markup://forceChatter:publisherData","markup://force:cancelableTarget","markup://force:quickAction","markup://forceChatter:publisherHostable","markup://force:quickActionData"],"re":[{"ed":"markup://ui:notify","n":"notify","xs":"I"},{"ed":"markup://force:publisherStateChange","n":"publisherStateChange","xs":"I"},{"ed":"markup://force:setActionTitle","n":"setActionTitle","xs":"I"},{"ed":"markup://force:setActionFooter","n":"setActionFooter","xs":"I"}],"hd":[{"ed":{"descriptor":"markup://force:recordPublished"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onRecordPublished"}},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onInit"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"ed":{"descriptor":"markup://force:componentRendered"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleQuickActionLayoutRendered"},"n":"quickActionLayoutRendered"}],"ld":{"submitButton":{"context":{"devNameOrId":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"v.quickActionApiName"}},"alias":"publisher-quick-action"},"quickActionLayout":{"context":{"quickActionName":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"v.quickActionApiName"},"contextId":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"v.quickActionSubjectId"}},"alias":"quick-action-layout"}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:publisherPresentation"},"localId":"presentation","attributes":{"values":{"isWebApp":{"descriptor":"isWebApp","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"v.isWebApp"}},"isPublisherCollapsed":{"descriptor":"isPublisherCollapsed","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"v.isCollapsed"}},"cssClass":{"descriptor":"cssClass","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"v.cssClass"}},"bottom":{"descriptor":"bottom","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"v._bottom"}}}}}]},"isSfxPanelContext":{"descriptor":"isSfxPanelContext","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"v.isSfxPanelContext"}},"isComposerContext":{"descriptor":"isComposerContext","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"v.isComposerContext"}},"name":{"descriptor":"name","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"v.quickActionLabel"}},"header":{"descriptor":"header","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"v.header"}}}}}]},"main":{"descriptor":"main","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"mainSection","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"form-block-section \",cmp.get(\"v.width\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"v.width"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"section"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"v._main"}}}}}]}}}}]},"actions":{"descriptor":"actions","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"v.cancelButton"}}}}},{"componentDef":{"descriptor":"markup://ui:button"},"localId":"submitButton","attributes":{"values":{"variant":{"descriptor":"variant","value":"slds-button slds-button--brand"},"disabled":{"descriptor":"disabled","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"v.isSubmitting"}},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"v._submitLabel"}},"press":{"descriptor":"press","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"c.submit"}},"class":{"descriptor":"class","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(fn.add(fn.add(\"cuf-publisherShareButton \",cmp.get(\"v.width\")),\" \"),cmp.get(\"v._submitButtonClass\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"v.width"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"v._submitButtonClass"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"v.tertiaryActionButton"}}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"role":"group","class":"slds-button-group"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"v.cancelButton"}}}}},{"componentDef":{"descriptor":"markup://ui:button"},"localId":"submitButton","attributes":{"values":{"variant":{"descriptor":"variant","value":"slds-button slds-button--brand"},"disabled":{"descriptor":"disabled","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"v.isSubmitting"}},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"v._submitLabel"}},"press":{"descriptor":"press","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"c.submit"}},"class":{"descriptor":"class","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(fn.add(fn.add(\"cuf-publisherShareButton \",cmp.get(\"v.width\")),\" \"),cmp.get(\"v._submitButtonClass\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"v.width"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"v._submitButtonClass"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"v.tertiaryActionButton"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"v.useButtonGroup"}}}}}]},"contextualMessages":{"descriptor":"contextualMessages","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:block"},"localId":"contextualMessages","attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:iteration"},"attributes":{"values":{"var":{"descriptor":"var","value":"message"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:outputText"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"message"}}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"v.contextualMessages"}}}}}]},"class":{"descriptor":"class","value":"cuf-publisherMessages cuf-publisherWarnings"}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.contextualMessages.length\")>0);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherQuickAction","path":"v.contextualMessages.length"}],"byValue":false}}}}}]}}}}]}],"ab":true,"css":true}*/});
$A.componentService.addComponent("markup://one:switchIdentityDialog",function(){/*$A.componentService.addComponentClass("markup://one:switchIdentityDialog",function() {
return {
  "meta":{
    "name":"one$switchIdentityDialog",
    "extends":"markup://aura:component"
  }
};
});
return {"xs":"I","descriptor":"markup://one:switchIdentityDialog","st":{"descriptor":"css://one.switchIdentityDialog","cl":"oneSwitchIdentityDialog"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["bodyMessage","aura://String","I",false]],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"message"}},"tag":{"descriptor":"tag","value":"p"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"one:switchIdentityDialog","path":"v.bodyMessage"}}}}}]}}}},{"componentDef":{"descriptor":"markup://ui:inputCheckbox"},"attributes":{"values":{"labelPosition":{"descriptor":"labelPosition","value":"right"},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":true,"target":"one:switchIdentityDialog","path":"$Label.IdentityDialog.Confirmation"}},"value":{"descriptor":"value","value":false}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:feedElementIteration",function(){/*$A.componentService.addComponentClass("markup://forceChatter:feedElementIteration",function(){return{meta:{name:"forceChatter$feedElementIteration","extends":"markup://aura:component"},controller:{getFeedElements:function(b,c){var a=b.find("feedElement");a?$A.util.isArray(a)||(a=[a]):a=[];c.getParam("arguments").callback(a)}}}});return {"xs":"I","descriptor":"markup://forceChatter:feedElementIteration","ad":[["body","aura://Aura.Component[]","G",false,[]],["feedDesign","aura://String","I",false,"BROWSE"],["elements","aura://Object","I",true,null],["subjectId","aura://String","I",false],["feedType","aura://String","I",false],["showFeedItemActions","aura://Boolean","I",false,true],["commentActions","aura://List","I",false,[]],["canCommentsRequestReplies","aura://Boolean","I",false,false],["emptyFeedMessage","aura://Object","I",false,null],["isInPrivateGroup","aura://Boolean","I",false,false],["isTopicsEnabled","aura://Boolean","I",false,false],["isPinnedPostFeed","aura://Boolean","I",false,false],["config","java://ui.chatter.api.FeedConfig","I",false,null],["feedItemOverrides","aura://Object","I",false,null],["lastNavigatedFeedItem","aura://String","I",false,""]],"med":[{"name":"forceChatter:getFeedElements","xs":"I","action":"{!c.getFeedElements}","attributes":[["callback","apex://Function","I",false,null]]}],"i":["markup://forceChatter:respectFeedDesign"],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"data-feed-type":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedElementIteration","path":"v.feedType"},"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(fn.add(\"cuf-feed qe-subject-id-\",cmp.get(\"v.subjectId\")),(cmp.get(\"v.isPinnedPostFeed\")?\" slds-m-bottom_large\":\"\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedElementIteration","path":"v.subjectId"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedElementIteration","path":"v.isPinnedPostFeed"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"role":"status","class":"slds-assistive-text"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(fn.add(cmp.get(\"v.elements.length\"),\" \"),$A.get(\"$Label.Feeds.Items\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedElementIteration","path":"v.elements.length"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedElementIteration","path":"$Label.Feeds.Items"}],"byValue":false}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.elements.length\")>0);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedElementIteration","path":"v.elements.length"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:iteration"},"localId":"feedElements","attributes":{"values":{"indexVar":{"descriptor":"indexVar","value":"index"},"var":{"descriptor":"var","value":"item"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"cuf-feedElementIterationItem \",(!(cmp.get(\"v.isPinnedPostFeed\"))?\"slds-feed__item\":\"\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedElementIteration","path":"v.isPinnedPostFeed"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:feedElement"},"localId":"feedElement","attributes":{"values":{"feedItemOverrides":{"descriptor":"feedItemOverrides","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedElementIteration","path":"v.feedItemOverrides"}},"comments":{"descriptor":"comments","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedElementIteration","path":"item.capabilities.comments.page"}},"data":{"descriptor":"data","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedElementIteration","path":"item"}},"focusWhenInitiallyDisplayed":{"descriptor":"focusWhenInitiallyDisplayed","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq(cmp.get(\"v.lastNavigatedFeedItem\"),cmp.get(\"item.id\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedElementIteration","path":"v.lastNavigatedFeedItem"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedElementIteration","path":"item.id"}],"byValue":false}},"feedType":{"descriptor":"feedType","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedElementIteration","path":"v.feedType"}},"isInPrivateGroup":{"descriptor":"isInPrivateGroup","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedElementIteration","path":"v.isInPrivateGroup"}},"subjectId":{"descriptor":"subjectId","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedElementIteration","path":"v.subjectId"}},"feedDesign":{"descriptor":"feedDesign","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedElementIteration","path":"v.feedDesign"}},"searchQueryId":{"descriptor":"searchQueryId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedElementIteration","path":"item.searchQueryId"}},"feedItemPosition":{"descriptor":"feedItemPosition","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedElementIteration","path":"index"}},"isTopicsEnabled":{"descriptor":"isTopicsEnabled","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedElementIteration","path":"v.isTopicsEnabled"}},"canCommentsRequestReplies":{"descriptor":"canCommentsRequestReplies","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedElementIteration","path":"v.canCommentsRequestReplies"}},"showFeedItemActions":{"descriptor":"showFeedItemActions","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedElementIteration","path":"v.showFeedItemActions"}},"sortOrder":{"descriptor":"sortOrder","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedElementIteration","path":"v.config.sortOrder"}},"commentActions":{"descriptor":"commentActions","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedElementIteration","path":"v.commentActions"}},"config":{"descriptor":"config","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedElementIteration","path":"v.config"}}}}}]}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedElementIteration","path":"v.elements"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://feeds_placeholding:emptyFeed","type":"module"},"attributes":{"values":{"feedType":{"descriptor":"feedType","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedElementIteration","path":"v.feedType"}},"title":{"descriptor":"title","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedElementIteration","path":"v.emptyFeedMessage.title"}},"message":{"descriptor":"message","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedElementIteration","path":"v.emptyFeedMessage.message"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq(cmp.get(\"v.elements.length\"),0);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedElementIteration","path":"v.elements.length"}],"byValue":false}}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://force:buttonBarDeprecated",function(){/*$A.componentService.addComponentClass("markup://force:buttonBarDeprecated",function(){return{meta:{name:"force$buttonBarDeprecated","extends":"markup://aura:component"},controller:{doInit:function(b,d,c){var a=b.get("v.numButtonsToShow"),e=b.get("v.buttonModels");d=b.get("v.menuModels");a=0>a?0:a;e&&e.length>a?(c=e.slice(0,a),a=e.slice(a,e.length),d&&0<d.length&&(a=a.concat(d))):(c=e,a=d);b.set("v.buttonModels",c);b.set("v.menuModels",a)},handleOverflowItems:function(b,d,c){$A.getEvt("markup://force:showModal").setParams({actions:b.get("v.menuModels")}).fire()}},
renderer:{afterRender:function(b,d){b.superAfterRender();var c=b.find("buttons");if(c)if($A.util.isComponent(c))c.setAttributeValueProvider(b);else if($A.util.isArray(c))for(var a=0;a<c.length;a++)c[a].setAttributeValueProvider(b)}}}});return {"xs":"I","descriptor":"markup://force:buttonBarDeprecated","st":{"descriptor":"css://force.buttonBarDeprecated","cl":"forceButtonBarDeprecated"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["class","aura://String","G",false],["dir","aura://String","I",false,"ltr"],["namespaceOverride","aura://String","I",false],["actionable","aura://Boolean","I",false,true],["role","aura://String","I",false],["ariaDescribedBy","aura://String","PP",false,""],["value","aura://Object","PP",false,null],["visible","aura://Boolean","I",false,true],["buttonModels","aura://List","I",true,[]],["numButtonsToShow","aura://Integer","I",false,4],["menuModels","aura://List","I",false,[]],["isGrouped","aura://Boolean","I",false,true],["isVertical","aura://Boolean","I",false,false],["muttonLabel","aura://String","I",false],["showIcon","aura://Boolean","I",false,false],["showLabel","aura://Boolean","I",false,true],["context","apex://SObject","I",false,null]],"i":["markup://ui:visible","markup://force:layoutRegionBottomEmbeddable"],"re":[{"ed":"markup://ui:click","n":"click","xs":"G"},{"ed":"markup://ui:dblclick","n":"dblclick","xs":"G"},{"ed":"markup://ui:mousedown","n":"mousedown","xs":"G"},{"ed":"markup://ui:mousemove","n":"mousemove","xs":"G"},{"ed":"markup://ui:mouseout","n":"mouseout","xs":"G"},{"ed":"markup://ui:mouseover","n":"mouseover","xs":"G"},{"ed":"markup://ui:mouseup","n":"mouseup","xs":"G"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.doInit"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"}],"ld":{"*":{"alias":"Force button bar"}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(fn.add(fn.add(fn.add(cmp.get(\"v.class\"),\" buttonList \"),(cmp.get(\"v.isGrouped\")?\"grouped \":\"\")),(cmp.get(\"v.isVertical\")?\"vertical \":\"horizontal \")),((fn.ne(cmp.get(\"v.menuModels\"),null)&&(cmp.get(\"v.menuModels.length\")>0))?\"hasMenu\":\"\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:buttonBarDeprecated","path":"v.class"},{"exprType":"PROPERTY","byValue":false,"target":"force:buttonBarDeprecated","path":"v.menuModels"},{"exprType":"PROPERTY","byValue":false,"target":"force:buttonBarDeprecated","path":"v.menuModels.length"},{"exprType":"PROPERTY","byValue":false,"target":"force:buttonBarDeprecated","path":"v.isVertical"},{"exprType":"PROPERTY","byValue":false,"target":"force:buttonBarDeprecated","path":"v.isGrouped"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"ul"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:iteration"},"attributes":{"values":{"var":{"descriptor":"var","value":"buttonItem"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"buttonItem"}},"tag":{"descriptor":"tag","value":"li"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:actionButton"},"localId":"buttons","attributes":{"values":{"showIcon":{"descriptor":"showIcon","value":{"exprType":"PROPERTY","byValue":false,"target":"force:buttonBarDeprecated","path":"v.showIcon"}},"context":{"descriptor":"context","value":{"exprType":"PROPERTY","byValue":false,"target":"force:buttonBarDeprecated","path":"v.context"}},"action":{"descriptor":"action","value":{"exprType":"PROPERTY","byValue":false,"target":"force:buttonBarDeprecated","path":"buttonItem"}},"showLabel":{"descriptor":"showLabel","value":{"exprType":"PROPERTY","byValue":false,"target":"force:buttonBarDeprecated","path":"v.showLabel"}}}}}]}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"force:buttonBarDeprecated","path":"v.buttonModels"}}}}},{"componentDef":{"descriptor":"markup://aura:renderIf"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"overflowItems"}},"tag":{"descriptor":"tag","value":"li"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:button"},"attributes":{"values":{"labelDisplay":{"descriptor":"labelDisplay","value":false},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"force:buttonBarDeprecated","path":"$Label.MobileWebRecordActions.AdditionalRecordActions"}},"press":{"descriptor":"press","value":{"exprType":"PROPERTY","byValue":false,"target":"force:buttonBarDeprecated","path":"c.handleOverflowItems"}},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:icon"},"attributes":{"values":{"key":{"descriptor":"key","value":"down"}}}}]},"class":{"descriptor":"class","value":"overflowButton default"}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.ne(cmp.get(\"v.menuModels\"),null)&&(cmp.get(\"v.menuModels.length\")>0));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:buttonBarDeprecated","path":"v.menuModels.length"},{"exprType":"PROPERTY","byValue":false,"target":"force:buttonBarDeprecated","path":"v.menuModels"}],"byValue":false}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://force:quickActionRecordCollection",function(){/*$A.componentService.addComponentClass("markup://force:quickActionRecordCollection",function(){return{meta:{name:"force$quickActionRecordCollection","extends":"markup://aura:component",imports:{recordLib:"markup://force:recordLibrary",qaRecordLib:"markup://force:quickActionRecordLibrary"}},controller:{init:function(a,c,b){b.getQuickActionRecordTemplates(a)},handleRecordUpdated:function(a,c,b){c.stopPropagation();var e=[];if(a.isValid()){var d=b.recordLib.util,f=!1;c=c.getParam("idsToChangeTypes");
for(var h in c)if(c.hasOwnProperty(h)){var g=c[h];if("LOADED"===g)g=(g=b.getLoadExistingRecord(a,h))?d.deepClone(g):b.mergeTemplateToRecord(a,h),e[h]=g;else if("ERROR"===g){f=!0;break}}f?d.updateCmpForBulk(a,b.recordLib.util.notificationTypes.ERROR,null,null,a.find("recordCollectionCmp").get("v.targetErrors"),null,!0):0<Object.keys(e).length&&(b.updateCmpForBulkSuccess(a,d.notificationTypes.LOADED,a.find("recordCollectionCmp").get("v.targetDraftTypes"),e,null,null,!0),a.set("v.priv_qa_loaded",!0))}},
getAggregatedTemplate:function(a,c,b){a.isValid()&&(c=c.getParams().arguments.callback,c(b.recordLib.util.deepClone(a.get("v.aggregatedTemplate")),b.recordLib.util.deepClone(a.get("v.aggregatedTemplateDeprecated"))))},saveQuickActionRecords:function(a,c,b){a.isValid()&&b.saveQuickActionRecords(a,c)},bindAdditionalFields:function(a,c){var b=c.getParam("arguments");if(b&&b.additionalFields){var e=b.additionalFields.split(",");if(0!==e.length){var d=a.get("v.aggregatedTemplate"),f=a.get("v.aggregatedTemplateDeprecated");
if("Create"===b.actionType)for(b=0;b<e.length;b++)d&&!d.fields[e[b]]&&(d.fields[e[b]]={value:null,displayValue:null},f&&!f.hasOwnProperty(e[b])&&(f[e[b]]=null))}}}},helper:{getQuickActionRecordTemplates:function(a){var c=this.recordLib;c.records.getRecordForQuickAction(a,{quickActionName:a.get("v.quickActionName"),contextIds:a.get("v.contextIds"),fieldOverrides:a.get("v.fieldOverrides"),forceServer:a.get("v.ignoreExistingAction"),callback:$A.getCallback(function(b,e,d){if(a.isValid())if(b&&d&&"Update"===
d.type){a.set("v.templates",b);e=[];for(var f in b)b.hasOwnProperty(f)&&e.push(b[f].id);a.set("v.priv_recordIds",e);a.set("v.priv_fields",d.fields);a.set("v.defaultValueFields",d.defaultValueFields);a.set("v.isRecordIdsLoaded",!0);a.find("recordCollectionCmp").reloadRecords()}else d=c.util.notificationTypes,this.updateCmpForBulkSuccess(a,e?d.ERROR:d.LOADED,null,b,e,null,!0),a.set("v.priv_qa_loaded",!0)}.bind(this))})},mergeTemplateToRecord:function(a,c){var b=this.recordLib.util,e=a.get("v.templates")[c],
d=a.find("recordCollectionCmp").get("v.targetRecords"),d=this.qaRecordLib.util.getTargetRecord(d,c);return this.qaRecordLib.util.mergeTemplateToRecord(a.get("v.defaultValueFields")||[],d,e,b)},getLoadExistingRecord:function(a,c){return!$A.util.isEmpty(a.get("v.targetRecords"))?this.qaRecordLib.util.getTargetRecord(a.find("recordCollectionCmp").get("v.targetRecords"),c):null},updateCmpForBulkSuccess:function(a,c,b,e,d,f,h){this.recordLib.util.updateCmpForBulk(a,c,b,e,d,f,h);d?a.getEvent("dataLoadError").setParams({error:d}).fire():
(b=this.qaRecordLib.massQuickActionAggregator,e="Update"===a.get("v.actionType"),c=b.mergeRecordsForMassQuickActionsDeprecated(a.get("v.targetRecordsDeprecated"),a.get("v.targetFields"),a.get("v.contextIds"),e),b=b.mergeRecordsForMassQuickActions(a.get("v.targetRecords"),a.get("v.contextIds"),e),!1===c||!1===b?a.getEvent("dataLoadError").setParams({error:$A.get("$Label.MassQuickActions.multipleRecordTypeIdsError")}).fire():(a.set("v.aggregatedTemplateDeprecated",c),a.set("v.aggregatedTemplate",b),
a.getEvent("dataLoadedSuccessfully").setParams({recordIds:a.get("v.priv_recordIds")}).fire()))},saveQuickActionRecords:function(a,c){for(var b=c.getParam("arguments"),e=b.record,d=b.fieldsChangedInLayout?b.fieldsChangedInLayout:[],f=a.get("v.aggregatedTemplate"),h=this.recordLib.util,f=h.deepClone(f),g=0,g=0;g<d.length;g++)f.fields[d[g]].value=e[d[g]],f.fields[d[g]].displayValue=null;h.removeSpanningFields(f);this.recordLib.records.saveQuickActionRecord(a,f,a.get("v.quickActionName"),a.get("v.contextIds"),
b.fetchFeedItem,b.recordSaveParams,this.recordLib.util.getSaveCallback(a,b.callback),d)}}}});return {"xs":"I","descriptor":"markup://force:quickActionRecordCollection","ad":[["body","aura://Aura.Component[]","G",false,[]],["ignoreExistingAction","aura://Boolean","I",false],["recordIds","aura://String[]","G",false,[]],["targetFields","aura://Object[]","G",false,[]],["targetRecords","aura://Object[]","G",false,[]],["targetRecordsDeprecated","aura://Object[]","I",false,[]],["targetErrors","aura://Object","I",false,null],["targetDraftTypes","aura://Object","I",false,null],["quickActionName","aura://String","I",true],["actionType","aura://String","I",false],["contextIds","aura://String[]","I",false,[]],["fieldOverrides","aura://Map","I",false,null],["templates","aura://Object[]","p",false,[]],["defaultValueFields","aura://String[]","p",false,[]],["priv_recordIds","aura://String[]","p",false,[]],["priv_fields","aura://String[]","p",false,[]],["isRecordIdsLoaded","aura://Boolean","p",false,false],["aggregatedTemplate","aura://Object","p",false,null],["aggregatedTemplateDeprecated","aura://Object","p",false,null],["priv_qa_loaded","aura://Boolean","I",false,false]],"med":[{"name":"force:getAggregatedTemplate","xs":"I","action":"{!c.getAggregatedTemplate}","attributes":[["callback","apex://Function","I",true,null]]},{"name":"force:saveQuickActionRecords","xs":"I","action":"{!c.saveQuickActionRecords}","attributes":[["record","aura://Object","I",false,null],["fieldsChangedInLayout","aura://String[]","p",false,"[]"],["fetchFeedItem","aura://Boolean","I",false,"true"],["recordSaveParams","aura://Object","I",false,null],["callback","apex://Function","I",false,null]]},{"name":"force:bindAdditionalFields","xs":"I","action":"{!c.bindAdditionalFields}","attributes":[["additionalFields","aura://String","I",false],["actionType","aura://String","I",false]]}],"i":["markup://force:hasStorableSupport","markup://force:recordProviderBulk"],"re":[{"ed":"markup://force:recordsLoaded","n":"dataLoadedSuccessfully","xs":"I"},{"ed":"markup://force:recordsLoaded","n":"dataLoadError","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:recordCollection"},"localId":"recordCollectionCmp","attributes":{"values":{"recordChanged":{"descriptor":"recordChanged","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionRecordCollection","path":"c.handleRecordUpdated"}},"fields":{"descriptor":"fields","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionRecordCollection","path":"v.priv_fields"}},"recordIds":{"descriptor":"recordIds","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionRecordCollection","path":"v.priv_recordIds"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"force:quickActionRecordCollection","path":"v.isRecordIdsLoaded"}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:flagAction",function(){/*$A.componentService.addComponentClass("markup://forceChatter:flagAction",function(){return{meta:{name:"forceChatter$flagAction","extends":"markup://aura:component",imports:{feedLib:"markup://forceChatter:feedLib"}},controller:{run:function(a,c,b){b.handleFlagAction(a)}},helper:{handleFlagAction:function(a){var c=this,b=a.get("c.flag"),f=a.get("v.entityId"),e=a.get("v.flagCommand"),g=c.getEntityType(a);"FLAG"==e&&!a.helper.feedLib.util.isSiteDotComPSSC()?$A.createComponent("forceChatter:moderationDialog",
{entityId:f,flagCommand:e,entityType:g},function(a,b,d){if("SUCCESS"===b&&a.isValid()){b=$A.get("$Browser.isDesktop");d={};var e=a.get("v.flagActions");b?d.footerActions=e:d.headerActions=e;d.title=$A.get("$Label.NetworkModeration.Title");d.closeOnActionButtonClick=!1;d.body=a;$A.getEvt("markup://ui:createPanel").setParams({panelType:b?"actionModal":"mobileOverlay",visible:!0,onDestroy:function(){!a.isValid()&&$A.util.isFunction(a.helper.closeModal)&&a.helper.closeModal(f)},panelConfig:d}).fire()}else c.fireErrorMessage(d)}):
(b.setParams({entityId:f,flagCommand:e}),b.setCallback(a,function(b){"SUCCESS"===b.getState()?(a.helper.feedLib.util.isSiteDotComPSSC()||$A.getEvt("markup://force:showToast").setParams({message:$A.get("$Label.Feeds.FeedElementUnflaggedConfirmation"),isClosable:!0,type:"success"}).fire(),b=b.getReturnValue(),$A.getEvt("markup://forceChatter:flagUpdated").setParams({entityId:f,flagged:b.flaggedByMe,flagCount:b.flagCount}).fire()):c.fireActionErrorMessage(b)}),$A.enqueueAction(b))},getEntityType:function(a){var c=
a.get("v.entityType");if(!c){var b=a.get("v.entityId").substring(0,3);"0D5"==b?c=$A.get("$Label.NetworkModeration.FeedItem"):"0D7"==b?c=$A.get("$Label.NetworkModeration.FeedComment"):"069"==b?c=$A.get("$Label.NetworkModeration.ContentVersion"):this.fireErrorMessage($A.get("$Label.NetworkModeration.InvalidEntity"));a.set("v.entityType",c)}return c},fireActionErrorMessage:function(a){a=a.getError();if($A.util.isArray(a)){for(var c=[],b=0;b<a.length;b++)c.push(a[b].message);$A.util.isEmpty(c)||(a=c.join(" "),
this.fireErrorMessage(a))}},fireErrorMessage:function(a){var c=$A.getEvt("markup://force:showMessage");c.setParams({message:a});c.fire()}}}});return {"xs":"I","descriptor":"markup://forceChatter:flagAction","cd":{"descriptor":"compound://forceChatter.flagAction","ac":[{"n":"flag","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.feeds.FlagActionController/ACTION$flag","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.moderation.ModerationFlagsRepresentation","pa":[{"name":"entityId","type":"java://java.lang.String","loggable":true},{"name":"flagCommand","type":"java://java.lang.String"},{"name":"flagNote","type":"java://java.lang.String"},{"name":"moderationType","type":"java://java.lang.String"}]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["context","aura://Object","I",false,null],["entityId","aura://String","I",false],["entityType","aura://String","I",false,""],["flagCommand","aura://String","I",false]],"i":["markup://force:runnable"],"re":[{"ed":"markup://force:run","n":"run","xs":"I"},{"ed":"markup://force:run","n":"afterRun","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.run"},"n":"run"}],"css":true}*/});
$A.componentService.addComponent("markup://force:socialPhoto",function(){/*$A.componentService.addComponentClass("markup://force:socialPhoto",function(){return{meta:{name:"force$socialPhoto","extends":"markup://aura:component",imports:{photosBatch:"markup://force:socialPhotoManager"}},controller:{init:function(a,b,d){d.resolvePhoto(a,!1)},handleError:function(a,b,d){a.get("v.showDefaultIcon")?d.renderDefaultIconSync(a,a.get("v.themeIcon"),a.get("v.themeBackgroundColor")):(b=a.find("photoContainer"),$A.log("social photo component : "+JSON.stringify(a)+"and photocontainer :"+
JSON.stringify(b)),!$A.util.isUndefinedOrNull(b)&&b.isValid()&&(b.set("v.body",[]),$A.log("photocontainer body deleted : "+JSON.stringify(b))));a=a.getEvent("socialPhotoShowFeedback");a.setParams({showFeedbackMenu:!1});a.fire()},updatePhoto:function(a,b,d){var e=a._resolvedRecordId||a.get("v.record.Id"),c=b.getParam("recordId");b=b.getParam("refreshCache")||!0;if(e===c)if(!0===b){c=!1;try{c=!!window.localStorage}catch(f){}if(c=c?localStorage:sessionStorage){b=JSON.parse(c.getItem("refreshPrimeRecords"));
var g=d.photosBatch.photos.getRefreshRecord(b,e);$A.util.isUndefinedOrNull(g)&&(g={id:e,count:3},$A.util.isUndefinedOrNull(b)?b=[g]:b.push(g),c.setItem("refreshPrimeRecords",JSON.stringify(b)))}d.cleanCachedResolvedPhoto(e);d.resolvePhoto(a,!0)}else d.resolvePhoto(a,!1)},renderDefaultIcon:function(a,b,d){if(a.get("v.showDefaultIcon")){b=a.get("v.themeIcon");var e=a.get("v.themeBackgroundColor");d.renderDefaultIconSync(a,b,e)}},renderDefaultIconEvtHandler:function(a,b,d){var e=a.get("v.value")||a.get("v.record.Id"),
e=d.photosBatch.photos.extractRecordId(e),c=b.getParam("guid");b=b.getParam("recordId");var f=a.get("v.socialPhotoGuid");e===b&&f===c&&(e=a.get("v.themeIcon"),c=a.get("v.themeBackgroundColor"),d.renderDefaultIconSync(a,e,c))},cleanCachedResolvedPhoto:function(a,b,d){a=a.get("v.value")||a.get("v.record.Id");a=d.photosBatch.photos.extractRecordId(a);d.cleanCachedResolvedPhoto(a);d.primeRequest(a)}},helper:{resolvePhoto:function(a,b){var d=a.get("v.value")||a.get("v.record.Id");if(!$A.util.isUndefinedOrNull(d)){var e=
this.photosBatch.photos.extractRecordId(d);if(!a.get("v.checkIsProfilePicSupported")||this.photosBatch.photos.isUserEntity(d)||this.photosBatch.photos.isProfilePicSupported(e)){var c=a.get("v.themeIcon"),f=a.get("v.themeBackgroundColor");a.get("v.showDefaultIcon")&&(!a._defaultIconRendered&&c&&f)&&this.renderDefaultIconSync(a,c,f);this.photosBatch.photos.registerForBatchRequest({cmp:a,value:d,recordId:e,processResponseSync:this.processResponseSync.bind(this),processResponseAsync:this.processResponseSync.bind(this),
ignoreExisting:b,evictCached:b})}}},processResponseSync:function(a,b){var d=!0;try{a.get("v.themeIcon")}catch(e){d=!1}if(d&&b)if(a._currentRecordEntityName=b.entityApiName,a._resolvedRecordId=b.recordId,$A.util.isUndefinedOrNull(a.get("v.themeIcon"))&&a.set("v.themeIcon",b.themeIcon),$A.util.isUndefinedOrNull(a.get("v.themeBackgroundColor"))&&a.set("v.themeBackgroundColor",b.themeBackgroundColor),b.isDefaultAvatar){var c=this.isSFX()&&("User"===b.entityApiName||"CollaborationGroup"===b.entityApiName)||
a.get("v.showDefaultIcon");!a._defaultIconRendered&&(c&&b.isProfilePicSupported)&&this.renderDefaultIconSync(a,b.themeIcon,b.themeBackgroundColor)}else{var f,g,d=!1;if("bt"===b.provider)if(d=!0,this.isShowFavicon(b.favicon))c=b.favicon.url,f=b.favicon.backgroundColor;else if(this.isShowLogo(b.photo))c=b.photo.url,f=b.photo.backgroundColor,g=this.isBTLogoNotSquare(b.photo);else{!a._defaultIconRendered&&(a.get("v.showDefaultIcon")&&b.isProfilePicSupported)&&this.renderDefaultIconSync(a,b.themeIcon,
b.themeBackgroundColor);return}else if("tw"===b.provider||"ch"===b.provider)c=b.photo.url,f=b.photo.backgroundColor;c&&(this.renderImageSync(a,c,f,g),a._defaultIconRendered=!1,d&&(f=a.getEvent("socialPhotoShowFeedback"),f.setParams({showFeedbackMenu:!0,data:b,photoUrl:c}),f.fire()))}},renderDefaultIconSync:function(a,b,d){var e=a.get("v.label"),c;(c=this.isSFX())&&"User"===a._currentRecordEntityName?(c=a.get("v.class")+" bgimg slds-avatar slds-avatar_profile-image-small",b=null):c&&"CollaborationGroup"===
a._currentRecordEntityName?(c=a.get("v.class")+" bgimg slds-avatar slds-avatar_group-image-small",b=null):c=a.get("v.themeIconSize");c=this.photosBatch.photos.isUserEntity(a.get("v.value"))?c+" circular":c+" roundedSquare";$A.createComponent("force:entityIcon",{color:d,icon:b,"class":c,label:a.get("v.hideAltText")?"":a._currentRecordEntityName?a._currentRecordEntityName:e},function(b,c,d){if(!$A.util.isUndefinedOrNull(b)&&b.isValid()&&"SUCCESS"===c&&(c=a.find("photoContainer"))&&c.isValid())c.set("v.body",
[b]),a._defaultIconRendered=!0})},renderImageSync:function(a,b,d,e){var c=a.get("v.value")||a.get("v.record.Id"),c=this.photosBatch.photos.extractRecordId(c),f=a.get("v.label"),g=a.get("v.class"),h=this.photosBatch.photos.createGuid();a.set("v.socialPhotoGuid",h);this.photosBatch.photos.isUserEntity(a.get("v.value"))&&(g+=" circular");e&&(g+=" nonSquareImage");a.set("v.showDefaultIcon",!1);$A.createComponent("force:socialImage",{src:b,"class":g,title:a._currentRecordEntityName||f||$A.get("$Label.SocialPhoto.RecordPhotoAltText"),
alt:a.get("v.hideAltText")?"":a._currentRecordEntityName||f||"",imageType:f?"informational":"decorative",showDefaultIcon:!0,recordId:c,guid:h},function(b,c,e){!$A.util.isUndefinedOrNull(b)&&(b.isValid()&&"SUCCESS"===c)&&(b.addHandler("onerror",a,"c.handleError"),c=a.find("photoContainer"),!$A.util.isUndefinedOrNull(c)&&c.isValid()&&(c.set("v.body",[b]),b=c.getElement(),c="#"+(d?d:"transparent"),$A.util.isUndefinedOrNull(b)||(b.style.backgroundColor=c)))})},isShowFavicon:function(a){return a&&a.url&&
a.height===a.width&&48<=a.height?!0:!1},isShowLogo:function(a){return a&&(a.url&&a.height&&a.width)&&(a=a.height/a.width,a>=1/3&&3>=a)?!0:!1},isBTLogoNotSquare:function(a){return a&&a.url&&a.height!==a.width?!0:!1},isSFX:function(){return $A.util.isUndefinedOrNull($A.get("$Site"))},cleanCachedResolvedPhoto:function(a){this.photosBatch.photos.cleanCachedResolvedPhoto(a)},primeRequest:function(a){var b=[];b.push(a);this.photosBatch.photos.primeRequest(b,!0,!0)}},renderer:{rerender:function(a,b){a.superRerender();
b.resolvePhoto(a,!1)},unrender:function(a,b){delete a._resolvedRecordId;a.superUnrender(a,b)}}}});return {"xs":"I","descriptor":"markup://force:socialPhoto","st":{"descriptor":"css://force.socialPhoto","cl":"forceSocialPhoto"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["class","aura://String","I",false,"socialPhoto"],["value","aura://Object","G",false,null],["record","apex://SObject","I",false,null],["field","aura://String","I",false],["label","aura://String","I",false],["layoutItemInfo","aura://Object","p",false,null],["isInvocableAction","aura://Boolean","p",false],["hasDependencyManager","aura://Boolean","p",false],["layoutType","aura://String","p",false],["checkIsProfilePicSupported","aura://Boolean","I",false,true],["themeIconSize","aura://String","I",false,"small"],["showDefaultIcon","aura://Boolean","I",false,false],["themeIcon","aura://String","I",false],["themeBackgroundColor","aura://String","I",false],["socialPhotoGuid","aura://String","I",false],["hideAltText","aura://Boolean","I",false,false]],"med":[{"name":"force:renderDefaultIcon","xs":"I","action":"{!c.renderDefaultIcon}"},{"name":"force:cleanCachedResolvedPhoto","xs":"I","action":"{!c.cleanCachedResolvedPhoto}"}],"i":["markup://force:field"],"re":[{"ed":"markup://ui:change","n":"change","xs":"I"},{"ed":"markup://force:socialPhotoShowFeedback","n":"socialPhotoShowFeedback","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"ed":{"descriptor":"markup://force:imageChange"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.updatePhoto"}},{"ed":{"descriptor":"markup://force:socialPhotoRenderDefaultIcon"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.renderDefaultIconEvtHandler"}},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.renderDefaultIcon"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.themeIconSize"},"n":"change"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"photoContainer","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"photoContainer"}},"tag":{"descriptor":"tag","value":"span"}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://lightningInbox:insertFreeTimeMarkupLibraryProvider",function(){/*$A.componentService.addComponentClass("markup://lightningInbox:insertFreeTimeMarkupLibraryProvider",function(){return{meta:{name:"lightningInbox$insertFreeTimeMarkupLibraryProvider","extends":"markup://aura:component",imports:{iftMarkupLib:"markup://lightningInbox:insertFreeTimeMarkupLibrary"}},controller:{provide:function(b,c,a){return a.iftMarkupLib}}}});return {"xs":"I","descriptor":"markup://lightningInbox:insertFreeTimeMarkupLibraryProvider","ad":[["body","aura://Aura.Component[]","G",false,[]]],"med":[{"name":"lightningInbox:provide","xs":"I","action":"{!c.provide}"}],"css":true}*/});
$A.componentService.addComponent("markup://emailui:emailRelatedToContainer",function(){/*$A.componentService.addComponentClass("markup://emailui:emailRelatedToContainer",function(){return{meta:{name:"emailui$emailRelatedToContainer","extends":"markup://aura:component",imports:{lib:"markup://ui:containerManagerLib"}},controller:{createRelatedTo:function(b,a,c){var d=c.getEventParamFromArgument(a,"inputLookupData",null);d&&c.createRelatedToUtil(b,a,d)},handleRelatedToChanged:function(b,a,c){var d=a.getParam("fields");a=a.getParam("isAppend");c.fireFieldsChangedEvent(b,d,a)}},helper:{createRelatedTo:function(b,
a,c,d,f){var e=a.value,e=!(a.readOnly&&$A.util.isEmpty(e));b.set("v.hasRelatedTo",e);e&&((e=b.find("infoBubble"))&&f&&e.set("v.body",f),this.initializeRelatedTo(b,a,c,d))},initializeRelatedTo:function(b,a,c,d){(b=b.find("toolbarRelatedTo"))&&b.initialize(a,c,d)},createRelatedToUtil:function(b,a,c){var d=this.getEventParamFromArgument(a,"isCaseObject",!1),f=this.getEventParamFromArgument(a,"isStreamUser",!1),e=this;f?$A.createComponents([["lightning:icon",{size:"xx-small",iconName:"utility:info","class":"relatedToTooltip"}],
["ui:tooltip",{tooltipBody:$A.get("$Label.EmailComposerHeaders.RelatedToTooltip"),"aura:id":"tooltip",advanced:"true",trigger:"hover"}]],function(a,h,g){g=null;a&&"SUCCESS"===h&&(h=a[0],g=a[1],g.set("v.body",h));e.createRelatedTo(b,c,d,f,g)}):e.createRelatedTo(b,c,d,f,null)},getEventParamFromArgument:function(b,a,c){return b&&b.getParam("arguments")?b.getParam("arguments")[a]:c},fireFieldsChangedEvent:function(b,a,c){if(b=b.getEvent("fieldsChanged"))b.setParams({fields:a,isAppend:c}),b.fire()}}}});return {"xs":"I","descriptor":"markup://emailui:emailRelatedToContainer","st":{"descriptor":"css://emailui.emailRelatedToContainer","cl":"emailuiEmailRelatedToContainer"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["isInDockingPanel","aura://Boolean","I",false],["isInContextOfCase","aura://Boolean","I",false,false],["hasRelatedTo","aura://Boolean","p",false,false],["width","aura://String","I",false,""]],"med":[{"name":"emailui:createRelatedTo","xs":"I","action":"{!c.createRelatedTo}","attributes":[["inputLookupData","aura://Object","I",false,null],["isCaseObject","aura://Boolean","I",false],["isStreamUser","aura://Boolean","I",false]]}],"re":[{"ed":"markup://emailui:fieldsChanged","n":"fieldsChanged","xs":"I"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(fn.add(cmp.get(\"v.width\"),\" \"),(cmp.get(\"v.isInDockingPanel\")?\"slds-grid slds-grid_vertical-align-start\":\"\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailRelatedToContainer","path":"v.width"},{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailRelatedToContainer","path":"v.isInDockingPanel"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-col slds-grow-none relatedToLabel"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailRelatedToContainer","path":"$Label.EmailComposerHeaders.RelatedTo"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"infoBubble","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"span"}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(cmp.get(\"v.isInContextOfCase\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailRelatedToContainer","path":"v.isInContextOfCase"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-col"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.isInDockingPanel\")?\"slds-size_11-of-12\":(fn.eq(cmp.get(\"v.width\"),\"SMALL\")?\"slds-size_9-of-12\":\"slds-size_7-of-12\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailRelatedToContainer","path":"v.width"},{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailRelatedToContainer","path":"v.isInDockingPanel"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://emailui:emailToolbarRelatedTo"},"localId":"toolbarRelatedTo","attributes":{"values":{"emailToolbarRelatedToChanged":{"descriptor":"emailToolbarRelatedToChanged","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailRelatedToContainer","path":"c.handleRelatedToChanged"}}}}}]}}}}]}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailRelatedToContainer","path":"v.hasRelatedTo"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.isInDockingPanel\")||!(cmp.get(\"v.isInContextOfCase\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailRelatedToContainer","path":"v.isInContextOfCase"},{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailRelatedToContainer","path":"v.isInDockingPanel"}],"byValue":false}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:resultsGridLWC",function(){/*$A.componentService.addComponentClass("markup://forceSearch:resultsGridLWC",function(){return{meta:{name:"forceSearch$resultsGridLWC","extends":"markup://forceSearch:scopedResults",imports:{lib:"markup://forceSearch:searchLibrary",uiTierResultsMapperLib:"markup://search_results:uiTierResultsMapper"}},controller:{handleDataManagerChanged:function(a,b,c){b=b.getParam("changedItems")||[];c.loadItems(a,b)},handleLookupClick:function(a,b,c){var d=b.getParam("targetRecordId"),e=b.getParam("recordId");b=
b.getParam("recordIndex");if(0<=b){var f=a.get("v.results").result[b].isSpellCorrected;c.logResultClick(a,b,e,d,f)}},handlePreviewClose:function(a,b,c){var d=b.getParam("previewCloseTime"),e=b.getParam("previewOpenTime"),f=b.getParam("previewCloseRecordId"),g=a.get("v.results"),g=c.calculatePosition(a,f,g.result);b.stopPropagation();c.logResultHover(a,f,e,d,g)},handleObjectInfosChange:function(a,b,c){c.convertData(a)},handleRecordDeleted:function(a,b,c){c.triggerLoadData(a)},handleSortGrid:function(a,
b,c){var d=b.getParam("fieldName");b=b.getParam("sortDirection");"asc"!==b&&(d="-"+d);c.triggerSetScopeAndSort(a,d)},handleSortHeader:function(a,b,c){c.triggerSetScopeAndSort(a,b.getParam("sortBy"))},handleViewMore:function(a,b,c){c.fireSetScope(a,a.get("v.scopeMap"),a.get("state.context"))},onRowActionClick:function(a,b,c){c.logActionItemClick(a,b)}},helper:{initPost:function(a){this.convertData(a)},convertData:function(a){var b=a.get("v.objectInfos"),c=a.get("v.priv_convertedData"),d=a.get("v.results");
!$A.util.isEmpty(b)&&(d&&d.scopeMap)&&(b=this.lib.util.findByProperty(b,"apiName",d.scopeMap.name),null===b?(c=this.lib.util.copy(d),c.hasError=!0,a.set("v.results",c),this.triggerRefreshedEvent(a)):c||(a.set("v.priv_listInfo",this.uiTierResultsMapperLib.mapFromAuraBucketToUiApiListInfo(d)),a.set("v.priv_objectInfo",b),a.set("v.priv_convertedData",this.uiTierResultsMapperLib.mapFromAuraBucketToUiApiRecords(d)),this.logGridRefresh(a),this.triggerRefreshedEvent(a)))},getDataProvider:function(a){return a.find("dataProvider")},
loadItems:function(a,b){a.set("v.priv_loading",!1);var c=this.getDataProvider(a),d=a.get("v.results");d.result=b;d.totalSize=c.get("v.totalItems");d.moreResultsAvailable=c.get("v.canLoadMore");a.set("v.results",d);a.set("v.priv_convertedData",this.uiTierResultsMapperLib.mapFromAuraBucketToUiApiRecords(d));a.set("v.priv_listInfo",this.uiTierResultsMapperLib.mapFromAuraBucketToUiApiListInfo(d));this.logGridRefresh(a)},logGridRefresh:function(a){var b=a.get("v.results");this.lib.results.logResultsRefresh(a,
b.searchLogInfo,"search-results-grid-lwc")},logActionItemClick:function(a,b){var c=b.getParam("actionApiName"),d=b.getParam("recordId"),e=a.get("v.results")||{},e=this.lib.results.getResultInfoFromActionRecordId(e.result,d);this.logActionClick(a,c,d,e.position,e.isSpellCorrected)},triggerLoadData:function(a){a.set("v.priv_loading",!0);this.getDataProvider(a).loadData({offset:a.get("v.currentPage"),count:a.get("v.pageSize")})},triggerRefreshedEvent:function(a){var b=a.get("v.results")||{totalSize:0,
result:[]};a.getEvent("refreshed").setParams({data:{records:b.result.slice(0),scopeMap:a.get("v.scopeMap"),totalSize:b.totalSize,hasError:b.hasError,searchLogInfo:b.searchLogInfo,gridRenderedWithLWC:!0}}).fire();this.updatePageInfo(a,b.searchLogInfo)},triggerSetScopeAndSort:function(a,b){var c=a.get("state.context"),c=this.lib.util.mergeMaps({},c);c.sortBy=b;this.fireSetScope(a,a.get("v.scopeMap"),c)}},renderer:{afterRender:function(a){a.superAfterRender()}}}});return {"xs":"I","descriptor":"markup://forceSearch:resultsGridLWC","su":"markup://forceSearch:scopedResults","ad":[["body","aura://Aura.Component[]","G",false,[]],["shouldFocus","aura://Boolean","I",false,false],["groupId","aura://String","I",true,"DEFAULT"],["updateChildren","aura://Boolean","I",true,true],["updateOnlyIfActive","aura://Boolean","I",true,true],["priv_valueProviderReady","aura://Boolean","I",false,false],["initialTerm","aura://String","I",false],["initialScopeMap","aura://Map","I",false,null],["initialContext","aura://Map","I",false,null],["inContextOfComponent","aura://String","I",false,"forceSearch:search"],["width","aura://String","PP",false],["impl","aura://String","I",false],["class","aura://String","I",false,""],["dir","aura://String","I",false,"ltr"],["namespaceOverride","aura://String","I",false],["actionable","aura://Boolean","I",false,true],["role","aura://String","I",false],["ariaDescribedBy","aura://String","PP",false,""],["value","aura://Object","PP",false,null],["visible","aura://Boolean","I",false,true],["inMultiScope","aura://Boolean","I",false,false],["enableRowActions","aura://Boolean","I",false,true],["enableSorting","aura://Boolean","I",false,true],["enableSortDirection","aura://Boolean","I",false,true],["sortBy","aura://String","I",false,""],["sortByLabel","aura://String","I",false,{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:baseResults","path":"$Label.AuraSearchUI.Relevancy"}],["stencilColumns","aura://Integer","I",false,5],["stencilRows","aura://Integer","I",false,10],["items","aura://List","I",false,[]],["searchInProgress","aura://Boolean","I",false,false],["previousTerm","aura://String","I",false,""],["pageLoaded","aura://Boolean","I",false,false],["isLookupSearch","aura://Boolean","I",false,false],["lookupSource","aura://String","I",false],["lookupField","aura://String","I",false],["lookupRecordId","aura://String","I",false],["lookupContextId","aura://String","I",false],["lookupAdditionalFields","aura://List","I",false,[]],["lookupDependentFieldBindings","aura://Map","I",false,{}],["lookupAdditionalContext","aura://Map","I",false,null],["currentPage","aura://Integer","PP",false,1],["endIndex","aura://Integer","I",false,-1],["pageCount","aura://Integer","PP",false,0],["pageSize","aura://Integer","PP",false,25],["startIndex","aura://Integer","I",false,-1],["totalItems","aura://Integer","PP",false,0],["type","aura://String","I",false],["dataProvider","aura://Aura.Component[]","I",false,[]],["searchOnInit","aura://Boolean","I",false,true],["preserveLoggingContextKeys","aura://List","I",false,["searchDialogSuggestionsListIteration","scrolled","autoLogKeys"]],["eventScope","aura://String","I",false,"search-results-container"],["priv_noResultsCmp","aura://Aura.Component","I",false,null],["priv_feedbackCmp","aura://Aura.Component","I",false,null],["priv_spinnerCmp","aura://Aura.Component","I",false,null],["priv_resultsAreSorted","aura://Boolean","I",false,false],["priv_fetchActionsFromServer","aura://Boolean","I",false,{"exprType":"FUNCTION","code":"function(cmp,fn){return ($A.get(\"$Browser.isPhone\")&&cmp.get(\"v.enableRowActions\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:baseResults","path":"$Browser.isPhone"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:baseResults","path":"v.enableRowActions"}],"byValue":false}],["priv_recordIdRankMap","aura://Map","I",false,null],["priv_showSpellCorrectionMessage","aura://Boolean","I",false,false],["priv_correctedTerm","aura://String","I",false],["priv_hasNonCorrectedResults","aura://Boolean","I",false,false],["priv_lastRecordClickEvent","aura://Integer","I",false],["scopeMap","aura://Map","I",true,null],["id","aura://String","I",false,""],["tooltip","aura://String","I",false,""],["results","aura://Map","I",true,null],["objectInfos","aura://List","I",false,[]],["priv_convertedData","aura://Object","p",false,null],["priv_listInfo","aura://Object","p",false,null],["priv_objectInfo","aura://Object","p",false,null],["priv_loading","aura://Boolean","p",false,false]],"med":[{"name":"forceSearch:update","xs":"I","action":"{!c.update}","attributes":[["type","aura://String","I",false],["term","aura://String","I",false],["scopeMap","aura://Map","I",false,null],["context","aura://Map","I",false,null],["sourceId","aura://String","I",false]]},{"name":"forceSearch:search","xs":"I","action":"{!c.search}","attributes":[["term","aura://String","I",false],["sortBy","aura://String","I",false]]},{"name":"forceSearch:showResults","xs":"I","action":"{!c.showResults}","attributes":[["results","aura://Object","I",false,null]]}],"i":["markup://ui:elementInterface","markup://forceSearch:isScopedResult","markup://ui:pagingInterface","markup://forceSearch:supportsStateManagement"],"re":[{"ed":"markup://force:searchRequest","n":"searchRequest","xs":"I"},{"ed":"markup://ui:click","n":"click","xs":"G"},{"ed":"markup://ui:dblclick","n":"dblclick","xs":"G"},{"ed":"markup://ui:mousedown","n":"mousedown","xs":"G"},{"ed":"markup://ui:mousemove","n":"mousemove","xs":"G"},{"ed":"markup://ui:mouseout","n":"mouseout","xs":"G"},{"ed":"markup://ui:mouseover","n":"mouseover","xs":"G"},{"ed":"markup://ui:mouseup","n":"mouseup","xs":"G"},{"ed":"markup://ui:dataChanged","n":"refreshed","xs":"I"},{"ed":"markup://forceSearch:resultsLoaded","n":"ended","xs":"I"},{"ed":"markup://ui:dataProvideError","n":"failed","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleObjectInfosChange"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.objectInfos"},"n":"change"},{"ed":{"descriptor":"markup://force:recordDeleted"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleRecordDeleted"}},{"ed":{"descriptor":"markup://force:dataManagerChanged"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleDataManagerChanged"},"n":"dataManagerChanged"},{"ed":{"descriptor":"markup://force:actionExecuted"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onRowActionClick"},"n":"actionExecuted"},{"ed":{"descriptor":"markup://force:closePreviewPanel"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handlePreviewClose"}}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceSearch:searchResultsGridHeader"},"localId":"header","attributes":{"values":{"totalSize":{"descriptor":"totalSize","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsGridLWC","path":"v.results.totalSize"}},"onsort":{"descriptor":"onsort","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsGridLWC","path":"c.handleSortHeader"}},"enableSorting":{"descriptor":"enableSorting","value":true},"hasError":{"descriptor":"hasError","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsGridLWC","path":"v.results.hasError"}},"moreResultsAvailable":{"descriptor":"moreResultsAvailable","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsGridLWC","path":"v.results.moreResultsAvailable"}},"filterData":{"descriptor":"filterData","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsGridLWC","path":"v.results.filterData"}},"context":{"descriptor":"context","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsGridLWC","path":"state.context"}},"searchInProgress":{"descriptor":"searchInProgress","value":false},"scopeMap":{"descriptor":"scopeMap","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsGridLWC","path":"v.scopeMap"}},"navigateToScope":{"descriptor":"navigateToScope","value":true},"sortableColumns":{"descriptor":"sortableColumns","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsGridLWC","path":"v.results.sortableColumns"}},"viewMoreClicked":{"descriptor":"viewMoreClicked","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsGridLWC","path":"c.handleViewMore"}}}}},{"componentDef":{"descriptor":"markup://search_results:searchList","type":"module"},"localId":"grid","attributes":{"values":{"onsort":{"descriptor":"onsort","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsGridLWC","path":"c.handleSortGrid"}},"onlookupclick":{"descriptor":"onlookupclick","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsGridLWC","path":"c.handleLookupClick"}},"displayType":{"descriptor":"displayType","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.results.searchMetadata.descriptive\")?\"card\":\"grid\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsGridLWC","path":"v.results.searchMetadata.descriptive"}],"byValue":false}},"listInfo":{"descriptor":"listInfo","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsGridLWC","path":"v.priv_listInfo"}},"records":{"descriptor":"records","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsGridLWC","path":"v.priv_convertedData"}},"enableLoading":{"descriptor":"enableLoading","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsGridLWC","path":"v.priv_loading"}},"disablePersistingSort":{"descriptor":"disablePersistingSort","value":true},"relatedObjectInfos":{"descriptor":"relatedObjectInfos","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.empty(cmp.get(\"v.objectInfos\"))?null:cmp.get(\"v.objectInfos\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsGridLWC","path":"v.objectInfos"}],"byValue":false}},"class":{"descriptor":"class","value":"forceSearch-searchResults--grid"},"objectInfo":{"descriptor":"objectInfo","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsGridLWC","path":"v.priv_objectInfo"}}}}},{"componentDef":{"descriptor":"markup://forceSearch:resultsGridLVMDataManager"},"localId":"dataProvider","attributes":{"values":{"context":{"descriptor":"context","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsGridLWC","path":"state.context"}},"pageSize":{"descriptor":"pageSize","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsGridLWC","path":"v.pageSize"}},"term":{"descriptor":"term","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsGridLWC","path":"state.term"}},"currentPage":{"descriptor":"currentPage","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsGridLWC","path":"v.currentPage"}},"scopeMap":{"descriptor":"scopeMap","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsGridLWC","path":"v.scopeMap"}},"inMultiScope":{"descriptor":"inMultiScope","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsGridLWC","path":"v.inMultiScope"}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:abstractFeedItem",function(){/*$A.componentService.addComponentClass("markup://forceChatter:abstractFeedItem",function(){return{meta:{name:"forceChatter$abstractFeedItem","extends":"markup://aura:component",imports:{feedLib:"markup://forceChatter:feedLib",eventHandler:"markup://forceChatter:feedEventingService",auxBody:"markup://forceChatter:auxiliaryFeedBodyService",auraServerAction:"markup://forceChatter:auraServerActionService"}},controller:{commentCreated:function(a,b,c){c.commentCreated(a,b,c)},commentUpdated:function(a,b,
c){c.findAndUpdateComment(a,b,"v.comments",!0);c.findAndUpdateComment(a,b,"v.topRankedComments",!1)},commentDeleted:function(a,b,c){if(b.getParam("associatedFeedItemId")===a.get("v.data.id")){b=b.getParam("commentId");var d=new Map,e=a.get("v.comments.items")||[];e.forEach(function(a){d.set(a.id,a)});var f=new Set;f.add(b);f.forEach(function(){e.forEach(function(a){f.has(a.threadParentId)&&f.add(a.id)})});var g=[];f.forEach(function(a){g.push(d.get(a))});g.forEach(function(a){a&&a.threadParentId&&
(a=d.get(a.threadParentId))&&a.capabilities.comments.page.total--});a.set("v.comments.items",e);c.removeCommentsFromList(a,Array.from(f),"v.comments");c.removeCommentsFromList(a,Array.from(f),"v.topRankedComments");a._deletedComments=a._deletedComments||{};a._deletedComments[b]||(a._deletedComments[b]=!0,a.set("v.comments.total",parseInt(a.get("v.comments.total"),10)-f.size),a.set("v.data.capabilities.comments.page.total",parseInt(a.get("v.data.capabilities.comments.page.total"),10)-f.size))}},bookmarkUpdated:function(a,
b,c){if(b.getParam("feedItemId")===a.get("v.data.id")&&(b=b.getParam("bookmarked"),a.set("v.data.capabilities.bookmarks.isBookmarkedByCurrentUser",b),c&&c.feedLib)){var d=a.get("v.data");c.feedLib.util.logFeedInteraction(a,"feeditem",b?"bookmark":"un-bookmark",$A.util.lookup(d,"id"),{likeCount:$A.util.lookup(d,"capabilities","chatterLikes","page","total"),viewCount:$A.util.lookup(d,"capabilities","interactions","count"),commentCount:$A.util.lookup(d,"capabilities","comments","page","total")})}},visibilityUpdated:function(a,
b,c){if(b.getParam("feedItemId")===a.get("v.data.id")&&(b=b.getParam("visibility"),a.set("v.data.visibility",b),c&&c.feedLib)){var d=a.get("v.data"),e="make-private";"AllUsers"===b&&(e="make-public");c.feedLib.util.logFeedInteraction(a,"feeditem",e,$A.util.lookup(d,"id"),{likeCount:$A.util.lookup(d,"capabilities","chatterLikes","page","total"),viewCount:$A.util.lookup(d,"capabilities","interactions","count"),commentCount:$A.util.lookup(d,"capabilities","comments","page","total")})}},swapAndOpenMenu:function(a,
b,c){b&&a.get("v.stopMenuPropagation")&&b.stopPropagation();a.set("v.stopMenuPropagation",!0);if(!b.keyCode||!(13!==b.keyCode&&32!==b.keyCode&&(37>b.keyCode||40<b.keyCode))){var d=a.getConcreteComponent(),e=d.helper.getOverflowComponentName(a,b);b=d.helper.getOverflowComponentAttributes(a,b);$A.createComponent(e,b,function(b,d,e){b&&"SUCCESS"===d?(a.set("v._overflowActionMenu",b),b.getEvent("trigger").fire()):"INCOMPLETE"===d?$A.getEvt("markup://force:showOfflineMessage").setParams({retryFunction:c.swapAndOpenMenu}).fire():
"ERROR"===d&&$A.log("Error: "+e)})}}},helper:{init:function(a,b,c){b=a.get("v.data");c=c.auxBody.service;0<c.countAuxBodies(b)&&c.requireAuxBodyComponents(b,$A.getCallback(function(){a.isValid()&&a.set("v._hasAuxBodies",!0)}))},feedItemClicked:function(a,b,c){$A.util.isUndefinedOrNull(a.get("v.config"))||a.set("v.communityId",a.get("v.config.communityId.rawValue"));c.eventHandler.service.handleEvent(a,b,c,"click")},commentCreated:function(a,b,c){b=b.getParam("comment");if(b.feedElement.id===a.get("v.data.id")&&
(a.set("v.comments.total",parseInt(a.get("v.comments.total"),10)+1),a.set("v.data.capabilities.comments.page.total",parseInt(a.get("v.data.capabilities.comments.page.total"),10)+1),c=a.getElement(),c=this.feedLib.util.closestMatch(c,".oneContent"),!c||this.feedLib.util.matches(c,".active")))if(c=a.get("v.comments.items")){var d={};$A.util.apply(d,b,!0,!0);for(b=0;b<c.length;++b)if(c[b].id===d.id)return;c.push(d);d.threadParentId&&(b=c.reduce(function(a,b){return void 0===a&&b.id===d.threadParentId?
b:a},void 0),void 0!==b&&b.capabilities.comments.page.total++);a.set("v.comments.items",c)}},getOverflowComponentName:function(a,b){return"forceChatter:overflowActionMenu"},getOverflowComponentAttributes:function(a){var b=!1;"CollaborationGroup"===a.get("v.data").parent.type&&(b="PublicAccess"===a.get("v.data").parent.visibility);return{"aura:id":"overflowActionMenu",data:a.getReference("v.data"),contextUser:a.getReference("v.config.feedDisplayConfig.contextUser"),triggerClass:"cuf-feedItemActionTrigger",
feedType:a.getReference("v.feedType"),mode:a.getReference("v.config.feedDisplayConfig.mode"),communityId:a.getReference("v.config.communityId.rawValue"),containerId:a.getReference("v.subjectId"),isUpDownVoteEnabled:a.get("v.config.isUpDownVoteEnabled"),showDeleteIfAvailable:a.get("v.config.canUserDeleteComment"),canUserMoveThisPost:b&&"TrackedChange"!==a.get("v.data.type")&&a.get("v.config").canUserMovePosts}},findAndUpdateComment:function(a,b,c,d){var e=$A.util.lookup(a.get(c),"items");if(e){b=b.getParam("comment");
var f=b.feedElement.id,g=a.get("v.data");if(f===g.id)for(var h=0;h<e.length;++h)if(b.id===e[h].id){e[h]=b;a.set(c.concat(".items"),e);c=$A.util.lookup(g,"capabilities","questionAndAnswers","bestAnswer");d&&(c&&c.id===b.id)&&(b.pendingReview?(g.capabilities.questionAndAnswers.bestAnswer=null,g.capabilities.questionAndAnswers.bestAnswerSelectedBy=null):g.capabilities.questionAndAnswers.bestAnswer=b,a.set("v.data",g),$A.getEvt("markup://forceChatter:capabilityUpdated").setParams({feedItemId:f,capabilityType:"questionAndAnswers"}).fire());
break}}},removeCommentsFromList:function(a,b,c){var d=$A.util.lookup(a.get(c),"items");d&&(b.forEach(function(a){for(var b=0;b<d.length;++b)if(d[b].id===a){d.splice(b,1);break}}),a.set(c.concat(".items"),d))},generateSetBestAnswerHandler:function(a){var b=this;return function(c){c.stopPropagation();(c=$A.util.lookup(c,"detail","commentId"))&&b.setBestAnswer(a,c)}},generateClearBestAnswerHandler:function(a){var b=this;return function(c){c.stopPropagation();b.setBestAnswer(a,null)}},registerBestAnswerDomEventHandlers:function(a){var b=
a.getElements()||[],c=new Map;c.set("setbestanswer",$A.getCallback(this.generateSetBestAnswerHandler(a)));c.set("clearbestanswer",$A.getCallback(this.generateClearBestAnswerHandler(a)));var d=b.map(function(a){c.forEach(function(b,c){a.addEventListener(c,b)});return function(){c.forEach(function(b,c){a.removeEventListener(c,b)})}});return function(){d.forEach(function(a){a()})}},setBestAnswer:function(a,b){var c=this;if(!a._isSubmittingSetBestAnswer){a._isSubmittingSetBestAnswer=!0;var d=a.get("v.data.id"),
e={commentId:b,feedItemId:d,communityId:a.get("v.config.communityId.rawValue")};return c.auraServerAction.service.callMethod(a,"setBestAnswer",e).then($A.getCallback(function(b){b=b.getReturnValue();var c=a.get("v.data"),e=c.capabilities.questionAndAnswers,k;for(k in b)e[k]=b[k];a.set("v.data",c);$A.getEvt("markup://forceChatter:capabilityUpdated").setParams({feedItemId:d,capabilityType:"questionAndAnswers"}).fire()})).catch($A.getCallback(function(a){var b=c.auraServerAction.service.responseStates,
d=$A.util.isObject(a)?a.getState():"capabilityUpdated for setBestAnswer returned No Response";d===b.error?$A.getEvt("markup://force:showMessage").setParams({message:a.getError()[0].message,severity:"error"}).fire():d===b.incomplete?$A.getEvt("markup://force:showOfflineMessage").setParams({retryAction:a}).fire():console.log("Failed",a)})).then($A.getCallback(function(){a._isSubmittingSetBestAnswer=!1}))}}},renderer:{afterRender:function(a,b){a.superAfterRender();b.registerBestAnswerDomEventHandlers(a)}}}});return {"xs":"I","descriptor":"markup://forceChatter:abstractFeedItem","st":{"descriptor":"css://forceChatter.abstractFeedItem","cl":"forceChatterAbstractFeedItem"},"cd":{"descriptor":"compound://forceChatter.abstractFeedItem","ac":[{"n":"isFeedItemEditableByMe","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$isFeedItemEditableByMe","at":"SERVER","rt":"java://boolean","pa":[{"name":"feedItemId","type":"java://java.lang.String"}]},{"n":"updateVisibility","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$updateVisibility","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.feeds.AbstractFeedElementRepresentation","pa":[{"name":"feedItemInput","type":"java://sfdc.chatter.connect.api.input.feeds.FeedItemInputRepresentation"},{"name":"feedItemId","type":"java://java.lang.String","loggable":true}]},{"n":"getFeedItemActions","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$getFeedItemActions","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"feedItemId","type":"java://java.lang.String"}]},{"n":"setBestAnswer","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$setBestAnswer","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.feeds.QuestionAndAnswersCapabilityRepresentation","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"commentId","type":"java://java.lang.String","loggable":true},{"name":"communityId","type":"java://java.lang.String","loggable":true}]},{"n":"deleteFeedItem","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$deleteFeedItem","at":"SERVER","rt":"java://void","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true}]},{"n":"updateCloseStatus","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$updateCloseStatus","at":"SERVER","rt":"java://void","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"communityId","type":"java://java.lang.String"},{"name":"isClosed","type":"java://boolean"}]},{"n":"updatePinStatus","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$updatePinStatus","at":"SERVER","rt":"java://void","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"feedType","type":"java://java.lang.String"},{"name":"subjectId","type":"java://java.lang.String"},{"name":"isPinned","type":"java://boolean"}]},{"n":"updateBookmark","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$updateBookmark","at":"SERVER","rt":"java://boolean","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"hasBookmark","type":"java://boolean"},{"name":"communityId","type":"java://java.lang.String","loggable":true}]},{"n":"updateMute","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$updateMute","at":"SERVER","rt":"java://void","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"isMuted","type":"java://boolean"}]},{"n":"getFeedEntityIsEditableByMe","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$getFeedEntityIsEditableByMe","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.feeds.FeedEntityIsEditableRepresentation","pa":[{"name":"feedItemId","type":"java://java.lang.String"},{"name":"communityId","type":"java://java.lang.String","loggable":true}]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["searchQueryId","aura://String","I",false],["feedItemPosition","aura://String","I",false],["subjectId","aura://String","I",false],["sortOrder","aura://String","I",false],["feedDesign","aura://String","I",false,"BROWSE"],["config","java://ui.chatter.api.FeedConfig","I",false,null],["feedDisplayConfig","java://ui.chatter.api.FeedDisplayConfig","I",false,null],["data","java://sfdc.chatter.connect.api.output.feeds.FeedItemRepresentation","I",false,null],["feedType","aura://String","I",false],["comments","aura://Object","I",false,null],["topRankedComments","aura://Object","I",false,null],["isInPrivateGroup","aura://Boolean","I",false,false],["isTopicsEnabled","aura://Boolean","I",false,false],["showGroupMentionVisibility","aura://Boolean","I",false,false],["showFeedItemActions","aura://Boolean","I",false,true],["commentActions","aura://List","I",false,[]],["stopMenuPropagation","aura://Boolean","I",false,false],["isPinned","aura://Boolean","I",false,false],["communityId","aura://String","I",false],["_pendingReview","aura://Boolean","I",false,false],["_hasAuxBodies","aura://Boolean","I",false,false],["_overflowActionMenu","aura://Aura.Component","I",false,null]],"i":["markup://forceChatter:additionalFeedLogData","markup://forceChatter:respectFeedDesign"],"hd":[{"ed":{"descriptor":"markup://forceChatter:commentCreated"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.commentCreated"}},{"ed":{"descriptor":"markup://forceChatter:commentDeleted"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.commentDeleted"}},{"ed":{"descriptor":"markup://forceChatter:commentUpdated"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.commentUpdated"}},{"ed":{"descriptor":"markup://forceChatter:bookmarkUpdated"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.bookmarkUpdated"}},{"ed":{"descriptor":"markup://forceChatter:feedItemVisibilityUpdated"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.visibilityUpdated"}}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:abstractFeedItem","path":"v.body"}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://objectManager:actionsMenuItem",function(){/*$A.componentService.addComponentClass("markup://objectManager:actionsMenuItem",function(){return{meta:{name:"objectManager$actionsMenuItem","extends":"markup://ui:actionMenuItem"},controller:{menuSelect:function(a,b,c){(a=a.find("actionLink"))&&a.getEvent("trigger").fire()}}}});return {"xs":"I","descriptor":"markup://objectManager:actionsMenuItem","su":"markup://ui:actionMenuItem","ad":[["body","aura://Aura.Component[]","G",false,[]],["class","aura://String","G",false],["dir","aura://String","I",false,"ltr"],["namespaceOverride","aura://String","I",false],["actionable","aura://Boolean","I",false,true],["role","aura://String","I",false,"menuitem"],["ariaDescribedBy","aura://String","PP",false,""],["value","aura://Object","PP",false,null],["visible","aura://Boolean","I",false,true],["selected","aura://Boolean","G",false,false],["type","aura://String","G",false],["label","aura://String","G",false],["hideMenuAfterSelected","aura://Boolean","G",false,true],["disabled","aura://Boolean","G",false,false],["id","aura://String","I",false],["targetSelectionName","aura://String","I",false],["action","java://ui.services.models.Action","I",false,null],["listTypeLabel","aura://String","I",false],["itemLabel","aura://String","I",false]],"med":[{"name":"ui:select","xs":"I","action":"{!c.select}"},{"name":"ui:setFocus","xs":"I","action":"{!c.setFocus}"}],"re":[{"ed":"markup://ui:click","n":"click","xs":"G"},{"ed":"markup://ui:dblclick","n":"dblclick","xs":"G"},{"ed":"markup://ui:mousedown","n":"mousedown","xs":"G"},{"ed":"markup://ui:mousemove","n":"mousemove","xs":"G"},{"ed":"markup://ui:mouseout","n":"mouseout","xs":"G"},{"ed":"markup://ui:mouseover","n":"mouseover","xs":"G"},{"ed":"markup://ui:mouseup","n":"mouseup","xs":"G"},{"ed":"markup://ui:blur","n":"blur","xs":"G"},{"ed":"markup://ui:focus","n":"focus","xs":"G"},{"ed":"markup://ui:keydown","n":"keydown","xs":"G"},{"ed":"markup://ui:keypress","n":"keypress","xs":"G"},{"ed":"markup://ui:keyup","n":"keyup","xs":"G"},{"ed":"markup://ui:select","n":"select","xs":"G"},{"ed":"markup://ui:menuSelect","n":"menuSelect","xs":"PP"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.menuSelect"},"n":"menuSelect"}],"ld":{"actionLink":{"context":{"id":{"exprType":"PROPERTY","byValue":false,"target":"objectManager:actionsMenuItem","path":"v.action.devNameOrId"},"url":{"exprType":"PROPERTY","byValue":false,"target":"objectManager:actionsMenuItem","path":"v.action.url"}},"alias":"menu-item"}},"fa":[{"descriptor":"hideMenuAfterSelected","value":true},{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:action"},"localId":"actionLink","attributes":{"values":{"action":{"descriptor":"action","value":{"exprType":"PROPERTY","byValue":false,"target":"objectManager:actionsMenuItem","path":"v.action"}},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"objectManager:actionsMenuItem","path":"v.action.label"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"assistiveText"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"objectManager:actionsMenuItem","path":"v.listTypeLabel"}}}}},{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"objectManager:actionsMenuItem","path":"v.itemLabel"}}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://emailui:emailAttachment",function(){/*$A.componentService.addComponentClass("markup://emailui:emailAttachment",function(){return{meta:{name:"emailui$emailAttachment","extends":"markup://aura:component",imports:{contentLib:"markup://forceContent:contentLib"}},controller:{init:function(a,c,b){c=a.get("v.docId");b=a.get("v.docType");var d=a.get("v.name");if(($A.util.isUndefinedOrNull(d)||$A.util.isUndefinedOrNull(b))&&!$A.util.isUndefinedOrNull(c)&&!$A.util.isEmpty(c))b=a.get("c.getFileRecord"),b.setParams({attachmentId:c}),b.setCallback(this,
function(b){var c=b.getState();"SUCCESS"===c?(b=b.getReturnValue(),$A.util.isUndefinedOrNull(b)||(a.set("v.docType",b.ContentType),a.set("v.name",b.Name))):"ERROR"===c&&(c=b.getError(),$A.util.isArray(c)&&0<c.length&&$A.getEvt("markup://force:showMessage").setParams({message:b.getError()[0].message,severity:"error"}).fire())}),b.setStorable(),$A.enqueueAction(b)},click:function(a,c,b){$A.util.squash(c);b.navigate(a)},removeIt:function(a,c,b){c=a.get("v.docId");b=$A.getEvt("markup://forceChatter:removeSelectedFile");
b.setParams({docId:c,componentId:a.get("v.attachComponentId")});b.fire()}},helper:{navigate:function(a){if(a=a.get("v.docId"))a=($A.get("$Site")?$A.get("$Site").coreUrlPrefix:"")+"/servlet/servlet.FileDownload?file\x3d"+a,window.open(a,"_blank")},stopPropagation:function(a){a&&(a.getParams?(a=a.getParams())&&a.domEvent&&$A.util.squash(a.domEvent,!0):$A.util.squash(a,!0))}}}});return {"xs":"I","descriptor":"markup://emailui:emailAttachment","st":{"descriptor":"css://emailui.emailAttachment","cl":"emailuiEmailAttachment"},"cd":{"descriptor":"compound://emailui.emailAttachment","ac":[{"n":"getFileRecord","descriptor":"serviceComponent://ui.email.components.aura.components.emailcomposer.EmailAttachmentController/ACTION$getFileRecord","at":"SERVER","rt":"java://ui.services.connection.models.api.Record","pa":[{"name":"attachmentId","type":"java://java.lang.String"}]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["name","aura://String","I",false],["docType","aura://String","I",false],["filePath","aura://String","I",false],["docId","aura://String","I",true],["size","aura://String","I",false,"medium"],["attachComponentId","aura://String","I",false],["removable","aura://Boolean","I",false,false],["fileSize","aura://String","I",false],["inContextOfComponent","aura://String","I",false]],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"fileBadgeContainer slds-grid slds-align_absolute-center"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"innerFileBadgeContainer slds-grid slds-size_1-of-1 slds-no-space"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"left slds-avatar--x-small"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:fileIcon"},"attributes":{"values":{"fileType":{"descriptor":"fileType","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailAttachment","path":"v.docType"}},"size":{"descriptor":"size","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailAttachment","path":"v.size"}},"filePath":{"descriptor":"filePath","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailAttachment","path":"v.filePath"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"body slds-col slds-truncate"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onclick":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailAttachment","path":"c.click"},"rel":"theater","title":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailAttachment","path":"$Label.ChatterFileFeeds.ViewFile"},"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"fileBadgeContainer slds-truncate\",(fn.eq(cmp.get(\"v.docId\"),null)?\" slds-text-link_reset\":\"\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailAttachment","path":"v.docId"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:formattedText","type":"module"},"attributes":{"values":{"title":{"descriptor":"title","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailAttachment","path":"$Label.Publisher.PreviewFileAttachment"}},"class":{"descriptor":"class","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\" contentPostFilePath \",(fn.eq(cmp.get(\"v.docType\"),null)?\"sfs\":\"\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailAttachment","path":"v.docType"}],"byValue":false}},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailAttachment","path":"v.name"}}}}}]}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"fileSize","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"align":"right","class":"fileSize"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:fileSize"},"localId":"sizeCmp","attributes":{"values":{"bytes":{"descriptor":"bytes","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailAttachment","path":"v.fileSize"}},"showZeroByte":{"descriptor":"showZeroByte","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq(cmp.get(\"v.inContextOfComponent\"),\"Publisher\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailAttachment","path":"v.inContextOfComponent"}],"byValue":false}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.ne(cmp.get(\"v.fileSize\"),null);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailAttachment","path":"v.fileSize"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:buttonIcon"},"localId":"delete","attributes":{"values":{"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailAttachment","path":"c.removeIt"}},"iconName":{"descriptor":"iconName","value":"utility:close"},"title":{"descriptor":"title","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailAttachment","path":"$Label.Publisher.RemoveFileAttachment"}},"class":{"descriptor":"class","value":"contentPostFileRemove"},"alternativeText":{"descriptor":"alternativeText","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.format($A.get(\"$Label.Publisher.RemoveAttachment\"),cmp.get(\"v.name\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailAttachment","path":"v.name"},{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailAttachment","path":"$Label.Publisher.RemoveAttachment"}],"byValue":false}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailAttachment","path":"v.removable"}}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://ui:tabset",function(){/*$A.componentService.addComponentClass("markup://ui:tabset",function(){return{meta:{name:"ui$tabset","extends":"markup://aura:component"},controller:{onInit:function(b,a,c){c.initTabs(b)},handleDestroy:function(b,a,c){c.handleDestroy(b)},closeTab:function(b,a,c){c.closeTab(b,c.getTabIndexFromEvent(b,a))},removeTab:function(b,a,c){c.removeTab(b,c.getTabIndexFromEvent(b,a))},addTab:function(b,a,c){c.addTab(b,a.getParam("index"),a.getParam("tab"),a.getParam("callback"),a.getParam("name"))},updateTab:function(b,
a,c){c.updateTab(b,a.getParam("index"),a.getParam("tab"),a.getParam("callback"),a.getParam("name"))},getActiveTab:function(b,a,c){a=a.getParam("callback");"function"===typeof a&&(c=c.getActiveTab(b),b=b._tabCollection.getTabIndex({tab:c}),a({index:b,tab:c}))},activateTab:function(b,a,c){var d=c.getTabIndexFromEvent(b,a);a=a.getParams();a.index=d;c.fireBeforeActiveEvent(b,a)&&c.setActive(b,{index:d})},onTabActivated:function(b,a,c){var d=a.getParam("index"),e=a.getParam("focus");c.fireBeforeActiveEvent(b,
a.getParams())&&c.setActive(b,{index:d,focus:$A.util.isUndefinedOrNull(e)||e})},onTabClosed:function(b,a,c){c.removeTabBody(b,a.getParam("index"))},clearTabs:function(b,a,c){for(a=b._tabCollection.getSize()-1;0<=a;a--)c.removeTab(b,a)}},helper:{setActive:function(b,a){var c=a.active,d=a.index,e=a.tab;"undefined"===typeof c&&(c=!0);e||(e=b._tabCollection.getTab(d));e&&this.fireBeforeActiveEvent(b,{tab:e,oldTab:this.getActiveTab(b)},e)&&(b.find("tabBar").get("e.setActive").setComponentEvent().fire({index:d,
active:c,focus:a.focus}),this.setActiveTabBody(b,{index:d,active:c,tab:e}),b.get("e.onActivate").setComponentEvent().fire({tab:e,index:a.index}))},addTab:function(b,a,c,d,e){var g=b._tabCollection.getSize();if($A.util.isUndefined(a)||0>a||a>g)a=g;this.createTabComponent(b,c,function(c){b._tabCollection.insertTab(a,c);var g=c.get("v.active");b.find("tabBar").get("e.addTab").setParams({index:a,active:g,name:e,tab:this.getTabItemConfig(b,c)}).setComponentEvent().fire();c.get("v.active")&&this.setActiveTabBody(b,
{index:a,tab:c,active:!0});$A.util.isFunction(d)&&d({tab:c})}.bind(this))},updateTab:function(b,a,c,d,e){b.find("tabBar").get("e.updateTab").setParams({index:a,name:e,tab:c}).setComponentEvent().fire();a=e?b._tabCollection.getTabIndex({name:e}):a;(b=b._tabCollection.getTab(a))&&c.body&&b.set("v.body",c.body);$A.util.isFunction(d)&&d({tab:b})},removeTab:function(b,a){var c=this;b.find("tabBar").get("e.closeTab").setParams({index:a,callback:function(d){d&&c.removeTabBody(b,a)}}).setComponentEvent().fire()},
getActiveTab:function(b){return b._activeTab},fireBeforeActiveEvent:function(b,a,c){var d=!0;c=c||b;var e="number"===typeof a.index?b._tabCollection.getTab(a.index):a.tab;b="number"===typeof a.oldTab?b._tabCollection.getTab(a.oldTab):a.oldTab;c.get("e.beforeActivate").setComponentEvent().fire({tab:e,oldTab:b,callback:function(a){d=a}});return d},getTabIndexFromEvent:function(b,a){var c=a.getParam("index"),d=a.getParam("name"),e=a.getParam("tab");$A.util.isString(c)?c=parseInt(c):$A.util.isNumber(c)||
(c=b._tabCollection.getTabIndex({name:d,tab:e}));return c},setActiveTabBody:function(b,a){var c=a.tab,d=b._activeTab===c;a.active&&!d?(b._activeTab&&b._activeTab.isValid()&&b._activeTab.get("e.setActive").setComponentEvent().fire({active:!1}),c.get("e.setActive").setComponentEvent().fire({active:!0}),c.isRendered()||(d=b.get("v.body"),d.push(c),b.set("v.body",d)),b._activeTab=c):!1===a.active&&d&&(c.get("e.setActive").setComponentEvent().fire({active:!1}),b._activeTab=null)},removeTabBody:function(b,
a){var c=b._tabCollection.getTab(a),d=c&&c.get("v.name"),e=b._tabCollection.getTabIndex({tab:b._activeTab});b._tabCollection.removeTab(a);var g=b._tabCollection.getSize();0<g&&a===e&&(a=a===g?--a:a%g,this.setActive(b,{index:a}));c&&(c={index:a},d&&(c.name=d),b.get("e.onRemove").setComponentEvent().fire(c))},initTabs:function(b){var a=b.get("v.tabs");b._tabCollection=this.createTabCollection();a&&0<a.length?this.createTabsFromAttribute(b,a):this.getTabsFromBody(b);$A.util.getBooleanValue(b.get("v.lazyRenderTabs"))&&
b.set("v.body",[])},finishInit:function(b,a){b._activeTabIndex=a.activeIndex;b._tabCollection.init(a.tabs,a.tabIds,a.tabNames);b.set("v.tabItems",a.tabItemConfigs,!0)},createTabsFromAttribute:function(b,a){for(var c=[],d=[],e=[],g=[],f=0,h=$A.util.getBooleanValue(b.get("v.lazyRenderTabs")),n=0,m=a.length-1,l=function(a){var k=a.getGlobalId(),l=a.get("v.name");d.push(k);c[k]=a;e.push(this.getTabItemConfig(b,a));l&&(g[l]={tabId:k});a.get("v.active")&&(f=n);n===m&&(b._activeTabIndex=f,b._tabCollection.init(c,
d,g),b.set("v.tabItems",e),h||b.set("v.body",c));n++}.bind(this),k=0;k<a.length;k++)this.createTabComponent(b,a[k],l)},getTabsFromBody:function(b){var a=[],c=[],d=[],e=[],g=0,f,h;h=b.getConcreteComponent().get("v.body");for(f=0;f<h.length;f++)if(h[f].isInstanceOf("aura:iteration")&&!$A.util.getBooleanValue(h[f].get("v.loaded"))){h[f].addHandler("iterationComplete",b,"{!c.onInit}");return}var n=this.getTabComponents(h);f=0;for(h=n.length;f<h;f++){var m=n[f],l=m.getGlobalId(),k=m.get("v.name");m.get("v.active")&&
(g=f);k&&(e[k]={tabId:l,index:f});c.push(l);d.push(this.getTabItemConfig(b,m));a[l]=m}this.finishInit(b,{tabs:a,tabIds:c,activeIndex:g,tabItemConfigs:d,tabNames:e})},createTabComponent:function(b,a,c){$A.util.isObject(a)&&(b=a.componentDef||a.descriptor?a.componentDef||a.descriptor:this.CONSTANTS.TAB_DEF,a.body||(a.body=[]),a={descriptor:b,attributes:a},a=$A.createComponentFromConfig(a),c(a))},getTabItemConfig:function(b,a){var c={},d={},e=this.CONSTANTS.TAB_ITEM_DEF;$A.componentService.getDef(e).getAttributeDefs().each(function(b){b=
b.getDescriptor().getName();"body"!==b&&(d[b]=a.getReference("v."+b))});a.get("v.ariaControlId")||a.set("v.ariaControlId",a.getGlobalId());c.localId="tabItem";c.attributes=d;c.descriptor=e;c.valueProvider=b;return c},getTabComponents:function(b){var a=[];if(!b)return a;for(var c=0;c<b.length;c++){var d=b[c],e=this._getTabComponent(d,"ui:tab");e?a.push(e):a=a.concat(this.getTabComponents(this._getSuperest(d).get("v.body")))}return a},_getTabComponent:function(b,a){if(b.isInstanceOf(a))return b;var c=
b.getSuper();return c?this._getTabComponent(c,a):null},_getSuperest:function(b){var a=b.getSuper();return a?(b=this._getSuperest(a))?b:a:b},handleDestroy:function(b){b._tabCollection.destroy();b._tabCollection=[]},createTabCollection:function(){var b=function(){this.tabComponents=[];this.tabIds=[];this.tabNames=[]};b.prototype={init:function(a,b,d){this.tabComponents=a;this.tabIds=b;this.tabNames=d},getTabIndex:function(a){var b=-1;a.name?(a=this.tabNames[a.name])&&(b=this.tabIds.indexOf(a.tabId)):
$A.util.isComponent(a.tab)&&(b=a.tab.getGlobalId(),b=this.tabIds.indexOf(b));return b},getTab:function(a){var b=null;0<=a&&a<this.getSize()&&(b=this.tabComponents[this.tabIds[a]]);return b},removeTab:function(a){$A.util.isNumber(a)&&(0<=a&&a<this.tabIds.length)&&(a=this.tabIds.splice(a,1),this.tabComponents[a[0]].destroy(),delete this.tabComponents[a[0]])},insertTab:function(a,b){if($A.util.isComponent(b)){var d=b.getGlobalId(),e=b.get("v.name");e&&(this.tabNames[e]={tabId:d});this.tabIds.splice(a,
0,d);this.tabComponents[d]=b}},getSize:function(){return this.tabIds.length},destroy:function(){var a=this.tabComponents,b;for(b in a)a.hasOwnProperty(b)&&a[b].destroy();this.tabComponents=this.tabIds=null}};return new b},CONSTANTS:{TAB_DEF:"markup://ui:tab",TAB_ITEM_DEF:"markup://ui:tabItem"}},renderer:{afterRender:function(b,a){b.superAfterRender();a.setActive(b,{index:b._activeTabIndex})}}}});return {"xs":"PP","descriptor":"markup://ui:tabset","st":{"descriptor":"css://ui.tabset","cl":"uiTabset"},"fst":{"descriptor":"css://ui.tabset"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["class","aura://String","PP",false],["dir","aura://String","I",false,"ltr"],["namespaceOverride","aura://String","I",false],["actionable","aura://Boolean","I",false,true],["role","aura://String","I",false],["ariaDescribedBy","aura://String","PP",false,""],["value","aura://Object","PP",false,null],["visible","aura://Boolean","I",false,true],["tabs","aura://List","I",false,[]],["tabItems","aura://List","p",false,[]],["name","aura://String","I",false],["lazyRenderTabs","aura://Boolean","I",false,false],["ariaLabel","aura://String","I",false],["useOverflowMenu","aura://Boolean","I",false,false],["overflowLabel","aura://String","I",false,"More"]],"i":["markup://ui:visible"],"re":[{"ed":"markup://ui:click","n":"click","xs":"G"},{"ed":"markup://ui:dblclick","n":"dblclick","xs":"G"},{"ed":"markup://ui:mousedown","n":"mousedown","xs":"G"},{"ed":"markup://ui:mousemove","n":"mousemove","xs":"G"},{"ed":"markup://ui:mouseout","n":"mouseout","xs":"G"},{"ed":"markup://ui:mouseover","n":"mouseover","xs":"G"},{"ed":"markup://ui:mouseup","n":"mouseup","xs":"G"},{"ed":"markup://ui:tabsetEvent","n":"addTab","xs":"I"},{"ed":"markup://ui:tabsetEvent","n":"activateTab","xs":"I"},{"ed":"markup://ui:tabsetEvent","n":"clearTabs","xs":"I"},{"ed":"markup://ui:tabsetEvent","n":"getActiveTab","xs":"I"},{"ed":"markup://ui:tabsetEvent","n":"beforeActivate","xs":"PP"},{"ed":"markup://ui:tabsetEvent","n":"onActivate","xs":"I"},{"ed":"markup://ui:tabsetEvent","n":"onRemove","xs":"I"},{"ed":"markup://ui:tabsetEvent","n":"updateTab","xs":"I"},{"ed":"markup://ui:tabsetEvent","n":"removeTab","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onInit"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleDestroy"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"destroy"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.addTab"},"n":"addTab"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.removeTab"},"n":"removeTab"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.updateTab"},"n":"updateTab"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.activateTab"},"n":"activateTab"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.getActiveTab"},"n":"getActiveTab"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.clearTabs"},"n":"clearTabs"}],"ld":{"tabBar":{"context":{"tab-name":{"exprType":"PROPERTY","byValue":false,"target":"ui:tabset","path":"v.name"}},"alias":"tab-bar"},"tabItem":{"context":{"tab-name":{"exprType":"PROPERTY","byValue":false,"target":"ui:tabset","path":"v.name"}},"alias":"tab-set"}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"tabContainer","flavorable":true,"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"PROPERTY","byValue":false,"target":"ui:tabset","path":"v.class"}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:tabBar"},"localId":"tabBar","attributes":{"values":{"onTabActivated":{"descriptor":"onTabActivated","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:tabset","path":"c.onTabActivated"}},"overflowLabel":{"descriptor":"overflowLabel","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:tabset","path":"v.overflowLabel"}},"onTabClosed":{"descriptor":"onTabClosed","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:tabset","path":"c.onTabClosed"}},"tabs":{"descriptor":"tabs","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:tabset","path":"v.tabItems"}},"name":{"descriptor":"name","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:tabset","path":"v.name"}},"useOverflowMenu":{"descriptor":"useOverflowMenu","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:tabset","path":"v.useOverflowMenu"}},"ariaLabel":{"descriptor":"ariaLabel","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:tabset","path":"v.ariaLabel"}}}}},{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:tabset","path":"v.body"}}}}}]}}}}]}],"df":"default","fc":true,"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:recommendations",function(){/*$A.componentService.addComponentClass("markup://forceChatter:recommendations",function() {
return {
  "meta":{
    "name":"forceChatter$recommendations",
    "extends":"markup://aura:component"
  }
};
});
return {"xs":"I","descriptor":"markup://forceChatter:recommendations","st":{"descriptor":"css://forceChatter.recommendations","cl":"forceChatterRecommendations"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["title","aura://String","I",false,{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendations","path":"$Label.Recommendations.einstein_header"}],["displayNumber","aura://Integer","I",false,3],["recommendationTypes","aura://String[]","I",false,["users","groups"]],["placeHolder","aura://Aura.Component[]","I",false,[]]],"i":["markup://flexipage:availableForRecordHome","markup://home:availableForDesktop"],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:recommendationListWidget"},"attributes":{"values":{"useTileCard":{"descriptor":"useTileCard","value":false},"recommendationTypes":{"descriptor":"recommendationTypes","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendations","path":"v.recommendationTypes"}},"placeHolder":{"descriptor":"placeHolder","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendations","path":"v.placeHolder"}},"title":{"descriptor":"title","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendations","path":"v.title"}},"displayNumber":{"descriptor":"displayNumber","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendations","path":"v.displayNumber"}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:feedAnchorSubMenu",function(){/*$A.componentService.addComponentClass("markup://forceChatter:feedAnchorSubMenu",function(){return{meta:{name:"forceChatter$feedAnchorSubMenu","extends":"markup://aura:component",imports:{feedLib:"markup://forceChatter:feedLib",chatterHomeStateLib:"markup://forceChatter:chatterHomeState"}},controller:{init:function(a,b,d){if(a=a.get("v.listItems"))for(b=0;b<a.length;b++){var c=a[b];c.href=d.feedLib.util.generateFeedHref(c.feedType,c.subjectId,c.recordTypeId)}},switchFeed:function(a,b,d){var c=b.currentTarget.getAttribute("data-feedType");
a=b.currentTarget.getAttribute("data-subjectId");var f=b.currentTarget.getAttribute("data-recordTypeId"),e=d.feedLib.util.isMetaKeyPressed(b);$A.util.squash(b,!e);e||(a&&-1<a.indexOf("0F9")?d.chatterHomeStateLib.state.navigateToFeed(a,c,f||"default"):d.chatterHomeStateLib.state.navigateToFeed(a,c),b={feedType:c},a&&(b.subjectId="005"===a.substring(0,3)?"user":a),$A.metricsService.transaction("ltng","interaction",{context:{eventSource:"synthetic-click",eventType:"user",locator:{target:"feed-anchor-submenu-switchFeed",
scope:"ChatterFeed-feedAnchor",context:b}}}))}}}});return {"xs":"I","descriptor":"markup://forceChatter:feedAnchorSubMenu","st":{"descriptor":"css://forceChatter.feedAnchorSubMenu","cl":"forceChatterFeedAnchorSubMenu"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["header","aura://String","I",false],["headerHandler","aura://Aura.Component","I",false,null],["headerStyling","aura://Boolean","I",false],["listItems","aura://Object[]","I",true,[]],["maxItemsDisplayed","aura://Integer","I",false],["maxItems","aura://Integer","I",false],["totalItems","aura://Integer","I",false],["contextId","aura://String","I",true],["newItemHandler","aura://Aura.Component","I",false,null],["newItemLabel","aura://String","I",false],["noItemsTitle","aura://String","I",false],["noItemsText","aura://String","I",false],["showNewItemAction","aura://Boolean","I",false],["headerHref","aura://String","I",false]],"re":[{"ed":"markup://forceChatter:feedAnchorSubMenuUpdated","n":"subMenuUpdated","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"}],"ld":{"feed-anchor-submenu-new":{}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add((cmp.get(\"v.headerStyling\")?\"slds-is-active\":\"\"),\" slds-p-top--medium\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedAnchorSubMenu","path":"v.headerStyling"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-grid slds-grid--vertical-align-center slds-p-vertical--xx-small slds-navigation-list--vertical__action slds-text-link--reset"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-col slds-text-title--caps"}},"tag":{"descriptor":"tag","value":"h2"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedAnchorSubMenu","path":"v.header"}}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onclick":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedAnchorSubMenu","path":"v.headerHandler"},"href":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.headerHref\")||\"javascript:void(0);\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedAnchorSubMenu","path":"v.headerHref"}],"byValue":false},"class":"slds-text-title--caps"}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedAnchorSubMenu","path":"v.header"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedAnchorSubMenu","path":"v.headerHandler"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:buttonIcon"},"localId":"feed-anchor-submenu-new","attributes":{"values":{"size":{"descriptor":"size","value":"small"},"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedAnchorSubMenu","path":"v.newItemHandler"}},"variant":{"descriptor":"variant","value":"bare"},"disabled":{"descriptor":"disabled","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.totalItems\")>=cmp.get(\"v.maxItems\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedAnchorSubMenu","path":"v.totalItems"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedAnchorSubMenu","path":"v.maxItems"}],"byValue":false}},"iconName":{"descriptor":"iconName","value":"utility:add"},"title":{"descriptor":"title","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedAnchorSubMenu","path":"v.newItemLabel"}},"class":{"descriptor":"class","value":"slds-col--bump-left qe-newItemButton"},"alternativeText":{"descriptor":"alternativeText","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedAnchorSubMenu","path":"v.newItemLabel"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedAnchorSubMenu","path":"v.showNewItemAction"}}}}}]}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(fn.empty(cmp.get(\"v.header\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedAnchorSubMenu","path":"v.header"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"ul"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:iteration"},"attributes":{"values":{"indexVar":{"descriptor":"indexVar","value":"index"},"var":{"descriptor":"var","value":"item"},"end":{"descriptor":"end","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedAnchorSubMenu","path":"v.maxItemsDisplayed"}},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add((cmp.get(\"item.active\")?\"slds-is-active\":\"\"),((cmp.get(\"index\")>0)?\" cuf-hasUnread\":\"\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedAnchorSubMenu","path":"index"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedAnchorSubMenu","path":"item.active"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"li"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"data-feedType":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedAnchorSubMenu","path":"item.feedType"},"data-recordTypeId":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedAnchorSubMenu","path":"item.recordTypeId"},"data-subjectId":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedAnchorSubMenu","path":"item.subjectId"},"data-index":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedAnchorSubMenu","path":"index"},"onclick":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedAnchorSubMenu","path":"c.switchFeed"},"href":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"item.href\")||\"javascript:void(0);\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedAnchorSubMenu","path":"item.href"}],"byValue":false},"title":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.eq(cmp.get(\"item.description\"),null)?cmp.get(\"item.label\"):cmp.get(\"item.description\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedAnchorSubMenu","path":"item.description"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedAnchorSubMenu","path":"item.label"}],"byValue":false},"class":"slds-navigation-list--vertical__action mlds-navigation-list--vertical__action_compact slds-text-link--reset slds-truncate cuf-feedNavigationLabel"}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedAnchorSubMenu","path":"item.label"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"assistiveText"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedAnchorSubMenu","path":"$Label.Accessibility.Selected"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedAnchorSubMenu","path":"item.active"}}}}}]}}}}]}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedAnchorSubMenu","path":"v.listItems"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-text-color--weak slds-m-top--xx-small slds-m-horizontal--medium"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedAnchorSubMenu","path":"v.noItemsTitle"}}}}},{"componentDef":{"descriptor":"markup://aura:text"},"attributes":{"values":{"value":{"descriptor":"value","value":" "}}}},{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedAnchorSubMenu","path":"v.noItemsText"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.empty(cmp.get(\"v.listItems\"))&&(cmp.get(\"v.noItemsText\")||cmp.get(\"v.noItemsTitle\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedAnchorSubMenu","path":"v.noItemsTitle"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedAnchorSubMenu","path":"v.listItems"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedAnchorSubMenu","path":"v.noItemsText"}],"byValue":false}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://runtime_sales_activities:activityTimelineEventStreamTime",function(){/*$A.componentService.addComponentClass("markup://runtime_sales_activities:activityTimelineEventStreamTime",function(){return{meta:{name:"runtime_sales_activities$activityTimelineEventStreamTime","extends":"markup://aura:component"},controller:{init:function(c,a,b){b=$A.localizationService.parseDateTimeUTC(c.get("v.startDateTime"));a=$A.localizationService.parseDateTimeUTC(c.get("v.endDateTime"));b=b?$A.localizationService.formatDate(b,"YYYY-MM-DD"):"";a=a?$A.localizationService.formatDate(a,"YYYY-MM-DD"):
"";c.set("v.startDate",b);c.set("v.endDate",a);b===a&&c.set("v.isDateEqual",!0)}}}});return {"xs":"I","descriptor":"markup://runtime_sales_activities:activityTimelineEventStreamTime","ad":[["body","aura://Aura.Component[]","G",false,[]],["startDateTime","aura://String","I",false],["endDateTime","aura://String","I",false],["startDate","aura://String","I",false],["endDate","aura://String","I",false],["isDateEqual","aura://Boolean","I",false,false]],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:renderIf"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://runtime_sales_activities:taskDueDate"},"localId":"dueDate","attributes":{"values":{"usingTime":{"descriptor":"usingTime","value":false},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimelineEventStreamTime","path":"v.startDate"}},"enableOverdueStyle":{"descriptor":"enableOverdueStyle","value":false}}}},{"componentDef":{"descriptor":"markup://aura:text"},"attributes":{"values":{"value":{"descriptor":"value","value":",\n           "}}}},{"componentDef":{"descriptor":"markup://runtime_sales_activities:activityTime"},"localId":"dateTime","attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimelineEventStreamTime","path":"v.startDateTime"}}}}},{"componentDef":{"descriptor":"markup://aura:text"},"attributes":{"values":{"value":{"descriptor":"value","value":" \u2013\n           "}}}},{"componentDef":{"descriptor":"markup://runtime_sales_activities:taskDueDate"},"localId":"dueDate","attributes":{"values":{"usingTime":{"descriptor":"usingTime","value":false},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimelineEventStreamTime","path":"v.endDate"}},"enableOverdueStyle":{"descriptor":"enableOverdueStyle","value":false}}}},{"componentDef":{"descriptor":"markup://aura:text"},"attributes":{"values":{"value":{"descriptor":"value","value":",\n           "}}}},{"componentDef":{"descriptor":"markup://runtime_sales_activities:activityTime"},"localId":"dateTime","attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimelineEventStreamTime","path":"v.endDateTime"}}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://runtime_sales_activities:taskDueDate"},"localId":"dueDate","attributes":{"values":{"usingTime":{"descriptor":"usingTime","value":false},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimelineEventStreamTime","path":"v.startDate"}},"enableOverdueStyle":{"descriptor":"enableOverdueStyle","value":false}}}},{"componentDef":{"descriptor":"markup://aura:text"},"attributes":{"values":{"value":{"descriptor":"value","value":",\n\t    "}}}},{"componentDef":{"descriptor":"markup://runtime_sales_activities:activityTime"},"localId":"dateTime","attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimelineEventStreamTime","path":"v.startDateTime"}}}}},{"componentDef":{"descriptor":"markup://aura:text"},"attributes":{"values":{"value":{"descriptor":"value","value":" \u2013\t                                                        \n\t    "}}}},{"componentDef":{"descriptor":"markup://runtime_sales_activities:activityTime"},"localId":"dateTime","attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimelineEventStreamTime","path":"v.endDateTime"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimelineEventStreamTime","path":"v.isDateEqual"}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://sfa:filterMenu",function(){/*$A.componentService.addComponentClass("markup://sfa:filterMenu",function(){return{meta:{name:"sfa$filterMenu","extends":"markup://aura:component"},controller:{init:function(a,b,c){a.find("filterMenuList").addValueHandler({value:"v.visible",event:"change",globalId:a.getGlobalId(),method:function(){c.toggleMenuSelected(a)}})},selectItem:function(a,b,c){(b=a.get("v.filter"))&&c.selectItem(a,b)},handleFilterListChange:function(a,b,c){a.find("filterMenuList").get("e.refresh").setComponentEvent().fire();
(b=a.get("v.filter"))&&c.selectItem(a,b)},menuItemClick:function(a,b,c){b=b.getParam("selectedItem");var d=b.get("v.label");c.setTriggerLabel(a,d);c.fireSelect(a,b);a.find("filterMenuList").set("v.visible",!1)},menuExpandPositioning:function(a,b,c){setTimeout($A.getCallback(function(){var a=b.getSource().getElement();a&&(a.style.height=Math.max(window.innerHeight,window.innerWidth)+"px");$A.getEvt("markup://sfa:filterMenuToggle").setParams({menuIsOpen:!0}).fire()},0))},menuCollapsePositioning:function(a,
b,c){if(a=b.getSource().getElement())a.style.height="";$A.getEvt("markup://sfa:filterMenuToggle").setParams({menuIsOpen:!1}).fire()}},helper:{fireInitialSection:function(a){var b=this;this.iterateMenuItems(a,function(c){if(c.get("v.selected"))return b.fireSelect(a,c),!0})},fireSelect:function(a,b){var c=a.get("e.select");c.setParams({selectedItem:b});c.fire()},toggleMenuSelected:function(a){var b=a.find("triggerIcon");a.get("v.visible")?b.set("v.key","chevronup"):b.set("v.key","chevrondown")},selectItem:function(a,
b){var c=this;this.iterateMenuItems(a,function(d){d.get("v.value")===b?(d.set("v.selected",!0),c.setTriggerLabel(a,d.get("v.label"))):d.get("v.selected")&&d.set("v.selected",!1)})},iterateMenuItems:function(a,b){for(var c=a.find("filterMenuList").get("v.childMenuItems"),d=0;d<c.length&&!b(c[d]);d++);},setTriggerLabel:function(a,b){a.set("v.triggerLabel",b)}},renderer:{afterRender:function(a,b){a.superAfterRender();var c=a.get("v.filter");c&&b.selectItem(a,c)}}}});return {"xs":"I","descriptor":"markup://sfa:filterMenu","st":{"descriptor":"css://sfa.filterMenu","cl":"sfaFilterMenu"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["filters","aura://List","I",true,[]],["filter","aura://String","I",true],["triggerLabel","aura://String","I",false],["class","aura://String","I",false,""],["visible","aura://Boolean","I",false,false]],"re":[{"ed":"markup://ui:menuSelect","n":"select","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.selectItem"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.filter"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleFilterListChange"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.filters"},"n":"change"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:menu"},"localId":"filterMenu","attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:menuTriggerLink"},"localId":"trigger","attributes":{"values":{"disableDoubleClicks":{"descriptor":"disableDoubleClicks","value":true},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"sfa:filterMenu","path":"v.triggerLabel"}},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-grid slds-has-flexi-truncate"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-truncate"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"sfa:filterMenu","path":"v.triggerLabel"}}}}}]}}}},{"componentDef":{"descriptor":"markup://force:icon"},"localId":"triggerIcon","attributes":{"values":{"imageType":{"descriptor":"imageType","value":"decorative"},"class":{"descriptor":"class","value":"slds-button__icon slds-button__icon--right slds-no-flex"},"key":{"descriptor":"key","value":"chevrondown"}}}}]}}}}]},"class":{"descriptor":"class","value":"trigger"}}}},{"componentDef":{"descriptor":"markup://ui:menuList"},"localId":"filterMenuList","attributes":{"values":{"menuExpand":{"descriptor":"menuExpand","value":{"exprType":"PROPERTY","byValue":false,"target":"sfa:filterMenu","path":"c.menuExpandPositioning"}},"visible":{"descriptor":"visible","value":{"exprType":"PROPERTY","byValue":false,"target":"sfa:filterMenu","path":"v.visible"}},"autoPosition":{"descriptor":"autoPosition","value":false},"menuSelect":{"descriptor":"menuSelect","value":{"exprType":"PROPERTY","byValue":false,"target":"sfa:filterMenu","path":"c.menuItemClick"}},"menuCollapse":{"descriptor":"menuCollapse","value":{"exprType":"PROPERTY","byValue":false,"target":"sfa:filterMenu","path":"c.menuCollapsePositioning"}},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:iteration"},"attributes":{"values":{"var":{"descriptor":"var","value":"filterItm"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:radioMenuItem"},"localId":"radioMenuItem","attributes":{"values":{"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"sfa:filterMenu","path":"filterItm.label"}},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"sfa:filterMenu","path":"filterItm.label"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"selectedIcon"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:icon"},"attributes":{"values":{"imageType":{"descriptor":"imageType","value":"decorative"},"key":{"descriptor":"key","value":"check"}}}}]}}}}]},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"sfa:filterMenu","path":"filterItm.value"}}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"sfa:filterMenu","path":"v.filters"}}}}}]},"class":{"descriptor":"class","value":"scrollWrapper"}}}}]},"class":{"descriptor":"class","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(fn.add(\"filter selector \",cmp.get(\"v.class\")),\" slds-scrollable_none\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"sfa:filterMenu","path":"v.class"}],"byValue":false}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://emailui:externalEmailAuthenticator",function(){/*$A.componentService.addComponentClass("markup://emailui:externalEmailAuthenticator",function(){return{meta:{name:"emailui$externalEmailAuthenticator","extends":"markup://aura:component"},controller:{setButtonTitleMessages:function(a,c,b){b.setButtonTitleMessages(a,c)},connectToExternalEmail:function(a,c,b){b.connectToExternalEmail(a,c,!0)},connectToExternalEmailNoWarning:function(a,c,b){b.connectToExternalEmail(a,c,!1)},ignoreConnectingToExternalEmail:function(a,c,b){b.ignoreConnectingToExternalEmail(a,
c)}},helper:{setButtonTitleMessages:function(a,c){var b=a.get("v.parentAction"),d=a.get("v.isSendViaGmailEnabled"),e=a.get("v.isSendViaExchangeEnabled");if(d||e)"ListEmail"===b?(a.set("v.title",$A.get("$Label.ListEmailOAuthConfirm.Title")),a.set("v.connectButtonText",$A.get("$Label.ListEmailOAuthConfirm.ConnectToButton")),d?a.set("v.message",$A.get("$Label.ListEmailOAuthConfirm.GoogleMessage")):e&&a.set("v.message",$A.get("$Label.ListEmailOAuthConfirm.MicrosoftMessage"))):d?(a.set("v.title",$A.get("$Label.EmailGoogleOAuthConfirm.Title")),
a.set("v.connectButtonText",$A.get("$Label.EmailGoogleOAuthConfirm.ConnectToButton")),a.set("v.ignoreButtonText",$A.get("$Label.EmailGoogleOAuthConfirm.NoThankYouButton")),a.set("v.message",$A.get("$Label.EmailGoogleOAuthConfirm.Message"))):e&&(a.set("v.title",$A.get("$Label.EmailExchangeOAuthConfirm.Title")),a.set("v.connectButtonText",$A.get("$Label.EmailExchangeOAuthConfirm.ConnectToButton")),a.set("v.ignoreButtonText",$A.get("$Label.EmailExchangeOAuthConfirm.NoThankYouButton")),a.set("v.message",
$A.get("$Label.EmailExchangeOAuthConfirm.Message")))},displayToastMessage:function(a,c,b,d){var e=$A.getEvt("markup://force:showToast");e.setParams({message:a,mode:d?"sticky":"",hasOffsetFromTop:!1,key:c,type:b});e.fire()},popupWarningModal:function(a,c,b,d,e,f){$A.createComponent("emailui:warningModal",{message:b,cancelLabel:d,acceptLabel:e,_cookieIdentifier:a.get("v._cookieIdentifier")},function(a,b,d){a&&"SUCCESS"===b?(a.set("v.onAccept",f),$A.getEvt("markup://ui:createPanel").setParams({panelType:"modal",
visible:!0,panelConfig:{title:c,body:a,"class":"emailuiComposer fileWarningModal",closeAction:function(){a.getConcreteComponent().getDef().getHelper().cancel(a)}},onCreate:function(b){a.setAttributeValueProvider(b)}}).fire()):$A.getEvt("markup://force:showMessage").setParams({message:d,severity:"error"}).fire()})},connectToExternalEmail:function(a,c,b){var d=this;c=$A.getCallback(function(){var b=a.get("c.getExternalEmailAuthorizeURL");b.setParams({targetURL:window.location.href});b.setCallback(a,
function(b){"SUCCESS"===b.getState()?(b=b.getReturnValue(),window.location=b):a.get("v.isSendViaGmailEnabled")?d.displayToastMessage($A.get("$Label.EmailErrorMessage.GoogleAuthorizationError"),"error","error",!0):d.displayToastMessage($A.get("$Label.EmailErrorMessage.ExchangeAuthorizationError"),"error","error",!0)});b.setStorable();$A.enqueueAction(b)});b?this.popupWarningModal(a,$A.get("$Label.ExternalEmailOAuthWarningDialog.Title"),$A.get("$Label.ExternalEmailOAuthWarningDialog.Message"),$A.get("$Label.ExternalEmailOAuthWarningDialog.CancelButton"),
$A.get("$Label.ExternalEmailOAuthWarningDialog.AcceptButton"),c):c()},ignoreConnectingToExternalEmail:function(a,c){var b=this,d=a.get("c.setUserPreferenceEmailTransportTypeToSalesforce");d.setCallback(a,function(c){"SUCCESS"!==c.getState()&&b.displayToastMessage($A.get("$Label.EmailErrorMessage.UserPreferenceResetError"),"error",!0);a.set("v.isSendViaGmailEnabled",!1);a.set("v.isSendViaExchangeEnabled",!1);a.getEvent("useSalesforceSender").fire()});d.setStorable();d.setAbortable(!1);$A.enqueueAction(d)}}}});return {"xs":"I","descriptor":"markup://emailui:externalEmailAuthenticator","st":{"descriptor":"css://emailui.externalEmailAuthenticator","cl":"emailuiExternalEmailAuthenticator"},"cd":{"descriptor":"compound://emailui.externalEmailAuthenticator","ac":[{"n":"setUserPreferenceEmailTransportTypeToSalesforce","descriptor":"serviceComponent://ui.email.components.aura.components.emailcomposer.EmailComposerController/ACTION$setUserPreferenceEmailTransportTypeToSalesforce","at":"SERVER","rt":"java://java.lang.Boolean","pa":[]},{"n":"getCaseContactId","descriptor":"serviceComponent://ui.email.components.aura.components.emailcomposer.EmailComposerController/ACTION$getCaseContactId","at":"SERVER","rt":"java://java.lang.String","pa":[{"name":"caseId","type":"java://java.lang.String"}]},{"n":"getSendViaExternalServiceUserPreference","descriptor":"serviceComponent://ui.email.components.aura.components.emailcomposer.EmailComposerController/ACTION$getSendViaExternalServiceUserPreference","at":"SERVER","rt":"java://java.util.Map","pa":[]},{"n":"getExternalEmailAuthorizeURL","descriptor":"serviceComponent://ui.email.components.aura.components.emailcomposer.EmailComposerController/ACTION$getExternalEmailAuthorizeURL","at":"SERVER","rt":"java://java.lang.String","pa":[{"name":"targetURL","type":"java://java.lang.String"}]},{"n":"getNamesFromLooseRecipients","descriptor":"serviceComponent://ui.email.components.aura.components.emailcomposer.EmailComposerController/ACTION$getNamesFromLooseRecipients","at":"SERVER","rt":"java://java.util.List","pa":[{"name":"ids","type":"java://java.util.List<java.lang.String>"}]},{"n":"renderEmailTemplate","descriptor":"serviceComponent://ui.email.components.aura.components.emailcomposer.EmailComposerController/ACTION$renderEmailTemplate","at":"SERVER","rt":"java://ui.services.connection.models.api.RenderEmailTemplateResult","pa":[{"name":"whoId","type":"java://java.lang.String"},{"name":"whatId","type":"java://java.lang.String"},{"name":"emailBody","type":"java://java.lang.String"}]},{"n":"renderEnhancedTemplate","descriptor":"serviceComponent://ui.email.components.aura.components.emailcomposer.EmailComposerController/ACTION$renderEnhancedTemplate","at":"SERVER","rt":"java://java.util.List","pa":[{"name":"whoId","type":"java://java.lang.String"},{"name":"whatId","type":"java://java.lang.String"},{"name":"emailBody","type":"java://java.lang.String"}]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["recordId","aura://String","P",false],["isDocked","aura://Boolean","P",false,true],["parentAction","aura://String","I",false,""],["isSendViaExchangeEnabled","aura://Boolean","P",false],["isSendViaGmailEnabled","aura://Boolean","P",false],["_cookieIdentifier","aura://String","P",false],["title","aura://String","I",false],["message","aura://String","I",false],["connectButtonText","aura://String","I",false],["ignoreButtonText","aura://String","I",false]],"med":[{"name":"emailui:setButtonTitleMessages","xs":"I","action":"{!c.setButtonTitleMessages}"}],"re":[{"ed":"markup://emailui:useSalesforceSender","n":"useSalesforceSender","xs":"I"}],"ld":{"connectToButton":{"context":{"parentAction":{"exprType":"PROPERTY","byValue":false,"target":"emailui:externalEmailAuthenticator","path":"v.parentAction"},"sendViaGmailEnabled":{"exprType":"PROPERTY","byValue":false,"target":"emailui:externalEmailAuthenticator","path":"v.isSendViaGmailEnabled"}}},"ignoreButton":{"context":{"parentAction":{"exprType":"PROPERTY","byValue":false,"target":"emailui:externalEmailAuthenticator","path":"v.parentAction"},"sendViaGmailEnabled":{"exprType":"PROPERTY","byValue":false,"target":"emailui:externalEmailAuthenticator","path":"v.isSendViaGmailEnabled"}}}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"externalEmailOAuthTitle"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:externalEmailAuthenticator","path":"v.title"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"externalEmailOAuthMessage"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:externalEmailAuthenticator","path":"v.message"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"externalEmailOAuthButtons"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:button"},"localId":"ignoreButton","attributes":{"values":{"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:externalEmailAuthenticator","path":"c.ignoreConnectingToExternalEmail"}},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:externalEmailAuthenticator","path":"v.ignoreButtonText"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.ne(cmp.get(\"v.parentAction\"),\"ListEmail\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"emailui:externalEmailAuthenticator","path":"v.parentAction"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://ui:button"},"localId":"connectToButton","attributes":{"values":{"labelClass":{"descriptor":"labelClass","value":"externalEmailConnectLabel"},"iconImgSrc":{"descriptor":"iconImgSrc","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.isSendViaGmailEnabled\")?\"/img/google/gmail_M_icon.gif\":\"/img/office365/office_365_icon.png\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"emailui:externalEmailAuthenticator","path":"v.isSendViaGmailEnabled"}],"byValue":false}},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:externalEmailAuthenticator","path":"v.connectButtonText"}},"press":{"descriptor":"press","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:externalEmailAuthenticator","path":"c.connectToExternalEmailNoWarning"}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://support:emailApproval",function(){/*$A.componentService.addComponentClass("markup://support:emailApproval",function(){return{meta:{name:"support$emailApproval","extends":"markup://aura:component"},controller:{init:function(b,a,d){d.onInit(b)},setDraftId:function(b,a,d){a=a.getParam("arguments").draftId;d.setDraftId(b,a)}},helper:{onInit:function(b){this.fireEmailApprovalInfoUpdatedEvent(b,{status:"Required"});var a=b.get("v.draftId");this.setDraftId(b,a)},setDraftId:function(b,a){if(a){var d=b.get("c.getEmailApprovalStatusInfo");d.setParams({draftId:a});
d.setCallback(b,function(c){if("SUCCESS"===c.getState()&&(c=c.getReturnValue()))c.draftId=a,this.setApprovalStatusMessage(b,c),this.fireEmailApprovalInfoUpdatedEvent(b,c)}.bind(this));$A.enqueueAction(d)}else this.fireEmailApprovalInfoUpdatedEvent(b,{showApprovalInfo:!1,status:"Required"})},fireEmailApprovalInfoUpdatedEvent:function(b,a){b.getEvent("emailApprovalInfoUpdated").setParams({emailApprovalStatusInfo:a}).fire()},setApprovalStatusMessage:function(b,a){var d=["Pending","Rejected"],c=this.getLabelForRejectedStatus(b,
a),c={Pending:{label:$A.get("$Label.CaseInteraction.EmailPublisherApprovalInfoHeaderPrivateDraft")},Rejected:c};a.status&&(a.showApprovalInfo=-1!==d.indexOf(a.status),c[a.status]&&(a.approvalStatusMessage=c[a.status].label,a.rejectionComment=c[a.status].comment))},getLabelForRejectedStatus:function(b,a){var d=null,c=null;a&&"Rejected"===a.status&&(d=a.actorName+(a.stepComment?$A.get("$Label.CaseInteraction.EmailPublisherApprovalRejected"):$A.get("$Label.CaseInteraction.EmailPublisherApprovalRejectedNoComment")),
c=a.stepComment);return{label:d,comment:c}}}}});return {"xs":"I","descriptor":"markup://support:emailApproval","st":{"descriptor":"css://support.emailApproval","cl":"supportEmailApproval"},"cd":{"descriptor":"compound://support.emailApproval","ac":[{"n":"getEmailApprovalStatusInfo","descriptor":"serviceComponent://ui.support.components.aura.components.emailapproval.EmailApprovalController/ACTION$getEmailApprovalStatusInfo","at":"SERVER","rt":"java://ui.support.components.service.serializable.EmailApprovalStatusInfo","pa":[{"name":"draftId","type":"java://java.lang.String"}]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["draftId","aura://String","I",false]],"med":[{"name":"support:setDraftId","xs":"I","action":"{!c.setDraftId}","attributes":[["draftId","aura://String","I",false]]}],"re":[{"ed":"markup://support:emailApprovalInfoUpdated","n":"emailApprovalInfoUpdated","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:compositeRecsDataProvider",function(){/*$A.componentService.addComponentClass("markup://forceChatter:compositeRecsDataProvider",function(){return{meta:{name:"forceChatter$compositeRecsDataProvider","extends":"markup://ui:dataProvider"},controller:{provide:function(a,c,b){b.fireDataChangeEvent(a,{})}}}});return {"xs":"I","descriptor":"markup://forceChatter:compositeRecsDataProvider","su":"markup://ui:dataProvider","ad":[["body","aura://Aura.Component[]","G",false,[]],["searchTerm","aura://String","PP",false],["sortBy","aura://String","PP",false],["sortDirection","aura://String","I",false],["columns","aura://List","PP",false,[]],["items","aura://List","PP",false,[]],["modelItemsKey","aura://String","PP",false],["currentPage","aura://Integer","PP",false,1],["endIndex","aura://Integer","I",false,-1],["pageCount","aura://Integer","PP",false,0],["pageSize","aura://Integer","PP",false,25],["startIndex","aura://Integer","I",false,-1],["totalItems","aura://Integer","PP",false,0],["type","aura://String","I",false]],"re":[{"ed":"markup://ui:dataProvide","n":"provide","xs":"PP"},{"ed":"markup://ui:abortFetchData","n":"abort","xs":"PP"},{"ed":"markup://ui:dataChanged","n":"onchange","xs":"PP"},{"ed":"markup://ui:dataProvideError","n":"error","xs":"PP"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.provide"},"n":"provide"}],"css":true}*/});
$A.componentService.addComponent("markup://force:outputCurrency",function(){/*$A.componentService.addComponentClass("markup://force:outputCurrency",function(){return{meta:{name:"force$outputCurrency","extends":"markup://aura:component"},controller:{init:function(a,b,c){a.getConcreteComponent().getDef().getHelper().updateDisplayValue(a);a._previousFormattedValue=a.get("v.formattedValue");a._previousRawValue=a.get("v.value")},handleValueChange:function(a,b,c){b=a.getConcreteComponent().getDef().getHelper();c=a.get("v.formattedValue");var d=a.get("v.value");(c!=a._previousFormattedValue||
d!=a._previousRawValue)&&b.updateDisplayValue(a);a._previousFormattedValue=c;a._previousRawValue=d}},helper:{updateDisplayValue:function(a){var b=a.get("v.formattedValue");a.get("v.value");$A.util.isEmpty(b)?(a.set("v.displayValue",a.get("v.value")),$A.util.addClass(a.find("display"),"rawValue")):(a.set("v.displayValue",b),$A.util.removeClass(a.find("display"),"rawValue"))}}}});return {"xs":"I","descriptor":"markup://force:outputCurrency","st":{"descriptor":"css://force.outputCurrency","cl":"forceOutputCurrency"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["class","aura://String","G",false],["dir","aura://String","I",false,"ltr"],["namespaceOverride","aura://String","I",false],["actionable","aura://Boolean","I",false,true],["role","aura://String","I",false],["ariaDescribedBy","aura://String","PP",false,""],["value","aura://Decimal","G",true],["visible","aura://Boolean","I",false,true],["formattedValue","aura://String","I",false],["displayValue","aura://String","I",false]],"i":["markup://ui:visible"],"re":[{"ed":"markup://ui:click","n":"click","xs":"G"},{"ed":"markup://ui:dblclick","n":"dblclick","xs":"G"},{"ed":"markup://ui:mousedown","n":"mousedown","xs":"G"},{"ed":"markup://ui:mousemove","n":"mousemove","xs":"G"},{"ed":"markup://ui:mouseout","n":"mouseout","xs":"G"},{"ed":"markup://ui:mouseover","n":"mouseover","xs":"G"},{"ed":"markup://ui:mouseup","n":"mouseup","xs":"G"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleValueChange"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.value"},"n":"change"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"display","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"PROPERTY","byValue":false,"target":"force:outputCurrency","path":"v.class"}}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"force:outputCurrency","path":"v.displayValue"}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:mru",function(){/*$A.componentService.addComponentClass("markup://forceSearch:mru",function(){return{meta:{name:"forceSearch$mru","extends":"markup://forceSearch:baseSearch"},provider:{provide:function(a){var b=a.getDef().getHelper().lib,c=a.get("v.impl");if(c)return b.util.applyImplToBody(a,c),a;if(!b.ctx.isDesktop())return"forceSearch:mruMobile"}}}});return {"xs":"I","descriptor":"markup://forceSearch:mru","su":"markup://forceSearch:baseSearch","ad":[["body","aura://Aura.Component[]","G",false,[]],["shouldFocus","aura://Boolean","I",false,false],["groupId","aura://String","I",true,"DEFAULT"],["updateChildren","aura://Boolean","I",true,true],["updateOnlyIfActive","aura://Boolean","I",true,true],["priv_valueProviderReady","aura://Boolean","I",false,false],["initialTerm","aura://String","I",false],["initialScopeMap","aura://Map","I",false,null],["initialContext","aura://Map","I",false,null],["inContextOfComponent","aura://String","I",false,"forceSearch:search"],["term","aura://String","I",true,""],["scopeMap","aura://Map","I",true,{}],["context","aura://Map","I",true,{}],["loggingContext","aura://Map","I",true,{}],["impl","aura://String","I",false],["scopeSets","aura://Map","I",false,{}],["class","aura://String","G",false],["dir","aura://String","I",false,"ltr"],["namespaceOverride","aura://String","I",false],["actionable","aura://Boolean","I",false,true],["role","aura://String","I",false],["ariaDescribedBy","aura://String","PP",false,""],["value","aura://Object","PP",false,null],["visible","aura://Boolean","I",false,true],["maxItems","aura://Integer","I",true,200],["maxItemsVisible","aura://Integer","I",true,50],["maxListViews","aura://Integer","I",true,200],["maxListViewsVisible","aura://Integer","I",true,4],["enableScroller","aura://Boolean","I",false,true],["typeAheadMaxItems","aura://Integer","I",false,10],["typeAheadDelay","aura://Integer","I",false,300]],"med":[{"name":"forceSearch:update","xs":"I","action":"{!c.update}","attributes":[["type","aura://String","I",false],["term","aura://String","I",false],["scopeMap","aura://Map","I",false,null],["context","aura://Map","I",false,null],["sourceId","aura://String","I",false]]}],"i":["markup://forceSearch:acceptsImpl","markup://forceSearch:hasScopeSets","markup://ui:visible"],"re":[{"ed":"markup://force:searchRequest","n":"searchRequest","xs":"I"},{"ed":"markup://ui:click","n":"click","xs":"G"},{"ed":"markup://ui:dblclick","n":"dblclick","xs":"G"},{"ed":"markup://ui:mousedown","n":"mousedown","xs":"G"},{"ed":"markup://ui:mousemove","n":"mousemove","xs":"G"},{"ed":"markup://ui:mouseout","n":"mouseout","xs":"G"},{"ed":"markup://ui:mouseover","n":"mouseover","xs":"G"},{"ed":"markup://ui:mouseup","n":"mouseup","xs":"G"},{"ed":"markup://aura:componentEvent","n":"refreshed","xs":"I"},{"ed":"markup://ui:refresh","n":"refresh","xs":"I"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mru","path":"v.body"}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://runtime_sales_activities:activityTime",function(){/*$A.componentService.addComponentClass("markup://runtime_sales_activities:activityTime",function(){return{meta:{name:"runtime_sales_activities$activityTime","extends":"markup://aura:component"},helper:{displayDateTime:function(a,d){var b=a.find("activityTime");if(b=b?b.getElement():null)b.textContent=b.innerText=d},formatDateTime:function(a){var d=a.getConcreteComponent(),b=d.getDef().getHelper(),c=a.get("v.value");if(c){var e=$A.get("$Locale.timeFormat"),e=e.replace(":ss","");a=$A.get("$Locale.timezone");
c=$A.localizationService.parseDateTime(c);$A.localizationService.UTCToWallTime(c,a,function(a){try{var c=$A.localizationService.formatDateTimeUTC(a,e);b.displayDateTime(d,c)}catch(f){b.displayDateTime(d,f.message)}})}else b.displayDateTime(d,"")}},renderer:{afterRender:function(a,d){var b=a.superAfterRender(),c=a.getConcreteComponent();c.getDef().getHelper().formatDateTime(c);return b},rerender:function(a,d){var b=a.superRerender(),c=a.getConcreteComponent();c.getDef().getHelper().formatDateTime(c);
return b}}}});return {"xs":"I","descriptor":"markup://runtime_sales_activities:activityTime","st":{"descriptor":"css://runtime_sales_activities.activityTime","cl":"runtime_sales_activitiesActivityTime"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["value","aura://String","I",false]],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"activityTime","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"span"}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:publisherPresentationMobile",function(){/*$A.componentService.addComponentClass("markup://forceChatter:publisherPresentationMobile",function() {
return {
  "meta":{
    "name":"forceChatter$publisherPresentationMobile",
    "extends":"markup://forceChatter:publisherPresentation"
  }
};
});
return {"xs":"I","descriptor":"markup://forceChatter:publisherPresentationMobile","st":{"descriptor":"css://forceChatter.publisherPresentationMobile","cl":"forceChatterPublisherPresentationMobile"},"su":"markup://forceChatter:publisherPresentation","ad":[["body","aura://Aura.Component[]","G",false,[]],["isWebApp","aura://Boolean","I",false,true],["isComposerContext","aura://Boolean","I",false,false],["isSfxPanelContext","aura://Boolean","I",false,false],["name","aura://String","I",false],["actions","aura://Aura.Component[]","I",false,[]],["errors","aura://Aura.Component[]","I",false,[]],["contextualMessages","aura://Aura.Component[]","I",false,[]],["main","aura://Aura.Component[]","I",false,[]],["bottom","aura://Aura.Component[]","I",false,[]],["insideScroller","aura://Boolean","I",false,true],["scrollerRefreshDelay","aura://Integer","I",false,500],["extraTitleClass","aura://String","I",false,""],["extraScrollerInsideClass","aura://String","I",false,""],["cssClass","aura://String","I",false,""],["showQuickActionVfHeader","aura://Boolean","I",false,true],["visibilitySwitcher","aura://Aura.Component[]","I",false,[]],["isPublisherCollapsed","aura://Boolean","I",false,false],["header","aura://Aura.Component[]","I",false,[]],["inPanel","aura://Boolean","I",false,false],["publisherId","aura://String","I",false]],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(($A.get(\"$Browser.isWindowsPhone\")?\"native \":\" \"),$A.get(\"$Browser.formFactor\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherPresentationMobile","path":"$Browser.isWindowsPhone"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherPresentationMobile","path":"$Browser.formFactor"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"section"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-content"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-scroller-outside"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-scroller-content"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"cuf-scroller-inside \",cmp.get(\"v.extraScrollerInsideClass\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherPresentationMobile","path":"v.extraScrollerInsideClass"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherPresentationMobile","path":"v.errors"}}}}},{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherPresentationMobile","path":"v.contextualMessages"}}}}},{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherPresentationMobile","path":"v.main"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherPresentationMobile","path":"v.bottom"}}}}}]}}}}]}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:recommendationListCard",function(){/*$A.componentService.addComponentClass("markup://forceChatter:recommendationListCard",function(){return{meta:{name:"forceChatter$recommendationListCard","extends":"markup://aura:component"},controller:{init:function(a,b,c){a._servedRecs=[];c.onRecommendationsChange(a)},onRecommendationsChange:function(a,b,c){c.onRecommendationsChange(a)},removeAndPopup:function(a,b,c){if(a.isRendered()){var d=b.getParam("recommendation").entity.id;b=a.get("v.recommendations");d&&(b=$A.util.filter(b,function(a){return a.entity.id!==
d}),a.set("v.recommendations",b),0===b.length&&a.getEvent("noMoreRec").fire(),c.logNewlyServed(a))}}},helper:{logEvent:function(a,b){for(var c=this.getRecommendationComponents(a),d=0;d<c.length;d++)c[d].helper.logEvent(c[d],b),"SERVED"===b&&this.appendToAlreadyServed(a,c[d])},logNewlyServed:function(a){for(var b=this.getRecommendationComponents(a),c=0;c<b.length;c++){var d=b[c];this.appendToAlreadyServed(a,d)&&d.helper.logEvent(d,"SERVED")}},onRecommendationsChange:function(a){var b=a.get("v.recommendations");
b&&(b=b.slice(0,a.get("v.displayNumber")),a.find("recList").set("v.items",b))},getRecommendationComponents:function(a){(a=a.find("recommendation"))||(a=[]);Array.isArray(a)||(a=[a]);return a=$A.util.filter(a,function(a){return a.get("v.item")})},appendToAlreadyServed:function(a,b){var c=b.get("v.item.entity.id");return-1==a._servedRecs.indexOf(c)?(a._servedRecs.push(c),!0):!1},decideItemsPerRow:function(a){var b=a.find("recList").getElement();if(b){a=b.clientWidth;for(var b=b.querySelectorAll(".cuf-recTile"),
c=0;c<b.length;c++)$A.util.removeClass(b[c],"slds-size_1-of-4"),$A.util.removeClass(b[c],"slds-size_1-of-2"),$A.util.removeClass(b[c],"slds-size_1-of-1"),300>a?$A.util.addClass(b[c],"slds-size_1-of-1"):600>a?$A.util.addClass(b[c],"slds-size_1-of-2"):$A.util.addClass(b[c],"slds-size_1-of-4")}},listenToWindowResize:function(a,b){this._callbackInstance=$A.getCallback(function(){a.isValid()&&b.decideItemsPerRow(a)});window.addEventListener("resize",this._callbackInstance)},stopListenToWindowResize:function(a){window.removeEventListener("resize",
this._callbackInstance)}},renderer:{afterRender:function(a,b){var c=a.superAfterRender();b.decideItemsPerRow(a);b.listenToWindowResize(a,b);return c},unrender:function(a,b){b.stopListenToWindowResize(a);a.superUnrender()}}}});return {"xs":"I","descriptor":"markup://forceChatter:recommendationListCard","st":{"descriptor":"css://forceChatter.recommendationListCard","cl":"forceChatterRecommendationListCard"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["recommendations","aura://Object[]","I",false,[]],["displayNumber","aura://Integer","I",false,3],["channel","aura://String","I",false],["endPoint","aura://String","I",true],["useTileCard","aura://Boolean","I",false,false]],"re":[{"ed":"markup://ui:dataChanged","n":"noMoreRec","xs":"I"}],"hd":[{"ed":{"descriptor":"markup://forceChatter:recommendationRejected"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.removeAndPopup"}},{"ed":{"descriptor":"markup://forceChatter:recommendationAccepted"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.removeAndPopup"}},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onRecommendationsChange"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.recommendations"},"n":"change"}],"ld":{"recommendation":{}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-body"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:list"},"localId":"recList","attributes":{"values":{"itemVar":{"descriptor":"itemVar","value":"item"},"itemTemplate":{"descriptor":"itemTemplate","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"li"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:recommendationSmall"},"localId":"recommendation","attributes":{"values":{"item":{"descriptor":"item","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationListCard","path":"item"}},"endPoint":{"descriptor":"endPoint","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationListCard","path":"v.endPoint"}},"channel":{"descriptor":"channel","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationListCard","path":"v.channel"}}}}}]}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-recTile slds-size_1-of-4"}},"tag":{"descriptor":"tag","value":"li"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:recommendationTile"},"localId":"recommendation","attributes":{"values":{"item":{"descriptor":"item","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationListCard","path":"item"}},"endPoint":{"descriptor":"endPoint","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationListCard","path":"v.endPoint"}},"channel":{"descriptor":"channel","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationListCard","path":"v.channel"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationListCard","path":"v.useTileCard"}}}}}]},"dataProvider":{"descriptor":"dataProvider","value":[{"componentDef":{"descriptor":"markup://forceChatter:compositeRecsDataProvider"}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:relatedCardContainer",function(){/*$A.componentService.addComponentClass("markup://forceChatter:relatedCardContainer",function() {
return {
  "meta":{
    "name":"forceChatter$relatedCardContainer",
    "extends":"markup://aura:component"
  }
};
});
return {"xs":"I","descriptor":"markup://forceChatter:relatedCardContainer","st":{"descriptor":"css://forceChatter.relatedCardContainer","cl":"forceChatterRelatedCardContainer"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["width","aura://String","PP",false]],"i":["markup://forceChatter:availableForDesktop","markup://force:widthAware"],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:recommendations"}},{"componentDef":{"descriptor":"markup://forceChatter:trendingTopics"}}]}],"css":true}*/});
$A.componentService.addComponent("markup://emailui:placeholderEmailGenerator",function(){/*$A.componentService.addComponentClass("markup://emailui:placeholderEmailGenerator",function(){return{meta:{name:"emailui$placeholderEmailGenerator","extends":"markup://aura:component"},controller:{provide:function(a,b,c){c.getAssociatedEmails(a)},getAssociatedEmails:function(a,b,c){c.getAssociatedEmails(a)},generatePlaceholder:function(a,b,c){c.generatePlaceholder(a,b.getParam("arguments").email)}},helper:{getAssociatedEmails:function(a){this.getAssociatedEmailsWithCallback(a,function(){})},getAssociatedEmailsWithCallback:function(a,
b){var c=this;if($A.util.isEmpty(a.get("v.relatedEmails"))){var d=a.get("c.getEmailAndUserMapForRecord");d.setParams({recordId:a.get("v.recordId")});d.setCallback(this,function(d){a.isValid()&&(c.handleGetAssociatedEmailsAction(a,d),b())});$A.enqueueAction(d)}else b()},handleGetAssociatedEmailsAction:function(a,b){"SUCCESS"===b.getState()?(a.set("v.relatedEmails",b.returnValue.emails),a.set("v.currUser",b.returnValue.currUser)):"INCOMPLETE"===b.getState()&&$A.getEvt("markup://force:showOfflineMessage").setParams({retryAction:b}).fire()},
generatePlaceholder:function(a,b){var c=this;this.getAssociatedEmailsWithCallback(a,function(){c.displayPlaceholder(a,b)})},displayPlaceholder:function(a,b){if(this.findEmailInMap(a,b.to)||this.findEmailInMap(a,b.cc)||this.findEmailInMap(a,b.bcc)){var c=/(<([^>]+)>)/ig,c=$A.util.isEmpty(b.body)?"":b.body.replace(c,""),d=a.get("v.currUser"),c={attributes:{record:{recordId:a.get("v.recordId"),sobjectType:"EmailMessage",isOpenActivity:!1,relationInfo:{FromAddress:[{id:d.id,name:d.label}],ToAddress:this.getAddressList(b.to),
CcAddress:this.getAddressList(b.cc),BccAddress:this.getAddressList(b.bcc)},Subject:b.subject,TextBody:c,numRecipients:this.getRecipientLength(b)}}};$A.getEvt("markup://runtime_sales_activities:updatePastActivities").setParams({item:c}).fire();a.get("v.selfDestroy")&&a.destroy()}},getRecipientLength:function(a){var b=$A.util.isUndefinedOrNull(a.to)?0:a.to.length,b=b+($A.util.isUndefinedOrNull(a.cc)?0:a.cc.length);return b+=$A.util.isUndefinedOrNull(a.bcc)?0:a.bcc.length},findEmailInMap:function(a,
b){var c=a.get("v.relatedEmails");if(!b||!c)return!1;for(var d=0;d<b.length;d++){var e=$A.util.isEmpty(b[d].email)?b[d].label:b[d].email;if(c[e])return!0}return!1},getAddressList:function(a){var b=[];if(!$A.util.isUndefinedOrNull(a))for(var c=0;c<a.length;c++)b.push({id:a[c].id,name:a[c].label,emailAddress:a[c].email});return b}}}});return {"xs":"I","descriptor":"markup://emailui:placeholderEmailGenerator","cd":{"descriptor":"compound://emailui.placeholderEmailGenerator","ac":[{"n":"getEmailAndUserMapForRecord","descriptor":"serviceComponent://ui.email.components.aura.components.emailcomposer.AssociatedEmailProvider/ACTION$getEmailAndUserMapForRecord","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"recordId","type":"java://java.lang.String"}]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["recordId","aura://String","G",false],["selfDestroy","aura://Boolean","G",false,false],["relatedEmails","aura://Map","G",false,null],["currUser","aura://Object","G",false,null]],"med":[{"name":"emailui:getAssociatedEmails","xs":"I","action":"{!c.getAssociatedEmails}"},{"name":"emailui:generatePlaceholder","xs":"I","action":"{!c.generatePlaceholder}","attributes":[["email","aura://Object","I",false,null]]}],"i":["markup://force:hasRecordId"],"re":[{"ed":"markup://ui:dataProvide","n":"provide","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.provide"},"n":"provide"}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:feedBodyQuestionWithoutAnswer",function(){/*$A.componentService.addComponentClass("markup://forceChatter:feedBodyQuestionWithoutAnswer",function(){return{meta:{name:"forceChatter$feedBodyQuestionWithoutAnswer","extends":"markup://forceChatter:feedBody"},controller:{handleRender:function(a,b,c){$A.get("$Site")&&(window.location.pathname.includes(a.get("v.data.id"))&&a.getElements()&&0<a.getElements().length)&&a.getElements()[0].setAttribute("aria-live","polite")}}}});return {"xs":"I","descriptor":"markup://forceChatter:feedBodyQuestionWithoutAnswer","st":{"descriptor":"css://forceChatter.feedBodyQuestionWithoutAnswer","cl":"forceChatterFeedBodyQuestionWithoutAnswer"},"su":"markup://forceChatter:feedBody","ad":[["body","aura://Aura.Component[]","G",false,[]],["searchQueryId","aura://String","I",false],["feedItemPosition","aura://String","I",false],["subjectId","aura://String","I",false],["sortOrder","aura://String","I",false],["feedDesign","aura://String","I",false,"BROWSE"],["feedType","aura://String","I",false],["feedDisplayConfig","java://ui.chatter.api.FeedDisplayConfig","I",true,null],["data","java://sfdc.chatter.connect.api.output.feeds.FeedItemRepresentation","I",false,null],["isTopicsEnabled","aura://Boolean","I",false,false],["_truncate","aura://Boolean","I",false,true],["truncatedMessage","aura://String","I",false],["onTruncatedMessageClick","aura://Aura.Action","I",false,null],["disableHover","aura://Boolean","I",false,false],["communityId","aura://String","I",false]],"i":["markup://forceChatter:respectFeedDesign"],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleRender"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"render"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-body cuf-questionTitle"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:outputText"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedBodyQuestionWithoutAnswer","path":"v.data.capabilities.questionAndAnswers.questionTitle"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-body cuf-questionBody"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:feedBodyText"},"attributes":{"values":{"isTopicsEnabled":{"descriptor":"isTopicsEnabled","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedBodyQuestionWithoutAnswer","path":"v.isTopicsEnabled"}},"data":{"descriptor":"data","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedBodyQuestionWithoutAnswer","path":"v.data.body"}},"truncate":{"descriptor":"truncate","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v._truncate\")&&fn.eq(cmp.get(\"v.feedDisplayConfig.mode\"),\"IN_FEED\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedBodyQuestionWithoutAnswer","path":"v._truncate"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedBodyQuestionWithoutAnswer","path":"v.feedDisplayConfig.mode"}],"byValue":false}},"onTruncatedMessageClick":{"descriptor":"onTruncatedMessageClick","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.eq(cmp.get(\"v.feedDisplayConfig.feedElementDisplayConfig.bodyTruncation\"),\"INLINE_EXPAND\")?cmp.get(\"c.showFullBodyText\"):null);}","args":[{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedBodyQuestionWithoutAnswer","path":"c.showFullBodyText"},{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedBodyQuestionWithoutAnswer","path":"v.feedDisplayConfig.feedElementDisplayConfig.bodyTruncation"}],"byValue":true}},"communityId":{"descriptor":"communityId","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedBodyQuestionWithoutAnswer","path":"v.communityId"}},"feedDesign":{"descriptor":"feedDesign","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedBodyQuestionWithoutAnswer","path":"v.feedDesign"}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://runtime_sales_activities:activityTimeline2InsightPopover",function(){/*$A.componentService.addComponentClass("markup://runtime_sales_activities:activityTimeline2InsightPopover",function(){return{meta:{name:"runtime_sales_activities$activityTimeline2InsightPopover","extends":"markup://aura:component"},controller:{init:function(a,c,b){b.configureInsight(a)},configureInsight:function(a,c,b){b.configureInsight(a)},close:function(a,c,b){b.hidePopover()},processScheduleMeeting:function(a,c,b){$A.metricsService.markStart("EinsteinComponent","ActivityTimelineInsightPopover",
{feature:"processScheduleMeeting"});b.processScheduleMeeting(a);b.stopEventPropagation(a,c)},processCreateTask:function(a,c,b){b.processCreateTask(a);b.stopEventPropagation(a,c)},processEmail:function(a,c,b){$A.metricsService.markStart("EinsteinComponent","ActivityTimelineInsightPopover",{feature:"processEmail"});b.processEmail(a);b.stopEventPropagation(a,c)},processPostOnChatter:function(a,c,b){b.processPostOnChatter(a);b.stopEventPropagation(a,c)},processViewExecutiveProfile:function(a,c,b){b.processViewExecutiveProfile(a);
b.stopEventPropagation(a,c)},closePopover:function(a,c,b){c=c.getParam("recordId");(a=a.get("v.insight"))&&(c&&c===a.parentRecordId)&&b.hidePopover()}},helper:{STANDARD_INSIGHTS:"00000000-0000-0000-0000-000000000001 681ecaa7-e6e7-4053-ba9f-e36b802da98f 00000000-0000-0000-0000-000000000002 b5e54b4a-ede8-47fd-8b6d-666ed2da6e17 00000000-0000-0000-0000-000000000003 3ae57087-ba4a-4be0-ab44-4b7d05f2d4b0 00000000-0000-0000-0000-000000000004 b7b73d34-0e01-4d7c-8a20-b1606861d66e 00000000-0000-0000-0000-000000000005 50f6dfad-3742-41fa-bb3f-57f896548dd8 00000000-0000-0000-0000-000000000006 00000000-0000-0000-0000-000000000007 00000000-0000-0000-0000-000000000008 00000000-0000-0000-0000-000000000009 00000000-0000-0000-0000-00000000000a".split(" "),
configureInsight:function(a){$A.metricsService.markStart("EinsteinComponent","ActivityTimelineInsightPopover",{feature:"configureInsight"});var c=a.get("v.insight");c&&c.typeKey&&(a.set("v.insightText",c.insightText),a.set("v.insightDescription",c.insightDescription),c.isHidden&&"true"===c.isHidden||-1===this.STANDARD_INSIGHTS.indexOf(c.typeKey)?a.set("v.isHiddenOrCustomInsight",!0):a.set("v.isHiddenOrCustomInsight",!1));a.get("v.enhancedInsightsCheck")&&this.getInsightDetails(a)},getInsightDetails:function(a){var c=
a.get("c.getInsight"),b=a.get("v.insight");a.get("v.isHiddenOrCustomInsight")||(c.setParams({activityExternalId:b.externalId,parentRecordId:b.parentRecordId,insightType:b.typeKey}),c.setCallback(this,function(c){var b=c.getState();"SUCCESS"===b?(c=c.getReturnValue(),a.set("v.insightActions",c.actions),a.set("v.chatterConfig",c.chatterConfig),a.set("v.parentRecordName",c.parentRecordName)):"INCOMPLETE"===b?$A.getEvt("markup://force:showOfflineMessage").setParams({retryAction:c}).fire():"ERROR"===b&&
$A.getEvt("markup://force:showToast").setParams({type:"error",message:$A.get("$Label.activityTimeline.activityTimelineEmailInsightError")}).fire()}),$A.enqueueAction(c))},setFocusOnClose:function(a){a&&(a=a.find("insightPopoverClose"))&&a.getElement()&&a.focus()},hidePopover:function(){$A.getEvt("markup://force:hidePanel").fire()},stopEventPropagation:function(a,c){$A.util.squash(c,!0);return!1},getAction:function(a,c){for(var b=a.get("v.insightActions"),d=null,e=0;e<b.length;e++)if(b[e].typeKey===
c){d=b[e];break}return d},processViewExecutiveProfile:function(a){var c=a.get("c.getExecutiveId"),b=this.getAction(a,"VIEW_EXECUTIVE_PROFILE");b&&(b.emailIds&&1===b.emailIds.length)&&(c.setParams({email:b.emailIds[0]}),c.setCallback(a,function(a){"SUCCESS"===a.getState()&&(a=a.getReturnValue())&&$A.getEvt("markup://force:navigateToSObject").setParams({recordId:a,resetHistory:!1}).fire()}),$A.enqueueAction(c))},processScheduleMeeting:function(a){this.openCreatePanel(a,"SCHEDULE_MEETING")},processCreateTask:function(a){this.openCreatePanel(a,
"CREATE_TASK")},openCreatePanel:function(a,c){var b=this,d=a.get("c.getActivityActionEvent"),e=a.get("v.insight"),f=this.getAction(a,c),g=null;f&&f.dueDate&&(g=f.dueDate);d.setParams({activityExternalId:e.externalId,parentRecordId:e.parentRecordId,actionType:c,actionDate:g});d.setCallback(a,function(a){if("SUCCESS"===a.getState())if(a=a.getReturnValue(),a.event)$A.getEvt(a.event).setParams(a.event.attributes).fire(),b.hidePopover();else if(a.entityApiName&&a.defaultFieldValues){var d="Task"===a.entityApiName?
"MRU_LIST":"LOOKUP";$A.getEvt("markup://force:createRecordWithRecordTypeCheck").setParams({entityApiName:a.entityApiName,defaultFieldValues:a.defaultFieldValues,navigationLocation:d}).fire();b.hidePopover()}"SCHEDULE_MEETING"===c&&$A.metricsService.markEnd("EinsteinComponent","ActivityTimelineInsightPopover")});$A.enqueueAction(d)},processEmail:function(a){var c=this,b=a.get("c.getEmailActionEvent");a=a.get("v.insight");b.setParams({activityExternalId:a.externalId,parentRecordId:a.parentRecordId});
b.setCallback(this,function(a){if("SUCCESS"===a.getState()&&(a=a.getReturnValue()))$A.getEvt(a).setParams(a.attributes).fire(),c.hidePopover();$A.metricsService.markEnd("EinsteinComponent","ActivityTimelineInsightPopover")});$A.enqueueAction(b)},processPostOnChatter:function(a){a=this.getTextPostParams(a);this.hidePopover();this.openPostModal(a)},getTextPostParams:function(a){var c=a.get("v.insight").parentRecordId,b=a.get("v.chatterConfig"),d=b?b.isRichTextEnabled:!1,e=b?b.isQuillEditorEnabled:!1,
b=b?b.isRichTextMobileEnabled:!1;return{quickActionSubjectId:c,publisherFeedType:"Record",publisherId:$A.get("$SObjectType.CurrentUser.Id"),quickActionLabel:$A.get("$Label.insightActions.post"),quickActionApiName:"FeedItem.Post",initialContent:{ghostText:$A.get("$Label.insightActions.postText"),body:{},capabilities:{}},richTextConfig:{isRichTextEnabled:!!d,isQuillEditorEnabled:!!e,isRichTextMobileEnabled:!!b},visibilityOptions:{defaultMessage:a.get("v.parentRecordName")||"",showOptionsInsteadOfDefaultMessage:!1,
toLabel:$A.get("$Label.insightActions.to"),hideActions:!0,hidePublisherAttachments:!1}}},openPostModal:function(a){$A.createComponent("forceChatter:textPost",a,function(a,b){if("SUCCESS"===b&&a){var d=$A.getEvt("markup://ui:createPanel");d.setParams({panelConfig:{title:$A.get("$Label.insightActions.post"),body:a,closeOnActionButtonClick:!1,headerActions:a.get("v.actions"),footerActions:a.get("v.panelActions"),autoFocus:!1},panelType:"actionModal",visible:!0,onCreate:function(b){a.set("v._panel",b);
this.addChatterPostHandlers()}.bind(this),onAfterShow:function(){var b=a.get("v.panelActions");b&&0<b.length&&b[0].getElement().focus()},onDestroy:this.removeChatterPostHandlers.bind(this)});d.fire()}}.bind(this))},onShareSuccess:function(){this.showShareStatusToast(!0)},onShareFailure:function(){this.showShareStatusToast(!1)},showShareStatusToast:function(a){var c=$A.getEvt("markup://force:showToast"),b=$A.get("$Label.insightActions.postSuccessMessage"),d=$A.get("$Label.insightActions.postFailureMessage");
c.setParams({message:a?b:d,type:a?"success":"error"});c.fire()},addChatterPostHandlers:function(){$A.eventService.addHandler({event:"forceChatter:postCreated",handler:this.onShareSuccess.bind(this)});$A.eventService.addHandler({event:"forceChatter:postFailed",handler:this.onShareFailure.bind(this)})},removeChatterPostHandlers:function(){$A.eventService.removeHandler({event:"forceChatter:postCreated",handler:this.onShareSuccess.bind(this)});$A.eventService.removeHandler({event:"forceChatter:postFailed",
handler:this.onShareFailure.bind(this)})}},renderer:{afterRender:function(a){a.superAfterRender();if(a=a.getElement()){for(;a&&-1===a.className.indexOf("insightPopover");)a=a.parentElement;a&&-1!==a.className.indexOf("insightPopover")&&(a.style.background="#0176D3")}$A.metricsService.markEnd("EinsteinComponent","ActivityTimelineInsightPopover")},rerender:function(a,c){a.superRerender();c.setFocusOnClose(a)}}}});return {"xs":"I","descriptor":"markup://runtime_sales_activities:activityTimeline2InsightPopover","st":{"descriptor":"css://runtime_sales_activities.activityTimeline2InsightPopover","cl":"runtime_sales_activitiesActivityTimeline2InsightPopover"},"cd":{"descriptor":"compound://runtime_sales_activities.activityTimeline2InsightPopover","ac":[{"n":"getExecutiveId","descriptor":"serviceComponent://ui.activities.impl.controllers.ActivityTimelineInsightPopoverController/ACTION$getExecutiveId","at":"SERVER","rt":"java://java.lang.String","pa":[{"name":"email","type":"java://java.lang.String","loggable":true}]},{"n":"getEmailActionEvent","descriptor":"serviceComponent://ui.activities.impl.controllers.ActivityTimelineInsightPopoverController/ACTION$getEmailActionEvent","at":"SERVER","rt":"java://ui.aura.components.ComponentDefinition","pa":[{"name":"activityExternalId","type":"java://java.lang.String","loggable":true},{"name":"parentRecordId","type":"java://java.lang.String","loggable":true}]},{"n":"getInsight","descriptor":"serviceComponent://ui.activities.impl.controllers.ActivityTimelineInsightPopoverController/ACTION$getInsight","at":"SERVER","rt":"java://ui.activities.impl.controllers.ActivityTimelineInsightPopoverController$ActivityTimelineInsight","pa":[{"name":"activityExternalId","type":"java://java.lang.String","loggable":true},{"name":"parentRecordId","type":"java://java.lang.String","loggable":true},{"name":"insightType","type":"java://java.lang.String","loggable":true}]},{"n":"getActivityActionEvent","descriptor":"serviceComponent://ui.activities.impl.controllers.ActivityTimelineInsightPopoverController/ACTION$getActivityActionEvent","at":"SERVER","rt":"java://ui.activities.impl.controllers.ActivityTimelineInsightPopoverController$ActionMetadata","pa":[{"name":"activityExternalId","type":"java://java.lang.String","loggable":true},{"name":"parentRecordId","type":"java://java.lang.String"},{"name":"actionType","type":"java://java.lang.String"},{"name":"actionDate","type":"java://java.lang.String"}]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["isSIQEnabled","aura://Boolean","I",false,false],["enhancedInsightsCheck","aura://Boolean","I",true,false],["insight","aura://Object","I",true,null],["isHiddenOrCustomInsight","aura://Boolean","p",false,false],["insightText","aura://String","p",false,""],["insightDescription","aura://String","p",true,""],["insightActions","aura://Object[]","p",false,[]],["chatterConfig","aura://Map","p",false,null],["parentRecordName","aura://String","p",false]],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.configureInsight"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.insight"},"n":"change"},{"ed":{"descriptor":"markup://runtime_sales_activities:activityTimelineCloseInsightPopover"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.closePopover"}}],"ld":{"insightPopoverClose":{"context":{"externalId":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"v.insight.externalId"},"insightTypeKey":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"v.insight.typeKey"},"parentId":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"v.insight.parentRecordId"}}},"insightPopoverActionViewExecutiveProfile":{"context":{"externalId":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"v.insight.externalId"},"action":"ViewExecutiveProfile","insightTypeKey":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"v.insight.typeKey"},"parentId":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"v.insight.parentRecordId"}}},"insightPopoverActionScheduleMeeting":{"context":{"externalId":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"v.insight.externalId"},"action":"ScheduleMeeting","insightTypeKey":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"v.insight.typeKey"},"parentId":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"v.insight.parentRecordId"}}},"insightPopoverActionPostOnChatter":{"context":{"externalId":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"v.insight.externalId"},"action":"PostOnChatter","insightTypeKey":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"v.insight.typeKey"},"parentId":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"v.insight.parentRecordId"}}},"insightPopoverActionEmail":{"context":{"externalId":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"v.insight.externalId"},"action":"Email","insightTypeKey":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"v.insight.typeKey"},"parentId":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"v.insight.parentRecordId"}}},"insightPopoverActionCreateTask":{"context":{"externalId":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"v.insight.externalId"},"action":"CreateTask","insightTypeKey":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"v.insight.typeKey"},"parentId":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"v.insight.parentRecordId"}}}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-popover slds-popover_brand slds-popover_brand-top"}},"tag":{"descriptor":"tag","value":"section"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:buttonIcon"},"localId":"insightPopoverClose","attributes":{"values":{"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"c.close"}},"variant":{"descriptor":"variant","value":"bare"},"iconName":{"descriptor":"iconName","value":"utility:close"},"class":{"descriptor":"class","value":"slds-float_right slds-popover__close"},"alternativeText":{"descriptor":"alternativeText","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"$Label.SelfServiceCase.CaseConfirmationClose"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-popover__body slds-media"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-media__figure"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-icon_container slds-icon_container_circle insight"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"src":"/projRes/ui-activities-components/activityTimeline/insight.svg","alt":"","class":"slds-icon"}},"tag":{"descriptor":"tag","value":"img"}}}}]}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"bodySection slds-media__body"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"heading"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"strong"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"v.insightText"}}}}}]}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-m-top_small"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"i"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:formattedRichText","type":"module"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"v.insightDescription"}}}}}]}}}}]}}}}]}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"actionSection slds-popover__footer slds-var-p-around_x-small slds-m-around_none slds-grid slds-gutters"}},"tag":{"descriptor":"tag","value":"footer"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:iteration"},"attributes":{"values":{"var":{"descriptor":"var","value":"action"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:button"},"localId":"insightPopoverActionScheduleMeeting","attributes":{"values":{"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"c.processScheduleMeeting"}},"variant":{"descriptor":"variant","value":"neutral"},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":true,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"$Label.insightActions.scheduleMeeting"}},"class":{"descriptor":"class","value":"slds-col"}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq(cmp.get(\"action.typeKey\"),\"SCHEDULE_MEETING\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"action.typeKey"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:button"},"localId":"insightPopoverActionCreateTask","attributes":{"values":{"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"c.processCreateTask"}},"variant":{"descriptor":"variant","value":"neutral"},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":true,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"$Label.insightActions.createTask"}},"class":{"descriptor":"class","value":"slds-col"}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq(cmp.get(\"action.typeKey\"),\"CREATE_TASK\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"action.typeKey"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:button"},"localId":"insightPopoverActionEmail","attributes":{"values":{"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"c.processEmail"}},"variant":{"descriptor":"variant","value":"neutral"},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":true,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"$Label.insightActions.email"}},"class":{"descriptor":"class","value":"slds-col"}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq(cmp.get(\"action.typeKey\"),\"EMAIL\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"action.typeKey"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:button"},"localId":"insightPopoverActionPostOnChatter","attributes":{"values":{"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"c.processPostOnChatter"}},"variant":{"descriptor":"variant","value":"neutral"},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":true,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"$Label.insightActions.postOnChatter"}},"class":{"descriptor":"class","value":"slds-col"}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.eq(cmp.get(\"action.typeKey\"),\"POST_ON_CHATTER\")&&cmp.get(\"v.chatterConfig.isFeedEnabled\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"action.typeKey"},{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"v.chatterConfig.isFeedEnabled"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:button"},"localId":"insightPopoverActionViewExecutiveProfile","attributes":{"values":{"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"c.processViewExecutiveProfile"}},"variant":{"descriptor":"variant","value":"neutral"},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":true,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"$Label.insightActions.viewExecutiveProfile"}},"class":{"descriptor":"class","value":"slds-col"}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return ((fn.eq(cmp.get(\"action.typeKey\"),\"VIEW_EXECUTIVE_PROFILE\")&&cmp.get(\"action.emailIds\"))&&fn.eq(cmp.get(\"action.emailIds.length\"),1));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"action.typeKey"},{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"action.emailIds.length"},{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"action.emailIds"}],"byValue":false}}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"v.insightActions"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return ((cmp.get(\"v.enhancedInsightsCheck\")&&fn.eq(cmp.get(\"v.isHiddenOrCustomInsight\"),false))&&(cmp.get(\"v.insightActions.length\")>0));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"v.enhancedInsightsCheck"},{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"v.isHiddenOrCustomInsight"},{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:activityTimeline2InsightPopover","path":"v.insightActions.length"}],"byValue":false}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:feedBodyBanner",function(){/*$A.componentService.addComponentClass("markup://forceChatter:feedBodyBanner",function() {
return {
  "meta":{
    "name":"forceChatter$feedBodyBanner",
    "extends":"markup://forceChatter:feedBody"
  }
};
});
return {"xs":"I","descriptor":"markup://forceChatter:feedBodyBanner","st":{"descriptor":"css://forceChatter.feedBodyBanner","cl":"forceChatterFeedBodyBanner"},"su":"markup://forceChatter:feedBody","ad":[["body","aura://Aura.Component[]","G",false,[]],["searchQueryId","aura://String","I",false],["feedItemPosition","aura://String","I",false],["subjectId","aura://String","I",false],["sortOrder","aura://String","I",false],["feedDesign","aura://String","I",false,"BROWSE"],["feedType","aura://String","I",false],["feedDisplayConfig","java://ui.chatter.api.FeedDisplayConfig","I",true,null],["data","java://sfdc.chatter.connect.api.output.feeds.FeedItemRepresentation","I",false,null],["isTopicsEnabled","aura://Boolean","I",false,false],["_truncate","aura://Boolean","I",false,true],["truncatedMessage","aura://String","I",false],["onTruncatedMessageClick","aura://Aura.Action","I",false,null],["disableHover","aura://Boolean","I",false,false],["communityId","aura://String","I",false]],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-auxBody"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:block"},"attributes":{"values":{"left":{"descriptor":"left","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"style":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.ne(cmp.get(\"v.data.capabilities.banner.motif.color\"),null)?fn.add(\"background-color: #\",cmp.get(\"v.data.capabilities.banner.motif.color\")):\"\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedBodyBanner","path":"v.data.capabilities.banner.motif.color"}],"byValue":false},"class":"cuf-roundBorder"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:image"},"attributes":{"values":{"src":{"descriptor":"src","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.ne(cmp.get(\"v.data.capabilities.banner.motif.mediumIconUrl\"),null)?cmp.get(\"v.data.capabilities.banner.motif.mediumIconUrl\"):\"/img/icon/t4/standard/custom_60.png\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedBodyBanner","path":"v.data.capabilities.banner.motif.mediumIconUrl"}],"byValue":false}},"alt":{"descriptor":"alt","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedBodyBanner","path":"$Label.Feeds.bannerAnnouncement"}},"class":{"descriptor":"class","value":"cuf-bannerImage"}}}}]}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-bodyRight"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:feedBodyText"},"attributes":{"values":{"isTopicsEnabled":{"descriptor":"isTopicsEnabled","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedBodyBanner","path":"v.isTopicsEnabled"}},"data":{"descriptor":"data","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedBodyBanner","path":"v.data.body"}},"truncate":{"descriptor":"truncate","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v._truncate\")&&fn.eq(cmp.get(\"v.feedDisplayConfig.mode\"),\"IN_FEED\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedBodyBanner","path":"v._truncate"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedBodyBanner","path":"v.feedDisplayConfig.mode"}],"byValue":false}},"onTruncatedMessageClick":{"descriptor":"onTruncatedMessageClick","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.eq(cmp.get(\"v.feedDisplayConfig.feedElementDisplayConfig.bodyTruncation\"),\"INLINE_EXPAND\")?cmp.get(\"c.showFullBodyText\"):null);}","args":[{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedBodyBanner","path":"c.showFullBodyText"},{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedBodyBanner","path":"v.feedDisplayConfig.feedElementDisplayConfig.bodyTruncation"}],"byValue":true}},"communityId":{"descriptor":"communityId","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedBodyBanner","path":"v.communityId"}},"feedDesign":{"descriptor":"feedDesign","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedBodyBanner","path":"v.feedDesign"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return ((cmp.get(\"v.data.body.messageSegments.length\")>0)&&fn.ne(cmp.get(\"v.data.type\"),\"CreateRecordEvent\"));}","args":[{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedBodyBanner","path":"v.data.body.messageSegments.length"},{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedBodyBanner","path":"v.data.type"}],"byValue":true}}}}}]}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.ne(cmp.get(\"v.data.capabilities.banner\"),null);}","args":[{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedBodyBanner","path":"v.data.capabilities.banner"}],"byValue":true}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:feedBodySimple",function(){/*$A.componentService.addComponentClass("markup://forceChatter:feedBodySimple",function() {
return {
  "meta":{
    "name":"forceChatter$feedBodySimple",
    "extends":"markup://forceChatter:feedBody"
  }
};
});
return {"xs":"I","descriptor":"markup://forceChatter:feedBodySimple","su":"markup://forceChatter:feedBody","ad":[["body","aura://Aura.Component[]","G",false,[]],["searchQueryId","aura://String","I",false],["feedItemPosition","aura://String","I",false],["subjectId","aura://String","I",false],["sortOrder","aura://String","I",false],["feedDesign","aura://String","I",false,"BROWSE"],["feedType","aura://String","I",false],["feedDisplayConfig","java://ui.chatter.api.FeedDisplayConfig","I",true,null],["data","java://sfdc.chatter.connect.api.output.feeds.FeedItemRepresentation","I",false,null],["isTopicsEnabled","aura://Boolean","I",false,false],["_truncate","aura://Boolean","I",false,true],["truncatedMessage","aura://String","I",false],["onTruncatedMessageClick","aura://Aura.Action","I",false,null],["disableHover","aura://Boolean","I",false,false],["communityId","aura://String","I",false]],"i":["markup://forceChatter:respectFeedDesign"],"ld":{"feed-body-text":{}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-body"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:feedBodyText"},"localId":"feed-body-text","attributes":{"values":{"isTopicsEnabled":{"descriptor":"isTopicsEnabled","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedBodySimple","path":"v.isTopicsEnabled"}},"truncatedMessage":{"descriptor":"truncatedMessage","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.truncatedMessage\")?cmp.get(\"v.truncatedMessage\"):$A.get(\"$Label.Feeds.expandPost\"));}","args":[{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedBodySimple","path":"v.truncatedMessage"},{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedBodySimple","path":"$Label.Feeds.expandPost"}],"byValue":true}},"data":{"descriptor":"data","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedBodySimple","path":"v.data.body"}},"truncate":{"descriptor":"truncate","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v._truncate\")&&fn.eq(cmp.get(\"v.feedDisplayConfig.mode\"),\"IN_FEED\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedBodySimple","path":"v._truncate"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedBodySimple","path":"v.feedDisplayConfig.mode"}],"byValue":false}},"onTruncatedMessageClick":{"descriptor":"onTruncatedMessageClick","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.onTruncatedMessageClick\")?cmp.get(\"v.onTruncatedMessageClick\"):(fn.eq(cmp.get(\"v.feedDisplayConfig.feedElementDisplayConfig.bodyTruncation\"),\"INLINE_EXPAND\")?cmp.get(\"c.showFullBodyText\"):null));}","args":[{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedBodySimple","path":"v.onTruncatedMessageClick"},{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedBodySimple","path":"c.showFullBodyText"},{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedBodySimple","path":"v.feedDisplayConfig.feedElementDisplayConfig.bodyTruncation"}],"byValue":true}},"communityId":{"descriptor":"communityId","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedBodySimple","path":"v.communityId"}},"disableHover":{"descriptor":"disableHover","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedBodySimple","path":"v.disableHover"}},"feedDesign":{"descriptor":"feedDesign","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedBodySimple","path":"v.feedDesign"}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:bookmarkAction",function(){/*$A.componentService.addComponentClass("markup://forceChatter:bookmarkAction",function(){return{meta:{name:"forceChatter$bookmarkAction","extends":"markup://aura:component",imports:{feedLib:"markup://forceChatter:feedLib"}},controller:{run:function(a,b,c){b=a.get("c.updateBookmark");var d=a.get("v.feedItemId"),e=a.get("v.bookmarked"),f=a.get("v.communityId");b.setParams({feedItemId:d,hasBookmark:e,communityId:f});b.setCallback(a,function(a){"SUCCESS"===a.getState()?($A.getEvt("markup://forceChatter:bookmarkUpdated").setParams({feedItemId:d,
bookmarked:a.getReturnValue()}).fire(),e?$A.getEvt("force:showToast").setParams({message:$A.get("$Label.Feeds.FeedPostBookmarkAddedConfirmation"),isClosable:!0,type:"success"}).fire():$A.getEvt("force:showToast").setParams({message:$A.get("$Label.Feeds.FeedPostBookmarkRemovedConfirmation"),isClosable:!0,type:"success"}).fire()):"INCOMPLETE"===a.getState()?$A.getEvt("markup://force:showOfflineMessage").setParams({retryAction:a}).fire():c.fireActionErrorMessage(a)});$A.enqueueAction(b)}},helper:{fireActionErrorMessage:function(a){a=
a.getError();if($A.util.isArray(a)){for(var b=[],c=0;c<a.length;c++)b.push(a[c].message);$A.util.isEmpty(b)||(a=b.join(" "),this.fireErrorMessage(a))}},fireErrorMessage:function(a){var b=$A.getEvt("markup://force:showMessage");b.setParams({message:a});b.fire()}}}});return {"xs":"I","descriptor":"markup://forceChatter:bookmarkAction","cd":{"descriptor":"compound://forceChatter.bookmarkAction","ac":[{"n":"deleteFeedItem","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$deleteFeedItem","at":"SERVER","rt":"java://void","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true}]},{"n":"isFeedItemEditableByMe","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$isFeedItemEditableByMe","at":"SERVER","rt":"java://boolean","pa":[{"name":"feedItemId","type":"java://java.lang.String"}]},{"n":"updateCloseStatus","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$updateCloseStatus","at":"SERVER","rt":"java://void","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"communityId","type":"java://java.lang.String"},{"name":"isClosed","type":"java://boolean"}]},{"n":"updatePinStatus","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$updatePinStatus","at":"SERVER","rt":"java://void","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"feedType","type":"java://java.lang.String"},{"name":"subjectId","type":"java://java.lang.String"},{"name":"isPinned","type":"java://boolean"}]},{"n":"updateVisibility","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$updateVisibility","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.feeds.AbstractFeedElementRepresentation","pa":[{"name":"feedItemInput","type":"java://sfdc.chatter.connect.api.input.feeds.FeedItemInputRepresentation"},{"name":"feedItemId","type":"java://java.lang.String","loggable":true}]},{"n":"updateBookmark","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$updateBookmark","at":"SERVER","rt":"java://boolean","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"hasBookmark","type":"java://boolean"},{"name":"communityId","type":"java://java.lang.String","loggable":true}]},{"n":"updateMute","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$updateMute","at":"SERVER","rt":"java://void","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"isMuted","type":"java://boolean"}]},{"n":"getFeedItemActions","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$getFeedItemActions","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"feedItemId","type":"java://java.lang.String"}]},{"n":"getFeedEntityIsEditableByMe","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$getFeedEntityIsEditableByMe","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.feeds.FeedEntityIsEditableRepresentation","pa":[{"name":"feedItemId","type":"java://java.lang.String"},{"name":"communityId","type":"java://java.lang.String","loggable":true}]},{"n":"setBestAnswer","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$setBestAnswer","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.feeds.QuestionAndAnswersCapabilityRepresentation","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"commentId","type":"java://java.lang.String","loggable":true},{"name":"communityId","type":"java://java.lang.String","loggable":true}]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["context","aura://Object","I",false,null],["feedItemId","aura://String","I",false],["bookmarked","aura://Boolean","I",false],["communityId","aura://String","I",false]],"i":["markup://force:runnable"],"re":[{"ed":"markup://force:run","n":"run","xs":"I"},{"ed":"markup://force:run","n":"afterRun","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.run"},"n":"run"}],"css":true}*/});
$A.componentService.addComponent("markup://force:duplicateTabs",function(){/*$A.componentService.addComponentClass("markup://force:duplicateTabs",function(){return{meta:{name:"force$duplicateTabs","extends":"markup://aura:component"},controller:{doInit:function(a,b,c){c.loadObjectApiInfo(a)},onTabActivate:function(a,b,c){c.logTabActivated(b.getParam("tab"));$A.getEvt("markup://ui:updateSize").fire()},handleOnLoadError:function(a,b,c){b=b.getParams().message;a.set("v.panelTitle","");a.set("v.recordsLoadingError",b)},handleRecordDuplicateSelected:function(a,b){var c=a.get("v.duplicateSelectedCallbackEvent");
if(c)e=b.getParam("recordId"),$A.getEvt(c).setParams({navigationLocationId:a.get("v.navigationLocationId"),recordId:e}).fire();else if(a.get("v.navigateOnDuplicateSelected")){var e=b.getParam("recordId");e&&$A.getEvt("markup://force:navigateToSObject").setParams({recordId:e}).fire();$A.getEvt("markup://ui:getActivePanel").setParams({callback:function(a){if(a&&a.isValid()){var b=a.getEvent("notify");b?b.setParams({action:"destroyPanel",typeOf:"ui:destroyPanel"}).fire():$A.getEvt("markup://ui:destroyPanel").setParams({panelInstance:a}).fire()}}}).fire()}},
closeCurrentPanel:function(a,b,c){c.closeCurrentPanel()}},helper:{loadObjectApiInfo:function(a){var b=a.find("duplicateListTabSet"),c=!1;if(b&&0==b._tabCollection.tabIds.length){var e=[];(a.get("v.duplicateSet")||[]).forEach(function(a,b,f){b=a.entityName;a.entityLabelPlural||(c=!0,-1===e.indexOf(b)&&e.push(b))});a.set("v.requiredObjectInfo",c);if(c){var f=a.get("c.loadObjectApiInfo");f.setParams({entityApiNames:e});f.setCallback(this,function(b){var d=b.getState();"SUCCESS"===d?(this.setEntityApiInfo(a,
b.returnValue),this.createTabs(a)):"INCOMPLETE"===d?$A.getEvt("markup://force:showOfflineMessage").setParams({retryAction:f}).fire():"ERROR"===d&&(b=$A.get("$Label.DuplicateListErrors.RetrieveObjectApiError"),this.fireOnErrorEvent(a,b))});f.setStorable();$A.enqueueAction(f)}}},setEntityApiInfo:function(a,b){a.set("v.objectApiInfoData",b.data)},createTabs:function(a){var b=a.find("duplicateListTabSet");if(b&&0==b._tabCollection.tabIds.length){var c=a.get("v.duplicateSet")||[],e=this,f=a.get("v.requiredObjectInfo"),
h=a.get("v.objectApiInfoData");c.forEach(function(d,c,g){g=d;f&&h&&h.hasOwnProperty(d.entityName)&&(g=h[d.entityName]);var k=1<d.recordIds.length?g.entityLabelPlural:g.entityLabel,k=k+" ("+d.recordIds.length+")",l=0==c?!0:!1;c=$A.get("c.aura://ComponentController.getComponent");c.setParams({name:"markup://force:duplicateList",attributes:{recordIds:d.recordIds,entityLabel:g.entityLabel,entityName:d.entityName,pageSize:d.pageSize,currentPage:d.currentPage,canShowMore:d.canShowMore,footerLabel:d.footerLabel,
inContextOfComponent:d.inContextOfComponent,themeBackgroundColor:g.themeBackgroundColor,themeIcon:g.themeIcon}});d=e.createDuplicateListCallback(a,k,l,b);c.setCallback(this,d);$A.enqueueAction(c)})}},createDuplicateListCallback:function(a,b,c,e){return function(f){var h=f.getState();"SUCCESS"===h?(f=$A.createComponentFromConfig(f.getReturnValue()),!$A.util.isUndefinedOrNull(e)&&!$A.util.isUndefinedOrNull(e.get("e.addTab"))&&e.get("e.addTab").setParams({tab:{title:b,active:c,body:[f]}}).fire(),$A.util.addClass(a.find("loadingIndicator").getElement(),
"hideEl")):"INCOMPLETE"===h&&$A.getEvt("markup://force:showOfflineMessage").setParams({retryAction:f}).fire()}},logTabActivated:function(a){},closeCurrentPanel:function(){$A.getEvt("markup://ui:getActivePanel").setParams({callback:function(a){if(a&&a.isValid()){var b=a.getEvent("notify");b?b.setParams({action:"destroyPanel",typeOf:"ui:destroyPanel"}).fire():$A.getEvt("markup://ui:destroyPanel").setParams({panelInstance:a}).fire()}}}).fire()}},renderer:{afterRender:function(a,b){a.superAfterRender();
a.get("v.requiredObjectInfo")||b.createTabs(a)}}}});return {"xs":"I","descriptor":"markup://force:duplicateTabs","st":{"descriptor":"css://force.duplicateTabs","cl":"forceDuplicateTabs"},"cd":{"descriptor":"compound://force.duplicateTabs","ac":[{"n":"findMatches","descriptor":"serviceComponent://ui.force.components.controllers.dedupe.DedupeManagerController/ACTION$findMatches","at":"SERVER","rt":"java://ui.services.exceptions.DuplicateRecordError$DuplicateMatchResult","pa":[{"name":"record","type":"java://java.lang.Object"}]},{"n":"loadRecords","descriptor":"serviceComponent://ui.force.components.controllers.dedupe.DedupeManagerController/ACTION$loadRecords","at":"SERVER","rt":"java://boolean","pa":[{"name":"recordIds","type":"java://java.util.List<java.lang.String>"},{"name":"layoutType","type":"java://java.lang.String"}]},{"n":"loadObjectApiInfo","descriptor":"serviceComponent://ui.force.components.controllers.dedupe.DedupeManagerController/ACTION$loadObjectApiInfo","at":"SERVER","rt":"java://ui.services.models.DedupeObjectApiInfoData","pa":[{"name":"entityApiNames","type":"java://java.util.List<java.lang.String>"}]},{"n":"getConfig","descriptor":"serviceComponent://ui.force.components.controllers.dedupe.DedupeManagerController/ACTION$getConfig","at":"SERVER","rt":"java://ui.services.models.DedupeConfig","pa":[{"name":"entityApiName","type":"java://java.lang.String"},{"name":"recordTypeId","type":"java://java.lang.String"},{"name":"recordId","type":"java://java.lang.String"}]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["duplicateSet","aura://List","I",true,[]],["duplicateErrorMessage","aura://String","I",false],["recordsLoadingError","aura://String","I",false],["panelTitle","aura://String","I",false],["severity","aura://String","I",false],["navigateOnDuplicateSelected","aura://Boolean","I",false,false],["objectApiInfoData","aura://Object","p",false,null],["requiredObjectInfo","aura://Boolean","p",false,false],["duplicateSelectedCallbackEvent","aura://String","I",false],["duplicateSelectedText","aura://String","I",false,{"exprType":"PROPERTY","byValue":false,"target":"force:duplicateTabs","path":"$Label.DuplicateList.Footer"}],["navigationLocationId","aura://String","I",false]],"med":[{"name":"force:closeCurrentPanel","xs":"I","action":"{!c.closeCurrentPanel}"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.doInit"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"ed":{"descriptor":"markup://force:onLoadError"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleOnLoadError"},"n":"onLoadError"},{"ed":{"descriptor":"markup://force:recordDuplicateSelected"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleRecordDuplicateSelected"}}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:toast"},"attributes":{"values":{"inContextOfComponent":{"descriptor":"inContextOfComponent","value":"force:duplicateList"}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return ($A.get(\"$Browser.isPhone\")?\" duplicateTabsPhone\":\" duplicateTabsNonPhone\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:duplicateTabs","path":"$Browser.isPhone"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"duplicateListHeader","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"aria-hidden":"false","class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(($A.get(\"$Browser.isPhone\")?\"phone\":\"tablet\"),\" listHeader\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:duplicateTabs","path":"$Browser.isPhone"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:renderIf"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:message"},"attributes":{"values":{"severity":{"descriptor":"severity","value":{"exprType":"PROPERTY","byValue":false,"target":"force:duplicateTabs","path":"v.severity"}},"strength":{"descriptor":"strength","value":1},"theme":{"descriptor":"theme","value":"pOne"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"force:duplicateTabs","path":"v.duplicateErrorMessage"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(fn.empty(cmp.get(\"v.duplicateErrorMessage\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:duplicateTabs","path":"v.duplicateErrorMessage"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:renderIf"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:message"},"attributes":{"values":{"severity":{"descriptor":"severity","value":{"exprType":"PROPERTY","byValue":false,"target":"force:duplicateTabs","path":"v.severity"}},"strength":{"descriptor":"strength","value":1},"theme":{"descriptor":"theme","value":"pOne"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"force:duplicateTabs","path":"v.recordsLoadingError"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(fn.empty(cmp.get(\"v.recordsLoadingError\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:duplicateTabs","path":"v.recordsLoadingError"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:renderIf"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"h2"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"force:duplicateTabs","path":"v.panelTitle"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(fn.empty(cmp.get(\"v.panelTitle\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:duplicateTabs","path":"v.panelTitle"}],"byValue":false}}}}}]}}}},{"componentDef":{"descriptor":"markup://ui:tabset"},"localId":"duplicateListTabSet","attributes":{"values":{"onActivate":{"descriptor":"onActivate","value":{"exprType":"PROPERTY","byValue":false,"target":"force:duplicateTabs","path":"c.onTabActivate"}},"class":{"descriptor":"class","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"tabset \",($A.get(\"$Browser.isPhone\")?\"duplicateTabsPhone\":\"duplicateTabsNonPhone\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:duplicateTabs","path":"$Browser.isPhone"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://force:inlineSpinner"},"localId":"loadingIndicator","attributes":{"values":{"isVisible":{"descriptor":"isVisible","value":true},"centered":{"descriptor":"centered","value":true},"isLarge":{"descriptor":"isLarge","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return ($A.get(\"$Browser.isDesktop\")?true:false);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:duplicateTabs","path":"$Browser.isDesktop"}],"byValue":false}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://force:outputLookupWithPreview",function(){/*$A.componentService.addComponentClass("markup://force:outputLookupWithPreview",function(){return{meta:{name:"force$outputLookupWithPreview","extends":"markup://aura:component",imports:{componentLib:"markup://force:componentLibrary",hoverLib:"markup://force:hoverLibrary"}},controller:{handleOutputLookupClick:function(a,b,c){b=b.getSource();c.isPreviewable(a,b)&&c.hidePreview(a,c.CLICK_HIDE_DELAY_MS,!1)},handleOutputLookupMouseout:function(a,b,c){b=b.getSource();c.isPreviewable(a,b)&&c.hidePreview(a,
c.MOUSELEAVE_HIDE_DELAY_MS,!1)},handleOutputLookupMouseover:function(a,b,c){var d=b.getSource(),e={enableFocusHoverPanelEventHandler:!1,trapFocus:!1,showCloseButton:!0,mouseLeaveCloseDelay:600,enableMouseReEnter:!0};c.isPreviewable(a,d)&&c.showPreview(a,b,c.MOUSEENTER_SHOW_DELAY_MS,e)},handleOutputLookupFocus:function(a,b,c){var d=b.getSource(),e={enableFocusHoverPanelEventHandler:!0,trapFocus:!0,showCloseButton:!0};c.isPreviewable(a,d)&&c.showPreview(a,b,c.FOCUS_SHOW_DELAY_MS,e)},handleOutputLookupBlur:function(a,
b,c){if(a&&a.isValid&&a.isValid()){b=b.getSource();b=c.isPreviewable(a,b);var d=c.hoverLib&&c.hoverLib.hover&&c.hoverLib.hover.isHoverShowing(a);b&&!d&&c.hidePreview(a,c.BLUR_HIDE_DELAY_MS,!1)}},handleOutputLookupDblclick:function(a,b,c){var d=b.getSource();c.isPreviewable(a,d)&&c.showPreview(a,b,0,{enableFocusHoverPanelEventHandler:!0,trapFocus:!0,showCloseButton:!0})},updateLabel:function(a,b,c){b.getParam&&(b.getParam("arguments")&&b.getParam("arguments").newLabel)&&(b=b.getParam("arguments").newLabel,
a.set("v.label",b))},fireHoverPanelShow:function(a,b,c){a.getEvent("hoverPanelShow").setParams({recordId:a.get("v.value")}).fire()},fireHoverPanelHide:function(a,b,c){a.getEvent("hoverPanelHide").setParams({recordId:a.get("v.value")}).fire()}},helper:{MOUSEENTER_SHOW_DELAY_MS:300,MOUSELEAVE_HIDE_DELAY_MS:600,FOCUS_SHOW_DELAY_MS:2E3,BLUR_HIDE_DELAY_MS:0,isPreviewable:function(a,b){if(!$A.util.getBooleanValue(a.get("v.showPreview"))||$A.getRoot().isInstanceOf("force:suppressPreviews"))return!1;var c=
b.get("v.value");return"string"===typeof c&&0<c.length},hidePreview:function(a,b,c){this.hoverLib&&this.hoverLib.hover&&this.hoverLib.hover.hideHover(a,b,c)},showPreview:function(a,b,c,d){if(a&&a.isValid&&a.isValid()){var e=a.find("alternateIdProvider");e&&e.isValid&&e.isValid()?e.loadRecord().then($A.getCallback(function(){a&&($A.util.isFunction(a.isValid)&&a.isValid())&&this.renderHover(a,b,c,d)}).bind(this),$A.getCallback(function(){a&&($A.util.isFunction(a.isValid)&&a.isValid())&&this.renderHover(a,
b,c,d)}).bind(this)):this.renderHover(a,b,c,d)}},renderHover:function(a,b,c,d){var e=a.get("v.previewCmpDescriptor"),f=b.getSource(),f=this._getHoverPanelBodyCmpAttributes(a,f);b=b.getParam("domEvent");d.referenceElement=b.target;this.hoverLib.hover.showHover(a,e,f,c,d,b)},updateAssistiveText:function(a,b){var c=a.find("outputLookup");$A.util.isUndefinedOrNull(c)||($A.util.isUndefinedOrNull(c.get("v.label"))&&$A.util.isUndefinedOrNull(c.get("v.displayValue"))?a.set("v._assistiveTextVisible",!0):a.set("v._assistiveTextVisible",
!1))},handleViewportExit:function(a){!$A.util.isUndefinedOrNull(a)&&a.isValid()&&this.hidePreview(a,0,!1)},_getHoverPanelBodyCmpAttributes:function(a,b){var c=a.get("v.showRelatedLists"),d=a.get("v.entitiesWithSupportedRelatedListInPreviewPanel"),e=a.get("v.value"),f="string"===typeof e?e:null;$A.util.isArray(d)&&0<d.length&&!$A.util.isUndefinedOrNull(f)&&-1===d.indexOf(f.substring(0,3))&&(c=!1);d=null;(f=a.find("alternateIdProvider"))&&(f.isValid&&f.isValid())&&(d=f.get("v.alternateId"));d||(d=b&&
b.isValid&&b.isValid()?b.get("v.value"):e);return{inContextOfRecordId:a.get("v.recordId"),recordId:d,showRelatedLists:c,actionable:!1}}},renderer:{afterRender:function(a,b){a.superAfterRender();var c=$A.getEvt("markup://ui:notify","content",a);c&&(c.setParams({payload:{viewportExit:b.handleViewportExit.bind(b,a)}}),c.fire());b.updateAssistiveText(a)},unrender:function(a,b){b.hoverLib.hover.hideHover(a,0,!1);b.handleViewportExit(a);a.superUnrender()}}}});return {"xs":"PP","descriptor":"markup://force:outputLookupWithPreview","st":{"descriptor":"css://force.outputLookupWithPreview","cl":"forceOutputLookupWithPreview"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["recordId","aura://String","G",false],["sObjectName","aura://String","G",false],["class","aura://String","G",false],["dir","aura://String","I",false,"ltr"],["namespaceOverride","aura://String","I",false],["actionable","aura://Boolean","I",false,true],["role","aura://String","I",false],["ariaDescribedBy","aura://String","PP",false,""],["value","aura://Object","PP",false,null],["visible","aura://Boolean","I",false,true],["isProfilePicSupported","aura://Boolean","PP",false,true],["showDefaultIcon","aura://Boolean","PP",false,false],["label","aura://String","PP",false],["displayValue","aura://String","I",false],["showPreview","aura://Boolean","PP",false,true],["showRelatedLists","aura://Boolean","PP",false,false],["previewCmpDescriptor","aura://String","I",false,"markup://force:previewPanel"],["entitiesWithSupportedRelatedListInPreviewPanel","aura://List","I",false,[]],["useNavEvent","aura://Boolean","I",false,true],["unescapeHtml","aura://Boolean","I",false,false],["_assistiveTextVisible","aura://Boolean","p",false,false]],"med":[{"name":"force:fireHoverPanelShow","xs":"I"},{"name":"force:fireHoverPanelHide","xs":"I"},{"name":"force:updateLabel","xs":"I","action":"{!c.updateLabel}","attributes":[["newLabel","aura://String","I",false]]}],"i":["markup://force:firesHoverPanelLifecycleEvents","markup://force:hasRecordId","markup://force:hasSObjectName","markup://ui:visible","markup://force:hasProfilePic"],"re":[{"ed":"markup://ui:click","n":"click","xs":"G"},{"ed":"markup://ui:dblclick","n":"dblclick","xs":"G"},{"ed":"markup://ui:mousedown","n":"mousedown","xs":"G"},{"ed":"markup://ui:mousemove","n":"mousemove","xs":"G"},{"ed":"markup://ui:mouseout","n":"mouseout","xs":"G"},{"ed":"markup://ui:mouseover","n":"mouseover","xs":"G"},{"ed":"markup://ui:mouseup","n":"mouseup","xs":"G"},{"ed":"markup://force:hoverPanelHide","n":"hoverPanelHide","xs":"I"},{"ed":"markup://force:hoverPanelShow","n":"hoverPanelShow","xs":"I"}],"ld":{"outputLookup":{}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:renderIf"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"outputLookupContainer"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:outputLookup"},"localId":"outputLookup","attributes":{"values":{"sObjectName":{"descriptor":"sObjectName","value":{"exprType":"PROPERTY","byValue":false,"target":"force:outputLookupWithPreview","path":"v.sObjectName"}},"mouseover":{"descriptor":"mouseover","value":{"exprType":"PROPERTY","byValue":false,"target":"force:outputLookupWithPreview","path":"c.handleOutputLookupMouseover"}},"assistiveTextVisible":{"descriptor":"assistiveTextVisible","value":{"exprType":"PROPERTY","byValue":false,"target":"force:outputLookupWithPreview","path":"v._assistiveTextVisible"}},"focus":{"descriptor":"focus","value":{"exprType":"PROPERTY","byValue":false,"target":"force:outputLookupWithPreview","path":"c.handleOutputLookupFocus"}},"blur":{"descriptor":"blur","value":{"exprType":"PROPERTY","byValue":false,"target":"force:outputLookupWithPreview","path":"c.handleOutputLookupBlur"}},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"force:outputLookupWithPreview","path":"v.label"}},"displayValue":{"descriptor":"displayValue","value":{"exprType":"PROPERTY","byValue":false,"target":"force:outputLookupWithPreview","path":"v.displayValue"}},"click":{"descriptor":"click","value":{"exprType":"PROPERTY","byValue":false,"target":"force:outputLookupWithPreview","path":"c.handleOutputLookupClick"}},"showDefaultIcon":{"descriptor":"showDefaultIcon","value":{"exprType":"PROPERTY","byValue":false,"target":"force:outputLookupWithPreview","path":"v.showDefaultIcon"}},"dblclick":{"descriptor":"dblclick","value":{"exprType":"PROPERTY","byValue":false,"target":"force:outputLookupWithPreview","path":"c.handleOutputLookupDblclick"}},"isProfilePicSupported":{"descriptor":"isProfilePicSupported","value":{"exprType":"PROPERTY","byValue":false,"target":"force:outputLookupWithPreview","path":"v.isProfilePicSupported"}},"actionable":{"descriptor":"actionable","value":{"exprType":"PROPERTY","byValue":false,"target":"force:outputLookupWithPreview","path":"v.actionable"}},"mouseout":{"descriptor":"mouseout","value":{"exprType":"PROPERTY","byValue":false,"target":"force:outputLookupWithPreview","path":"c.handleOutputLookupMouseout"}},"unescapeHtml":{"descriptor":"unescapeHtml","value":{"exprType":"PROPERTY","byValue":false,"target":"force:outputLookupWithPreview","path":"v.unescapeHtml"}},"hasPreview":{"descriptor":"hasPreview","value":true},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"force:outputLookupWithPreview","path":"v.value"}},"class":{"descriptor":"class","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(cmp.get(\"v.class\"),\" textUnderline\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:outputLookupWithPreview","path":"v.class"}],"byValue":false}},"useNavEvent":{"descriptor":"useNavEvent","value":{"exprType":"PROPERTY","byValue":false,"target":"force:outputLookupWithPreview","path":"v.useNavEvent"}}}}},{"componentDef":{"descriptor":"markup://force:alternateIdProvider"},"localId":"alternateIdProvider","attributes":{"values":{"recordId":{"descriptor":"recordId","value":{"exprType":"PROPERTY","byValue":false,"target":"force:outputLookupWithPreview","path":"v.value"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.ne(cmp.get(\"v.value\"),null)&&fn.ne(cmp.get(\"v.value\"),cmp.get(\"undefined\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:outputLookupWithPreview","path":"v.value"},{"exprType":"PROPERTY","byValue":false,"target":"force:outputLookupWithPreview","path":"undefined"}],"byValue":false}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://emailui:emailToolbarContainer",function(){/*$A.componentService.addComponentClass("markup://emailui:emailToolbarContainer",function(){return{meta:{name:"emailui$emailToolbarContainer","extends":"markup://aura:component",imports:{util:"markup://emailui:utils",componentLib:"markup://force:componentLibrary"}},controller:{init:function(a,c,b){b.init(a)},notifySubjectOrBodyNotInLayout:function(a,c,b){b.notifySubjectOrBodyNotInLayout(a,b.getEventParamFromArgument(c,"missingFieldName",""))},onAttachmentAdded:function(a,c,b){b.onAttachmentAdded(a,
c)},onMergeFieldInserted:function(a,c,b){b.insertMergeFieldIntoEmailBody(a,c)},onIftHtmlReady:function(a,c,b){b.insertOrReplaceIftHtmlInEmailBody(a,c)},onShowAttachmentMenu:function(a,c,b){b.showEmailComposerActionsMenu(a,c)},onEmailTemplateSelected:function(a,c,b){b.insertTemplate(a,c)},onEmailTemplateSaved:function(a,c,b){b.onEmailTemplateSaved(a,c)},onEmailTemplateDeleted:function(a,c,b){b.onEmailTemplateDeleted(a,c)},enableEmailApproval:function(a,c,b){c=c.getParam("arguments").draftId;b.enableEmailApproval(a,
c)},onUpdatedIdsDataRequest:function(a,c){var b=c.getParam("callback"),d=c.getParam("requestedId");if($A.util.isFunction(b)){var f=!1;if($A.util.isString(d)){var e=a.get("v.updatedIds"),d=e.indexOf(d);-1<d&&(e.splice(d,1),f=!0)}b(f)}},initializeToolbarForClassic:function(a,c,b){b.setClassicTemplateInserted(a,!0)},initializeToolbarForUpdateableTemplate:function(a,c,b){var d=b.getEventParamFromArgument(c,"templateId",""),f=b.getEventParamFromArgument(c,"templateName",""),e=b.getEventParamFromArgument(c,
"templateDescription","");c=b.getEventParamFromArgument(c,"templateRelatedEntityType","");b.setUpdateableTemplateInserted(a,d,f,e,c);b.setLetterheadId(a,d)},onComposerReset:function(a,c,b){c=c.getParam("publisherId");a.getGlobalId()===c&&b.notifyAncestorsAboutReset(a)},onResetState:function(a,c,b){b.resetFields(a)},saveDraftAndSubmitForApproval:function(a,c,b){b.saveDraftAndSubmitForApproval(a)}},helper:{init:function(a){var c=a.find("emailToolbar");c&&(c.set("v.publisherId",a.getGlobalId(),!1),this.setData(c,
a.get("v.attachmentFilePickerConfig")),a.get("v.isInContextOfCase")?a.set("v._classicTemplateInserted",!1):this.setClassicTemplateInserted(a,!1))},enableEmailApproval:function(a,c){var b=a.get("v.emailApproval");b&&b.isValid()?b.setDraftId(c):"undefined"===typeof this._isApprovalEnabled?(b=a.get("c.isApprovalEnabled"),b.setStorable(),b.setCallback(a,function(b){"SUCCESS"===b.getState()&&(this._isApprovalEnabled=b=b.getReturnValue())&&this.createApprovalComponent(a,c)}.bind(this)),$A.enqueueAction(b)):
this._isApprovalEnabled&&this.createApprovalComponent(a,c)},createApprovalComponent:function(a,c){$A.createComponent("support:emailApproval",{"aura:id":"emailApprovalCmp",draftId:c},function(b,c,f){"SUCCESS"===c?a.set("v.emailApproval",b):"INCOMPLETE"===c?$A.getEvt("markup://force:showOfflineMessage").fire():"ERROR"===c&&this.componentLib.actions.showCreateComponentError("support:emailApproval",f)})},notifySubjectOrBodyNotInLayout:function(a,c){if(!$A.util.isEmpty(c)){var b=a.find("emailToolbar"),
d=$A.util.isEmpty(b.get("v.data"))?{}:b.get("v.data");d.hasTemplateIdField=!(0<=c.indexOf("EmailTemplateId"));this.setData(b,d);var d=0<=c.indexOf("Subject"),f=0<=c.indexOf("TextBody")&&0<=c.indexOf("HtmlBody");if(b&&b.hideTools){var e=[];(d||f)&&e.push("mergeField");d&&f&&e.push("emailTemplate");f&&(e.push("preview"),e.push("availability"));0<e.length&&b.hideTools(e)}a.set("v._noSubjectFieldInLayout",d,!1);a.set("v._noBodyFieldInLayout",f,!1)}},setData:function(a,c){a.set("v.data",c,!1)},onAttachmentAdded:function(a,
c){if(this.isComponentVisibleAndIsValidPublisherId(a,c)){var b=c.getParam("data");!$A.util.isEmpty(b)&&(!$A.util.isEmpty(b.capabilities)&&!$A.util.isEmpty(b.capabilities.files))&&this.fireFieldsChangedEvent(a,{contentDocuments:b.capabilities.files.items},!0)}},insertMergeFieldIntoEmailBody:function(a,c){if(this.isComponentVisibleAndIsValidPublisherId(a,c)){var b={body:{htmlValue:c.getParam("mergeField")}};this.fireFieldsChangedEvent(a,b,!0)}},insertOrReplaceIftHtmlInEmailBody:function(a,c){if(this.isComponentVisibleAndIsValidPublisherId(a,
c)){var b=a.find("iftLibrary");if(b&&b.provide){var d=c.getParam("iftHtml"),f=b.provide().Locator.isAvailabilityPresentInHtmlString;if(f&&d&&f(d)){var e=null,e=(e=a.find("emailToolbar"))&&e.get("v.data")&&e.get("v.data").emailBody?JSON.parse(e.get("v.data").emailBody):JSON.parse(c.getParam("emailBody")),b=b.provide().Locator.replaceAvailabilityFromHtmlString;e&&f(e)&&b?(f=b(e,d,"lex"),d={body:{htmlValue:f?f:d}},this.fireFieldsChangedEvent(a,d,!f)):(d={body:{htmlValue:d}},this.fireFieldsChangedEvent(a,
d,!0))}}}},showEmailComposerActionsMenu:function(a,c){if(this.isComponentVisible(a)){var b=c.getParam("menuItems");if(!$A.util.isUndefinedOrNull(b)&&$A.util.isArray(b)){var d=this;window.requestAnimationFrame($A.getCallback(function(){var b=c.getSource();if(b&&(b=b.get("v.actions"))){for(var e=0;e<b.length;e++){var g=b[e];"ui.publisher.support.quickAction.sendEmail.saveNew.template"===g.id?g.disabled=!d.canSaveTemplate(a,!1):"ui.publisher.support.quickAction.sendEmail.save.template"===g.id&&(g.disabled=
!d.canSaveTemplate(a,!0))}c.getSource().set("v.actions",b)}}))}}},canSaveTemplate:function(a,c){if(a.get("v.isInContextOfCase")||a.get("v._classicTemplateInserted")||!$A.util.isUndefinedOrNull($A.get("$Site")))return!1;var b=a.get("v._noSubjectFieldInLayout"),d=a.get("v._noBodyFieldInLayout");if(b||d)return!1;if(!c)return!0;b=a.find("emailToolbar");b=($A.util.isEmpty(b.get("v.data"))?{}:b.get("v.data")).template;return!(c&&($A.util.isEmpty(b)||!$A.util.isEmpty(b.pageId)))},insertTemplate:function(a,
c){if(this.isComponentVisibleAndIsValidPublisherId(a,c)){var b={},d=c.getParam("template");if(c.getParam("attachmentLoadSuccessful")){b.contentDocuments=d.ContentDocuments;b.attachments=d.attachments?d.attachments:[];d.Id&&(b.templateId=d.Id);c.getParam("isUpdateable")?this.setUpdateableTemplateInserted(a,d.Id,d.Name,d.Description,d.RelatedEntityType,d.FolderId,d.EnhancedLetterheadId,d.PageId):this.setUnupdateableTemplateInserted(a);var f=c.getParam("isClassicTemplate");this.setClassicTemplateInserted(a,
f);b.subject={value:d.Subject,isReadOnly:"READ_ONLY"===d.EditableStatus};var e=c.getParam("isOverride"),g=a.get("v.isInContextOfCase"),k=g&&!$A.util.isUndefinedOrNull(e)&&!e,h=k?this.extractBodyContent(a,d):d.HtmlValue;f&&"HAS_EDITABLE_REGIONS"===d.EditableStatus&&(h=this.processClassicHTMLTemplateWithLetterhead(h));b.body={htmlValue:"HtmlBody"in d?d.HtmlBody:h,textValue:"TextValue"in d?d.TextValue:"",isReadOnly:"EDITABLE"!==d.EditableStatus&&"HAS_EDITABLE_REGIONS"!==d.EditableStatus};g||("READ_ONLY"!==
d.EditableStatus?a.find("emailToolbar").enableTools(["popout"]):a.find("emailToolbar").disableTools(["popout"]));b.type=d.UiType;b.useClassicTemplate=f;b.useLexEmailTemplate=!f;b.isBuilderEmailTemplate=!$A.util.isUndefinedOrNull(d.PageId);b.withLetterhead=!$A.util.isUndefinedOrNull(d.EnhancedLetterheadId);b.relatedEntityType=d.RelatedEntityType?d.RelatedEntityType:null;b.isTemplateInPrivateFolder=this.getIsPrivateFolder(d.FolderId);b.emailTemplateName=d.Name?d.Name:null;this.fireFieldsChangedEvent(a,
b,k);$A.metricsService.transaction("ltng","interaction",{context:{eventType:"user",eventSource:"synthetic-insertEmailTemplate",attributes:{isEmailBodyOverwrite:e},locator:{target:"insertEmailTemplate",scope:"emailToolbarContainer"}}});this.refreshMruList(a)}else this.displayToastMessage($A.get("$Label.EmailTemplateInsertDialog.AttachmentError"),"warning","warning",!1)}},getIsPrivateFolder:function(a){if(!$A.util.isUndefinedOrNull(a)&&a.startsWith("005")){var c=$A.get("$SObjectType.CurrentUser.Id");
if(!$A.util.isUndefinedOrNull(c)&&!$A.util.isEmpty(c))return c.substring(15)===a.substring(15)}return!1},processClassicHTMLTemplateWithLetterhead:function(a){for(var c=(new DOMParser).parseFromString(a,"text/html"),b=!1,d=[2,4,6],f=0;f<d.length;f++){var e=c.body.querySelector("table#topTable \x3e tbody \x3e tr:nth-child("+d[f]+") \x3e td");e&&(e.style&&e.style.height)&&(b=e.style.height,e.style.lineHeight="string"===typeof b&&b.toLowerCase().endsWith("px")?b:b+"px",b=!0)}return b?"\x3cstyle\x3ep{margin-top:0px; margin-bottom:0px;}\x3c/style\x3e"+
c.body.innerHTML:a},setClassicTemplateInserted:function(a,c){var b=a.get("v._classicTemplateInserted"),d=a.get("v.isInContextOfCase");if((!d||!b)&&b!==c)a.set("v._classicTemplateInserted",c),b=a.find("emailToolbar"),d||(c?b.disableTools(["mergeField","preview","availability"]):b.enableTools(["mergeField","preview","availability"]))},setUpdateableTemplateInserted:function(a,c,b,d,f,e,g,k){a=a.find("emailToolbar");var h=$A.util.isEmpty(a.get("v.data"))?{}:a.get("v.data");h.template={id:c,name:b,description:d,
relatedEntityType:f,folderId:e,enhancedLetterheadId:g,pageId:k};this.setData(a,h)},setUnupdateableTemplateInserted:function(a){a=a.find("emailToolbar");if(!$A.util.isEmpty(a.get("v.data"))){var c=a.get("v.data");c.template=null;this.setData(a,c)}},displayToastMessage:function(a,c,b,d){var f=$A.getEvt("markup://force:showToast");f.setParams({message:a,mode:d?"sticky":"",hasOffsetFromTop:!1,key:c,type:b});f.fire()},onEmailTemplateSaved:function(a,c){if(this.isComponentVisibleAndIsValidPublisherId(a,
c)){var b=a.find("emailToolbar"),d=$A.util.isEmpty(b.get("v.data"))?{}:b.get("v.data");d.template=c.getParam("template");this.setData(b,d);this.addTemplateIdToUpdatedIds(a,c);this.refreshMruList(a);this.fireFieldsChangedEvent(a,{templateId:d.template.id,emailTemplateName:d.template.name,isTemplateInPrivateFolder:this.getIsPrivateFolder(d.template.FolderId),useLexEmailTemplate:!c.getParam("isClassicTemplate")},!1);(b=a.getEvent("templateSaved"))?b.fire():($A.log("templateSaved event"),$A.log(b))}},
addTemplateIdToUpdatedIds:function(a,c){var b=c.getParam("template");if(!$A.util.isEmpty(b)&&!$A.util.isEmpty(b.id)){var d=a.get("v.updatedIds");d.find(function(a){return a===b.id})||(d.push(b.id),a.set("v.updatedIds",d))}},onEmailTemplateDeleted:function(a,c){if(this.isComponentVisibleAndIsValidPublisherId(a,c)){var b=a.find("emailToolbar"),d=$A.util.isEmpty(b.get("v.data"))?{}:b.get("v.data"),f=d.template;f&&f.id===c.getParam("templateId")&&(d.template=null,this.fireFieldsChangedEvent(a,{templateId:""},
!1));this.setData(b,d)}},getEventParamFromArgument:function(a,c,b){return a&&a.getParam("arguments")?a.getParam("arguments")[c]:b},isComponentVisibleAndIsValidPublisherId:function(a,c){return this.isComponentVisible(a)&&this.isValidPublisherId(a,c)},isComponentVisible:function(a){return a.getElement()?(a=window.getComputedStyle(a.getElement()),"none"!==a.display&&"hidden"!==a.visibility):!1},isValidPublisherId:function(a,c){var b=$A.util.isUndefinedOrNull(c.getParam("componentId"))?c.getParam("publisherId"):
c.getParam("componentId");return!$A.util.isEmpty(b)&&b===a.getGlobalId()?!0:!1},fireFieldsChangedEvent:function(a,c,b){(a=a.getEvent("fieldsChanged"))?(a.setParams({fields:c,isAppend:b}),a.fire()):($A.log("fieldsChanged event"),$A.log(a))},resetFields:function(a){this.init(a);a.get("v.isInContextOfCase")||a.find("emailToolbar").enableTools(["popout"])},notifyAncestorsAboutReset:function(a){a.getEvent("composerResetComponentEvent").fire()},refreshMruList:function(a){a.find("emailToolbar").refreshMRUList()},
saveDraftAndSubmitForApproval:function(a){(a=a.find("emailAutosaver"))&&a.saveDraftAndSubmitForApproval()},setLetterheadId:function(a,c){if(!$A.util.isUndefinedOrNull(c)){var b=a.get("c.loadTemplate");b.setParams({templateId:c});b.setCallback(a,function(b){if("SUCCESS"===b.getState()){var c=a.find("emailToolbar"),e=$A.util.isUndefinedOrNull(c.get("v.data"))?{}:c.get("v.data");e.template.enhancedLetterheadId=b.getReturnValue().EnhancedLetterheadId;this.setData(c,e)}}.bind(this));$A.enqueueAction(b)}},
extractBodyContent:function(a,c){var b=c.HtmlValue;if($A.util.isUndefinedOrNull(b)||$A.util.isEmpty(b))return"";b=/<body[^>]*>((.|[\n\r])*)<\/body>/im.exec(b);return $A.util.isUndefinedOrNull(b)?c.HtmlValue:b[1]}}}});return {"xs":"I","descriptor":"markup://emailui:emailToolbarContainer","st":{"descriptor":"css://emailui.emailToolbarContainer","cl":"emailuiEmailToolbarContainer"},"cd":{"descriptor":"compound://emailui.emailToolbarContainer","ac":[{"n":"isApprovalEnabled","descriptor":"serviceComponent://ui.email.components.aura.components.emailToolbarContainer.EmailToolbarContainerController/ACTION$isApprovalEnabled","at":"SERVER","rt":"java://boolean","pa":[]},{"n":"loadTemplate","descriptor":"serviceComponent://ui.email.components.aura.components.emailToolbarContainer.EmailToolbarContainerController/ACTION$loadTemplate","at":"SERVER","rt":"java://ui.email.api.helper.EmailTemplateInfo","pa":[{"name":"templateId","type":"java://java.lang.String"}]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["quickActionSubjectId","aura://String","I",false],["recipientIds","aura://List","I",false,[]],["recipientPlainEmails","aura://List","I",false,[]],["uniqueComposerId","aura://String","I",false],["isInContextOfCase","aura://Boolean","I",false,false],["inContextOfComponent","aura://String","I",false],["isInDockingPanel","aura://Boolean","I",false],["isInModal","aura://Boolean","I",false],["isMassEmail","aura://Boolean","I",false,false],["sendEmailEventsInitialized","aura://Boolean","I",false,false],["updatedIds","aura://List","I",false,[]],["_classicTemplateInserted","aura://Boolean","I",false,false],["_noSubjectFieldInLayout","aura://Boolean","p",false,false],["_noBodyFieldInLayout","aura://Boolean","p",false,false],["emailApproval","aura://Aura.Component","p",false,null],["attachmentFilePickerConfig","aura://Map","I",false,{}],["showLabels","aura://Boolean","I",false,false]],"med":[{"name":"emailui:notifySubjectOrBodyNotInLayout","xs":"I","action":"{!c.notifySubjectOrBodyNotInLayout}","attributes":[["missingFieldName","aura://String","I",false]]},{"name":"emailui:resetState","xs":"I","action":"{!c.onResetState}"},{"name":"emailui:initializeToolbarForClassic","xs":"I","action":"{!c.initializeToolbarForClassic}"},{"name":"emailui:enableEmailApproval","xs":"I","action":"{!c.enableEmailApproval}","attributes":[["draftId","aura://String","I",false]]},{"name":"emailui:saveDraftAndSubmitForApproval","xs":"I","action":"{!c.saveDraftAndSubmitForApproval}"},{"name":"emailui:initializeToolbarForUpdateableTemplate","xs":"I","action":"{!c.initializeToolbarForUpdateableTemplate}","attributes":[["templateId","aura://String","I",false],["templateName","aura://String","I",false],["templateDescription","aura://String","I",false],["templateRelatedEntityType","aura://String","I",false]]}],"re":[{"ed":"markup://emailui:fieldsChanged","n":"fieldsChanged","xs":"I"},{"ed":"markup://emailui:composerResetComponentEvent","n":"composerResetComponentEvent","xs":"I"},{"ed":"markup://ui:change","n":"templateSaved","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"ed":{"descriptor":"markup://forceChatter:addAttachmentToPublisher"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onAttachmentAdded"}},{"ed":{"descriptor":"markup://emailui:mergeFieldInsertEvent"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onMergeFieldInserted"}},{"ed":{"descriptor":"markup://emailui:iftHtmlReadyEvent"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onIftHtmlReady"}},{"ed":{"descriptor":"markup://forceChatter:showAttachmentMenu"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onShowAttachmentMenu"},"n":"showAttachmentMenu"},{"ed":{"descriptor":"markup://runtime_sales_emailtemplateui:templateSelected"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onEmailTemplateSelected"}},{"ed":{"descriptor":"markup://runtime_sales_emailtemplateui:templateSaved"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onEmailTemplateSaved"}},{"ed":{"descriptor":"markup://runtime_sales_emailtemplateui:templateDeleted"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onEmailTemplateDeleted"}},{"ed":{"descriptor":"markup://emailui:composerResetEvent"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onComposerReset"}},{"ed":{"descriptor":"markup://emailui:updatedIdsDataRequest"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onUpdatedIdsDataRequest"},"n":"updatedIdsDataRequest"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightningInbox:insertFreeTimeMarkupLibraryProvider"},"localId":"iftLibrary"},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-grid"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-col"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailToolbarContainer","path":"v.emailApproval"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailToolbarContainer","path":"v.emailApproval"}}}}},{"componentDef":{"descriptor":"markup://runtime_sales_emailtemplateui:emailToolbar"},"localId":"emailToolbar","attributes":{"values":{"recipientIds":{"descriptor":"recipientIds","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailToolbarContainer","path":"v.recipientIds"}},"showTooltips":{"descriptor":"showTooltips","value":true},"uniqueComposerId":{"descriptor":"uniqueComposerId","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailToolbarContainer","path":"v.uniqueComposerId"}},"isDocked":{"descriptor":"isDocked","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailToolbarContainer","path":"v.isInDockingPanel"}},"recipientPlainEmails":{"descriptor":"recipientPlainEmails","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailToolbarContainer","path":"v.recipientPlainEmails"}},"isInModal":{"descriptor":"isInModal","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailToolbarContainer","path":"v.isInModal"}},"showNubbin":{"descriptor":"showNubbin","value":false},"isMassEmail":{"descriptor":"isMassEmail","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailToolbarContainer","path":"v.isMassEmail"}},"inContextOfComponent":{"descriptor":"inContextOfComponent","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailToolbarContainer","path":"v.inContextOfComponent"}},"quickActionSubjectId":{"descriptor":"quickActionSubjectId","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailToolbarContainer","path":"v.quickActionSubjectId"}},"groupDisplayType":{"descriptor":"groupDisplayType","value":"MENU"},"showLabels":{"descriptor":"showLabels","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailToolbarContainer","path":"v.showLabels"}},"canStartLoadingTools":{"descriptor":"canStartLoadingTools","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailToolbarContainer","path":"v.sendEmailEventsInitialized"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-col slds-text-align_right"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://support:emailAutosaver"},"localId":"emailAutosaver"}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.isInContextOfCase\")&&!(cmp.get(\"v.isInDockingPanel\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailToolbarContainer","path":"v.isInContextOfCase"},{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailToolbarContainer","path":"v.isInDockingPanel"}],"byValue":false}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://emailui:emailBaseReplyActions",function(){/*$A.componentService.addComponentClass("markup://emailui:emailBaseReplyActions",function(){return{meta:{name:"emailui$emailBaseReplyActions","extends":"markup://aura:component"},controller:{emailMsgChange:function(a,b,c){c.conditionallyDisplayActions(a)},reply:function(a,b,c){c.spawnReplyComposer(a);c.stopEventPropagation(a,b)},replyAll:function(a,b,c){c.spawnReplyAllComposer(a);c.stopEventPropagation(a,b)},forward:function(a,b,c){c.spawnForwardComposer(a);c.stopEventPropagation(a,b)}},helper:{squashEvent:function(a){$A.util.squash(a,
!0);return!1},stopEventPropagation:function(a,b){"runtime_sales_activities:activityTimelineFixedLayout"===a.get("v.inContextOfComponent")&&this.squashEvent(b)},spawnReplyComposer:function(a){var b=this;b.loadEmailData(a,function(){var c=b.getToListForReply(a),d=b.getSubjectForReply(a),e=b.getEmailBody(a),f=b.getInReplyToForReply(a),g=b.getReferencesForReply(a),h=b.getMessageIdForReply(a),k=a.get("v.contextRecordId");b.openComposer(a,c,[],[],d,e,k,[],f,g,h)},"REPLY")},spawnReplyAllComposer:function(a){var b=
this;b.loadEmailData(a,function(){var c=b.getToListForReply(a),d=b.getCcListForReplyAll(a),e=b.getBccListForReplyAll(a),f=b.getSubjectForReply(a),g=b.getEmailBody(a),h=b.getInReplyToForReply(a),k=b.getReferencesForReply(a),m=b.getMessageIdForReply(a),n=a.get("v.contextRecordId");b.openComposer(a,c,d,e,f,g,n,[],h,k,m)},"REPLY_ALL")},spawnForwardComposer:function(a){var b=this;b.loadEmailData(a,function(){var c=b.getSubjectForForward(a),d=b.getEmailBody(a),e=a.get("v.contextRecordId"),f=b.getAttachments(a);
b.openComposer(a,[],[],[],c,d,e,f,null,null,null)},"FORWARD")},isValidEmailAddress:function(a){return a&&-1!==a.indexOf("@")&&-1!==a.indexOf(".")},getSubjectForReply:function(a){return this.getConcreteHelper(a).getSubjectForReply(a.getConcreteComponent())},getSubjectForForward:function(a){return this.getConcreteHelper(a).getSubjectForForward(a.getConcreteComponent())},openComposer:function(a,b,c,d,e,f,g,h,k,m,n){var l=a.get("c.getEmailActionEvent");l.setParams({fromAddr:this.getFromForReply(a),toAddrs:b,
ccAddrs:c,bccAddrs:d,subject:e,htmlBody:f,contextRecordId:g,contentDocumentIds:h,inReplyTo:k,references:m,messageId:n});l.setCallback(a,function(a){"SUCCESS"===a.getState()&&(a=a.getReturnValue(),$A.getEvt(a).setParams(a.attributes).fire())});l.setStorable();$A.enqueueAction(l)},getConcreteHelper:function(a){return a.getConcreteComponent().getDef().getHelper()},conditionallyDisplayActions:function(a){var b=this.getConcreteHelper(a);b.conditionallyDisplayActions===this.conditionallyDisplayActions?
a.set("v.hasReplyActions",!0):b.conditionallyDisplayActions(a.getConcreteComponent())},getAttachments:function(a){return this.getConcreteHelper(a).getAttachments(a.getConcreteComponent())},loadEmailData:function(a,b,c){this.getConcreteHelper(a).loadEmailData(a.getConcreteComponent(),b,c)},getFromForReply:function(a){return this.getConcreteHelper(a).getFromForReply(a.getConcreteComponent())},getToListForReply:function(a){return this.getConcreteHelper(a).getToListForReply(a.getConcreteComponent())},
getCcListForReplyAll:function(a){return this.getConcreteHelper(a).getCcListForReplyAll(a.getConcreteComponent())},getBccListForReplyAll:function(a){return this.getConcreteHelper(a).getBccListForReplyAll(a.getConcreteComponent())},getEmailBody:function(a){return this.getConcreteHelper(a).getEmailBody(a.getConcreteComponent())},getInReplyToForReply:function(a){return this.getConcreteHelper(a).getInReplyToForReply(a.getConcreteComponent())},getReferencesForReply:function(a){return this.getConcreteHelper(a).getReferencesForReply(a.getConcreteComponent())},
getMessageIdForReply:function(a){return this.getConcreteHelper(a).getMessageIdForReply(a.getConcreteComponent())}}}});return {"xs":"I","descriptor":"markup://emailui:emailBaseReplyActions","st":{"descriptor":"css://emailui.emailBaseReplyActions","cl":"emailuiEmailBaseReplyActions"},"cd":{"descriptor":"compound://emailui.emailBaseReplyActions","ac":[{"n":"getEmailActionEvent","descriptor":"serviceComponent://ui.email.components.aura.components.actions.EmailBaseReplyActionsController/ACTION$getEmailActionEvent","at":"SERVER","rt":"java://ui.aura.components.ComponentDefinition","pa":[{"name":"fromAddr","type":"java://java.lang.String"},{"name":"toAddrs","type":"java://java.util.List<java.util.Map<java.lang.String,java.lang.Object>>"},{"name":"ccAddrs","type":"java://java.util.List<java.util.Map<java.lang.String,java.lang.Object>>"},{"name":"bccAddrs","type":"java://java.util.List<java.util.Map<java.lang.String,java.lang.Object>>"},{"name":"subject","type":"java://java.lang.String"},{"name":"htmlBody","type":"java://java.lang.String"},{"name":"textBody","type":"java://java.lang.String"},{"name":"contextRecordId","type":"java://java.lang.String"},{"name":"contentDocumentIds","type":"java://java.util.List<java.lang.String>"},{"name":"inReplyTo","type":"java://java.lang.String"},{"name":"references","type":"java://java.lang.String"},{"name":"messageId","type":"java://java.lang.String"}]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["record","aura://Object","I",false,null],["inContextOfComponent","aura://String","I",false],["compact","aura://Boolean","I",false,false],["contextRecordId","aura://String","I",false],["class","aura://String","I",false],["hasReplyActions","aura://Boolean","I",false,true]],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.emailMsgChange"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.record"},"n":"change"}],"ld":{"replyAll":{"context":{"contextRecordId":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailBaseReplyActions","path":"v.contextRecordId"}},"alias":"reply-all-composer"},"forward":{"context":{"contextRecordId":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailBaseReplyActions","path":"v.contextRecordId"}},"alias":"forward-composer"},"reply":{"context":{"contextRecordId":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailBaseReplyActions","path":"v.contextRecordId"}},"alias":"reply-composer"}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailBaseReplyActions","path":"v.class"}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"role":"group","id":"buttons","class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add((cmp.get(\"v.compact\")?\"slds-grid slds-grid_vertical-align-center\":\"slds-grid slds-grid--pull-padded slds-wrap\"),(cmp.get(\"v.hasReplyActions\")?\"\":\" hiddenActions\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailBaseReplyActions","path":"v.hasReplyActions"},{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailBaseReplyActions","path":"v.compact"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.compact\")?\"slds-col slds-grow-none\":\"slds-col_padded slds-grow-none\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailBaseReplyActions","path":"v.compact"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"replyAll","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onclick":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailBaseReplyActions","path":"c.replyAll"},"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.compact\")?\"replyAllButton\":\"\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailBaseReplyActions","path":"v.compact"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"iconBorder"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:icon"},"attributes":{"values":{"key":{"descriptor":"key","value":"reply_all"}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"replyAllLabel"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailBaseReplyActions","path":"$Label.EmailMessage.ReplyAll"}}}}}]}}}}]}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-col_padded slds-grow-none"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"reply","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onclick":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailBaseReplyActions","path":"c.reply"}}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"iconBorder"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:icon"},"attributes":{"values":{"key":{"descriptor":"key","value":"reply"}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailBaseReplyActions","path":"$Label.EmailMessage.Reply"}}}}}]}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-col_padded slds-grow-none"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"forward","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onclick":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailBaseReplyActions","path":"c.forward"},"key":"forward"}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"iconBorder"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:icon"},"attributes":{"values":{"key":{"descriptor":"key","value":"forward"}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailBaseReplyActions","path":"$Label.EmailMessage.Forward"}}}}}]}}}}]}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:menu"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:menuTriggerLink"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:icon"},"attributes":{"values":{"alt":{"descriptor":"alt","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailBaseReplyActions","path":"$Label.EmailMessage.MoreEmailActions"}},"class":{"descriptor":"class","value":"dropdownButton"},"key":{"descriptor":"key","value":"down"}}}}]}}}},{"componentDef":{"descriptor":"markup://ui:menuList"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:actionMenuItem"},"localId":"reply","attributes":{"values":{"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailBaseReplyActions","path":"$Label.EmailMessage.Reply"}},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:icon"},"attributes":{"values":{"class":{"descriptor":"class","value":"menuItemIcon"},"key":{"descriptor":"key","value":"reply"}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"menuItemLabel"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailBaseReplyActions","path":"$Label.EmailMessage.Reply"}}}}}]}}}}]},"click":{"descriptor":"click","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailBaseReplyActions","path":"c.reply"}}}}},{"componentDef":{"descriptor":"markup://ui:actionMenuItem"},"localId":"forward","attributes":{"values":{"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailBaseReplyActions","path":"$Label.EmailMessage.Forward"}},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:icon"},"attributes":{"values":{"class":{"descriptor":"class","value":"menuItemIcon"},"key":{"descriptor":"key","value":"forward"}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"menuItemLabel"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailBaseReplyActions","path":"$Label.EmailMessage.Forward"}}}}}]}}}}]},"click":{"descriptor":"click","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailBaseReplyActions","path":"c.forward"}}}}}]}}}}]},"class":{"descriptor":"class","value":"slds-col slds-grow-none"}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:emailBaseReplyActions","path":"v.compact"}}}}}]}}}}]}}}}]}],"ab":true,"css":true}*/});
$A.componentService.addComponent("markup://support:emailAutosaver",function(){/*$A.componentService.addComponentClass("markup://support:emailAutosaver",function(){return{meta:{name:"support$emailAutosaver","extends":"markup://aura:component"},controller:{init:function(a,b,c){c.onInit(a)},setIsPaused:function(a,b,c){b=b.getParam("arguments").isPaused;c.setIsPaused(a,!!b)},saveDraftAndSubmitForApproval:function(a,b,c){c.saveDraftAndSubmitForApproval(a)},closeError:function(a,b,c){c.hideError(a)},showError:function(a,b,c){c.showError(a)}},helper:{_DRAFT_CHECK_FREQUENCY_MS:5E3,_DRAFT_CHECK_ON_UNPAUSE_MS:3E3,
onInit:function(a){var b=a.get("c.getInitialData");b.setStorable();b.setCallback(a,function(b){"SUCCESS"===b.getState()?(!$A.util.isUndefinedOrNull(b.returnValue)&&!$A.util.isUndefinedOrNull(b.returnValue.isDraftEnabled)&&a.set("v.isEnabled",b.returnValue.isDraftEnabled),!$A.util.isUndefinedOrNull(b.returnValue)&&!$A.util.isUndefinedOrNull(b.returnValue.maxEmailBodyLength)&&a.set("v.maxEmailBodyLength",b.returnValue.maxEmailBodyLength)):this.setErrorState(a,b)}.bind(this));$A.enqueueAction(b)},scheduleNextAutosave:function(a,
b){b=b||this._DRAFT_CHECK_FREQUENCY_MS;var c=setTimeout(function(){!a.get("v.isPaused")&&this.autosave(a)}.bind(this),b);a.set("v._nextCheckTimeout",c)},autosave:function(a,b){if(a.isValid()){var c=a.getEvent("dataRequest");c?c.setParams({callback:$A.getCallback(function(c){try{c.emailSubject=JSON.parse(c.emailSubject),c.emailBody=JSON.parse(c.emailBody)}catch(d){clearTimeout(a.get("v._nextCheckTimeout"));return}b?this.saveDraft(a,c,!0):this.isSaveNeeded(a,c)?this.saveDraft(a,c,!1):this.scheduleNextAutosave(a)}.bind(this))}).fire():
clearTimeout(a.get("v._nextCheckTimeout"))}},isSaveNeeded:function(a,b){return""===a.get("v._lastSavedPayload")?(a.set("v._lastSavedPayload",JSON.stringify(b)),!1):JSON.stringify(b)!==a.get("v._lastSavedPayload")},saveDraft:function(a,b,c){a.set("v.errorMessage","");a.set("v.showErrorPopover",!1);a.set("v.stateText",$A.get("$Label.EmailDraft.Saving"));$A.metricsService.transactionStart("ltng","performance:emailAutosave");this.fireSaveDraftEvent(a,c,function(c){this.saveDraftCallback(a,b,c)}.bind(this))},
saveDraftAndSubmitForApproval:function(a){this.autosave(a,!0)},saveDraftCallback:function(a,b,c){a.set("v._lastSavedPayload",JSON.stringify(b));$A.metricsService.transactionEnd("ltng","performance:emailAutosave",{context:{eventType:"performance",eventSource:"synthetic-autosave",attributes:{state:c.state}}});"SUCCESS"===c.state?this.setSavedState(a):this.setErrorState(a,c);this.scheduleNextAutosave(a)},setErrorState:function(a,b){a.set("v.stateText",$A.get("$Label.EmailDraft.SaveFailed"));var c;c=
"INCOMPLETE"===b.state?$A.get("$Label.EmailDraft.PopoverOfflineMessage"):$A.get("$Browser.S1Features.isCaseEmailLargeDraftEnabled")&&this.isFieldErrorStringTooLong(b.error[0],"HtmlBody")?b.error[0].message:this.isFieldErrorStringTooLong(b.error[0],"HtmlBody")||this.isFieldErrorStringTooLong(b.error[0],"TextBody")?this.getErrorMessage(a):b.error[0]&&b.error[0].message;a.set("v.errorMessage",c)},isFieldErrorStringTooLong:function(a,b){return!$A.util.isUndefinedOrNull(a)&&!$A.util.isUndefinedOrNull(a.fieldErrors)&&
!$A.util.isUndefinedOrNull(a.fieldErrors[b])&&!$A.util.isUndefinedOrNull(a.fieldErrors[b][0])&&!$A.util.isUndefinedOrNull(a.fieldErrors[b][0].message)&&"STRING_TOO_LONG"===a.fieldErrors[b][0].statusCode},getErrorMessage:function(a){a=a.get("v.maxEmailBodyLength");return $A.get("$Label.EmailDraft.SaveFailedError").replace("{0}",a)},setSavedState:function(a){a.set("v.stateText",$A.get("$Label.EmailDraft.Saved"))},fireSaveDraftEvent:function(a,b,c){a.getEvent("saveEmailDraft").setParams({isSubmittingForApproval:b,
callback:c}).fire()},setIsPaused:function(a,b){a.get("v.isEnabled")&&b!==a.get("v.isPaused")&&(a.set("v.isPaused",b),a.set("v.stateText",""),a.set("v.errorMessage",""),a.set("v.showErrorPopover",!1),a.set("v._lastSavedPayload",""),!0===b?clearTimeout(a.get("v._nextCheckTimeout")):this.scheduleNextAutosave(a,this._DRAFT_CHECK_ON_UNPAUSE_MS))},showError:function(a){a.set("v.showErrorPopover",!0);a.find("close-error-popover").getElement().focus()},hideError:function(a){a.set("v.showErrorPopover",!1);
a.find("error-button").getElement().focus()}}}});return {"xs":"I","descriptor":"markup://support:emailAutosaver","st":{"descriptor":"css://support.emailAutosaver","cl":"supportEmailAutosaver"},"cd":{"descriptor":"compound://support.emailAutosaver","ac":[{"n":"getInitialData","descriptor":"serviceComponent://ui.support.components.aura.components.emailautosaver.EmailAutosaverController/ACTION$getInitialData","at":"SERVER","rt":"java://ui.support.components.aura.components.emailautosaver.EmailAutosaverController$Model","pa":[]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["stateText","aura://String","I",false],["_lastSavedPayload","aura://String","I",false,""],["isPaused","aura://Boolean","I",false,true],["isEnabled","aura://Boolean","I",false,false],["maxEmailBodyLength","aura://String","I",false],["errorMessage","aura://String","I",false,""],["showErrorPopover","aura://Boolean","I",false,false],["_nextCheckTimeout","aura://String","I",false]],"med":[{"name":"support:setIsPaused","xs":"I","action":"{!c.setIsPaused}","attributes":[["isPaused","aura://Boolean","I",false]]},{"name":"support:saveDraftAndSubmitForApproval","xs":"I","action":"{!c.saveDraftAndSubmitForApproval}"}],"re":[{"ed":"markup://emailui:dataRequest","n":"dataRequest","xs":"I"},{"ed":"markup://support:saveEmailDraft","n":"saveEmailDraft","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"autosaver-state","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-grid"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"aria-live":"polite","aria-atomic":"true","class":"autosave-text slds-col"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"support:emailAutosaver","path":"v.stateText"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.eq(cmp.get(\"v.errorMessage\"),\"\")?\"slds-hide\":\"slds-col slds-no-flex\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"support:emailAutosaver","path":"v.errorMessage"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:buttonIcon"},"localId":"error-button","attributes":{"values":{"size":{"descriptor":"size","value":"medium"},"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"support:emailAutosaver","path":"c.showError"}},"variant":{"descriptor":"variant","value":"bare"},"iconName":{"descriptor":"iconName","value":"utility:warning"},"class":{"descriptor":"class","value":"error-button"},"alternativeText":{"descriptor":"alternativeText","value":{"exprType":"PROPERTY","byValue":false,"target":"support:emailAutosaver","path":"$Label.EmailDraft.ShowError"}}}}}]}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"error-popover","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.showErrorPopover\")?\"slds-popover slds-popover_error slds-nubbin_top-right\":\"slds-hide\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"support:emailAutosaver","path":"v.showErrorPopover"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-popover__header slds-grid slds-media slds-media_center slds-has-flexi-truncate"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-col"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"support:emailAutosaver","path":"$Label.EmailDraft.SaveFailedPopoverHeader"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-col slds-align-right"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:buttonIcon"},"localId":"close-error-popover","attributes":{"values":{"size":{"descriptor":"size","value":"medium"},"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"support:emailAutosaver","path":"c.closeError"}},"variant":{"descriptor":"variant","value":"bare-inverse"},"iconName":{"descriptor":"iconName","value":"utility:close"},"alternativeText":{"descriptor":"alternativeText","value":{"exprType":"PROPERTY","byValue":false,"target":"support:emailAutosaver","path":"$Label.EmailDraft.CloseError"}}}}}]}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-popover__body slds-text-align--left"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"p"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"support:emailAutosaver","path":"v.errorMessage"}}}}}]}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:feedItem",function(){/*$A.componentService.addComponentClass("markup://forceChatter:feedItem",function(){return{meta:{name:"forceChatter$feedItem","extends":"markup://forceChatter:abstractFeedItem",imports:{realtime:"markup://forceChatter:streamingDataService"}},controller:{init:function(a,b,c){var d=a.get("v.data");a.set("v.stopMenuPropagation",!1);var e=($A.get("$Site.googleTranslateAPIKey")||"").trim(),f=c.feedLib.util.isPSSC(),g=a.get("v.config.isTranslationEnabled"),e=e&&f&&g;a.set("v._showFeedsTranslationButton",
e);e&&c.createTranslationComponents(a);c.feedLib.util.isPSSC()&&a.get("v.config.isThreadedEnabled")&&void 0===$A.util.lookup(d,"parent","entityLabel")&&a.set("v._isThreadedDiscussion",!0);"Draft"===$A.util.lookup(d,"capabilities","status","feedEntityStatus")&&(a.set("v._pendingReview",!0),a.set("v._isDraft",!0),a.set("v.showFeedItemActions",!1));a.set("v.communityId",a.get("v.config.communityId.rawValue"));e=$A.util.lookup(d,"capabilities","close","isClosed");a.set("v._isConversationClosed",e);e=
"";e="PollPost"===d.type?$A.get("$Label.Feeds.ClosedConversationMessagePoll"):"QuestionPost"===d.type?$A.get("$Label.Feeds.ClosedConversationMessageQuestion"):$A.get("$Label.Feeds.ClosedConversationMessagePost");a.set("v._closedConversationLabel",e);e=c.feedLib.util.generateHref(d.id,d,a.get("v.communityId"));a.set("v._itemHref",e);c.init(a,b,c);a.helper.feedLib.util.isPendingReview(d)&&a.set("v._pendingReview",!0);$A.util.lookup(d,"capabilities","pin","isPinnedCopy")&&(a.set("v.isPinned",!0),a.set("v.showFeedItemActions",
!1));!d.parent.name&&$A.util.lookup(d,"header","messageSegments",0)&&(d.header.messageSegments[0].text=$A.get("$Label.activityTimeline.noSubjectActivityLabel"),d.parent.name=$A.get("$Label.activityTimeline.noSubjectActivityLabel"),a.set("v.data",d));b=a.get("v.config");d=a.find("empApi");b&&d&&c.realtime.service.init(b.isRealtimeEnabled,b.isRealtimeDiagnosticsEnabled,b.streamingApiSessionKey,d);c.feedLib.util.setFlagInfo(a);c.feedLib.util.isPSSC()&&a.get("v.config.isThreadedEnabled")&&(a.set("v.feedbackCssClass",
"feed__item-comments--threadedCommunity"),a.set("v.commentCssClass","comment--threadedCommunity"));a.set("v._showComments",!0)},feedItemClicked:function(a,b,c){var d=!1,e=a.getElement().querySelector("feeds_translation-selector");e&&(d=e.parentElement&&e.parentElement.contains(b.target)||a._stopClickPropagationFromTranslateEvent);a.get("v.stopMenuPropagation")||d?(a.set("v.stopMenuPropagation",!1),a._stopClickPropagationFromTranslateEvent=!1,c.stopPropagation(b)):c.feedItemClicked(a,b,c)},drillIn:function(a,
b,c){c.drillIn(a,b,c)},stopPropagation:function(a,b,c){c.stopPropagation(b)},flagUpdated:function(a,b,c){if(b.getParam("entityId")===a.get("v.data.id")){var d=b.getParam("flagged");b=b.getParam("flagCount");a.set("v.data.capabilities.moderation.moderationFlags.flaggedByMe",d);a.set("v.data.capabilities.moderation.moderationFlags.flagCount",b);c.feedLib.util.setFlagInfo(a)}},feedItemStatusChanged:function(a,b){var c=b.getParam("entityId"),d=a.get("v.data");if(c===d.id){var c=b.getParam("newStatus"),
e={};$A.util.apply(e,d,!0,!0);e.capabilities.status.feedEntityStatus=c;$A.getEvt("markup://forceChatter:feedItemUpdated").setParams({data:e}).fire()}},handleAssociatedActionsRefresh:function(a,b){for(var c=b.getParam("platformActionGroup")||{},d=a.get("v.data.capabilities.associatedActions.platformActionGroups")||{},e=0;e<d.length;e++)if(c.id===d[e].id){d[e]=c;a.set("v.data.capabilities.associatedActions.platformActionGroups",d);$A.getEvt("markup://forceChatter:updateActionLinkGroupUI").setParams({platformActionGroupId:c.id}).fire();
break}},commentCreated:function(a,b,c){c.commentCreated(a,b,c);c.commentInserted(a)},muteUpdated:function(a,b,c){if(b.getParam("feedItemId")===a.get("v.data.id")){b=b.getParam("muted");a.set("v.data.capabilities.mute.isMutedByMe",b);var d=a.get("v.data");c.feedLib.util.logFeedInteraction(a,"feeditem",b?"mute":"un-mute",$A.util.lookup(d,"id"),{likeCount:$A.util.lookup(d,"capabilities","chatterLikes","page","total"),viewCount:$A.util.lookup(d,"capabilities","interactions","count"),commentCount:$A.util.lookup(d,
"capabilities","comments","page","total")})}},pinUpdated:function(a,b,c){var d=b.getParam("feedItem");if($A.util.lookup(d,"id")===a.get("v.data.id")&&(b=b.getParam("pinned"),a.set("v.data.capabilities.pin.isPinned",b),d=a.get("v.data"),b||!b&&a.get("v.data.capabilities.pin.isPinnedCopy")))c.feedLib.util.logFeedInteraction(a,"feeditem",b?"pin":"un-pinned",$A.util.lookup(d,"id"),{likeCount:$A.util.lookup(d,"capabilities","chatterLikes","page","total"),viewCount:$A.util.lookup(d,"capabilities","interactions",
"count"),commentCount:$A.util.lookup(d,"capabilities","comments","page","total")})},capabilityUpdated:function(a,b,c){b=b.getParams();if(a.get("v.data.id")===b.feedItemId){b=$A.util.getBooleanValue(a.get("v.data.capabilities.questionAndAnswers.bestAnswer"));var d=a.get("v.data");c.feedLib.util.logFeedInteraction(a,"feeditem",b?"best-answer-selected":"best-answer-removed",$A.util.lookup(d,"id"),{commentId:b?a.get("v.data.capabilities.questionAndAnswers.bestAnswer.id"):null,likeCount:$A.util.lookup(d,
"capabilities","chatterLikes","page","total"),viewCount:$A.util.lookup(d,"capabilities","interactions","count"),commentCount:$A.util.lookup(d,"capabilities","comments","page","total")})}},squashArrowKeyEvent:function(a,b){37<=b.keyCode&&40>=b.keyCode&&$A.util.squash(b,!0)},commentInserted:function(a,b,c){c.commentInserted(a)},doneEditing:function(a,b,c){b.getParam("instanceId")===$A.util.lookup(a.get("v.data"),"id")&&c.focusActionTriggerMenu(a)},handleCloseUpdated:function(a,b){if(b.getParam("feedItem").id===
a.get("v.data.id")){var c=b.getParam("isClosed");a.set("v.data.capabilities.close.isClosed",c);a.set("v._isConversationClosed",c)}},handleAvailableLanguagesRequested:function(a,b){b.stopPropagation();var c=$A.get("$Site.googleTranslateAPIKey"),d=a.find("languageProvider"),e=$A.get("$Locale").userLocaleLang;d.getLanguages(c,e).then($A.getCallback(function(b){a.set("v._availableTranslationLanguages",b)})).catch($A.getCallback(function(a){a=$A.getEvt("markup://force:showToast");a.setParams({type:"error",
message:$A.get("$Label.Feeds.TranslationGenericErrorMessage")});a.fire()}))},handleDisplayAvailableLanguages:function(a,b,c){b.stopPropagation();b=$A.get("$Site.googleTranslateAPIKey");c=a.find("languageProvider");var d=$A.get("$Locale").userLocaleLang;c.getLanguages(b,d).then($A.getCallback(function(b){a.set("v._availableTranslationLanguages",b);b=b.map(function(b){return{executionComponent:{attributes:{selectionHandler:$A.getCallback(function(){a.find("translationSelector").getElement().dispatchEvent(new CustomEvent("translate",
{bubbles:!0,cancelable:!0,composed:!1,detail:{language:b.language,allowFeedItemDrillIn:!0}}))})},componentName:"forceChatter:translationLanguageSelectionAction",descriptor:"forceChatter:translationLanguageSelectionAction",isClientSideCreatable:!0,isEvent:!1},label:b.name}});b.push({isCancelAction:!0,label:$A.get("$Label.Buttons.cancel")});$A.getEvt("markup://force:showModal").setParams({actions:b}).fire()})).catch($A.getCallback(function(a){a=$A.getEvt("markup://force:showToast");a.setParams({type:"error",
message:$A.get("$Label.Feeds.TranslationGenericErrorMessage")});a.fire()}))},handleTranslateEvent:function(a,b){b.stopPropagation();a._stopClickPropagationFromTranslateEvent=b.detail&&b.detail.allowFeedItemDrillIn?!1:!0;$A.metricsService.transaction("ltng","interaction",{context:{eventSource:"synthetic-google-translate-event",eventType:"user",locator:{target:"feed-item",scope:"Communities",context:{description:"Post Translation",feedItemId:a.get("v.data").id}}}});var c=$A.get("$Site.googleTranslateAPIKey"),
d=a.find("postTranslator"),e=$A.get("$Locale").userLocaleLang;b.detail&&(e=b.detail.language||e);var f={messageSegments:a.get("v.data.body.messageSegments"),title:a.get("v.data.capabilities.questionAndAnswers.questionTitle")};d.translatePost(c,e,f).then($A.getCallback(function(b){b.title&&(a._originalTitle=f.title,a.set("v.data.capabilities.questionAndAnswers.questionTitle",b.title));b.messageSegments&&(a._originalMessageSegments=f.messageSegments,a.set("v.data.body.messageSegments",b.messageSegments));
a.set("v._isTranslated",!0)})).catch($A.getCallback(function(a){var b=$A.getEvt("markup://force:showToast");"exceeds supported content size"===a?b.setParams({type:"error",message:$A.get("$Label.Feeds.TranslationExceedsCharacterLimitMessage")}):b.setParams({type:"error",message:$A.get("$Label.Feeds.TranslationGenericErrorMessage")});b.fire()}))},handleUndoTranslationEvent:function(a,b){b.stopPropagation();a._originalTitle&&(a.set("v.data.capabilities.questionAndAnswers.questionTitle",a._originalTitle),
delete a._originalTitle);a._originalMessageSegments&&(a.set("v.data.body.messageSegments",a._originalMessageSegments),delete a._originalMessageSegments);a.set("v._isTranslated",!1)},handleCommentCreatedEvent:function(a,b){a.set("v.initiallyFocusedCommentId",b.detail.comment.id)}},helper:{highlight:function(a){var b=a.getElement();$A.util.addClass(b,"highlight");setTimeout($A.getCallback(function(){$A.util.removeClass(b,"highlight")}),1E3)},stopPropagation:function(a){a&&(a.getParams?(a=a.getParams())&&
a.domEvent&&$A.util.squash(a.domEvent,!0):$A.util.squash(a,!0))},dock:function(a){var b={config:a.get("v.config"),data:a.get("v.data"),feedType:a.get("v.feedType"),comments:JSON.parse(JSON.stringify(a.get("v.comments"))),isInPrivateGroup:a.get("v.isInPrivateGroup"),isTopicsEnabled:a.get("v.isTopicsEnabled"),showGroupMentionVisibility:a.get("v.showGroupMentionVisibility"),showFeedItemActions:a.get("v.showFeedItemActions"),commentActions:a.get("v.commentActions")};a="Post by "+a.get("v.data.actor.displayName");
$A.getEvt("markup://force:showDockingPanel").setParams({componentDef:"forceChatter:feedItem",attributes:b,onError:function(a){},panelConfig:{flavor:"xlarge",title:a,icon:"post",iconColor:"95AEC5"}}).fire()},drillIn:function(a,b,c,d){var e=a.get("v.config.feedDisplayConfig.mode")||a.get("v.feedDisplayConfig.mode");if("IN_FEED"===e||"DRILL_IN"===e){c.highlight(a);e=!1;if(a.get("v.isInPrivateGroup")){var f=a.get("v.subjectId"),g=a.get("v.data.parent.id")||"";f!==g&&(e=!0)}a={feedItemId:!$A.util.isUndefinedOrNull(d)?
d:a.get("v.data.id"),showGroupMentionVisibility:e,feedType:a.get("v.feedType"),feedDesign:a.get("v.feedDesign"),internalAttributes:a.get("v.data.capabilities"),networkId:c.feedLib.util.getNetworkId(a.get("v.communityId"))};$A.getEvt("markup://force:navigateToFeedItemDetailInternal").setParams(a).fire()}c.stopPropagation(b)},commentInserted:function(a){(a=a.find("interactions"))&&a.markDirty()},focusActionTriggerMenu:function(a){var b=a.getElement();b?(this.feedLib.util.setFocusOn(b,".cuf-feedItemActionTrigger"),
a.set("v._setFocusOnActionTrigger",!1)):a.set("v._setFocusOnActionTrigger",!0)},focusFeedItem:function(a){(a=a.getElement())&&this.feedLib.util.setFocusOn(a,"a.cuf-entityLink")},createTranslationComponents:function(a){$A.createComponents([["feeds_translation:salesforceSupportedLanguages",{"aura:id":"languageProvider"}],["feeds_translation:postTranslator",{"aura:id":"postTranslator"}],["feeds_translation:selector",{"aura:id":"translationSelector",availableLanguages:a.getReference("v._availableTranslationLanguages"),
availableLanguageDisplayBehavior:$A.get("$Browser.isPhone")?"notify":"display",isTranslated:a.getReference("v._isTranslated")}],["feeds_translation:googleAttribution"]],function(b,c){"SUCCESS"===c?(a.set("v._translationComponents",b.slice(0,3)),a.set("v._translationAttributionComponents",b.slice(3))):a.set("v._showFeedsTranslationButton",!1)})}},renderer:{afterRender:function(a,b){a.superAfterRender();var c=a.get("v.data"),d=a.getElement();c.refocus?b.feedLib.util.setFocusOn(d,".cuf-entityLink"):
!0===a.get("v._setFocusOnActionTrigger")&&b.focusActionTriggerMenu(a);if(a.get("v.config.isFeedReadTrackingEnabled")&&($A.util.lookup(c,"capabilities","readBy")&&d)&&(d=d.getElementsByClassName("cuf-feedElement")[0]))d.dataset.isReadByMe=$A.util.lookup(c,"capabilities","readBy","isReadByMe");a.get("v.focusWhenInitiallyDisplayed")&&b.focusFeedItem(a)},unrender:function(a){if(a._componentsToDestroy)for(var b=0;b<a._componentsToDestroy.length;++b)a._componentsToDestroy[b].destroy();a.superUnrender()}}}});return {"xs":"I","descriptor":"markup://forceChatter:feedItem","st":{"descriptor":"css://forceChatter.feedItem","cl":"forceChatterFeedItem"},"fst":{"descriptor":"css://forceChatter.feedItem"},"cd":{"descriptor":"compound://forceChatter.feedItem","ac":[{"n":"isFeedItemEditableByMe","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$isFeedItemEditableByMe","at":"SERVER","rt":"java://boolean","pa":[{"name":"feedItemId","type":"java://java.lang.String"}]},{"n":"updateVisibility","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$updateVisibility","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.feeds.AbstractFeedElementRepresentation","pa":[{"name":"feedItemInput","type":"java://sfdc.chatter.connect.api.input.feeds.FeedItemInputRepresentation"},{"name":"feedItemId","type":"java://java.lang.String","loggable":true}]},{"n":"getFeedItemActions","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$getFeedItemActions","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"feedItemId","type":"java://java.lang.String"}]},{"n":"updateCloseStatus","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$updateCloseStatus","at":"SERVER","rt":"java://void","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"communityId","type":"java://java.lang.String"},{"name":"isClosed","type":"java://boolean"}]},{"n":"updatePinStatus","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$updatePinStatus","at":"SERVER","rt":"java://void","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"feedType","type":"java://java.lang.String"},{"name":"subjectId","type":"java://java.lang.String"},{"name":"isPinned","type":"java://boolean"}]},{"n":"updateMute","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$updateMute","at":"SERVER","rt":"java://void","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"isMuted","type":"java://boolean"}]},{"n":"getFeedEntityIsEditableByMe","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$getFeedEntityIsEditableByMe","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.feeds.FeedEntityIsEditableRepresentation","pa":[{"name":"feedItemId","type":"java://java.lang.String"},{"name":"communityId","type":"java://java.lang.String","loggable":true}]},{"n":"setBestAnswer","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$setBestAnswer","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.feeds.QuestionAndAnswersCapabilityRepresentation","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"commentId","type":"java://java.lang.String","loggable":true},{"name":"communityId","type":"java://java.lang.String","loggable":true}]},{"n":"deleteFeedItem","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$deleteFeedItem","at":"SERVER","rt":"java://void","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true}]},{"n":"updateBookmark","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$updateBookmark","at":"SERVER","rt":"java://boolean","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"hasBookmark","type":"java://boolean"},{"name":"communityId","type":"java://java.lang.String","loggable":true}]}]},"su":"markup://forceChatter:abstractFeedItem","ad":[["body","aura://Aura.Component[]","G",false,[]],["searchQueryId","aura://String","I",false],["feedItemPosition","aura://String","I",false],["subjectId","aura://String","I",false],["sortOrder","aura://String","I",false],["feedDesign","aura://String","I",false,"BROWSE"],["config","java://ui.chatter.api.FeedConfig","I",false,null],["feedDisplayConfig","java://ui.chatter.api.FeedDisplayConfig","I",false,null],["data","java://sfdc.chatter.connect.api.output.feeds.FeedItemRepresentation","I",false,null],["feedType","aura://String","I",false],["comments","aura://Object","I",false,null],["topRankedComments","aura://Object","I",false,null],["isInPrivateGroup","aura://Boolean","I",false,false],["isTopicsEnabled","aura://Boolean","I",false,false],["showGroupMentionVisibility","aura://Boolean","I",false,false],["showFeedItemActions","aura://Boolean","I",false,true],["commentActions","aura://List","I",false,[]],["stopMenuPropagation","aura://Boolean","I",false,false],["isPinned","aura://Boolean","I",false,false],["communityId","aura://String","I",false],["_pendingReview","aura://Boolean","I",false,false],["_hasAuxBodies","aura://Boolean","I",false,false],["_overflowActionMenu","aura://Aura.Component","I",false,null],["_closedConversationLabel","aura://String","p",false],["_isConversationClosed","aura://Boolean","p",false,false],["_isDraft","aura://Boolean","p",false,false],["_itemHref","aura://String","p",false],["_setFocusOnActionTrigger","aura://Boolean","I",false,false],["canCommentsRequestReplies","aura://Boolean","I",false,false],["commentPagingMode","aura://String","I",false,"More"],["flagAltText","aura://String","I",false],["flagText","aura://String","I",false],["initiallyFocusedCommentId","aura://String","I",false],["initiallyFocusedCommentCssClass","aura://String","I",false,""],["isReadOnly","aura://Boolean","I",false,false],["commentCssClass","aura://String","I",false,""],["feedbackCssClass","aura://String","I",false,""],["_showComments","aura://Boolean","p",false,false],["_isThreadedDiscussion","aura://Boolean","p",false,false],["_showFeedsTranslationButton","aura://Boolean","p",false,false],["_availableTranslationLanguages","apex://Array","p",false,null],["_isTranslated","aura://Boolean","p",false,false],["_translationComponents","aura://Aura.Component[]","p",false,[]],["_translationAttributionComponents","aura://Aura.Component[]","p",false,[]],["focusWhenInitiallyDisplayed","aura://Boolean","I",false,false]],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"ed":{"descriptor":"markup://forceChatter:flagUpdated"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.flagUpdated"}},{"ed":{"descriptor":"markup://forceChatter:feedItemStatusChanged"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.feedItemStatusChanged"}},{"ed":{"descriptor":"markup://forceChatter:updateActionLinkGroupData"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleAssociatedActionsRefresh"}},{"ed":{"descriptor":"markup://forceChatter:muteUpdated"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.muteUpdated"}},{"ed":{"descriptor":"markup://forceChatter:pinStatusUpdated"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.pinUpdated"}},{"ed":{"descriptor":"markup://forceChatter:capabilityUpdated"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.capabilityUpdated"}},{"ed":{"descriptor":"markup://forceChatter:commentInserted"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.commentInserted"},"n":"commentInserted"},{"ed":{"descriptor":"markup://force:hidePanel"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.doneEditing"}},{"ed":{"descriptor":"markup://forceChatter:closeStatusUpdated"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleCloseUpdated"}}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:empApi"},"localId":"empApi"}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"$Browser.isDesktop"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"cuf-element","flavorable":true,"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onclick":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"c.feedItemClicked"},"onundotranslation":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"c.handleUndoTranslationEvent"},"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(fn.add(fn.add(fn.add(fn.add(fn.add(fn.add(\"cuf-element \",(fn.eq(cmp.get(\"v.config.feedDisplayConfig.mode\"),\"IN_FEED\")?\" inFeed\":\" drillIn\")),(cmp.get(\"v.config.feedDisplayConfig.feedElementDisplayConfig.useLargeDrillInTarget\")?\" drillInTarget \":\" notDrillInTarget \")),($A.get(\"$Browser.isDesktop\")?\" desktop\":\"\")),(cmp.get(\"v._pendingReview\")?\" pendingReview\":\" published\")),\" \"),cmp.get(\"v.data.transitionClass\")),(cmp.get(\"v.isPinned\")?\" pinned\":\"\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.config.feedDisplayConfig.mode"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.config.feedDisplayConfig.feedElementDisplayConfig.useLargeDrillInTarget"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"$Browser.isDesktop"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.data.transitionClass"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v._pendingReview"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.isPinned"}],"byValue":false},"oncommentcreated":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"c.handleCommentCreatedEvent"}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:anchor"},"attributes":{"values":{"tabIndex":{"descriptor":"tabIndex","value":"-1"},"onClick":{"descriptor":"onClick","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"c.feedItemClicked"}},"href":{"descriptor":"href","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v._itemHref"}},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"data-rev":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.data.capabilities.edit\")?cmp.get(\"v.data.capabilities.edit.latestRevision\"):0);}","args":[{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.data.capabilities.edit"},{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.data.capabilities.edit.latestRevision"}],"byValue":true},"data-id":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.data.id"},"data-type":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.data.type"},"class":"cuf-feedElement cuf-feedItem","aria-label":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.format($A.get(\"$Label.Feeds.DisplayNameAndTimestamp\"),cmp.get(\"v.data.actor.displayName\"),cmp.get(\"v.data.relativeCreatedDate\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"$Label.Feeds.DisplayNameAndTimestamp"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.data.actor.displayName"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.data.relativeCreatedDate"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"article"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"isBookmarked"}},"tag":{"descriptor":"tag","value":"span"}}}},{"componentDef":{"descriptor":"markup://lightning:icon","type":"module"},"attributes":{"values":{"iconName":{"descriptor":"iconName","value":"utility:favorite"},"class":{"descriptor":"class","value":"cuf-bookmarkIcon"},"alternativeText":{"descriptor":"alternativeText","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"$Label.Feeds.FeedPostBookmarked"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.data.capabilities.bookmarks.isBookmarkedByCurrentUser"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-feedItemHeader cuf-media l-first"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-float_left slds-p-right_small pinnedIcon"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:icon","type":"module"},"attributes":{"values":{"size":{"descriptor":"size","value":"xx-small"},"iconName":{"descriptor":"iconName","value":"utility:pin"},"class":{"descriptor":"class","value":"pinnedIcon"},"alternativeText":{"descriptor":"alternativeText","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"$Label.Feeds.FeedPostPinHeader"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.isPinned"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-post__header slds-media"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:feedItemHeader"},"attributes":{"values":{"mode":{"descriptor":"mode","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.config.feedDisplayConfig.mode"}},"contextUser":{"descriptor":"contextUser","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.config.feedDisplayConfig.contextUser"}},"feedItem":{"descriptor":"feedItem","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.data"}},"communityId":{"descriptor":"communityId","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.config.communityId.rawValue"}},"subjectId":{"descriptor":"subjectId","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.subjectId"}},"feedDesign":{"descriptor":"feedDesign","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.feedDesign"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-badge flag-badge qe-flag-badge"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.flagText"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-assistive-text"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.flagAltText"}}}}}]}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.flagText"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onkeyup":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"c.swapAndOpenMenu"},"onclick":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"c.swapAndOpenMenu"},"onkeydown":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"c.squashArrowKeyEvent"},"title":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"$Label.Feeds.FeedItemActionsTitle"},"class":"cuf-media-right forceChatterOverflowActionMenu uiMenu","onkeypress":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"c.swapAndOpenMenu"}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:buttonMenu"},"localId":"tempOverflowActions","attributes":{"values":{"iconSize":{"descriptor":"iconSize","value":"x-small"},"class":{"descriptor":"class","value":"cuf-feedItemActionTrigger cuf-buttonIcon"},"alternativeText":{"descriptor":"alternativeText","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"$Label.Feeds.FeedItemActionsTitle"}}}}}]}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"overflowActions","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-media-right"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v._overflowActionMenu"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v._overflowActionMenu"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return ((cmp.get(\"v.config.feedDisplayConfig.feedElementDisplayConfig.showOverflowActionsMenu\")&&fn.ne(cmp.get(\"v.config.feedDisplayConfig.contextUser.userType\"),\"Guest\"))&&cmp.get(\"v.showFeedItemActions\"));}","args":[{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.config.feedDisplayConfig.feedElementDisplayConfig.showOverflowActionsMenu"},{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.config.feedDisplayConfig.contextUser.userType"},{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.showFeedItemActions"}],"byValue":true}}}}}]}}}}]}}}},{"componentDef":{"descriptor":"markup://forceChatter:feedBody"},"attributes":{"values":{"searchQueryId":{"descriptor":"searchQueryId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.searchQueryId"}},"feedItemPosition":{"descriptor":"feedItemPosition","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.feedItemPosition"}},"isTopicsEnabled":{"descriptor":"isTopicsEnabled","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.isTopicsEnabled"}},"data":{"descriptor":"data","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.data"}},"feedType":{"descriptor":"feedType","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.feedType"}},"sortOrder":{"descriptor":"sortOrder","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.sortOrder"}},"feedDisplayConfig":{"descriptor":"feedDisplayConfig","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.config.feedDisplayConfig"}},"communityId":{"descriptor":"communityId","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.config.communityId.rawValue"}},"feedDesign":{"descriptor":"feedDesign","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.feedDesign"}},"subjectId":{"descriptor":"subjectId","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.subjectId"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onavailablelanguagesrequested":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"c.handleAvailableLanguagesRequested"},"ontranslate":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"c.handleTranslateEvent"},"onundotranslation":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"c.handleUndoTranslationEvent"},"class":"translation","ondisplayavailablelanguages":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"c.handleDisplayAvailableLanguages"}}},"tag":{"descriptor":"tag","value":"aside"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v._translationAttributionComponents"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v._isTranslated"}}}}},{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v._translationComponents"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v._showFeedsTranslationButton"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:feeditemAttachments"},"attributes":{"values":{"mode":{"descriptor":"mode","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.config.feedDisplayConfig.feedElementDisplayConfig.mode"}},"drillIn":{"descriptor":"drillIn","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"c.drillIn"}},"isTopicsEnabled":{"descriptor":"isTopicsEnabled","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.isTopicsEnabled"}},"auxBodyDetail":{"descriptor":"auxBodyDetail","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.config.feedDisplayConfig.feedElementDisplayConfig.auxBodyDetail"}},"data":{"descriptor":"data","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.data"}},"contextUser":{"descriptor":"contextUser","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.config.feedDisplayConfig.contextUser"}},"feedElementDisplayConfig":{"descriptor":"feedElementDisplayConfig","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.config.feedDisplayConfig.feedElementDisplayConfig"}},"communityId":{"descriptor":"communityId","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.config.communityId.rawValue"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v._hasAuxBodies"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:feedItemActionLinks"},"attributes":{"values":{"mode":{"descriptor":"mode","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.config.feedDisplayConfig.mode"}},"contextId":{"descriptor":"contextId","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.data.id"}},"associatedActions":{"descriptor":"associatedActions","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.data.capabilities.associatedActions"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.showFeedItemActions"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:simpleFeedItemTopics"},"attributes":{"values":{"recordId":{"descriptor":"recordId","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.data.id"}},"data":{"descriptor":"data","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.data.capabilities.topics"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (((cmp.get(\"v.isTopicsEnabled\")&&cmp.get(\"v.data.capabilities.topics.canAssignTopics\"))&&fn.eq(cmp.get(\"v.config.feedDisplayConfig.feedElementDisplayConfig.topicsDetail\"),\"SIMPLE\"))&&!(cmp.get(\"v.isPinned\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.isTopicsEnabled"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.data.capabilities.topics.canAssignTopics"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.config.feedDisplayConfig.feedElementDisplayConfig.topicsDetail"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.isPinned"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://forceChatter:feedItemInteractions"},"localId":"interactions","attributes":{"values":{"isDirectMessagesEnabled":{"descriptor":"isDirectMessagesEnabled","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.config.isDirectMessagesEnabled"}},"isTopicsEnabled":{"descriptor":"isTopicsEnabled","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.isTopicsEnabled"}},"comments":{"descriptor":"comments","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.comments"}},"data":{"descriptor":"data","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.data"}},"feedType":{"descriptor":"feedType","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.feedType"}},"isUpDownVoteEnabled":{"descriptor":"isUpDownVoteEnabled","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.config.isUpDownVoteEnabled"}},"richTextConfig":{"descriptor":"richTextConfig","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.config.richTextConfig"}},"isReadOnly":{"descriptor":"isReadOnly","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.isReadOnly"}},"isUIExperimentsEnabled":{"descriptor":"isUIExperimentsEnabled","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.config.isFeedUIExperimentsEnabled"}},"feedDisplayConfig":{"descriptor":"feedDisplayConfig","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.config.feedDisplayConfig"}},"communityId":{"descriptor":"communityId","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.config.communityId"}},"enabled":{"descriptor":"enabled","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.showFeedItemActions"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:feedback"},"localId":"feedback","attributes":{"values":{"initiallyFocusedCommentId":{"descriptor":"initiallyFocusedCommentId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.initiallyFocusedCommentId"}},"showFeedsTranslationButton":{"descriptor":"showFeedsTranslationButton","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v._showFeedsTranslationButton"}},"feedType":{"descriptor":"feedType","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.feedType"}},"topRankedComments":{"descriptor":"topRankedComments","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.topRankedComments"}},"feedItemPosition":{"descriptor":"feedItemPosition","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.feedItemPosition"}},"isTopicsEnabled":{"descriptor":"isTopicsEnabled","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.isTopicsEnabled"}},"commentPagingMode":{"descriptor":"commentPagingMode","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.commentPagingMode"}},"commentCssClass":{"descriptor":"commentCssClass","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.commentCssClass"}},"sortOrder":{"descriptor":"sortOrder","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.sortOrder"}},"initiallyFocusedCommentCssClass":{"descriptor":"initiallyFocusedCommentCssClass","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.initiallyFocusedCommentCssClass"}},"class":{"descriptor":"class","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.eq(cmp.get(\"v.config.feedDisplayConfig.mode\"),\"IN_FEED\")?\"inFeed\":\"\");}","args":[{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.config.feedDisplayConfig.mode"}],"byValue":true}},"likes":{"descriptor":"likes","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.data.capabilities.chatterLikes.page"}},"comments":{"descriptor":"comments","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.comments"}},"feedItem":{"descriptor":"feedItem","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.data"}},"isInPrivateGroup":{"descriptor":"isInPrivateGroup","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.isInPrivateGroup"}},"subjectId":{"descriptor":"subjectId","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.subjectId"}},"suppressCommentInput":{"descriptor":"suppressCommentInput","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v._pendingReview\")||(cmp.get(\"v._isDraft\")||(cmp.get(\"v._isConversationClosed\")||cmp.get(\"v.isReadOnly\"))));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v._isConversationClosed"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v._isDraft"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v._pendingReview"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.isReadOnly"}],"byValue":false}},"isThreadedDiscussion":{"descriptor":"isThreadedDiscussion","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v._isThreadedDiscussion"}},"searchQueryId":{"descriptor":"searchQueryId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.searchQueryId"}},"showGroupMentionVisibility":{"descriptor":"showGroupMentionVisibility","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.showGroupMentionVisibility"}},"canCommentsRequestReplies":{"descriptor":"canCommentsRequestReplies","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.canCommentsRequestReplies"}},"feedbackCssClass":{"descriptor":"feedbackCssClass","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.feedbackCssClass"}},"feedDisplayConfig":{"descriptor":"feedDisplayConfig","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.config.feedDisplayConfig"}},"commentActions":{"descriptor":"commentActions","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.commentActions"}},"config":{"descriptor":"config","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItem","path":"v.config"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-feedElement slds-feed__item-comments closedConversationMessage"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:outputText"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v._closedConversationLabel"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v._isConversationClosed"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v._showComments\")&&(!(cmp.get(\"v.isPinned\"))&&!(cmp.get(\"v._isDraft\"))));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v._showComments"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v._isDraft"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.isPinned"}],"byValue":false}}}}}]},"class":{"descriptor":"class","value":"cuf-feedElement-wrap"},"enabled":{"descriptor":"enabled","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItem","path":"v.config.feedDisplayConfig.feedElementDisplayConfig.useLargeDrillInTarget"}}}}}]}}}}]}],"df":"default","fc":true,"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:overflowActionMenu",function(){/*$A.componentService.addComponentClass("markup://forceChatter:overflowActionMenu",function(){return{meta:{name:"forceChatter$overflowActionMenu","extends":"markup://aura:component",imports:{feedLib:"markup://forceChatter:feedLib",answerUtil:"markup://forceChatter:einsteinAnswersUtilitiesService",publisherUtil:"markup://forceChatter:publisherUtilitiesService",desktopContextUtil:"markup://forceChatter:desktopContextDetectionService"}},controller:{showActions:function(a,c,b){(c=a.find("menuList"))&&c.get("v.visible")?
c.set("v.visible",!1):(c=a.find("menuTrigger"))?(b.fetchActions(a),c.get("v.visible")||c.set("v.visible",!0),c.set("v.isLoading",!0)):$A.get("$Browser").isPhone&&b.fetchActions(a)},handleSelect:function(a,c,b){c=c.getParam("value");$A.createComponent("markup://force:action",{action:c},function(c,e){if("SUCCESS"===e){var f=new Promise(function(a,b){c.addEventHandler("activated",a)});c.getEvent("trigger").fire();Promise.all([f]).then($A.getCallback(function(){setTimeout($A.getCallback(function(){b.fetchActions(a);
c.removeEventHandler("trigger")}),800)}))}})},onblur:function(a,c,b){a=a.find("menuTrigger");a&a.get("v.visible")&&a.set("v.visible",!1)},handleCommentCountUpdated:function(a,c){a._refreshActions&&a._refreshActions()}},helper:{addPlatformActionGroups:function(a,c,b){a=a.get("v.data.capabilities.associatedActions.platformActionGroups")||[];for(var d=0;d<a.length;d++)if("Primary"!==a[d].category&&a[d].platformActions)for(var e=0;e<a[d].platformActions.length;e++){var f=a[d].platformActions[e];("ActionLink"===
f.type||"QuickAction"===f.type)&&"NewStatus"===f.status&&c.push(this._getActionData(f,b))}},_getActionData:function(a,c){var b={devNameOrId:a.id,executionComponent:{attributes:{data:a,contextId:c},descriptor:"markup://forceChatter:actionLink",isClientSideCreatable:!0,isEvent:!1},label:a.label,title:a.label};a.confirmationMessage&&(b.beforeExecutionComponent={attributes:{message:a.confirmationMessage},descriptor:"markup://force:confirmationWindow",isClientSideCreatable:!0,isEvent:!1});return b},addNonPendingReviewActions:function(a,
c,b,d,e,f){this.addPlatformActionGroups(a,c,b);a.get("v._closedConversationOverflowActions")&&(this.addActionEditPost(a,c,e,d,f),this.addActionDelete(a,c,e));this.addActionBookmark(a,c,e);this.addActionEditTopics(a,c,e);this.addActionFlag(a,c,e);this.addActionMute(a,c,e);this.addActionMove(a,c,e);this.addActionDownVote(a,c,e);this.addActionPin(a,c,e);a.get("v._canUserCloseConversation")&&this.addActionClose(a,c,e)},addPendingReviewActions:function(a,c,b,d,e){this.addApproveFeedItem(a,c,d);this.addActionEditPost(a,
c,d,b,e);this.addActionDelete(a,c,d)},addDraftActions:function(a,c,b,d,e){this.addActionEditPost(a,c,d,b,e);this.addActionPublishDraftPost(a,c,d);this.addActionDelete(a,c,d)},addCompactFeedActions:function(a,c,b){this.addActionDelete(a,c,b);this.addActionPin(a,c,b)},addActionBookmark:function(a,c,b){b=b.Bookmark;var d=this.feedLib.util.isNonDefaultNetwork(a.get("v.communityId"))&&this.feedLib.util.isOneApp();b&&!d&&(d=a.get("v.data.capabilities.bookmarks.isBookmarkedByCurrentUser"),b.executionComponent.attributes.communityId=
a.get("v.communityId"),d?(b.label=$A.get("$Label.Feeds.FeedPostUnbookmarkVerb"),b.title=$A.get("$Label.Feeds.FeedPostUnbookmarkVerb"),b.executionComponent.attributes.bookmarked=!1):(b.label=$A.get("$Label.Feeds.FeedPostBookmarkVerb"),b.title=$A.get("$Label.Feeds.FeedPostBookmarkVerb"),b.executionComponent.attributes.bookmarked=!0),c.push(b))},addApproveFeedItem:function(a,c,b){var d=b.ApproveFeedItem;if(d&&!$A.util.isUndefinedOrNull(a.get("v.data.capabilities.status"))){var e=a.get("v.data.capabilities.status.feedEntityStatus")===
a.helper.feedLib.util.feedEntityStatus.PendingReview,f=a.get("v.data.capabilities.status.isApprovableByMe");e&&f&&(d.executionComponent.attributes.finalStatus=a.helper.feedLib.util.feedEntityStatus.Published,c.push(b.ApproveFeedItem))}},addActionEditPost:function(a,c,b,d,e){if(b=b.EditPost){var f=a.get("v.data"),g=this.desktopContextUtil.service,k=$A.util.getBooleanValue($A.util.lookup(f,"body","isRichText")),g=g.isRunningInDesktopContext&&d.isRichTextEnabled||!g.isRunningInDesktopContext&&d.isRichTextMobileEnabled||
!k;if(f&&(g&&a.helper.publisherUtil.service.isEditSupported(f))&&(g=$A.util.lookup(b,"executionComponent","attributes")))g.data=f,g.richTextConfig=d,g.isTopicsEnabled=e,g.communityId=a.get("v.communityId"),c.push(b)}},addActionEditTopics:function(a,c,b){b=b.EditTopics;var d=this.desktopContextUtil.service.isRunningInDesktopContext,e="DRILL_IN"===a.get("v.mode");a=$A.util.lookup(a.get("v.data"),"capabilities","pin","isPinnedCopy");b&&((d||e)&&!a)&&c.push(b)},addActionFlag:function(a,c,b){var d=b.Flag;
b=b.RemoveAllFlags;var e=a.get("v.data.capabilities.moderation.moderationFlags.flaggedByMe");a=a.get("v.data.capabilities.moderation.moderationFlags.flagCount");a=b&&0<a;d&&null!=e&&(e?(d.label=d.title=$A.get("$Label.NetworkModeration.Unflag"),d.executionComponent.attributes.flagCommand="UNFLAG",a||c.push(d)):(d.label=d.title=$A.get("$Label.NetworkModeration.Flag"),d.executionComponent.attributes.flagCommand="FLAG",c.push(d)));a&&(b.label=b.title=$A.get("$Label.NetworkModeration.IgnoreAllFlags"),
b.executionComponent.attributes.flagCommand="REMOVE_FLAGS",c.push(b))},addActionDelete:function(a,c,b){var d=a.get("v.data.capabilities.comments.page.total");if(!this.feedLib.util.isPSSC()||0===d||0<d&&a.get("v.showDeleteIfAvailable"))b=b.DeleteFeedItem,d=a.get("v.data.isDeleteRestricted"),b&&!d&&(a=this.getDeleteConfirmMessage(a),b.beforeExecutionComponent.attributes.message=a,c.push(b))},addActionMute:function(a,c,b){if((b=b.Mute)&&(a.get("v.feedType")&&"NEWS"===a.get("v.feedType").toUpperCase()||
"DRILL_IN"===a.get("v.mode")))a.get("v.data.capabilities.mute.isMutedByMe")?(b.label=$A.get("$Label.Feeds.FeedPostUnhideVerb"),b.title=$A.get("$Label.Feeds.FeedPostUnhideVerb"),b.executionComponent.attributes.muted=!1):(b.label=$A.get("$Label.Feeds.FeedPostHideVerb"),b.title=$A.get("$Label.Feeds.FeedPostHideVerb"),b.executionComponent.attributes.muted=!0),c.push(b)},addActionMove:function(a,c,b){a.get("v.canUserMoveThisPost")&&(!a.get("v.isOnCompactFeed")&&!$A.get("$Browser").isPhone&&this.feedLib.util.isPSSC())&&
(b=b.Move,b.executionComponent.attributes.communityId=a.get("v.communityId"),b.executionComponent.attributes.feedItem=a.get("v.data"),c.push(b))},addActionDownVote:function(a,c,b){if(a.get("v.isUpDownVoteEnabled")){var d=a.get("v.data");(a=this.answerUtil.service.getDownVoteAction(d,$A.util.lookup(d,"type"),b,a.get("v.communityId")))&&c.push(a)}},addActionClose:function(a,c,b){var d=a.get("v.data"),e=this.feedLib.util.isPSSC(),f=d.parent.type&&("USER"===d.parent.type.toUpperCase()||"COLLABORATIONGROUP"===
d.parent.type.toUpperCase());e&&(!$A.get("$Browser").isPhone&&f)&&(b=b.Close,e=$A.util.lookup(d,"capabilities","close","isClosed"),$A.util.lookup(b,"executionComponent","attributes"),b.executionComponent.attributes.feedItem=a.get("v.data"),b.executionComponent.attributes.feedItemId=a.get("v.data.id"),b.executionComponent.attributes.communityId=a.get("v.communityId"),b&&(a="","PollPost"===d.type?e?(a=$A.get("$Label.Feeds.FeedPostOpenPollVerb"),b.executionComponent.attributes.isClosed=!1):(a=$A.get("$Label.Feeds.FeedPostClosePollVerb"),
b.executionComponent.attributes.isClosed=!0):"QuestionPost"===d.type?e?(a=$A.get("$Label.Feeds.FeedPostOpenQuestionVerb"),b.executionComponent.attributes.isClosed=!1):(a=$A.get("$Label.Feeds.FeedPostCloseQuestionVerb"),b.executionComponent.attributes.isClosed=!0):e?(a=$A.get("$Label.Feeds.FeedPostOpenPostVerb"),b.executionComponent.attributes.isClosed=!1):(a=$A.get("$Label.Feeds.FeedPostClosePostVerb"),b.executionComponent.attributes.isClosed=!0),b.label=a,b.title=a,c.push(b)))},addActionPin:function(a,
c,b){b=b.Pin;var d=a.get("v.data"),e=$A.util.lookup(d,"capabilities","pin","isPinnableByMe"),f=$A.util.lookup(d,"capabilities","pin","isPinned"),g=$A.util.lookup(b,"executionComponent","attributes");$A.get("$Browser").isDesktop&&(b&&e&&g)&&(g.containerId=a.get("v.containerId"),g.feedItemId=a.get("v.data.id"),g.feedType=a.get("v.feedType"),g.pinned=f,g.feedItem=d,f?(b.label=$A.get("$Label.Feeds.FeedPostUnpinVerb"),b.title=$A.get("$Label.Feeds.FeedPostUnpinVerb")):(b.label=$A.get("$Label.Feeds.FeedPostPinVerb"),
b.title=$A.get("$Label.Feeds.FeedPostPinVerb")),c.push(b))},addActionPublishDraftPost:function(a,c,b){if(b=b.PublishDraftPost){var d=$A.get("$Label.Feeds.PublishDraftPostActionConfirmation");b.beforeExecutionComponent.attributes.message=d;b.executionComponent.attributes.communityId=a.get("v.communityId");b.label=$A.get("$Label.Feeds.PublishDraftPostActionTitle");b.title=$A.get("$Label.Feeds.PublishDraftPostActionTitle");c.push(b)}},getDeleteConfirmMessage:function(a){var c=0<a.get("v.data.comments.total")?
this.feedLib.util.generateLabel("Feeds","FeedConversationDeleteConfirmation",a.get("v.data.type")):$A.get("$Label.Feeds.FeedPostDeleteConfirmation");a.get("v.data.actor.id")!==a.get("v.contextUser.id")&&(c+=" "+$A.get("$Label.Feeds.FeedPostDeleteNonCreatorMsg"));return c},fetchActions:function(a){var c=this.feedLib.util;if(!a._loadingFeedItemActions){a._loadingFeedItemActions=!0;$A.get("$Browser.isPhone")||window.setTimeout($A.getCallback(function(){var b=a.getElement();b&&b.dispatchEvent(new CustomEvent("undotranslation",
{bubbles:!0,composed:!0,cancelable:!0}));if(b=a.find("menuList"))b.set("v.visible",!0),b.getEvent("refresh").fire();try{a.getElement().getElementsByClassName("cuf-feedItemActionTrigger")[0].focus()}catch(c){}}),50);var b=a.get("v.data");if($A.util.isUndefinedOrNull(b))a._loadingFeedItemActions=!1;else{var d=b.id,e=$A.util.lookup(b,"capabilities","close","isClosed"),f=$A.util.lookup(b,"capabilities","close","canContextUserUpdateIsClosed");a.set("v._canUserCloseConversation",f);!e||f?a.set("v._closedConversationOverflowActions",
!0):a.set("v._closedConversationOverflowActions",!1);c.standardActionWithRetry(this,a,"c.getFeedItemActions",{feedItemId:d},$A.getCallback(function(c){c=c.getReturnValue();var e=c.actions,f=c.richTextConfig,h=c.isTopicsEnabled;a._loadingFeedItemActions=!1;a._refreshActions=$A.getCallback(function(){var c=[],g=$A.util.lookup(b,"capabilities","status","feedEntityStatus"),l=!$A.util.isUndefinedOrNull(g)?g===a.helper.feedLib.util.feedEntityStatus.PendingReview:!1,g=!$A.util.isUndefinedOrNull(g)?g===a.helper.feedLib.util.feedEntityStatus.Draft:
!1;a.get("v.isOnCompactFeed")?a.getConcreteComponent().helper.addCompactFeedActions(a.getConcreteComponent(),c,e):l?a.getConcreteComponent().helper.addPendingReviewActions(a.getConcreteComponent(),c,f,e,h):g?a.getConcreteComponent().helper.addDraftActions(a.getConcreteComponent(),c,f,e,h):a.getConcreteComponent().helper.addNonPendingReviewActions(a.getConcreteComponent(),c,d,f,e,h);a.set("v.actions",c)});a._refreshActions();if(c=a.find("menuTrigger"))c.set("v.isLoading",!1),c.get("v.visible")&&setTimeout(function(){var b=
a.find("menuItem");b&&b[0]&&b[0].focus()},0);this.showDialogIfMobile(a.get("v.actions"))}),function(){},function(a){a.setStorable({executeCallbackIfUpdated:!0,refresh:0,ignoreExisting:!0})})}}},showDialogIfMobile:function(a){$A.get("$Browser").isPhone&&(a.push({label:$A.get("$Label.Buttons.cancel"),isCancelAction:!0}),$A.getEvt("markup://force:showModal").setParams({actions:a}).fire())}}}});return {"xs":"I","descriptor":"markup://forceChatter:overflowActionMenu","st":{"descriptor":"css://forceChatter.overflowActionMenu","cl":"forceChatterOverflowActionMenu"},"cd":{"descriptor":"compound://forceChatter.overflowActionMenu","ac":[{"n":"isFeedItemEditableByMe","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$isFeedItemEditableByMe","at":"SERVER","rt":"java://boolean","pa":[{"name":"feedItemId","type":"java://java.lang.String"}]},{"n":"updateVisibility","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$updateVisibility","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.feeds.AbstractFeedElementRepresentation","pa":[{"name":"feedItemInput","type":"java://sfdc.chatter.connect.api.input.feeds.FeedItemInputRepresentation"},{"name":"feedItemId","type":"java://java.lang.String","loggable":true}]},{"n":"getFeedItemActions","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$getFeedItemActions","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"feedItemId","type":"java://java.lang.String"}]},{"n":"setBestAnswer","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$setBestAnswer","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.feeds.QuestionAndAnswersCapabilityRepresentation","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"commentId","type":"java://java.lang.String","loggable":true},{"name":"communityId","type":"java://java.lang.String","loggable":true}]},{"n":"deleteFeedItem","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$deleteFeedItem","at":"SERVER","rt":"java://void","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true}]},{"n":"updateCloseStatus","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$updateCloseStatus","at":"SERVER","rt":"java://void","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"communityId","type":"java://java.lang.String"},{"name":"isClosed","type":"java://boolean"}]},{"n":"updatePinStatus","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$updatePinStatus","at":"SERVER","rt":"java://void","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"feedType","type":"java://java.lang.String"},{"name":"subjectId","type":"java://java.lang.String"},{"name":"isPinned","type":"java://boolean"}]},{"n":"updateBookmark","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$updateBookmark","at":"SERVER","rt":"java://boolean","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"hasBookmark","type":"java://boolean"},{"name":"communityId","type":"java://java.lang.String","loggable":true}]},{"n":"updateMute","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$updateMute","at":"SERVER","rt":"java://void","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"isMuted","type":"java://boolean"}]},{"n":"getFeedEntityIsEditableByMe","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$getFeedEntityIsEditableByMe","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.feeds.FeedEntityIsEditableRepresentation","pa":[{"name":"feedItemId","type":"java://java.lang.String"},{"name":"communityId","type":"java://java.lang.String","loggable":true}]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["data","java://sfdc.chatter.connect.api.output.feeds.FeedItemRepresentation","I",false,null],["contextUser","java://ui.chatter.api.FeedDisplayConfig$FeedContextUser","I",false,null],["triggerClass","aura://String","I",false],["targetClass","aura://String","I",false,"cuf-feedItemActionTarget"],["feedType","aura://String","I",false],["mode","aura://String","I",false,"IN_FEED"],["actions","aura://List","I",false,[]],["communityId","aura://String","I",false],["containerId","aura://String","I",false,""],["isUpDownVoteEnabled","aura://Boolean","I",false],["isOnCompactFeed","aura://Boolean","I",false,false],["showDeleteIfAvailable","aura://Boolean","I",false,false],["canUserMoveThisPost","aura://Boolean","I",false,false],["_closedConversationOverflowActions","aura://Boolean","I",false,true],["_canUserCloseConversation","aura://Boolean","I",false,true]],"re":[{"ed":"markup://ui:press","n":"trigger","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleCommentCountUpdated"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.data.capabilities.comments.page.total"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.showActions"},"n":"trigger"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://lightning:buttonIcon"},"attributes":{"values":{"size":{"descriptor":"size","value":"x-small"},"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:overflowActionMenu","path":"c.showActions"}},"iconName":{"descriptor":"iconName","value":"utility:down"},"class":{"descriptor":"class","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:overflowActionMenu","path":"v.triggerClass"}},"alternativeText":{"descriptor":"alternativeText","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:overflowActionMenu","path":"$Label.Feeds.FeedItemActionsTitle"}}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:buttonMenu"},"localId":"menuTrigger","attributes":{"values":{"onblur":{"descriptor":"onblur","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:overflowActionMenu","path":"c.onblur"}},"menuAlignment":{"descriptor":"menuAlignment","value":"right"},"onselect":{"descriptor":"onselect","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:overflowActionMenu","path":"c.handleSelect"}},"onopen":{"descriptor":"onopen","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:overflowActionMenu","path":"c.showActions"}},"iconSize":{"descriptor":"iconSize","value":"x-small"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:iteration"},"localId":"iter","attributes":{"values":{"var":{"descriptor":"var","value":"action"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://lightning:menuItem"},"localId":"menuItem","attributes":{"values":{"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:overflowActionMenu","path":"action.label"}},"title":{"descriptor":"title","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:overflowActionMenu","path":"action.label"}},"class":{"descriptor":"class","value":"cuf-actionItem slds-truncate"},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:overflowActionMenu","path":"action"}}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:menuDivider","type":"module"}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:overflowActionMenu","path":"action.isMenuItemSeparator"}}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:menuSubheader","type":"module"},"attributes":{"values":{"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:overflowActionMenu","path":"action.label"}},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-text-title_caps"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:overflowActionMenu","path":"action.label"}}}}}]}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:overflowActionMenu","path":"action.isMenuItemTextSeparator"}}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:overflowActionMenu","path":"v.actions"}}}}}]},"class":{"descriptor":"class","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:overflowActionMenu","path":"v.triggerClass"}},"alternativeText":{"descriptor":"alternativeText","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:overflowActionMenu","path":"$Label.Feeds.FeedItemActionsTitle"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !($A.get(\"$Browser.isPhone\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:overflowActionMenu","path":"$Browser.isPhone"}],"byValue":false}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://runtime_search_federated:externalScopesList",function(){/*$A.componentService.addComponentClass("markup://runtime_search_federated:externalScopesList",function(){return{meta:{name:"runtime_search_federated$externalScopesList","extends":"markup://forceSearch:scopes"},controller:{init:function(a,b,c){c.init(a)},dataProviderOnChangeHandler:function(a,b,c){var d=b.getParam("data");d&&d.scopeMaps&&(b={},c=a.get("v.loggingContext")||{},d=d.scopeMaps,b.EXTERNAL=d,c.numVisibleItems=d.length,a.set("v.scopeSets",b))},scopeSelected:function(a,b,c){c.scopeSelected(a,
b)}},helper:{init:function(a){a.set("v.loggingContext",{})},handleScopeChange:function(a){a.getSuper().helper.handleScopeChange.call(this,a);var b=a.get("v.scopeMap");a.get("v.loggingContext").fromScope=b.name||b.type},shouldUpdatePost:function(a,b){return a&&a.isValid()&&!this.isEventSource(a,b)&&a.get("v.visible")}}}});return {"xs":"I","descriptor":"markup://runtime_search_federated:externalScopesList","st":{"descriptor":"css://runtime_search_federated.externalScopesList","cl":"runtime_search_federatedExternalScopesList"},"su":"markup://forceSearch:scopes","ad":[["body","aura://Aura.Component[]","G",false,[]],["shouldFocus","aura://Boolean","I",false,false],["groupId","aura://String","I",true,"DEFAULT"],["updateChildren","aura://Boolean","I",true,true],["updateOnlyIfActive","aura://Boolean","I",true,true],["priv_valueProviderReady","aura://Boolean","I",false,false],["initialTerm","aura://String","I",false],["initialScopeMap","aura://Map","I",false,null],["initialContext","aura://Map","I",false,null],["inContextOfComponent","aura://String","I",false,"forceSearch:search"],["term","aura://String","I",true,""],["scopeMap","aura://Map","I",true,{}],["context","aura://Map","I",true,{}],["loggingContext","aura://Map","I",true,{}],["impl","aura://String","I",false],["scopeSets","aura://Map","I",false,{}],["class","aura://String","G",false],["dir","aura://String","I",false,"ltr"],["namespaceOverride","aura://String","I",false],["actionable","aura://Boolean","I",false,true],["role","aura://String","I",false],["ariaDescribedBy","aura://String","PP",false,""],["value","aura://Object","PP",false,null],["visible","aura://Boolean","I",false,true],["title","aura://String","I",false,""],["defaultScopeSetType","aura://String","I",false,"PRIMARY"],["activeScopeSetType","aura://String","I",false,""],["useRibbon","aura://Boolean","I",false,false],["enableMoreScopes","aura://Boolean","I",false,false],["dataProvider","aura://Aura.Component[]","I",false,[]],["defaultScopeIndex","aura://Integer","I",false,0],["fetchScopesOnInit","aura://Boolean","I",false,true],["allowScopesReordering","aura://Boolean","I",false,false],["priv_logInfo","aura://Map","I",false,{}],["priv_setInitialScopeDone","aura://Boolean","I",false,false]],"med":[{"name":"forceSearch:update","xs":"I","action":"{!c.update}","attributes":[["type","aura://String","I",false],["term","aura://String","I",false],["scopeMap","aura://Map","I",false,null],["context","aura://Map","I",false,null],["sourceId","aura://String","I",false]]}],"re":[{"ed":"markup://force:searchRequest","n":"searchRequest","xs":"I"},{"ed":"markup://ui:click","n":"click","xs":"G"},{"ed":"markup://ui:dblclick","n":"dblclick","xs":"G"},{"ed":"markup://ui:mousedown","n":"mousedown","xs":"G"},{"ed":"markup://ui:mousemove","n":"mousemove","xs":"G"},{"ed":"markup://ui:mouseout","n":"mouseout","xs":"G"},{"ed":"markup://ui:mouseover","n":"mouseover","xs":"G"},{"ed":"markup://ui:mouseup","n":"mouseup","xs":"G"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"}],"ld":{"scopeItem":{"alias":"search-scopes-list-external-item-list"}},"fa":[{"descriptor":"dataProvider","value":[{"componentDef":{"descriptor":"markup://runtime_search_federated:externalScopesListDataProvider"},"attributes":{"values":{"onchange":{"descriptor":"onchange","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_search_federated:externalScopesList","path":"c.dataProviderOnChangeHandler"}}}}}]},{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"listContainer","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.visible\")?\"listContainer slds-nav-vertical__section\":\"slds-hide\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"runtime_search_federated:externalScopesList","path":"v.visible"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-nav-vertical__title slds-p-vertical_medium"}},"tag":{"descriptor":"tag","value":"h2"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":true,"target":"runtime_search_federated:externalScopesList","path":"v.title"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(fn.empty(cmp.get(\"v.title\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"runtime_search_federated:externalScopesList","path":"v.title"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"scopesListContainer","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-has-block-links--space externalItems"}},"tag":{"descriptor":"tag","value":"ul"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:iteration"},"attributes":{"values":{"indexVar":{"descriptor":"indexVar","value":"idx"},"var":{"descriptor":"var","value":"scopeItem"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceSearch:scopeItem"},"localId":"scopeItem","attributes":{"values":{"scopeSetType":{"descriptor":"scopeSetType","value":"EXTERNAL"},"logInfo":{"descriptor":"logInfo","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_search_federated:externalScopesList","path":"v.loggingContext"}},"labelClass":{"descriptor":"labelClass","value":"scopesItem"},"context":{"descriptor":"context","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_search_federated:externalScopesList","path":"v.context"}},"index":{"descriptor":"index","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_search_federated:externalScopesList","path":"idx"}},"scopeMap":{"descriptor":"scopeMap","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_search_federated:externalScopesList","path":"scopeItem"}},"selected":{"descriptor":"selected","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return ((fn.eq(cmp.get(\"v.scopeMap.name\"),cmp.get(\"scopeItem.name\"))&&fn.eq(cmp.get(\"v.scopeMap.type\"),cmp.get(\"scopeItem.type\")))&&fn.eq(cmp.get(\"v.activeScopeSetType\"),\"EXTERNAL\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"runtime_search_federated:externalScopesList","path":"v.scopeMap.name"},{"exprType":"PROPERTY","byValue":false,"target":"runtime_search_federated:externalScopesList","path":"scopeItem.name"},{"exprType":"PROPERTY","byValue":false,"target":"runtime_search_federated:externalScopesList","path":"v.scopeMap.type"},{"exprType":"PROPERTY","byValue":false,"target":"runtime_search_federated:externalScopesList","path":"scopeItem.type"},{"exprType":"PROPERTY","byValue":false,"target":"runtime_search_federated:externalScopesList","path":"v.activeScopeSetType"}],"byValue":false}},"itemSelected":{"descriptor":"itemSelected","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_search_federated:externalScopesList","path":"c.scopeSelected"}}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_search_federated:externalScopesList","path":"v.scopeSets.EXTERNAL"}}}}}]}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.scopeSets.EXTERNAL.length\")>0);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"runtime_search_federated:externalScopesList","path":"v.scopeSets.EXTERNAL.length"}],"byValue":false}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:inputLookupDesktopActionItem",function(){/*$A.componentService.addComponentClass("markup://forceSearch:inputLookupDesktopActionItem",function() {
return {
  "meta":{
    "name":"forceSearch$inputLookupDesktopActionItem",
    "extends":"markup://aura:component"
  }
};
});
return {"xs":"I","descriptor":"markup://forceSearch:inputLookupDesktopActionItem","st":{"descriptor":"css://forceSearch.inputLookupDesktopActionItem","cl":"forceSearchInputLookupDesktopActionItem"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["selectable","aura://Boolean","I",false,true],["class","aura://String","I",false,""],["itemLabel","aura://String","I",false,""],["titleLabel","aura://String","I",false,""],["iconKey","aura://String","I",false,""],["iconAlt","aura://String","I",false,""]],"i":["markup://ui:autocompleteListSelectable"],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(cmp.get(\"v.class\"),\" itemContainer slds-lookup__item-action--label slds-text-link--reset slds-grid slds-grid--vertical-align-center slds-truncate\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktopActionItem","path":"v.class"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:icon"},"attributes":{"values":{"alt":{"descriptor":"alt","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktopActionItem","path":"v.iconAlt"}},"class":{"descriptor":"class","value":"itemIcon slds-icon slds-icon--x-small slds-m-left--x-small slds-icon-text-default"},"key":{"descriptor":"key","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktopActionItem","path":"v.iconKey"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"title":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktopActionItem","path":"v.titleLabel"},"class":"itemLabel slds-truncate slds-show--inline-block slds-m-left--xx-small"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktopActionItem","path":"v.itemLabel"}}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://one:userSwitcherIdentity",function(){/*$A.componentService.addComponentClass("markup://one:userSwitcherIdentity",function(){return{meta:{name:"one$userSwitcherIdentity","extends":"markup://aura:component",imports:{loginHints:"markup://force:loginHints"}},controller:{launchIdentity:function(a,b,d){var c=a.get("v.thisIdentity");b=c.launchUrl;var e=a.get("v.identities"),f=c.identity.hostname,c=c.identity.username,g=a.get("v.hostname");a=a.get("v.username");if(g==f&&d.shouldDisplayIdentityDialog())d.displaySwitchIdentityModal(a,c,b);else{for(a=
0;a<e.length;a++){var g=e[a],h=g.identity.username,k=g.active;if(g.identity.hostname==f&&(h!=c&&k)&&d.shouldDisplayIdentityDialog()){d.displaySwitchIdentityModal(h,c,b);return}}window.location=b}}},helper:{shouldDisplayIdentityDialog:function(){return!$A.one.cookies.getCookie("hideIdentityDialog")},displaySwitchIdentityModal:function(a,b,d){var c=$A.getEvt("markup://ui:createPanel"),e,f;a=this.getSwitchIdentityDialogBody(a,b);e=this.getSwitchIdentityDialogButton($A.get("$Label.Buttons.switch"),"switch",
"default,brand");f=this.getSwitchIdentityDialogButton($A.get("$Label.Buttons.cancel"),"cancel","default,neutral");c.setParams({panelType:"actionModal",visible:!0,onCreate:function(a){a=a.find({instancesOf:"ui:inputCheckbox"})[0];var b=a.checked;a.getElement().addEventListener("change",function(a){b=a.target.checked});e.getElement().addEventListener("click",function(){if(b){var a=new Date;a.setTime(a.getTime()+31536E6);a="; expires\x3d"+a.toGMTString();document.cookie="hideIdentityDialog\x3dtrue"+
a+"; path\x3d/; domain\x3d.force.com"}window.location=d})},panelConfig:{body:a,flavor:"confirmation",footerActions:[e,f],title:$A.get("$Label.IdentityDialog.Title").replace("{0}",b)}});c.fire()},getSwitchIdentityDialogBody:function(a,b){return $A.createComponentFromConfig({descriptor:"markup://one:switchIdentityDialog",attributes:{bodyMessage:$A.get("$Label.IdentityDialog.Body").replace("{0}",a).replace("{1}",b)}})},getSwitchIdentityDialogButton:function(a,b,d){return $A.createComponentFromConfig({descriptor:"markup://ui:button",
flavor:d,attributes:{"class":b,label:a,buttonTitle:a}})}}}});return {"xs":"I","descriptor":"markup://one:userSwitcherIdentity","ad":[["body","aura://Aura.Component[]","G",false,[]],["hostname","aura://String","I",false],["username","aura://String","I",false],["thisIdentity","aura://Object","I",false,null],["identities","apex://Array","I",false,null],["lightningLogin","aura://String","I",false,{"exprType":"PROPERTY","byValue":false,"target":"one:userSwitcherIdentity","path":"$Label.Page_User.LightningLogin"}]],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onclick":{"exprType":"PROPERTY","byValue":false,"target":"one:userSwitcherIdentity","path":"c.launchIdentity"}}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:renderIf"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:image"},"attributes":{"values":{"imageType":{"descriptor":"imageType","value":"informational"},"src":{"descriptor":"src","value":"/img/greendot.png"},"alt":{"descriptor":"alt","value":"active"},"class":{"descriptor":"class","value":"activity"}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"one:userSwitcherIdentity","path":"v.thisIdentity.active"}}}}},{"componentDef":{"descriptor":"markup://aura:renderIf"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:image"},"attributes":{"values":{"imageType":{"descriptor":"imageType","value":"informational"},"src":{"descriptor":"src","value":"/img/greydot.png"},"alt":{"descriptor":"alt","value":"inactive"},"class":{"descriptor":"class","value":"activity"}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(cmp.get(\"v.thisIdentity.active\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"one:userSwitcherIdentity","path":"v.thisIdentity.active"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"title":{"exprType":"PROPERTY","byValue":false,"target":"one:userSwitcherIdentity","path":"v.thisIdentity.identity.username"},"class":"username"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"one:userSwitcherIdentity","path":"v.thisIdentity.identity.username"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:renderIf"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"title":{"exprType":"PROPERTY","byValue":false,"target":"one:userSwitcherIdentity","path":"v.thisIdentity.identity.hostname"},"class":"hostname"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"one:userSwitcherIdentity","path":"v.thisIdentity.identity.hostname"}}}}}]}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"}}}},{"componentDef":{"descriptor":"markup://ui:image"},"attributes":{"values":{"imageType":{"descriptor":"imageType","value":"informational"},"src":{"descriptor":"src","value":"/img/lightning-icon.svg"},"alt":{"descriptor":"alt","value":{"exprType":"PROPERTY","byValue":false,"target":"one:userSwitcherIdentity","path":"v.lightningLogin"}},"class":{"descriptor":"class","value":"activity"}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"title":{"exprType":"PROPERTY","byValue":false,"target":"one:userSwitcherIdentity","path":"v.thisIdentity.identity.hostname"},"class":"llHostname"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"one:userSwitcherIdentity","path":"v.thisIdentity.identity.hostname"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"one:userSwitcherIdentity","path":"v.thisIdentity.identity.ll"}}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://ui:virtualDataGrid",function(){/*$A.componentService.addComponentClass("markup://ui:virtualDataGrid",function(){return{meta:{name:"ui$virtualDataGrid","extends":"markup://aura:component",imports:{lib:"markup://ui:virtualDataGridLib",svgLib:"markup://ui:SVGLibrary"}},controller:{init:function(a,b,c){a._initializing=!0;c.verifyInterfaces(a);c.initialize(a);c.initializeDataModel(a);c.initializeTemplates(a);c.initializeSorting(a);c.initializeItems(a);c.createVirtualRows(a);c.markDirty(a);a._initializing=!1},handleItemsChange:function(a,
b,c){!a._initializing&&(!a._appending&&!a._updating)&&(c.markClean(a,"v.items"),c.createVirtualRows(a),c.markDirty(a))},handleColumnsChange:function(a,b,c){b=a.getConcreteComponent();b!==a&&b.handleColumnsChange&&b.handleColumnsChange();c.reset(a);c.initializeTemplates(a);c.initializeSorting(a);c.markClean(a,"v.columns");c.markClean(a,"v.headerColumns");c.createVirtualRows(a);c.markDirty(a)},handleDataChange:function(a,b){a.set("v.items",b.getParam("data"),a._initializing)},handleGridAction:function(a,
b,c){var d=b.getParams(),e=d.payload,f=c._getRowIndex(b.getSource().getElement());switch(d.action){case "select":if(0>f)return;c.selectRow(a,f,e.value);e.selectedItem=a.get("v.items")[f]}d.index=f;b.stopPropagation();a.getEvent("gridAction").setParams(d).fire()},updateItem:function(a,b,c){var d=b.getParam("arguments");b=d.index;d=d.item;a=c._getRootComponent(a);d&&(a._updating=!0,c.updateItem(a,d,b),a._updating=!1)},handleSortTrigger:function(a,b,c){if(b){c.updateSortData(a,a.get("v._sortBy"));var d=
a.get("v.dataModel")[0];a.getEvent("onsort").setParams({sortBy:b,callback:c.sortCallback.bind(c,a)}).fire();d&&(d.set("v.sortBy",b),d.getEvent("provide").fire(),c.updateSortData(a,b))}},sort:function(a,b,c){(b=b.getParam("arguments").sortBy)&&c.updateSortData(a,b)},resizeColumns:function(a,b,c){b=b.getParam("arguments").widths;c.getResizer(a)&&(c.hasResizerHandles(a)||c.updateColumnResizer(a),c.resizeColumns(a,b))},appendItems:function(a,b,c){var d=a.getSuper(),e="aura:component"!==d.getType();b=
b.getParam("arguments").items;e&&(a=d);b&&b.length&&(a._appending=!0,c.appendVirtualRows(a,b),a._appending=!1)},handleRefresh:function(){}},helper:{NS:"UIPERF",NAME:"ui:virtualDataGrid",DELEGATED_EVENTS:[],USE_CAPTURE:["focus","blur"],DEFAULT_TEMPLATES:{row:"tr",column:"td",header:"th"},initialize:function(a){a._templates=[];a._virtualItems=[];a._ptv=null;a._dirtyFlag=0;a.set("v._dirty",0,!0)},reset:function(a){var b=a.get("v.itemChangeHandlerConfig");b&&(a.removeValueHandler(b),a.set("v.itemChangeHandlerConfig",
null));this.initialize(a)},verifyInterfaces:function(a){a.get("v.useRowHeaders")&&0>a.get("v.rowHeaderIndex")&&a.set("v.rowHeaderIndex",0)},initializeDataModel:function(a){var b=a.get("v.dataModel")[0];b&&b.addHandler("onchange",a,"c.handleDataChange")},initializeItems:function(a){var b=a.get("v.dataModel")[0],c=b&&b.getModel();(c=c&&c.get("items"))?a.set("v.items",c,!0):b&&b.getEvent("provide").fire()},initializeTemplates:function(a){var b=a.get("v.columns");if(b){for(var c=a.get("v.itemVar"),d=
a._templates,e=this._createPassthroughValue(a,c),f=0;f<b.length;f++)b[f].attributes.valueProvider=e,b[f].skipCreationPath=!0,d.push($A.createComponentFromConfig(b[f])),d[f].isInstanceOf("ui:hasGridEvents")&&d[f].addHandler("gridAction",a,"c.handleGridAction");a._ptv=e;a._rowTemplate=this._initializeRowTemplate(d,a.get("v.rowHeaderIndex"));e.ignoreChanges=!0;e.dirty=!1;b={event:"change",value:c,method:this.onItemChange.bind(this,e)};a.addValueHandler(b);a.set("v.itemChangeHandlerConfig",b)}},initializeFixedHeader:function(a){a.get("v.fixedHeader")&&
($A.util.toggleClass(a,"fixedHeaderTable",!0),this.updateSizesForFixedHeader(a))},updateSizesForFixedHeader:function(a){var b=a.getElement(),c=a.find("thead").getElement();a.find("tbody").getElement().style.height=b.clientHeight-c.clientHeight+"px"},virtualRerender:function(a){this.bootstrapVirtualGrid(a)},onItemChange:function(a){a.ignoreChanges||(a.dirty=!0)},getGridBody:function(a){return a.find("tbody").getElement()},markClean:function(a,b){a.getConcreteComponent().markClean(b)},markDirty:function(a){a.getConcreteComponent().set("v._dirty",
++a._dirtyFlag)},_initializeRowTemplate:function(a,b){for(var c=document.createElement(this.DEFAULT_TEMPLATES.row),d,e=0;e<a.length;e++)d=e===b,a[e].isInstanceOf("ui:tableCell")?(d&&a[e].set("v.rowHeader",!0),d=$A.render(a[e])[0]):d=this._wrapColumn(a[e],d),c.appendChild(d);$A.afterRender(a);return c},_wrapColumn:function(a,b){var c;b?(c=this._createColumn(this.DEFAULT_TEMPLATES.header,a),c.setAttribute("scope","row")):c=this._createColumn(this.DEFAULT_TEMPLATES.column,a);return c},_createColumn:function(a,
b){var c=document.createElement(a);$A.render(b,c);return c},_createPassthroughValue:function(a,b,c,d){d={index:d||0};d[b]=c;return $A.expressionService.createPassthroughValue(d,a)},createEventDelegates:function(a,b){var c=this,d=a.get("v.delegatedEvents"),e=function(b){c._eventDelegator(a,b)};if(!$A.util.isEmpty(d))for(var d=d.split(","),f=0;f<d.length;f++){var g=-1!==this.USE_CAPTURE.indexOf(d[f]);b.addEventListener(d[f],e,g)}},_getRenderingComponentForElement:function(a){return(a=$A.util.getDataAttribute(a,
"auraRenderedBy"))&&$A.componentService.get(a)},_dispatchAction:function(a,b){a.runDeprecated(b)},_getActionHandler:function(a,b){if(a.isInstanceOf("aura:html")){var c=a.get("v.HTMLAttributes");if(c)return c["on"+b]}return null},_eventDelegator:function(a,b){if(a.isValid()){for(var c=b.type,d=b.target,e=b.target,f=a.get("v.itemVar"),g=a._templates,k=[],l=a._ptv,p=function(a){return a},n,h,m;d;){if(h=this._getRenderingComponentForElement(d))(m=this._getActionHandler(h,c))&&k.push({handler:m,target:d,
targetCmp:h});if(h=this._getItemAttached(d)){n=Array.prototype.indexOf.call(d.childNodes,e);break}e=d;d=d.parentElement}if(!(0<!k.length)&&h){b.templateItem=h;b.templateElement=d;e&&-1!==n&&(g[n].getElement=function(){return e.firstChild});l.set(f,h,!0);l.ignoreChanges=!1;for(l.dirty=!1;c=k.shift();)m=c.handler,$A.util.isExpression(m)&&(c.targetCmp.getElement=p.bind(null,c.target),this._dispatchAction(m.evaluate(),b,c.targetCmp),delete c.targetCmp.getElement);l.dirty&&this._rerenderDirtyElement(a,
h,d,null);delete g[n].getElement;l.ignoreChanges=!0}}},_findVirtualElementPosition:function(a,b){for(var c=0;c<a.length;c++)if(a[c]===b)return c;return null},_replaceDOMElement:function(a,b,c){a.hasChildNodes()&&a.replaceChild(b,c)},_rerenderDirtyElement:function(a,b,c,d){var e=this.getGridBody(a),f=a._virtualItems;d=!$A.util.isUndefinedOrNull(d)?d:this._findVirtualElementPosition(f,c);!$A.util.isUndefinedOrNull(e)&&(!$A.util.isUndefinedOrNull(d)&&0<=d&&d<f.length)&&(a=this._generateVirtualRow(a,
b,d),c||(c=f[d]),f[d]=a,this._replaceDOMElement(e,a,c))},_generateVirtualRow:function(a,b,c){var d=a._rowTemplate,e=a.get("v.itemVar"),f=a._ptv;$A.util.isString(e)&&f.set(e,b);a.markClean("v.items");$A.renderingService.rerenderDirty("virtualRendering");a=d.cloneNode(!0);if($A.get("$Browser.isIE11")){d=a.querySelectorAll("svg");for(e=0;e<d.length;e++)this.svgLib.stamper.stamp(d[e])}this._attachItemToElement(a,b);this._attachIndexToElement(a,c);return a},_getItemAttached:function(a){return a._data},
_attachItemToElement:function(a,b){a._data=b},_attachIndexToElement:function(a,b){a._index=b},_getRowIndex:function(a){for(;a;){var b=parseInt(a._index,10);if(-1<b)return parseInt(b,10);a=a.parentNode}return-1},appendVirtualRows:function(a,b){$A.metricsService.markStart(this.NS,this.NAME+".appendVirtualRows",{auraid:a.getGlobalId()});for(var c=document.createDocumentFragment(),d=this.getGridBody(a),e=a.get("v.items").length,f=0;f<b.length;f++){var g=this._generateVirtualRow(a,b[f],e+f);a._virtualItems.push(g);
c.appendChild(g)}d.appendChild(c);a.set("v.renderInfo",{type:"append"});a.set("v.items",(a.get("v.items")||[]).concat(b),!0);$A.metricsService.markEnd(this.NS,this.NAME+".appendVirtualRows")},createVirtualRows:function(a){var b=a.get("v.items");a._virtualItems=[];if(b&&b.length){$A.metricsService.markStart(this.NS,this.NAME+".createVirtualRows",{auraid:a.getGlobalId()});for(var c=0;c<b.length;c++)a._virtualItems.push(this._generateVirtualRow(a,b[c],c));$A.metricsService.markEnd(this.NS,this.NAME+
".createVirtualRows")}a.set("v.renderInfo",{})},selectRow:function(a,b,c){a._virtualItems[b].classList[c?"add":"remove"]("selected")},updateItem:function(a,b,c){this._rerenderDirtyElement(a,b,null,c);var d=a.get("v.items");d[c]=b;a.set("v.renderInfo",{type:"update",index:c});a.set("v.items",d,!0)},_getRootComponent:function(a){var b=a.getSuper();"aura:component"!==b.getType()&&(a=b);return a},_selectiveRerender:function(a){var b=a.get("v.renderInfo")||{};if($A.util.isEmpty(b))this._rerender(a);else switch(b.type){case "append":break;
case "update":break;default:this._rerender(a)}a.set("v.renderInfo",{})},_rerender:function(a){var b=this.getGridBody(a);a=a._virtualItems;for(var c=document.createDocumentFragment(),d=0;d<a.length;d++)c.appendChild(a[d]);for(;b.firstChild;)b.removeChild(b.firstChild);b.appendChild(c)},initializeSorting:function(a){var b=a.get("v.headerColumns");a=a.get("c.handleSortTrigger");if(b)for(var c=0;c<b.length;c++){var d=b[c];d.get("v.sortable")&&d.set("v.onsortchange",a)}},updateSortData:function(a,b){for(var c=
a.get("v.headerColumns"),d="-"===b[0],e=d?b.slice(1,b.length):b,d=d?"descending":"ascending",f=0;f<c.length;f++){var g=c[f],k=g.get("v.name")===e?d:"";g.set("v.direction",k)}a.set("v._sortBy",b)},sortCallback:function(a,b){if(b&&Array.isArray(b))a.set("v.items",b),this.updateSortData(a,"");else if(b){var c=b.state;if("SUCCESS"===c)c=b.sortBy||"",a.set("v.items",b.data||[]),this.updateSortData(a,c);else if("INCOMPLETE"===c||"ERROR"===c)throw Error("Failed to get response from server");}},enableColumnResizer:function(a){$A.util.toggleClass(a,
"resizable-cols",!0);var b=a.get("v.resizableColumnsConfig")||{};b.indicatorClasses=b.indicatorClasses?b.indicatorClasses+=" uiVirtualDataGrid":"uiVirtualDataGrid";b=this.lib.columnResize.initializeColumnResizer(a.getElement(),b);this.attachColResizerHandlers(a,b);a.getConcreteComponent()._colResizer=b;this.updateResizerAccessibilityLabels(a)},getResizer:function(a){return a.getConcreteComponent()._colResizer},updateColumnResizer:function(a){this.getResizer(a).updateColumns();this.updateResizerAccessibilityLabels(a)},
updateResizerAccessibilityLabels:function(a){var b=this.getResizer(a);if(b){a=a.get("v.headerColumns");for(var c=[],d=0;d<a.length;d++)c[d]=a[d].get("v.label");b.updateAccessibilityLabels(c)}},attachColResizerHandlers:function(a,b){b.on("resize",$A.getCallback(function(b){if(a.isValid()){var d=a.get("v.headerColumns")[b.index];d&&d.set("v.width",b.width)}}));b.on("resize",$A.getCallback(function(b){a.isValid()&&a.getEvent("onColumnResize").setParams({src:{colIndex:b.index,column:a.get("v.headerColumns")[b.index]},
newSize:b.width}).fire()}))},resizeColumns:function(a,b){b&&0<b.length&&a._colResizer.resizeAll(b)},hasResizerHandles:function(a){var b=a.getElement().querySelectorAll("thead .handle").length;a=a.get("v.headerColumns").length;return b===a},destroyTemplates:function(a){a=a._templates;for(var b=0;b<a.length;++b)a[b].destroy()},removeAriaLabel:function(a){(a=a.find("table").getElement())&&a.hasAttribute("aria-label")&&a.removeAttribute("aria-label")}},renderer:{render:function(a,b){for(var c=a.superRender(),
d=b.getGridBody(a),e=a._virtualItems,f=document.createDocumentFragment(),g=0;g<e.length;g++)f.appendChild(e[g]);b.createEventDelegates(a,d);d.appendChild(f);return c},afterRender:function(a,b){var c=a.get("v.ariaLabel");(!c||0===c.length)&&b.removeAriaLabel(a);a.get("v.fixedHeader")&&b.initializeFixedHeader(a);a.get("v.enableResizableColumns")&&b.enableColumnResizer(a);a.get("v.keyboardNavigation")&&b.lib.keyNav.initialize(a.find("tbody").getElement(),a._virtualItems);a.superAfterRender()},rerender:function(a,
b){a.superRerender();b._selectiveRerender(a);var c=a.get("v.ariaLabel");(!c||0===c.length)&&b.removeAriaLabel(a);a.get("v.fixedHeader")&&b.updateSizesForFixedHeader(a);a.get("v.enableResizableColumns")&&(b.getResizer(a)&&!b.hasResizerHandles(a))&&(b.updateColumnResizer(a),a._updateResizer=null);a.get("v.keyboardNavigation")&&b.lib.keyNav.updateRowElements(a._virtualItems)},unrender:function(a,b){b.destroyTemplates(a);a.superUnrender()}}}});return {"xs":"PP","descriptor":"markup://ui:virtualDataGrid","st":{"descriptor":"css://ui.virtualDataGrid","cl":"uiVirtualDataGrid"},"fst":{"descriptor":"css://ui.virtualDataGrid"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["sortBy","aura://String","PP",false],["class","aura://String","PP",false],["items","aura://List","PP",false,[]],["headerColumns","aura://Aura.Component[]","PP",false,[]],["columns","aura://Aura.ComponentDefRef[]","PP",false,[]],["columnsEdit","aura://Aura.ComponentDefRef[]","I",false,[]],["dataModel","aura://Aura.Component[]","PP",false,[]],["_dirty","aura://Integer","I",false],["itemVar","aura://String","I",false,"item"],["delegatedEvents","aura://String","I",false,"click,keydown"],["_sortBy","aura://String","I",false,""],["useRowHeaders","aura://Boolean","I",false,false],["rowHeaderIndex","aura://Integer","I",false,-1],["fixedHeader","aura://Boolean","I",false,false],["keyboardNavigation","aura://Boolean","I",false,false],["enableResizableColumns","aura://Boolean","I",false,false],["resizableColumnsConfig","aura://Object","I",false,null],["ariaLabel","aura://String","I",false],["renderInfo","aura://Object","I",false,null],["itemChangeHandlerConfig","aura://Object","I",false,null]],"med":[{"name":"ui:appendItems","xs":"I","attributes":[["items","aura://Object","I",false,null]]},{"name":"ui:updateItem","xs":"I","attributes":[["item","aura://Object","I",true,null],["index","aura://Integer","I",true]]},{"name":"ui:resizeColumns","xs":"I","attributes":[["widths","aura://Integer[]","I",false,[]]]},{"name":"ui:sort","xs":"I","attributes":[["sortBy","aura://String","PP",false]]}],"i":["markup://ui:virtualComponent"],"re":[{"ed":"markup://ui:sort","n":"onsort","xs":"I"},{"ed":"markup://ui:gridAction","n":"gridAction","xs":"I"},{"ed":"markup://ui:resize","n":"onColumnResize","xs":"I"},{"ed":"markup://ui:refresh","n":"refresh","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleRefresh"},"n":"refresh"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleItemsChange"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.items"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleColumnsChange"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.columns"},"n":"change"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"table","flavorable":true,"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"PROPERTY","byValue":false,"target":"ui:virtualDataGrid","path":"v.class"},"aria-label":{"exprType":"PROPERTY","byValue":false,"target":"ui:virtualDataGrid","path":"v.ariaLabel"}}},"tag":{"descriptor":"tag","value":"table"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"thead","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"thead"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"headerRow","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"tr"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:virtualDataGrid","path":"v.headerColumns"}}}}}]}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"tfoot","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"tfoot"}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"tbody","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"tbody"}}}}]}}}}]}],"df":"default","fc":true,"css":true}*/});
$A.componentService.addComponent("markup://one:navItemDropdown",function(){/*$A.componentService.addComponentClass("markup://one:navItemDropdown",function(){return{meta:{name:"one$navItemDropdown","extends":"markup://aura:component",imports:{componentLib:"markup://force:componentLibrary"}},controller:{handleMenuExpand:function(b,c,a){a.getFavorites(b);a.getModel(b);a.renderList(b,!1)},handleMenuSelect:function(b,c,a){a.fireAction(b,c.getParam("selectedItem").get("v.value")||{})}},helper:{renderList:function(b,c){var a=[];if(b._actions||c)a=this.setActions(b,a),a=this.setFavorites(b,
a),a=this.setMruMenuItems(b,a);c&&!a.length&&a.push(this.getMenuErrorItem());b.set("v.menuItems",a);b.set("v.ready",0<a.length)},getFavorites:function(b){var c=$A.getEvt("force:favoriteEvent");c.setParams({action:"getAllFavorites",callback:$A.getCallback(function(a){var c=b.get("v.entityApiName");a=a.filter(function(a){return a.entityType===c}).sort(function(a,b){return a.accessCount<b.accessCount?1:a.accessCount>b.accessCount?-1:a.lastAccessDate<b.lastAccessDate?1:a.lastAccessDate>b.lastAccessDate?
-1:0});a=a.slice(0,3);b._favorites=a})});c.fire()},getModel:function(b){var c=b.get("c.getModelForEntity"),a=b.find("navItemMenuList"),e=null==b._actions;b._listViewActions=null;b._recordActions=null;c.setStorable({refresh:10});c.setParams({entityApiName:b.get("v.entityApiName"),includeActions:e});c.setCallback(this,function(d){var f=d.getState();"SUCCESS"===f?(d=d.getReturnValue()||{},b._entityLabel=d.entityLabel,e&&(b._actions=d.actions),b._listViewActions=d.mruListViewActions,b._recordActions=
d.mruRecordActions,this.renderList(b,!0),a.getEvent("refresh").fire()):"INCOMPLETE"===f?(a.getEvent("doClose").fire(),this.handleIncomplete(c)):"ERROR"===f&&(a.getEvent("doClose").fire(),this.componentLib.errors.handleActionError(d))});$A.enqueueAction(c)},setFavorites:function(b,c){var a=b._favorites||[];a.length&&c.push(this.getMenuHeader($A.get("$Label.Favorites.my_favorites_section")));a=a.map(function(a){return{action:{label:a.label,executionComponent:{descriptor:"markup://force:favoriteEvent",
isEvent:!0,isClientSideCreatable:!0,attributes:{componentDef:"e.force:favoriteEvent",action:"navigateToFavorite",favorite:a}}},label:a.label,isFavorite:!0,"class":"slds-dropdown__item",section:"favorites"}});a.length&&(c=c.concat(a));return c},setActions:function(b,c){var a=(b._actions||[]).map(function(a){return{action:a,isNavAction:!0,iconKey:"add",label:$A.util.format($A.get("$Label.GlobalNavigation.DropdownNewAction"),b._entityLabel)}});a.length&&(c=c.concat(a));return c},setMruMenuItems:function(b,
c){var a=b._recordActions||[],e=b._listViewActions||[];a.length&&(c.push(this.getMenuHeader($A.get("$Label.GlobalNavigation.DropdownMRURecent"))),c=c.concat(this.getMRUMenuItems(a,"recentRecord")));e.length&&(c.push(this.getMenuHeader($A.get("$Label.GlobalNavigation.DropdownMRULists"))),c=c.concat(this.getMRUMenuItems(e,"recentList")));return c},getMenuHeader:function(b){return{label:b,role:"separator","class":"slds-dropdown__header slds-text-title--caps"}},getMRUMenuItems:function(b,c){return b.map(function(a){return{action:a,
label:a.label,"class":"slds-dropdown__item",section:c}})},getMenuErrorItem:function(){return{label:$A.get("$Label.GlobalNavigation.NoRecentRecords"),role:"separator","class":"slds-dropdown__item slds-p-vertical--x-small slds-p-horizontal--small"}},handleIncomplete:function(b){$A.log("Incomplete response for app launcher getItems.");$A.getEvt("markup://force:showOfflineMessage").setParams({retryAction:b}).fire()},fireAction:function(b,c){c.action&&$A.createComponent("force:action",{action:c.action},
function(a,b){"SUCCESS"!==b&&this.componentLib.actions.showCreateComponentError("force:action");a.getEvent("trigger").fire()})}}}});return {"xs":"I","descriptor":"markup://one:navItemDropdown","st":{"descriptor":"css://one.navItemDropdown","cl":"oneNavItemDropdown"},"cd":{"descriptor":"compound://one.navItemDropdown","ac":[{"n":"setUserNavItems","descriptor":"serviceComponent://ui.global.components.one.navigation.GlobalNavDropdownController/ACTION$setUserNavItems","at":"SERVER","rt":"java://java.util.List","pa":[{"name":"tabs","type":"java://java.util.List<java.util.Map<java.lang.String,java.lang.Object>>"},{"name":"appDefinitionId","type":"java://java.lang.String"}]},{"n":"getHasSeenAppNavDocked","descriptor":"serviceComponent://ui.global.components.one.navigation.GlobalNavDropdownController/ACTION$getHasSeenAppNavDocked","at":"SERVER","rt":"java://boolean","pa":[]},{"n":"getTabInfo","descriptor":"serviceComponent://ui.global.components.one.navigation.GlobalNavDropdownController/ACTION$getTabInfo","at":"SERVER","rt":"java://ui.services.models.Action","pa":[{"name":"devName","type":"java://java.lang.String"}]},{"n":"getDetailTabTitle","descriptor":"serviceComponent://ui.global.components.one.navigation.GlobalNavDropdownController/ACTION$getDetailTabTitle","at":"SERVER","rt":"java://java.lang.String","pa":[{"name":"entityType","type":"java://java.lang.String"},{"name":"recordId","type":"java://java.lang.String"},{"name":"listId","type":"java://java.lang.String"}]},{"n":"getAllTabs","descriptor":"serviceComponent://ui.global.components.one.navigation.GlobalNavDropdownController/ACTION$getAllTabs","at":"SERVER","rt":"java://java.util.List","pa":[]},{"n":"getModelForEntity","descriptor":"serviceComponent://ui.global.components.one.navigation.GlobalNavDropdownController/ACTION$getModelForEntity","at":"SERVER","rt":"java://ui.global.components.one.navigation.GlobalNavDropdownController$DropdownModel","pa":[{"name":"entityApiName","type":"java://java.lang.String"},{"name":"includeActions","type":"java://java.lang.Boolean"}]},{"n":"getUserNavItems","descriptor":"serviceComponent://ui.global.components.one.navigation.GlobalNavDropdownController/ACTION$getUserNavItems","at":"SERVER","rt":"java://java.util.List","pa":[{"name":"appDefinitionId","type":"java://java.lang.String"}]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["entityApiName","aura://String","I",true],["label","aura://String","I",true],["menuItems","aura://List","I",false,[]],["ready","aura://Boolean","p",false,false]],"re":[{"ed":"markup://ui:expand","n":"menuExpand","xs":"I"}],"hd":[{"ed":{"descriptor":"markup://ui:expand"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleMenuExpand"},"n":"menuExpand"}],"ld":{"navItemDropdownTrigger":{"context":{"entityApiName":{"exprType":"PROPERTY","byValue":false,"target":"one:navItemDropdown","path":"v.entityApiName"}},"alias":"nav-dropdown-menu-trigger"},"navItemDropdownMenuItem":{"context":{"entityApiName":{"exprType":"PROPERTY","byValue":false,"target":"one:navItemDropdown","path":"v.entityApiName"}},"alias":"nav-menu-item"},"navItemMenu":{"alias":"nav-item-menu"}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:menu"},"localId":"navItemMenu","attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:menuTriggerLink"},"localId":"navItemDropdownTrigger","attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:icon"},"attributes":{"values":{"alt":{"descriptor":"alt","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.format($A.get(\"$Label.GlobalNavigation.DropdownTriggerLabel\"),cmp.get(\"v.label\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"one:navItemDropdown","path":"$Label.GlobalNavigation.DropdownTriggerLabel"},{"exprType":"PROPERTY","byValue":false,"target":"one:navItemDropdown","path":"v.label"}],"byValue":false}},"class":{"descriptor":"class","value":"trigger-icon slds-button__icon slds-button__icon--hint"},"key":{"descriptor":"key","value":"chevrondown"}}}}]},"class":{"descriptor":"class","value":"slds-button slds-button--icon"}}}},{"componentDef":{"descriptor":"markup://ui:menuList"},"localId":"navItemMenuList","attributes":{"values":{"menuSelect":{"descriptor":"menuSelect","value":{"exprType":"PROPERTY","byValue":false,"target":"one:navItemDropdown","path":"c.handleMenuSelect"}},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:inlineSpinner"},"attributes":{"values":{"isVisible":{"descriptor":"isVisible","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(cmp.get(\"v.ready\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"one:navItemDropdown","path":"v.ready"}],"byValue":false}},"centered":{"descriptor":"centered","value":true}}}},{"componentDef":{"descriptor":"markup://aura:iteration"},"attributes":{"values":{"var":{"descriptor":"var","value":"item"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://one:navItemDropdownMenuItem"},"localId":"navItemDropdownMenuItem","attributes":{"values":{"isNewAction":{"descriptor":"isNewAction","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.ne(cmp.get(\"item.iconKey\"),null);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"one:navItemDropdown","path":"item.iconKey"}],"byValue":false}},"action":{"descriptor":"action","value":{"exprType":"PROPERTY","byValue":false,"target":"one:navItemDropdown","path":"item.action"}},"disabled":{"descriptor":"disabled","value":{"exprType":"PROPERTY","byValue":false,"target":"one:navItemDropdown","path":"item.disabled"}},"section":{"descriptor":"section","value":{"exprType":"PROPERTY","byValue":false,"target":"one:navItemDropdown","path":"item.section"}},"iconKey":{"descriptor":"iconKey","value":{"exprType":"PROPERTY","byValue":false,"target":"one:navItemDropdown","path":"item.iconKey"}},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"one:navItemDropdown","path":"item.label"}},"class":{"descriptor":"class","value":{"exprType":"PROPERTY","byValue":false,"target":"one:navItemDropdown","path":"item.class"}},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"one:navItemDropdown","path":"item"}}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://one:navItemDropdownMenuItemSeparator"},"localId":"navItemDropdownMenuItemSeparator","attributes":{"values":{"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"one:navItemDropdown","path":"item.label"}},"class":{"descriptor":"class","value":{"exprType":"PROPERTY","byValue":false,"target":"one:navItemDropdown","path":"item.class"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq(cmp.get(\"item.role\"),\"separator\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"one:navItemDropdown","path":"item.role"}],"byValue":false}}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"one:navItemDropdown","path":"v.menuItems"}}}}}]},"showNubbin":{"descriptor":"showNubbin","value":true}}}}]},"class":{"descriptor":"class","value":"slds-context-bar__label-action slds-p-left--none"}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:publisherPresentation",function(){/*$A.componentService.addComponentClass("markup://forceChatter:publisherPresentation",function(){return{meta:{name:"forceChatter$publisherPresentation","extends":"markup://aura:component"},renderer:{render:function(a){var d=a.superRender(),b=a.get("v.insideScroller"),c=a.get("v.scrollerRefreshDelay");if(b&&0<c&&(b=a.find("scroller"))){var e=b.get("c.refresh");a._refreshInterval=window.setInterval(function(){e.run()},c)}return d},unrender:function(a){a._refreshInterval&&window.clearInterval(a._refreshInterval);
a.superUnrender()}},provider:{provide:function(a){var d=a.get("v.isWebApp"),b=a.get("v.isComposerContext"),c=a.get("v.isSfxPanelContext");return a.getAttributeValueProvider().isInstanceOf("forceChatter:basePublisher")&&!$A.get("$Browser.isDesktop")?"forceChatter:publisherPresentationMobile":c?"forceChatter:publisherPresentationPanel":d&&!b&&!$A.get("$Browser.isDesktop")?"forceChatter:publisherPresentationMobile":"forceChatter:publisherPresentationDesktop"}}}});return {"xs":"I","descriptor":"markup://forceChatter:publisherPresentation","ad":[["body","aura://Aura.Component[]","G",false,[]],["isWebApp","aura://Boolean","I",false,true],["isComposerContext","aura://Boolean","I",false,false],["isSfxPanelContext","aura://Boolean","I",false,false],["name","aura://String","I",false],["actions","aura://Aura.Component[]","I",false,[]],["errors","aura://Aura.Component[]","I",false,[]],["contextualMessages","aura://Aura.Component[]","I",false,[]],["main","aura://Aura.Component[]","I",false,[]],["bottom","aura://Aura.Component[]","I",false,[]],["insideScroller","aura://Boolean","I",false,true],["scrollerRefreshDelay","aura://Integer","I",false,500],["extraTitleClass","aura://String","I",false,""],["extraScrollerInsideClass","aura://String","I",false,""],["cssClass","aura://String","I",false,""],["showQuickActionVfHeader","aura://Boolean","I",false,true],["visibilitySwitcher","aura://Aura.Component[]","I",false,[]],["isPublisherCollapsed","aura://Boolean","I",false,false],["header","aura://Aura.Component[]","I",false,[]],["inPanel","aura://Boolean","I",false,false],["publisherId","aura://String","I",false]],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherPresentation","path":"v.body"}}}}}]}],"ab":true,"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:newContentButton",function(){/*$A.componentService.addComponentClass("markup://forceChatter:newContentButton",function(){return{meta:{name:"forceChatter$newContentButton","extends":"markup://aura:component"},renderer:{render:function(a){var b=a.superRender(),c=a.get("v.interval");a._checkNewContentInterval=window.setInterval(function(){a.get("v.checkNewContent").run()},c);return b},unrender:function(a){a._checkNewContentInterval&&window.clearInterval(a._checkNewContentInterval);a.superUnrender()}}}});return {"xs":"I","descriptor":"markup://forceChatter:newContentButton","st":{"descriptor":"css://forceChatter.newContentButton","cl":"forceChatterNewContentButton"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["interval","aura://Integer","I",true],["isVisible","aura://Boolean","I",false,false],["onPress","aura://Aura.Action","I",false,null],["checkNewContent","aura://Aura.Action","I",false,null]],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"aria-live":"assertive","class":"cuf-newContent"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:button"},"flavor":"default,brand","attributes":{"values":{"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:newContentButton","path":"$Label.Feeds.NewPosts"}},"press":{"descriptor":"press","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:newContentButton","path":"v.onPress"}},"class":{"descriptor":"class","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"cuf-newContentButton\",(cmp.get(\"v.isVisible\")?\" active\":\"\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:newContentButton","path":"v.isVisible"}],"byValue":false}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceContent:relatedListPreviewFileList",function(){/*$A.componentService.addComponentClass("markup://forceContent:relatedListPreviewFileList",function(){return{meta:{name:"forceContent$relatedListPreviewFileList","extends":"markup://aura:component"},controller:{onInit:function(a,b,c){c.getRLActions(a);(b=a.get("v.dataProvider")[0])&&$A.util.isComponent(b)&&b.addHandler("onchange",a,"c.onDataChanged")},onDataChanged:function(a,b,c){b=b.getParam("data");c.updateEmptyRecordState(a,null===b||0===b.length)},onInputFileChange:function(a,b,c){(b=b.files?b.files:
b.getSource().get("v.files"))&&c.uploadFiles(a,b)},updateInputFileClass:function(a){if(a.find("fileInput")&&!$A.util.isUndefinedOrNull(a.getElement())){var b=a.getElement().querySelector(".slds-file-selector--files");b||(b=a.getElement().querySelector(".slds-file-selector_files"));$A.util.removeClass(b,"slds-file-selector--files");$A.util.removeClass(b,"slds-file-selector_files");$A.util.addClass(b,"slds-file-selector--images");$A.util.addClass(b,"slds-file-selector_images")}}},helper:{updateEmptyRecordState:function(a,
b){var c=this.getRecordLayoutList(a);c.get("v.showPlaceholder")?a._addedChangedHandler||(c.addValueHandler({event:"change",value:"v.showPlaceholder",method:function(){a.set("v.hasNoRecord",b)}}),a._addedChangedHandler=!0):a.set("v.hasNoRecord",b)},uploadFiles:function(a,b){this.hideActivePopup(a);$A.metricsService.transaction("ltng","interaction",{context:{eventSource:"synthetic-file-drop",eventType:"user",locator:{target:"file-drop",scope:"card-related-list-body",context:{relatedListName:a.get("v.relatedListId"),
sObjectName:a.get("v.sObjectName"),inContextOfRecordId:a.get("v.parentRecordId"),noOfFiles:b.length,isEmptyState:a.get("v.hasNoRecord")}}}});$A.createComponent("forceContent:listUploadFileAction",{action:a._uploadFileAction},function(a,d){"SUCCESS"===d&&a.uploadFiles(b)})},getRecordLayoutList:function(a){return a.find("recordList")},getRLActions:function(a){var b={context:"RELATED_LIST",entityApiName:a.get("v.sObjectName"),listNameOrId:a.get("v.relatedListId"),recordId:a.get("v.parentRecordId")};
$A.getEvt("markup://force:actionsRequest").setParams({actionsContext:b,skipCache:!1,callback:$A.getCallback(this.gotActions.bind(this,a,b))}).fire()},gotActions:function(a,b,c){a.isValid()&&(b=c.actionList.filter(function(a){return"AttachFileFromDevice"===a.devNameOrId}),a.set("v.uploadAllowed",0!==b.length),a._uploadFileAction=0<b.length?b[0]:null)},hideActivePopup:function(a){a=$A.getComponent(document.activeElement);if($A.util.isComponent(a)&&(a=a.getOwner())&&(a.isInstanceOf("ui:actionMenuItem")||
a.isInstanceOf("ui:menuTriggerLink"))){a=a.getComponentValueProvider();var b=a.find("menuList");b&&b.get("v.visible")&&a.show()}}}}});return {"xs":"I","descriptor":"markup://forceContent:relatedListPreviewFileList","st":{"descriptor":"css://forceContent.relatedListPreviewFileList","cl":"forceContentRelatedListPreviewFileList"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["sObjectName","aura://String","PP",true],["relatedListId","aura://String","PP",true],["inContextOfComponent","aura://String","I",false],["parentRecordId","aura://String","PP",true],["dataProvider","aura://Aura.Component[]","PP",false,[]],["numRecordsToShow","aura://Integer","I",false],["hasNoRecord","aura://Boolean","p",false],["uploadAllowed","aura://Boolean","p",false]],"i":["markup://force:relatedListPreviewEmbeddable"],"re":[{"ed":"markup://aura:componentEvent","n":"listLoaded","xs":"I"},{"ed":"markup://force:onLoadError","n":"onLoadError","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onInit"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.updateInputFileClass"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.hasNoRecord"},"n":"change"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceContent:fileDroppableZone"},"attributes":{"values":{"bodyText":{"descriptor":"bodyText","value":{"exprType":"PROPERTY","byValue":true,"target":"forceContent:relatedListPreviewFileList","path":"$Label.FilesRLPreview.dropFiles"}},"multiple":{"descriptor":"multiple","value":true},"onchange":{"descriptor":"onchange","value":{"exprType":"PROPERTY","byValue":false,"target":"forceContent:relatedListPreviewFileList","path":"c.onInputFileChange"}},"disabled":{"descriptor":"disabled","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.hasNoRecord\")||!(cmp.get(\"v.uploadAllowed\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceContent:relatedListPreviewFileList","path":"v.hasNoRecord"},{"exprType":"PROPERTY","byValue":false,"target":"forceContent:relatedListPreviewFileList","path":"v.uploadAllowed"}],"byValue":false}},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:input","type":"module"},"localId":"fileInput","attributes":{"values":{"multiple":{"descriptor":"multiple","value":"true"},"name":{"descriptor":"name","value":"fileInput"},"variant":{"descriptor":"variant","value":"label-hidden"},"onchange":{"descriptor":"onchange","value":{"exprType":"PROPERTY","byValue":false,"target":"forceContent:relatedListPreviewFileList","path":"c.onInputFileChange"}},"label":{"descriptor":"label","value":" "},"type":{"descriptor":"type","value":"file"},"class":{"descriptor":"class","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return ((cmp.get(\"v.hasNoRecord\")&&cmp.get(\"v.uploadAllowed\"))?\"lightningInput\":\"slds-hide\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceContent:relatedListPreviewFileList","path":"v.hasNoRecord"},{"exprType":"PROPERTY","byValue":false,"target":"forceContent:relatedListPreviewFileList","path":"v.uploadAllowed"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://force:multiTemplateVirtualList"},"localId":"recordList","attributes":{"values":{"showPlaceholder":{"descriptor":"showPlaceholder","value":true},"inContextOfComponent":{"descriptor":"inContextOfComponent","value":{"exprType":"PROPERTY","byValue":true,"target":"forceContent:relatedListPreviewFileList","path":"v.inContextOfComponent"}},"inContextOfRecordId":{"descriptor":"inContextOfRecordId","value":{"exprType":"PROPERTY","byValue":true,"target":"forceContent:relatedListPreviewFileList","path":"v.parentRecordId"}},"layoutOverride":{"descriptor":"layoutOverride","value":{"exprType":"PROPERTY","byValue":true,"target":"forceContent:relatedListPreviewFileList","path":"v.relatedListId"}},"itemVar":{"descriptor":"itemVar","value":"item"},"entityName":{"descriptor":"entityName","value":{"exprType":"PROPERTY","byValue":true,"target":"forceContent:relatedListPreviewFileList","path":"v.sObjectName"}},"placeholderName":{"descriptor":"placeholderName","value":"related_record"},"type":{"descriptor":"type","value":"RELATED_LIST"},"dataProvider":{"descriptor":"dataProvider","value":{"exprType":"PROPERTY","byValue":false,"target":"forceContent:relatedListPreviewFileList","path":"v.dataProvider"}}}}}]},"class":{"descriptor":"class","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return ((!(cmp.get(\"v.hasNoRecord\"))&&cmp.get(\"v.uploadAllowed\"))?\" LOADED\":\"slds-card__body_inner\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceContent:relatedListPreviewFileList","path":"v.hasNoRecord"},{"exprType":"PROPERTY","byValue":false,"target":"forceContent:relatedListPreviewFileList","path":"v.uploadAllowed"}],"byValue":false}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:feed",function(){/*$A.componentService.addComponentClass("markup://forceChatter:feed",function(){return{meta:{name:"forceChatter$feed","extends":"markup://aura:component",imports:{feedLib:"markup://forceChatter:feedLib",methodEmitter:"markup://forceChatter:methodEmitterService",cmpLib:"markup://force:componentLibrary",metricsReporter:"markup://forceChatter:metricsReportingService",chatterExtensions:"markup://forceChatter:chatterExtensionsService",communitiesSiteDetector:"markup://forceChatter:communitiesSiteDetectionService",
componentService:"markup://forceChatter:auraComponentService",dataCache:"markup://feeds_caching:lib"}},controller:{init:function(a,c,b){a._pageRefInit=new Promise(function(b){a._pageRefResolver=b});a._context={};c={context:{}};c.context={foregroundPanel:a.get("v.loadInBackground")?!1:!0,feedType:a.get("v.type")};a.get("v.subjectId")&&(c.context.subjectId="005"===a.get("v.subjectId").substring(0,3)?"user":a.get("v.subjectId"));b.metricsReporter.service.transactionStart("ltng","feed:centerStage",c);
b.feedLib.util.loadCommunitiesLibraries();b.updateRetrieveCommentsByLevel(a);c=b.getContext(a);if($A.util.isUndefinedOrNull(a.get("v.model"))){var e=b._isProgressiveRenderingEnabled(a);a.set("v._initialized",!1);c.feedLoadParams=null;(c.shouldDeferLoadFeed=e)?a.set("v._pageSizeGetter",{get:$A.getCallback(b.feedLib.util.getPageSize).bind(b.feedLib.util,a)},!0):a.get("v.isEnabledForFeedCaching")?(b.processPageReference(a),a._pageRefInit.then($A.getCallback(function(){b.loadFeed(a)}))):b.loadFeed(a)}else c=
a.get("v.model"),$A.util.lookup(c,"extensionMetadata")&&b.chatterExtensions.service.addChatterExtensionMetadata(c.extensionMetadata),a.set("v._initialized",!0),b.fetchAndFireSetLinkMetadataEvent(a,a.get("v.model.feedElementCollection.elements"))},handleRender:function(a,c,b){c=b.getContext(a);c.handleRenderCalled||(c.shouldDeferLoadFeed&&b.loadFeed(a),c.handleRenderCalled=!0)},onStorageRefreshEnd:function(a,c,b){c=c.getParam("action");"SUCCESS"!==c.getState()||!a||!a.isValid()||b.isFeedInSalesforceDesktopWithPollingEnabled(a)||
b.doesRefreshedActionHaveUpdatedFeed(a,c)&&b.showFeedNotification(a,$A.get("$Label.Feeds.NewPosts"),a,"c.handleNewPostPress")},refresh:function(a,c,b){c=c.getParam("arguments");"SOFT"===(c&&c.type)?b.refreshFeedInner(a):(a.set("v._initialized",!1),b.loadFeed(a,!0))},afterRecordChanged:function(a,c,b){if((c=c.getParam("recordId"))&&"00a"===c.substring(0,3))a.set("v._initialized",!1),b.loadFeed(a,!0)},showMore:function(a){(a=a.find("feedInner"))&&a.getEvent("showMore").fire()},fireShowMoreEvent:function(a){a.getEvent("moreFeedItemsShown").fire()},
noMoreContent:function(a){a&&!a.get("v.requireScroller")&&(a.get("v.model.feedElementCollection.nextPageToken")||setTimeout($A.getCallback(function(){a&&a.isValid()&&a.get("e.noMoreContent").fire()},50)))},feedRefreshStarted:function(a,c,b){b.hideNewPostButton(a)},handleNewPostPress:function(a,c,b){b.hideNewPostButton(a);b.hideFeed(a);b.feedLib.util.auraLater(function(){a.isValid()&&a.getElement()&&(b.loadFeed(a,!0),b.showFeed(a))},50)},handleUpdateEvent:function(a,c,b){a=b.getContext(a).feedLoadParams;
$A.clientService.invalidateAction("serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedController/ACTION$getModel",a,function(a){a?$A.log("feed.cmp cache invalidated"):$A.log("feed.cmp unable to clear cache")})},handleFeedNotification:function(a,c,b){var e=c.getParam("type");if(e&&"SHOW"===e){var e=c.getParam("action"),d=c.getParam("label");c=c.getParam("target");b.showFeedNotification(a,d,c,e)}else e&&"HIDE"===e&&b.hideNewPostButton(a)},search:function(a,c){var b=a.find("feedInner");
b&&b.getEvent("search").setParams({parameters:{callback:(c.getParam("parameters")||{}).callback}}).fire()},sort:function(a,c){var b=a.find("feedInner");if(b){var e=c.getParam("arguments");$A.util.lookup(e,"sortBy")&&b.sort(e.sortBy,e.callback)}},searchMethod:function(a,c){var b=a.find("feedInner");if(b){var e=c.getParam("arguments");b.searchMethod(e.searchQuery)}},cancelSearch:function(a,c){var b=a.find("feedInner");if(b){var e=c.getParam("arguments");b.cancelSearchMethod(e.callback)}},getFeedElements:function(a,
c){var b=a.find("feedInner");if(b){var e=c.getParam("arguments");b.getFeedElements(e.callback)}},filterByCustomFilter:function(a,c,b){c=c.getParam("arguments")||{};a.find("feedInner").filterByCustomFilter(c.filterName)},updateRetrieveCommentsByLevel:function(a,c,b){b.updateRetrieveCommentsByLevel(a)},handlePageRefChange:function(a,c,b){b.processPageReference(a,c)}},helper:{constants:{PERF_CREATION:"forceChatter:feed creation time",PERF_LOAD:"forceChatter:feed requested"},getContext:function(a){return a._context},
_isProgressiveRenderingEnabled:function(a){return!a.get("v.disablePerformanceOptimizations")},loadFeed:function(a,c){if(a&&a.isValid()){var b=this;$A.Perf.mark(b.constants.PERF_LOAD);var e=!1;if(a.get("v.isEnabledForFeedCaching")){var d=JSON.parse(JSON.stringify(a.get("v.pageReference"))),h=b.getCacheKey(a);d&&d.state.viewMore&&(b.dataCache.default.hasCache(h)?e=!0:(delete d.state.viewMore,a.find("navService").navigate(d,!0)))}var k=b.getContext(a),d=a.get("c.getModel"),l=b._generateParams(a);d.setParams(l);
k.feedLoadParams=l;k={executeCallbackIfUpdated:!1,refresh:c?9999999:0,ignoreExisting:a.get("v.ignoreExistingAction")};d.setCallback(b,function(f){b.metricsReporter.service.markEnd("feeds","feedXhrAndNetworkTime");$A.Perf.endMark(b.constants.PERF_LOAD);if(a&&a.isValid())if("SUCCESS"===f.getState()&&f.getReturnValue()){b.metricsReporter.service.markStart("feeds","feedClientCreateTime");b.metricsReporter.service.transactionStart("feeds","feed:component:create");$A.Perf.mark(b.constants.PERF_CREATION);
var d=!$A.util.getBooleanValue(c);f=f.getReturnValue();if(!$A.util.isUndefinedOrNull($A.util.lookup(f,"feedElementCollection","searchQueryId"))){for(var g=0;g<f.feedElementCollection.elements.length;g++)f.feedElementCollection.elements[g].searchQueryId=f.feedElementCollection.searchQueryId;a.set("v.allSearchQueryIds",[f.feedElementCollection.searchQueryId])}if(b._isProgressiveRenderingEnabled(a)&&(g=$A.util.lookup(f,"feedElementCollection","elements")||[],Array.isArray(g)&&1<g.length&&(g=g.splice(Math.ceil(g.length/
2)))&&0<g.length))f.feedElementCollection.immediateNextElements=g;g=a.get("v.type");a.set("v.model",f,d);e&&(d=b.dataCache.default.getCache(h),a.set("v.model.feedElementCollection",d.feedElementCollection));b.updateRetrieveCommentsByLevel(a);g&&"landing"===g.toLowerCase()&&(d=f.config.type,a.set("v.type",d),b.methodEmitter.service.emit("homeFeedTypeChosen",[d],a.get("v.sharedId")));$A.util.lookup(f,"extensionMetadata")&&b.chatterExtensions.service.addChatterExtensionMetadata(f.extensionMetadata);
a.set("v._initialized",!0);b.fetchAndFireSetLinkMetadataEvent(a,a.get("v.model.feedElementCollection.elements"));$A.Perf.endMark(b.constants.PERF_CREATION);b.metricsReporter.service.markEnd("feeds","feedClientCreateTime");d=$A.util.copy(l);d.searchQuery=null;d.subjectId=null;b.metricsReporter.service.transactionEnd("feeds","feed:component:create",null,d);a.getEvent("loaded").fire();d=$A.util.lookup(f,"feedElementCollection","elements");d={operation:"feedLoad",feedItemIds:$A.util.isArray(d)?b.feedLib.util.getAllFeedItemIDs(d).toString():
null,sortOrder:$A.util.lookup(f,"config","sortOrder"),feedType:$A.util.lookup(f,"config","type"),startFeedItemPosition:!$A.util.isEmpty(d)?1:0,searchQueryId:$A.util.lookup(f,"feedElementCollection","searchQueryId")};$A.util.lookup(f,"config","subjectId")&&(d.subjectId="005"===$A.util.lookup(f,"config","subjectId").substring(0,3)?"user":$A.util.lookup(f,"config","subjectId"));b.feedLib.util.logFeedOperations(d,"load")}else"INCOMPLETE"===f.getState()?b.componentService.service.createComponent("markup://force:retryPanel",
{retryAction:[f]}).then($A.getCallback(function(b){$A.util.isObject(b)&&((a.get("v.retryPanel")||[]).forEach(function(a){a.destroy()}),a.set("v.retryPanel",[b]),$A.util.addClass(a.find("feedPlaceholder"),"hideEl"))})).catch($A.getCallback(function(a){$A.log(a.message);b.cmpLib.actions.showCreateComponentError("forceChatter:feed",["force:retryPanel"])})):"ERROR"===f.getState()&&b.fireActionErrorMessage(f)});a.get("v.enableCache")&&d.setStorable(k);d.setAbortable(!1);b.metricsReporter.service.markStart("feeds",
"feedXhrAndNetworkTime");d.setBackground();$A.enqueueAction(d)}},_generateParams:function(a){var c=a.get("v.defaultFilter"),b=a.get("v.filteringMenuGroup"),e=a.get("v.type");b&&b.selectedMenuOption&&(c=b.selectedMenuOption.menuOptionIdentifier);var b=a.get("v._pageSizeGetter"),d=this.communitiesSiteDetector.service.isRunningInCommunitiesSite?!0:!1;return{type:e,feedItemTypeAttribute:a.get("v.feedItemType"),selectedFilter:c,selectedSortOrder:a.get("v.defaultSortOrder"),subjectId:a.get("v.subjectId"),
searchQuery:a.get("v.searchQuery"),showFeedItemActions:a.get("v.showFeedItemActions"),feedDesign:a.get("v.feedDesign"),firstPageSize:null!=b&&"function"===typeof b.get?b.get("Load",0):a.get("v.firstPageSize"),nextPageSize:a.get("v.nextPageSize"),hasFeedSwitcher:a.get("v.hasFeedSwitcher"),showFilteringMenuGroup:a.get("v.showFilteringMenuGroup"),modelKey:a.get("v.modelKey"),includeRecordActivitiesInFeed:a.get("v.includeRecordActivitiesInFeed"),retrieveOnlyTopLevelThreadedComments:d}},fetchAndFireSetLinkMetadataEvent:function(a,
c){var b=a.find("feedInner");b&&$A.util.isFunction(b.fetchAndFireSetLinkMetadataEvent)&&b.fetchAndFireSetLinkMetadataEvent(c)},isFeedInSalesforceDesktopWithPollingEnabled:function(a){return(a=a.get("v.model"))&&a.isSalesforceDesktop&&""<a.feedElementCollection.isModifiedToken},doesRefreshedActionHaveUpdatedFeed:function(a,c){if(!a.get("v._initialized"))return!1;var b=a.get("v.model"),e=c.getReturnValue(),b=this._constructFeedComparator(b.feedElementCollection),e=this._constructFeedComparator(e.feedElementCollection);
return b!==e},_constructFeedComparator:function(a){if(a)a=a.elements;else return"";for(var c=a.length,b=0,e=[],b=0;b<c;b++)e.push(a[b].id+","+a[b].modifiedDate);return e.join("|")},_createNewPostsButton:function(a,c,b,e,d){var h=a.find("newPostsDiv");a="cuf-newPostButton"+(d?" active":"");if(d=b.getElement())d=d.getBoundingClientRect(),$A.createComponent("markup://forceChatter:feedPill",{buttonTitle:c,label:c,"class":a,"aura:flavor":"default,brand",feedCmp:d},function(a){a.addHandler("press",b,e);
h.set("v.body",a)})},showFeedNotification:function(a,c,b,e){if(a&&a.isValid()&&b&&b.isValid()){var d=!1,h=a.find("newPostsDiv");if(h&&h.isValid()){var k=h.get("v.body");k&&0!==k.length&&($A.util.hasClass(k[0].getElement(),"hide")||(d=!0),h.set("v.body",[]));this._createNewPostsButton(a,c,b,e,d)}}},hideNewPostButton:function(a){a=a.find("newPostsDiv").get("v.body");$A.util.isEmpty(a)||$A.util.addClass(a[0].getElement(),"hide")},showFeed:function(a){(a=a.find("feedInner"))&&a.getDef().getHelper().hideFeed(a,
!1)},hideFeed:function(a){(a=a.find("feedInner"))&&a.getDef().getHelper().hideFeed(a,!0)},fireActionErrorMessage:function(a){a=a.getError();if($A.util.isArray(a)){for(var c=[],b=0;b<a.length;b++)c.push(a[b].message);$A.util.isEmpty(c)||(a=c.join(" "),this.fireErrorMessage(a))}},fireErrorMessage:function(a){var c=$A.getEvt("markup://force:showMessage");c.setParams({message:a,severity:"error"});c.fire()},_initializeFeedPlaceholder:function(a,c){if(!a.get("v._initialized")){var b=1===a.get("v.firstPageSize")?
"feed_item":"feed";c.cmpLib.placeholders.insertDelayed(a,function(){return!a.get("v._initialized")},a.find("feedPlaceholder"),[b])}},refreshFeedInner:function(a){(a=a.find("feedInner"))&&a.refreshComponent()},updateRetrieveCommentsByLevel:function(a){var c=a.get("v.model.config.isThreadedEnabled")&&this.communitiesSiteDetector.service.isRunningInCommunitiesSite;a.set("v._retrieveCommentsByLevel",c)},getCacheKey:function(a){var c=a.get("v.pageReference");a=a.get("v.subjectId");var b=0;c&&c.state.viewMore&&
(b=c.state.viewMore);return a+":"+b},clearCache:function(a){this.dataCache.default.clearCache()},processPageReference:function(a,c){var b=a.get("v.subjectId"),e=c?c.getParam("value"):a.get("v.pageReference");e&&e.attributes.recordId===b&&((!e.state.viewMore||!a.get("v.isEnabledForFeedCaching"))&&this.clearCache(a),a._pageRefResolver())}},renderer:{render:function(a,c){var b=a.superRender();c._initializeFeedPlaceholder(a,c);return b},rerender:function(a,c){var b=a.superRerender();c._initializeFeedPlaceholder(a,
c);return b}}}});return {"xs":"G","descriptor":"markup://forceChatter:feed","st":{"descriptor":"css://forceChatter.feed","cl":"forceChatterFeed"},"cd":{"descriptor":"compound://forceChatter.feed","ac":[{"n":"getSwitcherMenu","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedController/ACTION$getSwitcherMenu","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"currentType","type":"java://java.lang.String"}]},{"n":"getActions","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedController/ACTION$getActions","at":"SERVER","rt":"java://java.util.List","pa":[{"name":"recordId","type":"java://java.lang.String"},{"name":"entityApiName","type":"java://java.lang.String"},{"name":"context","type":"java://java.lang.String"},{"name":"listNameOrId","type":"java://java.lang.String"},{"name":"record","type":"java://java.util.Map<java.lang.String,java.lang.Object>"}]},{"n":"refreshFeed","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedController/ACTION$refreshFeed","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"config","type":"java://ui.chatter.api.FeedConfig"},{"name":"pageSize","type":"java://java.lang.Integer","loggable":true}]},{"n":"isFeedModified","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedController/ACTION$isFeedModified","at":"SERVER","rt":"java://boolean","pa":[{"name":"config","type":"java://ui.chatter.api.FeedConfig"},{"name":"isModifiedToken","type":"java://java.lang.String","loggable":true}]},{"n":"serverSortFeed","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedController/ACTION$serverSortFeed","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"config","type":"java://ui.chatter.api.FeedConfig"},{"name":"pageSize","type":"java://java.lang.Integer","loggable":true},{"name":"sortBy","type":"java://java.lang.String","loggable":true}]},{"n":"getModel","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedController/ACTION$getModel","at":"SERVER","rt":"java://ui.chatter.api.IFeedModel","pa":[{"name":"type","type":"java://java.lang.String","loggable":true},{"name":"feedItemTypeAttribute","type":"java://sfdc.chatter.connect.api.enums.feeds.ConnectFeedItemTypeEnum","loggable":true},{"name":"selectedFilter","type":"java://java.lang.String"},{"name":"selectedSortOrder","type":"java://java.lang.String"},{"name":"density","type":"java://java.lang.String"},{"name":"subjectId","type":"java://java.lang.String"},{"name":"searchQuery","type":"java://java.lang.String"},{"name":"showFeedItemActions","type":"java://java.lang.Boolean"},{"name":"feedDesign","type":"java://java.lang.String"},{"name":"firstPageSize","type":"java://java.lang.Integer","loggable":true},{"name":"nextPageSize","type":"java://java.lang.Integer"},{"name":"hasFeedSwitcher","type":"java://java.lang.Boolean"},{"name":"modelKey","type":"java://java.lang.String"},{"name":"showFilteringMenuGroup","type":"java://java.lang.Boolean"},{"name":"includeRecordActivitiesInFeed","type":"java://java.lang.Boolean"},{"name":"retrieveOnlyTopLevelThreadedComments","type":"java://boolean"}],"pce":true,"pcex":60},{"n":"serverCustomFilterFeed","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedController/ACTION$serverCustomFilterFeed","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"config","type":"java://ui.chatter.api.FeedConfig"},{"name":"pageSize","type":"java://java.lang.Integer","loggable":true},{"name":"filterName","type":"java://java.lang.String","loggable":true}]},{"n":"serverSwitchFeedType","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedController/ACTION$serverSwitchFeedType","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"config","type":"java://ui.chatter.api.FeedConfig"},{"name":"pageSize","type":"java://java.lang.Integer","loggable":true},{"name":"feedType","type":"java://java.lang.String","loggable":true}]},{"n":"markAsReadBatch","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedController/ACTION$markAsReadBatch","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"feedItemIds","type":"java://java.util.List<java.lang.String>","loggable":true},{"name":"isReadByMe","type":"java://boolean"},{"name":"communityId","type":"java://java.lang.String","loggable":true}]},{"n":"serverFilterFeed","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedController/ACTION$serverFilterFeed","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"config","type":"java://ui.chatter.api.FeedConfig"},{"name":"pageSize","type":"java://java.lang.Integer","loggable":true},{"name":"filterBy","type":"java://java.lang.String","loggable":true},{"name":"density","type":"java://java.lang.String","loggable":true}]},{"n":"showMoreFeedItems","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedController/ACTION$showMoreFeedItems","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"config","type":"java://ui.chatter.api.FeedConfig"},{"name":"pagingToken","type":"java://java.lang.String"},{"name":"pageSize","type":"java://java.lang.Integer","loggable":true}],"pce":true,"pcex":60}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["ignoreExistingAction","aura://Boolean","I",false],["model","aura://Object","I",false,null],["feedDesign","aura://String","G",false,"BROWSE"],["type","aura://String","G",false],["feedWidth","aura://String","I",false],["subjectId","aura://String","G",false],["feedItemType","aura://String","I",false],["searchQuery","aura://String","I",false],["_pageSizeGetter","aura://Object","I",false,null],["firstPageSize","aura://Integer","I",false],["nextPageSize","aura://Integer","I",false],["hasFeedSwitcher","aura://Boolean","I",false,false],["requireScroller","aura://Boolean","I",false,false],["hasRefreshButtonOnMobile","aura://Boolean","I",false,false],["hasFeedSearch","aura://Boolean","I",false,true],["loadInBackground","aura://Boolean","I",false,false],["allSearchQueryIds","aura://String[]","I",false,[]],["enableDynamicPageSizePrefetch","aura://Boolean","I",false,true],["disablePerformanceOptimizations","aura://Boolean","I",false,false],["feedItemHeight","aura://Integer","p",false,205],["onLoadMoreStrategy","aura://String","I",false,"DEFAULT"],["canChangeSorting","aura://Boolean","I",false,false],["_retrieveCommentsByLevel","aura://Boolean","p",false,false],["showFilteringMenuGroup","aura://Boolean","I",false,false],["sortingMenuGroup","java://ui.chatter.api.FeedMenuGroup","I",false,null],["filteringMenuGroup","java://ui.chatter.api.FeedMenuGroup","I",false,null],["defaultFilter","aura://String","I",false],["defaultSortOrder","aura://String","I",false],["enableInfiniteScroll","aura://Boolean","I",false,false],["enableLoadMoreButton","aura://Boolean","I",false,true],["loadMoreBehavior","aura://String","I",false,"load"],["showFeedItemActions","aura://Boolean","I",false,true],["enableCache","aura://Boolean","I",false,false],["sharedId","aura://String","I",false],["modelKey","aura://String","I",false],["includeRecordActivitiesInFeed","aura://Boolean","I",false,true],["_initialized","aura://Boolean","I",false,false],["header","aura://Aura.Component[]","I",false,[]],["retryPanel","aura://Aura.Component[]","p",false,[]],["_hasPinnedFeedItems","aura://Boolean","I",false,false],["feedItemOverrides","aura://Object","I",false,null],["isEnabledForFeedCaching","aura://Boolean","I",false,false],["pageReference","aura://Map","p",false,null]],"med":[{"name":"forceChatter:sort","xs":"I","action":"{!c.sort}","attributes":[["sortBy","aura://String","I",false],["callback","apex://Function","I",false,null]]},{"name":"forceChatter:searchMethod","xs":"I","action":"{!c.searchMethod}","attributes":[["searchQuery","aura://String","I",false]]},{"name":"forceChatter:cancelSearch","xs":"I","action":"{!c.cancelSearch}","attributes":[["callback","aura://String","I",false]]},{"name":"forceChatter:refreshFeed","xs":"I","action":"{!c.refresh}","attributes":[["type","aura://String","I",false,"HARD"]]},{"name":"forceChatter:getFeedElements","xs":"I","action":"{!c.getFeedElements}","attributes":[["callback","apex://Function","I",false,null]]},{"name":"forceChatter:filterByCustomFilter","xs":"I","action":"{!c.filterByCustomFilter}","attributes":[["filterName","aura://String","I",false]]}],"i":["markup://auraStorage:refreshObserver","markup://force:hasStorableSupport"],"re":[{"ed":"markup://auraStorage:refreshStatusChange","n":"refreshBegin","xs":"I"},{"ed":"markup://auraStorage:refreshStatusChange","n":"refreshEnd","xs":"I"},{"ed":"markup://ui:load","n":"loaded","xs":"I"},{"ed":"markup://ui:refresh","n":"search","xs":"I"},{"ed":"markup://ui:noMoreContent","n":"noMoreContent","xs":"I"},{"ed":"markup://ui:showMore","n":"showMore","xs":"I"},{"ed":"markup://ui:refresh","n":"refresh","xs":"I"},{"ed":"markup://ui:showMore","n":"moreFeedItemsShown","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onStorageRefreshEnd"},"n":"refreshEnd"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleRender"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"render"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.refresh"},"n":"refresh"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.showMore"},"n":"showMore"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.search"},"n":"search"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.updateRetrieveCommentsByLevel"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.model.config.isThreadedEnabled"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handlePageRefChange"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.pageReference"},"n":"change"},{"ed":{"descriptor":"markup://forceChatter:pollVoteUpdated"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleUpdateEvent"}},{"ed":{"descriptor":"markup://forceChatter:feedUpdated"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleUpdateEvent"}},{"ed":{"descriptor":"markup://forceChatter:bookmarkUpdated"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleUpdateEvent"}},{"ed":{"descriptor":"markup://forceChatter:flagUpdated"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleUpdateEvent"}},{"ed":{"descriptor":"markup://forceChatter:objectLikeToggled"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleUpdateEvent"}},{"ed":{"descriptor":"markup://forceChatter:commentCreated"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleUpdateEvent"}},{"ed":{"descriptor":"markup://forceChatter:commentDeleted"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleUpdateEvent"}},{"ed":{"descriptor":"markup://force:refreshView"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleUpdateEvent"}},{"ed":{"descriptor":"markup://force:afterRecordSave"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.afterRecordChanged"}},{"ed":{"descriptor":"markup://force:recordDeleted"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.afterRecordChanged"}},{"ed":{"descriptor":"markup://forceChatter:feedNotification"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleFeedNotification"},"n":"feedNotification"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:pageInfo"},"attributes":{"values":{"pageReference":{"descriptor":"pageReference","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.pageReference"}}}}},{"componentDef":{"descriptor":"markup://lightning:navigation"},"localId":"navService"},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"role":"region","aria-label":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feed","path":"$Label.StandardFeedLabel.FeedHeader"}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-retryPanel"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.retryPanel"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"feedPlaceholder","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"newPostsDiv","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"aria-live":"polite","aria-atomic":"true","class":"cuf-newPost"}},"tag":{"descriptor":"tag","value":"div"}}}},{"componentDef":{"descriptor":"markup://forceChatter:style"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://ui:outputText"},"attributes":{"values":{"class":{"descriptor":"class","value":"cuf-chatterNotEnabledText cuf-center"},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.model.errorMessage"}}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.header"}}}}},{"componentDef":{"descriptor":"markup://forceChatter:feedInner"},"localId":"feedInner","attributes":{"values":{"nextPageSize":{"descriptor":"nextPageSize","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.model.nextPageSize"}},"pageSizeGetter":{"descriptor":"pageSizeGetter","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v._pageSizeGetter"}},"feedType":{"descriptor":"feedType","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.type"}},"onRefreshStart":{"descriptor":"onRefreshStart","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"c.feedRefreshStarted"}},"enableInfiniteScroll":{"descriptor":"enableInfiniteScroll","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.enableInfiniteScroll"}},"sortingMenuGroup":{"descriptor":"sortingMenuGroup","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.ne(cmp.get(\"v.sortingMenuGroup\"),null)?cmp.get(\"v.sortingMenuGroup\"):cmp.get(\"v.model.sortingMenuGroup\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.sortingMenuGroup"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.model.sortingMenuGroup"}],"byValue":false}},"feedElementCollection":{"descriptor":"feedElementCollection","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.model.feedElementCollection"}},"feedSwitcherMenuData":{"descriptor":"feedSwitcherMenuData","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.model.feedSwitcherMenuData"}},"requireScroller":{"descriptor":"requireScroller","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.requireScroller"}},"enableLoadMoreButton":{"descriptor":"enableLoadMoreButton","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.enableLoadMoreButton"}},"canChangeSorting":{"descriptor":"canChangeSorting","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return ((cmp.get(\"v.model.errorMessage\")>\"\")?false:cmp.get(\"v.canChangeSorting\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.canChangeSorting"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.model.errorMessage"}],"byValue":false}},"feedItemOverrides":{"descriptor":"feedItemOverrides","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.feedItemOverrides"}},"pinnedFeedElementCollection":{"descriptor":"pinnedFeedElementCollection","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.model.pinnedFeedElementCollection"}},"isEnabledForFeedCaching":{"descriptor":"isEnabledForFeedCaching","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.isEnabledForFeedCaching"}},"allSearchQueryIds":{"descriptor":"allSearchQueryIds","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.allSearchQueryIds"}},"hasFeedSearch":{"descriptor":"hasFeedSearch","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return ((cmp.get(\"v.model.errorMessage\")>\"\")?false:cmp.get(\"v.hasFeedSearch\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.hasFeedSearch"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.model.errorMessage"}],"byValue":false}},"fireShowMoreEvent":{"descriptor":"fireShowMoreEvent","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"c.fireShowMoreEvent"}},"hasNewContentPolling":{"descriptor":"hasNewContentPolling","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.model.isSalesforceDesktop"}},"sharedId":{"descriptor":"sharedId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.sharedId"}},"emptyFeedMessage":{"descriptor":"emptyFeedMessage","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.model.emptyFeedMessage"}},"filteringMenuGroup":{"descriptor":"filteringMenuGroup","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.ne(cmp.get(\"v.filteringMenuGroup\"),null)?cmp.get(\"v.filteringMenuGroup\"):cmp.get(\"v.model.filteringMenuGroup\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.filteringMenuGroup"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.model.filteringMenuGroup"}],"byValue":false}},"feedDesign":{"descriptor":"feedDesign","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.feedDesign"}},"firstPageSize":{"descriptor":"firstPageSize","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.firstPageSize"}},"noMoreContent":{"descriptor":"noMoreContent","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"c.noMoreContent"}},"hasFeedSwitcher":{"descriptor":"hasFeedSwitcher","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.hasFeedSwitcher"}},"canCommentsRequestReplies":{"descriptor":"canCommentsRequestReplies","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v._retrieveCommentsByLevel"}},"showFeedItemActions":{"descriptor":"showFeedItemActions","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.showFeedItemActions"}},"hasRefreshButtonOnMobile":{"descriptor":"hasRefreshButtonOnMobile","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.hasRefreshButtonOnMobile"}},"searchQuery":{"descriptor":"searchQuery","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.searchQuery"}},"loadMoreBehavior":{"descriptor":"loadMoreBehavior","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.loadMoreBehavior"}},"feedWidth":{"descriptor":"feedWidth","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.feedWidth"}},"commentActions":{"descriptor":"commentActions","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.model.commentActions"}},"config":{"descriptor":"config","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.model.config"}},"enableDynamicPageSizePrefetch":{"descriptor":"enableDynamicPageSizePrefetch","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.enableDynamicPageSizePrefetch"}},"onLoadMoreStrategy":{"descriptor":"onLoadMoreStrategy","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.onLoadMoreStrategy"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v.model.isFeedAccessible"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feed","path":"v._initialized"}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:genericFeedElement",function(){/*$A.componentService.addComponentClass("markup://forceChatter:genericFeedElement",function(){return{meta:{name:"forceChatter$genericFeedElement","extends":"markup://aura:component",imports:{feedLib:"markup://forceChatter:feedLib"}},renderer:{afterRender:function(a,b){a.superAfterRender();if(a.get("v.data").refocus){var c=a.getElement();b.feedLib.util.setFocusOn(c,".cuf-feedElement")}}}}});return {"xs":"I","descriptor":"markup://forceChatter:genericFeedElement","st":{"descriptor":"css://forceChatter.genericFeedElement","cl":"forceChatterGenericFeedElement"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["feedDesign","aura://String","I",false,"BROWSE"],["data","aura://Object","I",false,null],["contextUser","java://ui.chatter.api.FeedDisplayConfig$FeedContextUser","I",false,null],["subjectId","aura://String","I",false]],"i":["markup://forceChatter:respectFeedDesign"],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"cuf-element \",fn.add((fn.eq($A.get(\"$Browser.formFactor\"),\"DESKTOP\")?\" cuf-Large \":\"\"),((fn.ne($A.get(\"$Site\"),null)||$A.get(\"$Browser.isDesktop\"))?\"defaultFlavor\":\"mobileFlavor\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:genericFeedElement","path":"$Browser.isDesktop"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:genericFeedElement","path":"$Browser.formFactor"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:genericFeedElement","path":"$Site"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-feedElement-wrap"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"data-id":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:genericFeedElement","path":"v.data.id"},"class":"cuf-feedElement"}},"tag":{"descriptor":"tag","value":"article"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-media-left"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:preamble"},"attributes":{"values":{"data":{"descriptor":"data","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:genericFeedElement","path":"v.data.header"}}}}}]}}}},{"componentDef":{"descriptor":"markup://forceChatter:recommendationInFeed"},"attributes":{"values":{"data":{"descriptor":"data","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:genericFeedElement","path":"v.data.capabilities.recommendations"}},"feedElementId":{"descriptor":"feedElementId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:genericFeedElement","path":"v.data.id"}}}}}]}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://onesetup:setupFlowConfirmMessage",function(){/*$A.componentService.addComponentClass("markup://onesetup:setupFlowConfirmMessage",function() {
return {
  "meta":{
    "name":"onesetup$setupFlowConfirmMessage",
    "extends":"markup://aura:component"
  }
};
});
return {"xs":"I","descriptor":"markup://onesetup:setupFlowConfirmMessage","st":{"descriptor":"css://onesetup.setupFlowConfirmMessage","cl":"onesetupSetupFlowConfirmMessage"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["messageOne","aura://String","I",false],["messageTwo","aura://String","I",false]],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-text-longform"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"p"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"onesetup:setupFlowConfirmMessage","path":"v.messageOne"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"p"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"onesetup:setupFlowConfirmMessage","path":"v.messageTwo"}}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:resultsTopResultsDataProvider",function(){/*$A.componentService.addComponentClass("markup://forceSearch:resultsTopResultsDataProvider",function(){return{meta:{name:"forceSearch$resultsTopResultsDataProvider","extends":"markup://ui:dataProvider",imports:{lib:"markup://forceSearch:searchLibrary",topResultsLib:"markup://forceSearch:resultsTopResultsLibrary"}},controller:{provide:function(b,a,c){c.provide(b,a)}},helper:{provide:function(b,a){if(!(0>b.get("v.currentPage"))){var c=b.get("c.getItems");if(c){var d=this.getActionParams(b);this.logPerfTransactionStart(b,
d.topResultsRequestModel);this.setupActionAndEnqueue(b,c,d)}}},setupActionAndEnqueue:function(b,a,c){var d=b.get("v.priv_requestId")+1;b.set("v.priv_requestId",d);var e=b.get("v.refreshId"),f={};a.setParams(c);a.setCallback(this,function(a){this.handleActionCallback(b,a,d,e,f)});b.get("v.doBackgroundAction")&&a.setBackground();f.start=Date.now();$A.enqueueAction(a)},getActionParams:function(b){return{topResultsRequestModel:this.topResultsLib.utils.generateTopResultsRequestModel(b)}},logPerfTransactionStart:function(b,
a){var c=JSON.parse(JSON.stringify(a));c.scopeName=c.scopeMap.name;delete c.scopeMap;delete c.context;delete c.withSpellCorrection;this.lib.logging.logPerf(b,"provideResults","START",c)},logPerfTransactionEnd:function(b,a){var c=a.results.filter(function(a){return a.hasError}).map(function(a){return a.scopeMap.name}),d={};a.hasError?(d.error="SEARCH_REQUEST_SERVER_ERROR",0<c.length&&(d.scopesWithError=c)):d.searchTimes=a.times;this.lib.logging.logPerf(b,"provideResults","END",d)},getSearchTimes:function(b,
a){var c=b.times||[];a&&c.push("XHR.duration:"+(a.end-a.start).toString());return c},handleActionCallback:function(b,a,c,d,e){if(this.isValidRequest(b,a,c))switch(c=a.getState(),c){case "SUCCESS":if(a=a.getReturnValue())e.end=Date.now(),a.times=this.getSearchTimes(a,e),a.refreshId=d;this.logPerfTransactionEnd(b,a);this.fireDataChangeEvent(b,a);break;case "INCOMPLETE":this.lib.logging.logPerf(b,"provideResults","END",{error:"INCOMPLETE"});$A.get("e.force:showOfflineMessage").setParams({retryAction:a}).fire();
break;default:this.lib.logging.logPerf(b,"provideResults","END",{error:"SEARCH_REQUEST_ACTION_ERROR",actionState:c});if(b.get("v.throwOnError"))throw Error($A.get("$Label.AuraSearchUI.SearchRequestError"));this.fireDataChangeEvent(b,{hasError:!0})}},isValidRequest:function(b,a,c){return a&&c===b.get("v.priv_requestId")}}}});return {"xs":"I","descriptor":"markup://forceSearch:resultsTopResultsDataProvider","cd":{"descriptor":"compound://forceSearch.resultsTopResultsDataProvider","ac":[{"n":"getItems","descriptor":"serviceComponent://ui.search.components.forcesearch.topresultsdataprovider.TopResultsDataProviderController/ACTION$getItems","at":"SERVER","rt":"java://ui.search.api.models.TopResultsResponse","pa":[{"name":"topResultsRequestModel","type":"java://ui.search.api.models.TopResultsRequestModel"}]}]},"su":"markup://ui:dataProvider","ad":[["body","aura://Aura.Component[]","G",false,[]],["searchTerm","aura://String","PP",false],["sortBy","aura://String","PP",false],["sortDirection","aura://String","I",false],["columns","aura://List","PP",false,[]],["items","aura://List","PP",false,[]],["modelItemsKey","aura://String","PP",false],["currentPage","aura://Integer","PP",false,1],["endIndex","aura://Integer","I",false,-1],["pageCount","aura://Integer","PP",false,0],["pageSize","aura://Integer","PP",false,25],["startIndex","aura://Integer","I",false,-1],["totalItems","aura://Integer","PP",false,0],["type","aura://String","I",false],["term","aura://String","I",true,""],["scopeMap","aura://Map","I",true,{}],["context","aura://Map","I",true,{}],["throwOnError","aura://Boolean","I",false,true],["scopeNames","aura://List","I",false,[]],["enableRowActions","aura://Boolean","I",false,false],["withEntityPrediction","aura://Boolean","I",false,false],["withSingleSOSL","aura://Boolean","I",false,false],["refreshId","aura://String","I",false],["batchSize","aura://Integer","I",false,3],["batchingTimeout","aura://Integer","I",false,2000],["doBackgroundAction","aura://Boolean","I",false,false],["priv_requestId","aura://Integer","I",false,0]],"i":["markup://forceSearch:searchInterface","markup://forceSearch:firesSearchRequest","markup://ui:pagingInterface"],"re":[{"ed":"markup://ui:dataProvide","n":"provide","xs":"PP"},{"ed":"markup://ui:abortFetchData","n":"abort","xs":"PP"},{"ed":"markup://ui:dataChanged","n":"onchange","xs":"PP"},{"ed":"markup://ui:dataProvideError","n":"error","xs":"PP"},{"ed":"markup://force:searchRequest","n":"searchRequest","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.provide"},"n":"provide"}],"css":true}*/});
$A.componentService.addComponent("markup://support:sendEmailQuickAction",function(){/*$A.componentService.addComponentClass("markup://support:sendEmailQuickAction",function(){return{meta:{name:"support$sendEmailQuickAction","extends":"markup://aura:component",imports:{util:"markup://emailui:utils",supportUtil:"markup://support:util",recordLib:"markup://force:recordLibrary",metricsLib:"markup://o11y:client"}},controller:{init:function(a,b,c){a._metrics=c.metricsLib.getInstrumentation("LightningEmailComposer");c.init(a,b)},getFieldComponents:function(a,b){var c=b.getParam("arguments");
a.find("quickActionLayout").getFieldComponents(c.fieldNames,c.inputOnly,c.callback)},getSections:function(a,b){var c=b.getParam("arguments");a.find("quickActionLayout").getSections(c.callback)},getAdditionalLayoutFieldNames:function(a,b){b.getParam("arguments").callback(["ContentDocumentIds","AttachmentIds","ReplyToEmailMessageId"])},reset:function(a,b,c){c.reset(a)},send:function(a,b,c){$A.get("$Browser.S1Features.isE2CExternalServerEnabled")&&c.isCaseContext(a)?c.checkIfFromAddressOauthedAndSend(a,
b,c.send.bind(c)):c.send(a,b)},submitForApproval:function(a,b,c){c.submitForApproval(a)},onAttachmentsChanged:function(a,b,c){c.updateAttachments(a)},updateFocus:function(a,b,c){b=(b.getParams()||{}).arguments||[];c.updateFocus(a,b.fieldName)},focusBodyCursor:function(a,b,c){c.focusBodyCursor(a)},initTextBodyCursor:function(a,b,c){c.initTextBodyCursor(a)},onAttachmentRemoved:function(a,b,c){c.isEventFromThisQuickActionInstance(a,b.getSource())&&c.removeAttachment(a,b)},addAttachment:function(a,b,
c){c.addAttachment(a,b)},addDragDropAttachments:function(a,b,c){c.addMultipleAttachments(a,b)},addLegacyAttachment:function(a,b,c){c.addLegacyAttachment(a,b)},insertIntoBodyAtCursor:function(a,b,c){b=b&&b.getParam("arguments")?b.getParam("arguments").text:null;c.insertIntoBodyAtCursor(a,b)},saveAttachmentsInFiles:function(a,b,c){c.saveAttachmentsInFiles(a)},onToggleField:function(a,b,c){c.onToggleField(a,b)},setFieldValues:function(a,b,c){c.setFieldValues(a,b)},getNonRemovableAttachments:function(a,
b,c){c.getNonRemovableAttachments(a,b)},onDockedPanelTitleChange:function(a,b,c){c.fireDockedPanelTitleChangeEvt(a,b.getSource().get("v.value"))},handleSetTitle:function(a,b){b.stopPropagation();b.preventDefault()},onEmailAttachmentIdsUpdated:function(a,b,c){b=b&&b.getParam("field")?b.getParam("field"):null;"ContentDocumentIds"===b&&c.syncAttachments(a);"AttachmentIds"===b&&c.syncLegacyAttachments(a)},onEmailRecipientsUpdated:function(a,b,c){c.updateRecipientConsentCategories(a,b);("ToAddress"===
b.getParam("field")||"CcAddress"===b.getParam("field"))&&c.removeIftHtml(a,$A.get("$Label.EmailErrorMessage.IFTRecipientsChanged"))},onFromAddressChanged:function(a,b,c){c.removeIftHtml(a,$A.get("$Label.EmailErrorMessage.IFTFromAddressChanged"))},updateHtmlBodyState:function(a,b,c){c.getRecordLayoutFields(a,function(b){c.initHtmlBodyState(a,b.HtmlBody)})},saveEmailDraft:function(a,b,c){var d=b.getParam("arguments").callback;b=b.getParam("arguments").isSubmittingForApproval;return c.saveEmailDraft(a,
b,d)},deleteEmailDraft:function(a,b,c){b=b.getParam("arguments").callback;c.deleteEmailDraft(a,b)},onIframeComposerValueChange:function(a,b,c){c.onIframeComposerValueChange(a,b)},onDataSourceConnected:function(){location.reload()},updateObservcesConsent:function(a,b,c){$A.get("$Browser.isDesktop")&&c.getRecordLayoutFields(a,function(b){c.initFieldAttributes(a,b)})},onConsentWarningHappened:function(a,b,c){b=b.getParam("warning");c.setInitialWarning(a,b)},showErrorsInBanner:function(a,b,c){c.showErrorsInBanner(a,
b)},doSetScheduledTime:function(a,b,c){(b=b.getParam("arguments"))&&(b.dateAndTime&&b.timezone)&&c.setScheduledTime(a,b.dateAndTime,b.timezone)},doGetScheduledTime:function(a,b,c){return c.getScheduledTargetTime(a)},showGptDisclaimer:function(a){a.set("v.shouldShowGptDisclaimer",!0)}},helper:{IGNORE_AVAILABILITY_ERRORS:{UNVERIFIED_USER:"User does not have a verified email address",CONCURRENTPERORGLONGTXN_LIMIT_ERROR:"ConcurrentPerOrgLongTxn Limit exceeded",ERROR_ON_PARAMETER_RECORD:"Error on parameter record: java://sfdc.uisdk.connect.api.output.RecordRepresentation",
HOURLY_EMAIL_LIMIT_EXCEEDED:"Hourly email limit exceeded",EXPIRED_TOKEN_ERROR:"The provided token has expired"},IGNORE_AVAILABILITY_ERROR_LABELS:{MISSING_REFRESH_TOKEN:"$Label.OAuthErrors.MissingRefreshToken",REFRESH_TOKEN_EXCHANGE_FAILED:"$Label.OAuthErrors.RefreshTokenExchangeFailed",TOKEN_EXPIRATION_ERROR:"$Label.SiqMailTransportExceptions.TokenExpirationError",GLOBAL_DATASOURCE_NEEDS_ATTENTION_ERROR:"$Label.SiqMailTransportExceptions.GlobalDataSourceNeedsAttentionError",TOO_LARGE_ERROR:"$Label.Outlook365TransportExceptions.TooLargeError",
TOKEN_ERROR:"$Label.Outlook365TransportExceptions.TokenError",INSERT_UPDATE_DELETE_NOT_ALLOWED_DURING_MAINTENANCE:"$Label.EmailErrorMessage.INSERT_UPDATE_DELETE_NOT_ALLOWED_DURING_MAINTENANCE",EMAIL_LIMIT_EXCEEDED:"$Label.EmailErrorMessage.EmailLimitExceeded",CONNECTING_GRAPH_API_ERROR:"$Label.Outlook365TransportExceptions.Default"},OAUTH_PROVIDER_ENUM:{GOOGLE_PLUS:6,AZURE:14},init:function(a){this.loadDefaultAttachments(a);this.loadDefaultNonRemovableAttachments(a);this.initRecordLayoutFields(a);
this.addLoggingForEmailComposer(a);a.set("v.width",a.getOwner()?a.getOwner().get("v.width"):"MEDIUM")},addLoggingForEmailComposer:function(a){a=a.get("c.getUserInfoForEmailUsage");a.setCallback(this,function(a){$A.metricsService.transaction("ltng","interaction",{context:{eventSource:"userInfoForLexEmailComposerUsage",locator:{target:"userInfoForLexEmailComposerUsage",scope:"userInfoForLexEmailComposerUsage"},attributes:{userHasGmailExtension:a.returnValue.userHasGmailExtension,userHasOutlookExtension:a.returnValue.userHasOutlookExtension,
isInboxUser:a.returnValue.isInboxUser}}})});$A.enqueueAction(a)},initRecordLayoutFields:function(a){var b=this;this.getRecordLayoutFields(a,function(c){b.initFields(a,b,c)})},initFields:function(a,b,c){a._originalRecord=$A.util.copy(a.find("quickActionLayout").get("v.record"));var d=a.get("v.fieldOverrides");if(d=$A.util.isUndefinedOrNull(d)?null:JSON.parse(d))b.updatePredefinedErrorBanner(a,d),b.updateInitialWarningBanner(a,d),b.updateTargetRecordActionCadenceStepTrackerId(a,d),b.updateTargetRecordEmailTemplateId(a,
d.EmailTemplateId),b.updateRecordWithField(a,"ScheduledTargetTime",d.ScheduledTargetTime),b.updateRecordWithField(a,"EmailMessageId",d.EmailMessageId),b.updateHeadersForReply(a,d),b.updateShouldInsertNextAvailableTimes(a,d);b.initTextBodyState(a,c.TextBody);b.initHtmlBodyState(a,c.HtmlBody);b.overrideEmailAddress(a,"ToIds","ToAddress",c);b.overrideEmailAddress(a,"CcIds","CcAddress",c);b.overrideEmailAddress(a,"BccIds","BccAddress",c);this.initConsentManager(a,c);$A.get("$Browser.isDesktop")&&(b.initFieldVisibility(c),
b.initEvents(a,c),b.initDockedPanelTitle(a,this.getSubjectField(c)));a.get("v.isInContextOfCase")||b.addIFTEventHandlers(a,c)},checkIfFromAddressOauthedAndSend:function(a,b,c){var d=a.get("v.targetRecord"),d=this.recordLib.util.getFieldValue(d,"ValidatedFromAddress"),e=a.get("c.getOAuthType");e.setParams({fromAddress:d});e.setCallback(this,function(d){"SUCCESS"===d.getState()&&a.set("v._fromAddressOAuthType",d.getReturnValue());c&&c(a,b)});$A.enqueueAction(e)},updateRecipientConsentCategories:function(a,
b){var c=a.find("consentManager");c&&c.updateRecipientConsentCategories(b.getParam("recipients"))},addIFTEventHandlers:function(a,b){this.addChangeEventHandler(a,b.ValidatedFromAddress,"change","c.onFromAddressChanged")},addChangeEventHandler:function(a,b,c,d){b&&1===b.length&&b[0].addEventHandler(c,a.getReference(d))},removeIftHtml:function(a,b){var c=a.find("iftLibrary");if(c&&c.provide){var d=this;this.getRecordLayoutFields(a,function(e){if((e=e.HtmlBody)&&1===e.length&&e[0].insertHtml){var f=
e[0].get("v.value"),g=c.provide().Locator.isAvailabilityPresentInHtmlString;if(g&&(f&&g(f))&&(g=c.provide().Locator.removeAvailabilityFromHtmlString))if(f=g(f,"lex"))d.setBody(a,{htmlValue:f},e[0].get("v.disabled")),$A.getEvt("markup://force:showToast").setParams({message:b,type:"error"}).fire()}})}},getRecipients:function(a,b,c){(a.ToAddress||[]).concat(a.CcAddress||[],a.BccAddress||[]).forEach(function(a){var e=a.get("v.recipientIds");e&&(e instanceof Array?b.push.apply(b,e):b.push(e));(a=a.get("v.recipients"))&&
c.push.apply(c,a)})},initConsentManager:function(a,b){var c=a.find("consentManager");if(c){var d=[],e=[];this.getRecipients(b,d,e);c.initRecipientConsentCategories(d,e)}},initEvents:function(a,b){var c="";this.isDraftLoaded(a)&&(c=a.get("v.targetRecord"),c=this.recordLib.util.getRecordId(c));this.fireEmailDraftLoadedEvent(a,c);this.fireFieldNotInLayoutEvent(a,b,["Subject","TextBody","HtmlBody","EmailTemplateId"]);a.get("v.isInContextOfCase")&&a.get("v.isInDockingPanel")?(c=b.ParentId,$A.util.isUndefinedOrNull(c)||
c&&0<c.length&&$A.util.isEmpty(c[0].get("v.entities"))?this.getAndEmitRelatedToConfiguration(a,a.get("v.contextId")):this.emitRelatedToConfiguration(a,b.ParentId)):this.emitRelatedToConfiguration(a,b.RelatedToId);this.onDockedComposerTitleChange(a,b.Subject);(c=a.getEvent("changeAndNotInLayoutEventsInitialized"))&&c.fire()},initTextBodyCursor:function(a){var b=this;this.getRecordLayoutFields(a,function(c){b.initTextBodyState(a,c.TextBody)})},initTextBodyState:function(a,b){if(b&&1===b.length){var c=
b[0].get("v.value");c&&0===c.indexOf("\u202f")&&b[0].set("v.value",c.substring(1),!0);var d=this,c=$A.getCallback(function(){b[0].isValid()?d.setCursorAtBeginningOfTextArea(b):d.getRecordLayoutFields(a,function(a){a&&(a.TextBody&&1===a.TextBody.length)&&d.setCursorAtBeginningOfTextArea(a.TextBody)})});setTimeout(c,500)}},initHtmlBodyState:function(a,b){b&&1===b.length&&b[0].set("v.isDocked",a.get("v.isInDockingPanel"))},overrideEmailAddress:function(a,b,c,d){d&&(d[c]&&1===d[c].length)&&(a=a.get("v.fieldOverrides"),
a=$A.util.isUndefinedOrNull(a)?null:JSON.parse(a),!$A.util.isUndefinedOrNull(a)&&!$A.util.isUndefinedOrNull(a[b])&&(b=a[b],b=a[c]?b.concat(a[c]):b,d[c][0].set("v.value",b)))},reset:function(a){var b=this;this.getRecordLayoutFields(a,function(c){a.set("v._attachments",[]);a.set("v._legacyAttachments",[]);a.set("v._legacyAttachmentData",[]);b.isCaseContext(a)?a.find("quickActionLayout").refresh():a.find("quickActionLayout").refresh($A.util.copy(a._originalRecord));b.loadDefaultAttachments(a);b.loadDefaultNonRemovableAttachments(a);
b.initFields(a,b,c)})},fireEmailDraftLoadedEvent:function(a,b){a.getEvent("emailDraftLoaded").setParams({id:b}).fire()},fireFieldNotInLayoutEvent:function(a,b,c){if(a=a.getEvent("fieldNotInLayout")){var d=[];c.forEach(function(a){(!b[a]||0==b[a].length)&&d.push(a)});$A.util.isEmpty(d)||(a.setParams({missingFieldNames:d}),a.fire())}},updateObservesConsent:function(a,b){a&&(1===a.length&&a[0].isInstanceOf("support:inputEmailRecipients"))&&a[0].set("v.observesConsent",b)},initFieldAttributes:function(a,
b){var c=!a.get("v.isInContextOfCase");this.updateObservesConsent(b.ToAddress,c);this.updateObservesConsent(b.CcAddress,c);this.updateObservesConsent(b.BccAddress,c)},initFieldVisibility:function(a){var b=a.ToAddress,c=a.CcAddress;a=a.BccAddress;b&&1===b.length&&b[0].toggleLink?((!c||0===c.length||1===c.length&&(!0===c[0].get("v.required")||c[0].get("v.emailAddresses")||!$A.util.isEmpty(c[0].get("v.recipientIds"))))&&b[0].toggleLink("CcAddress",!1),(!a||0===a.length||1===a.length&&(!0===a[0].get("v.required")||
a[0].get("v.emailAddresses")||!$A.util.isEmpty(a[0].get("v.recipientIds"))))&&b[0].toggleLink("BccAddress",!1)):(c&&(1===c.length&&c[0].toggleField)&&c[0].toggleField(!0),a&&(1===a.length&&a[0].toggleField)&&a[0].toggleField(!0))},emitRelatedToConfiguration:function(a,b){if(b&&0<b.length&&$A.util.hasClass(b[0],"hide")){var c=a.getEvent("relatedToCreatedEvent"),d=b[0],d={selectedLabel:d.get("v.selectedLabel"),selectedSObjectType:d.get("v.selectedSObjectType"),readOnly:d.get("v.readOnly"),source:d.get("v.source"),
value:d.get("v.value"),field:d.get("v.field"),fieldLabel:d.get("v.fieldLabel"),entities:d.get("v.entities"),recordId:d.get("v.recordId"),contextId:d.get("v.contextId"),placeholder:d.get("v.placeholder"),createableEntities:d.get("v.createableEntities"),dependentFields:d.get("v.dependentFields")};c.setParams({inputLookupData:d});c.fire()}},getAndEmitRelatedToConfiguration:function(a,b){var c=a.get("c.getEntityThemeAndLabelInfo");c.setParams({recordId:b});c.setCallback(this,function(c){if("SUCCESS"===
c.getState()){c=c.getReturnValue();c={value:b,entities:[{color:c.color,label:c.label,icon:c.icon}],selectedLabel:c.selectedLabel};var e=a.getEvent("relatedToCreatedEvent");e.setParams({inputLookupData:c});e.fire()}});c.setStorable();$A.enqueueAction(c)},onDockedComposerTitleChange:function(a,b){a.get("v.isInDockingPanel")&&(b&&0<b.length)&&b[0].addHandler("change",a,"c.onDockedPanelTitleChange")},fireDockedPanelTitleChangeEvt:function(a,b){a.isValid()&&a.getEvent("notify").setParams({action:"updatePanel",
payload:{title:$A.util.isEmpty(b)?a.get("v.quickActionLabel"):b}}).fire()},initDockedPanelTitle:function(a,b){if(a.get("v.isInDockingPanel")&&b){var c=b.get("v.value");$A.util.isEmpty(c)||this.fireDockedPanelTitleChangeEvt(a,c)}},focusOnInputSelectErrors:function(a){var b=this;this.getRecordLayoutFields(a,function(a){b.focusOnField(a,"ValidatedFromAddress")})},focusOnInputTextErrors:function(a,b){var c=this;b.errorObj.message.trim()===$A.get("$Label.EmailErrorMessage.RequiredEitherEmailSubjectOrBody")?
this.getRecordLayoutFields(a,function(a){c.focusOnField(a,"Subject")}):(b.errorObj.message.trim()===$A.get("$Label.EmailErrorMessage.RequiredToAddress")||b.errorObj.fieldErrors&&b.errorObj.fieldErrors.ToAddress)&&this.getRecordLayoutFields(a,function(a){c.focusOnField(a,"ToAddress")})},ignoreAvailabilityErrors:function(a){var b=!1;if(!a)return!1;(b=Object.values(this.IGNORE_AVAILABILITY_ERRORS).some(function(b){return a.includes(b)}))||(b=Object.values(this.IGNORE_AVAILABILITY_ERROR_LABELS).some(function(b){return a.includes($A.get(b))}));
return b},send:function(a,b){var c=a.find("quickActionLayout");c&&c.save&&this.updateAttachments(a,function(){var d=b&&b.getParam("arguments")?b.getParam("arguments").context:null,e=b&&b.getParam("arguments")?b.getParam("arguments").shouldRefresh:!0,f=b&&b.getParam("arguments")?b.getParam("arguments").callback:null;this.isCaseContext(a)&&this.prepareRecordForSend(a);a.set("v.preDefinedErrors",[]);a.set("v.initialWarning","");var g="OutgoingEmail"===this.recordLib.util.getEntityName(a.get("v.targetRecord")),
k=$A.metricsService.time(),h=!1,m,l=!1,n=a.get("v.isInDockingPanel"),p=a.get("v.keepDockedOnSave");c.save(d,n,e,function(b){if("SUCCESS"===b.state){if(this.saveAttachmentsInFiles(a),a.set("v._attachments",[]),a.set("v._legacyAttachments",[]),a.set("v._legacyAttachmentData",[]),a.set("v.isSubmitting",!1),this.logSuccessfulAction(a),!p){var c=this.getScheduledTargetTime(a)?$A.get("$Label.EmailComposerHeaders.EmailScheduled"):this.getToastMessageForSentEmail(a);$A.getEvt("markup://force:showToast").setParams({message:c,
type:"success"}).fire()}}else this.isCaseContext(a)&&this.recoverRecord(a),"SUCCESS_WITH_ERRORS"===b.state&&!$A.util.isUndefinedOrNull(b.errorObj)?this.focusOnInputTextErrors(a,b):"ERROR"===b.state&&(h=!0,l=b.error&&b.error[0]&&this.ignoreAvailabilityErrors(b.error[0].message)?!1:h,this.focusOnInputSelectErrors(a));g?(k=performance.now()-k,a._metrics.trackValue("SendEmail",k,l),h&&(m=b.error&&b.error[0]&&b.error[0].message?b.error[0].message.trim():"Send 1:1 LEX email failed on the server side, returning empty error message.",
$A.metricsService.transaction("ltng","error",{context:{eventSource:"sendEmailQuickAction-outgoingEmail-error",attributes:{errorMsg:m}}})),a._metrics.incrementCounter("SendEmail",1,l)):this.isCaseContext(a)&&this.sendMetricsData(a,b,"EmailMessage._Send",h,m);f&&f(b)}.bind(this))}.bind(this))},getToastMessageForSentEmail:function(a){a=a.get("v._fromAddressOAuthType");return a===this.OAUTH_PROVIDER_ENUM.GOOGLE_PLUS?$A.get("$Label.EmailComposerHeaders.ExternalEmailSentGmail"):a===this.OAUTH_PROVIDER_ENUM.AZURE?
$A.get("$Label.EmailComposerHeaders.ExternalEmailSentOutlook"):$A.get("$Label.EmailComposerHeaders.EmailSent")},logSuccessfulAction:function(a){if(a.isValid()){var b=a.get("v.sourceUICmp"),c=a.get("v.targetRecord"),d=a.get("c.logSuccessfulSending");d.setParams({sourceUICmp:b,isStreamUser:a.get("v.isStreamUser"),emailTemplateId:this.recordLib.util.getFieldValue(c,"EmailTemplateId")});$A.enqueueAction(d)}},submitForApproval:function(a){var b=a.get("v.targetRecord");a=a.helper.recordLib.util.getRecordId(b);
$A.createComponent("runtime_approval_process:action",{targetId:a,targetObjectLabel:"EmailMessage",transitionType:null,workitemId:null,entities:[{name:"User",label:"User",labelPlural:"Users"}]},function(a,b,e){"INCOMPLETE"===b?$A.getEvt("markup://force:showOfflineMessage").fire():"ERROR"===b&&this.componentLib.actions.showCreateComponentError("runtime_approval_process:action",e)})},updateAttachments:function(a,b){var c=this.parseContentDocIds(a.get("v._attachments"));this.getRecordLayoutFields(a,function(d){var e=
d.ContentDocumentIds;e&&1===e.length&&e[0].set("v.value",c,!0);if(this.isCaseContext(a)){var f=this.parseFileAttachmentIds(a.get("v._legacyAttachmentData"));(e=d.AttachmentIds)&&(1===e.length&&this.isRecordFieldAvailable(a,"AttachmentIds"))&&e[0].set("v.value",f,!0)}b&&b()}.bind(this))},updateContentDocumentIds:function(a,b){var c=this.parseContentDocIds(a.get("v._attachments"));this.getRecordLayoutFields(a,function(a){(a=a.ContentDocumentIds)&&1===a.length&&a[0].set("v.value",c,!0);b&&b()})},updateLegacyAttachments:function(a,
b){this.getRecordLayoutFields(a,function(c){if(this.isCaseContext(a)){var d=this.parseFileAttachmentIds(a.get("v._legacyAttachmentData"));(c=c.AttachmentIds)&&1===c.length&&c[0].set("v.value",d,!0)}b&&b()}.bind(this))},parseContentDocIds:function(a){if($A.util.isEmpty(a))return null;for(var b=[],c=0;c<a.length;c++){var d=a[c].get("v.docId");$A.util.isEmpty(d)||b.push(d)}return b},parseFileAttachmentIds:function(a){return!$A.util.isEmpty(a)?a.map(function(a){return a.id}).join(","):""},saveAttachmentsInFiles:function(a){a=
a.get("v._attachments");if(!$A.util.isEmpty(a))for(var b=0;b<a.length;b++)a[b].set("v.deleteFile",!1)},getRecordLayoutFields:function(a,b){var c=a.find("quickActionLayout");c&&c.getFieldComponents("Subject TextBody HtmlBody ToAddress CcAddress BccAddress ContentDocumentIds RelatedToId EmailTemplateId AttachmentIds ParentId ValidatedFromAddress ReplyToEmailMessageId References InReplyTo MessageId".split(" "),!0,b)},getSubjectField:function(a){a=a.Subject;return null!=a&&1==a.length?a[0]:null},getBodyField:function(a){var b=
a.HtmlBody;b||(b=a.TextBody);return null!=b&&1==b.length?b[0]:null},clearErrors:function(a){var b=a.get("v.errors");!$A.util.isUndefinedOrNull(b)&&0<b.length&&a.set("v.errors",[])},onToggleField:function(a,b){var c=b.getParam("field"),d=b.getParam("isShown");this.getRecordLayoutFields(a,function(a){if("CcAddress"===c){var b=a.CcAddress;b&&1===b.length&&b[0].toggleField(d)}else"BccAddress"===c&&(b=a.BccAddress)&&1===b.length&&b[0].toggleField(d);(a=a.ToAddress)&&1===a.length&&a[0].toggleLink(c,!d)})},
setFieldValues:function(a,b){if(!$A.util.isEmpty(b.getParam("arguments"))){var c=b.getParam("arguments").fields;if(!$A.util.isEmpty(c)){var d=b.getParam("arguments").isAppend,e=c.contentSource,f=!1;if(c.subject&&!$A.util.isUndefinedOrNull(c.subject.value))if(f=!0,e&&"EinsteinGpt"===e)this.setSubject(a,c.subject.value,c.subject.isReadOnly);else if(d&&!this.isCaseContext(a))this.insertTextIntoSubject(a,c.subject.value);else{var g=c.subject.isReadOnly;this.isCaseContext(a)&&(g=!1);this.setSubject(a,
c.subject.value,g)}c.body&&!$A.util.isUndefinedOrNull(c.body.htmlValue)&&(f=!0,e&&"EinsteinGpt"===e||d?this.insertIntoBodyAtCursor(a,c.body):this.setBody(a,c.body,c.body.isReadOnly||!1));f&&!$A.util.hasClass(a.find("emailTemplateErrorBanner"),"slds-hide")&&$A.util.addClass(a.find("emailTemplateErrorBanner"),"slds-hide");c.contentDocuments&&(d||a.set("v._attachments",[]),this.createNewAttachmentPreview(c.contentDocuments,a,d));c.attachments&&(d||(a.set("v._legacyAttachments",[]),a.set("v._legacyAttachmentData",
[])),this.isCaseContext(a)?this.createRemovableEmailAttachment(c.attachments,a,d):this.createNonRemovableEmailAttachment(c.attachments,a,d));void 0!==c.relatedTo&&this.setRelatedTo(a,c.relatedTo);(c.templateId||""===c.templateId)&&this.setTemplateId(a,c.templateId);(c.actionCadenceId||""===c.actionCadenceId)&&this.updateTargetRecordActionCadenceId(a,c.actionCadenceId)}}},addLegacyAttachment:function(a,b){var c=b&&b.getParam("arguments")?b.getParam("arguments").attachments:null,d=b&&b.getParam("arguments")?
b.getParam("arguments").callback:null;this.isCaseContext(a)?this.createRemovableEmailAttachment(c,a,!0,d):this.createNonRemovableEmailAttachment(c,a,!0,d)},createNonRemovableEmailAttachment:function(a,b,c,d){this.createLegacyAttachments(a,b,c,!1,d)},createRemovableEmailAttachment:function(a,b,c,d){this.createLegacyAttachments(a,b,c,!0,d)},createLegacyAttachments:function(a,b,c,d,e){if(!a||!a.length)c||(b.set("v._legacyAttachments",[]),b.set("v._legacyAttachmentData",[])),e?e({state:"SUCCESS"}):null;
else{for(var f=[],g=c?b.get("v._legacyAttachmentData"):[],k=[],h=0;h<a.length;h++){if(!$A.util.isUndefinedOrNull(g)){for(var m=!1,l=0;l<g.length;l++)if(a[h].id===g[l].id){m=!0;break}if(m)continue}k.push(a[h]);f.push(["emailui:emailAttachment",{name:a[h].name,docId:a[h].id,size:"small",docType:a[h].docType,attachComponentId:b.get("v.contextId"),removable:d}])}0===k.length?e?e({state:"SUCCESS"}):null:($A.createComponents(f,function(a,f,g){"SUCCESS"===f?(c?(f=b.get("v._legacyAttachments"),$A.util.isUndefinedOrNull(f)&&
(f=[]),g=b.get("v._legacyAttachmentData"),$A.util.isUndefinedOrNull(g)&&(g=[]),b.set("v._legacyAttachments",f.concat(a)),b.set("v._legacyAttachmentData",g.concat(k))):(b.set("v._legacyAttachments",a),b.set("v._legacyAttachmentData",k)),b.set("v.legacyAttachmentsRemovable",d),e?e({state:"SUCCESS"}):null):g&&g.length&&(this.showErrorMessage(g.join(",")),e?e({state:"ERROR"}):null)}.bind(this)),this.updateLegacyAttachments(b))}},addMultipleAttachments:function(a,b){var c=b.getParam("droppedFiles");if(c)for(var d=
[],e=0;e<c.length;e++)d.push({isSfs:!1,file:{type:"DeviceFile",selectedFile:{file:c[e]}}});this.createNewAttachmentPreview(d,a,!0,null)},addAttachment:function(a,b){var c=b&&b.getParam("arguments")?b.getParam("arguments").contentDocuments:null,d=b&&b.getParam("arguments")?b.getParam("arguments").callback:null;this.createNewAttachmentPreview(c,a,!0,d)},insertIntoBodyAtCursor:function(a,b){var c=this;this.getRecordLayoutFields(a,function(d){var e=d.HtmlBody;if(e&&1===e.length&&e[0].insertHtml)e[0].insertHtml(b.htmlValue);
else if((e=d.TextBody)&&1===e.length)d=c.isCaseContext(a)&&!$A.util.isEmpty(b.textValue)?b.textValue:c.supportUtil.TextUtil.convertHtml2Text(b.htmlValue),c.insertTextIntoTextBody(e[0],d)})},setSubject:function(a,b,c){var d=this;d.getRecordLayoutFields(a,function(e){if(e=d.getSubjectField(e))d.clearErrors(e),e.set("v.value",b,!0),e.set("v.disabled",c),d.initDockedPanelTitle(a,e)})},insertTextIntoSubject:function(a,b){var c=this;this.getRecordLayoutFields(a,function(d){if(d=c.getSubjectField(d)){c.clearErrors(d);
var e=d.get("v.value"),e=e?e.concat(b):b;d.set("v.value",e,!1);c.initDockedPanelTitle(a,d)}})},setBody:function(a,b,c){var d=this;this.getRecordLayoutFields(a,function(e){var f=e.HtmlBody;if(f&&1==f.length)d.clearErrors(f[0]),f[0].set("v.disabled",c),f[0].set("v.value",b.htmlValue,!0),f[0].focus();else if((f=e.TextBody)&&1==f.length)d.clearErrors(f[0]),e=d.isCaseContext(a)&&!$A.util.isEmpty(b.textValue)?b.textValue:d.supportUtil.TextUtil.convertHtml2Text(b.htmlValue),f[0].set("v.disabled",c),f[0].set("v.value",
e,!0),f[0].focus()})},removeAttachment:function(a,b){if(a.get("v.contextId")===b.getParam("componentId")){var c=b.getParam("docId"),d=a.get("v._attachments"),e=this.findDocIdInContentDocAttachments(d,c);if(-1<e)d.splice(e,1),a.set("v._attachments",d),this.updateContentDocumentIds(a),this.focusOnBody(a);else if(a.get("v.legacyAttachmentsRemovable")){var d=a.get("v._legacyAttachments"),f=a.get("v._legacyAttachmentData"),e=this.findDocIdInRemovableAttachments(f,c);-1<e&&(d.splice(e,1),f.splice(e,1),
a.set("v._legacyAttachments",d),a.set("v._legacyAttachmentData",f),this.updateLegacyAttachments(a),this.focusOnBody(a))}}},findDocIdInContentDocAttachments:function(a,b){for(var c=-1,d=0;d<a.length;d++)if(a[d].get("v.data").docId===b){c=d;break}return c},findDocIdInRemovableAttachments:function(a,b){for(var c=-1,d=0;d<a.length;d++)if(a[d].id===b){c=d;break}return c},isEventFromThisQuickActionInstance:function(a,b){if(!$A.util.isComponent(b))return!1;if(b.getLocalId()===a.getLocalId())return b.getGlobalId()===
a.getGlobalId();var c=b.getOwner();return c!==b?$A.util.isComponent(c)?this.isEventFromThisQuickActionInstance(a,c):!1:!1},focusOnBody:function(a){var b=this;this.getRecordLayoutFields(a,function(a){(a=b.getBodyField(a))&&a.focus()})},focusBodyCursor:function(a){this.getRecordLayoutFields(a,function(a){var c=a.HtmlBody;c&&1===c.length?this.focusHtmlBodyCursor(c):(c=a.TextBody)&&1===c.length&&this.focusTextBodyCursor(c)}.bind(this))},loadDefaultNonRemovableAttachments:function(a){var b=a.get("v.fieldOverrides"),
b=$A.util.isUndefinedOrNull(b)?null:JSON.parse(b);null===b||$A.util.isUndefinedOrNull(b._nonRemovableAttachments)||$A.util.isUndefinedOrNull(b._nonRemovableAttachments.length)?(this.syncLegacyAttachments(a),this.isCaseContext(a)&&this.initDraftAttachmentState(a)):this.isCaseContext(a)?this.createRemovableEmailAttachment(b._nonRemovableAttachments,a):this.createNonRemovableEmailAttachment(b._nonRemovableAttachments,a)},syncLegacyAttachments:function(a){this.getRecordLayoutFields(a,function(b){if((b=
b.AttachmentIds)&&1<=b.length)b=b[0].get("v.value"),b=$A.util.isEmpty(b)?[]:b.split(","),this.allLegacyAttachmentsExist(a,b)||(b=b.map(function(a){return{id:a}}),this.isCaseContext(a)?this.createRemovableEmailAttachment(b,a,!1):this.createNonRemovableEmailAttachment(b,a,!1))}.bind(this))},allLegacyAttachmentsExist:function(a,b){var c=[];$A.util.isEmpty(a.get("v._legacyAttachmentData"))||(c=a.get("v._legacyAttachmentData").map(function(a){return a.id}));return this.arraysEqualNoOrder(c,b)},loadDefaultAttachments:function(a){var b=
a.get("v.fieldOverrides"),b=$A.util.isUndefinedOrNull(b)?null:JSON.parse(b);$A.util.isUndefinedOrNull(b)||$A.util.isUndefinedOrNull(b.ContentDocumentIds)?this.syncAttachments(a):(b=b.ContentDocumentIds.map(function(a){return{id:a}}),this.createNewAttachmentPreview(b,a,!1))},syncAttachments:function(a){this.getRecordLayoutFields(a,function(b){if((b=b.ContentDocumentIds)&&1===b.length)b=b[0].get("v.value"),b=$A.util.isArray(b)?b:$A.util.isEmpty(b)?[]:b.split(","),this.allAttachmentsExist(a,b)||(b=b.map(function(a){return{id:a}}),
this.createNewAttachmentPreview(b,a,!1))}.bind(this))},allAttachmentsExist:function(a,b){var c=[];$A.util.isEmpty(a.get("v._attachments"))||(c=a.get("v._attachments").map(function(a){return a.get("v.docId")}));c=c.filter(function(a){return!$A.util.isEmpty(a)});b=b.filter(function(a){return!$A.util.isEmpty(a)});return this.arraysEqualNoOrder(c,b)},createNewAttachmentPreview:function(a,b,c,d){if($A.util.isEmpty(a))c||b.set("v._attachments",[]),d?d({state:"SUCCESS"}):null;else{for(var e=c?b.get("v._attachments"):
[],e=$A.util.isUndefinedOrNull(e)?[]:e,f=!1,g=0;g<a.length;g++){var k="",k=c&&!$A.util.isUndefinedOrNull(a[g].file)?a[g].file:{docId:a[g].id,selectedFile:null};c&&!$A.util.isUndefinedOrNull(k.type)?k.isSfs="ContentDocument"===k.type:k.isSfs=$A.util.isUndefinedOrNull(a[g].isSfs)?!0:a[g].isSfs;k.docId=$A.util.isUndefinedOrNull(k.docId)?"":k.docId;for(var h=$A.util.isUndefinedOrNull(a[g].newFile)?!1:a[g].newFile,m=!1,l=0;l<e.length;l++)if(($A.util.isUndefinedOrNull(e[l].get("v.data"))?"":e[l].get("v.data").docId)===
k.docId&&""!==k.docId){m=!0;break}if(m)this.checkFireCallback(g,a,f,d);else{var n=this;$A.createComponent("forceChatter:feedContentFilePreview",{"aura:id":"filePreview",attachComponentId:b.get("v.contextId"),data:k,size:"small",inContextOfComponent:"Email",applyDeleteFile:h},function(c,h,m){"SUCCESS"===h&&c?((k.isSfs="DeviceFile"===k.type)&&c.addHandler("onStateChange",b,"c.onAttachmentsChanged"),e.push(c)):(n.showErrorMessage(m),f=!0);n.checkFireCallback(g,a,f,d)})}}b.set("v._attachments",e);this.updateContentDocumentIds(b);
b.get("v.isInDockingPanel")&&c&&(c=this.getScrollerElement(b),$A.util.isUndefinedOrNull(c)||this.smoothScrollTo(c.scrollHeight,400,c))}},checkFireCallback:function(a,b,c,d){a===b.length-1&&d&&(c?d({state:"ERROR"}):d({state:"SUCCESS"}))},getScrollerElement:function(a){a=a.getElement().offsetParent.getElementsByTagName("div");for(var b=0;b<a.length;++b){var c=a[b];if(c.getAttributeNode("class")&&"cuf-content scrollable"===c.getAttributeNode("class").value)return c}return null},smoothScrollTo:function(a,
b,c){var d=c.scrollTop,e=a-d,f=0,g=function(){f+=20;var a;a=f;a/=b/2;1>a?a=e/2*a*a+d:(a--,a=-e/2*(a*(a-2)-1)+d);c.scrollTop=a;f<b&&setTimeout(g,20)};g()},insertTextIntoTextBody:function(a,b){var c=a.getElements();if(c&&0<c.length&&(c=c[0].getElementsByTagName("textarea"))&&1==c.length)this.insertAtCursor(c[0],b),a.set("v.value",c[0].value,!1)},insertAtCursor:function(a,b){var c=a.scrollTop,d=0,e=a.selectionStart||"0"==a.selectionStart?"ff":document.selection?"ie":!1;"ie"==e?(a.focus(),d=document.selection.createRange(),
d.moveStart("character",-a.value.length),d=d.text.length):"ff"==e&&(d=a.selectionStart);var f=a.value.substring(0,d),g=a.value.substring(d,a.value.length);a.value=f+b+g;d+=b.length;"ie"==e?(a.focus(),e=document.selection.createRange(),e.moveStart("character",-a.value.length),e.moveStart("character",d),e.moveEnd("character",0),e.select()):"ff"==e&&(a.selectionStart=d,a.selectionEnd=d,a.focus());a.scrollTop=c},getUsageInfo:function(a,b){return{action:"ClickAction",actionLocation:"support:sendEmailQuickAction",
target:b,gusTeamId:"a00T0000002K5TWIA0"}},getPayload:function(a,b,c,d){return{context:{recordId:a,sobjectType:b,injectPageUsageInfo:!0,data:c,usageInfo:d}}},showErrorMessage:function(a){$A.getEvt("markup://force:showMessage").setParams({message:a,severity:"error"}).fire()},setRelatedTo:function(a,b){this.getRecordLayoutFields(a,function(a){b=$A.util.isObject(b)?b:$A.util.isUndefinedOrNull(b)?{id:""}:{id:b};a.RelatedToId[0].updateValues(b)})},setTemplateId:function(a,b){var c=this;this.getRecordLayoutFields(a,
function(d){b=$A.util.isObject(b)?b:$A.util.isUndefinedOrNull(b)?{id:""}:{id:b};c.updateTargetRecordEmailTemplateId(a,b.id);(d=d.EmailTemplateId)&&d[0].updateValues(b)})},updateFocus:function(a,b){if($A.get("$Browser.isDesktop")&&!a.get("v.isCollapsed")){var c=this;this.getRecordLayoutFields(a,function(a){!1===c.focusOnField(a,b)&&c.focusOnFirstEmptyField(a)})}},focusOnField:function(a,b){var c=!1;if($A.util.isEmpty(b)||$A.util.isEmpty(a[b]))return c;var d=a[b][0];d.focus?(d.focus(),c=!0):(d=d.getElement()||
{},"Subject"===b&&d.getElementsByTagName&&(d=d.getElementsByTagName("input"),0<d.length&&(d[0].focus(),c=!0)));return c},focusOnFirstEmptyField:function(a){var b=a.ToAddress;if(b&&1==b.length&&b[0].isInstanceOf("support:inputEmailRecipients")){var b=b[0],c=b.get("v.recordId");if($A.util.isEmpty(b.get("v.recipientIds"))&&$A.util.isEmpty(b.get("v.value"))&&$A.util.isEmpty(b.get("v.emailAddresses"))&&(!c||!("00Q"==c.substring(0,3)||"003"==c.substring(0,3)))){b.focus();return}}var d=a.HtmlBody;d&&1===
d.length?(a=$A.getCallback(function(){d[0].focus()}),setTimeout(a,500)):(d=a.TextBody)&&1===d.length&&this.focusTextBodyCursor(d)},focusTextBodyCursor:function(a){var b=this,c=$A.getCallback(function(){b.setCursorAtBeginningOfTextArea(a);a[0].focus()});setTimeout(c,500)},focusHtmlBodyCursor:function(a){var b=$A.getCallback(function(){a[0].setCursorAtTop();a[0].focus()});setTimeout(b,500)},setCursorAtBeginningOfTextArea:function(a){if((a=a[0].getElements())&&0<a.length)(a=a[0].getElementsByTagName("textarea"))&&
1===a.length&&null!==a[0].offsetParent&&a[0].setSelectionRange(0,0)},handleCollapsed:function(a){a.get("v.isCollapsed")?$A.util.addClass(a.getElement(),"slds-m-top--small"):$A.util.removeClass(a.getElement(),"slds-m-top--small")},getNonRemovableAttachments:function(a,b){if(!$A.util.isEmpty(b.getParam("arguments"))){var c=b.getParam("arguments").callback;if(!$A.util.isEmpty(c)){var d=a.get("v._legacyAttachmentData");c(d)}}},isCaseContext:function(a){a=a.get("v.contextId");return this.util.validation.isCaseId(a)||
this.util.validation.isEmailMessageId(a)},arraysEqualNoOrder:function(a,b){return $A.util.isEmpty(a)?$A.util.isEmpty(b):a.length===b.length&&b.every(function(b){return-1!==a.indexOf(b)})},saveEmailDraft:function(a,b,c){var d=this;return d.updateAttachments(a,function(){var e=d.recordLib.util.deepClone(a.get("v.targetRecord"));d.recordLib.util.scrutinizeSpanningFields(e);var f=d.updateRecordForChangeInLegacyAttachments(a,e),g=d.parseFileAttachmentIds(a.get("v._legacyAttachmentData"));d.processReplyToEmailMessageId(a,
e);$A.createComponent("markup://force:record",{targetRecord:e,updateMru:!1,mode:"EDIT"},function(e,h){"SUCCESS"===h?e.saveRecord(function(h){"SUCCESS"===h.state&&a.isValid()&&(d.isDraftLoaded(a)||d.fireEmailDraftLoadedEvent(a,h.recordId),d.saveAttachmentsInFiles(a),d.updateTargetRecordId(a,h.recordId),f&&a.set("v._lastSavedLegacyAttachmentIds",g));$A.getEvt("markup://force:recordChange").setParams({recordId:h.recordId,isNewRecord:!0}).fire();d.saveEmailCallback(a,c,h);e.destroy();b&&"SUCCESS"===h.state&&
d.submitForApproval(a)}):("INCOMPLETE"===h&&$A.getEvt("markup://force:showOfflineMessage").fire(),d.saveEmailCallback(a,c,{state:"ERROR"}))})})},saveEmailCallback:function(a,b,c){b&&$A.util.isFunction(b)&&b&&b(c)},deleteEmailDraft:function(a,b){var c=this,d=c.recordLib.util.getFieldValue(a.get("v.targetRecord"),"Id");$A.util.isEmpty(d)?c.deleteDraftCallback(a,b,{state:"SUCCESS"}):$A.createComponent("markup://force:record",{recordId:d,fields:["Status"],updateMru:!1,mode:"EDIT"},function(d,f){"SUCCESS"===
f?d.reloadRecord(!0,$A.getCallback(function(){c.confirmDraftStatusAndDelete(a,d,b);d.destroy()})):("INCOMPLETE"===f&&$A.getEvt("markup://force:showOfflineMessage").fire(),c.deleteDraftCallback(a,b,{state:"ERROR"}))})},deleteDraftCallback:function(a,b,c){a.isValid()&&this.reset(a);b&&$A.util.isFunction(b)&&b&&b(c)},confirmDraftStatusAndDelete:function(a,b,c){var d=b.get("v.targetRecord"),e=this,f=e.recordLib.util.getFieldValue(d,"Id");"5"===e.recordLib.util.getFieldValue(d,"Status")?b.deleteRecord(function(b){if(b&&
b.state&&"SUCCESS"===b.state)a.isValid()&&e.updateTargetRecordId(a,null),e.fireEmailDraftLoadedEvent(a,""),$A.getEvt("markup://force:recordDeleted").setParams({recordId:f}).fire(),e.deleteDraftCallback(a,c,b);else{var d=$A.get("$Label.EmailDraft.DeleteFailedError"),h="";b&&b.error&&(h=b.error.map(function(a){return a.message}).join("; "));""===h&&(h=$A.get("$Label.EmailDraft.UnknownError"));d=d.replace("{0}",h);$A.getEvt("markup://force:showToast").setParams({message:d,type:"error"}).fire();c&&$A.util.isFunction(c)&&
c&&c(b)}}):e.deleteDraftCallback(a,c,{state:"ERROR"})},prepareRecordForSend:function(a){var b=a.get("v.targetRecord");this.updateRecordForChangeInLegacyAttachments(a,b);this.processReplyToEmailMessageId(a,b)},updateRecordForChangeInLegacyAttachments:function(a,b){var c=!0,d=a.get("v._lastSavedLegacyAttachmentIds"),d=$A.util.isEmpty(d)?[]:d.split(",");this.allLegacyAttachmentsExist(a,d)&&(this.deleteRecordField(b,"AttachmentIds"),c=!1);return c},processReplyToEmailMessageId:function(a,b){var c=this.recordLib.util.getFieldValue(b,
"ReplyToEmailMessageId");$A.util.isEmpty(c)&&this.deleteRecordField(b,"ReplyToEmailMessageId")},recoverRecord:function(a){var b=a.get("v.targetRecord");this.isRecordFieldAvailable(a,"AttachmentIds")||(this.recordLib.util.setFieldValue(b,"AttachmentIds",""),this.updateLegacyAttachments(a));this.isRecordFieldAvailable(a,"ReplyToEmailMessageId")||this.recordLib.util.setFieldValue(b,"ReplyToEmailMessageId",null)},initDraftAttachmentState:function(a){this.getRecordLayoutFields(a,function(b){if(this.isDraftLoaded(a)&&
(b=b.AttachmentIds)&&1<=b.length)b=b[0].get("v.value"),a.set("v._lastSavedLegacyAttachmentIds",b)}.bind(this))},isDraftLoaded:function(a){a=a.get("v.targetRecord");a=this.recordLib.util.getRecordId(a);return!$A.util.isUndefinedOrNull(a)},updateTargetRecordId:function(a,b){var c=a.get("v.targetRecord");this.recordLib.util.setRecordId(c,b);if(c=a.find("quickActionLayout"))(c=c.find("qaRecord"))&&c.set("v.recordId",b)},deleteRecordField:function(a,b){a&&(a.fields&&a.fields[b])&&delete a.fields[b]},isRecordFieldAvailable:function(a,
b){return this.recordLib.util.getFields(a.get("v.targetRecord")).hasOwnProperty(b)},updateTargetRecordActionCadenceStepTrackerId:function(a,b){var c=a.get("v.targetRecord");this.isRecordFieldAvailable(a,"ActionCadenceStepTrackerId")&&(b&&b.ActionCadenceStepTrackerId)&&this.recordLib.util.setFieldValue(c,"ActionCadenceStepTrackerId",b.ActionCadenceStepTrackerId)},updateTargetRecordActionCadenceId:function(a,b){var c=a.get("v.targetRecord");this.isRecordFieldAvailable(a,"ActionCadenceId")&&this.recordLib.util.setFieldValue(c,
"ActionCadenceId",b)},updateHeadersForReply:function(a,b){var c=a.get("v.targetRecord");this.isRecordFieldAvailable(a,"InReplyTo")&&this.recordLib.util.setFieldValue(c,"InReplyTo",b.InReplyTo);this.isRecordFieldAvailable(a,"References")&&this.recordLib.util.setFieldValue(c,"References",b.References);this.isRecordFieldAvailable(a,"MessageId")&&this.recordLib.util.setFieldValue(c,"MessageId",b.MessageId)},updateShouldInsertNextAvailableTimes:function(a,b){a.set("v.shouldInsertNextAvailableTimes",!!b.ShouldInsertNextAvailableTimes)},
updateTargetRecordEmailTemplateId:function(a,b){this.updateRecordWithField(a,"EmailTemplateId",b)},updateRecordWithField:function(a,b,c){var d=a.get("v.targetRecord");this.isRecordFieldAvailable(a,b)&&this.recordLib.util.setFieldValue(d,b,c)},updatePredefinedErrorBanner:function(a,b){b&&!$A.util.isEmpty(b.PreDefinedErrors)&&a.set("v.preDefinedErrors",b.PreDefinedErrors)},updateInitialWarningBanner:function(a,b){b&&(b.hasOwnProperty("InitialWarning")&&!$A.util.isEmpty(b.InitialWarning))&&a.set("v.initialWarning",
b.InitialWarning)},setInitialWarning:function(a,b){a.set("v.initialWarning",b)},showErrorsInBanner:function(a,b){if(!$A.util.isEmpty(b.getParam("errorMsg"))){var c=a.get("v.preDefinedErrors");-1===c.indexOf(b.getParam("errorMsg"))&&c.push(b.getParam("errorMsg"));a.set("v.preDefinedErrors",c);var d=a.get("v.isInDockingPanel")?this.getScrollerElement(a):document.documentElement;d&&setTimeout(function(){this.smoothScrollTo(0,400,d)}.bind(this),200)}},setScheduledTime:function(a,b,c){c=new Date(0);c.setUTCSeconds(b/
1E3);a=a.get("v.targetRecord");this.recordLib.util.setFieldValue(a,"ScheduledTargetTime",c.toISOString())},getScheduledTargetTime:function(a){var b=a.get("v.targetRecord");return!b?JSON.parse(a.get("v.fieldOverrides")||"{}").ScheduledTargetTime:this.recordLib.util.getFieldValue(b,"ScheduledTargetTime")},onIframeComposerValueChange:function(a,b){var c=b.getParam("value");!$A.util.isEmpty(a.get("v.preDefinedErrors"))&&!$A.util.isEmpty(c)&&(c=c.replace(/(\r\n|\n|\r|\t|\s)/gm,""),this.isCKDefaultContent(c)||
a.set("v.preDefinedErrors",[]))},CKEDITOR_DEFAULT_CONTENT:{DEFAULT_CONTENT:'\x3chtml\x3e\x3chead\x3e\x3ctitle\x3e\x3c/title\x3e\x3c/head\x3e\x3cbodystyle\x3d"height:auto;min-height:auto;"\x3e\x26nbsp;\x3c/body\x3e\x3c/html\x3e',SAFARI_DEFAULT_CONTENT:'\x3chtml\x3e\x3chead\x3e\x3ctitle\x3e\x3c/title\x3e\x3c/head\x3e\x3cbodystyle\x3d"height:auto;min-height:0%;"\x3e\x26nbsp;\x3c/body\x3e\x3c/html\x3e'},isCKDefaultContent:function(a){for(var b in this.CKEDITOR_DEFAULT_CONTENT)if(a===this.CKEDITOR_DEFAULT_CONTENT[b])return!0;
return!1},sendMetricsData:function(a,b,c,d,e){b={resultState:b.state,isInDockingPanel:a.get("v.isInDockingPanel"),isTinyMceComposer:a.getElement().querySelector("knowledgeui-advanced-input-rich-text")?!0:!1,isGptGenerated:a.get("v.shouldShowGptDisclaimer"),emailMessageId:b.recordId,caseId:b.contextId};var f;d?(f=d="error",b.errorMsg=e):(d="interaction",f="user");$A.metricsService.transaction("ltng",d,{context:{eventSource:"synthetic-click",eventType:f,attributes:b,locator:{target:c,scope:a.getName(),
context:{description:"Email send action"}}}})}},renderer:{afterRender:function(a,b){a.superAfterRender();b.handleCollapsed(a);b.getRecordLayoutFields(a,function(a){if((a=a.EmailTemplateId)&&1===a.length&&$A.util.hasClass(a[0],"hide"))if(a=a[0].getComponentValueProvider().getConcreteComponent(),a.getDef().getAttributeDefs().getDef("class")){var b=a.get("v.class"),b=b.concat(" slds-hide").trim();$A.util.addClass(a,"slds-hide");a.set("v.class",b)}})},rerender:function(a,b){a.isDirty("v.isCollapsed")&&
b.handleCollapsed(a)}}}});return {"xs":"I","descriptor":"markup://support:sendEmailQuickAction","st":{"descriptor":"css://support.sendEmailQuickAction","cl":"supportSendEmailQuickAction"},"cd":{"descriptor":"compound://support.sendEmailQuickAction","ac":[{"n":"getUserInfoForEmailUsage","descriptor":"serviceComponent://ui.support.components.aura.components.emailquickaction.EmailQuickActionController/ACTION$getUserInfoForEmailUsage","at":"SERVER","rt":"java://ui.support.components.service.serializable.EmailUserStatusInfo","pa":[]},{"n":"logSuccessfulSending","descriptor":"serviceComponent://ui.support.components.aura.components.emailquickaction.EmailQuickActionController/ACTION$logSuccessfulSending","at":"SERVER","rt":"java://void","pa":[{"name":"sourceUICmp","type":"java://java.lang.String"},{"name":"emailTemplateId","type":"java://java.lang.String"},{"name":"isStreamUser","type":"java://java.lang.Boolean"}]},{"n":"getOAuthType","descriptor":"serviceComponent://ui.support.components.aura.components.emailquickaction.EmailQuickActionController/ACTION$getOAuthType","at":"SERVER","rt":"java://int","pa":[{"name":"fromAddress","type":"java://java.lang.String"}]},{"n":"getEntityThemeAndLabelInfo","descriptor":"serviceComponent://ui.support.components.aura.components.emailquickaction.EmailQuickActionController/ACTION$getEntityThemeAndLabelInfo","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"recordId","type":"java://java.lang.String"}]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["width","aura://String","PP",false],["quickActionName","aura://String","I",false],["quickActionLabel","aura://String","I",false],["containerId","aura://String","I",false],["contextId","aura://String","I",false],["isSubmitting","aura://Boolean","I",false,false],["onFailure","aura://Aura.Action","I",false,null],["fieldOverrides","aura://String","I",false],["invocableActionType","aura://String","I",false],["isInDockingPanel","aura://Boolean","I",false],["keepDockedOnSave","aura://Boolean","I",false,false],["isInContextOfCase","aura://Boolean","I",false],["_attachments","aura://Aura.Component[]","I",false,[]],["_legacyAttachments","aura://Aura.Component[]","I",false,[]],["_legacyAttachmentData","aura://Object","I",false,null],["legacyAttachmentsRemovable","aura://Boolean","I",false,false],["_lastSavedLegacyAttachmentIds","aura://String","I",false,""],["isCollapsed","aura://Boolean","I",false,false],["successCallback","aura://Object","I",false,null],["targetRecord","aura://Object","I",false,null],["preDefinedErrors","aura://List","I",false,[]],["sourceUICmp","aura://String","I",false],["isStreamUser","aura://Boolean","I",false,false],["initialWarning","aura://String","I",false],["_fromAddressOAuthType","aura://Integer","I",false,-1],["shouldInsertNextAvailableTimes","aura://Boolean","I",false,false],["shouldShowGptDisclaimer","aura://Boolean","I",false,false]],"med":[{"name":"support:getFieldComponents","xs":"I","action":"{!c.getFieldComponents}","attributes":[["fieldNames","aura://String[]","I",true,[]],["inputOnly","aura://Boolean","I",false,"false"],["callback","apex://Function","I",true,null]]},{"name":"support:getSections","xs":"I","action":"{!c.getSections}","attributes":[["callback","apex://Function","I",true,null]]},{"name":"support:getAdditionalLayoutFieldNames","xs":"I","action":"{!c.getAdditionalLayoutFieldNames}","attributes":[["callback","apex://Function","I",true,null]]},{"name":"support:send","xs":"I","action":"{!c.send}","attributes":[["context","aura://String","I",false,""],["shouldRefresh","aura://Boolean","I",false,"true"],["callback","apex://Function","I",false,null]]},{"name":"support:submitForApproval","xs":"I","action":"{!c.submitForApproval}"},{"name":"support:reset","xs":"I","action":"{!c.reset}"},{"name":"support:updateObservesConsent","xs":"I","action":"{!c.updateObservcesConsent}"},{"name":"support:addAttachment","xs":"I","action":"{!c.addAttachment}","attributes":[["contentDocuments","aura://Object[]","I",false,[]],["callback","apex://Function","I",false,null]]},{"name":"support:addLegacyAttachment","xs":"I","action":"{!c.addLegacyAttachment}","attributes":[["attachments","aura://Object[]","I",false,[]],["callback","apex://Function","I",false,null]]},{"name":"support:insertIntoBodyAtCursor","xs":"I","action":"{!c.insertIntoBodyAtCursor}","attributes":[["text","aura://String","I",false]]},{"name":"support:setFieldValues","xs":"I","action":"{!c.setFieldValues}","attributes":[["fields","aura://Object","I",false,null],["isAppend","aura://Boolean","I",false]]},{"name":"support:saveAttachmentsInFiles","xs":"I","action":"{!c.saveAttachmentsInFiles}"},{"name":"support:getNonRemovableAttachments","xs":"I","action":"{!c.getNonRemovableAttachments}","attributes":[["callback","aura://Object","I",false,null]]},{"name":"support:updateFocus","xs":"I","action":"{!c.updateFocus}","attributes":[["fieldName","aura://String","I",false]]},{"name":"support:focusBodyCursor","xs":"I","action":"{!c.focusBodyCursor}"},{"name":"support:initTextBodyCursor","xs":"I","action":"{!c.initTextBodyCursor}"},{"name":"support:saveEmailDraft","xs":"I","action":"{!c.saveEmailDraft}","attributes":[["isSubmittingForApproval","aura://Boolean","I",false],["callback","apex://Function","I",false,null]]},{"name":"support:deleteEmailDraft","xs":"I","action":"{!c.deleteEmailDraft}","attributes":[["callback","apex://Function","I",false,null]]},{"name":"support:setScheduledTime","xs":"I","action":"{!c.doSetScheduledTime}","attributes":[["dateAndTime","aura://String","I",false],["timezone","aura://String","I",false]]},{"name":"support:getScheduledTime","xs":"I","action":"{!c.doGetScheduledTime}","attributes":[["callback","apex://Function","I",false,null]]},{"name":"support:showGptDisclaimer","xs":"I","action":"{!c.showGptDisclaimer}"}],"i":["markup://force:widthAware"],"re":[{"ed":"markup://ui:change","n":"changeAndNotInLayoutEventsInitialized","xs":"I"},{"ed":"markup://support:emailDraftLoaded","n":"emailDraftLoaded","xs":"I"},{"ed":"markup://support:relatedToDataAvailable","n":"relatedToCreatedEvent","xs":"I"},{"ed":"markup://support:sendEmailQuickActionFieldNotInLayout","n":"fieldNotInLayout","xs":"I"},{"ed":"markup://ui:notify","n":"notify","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"ed":{"descriptor":"markup://support:toggleField"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onToggleField"},"n":"onToggleField"},{"ed":{"descriptor":"markup://forceChatter:removeSelectedFile"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onAttachmentRemoved"}},{"ed":{"descriptor":"markup://support:emailAttachmentIdsUpdated"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onEmailAttachmentIdsUpdated"},"n":"emailAttachmentIdsUpdated"},{"ed":{"descriptor":"markup://force:setTitle"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleSetTitle"},"ph":"bubble"},{"ed":{"descriptor":"markup://ui:change"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.updateHtmlBodyState"},"n":"emailBodyInitialized"},{"ed":{"descriptor":"markup://forceContent:filesDropped"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.addDragDropAttachments"},"n":"filesDropped"},{"ed":{"descriptor":"markup://one:iframeComposerValueChange"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onIframeComposerValueChange"},"n":"valueChange"},{"ed":{"descriptor":"markup://emailui:updatedRecipientDetails"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onEmailRecipientsUpdated"},"n":"updatedRecipientDetails"},{"ed":{"descriptor":"markup://emailStream:dataSourceConnected"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onDataSourceConnected"}},{"ed":{"descriptor":"markup://support:buildEmailErrorHappened"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.showErrorsInBanner"},"n":"showErrorMsg"}],"ld":{"quickActionLayout":{"context":{"quickActionName":{"exprType":"PROPERTY","byValue":false,"target":"support:sendEmailQuickAction","path":"v.quickActionName"},"contextId":{"exprType":"PROPERTY","byValue":false,"target":"support:sendEmailQuickAction","path":"v.contextId"}},"alias":"quick-action-layout"}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightningInbox:insertFreeTimeMarkupLibraryProvider"},"localId":"iftLibrary"},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add((cmp.get(\"v.width\")||\"MEDIUM\"),\" sendEmailQuickActionBody\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"support:sendEmailQuickAction","path":"v.width"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://emailui:consentManager"},"localId":"consentManager","attributes":{"values":{"consentWarningHappened":{"descriptor":"consentWarningHappened","value":{"exprType":"PROPERTY","byValue":false,"target":"support:sendEmailQuickAction","path":"c.onConsentWarningHappened"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(cmp.get(\"v.isInContextOfCase\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"support:sendEmailQuickAction","path":"v.isInContextOfCase"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:iteration"},"attributes":{"values":{"var":{"descriptor":"var","value":"preDefinedError"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"preDefinedErrorBanner","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-box_small slds-var-m-around_x-small slds-theme_error errorBanner"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"support:sendEmailQuickAction","path":"preDefinedError"}}}}}]}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"support:sendEmailQuickAction","path":"v.preDefinedErrors"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-box_small slds-var-m-around_small slds-theme_info warningBanner"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:icon","type":"module"},"attributes":{"values":{"size":{"descriptor":"size","value":"small"},"variant":{"descriptor":"variant","value":"inverse"},"iconName":{"descriptor":"iconName","value":"utility:info"}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-wrap slds-m-left_medium slds-m-bottom_small slds-m-top_small"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"support:sendEmailQuickAction","path":"v.initialWarning"}}}}}]}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(fn.empty(cmp.get(\"v.initialWarning\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"support:sendEmailQuickAction","path":"v.initialWarning"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"role":"status","class":"slds-media slds-media_small slds-m-around_x-small slds-box slds-box_small disclaimer-background"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-media__figure"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:icon","type":"module"},"attributes":{"values":{"size":{"descriptor":"size","value":"small"},"iconName":{"descriptor":"iconName","value":"utility:info"}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-media__body slds-p-left_x-small"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":true,"target":"support:sendEmailQuickAction","path":"$Label.SalesEmailAssistant.disclaimerText"}}}}},{"componentDef":{"descriptor":"markup://forceHelp:linkToSalesforceHelp","type":"module"},"attributes":{"values":{"docArticle":{"descriptor":"docArticle","value":"sf.generative_ai_trust_overview"},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":true,"target":"support:sendEmailQuickAction","path":"$Label.SalesEmailAssistant.disclaimerLearnMoreLink"}},"title":{"descriptor":"title","value":{"exprType":"PROPERTY","byValue":true,"target":"support:sendEmailQuickAction","path":"$Label.SalesEmailAssistant.disclaimerLearnMoreLink"}}}}}]}}}}]}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"support:sendEmailQuickAction","path":"v.shouldShowGptDisclaimer"}}}}},{"componentDef":{"descriptor":"markup://force:quickActionLayout"},"localId":"quickActionLayout","attributes":{"values":{"targetRecord":{"descriptor":"targetRecord","value":{"exprType":"PROPERTY","byValue":false,"target":"support:sendEmailQuickAction","path":"v.targetRecord"}},"onFailure":{"descriptor":"onFailure","value":{"exprType":"PROPERTY","byValue":false,"target":"support:sendEmailQuickAction","path":"v.onFailure"}},"showPublisherButtons":{"descriptor":"showPublisherButtons","value":false},"showToastMessage":{"descriptor":"showToastMessage","value":false},"quickActionName":{"descriptor":"quickActionName","value":{"exprType":"PROPERTY","byValue":false,"target":"support:sendEmailQuickAction","path":"v.quickActionName"}},"successCallback":{"descriptor":"successCallback","value":{"exprType":"PROPERTY","byValue":false,"target":"support:sendEmailQuickAction","path":"v.successCallback"}},"fieldOverrides":{"descriptor":"fieldOverrides","value":{"exprType":"PROPERTY","byValue":false,"target":"support:sendEmailQuickAction","path":"v.fieldOverrides"}},"contextId":{"descriptor":"contextId","value":{"exprType":"PROPERTY","byValue":false,"target":"support:sendEmailQuickAction","path":"v.contextId"}},"invocableActionType":{"descriptor":"invocableActionType","value":{"exprType":"PROPERTY","byValue":false,"target":"support:sendEmailQuickAction","path":"v.invocableActionType"}},"isSubmitting":{"descriptor":"isSubmitting","value":{"exprType":"PROPERTY","byValue":false,"target":"support:sendEmailQuickAction","path":"v.isSubmitting"}},"keepDockedOnSave":{"descriptor":"keepDockedOnSave","value":{"exprType":"PROPERTY","byValue":false,"target":"support:sendEmailQuickAction","path":"v.keepDockedOnSave"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"attachment","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add((cmp.get(\"v.isInDockingPanel\")?\"slds-m-horizontal--xxx-small\":\"slds-m-horizontal--medium\"),\" slds-var-m-vertical--x-small\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"support:sendEmailQuickAction","path":"v.isInDockingPanel"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"hideEl"}},"tag":{"descriptor":"tag","value":"div"}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"contentAttachmentPills\",(fn.eq(cmp.get(\"v.width\"),\"SMALL\")?\" narrowRegion\":\"\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"support:sendEmailQuickAction","path":"v.width"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"ul"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:iteration"},"attributes":{"values":{"var":{"descriptor":"var","value":"attachment"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"li"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"hideEl"}},"tag":{"descriptor":"tag","value":"div"}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"emailAttachmentPreview"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"support:sendEmailQuickAction","path":"attachment"}}}}}]}}}}]}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"support:sendEmailQuickAction","path":"v._attachments"}}}}},{"componentDef":{"descriptor":"markup://aura:iteration"},"attributes":{"values":{"var":{"descriptor":"var","value":"attachment"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"li"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"hideEl"}},"tag":{"descriptor":"tag","value":"div"}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"emailAttachmentPreview"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"previewContainer"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"support:sendEmailQuickAction","path":"attachment"}}}}}]}}}}]}}}}]}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"support:sendEmailQuickAction","path":"v._legacyAttachments"}}}}}]}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"support:sendEmailQuickAction","path":"$Browser.isDesktop"}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:lookupAdvancedFooter",function(){/*$A.componentService.addComponentClass("markup://forceSearch:lookupAdvancedFooter",function(){return{meta:{name:"forceSearch$lookupAdvancedFooter","extends":"markup://aura:component"},controller:{cancelPress:function(a,b,c){(a=a.getEvent("cancelClicked"))&&a.fire()},savePress:function(a,b,c){(a=a.getEvent("saveClicked"))&&a.fire()}}}});return {"xs":"I","descriptor":"markup://forceSearch:lookupAdvancedFooter","ad":[["body","aura://Aura.Component[]","G",false,[]],["showSaveButton","aura://Boolean","I",false,false]],"re":[{"ed":"markup://ui:press","n":"cancelClicked","xs":"I"},{"ed":"markup://ui:press","n":"saveClicked","xs":"I"}],"ld":{"cancelButton":{"alias":"search-panel-cancel"},"saveButton":{"alias":"search-panel-save"}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:button"},"localId":"cancelButton","attributes":{"values":{"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:lookupAdvancedFooter","path":"c.cancelPress"}},"variant":{"descriptor":"variant","value":"neutral"},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:lookupAdvancedFooter","path":"$Label.Buttons.cancel"}},"title":{"descriptor":"title","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:lookupAdvancedFooter","path":"$Label.Buttons.cancel"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:button"},"localId":"saveButton","attributes":{"values":{"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:lookupAdvancedFooter","path":"c.savePress"}},"variant":{"descriptor":"variant","value":"brand"},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:lookupAdvancedFooter","path":"$Label.Buttons.save"}},"title":{"descriptor":"title","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:lookupAdvancedFooter","path":"$Label.Buttons.save"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:lookupAdvancedFooter","path":"v.showSaveButton"}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:lookupAdvanced",function(){/*$A.componentService.addComponentClass("markup://forceSearch:lookupAdvanced",function(){return{meta:{name:"forceSearch$lookupAdvanced","extends":"markup://aura:component",imports:{lib:"markup://forceSearch:searchLibrary"}},controller:{init:function(a,b,c){b=a.get("v.scopeMap");c.lib.scope.isKnowledge(b)&&a.set("v.priv_inContextOfComponent","forceSearch:lookupAdvanced");a.set("v.priv_context",{inLookup:!0})},destroy:function(a,b,c){a.set("v.panel",null)},resultsLoaded:function(a,b,c){c=a.get("v.priv_loadedResults")||
[];b=b.getParam("data");var d=b.scopeMap.nameField;b=b.results;d&&"Name"!==d&&b.forEach(function(a){a.record.Name=a.record[d]});c=c.concat(b);a.set("v.priv_loadedResults",c)},handleSearchRefresh:function(a,b,c){a.set("v.priv_loadedResults",[]);b=b.getParam("parameters");a.find("search").search(b.term,b.scopeMap)},outputLookupClicked:function(a,b,c){b=b.getParam("params");b.handled=!0;c.loadAndSave(a,[{id:b.recordId}])},cancelPress:function(a,b,c){c.closePanel(a)},lookupValueAdded:function(a,b,c){b=
a.find("lookup").get("v.values");c.loadAndSave(a,b)}},helper:{closePanel:function(a){(a=a.get("v.panel"))&&a.getEvent("notify").setParams({action:"closePanel",typeOf:"ui:closePanel",payload:{destroy:!0,instance:a.getGlobalId()}}).fire()},loadAndSave:function(a,b){var c=a.get("v.priv_loadedResults");if(c){for(var d=0;d<b.length;d++)for(var e=b[d],f=0;f<c.length;++f){var g=c[f].record||{};if(g.Id===e.id){e.Name=g.Name;e.allFields=g;break}}(c=a.get("v.saveCallback"))&&$A.util.isFunction(c)&&c(b);this.closePanel(a)}},
listenLookupClickedEvent:function(a){a.getElement().addEventListener("searchlookupclicked",$A.getCallback(function(b){this.loadAndSave(a,[{id:b.detail.recordId}])}).bind(this))}},renderer:{afterRender:function(a,b){a.superAfterRender();b.listenLookupClickedEvent(a)},render:function(a,b){var c=a.superRender(),d=a.get("v.panel").get("v.footer")[0];d.addHandler("saveClicked",a,"c.savePress");d.addHandler("cancelClicked",a,"c.cancelPress");return c}}}});return {"xs":"I","descriptor":"markup://forceSearch:lookupAdvanced","st":{"descriptor":"css://forceSearch.lookupAdvanced","cl":"forceSearchLookupAdvanced"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["term","aura://String","I",true,""],["scopeMap","aura://Map","I",true,{}],["context","aura://Map","I",true,{}],["groupId","aura://String","I",true,"DEFAULT"],["scopeSets","aura://Map","I",false,{}],["maxValues","aura://Integer","I",true,1],["entities","aura://List","I",true,[]],["placeholder","aura://String","I",false],["panel","aura://Object","I",false,null],["label","aura://String","I",false],["source","aura://String","I",false],["field","aura://String","I",false],["recordId","aura://String","I",false],["contextId","aura://String","I",false],["additionalFields","aura://List","I",false,[]],["dependentFieldBindings","aura://Map","I",false,{}],["saveCallback","aura://Object","I",false,null],["additionalContext","aura://Map","I",false,null],["showCreateNew","aura://Boolean","I",false,true],["allowFallbackQueryWithNoContext","aura://Boolean","I",false,true],["priv_loadedResults","aura://List","I",false,[]],["priv_showSaveButton","aura://Boolean","I",false,false],["priv_inContextOfComponent","aura://String","I",false,"forceSearch:search"],["priv_context","aura://Map","I",false,{}]],"i":["markup://forceSearch:searchInterface","markup://forceSearch:firesSearchRequest","markup://forceSearch:hasGroupId","markup://forceSearch:hasScopeSets"],"re":[{"ed":"markup://force:searchRequest","n":"searchRequest","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"ed":{"descriptor":"markup://force:outputLookupClicked"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.outputLookupClicked"}},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.destroy"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"destroy"}],"ld":{"lookupAdvancedFooter":{"alias":"search-lookup-advanced"}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"content slds-scrollable_none slds-is-relative"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceSearch:inputLookupDesktop"},"localId":"lookup","attributes":{"values":{"maxValues":{"descriptor":"maxValues","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:lookupAdvanced","path":"v.maxValues"}},"searchRefresh":{"descriptor":"searchRefresh","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:lookupAdvanced","path":"c.handleSearchRefresh"}},"enableCreateNew":{"descriptor":"enableCreateNew","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:lookupAdvanced","path":"v.showCreateNew"}},"initialText":{"descriptor":"initialText","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:lookupAdvanced","path":"v.term"}},"contextId":{"descriptor":"contextId","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:lookupAdvanced","path":"v.contextId"}},"source":{"descriptor":"source","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:lookupAdvanced","path":"v.source"}},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:lookupAdvanced","path":"v.label"}},"dependentFieldBindings":{"descriptor":"dependentFieldBindings","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:lookupAdvanced","path":"v.dependentFieldBindings"}},"valueAdded":{"descriptor":"valueAdded","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:lookupAdvanced","path":"c.lookupValueAdded"}},"recordId":{"descriptor":"recordId","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:lookupAdvanced","path":"v.recordId"}},"allowFallbackQueryWithNoContext":{"descriptor":"allowFallbackQueryWithNoContext","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:lookupAdvanced","path":"v.allowFallbackQueryWithNoContext"}},"inContextOfComponent":{"descriptor":"inContextOfComponent","value":"forceSearch:lookupAdvanced"},"field":{"descriptor":"field","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:lookupAdvanced","path":"v.field"}},"entities":{"descriptor":"entities","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:lookupAdvanced","path":"v.entities"}},"additionalContext":{"descriptor":"additionalContext","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:lookupAdvanced","path":"v.additionalContext"}},"placeholder":{"descriptor":"placeholder","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:lookupAdvanced","path":"v.placeholder"}},"displayErrorOnBlur":{"descriptor":"displayErrorOnBlur","value":false}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"separator"}},"tag":{"descriptor":"tag","value":"hr"}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"searchWrapper slds-is-relative"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceSearch:search"},"localId":"search","attributes":{"values":{"insideScroller":{"descriptor":"insideScroller","value":false},"lookupAdditionalContext":{"descriptor":"lookupAdditionalContext","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:lookupAdvanced","path":"v.additionalContext"}},"lookupContextId":{"descriptor":"lookupContextId","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:lookupAdvanced","path":"v.contextId"}},"scrollerPreventNestedScroll":{"descriptor":"scrollerPreventNestedScroll","value":true},"lookupField":{"descriptor":"lookupField","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:lookupAdvanced","path":"v.field"}},"lookupAdditionalFields":{"descriptor":"lookupAdditionalFields","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:lookupAdvanced","path":"v.additionalFields"}},"groupId":{"descriptor":"groupId","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:lookupAdvanced","path":"v.groupId"}},"scopeSets":{"descriptor":"scopeSets","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:lookupAdvanced","path":"v.scopeSets"}},"lookupDependentFieldBindings":{"descriptor":"lookupDependentFieldBindings","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:lookupAdvanced","path":"v.dependentFieldBindings"}},"inContextOfComponentForGrid":{"descriptor":"inContextOfComponentForGrid","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:lookupAdvanced","path":"v.priv_inContextOfComponent"}},"enableNavigation":{"descriptor":"enableNavigation","value":false},"isLookupSearch":{"descriptor":"isLookupSearch","value":true},"lookupSource":{"descriptor":"lookupSource","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:lookupAdvanced","path":"v.source"}},"context":{"descriptor":"context","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:lookupAdvanced","path":"v.priv_context"}},"suppressApplicationEvents":{"descriptor":"suppressApplicationEvents","value":true},"enableRowActions":{"descriptor":"enableRowActions","value":false},"term":{"descriptor":"term","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:lookupAdvanced","path":"v.term"}},"lookupRecordId":{"descriptor":"lookupRecordId","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:lookupAdvanced","path":"v.recordId"}},"scopeMap":{"descriptor":"scopeMap","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:lookupAdvanced","path":"v.scopeMap"}},"resultsLoaded":{"descriptor":"resultsLoaded","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:lookupAdvanced","path":"c.resultsLoaded"}}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:clumpItemFullView",function(){/*$A.componentService.addComponentClass("markup://forceChatter:clumpItemFullView",function(){return{meta:{name:"forceChatter$clumpItemFullView","extends":"markup://forceChatter:feedElementFullView",imports:{feedLib:"markup://forceChatter:feedLib"}},controller:{showMore:function(a,b,c){c.loadMore(a,b)},refresh:function(a,b,c){$A.getEvt("markup://force:refreshView").fire()},init:function(a,b,c){c.feedLib.util.initModel(a,"c.getModel",{pageSize:a.get("v.firstPageSize"),clumpItemId:a.get("v.feedElementId"),
feedDesign:a.get("v.feedDesign")},function(){a.set("v._errorMessage",a.get("v.model.errorMessage"));a.set("v._isChatterEnabled",a.get("v.model.isChatterEnabled"));var b=a.get("v.model.data.capabilities.bundle.page.nextPageToken");a.set("v._canShowMore",""<b);var b=a.get("v.model.data.header.text"),c=$A.getEvt("markup://force:setTitle");c&&c.setParams({title:b,icon:"standard:feed"}).fire()})},updateCanShowMore:function(a,b,c){b=b.getParam("value");a.set("v._canShowMore",""<b)}},helper:{loadMore:function(a,
b){var c=a.get("v.model.data.capabilities.bundle.page.nextPageToken");if(c){if(!this._isLoading){this._isLoading=!0;var d=a.get("c.showMoreFeedElements");d.setParams({feedElementId:a.get("v.model.data.id"),pagingToken:c,pageSize:a.get("v.nextPageSize")});d.setCallback(this,function(c){var d;"SUCCESS"===c.getState()&&c.getReturnValue()?(c=c.getReturnValue(),this.updateData(a,c,!0)):"INCOMPLETE"===c.getState()?d={labelError:$A.get("$Label.Offline.NoConnectionDescription")}:this.fireActionErrorMessage(c);
delete this._isLoading;$A.util.isFunction(b)&&(d?b(d):b())});d.setAbortable();$A.enqueueAction(d)}}else $A.util.isFunction(b)&&b()},updateData:function(a,b){this.insertFeedItems(a,b.elements);a.set("v.model.data.capabilities.bundle.page.currentPageToken",b.currentPageToken);a.set("v.model.data.capabilities.bundle.page.isModifiedToken",b.isModifiedToken);a.set("v.model.data.capabilities.bundle.page.nextPageToken",b.nextPageToken)},insertFeedItems:function(a,b){if(b){for(var c=a.get("v.model.data.capabilities.bundle.page.elements"),
d=b.length,e=0;e<d;e++)c.push(b[e]);a.set("v.model.data.capabilities.bundle.page.elements",c)}},fireActionErrorMessage:function(a){a=a.getError();if($A.util.isArray(a)){for(var b=[],c=0;c<a.length;c++)b.push(a[c].message);$A.util.isEmpty(b)||(a=b.join(" "),this.fireErrorMessage(a))}},fireErrorMessage:function(a){var b=$A.getEvt("markup://force:showMessage");b.setParams({message:a,severity:"error"});b.fire()}},renderer:{render:function(a){return a.superRender()},rerender:function(a){a.superRerender()}}}});return {"xs":"I","descriptor":"markup://forceChatter:clumpItemFullView","st":{"descriptor":"css://forceChatter.clumpItemFullView","cl":"forceChatterClumpItemFullView"},"cd":{"descriptor":"compound://forceChatter.clumpItemFullView","ac":[{"n":"getModel","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.ClumpController/ACTION$getModel","at":"SERVER","rt":"java://ui.chatter.components.aura.components.forceChatter.chatter.ClumpItemFullViewModel","pa":[{"name":"pageSize","type":"java://java.lang.Integer"},{"name":"clumpItemId","type":"java://java.lang.String"},{"name":"feedDesign","type":"java://java.lang.String"}]},{"n":"showMoreFeedElements","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.ClumpController/ACTION$showMoreFeedElements","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.feeds.FeedElementCollectionRepresentation","pa":[{"name":"feedElementId","type":"java://java.lang.String","loggable":true},{"name":"pagingToken","type":"java://java.lang.String"},{"name":"pageSize","type":"java://java.lang.Integer","loggable":true}]}]},"su":"markup://forceChatter:feedElementFullView","ad":[["body","aura://Aura.Component[]","G",false,[]],["feedDesign","aura://String","I",false,"BROWSE"],["windowViewMode","aura://String","I",false,"normal"],["model","aura://Object","I",false,null],["_initialized","aura://Boolean","I",false,false],["feedElementId","aura://String","I",true],["showGroupMentionVisibility","aura://Boolean","I",false,false],["feedType","aura://String","I",false],["requireScroller","aura://Boolean","I",false,false],["isReadOnly","aura://Boolean","I",false,false],["insideScroller","aura://Boolean","I",false,false],["_isChatterEnabled","aura://Boolean","I",false,false],["_errorMessage","aura://String","I",false],["firstPageSize","aura://Integer","I",false,8],["nextPageSize","aura://Integer","I",false,8],["_canShowMore","aura://Boolean","I",false]],"med":[{"name":"force:reflow","xs":"I","action":"{!c.reflow}"}],"re":[{"ed":"markup://force:windowUpdate","n":"windowUpdate","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.updateCanShowMore"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.model.data.capabilities.bundle.page.nextPageToken"},"n":"change"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:scroller"},"localId":"scroller","attributes":{"values":{"onRefresh":{"descriptor":"onRefresh","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpItemFullView","path":"c.refresh"}},"canShowMore":{"descriptor":"canShowMore","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpItemFullView","path":"v._canShowMore"}},"onShowMore":{"descriptor":"onShowMore","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpItemFullView","path":"c.showMore"}},"enableLoadMoreButton":{"descriptor":"enableLoadMoreButton","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpItemFullView","path":"$Browser.isDesktop"}},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:clumpItem"},"attributes":{"values":{"data":{"descriptor":"data","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpItemFullView","path":"v.model.data"}},"feedType":{"descriptor":"feedType","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpItemFullView","path":"v.feedType"}},"expandClump":{"descriptor":"expandClump","value":true},"config":{"descriptor":"config","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpItemFullView","path":"v.model.feedConfig"}}}}}]},"enabled":{"descriptor":"enabled","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpItemFullView","path":"v.requireScroller"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:clumpItemFullView","path":"v._initialized"}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://onesetup:setupFlowConfirmDialog",function(){/*$A.componentService.addComponentClass("markup://onesetup:setupFlowConfirmDialog",function(){return{meta:{name:"onesetup$setupFlowConfirmDialog","extends":"markup://aura:component"},controller:{show:function(a,c,b){b=a.get("v.title");var d=a.get("v.confirmDialogTitle"),e=a.get("v.messageOne");$A.util.isEmpty(d)&&a.set("v.confirmDialogTitle",b?$A.util.format($A.get("$Label.SetupFlowFramework.confirmLeaveDialogHeader"),b):$A.get("$Label.SetupFlowFramework.confirmLeaveDialogHeaderEmpty"));$A.util.isEmpty(e)&&
a.set("v.messageOne",b?$A.util.format($A.get("$Label.SetupFlowFramework.confirmLeaveDialogMessage1"),b):$A.get("$Label.SetupFlowFramework.confirmLeaveDialogMessage1Empty"));$A.metricsService.transaction("ltng","interaction",{context:{eventSource:"synthetic-click",eventType:"user",locator:{target:"close",scope:"import_contacts_modal",context:{}}}});c=c.getParam("arguments");a.find("dialog").show(c.onOk,c.onCancel)}}}});return {"xs":"I","descriptor":"markup://onesetup:setupFlowConfirmDialog","ad":[["body","aura://Aura.Component[]","G",false,[]],["title","aura://String","I",false],["confirmDialogTitle","aura://String","I",false],["messageOne","aura://String","I",false],["messageTwo","aura://String","I",false,{"exprType":"PROPERTY","byValue":true,"target":"onesetup:setupFlowConfirmDialog","path":"$Label.SetupFlowFramework.confirmLeaveDialogMessage2"}]],"med":[{"name":"onesetup:show","xs":"I","action":"{!c.show}","attributes":[["onOk","aura://Object","I",false,null],["onCancel","aura://Object","I",false,null]]}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:confirmDialog"},"localId":"dialog","attributes":{"values":{"flavor":{"descriptor":"flavor","value":"someTextToPreventDefaultFlavor"},"messageComponent":{"descriptor":"messageComponent","value":[{"componentDef":{"descriptor":"markup://onesetup:setupFlowConfirmMessage"},"attributes":{"values":{"messageOne":{"descriptor":"messageOne","value":{"exprType":"PROPERTY","byValue":false,"target":"onesetup:setupFlowConfirmDialog","path":"v.messageOne"}},"messageTwo":{"descriptor":"messageTwo","value":{"exprType":"PROPERTY","byValue":false,"target":"onesetup:setupFlowConfirmDialog","path":"v.messageTwo"}}}}}]},"okLabel":{"descriptor":"okLabel","value":{"exprType":"PROPERTY","byValue":true,"target":"onesetup:setupFlowConfirmDialog","path":"$Label.SetupFlowFramework.buttonConfirm"}},"title":{"descriptor":"title","value":{"exprType":"PROPERTY","byValue":false,"target":"onesetup:setupFlowConfirmDialog","path":"v.confirmDialogTitle"}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://runtime_sales_activities:siqCherrypickingSettingsConfirmationFooter",function(){/*$A.componentService.addComponentClass("markup://runtime_sales_activities:siqCherrypickingSettingsConfirmationFooter",function(){return{meta:{name:"runtime_sales_activities$siqCherrypickingSettingsConfirmationFooter","extends":"markup://aura:component"},controller:{submit:function(a,b,c){a.get("v.saveFunction").run();a.getEvent("notify").setParams({action:"closePanel",typeOf:"ui:closePanel"}).fire()},cancel:function(a,b,c){a.getEvent("notify").setParams({action:"closePanel",typeOf:"ui:closePanel"}).fire()}}}});return {"xs":"I","descriptor":"markup://runtime_sales_activities:siqCherrypickingSettingsConfirmationFooter","ad":[["body","aura://Aura.Component[]","G",false,[]],["saveFunction","aura://Aura.Action","I",false,null]],"i":["markup://ui:hasNotify"],"re":[{"ed":"markup://ui:notify","n":"notify","xs":"I"}],"ld":{"cherryPickingCancel":{},"cherryPickingSave":{}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:button"},"localId":"cherryPickingCancel","attributes":{"values":{"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:siqCherrypickingSettingsConfirmationFooter","path":"c.cancel"}},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":true,"target":"runtime_sales_activities:siqCherrypickingSettingsConfirmationFooter","path":"$Label.Buttons.cancel"}}}}},{"componentDef":{"descriptor":"markup://lightning:button"},"localId":"cherryPickingSave","attributes":{"values":{"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:siqCherrypickingSettingsConfirmationFooter","path":"c.submit"}},"variant":{"descriptor":"variant","value":"brand"},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":true,"target":"runtime_sales_activities:siqCherrypickingSettingsConfirmationFooter","path":"$Label.Buttons.continue"}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://lightning:layout",function(){/*$A.componentService.addComponentClass("markup://lightning:layout",function(){return{meta:{name:"lightning$layout","extends":"markup://aura:component",imports:{lib:"markup://lightning:classnamesLibrary",prop:"markup://lightning:propValuesLibrary"}},controller:{init:function(a,d,b){b.fixPropValues(a);b.computeClassNames(a)},computeClassNames:function(a,d,b){b.computeClassNames(a)}},helper:{fixPropValues:function(a){this.prop.propValues(a,[{name:"verticalAlign",oneOf:["start","center","end","stretch"],
force:" ",lowercase:!0}]);this.prop.propValues(a,[{name:"pullToBoundary",oneOf:["small","medium","large"],force:" ",lowercase:!0}]);this.prop.propValues(a,[{name:"horizontalAlign",oneOf:["center","space","spread","end"],force:" ",lowercase:!0}])},computeClassNames:function(a){var d=a.get("v.class"),b=a.get("v.horizontalAlign"),c=a.get("v.verticalAlign"),e=a.get("v.pullToBoundary"),f=a.get("v.multipleRows"),d=this.lib.classnames("slds-grid",{"slds-grid_align-center":b&&this.equal(b,"center"),"slds-grid_align-space":b&&
this.equal(b,"space"),"slds-grid_align-spread":b&&this.equal(b,"spread"),"slds-grid_align-end":b&&this.equal(b,"end"),"slds-grid_vertical-align-start":c&&this.equal(c,"start"),"slds-grid_vertical-align-center":c&&this.equal(c,"center"),"slds-grid_vertical-align-end":c&&this.equal(c,"end"),"slds-grid_vertical-stretch":c&&this.equal(c,"stretch"),"slds-grid_pull-padded":e&&this.equal(e,"small"),"slds-grid_pull-padded-medium":e&&this.equal(e,"medium"),"slds-grid_pull-padded-large":e&&this.equal(e,"large"),
"slds-wrap":!0===f},d);a.set("v.privateComputedClass",d)},equal:function(a,d){return a.toLowerCase()===d.toLowerCase()}}}});return {"xs":"G","descriptor":"markup://lightning:layout","ad":[["body","aura://Aura.Component[]","G",false,[]],["class","aura://String","G",false],["title","aura://String","G",false],["horizontalAlign","aura://String","G",false],["verticalAlign","aura://String","G",false],["multipleRows","aura://Boolean","G",false,false],["pullToBoundary","aura://String","G",false],["privateComputedClass","aura://String","p",false]],"i":["markup://lightning:common"],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.computeClassNames"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.class"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.computeClassNames"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.horizontalAlign"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.computeClassNames"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.verticalAlign"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.computeClassNames"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.multipleRows"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.computeClassNames"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.pullToBoundary"},"n":"change"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"title":{"exprType":"PROPERTY","byValue":false,"target":"lightning:layout","path":"v.title"},"class":{"exprType":"PROPERTY","byValue":false,"target":"lightning:layout","path":"v.privateComputedClass"}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"lightning:layout","path":"v.body"}}}}}]}}}}]}],"mv":0.0,"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:recommendationSmall",function(){/*$A.componentService.addComponentClass("markup://forceChatter:recommendationSmall",function(){return{meta:{name:"forceChatter$recommendationSmall","extends":"markup://forceChatter:recommendationBase",imports:{feedLib:"markup://forceChatter:feedLib"}},controller:{init:function(a,c,b){b.decidePhotoShape(a,b)},onAccept:function(a,c,b){b.handleAcceptTransition(a,function(){b.notifyAccepted(a)})},onReject:function(a,c,b){b.reject(a,c);b.handleTransition(a,function(){b.fireRejected(a.get("v.item"))})}},
helper:{handleTransition:function(a,c){a.getElement().addEventListener("transitionend",$A.getCallback(function(a){"opacity"===a.propertyName&&c()}),!1);$A.util.addClass(a,"slds-transition-hide inactiveLink")},handleAcceptTransition:function(a,c){$A.util.addClass(a,"transition-delay");this.handleTransition(a,c)},decidePhotoShape:function(a,c){if(a.get("v.item")){var b=a.get("v.item.recommendationType");"users"===b?a.set("v._photoShape","circular"):"groups"===b?a.set("v._photoShape","square"):a.set("v._photoShape",
"none")}}},renderer:{afterRender:function(a,c){return a.superAfterRender()}}}});return {"xs":"I","descriptor":"markup://forceChatter:recommendationSmall","st":{"descriptor":"css://forceChatter.recommendationSmall","cl":"forceChatterRecommendationSmall"},"fst":{"descriptor":"css://forceChatter.recommendationSmall"},"cd":{"descriptor":"compound://forceChatter.recommendationSmall","ac":[{"n":"rejectRecommendation","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.recommend.RecommendationsController/ACTION$rejectRecommendation","at":"SERVER","rt":"java://void","pa":[{"name":"recIdOrEnum","type":"java://java.lang.String","loggable":true},{"name":"action","type":"java://sfdc.chatter.connect.api.enums.reccs.ConnectRecommendationActionEnum","loggable":true},{"name":"explanation","type":"java://sfdc.chatter.connect.api.enums.reccs.ConnectRecommendationExplanationEnum","loggable":true},{"name":"actionLinkId","type":"java://java.lang.String","loggable":true},{"name":"endPoint","type":"java://java.lang.String","loggable":true},{"name":"channel","type":"java://java.lang.String","loggable":true},{"name":"uri","type":"java://java.lang.String","loggable":true},{"name":"hasImage","type":"java://java.lang.String","loggable":true},{"name":"featureValues","type":"java://java.lang.String","loggable":true}]},{"n":"logEvent","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.recommend.RecommendationsController/ACTION$logEvent","at":"SERVER","rt":"java://void","pa":[{"name":"recIdOrEnum","type":"java://java.lang.String","loggable":true},{"name":"action","type":"java://sfdc.chatter.connect.api.enums.reccs.ConnectRecommendationActionEnum","loggable":true},{"name":"explanation","type":"java://sfdc.chatter.connect.api.enums.reccs.ConnectRecommendationExplanationEnum","loggable":true},{"name":"actionLinkId","type":"java://java.lang.String","loggable":true},{"name":"event","type":"java://java.lang.String","loggable":true},{"name":"endPoint","type":"java://java.lang.String","loggable":true},{"name":"channel","type":"java://java.lang.String","loggable":true},{"name":"uri","type":"java://java.lang.String","loggable":true},{"name":"hasImage","type":"java://java.lang.String","loggable":true},{"name":"featureValues","type":"java://java.lang.String","loggable":true}]}]},"su":"markup://forceChatter:recommendationBase","ad":[["body","aura://Aura.Component[]","G",false,[]],["item","aura://Object","I",false,null],["endPoint","aura://String","I",true],["channel","aura://String","I",true],["_inlineSummary","aura://String","p",true],["_summary","aura://String","p",false],["_photoShape","aura://String","p",false]],"re":[{"ed":"markup://forceChatter:recommendationRejected","n":"onRejected","xs":"I"},{"ed":"markup://forceChatter:recommendationClearCache","n":"clearCache","xs":"I"},{"ed":"markup://forceChatter:recommendationAccepted","n":"onAccepted","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"}],"ld":{"acceptRecommendationButton":{},"rejectRecommendationButton":{}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"flavorable":true,"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-entityRecBody"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-entityRecommendationDiv"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-recommendedEntity slds-clearfix"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:entityLink"},"attributes":{"values":{"data":{"descriptor":"data","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationSmall","path":"v.item.entity"}},"transclude":{"descriptor":"transclude","value":true},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:entityPhoto"},"attributes":{"values":{"color":{"descriptor":"color","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationSmall","path":"v.item.entity.motif.color"}},"altText":{"descriptor":"altText","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationSmall","path":"v.item.entity.name"}},"rounded":{"descriptor":"rounded","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq(cmp.get(\"v._photoShape\"),\"square\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationSmall","path":"v._photoShape"}],"byValue":false}},"circular":{"descriptor":"circular","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq(cmp.get(\"v._photoShape\"),\"circular\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationSmall","path":"v._photoShape"}],"byValue":false}},"class":{"descriptor":"class","value":"cuf-actorImage"},"photoSrc":{"descriptor":"photoSrc","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationSmall","path":"v.item.entity.photo.smallPhotoUrl"}}}}}]},"class":{"descriptor":"class","value":"rec-imageLink"}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(fn.eq(cmp.get(\"v._photoShape\"),\"none\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationSmall","path":"v._photoShape"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-recommendationInfo"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:entityLink"},"attributes":{"values":{"data":{"descriptor":"data","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationSmall","path":"v.item.entity"}},"transclude":{"descriptor":"transclude","value":true},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationSmall","path":"v.item.entity.name"}}}}}]},"class":{"descriptor":"class","value":"cuf-recommendedName"}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-text-color--default cuf-recommendationSummary slds-text-body--small"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationSmall","path":"v.item.explanation.summary"}}}}}]}}}}]}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-recommendationActions"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-entityRecommendationActionGroupDiv"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-entityRecommendationActionLink"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:recommendationAcceptButton"},"localId":"acceptRecommendationButton","attributes":{"values":{"recordId":{"descriptor":"recordId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationSmall","path":"v.item.entity.id"}},"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationSmall","path":"c.onAccept"}},"action":{"descriptor":"action","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationSmall","path":"v.item.action"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"rejectRecommendationButton","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onclick":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationSmall","path":"c.onReject"},"title":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationSmall","path":"$Label.RecommendedGeneral.dismiss"},"class":"cuf-rejectButton"}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationSmall","path":"$Label.Recommendations.reject"}}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:icon"},"attributes":{"values":{"alt":{"descriptor":"alt","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationSmall","path":"$Label.RecommendedGeneral.dismiss"}},"class":{"descriptor":"class","value":"cuf-rejectIcon slds-text-color--default"},"key":{"descriptor":"key","value":"close"}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.ne($A.get(\"$Site\"),null);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationSmall","path":"$Site"}],"byValue":false}}}}}]}}}}]}}}}]}}}}]}}}}]}}}}]}],"df":"default","fc":true,"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:editPostAction",function(){/*$A.componentService.addComponentClass("markup://forceChatter:editPostAction",function(){return{meta:{name:"forceChatter$editPostAction","extends":"markup://aura:component"},controller:{checkAccessAndRun:function(b,a,d){d.checkAccessAndRun(b)}},helper:{checkAccessAndRun:function(b){var a=b.get("c.getFeedEntityIsEditableByMe"),d={feedItemId:b.get("v.data").id,communityId:b.get("v.communityId")};a.setParams(d);a.setCallback(this,function(a){if("SUCCESS"===a.getState())if((a=a.getReturnValue())&&a.isEditableByMe){var c=
b.get("v.data");$A.util.addValueToMap(c.capabilities.edit,"areAttachmentsEditableByMe",a.areAttachmentsEditableByMe);this.run(c,b.get("v.richTextConfig"),b.get("v.isTopicsEnabled"),b.get("v.communityId"))}else this.fireErrorMessage($A.get("$Label.Feeds.InsufficientPermissions"));else"INCOMPLETE"===a.getState()&&$A.getEvt("markup://force:showOfflineMessage").setParams({retryAction:a}).fire()});$A.enqueueAction(a)},run:function(b,a,d,e){var c=$A.getEvt("markup://force:editFeedItem");c&&(c.setParams({data:b,
richTextConfig:a,isTopicsEnabled:d,communityId:e}),c.fire())},fireErrorMessage:function(b){var a=$A.getEvt("markup://force:showMessage");a.setParams({severity:"error",message:b});a.fire()}}}});return {"xs":"I","descriptor":"markup://forceChatter:editPostAction","cd":{"descriptor":"compound://forceChatter.editPostAction","ac":[{"n":"deleteFeedItem","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$deleteFeedItem","at":"SERVER","rt":"java://void","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true}]},{"n":"isFeedItemEditableByMe","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$isFeedItemEditableByMe","at":"SERVER","rt":"java://boolean","pa":[{"name":"feedItemId","type":"java://java.lang.String"}]},{"n":"updateCloseStatus","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$updateCloseStatus","at":"SERVER","rt":"java://void","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"communityId","type":"java://java.lang.String"},{"name":"isClosed","type":"java://boolean"}]},{"n":"updatePinStatus","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$updatePinStatus","at":"SERVER","rt":"java://void","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"feedType","type":"java://java.lang.String"},{"name":"subjectId","type":"java://java.lang.String"},{"name":"isPinned","type":"java://boolean"}]},{"n":"updateVisibility","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$updateVisibility","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.feeds.AbstractFeedElementRepresentation","pa":[{"name":"feedItemInput","type":"java://sfdc.chatter.connect.api.input.feeds.FeedItemInputRepresentation"},{"name":"feedItemId","type":"java://java.lang.String","loggable":true}]},{"n":"updateBookmark","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$updateBookmark","at":"SERVER","rt":"java://boolean","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"hasBookmark","type":"java://boolean"},{"name":"communityId","type":"java://java.lang.String","loggable":true}]},{"n":"updateMute","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$updateMute","at":"SERVER","rt":"java://void","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"isMuted","type":"java://boolean"}]},{"n":"getFeedItemActions","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$getFeedItemActions","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"feedItemId","type":"java://java.lang.String"}]},{"n":"getFeedEntityIsEditableByMe","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$getFeedEntityIsEditableByMe","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.feeds.FeedEntityIsEditableRepresentation","pa":[{"name":"feedItemId","type":"java://java.lang.String"},{"name":"communityId","type":"java://java.lang.String","loggable":true}]},{"n":"setBestAnswer","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$setBestAnswer","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.feeds.QuestionAndAnswersCapabilityRepresentation","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"commentId","type":"java://java.lang.String","loggable":true},{"name":"communityId","type":"java://java.lang.String","loggable":true}]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["context","aura://Object","I",false,null],["data","java://sfdc.chatter.connect.api.output.feeds.FeedItemRepresentation","I",true,null],["richTextConfig","aura://Map","I",false,{"isRichTextEnabled":false,"isCodeSnippetUserPermEnabled":false}],["isTopicsEnabled","aura://Boolean","I",false,false],["communityId","aura://String","I",false]],"i":["markup://force:runnable"],"re":[{"ed":"markup://force:run","n":"run","xs":"I"},{"ed":"markup://force:run","n":"afterRun","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.checkAccessAndRun"},"n":"run"}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:publisherPresentationPanel",function(){/*$A.componentService.addComponentClass("markup://forceChatter:publisherPresentationPanel",function() {
return {
  "meta":{
    "name":"forceChatter$publisherPresentationPanel",
    "extends":"markup://forceChatter:publisherPresentation"
  }
};
});
return {"xs":"I","descriptor":"markup://forceChatter:publisherPresentationPanel","st":{"descriptor":"css://forceChatter.publisherPresentationPanel","cl":"forceChatterPublisherPresentationPanel"},"su":"markup://forceChatter:publisherPresentation","ad":[["body","aura://Aura.Component[]","G",false,[]],["isWebApp","aura://Boolean","I",false,true],["isComposerContext","aura://Boolean","I",false,false],["isSfxPanelContext","aura://Boolean","I",false,false],["name","aura://String","I",false],["actions","aura://Aura.Component[]","I",false,[]],["errors","aura://Aura.Component[]","I",false,[]],["contextualMessages","aura://Aura.Component[]","I",false,[]],["main","aura://Aura.Component[]","I",false,[]],["bottom","aura://Aura.Component[]","I",false,[]],["insideScroller","aura://Boolean","I",false,true],["scrollerRefreshDelay","aura://Integer","I",false,500],["extraTitleClass","aura://String","I",false,""],["extraScrollerInsideClass","aura://String","I",false,""],["cssClass","aura://String","I",false,""],["showQuickActionVfHeader","aura://Boolean","I",false,true],["visibilitySwitcher","aura://Aura.Component[]","I",false,[]],["isPublisherCollapsed","aura://Boolean","I",false,false],["header","aura://Aura.Component[]","I",false,[]],["inPanel","aura://Boolean","I",false,false],["publisherId","aura://String","I",false]],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(fn.add(fn.add(\"container \",cmp.get(\"v.cssClass\")),\" \"),(cmp.get(\"v.isPublisherCollapsed\")?\"collapsedState\":\"activeState\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherPresentationPanel","path":"v.isPublisherCollapsed"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherPresentationPanel","path":"v.cssClass"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"visibilitySwitcher \",((cmp.get(\"v.visibilitySwitcher\")>\"\")?\"\":\"hide\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherPresentationPanel","path":"v.visibilitySwitcher"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherPresentationPanel","path":"v.visibilitySwitcher"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-content"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherPresentationPanel","path":"v.errors"}}}}},{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherPresentationPanel","path":"v.contextualMessages"}}}}},{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherPresentationPanel","path":"v.main"}}}}}]}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:recommendationBig",function(){/*$A.componentService.addComponentClass("markup://forceChatter:recommendationBig",function(){return{meta:{name:"forceChatter$recommendationBig","extends":"markup://forceChatter:recommendationBase"},controller:{init:function(a,c,b){},notifyAccepted:function(a,c,b){b.notifyAccepted(a)},onReject:function(a,c,b){var d=a.get("v.item");b.reject(a,c);b.fireRejected(d)}},renderer:{afterRender:function(a){a.superAfterRender();if(a=a.find("image"))a=a.getElement().firstChild,a.removeAttribute("height"),a.removeAttribute("width")}}}});return {"xs":"I","descriptor":"markup://forceChatter:recommendationBig","st":{"descriptor":"css://forceChatter.recommendationBig","cl":"forceChatterRecommendationBig"},"cd":{"descriptor":"compound://forceChatter.recommendationBig","ac":[{"n":"rejectRecommendation","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.recommend.RecommendationsController/ACTION$rejectRecommendation","at":"SERVER","rt":"java://void","pa":[{"name":"recIdOrEnum","type":"java://java.lang.String","loggable":true},{"name":"action","type":"java://sfdc.chatter.connect.api.enums.reccs.ConnectRecommendationActionEnum","loggable":true},{"name":"explanation","type":"java://sfdc.chatter.connect.api.enums.reccs.ConnectRecommendationExplanationEnum","loggable":true},{"name":"actionLinkId","type":"java://java.lang.String","loggable":true},{"name":"endPoint","type":"java://java.lang.String","loggable":true},{"name":"channel","type":"java://java.lang.String","loggable":true},{"name":"uri","type":"java://java.lang.String","loggable":true},{"name":"hasImage","type":"java://java.lang.String","loggable":true},{"name":"featureValues","type":"java://java.lang.String","loggable":true}]},{"n":"logEvent","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.recommend.RecommendationsController/ACTION$logEvent","at":"SERVER","rt":"java://void","pa":[{"name":"recIdOrEnum","type":"java://java.lang.String","loggable":true},{"name":"action","type":"java://sfdc.chatter.connect.api.enums.reccs.ConnectRecommendationActionEnum","loggable":true},{"name":"explanation","type":"java://sfdc.chatter.connect.api.enums.reccs.ConnectRecommendationExplanationEnum","loggable":true},{"name":"actionLinkId","type":"java://java.lang.String","loggable":true},{"name":"event","type":"java://java.lang.String","loggable":true},{"name":"endPoint","type":"java://java.lang.String","loggable":true},{"name":"channel","type":"java://java.lang.String","loggable":true},{"name":"uri","type":"java://java.lang.String","loggable":true},{"name":"hasImage","type":"java://java.lang.String","loggable":true},{"name":"featureValues","type":"java://java.lang.String","loggable":true}]}]},"su":"markup://forceChatter:recommendationBase","ad":[["body","aura://Aura.Component[]","G",false,[]],["item","aura://Object","I",false,null],["endPoint","aura://String","I",true],["channel","aura://String","I",true]],"re":[{"ed":"markup://forceChatter:recommendationRejected","n":"onRejected","xs":"I"},{"ed":"markup://forceChatter:recommendationClearCache","n":"clearCache","xs":"I"},{"ed":"markup://forceChatter:recommendationAccepted","n":"onAccepted","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"}],"ld":{"rejectRecommendationButton":{}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"cuf-body cuf-nonEntityRecBody \",((fn.ne($A.get(\"$Site\"),null)||$A.get(\"$Browser.isDesktop\"))?\"defaultFlavor\":\"mobileFlavor\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationBig","path":"$Browser.isDesktop"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationBig","path":"$Site"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-recommendationIcon cuf-center"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:image"},"localId":"image","attributes":{"values":{"imageType":{"descriptor":"imageType","value":"decorative"},"src":{"descriptor":"src","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationBig","path":"v.item.entity.motif.mediumIconUrl"}},"title":{"descriptor":"title","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationBig","path":"v.item.entity.name"}},"class":{"descriptor":"class","value":"cuf-appImage"}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.ne(cmp.get(\"v.item.entity.motif.mediumIconUrl\"),null);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationBig","path":"v.item.entity.motif.mediumIconUrl"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-center cuf-recommendationDisplayLabel"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:outputText"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationBig","path":"v.item.entity.name"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.ne(cmp.get(\"v.item.entity.name\"),null)&&fn.eq(cmp.get(\"v.item.recommendationType\"),\"custom\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationBig","path":"v.item.recommendationType"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationBig","path":"v.item.entity.name"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-center cuf-recommendationSummary"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:outputText"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationBig","path":"v.item.explanation.summary"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-bodyActionGroup cuf-viewableActionsDiv"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:actionLinkGroup"},"localId":"actionLink","attributes":{"values":{"data":{"descriptor":"data","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationBig","path":"v.item.platformActionGroup"}},"additionalClasses":{"descriptor":"additionalClasses","value":"cuf-viewableActions"},"onActionInvoked":{"descriptor":"onActionInvoked","value":"c.notifyAccepted"}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"rejectRecommendationButton","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onclick":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationBig","path":"c.onReject"},"class":"notInterestedLink"}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationBig","path":"$Label.RecommendedGeneral.not_interested"}}}}}]}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://one:actionsDropDown",function(){/*$A.componentService.addComponentClass("markup://one:actionsDropDown",function(){return{meta:{name:"one$actionsDropDown","extends":"markup://aura:component",imports:{eventBroker:"markup://one:s1EventBroker",interactionLib:"markup://force:targetInteractionLibrary",forceUtil:"markup://force:util"}},controller:{init:function(a,c,b){b.populateActionsWrapper(a)},actionsChange:function(a,c,b){b.populateActionsWrapper(a)},menuExpand:function(a,c,b){c=a.get("v.menuExpand");var d=a.find("menuItem");c&&c.run();
b.updateMenuItemLabel(d,a);b.eventBroker.scroll.subscribe($A.getCallback(function(c,d){if(a.isValid()&&!a.get("v.mouseOverDropdown")){var g=b.forceUtil.aura.find(a,"menuList");$A.util.isUndefinedOrNull(g)||g.set("v.visible",!1);a.get("c.menuCollapse").run();b.eventBroker.scroll.unsubscribe("actionsDropDown")}a.isValid()||b.eventBroker.scroll.unsubscribe("actionsDropDown")}),"actionsDropDown");b.toggleAriaExpanded(a,!0)},menuCollapse:function(a,c,b){(c=a.get("v.menuCollapse"))&&c.run();b.toggleAriaExpanded(a,
!1)},show:function(a,c,b){(a=a.find("actionsMenuTrigger"))&&a.triggerInteraction&&a.triggerInteraction()},triggerAction:function(a,c,b){c=c.getSource().get("v.id");c=Number(c.split(":")[0]);if(c=(c=(b=a.get("v.wrappedActions"))&&b[c])&&c.action&&c.action.get("e.trigger"))c.fire(),a=a.find("menuList"),$A.util.isUndefinedOrNull(a)||a.set("v.visible",!1)}},helper:{toggleAriaExpanded:function(a,c){if(a.isValid()){var b=a.getElement();(b=b&&b.querySelector('a[aria-haspopup\x3d"true"]'))&&b.setAttribute("aria-expanded",
c)}},updateMenuItemLabel:function(a,c){if(a&&c){var b=c.get("v.actions");if(b&&b.length)if(a.length)for(var d=0;d<b.length;d++){if(b[d]&&b[d].get("v.action")){var e=b[d].get("v.action");a[d].set("v.label",e.label)}}else b[0]&&b[0].get("v.action")&&(b=b[0].get("v.action"),a.set("v.label",b.label))}},populateActionsWrapper:function(a){if(a&&a.isValid()){for(var c=a.get("v.actions"),b=[],d=[],e=0;e<c.length;e++)if(c[e]){var f=c[e].get("v.action.targetSelectionName");b.push({action:c[e],devNameOrId:c[e].get("v.action").devNameOrId,
targetSelectionName:f});f&&d.push(f)}a.set("v.wrappedActions",b);a.set("v.targetReveals",d.join(","));c=a.get("v._wrappedActions");d=$A.util.isEmpty(c);0<b.length&&(d||b.length!=c.length)&&a.set("v._wrappedActions",b)}},registerActionTargets:function(a){if(!a._hasRegisteredActionTargets){var c=a.get("v.actions"),b=a.find("menuItem");if(c&&b){$A.util.isArray(b)||(b=[b]);var d=[];c.forEach(function(a,b){var c=a&&a.get("v.action");if(c&&c.executionComponent&&c.executionComponent.attributes&&c.executionComponent.attributes.quickActionDefinition){var h=
c.executionComponent.attributes.quickActionDefinition.actionId;d.push({action:c,contextLocatorPaths:[[{target:"actions-dropdown-trigger__menu-trigger-link",scope:"actions-dropdown",context:{recordId:c.executionComponent.attributes.subjectId,section:c.section&&c.section.toUpperCase()},isContainer:!0},{target:"action-dropdown-item__menu-item",scope:"actions-dropdown",context:{devNameOrId:b+":"+h}}]]})}}.bind(this));0<d.length&&(a._hasRegisteredActionTargets=this.interactionLib.TargetInteractions.registerActionTargets(a,
"action-dropdown-item",d))}}},unregisterActionTargets:function(a){a._hasRegisteredActionTargets&&(this.interactionLib.TargetInteractions.unregisterActionTargets(a),a._hasRegisteredActionTargets=!1)}},renderer:{render:function(a,c){var b=a.get("v.actions");b.forEach(function(a){a&&(a.isValid()&&a.isInstanceOf("force:actionLink"))&&a.set("v.isMenuItem",!0)});var d=a.superRender(),e=d[0],f;if(!e||!e.querySelector)return d;e=e.querySelector(".menuTrigger");1==b.length?b=$A.get("$Label.SFXActions.ShowOneAction"):
(b=[$A.get("$Label.SFXActions.ShowNumberActions"),b.length],b=$A.util.format.apply($A.util,b));switch(a.get("v.context")){case "RECORD":case "RELATED_LIST":f="small";break;case "RELATED_LIST_RECORD":case "LIST_VIEW_RECORD":f="x-small"}void 0!==f&&$A.util.addClass(e,f);void 0!==b&&a.set("v.triggerLabel",b);c.registerActionTargets(a);return d},afterRender:function(a,c){var b=a.find("menuItem");c.updateMenuItemLabel(b,a);return a.superAfterRender()},rerender:function(a,c){a&&a.isValid()&&(c.unregisterActionTargets(a),
c.registerActionTargets(a))},unrender:function(a,c){a&&a.isValid()&&(c.unregisterActionTargets(a),a.superUnrender())}}}});return {"xs":"I","descriptor":"markup://one:actionsDropDown","st":{"descriptor":"css://one.actionsDropDown","cl":"oneActionsDropDown"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["actions","aura://Aura.Component[]","I",false,[]],["inContextOfComponent","aura://String","I",false],["loggingContext","aura://Map","I",false,null],["wrappedActions","aura://Map[]","I",false,[]],["_wrappedActions","aura://Map[]","p",false,[]],["context","aura://String","I",false],["showRibbon","aura://Boolean","I",false,true],["triggerLabel","aura://String","I",false,{"exprType":"PROPERTY","byValue":false,"target":"one:actionsDropDown","path":"$Label.SFXActions.ShowMoreActions"}],["menuCollapse","aura://Aura.Action","I",false,null],["menuExpand","aura://Aura.Action","I",false,null],["mouseOverDropdown","aura://Boolean","p",false,false],["targetReveals","aura://String","p",false]],"med":[{"name":"one:show","xs":"I"}],"i":["markup://one:acceptsActionComponents","markup://force:acceptsLoggingContext"],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.actionsChange"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.actions"},"n":"change"}],"ld":{"menuItem":{"alias":"action-dropdown-item"},"actionsMenuTrigger":{"context":{"recordId":{"exprType":"PROPERTY","byValue":false,"target":"one:actionsDropDown","path":"v.loggingContext.recordId"},"section":{"exprType":"PROPERTY","byValue":false,"target":"one:actionsDropDown","path":"v.loggingContext.section"},"relatedListNameOrId":{"exprType":"PROPERTY","byValue":false,"target":"one:actionsDropDown","path":"v.loggingContext.listNameOrId"}},"alias":"actions-dropdown-trigger"}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"data-target-reveals":{"exprType":"PROPERTY","byValue":false,"target":"one:actionsDropDown","path":"v.targetReveals"},"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.showRibbon\")?\"slds-button slds-button--icon-border-filled\":\"\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"one:actionsDropDown","path":"v.showRibbon"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"li"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:menu"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:menuTriggerLink"},"localId":"actionsMenuTrigger","attributes":{"values":{"stopClickPropagation":{"descriptor":"stopClickPropagation","value":true},"title":{"descriptor":"title","value":{"exprType":"PROPERTY","byValue":false,"target":"one:actionsDropDown","path":"v.triggerLabel"}},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:icon"},"localId":"actionRibbonButtonIcon","attributes":{"values":{"size":{"descriptor":"size","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.showRibbon\")?\"x-small\":\"xx-small\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"one:actionsDropDown","path":"v.showRibbon"}],"byValue":false}},"alt":{"descriptor":"alt","value":{"exprType":"PROPERTY","byValue":true,"target":"one:actionsDropDown","path":"v.triggerLabel"}},"key":{"descriptor":"key","value":"down"}}}}]},"class":{"descriptor":"class","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.showRibbon\")?\"slds-grid slds-grid--vertical-align-center slds-grid--align-center sldsButtonHeightFix\":\"slds-button slds-button--icon-x-small slds-button--icon-border-filled\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"one:actionsDropDown","path":"v.showRibbon"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://force:actionsDropDownMenuList"},"localId":"menuList","flavor":"left, default","attributes":{"values":{"menuExpand":{"descriptor":"menuExpand","value":{"exprType":"PROPERTY","byValue":false,"target":"one:actionsDropDown","path":"c.menuExpand"}},"isMouseOver":{"descriptor":"isMouseOver","value":{"exprType":"PROPERTY","byValue":false,"target":"one:actionsDropDown","path":"v.mouseOverDropdown"}},"menuCollapse":{"descriptor":"menuCollapse","value":{"exprType":"PROPERTY","byValue":false,"target":"one:actionsDropDown","path":"c.menuCollapse"}},"attachToBody":{"descriptor":"attachToBody","value":true},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:iteration"},"localId":"menuItemIteration","attributes":{"values":{"indexVar":{"descriptor":"indexVar","value":"i"},"var":{"descriptor":"var","value":"wrappedAction"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:actionMenuItem"},"localId":"menuItem","attributes":{"values":{"menuSelect":{"descriptor":"menuSelect","value":{"exprType":"PROPERTY","byValue":false,"target":"one:actionsDropDown","path":"c.triggerAction"}},"targetSelectionName":{"descriptor":"targetSelectionName","value":{"exprType":"PROPERTY","byValue":false,"target":"one:actionsDropDown","path":"wrappedAction.targetSelectionName"}},"id":{"descriptor":"id","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(fn.add(cmp.get(\"i\"),\":\"),cmp.get(\"wrappedAction.devNameOrId\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"one:actionsDropDown","path":"i"},{"exprType":"PROPERTY","byValue":false,"target":"one:actionsDropDown","path":"wrappedAction.devNameOrId"}],"byValue":false}},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"one:actionsDropDown","path":"wrappedAction.action"}}}}}]}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"one:actionsDropDown","path":"v._wrappedActions"}}}}}]},"class":{"descriptor":"class","value":"branding-actions actionMenu"}}}}]}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(fn.empty(cmp.get(\"v.wrappedActions\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"one:actionsDropDown","path":"v.wrappedActions"}],"byValue":false}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:comment",function(){/*$A.componentService.addComponentClass("markup://forceChatter:comment",function(){return{meta:{name:"forceChatter$comment","extends":"markup://aura:component",imports:{feedLib:"markup://forceChatter:feedLib",headerBuilder:"markup://forceChatter:headerBuilderService",answerUtil:"markup://forceChatter:einsteinAnswersUtilitiesService",optional:"markup://forceChatter:optionalResult",communitiesSiteDetector:"markup://forceChatter:communitiesSiteDetectionService",publisherUtil:"markup://forceChatter:publisherUtilitiesService",
desktopContextUtil:"markup://forceChatter:desktopContextDetectionService",auxBodyLib:"markup://forceChatter:auxiliaryFeedBodyService",feedEventing:"markup://forceChatter:feedEventingService"}},controller:{init:function(a,b,c){b=$A.get("$Label.Feeds.FeedPostLikeVerb");c.logMissingLabel("Feeds.FeedPostLikeVerb",b);b=$A.get("$Label.Feeds.FeedPostUnlikeVerb");c.logMissingLabel("Feeds.FeedPostUnlikeVerb",b);b=$A.get("$Label.Feeds.LikedState");c.logMissingLabel("Feeds.LikedState",b);b=$A.get("$Label.Publisher.Reply");
c.logMissingLabel("Publisher.Reply",b);b=a.get("v.data");var d=a.get("v.feedItem");if(b&&d){var e=$A.util.lookup(d,"capabilities","close","isClosed"),f=$A.util.lookup(d,"capabilities","close","canContextUserUpdateIsClosed");a.set("v._isConversationClosed",e);a.set("v._canUserCloseConversation",f);a.get("v.showFeedsTranslationButton")&&c.createTranslationComponents(a);a.set("v._truncate",0<a.get("v.feedDisplayConfig.commentsDisplayConfig.commentBodyTruncationLimit"));a.set("v.isFeedItemInPendingReview",
a.helper.feedLib.util.isPendingReview(d));a.helper.feedLib.util.isPendingReview(b)&&(b.pendingReview=!0,a.set("v._pendingReview",!0));c.feedLib.util.setFlagInfo(a);c.setActions(a);c.updateBestAnswer(a);c.updatePendingState(a);c.updateVotingAvailability(a);c.updateVerifiedBadgeState(a);c.updateFormattedCreatedDateTime(a);a.set("v._showVerifiedBadgesInline",c.desktopContextUtil.service.isRunningInDesktopContext);a.set("v._allowVotesUpCountDetails",c.desktopContextUtil.service.isRunningInDesktopContext);
a.set("v._allowLikesCountDetails",c.desktopContextUtil.service.isRunningInDesktopContext);c.feedLib.util.isCommunityStreamInLEX(a.get("v.communityId"))&&a.set("v.isEntityLinkHover",!1);c.auxBodyLib.service.requireAuxBodyComponents(b,$A.getCallback(function(){a.set("v._isAuxBodyReady",!0)}))}},flagUpdated:function(a,b,c){if(b.getParam("entityId")===a.get("v.data.id")){var d=b.getParam("flagged");b=b.getParam("flagCount");a.set("v.data.moderationFlags.flaggedByMe",d);a.set("v.data.moderationFlags.flagCount",
b);c.feedLib.util.setFlagInfo(a);a.helper.rerenderComment(a);d||c.setActions(a)}},commentStatusChanged:function(a,b){var c=b.getParam("entityId"),d=a.get("v.data");if(c===d.id){var c=b.getParam("newStatus"),e={};$A.util.apply(e,d,!0,!0);e.capabilities.status.feedEntityStatus=c;e.pendingReview=a.helper.feedLib.util.isPendingReview(e);$A.getEvt("markup://forceChatter:commentUpdated").setParams({comment:e}).fire()}},showFullBodyText:function(a,b,c){a.set("v._truncate",!1);(b=a.getElement().getElementsByClassName("cuf-feedBodyText"))&&
b.length&&c.feedLib.util.focusTemporarilyOnElement(b[0]);b=a.get("v.feedItem");c.feedLib.util.logFeedInteraction(a,"comment","showMoreContent",$A.util.lookup(b,"id"),{commentId:a.get("v.data.id"),commentLikeCount:a.get("v.data.likes.total"),FeedItemLikeCount:$A.util.lookup(b,"capabilities","chatterLikes","page","total"),FeedItemViewCount:$A.util.lookup(b,"capabilities","interactions","count"),FeedItemCommentCount:$A.util.lookup(b,"capabilities","comments","page","total")})},handleLikeToggled:function(a,
b,c){if(b.getParam("associatedObjectId")===a.get("v.data.id")){var d=b.getParam("isLiked"),e=a.get("v.data.myLike"),e=e&&d||!(e||d);a.set("v.data.myLike",b.getParam("object"),e);var f=a.get("v.data.likes");if(!e){b=b.getParam("associatedObjectId");if(a.get("v.data.id")===b){var g=a.get("v.feedItem");c.feedLib.util.logFeedInteraction(a,"comment",d?"like":"un-like",$A.util.lookup(g,"id"),{commentId:b,commentLikeCount:a.get("v.data.likes.total"),FeedItemLikeCount:$A.util.lookup(g,"capabilities","chatterLikes",
"page","total"),FeedItemViewCount:$A.util.lookup(g,"capabilities","interactions","count"),FeedItemCommentCount:$A.util.lookup(g,"capabilities","comments","page","total")})}$A.util.isUndefinedOrNull(f)||(f.total+=d?1:-1)}a.set("v.data.likes",f,e);a.helper.rerenderComment(a)}},handleVoteUpdated:function(a,b,c){if(b.getParam("entityId")===a.get("v.data.id")){var d=b.getParam("myVote"),e=b.getParam("upVoteCount");b=b.getParam("downVoteCount");a.set("v.data.capabilities.upDownVote.myVote",d);a.set("v.data.capabilities.upDownVote.upVoteCount",
e);a.set("v.data.capabilities.upDownVote.downVoteCount",b);c.setActions(a)}},handleVerificationUpdated:function(a,b,c){b.getParam("commentId")===a.get("v.data.id")&&(b=b.getParam("verifyAction"),a.set("v.data.capabilities.verified.isVerified",b),a.set("v.feedItem.hasVerifiedComment",b),c.rerenderComment(a))},runAction:function(a,b){var c=a.getElement();c&&c.dispatchEvent(new CustomEvent("undotranslation",{bubbles:!0,composed:!0,cancelable:!0}));c=b.getParam("value");$A.createComponent("markup://force:action",
{action:c},function(b,c){if("SUCCESS"===c){var f=a.get("v._createdForceActions")||[];f.push(b);a.set("v._createdForceActions",f);b.getEvent("trigger").fire()}});a.find("actionMenu").set("v.visible",!1)},onOverflowFocus:function(a,b,c){c.setActions(a)},handleOverflowClick:function(a,b,c){c.launchOverflowModal(a)},updateBestAnswer:function(a,b,c){c.updateBestAnswer(a)},doneEditing:function(a,b,c){b.getParam("instanceId")===a.get("v.data.id")&&c.focusActionTriggerMenu(a)},updatePendingState:function(a,
b,c){c.updatePendingState(a)},updateVotingAvailability:function(a,b,c){c.updateVotingAvailability(a)},updateVerifiedBadgeState:function(a,b,c){c.updateVerifiedBadgeState(a)},updateFormattedCreatedDateTime:function(a,b,c){c.updateFormattedCreatedDateTime(a)},handleCloseUpdated:function(a,b){if(b.getParam("feedItem").id===a.get("v.feedItem.id")){var c=b.getParam("isClosed");a.set("v.data.capabilities.close.isClosed",c);a.set("v._isConversationClosed",c)}},populateTranslationComponents:function(a,b,
c){a.get("v.showFeedsTranslationButton")&&0===(a.get("v._translationComponents")||[]).length&&c.createTranslationComponents(a)},handleAvailableLanguagesRequested:function(a,b){b.stopPropagation();var c=$A.get("$Site.googleTranslateAPIKey"),d=a.find("languageProvider"),e=$A.get("$Locale").userLocaleLang;d.getLanguages(c,e).then($A.getCallback(function(b){a.set("v._availableTranslationLanguages",b)})).catch($A.getCallback(function(a){a=$A.getEvt("markup://force:showToast");a.setParams({type:"error",
message:$A.get("$Label.Feeds.TranslationGenericErrorMessage")});a.fire()}))},handleDisplayAvailableLanguages:function(a,b,c){b.stopPropagation();b=$A.get("$Site.googleTranslateAPIKey");c=a.find("languageProvider");var d=$A.get("$Locale").userLocaleLang;c.getLanguages(b,d).then($A.getCallback(function(b){a.set("v._availableTranslationLanguages",b);b=b.map(function(b){return{executionComponent:{attributes:{selectionHandler:$A.getCallback(function(){a.find("translationSelector").getElement().dispatchEvent(new CustomEvent("translate",
{bubbles:!0,cancelable:!0,composed:!1,detail:{language:b.language}}))})},componentName:"forceChatter:translationLanguageSelectionAction",descriptor:"forceChatter:translationLanguageSelectionAction",isClientSideCreatable:!0,isEvent:!1},label:b.name}});b.push({isCancelAction:!0,label:$A.get("$Label.Buttons.cancel")});$A.getEvt("markup://force:showModal").setParams({actions:b}).fire()})).catch($A.getCallback(function(a){a=$A.getEvt("markup://force:showToast");a.setParams({type:"error",message:$A.get("$Label.Feeds.TranslationGenericErrorMessage")});
a.fire()}))},handleTranslateEvent:function(a,b){b.stopPropagation();$A.metricsService.transaction("ltng","interaction",{context:{eventSource:"synthetic-google-translate-event",eventType:"user",locator:{target:"comment",scope:"Communities",context:{description:"Comment Translation",commentId:a.get("v.data").id}}}});var c=$A.get("$Site.googleTranslateAPIKey"),d=a.find("postTranslator"),e=$A.get("$Locale").userLocaleLang;b.detail&&(e=b.detail.language||e);var f={messageSegments:a.get("v.data.body.messageSegments")};
d.translatePost(c,e,f).then($A.getCallback(function(b){b.messageSegments&&(a._originalMessageSegments=f.messageSegments,a.set("v.data.body.messageSegments",b.messageSegments));a.set("v._isTranslated",!0)})).catch($A.getCallback(function(a){var b=$A.getEvt("markup://force:showToast");"exceeds supported content size"===a?b.setParams({type:"error",message:$A.get("$Label.Feeds.TranslationExceedsCharacterLimitMessage")}):b.setParams({type:"error",message:$A.get("$Label.Feeds.TranslationGenericErrorMessage")});
b.fire()}))},handleUndoTranslationEvent:function(a,b){b.stopPropagation();a._originalMessageSegments&&(a.set("v.data.body.messageSegments",a._originalMessageSegments),delete a._originalMessageSegments);a.set("v._isTranslated",!1)}},helper:{getModalDeleteAction:function(a,b,c){var d=this;return{label:$A.get("$Label.Feeds.Ok"),callback:function(){d.deleteThisComment(a,b,c)}}},deleteThisComment:function(a,b,c){if(b=a.get("c.deleteComment"))b.setParams({commentId:c}),b.setCallback(this,function(b){"SUCCESS"===
b.getState()?(b=a.getEvent("commentDeleted"),b.setParams({commentId:c,associatedFeedItemId:a.get("v.feedItem.id")}),b.fire()):this.fireActionErrorMessage(b)}),$A.enqueueAction(b)},getDeleteMessage:function(a){var b=this.feedLib.util.generateLabel("Feeds","CommentDeleteConfirmation",a.get("v.feedItem.type"));a.get("v.data.user.id")!==a.get("v.feedDisplayConfig.contextUser.id")&&(b=b+" "+this.feedLib.util.generateLabel("Feeds","CommentDeleteNonCreatorMsg",a.get("v.feedItem.type")));return b},setActions:function(a){if(!a.get("v.feedItem.capabilities.directMessage")){var b=
[],c=$A.util.apply({},a.get("v.commentActions"),!0,!0);this.checkAndAddApproveAction(a,b,c);this.checkAndAddEditAction(a,b,c);this.addActionDeletePost(a,b,c);this.checkAndAddFlagAction(a,b,c);this.checkAndAddVerifyAction(a,b,c);this.checkAndAddDownVoteAction(a,b,c);a.set("v._visibleActionCount",b.length);a.set("v.actions",b)}},addActionFlagPost:function(a,b,c){var d=a.get("v.data.id"),e=c.Flag;c=c.RemoveAllFlags;var f=a.get("v.data.moderationFlags.flaggedByMe");a=0<a.get("v.data.moderationFlags.flagCount")&&
c;null!==f&&e&&(f?(e.label=e.title=$A.get("$Label.NetworkModeration.Unflag"),e.executionComponent.attributes.entityId=d,e.executionComponent.attributes.flagCommand="UNFLAG",a||b.push(e)):(e.label=e.title=$A.get("$Label.NetworkModeration.Flag"),e.executionComponent.attributes.entityId=d,e.executionComponent.attributes.flagCommand="FLAG",b.push(e)));a&&(c.label=c.title=$A.get("$Label.NetworkModeration.IgnoreAllFlags"),c.executionComponent.attributes.entityId=d,c.executionComponent.attributes.flagCommand=
"REMOVE_FLAGS",b.push(c))},addActionDeletePost:function(a,b,c){if(c.DeleteComment&&!a.get("v.data.isDeleteRestricted")){var d=a.get("v.data.id"),e=this.feedLib.util.isPSSC();c=c.DeleteComment;c.executionComponent.attributes.recordId=d;c.executionComponent.attributes.associatedFeedItemId=a.get("v.feedItem.id");e&&(d=$A.util.getBooleanValue($A.util.lookup(a.get("v.data"),"capabilities","verified","isVerified")),c.executionComponent.attributes.commentIsCompanyVerified=d);d=a.get("v.data.capabilities.comments.page.total");
e&&(0<d&&!a.get("v.canUserDeleteComment"))&&(c.disabled=c.isDisabled=!0);a.get("v._isConversationClosed")&&!a.get("v._canUserCloseConversation")&&(c.disabled=c.isDisabled=!0);c.beforeExecutionComponent.attributes.message=this.getDeleteMessage(a);b.push(c);a.set("v.deleteAction",c)}},addActionEditPost:function(a,b,c){var d=a.get("v.data");if(d&&a.helper.publisherUtil.service.isEditCommentSupported(d)){c=c.EditComment;var e=$A.util.lookup(c,"executionComponent","attributes"),d=a.get("v.data"),f=this.desktopContextUtil.service,
g=$A.util.getBooleanValue($A.util.lookup(d,"body","isRichText")),f=f.isRunningInDesktopContext&&a.get("v.richTextConfig.isRichTextEnabled")||!f.isRunningInDesktopContext&&a.get("v.richTextConfig.isRichTextMobileEnabled")||!g;d&&(f&&a.helper.publisherUtil.service.isEditCommentSupported(d))&&(a.get("v._isConversationClosed")&&!a.get("v._canUserCloseConversation")&&(c.disabled=c.isDisabled=!0),c&&e&&(e.data=d,e.commentsDisplayConfig=a.get("v.feedDisplayConfig.commentsDisplayConfig"),e.feedItemType=a.get("v.feedItem").type,
e.feedItemVisibility=a.get("v.feedItem").visibility,e.richTextConfig=a.get("v.richTextConfig"),e.isTopicsEnabled=a.get("v.isTopicsEnabled"),e.communityId=a.get("v.communityId"),b.push(c)))}},addActionApprovePost:function(a,b,c){var d=c.ApproveCommentItem;if(d&&!$A.util.isUndefinedOrNull(a.get("v.data.capabilities.status"))){var e=a.get("v._pendingReview"),f=a.get("v.data.capabilities.status.isApprovableByMe");e&&f&&(d.executionComponent.attributes.finalStatus=a.helper.feedLib.util.feedEntityStatus.Published,
d.executionComponent.attributes.feedItemId=a.get("v.data.id"),b.push(c.ApproveCommentItem))}},fireActionErrorMessage:function(a){a=a.getError();if($A.util.isArray(a)){for(var b=[],c=0;c<a.length;c++)b.push(a[c].message);$A.util.isEmpty(b)||(a=b.join(" "),this.fireErrorMessage(a))}},fireErrorMessage:function(a){var b=$A.getEvt("markup://force:showMessage");b.setParams({message:a});b.fire()},checkAndAddApproveAction:function(a,b,c){a.get("v._pendingReview")&&this.addActionApprovePost(a,b,c)},checkAndAddEditAction:function(a,
b,c){a.get("v.isFeedItemInPendingReview")||this.addActionEditPost(a,b,c)},checkAndAddFlagAction:function(a,b,c){!a.get("v.isFeedItemInPendingReview")&&!a.get("v._pendingReview")&&this.addActionFlagPost(a,b,c)},checkAndAddVerifyAction:function(a,b,c){if((this.communitiesSiteDetector.service.isRunningInCommunitiesSite||this.feedLib.util.isCommunityStreamInLEX(a.get("v.communityId")))&&!a.get("v.isFeedItemInPendingReview")&&!a.get("v._pendingReview"))if(c=c.VerifyUnverifyComment){var d=a.get("v.feedItem"),
e=this.optional.auraUtil.lookup(d,"type");if(e.hasValue&&"QUESTIONPOST"===e.value.toUpperCase()){var e=this.optional.auraUtil.lookup(a.get("v.data"),"capabilities","verified"),f=!1;e.hasValue&&(f=this.optional.auraUtil.lookup(e.value,"isVerifiableByMe"),f=f.hasValue&&f.value);f&&(e=this.optional.auraUtil.lookup(e.value,"isVerified"),e=e.hasValue&&e.value,c.label=e?$A.get("$Label.Feeds.UnverifyVerb"):$A.get("$Label.Feeds.VerifyVerb"),c.executionComponent.attributes.commentId=a.get("v.data.id"),c.executionComponent.attributes.communityId=
a.get("v.communityId"),c.executionComponent.attributes.verifyAction=!e,e||(a=this.optional.auraUtil.lookup(d,"hasVerifiedComment"),c.disabled=c.isDisabled=a.hasValue&&a.value),b.push(c))}}},checkAndAddDownVoteAction:function(a,b,c){var d=$A.util.lookup(a.get("v.feedItem"),"type");!this.feedLib.util.isPSSC()&&!this.feedLib.util.isCommunityStreamInLEX(a.get("v.communityId"))||(!a.get("v.isUpDownVoteEnabled")||"QUESTIONPOST"===!d.toUpperCase())||(a=this.answerUtil.service.getDownVoteAction(a.get("v.data"),
d,c,a.get("v.communityId")))&&b.push(a)},launchOverflowModal:function(a){var b=[],c=!1;0<a.get("v.data.capabilities.comments.page.total")&&!a.get("v.canUserDeleteComment")&&(c=!0);this.setActions(a);$A.util.apply(b,a.get("v.actions"),!0,!0);for(a=0;a<b.length;a++)"DeleteComment"===b[a].devNameOrId&&(b[a].isDisabled=c);b.push({label:$A.get("$Label.Buttons.cancel"),isCancelAction:!0});$A.getEvt("markup://force:showModal").setParams({actions:b}).fire()},rerenderComment:function(a){var b=document.activeElement;
b&&(a=this.feedLib.util.closestMatch(b,".forceChatterComment")||a.getElement(),this.feedLib.util.returnFocusToClickedActionButton(a,b))},updateBestAnswer:function(a){if(!this.communitiesSiteDetector.service.isRunningInCommunitiesSite){var b=a.get("v.feedItem.capabilities.questionAndAnswers.bestAnswer.id"),c=a.get("v.data.id");a.set("v._showBestAnswer",b===c)}},updatePendingState:function(a){var b=a.get("v._pendingReview"),c=a.get("v.isFeedItemInPendingReview");a.set("v._isInPendingState",b||c)},focusActionTriggerMenu:function(a){var b=
a.getElement();if(b&&(b=b.querySelector(".cuf-commentActionButton .slds-button"),null!==b)){b.focus();a.set("v._setFocusOnActionButton",!1);return}a.set("v._setFocusOnActionButton",!0)},updateVotingAvailability:function(a){var b=a.get("v.isUpDownVoteEnabled"),c=a.get("v.feedItem.type"),d=a.get("v.data.capabilities.upDownVote.myVote"),e=a.get("v.communityId"),c=/^QuestionPost$/i.test(c),e=this.feedLib.util.isCommunityStreamInLEX(e);a.set("v._allowVoting",b&&c&&null!==d&&(this.communitiesSiteDetector.service.isRunningInCommunitiesSite||
e))},updateVerifiedBadgeState:function(a){var b=a.get("v.communityId"),c=this.communitiesSiteDetector.service.isRunningInCommunitiesSite||this.feedLib.util.isCommunityStreamInLEX(b),b=a.get("v.feedItem.capabilities.questionAndAnswers.bestAnswer.id"),d=a.get("v.data.id"),b=c&&b&&b===d,e=c&&a.get("v.data.capabilities.verified.isVerified"),f=d=c=!1;b&&e?f=!0:(c=b,d=e);b=d||c||f;a.set("v._showCompanyAndUserVerifiedBadge",f);a.set("v._showUserVerifiedBadge",c);a.set("v._showCompanyVerifiedBadge",d);a.set("v._hasVerifiedBadge",
b)},updateFormattedCreatedDateTime:function(a){var b=a.get("v.data.createdDate"),c=$A.get("$Locale.dateFormat")+", "+$A.get("$Locale.shortTimeFormat"),d;b&&(d=$A.localizationService.formatDateTime(b,c));a.set("v._formattedCreatedDateTime",d)},navigateToCommunityLogin:function(){var a=$A.getEvt("markup://selfService:doLogin");a&&a.fire()},footerEventHandlers:{createLikeHandler:function(a,b,c){return b?function(a){a.stopPropagation();c.navigateToCommunityLogin()}:function(b){b.stopPropagation();$A.metricsService.transaction("ltng",
"interaction",{context:{eventSource:"synthetic-like-comment",eventType:"user",locator:{target:"comment",scope:"ChatterFeed",context:{threadLevel:a.get("v.data.threadLevel")||0}}}});(b=a.find("likeManager"))&&b.like()}},createUnlikeHandler:function(a){return function(b){b.stopPropagation();(b=a.find("likeManager"))&&b.unlike()}},createVoteUpHandler:function(a,b,c){return b?function(a){a.stopPropagation();c.navigateToCommunityLogin()}:function(b){b.stopPropagation();$A.metricsService.transaction("ltng",
"interaction",{context:{eventSource:"synthetic-vote-up-comment",eventType:"user",locator:{target:"comment",scope:"ChatterFeed",context:{threadLevel:a.get("v.data.threadLevel")||0}}}});if(b=a.find("voteManager")){var c=a.get("v.communityId"),f=a.get("v.data.id");b.castVote(c,f,"Up")}}},createRemoveVoteHandler:function(a){return function(b){b.stopPropagation();if(b=a.find("voteManager")){var c=a.get("v.communityId"),d=a.get("v.data.id");b.castVote(c,d,"None")}}},createSelectBestAnswerHandler:function(a){return function(b){b.stopPropagation();
$A.metricsService.transaction("ltng","interaction",{context:{eventSource:"synthetic-select-best-answer",eventType:"user",locator:{target:"comment",scope:"ChatterFeed",context:{threadLevel:a.get("v.data.threadLevel")||0}}}});(b=a.getElement())&&b.dispatchEvent(new CustomEvent("setbestanswer",{bubbles:!0,cancelable:!0,composed:!0,detail:{commentId:a.get("v.data.id")}}))}},createLikeDetailsRequestedHandler:function(a,b){return function(c){c.stopPropagation();c=a.get("v.data.id");var d=a.get("v.feedItem.type"),
e=a.get("v.feedItem.id"),f=a.get("v.communityId");b.feedEventing.likeHandler.showCommentLikersCard(d,e,c,f)}},createVotesUpDetailsRequestedHandler:function(a,b){return function(c){c.stopPropagation();c=a.get("v.data.id");var d=a.get("v.feedItem.type"),e=a.get("v.feedItem.id"),f=a.get("v.communityId");b.feedEventing.voteHandler.showCommentVotersCard(d,e,c,f)}},createReplyHandler:function(a,b){return function(c){a&&(c.stopPropagation(),b.navigateToCommunityLogin())}}},subscribeToFooterEvents:function(a,
b){var c=!0===$A.get("$Site.isGuestUser"),d=new Map;d.set("like",$A.getCallback(this.footerEventHandlers.createLikeHandler(a,c,this)));d.set("unlike",$A.getCallback(this.footerEventHandlers.createUnlikeHandler(a)));d.set("voteup",$A.getCallback(this.footerEventHandlers.createVoteUpHandler(a,c,this)));d.set("removevote",$A.getCallback(this.footerEventHandlers.createRemoveVoteHandler(a)));d.set("selectbestanswer",$A.getCallback(this.footerEventHandlers.createSelectBestAnswerHandler(a)));d.set("likedetailsrequested",
$A.getCallback(this.footerEventHandlers.createLikeDetailsRequestedHandler(a,this)));d.set("votesupdetailsrequested",$A.getCallback(this.footerEventHandlers.createVotesUpDetailsRequestedHandler(a,this)));d.set("reply",$A.getCallback(this.footerEventHandlers.createReplyHandler(c,this)));d.forEach(function(a,c){b.addEventListener(c,a)});return function(){d.forEach(function(a,c){b.removeEventListener(c,a)})}},createTranslationComponents:function(a){$A.createComponents([["feeds_translation:salesforceSupportedLanguages",
{"aura:id":"languageProvider"}],["feeds_translation:postTranslator",{"aura:id":"postTranslator"}],["feeds_translation:selector",{"aura:id":"translationSelector",availableLanguages:a.getReference("v._availableTranslationLanguages"),availableLanguageDisplayBehavior:$A.get("$Browser.isPhone")?"notify":"display",isTranslated:a.getReference("v._isTranslated")}],["feeds_translation:googleAttribution"]],function(b,c){"SUCCESS"===c?(a.set("v._translationComponents",b.slice(0,3)),a.set("v._translationAttributionComponents",
b.slice(3))):a.set("v.showFeedsTranslationButton",!1)})},logMissingLabel:function(a,b){$A.util.isEmpty(b)&&$A.metricsService.transaction("ltng","interaction",{context:{eventSource:"synthetic-comment-label-missing",eventType:"system",locator:{target:"forceChatter-comment",scope:"commentHelper.js",context:{description:a+" Label Missing"}}}})}},renderer:{rerender:function(a){a.superRerender();a.helper.rerenderComment(a)},afterRender:function(a,b){a.superAfterRender(a);var c=a.getElements();if(c&&c.length){var c=
c[0],d=a.helper.headerBuilder.service.buildCommentAvatar(a);c.getElementsByClassName("cuf-commentAvatarWrapper")[0].appendChild(d);var d=c.getElementsByClassName("cuf-commentNameLink")[0],e=a.helper.headerBuilder.service.buildCommentPoster(a);d.appendChild(e);a.get("v.automaticallyFocusAfterInitialDisplay")&&d.getElementsByClassName("cuf-entityLink")[0].focus();a._unsubscribeFromFooterEvents=b.subscribeToFooterEvents(a,c.querySelector("footer"));!0===a.get("v._setFocusOnActionButton")&&b.focusActionTriggerMenu(a)}}}}});return {"xs":"I","descriptor":"markup://forceChatter:comment","st":{"descriptor":"css://forceChatter.comment","cl":"forceChatterComment"},"cd":{"descriptor":"compound://forceChatter.comment","ac":[{"n":"deleteComment","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.CommentController/ACTION$deleteComment","at":"SERVER","rt":"java://void","pa":[{"name":"commentId","type":"java://java.lang.String","loggable":true}]},{"n":"isCommentEditableByMe","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.CommentController/ACTION$isCommentEditableByMe","at":"SERVER","rt":"java://boolean","pa":[{"name":"commentId","type":"java://java.lang.String"},{"name":"communityId","type":"java://java.lang.String","loggable":true}]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["searchQueryId","aura://String","I",false],["feedItemPosition","aura://String","I",false],["subjectId","aura://String","I",false],["sortOrder","aura://String","I",false],["feedDisplayConfig","java://ui.chatter.api.FeedDisplayConfig","I",true,null],["richTextConfig","aura://Map","I",false,{}],["data","java://sfdc.chatter.connect.api.output.feeds.CommentRepresentation","I",false,null],["commentActions","aura://List","I",false,[]],["_visibleActionCount","aura://Integer","I",false],["deleteAction","aura://Map","I",false,{}],["feedItem","aura://Object","I",false,null],["feedType","aura://String","I",false],["header","aura://Aura.Component[]","I",false,[]],["isTopicsEnabled","aura://Boolean","I",true],["actions","aura://List","I",false,[]],["_pendingReview","aura://Boolean","I",false,false],["_isDirectMessage","aura://Boolean","I",false,false],["isFeedItemInPendingReview","aura://Boolean","I",false,false],["extraAction","aura://Aura.Component[]","I",false,[]],["_truncate","aura://Boolean","I",false,false],["_actionMenu","aura://Aura.Component","I",false,null],["flagText","aura://String","I",false],["flagAltText","aura://String","I",false],["communityId","aura://String","I",false],["isReplyEnabled","aura://Boolean","I",false,false],["_showBestAnswer","aura://Boolean","p",false,false],["isUpDownVoteEnabled","aura://Boolean","I",false],["isEntityLinkHover","aura://Boolean","I",false,true],["_isAuxBodyReady","aura://Boolean","I",false,false],["_setFocusOnActionButton","aura://Boolean","I",false,false],["_isConversationClosed","aura://Boolean","p",false,false],["_canUserCloseConversation","aura://Boolean","p",false,false],["commentCssClass","aura://String","I",false,""],["automaticallyFocusAfterInitialDisplay","aura://Boolean","I",false,false],["_formattedCreatedDateTime","aura://String","p",false],["_createdForceActions","aura://Aura.Component[]","p",false,[]],["_isInPendingState","aura://Boolean","p",false,false],["_allowVoting","aura://Boolean","p",false,false],["_hasVerifiedBadge","aura://Boolean","p",false,false],["_showVerifiedBadgesInline","aura://Boolean","p",false,false],["_showUserVerifiedBadge","aura://Boolean","p",false,false],["_showCompanyVerifiedBadge","aura://Boolean","p",false,false],["_showCompanyAndUserVerifiedBadge","aura://Boolean","p",false,false],["_allowVotesUpCountDetails","aura://Boolean","p",false,true],["_allowLikesCountDetails","aura://Boolean","p",false,true],["canUserDeleteComment","aura://Boolean","I",false],["showFeedsTranslationButton","aura://Boolean","I",false,false],["_availableTranslationLanguages","apex://Array","p",false,null],["_isTranslated","aura://Boolean","p",false,false],["_translationComponents","aura://Aura.Component[]","p",false,[]],["_translationAttributionComponents","aura://Aura.Component[]","p",false,[]],["showRelativeTimestamp","aura://Boolean","I",false,true]],"i":["markup://forceChatter:additionalFeedLogData"],"re":[{"ed":"markup://forceChatter:commentDeleted","n":"commentDeleted","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"ed":{"descriptor":"markup://forceChatter:flagUpdated"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.flagUpdated"}},{"ed":{"descriptor":"markup://forceChatter:commentStatusChanged"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.commentStatusChanged"}},{"ed":{"descriptor":"markup://forceChatter:objectLikeToggled"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleLikeToggled"}},{"ed":{"descriptor":"markup://forceChatter:voteUpdated"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleVoteUpdated"}},{"ed":{"descriptor":"markup://forceChatter:verificationUpdated"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleVerificationUpdated"}},{"ed":{"descriptor":"markup://force:hidePanel"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.doneEditing"}},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.updateBestAnswer"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.feedItem"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.updatePendingState"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v._pendingReview"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.updatePendingState"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.isFeedItemInPendingReview"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.updateFormattedCreatedDateTime"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.data.createdDate"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.updateVotingAvailability"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.isUpDownVoteEnabled"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.updateVotingAvailability"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.feedItem.type"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.updateVotingAvailability"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.data.capabilities.upDownVote.myVote"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.updateVotingAvailability"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.communityId"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.updateVerifiedBadgeState"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.communityId"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.updateVerifiedBadgeState"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.feedItem.capabilities.questionAndAnswers.bestAnswer.id"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.updateVerifiedBadgeState"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.data.id"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.updateVerifiedBadgeState"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.data.capabilities.verified.isVerified"},"n":"change"},{"ed":{"descriptor":"markup://forceChatter:closeStatusUpdated"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleCloseUpdated"}},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.populateTranslationComponents"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.showFeedsTranslationButton"},"n":"change"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:upVote"},"localId":"voteManager"},{"componentDef":{"descriptor":"markup://forceChatter:toggleLike"},"localId":"likeManager","attributes":{"values":{"feedType":{"descriptor":"feedType","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.feedType"}},"id":{"descriptor":"id","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.data.id"}},"communityId":{"descriptor":"communityId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.communityId"}},"myLike":{"descriptor":"myLike","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.data.myLike"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"data-rev":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.data.capabilities.edit\")?cmp.get(\"v.data.capabilities.edit.latestRevision\"):0);}","args":[{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:comment","path":"v.data.capabilities.edit"},{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:comment","path":"v.data.capabilities.edit.latestRevision"}],"byValue":true},"tabindex":"-1","onundotranslation":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"c.handleUndoTranslationEvent"},"data-id":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:comment","path":"v.data.id"},"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"cuf-commentItem slds-comment slds-media \",cmp.get(\"v.commentCssClass\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.commentCssClass"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"article"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-media__figure cuf-commentAvatarWrapper entityLinkCommentImageHover"}},"tag":{"descriptor":"tag","value":"div"}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-media__body"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"comment__header slds-media slds-media--center"}},"tag":{"descriptor":"tag","value":"header"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-grid slds-grid--align-spread slds-has-flexi-truncate preventGridVerticalStretch"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-has-flexi-truncate"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-truncate cuf-commentNameLink slds-has-flexi-truncate"}},"tag":{"descriptor":"tag","value":"p"}}}},{"componentDef":{"descriptor":"markup://feeds_timestamping:commentCreation","type":"module"},"attributes":{"values":{"showRelativeTimestamp":{"descriptor":"showRelativeTimestamp","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:comment","path":"v.showRelativeTimestamp"}},"lastEditedBy":{"descriptor":"lastEditedBy","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return ((!(fn.empty(cmp.get(\"v.data.capabilities.edit.lastEditedBy\")))&&!(fn.eq(cmp.get(\"v.data.user.id\"),cmp.get(\"v.data.capabilities.edit.lastEditedBy.id\"))))?cmp.get(\"v.data.capabilities.edit.lastEditedBy.displayName\"):null);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.data.user.id"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.data.capabilities.edit.lastEditedBy.displayName"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.data.capabilities.edit.lastEditedBy.id"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.data.capabilities.edit.lastEditedBy"}],"byValue":false}},"title":{"descriptor":"title","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v._formattedCreatedDateTime"}},"lastEditedDate":{"descriptor":"lastEditedDate","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:comment","path":"v.data.capabilities.edit.lastEditedDate"}},"class":{"descriptor":"class","value":"cuf-commentAge slds-text-body_small slds-p-top_xxx-small"},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.data.createdDate"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-badge flag-badge qe-flag-badge"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.flagText"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-assistive-text"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.flagAltText"}}}}}]}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.flagText"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://lightning:buttonMenu"},"localId":"actionMenu","attributes":{"values":{"menuAlignment":{"descriptor":"menuAlignment","value":"right"},"onfocus":{"descriptor":"onfocus","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"c.onOverflowFocus"}},"onselect":{"descriptor":"onselect","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"c.runAction"}},"iconSize":{"descriptor":"iconSize","value":"x-small"},"variant":{"descriptor":"variant","value":"bare"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:iteration"},"attributes":{"values":{"var":{"descriptor":"var","value":"item"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:menuItem"},"attributes":{"values":{"disabled":{"descriptor":"disabled","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"item.disabled"}},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"item.label"}},"title":{"descriptor":"title","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"item.label"}},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"item"}}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.actions"}}}}}]},"class":{"descriptor":"class","value":"cuf-commentActionButton"},"alternativeText":{"descriptor":"alternativeText","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"$Label.Feeds.CommentActionsTitle"}}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:buttonIcon"},"attributes":{"values":{"size":{"descriptor":"size","value":"small"},"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"c.handleOverflowClick"}},"variant":{"descriptor":"variant","value":"bare"},"iconName":{"descriptor":"iconName","value":"utility:down"},"type":{"descriptor":"type","value":"menu"},"class":{"descriptor":"class","value":"cuf-commentActionButton"},"alternativeText":{"descriptor":"alternativeText","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"$Label.Feeds.CommentActionsTitle"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"$Browser.isPhone"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return ((cmp.get(\"v._visibleActionCount\")>=1)&&fn.ne(cmp.get(\"v.feedDisplayConfig.contextUser.userType\"),\"Guest\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v._visibleActionCount"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.feedDisplayConfig.contextUser.userType"}],"byValue":false}}}}}]}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-comment__content"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:feedBodyText"},"attributes":{"values":{"isTopicsEnabled":{"descriptor":"isTopicsEnabled","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:comment","path":"v.isTopicsEnabled"}},"truncate":{"descriptor":"truncate","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v._truncate"}},"data":{"descriptor":"data","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.data.body"}},"onTruncatedMessageClick":{"descriptor":"onTruncatedMessageClick","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return ((cmp.get(\"v.feedDisplayConfig.commentsDisplayConfig.commentBodyTruncationLimit\")>0)?cmp.get(\"c.showFullBodyText\"):null);}","args":[{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:comment","path":"v.feedDisplayConfig.commentsDisplayConfig.commentBodyTruncationLimit"},{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:comment","path":"c.showFullBodyText"}],"byValue":true}},"communityId":{"descriptor":"communityId","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:comment","path":"v.communityId"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"answerHeader slds-m-vertical--x-small"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:icon"},"attributes":{"values":{"size":{"descriptor":"size","value":"x-small"},"class":{"descriptor":"class","value":"bestAnswerSelectedByIcon"},"key":{"descriptor":"key","value":"success"}}}},{"componentDef":{"descriptor":"markup://ui:outputText"},"attributes":{"values":{"class":{"descriptor":"class","value":"selectedAsBest slds-m-left--x-small"},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"$Label.QuestionFeedItem.BestAnswer"}}}}},{"componentDef":{"descriptor":"markup://aura:text"},"attributes":{"values":{"value":{"descriptor":"value","value":" "}}}},{"componentDef":{"descriptor":"markup://forceChatter:entityLink"},"attributes":{"values":{"data":{"descriptor":"data","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.feedItem.capabilities.questionAndAnswers.bestAnswerSelectedBy"}},"isEntityLinkHover":{"descriptor":"isEntityLinkHover","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.isEntityLinkHover"}},"communityId":{"descriptor":"communityId","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:comment","path":"v.communityId"}},"class":{"descriptor":"class","value":"bestAnswerSelectedBy"}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v._showBestAnswer"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"auxbodies slds-list_vertical"}},"tag":{"descriptor":"tag","value":"ul"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-item slds-p-bottom_x-small"}},"tag":{"descriptor":"tag","value":"li"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:feedAuxBody"},"attributes":{"values":{"mode":{"descriptor":"mode","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:comment","path":"v.feedDisplayConfig.commentsDisplayConfig.mode"}},"implementationComponent":{"descriptor":"implementationComponent","value":"forceChatter:feedAuxBodySharedPost"},"auxBodyDetail":{"descriptor":"auxBodyDetail","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:comment","path":"v.feedDisplayConfig.feedElementDisplayConfig.auxBodyDetail"}},"data":{"descriptor":"data","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:comment","path":"v.data"}},"contextUser":{"descriptor":"contextUser","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:comment","path":"v.feedDisplayConfig.commentsDisplayConfig.userContext"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v._isAuxBodyReady\")&&!(fn.empty(cmp.get(\"v.data.capabilities.feedEntityShare\"))));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v._isAuxBodyReady"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.data.capabilities.feedEntityShare"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-item slds-p-bottom_x-small"}},"tag":{"descriptor":"tag","value":"li"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:feedAuxBody"},"attributes":{"values":{"implementationComponent":{"descriptor":"implementationComponent","value":"forceChatter:feedAuxBodySharedRecord"},"auxBodyDetail":{"descriptor":"auxBodyDetail","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:comment","path":"v.feedDisplayConfig.feedElementDisplayConfig.auxBodyDetail"}},"data":{"descriptor":"data","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:comment","path":"v.data"}},"contextUser":{"descriptor":"contextUser","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:comment","path":"v.feedDisplayConfig.commentsDisplayConfig.userContext"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v._isAuxBodyReady\")&&!(fn.empty(cmp.get(\"v.data.capabilities.record\"))));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v._isAuxBodyReady"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.data.capabilities.record"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-item slds-p-bottom_x-small"}},"tag":{"descriptor":"tag","value":"li"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:feedAuxBody"},"attributes":{"values":{"implementationComponent":{"descriptor":"implementationComponent","value":"forceChatter:feedAuxBodyChatterExtensionInstancesContainer"},"auxBodyDetail":{"descriptor":"auxBodyDetail","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:comment","path":"v.feedDisplayConfig.feedElementDisplayConfig.auxBodyDetail"}},"data":{"descriptor":"data","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:comment","path":"v.data"}},"contextUser":{"descriptor":"contextUser","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:comment","path":"v.feedDisplayConfig.commentsDisplayConfig.userContext"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return ((cmp.get(\"v._isAuxBodyReady\")&&!(fn.empty(cmp.get(\"v.data.capabilities.extensions\"))))&&cmp.get(\"v.richTextConfig.isCommentExtensionsEnabled\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.data.capabilities.extensions"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v._isAuxBodyReady"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.richTextConfig.isCommentExtensionsEnabled"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-item slds-p-bottom_x-small"}},"tag":{"descriptor":"tag","value":"li"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:feedAuxBodyContentPost"},"attributes":{"values":{"auxBodyDetail":{"descriptor":"auxBodyDetail","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:comment","path":"v.feedDisplayConfig.feedElementDisplayConfig.auxBodyDetail"}},"data":{"descriptor":"data","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:comment","path":"v.data"}},"class":{"descriptor":"class","value":"commentContentPost"}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq(cmp.get(\"v.data.type\"),\"ContentComment\");}","args":[{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:comment","path":"v.data.type"}],"byValue":true}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"aside"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v._translationAttributionComponents"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v._isTranslated"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"comment__footer"}},"tag":{"descriptor":"tag","value":"footer"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-text-color_success slds-p-vertical_x-small verifiedBadge"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://feeds_answer_badging:companyVerified","type":"module"},"attributes":{"values":{"verifyingUserDisplayName":{"descriptor":"verifyingUserDisplayName","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.data.capabilities.verified.lastVerifiedByUser.displayName"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v._showCompanyVerifiedBadge"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://feeds_answer_badging:userVerified","type":"module"},"attributes":{"values":{"verifyingUserDisplayName":{"descriptor":"verifyingUserDisplayName","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.feedItem.capabilities.questionAndAnswers.bestAnswerSelectedBy.displayName"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v._showUserVerifiedBadge"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://feeds_answer_badging:companyAndUserVerified","type":"module"},"attributes":{"values":{"verifyingUserDisplayName":{"descriptor":"verifyingUserDisplayName","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.feedItem.capabilities.questionAndAnswers.bestAnswerSelectedBy.displayName"}},"verifyingCompanyUserDisplayName":{"descriptor":"verifyingCompanyUserDisplayName","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.data.capabilities.verified.lastVerifiedByUser.displayName"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v._showCompanyAndUserVerifiedBadge"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v._hasVerifiedBadge\")&&!(cmp.get(\"v._showVerifiedBadgesInline\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v._isInPendingState"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v._hasVerifiedBadge"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v._showVerifiedBadgesInline"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-list--horizontal slds-has-dividers--right slds-text-body--small wrap-list-items"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-item slds-text-color_success verifiedBadge"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://feeds_answer_badging:companyVerified","type":"module"},"attributes":{"values":{"verifyingUserDisplayName":{"descriptor":"verifyingUserDisplayName","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.data.capabilities.verified.lastVerifiedByUser.displayName"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v._showCompanyVerifiedBadge"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://feeds_answer_badging:userVerified","type":"module"},"attributes":{"values":{"verifyingUserDisplayName":{"descriptor":"verifyingUserDisplayName","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.feedItem.capabilities.questionAndAnswers.bestAnswerSelectedBy.displayName"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v._showUserVerifiedBadge"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://feeds_answer_badging:companyAndUserVerified","type":"module"},"attributes":{"values":{"verifyingUserDisplayName":{"descriptor":"verifyingUserDisplayName","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.feedItem.capabilities.questionAndAnswers.bestAnswerSelectedBy.displayName"}},"verifyingCompanyUserDisplayName":{"descriptor":"verifyingCompanyUserDisplayName","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.data.capabilities.verified.lastVerifiedByUser.displayName"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v._showCompanyAndUserVerifiedBadge"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v._hasVerifiedBadge\")&&cmp.get(\"v._showVerifiedBadgesInline\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v._hasVerifiedBadge"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v._showVerifiedBadgesInline"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://feeds_voting:positiveBallot","type":"module"},"attributes":{"values":{"class":{"descriptor":"class","value":"slds-item"},"vote":{"descriptor":"vote","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.data.capabilities.upDownVote.myVote"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v._allowVoting"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://feeds_liking:toggle","type":"module"},"attributes":{"values":{"class":{"descriptor":"class","value":"slds-item"},"isLiked":{"descriptor":"isLiked","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(fn.empty(cmp.get(\"v.data.myLike\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.data.myLike"}],"byValue":false}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(cmp.get(\"v._allowVoting\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v._allowVoting"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://feeds_replying:trigger","type":"module"},"attributes":{"values":{"class":{"descriptor":"class","value":"slds-item"}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.isReplyEnabled\")&&!(cmp.get(\"v._isConversationClosed\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.isReplyEnabled"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v._isConversationClosed"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://feeds_best_answer:toggle","type":"module"},"attributes":{"values":{"isSelected":{"descriptor":"isSelected","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq(cmp.get(\"v.feedItem.capabilities.questionAndAnswers.bestAnswer.id\"),cmp.get(\"v.data.id\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.feedItem.capabilities.questionAndAnswers.bestAnswer.id"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.data.id"}],"byValue":false}},"class":{"descriptor":"class","value":"slds-item"}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.feedItem.capabilities.questionAndAnswers.canCurrentUserSelectOrRemoveBestAnswer\")&&(!(cmp.get(\"v.feedItem.capabilities.close.isClosed\"))||cmp.get(\"v.feedItem.capabilities.close.canContextUserUpdateIsClosed\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.feedItem.capabilities.close.canContextUserUpdateIsClosed"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.feedItem.capabilities.questionAndAnswers.canCurrentUserSelectOrRemoveBestAnswer"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.feedItem.capabilities.close.isClosed"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-item cuf-likes"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://feeds_voting:votesUpCount","type":"module"},"attributes":{"values":{"votesUp":{"descriptor":"votesUp","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.data.capabilities.upDownVote.upVoteCount"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(cmp.get(\"v._allowVotesUpCountDetails\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v._allowVotesUpCountDetails"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://feeds_voting:votesUpCountWithDetails","type":"module"},"attributes":{"values":{"votesUp":{"descriptor":"votesUp","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.data.capabilities.upDownVote.upVoteCount"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v._allowVotesUpCountDetails"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v._allowVoting\")&&(cmp.get(\"v.data.capabilities.upDownVote.upVoteCount\")>0));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.data.capabilities.upDownVote.upVoteCount"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v._allowVoting"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-item cuf-likes"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://feeds_liking:count","type":"module"},"attributes":{"values":{"likes":{"descriptor":"likes","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.data.likes.total"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(cmp.get(\"v._allowLikesCountDetails\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v._allowLikesCountDetails"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://feeds_liking:countWithDetails","type":"module"},"attributes":{"values":{"likes":{"descriptor":"likes","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.data.likes.total"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v._allowLikesCountDetails"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (!(cmp.get(\"v._allowVoting\"))&&(cmp.get(\"v.data.likes.total\")>0));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v._allowVoting"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.data.likes.total"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onavailablelanguagesrequested":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"c.handleAvailableLanguagesRequested"},"ontranslate":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"c.handleTranslateEvent"},"onundotranslation":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"c.handleUndoTranslationEvent"},"class":"slds-item","ondisplayavailablelanguages":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"c.handleDisplayAvailableLanguages"}}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v._translationComponents"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v.showFeedsTranslationButton"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(cmp.get(\"v._isInPendingState\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:comment","path":"v._isInPendingState"}],"byValue":false}}}}}]}}}}]}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://force:sortFilterMenuItem",function(){/*$A.componentService.addComponentClass("markup://force:sortFilterMenuItem",function(){return{meta:{name:"force$sortFilterMenuItem","extends":"markup://ui:radioMenuItem"},controller:{select:function(a,b,d){!0===a.get("v.selected")&&d.toggleState(a);a.getSuper().select()}},helper:{toggleState:function(a){var b=a.get("v.isAscending");void 0==a.get("v.disableToggle")[a.get("v.value")]&&(b=!b,a.set("v.isAscending",b));this.updateDirection(a,b)},updateDirection:function(a,b){var d=b||a.get("v.isAscending"),
e=a.find("ascLabel").getElement(),f=a.find("descLabel").getElement(),c=a.find("arrowIcon").getElement();d?($A.util.addClass(c,"up"),$A.util.removeClass(c,"down"),$A.util.addClass(e,"visible"),$A.util.removeClass(f,"visible")):($A.util.addClass(c,"down"),$A.util.removeClass(c,"up"),$A.util.addClass(f,"visible"),$A.util.removeClass(e,"visible"))}}}});return {"xs":"I","descriptor":"markup://force:sortFilterMenuItem","st":{"descriptor":"css://force.sortFilterMenuItem","cl":"forceSortFilterMenuItem"},"su":"markup://ui:radioMenuItem","ad":[["body","aura://Aura.Component[]","G",false,[]],["class","aura://String","G",false],["dir","aura://String","I",false,"ltr"],["namespaceOverride","aura://String","I",false],["actionable","aura://Boolean","I",false,true],["role","aura://String","I",false,"menuitemradio"],["ariaDescribedBy","aura://String","PP",false,""],["value","aura://Object","PP",false,null],["visible","aura://Boolean","I",false,true],["selected","aura://Boolean","G",false,false],["type","aura://String","G",false],["label","aura://String","G",false],["hideMenuAfterSelected","aura://Boolean","G",false,false],["disabled","aura://Boolean","G",false,false],["isAscending","aura://Boolean","I",false,true],["disableToggle","aura://Map","I",false,{}],["ascLabel","aura://String","I",false,"Ascending"],["descLabel","aura://String","I",false,"Descending"]],"med":[{"name":"ui:select","xs":"I","action":"{!c.select}"},{"name":"ui:setFocus","xs":"I","action":"{!c.setFocus}"}],"re":[{"ed":"markup://ui:click","n":"click","xs":"G"},{"ed":"markup://ui:dblclick","n":"dblclick","xs":"G"},{"ed":"markup://ui:mousedown","n":"mousedown","xs":"G"},{"ed":"markup://ui:mousemove","n":"mousemove","xs":"G"},{"ed":"markup://ui:mouseout","n":"mouseout","xs":"G"},{"ed":"markup://ui:mouseover","n":"mouseover","xs":"G"},{"ed":"markup://ui:mouseup","n":"mouseup","xs":"G"},{"ed":"markup://ui:blur","n":"blur","xs":"G"},{"ed":"markup://ui:focus","n":"focus","xs":"G"},{"ed":"markup://ui:keydown","n":"keydown","xs":"G"},{"ed":"markup://ui:keypress","n":"keypress","xs":"G"},{"ed":"markup://ui:keyup","n":"keyup","xs":"G"},{"ed":"markup://ui:select","n":"select","xs":"G"},{"ed":"markup://ui:menuSelect","n":"menuSelect","xs":"PP"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"label truncate"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"force:sortFilterMenuItem","path":"v.label"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"stateIndicator"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"indicatorBox"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"arrowSpan","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"indicatorArrow"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:icon"},"localId":"arrowIcon","attributes":{"values":{"class":{"descriptor":"class","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add((cmp.get(\"v.isAscending\")?\"up\":\"down\"),\" indicatorArrowIcon\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:sortFilterMenuItem","path":"v.isAscending"}],"byValue":false}},"key":{"descriptor":"key","value":"back"}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"ascLabel","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add((cmp.get(\"v.isAscending\")?\"visible\":\"\"),\" indicatorLabel\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:sortFilterMenuItem","path":"v.isAscending"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"force:sortFilterMenuItem","path":"v.ascLabel"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"descLabel","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add((cmp.get(\"v.isAscending\")?\"\":\"visible\"),\" indicatorLabel\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:sortFilterMenuItem","path":"v.isAscending"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"force:sortFilterMenuItem","path":"v.descLabel"}}}}}]}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://ui:inputRadio",function(){/*$A.componentService.addComponentClass("markup://ui:inputRadio",function(){return{meta:{name:"ui$inputRadio","extends":"markup://ui:input"},controller:{handleOnBlur:function(a,b){a.set("v.value",(b.target||b.srcElement).checked)}},helper:{getDomElementValue:function(a){return a.checked}}}});return {"xs":"G","descriptor":"markup://ui:inputRadio","st":{"descriptor":"css://ui.inputRadio","cl":"uiInputRadio"},"su":"markup://ui:input","ad":[["body","aura://Aura.Component[]","G",false,[]],["disableDoubleClicks","aura://Boolean","I",false,false],["class","aura://String","G",false],["dir","aura://String","I",false,"ltr"],["namespaceOverride","aura://String","I",false],["actionable","aura://Boolean","I",false,true],["role","aura://String","I",false],["ariaDescribedBy","aura://String","I",false,""],["value","aura://Boolean","G",false,false],["visible","aura://Boolean","I",false,true],["showErrors","aura://Boolean","PP",false,true],["errors","aura://Object[]","G",false,[]],["errorComponent","aura://Aura.Component[]","I",false,[]],["fieldHelpComponent","aura://Aura.Component[]","I",false,[]],["type","aura://String","PP",false],["isCompound","aura://Boolean","I",false,false],["required","aura://Boolean","G",false,false],["updateOn","aura://String","G",false,"change"],["updateOnDisabled","aura://Boolean","I",false,false],["label","aura://String","G",false],["labelClass","aura://String","G",false,""],["labelPosition","aura://String","PP",false,"left"],["labelTitle","aura://String","I",false],["useSpanLabel","aura://Boolean","I",false,false],["requiredIndicatorClass","aura://String","G",false,""],["disabled","aura://Boolean","G",false,false],["domId","aura://String","PP",false],["requiredIndicator","aura://Aura.Component[]","I",false,[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"title":{"exprType":"PROPERTY","byValue":false,"target":"ui:input","path":"$Label.LightningControl.required"},"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"required \",cmp.get(\"v.requiredIndicatorClass\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"ui:input","path":"v.requiredIndicatorClass"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:text"},"attributes":{"values":{"value":{"descriptor":"value","value":"*"}}}}]}}}}]],["name","aura://String","G",false],["text","aura://String","G",false]],"med":[{"name":"ui:focus","xs":"I"}],"i":["markup://ui:inputBaseOption"],"re":[{"ed":"markup://ui:click","n":"click","xs":"G"},{"ed":"markup://ui:dblclick","n":"dblclick","xs":"G"},{"ed":"markup://ui:mousedown","n":"mousedown","xs":"G"},{"ed":"markup://ui:mousemove","n":"mousemove","xs":"G"},{"ed":"markup://ui:mouseout","n":"mouseout","xs":"G"},{"ed":"markup://ui:mouseover","n":"mouseover","xs":"G"},{"ed":"markup://ui:mouseup","n":"mouseup","xs":"G"},{"ed":"markup://ui:blur","n":"blur","xs":"G"},{"ed":"markup://ui:focus","n":"focus","xs":"G"},{"ed":"markup://ui:keydown","n":"keydown","xs":"G"},{"ed":"markup://ui:keypress","n":"keypress","xs":"G"},{"ed":"markup://ui:keyup","n":"keyup","xs":"G"},{"ed":"markup://ui:select","n":"select","xs":"G"},{"ed":"markup://ui:inputEvent","n":"input","xs":"I"},{"ed":"markup://ui:cut","n":"cut","xs":"G"},{"ed":"markup://ui:validationError","n":"onError","xs":"G"},{"ed":"markup://ui:clearErrors","n":"onClearErrors","xs":"G"},{"ed":"markup://ui:change","n":"change","xs":"G"},{"ed":"markup://ui:copy","n":"copy","xs":"G"},{"ed":"markup://ui:paste","n":"paste","xs":"G"},{"ed":"markup://ui:updateError","n":"updateError","xs":"I"}],"ld":{"radio":{"isPrimitive":true}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"radio","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onblur":{"exprType":"PROPERTY","byValue":false,"target":"ui:inputRadio","path":"c.handleOnBlur"},"aria-describedby":{"exprType":"PROPERTY","byValue":false,"target":"ui:inputRadio","path":"v.ariaDescribedBy"},"name":{"exprType":"PROPERTY","byValue":false,"target":"ui:inputRadio","path":"v.name"},"checked":{"exprType":"PROPERTY","byValue":false,"target":"ui:inputRadio","path":"v.value"},"disabled":{"exprType":"PROPERTY","byValue":false,"target":"ui:inputRadio","path":"v.disabled"},"id":{"exprType":"PROPERTY","byValue":false,"target":"ui:inputRadio","path":"v.domId"},"type":"radio","class":{"exprType":"PROPERTY","byValue":false,"target":"ui:inputRadio","path":"v.class"},"value":{"exprType":"PROPERTY","byValue":false,"target":"ui:inputRadio","path":"v.text"}}},"tag":{"descriptor":"tag","value":"input"}}}}]}],"df":"default, radio","css":true}*/});
$A.componentService.addComponent("markup://forceChatter:scroller",function(){/*$A.componentService.addComponentClass("markup://forceChatter:scroller",function(){return{meta:{name:"forceChatter$scroller","extends":"markup://aura:component",imports:{scrollerPluginLib:"markup://one:scrollerPluginLibrary",feedLib:"markup://forceChatter:feedLib",pageLoadCoordination:"markup://forceChatter:pageLoadCoordinationService",recordUtils:"markup://force:recordUiUtils"}},controller:{doInit:function(a,b,c){c.resetState(a)},handleRender:function(a,b,c){if(!a._hasRendered){a._hasRendered=!0;
b=a.get("v.footer");if($A.util.lookup(b,0)&&(b=b[0].getElement())){b=$A.util.style.getCSSProperty(b,"height");var d=a.find("scrollerContainer");!$A.util.isUndefinedOrNull(d)&&!$A.util.isUndefinedOrNull(b)&&(d.getElement().style.paddingBottom=b)}a.get("v.enableInfiniteScroll")&&c.initInfiniteScroller(a)}if(a._loadMoreObserver){c=a.find("loadMoreTrigger");Array.isArray(c)&&(c=c[0]);var e;c&&(e=c.getElement());a._loadMoreTriggerElement!==e&&(a._loadMoreObserver.disconnect(),(a._loadMoreTriggerElement=
e)&&a._loadMoreObserver.observe(e))}},handleDestruction:function(a){a._loadMoreObserver&&(a._loadMoreObserver.disconnect(),a._loadMoreTriggerElement=null)},handleShowMore:function(a,b,c){c.doShowMore(a)},handleNoMoreContent:function(a,b,c){c.hideLoadingSpinner(a)},scrollTo:function(a,b){var c=a.find("scroller");c?c.getEvent("scrollTo").setParams({destination:b.getParam("destination")}).fire():"top"===b.getParam("destination")&&window.scroll(0,0)}},helper:{initInfiniteScroller:function(a){var b=this;
b._updateLoadMoreButton(a);a.addHandler("noMoreContent",a,"c.handleNoMoreContent");a.set("v._state.active",!0);var c;"POSITIONAL"===a.get("v.onLoadMoreStrategy")&&(c=b.pageLoadCoordination.service.waitForPageLoad());a._loadMoreObserver=new b.recordUtils.IntersectionObserverCompat($A.getCallback(function(d){d[0].isIntersecting&&b.canAutomaticallyShowMore(a)&&(void 0!==c?c.then($A.getCallback(function(){b.showLoadingSpinner(a);b.doShowMore(a)})):(b.showLoadingSpinner(a),b.doShowMore(a)))}))},resetState:function(a){a.set("v._state",
{active:!1,isLoading:!1,pages:0})},canAutomaticallyShowMore:function(a){if(!a.isValid())return!1;var b=a.get("v.enableLoadMoreButton"),c=a.get("v.canShowMore");a=a.get("v._state.isLoading");return!b&&c&&!a},doShowMore:function(a){!a.get("v._state.isLoading")&&(a.get("v.canShowMore")&&!a.get("v._feedRefreshing"))&&(a.set("v._state.isLoading",!0),$A.metricsService.transaction("ltng","interaction",{context:{eventSource:"synthetic-scroll",eventType:"system",locator:{target:"load-more",scope:"feed"}}}),
a.get("v.enableFeedCaching")&&this.updatePageReference(a),a.get("v.onShowMore").run($A.getCallback(function(){a.set("v._state.pages",a.get("v._state.pages")+1);a.set("v._state.isLoading",!1);this._updateLoadMoreButton(a);this.hideLoadingSpinner(a);a.getEvent("itemsLoaded").fire()}.bind(this))))},_updateLoadMoreButton:function(a){a.get("v.enableInfiniteScroll")&&(5===a.get("v._state.pages")?a.set("v.enableLoadMoreButton",!0):a.set("v.enableLoadMoreButton",!1))},refreshScroller:function(a,b){a.set("v._feedRefreshing",
b);!b&&a.get("v.enableInfiniteScroll")&&(a.set("v._state.active",!0),a.set("v._state.pages",0),this._updateLoadMoreButton(a))},showLoadingSpinner:function(a){(a=a.find("loadingSpinner"))&&$A.util.removeClass(a,"hideSpinner")},hideLoadingSpinner:function(a){(a=a.find("loadingSpinner"))&&$A.util.addClass(a,"hideSpinner")},updatePageReference:function(a){var b=JSON.parse(JSON.stringify(a.get("v.pageReference")));b.state.viewMore=b.state.viewMore?(parseInt(b.state.viewMore)+1).toString():"1";var c=a.find("navService");
c?c.navigate(b,!0):$A.createComponent("lightning:navigation",{"aura:id":"navService"},function(c){a.set("v.navigationService",[c]);c.navigate(b,!0)})}}}});return {"xs":"I","descriptor":"markup://forceChatter:scroller","st":{"descriptor":"css://forceChatter.scroller","cl":"forceChatterScroller"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["_state","aura://Object","I",false,null],["enabled","aura://Boolean","I",false,true],["onShowMore","aura://Aura.Action","I",false,null],["canShowMore","aura://Boolean","I",false,true],["scrollToBottomThreshold","aura://Integer","I",false,200],["footer","aura://Aura.Component[]","I",false,[]],["suppressFooter","aura://Boolean","I",false],["header","aura://Aura.Component[]","I",false,[]],["onRefresh","aura://Aura.Action","I",false,null],["extendedPullContent","aura://Aura.Component[]","I",false,[]],["_feedRefreshing","aura://Boolean","I",false,false],["enableLoadMoreButton","aura://Boolean","I",false,true],["enableInfiniteScroll","aura://Boolean","I",false,false],["onLoadMoreStrategy","aura://String","I",false,"DEFAULT"],["enableFeedCaching","aura://Boolean","I",false,false],["navigationService","aura://Aura.Component[]","I",false,[]],["pageReference","aura://Map","p",false,null],["onScrollMove","aura://Aura.Action","I",false,null]],"re":[{"ed":"markup://ui:load","n":"itemsLoaded","xs":"I"},{"ed":"markup://ui:scrollTo","n":"scrollTo","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.scrollTo"},"n":"scrollTo"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.doInit"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleRender"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"render"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleDestruction"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"destroy"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"v.navigationService"}}}}},{"componentDef":{"descriptor":"markup://force:pageInfo"},"attributes":{"values":{"pageReference":{"descriptor":"pageReference","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"v.pageReference"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"v.enableFeedCaching"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"v.header"}}}}},{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"v.extendedPullContent"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"scrollBody","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"resizeCaptureFrameWrapper"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"v.body"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"loadMoreTrigger","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"loadMoreTrigger"}},"tag":{"descriptor":"tag","value":"div"}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return ((!(cmp.get(\"v.enableLoadMoreButton\"))&&cmp.get(\"v.canShowMore\"))&&!(cmp.get(\"v._state.isLoading\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"v.canShowMore"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"v.enableLoadMoreButton"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"v._state.isLoading"}],"byValue":false}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-showMoreContainer slds-var-p-vertical_x-small"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:button"},"localId":"showMore","attributes":{"values":{"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"c.handleShowMore"}},"variant":{"descriptor":"variant","value":"neutral"},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"$Label.Feeds.ViewMore"}},"ariaLabel":{"descriptor":"ariaLabel","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"$Label.Feeds.ViewMoreAltText"}},"class":{"descriptor":"class","value":"cuf-showMore slds-button"}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"v.enableLoadMoreButton"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"loadingSpinner","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-grid slds-grid--align-center hideSpinner"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-media slds-media--center"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-media__figure"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:inlineSpinner"},"localId":"loadingIndicator"}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-media__body"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:outputText"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"$Label.Global.loading"}}}}}]}}}}]}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.enableInfiniteScroll\")&&!(cmp.get(\"v.enableLoadMoreButton\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"v.enableInfiniteScroll"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"v.enableLoadMoreButton"}],"byValue":false}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.canShowMore\")&&!(cmp.get(\"v._feedRefreshing\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"v.canShowMore"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"v._feedRefreshing"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"v.footer"}}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"scrollerContainer","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"centerUiBody\",((!(cmp.get(\"v.suppressFooter\"))&&(cmp.get(\"v.footer.length\")>0))?\" hasFooter\":\"\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"v.footer.length"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"v.suppressFooter"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"centerUiContent"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:scroller"},"localId":"scroller","attributes":{"values":{"useNativeScroller":{"descriptor":"useNativeScroller","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return ($A.get(\"$Browser.isWindowsPhone\")||$A.get(\"$Browser.S1Features.useNativeScroller\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"$Browser.isWindowsPhone"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"$Browser.S1Features.useNativeScroller"}],"byValue":false}},"infiniteLoading":{"descriptor":"infiniteLoading","value":true},"pullToRefreshUpdating":{"descriptor":"pullToRefreshUpdating","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"$Label.Content.Updating"}},"plugins":{"descriptor":"plugins","value":"ActionBar"},"canShowMore":{"descriptor":"canShowMore","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"v.canShowMore"}},"pullToRefreshRelease":{"descriptor":"pullToRefreshRelease","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"$Label.Content.ReleaseToRefresh"}},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"v.extendedPullContent"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"resizeCaptureFrameWrapper"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"v.body"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"loadMoreTrigger","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"loadMoreTrigger"}},"tag":{"descriptor":"tag","value":"div"}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return ((!(cmp.get(\"v.enableLoadMoreButton\"))&&cmp.get(\"v.canShowMore\"))&&!(cmp.get(\"v._state.isLoading\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"v.canShowMore"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"v.enableLoadMoreButton"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"v._state.isLoading"}],"byValue":false}}}}}]}}}}]},"onScrollMove":{"descriptor":"onScrollMove","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"v.onScrollMove"}},"bindEventsToScroller":{"descriptor":"bindEventsToScroller","value":true},"infiniteLoadingDataProvider":{"descriptor":"infiniteLoadingDataProvider","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:scroller","path":"v.onShowMore"}},"infiniteLoadingThreshold":{"descriptor":"infiniteLoadingThreshold","value":0},"class":{"descriptor":"class","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\" centerUiScroller\",($A.get(\"$Browser.S1Features.useNativeScroller\")?\" scrollY\":\"\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"$Browser.S1Features.useNativeScroller"}],"byValue":false}},"onPullToRefresh":{"descriptor":"onPullToRefresh","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"v.onRefresh"}},"useCSSTransition":{"descriptor":"useCSSTransition","value":false},"pullToRefreshPull":{"descriptor":"pullToRefreshPull","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"$Label.Content.PullToRefresh"}},"pullToRefreshClick":{"descriptor":"pullToRefreshClick","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"$Label.Content.TapToRefresh"}}}}}]}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"centerUiHeader"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"v.header"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.header.length\")>0);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"v.header.length"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"centerUiFooter"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"v.footer"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (!(cmp.get(\"v.suppressFooter\"))&&(cmp.get(\"v.footer.length\")>0));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"v.footer.length"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"v.suppressFooter"}],"byValue":false}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:scroller","path":"v.enabled"}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceTopic:simpleTopicAssignments",function(){/*$A.componentService.addComponentClass("markup://forceTopic:simpleTopicAssignments",function(){return{meta:{name:"forceTopic$simpleTopicAssignments","extends":"markup://aura:component"},controller:{showFullTopicList:function(b,c){b.set("v.topicsToDisplay",b.get("v.topics"));var a=b.getElement().getElementsByTagName("li"),a=a[a.length-1];a.parentNode.removeChild(a)}},renderer:{render:function(b){var c=b.get("v.topics"),a=[],e=3;"PHONE"===$A.get("$Browser").formFactor&&(e=2);if(c.length>e)for(var d=
0;d<e;d++)a[d]=c[d];else a=c;b.set("v.topicsToDisplay",a);c=c.length-a.length;0<c&&(b.set("v.relatedTopicsAvailable","true"),b.set("v.moreLabel",$A.get("$Label.Feeds_QuestionPost.PlusMoreTopics").replace("{0}",c)));return b.superRender()}}}});return {"xs":"I","descriptor":"markup://forceTopic:simpleTopicAssignments","st":{"descriptor":"css://forceTopic.simpleTopicAssignments","cl":"forceTopicSimpleTopicAssignments"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["topics","aura://List","I",false,[]],["recordId","aura://String","I",false],["topicsToDisplay","aura://List","I",false,[]],["maxChars","aura://Integer","I",false,27],["relatedTopicsAvailable","aura://Boolean","I",false,false],["moreLabel","aura://String","I",false,"default More"],["inS1","aura://Boolean","I",false,false]],"ld":{"navigateToSingleTopic":{},"moreLabel":{}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"overflowingTopicContainer","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"topic-topicContainer"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:icon"},"attributes":{"values":{"class":{"descriptor":"class","value":"topic-topicIcon"},"key":{"descriptor":"key","value":"topic"}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"topic-commaSeparatedList"}},"tag":{"descriptor":"tag","value":"ul"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:iteration"},"attributes":{"values":{"var":{"descriptor":"var","value":"topic"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"li"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceTopic:simpleTopicAssignmentItem"},"localId":"navigateToSingleTopic","attributes":{"values":{"topicId":{"descriptor":"topicId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceTopic:simpleTopicAssignments","path":"topic.id"}},"inS1":{"descriptor":"inS1","value":{"exprType":"PROPERTY","byValue":false,"target":"forceTopic:simpleTopicAssignments","path":"v.inS1"}},"topicName":{"descriptor":"topicName","value":{"exprType":"PROPERTY","byValue":false,"target":"forceTopic:simpleTopicAssignments","path":"topic.name"}}}}}]}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"forceTopic:simpleTopicAssignments","path":"v.topicsToDisplay"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"moreLi"}},"tag":{"descriptor":"tag","value":"li"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"moreLabel","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onclick":{"exprType":"PROPERTY","byValue":false,"target":"forceTopic:simpleTopicAssignments","path":"c.showFullTopicList"},"class":"moreLabel"}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceTopic:simpleTopicAssignments","path":"v.moreLabel"}}}}}]}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceTopic:simpleTopicAssignments","path":"v.relatedTopicsAvailable"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.topicsToDisplay.length\")>0);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceTopic:simpleTopicAssignments","path":"v.topicsToDisplay.length"}],"byValue":false}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://emailStream:iconLabel",function(){/*$A.componentService.addComponentClass("markup://emailStream:iconLabel",function() {
return {
  "meta":{
    "name":"emailStream$iconLabel",
    "extends":"markup://aura:component"
  }
};
});
return {"xs":"I","descriptor":"markup://emailStream:iconLabel","st":{"descriptor":"css://emailStream.iconLabel","cl":"emailStreamIconLabel"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["key","aura://String","I",false],["iconClass","aura://String","I",false],["labelClass","aura://String","I",false,""],["label","aura://String","I",false,"slds-col"],["tooltip","aura://String","I",false],["subtitle","aura://String","I",false]],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-grid slds-nowrap"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:icon","type":"module"},"attributes":{"values":{"size":{"descriptor":"size","value":"x-small"},"iconName":{"descriptor":"iconName","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"utility:\",cmp.get(\"v.key\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"emailStream:iconLabel","path":"v.key"}],"byValue":false}},"class":{"descriptor":"class","value":{"exprType":"PROPERTY","byValue":false,"target":"emailStream:iconLabel","path":"v.iconClass"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-col labelText"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"title":{"exprType":"PROPERTY","byValue":false,"target":"emailStream:iconLabel","path":"v.tooltip"},"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"stackable \",cmp.get(\"v.labelClass\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"emailStream:iconLabel","path":"v.labelClass"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"emailStream:iconLabel","path":"v.label"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"stackable subtitle"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"emailStream:iconLabel","path":"v.subtitle"}}}}}]}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:feedItemFullView",function(){/*$A.componentService.addComponentClass("markup://forceChatter:feedItemFullView",function(){return{meta:{name:"forceChatter$feedItemFullView","extends":"markup://forceChatter:feedElementFullView",imports:{feedLib:"markup://forceChatter:feedLib",chatterExtensions:"markup://forceChatter:chatterExtensionsService",communitiesSiteDetector:"markup://forceChatter:communitiesSiteDetectionService",chatterHomeStateLib:"markup://forceChatter:chatterHomeState",feedDataCache:"markup://feeds_caching:lib"}},controller:{init:function(a,
b,c){a.set("v._isInCommunitiesContext",c.communitiesSiteDetector.service.isRunningInCommunitiesSite);var e=$A.getCallback(function(){a.isValid()&&c.feedLib.util.initModel(a,"c.getModel",{commentSortOrder:"CreatedDateLatestAsc",feedItemId:a.get("v.feedElementId"),feedType:a.get("v.feedType"),feedDesign:a.get("v.feedDesign"),retrieveOnlyTopLevelThreadedComments:!1,threadedCommentSortOrder:c.communitiesSiteDetector.service.isRunningInCommunitiesSite?"CreatedDateOldestAsc":"CreatedDateLatestAsc"},function(){function b(a){var c=
a||"";0<c.length&&(a=c.substring(0,15));return a}a.set("v._errorMessage",a.get("v.model.errorMessage"));a.set("v._isChatterEnabled",a.get("v.model.isChatterEnabled"));var c=b(a.get("v.feedElementId"))||"",d=b(a.get("v.model.feedItem.id"))||"";c!==d&&(d=(a.get("v.model.comments.items")||[]).reduce(function(a,d){if(void 0!==a)return a;if(b(d.id)===c)return d.id},void 0),void 0!==d&&(a.set("v._initiallyFocusedCommentId",d),a.set("v._commentPagingMode","PreviousNext")));d="Draft"===$A.util.lookup(a.get("v.model.feedItem"),
"capabilities","status","feedEntityStatus");(a.helper.feedLib.util.isPendingReview(a.get("v.model.feedItem"))||d)&&a.set("v.suppressCommentInput",!0);$A.util.lookup(a.get("v.model.feedItem"),"capabilities","close","isClosed")&&a.set("v.suppressCommentInput",!0);a.get("v.showGroupMentionVisibility")&&(d=a.get("v.model.contextualMessages"),d.push($A.get("$Label.Feeds.CUFCommentPostAtmentionPrivateGroupMsg")),a.set("v.model.contextualMessages",d));var d=a.get("v.model.feedItem.header.text"),e=$A.getEvt("markup://force:setTitle");
e&&e.setParams({title:d,icon:"standard:feed"}).fire()},function(a,b){"INCOMPLETE"===a?$A.getEvt("markup://force:showOfflineMessage").setParams({retryFunction:e}).fire():c.feedLib.util.fireActionErrorMessage(b)})});setTimeout(e,0)},onModelUpdated:function(a,b,c){b=b.getParam("oldValue");a.get("v.model.extensionMetadata")&&$A.util.isUndefinedOrNull(b)&&c.chatterExtensions.service.addChatterExtensionMetadata(a.get("v.model.extensionMetadata"))},handleDelegatedEvent:function(a,b,c){b=b.getParam("event");
$A.assert($A.util.isObject(b),"The wrapped event must be an object");c.handleEvent(a,b)},refresh:function(a,b,c){$A.getEvt("markup://force:refreshView").fire()}},helper:{handleEvent:function(a,b){if(a.isValid()){var c=b.getDef().getDescriptor(),c="handle_{1}_{2}".replace("{1}",c.getNamespace()).replace("{2}",c.getName());if($A.util.isFunction(this[c]))this[c](a,b)}},handle_forceChatter_feedItemDeleted:function(a,b){var c=this.sfdcLib.Records.to18(a.get("v.feedElementId"));b.getParam("feedItemId")===
c&&(this.feedDataCache.default.clearCache(),$A.getEvt("markup://force:navigateBack").fire())},handle_forceChatter_feedItemUpdated:function(a,b){var c=b.getParam("data"),e=this.sfdcLib.Records.to18(a.get("v.feedElementId"));c.id===e&&$A.getEvt("markup://force:refreshView").fire()},handle_forceChatter_postCreated:function(a,b){!0===b.getParam("showDraftPublishedToast")&&(this.chatterHomeStateLib.state.navigateToFeed("me","news"),$A.getEvt("markup://force:showToast").setParams({message:$A.get("$Label.Feeds.DraftPublishedConfirmation"),
isClosable:!0,type:"success"}).fire())},liveTimestamps:function(a,b){clearInterval(a.liveTimestampInterval);a.liveTimestampInterval=setInterval($A.getCallback(function(){b.feedLib.util.updateTimestamp(a)}),6E4)}},renderer:{afterRender:function(a,b){a.superAfterRender();$A.get("$Browser.isDesktop")&&b.liveTimestamps(a,b)}}}});return {"xs":"I","descriptor":"markup://forceChatter:feedItemFullView","st":{"descriptor":"css://forceChatter.feedItemFullView","cl":"forceChatterFeedItemFullView"},"cd":{"descriptor":"compound://forceChatter.feedItemFullView","ac":[{"n":"getModel","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemFullViewController/ACTION$getModel","at":"SERVER","rt":"java://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemFullViewModel","pa":[{"name":"feedItemId","type":"java://java.lang.String"},{"name":"feedType","type":"java://java.lang.String"},{"name":"feedDesign","type":"java://java.lang.String"},{"name":"retrieveOnlyTopLevelThreadedComments","type":"java://boolean"},{"name":"commentSortOrder","type":"java://java.lang.String"},{"name":"threadedCommentSortOrder","type":"java://java.lang.String"}]}]},"su":"markup://forceChatter:feedElementFullView","ad":[["body","aura://Aura.Component[]","G",false,[]],["feedDesign","aura://String","I",false,"BROWSE"],["windowViewMode","aura://String","I",false,"normal"],["model","aura://Object","I",false,null],["_initialized","aura://Boolean","I",false,false],["feedElementId","aura://String","I",true],["showGroupMentionVisibility","aura://Boolean","I",false,false],["feedType","aura://String","I",false],["requireScroller","aura://Boolean","I",false,false],["isReadOnly","aura://Boolean","I",false,false],["insideScroller","aura://Boolean","I",false,false],["_isChatterEnabled","aura://Boolean","I",false,false],["_errorMessage","aura://String","I",false],["suppressCommentInput","aura://Boolean","I",false,false],["_initiallyFocusedCommentId","aura://String","p",false],["_commentPagingMode","aura://String","p",false,"More"],["_isInCommunitiesContext","aura://Boolean","p",false,false]],"med":[{"name":"force:reflow","xs":"I","action":"{!c.reflow}"}],"re":[{"ed":"markup://force:windowUpdate","n":"windowUpdate","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onModelUpdated"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.model"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"ed":{"descriptor":"markup://forceChatter:feedUpdated"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleDelegatedEvent"}}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:scroller"},"localId":"scroller","attributes":{"values":{"suppressFooter":{"descriptor":"suppressFooter","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.ne(cmp.get(\"v.model.feedConfig.feedDisplayConfig.commentsDisplayConfig.commentInputStyle\"),\"BOTTOM\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItemFullView","path":"v.model.feedConfig.feedDisplayConfig.commentsDisplayConfig.commentInputStyle"}],"byValue":false}},"onRefresh":{"descriptor":"onRefresh","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItemFullView","path":"c.refresh"}},"footer":{"descriptor":"footer","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:feedCommentInput"},"attributes":{"values":{"feedItemParentId":{"descriptor":"feedItemParentId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItemFullView","path":"v.model.feedItem.parent.id"}},"isTopicsEnabled":{"descriptor":"isTopicsEnabled","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItemFullView","path":"v.model.isTopicsEnabled"}},"commentsDisplayConfig":{"descriptor":"commentsDisplayConfig","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItemFullView","path":"v.model.feedConfig.feedDisplayConfig.commentsDisplayConfig"}},"feedType":{"descriptor":"feedType","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItemFullView","path":"v.feedType"}},"contextUser":{"descriptor":"contextUser","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItemFullView","path":"v.model.feedConfig.feedDisplayConfig.contextUser"}},"richTextConfig":{"descriptor":"richTextConfig","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItemFullView","path":"v.model.feedConfig.richTextConfig"}},"feedItemVisibility":{"descriptor":"feedItemVisibility","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItemFullView","path":"v.model.feedItem.visibility"}},"feedItemId":{"descriptor":"feedItemId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItemFullView","path":"v.model.feedItem.id"}},"class":{"descriptor":"class","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v._isInCommunitiesContext\")?\"slds-p-top_medium\":\"\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItemFullView","path":"v._isInCommunitiesContext"}],"byValue":false}},"feedItemModifiedDate":{"descriptor":"feedItemModifiedDate","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItemFullView","path":"v.model.feedItem.modifiedDate"}},"feedItemType":{"descriptor":"feedItemType","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItemFullView","path":"v.model.feedItem.type"}},"contextualMessages":{"descriptor":"contextualMessages","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItemFullView","path":"v.model.contextualMessages"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.eq(cmp.get(\"v.model.feedConfig.feedDisplayConfig.commentsDisplayConfig.commentInputStyle\"),\"BOTTOM\")&&!(cmp.get(\"v.suppressCommentInput\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItemFullView","path":"v.suppressCommentInput"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItemFullView","path":"v.model.feedConfig.feedDisplayConfig.commentsDisplayConfig.commentInputStyle"}],"byValue":false}}}}}]},"canShowMore":{"descriptor":"canShowMore","value":false},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-singleFeedItemWrapper"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:feedItem"},"attributes":{"values":{"initiallyFocusedCommentId":{"descriptor":"initiallyFocusedCommentId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItemFullView","path":"v._initiallyFocusedCommentId"}},"comments":{"descriptor":"comments","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItemFullView","path":"v.model.comments"}},"data":{"descriptor":"data","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItemFullView","path":"v.model.feedItem"}},"feedType":{"descriptor":"feedType","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItemFullView","path":"v.feedType"}},"topRankedComments":{"descriptor":"topRankedComments","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItemFullView","path":"v.model.topRankedComments"}},"feedDesign":{"descriptor":"feedDesign","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItemFullView","path":"v.feedDesign"}},"showGroupMentionVisibility":{"descriptor":"showGroupMentionVisibility","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItemFullView","path":"v.showGroupMentionVisibility"}},"isTopicsEnabled":{"descriptor":"isTopicsEnabled","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItemFullView","path":"v.model.isTopicsEnabled"}},"commentPagingMode":{"descriptor":"commentPagingMode","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItemFullView","path":"v._commentPagingMode"}},"canCommentsRequestReplies":{"descriptor":"canCommentsRequestReplies","value":false},"isReadOnly":{"descriptor":"isReadOnly","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItemFullView","path":"v.isReadOnly"}},"commentActions":{"descriptor":"commentActions","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItemFullView","path":"v.model.commentActions"}},"initiallyFocusedCommentCssClass":{"descriptor":"initiallyFocusedCommentCssClass","value":"initially-focused-comment"},"config":{"descriptor":"config","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedItemFullView","path":"v.model.feedConfig"}}}}}]}}}}]},"enabled":{"descriptor":"enabled","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItemFullView","path":"v.requireScroller"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v._initialized\")&&fn.empty(cmp.get(\"v.model.errorMessage\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItemFullView","path":"v._initialized"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItemFullView","path":"v.model.errorMessage"}],"byValue":false}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://ui:dataGrid",function(){/*$A.componentService.addComponentClass("markup://ui:dataGrid",function(){return{meta:{name:"ui$dataGrid","extends":"markup://ui:abstractDataGrid"},controller:{init:function(a,b,c){a._hasDataProvider=a._dataProviders&&0<a._dataProviders.length;if(a._hasDataProvider&&(b=a._dataProviders[0].get("v.modelItemsKey")))b=a.get("v.dataProvider.0").get("m."+b),a.set("v.items",b,!0);c.initializeCaches(a);c.initializeNewColumns(a,function(){c.updateTableData(a,c.createRowData(a))});c.updateColumnAttributes(a)},
handleItemsChange:function(a,b,c){a.isRendered()?c.handleItemsChange(a,b.getParams()):c.updateTableData(a,c.createRowData(a));c.updateColumnAttributes(a)},handleColumnsChange:function(a,b,c){c.initializeNewColumns(a,function(){c.updateTableData(a,c.createRowData(a))})},handleColumnSortChange:function(a,b){b&&a.getSuper().set("v.sortBy",b)},handleClick:function(a,b,c){if(b.target){var d=$A.util.getDataAttribute(b.target,"action-name");d&&c.handleAction(a,{name:d,index:$A.util.getDataAttribute(b.target,
"item-index"),value:$A.util.getDataAttribute(b.target,"action-value"),globalId:$A.util.getDataAttribute(b.target,"action-global-id")})}},handleUpdateRowAttrs:function(a,b,c){b=b.getParams();if(Object.keys(b).length){var d=a.get("v.tableItems")[b.index];b.className&&b.classOp&&c.updateRowClass(a,d,b);b.attributes&&c.updateValueProvider(a,d,b.attributes)}}},helper:{initializeCaches:function(a){a=a.getConcreteComponent();a._rowData=[];a._cellTemplates=[];a._selectionData=this.createSelectionData()},
initializeNewColumns:function(a,b){var c=this.getColumns(a),d=a.get("c.handleColumnSortChange");a._cellTemplates=a._cellTemplates.slice(0,c.length);$A.util.forEach(c,function(b,c){var g=b.get("v.name"),h=b.get("v.outputComponent");a._cellTemplates[c]=h;g&&b.set("v.onsortchange",d);b.isInstanceOf("ui:dataGridSelectionColumn")&&a._selectionData.selectionColumns.push(b)});b&&"function"===typeof b&&b()},createRowData:function(a,b){var c=[],d=a.get("v.columns");b=b||a.get("v.items")||[];for(var e=0;e<
b.length;e++){var f={};f.vp=this.createPassthroughValue(a,b[e],e);f.classes=[];f.columnData=[];for(var g=0;g<d.length;g++){for(var h=d[g].get("v.outputComponent"),k=[],l=0;l<h.length;l++){var m=h[l];k.push($A.createComponentFromConfig({descriptor:m.componentDef.descriptor,localId:m.localId,attributes:m.attributes.values,valueProvider:f.vp}))}f.columnData.push({components:k})}c[e]=f}return c},createPassthroughValue:function(a,b,c){b={item:$A.expressionService.create(null,b),selected:$A.expressionService.create(null,
a.get("v.selectAll")),index:$A.expressionService.create(null,c),disabled:$A.expressionService.create(null,!1)};return $A.expressionService.createPassthroughValue(b,a)},handleAddRemove:function(a,b){var c=a.getConcreteComponent();b.index=b.last?"last":parseInt(b.index,10);b.count=parseInt(b.count,10);b.remove?this.removeRows(c,b.index,b.count):this.insertRowsAndUpdateData(c,b.index,b.count,b.items,!0)},handleItemsChange:function(a){var b=a.get("v.items");a._addRemove||b&&this.updateTableData(a,this.createRowData(a))},
handleSortByChange:function(a){var b=this.getColumns(a),c=a.get("v.sortBy"),d=this.parseSortBy(c);b&&d&&($A.util.forEach(b,function(a){if(a.isInstanceOf("ui:dataGridColumn")){var b=a.get("v.name");a.set("v.direction",d[b]||"")}}),this.selectAll(a,!1));a.getEvent("refresh").fire()},handleAction:function(a,b){var c=b.name,d=b.index,e=b.value,f=b.globalId;if("dataGrid:select"===c)"string"===typeof e&&(e="true"===e),$A.util.isUndefinedOrNull(d)?this.selectAll(a,e):this.setSelectedItems(a,e,[d]);else if(c&&
d&&f){var g=a.get("v.items."+d),h=a.get("v.actionDelegate")[0];g&&h&&h.getEvent("onaction").setParams({name:c,index:d,item:g,value:e,component:$A.getCmp(f)}).fire()}},getColumns:function(a){a=a.get("v.columns");var b=[];a&&0<a.length&&$A.util.forEach(a,function(a){"layout"===a.getDef().getDescriptor().getPrefix()?(a=a.getSuper().get("v.body"),$A.util.forEach(a,function(a){b.push(a)})):b.push(a)});return b},createSelectionData:function(){return{selectionColumns:[],selectedIndexes:{}}},selectAll:function(a,
b){a.set("v.selectAll",b);this.setSelectedItems(a,b)},setSelectedItems:function(a,b,c){for(var d=a.getConcreteComponent(),e=d.get("v.tableItems")||[],f=d._selectionData,g=c?c.length:e.length,h=0;h<g;h++){var k=c?c[h]:h;e[k].vp.set("selected",b);f.selectedIndexes[k]=b}var d=d.get("v.items")||[],l;if(c){b=f.selectedIndexes;c=[];for(l in b)b[l]&&c.push(d[l]);l=c}else l=b?d:[];a.set("v.selectedItems",l)},updateColumnAttributes:function(a){a=a.getConcreteComponent();var b=a.get("v.items");this.updateColumns(a,
"disabled",0===b.length)},removeRows:function(a,b,c){var d=a.get("v.items")||[],e=a.get("v.tableItems")||[];d.splice(b,c);e.splice(b,c);a.set("v.items",d,!0);this.updateTableData(a,e)},insertRowsAndUpdateData:function(a,b,c,d,e,f){if(a.isRendered()){var g=a.get("v.items")||[];c="first"===b?0:"last"===b?g.length:b;var h=this.createRowData(a,d),k=a.get("v.tableItems")||[];"last"===b?e&&(g=g.concat(d),k=k.concat(h)):e&&(Array.prototype.splice.apply(g,[c,0].concat(d)),Array.prototype.splice.apply(k,[c,
0].concat(h)));a._addRemove=!1;a.set("v.items",g,!0);this.updateTableData(a,k);f&&f()}},resize:function(a){var b=(a.get("v.items")||[]).length,c=a._rowData.length;b>c||(b=c-b,this.removeRows(a,c-b,b))},updateRowClass:function(a,b,c){var d=b.classes,e=d.indexOf(c.className),f=a.find("rowClasses");if(f){f=$A.util.isArray(f)?f[c.index].getElement():f.getElement();switch(c.classOp.toLowerCase()){case "add":d.push(c.className);break;case "remove":-1<e&&d.splice(e,1);break;case "toggle":-1===e?d.push(c.className):
d.splice(e,1);break;default:$A.log("datagrid "+a.getGlobalId()+' - updateGridRows handler: unrecognized class operation. Please use "add", "remove", or "toggle".')}b.classes=d;f.className="";d&&$A.util.addClass(f,d.join(" "))}},updateValueProvider:function(a,b,c){for(a=0;a<c.length;a++){var d=c[a];"disabled"===d.name&&b.vp.set("disabled",d.value)}},updateColumns:function(a,b,c){a=this.getColumns(a);for(var d=0;d<a.length;++d)a[d].set("v."+b,c)},parseSortBy:function(a){var b={},c,d=!1;if(a){a=a.split(",");
for(var e=0;e<a.length;e++)if(c=a[e])c=(d="-"===c[0])?c.slice(1,c.length):c,b[c]=d?"descending":"ascending"}return b},updateTableData:function(a,b){a.set("v.tableItems",b);a._rowData=b}}}});return {"xs":"I","descriptor":"markup://ui:dataGrid","st":{"descriptor":"css://ui.dataGrid","cl":"uiDataGrid"},"fst":{"descriptor":"css://ui.dataGrid"},"su":"markup://ui:abstractDataGrid","ad":[["body","aura://Aura.Component[]","G",false,[]],["class","aura://String","G",false],["dir","aura://String","I",false,"ltr"],["namespaceOverride","aura://String","I",false],["actionable","aura://Boolean","I",false,true],["role","aura://String","I",false],["ariaDescribedBy","aura://String","PP",false,""],["value","aura://Object","PP",false,null],["visible","aura://Boolean","I",false,true],["items","aura://List","PP",false,[]],["itemShape","aura://Object","PP",false,null],["mode","aura://String","PP",false,"VIEW"],["state","aura://String","PP",false,"idle"],["sortable","aura://Boolean","I",false,true],["createable","aura://Boolean","I",false,false],["selectAll","aura://Boolean","I",false,false],["selectedItems","aura://List","PP",false,[]],["sortBy","aura://String","PP",false],["dataProvider","aura://Aura.Component[]","PP",false,[]],["dataWriter","aura://Aura.Component[]","I",false,[]],["columns","aura://Aura.Component[]","PP",false,[]],["summaryRow","aura://Aura.ComponentDefRef[]","I",false,[]],["actionDelegate","aura://Aura.Component[]","PP",false,[]],["summary","aura://String","I",false],["useRowHeaders","aura://Boolean","I",false,false],["devNameOrId","aura://String","I",false],["selectionData","aura://Object","I",false,null],["tableItems","aura://List","I",false,[]]],"re":[{"ed":"markup://ui:click","n":"click","xs":"G"},{"ed":"markup://ui:dblclick","n":"dblclick","xs":"G"},{"ed":"markup://ui:mousedown","n":"mousedown","xs":"G"},{"ed":"markup://ui:mousemove","n":"mousemove","xs":"G"},{"ed":"markup://ui:mouseout","n":"mouseout","xs":"G"},{"ed":"markup://ui:mouseover","n":"mouseover","xs":"G"},{"ed":"markup://ui:mouseup","n":"mouseup","xs":"G"},{"ed":"markup://ui:addRemove","n":"addRemove","xs":"I"},{"ed":"markup://ui:refresh","n":"refresh","xs":"I"},{"ed":"markup://ui:updateGridRow","n":"updateRowAttributes","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleUpdateRowAttrs"},"n":"updateRowAttributes"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleItemsChange"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.items"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleColumnsChange"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.columns"},"n":"change"}],"ld":{"*":{"context":{"devNameOrId":{"exprType":"PROPERTY","byValue":false,"target":"ui:dataGrid","path":"v.devNameOrId"}},"alias":"data-grid-columns-content"}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"flavorable":true,"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"summary":{"exprType":"PROPERTY","byValue":false,"target":"ui:dataGrid","path":"v.summary"},"onclick":{"exprType":"PROPERTY","byValue":false,"target":"ui:dataGrid","path":"c.handleClick"},"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(fn.add(fn.add(fn.add(cmp.get(\"v.class\"),\" \"),cmp.get(\"v.state\")),\" \"),cmp.get(\"v.mode\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"ui:dataGrid","path":"v.state"},{"exprType":"PROPERTY","byValue":false,"target":"ui:dataGrid","path":"v.mode"},{"exprType":"PROPERTY","byValue":false,"target":"ui:dataGrid","path":"v.class"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"table"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"thead"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"headerRow","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"tr"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:iteration"},"attributes":{"values":{"indexVar":{"descriptor":"indexVar","value":"index"},"var":{"descriptor":"var","value":"item"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:dataGrid","path":"item"}}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:dataGrid","path":"v.columns"}}}}}]}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"tfoot","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"tfoot"}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"tbody","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"tbody"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:iteration"},"attributes":{"values":{"indexVar":{"descriptor":"indexVar","value":"rowIndex"},"var":{"descriptor":"var","value":"row"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"rowClasses","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"tr"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:iteration"},"attributes":{"values":{"indexVar":{"descriptor":"indexVar","value":"index"},"var":{"descriptor":"var","value":"cellValue"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"td"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:dataGrid","path":"cellValue.components"}}}}}]}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"scope":"row"}},"tag":{"descriptor":"tag","value":"th"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:dataGrid","path":"cellValue.components"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.useRowHeaders\")&&fn.eq(cmp.get(\"index\"),0));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"ui:dataGrid","path":"index"},{"exprType":"PROPERTY","byValue":false,"target":"ui:dataGrid","path":"v.useRowHeaders"}],"byValue":false}}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:dataGrid","path":"row.columnData"}}}}}]}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:dataGrid","path":"v.tableItems"}}}}}]}}}}]}}}}]}],"df":"default","fc":true,"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:style",function(){/*$A.componentService.addComponentClass("markup://forceChatter:style",function() {
return {
  "meta":{
    "name":"forceChatter$style",
    "extends":"markup://aura:component"
  }
};
});
return {"xs":"I","descriptor":"markup://forceChatter:style","st":{"descriptor":"css://forceChatter.style","cl":"forceChatterStyle"},"fst":{"descriptor":"css://forceChatter.style"},"ad":[["body","aura://Aura.Component[]","G",false,[]]],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"flavorable":true,"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-scope"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:style","path":"v.body"}}}}}]}}}}]}],"df":"default","fc":true,"css":true}*/});
$A.componentService.addComponent("markup://emailui:salesforceInboxConnector",function(){/*$A.componentService.addComponentClass("markup://emailui:salesforceInboxConnector",function(){return{meta:{name:"emailui$salesforceInboxConnector","extends":"markup://aura:component"},controller:{connectToSalesforceInbox:function(a,b,c){$A.get("e.emailStream:salesforceInboxOauthRequested").setParams({respectAnyDataSourceConnected:!0}).fire()}}}});return {"xs":"I","descriptor":"markup://emailui:salesforceInboxConnector","st":{"descriptor":"css://emailui.salesforceInboxConnector","cl":"emailuiSalesforceInboxConnector"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["title","aura://String","I",false],["message","aura://String","I",false],["message2","aura://String","I",false],["buttonText","aura://String","I",false]],"med":[{"name":"emailui:connectToSalesforceInbox","xs":"I","action":"c.connectToSalesforceInbox"}],"ld":{"connectToButton":{"alias":"connectToSalesforceInboxButton"}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"salesforceInboxOAuthTitle"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:salesforceInboxConnector","path":"v.title"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"salesforceInboxOAuthMessage"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:salesforceInboxConnector","path":"v.message"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"salesforceInboxOAuthMessage"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:salesforceInboxConnector","path":"v.message2"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"salesforceInboxOAuthButtons"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:button"},"localId":"connectToButton","attributes":{"values":{"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:salesforceInboxConnector","path":"c.connectToSalesforceInbox"}},"variant":{"descriptor":"variant","value":"brand"},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"emailui:salesforceInboxConnector","path":"v.buttonText"}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:feedElement",function(){/*$A.componentService.addComponentClass("markup://forceChatter:feedElement",function(){return{meta:{name:"forceChatter$feedElement","extends":"markup://aura:component"},controller:{init:function(c,a,b){a=c.get("v.data.feedElementType");if("FeedItem"===a)a="forceChatter:feedItem";else if("Bundle"===a)a="forceChatter:clumpItem";else if("Recommendation"===a)a="forceChatter:genericFeedElement";else{$A.warning("feedElementProvider: found unmatched feedElementType. using empty feed element component");return}$A.util.isEmpty(c.get("v.feedItemOverrides"))||
(b=c.get("v.feedItemOverrides"))&&b.hasOwnProperty(a)&&(a=b[a]);b="feedDesign searchQueryId feedItemPosition subjectId sortOrder config data feedType comments isInPrivateGroup isTopicsEnabled showGroupMentionVisibility commentActions canCommentsRequestReplies".split(" ");for(var d={},e=0;e<b.length;e++){var f=b[e];d[f]=c.get("v."+f)}d["aura:id"]="feedElementBody";d.focusWhenInitiallyDisplayed=c.getReference("v.focusWhenInitiallyDisplayed");$A.createComponent(a,d,function(a,b){"SUCCESS"===b&&(c.index(a.getLocalId(),
a.getGlobalId()),c.set("v.body",a))})}}}});return {"xs":"I","descriptor":"markup://forceChatter:feedElement","ad":[["body","aura://Aura.Component[]","G",false,[]],["searchQueryId","aura://String","I",false],["feedItemPosition","aura://String","I",false],["subjectId","aura://String","I",false],["sortOrder","aura://String","I",false],["feedDesign","aura://String","I",false,"BROWSE"],["config","java://ui.chatter.api.FeedConfig","I",false,null],["data","java://sfdc.chatter.connect.api.output.feeds.FeedItemRepresentation","I",false,null],["feedType","aura://String","I",false],["comments","aura://Object","I",false,null],["isInPrivateGroup","aura://Boolean","I",false,false],["isTopicsEnabled","aura://Boolean","I",false,false],["showGroupMentionVisibility","aura://Boolean","I",false,false],["showFeedItemActions","aura://Boolean","I",false,true],["commentActions","aura://List","I",false,[]],["feedItemOverrides","aura://Object","I",false,null],["canCommentsRequestReplies","aura://Boolean","I",false,false],["focusWhenInitiallyDisplayed","aura://Boolean","I",false,false]],"i":["markup://forceChatter:additionalFeedLogData","markup://forceChatter:respectFeedDesign"],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"}],"ld":{"feedElementBody":{}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedElement","path":"v.body"}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:inputEntitySelectorDataProvider",function(){/*$A.componentService.addComponentClass("markup://forceSearch:inputEntitySelectorDataProvider",function(){return{meta:{name:"forceSearch$inputEntitySelectorDataProvider","extends":"markup://ui:dataProvider",imports:{lib:"markup://forceSearch:searchLibrary",typeAheadLib:"markup://force:searchTypeAheadLib"}},controller:{provide:function(a,c,b){b.provide(a,c)}},helper:{provide:function(a,c){var b=c.getParam("parameters");!$A.util.isEmpty(b)&&(b.fromGlobalSearch&&$A.util.isEmpty(a.get("v.priv_entities")))&&
a.set("v.priv_limitToParams",b);$A.util.isEmpty(a.get("v.priv_totalItemsMassaged"))?(this.lib.logging.logPerf(a,"provideFilterEntities","START"),this.lib.cache.fetchSGDPDataCallback(a,this.lib.cache.type.ENTITY_LABELS,{scopeTypes:[this.lib.scope.SCOPE_SET_TYPE.FILTER]},this.handleEntityLabelsResponse.bind(this))):b&&!$A.util.isEmpty(b.value)?this.handleSelection(a,b):b&&!$A.util.isEmpty(b.keyword)?this.filterEntitiesList(a,b.keyword):this.fireDataChangeEvent(a,{items:a.get("v.priv_totalItemsMassaged")})},
loadEntities:function(a,c,b){var d,e=a.get("v.filterListTerm");if(c&&!$A.util.isEmpty(c.ALL)&&$A.util.isEmpty(a.get("v.priv_entities"))){this.lib.logging.logPerf(a,"provideAllSearchableEntities","END",null);d=c.ALL;var f=a.get("v.priv_entities");for(b=0;b<d.length;b++)c=d[b].name,f[c]=d[b];a.set("v.priv_entities",f);this.mergeItemsAndDispatch(a,this.lib.scope.SCOPE_SET_TYPE.ALL);$A.util.isEmpty(e)||this.filterEntitiesList(a,e)}else if(c&&!$A.util.isEmpty(c.FILTER)){this.lib.logging.logPerf(a,"provideFilterEntities",
"END");var f=c.FILTER,g=a.get("v.priv_additionalEntities");for(d=0;d<f.length;d++)c=f[d].name,g[c]=f[d];a.set("v.priv_additionalEntities",g);this.mergeItemsAndDispatch(a,this.lib.scope.SCOPE_SET_TYPE.FILTER);!$A.util.isEmpty(e)&&$A.util.isEmpty(a.get("v.priv_entities"))&&this.filterEntitiesList(a,e);"function"===typeof b&&(this.lib.logging.logPerf(a,"provideAllSearchableEntities","START"),b())}},loadScopeMap:function(a,c){var b=a.get("v.priv_fetchedScopeMaps"),d=a.get("v.priv_selectedEntity"),e=d.split(":")[1];
this.lib.logging.logPerf(a,"provideScopeMapForSelected","END",{entityDetails:d});c&&(Array.isArray(c.CUSTOM)&&0<c.CUSTOM.length)&&(d=c.CUSTOM[0],b[e]=d,a.set("v.priv_fetchedScopeMaps",b),this.fireEventToInputDesktop(a,d))},handleSelection:function(a,c){var b=c.value,d=this.lib.scope.TYPE.TOP_RESULTS;-1!==b.indexOf(d)&&(b=d);b!==d?(d=b.split(":"),1<d.length&&(d=d[1],a.set("v.priv_selectedEntity",b),$A.util.isEmpty(c.scopeMap)?this.fetchScopeMapForSelected(a,d):(b=a.get("v.priv_fetchedScopeMaps"),$A.util.isEmpty(b[d])&&
(b[d]=c.scopeMap,a.set("v.priv_fetchedScopeMaps",b))),this.updateListItems(a,!0))):b===d&&(c.fromGlobalSearch||this.lib.event.fireCustom("DEFAULT","forceSearch:inputEntitySelector:CLEAR_FILTERED_SCOPE",null),this.updateListItems(a,!1))},fetchScopeMapForSelected:function(a,c){var b=a.get("v.priv_fetchedScopeMaps")[c];$A.util.isEmpty(b)?(this.lib.logging.logPerf(a,"provideScopeMapForSelected","START",{entityDetails:a.get("v.priv_selectedEntity")}),this.lib.cache.fetchSGDPDataCallback(a,this.lib.cache.type.SCOPE_MAPS,
{entityNames:[c]},this.handleScopeMapsResponse.bind(this))):this.fireEventToInputDesktop(a,b)},fireEventToInputDesktop:function(a,c){this.lib.event.fireCustom("DEFAULT","forceSearch:inputEntitySelector:UPDATE_FILTERED_SCOPE",c)},updateListItems:function(a,c){var b=a.get("v.priv_filterItemsMassaged")||[],d=a.get("v.priv_allSearchableItemsMassaged")||[];c&&(b=this.updateListIconAttribute(a,b),$A.util.isEmpty(d)||(d=this.updateListIconAttribute(a,d)));b=[this.buildFilterItemsSection(c,b)];$A.util.isEmpty(d)||
b.push(this.buildAllItemsSection(d));a.set("v.priv_totalItemsMassaged",b);this.fireDataChangeEvent(a,{items:b})},updateListIconAttribute:function(a,c){var b=a.get("v.priv_selectedEntity");return c.map(function(a){var c=a.value===b;return Object.assign({iconName:c?"utility:check":"",highlight:c,checked:c},a)})},mergeItemsAndDispatch:function(a,c){var b={},d=a.get("v.priv_totalItemsMassaged")||[],e=this.buildItemsWithEntities(a,c)||[];c===this.lib.scope.SCOPE_SET_TYPE.ALL?(a.set("v.priv_allSearchableItemsMassaged",
e),d.push(this.buildAllItemsSection(e)),b.isDataFetchComplete=!0):c===this.lib.scope.SCOPE_SET_TYPE.FILTER&&(a.set("v.priv_filterItemsMassaged",e),d.push(this.buildFilterItemsSection(!1,e)));a.set("v.priv_totalItemsMassaged",d);b.items=d.slice();this.fireDataChangeEvent(a,b)},buildItemsWithEntities:function(a,c){var b=[];c===this.lib.scope.SCOPE_SET_TYPE.FILTER?b=a.get("v.priv_additionalEntities")||{}:c===this.lib.scope.SCOPE_SET_TYPE.ALL&&(b=a.get("v.priv_entities")||{});var d=[];Object.keys(b).forEach(function(a){d.push({type:"option-inline",
text:b[a].labelPlural,value:c+":"+b[a].name+":"+b[a].labelPlural})});return d},buildFilterItemsSection:function(a,c){var b=$A.get("$Label.LightningSearchUI.PreScopingAll"),b=[{type:"option-inline",text:b,value:this.lib.scope.SCOPE_SET_TYPE.FILTER+":"+this.lib.scope.TYPE.TOP_RESULTS+":"+b,iconName:a?null:"utility:check",checked:!a}];c&&(b=b.concat(c));return{label:$A.get("$Label.LightningSearchUI.PreScopingFilterHeader"),items:b}},buildAllItemsSection:function(a){a=a||[];return{label:$A.get("$Label.LightningSearchUI.PreScopingAllHeader"),
items:a}},fireDataChangeEvent:function(a,c){var b=a.get("e.onchange");b&&(b.setParams({data:c}),$A.util.isEmpty(a.get("v.priv_limitToParams"))?b.fire():(b=a.get("v.priv_limitToParams"),a.set("v.priv_limitToParams",null),this.handleSelection(a,b)))},filterEntitiesList:function(a,c){if(!$A.util.isEmpty(a.get("v.priv_entities"))||!$A.util.isEmpty(a.get("v.priv_additionalEntities"))){var b=this.markupSearchStringInMatchingItems(a,c)||[];this.fireDataChangeEvent(a,{items:b})}},markupSearchStringInMatchingItems:function(a,
c){var b=a.get("v.priv_entities"),d=!0;$A.util.isEmpty(b)&&(b=a.get("v.priv_additionalEntities"),d=!1);var e=[],f=c.toLowerCase().split(/\s+/),g=this,h=this.lib.scope.TYPE.TOP_RESULTS;b[h]={name:h,labelPlural:$A.get("$Label.LightningSearchUI.PreScopingAll")};Object.keys(b).forEach(function(a){var c=!1,h=g.markMatchingText(b[a].labelPlural,f);$A.util.isEmpty(h)||(c=!0);c&&(c={type:"option-inline"},c.text=h,c.value=(d?g.lib.scope.SCOPE_SET_TYPE.ALL:g.lib.scope.SCOPE_SET_TYPE.FILTER)+":"+b[a].name+":"+
b[a].labelPlural+":FILTERED",e.push(c))});return e},markMatchingText:function(a,c){if(!a||!c||0===c.length)return null;var b=this.typeAheadLib.util.getMatches(a,c,!1,!0);if(!b.AllMatch)return null;b=b.Indexes;return!b||0===Object.keys(b).length?null:this.stitchMarkedUpTextFromMatchIndexes(a,b)},stitchMarkedUpTextFromMatchIndexes:function(a,c){if(!c||0===Object.keys(c).length||null===a||""===a)return null;"string"!==typeof a&&(a=a.toString());var b=Object.keys(c);b.sort(function(a,b){return a-b});
for(var d=[],e=0,f=0;f<b.length;f++){var g=b[f],h=c[g],e=a.substring(e,g);d.push({text:e});g=a.substring(g,h);d.push({highlight:!0,text:g});e=h}d.push({text:a.substring(e)});return d},handleEntityLabelsResponse:function(a,c){var b=this;this.loadEntities(a,c,function(){b.lib.cache.fetchSGDPDataCallback(a,b.lib.cache.type.ENTITY_LABELS,{scopeTypes:[b.lib.scope.SCOPE_SET_TYPE.ALL]},b.handleEntityLabelsResponse.bind(b))})},handleScopeMapsResponse:function(a,c){this.loadScopeMap(a,c)}}}});return {"xs":"I","descriptor":"markup://forceSearch:inputEntitySelectorDataProvider","su":"markup://ui:dataProvider","ad":[["body","aura://Aura.Component[]","G",false,[]],["searchTerm","aura://String","PP",false],["sortBy","aura://String","PP",false],["sortDirection","aura://String","I",false],["columns","aura://List","PP",false,[]],["items","aura://List","PP",false,[]],["modelItemsKey","aura://String","PP",false],["currentPage","aura://Integer","PP",false,1],["endIndex","aura://Integer","I",false,-1],["pageCount","aura://Integer","PP",false,0],["pageSize","aura://Integer","PP",false,25],["startIndex","aura://Integer","I",false,-1],["totalItems","aura://Integer","PP",false,0],["type","aura://String","I",false],["groupId","aura://String","I",true,"DEFAULT"],["filterListTerm","aura://String","I",false,""],["priv_entities","aura://Map","I",false,{}],["priv_additionalEntities","aura://Map","I",false,{}],["priv_filterItemsMassaged","aura://Object[]","I",false,[]],["priv_allSearchableItemsMassaged","aura://Object[]","I",false,[]],["priv_totalItemsMassaged","aura://Object[]","I",false,[]],["priv_selectedEntity","aura://String","I",false,"TOP_RESULTS"],["priv_fetchedScopeMaps","aura://Map","I",false,{"TOP_RESULTS":{"type":"TOP_RESULTS"}}],["priv_limitToParams","aura://Map","I",false,{}]],"i":["markup://forceSearch:hasGroupId"],"re":[{"ed":"markup://ui:dataProvide","n":"provide","xs":"PP"},{"ed":"markup://ui:abortFetchData","n":"abort","xs":"PP"},{"ed":"markup://ui:dataChanged","n":"onchange","xs":"PP"},{"ed":"markup://ui:dataProvideError","n":"error","xs":"PP"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.provide"},"n":"provide"}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:feeditemAttachments",function(){/*$A.componentService.addComponentClass("markup://forceChatter:feeditemAttachments",function(){return{meta:{name:"forceChatter$feeditemAttachments","extends":"markup://aura:component",imports:{elementFocus:"markup://forceChatter:elementFocusService",auxBody:"markup://forceChatter:auxiliaryFeedBodyService"}},controller:{init:function(a,c,b){a.set("v.showAllAttachments",!a.get("v.feedElementDisplayConfig.truncateAttachments"));c=a.get("v.data");b=a.helper.auxBody.service;var d=b.getAuxBodyTypes(c);d&&
0<d.length&&b.requireAuxBodyComponents(c,$A.getCallback(function(){a.set("v.auxBodyTypes",d);a.set("v.isReady",!0)}))},showHiddenAttachments:function(a,c,b){a.set("v.showAllAttachments",!0);b.elementFocus.service.focusTemporarily(a.find("attachmentsContainer").getElement())}},provider:{provide:function(a){var c=a.get("v.data"),b=a.helper.auxBody.service.countAuxBodies(c);return 0===b?"forceChatter:feeditemAttachments":1===b?(a=a.helper.auxBody.service.getAuxBodyImplementation(c),!$A.hasDefinition(a)?
"markup://forceChatter:feedAuxBodyEmpty":a):"forceChatter:feeditemAttachments"}}}});return {"xs":"I","descriptor":"markup://forceChatter:feeditemAttachments","st":{"descriptor":"css://forceChatter.feeditemAttachments","cl":"forceChatterFeeditemAttachments"},"fst":{"descriptor":"css://forceChatter.feeditemAttachments"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["data","java://sfdc.chatter.connect.api.output.feeds.FeedItemRepresentation","I",false,null],["drillIn","aura://Aura.Action","I",false,null],["auxBodyDetail","aura://String","I",true],["mode","aura://String","I",false,"IN_FEED"],["feedElementDisplayConfig","java://ui.chatter.api.FeedElementDisplayConfig","I",true,null],["contextUser","java://ui.chatter.api.FeedDisplayConfig$FeedContextUser","I",false,null],["auxBodyTypes","aura://List","I",false,[]],["showAllAttachments","aura://Boolean","I",false],["isReady","aura://Boolean","I",false,false],["isTopicsEnabled","aura://Boolean","I",false,false],["communityId","aura://String","I",false]],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"}],"ld":{"*":{"alias":"feedAuxBody"}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"attachmentsContainer","flavorable":true,"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-attachments"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:iteration"},"attributes":{"values":{"var":{"descriptor":"var","value":"auxType"},"end":{"descriptor":"end","value":2},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:feedAuxBody"},"attributes":{"values":{"mode":{"descriptor":"mode","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feeditemAttachments","path":"v.feedElementDisplayConfig.mode"}},"drillIn":{"descriptor":"drillIn","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feeditemAttachments","path":"v.drillIn"}},"implementationComponent":{"descriptor":"implementationComponent","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feeditemAttachments","path":"auxType"}},"isTopicsEnabled":{"descriptor":"isTopicsEnabled","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feeditemAttachments","path":"v.isTopicsEnabled"}},"auxBodyDetail":{"descriptor":"auxBodyDetail","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feeditemAttachments","path":"v.feedElementDisplayConfig.auxBodyDetail"}},"data":{"descriptor":"data","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feeditemAttachments","path":"v.data"}},"contextUser":{"descriptor":"contextUser","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feeditemAttachments","path":"v.contextUser"}},"communityId":{"descriptor":"communityId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feeditemAttachments","path":"v.communityId"}}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feeditemAttachments","path":"v.auxBodyTypes"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:iteration"},"attributes":{"values":{"var":{"descriptor":"var","value":"auxType"},"start":{"descriptor":"start","value":2},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:feedAuxBody"},"attributes":{"values":{"mode":{"descriptor":"mode","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feeditemAttachments","path":"v.feedElementDisplayConfig.mode"}},"drillIn":{"descriptor":"drillIn","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feeditemAttachments","path":"v.drillIn"}},"implementationComponent":{"descriptor":"implementationComponent","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feeditemAttachments","path":"auxType"}},"isTopicsEnabled":{"descriptor":"isTopicsEnabled","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feeditemAttachments","path":"v.isTopicsEnabled"}},"auxBodyDetail":{"descriptor":"auxBodyDetail","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feeditemAttachments","path":"v.feedElementDisplayConfig.auxBodyDetail"}},"data":{"descriptor":"data","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feeditemAttachments","path":"v.data"}},"contextUser":{"descriptor":"contextUser","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feeditemAttachments","path":"v.contextUser"}},"isHiddenAttachment":{"descriptor":"isHiddenAttachment","value":true}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feeditemAttachments","path":"v.auxBodyTypes"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feeditemAttachments","path":"v.showAllAttachments"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"expandLink"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onclick":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feeditemAttachments","path":"c.showHiddenAttachments"},"title":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feeditemAttachments","path":"$Label.Feeds.ViewAllAttachments"},"class":"cuf-expandLink"}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feeditemAttachments","path":"$Label.Feeds.ViewAllAttachments"}}}}}]}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (!(cmp.get(\"v.showAllAttachments\"))&&(cmp.get(\"v.auxBodyTypes.length\")>2));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feeditemAttachments","path":"v.showAllAttachments"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feeditemAttachments","path":"v.auxBodyTypes.length"}],"byValue":false}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feeditemAttachments","path":"v.isReady"}}}}}]}}}}]}],"df":"default","fc":true,"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:streamEditDeleteAction",function(){/*$A.componentService.addComponentClass("markup://forceChatter:streamEditDeleteAction",function(){return{meta:{name:"forceChatter$streamEditDeleteAction","extends":"markup://aura:component",imports:{feedLib:"markup://forceChatter:feedLib"}},controller:{run:function(a,d,b){var c=a.get("v.actionType");$A.metricsService.transaction("ltng","interaction",{context:{eventSource:"synthetic-click",eventType:"user",locator:{target:"streams-listing-action-"+c,scope:"ChatterFeed-streamsListing",context:{streamId:a.get("v.streamId")}}}});
"editStream"===c?b.editStream(a,d,b):"deleteStream"===c&&b.deleteStream(a,d,b)}},helper:{deleteStream:function(a,d,b){a={streamId:a.get("v.streamId")};var c=$A.get("$Label.Feeds.DeleteStreamTitle");$A.createComponent("forceChatter:streamDeleteModalBody",a,function(a){a&&b.feedLib.util.launchActionModal(a,c,{closeOnActionButtonClick:!1,autoFocus:!0})})},editStream:function(a,d,b){var c=a.get("v.streamId"),e=a.get("v.suppressNavigation");b.feedLib.util.standardActionWithRetry(this,a,"c.serverGetStream",
{streamId:c},function(a){a=a.getReturnValue();var d=a.subscriptions.map(function(a){return a.id});a={crudStreamConfig:{streamId:c,streamName:a.name,originalEntityIds:d.toString(),suppressNavigation:e}};var f=$A.get("$Label.Feeds.EditChatterStream");$A.createComponent("forceChatter:crudStream",a,function(a){a&&b.feedLib.util.launchActionModal(a,f,{closeOnActionButtonClick:!1})})})}}}});return {"xs":"I","descriptor":"markup://forceChatter:streamEditDeleteAction","cd":{"descriptor":"compound://forceChatter.streamEditDeleteAction","ac":[{"n":"serverGetStreams","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverGetStreams","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.stream.FeedStreamCollectionRepresentation","pa":[{"name":"page","type":"java://int"},{"name":"pageSize","type":"java://java.lang.Integer","loggable":true},{"name":"globalScope","type":"java://java.lang.Boolean","loggable":true}]},{"n":"unsetEmailNotificationFrequency","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$unsetEmailNotificationFrequency","at":"SERVER","rt":"java://void","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"communityId","type":"java://java.lang.String","loggable":true}]},{"n":"serverAddStreamSubscription","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverAddStreamSubscription","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.stream.FeedStreamRepresentation","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"recordId","type":"java://java.lang.String"}]},{"n":"serverGetStream","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverGetStream","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.stream.FeedStreamRepresentation","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"globalScope","type":"java://java.lang.Boolean","loggable":true}]},{"n":"serverRemoveStreamSubscription","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverRemoveStreamSubscription","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.stream.FeedStreamRepresentation","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"recordId","type":"java://java.lang.String"}]},{"n":"serverCreateStream","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverCreateStream","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.stream.FeedStreamRepresentation","pa":[{"name":"streamName","type":"java://java.lang.String"},{"name":"entities","type":"java://java.util.ArrayList<java.lang.String>"}]},{"n":"getEmailNotificationFrequency","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$getEmailNotificationFrequency","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.notificationMember.NotificationMemberRepresentation","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"communityId","type":"java://java.lang.String","loggable":true}]},{"n":"serverDeleteStream","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverDeleteStream","at":"SERVER","rt":"java://void","pa":[{"name":"streamId","type":"java://java.lang.String"}]},{"n":"serverUpdateStream","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverUpdateStream","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.stream.FeedStreamRepresentation","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"streamName","type":"java://java.lang.String"},{"name":"entitiesToAdd","type":"java://java.util.ArrayList<java.lang.String>"},{"name":"entitiesToRemove","type":"java://java.util.ArrayList<java.lang.String>"}]},{"n":"setEmailNotificationFrequency","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$setEmailNotificationFrequency","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.notificationMember.NotificationMemberRepresentation","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"frequency","type":"java://java.lang.String"},{"name":"communityId","type":"java://java.lang.String","loggable":true}]},{"n":"serverGetStreamInfoForHeader","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverGetStreamInfoForHeader","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"globalScope","type":"java://java.lang.Boolean","loggable":true}]},{"n":"getCrudStreamConfig","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$getCrudStreamConfig","at":"SERVER","rt":"java://java.util.Map","pa":[]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["context","aura://Object","I",false,null],["streamId","aura://String","I",false],["actionType","aura://String","I",false],["suppressNavigation","aura://Boolean","I",false]],"i":["markup://force:runnable"],"re":[{"ed":"markup://force:run","n":"run","xs":"I"},{"ed":"markup://force:run","n":"afterRun","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.run"},"n":"run"}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:recordLayoutDataProvider",function(){/*$A.componentService.addComponentClass("markup://forceSearch:recordLayoutDataProvider",function(){return{meta:{name:"forceSearch$recordLayoutDataProvider","extends":"markup://ui:dataProvider",imports:{lib:"markup://forceSearch:searchLibrary"}},helper:{provide:function(b,a){var c=this,e=b.getConcreteComponent(),f=e.get("c.getLayouts"),g=a.getParams().parameters.entitiesToDisplay;f.setParams({entities:g});f.setCallback(this,$A.getCallback(function(d){var b=d.getState(),a={actionId:d.getId(),layouts:[]};
"SUCCESS"===b?(a.layouts=d.getReturnValue(),c.fireDataChangeEvent(e,a)):($A.reportError("recordLayoutDataProvider.provide: Failed to get getLayouts from server: ",d.getError()),c.handleError(e,g))}));$A.executeHotspot(function(){$A.enqueueAction(f)})},handleError:function(b,a){var c={};a.map(function(a){c[a]=null});this.fireDataChangeEvent(b,c)}}}});return {"xs":"I","descriptor":"markup://forceSearch:recordLayoutDataProvider","cd":{"descriptor":"compound://forceSearch.recordLayoutDataProvider","ac":[{"n":"getLayouts","descriptor":"serviceComponent://ui.search.components.forcesearch.recordlayout.RecordLayoutDataProviderController/ACTION$getLayouts","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"entities","type":"java://java.util.List<java.lang.String>"}]}]},"su":"markup://ui:dataProvider","ad":[["body","aura://Aura.Component[]","G",false,[]],["searchTerm","aura://String","PP",false],["sortBy","aura://String","PP",false],["sortDirection","aura://String","I",false],["columns","aura://List","PP",false,[]],["items","aura://List","PP",false,[]],["modelItemsKey","aura://String","PP",false],["currentPage","aura://Integer","PP",false,1],["endIndex","aura://Integer","I",false,-1],["pageCount","aura://Integer","PP",false,0],["pageSize","aura://Integer","PP",false,25],["startIndex","aura://Integer","I",false,-1],["totalItems","aura://Integer","PP",false,0],["type","aura://String","I",false],["term","aura://String","I",true,""],["scopeMap","aura://Map","I",true,{}],["context","aura://Map","I",true,{}],["scopeSets","aura://Map","I",false,{}]],"i":["markup://forceSearch:searchInterface","markup://forceSearch:firesSearchRequest","markup://forceSearch:hasScopeSets"],"re":[{"ed":"markup://ui:dataProvide","n":"provide","xs":"PP"},{"ed":"markup://ui:abortFetchData","n":"abort","xs":"PP"},{"ed":"markup://ui:dataChanged","n":"onchange","xs":"PP"},{"ed":"markup://ui:dataProvideError","n":"error","xs":"PP"},{"ed":"markup://force:searchRequest","n":"searchRequest","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.provide"},"n":"provide"}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:streamNotifications",function(){/*$A.componentService.addComponentClass("markup://forceChatter:streamNotifications",function(){return{meta:{name:"forceChatter$streamNotifications","extends":"markup://aura:component",imports:{feedLib:"markup://forceChatter:feedLib"}},controller:{init:function(b,c,a){a.getEmailNotificationFrequency(b,a)},setFrequency:function(b,c,a){c=c.getSource().getElement().className;var d="EachPost";0<=c.indexOf("notification-never")?d="Never":0<=c.indexOf("notification-every")&&(d="EachPost");d===b.get("v.selectedFrequency")?
a.feedLib.util.closePanel(b):a.setEmailNotificationFrequency(b,a,d)}},helper:{getEmailNotificationFrequency:function(b,c){var a=c.feedLib.util;a.toggleModalSpinner(!0);a.standardActionWithRetry(this,b,"c.getEmailNotificationFrequency",{streamId:b.get("v.streamId"),communityId:b.get("v.communityId")},function(a){a=a.getReturnValue();b.set("v.selectedFrequency",a.notificationFrequency)},function(){a.toggleModalSpinner(!1)})},setEmailNotificationFrequency:function(b,c,a){var d=c.feedLib.util,e={streamId:b.get("v.streamId"),
communityId:b.get("v.communityId")};d.toggleModalSpinner(!0);"Never"===a?c="c.unsetEmailNotificationFrequency":(c="c.setEmailNotificationFrequency",e.frequency=a);d.standardActionWithRetry(this,b,c,e,function(){b.set("v.selectedFrequency",a);d.closePanel(b)},function(){d.toggleModalSpinner(!1)})}}}});return {"xs":"I","descriptor":"markup://forceChatter:streamNotifications","st":{"descriptor":"css://forceChatter.streamNotifications","cl":"forceChatterStreamNotifications"},"cd":{"descriptor":"compound://forceChatter.streamNotifications","ac":[{"n":"serverGetStreams","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverGetStreams","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.stream.FeedStreamCollectionRepresentation","pa":[{"name":"page","type":"java://int"},{"name":"pageSize","type":"java://java.lang.Integer","loggable":true},{"name":"globalScope","type":"java://java.lang.Boolean","loggable":true}]},{"n":"unsetEmailNotificationFrequency","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$unsetEmailNotificationFrequency","at":"SERVER","rt":"java://void","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"communityId","type":"java://java.lang.String","loggable":true}]},{"n":"serverAddStreamSubscription","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverAddStreamSubscription","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.stream.FeedStreamRepresentation","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"recordId","type":"java://java.lang.String"}]},{"n":"serverGetStream","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverGetStream","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.stream.FeedStreamRepresentation","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"globalScope","type":"java://java.lang.Boolean","loggable":true}]},{"n":"serverRemoveStreamSubscription","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverRemoveStreamSubscription","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.stream.FeedStreamRepresentation","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"recordId","type":"java://java.lang.String"}]},{"n":"serverCreateStream","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverCreateStream","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.stream.FeedStreamRepresentation","pa":[{"name":"streamName","type":"java://java.lang.String"},{"name":"entities","type":"java://java.util.ArrayList<java.lang.String>"}]},{"n":"getEmailNotificationFrequency","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$getEmailNotificationFrequency","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.notificationMember.NotificationMemberRepresentation","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"communityId","type":"java://java.lang.String","loggable":true}]},{"n":"serverDeleteStream","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverDeleteStream","at":"SERVER","rt":"java://void","pa":[{"name":"streamId","type":"java://java.lang.String"}]},{"n":"serverUpdateStream","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverUpdateStream","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.stream.FeedStreamRepresentation","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"streamName","type":"java://java.lang.String"},{"name":"entitiesToAdd","type":"java://java.util.ArrayList<java.lang.String>"},{"name":"entitiesToRemove","type":"java://java.util.ArrayList<java.lang.String>"}]},{"n":"setEmailNotificationFrequency","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$setEmailNotificationFrequency","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.notificationMember.NotificationMemberRepresentation","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"frequency","type":"java://java.lang.String"},{"name":"communityId","type":"java://java.lang.String","loggable":true}]},{"n":"serverGetStreamInfoForHeader","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverGetStreamInfoForHeader","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"globalScope","type":"java://java.lang.Boolean","loggable":true}]},{"n":"getCrudStreamConfig","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$getCrudStreamConfig","at":"SERVER","rt":"java://java.util.Map","pa":[]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["_panel","aura://Object","G",false,null],["panelActions","aura://Aura.Component[]","I",false,[]],["actions","aura://Aura.Component[]","I",false,[]],["streamId","aura://String","I",true],["selectedFrequency","aura://String","I",false],["communityId","aura://String","I",false]],"i":["markup://ui:hasNotify"],"re":[{"ed":"markup://ui:notify","n":"notify","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:menu"},"attributes":{"values":{"visible":{"descriptor":"visible","value":true},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:radioMenuItem"},"attributes":{"values":{"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamNotifications","path":"$Label.Feeds.StreamNotificationsEveryPost"}},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"uiButton qe-every\",(fn.eq(cmp.get(\"v.selectedFrequency\"),\"EachPost\")?\" selected\":\"\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamNotifications","path":"v.selectedFrequency"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamNotifications","path":"$Label.Feeds.StreamNotificationsEveryPost"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"assistiveText"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamNotifications","path":"$Label.Accessibility.Selected"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq(cmp.get(\"v.selectedFrequency\"),\"EachPost\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamNotifications","path":"v.selectedFrequency"}],"byValue":false}}}}}]},"class":{"descriptor":"class","value":"slds-button slds-button--neutral notification-every"},"click":{"descriptor":"click","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamNotifications","path":"c.setFrequency"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"divider"}},"tag":{"descriptor":"tag","value":"div"}}}},{"componentDef":{"descriptor":"markup://ui:radioMenuItem"},"attributes":{"values":{"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamNotifications","path":"$Label.Feeds.StreamNotificationsNever"}},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"uiButton qe-never\",(fn.eq(cmp.get(\"v.selectedFrequency\"),\"Never\")?\" selected\":\"\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamNotifications","path":"v.selectedFrequency"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamNotifications","path":"$Label.Feeds.StreamNotificationsNever"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"assistiveText"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamNotifications","path":"$Label.Accessibility.Selected"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq(cmp.get(\"v.selectedFrequency\"),\"Never\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamNotifications","path":"v.selectedFrequency"}],"byValue":false}}}}}]},"class":{"descriptor":"class","value":"slds-button slds-button--neutral notification-never"},"click":{"descriptor":"click","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamNotifications","path":"c.setFrequency"}}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:pillContainer",function(){/*$A.componentService.addComponentClass("markup://forceChatter:pillContainer",function(){return{meta:{name:"forceChatter$pillContainer","extends":"markup://aura:component"},controller:{handleEvent:function(a,b,c){c.handleEvent(a,b)},handleTopicSelected:function(a,b,c){(b=b.getParam("value"))&&c.handleTopicSelected(a,[b])},handleBackspaceKeyOnEmpty:function(a,b,c){b=a.get("v.items");0<b.length&&c.focusItem(a,b,0)},processPillInserted:function(a,b,c){b=a.find("topicAutocomplete").getElement();c._hasReachedMax(a,
a.get("v.items"))?$A.util.addClass(b,"invisible"):$A.util.removeClass(b,"invisible")},getTopicSuggestions:function(a,b,c){c.getTopicSuggestions(a,b)},processPillRemoved:function(a,b,c){if(a=a.find("topicAutocomplete"))a=a.getElement(),$A.util.removeClass(a,"invisible")},focusOnInputBox:function(a,b,c){c.focusOnInputBox(a)},clearText:function(a,b,c){a.get("v.clearText")&&((b=a.find("topicAutocomplete"))&&b.set("v.clearText",!0),a.set("v.clearText",!1,!0))}},helper:{handleTopicSelected:function(a,b){!$A.util.isUndefinedOrNull(b)&&
(!$A.util.isEmpty(b)&&$A.util.isArray(b))&&this.insertItems(a,b)},insertItems:function(a,b){for(var c=a.get("v.items"),d=!1,e=0;e<b.length&&!this._hasReachedMax(a,c);e++)this._itemExists(c,b[e])||(d=!0,c.push(b[e]),a.get("e.pillInserted").fire());d&&a.set("v.items",c)},handleEvent:function(a,b){var c=b.getParams(),d=c.value.action,c=c.value.data;d&&c&&("focusPrevItem"===d?this.focusItem(a,c,-1):"focusNextItem"===d?this.focusItem(a,c,1):"focusLastItem"===d?this.focusItem(a,c,0):"delete"===d&&this.deleteItem(a,
c))},deleteItem:function(a,b){if(a.get("v.allowRemove")){var c=this;window.setTimeout($A.getCallback(function(){$A.run(function(){c._deleteItem(a,b)})}),0)}},focusItem:function(a,b,c){var d=0;a=a.find("pill");if($A.util.isArray(a)){if($A.util.isEmpty(a)||isNaN(c))return;if(0===c)d=a.length-1;else{for(var e=0;e<a.length;e++)if(this._isEqual(b,a[e].get("v.data"))){d=e+c;break}d>=a.length&&(d=0);0>d&&(d=a.length-1)}b=a[d]}else if(""<a)b=a;else return;b.get("c.setFocus").run()},focusOnInputBox:function(a){if(a.getElement())if("DESKTOP"===
$A.get("$Browser.formFactor")){a=a.getElement().querySelectorAll("input");var b=a.length;if(0<b)for(b-=1;0<=b;b--)!a[b].disabled&&"hidden"!==a[b].type.toLowerCase()&&a[b].focus()}else a=a.getElement().querySelectorAll("a"),b=a.length,a[b-1].focus()},getTopicSuggestions:function(a,b){var c=b.getParam("text");if(""!==c.trim()){var d=a.getConcreteComponent(),e=a.get("v.allSuggestedTopics"),d=d.get("c.updateTopicSuggestions");d.setParams({text:c,maxResults:b.getParam("maxResults")});d.setCallback(this,
function(b){if("SUCCESS"===b.getState()){b=b.getReturnValue();for(var c=[],d=0;d<b.length;d++){var f={name:b[d].name,id:b[d].existingTopic?b[d].existingTopic.id:void 0};c.push(f);this._itemExists(e,f)||e.push(f)}this.handleTopicSelected(a,c)}a.get("e.topicsUpdated").fire()});d.setStorable();$A.enqueueAction(d)}},_itemExists:function(a,b){for(var c=!1,d=0;d<a.length;d++)if(this._isEqual(a[d],b)){c=!0;break}return c},_hasReachedMax:function(a,b){return b.length>=a.get("v.maxAllowed")},_isEqual:function(a,
b){return a.name.toLowerCase()===b.name.toLowerCase()},_deleteItem:function(a,b){for(var c=a.get("v.items"),d=c.length,e=0;e<d;e++)if(this._isEqual(b,c[e])){c.splice(e,1);a.set("v.items",c);a.get("e.pillRemoved").fire();if(0>=c.length)this.focusOnInputBox(a);else{d=a.find("pill");if($A.util.isEmpty(c)||!$A.util.isArray(c))break;c=e-1;c>=d.length?c=d.length-1:0>c&&(c=1);d[c].getElement().focus()}break}}},renderer:{afterRender:function(a,b){a.superAfterRender();a.get("v.focusOnInput")&&b.focusOnInputBox(a)}}}});return {"xs":"I","descriptor":"markup://forceChatter:pillContainer","st":{"descriptor":"css://forceChatter.pillContainer","cl":"forceChatterPillContainer"},"cd":{"descriptor":"compound://forceChatter.pillContainer","ac":[{"n":"getOptions","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemTopicSuggestionsController/ACTION$getOptions","at":"SERVER","rt":"java://java.util.List","pa":[{"name":"keyword","type":"java://java.lang.String"},{"name":"text","type":"java://java.lang.String"},{"name":"maxResults","type":"java://int","loggable":true},{"name":"suggestNewTopics","type":"java://boolean"}]},{"n":"updateTopicSuggestions","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemTopicSuggestionsController/ACTION$updateTopicSuggestions","at":"SERVER","rt":"java://java.util.List","pa":[{"name":"text","type":"java://java.lang.String"},{"name":"maxResults","type":"java://int"}]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["items","aura://List","I",false,[]],["maxAllowed","aura://Integer","I",false,10],["focusOnInput","aura://Boolean","I",false,true],["allowRemove","aura://Boolean","I",false,true],["allowAdd","aura://Boolean","I",false,true],["inputLabel","aura://String","I",false,"Add new pill"],["recordId","aura://String","I",false],["clearText","aura://Boolean","I",false],["class","aura://String","I",false],["allSuggestedTopics","aura://List","I",false,[]]],"re":[{"ed":"markup://ui:response","n":"pillInserted","xs":"I"},{"ed":"markup://ui:change","n":"topicsUpdated","xs":"I"},{"ed":"markup://forceChatter:getTopicSuggestions","n":"getTopicSuggestions","xs":"I"},{"ed":"markup://ui:response","n":"pillRemoved","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.processPillInserted"},"n":"pillInserted"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.processPillRemoved"},"n":"pillRemoved"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.getTopicSuggestions"},"n":"getTopicSuggestions"},{"ed":{"descriptor":"markup://forceChatter:enableEditTopics"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.focusOnInputBox"}},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.clearText"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.clearText"},"n":"change"}],"ld":{"pill":{}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-addTopicsContainer cuf-addTopics"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-form-element__label"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:pillContainer","path":"$Label.PillContainer.Topic"}}}}}]}}}},{"componentDef":{"descriptor":"markup://lightning:helptext","type":"module"},"attributes":{"values":{"iconName":{"descriptor":"iconName","value":"utility:info"},"content":{"descriptor":"content","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:pillContainer","path":"$Label.PillContainer.HowToEdit"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"orderedList"}},"tag":{"descriptor":"tag","value":"ol"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:iteration"},"localId":"pills","attributes":{"values":{"var":{"descriptor":"var","value":"item"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"listitem","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"role":"presentation"}},"tag":{"descriptor":"tag","value":"li"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:pill"},"localId":"pill","attributes":{"values":{"showDelete":{"descriptor":"showDelete","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:pillContainer","path":"v.allowRemove"}},"data":{"descriptor":"data","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:pillContainer","path":"item"}},"onHandledEvent":{"descriptor":"onHandledEvent","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:pillContainer","path":"c.handleEvent"}}}}}]}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:pillContainer","path":"v.items"}}}}},{"componentDef":{"descriptor":"markup://aura:renderIf"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"role":"presentation"}},"tag":{"descriptor":"tag","value":"li"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:topicAutocompleteInput"},"localId":"topicAutocomplete","attributes":{"values":{"handleBackspaceKeyOnEmpty":{"descriptor":"handleBackspaceKeyOnEmpty","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:pillContainer","path":"c.handleBackspaceKeyOnEmpty"}},"suggestNewTopics":{"descriptor":"suggestNewTopics","value":true},"maxResults":{"descriptor":"maxResults","value":5},"insertInputPill":{"descriptor":"insertInputPill","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:pillContainer","path":"c.handleTopicSelected"}},"inputLabel":{"descriptor":"inputLabel","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:pillContainer","path":"v.inputLabel"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:pillContainer","path":"v.allowAdd"}}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://force:iconDeprecated",function(){/*$A.componentService.addComponentClass("markup://force:iconDeprecated",function(){return{meta:{name:"force$iconDeprecated","extends":"markup://aura:component"},helper:{constants:{ICONMAP:{edit:"\ue700",settings:"\ue701",warning:"\ue702",move:"\ue703",user:"\ue704","3dots":"\ue800",monthlyview:"\ue801",add:"\ue802",adduser:"\ue803",announcement:"\ue804",attach:"\ue805",back:"\ue806",notification:"\ue807",bookmark:"\ue808",call:"\ue809",chat:"\ue80a",check:"\ue80b",checkin:"\ue80c",chevronleft:"\ue80d",
chevronright:"\ue80e",close:"\ue80f",dash:"\ue810",desktop:"\ue811",down:"\ue812",download:"\ue813",email:"\ue814",error:"\ue815",event:"\ue816",favorite:"\ue817",filter:"\ue818",filterList:"\ue819",frozen:"\ue81a",groups:"\ue81b",help:"\ue81c",image:"\ue81d",info:"\ue81e",left:"\ue81f",like:"\ue820",link:"\ue821",list:"\ue822",location:"\ue823",lock:"\ue824",logout:"\ue825",magicwand:"\ue826","new":"\ue827",news:"\ue828",notebook:"\ue829",open:"\ue82a",people:"\ue82b",phone_landscape:"\ue82c",phone_portrait:"\ue82d",
photo:"\ue82e",priority:"\ue82f",push:"\ue830",question:"\ue831",redo:"\ue832",refresh:"\ue833",reply:"\ue834",retweet:"\ue835",right:"\ue836",rotate:"\ue837",rows:"\ue838",search:"\ue839",share:"\ue83a",sms:"\ue83b",socialshare:"\ue83c",sort:"\ue83d",spinner:"\ue83e",success:"\ue83f",tablet_landscape:"\ue840",tablet_portrait:"\ue841",topic:"\ue842",undo:"\ue843",up:"\ue844",upload:"\ue845",builder:"\ue846",richtextbulletedlist:"\ue847",richtextnumberedlist:"\ue848",richtextindent:"\ue849",unlock:"\ue84a",
weeklyview:"\ue84b",signpost:"\ue84c",apps:"\ue84d",capslock:"\ue84e",opened_folder:"\ue84f",richtextoutdent:"\ue850",questions_and_answers:"\ue851",cases:"\ue852",knowledge_base:"\ue853",shield:"\ue854",office365:"\ue855",brush:"\ue856",palette:"\ue857",page:"\ue858",preview:"\ue859",new_window:"\ue860",standard_objects:"\ue861",salesforce1:"\ue862",identity:"\ue863",custom_apps:"\ue864",connected_apps:"\ue865",cut:"\ue866",copy:"\ue867",paste:"\ue868",offline:"\ue869",clear:"\ue870",home:"\ue871",
open_folder:"\ue872",puzzle:"\ue873","delete":"\ue874",chart:"\ue875",company:"\ue876",crossfilter:"\ue877",expand:"\ue878",inbox:"\ue879",justify_text:"\ue880",power:"\ue881",remove_link:"\ue882",strikethrough:"\ue883",table:"\ue884",text_color:"\ue885",zoomin:"\ue886",ban:"\ue887",kanban:"\ue888",replace:"\ue889",arrowdown:"\ue88a",arrowup:"\ue88b",bucket:"\ue88c",chevrondown:"\ue88d",chevronup:"\ue88e",dayview:"\ue88f",side_list:"\ue890",summary:"\ue891",tile_card_list:"\ue892",zoomout:"\ue893",
contract:"\ue894",insert_tag_field:"\ue895",relate:"\ue896","utility-setup_assistant_guide":"\ue897",summarydetail:"\ue898",center_align_text:"\ue899",comments:"\ue900",insert_template:"\ue901",left_align_text:"\ue902",matrix:"\ue903",process:"\ue904",remove_formatting:"\ue905",right_align_text:"\ue906",snippet:"\ue907","switch":"\ue908",text_background_color:"\ue909",setup:"\ue910",clock:"\ue911",bold:"\ue912",italic:"\ue913",underline:"\ue914"}},getFontKey:function(a){return this.constants.ICONMAP[a]},
setIconElementAttributes:function(a,c,b){var d=this.getFontKey(c);c&&(a.setAttribute("data-key",c),a.setAttribute("data-icon",d));"decorative"===b&&a.setAttribute("aria-hidden",!0)},setAltText:function(a,c){var b;c&&""!=c&&(a.setAttribute("alt",c),b=document.createElement("span"),$A.util.addClass(b,"assistiveText"),b.appendChild(document.createTextNode(c)),$A.util.appendChild(b,a))}},renderer:{afterRender:function(a,c){a.superAfterRender();var b=a.getElement();b&&($A.util.addClass(b,a.get("v.class")),
c.setIconElementAttributes(b,a.get("v.key"),a.get("v.imageType")),c.setAltText(b,a.get("v.alt")))},rerender:function(a,c){a.superRerender();var b=a.getElement();b&&c.setIconElementAttributes(b,a.get("v.key"),a.get("v.imageType"))}}}});return {"xs":"I","descriptor":"markup://force:iconDeprecated","st":{"descriptor":"css://force.iconDeprecated","cl":"forceIconDeprecated"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["key","aura://String","I",false],["alt","aura://String","I",false],["class","aura://String","I",false],["tag","aura://String","I",false,"div"],["imageType","aura://String","I",false,"informational"]],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:renderIf"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"force:iconDeprecated","path":"v.body"}}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"src":"/s.gif","title":{"exprType":"PROPERTY","byValue":false,"target":"force:iconDeprecated","path":"v.alt"}}},"tag":{"descriptor":"tag","value":{"exprType":"PROPERTY","byValue":false,"target":"force:iconDeprecated","path":"v.tag"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq(cmp.get(\"v.body.length\"),0);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:iconDeprecated","path":"v.body.length"}],"byValue":false}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceContent:fileDroppableZone",function(){/*$A.componentService.addComponentClass("markup://forceContent:fileDroppableZone",function(){return{meta:{name:"forceContent$fileDroppableZone","extends":"markup://aura:component",imports:{ct:"markup://ui:contentTypeLibrary",dropLib:"markup://forceContent:fileDroppableLibrary"}},controller:{handlePageDragEvent:function(a,b,c){a.get("v.disable")||(b=b.getParam("arguments"),c.handlePageDragEvents(a,b.event))},handleCmpDragEvent:function(a,b,c){a.get("v.disable")||(b=b.getParam("arguments"),c.handleCmpDragEvents(a,
b.event))},setDragOverStyles:function(a,b,c){a.get("v.disable")||(b=b.getParam("arguments"))&&c.setDragOverStyles(a,b.dragClass)},removeDragOverStyles:function(a,b,c){a.get("v.disable")||c.removeDragOverStyles(a)}},helper:{ACCEPT_ALL_TYPE:"*",SEPARATOR:"/",setDragOverStyles:function(a,b){var c=b?b:this.getHasDragOverClass(a);$A.util.hasClass(a.find("fileDropZone"),c)||$A.util.addClass(a.find("fileDropZone"),c);$A.util.hasClass(a,"has-drag-over")||$A.util.addClass(a,"has-drag-over")},removeDragOverStyles:function(a){$A.util.removeClass(a.find("fileDropZone"),
"slds-has-drag-over");$A.util.removeClass(a.find("fileDropZone"),"slds-has-drag");$A.util.removeClass(a,"has-drag-over")},handleFileChangeEvent:function(a,b,c){b.preventDefault();this.validate(a,c)&&this.fireOnChangeEvent(a,c);a.set("v.hasError",!1);a.set("v.privateErrorMessage","");this.removeDragOverStyles(a)},validate:function(a,b){return this.validateFileType(a,b)&&this.validateMultipleFiles(a,b)},validateMultipleFiles:function(a,b){var c=$A.util.isEmpty(b.files)?b.items:b.files;return!a.get("v.multiple")&&
c&&1<c.length?(a.set("v.hasError",!0),a.set("v.privateErrorMessage",a.get("v.messageWhenMultiFileUnsupported")),!1):!0},validateFileType:function(a,b){var c=a.get("v.accept");if(-1!==c.indexOf(this.ACCEPT_ALL_TYPE+this.SEPARATOR+this.ACCEPT_ALL_TYPE))return!0;var d=new this.ct.contentType(c);return!$A.util.every(this.getFileListAsArray(b),function(a){return d.accept(a.type)},this)?(a.set("v.hasError",!0),a.set("v.privateErrorMessage",a.get("v.messageWhenFileTypeUnsupported")),!1):!0},getFileListAsArray:function(a){var b=
0===a.files.length&&a.items?a.items:a.files;return Object.keys(b).map(function(a){return b[a]})},fireOnChangeEvent:function(a,b){var c=a.get("v.onchange");c?c.run({files:b.files}):a.getEvent("filesDropped").setParams({droppedFiles:b.files}).fire()},getHasDragOverClass:function(a){return a.get("v.hasError")?"slds-has-drag":"slds-has-drag slds-has-drag-over"},handlePageDragEvents:function(a,b){"dragenter"===b.type?this.setDragOverStyles(a,"slds-has-drag"):("dragleave"===b.type||"drop"===b.type)&&this.removeDragOverStyles(a)},
handleCmpDragEvents:function(a,b){"dragenter"===b.type?(this.validate(a,b.dataTransfer),this.setDragOverStyles(a)):"dragleave"===b.type?(a.set("v.hasError",!1),a.set("v.privateErrorMessage",null),this.removeDragOverStyles(a)):"dragover"===b.type?this.setDragOverStyles(a):"drop"===b.type&&this.handleFileChangeEvent(a,b,b.dataTransfer)}},renderer:{afterRender:function(a,b){a.superAfterRender();b.dropLib.util.register(a)},unrender:function(a,b){b.dropLib.util.deregister(a);a.superUnrender()}}}});return {"xs":"I","descriptor":"markup://forceContent:fileDroppableZone","st":{"descriptor":"css://forceContent.fileDroppableZone","cl":"forceContentFileDroppableZone"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["disabled","aura://Boolean","G",false,false],["class","aura://String","G",false],["bodyText","aura://String","G",false,{"exprType":"PROPERTY","byValue":false,"target":"forceContent:fileDroppableZone","path":"$Label.LightningInputFile.bodyText"}],["accept","aura://String","G",false,"\u002A/*"],["multiple","aura://Boolean","G",false,false],["messageWhenFileTypeUnsupported","aura://String","G",false],["messageWhenMultiFileUnsupported","aura://String","G",false],["onchange","aura://Aura.Action","G",false,null],["disable","aura://Boolean","I",false,false],["hasError","aura://Boolean","p",false,false],["privateErrorMessage","aura://String","p",false]],"med":[{"name":"forceContent:handlePageDragEvent","xs":"I","action":"{!c.handlePageDragEvent}","attributes":[["event","aura://Object","I",false,null]]},{"name":"forceContent:handleComponentDragEvent","xs":"I","action":"{!c.handleCmpDragEvent}","attributes":[["event","aura://Object","I",false,null]]},{"name":"forceContent:setDragOverStyles","xs":"I","action":"{!c.setDragOverStyles}","attributes":[["dragClass","aura://String","I",false]]},{"name":"forceContent:reset","xs":"I","action":"{!c.removeDragOverStyles}"}],"i":["markup://forceContent:fileDroppable"],"re":[{"ed":"markup://forceContent:filesDropped","n":"filesDropped","xs":"I"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"PROPERTY","byValue":false,"target":"forceContent:fileDroppableZone","path":"v.class"}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-file-selector slds-file-selector--integrated slds-file-selector--integrated"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"fileDropZone","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-file-selector__dropzone slds-file-selector__dropzone--integrated"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"slds-file-selector__body slds-file-selector__body--integrated\",(cmp.get(\"v.hasError\")?\" slds-disabled-text\":\"\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceContent:fileDroppableZone","path":"v.hasError"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:icon"},"attributes":{"values":{"size":{"descriptor":"size","value":"medium"},"class":{"descriptor":"class","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"slds-file-selector__body-icon slds-icon slds-icon-text-default \",(cmp.get(\"v.hasError\")?\" slds-disabled-text\":\"\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceContent:fileDroppableZone","path":"v.hasError"}],"byValue":false}},"key":{"descriptor":"key","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.hasError\")?\"ban\":\"upload\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceContent:fileDroppableZone","path":"v.hasError"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-file-selector__text slds-file-selector__text--integrated slds-text-heading--medium slds-text-align--center"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.hasError\")?cmp.get(\"v.privateErrorMessage\"):cmp.get(\"v.bodyText\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceContent:fileDroppableZone","path":"v.privateErrorMessage"},{"exprType":"PROPERTY","byValue":false,"target":"forceContent:fileDroppableZone","path":"v.hasError"},{"exprType":"PROPERTY","byValue":false,"target":"forceContent:fileDroppableZone","path":"v.bodyText"}],"byValue":false}}}}}]}}}}]}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"drag-over-body"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceContent:fileDroppableZone","path":"v.body"}}}}}]}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:recommendationInFeed",function(){/*$A.componentService.addComponentClass("markup://forceChatter:recommendationInFeed",function(){return{meta:{name:"forceChatter$recommendationInFeed","extends":"markup://aura:component"},controller:{init:function(a,d,c){a=a.find("recommendationCard");"SuccessfulStatus"!==a.get("v.recommendation").platformActionGroup.platformActions[0].status&&a.helper.logEvent(a,"SERVED")},onRejected:function(a,d){var c=d.getParam("recommendation"),b=a.get("v.data.items"),e=c.entity.idOrEnum||c.entity.id||"";b&&(b=
$A.util.filter(b,function(a){return a.entity.idOrEnum!==e&&a.entity.id!==e}),a.set("v.data.items",b),0===b.length&&$A.getEvt("markup://forceChatter:feedItemDeleted").setParams({feedItemId:a.get("v.feedElementId")}).fire())}}}});return {"xs":"I","descriptor":"markup://forceChatter:recommendationInFeed","ad":[["body","aura://Aura.Component[]","G",false,[]],["data","aura://Object","I",true,null],["feedElementId","aura://String","I",true]],"hd":[{"ed":{"descriptor":"markup://forceChatter:recommendationRejected"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onRejected"}},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:recommendationSingleCard"},"localId":"recommendationCard","attributes":{"values":{"endPoint":{"descriptor":"endPoint","value":"AURA_FEED"},"channel":{"descriptor":"channel","value":"DefaultChannel"},"recommendation":{"descriptor":"recommendation","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationInFeed","path":"v.data.items.0"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.ne(cmp.get(\"v.data.items\"),null);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationInFeed","path":"v.data.items"}],"byValue":false}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://one:navItemDropdownMenuItemSeparator",function(){/*$A.componentService.addComponentClass("markup://one:navItemDropdownMenuItemSeparator",function(){return{meta:{name:"one$navItemDropdownMenuItemSeparator","extends":"markup://ui:menuItemSeparator"},renderer:{afterRender:function(a){var b=a.superAfterRender();a.getElement().appendChild(document.createTextNode(a.get("v.label")));return b}}}});return {"xs":"I","descriptor":"markup://one:navItemDropdownMenuItemSeparator","st":{"descriptor":"css://one.navItemDropdownMenuItemSeparator","cl":"oneNavItemDropdownMenuItemSeparator"},"su":"markup://ui:menuItemSeparator","ad":[["body","aura://Aura.Component[]","G",false,[]],["class","aura://String","G",false],["dir","aura://String","I",false,"ltr"],["namespaceOverride","aura://String","I",false],["actionable","aura://Boolean","I",false,true],["role","aura://String","I",false],["ariaDescribedBy","aura://String","PP",false,""],["value","aura://Object","PP",false,null],["visible","aura://Boolean","I",false,true],["label","aura://String","I",false]],"re":[{"ed":"markup://ui:click","n":"click","xs":"G"},{"ed":"markup://ui:dblclick","n":"dblclick","xs":"G"},{"ed":"markup://ui:mousedown","n":"mousedown","xs":"G"},{"ed":"markup://ui:mousemove","n":"mousemove","xs":"G"},{"ed":"markup://ui:mouseout","n":"mouseout","xs":"G"},{"ed":"markup://ui:mouseover","n":"mouseover","xs":"G"},{"ed":"markup://ui:mouseup","n":"mouseup","xs":"G"}],"css":true}*/});
$A.componentService.addComponent("markup://home:heroChartOpptyContainer",function(){/*$A.componentService.addComponentClass("markup://home:heroChartOpptyContainer",function(){return{meta:{name:"home$heroChartOpptyContainer","extends":"markup://aura:component"},controller:{navigateToSObject:function(c,a){var b=a.currentTarget.getAttribute("data-rec-id");$A.getEvt("markup://force:navigateToSObject").setParams({recordId:b}).fire();a.preventDefault()}}}});return {"xs":"I","descriptor":"markup://home:heroChartOpptyContainer","st":{"descriptor":"css://home.heroChartOpptyContainer","cl":"homeHeroChartOpptyContainer"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["items","aura://Object[]","I",false,[]]],"ld":{"recordLink":{}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-text-title--caps"}},"tag":{"descriptor":"tag","value":"h2"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"home:heroChartOpptyContainer","path":"$Label.HeroChart.ClosingOpportunityPanelHeader"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-m-left--small"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:tooltip"},"attributes":{"values":{"advanced":{"descriptor":"advanced","value":true},"tooltipBody":{"descriptor":"tooltipBody","value":{"exprType":"PROPERTY","byValue":false,"target":"home:heroChartOpptyContainer","path":"$Label.HeroChart.ClosingOpportunityInfoBubble"}},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:icon"},"attributes":{"values":{"key":{"descriptor":"key","value":"info"}}}}]},"direction":{"descriptor":"direction","value":"east"}}}}]}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"ul"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:iteration"},"attributes":{"values":{"var":{"descriptor":"var","value":"item"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"li"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:block"},"attributes":{"values":{"left":{"descriptor":"left","value":[{"componentDef":{"descriptor":"markup://force:entityIcon"},"attributes":{"values":{"color":{"descriptor":"color","value":"FCB95B"},"icon":{"descriptor":"icon","value":"/img/icon/t4v35/standard/opportunity_120.png"},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":true,"target":"home:heroChartOpptyContainer","path":"$Label.udd_Opportunity.Entity"}},"class":{"descriptor":"class","value":"entityIcon"}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"fields"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"recordLink","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"data-rec-id":{"exprType":"PROPERTY","byValue":true,"target":"home:heroChartOpptyContainer","path":"item.I"},"onclick":{"exprType":"PROPERTY","byValue":false,"target":"home:heroChartOpptyContainer","path":"c.navigateToSObject"},"href":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(fn.add(\"#/sObject/\",cmp.get(\"item.I\")),\"/view\");}","args":[{"exprType":"PROPERTY","byValue":true,"target":"home:heroChartOpptyContainer","path":"item.I"}],"byValue":true},"class":"nameField"}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":true,"target":"home:heroChartOpptyContainer","path":"item.N"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"amount otherField"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":true,"target":"home:heroChartOpptyContainer","path":"item.FormattedAmount"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"otherField"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":true,"target":"home:heroChartOpptyContainer","path":"item.S"}}}}}]}}}}]}}}}]}}}}]}}}}]}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":true,"target":"home:heroChartOpptyContainer","path":"v.items"}}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://runtime_search_federated:externalScopes",function(){/*$A.componentService.addComponentClass("markup://runtime_search_federated:externalScopes",function(){return{meta:{name:"runtime_search_federated$externalScopes","extends":"markup://forceSearch:scopes"},provider:{provide:function(a){if(a.getDef().getHelper().lib.ctx.isDesktop()&&!a.get("v.useRibbon"))return"runtime_search_federated:externalScopesList"}}}});return {"xs":"I","descriptor":"markup://runtime_search_federated:externalScopes","su":"markup://forceSearch:scopes","ad":[["body","aura://Aura.Component[]","G",false,[]],["shouldFocus","aura://Boolean","I",false,false],["groupId","aura://String","I",true,"DEFAULT"],["updateChildren","aura://Boolean","I",true,true],["updateOnlyIfActive","aura://Boolean","I",true,true],["priv_valueProviderReady","aura://Boolean","I",false,false],["initialTerm","aura://String","I",false],["initialScopeMap","aura://Map","I",false,null],["initialContext","aura://Map","I",false,null],["inContextOfComponent","aura://String","I",false,"forceSearch:search"],["term","aura://String","I",true,""],["scopeMap","aura://Map","I",true,{}],["context","aura://Map","I",true,{}],["loggingContext","aura://Map","I",true,{}],["impl","aura://String","I",false],["scopeSets","aura://Map","I",false,{}],["class","aura://String","G",false],["dir","aura://String","I",false,"ltr"],["namespaceOverride","aura://String","I",false],["actionable","aura://Boolean","I",false,true],["role","aura://String","I",false],["ariaDescribedBy","aura://String","PP",false,""],["value","aura://Object","PP",false,null],["visible","aura://Boolean","I",false,true],["title","aura://String","I",false,""],["defaultScopeSetType","aura://String","I",false,"EXTERNAL"],["activeScopeSetType","aura://String","I",false,""],["useRibbon","aura://Boolean","I",false,false],["enableMoreScopes","aura://Boolean","I",false,false],["dataProvider","aura://Aura.Component[]","I",false,[]],["defaultScopeIndex","aura://Integer","I",false,0],["fetchScopesOnInit","aura://Boolean","I",false,true],["allowScopesReordering","aura://Boolean","I",false,false],["priv_logInfo","aura://Map","I",false,{}],["priv_setInitialScopeDone","aura://Boolean","I",false,false]],"med":[{"name":"forceSearch:update","xs":"I","action":"{!c.update}","attributes":[["type","aura://String","I",false],["term","aura://String","I",false],["scopeMap","aura://Map","I",false,null],["context","aura://Map","I",false,null],["sourceId","aura://String","I",false]]}],"re":[{"ed":"markup://force:searchRequest","n":"searchRequest","xs":"I"},{"ed":"markup://ui:click","n":"click","xs":"G"},{"ed":"markup://ui:dblclick","n":"dblclick","xs":"G"},{"ed":"markup://ui:mousedown","n":"mousedown","xs":"G"},{"ed":"markup://ui:mousemove","n":"mousemove","xs":"G"},{"ed":"markup://ui:mouseout","n":"mouseout","xs":"G"},{"ed":"markup://ui:mouseover","n":"mouseover","xs":"G"},{"ed":"markup://ui:mouseup","n":"mouseup","xs":"G"}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:baseSearchPage",function(){/*$A.componentService.addComponentClass("markup://forceSearch:baseSearchPage",function(){return{meta:{name:"forceSearch$baseSearchPage","extends":"markup://forceSearch:baseSearch"},controller:{init:function(a,b,d){d.loadInitialValues(a);d.fireCustom(a,"forceSearch:baseSearchPage:STATE_CHANGE",{state:"LOADED",page:a.getType()})},destroy:function(a,b,d){d.fireCustom(a,"forceSearch:search:STATE_CHANGE",{state:"DESTROYING",page:a.getType(),cmpId:a.getGlobalId()});d.fireClear(a)},handleRefresh:function(a,
b,d){b.getSource()===a&&d.fireSearch(a)}},helper:{isFreshSearch:function(a,b){var d=(new Date).getTime(),c=a.get("v.priv_lastSearch");if(c){var e=a.get("v.priv_minTimeBeforeRefresh");if(parseInt(c.time,10)>d-e){var c=c.params,e=c.scopeMap||{},f=b.scopeMap||{};if(e.name===f.name&&e.namespace===f.namespace&&e.type===f.type&&c.term===b.term&&c.currentPage===b.currentPage&&c.sortBy===b.sortBy)return!1}}a.set("v.priv_lastSearch",{time:d,params:{scopeMap:b.scopeMap,term:b.term,currentPage:b.currentPage,
sortBy:b.sortBy}});return!0},toggleInlineSpinner:function(a){a&&$A.get("e.force:toggleSpinner").setParams({visible:!1}).fire();$A.get("e.force:toggleSpinner").setParams({visible:a}).fire()},endShowResultsTransaction:function(a,b,d){var c={};$A.util.isEmpty(b)||(c.queryId=b.queryId,c.serverPopulatedSearchContext=b.serverPopulatedSearchContext);b=this.lib.filters.getNumFiltersInfo(d);c.numFilterConditions=b.numFilterConditions;c.numFilterFields=b.numFilterFields;$A.util.isEmpty(d)||(c.unfilteredQueryId=
a.get("v.loggingContext.unfilteredQueryId"));this.lib.logging.logPerf(a,"showResults","END",c)},handleExit:function(a){void 0!==a.get("v.groupId")&&(a.set("v.priv_active",!1,!0),this.fireCustom(a,"forceSearch:search:STATE_CHANGE",{state:"EXITING",page:a.getType(),cmpId:a.getGlobalId()}))}}}});return {"xs":"I","descriptor":"markup://forceSearch:baseSearchPage","st":{"descriptor":"css://forceSearch.baseSearchPage","cl":"forceSearchBaseSearchPage"},"su":"markup://forceSearch:baseSearch","ad":[["body","aura://Aura.Component[]","G",false,[]],["shouldFocus","aura://Boolean","I",false,false],["groupId","aura://String","I",true,"DEFAULT"],["updateChildren","aura://Boolean","I",true,true],["updateOnlyIfActive","aura://Boolean","I",true,true],["priv_valueProviderReady","aura://Boolean","I",false,false],["initialTerm","aura://String","I",false],["initialScopeMap","aura://Map","I",false,null],["initialContext","aura://Map","I",false,null],["inContextOfComponent","aura://String","I",false,"forceSearch:search"],["term","aura://String","I",true,""],["scopeMap","aura://Map","I",true,{}],["context","aura://Map","I",true,{}],["loggingContext","aura://Map","I",true,{}],["searchShowLauncher","aura://Boolean","I",false,true],["searchActive","aura://Boolean","I",false,false],["canRefresh","aura://Boolean","PP",false],["priv_active","aura://Boolean","I",false,true],["priv_resolvedScope","aura://Map","I",false,{}],["priv_lastSearch","aura://Object","I",false,"{}"],["priv_minTimeBeforeRefresh","aura://Integer","I",false,1000]],"med":[{"name":"forceSearch:update","xs":"I","action":"{!c.update}","attributes":[["type","aura://String","I",false],["term","aura://String","I",false],["scopeMap","aura://Map","I",false,null],["context","aura://Map","I",false,null],["sourceId","aura://String","I",false]]}],"i":["markup://forceSearch:searchable","markup://ui:handlesRefresh"],"re":[{"ed":"markup://force:searchRequest","n":"searchRequest","xs":"I"},{"ed":"markup://ui:refresh","n":"refresh","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.destroy"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"destroy"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleRefresh"},"n":"refresh"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"searchContainer","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(cmp.get(\"v.class\"),\" slds-grid\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:baseSearchPage","path":"v.class"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:baseSearchPage","path":"v.body"}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:feedback",function(){/*$A.componentService.addComponentClass("markup://forceChatter:feedback",function(){return{meta:{name:"forceChatter$feedback","extends":"markup://aura:component",imports:{feedLib:"markup://forceChatter:feedLib",interactionsBuilder:"markup://forceChatter:interactionsBuilderService",errorMessage:"markup://forceChatter:errorMessageService",eventHandler:"markup://forceChatter:feedEventingService",offlineMessage:"markup://forceChatter:offlineMessageService",realtime:"markup://forceChatter:streamingDataService",
eventBroker:"markup://one:s1EventBroker"}},controller:{init:function(a,c,b){c=a.get("v.feedItem");var d=[];a.get("v.isInPrivateGroup")?a.get("v.subjectId")!==(c.parent.id||"")&&d.push($A.get("$Label.Feeds.CUFCommentPostAtmentionPrivateGroupMsg")):a.get("v.showGroupMentionVisibility")&&d.push($A.get("$Label.Feeds.CUFCommentPostAtmentionPrivateGroupMsg"));"PrivateAccess"===c.parent.visibility&&c.parent.canHaveChatterGuests&&d.push($A.get("$Label.Feeds.ExternalGroupPostWarning"));0<d.length&&a.set("v._contextualMessages",
d);a.get("v.feedDisplayConfig.searching")&&a.set("v._resetOnShowMore",!0);b.feedLib.util.isPSSC()&&(a.set("v._showTopRankedComments",!0),d=$A.util.lookup(a.get("v.topRankedComments"),"items"),$A.util.isEmpty(d)||b.feedLib.util.logFeedInteraction(a,"feedItem","topRankedComments",$A.util.lookup(c,"id"),{topRankedCommentsCount:d.length}),b.isRequestFromPrerender(a)&&"DRILL_IN"===a.get("v.feedDisplayConfig.mode")&&(a.shouldLoadAllComments=!0,c=$A.util.lookup(c,"capabilities","comments","page","nextPageToken"),
b.loadAllCommentsForSEO(a,c)));b.updateOrganizedComments(a);b.updateHasPreviousCommentsAvailable(a);b.updateHasSubsequentCommentsAvailable(a)},refreshComments:function(a,c,b){b.retrieveDataIfNotAlreadyRetrievingData(a,function(){return b.refreshComments(a)})},updateContextUserData:function(a,c,b){(c=c.getParam("feedContextUser"))&&a.set("v.feedDisplayConfig.contextUser",c)},subscribeForNewComments:function(a,c,b){b.subscribeToComments(a)},rerenderLikes:function(a,c,b){c.getParam("associatedObjectId")===
a.get("v.feedItem.id")&&b.interactionsBuilder.service.renderLikersBar(a)},focusCommentInput:function(a){setTimeout($A.getCallback(function(){a&&a.isValid()&&a.helper.eventHandler.service.focusCommentInput(a.find("commentInput"))}),0)},updateOrganizedComments:function(a,c,b){b.updateOrganizedComments(a)},updateHasSubsequentCommentsAvailable:function(a,c,b){b.updateHasSubsequentCommentsAvailable(a,c)},updateHasPreviousCommentsAvailable:function(a,c,b){b.updateHasPreviousCommentsAvailable(a)},handleShowPublisherEvent:function(a,
c,b){c.stopPropagation();b.expandCommentInputArea(a)},handleCommentRepliesRequestedEvent:function(a,c,b){c.stopPropagation();var d=c.detail.commentId;b.retrieveDataIfNotAlreadyRetrievingData(a,function(){return b.loadCommentReplies(a,d)})},handleShowMoreEvent:function(a,c,b){c.stopPropagation();b.retrieveDataIfNotAlreadyRetrievingData(a,function(){return b.showMoreComments(a)})},handleShowNextEvent:function(a,c,b){c.stopPropagation();$A.metricsService.transaction("ltng","interaction",{context:{eventSource:"synthetic-show-next-comments",
eventType:"user",locator:{target:"feeds_paging-show-next-trigger",scope:"ChatterFeed-feedback"}}});b.retrieveDataIfNotAlreadyRetrievingData(a,function(){return b.showSubsequentComments(a)})},handleShowPreviousEvent:function(a,c,b){c.stopPropagation();$A.metricsService.transaction("ltng","interaction",{context:{eventSource:"synthetic-show-previous-comments",eventType:"user",locator:{target:"feeds_paging-show-previous-trigger",scope:"ChatterFeed-feedback"}}});b.retrieveDataIfNotAlreadyRetrievingData(a,
function(){return b.showPreviousComments(a)})},handleContentVisible:function(a,c,b){c.stopPropagation();a.get("v._hasWaitingLiveCommentSubscription")&&(a.set("v._hasWaitingLiveCommentSubscription",!1),b.subscribeToComments(a))},handleContentHidden:function(a,c,b){c.stopPropagation();b.realtime.service.isSubscribed(a.getGlobalId())&&(a.set("v._hasWaitingLiveCommentSubscription",!0),b.unsubscribeFromComments(a))}},helper:{constants:{MAX_PAGE_SIZE:100},getComments:function(a,c,b,d){var e=this,f=a.find("commentRetrievalService"),
h=a.get("v.feedItem.id"),g=a.get("v.config.communityId.rawValue"),k=a.get("v.canCommentsRequestReplies"),f=f.getFeedItemComments(h,b,k,d,g,c).catch($A.getCallback(function(f){return"INCOMPLETE"===f.getState()?(new Promise($A.getCallback(function(a){e.offlineMessage.service.show(a)}))).then($A.getCallback(function(){return e.getComments(a,c,b,d)})):Promise.reject(f)}));f.catch($A.getCallback(function(a){e.fireActionErrorMessage(a)}));return f},loadCommentReplies:function(a,c){var b=this,d=a.get("v.comments.items").reduce(function(a,
b){if(void 0!==a)return a;if(b.id===c)return b},void 0);if(void 0!==d){var e=a.find("commentRetrievalService"),f=a.get("v.config.communityId.rawValue"),h=a.get("v.feedDisplayConfig.commentsDisplayConfig.nextPageSize"),e=e.getCommentReplies(c,f,h,d.capabilities.comments.page.nextPageToken).catch($A.getCallback(function(e){return"INCOMPLETE"===e.getState()?(new Promise($A.getCallback(function(a){b.offlineMessage.service.show(a)}))).then($A.getCallback(function(){return b.loadCommentReplies(a,c)})):
Promise.reject(e)}));e.catch($A.getCallback(function(a){b.fireActionErrorMessage(a)}));return e.then($A.getCallback(function(c){a.isValid()&&(d.capabilities.comments.page.nextPageToken=c.nextPageToken,d.capabilities.comments.page.nextPageUrl=c.nextPageUrl,b.showComments(a,c.items,!1,!1,!1))}))}},showComments:function(a,c,b,d,e){if(d)this.insertLiveComments(a,c);else if(c){b&&a.set("v.comments.items",[]);b=a.get("v.comments.items");var f=new Set;c.forEach(function(a){f.add(a.id)});b=b.filter(function(a){return!f.has(a.id)});
b.forEach(function(a){a.transitionClass="has-appeared"});b=e?b.concat(c):c.concat(b);a.set("v.initiallyFocusedCommentId",c[0].id);a.set("v.initiallyFocusedCommentCssClass","");a.set("v.comments.items",b)}},showMoreComments:function(a,c){var b=this,d=a.get("v._resetOnShowMore"),e=d?null:a.get("v.comments.nextPageToken"),f=c||a.get("v.feedDisplayConfig.commentsDisplayConfig.nextPageSize"),h=a.get("v.config.commentSortOrder"),g="CreatedDateOldestAsc"===a.get("v.config.commentSortOrder"),e=b.getComments(a,
e,f,h).then($A.getCallback(function(c){a.set("v._moreCommentsLoaded",!0);0<c.items.length&&b.showComments(a,c.items,d,!1,g);a.set("v._resetOnShowMore",!1);a.set("v.comments.nextPageToken",c.nextPageToken);c.nextPageToken&&a.set("v.hasManyCommentPages",!0)}));b.subscribeToComments(a);f=a.get("v.feedItem");b.feedLib.util.logFeedInteraction(a,"feeditem","show-more-comments",a.get("v.feedItem.id"),{likeCount:$A.util.lookup(f,"capabilities","chatterLikes","page","total"),viewCount:$A.util.lookup(f,"capabilities",
"interactions","count"),commentCount:$A.util.lookup(f,"capabilities","comments","page","total")});return e},getQueryStringNamdParameterValue:function(a,c){a=a.replace(/[\[\]]/g,"\\$\x26");var b=RegExp("[?\x26]"+a+"(\x3d([^\x26#]*)|\x26|#|$)").exec(c);return!b?null:!b[2]?"":decodeURIComponent(b[2].replace(/\+/g," "))},showPreviousComments:function(a){var c=this,b=a.get("v.comments.previousPageToken"),d=a.get("v.comments.previousPageUrl"),e=a.get("v.feedDisplayConfig.commentsDisplayConfig.nextPageSize"),
d=c.getQueryStringNamdParameterValue("sort",d)||"CreatedDateLatestAsc",b=c.getComments(a,b,e,d).then($A.getCallback(function(b){a.set("v._moreCommentsLoaded",!0);0<b.items.length&&c.showComments(a,b.items,!1,!1,!0);a.set("v.comments.previousPageToken",b.nextPageToken);a.set("v.comments.previousPageUrl",b.nextPageUrl)}));c.subscribeToComments(a);e=a.get("v.feedItem");c.feedLib.util.logFeedInteraction(a,"feeditem","show-previous-comments",a.get("v.feedItem.id"),{likeCount:$A.util.lookup(e,"capabilities",
"chatterLikes","page","total"),viewCount:$A.util.lookup(e,"capabilities","interactions","count"),commentCount:$A.util.lookup(e,"capabilities","comments","page","total")});return b},showSubsequentComments:function(a){var c=this,b=a.get("v.comments.nextPageToken"),d=a.get("v.comments.nextPageUrl"),e=a.get("v.feedDisplayConfig.commentsDisplayConfig.nextPageSize"),d=c.getQueryStringNamdParameterValue("sort",d)||"CreatedDateLatestAsc",b=c.getComments(a,b,e,d).then($A.getCallback(function(b){a.set("v._moreCommentsLoaded",
!0);0<b.items.length&&c.showComments(a,b.items,!1,!1,!1);a.set("v.comments.nextPageToken",b.nextPageToken);a.set("v.comments.nextPageUrl",b.nextPageUrl)}));c.subscribeToComments(a);e=a.get("v.feedItem");c.feedLib.util.logFeedInteraction(a,"feeditem","show-subsequent-comments",a.get("v.feedItem.id"),{likeCount:$A.util.lookup(e,"capabilities","chatterLikes","page","total"),viewCount:$A.util.lookup(e,"capabilities","interactions","count"),commentCount:$A.util.lookup(e,"capabilities","comments","page",
"total")});return b},insertLiveComments:function(a,c){var b=function(){var c=a.get("v.comments.items");if(c&&c.length){var d=a.find("commentsUl").getElement().getElementsByClassName("cuf-commentLi");if(c.length===d.length){for(var h=!1,g=0,k=a.helper.feedLib.util.isElementVisible(d[c.length-1]),l=0;l<c.length;l++){var m=c[l];"cuf-newLiveComment"===m.transitionClass&&(window.getComputedStyle(d[l]).opacity,g+=d[l].clientHeight,k||a.helper.feedLib.util.isElementVisible(d[l])?m.transitionClass="new-live-comment in-view":
m.transitionClass="new-live-comment out-of-view",h=!0)}h&&a.set("v.comments.items",c);((c=document.activeElement)&&c.className&&-1<c.className.indexOf("cuf-commentTextArea")||-1<c.className.indexOf("cke_editable"))&&window.scrollBy(0,g);a.find("commentsUl").getElement().removeEventListener("DOMSubtreeModified",b);a._addCommentRegistered=!1}}};a.find("commentsUl").getElement().addEventListener("DOMSubtreeModified",b);var d=a.get("v.comments.items");c.forEach(function(a){a.transitionClass="cuf-newLiveComment";
a.isLive=!0});d=d.concat(c);a.set("v.youHaveNewComments",null);a.set("v.comments.items",d);a.set("v.comments.total",a.get("v.comments.total")+c.length);a.set("v.youHaveNewComments",$A.get(1===c.length?"$Label.Feeds.OneNewLiveComment":"$Label.Feeds.ManyNewLiveComments"));a.getEvent("commentInserted").fire()},getLatestComments:function(a){var c=this,b=a.get("v.config.commentSortOrder");c.getComments(a,null,26,b).then($A.getCallback(function(b){var e=a.get("v.comments");if(a.isValid()&&(!$A.util.isUndefinedOrNull(e)&&
!$A.util.isUndefinedOrNull(b))&&0<b.total-e.total){var f=e.items[e.items.length-1],h=0,g=!1;if(0===e.total)25<b.total&&(g=!0);else for(e=b.items.length;e--;0<=e){if(b.items[e].id===f.id){h=e+1;break}0===e&&(g=!0)}b=b.items.slice(h,b.items.length);0<b.length&&(g&&25<b.length?(g=$A.util.format($A.get("$Label.Feeds.RefreshComments"),25),a.set("v._commentRefreshButtonLabel",g),a.set("v.needCommentRefresh",!0)):c.showComments(a,b,!1,!0))}}))},refreshComments:function(a){var c=a.get("v.config.commentSortOrder");
return this.getComments(a,null,3,c).then($A.getCallback(function(b){a.set("v.comments.items",b.items);a.set("v.comments.nextPageToken",b.nextPageToken);a.set("v.comments.total",b.total);a.set("v.needCommentRefresh",!1);a.set("v._moreCommentsLoaded",!1);(b=a.find("commentInput").find("textarea"))?b.focusOnTextArea():a.helper.expandCommentInputArea(a)}))},subscribeToComments:function(a){if(this.realtime.service.isEnabled()){var c=$A.util.lookup(a.get("v.feedItem"),"id"),b=this,d=a.getGlobalId();this.realtime.service.subscribeComment(c,
d,$A.getCallback(function(b,c,d,g){b=a.find("typingIndicator");if("SIGNAL_TYPING"===g.liveEventType){if($A.util.isUndefinedOrNull(b)||g.userId===$A.get("$SObjectType.CurrentUser.Id").substr(0,15))return;b.addTyper({userName:g.userName,userId:g.userId})}else{var k=JSON.parse(g.payload);g=(a.get("v.comments.items")||[]).filter(function(a){return a.id===k.id});$A.util.isUndefinedOrNull(b)||b.removeTyper({userId:k.user.id.substr(0,15)});0===g.length&&a.helper.showComments(a,[k],!1,!0)}return!1}),$A.getCallback(function(){a.isValid()&&
b.getLatestComments(a)}))}},unsubscribeFromComments:function(a){a=a.getGlobalId();this.realtime.service.isSubscribed(a)&&this.realtime.service.unsubscribe(a)},fireActionErrorMessage:function(a){a=a.getError();if($A.util.isArray(a)){for(var c=[],b=0;b<a.length;b++)c.push(a[b].message);$A.util.isEmpty(c)||(a=c.join(" "),this.errorMessage.service.show(a))}},expandCommentInputArea:function(a){a.set("v._allowHollowedCommentInput",!1);(a=a.find("commentInput"))&&a.swapTextArea(a)},updateOrganizedComments:function(a){var c=
a.find("commentOrganizer"),b=a.get("v.comments.items")||[];organizedComments=a.get("v.isThreadedDiscussion")?c.organizeComments(b):b;a.set("v.organizedComments",organizedComments)},updateHasSubsequentCommentsAvailable:function(a,c){var b=a.get("v.feedDisplayConfig.feedElementDisplayConfig.showInlineComments"),d=a.get("v.comments.nextPageToken"),e=a.get("v.comments.currentPageUrl"),f=a.get("v.comments.total"),h=a.get("v.comments.items.length"),g=a.get("v.feedDisplayConfig.searching")&&h<f;a.set("v._hasSubsequentCommentsAvailable",
g||b&&(null!=d||e&&0<f&&0===h));a.shouldLoadAllComments&&!$A.util.isUndefinedOrNull(c)&&"v.comments.nextPageToken"===$A.util.lookup(c.getParams(),"expression")&&(d=$A.util.lookup(c.getParams(),"value"),this.loadAllCommentsForSEO(a,d))},updateHasPreviousCommentsAvailable:function(a){var c=a.get("v.feedDisplayConfig.feedElementDisplayConfig.showInlineComments"),b=null!=a.get("v.comments.previousPageToken");a.set("v._hasPreviousCommentsAvailable",c&&b)},retrieveDataIfNotAlreadyRetrievingData:function(a,
c){if(!a.get("v._isFetchingComments")){a.set("v._isFetchingComments",!0);var b=$A.getCallback(function(){a.set("v._isFetchingComments",!1)});c().then(b,b)}},loadAllCommentsForSEO:function(a,c){$A.util.isUndefinedOrNull(c)||this.showMoreComments(a,this.constants.MAX_PAGE_SIZE)},isRequestFromPrerender:function(a){return-1<navigator.userAgent.indexOf("Prerender")}},renderer:{afterRender:function(a){a.helper.interactionsBuilder.service.renderLikersBar(a);("DRILL_IN"===a.get("v.config.feedDisplayConfig.mode")||
a.get("v.feedItem.commentSubscribeOnRender"))&&a.helper.subscribeToComments(a);return a.superAfterRender()},unrender:function(a){var c=a.superUnrender();a.helper.unsubscribeFromComments(a);return c}}}});return {"xs":"I","descriptor":"markup://forceChatter:feedback","st":{"descriptor":"css://forceChatter.feedback","cl":"forceChatterFeedback"},"fst":{"descriptor":"css://forceChatter.feedback"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["searchQueryId","aura://String","I",false],["feedItemPosition","aura://String","I",false],["subjectId","aura://String","I",false],["sortOrder","aura://String","I",false],["feedDisplayConfig","java://ui.chatter.api.FeedDisplayConfig","I",true,null],["config","java://ui.chatter.api.FeedConfig","I",false,null],["feedItem","aura://Object","I",false,null],["comments","java://sfdc.chatter.connect.api.output.feeds.FeedElementCommentCollectionRepresentation","I",false,null],["commentPagingMode","aura://String","I",false,"More"],["topRankedComments","java://sfdc.chatter.connect.api.output.feeds.FeedElementCommentCollectionRepresentation","I",false,null],["likes","java://sfdc.chatter.connect.api.output.feeds.LikeCollectionRepresentation","I",false,null],["class","aura://String","I",false],["hasManyCommentPages","aura://Boolean","I",false,false],["commentActions","aura://List","I",false,[]],["feedType","aura://String","I",false],["isInPrivateGroup","aura://Boolean","I",false,false],["showGroupMentionVisibility","aura://Boolean","I",false,false],["isTopicsEnabled","aura://Boolean","I",true],["needCommentRefresh","aura://Boolean","I",false,false],["suppressCommentInput","aura://Boolean","I",false,false],["_allowHollowedCommentInput","aura://Boolean","I",false,true],["youHaveNewComments","aura://String","I",false],["_showTopRankedComments","aura://Boolean","I",false,false],["_hasWaitingLiveCommentSubscription","aura://Boolean","I",false,false],["typers","apex://Array","I",false,null],["_moreCommentsLoaded","aura://Boolean","I",false,false],["_resetOnShowMore","aura://Boolean","I",false,false],["_commentRefreshButtonLabel","aura://String","I",false],["_isFetchingComments","aura://Boolean","I",false,false],["_contextualMessages","aura://String[]","I",false,[]],["organizedComments","apex://Array","p",false,null],["initiallyFocusedCommentId","aura://String","I",false],["initiallyFocusedCommentCssClass","aura://String","I",false,""],["canCommentsRequestReplies","aura://Boolean","I",false,false],["commentCssClass","aura://String","I",false,""],["feedbackCssClass","aura://String","I",false,""],["_hasSubsequentCommentsAvailable","aura://Boolean","p",false,false],["_hasPreviousCommentsAvailable","aura://Boolean","p",false,false],["isThreadedDiscussion","aura://Boolean","I",false,false],["showFeedsTranslationButton","aura://Boolean","I",false,false],["showRelativeTimestamp","aura://Boolean","I",false,true]],"med":[{"name":"forceChatter:focusCommentInput","xs":"I","action":"{!c.focusCommentInput}"}],"i":["markup://forceChatter:additionalFeedLogData"],"re":[{"ed":"markup://forceChatter:commentInserted","n":"commentInserted","xs":"I"}],"hd":[{"ed":{"descriptor":"markup://forceChatter:feedContextUserUpdated"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.updateContextUserData"}},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"ed":{"descriptor":"markup://forceChatter:objectLikeToggled"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.rerenderLikes"}},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.updateOrganizedComments"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.comments.items"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.updateOrganizedComments"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.isThreadedDiscussion"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.updateHasSubsequentCommentsAvailable"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.feedDisplayConfig.feedElementDisplayConfig.showInlineComments"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.updateHasSubsequentCommentsAvailable"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.comments.nextPageToken"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.updateHasSubsequentCommentsAvailable"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.comments.currentPageUrl"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.updateHasSubsequentCommentsAvailable"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.comments.total"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.updateHasSubsequentCommentsAvailable"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.comments.items.length"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.updateHasSubsequentCommentsAvailable"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.feedDisplayConfig.searching"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.updateHasPreviousCommentsAvailable"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.feedDisplayConfig.feedElementDisplayConfig.showInlineComments"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.updateHasPreviousCommentsAvailable"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.comments.previousPageToken"},"n":"change"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://feeds_discussion_threading:commentOrganizer","type":"module"},"localId":"commentOrganizer"},{"componentDef":{"descriptor":"markup://forceChatter:commentRetrievalService"},"localId":"commentRetrievalService"},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-p-horizontal_medium slds-p-top_large slds-p-bottom_x-small slds-text-heading_small slds-text-heading--small"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:label"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"$Label.Feeds.TopRankedAnswers"}}}}}]},"class":{"descriptor":"class","value":"commentHeader"}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"flavorable":true,"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(fn.add(fn.add(\"cuf-feedback slds-feed__item-comments \",cmp.get(\"v.class\")),\" \"),cmp.get(\"v.feedbackCssClass\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.feedbackCssClass"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.class"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"topRankedCommentsUl","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"ul"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:iteration"},"attributes":{"values":{"var":{"descriptor":"var","value":"comment"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"aria-live":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"comment.isLive\")?\"assertive\":\"off\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"comment.isLive"}],"byValue":false},"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"cuf-commentLi \",cmp.get(\"comment.transitionClass\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"comment.transitionClass"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"li"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:comment"},"attributes":{"values":{"showFeedsTranslationButton":{"descriptor":"showFeedsTranslationButton","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.showFeedsTranslationButton"}},"data":{"descriptor":"data","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"comment"}},"feedType":{"descriptor":"feedType","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.feedType"}},"feedItem":{"descriptor":"feedItem","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.feedItem"}},"richTextConfig":{"descriptor":"richTextConfig","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.config.richTextConfig"}},"subjectId":{"descriptor":"subjectId","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedback","path":"v.subjectId"}},"searchQueryId":{"descriptor":"searchQueryId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.searchQueryId"}},"feedItemPosition":{"descriptor":"feedItemPosition","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.feedItemPosition"}},"isTopicsEnabled":{"descriptor":"isTopicsEnabled","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.isTopicsEnabled"}},"commentCssClass":{"descriptor":"commentCssClass","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.commentCssClass"}},"isUpDownVoteEnabled":{"descriptor":"isUpDownVoteEnabled","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedback","path":"v.config.isUpDownVoteEnabled"}},"showRelativeTimestamp":{"descriptor":"showRelativeTimestamp","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedback","path":"v.showRelativeTimestamp"}},"sortOrder":{"descriptor":"sortOrder","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.sortOrder"}},"feedDisplayConfig":{"descriptor":"feedDisplayConfig","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.feedDisplayConfig"}},"commentActions":{"descriptor":"commentActions","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.commentActions"}}}}}]}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.topRankedComments.items"}}}}}]}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-p-horizontal_medium slds-p-top_large slds-p-bottom_x-small"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:label"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"$Label.Feeds.AllAnswers"}}}}}]},"class":{"descriptor":"class","value":"commentHeader"}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.feedDisplayConfig.feedElementDisplayConfig.showInlineComments\")&&(((cmp.get(\"v._showTopRankedComments\")&&cmp.get(\"v.topRankedComments.currentPageUrl\"))&&(cmp.get(\"v.comments.total\")>0))&&(cmp.get(\"v.topRankedComments.items.length\")>0)));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.topRankedComments.currentPageUrl"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v._showTopRankedComments"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.topRankedComments.items.length"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.feedDisplayConfig.feedElementDisplayConfig.showInlineComments"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.comments.total"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"commentContainer","flavorable":true,"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"oncommentrepliesrequested":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"c.handleCommentRepliesRequestedEvent"},"onshownext":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"c.handleShowNextEvent"},"onshowmore":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"c.handleShowMoreEvent"},"onshowprevious":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"c.handleShowPreviousEvent"},"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(fn.add(fn.add(fn.add(fn.add(\"cuf-feedback slds-feed__item-comments \",(cmp.get(\"v.isThreadedDiscussion\")?\"threaded-discussion \":\"\")),(!(fn.empty(cmp.get(\"v.organizedComments\")))?\"has-comments \":\" \")),cmp.get(\"v.class\")),\" \"),cmp.get(\"v.feedbackCssClass\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.isThreadedDiscussion"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.feedbackCssClass"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.class"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.organizedComments"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onhidden":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"c.handleContentHidden"},"onvisible":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"c.handleContentVisible"}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:contentVisibilityMonitor"}}]}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-p-horizontal--medium slds-p-vertical--x-small slds-grid cuf-showMoreComments showMoreComments-top"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://feeds_paging:showMoreTrigger","type":"module"},"attributes":{"values":{"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"$Label.Feeds.MoreComments"}},"class":{"descriptor":"class","value":"cuf-showOlderComments cuf-commentPagingAction cuf-commentExpandDrawer"}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://feeds_paging:showMoreTrigger","type":"module"},"attributes":{"values":{"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"$Label.Feeds.MoreAnswers"}},"class":{"descriptor":"class","value":"cuf-showOlderComments cuf-commentPagingAction cuf-commentExpandDrawer"}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq(cmp.get(\"v.feedItem.type\"),\"QuestionPost\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.feedItem.type"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://feeds_paging:numberOfTotal","type":"module"},"attributes":{"values":{"number":{"descriptor":"number","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.comments.items.length"}},"total":{"descriptor":"total","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.comments.total"}},"class":{"descriptor":"class","value":"slds-text-body--small slds-col--bump-left qe-moreCommentsRatio"}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return ((cmp.get(\"v.comments.items.length\")>0)&&(cmp.get(\"v.comments.items.length\")<cmp.get(\"v.comments.total\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.comments.items.length"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.comments.total"}],"byValue":false}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return ((fn.eq(cmp.get(\"v.commentPagingMode\"),\"More\")&&fn.eq(cmp.get(\"v.config.commentSortOrder\"),\"CreatedDateLatestAsc\"))&&cmp.get(\"v._hasSubsequentCommentsAvailable\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.config.commentSortOrder"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.commentPagingMode"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v._hasSubsequentCommentsAvailable"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-p-horizontal--medium slds-p-vertical--x-small slds-grid cuf-showMoreComments showMoreComments-top"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://feeds_paging:showNextTrigger","type":"module"},"attributes":{"values":{"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"$Label.Feeds.ShowPreviousComments"}},"class":{"descriptor":"class","value":"cuf-showOlderComments cuf-commentPagingAction cuf-commentExpandDrawer"}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://feeds_paging:showNextTrigger","type":"module"},"attributes":{"values":{"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"$Label.Feeds.ShowPreviousAnswers"}},"class":{"descriptor":"class","value":"cuf-showOlderComments cuf-commentPagingAction cuf-commentExpandDrawer"}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq(cmp.get(\"v.feedItem.type\"),\"QuestionPost\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.feedItem.type"}],"byValue":false}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.eq(cmp.get(\"v.commentPagingMode\"),\"PreviousNext\")&&cmp.get(\"v._hasSubsequentCommentsAvailable\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.commentPagingMode"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v._hasSubsequentCommentsAvailable"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"aria-live":"assertive","aria-atomic":"true","class":"slds-assistive-text"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.youHaveNewComments"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"commentsUl","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"ul"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:iteration"},"localId":"comments","attributes":{"values":{"var":{"descriptor":"var","value":"comment"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"aria-live":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"comment.isLive\")?\"assertive\":\"off\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"comment.isLive"}],"byValue":false},"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(fn.add(fn.add(\"cuf-commentLi \",cmp.get(\"comment.transitionClass\")),(cmp.get(\"comment.pendingReview\")?\" pendingReview\":\" published\")),(cmp.get(\"comment.isPlaceholder\")?\" is-placeholder\":\"\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"comment.transitionClass"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"comment.pendingReview"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"comment.isPlaceholder"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"li"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:threadedComment"},"attributes":{"values":{"threadedConversationLevelLimit":{"descriptor":"threadedConversationLevelLimit","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.config.threadedConversationLevelLimit"}},"initiallyFocusedCommentId":{"descriptor":"initiallyFocusedCommentId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.initiallyFocusedCommentId"}},"showFeedsTranslationButton":{"descriptor":"showFeedsTranslationButton","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.showFeedsTranslationButton"}},"feedType":{"descriptor":"feedType","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.feedType"}},"isReplyEnabled":{"descriptor":"isReplyEnabled","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.isThreadedDiscussion"}},"feedItem":{"descriptor":"feedItem","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.feedItem"}},"richTextConfig":{"descriptor":"richTextConfig","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.config.richTextConfig"}},"subjectId":{"descriptor":"subjectId","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedback","path":"v.subjectId"}},"searchQueryId":{"descriptor":"searchQueryId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.searchQueryId"}},"feedItemPosition":{"descriptor":"feedItemPosition","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.feedItemPosition"}},"isTopicsEnabled":{"descriptor":"isTopicsEnabled","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.isTopicsEnabled"}},"canUserDeleteComment":{"descriptor":"canUserDeleteComment","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.config.canUserDeleteComment"}},"commentCssClass":{"descriptor":"commentCssClass","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.commentCssClass"}},"canRequestReplies":{"descriptor":"canRequestReplies","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.canCommentsRequestReplies"}},"isUpDownVoteEnabled":{"descriptor":"isUpDownVoteEnabled","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedback","path":"v.config.isUpDownVoteEnabled"}},"showRelativeTimestamp":{"descriptor":"showRelativeTimestamp","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedback","path":"v.showRelativeTimestamp"}},"comment":{"descriptor":"comment","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"comment"}},"sortOrder":{"descriptor":"sortOrder","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.sortOrder"}},"commentActions":{"descriptor":"commentActions","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.commentActions"}},"communityId":{"descriptor":"communityId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.config.communityId.rawValue"}},"feedDisplayConfig":{"descriptor":"feedDisplayConfig","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.feedDisplayConfig"}},"initiallyFocusedCommentCssClass":{"descriptor":"initiallyFocusedCommentCssClass","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.initiallyFocusedCommentCssClass"}}}}}]}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.organizedComments"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-p-horizontal--medium slds-p-vertical--x-small slds-grid cuf-showMoreComments showMoreComments-bottom"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://feeds_paging:showMoreTrigger","type":"module"},"attributes":{"values":{"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"$Label.Feeds.MoreComments"}},"class":{"descriptor":"class","value":"cuf-showOlderComments cuf-commentPagingAction cuf-commentExpandDrawer"}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://feeds_paging:showMoreTrigger","type":"module"},"attributes":{"values":{"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"$Label.Feeds.MoreAnswers"}},"class":{"descriptor":"class","value":"cuf-showOlderComments cuf-commentPagingAction cuf-commentExpandDrawer"}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq(cmp.get(\"v.feedItem.type\"),\"QuestionPost\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.feedItem.type"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://feeds_paging:numberOfTotal","type":"module"},"attributes":{"values":{"number":{"descriptor":"number","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.comments.items.length"}},"total":{"descriptor":"total","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.comments.total"}},"class":{"descriptor":"class","value":"slds-text-body--small slds-col--bump-left qe-moreCommentsRatio"}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return ((cmp.get(\"v.comments.items.length\")>0)&&(cmp.get(\"v.comments.items.length\")<cmp.get(\"v.comments.total\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.comments.items.length"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.comments.total"}],"byValue":false}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return ((fn.eq(cmp.get(\"v.commentPagingMode\"),\"More\")&&fn.eq(cmp.get(\"v.config.commentSortOrder\"),\"CreatedDateOldestAsc\"))&&cmp.get(\"v._hasSubsequentCommentsAvailable\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.config.commentSortOrder"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.commentPagingMode"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v._hasSubsequentCommentsAvailable"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-p-horizontal--medium slds-p-vertical--x-small slds-grid cuf-showMoreComments showMoreComments-top"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://feeds_paging:showPreviousTrigger","type":"module"},"attributes":{"values":{"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"$Label.Feeds.ShowMoreComments"}},"class":{"descriptor":"class","value":"cuf-showOlderComments cuf-commentPagingAction cuf-commentExpandDrawer"}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://feeds_paging:showPreviousTrigger","type":"module"},"attributes":{"values":{"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"$Label.Feeds.ShowMoreAnswers"}},"class":{"descriptor":"class","value":"cuf-showOlderComments cuf-commentPagingAction cuf-commentExpandDrawer"}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq(cmp.get(\"v.feedItem.type\"),\"QuestionPost\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.feedItem.type"}],"byValue":false}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.eq(cmp.get(\"v.commentPagingMode\"),\"PreviousNext\")&&cmp.get(\"v._hasPreviousCommentsAvailable\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v._hasPreviousCommentsAvailable"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.commentPagingMode"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"commentInputArea"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"aria-live":"polite","aria-atomic":"true","class":"commentsRefreshButtonDiv"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:button"},"attributes":{"values":{"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"c.refreshComments"}},"variant":{"descriptor":"variant","value":"brand"},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v._commentRefreshButtonLabel"}},"class":{"descriptor":"class","value":"commentsRefreshButton qe-refreshComments"}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.needCommentRefresh"}}}}}]}}}},{"componentDef":{"descriptor":"markup://forceChatter:typingIndicator"},"localId":"typingIndicator","attributes":{"values":{"typers":{"descriptor":"typers","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.typers"}},"ownerOfPost":{"descriptor":"ownerOfPost","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.feedItem.actor.displayName"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"commentActorAndInput"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:avatar","type":"module"},"attributes":{"values":{"size":{"descriptor":"size","value":"small"},"src":{"descriptor":"src","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.feedDisplayConfig.contextUser.photo.smallPhotoUrl"}},"variant":{"descriptor":"variant","value":"circle"},"class":{"descriptor":"class","value":"slds-m-right_small"},"alternativeText":{"descriptor":"alternativeText","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.feedDisplayConfig.contextUser.displayName"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.ne(cmp.get(\"v.feedDisplayConfig.contextUser.userType\"),\"Guest\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.feedDisplayConfig.contextUser.userType"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://forceChatter:feedCommentInput"},"localId":"commentInput","attributes":{"values":{"onFocus":{"descriptor":"onFocus","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"c.subscribeForNewComments"}},"feedType":{"descriptor":"feedType","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.feedType"}},"richTextConfig":{"descriptor":"richTextConfig","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.config.richTextConfig"}},"feedItemVisibility":{"descriptor":"feedItemVisibility","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.feedItem.visibility"}},"feedItemId":{"descriptor":"feedItemId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.feedItem.id"}},"feedItemModifiedDate":{"descriptor":"feedItemModifiedDate","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.feedItem.modifiedDate"}},"subjectId":{"descriptor":"subjectId","value":{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedback","path":"v.subjectId"}},"searchQueryId":{"descriptor":"searchQueryId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.searchQueryId"}},"feedItemPosition":{"descriptor":"feedItemPosition","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.feedItemPosition"}},"feedItemParentId":{"descriptor":"feedItemParentId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.feedItem.parent.id"}},"isTopicsEnabled":{"descriptor":"isTopicsEnabled","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.config.isTopicsEnabled"}},"feedItemData":{"descriptor":"feedItemData","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.feedItem"}},"commentsDisplayConfig":{"descriptor":"commentsDisplayConfig","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.feedDisplayConfig.commentsDisplayConfig"}},"contextUser":{"descriptor":"contextUser","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.feedDisplayConfig.contextUser"}},"sortOrder":{"descriptor":"sortOrder","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.sortOrder"}},"communityId":{"descriptor":"communityId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.config.communityId.rawValue"}},"feedItemType":{"descriptor":"feedItemType","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.feedItem.type"}},"contextualMessages":{"descriptor":"contextualMessages","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v._contextualMessages"}}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://feeds_placeholding:commentPublisher","type":"module"},"attributes":{"values":{"avatarImageSrc":{"descriptor":"avatarImageSrc","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.feedDisplayConfig.contextUser.photo.smallPhotoUrl"}},"placeholderText":{"descriptor":"placeholderText","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.eq(cmp.get(\"v.feedItem.type\"),\"QuestionPost\")?$A.get(\"$Label.Feeds_QuestionPost.CommentDefaultText\"):$A.get(\"$Label.Feeds.CommentDefaultText\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.feedItem.type"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"$Label.Feeds.CommentDefaultText"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"$Label.Feeds_QuestionPost.CommentDefaultText"}],"byValue":false}},"onshowpublisher":{"descriptor":"onshowpublisher","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"c.handleShowPublisherEvent"}},"avatarUserName":{"descriptor":"avatarUserName","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.feedDisplayConfig.contextUser.displayName"}},"class":{"descriptor":"class","value":"slds-grow"}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v._allowHollowedCommentInput\")&&((fn.ne(cmp.get(\"v.feedDisplayConfig.commentsDisplayConfig.postActionsDisplay\"),\"ALWAYS\")||cmp.get(\"v.isThreadedDiscussion\"))&&(!($A.get(\"$Browser.isIOS\"))&&fn.ne(cmp.get(\"v.feedDisplayConfig.contextUser.userType\"),\"Guest\"))));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.feedDisplayConfig.contextUser.userType"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.isThreadedDiscussion"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.feedDisplayConfig.commentsDisplayConfig.postActionsDisplay"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v._allowHollowedCommentInput"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"$Browser.isIOS"}],"byValue":false}}}}}]}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.eq(cmp.get(\"v.feedDisplayConfig.commentsDisplayConfig.commentInputStyle\"),\"INLINE\")&&!(cmp.get(\"v.suppressCommentInput\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.suppressCommentInput"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedback","path":"v.feedDisplayConfig.commentsDisplayConfig.commentInputStyle"}],"byValue":false}}}}}]}}}}]}],"df":"default","fc":true,"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:simpleFeedItemTopics",function(){/*$A.componentService.addComponentClass("markup://forceChatter:simpleFeedItemTopics",function(){return{meta:{name:"forceChatter$simpleFeedItemTopics","extends":"markup://aura:component"},controller:{init:function(a,b,c){b=!0;$A.eventService.hasHandlers("force:editFeedItem")&&(b=!1);a.set("v.inS1",b)},enableEditTopics:function(a,b,c){a.get("v.recordId")===b.getParam("feedItemId")&&!$A.util.isUndefinedOrNull(a.get("v.data.items"))&&(a.set("v.editTopicsMode","true"),"DESKTOP"===$A.get("$Browser.formFactor")?
a.set("v.showErrorMessage","true"):a.set("v.showErrorMessage","false"),a.get("v.data.items").length===a.get("v.maxAllowed")?(a.set("v.showErrorMessage","true"),a.set("v.errorType","error"),a.set("v.errorMessage",$A.get("{!$Label.TopicAssignment.maxTopicsMsg}")),(a=a.find("pillContainer"))&&a.set("v.allowAdd",!1)):1===a.get("v.data.items").length&&!a.get("v.inS1")?(a.set("v.showErrorMessage","true"),a.set("v.errorType","info"),a.set("v.errorMessage",$A.get("{!$Label.TopicAssignment.assignTopicInfo}")),
(a=a.find("pillContainer"))&&a.set("v.allowRemove",!1)):(a.set("v.errorType","info"),a.set("v.errorMessage",$A.get("{!$Label.TopicAssignment.assignTopicInfo}"))))},handleInsertEvent:function(a,b,c){c.handleInsertEvent(a,b)},handleRemoveEvent:function(a,b,c){c.handleRemoveEvent(a,b)},stopPropagation:function(a,b,c){c.stopPropagation(b)},done:function(a,b,c){c.stopPropagation(b);b=a.get("c.updateTopicsOnFeedItem");c=a.get("v.recordId");var e=a.get("v.data.items"),d=a.find("pillContainer").find("topicAutocomplete").find("autocomplete"),
f=!1;if(d&&(d=d.find("autoComplete").find("input").get("v.value"))&&0<$A.util.trim(d).length)d={name:$A.util.trim(d)},e.push(d),f=!0;b.setParams({feedItemId:c,topics:e});b.setCallback(this,function(b){"ERROR"===b.getState()?(a.set("v.errorMessage",b.getError()[0].message),a.set("v.errorType","error"),a.set("v.showErrorMessage",!0),f&&e.pop()):"SUCCESS"===b.getState()&&(a.set("v.editTopicsMode","false"),b=b.getReturnValue(),a.set("v.data.items",b),a.set("v.showErrorMessage",!1))});$A.enqueueAction(b)}},
helper:{handleInsertEvent:function(a,b){"DESKTOP"===$A.get("$Browser.formFactor")?a.set("v.showErrorMessage","true"):a.set("v.showErrorMessage","false");a.get("v.data.items").length===a.get("v.maxAllowed")?(a.set("v.showErrorMessage","true"),a.set("v.errorType","error"),a.set("v.errorMessage",$A.get("{!$Label.TopicAssignment.maxTopicsMsg}"))):(a.set("v.errorType","info"),a.set("v.errorMessage",$A.get("{!$Label.TopicAssignment.assignTopicInfo}")));var c=a.find("pillContainer");c&&c.set("v.allowRemove",
!0)},handleRemoveEvent:function(a,b){"DESKTOP"===$A.get("$Browser.formFactor")?a.set("v.showErrorMessage","true"):a.set("v.showErrorMessage","false");1===a.get("v.data.items").length&&!a.get("v.inS1")?(a.set("v.errorType","info"),a.set("v.showErrorMessage","true")):a.set("v.errorType","info");a.set("v.errorMessage",$A.get("{!$Label.TopicAssignment.assignTopicInfo}"));var c=a.find("pillContainer");c&&(1===a.get("v.data.items.length")&&!a.get("v.inS1")?c.set("v.allowRemove",!1):c.set("v.allowRemove",
!0),c.set("v.allowAdd",!0))},stopPropagation:function(a){a&&(a.getParams?(a=a.getParams())&&a.domEvent&&$A.util.squash(a.domEvent,!0):$A.util.squash(a,!0))}}}});return {"xs":"I","descriptor":"markup://forceChatter:simpleFeedItemTopics","st":{"descriptor":"css://forceChatter.simpleFeedItemTopics","cl":"forceChatterSimpleFeedItemTopics"},"fst":{"descriptor":"css://forceChatter.simpleFeedItemTopics"},"cd":{"descriptor":"compound://forceChatter.simpleFeedItemTopics","ac":[{"n":"updateTopicsOnFeedItem","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.SimpleFeedItemTopicsController/ACTION$updateTopicsOnFeedItem","at":"SERVER","rt":"java://java.util.List","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"topics","type":"java://java.util.List<java.util.Map<java.lang.String,java.lang.String>>","loggable":true}]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["data","java://sfdc.chatter.connect.api.output.feeds.TopicsCapabilityRepresentation","I",false,null],["recordId","aura://String","I",false],["editTopicsMode","aura://Boolean","I",false,false],["maxAllowed","aura://Integer","I",false,10],["errorType","aura://String","I",false,"error"],["errorMessage","aura://String","I",false,""],["showErrorMessage","aura://Boolean","I",false,false],["inS1","aura://Boolean","I",false,false]],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"ed":{"descriptor":"markup://forceChatter:enableEditTopics"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.enableEditTopics"}}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"flavorable":true,"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:message"},"attributes":{"values":{"severity":{"descriptor":"severity","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:simpleFeedItemTopics","path":"v.errorType"}},"closable":{"descriptor":"closable","value":false},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:outputText"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:simpleFeedItemTopics","path":"v.errorMessage"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:simpleFeedItemTopics","path":"v.showErrorMessage"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"actionSection cuf-simpleFeedItemTopics"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceTopic:simpleTopicAssignments"},"localId":"simpleTopicAssignments","attributes":{"values":{"recordId":{"descriptor":"recordId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:simpleFeedItemTopics","path":"v.recordId"}},"inS1":{"descriptor":"inS1","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:simpleFeedItemTopics","path":"v.inS1"}},"topics":{"descriptor":"topics","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:simpleFeedItemTopics","path":"v.data.items"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.data.items.length\")>0);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:simpleFeedItemTopics","path":"v.data.items.length"}],"byValue":false}}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onclick":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:simpleFeedItemTopics","path":"c.stopPropagation"},"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"cuf-pillContainer cuf-simpleFeedItemTopics\",(fn.eq($A.get(\"$Browser.formFactor\"),\"DESKTOP\")?\" cuf-Large\":\"\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:simpleFeedItemTopics","path":"$Browser.formFactor"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:pillContainer"},"localId":"pillContainer","attributes":{"values":{"recordId":{"descriptor":"recordId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:simpleFeedItemTopics","path":"v.recordId"}},"pillRemoved":{"descriptor":"pillRemoved","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:simpleFeedItemTopics","path":"c.handleRemoveEvent"}},"maxAllowed":{"descriptor":"maxAllowed","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:simpleFeedItemTopics","path":"v.maxAllowed"}},"pillInserted":{"descriptor":"pillInserted","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:simpleFeedItemTopics","path":"c.handleInsertEvent"}},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:simpleFeedItemTopics","path":"v.data.items"}},"inputLabel":{"descriptor":"inputLabel","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:simpleFeedItemTopics","path":"$Label.Feeds.TagTopics"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"align":"center"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:button"},"attributes":{"values":{"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:simpleFeedItemTopics","path":"$Label.TopicAssignment.save"}},"press":{"descriptor":"press","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:simpleFeedItemTopics","path":"c.done"}},"class":{"descriptor":"class","value":"secondaryButton saveButtonInlineEditTopic"}}}}]}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:simpleFeedItemTopics","path":"v.editTopicsMode"}}}}}]}}}}]}}}}]}],"df":"default","fc":true,"css":true}*/});
$A.componentService.addComponent("markup://force:noRowActions",function(){/*$A.componentService.addComponentClass("markup://force:noRowActions",function(){return{meta:{name:"force$noRowActions","extends":"markup://aura:component"},controller:{show:function(a,b,c){a=a.find("menuTrigger");a.triggerInteraction&&a.triggerInteraction()}}}});return {"xs":"I","descriptor":"markup://force:noRowActions","st":{"descriptor":"css://force.noRowActions","cl":"forceNoRowActions"},"ad":[["body","aura://Aura.Component[]","G",false,[]]],"med":[{"name":"force:show","xs":"I"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:menu"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:menuTriggerLink"},"localId":"menuTrigger","attributes":{"values":{"stopClickPropagation":{"descriptor":"stopClickPropagation","value":true},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:icon"},"attributes":{"values":{"alt":{"descriptor":"alt","value":{"exprType":"PROPERTY","byValue":false,"target":"force:noRowActions","path":"$Label.ActionBar.ShowMore"}},"class":{"descriptor":"class","value":"forceIcon"},"key":{"descriptor":"key","value":"down"}}}}]},"class":{"descriptor":"class","value":"menuTrigger"}}}},{"componentDef":{"descriptor":"markup://force:actionsDropDownMenuList"},"flavor":"left, default","attributes":{"values":{"attachToBody":{"descriptor":"attachToBody","value":true},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:actionMenuItem"},"attributes":{"values":{"disabled":{"descriptor":"disabled","value":true},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"force:noRowActions","path":"$Label.SFXActions.NoActions"}}}}}]}}}}]},"class":{"descriptor":"class","value":"actionMenu noActionsToShow"}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://home:goalSetting",function(){/*$A.componentService.addComponentClass("markup://home:goalSetting",function(){return{meta:{name:"home$goalSetting","extends":"markup://aura:component"},controller:{handleEditClicked:function(a,c,b){b.openGoalPanel(a)},handleGoalButtonClicked:function(a,c,b){b.handleGoalButtonClicked(a,c)}},helper:{handleGoalButtonClicked:function(a,c){var b=c.getParam("operation");this.closeGoalPanel(a);"apply"===b&&(b=c.getParam("goal"),a.set("v.goal",b),a.getEvent("onGoalChange").setParams({goal:b}).fire())},closeGoalPanel:function(a){a._panel&&
a._panel.isValid()&&a._panel.close()},openGoalPanel:function(a){a._panel||$A.createComponent("markup://home:goalEditor",{goal:a.get("v.goal"),goalButtonClicked:a.getReference("c.handleGoalButtonClicked")},function(c,b){"SUCCESS"===b?a.isValid()&&$A.getEvt("markup://ui:createPanel").setParams({panelType:"panel",visible:!0,onCreate:function(b){a._panel=b},onDestroy:function(b){a._panel=null},panelConfig:{referenceElementSelector:".active .homeMyDayHeroChart .editGoal",showCloseButton:!1,closeOnClickOut:!0,
useTransition:!1,body:c,direction:"south",showPointer:!0}}).fire():$A.getEvt("markup://force:showMessage").setParams({message:$A.get("$Label.HeroChart.\u200bGoalSettingErrorMessage"),severity:"error"}).fire()})}}}});return {"xs":"I","descriptor":"markup://home:goalSetting","st":{"descriptor":"css://home.goalSetting","cl":"homeGoalSetting"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["goal","aura://Decimal","I",false,0]],"re":[{"ed":"markup://home:goalChange","n":"onGoalChange","xs":"I"}],"ld":{"editGoal":{"alias":"edit-goal"}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:buttonIcon"},"localId":"editGoal","attributes":{"values":{"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"home:goalSetting","path":"c.handleEditClicked"}},"variant":{"descriptor":"variant","value":"bare"},"iconName":{"descriptor":"iconName","value":"utility:edit"},"class":{"descriptor":"class","value":"slds-m-left--x-small editGoal"},"alternativeText":{"descriptor":"alternativeText","value":{"exprType":"PROPERTY","byValue":true,"target":"home:goalSetting","path":"$Label.HeroChart.EditGoal"}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:inputLookupDesktopOption",function(){/*$A.componentService.addComponentClass("markup://forceSearch:inputLookupDesktopOption",function(){return{meta:{name:"forceSearch$inputLookupDesktopOption","extends":"markup://ui:autocompleteOption",imports:{typeAheadLib:"markup://force:searchTypeAheadLib"}},controller:{keywordChangeHandler:function(a,b,c){c.keywordChanged(a)}},helper:{displayText:function(a){var b=a.get("v.keyword"),c=a.get("v.label"),d=a.get("v.secondLabel");if(a.get("v.visible")){if(b)try{var e=b.toLowerCase().trim().split(/\s+/),
c=this.mark(c,e,a.get("v.matchOnContains")),d=this.mark(d,e,a.get("v.matchOnContains"))}catch(f){}else c=this.typeAheadLib.util.htmlEscapeMarkup(c),d=this.typeAheadLib.util.htmlEscapeMarkup(d);a.set("v.priv_label",c);a.set("v.priv_secondLabel",d)}},mark:function(a,b,c){if(!a||!b||0===b.length)return this.typeAheadLib.util.htmlEscapeMarkup(a);b=this.typeAheadLib.util.getMatches(a,b,c);if(!b.AllMatch)return this.typeAheadLib.util.htmlEscapeMarkup(a);b=b.Indexes;return!b||0===Object.keys(b).length?this.typeAheadLib.util.htmlEscapeMarkup(a):
this.typeAheadLib.util.stitchMarkedUpTextFromMatchIndexes(a,b,'\x3cmark class\x3d"data-match"\x3e',"\x3c/mark\x3e")},keywordChanged:function(a){this.displayText(a)}}}});return {"xs":"PP","descriptor":"markup://forceSearch:inputLookupDesktopOption","st":{"descriptor":"css://forceSearch.inputLookupDesktopOption","cl":"forceSearchInputLookupDesktopOption"},"su":"markup://ui:autocompleteOption","ad":[["body","aura://Aura.Component[]","G",false,[]],["disableDoubleClicks","aura://Boolean","I",false,false],["class","aura://String","G",false],["dir","aura://String","I",false,"ltr"],["namespaceOverride","aura://String","I",false],["actionable","aura://Boolean","I",false,true],["role","aura://String","I",false],["ariaDescribedBy","aura://String","PP",false,""],["value","aura://Object","PP",false,null],["visible","aura://Boolean","PP",false,true],["disabled","aura://Boolean","G",false,false],["highlighted","aura://Boolean","I",false,false],["keyword","aura://String","PP",false],["displayText","aura://String","I",false],["label","aura://String","PP",false],["theme","aura://String","I",false,"default"],["domId","aura://String","I",false,""],["secondLabel","aura://String","PP",false],["matchOnContains","aura://Boolean","PP",true,false],["allFields","aura://Map","PP",false,null],["visIndex","aura://Integer","PP",false,-1],["absIndex","aura://Integer","PP",false,-1],["qType","aura://String","PP",false,""],["icon","aura://String","PP",false],["iconColor","aura://String","PP",false],["iconLabel","aura://String","PP",false],["priv_label","aura://String","I",false],["priv_secondLabel","aura://String","I",false]],"re":[{"ed":"markup://ui:click","n":"click","xs":"G"},{"ed":"markup://ui:dblclick","n":"dblclick","xs":"G"},{"ed":"markup://ui:mousedown","n":"mousedown","xs":"G"},{"ed":"markup://ui:mousemove","n":"mousemove","xs":"G"},{"ed":"markup://ui:mouseout","n":"mouseout","xs":"G"},{"ed":"markup://ui:mouseover","n":"mouseover","xs":"G"},{"ed":"markup://ui:mouseup","n":"mouseup","xs":"G"},{"ed":"markup://ui:select","n":"select","xs":"G"},{"ed":"markup://ui:blur","n":"blur","xs":"G"},{"ed":"markup://ui:focus","n":"focus","xs":"G"},{"ed":"markup://ui:keypress","n":"keypress","xs":"G"},{"ed":"markup://ui:keyup","n":"keyup","xs":"G"},{"ed":"markup://ui:keydown","n":"keydown","xs":"G"},{"ed":"markup://ui:listHighlight","n":"listHighlight","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.keywordChangeHandler"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.keyword"},"n":"change"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:entityIcon"},"attributes":{"values":{"color":{"descriptor":"color","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktopOption","path":"v.iconColor"}},"icon":{"descriptor":"icon","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktopOption","path":"v.icon"}},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktopOption","path":"v.iconLabel"}},"class":{"descriptor":"class","value":"mruIcon slds-icon slds-icon--small slds-float--left slds-m-vertical--xx-small slds-m-left--xx-small slds-media__figure"}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.empty(cmp.get(\"v.icon\"))?\"\":fn.add(\"slds-m-left--small\",\"labels slds-truncate slds-media__body\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktopOption","path":"v.icon"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"title":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktopOption","path":"v.label"},"class":"primaryLabel slds-truncate slds-lookup__result-text"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:unescapedHtml"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktopOption","path":"v.priv_label"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"secondaryLabel","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"title":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktopOption","path":"v.secondLabel"},"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.empty(cmp.get(\"v.secondLabel\"))?\"\":fn.add(\"slds-lookup__result-meta \",\"secondaryLabel slds-truncate slds-text-body--small\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktopOption","path":"v.secondLabel"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:unescapedHtml"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktopOption","path":"v.priv_secondLabel"}}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://laf:navigationServiceAPI",function(){/*$A.componentService.addComponentClass("markup://laf:navigationServiceAPI",function(){return{meta:{name:"laf$navigationServiceAPI","extends":"markup://aura:component",imports:{navigationService:"markup://laf:navigationService"}},controller:{init:function(b,a,c){a=c.navigationService.getService($A.getCallback(function(a){a(b)}));b.set("v.service",a);if((a=b.get("v.serviceProvider"))&&a.isValid()&&a.isInstanceOf("force:providesContext")){var d=a.provideContext(b);d&&c.navigationService.provideService(a,
d)}},getService:function(b,a,c){return b.get("v.service")}}}});return {"xs":"I","descriptor":"markup://laf:navigationServiceAPI","ad":[["body","aura://Aura.Component[]","G",false,[]],["serviceProvider","aura://Object","I",false,null],["service","aura://Object","p",false,null]],"med":[{"name":"laf:getService","xs":"G","action":"{!c.getService}"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"}],"css":true}*/});
$A.componentService.addComponent("markup://runtime_sales_activities:siqCherrypickingLink",function(){/*$A.componentService.addComponentClass("markup://runtime_sales_activities:siqCherrypickingLink",function(){return{meta:{name:"runtime_sales_activities$siqCherrypickingLink","extends":"markup://aura:component",imports:{activityTimelineStreamLib:"markup://runtime_sales_activities:activityTimelineStreamLibrary"}},controller:{init:function(a,c,b){a._viewport={top:0,bottom:0};$A.getEvt("markup://one:getViewPort").setParams({callback:function(b){a.isValid()&&(a._viewport=b)}}).fire();b.activityTimelineStreamLib.activityTimelineStream.setCirclesText(a,
a.get("v.numSharedCircles"));b.activityTimelineStreamLib.activityTimelineStream.convertSharingBits(a);a.get("v.canAccessChatter")&&!a.get("v.isCommunitiesContext")&&b.fetchGroupDetails(a)},showSharingPanel:function(a,c,b){a.find("cherrypickingLink")&&a.find("cherrypickingLink").getElement()&&(a._bottom=a.find("cherrypickingLink").getElement().getBoundingClientRect().bottom);if(!a.get("v.panel")){var h=c&&c.srcElement,d=function(){a.isValid()&&(a.set("v.panel",null),h&&h.focus())};b={numSharedCircles:a.getReference("v.numSharedCircles"),
everyoneSharingMap:a.getReference("v.everyoneSharingMap"),groupSharingList:a.getReference("v.groupSharingList"),externalId:a.getReference("v.externalId"),saveFunction:a.getReference("c.showWarningsAndSave"),sharingType:a.getReference("v.sharingType"),orgIsA360Enabled:a.getReference("v.orgIsA360Enabled")};$A.createComponent("markup://runtime_sales_activities:siqCherrypickingSettings",b,function(b,f,g){if("SUCCESS"===f)f={targetAlign:"left bottom",align:"left top",vertPad:20},g="slds-nubbin--top-left",
0!==a._viewport.bottom&&175>window.innerHeight-a._bottom&&(f={targetAlign:"left top",align:"left bottom",vertPad:20},g="slds-nubbin--bottom-left"),$A.getEvt("markup://ui:createPanel").setParams({panelType:"panel",visible:!0,panelConfig:{body:b,title:$A.get("$Label.activityTimeline.salesforceInboxSettingsLink"),showCloseButton:!1,"class":g,advancedConfig:f,pad:-20,referenceElement:a.find("cherrypickingLink").getElement(),closeOnClickOut:!0,trapFocus:!0,titleDisplay:!1},onDestroy:d,onCreate:function(b){a.set("v.panel",
b)}}).fire();else throw Error("siqCherrypickingLink.controller.showSharingPanel failed to open panel: "+JSON.stringify(g));})}$A.util.squash(c,!0)},showWarningsAndSave:function(a,c,b){b.activityTimelineStreamLib.activityTimelineStream.showWarningsAndSave(a)},save:function(a,c,b){b.activityTimelineStreamLib.activityTimelineStream.save(a)}},helper:{fetchGroupDetails:function(a){var c=a.get("v.groupSharingList")||[],b=a.get("c.getActivityGroupDetails");b.setCallback(this,function(b){var d=b.getState();
if("SUCCESS"===d){var e=Object.assign({},b.getReturnValue());e&&(c.forEach(function(a){var b=e[a.groupId];b&&(a.groupMemberId=b.collaborationGroupMemberId,a.memberCount=b.memberCount,a.name=b.collaborationGroupName,delete e[a.groupId])}),Object.keys(e).forEach(function(a){var b=e[a];c.push({groupId:a,groupMemberId:b.collaborationGroupMemberId,memberCount:b.memberCount,name:b.collaborationGroupName,shared:b.isContentShared})}),a.set("v.groupSharingList",c))}else"INCOMPLETE"===d?$A.getEvt("markup://force:showOfflineMessage").setParams({retryAction:b}).fire():
"ERROR"===d&&$A.getEvt("markup://force:showMessage").setParams({message:b.getError()[0].message,severity:"error"}).fire()});b.setStorable();$A.enqueueAction(b)}}}});return {"xs":"I","descriptor":"markup://runtime_sales_activities:siqCherrypickingLink","cd":{"descriptor":"compound://runtime_sales_activities.siqCherrypickingLink","ac":[{"n":"cherryPickToMyGroups","descriptor":"serviceComponent://ui.activities.impl.controllers.SiqCherrypickingSettingsController/ACTION$cherryPickToMyGroups","at":"SERVER","rt":"java://void","pa":[{"name":"externalId","type":"java://java.lang.String"},{"name":"groupsToShareWith","type":"java://java.util.List<java.lang.String>"}]},{"n":"cherryPickToOnlyMe","descriptor":"serviceComponent://ui.activities.impl.controllers.SiqCherrypickingSettingsController/ACTION$cherryPickToOnlyMe","at":"SERVER","rt":"java://void","pa":[{"name":"externalId","type":"java://java.lang.String"}]},{"n":"getActivityGroupDetails","descriptor":"serviceComponent://ui.activities.impl.controllers.SiqCherrypickingSettingsController/ACTION$getActivityGroupDetails","at":"SERVER","rt":"java://java.util.Map","pa":[]},{"n":"cherryPickToEveryone","descriptor":"serviceComponent://ui.activities.impl.controllers.SiqCherrypickingSettingsController/ACTION$cherryPickToEveryone","at":"SERVER","rt":"java://void","pa":[{"name":"externalId","type":"java://java.lang.String"}]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["circleIcon","aura://String","I",false],["circleText","aura://String","I",false],["class","aura://String","I",false],["record","aura://Object","I",false,null],["externalId","aura://String","I",false],["everyoneSharingMap","aura://Object","I",false,null],["numSharedCircles","aura://Integer","I",false],["groupSharingList","aura://List","I",false,[]],["otherOwnersShared","aura://Object","I",false,null],["otherOwnersPrivate","aura://Object","I",false,null],["ownerId","aura://String","I",false],["objectType","aura://String","I",false],["sharingType","aura://String","I",false],["canCherryPick","aura://Boolean","I",false],["panel","aura://Aura.Component","I",false,null],["canAccessChatter","aura://Boolean","I",false],["isCommunitiesContext","aura://Boolean","I",false,false],["orgIsA360Enabled","aura://Boolean","I",false,false]],"re":[{"ed":"markup://runtime_sales_activities:updateVirtualListItem","n":"updateVirtualListItem","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"}],"ld":{"cherrypickingLink":{}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"iconBorder"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:icon"},"attributes":{"values":{"key":{"descriptor":"key","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:siqCherrypickingLink","path":"v.circleIcon"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-p-top_xx-small"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:siqCherrypickingLink","path":"v.circleText"}}}}}]}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"cherrypickingLink","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onclick":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:siqCherrypickingLink","path":"c.showSharingPanel"},"class":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:siqCherrypickingLink","path":"v.class"}}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"iconBorder"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:icon"},"attributes":{"values":{"key":{"descriptor":"key","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:siqCherrypickingLink","path":"v.circleIcon"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:siqCherrypickingLink","path":"v.circleText"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.canAccessChatter\")&&!(cmp.get(\"v.isCommunitiesContext\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:siqCherrypickingLink","path":"v.isCommunitiesContext"},{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:siqCherrypickingLink","path":"v.canAccessChatter"}],"byValue":false}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:resultsMultiScope",function(){/*$A.componentService.addComponentClass("markup://forceSearch:resultsMultiScope",function(){return{meta:{name:"forceSearch$resultsMultiScope","extends":"markup://forceSearch:baseResults",imports:{lib:"markup://forceSearch:searchLibrary"}},controller:{search:function(a,b,c){a=a.getConcreteComponent();a.getDef().getHelper().refresh(a)},handleRefreshed:function(a,b,c){c=b.getParam("arguments")||b.getParams()||{};var d=a.getGlobalId();d===c.sourceId||d===b.getSource().getGlobalId()||(a=a.getConcreteComponent(),
a.getDef().getHelper().handleResultsBucketRefreshed(a,b))},scopesDataProviderChangeHandler:function(a,b,c){a=a.getConcreteComponent();a.getDef().getHelper().handleScopesFetched(a,b)},resultsDataProviderChangeHandler:function(a,b){var c=a.getConcreteComponent();c.getDef().getHelper().resultsDataProviderChangeHandler(c,b)},onScrollMoveHandler:function(a){var b=a.getConcreteComponent();a.set("state.loggingContext.scrolled",!0);b.getDef().getHelper().onScrollMoveHandler(b)}},helper:{initPost:function(a,
b){a.isConcrete()&&this.refresh(a)},refresh:function(a){var b=a.get("state.term");this.lib.util.isValidSearchString(b)?(this.lib.logging.logPerf(a,"showResultsMultiScope","START"),b=a.get("state.loggingContext"),this.lib.loggingCtx.updateStateLoggingContext(a,{buckets:[],queryIds:[],resultsContainerId:b.resultsContainerId,bucketsRenderedWithLWC:[]}),(b=this.getScopesToRender(a))&&0<b.length?(a.set("v.priv_scopeMaps",b),this.startSearching(a)):this.fetchScopesItems(a)):this.showNoResultsCmp(a,"QUERY_TOO_SHORT")},
startSearching:function(a){this.reset(a);a.set("v.searchInProgress",!0);this.lib.logging.logPerf(a,"searchResultsMultiScope","MARKSTART");this.createResults(a,0,!0)},finishSearching:function(a,b){a.set("v.searchInProgress",!1);this.lib.logging.logPerf(a,"searchResultsMultiScope","MARKEND");b?this.showNoResultsCmp(a,"GENERAL_ERROR"):0===a.get("v.priv_numBucketsDisplayed")?this.showNoResultsCmp(a):(this.lib.ctx.isDesktop()&&(this.showFeedbackCmp(a),this.showSpellCorrectionMessage(a,!0)),this.resultsLoaded(a))},
reset:function(a){a.set("v.body",[]);a.set("v.priv_bucketIdx",0);a.set("v.priv_numBucketsDisplayed",0);a.set("v.priv_numBucketsDisplayedWithResults",0);a.set("v.priv_totalSize",0);this.hideResultsItems(a);this.showPlaceholder(a);this.hideNoResultsCmp(a);this.hideFeedbackCmp(a);this.hideSpellCorrectionMessage(a);this.hideBestResultCmp(a)},hideResultsItems:function(a){a=this.getResultsItems(a,"resultsItemWrapper")||[];for(var b=0;b<a.length;b+=1)$A.util.addClass(a[b],"slds-hide")},getScopesToRender:function(a){var b=
a.get("v.priv_scopeMaps");$A.util.isEmpty(b)&&(b=a.get("v.scopeSets")[this.lib.scope.SCOPE_SET_TYPE.DEFAULT]||[]);return b},fetchScopesItems:function(a){this.updateScopeSetType(a);var b=a.get("v.scopesDataProvider");b&&0<b.length&&(b=b[0],b.isInstanceOf("ui:dataProvider")&&(this.lib.logging.logPerf(a,"fetchMultiScopes","MARKSTART"),b.getEvent("provide").setParams({parameters:{scopeMap:this.getBucketIndexChangeScopeMap(a),context:a.get("state.context"),term:a.get("state.term"),scopeSetType:a.get("v.scopeSetType")}}).fire()))},
updateScopeSetType:function(a){this.lib.scope.hasChildScopes(a.get("state.scopeMap"))&&a.set("v.scopeSetType",this.lib.scope.SCOPE_SET_TYPE.CHILD_SCOPE)},handleScopesFetched:function(a,b){var c=b.getParam("data"),d=c.scopeMaps||[],e=c.scopeSetType,g=(a.get("v.priv_scopeMaps")||[]).map(function(a){return a.name}),f=d.map(function(a){return a.name});a.get("v.scopeSetType")===e&&0<g.length&&0<f.length&&g.sort().join("|")===f.sort().join("|")||(a.set("v.priv_scopeMaps",d),this.lib.logging.logPerf(a,"fetchMultiScopes",
"MARKEND",{numResults:d.length,scopeSetType:e,times:!$A.util.isEmpty(c.times)?this.lib.loggingUtils.structureForAILTN(c.times[0]):null}),d&&0<d.length?this.startSearching(a):this.showNoResultsCmp(a))},createResults:function(a,b,c){var d=a.get("v.priv_scopeMaps")[b];if(d){var e=(this.getResultsItems(a,"resultsItemWrapper")||[])[b];e&&(this.lib.logging.logPerf(a,"showResultsSection"+(b+1),"MARKSTART"),this.createResultsComponentBucket(a,d,e,c))}},createResultsComponentBucket:function(a,b,c,d){this.createResultsAuraBucket(a,
b,c,d)},createResultsAuraBucket:function(a,b,c,d){var e=this,g=this.lib.scope.getResultsCmp(b,a.get("state.context")),f=this.isLayoutEarlyFetched(a,b.name);d={scopeMap:b,inMultiScope:!0,term:a.get("state.term"),context:this.getFullContext(a,b.name),pageSize:a.get("v.pageSize"),searchInProgress:!0,searchOnInit:d,useLayoutCache:f,showGrid:!f};var h=d.context,f=$A.getCallback(function(d,f,k){"SUCCESS"===f?(c.set("v.body",d),e.handleResultCmpCreated(a,d),e.updateResultsLoggingContext(a,d)):e.logCreateResultsComponentError(k,
f,b,h,g)});$A.createComponent(g,d,f)},logCreateResultsComponentError:function(a,b,c,d,e){$A.warning("Error during component instantiation",a+", Status: "+b+", ScopeMap: "+JSON.stringify(c)+", Context: "+JSON.stringify(d)+", Stacktrace: "+a.stackFrames);throw Error("resultsMultiScopeHelper.createResults: Error during component instantiation:"+e+", Message: "+a+", Status: "+b+", ScopeMap: "+JSON.stringify(c)+", Context: "+JSON.stringify(d)+", Stacktrace: "+a.stackFrames);},handleResultsBucketRefreshed:function(a,
b){var c=b.getParam("data"),d=a.get("v.priv_bucketIdx");0<c.totalSize&&(this.displayResultsBucket(a,d,c),this.updateSpellCorrection(a,c));var e=this.getBucketLogInfo(a,c),c=a.get("state.loggingContext");a.set("state.loggingContext.buckets."+(c.buckets||[]).length,e);if(e=e.queryId)c=(c.queryIds||[]).slice(),c.push(e),a.set("state.loggingContext.queryIds",c);this.lib.logging.logPerf(a,"showResultsSection"+(d+1),"MARKEND");this.loadNextBucket(a,d)},isLayoutEarlyFetched:function(a,b){return 0<=this.getEntitiesToDisplay(a).indexOf(b)},
getBucketLogInfo:function(a,b){var c=b&&b.scopeMap?b.scopeMap.name:void 0,d=b?b.searchLogInfo:void 0,c={scopeName:c,keyPrefix:b&&b.scopeMap&&b.scopeMap.keyPrefix,term:a.get("state.term"),pageSize:a.get("v.pageSize"),gridRenderedWithLWC:!(!b||!b.gridRenderedWithLWC),layoutEarlyFetched:this.isLayoutEarlyFetched(a,c)};d&&(c.numResults=d.numResults,c.queryId=d.queryId);return this.lib.logging.sanitizeLogData(c)},updateSpellCorrection:function(a,b){0>=b.totalSize||(b.correctedTerm?a.set("v.priv_correctedTerm",
b.correctedTerm):a.set("v.priv_hasNonCorrectedResults",!0),b.hasNonCorrectedResults&&a.set("v.priv_hasNonCorrectedResults",b.hasNonCorrectedResults),this.showSpellCorrectionMessage(a,!0))},displayResultsBucket:function(a,b,c){var d=c.totalSize||c.records.length;if(!($A.util.isUndefinedOrNull(d)||0>=d&&!c.hasError)){this.addToTotalSize(a,d);var e=this.getResultsItems(a,"resultsItemWrapper");!$A.util.isUndefinedOrNull(b)&&(-1<b&&e&&0<e.length)&&($A.util.removeClass(e[b],"slds-hide"),0===a.get("v.priv_numBucketsDisplayed")&&
a.set("v.priv_canFocus",!0),a.set("v.priv_numBucketsDisplayed",a.get("v.priv_numBucketsDisplayed")+1),0<d&&a.set("v.priv_numBucketsDisplayedWithResults",a.get("v.priv_numBucketsDisplayedWithResults")+1),(b=(b=e[b].get("v.body"))?b[0]:null)&&b.get("state.loggingContext")&&b.set("state.loggingContext.entityRank",this.getEntityBucketRank(a,c.scopeMap)))}},getEntityBucketRank:function(a,b){return a.get("v.priv_numBucketsDisplayed")},addToTotalSize:function(a,b){if(0<b){var c=a.get("v.priv_totalSize")+
b;a.set("v.priv_totalSize",c)}},loadNextBucket:function(a,b){var c=b+1;a.set("v.priv_bucketIdx",c);var d=a.get("v.priv_scopeMaps");c<d.length?this.createResults(a,c,!0):this.finishSearching(a)},getBucketIndexChangeScopeMap:function(a){var b=a.get("v.priv_bucketIdx"),c=a.get("v.priv_scopeMaps"),d={};return d=Array.isArray(c)&&b<c.length?c[b]:a.get("state.scopeMap")},showNoResultsCmp:function(a,b){var c={};c.reason=b||"DEFAULT";c.scopeMaps=a.get("v.priv_scopeMaps");c.inMultiScope=!0;c.groupId=a.get("v.groupId");
a.set("v.priv_canFocus",!0);this.addChildCmp(a,"markup://forceSearch:noResults",c,"v.priv_noResultsCmp");this.resultsLoaded(a)},resultsLoaded:function(a){this.onRefreshed(a,{isOverridenResults:!1,records:[],moreResultsAvailable:!1,totalSize:a.get("v.priv_totalSize"),pageNumber:1,wasSorted:!1});this.hidePlaceholder(a);this.handleResultsLoaded(a)},hidePlaceholder:function(a){(a=a.get("v.placeholderView")[0])&&a.hide()},showPlaceholder:function(a){(a=a.get("v.placeholderView")[0])&&a.show()},updateFocus:function(a){if(a.get("v.shouldFocus")&&
a.get("v.priv_canFocus")){var b=this.getResultsItems(a,"wrapper");b&&(b=b[0].getElement(),0<b.clientHeight&&(b.focus(),a.set("v.priv_canFocus",!1)))}},getResultsItems:function(a,b){for(var c=a.find(b),d=a.getDef().getDescriptor().name;!c&&"resultsMultiScope"!==d;){a=a.getSuper();if(!a)throw Error("No force:resultsMultiScope found in the component hierarchy.");c=a.find(b);d=a.getDef().getDescriptor().name}c&&void 0===c.length&&(c=[c]);return c},handleResultsLoaded:function(a){this.lib.logging.logPerf(a,
"showResultsMultiScope","END",{term:a.get("state.term"),scopeMaps:a.get("v.priv_scopeMaps")});this.logResultsLoaded(a)},getTotalNumResults:function(a){var b=0;a&&a.forEach(function(a){a.numResults&&(b+=a.numResults)});return b},logResultsLoaded:function(a){var b=a.get("state.loggingContext").buckets||[],b={buckets:b,queryIds:a.get("state.loggingContext.queryIds"),inMultiScope:a.get("v.inMultiScope"),numResults:this.getTotalNumResults(b),resultType:a.get("state.loggingContext").resultType};this.lib.logging.log(a,
this.lib.interaction.SYNTHETIC_REFRESH,"search-results-container","search-results-multi-scope",b)},handleResultCmpCreated:function(a,b){},getFullContext:function(a,b){var c=a.get("state.context"),d=c[b];d&&(c=d);return c},onScrollMoveHandler:function(a){},getEntitiesToDisplay:function(a){return[]}},renderer:{afterRender:function(a,b){a.superAfterRender();b.updateFocus(a)},rerender:function(a,b){a.superRerender();b.updateFocus(a)}}}});return {"xs":"I","descriptor":"markup://forceSearch:resultsMultiScope","st":{"descriptor":"css://forceSearch.resultsMultiScope","cl":"forceSearchResultsMultiScope"},"su":"markup://forceSearch:baseResults","ad":[["body","aura://Aura.Component[]","G",false,[]],["shouldFocus","aura://Boolean","I",false,false],["groupId","aura://String","I",true,"DEFAULT"],["updateChildren","aura://Boolean","I",true,true],["updateOnlyIfActive","aura://Boolean","I",true,true],["priv_valueProviderReady","aura://Boolean","I",false,false],["initialTerm","aura://String","I",false],["initialScopeMap","aura://Map","I",false,null],["initialContext","aura://Map","I",false,null],["inContextOfComponent","aura://String","I",false,"forceSearch:search"],["width","aura://String","PP",false],["impl","aura://String","I",false],["class","aura://String","G",false],["dir","aura://String","I",false,"ltr"],["namespaceOverride","aura://String","I",false],["actionable","aura://Boolean","I",false,true],["role","aura://String","I",false],["ariaDescribedBy","aura://String","PP",false,""],["value","aura://Object","PP",false,null],["visible","aura://Boolean","I",false,true],["inMultiScope","aura://Boolean","I",false,false],["enableRowActions","aura://Boolean","I",false,true],["enableSorting","aura://Boolean","I",false,true],["enableSortDirection","aura://Boolean","I",false,true],["sortBy","aura://String","I",false,""],["sortByLabel","aura://String","I",false,{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:baseResults","path":"$Label.AuraSearchUI.Relevancy"}],["stencilColumns","aura://Integer","I",false,5],["stencilRows","aura://Integer","I",false,10],["items","aura://List","I",false,[]],["searchInProgress","aura://Boolean","I",false,false],["previousTerm","aura://String","I",false,""],["pageLoaded","aura://Boolean","I",false,false],["isLookupSearch","aura://Boolean","I",false,false],["lookupSource","aura://String","I",false],["lookupField","aura://String","I",false],["lookupRecordId","aura://String","I",false],["lookupContextId","aura://String","I",false],["lookupAdditionalFields","aura://List","I",false,[]],["lookupDependentFieldBindings","aura://Map","I",false,{}],["lookupAdditionalContext","aura://Map","I",false,null],["currentPage","aura://Integer","PP",false,1],["endIndex","aura://Integer","I",false,-1],["pageCount","aura://Integer","PP",false,0],["pageSize","aura://Integer","I",false,5],["startIndex","aura://Integer","I",false,-1],["totalItems","aura://Integer","PP",false,0],["type","aura://String","I",false],["dataProvider","aura://Aura.Component[]","I",false,[]],["searchOnInit","aura://Boolean","I",false,true],["preserveLoggingContextKeys","aura://List","I",false,["searchDialogSuggestionsListIteration","scrolled","autoLogKeys"]],["eventScope","aura://String","I",false,"search-results-container"],["priv_noResultsCmp","aura://Aura.Component","I",false,null],["priv_feedbackCmp","aura://Aura.Component","I",false,null],["priv_spinnerCmp","aura://Aura.Component","I",false,null],["priv_resultsAreSorted","aura://Boolean","I",false,false],["priv_fetchActionsFromServer","aura://Boolean","I",false,{"exprType":"FUNCTION","code":"function(cmp,fn){return ($A.get(\"$Browser.isPhone\")&&cmp.get(\"v.enableRowActions\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:baseResults","path":"$Browser.isPhone"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:baseResults","path":"v.enableRowActions"}],"byValue":false}],["priv_recordIdRankMap","aura://Map","I",false,null],["priv_showSpellCorrectionMessage","aura://Boolean","I",false,false],["priv_correctedTerm","aura://String","I",false],["priv_hasNonCorrectedResults","aura://Boolean","I",false,false],["priv_lastRecordClickEvent","aura://Integer","I",false],["scopeSets","aura://Map","I",false,{}],["sortLabelsInitialized","aura://Boolean","I",false,false],["scopeSetType","aura://String","I",false,"SMART_SCOPE"],["resultsDataProvider","aura://Aura.Component[]","I",false,[]],["scrollerEnabled","aura://Boolean","I",false,false],["scopesDataProvider","aura://Aura.Component[]","I",false,[{"componentDef":{"descriptor":"markup://forceSearch:multiScopesDataProvider"},"attributes":{"values":{"onchange":{"descriptor":"onchange","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsMultiScope","path":"c.scopesDataProviderChangeHandler"}}}}}]],["placeholderView","aura://Aura.Component[]","I",false,[{"componentDef":{"descriptor":"markup://force:listViewPlaceholder"},"localId":"placeholder","attributes":{"values":{"rows":{"descriptor":"rows","value":10},"cols":{"descriptor":"cols","value":5},"class":{"descriptor":"class","value":"gridStencil slds-card"}}}}]],["priv_bucketIdx","aura://Integer","I",false,0],["priv_numBucketsDisplayed","aura://Integer","I",false,0],["priv_numBucketsDisplayedWithResults","aura://Integer","I",false,0],["priv_totalSize","aura://Integer","I",false,0],["priv_scopeMaps","aura://List","I",false,[]],["priv_canFocus","aura://Boolean","I",false,false],["priv_bestResultCmp","aura://Aura.Component","I",false,null],["priv_qnaCmp","aura://Aura.Component","I",false,null]],"med":[{"name":"forceSearch:update","xs":"I","action":"{!c.update}","attributes":[["type","aura://String","I",false],["term","aura://String","I",false],["scopeMap","aura://Map","I",false,null],["context","aura://Map","I",false,null],["sourceId","aura://String","I",false]]},{"name":"forceSearch:search","xs":"I","action":"{!c.search}","attributes":[["term","aura://String","I",false],["sortBy","aura://String","I",false]]},{"name":"forceSearch:showResults","xs":"I","action":"{!c.showResults}","attributes":[["results","aura://Object","I",false,null]]}],"i":["markup://forceSearch:hasScopeSets"],"re":[{"ed":"markup://force:searchRequest","n":"searchRequest","xs":"I"},{"ed":"markup://ui:click","n":"click","xs":"G"},{"ed":"markup://ui:dblclick","n":"dblclick","xs":"G"},{"ed":"markup://ui:mousedown","n":"mousedown","xs":"G"},{"ed":"markup://ui:mousemove","n":"mousemove","xs":"G"},{"ed":"markup://ui:mouseout","n":"mouseout","xs":"G"},{"ed":"markup://ui:mouseover","n":"mouseover","xs":"G"},{"ed":"markup://ui:mouseup","n":"mouseup","xs":"G"},{"ed":"markup://ui:dataChanged","n":"refreshed","xs":"I"},{"ed":"markup://forceSearch:resultsLoaded","n":"ended","xs":"I"},{"ed":"markup://ui:dataProvideError","n":"failed","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"ed":{"descriptor":"markup://ui:dataChanged"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleRefreshed"},"n":"refreshed","if":"true"}],"ld":{"*":{"alias":"search-results-multi-scope-container"}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:scroller"},"localId":"scroller","attributes":{"values":{"useNativeScroller":{"descriptor":"useNativeScroller","value":true},"infiniteLoading":{"descriptor":"infiniteLoading","value":false},"canRefresh":{"descriptor":"canRefresh","value":false},"onScrollMove":{"descriptor":"onScrollMove","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsMultiScope","path":"c.onScrollMoveHandler"}},"scroll":{"descriptor":"scroll","value":"vertical"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"wrapper","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"tabindex":"-1","class":{"exprType":"FUNCTION","code":"function(cmp,fn){return ((cmp.get(\"v.priv_numBucketsDisplayed\")>0)?\"resultsMultiWrapper\":\"\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsMultiScope","path":"v.priv_numBucketsDisplayed"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"forcesearch-resultsmultiscope__qna"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsMultiScope","path":"v.priv_qnaCmp"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsMultiScope","path":"v.priv_qnaCmp"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"forcesearch-resultsmultiscope__rr"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsMultiScope","path":"v.priv_bestResultCmp"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsMultiScope","path":"v.priv_bestResultCmp"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"resultsContainer","flavorable":true,"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return ((cmp.get(\"v.priv_numBucketsDisplayed\")>0)?\"slds-grid slds-grid_vertical\":\"slds-hide\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsMultiScope","path":"v.priv_numBucketsDisplayed"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceSearch:queryExpansionMessage"},"attributes":{"values":{"correctedTerm":{"descriptor":"correctedTerm","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsMultiScope","path":"v.priv_correctedTerm"}},"groupId":{"descriptor":"groupId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsMultiScope","path":"v.groupId"}},"hasNonCorrectedResults":{"descriptor":"hasNonCorrectedResults","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsMultiScope","path":"v.priv_hasNonCorrectedResults"}},"context":{"descriptor":"context","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsMultiScope","path":"state.context"}},"term":{"descriptor":"term","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsMultiScope","path":"state.term"}},"scopeMap":{"descriptor":"scopeMap","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsMultiScope","path":"state.scopeMap"}},"inMultiScope":{"descriptor":"inMultiScope","value":true}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsMultiScope","path":"v.priv_showSpellCorrectionMessage"}}}}},{"componentDef":{"descriptor":"markup://aura:iteration"},"attributes":{"values":{"indexVar":{"descriptor":"indexVar","value":"scopeIndex"},"var":{"descriptor":"var","value":"scopeMap"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"resultsItemWrapper","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"resultsItem slds-col slds-no-flex slds-hide slds-m-bottom_small"}},"tag":{"descriptor":"tag","value":"div"}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsMultiScope","path":"v.priv_scopeMaps"}}}}},{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsMultiScope","path":"v.priv_feedbackCmp"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsMultiScope","path":"v.placeholderView"}}}}},{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsMultiScope","path":"v.body"}}}}},{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsMultiScope","path":"v.priv_noResultsCmp"}}}}}]}}}}]},"class":{"descriptor":"class","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.scrollerEnabled\")?\"enabled\":\"disabled\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsMultiScope","path":"v.scrollerEnabled"}],"byValue":false}},"useCSSTransition":{"descriptor":"useCSSTransition","value":false},"enabled":{"descriptor":"enabled","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsMultiScope","path":"v.scrollerEnabled"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsMultiScope","path":"v.priv_valueProviderReady"}}}}}]}],"fc":true,"css":true}*/});
$A.componentService.addComponent("markup://runtime_sales_activities:taskStatusBroker",function(){/*$A.componentService.addComponentClass("markup://runtime_sales_activities:taskStatusBroker",function() {
return {
  "meta":{
    "name":"runtime_sales_activities$taskStatusBroker",
    "extends":"markup://aura:component"
  }
};
});
return {"xs":"I","descriptor":"markup://runtime_sales_activities:taskStatusBroker","cd":{"descriptor":"compound://runtime_sales_activities.taskStatusBroker","ac":[{"n":"getStatuses","descriptor":"serviceComponent://ui.activities.impl.controllers.TaskStatusBrokerController/ACTION$getStatuses","at":"SERVER","rt":"java://java.util.Map","pa":[]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]]],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:muteAction",function(){/*$A.componentService.addComponentClass("markup://forceChatter:muteAction",function(){return{meta:{name:"forceChatter$muteAction","extends":"markup://aura:component",imports:{feedLib:"markup://forceChatter:feedLib"}},controller:{run:function(b,a,e){a=b.get("c.updateMute");var d=b.get("v.feedItemId"),c=b.get("v.muted");a.setParams({feedItemId:d,isMuted:c});a.setCallback(this,function(a){"SUCCESS"===a.getState()?($A.getEvt("markup://forceChatter:muteUpdated").setParams({feedItemId:d,muted:c}).fire(),
c?$A.getEvt("force:showToast").setParams({message:$A.get("$Label.Feeds.FeedPostHideVerbConfirmation"),isClosable:!0,type:"success"}).fire():$A.getEvt("force:showToast").setParams({message:$A.get("$Label.Feeds.FeedPostUnhideVerbConfirmation"),isClosable:!0,type:"success"}).fire()):"INCOMPLETE"===a.getState()?$A.getEvt("markup://force:showOfflineMessage").setParams({retryAction:a}).fire():e.feedLib.util.fireActionErrorMessage(a)});$A.enqueueAction(a)}}}});return {"xs":"I","descriptor":"markup://forceChatter:muteAction","cd":{"descriptor":"compound://forceChatter.muteAction","ac":[{"n":"deleteFeedItem","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$deleteFeedItem","at":"SERVER","rt":"java://void","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true}]},{"n":"isFeedItemEditableByMe","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$isFeedItemEditableByMe","at":"SERVER","rt":"java://boolean","pa":[{"name":"feedItemId","type":"java://java.lang.String"}]},{"n":"updateCloseStatus","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$updateCloseStatus","at":"SERVER","rt":"java://void","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"communityId","type":"java://java.lang.String"},{"name":"isClosed","type":"java://boolean"}]},{"n":"updatePinStatus","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$updatePinStatus","at":"SERVER","rt":"java://void","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"feedType","type":"java://java.lang.String"},{"name":"subjectId","type":"java://java.lang.String"},{"name":"isPinned","type":"java://boolean"}]},{"n":"updateVisibility","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$updateVisibility","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.feeds.AbstractFeedElementRepresentation","pa":[{"name":"feedItemInput","type":"java://sfdc.chatter.connect.api.input.feeds.FeedItemInputRepresentation"},{"name":"feedItemId","type":"java://java.lang.String","loggable":true}]},{"n":"updateBookmark","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$updateBookmark","at":"SERVER","rt":"java://boolean","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"hasBookmark","type":"java://boolean"},{"name":"communityId","type":"java://java.lang.String","loggable":true}]},{"n":"updateMute","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$updateMute","at":"SERVER","rt":"java://void","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"isMuted","type":"java://boolean"}]},{"n":"getFeedItemActions","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$getFeedItemActions","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"feedItemId","type":"java://java.lang.String"}]},{"n":"getFeedEntityIsEditableByMe","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$getFeedEntityIsEditableByMe","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.feeds.FeedEntityIsEditableRepresentation","pa":[{"name":"feedItemId","type":"java://java.lang.String"},{"name":"communityId","type":"java://java.lang.String","loggable":true}]},{"n":"setBestAnswer","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedItemController/ACTION$setBestAnswer","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.feeds.QuestionAndAnswersCapabilityRepresentation","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"commentId","type":"java://java.lang.String","loggable":true},{"name":"communityId","type":"java://java.lang.String","loggable":true}]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["context","aura://Object","I",false,null],["feedItemId","aura://String","I",false],["muted","aura://Boolean","I",false]],"i":["markup://force:runnable"],"re":[{"ed":"markup://force:run","n":"run","xs":"I"},{"ed":"markup://force:run","n":"afterRun","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.run"},"n":"run"}],"css":true}*/});
$A.componentService.addComponent("markup://runtime_sales_activities:taskStatusModal",function(){/*$A.componentService.addComponentClass("markup://runtime_sales_activities:taskStatusModal",function(){return{meta:{name:"runtime_sales_activities$taskStatusModal","extends":"markup://aura:component"},controller:{updateSelectedStatus:function(a,b){a.set("v._selectedStatusIndex",parseInt(b.getSource().get("v.text")));a.find("saveButton").set("v.disabled",!1)},save:function(a){var b=a.get("v._selectedStatusIndex");if(b||0===b)b=a.get("v.statuses")[b],$A.getEvt("markup://runtime_sales_activities:taskStatusSave").setParams({taskId:a.get("v.taskId"),
newStatus:b.value,lastMod:a.get("v.lastMod"),componentId:a.get("v.cmpId"),isClosed:b.closed}).fire(),$A.getEvt("markup://force:hidePanel").fire()},cancel:function(a){var b=a.get("v.statuses")[0];$A.getEvt("markup://runtime_sales_activities:taskStatusCancel").setParams({isClosed:b.closed,componentId:a.get("v.cmpId"),taskId:a.get("v.taskId")}).fire();$A.getEvt("markup://force:hidePanel").fire()}},renderer:{afterRender:function(a,b){a.superAfterRender();!0===a.get("v.singleClickToCloseFromLV")&&$A.metricsService.transaction("ltng",
"interaction",{context:{eventSource:"load",eventType:"user",locator:{target:"statuses",scope:"taskStatusModal"},attributes:{SingleClickToCloseFromLV:a.get("v.singleClickToCloseFromLV")}}});var d=a.find("radioButtonLabels"),c;if(d)for(c=0;c<d.length;c+=1)d[c].set("v.for","statusButton"+c)}}}});return {"xs":"I","descriptor":"markup://runtime_sales_activities:taskStatusModal","ad":[["body","aura://Aura.Component[]","G",false,[]],["statuses","aura://List","I",false,[]],["taskId","aura://String","I",false],["lastMod","aura://String","I",false],["cmpId","aura://String","I",false],["_selectedStatusIndex","aura://Integer","I",false],["singleClickToCloseFromLV","aura://Boolean","I",false,false]],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"statuses","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-form-element slds-p-around--medium","aria-label":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:taskStatusModal","path":"$Label.ProjectOne_Task_Actions.StatusLegend"}}},"tag":{"descriptor":"tag","value":"fieldset"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-grid"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-col--padded slds-size--1-of-3 slds-text-align--right"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"aria-hidden":"true","class":"slds-form-element__legend slds-form-element__label"}},"tag":{"descriptor":"tag","value":"legend"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:taskStatusModal","path":"$Label.ProjectOne_Task_Actions.StatusLegend"}}}}}]}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-form-element__control slds-col slds-size--2-of-3"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:iteration"},"attributes":{"values":{"indexVar":{"descriptor":"indexVar","value":"index"},"var":{"descriptor":"var","value":"status"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:label"},"localId":"radioButtonLabels","attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:inputRadio"},"attributes":{"values":{"change":{"descriptor":"change","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:taskStatusModal","path":"c.updateSelectedStatus"}},"name":{"descriptor":"name","value":"statusButton"},"domId":{"descriptor":"domId","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"statusButton\",cmp.get(\"index\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:taskStatusModal","path":"index"}],"byValue":false}},"text":{"descriptor":"text","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:taskStatusModal","path":"index"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-radio--faux slds-m-right--x-small"}},"tag":{"descriptor":"tag","value":"span"}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-form-element__label"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:taskStatusModal","path":"status.label"}}}}}]}}}}]},"class":{"descriptor":"class","value":"slds-radio"}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:taskStatusModal","path":"v.statuses"}}}}}]}}}}]}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-modal__footer"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:button"},"attributes":{"values":{"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":true,"target":"runtime_sales_activities:taskStatusModal","path":"$Label.Buttons.cancel"}},"press":{"descriptor":"press","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:taskStatusModal","path":"c.cancel"}}}}},{"componentDef":{"descriptor":"markup://ui:button"},"localId":"saveButton","attributes":{"values":{"disabled":{"descriptor":"disabled","value":true},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":true,"target":"runtime_sales_activities:taskStatusModal","path":"$Label.Buttons.save"}},"press":{"descriptor":"press","value":{"exprType":"PROPERTY","byValue":false,"target":"runtime_sales_activities:taskStatusModal","path":"c.save"}},"class":{"descriptor":"class","value":"slds-button--brand"}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:feedInner",function(){/*$A.componentService.addComponentClass("markup://forceChatter:feedInner",function(){return{meta:{name:"forceChatter$feedInner","extends":"markup://aura:component",imports:{feedLib:"markup://forceChatter:feedLib",methodEmitter:"markup://forceChatter:methodEmitterService",prefetcherLib:"markup://forceChatter:feedPrefetcherLib",realtime:"markup://forceChatter:streamingDataService",metricsReporter:"markup://forceChatter:metricsReportingService",cmpLib:"markup://force:componentLibrary",eventBroker:"markup://one:s1EventBroker",
sfdc:"markup://force:sfdcLibrary",pageLoadCoordination:"markup://forceChatter:pageLoadCoordinationService",dataCache:"markup://feeds_caching:lib"}},controller:{init:function(a,b,c){a._destroyed=new Promise(function(b){a._destroyedResolver=b});a._context={};b=$A.util.lookup(a.get("v.feedElementCollection"),"nextPageToken");a.set("v._canShowMore",""<b);var d=c.getContext(a);d.unreadItems=null;d.logRerender=!1;d.scrollEmitter=c._createSingleEventEmitter();d.interceptedScrollCallback=null;d.isLoading=
null;d.isPreloading=null;if(a.get("v.config.isFeedReadTrackingEnabled")){b=!0;c.feedLib.util.isPSSC()&&($A.get("$Site.isGuestUser")?b=!1:(d.windowScrollListener=$A.getCallback(function(a){d.scrollEmitter.notify()}),window.addEventListener("scroll",d.windowScrollListener,{passive:!0})));if(b){var e=a.get("c.markAsReadOnScrollWithDebounce");d.scrollEmitter.addListener($A.getCallback(function(){e.run()}))}c.markAsRead(a,null,c)}c.findUnreadItemIds(a,c,a.get("v.feedElementCollection.elements"));a.get("v._canShowMore")||
(b=a.getEvent("noMoreContent"))&&b.fire();var f=a.get("v.sharedId");f||(f=a.getGlobalId());c.methodEmitter.service.on("switchFeedType",a,"switchFeed",f);b=c._getPageSize.bind(c,a);var g=c._getPageCount.bind(c,a);c.prefetcherLib.prefetcher.resetAndConfigurePrefetcher(a,$A.util.lookup(a.get("v.feedElementCollection"),"nextPageToken"),b,g);b=a.get("v.config");g=a.find("empApi");b&&g&&(c.realtime.service.init(b.isRealtimeEnabled,b.isRealtimeDiagnosticsEnabled,b.streamingApiSessionKey,g),c.realtimeSubscribe(a),
a._destroyed.then($A.getCallback(function(){a.helper.realtimeUnsubscribe(a);a.helper.methodEmitter.service.remove("switchFeedType",a,f)})));b=(b=a.get("v.feedType"))&&b.toLowerCase();!c.feedLib.util.isPSSC()&&("news"===b||"streams"===b)&&a.set("v._densitySupported",!0);c.feedLib.util.isPSSC()&&"news"===b&&"All Updates"===$A.util.lookup(a.get("v.filteringMenuGroup"),"selectedMenuOption","label")&&!a.get("v.config.feedFilter")&&a.set("v.config.feedFilter","AllUpdates");b=a.get("v.pinnedFeedElementCollection.elements");
$A.util.isEmpty(b)||(b.forEach(function(a){a.capabilities.pin.isPinnedCopy=!0}),a.set("v.hasPinnedFeedItems",!0));b=a.get("v.pageReference");a.get("v.isEnabledForFeedCaching")&&b&&b.state.viewMore?a.set("v.lastNavigatedFeedItem",c.dataCache.default.lastNavigatedFeedItem):a.set("v.lastNavigatedFeedItem","")},handleDestruction:function(a,b,c){a._destroyedResolver()},updateQueuedItems:function(a,b,c){if(a&&a.isValid()){b=a.get("v.realtimeRefreshRequired");var d=c.getContext(a),e=a.getGlobalId(),f=c.realtime.service.popQueuedItems(e);
a.set("v.numQueuedItems",c.realtime.service.getQueueLength(e));a.set("v.realtimeRefreshRequired",!1);b?c.refreshFeed(a):(c.insertFeedItems(a,f,!0),c.findUnreadItemIds(a,a.helper,f),window.setTimeout($A.getCallback(function(){d.unreadItems&&d.unreadItems.length&&a.helper.markAsRead(a,null,a.helper)}),0));c.scrollTo(a,"top");a.getEvent("feedNotification").setParams({type:"HIDE"}).fire();c=a.get("v.config");b={queuedItems:f.length,refreshRequired:b,feedType:c.type,sortOrder:c.sortOrder};c.subjectId&&
(b.subjectId="005"===c.subjectId.substring(0,3)?"user":c.subjectId);$A.metricsService.transaction("ltng","interaction",{context:{eventSource:"synthetic-click",eventType:"user",locator:{target:"",scope:"ChatterFeed-LivePostsPill"},attributes:b}})}},showMore:function(a,b,c){"notify"===a.get("v.loadMoreBehavior")?(a.getElement().dispatchEvent(new CustomEvent("morerequested",{bubbles:!0,cancelable:!1,detail:{feedId:a.get("v.config.subjectId"),pageSize:a.get("v.nextPageSize"),sortOrder:a.get("v.config.sortOrder")}})),
b()):(c.loadMore(a,null,b),(a=a.get("v.fireShowMoreEvent"))&&a.run())},handleDelegatedEvent:function(a,b,c){b=b.getParam("event");$A.assert($A.util.isObject(b),"The wrapped event must be an object");c.handleEvent(a,b)},switchFeed:function(a,b,c){b=b.getParam("arguments");c.switchFeedType(a,b)},sort:function(a,b,c){(b=b.getParam("parameters"))&&b.sortBy&&c.sort(a,b.sortBy)},filter:function(a,b,c){b=b.getParam("parameters")||{};c.filter(a,b.filterBy,b.density)},filterByCustomFilter:function(a,b,c){b=
b.getParam("arguments")||{};c.filterByCustomFilter(a,b.filterName)},refresh:function(a,b,c){c.refreshFeed(a,b)},refreshClicked:function(a){a.helper.refreshFeed(a)},refreshAndScrollToTop:function(a,b,c){c.refreshFeed(a,function(){c.scrollTo(a,"top")})},checkNewContent:function(a,b,c){c.checkNewContent(a,b,c)},cancelSearch:function(a,b,c){a.get("v.searchQuery");var d=a.get("v.config");a.set("v.searchQuery",null);d.searchQuery&&(d.searchQuery=null,c.updateConfig(a,d),c.refreshFeed(a));(a=b&&b.getParam("callback"))&&
a()},search:function(a,b,c){var d;a.find("findInFeed")?(d=a.find("findInFeed").get("v.searchQuery"),a.set("v.searchQuery",d)):d=a.get("v.searchQuery");d&&d.trim&&(d=d.trim());if(""<d){c.log({itemToLog:"feedSearch"});var e=a.get("v.config");e.searchQuery=d;c.updateConfig(a,e);b=b&&b.getParam("parameters")||{};c.metricsReporter.service.transactionStart("feeds","feedRerendered",{context:{operation:"search"}});c.refreshFeed(a,b.callback)}},searchMethod:function(a,b,c){b=b.getParam("arguments");$A.util.lookup(b,
"searchQuery")&&c.search(a,b.searchQuery)},cancelSearchMethod:function(a,b,c){b=b.getParam("arguments");c.cancelSearch(a,b.callback)},sortMethod:function(a,b,c){b=b.getParam("arguments");$A.util.lookup(b,"sortBy")&&c.sort(a,b.sortBy,b.callback)},fetchAndFireSetLinkMetadataEvent:function(a,b,c){b=b.getParam("arguments");$A.util.lookup(b,"feedElements")&&c.fetchAndFireSetLinkMetadataEvent(a,b.feedElements)},updateCanShowMore:function(a,b,c){b=$A.util.lookup(a.get("v.feedElementCollection"),"nextPageToken");
a.set("v._canShowMore",""<b)},swapAndOpenSorter:function(a,b){if(!b||!b.keyCode||!(13!==b.keyCode&&32!==b.keyCode&&(37>b.keyCode||40<b.keyCode))){a.set("v._isSorterLoaded",!0);var c=a.find("feedSorter");c&&c.setFocus()}},skipPastFeed:function(a,b,c){if("endOfFeed"===b.getParam("target")&&(a&&a.isValid())&&(a=a.find("endOfFeed")))(a=a.getElement())&&a.focus();b.stopPropagation()},_handleForceChatterScrollMove:function(a,b,c){c.getContext(a).scrollEmitter.notify()},markAsReadOnScrollWithDebounce:function(a,
b,c){var d=c.getContext(a);d.markAsReadCountdown&&clearTimeout(d.markAsReadCountdown);d.markAsReadCountdown=setTimeout($A.getCallback(function(){d.unreadItems&&d.unreadItems.length&&c.markAsRead(a,b,c)}),500)},markAsReadOnScroll:function(a,b,c){if(a.get("v.config.isFeedReadTrackingEnabled")){var d=c.getContext(a);d.unreadItems&&d.unreadItems.length&&c.markAsRead(a,b,c)}},getFeedElements:function(a,b,c){(a=a.find("cuf-feed"))&&a.getFeedElements(b.getParam("arguments").callback)},handlePinnedFeedItem:function(a,
b,c){var d=b.getParam("pinned");b=b.getParam("feedItem");d?(d={},$A.util.apply(d,b,!0,!0),d.capabilities.pin.isPinnedCopy=!0,d.capabilities.pin.isPinned=!0,d.refocus=!1,a.set("v._showPinnedPostsHeader",!0),b=$A.util.lookup(a.get("v.pinnedFeedElementCollection"),"elements"),$A.util.isArray(b)?(b.push(d),a.set("v.pinnedFeedElementCollection.elements",b)):(b=[d],a.set("v.pinnedFeedElementCollection",{elements:b})),a.set("v.hasPinnedFeedItems",!0),c.fetchAndFireSetLinkMetadataEvent(a,b)):(a.set("v._showPinnedPostsHeader",
!1),c.refreshFeed(a,$A.getCallback(function(){c.scrollTo(a,"top")})))},handleCloseStatusUpdated:function(a,b,c){b=b.getParam("feedItem");var d=b.id,e=$A.util.lookup(a.get("v.feedElementCollection"),"elements");if($A.util.isArray(e)){var f=e.filter(function(a){return a.id===d});if(0===f.length)return;f=e.indexOf(f[0]);-1<f&&(e[f]=b,a.set("v.feedElementCollection.elements",e))}c.fetchAndFireSetLinkMetadataEvent(a,e)},handleEndOfFeedFocused:function(a){a.set("v.enableInfiniteScroll",!1);a.set("v.enableLoadMoreButton",
!0)},handleContentVisible:function(a,b,c){b.stopPropagation();c.realtimeEnabledForThisFeed(a)&&a.helper.realtimeSubscribe(a)},handleContentHidden:function(a,b,c){b.stopPropagation();a.helper.realtimeUnsubscribe(a)},handleChangeSort:function(a,b,c){b.stopPropagation();b=$A.util.lookup(b.getParams(),"value");$A.util.isUndefinedOrNull(b)||c.sort(a,b)},handleChangeFilter:function(a,b,c){b.stopPropagation();var d=$A.util.lookup(b.getParams(),"filterBy");b=$A.util.lookup(b.getParams(),"density");c.filter(a,
d,b)},handleFeedCollectionChange:function(a,b,c){var d=JSON.parse(JSON.stringify(a.get("v.pageReference")));a.get("v.isEnabledForFeedCaching")&&(d&&d.state.viewMore)&&(d=c.getCacheKey(a),"elements"===b.getParams().index&&!c.dataCache.default.hasCache(d)&&(b={},b.feedElementCollection=a.get("v.feedElementCollection"),a.get("v.hasPinnedFeedItems")&&(b.pinnedFeedElementCollection=a.get("v.pinnedFeedElementCollection")),c.dataCache.default.setCache(d,b)))},handleNavigateToFeedItem:function(a,b,c){b=$A.util.lookup(b.getParams(),
"feedItemId");a.get("v.isEnabledForFeedCaching")&&b&&(c.dataCache.default.lastNavigatedFeedItem=b,a.set("v.lastNavigatedFeedItem",b))},clearCache:function(a,b,c){a.get("v.isEnabledForFeedCaching")&&c.clearCache(a)}},helper:{constants:{PREFETCHED_PAGES:3},_getPageCount:function(a,b,c){$A.log("FeedInner.helper#getPageCount - eventName:"+b+"; pageIndex:"+c);c=Math.min(Math.max(c,1),this.constants.PREFETCHED_PAGES);"Threshold"===b?c=this.constants.PREFETCHED_PAGES:"Preload"===b?c=1:a.get("v.enableDynamicPageSizePrefetch")||
(c=1);return c},_getPageSize:function(a,b,c){var d=a.get("v.pageSizeGetter");if(null!=d&&"function"===typeof d.get)return d.get(b,c);d=a.get("v.nextPageSize");a=a.get("v.firstPageSize")||d;$A.log("FeedInner.helper#getPageSize - eventName:"+b+"; pageIndex:"+c);return"Reload"===b?a:"Refresh"===b?a:"LoadMore"===b?d:"Load"===b?a:"Preload"===b?0:d},handleEvent:function(a,b){if(a.isValid()&&a.getElement()){var c=b.getDef().getDescriptor(),c="handle_{1}_{2}".replace("{1}",c.getNamespace()).replace("{2}",
c.getName());$A.util.isFunction(this[c])&&(this[c](a,b),this._destroyFeedPreloader(a))}},handle_forceChatter_postCreated:function(a,b){var c=b.getParam("feedItem"),d=b.getParam("feedItemId"),e=b.getParam("contextId"),f=b.getParam("showDraftPublishedToast"),g=a.get("v.config.subjectId"),h=$A.util.lookup(c,"actor","id"),n=(a.get("v.feedType")||"").toUpperCase(),l=$A.util.lookup(c,"capabilities","status","feedEntityStatus")===this.feedLib.util.feedEntityStatus.Draft,p=this.feedLib.util.canInsertNewPosts(g,
a.get("v.config.sortOrder"),a.get("v._canShowMore")),e=e?e.substring(0,15):null,g=g?g.substring(0,15):null,h=h?h.substring(0,15):null;if(p&&(d||c)&&(e===g||"NEWS"===n&&h===g||"HOME"===n&&"0TO"===e.substring(0,3)))if(e=a.getElement(),e=this.feedLib.util.closestMatch(e,".oneContent"),!e||this.feedLib.util.matches(e,".active"))if(this.canInsertIntoFeed(a,l)){var k=this,m=function(b){var c={};$A.util.apply(c,b,!0,!0);c.commentSubscribeOnRender=!0;k.insertFeedItems(a,[c],!k.feedLib.util.isCreatedDateAscSort(a.get("v.config.sortOrder")))};
c?m(c):(f=a.get("c.refreshFeed"),f.setParams({config:a.get("v.config")||{},pageSize:4}),f.setCallback(this,function(b){"SUCCESS"===b.getState()&&b.getReturnValue()?(b=b.getReturnValue().data.elements.filter(function(a){return a.id===d}))&&1===b.length&&m(b[0]):k.refreshFeed(a)}),$A.enqueueAction(f))}else(c=a.get("v.sharedId"))||(c=a.getGlobalId()),this.methodEmitter.service.emit("requestFeedSwitch",["News"],c),f&&$A.getEvt("markup://force:showToast").setParams({message:$A.get("$Label.Feeds.DraftPublishedConfirmation"),
isClosable:!0,type:"success"}).fire()},handle_forceChatter_feedItemDeleted:function(a,b){var c=b.getParam("feedItemId");this.removeFeedItem(a,c)},handle_forceChatter_feedItemUpdated:function(a,b){var c=b.getParam("data");this.updateFeedItem(a,c)},loadMore:function(a,b,c){b=b||{isPreloading:!1};var d=this,e=d.getContext(a);if(e.isLoading)e.isPreloading&&$A.util.isFunction(c)&&(e.interceptedScrollCallback=c);else{d.metricsReporter.service.transactionStart("feeds","feedRerendered",{context:{operation:"loadMore"}});
var f=$A.getCallback(function(){$A.util.isFunction(c)&&c.apply(d,arguments)}),g=a.get("v.feedElementCollection")||{},h=!b.isPreloading&&a.get("v.enableLoadMoreButton");if(Array.isArray(g.immediateNextElements)&&0<g.immediateNextElements.length&&(g=$A.util.apply({},g),g.elements=[].concat(g.immediateNextElements),g.immediateNextElements.length=0,d.updateData(a,g,!0,h),!b.isPreloading)){f();return}d._destroyFeedPreloader(a);if($A.util.lookup(a.get("v.feedElementCollection"),"nextPageToken")){var n=
d.getFetchId(a);d.prefetcherLib.prefetcher.fetchNextPage(a,function(c){var g;e.isLoading=!1;if("SUCCESS"===c.getState()&&c.getReturnValue()){var k={operation:"loadMore",subject:a.get("v.config.type")};a.get("v.config.subjectId")&&(k.recordId="005"===a.get("v.config.subjectId").substring(0,3)?"user":a.get("v.config.subjectId"));d.metricsReporter.service.transactionStart("ltng","feed:component:createMore",{context:k});if(!a||!a.isValid()||n!==d.getFetchId(a))return;c=c.getReturnValue();$A.util.isUndefinedOrNull(c.data.searchQueryId)||
(k=a.get("v.allSearchQueryIds"),k.push(c.data.searchQueryId),a.set("v.allSearchQueryIds",k));if(!b.isPreloading&&!a.get("v.requireScroller")){var k=a.find("scroller"),m=!0;k&&(m=k.get("v.enableLoadMoreButton"));m&&$A.util.lookup(c,"data","elements",0)&&(c.data.elements[0].refocus=!0)}k=d.feedLib.util.getAllFeedItemIDs(c.data.elements);m=k.toString();$A.util.isEmpty(a.get("v.previousFeedItemIds"))&&a.set("v.previousFeedItemIds",d.feedLib.util.getAllFeedItemIDs(a.get("v.feedElementCollection.elements")).toString());
m=m+","+a.get("v.previousFeedItemIds");a.set("v.previousFeedItemIds",k.toString());d.updateData(a,c.data,!0,h);c={operation:"feedLoadMore",feedItemIds:m,sortOrder:a.get("v.config.sortOrder"),feedType:a.get("v.config.type"),startFeedItemPosition:d.getFeedItemIndex(a,k[0]),searchQueryId:$A.util.lookup(c,"data","elements",0,"searchQueryId")};a.get("v.config.subjectId")&&(c.subjectId="005"===a.get("v.config.subjectId").substring(0,3)?"user":a.get("v.config.subjectId"));d.feedLib.util.logFeedOperations(c,
"loadMore")}else"INCOMPLETE"===c.getState()?($A.getEvt("markup://force:showOfflineMessage").setParams({retryFunction:$A.getCallback(function(){d.loadMore(a,b,q)})}).fire(),g={labelError:$A.get("$Label.Offline.NoConnectionDescription")}):d.feedLib.util.fireActionErrorMessage(c);if(e.isPreloading){e.isPreloading=!1;var q=e.interceptedScrollCallback;null!=q&&(f=q,e.interceptedScrollCallback=null)}g?f(g):f();d._fireForceScrollerReflow(a)},d,{isPreloading:b.isPreloading})?(e.isLoading=!0,e.isPreloading=
b.isPreloading,d.log({itemToLog:"loadMoreFeedItems",type:a.get("v.config.type")},!0)):f()}else f()}},updateConfig:function(a,b){a.set("v.config",b)},getFeedItemIndex:function(a,b){var c=a.get("v.feedElementCollection.elements"),d=null;if(!c)return null;for(var e=0;e<c.length;e++)if(c[e].id===b){d=e;break}$A.util.isFiniteNumber(d)&&(d=d++);return d},updateData:function(a,b,c,d){if(!$A.util.isUndefinedOrNull(b)){var e=this.getContext(a);a.get("v.feedElementCollection")||a.set("v.feedElementCollection",
{});a.set("v.feedElementCollection.nextPageToken",$A.util.lookup(b,"nextPageToken"));e.logRerender=!0;this.metricsReporter.service.markStart("feeds","feedUpdateData");c?(this.insertFeedItems(a,b.elements,!1,d),this.findUnreadItemIds(a,a.helper,b.elements)):(a.set("v.feedElementCollection.elements",b.elements),a.set("v.feedElementCollection.currentPageToken",b.currentPageToken),a.set("v.feedElementCollection.isModifiedToken",b.isModifiedToken),a.set("v.feedElementCollection.searchQueryId",b.searchQueryId),
this.findUnreadItemIds(a,a.helper,b.elements,!0),this.fetchAndFireSetLinkMetadataEvent(a,b.elements),c=this._getPageSize.bind(this,a),d=this._getPageCount.bind(this,a),this.prefetcherLib.prefetcher.resetAndConfigurePrefetcher(a,a.get("v.feedElementCollection.nextPageToken"),c,d));window.setTimeout($A.getCallback(function(){e.unreadItems&&e.unreadItems.length&&a.helper.markAsRead(a,null,a.helper)}),0);this.metricsReporter.service.markEnd("feeds","feedUpdateData");$A.util.isEmpty(b.nextPageToken)&&
(b=a.getEvent("noMoreContent"))&&b.fire()}},updatePinnedData:function(a,b){var c=b.elements;$A.util.isEmpty(c)||(c.forEach(function(a){a.capabilities.pin.isPinnedCopy=!0}),a.set("v.hasPinnedFeedItems",!0));a.set("v.pinnedFeedElementCollection.elements",c)},updateIsFeedModified:function(a,b){a.set("v.isFeedModified",b)},setIsFeedRefreshing:function(a,b){a.set("v.isFeedRefreshing",b);var c=a.find("scroller");c&&c.helper.refreshScroller(c,b);b?a.helper.realtimeUnsubscribe(a):a.helper.realtimeSubscribe(a)},
updateFeed:function(a,b){b&&(this.updateConfig(a,b.config),this.updateData(a,b.data),this.updateIsFeedModified(a,!1),this.updateEmptyFeedMessage(a,b.emptyFeedMessage),$A.util.isUndefinedOrNull(b.pinnedFeedData)||this.updatePinnedData(a,b.pinnedFeedData))},insertFeedItems:function(a,b,c,d){if($A.util.isArray(b)){var e=this.getContext(a),f=a.get("v.feedElementCollection.elements"),g=c&&$A.get("$Browser.isDesktop");c?(g&&b.filter(function(a){a.transitionClass="initial"}),f=b.concat(f)):f=f.concat(b);
d&&(d=$A.util.lookup(b[0],"id"),c&&(d=$A.util.lookup(b[b.length-1],"id")),a.set("v.lastNavigatedFeedItem",d));if(g){var h=$A.getCallback(function(){if(a.isValid()){var c=a.get("v.feedElementCollection");if((f=c&&c.elements)&&f.length){var d=(c=a.find("cuf-feed").getElement())&&c.children,c=[];if(d){var g;for(g=0;g<d.length;++g)0<=d[g].className.indexOf("cuf-feedElementIterationItem")&&c.push(d[g]);if(f.length===c.length){d=!1;for(g=0;g<f.length;g++){var k=f[g];"initial"===k.transitionClass&&(c[g]instanceof
Element&&window.getComputedStyle(c[g]),k.transitionClass="initial expanding",d=!0)}if(d&&(a.set("v.feedElementCollection.elements",f),window.setTimeout($A.getCallback(function(){if(a.isValid()){var b=a.get("v.feedElementCollection").elements;if(b){for(g=0;g<b.length;g++)b[g].transitionClass="";a.set("v.feedElementCollection.elements",b)}}}),2E3),a.helper.feedLib.util.updateTimestamp(a),a.get("v.config.isFeedUIExperimentsEnabled")&&b[0].isLivePost)){var m=a.find("cuf-feed").getElement().querySelector(".cuf-element");
m.className+=" highlighted";window.setTimeout($A.getCallback(function(){var a=m.className.split(" ");a.pop();m.className=a.join(" ")}),2E3)}(c=a.find("cuf-feed")&&a.find("cuf-feed").getElement())&&c.removeEventListener("DOMSubtreeModified",h);e.addItemRegistered=!1}}}}});e.addItemRegistered||(c=a.find("cuf-feed")&&a.find("cuf-feed").getElement())&&c.addEventListener("DOMSubtreeModified",h)}a.set("v.feedElementCollection.elements",f);this.fetchAndFireSetLinkMetadataEvent(a,b)}},removeFeedItem:function(a,
b){var c=a.get("v.feedElementCollection.elements"),d=a.get("v.pinnedFeedElementCollection");if(c){var e;for(e=0;e<c.length;e++)if(c[e].id===b){c.splice(e,1);break}a.set("v.feedElementCollection.elements",c);if(d){c=a.get("v.pinnedFeedElementCollection.elements");for(e=0;e<c.length;e++)if(c[e].id===b){c.splice(e,1);break}0===c.length&&(a.set("v._showPinnedPostsHeader",!1),a.set("v.hasPinnedFeedItems",!1));a.set("v.pinnedFeedElementCollection.elements",c)}}},updateFeedItem:function(a,b){var c=b.id,
d=a.get("v.feedElementCollection.elements"),e=a.get("v.pinnedFeedElementCollection.elements");if(d){var f;for(f=0;f<d.length;f++){var g=d[f];if(g.id===c){b.capabilities.pin=$A.util.lookup(g,"capabilities","pin");d[f]=b;break}}if(e){for(f=0;f<e.length;f++)if(e[f].id===c){c=$A.util.lookup(e[f],"capabilities","pin","isPinnedCopy");b.capabilities.pin=$A.util.lookup(e[f],"capabilities","pin");b.capabilities.pin.isPinnedCopy=!1;c&&(c={},$A.util.apply(c,b,!0,!0),c.capabilities.pin.isPinnedCopy=!0,e[f]=c);
break}a.set("v.pinnedFeedElementCollection.elements",e)}a.set("v.feedElementCollection.elements",d);this.fetchAndFireSetLinkMetadataEvent(a,[b])}},updateEmptyFeedMessage:function(a,b){null!==b&&a.set("v.emptyFeedMessage",b)},canInsertIntoFeed:function(a,b){var c=a.get("v.config");return(c=c?c.type:null)&&("bookmarks"===c.toLowerCase()||"to"===c.toLowerCase()||"draft"===c.toLowerCase()&&!b)?!1:!0},realtimeEnabledForThisFeed:function(a){if(!this.realtime.service.isEnabled())return!1;var b=a.get("v.config.subjectId");
return!b||0!==b.indexOf("0F9")||a.get("v.config.feedDisplayConfig.searching")?!1:!0},realtimeUnsubscribe:function(a){a.set("v.numQueuedItems",0);a.helper.realtime.service.unsubscribe(a.getGlobalId())},realtimeSubscribe:function(a){if(this.realtimeEnabledForThisFeed(a)){var b=a.get("v.config.subjectId");a.set("v.numQueuedItems",0);var c=function(b,c,d){var e=!0,l=a.get("v.feedElementCollection.elements");l&&l.forEach(function(a){a.id===b.id&&(e=!1)});e&&(a.get("v.config.isFeedUIExperimentsEnabled")?
(b.isLivePost=!0,a.helper.insertFeedItems(a,[b],!0)):(l=a.getGlobalId(),a.helper.realtime.service.addToQueue(l,b),a.helper.displayLiveFeedPill(a,c+1,d)))},d=a.helper.pageLoadCoordination.service.waitForPageLoad(),e=new Promise(function(d,e){a.helper.realtime.service.subscribeFeed(b,a.getGlobalId(),$A.getCallback(c),d)});Promise.all([d,e]).then($A.getCallback(function(){a.isValid()&&a.helper.getLatestFeedData(a)}))}},getLatestFeedData:function(a){this._destroyFeedPreloader(a);var b=a.helper.realtime.service.MAX_QUEUED_ITEMS,
c=a.getGlobalId(),d=a.get("c.refreshFeed");d.setParams({config:a.get("v.config"),pageSize:b});d.setCallback(this,function(b){if("SUCCESS"===b.getState()&&b.getReturnValue()){b=b.getReturnValue().data.elements;for(var d=b.map(function(a){return a.id}),g=a.get("v.feedElementCollection.elements").map(function(a){return a.id}),d=d.indexOf(g[0]),h=0;h<d;h++)0>g.indexOf(b[h].id)&&a.helper.realtime.service.addToQueue(c,b[h]);b=a.helper.realtime.service.getQueueLength(c);g=a.helper.realtime.service.getRefreshRequired(c);
0<b&&this.displayLiveFeedPill(a,b,g)}else"INCOMPLETE"===b.getState()?$A.getEvt("markup://force:showOfflineMessage").setParams({retryAction:b}).fire():this.feedLib.util.fireActionErrorMessage(b)});$A.enqueueAction(d)},displayLiveFeedPill:function(a,b,c){var d=1===b?$A.get("$Label.Feeds.SingleNewPosts"):$A.get("$Label.Feeds.PluralNewPosts");a.set("v.numQueuedItems",b);c&&(a.set("v.realtimeRefreshRequired",!0),b+="+");a.getEvent("feedNotification").setParams({type:"SHOW",label:$A.util.format(d,b),target:a,
action:"c.updateQueuedItems"}).fire()},reloadFeed:function(a,b,c,d){this.clearCache(a);this._destroyFeedPreloader(a);a.set("v.previousFeedItemIds","");this.hideFeed(a,!0);this.setIsFeedRefreshing(a,!0);var e=a.get(b);c.config=a.get("v.config");c.pageSize=this._getPageSize(a,"Reload",0);e.setParams(c);var f=this.setFetchId(a);e.setCallback(this,function(c){var e=this.getFetchId(a);f===e&&("SUCCESS"===c.getState()&&c.getReturnValue()?(this.updateFeed(a,c.getReturnValue()),e=a.getEvent("feedReloaded"),
$A.util.isUndefinedOrNull(e)||(e.setParam("data",c.getReturnValue()),e.fire()),$A.util.isFunction(d)&&d(a)):"INCOMPLETE"===c.getState()?$A.getEvt("markup://force:showOfflineMessage").setParams({retryAction:c}).fire():this.feedLib.util.fireActionErrorMessage(c),this.hideFeed(a),this.setIsFeedRefreshing(a),e=this.feedLib.util.getAllFeedItemIDs($A.util.lookup(c.getReturnValue(),"data","elements")),e={operation:b,feedItemIds:e.toString(),sortOrder:a.get("v.config.sortOrder"),feedType:a.get("v.config.type"),
startFeedItemPosition:!$A.util.isEmpty(e)?this.getFeedItemIndex(a,e[0]):null,searchQueryId:$A.util.lookup(c.getReturnValue(),"data","searchQueryId")},a.get("v.config.subjectId")&&(e.subjectId="005"===a.get("v.config.subjectId").substring(0,3)?"user":a.get("v.config.subjectId")),$A.util.isUndefinedOrNull($A.util.lookup(c.getReturnValue(),"data","searchQueryId"))||a.set("v.allSearchQueryIds",[c.getReturnValue().data.searchQueryId]),this.feedLib.util.logFeedOperations(e,b))});$A.enqueueAction(e)},switchFeedType:function(a,
b){var c=b.type,d=a.get("v.config.type");if(c!==d||a.get("v.isFeedRefreshing"))this.metricsReporter.service.transactionStart("ltng","feedRerendered",{context:{newFeedType:c,operation:"switch"}}),a.get("v.sharedId")||a.getGlobalId(),"Company"===c&&this.feedLib.util.isOneApp()&&this.feedLib.util.isDesktop()&&a.get("v.config.isCompanyRelevanceFeedEnabled")?("Relevance"!==a.get("v.config.sortOrder")&&a.set("v.preservedSortOrder",a.get("v.config.sortOrder")),a.set("v.config.sortOrder","Relevance")):"Relevance"===
a.get("v.config.sortOrder")&&a.set("v.config.sortOrder",a.get("v.preservedSortOrder")),a.get("v.feedType")!==c&&a.set("v.feedType",c),this.reloadFeed(a,"c.serverSwitchFeedType",{feedType:c})},sort:function(a,b,c){a.set("v.preservedSortOrder",b);this.metricsReporter.service.transactionStart("ltng","feedRerendered",{context:{sortBy:b,operation:"sort"}});this.reloadFeed(a,"c.serverSortFeed",{sortBy:b},c)},filter:function(a,b,c){this.metricsReporter.service.transactionStart("ltng","feedRerendered",{context:{filterBy:b,
operation:"filter"}});this.reloadFeed(a,"c.serverFilterFeed",{filterBy:b,density:c})},filterByCustomFilter:function(a,b){this.reloadFeed(a,"c.serverCustomFilterFeed",{filterName:b})},setFetchId:function(a){a=this.getContext(a);a.fetchId=(a.fetchId||0)+1;return a.fetchId},getFetchId:function(a){a=this.getContext(a);a.fetchId=a.fetchId||0;return a.fetchId},refreshFeed:function(a,b){this.clearCache(a);a.set("v.previousFeedItemIds","");var c=a.get("v.onRefreshStart");c&&c.run();this.hideFeed(a,!0);this.setIsFeedRefreshing(a,
!0);var c=a.get("c.refreshFeed"),d=this._getPageSize(a,"Refresh",0);c.setParams({config:a.get("v.config"),pageSize:d});var e=this.setFetchId(a),f=this;c.setCallback(f,function(c){var d=f.getFetchId(a);if(e===d){var n;if("SUCCESS"===c.getState()&&c.getReturnValue()){d=c.getReturnValue();if(!$A.util.isUndefinedOrNull($A.util.lookup(d,"data","searchQueryId"))&&!$A.util.isUndefinedOrNull($A.util.lookup(d,"data","elements"))){for(var l=0;l<d.data.elements.length;l++)d.data.elements[l].searchQueryId=d.data.searchQueryId;
a.set("v.allSearchQueryIds",[d.data.searchQueryId])}f.updateFeed(a,d);l=a.getEvent("feedRefreshed");$A.util.isUndefinedOrNull(l)||(l.setParam("data",d),l.fire());var l=$A.util.lookup(d,"config","feedDisplayConfig","contextUser"),p=$A.util.lookup(a.get("v.config"),"feedDisplayConfig","contextUser","photo","smallPhotoUrl");$A.util.lookup(l,"photo","smallPhotoUrl")===p&&(p=$A.getEvt("markup://forceChatter:feedContextUserUpdated"),$A.util.isUndefinedOrNull(p)||(p.setParams({feedContextUser:l}),p.fire()));
c=f.feedLib.util.getAllFeedItemIDs($A.util.lookup(c.getReturnValue(),"data","elements"));c={operation:"feedRefresh",feedItemIds:c.toString(),sortOrder:a.get("v.config.sortOrder"),feedType:a.get("v.config.type"),startFeedItemPosition:!$A.util.isEmpty(c)?f.getFeedItemIndex(a,c[0]):null,searchQueryId:$A.util.lookup(d,"data","searchQueryId")};a.get("v.config.subjectId")&&(c.subjectId="005"===a.get("v.config.subjectId").substring(0,3)?"user":a.get("v.config.subjectId"));f.feedLib.util.logFeedOperations(c,
"feedRefresh")}else"INCOMPLETE"===c.getState()?n={labelError:$A.get("$Label.Offline.NoConnectionDescription")}:f.feedLib.util.fireActionErrorMessage(c);f.hideFeed(a);f.setIsFeedRefreshing(a);$A.util.isFunction(b)&&(n?b(n):b())}});$A.enqueueAction(c);this.log({itemToLog:"refreshFeed",type:a.get("v.config.type")},!0)},checkNewContent:function(a){if(!a.get("v.isFeedModified")){var b=a.get("c.isFeedModified");b.setParams({config:a.get("v.config"),isModifiedToken:a.get("v.feedElementCollection.isModifiedToken")});
b.setCallback(this,function(b){"SUCCESS"===b.getState()&&this.updateIsFeedModified(a,b.getReturnValue())});$A.run(function(){$A.enqueueAction(b)})}},hideFeed:function(a,b){var c=a.find("cuf-feed").getElement(),d;a.find("cuf-pinnedFeed")&&(d=a.find("cuf-pinnedFeed").getElement());c&&(b?($A.util.addClass(c,"invisibleEl"),d&&($A.util.addClass(d,"invisibleEl"),a.set("v.hasPinnedFeedItems",!1))):($A.util.removeClass(c,"invisibleEl"),d&&$A.util.removeClass(d,"invisibleEl")),this.cmpLib.placeholders.insertDelayed(a,
function(){return b},a.find("feedPlaceholder"),["feed"]))},log:function(a,b){},fetchAndFireSetLinkMetadataEvent:function(a,b){!$A.util.isEmpty(b)&&a.isValid()&&a.find("richLinkPreviewMetadata").getEvent("getLinkMetadata").setParams({callback:function(a){if(!$A.util.isUndefinedOrNull(a)){var b=$A.getEvt("markup://forceChatter:setLinkMetadata");b&&(b.setParams({richLinkData:a}),b.fire())}},feedElements:b}).fire()},search:function(a,b){b&&b.trim&&(b=b.trim());if(""<b){this.log({itemToLog:"feedSearch"});
this.metricsReporter.service.transactionStart("ltng","feedRerendered",{context:{operation:"search"}});var c=a.get("v.config");a.set("v.config.feedDisplayConfig.searching",!0);c.searchQuery=b;this.updateConfig(a,c);this.refreshFeed(a)}},cancelSearch:function(a,b){var c=a.get("v.config");""<c.searchQuery&&(this.metricsReporter.service.transactionStart("ltng","feedRerendered",{context:{operation:"cancelSearch"}}),c.searchQuery=null,a.set("v.config.feedDisplayConfig.searching",!1),this.updateConfig(a,
c),this.refreshFeed(a,b))},scrollTo:function(a,b){if(a&&a.isValid())if(a.get("v.requireScroller")){var c=a.find("scroller");c&&c.getEvent("scrollTo").setParams({destination:b}).fire()}else if("top"===b&&(c=a.getElement())){for(var d=c=c.parentNode,c=0;d;)c+=d.offsetTop,d=d.offsetParent;(d=document.getElementById("oneHeader"))&&(c-=d.offsetHeight);window.scroll(0,c)}},usageInfoBuilder:function(a,b,c){return{action:b,target:c,type:a.get("v.config.feedDisplayConfig.searching")?"Search":"Normal"}},liveTimestamps:function(a,
b){a._liveTimestamps=a._liveTimestamps||Object.create(null);a._liveTimestamps.isInitialized||(a._liveTimestamps.isInitialized=!0,a._destroyed.then($A.getCallback(function(){clearInterval(a._liveTimestamps.intervalTimer)})));clearInterval(a._liveTimestamps.intervalTimer);a._liveTimestamps.intervalTimer=setInterval($A.getCallback(function(){b.feedLib.util.updateTimestamp(a)}),6E4)},_fireForceScrollerReflow:function(a){window.setTimeout(function(){document.dispatchEvent(this._newCustomEvent("FORCEREFLOW"))}.bind(this),
0)},_newCustomEvent:function(a,b){if("function"===typeof window.CustomEvent)return new CustomEvent(a);b=b||{bubbles:!1,cancelable:!1,detail:void 0};var c=document.createEvent("CustomEvent");c.initCustomEvent(a,b.bubbles,b.cancelable,b.detail);return c},markAsRead:function(a,b,c){b=a.getElement();var d=this.getContext(a);if(a.isValid()&&b&&d.unreadItems){for(var e=d.unreadItems.slice(0),f=[],g=0;g<d.unreadItems.length;g++){var h=b.querySelector('.cuf-feedElement[data-id\x3d"{0}"]'.replace("{0}",d.unreadItems[g]));
if(h&&(c.feedLib.util.isElementVisible(h)||0>=h.getBoundingClientRect().bottom)){var n=d.unreadItems[g];e.splice(e.indexOf(n),1);f.push(n);h.dataset.isReadByMe=!0}}c._enqueueMarkAsReadAction(a,c,f);d.unreadItems=e}},_enqueueMarkAsReadAction:function(a,b,c){if(c&&0<c.length){var d={isReadByMe:!0};d.feedItemIds=c;d.communityId=a.get("v.config.communityId.rawValue");this._requestLazyWork(a,$A.getCallback(function(){b.feedLib.util.standardActionWithRetry(this,a,"c.markAsReadBatch",d,null,null,$A.getCallback(function(a){a.setBackground(!0)}))}),
{viewportVisibility:!1})}},findUnreadItemIds:function(a,b,c,d){a=this.getContext(a);a.unreadItems||(a.unreadItems=[]);c&&(c=c.filter(function(a){return a.capabilities.readBy&&!1===a.capabilities.readBy.isReadByMe}).map(function(a){return a.id}),a.unreadItems=d?c:a.unreadItems.concat(c))},_createSingleEventEmitter:function(){function a(){b=[]}var b=[];return{emit:function(a,d,e){b.forEach(function(b){b(a,d,e)})},notify:function(){b.forEach(function(a){a()})},addListener:function(a){b.push(a)},removeListener:function(a){b=
b.filter(function(b){return b!==a})},removeListeners:a,destroy:function(){a()}}},getContext:function(a){return a._context},_requestLazyWork:function(a,b,c){function d(){k&&k();for(var a in h)if(h[a].unregisterWork===d){h.splice(Number(a),1);break}}function e(){var a=m.map(function(a){return a()}),f=a.map(function(a){return a.completed}),f=Promise.race(f);f.then(function(){a.forEach(function(a){a.unregister()})});f.then(function(a){"Cancelled"!==a&&b(a)});c.viewportVisibility&&h.push({completed:f,
registerWork:e,unregisterWork:d});return!0}c=c||{viewportVisibility:!0};var f=this.getContext(a),g=this;if(null==f.registeredWork){var h=f.registeredWork=[],n=$A.getEvt("markup://ui:notify","content",a);if(null!=n){var l=$A.getCallback(function(){a.isValid()&&h.filter(function(a){return a.registerWork}).forEach(function(a){a.registerWork()})}.bind(this)),p=$A.getCallback(function(){a.isValid()&&h.filter(function(a){return a.unregisterWork}).forEach(function(a){a.unregisterWork()})}).bind(this),l=
f.contentNotifyPayload={viewportEnter:l,viewportExit:p};n.setParams({payload:l});n.fire()}}var k,m=[function(){function a(){b.removeListener(c)}var b=f.scrollEmitter,c;return{completed:(new Promise(function(a,d){c=a;b.addListener(c)})).then(a).then(function(){return"UserScroll"}),unregister:a}},function(){return{completed:g.pageLoadCoordination.service.waitForPageLoad().then(function(){return"PageLoaded"}),unregister:function(){}}},function(){return{completed:(new Promise(function(a,b){k=a})).then(function(){return"Cancelled"}),
unregister:function(){}}}],h=f.registeredWork;e();return d},_cancelAllLazyWork:function(a,b){var c=this.getContext(a);if(null!=c.registeredWork){var d=c.registeredWork;d.filter(function(a){return a.unregisterWork}).forEach(function(a){a.unregisterWork()});d.length=0}null!=c.contentNotifyPayload&&(d=c.contentNotifyPayload,d.viewportEnter=null,d.viewportExit=null,c.contentNotifyPayload=null)},_destroyFeedPreloader:function(a){a=this.getContext(a);null!=a.unregisterPreloader&&(a.unregisterPreloader(),
a.unregisterPreloader=null)},_initFeedPreloader:function(a){var b=this,c=function(){},d=this.getContext(a),e=this._requestLazyWork(a,$A.getCallback(function(d){$A.log("FeedInner.helper#_initFeedPreloader - preload via. "+d);b.loadMore(a,{isPreloading:!0},c)}));d.unregisterPreloader=e},getCacheKey:function(a){var b=a.get("v.pageReference");a=$A.util.lookup(a.get("v.config"),"subjectId");var c=0;b&&b.state.viewMore&&(c=b.state.viewMore);return a+":"+c},clearCache:function(a){this.dataCache.default.clearCache();
a.set("v.lastNavigatedFeedItem","");var b=JSON.parse(JSON.stringify(a.get("v.pageReference")));b&&b.state.viewMore&&(delete b.state.viewMore,a.find("navService").navigate(b,!0))}},renderer:{render:function(a,b){(new Date).getTime();b.metricsReporter.service.markStart("feeds","feedRenderTime");b.metricsReporter.service.transactionStart("ltng","feed:component:render");return a.superRender()},rerender:function(a,b){b.metricsReporter.service.markStart("feeds","feedRe-RenderTime");a.superRerender();var c=
b.getContext(a),d=b.usageInfoBuilder(a,"Reload","forceChatter:feed:init");c.logRerender&&(b.metricsReporter.service.transactionEnd("feeds","feedRerendered",null,d),b.metricsReporter.service.transactionEnd("ltng","feed:component:createMore",null,d),delete c.logRerender);b.metricsReporter.service.markEnd("feeds","feedRe-RenderTime",null,d)},afterRender:function(a,b){a.superAfterRender();if(a.isValid()){var c=a.getElement();if(c){650<=c.getBoundingClientRect().width?$A.util.addClass(c,"cuf-wide-feed"):
$A.util.removeClass(c,"cuf-wide-feed");var d=a.get("v.sharedId")?a.get("v.sharedId"):a.getGlobalId();c.setAttribute("id",d)}b.metricsReporter&&b.metricsReporter.service&&(c=b.usageInfoBuilder(a,"Load","forceChatter:feed:init"),b.metricsReporter.service.markEnd("feeds","feedRenderTime"),b.metricsReporter.service.transactionEnd("feeds","feedLoaded"),c.action="PageView",b.metricsReporter.service.transactionEnd("ltng","feed:component:render",null,c),b.metricsReporter.service.transactionEnd("ltng","feed:centerStage",
null,c),b.metricsReporter.service.transactionEnd("ltng","feedPage",null,c));$A.get("$Browser.isDesktop")&&b.liveTimestamps(a,b);c=a.get("v.pageSizeGetter");null!=c&&"function"===typeof c.get&&b._initFeedPreloader(a);(c=a.getEvent("feedRendered"))&&c.fire();a.find("skipFeedLink")&&a.find("skipFeedLink").getElement()===document.activeElement&&(c=a.find("feedSorter").getElement(),$A.util.isUndefinedOrNull(c)||c.focus())}}}}});return {"xs":"I","descriptor":"markup://forceChatter:feedInner","st":{"descriptor":"css://forceChatter.feedInner","cl":"forceChatterFeedInner"},"cd":{"descriptor":"compound://forceChatter.feedInner","ac":[{"n":"getSwitcherMenu","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedController/ACTION$getSwitcherMenu","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"currentType","type":"java://java.lang.String"}]},{"n":"getActions","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedController/ACTION$getActions","at":"SERVER","rt":"java://java.util.List","pa":[{"name":"recordId","type":"java://java.lang.String"},{"name":"entityApiName","type":"java://java.lang.String"},{"name":"context","type":"java://java.lang.String"},{"name":"listNameOrId","type":"java://java.lang.String"},{"name":"record","type":"java://java.util.Map<java.lang.String,java.lang.Object>"}]},{"n":"refreshFeed","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedController/ACTION$refreshFeed","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"config","type":"java://ui.chatter.api.FeedConfig"},{"name":"pageSize","type":"java://java.lang.Integer","loggable":true}]},{"n":"isFeedModified","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedController/ACTION$isFeedModified","at":"SERVER","rt":"java://boolean","pa":[{"name":"config","type":"java://ui.chatter.api.FeedConfig"},{"name":"isModifiedToken","type":"java://java.lang.String","loggable":true}]},{"n":"serverSortFeed","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedController/ACTION$serverSortFeed","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"config","type":"java://ui.chatter.api.FeedConfig"},{"name":"pageSize","type":"java://java.lang.Integer","loggable":true},{"name":"sortBy","type":"java://java.lang.String","loggable":true}]},{"n":"getModel","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedController/ACTION$getModel","at":"SERVER","rt":"java://ui.chatter.api.IFeedModel","pa":[{"name":"type","type":"java://java.lang.String","loggable":true},{"name":"feedItemTypeAttribute","type":"java://sfdc.chatter.connect.api.enums.feeds.ConnectFeedItemTypeEnum","loggable":true},{"name":"selectedFilter","type":"java://java.lang.String"},{"name":"selectedSortOrder","type":"java://java.lang.String"},{"name":"density","type":"java://java.lang.String"},{"name":"subjectId","type":"java://java.lang.String"},{"name":"searchQuery","type":"java://java.lang.String"},{"name":"showFeedItemActions","type":"java://java.lang.Boolean"},{"name":"feedDesign","type":"java://java.lang.String"},{"name":"firstPageSize","type":"java://java.lang.Integer","loggable":true},{"name":"nextPageSize","type":"java://java.lang.Integer"},{"name":"hasFeedSwitcher","type":"java://java.lang.Boolean"},{"name":"modelKey","type":"java://java.lang.String"},{"name":"showFilteringMenuGroup","type":"java://java.lang.Boolean"},{"name":"includeRecordActivitiesInFeed","type":"java://java.lang.Boolean"},{"name":"retrieveOnlyTopLevelThreadedComments","type":"java://boolean"}],"pce":true,"pcex":60},{"n":"serverCustomFilterFeed","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedController/ACTION$serverCustomFilterFeed","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"config","type":"java://ui.chatter.api.FeedConfig"},{"name":"pageSize","type":"java://java.lang.Integer","loggable":true},{"name":"filterName","type":"java://java.lang.String","loggable":true}]},{"n":"serverSwitchFeedType","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedController/ACTION$serverSwitchFeedType","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"config","type":"java://ui.chatter.api.FeedConfig"},{"name":"pageSize","type":"java://java.lang.Integer","loggable":true},{"name":"feedType","type":"java://java.lang.String","loggable":true}]},{"n":"markAsReadBatch","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedController/ACTION$markAsReadBatch","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"feedItemIds","type":"java://java.util.List<java.lang.String>","loggable":true},{"name":"isReadByMe","type":"java://boolean"},{"name":"communityId","type":"java://java.lang.String","loggable":true}]},{"n":"serverFilterFeed","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedController/ACTION$serverFilterFeed","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"config","type":"java://ui.chatter.api.FeedConfig"},{"name":"pageSize","type":"java://java.lang.Integer","loggable":true},{"name":"filterBy","type":"java://java.lang.String","loggable":true},{"name":"density","type":"java://java.lang.String","loggable":true}]},{"n":"showMoreFeedItems","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedController/ACTION$showMoreFeedItems","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"config","type":"java://ui.chatter.api.FeedConfig"},{"name":"pagingToken","type":"java://java.lang.String"},{"name":"pageSize","type":"java://java.lang.Integer","loggable":true}],"pce":true,"pcex":60}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["prefetchData","aura://Map","p",false,null],["config","java://ui.chatter.api.FeedConfig","I",false,null],["feedDesign","aura://String","I",false,"BROWSE"],["feedElementCollection","java://sfdc.chatter.connect.api.output.feeds.FeedElementCollectionRepresentation","I",true,null],["pinnedFeedElementCollection","aura://Object","I",false,null],["feedType","aura://String","I",false],["feedWidth","aura://String","I",false],["emptyFeedMessage","aura://Object","I",false,null],["firstPageSize","aura://Integer","I",false],["nextPageSize","aura://Integer","I",true],["pageSizeGetter","aura://Object","I",false,null],["hasFeedSwitcher","aura://Boolean","I",true],["feedSwitcherMenuData","java://ui.chatter.api.FeedSwitcherMenuData","I",false,null],["canChangeSorting","aura://Boolean","I",true],["canCommentsRequestReplies","aura://Boolean","I",false,false],["sortingMenuGroup","java://ui.chatter.api.FeedMenuGroup","I",false,null],["filteringMenuGroup","java://ui.chatter.api.FeedMenuGroup","I",false,null],["_densitySupported","aura://Boolean","I",false],["requireScroller","aura://Boolean","I",false,false],["hasRefreshButtonOnMobile","aura://Boolean","I",false,false],["hasNewContentPolling","aura://Boolean","I",false,false],["isFeedModified","aura://Boolean","I",false],["isFeedRefreshing","aura://Boolean","I",false],["searchQuery","aura://String","I",false],["hasFeedSearch","aura://Boolean","I",false,true],["_canShowMore","aura://Boolean","I",false],["enableLoadMoreButton","aura://Boolean","I",false,false],["loadMoreBehavior","aura://String","I",false,"load"],["enableDynamicPageSizePrefetch","aura://Boolean","I",false,true],["enableInfiniteScroll","aura://Boolean","I",false,false],["showFeedItemActions","aura://Boolean","I",false,true],["commentActions","aura://List","I",false,[]],["onRefreshStart","aura://Aura.Action","I",false,null],["_isSorterLoaded","aura://Boolean","I",false,false],["sharedId","aura://String","I",false],["numQueuedItems","aura://Integer","I",false,0],["realtimeRefreshRequired","aura://Boolean","I",false,false],["feedItemOverrides","aura://Object","I",false,null],["preservedSortOrder","aura://String","I",false],["previousFeedItemIds","aura://String","I",false,""],["allSearchQueryIds","aura://String[]","I",false,[]],["fireShowMoreEvent","aura://Aura.Action","I",false,null],["hasPinnedFeedItems","aura://Boolean","I",false],["_showPinnedPostsHeader","aura://Boolean","I",false,false],["onLoadMoreStrategy","aura://String","I",false,"DEFAULT"],["isEnabledForFeedCaching","aura://Boolean","I",false,false],["lastNavigatedFeedItem","aura://String","I",false,""],["pageReference","aura://Map","p",false,null]],"med":[{"name":"forceChatter:switchFeed","xs":"I","action":"{!c.switchFeed}","attributes":[["type","aura://String","I",false,"News"],["subjectId","aura://String","I",false,""]]},{"name":"forceChatter:sort","xs":"I","action":"{!c.sortMethod}","attributes":[["sortBy","aura://String","I",false],["callback","apex://Function","I",false,null]]},{"name":"forceChatter:searchMethod","xs":"I","action":"{!c.searchMethod}","attributes":[["searchQuery","aura://String","I",false]]},{"name":"forceChatter:cancelSearchMethod","xs":"I","action":"{!c.cancelSearchMethod}","attributes":[["callback","aura://String","I",false]]},{"name":"forceChatter:getFeedElements","xs":"I","action":"{!c.getFeedElements}","attributes":[["callback","apex://Function","I",false,null]]},{"name":"forceChatter:fetchAndFireSetLinkMetadataEvent","xs":"I","action":"{!c.fetchAndFireSetLinkMetadataEvent}","attributes":[["feedElements","aura://Map","I",false,null]]},{"name":"forceChatter:filterByCustomFilter","xs":"I","action":"{!c.filterByCustomFilter}","attributes":[["filterName","aura://String","I",false]]},{"name":"forceChatter:refreshComponent","xs":"I","action":"{!c.refresh}"}],"i":["markup://forceChatter:hasFeedPrefetchSupport","markup://forceChatter:respectFeedDesign"],"re":[{"ed":"markup://ui:load","n":"feedRendered","xs":"I"},{"ed":"markup://ui:refresh","n":"search","xs":"I"},{"ed":"markup://ui:dataChanged","n":"feedReloaded","xs":"I"},{"ed":"markup://forceChatter:setLinkMetadata","n":"metadataEvent","xs":"I"},{"ed":"markup://ui:noMoreContent","n":"noMoreContent","xs":"I"},{"ed":"markup://ui:showMore","n":"showMore","xs":"I"},{"ed":"markup://ui:refresh","n":"refresh","xs":"I"},{"ed":"markup://forceChatter:feedNotification","n":"feedNotification","xs":"I"},{"ed":"markup://ui:dataChanged","n":"feedRefreshed","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleDestruction"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"destroy"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.refresh"},"n":"refresh"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.showMore"},"n":"showMore"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleFeedCollectionChange"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.feedElementCollection"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.updateCanShowMore"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.feedElementCollection.nextPageToken"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.search"},"n":"search"},{"ed":{"descriptor":"markup://forceChatter:feedUpdated"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleDelegatedEvent"}},{"ed":{"descriptor":"markup://force:skipToContent"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.skipPastFeed"},"ph":"bubble"},{"ed":{"descriptor":"markup://forceChatter:recordsHomeMobileScroll"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.markAsReadOnScroll"}},{"ed":{"descriptor":"markup://forceChatter:pinStatusUpdated"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handlePinnedFeedItem"}},{"ed":{"descriptor":"markup://forceChatter:closeStatusUpdated"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleCloseStatusUpdated"}},{"ed":{"descriptor":"markup://forceChatter:postCreated"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.clearCache"}},{"ed":{"descriptor":"markup://force:navigateToFeedItemDetailInternal"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleNavigateToFeedItem"}}],"ld":{"feedSorter":{"alias":"feed-sorter"},"feedFilterer":{"alias":"feed-filter"}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:richLinkPreviewMetadata"},"localId":"richLinkPreviewMetadata"},{"componentDef":{"descriptor":"markup://force:pageInfo"},"attributes":{"values":{"pageReference":{"descriptor":"pageReference","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.pageReference"}}}}},{"componentDef":{"descriptor":"markup://lightning:navigation"},"localId":"navService"},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.eq($A.get(\"$Site\"),null)?\"slds-card-wrapper\":\"\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"$Site"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onhidden":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"c.handleContentHidden"},"onvisible":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"c.handleContentVisible"}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:contentVisibilityMonitor"}}]}}}},{"componentDef":{"descriptor":"markup://forceChatter:scroller"},"localId":"scroller","attributes":{"values":{"enableInfiniteScroll":{"descriptor":"enableInfiniteScroll","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.enableInfiniteScroll"}},"onRefresh":{"descriptor":"onRefresh","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"c.refresh"}},"enableFeedCaching":{"descriptor":"enableFeedCaching","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.isEnabledForFeedCaching"}},"canShowMore":{"descriptor":"canShowMore","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v._canShowMore"}},"onScrollMove":{"descriptor":"onScrollMove","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"c._handleForceChatterScrollMove"}},"onShowMore":{"descriptor":"onShowMore","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"c.showMore"}},"header":{"descriptor":"header","value":[{"componentDef":{"descriptor":"markup://forceChatter:newContent"},"localId":"newContent","attributes":{"values":{"checkNewContent":{"descriptor":"checkNewContent","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"c.checkNewContent"}},"isVisible":{"descriptor":"isVisible","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.isFeedModified\")>\"\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.isFeedModified"}],"byValue":false}},"onPress":{"descriptor":"onPress","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"c.refreshAndScrollToTop"}},"isEnabled":{"descriptor":"isEnabled","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (((cmp.get(\"v.hasNewContentPolling\")&&(cmp.get(\"v.feedElementCollection.isModifiedToken\")>\"\"))&&!(cmp.get(\"v.isFeedRefreshing\")))&&!((cmp.get(\"v.config.searchQuery\")>\"\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.isFeedRefreshing"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.hasNewContentPolling"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.feedElementCollection.isModifiedToken"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.config.searchQuery"}],"byValue":false}}}}}]},"enableLoadMoreButton":{"descriptor":"enableLoadMoreButton","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.enableLoadMoreButton"}},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:empApi"},"localId":"empApi"},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"feedActions slds-grid slds-grid_vertical-align-end slds-grid_align-spread slds-p-around_small qe-feedPanelFeedActions"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://feeds_sorter:sorter","type":"module"},"localId":"feedSorter","attributes":{"values":{"sortOrder":{"descriptor":"sortOrder","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.config.sortOrder"}},"triggerType":{"descriptor":"triggerType","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.eq(cmp.get(\"v.feedWidth\"),\"SMALL\")?\"BUTTON\":\"COMBOBOX\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.feedWidth"}],"byValue":false}},"sortOptions":{"descriptor":"sortOptions","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.sortingMenuGroup"}},"onchangesortselection":{"descriptor":"onchangesortselection","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"c.handleChangeSort"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.canChangeSorting"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"right-actions slds-grid slds-grid_align-end slds-grow"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:searchInFeed"},"localId":"findInFeed","attributes":{"values":{"searchEvt":{"descriptor":"searchEvt","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"c.search"}},"cancelSearchEvt":{"descriptor":"cancelSearchEvt","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"c.cancelSearch"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.hasFeedSearch"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://feeds_sorter:filter","type":"module"},"localId":"feedFilterer","attributes":{"values":{"menuAlignment":{"descriptor":"menuAlignment","value":"right"},"density":{"descriptor":"density","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.config.density"}},"onchangefilterselection":{"descriptor":"onchangefilterselection","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"c.handleChangeFilter"}},"filterOptions":{"descriptor":"filterOptions","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.filteringMenuGroup"}},"feedFilter":{"descriptor":"feedFilter","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.config.feedFilter"}},"isDensityFilter":{"descriptor":"isDensityFilter","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v._densitySupported"}},"class":{"descriptor":"class","value":"slds-m-right_x-small"}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return ((cmp.get(\"v.filteringMenuGroup.menuOptions.length\")>1)||cmp.get(\"v._densitySupported\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.filteringMenuGroup.menuOptions.length"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v._densitySupported"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://lightning:buttonIcon"},"attributes":{"values":{"size":{"descriptor":"size","value":"medium"},"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"c.refreshClicked"}},"iconName":{"descriptor":"iconName","value":"utility:refresh"},"class":{"descriptor":"class","value":"cuf-refresh"},"alternativeText":{"descriptor":"alternativeText","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"$Label.Feeds.FeedRefresh"}}}}}]}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"$Browser.isDesktop"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-grid slds-grid_align-spread slds-grid_vertical-align-center"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:feedSwitcher"},"attributes":{"values":{"currentTypeLabel":{"descriptor":"currentTypeLabel","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.feedSwitcherMenuData.currentFeedTypeLabel"}},"typeList":{"descriptor":"typeList","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.feedSwitcherMenuData.feedsTypeList"}},"currentType":{"descriptor":"currentType","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.feedSwitcherMenuData.currentFeedType"}},"contextId":{"descriptor":"contextId","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.sharedId\")?cmp.get(\"v.sharedId\"):cmp.get(\"globalId\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"globalId"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.sharedId"}],"byValue":false}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.hasFeedSwitcher"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-grid slds-grid_align-spread slds-m-right_small"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://feeds_sorter:sorter","type":"module"},"localId":"feedSorter","attributes":{"values":{"menuAlignment":{"descriptor":"menuAlignment","value":"right"},"sortOrder":{"descriptor":"sortOrder","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.config.sortOrder"}},"triggerType":{"descriptor":"triggerType","value":"BUTTON"},"sortOptions":{"descriptor":"sortOptions","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.sortingMenuGroup"}},"onchangesortselection":{"descriptor":"onchangesortselection","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"c.handleChangeSort"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.canChangeSorting"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://feeds_sorter:filter","type":"module"},"localId":"feedFilterer","attributes":{"values":{"menuAlignment":{"descriptor":"menuAlignment","value":"right"},"density":{"descriptor":"density","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.config.density"}},"onchangefilterselection":{"descriptor":"onchangefilterselection","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"c.handleChangeFilter"}},"filterOptions":{"descriptor":"filterOptions","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.filteringMenuGroup"}},"feedFilter":{"descriptor":"feedFilter","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.config.feedFilter"}},"isDensityFilter":{"descriptor":"isDensityFilter","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v._densitySupported"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.filteringMenuGroup.menuOptions.length\")>1);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.filteringMenuGroup.menuOptions.length"}],"byValue":false}}}}}]}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (!($A.get(\"$Browser.isDesktop\"))&&fn.eq($A.get(\"$Site\"),null));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"$Browser.isDesktop"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"$Site"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-grid slds-grid_align-spread slds-grid_vertical-align-center slds-m-bottom_x-small sort-filter-header"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://feeds_sorter:sorter","type":"module"},"localId":"feedSorter","attributes":{"values":{"menuAlignment":{"descriptor":"menuAlignment","value":"left"},"sortOrder":{"descriptor":"sortOrder","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.config.sortOrder"}},"triggerType":{"descriptor":"triggerType","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.eq($A.get(\"$Browser.formFactor\"),\"TABLET\")?\"COMBOBOX\":\"BUTTON\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"$Browser.formFactor"}],"byValue":false}},"sortOptions":{"descriptor":"sortOptions","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.sortingMenuGroup"}},"onchangesortselection":{"descriptor":"onchangesortselection","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"c.handleChangeSort"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.canChangeSorting"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-grid slds-grid_align-spread"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://feeds_sorter:filter","type":"module"},"localId":"feedFilterer","attributes":{"values":{"menuAlignment":{"descriptor":"menuAlignment","value":"left"},"density":{"descriptor":"density","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.config.density"}},"onchangefilterselection":{"descriptor":"onchangefilterselection","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"c.handleChangeFilter"}},"filterOptions":{"descriptor":"filterOptions","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.filteringMenuGroup"}},"feedFilter":{"descriptor":"feedFilter","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.config.feedFilter"}},"isDensityFilter":{"descriptor":"isDensityFilter","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v._densitySupported"}},"class":{"descriptor":"class","value":"slds-m-right_x-small"}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://feeds_sorter:filter","type":"module"},"localId":"feedFilterer","attributes":{"values":{"menuAlignment":{"descriptor":"menuAlignment","value":"right"},"density":{"descriptor":"density","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.config.density"}},"onchangefilterselection":{"descriptor":"onchangefilterselection","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"c.handleChangeFilter"}},"filterOptions":{"descriptor":"filterOptions","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.filteringMenuGroup"}},"feedFilter":{"descriptor":"feedFilter","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.config.feedFilter"}},"isDensityFilter":{"descriptor":"isDensityFilter","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v._densitySupported"}},"class":{"descriptor":"class","value":"slds-m-right_x-small"}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.canChangeSorting"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.filteringMenuGroup.menuOptions.length\")>1);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.filteringMenuGroup.menuOptions.length"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:buttonIcon"},"attributes":{"values":{"size":{"descriptor":"size","value":"medium"},"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"c.refreshClicked"}},"iconName":{"descriptor":"iconName","value":"utility:refresh"},"class":{"descriptor":"class","value":"cuf-refresh"},"alternativeText":{"descriptor":"alternativeText","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"$Label.Feeds.FeedRefresh"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.hasRefreshButtonOnMobile"}}}}}]}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (!($A.get(\"$Browser.isDesktop\"))&&fn.ne($A.get(\"$Site\"),null));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"$Browser.isDesktop"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"$Site"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"skip-feed-wrapper"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:skipLink"},"localId":"skipFeedLink","attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"$Label.Feeds.SkipPastTheFeedOnTabbingLink"}}}}}]},"class":{"descriptor":"class","value":"slds-assistive-text slds-assistive-text--focus cuf-skipFeed"},"target":{"descriptor":"target","value":"endOfFeed"}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"$Browser.isDesktop"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:feedElementIteration"},"localId":"cuf-pinnedFeed","attributes":{"values":{"isPinnedPostFeed":{"descriptor":"isPinnedPostFeed","value":true},"feedItemOverrides":{"descriptor":"feedItemOverrides","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.feedItemOverrides"}},"isTopicsEnabled":{"descriptor":"isTopicsEnabled","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.config.isTopicsEnabled"}},"showFeedItemActions":{"descriptor":"showFeedItemActions","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.showFeedItemActions"}},"feedType":{"descriptor":"feedType","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.feedType"}},"elements":{"descriptor":"elements","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.pinnedFeedElementCollection.elements"}},"isInPrivateGroup":{"descriptor":"isInPrivateGroup","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.config.isPrivateGroup"}},"commentActions":{"descriptor":"commentActions","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.commentActions"}},"emptyFeedMessage":{"descriptor":"emptyFeedMessage","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.emptyFeedMessage"}},"config":{"descriptor":"config","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.config"}},"feedDesign":{"descriptor":"feedDesign","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.feedDesign"}},"subjectId":{"descriptor":"subjectId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.config.subjectId"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.hasPinnedFeedItems"}}}}},{"componentDef":{"descriptor":"markup://forceChatter:feedElementIteration"},"localId":"cuf-feed","attributes":{"values":{"isPinnedPostFeed":{"descriptor":"isPinnedPostFeed","value":false},"feedItemOverrides":{"descriptor":"feedItemOverrides","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.feedItemOverrides"}},"feedType":{"descriptor":"feedType","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.feedType"}},"isInPrivateGroup":{"descriptor":"isInPrivateGroup","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.config.isPrivateGroup"}},"emptyFeedMessage":{"descriptor":"emptyFeedMessage","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.emptyFeedMessage"}},"feedDesign":{"descriptor":"feedDesign","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.feedDesign"}},"subjectId":{"descriptor":"subjectId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.config.subjectId"}},"isTopicsEnabled":{"descriptor":"isTopicsEnabled","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.config.isTopicsEnabled"}},"canCommentsRequestReplies":{"descriptor":"canCommentsRequestReplies","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.canCommentsRequestReplies"}},"showFeedItemActions":{"descriptor":"showFeedItemActions","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.showFeedItemActions"}},"elements":{"descriptor":"elements","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.feedElementCollection.elements"}},"commentActions":{"descriptor":"commentActions","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.commentActions"}},"config":{"descriptor":"config","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.config"}},"lastNavigatedFeedItem":{"descriptor":"lastNavigatedFeedItem","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.lastNavigatedFeedItem"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"endOfFeed","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onfocus":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"c.handleEndOfFeedFocused"},"tabindex":"-1","class":"skip-feed-endpoint"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"$Label.Feeds.EndOfFeedMarker"}}}}}]}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"feedEnd","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"feed-end"}},"tag":{"descriptor":"tag","value":"div"}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"role":"status","class":"slds-assistive-text"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"$Label.Feeds.LoadingFeedItems"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.isFeedRefreshing"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"feedPlaceholder","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add((cmp.get(\"v.isFeedRefreshing\")?\"\":\"invisibleEl\"),\" placeholder\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.isFeedRefreshing"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"}}}}]},"enabled":{"descriptor":"enabled","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.requireScroller"}},"onLoadMoreStrategy":{"descriptor":"onLoadMoreStrategy","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.onLoadMoreStrategy"}},"extendedPullContent":{"descriptor":"extendedPullContent","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:searchFilterHeader"},"localId":"findInFeed","attributes":{"values":{"onCancel":{"descriptor":"onCancel","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"c.cancelSearch"}},"searchInputPlaceholder":{"descriptor":"searchInputPlaceholder","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"$Label.FeedSearch.searchPosts"}},"searchQuery":{"descriptor":"searchQuery","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.searchQuery"}},"class":{"descriptor":"class","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"overrideScrollerChildStyle \",(fn.ne($A.get(\"$Site\"),null)?\"site-search-feed\":\"\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"$Site"}],"byValue":false}},"onSearch":{"descriptor":"onSearch","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"c.search"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.hasFeedSearch\")&&!($A.get(\"$Browser.isDesktop\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"$Browser.isDesktop"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedInner","path":"v.hasFeedSearch"}],"byValue":false}}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:searchScopeHeader",function(){/*$A.componentService.addComponentClass("markup://forceSearch:searchScopeHeader",function(){return{meta:{name:"forceSearch$searchScopeHeader","extends":"markup://aura:component",imports:{lib:"markup://forceSearch:searchLibrary"}},controller:{init:function(b,c,a){a.refresh(b)},handleScopeMapChange:function(b,c,a){a.refresh(b)}},helper:{refresh:function(b){var c=(b.get("v.scopeMap")||{}).name;if(c){var a=b.get("c.getScopeHeaderActions");a.setParams({scopeName:c});a.setCallback(b,function(a){"SUCCESS"===
a.getState()&&b.set("v.priv_listHeaderActions",a.getReturnValue())});a.setStorable();a.setAbortable(!1);$A.enqueueAction(a);this.lib.util.isMobile()&&b.set("v.priv_isMobile",!0)}}}}});return {"xs":"I","descriptor":"markup://forceSearch:searchScopeHeader","st":{"descriptor":"css://forceSearch.searchScopeHeader","cl":"forceSearchSearchScopeHeader"},"cd":{"descriptor":"compound://forceSearch.searchScopeHeader","ac":[{"n":"getResolvedScopeMap","descriptor":"serviceComponent://ui.search.components.forcesearch.search.SearchController/ACTION$getResolvedScopeMap","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"scopeMap","type":"java://java.util.Map<java.lang.String,java.lang.String>"}]},{"n":"getScopeHeaderActions","descriptor":"serviceComponent://ui.search.components.forcesearch.search.SearchController/ACTION$getScopeHeaderActions","at":"SERVER","rt":"java://java.util.List","pa":[{"name":"scopeName","type":"java://java.lang.String"}]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["term","aura://String","I",true,""],["scopeMap","aura://Map","I",true,{}],["context","aura://Map","I",true,{}],["class","aura://String","I",false],["showButtons","aura://Boolean","I",false,{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchScopeHeader","path":"$Browser.isPhone"}],["priv_listHeaderActions","aura://List","I",false,[]],["priv_isMobile","aura://Boolean","p",false,false]],"i":["markup://forceSearch:searchInterface","markup://forceSearch:firesSearchRequest"],"re":[{"ed":"markup://force:searchRequest","n":"searchRequest","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleScopeMapChange"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.scopeMap"},"n":"change"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:block"},"localId":"search-header","attributes":{"values":{"left":{"descriptor":"left","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:entityIcon"},"attributes":{"values":{"color":{"descriptor":"color","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchScopeHeader","path":"v.scopeMap.color"}},"icon":{"descriptor":"icon","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchScopeHeader","path":"v.scopeMap.icon"}},"class":{"descriptor":"class","value":"small"}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.ne(cmp.get(\"v.scopeMap.icon\"),null);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchScopeHeader","path":"v.scopeMap.icon"}],"byValue":false}}}}}]},"tag":{"descriptor":"tag","value":"header"},"right":{"descriptor":"right","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:buttonBarDeprecated"},"attributes":{"values":{"numButtonsToShow":{"descriptor":"numButtonsToShow","value":1},"buttonModels":{"descriptor":"buttonModels","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchScopeHeader","path":"v.priv_listHeaderActions"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.ne(cmp.get(\"v.scopeMap.name\"),null)&&cmp.get(\"v.showButtons\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchScopeHeader","path":"v.scopeMap.name"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchScopeHeader","path":"v.showButtons"}],"byValue":false}}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"scope-title truncate"}},"tag":{"descriptor":"tag","value":"h2"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return ((cmp.get(\"v.term\")>\"\")?\"hideEl\":\"truncate\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchScopeHeader","path":"v.term"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:label"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.ne(cmp.get(\"v.scopeMap.labelPlural\"),null)?cmp.get(\"v.scopeMap.labelPlural\"):$A.get(\"$Label.AuraSearchUI.CustomObjects\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchScopeHeader","path":"v.scopeMap.labelPlural"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchScopeHeader","path":"$Label.AuraSearchUI.CustomObjects"}],"byValue":false}}}}}]},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchScopeHeader","path":"$Label.AuraSearchUI.ObjectRecent"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return ((cmp.get(\"v.term\")>\"\")?\"truncate\":\"hideEl\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchScopeHeader","path":"v.term"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:label"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchScopeHeader","path":"$Label.AuraSearchUI.QuickResults"}}}}}]}}}}]}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"scope-title truncate"}},"tag":{"descriptor":"tag","value":"h1"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return ((cmp.get(\"v.term\")>\"\")?\"hideEl\":\"truncate\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchScopeHeader","path":"v.term"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:label"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.ne(cmp.get(\"v.scopeMap.labelPlural\"),null)?cmp.get(\"v.scopeMap.labelPlural\"):$A.get(\"$Label.AuraSearchUI.CustomObjects\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchScopeHeader","path":"v.scopeMap.labelPlural"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchScopeHeader","path":"$Label.AuraSearchUI.CustomObjects"}],"byValue":false}}}}}]},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchScopeHeader","path":"$Label.AuraSearchUI.ObjectRecent"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return ((cmp.get(\"v.term\")>\"\")?\"truncate\":\"hideEl\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchScopeHeader","path":"v.term"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:label"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchScopeHeader","path":"$Label.AuraSearchUI.QuickResults"}}}}}]}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchScopeHeader","path":"v.priv_isMobile"}}}}}]},"class":{"descriptor":"class","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchScopeHeader","path":"v.class"}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://one:actionsRibbon",function(){/*$A.componentService.addComponentClass("markup://one:actionsRibbon",function(){return{meta:{name:"one$actionsRibbon","extends":"markup://aura:component",imports:{interactionLib:"markup://force:targetInteractionLibrary"}},controller:{handleActionsChange:function(a,b,c){var e=a.get("v.selectionModel"),f=a.getReference("v.retURL"),d=a.getReference("v.completionCallback"),g=a.getReference("v.executionWrapperCallback");(a=b.getParam("value"))&&a.length&&$A.util.forEach(a,function(a){a&&(e&&a.set("v.selectionModel",
e),a.set("v.retURL",f),a.set("v.completionCallback",d),a.set("v.executionWrapperCallback",g))})},handleMaxWidthChange:function(a,b,c){a.set("v.ribbonActions",[]);(a=a.find("actionsDropDown"))&&a.set("v.actions",[])},show:function(a,b,c){a=a.find("actionsDropDown");a.show&&a.show()}},helper:{distributeActions:function(a){var b=a.get("v.actions"),c=a.get("v.maxWidth"),e=a.get("v.size");if(!$A.util.isEmpty(b)&&($A.util.isUndefinedOrNull(c)||a._lastMaxWidth!==c)){a._lastMaxWidth=c;var f=this.getNumActionsInRibbon(b,
e,c);this.updateActions(b,f);c=function(){var c=b.slice(0,f).map(function(a){return{actionCmp:a,targetSelectionName:a&&a.get("v.action.targetSelectionName")}});a.set("v.ribbonActions",c);(c=a.find("actionsDropDown"))&&c.set("v.actions",b.slice(f))};a._actionsRendered?window.requestAnimationFrame($A.getCallback(c)):(c(),a._actionsRendered=!0)}},getNumActionsInRibbon:function(a,b,c){var e=0,f;if(!c)return 0;b=Math.min(b,a.length);if(0>c)return b;for(;b;){f=a.slice(0,b).reduce(function(a,b){var c=b?
b.get("v.action.label"):"";return a+(c?c.length:0)},0);e=8*f+32*b+e;if(e<=c)break;e=32;b--}return b},updateActions:function(a,b){a.forEach(function(a,e){a&&a.isInstanceOf("force:actionLink")&&a.set("v.isMenuItem",e>=b)})},registerActionTargets:function(a){if(!a._hasRegisteredActionTargets){var b=a.get("v.ribbonActions");if(b){var c=[];b.forEach(function(a,b){var d=a&&a.actionCmp;d&&d.isValid()&&(d=d.get("v.action"))&&(d.executionComponent&&d.executionComponent.attributes&&d.executionComponent.attributes.quickActionDefinition)&&
c.push({action:d,contextLocatorPaths:[[{target:"action-link",scope:"action-ribbon-container",context:{recordId:d.executionComponent.attributes.subjectId,devNameOrId:d.executionComponent.attributes.quickActionDefinition.actionId}}]]})}.bind(this));0<c.length&&(a._hasRegisteredActionTargets=this.interactionLib.TargetInteractions.registerActionTargets(a,"action-ribbon-container",c))}}},unregisterActionTargets:function(a){a._hasRegisteredActionTargets&&(this.interactionLib.TargetInteractions.unregisterActionTargets(a),
a._hasRegisteredActionTargets=!1)},addContextClassName:function(a,b){var c;switch(a.get("v.context")){case "RELATED_LIST":c="small";break;case "RELATED_LIST_RECORD":case "LIST_VIEW_RECORD":c="x-small"}c&&b&&$A.util.addClass(b,c)}},renderer:{render:function(a,b){b.distributeActions(a);b.registerActionTargets(a);var c=a.superRender();b.addContextClassName(a,c[0]);return c},rerender:function(a,b){if(a&&a.isValid()){b.distributeActions(a);b.unregisterActionTargets(a);b.registerActionTargets(a);var c=
a.superRerender();b.addContextClassName(a,c[0]);return c}},unrender:function(a,b){b.unregisterActionTargets(a);a.superUnrender()}}}});return {"xs":"I","descriptor":"markup://one:actionsRibbon","st":{"descriptor":"css://one.actionsRibbon","cl":"oneActionsRibbon"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["actions","aura://Aura.Component[]","I",false,[]],["inContextOfComponent","aura://String","I",false],["selectionModel","aura://Object","I",false,null],["executionWrapperCallback","aura://Object","I",false,null],["retURL","aura://String","I",false],["maxWidth","aura://Integer","I",false,-1],["completionCallback","aura://Object","I",false,null],["loggingContext","aura://Map","I",false,null],["ribbonActions","aura://List","p",false,[]],["size","aura://Integer","I",false,3],["context","aura://String","I",false]],"med":[{"name":"one:show","xs":"I"}],"i":["markup://one:acceptsActionComponents","markup://force:acceptsSelectionModel","markup://force:acceptsExecutionWrapperCallback","markup://force:acceptsRetURL","markup://force:hasMaxWidth","markup://force:acceptsCompletionCallback","markup://force:acceptsLoggingContext"],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleActionsChange"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.actions"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleMaxWidthChange"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.maxWidth"},"n":"change"}],"ld":{"actionItems":{"context":{"recordId":{"exprType":"PROPERTY","byValue":false,"target":"one:actionsRibbon","path":"v.loggingContext.recordId"},"section":{"exprType":"PROPERTY","byValue":false,"target":"one:actionsRibbon","path":"v.loggingContext.section"},"relatedListNameOrId":{"exprType":"PROPERTY","byValue":false,"target":"one:actionsRibbon","path":"v.loggingContext.listNameOrId"}},"alias":"action-ribbon-container"},"actionsDropDown":{"alias":"actions-dropdown"}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return ((cmp.get(\"v.size\")>0)?\"branding-actions slds-button-group slds-m-left--xx-small\":\"\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"one:actionsRibbon","path":"v.size"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"ul"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:iteration"},"attributes":{"values":{"var":{"descriptor":"var","value":"action"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"data-target-selection-name":{"exprType":"PROPERTY","byValue":false,"target":"one:actionsRibbon","path":"action.targetSelectionName"},"class":"slds-button slds-button--neutral"}},"tag":{"descriptor":"tag","value":"li"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"one:actionsRibbon","path":"action.actionCmp"}}}}}]}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"one:actionsRibbon","path":"v.ribbonActions"}}}}},{"componentDef":{"descriptor":"markup://aura:unescapedHtml"},"attributes":{"values":{"value":{"descriptor":"value","value":"<!-- workaround for W-2413659, remove once that bug is fixed -->"}}}},{"componentDef":{"descriptor":"markup://one:actionsDropDown"},"localId":"actionsDropDown","attributes":{"values":{"showRibbon":{"descriptor":"showRibbon","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return ((cmp.get(\"v.size\")>0)?true:false);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"one:actionsRibbon","path":"v.size"}],"byValue":false}},"loggingContext":{"descriptor":"loggingContext","value":{"exprType":"PROPERTY","byValue":true,"target":"one:actionsRibbon","path":"v.loggingContext"}},"context":{"descriptor":"context","value":{"exprType":"PROPERTY","byValue":true,"target":"one:actionsRibbon","path":"v.context"}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:crudStream",function(){/*$A.componentService.addComponentClass("markup://forceChatter:crudStream",function(){return{meta:{name:"forceChatter$crudStream","extends":"markup://aura:component",imports:{feedLib:"markup://forceChatter:feedLib"}},controller:{init:function(a,b,d){b=a.get("c.getCrudStreamConfig");b.setCallback(this,function(b){"SUCCESS"===b.getState()&&b.getReturnValue()?((b=b.getReturnValue())&&b.maxEntitySubscriptionsPerStream&&a.set("v.crudStreamConfig.maxEntitySubscriptionsPerStream",b.maxEntitySubscriptionsPerStream),
b&&!$A.util.isUndefinedOrNull(b.isEntityFeedNotificationsEnabled)&&a.set("v._isEntityFeedNotificationsEnabled",b.isEntityFeedNotificationsEnabled),b&&b.entityTypes&&(b=b.entityTypes.map(function(a){return{name:a}}),a.set("v.crudStreamConfig.entityTypes",b)),a.set("v._initialized",!0)):"INCOMPLETE"===b.getState()?$A.getEvt("markup://force:showOfflineMessage").setParams({retryAction:b}).fire():"ERROR"===b.getState()&&$A.getEvt("markup://force:showMessage").setParams({title:"Error",message:b.getError()[0].message,
severity:"error"}).fire()});$A.enqueueAction(b);(b=a.get("v.crudStreamConfig.originalEntityIds"))&&a.set("v.crudStreamConfig.selectedEntityIds",b)},updateStream:function(a,b,d){var e=a.get("v.crudStreamConfig.streamId"),g=d.getStreamName(a,b,d);if(g){a.set("v.disableSubmit",!0);var f=a.get("v.crudStreamConfig.originalEntityIds"),c=f?f.split(","):[],k=d.getSelectedEntities(a,b,d),l=k.filter(function(a){return-1===c.indexOf(a)}),f=c.filter(function(a){return-1===k.indexOf(a)}),m=a.get("v.crudStreamConfig.suppressNavigation"),
h=a.get("c.serverUpdateStream");h.setParams({streamId:e,streamName:g,entitiesToAdd:l,entitiesToRemove:f});h.setCallback(this,function(c){if("SUCCESS"===c.getState()&&c.getReturnValue()){a.get("v._panel").close();var e=c.getReturnValue();(c=$A.getEvt("markup://forceChatter:streamCreatedOrEdited"))&&c.setParams({stream:e,suppressNavigation:m}).fire();c=$A.getEvt("markup://force:showToast");e=$A.get("$Label.Feeds.StreamUpdatedToast").replace("{0}",e.name);if(l.length){var f=$A.get("$Label.Feeds.StreamToastLatency");
c.setParams({title:e,message:f,type:"success"}).fire()}else c.setParams({message:e,type:"success"}).fire()}else"INCOMPLETE"===c.getState()?($A.getEvt("markup://force:showOfflineMessage").setParams({retryAction:c}).fire(),a.set("v.disableSubmit",!1)):"ERROR"===c.getState()&&($A.getEvt("markup://force:showMessage").setParams({title:"Error",message:d.getErrorMessage(a,b,d,c.getError()[0].message),severity:"error"}).fire(),a.set("v.disableSubmit",!1))});$A.enqueueAction(h)}else a.find("streamName").focus()},
createStream:function(a,b,d){var e=d.getStreamName(a,b,d);if(e){a.set("v.disableSubmit",!0);var g=d.getSelectedEntities(a,b,d),f=a.get("c.serverCreateStream");f.setParams({streamName:e,entities:g});f.setCallback(this,function(c){if("SUCCESS"===c.getState()&&c.getReturnValue()){c=c.getReturnValue();if(a.get("v._isEntityFeedNotificationsEnabled")){var e=a.get("v._notificationEveryPost");e&&d.setEmailNotificationFrequency(a,d,e?"EachPost":"Never",c.id)}a.get("v._panel").close();(e=$A.getEvt("markup://forceChatter:streamCreatedOrEdited"))&&
e.setParams({stream:c}).fire();e=$A.getEvt("markup://force:showToast");c=$A.get("$Label.Feeds.StreamCreatedToast").replace("{0}",c.name);if(g.length){var f=$A.get("$Label.Feeds.StreamToastLatency");e.setParams({title:c,message:f,type:"success"}).fire()}else e.setParams({message:c,type:"success"}).fire()}else"INCOMPLETE"===c.getState()?($A.getEvt("markup://force:showOfflineMessage").setParams({retryAction:c}).fire(),a.set("v.disableSubmit",!1)):"ERROR"===c.getState()&&($A.getEvt("markup://force:showMessage").setParams({title:"Error",
message:d.getErrorMessage(a,b,d,c.getError()[0].message),severity:"error"}).fire(),a.set("v.disableSubmit",!1))});$A.enqueueAction(f)}else a.find("streamName").focus()},setNotificationChoice:function(a,b,d){b=b.getSource().get("v.label");a.set("v._notificationEveryPost",b===$A.get("$Label.Feeds.StreamNotificationsEveryPost"))},closeWindow:function(a,b,d){(a=a.get("v._panel"))&&a.close()}},helper:{getStreamName:function(a,b,d){a=a.find("streamName").get("v.value");return $A.util.isUndefinedOrNull(a)||
""===a.trim()?null:a.trim()},getSelectedEntities:function(a,b,d){if(a=a.find("crudStreamEntities"))return a.get("v.values").map(function(a){return a.id})},getEntityIdToLabel:function(a){var b=a.find("crudStreamEntities");a={};if(b){var b=b.get("v.values"),d;for(d in b)a[b[d].id.slice(0,15)]=b[d].label}return a},getErrorMessage:function(a,b,d,e){b=$A.get("$Label.Feeds.EntitiesNotStreamable");if(e.match(b.slice(0,-5))){var g=this.getEntityIdToLabel(a);a=e.slice(0,-1).split(":");e=a[1].split(",").map(function(a){return g[a.trim().slice(0,
15)]}).join(", ");return a[0]+": "+e+"."}return e},setEmailNotificationFrequency:function(a,b,d,e){b=b.feedLib.util;var g,f={streamId:e};"Never"===d?g="c.unsetEmailNotificationFrequency":(g="c.setEmailNotificationFrequency",f.frequency=d);b.standardActionWithRetry(this,a,g,f);$A.metricsService.transaction("ltng","interaction",{context:{eventSource:"synthetic-click",eventType:"user",locator:{target:"crud-stream-notification",scope:"ChatterFeed-crudStream",context:{streamId:e,frequency:d}}}})}}}});return {"xs":"I","descriptor":"markup://forceChatter:crudStream","st":{"descriptor":"css://forceChatter.crudStream","cl":"forceChatterCrudStream"},"cd":{"descriptor":"compound://forceChatter.crudStream","ac":[{"n":"serverGetStreams","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverGetStreams","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.stream.FeedStreamCollectionRepresentation","pa":[{"name":"page","type":"java://int"},{"name":"pageSize","type":"java://java.lang.Integer","loggable":true},{"name":"globalScope","type":"java://java.lang.Boolean","loggable":true}]},{"n":"unsetEmailNotificationFrequency","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$unsetEmailNotificationFrequency","at":"SERVER","rt":"java://void","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"communityId","type":"java://java.lang.String","loggable":true}]},{"n":"serverAddStreamSubscription","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverAddStreamSubscription","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.stream.FeedStreamRepresentation","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"recordId","type":"java://java.lang.String"}]},{"n":"serverGetStream","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverGetStream","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.stream.FeedStreamRepresentation","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"globalScope","type":"java://java.lang.Boolean","loggable":true}]},{"n":"serverRemoveStreamSubscription","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverRemoveStreamSubscription","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.stream.FeedStreamRepresentation","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"recordId","type":"java://java.lang.String"}]},{"n":"serverCreateStream","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverCreateStream","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.stream.FeedStreamRepresentation","pa":[{"name":"streamName","type":"java://java.lang.String"},{"name":"entities","type":"java://java.util.ArrayList<java.lang.String>"}]},{"n":"getEmailNotificationFrequency","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$getEmailNotificationFrequency","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.notificationMember.NotificationMemberRepresentation","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"communityId","type":"java://java.lang.String","loggable":true}]},{"n":"serverDeleteStream","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverDeleteStream","at":"SERVER","rt":"java://void","pa":[{"name":"streamId","type":"java://java.lang.String"}]},{"n":"serverUpdateStream","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverUpdateStream","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.stream.FeedStreamRepresentation","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"streamName","type":"java://java.lang.String"},{"name":"entitiesToAdd","type":"java://java.util.ArrayList<java.lang.String>"},{"name":"entitiesToRemove","type":"java://java.util.ArrayList<java.lang.String>"}]},{"n":"setEmailNotificationFrequency","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$setEmailNotificationFrequency","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.notificationMember.NotificationMemberRepresentation","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"frequency","type":"java://java.lang.String"},{"name":"communityId","type":"java://java.lang.String","loggable":true}]},{"n":"serverGetStreamInfoForHeader","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$serverGetStreamInfoForHeader","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"streamId","type":"java://java.lang.String"},{"name":"globalScope","type":"java://java.lang.Boolean","loggable":true}]},{"n":"getCrudStreamConfig","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.StreamController/ACTION$getCrudStreamConfig","at":"SERVER","rt":"java://java.util.Map","pa":[]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["crudStreamConfig","aura://Map","I",false,{}],["actions","aura://Aura.Component[]","I",false,[]],["_panel","aura://Object","G",false,null],["_initialized","aura://Boolean","I",false,false],["_isEntityFeedNotificationsEnabled","aura://Boolean","I",false,false],["_notificationEveryPost","aura://Boolean","I",false,true],["disableSubmit","aura://Boolean","I",false,false],["panelActions","aura://Aura.Component[]","I",false,[{"componentDef":{"descriptor":"markup://lightning:button"},"localId":"feed-stream-crud-save","attributes":{"values":{"onclick":{"descriptor":"onclick","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.crudStreamConfig.streamId\")?cmp.get(\"c.updateStream\"):cmp.get(\"c.createStream\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:crudStream","path":"c.updateStream"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:crudStream","path":"c.createStream"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:crudStream","path":"v.crudStreamConfig.streamId"}],"byValue":false}},"variant":{"descriptor":"variant","value":"brand"},"disabled":{"descriptor":"disabled","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:crudStream","path":"v.disableSubmit"}},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:crudStream","path":"$Label.Buttons.save"}},"title":{"descriptor":"title","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:crudStream","path":"$Label.Buttons.save"}},"class":{"descriptor":"class","value":"qe-crudStreamOKButton"}}}},{"componentDef":{"descriptor":"markup://lightning:button"},"localId":"feed-stream-crud-cancel","attributes":{"values":{"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:crudStream","path":"c.closeWindow"}},"variant":{"descriptor":"variant","value":"neutral"},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:crudStream","path":"$Label.Buttons.cancel"}},"class":{"descriptor":"class","value":"qe-crudStreamCancelButton"}}}}]]],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"}],"ld":{"feed-stream-crud-save":{"context":{"streamId":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:crudStream","path":"v.crudStreamConfig.streamId"}}},"feed-stream-crud-cancel":{"context":{"streamId":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:crudStream","path":"v.crudStreamConfig.streamId"}}}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-m-bottom--medium slds-text-color--default"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:crudStream","path":"$Label.Feeds.StreamsDialogInfoText"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:input","type":"module"},"localId":"streamName","attributes":{"values":{"maxlength":{"descriptor":"maxlength","value":"120"},"messageWhenValueMissing":{"descriptor":"messageWhenValueMissing","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:crudStream","path":"$Label.Feeds.StreamNameRequired"}},"name":{"descriptor":"name","value":"crudStreamNameInput"},"pattern":{"descriptor":"pattern","value":"^(?!\\s*$).+"},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:crudStream","path":"$Label.Feeds.ChatterStreamName"}},"messageWhenPatternMismatch":{"descriptor":"messageWhenPatternMismatch","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:crudStream","path":"$Label.Feeds.StreamNameRequired"}},"class":{"descriptor":"class","value":"qe-crudStreamNameInput"},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:crudStream","path":"v.crudStreamConfig.streamName"}},"required":{"descriptor":"required","value":"true"}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-p-top--medium"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:label"},"attributes":{"values":{"for":{"descriptor":"for","value":"crudStreamEntities"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:crudStream","path":"$Label.Feeds.AddEntitiesToStream"}}}}}]}}}}]},"class":{"descriptor":"class","value":"crudLabelText"}}}},{"componentDef":{"descriptor":"markup://ui:tooltip"},"attributes":{"values":{"tooltipBody":{"descriptor":"tooltipBody","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:crudStream","path":"$Label.Feeds.AddEntitiesToStreamInfoBubble"}},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:icon","type":"module"},"attributes":{"values":{"size":{"descriptor":"size","value":"xx-small"},"iconName":{"descriptor":"iconName","value":"utility:info"},"class":{"descriptor":"class","value":"infoIcon"}}}}]}}}},{"componentDef":{"descriptor":"markup://forceSearch:inputLookupDesktop"},"localId":"crudStreamEntities","attributes":{"values":{"maxValues":{"descriptor":"maxValues","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:crudStream","path":"v.crudStreamConfig.maxEntitySubscriptionsPerStream"}},"maxRows":{"descriptor":"maxRows","value":3},"enableCreateNew":{"descriptor":"enableCreateNew","value":false},"entities":{"descriptor":"entities","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:crudStream","path":"v.crudStreamConfig.entityTypes"}},"selectedEntityIndex":{"descriptor":"selectedEntityIndex","value":0},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:crudStream","path":"v.crudStreamConfig.selectedEntityIds"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:crudStream","path":"v._initialized"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-m-top--medium"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"fieldset"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"crudLabelText"}},"tag":{"descriptor":"tag","value":"legend"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:crudStream","path":"$Label.Feeds.StreamNotificationsInNewStream"}}}}}]}}}},{"componentDef":{"descriptor":"markup://lightning:input","type":"module"},"localId":"crudStreamNotificationsRadio","attributes":{"values":{"name":{"descriptor":"name","value":"crudStreamNotificationsRadio"},"checked":{"descriptor":"checked","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:crudStream","path":"v._notificationEveryPost"}},"onchange":{"descriptor":"onchange","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:crudStream","path":"c.setNotificationChoice"}},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:crudStream","path":"$Label.Feeds.StreamNotificationsEveryPost"}},"type":{"descriptor":"type","value":"radio"},"class":{"descriptor":"class","value":"qe-crudStreamNotificationsEvery"}}}},{"componentDef":{"descriptor":"markup://lightning:input","type":"module"},"localId":"crudStreamNotificationsRadio","attributes":{"values":{"name":{"descriptor":"name","value":"crudStreamNotificationsRadio"},"checked":{"descriptor":"checked","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(cmp.get(\"v._notificationEveryPost\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:crudStream","path":"v._notificationEveryPost"}],"byValue":false}},"onchange":{"descriptor":"onchange","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:crudStream","path":"c.setNotificationChoice"}},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:crudStream","path":"$Label.Feeds.StreamNotificationsNever"}},"type":{"descriptor":"type","value":"radio"},"class":{"descriptor":"class","value":"qe-crudStreamNotificationsNever"}}}}]}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (!(cmp.get(\"v.crudStreamConfig.streamId\"))&&cmp.get(\"v._isEntityFeedNotificationsEnabled\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:crudStream","path":"v._isEntityFeedNotificationsEnabled"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:crudStream","path":"v.crudStreamConfig.streamId"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:crudStream","path":"v.panelActions"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v._initialized\")&&!(cmp.get(\"v._panel\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:crudStream","path":"v._panel"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:crudStream","path":"v._initialized"}],"byValue":false}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceTopic:simpleTopicAssignmentItem",function(){/*$A.componentService.addComponentClass("markup://forceTopic:simpleTopicAssignmentItem",function(){return{meta:{name:"forceTopic$simpleTopicAssignmentItem","extends":"markup://aura:component",imports:{lib:"markup://force:routing",feedLib:"markup://forceChatter:feedLib"}},controller:{init:function(c,a,b){!c.get("v.inS1")&&(b.lib&&b.lib.routeUtil)&&c.set("v.priv_href",b.feedLib.util.generateHref(c.get("v.topicId"),null,null))},navigateToSingleTopicView:function(c,a){a.preventDefault();a.stopPropagation();
var b=a.target||a.srcElement||a.toElement,d=$A.util.getDataAttribute(b.parentNode,"topic-id"),e=$A.util.getDataAttribute(b.parentNode,"topic-name");null==d&&(d=$A.util.getDataAttribute(b,"topic-id"),e=$A.util.getDataAttribute(b,"topic-name"));c.get("v.inS1")?(a=$A.getEvt("markup://force:navigateToSObject"),a.setParams({recordId:d}).fire()):(a=$A.getEvt("markup://forceTopic:navigateToTopic"))&&a.setParams({topicId:d,topicName:e}).fire()}}}});return {"xs":"I","descriptor":"markup://forceTopic:simpleTopicAssignmentItem","ad":[["body","aura://Aura.Component[]","G",false,[]],["topicId","aura://String","I",false],["topicName","aura://String","I",false],["priv_href","aura://String","p",false],["inS1","aura://Boolean","I",false,false]],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"navigateToSingleTopic","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"data-topic-id":{"exprType":"PROPERTY","byValue":false,"target":"forceTopic:simpleTopicAssignmentItem","path":"v.topicId"},"onclick":{"exprType":"PROPERTY","byValue":false,"target":"forceTopic:simpleTopicAssignmentItem","path":"c.navigateToSingleTopicView"},"href":{"exprType":"PROPERTY","byValue":false,"target":"forceTopic:simpleTopicAssignmentItem","path":"v.priv_href"},"data-topic-name":{"exprType":"PROPERTY","byValue":false,"target":"forceTopic:simpleTopicAssignmentItem","path":"v.topicName"}}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:outputText"},"attributes":{"values":{"title":{"descriptor":"title","value":{"exprType":"PROPERTY","byValue":false,"target":"forceTopic:simpleTopicAssignmentItem","path":"v.topicName"}},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceTopic:simpleTopicAssignmentItem","path":"v.topicName"}},"class":{"descriptor":"class","value":"topicName"}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:resultsFilters",function(){/*$A.componentService.addComponentClass("markup://forceSearch:resultsFilters",function(){return{meta:{name:"forceSearch$resultsFilters","extends":"markup://forceSearch:baseSearch"},controller:{update:function(a,b,c){if(c.shouldUpdate(a,b)){var d={term:a.get("v.term"),scopeMap:a.get("v.scopeMap"),context:a.get("v.context")};c.updateSelf(a,b);c.updateChildren(a,b);c.updatePost(a,b,d)}},updateSearchStatus:function(a,b,c){var d=b.getParam("arguments");b=d.searchInProgress;d=d.loggingContext||{};a.set("v.priv_searchInProgress",
b);var e=a.get("v.loggingContext.searchLogInfo")||{};e.searchFiltersTransactionStarted&&!b&&(e.queryId=d.queryId,c.endSearchFiltersTransaction(a))},handleClearAllClicked:function(a,b,c){c.handleClearFilters(a);c.fireSearchWithFilters(a,{});(a=a.get("v.priv_filterInputCmps"))&&0<a.length&&a[0].focus()},handleFilterApplied:function(a,b,c){b=b.getParam("data");var d=a.get("v.priv_searchFilterData"),e=a.get("v.scopeMap.name");c.lib.filters.updateEntityFilterData(d,e,b);a.get("v.enableApplyAll")||c.handleAppliedFiltersChanged(a)},
applyAllFilterChanges:function(a,b,c){c.handleAppliedFiltersChanged(a)}},helper:{updatePost:function(a,b,c){if(this.shouldUpdatePost(a,b)){var d=b.getParam("arguments");if(d)switch(d.type){case this.lib.event.SEARCH:this.handleShowFilters(a,c);$A.util.isEmpty(a.get("v.context.filterData"))&&a.get("v.priv_showFilters")&&this.handleClearFilters(a);break;case this.lib.event.SET_SCOPE:this.handleShowFilters(a,c);break;case this.lib.event.SGDP_RESPONSE:this.handleSGDPResponse(a,b)}}},handleShowFilters:function(a,
b){var c=a.get("v.scopeMap");if(!b||!this.lib.scope.scopeMapsEqual(b.scopeMap,c))c=this.lib.filters.isSupportedEntity(c),a.set("v.priv_showFilters",c),a.set("v.priv_filterInputCmps",[]),a.set("v.priv_searchFilterData",{}),this.showClearAllButton(a,!1),c&&this.loadFilterMetadata(a)},handleClearFilters:function(a){var b=a.get("v.priv_filterInputCmps");if(b&&!(1>b.length)&&!$A.util.isEmpty(this.getAppliedFilters(a))){b.forEach(function(a){a&&a.isInstanceOf("forceSearch:filterInput")&&a.clearFilter()});
var b=a.get("v.priv_searchFilterData")||{},c=a.get("v.scopeMap.name");delete b[c];this.showClearAllButton(a,!1)}},loadFilterMetadata:function(a){var b={};a.set("v.loggingContext.loadResultsFilters",b);this.lib.logging.logPerf(a,"loadResultsFilters","START");0<this.getEntityFilterInputInfo(a).length?(b.source="cmpCache",this.createFilterInput(a,0)):(b=a.get("v.scopeMap"),a.set("v.priv_loading",!0),this.fireSGDPRequest(a,"getResultsFilterMetadata",{scopeMaps:[b]}))},handleSGDPResponse:function(a,b){var c=
this.getSGDPResponseData(a,"getResultsFilterMetadata",b);if(c){var d=this.lib.filters.getEntityMetadataHasError(c);a.set("v.priv_hasError",d);a.set("v.loggingContext.loadResultsFilters.getMetadataHasError",d);d?(a.set("v.priv_loading",!1),a.set("v.priv_endLoadResultsFiltersTransaction",!0)):this.handleMetadataChanged(a,c)}},handleMetadataChanged:function(a,b){var c=a.get("v.loggingContext.loadResultsFilters");$A.util.isEmpty(b.times)?c.source="sgdpCache":(c.source="XHR",c.times=b.times.join("|"));
var c=this.generateEntityFilterInputInfo(a,b.fields),d=a.get("v.scopeMap").name;a.get("v.priv_filterInputInfo")[d]=c;this.createFilterInput(a,0)},generateEntityFilterInputInfo:function(a,b){for(var c=[],d=0,e=b.length;d<e;d+=1){var f=b[d],g=f.fieldType,h=this.lib.filters.getInputType(g),l=a.get("v.scopeMap.name");null!==h&&(g={objectApiName:l,fieldName:f.fieldName,fieldLabel:f.fieldLabel,fieldType:g,inputType:h,fieldLevelHelp:f.fieldLevelHelp||null},f=f.fieldOptions,$A.util.isEmpty(f)||(g.inputOptions=
f),c.push(g))}return c},createFilterInput:function(a,b,c){var d=c||[];c=this.getEntityFilterInputInfo(a);if(b>=c.length)a.set("v.priv_hasError",0===d.length),a.set("v.priv_filterInputCmps",d),a.set("v.priv_loading",!1),a.set("v.priv_endLoadResultsFiltersTransaction",!0);else{0===b&&a.set("v.loggingContext.loadResultsFilters.createFilterInputsStart",Date.now());var e=c[b];c=this.lib.filters.getInputDef(e.inputType)||{};if($A.util.isUndefinedOrNull(c.filterUICmp))this.createFilterInput(a,b+1,d);else{var f=
this,e={objectApiName:e.objectApiName,fieldName:e.fieldName,fieldLabel:e.fieldLabel,fieldType:e.fieldType,fieldLevelHelp:e.fieldLevelHelp,options:e.inputOptions,enableApplyButton:!a.get("v.enableApplyAll")};"PICKLIST"===e.fieldType&&$A.util.isEmpty(e.options)?this.createFilterInput(a,b+1,d):$A.createComponent(c.filterUICmp,e,$A.getCallback(function(c,e){"SUCCESS"===e&&(c.addHandler("filterChanged",a,"c.handleFilterApplied"),d.push(c));f.createFilterInput(a,b+1,d)}))}}},handleAppliedFiltersChanged:function(a){var b=
this.getAppliedFilters(a);this.showClearAllButton(a,1<Object.keys(b).length);this.fireSearchWithFilters(a,b)},getAppliedFilters:function(a){var b=a.get("v.priv_searchFilterData");a=a.get("v.scopeMap.name");b=this.lib.filters.getEntityFilterData(b,a)||{};a={};for(var c in b)if(b.hasOwnProperty(c)){var d=b[c],e=Object.keys(d);if(1<e.length)throw Error("A filter can only have one logical operator. (field name: "+c+")");$A.util.isEmpty(d[e[0]])||(a[c]=b[c])}return a},showClearAllButton:function(a,b){var c=
a.find("clearAllButton");c&&$A.util.toggleClass(c,"slds-hide",!b)},fireSearchWithFilters:function(a,b){a.set("v.loggingContext.searchLogInfo",{searchFiltersTransactionStarted:!0});this.lib.logging.logPerf(a,"searchResultsFilters","START");this.fireCustom(a,"forceSearch:resultsFilters:FILTERED_SEARCH",b)},endSearchFiltersTransaction:function(a){var b=a.get("v.loggingContext.searchLogInfo"),c=this.getEntityFilterInputInfo(a),d=this.getAppliedFilters(a),e=this.lib.filters.getNumFiltersInfo(d),f=[],g;
for(g in d)if(d.hasOwnProperty(g))for(var h=0,l=c.length;h<l;h+=1){var k=c[h];if(k.fieldName===g){f.push({fieldPosition:h,fieldName:k.fieldName,fieldType:k.fieldType,inputType:k.inputType});break}}b.searchFiltersTransactionStarted=!1;this.lib.logging.logPerf(a,"searchResultsFilters","END",{queryId:b.queryId,filterFieldInfo:f,numFilterFields:e.numFilterFields,numFilterConditions:e.numFilterConditions})},endLoadResultsFiltersTransaction:function(a){var b=a.get("v.loggingContext.loadResultsFilters");
b.createFilterInputsDuration=Date.now()-b.createFilterInputsStart;delete b.createFilterInputsStart;b.numFields=a.get("v.priv_filterInputCmps").length;var c=this.getEntityFilterInputInfo(a);b.fieldTypes=c.map(function(a){return a.fieldType}).join("|");this.lib.logging.logPerf(a,"loadResultsFilters","END",b)},getEntityFilterInputInfo:function(a){var b=a.get("v.scopeMap.name");return a.get("v.priv_filterInputInfo")[b]||[]}},renderer:{render:function(a,b){var c=a.superRender();a.getEvent("resultsFilterLoaded").fire();
return c},rerender:function(a,b){a.superRerender();a.get("v.priv_endLoadResultsFiltersTransaction")&&(a.set("v.priv_endLoadResultsFiltersTransaction",!1),b.endLoadResultsFiltersTransaction(a))},afterRender:function(a,b){a.superAfterRender();b.handleShowFilters(a)}}}});return {"xs":"I","descriptor":"markup://forceSearch:resultsFilters","st":{"descriptor":"css://forceSearch.resultsFilters","cl":"forceSearchResultsFilters"},"su":"markup://forceSearch:baseSearch","ad":[["body","aura://Aura.Component[]","G",false,[]],["shouldFocus","aura://Boolean","I",false,false],["groupId","aura://String","I",true,"DEFAULT"],["updateChildren","aura://Boolean","I",true,true],["updateOnlyIfActive","aura://Boolean","I",true,true],["priv_valueProviderReady","aura://Boolean","I",false,false],["initialTerm","aura://String","I",false],["initialScopeMap","aura://Map","I",false,null],["initialContext","aura://Map","I",false,null],["inContextOfComponent","aura://String","I",false,"forceSearch:search"],["term","aura://String","I",true,""],["scopeMap","aura://Map","I",true,{}],["context","aura://Map","I",true,{}],["loggingContext","aura://Map","I",true,{}],["enableApplyAll","aura://Boolean","I",false,false],["priv_showFilters","aura://Boolean","I",false,false],["priv_loading","aura://Boolean","I",false,true],["priv_searchInProgress","aura://Boolean","I",false,false],["priv_filterInputCmps","aura://Aura.Component[]","I",false,[]],["priv_filterInputInfo","aura://Map","I",false,{}],["priv_searchFilterData","aura://Map","I",false,{}],["priv_hasError","aura://Boolean","I",false,false],["priv_endLoadResultsFiltersTransaction","aura://Boolean","I",false,false]],"med":[{"name":"forceSearch:update","xs":"I","action":"{!c.update}","attributes":[["type","aura://String","I",false],["term","aura://String","I",false],["scopeMap","aura://Map","I",false,null],["context","aura://Map","I",false,null],["sourceId","aura://String","I",false]]},{"name":"forceSearch:updateSearchStatus","xs":"I","action":"{!c.updateSearchStatus}","attributes":[["searchInProgress","aura://Boolean","I",true],["loggingContext","aura://Map","I",false,null]]},{"name":"forceSearch:applyAllFilterChanges","xs":"I","action":"{!c.applyAllFilterChanges}"}],"re":[{"ed":"markup://force:searchRequest","n":"searchRequest","xs":"I"},{"ed":"markup://ui:load","n":"resultsFilterLoaded","xs":"I"}],"hd":[{"ed":{"descriptor":"markup://ui:dataChanged"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleFilterApplied"},"n":"filterChanged"}],"ld":{"clearAllButton":{"alias":"search-results-filters-clear-all"},"*":{"alias":"search-results-filters"}},"fa":[{"descriptor":"updateOnlyIfActive","value":false},{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"inputsContainer","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(((cmp.get(\"v.priv_searchInProgress\")&&!(cmp.get(\"v.priv_loading\")))?\"disabled \":\"\"),\"inputsContainer slds-p-horizontal_medium slds-is-relative\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsFilters","path":"v.priv_loading"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsFilters","path":"v.priv_searchInProgress"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-nav-vertical__section"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-nav-vertical__title slds-p-left_x-small"}},"tag":{"descriptor":"tag","value":"h3"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsFilters","path":"$Label.LightningSearchUI.RefineBy"}}}}}]}}}},{"componentDef":{"descriptor":"markup://lightning:button"},"localId":"clearAllButton","attributes":{"values":{"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsFilters","path":"c.handleClearAllClicked"}},"variant":{"descriptor":"variant","value":"base"},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:resultsFilters","path":"$Label.LightningSearchUI.ClearAll"}},"class":{"descriptor":"class","value":"clearAllButton slds-button--reset slds-text-link slds-text-body_small slds-line-height--reset slds-hide"}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"loadingErrorMessage","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-grid slds-text-color--error slds-p-horizontal_medium slds-p-vertical_small"}},"tag":{"descriptor":"tag","value":"p"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsFilters","path":"$Label.LightningSearchUI.FilterLoadingError"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.priv_hasError\")&&!(cmp.get(\"v.priv_searchInProgress\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsFilters","path":"v.priv_hasError"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsFilters","path":"v.priv_searchInProgress"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:iteration"},"localId":"filterInputs","attributes":{"values":{"var":{"descriptor":"var","value":"filterInput"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsFilters","path":"filterInput"}}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsFilters","path":"v.priv_filterInputCmps"}}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:spinner","type":"module"},"localId":"spinner","attributes":{"values":{"class":{"descriptor":"class","value":"loadingSpinner"},"alternativeText":{"descriptor":"alternativeText","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:resultsFilters","path":"$Label.LightningSearchUI.ResultsFiltersLoading"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsFilters","path":"v.priv_loading"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:resultsFilters","path":"v.priv_showFilters"}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:editTopicsAction",function(){/*$A.componentService.addComponentClass("markup://forceChatter:editTopicsAction",function(){return{meta:{name:"forceChatter$editTopicsAction","extends":"markup://aura:component"},controller:{run:function(a,b,c){$A.getEvt("markup://forceChatter:enableEditTopics").setParams({feedItemId:a.get("v.feedItemId")}).fire()}}}});return {"xs":"I","descriptor":"markup://forceChatter:editTopicsAction","ad":[["body","aura://Aura.Component[]","G",false,[]],["context","aura://Object","I",false,null],["feedItemId","aura://String","I",false]],"i":["markup://force:runnable"],"re":[{"ed":"markup://force:run","n":"run","xs":"I"},{"ed":"markup://force:run","n":"afterRun","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.run"},"n":"run"}],"css":true}*/});
$A.componentService.addComponent("markup://ui:pillContainer",function(){/*$A.componentService.addComponentClass("markup://ui:pillContainer",function(){return{meta:{name:"ui$pillContainer","extends":"markup://aura:component"},controller:{init:function(a){var b=a.get("v.pillInput");$A.util.isEmpty(b)||(b[0].addHandler("onItemSelected",a,"c.onItemSelected"),b[0].addHandler("onBackspacePressedWhenEmpty",a,"c.onBackspacePressedWhenEmpty"))},relayPillEvent:function(a,b){var c=a.getEvent(b.getName());c&&(c.setParams(b.getParams()),c.fire())},onItemSelected:function(a,b,c){(b=
b.getParam("value"))&&c.handleItemSelected(a,[b])},onBackspacePressedWhenEmpty:function(a,b,c){b=a.get("v.items");0<b.length&&c.focusItem(a,b,0)},handlePillEvent:function(a,b,c){c.handlePillEvent(a,b)},focusOnInputBox:function(a,b,c){c.focusOnInputBox(a)},insertItems:function(a,b,c){b=b.getParam("arguments");var d=b.items;d&&c.insertItems(a,d,b.fireInsertedEvent)},removeItems:function(a,b,c){if(b=b.getParam("arguments")){var d=b.items;d&&c.deleteItem(a,d,b.fireRemovedEvent)}},clear:function(a){a.set("v.items",
[])},onItemsChanged:function(a,b,c){c.updateDisplayedItems(a)},onShowMore:function(a,b,c){c.expand(a)},onClickBackground:function(a,b,c){b.target===a.find("list").getElement()&&(b.stopImmediatePropagation(),b.preventDefault(),c.focusOnInputBox(a))},onInputFocus:function(a){$A.util.addClass(a.getElement(),"focused");a=a.find("list").getElement();a.scrollTop=a.scrollHeight},onInputBlur:function(a){$A.util.removeClass(a.getElement(),"focused");a.find("list").getElement().scrollTop=0},pillIterationComplete:function(a,
b,c){setTimeout($A.getCallback(function(){a.isValid()&&c.adjustHeight(a)}),0)},focus:function(a,b,c){c.focusOnInputBox(a)},collapse:function(a,b,c){c.collapse(a)},expand:function(a,b,c){c.expand(a)}},helper:{INPUT_MIN_WIDTH_PX:100,SCROLL_BAR_MARGIN_PX:20,handleItemSelected:function(a,b){if(!$A.util.isEmpty(b)&&$A.util.isArray(b)){this.insertItems(a,b,!0);var c=a.get("v.items").length,d=a.get("v.maxAllowed");c>=d&&window.setTimeout(function(){$A.run(function(){if(a.isValid()){var b=a.find("pill");
$A.util.isEmpty(b)||($A.util.isArray(b)?b[b.length-1].focus():b.focus())}})},0)}},insertItems:function(a,b,c){for(var d=a.get("v.items"),e=!1,f=0;f<b.length&&!this._hasReachedMax(a,d);f++){if(!b[f].hasOwnProperty("label"))throw Error("Can't insert pill. New pill items must have label property.");if(!this._itemExists(d,b[f])&&(e=!0,d.push(b[f]),c)){var g=a.get("e.pillInserted");g.setParams({value:b[f]});g.fire()}}e&&a.set("v.items",d);this.focusOnInputBox(a)},updateDisplayedItems:function(a){var b=
a.get("v.items"),c=a.get("v.maxAllowed");b.length>c&&(b.splice(c-1,b.length-c),a.set("v.items",b));b.length===c?$A.util.addClass(a.getElement(),"maxAllowed"):$A.util.removeClass(a.getElement(),"maxAllowed");this._setActiveItem(a,0)},handlePillEvent:function(a,b){var c=b.getParams(),d=c.value.action,c={id:c.value.id,label:c.value.label};d&&("focusPrevItem"===d?this.focusItem(a,c,-1):"focusNextItem"===d?this.focusItem(a,c,1):"focusLastItem"===d?this.focusItem(a,c,0):"delete"===d&&this.deleteItem(a,
c,!0))},deleteItem:function(a,b,c){if(a.get("v.allowRemove")){var d=this;window.setTimeout(function(){$A.run(function(){a.isValid()&&d._deleteItem(a,b,c)})},0)}},focusItem:function(a,b,c){if(!isNaN(c)){var d=a.find("pill");if(!$A.util.isUndefinedOrNull(d)){var d=$A.util.isArray(d)?d:[d],e=0;if(0===c)e=d.length-1;else for(var f=0;f<d.length;f++)if(this._isEqual(b,{id:d[f].get("v.id"),label:d[f].get("v.label")})){e=f+c;break}e>=d.length?this.focusOnInputBox(a)||(d[0].focus(),this._setActiveItem(a,0)):
0>e?(d[d.length-1].focus(),this._setActiveItem(a,d.length-1)):(d[e].focus(),this._setActiveItem(a,e))}}},focusOnInputBox:function(a){var b=!1,c=a.get("v.pillInput"),d=a.get("v.items"),e=d.length,f=a.get("v.maxAllowed");$A.util.isEmpty(c)?$A.util.addClass(a.getElement(),"noinput"):e<f&&(c[0].focus(),b=!0);!b&&0<e&&this.focusItem(a,d,0);return b},adjustHeight:function(a){if(!a.get("v.expanded")){var b=!0,c=a.get("v.maxLines"),d=a.find("list"),e=null;d&&(e=d.getElement());if(0<c&&e&&(e=e.querySelectorAll("li.pillContainerListItem"),
!$A.util.isEmpty(e))){var f;1<e.length?(f=e[0],e=e[e.length-1]):e=f=e[0];f&&(f=this._getActualHeight(f),c*=f,d.getElement().style.maxHeight=c+"px",e.offsetTop-d.getElement().offsetTop+f>c&&(b=!1))}b?$A.util.addClass(a.find("showMore").getElement(),"invisible"):$A.util.removeClass(a.find("showMore").getElement(),"invisible")}},expand:function(a){a.find("list").getElement().style.maxHeight="";$A.util.addClass(a.find("showMore").getElement(),"invisible");a.set("v.expanded",!0);var b=a.get("v.items");
0<b.length&&this.focusItem(a,b,0)},collapse:function(a){a.set("v.expanded",!1);this.adjustHeight(a)},_getActualHeight:function(a){var b;$A.util.isIE&&document.all?(b=a.currentStyle.height,a=parseInt(a.currentStyle.marginTop,10)+parseInt(a.currentStyle.marginBottom,10)):(a=getComputedStyle(a,null)||a.style,b=parseInt(a.height),a=parseInt(a.marginTop)+parseInt(a.marginBottom));return b+a},_itemExists:function(a,b){for(var c=!1,d=0;d<a.length;d++)if(this._isEqual(a[d],b)){c=!0;break}return c},_hasReachedMax:function(a,
b){return b.length>=a.get("v.maxAllowed")},_isEqual:function(a,b){return a.id?a.id===b.id:a.label.toLowerCase()===b.label.toLowerCase()},_deleteItem:function(a,b,c){for(var d=a.get("v.items"),e=d.length,f=0;f<e;f++)if(this._isEqual(b,d[f])){d.splice(f,1);a.set("v.items",d);(d=0===d.length)?this.focusOnInputBox(a):this.setFocusRightPill(f,a);c&&(a=a.get("e.pillRemoved"),a.setParams({value:b}),a.fire());break}},setFocusRightPill:function(a,b){var c=b.find("pill"),d=0===a?1:a-1;c[d].focus();this._setActiveItem(b,
d)},_setActiveItem:function(a,b){var c=a.find("pill");if(c)if($A.util.isArray(c))for(var d=0;d<c.length;d++)c[d].set("v.active",d===b);else c.set("v.active",0===b)}},renderer:{afterRender:function(a,b){a.superAfterRender();b.updateDisplayedItems(a);a.get("v.focusOnInput")&&b.focusOnInputBox(a)}}}});return {"xs":"PP","descriptor":"markup://ui:pillContainer","st":{"descriptor":"css://ui.pillContainer","cl":"uiPillContainer"},"fst":{"descriptor":"css://ui.pillContainer"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["items","aura://List","PP",false,[]],["maxAllowed","aura://Integer","PP",false,10],["maxLines","aura://Integer","PP",false,0],["focusOnInput","aura://Boolean","PP",false,true],["allowRemove","aura://Boolean","PP",false,true],["pillInput","aura://Aura.Component[]","PP",false,[]],["showMoreLabel","aura://String","I",false,"Show More ▾"],["pillFlavor","aura://String","PP",false,"default"],["assistiveTextLabel","aura://String","I",false],["expanded","aura://Boolean","p",false,false]],"med":[{"name":"ui:focus","xs":"I"},{"name":"ui:insertItems","xs":"I","attributes":[["items","aura://List","I",false,[]],["fireInsertedEvent","aura://Boolean","I",false,"true"]]},{"name":"ui:removeItems","xs":"I","attributes":[["items","aura://List","I",false,[]],["fireRemovedEvent","aura://Boolean","I",false,"true"]]},{"name":"ui:clear","xs":"I"},{"name":"ui:collapse","xs":"I"},{"name":"ui:expand","xs":"I"}],"i":["markup://ui:focusable"],"re":[{"ed":"markup://ui:focus","n":"focus","xs":"G"},{"ed":"markup://ui:blur","n":"blur","xs":"G"},{"ed":"markup://ui:response","n":"pillInserted","xs":"PP"},{"ed":"markup://ui:response","n":"pillRemoved","xs":"PP"}],"hd":[{"ed":{"descriptor":"markup://ui:blur"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onInputFocus"},"n":"blur"},{"ed":{"descriptor":"markup://ui:focus"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onInputBlur"},"n":"focus"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onItemsChanged"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.items"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onItemsChanged"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.maxAllowed"},"n":"change"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"flavorable":true,"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"role":"application","onmousedown":{"exprType":"PROPERTY","byValue":false,"target":"ui:pillContainer","path":"c.onClickBackground"}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"id":"assistiveTextForPill","class":"assistiveText"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:pillContainer","path":"v.assistiveTextLabel"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"showMore","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onclick":{"exprType":"PROPERTY","byValue":false,"target":"ui:pillContainer","path":"c.onShowMore"},"class":"showMore invisible"}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:pillContainer","path":"v.showMoreLabel"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"list","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"orderedList"}},"tag":{"descriptor":"tag","value":"ul"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:iteration"},"localId":"pills","attributes":{"values":{"var":{"descriptor":"var","value":"item"},"iterationComplete":{"descriptor":"iterationComplete","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:pillContainer","path":"c.pillIterationComplete"}},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"listitem","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"pillContainerListItem"}},"tag":{"descriptor":"tag","value":"li"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:pill"},"localId":"pill","flavor":{"exprType":"PROPERTY","byValue":false,"target":"ui:pillContainer","path":"v.pillFlavor"},"attributes":{"values":{"iconBackgroundColor":{"descriptor":"iconBackgroundColor","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:pillContainer","path":"item.icon.backgroundColor"}},"showDelete":{"descriptor":"showDelete","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:pillContainer","path":"v.allowRemove"}},"ariaLabelledBy":{"descriptor":"ariaLabelledBy","value":"assistiveTextForPill"},"iconUrl":{"descriptor":"iconUrl","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:pillContainer","path":"item.icon.url"}},"focus":{"descriptor":"focus","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:pillContainer","path":"c.relayPillEvent"}},"blur":{"descriptor":"blur","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:pillContainer","path":"c.relayPillEvent"}},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:pillContainer","path":"item.label"}},"id":{"descriptor":"id","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:pillContainer","path":"item.id"}},"iconAlt":{"descriptor":"iconAlt","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:pillContainer","path":"item.icon.alt"}},"onHandledEvent":{"descriptor":"onHandledEvent","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:pillContainer","path":"c.handlePillEvent"}}}}}]}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:pillContainer","path":"v.items"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"inputListItem","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"role":"presentation","class":"pillContainerListItem"}},"tag":{"descriptor":"tag","value":"li"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:pillContainer","path":"v.pillInput"}}}}}]}}}}]}}}}]}}}}]}],"df":"default","fc":true,"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:inputLookupDesktop",function(){/*$A.componentService.addComponentClass("markup://forceSearch:inputLookupDesktop",function(){return{meta:{name:"forceSearch$inputLookupDesktop","extends":"markup://ui:input",imports:{typeAheadLib:"markup://force:searchTypeAheadLib",fmLib:"markup://ui:focusManagerLib",domLib:"markup://lightning:domLibrary",slib:"markup://forceSearch:searchLibrary",stackedNavigationApi:"markup://navex:stackedNavigationApi",recordActionsLib:"markup://one:recordActionsLib"}},controller:{init:function(a,b,c){c.init(a)},
destroy:function(a,b,c){!0===a.get("v.priv_hasOpenedPanel")&&c.decrementPanelCount(a)},handlePanelDestroyed:function(a,b,c){c.handlePanelDestroyed(a)},valuesChangeHandler:function(a,b,c){c.valuesChanged(a)},valueChangeHandler:function(a,b,c){b=c.getValuesFromValue(a);JSON.stringify(b)!==JSON.stringify(a.get("v.values"))&&a.set("v.values",b)},setFocus:function(a,b,c){c.setFocus(a,b)},inputIsDirtyChangeHandler:function(a,b,c){b.getParam("value")?(a.set("v.priv_valueCopy",a.get("v.value")),a.set("v.value",
"MALFORMED_ID")):(a.set("v.value",a.get("v.priv_valueCopy")),a.set("v.errors",[]))},errorsChangeHandler:function(a,b,c){if(b=a.get("v.errors")){c=0;for(var d=b.length;c<d;c++)"MALFORMED_ID"===b[c].statusCode&&(b[c].message=a.get("v.labelInvalidOption"))}},maxValuesChangeHandler:function(a,b,c){c.updateLookupState(a);c.updateSinglePillStyling(a)},pillInsertedHandler:function(a,b,c){c.pillInserted(a)},pillRemovedHandler:function(a,b,c){c.pillRemoved(a)},inputChange:function(a,b,c){c.slib.logging.logPerf(a,
"lookup-user-experience","START");(b=b.getParam("value"))?a.set("v.priv_inputIsDirty",!0):a.set("v.priv_inputIsDirty",!1);c.setTerm(a,b,!1)},keydown:function(a,b,c){b=b.getParam("keyCode");var d=c.getAutocompleteList(a);d&&c.hasEntities(a)&&(40===b&&!d.get("v.visible")?c.openPopup(a):9===b&&(c.setFocusOnTabOut(d.getElement()),c.hideList(a)))},keypress:function(a,b,c){if(c.hasEntities(a)&&13===b.getParam("keyCode")){var d=c.getInput(a);d&&c.shouldFireEnterPressed(a)&&a.getEvent("enterPressed").setParams({value:d.get("v.value")}).fire();
(d=c.getAutocompleteList(a))&&(d.get("v.visible")&&a.get("v.dataProviderProvidesIds"))&&c.executeAdvancedSearch(a,b)}},matchFunc:function(a,b,c){c.match(a)},selectListOption:function(a,b,c){if(b.getParam("isHeader"))c.logActionClick(a,c.slib.action.SEARCH_OPTION),c.executeAdvancedSearch(a);else if(b.getParam("isFooter"))c.logActionClick(a,c.slib.action.CREATE_OPTION),c.createNewClicked(a);else{a.set("v.priv_inputIsDirty",!1);var d=b.getParam("option");if(d){b=Object.create(null);b.qType=d.get("v.qType");
b.position=d.get("v.visIndex");b.searchString=d.get("v.keyword");var e=d.get("v.value");e&&(b.recordId=e.id,b.recordName=e.label,a.find("pillContainer").insertItems([e]),c.notifyListenersOfAdditionalFields(a,d.get("v.allFields")));if(d=c.getAutocompleteDataProvider(a))b.queryId=d.get("v.queryId");c.logItemClick(a,b)}c.hideList(a)}},inputClick:function(a,b,c){c.inputFocused(a)},inputFocus:function(a,b,c){a.get("v.priv_inputHasFocus")||(c.slib.logging.logPerf(a,"lookup-user-experience","START"),$A.get("e.ui:getActivePanel").setParams({callback:function(a){a&&
a.set("v.autoFocus",!1)}}).fire(),a.set("v.priv_inputHasFocus",!0),c.inputFocused(a))},inputBlur:function(a,b,c){a.get("v.priv_inputHasFocus")&&(a.set("v.priv_inputHasFocus",!1),a.get("v.dataProviderProvidesIds")||(b=(b=a.find("autocomplete"))&&b.getElement().value)&&0!==b.length&&a.set("v.value",b),$A.util.removeClass(a.find("contentWrapper"),"focused"),c.updateInvalidSelectionError(a),c.updateCompactLookupState(a))},pillContainerFocus:function(a,b,c){!c.isSingleSelect(a)&&!c.isVisible(a.find("inputWrapper"))&&
a.set("v.priv_openPopupOnFocus",!1);b=!0;a.get("v.priv_isCollapsed")&&(b=!1,c.isMultiEntity(a)?a.set("v.priv_focusOnEntitySelector",!0):a.set("v.priv_focusOnInput",!0));c.updateCompactLookupState(a);!a.get("v.readOnly")&&(c.hasSelectedValues(a)&&b)&&c.showValueClearAssistiveText(a)},pillContainerBlur:function(a,b,c){c.hideValueClearAssistiveText(a);c.updateCompactLookupState(a)},entityMenuFocus:function(a,b,c){c.fireBlurEvent(a);c.updateInvalidSelectionError(a);c.updateCompactLookupState(a)},entityMenuBlur:function(a,
b,c){c.updateInvalidSelectionError(a);c.updateCompactLookupState(a)},entityMenuCollapse:function(a,b,c){window.requestAnimationFrame($A.getCallback(function(){c.fireFocusEvent(a)}));c.updateInvalidSelectionError(a);c.updateCompactLookupState(a)},resize:function(a,b,c){c.updateListWidth(a)},updateInvalidSelectionError:function(a,b,c){c.updateInvalidSelectionError(a)},entitiesAvailable:function(a,b,c){c.setInputState(a,!1)},entitiesUnavailable:function(a,b,c){c.setInputState(a,!0)},entitySelected:function(a,
b,c){b=b.getParam("entity");var d=a.get("v.priv_currentEntity");b&&(b.name&&!(d&&d.name===b.name))&&(a.isRendered()?c.updateSelectedEntity(a,b):(a.set("v.priv_reloadEntityOnRender",!0),a.set("v.priv_currentEntity",b),c.setReferenceAttribute(a,"v.selectedSObjectType",b.name)))},setEntityStateHandler:function(a,b,c){a=a.find("entitySelector");b=b.getParam("arguments");a&&a.setEntityState(b.entities,b.selectedEntityIndex,b.entityMenuItemStates)},appendItems:function(a,b,c){b=b.getParam("arguments");
c.appendItems(a,b.items)},recordCreatedHandler:function(a,b,c){b.getParam("ownerId")===a.getGlobalId()&&c.appendItems(a,[{id:b.getParam("id"),Name:b.getParam("label")}])},updateValues:function(a,b,c){if((b=b.getParam("arguments"))&&b.values){c=a.get("v.values");var d=b.values,e=0;c&&(Array.isArray(c)&&d&&Array.isArray(d))&&(e=d.length-c.length);a.set("v.values",b.values);0<e?a.getEvent("valueAdded").fire():0>e&&a.getEvent("valueRemoved").fire()}},resetInput:function(a,b,c){c.resetForModal(a)},multiSelectFocusTrapFocus:function(a,
b,c){c.updateCompactLookupState(a);a.set("v.priv_focusOnPillContainer",!0);c.updateFocus(a)}},helper:{init:function(a){var b=a.get("v.values");if(void 0===b||null===b||0===b.length)b=this.getValuesFromValue(a);if(a.get("v.dataProviderProvidesIds")){var c=this;this.resolveRecords(a,b,function(b){c.updateEntityState(a,b);c.setValuesInternal(a,b);c.updateSinglePillStyling(a)})}else this.setValuesInternal(a,b),this.updateSinglePillStyling(a);var d=a.get("v.initialText");d&&0===b.length&&this.setTerm(a,
d,!0)},getValuesFromValue:function(a){var b=a.get("v.value");return void 0===b||null===b||""===b?[]:a.get("v.dataProviderProvidesIds")?b.split(",").map(function(a){return{id:a}}):[{label:b}]},updateEntityState:function(a,b){if(!(1<a.get("v.maxValues"))){var c=b&&1===b.length?b[0].type:null,d=a.get("v.entities");if(d&&c&&c!==a.get("v.priv_currentEntity").name)for(var e=0;e<d.length;e++)if(c===d[e].name){a.setEntityState(null,e,null);break}}},setFocus:function(a){$A.util.isEmpty(a.get("v.value"))?a.set("v.priv_focusOnInput",
!0):a.set("v.priv_focusOnPillContainer",!0);this.updateFocus(a)},showEntitySelectorIfAppropriate:function(a){var b=!1;this.isMultiEntity(a)&&(b=!(this.isSingleSelect(a)&&1===a.get("v.values").length));a.set("v.priv_showEntitySelector",b);this.updateEntityMenuWidth(a);var c=this.getAutocomplete(a);c&&(a=b?a.find("entitySelector"):null,c.set("v.listReferenceComponent",a));return b},updateEntityMenuWidth:function(a){var b=a.getElement();if(b&&(a=a.find("actionMenu"))&&a.getElement())b=b.offsetWidth,
a.getElement().style.maxWidth=b-10+"px"},pillInserted:function(a){this.logPillAction(a,"INSERT");a.get("v.clearInputOnPillAdd")&&this.setTerm(a,"",!0);this.updateValueAttributes(a);this.showEntitySelectorIfAppropriate(a);this.updateLookupState(a);this.hasMaxPills(a)&&a.set("v.priv_focusOnPillContainer",!0);(a=a.getEvent("valueAdded"))&&a.fire()},pillRemoved:function(a){this.logPillAction(a,"REMOVE");this.updateValueAttributes(a);this.showEntitySelectorIfAppropriate(a);this.updateLookupState(a);this.hasPills(a)||
a.set("v.priv_focusOnInput",!0);a.getEvent("valueRemoved").fire();this.hideList(a)},updateLookupState:function(a){this.setInputState(a);var b=this.hasPills(a);this.isSingleSelect(a)&&this.setInputWrapperVisibility(a,!b);this.setVisibility(a.find("pillContainerWrapper"),b);this.updateCompactLookupState(a)},setInputState:function(a,b){var c;c=this.isSingleSelect(a)?!1:this.hasMaxPills(a);b=b||c;if(a.get("v.priv_isInputDisabled")!==b){c=this.getInput(a);var d=a.find("inputWrapper");if(c&&d){if(this.isMultiEntity(a)){var e=
a.find("entitySelector");e&&e.set("v.disabled",b)}c.set("v.disabled",b);b?$A.util.addClass(d,"disabled"):$A.util.removeClass(d,"disabled");a.set("v.priv_isInputDisabled",b)}}},updateInvalidSelectionError:function(a){var b=this;window.setTimeout($A.getCallback(function(){b._updateInvalidSelectionError(a)}),200)},_updateInvalidSelectionError:function(a){a&&(a.get("v.displayErrorOnBlur")&&a.get("v.priv_inputIsDirty"))&&(!a.get("v.allowOtherOption")&&!this.doesLookupHaveFocus(a)?a.set("v.errors",[{message:a.get("v.labelInvalidOption")}]):
(a.get("v.enableAdvancedSearch")||a.get("v.priv_createNewEvent"))&&a.set("v.errors",[]))},valuesChanged:function(a){if(a.get("v.priv_resolveValuesOnChange")&&a.get("v.dataProviderProvidesIds")){var b=a.get("v.entities")||[],c=a.get("v.values")||[];1===b.length&&1===c.length&&a.set("v.selectedLabel",(c[0]||{}).label||"");var d=this;this.resolveRecords(a,c,function(b){d.setValuesInternal(a,b)})}},isMultiEntity:function(a){return 1<a.get("v.entities").length},hasMaxPills:function(a){return a.get("v.values").length>=
a.get("v.maxValues")},isMultiSelect:function(a){return 1<a.get("v.maxValues")},isSingleSelect:function(a){return!this.isMultiSelect(a)},hasEntities:function(a){return(a=a.get("v.entities"))&&0<a.length},hasPills:function(a){return(a=a.get("v.values"))&&0<a.length},isResolvedRecord:function(a){return a&&void 0!==a.icon&&a.type&&!a.type.match("__x$")&&a.label},setValuesInternal:function(a,b){if(void 0===b||null===b)b=[];a.set("v.priv_resolveValuesOnChange",!1);a.set("v.values",b);if(0<b.length){var c=
a.get("v.priv_previousSelections")||[],c=b.map(function(a){return{id:a.id,type:a.type,label:a.label}});a.set("v.priv_previousSelections",c)}a.set("v.priv_resolveValuesOnChange",!0);this.updateValueAttributes(a);this.updateLookupState(a);(c=a.find("pillContainer"))&&c.set("v.items",b)},updateValueAttributes:function(a){for(var b=a.get("v.values")||[],c=a.get("v.priv_currentEntity")||{},d=0===b.length?"":b[0].label,c=c.name||"",e=0;e<b.length;e++)b[e].icon&&b[e].icon.alt&&(b[e].icon.alt="");a.get("v.dataProviderProvidesIds")?
a.set("v.value",b.map(function(a){return a.externalId||a.id}).join(",")):a.set("v.value",b.map(function(a){return a.label}).join(","));this.setReferenceAttribute(a,"v.selectedSObjectType",c);this.setReferenceAttribute(a,"v.selectedLabel",d);this.computeLookupSelectionAriaLabel(a,b);this.hasSelectedValues(a)||this.hideValueClearAssistiveText(a)},resolveRecords:function(a,b,c){var d=this,e=a.get("v.entities")||[];if(1===e.length&&1===b.length&&b[0]){var e=e[0]||{},f=b[0];f.icon={url:e.icon,backgroundColor:e.color,
alt:e.label};var g=a.get("v.priv_previousSelections");if(Array.isArray(g))for(var h=0;h<g.length;h++)if(g[h].id===b[0].id){f.type=g[h].type;f.label=g[h].label;break}d.isResolvedRecord(f)||(f.type=e.name,f.label=(f||{}).Name||a.get("v.selectedLabel"))}e=b.filter(function(a){return!d.isResolvedRecord(a)&&void 0===a.error});if(0===b.length||0===e.length)c&&c.call(this,b);else{var k=a.get("v.priv_resolveId")+1;a.set("v.priv_resolveId",k);var f=a.get("c.getRecordInfo"),m=[],m=e.map(function(a){return a.id}),
g=[],g=e.map(function(a){return a.type});f.setParams({recordIds:m,entityApiNames:g});f.setCallback(this,function(e){if("SUCCESS"===e.getState()&&a.get("v.priv_resolveId")===k){e=e.getReturnValue();for(var f=a.get("v.priv_noAccessLabel"),g=[],h=0;h<b.length;++h){var n=b[h],l=e[n.id];l&&l.error?(n.error=l.error,n.label=f):l&&(n.icon={url:l.iconUrl,backgroundColor:l.iconColor,alt:l.iconLabel},n.type=l.type,n.typeLabel=l.typeLabel,n.label=l.name,void 0!==l.externalId&&(n.externalId=l.externalId));(l||
-1===m.indexOf(n.id))&&g.push(n)}c&&c.call(d,g)}});f.setStorable({executeCallbackIfUpdated:!1});f.setAbortable(!1);$A.enqueueAction(f)}},updateSelectedEntity:function(a,b){a.set("v.entityIsDirty",!0);this.setCurrentSObjectType(a,b);this.updateSearchItem(a);this.updateInvalidSelectionError(a);this.doesInputHaveFocus(a)&&(this.hideList(a),this.setFocus(a))},setCurrentSObjectType:function(a,b){if(b&&b.name){this.setCurrentEntity(a,b);var c=this.getAutocompleteDataProvider(a);null!==c&&c.set("v.entityType",
b.name);this.clearNewButton(a);a.getEvent("entityChanged").fire()}},fetchData:function(a,b){this.getAutocomplete(a).getEvent("fetchData").setParams({parameters:{keyword:b}}).fire()},setCurrentEntity:function(a,b){var c=a.get("v.record"),d=a.get("v.relationshipName");a.set("v.priv_currentEntity",b);c&&(c[d]&&c[d].sobjectType&&c[d].sobjectType!==b.name)&&(c[d]=void 0);this.setReferenceAttribute(a,"v.selectedSObjectType",b.name);this.updateLabels(a)},updateLabels:function(a){var b=a.get("v.placeholder");
if(void 0!==b&&null!==b)a.set("v.priv_displayedPlaceholder",b),a.set("v.priv_displayedTooltip",b);else{var b=$A.get("$Label.LightningSearchUI.SingleEntityLookupPlaceholder"),c=$A.get("$Label.LightningSearchUI.SingleEntityLookupTooltip"),d=this.getEntityPluralLabel(a),b=b.replace(/<entit(y|ies)>/i,d),c=c.replace(/<entit(y|ies)>/i,d);a.set("v.priv_displayedPlaceholder",b);a.set("v.priv_displayedTooltip",c)}},match:function(a){var b=this.getAutocompleteList(a),c=b?b.get("v.items"):null;if(!(null===c||
0===c.length)){var d=b.get("v.keyword")||"";if(0===d.trim().length){var e=this.getInput(a);null!==e&&void 0!==e&&(d=e.get("v.value")||"")}0===d.trim().length?this.showDefaultOptions(a,b,c):this.showMatchingOptions(a,b,c,d)}},showDefaultOptions:function(a,b,c){if(b=this.getAutocompleteList(a)){var d=a.get("v.maxOptions"),e=0,f=0;this.tagSelectedItems(a.get("v.values"),c);for(var g=0,h=c.length;g<h;g++){var k=c[g];e<d&&!k.isSelectedValue?(k.visible=!0,k.visIndex=e++,f++):(k.visible=!1,k.visIndex=-1);
k.keyword="";k.absIndex=g}a.set("v.priv_visibleMRUCount",f);a.set("v.priv_visibleTypeaheadCount",0);b.set("v.items",c)}},showMatchingOptions:function(a,b,c,d){try{var e=a.get("v.maxOptions"),f=a.get("v.matchOnContains"),g=0,h=0,k=0,m=d.trim().toLowerCase().split(/\s+/),q=0;this.tagSelectedItems(a.get("v.values"),c);var r=null,p=a.get("v.matchOptionFunc");if(Array.isArray(p)&&0<p.length){var s=p[0];s&&s.isInstanceOf("forceSearch:inputLookupDesktopMatchProvider")&&(r=s.match)}for(var p=0,n=c.length;p<
n;p++){var l=c[p],t=this.isMatch(l,m,f,r);l.visible=t&&!l.isSelectedValue&&g++<e;l.keyword=d;l.absIndex=p;if(l.visible)switch(l.visIndex=q++,l.qType){case "MRU":h++;break;case "Typeahead":k++}else l.visIndex=-1}a.set("v.priv_visibleMRUCount",h);a.set("v.priv_visibleTypeaheadCount",k)}catch(u){this.showDefaultOptions(a,b,c)}},isMatch:function(a,b,c,d){var e,f=a.label,g=a.secondLabel;null!==d?(a=$A.getCallback(function(a){e=a}),d(f,g,b,a)):e="Typeahead"===a.qType?!0:this.typeAheadLib.util.getMatches(f+
(g?" "+g:""),b,c,!0).AllMatch;return e},tagSelectedItems:function(a,b){if(Array.isArray(a)&&Array.isArray(b))for(var c=0;c<b.length;c++){var d=b[c],e=d.value;e&&e.id&&(e=e.id);for(var f=!1,g=0;g<a.length;g++){var h=a[g];h&&h.id&&(h=h.id);if(h===e){f=!0;break}}d.isSelectedValue=f}},fireMatchText:function(a,b){var c=this.getAutocomplete(a);if(c&&(c=c.get("e.matchText"))){if(!b){var d=this.getInput(a);if(!d)return;b=d.get("v.value")}c.setParams({keyword:b}).fire()}},getLogContext:function(a,b,c){var d=
c.get("v.value");return{injectPageUsageInfo:!0,data:{type:(a.get("v.priv_currentEntity")||{}).name,typeIndex:a.get("v.selectedEntityIndex"),option:d?d.id:"",optionVisIndex:c.get("v.visIndex"),optionAbsIndex:c.get("v.absIndex"),qType:c.get("v.qType")},usageInfo:{sAction:"ClickAction",target:"forceSearch:lookup",target2:b,actionLocation:a.get("v.loggingActionLocation"),location:a.get("v.loggingLocation"),gusTeamId:"a00B0000000wkIfIAI"}}},updateListWidth:function(a){var b=this.getAutocompleteList(a),
c=a.find("contentWrapper"),d=a.find("autocompleteWrapper");a=a.find("entitySelector");if(b&&c&&d&&a)try{var e=b.getElement(),f=c.getElement(),g=d.getElement(),h=a.getElement();if(!(null===e||null===f||null===g)){e.style.width=f.clientWidth+"px";var k=null!==h&&!h.classList.contains("slds-hide"),m=f.clientWidth>g.clientWidth;k&&m&&b.helper.positionList(b)}}catch(q){}},getAutocomplete:function(a){try{return a.find("autocomplete")}catch(b){return null}},getAutocompleteDataProvider:function(a){try{return this.getAutocomplete(a).get("v.dataProvider")[0]}catch(b){return null}},
getInput:function(a){try{return this.getAutocomplete(a).find("input")}catch(b){return null}},getAutocompleteList:function(a){try{return this.getAutocomplete(a).find("list")}catch(b){return null}},hideList:function(a){(a=this.getAutocompleteList(a))&&a.set("v.visible",!1)},showList:function(a){var b=this.getAutocompleteList(a);b&&a.get("v.values").length<a.get("v.maxValues")&&b.set("v.visible",!0)},setVisibility:function(a,b){a&&(b?$A.util.removeClass(a,"slds-hide"):$A.util.addClass(a,"slds-hide"))},
setInputWrapperVisibility:function(a,b){this.setVisibility(a.find("inputWrapper"),b);var c=a.find("pillContainerWrapper");b?$A.util.removeClass(c,"noSeparator"):$A.util.addClass(c,"noSeparator")},isEntitySelectorOpen:function(a){try{return a.find("entitySelector").find("actionMenu").get("v.visible")}catch(b){return!1}},isVisible:function(a){return a&&!$A.util.hasClass(a,"slds-hide")},updateCompactLookupState:function(a){var b=this;if(!b.isSingleSelect(a)){var c=!b.doesLookupHaveFocus(a)&&b.hasPills(a)&&
!b.isEntitySelectorOpen(a),d=a.get("v.priv_inputBlurTimeoutId");null!==d&&void 0!==d&&(window.clearTimeout(d),a.set("v.priv_inputBlurTimeoutId",null));c?(d=window.setTimeout($A.getCallback(function(){if(!b.doesLookupHaveFocus(a)){b.setInputWrapperVisibility(a,!1);var c=a.find("pillContainer");c&&(c.collapse(c),a.set("v.priv_isCollapsed",!0),b.updateFocus(a))}}),350),a.set("v.priv_inputBlurTimeoutId",d)):(this.setInputWrapperVisibility(a,!0),a.set("v.priv_isCollapsed",!1))}},doesLookupHaveFocus:function(a){try{var b=
window.document.activeElement,c=a.getElement();return c===b||c.contains(b)}catch(d){return!1}},doesInputHaveFocus:function(a){a=this.getInput(a);if(!a)return!1;a=a.getElement();if(!a)return!1;try{return a===window.document.activeElement}catch(b){return!1}},notifyListenersOfAdditionalFields:function(a,b){var c=this.getAutocompleteDataProvider(a);if(!(null===c||!b||this.isRunningAdvancedSearch(a))){var d=c.get("v.additionalFields");if(d){for(var c={},e=0,f=0,g=d.length;f<g;f++){var h=d[f].targetField,
k=b[d[f].sourceField];void 0!==k&&(e++,c[h]={value:k,isOverridable:d[f].isOverridable})}0!==e&&(d=$A.get("e.force:inputLookupAdditionalFieldsUpdate"),d.setParams({newAdditionalFields:c,parentId:a.getGlobalId()}),d.fire())}}},isRunningAdvancedSearch:function(a){a=a.get("v.inContextOfComponent");return"forceSearch:lookupAdvanced"===a||"force:multiAdd"===a},executeAdvancedSearch:function(a){if(a.get("v.enableAdvancedSearch")){this.hideList(a);var b=this.getInput(a),c=b?b.get("v.value"):null;if(this.typeAheadLib.util.isValidSearchString(c)){var d=
a.get("v.priv_currentEntity"),e={name:d.name,label:d.label,labelPlural:d.label};if(this.isRunningAdvancedSearch(a))a.getEvent("searchRefresh").setParams({parameters:{term:c,scopeMap:e}}).fire();else{var f=this,b=$A.get("$Label.LightningSearchUI.ScopedResults"),g=a.get("v.priv_currentEntity")||{},b=b.replace("{0}",g.label||a.get("v.label"));$A.get("e.ui:createPanel").setParams({panelType:"modal",visible:!0,panelConfig:{title:b,isTransient:!0,isScrollable:!1,owner:a.getGlobalId(),isFullScreen:!0,flavor:"large",
autoFocus:!1},onCreate:function(b){var g,m=f.getAutocompleteDataProvider(a);if(m&&(m=m.get("v.additionalFields"))){g=[];for(var q=0;q<m.length;++q){var r=m[q];void 0!==r.sourceField&&g.push(r.sourceField)}}$A.createComponent("forceSearch:lookupAdvanced",{entities:[d],term:c,scopeMap:e,scopeSets:{DEFAULT:[e]},placeholder:a.get("v.placeholder"),source:a.get("v.source"),field:a.get("v.field"),recordId:a.get("v.recordId"),contextId:a.get("v.contextId"),maxValues:a.get("v.maxValues")-a.get("v.values").length,
label:a.get("v.label"),additionalFields:g,dependentFieldBindings:a.get("v.dependentFieldBindings"),allowFallbackQueryWithNoContext:a.get("v.allowFallbackQueryWithNoContext"),additionalContext:a.get("v.additionalContext"),saveCallback:$A.getCallback(function(b){f.appendItems(a,b)}),groupId:"LOOKUP"},function(c){c&&(window.setTimeout($A.getCallback(function(){f.resetForModal(a)}),0),$A.createComponent("forceSearch:lookupAdvancedFooter",{"aura:id":"lookupAdvancedFooter"},function(d){d&&(f.fireBlurEvent(a),
b.set("v.footer",d),c.set("v.panel",b),b.update({body:c}))}))})},onDestroy:function(){setTimeout(function(){f.setFocus(a)},0)}}).fire()}}}},appendItems:function(a,b,c){b=b||[];var d;b.length&&(d=b[0],this.setReferenceAttribute(a,"v.value",d.id),this.setReferenceAttribute(a,"v.selectedLabel",d.label));this.fireFocusEvent(a);var e=(a.get("v.values")||[]).slice(),f=a.get("v.maxValues"),g=this;if(e.length>=f)c&&c();else{var h={},k,m=[];for(k=0;k<e.length;++k)h[e[k].id]=!0;for(k=0;k<b.length&&!(d=b[k],
!h[d.id]&&(m.push(d),m.length+e.length>=f));++k);this.resolveRecords(a,m,function(b){var d=a.get("v.priv_currentEntity");if(d){for(var d=d.name,f=!1,h,k=0;k<b.length;++k){var l=b[k];l.type===d&&(f||(f=!0,h=l),e.push(l))}f&&(a.set("v.priv_inputIsDirty",!1),this.setValuesInternal(a,e),this.setTerm(a,"",!0),a.getEvent("valueAdded").fire(),g.notifyListenersOfAdditionalFields(a,h.allFields));c&&c()}})}},focusOnInput:function(a){var b=this.getInput(a);b&&(b.focus(),this.inputFocused(a))},updateSearchItem:function(a){var b=
this.getAutocompleteList(a),c=this.getSearchItemLabel(a),d=this.getAutocomplete(a).get("v.listHeader");this.clearListHighlight(a);c?(a.set("v.priv_searchLabel",c),a.get("v.enableAdvancedSearch")&&(a.set("v.priv_showSearchListItem",!0),b&&d&&(b.set("v.headerSelected",!0),$A.util.addClass(d[0],"highlighted")))):a.set("v.priv_showSearchListItem",!1)},clearListHighlight:function(a){if(a=this.getAutocompleteList(a)){var b;if(b=a.find("iter"))b=b.get("v.body")||[],b.forEach(function(a){a.set("v.highlighted",
!1)});a.set("v.headerSelected",!1);(b=a.get("v.listHeader"))&&$A.util.removeClass(b[0],"highlighted");a.set("v.footerSelected",!1);(a=a.get("v.listFooter"))&&$A.util.removeClass(a[0],"highlighted")}},getSearchItemLabel:function(a){var b,c=this.getInput(a),c=c?c.get("v.value"):null;this.typeAheadLib.util.isValidSearchString(c)&&(b=$A.get("$Label.LightningSearchUI.MRUSearchForInObject").replace("{0}",c).replace("{1}",this.getEntityPluralLabel(a)));return b},getEntityPluralLabel:function(a){a=a.get("v.priv_currentEntity")||
{};return a.labelPlural||a.label||""},setTerm:function(a,b,c){if(null===b||void 0===b)b="";if(null===c||void 0===c)c=!1;var d=this.getInput(a),e=this.getAutocompleteDataProvider(a);if(d&&e&&(d.set("v.value",b),e.set("v.queryTerm",b),(d=this.getAutocompleteList(a))&&d.set("v.keyword",b),this.updateSearchItem(a),this.fetchData(a,b),this.fireMatchText(a,b),c)){var f=this;window.setTimeout($A.getCallback(function(){f.hideList(a)}),0)}},resetForModal:function(a){var b=this.getInput(a);if(b){var c=b.get("v.value");
if(!$A.util.isEmpty(c)&&(this.setTerm(a,"",!0),(b=b.find("txt"))&&b.getElement()))b.getElement().value=""}a.set("v.priv_inputIsDirty",!1);a.set("v.errors",[])},shouldDisplayNewButton:function(a){return a.get("v.enableCreateNew")},updateSinglePillStyling:function(a){this.isSingleSelect(a)?$A.util.addClass(a.find("pillContainerWrapper"),"singlePill"):$A.util.removeClass(a.find("pillContainerWrapper"),"singlePill")},updateFocus:function(a){a.get("v.priv_focusOnInput")&&(a.set("v.priv_focusOnInput",!1),
this.focusOnInput(a));if(a.get("v.priv_focusOnPillContainer")){a.set("v.priv_focusOnPillContainer",!1);var b=a.find("pillContainer");b&&b.focus()}if(a.get("v.priv_focusOnEntitySelector")&&(a.set("v.priv_focusOnEntitySelector",!1),a=a.find("entitySelector").getElement()))(a=a.getElementsByClassName("entityMenuTrigger"))&&0<a.length&&a[0].focus()},inputFocused:function(a){this.updateSearchItem(a);$A.util.hasClass(a.find("contentWrapper"),"focused")||($A.util.addClass(a.find("contentWrapper"),"focused"),
a.get("v.readOnly")||(a.get("v.priv_openPopupOnFocus")&&(this.openPopup(a),this.slib.logging.log(a,this.slib.interaction.SYNTHETIC_CLICK,"search-input-lookup-desktop","search-input",{scopeName:a.get("v.priv_currentEntity").name})),a.set("v.priv_openPopupOnFocus",!0),this.updateInvalidSelectionError(a)))},openPopup:function(a){this.hasEntities(a)&&this.shouldDisplayNewButton(a)&&(this.fetchCreateFromLookupAction(a),this.setCreateNewLabel(a));var b=this.populateDependentFieldBindings(a);a.get("v.entityIsDirty")?
(a.set("v.entityIsDirty",!1),this.fetchData(a)):b?this.fetchData(a):(this.match(a),this.showList(a))},setCreateNewLabel:function(a){var b=a.get("v.labelCreateNew")||"";if(!b)var b=$A.get("$Label.LightningLookup.createNewObject")||"",c=a.get("v.priv_currentEntity.label")||"",b=b.replace(/\{0\}/i,c);a.set("v.priv_labelCreateNew",b)},populateDependentFieldBindings:function(a){var b=a.get("v.record")||{},c=a.get("v.dependentFields")||[],d=a.get("v.dependentFieldBindings")||{},e=!1;if(this.isRunningAdvancedSearch(a))return!1;
c.forEach(function(a){var c=b[a],h=d[a];$A.util.isUndefinedOrNull(c)&&void 0!==h?(delete d[a],e=!0):h!==c&&null!==c&&(d[a]=c,e=!0)});e&&a.set("v.dependentFieldBindings",d);return e},setFocusOnTabOut:function(a){if(!(void 0===a||null===a)){var b=this.fmLib.focusUtil.getTabbableChildren(a);if(b&&window&&window.document){var c=window.document.activeElement;if(c)for(var d=0,e=b.length;d<e;d++)if(c===b[d]){this.fmLib.focusUtil.focusNextTabbable(a,!0);break}}}},fetchCreateFromLookupAction:function(a){var b=
a.get("c.createFromLookup"),c=a.get("v.priv_currentEntity").name,d=a.getGlobalId(),e=this;!$A.util.isUndefinedOrNull(c)&&!$A.util.isUndefinedOrNull(d)&&(b.setParams({entityApiName:c,globalId:d}),b.setCallback(a,function(b){var c=b.getState();"SUCCESS"===c?(b=b.getReturnValue().createFromLookupAction)?(c=b.executionComponent,b=$A.get("e."+c.descriptor),c=c.attributes,c.defaultFieldValues=a.get("v.defaultFieldValues"),c.panelOnDestroyCallback=$A.getCallback(e.handlePanelDestroyed.bind(e,a)),b.setParams(c),
e.setNewButton(a,b)):e.clearNewButton(a):("INCOMPLETE"===c||"ERROR"===c)&&e.clearNewButton(a)}),b.setStorable(),$A.enqueueAction(b))},createNewClicked:function(a){var b=a.get("v.priv_createNewEvent");b&&(this.fireBlurEvent(a),b.fire(),this.resetCreateNewEvent(a),this.hideList(a));this.resetForModal(a)},resetCreateNewEvent:function(a){this.clearNewButton(a);this.fetchCreateFromLookupAction(a)},clearNewButton:function(a){a.set("v.priv_showNewButton",!1);a.set("v.priv_createNewEvent",null)},setNewButton:function(a,
b){a.set("v.priv_createNewEvent",b);this.showNewButton(a)},showNewButton:function(a){a.set("v.priv_showNewButton",this.shouldDisplayNewButton(a))},handlePanelDestroyed:function(a){this.fireFocusEvent(a);this.setFocus(a);this.showNewButton(a)},updateWhenReady:function(a){var b=this;window.requestAnimationFrame($A.getCallback(function(){b.updateListWidth(a);b.updateFocus(a)}))},logItemClick:function(a,b){var c,d;c={recordId:b.recordId,position:b.position,searchString:b.searchString,qType:b.qType,searchArea:"forceSearch:inputLookupDesktopOption:scoped",
mruVisibleCount:a.get("v.priv_visibleMRUCount"),typeAheadVisibleCount:a.get("v.priv_visibleTypeaheadCount")};switch(b.qType){case "MRU":d="semac";break;case "Typeahead":d="seasc",c.queryId=b.queryId}this.slib.logging.log(a,this.slib.interaction.SYNTHETIC_CLICK,"search-input-lookup-desktop","search-mru-item",c,d)},logActionClick:function(a,b){var c=this.getInput(a),c=c?c.get("v.value"):null;this.slib.logging.log(a,this.slib.interaction.SYNTHETIC_CLICK,"search-input-lookup-desktop","search-mru-action-item",
{method:"click",term:c,scopeName:a.get("v.priv_currentEntity").name,type:b})},logPillAction:function(a,b){if(!$A.util.isEmpty(b)){var c=this.getInput(a),c=c?c.get("v.value"):null,d;switch(b){case "INSERT":d=this.slib.interaction.SYNTHETIC_PILL_ADD;break;case "REMOVE":d=this.slib.interaction.SYNTHETIC_PILL_REMOVE}this.slib.logging.log(a,d,"search-input-lookup-desktop","search-record-pill-item",{term:c,scopeName:a.get("v.priv_currentEntity").name})}},fireBlurEvent:function(a){var b=a.get("e.blur");
b&&(b.fire(),a.set("v.priv_isBlurred",!0))},fireFocusEvent:function(a){if(a){var b=a.get("e.focus");b&&a.get("v.priv_isBlurred")&&(b.fire(),a.set("v.priv_isBlurred",!1))}},shouldFireEnterPressed:function(a){var b=this.getAutocompleteList(a),c="force:listViewManager"===a.get("v.inContextOfComponent");a="force:multiAdd"===a.get("v.inContextOfComponent");b=b&&(b.get("v.footerSelected")||b.get("v.headerSelected"));return a?!1:!(c&&b)},setReferenceAttribute:function(a,b,c){if(a&&b){var d=a.get("v.record"),
e=a.get("v.relationshipName");d&&null===d[e]&&(d[e]=void 0);a.set(b,c)}},computeLookupSelectionAriaLabel:function(a,b){var c="";if(b&&b.length)var c=$A.get("$Label.LightningSearchUI.LookupSelectedRecordAriaLabel")||"",d=a.get("v.label")||a.get("v.fieldLabel"),e=b.map(function(a){return a.label+(a.typeLabel?" ("+a.typeLabel+")":"")}).join(", "),c=$A.util.format(c,d,e);a.set("v.priv_lookupSelectionAriaLabel",c)},showValueClearAssistiveText:function(a){(a=this.getValueClearAssistiveTextCmp(a))&&$A.util.removeClass(a,
"slds-hidden")},hideValueClearAssistiveText:function(a){(a=this.getValueClearAssistiveTextCmp(a))&&$A.util.addClass(a,"slds-hidden")},getValueClearAssistiveTextCmp:function(a){return a.find("value-clear-assistive-text")},hasSelectedValues:function(a){return(a=a.get("v.values"))&&0<a.length}},renderer:{afterRender:function(a,b){a.superAfterRender();a.get("v.priv_reloadEntityOnRender")&&(a.set("v.priv_reloadEntityOnRender",!1),b.updateSelectedEntity(a,a.get("v.priv_currentEntity")));b.showEntitySelectorIfAppropriate(a);
b.updateWhenReady(a);var c=b.getInput(a);null!==c&&void 0!==c&&(c=c.getElement(),void 0!==c&&null!==c&&(c.setAttribute("spellcheck","false"),c.setAttribute("autocomplete","off"),c.setAttribute("autocorrect","off")))},rerender:function(a,b){a.superRerender();b.showEntitySelectorIfAppropriate(a);b.updateWhenReady(a)}}}});return {"xs":"PP","descriptor":"markup://forceSearch:inputLookupDesktop","st":{"descriptor":"css://forceSearch.inputLookupDesktop","cl":"forceSearchInputLookupDesktop"},"cd":{"descriptor":"compound://forceSearch.inputLookupDesktop","ac":[{"n":"createFromLookup","descriptor":"serviceComponent://ui.search.components.forcesearch.inputlookupdesktop.InputLookupDesktopController/ACTION$createFromLookup","at":"SERVER","rt":"java://ui.search.components.forcesearch.inputlookupdesktop.InputLookupDesktopController$CreateFromLookupActionDetails","pa":[{"name":"entityApiName","type":"java://java.lang.String"},{"name":"globalId","type":"java://java.lang.String"}]},{"n":"getRecordInfo","descriptor":"serviceComponent://ui.search.components.forcesearch.inputlookupdesktop.InputLookupDesktopController/ACTION$getRecordInfo","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"recordIds","type":"java://java.util.List<java.lang.String>"},{"name":"entityApiNames","type":"java://java.util.List<java.lang.String>"}]}]},"su":"markup://ui:input","ad":[["body","aura://Aura.Component[]","G",false,[]],["disableDoubleClicks","aura://Boolean","I",false,false],["class","aura://String","G",false],["dir","aura://String","I",false,"ltr"],["namespaceOverride","aura://String","I",false],["actionable","aura://Boolean","I",false,true],["role","aura://String","I",false],["ariaDescribedBy","aura://String","PP",false,""],["value","aura://String","G",false],["visible","aura://Boolean","I",false,true],["showErrors","aura://Boolean","PP",false,true],["errors","aura://Object[]","G",false,[]],["errorComponent","aura://Aura.Component[]","I",false,[]],["fieldHelpComponent","aura://Aura.Component[]","I",false,[]],["type","aura://String","PP",false],["isCompound","aura://Boolean","I",false,false],["required","aura://Boolean","G",false,false],["updateOn","aura://String","G",false,"change"],["updateOnDisabled","aura://Boolean","I",false,false],["label","aura://String","G",false],["labelClass","aura://String","G",false,""],["labelPosition","aura://String","PP",false,"left"],["labelTitle","aura://String","I",false],["useSpanLabel","aura://Boolean","I",false,false],["requiredIndicatorClass","aura://String","G",false,""],["disabled","aura://Boolean","G",false,false],["domId","aura://String","PP",false],["requiredIndicator","aura://Aura.Component[]","I",false,[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"title":{"exprType":"PROPERTY","byValue":false,"target":"ui:input","path":"$Label.LightningControl.required"},"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"required \",cmp.get(\"v.requiredIndicatorClass\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"ui:input","path":"v.requiredIndicatorClass"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:text"},"attributes":{"values":{"value":{"descriptor":"value","value":"*"}}}}]}}}}]],["record","apex://SObject","I",false,null],["recordLabel","aura://String","I",false],["additionalContext","aura://Map","PP",false,null],["allowFallbackQueryWithNoContext","aura://Boolean","I",false,true],["allowOtherOption","aura://Boolean","I",false,false],["clearInputOnPillAdd","aura://Boolean","I",false,true],["dataProvider","aura://Aura.Component[]","I",false,[]],["dataProviderProvidesIds","aura://Boolean","I",false,true],["defaultFieldValues","aura://Map","I",false,{}],["dependentFieldBindings","aura://Map","I",false,{}],["displayErrorOnBlur","aura://Boolean","I",false,true],["enableAdvancedSearch","aura://Boolean","I",false,true],["enableCreateNew","aura://Boolean","I",false,true],["entityIsDirty","aura://Boolean","I",false,true],["inContextOfComponent","aura://String","I",false,""],["initialText","aura://String","I",false,""],["labelCreateNew","aura://String","PP",false,""],["labelInvalidOption","aura://String","I",false,{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"$Label.LightningSearchUI.LookupEditInvalidOptionMessage"}],["listOption","aura://Aura.ComponentDefRef[]","I",true,[{"componentDef":{"descriptor":"markup://forceSearch:inputLookupDesktopOption"},"localId":"lookupOption","attributes":{"values":{"secondLabel":{"descriptor":"secondLabel","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"row.secondLabel"}},"visible":{"descriptor":"visible","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"row.visible"}},"visIndex":{"descriptor":"visIndex","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"row.visIndex"}},"qType":{"descriptor":"qType","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"row.qType"}},"icon":{"descriptor":"icon","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"row.icon"}},"allFields":{"descriptor":"allFields","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"row.allFields"}},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"row.label"}},"absIndex":{"descriptor":"absIndex","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"row.absIndex"}},"iconLabel":{"descriptor":"iconLabel","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"row.iconLabel"}},"keyword":{"descriptor":"keyword","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"row.keyword"}},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"row.value"}},"matchOnContains":{"descriptor":"matchOnContains","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:inputLookupDesktop","path":"v.matchOnContains"}},"iconColor":{"descriptor":"iconColor","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"row.iconColor"}}}}}]],["loggingActionLocation","aura://String","I",false,"force:center"],["loggingLocation","aura://String","I",false,"force:edit"],["matchOnContains","aura://Boolean","PP",true,false],["matchOptionFunc","aura://Aura.Component[]","I",false,[]],["maxlength","aura://Integer","I",false,500],["maxOptions","aura://Integer","PP",true,5],["maxResults","aura://Integer","PP",true,25],["maxRows","aura://Integer","I",false,0],["maxValues","aura://Integer","I",false,1],["readOnly","aura://Boolean","I",false,false],["selectedEntityIndex","aura://Integer","I",false,-1],["usePanel","aura://Boolean","I",false,false],["values","aura://List","I",false,[]],["priv_createNewEvent","aura://Aura.Component","I",false,null],["priv_currentEntity","aura://Map","I",false,{}],["priv_displayedPlaceholder","aura://String","I",false],["priv_displayedTooltip","aura://String","I",false],["priv_events","aura://Object","I",false,null],["priv_focusOnInput","aura://Boolean","I",false,false],["priv_focusOnPillContainer","aura://Boolean","I",false,false],["priv_focusOnEntitySelector","aura://Boolean","I",false,false],["priv_hasOpenedPanel","aura://Boolean","I",false,false],["priv_inputBlurTimeoutId","aura://Integer","I",false],["priv_inputHasFocus","aura://Boolean","I",false,false],["priv_inputIsDirty","aura://Boolean","I",false,false],["priv_isBlurred","aura://Boolean","I",false,false],["priv_isInputDisabled","aura://Boolean","I",false,false],["priv_labelCreateNew","aura://String","p",false,""],["priv_lookupSelectionAriaLabel","aura://String","I",false,""],["priv_maxCharactersForMultiplePills","aura://Integer","I",false,30],["priv_maxCharactersForSinglePill","aura://Integer","I",false,40],["priv_noAccessLabel","aura://String","I",false,{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"$Label.Lookup.noAccess"}],["priv_openPopupOnFocus","aura://Boolean","I",false,true],["priv_previousSelections","aura://List","I",false,[]],["priv_reloadEntityOnRender","aura://Boolean","I",false,false],["priv_resolveId","aura://Integer","I",false,0],["priv_resolveValuesOnChange","aura://Boolean","I",false,true],["priv_searchLabel","aura://String","I",false,""],["priv_showEntitySelector","aura://Boolean","I",false,false],["priv_showNewButton","aura://Boolean","PP",false,false],["priv_showSearchListItem","aura://Boolean","I",false,false],["priv_valueCopy","aura://String","I",false,""],["priv_visibleMRUCount","aura://Integer","I",false,0],["priv_visibleTypeaheadCount","aura://Integer","I",false,0],["priv_isCollapsed","aura://Boolean","I",false,false],["selectedLabel","aura://String","PP",false],["selectedSObjectType","aura://String","I",false],["contextId","aura://String","I",false],["createableEntities","aura://List","PP",false,[]],["dependentFields","aura://List","I",false,[]],["entities","aura://List","PP",false,[]],["field","aura://String","PP",false],["fieldLabel","aura://String","PP",false],["foreignKeyNameField","aura://String","I",false,"Name"],["placeholder","aura://String","I",false],["recordId","aura://String","I",false],["relationshipName","aura://String","I",false],["source","aura://String","PP",false]],"med":[{"name":"ui:focus","xs":"I"},{"name":"force:updateValues","xs":"I","action":"{!c.updateValues}","attributes":[["values","aura://List","I",true,[]]]},{"name":"forceSearch:setEntityState","xs":"I","action":"{!c.setEntityStateHandler}","attributes":[["entities","aura://List","I",false,"[]"],["selectedEntityIndex","aura://Integer","I",false,"-1"],["entityMenuItemStates","aura://Map","I",false,null]]},{"name":"forceSearch:appendItems","xs":"I","action":"{!c.appendItems}","attributes":[["items","aura://List","I",false,[]]]},{"name":"forceSearch:setFocus","xs":"I","action":"{!c.setFocus}"},{"name":"forceSearch:resetInput","xs":"I","action":"{!c.resetInput}"},{"name":"forceSearch:handlePanelDestroyed","xs":"I","action":"{!c.handlePanelDestroyed}"}],"i":["markup://force:hasInnerPanel","markup://force:hasInputLookup","markup://force:hasRecord"],"re":[{"ed":"markup://ui:click","n":"click","xs":"G"},{"ed":"markup://ui:dblclick","n":"dblclick","xs":"G"},{"ed":"markup://ui:mousedown","n":"mousedown","xs":"G"},{"ed":"markup://ui:mousemove","n":"mousemove","xs":"G"},{"ed":"markup://ui:mouseout","n":"mouseout","xs":"G"},{"ed":"markup://ui:mouseover","n":"mouseover","xs":"G"},{"ed":"markup://ui:mouseup","n":"mouseup","xs":"G"},{"ed":"markup://ui:blur","n":"blur","xs":"I"},{"ed":"markup://ui:focus","n":"focus","xs":"I"},{"ed":"markup://ui:keydown","n":"keydown","xs":"G"},{"ed":"markup://ui:keypress","n":"keypress","xs":"G"},{"ed":"markup://ui:keyup","n":"keyup","xs":"G"},{"ed":"markup://ui:select","n":"select","xs":"G"},{"ed":"markup://ui:inputEvent","n":"input","xs":"I"},{"ed":"markup://ui:cut","n":"cut","xs":"G"},{"ed":"markup://ui:validationError","n":"onError","xs":"G"},{"ed":"markup://ui:clearErrors","n":"onClearErrors","xs":"G"},{"ed":"markup://ui:change","n":"change","xs":"G"},{"ed":"markup://ui:copy","n":"copy","xs":"G"},{"ed":"markup://ui:paste","n":"paste","xs":"G"},{"ed":"markup://ui:updateError","n":"updateError","xs":"I"},{"ed":"markup://ui:change","n":"valueRemoved","xs":"I"},{"ed":"markup://ui:inputChange","n":"enterPressed","xs":"I"},{"ed":"markup://ui:change","n":"valueAdded","xs":"I"},{"ed":"markup://force:createRecordWithRecordTypeCheck","n":"createRecord","xs":"I"},{"ed":"markup://ui:refresh","n":"searchRefresh","xs":"I"},{"ed":"markup://ui:change","n":"entityChanged","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.destroy"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"destroy"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.valuesChangeHandler"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.values"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.inputIsDirtyChangeHandler"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.priv_inputIsDirty"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.errorsChangeHandler"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.errors"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.maxValuesChangeHandler"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.maxValues"},"n":"change"},{"ed":{"descriptor":"markup://force:recordCreatedFromLookup"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.recordCreatedHandler"}}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.class"}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"contentWrapper","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"contentWrapper slds-box--border"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"inputWrapper","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"inputWrapper slds-grid slds-grid_vertical-align-center slds-p-right_x-small"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:resizeObserver"},"attributes":{"values":{"onresize":{"descriptor":"onresize","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"c.resize"}}}}},{"componentDef":{"descriptor":"markup://forceSearch:entitySelectorMenu"},"localId":"entitySelector","attributes":{"values":{"entitySelected":{"descriptor":"entitySelected","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"c.entitySelected"}},"entityMenuClick":{"descriptor":"entityMenuClick","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"c.entityMenuFocus"}},"entitiesAvailable":{"descriptor":"entitiesAvailable","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"c.entitiesAvailable"}},"entitiesUnavailable":{"descriptor":"entitiesUnavailable","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"c.entitiesUnavailable"}},"visible":{"descriptor":"visible","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.priv_showEntitySelector"}},"fieldLabel":{"descriptor":"fieldLabel","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.label"}},"entityMenuBlur":{"descriptor":"entityMenuBlur","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"c.entityMenuBlur"}},"loggingActionLocation":{"descriptor":"loggingActionLocation","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.loggingActionLocation"}},"loggingLocation":{"descriptor":"loggingLocation","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.loggingLocation"}},"entities":{"descriptor":"entities","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.entities"}},"entityMenuCollapse":{"descriptor":"entityMenuCollapse","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"c.entityMenuCollapse"}},"selectedEntityIndex":{"descriptor":"selectedEntityIndex","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.selectedEntityIndex"}},"entityMenuPressed":{"descriptor":"entityMenuPressed","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"c.updateInvalidSelectionError"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"autocompleteWrapper","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"autocompleteWrapper slds-grow"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://ui:autocomplete"},"localId":"autocomplete","attributes":{"values":{"emptyListContent":{"descriptor":"emptyListContent","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-hide"}},"tag":{"descriptor":"tag","value":"div"}}}}]},"listOption":{"descriptor":"listOption","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.listOption"}},"inputTitle":{"descriptor":"inputTitle","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.priv_displayedTooltip"}},"showListHeader":{"descriptor":"showListHeader","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.priv_showSearchListItem"}},"focus":{"descriptor":"focus","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"c.inputFocus"}},"blur":{"descriptor":"blur","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"c.inputBlur"}},"keypress":{"descriptor":"keypress","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"c.keypress"}},"setDefaultHighlight":{"descriptor":"setDefaultHighlight","value":false},"required":{"descriptor":"required","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.required"}},"listHeader":{"descriptor":"listHeader","value":[{"componentDef":{"descriptor":"markup://forceSearch:inputLookupDesktopActionItem"},"attributes":{"values":{"titleLabel":{"descriptor":"titleLabel","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.priv_searchLabel"}},"iconKey":{"descriptor":"iconKey","value":"search"},"class":{"descriptor":"class","value":"searchButton"},"iconAlt":{"descriptor":"iconAlt","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.priv_displayedTooltip"}},"itemLabel":{"descriptor":"itemLabel","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.priv_searchLabel"}}}}}]},"disabled":{"descriptor":"disabled","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.disabled"}},"usePanel":{"descriptor":"usePanel","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.usePanel"}},"placeholder":{"descriptor":"placeholder","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.priv_displayedPlaceholder"}},"listFooter":{"descriptor":"listFooter","value":[{"componentDef":{"descriptor":"markup://forceSearch:inputLookupDesktopActionItem"},"attributes":{"values":{"titleLabel":{"descriptor":"titleLabel","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.priv_labelCreateNew"}},"iconKey":{"descriptor":"iconKey","value":"add"},"class":{"descriptor":"class","value":"createNew"},"itemLabel":{"descriptor":"itemLabel","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.priv_labelCreateNew"}}}}}]},"showListFooter":{"descriptor":"showListFooter","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.priv_showNewButton"}},"visible":{"descriptor":"visible","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.visible"}},"inputChange":{"descriptor":"inputChange","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"c.inputChange"}},"maxlength":{"descriptor":"maxlength","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.maxlength"}},"domId":{"descriptor":"domId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.domId"}},"matchFunc":{"descriptor":"matchFunc","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"c.matchFunc"}},"requiredIndicator":{"descriptor":"requiredIndicator","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.requiredIndicator"}},"selectOnTab":{"descriptor":"selectOnTab","value":false},"optionVar":{"descriptor":"optionVar","value":"row"},"click":{"descriptor":"click","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"c.inputClick"}},"keydown":{"descriptor":"keydown","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"c.keydown"}},"requiredIndicatorClass":{"descriptor":"requiredIndicatorClass","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.requiredIndicatorClass"}},"selectListOption":{"descriptor":"selectListOption","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"c.selectListOption"}},"showEmptyList":{"descriptor":"showEmptyList","value":true},"ariaDescribedBy":{"descriptor":"ariaDescribedBy","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.ariaDescribedBy"}},"dataProvider":{"descriptor":"dataProvider","value":[{"componentDef":{"descriptor":"markup://forceSearch:inputLookupDesktopDataProvider"},"localId":"provider","attributes":{"values":{"recordId":{"descriptor":"recordId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.recordId"}},"allowFallbackQueryWithNoContext":{"descriptor":"allowFallbackQueryWithNoContext","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.allowFallbackQueryWithNoContext"}},"field":{"descriptor":"field","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.field"}},"loggingLocation":{"descriptor":"loggingLocation","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.loggingLocation"}},"additionalContext":{"descriptor":"additionalContext","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.additionalContext"}},"recordType":{"descriptor":"recordType","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.source"}},"maxTypeaheadResults":{"descriptor":"maxTypeaheadResults","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.maxOptions"}},"maxMRUResults":{"descriptor":"maxMRUResults","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.maxResults"}},"dependentFieldBindings":{"descriptor":"dependentFieldBindings","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.dependentFieldBindings"}},"parentId":{"descriptor":"parentId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.contextId"}}}}}]}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:autocomplete"},"localId":"autocomplete","attributes":{"values":{"emptyListContent":{"descriptor":"emptyListContent","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-hide"}},"tag":{"descriptor":"tag","value":"div"}}}}]},"listOption":{"descriptor":"listOption","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.listOption"}},"inputTitle":{"descriptor":"inputTitle","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.priv_displayedTooltip"}},"showListHeader":{"descriptor":"showListHeader","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.priv_showSearchListItem"}},"focus":{"descriptor":"focus","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"c.inputFocus"}},"blur":{"descriptor":"blur","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"c.inputBlur"}},"keypress":{"descriptor":"keypress","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"c.keypress"}},"setDefaultHighlight":{"descriptor":"setDefaultHighlight","value":false},"required":{"descriptor":"required","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.required"}},"listHeader":{"descriptor":"listHeader","value":[{"componentDef":{"descriptor":"markup://forceSearch:inputLookupDesktopActionItem"},"attributes":{"values":{"titleLabel":{"descriptor":"titleLabel","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.priv_searchLabel"}},"iconKey":{"descriptor":"iconKey","value":"search"},"class":{"descriptor":"class","value":"searchButton"},"iconAlt":{"descriptor":"iconAlt","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.priv_displayedTooltip"}},"itemLabel":{"descriptor":"itemLabel","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.priv_searchLabel"}}}}}]},"disabled":{"descriptor":"disabled","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.disabled"}},"usePanel":{"descriptor":"usePanel","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.usePanel"}},"placeholder":{"descriptor":"placeholder","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.priv_displayedPlaceholder"}},"listFooter":{"descriptor":"listFooter","value":[{"componentDef":{"descriptor":"markup://forceSearch:inputLookupDesktopActionItem"},"attributes":{"values":{"titleLabel":{"descriptor":"titleLabel","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.priv_labelCreateNew"}},"iconKey":{"descriptor":"iconKey","value":"add"},"class":{"descriptor":"class","value":"createNew"},"itemLabel":{"descriptor":"itemLabel","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.priv_labelCreateNew"}}}}}]},"showListFooter":{"descriptor":"showListFooter","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.priv_showNewButton"}},"visible":{"descriptor":"visible","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.visible"}},"inputChange":{"descriptor":"inputChange","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"c.inputChange"}},"maxlength":{"descriptor":"maxlength","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.maxlength"}},"domId":{"descriptor":"domId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.domId"}},"matchFunc":{"descriptor":"matchFunc","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"c.matchFunc"}},"requiredIndicator":{"descriptor":"requiredIndicator","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.requiredIndicator"}},"selectOnTab":{"descriptor":"selectOnTab","value":false},"optionVar":{"descriptor":"optionVar","value":"row"},"click":{"descriptor":"click","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"c.inputClick"}},"keydown":{"descriptor":"keydown","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"c.keydown"}},"requiredIndicatorClass":{"descriptor":"requiredIndicatorClass","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.requiredIndicatorClass"}},"selectListOption":{"descriptor":"selectListOption","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"c.selectListOption"}},"showEmptyList":{"descriptor":"showEmptyList","value":true},"ariaDescribedBy":{"descriptor":"ariaDescribedBy","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.ariaDescribedBy"}},"dataProvider":{"descriptor":"dataProvider","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.dataProvider"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (fn.ne(cmp.get(\"v.dataProvider\"),null)&&fn.ne(cmp.get(\"v.dataProvider.length\"),0));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.dataProvider"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.dataProvider.length"}],"byValue":false}}}}}]}}}},{"componentDef":{"descriptor":"markup://lightning:icon","type":"module"},"attributes":{"values":{"size":{"descriptor":"size","value":"xx-small"},"iconName":{"descriptor":"iconName","value":"utility:search"},"class":{"descriptor":"class","value":"inputLookupIcon slds-button_icon-xx-small"}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"pillContainerWrapper","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"pillContainerWrapper singlePill slds-hide","aria-label":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.priv_lookupSelectionAriaLabel"}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:pillContainer"},"localId":"pillContainer","attributes":{"values":{"pillRemoved":{"descriptor":"pillRemoved","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"c.pillRemovedHandler"}},"allowRemove":{"descriptor":"allowRemove","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(cmp.get(\"v.readOnly\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.readOnly"}],"byValue":false}},"focus":{"descriptor":"focus","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"c.pillContainerFocus"}},"blur":{"descriptor":"blur","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"c.pillContainerBlur"}},"focusOnInput":{"descriptor":"focusOnInput","value":false},"maxAllowed":{"descriptor":"maxAllowed","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.readOnly\")?cmp.get(\"v.values.length\"):cmp.get(\"v.maxValues\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.readOnly"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.maxValues"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.values.length"}],"byValue":false}},"pillInserted":{"descriptor":"pillInserted","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"c.pillInsertedHandler"}},"showMoreLabel":{"descriptor":"showMoreLabel","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"$Label.Related_Lists.NextMoreGeneric"}},"maxLines":{"descriptor":"maxLines","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.maxRows"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onfocus":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"c.multiSelectFocusTrapFocus"},"HREF":"javascript:void(0)","class":"multiSelectFocusTrap"}},"tag":{"descriptor":"tag","value":"a"}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.priv_isCollapsed"}}}}}]}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"value-clear-assistive-text","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-hidden"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:icon","type":"module"},"attributes":{"values":{"size":{"descriptor":"size","value":"xx-small"},"iconName":{"descriptor":"iconName","value":"utility:info_alt"}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"font-size-1 slds-p-horizontal_xx-small"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:unescapedHtml"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"$Label.LightningSearchUI.LookupValueClearAssistiveText"}}}}}]}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.ne(cmp.get(\"v.inContextOfComponent\"),\"forceSearch:lookupAdvanced\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:inputLookupDesktop","path":"v.inContextOfComponent"}],"byValue":false}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:searchInFeed",function(){/*$A.componentService.addComponentClass("markup://forceChatter:searchInFeed",function(){return{meta:{name:"forceChatter$searchInFeed","extends":"markup://aura:component"},controller:{queryChanged:function(a,c,d){var b=a.get("v.searchQuery");b||a.helper.fireSearchEvent(a,c,d,b)}},helper:{fireSearchEvent:function(a,c,d,b){if(""<b){if(a=a.getEvent("searchEvt"))a.setParams({parameters:{searchQuery:b}}),a.fire()}else d.fireCancelEvent(a)},fireCancelEvent:function(a){(a=a.getEvent("cancelSearchEvt"))&&a.fire()}},
renderer:{afterRender:function(a,c){var d=a.superAfterRender();a.getElement().addEventListener("keyup",$A.getCallback(function(b){13===b.keyCode&&c.fireSearchEvent(a,b,c,b.target.value)}));return d}}}});return {"xs":"I","descriptor":"markup://forceChatter:searchInFeed","st":{"descriptor":"css://forceChatter.searchInFeed","cl":"forceChatterSearchInFeed"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["maxlength","aura://Integer","I",false,100],["searchQuery","aura://String","I",false],["class","aura://String","I",false]],"re":[{"ed":"markup://ui:command","n":"searchEvt","xs":"I"},{"ed":"markup://ui:command","n":"cancelSearchEvt","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.queryChanged"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.searchQuery"},"n":"change"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:searchInFeed","path":"v.class"}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:input","type":"module"},"attributes":{"values":{"maxlength":{"descriptor":"maxlength","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:searchInFeed","path":"v.maxlength"}},"name":{"descriptor":"name","value":"searchInFeed"},"variant":{"descriptor":"variant","value":"label-hidden"},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:searchInFeed","path":"$Label.FeedSearch.searchPosts"}},"placeholder":{"descriptor":"placeholder","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:searchInFeed","path":"$Label.FeedSearch.searchPosts"}},"ariaLabel":{"descriptor":"ariaLabel","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:searchInFeed","path":"$Label.FeedSearch.searchPosts"}},"type":{"descriptor":"type","value":"search"},"class":{"descriptor":"class","value":"searchInFeedInput"},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:searchInFeed","path":"v.searchQuery"}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://force:brandBand",function(){/*$A.componentService.addComponentClass("markup://force:brandBand",function(){return{meta:{name:"force$brandBand","extends":"markup://aura:component"},controller:{init:function(a,c,b){a.set("v._domId",b.getUniqueId())},applyCustomBanner:function(a,c,b){var d=c.getParam("arguments");c=d.entityName||"";d=d.recordId;c in{CollaborationGroup:1,User:1,LearningItem:1}?b.applyCustomBackgroundVariant(a,c,d):b.applySlds(a,b.VARIANT_CLASSES.medium)},resetComponentState:function(a,c,b){b.setRecordIdInternal(a,
null)},applyBottomMagnet:function(a,c,b){b.applySlds(a,b.VARIANT_CLASSES.medium,b.PADDING_CLASSES.bottom_magnet,"brand-band_magnetic")},applyLeftMagnet:function(a,c,b){b.applySlds(a,b.VARIANT_CLASSES.medium,b.PADDING_CLASSES.left_magnet,"brand-band_magnetic")},applyNoneVariant:function(a,c,b){b.applySlds(a,b.VARIANT_CLASSES.none)},applyMediumVariant:function(a,c,b){b.applySlds(a,b.VARIANT_CLASSES.medium)},applyNarrowVariant:function(a,c,b){"VIEW_TWO"===$A.get("$Global.density")?b.applySlds(a,b.VARIANT_CLASSES.narrow_view_two):
b.applySlds(a,b.VARIANT_CLASSES.narrow)},applyNoPadding:function(a,c,b){b.applySlds(a,b.VARIANT_CLASSES.none,b.PADDING_CLASSES.none)},applyDisabledVariant:function(a,c,b){b.applySlds(a,b.VARIANT_CLASSES.none,b.PADDING_CLASSES.none,"brand-band_disabled")}},helper:{PADDING_CLASSES:{"default":"slds-template_default",bottom_magnet:"slds-template_bottom-magnet",left_magnet:"slds-template_left-magnet",none:"",special:"slds-template_profile"},VARIANT_CLASSES:{small:"slds-brand-band_small",medium:"slds-brand-band_medium",
large:"slds-brand-band_large",full:"slds-brand-band_full",bottom:"slds-brand-band_bottom",narrow:"slds-brand-band_narrow",narrow_view_two:"slds-brand-band_narrow_view_two",none:"slds-brand-band_none"},CUSTOM_ENTITY_IMAGE:{LearningItem:{url:"/projRes/ui-global-components/img/learning/LearningHomeHeader.png",variant:"medium"}},getUniqueId:function(){this._count=this._count||0;this._count++;return"brandBand_"+this._count},setRecordIdInternal:function(a,c){a.set("v._recordIdInternal",c);a.set("v.showBannerUpload",
!1);a.set("v.recordId",c)},applySlds:function(a,c,b,d){var f=["slds-brand-band","slds-brand-band_cover"];b=$A.util.isUndefinedOrNull(b)?this.PADDING_CLASSES.default:b;f.push(c);f.push(b);f.push(d);a.get("v.applyChatterLayoutHack")&&f.push("chatter-layout_fix");a.get("v.applyPositionTop")&&f.push("top-layout_fix");a.set("v.sldsClasses",f.join(" "));this.clearCustomCSSOverrides(a)},applyCustomBannerImage:function(a,c){var b=['background-image: url("'+c.url+'");',"background-position: center top;","background-size: cover;",
"background-repeat: no-repeat;","background-color: initial;"];this.applySlds(a,this.VARIANT_CLASSES[c.variant]);this.applyCustomCSSOverrides(a,b.join(" "))},applyCustomBackgroundVariant:function(a,c,b){var d=this.CUSTOM_ENTITY_IMAGE[c];d?this.applyCustomBannerImage(a,d):b&&c in{CollaborationGroup:1,User:1}&&(d=a.get("c.getHighlightStencilAttributesFromRecordId"),d.setParams({recordId:b}),this.applySlds(a,this.VARIANT_CLASSES.none),this.setRecordIdInternal(a,b),d.setCallback(this,function(d){var e=
d.getState();if("SUCCESS"===e){var e=d.getReturnValue(),g=e.bannerPhotoUrl;d="";g?g='background-image: url("'+g+'");':(g="","User"===c?d="slds-brand-band_user":"CollaborationGroup"===c&&(d="slds-brand-band_group"));e.recordId===a.get("v._recordIdInternal")&&(e=[g,"background-position: center top;","background-size: cover;","background-repeat: no-repeat;","background-color: initial;"],this.applySlds(a,this.VARIANT_CLASSES.medium,this.PADDING_CLASSES.special,d),this.applyCustomCSSOverrides(a,e.join(" ")),
a.set("v.showBannerUpload",!0),a.set("v.recordId",b))}else"ERROR"===e?this.applySlds(a,this.VARIANT_CLASSES.none):"INCOMPLETE"===e&&this.applySlds(a,this.VARIANT_CLASSES.none)}),d.setStorable({ignoreExisting:!0}),$A.enqueueAction(d))},clearCustomCSSOverrides:function(a){a.set("v.styles","")},applyCustomCSSOverrides:function(a,c){var b=a.get("v._domId");a.set("v.styles","#"+b+".slds-brand-band:before { "+c+"}")}}}});return {"xs":"I","descriptor":"markup://force:brandBand","st":{"descriptor":"css://force.brandBand","cl":"forceBrandBand"},"cd":{"descriptor":"compound://force.brandBand","ac":[{"n":"getHighlightStencilAttributes","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.photo.UserProfileHighlightsStencilDesktopController/ACTION$getHighlightStencilAttributes","at":"SERVER","rt":"java://ui.chatter.components.aura.components.forceChatter.photo.UserProfileHighlightsStencilDesktopController$UserProfileHighlightsStencilAttributes","pa":[{"name":"record","type":"java://ui.services.connection.models.api.Record"}]},{"n":"getHighlightStencilMobileAttributes","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.photo.UserProfileHighlightsStencilDesktopController/ACTION$getHighlightStencilMobileAttributes","at":"SERVER","rt":"java://ui.chatter.components.aura.components.forceChatter.photo.UserProfileHighlightsStencilDesktopController$UserProfileHighlightsStencilMobileBannerAttributes","pa":[{"name":"record","type":"java://ui.services.connection.models.api.Record"},{"name":"browserWidth","type":"java://int"},{"name":"browserHeight","type":"java://int"}]},{"n":"getHighlightStencilAttributesFromRecordId","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.photo.UserProfileHighlightsStencilDesktopController/ACTION$getHighlightStencilAttributesFromRecordId","at":"SERVER","rt":"java://ui.chatter.components.aura.components.forceChatter.photo.UserProfileHighlightsStencilDesktopController$UserProfileHighlightsStencilAttributes","pa":[{"name":"recordId","type":"java://java.lang.String"}]},{"n":"disableCallout","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.photo.UserProfileHighlightsStencilDesktopController/ACTION$disableCallout","at":"SERVER","rt":"java://void","pa":[]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["applyChatterLayoutHack","aura://Boolean","I",false,false],["applyPositionTop","aura://Boolean","I",false,false],["_domId","aura://String","p",false],["_recordIdInternal","aura://String","p",false],["sldsClasses","aura://String","p",false,"slds-brand-band slds-brand-band_none"],["styles","aura://String","p",false],["showBannerUpload","aura://Boolean","p",false,false],["recordId","aura://String","p",false]],"med":[{"name":"force:applyCustomBanner","xs":"I","attributes":[["entityName","aura://String","I",true],["recordId","aura://String","I",true]]},{"name":"force:resetComponentState","xs":"I"},{"name":"force:applyNoneVariant","xs":"I"},{"name":"force:applyMediumVariant","xs":"I"},{"name":"force:applyBottomMagnet","xs":"I"},{"name":"force:applyLeftMagnet","xs":"I"},{"name":"force:applyNarrowVariant","xs":"I"},{"name":"force:applyNoPadding","xs":"I"},{"name":"force:applyDisabledVariant","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"styleSheet","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"style"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"force:brandBand","path":"v.styles"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"id":{"exprType":"PROPERTY","byValue":false,"target":"force:brandBand","path":"v._domId"},"class":{"exprType":"PROPERTY","byValue":false,"target":"force:brandBand","path":"v.sldsClasses"}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-grid slds-grid--align-spread slds-p-bottom--medium slds-p-right--x-large primaryFieldRow"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-align-bottom bannerCamera slds-container_right"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:entityBannerPhotoDetail"},"localId":"entityBannerPhotoDetail","attributes":{"values":{"recordId":{"descriptor":"recordId","value":{"exprType":"PROPERTY","byValue":false,"target":"force:brandBand","path":"v.recordId"}}}}}]}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"force:brandBand","path":"v.showBannerUpload"}}}}},{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"force:brandBand","path":"v.body"}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:input",function(){/*$A.componentService.addComponentClass("markup://forceSearch:input",function(){return{meta:{name:"forceSearch$input","extends":"markup://forceSearch:baseSearchInput"},provider:{provide:function(a){var b=a.getDef().getHelper().lib,c=a.get("v.impl");return c?(b.util.applyImplToBody(a,c),a):b.ctx.isDesktop()?"forceSearch:inputDesktop":"forceSearch:inputMobile"}}}});return {"xs":"I","descriptor":"markup://forceSearch:input","su":"markup://forceSearch:baseSearchInput","ad":[["body","aura://Aura.Component[]","G",false,[]],["shouldFocus","aura://Boolean","I",false,false],["groupId","aura://String","I",true,"DEFAULT"],["updateChildren","aura://Boolean","I",true,true],["updateOnlyIfActive","aura://Boolean","I",true,true],["priv_valueProviderReady","aura://Boolean","I",false,false],["initialTerm","aura://String","I",false],["initialScopeMap","aura://Map","I",false,null],["initialContext","aura://Map","I",false,null],["inContextOfComponent","aura://String","I",false,"forceSearch:search"],["term","aura://String","I",true,""],["scopeMap","aura://Map","I",true,{}],["context","aura://Map","I",true,{}],["loggingContext","aura://Map","I",true,{}],["isActivationTrackingEnabled","aura://Boolean","I",false,false],["impl","aura://String","I",false],["preloadCachesOnInit","aura://List","I",false,[]],["preloadCachesOnPageLoaded","aura://List","I",false,[]],["maxlength","aura://Integer","I",false,100],["class","aura://String","I",false],["disabled","aura://Boolean","I",false,false],["placeholder","aura://String","I",false,{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:input","path":"$Label.LightningSearchUI.GlobalSearchPlaceholder"}],["disabledEntitiesTypeahead","aura://List","I",false,["FeedPost","FeedItem","KnowledgeArticleVersion"]]],"med":[{"name":"forceSearch:update","xs":"I","action":"{!c.update}","attributes":[["type","aura://String","I",false],["term","aura://String","I",false],["scopeMap","aura://Map","I",false,null],["context","aura://Map","I",false,null],["sourceId","aura://String","I",false]]}],"i":["markup://forceSearch:acceptsImpl","markup://forceSearch:searchGDPInit"],"re":[{"ed":"markup://force:searchRequest","n":"searchRequest","xs":"I"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:input","path":"v.body"}}}}},{"componentDef":{"descriptor":"markup://forceSearch:searchGDP"},"attributes":{"values":{"groupId":{"descriptor":"groupId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:input","path":"v.groupId"}},"preloadCachesOnInit":{"descriptor":"preloadCachesOnInit","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:input","path":"v.preloadCachesOnInit"}},"preloadCachesOnPageLoaded":{"descriptor":"preloadCachesOnPageLoaded","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:input","path":"v.preloadCachesOnPageLoaded"}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:filterPanelTrigger",function(){/*$A.componentService.addComponentClass("markup://forceSearch:filterPanelTrigger",function(){return{meta:{name:"forceSearch$filterPanelTrigger","extends":"markup://forceSearch:baseSearch",imports:{lib:"markup://forceSearch:searchLibrary"}},controller:{init:function(a,b,c){c.lib.config.isEinsteinSearchCustomerServicePilotEnabled()&&c.loadFilterValuesFromStore(a);c.populateFilterCmp(a)},populateFilterCmp:function(a,b,c){c.populateFilterCmp(a)},launchPanel:function(a,b,c){arguments=b.getParam("arguments");
c.launchPanel(a,arguments.referenceEl,arguments.returnFocusEl)},handleFilterChanged:function(a,b,c){b=(b.getParams()||{}).values||{};a.getEvent("filterChanged").fire({values:b})},togglePanel:function(a,b,c){if(a.get("v.priv_isFiltersPanelOpen"))c.closePanel(a);else{b=a.find("filterButton").getElement();var d={direction:a.get("v.shouldDisplayFiltersOnRight")?"east":"west"};c.launchPanel(a,b,b,d)}}},helper:{loadFilterValuesFromStore:function(a){var b=this.lib.cache.store;if(b){var b=b.get(this.lib.ctx.ADVANCED_FILTER_STORE_KEY),
c=a.get("v.context");a.set("v.context",this.lib.ctx.updateFiltersOnContext(c,b))}},setFilterCmp:function(a,b){a.set("v.priv_filterCmpConfig",b?b:null);a.set("v.visible",b?!0:!1);a.set("v.selectable",b?!0:!1)},populateFilterCmp:function(a){var b=a.get("v.scopeMap");if(a.get("v.filtered")&&b&&b.name){var c=a.get("v.priv_filterCmpConfigs")[b.name];void 0!==c?this.setFilterCmp(a,c):this.fetchFilterCmp(a,b)}else this.setFilterCmp(a,null)},fetchFilterCmp:function(a,b){var c=this;if(b&&b.name){var d=a.get("v.context")||
{},e=a.get("c.getFilterComponent");e.setParams({scopeMap:b,context:d});e.setCallback(a,function(d){if(a&&a.isValid&&a.isValid()){var e=d.getState();"SUCCESS"===e?(d=d.getReturnValue(),e=a.get("v.priv_filterCmpConfigs"),$A.util.isUndefinedOrNull(e)||(e[b.name]=d,c.setFilterCmp(a,d))):"INCOMPLETE"===e?c.setFilterCmp(a,null):"ERROR"===e&&c.setFilterCmp(a,null);c.lib.logging.logPerf(a,"fetchFilterCmp","END")}});e.setStorable();$A.enqueueAction(e)}else c.setFilterCmp(a,null)},launchPanel:function(a,b,
c,d){var e=this,f=e.buildFilterCmp(a);f&&($A.get("e.ui:createPanel").fire({panelType:"panel",visible:!0,panelConfig:{autoFocus:!0,body:f,closeOnClickOut:!0,direction:d&&d.direction||"south",referenceElement:b,returnFocusElement:c,showCloseButton:!1,showPointer:!0,trapFocus:!0},onDestroy:$A.getCallback(function(){e.populateFilterCmp(a);e.logInteraction(a,"CLOSE");var b=a.getEvent("panelDestroyed");b&&(a.set("v.priv_isFiltersPanelOpen",!1),b.fire())}),onCreate:$A.getCallback(function(){a.set("v.priv_isFiltersPanelOpen",
!0)})}),e.logInteraction(a,"OPEN"))},buildFilterCmp:function(a){var b=a.get("v.priv_filterCmpConfig");if(!b)return null;var c=b.attributes;if(c){var d=c.values;d||(d={},c.values=d);d.values=this.lib.ctx.getFiltersByName(a,d.name);d.scopeMap=a.get("v.scopeMap");d.context=a.get("v.context");d.groupId=a.get("v.groupId")}(b=$A.createComponentFromConfig(b))&&b.addHandler("filterChanged",a,"c.handleFilterChanged");return b},logInteraction:function(a,b){this.lib.logging.log(a,this.lib.interaction.SYNTHETIC_CLICK,
"search-input-desktop","search-advanced",{action:b})},closePanel:function(a){$A.getEvt("ui:getActivePanel").setParams({callback:function(){a.set("v.priv_isFiltersPanelOpen",!1)}}).fire()},updatePost:function(a,b){var c=this.lib.event.getEventData(b);null!==c&&"forceSearch:filterPanel:FILTERS_LOADED"===c.type&&this.handleFilterData(a,c.data&&c.data.filters)},handleFilterData:function(a,b){if(b){var c=b.map(function(a){return{fieldName:a.name,fieldLabel:a.label}});a.set("v.filterFieldsMetadata",{fields:c})}}}}});return {"xs":"I","descriptor":"markup://forceSearch:filterPanelTrigger","st":{"descriptor":"css://forceSearch.filterPanelTrigger","cl":"forceSearchFilterPanelTrigger"},"cd":{"descriptor":"compound://forceSearch.filterPanelTrigger","ac":[{"n":"getFilterComponent","descriptor":"serviceComponent://ui.search.components.forcesearch.filterprovider.FilterProviderController/ACTION$getFilterComponent","at":"SERVER","rt":"java://org.auraframework.instance.Component","pa":[{"name":"scopeMap","type":"java://java.util.Map<java.lang.String,java.lang.String>"},{"name":"context","type":"java://java.util.Map<java.lang.String,java.lang.Object>"}]}]},"su":"markup://forceSearch:baseSearch","ad":[["body","aura://Aura.Component[]","G",false,[]],["shouldFocus","aura://Boolean","I",false,false],["groupId","aura://String","I",true,"DEFAULT"],["updateChildren","aura://Boolean","I",true,true],["updateOnlyIfActive","aura://Boolean","I",true,true],["priv_valueProviderReady","aura://Boolean","I",false,false],["initialTerm","aura://String","I",false],["initialScopeMap","aura://Map","I",false,null],["initialContext","aura://Map","I",false,null],["inContextOfComponent","aura://String","I",false,"forceSearch:search"],["term","aura://String","I",true,""],["scopeMap","aura://Map","I",true,{}],["context","aura://Map","I",true,{}],["loggingContext","aura://Map","I",true,{}],["selectable","aura://Boolean","I",false,true],["class","aura://String","G",false],["dir","aura://String","I",false,"ltr"],["namespaceOverride","aura://String","I",false],["actionable","aura://Boolean","I",false,true],["role","aura://String","I",false],["ariaDescribedBy","aura://String","PP",false,""],["value","aura://Object","PP",false,null],["visible","aura://Boolean","I",false,false],["filtered","aura://Boolean","I",false,false],["highlighted","aura://Boolean","I",false,false],["shouldRenderAsButton","aura://Boolean","I",false,false],["shouldDisplayFiltersOnRight","aura://Boolean","I",false,false],["filterFieldsMetadata","aura://Map","I",false,{}],["disableAdvancedSearchFooterOverride","aura://Boolean","I",false,false],["priv_filterCmpConfig","aura://Aura.Component","I",false,null],["priv_filterCmpConfigs","aura://Map","I",false,{}],["priv_isFiltersPanelOpen","aura://Boolean","I",false,false]],"med":[{"name":"forceSearch:update","xs":"I","action":"{!c.update}","attributes":[["type","aura://String","I",false],["term","aura://String","I",false],["scopeMap","aura://Map","I",false,null],["context","aura://Map","I",false,null],["sourceId","aura://String","I",false]]},{"name":"forceSearch:launchPanel","xs":"I","action":"{!c.launchPanel}","attributes":[["referenceEl","aura://Aura.Component","I",false,null],["returnFocusEl","aura://Aura.Component","I",false,null]]},{"name":"forceSearch:populateFilterCmp","xs":"I"}],"i":["markup://ui:autocompleteListSelectable","markup://ui:visible"],"re":[{"ed":"markup://force:searchRequest","n":"searchRequest","xs":"I"},{"ed":"markup://ui:click","n":"click","xs":"G"},{"ed":"markup://ui:dblclick","n":"dblclick","xs":"G"},{"ed":"markup://ui:mousedown","n":"mousedown","xs":"G"},{"ed":"markup://ui:mousemove","n":"mousemove","xs":"G"},{"ed":"markup://ui:mouseout","n":"mouseout","xs":"G"},{"ed":"markup://ui:mouseover","n":"mouseover","xs":"G"},{"ed":"markup://ui:mouseup","n":"mouseup","xs":"G"},{"ed":"markup://forceSearch:filterChanged","n":"filterChanged","xs":"I"},{"ed":"markup://ui:change","n":"panelDestroyed","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"advanced-search","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.join(\" \",cmp.get(\"v.class\"),\"lookup__item slds-lookup__item-action slds-lookup__item-action--label\",(cmp.get(\"v.highlighted\")?\"highlighted\":\"\"),(cmp.get(\"v.visible\")?\"\":\"slds-hide\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:filterPanelTrigger","path":"v.visible"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:filterPanelTrigger","path":"v.highlighted"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:filterPanelTrigger","path":"v.class"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"title":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:filterPanelTrigger","path":"$Label.LightningSearchUI.AdvancedSearch"},"class":"slds-text-body--small slds-truncate"}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:filterPanelTrigger","path":"$Label.LightningSearchUI.AdvancedSearch"}}}}}]}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(cmp.get(\"v.disableAdvancedSearchFooterOverride\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:filterPanelTrigger","path":"v.disableAdvancedSearchFooterOverride"}],"byValue":false}}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:button"},"localId":"filterButton","attributes":{"values":{"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:filterPanelTrigger","path":"c.togglePanel"}},"variant":{"descriptor":"variant","value":"brand"},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:filterPanelTrigger","path":"$Label.LightningSearchUI.Filter"}},"ariaLabel":{"descriptor":"ariaLabel","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:filterPanelTrigger","path":"$Label.LightningSearchUI.assistantAdvancedFilterButtonAssistiveText"}},"class":{"descriptor":"class","value":"slds-m-right--medium"}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:filterPanelTrigger","path":"v.shouldRenderAsButton"}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://force:skipLink",function(){/*$A.componentService.addComponentClass("markup://force:skipLink",function(){return{meta:{name:"force$skipLink","extends":"markup://aura:component"},controller:{handleClick:function(b,a,c){a=$A.getEvt("markup://force:skipToContent");a.setParams({target:b.get("v.target")});a.fire()}}}});return {"xs":"I","descriptor":"markup://force:skipLink","st":{"descriptor":"css://force.skipLink","cl":"forceSkipLink"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["target","aura://String","I",true],["class","aura://String","I",false]],"ld":{"skip-link":{"context":{"target":{"exprType":"PROPERTY","byValue":false,"target":"force:skipLink","path":"v.target"}}}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"skip-link","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onclick":{"exprType":"PROPERTY","byValue":false,"target":"force:skipLink","path":"c.handleClick"},"class":{"exprType":"PROPERTY","byValue":true,"target":"force:skipLink","path":"v.class"}}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"force:skipLink","path":"v.body"}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:feedElementFullViewDefault",function(){/*$A.componentService.addComponentClass("markup://forceChatter:feedElementFullViewDefault",function(){return{meta:{name:"forceChatter$feedElementFullViewDefault","extends":"markup://forceChatter:feedElementFullView",imports:{feedLib:"markup://forceChatter:feedLib"}},controller:{init:function(a,c,b){b.feedLib.util.initModel(a,"c.getModel",null,function(){a.set("v._errorMessage",a.get("v.model.errorMessage"));a.set("v._isChatterEnabled",a.get("v.model.isChatterEnabled"))})}}}});return {"xs":"I","descriptor":"markup://forceChatter:feedElementFullViewDefault","cd":{"descriptor":"compound://forceChatter.feedElementFullViewDefault","ac":[{"n":"getModel","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.FeedElementFullViewController/ACTION$getModel","at":"SERVER","rt":"java://ui.chatter.components.aura.components.forceChatter.chatter.FeedElementFullViewModel","pa":[]}]},"su":"markup://forceChatter:feedElementFullView","ad":[["body","aura://Aura.Component[]","G",false,[]],["feedDesign","aura://String","I",false,"BROWSE"],["windowViewMode","aura://String","I",false,"normal"],["model","aura://Object","I",false,null],["_initialized","aura://Boolean","I",false,false],["feedElementId","aura://String","I",true],["showGroupMentionVisibility","aura://Boolean","I",false,false],["feedType","aura://String","I",false],["requireScroller","aura://Boolean","I",false,false],["isReadOnly","aura://Boolean","I",false,false],["insideScroller","aura://Boolean","I",false,false],["_isChatterEnabled","aura://Boolean","I",false,false],["_errorMessage","aura://String","I",false]],"med":[{"name":"force:reflow","xs":"I","action":"{!c.reflow}"}],"re":[{"ed":"markup://force:windowUpdate","n":"windowUpdate","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:outputText"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedElementFullViewDefault","path":"$Label.Feeds.unknownHandledFeedException"}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://ui:listSorter",function(){/*$A.componentService.addComponentClass("markup://ui:listSorter",function(){return{meta:{name:"ui$listSorter","extends":"markup://aura:component"},controller:{init:function(a,b,c){c.doInit(a)},handleDataChange:function(a,b,c){a._dataProvided=!0;if(b=b.getParam("data"))c.refreshMenu(a),c.initItems(a,b.columns,b.orderBy),a._openAfterDataProvided&&(a._openAfterDataProvided=!1,c.handleOnOpen(a,!0))},handleDataError:function(a,b,c){c.handleOnOpen(a,!0)},onOpen:function(a,b,c){0<a.get("v.dataProvider").length&&
(!a._dataProvided||a._needUpdate)?(a._needUpdate=!1,a._openAfterDataProvided=!0,c.triggerDataProvider(a)):c.handleOnOpen(a,!0)},onCancel:function(a,b,c){c.handleOnCancel(a)},onMenuExpand:function(a){(a=a.get("v.onOpen"))&&a.runDeprecated()},onMenuCollapse:function(a){(a=a.get("v.onCancel"))&&a.runDeprecated()},onMenuSelected:function(a,b,c){c.setSelectedItems(a,c.getSelectedMenuItems(a));c.updateSortOrder(a)},onApply:function(a,b,c){c.handleApply(a)},onVisible:function(a,b,c){(b=b.getParam("value"))?
c.attachEventHandler(a):c.removeEventHandler(a);c.setVisible(a,b)},refresh:function(a){a._needUpdate=!0},iterationComplete:function(a,b,c){c.refreshMenu(a)}},helper:{CONSTANTS:{ASC:"ASC",DESC:"DESC",DESC_PREFIX:"-",CONTAINER_ELEMENT_ID:"listSorter"},doInit:function(a){this.initSorterTrigger(a);this.initDataProvider(a);this.initItems(a,a.get("v.items"),a.get("v.defaultSelectedItems"))},initSorterTrigger:function(a){var b=a.get("v.trigger"),c=a.get("v.triggerLabel");b&&0<b.length?(c&&b[0].set("v.label",
c),b[0].addHandler("click",a,"c.onOpen")):c&&(b=$A.createComponentFromConfig({componentDef:{descriptor:"markup://ui:menuTriggerLink"},attributes:{values:{label:c}}}),b.addHandler("click",a,"c.onOpen"),a.set("v.trigger",b))},initDataProvider:function(a){var b=a.get("v.dataProvider");if($A.util.isArray(b)){a._dataProviders=b;for(var c=0;c<b.length;c++)b[c].addHandler("onchange",a,"c.handleDataChange"),b[c].addHandler("error",a,"c.handleDataError")}},initItems:function(a,b,c){a._sortOrderMap||(a._sortOrderMap=
{});if(b&&0<b.length){var d=[],e=[],f,k,g;if(c)for(g=0;g<c.length;g++)a._sortOrderMap[c[g].fieldName]={order:c[g].ascending?this.CONSTANTS.ASC:this.CONSTANTS.DESC,selected:!0};var h=0;for(g=0;g<b.length;g++)if("undefined"===typeof b[g].isSortable||!0===b[g].isSortable)f=b[g].fieldName,k=b[g].label,a._sortOrderMap[f]?(a._sortOrderMap[f].index=h,e.push({value:f,label:k,index:h})):a._sortOrderMap[f]={order:this.CONSTANTS.ASC,index:h,selected:!1},d.push({fieldName:f,label:k}),h++;a._selectedItems=e;a.set("v.defaultSelectedItems",
c);a.set("v.items",d);$A.util.removeClass(a.find("set").getElement(),"hidden","visible")}},handleOnOpen:function(a,b){var c=a.get("v.items");if(!a.get("v.visible")&&a.isRendered()||b){this.attachEventHandler(a);var d=this.getDefaultSortBy(a);if(d&&0<d.length&&c&&0<c.length){for(c=0;c<d.length;c++)a._sortOrderMap[d[c].fieldName]&&(a._sortOrderMap[d[c].fieldName].order=d[c].ascending?this.CONSTANTS.ASC:this.CONSTANTS.DESC);this.setSelectedItems(a,d);this.selectMenuItem(a,d)}a.set("v.visible",!0);this.appendElementToBody(a);
this.updateSize(a)}},handleOnCancel:function(a){this.removeEventHandler(a);this.reset(a);a.set("v.visible",!1,!0);this.setVisible(a,!1);(a=a.get("v.onCancel"))&&a.runDeprecated()},handleApply:function(a){this.removeEventHandler(a);a.set("v.visible",!1,!0);this.setVisible(a,!1);var b=a.get("v.onApply");if(b){for(var c=[],d,e=this.getSelectedMenuItems(a),f=0;f<e.length;f++)d=e[f].ascending?"":this.CONSTANTS.DESC_PREFIX,c.push({sortBy:d+e[f].fieldName,label:e[f].label});a.set("v.defaultSelectedItems",
e);b.runDeprecated(c)}},reset:function(a){a=a.find("sorterMenuList").get("v.childMenuItems");for(var b=0;b<a.length;b++){var c=a[b];!0===c.get("v.selected")&&c.set("v.selected",!1);c.set("v.isAscending",!0)}},getDefaultSortBy:function(a){for(var b=this.parseSortBy(a,a.get("v.defaultSelectedItems")),c=0;c<b.length;c++)a._sortOrderMap[b[c].fieldName]&&(b[c].index=a._sortOrderMap[b[c].fieldName].index);return b},parseSortBy:function(a,b){var c=[];if($A.util.isString(b)){b=b.split(",");for(var d=0;d<
b.length;d++)if(-1!==b[d].indexOf(this.CONSTANTS.DESC_PREFIX)){var e=b[d].substring(1);c.push({fieldName:e,ascending:!1})}else c.push({fieldName:b[d],ascending:!0})}else $A.util.isArray(b)&&(c=b);return c},triggerDataProvider:function(a,b){b||(b=0);0<=b&&b<a._dataProviders.length&&a._dataProviders[b].get("e.provide").fire()},setVisible:function(a,b){var c="open";a.get("v.modal")&&($A.util.toggleClass(a.find("mask").getElement(),"open",b),c+=" modal");$A.util.toggleClass(a.find("sorterContainer").getElement(),
c,b)},updateSortOrder:function(a){var b=this.getSelectedMenuItems(a);if(b&&0<b.length)for(var c=0;c<b.length;c++)a._sortOrderMap[b[c].fieldName].order=b[c].ascending?this.CONSTANTS.ASC:this.CONSTANTS.DESC},getSelectedMenuItems:function(a){var b=a.find("sorterMenuList");a=[];if(b)for(var b=b.get("v.childMenuItems"),c=0;c<b.length;c++){var d=b[c];!0===d.get("v.selected")&&a.push({fieldName:d.get("v.value"),label:d.get("v.label"),index:c,ascending:d.get("v.isAscending")})}return a},getSelectedItems:function(a){return a._selectedItems},
setSelectedItems:function(a,b){a._selectedItems=b},selectMenuItem:function(a,b){var c=a.find("sorterMenuList").get("v.childMenuItems");if(b&&0<b.length){for(var d,e=0;e<b.length;e++)if("undefined"!==typeof b[e].index&&(d=c[b[e].index]))d.set("v.selected",!0),d.set("v.isAscending",b[e].ascending);this.updateSortOrder(a)}},attachEventHandler:function(a){$A.util.on(document,"keydown",this.getKeydownHandler(a));$A.util.on(window,"orientationchange",this.getOrientationChangeHandler(a))},removeEventHandler:function(a){$A.util.removeOn(document,
"keydown",this.getKeydownHandler(a));$A.util.removeOn(window,"orientationchange",this.getOrientationChangeHandler(a))},appendElementToBody:function(a){if(a.get("v.modal")){var b=this.CONSTANTS.CONTAINER_ELEMENT_ID,c=document.getElementById(b),d=a.find("mask").getElement(),e=a.find("sorterContainer").getElement();c?$A.util.contains(c,e)||(c.appendChild(d),c.appendChild(e)):(c=document.createElement("div"),c.setAttribute("id",b),$A.util.addClass(c,a.getConcreteComponent().getDef().getStyleClassName()),
c.appendChild(d),c.appendChild(e),document.getElementsByTagName("body")[0].appendChild(c))}},updateSize:function(a){if(a.isValid()&&a.isRendered()){var b=a.find("sorterContainer").getElement(),c=$A.get("$Browser.formFactor"),d=a.find("headerBar").getElement();if("DESKTOP"!==c){var e=$A.util.getWindowSize(),d=e.height-d.offsetHeight;$A.util.addClass(a.find("sorterContainer").getElement(),c);b.setAttribute("style","width: "+e.width+"px; height: "+e.height+"px")}else d=b.offsetHeight-d.offsetHeight;
a.find("sorterMenuList").getElement().style.height=d+"px"}},getOrientationChangeHandler:function(a){if(!a._orientationChange){var b=this;a._orientationChange=function(){b.updateSize(a)}}return a._orientationChange},getKeydownHandler:function(a){a._keydownHandler||(a._keydownHandler=function(b){switch(b.keyCode){case 9:var c=document.activeElement,d=b.shiftKey,e=a.find("set").getElement();c===e&&!d&&$A.util.squash(b,!0)}});return a._keydownHandler},isElementInComponent:function(a,b){if(!a||!b)return!1;
var c=a.getElements(),d=b;do{for(var e=0;e<c.length;e++)if(c[e]===d)return!0;d=d.parentNode}while(d);return!1},unrender:function(){var a=document.getElementById(this.CONSTANTS.CONTAINER_ELEMENT_ID);a&&$A.util.removeElement(a)},refreshMenu:function(a){if(a=a.find("sorterMenuList")){a.get("e.refresh").fire();a=a.get("v.childMenuItems");for(var b=0;b<a.length;b++)a[b].set("v.role",null)}}},renderer:{afterRender:function(a,b){a.superAfterRender();a.get("v.visible")&&b.setVisible(a,!0)},unrender:function(a,
b){a.superUnrender();b.unrender(a)}}}});return {"xs":"I","descriptor":"markup://ui:listSorter","st":{"descriptor":"css://ui.listSorter","cl":"uiListSorter"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["dataProvider","aura://Aura.Component[]","I",false,[]],["class","aura://String","I",false],["title","aura://String","I",false,"Sort"],["cancelLabel","aura://String","I",false,"Cancel"],["applyLabel","aura://String","I",false,"Apply"],["visible","aura://Boolean","I",false,false],["items","aura://Object[]","I",false,[]],["defaultSelectedItems","aura://Object","I",false,null],["triggerLabel","aura://String","I",false],["ascendingLabel","aura://String","I",false,"Ascending"],["descendingLabel","aura://String","I",false,"Descending"],["trigger","aura://Aura.Component[]","I",false,[]],["modal","aura://Boolean","I",false,true],["rowVar","aura://String","I",false],["rowDef","aura://Aura.ComponentDefRef[]","I",false,[]],["onApply","aura://Aura.Action","I",false,null],["onOpen","aura://Aura.Action","I",false,null],["onCancel","aura://Aura.Action","I",false,null]],"re":[{"ed":"markup://ui:refresh","n":"refresh","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onVisible"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.visible"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.refresh"},"n":"refresh"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"trigger","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:listSorter","path":"v.trigger"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"sorterContainer","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(cmp.get(\"v.class\"),\" listSorterContainer\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"ui:listSorter","path":"v.class"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"headerBar","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"headerBar"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"cancel","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onclick":{"exprType":"PROPERTY","byValue":false,"target":"ui:listSorter","path":"c.onCancel"},"class":"cancel button"}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:listSorter","path":"v.cancelLabel"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"title","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"title"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:listSorter","path":"v.title"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"set","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onclick":{"exprType":"PROPERTY","byValue":false,"target":"ui:listSorter","path":"c.onApply"},"class":"apply button hidden"}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:listSorter","path":"v.applyLabel"}}}}}]}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"body"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:menu"},"localId":"sorterMenu","attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:menuList"},"localId":"sorterMenuList","attributes":{"values":{"menuExpand":{"descriptor":"menuExpand","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:listSorter","path":"c.onMenuExpand"}},"visible":{"descriptor":"visible","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:listSorter","path":"v.visible"}},"role":{"descriptor":"role","value":"presentation"},"menuSelect":{"descriptor":"menuSelect","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:listSorter","path":"c.onMenuSelected"}},"closeOnTabKey":{"descriptor":"closeOnTabKey","value":false},"menuCollapse":{"descriptor":"menuCollapse","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:listSorter","path":"c.onMenuCollapse"}},"manualPosition":{"descriptor":"manualPosition","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"modal\")?false:true);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"ui:listSorter","path":"modal"}],"byValue":false}},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:iteration"},"attributes":{"values":{"var":{"descriptor":"var","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:listSorter","path":"v.rowVar"}},"iterationComplete":{"descriptor":"iterationComplete","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:listSorter","path":"c.iterationComplete"}},"body":{"descriptor":"body","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:listSorter","path":"v.rowDef"}},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:listSorter","path":"v.items"}}}}}]},"class":{"descriptor":"class","value":"sorterMenuList scrollable"},"closeOnClickOutside":{"descriptor":"closeOnClickOutside","value":false}}}}]},"class":{"descriptor":"class","value":"sorterMenu"}}}}]}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"mask","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"listSorterMask"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:text"},"attributes":{"values":{"value":{"descriptor":"value","value":" "}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"ui:listSorter","path":"v.modal"}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:recommendationTile",function(){/*$A.componentService.addComponentClass("markup://forceChatter:recommendationTile",function(){return{meta:{name:"forceChatter$recommendationTile","extends":"markup://forceChatter:recommendationBase"},controller:{notifyAccepted:function(a,c,b){b.logEvent(a,"ACCEPTED");$A.getEvt("markup://forceChatter:recommendationClearCache").fire()}}}});return {"xs":"I","descriptor":"markup://forceChatter:recommendationTile","st":{"descriptor":"css://forceChatter.recommendationTile","cl":"forceChatterRecommendationTile"},"cd":{"descriptor":"compound://forceChatter.recommendationTile","ac":[{"n":"rejectRecommendation","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.recommend.RecommendationsController/ACTION$rejectRecommendation","at":"SERVER","rt":"java://void","pa":[{"name":"recIdOrEnum","type":"java://java.lang.String","loggable":true},{"name":"action","type":"java://sfdc.chatter.connect.api.enums.reccs.ConnectRecommendationActionEnum","loggable":true},{"name":"explanation","type":"java://sfdc.chatter.connect.api.enums.reccs.ConnectRecommendationExplanationEnum","loggable":true},{"name":"actionLinkId","type":"java://java.lang.String","loggable":true},{"name":"endPoint","type":"java://java.lang.String","loggable":true},{"name":"channel","type":"java://java.lang.String","loggable":true},{"name":"uri","type":"java://java.lang.String","loggable":true},{"name":"hasImage","type":"java://java.lang.String","loggable":true},{"name":"featureValues","type":"java://java.lang.String","loggable":true}]},{"n":"logEvent","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.recommend.RecommendationsController/ACTION$logEvent","at":"SERVER","rt":"java://void","pa":[{"name":"recIdOrEnum","type":"java://java.lang.String","loggable":true},{"name":"action","type":"java://sfdc.chatter.connect.api.enums.reccs.ConnectRecommendationActionEnum","loggable":true},{"name":"explanation","type":"java://sfdc.chatter.connect.api.enums.reccs.ConnectRecommendationExplanationEnum","loggable":true},{"name":"actionLinkId","type":"java://java.lang.String","loggable":true},{"name":"event","type":"java://java.lang.String","loggable":true},{"name":"endPoint","type":"java://java.lang.String","loggable":true},{"name":"channel","type":"java://java.lang.String","loggable":true},{"name":"uri","type":"java://java.lang.String","loggable":true},{"name":"hasImage","type":"java://java.lang.String","loggable":true},{"name":"featureValues","type":"java://java.lang.String","loggable":true}]}]},"su":"markup://forceChatter:recommendationBase","ad":[["body","aura://Aura.Component[]","G",false,[]],["item","aura://Object","I",false,null],["endPoint","aura://String","I",true],["channel","aura://String","I",true]],"re":[{"ed":"markup://forceChatter:recommendationRejected","n":"onRejected","xs":"I"},{"ed":"markup://forceChatter:recommendationClearCache","n":"clearCache","xs":"I"},{"ed":"markup://forceChatter:recommendationAccepted","n":"onAccepted","xs":"I"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:fileThumbnail"},"attributes":{"values":{"fileType":{"descriptor":"fileType","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationTile","path":"v.item.entity.fileType"}},"onClick":{"descriptor":"onClick","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationTile","path":"c.notifyAccepted"}},"contentId":{"descriptor":"contentId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationTile","path":"v.item.entity.id"}},"title":{"descriptor":"title","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationTile","path":"v.item.entity.title"}},"showThumbnail":{"descriptor":"showThumbnail","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq(cmp.get(\"v.item.entity.thumb720By480RenditionStatus\"),\"Success\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationTile","path":"v.item.entity.thumb720By480RenditionStatus"}],"byValue":false}},"thumbnailUrl":{"descriptor":"thumbnailUrl","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationTile","path":"v.item.entity.renditionUrl720By480"}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://lightning:layoutItem",function(){/*$A.componentService.addComponentClass("markup://lightning:layoutItem",function(){return{meta:{name:"lightning$layoutItem","extends":"markup://aura:component",imports:{lib:"markup://lightning:classnamesLibrary",prop:"markup://lightning:propValuesLibrary"}},controller:{init:function(a,b,c){c.validateAttributes(a);c.computeClassNames(a)},computeClassNames:function(a,b,c){c.computeClassNames(a)},handleFlexibilityChange:function(a,b,c){c.setPrivateFlexibility(a);c.computeClassNames(a)},handleSizeChange:function(a,
b,c){c.validateSize(a);c.computeClassNames(a)}},helper:{validateAttributes:function(a){this.setPrivateFlexibility(a);this.validateSize(a);this.prop.propValues(a,[{name:"padding",oneOf:"horizontal-small horizontal-medium horizontal-large around-small around-medium around-large".split(" "),force:" ",lowercase:!0}])},validateSize:function(a){var b=a.get("v.size"),c=a.get("v.smallDeviceSize"),d=a.get("v.mediumDeviceSize");a=a.get("v.largeDeviceSize");if(b&&!(1<=b&&12>=b))throw Error("Invalid `size` attribute for \x3clightning:layoutItem\x3e component.The `size` attribute should be an integer between 1 and 12");
if(c&&!(1<=c&&12>=c))throw Error("Invalid `smallDeviceSize` attribute for \x3clightning:layoutItem\x3e component.The `smallDeviceSize` attribute should be an integer between 1 and 12");if(d&&!(1<=d&&12>=d))throw Error("Invalid `mediumDeviceSize` attribute for \x3clightning:layoutItem\x3e component.The `mediumDeviceSize` attribute should be an integer between 1 and 12");if(a&&!(1<=a&&12>=a))throw Error("Invalid `largeDeviceSize` attribute for \x3clightning:layoutItem\x3e component.The `largeDeviceSize` attribute should be an integer between 1 and 12");
if(!b&&(c||d||a))throw Error("You cannot have device specific size attributes for \x3clightning:layoutItem\x3e component withoutspecifying the `size` attribute");},setPrivateFlexibility:function(a){var b=a.get("v.flexibility");"string"===typeof b&&(b=b.split(",").map(function(a){return a.trim()}));if(Array.isArray(b)){this.hasInvalidFlexibilityValues(b)&&a.set("v.privateFlexibility",[]);if(this.hasAutoAndNoFlexSameTime(b))throw Error("You cannot have `flexibility` value to be set to `auto` and `no-flex` together for \x3clightning:layoutItem\x3e component");
a.set("v.privateFlexibility",b.slice(0))}else a.set("v.privateFlexibility",[])},hasAutoAndNoFlexSameTime:function(a){return-1!==a.indexOf("auto")&&-1!==a.indexOf("no-flex")},hasInvalidFlexibilityValues:function(a){var b="auto shrink no-shrink grow no-grow no-flex".split(" ");return a.some(function(a){return b.some(function(b){return b===a})})},computeClassNames:function(a){var b=a.get("v.class"),c=a.get("v.privateFlexibility"),d=a.get("v.padding"),e=a.get("v.alignmentBump"),b=this.lib.classnames(b,
{"slds-p-right_small":this.equal(d,"horizontal-small"),"slds-p-left_small":this.equal(d,"horizontal-small"),"slds-p-right_medium":this.equal(d,"horizontal-medium"),"slds-p-left_medium":this.equal(d,"horizontal-medium"),"slds-p-right_large":this.equal(d,"horizontal-large"),"slds-p-left_large":this.equal(d,"horizontal-large"),"slds-p-around_small":this.equal(d,"around-small"),"slds-p-around_medium":this.equal(d,"around-medium"),"slds-p-around_large":this.equal(d,"around-large"),"slds-col":-1<c.indexOf("auto"),
"slds-grow":-1<c.indexOf("grow"),"slds-shrink":-1<c.indexOf("shrink"),"slds-grow-none":-1<c.indexOf("no-grow"),"slds-shrink-none":-1<c.indexOf("no-shrink"),"slds-no-flex":-1<c.indexOf("no-flex"),"slds-col_bump-left":this.equal(e,"left"),"slds-col_bump-top":this.equal(e,"top"),"slds-col_bump-right":this.equal(e,"right"),"slds-col_bump-bottom":this.equal(e,"bottom")}).split(" "),b=this.computeSizeClasses(a,b),b=b.join(" ");a.set("v.privateComputedClass",b)},computeSizeClasses:function(a,b){var c=a.get("v.size"),
d=a.get("v.smallDeviceSize"),e=a.get("v.mediumDeviceSize"),f=a.get("v.largeDeviceSize");c&&b.push(this.getSizeClass(c));d&&b.push(this.getSizeClass(d,"small"));e&&b.push(this.getSizeClass(e,"medium"));f&&b.push(this.getSizeClass(f,"large"));return b},getSizeClass:function(a,b){var c="";switch(b){case "small":c="slds-small-size_"+a+"-of-12";break;case "medium":c="slds-medium-size_"+a+"-of-12";break;case "large":c="slds-large-size_"+a+"-of-12";break;default:c="slds-size_"+a+"-of-12"}return c},equal:function(a,
b){return a&&b&&a.toLowerCase()===b.toLowerCase()}}}});return {"xs":"G","descriptor":"markup://lightning:layoutItem","ad":[["body","aura://Aura.Component[]","G",false,[]],["class","aura://String","G",false],["title","aura://String","G",false],["size","aura://Integer","G",false],["smallDeviceSize","aura://Integer","G",false],["mediumDeviceSize","aura://Integer","G",false],["largeDeviceSize","aura://Integer","G",false],["flexibility","aura://Object","G",false,null],["padding","aura://String","G",false],["alignmentBump","aura://String","G",false],["privateFlexibility","aura://String[]","p",false,[]],["privateComputedClass","aura://String","p",false]],"i":["markup://lightning:common"],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.computeClassNames"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.class"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleFlexibilityChange"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.flexibility"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.computeClassNames"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.padding"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleSizeChange"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.size"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.computeClassNames"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.smallDeviceSize"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.computeClassNames"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.mediumDeviceSize"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.computeClassNames"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.largeDeviceSize"},"n":"change"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.computeClassNames"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.alignmentBump"},"n":"change"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"title":{"exprType":"PROPERTY","byValue":false,"target":"lightning:layoutItem","path":"v.title"},"class":{"exprType":"PROPERTY","byValue":false,"target":"lightning:layoutItem","path":"v.privateComputedClass"}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"lightning:layoutItem","path":"v.body"}}}}}]}}}}]}],"mv":0.0,"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:feedItemActionLinks",function(){/*$A.componentService.addComponentClass("markup://forceChatter:feedItemActionLinks",function(){return{meta:{name:"forceChatter$feedItemActionLinks","extends":"markup://aura:component"},controller:{init:function(a,c,d){c=d.getPlatformActionGroups(a)||{};d.populatePrimaryArea(a,c.primary);d.populateNonPrimaryArea(a,c.nonPrimary)},handlePlatformActionGroupRefresh:function(a,c,d){c=c.getParam("platformActionGroupId");var e=d.getPlatformActionGroups(a)||{},b=a.get("v.mode");if(e.primary&&c===e.primary.id)d.populatePrimaryArea(a,
e.primary);else if("DRILL_IN"===b&&$A.util.isArray(e.nonPrimary)&&0<e.nonPrimary.length)for(b=0;b<e.nonPrimary.length;b++)if(c===e.nonPrimary[b].id){d.populateNonPrimaryArea(a,e.nonPrimary);break}}},helper:{getPlatformActionGroups:function(a){a=(a.get("v.associatedActions")||{}).platformActionGroups||{};for(var c=a.length||0,d=null,e=[],b=0;b<c;b++)"Primary"===a[b].category?d=a[b]:e.push(a[b]);return{primary:d,nonPrimary:e}},populatePrimaryArea:function(a,c){0<a.get("v.primaryArea").length&&a.set("v.primaryArea",
[]);c&&a.set("v.primaryArea",this._createPrimaryPlatformActionGroupComponent(c))},populateNonPrimaryArea:function(a,c){0<a.get("v.nonPrimaryArea").length&&a.set("v.nonPrimaryArea",[]);"DRILL_IN"===a.get("v.mode")&&$A.util.isArray(c)&&a.set("v.nonPrimaryArea",this._createNonPrimaryPlatformActionStatuses(c,a.get("v.contextId")))},_createPrimaryPlatformActionGroupComponent:function(a,c){var d=a.platformActions,e=[];if(d&&0<d.length)for(var b=0;b<d.length;b++)e[b]=1===d.length%2?0===b?"fullWidth":1===
b%2?"leftButton":"rightButton":0===b%2?"leftButton":"rightButton";return $A.createComponentFromConfig({descriptor:"markup://forceChatter:actionLinkGroup",attributes:{data:a,contextId:c,platformActionStyles:e}})},_createNonPrimaryPlatformActionStatuses:function(a,c){var d=null,e=[];if(a&&0<a.length)for(var b=0;b<a.length;b++)if(d=a[b],"Primary"!==a[b].category&&a[b].platformActions)for(var g=0;g<a[b].platformActions.length;g++){var f=a[b].platformActions[g],h=f.createdRecords&&0<f.createdRecords.length,
k="FeedItem.EscalateQFIToCase"===f.apiName;if("ActionLink"===f.type&&"NewStatus"!==f.status||"QuickAction"===f.type&&!k&&("NewStatus"!==f.status||h)){e.push($A.createComponentFromConfig({descriptor:"markup://forceChatter:actionLinkGroup",attributes:{data:d,contextId:c,additionalClasses:"QuickAction"===f.type?"cuf-feedActionStatusMessages":""}}));break}}return e}}}});return {"xs":"I","descriptor":"markup://forceChatter:feedItemActionLinks","ad":[["body","aura://Aura.Component[]","G",false,[]],["primaryArea","aura://Aura.Component[]","I",false,[]],["nonPrimaryArea","aura://Aura.Component[]","I",false,[]],["mode","aura://String","I",false,"IN_FEED"],["contextId","aura://String","I",false],["associatedActions","aura://Object","I",false,null]],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"ed":{"descriptor":"markup://forceChatter:updateActionLinkGroupUI"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handlePlatformActionGroupRefresh"}}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItemActionLinks","path":"v.primaryArea"}}}}},{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedItemActionLinks","path":"v.nonPrimaryArea"}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:trendingTopicsDataProvider",function(){/*$A.componentService.addComponentClass("markup://forceChatter:trendingTopicsDataProvider",function(){return{meta:{name:"forceChatter$trendingTopicsDataProvider","extends":"markup://ui:dataProvider"},controller:{provide:function(c,a,d){if(!$A.util.isUndefinedOrNull(c)){a=c.get("c.getTrendingTopics");var e=c.get("v.numberOfTopics"),f=c.get("v.isMetricVisible");a.setParams({numberOfTopics:e,showTalkingAbout:f});a.setCallback(this,function(b){if(!$A.util.isUndefinedOrNull(c))if("SUCCESS"===b.getState()){b=
b.getReturnValue();var a=b.onLoadErrorMessage;$A.util.isEmpty(a)?d.fireDataChangeEvent(c,b.trendingTopicList):c.get("e.error").setParams({error:{error:a}}).fire()}else"ERROR"===b.getState()?(a=b.getError()[0],$A.util.isUndefinedOrNull(a)||$A.getEvt("markup://force:showMessage").setParams({message:a.message,severity:"error"}).fire()):"INCOMPLETE"===b.getState()&&$A.getEvt("markup://force:showOfflineMessage").setParams({retryAction:b}).fire()});a.setStorable();$A.enqueueAction(a)}}}}});return {"xs":"I","descriptor":"markup://forceChatter:trendingTopicsDataProvider","cd":{"descriptor":"compound://forceChatter.trendingTopicsDataProvider","ac":[{"n":"getTrendingTopics","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.TrendingTopicsDataProviderController/ACTION$getTrendingTopics","at":"SERVER","rt":"java://ui.chatter.components.aura.components.forceChatter.chatter.TrendingTopicsDataProviderController$TrendingTopicsDataResponse","pa":[{"name":"numberOfTopics","type":"java://int"},{"name":"showTalkingAbout","type":"java://boolean"}]}]},"su":"markup://ui:dataProvider","ad":[["body","aura://Aura.Component[]","G",false,[]],["searchTerm","aura://String","PP",false],["sortBy","aura://String","PP",false],["sortDirection","aura://String","I",false],["columns","aura://List","PP",false,[]],["items","aura://List","PP",false,[]],["modelItemsKey","aura://String","PP",false],["currentPage","aura://Integer","PP",false,1],["endIndex","aura://Integer","I",false,-1],["pageCount","aura://Integer","PP",false,0],["pageSize","aura://Integer","PP",false,25],["startIndex","aura://Integer","I",false,-1],["totalItems","aura://Integer","PP",false,0],["type","aura://String","I",false],["numberOfTopics","aura://Integer","I",false,5],["isMetricVisible","aura://Boolean","I",false,false]],"re":[{"ed":"markup://ui:dataProvide","n":"provide","xs":"PP"},{"ed":"markup://ui:abortFetchData","n":"abort","xs":"PP"},{"ed":"markup://ui:dataChanged","n":"onchange","xs":"PP"},{"ed":"markup://ui:dataProvideError","n":"error","xs":"PP"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.provide"},"n":"provide"}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:feedCommentInput",function(){/*$A.componentService.addComponentClass("markup://forceChatter:feedCommentInput",function(){return{meta:{name:"forceChatter$feedCommentInput","extends":"markup://aura:component",imports:{feedLib:"markup://forceChatter:feedLib",eventHandler:"markup://forceChatter:feedEventingService",publisherUtil:"markup://forceChatter:publisherUtilitiesService",contentLib:"markup://forceContent:contentLib"}},controller:{init:function(a,b,c){$A.util.isEmpty(a.get("v.commentButtonLabel"))&&(b="QuestionPost"===a.get("v.feedItemType")?
$A.get("$Label.Feeds_QuestionPost.CommentVerb"):$A.get("$Label.Feeds.CommentVerb"),a.set("v.commentButtonLabel",b));b=a.get("v.rowCountNoFocus");var d=a.find("textarea");d&&d.set("v.fixedHeight",b);$A.util.isEmpty(a.get("v.promptText"))&&"DirectMessage"!==a.get("v.feedItemType")&&a.set("v.promptText",c.feedLib.util.generateLabel("Feeds","CommentDefaultText",a.get("v.feedItemType")));b=a.get("v.feedItemType");d=c.feedLib.util.generateLabel("Feeds","FeedPostLogInToCommentLink",b);"QuestionPost"===a.get("v.feedItemType")&&
(d=c.feedLib.util.generateLabel("Feeds","FeedPostLogInToAnswerLink",b));a.set("v._loginLinkText",d);b=(b=!a.get("v.isEdit")&&!0!==$A.get("$Browser.isIE9")&&"069"!==a.get("v.feedItemParentId").substring(0,3)&&"0LY"!==a.get("v.feedItemParentId").substring(0,3))&&!c.feedLib.util.isCommunityStreamInLEX(a.get("v.communityId"));a.set("v._fileAttachmentAllowed",b)},submitComment:function(a,b,c){c.clearServerSideErrors(a);c.isValid(a)&&c.comment(a)},submitUpdate:function(a,b,c){c.clearServerSideErrors(a);
c.isValid(a)&&c.update(a)},focus:function(a,b,c){c.focus(a)},focusWhenVisible:function(a,b,c){c.focusWhenVisible(a)},blur:function(a,b,c){"INLINE"===$A.util.lookup(a.get("v.commentsDisplayConfig"),"commentInputStyle")&&a.set("v.inputFocus",!1)},onError:function(a,b,c){b=b.getParam("errors");a.set("v.errors",b)},onClearErrors:function(a,b,c){a.set("v.errors",null)},onWarning:function(a,b,c){b=b.getParam("warnings");a.set("v.warnings",b)},openAtMention:function(a,b,c){if(!(c.isNotExpanded(a)&&"ALWAYS"!==
a.get("v.commentsDisplayConfig.postActionsDisplay"))){var d=a.find("mentionLauncher");$A.util.getBooleanValue(d.get("v.disabled"))||(d.set("v.disabled",!0),a.helper.publisherUtil.service.showSelectMentionPanel({inputId:a.find("textarea").get("v.id"),contextId:a.get("v.feedItemId"),contextModifiedDate:a.get("v.feedItemModifiedDate"),onClose:function(){d.set("v.disabled",!1);$A.rerender(d)}}))}},updateFileUploadProgressBar:function(a,b,c){a=a.find("progressBar");$A.util.isUndefinedOrNull(a)||(b=b.getParam("percentComplete"),
a.set("v.percentage",b))},onFileUploadCompleted:function(a,b,c){a.set("v._fileUploadInProgress",!1);c.isValid(a)?c.comment(a):c.enableAllButtons(a)},onFileUploadFailure:function(a,b,c){a.set("v._fileUploadInProgress",!1);a.set("v._fileSelected",!0);c.enableAllButtons(a)},onFileSelected:function(a,b,c){var d=b.getParam("data"),e=!$A.util.isUndefinedOrNull(b.getParam("docId"));e&&(d=b.getParam("name"),$A.util.isUndefinedOrNull(d)||(d=c.getDefaultUploadedFileName(d)),d={docId:b.getParam("docId"),name:d});
$A.createComponent("forceChatter:feedContentFilePreview",{data:d,inContextOfComponent:"Comment"},function(b,d,h){"SUCCESS"===d&&(a.set("v._fileBadge",b),a.set("v._fileSelected",!0),b.set("v.attachComponentId",a.getGlobalId()),e||(c.disableAllButtons(a),b.addHandler("onStateChange",a,"c.onStateChange")))})},onStateChange:function(a,b,c){b=b.getParam("data");if(!0===b.isReady){c.enableAllButtons(a);c=c.getAttachFileCmp(a);var d=a.get("v._fileBadge")[0];$A.util.isUndefinedOrNull(c)||c.set("v.selectedFileFromSalesforce",
d.get("v.docId"))}else!0===b.isFileRemoved&&c.setDisabledAttributeOnAllButtons(a,!1);c=a.get("v._fileBadge")[0];b.isError&&c?$A.util.addClass(c,"fileBadgeError"):c&&$A.util.removeClass(c,"fileBadgeError");a.set("v.commentAttachmentErrors",[{errorMessage:b.errorMessage}])},onFileBadgeError:function(a,b,c){a=$A.getEvt("markup://force:showMessage");a.setParams({callbacks:{onClose:function(){c.resetAttachFileComponent()}},message:b.message});a.fire()},onFileRemoved:function(a,b,c){b.getParam("componentId")&&
b.getParam("componentId")==a.getGlobalId()&&(a.set("v._fileSelected",!1),c.enableAllButtons(a))},fireLoginEvent:function(a,b,c){(a=$A.getEvt("markup://force:navigateToLogin"))&&a.fire()},cancel:function(a,b,c){c.onEditDone(a)},onChange:function(a,b,c){a.get("v.expandInput")&&(a.set("v._expanded",!0),a.set("v.expandInput",!0));a.set("v.isInputValid",c.isValid(a))}},helper:{comment:function(a){if(!a.get("v._commentingInProgress")){this.disableAllButtons(a);var b={feedItemId:a.get("v.feedItemId"),feedType:a.get("v.feedType"),
commentInput:{body:{messageSegments:this.getCommentSegments(a)},threadParentId:a.get("v.parentCommentId")},communityId:a.get("v.communityId")},c=this.getAttachFileCmp(a);c&&(c=c.get("v.selectedFileFromSalesforce"),$A.util.isUndefinedOrNull(c)||(b.commentInput.capabilities={content:{contentDocumentId:c}}));(c=a.find("attachmentPreview"))&&c.commentCreateDataPayload(b);var c=0,d=$A.util.lookup(b,"commentInput","body");if(d&&d.messageSegments&&0<d.messageSegments.length)for(var e=0;e<d.messageSegments.length;e++)"text"===
d.messageSegments[e].type&&(c+=d.messageSegments[e].text.length);c={commentTextLength:c};this.feedLib.util.logFeedInteraction(a,"comment","submitButtonClicking",a.get("v.feedItemId"),c);c=a.get("c.comment");c.setParams(b);var e=a.get("v.feedItemData"),b=$A.util.lookup(e,"capabilities","chatterLikes","page","total"),d=$A.util.lookup(e,"capabilities","interactions","count"),e=$A.util.lookup(e,"capabilities","comments","page","total"),g={likeCount:b,viewCount:d,commentCount:e},f=this;c.setCallback(this,
function(b){if("SUCCESS"===b.getState()){if(b=b.getReturnValue()){f.announceNewComment(a,b);f.resetCommentInput(a);f.destroyMessageBodyInput(a);var c=$A.get("$Browser.isDesktop"),d=a.getElement().getElementsByClassName("cuf-comment")[0];!$A.util.isUndefined(d)&&(c&&!a.helper.feedLib.util.isSiteDotComPSSC())&&("DRILL_IN"===a.get("v.commentsDisplayConfig.mode")?setTimeout($A.getCallback(function(){f.eventHandler.service.focusCommentInput(a)}),0):(d=a.getElement(),f.feedLib.util.focusTemporarilyOnElement(d)));
g.commentId=$A.util.lookup(b,"id");this.feedLib.util.logFeedInteraction(a,"comment","submit",a.get("v.feedItemId"),g)}}else"INCOMPLETE"===b.getState()?$A.getEvt("markup://force:showOfflineMessage").setParams({retryAction:b}).fire():f.fireActionErrorMessage(b);f.enableAllButtons(a)});$A.enqueueAction(c)}},update:function(a){if(!a.get("v._commentingInProgress")){this.disableAllButtons(a);var b={feedItemId:a.get("v.feedItemId"),feedType:a.get("v.feedType"),commentId:a.get("v.data").id,commentInput:{body:{messageSegments:this.getCommentSegments(a)}}},
c=a.get("c.commentUpdate");c.setParams(b);var d=this;c.setCallback(this,function(b){if("SUCCESS"===b.getState()){if(b=b.getReturnValue())d.announceUpdatedComment(b),this.onEditDone(a)}else"INCOMPLETE"===b.getState()?$A.getEvt("markup://force:showOfflineMessage").setParams({retryAction:b}).fire():d.displayActionErrorMessage(a,b);d.enableAllButtons(a)});$A.enqueueAction(c)}},resetCommentInput:function(a){this.resetAttachFileComponent(a.getGlobalId());this.resetExtensionPreviews(a);if(!$A.util.isUndefinedOrNull(a.find("textarea"))){var b=
$A.getEvt("markup://forceChatter:resetComponent");b.setParams({id:a.find("textarea").get("v.id")});b.fire();b=a.find("textarea");$A.get("$Browser.isPhone")?b.set("v.fixedHeight",a.get("v.rowCountNoFocus")):b.set("v.fixedHeight",null);a.set("v.isInputValid",this.isValid(a));a.set("v._expanded",!1);$A.get("$Browser.isDesktop")||(a.set("v.expandInput",!1),b.focusTextArea())}},resetExtensionPreviews:function(a){(a=a.find("attachmentPreview"))&&a.reset()},isFileSelectedFromDevice:function(a){return(a=
this.getAttachFileCmp(a))?(a=a.get("v.selectedFileFromDevice"),!$A.util.isUndefinedOrNull(a)):!1},uploadFile:function(a){var b=this.getAttachFileCmp(a);b&&(this.disableAllButtons(a),a.set("v._fileUploadInProgress",!0),a.set("v._fileSelected",!1),b.getEvent("startFileUpload").fire())},enableAllButtons:function(a){a.set("v._commentingInProgress",!1);this.setDisabledAttributeOnAllButtons(a,!1)},isNoFileAttached:function(a){var b=this.getAttachFileCmp(a);return b?(a=b.get("v.selectedFileFromDevice"),
b=b.get("v.selectedFileFromSalesforce"),$A.util.isUndefinedOrNull(a)&&$A.util.isUndefinedOrNull(b)):!0},disableAllButtons:function(a){a.set("v._commentingInProgress",!0);this.setDisabledAttributeOnAllButtons(a,!0)},setDisabledAttributeOnAllButtons:function(a,b){var c=a.find("mentionLauncher");$A.util.isUndefinedOrNull(c)||c.set("v.disabled",b);(c=this.getAttachFileCmp(a))&&c.set("v.disabled",b)},getAttachFileCmp:function(a){return a.get("v._fileAttachmentAllowed")?a.find("attachFileButton"):null},
resetAttachFileComponent:function(a){var b=$A.getEvt("markup://forceChatter:removeSelectedFile");b.setParams({componentId:a});b.fire()},announceNewComment:function(a,b){var c=a.getElement();c&&c.dispatchEvent(new CustomEvent("commentcreated",{bubbles:!0,cancelable:!0,composed:!0,detail:{comment:b}}));$A.getEvt("markup://forceChatter:commentCreated").setParams({comment:b}).fire()},announceUpdatedComment:function(a){$A.getEvt("markup://forceChatter:commentUpdated").setParams({comment:a}).fire()},getCommentSegments:function(a){var b=
$A.getEvt("markup://forceChatter:getFeedBodySegments");a={inputId:a.find("textarea").get("v.id"),segments:[]};b.setParams(a);b.fire();return b.getParam("segments")},focus:function(a){var b=a.get("v.onFocus");b&&b.run();a.get("v.expandInput")&&(a.find("textarea").set("v.fixedHeight",null),a.set("v._expanded",!0));a.set("v.expandInput",!0);"INLINE"===$A.util.lookup(a.get("v.commentsDisplayConfig"),"commentInputStyle")&&a.set("v.inputFocus",!0)},focusWhenVisible:function(a){a.get("v._hasRendered")?this.eventHandler.service.focusCommentInput(a):
a.set("v._shouldFocus",!0)},isNotExpanded:function(a){return!$A.util.getBooleanValue(a.get("v._expanded"))?(a.find("textarea").get("e.setFocus").fire(),!0):!1},isValid:function(a){return $A.util.isEmpty($A.util.trim(this.getPlainText(a)))&&!this.hasInlineImage(a)&&this.isNoFileAttached(a)?!1:(a=a.get("v.errors"))&&0<a.length?!1:!0},clearServerSideErrors:function(a){a.set("v.serverSideErrors",[])},fireActionErrorMessage:function(a){(a=this.generateActionErrorMessage(a))&&this.fireErrorMessage(a)},
displayActionErrorMessage:function(a,b){var c=this.generateActionErrorMessage(b);c&&a.set("v.errors",c)},generateActionErrorMessage:function(a){a=a.getError();var b;if($A.util.isArray(a)){for(var c=[],d=0;d<a.length;d++)c.push(a[d].message);$A.util.isEmpty(c)||(b=c.join(" "))}return b},fireErrorMessage:function(a){var b=$A.getEvt("markup://force:showMessage");b.setParams({message:a,severity:"error"});b.fire()},onEditDone:function(a){(a=a.get("v.onEditDone"))&&(a.run?a.run():a())},getDefaultUploadedFileName:function(a){var b=
a;$A.get("$Browser.isIOS")&&(b=this.contentLib.FileUtils.appendDateToCommonIOsFileNames(a));return this.contentLib.FileUtils.stripFileExtension(b)},destroyMessageBodyInput:function(a){$A.get("$Browser.isDesktop")&&(a.set("v._focusMessageBodyOnCreate",!1),a.set("v.isDummyTextarea",!0))},getPlainText:function(a){a=a.find("textarea").find("textarea");a=Array.isArray(a)?a[0]:a;return a.helper.getPlainText(a)},hasInlineImage:function(a){a=a.find("textarea").find("textarea");return $A.util.lookup(a,"helper",
"hasInlineImage")?a.helper.hasInlineImage(a):!1}},renderer:{afterRender:function(a,b){a.superAfterRender();a.get("v._hasRendered")||(a.set("v._hasRendered",!0),a.get("v._shouldFocus")&&(b.focusWhenVisible(a),a.set("v._shouldFocus",!1)))}},provider:{provide:function(a){a=$A.get("$Browser.isDesktop");var b=$A.getContext().getApp();return("one:one"===b||"native:bridge"===b)&&!a?"forceChatter:feedCommentInputMobile":"forceChatter:feedCommentInputDesktop"}}}});return {"xs":"I","descriptor":"markup://forceChatter:feedCommentInput","st":{"descriptor":"css://forceChatter.feedCommentInput","cl":"forceChatterFeedCommentInput"},"cd":{"descriptor":"compound://forceChatter.feedCommentInput","ac":[{"n":"commentUpdate","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.CommentInputController/ACTION$commentUpdate","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.feeds.CommentRepresentation","pa":[{"name":"commentId","type":"java://java.lang.String","loggable":true},{"name":"commentInput","type":"java://sfdc.chatter.connect.api.input.feeds.CommentInputRepresentation"},{"name":"feedType","type":"java://sfdc.chatter.connect.api.enums.feeds.ConnectFeedType"},{"name":"communityId","type":"java://java.lang.String","loggable":true}]},{"n":"comment","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.CommentInputController/ACTION$comment","at":"SERVER","rt":"java://sfdc.chatter.connect.api.output.feeds.CommentRepresentation","pa":[{"name":"feedItemId","type":"java://java.lang.String","loggable":true},{"name":"commentInput","type":"java://sfdc.chatter.connect.api.input.feeds.CommentInputRepresentation"},{"name":"feedType","type":"java://sfdc.chatter.connect.api.enums.feeds.ConnectFeedType"},{"name":"communityId","type":"java://java.lang.String","loggable":true}]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["searchQueryId","aura://String","I",false],["feedItemPosition","aura://String","I",false],["subjectId","aura://String","I",false],["sortOrder","aura://String","I",false],["contextUser","java://ui.chatter.api.FeedDisplayConfig$FeedContextUser","I",false,null],["feedItemId","aura://String","I",true],["feedItemParentId","aura://String","I",true],["feedItemVisibility","aura://String","I",true],["feedItemType","aura://String","I",true],["feedItemModifiedDate","java://java.util.Date","I",false,null],["feedItemData","aura://Object","I",false,null],["rowCountNoFocus","aura://Integer","I",false,1],["serverSideErrors","aura://String[]","I",false,[]],["errors","aura://String[]","I",false,[]],["warnings","aura://String[]","I",false,[]],["contextualMessages","aura://String[]","I",false,[]],["feedType","aura://String","I",false],["mentionLauncherEnabled","aura://Boolean","I",false,true],["isMentionsAllowed","aura://Boolean","I",false,true],["promptText","aura://String","I",false,""],["_loginLinkText","aura://String","I",false,"Please login"],["_fileUploadInProgress","aura://Boolean","I",false,false],["_fileSelected","aura://Boolean","I",false,false],["_fileBadge","aura://Aura.Component[]","I",false,[]],["_fileAttachmentAllowed","aura://Boolean","I",false,true],["_expanded","aura://Boolean","I",false,false],["_commentingInProgress","aura://Boolean","I",false,false],["_shouldFocus","aura://Boolean","I",false,false],["_hasRendered","aura://Boolean","I",false,false],["commentsDisplayConfig","aura://Map","I",true,null],["isEdit","aura://Boolean","I",false,false],["data","java://sfdc.chatter.connect.api.output.feeds.CommentRepresentation","I",false,null],["onEditDone","aura://Aura.Action","I",false,null],["isInputValid","aura://Boolean","I",false,false],["commentButtonLabel","aura://String","I",false],["inputFocus","aura://String","I",false],["expandInput","aura://Boolean","I",false,true],["richTextConfig","aura://Map","I",false,{}],["isTopicsEnabled","aura://Boolean","I",false,false],["communityId","aura://String","I",false],["parentCommentId","aura://String","I",false],["onFocus","aura://Aura.Action","I",false,null],["value","aura://String","I",false],["class","aura://String","I",false,""]],"med":[{"name":"forceChatter:focusWhenVisible","xs":"I"}],"i":["markup://forceChatter:additionalFeedLogData"],"hd":[{"ed":{"descriptor":"markup://forceChatter:removeSelectedFile"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onFileRemoved"}},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(fn.add(fn.add(fn.add(fn.add((!(fn.empty(cmp.get(\"v.class\")))?fn.add(cmp.get(\"v.class\"),\" \"):\"\"),(cmp.get(\"v.inputFocus\")?\"inputFocus \":\"\")),(cmp.get(\"v.isEdit\")?\" cuf-commentInputEdit\":\"cuf-commentInput\")),(fn.ne($A.get(\"$Browser.formFactor\"),\"PHONE\")?\" cuf-Large\":\"\")),(cmp.get(\"v._expanded\")?\" expanded\":\"\")),(fn.eq(cmp.get(\"v.commentsDisplayConfig.postActionsDisplay\"),\"ALWAYS\")?\" always-show-actions\":\"\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedCommentInput","path":"v.inputFocus"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedCommentInput","path":"v.commentsDisplayConfig.postActionsDisplay"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedCommentInput","path":"v.class"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedCommentInput","path":"$Browser.formFactor"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedCommentInput","path":"v._expanded"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedCommentInput","path":"v.isEdit"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"qe-feedCommentInput \",((!(cmp.get(\"v.richTextConfig.isRichTextEnabled\"))||(!($A.get(\"$Browser.isDesktop\"))&&!(cmp.get(\"v.richTextConfig.isRichTextMobileEnabled\"))))?\"cuf-feedCommentInputPlainText\":\"cuf-feedCommentInput\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedCommentInput","path":"$Browser.isDesktop"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedCommentInput","path":"v.richTextConfig.isRichTextEnabled"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedCommentInput","path":"v.richTextConfig.isRichTextMobileEnabled"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-commentMessages"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"id":"serverSideErrors","class":"cuf-commentErrors cuf-commentServerSideErrors"}},"tag":{"descriptor":"tag","value":"ul"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:iteration"},"localId":"serverSideErrors","attributes":{"values":{"var":{"descriptor":"var","value":"error"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"li"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedCommentInput","path":"error"}}}}}]}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedCommentInput","path":"v.serverSideErrors"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(fn.empty(cmp.get(\"v.serverSideErrors\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedCommentInput","path":"v.serverSideErrors"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"id":"errors","class":"cuf-commentErrors cuf-commentClientSideErrors"}},"tag":{"descriptor":"tag","value":"ul"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:iteration"},"localId":"errors","attributes":{"values":{"var":{"descriptor":"var","value":"error"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"li"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedCommentInput","path":"error"}}}}}]}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedCommentInput","path":"v.errors"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(fn.empty(cmp.get(\"v.errors\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedCommentInput","path":"v.errors"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"id":"contextualMessages","class":"cuf-commentErrors cuf-commentWarnings"}},"tag":{"descriptor":"tag","value":"ul"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:iteration"},"localId":"contextualMessages","attributes":{"values":{"var":{"descriptor":"var","value":"message"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"li"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedCommentInput","path":"message"}}}}}]}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedCommentInput","path":"v.contextualMessages"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(fn.empty(cmp.get(\"v.contextualMessages\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedCommentInput","path":"v.contextualMessages"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"id":"warnings","class":"cuf-commentErrors cuf-commentWarnings"}},"tag":{"descriptor":"tag","value":"ul"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:iteration"},"localId":"warnings","attributes":{"values":{"var":{"descriptor":"var","value":"warning"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"li"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedCommentInput","path":"warning"}}}}}]}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedCommentInput","path":"v.warnings"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(fn.empty(cmp.get(\"v.warnings\")));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedCommentInput","path":"v.warnings"}],"byValue":false}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (((!(fn.empty(cmp.get(\"v.serverSideErrors\")))||!(fn.empty(cmp.get(\"v.errors\"))))||!(fn.empty(cmp.get(\"v.contextualMessages\"))))||!(fn.empty(cmp.get(\"v.warnings\"))));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedCommentInput","path":"v.warnings"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedCommentInput","path":"v.serverSideErrors"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedCommentInput","path":"v.errors"},{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedCommentInput","path":"v.contextualMessages"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedCommentInput","path":"v.body"}}}}}]}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-loginLinkContainerParent slds-align_absolute-center"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"cuf-loginLinkContainer"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:button"},"attributes":{"values":{"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedCommentInput","path":"c.fireLoginEvent"}},"variant":{"descriptor":"variant","value":"brand"},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:feedCommentInput","path":"v._loginLinkText"}},"class":{"descriptor":"class","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"loginLink \",(fn.eq($A.get(\"$Site.templateFramework\"),\"Site.com\")?\"sitedotcomloginlink\":\"\"));}","args":[{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedCommentInput","path":"$Site.templateFramework"}],"byValue":true}}}}}]}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq(cmp.get(\"v.contextUser.userType\"),\"Guest\");}","args":[{"exprType":"PROPERTY","byValue":true,"target":"forceChatter:feedCommentInput","path":"v.contextUser.userType"}],"byValue":true}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:filterInputText",function(){/*$A.componentService.addComponentClass("markup://forceSearch:filterInputText",function(){return{meta:{name:"forceSearch$filterInputText","extends":"markup://forceSearch:filterInput",imports:{lib:"markup://forceSearch:searchLibrary"}},controller:{onRender:function(a,b,c){b=a.get("v.enableApplyButton")&&(a.get("v.priv_hasFocus")||a.get("v.priv_hasUnappliedValue"));a.set("v.priv_showApplyButton",b)},handleApplyButtonClicked:function(a,b,c){c.handleApply(a);a.getConcreteComponent().focus()},handleInput:function(a,
b,c){a.set("v.priv_hasUnappliedValue",!$A.util.isEmpty(c.getInputValue(a,"input")))},keydown:function(a,b,c){if(13===(b.keyCode||b.getParam("keyCode")))c.handleApply(a),a.getConcreteComponent().focus()},handleFocus:function(a,b,c){a.set("v.priv_hasFocus",!0)},handleBlur:function(a,b,c){c.handleBlur(a)},focus:function(a){a.find("input").focus()}},helper:{clearInput:function(a){a.set("v.priv_hasUnappliedValue",!1);a.find("input").set("v.value","")},handleApply:function(a){var b=this.getInputValue(a,
"input");$A.util.isEmpty(b)||(a.set("v.priv_hasUnappliedValue",!1),this.applyFilter(a,[b]))},handleBlur:function(a){a.set("v.priv_hasFocus",!1);a.get("v.enableApplyButton")||this.handleApply(a)},getInputValue:function(a,b){var c=a.find(b).get("v.value");return c&&c.trim()}}}});return {"xs":"I","descriptor":"markup://forceSearch:filterInputText","st":{"descriptor":"css://forceSearch.filterInputText","cl":"forceSearchFilterInputText"},"su":"markup://forceSearch:filterInput","ad":[["body","aura://Aura.Component[]","G",false,[]],["fieldName","aura://String","I",true],["fieldLabel","aura://String","I",true],["fieldType","aura://String","I",true],["objectApiName","aura://String","I",true],["fieldLevelHelp","aura://String","I",false,""],["options","aura://List","I",false,[]],["logicalOperator","aura://String","I",false,"AND"],["enableApplyButton","aura://Boolean","I",false,true],["priv_conditions","aura://List","I",false,[]],["maxlength","aura://Integer","I",false,255],["priv_showApplyButton","aura://Boolean","I",false,false],["priv_hasUnappliedValue","aura://Boolean","I",false,false],["priv_hasFocus","aura://Boolean","I",false,false]],"med":[{"name":"forceSearch:clearFilter","xs":"I"},{"name":"forceSearch:focus","xs":"I"}],"re":[{"ed":"markup://ui:dataChanged","n":"filterChanged","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onRender"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"render"}],"ld":{"applyButton":{"context":{"fieldName":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:filterInputText","path":"v.fieldName"},"fieldType":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:filterInputText","path":"v.fieldType"}},"alias":"search-filter-input-text-apply"}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:filterInputText","path":"v.body"}}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:inputText"},"localId":"input","attributes":{"values":{"input":{"descriptor":"input","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:filterInputText","path":"c.handleInput"}},"maxlength":{"descriptor":"maxlength","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:filterInputText","path":"v.maxlength"}},"labelClass":{"descriptor":"labelClass","value":"slds-truncate slds-form-element__label"},"focus":{"descriptor":"focus","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:filterInputText","path":"c.handleFocus"}},"blur":{"descriptor":"blur","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:filterInputText","path":"c.handleBlur"}},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:filterInputText","path":"v.fieldLabel"}},"class":{"descriptor":"class","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.join(\" \",(cmp.get(\"v.priv_hasUnappliedValue\")?\"highlighted\":\"\"),(cmp.get(\"v.priv_showApplyButton\")?\"hasApplyButton\":\"\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:filterInputText","path":"v.priv_hasUnappliedValue"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:filterInputText","path":"v.priv_showApplyButton"}],"byValue":false}},"updateOn":{"descriptor":"updateOn","value":"input"},"keydown":{"descriptor":"keydown","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:filterInputText","path":"c.keydown"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:buttonIcon"},"localId":"applyButton","attributes":{"values":{"onclick":{"descriptor":"onclick","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:filterInputText","path":"c.handleApplyButtonClicked"}},"variant":{"descriptor":"variant","value":"brand"},"disabled":{"descriptor":"disabled","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return !(cmp.get(\"v.priv_hasUnappliedValue\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:filterInputText","path":"v.priv_hasUnappliedValue"}],"byValue":false}},"iconName":{"descriptor":"iconName","value":"utility:search"},"class":{"descriptor":"class","value":"applyButton slds-p-horizontal_x-small slds-m-right_x-small slds-m-bottom_x-small"},"alternativeText":{"descriptor":"alternativeText","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:filterInputText","path":"$Label.LightningSearchUI.ApplyFilter"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:filterInputText","path":"v.priv_showApplyButton"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq(cmp.get(\"v.body.length\"),0);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:filterInputText","path":"v.body.length"}],"byValue":false}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:recommendationListWidget",function(){/*$A.componentService.addComponentClass("markup://forceChatter:recommendationListWidget",function(){return{meta:{name:"forceChatter$recommendationListWidget","extends":"markup://forceChatter:recommendationBaseWidget",imports:{pageLoadCoordination:"markup://forceChatter:pageLoadCoordinationService"}},helper:{recommendationsLoaded:function(a){a.helper.pageLoadCoordination.service.waitForPageLoad().then($A.getCallback(function(){if(a.isValid()){var b=a.find("recommendationCard");b&&b.helper.logEvent(b,
"SERVED")}}))}}}});return {"xs":"I","descriptor":"markup://forceChatter:recommendationListWidget","st":{"descriptor":"css://forceChatter.recommendationListWidget","cl":"forceChatterRecommendationListWidget"},"cd":{"descriptor":"compound://forceChatter.recommendationListWidget","ac":[{"n":"loadRecommendations","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.recommend.RecommendationWidgetController/ACTION$loadRecommendations","at":"SERVER","rt":"java://java.util.List","pa":[{"name":"channelString","type":"java://sfdc.chatter.connect.api.enums.reccs.ConnectRecommendationChannel","loggable":true},{"name":"recommendationTypes","type":"java://java.util.List<java.lang.String>","loggable":true},{"name":"maxResults","type":"java://int","loggable":true}]}]},"su":"markup://forceChatter:recommendationBaseWidget","ad":[["body","aura://Aura.Component[]","G",false,[]],["recommendationsList","aura://Object","I",false,null],["channel","aura://String","I",false],["maxResults","aura://Integer","I",false,20],["placeHolder","aura://Aura.Component[]","I",false,[]],["_recommendationsLoaded","aura://Boolean","I",false,false],["title","aura://String","I",false],["useTileCard","aura://Boolean","I",true],["displayNumber","aura://Integer","I",false],["recommendationTypes","aura://String[]","I",false,[]]],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"rec-widget\",(fn.eq($A.get(\"$Site\"),null)?\" slds-card-wrapper\":\"\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationListWidget","path":"$Site"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"article"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"title":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationListWidget","path":"v.title"},"class":"slds-text-heading--small header"}},"tag":{"descriptor":"tag","value":"h2"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationListWidget","path":"v.title"}}}}}]}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"einstein-header"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"title":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationListWidget","path":"v.title"},"class":"slds-text-heading--small header"}},"tag":{"descriptor":"tag","value":"h2"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationListWidget","path":"v.title"}}}}}]}}}},{"componentDef":{"descriptor":"markup://ui:image"},"attributes":{"values":{"imageType":{"descriptor":"imageType","value":"decorative"},"src":{"descriptor":"src","value":"/img/einstein/einstein_header_icon.svg"},"class":{"descriptor":"class","value":"header-icon"}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq($A.get(\"$Site\"),null);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationListWidget","path":"$Site"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://forceChatter:recommendationListCard"},"localId":"recommendationCard","attributes":{"values":{"endPoint":{"descriptor":"endPoint","value":"AURA_WIDGET"},"useTileCard":{"descriptor":"useTileCard","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationListWidget","path":"v.useTileCard"}},"channel":{"descriptor":"channel","value":"DefaultChannel"},"recommendations":{"descriptor":"recommendations","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationListWidget","path":"v.recommendationsList"}},"displayNumber":{"descriptor":"displayNumber","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:recommendationListWidget","path":"v.displayNumber"}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:mruMobileItem",function(){/*$A.componentService.addComponentClass("markup://forceSearch:mruMobileItem",function(){return{meta:{name:"forceSearch$mruMobileItem","extends":"markup://aura:component",imports:{lib:"markup://forceSearch:searchLibrary"}},controller:{go:function(a,c,b){b.sendAppAnalyticsData(a);if(c=a.get("v.onSelected"))$A.util.addClass(a.find("ellipsis"),"importantHideEl"),a.find("loadingIndicator").getEvent("toggle").setParams({isVisible:!0}).fire(),$A.enqueueAction(c);if(c=a.get("v.id")){var d=a.get("v.scopeMap");
a.get("v.isList")?(b=$A.get("e.force:navigateToList"),b.setParams({listViewId:c,listViewName:a.get("v.name"),scope:d.name,scopeIcon:d.icon,scopeColor:d.color,scopeLabel:d.labelPlural,scopeLabelSingular:d.label,isSortable:!0})):"ContentNote"===d.name?b=$A.get("e.notes:editNote").setParams({noteId:c}):(b=$A.get("e.force:navigateToSObject"),b.setParams({recordId:c}));b.fire()}},resetLoading:function(a,c,b){a.find("loadingIndicator").getEvent("toggle").setParams({isVisible:!1}).fire();$A.util.removeClass(a.find("ellipsis"),
"importantHideEl")}},helper:{sendAppAnalyticsData:function(a){var c="seasc",b=this.lib.util.mergeMaps(a.get("v.logInfo"),{searchString:a.get("v.term"),position:a.get("v.pos"),recordId:a.get("v.id"),searchArea:a.get("v.isList")?"forceSearch:searchMruListView":"forceSearch:mruMobileItem"});a.get("v.isTypeAheadItem")||(c="semac",b.hasOwnProperty("queryId")&&delete b.queryId,b.hasOwnProperty("suggestionType")&&delete b.suggestionType);$A.get("e.one:sendAppAnalyticsData").setParams({key:c,data:this.lib.logging.sanitizeLogData(b)}).fire()}}}});return {"xs":"I","descriptor":"markup://forceSearch:mruMobileItem","st":{"descriptor":"css://forceSearch.mruMobileItem","cl":"forceSearchMruMobileItem"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["term","aura://String","I",true,""],["scopeMap","aura://Map","I",true,{}],["context","aura://Map","I",true,{}],["onSelected","aura://Aura.Action","I",false,null],["name","aura://String","I",false],["disambiguationValue","aura://String","I",false],["label","aura://String","I",false],["id","aura://String","I",false],["isList","aura://Boolean","I",false,false],["isListExpander","aura://Boolean","I",false,false],["visibleOnCreate","aura://Boolean","I",false,false],["isTypeAheadItem","aura://Boolean","I",false,false],["pos","aura://Integer","I",false],["logInfo","aura://Map","I",false,{}]],"i":["markup://forceSearch:searchInterface","markup://forceSearch:firesSearchRequest"],"re":[{"ed":"markup://force:searchRequest","n":"searchRequest","xs":"I"},{"ed":"markup://ui:refresh","n":"resetLoading","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.resetLoading"},"n":"resetLoading"}],"ld":{"item":{"context":{"recordId":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobileItem","path":"v.id"},"suggestionType":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.isTypeAheadItem\")?cmp.get(\"v.logInfo.suggestionType\"):null);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobileItem","path":"v.logInfo.suggestionType"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobileItem","path":"v.isTypeAheadItem"}],"byValue":false},"mruVisibleCount":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobileItem","path":"v.logInfo.mruVisibleCount"},"position":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobileItem","path":"v.pos"},"searchArea":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.isList\")?\"forceSearch:searchMruListView\":\"forceSearch:mruMobileItem\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobileItem","path":"v.isList"}],"byValue":false},"typeAheadVisibleCount":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobileItem","path":"v.logInfo.typeAheadVisibleCount"},"queryId":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.isTypeAheadItem\")?cmp.get(\"v.logInfo.queryId\"):null);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobileItem","path":"v.logInfo.queryId"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobileItem","path":"v.isTypeAheadItem"}],"byValue":false}},"alias":"search-mru-item"}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"item","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onclick":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobileItem","path":"c.go"},"data-is-typeahead":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobileItem","path":"v.isTypeAheadItem"},"data-is-expander":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.isListExpander\")?\"true\":\"false\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobileItem","path":"v.isListExpander"}],"byValue":false},"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"slds-p-horizontal--medium slds-m-around--none \",(cmp.get(\"v.visibleOnCreate\")?\"\":\"slds-hide\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobileItem","path":"v.visibleOnCreate"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"slds-text-body--small \",((fn.eq(cmp.get(\"v.scopeMap.name\"),cmp.get(\"undefined\"))||fn.eq(cmp.get(\"v.scopeMap.name\"),null))?\"\":\"slds-hide\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobileItem","path":"v.scopeMap.name"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobileItem","path":"undefined"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobileItem","path":"v.label"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"mruName slds-text-color--default slds-clearfix"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"iconWrapper \",(fn.ne(cmp.get(\"v.scopeMap.icon\"),cmp.get(\"undefined\"))?\"\":\"slds-hide\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobileItem","path":"v.scopeMap.icon"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobileItem","path":"undefined"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:entityIcon"},"attributes":{"values":{"color":{"descriptor":"color","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobileItem","path":"v.scopeMap.color"}},"icon":{"descriptor":"icon","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobileItem","path":"v.scopeMap.icon"}},"class":{"descriptor":"class","value":"small"}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"nameWrapper slds-size--1-of-1"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"name slds-truncate"}},"tag":{"descriptor":"tag","value":"p"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobileItem","path":"v.name"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"disambiguation slds-text-color--weak slds-truncate \",(fn.ne(cmp.get(\"v.disambiguationValue\"),null)?\"\":\"slds-hide\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobileItem","path":"v.disambiguationValue"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"p"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobileItem","path":"v.disambiguationValue"}}}}}]}}}}]}}}}]}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"mruName slds-clearfix slds-text-color--default"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:icon"},"localId":"ellipsis","attributes":{"values":{"imageType":{"descriptor":"imageType","value":"decorative"},"alt":{"descriptor":"alt","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobileItem","path":"$Label.Icons.List"}},"class":{"descriptor":"class","value":"iconWrapper slds-text-align--center slds-text-color--weak"},"key":{"descriptor":"key","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.isListExpander\")?\"threedots\":\"list\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobileItem","path":"v.isListExpander"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://force:inlineSpinner"},"localId":"loadingIndicator","attributes":{"values":{"isVisible":{"descriptor":"isVisible","value":false},"class":{"descriptor":"class","value":"iconWrapper"}}}},{"componentDef":{"descriptor":"markup://ui:outputText"},"attributes":{"values":{"class":{"descriptor":"class","value":"nameWrapper slds-truncate slds-size--1-of-1"},"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobileItem","path":"v.name"}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobileItem","path":"v.isList"}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:entityMenuItem",function(){/*$A.componentService.addComponentClass("markup://forceSearch:entityMenuItem",function() {
return {
  "meta":{
    "name":"forceSearch$entityMenuItem",
    "extends":"markup://ui:menuItem"
  }
};
});
return {"xs":"I","descriptor":"markup://forceSearch:entityMenuItem","st":{"descriptor":"css://forceSearch.entityMenuItem","cl":"forceSearchEntityMenuItem"},"su":"markup://ui:menuItem","ad":[["body","aura://Aura.Component[]","G",false,[]],["class","aura://String","G",false],["dir","aura://String","I",false,"ltr"],["namespaceOverride","aura://String","I",false],["actionable","aura://Boolean","I",false,true],["role","aura://String","I",false,"menuitem"],["ariaDescribedBy","aura://String","PP",false,""],["value","aura://Object","PP",false,null],["visible","aura://Boolean","I",false,true],["selected","aura://Boolean","G",false,false],["type","aura://String","G",false],["label","aura://String","G",false],["hideMenuAfterSelected","aura://Boolean","G",false,true],["disabled","aura://Boolean","G",false,false],["color","aura://String","I",false],["icon","aura://String","I",false]],"med":[{"name":"ui:select","xs":"I","action":"{!c.select}"},{"name":"ui:setFocus","xs":"I","action":"{!c.setFocus}"}],"re":[{"ed":"markup://ui:click","n":"click","xs":"G"},{"ed":"markup://ui:dblclick","n":"dblclick","xs":"G"},{"ed":"markup://ui:mousedown","n":"mousedown","xs":"G"},{"ed":"markup://ui:mousemove","n":"mousemove","xs":"G"},{"ed":"markup://ui:mouseout","n":"mouseout","xs":"G"},{"ed":"markup://ui:mouseover","n":"mouseover","xs":"G"},{"ed":"markup://ui:mouseup","n":"mouseup","xs":"G"},{"ed":"markup://ui:blur","n":"blur","xs":"G"},{"ed":"markup://ui:focus","n":"focus","xs":"G"},{"ed":"markup://ui:keydown","n":"keydown","xs":"G"},{"ed":"markup://ui:keypress","n":"keypress","xs":"G"},{"ed":"markup://ui:keyup","n":"keyup","xs":"G"},{"ed":"markup://ui:select","n":"select","xs":"G"},{"ed":"markup://ui:menuSelect","n":"menuSelect","xs":"PP"}],"ld":{"menuItem":{"context":{"scopeName":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:entityMenuItem","path":"v.value"}},"alias":"search-menu-item"}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"role":"presentation","class":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:entityMenuItem","path":"v.class"}}},"tag":{"descriptor":"tag","value":"li"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"menuItem","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"role":"menuitem","onclick":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:entityMenuItem","path":"c.select"},"title":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:entityMenuItem","path":"v.label"}}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:entityIcon"},"attributes":{"values":{"color":{"descriptor":"color","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:entityMenuItem","path":"v.color"}},"icon":{"descriptor":"icon","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:entityMenuItem","path":"v.icon"}},"class":{"descriptor":"class","value":"entityIcon slds-icon slds-icon--small slds-float--left slds-m-right--small"}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"title":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:entityMenuItem","path":"v.label"},"class":"truncate entityLabel slds-align-middle slds-p-top--xx-small"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:entityMenuItem","path":"v.label"}}}}}]}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://force:headerButtonDeprecated",function(){/*$A.componentService.addComponentClass("markup://force:headerButtonDeprecated",function(){return{meta:{name:"force$headerButtonDeprecated","extends":"markup://force:iconDeprecated"},controller:{click:function(a){var b=a.get("v.fire");$A.util.isUndefined(b)||$A.eventService.newEvent(b).fire();a.get("e.press").fire()}}}});return {"xs":"I","descriptor":"markup://force:headerButtonDeprecated","st":{"descriptor":"css://force.headerButtonDeprecated","cl":"forceHeaderButtonDeprecated"},"su":"markup://force:iconDeprecated","ad":[["body","aura://Aura.Component[]","G",false,[]],["key","aura://String","I",false],["alt","aura://String","I",false],["class","aura://String","I",false],["tag","aura://String","I",false,"div"],["imageType","aura://String","I",false,"informational"],["fire","aura://String","I",false],["isMenuOpen","aura://Boolean","I",false,false],["isInsideAnchor","aura://Boolean","I",false,false]],"re":[{"ed":"markup://ui:press","n":"press","xs":"I"}],"ld":{"headerButton":{}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"headerButton","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onclick":{"exprType":"PROPERTY","byValue":false,"target":"force:headerButtonDeprecated","path":"c.click"},"title":{"exprType":"PROPERTY","byValue":false,"target":"force:headerButtonDeprecated","path":"v.alt"},"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(fn.add(cmp.get(\"v.class\"),($A.get(\"$Browser.isDesktop\")?\" desktop\":\" mobile\")),(cmp.get(\"v.isMenuOpen\")?\" activated\":\"\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:headerButtonDeprecated","path":"$Browser.isDesktop"},{"exprType":"PROPERTY","byValue":false,"target":"force:headerButtonDeprecated","path":"v.isMenuOpen"},{"exprType":"PROPERTY","byValue":false,"target":"force:headerButtonDeprecated","path":"v.class"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"force:headerButtonDeprecated","path":"v.body"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.body.length\")>0);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:headerButtonDeprecated","path":"v.body.length"}],"byValue":false}}}}}]}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"headerButton","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onclick":{"exprType":"PROPERTY","byValue":false,"target":"force:headerButtonDeprecated","path":"c.click"},"title":{"exprType":"PROPERTY","byValue":false,"target":"force:headerButtonDeprecated","path":"v.alt"},"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(fn.add(cmp.get(\"v.class\"),($A.get(\"$Browser.isDesktop\")?\" desktop\":\" mobile\")),(cmp.get(\"v.isMenuOpen\")?\" activated\":\"\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:headerButtonDeprecated","path":"$Browser.isDesktop"},{"exprType":"PROPERTY","byValue":false,"target":"force:headerButtonDeprecated","path":"v.isMenuOpen"},{"exprType":"PROPERTY","byValue":false,"target":"force:headerButtonDeprecated","path":"v.class"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"force:headerButtonDeprecated","path":"v.body"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.body.length\")>0);}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:headerButtonDeprecated","path":"v.body.length"}],"byValue":false}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"force:headerButtonDeprecated","path":"v.isInsideAnchor"}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:searchPage",function(){/*$A.componentService.addComponentClass("markup://forceSearch:searchPage",function(){return{meta:{name:"forceSearch$searchPage","extends":"markup://forceSearch:baseSearchPage"},provider:{provide:function(a){var b=a.get("v.impl");return b?b:a.getDef().getHelper().lib.scope.getResultsPageCmp(a)}}}});return {"xs":"I","descriptor":"markup://forceSearch:searchPage","su":"markup://forceSearch:baseSearchPage","ad":[["body","aura://Aura.Component[]","G",false,[]],["shouldFocus","aura://Boolean","I",false,false],["groupId","aura://String","I",true,"DEFAULT"],["updateChildren","aura://Boolean","I",true,true],["updateOnlyIfActive","aura://Boolean","I",true,true],["priv_valueProviderReady","aura://Boolean","I",false,false],["initialTerm","aura://String","I",false],["initialScopeMap","aura://Map","I",false,null],["initialContext","aura://Map","I",false,null],["inContextOfComponent","aura://String","I",false,"forceSearch:search"],["term","aura://String","I",true,""],["scopeMap","aura://Map","I",true,{}],["context","aura://Map","I",true,{}],["loggingContext","aura://Map","I",true,{}],["searchShowLauncher","aura://Boolean","I",false,true],["searchActive","aura://Boolean","I",false,false],["canRefresh","aura://Boolean","PP",false],["priv_active","aura://Boolean","I",false,true],["priv_resolvedScope","aura://Map","I",false,{}],["priv_lastSearch","aura://Object","I",false,"{}"],["priv_minTimeBeforeRefresh","aura://Integer","I",false,1000],["impl","aura://String","I",false],["scopeSets","aura://Map","I",false,{}],["useRibbon","aura://Boolean","I",false,false],["allowChatterResults","aura://Boolean","I",false,true]],"med":[{"name":"forceSearch:update","xs":"I","action":"{!c.update}","attributes":[["type","aura://String","I",false],["term","aura://String","I",false],["scopeMap","aura://Map","I",false,null],["context","aura://Map","I",false,null],["sourceId","aura://String","I",false]]}],"i":["markup://forceSearch:acceptsImpl","markup://forceSearch:hasScopeSets"],"re":[{"ed":"markup://force:searchRequest","n":"searchRequest","xs":"I"},{"ed":"markup://ui:refresh","n":"refresh","xs":"I"}],"fa":[{"descriptor":"searchActive","value":true},{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:searchPage","path":"v.body"}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:streamsListingRowActionMenu",function(){/*$A.componentService.addComponentClass("markup://forceChatter:streamsListingRowActionMenu",function(){return{meta:{name:"forceChatter$streamsListingRowActionMenu","extends":"markup://aura:component"},controller:{handleClick:function(a,c,b){b.setupVirtualClick(a)},handleKeydown:function(a,c,b){b.handleKeydown(a,c)}},helper:{KEY_CODE_LEFT:37,KEY_CODE_UP:38,KEY_CODE_RIGHT:39,KEY_CODE_DOWN:40,KEY_CODE_SPACE:32,prefetchActions:function(a,c){var b={actionTriggered:!1,containerDef:{componentDef:{descriptor:"markup://one:actionsRibbon"}},
actionDefs:[{componentDef:{descriptor:"markup://force:actionEventLink"}},{componentDef:{descriptor:"markup://force:actionEventLink"}}]};b.actionDataList=this.getActions(a,this);b.recordId=this.getRowItemId(a);this.gotActions.bind(this,a,c,b,b)()},gotActions:function(a,c,b,d){var e=b.recordId;a=a._storedActions||(a._storedActions={});a[e]||(a[e]=d);c&&c(d,b)},getActions:function(a,c){var b=[],d={editStream:$A.get("$Label.Global.edit"),deleteStream:$A.get("$Label.Global.del")},e=a.get("v.selectedActions");
$A.util.isEmpty(e)&&!a.get("v.listedItem.isCommunity")&&(e=["editStream","deleteStream"]);e.forEach(function(c,e,f){d[c]&&(c={label:d[c],devNameOrId:c,executionComponent:{attributes:{streamId:this.getRowItemId(a),actionType:c,suppressNavigation:!0},isClientSideCreatable:!0,isEvent:!1,descriptor:"markup://forceChatter:streamEditDeleteAction",componentName:"forceChatter:streamEditDeleteAction"}},b.push(c))},this);return b},setupVirtualClick:function(a,c){c=c||a.getElement();var b=(a._storedActions||
(a._storedActions={}))[this.getRowItemId(a)]||{createAction:!0},d=b.triggered,e=b.containerDef,k=b.actionDefs,g=b.actionDataList;if(b.createAction)this.prefetchActions(a,function(b){this.setupVirtualClick(a,c)}.bind(this));else{var f;if(!d){d={descriptor:"markup://force:noRowActions"};if(!e||$A.util.isEmpty(g))e=d;f=$A.createComponentFromConfig($A.util.apply(e,{attributes:{values:{size:0}}}));if(e!==d)if(f.isInstanceOf("one:acceptsActions"))f.set("v.actions",g);else{e=[];for(d=0;d<g.length;d++){var h=
$A.util.apply(k[d],{attributes:{values:{action:g[d]}}}),h=$A.createComponentFromConfig(h);e.push(h)}f.set("v.actions",e)}b.container=f;for(b.triggered=!0;c.firstChild;)c.removeChild(c.firstChild);$A.render(f,c);$A.afterRender(f);f.show&&f.show();window.requestAnimationFrame(function(){$A.util.addClass(document.querySelector("body \x3e .forceActionsDropDownMenuList"),"slds-scope");var a=f.getElement();a&&(a=a.getElementsByTagName("a"))&&a.length&&a[0].focus()})}}},resetActionTriggerdOnGridRefresh:function(a){if(a._storedActions&&
(a=a._storedActions[this.getRowItemId(a)]))a.triggered=!1},handleKeydown:function(a,c){var b=c.keyCode;if(b===this.KEY_CODE_LEFT||b===this.KEY_CODE_UP||b===this.KEY_CODE_RIGHT||b===this.KEY_CODE_DOWN||b===this.KEY_CODE_SPACE)$A.util.squash(c,!0),this.setupVirtualClick(a)},getRowItemId:function(a){return a.get("v.listedItem.id")}}}});return {"xs":"I","descriptor":"markup://forceChatter:streamsListingRowActionMenu","st":{"descriptor":"css://forceChatter.streamsListingRowActionMenu","cl":"forceChatterStreamsListingRowActionMenu"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["listedItem","aura://Object","I",true,null],["selectedActions","aura://List","I",false,[]],["actions","aura://List","p",false,[]]],"ld":{"virtualAction":{"alias":"virtualActionInStreamsList"}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"align":"right"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"rowActionsPlaceHolderWrapper slds-dropdown-trigger"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"rowActionButton","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"onclick":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamsListingRowActionMenu","path":"c.handleClick"},"onkeydown":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamsListingRowActionMenu","path":"c.handleKeydown"},"title":"","class":"rowActionsPlaceHolder slds-button slds-button--icon-x-small slds-button--icon-border-filled"}},"tag":{"descriptor":"tag","value":"a"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:icon"},"localId":"virtualAction","attributes":{"values":{"alt":{"descriptor":"alt","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:streamsListingRowActionMenu","path":"$Label.Feeds.StreamActionsTitle"}},"class":{"descriptor":"class","value":"slds-button__icon slds-button__icon--hint slds-button__icon--small"},"key":{"descriptor":"key","value":"down"}}}}]}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:shareButton",function(){/*$A.componentService.addComponentClass("markup://forceChatter:shareButton",function(){return{meta:{name:"forceChatter$shareButton","extends":"markup://aura:component",imports:{feedLib:"markup://forceChatter:feedLib"}},helper:{launchShareModal:function(c,a,b,g){a=b?b:c.get("v.data");b={capabilities:{feedEntityShare:{feedEntity:{header:$A.util.lookup(a,"header"),id:$A.util.lookup(a,"id"),actor:$A.util.lookup(a,"actor"),body:$A.util.lookup(a,"body"),relativeCreatedDate:$A.util.lookup(a,"relativeCreatedDate"),
feedElementType:$A.util.lookup(a,"feedElementType"),parent:$A.util.lookup(a,"parent"),url:$A.util.lookup(a,"url"),isDeleteRestricted:!0}}}};b.capabilities.feedEntityShare.feedEntity.capabilities={};for(var f="questionAndAnswers link edit comments chatterLikes interactions".split(" "),d=0;d<f.length;d++){var e=f[d];a.capabilities.hasOwnProperty(e)&&(b.capabilities.feedEntityShare.feedEntity.capabilities[e]=a.capabilities[e])}this.createTextPostModalCmp(c,b,g)},createTextPostModalCmp:function(c,a,b){var g=
c.get("v.richTextConfig"),f=$A.get("$Browser.isDesktop"),d=c.getGlobalId(),e=$A.get("$SObjectType.CurrentUser.Id"),l=c.get("v.isTopicsEnabled"),h=$A.get("$Label.Feeds.ShareAsPostAction"),k="CollaborationGroup"===$A.util.lookup(b,"targetAudience","name");b&&b.targetAudience&&(h=k?$A.get("$Label.Feeds.ShareToGroupAction"):h);$A.getDefinition("forceChatter:textPost",$A.getCallback(function(){$A.createComponent("forceChatter:textPost",{richTextConfig:g,publisherId:d,quickActionSubjectId:e,publisherFeedType:"NEWS",
initialContent:a,enableLinkDetection:!1,inPanel:!0,visibilityOptions:b,isTopicsEnabled:l},function(a,b,c){"SUCCESS"===b&&$A.getEvt("ui:createPanel").setParams({panelType:f?"actionModal":"mobileOverlay",visible:!0,panelConfig:{closeOnActionButtonClick:!1,title:h,body:a,footerActions:a.get("v.panelActions"),headerActions:a.get("v.actions"),autoFocus:k},onCreate:function(b){a.set("v._panel",b)},onInit:function(a){a.get("v.body")[0].set("v.focusOnCreate",!1)},onAfterShow:function(a){k||a.get("v.body")[0].find("Body").focusOnTextArea()}}).fire()})}))}}}});return {"xs":"I","descriptor":"markup://forceChatter:shareButton","st":{"descriptor":"css://forceChatter.shareButton","cl":"forceChatterShareButton"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["data","aura://Map","I",true,null],["richTextConfig","aura://Map","I",false,{}],["_isSubmitting","aura://Boolean","I",false,false],["feedType","aura://String","I",false],["showIcon","aura://Boolean","I",false,true],["showText","aura://Boolean","I",false,true],["isTopicsEnabled","aura://Boolean","I",false,false]],"css":true}*/});
$A.componentService.addComponent("markup://runtime_sales_emailtemplateui:emailToolbar",function(){/*$A.componentService.addComponentClass("markup://runtime_sales_emailtemplateui:emailToolbar",function(){return{meta:{name:"runtime_sales_emailtemplateui$emailToolbar","extends":"markup://forceChatter:publisherAttachments"},controller:{init:function(a,b,c){c.init(a)},onCanStartLoadingToolsChange:function(a,b,c){c.loadAttachments(a)},refreshMRUList:function(a,b,c){c.refreshMRUEmailTemplates(a)},hideTools:function(a,b,c){if((b=b&&b.getParam("arguments")?b.getParam("arguments").toolNames:[])&&0<b.length)c.hideTools(a,
b),c.loadAttachments(a)},disableTools:function(a,b,c){(b=b&&b.getParam("arguments")?b.getParam("arguments").toolNames:[])&&0<b.length&&c.disableTools(a,b)},enableTools:function(a,b,c){(b=b&&b.getParam("arguments")?b.getParam("arguments").toolNames:[])&&0<b.length&&c.enableTools(a,b)}},helper:{init:function(a,b){a.set("v._mapToActionIds",{assist:"einsteinGPT.subgroup",attachment:"ui.publisher.emailui.composer.attach",mergeField:"ui.publisher.support.quickAction.sendEmail.insert.fields",emailTemplate:"ui.publisher.support.quickAction.sendEmail.insert.template",
preview:"ui.publisher.support.quickAction.sendEmail.preview",popout:"ui.publisher.support.quickAction.sendEmail.popout",availability:"ui.publisher.support.quickAction.sendEmail.insertAvailability"},!0)},enableTools:function(a,b){var c=a.get("v._mapToActionIds");b.forEach(function(b){this.fireDisableEvent(a,c[b],!1)},this)},disableTools:function(a,b){if(!0===a.get("v._initialized")){var c=a.get("v._mapToActionIds");b.forEach(function(b){this.fireDisableEvent(a,c[b],!0)},this)}else this.registerActionsToBeDisabledAfterInit(a,
b)},fireDisableEvent:function(a,b,c){a=a.get("v.publisherId");var d=$A.getEvt("markup://forceChatter:disableAttachmentButton");d.setParams({disableButton:c,publisherId:a,buttonId:b});d.fire()},loadAttachments:function(a){if(a.get("v.canStartLoadingTools")){var b=a.getConcreteComponent().get("c.getEmailTools"),c={inContextOfComponent:a.get("v.inContextOfComponent"),contextRecordId:a.get("v.quickActionSubjectId"),isDocked:a.get("v.isDocked"),isMassEmail:a.get("v.isMassEmail"),isInModal:!!a.get("v.isInModal")};
b.setParams(c);var d=this;b.setCallback(this,function(b){a.isValid()&&d.handleLoadToolsCallback(a,b)});$A.enqueueAction(b)}},handleLoadToolsCallback:function(a,b){if("SUCCESS"===b.getState()){var c=b.getReturnValue();$A.util.isEmpty(c)||(this.removeHiddenAndEmptyActions(a,c),this.disablePreRegisteredActions(a,c),a.set("v.actionGroups",c),a.set("v._showLabels",this.shouldShowLabels(a,c.length)),a.set("v._initialized",!0,!1))}else"INCOMPLETE"===b.getState()?$A.getEvt("markup://force:showOfflineMessage").setParams({retryAction:b}).fire():
"ERROR"===b.getState()&&$A.getEvt("markup://force:showMessage").setParams({message:this.getActionErrors(b),severity:"error"}).fire()},refreshMRUEmailTemplates:function(a){var b=a.getConcreteComponent().get("c.getMRUEmailTemplateCards"),c={contextRecordId:a.get("v.quickActionSubjectId"),isMassEmail:a.get("v.isMassEmail")};b.setParams(c);var d=this;b.setCallback(this,function(b){a.isValid()&&d.handleRefreshMRUEmailTemplatesCallback(a,b)});$A.enqueueAction(b)},handleRefreshMRUEmailTemplatesCallback:function(a,
b){if("SUCCESS"===b.getState()){var c=b.getReturnValue(),d=c[0],c=c[1];if(!$A.util.isUndefinedOrNull(d)&&!$A.util.isUndefinedOrNull(c)){var e=a.get("v.actionGroups"),d=this.getActionGroupsLocationById(e,d);if(-1!=d){var f=this.getMRULocationByLabel(e[d],c.label);-1!=f?e[d][f]=c:3==e[d].length&&e[d].splice(1,0,c);a.set("v.actionGroups",e)}}}},getActionGroupsLocationById:function(a,b){if(!$A.util.isEmpty(a))for(var c=0;c<a.length;c++)if(a[c][0]&&a[c][0].id===b)return c;return-1},getMRULocationByLabel:function(a,
b){if(!$A.util.isEmpty(a))for(var c=0;c<a.length;c++)if(a[c].label===b)return c;return-1},getActionErrors:function(a){a=a.getError();var b="";if($A.util.isArray(a)){for(var c=[],d=0;d<a.length;d++)c.push(a[d].message);$A.util.isEmpty(c)||(b=c.join(" "))}return b},shouldShowLabels:function(a,b){return $A.util.getBooleanValue(a.get("v.showLabels")&&3>b)},removeHiddenAndEmptyActions:function(a,b){for(var c=$A.util.isEmpty(a.get("v._hiddenActions"))?[]:a.get("v._hiddenActions"),d=b.length-1;0<=d;d--)(0===
b[d].length||0<=c.indexOf(b[d][0].id))&&b.splice(d,1)},disablePreRegisteredActions:function(a,b){var c=a.get("v._disabledActions");!$A.util.isUndefinedOrNull(c)&&($A.util.isArray(c)&&!$A.util.isEmpty(c)&&!$A.util.isUndefinedOrNull(b)&&$A.util.isArray(b))&&(b.forEach(function(a){0<=c.indexOf(a[0].id)&&(a[0].disabled=!0)},this),a.set("v._disabledActions",[]))},registerActionsToBeDisabledAfterInit:function(a,b){a.set("v._disabledActions",[]);this.mapToolNamesToActions(a,"v._disabledActions",b)},hideTools:function(a,
b){this.mapToolNamesToActions(a,"v._hiddenActions",b)},mapToolNamesToActions:function(a,b,c){if(!$A.util.isUndefinedOrNull(c)&&$A.util.isArray(c)){var d=$A.util.isEmpty(a.get(b))?[]:a.get(b),e=a.get("v._mapToActionIds");c.forEach(function(a){d.push(e[a])});a.set(b,d)}}}}});return {"xs":"I","descriptor":"markup://runtime_sales_emailtemplateui:emailToolbar","st":{"descriptor":"css://runtime_sales_emailtemplateui.emailToolbar","cl":"runtime_sales_emailtemplateuiEmailToolbar"},"cd":{"descriptor":"compound://runtime_sales_emailtemplateui.emailToolbar","ac":[{"n":"getMRUEmailTemplateCards","descriptor":"serviceComponent://ui.email.components.aura.components.emailcomposer.EmailToolbarDataProviderController/ACTION$getMRUEmailTemplateCards","at":"SERVER","rt":"java://com.force.commons.collection.Pair","pa":[{"name":"contextRecordId","type":"java://java.lang.String"},{"name":"isMassEmail","type":"java://boolean"}]},{"n":"getEmailTools","descriptor":"serviceComponent://ui.email.components.aura.components.emailcomposer.EmailToolbarDataProviderController/ACTION$getEmailTools","at":"SERVER","rt":"java://java.util.List","pa":[{"name":"inContextOfComponent","type":"java://java.lang.String"},{"name":"contextRecordId","type":"java://java.lang.String"},{"name":"isDocked","type":"java://boolean"},{"name":"isMassEmail","type":"java://boolean"},{"name":"isInModal","type":"java://boolean"}]},{"n":"getPublisherAttachments","descriptor":"serviceComponent://ui.chatter.components.aura.components.forceChatter.chatter.PublisherAttachmentsController/ACTION$getPublisherAttachments","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"inContextOfComponent","type":"java://java.lang.String"},{"name":"quickActionSubjectId","type":"java://java.lang.String"}]}]},"su":"markup://forceChatter:publisherAttachments","ad":[["body","aura://Aura.Component[]","G",false,[]],["id","aura://String","I",false,""],["class","aura://String","I",false,""],["tooltip","aura://String","I",false,""],["_initialized","aura://Boolean","I",false,false],["showLabels","aura://Boolean","I",false,true],["showTooltips","aura://Boolean","I",false,false],["_showLabels","aura://Boolean","I",false,true],["publisherId","aura://String","I",false],["quickActionSubjectId","aura://String","I",false],["recipientIds","aura://List","I",false,[]],["recipientPlainEmails","aura://List","I",false,[]],["uniqueComposerId","aura://String","I",false],["inContextOfComponent","aura://String","I",false],["data","aura://Map","I",false,null],["groupDisplayType","aura://String","I",false],["showNubbin","aura://Boolean","I",false,true],["isMultipleAttachmentsContextCmp","aura://Boolean","I",false,{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:publisherAttachments","path":"v.data.isMultipleAttachmentsContextCmp"}],["disableFileAttachments","aura://Boolean","I",false,false],["actionGroups","aura://List","I",false,[]],["chatterExtensionButtons","aura://List","I",false,[]],["richTextConfig","aura://Map","I",false,{}],["showExtensions","aura://Boolean","I",false,false],["showAttachment","aura://Boolean","I",false,true],["itemClass","aura://String","I",false,""],["canStartLoadingTools","aura://Boolean","I",false,true],["isDocked","aura://Boolean","I",false,false],["isInModal","aura://Boolean","I",false,false],["isMassEmail","aura://Boolean","I",false,false],["_hiddenActions","aura://String[]","p",false,[]],["_disabledActions","aura://String[]","p",false,[]],["_mapToActionIds","aura://Map","p",false,null],["_classicTemplateInserted","aura://Boolean","I",false,false],["showClassicTemplates","aura://Boolean","I",false,true]],"med":[{"name":"runtime_sales_emailtemplateui:refreshMRUList","xs":"I","action":"{!c.refreshMRUList}"},{"name":"runtime_sales_emailtemplateui:hideTools","xs":"I","action":"{!c.hideTools}","attributes":[["toolNames","aura://String[]","I",false,[]]]},{"name":"runtime_sales_emailtemplateui:disableTools","xs":"I","action":"{!c.disableTools}","attributes":[["toolNames","aura://String[]","I",false,[]]]},{"name":"runtime_sales_emailtemplateui:enableTools","xs":"I","action":"{!c.enableTools}","attributes":[["toolNames","aura://String[]","I",false,[]]]}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.onCanStartLoadingToolsChange"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.canStartLoadingTools"},"n":"change"}],"ld":{"attachmentItem":{"alias":"publisherAttachmentAction"}},"css":true}*/});
$A.componentService.addComponent("markup://force:relatedListPreviewRecordLayoutList",function(){/*$A.componentService.addComponentClass("markup://force:relatedListPreviewRecordLayoutList",function() {
return {
  "meta":{
    "name":"force$relatedListPreviewRecordLayoutList",
    "extends":"markup://aura:component"
  }
};
});
return {"xs":"I","descriptor":"markup://force:relatedListPreviewRecordLayoutList","ad":[["body","aura://Aura.Component[]","G",false,[]],["sObjectName","aura://String","PP",true],["relatedListId","aura://String","PP",true],["inContextOfComponent","aura://String","I",false],["parentRecordId","aura://String","PP",true],["dataProvider","aura://Aura.Component[]","PP",false,[]],["numRecordsToShow","aura://Integer","I",false]],"i":["markup://force:relatedListPreviewEmbeddable"],"re":[{"ed":"markup://aura:componentEvent","n":"listLoaded","xs":"I"},{"ed":"markup://force:onLoadError","n":"onLoadError","xs":"I"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"slds-card__body"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:multiTemplateVirtualList"},"attributes":{"values":{"showPlaceholder":{"descriptor":"showPlaceholder","value":false},"inContextOfComponent":{"descriptor":"inContextOfComponent","value":{"exprType":"PROPERTY","byValue":true,"target":"force:relatedListPreviewRecordLayoutList","path":"v.inContextOfComponent"}},"inContextOfRecordId":{"descriptor":"inContextOfRecordId","value":{"exprType":"PROPERTY","byValue":true,"target":"force:relatedListPreviewRecordLayoutList","path":"v.parentRecordId"}},"layoutOverride":{"descriptor":"layoutOverride","value":{"exprType":"PROPERTY","byValue":true,"target":"force:relatedListPreviewRecordLayoutList","path":"v.relatedListId"}},"itemVar":{"descriptor":"itemVar","value":"item"},"entityName":{"descriptor":"entityName","value":{"exprType":"PROPERTY","byValue":true,"target":"force:relatedListPreviewRecordLayoutList","path":"v.sObjectName"}},"type":{"descriptor":"type","value":"RELATED_LIST"},"dataProvider":{"descriptor":"dataProvider","value":{"exprType":"PROPERTY","byValue":false,"target":"force:relatedListPreviewRecordLayoutList","path":"v.dataProvider"}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://force:actionEventLink",function(){/*$A.componentService.addComponentClass("markup://force:actionEventLink",function(){return{meta:{name:"force$actionEventLink","extends":"markup://force:actionLink"},renderer:{afterRender:function(a){a.superAfterRender();var b=a.getElement();a._keydown=$A.getCallback(function(b){32===b.keyCode&&a.helper.doAction(a)}.bind(this));b&&(b.href="javascript:void(0);",b.setAttribute("role","button"),b.addEventListener("keydown",a._keydown))},unrender:function(a){var b=a.getElement();b&&b.removeEventListener("keydown",
a._keydown);a.superUnrender()}}}});return {"xs":"I","descriptor":"markup://force:actionEventLink","su":"markup://force:actionLink","ad":[["body","aura://Aura.Component[]","G",false,[]],["selectionModel","aura://Object","I",false,null],["executionWrapperCallback","aura://Object","I",false,null],["retURL","aura://String","I",false],["completionCallback","aura://Object","I",false,null],["targetExpression","aura://String","G",false,"v.targetValue"],["loggingContext","aura://Map","I",false,null],["action","java://ui.services.models.Action","PP",false,null],["context","aura://String","I",false,""],["useNavEvent","aura://Boolean","I",false,true],["useLogEvent","aura://Boolean","I",false,true],["disabled","aura://Boolean","I",false],["pageReference","aura://Object","I",false,null],["_pageReferenceFlag","aura://Boolean","PP",false],["targetValue","aura://String","G",false,{"exprType":"PROPERTY","byValue":false,"target":"force:action","path":"v.action.devNameOrId"}],["class","aura://String","I",false],["focusClass","aura://String","I",false,"_focused"],["unfocusClass","aura://String","I",false,"_unfocused"],["isMenuItem","aura://Boolean","I",false,false],["readyToRenderBody","aura://Boolean","I",false,false]],"re":[{"ed":"markup://force:actionExecuted","n":"actionExecuted","xs":"I"},{"ed":"markup://force:actionTrigger","n":"trigger","xs":"I"},{"ed":"markup://ui:press","n":"activated","xs":"I"},{"ed":"markup://ui:focus","n":"unfocus","xs":"I"},{"ed":"markup://ui:focus","n":"focus","xs":"I"}],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"force:actionEventLink","path":"v.body"}}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceChatter:trendingTopics",function(){/*$A.componentService.addComponentClass("markup://forceChatter:trendingTopics",function(){return{meta:{name:"forceChatter$trendingTopics","extends":"markup://aura:component"},controller:{onDataChanged:function(b,a,c){a=a.getParam("data");$A.util.isUndefinedOrNull(a)||0===a.length?($A.util.addClass(b.find("trendingTopics"),"hideEl"),b.set("v.priv_topicsEmpty",!0)):$A.util.removeClass(b.find("trendingTopics"),"hideEl")}}}});return {"xs":"I","descriptor":"markup://forceChatter:trendingTopics","st":{"descriptor":"css://forceChatter.trendingTopics","cl":"forceChatterTrendingTopics"},"ad":[["body","aura://Aura.Component[]","G",false,[]],["title","aura://String","I",false,{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:trendingTopics","path":"$Label.TrendingTopics.header"}],["numberOfTopics","aura://Integer","I",false,5],["showTopicsMetric","aura://Boolean","I",false,true],["priv_topicsEmpty","aura://Boolean","p",false,false],["placeHolder","aura://Aura.Component[]","I",false,[]]],"i":["markup://forceChatter:availableForDesktop","markup://flexipage:availableForRecordHome","markup://home:availableForDesktop"],"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"trendingTopics","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"trendingTopics hideEl slds-card-wrapper"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"id":"header","class":"slds-text-heading--small header"}},"tag":{"descriptor":"tag","value":"h2"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://lightning:icon","type":"module"},"attributes":{"values":{"size":{"descriptor":"size","value":"small"},"iconName":{"descriptor":"iconName","value":"utility:trending"}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"title":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:trendingTopics","path":"v.title"},"class":"headerTitle"}},"tag":{"descriptor":"tag","value":"span"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:trendingTopics","path":"v.title"}}}}}]}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"id":"topicList","class":"topicList"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceChatter:topicList"},"attributes":{"values":{"isMetricVisible":{"descriptor":"isMetricVisible","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:trendingTopics","path":"v.showTopicsMetric"}},"listItemClass":{"descriptor":"listItemClass","value":"topicItem"},"title":{"descriptor":"title","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:trendingTopics","path":"v.title"}},"dataProvider":{"descriptor":"dataProvider","value":[{"componentDef":{"descriptor":"markup://forceChatter:trendingTopicsDataProvider"},"attributes":{"values":{"numberOfTopics":{"descriptor":"numberOfTopics","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:trendingTopics","path":"v.numberOfTopics"}},"onchange":{"descriptor":"onchange","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:trendingTopics","path":"c.onDataChanged"}}}}}]}}}}]}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"id":"emptyListContent"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:trendingTopics","path":"v.placeHolder"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceChatter:trendingTopics","path":"v.priv_topicsEmpty"}}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://force:baseListView",function(){/*$A.componentService.addComponentClass("markup://force:baseListView",function(){return{meta:{name:"force$baseListView","extends":"markup://aura:component",imports:{componentLib:"markup://force:componentLibrary",lib:"markup://one:scrollerPluginLibrary"}},controller:{init:function(a,b,c){c.showStencil(a);c.initializeDataProvider(a);c.initializeScroller(a);$A.get("$Browser.isFIREFOX")&&a.set("v.useHeaderBarFix",!1)},handleReload:function(a,b,c){b=b.getParams().arguments;c.resetDataParameters(a);c.handleListChange(a,
b.forceReload,b.executeCallbackIfUpdated)},handleRetry:function(a,b,c){c.getData(a,{noCache:!0})},handleSortByChange:function(a,b,c){c.showLoadingSpinner(a);b=b.getParam("sortBy");c.resetDataParameters(a);c.getData(a,{sortBy:b,currentPage:1,ignoreColumnWidth:!0})},onSort:function(a,b,c){c.showLoadingSpinner(a);c.resetDataParameters(a);c.getData(a,{sortBy:b,currentPage:1})},handleFilterCriteriaChange:function(a,b,c){c.resetDataParameters(a);c.getData(a,{noCache:!0,resetCurrentPage:!0})},handleQueryTimeOut:function(a,
b,c){c.hideLoading(a)},handleDataProvideError:function(a,b,c){c.handleDataProvideError(a,b)},handleLoadMoreData:function(a,b,c){var d=c.getDataProvider(a).get("v.currentPage"),e=a.get("v.pageSize");2E3<d*e?(b={title:$A.get("$Label.ObjectHomeListView.PageNavigationErrorTitle"),severity:"error",message:$A.get("$Label.ObjectHomeListView.PageNavigationErrorMessage")},$A.getEvt("markup://force:showMessage").setParams(b).fire(),a._appendData&&a._appendData()):a._noMoreData?b({noMoreData:a._noMoreData}):
(a._appendData=b,c.getData(a,{currentPage:d+1,noCache:!0}))},onRetry:function(a,b){b.setOnline(a)},handleGridAction:function(a,b,c){a=a.getConcreteComponent();c=a.getDef().getHelper();c.handleGridAction&&c.handleGridAction(a,b)},handleColumnResize:function(a,b,c){a.getConcreteComponent().getDef().getHelper().handleColumnResize(a,b.getParams())}},helper:{initializeDataProvider:function(a){var b=this.getDataProvider(a);b.addHandler("queryRanForTooLong",a,"c.handleQueryTimeOut");b.addHandler("dataProvideError",
a,"c.handleDataProvideError")},initializeRecordLayout:function(a,b){this.resetRecordLayoutActionFailure(a);this.resetGridColumnsLoaded(a);var c=a.getConcreteComponent(),d=c.getDef().getHelper();if(a.get("v.useStaticLayout"))this.setColumnLayout(a.getSuper(),d);else{var e=a.get("c.getRecordLayoutComponent"),c=d.getRecordLayoutActionParams(c),d=a.get("v.inContextOfComponent");c.inContextOfComponent=$A.util.isEmpty(d)?"force:baseListView":d;e.setParams({attributeMap:c});c="force:relatedListPreviewGrid"===
c.inContextOfComponent;e.setStorable({executeCallbackIfUpdated:!1,ignoreExisting:b||c});var f=this;e.setCallback(this,function(b){f.initializeRecordLayoutCallback(a,b,f)});$A.enqueueAction(e)}},initializeScroller:function(a){var b=a.get("v.infiniteLoadingTemplate");b&&0<b.length&&(a=a.find("scroller"))&&a.isValid()&&a.set("v.infiniteLoadingTemplate",b[0])},makePayLoad:function(a){return{context:{injectPageUsageInfo:!0,usageInfo:{action:"PageView",gusTeamId:"a00B0000001V59HIAS"},sobjectType:a.get("v.scope")}}},
getRecordLayoutActionParams:function(a){return{}},initializeRecordLayoutCallback:function(a,b,c){var d=b.getState();"SUCCESS"===d?(b=b.getReturnValue(),b.success?(c.setOnline(a),d=a.getConcreteComponent().getDef().getDescriptor().getQualifiedName(),this.componentLib.components.createComponentFromConfigWithErrorHandling(b.component,d,void 0,function(b){var d=a.find("grid");d&&(d.isValid&&d.isValid())&&(d.set("v.items",[],!0),a.set("v.recordLayout",[b]),d.set("v.columns",b),c.postColumnLoad(a,c))})):
c.handleRecordLayoutLoadError(a,b)):"ERROR"===d?c.markRecordLayoutActionFailure(a):"INCOMPLETE"===d&&(c.markRecordLayoutActionFailure(a),c.handleRetry(a,b))},handleRecordLayoutLoadError:function(a,b){this.markRecordLayoutActionFailure(a);var c=b.errorResponse,c=c&&c.userFacingMessage||"";this.hideLoading(a);this.showNoContentMessage(a,[c]);(c=a.find("grid"))&&c.set("v.items",[],!0)},showNoContentMessage:function(a,b){var c=[];b.forEach(function(a){c.push(["ui:outputText",{value:a}])});$A.createComponents(c,
function(b,c,f){"SUCCESS"===c?(a.set("v.emptyContent",b),(b=a.find("emptyContent"))&&$A.util.removeClass(b,"hidden")):this.componentLib.actions.showCreateComponentError("force:baseListView",["ui:outputText"],Error(f))}.bind(this))},handleRetry:function(a,b){this.setOffline(a);this.enqueueActionsForRetry(a,b)},setOffline:function(a){$A.util.addClass(this.getContainerElement(a),"hideEl");a.set("v.deviceMode","offline")},setOnline:function(a){a.set("v.deviceMode","online");$A.util.removeClass(this.getContainerElement(a),
"hideEl")},getContainerElement:function(a){return(a=a.find("listViewContainer"))&&a.isValid&&a.isValid()?a.getElement():null},enqueueActionsForRetry:function(a,b){var c=a.get("v.retryAction");c.push(b);a.set("v.retryAction",c)},handleListChange:function(a,b,c){a._isListChange=!0;this.resetHasDataFlag(a);this.getConcreteHelper(a).initializeRecordLayout(a,b);this.getDataProvider(a).set("v.sortBy","");this.getData(a,{getCount:!0,currentPage:1,noCache:b,executeCallbackIfUpdated:c})},getConcreteHelper:function(a){return a.getConcreteComponent().getDef().getHelper()},
getData:function(a,b){this.resetDataForGridLoaded(a);var c=this.getDataProvider(a);$A.util.isComponent(c)&&c.isValid()&&(c=c.getEvent("provide"),b&&c.setParams({parameters:b}),c.fire())},setData:function(a,b){if(a.isValid())if(this.markHasDataFlag(a),this.markDataForGridLoaded(a),this.isGridColumnsLoaded(a)){var c=this.getDataProvider(a);if(c){var d=c.get("v.totalItems");a.set("v.totalItems",d);a.set("v.pageSize",c.get("v.pageSize"));this.toggleEmptyContent(a,d);this.compareSortBy(a,c)}this.refreshGridData(a,
b);this.handleRefreshSpinnerCallback(a);this.hideLoading(a);a._isListChange&&(a._isListChange=!1,(c=a.getEvent("displayChangeComplete"))&&c.fire())}else this.setDataOnComponent(a,b)},compareSortBy:function(a,b){var c=a.get("v.sortBy"),d=b.get("v.sortBy");c!==d&&this.sortByHelper(a,c,d)},sortByHelper:function(a,b,c){a.set("v.sortBy",c);a.find("grid").sort(c);if(!$A.util.isEmpty(c)&&(b=a.get("v.filterName"))&&"Recent"!=b)this.updateUserSortByPreference(a,c),(a=a.getEvent("sortOrderChange"))&&a.setParams({sortBy:c}).fire()},
showStencil:function(a){a.get("v.scope");a.get("v.filterName");a.find("listStencil").show();a._isShowingStencil=!0},showLoadingSpinner:function(a){var b=a.get("v.disableSpinner");a=a.find("spinner");!b&&!$A.util.isUndefinedOrNull(a)&&a.toggleSpinner(!0)},hideLoading:function(a){var b=a.get("v.disableSpinner"),c=a.find("spinner");!b&&!$A.util.isUndefinedOrNull(c)&&c.toggleSpinner(!1);a._isShowingStencil&&(a._isShowingStencil=!1,(a=a.find("listStencil"))&&a.hide())},getDataProvider:function(a){return a.get("v.dataProvider")[0]},
refreshGridData:function(a,b){var c=a.find("grid");a._appendData?(c.appendItems(b),a._appendData({noMoreData:a._noMoreData})):($A.util.isEmpty(c.get("v.items"))||this.scrollToTop(a),c.set("v.items",b,!0))},showQueryTooLongMessage:function(a,b,c,d){$A.createComponent("markup://force:dataProviderLoadErrorMessage",{errorMessage:b,showRetryAction:c,onRetry:d},function(b,c,d){"SUCCESS"===c?a.set("v.body",[b]):this.componentLib.actions.showCreateComponentError("force:baseListView",["force:dataProviderLoadErrorMessage"],
Error(d))}.bind(this))},onTouchMove:function(a,b,c){$A.get("$Browser.isWindowsPhone")||(b.cancelScrolling=!0)},attachGestures:function(a){var b=this,c=a.getElement();a._touchMove=function(c){b.onTouchMove(a,c)};c&&c.addEventListener("touchmove",a._touchMove,!1)},detachGestures:function(a){var b=a.getElement();b&&b.removeEventListener("touchmove",a._touchMove,!1)},updateUserSortByPreference:function(a,b){var c=a.get("v.filterName"),d=a.get("v.scope");if(!$A.util.isEmpty(d)&&!$A.util.isEmpty(c)){var e=
a.get("c.updateSortOrderAction");e.setParams({sortBy:b,filterName:c,scope:d});$A.enqueueAction(e)}},handleDataProvideError:function(a,b){this.handleRefreshSpinnerCallback(a);var c=b.getParam("error");"INCOMPLETE"===c.getState()?(this.hideLoading(a),a.get("v.hasData")?(a._appendData&&a._appendData(),$A.getEvt("markup://force:showOfflineMessage").setParams({retryAction:c}).fire()):this.handleRetry(a,c)):this.hideLoading(a)},markGridColumnsLoaded:function(a){a._gridColumnsLoaded=!0},isGridColumnsLoaded:function(a){return a._gridColumnsLoaded?
a._gridColumnsLoaded:!1},resetGridColumnsLoaded:function(a){a._gridColumnsLoaded=!1},markDataForGridLoaded:function(a){a._dataForGridReady=!0},isDataForGridLoaded:function(a){return a._dataForGridReady?a._dataForGridReady:!1},resetDataForGridLoaded:function(a){a._dataForGridReady=!1},markRecordLayoutActionFailure:function(a){a.recordLayoutActionFailed=!0},didRecordLayoutActionFail:function(a){return a.recordLayoutActionFailed},resetRecordLayoutActionFailure:function(a){a.recordLayoutActionFailed=
void 0},handleRefreshSpinnerCallback:function(a){a._refreshSpinnerCallback&&(a._refreshSpinnerCallback(),a._refreshSpinnerCallback=null)},setDataOnComponent:function(a,b){a._data=b},getPreviouslyLoadedData:function(a){return a._data},handleRefresh:function(a,b){this.setOnline(a);this.didRecordLayoutActionFail(a)&&this.initializeRecordLayout(a,!1);a._isListChange=!0;this.getData(a,b)},getScroller:function(a){if(a=a.find("scroller"))return a.getScrollerInstance()},resetDataParameters:function(a){a._noMoreData=
!1;a._appendData=null;var b=this.getScroller(a),c=a.get("v.infiniteLoading");b&&c&&b.unlockFetchData();this.hideEmptyContent(a)},updateFixedHeaderTargets:function(a){(a=this.getScroller(a))&&a.updateFixedHeaderTargets&&a.updateFixedHeaderTargets()},scrollToTop:function(a){a.get("v.autoScroll")&&(!0!==a.get("v.doneRendering")?this.setShouldScrollToTopAfterRender(a):(a=a.find("scroller").get("e.scrollTo"),a.setParams({destination:"top"}),a.fire()))},markHasDataFlag:function(a){a.set("v.hasData",!0)},
resetHasDataFlag:function(a){a.set("v.hasData",!1)},setShouldScrollToTopAfterRender:function(a){a._shouldScrollToTop=!0},setRenderedToTrue:function(a){a.set("v.doneRendering",!0)},hideEmptyContent:function(a){$A.util.addClass(a.find("emptyContent"),"hidden")},toggleEmptyContent:function(a,b){0===b&&!$A.util.isEmpty(a.get("v.emptyContent"))?$A.util.removeClass(a.find("emptyContent"),"hidden"):this.hideEmptyContent(a)},scrollToTopIfRequired:function(a){a._shouldScrollToTop&&(a._shouldScrollToTop=!1,
this.scrollToTop(a))},getHeaderColumnComponents:function(a){return a.find("grid").get("v.headerColumns")},postColumnLoad:function(a,b){b.markGridColumnsLoaded(a);b.isDataForGridLoaded(a)&&b.setData(a,b.getPreviouslyLoadedData(a));$A.util.isIE&&a._usesFixedHeaderPlugin&&b.updateFixedHeaderTargets(a);a.get("v.disableColumnSort")&&b.disableColumnSort(a,b)},disableColumnSort:function(a,b){var c=b.getHeaderColumnComponents(a);if(!$A.util.isEmpty(c))for(var d=0;d<c.length;d++){var e=c[d];e.get("v.sortable")&&
(e.set("v.sortable",!1),$A.util.removeClass(e,"sortable"))}},setColumnLayout:function(a,b){var c=a.find("grid"),d=a.get("v.columns"),e=a.get("v.headerColumns");c.set("v.headerColumns",e);c.set("v.columns",d);this.postColumnLoad(a,b)},setWidths:function(a,b){a.find("grid").resizeColumns(b)},handleColumnResize:function(a,b){$A.warning("Unimplemented method")}},renderer:{afterRender:function(a,b){a.superAfterRender();b.attachGestures(a);b.setRenderedToTrue(a);b.scrollToTopIfRequired(a);if($A.util.isIE){var c=
a.get("v.scrollerPlugin");c&&-1<c.indexOf("FixedHeader")&&(a._usesFixedHeaderPlugin=!0)}},rerender:function(a,b){a.superRerender();$A.util.isIE&&(b.isGridColumnsLoaded(a)&&a._usesFixedHeaderPlugin)&&b.updateFixedHeaderTargets(a)},unrender:function(a,b){b.detachGestures(a);a.superUnrender()}}}});return {"xs":"I","descriptor":"markup://force:baseListView","st":{"descriptor":"css://force.baseListView","cl":"forceBaseListView"},"cd":{"descriptor":"compound://force.baseListView","ac":[{"n":"getUpdatedRecord","descriptor":"serviceComponent://ui.force.components.controllers.lists.baseListView.BaseListViewController/ACTION$getUpdatedRecord","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"scope","type":"java://java.lang.String"},{"name":"recordId","type":"java://java.lang.String"},{"name":"layoutType","type":"java://java.lang.String"},{"name":"listName","type":"java://java.lang.String"}]},{"n":"updateSortOrderAction","descriptor":"serviceComponent://ui.force.components.controllers.lists.baseListView.BaseListViewController/ACTION$updateSortOrderAction","at":"SERVER","rt":"java://void","pa":[{"name":"sortBy","type":"java://java.lang.String"},{"name":"filterName","type":"java://java.lang.String"},{"name":"scope","type":"java://java.lang.String"}]},{"n":"getRecordLayoutComponent","descriptor":"serviceComponent://ui.force.components.controllers.lists.baseListView.BaseListViewController/ACTION$getRecordLayoutComponent","at":"SERVER","rt":"java://ui.force.components.controllers.lists.baseListView.BaseListViewController$BaseListViewRecordLayoutResponse","pa":[{"name":"attributeMap","type":"java://java.util.Map<java.lang.String,java.lang.Object>"}]},{"n":"updateColumnWidth","descriptor":"serviceComponent://ui.force.components.controllers.lists.baseListView.BaseListViewController/ACTION$updateColumnWidth","at":"SERVER","rt":"java://void","pa":[{"name":"widths","type":"java://java.lang.String"},{"name":"filterName","type":"java://java.lang.String"},{"name":"scope","type":"java://java.lang.String"}]}]},"ad":[["body","aura://Aura.Component[]","G",false,[]],["scope","aura://String","I",false],["scopeIcon","aura://String","I",false],["scopeColor","aura://String","I",false],["scopeLabel","aura://String","I",false],["scopeLabelSingular","aura://String","I",false],["class","aura://String","G",false],["dir","aura://String","I",false,"ltr"],["namespaceOverride","aura://String","I",false],["actionable","aura://Boolean","I",false,true],["role","aura://String","I",false],["ariaDescribedBy","aura://String","PP",false,""],["value","aura://Object","PP",false,null],["visible","aura://Boolean","I",false,true],["entityName","aura://String","I",false],["filterName","aura://String","I",false],["filterTitle","aura://String","I",false],["dataProvider","aura://Aura.Component[]","PP",true,[]],["emptyContent","aura://Aura.Component[]","I",false,[]],["selectionHeader","aura://Aura.Component[]","I",false,[]],["selectionColumn","aura://Aura.ComponentDefRef[]","I",false,[]],["selectionColumnPosition","aura://String","I",false,"right"],["useStaticLayout","aura://Boolean","I",false],["headerColumns","aura://Aura.Component[]","I",false,[]],["columns","aura://Aura.ComponentDefRef[]","I",false,[]],["keyboardNavigation","aura://Boolean","I",false,false],["items","aura://List","I",false,[]],["sortBy","aura://String","I",false,""],["pageSize","aura://Integer","I",false,10],["totalItems","aura://Integer","I",false],["layoutType","aura://String","I",false],["retryAction","aura://Object[]","I",false,[]],["deviceMode","aura://String","I",false,"online"],["scrollerPlugin","aura://String","I",false,"ActionBar,FixedHeader"],["hasData","aura://Boolean","I",false,false],["doneRendering","aura://Boolean","I",false,false],["stencilCols","aura://Integer","I",false,5],["stencilRows","aura://Integer","I",false,10],["inContextOfComponent","aura://String","I",false],["infiniteLoading","aura://Boolean","I",false,true],["recordLayout","aura://Aura.Component[]","p",false,[]],["useRowHeaders","aura://Boolean","I",false,false],["enableResizableColumns","aura://Boolean","I",false,false],["resizableColumnsConfig","aura://Object","I",false,null],["scrollerClass","aura://String","I",false,"scrollable"],["infiniteLoadingTemplate","aura://Aura.Component[]","I",false,[]],["disableSpinner","aura://Boolean","I",false,false],["useHeaderBarFix","aura://Boolean","I",false,true],["tableClass","aura://String","I",false,""],["autoScroll","aura://Boolean","I",false,true],["disableColumnSort","aura://Boolean","I",false],["delegatedEvents","aura://String","I",false,"click,keydown,mouseover,mouseout,focus,blur"]],"med":[{"name":"force:reload","xs":"I","action":"{!c.handleReload}","attributes":[["forceReload","aura://Boolean","I",false],["executeCallbackIfUpdated","aura://Boolean","I",false]]}],"i":["markup://forceSearch:scopeable","markup://ui:visible","markup://force:recordListInterface"],"re":[{"ed":"markup://ui:click","n":"click","xs":"G"},{"ed":"markup://ui:dblclick","n":"dblclick","xs":"G"},{"ed":"markup://ui:mousedown","n":"mousedown","xs":"G"},{"ed":"markup://ui:mousemove","n":"mousemove","xs":"G"},{"ed":"markup://ui:mouseout","n":"mouseout","xs":"G"},{"ed":"markup://ui:mouseover","n":"mouseover","xs":"G"},{"ed":"markup://ui:mouseup","n":"mouseup","xs":"G"},{"ed":"markup://ui:change","n":"displayChangeComplete","xs":"I"},{"ed":"markup://force:listSortOrderChange","n":"sortOrderChange","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"ed":{"descriptor":"markup://ui:gridAction"},"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleGridAction"},"n":"gridAction"}],"ld":{"*":{"context":{"entityName":{"exprType":"PROPERTY","byValue":false,"target":"force:baseListView","path":"v.entityName"},"filterName":{"exprType":"PROPERTY","byValue":false,"target":"force:baseListView","path":"v.filterName"}},"alias":"list-view"}},"fa":[{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"listViewContainer","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(cmp.get(\"v.class\"),(cmp.get(\"v.useHeaderBarFix\")?\" useHeaderBarFix\":\"\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:baseListView","path":"v.class"},{"exprType":"PROPERTY","byValue":false,"target":"force:baseListView","path":"v.useHeaderBarFix"}],"byValue":false}}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:componentSpinner"},"localId":"spinner"},{"componentDef":{"descriptor":"markup://force:listViewPlaceholder"},"localId":"listStencil","attributes":{"values":{"rows":{"descriptor":"rows","value":{"exprType":"PROPERTY","byValue":true,"target":"force:baseListView","path":"v.stencilRows"}},"cols":{"descriptor":"cols","value":{"exprType":"PROPERTY","byValue":true,"target":"force:baseListView","path":"v.stencilCols"}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"listViewContent","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"listViewContent"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:scroller"},"localId":"scroller","attributes":{"values":{"useNativeScroller":{"descriptor":"useNativeScroller","value":true},"infiniteLoading":{"descriptor":"infiniteLoading","value":{"exprType":"PROPERTY","byValue":true,"target":"force:baseListView","path":"v.infiniteLoading"}},"plugins":{"descriptor":"plugins","value":{"exprType":"PROPERTY","byValue":false,"target":"force:baseListView","path":"v.scrollerPlugin"}},"scroll":{"descriptor":"scroll","value":"bidirectional"},"infiniteLoadingNoDataLabel":{"descriptor":"infiniteLoadingNoDataLabel","value":{"exprType":"PROPERTY","byValue":false,"target":"force:baseListView","path":"$Label.InfiniteLoading.noDataLabel"}},"infiniteLoadingLoadingLabel":{"descriptor":"infiniteLoadingLoadingLabel","value":{"exprType":"PROPERTY","byValue":false,"target":"force:baseListView","path":"$Label.InfiniteLoading.loadingLabel"}},"bindEventsToScroller":{"descriptor":"bindEventsToScroller","value":true},"lockOnDirection":{"descriptor":"lockOnDirection","value":"true"},"infiniteLoadingDataProvider":{"descriptor":"infiniteLoadingDataProvider","value":{"exprType":"PROPERTY","byValue":false,"target":"force:baseListView","path":"c.handleLoadMoreData"}},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:virtualGrid"},"localId":"grid","attributes":{"values":{"resizableColumnsConfig":{"descriptor":"resizableColumnsConfig","value":{"exprType":"PROPERTY","byValue":false,"target":"force:baseListView","path":"v.resizableColumnsConfig"}},"delegatedEvents":{"descriptor":"delegatedEvents","value":{"exprType":"PROPERTY","byValue":false,"target":"force:baseListView","path":"v.delegatedEvents"}},"selectionColumnPosition":{"descriptor":"selectionColumnPosition","value":{"exprType":"PROPERTY","byValue":false,"target":"force:baseListView","path":"v.selectionColumnPosition"}},"selectionColumn":{"descriptor":"selectionColumn","value":{"exprType":"PROPERTY","byValue":false,"target":"force:baseListView","path":"v.selectionColumn"}},"selectionHeader":{"descriptor":"selectionHeader","value":{"exprType":"PROPERTY","byValue":false,"target":"force:baseListView","path":"v.selectionHeader"}},"fixedHeader":{"descriptor":"fixedHeader","value":false},"keyboardNavigation":{"descriptor":"keyboardNavigation","value":{"exprType":"PROPERTY","byValue":false,"target":"force:baseListView","path":"v.keyboardNavigation"}},"useRowHeaders":{"descriptor":"useRowHeaders","value":{"exprType":"PROPERTY","byValue":false,"target":"force:baseListView","path":"v.useRowHeaders"}},"enableResizableColumns":{"descriptor":"enableResizableColumns","value":{"exprType":"PROPERTY","byValue":false,"target":"force:baseListView","path":"v.enableResizableColumns"}},"onsort":{"descriptor":"onsort","value":{"exprType":"PROPERTY","byValue":false,"target":"force:baseListView","path":"c.handleSortByChange"}},"onColumnResize":{"descriptor":"onColumnResize","value":{"exprType":"PROPERTY","byValue":false,"target":"force:baseListView","path":"c.handleColumnResize"}},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"force:baseListView","path":"v.items"}},"class":{"descriptor":"class","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"forceRecordLayout \",cmp.get(\"v.tableClass\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"force:baseListView","path":"v.tableClass"}],"byValue":false}}}}}]},"class":{"descriptor":"class","value":{"exprType":"PROPERTY","byValue":false,"target":"force:baseListView","path":"v.scrollerClass"}},"useCSSTransition":{"descriptor":"useCSSTransition","value":false}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"emptyContent","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"emptyContent hidden"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"emptyContentInner"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:expression"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":false,"target":"force:baseListView","path":"v.emptyContent"}}}}}]}}}}]}}}}]}}}}]}],"css":true}*/});
$A.componentService.addComponent("markup://forceSearch:mruMobile",function(){/*$A.componentService.addComponentClass("markup://forceSearch:mruMobile",function(){return{meta:{name:"forceSearch$mruMobile","extends":"markup://forceSearch:mru",imports:{lib:"markup://forceSearch:searchLibrary",scrollerPluginLib:"markup://one:scrollerPluginLibrary"}},controller:{init:function(a,b,c){c.lib.ctx.isSite()&&a.set("v.enableListViews",!0);a.set("v.priv_useNativeScroller",c.lib.util.useNativeScroller());c.hasMru(a)&&c.refresh(a)},handleScopeMapChange:function(a,b,c){c.lib.scope.scopeMapsEqual(a.get("v.scopeMap"),
b.getParam("oldValue"))||c.refresh(a)},refresh:function(a,b,c){c.refresh(a,b.getParam("invalidateCache"))},expandListViews:function(a,b,c){c.expandListViews(a,b)},pullToRefreshHandler:function(a,b,c){a._mruPullToRefreshCallback=b;c.refresh(a,!0)}},helper:{CACHE_KEY:{mruItems:"mruItems",mruListViews:"mruListViews",typeAheadItems:"typeAheadItems"},shouldUpdate:function(a,b){if(!a.getSuper().getDef().getHelper().shouldUpdate(a,b))return!1;var c=b.getParam("arguments")||b.getParams()||{};if(c.type===
this.lib.event.SET_CONTEXT){if(this.lib.scope.scopeMapEmpty(c.scopeMap)||this.lib.scope.scopeMapsEqual(c.scopeMap,a.get("v.scopeMap"))&&this.lib.util.isEqual(c.context,a.get("v.context")))return!1}else if(c.type===this.lib.event.SET_SCOPE&&this.lib.scope.scopeMapsEqual(c.scopeMap,a.get("v.scopeMap")))return!1;return!0},requestMru:function(a,b,c){var d=a.get("v.scopeMap")||{},f=d.name,e=this;e.lib.logging.logPerf(a,"requestMru","START",{scopeName:f});$A.mark("Search MRUItems: "+f);var g=a.get("v.scopeSets")[e.lib.scope.SCOPE_SET_TYPE.DEFAULT]||
[],g=e.lib.scope.getScopeNames(g),d={scopeMap:d,maxResults:a.get("v.maxItems"),isGlobalMru:!1};g&&0<g.length&&(d.scopeNames=g);this.enqueueAction(a,a.get("c.getMruItems"),d,!0,b,function(b,d){$A.endMark("Search MRUItems: "+f);b||(e.populateCache(a,e.CACHE_KEY.mruItems,d),e.applyFilter(a,"mruItems",a.get("v.maxItemsVisible"),0));if(c){if(b){c(b);return}c()}$A.get("e.force:objectHomeRecordChange").setParams({entityName:f,recordIds:(d||[]).map(function(a){return a.Id})}).fire();e.lib.logging.logPerf(a,
"requestMru","END")})},requestListViews:function(a,b,c,d,f){var e=(a.get("v.scopeMap")||{}).name,g=this;$A.mark("Search MRUListViews Sync: "+e);this.enqueueAction(a,a.get("c.getMruListViews"),{scopeName:e,maxResults:b,mruOnly:c},!0,d,function(c,d){$A.endMark("Search MRUListViews Sync: "+e);var l;c||(g.populateCache(a,g.CACHE_KEY.mruListViews,d),l=g.applyFilter(a,"mruListViews",b,0));f&&(c?f(c):f(null,l))})},populateCache:function(a,b,c,d){var f=a.get("v.priv_cache")||{},e=f[b]||[];d=f[d]||[];if(c){var g=
{};e.forEach(function(a){g[a.Id]=!0});var k={};d.forEach(function(a){k[a.Id]=!0});for(d=0;d<c.length;++d){var h=c[d];!k[h.Id]&&!g[h.Id]&&e.push(h)}}f[b]=e;a.set("v.priv_cache",f)},enqueueAction:function(a,b,c,d,f,e){b&&(b.setParams(c),b.setCallback(this,function(a){var b=a.getState();"SUCCESS"!==b?e(b):setTimeout($A.getCallback(function(){e(null,a.getReturnValue())}),0)}),d&&b.setStorable({ignoreExisting:f}),b.setAbortable(),$A.enqueueAction(b))},applyFilter:function(a,b,c,d){$A.mark("applyFilter:"+
b+":set");var f=(a.get("v.priv_cache")||{})[b]||[],e=[];if(0<c)for(var g=RegExp("(?:^|\\s)"+(a.get("v.term")||"").replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$\x26"),"i"),k=0;k<f.length;++k){var h=f[k];if(h&&g.test(h.Name)&&(e.push(h),h.Index=d+e.length-1,e.length>=c))break}a.set("v."+b,e);$A.endMark("applyFilter:"+b+":set");this.updateLogInfo(a);return e.length},updateLogInfo:function(a){var b=a.get("v.mruItems"),c=a.get("v.typeAheadItems"),b={mruVisibleCount:b?b.length:0,typeAheadVisibleCount:c?
c.length:0,queryId:a.get("v.priv_typeAheadQueryId"),suggestionType:"recordSuggestionsByName"};a.set("v.priv_logInfo",b)},filterAll:function(a){if(a.get("v.priv_hasMru")){var b=this.applyFilter(a,"mruItems",a.get("v.maxItemsVisible"),0),c=this.applyFilter(a,"mruListViews",a.get("v.maxListViews"),0);if(!a.get("v.priv_fetchedMoreListViews")){var d=!a.get("v.term")?!0:!1;this.showListViewExpander(a,d,c)}this.filterTypeAheadItems(a,b)}},filterTypeAheadItems:function(a,b){var c=a.get("v.term")||"";if(!a.get("v.priv_typeAheadEnabled")||
b>=a.get("v.maxItemsVisible")||!this.lib.util.isValidTypeAheadString(c))this.applyFilter(a,"typeAheadItems",0,0);else{var d=a.get("v.maxItemsVisible"),f=a.get("v.typeAheadMaxItems"),f=Math.min(f,d-b),d=this.applyFilter(a,"typeAheadItems",f,b);if(d>=f)$A.log("TypeAhead: Found max items in client cache, skipping network call");else{var e=a.get("v.priv_typeAheadTerms");if(Array.isArray(e)&&-1!==e.indexOf(c))$A.log("TypeAhead: previous query match: "+c+", skipping");else{var g=a.get("v.scopeMap")||{},
k=g.name,h={term:c,scopeMap:g,maxResults:f-d},l=this;(d=a.get("v.priv_typeAheadDelayTimeout"))&&clearTimeout(d);d=$A.getCallback(function(){$A.mark("TypeAhead: enqueue action: "+k);l.enqueueAction(a,a.get("c.getTypeaheadItems"),h,!1,!1,function(d,e){$A.endMark("TypeAhead: enqueue action: "+k);if(!d&&e){if(e.queryMaps&&1===e.queryMaps.length){var h=e.queryMaps[0];h&&(h.cacheable&&l.lib.scope.scopeMapsEqual(g,h))&&(g=h,a.set("v.scopeMap",g))}h=a.get("v.priv_typeAheadTerms");e.records&&(0!==e.records.length&&
Array.isArray(h))&&(h.push(c),a.set("v.priv_typeAheadTerms",h),c.toLowerCase()===a.get("v.term").toLowerCase()&&(a.set("v.priv_typeAheadQueryId",e.queryId),l.populateCache(a,l.CACHE_KEY.typeAheadItems,e.records,l.CACHE_KEY.mruItems),l.applyFilter(a,"typeAheadItems",f,b)))}})});d=setTimeout(d,a.get("v.typeAheadDelay"));a.set("v.priv_typeAheadDelayTimeout",d)}}}},reset:function(a){var b=a.get("v.priv_typeAheadDelayTimeout");b&&(clearTimeout(b),a.set("v.priv_typeAheadDelayTimeout",null));a.set("v.priv_cache",
{});a.set("v.priv_typeAheadTerms",[]);a.set("v.mruItems",[]);a.set("v.mruListViews",[]);a.set("v.typeAheadItems",[]);this.updateLogInfo(a);a.set("v.initialDataLoaded",!1);this.showListViewExpander(a,!1);a.get("v.priv_fetchedMoreListViews")&&(a.set("v.priv_fetchedMoreListViews",!1),(a=a.find("mruListViewExpander"))&&a.getEvent("resetLoading").fire())},refresh:function(a,b){var c=this;c.reset(a);c.hasMru(a)?(c.requestMru(a,!0,function(){a.set("v.priv_mrusLoaded",!0);c.postRefresh(a)}),c.hasListViews(a)?
c.requestListViews(a,a.get("v.maxListViewsVisible"),!0,b,function(b,f){if(!b){if(!a.get("v.priv_fetchedMoreListViews")){var e=""===a.get("v.term");c.showListViewExpander(a,e,f)}a.set("v.priv_listViewsLoaded",!0);c.postRefresh(a)}}):(a.set("v.priv_listViewsLoaded",!0),c.postRefresh(a))):(a.set("v.priv_mrusLoaded",!0),a.set("v.priv_listViewsLoaded",!0),c.postRefresh(a))},postRefresh:function(a){a.get("v.priv_mrusLoaded")&&a.get("v.priv_listViewsLoaded")&&(this.resetScroller(a),this.toggleInlineSpinner(!1),
a.set("v.initialDataLoaded",!0),a.getEvent("refreshed").fire())},expandListViews:function(a){if(!a.get("v.priv_fetchedMoreListViews")){a.set("v.priv_fetchedMoreListViews",!0);var b=this;this.requestListViews(a,a.get("v.maxListViews"),!1,!1,function(c){c?a.set("v.priv_fetchedMoreListViews",!1):b.showListViewExpander(a,!1)})}},showListViewExpander:function(a,b,c){a.get("v.enableListViews")&&a.get("v.showListViewExpander")!==b&&(c=0<c?$A.get("$Label.AuraSearchUI.AllListViews"):$A.get("$Label.AuraSearchUI.ShowListViews"),
a.set("v.priv_listViewExpanderLabel",c),a.set("v.showListViewExpander",b))},hasListViews:function(a){if(!a.get("v.enableListViews"))return!1;a=a.get("v.scopeMap")||{};return-1==="ContentVersion Dashboard FeedPost KnowledgeArticleVersion Report Topic Task Event User".split(" ").indexOf(a.name)},hasMru:function(a){var b=(a.get("v.scopeMap")||{}).name,b=b&&"FeedPost"!==b;a.set("v.priv_hasMru",b);this.checkTypeAheadEnabled(a);return b},checkTypeAheadEnabled:function(a){a.set("v.priv_typeAheadEnabled",
!1);if(a.get("v.priv_hasMru")){var b=a.get("c.getAutoSuggestEnabled");b.setParams({scopeName:a.get("v.scopeMap").name});b.setStorable({executeCallbackIfUpdated:!1});b.setCallback(this,function(b){"SUCCESS"===b.getState()&&(b=b.getReturnValue(),a.set("v.priv_typeAheadEnabled",b))});$A.enqueueAction(b)}},updatePost:function(a,b){if(this.shouldUpdatePost(a,b)){var c=b.getParams().arguments;if(!(void 0===c||null===c))switch(c.type){case this.lib.event.CANCEL:a.set("v.term","");break;case this.lib.event.SET_TERM:$A.mark("filterAll"),
this.filterAll(a),$A.endMark("filterAll"),a.get("v.term")?this.resetScroller(a):this.refresh(a,!1)}}},toggleInlineSpinner:function(a){a&&$A.get("e.force:toggleSpinner").setParams({visible:!1}).fire();$A.get("e.force:toggleSpinner").setParams({visible:a}).fire()},resetScroller:function(a){if(a.get("v.enableScroller")){var b=a.find("mruScroller");b&&b._scroller&&(b.getEvent("scrollTo").setParams({destination:"top"}).fire(),b.set("v.canShowMore",!1),b.set("v.canRefresh",!0),b=a._mruPullToRefreshCallback,
a._mruPullToRefreshCallback=null,b&&b())}}}}});return {"xs":"I","descriptor":"markup://forceSearch:mruMobile","st":{"descriptor":"css://forceSearch.mruMobile","cl":"forceSearchMruMobile"},"cd":{"descriptor":"compound://forceSearch.mruMobile","ac":[{"n":"getMruListViews","descriptor":"serviceComponent://ui.search.components.forcesearch.mru.MruMobileController/ACTION$getMruListViews","at":"SERVER","rt":"java://java.util.List","pa":[{"name":"scopeName","type":"java://java.lang.String"},{"name":"maxResults","type":"java://int"},{"name":"mruOnly","type":"java://boolean"}]},{"n":"getAutoSuggestEnabled","descriptor":"serviceComponent://ui.search.components.forcesearch.mru.MruMobileController/ACTION$getAutoSuggestEnabled","at":"SERVER","rt":"java://java.lang.Boolean","pa":[{"name":"scopeName","type":"java://java.lang.String"}]},{"n":"getMruItems","descriptor":"serviceComponent://ui.search.components.forcesearch.mru.MruMobileController/ACTION$getMruItems","at":"SERVER","rt":"java://java.util.List","pa":[{"name":"scopeMap","type":"java://java.util.Map<java.lang.String,java.lang.String>"},{"name":"context","type":"java://java.util.Map<java.lang.String,java.lang.Object>"},{"name":"scopeNames","type":"java://java.util.List<java.lang.String>"},{"name":"maxResults","type":"java://int"},{"name":"isGlobalMru","type":"java://boolean"}]},{"n":"getTypeaheadItems","descriptor":"serviceComponent://ui.search.components.forcesearch.mru.MruMobileController/ACTION$getTypeaheadItems","at":"SERVER","rt":"java://java.util.Map","pa":[{"name":"scopeMap","type":"java://java.util.Map<java.lang.String,java.lang.String>"},{"name":"context","type":"java://java.util.Map<java.lang.String,java.lang.Object>"},{"name":"maxResults","type":"java://int"},{"name":"term","type":"java://java.lang.String"},{"name":"scopeNames","type":"java://java.util.List<java.lang.String>"},{"name":"scopeSetTypes","type":"java://java.util.List<java.lang.String>"},{"name":"queryMaps","type":"java://java.util.List<java.util.Map<java.lang.String,java.lang.String>>"}]}]},"su":"markup://forceSearch:mru","ad":[["body","aura://Aura.Component[]","G",false,[]],["shouldFocus","aura://Boolean","I",false,false],["groupId","aura://String","I",true,"DEFAULT"],["updateChildren","aura://Boolean","I",true,true],["updateOnlyIfActive","aura://Boolean","I",true,true],["priv_valueProviderReady","aura://Boolean","I",false,false],["initialTerm","aura://String","I",false],["initialScopeMap","aura://Map","I",false,null],["initialContext","aura://Map","I",false,null],["inContextOfComponent","aura://String","I",false,"forceSearch:search"],["term","aura://String","I",true,""],["scopeMap","aura://Map","I",true,{}],["context","aura://Map","I",true,{}],["loggingContext","aura://Map","I",true,{}],["impl","aura://String","I",false],["scopeSets","aura://Map","I",false,{}],["class","aura://String","G",false],["dir","aura://String","I",false,"ltr"],["namespaceOverride","aura://String","I",false],["actionable","aura://Boolean","I",false,true],["role","aura://String","I",false],["ariaDescribedBy","aura://String","PP",false,""],["value","aura://Object","PP",false,null],["visible","aura://Boolean","I",false,true],["maxItems","aura://Integer","I",true,200],["maxItemsVisible","aura://Integer","I",true,50],["maxListViews","aura://Integer","I",true,200],["maxListViewsVisible","aura://Integer","I",true,4],["enableScroller","aura://Boolean","I",false,true],["typeAheadMaxItems","aura://Integer","I",false,10],["typeAheadDelay","aura://Integer","I",false,300],["initialDataLoaded","aura://Boolean","I",false,false],["enableListViews","aura://Boolean","I",false,{"exprType":"FUNCTION","code":"function(cmp,fn){return ($A.get(\"$Browser.isPhone\")||$A.get(\"$Browser.isTablet\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"$Browser.isTablet"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"$Browser.isPhone"}],"byValue":false}],["showListViewExpander","aura://Boolean","I",false,false],["mruItems","aura://List","I",false,[]],["typeAheadItems","aura://List","I",false,[]],["mruListViews","aura://List","I",false,[]],["priv_hasMru","aura://Boolean","I",false,false],["priv_listViewExpanderLabel","aura://String","I",false],["priv_logInfo","aura://Map","I",false,{}],["priv_cache","aura://Map","I",false,{}],["priv_typeAheadQueryId","aura://String","I",false,""],["priv_typeAheadEnabled","aura://Boolean","I",false,false],["priv_fetchedMoreListViews","aura://Boolean","I",false,false],["priv_mrusLoaded","aura://Boolean","I",false,false],["priv_listViewsLoaded","aura://Boolean","I",false,false],["priv_typeAheadDelayTimeout","aura://Object","I",false,null],["priv_typeAheadTerms","aura://List","I",true,[]],["priv_useNativeScroller","aura://Boolean","I",false,false]],"med":[{"name":"forceSearch:update","xs":"I","action":"{!c.update}","attributes":[["type","aura://String","I",false],["term","aura://String","I",false],["scopeMap","aura://Map","I",false,null],["context","aura://Map","I",false,null],["sourceId","aura://String","I",false]]}],"re":[{"ed":"markup://force:searchRequest","n":"searchRequest","xs":"I"},{"ed":"markup://ui:click","n":"click","xs":"G"},{"ed":"markup://ui:dblclick","n":"dblclick","xs":"G"},{"ed":"markup://ui:mousedown","n":"mousedown","xs":"G"},{"ed":"markup://ui:mousemove","n":"mousemove","xs":"G"},{"ed":"markup://ui:mouseout","n":"mouseout","xs":"G"},{"ed":"markup://ui:mouseover","n":"mouseover","xs":"G"},{"ed":"markup://ui:mouseup","n":"mouseup","xs":"G"},{"ed":"markup://aura:componentEvent","n":"refreshed","xs":"I"},{"ed":"markup://ui:refresh","n":"refresh","xs":"I"}],"hd":[{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.init"},"v":{"exprType":"PROPERTY","byValue":false,"path":"this"},"n":"init"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.refresh"},"n":"refresh"},{"x":{"exprType":"PROPERTY","byValue":false,"path":"c.handleScopeMapChange"},"v":{"exprType":"PROPERTY","byValue":false,"path":"v.scopeMap"},"n":"change"}],"ld":{"mruItem":{"alias":"search-input-mobile"},"typeAheadItem":{"alias":"search-input-mobile"},"searchFor":{"alias":"search-input-mobile"}},"fa":[{"descriptor":"updateChildren","value":false},{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://ui:scroller"},"localId":"mruScroller","attributes":{"values":{"useNativeScroller":{"descriptor":"useNativeScroller","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"v.priv_useNativeScroller"}},"canRefresh":{"descriptor":"canRefresh","value":true},"plugins":{"descriptor":"plugins","value":"ActionBar"},"canShowMore":{"descriptor":"canShowMore","value":false},"scroll":{"descriptor":"scroll","value":"vertical"},"bindEventsToScroller":{"descriptor":"bindEventsToScroller","value":true},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"mruContainer","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"mruContainer"}},"tag":{"descriptor":"tag","value":"div"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"localId":"mrus","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{}},"tag":{"descriptor":"tag","value":"section"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceSearch:searchScopeHeader"},"localId":"searchScopeHeader","attributes":{"values":{"context":{"descriptor":"context","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"v.context"}},"showButtons":{"descriptor":"showButtons","value":true},"term":{"descriptor":"term","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"v.term"}},"scopeMap":{"descriptor":"scopeMap","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"v.scopeMap"}},"class":{"descriptor":"class","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return ((!(cmp.get(\"v.priv_hasMru\"))||(fn.ne(cmp.get(\"v.term\"),\"\")&&$A.get(\"$Browser.isPhone\")))?\"slds-hide\":\"mruScopeHeader\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"v.priv_hasMru"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"v.term"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"$Browser.isPhone"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://aura:html"},"localId":"mrusOL","attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"role":"listbox","id":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"mruList_\",cmp.get(\"globalId\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"globalId"}],"byValue":false},"class":"mrus slds-m-around--none slds-p-around--none"}},"tag":{"descriptor":"tag","value":"ol"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:iteration"},"localId":"listViewIterator","attributes":{"values":{"indexVar":{"descriptor":"indexVar","value":"listViewIndex"},"var":{"descriptor":"var","value":"mruListView"},"end":{"descriptor":"end","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"v.maxListViews"}},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:walkthrough"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"role":"listitem"}},"tag":{"descriptor":"tag","value":"li"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceSearch:mruMobileItem"},"localId":"mruListView","attributes":{"values":{"pos":{"descriptor":"pos","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"mruListView.Index"}},"logInfo":{"descriptor":"logInfo","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"v.priv_logInfo"}},"name":{"descriptor":"name","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:mruMobile","path":"mruListView.Name"}},"id":{"descriptor":"id","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:mruMobile","path":"mruListView.Id"}},"scopeMap":{"descriptor":"scopeMap","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"v.scopeMap"}},"isList":{"descriptor":"isList","value":true},"visibleOnCreate":{"descriptor":"visibleOnCreate","value":true}}}}]}}}}]},"key":{"descriptor":"key","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"searchListView_\",cmp.get(\"listViewIndex\"));}","args":[{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:mruMobile","path":"listViewIndex"}],"byValue":true}}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"v.mruListViews"}}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"role":"listitem"}},"tag":{"descriptor":"tag","value":"li"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:walkthrough"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceSearch:mruMobileItem"},"localId":"mruListViewExpander","attributes":{"values":{"isListExpander":{"descriptor":"isListExpander","value":true},"logInfo":{"descriptor":"logInfo","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"v.priv_logInfo"}},"name":{"descriptor":"name","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"v.priv_listViewExpanderLabel"}},"scopeMap":{"descriptor":"scopeMap","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"v.scopeMap"}},"isList":{"descriptor":"isList","value":true},"visibleOnCreate":{"descriptor":"visibleOnCreate","value":true},"onSelected":{"descriptor":"onSelected","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"c.expandListViews"}}}}}]},"key":{"descriptor":"key","value":"searchMruListExpander"}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.showListViewExpander\")&&cmp.get(\"v.initialDataLoaded\"));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"v.initialDataLoaded"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"v.showListViewExpander"}],"byValue":false}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"v.enableListViews"}}}}},{"componentDef":{"descriptor":"markup://aura:iteration"},"attributes":{"values":{"indexVar":{"descriptor":"indexVar","value":"mruIndex"},"var":{"descriptor":"var","value":"mruItem"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:walkthrough"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"role":"listitem"}},"tag":{"descriptor":"tag","value":"li"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceSearch:mruMobileItem"},"localId":"mruItem","attributes":{"values":{"disambiguationValue":{"descriptor":"disambiguationValue","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:mruMobile","path":"mruItem.DisambiguationField"}},"pos":{"descriptor":"pos","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"mruItem.Index"}},"logInfo":{"descriptor":"logInfo","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"v.priv_logInfo"}},"name":{"descriptor":"name","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:mruMobile","path":"mruItem.Name"}},"term":{"descriptor":"term","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"v.term"}},"id":{"descriptor":"id","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:mruMobile","path":"mruItem.Id"}},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:mruMobile","path":"mruItem.Label"}},"scopeMap":{"descriptor":"scopeMap","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"v.scopeMap"}},"visibleOnCreate":{"descriptor":"visibleOnCreate","value":true}}}}]}}}}]},"key":{"descriptor":"key","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"searchMruResults_\",cmp.get(\"mruIndex\"));}","args":[{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:mruMobile","path":"mruIndex"}],"byValue":true}}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"v.mruItems"}}}}},{"componentDef":{"descriptor":"markup://aura:iteration"},"attributes":{"values":{"indexVar":{"descriptor":"indexVar","value":"typeAheadIndex"},"var":{"descriptor":"var","value":"typeAheadItem"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://force:walkthrough"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"role":"listitem","data-ta":"true"}},"tag":{"descriptor":"tag","value":"li"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://forceSearch:mruMobileItem"},"localId":"typeAheadItem","attributes":{"values":{"isTypeAheadItem":{"descriptor":"isTypeAheadItem","value":true},"disambiguationValue":{"descriptor":"disambiguationValue","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:mruMobile","path":"typeAheadItem.DisambiguationField"}},"pos":{"descriptor":"pos","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"typeAheadItem.Index"}},"logInfo":{"descriptor":"logInfo","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"v.priv_logInfo"}},"name":{"descriptor":"name","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:mruMobile","path":"typeAheadItem.Name"}},"term":{"descriptor":"term","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"v.term"}},"id":{"descriptor":"id","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:mruMobile","path":"typeAheadItem.Id"}},"label":{"descriptor":"label","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:mruMobile","path":"typeAheadItem.Label"}},"scopeMap":{"descriptor":"scopeMap","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"v.scopeMap"}},"visibleOnCreate":{"descriptor":"visibleOnCreate","value":true}}}}]}}}}]},"key":{"descriptor":"key","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.add(\"searchTypeAheadResults_\",cmp.get(\"typeAheadIndex\"));}","args":[{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:mruMobile","path":"typeAheadIndex"}],"byValue":true}}}}}]},"items":{"descriptor":"items","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"v.typeAheadItems"}}}}}]}}}},{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:html"},"attributes":{"values":{"HTMLAttributes":{"descriptor":"HTMLAttributes","value":{"class":"noMruRecords"}},"tag":{"descriptor":"tag","value":"p"},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:if"},"attributes":{"values":{"else":{"descriptor":"else","value":[{"componentDef":{"descriptor":"markup://aura:label"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:mruMobile","path":"$Label.AuraSearchUI.NoRecentRecords"}}}}}]},"body":{"descriptor":"body","value":[{"componentDef":{"descriptor":"markup://aura:label"},"attributes":{"values":{"value":{"descriptor":"value","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:mruMobile","path":"$Label.AuraSearchUI.NoRecentFeeds"}}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return fn.eq(cmp.get(\"v.scopeMap.name\"),\"FeedPost\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"v.scopeMap.name"}],"byValue":false}}}}}]}}}}]},"isTrue":{"descriptor":"isTrue","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (((cmp.get(\"v.initialDataLoaded\")&&fn.eq(cmp.get(\"v.mruListViews.length\"),0))&&fn.eq(cmp.get(\"v.mruItems.length\"),0))&&fn.eq(cmp.get(\"v.typeAheadItems.length\"),0));}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"v.mruItems.length"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"v.typeAheadItems.length"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"v.mruListViews.length"},{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"v.initialDataLoaded"}],"byValue":false}}}}},{"componentDef":{"descriptor":"markup://forceSearch:searchFor"},"localId":"searchFor","attributes":{"values":{"groupId":{"descriptor":"groupId","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"v.groupId"}},"context":{"descriptor":"context","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"v.context"}},"term":{"descriptor":"term","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"v.term"}},"scopeMap":{"descriptor":"scopeMap","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"v.scopeMap"}},"class":{"descriptor":"class","value":"slds-hide"}}}}]}}}}]}}}}]},"class":{"descriptor":"class","value":{"exprType":"FUNCTION","code":"function(cmp,fn){return (cmp.get(\"v.visible\")?\"searchScroller\":\"slds-hide\");}","args":[{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"v.visible"}],"byValue":false}},"onPullToRefresh":{"descriptor":"onPullToRefresh","value":{"exprType":"PROPERTY","byValue":false,"target":"forceSearch:mruMobile","path":"c.pullToRefreshHandler"}},"scrollContentClass":{"descriptor":"scrollContentClass","value":"slds-size--1-of-1"},"enabled":{"descriptor":"enabled","value":{"exprType":"PROPERTY","byValue":true,"target":"forceSearch:mruMobile","path":"v.enableScroller"}}}}}]}],"css":true}*/});
$A.componentService.initEventDefs([{"descriptor":"markup://runtime_sales_activities:taskUpdateError","t":"APPLICATION","xs":"I","a":{"taskId":["taskId","apex://Id","I",true,null],"updateValue":["updateValue","aura://String","I",true],"error":["error","aura://String","I",false]}},{"descriptor":"markup://runtime_service_omnichannel:eResyncStateSuccess","t":"APPLICATION","xs":"I","a":{"statusId":["statusId","aura://String","I",false],"affinityToken":["affinityToken","aura://String","I",false]}},{"descriptor":"markup://desktopDashboards:toggleFeedPanelEvent","t":"APPLICATION","xs":"I","a":{"hideFeedPanel":["hideFeedPanel","aura://Boolean","I",true],"sourceIframeName":["sourceIframeName","aura://String","I",false]}},{"descriptor":"markup://omni:eAgentListUpdated","t":"APPLICATION","xs":"I","a":{"agents":["agents","aura://Object","I",false,null]}},{"descriptor":"markup://reports:closeReportBuilderEvent","t":"APPLICATION","xs":"I","a":{"reportId":["reportId","aura://String","I",false,""]}},{"descriptor":"markup://forceChatter:pillItemRemoved","t":"APPLICATION","xs":"I","a":{"feedItemId":["feedItemId","aura://String","I",false]}},{"descriptor":"markup://one:iframeComposerValueChange","t":"COMPONENT","xs":"I","a":{"value":["value","aura://String","I",false]}},{"descriptor":"markup://runtime_service_omnichannel:eStatusChangeFailed","t":"APPLICATION","xs":"I","a":{"statusId":["statusId","aura://String","I",false],"message":["message","aura://String","I",false]}},{"descriptor":"markup://emailui:composerResetComponentEvent","t":"COMPONENT","xs":"I"},{"descriptor":"markup://forceChatter:enableEditTopics","t":"APPLICATION","xs":"I","a":{"feedItemId":["feedItemId","aura://String","I",false]}},{"descriptor":"markup://forceSearch:resultsVisibilityChanged","t":"COMPONENT","xs":"I","a":{"visible":["visible","aura://Boolean","I",true]}},{"descriptor":"markup://runtime_service_omnichannel:eScrtEvent","t":"APPLICATION","xs":"I","a":{"messageType":["messageType","aura://String","I",false],"data":["data","aura://Object","I",false,null]}},{"descriptor":"markup://runtime_service_omnichannel:eAcwExtensionProcessed","t":"APPLICATION","xs":"I","a":{"workId":["workId","aura://String","I",false]}},{"descriptor":"markup://force:registerPageblock","t":"COMPONENT","xs":"I"},{"descriptor":"markup://runtime_service_omnichannel:eCleanSlateLogin","t":"APPLICATION","xs":"I"},{"descriptor":"markup://forceChatter:bookmarkUpdated","t":"APPLICATION","xs":"I","a":{"feedItemId":["feedItemId","aura://String","I",false],"bookmarked":["bookmarked","aura://Boolean","I",false]}},{"descriptor":"markup://emailui:consentWarningHappened","t":"COMPONENT","xs":"I","a":{"warning":["warning","aura://String","I",false]}},{"descriptor":"markup://support:toggleField","t":"COMPONENT","xs":"I","a":{"field":["field","aura://String","I",true],"isShown":["isShown","aura://Boolean","I",true]}},{"descriptor":"markup://force:navigateBack","t":"APPLICATION","xs":"I"},{"descriptor":"markup://force:navigateToFeedElementDetail","t":"APPLICATION","xs":"I","su":"markup://force:isNetwork","a":{"showGroupMentionVisibility":["showGroupMentionVisibility","aura://Boolean","I",false,false],"networkId":["networkId","aura://String","G",false],"feedElementId":["feedElementId","aura://String","I",true],"feedType":["feedType","aura://String","I",false],"feedDesign":["feedDesign","aura://String","I",false,"DEFAULT"]}},{"descriptor":"markup://runtime_service_omnichannel:eLoginSuccess","t":"APPLICATION","xs":"I","a":{"works":["works","aura://Object[]","I",false,[]],"sessionId":["sessionId","aura://String","I",false],"sessionKey":["sessionKey","aura://String","I",false],"affinityToken":["affinityToken","aura://String","I",false],"statusId":["statusId","aura://String","I",false],"config":["config","aura://Object","I",false,null],"buttons":["buttons","aura://Object[]","I",false,[]],"skills":["skills","aura://Object[]","I",false,[]]}},{"descriptor":"markup://forceChatter:updateBookmarkUI","t":"APPLICATION","xs":"I","a":{"feedItemId":["feedItemId","aura://String","I",false],"bookmarked":["bookmarked","aura://Boolean","I",false]}},{"descriptor":"markup://runtime_service_omnichannel:eAgentNotification","t":"APPLICATION","xs":"I","a":{"notificationType":["notificationType","aura://String","I",false]}},{"descriptor":"markup://runtime_service_omnichannel:eWorkReopenedOnLogin","t":"APPLICATION","xs":"I","a":{"work":["work","aura://Object","I",false,null]}},{"descriptor":"markup://runtime_service_omnichannel:eWorkAssigned","t":"APPLICATION","xs":"I","a":{"work":["work","aura://Object","I",false,null]}},{"descriptor":"markup://force:showAddressSuggestions","t":"APPLICATION","xs":"I","a":{"addresses":["addresses","aura://List","I",false,[]],"cmpId":["cmpId","aura://String","I",false],"input":["input","aura://String","I",false]}},{"descriptor":"markup://runtime_service_omnichannel:eWorksReopenedOnLogin","t":"APPLICATION","xs":"I","a":{"works":["works","aura://Object","I",false,null]}},{"descriptor":"markup://runtime_online_sales:verifyCreditCardResponse","t":"APPLICATION","xs":"I","a":{"responseParams":["responseParams","aura://Map","I",false,null]}},{"descriptor":"markup://native:notifyNative","t":"APPLICATION","xs":"I","a":{"componentName":["componentName","aura://String","I",true],"eventName":["eventName","aura://String","I",true],"eventParams":["eventParams","aura://String","I",true,""]}},{"descriptor":"markup://force:closeToast","t":"COMPONENT","xs":"I","a":{"id":["id","aura://String","G",false]}},{"descriptor":"markup://desktopDashboards:downloadComponentImageEvent","t":"APPLICATION","xs":"I","a":{"iframeName":["iframeName","aura://String","I",false],"imageDataURI":["imageDataURI","aura://String","I",false],"componentName":["componentName","aura://String","I",false]}},{"descriptor":"markup://forceChatter:recommendationCarouselEmpty","t":"COMPONENT","xs":"I"},{"descriptor":"markup://emailui:outboxActivityAction","t":"COMPONENT","xs":"I","a":{"emailId":["emailId","aura://String","I",false],"action":["action","aura://String","I",false]}},{"descriptor":"markup://desktopDashboards:getItemsEvent","t":"APPLICATION","xs":"I","a":{"iframeName":["iframeName","aura://String","I",false],"entityApiName":["entityApiName","aura://String","I",false],"queryEntity":["queryEntity","aura://String","I",false],"queryScope":["queryScope","aura://String","I",false],"folderId":["folderId","aura://String","I",false],"searchTerm":["searchTerm","aura://String","I",false],"sortBy":["sortBy","aura://String","I",false],"pageSize":["pageSize","aura://Integer","I",false,50],"currentPage":["currentPage","aura://Integer","I",false,1],"isCountRequested":["isCountRequested","aura://Boolean","I",false,false],"requestId":["requestId","aura://String","I",false,""]}},{"descriptor":"markup://forceChatter:addContentShareOption","t":"APPLICATION","xs":"I","a":{"option":["option","aura://Object","I",false,null]}},{"descriptor":"markup://runtime_sales_forecasting:forecastingAdjustmentChange","t":"APPLICATION","xs":"I"},{"descriptor":"markup://runtime_service_omnichannel:eWorkClosed","t":"APPLICATION","xs":"I","a":{"workId":["workId","aura://String","I",false],"workItemId":["workItemId","aura://String","I",false]}},{"descriptor":"markup://runtime_sales_activities:taskStatusCancel","t":"APPLICATION","xs":"I","a":{"isClosed":["isClosed","aura://Boolean","I",false],"taskId":["taskId","aura://String","I",false],"componentId":["componentId","aura://String","I",true]}},{"descriptor":"markup://forceChatter:commentInserted","t":"COMPONENT","xs":"I"},{"descriptor":"markup://desktopDashboards:subscribeDashboardEvent","t":"APPLICATION","xs":"I","a":{"recordId":["recordId","aura://String","I",false],"iframeName":["iframeName","aura://String","I",false],"subscribeToOthersEnabled":["subscribeToOthersEnabled","aura://Boolean","I",false,false]}},{"descriptor":"markup://runtime_service_omnichannel:eWorkCancelled","t":"APPLICATION","xs":"I","a":{"workId":["workId","aura://String","I",false],"workItemId":["workItemId","aura://String","I",false]}},{"descriptor":"markup://runtime_service_omnichannel:eFlagLowered","t":"APPLICATION","xs":"I","a":{"entityId":["entityId","aura://String","I",false],"updatedBy":["updatedBy","aura://String","I",false],"roleUpdatedBy":["roleUpdatedBy","aura://String","I",false]}},{"descriptor":"markup://support:emailDraftLoaded","t":"COMPONENT","xs":"I","a":{"id":["id","aura://String","I",false]}},{"descriptor":"markup://forceChatter:capabilityUpdated","t":"APPLICATION","xs":"I","a":{"feedItemId":["feedItemId","aura://String","I",false],"capabilityType":["capabilityType","aura://String","I",false]}},{"descriptor":"markup://runtime_sales_activities:showMore","t":"COMPONENT","xs":"I"},{"descriptor":"markup://force:publisherStateChange","t":"COMPONENT","xs":"I","a":{"hasCollapsed":["hasCollapsed","aura://Boolean","I",false],"yieldFocus":["yieldFocus","aura://Boolean","I",false],"doneRenderingHostable":["doneRenderingHostable","aura://Boolean","I",false],"recreateHostable":["recreateHostable","aura://Boolean","I",false]}},{"descriptor":"markup://runtime_service_omnichannel:eConsoleLoad","t":"APPLICATION","xs":"I"},{"descriptor":"markup://forceChatter:streamCreatedOrEdited","t":"APPLICATION","xs":"I","a":{"stream":["stream","aura://Object","I",true,null],"suppressNavigation":["suppressNavigation","aura://Boolean","I",false]}},{"descriptor":"markup://force:sortMruList","t":"APPLICATION","xs":"I","a":{"entityApiName":["entityApiName","aura://String","I",false],"componentGlobalId":["componentGlobalId","aura://String","I",true]}},{"descriptor":"markup://forceChatter:insertPill","t":"APPLICATION","xs":"I","a":{"name":["name","aura://String","I",false],"id":["id","aura://String","I",false],"containerId":["containerId","aura://String","I",false]}},{"descriptor":"markup://forceChatter:showMessageDetail","t":"APPLICATION","xs":"I","a":{"messageId":["messageId","aura://String","I",false],"onMessageDetailUnrender":["onMessageDetailUnrender","aura://Object","I",false,null]}},{"descriptor":"markup://runtime_sales_forecasting:forecastingOwnerChange","t":"APPLICATION","xs":"I","a":{"forecastingOwnerId":["forecastingOwnerId","aura://String","I",false],"userRoleOrTerritoryId":["userRoleOrTerritoryId","aura://String","I",false]}},{"descriptor":"markup://runtime_sales_emailtemplateui:templateDeleted","t":"APPLICATION","xs":"I","a":{"deletedOn":["deletedOn","aura://Long","I",false,null],"publisherId":["publisherId","aura://String","I",false],"templateId":["templateId","aura://String","I",false]}},{"descriptor":"markup://runtime_service_omnichannel:eConfigurationUpdated","t":"APPLICATION","xs":"I","a":{"config":["config","aura://Object","I",false,null]}},{"descriptor":"markup://forceChatter:onDeleteComponent","t":"COMPONENT","xs":"I"},{"descriptor":"markup://runtime_service_omnichannel:toolkitApiObject","t":"APPLICATION","xs":"I","a":{"messageId":["messageId","aura://String","I",false],"type":["type","aura://String","I",false],"object":["object","aura://Object","I",false,null]}},{"descriptor":"markup://runtime_sales_emailtemplateui:templateSaved","t":"APPLICATION","xs":"I","a":{"created":["created","aura://Long","I",false,null],"publisherId":["publisherId","aura://String","I",false],"template":["template","aura://Object","I",false,null]}},{"descriptor":"markup://runtime_service_omnichannel:eEndAfterConversationWork","t":"APPLICATION","xs":"I","a":{"workId":["workId","aura://String","I",false]}},{"descriptor":"markup://forceChatter:pinStatusUpdated","t":"APPLICATION","xs":"I","a":{"feedItem":["feedItem","aura://Object","I",false,null],"pinned":["pinned","aura://Boolean","I",false]}},{"descriptor":"markup://forceChatter:touchMove","t":"COMPONENT","xs":"I","su":"markup://ui:baseDOMEvent","a":{"domEvent":["domEvent","aura://Object","I",false,null]}},{"descriptor":"markup://force:recordDuplicateDetected","t":"COMPONENT","xs":"I","a":{"potentialMatches":["potentialMatches","aura://List","I",false,[]],"errors":["errors","aura://Object","I",false,null]}},{"descriptor":"markup://forceChatter:messageParticipantsUpdated","t":"APPLICATION","xs":"I","a":{"messageId":["messageId","aura://String","I",true],"members":["members","aura://List","I",true,[]],"activity":["activity","aura://Object","I",true,null]}},{"descriptor":"markup://force:navigateToFeed","t":"APPLICATION","xs":"I","a":{"type":["type","aura://String","I",true],"subjectId":["subjectId","aura://String","I",true]}},{"descriptor":"markup://force:destroyPanel","t":"APPLICATION","xs":"I","a":{"instance":["instance","aura://Aura.Component[]","I",false,[]],"onDestroy":["onDestroy","aura://Object","I",false,null]}},{"descriptor":"markup://onesetup:refreshTree","t":"APPLICATION","xs":"I","a":{"callback":["callback","aura://Object","I",false,null]}},{"descriptor":"markup://force:userAssistanceGlobalEvent","t":"APPLICATION","xs":"G","a":{"name":["name","aura://String","G",true],"data":["data","aura://Map","G",false,{}],"handled":["handled","aura://Boolean","G",false,false]}},{"descriptor":"markup://setup:navigateToSetup","t":"APPLICATION","xs":"I","a":{"id":["id","aura://String","G",true],"nodeId":["nodeId","aura://String","G",true],"title":["title","aura://String","G",true],"url":["url","aura://String","G",false],"prefix":["prefix","aura://String","G",false],"isredirect":["isredirect","aura://Boolean","G",false,false]}},{"descriptor":"markup://forceChatter:addToStreamUpdated","t":"APPLICATION","xs":"I","a":{"recordId":["recordId","aura://String","I",false],"includedInStreams":["includedInStreams","aura://Integer","I",false]}},{"descriptor":"markup://one:toggleNav","t":"APPLICATION","xs":"I","a":{"visible":["visible","aura://Boolean","I",false]}},{"descriptor":"markup://runtime_sales_forecasting:forecastingCellNotifyOpportunityList","t":"APPLICATION","xs":"I","a":{"forecastingTypeId":["forecastingTypeId","aura://String","I",false],"forecastingOwnerId":["forecastingOwnerId","aura://String","I",false],"territoryId":["territoryId","aura://String","I",false],"scope":["scope","aura://String","I",false],"periodId":["periodId","aura://String","I",false],"forecastingItemCategory":["forecastingItemCategory","aura://String","I",false],"productFamilyName":["productFamilyName","aura://String","I",false],"excludeSubordinates":["excludeSubordinates","aura://Boolean","I",false],"isPredictionCell":["isPredictionCell","aura://Boolean","I",false],"getForAllProductFamiliesInFilter":["getForAllProductFamiliesInFilter","aura://Boolean","I",false],"forecastingDisplayRowType":["forecastingDisplayRowType","aura://String","I",false]}},{"descriptor":"markup://omni:eAgentStatusChange","t":"APPLICATION","xs":"I","a":{"agent":["agent","aura://Object","I",false,null]}},{"descriptor":"markup://runtime_sales_activities:taskStatusSave","t":"APPLICATION","xs":"I","a":{"taskId":["taskId","aura://String","I",true],"lastMod":["lastMod","aura://DateTime","I",false,null],"newStatus":["newStatus","aura://String","I",true],"isClosed":["isClosed","aura://Boolean","I",true],"componentId":["componentId","aura://String","I",true]}},{"descriptor":"markup://omni:eQueueItemsUpdated","t":"APPLICATION","xs":"I","a":{"queues":["queues","aura://Object","I",false,null]}},{"descriptor":"markup://forceChatter:feedItemVisibilityUpdated","t":"APPLICATION","xs":"I","a":{"feedItemId":["feedItemId","aura://String","I",false],"visibility":["visibility","aura://Boolean","I",false]}},{"descriptor":"markup://runtime_sales_cadence:cadenceCardRefreshEvent","t":"APPLICATION","xs":"I","a":{"shouldStartPolling":["shouldStartPolling","aura://Boolean","I",false],"stepTrackerId":["stepTrackerId","aura://String","I",false],"targetIds":["targetIds","aura://List","I",false,[]],"actionType":["actionType","aura://String","I",false],"actionLocation":["actionLocation","aura://String","I",false],"isSyncCadenceAdvancement":["isSyncCadenceAdvancement","aura://Boolean","I",false]}},{"descriptor":"markup://force:recordsLoaded","t":"COMPONENT","xs":"I","a":{"recordIds":["recordIds","aura://String[]","I",false,[]],"error":["error","aura://String","I",false]}},{"descriptor":"markup://desktopDashboards:dashboardChangeOwnerEvent","t":"APPLICATION","xs":"I","a":{"recordIds":["recordIds","apex://Array","I",false,null],"ownerId":["ownerId","aura://String","I",false],"iframeName":["iframeName","aura://String","I",false],"actionKey":["actionKey","aura://String","I",false]}},{"descriptor":"markup://runtime_service_omnichannel:eWorkTransferError","t":"APPLICATION","xs":"I","a":{"workId":["workId","aura://String","I",false],"isAgentAvailabilityError":["isAgentAvailabilityError","aura://Boolean","I",false]}},{"descriptor":"markup://forceContent:filesDropped","t":"COMPONENT","xs":"I","a":{"droppedFiles":["droppedFiles","aura://Object[]","I",false,[]]}},{"descriptor":"markup://forceChatter:groupTileMembershipButtonPressed","t":"COMPONENT","xs":"I","a":{"buttonReleased":["buttonReleased","aura://Boolean","I",false,false]}},{"descriptor":"markup://forceChatter:streamClicked","t":"APPLICATION","xs":"I","a":{"stream":["stream","aura://Object","I",true,null]}},{"descriptor":"markup://runtime_essential_checkout:checkoutCreditCardResponse","t":"APPLICATION","xs":"I","a":{"responseParams":["responseParams","aura://Map","I",false,null]}},{"descriptor":"markup://forceChatter:feedUpdated","t":"APPLICATION","xs":"I","a":{"event":["event","aura://Object","I",false,null]}},{"descriptor":"markup://setup:navigateToObjectManager","t":"APPLICATION","xs":"I","a":{"routeName":["routeName","aura://String","G",true],"entityDurableId":["entityDurableId","aura://String","G",false],"detailType":["detailType","aura://String","G",false],"detailName":["detailName","aura://String","G",false],"url":["url","aura://String","G",false],"term":["term","aura://String","G",false],"disallowDetailTypeFromHistory":["disallowDetailTypeFromHistory","aura://Boolean","G",false],"replace":["replace","aura://Boolean","G",false]}},{"descriptor":"markup://omni:eConversationNewEntry","t":"APPLICATION","xs":"I","a":{"conversationType":["conversationType","aura://String","I",false],"conversationId":["conversationId","aura://String","I",false],"conversationEntry":["conversationEntry","aura://Object","I",false,null]}},{"descriptor":"markup://omni:eQueuesRefresh","t":"APPLICATION","xs":"I"},{"descriptor":"markup://runtime_service_omnichannel:eReconnecting","t":"APPLICATION","xs":"I","a":{"success":["success","aura://Boolean","I",false]}},{"descriptor":"markup://desktopDashboards:invokeChatterPublisherEvent","t":"APPLICATION","xs":"I","a":{"iframeName":["iframeName","aura://String","I",true],"imageDataURI":["imageDataURI","aura://String","I",true],"componentName":["componentName","aura://String","I",true],"componentId":["componentId","aura://String","I",true],"snapshotEnabled":["snapshotEnabled","aura://String","I",true]}},{"descriptor":"markup://runtime_service_omnichannel:eConnectionError","t":"APPLICATION","xs":"I","a":{"error":["error","aura://Object","I",false,null]}},{"descriptor":"markup://forceChatter:badgeFilterSelected","t":"APPLICATION","xs":"I","a":{"filterValue":["filterValue","aura://String","I",false]}},{"descriptor":"markup://setup_service:socialLSFAuthDone","t":"APPLICATION","xs":"I","a":{"accountId":["accountId","aura://String","I",false],"error":["error","aura://String","I",false]}},{"descriptor":"markup://runtime_service_omnichannel:eAfterConversationWorkEnded","t":"APPLICATION","xs":"I","a":{"workId":["workId","aura://String","I",false]}},{"descriptor":"markup://force:editFeedItem","t":"APPLICATION","xs":"I","a":{"data":["data","java://sfdc.chatter.connect.api.output.feeds.FeedItemRepresentation","I",true,null],"richTextConfig":["richTextConfig","aura://Map","I",false,{"isRichTextEnabled":false,"isCodeSnippetUserPermEnabled":false}],"isTopicsEnabled":["isTopicsEnabled","aura://Boolean","I",false,false],"communityId":["communityId","aura://String","I",false]}},{"descriptor":"markup://force:duplicateDetectedOnSave","t":"APPLICATION","xs":"I","a":{"navigationLocationId":["navigationLocationId","aura://String","I",true],"potentialMatches":["potentialMatches","aura://List","I",false,[]],"errors":["errors","aura://Object","I",false,null]}},{"descriptor":"markup://runtime_sales_activities:updatePastActivities","t":"APPLICATION","xs":"I","a":{"item":["item","aura://Object","I",false,null]}},{"descriptor":"markup://forceChatter:navigateToStreamsListing","t":"COMPONENT","xs":"I"},{"descriptor":"markup://force:updateScrollablePanelPosition","t":"COMPONENT","xs":"I"},{"descriptor":"markup://force:showDockingPanel","t":"APPLICATION","xs":"I","a":{"componentDef":["componentDef","aura://String","I",true],"attributes":["attributes","aura://Object","I",false,null],"onCreate":["onCreate","aura://Object","I",false,null],"onError":["onError","aura://Object","I",true,null],"panelConfig":["panelConfig","aura://Object","I",false,null]}},{"descriptor":"markup://runtime_service_omnichannel:eLogout","t":"APPLICATION","xs":"I","a":{"reason":["reason","aura://String","I",false],"supervisorName":["supervisorName","aura://String","I",false],"logoutTime":["logoutTime","aura://String","I",false]}},{"descriptor":"markup://force:saved","t":"COMPONENT","xs":"I","a":{"id":["id","aura://String","I",false],"isCreate":["isCreate","aura://Boolean","I",false]}},{"descriptor":"markup://forceChatter:feedAnchorSubMenuUpdated","t":"COMPONENT","xs":"I","a":{"selectedItem":["selectedItem","aura://Object","I",false,null]}},{"descriptor":"markup://forceChatter:addExtensionInstanceToPublisherAndShowPreview","t":"APPLICATION","xs":"I","a":{"extensionInstanceData":["extensionInstanceData","aura://Object","I",false,null],"extensionData":["extensionData","aura://Object","I",false,null],"publisherId":["publisherId","aura://String","I",true]}},{"descriptor":"markup://runtime_sales_activities:taskStatusChange","t":"APPLICATION","xs":"I","su":"markup://runtime_sales_activities:taskUpdateError","a":{"lastStatus":["lastStatus","aura://String","I",false],"isClosed":["isClosed","aura://Boolean","I",true],"error":["error","aura://String","I",false],"updateValue":["updateValue","aura://String","I",true],"taskId":["taskId","apex://Id","I",true,null],"record":["record","apex://SObject","I",false,null]}},{"descriptor":"markup://force:reloadApplication","t":"APPLICATION","xs":"I","a":{"clearCache":["clearCache","aura://Boolean","I",false]}},{"descriptor":"markup://forceChatter:messageDataFetched","t":"APPLICATION","xs":"I","a":{"messageData":["messageData","aura://Object","I",false,null]}},{"descriptor":"markup://runtime_service_omnichannel:eStatusChanged","t":"APPLICATION","xs":"I","a":{"statusId":["statusId","aura://String","I",false],"statusName":["statusName","aura://String","I",false],"statusApiName":["statusApiName","aura://String","I",false],"reason":["reason","aura://String","I",false],"supervisorName":["supervisorName","aura://String","I",false],"changeTime":["changeTime","aura://String","I",false],"availableChannels":["availableChannels","aura://List","I",false,[]]}},{"descriptor":"markup://runtime_service_omnichannel:eLoginFailed","t":"APPLICATION","xs":"I","a":{"statusId":["statusId","aura://String","I",false],"message":["message","aura://String","I",false],"source":["source","aura://String","I",false],"errorCode":["errorCode","aura://String","I",false]}},{"descriptor":"markup://forceChatter:updateActionLinkGroupUI","t":"APPLICATION","xs":"I","a":{"platformActionGroupId":["platformActionGroupId","aura://String","I",false]}},{"descriptor":"markup://one:updateWorkspaceTab","t":"COMPONENT","xs":"I","a":{"workspaceId":["workspaceId","aura://String","I",true],"tabId":["tabId","aura://String","I",true],"title":["title","aura://String","I",false],"icon":["icon","aura://String","I",false],"iconAlt":["iconAlt","aura://String","I",false],"url":["url","aura://String","I",false],"customTitle":["customTitle","aura://String","I",false]}},{"descriptor":"markup://omni:eSupervisorConfigChanged","t":"APPLICATION","xs":"I"},{"descriptor":"markup://support:emailAttachmentIdsUpdated","t":"COMPONENT","xs":"I","a":{"field":["field","aura://String","I",true]}},{"descriptor":"markup://force:updateHover","t":"APPLICATION","xs":"I"},{"descriptor":"markup://forceChatter:touchStart","t":"COMPONENT","xs":"I","su":"markup://ui:baseDOMEvent","a":{"domEvent":["domEvent","aura://Object","I",false,null]}},{"descriptor":"markup://forceChatter:newMessageCreated","t":"APPLICATION","xs":"I","a":{"message":["message","aura://Object","I",true,null]}},{"descriptor":"markup://forceChatter:streamDeleted","t":"APPLICATION","xs":"I","a":{"streamId":["streamId","aura://String","I",true]}},{"descriptor":"markup://runtime_service_omnichannel:eWorkTransferred","t":"APPLICATION","xs":"I","a":{"workId":["workId","aura://String","I",false]}},{"descriptor":"markup://emailui:fieldMissing","t":"APPLICATION","xs":"I","a":{"publisherId":["publisherId","aura://String","I",false],"fieldName":["fieldName","aura://String","I",false]}},{"descriptor":"markup://emailui:senderPrefsReady","t":"COMPONENT","xs":"I","a":{"prefs":["prefs","aura://Object","P",false,null],"userNeedsOauth":["userNeedsOauth","aura://Boolean","P",false]}},{"descriptor":"markup://omni:eAgentWorkUpdated","t":"APPLICATION","xs":"I","a":{"agentWorks":["agentWorks","aura://Object","I",false,null]}},{"descriptor":"markup://one:consoleTabNavigate","t":"APPLICATION","xs":"I","a":{"tabId":["tabId","aura://String","I",true],"urlOverride":["urlOverride","aura://String","I",false],"isAutoActivation":["isAutoActivation","aura://Boolean","I",false]}},{"descriptor":"markup://runtime_sales_forecasting:forecastingListViewManagerConfirmIfEdited","t":"APPLICATION","xs":"I","a":{"refreshDisplay":["refreshDisplay","aura://Boolean","I",false,true],"cancelCallback":["cancelCallback","aura://Object","I",false,null],"continueCallback":["continueCallback","aura://Object","I",false,null],"leaveLabel":["leaveLabel","aura://String","I",false],"stayLabel":["stayLabel","aura://String","I",false]}},{"descriptor":"markup://forceChatter:announcementCreated","t":"APPLICATION","xs":"I"},{"descriptor":"markup://forceChatter:delegateAction","t":"COMPONENT","xs":"I","a":{"action":["action","aura://Aura.Action","I",false,null]}},{"descriptor":"markup://home:goalButtonClicked","t":"COMPONENT","xs":"I","a":{"operation":["operation","aura://String","I",true],"goal":["goal","aura://Decimal","I",false]}},{"descriptor":"markup://auraStorage:refreshStatusChange","t":"COMPONENT","xs":"I","a":{"action":["action","aura://Aura.Action","I",false,null],"responseUpdated":["responseUpdated","aura://Boolean","I",false]}},{"descriptor":"markup://omni:eConversationFlagInfo","t":"APPLICATION","xs":"I","a":{"conversationType":["conversationType","aura://String","I",false],"conversationId":["conversationId","aura://String","I",false],"flagRaised":["flagRaised","aura://Boolean","I",false],"actionBy":["actionBy","aura://String","I",false],"message":["message","aura://String","I",false]}},{"descriptor":"markup://analytics:chartSelectionChangedEvent","t":"COMPONENT","xs":"I","a":{"chartSelectionLabels":["chartSelectionLabels","aura://Object","I",false,null]}},{"descriptor":"markup://force:closeHoverPanel","t":"COMPONENT","xs":"I"},{"descriptor":"markup://forceChatter:feedItemDeleted","t":"APPLICATION","xs":"I","a":{"feedItemId":["feedItemId","aura://String","I",false]}},{"descriptor":"markup://forceChatter:feedNotification","t":"COMPONENT","xs":"I","a":{"type":["type","aura://String","I",false],"label":["label","aura://String","I",false],"target":["target","aura://Aura.Component","I",false,null],"action":["action","aura://String","I",false]}},{"descriptor":"markup://omni:eSkillsItemsUpdated","t":"APPLICATION","xs":"I","a":{"skills":["skills","aura://Object","I",false,null]}},{"descriptor":"markup://support:emailApprovalInfoUpdated","t":"COMPONENT","xs":"I","a":{"emailApprovalStatusInfo":["emailApprovalStatusInfo","aura://Object","I",false,null]}},{"descriptor":"markup://force:showOnboardingPrompt","t":"COMPONENT","xs":"I","a":{"id":["id","aura://String","I",true],"componentDefAttributes":["componentDefAttributes","aura://Object","I",false,null],"isDeclarative":["isDeclarative","aura://Boolean","I",false],"isUserRequest":["isUserRequest","aura://Boolean","I",false],"canDisplay":["canDisplay","aura://Object","I",false,null],"onCreate":["onCreate","aura://Object","I",false,null],"onDisplay":["onDisplay","aura://Object","I",false,null],"onDestroy":["onDestroy","aura://Object","I",false,null]}},{"descriptor":"markup://emailui:composerResetEvent","t":"APPLICATION","xs":"I","a":{"publisherId":["publisherId","aura://String","I",false],"confirm":["confirm","aura://Boolean","I",false]}},{"descriptor":"markup://one:consoleTabEvent","t":"COMPONENT","xs":"I","a":{"tabId":["tabId","aura://String","I",true],"arguments":["arguments","aura://Object","I",false,null],"data":["data","aura://Object","I",false,null]}},{"descriptor":"markup://runtime_service_omnichannel:eFlagRaised","t":"APPLICATION","xs":"I","a":{"entityId":["entityId","aura://String","I",false],"message":["message","aura://String","I",false],"updatedBy":["updatedBy","aura://String","I",false]}},{"descriptor":"markup://runtime_service_omnichannel:eWorkAccepted","t":"APPLICATION","xs":"I","a":{"workId":["workId","aura://String","I",false],"workItemId":["workItemId","aura://String","I",false],"isReInit":["isReInit","aura://Boolean","I",false,false]}},{"descriptor":"markup://force:requestPerfLogging","t":"APPLICATION","xs":"I","a":{"eventName":["eventName","aura://String","I",true],"phase":["phase","aura://String","I",true],"timestamp":["timestamp","aura://Long","I",true,null],"data":["data","aura://Map","I",true,null],"shouldEnqueueNow":["shouldEnqueueNow","aura://Boolean","I",false]}},{"descriptor":"markup://omni:eSupervisorFlagLowered","t":"APPLICATION","xs":"I","a":{"entityId":["entityId","aura://String","I",false],"updatedBy":["updatedBy","aura://String","I",false],"roleUpdatedBy":["roleUpdatedBy","aura://String","I",false]}},{"descriptor":"markup://forceChatter:showNativeFileChooser","t":"APPLICATION","xs":"I","a":{"actionLocation":["actionLocation","aura://String","I",false],"recordInfoApiName":["recordInfoApiName","aura://String","I",false]}},{"descriptor":"markup://force:saveAddressLookup","t":"APPLICATION","xs":"I","a":{"street":["street","aura://String","I",false],"city":["city","aura://String","I",false],"state":["state","aura://String","I",false],"stateLongName":["stateLongName","aura://String","I",false],"postalCode":["postalCode","aura://String","I",false],"country":["country","aura://String","I",false],"countryCode":["countryCode","aura://String","I",false],"latitude":["latitude","aura://Double","I",false,null],"longitude":["longitude","aura://Double","I",false,null],"utc_offset_minutes":["utc_offset_minutes","aura://Integer","I",false],"cmpId":["cmpId","aura://String","I",false]}},{"descriptor":"markup://support:showGeneratedEmailInfo","t":"APPLICATION","xs":"I","a":{"recordId":["recordId","aura://String","I",true],"requestId":["requestId","aura://String","I",true],"feedbackShown":["feedbackShown","aura://Boolean","I",true]}},{"descriptor":"markup://runtime_service_omnichannel:eWorkloadChanged","t":"APPLICATION","xs":"I","a":{"configuredCapacity":["configuredCapacity","aura://String","I",false],"previousWorkload":["previousWorkload","aura://String","I",false],"newWorkload":["newWorkload","aura://String","I",false],"configuredInterruptibleCapacity":["configuredInterruptibleCapacity","aura://String","I",false],"previousInterruptibleWorkload":["previousInterruptibleWorkload","aura://String","I",false],"newInterruptibleWorkload":["newInterruptibleWorkload","aura://String","I",false]}},{"descriptor":"markup://emailui:updatedRecipientDetails","t":"COMPONENT","xs":"I","a":{"field":["field","aura://String","I",false],"recipients":["recipients","aura://List","I",false,[]]}},{"descriptor":"markup://forceChatter:invitePeopleSend","t":"APPLICATION","xs":"I","a":{"event":["event","aura://Object","I",false,null]}},{"descriptor":"markup://force:updateDraggableResizablePanelEvent","t":"APPLICATION","xs":"G","a":{"url":["url","aura://String","I",false],"title":["title","aura://String","I",false],"width":["width","aura://Integer","I",false],"height":["height","aura://Integer","I",false]}},{"descriptor":"markup://emailui:saveAttachmentsInFiles","t":"COMPONENT","xs":"I"},{"descriptor":"markup://forceChatter:feedContextUserUpdated","t":"APPLICATION","xs":"I","a":{"feedContextUser":["feedContextUser","aura://Object","I",false,null]}},{"descriptor":"markup://force:skipToContent","t":"APPLICATION","xs":"I","a":{"target":["target","aura://String","I",false]}},{"descriptor":"markup://omni:scrtObject","t":"APPLICATION","xs":"I","a":{"resolveId":["resolveId","aura://String","I",false],"object":["object","aura://Object","I",false,null]}},{"descriptor":"markup://desktopDashboards:setMaskEvent","t":"APPLICATION","xs":"I","a":{"iframeName":["iframeName","aura://String","I",false],"isMasked":["isMasked","aura://Boolean","I",false]}},{"descriptor":"markup://forceChatter:createCanvasFeedItem","t":"APPLICATION","xs":"I","a":{"payload":["payload","aura://Object","I",false,null]}},{"descriptor":"markup://omni:eSCRTConnectionInfo","t":"APPLICATION","xs":"I","a":{"type":["type","aura://String","I",false],"param":["param","aura://Object","I",false,null]}},{"descriptor":"markup://forceChatter:badgeSelected","t":"APPLICATION","xs":"I","a":{"badge":["badge","java://ui.work.api.motivate.BadgeDefinitionDataModel","I",false,null],"inputId":["inputId","aura://String","I",false]}},{"descriptor":"markup://forceChatter:showPollPostView","t":"APPLICATION","xs":"I","a":{"showResults":["showResults","aura://Boolean","I",true],"capability":["capability","aura://Object","I",false,null],"feedItemId":["feedItemId","aura://String","I",false]}},{"descriptor":"markup://force:createRecord","t":"APPLICATION","xs":"G","a":{"entityApiName":["entityApiName","aura://String","G",false],"keyPrefix":["keyPrefix","aura://String","I",false],"inContextOfRecordId":["inContextOfRecordId","aura://String","I",false],"recordTypeId":["recordTypeId","aura://String","G",false],"defaultFieldValues":["defaultFieldValues","aura://Map","G",false,null],"parentObjectApiName":["parentObjectApiName","aura://String","I",false],"layoutOverride":["layoutOverride","aura://String","I",false],"navigationLocation":["navigationLocation","aura://String","PP",false],"navigationLocationId":["navigationLocationId","aura://String","I",false],"removeAnimations":["removeAnimations","aura://Boolean","I",false,false],"panelOnCreateCallback":["panelOnCreateCallback","aura://Object","I",false,null],"panelOnDestroyCallback":["panelOnDestroyCallback","aura://Object","I",false,null],"createRecordPanelTitle":["createRecordPanelTitle","aura://String","I",false],"retURL":["retURL","aura://String","I",false],"panelComponent":["panelComponent","aura://String","I",false],"ws":["ws","aura://String","I",false]}},{"descriptor":"markup://forceChatter:publisherUpdateFieldErrors","t":"APPLICATION","xs":"I","a":{"publisherId":["publisherId","aura://String","I",false],"fieldId":["fieldId","aura://String","I",false],"errors":["errors","aura://List","I",false,[]]}},{"descriptor":"markup://forceChatter:pollVoteUpdated","t":"APPLICATION","xs":"I","a":{"feedItemId":["feedItemId","aura://String","I",false]}},{"descriptor":"markup://runtime_sales_forecasting:forecastingCellNotifyOpportunityListSummary","t":"APPLICATION","xs":"I","a":{"forecastingOwnerId":["forecastingOwnerId","aura://String","I",false],"periodId":["periodId","aura://String","I",false],"fullyQualifiedRowLabel":["fullyQualifiedRowLabel","aura://String","I",false],"forecastCategories":["forecastCategories","aura://String","I",false],"formattedCurrencyValue":["formattedCurrencyValue","aura://String","I",false],"quantityValue":["quantityValue","aura://String","I",false],"userRoleOrTerritoryId":["userRoleOrTerritoryId","aura://String","I",false],"isRoleHierarchy":["isRoleHierarchy","aura://Boolean","I",false],"isValueDisplayedForRowType":["isValueDisplayedForRowType","aura://Boolean","I",false],"isCurrency":["isCurrency","aura://Boolean","I",false],"hasAdjustment":["hasAdjustment","aura://Boolean","I",false],"forecastingTypeId":["forecastingTypeId","aura://String","I",false],"productFamilyName":["productFamilyName","aura://String","I",false],"productFamilyMap":["productFamilyMap","aura://Map","I",false,null],"isOwnerRow":["isOwnerRow","aura://Boolean","I",false],"ownerRowLabel":["ownerRowLabel","aura://String","I",false],"isPeriodRow":["isPeriodRow","aura://Boolean","I",false]}},{"descriptor":"markup://forceChatter:removeRecCarouselPage","t":"APPLICATION","xs":"I"},{"descriptor":"markup://runtime_sales_activities:activityTimelineCloseInsightPopover","t":"APPLICATION","xs":"I","a":{"recordId":["recordId","aura://String","I",false]}},{"descriptor":"markup://support:saveEmailDraft","t":"COMPONENT","xs":"I","a":{"isSubmittingForApproval":["isSubmittingForApproval","aura://Boolean","I",false],"callback":["callback","aura://Object","I",false,null]}},{"descriptor":"markup://force:closeScrollablePanel","t":"COMPONENT","xs":"I"},{"descriptor":"markup://force:showActionsOverflow","t":"APPLICATION","xs":"I","a":{"title":["title","aura://String","I",false],"actions":["actions","aura://List","I",true,[]]}},{"descriptor":"markup://forceChatter:contentRowSelected","t":"COMPONENT","xs":"I","a":{"docId":["docId","aura://String","I",true],"versionId":["versionId","aura://String","I",false],"keyCode":["keyCode","aura://Integer","I",false]}},{"descriptor":"markup://forceChatter:touchEnd","t":"COMPONENT","xs":"I","su":"markup://ui:baseDOMEvent","a":{"domEvent":["domEvent","aura://Object","I",false,null]}},{"descriptor":"markup://forceChatter:groupTileMembershipChanged","t":"COMPONENT","xs":"I","a":{"groupId":["groupId","aura://String","I",true],"membership":["membership","aura://String","I",true],"memberCountChange":["memberCountChange","aura://Integer","I",false,0]}},{"descriptor":"markup://emailStream:dataSourceConnected","t":"APPLICATION","xs":"I"},{"descriptor":"markup://native:postMessage","t":"APPLICATION","xs":"I","a":{"message":["message","aura://String","I",true],"origin":["origin","aura://String","I",false]}},{"descriptor":"markup://omni:eWorkDetailListUpdated","t":"APPLICATION","xs":"I","a":{"works":["works","aura://Object","I",false,null]}},{"descriptor":"markup://force:recordSaveError","t":"COMPONENT","xs":"I","a":{"errors":["errors","aura://Object","I",false,null]}},{"descriptor":"markup://forceChatter:feedItemStatusChanged","t":"APPLICATION","xs":"I","a":{"entityId":["entityId","aura://String","I",false],"newStatus":["newStatus","aura://String","I",false]}},{"descriptor":"markup://desktopDashboards:setDashboardNameEvent","t":"APPLICATION","xs":"I","a":{"dashboardId":["dashboardId","aura://String","I",false],"dashboardName":["dashboardName","aura://String","I",false]}},{"descriptor":"markup://force:favoriteEvent","t":"APPLICATION","xs":"I","a":{"action":["action","aura://String","I",true],"context":["context","aura://Object","I",true,null],"favorite":["favorite","aura://Object","I",false,null],"callback":["callback","aura://Object","I",false,null]}},{"descriptor":"markup://reports:runReportEvent","t":"APPLICATION","xs":"I","a":{"iframeName":["iframeName","aura://String","I",true],"reportId":["reportId","aura://String","I",false,""],"reportDescribe":["reportDescribe","aura://Object","I",true,null],"isView":["isView","aura://Boolean","I",false,true]}},{"descriptor":"markup://force:hoverPanelHide","t":"COMPONENT","xs":"I","a":{"recordId":["recordId","aura://String","I",false]}},{"descriptor":"markup://forceChatter:publisherClearPageErrors","t":"APPLICATION","xs":"I","a":{"publisherId":["publisherId","aura://String","I",false]}},{"descriptor":"markup://omni:eWorkDetailRefresh","t":"APPLICATION","xs":"I","a":{"works":["works","aura://String","I",false]}},{"descriptor":"markup://sfa:filterMenuToggle","t":"APPLICATION","xs":"I","a":{"menuIsOpen":["menuIsOpen","aura://Boolean","I",false]}},{"descriptor":"markup://emailui:useSalesforceSender","t":"COMPONENT","xs":"I"},{"descriptor":"markup://forceChatter:preselectUser","t":"APPLICATION","xs":"I","a":{"userId":["userId","aura://String","I",false],"inputId":["inputId","aura://String","I",false]}},{"descriptor":"markup://omni:eMetricItemsUpdated","t":"APPLICATION","xs":"I","a":{"updatedMetrics":["updatedMetrics","aura://Object","I",false,null]}},{"descriptor":"markup://forceChatter:openMessagePublisher","t":"APPLICATION","xs":"I","a":{"participantsList":["participantsList","aura://List","I",false,[]],"subject":["subject","aura://String","I",false],"bodyText":["bodyText","aura://String","I",false],"attachmentData":["attachmentData","aura://Map","I",false,null],"messageButton":["messageButton","aura://Object","I",false,null]}},{"descriptor":"markup://force:logout","t":"APPLICATION","xs":"I","a":{"logoutUrl":["logoutUrl","aura://String","I",false]}},{"descriptor":"markup://flexipage:recordHomeLoaded","t":"COMPONENT","xs":"I","a":{"status":["status","aura://String","I",true]}},{"descriptor":"markup://emailStream:salesforceInboxOauthRequested","t":"APPLICATION","xs":"I","a":{"onCreate":["onCreate","aura://String","I",false],"respectAnyDataSourceConnected":["respectAnyDataSourceConnected","aura://Boolean","I",false,false]}},{"descriptor":"markup://force:cloneRecord","t":"APPLICATION","xs":"I","a":{"recordId":["recordId","aura://String","I",false],"entityApiName":["entityApiName","aura://String","I",false],"recordTypeId":["recordTypeId","aura://String","I",false],"changeRecordType":["changeRecordType","aura://Boolean","I",false,false],"navigationLocation":["navigationLocation","aura://String","I",false]}},{"descriptor":"markup://voice:displayVoicemailListEvt","t":"APPLICATION","xs":"I"},{"descriptor":"markup://force:showRecordTypeSelector","t":"APPLICATION","xs":"I","a":{"recordTypeSelectorMode":["recordTypeSelectorMode","aura://String","I",false,"NEW"],"recordTypes":["recordTypes","aura://List","I",false,[]],"entityApiName":["entityApiName","aura://String","I",false],"actions":["actions","aura://Object","I",false,null],"record":["record","aura://Object","I",false,null],"recordNaturalName":["recordNaturalName","aura://String","I",false],"entityLabel":["entityLabel","aura://String","I",false],"panelOnDestroyCallback":["panelOnDestroyCallback","aura://Object","I",false,null],"panelOnCreateCallback":["panelOnCreateCallback","aura://Object","I",false,null],"navigationLocation":["navigationLocation","aura://String","I",false],"nextVFURL":["nextVFURL","aura://String","I",false],"inContextOfRef":["inContextOfRef","aura://String","I",false],"ws":["ws","aura://String","I",false],"title":["title","aura://String","I",false],"selectRecordTypeNameLabel":["selectRecordTypeNameLabel","aura://String","I",false]}},{"descriptor":"markup://force:recordFieldCompletion","t":"COMPONENT","xs":"I","a":{"isEnabled":["isEnabled","aura://Boolean","I",true]}},{"descriptor":"markup://omni:eConversationSneakPeek","t":"APPLICATION","xs":"I","a":{"conversationType":["conversationType","aura://String","I",false],"conversationId":["conversationId","aura://String","I",false],"sneakPeek":["sneakPeek","aura://Object","I",false,null]}},{"descriptor":"markup://force:queryRanForTooLong","t":"APPLICATION","xs":"I","a":{"longQueryIdentifier":["longQueryIdentifier","aura://String","I",true],"message":["message","aura://String","I",false],"showRetryAction":["showRetryAction","aura://Boolean","I",false]}},{"descriptor":"markup://omni:eAgentLogout","t":"APPLICATION","xs":"I","a":{"agent":["agent","aura://Object","I",false,null],"isDuplicateLogin":["isDuplicateLogin","aura://Boolean","I",false]}},{"descriptor":"markup://emailui:fieldsChanged","t":"COMPONENT","xs":"I","a":{"fields":["fields","aura://Object","P",false,null],"isAppend":["isAppend","aura://Boolean","P",false]}},{"descriptor":"markup://runtime_service_omnichannel:eRequestComplete","t":"APPLICATION","xs":"I","a":{"requestId":["requestId","aura://String","I",false],"error":["error","aura://String","I",false]}},{"descriptor":"markup://runtime_service_omnichannel:eAfterConversationWorkStarted","t":"APPLICATION","xs":"I","a":{"workId":["workId","aura://String","I",false],"acwStartTime":["acwStartTime","aura://Long","I",false,null]}},{"descriptor":"markup://one:maskHeader","t":"APPLICATION","xs":"I","a":{"masked":["masked","aura://Boolean","I",true]}},{"descriptor":"markup://support:sendEmailQuickActionFieldNotInLayout","t":"COMPONENT","xs":"I","a":{"missingFieldNames":["missingFieldNames","aura://String[]","I",false,[]]}},{"descriptor":"markup://forceChatter:getTopicSuggestions","t":"COMPONENT","xs":"I","a":{"text":["text","aura://String","I",false],"maxResults":["maxResults","aura://Integer","I",false]}},{"descriptor":"markup://support:checkIfContextIsInDockComposer","t":"COMPONENT","xs":"I","a":{"emailToolbarReference":["emailToolbarReference","aura://Object","I",false,null],"callback":["callback","aura://Object","I",false,null]}},{"descriptor":"markup://forceChatter:toggleCompositionComponentContainerAddButton","t":"APPLICATION","xs":"I","a":{"isButtonDisabled":["isButtonDisabled","aura://Boolean","I",true],"publisherId":["publisherId","aura://String","I",true]}},{"descriptor":"markup://forceChatter:muteUpdated","t":"APPLICATION","xs":"I","a":{"feedItemId":["feedItemId","aura://String","I",false],"muted":["muted","aura://Boolean","I",false]}},{"descriptor":"markup://runtime_service_omnichannel:eWorkDeclined","t":"APPLICATION","xs":"I","a":{"workId":["workId","aura://String","I",false],"workItemId":["workItemId","aura://String","I",false]}},{"descriptor":"markup://forceChatter:displayNativeFeed","t":"APPLICATION","xs":"I","a":{"id":["id","aura://String","I",true],"sortOrder":["sortOrder","aura://String","I",true],"pageSize":["pageSize","aura://Integer","I",true]}},{"descriptor":"markup://force:objectHomeRecordChange","t":"APPLICATION","xs":"I","a":{"entityName":["entityName","aura://String","I",true],"recordIds":["recordIds","aura://List","I",true,[]]}},{"descriptor":"markup://adminsuccess:navigateToGuidanceCenter","t":"APPLICATION","xs":"I","a":{"assistantName":["assistantName","aura://String","G",false],"assistantTitle":["assistantTitle","aura://String","G",false]}},{"descriptor":"markup://emailui:mergeFieldInsertEvent","t":"APPLICATION","xs":"I","a":{"publisherId":["publisherId","aura://String","I",false],"mergeField":["mergeField","aura://String","I",false]}},{"descriptor":"markup://forceChatter:memberAdded","t":"COMPONENT","xs":"I"},{"descriptor":"markup://omni:eAgentsRefresh","t":"APPLICATION","xs":"I"},{"descriptor":"markup://support:relatedToDataAvailable","t":"COMPONENT","xs":"I","a":{"inputLookupData":["inputLookupData","aura://Object","I",false,"{}"]}},{"descriptor":"markup://force:setActionTitle","t":"COMPONENT","xs":"I","a":{"title":["title","aura://String","I",true]}},{"descriptor":"markup://support:buildEmailErrorHappened","t":"COMPONENT","xs":"I","a":{"errorMsg":["errorMsg","aura://String","I",false]}},{"descriptor":"markup://force:refresh","t":"COMPONENT","xs":"I"},{"descriptor":"markup://omni:eWorksRefresh","t":"APPLICATION","xs":"I"},{"descriptor":"markup://home:goalChange","t":"COMPONENT","xs":"I","a":{"goal":["goal","aura://Decimal","I",false]}},{"descriptor":"markup://forceChatter:showFileList","t":"APPLICATION","xs":"I","a":{"filter":["filter","aura://String","I",true]}},{"descriptor":"markup://force:setActionFooter","t":"COMPONENT","xs":"I","a":{"actions":["actions","aura://Aura.Component[]","I",true,[]]}},{"descriptor":"markup://forceSearch:filterChanged","t":"COMPONENT","xs":"I","a":{"values":["values","aura://Map","I",true,{}]}},{"descriptor":"markup://force:userAssistanceMenuAlternativeUpdate","t":"APPLICATION","xs":"G","a":{"nonLAFContextPath":["nonLAFContextPath","aura://String","G",true]}},{"descriptor":"markup://forceChatter:publisherAddPageErrors","t":"APPLICATION","xs":"I","a":{"publisherId":["publisherId","aura://String","I",false],"errors":["errors","aura://List","I",false,[]]}},{"descriptor":"markup://runtime_service_omnichannel:eMenuStatusChanged","t":"COMPONENT","xs":"I","a":{"statusId":["statusId","aura://String","I",false]}},{"descriptor":"markup://force:actionAPIEvent","t":"APPLICATION","xs":"I","a":{"actionName":["actionName","aura://String","I",true],"data":["data","aura://Object","I",true,null]}},{"descriptor":"markup://forceChatter:parentIdChanged","t":"COMPONENT","xs":"I","a":{"groupId":["groupId","aura://String","I",false]}},{"descriptor":"markup://forceChatter:membershipUpdated","t":"APPLICATION","xs":"I","a":{"requestSubmitted":["requestSubmitted","aura://Boolean","I",false],"leaveGroupSuccessful":["leaveGroupSuccessful","aura://Boolean","I",false]}},{"descriptor":"markup://desktopDashboards:queryDataProviderEvent","t":"APPLICATION","xs":"I","a":{"iframeName":["iframeName","aura://String","I",false],"queryString":["queryString","aura://String","I",false],"scope":["scope","aura://String","I",false],"entity":["entity","aura://String","I",false],"queryScope":["queryScope","aura://String","I",false]}},{"descriptor":"markup://omni:eWorkQueueUpdated","t":"APPLICATION","xs":"I","a":{"queues":["queues","aura://String","I",false]}},{"descriptor":"markup://force:listSortOrderChangeAppLevel","t":"APPLICATION","xs":"I","a":{"sortBy":["sortBy","aura://String","I",false],"scope":["scope","aura://String","I",true]}},{"descriptor":"markup://force:recordChangeForToDo","t":"APPLICATION","xs":"PP","a":{"record":["record","aura://Object","PP",true,null],"recordId":["recordId","aura://String","PP",false],"isNewRecord":["isNewRecord","aura://Boolean","I",false]}},{"descriptor":"markup://runtime_sales_activities:updateVirtualListItem","t":"COMPONENT","xs":"I","a":{"recordId":["recordId","aura://String","P",true],"item":["item","aura://Object","P",false,null],"state":["state","aura://String","P",false]}},{"descriptor":"markup://force:hoverPanelShow","t":"COMPONENT","xs":"I","a":{"recordId":["recordId","aura://String","I",false]}},{"descriptor":"markup://force:navigateToCanvasApp","t":"APPLICATION","xs":"I","a":{"referenceId":["referenceId","aura://String","I",false],"developerName":["developerName","aura://String","I",false],"namespacePrefix":["namespacePrefix","aura://String","I",false],"parameters":["parameters","aura://String","I",false],"displayLocation":["displayLocation","aura://String","I",false],"sublocation":["sublocation","aura://String","I",false],"canvasId":["canvasId","aura://String","I",false],"maxHeight":["maxHeight","aura://String","I",false,"infinite"],"maxWidth":["maxWidth","aura://String","I",false,"final"],"height":["height","aura://String","I",false,"100%"],"width":["width","aura://String","I",false,"100%"],"recordId":["recordId","aura://String","I",false],"entityFields":["entityFields","aura://String","I",false]}},{"descriptor":"markup://forceChatter:selectFileFromDevice","t":"APPLICATION","xs":"I","a":{"selectedFiles":["selectedFiles","aura://Object[]","I",false,[]]}}]);
$A.componentService.initLibraryDefs([{"descriptor":"markup://one:centerStageLibrary","includes":{"Context":"js://one.centerStageLibrary.Context","DefType":"js://one.centerStageLibrary.DefType","URL":"js://one.centerStageLibrary.URL","RouteToComponentMapping":"js://one.centerStageLibrary.RouteToComponentMapping","Router":"js://one.centerStageLibrary.Router","SObjectActionRouter":"js://one.centerStageLibrary.SObjectActionRouter","SObjectRouter":"js://one.centerStageLibrary.SObjectRouter","Route":"js://one.centerStageLibrary.Route","Token":"js://one.centerStageLibrary.Token","Error":"js://one.centerStageLibrary.Error","Mask":"js://one.centerStageLibrary.Mask","Spinner":"js://one.centerStageLibrary.Spinner","Search":"js://one.centerStageLibrary.Search","Publisher":"js://one.centerStageLibrary.Publisher","Logging":"js://one.centerStageLibrary.Logging","Layout":"js://one.centerStageLibrary.Layout","Aloha":"js://one.centerStageLibrary.Aloha","Stack":"js://one.centerStageLibrary.Stack","Network":"js://one.centerStageLibrary.Network","Salesforce1URI":"js://one.centerStageLibrary.Salesforce1URI","Navigation":"js://one.centerStageLibrary.Navigation","History":"js://one.centerStageLibrary.History","Record":"js://one.centerStageLibrary.Record","PanelService":"js://one.centerStageLibrary.PanelService","Storage":"js://one.centerStageLibrary.Storage","Setup":"js://one.centerStageLibrary.Setup"}},{"descriptor":"markup://forceChatter:methodEmitterService","includes":{"service":"js://forceChatter.methodEmitterService.service"}},{"descriptor":"markup://emailStream:common","includes":{"utils":"js://emailStream.common.utils","defaultSharingSettings":"js://emailStream.common.defaultSharingSettings","aseClickTrackingService":"js://emailStream.common.aseClickTrackingService"}},{"descriptor":"markup://home:heroChartLibrary","includes":{"LinearScale":"js://home.heroChartLibrary.LinearScale","HeroChartUtil":"js://home.heroChartLibrary.HeroChartUtil"}},{"descriptor":"markup://forceChatter:offlineMessageService","includes":{"service":"js://forceChatter.offlineMessageService.service"}},{"descriptor":"markup://ui:virtualDataGridLib","includes":{"columnResize":"js://ui.virtualDataGridLib.columnResize","keyNav":"js://ui.virtualDataGridLib.keyNav"}},{"descriptor":"markup://one:navRouter","includes":{"NavRouter":"js://one.navRouter.NavRouter","AlohaMappingsUrlHandler":"js://one.navRouter.AlohaMappingsUrlHandler","ExternalLocationUrlHandler":"js://one.navRouter.ExternalLocationUrlHandler","ExternalPageWindowsDeviceUrlHandler":"js://one.navRouter.ExternalPageWindowsDeviceUrlHandler","ExternalPageNativeUrlHandler":"js://one.navRouter.ExternalPageNativeUrlHandler","ExternalPageUrlHandler":"js://one.navRouter.ExternalPageUrlHandler","AlohaInNewWindowUrlHandler":"js://one.navRouter.AlohaInNewWindowUrlHandler","HomePageUrlHandler":"js://one.navRouter.HomePageUrlHandler","AuraUrlHandler":"js://one.navRouter.AuraUrlHandler","LightningComponentUrlHandler":"js://one.navRouter.LightningComponentUrlHandler","WeakHttpsAndXdsAuthUrlHandler":"js://one.navRouter.WeakHttpsAndXdsAuthUrlHandler","VisualForceUrlHandler":"js://one.navRouter.VisualForceUrlHandler","DefaultUrlHandler":"js://one.navRouter.DefaultUrlHandler","HandlerUtil":"js://one.navRouter.HandlerUtil"}},{"descriptor":"markup://force:loginHints","includes":{"sessionClient":"js://force.loginHints.sessionClient"}},{"descriptor":"markup://forceContent:fileDroppableLibrary","includes":{"util":"js://forceContent.fileDroppableLibrary.util"}},{"descriptor":"markup://force:massActionLib","includes":{"utilities":"js://force.massActionLib.utilities"}},{"descriptor":"markup://runtime_sales_activities:taskStatusLibrary","includes":{"statusBroker":"js://runtime_sales_activities.taskStatusLibrary.statusBroker","statusMenu":"js://runtime_sales_activities.taskStatusLibrary.statusMenu"}},{"descriptor":"markup://clients:msMailLibrary","includes":{"Bootstrap":"js://clients.msMailLibrary.Bootstrap","Dialog":"js://clients.msMailLibrary.Dialog","Errors":"js://clients.msMailLibrary.Errors","ForceChatterUtil":"js://clients.msMailLibrary.ForceChatterUtil","Globals":"js://clients.msMailLibrary.Globals","Promises":"js://clients.msMailLibrary.Promises","PerfLogging":"js://clients.msMailLibrary.PerfLogging","RenderTracker":"js://clients.msMailLibrary.RenderTracker","SfdcLibrary":"js://clients.msMailLibrary.SfdcLibrary","Toast":"js://clients.msMailLibrary.Toast","PerformanceTiming":"js://clients.msMailLibrary.PerformanceTiming","SFXBridge":"js://clients.msMailLibrary.SFXBridge","Util":"js://clients.msMailLibrary.Util","Storage":"js://clients.msMailLibrary.Storage","Nav":"js://clients.msMailLibrary.Nav","Record":"js://clients.msMailLibrary.Record","Insights":"js://clients.msMailLibrary.Insights","SidePanelDialog":"js://clients.msMailLibrary.SidePanelDialog","Consent":"js://clients.msMailLibrary.Consent","LwcLibs":"js://clients.msMailLibrary.LwcLibs"}},{"descriptor":"markup://force:alternateIdLibrary","includes":{"util":"js://force.alternateIdLibrary.util"}},{"descriptor":"markup://clients:contextLibrary","includes":{"ClientSideItemContext":"js://clients.contextLibrary.ClientSideItemContext","Context":"js://clients.contextLibrary.Context","ContextObject":"js://clients.contextLibrary.ContextObject","ContextWindowProxy":"js://clients.contextLibrary.ContextWindowProxy","RoamingSettings":"js://clients.contextLibrary.RoamingSettings","ApiCallLimiter":"js://clients.contextLibrary.ApiCallLimiter"}},{"descriptor":"markup://lightning:propValuesLibrary","includes":{"propValues":"js://lightning.propValuesLibrary.propValues","normalize":"js://lightning.propValuesLibrary.normalize"}},{"descriptor":"markup://forceChatter:interactionsBuilderService","includes":{"service":"js://forceChatter.interactionsBuilderService.service"}},{"descriptor":"markup://forceChatter:feedPrefetcherLib","includes":{"prefetcher":"js://forceChatter.feedPrefetcherLib.prefetcher"}},{"descriptor":"markup://forceChatter:chatterHomeState","includes":{"state":"js://forceChatter.chatterHomeState.state"}},{"descriptor":"markup://force:quickActionRecordLibrary","includes":{"util":"js://force.quickActionRecordLibrary.util","massQuickActionAggregator":"js://force.quickActionRecordLibrary.massQuickActionAggregator"}},{"descriptor":"markup://force:virtualGridLib","includes":{"gridHelper":"js://force.virtualGridLib.gridHelper","keyNav":"js://force.virtualGridLib.keyNav"}},{"descriptor":"markup://support:util","includes":{"EmailUtil":"js://support.util.EmailUtil","CompactFeed":"js://support.util.CompactFeed","TextUtil":"js://support.util.TextUtil","CmpUtil":"js://support.util.CmpUtil","IncidentMgmtSetupUtil":"js://support.util.IncidentMgmtSetupUtil"}},{"descriptor":"markup://force:formsContext","includes":{"createContext":"js://force.formsContext.createContext"}},{"descriptor":"markup://runtime_sales_activities:activityTimelineStreamLibrary","includes":{"activityTimelineStream":"js://runtime_sales_activities.activityTimelineStreamLibrary.activityTimelineStream"}},{"descriptor":"markup://ui:contentTypeLibrary","includes":{"contentType":"js://ui.contentTypeLibrary.contentType"}},{"descriptor":"markup://runtime_sales_cadence:cadenceLibrary","includes":{"TargetsCadenceActionUtils":"js://runtime_sales_cadence.cadenceLibrary.TargetsCadenceActionUtils","CadenceStepCard":"js://runtime_sales_cadence.cadenceLibrary.CadenceStepCard","CadenceActionsHandlers":"js://runtime_sales_cadence.cadenceLibrary.CadenceActionsHandlers","Constants":"js://runtime_sales_cadence.cadenceLibrary.Constants"}}]);
$A.componentService.initModuleDefs([{"xs":"G","co":"function() { $A.componentService.addModule('markup://interop:card', \"interop/card\",[\"exports\",\"lwc\",\"lightning/icon\",\"lightning/utils\",\"lightning/utilsPrivate\"],function(e,t,a,s,i){function r(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var l=r(a);const n={classMap:{\"slds-card__header\":true,\"slds-grid\":true},key:1};const o={classMap:{\"slds-media\":true,\"slds-media_center\":true,\"slds-has-flexi-truncate\":true},attrs:{part:\"header\"},key:2};const d={classMap:{\"slds-media__figure\":true},attrs:{part:\"icon\"},key:3};const c={classMap:{\"slds-media__body\":true},attrs:{part:\"title\"},key:5};const h={\"slds-card__header-title\":true};const u={classMap:{\"slds-text-heading_small\":true,\"slds-truncate\":true},key:7};const p={attrs:{name:\"title\"},key:8};const g=[];const f={classMap:{\"slds-hide\":true},attrs:{name:\"title\"},key:9};const v={classMap:{\"slds-no-flex\":true},attrs:{part:\"actions\"},key:10};const _={attrs:{name:\"actions\"},key:11};const m={classMap:{\"slds-card__body\":true},attrs:{part:\"body\"},key:12};const y={key:13};const b={classMap:{\"slds-card__footer\":true},attrs:{part:\"footer\"},key:14};const H={attrs:{name:\"footer\"},key:15};const k={classMap:{\"slds-hide\":true},attrs:{name:\"footer\"},key:16};function L(e,t,a,s){const{c:i,h:r,d:L,t:S,s:T}=e;return[r(\"article\",{className:t.computedWrapperClassNames,attrs:{\"aria-label\":t.label,part:\"card\"},key:0},[t.computedHidden?r(\"div\",n,[r(\"header\",o,[t.hasIcon?r(\"div\",d,[i(\"lightning-icon\",l.default,{props:{iconName:t.iconName,size:\"small\"},key:4})]):null,r(\"div\",c,[t._hasTitle?r(\"h2\",{classMap:h,attrs:{\"aria-level\":t._privateHeadingAriaLevel},key:6},[r(\"span\",u,[t.hasStringTitle?S(L(t.title)):null,!t.hasStringTitle?T(\"title\",p,g,a):null])]):null,!t._hasTitle?T(\"title\",f,g,a):null]),r(\"div\",v,[T(\"actions\",_,g,a)])])]):null,r(\"div\",m,[T(\"\",y,g,a)]),t._showFooter?r(\"div\",b,[T(\"footer\",H,g,a)]):null,!t._showFooter?T(\"footer\",k,g,a):null])]}var S=t.registerTemplate(L);L.slots=[\"\",\"actions\",\"footer\",\"title\"];L.stylesheets=[];L.stylesheetToken=\"lwc-7eubp5ml88f\";L.legacyStylesheetToken=\"interop-card_card\";t.freezeTemplate(L);function T(e){return typeof e===\"string\"&&e.toLowerCase()===\"narrow\"}function w(e){return typeof e===\"string\"&&e.toLowerCase()===\"base\"}class M extends t.LightningElement{constructor(...e){super(...e);this.title=void 0;this.iconName=void 0;this._privateVariant=\"base\";this._hasTitle=true;this._showFooter=true;this._privateHeadingAriaLevel=void 0;this.privateHeaderLabel=void 0;this.hiddenHeader=false}set variant(e){if(T(e)||w(e)){this._privateVariant=e}else{this._privateVariant=\"base\"}}get variant(){return this._privateVariant}renderedCallback(){if(this.footerSlot){this._showFooter=this.footerSlot.assignedElements().length!==0}if(this.titleSlot){const e=this.titleSlot.assignedElements().length!==0;this._hasTitle=e||this.hasStringTitle}}get headingLevel(){return this._privateHeadingAriaLevel}set headingLevel(e){if(i.isHeadingLevelValid(e)){this._privateHeadingAriaLevel=e}}get titleSlot(){return this.template.querySelector(\"slot[name=title]\")}get footerSlot(){return this.template.querySelector(\"slot[name=footer]\")}get computedWrapperClassNames(){return s.classSet(\"slds-card\").add({\"slds-card_narrow\":T(this._privateVariant)})}get hasIcon(){return!!this.iconName}get hasStringTitle(){return!!this.title}get label(){if(!this._hasTitle||this.hideHeader){return this.privateHeaderLabel}return null}set label(e){this.privateHeaderLabel=e}get computedHidden(){if(!this.label&&this.hideHeader){console.warn(\"A `lightning-card` with `hide-header` requires `label` to be set.\")}return!this.hideHeader}get hideHeader(){return this.hiddenHeader}set hideHeader(e){this.hiddenHeader=e}}t.registerDecorators(M,{publicProps:{title:{config:0},iconName:{config:0},variant:{config:3},headingLevel:{config:3},label:{config:3},hideHeader:{config:3}},fields:[\"_privateVariant\",\"_hasTitle\",\"_showFooter\",\"_privateHeadingAriaLevel\",\"privateHeaderLabel\",\"hiddenHeader\"]});var N=t.registerComponent(M,{tmpl:S,sel:\"interop-card\",apiVersion:59});e.default=N;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"interop-card","descriptor":"markup://interop:card","n":"interop/card","mv":0.0,"ad":[["title",null,"G",false],["iconName",null,"G",false],["variant",null,"G",false],["headingLevel",null,"G",false],["label",null,"G",false],["hideHeader",null,"G",false]]},{"xs":"P","co":"function() { $A.componentService.addModule('markup://navex:stackedModalContent', \"navex/stackedModalContent\",[\"exports\",\"lwc\",\"navex/pageHostModalWrapper\",\"force/pageLibrary\",\"lightning/navigation\",\"navex/stackedNavigationLib\"],function(e,t,n,r,i,a){function o(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var s=o(n);function c(e,t,n,r){const{gid:i,b:a,c:o}=e;const{_m0:c,_m1:d}=r;return[o(\"navex-page-host-modal-wrapper\",s.default,{props:{id:i(t.id),modalId:t.modalId,modalDensity:t.modalDensity,addressability:t.addressability,page:t.page,active:t.active},key:0,on:{stackedcontentdestroyed:c||(r._m0=a(t.onContentDestroyed)),returnnavigation:d||(r._m1=a(t.onReturnNavigation))}})]}var d=t.registerTemplate(c);c.stylesheets=[];c.stylesheetToken=\"lwc-7l29gslmu1v\";c.legacyStylesheetToken=\"navex-stackedModalContent_stackedModalContent\";t.freezeTemplate(c);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){g(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function g(e,t,n){t=f(t);if(t in e){Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true})}else{e[t]=n}return e}function f(e){var t=p(e,\"string\");return typeof t===\"symbol\"?t:String(t)}function p(e,t){if(typeof e!==\"object\"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var r=n.call(e,t||\"default\");if(typeof r!==\"object\")return r;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(t===\"string\"?String:Number)(e)}class v extends t.LightningElement{constructor(...e){super(...e);this.modalId=void 0;this.modalDensity=void 0;this.addressability=void 0;this._panelBody=null;this._panel=null;this.id=void 0;this._page=void 0;this._activePageReference=void 0}set page(e){this._page=u({},e)}get page(){return this._page}onPageReferenceChange(e){this._activePageReference=e;this.hasReturned=false}get active(){return r.isPageReferenceEqual(this.page,this._activePageReference)}onContentDestroyed(){if(!this.hasReturned){this.dispatchEvent(new a.ReturnNavigationEvent({modalId:this.modalId},\"Cancel\",undefined))}}onReturnNavigation(){this.hasReturned=true}}t.registerDecorators(v,{publicProps:{modalId:{config:0},modalDensity:{config:0},addressability:{config:0},id:{config:0},page:{config:3}},track:{_page:1},wire:{onPageReferenceChange:{adapter:i.CurrentPageReference,method:1,config:function(e){return{}}}},fields:[\"_panelBody\",\"_panel\",\"_activePageReference\"]});var y=t.registerComponent(v,{tmpl:d,sel:\"navex-stacked-modal-content\",apiVersion:59});e.default=y;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"navex-stacked-modal-content","descriptor":"markup://navex:stackedModalContent","n":"navex/stackedModalContent","ad":[["modalId",null,"G",false],["modalDensity",null,"G",false],["addressability",null,"G",false],["id",null,"G",false],["page",null,"G",false]]},{"xs":"P","co":"function() { $A.componentService.addModule('markup://navex:workspaceAccessibilityUtil', \"navex/workspaceAccessibilityUtil\",[\"exports\",\"navex/baseAccessibilityUtil\"],function(e,t){const s=\"focusin\";const o=\"subtabs\";const n=\".navLeft .focuser\";const c=\".navLeft .focuserBackwardsFlow\";const i=\".contentFocuserFlow\";const l=\".contentFocuserBackwardsFlow\";const r=\".main-content-skip.focuser\";const f=\".navigation-skip.focuser\";const u=\".preContentFocuserFlow\";const a=\".preContentFocuserBackwardsFlow\";const d=\".overflowMenu .focuser\";const E=\".overflowMenu .focuserBackwardsFlow\";const y=\".split-right .focus-mark\";const S=\".tabItem .focuser\";const q=\".tabItem .focuserBackwardsFlow\";const x=\".toggleFocuserFlow\";const m=\".toggleFocuserBackwardsFlow\";const b=\".main-content.active.fullLeft .split-left\";const p=\".tabBar .pinnedItems .tabItem.active button\";const I=\".oneWorkspace.active .wsTabset:not(.hasPinnedRegionTemplate) .tabItem.active\";const v=\".tabBar .tabItem.active .tabHeader\";const F=\".tabBar .tabItem.active\";const w=\".oneWorkspace.active .wsTabset:not(.hasPinnedRegionTemplate) .tabContent.active\";const g=w+\" .panel.slds-fade-in-open\";const T=\".wsTabset:not(.hasPinnedRegionTemplate) .tabBar .tabItem.active .tabHeader\";const L=\"button.salesforceIdentityAppLauncherHeader\";const k=\".navexConsoleTabContainer\";const h=\".main-content.active.fullLeft\";const N=\".main-content.active.fullRight.splitViewDisabled\";const C=\".maincontent\";const H=\".main-content.active.split .splitview-content\";const B=\".mainContentMark\";const O=\".navigationMark\";const W=\".navMenu button\";const M=\"div:not(.wsTabBarHidden).wsTabset:not(.hasPinnedRegionTemplate)\";const P=\".oneWorkspace.active > .oneWorkspaceTabWrapper > .onePanelManagerScoped > .pmcontainer .panel.slds-fade-in-open\";const A=\".forceTemplateWorkspace.oneConsoleTabset\";const R=\".selectedListItem a\";const U=\".main-content.isSetupApp\";const D=\".split-left .onesetupSetupNavTree .setup-tree\";const V=\".split-left .onesetupSetupNavTree .filter-footer\";const _=\".split-toggle\";const j=\".split-left\";const z=\".split-right\";const G=\".splitview-content.full, .splitview-content.compact\";const J=\".tabHeader\";const K=\".oneWorkspace.active div:not(.wsTabBarHidden):not(.hasPinnedRegionTemplate).wsTabset .tabItem.active\";const Q=\".walkthrough-callout\";const X=\".oneUtilityBarContainer.oneUtilityBar\";const Y=\".navexDesktopLayoutContainer\";function Z(e){let s=\"\";if(e){s=e+\" \"}let o;const n=t.querySelectorAll(s+g);if(n.length>0){const e=n[n.length-1];o=t.findNextFocusableElement(e);t.focusIfExists(o)}else{const e=t.querySelector(s+w);if(e){o=t.findNextFocusableElementOrIFrame(e);t.focusIfExists(o)}}}function $(e){if(!e){return null}return t.findLastFocusableElement(e)}function ee(){return!!t.querySelector(U)}function te(){const e=t.querySelector(X);let s;if(e){s=t.findNextFocusableElement(e);if(s){t.focusIfExists(s);return}}const o=t.querySelector(Y);if(o){let e=o.nextElementSibling;while(e){s=t.findNextFocusableElement(e);if(s){t.focusIfExists(s);return}e=e.nextElementSibling}}document.body.focus()}function se(e){if(t.isHtmlElement(e)){const e=t.querySelector(r);if(e){e.addEventListener(s,()=>{if(ee()){const e=t.querySelector(k);if(e){const s=t.findNextFocusableElement(e);t.focusIfExists(s)}}else{const e=t.querySelector(B);t.focusIfExists(e)}})}const o=t.querySelector(f);let n;if(o){o.addEventListener(s,()=>{const e=t.querySelector(O);n=t.findNextFocusableElement(e);t.focusIfExists(n)})}}}function oe(e){if(t.isHtmlElement(e)){const o=t.querySelector(u,e);if(o){o.addEventListener(s,()=>{const e=t.querySelector(_);const s=t.querySelector(G);const o=t.querySelector(C);let n;if(e){t.focusIfExists(e)}else if(s){n=t.findNextFocusableElement(s);t.focusIfExists(n)}else if(o){n=t.findNextFocusableElement(o);t.focusIfExists(n)}else{Z()}})}const n=t.querySelector(a,e);if(n){n.addEventListener(s,()=>{const e=t.querySelector(_);let s;if(e){t.focusIfExists(e)}else{const e=t.querySelector(F);if(e){s=$(e);t.focusIfExists(s)}else{const e=t.querySelector(W);const s=t.querySelector(L);if(e&&e.focus){t.focusIfExists(e)}else if(s&&s.focus){s.focus()}}}})}const c=t.querySelector(i,e);if(c){c.addEventListener(s,()=>{const e=t.querySelector(v);const s=ee();let o;if(s){const e=t.querySelector(w);if(e){o=t.findNextFocusableElement(e);t.focusIfExists(o)}if(!o){const e=t.querySelector(w+\" iframe\");t.focusIfExists(e)}}else if(e){t.focusIfExists(e)}else{te()}})}const r=t.querySelector(l,e);if(r){r.addEventListener(s,()=>{const e=t.querySelector(W);t.focusIfExists(e)})}const f=t.querySelector(x,e);if(f){f.addEventListener(s,()=>{const e=t.querySelector(h);const s=t.querySelector(G);const o=t.querySelector(v);let n;const c=ee();if(s&&!c){n=t.findNextFocusableElement(s);t.focusIfExists(n)}else if(e||c){const e=t.querySelector(W);const s=t.querySelector(L);if(e&&e.focus){t.focusIfExists(e)}else if(s&&s.focus){t.focusIfExists(s)}}else if(o){t.focusIfExists(o)}else{te()}})}const d=t.querySelector(m,e);if(d){d.addEventListener(s,()=>{const e=t.querySelector(G);const s=t.querySelector(_);let o;if(e){o=t.findLastFocusableElement(e);t.focusIfExists(o)}else if(s){t.focusIfExists(s)}else{const e=t.querySelector(W);t.focusIfExists(e)}})}}}function ne(e){if(t.isHtmlElement(e)){const o=t.querySelector(y,e);if(o){o.addEventListener(s,e=>{const s=ee();const o=t.querySelector(H);let n;if(s&&o){const e=t.querySelector(V);n=t.findNextFocusableElement(e);if(n){t.focusIfExists(n)}else{const e=t.querySelector(D);n=t.findNextFocusableElement(e);t.focusIfExists(n)}}else if(t.hasClass(e.relatedTarget||e.explicitOriginalTarget,\"focuser\")){Z(z)}else{const e=t.querySelector(p);if(e){t.focusIfExists(e)}else{const e=t.querySelector(F);if(e){const s=$(e);t.focusIfExists(s)}}}})}}}function ce(e,n,c){if(t.isHtmlElement(e)){const i=t.querySelector(S,e);if(i){i.addEventListener(s,()=>{const e=!!c&&typeof c===\"function\"&&c();const s=!e?false:t.querySelector('[id=\"'+e+'\"]');const o=t.querySelector(h);let n;const i=ee();const l=t.querySelector(H);if(i&&l){const e=t.querySelector(j);n=t.findNextFocusableElement(e);t.focusIfExists(n)}else if(o){const e=t.querySelector(G);if(e){n=t.findNextFocusableElement(e);if(n){t.focusIfExists(n)}else{te()}}}else if(s){const e=t.querySelector(M,s);const o=t.hasClass(s,\"oneConsoleTab\")||t.hasClass(s,\"tabContent\");const c=t.querySelector(A,s)||t.querySelector(\".wsTabset.hasPinnedRegionTemplate\",s);if(c){const e=t.querySelectorAll(P);if(e.length>0){const s=e[e.length-1];n=t.findNextFocusableElement(s)}else{n=t.findNextFocusableElement(s)}t.focusIfExists(n)}else if(e!==null){const e=t.querySelector(T,s);t.focusIfExists(e)}else if(o){Z()}else{const e=t.querySelector(\".focus-mark\",s);t.focusIfExists(e)}}})}const l=t.querySelector(q,e);if(l){l.addEventListener(s,e=>{const s=t.hasClass(e.relatedTarget||e.explicitOriginalTarget,\"overflowTrigger\");const c=t.querySelector(I);if(s){const e=n===o;if(e){const e=t.querySelector(T);t.focusIfExists(e)}else{const e=t.querySelector(v);t.focusIfExists(e)}}else if(c){const e=$(c);t.focusIfExists(e)}})}}}function ie(e){if(t.isHtmlElement(e)){const o=t.querySelector(n,e);if(o){o.addEventListener(s,()=>{const e=t.querySelector(_);const s=t.querySelector(v);if(e){t.focusIfExists(e)}else if(s){t.focusIfExists(s)}else{const e=t.querySelector(b);if(e){const s=t.findNextFocusableElement(e);if(s){t.focusIfExists(s)}else{te()}}}})}const i=t.querySelector(c,e);if(i){i.addEventListener(s,()=>{const e=t.querySelector(_);const s=t.querySelector(h);const o=t.querySelector(N);const n=t.querySelector(H);const c=ee();if(n&&!c){const e=t.findLastFocusableElement(n);t.focusIfExists(e)}else if(s||c){const e=t.querySelector(W);const s=t.querySelector(L);if(e&&e.focus){t.focusIfExists(e)}else if(s&&s.focus){s.focus()}}else if(o){const e=t.querySelector(W);t.focusIfExists(e)}else{t.focusIfExists(e)}})}}}function le(e,n){if(t.isHtmlElement(e)){const c=t.querySelector(d,e);if(c){c.addEventListener(s,()=>{const e=t.querySelector(K);const s=n===o;if(e&&!s){const s=t.querySelector(J,e);t.focusIfExists(s)}else{Z()}})}const i=t.querySelector(E,e);if(i){i.addEventListener(s,()=>{const e=t.querySelector(I);if(e){const s=$(e);t.focusIfExists(s)}})}}}function re(){throw new Error(\"Not Implemented - WorkspaceAccessibilityUtil.addOnFocusEventHandlersForScopedModals\")}function fe(){const e=t.querySelector(Q);if(!e){const e=t.querySelector(j);if(e){const s=t.findNextFocusableElement(e);t.focusIfExists(s)}else{const e=t.querySelector(R);t.focusIfExists(e)}}}e.addOnFocusEventHandlersForConsoleNav=ie;e.addOnFocusEventHandlersForConsoleTabContainer=le;e.addOnFocusEventHandlersForConsoleTabItem=ce;e.addOnFocusEventHandlersForScopedModals=re;e.addOnFocusEventHandlersForSplitViewWrapper=oe;e.addOnFocusEventHandlersForWorkspace=ne;e.addOnFocusEventHandlersForWorkspaceManager=se;e.focusLeftContent=fe;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"navex-workspace-accessibility-util","descriptor":"markup://navex:workspaceAccessibilityUtil","n":"navex/workspaceAccessibilityUtil"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://lightning:messageServiceInternal', \"lightning/messageServiceInternal\",[\"exports\",\"lwc\"],function(e,t){const n=Object.freeze({ALLOW_SUBSCRIPTION_INVOCATION:\"doesAllowSubscriptionInvocation\",VALIDATE_SUBSCRIBER_OPTIONS:\"validateSubscriberOptions\"});const o=[];const i=\"[Lightning Message Service Plugin Manager]\";const r=i+\" Could not register plugin\";function s(e,t){return e.definition[n.ALLOW_SUBSCRIPTION_INVOCATION](t)}function c(e){u(e);return o.every(t=>s(t,e))}function u(e){const t=[\"publisherContextualState\",\"subscriberContextualState\",\"messageChannel\"];const n=[];t.forEach(t=>{if(e[t]==null){n.push(t)}});if(n.length>0){throw new Error(`${i} Could not consult plugin manager. Missing valid args: '${n.join(\", \")}'.`)}}function a(e){f(e);o.push(e)}function l(e){o.forEach(t=>{t.definition[n.VALIDATE_SUBSCRIBER_OPTIONS](e)})}function f(e){const t=e.name;const i=e.definition;if(t==null){throw new Error(`${r}. Empty plugin name.`)}if(i==null){throw new Error(`${r} ${t}. Empty plugin definition.`)}if(o.find(e=>e.name===t)!==undefined){throw new Error(`${r} ${t}. Plugin with name already registered.`)}const s=[];Object.values(n).forEach(e=>{if(i[e]==null||i[e]!=null&&typeof i[e]!==\"function\"){s.push(e)}});if(s.length>0){throw new Error(`${r} ${t}. Missing valid functions: '${s.join(\", \")}'.`)}}const d=Symbol(\"APPLICATION_SCOPE\");const x=\"lightning/messageService\";function h(){let e=(new Date).getTime();if(performance&&typeof performance.now===\"function\"){e+=performance.now()}return\"xxxxxxxx_xxxx_4xxx_yxxx_xxxxxxxxxxxx\".replace(/[xy]/g,t=>{const n=(e+Math.random()*16)%16|0;e=Math.floor(e/16);return(t===\"x\"?n:n&3|8).toString(16)})}const p=new WeakMap;const b=new Map;const g=new Map;const C={};const w=new Set;const S=Object.prototype.hasOwnProperty;class O{constructor(e){this.consumerContext=void 0;this._dataCallback=e;this._dataCallback(this.consumerContext)}createAndUpdateContextIfNeeded(){if(!this.consumerContext){this.consumerContext=v();p.set(this,this.consumerContext);this._dataCallback(this.consumerContext)}}update(e,t){if(t){if(!S.call(t,\"value\")){throw new Error(`Invalid context provided`)}const e=t.value;this.createAndUpdateContextIfNeeded();b.set(this.consumerContext,e)}}connect(){this.createAndUpdateContextIfNeeded()}disconnect(){const e=p.get(this);E(e);p.delete(this)}}O.configSchema={};O.contextSchema={value:\"required\"};t.registerDecorators(O,{fields:[\"consumerContext\"]});const m=t.createContextProvider(O);function v(){const e=Symbol(\"MessageContext_\"+h());w.add(e);return e}function E(e){if(!y(e)){return}_(e);D(e)}function I(e){if(!y(e)){throw new Error(`${x}: invalid message context`)}}function y(e){return w.has(e)}function _(e){w.delete(e)}function N(e){let t=g.get(e);if(t===undefined){t={listeners:[],value:C};g.set(e,t)}return t}function M(e){m(e,{consumerConnectedCallback(t){t.provide({value:e})},consumerDisconnectedCallback(){}});return function t(n){const o=N(e);o.value=n;o.listeners.forEach(e=>e(n))}}function P(e){return M(e)}function A(e){g.delete(e)}function T(e){I(e);const t=b.get(e);if(t===undefined){return C}const n=N(t);return n.value}function $(e,t){I(e);if(typeof t!==\"function\"){throw new Error(`${x}: invalid callback function for subscribing to contextual state changes`)}const n=b.get(e);const o=N(n);t(o.value);o.listeners.push(t);return function e(){const n=o.listeners.indexOf(t);if(n>=0){o.listeners.splice(n,1)}}}const j=Symbol(\"INTERNAL_OPTIONS\");const L=new Map;const k=new Map;const R=new Map;function U(e,t,n,o){const i=Object.freeze({});const r={subscription:i,channel:t,context:e,listener:n,subscriberOptions:o};L.set(i,r);let s=k.get(t);if(!s){s=new Set;k.set(t,s)}s.add(r);let c=R.get(e);if(!c){c=new Set;R.set(e,c)}c.add(r);return i}function z(e){const t=L.get(e);if(!t){return}const n=k.get(t.channel);n.delete(t);if(n.size===0){k.delete(t.channel)}const o=R.get(t.context);o.delete(t);if(o.size===0){R.delete(t.context)}L.delete(e)}function B(e,t,n,o){if(n){V(n)}const i=k.get(t);if(!i){return}let r;if(o&&o[j]&&o[j].contextualState){r=o[j].contextualState}else{r=T(e)}i.forEach(i=>{let s=true;const u=i.subscriberOptions;if(u&&u.scope===d);else{const e={publisherContextualState:r,subscriberContextualState:T(i.context),messageChannel:t,subscriberOptions:u};if(!c(e)){return}}if(o&&o[j]&&o[j].skipSameContext){s=e!==i.context}if(s){let e=[n];if(i.subscriberOptions&&i.subscriberOptions[j]&&i.subscriberOptions[j].enhancedArgs){e.push({publisherContextualState:r})}i.listener.apply(undefined,e)}})}function D(e){const t=R.get(e);if(!t){return}t.forEach(e=>{z(e.subscription)})}function V(e){Object.keys(e).forEach(t=>{const n=e[t];e[t]=n&&typeof n===\"object\"?V(n):n});return Object.freeze(e)}function W(e){if(typeof e!==\"function\"){throw new Error(`${x}: invalid listener function`)}}function J(e){if(e!==undefined&&typeof e!==\"object\"){throw new Error(x+\": invalid subscriberOptions. It must be an object.\")}l(e)}function q(e){if(e!==undefined&&typeof e!==\"object\"){throw new Error(`${x}: invalid publisherOptions`)}}function F(e){if(typeof e!==\"object\"){throw new Error(`${x}: invalid message. message must be serializable object or null`)}}const G=new Set;function H(){const e=h();G.add(e);return e}function K(e){if(!G.has(e)){throw new Error(`${x}: unknown message channel`)}}function Q(e,t,n,o){I(e);K(t);W(n);J(o);return U(e,t,n,o)}function X(e){z(e)}function Y(e,t,n,o){I(e);K(t);q(o);n=Z(n);B(e,t,n,o)}function Z(e){if(e!==undefined){const t=JSON.parse(JSON.stringify(e));F(t);return t}return undefined}e.APPLICATION_SCOPE=d;e.INTERNAL_OPTIONS=j;e.MessageContext=O;e.createMessageChannel=H;e.createMessageContext=v;e.getContextualStateForConsumerContext=T;e.installMessageContextProvider=P;e.publish=Y;e.registerPlugin=a;e.releaseMessageContext=E;e.subscribe=Q;e.subscribeToContextualStateChanges=$;e.uninstallMessageContextProvider=A;e.unsubscribe=X;e.validateSubscriberOptions=J;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"lightning-message-service-internal","descriptor":"markup://lightning:messageServiceInternal","n":"lightning/messageServiceInternal"},{"xs":"P","co":"function() { $A.componentService.addModule('markup://runtime_automated_actions:visualPickerOption', \"runtime_automated_actions/visualPickerOption\",[\"exports\",\"lwc\",\"lightning/utils\",\"lightning/icon\"],function(e,s,t,i){function a(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var l=a(i);var n=void 0;function r(e,s,t){var i=e?\"[\"+e+\"]\":\"\";return\".stretch-fit\"+i+\" {width: 100%;height: fit-content;}\"}var c=[r];const d={classMap:{\"slds-media__figure\":true,\"slds-media__figure_fixed-width\":true,\"slds-align_absolute-center\":true},key:4};const o={attrs:{name:\"descriptionList\"},key:9};const u={classMap:{\"slds-icon_container\":true,\"slds-visual-picker__text-check\":true},props:{iconName:\"utility:check\",size:\"x-small\",variant:\"inverse\"},key:10};function p(e,s,t,i){const{gid:a,b:n,h:r,c:c,d:p,t:h,s:m}=e;const{_m0:v}=i;return[r(\"div\",{className:s.visualPickerClass,key:0},[r(\"input\",{attrs:{type:\"radio\",id:a(s.value),name:s.name,disabled:s.disabled?\"\":null},props:{value:s.value,checked:s.checked},key:1,on:{change:v||(i._m0=n(s.handleChange))}}),r(\"label\",{attrs:{for:a(s.value)},key:2},[r(\"div\",{className:s.optionContainerClass,key:3},[s.iconName?r(\"div\",d,[c(\"lightning-icon\",l.default,{props:{iconName:s.iconName,size:s.size},key:5})]):null,r(\"span\",{className:s.mediaClass,key:6},[r(\"span\",{className:s.titleClass,key:7},[h(p(s.label))]),s.hasStringDescription?r(\"div\",{className:s.descriptionClass,attrs:{title:s.description},key:8},[h(p(s.description))]):null,!s.hasStringDescription?m(\"descriptionList\",o,[h(\"Non String Description Goes Here\")],t):null])]),c(\"lightning-icon\",l.default,u)])])]}var h=s.registerTemplate(p);p.slots=[\"descriptionList\"];p.stylesheets=[];if(c){p.stylesheets.push.apply(p.stylesheets,c)}p.stylesheetToken=\"lwc-60i2rk4rtjp\";p.legacyStylesheetToken=\"runtime_automated_actions-visualPickerOption_landscape\";s.freezeTemplate(p);const m={classMap:{\"slds-media__figure_fixed-width\":true,\"slds-p-top--large\":true,\"slds-align_absolute-center\":true},key:4};const v={attrs:{name:\"descriptionList\"},key:8};const g={classMap:{\"slds-visual-picker__body\":true,\"slds-align_absolute-center\":true},key:9};const _={classMap:{\"slds-text-heading_medium\":true,\"slds-m-bottom_x-small\":true},key:10};const k={classMap:{\"slds-icon_container\":true,\"slds-visual-picker__text-check\":true},props:{iconName:\"utility:check\",size:\"x-small\",variant:\"inverse\"},key:11};function f(e,s,t,i){const{gid:a,b:n,h:r,c:c,d:d,t:o,s:u}=e;const{_m0:p}=i;return[r(\"div\",{className:s.visualPickerClass,key:0},[r(\"input\",{attrs:{type:\"radio\",id:a(s.value),name:s.name,disabled:s.disabled?\"\":null},props:{value:s.value,checked:s.checked},key:1,on:{change:p||(i._m0=n(s.handleChange))}}),r(\"label\",{attrs:{for:a(s.value)},key:2},[r(\"div\",{className:s.optionContainerClass,key:3},[s.iconName?r(\"div\",m,[c(\"lightning-icon\",l.default,{props:{iconName:s.iconName,size:s.size},key:5})]):null,r(\"div\",{className:s.mediaClass,key:6},[s.hasStringDescription?r(\"div\",{className:s.descriptionClass,attrs:{title:s.description},key:7},[o(d(s.description))]):null,!s.hasStringDescription?u(\"descriptionList\",v,[o(\"Non String Description Goes Here\")],t):null])]),r(\"span\",g,[r(\"span\",_,[o(d(s.label))])]),c(\"lightning-icon\",l.default,k)])])]}var y=s.registerTemplate(f);f.slots=[\"descriptionList\"];f.stylesheets=[];f.stylesheetToken=\"lwc-390otf3f1pf\";f.legacyStylesheetToken=\"runtime_automated_actions-visualPickerOption_portrait\";s.freezeTemplate(f);const C={PORTRAIT:\"portrait\",LANDSCAPE:\"landscape\",VERTICAL:\"vertical\"};class b extends s.LightningElement{constructor(...e){super(...e);this.label=void 0;this.value=void 0;this.description=void 0;this.name=void 0;this.variant=void 0;this.size=void 0;this.iconName=void 0;this.checked=void 0;this.disabled=void 0;this.stretchAndFit=false}render(){if(this.variant===C.LANDSCAPE||C.VERTICAL){return h}return y}handleChange(e){e.stopPropagation();this.dispatchEvent(new CustomEvent(\"change\"))}get hasStringDescription(){return typeof this.description===\"string\"}get visualPickerClass(){const e=\"slds-visual-picker \";if(this.variant===C.LANDSCAPE){return e+\"slds-size_1-of-1\"}else if(this.variant===C.VERTICAL){return e+t.classSet(\"slds-visual-picker_vertical slds-m-top_small\").add({\"stretch-fit\":this.stretchAndFit})}return e+`slds-visual-picker_${this.size}`}get descriptionClass(){return`slds-hyphenate slds-text-title slds-m-vertical--small slds-line-clamp_${this.size}`}get optionContainerClass(){if(this.variant===C.LANDSCAPE){return\"slds-box slds-box_x-small slds-media slds-visual-picker__figure slds-visual-picker__text\"}else if(this.variant===C.VERTICAL){return t.classSet(\"slds-visual-picker__figure slds-visual-picker__text\").add({\"stretch-fit\":this.stretchAndFit})}return\"slds-media slds-visual-picker__figure slds-visual-picker__text slds-grid slds-grid_vertical slds-align_absolute-center\"}get mediaClass(){return t.classSet(\"\").add({\"slds-media__body slds-border_left slds-p-around--small slds-text-align_left\":this.variant===C.LANDSCAPE,\"slds-media__body slds-p-around--small\":this.variant===C.PORTRAIT})}get titleClass(){return t.classSet(\"\").add({\"slds-text-heading_medium slds-m-bottom_x-small slds-truncate\":this.variant===C.LANDSCAPE,\"slds-text-heading_medium slds-m-bottom_x-small slds-text-color_weak\":this.variant===C.VERTICAL})}}s.registerDecorators(b,{publicProps:{label:{config:0},value:{config:0},description:{config:0},name:{config:0},variant:{config:0},size:{config:0},iconName:{config:0},checked:{config:0},disabled:{config:0},stretchAndFit:{config:0}}});var N=s.registerComponent(b,{tmpl:n,sel:\"runtime_automated_actions-visual-picker-option\",apiVersion:59});e.default=N;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"runtime_automated_actions-visual-picker-option","descriptor":"markup://runtime_automated_actions:visualPickerOption","n":"runtime_automated_actions/visualPickerOption","ad":[["label",null,"G",false],["value",null,"G",false],["description",null,"G",false],["name",null,"G",false],["variant",null,"G",false],["size",null,"G",false],["iconName",null,"G",false],["checked",null,"G",false],["disabled",null,"G",false],["stretchAndFit",null,"G",false,false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://o11y_schema:sf_lds', \"o11y_schema/sf_lds\",[\"exports\"],function(e){const t={namespace:\"sf.lds\",name:\"AdapterUnfulfilledError\",pbjsSchema:{nested:{sf:{nested:{lds:{nested:{AdapterUnfulfilledError:{fields:{adapter:{id:1,type:\"string\"},missingPaths:{rule:\"repeated\",id:2,type:\"string\"},missingLinks:{rule:\"repeated\",id:3,type:\"string\"}}}}}}}}}};const s={namespace:\"sf.lds\",name:\"DurableStoreEvict\",pbjsSchema:{nested:{sf:{nested:{lds:{nested:{DurableStoreEvict:{fields:{keyCount:{id:2,type:\"uint32\"},segment:{id:1,type:\"string\"}}}}}}}}}};const n={namespace:\"sf.lds\",name:\"DurableStoreGraphql\",pbjsSchema:{nested:{sf:{nested:{lds:{nested:{DurableStoreGraphql:{fields:{size:{id:1,type:\"uint32\"}}}}}}}}}};const d={namespace:\"sf.lds\",name:\"DurableStoreRead\",pbjsSchema:{nested:{sf:{nested:{lds:{nested:{DurableStoreRead:{fields:{keyCount:{id:2,type:\"uint32\"},resultCount:{id:4,type:\"uint32\"},segment:{id:1,type:\"string\"},resultSize:{id:5,type:\"uint32\"},isAllFound:{id:3,type:\"bool\"}}}}}}}}}};const i={namespace:\"sf.lds\",name:\"DurableStoreWrite\",pbjsSchema:{nested:{sf:{nested:{lds:{nested:{DurableStoreWrite:{fields:{keyCount:{id:2,type:\"uint32\"},size:{id:3,type:\"uint32\"},segment:{id:1,type:\"string\"}}}}}}}}}};const a={namespace:\"sf.lds\",name:\"LuvioStoreStats\",pbjsSchema:{nested:{sf:{nested:{lds:{nested:{LuvioStoreStats:{fields:{subCount:{id:1,type:\"uint32\"},lookupDuration:{id:8,type:\"double\"},broadcastCount:{id:5,type:\"uint32\"},ingestCount:{id:3,type:\"uint32\"},broadcastDuration:{id:6,type:\"double\"},recordCount:{id:2,type:\"uint32\"},lookupCount:{id:7,type:\"uint32\"},ingestDuration:{id:4,type:\"double\"}}}}}}}}}};const r={namespace:\"sf.lds\",name:\"PerfNetworkStats\",pbjsSchema:{nested:{sf:{nested:{lds:{nested:{PerfNetworkStats:{fields:{wireName:{id:1,type:\"string\"},networkCount:{id:2,type:\"uint32\"},errorCount:{id:4,type:\"uint32\"},averageDuration:{id:3,type:\"double\"}}}}}}}}}};const o={namespace:\"sf.lds\",name:\"PerfSqliteStoreStats\",pbjsSchema:{nested:{sf:{nested:{lds:{nested:{PerfSqliteStoreStats:{fields:{queryAvgDuration:{id:9,type:\"double\"},batchUpsertCount:{id:3,type:\"uint32\"},batchDeleteCount:{id:4,type:\"uint32\"},queryTotalCount:{id:7,type:\"uint32\"},wireName:{id:1,type:\"string\"},queryErrorCount:{id:8,type:\"uint32\"},batchTotalCount:{id:2,type:\"uint32\"},batchAvgDuration:{id:5,type:\"double\"},batchErrorCount:{id:6,type:\"uint32\"}}}}}}}}}};const u={namespace:\"sf.lds\",name:\"PerfTotalStats\",pbjsSchema:{nested:{sf:{nested:{lds:{nested:{PerfTotalStats:{fields:{totalDuration:{id:2,type:\"double\"},wireCount:{id:3,type:\"uint32\"},sqlQueryCount:{id:5,type:\"uint32\"},wireName:{id:1,type:\"string\"},networkCount:{id:4,type:\"uint32\"},sqlBatchCount:{id:6,type:\"uint32\"}}}}}}}}}};e.adapterUnfulfilledErrorSchema=t;e.durableStoreEvictSchema=s;e.durableStoreGraphqlSchema=n;e.durableStoreReadSchema=d;e.durableStoreWriteSchema=i;e.luvioStoreStatsSchema=a;e.perfNetworkStatsSchema=r;e.perfSqliteStoreStatsSchema=o;e.perfTotalStatsSchema=u;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"o11y_schema-sf_lds","descriptor":"markup://o11y_schema:sf_lds","n":"o11y_schema/sf_lds"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://records:recordEditErrorHeader', \"records/recordEditErrorHeader\",[\"exports\",\"lwc\",\"lightning/buttonIcon\",\"lightning/icon\",\"@salesforce/label/Errors.ErrorPopoverHeading\",\"@salesforce/label/Errors.CloseError\"],function(e,r,t,s,o,n){function i(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var a=i(t);var l=i(s);var d=i(o);var c=i(n);function u(e,r,t){var s=e?\"[\"+e+\"]\":\"\";return\".info-header\"+s+\" {background-color: var(--lwc-notificationColorBackgroundInverse,rgb(112, 110, 107));color: var(--lwc-colorTextInverse, rgb(255, 255, 255));}\"}var h=[u];const f={\"slds-float_right\":true,\"slds-popover__close\":true};const g={classMap:{\"slds-media\":true,\"slds-media_center\":true,\"slds-has-flexi-truncate\":true},key:2};const p={classMap:{\"slds-media__figure\":true},key:3};const v={classMap:{\"slds-media__body\":true},key:5};const m={\"slds-truncate\":true,\"slds-text-heading_medium\":true};function y(e,r,t,s){const{b:o,c:n,h:i,d:d,t:c}=e;const{_m0:u}=s;return[n(\"lightning-button-icon\",a.default,{classMap:f,props:{iconName:\"utility:close\",variant:\"bare-inverse\",size:\"small\",title:r.i18n.CloseButtonTitle,alternativeText:r.i18n.CloseButtonTitle},key:0,on:{click:u||(s._m0=o(r.handleClose))}}),i(\"header\",{className:r.computedHeaderCssClass,key:1},[i(\"div\",g,[i(\"div\",p,[n(\"lightning-icon\",l.default,{props:{iconName:r.iconName,variant:\"inverse\",size:\"x-small\"},key:4})]),i(\"div\",v,[i(\"h2\",{classMap:m,attrs:{title:r.headerContent},key:6},[c(d(r.headerContent))])])])])]}var C=r.registerTemplate(y);y.stylesheets=[];if(h){y.stylesheets.push.apply(y.stylesheets,h)}y.stylesheetToken=\"lwc-7kiukc5q659\";y.legacyStylesheetToken=\"records-recordEditErrorHeader_recordEditErrorHeader\";r.freezeTemplate(y);class _ extends r.LightningElement{constructor(...e){super(...e);this.handleClose=void 0;this.headerText=void 0;this.icon=void 0;this.infoHeader=false}get i18n(){return{CloseButtonTitle:c.default}}get headerContent(){return this.headerText?this.headerText:d.default}get iconName(){return this.icon?this.icon:\"utility:error\"}get computedHeaderCssClass(){return`pageErrorHeader slds-popover__header ${this.infoHeader?\"info-header\":\"\"}`}}r.registerDecorators(_,{publicProps:{handleClose:{config:0},headerText:{config:0},icon:{config:0},infoHeader:{config:0}}});var k=r.registerComponent(_,{tmpl:C,sel:\"records-record-edit-error-header\",apiVersion:59});e.default=k;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"records-record-edit-error-header","descriptor":"markup://records:recordEditErrorHeader","n":"records/recordEditErrorHeader","ad":[["handleClose",null,"G",false],["headerText",null,"G",false],["icon",null,"G",false],["infoHeader",null,"G",false,false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://feeds_paging:numberOfTotal', \"feeds_paging/numberOfTotal\",[\"exports\",\"lwc\",\"feeds_paging/numberOfTotalLabelGenerator\"],function(t,e,r){function o(t){return t&&typeof t===\"object\"&&\"default\"in t?t:{default:t}}var a=o(r);function n(t,e,r,o){const{d:a,t:n}=t;return[n(a(e.formattedNumberOfTotal))]}var l=e.registerTemplate(n);n.stylesheets=[];n.stylesheetToken=\"lwc-2gcck1fago0\";n.legacyStylesheetToken=\"feeds_paging-numberOfTotal_numberOfTotal\";e.freezeTemplate(n);class s extends e.LightningElement{constructor(...t){super(...t);this.formattedNumberOfTotal=void 0;this._number=void 0;this._total=void 0}get number(){return this._number}set number(t){this._number=t;this.formattedNumberOfTotal=a.default(this.number,this.total)}get total(){return this._total}set total(t){this._total=t;this.formattedNumberOfTotal=a.default(this.number,this.total)}}e.registerDecorators(s,{publicProps:{number:{config:3},total:{config:3}},track:{formattedNumberOfTotal:1},fields:[\"_number\",\"_total\"]});var i=e.registerComponent(s,{tmpl:l,sel:\"feeds_paging-number-of-total\",apiVersion:59});t.default=i;Object.defineProperty(t,\"__esModule\",{value:true})});\n}","ce":"feeds_paging-number-of-total","descriptor":"markup://feeds_paging:numberOfTotal","n":"feeds_paging/numberOfTotal","ad":[["number",null,"G",false],["total",null,"G",false]]},{"xs":"P","co":"function() { $A.componentService.addModule('markup://feeds_paging:showEventTrigger', \"feeds_paging/showEventTrigger\",[\"exports\",\"lwc\",\"lightning/button\"],function(e,t,n){function r(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var s=r(n);function i(e,t,n,r){const{b:i,c:l}=e;const{_m0:o}=r;return[l(\"lightning-button\",s.default,{props:{variant:\"base\",label:t.label},key:0,on:{click:o||(r._m0=i(t.handleClick))}})]}var l=t.registerTemplate(i);i.stylesheets=[];i.stylesheetToken=\"lwc-20flr2k3srh\";i.legacyStylesheetToken=\"feeds_paging-showEventTrigger_showEventTrigger\";t.freezeTemplate(i);class o extends t.LightningElement{constructor(...e){super(...e);this.eventName=void 0;this.label=void 0}handleClick(){this.dispatchEvent(new CustomEvent(this.eventName,{bubbles:true,cancelable:true,composed:true}))}}t.registerDecorators(o,{publicProps:{eventName:{config:0},label:{config:0}}});var a=t.registerComponent(o,{tmpl:l,sel:\"feeds_paging-show-event-trigger\",apiVersion:59});e.default=a;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"feeds_paging-show-event-trigger","descriptor":"markup://feeds_paging:showEventTrigger","n":"feeds_paging/showEventTrigger","ad":[["eventName",null,"G",false],["label",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://search_results:searchList', \"search_results/searchList\",[\"exports\",\"lwc\",\"lst/commonList\",\"@salesforce/label/udd_ListView.Entity\",\"lst/actExtensions\",\"lst/configuration\",\"search_lightning/util\",\"aura\"],function(e,t,s,i,o,r,n,l){function a(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var c=a(s);var d=a(i);function u(e,t,s){var i=e?\"[\"+e+\"]\":\"\";var o=e?\"[\"+e+\"-host]\":\"\";return(t?\":host {\":o+\" {\")+\"--search-results-list-background-alt: var(--lwc-colorBackgroundAlt, rgb(255, 255, 255));display: block;background-color: var(--search-results-list-background-alt);}lst-common-list\"+i+\" {display: flex;flex: 1 1 auto;flex-direction: column;height: 100%;}\"}var f=[u];function h(e,t,s,i){const{b:o,c:r}=e;const{_m0:n,_m1:l,_m2:a,_m3:d,_m4:u}=i;return[r(\"lst-common-list\",c.default,{props:{primaryDisplayType:t.displayType,mutationContext:t.mutationContext,configuration:t.commonListConfiguration,listReference:t.commonListReference,listViewTitle:t.commonListTitle,fields:t.fields,records:t.listRecords,userPreferences:t.userPreferences,sortBy:t.sortBy,isLoading:t.isLoading},key:0,on:{columnresize:n||(i._m0=o(t.onResize)),loadmore:l||(i._m1=o(t.onLoadMore)),lookupclick:a||(i._m2=o(t.onLookupClick)),sort:d||(i._m3=o(t.onSort)),wraptext:u||(i._m4=o(t.onWrapText))}})]}var p=t.registerTemplate(h);h.stylesheets=[];if(f){h.stylesheets.push.apply(h.stylesheets,f)}h.stylesheetToken=\"lwc-526copph6dk\";h.legacyStylesheetToken=\"search_results-searchList_searchList\";t.freezeTemplate(h);class m extends CustomEvent{constructor(){super(m.NAME,{composed:false,cancelable:false,bubbles:false})}}m.NAME=\"loadmore\";class g extends CustomEvent{constructor({targetRecordId:e,recordId:t,recordIndex:s}){super(g.NAME,{composed:false,cancelable:false,bubbles:false,detail:{targetRecordId:e,recordId:t,recordIndex:s}})}}g.NAME=\"lookupclick\";class b extends CustomEvent{constructor({fieldName:e,sortDirection:t}){super(b.NAME,{composed:false,cancelable:false,bubbles:false,detail:{fieldName:e,sortDirection:t}})}}b.NAME=\"sort\";const y=Object.freeze({CARD:\"card\",GRID:\"grid\"});const C=Object.freeze({ASC:\"asc\",DESC:\"desc\"});function I({listReference:e,sortedBy:t,sortedDirection:s}){const i=s===C.ASC?t:`-${t}`;l.executeGlobalController(\"SearchGridLWCController.updateSortOrderAction\",{listReference:e,sortBy:i})}function A({listReference:e,columnWidthsMap:t}){l.executeGlobalController(\"SearchGridLWCController.updateUserColumnWidthPref\",{listReference:e,columnWidthsMap:t})}function L({listReference:e,wrappedColumns:t}){l.executeGlobalController(\"SearchGridLWCController.updateUserTextWrappingPref\",{listReference:e,wrappedColumns:t})}const{DisplaysConfiguration:R,PrimaryDisplayConfiguration:D}=r.ConfigurationTypes;const j=Object.freeze({LAYOUT_TYPE:y,SORT_DIRECTION:C});const E={LoadMoreEvent:m,LookupClickEvent:g,SortEvent:b};class _ extends t.LightningElement{constructor(...e){super(...e);this.shouldDisplayLoading=false;this.sortBy={};this.disableColumnActions=false;this.disableRowActions=false;this.disablePersistingSort=false;this.disablePersistingWidth=false;this.disablePersistingWrap=false;this.displayType=y.GRID;this.enableLoading=false;this.enableLoadMore=false;this.listInfo=void 0;this.objectInfo=void 0;this.records=void 0;this.relatedObjectInfos=void 0}set sortedBy(e){this._sortedBy=e;this._computeSortBy()}get sortedBy(){return this._sortedBy}set sortedDirection(e){this._sortedDirection=e;this._computeSortBy()}get sortedDirection(){return this._sortedDirection}get additionalColumnConfiguration(){if(this.disableColumnActions){return this.displayColumns.reduce((e,{fieldApiName:t})=>{e[t]={hideDefaultActions:true};return e},{})}return{}}get commonListConfiguration(){return{[D.NAME]:{additionalColumnConfiguration:this.additionalColumnConfiguration,enableInfiniteLoading:this.enableLoadMore,showMassActions:false,showRowLevelActions:this.showRowLevelActions,showRowNumberColumn:false},[R.NAME]:{[R.supportedFullDisplays]:[y.GRID,y.CARD]}}}get commonListReference(){if(!this.isConsistent){return null}return{entityKeyPrefixOrApiName:this.objectApiName,listViewIdOrName:n.constants.SEARCH_LAYOUT_NAME,inContextOfRecordId:null,isMRU:false,isSearch:true}}get commonListTitle(){return`${this.entityLabelPlural} | ${d.default}`}get columnWrap(){return this.userPreferences&&this.userPreferences.columnWrap||{}}get displayColumns(){return this.listInfo&&this.listInfo.displayColumns||[]}get entityLabelPlural(){let e=this.objectApiName||\"\";if(this.objectInfos&&this.objectInfos.length>0){e=this.relatedObjectInfo&&this.relatedObjectInfo.labelPlural?this.relatedObjectInfo.labelPlural:e}return e}get fields(){if(this.isConsistent){return o.transformInfos(this.displayColumns,this.objectApiName,this.objectInfos)}return undefined}get isCardDisplay(){return this.displayType===y.CARD}get isConsistent(){return!!(this.objectInfo&&this.listInfo)}get isLoading(){return!!(this.enableLoading||this.shouldDisplayLoading)}get listRecords(){return(this.records||[]).map(({record:e})=>e)}get listReference(){return{entityKeyPrefixOrApiName:this.objectApiName,listViewIdOrName:n.constants.SEARCH_LAYOUT_NAME,inContextOfRecordId:null,isMRU:false,isSearch:true}}get mutationContext(){return{scope:this.isCardDisplay?o.constants.Scope.SEARCH_DESCRIPTIVE:o.constants.Scope.SEARCH}}get objectApiName(){return this.objectInfo&&this.objectInfo.apiName||undefined}get objectInfos(){const e=[];if(this.objectInfo){e.push(this.objectInfo)}if(this.relatedObjectInfos){e.push(...this.relatedObjectInfos)}return Array.from(new Set(e))}get relatedObjectInfo(){return this.objectInfos.find(({apiName:e})=>e===this.objectApiName)}get showRowLevelActions(){return this.disableRowActions!==true}get userPreferences(){return this.listInfo&&this.listInfo.userPreferences||{}}onLoadMore(){if(this.isLoading){return}this.dispatchEvent(new m)}onLookupClick(e){const{recordId:t,rowIndex:s=-1,rowKey:i}=e.detail;this.dispatchEvent(new g({targetRecordId:t,recordId:i,recordIndex:s}))}onResize({detail:e}){if(this.disablePersistingWidth){return}const{columnWidthMapping:t}=e;A({listReference:this.listReference,columnWidthsMap:t})}onSort({detail:e}){this.shouldDisplayLoading=true;this.shouldDisplayLoading=false;const t=e.qualifiedFieldApiName;const s=e.sortDirection;this.dispatchEvent(new b({sortDirection:s,fieldName:t}));if(!this.disablePersistingSort){I({listReference:this.listReference,sortedBy:t,sortedDirection:s})}}onWrapText({detail:e}){if(this.disablePersistingWrap){return}const{qualifiedFieldApiName:t,wrapText:s}=e;let i=Object.entries(this.columnWrap).filter(([e,t])=>t).map(([e])=>e);if(s){i.push(t)}else{i=i.filter(e=>e!==t)}L({listReference:this.listReference,wrappedColumns:Array.from(new Set(i))})}_computeSortBy(){const{sortedBy:e,sortedDirection:t}=this;if(e){this.sortBy={[e]:t||C.ASC}}}}t.registerDecorators(_,{publicProps:{disableColumnActions:{config:0},disableRowActions:{config:0},disablePersistingSort:{config:0},disablePersistingWidth:{config:0},disablePersistingWrap:{config:0},displayType:{config:0},enableLoading:{config:0},enableLoadMore:{config:0},listInfo:{config:0},objectInfo:{config:0},records:{config:0},relatedObjectInfos:{config:0},sortedBy:{config:3},sortedDirection:{config:3}},track:{shouldDisplayLoading:1,sortBy:1}});var w=t.registerComponent(_,{tmpl:p,sel:\"search_results-search-list\",apiVersion:59});e.ListConstants=j;e.ListEvents=E;e.default=w;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"search_results-search-list","descriptor":"markup://search_results:searchList","n":"search_results/searchList","ad":[["disableColumnActions",null,"G",false,false],["disableRowActions",null,"G",false,false],["disablePersistingSort",null,"G",false,false],["disablePersistingWidth",null,"G",false,false],["disablePersistingWrap",null,"G",false,false],["displayType",null,"G",false],["enableLoading",null,"G",false,false],["enableLoadMore",null,"G",false,false],["listInfo",null,"G",true],["objectInfo",null,"G",true],["records",null,"G",true],["relatedObjectInfos",null,"G",true],["sortedBy",null,"G",false],["sortedDirection",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://feeds_caching:lib', \"feeds_caching/lib\",[\"exports\",\"lwc\"],function(e,t){class a{constructor(){this.cache=new Map;this._lastNavigatedFeedItem=\"\"}clearCache(){this.cache.clear();this._lastNavigatedFeedItem=\"\"}getCache(e){if(this.cache.has(e)){return this.cache.get(e)}return null}setCache(e,t){if(!e||!t){return null}this.cache.set(e,t);this.removePreviousCacheEntry(e);return this.cache.get(e)}hasCache(e){return this.cache.has(e)}get lastNavigatedFeedItem(){return this._lastNavigatedFeedItem}set lastNavigatedFeedItem(e){if(e){this._lastNavigatedFeedItem=e}}removePreviousCacheEntry(e){const t=e.split(\":\");if(parseInt(t[1],10)>1){const e=`${t[0]}:${parseInt(t[1],10)-1}`;this.cache.delete(e)}}}t.registerDecorators(a,{fields:[\"cache\",\"_lastNavigatedFeedItem\"]});var s=new a;e.Lib=a;e.default=s;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"feeds_caching-lib","descriptor":"markup://feeds_caching:lib","n":"feeds_caching/lib"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://lst:dynamicRelatedList', \"lst/dynamicRelatedList\",[\"exports\",\"lwc\",\"lst/dynamicRelatedListWithUserPrefs\",\"lst/relatedListAppEventListener\",\"lst/stencilRelatedListSingle\",\"laf/progressiveContainer\",\"lst/errorState\",\"laf/pageCapability\",\"lightning/uiRecordApi\",\"lightning/uiObjectInfoApi\",\"laf/transformWire\",\"lst/listViewManagerLibrary\",\"lst/configuration\",\"lst/utils\",\"instrumentation/metricsWrapper\",\"@salesforce/label/InfoComponentsRelatedListSingle.ParentNull\",\"@salesforce/gate/lasr.refreshViewAPI\",\"lightning/refresh\",\"force/relatedListNavigationLibrary\",\"@salesforce/gate/com.salesforce.listview.drl.viewAll\",\"lst/relatedListSupport\"],function(e,t,i,r,a,s,d,n,l,o,p,c,f,h,m,u,b,R,g,L,A){function y(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var N=y(i);var I=y(r);var w=y(a);var v=y(s);var P=y(d);var C=y(u);var j=y(b);var F=y(g);var _=y(L);function T(e,t,i){var r=e?\"[\"+e+\"]\":\"\";var a=e?\"[\"+e+\"-host]\":\"\";return(t?\":host {\":a+\" {\")+\"display: block;}.placeholder\"+r+\" {height: 225px;}.slds-tabs_card\"+r+\" .slds-card_boundary.related_list_card_border_top\"+r+\",.slds-tabs_card.slds-tabs_card\"+r+\" .slds-card_boundary.related_list_card_border_top\"+r+\" {border-top-width: 0px;}.slds-tabs_card\"+r+\" .related_list_themed_border_top\"+r+\",.slds-tabs_card.slds-tabs_card\"+r+\" .related_list_themed_border_top\"+r+\" {border-top-width: 3px;border-top-color: t(colorGray7);border-top-style: solid;border-top-left-radius: t(borderRadiusMedium);border-top-right-radius: t(borderRadiusMedium);}\"}var E=[T];const O={\"slds-card\":true,\"slds-card_boundary\":true};const S={key:3};const D={slot:\"placeholder\"};const x={classMap:{\"slds-card\":true},key:5};function k(e,t,i,r){const{c:a,h:s}=e;return[!t.hasAccessError?!t.hasError?t.wiredParentRelatedListInfo.data?t.shouldRenderRelatedList?s(\"article\",{classMap:O,attrs:{\"aria-label\":t.relatedListLabel},key:0},[a(\"laf-progressive-container\",v.default,{props:{cid:t.flexipageComponentInstanceIdentifier,signal:\"visibility-viewport\",maxDelay:\"5000\",delayMode:\"all-in-flight\"},key:1},[a(\"lst-dynamic-related-list-with-user-prefs\",N.default,{props:{label:t.relatedListLabel,parentRecordId:t.wiredParentRelatedListInfo.data.parentRecordId,parentObjectApiName:t.wiredParentRelatedListInfo.data.objectApiName,pageSize:t.maxRecordsToDisplay,sortField:t.sortField,sortFieldLabel:t.sortFieldLabel,filteredByLabels:t.filteredByLabels,actionNames:t.actionNames,primaryDisplayType:t.primaryDisplayType,relatedObjectApiName:t.childObjectApiName,relatedListApiName:t.relatedListApiName,listReference:t.listReference.data,where:t.adminFilters,objectApiNames:t.objectApisReferenced,orderedByInfo:t.orderedByInfo,displayColumns:t.displayColumns,configuration:t.configuration,showViewAll:t.shouldShowViewAll,drillinPageRef:t.drillinPageRef,preferenceId:t.preferenceId},key:2}),a(\"lst-related-list-app-event-listener\",I.default,S),a(\"lst-stencil-related-list-single\",w.default,{attrs:D,props:{flexipageRegionWidth:t.flexipageRegionWidth,relatedListComponentOverride:t.relatedListDisplayType,rowsToDisplay:t.maxRecordsToDisplay,label:t.relatedListLabel,themeInfo:t.themeInfo,showHeader:true},key:4})])]):null:null:null:null,!t.hasAccessError?t.hasError?s(\"div\",x,[a(\"lst-error-state\",P.default,{props:{error:t.error},key:6})]):null:null]}var M=t.registerTemplate(k);k.stylesheets=[];if(E){k.stylesheets.push.apply(k.stylesheets,E)}k.stylesheetToken=\"lwc-3u6jtpo2f0q\";k.legacyStylesheetToken=\"lst-dynamicRelatedList_dynamicRelatedList\";t.freezeTemplate(k);const V=\"relatedListParentErrorState\";const B=m.getMetrics(\"DynamicRelatedList.Single\");const G={SMALL:\"SMALL\"};class W extends(n.CapabilityMixin(t.LightningElement)){storeConfiguration({data:e}){if(e&&!(this.hasAccessError||this.hasError)){const e={parentFieldApiName:this.parentFieldApiName,relatedListApiName:this.relatedListApiName,relatedListLabel:this.relatedListLabel,showActionBar:this.showActionBar,displayColumns:this.displayColumns,sortByField:this.sortField,adminFilters:this.adminFilters,actionNames:this.actionNames,sortFieldLabel:this.sortFieldLabel,filteredByLabels:this.filteredByLabels,hasAccessError:this.hasAccessError,errorInformation:this.errorInformation,themeInfo:this.themeInfo,childObjectApiName:this.childObjectApiName,objectApisReferenced:this.objectApisReferenced,objectApiName:this.objectApiName,preferenceId:this.preferenceId};c.stateManager.setDrlConfiguration(this.pageName,this.flexipageComponentInstanceIdentifier,e)}}processInitialSupport({data:e}){if(e){this.verifySupport(e.parentObjectApiName,false)}}wiredParentRecord({data:e}){if(e){const t=e.fields.IsPersonAccount?.value;this.verifySupport(this.wiredParentRelatedListInfo.data.objectApiName,t)}}verifySupport(e,t){if(e){const i=A.isSupportedRelatedList({parentApiName:e,childApiName:this.childObjectApiName,enabledRelatedLists:A.enabledRelatedLists,blockedRelatedLists:A.blockedRelatedLists,isUiApiSupported:true,isPersonAccount:t});this.isSupportedRelatedList=i&&i.isSupported&&!i.isAura}}refresh(){if(j.default.isOpen({fallback:false})){this.dispatchEvent(new R.RefreshEvent)}else{this[n.CapabilityMixin.GetRegisteredCapabilities](n.RefreshCapability).forEach(e=>e[n.RefreshCapability]())}}constructor(){super();this.pprEnteredViewportTime=0;this.pprContentsRenderedTime=0;this.pageName=void 0;this.recordId=void 0;this.flexipageRegionWidth=G.SMALL;this.relatedListApiName=void 0;this.objectApiName=void 0;this.parentFieldApiName=void 0;this.maxRecordsToDisplay=10;this.flexipageComponentInstanceIdentifier=void 0;this.relatedListDisplayType=\"ADVGRID\";this.showActionBar=false;this.actionNames=[];this.relatedListFieldAliases=void 0;this.adminFilters=null;this.filteredByLabels=void 0;this.columnLabels=void 0;this.sortFieldAlias=void 0;this.sortFieldOrder=void 0;this.sortField=null;this.sortFieldLabel=void 0;this.relatedListLabel=void 0;this.preferenceId=void 0;this.orderedByInfo=[];this.hasAccessError=void 0;this.childObjectApiName=void 0;this.themeInfo=void 0;this.objectApisReferenced=void 0;this.displayColumns=void 0;this.errorInformation=void 0;this.isSupportedRelatedList=void 0;this.wiredObjectInfo=void 0;this.wiredRecordData=void 0;this.wiredParentRelatedListInfo=void 0;this.wiredParentObjectInfo=void 0;this.wiredRelatedListFieldApiName=void 0;this.listReference=void 0;this.wiredOptionalFields=void 0;this.handleRelatedListRecordChangeRefresh=this._handleRelatedListRecordChangeRefresh.bind(this)}connectedCallback(){if(!j.default.isOpen({fallback:false})){this[n.CapabilityMixin.ExposeCapabilities]({[n.RefreshCapability]:this.refresh.bind(this)})}this[n.CapabilityMixin.EnableListener](n.RefreshCapability);this.template.addEventListener(\"relatedListRecordCreated\",this.handleRelatedListRecordChangeRefresh);this.template.addEventListener(s.PPR_FINAL_SIGNAL_EVENT_NAME,this.handlePPREnteredViewportSignal);this.template.addEventListener(s.PPR_FINAL_UNLOCK_SIGNAL_EVENT_NAME,this.handlePPRContentsRenderedTimeSignal);B.incrementCounter(\"connectedCallback\",1,false)}disconnectedCallback(){this[n.CapabilityMixin.ConcealCapabilities]();this.template.removeEventListener(\"relatedListRecordCreated\",this.handleRelatedListRecordChangeRefresh);this.template.removeEventListener(s.PPR_FINAL_SIGNAL_EVENT_NAME,this.handlePPREnteredViewportSignal);this.template.removeEventListener(s.PPR_FINAL_UNLOCK_SIGNAL_EVENT_NAME,this.handlePPRContentsRenderedTimeSignal)}errorCallback(){if(this.wiredRecordData&&(!this.wiredRecordData.error||this.wiredRecordData.error&&this.wiredRecordData.error.status>=200&&this.wiredRecordData.error.status<300)){B.incrementCounter(\"relatedListSingle\",1,true)}}_handleRelatedListRecordChangeRefresh(e){e.stopPropagation();if(e.detail&&(e.detail.relatedListApiName===this.childObjectApiName||e.detail.recordId&&c.yamlConfiguration.getSObjectRelatedKeyPrefixes(this.childObjectApiName).includes(e.detail.recordId.substr(0,3)))){this.refresh()}}get hasError(){const{data:e}=this.wiredParentRelatedListInfo||{};if(this.errorInformation){return true}else if(e&&Object.prototype.hasOwnProperty.call(e,\"parentRecordId\")&&!e.parentRecordId){return true}return false}get error(){if(this.errorInformation){return this.errorInformation}return{type:V,message:C.default,iconConfig:{iconName:\"utility:warning\",altText:\"warning\",variant:\"warning\",title:\"warning\"}}}get previewType(){return f.RelatedLists.computePreviewType(this.childObjectApiName,this.flexipageRegionWidth,this.relatedListDisplayType)}get primaryDisplayType(){if(this.previewType===f.RelatedLists.PreviewTypes.GRID||this.previewType===f.RelatedLists.PreviewTypes.ADVGRID){return\"grid\"}else if(this.previewType===f.RelatedLists.PreviewTypes.CARD){return\"card\"}return null}get configuration(){return h.deepMerge({},f.VariantMap[this.previewType],{presets:c.relatedListFunctions.computeComponentConfiguration(this.relatedListApiName,this.flexipageRegionWidth,this.previewType,this.maxRecordsToDisplay,this.showActionBar,true,this.shouldShowViewAll)})}get shouldShowViewAll(){return _.default&&_.default.isOpen({fallback:false})}get drillinPageRef(){return F.default.generateStandardCmpPageRef(this.pageName,this.flexipageComponentInstanceIdentifier,this.recordId)}get shouldRenderRelatedList(){return this.wiredParentRelatedListInfo.data.parentRecordId&&this.isSupportedRelatedList}handlePPREnteredViewportSignal(){this.pprEnteredViewportTime=performance.now();B.incrementCounter(\"disconnectedCallback\",1,false)}handlePPRContentsRenderedTimeSignal(){this.pprContentsRenderedTime=performance.now();const e=this.pprContentsRenderedTime-this.pprEnteredViewportTime;B.trackValue(\"disconnectedCallback\",e,false)}}t.registerDecorators(W,{publicProps:{pageName:{config:0},recordId:{config:0},flexipageRegionWidth:{config:0},relatedListApiName:{config:0},objectApiName:{config:0},parentFieldApiName:{config:0},maxRecordsToDisplay:{config:0},flexipageComponentInstanceIdentifier:{config:0},relatedListDisplayType:{config:0},showActionBar:{config:0},actionNames:{config:0},relatedListFieldAliases:{config:0},adminFilters:{config:0},filteredByLabels:{config:0},columnLabels:{config:0},sortFieldAlias:{config:0},sortFieldOrder:{config:0},sortField:{config:0},sortFieldLabel:{config:0},relatedListLabel:{config:0},preferenceId:{config:0},orderedByInfo:{config:0},hasAccessError:{config:0},childObjectApiName:{config:0},themeInfo:{config:0},objectApisReferenced:{config:0},displayColumns:{config:0},errorInformation:{config:0}},publicMethods:[\"refresh\"],wire:{wiredObjectInfo:{adapter:o.getObjectInfo,dynamic:[\"objectApiName\"],config:function(e){return{objectApiName:e.objectApiName}}},wiredRecordData:{adapter:l.getRecord,dynamic:[\"recordId\",\"optionalFields\"],config:function(e){return{recordId:e.recordId,optionalFields:e.parentFieldApiName}}},wiredParentRelatedListInfo:{adapter:p.lookupParentRelatedListInfo,dynamic:[\"objectApiName\",\"objectInfo\",\"parentFieldApiName\",\"recordData\"],config:function(e){let t=e.wiredObjectInfo;let i=e.wiredRecordData;return{objectApiName:e.objectApiName,objectInfo:t!=null?t.data:undefined,parentFieldApiName:e.parentFieldApiName,recordData:i!=null?i.data:undefined}}},wiredParentObjectInfo:{adapter:o.getObjectInfo,dynamic:[\"objectApiName\"],config:function(e){let t=e.wiredParentRelatedListInfo;return{objectApiName:t!=null&&(t=t.data)!=null?t.objectApiName:undefined}}},wiredRelatedListFieldApiName:{adapter:p.lookupRelatedListFieldApiName,dynamic:[\"objectInfo\",\"relatedListApiName\"],config:function(e){let t=e.wiredParentObjectInfo;return{objectInfo:t!=null?t.data:undefined,relatedListApiName:e.relatedListApiName}}},listReference:{adapter:p.generateListReference,dynamic:[\"entityKeyPrefixOrApiName\",\"relatedListApiName\",\"parentObjectApiName\",\"parentRecordId\",\"fieldApiName\"],config:function(e){let t=e.wiredParentRelatedListInfo;let i=e.wiredParentRelatedListInfo;let r=e.wiredRelatedListFieldApiName;return{entityKeyPrefixOrApiName:e.childObjectApiName,relatedListApiName:e.relatedListApiName,parentObjectApiName:t!=null&&(t=t.data)!=null?t.objectApiName:undefined,parentRecordId:i!=null&&(i=i.data)!=null?i.parentRecordId:undefined,fieldApiName:r!=null&&(r=r.data)!=null?r.fieldApiName:undefined}}},storeConfiguration:{adapter:p.delayedTransform,dynamic:[\"wiredParentRelatedListInfo\"],method:1,config:function(e){return{wiredParentRelatedListInfo:e.wiredParentRelatedListInfo}}},processInitialSupport:{adapter:p.delayedTransform,dynamic:[\"parentObjectApiName\"],method:1,config:function(e){let t=e.wiredParentRelatedListInfo;return{parentObjectApiName:t!=null&&(t=t.data)!=null?t.objectApiName:undefined}}},wiredOptionalFields:{adapter:p.transformOptionalFields,dynamic:[\"objectApiName\"],config:function(e){let t=e.wiredParentRelatedListInfo;return{optionalFields:[],objectApiName:t!=null&&(t=t.data)!=null?t.objectApiName:undefined}}},wiredParentRecord:{adapter:l.getRecord,dynamic:[\"recordId\",\"optionalFields\"],method:1,config:function(e){let t=e.wiredParentRelatedListInfo;let i=e.wiredOptionalFields;return{recordId:t!=null&&(t=t.data)!=null?t.parentRecordId:undefined,optionalFields:i!=null?i.data:undefined}}}},fields:[\"pprEnteredViewportTime\",\"pprContentsRenderedTime\",\"isSupportedRelatedList\"]});var K=t.registerComponent(W,{tmpl:M,sel:\"lst-dynamic-related-list\",apiVersion:59});e.default=K;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"lst-dynamic-related-list","descriptor":"markup://lst:dynamicRelatedList","n":"lst/dynamicRelatedList","ad":[["pageName",null,"G",false],["recordId",null,"G",false],["flexipageRegionWidth",null,"G",false],["relatedListApiName",null,"G",false],["objectApiName",null,"G",false],["parentFieldApiName",null,"G",false],["maxRecordsToDisplay",null,"G",false,10],["flexipageComponentInstanceIdentifier",null,"G",false],["relatedListDisplayType",null,"G",false,"ADVGRID"],["showActionBar",null,"G",false,false],["actionNames",null,"G",false,[]],["relatedListFieldAliases",null,"G",false],["adminFilters",null,"G",false],["filteredByLabels",null,"G",false],["columnLabels",null,"G",false],["sortFieldAlias",null,"G",false],["sortFieldOrder",null,"G",false],["sortField",null,"G",false],["sortFieldLabel",null,"G",false],["relatedListLabel",null,"G",false],["preferenceId",null,"G",false],["orderedByInfo",null,"G",false,[]],["hasAccessError",null,"G",false],["childObjectApiName",null,"G",false],["themeInfo",null,"G",false],["objectApisReferenced",null,"G",false],["displayColumns",null,"G",false],["errorInformation",null,"G",false]]},{"xs":"P","co":"function() { $A.componentService.addModule('markup://one:utils', \"one/utils\",[\"exports\",\"logger\"],function(e,t){function n(){function e(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}return e()+e()+\"-\"+e()+\"-\"+e()+\"-\"+e()+\"-\"+e()+e()+e()}function o(...e){return i({},...e)}function i(e={},...t){const n=[];for(const o of t){a(o,t=>{const o=S(t,e);if(o.isTabbable){n.push(t)}if(o.isShowing===false){return true}return false})}return n}function r(e){return o(e)[0]}function s(e){return o(e).slice(-1).shift()}function a(e,t){if(!e||typeof t!==\"function\"){return}const n=u(e);l(n,e instanceof ShadowRoot?e.host:e,t)}function l(e,t,n){const o=e.createTreeWalker(t,NodeFilter.SHOW_ELEMENT);let i=o.currentNode;while(i){if(n(i)===true){i=c(o)}else{if(i.shadowRoot){l(e,i.shadowRoot,n)}i=o.nextNode()}}}function u(e){if(e.nodeType===Node.DOCUMENT_NODE){return e}return e.ownerDocument}function c(e){let t;for(;;){if(t=e.nextSibling()){return t}if(!e.parentNode()){return null}}}const f=[\"button\",\"input\",\"select\",\"textarea\"];const d=[\"a\",\"area\",\"input\",\"select\",\"textarea\",\"button\",\"details\",\"summary\",\"iframe\",\"object\",\"embed\",\"video\"];function g(e,t){return S(e,t).isTabbable}function b(e,t={}){return Object.defineProperties({isPossiblyTabbable:false,isShowing:undefined},{isVisible:{get(){if(this.isShowing===undefined){this.isShowing=p(e,t)}return this.isShowing}},isTabbable:{get(){return this.isPossiblyTabbable&&this.isVisible}}})}function S(e,t){const n=b(e,t);if(e.nodeType!==Node.ELEMENT_NODE){return n}if(e.hasAttribute(\"inert\")){return n}const{localName:o,disabled:i,type:r}=e;if(o===\"input\"&&r===\"hidden\"){return n}if(i&&f.includes(o)){return n}if(e.hasAttribute(\"tabindex\")){n.isPossiblyTabbable=e.tabIndex>=0}else if(d.includes(o)){n.isPossiblyTabbable=true}return n}function h(e={}){const t=\"cache\"in e?e.cache:e.cache=new Map;return t}function w(e,t){const n=h(t);let o=n.get(e);if(o===undefined){const t=e.localName===\"slot\";if(t){const{visibility:t,display:n}=getComputedStyle(e);o=t!==\"hidden\"&&n!==\"none\"}else{const t=e.getClientRects().length===0;if(t){o=!t}else{const{visibility:t}=getComputedStyle(e);o=t!==\"hidden\"}}n.set(e,o)}return o}function p(e,t){const n=m(e).reverse();for(const e of n){if(e.nodeType===Node.ELEMENT_NODE){if(!w(e,t)){return false}}}return true}function m(e){const t=[];let n=e;while(n!==null){t.push(n);if(n instanceof ShadowRoot){n=n.host}else{n=n.assignedSlot||n.parentNode}}return t}let y=0;const T=new RegExp(\"/lightning/r/\\\\w+/\\\\w+/serviceDocument\");const E=\"$A\";function N(e){let t=true;e=e||{};if(e.which>1){t=false}if(t){t=!(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey)}return t}function v(){y++;return`-${y}`}function L(){if(typeof sessionStorage!==\"undefined\"){try{const e=\"testSessionStorageValues\";sessionStorage.setItem(\"_testSessionStorage\",e);if(e===sessionStorage.getItem(\"_testSessionStorage\")){sessionStorage.removeItem(\"_testSessionStorage\");return true}t.log(\"[UTILS] sessionStorage setters and getters aren't working as expected.\")}catch(e){t.log(\"[UTILS] sessionStorage is disabled for the user.\")}}else{t.log(\"[UTILS] sessionStorage not available.\")}return false}function I(){if(typeof localStorage!==\"undefined\"){try{const e=\"testLocalStorageValues\";localStorage.setItem(\"_testLocalStorage\",e);if(e===localStorage.getItem(\"_testLocalStorage\")){localStorage.removeItem(\"_testLocalStorage\");return true}t.log(\"[UTILS] localStorage setters and getters aren't working as expected.\")}catch(e){t.log(\"[UTILS] localStorage is disabled for the user.\")}}else{t.log(\"[UTILS] localStorage not available.\")}return false}function x(){return!!window.navigator.platform.match(/^Mac/)}function _(){return window.parent!==window.top&&window[E].getContext().getMode()===\"PROD\"}function M(){return window.parent!==window&&window.parent.origin===window.origin}function O(e,t){return e.split(t).filter(e=>e.length>0).length===0}function P(){try{if(_()){return false}return M()&&O(window.parent.location.pathname,T)&&O(window.location.pathname,T)}catch(e){t.log(`Error checking if one.app is iframed within service document context, assuming it is not: ${JSON.stringify(e)}`)}return false}e.findAllTabbableElements=o;e.generateUniqueId=v;e.getFirstTabbableElement=r;e.getLastTabbableElement=s;e.guid=n;e.isLocalStorageEnabled=I;e.isMacPlatform=x;e.isPureLeftClick=N;e.isServiceDocumentContext=P;e.isSessionStorageEnabled=L;e.isTabbable=g;e.queryTabbable=i;e.traverseActiveTreeRecursively=a;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"one-utils","descriptor":"markup://one:utils","n":"one/utils"},{"xs":"P","co":"function() { $A.componentService.addModule('markup://records:notificationBanner', \"records/notificationBanner\",[\"exports\",\"lwc\",\"lightning/icon\",\"lightning/formattedText\",\"lightning/button\",\"lightning/formattedUrl\",\"lightning/buttonIcon\",\"lightning/utils\"],function(e,t,s,a,i,n,l,r){function o(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var h=o(s);var d=o(a);var c=o(i);var u=o(n);var g=o(l);const m=t.parseFragment`<span class=\"slds-assistive-text${0}\"${2}>Press &#x27;c&#x27; to jump to this message<\/span>`;const f={classMap:{\"slds-notify\":true,\"slds-notify_alert\":true,\"slds-theme_alert-texture\":true,\"slds-theme_warning\":true,\"slds-p-vertical_xxx-small\":true},attrs:{role:\"alert\",tabindex:\"0\"},key:0};const b={classMap:{\"slds-m-right_x-small\":true},props:{iconName:\"utility:warning\",variant:\"warning\",size:\"x-small\"},key:1};const p={key:2};const y={classMap:{\"slds-notify__close\":true},key:8};const v={iconName:\"utility:close\",variant:\"inverse\",title:\"Dismiss notification\",alternativeText:\"Dismiss notification\",size:\"x-small\"};function w(e,t,s,a){const{c:i,k:n,b:l,i:r,h:o,st:w}=e;const{_m0:_}=a;return[o(\"div\",f,[i(\"lightning-icon\",h.default,b),o(\"h2\",p,r(t.messageList,function(e){return[e.shouldDisplayText?i(\"lightning-formatted-text\",d.default,{props:{value:e.label},key:n(3,e.label)}):null,e.shouldDisplayButton?i(\"lightning-button\",c.default,{props:{variant:\"base\",label:e.label},key:n(4,e.label),on:{click:l(e.callback)}}):null,e.shouldDisplayUrl?i(\"lightning-formatted-url\",u.default,{props:{value:e.value,label:e.label},key:n(5,e.label)}):null]})),w(m(),7),t.shouldShowCloseButton?o(\"div\",y,[i(\"lightning-button-icon\",g.default,{props:v,key:9,on:{click:_||(a._m0=l(t.close))}})]):null])]}var _=t.registerTemplate(w);w.stylesheets=[];w.stylesheetToken=\"lwc-q8i0oo2ur9\";w.legacyStylesheetToken=\"records-notificationBanner_notificationBanner\";t.freezeTemplate(w);const k=\"dismissnotificationbanner\";const T=[\"text\",\"url\",\"action\"];const x=\"keydown\";const D=\"Tab\";const E=\"Escape\";class M{constructor(){this._handlers={tab:{},esc:undefined}}setTabHandlers(e){if(!e){throw new Error(\"You must pass in a root element\")}const t=r.queryFocusable(e);if(t.length>0){const e=t[0];this._handlers.tab.first=L(e,S.bind(this));e.addEventListener(x,this._handlers.tab.first.handler);const s=t[t.length-1];this._handlers.tab.last=L(s,V.bind(this));s.addEventListener(x,this._handlers.tab.last.handler)}}setEscHandler(e,t){if(!e||!t){throw new Error(\"You must pass in an element and a callback\")}this._handlers.esc=L(e,z.bind(this),t);e.addEventListener(x,this._handlers.esc.handler)}clearHandlers(){H(this._handlers);C(this._handlers)}}function L(e,t,s){return{element:e,handler:t,callback:s}}function H(e){if(e.tab&&Object.keys(e.tab).length>0){Object.values(e.tab).forEach(e=>{e.element.removeEventListener(x,e.handler)});e.tab={}}}function C(e){const t=e.esc;if(t){t.element.removeEventListener(x,t.handler);e.esc=undefined}}function S(e){if(e.key===D&&e.shiftKey){e.preventDefault();this._handlers.tab.last.element.focus()}}function V(e){if(e.key===D&&!e.shiftKey){e.preventDefault();this._handlers.tab.first.element.focus()}}function z(e){if(e.key===E){if(typeof this._handlers.esc.callback===\"function\"){this._handlers.esc.callback()}}}class K extends t.LightningElement{constructor(...e){super(...e);this._messageTemplate=void 0;this._messageData=[];this._inView=void 0;this.messageList=[];this.showClose=void 0;this.initialized=false;this.registeredKeydownHandlers=false;this.keyboardShortcuts=void 0}connectedCallback(){this.keyboardShortcuts=new M;this.buildMessageList();this.initialized=true}renderedCallback(){if(this.inView){this.setKeydownHandlers()}}disconnectedCallback(){this.keyboardShortcuts.clearHandlers()}set messageTemplate(e){this._messageTemplate=e;if(this.initialized){this.buildMessageList()}}get messageTemplate(){return this._messageTemplate}set messageData(e){this._messageData=e;if(this.initialized){this.buildMessageList()}}get messageData(){return this._messageData}get bannerMessage(){return this.messageList.reduce((e,t)=>e+t.label,\"\")}get shouldShowCloseButton(){return this.showClose===true||this.showClose===\"true\"}set inView(e){this._inView=e;if(this.initialized&&!this.registeredKeydownHandlers&&e){this.setKeydownHandlers()}}get inView(){return this._inView}buildMessageList(){this.validateMessageTemplate();const e=[];const t=/(\\{[0-9]\\})/;const s=this.messageTemplate.split(t).filter(e=>e.length>0);for(let a=0;a<s.length;a++){let i=s[a];if(t.test(i)){const e=parseInt(i.match(/\\d+/),10);this.validateTemplatePlaceholder(e);i=this.messageData[e];this.validateMessageType(i)}i=this.buildMessage(i);this.consolidateText(e,i)}this.messageList=e}buildMessage(e){return{label:e.label||e,value:e.value,shouldDisplayText:!e.type||e.type===\"text\",shouldDisplayButton:e.type===\"action\",shouldDisplayUrl:e.type===\"url\",callback:e.callback}}consolidateText(e,t){if(e.length>0){const s=e[e.length-1];if(t.shouldDisplayText&&s.shouldDisplayText){e[e.length-1].label+=t.label;return}}e.push(t)}validateMessageTemplate(){if(typeof this.messageTemplate!==\"string\"){throw new Error(\"messageTemplate must be a string\")}}validateTemplatePlaceholder(e){if(this.messageData.length===0||e>=this.messageData.length){throw new Error(\"Invalid number of injected data for this template\")}}validateMessageType(e){if(T.indexOf(e.type)===-1){throw new Error(`Invalid message type: ${e.type}. Valid types are: text, url, action.`)}}setKeydownHandlers(){this.keyboardShortcuts.clearHandlers();this.keyboardShortcuts.setEscHandler(this.template,this.close.bind(this));this.keyboardShortcuts.setTabHandlers(this.template);this.registeredKeydownHandlers=true}close(){this.dispatchEvent(new CustomEvent(k,{bubbles:true,composed:true,cancelable:true}))}}t.registerDecorators(K,{publicProps:{showClose:{config:0},messageTemplate:{config:3},messageData:{config:3},inView:{config:3}},publicMethods:[\"close\"],track:{messageList:1},fields:[\"_messageTemplate\",\"_messageData\",\"_inView\",\"initialized\",\"registeredKeydownHandlers\",\"keyboardShortcuts\"]});var B=t.registerComponent(K,{tmpl:_,sel:\"records-notification-banner\",apiVersion:59});e.default=B;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"records-notification-banner","descriptor":"markup://records:notificationBanner","n":"records/notificationBanner","ad":[["showClose",null,"G",false],["messageTemplate",null,"G",false],["messageData",null,"G",false],["inView",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://search_lightning:objectInfos', \"search_lightning/objectInfos\",[\"exports\",\"lwc\",\"lightning/uiObjectInfoApi\",\"search_lightning/util\"],function(e,t,i,s){var n=void 0;class o extends t.LightningElement{constructor(...e){super(...e);this.objectApiNames=[]}getObjectInfosWired({data:e}){if(e&&e.results){const t=e.results.map(({result:e})=>e);this.dispatchEvent(new CustomEvent(\"objectinfos\",{bubbles:false,composed:false,detail:{objectInfos:s.uiApi.addAllSearchMetaDataField(t)}}))}}}t.registerDecorators(o,{publicProps:{objectApiNames:{config:0}},wire:{getObjectInfosWired:{adapter:i.getObjectInfos,dynamic:[\"objectApiNames\"],method:1,config:function(e){return{objectApiNames:e.objectApiNames}}}}});var c=t.registerComponent(o,{tmpl:n,sel:\"search_lightning-object-infos\",apiVersion:59});e.default=c;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"search_lightning-object-infos","descriptor":"markup://search_lightning:objectInfos","n":"search_lightning/objectInfos","ad":[["objectApiNames",null,"G",false,[]]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://force:formFooterSaveOptions', \"force/formFooterSaveOptions\",[\"exports\",\"lwc\",\"lightning/input\",\"force/recordUiUtils\",\"@salesforce/client/formFactor\"],function(e,t,i,a,n){function l(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var o=l(i);var s=l(n);function r(e,t,i){var a=e?\"[\"+e+\"]\":\"\";return\".line-clamp\"+a+\" {display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;}.mobile-save-option-container\"+a+\" li\"+a+\" {text-align: left;}\"}var p=[r];const u={\"line-clamp\":true};function c(e,t,i,a){const{k:n,h:l,b:s,c:r,i:p,f:c}=e;const{_m0:d,_m1:m}=a;return[l(\"ul\",{className:t.containerClasses,key:0},c([p(t.visibleOptions,function(e,i,p,c){const m={value:e,index:i,first:p,last:c};return!t.isFlexipageOptionType?l(\"li\",{key:n(1,m.value.soapHeaderName)},[!m.first?l(\"div\",{className:t.listItemPaddingClass,key:2}):null,r(\"lightning-input\",o.default,{classMap:u,attrs:{\"data-option-name\":m.value.soapHeaderName},props:{type:\"checkbox\",label:m.value.label,name:m.value.name,checked:m.value.value,title:m.value.label},key:3,on:{change:d||(a._m0=s(t.handleRecordLayoutOptionChanged))}})]):null}),p(t.visibleOptions,function(e,i,p,c){const d={value:e,index:i,first:p,last:c};return t.isFlexipageOptionType?l(\"li\",{key:n(4,d.value.value.name)},[!d.first?l(\"div\",{className:t.listItemPaddingClass,key:5}):null,r(\"lightning-input\",o.default,{classMap:u,attrs:{\"data-option-name\":d.value.value.name},props:{type:\"checkbox\",label:d.value.config.labels.runtimeLabel,name:d.value.value.name,checked:d.value.uiModel.defaultValue,title:d.value.config.labels.runtimeLabel},key:6,on:{change:m||(a._m1=s(t.handleFlexipageOptionChanged))}})]):null})]))]}var d=t.registerTemplate(c);c.stylesheets=[];if(p){c.stylesheets.push.apply(c.stylesheets,p)}c.stylesheetToken=\"lwc-2ehtgem3chr\";c.legacyStylesheetToken=\"force-formFooterSaveOptions_formFooterSaveOptions\";t.freezeTemplate(c);class m extends t.LightningElement{constructor(...e){super(...e);this.options=[];this.optionType=void 0}get isFlexipageOptionType(){return this.optionType===a.RecordUiConstants.SAVE_OPTION_TYPE.FLEXIPAGE}get containerClasses(){return this.isMobile?\"mobile-save-option-container slds-theme_shade slds-p-around_x-small\":\"desktop-save-option-container\"}get listItemPaddingClass(){return this.isMobile?\"\":\"slds-p-top_x-small\"}get isMobile(){return s.default===\"Small\"||s.default===\"Medium\"}get visibleOptions(){if(this.options){const e=this.isFlexipageOptionType;return this.options.filter(t=>{if(e){return t?.uiModel?.visible}return t?.isVisible})}return[]}handleRecordLayoutOptionChanged(e){if(e&&e.detail&&e.target&&e.target.dataset&&e.target.dataset.optionName){const t=new CustomEvent(a.RecordUiConstants.RECORD_SAVE_OPTION_VALUE_CHANGE,{bubbles:true,cancelable:true,composed:true,detail:{optionName:e.target.dataset.optionName,value:e.detail.checked}});this.dispatchEvent(t)}}handleFlexipageOptionChanged(e){if(e&&e.detail){const t=this.options&&this.options.find(t=>t.value.name===e.target.dataset.optionName);if(t){this.dispatchEvent(new CustomEvent(a.RecordUiConstants.RECORD_FLEXIPAGE_SAVE_OPTION_VALUE_CHANGE,{bubbles:true,cancelable:true,composed:true,detail:{option:t,value:e.detail.checked}}))}}}}t.registerDecorators(m,{publicProps:{options:{config:0},optionType:{config:0}}});var f=t.registerComponent(m,{tmpl:d,sel:\"force-form-footer-save-options\",apiVersion:59});e.default=f;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"force-form-footer-save-options","descriptor":"markup://force:formFooterSaveOptions","n":"force/formFooterSaveOptions","ad":[["options",null,"G",false,[]],["optionType",null,"G",false]]},{"xs":"P","co":"function() { $A.componentService.addModule('markup://navex:quickActionModalContent', \"navex/quickActionModalContent\",[\"exports\",\"lwc\",\"navex/auraPanelContent\",\"navex/stackedNavigationLib\",\"force/recordUiUtils\"],function(e,t,n,r,i){function o(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var a=o(n);function s(e,t,n,r){const{gid:i,b:o,c:s}=e;const{_m0:l,_m1:c}=r;return[s(\"navex-aura-panel-content\",a.default,{props:{id:i(t.id),pageHostAttributes:t.pageHostAttributes,panelOptions:t.panelOptions},key:0,on:{aurapanelcreated:l||(r._m0=o(t.onContentCreated)),aurapaneldestroyed:c||(r._m1=o(t.onContentDestroyed))}})]}var l=t.registerTemplate(s);s.stylesheets=[];s.stylesheetToken=\"lwc-4q9eifj8bca\";s.legacyStylesheetToken=\"navex-quickActionModalContent_quickActionModalContent\";t.freezeTemplate(s);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function p(e,t,n){t=d(t);if(t in e){Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true})}else{e[t]=n}return e}function d(e){var t=f(e,\"string\");return typeof t===\"symbol\"?t:String(t)}function f(e,t){if(typeof e!==\"object\"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var r=n.call(e,t||\"default\");if(typeof r!==\"object\")return r;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(t===\"string\"?String:Number)(e)}class g extends t.LightningElement{constructor(...e){super(...e);this.id=void 0;this.modalDensity=void 0;this.addressability=void 0;this.pageHostAttributes={extraClasses:\"isModal\",shouldPropagateTitle:true,page:this.page};this.panelOptions=void 0;this._page=void 0;this.isPanelCreated=void 0}connectedCallback(){const e=this.modalDensity===i.RecordUiConstants.DENSITY_SETTINGS.COZY?\"horizontalForm\":\"medium\";this.panelOptions={visible:true,closeOnLocationChange:false,panelConfig:{closeOnClickOut:false,flavor:[e,\"recordActionWrapper\"].join(\",\"),showCloseButton:true}}}set page(e){this._page=e;this.pageHostAttributes=u(u({},this.pageHostAttributes),{},{shouldPropagateTitle:this.addressability,page:e})}get page(){return this._page}onContentCreated(){this.isPanelCreated=true}onContentDestroyed(){this.isPanelCreated=undefined;this.dispatchEvent(new r.StackedContentDestroyedEvent)}}t.registerDecorators(g,{publicProps:{id:{config:0},modalDensity:{config:0},addressability:{config:0},page:{config:3}},track:{pageHostAttributes:1,_page:1},fields:[\"panelOptions\",\"isPanelCreated\"]});var b=t.registerComponent(g,{tmpl:l,sel:\"navex-quick-action-modal-content\",apiVersion:59});e.default=b;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"navex-quick-action-modal-content","descriptor":"markup://navex:quickActionModalContent","n":"navex/quickActionModalContent","ad":[["id",null,"G",false],["modalDensity",null,"G",false],["addressability",null,"G",false],["page",null,"G",false]]},{"xs":"P","co":"function() { $A.componentService.addModule('markup://navex:recordActionModalContent', \"navex/recordActionModalContent\",[\"exports\",\"lwc\",\"navex/auraPanelContent\",\"navex/stackedNavigationLib\",\"force/recordUiUtils\"],function(e,t,r,n,o){function i(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var a=i(r);function s(e,t,r,n){const{gid:o,b:i,c:s}=e;const{_m0:l,_m1:c}=n;return[s(\"navex-aura-panel-content\",a.default,{props:{id:o(t.id),pageHostAttributes:t.pageHostAttributes,panelOptions:t.panelOptions},key:0,on:{aurapanelcreated:l||(n._m0=i(t.onContentCreated)),aurapaneldestroyed:c||(n._m1=i(t.onContentDestroyed))}})]}var l=t.registerTemplate(s);s.stylesheets=[];s.stylesheetToken=\"lwc-1h8dmugl87v\";s.legacyStylesheetToken=\"navex-recordActionModalContent_recordActionModalContent\";t.freezeTemplate(s);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){p(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function p(e,t,r){t=u(t);if(t in e){Object.defineProperty(e,t,{value:r,enumerable:true,configurable:true,writable:true})}else{e[t]=r}return e}function u(e){var t=f(e,\"string\");return typeof t===\"symbol\"?t:String(t)}function f(e,t){if(typeof e!==\"object\"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==undefined){var n=r.call(e,t||\"default\");if(typeof n!==\"object\")return n;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(t===\"string\"?String:Number)(e)}class g extends t.LightningElement{constructor(...e){super(...e);this.id=void 0;this.modalDensity=void 0;this.addressability=void 0;this.pageHostAttributes={extraClasses:\"oneRecordActionWrapper isModal\",shouldPropagateTitle:true,page:this.page};this.panelOptions=void 0;this._page=void 0;this.isPanelCreated=void 0}connectedCallback(){const e=this.modalDensity===o.RecordUiConstants.DENSITY_SETTINGS.COZY?\"horizontalForm\":\"medium\";const t=this.page.attributes.actionName===\"recordShare\";let r=[e,\"recordActionWrapper\"].join(\",\");let n=\"\";if(t){r=\"recordShareModal\";n=\"uiModal--large\"}this.panelOptions={visible:true,closeOnLocationChange:false,panelConfig:{closeOnClickOut:false,flavor:r,showCloseButton:true,modalClass:n}}}set page(e){this._page=e;this.pageHostAttributes=d(d({},this.pageHostAttributes),{},{shouldPropagateTitle:this.addressability,page:e})}get page(){return this._page}onContentCreated(){this.isPanelCreated=true}onContentDestroyed(){this.isPanelCreated=undefined;this.dispatchEvent(new n.StackedContentDestroyedEvent)}}t.registerDecorators(g,{publicProps:{id:{config:0},modalDensity:{config:0},addressability:{config:0},page:{config:3}},track:{pageHostAttributes:1,_page:1},fields:[\"panelOptions\",\"isPanelCreated\"]});var b=t.registerComponent(g,{tmpl:l,sel:\"navex-record-action-modal-content\",apiVersion:59});e.default=b;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"navex-record-action-modal-content","descriptor":"markup://navex:recordActionModalContent","n":"navex/recordActionModalContent","ad":[["id",null,"G",false],["modalDensity",null,"G",false],["addressability",null,"G",false],["page",null,"G",false]]},{"xs":"P","co":"function() { $A.componentService.addModule('markup://runtime_platform_notifications:store', \"runtime_platform_notifications/store\",[\"exports\"],function(e){let t=[];function n(){return t}function r(e){if(!Array.isArray(e)){throw new Error(\"Attempting to replace store notifications with non-array.\")}t=h(e)}function i(){t=[]}function a(e){if(e.lastModifiedDate===undefined||e.lastModifiedDate===null){e.lastModifiedDate=new Date(e.lastModified)}t.unshift(e);t=D(h(t))}function o(e){let t=e.lastModifiedDate;if(!t){t=new Date(e.lastModified)}if(e.type===\"task_reminder\"||e.type===\"event_reminder\"){try{const n=JSON.parse(e.additionalData);if(n.reminderDateTime){t=new Date(parseInt(n.reminderDateTime,10))}}catch(e){}}return t}function f(e){if(!Array.isArray(e)){return}const n=e.reduce((e,t)=>{e[t.id]=1;t.lastModifiedDate=new Date(t.lastModified);return e},{});const r=[];t.forEach(e=>{if(!(e.id in n)){r.push(e)}});t=h(r.concat(e))}function u(e){t.forEach(t=>{if(t.id===e){t.read=true;t.seen=true}})}function d(e){t.forEach(t=>{if(t.id===e){t.seen=true}})}function s(e){t.forEach(t=>{if(e.indexOf(t.id)>-1){t.seen=true}})}function l(e,t){t=t||[];g([{property:\"read\",value:true},{property:\"seen\",value:true}],e);E([{property:\"seen\",value:false},{property:\"read\",value:false}],t)}function c(e,t){t=t||[];g([{property:\"seen\",value:true}],e);E([{property:\"seen\",value:false}],t)}function p(){return M(\"seen\",false)}function m(){if(t.length>0){return t[0].lastModified}return null}function y(){if(t.length>0){return t[t.length-1].lastModified}return null}function h(e){return e.sort((e,t)=>{const n=o(t)-o(e);return n?n:t.id.localeCompare(e.id)})}function D(e){const t={};e=e.filter(e=>{if(e.id in t){return false}t[e.id]=e;return true});return e}function M(e,n){return t.reduce((t,r)=>{if(r[e]===n){t++}return t},0)}function g(e,n){t.forEach(t=>{if(t.lastModified<=n){v(t,e)}})}function v(e,t){t.forEach(t=>{e[t.property]=t.value})}function E(e,n){t.forEach(t=>{if(n.indexOf(t.id)>-1){v(t,e)}})}e.clear=i;e.get=n;e.getOldestDate=y;e.getTimestamp=o;e.getUnseenCount=p;e.getYoungestDate=m;e.insert=a;e.markAllRead=l;e.markAllSeen=c;e.markRead=u;e.markSeen=d;e.markSeenByIds=s;e.set=r;e.upsert=f;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"runtime_platform_notifications-store","descriptor":"markup://runtime_platform_notifications:store","n":"runtime_platform_notifications/store"},{"xs":"P","co":"function() { $A.componentService.addModule('markup://runtime_platform_notifications:notificationsListRow', \"runtime_platform_notifications/notificationsListRow\",[\"exports\",\"lwc\",\"lightning/formattedText\",\"lightning/relativeDateTime\",\"@salesforce/i18n/locale\",\"@salesforce/label/NotificationsClient.unreadNotification\",\"@salesforce/label/NotificationsClient.dateInNetworkNameText\"],function(t,e,a,o,i,n,r){function l(t){return t&&typeof t===\"object\"&&\"default\"in t?t:{default:t}}var s=l(a);var c=l(o);var d=l(i);var f=l(n);var y=l(r);function x(t,e,a){var o=t?\"[\"+t+\"]\":\"\";return\"li\"+o+\" {list-style: none;border-top: solid var(--lwc-borderWidthThin, 1px) var(--lwc-colorBorderSeparatorAlt, var(--dxp-g-neutral, var(--lwc-colorBorderSeparatorAltFallback)));height: 100%;}li:hover\"+o+\" > a\"+o+\" {text-decoration: none;}.first-item\"+o+\" {border-top: none;}.notification-unread\"+o+\" {background-color: var(--lwc-colorBackgroundNotificationNew, var(--dxp-c-unread-override, var(--dxp-g-root-1, var(--lwc-colorBackgroundNotificationNewFallback))));}.notification-unread:hover\"+o+\" {background-color: var(--lwc-colorBackgroundRowHover, var(--dxp-c-unread-override, var(--dxp-g-root-1, var(--lwc-colorBackgroundRowHoverFallback))));}.notification-read\"+o+\" {background-color: var(--lwc-colorBackgroundAlt, var(--dxp-g-root, var(--lwc-colorBackgroundAltFallback)));}.notification-read:hover\"+o+\" {background-color: var(--lwc-colorBackgroundRowHover, var(--dxp-c-read-hover-override ,var(--dxp-g-root-1, var(--lwc-colorBackgroundRowHoverFallback)))) !important;}.notification-link\"+o+\" {display: block;padding: var(--lwc-spacingSmall, var(--lwc-spacingSmallFallback)) var(--lwc-spacingSmall, var(--lwc-spacingSmallFallback)) var(--lwc-spacingMedium, var(--lwc-spacingMediumFallback)) var(--lwc-spacingSmall, var(--lwc-spacingSmallFallback));}.notification-avatar\"+o+\" {margin-right: var(--lwc-spacingSmall, var(--lwc-spacingSmallFallback));float: left;}.notification-icon\"+o+\" {width: 30px;height: 30px;border-radius: var(--lwc-borderRadiusMedium, var(--lwc-borderRadiusMediumFallback));}.notification-content\"+o+\" {overflow: hidden;}.notification-unread\"+o+\" .notification-text-title\"+o+\" {color: var(--dxp-c-title-unread-color-override, var(--dxp-g-root-contrast-1, var(--lwc-colorTextDefault)));}.notification-unread\"+o+\" .notification-text\"+o+\" {color: var(--dxp-c-body-unread-color-override, var(--dxp-g-root-contrast-1, var(--lwc-colorTextDefault)));}.notification-unread\"+o+\" .notification-age\"+o+\" {color: var(--dxp-c-age-unread-color-override, var(--dxp-g-root-contrast-1, var(--lwc-colorTextDefault)));}.notification-read:hover\"+o+\" .notification-text-title\"+o+\" {color: var(--dxp-c-title-hover-color-override, var(--dxp-g-root-contrast-1, var(--lwc-colorTextDefault))) !important;}.notification-read:hover\"+o+\" .notification-text\"+o+\" {color: var(--dxp-c-body-hover-color-override, var(--dxp-g-root-contrast-1, var(--lwc-colorTextDefault))) !important;}.notification-read:hover\"+o+\" .notification-age\"+o+\" {color: var(--dxp-c-age-hover-color-override, var(--dxp-g-root-contrast-1, var(--lwc-colorTextDefault))) !important;}.notification-text-title\"+o+\" {display: block;color: var(--lwc-colorTextDefault, var(--dxp-g-root-contrast, var(--lwc-colorTextDefaultFallback)));font-family: var(--dxp-s-text-heading-medium-font-family, inherit);font-style: var(--dxp-s-text-heading-medium-font-style, inherit);font-weight: var(--lwc-fontWeightBold, var(--dxp-s-text-heading-medium-font-weight, var(--lwc-fontWeightBoldFallback)));text-decoration: var(--dxp-s-text-heading-medium-text-decoration, inherit);font-size: var(--lwc-fontSizeMedium, var(--lwc-fontSizeMediumFallback));}.notification-text\"+o+\" {display: block;color: var(--lwc-colorTextDefault, var(--dxp-g-root-contrast, var(--lwc-colorTextDefaultFallback)));font-family: var(--dxp-s-text-heading-small-font-family, inherit);font-weight: var(--lwc-fontWeightRegular, var(--dxp-s-text-heading-small-font-weight, var(--lwc-fontWeightRegularFallback)));font-style: var(--dxp-s-text-heading-small-font-style, inherit);text-decoration: var(--dxp-s-text-heading-small-text-decoration, inherit);font-size: var(--lwc-fontSizeMedium, var(--lwc-fontSizeMediumFallback));margin: 0 0 var(--lwc-spacingMedium, var(--lwc-spacingMediumFallback)) 0;word-wrap: break-word;white-space: pre-line;}.notification-age\"+o+\" {color: var(--lwc-colorTextWeak, var(--dxp-g-root-contrast, var(--lwc-colorTextWeakFallback)));font-family: var(--dxp-s-text-heading-small-font-family, inherit);font-weight: var(--dxp-s-text-heading-small-font-weight, inherit);font-style: var(--dxp-s-text-heading-small-font-style, inherit);text-decoration: var(--dxp-s-text-heading-small-text-decoration, inherit);font-size: var(--lwc-fontSizeSmall, var(--lwc-fontSizeSmallFallback));}.notification-content-hidden\"+o+\" {display: none;}.assistive-unread-mark\"+o+\" {color: var(--lwc-colorTextWeak, var(--lwc-colorTextWeakFallback));margin-left: var(--lwc-spacingXxSmall, var(--lwc-spacingXxSmallFallback));}.assistiveText\"+o+\" {position: absolute;clip: rect(0, 0, 0, 0);width: 1px;height: 1px;margin: -1px;padding: 0;border: 0;overflow: hidden;}\"}var g=[x];const h=e.parseFragment`<span class=\"assistive-unread-mark${0}\" aria-hidden=\"true\"${2}>●<\/span>`;const p={role:\"presentation\"};const m={\"notification-link\":true};const v={href:\"javascript:void(0)\"};const u={classMap:{\"notification-content\":true},key:2};const b={classMap:{\"notification-avatar\":true},key:3};const w={\"notification-icon\":true};const k={classMap:{\"notification-content\":true},key:5};const T={\"notification-text-title\":true};const D={\"notification-text\":true};const S={\"notification-age\":true};const _={classMap:{assistiveText:true},key:16};function F(t,e,a,o){const{b:i,h:n,c:r,st:l,d:d,t:f}=t;const{_m0:y}=o;return[n(\"li\",{className:e.listItemClass,attrs:p,key:0},[n(\"a\",{classMap:m,attrs:v,key:1,on:{click:y||(o._m0=i(e.handleOnClick))}},[n(\"div\",u,[n(\"div\",b,[n(\"img\",{classMap:w,attrs:{src:e._notification.image,alt:\"\"},key:4})]),n(\"div\",k,[e.hasTitleOrBody?e.hasTitle?r(\"lightning-formatted-text\",s.default,{classMap:T,props:{value:e._notification.messageTitle},key:6}):null:null,e.hasTitleOrBody?r(\"lightning-formatted-text\",s.default,{classMap:D,props:{value:e._notification.messageBody},key:7}):null,!e.hasTitleOrBody?r(\"lightning-formatted-text\",s.default,{classMap:D,props:{value:e._notification.message},key:8}):null,n(\"span\",{attrs:{title:e.fullDateTimeText},key:9},[e.shouldDisplayFullDate?r(\"lightning-formatted-text\",s.default,{classMap:S,props:{value:e.date},key:10}):null,!e.shouldDisplayFullDate?r(\"lightning-relative-date-time\",c.default,{classMap:S,props:{value:e.date},key:11}):null,e.hasNetworkText?r(\"lightning-formatted-text\",s.default,{classMap:S,props:{value:e.optionalNetworkText},key:12}):null,n(\"span\",{className:e.hasBeenReadClass,key:13},[l(h(),15),n(\"span\",_,[f(d(e.labels.UNREAD_NOTIFICATION))])])])])])])])]}var C=e.registerTemplate(F);F.stylesheets=[];if(g){F.stylesheets.push.apply(F.stylesheets,g)}F.stylesheetToken=\"lwc-79mb5bn2ncc\";F.legacyStylesheetToken=\"runtime_platform_notifications-notificationsListRow_notificationsListRow\";e.freezeTemplate(F);function N(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),a.push.apply(a,o)}return a}function B(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?N(Object(a),!0).forEach(function(e){O(t,e,a[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):N(Object(a)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))})}return t}function O(t,e,a){e=W(e);if(e in t){Object.defineProperty(t,e,{value:a,enumerable:true,configurable:true,writable:true})}else{t[e]=a}return t}function W(t){var e=M(t,\"string\");return typeof e===\"symbol\"?e:String(e)}function M(t,e){if(typeof t!==\"object\"||t===null)return t;var a=t[Symbol.toPrimitive];if(a!==undefined){var o=a.call(t,e||\"default\");if(typeof o!==\"object\")return o;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(e===\"string\"?String:Number)(t)}class P extends e.LightningElement{constructor(...t){super(...t);this._notification={};this.relativeDateDurationHours=24;this.date=\"\";this.fullDateTimeText=\"\";this._optionalNetworkText=\"\";this.index=void 0;this._customStyles=void 0}get customStyles(){return this._customStyles}set customStyles(t){this._customStyles=t}renderedCallback(){const t=this._customStyles;if(t){this.handleReadAndTitleCustomStyles(t);this.handleBodyCustomStyles(t);this.handleDateTimeCustomStyles(t)}}connectedCallback(){this.setDateAndOptionalNetworkText()}get notification(){return this._notification}set notification(t){this._notification=t}get labels(){return{UNREAD_NOTIFICATION:f.default,DATE_IN_NETWORK_NAME_TEXT:y.default}}get optionalNetworkText(){return this._optionalNetworkText}get hasNetworkText(){return this._notification.communityName!==null&&this._notification.communityName!==undefined}get shouldDisplayFullDate(){return typeof this.date===\"string\"}get hasTitleOrBody(){return this.hasTitle||this.hasBody}get hasTitle(){return this._notification.messageTitle!==undefined&&this._notification.messageTitle!==null&&this._notification.messageTitle!==\"\"}get hasBody(){return this._notification.messageBody!==undefined&&this._notification.messageBody!==null&&this._notification.messageBody!==\"\"}get hasBeenReadClass(){return this._notification.read?\"notification-content-hidden\":\"\"}get listItemClass(){return\"notification-row \"+(this._notification.read?\"notification-read\":\"notification-unread\")+(this.index===0?\" first-item\":\"\")}handleOnClick(){const t=new CustomEvent(\"notification_event\",{detail:{action:\"notification_click\",payload:this._notification},bubbles:true,composed:true});this.dispatchEvent(t);this._notification=B(B({},this._notification),{},{read:true,seen:true})}setDateAndOptionalNetworkText(){const t=this.getTimestamp();this.date=this.getRelativeTime(t);if(this.hasNetworkText){this._optionalNetworkText=this.labels.DATE_IN_NETWORK_NAME_TEXT.replace(\"{1}\",this._notification.communityName).replace(\"{0}\",\"\")}}getTimestamp(){let t=this._notification.lastModified;if(this._notification.type===\"task_reminder\"||this._notification.type===\"event_reminder\"){try{const e=JSON.parse(this._notification.additionalData);if(e.reminderDateTime){t=parseInt(e.reminderDateTime,10)}}catch(t){}}return t}getRelativeTime(t){if(t===null||t===undefined){return\"\"}const e=1e3*60*60;const a=new Date(t);const o=Math.floor(Math.abs((a.getTime()-Date.now())/e));const i={month:\"short\",day:\"numeric\",year:\"numeric\",hour:\"numeric\",minute:\"numeric\"};const n=new Intl.DateTimeFormat(d.default,i).format(a);this.fullDateTimeText=n;if(o>=this.relativeDateDurationHours){return n}return a}handleReadAndTitleCustomStyles(t){const e=this.template.querySelector(\"li\");const a=this.template.querySelector(\".notification-unread\");if(a){if(t.notificationUnreadColor){e.style.setProperty(\"--dxp-c-unread-override\",t.notificationUnreadColor)}if(t.notificationTitleUnreadColor){e.style.setProperty(\"--dxp-c-title-unread-color-override\",t.notificationTitleUnreadColor)}if(t.notificationBodyUnreadColor){e.style.setProperty(\"--dxp-c-body-unread-color-override\",t.notificationBodyUnreadColor)}if(t.notificationDateTimeUnreadColor){e.style.setProperty(\"--dxp-c-age-unread-color-override\",t.notificationDateTimeUnreadColor)}}const o=this.template.querySelector(\".notification-read\");if(o){if(t.trayBodyColor){o.style.backgroundColor=t.trayBodyColor}const a=t.notificationHoverColor;if(a){e.style.setProperty(\"--dxp-c-read-hover-override\",a)}if(t.notificationTitleHoverColor){e.style.setProperty(\"--dxp-c-title-hover-color-override\",t.notificationTitleHoverColor)}if(t.notificationBodyHoverColor){e.style.setProperty(\"--dxp-c-body-hover-color-override\",t.notificationBodyHoverColor)}if(t.notificationDateTimeHoverColor){e.style.setProperty(\"--dxp-c-age-hover-color-override\",t.notificationDateTimeHoverColor)}}const i=this.template.querySelector(\".notification-text-title\");if(i){if(t.notificationTitleColor){i.style.color=t.notificationTitleColor}if(t.notificationTitleTextStyle){switch(t.notificationTitleTextStyle){case\"none\":i.style.fontFamily=\"inherit\";i.style.fontStyle=\"inherit\";i.style.fontWeight=\"var(--lwc-fontWeightBoldFallback)\";i.style.textDecoration=\"inherit\";break;case\"Heading1\":i.style.fontFamily=\"var(--dxp-s-text-heading-extra-large-font-family)\";i.style.fontStyle=\"var(--dxp-s-text-heading-extra-large-font-style)\";i.style.fontWeight=\"var(--dxp-s-text-heading-extra-large-font-weight)\";i.style.textDecoration=\"var(--dxp-s-text-heading-extra-large-text-decoration)\";break;case\"Heading2\":i.style.fontFamily=\"var(--dxp-s-text-heading-large-font-family)\";i.style.fontStyle=\"var(--dxp-s-text-heading-large-font-style)\";i.style.fontWeight=\"var(--dxp-s-text-heading-large-font-weight)\";i.style.textDecoration=\"var(--dxp-s-text-heading-large-text-decoration)\";break;case\"Heading3\":i.style.fontFamily=\"var(--dxp-s-text-heading-medium-font-family)\";i.style.fontStyle=\"var(--dxp-s-text-heading-medium-font-style)\";i.style.fontWeight=\"var(--dxp-s-text-heading-medium-font-weight)\";i.style.textDecoration=\"var(--dxp-s-text-heading-medium-text-decoration)\";break;case\"Heading4\":i.style.fontFamily=\"var(--dxp-s-text-heading-small-font-family)\";i.style.fontStyle=\"var(--dxp-s-text-heading-small-font-style)\";i.style.fontWeight=\"var(--dxp-s-text-heading-small-font-weight)\";i.style.textDecoration=\"var(--dxp-s-text-heading-small-text-decoration)\";break;case\"Paragraph1\":i.style.fontFamily=\"var(--dxp-s-body-font-family)\";i.style.fontStyle=\"var(--dxp-s-body-font-style)\";i.style.fontWeight=\"var(--dxp-s-body-font-weight)\";i.style.textDecoration=\"var(--dxp-s-body-text-decoration)\";break;case\"Paragraph2\":i.style.fontFamily=\"var(--dxp-s-body-small-font-family)\";i.style.fontStyle=\"var(--dxp-s-body-small-font-style)\";i.style.fontWeight=\"var(--dxp-s-body-small-font-weight)\";i.style.textDecoration=\"var(--dxp-s-body-small-text-decoration)\";break}}}}handleBodyCustomStyles(t){const e=this.template.querySelector(\".notification-text\");if(e){if(t.notificationBodyColor){e.style.color=t.notificationBodyColor}if(t.notificationBodyTextStyle){switch(t.notificationBodyTextStyle){case\"none\":e.style.fontFamily=\"inherit\";e.style.fontStyle=\"inherit\";e.style.fontWeight=\"var(--lwc-fontWeightRegularFallback)\";e.style.textDecoration=\"inherit\";break;case\"Heading1\":e.style.fontFamily=\"var(--dxp-s-text-heading-extra-large-font-family)\";e.style.fontStyle=\"var(--dxp-s-text-heading-extra-large-font-style)\";e.style.fontWeight=\"var(--dxp-s-text-heading-extra-large-font-weight)\";e.style.textDecoration=\"var(--dxp-s-text-heading-extra-large-text-decoration)\";break;case\"Heading2\":e.style.fontFamily=\"var(--dxp-s-text-heading-large-font-family)\";e.style.fontStyle=\"var(--dxp-s-text-heading-large-font-style)\";e.style.fontWeight=\"var(--dxp-s-text-heading-large-font-weight)\";e.style.textDecoration=\"var(--dxp-s-text-heading-large-text-decoration)\";break;case\"Heading3\":e.style.fontFamily=\"var(--dxp-s-text-heading-medium-font-family)\";e.style.fontStyle=\"var(--dxp-s-text-heading-medium-font-style)\";e.style.fontWeight=\"var(--dxp-s-text-heading-medium-font-weight)\";e.style.textDecoration=\"var(--dxp-s-text-heading-medium-text-decoration)\";break;case\"Heading4\":e.style.fontFamily=\"var(--dxp-s-text-heading-small-font-family)\";e.style.fontStyle=\"var(--dxp-s-text-heading-small-font-style)\";e.style.fontWeight=\"var(--dxp-s-text-heading-small-font-weight)\";e.style.textDecoration=\"var(--dxp-s-text-heading-small-text-decoration)\";break;case\"Paragraph1\":e.style.fontFamily=\"var(--dxp-s-body-font-family)\";e.style.fontStyle=\"var(--dxp-s-body-font-style)\";e.style.fontWeight=\"var(--dxp-s-body-font-weight)\";e.style.textDecoration=\"var(--dxp-s-body-text-decoration)\";break;case\"Paragraph2\":e.style.fontFamily=\"var(--dxp-s-body-small-font-family)\";e.style.fontStyle=\"var(--dxp-s-body-small-font-style)\";e.style.fontWeight=\"var(--dxp-s-body-small-font-weight)\";e.style.textDecoration=\"var(--dxp-s-body-small-text-decoration)\";break}}}}handleDateTimeCustomStyles(t){const e=this.template.querySelector(\".notification-age\");if(e){if(t.notificationDateTimeColor){e.style.color=t.notificationDateTimeColor}if(t.notificationDateTimeTextStyle){switch(t.notificationDateTimeTextStyle){case\"none\":e.style.fontFamily=\"inherit\";e.style.fontStyle=\"inherit\";e.style.fontWeight=\"inherit\";e.style.textDecoration=\"inherit\";break;case\"Heading1\":e.style.fontFamily=\"var(--dxp-s-text-heading-extra-large-font-family)\";e.style.fontStyle=\"var(--dxp-s-text-heading-extra-large-font-style)\";e.style.fontWeight=\"var(--dxp-s-text-heading-extra-large-font-weight)\";e.style.textDecoration=\"var(--dxp-s-text-heading-extra-large-text-decoration)\";break;case\"Heading2\":e.style.fontFamily=\"var(--dxp-s-text-heading-large-font-family)\";e.style.fontStyle=\"var(--dxp-s-text-heading-large-font-style)\";e.style.fontWeight=\"var(--dxp-s-text-heading-large-font-weight)\";e.style.textDecoration=\"var(--dxp-s-text-heading-large-text-decoration)\";break;case\"Heading3\":e.style.fontFamily=\"var(--dxp-s-text-heading-medium-font-family)\";e.style.fontStyle=\"var(--dxp-s-text-heading-medium-font-style)\";e.style.fontWeight=\"var(--dxp-s-text-heading-medium-font-weight)\";e.style.textDecoration=\"var(--dxp-s-text-heading-medium-text-decoration)\";break;case\"Heading4\":e.style.fontFamily=\"var(--dxp-s-text-heading-small-font-family)\";e.style.fontStyle=\"var(--dxp-s-text-heading-small-font-style)\";e.style.fontWeight=\"var(--dxp-s-text-heading-small-font-weight)\";e.style.textDecoration=\"var(--dxp-s-text-heading-small-text-decoration)\";break;case\"Paragraph1\":e.style.fontFamily=\"var(--dxp-s-body-font-family)\";e.style.fontStyle=\"var(--dxp-s-body-font-style)\";e.style.fontWeight=\"var(--dxp-s-body-font-weight)\";e.style.textDecoration=\"var(--dxp-s-body-text-decoration)\";break;case\"Paragraph2\":e.style.fontFamily=\"var(--dxp-s-body-small-font-family)\";e.style.fontStyle=\"var(--dxp-s-body-small-font-style)\";e.style.fontWeight=\"var(--dxp-s-body-small-font-weight)\";e.style.textDecoration=\"var(--dxp-s-body-small-text-decoration)\";break}}}}}e.registerDecorators(P,{publicProps:{relativeDateDurationHours:{config:0},index:{config:0},customStyles:{config:3},notification:{config:3}},fields:[\"_notification\",\"date\",\"fullDateTimeText\",\"_optionalNetworkText\",\"_customStyles\"]});var H=e.registerComponent(P,{tmpl:C,sel:\"runtime_platform_notifications-notifications-list-row\",apiVersion:59});t.default=H;Object.defineProperty(t,\"__esModule\",{value:true})});\n}","ce":"runtime_platform_notifications-notifications-list-row","descriptor":"markup://runtime_platform_notifications:notificationsListRow","n":"runtime_platform_notifications/notificationsListRow","ad":[["relativeDateDurationHours",null,"G",false,24],["index",null,"G",false],["customStyles",null,"G",false],["notification",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://search_results:searchMoreBox', \"search_results/searchMoreBox\",[\"exports\",\"lwc\",\"@salesforce/label/LightningSearchUI.TopResultsSearchMoreTitle\",\"@salesforce/label/LightningSearchUI.TopResultsSearchMoreNotEverythingWasSearchedHint\",\"@salesforce/label/LightningSearchUI.TopResultsSearchMoreScopeSearchHint\"],function(e,s,t,r,a){function o(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var l=o(t);var c=o(r);var n=o(a);const i=s.parseFragment`<img src=\"/projRes/ui-search-components/images/forceSearch/searchMoreBox/einstein-w-goggles.svg\" class=\"search-more-illustration slds-float_left slds-m-right_large${0}\" alt=\"\"${2}>`;const h={classMap:{\"slds-box\":true,\"slds-theme_default\":true,\"slds-clearfix\":true,forceSearchSearchAll:true},key:0};const u={classMap:{\"slds-m-top_x-large\":true},key:3};const p={classMap:{\"slds-text-heading_medium\":true,\"slds-m-bottom--x-small\":true},key:4};const d={key:5};const g={classMap:{\"slds-m-top_x-small\":true},key:6};function S(e,s,t,r){const{st:a,d:o,t:l,h:c}=e;return[c(\"section\",h,[a(i(),2),c(\"div\",u,[c(\"h2\",p,[l(o(s.i18n.topResultsSearchMoreTitle))]),c(\"p\",d,[l(o(s.i18n.topResultsSearchMoreNotEverythingWasSearchedHint))]),c(\"p\",g,[l(o(s.i18n.topResultsSearchMoreScopeSearchHint))])])])]}var f=s.registerTemplate(S);S.stylesheets=[];S.stylesheetToken=\"lwc-1723c3ar449\";S.legacyStylesheetToken=\"search_results-searchMoreBox_searchMoreBox\";s.freezeTemplate(S);class m extends s.LightningElement{constructor(...e){super(...e);this.i18n={topResultsSearchMoreTitle:l.default,topResultsSearchMoreNotEverythingWasSearchedHint:c.default,topResultsSearchMoreScopeSearchHint:n.default}}}s.registerDecorators(m,{fields:[\"i18n\"]});var M=s.registerComponent(m,{tmpl:f,sel:\"search_results-search-more-box\",apiVersion:59});e.default=M;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"search_results-search-more-box","descriptor":"markup://search_results:searchMoreBox","n":"search_results/searchMoreBox"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://feeds_chat:common', \"feeds_chat/common\",[\"exports\"],function(t){const e=t=>function e(...r){if(r.length>=t.length){return t.apply(this,r)}return(...t)=>e.apply(this,r.concat(t))};function r(t,e){return function r(){try{return t.apply(this,arguments)}catch(t){return e?.apply(this,[t].concat(arguments))}}}function n(t){return typeof t===\"function\"}const o=t=>n(t)?t():t;const i=e((t,e,r)=>o(t)?o(e):o(r));const c=e((t,e)=>i(t,e,null));function u(t){return typeof t===\"string\"||!!t}function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function a(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?s(Object(r),!0).forEach(function(e){f(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function f(t,e,r){e=l(e);if(e in t){Object.defineProperty(t,e,{value:r,enumerable:true,configurable:true,writable:true})}else{t[e]=r}return t}function l(t){var e=p(t,\"string\");return typeof e===\"symbol\"?e:String(e)}function p(t,e){if(typeof t!==\"object\"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==undefined){var n=r.call(t,e||\"default\");if(typeof n!==\"object\")return n;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(e===\"string\"?String:Number)(t)}const y=t=>!b(t);function b(t){if(Array.isArray(t)){return t.length===0}const e=typeof t;switch(e){case\"string\":return t===\"\";case\"boolean\":case\"number\":case\"function\":return false;case\"object\":return Object.keys(t??{}).length===0;default:return t==null}}const m=(t,e,r)=>{const n=a({},t);Object.keys(e).filter(t=>!n[t]||!e[t](n[t])).map(t=>n[t]=r[t]);return n};const g=e((t,e)=>{if(b(e)){return t}const r=e.split(\".\");let n=t??{};let o=0;for(o=0;o<r.length-1;o++){if(b(n[r[o]])){return null}n=n[r[o]]}return n[r[o]]});const O=e((t,e,r)=>{if(b(e)){return}const n=e.split(\".\");let o=t;let i=0;for(i=0;i<n.length-1;i++){o[n[i]]=o[n[i]]||{};o=o[n[i]]}o[n[i]]=r});function h(t={}){Object.keys(t).forEach(e=>delete t[e])}function j(t){return t.split(\"\").map((t,e)=>t.toUpperCase()===t?`${e!==0?\"-\":\"\"}${t.toLowerCase()}`:t).join(\"\")}function d(t,e,r){const n=Array.isArray(e)?e:Object.values(e);return n.indexOf(t)>=0?t:r??\"\"}function v(t=\"id\"){return`${t}-${Date.now().toString(36)}${Math.random().toString(36).slice(0,2)}`}function P(t){t?.preventDefault();t?.stopPropagation()}const w=150;function S(t=w){return new Promise(e=>{setTimeout(e,t)})}function A(){return new Promise(t=>{requestAnimationFrame(t)})}const E=(...t)=>e=>t.filter(t=>typeof t===\"function\").reduceRight((t,e)=>e(t),e);const D=(...t)=>(...e)=>t.reduce((t,e)=>Array.isArray(t)?e(...t):e(t),e);t.camelToKebabCase=j;t.compose=E;t.curry=e;t.empty=b;t.get=g;t.ifElse=i;t.ifVal=c;t.isFunction=n;t.nextFrame=A;t.normalizeBoolean=u;t.normalizeObject=m;t.normalizeString=d;t.notEmpty=y;t.pipe=D;t.reset=h;t.set=O;t.stopEvent=P;t.timeout=S;t.toUniqueId=v;t.tryCatch=r;Object.defineProperty(t,\"__esModule\",{value:true})});\n}","ce":"feeds_chat-common","descriptor":"markup://feeds_chat:common","n":"feeds_chat/common"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://feeds_placeholding:commentPublisher', \"feeds_placeholding/commentPublisher\",[\"exports\",\"lwc\",\"lightning/avatar\",\"lightning/input\"],function(e,t,a,r){function s(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var l=s(a);var n=s(r);const i={classMap:{\"slds-grid\":true,\"slds-container_fluid\":true,\"slds-grid_vertical-align-center\":true},key:0};const c={\"slds-m-right_small\":true};const o={\"slds-grow\":true};function d(e,t,a,r){const{c:s,h:d}=e;return[d(\"div\",i,[s(\"lightning-avatar\",l.default,{classMap:c,props:{alternativeText:t.avatarUserName,size:\"small\",src:t.avatarImageSrc,variant:\"circle\"},key:1}),s(\"lightning-input\",n.default,{classMap:o,props:{label:t.placeholderText,placeholder:t.placeholderText,type:\"text\",variant:\"label-hidden\"},key:2})])]}var h=t.registerTemplate(d);d.stylesheets=[];d.stylesheetToken=\"lwc-2kkqt5fte7t\";d.legacyStylesheetToken=\"feeds_placeholding-commentPublisher_commentPublisher\";t.freezeTemplate(d);class u extends t.LightningElement{constructor(){super();this.placeholderText=void 0;this.avatarUserName=void 0;this.avatarImageSrc=void 0;this.addEventListener(\"click\",()=>this.handleUserInteraction());this.addEventListener(\"focusin\",()=>this.handleUserInteraction())}focus(e){this.template.querySelector(\"lightning-input\").focus(e);this.handleUserInteraction()}handleUserInteraction(){this.dispatchEvent(new CustomEvent(\"showpublisher\",{bubbles:true,cancelable:true,composed:true}))}}t.registerDecorators(u,{publicProps:{placeholderText:{config:0},avatarUserName:{config:0},avatarImageSrc:{config:0}},publicMethods:[\"focus\"]});var p=t.registerComponent(u,{tmpl:h,sel:\"feeds_placeholding-comment-publisher\",apiVersion:59});e.default=p;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"feeds_placeholding-comment-publisher","descriptor":"markup://feeds_placeholding:commentPublisher","n":"feeds_placeholding/commentPublisher","ad":[["placeholderText",null,"G",false],["avatarUserName",null,"G",false],["avatarImageSrc",null,"G",false]]},{"xs":"P","co":"function() { $A.componentService.addModule('markup://lightning:bubble', \"lightning/bubble\",[\"exports\",\"lwc\",\"lightning/popoverUtils\",\"lightning/utilsPrivate\"],function(e,t,n,r){function i(e,t,n){var r=e?\"[\"+e+\"]\":\"\";return\"section\"+r+\"::before {background-color: unset;}\"}var s=[i];const o={part:\"bubble\"};const l={key:1};const b=[];function u(e,t,n,r){const{s:i,h:s}=e;return[s(\"section\",{className:t.computedSectionClasses,attrs:o,key:0},[i(\"\",l,b,n)])]}var c=t.registerTemplate(u);u.slots=[\"\"];u.stylesheets=[];if(s){u.stylesheets.push.apply(u.stylesheets,s)}u.stylesheetToken=\"lwc-5ueu20vq353\";u.legacyStylesheetToken=\"lightning-bubble_bubble\";t.freezeTemplate(u);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function p(e,t,n){t=O(t);if(t in e){Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true})}else{e[t]=n}return e}function O(e){var t=g(e,\"string\");return typeof t===\"symbol\"?t:String(t)}function g(e,t){if(typeof e!==\"object\"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var r=n.call(e,t||\"default\");if(typeof r!==\"object\")return r;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(t===\"string\"?String:Number)(e)}const _={[n.SIZE_OPTIONS.SMALL]:\"slds-popover_small\",[n.SIZE_OPTIONS.MEDIUM]:\"slds-popover_medium\",[n.SIZE_OPTIONS.LARGE]:\"slds-popover_large\",[n.SIZE_OPTIONS.FULL]:\"slds-popover_full-width\"};const d=a(a({},n.ALIGNMENT_OPTIONS),{},{NONE:\"none\"});const T={[d.TOP_LEFT]:\"slds-nubbin_top-left left-nubbin-offset-override\",[d.TOP]:\"slds-nubbin_top\",[d.TOP_CENTER]:\"slds-nubbin_top\",[d.TOP_RIGHT]:\"slds-nubbin_top-right right-nubbin-offset-override\",[d.RIGHT_TOP]:\"slds-nubbin_right-top top-nubbin-offset-override\",[d.RIGHT]:\"slds-nubbin_right\",[d.RIGHT_CENTER]:\"slds-nubbin_right\",[d.RIGHT_BOTTOM]:\"slds-nubbin_right-bottom bottom-nubbin-offset-override\",[d.BOTTOM_RIGHT]:\"slds-nubbin_bottom-right right-nubbin-offset-override\",[d.BOTTOM]:\"slds-nubbin_bottom\",[d.BOTTOM_CENTER]:\"slds-nubbin_bottom\",[d.BOTTOM_LEFT]:\"slds-nubbin_bottom-left left-nubbin-offset-override\",[d.LEFT_BOTTOM]:\"slds-nubbin_left-bottom bottom-nubbin-offset-override\",[d.LEFT]:\"slds-nubbin_left\",[d.LEFT_CENTER]:\"slds-nubbin_left\",[d.LEFT_TOP]:\"slds-nubbin_left-top top-nubbin-offset-override\",[d.NONE]:\"\"};class m extends t.LightningElement{constructor(...e){super(...e);this._size=n.SIZE_OPTIONS.MEDIUM;this._alignment=d.NONE}get size(){return this._size}set size(e){this._size=r.normalizeString(e,{fallbackValue:n.SIZE_OPTIONS.MEDIUM,validValues:Object.values(n.SIZE_OPTIONS)})}get alignment(){return this._alignment}set alignment(e){this._alignment=r.normalizeString(e,{fallbackValue:d.NONE,validValues:Object.values(d)})}get computedSectionClasses(){const e=[\"slds-popover\"];e.push(T[this.alignment]);e.push(_[this.size]);return e.join(\" \")}}t.registerDecorators(m,{publicProps:{size:{config:3},alignment:{config:3}},fields:[\"_size\",\"_alignment\"]});var h=t.registerComponent(m,{tmpl:c,sel:\"lightning-bubble\",apiVersion:59});e.default=h;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"lightning-bubble","descriptor":"markup://lightning:bubble","n":"lightning/bubble","ad":[["size",null,"G",false],["alignment",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://force:ldsAdaptersServiceEinsteinllm', \"force/ldsAdaptersServiceEinsteinllm\",[\"exports\",\"force/ldsEngine\",\"force/luvioEngine\"],function(e,t,n){const{isArray:r}=Array;function o(e){return typeof e===\"object\"&&e!==null&&r(e)===false}function s(e,t){return t.parameters.required.every(t=>t in e)}function c(e,t,n,r,o=false,s){return{name:e,required:t,resourceType:n,typeCheckShape:r,isArrayShape:o,coerceFn:s}}function i(e,t){const n=t.filter(e=>e.required).map(e=>e.name);const r=t.filter(e=>!e.required).map(e=>e.name);return{displayName:e,parameters:{required:n,optional:r}}}const a=\"EinsteinLLM\";const{keys:u,create:p,assign:f}=Object;const{isArray:d}=Array;function l(e,t,n){const r=e.length;const o=t.length;if(r!==o){return false}for(let o=0;o<r;o++){if(n(e[o],t[o])===false){return false}}return true}function m(e,t,n){const r=u(e).sort();const o=u(t).sort();const s=r.length;const c=o.length;if(s!==c){return false}for(let s=0;s<r.length;s++){const c=r[s];if(c!==o[s]){return false}if(n(e[c],t[c])===false){return false}}return true}function y(e){return{__ref:n.serializeStructuredKey(e)}}function b(e,t=\"EinsteinLlmFeedbackInputRepresentation\"){const n=(()=>{if(typeof e!==\"object\"||d(e)||e===null){return new TypeError('Expected \"object\" but received \"'+typeof e+'\" (at \"'+t+'\")')}if(e.appFeedback!==undefined){const n=e.appFeedback;const r=t+\".appFeedback\";if(typeof n!==\"object\"||d(n)||n===null){return new TypeError('Expected \"object\" but received \"'+typeof n+'\" (at \"'+r+'\")')}const o=u(n);for(let e=0;e<o.length;e++){const t=o[e];const s=n[t];const c=r+'[\"'+t+'\"]';if(typeof s!==\"object\"||d(s)||s===null){return new TypeError('Expected \"object\" but received \"'+typeof s+'\" (at \"'+c+'\")')}}}if(e.applicationName!==undefined){const n=e.applicationName;const r=t+\".applicationName\";if(typeof n!==\"string\"){return new TypeError('Expected \"string\" but received \"'+typeof n+'\" (at \"'+r+'\")')}}if(e.feedback!==undefined){const n=e.feedback;const r=t+\".feedback\";if(typeof n!==\"string\"){return new TypeError('Expected \"string\" but received \"'+typeof n+'\" (at \"'+r+'\")')}}const n=e.feedbackText;const r=t+\".feedbackText\";if(typeof n!==\"string\"){return new TypeError('Expected \"string\" but received \"'+typeof n+'\" (at \"'+r+'\")')}const o=e.generationId;const s=t+\".generationId\";if(typeof o!==\"string\"){return new TypeError('Expected \"string\" but received \"'+typeof o+'\" (at \"'+s+'\")')}const c=e.id;const i=t+\".id\";if(typeof c!==\"string\"){return new TypeError('Expected \"string\" but received \"'+typeof c+'\" (at \"'+i+'\")')}const a=e.source;const p=t+\".source\";if(typeof a!==\"string\"){return new TypeError('Expected \"string\" but received \"'+typeof a+'\" (at \"'+p+'\")')}})();return n===undefined?null:n}const g=100;const E=\"4033328f65865dd5d80c68a7573a4522\";const v=\"EinsteinLlmFeedbackRepresentation\";function T(e,t){return a+\"::\"+v+\":\"+t.message}function h(e,t){const n={message:t.message};return T(e,n)}function k(e,t,n,r,o,s){return e}const w=function e(){return{kind:\"Fragment\",version:E,private:[],selections:[{name:\"message\",kind:\"Scalar\"}]}};function I(e,t){const n=e.message;const r=t.message;if(!(n===r)){return false}return true}const x=function e(t,r,o,s,c){const i=h(o,t);const a=g;n.ingestShape(t,r,o,s,c,a,i,k,\"EinsteinLLM\",E,v,I);return y(i)};function P(e,t,n,r){const o=h(t,n);e.set(o,{namespace:a,representationName:v,mergeable:false})}function j(e,t){return w()}function q(e,t,n,r){P(e,t,r)}function F(e,t,r){const{body:o}=r;const s=h(e,o);e.storeIngest(s,x,o);const c=e.storeLookup({recordId:s,node:j(),variables:{}});n.deepFreeze(c.data);return c}function S(e){const t={};return{baseUri:\"/services/data/v59.0\",basePath:\"/einstein/llm/feedback\",method:\"post\",body:e.body,urlParams:{},queryParams:{},headers:t,priority:\"normal\"}}const G=\"createFeedback\";const R=[c(\"feedbackInput\",true,2,4)];const L=i(G,R);const M=n.createResourceParams(R);function N(e){const t={};const n=e.feedbackInput;const r=b(n);if(r===null){t.feedbackInput=n}return t}function C(e,t){if(!o(e)){return null}const n=N(e);if(!s(n,t)){return null}return n}function A(e,t,r){const o=M(t);const s=S(o);return e.dispatchResourceRequest(s,r).then(t=>e.handleSuccessResponse(()=>{const n=F(e,o,t);return e.storeBroadcast().then(()=>n)},()=>{const r=new n.StoreKeyMap;q(r,e,o,t.body);return r}),e=>{n.deepFreeze(e);throw e})}const O=e=>function t(n){const r=C(n,L);if(r===null){throw new Error('Invalid config for \"createFeedback\"')}return A(e,r)};function z(e,t=\"EinsteinLlmAdditionalConfigInputRepresentation\"){const n=(()=>{if(typeof e!==\"object\"||d(e)||e===null){return new TypeError('Expected \"object\" but received \"'+typeof e+'\" (at \"'+t+'\")')}if(e.additionalParameters!==undefined){const n=e.additionalParameters;const r=t+\".additionalParameters\";if(typeof n!==\"object\"||d(n)||n===null){return new TypeError('Expected \"object\" but received \"'+typeof n+'\" (at \"'+r+'\")')}const o=u(n);for(let e=0;e<o.length;e++){const t=o[e];const s=n[t];const c=r+'[\"'+t+'\"]';if(typeof s!==\"object\"||d(s)||s===null){return new TypeError('Expected \"object\" but received \"'+typeof s+'\" (at \"'+c+'\")')}}}if(e.applicationName!==undefined){const n=e.applicationName;const r=t+\".applicationName\";if(typeof n!==\"string\"){return new TypeError('Expected \"string\" but received \"'+typeof n+'\" (at \"'+r+'\")')}}if(e.enablePiiMasking!==undefined){const n=e.enablePiiMasking;const r=t+\".enablePiiMasking\";if(typeof n!==\"boolean\"){return new TypeError('Expected \"boolean\" but received \"'+typeof n+'\" (at \"'+r+'\")')}}if(e.frequencyPenalty!==undefined){e.frequencyPenalty}if(e.maxTokens!==undefined){const n=e.maxTokens;const r=t+\".maxTokens\";if(typeof n!==\"number\"||typeof n===\"number\"&&Math.floor(n)!==n){return new TypeError('Expected \"integer\" but received \"'+typeof n+'\" (at \"'+r+'\")')}}if(e.model!==undefined){const n=e.model;const r=t+\".model\";if(typeof n!==\"string\"){return new TypeError('Expected \"string\" but received \"'+typeof n+'\" (at \"'+r+'\")')}}if(e.numGenerations!==undefined){const n=e.numGenerations;const r=t+\".numGenerations\";if(typeof n!==\"number\"||typeof n===\"number\"&&Math.floor(n)!==n){return new TypeError('Expected \"integer\" but received \"'+typeof n+'\" (at \"'+r+'\")')}}if(e.presencePenalty!==undefined){e.presencePenalty}if(e.stopSequences!==undefined){const n=e.stopSequences;const r=t+\".stopSequences\";if(!d(n)){return new TypeError('Expected \"array\" but received \"'+typeof n+'\" (at \"'+r+'\")')}for(let e=0;e<n.length;e++){const t=n[e];const o=r+\"[\"+e+\"]\";if(typeof t!==\"string\"){return new TypeError('Expected \"string\" but received \"'+typeof t+'\" (at \"'+o+'\")')}}}if(e.temperature!==undefined){e.temperature}})();return n===undefined?null:n}function D(e,t=\"EinsteinLlmGenerationsInputRepresentation\"){const n=(()=>{if(typeof e!==\"object\"||d(e)||e===null){return new TypeError('Expected \"object\" but received \"'+typeof e+'\" (at \"'+t+'\")')}if(e.additionalConfig!==undefined){const n=e.additionalConfig;const r=t+\".additionalConfig\";const o=z(n,r);if(o!==null){let e=\"Object doesn't match EinsteinLlmAdditionalConfigInputRepresentation (at \\\"\"+r+'\")\\n';e+=o.message.split(\"\\n\").map(e=>\"\\t\"+e).join(\"\\n\");return new TypeError(e)}}const n=e.promptTextorId;const r=t+\".promptTextorId\";if(typeof n!==\"string\"){return new TypeError('Expected \"string\" but received \"'+typeof n+'\" (at \"'+r+'\")')}if(e.provider!==undefined){const n=e.provider;const r=t+\".provider\";if(typeof n!==\"string\"){return new TypeError('Expected \"string\" but received \"'+typeof n+'\" (at \"'+r+'\")')}}})();return n===undefined?null:n}const K=\"e87ca68f9dcf9550fb4dc9fd91df91ae\";const _=function e(){return{kind:\"Fragment\",version:K,private:[],selections:[{name:\"parameters\",kind:\"Scalar\"},{name:\"text\",kind:\"Scalar\"}]}};function B(e,t){const n=e.parameters;const r=t.parameters;if(!(n===r)){return false}const o=e.text;const s=t.text;if(!(o===s)){return false}return true}const U=\"4656c961c9d093a9e206c1db7d4de0b0\";const V=function e(){return{kind:\"Fragment\",version:U,private:[],selections:[]}};function W(e,t){const n=e.wrappedMap;const r=t.wrappedMap;const o=m(n,r,(e,t)=>{});if(o===false){return false}return true}const H=100;const J=\"d8abd72a42e842b253da1c38954dafbc\";const Q=\"EinsteinLlmGenerationsRepresentation\";function X(e,t){return a+\"::\"+Q+\":\"+t.requestId}function Y(e,t){const n={requestId:t.requestId};return X(e,n)}function Z(e,t,n,r,o,s){return e}const $=function e(){const{selections:t,opaque:n}=_();const{selections:r,opaque:o}=V();return{kind:\"Fragment\",version:J,private:[],selections:[{name:\"generations\",kind:\"Object\",plural:true,selections:t},{name:\"parameters\",kind:\"Object\",nullable:true,selections:r},{name:\"prompt\",kind:\"Scalar\"},{name:\"requestId\",kind:\"Scalar\"}]}};function ee(e,t){const n=e.requestId;const r=t.requestId;if(!(n===r)){return false}const o=e.generations;const s=t.generations;const c=l(o,s,(e,t)=>{if(!B(e,t)){return false}});if(c===false){return false}const i=e.parameters;const a=t.parameters;if(!(i===a||i!=null&&a!=null&&W(i,a))){return false}const u=e.prompt;const p=t.prompt;if(!(u===p)){return false}return true}const te=function e(t,r,o,s,c){const i=Y(o,t);const a=H;n.ingestShape(t,r,o,s,c,a,i,Z,\"EinsteinLLM\",J,Q,ee);return y(i)};function ne(e,t,n,r){const o=Y(t,n);e.set(o,{namespace:a,representationName:Q,mergeable:false})}function re(e,t){return $()}function oe(e,t,n,r){ne(e,t,r)}function se(e,t,r){const{body:o}=r;const s=Y(e,o);e.storeIngest(s,te,o);const c=e.storeLookup({recordId:s,node:re(),variables:{}});n.deepFreeze(c.data);return c}function ce(e){const t={};return{baseUri:\"/services/data/v59.0\",basePath:\"/einstein/llm/prompt/generations\",method:\"post\",body:e.body,urlParams:{},queryParams:{},headers:t,priority:\"normal\"}}const ie=\"createGenerations\";const ae=[c(\"generationsInput\",true,2,4)];const ue=i(ie,ae);const pe=n.createResourceParams(ae);function fe(e){const t={};const n=e.generationsInput;const r=D(n);if(r===null){t.generationsInput=n}return t}function de(e,t){if(!o(e)){return null}const n=fe(e);if(!s(n,t)){return null}return n}function le(e,t,r){const o=pe(t);const s=ce(o);return e.dispatchResourceRequest(s,r).then(t=>e.handleSuccessResponse(()=>{const n=se(e,o,t);return e.storeBroadcast().then(()=>n)},()=>{const r=new n.StoreKeyMap;oe(r,e,o,t.body);return r}),e=>{n.deepFreeze(e);throw e})}const me=e=>function t(n){const r=de(n,ue);if(r===null){throw new Error('Invalid config for \"createGenerations\"')}return le(e,r)};function ye(e,t=\"WrappedValueMap\"){const n=(()=>{if(typeof e!==\"object\"||d(e)||e===null){return new TypeError('Expected \"object\" but received \"'+typeof e+'\" (at \"'+t+'\")')}const n=e.valueMap;const r=t+\".valueMap\";if(typeof n!==\"object\"||d(n)||n===null){return new TypeError('Expected \"object\" but received \"'+typeof n+'\" (at \"'+r+'\")')}const o=u(n);for(let e=0;e<o.length;e++){const t=o[e];const s=n[t];const c=r+'[\"'+t+'\"]';if(typeof s!==\"object\"||d(s)||s===null){return new TypeError('Expected \"object\" but received \"'+typeof s+'\" (at \"'+c+'\")')}}})();return n===undefined?null:n}function be(e,t=\"EinsteinPromptTemplateGenerationsInputRepresentation\"){const n=(()=>{if(typeof e!==\"object\"||d(e)||e===null){return new TypeError('Expected \"object\" but received \"'+typeof e+'\" (at \"'+t+'\")')}if(e.additionalConfig!==undefined){const n=e.additionalConfig;const r=t+\".additionalConfig\";const o=z(n,r);if(o!==null){let e=\"Object doesn't match EinsteinLlmAdditionalConfigInputRepresentation (at \\\"\"+r+'\")\\n';e+=o.message.split(\"\\n\").map(e=>\"\\t\"+e).join(\"\\n\");return new TypeError(e)}}const n=e.inputParams;const r=t+\".inputParams\";const o=ye(n,r);if(o!==null){let e=\"Object doesn't match WrappedValueMap (at \\\"\"+r+'\")\\n';e+=o.message.split(\"\\n\").map(e=>\"\\t\"+e).join(\"\\n\");return new TypeError(e)}const s=e.isPreview;const c=t+\".isPreview\";if(typeof s!==\"boolean\"){return new TypeError('Expected \"boolean\" but received \"'+typeof s+'\" (at \"'+c+'\")')}if(e.provider!==undefined){const n=e.provider;const r=t+\".provider\";if(typeof n!==\"string\"){return new TypeError('Expected \"string\" but received \"'+typeof n+'\" (at \"'+r+'\")')}}})();return n===undefined?null:n}const ge=100;const Ee=\"72c96c11855d430a55c0a79c239c0838\";const ve=\"EinsteinPromptTemplateGenerationsRepresentation\";function Te(e,t){return a+\"::\"+ve+\":\"+t.requestId}function he(e,t){const n={requestId:t.requestId};return Te(e,n)}function ke(e,t,n,r,o,s){return e}const we=function e(){const{selections:t,opaque:n}=_();const{selections:r,opaque:o}=V();return{kind:\"Fragment\",version:Ee,private:[],selections:[{name:\"generations\",kind:\"Object\",plural:true,selections:t},{name:\"parameters\",kind:\"Object\",nullable:true,selections:r},{name:\"prompt\",kind:\"Scalar\"},{name:\"promptTemplateDevName\",kind:\"Scalar\"},{name:\"requestId\",kind:\"Scalar\"}]}};function Ie(e,t){const n=e.promptTemplateDevName;const r=t.promptTemplateDevName;if(!(n===r)){return false}const o=e.requestId;const s=t.requestId;if(!(o===s)){return false}const c=e.generations;const i=t.generations;const a=l(c,i,(e,t)=>{if(!B(e,t)){return false}});if(a===false){return false}const u=e.parameters;const p=t.parameters;if(!(u===p||u!=null&&p!=null&&W(u,p))){return false}const f=e.prompt;const d=t.prompt;if(!(f===d)){return false}return true}const xe=function e(t,r,o,s,c){const i=he(o,t);const a=ge;n.ingestShape(t,r,o,s,c,a,i,ke,\"EinsteinLLM\",Ee,ve,Ie);return y(i)};function Pe(e,t,n,r){const o=he(t,n);e.set(o,{namespace:a,representationName:ve,mergeable:false})}function je(e,t){return we()}function qe(e,t,n,r){Pe(e,t,r)}function Fe(e,t,r){const{body:o}=r;const s=he(e,o);e.storeIngest(s,xe,o);const c=e.storeLookup({recordId:s,node:je(),variables:{}});n.deepFreeze(c.data);return c}function Se(e){const t={};return{baseUri:\"/services/data/v59.0\",basePath:\"/einstein/prompt-templates/\"+e.urlParams.promptTemplateDevName+\"/generations\",method:\"post\",body:e.body,urlParams:e.urlParams,queryParams:{},headers:t,priority:\"normal\"}}const Ge=\"createGenerationsForPromptTemplate\";const Re=[c(\"promptTemplateDevName\",true,0,0),c(\"promptTemplateGenerationsInput\",true,2,4)];const Le=i(Ge,Re);const Me=n.createResourceParams(Re);function Ne(e){const t={};n.typeCheckConfig(e,t,Re);const r=e.promptTemplateGenerationsInput;const o=be(r);if(o===null){t.promptTemplateGenerationsInput=r}return t}function Ce(e,t){if(!o(e)){return null}const n=Ne(e);if(!s(n,t)){return null}return n}function Ae(e,t,r){const o=Me(t);const s=Se(o);return e.dispatchResourceRequest(s,r).then(t=>e.handleSuccessResponse(()=>{const n=Fe(e,o,t);return e.storeBroadcast().then(()=>n)},()=>{const r=new n.StoreKeyMap;qe(r,e,o,t.body);return r}),e=>{n.deepFreeze(e);throw e})}const Oe=e=>function t(n){const r=Ce(n,Le);if(r===null){throw new Error('Invalid config for \"createGenerationsForPromptTemplate\"')}return Ae(e,r)};e.createFeedback=void 0;e.createGenerations=void 0;e.createGenerationsForPromptTemplate=void 0;function ze(e){function t(t){const n=t(e);return e=>n(e).then(e=>e.data)}return{createFeedback:t(O),createGenerations:t(me),createGenerationsForPromptTemplate:t(Oe)}}t.withDefaultLuvio(t=>{({createFeedback:e.createFeedback,createGenerations:e.createGenerations,createGenerationsForPromptTemplate:e.createGenerationsForPromptTemplate}=ze(t))});Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"force-lds-adapters-service-einsteinllm","descriptor":"markup://force:ldsAdaptersServiceEinsteinllm","n":"force/ldsAdaptersServiceEinsteinllm"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://lightning:checkboxGroup', \"lightning/checkboxGroup\",[\"exports\",\"lwc\",\"@salesforce/label/LightningControl.required\",\"lightning/utilsPrivate\",\"lightning/inputUtils\",\"lightning/utils\"],function(e,t,s,i,l,a){function n(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var r=n(s);function o(e,t,s){var i=e?\"[\"+e+\"-host]\":\"\";return(t?\":host {\":i+\" {\")+\"display: block;}\"}var d=[o];const c=t.parseFragment`<span class=\"slds-checkbox_faux${0}\"${2}><\/span>`;const u={key:0};const h={\"slds-required\":true};const p={classMap:{\"slds-form-element__control\":true},key:3};const m={\"slds-checkbox\":true};const g={\"slds-checkbox__label\":true};const f={classMap:{\"slds-form-element__label\":true},key:9};const v={\"slds-form-element__help\":true};function _(e,t,s,i){const{t:l,h:a,d:n,k:r,gid:o,b:d,st:_,i:b}=e;const{_m0:y,_m1:k,_m2:A,_m3:C}=i;return[a(\"fieldset\",u,[a(\"legend\",{className:t.computedLegendClass,key:1},[t.required?a(\"abbr\",{classMap:h,attrs:{title:t.i18n.required},key:2},[l(\"*\")]):null,l(n(t.label))]),a(\"div\",p,b(t.transformedOptions,function(e){return a(\"span\",{classMap:m,key:r(4,e.value)},[a(\"input\",{attrs:{type:\"checkbox\",name:t.name,id:o(e.id),disabled:t.disabled?\"\":null},props:{checked:e.isChecked,value:e.value},key:5,on:{click:y||(i._m0=d(t.handleClick)),change:k||(i._m1=d(t.handleChange)),focus:A||(i._m2=d(t.handleFocus)),blur:C||(i._m3=d(t.handleBlur))}}),a(\"label\",{classMap:g,attrs:{for:o(e.id)},key:6},[_(c(),8),a(\"span\",f,[l(n(e.label))])])])})),t._helpMessage?a(\"div\",{classMap:v,attrs:{id:o(\"helptext\"),\"data-helptext\":\"\",role:\"alert\"},key:10},[l(n(t._helpMessage))]):null])]}var b=t.registerTemplate(_);_.stylesheets=[];if(d){_.stylesheets.push.apply(_.stylesheets,d)}_.stylesheetToken=\"lwc-7ns6mba7a7m\";_.legacyStylesheetToken=\"lightning-checkboxGroup_checkboxGroup\";t.freezeTemplate(_);const y={required:r.default};const k=200;class A extends t.LightningElement{constructor(){super();this.label=void 0;this.options=void 0;this.messageWhenValueMissing=void 0;this.name=void 0;this._helpMessage=void 0;this._disabled=void 0;this._required=void 0;this._value=void 0;this.itemIndex=0;this.debouncedShowIfBlurred=l.debounce(()=>{if(!this.containsFocus){this.showHelpMessageIfInvalid()}},k)}synchronizeA11y(){const e=this.template.querySelectorAll(\"input\");Array.prototype.slice.call(e).forEach(e=>{i.synchronizeAttrs(e,{\"aria-describedby\":this.computedUniqueHelpElementId})})}connectedCallback(){this.classList.add(\"slds-form-element\");this.updateClassList()}updateClassList(){i.classListMutation(this.classList,{\"slds-form-element_stacked\":this.variant===l.VARIANT.LABEL_STACKED,\"slds-form-element_horizontal\":this.variant===l.VARIANT.LABEL_INLINE})}get fieldsetElement(){return this.template.querySelector(\"fieldset\")}renderedCallback(){this.synchronizeA11y();i.synchronizeAttrs(this.fieldsetElement,{\"aria-describedby\":i.getRealDOMId(this.template.querySelector(\"[data-helptext]\"))})}get value(){return this._value}set value(e){this._value=e}get disabled(){return this._disabled||false}set disabled(e){this._disabled=i.normalizeBoolean(e)}get required(){return this._required||false}set required(e){this._required=i.normalizeBoolean(e)}get variant(){return this._variant||l.VARIANT.STANDARD}set variant(e){this._variant=l.normalizeVariant(e);this.updateClassList()}get i18n(){return y}get transformedOptions(){const{options:e,value:t}=this;if(Array.isArray(e)){return e.map(e=>({label:e.label,value:e.value,id:`checkbox-${this.itemIndex++}`,isChecked:t.indexOf(e.value)!==-1}))}return[]}get validity(){return this._constraint.validity}checkValidity(){return this._constraint.checkValidity()}reportValidity(){return this._constraint.reportValidity(e=>{this._helpMessage=e})}setCustomValidity(e){this._constraint.setCustomValidity(e)}showHelpMessageIfInvalid(){this.reportValidity()}get computedUniqueHelpElementId(){const e=this.template.querySelector(\"[data-helptext]\");return i.getRealDOMId(e)}focus(){const e=this.template.querySelector(\"input\");if(e){e.focus()}}handleFocus(){this.containsFocus=true;this.dispatchEvent(new CustomEvent(\"focus\"))}handleBlur(){this.containsFocus=false;this.debouncedShowIfBlurred();this.dispatchEvent(new CustomEvent(\"blur\"))}handleClick(e){if(this.template.activeElement!==e.target){e.target.focus()}}handleChange(e){e.stopPropagation();const t=this.template.querySelectorAll(\"input\");const s=Array.from(t).filter(e=>e.checked).map(e=>e.value);this._value=s;this.dispatchEvent(new CustomEvent(\"change\",{detail:{value:s},composed:true,bubbles:true,cancelable:true}))}get _constraint(){if(!this._constraintApi){this._constraintApi=new l.FieldConstraintApi(()=>this,{validitySelectAtleastOneValue:()=>!this.disabled&&this.required&&this.value.length===0})}return this._constraintApi}get computedLegendClass(){const e=a.classSet(\"slds-form-element__legend slds-form-element__label\");return e.add({\"slds-assistive-text\":this.variant===l.VARIANT.LABEL_HIDDEN}).toString()}}A.delegatesFocus=true;t.registerDecorators(A,{publicProps:{label:{config:0},options:{config:0},messageWhenValueMissing:{config:0},name:{config:0},value:{config:3},disabled:{config:3},required:{config:3},variant:{config:3},validity:{config:1}},publicMethods:[\"checkValidity\",\"reportValidity\",\"setCustomValidity\",\"showHelpMessageIfInvalid\",\"focus\"],track:{_helpMessage:1,_disabled:1,_required:1,_value:1}});var C=t.registerComponent(A,{tmpl:b,sel:\"lightning-checkbox-group\",apiVersion:59});e.default=C;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"lightning-checkbox-group","descriptor":"markup://lightning:checkboxGroup","n":"lightning/checkboxGroup","mv":41.0,"ad":[["label",null,"G",true],["options",null,"G",true],["messageWhenValueMissing",null,"G",false],["name",null,"G",true],["value",null,"G",true],["disabled",null,"G",false],["required",null,"G",false],["variant",null,"G",false],["validity",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://search_results:uiTierResultsMapper', \"search_results/uiTierResultsMapper\",[\"exports\",\"search_lightning/util\"],function(e,r){function t(e){return e!==\"sobjectType\"&&!e.endsWith(\"__f\")&&!e.endsWith(\"__l\")}function n(e){return e&&typeof e===\"object\"&&e.Id&&e.sobjectType}function l(e,r){if(e[`${r}__f`]){return e[`${r}__f`]}else if(e[`${r}__l`]){return e[`${r}__l`]}return e[r]}function u(e){if(e){const{isSpellCorrected:r=false,isPromotedSearchResult:t=false,highlightMap:n=null,layoutFields:l=[]}=e;return{isSpellCorrected:r,isPromotedSearchResult:t,highlightMap:n,layoutFields:l}}return{}}function i(){return{value:null,displayValue:null}}function o(e,r){const t=e.record[r];return{value:t,displayValue:l(e.record,r)}}function s(e,r){const u=e.record[r];return{value:{id:u.Id,apiName:u.sobjectType,fields:Object.keys(u).reduce((e,r)=>{const i=l(u,r);if(n(i)){e[r]=s({record:{[r]:i}},r)}else if(t(r)){e[r]={value:i,displayValue:i}}return e},{})}}}function c(e,r){const l={id:e.record.Id,apiName:r,fields:Object.keys(e.record).reduce((r,l)=>{const u=e.record[l];if(u===undefined||u===null){r[l]=i()}else if(n(u)){r[l]=s(e,l)}else if(t(l)){r[l]=o(e,l)}return r},{})};const c=u(e);l.fields.SearchMetadata={value:c,displayValue:null};return l}function a(e){if(!e){return null}return{fields:{Title:e.Title},snippet:e.SnippetText}}function d(e,r){const t=u(e);const{highlightMap:n}=t;return{record:c(e,r),searchInfo:{isSpellCorrected:t.isSpellCorrected,isPromoted:t.isPromotedSearchResult},highlightInfo:a(n)}}function f(e){return!!(e&&e.searchMetadata&&e.searchMetadata.descriptive)}function p(e){const r=e.columnFields||[];return r.map(({fieldName:e,label:r,sortable:t,lookupId:n})=>{const l={fieldApiName:e,label:r,sortable:t,lookupId:n};if(!n&&e.indexOf(\".\")>0&&!e.startsWith(\"RecordType.\")&&!e.includes(\".RecordType.\")){const r=e.lastIndexOf(\".\");const t=e.substr(0,r);const n=t.endsWith(\"__r\")?`${t}.Id`:`${t}Id`;l.lookupId=n}return l})}function m(e){const r=e.columnFields||[];return r.reduce((e,{fieldName:r,width:t})=>{e[r]=t<=0?0:t;return e},{})}function h(e){const r=e.columnFields||[];return r.reduce((e,{fieldName:r,wrapped:t=false})=>{e[r]=t;return e},{})}function y(e){if(!e){return{columnWrap:{},columnWidths:{}}}return{columnWrap:h(e),columnWidths:m(e)}}function _(e){if(!e){return{displayColumns:[],userPreferences:y(e)}}const t=f(e);if(t&&e.result.length>0){const t=e.columnFields;const n={displayColumns:t.map(e=>({fieldApiName:e.fieldName,label:e.label,sortable:e.sortable,lookupId:null})),userPreferences:{columnWrap:{},columnWidths:{}}};return r.uiApi.addSearchMetadataColumn(n)}return{displayColumns:p(e),userPreferences:y(e)}}function b(e){const r=e&&e.scopeMap&&e.scopeMap.name||null;return e&&e.result&&e.result.map(e=>d(e,r))||[]}e.mapFromAuraBucketToUiApiListInfo=_;e.mapFromAuraBucketToUiApiRecords=b;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"search_results-ui-tier-results-mapper","descriptor":"markup://search_results:uiTierResultsMapper","n":"search_results/uiTierResultsMapper"},{"xs":"P","co":"function() { $A.componentService.addModule('markup://one:appNavBarItemDropdown', \"one/appNavBarItemDropdown\",[\"exports\",\"lwc\",\"lightning/spinner\",\"one/appNavBarMenuItem\",\"one/appNavBarMenuButton\",\"instrumentation/service\",\"@salesforce/label/GlobalNavigation.NoRecentRecords\",\"@salesforce/label/GlobalNavigation.DropdownTriggerLabel\",\"@salesforce/label/Global.loading\"],function(e,t,n,a,o,i,s,r,l){function d(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var p=d(n);var c=d(a);var m=d(o);var u=d(s);var b=d(r);var h=d(l);function g(e,t,n){var a=e?\"[\"+e+\"]\":\"\";return\"@media screen and (max-height: 775px) {.conditionallyHideItems\"+a+\" p[role=separator]\"+a+\" + one-app-nav-bar-menu-item\"+a+\" + one-app-nav-bar-menu-item\"+a+\" + one-app-nav-bar-menu-item\"+a+\" + one-app-nav-bar-menu-item\"+a+\" {display: none;}}@media screen and (max-height: 875px) {.conditionallyHideItems\"+a+\" p[role=separator]\"+a+\" + one-app-nav-bar-menu-item\"+a+\" + one-app-nav-bar-menu-item\"+a+\" + one-app-nav-bar-menu-item\"+a+\" + one-app-nav-bar-menu-item\"+a+\" + one-app-nav-bar-menu-item\"+a+\" {display: none;}}\"}var v=[g];const y=[[\"font-style\",\"normal\",false]];const f={classMap:{\"slds-p-around--xx-large\":true,\"loading-container\":true},key:2};const w=[];function I(e,t,n,a){const{b:o,c:i,h:s,k:r,d:l,t:d,i:u,f:b}=e;const{_m0:h,_m1:g}=a;return[s(\"div\",{className:t.classNames,key:0},[i(\"one-app-nav-bar-menu-button\",m.default,{styleDecls:y,attrs:{\"data-target-reveals\":t.dropdownMenuRevealedTargets},props:{iconName:\"utility:chevrondown\",menuAlignment:\"center\",nubbin:\"true\",alternativeText:t.buttonAltText,size:\"small\",index:t.index,tabHoverEnabled:t.tabHoverEnabled},key:1,on:{select:h||(a._m0=o(t.handleSelect)),open:g||(a._m1=o(t.loadMenuItems))}},b([t.isLoading?s(\"div\",f,[i(\"lightning-spinner\",p.default,{props:{variant:\"brand\",alternativeText:t.i18n.loading},key:3})]):null,t.isEmptyDropdown?i(\"one-app-nav-bar-menu-item\",c.default,{props:{anchorClass:\"slds-dropdown__header\",label:t.i18n.empty},key:4}):null,t.hasDropdownItems?u(t.dropdownItems,function(e){return[e.separator?s(\"p\",{className:e.className,attrs:{role:\"separator\",\"aria-label\":e.label},key:r(5,e.id)},[d(l(e.label))]):null,e.action?t.isSecondaryTabTargetingEnabled?i(\"one-app-nav-bar-menu-item\",c.default,{attrs:{\"data-target-selection-name\":e.targetingId},props:{url:e.url,actionId:e.id,label:e.label,leftIconName:e.iconKey,displayEntityIcon:e.displayEntityIcon},key:r(6,e.id)}):null:null,e.action?!t.isSecondaryTabTargetingEnabled?i(\"one-app-nav-bar-menu-item\",c.default,{props:{url:e.url,actionId:e.id,label:e.label,leftIconName:e.iconKey,displayEntityIcon:e.displayEntityIcon},key:r(7,e.id)}):null:null]}):w]))])]}var T=t.registerTemplate(I);I.stylesheets=[];if(v){I.stylesheets.push.apply(I.stylesheets,v)}I.stylesheetToken=\"lwc-276ipik4dj3\";I.legacyStylesheetToken=\"one-appNavBarItemDropdown_appNavBarItemDropdown\";t.freezeTemplate(I);const N={empty:u.default,buttonAltText:b.default,loading:h.default};const x=15;function E(e,n,a){const o=n?Object.assign({},t.unwrap(n)):null;const i=new CustomEvent(e,{bubbles:true,composed:true,cancelable:true,detail:{action:o,contextAction:a}});return i}class M extends t.LightningElement{constructor(...e){super(...e);this.state={loading:false,loadedItems:false,emptyDropdown:false};this.label=void 0;this.entityApiName=void 0;this.hasSubTabs=void 0;this.temporary=void 0;this.action=void 0;this.index=void 0;this.isSecondaryTabTargetingEnabled=void 0;this.dropdownMenuRevealedTargets=void 0;this.tabHoverEnabled=void 0;this._dropdownMenu=void 0}get classNames(){let e=`slds-context-bar__label-action slds-p-left--none ${this.temporary?\"slds-p-right--x-small\":\"\"}`;if(this.state.dropdownItems&&this.state.dropdownItems.length>x){e+=\" conditionallyHideItems\"}return e}get dropdownMenu(){return this._dropdownMenu}set dropdownMenu(e){this._dropdownMenu=e;this.handleDropDownChange(!e||!e.length)}get buttonAltText(){return N.buttonAltText.replace(\"{0}\",this.label)}get isLoading(){return this.state.loading}get isEmptyDropdown(){return!this.state.loading&&this.state.emptyDropdown}get hasDropdownItems(){return!this.state.loading&&this.state.loadedItems&&!this.state.emptyDropdown}get dropdownItems(){return this.state.dropdownItems}set dropdownItems(e){this.state.dropdownItems=e}get i18n(){return N}close(){const e=this.template.querySelector(\"one-app-nav-bar-menu-button\");if(e){e.close()}}open(){const e=this.template.querySelector(\"one-app-nav-bar-menu-button\");if(e){e.open()}}handleDropDownChange(e){const t=this.dropdownMenu&&this.dropdownMenu.map((e,t)=>({id:`dd_${t}`,url:e.url||\"javascript:void(0)\",className:e.className,label:e.label,iconKey:e.iconKey,action:e.action,separator:e.separator,section:e.section,displayEntityIcon:e.displayEntityIcon,targetingId:e.targetingId}));this.dropdownItems=t;this.state.loadedItems=!!t;this.state.loading=false;this.state.emptyDropdown=e}handleSelect(e){e.stopPropagation();const t=e.detail||{};const n=this.dropdownItems&&this.dropdownItems.find(e=>e.id===t.actionId);if(n){i.interaction(\"nav-dropdown-menu-item\",\"nav-menu-item\",{entityApiName:this.entityApiName,devNameOrId:n.section});this.dispatchEvent(E(\"select\",n.action,this.action))}}loadMenuItems(){if(this.state.dropdownItems===undefined||!this.state.loadedItems){this.state.loading=true}i.interaction(\"nav-dropdown-menu-trigger__menu-trigger-link\",\"nav-item-dropdown\",{entityApiName:this.entityApiName});const e=E(\"showmenu\",null,this.action);e.detail.entityApiName=this.entityApiName;e.detail.hasSubTabs=this.hasSubTabs;this.dispatchEvent(e)}handleClickOnPrimaryTab(){const e=this.template.querySelector(\"one-app-nav-bar-menu-button\");if(e){e.handleClickOnPrimaryTab()}}}t.registerDecorators(M,{publicProps:{label:{config:0},entityApiName:{config:0},hasSubTabs:{config:0},temporary:{config:0},action:{config:0},index:{config:0},isSecondaryTabTargetingEnabled:{config:0},dropdownMenuRevealedTargets:{config:0},tabHoverEnabled:{config:0},dropdownMenu:{config:3}},publicMethods:[\"close\",\"open\",\"handleClickOnPrimaryTab\"],track:{state:1},fields:[\"_dropdownMenu\"]});var D=t.registerComponent(M,{tmpl:T,sel:\"one-app-nav-bar-item-dropdown\",apiVersion:59});e.default=D;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"one-app-nav-bar-item-dropdown","descriptor":"markup://one:appNavBarItemDropdown","n":"one/appNavBarItemDropdown","ad":[["label",null,"G",false],["entityApiName",null,"G",false],["hasSubTabs",null,"G",false],["temporary",null,"G",false],["action",null,"G",false],["index",null,"G",false],["isSecondaryTabTargetingEnabled",null,"G",false],["dropdownMenuRevealedTargets",null,"G",false],["tabHoverEnabled",null,"G",false],["dropdownMenu",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://records:lwcDetailPanel', \"records/lwcDetailPanel\",[\"exports\",\"lwc\",\"records/baseRecordForm\",\"laf/pageCapability\",\"laf/templateApi\",\"laf/adgResolver\",\"force/wireUtils\",\"force/recordUiUtils\",\"@salesforce/accessCheck/Records.isRRHVersionIndicatorEnabled\",\"laf/windowUpdate\",\"@salesforce/gate/komaciInLex.lasr.ltng\",\"@salesforce/gate/komaciInLexRecordLayout.lasr.ltng\",\"@salesforce/client/formFactor\"],function(e,t,a,r,o,i,d,s,l,n,c,h,p){function m(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var u=m(a);var f=m(l);var T=m(c);var L=m(h);var y=m(p);function E(e,t,a){var r=e?\"[\"+e+\"]\":\"\";var o=e?\"[\"+e+\"-host]\":\"\";return(t?\":host {\":o+\" {\")+\"display: block;}.versionIndicator\"+r+\" {z-index: var(--lwc-zIndexDefault);border-radius: var(--lwc-borderRadiusMedium);right : 0;color: var(--slds-g-color-neutral-base-100, #ffffff);background-color: var(--slds-g-color-palette-cloud-blue-50, #337799);}\"}var g=[E];const R={classMap:{\"slds-is-relative\":true},key:0};const I={classMap:{\"slds-badge\":true,\"slds-theme_success\":true,\"slds-is-absolute\":true,versionIndicator:true},key:1};const b={classMap:{\"slds-modal__header\":true},key:2};const v={\"slds-modal__title\":true,\"slds-hyphenate\":true,\"slds-text-heading--medium\":true};function _(e,t,a,r){const{d:o,t:i,h:d,gid:s,b:l,c:n}=e;const{_m0:c}=r;return[t.isRRHVersionIndicatorEnabled?d(\"div\",R,[d(\"div\",I,[i(\"mode=\"+o(t.mode)+\", version=RRH\")])]):null,t.shouldShowHeader?d(\"div\",b,[d(\"h2\",{classMap:v,attrs:{id:s(t.pageHeaderId)},key:3},[i(o(t.pageTitle))])]):null,n(\"records-base-record-form\",u.default,{props:{mode:t.mode,fixedFooter:t.fixedFooter,layoutType:t.LAYOUT_TYPE,dynamicComponentType:t.DYNAMIC_COMPONENT_TYPE,recordLayoutTemplate:t.recordLayoutTemplate,recordLayoutTemplateLoadState:t.recordLayoutTemplateLoadState,recordId:t.recordId,recordTypeId:t.recordTypeId,defaultFieldValues:t.defaultFieldValues,objectApiName:t.objectApiName,flexipageRegionWidth:t.flexipageRegionWidth,variant:t.variant,errors:t.errors,isKomaciInLexEnabled:t.isKomaciInLexEnabled,pageTitle:t.pageTitle,showHeader:t.showHeader,shouldHideSaveAndNew:t.hideSaveAndNewOption},key:4,on:{baserecordformrendered:c||(r._m0=l(t.handleBaseFormRenderCompleted))}})]}var A=t.registerTemplate(_);_.stylesheets=[];if(g){_.stylesheets.push.apply(_.stylesheets,g)}_.stylesheetToken=\"lwc-2vd35b3jo08\";_.legacyStylesheetToken=\"records-lwcDetailPanel_lwcDetailPanel\";t.freezeTemplate(_);class D extends(r.CapabilityMixin(t.LightningElement)){constructor(){super();this.DYNAMIC_COMPONENT_TYPE=\"DetailPanel\";this.LAYOUT_TYPE=\"Full\";this.lwcDetailsReadsMarker=new s.ReadsMetrics(\"RecordHome.LWCDetailPanel\");this.markReadsDurationEnd=void 0;this.lwcDetails=void 0;this.mode=\"View\";this.navigationLocation=void 0;this.fixedFooter=false;this.recordId=void 0;this._recordTypeId=void 0;this.objectApiName=void 0;this.flexipageRegionWidth=void 0;this.variant=\"card\";this.recordLayoutTemplate=void 0;this.recordLayoutTemplateLoadState={loaded:false,hasError:false,errorMessage:null};this.showHeader=void 0;this.pageHeaderId=void 0;this.pageTitle=void 0;this.defaultFieldValues=void 0;this.errors=void 0;this.titleOverride=void 0;this.hasEditAccess=true;this.recordLayoutDataLoaded=this._recordLayoutDataLoaded.bind(this);this.handleRecordLayoutLoadErrorEvent=this._handleRecordLayoutLoadErrorEvent.bind(this);this.handleNoAccessError=this._handleNoAccessError.bind(this);this.perfMarkIdentifierForFullRender=s.markTransactionStart(\"performance:lwc-detail-panel-from-constructorToFullRender\",{})}get isRRHVersionIndicatorEnabled(){return f.default&&!this.isMobile}get isKomaciInLexEnabled(){return T.default.isOpen({fallback:false})&&L.default.isOpen({fallback:false})}get komaciNamespace(){return\"salesforceKomaci\"}get templateNamespace(){return\"forceGenerated\"}get templateModuleName(){return`detailPanel_${this.objectApiName}___${this.recordTypeId}___${this.LAYOUT_TYPE}___${this.mode}`}set recordTypeId(e){this._recordTypeId=e}get recordTypeId(){return this._recordTypeId}async loadTemplate(){if(!this._recordTypeId&&this.recordId){this._recordTypeId=await o.getRecordTypeId({recordId:this.recordId,objectApiName:this.objectApiName})}const e=\"DetailPanel\";i.instrumentedImport(`${this.templateNamespace}/${this.templateModuleName}`,i.ACTIVITIES.GENERATED_MODULE_IMPORT,e).then(e=>{this.recordLayoutTemplateLoadState.hasError=false;this.recordLayoutTemplate=e.default;this.recordLayoutTemplateLoadState.loaded=true}).catch(e=>{this.recordLayoutTemplateLoadState.hasError=true;this.recordLayoutTemplateLoadState.errorMessage=e.message;const t={errorStatus:e.status,errorText:e.statusText,errorBody:this.recordLayoutTemplateLoadState.errorMessage};s.logError({payload:t,source:\"records:lwcDetailPanel\",mode:this.mode});this.recordLayoutTemplateLoadState.loaded=true});i.instrumentedImport(`${this.komaciNamespace}/${this.templateNamespace}__${this.templateModuleName}`,i.ACTIVITIES.GENERATED_RESOLVABLE_MODULE_IMPORT,e).then(e=>{if(e&&e.default){i.resolveKomaci({recordId:this.recordId,objectApiName:this.objectApiName,recordTypeId:this.recordTypeId,layoutType:this.LAYOUT_TYPE,mode:this.mode,dynamicComponentType:\"DetailPanel\"},e.default)}})}onTemplate({data:e,error:t}){if(t){this.recordLayoutTemplateLoadState.hasError=true;this.recordLayoutTemplateLoadState.errorMessage=d.reduceUiApiWireErrors(t).join(\", \");const e={errorStatus:t.status,errorText:t.statusText,errorBody:this.recordLayoutTemplateLoadState.errorMessage};s.logError({payload:e,source:\"records:lwcDetailPanel\",mode:this.mode})}else if(e){if(e.adg){i.resolveAdg({recordId:this.recordId,objectApiName:this.objectApiName,recordTypeId:this.recordTypeId,layoutType:\"Full\",mode:this.mode,dynamicComponentType:\"DetailPanel\"},e.adg)}this.recordLayoutTemplateLoadState.hasError=false;this.recordLayoutTemplate=e.template}if(e||t){this.recordLayoutTemplateLoadState.loaded=true}}refresh(){this[r.CapabilityMixin.GetRegisteredCapabilities](r.RefreshCapability).forEach(e=>e[r.RefreshCapability]())}connectedCallback(){const e={recordId:this.recordId,objectApiName:s.getInstrumentedObjectNameFromApiName(this.objectApiName),mode:this.mode};this.markReadsDurationEnd=this.lwcDetailsReadsMarker.trackValue();this.perfMarkIdentifierForRender=s.markTransactionStart(\"performance:lwc-detail-panel-from-connectedCallbackToFullRender\",e);this[r.CapabilityMixin.ExposeCapabilities]({[r.RefreshCapability]:this.refresh.bind(this)});this[r.CapabilityMixin.EnableListener](r.RefreshCapability);this.template.addEventListener(s.RecordUiConstants.RECORD_LAYOUT_DATA_LOADED,this.recordLayoutDataLoaded);this.template.addEventListener(s.RecordUiConstants.RECORD_LAYOUT_NO_EDIT_ACCESS,this.handleNoAccessError);this.template.addEventListener(s.RecordUiConstants.RECORD_LAYOUT_LOADERROR,this.handleRecordLayoutLoadErrorEvent);if(this.isKomaciInLexEnabled){this.loadTemplate()}}disconnectedCallback(){this[r.CapabilityMixin.ConcealCapabilities]();this.template.removeEventListener(s.RecordUiConstants.RECORD_LAYOUT_DATA_LOADED,this.recordLayoutDataLoaded);this.template.removeEventListener(s.RecordUiConstants.RECORD_LAYOUT_NO_EDIT_ACCESS,this.handleNoAccessError);this.template.removeEventListener(s.RecordUiConstants.RECORD_LAYOUT_LOADERROR,this.handleRecordLayoutLoadErrorEvent)}_recordLayoutDataLoaded(e){if(this.mode!==s.RecordUiConstants.MODE_VIEW){this.showHeader=true;this.setPageTitleContent(e.detail.pageTitleInfo);this.dispatchEvent(new n.WindowUpdateEvent(this.pageTitle))}else{const e={mode:this.mode};this.lwcDetailsReadsMarker.incrementCounter(\"lwcDetailsDataLoaded\",false,e);this.markReadsDurationEnd(\"lwcDetailsDataLoaded\",false,e)}}setPageTitleContent(e){if(this.titleOverride){this.pageTitle=this.titleOverride}else if(e){if(e.localizedHeaderLabel&&e.localizedHeaderLabel.length>0){this.pageTitle=e.localizedHeaderLabel}else{this.pageTitle=s.RecordUiHelpers.getPageTitle(this.mode,e.recordDisplayName,e.recordTypeName);this.pageHeaderId=this.pageTitle.toLowerCase().replace(\" \",\"-\")}}}handleBaseFormRenderCompleted(){if(this.perfMarkIdentifierForFullRender){const e={recordId:this.recordId,objectApiName:s.getInstrumentedObjectNameFromApiName(this.objectApiName),mode:this.mode};s.markTransactionEnd(this.perfMarkIdentifierForFullRender.perfKey,e)}}renderedCallback(){if(this.perfMarkIdentifierForRender){s.markTransactionEnd(this.perfMarkIdentifierForRender.perfKey,this.perfMarkIdentifierForRender.perfContext)}}get shouldShowHeader(){return this.showHeader&&this.hasEditAccess&&!this.isMobile}get isMobile(){return y.default===\"Small\"||y.default===\"Medium\"}_handleNoAccessError(){this.hasEditAccess=false}_handleRecordLayoutLoadErrorEvent(e){const t={mode:this.mode};this.lwcDetailsReadsMarker.incrementCounter(\"lwcDetailsDataLoaded\",true,t);this.markReadsDurationEnd(\"lwcDetailsDataLoaded\",s.RecordErrorsLibrary.onLoadErrorMsg(e),t)}get hideSaveAndNewOption(){if(this.navigationLocation===s.RecordUiConstants.NAVIGATION_LOCATION.LOOKUP){return true}return false}}t.registerDecorators(D,{publicProps:{lwcDetails:{config:0},mode:{config:0},navigationLocation:{config:0},fixedFooter:{config:0},recordId:{config:0},objectApiName:{config:0},flexipageRegionWidth:{config:0},variant:{config:0},showHeader:{config:0},defaultFieldValues:{config:0},errors:{config:0},titleOverride:{config:0},recordTypeId:{config:3}},track:{recordLayoutTemplate:1,recordLayoutTemplateLoadState:1,pageHeaderId:1,pageTitle:1,hasEditAccess:1},wire:{onTemplate:{adapter:o.getRecordLayoutTemplate,dynamic:[\"recordId\",\"objectApiName\",\"recordTypeId\",\"mode\"],method:1,config:function(e){return{layoutType:\"Full\",dynamicComponentType:\"DetailPanel\",recordId:e.recordId,objectApiName:e.objectApiName,recordTypeId:e.recordTypeId,mode:e.mode}}}},fields:[\"DYNAMIC_COMPONENT_TYPE\",\"LAYOUT_TYPE\",\"lwcDetailsReadsMarker\",\"markReadsDurationEnd\",\"_recordTypeId\"]});var C=t.registerComponent(D,{tmpl:A,sel:\"records-lwc-detail-panel\",apiVersion:59});e.default=C;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"records-lwc-detail-panel","descriptor":"markup://records:lwcDetailPanel","n":"records/lwcDetailPanel","ad":[["lwcDetails",null,"G",false],["mode",null,"G",false,"View"],["navigationLocation",null,"G",false],["fixedFooter",null,"G",false,false],["recordId",null,"G",false],["objectApiName",null,"G",false],["flexipageRegionWidth",null,"G",false],["variant",null,"G",false,"card"],["showHeader",null,"G",false],["defaultFieldValues",null,"G",false],["errors",null,"G",false],["titleOverride",null,"G",false],["recordTypeId",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://records:lwcHighlightsPanel', \"records/lwcHighlightsPanel\",[\"exports\",\"lwc\",\"force/placeholder2\",\"records/lwcRecordLayout\",\"force/onboardingManagerLib\",\"force/recordUiUtils\",\"laf/pageCapability\",\"laf/templateApi\",\"laf/adgResolver\",\"@salesforce/label/Errors.UnhandledExceptionError\",\"@salesforce/label/DetailError.EntitySaveErrorSummary\",\"force/wireUtils\",\"@salesforce/gate/komaciInLex.lasr.ltng\",\"@salesforce/gate/komaciInLexRecordLayout.lasr.ltng\"],function(e,t,a,r,o,i,s,d,l,c,n,h,p,u){function m(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var L=m(a);var y=m(r);var g=m(c);var E=m(n);var T=m(p);var f=m(u);function R(e,t,a){var r=e?\"[\"+e+\"]\":\"\";var o=e?\"[\"+e+\"-host]\":\"\";return(t?\":host records-lwc-record-layout\":o+\" records-lwc-record-layout\")+r+\" {display: block;}\"}var b=[R];const C={classMap:{\"slds-card\":true,\"record-layout-load-error-container\":true},key:1};const A={classMap:{\"slds-p-around_medium\":true},key:2};const _={classMap:{\"slds-text-title_bold\":true,\"slds-p-bottom_small\":true},key:3};const M={classMap:{\"slds-p-bottom_x-small\":true},key:4};const v={key:5};function D(e,t,a,r){const{c:o,d:i,t:s,h:d,b:l}=e;const{_m0:c}=r;return[!t.recordLayoutTemplateLoadState.hasError?o(\"force-placeholder2\",L.default,{props:{name:t.computedPlaceholder},key:0}):null,t.isRecordLayoutTemplateLoadedWithError?d(\"div\",C,[d(\"div\",A,[d(\"p\",_,[s(i(t.i18n.EntitySaveErrorSummary))]),d(\"p\",M,[s(i(t.i18n.UnhandledExceptionError))]),t.recordLayoutTemplateLoadState.errorMessage?d(\"p\",v,[s(i(t.recordLayoutTemplateLoadState.errorMessage))]):null])]):null,t.isRecordLayoutTemplateLoadedNoError?o(\"records-lwc-record-layout\",y.default,{props:{recordLayoutTemplate:t.recordLayoutTemplate,width:t.flexipageRegionWidth,mode:t.MODE,layoutType:t.LAYOUT_TYPE,recordId:t.recordId,objectApiName:t.objectApiName,numVisibleActions:t.numVisibleActions,dynamicComponentType:t.DYNAMIC_COMPONENT_TYPE,collapsed:t.computedCollapsed,truncateFields:t.truncateFields,hideChatterActions:t.hideChatterActions,actionNames:t.actionNames,enableActionsConfiguration:t.enableActionsConfiguration,isKomaciInLexEnabled:t.isKomaciInLexEnabled},key:6,on:{recordlayoutrendered:c||(r._m0=l(t.handleRecordLayoutRendered))}}):null]}var N=t.registerTemplate(D);D.stylesheets=[];if(b){D.stylesheets.push.apply(D.stylesheets,b)}D.stylesheetToken=\"lwc-1u58m2bduv8\";D.legacyStylesheetToken=\"records-lwcHighlightsPanel_lwcHighlightsPanel\";t.freezeTemplate(D);class S extends(s.CapabilityMixin(t.LightningElement)){constructor(){super();this.DYNAMIC_COMPONENT_TYPE=\"HighlightsPanel\";this.MODE=\"View\";this.LAYOUT_TYPE=\"Compact\";this.lwcHighlightsPanelReadsMarker=new i.ReadsMetrics(\"RecordHome.LWCHighlightsPanel\");this.markReadsDurationEnd=void 0;this.recordId=void 0;this.objectApiName=void 0;this.numVisibleActions=void 0;this.hideChatterActions=void 0;this.flexipageRegionWidth=void 0;this.collapsed=void 0;this.actionNames=void 0;this.enableActionsConfiguration=void 0;this.recordLayoutTemplate=void 0;this.recordLayoutTemplateLoadState={loaded:false,hasError:false,errorMessage:null};this.recordTypeId=void 0;o.showPrompt(\"SimpleRecordHome\");o.showPrompt(\"SimpleRecordHomeUser\");this.handleRecordLayoutLoadErrorEvent=this._handleRecordLayoutLoadErrorEvent.bind(this);this.recordLayoutDataLoaded=this._recordLayoutDataLoaded.bind(this)}get isVertical(){return this.flexipageRegionWidth===i.RecordUiConstants.flexipageWidthEnum.SMALL}get computedPlaceholder(){if(this.computedCollapsed){return\"highlights_collapsed\"}else if(this.isVertical){return\"highlights_vertical\"}return\"highlights\"}get computedCollapsed(){return this.collapsed===true||this.collapsed===\"true\"}get isRecordLayoutTemplateLoadedWithError(){if(this.recordLayoutTemplateLoadState){return this.recordLayoutTemplateLoadState.loaded&&this.recordLayoutTemplateLoadState.hasError}return undefined}get isRecordLayoutTemplateLoadedNoError(){if(this.recordLayoutTemplateLoadState){return this.recordLayoutTemplateLoadState.loaded&&!this.recordLayoutTemplateLoadState.hasError}return undefined}get isKomaciInLexEnabled(){return T.default.isOpen({fallback:false})&&f.default.isOpen({fallback:false})}get komaciNamespace(){return\"salesforceKomaci\"}get templateNamespace(){return\"forceGenerated\"}get templateModuleName(){return`highlightsPanel_${this.objectApiName}___${this.recordTypeId}___${this.LAYOUT_TYPE}___${this.MODE}`}async loadTemplate(){this.recordTypeId=await d.getRecordTypeId({recordId:this.recordId,objectApiName:this.objectApiName});const e=\"HighlightsPanel\";l.instrumentedImport(`${this.templateNamespace}/${this.templateModuleName}`,l.ACTIVITIES.GENERATED_MODULE_IMPORT,e).then(e=>{this.recordLayoutTemplateLoadState.hasError=false;this.recordLayoutTemplate=e.default;this.recordLayoutTemplateLoadState.loaded=true}).catch(e=>{this.recordLayoutTemplateLoadState.hasError=true;this.recordLayoutTemplateLoadState.errorMessage=e.message;this.hidePlaceholder();const t={errorStatus:e.status,errorText:e.statusText,errorBody:this.recordLayoutTemplateLoadState.errorMessage};i.logError({payload:t,source:\"records:lwcHighlightsPanelTemplateImport\"});this.recordLayoutTemplateLoadState.loaded=true});l.instrumentedImport(`${this.komaciNamespace}/${this.templateNamespace}__${this.templateModuleName}`,l.ACTIVITIES.GENERATED_RESOLVABLE_MODULE_IMPORT,e).then(e=>{if(e&&e.default){l.resolveKomaci({recordId:this.recordId,objectApiName:this.objectApiName,layoutType:\"Compact\",mode:this.MODE,dynamicComponentType:\"HighlightsPanel\"},e.default)}})}onTemplate({data:e,error:t}){if(t){this.recordLayoutTemplateLoadState.hasError=true;this.recordLayoutTemplateLoadState.errorMessage=h.reduceUiApiWireErrors(t).join(\", \");this.hidePlaceholder();const e={errorStatus:t.status,errorText:t.statusText,errorBody:this.recordLayoutTemplateLoadState.errorMessage};i.logError({payload:e,source:\"records:lwcHighlightsPanelTemplateWire\"})}else if(e){if(e.adg){l.resolveAdg({recordId:this.recordId,objectApiName:this.objectApiName,layoutType:\"Compact\",mode:\"View\",dynamicComponentType:\"HighlightsPanel\"},e.adg)}this.recordLayoutTemplateLoadState.hasError=false;this.recordLayoutTemplate=e.template}if(e||t){this.recordLayoutTemplateLoadState.loaded=true}}refresh(){this[s.CapabilityMixin.GetRegisteredCapabilities](s.RefreshCapability).forEach(e=>e[s.RefreshCapability]())}connectedCallback(){this.markReadsDurationEnd=this.lwcHighlightsPanelReadsMarker.trackValue();this[s.CapabilityMixin.ExposeCapabilities]({[s.RefreshCapability]:this.refresh.bind(this)});this[s.CapabilityMixin.EnableListener](s.RefreshCapability);this.template.addEventListener(i.RecordUiConstants.RECORD_LAYOUT_DATA_LOADED,this.recordLayoutDataLoaded);this.template.addEventListener(i.RecordUiConstants.RECORD_LAYOUT_LOADERROR,this.handleRecordLayoutLoadErrorEvent);if(this.isKomaciInLexEnabled){this.loadTemplate()}}disconnectedCallback(){this[s.CapabilityMixin.ConcealCapabilities]();this.template.removeEventListener(i.RecordUiConstants.RECORD_LAYOUT_DATA_LOADED,this.recordLayoutDataLoaded);this.template.removeEventListener(i.RecordUiConstants.RECORD_LAYOUT_LOADERROR,this.handleRecordLayoutLoadErrorEvent)}get i18n(){return{UnhandledExceptionError:g.default,EntitySaveErrorSummary:E.default}}get truncateFields(){return!this.isVertical}handleRecordLayoutRendered(){this.hidePlaceholder()}hidePlaceholder(){const e=this.template.querySelector(\"force-placeholder2\");if(e){e.hide()}}_handleRecordLayoutLoadErrorEvent(e){this.recordLayoutTemplateLoadState={errorMessage:i.RecordErrorsLibrary.onLoadErrorMsg(e,this.objectApiName),loaded:this.recordLayoutTemplateLoadState.loaded,hasError:true};const t={mode:\"View\"};this.lwcHighlightsPanelReadsMarker.incrementCounter(\"lwcHighlightsDataLoaded\",true,t);this.markReadsDurationEnd(\"lwcHighlightsDataLoaded\",i.RecordErrorsLibrary.onLoadErrorMsg(e),t)}_recordLayoutDataLoaded(){const e={mode:\"View\"};this.lwcHighlightsPanelReadsMarker.incrementCounter(\"lwcHighlightsDataLoaded\",false,e);this.markReadsDurationEnd(\"lwcHighlightsDataLoaded\",false,e)}}t.registerDecorators(S,{publicProps:{recordId:{config:0},objectApiName:{config:0},numVisibleActions:{config:0},hideChatterActions:{config:0},flexipageRegionWidth:{config:0},collapsed:{config:0},actionNames:{config:0},enableActionsConfiguration:{config:0}},track:{recordLayoutTemplate:1,recordLayoutTemplateLoadState:1},wire:{onTemplate:{adapter:d.getRecordLayoutTemplate,dynamic:[\"recordId\",\"objectApiName\"],method:1,config:function(e){return{layoutType:\"Compact\",mode:\"View\",dynamicComponentType:\"HighlightsPanel\",recordId:e.recordId,objectApiName:e.objectApiName}}}},fields:[\"DYNAMIC_COMPONENT_TYPE\",\"MODE\",\"LAYOUT_TYPE\",\"lwcHighlightsPanelReadsMarker\",\"markReadsDurationEnd\",\"recordTypeId\"]});var P=t.registerComponent(S,{tmpl:N,sel:\"records-lwc-highlights-panel\",apiVersion:59});e.default=P;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"records-lwc-highlights-panel","descriptor":"markup://records:lwcHighlightsPanel","n":"records/lwcHighlightsPanel","ad":[["recordId",null,"G",false],["objectApiName",null,"G",false],["numVisibleActions",null,"G",false],["hideChatterActions",null,"G",false],["flexipageRegionWidth",null,"G",false],["collapsed",null,"G",false],["actionNames",null,"G",false],["enableActionsConfiguration",null,"G",false]]},{"xs":"P","co":"function() { $A.componentService.addModule('markup://support:inlineToast', \"support/inlineToast\",[\"exports\",\"lwc\",\"lightning/icon\"],function(e,t,s){function l(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var n=l(s);const i={classMap:{\"slds-theme--success\":true,\"slds-scoped-notification\":true},key:0};const a={\"slds-m-right--small\":true};const o={classMap:{\"slds-align-middle\":true,\"slds-text-heading--small\":true},key:2};function r(e,t,s,l){const{c:r,d:c,t:p,h:u}=e;return[u(\"div\",i,[r(\"lightning-icon\",n.default,{classMap:a,props:{iconName:\"utility:success\",variant:\"inverse\",alternativeText:t.label},key:1}),u(\"span\",o,[p(c(t.label))])])]}var c=t.registerTemplate(r);r.stylesheets=[];r.stylesheetToken=\"lwc-3d2datofp6p\";r.legacyStylesheetToken=\"support-inlineToast_inlineToast\";t.freezeTemplate(r);class p extends t.LightningElement{constructor(...e){super(...e);this.label=void 0}}t.registerDecorators(p,{publicProps:{label:{config:0}}});var u=t.registerComponent(p,{tmpl:c,sel:\"support-inline-toast\",apiVersion:59});e.default=u;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"support-inline-toast","descriptor":"markup://support:inlineToast","n":"support/inlineToast","ad":[["label",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://records:recordEditError', \"records/recordEditError\",[\"exports\",\"lwc\",\"lightning/button\",\"@salesforce/label/Errors.EditErrorHelp\",\"@salesforce/label/InlineEdit.SaveFieldErrorSummary\",\"@salesforce/label/Errors.Reload\",\"@salesforce/label/Errors.ErrorPopoverHeading\"],function(e,r,s,t,l,o,i){function a(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var d=a(s);var n=a(t);var c=a(l);var h=a(o);var u=a(i);function f(e,r,s){var t=e?\"[\"+e+\"]\":\"\";return\".slds-popover__body\"+t+\" {max-height: calc(100vh - 200px);}\"}var v=[f];const E={classMap:{\"slds-popover__body\":true},key:0};const g={classMap:{pageLevelErrors:true},key:1};const p={classMap:{genericNotification:true},key:2};const y={classMap:{errorsList:true,\"slds-list_dotted\":true,\"slds-m-left_medium\":true},key:4};const L={classMap:{genericNotification:true},key:7};const k={classMap:{errorsList:true,\"slds-list_dotted\":true,\"slds-m-left_medium\":true},key:9};const b={classMap:{\"slds-align_absolute-center\":true},key:12};const m={\"slds-m-horizontal_xx-small\":true};function _(e,r,s,t){const{d:l,t:o,h:i,k:a,i:n,b:c,c:h}=e;const{_m0:u,_m1:f}=t;return[i(\"div\",E,[r.showPageErrors?i(\"div\",g,[i(\"div\",p,[i(\"strong\",{attrs:{\"aria-label\":r.ariaPageError},key:3},[o(l(r.i18n.PageLevelError))])]),i(\"ul\",y,n(r.errors.pageLevelErrors,function(e){return i(\"li\",{key:a(5,e)},[o(l(e))])}))]):null,r.showFieldErrors?i(\"div\",{className:r.calculateFieldErrorsClass,key:6},[i(\"div\",L,[i(\"strong\",{attrs:{\"aria-label\":r.ariaFieldError},key:8},[o(l(r.i18n.FieldLevelError))])]),i(\"ul\",k,n(r.errors.fieldLevelErrors,function(e,s){return i(\"li\",{key:a(10,e.fieldLabel)},[!e.disableLink?i(\"a\",{attrs:{href:\"javascript:void(0)\",\"data-index\":s},key:11,on:{click:u||(t._m0=c(r.onFieldClick))}},[o(l(e.fieldLabel))]):null,e.disableLink?o(l(e.fieldLabel)):null])}))]):null,r.showReloadButton?i(\"div\",b,[h(\"lightning-button\",d.default,{classMap:m,props:{title:r.i18n.ReloadLabel,label:r.i18n.ReloadLabel},key:13,on:{click:f||(t._m1=c(r.onReload))}})]):null])]}var F=r.registerTemplate(_);_.stylesheets=[];if(v){_.stylesheets.push.apply(_.stylesheets,v)}_.stylesheetToken=\"lwc-1v0sjpqissb\";_.legacyStylesheetToken=\"records-recordEditError_recordEditError\";r.freezeTemplate(_);class R extends r.LightningElement{constructor(...e){super(...e);this.errors=void 0;this.handleReloadRecord=void 0;this.handleFieldClick=void 0;this.headerText=u.default}get ariaPageError(){return this.headerText?this.headerText+\" \"+this.i18n.PageLevelError:this.i18n.PageLevelError}get ariaFieldError(){return this.headerText?this.headerText+\" \"+this.i18n.FieldLevelError:this.i18n.FieldLevelError}get showPageErrors(){return this.errors&&this.errors.pageLevelErrors&&Object.keys(this.errors.pageLevelErrors).length}get showFieldErrors(){return this.errors&&this.errors.fieldLevelErrors&&Object.keys(this.errors.fieldLevelErrors).length}get showReloadButton(){return this.errors&&this.errors.collisionDetected}get calculateFieldErrorsClass(){let e=\"fieldLevelErrors\";if(this.showPageErrors){e+=\" slds-m-vertical_small\"}return e}get i18n(){return{PageLevelError:n.default,FieldLevelError:c.default,ReloadLabel:h.default}}onReload(){if(typeof this.handleReloadRecord===\"function\"){this.handleReloadRecord()}}onFieldClick(e){if(typeof this.handleFieldClick===\"function\"){const r=e.target.attributes[\"data-index\"];if(r){const e=r.value;if(this.errors&&this.errors.fieldLevelErrors&&this.errors.fieldLevelErrors[e]){const r=this.errors.fieldLevelErrors[e];this.handleFieldClick(r)}}}}}r.registerDecorators(R,{publicProps:{errors:{config:0},handleReloadRecord:{config:0},handleFieldClick:{config:0},headerText:{config:0}}});var x=r.registerComponent(R,{tmpl:F,sel:\"records-record-edit-error\",apiVersion:59});e.default=x;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"records-record-edit-error","descriptor":"markup://records:recordEditError","n":"records/recordEditError","ad":[["errors",null,"G",false],["handleReloadRecord",null,"G",false],["handleFieldClick",null,"G",false],["headerText",null,"G",false,"@salesforce/label/Errors.ErrorPopoverHeading"]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://feeds_paging:showNextTrigger', \"feeds_paging/showNextTrigger\",[\"exports\",\"lwc\",\"feeds_paging/showEventTrigger\"],function(e,t,r){function s(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var n=s(r);function g(e,t,r,s){const{c:g}=e;return[g(\"feeds_paging-show-event-trigger\",n.default,{props:{eventName:\"shownext\",label:t.label},key:0})]}var i=t.registerTemplate(g);g.stylesheets=[];g.stylesheetToken=\"lwc-4nf6mfic1d8\";g.legacyStylesheetToken=\"feeds_paging-showNextTrigger_showNextTrigger\";t.freezeTemplate(g);class o extends t.LightningElement{constructor(...e){super(...e);this.label=void 0}}t.registerDecorators(o,{publicProps:{label:{config:0}}});var l=t.registerComponent(o,{tmpl:i,sel:\"feeds_paging-show-next-trigger\",apiVersion:59});e.default=l;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"feeds_paging-show-next-trigger","descriptor":"markup://feeds_paging:showNextTrigger","n":"feeds_paging/showNextTrigger","ad":[["label",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://records:formFooter', \"records/formFooter\",[\"exports\",\"lwc\",\"force/formFooterSaveOptions\",\"lightning/icon\",\"lightning/button\",\"runtime_platform_actions/providerObjectCreate\",\"runtime_platform_actions/actionsRibbon\",\"runtime_platform_actions/providerRecordEdit\",\"force/duplicatesManager\",\"force/recordUiUtils\",\"lightning/uiObjectInfoApi\",\"lightning/deprecatedOverlayUtils\",\"instrumentation/service\",\"@salesforce/accessCheck/isHeadlessFooterEnabled\",\"force/recordVisibilityChangesNotice\",\"records/recordEditError\",\"records/recordEditErrorHeader\",\"force/dedupeContent\",\"@salesforce/label/DynamicFormsFieldVisibility.FieldsChangedHeader\",\"@salesforce/label/DuplicateList.NonBlockingHeaderText\",\"@salesforce/label/Errors.ErrorPopoverHeading\",\"records/baseRecordFormToolbar\"],function(e,r,o,t,s,n,i,a,l,c,d,p,h,f,u,v,m,g,b,E,y,P){function I(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var w=I(o);var _=I(t);var S=I(s);var C=I(n);var k=I(i);var R=I(a);var F=I(l);var O=I(f);var A=I(u);var N=I(v);var T=I(m);var j=I(g);var x=I(b);var H=I(E);var M=I(y);var D=I(P);function z(e,r,o){var t=e?\"[\"+e+\"]\":\"\";var s=e?\"[\"+e+\"-host]\":\"\";return(r?\":host{\":s+\"{\")+\"background: rgba(236, 235, 234, 0.9);right: 0;width: initial;}\"+(r?\":host(:empty) {\":s+\":empty {\")+\"padding: 0;}\"+(r?\":host > div\":s+\" > div\")+t+\" {display: flex;justify-content: center;padding: var(--lwc-spacingXSmall,0.5rem) 0;}.footer-button\"+t+\"+.footer-button\"+t+\" {margin-left: var(--lwc-varSpacingHorizontalXxSmall);}.footer-with-save-options\"+t+\" {width: 100%;}.left-align-save-options\"+t+\" {margin-right: auto;height: 100%;padding: 0 var(--lwc-varSpacingHorizontalSmall, 2rem);align-items: center;display: flex;}.right-align-buttons\"+t+\" {margin-left: auto;padding: 0 var(--lwc-varSpacingHorizontalSmall, 2rem);align-items: center;display: flex;width: max-content}.center-align-buttons\"+t+\" {display: flex;}.max-width\"+t+\" {width: max-content}\"}var L=[z];const q={\"footer-button\":true,\"page-info-button\":true,\"slds-button\":true,\"slds-button_icon\":true,\"slds-m-right_small\":true};const B={\"footer-button\":true,\"page-error-button\":true,\"slds-button\":true,\"slds-button_icon-error\":true,\"slds-m-right_small\":true};const V={\"footer-button\":true,\"cancel-button\":true};const U={\"footer-button\":true,\"save-and-new-button\":true};const W={\"footer-button\":true,\"save-button\":true};const G={slot:\"actionsProvider\"};function X(e,r,o,t){const{c:s,h:n,b:i}=e;const{_m0:a,_m1:l,_m2:c,_m3:d,_m4:p,_m5:h,_m6:f,_m7:u,_m8:v,_m9:m,_m10:g,_m11:b}=t;return[r.state.visible?n(\"div\",{className:r.computedFooterClass,key:0},[r.showSaveOptions?n(\"div\",{className:r.computedSaveOptionsContainerClass,key:1},[s(\"force-form-footer-save-options\",w.default,{props:{optionType:r.optionType,options:r.saveOptions},key:2})]):null,n(\"div\",{className:r.computedFooterActionButtonsContainerClass,key:3},[r.showInfoIcon?n(\"button\",{classMap:q,key:4,on:{click:a||(t._m0=i(r.onToggleInfoPanel))}},[s(\"lightning-icon\",_.default,{props:{iconName:r.infoIcon.name,variant:r.infoIcon.variant,size:\"small\",title:r.i18n.InfoIconLabel,alternativeText:r.i18n.InfoIconLabel},key:5})]):null,r.showErrorIcon?n(\"button\",{classMap:B,attrs:{\"aria-haspopup\":\"true\",\"aria-expanded\":r.isPageErrorPopoverActive},key:6,on:{click:l||(t._m1=i(r.onToggleErrorPanel))}},[s(\"lightning-icon\",_.default,{props:{iconName:r.errorIcon.name,variant:r.errorIcon.variant,size:\"small\",title:r.i18n.ErrorIconLabel,alternativeText:r.i18n.ErrorIconLabel},key:7})]):null,!r.isHeadlessFooterReady?n(\"div\",{className:r.computedActionButtonsContainerClass,key:8},[s(\"lightning-button\",S.default,{classMap:V,props:{title:r.i18n.CancelLabel,label:r.i18n.CancelLabel,disabled:r.disabled},key:9,on:{click:c||(t._m2=i(r.onCancel))}}),r.calculateShowSaveAndNew?s(\"lightning-button\",S.default,{classMap:U,props:{title:r.i18n.SaveAndNewLabel,label:r.i18n.SaveAndNewLabel,disabled:r.disabled},key:10,on:{click:d||(t._m3=i(r.onSaveAndNew))}}):null,s(\"lightning-button\",S.default,{classMap:W,props:{title:r.i18n.SaveLabel,label:r.i18n.SaveLabel,disabled:r.disabled,variant:\"brand\"},key:11,on:{click:p||(t._m4=i(r.onSave))}})]):null,r.isHeadlessFooterReady?n(\"div\",{className:r.computedActionButtonsContainerClass,key:12},[r.isModeCreateClone?s(\"runtime_platform_actions-actions-ribbon\",k.default,{props:{ungrouped:\"true\",buttonVariantMap:r.buttonVariantMap,disabled:r.disabled},key:13,on:{formfootersave:h||(t._m5=i(r.onSave)),formfootercancel:f||(t._m6=i(r.onCancel)),formfootersaveandnew:u||(t._m7=i(r.onSaveAndNew))}},[s(\"runtime_platform_actions-provider-object-create\",C.default,{attrs:G,props:{objectApiName:r.objectApiName,showSaveAndNew:r.showSaveAndNew},key:14})]):null,!r.isModeCreateClone?s(\"runtime_platform_actions-actions-ribbon\",k.default,{props:{ungrouped:\"true\",buttonVariantMap:r.buttonVariantMap,disabled:r.disabled},key:15,on:{formfootersave:v||(t._m8=i(r.onSave)),formfootercancel:m||(t._m9=i(r.onCancel)),formfootersaveandnew:g||(t._m10=i(r.onSaveAndNew))}},[s(\"runtime_platform_actions-provider-record-edit\",R.default,{attrs:G,props:{objectApiName:r.objectApiName,recordId:r.recordId,showSaveAndNew:r.showSaveAndNew},key:16})]):null]):null]),s(\"force-duplicates-manager\",F.default,{props:{mode:r.modeForDuplicatesManager,objectApiName:r.objectApiName,recordTypeId:r.recordTypeId,predupeEnabled:true},key:17,on:{forceduplicatesdetected:b||(t._m11=i(r.handleDuplicatesDetected))}})]):null]}var Z=r.registerTemplate(X);X.stylesheets=[];if(L){X.stylesheets.push.apply(X.stylesheets,L)}X.stylesheetToken=\"lwc-34n15cmj79s\";X.legacyStylesheetToken=\"records-formFooter_formFooter\";r.freezeTemplate(X);const J=\".page-error-button\";const K=\".page-info-button\";const Q=\"force-form-footer-save-options\";const Y=\".cancel-button\";const $=\"CancelEdit\";const ee=\".save-button\";const re=\"SaveEdit\";function oe(){return O.default}class te extends D.default{constructor(...e){super(...e);this.showErrorIcon=void 0;this.showInfoIcon=void 0;this.objectInfo=void 0;this.pageErrorPopover=void 0;this.pageInfoPopover=void 0;this.errorIcon={name:\"utility:error\",variant:\"error\"};this.infoIcon={name:\"utility:info\",variant:\"info\"}}handleGetObjectInfo(e){const{error:r,data:o}=e;if(r){c.logError({error:r,source:\"records:formFooter\"})}else if(o){this.objectInfo=o}}get calculateShowSaveAndNew(){const e=this.objectInfo?this.objectInfo.createable:false;return this.showSaveAndNew&&e}get isHeadlessFooterReady(){return oe()}get isPageErrorPopoverActive(){return this.pageErrorPopover!=null}renderedCallback(){super.renderedCallback();if(this.showPopoverOnIconRender&&this.errors){const e=this.getPopoverReferenceElement();if(e){this.showPopoverOnIconRender=false;this.launchPopoverWithReference(this.errors,e)}}const e=this.getFooterSaveOptions();if(e&&!this._resizeObserver){const r=this;this._resizeObserver=new ResizeObserver(()=>{r.dispatchEvent(new CustomEvent(c.RecordUiConstants.FORM_FOOTER_RESIZE,{bubbles:true,composed:true,cancelable:true}))});this._resizeObserver.observe(e)}}instrumentClick(e){h.interaction(e+\"-button\",\"form-footer\",{formFactor:\"desktop\"})}async onSave(){await this.resetErrors(true);this.instrumentClick(\"save\");if(!this.isHeadlessFooterReady){this.fireSaveEvent()}}async onSaveAndNew(){await this.resetErrors(true);this.instrumentClick(\"saveAndNew\");if(!this.isHeadlessFooterReady){this.fireSaveAndNewEvent()}}onHide(){this.state.visible=false;this.fireEvent=true;this.errors={};this.visibilityChanges={};this.showErrorIcon=false;this.showInfoIcon=false;this.showPopoverOnIconRender=false;this.destroyPageErrorPopover(false);this.destroyPageInfoPopover()}onSetVisibilityChanges(e){if(this.state.visible){this.visibilityChanges=e;this.showInfoIcon=true;if(this.pageInfoPopover){this.showInfoPopover()}}}onSetErrors(e){if(this.state.visible){const r=e.visibilityChanges?e:c.RecordUiHelpers.getCollapsedErrorState(e,this.mode);if(this.hasErrors(r)){this.showErrorPopover(r)}else{this.resetErrors(false)}}}resetErrors(e){return new Promise(r=>{this.showErrorIcon=false;this.showPopoverOnIconRender=false;this.destroyPageErrorPopover(e);r()})}onCancel(){this.instrumentClick(\"cancel\");if(!this.isHeadlessFooterReady){this.fireCancelEvent()}}focusCancelButton(){if(this.state.visible){if(!this.isHeadlessFooterReady){this.template.querySelector(Y).focus()}else{const e=this.template.querySelector(\"runtime_platform_actions-actions-ribbon\");if(e){e.focusOnAction($)}}}}getCancelElement(){let e;if(this.state.visible){if(!this.isHeadlessFooterReady){e=this.template.querySelector(Y)}else{const r=this.template.querySelector(\"runtime_platform_actions-actions-ribbon\");if(r){e=r.getActionElement($)}}}return e}getSaveElement(){let e;if(this.state.visible){if(!this.isHeadlessFooterReady){e=this.template.querySelector(ee)}else{const r=this.template.querySelector(\"runtime_platform_actions-actions-ribbon\");if(r){e=r.getActionElement(re)}}}return e}onToggleErrorPanel(){const e={};Object.assign(e,this.errors);this.showPopoverOnIconRender=false;if(this.pageErrorPopover){this.destroyPageErrorPopover(true)}else{this.showErrorPopover(e)}}onToggleInfoPanel(){if(this.pageInfoPopover){this.destroyPageInfoPopover()}else{if(this.pageErrorPopover){this.destroyPageErrorPopover(true)}this.showInfoPopover()}}handleDuplicateError(e){let o;this.errorIcon=this.getDuplicateErrorIcon(e.blocksSave);const t=r.createElement(\"force-dedupe-content\",{is:j.default});t.error=e;const s=t;if(e&&e.blocksSave){o=\"forceFormPageError,slds-popover,slds-popover_error\"}else{o=\"forceFormPageError,slds-popover,slds-popover_warning\"}if(!e.blocksSave){this._nonBlockingDuplicateErrorSet=true}return[s,this.errorIcon.name,o]}showErrorPopover(e){this.showErrorIcon=true;this.showPopoverOnIconRender=false;this.destroyPageInfoPopover();this.destroyPageErrorPopover(false);this.errors={};Object.assign(this.errors,e);const r=this.getPopoverReferenceElement();if(r){this.launchPopoverWithReference(e,r)}else{this.showPopoverOnIconRender=true}}showInfoPopover(){this.showInfoIcon=true;const e=this.getInfoPopoverReferenceElement();if(e){this.destroyPageInfoPopover();this.launchInfoPopoverWithReference()}}disconnectedCallback(){this.destroyPageErrorPopover(false);this.destroyPageInfoPopover();if(this._resizeObserver){this._resizeObserver.disconnect();this._resizeObserver=null}}getPopoverReferenceElement(){return this.template.querySelector(J)}getInfoPopoverReferenceElement(){return this.template.querySelector(K)}getFooterSaveOptions(){return this.template.querySelector(Q)}launchPopoverWithReference(e,o){if(!o){return}const t=r.createElement(\"records-record-edit-error-header\",{is:T.default});if(t){t.handleClose=()=>{this.destroyPageErrorPopover(true)}}let s,n;if(e.dedupeErrors&&e.dedupeErrors.length&&e.dedupeErrors.length>0){const r=this.getDuplicatesManager();if(r){const o=r.parseErrorsForDedupe(e.dedupeErrors);t.headerText=o.blocksSave?M.default:H.default;[s,t.icon,n]=this.handleDuplicateError(o)}}else if(this.hasPredupeErrors(e)){const r=this.getDuplicatesManager();if(r){const o=r.parseErrorsForPredupe(e.predupeError);t.headerText=o.blocksSave?M.default:H.default;[s,t.icon,n]=this.handleDuplicateError(o)}}else{s=r.createElement(\"records-record-edit-error\",{is:N.default});if(s){s.errors=e;s.handleFieldClick=e=>{if(this.pageErrorPopover){this.destroyPageErrorPopover(true,false)}this.fireFieldClickEvent(e)};if(e.collisionDetected){s.handleReloadRecord=()=>{this.fireReloadEvent()}}}n=\"forceFormPageError,slds-popover,slds-popover_error\";this.errorIcon={name:\"utility:error\",variant:\"error\"}}if(t&&t.headerText&&s){s.headerText=t.headerText}this.setOverlayReturnFocusElement(o);p.showCustomOverlay({popover:\"popover\",header:t,body:s,reference:o,classNames:n,showPointer:true,direction:\"north\",trapFocus:true,returnFocusElementSelector:J}).then(e=>{this.pageErrorPopover=e})}launchInfoPopoverWithReference(){const e=this.getInfoPopoverReferenceElement();if(!e){return}const o=r.createElement(\"records-record-edit-error-header\",{is:T.default});if(o){o.handleClose=()=>{this.destroyPageInfoPopover()}}let t,s;if(this.visibilityChanges){o.headerText=x.default;o.icon=this.infoIcon.name;o.infoHeader=true;t=r.createElement(\"force-record-visibility-changes-notice\",{is:A.default});t.fieldsAdded=this.visibilityChanges.fieldsAdded;t.fieldsRemoved=this.visibilityChanges.fieldsRemoved;t.listFormat=\"BULLETED\";s=\"forceFormFooterPageError,slds-popover,info-popover\"}if(o&&o.headerText&&t){t.headerText=o.headerText}this.setOverlayReturnFocusElement(e);p.showCustomOverlay({popover:\"popover\",header:o,body:t,reference:e,classNames:s,showPointer:true,direction:\"north\",returnFocusElementSelector:K}).then(e=>{this.pageInfoPopover=e})}setOverlayReturnFocusElement(e){if(e){e.focus()}}destroyPageErrorPopover(e,r=true){if(this.pageErrorPopover){this.pageErrorPopover.close(r);this.pageErrorPopover=null}if(!e){if(this.errors){if(this.errors.predupeErrors){this.errors.predupeError=null}if(this.errors.dedupeErrors){this.errors.dedupeErrors=[]}}this._nonBlockingDuplicateErrorSet=false}}destroyPageInfoPopover(){if(this.pageInfoPopover){this.pageInfoPopover.close();this.pageInfoPopover=null}}}r.registerDecorators(te,{publicMethods:[\"focusCancelButton\",\"getCancelElement\",\"getSaveElement\"],track:{showErrorIcon:1,showInfoIcon:1,objectInfo:1,errorIcon:1,infoIcon:1},wire:{handleGetObjectInfo:{adapter:d.getObjectInfo,dynamic:[\"objectApiName\"],method:1,config:function(e){return{objectApiName:e.objectApiName}}}},fields:[\"pageErrorPopover\",\"pageInfoPopover\"]});var se=r.registerComponent(te,{tmpl:Z,sel:\"records-form-footer\",apiVersion:59});e.default=se;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"records-form-footer","descriptor":"markup://records:formFooter","n":"records/formFooter","mv":41.0},{"xs":"G","co":"function() { $A.componentService.addModule('markup://runtime_platform_actions:providerObjectCreate', \"runtime_platform_actions/providerObjectCreate\",[\"exports\",\"lwc\",\"runtime_platform_actions/actionLibrary\",\"runtime_platform_actions/providerBase\",\"lightning/uiRecordActionsApi\",\"runtime_platform_actions/actionsUiUtils\",\"laf/templateApi\",\"laf/transformWire\",\"@salesforce/gate/komaciInLex.lasr.ltng\",\"@salesforce/gate/komaciInLexAction.lasr.ltng\"],function(e,t,a,i,o,n,c,r,s,d){function l(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var p=l(i);var m=l(s);var f=l(d);const u=[];function A(e,t,a,i){return u}var h=t.registerTemplate(A);A.stylesheets=[];A.stylesheetToken=\"lwc-1j80h5lv642\";A.legacyStylesheetToken=\"runtime_platform_actions-providerObjectCreate_providerObjectCreate\";t.freezeTemplate(A);const T=a.ActionContext.OBJECT_CREATE;class b extends p.default{constructor(...e){super(...e);this.objectApiName=void 0;this.showSaveAndNew=void 0;this.wiredObjectCreateActions=void 0;this.wiredSimplifiedActionsData=void 0;this.wiredTemplatesToFetch=void 0}get isKomaciEnabled(){return m.default.isOpen({fallback:false})&&f.default.isOpen({fallback:false})}getObjectCreateActions({data:e,error:t}){if(t||!e){return}const{value:a}=e;if(a){this._templateIndexToActionId=null;const{data:e,error:t}=a;if(t){this.setActions(t);return}if(e){const{objectApiName:t}=this;const a=this.showSaveAndNew===true?e:e.filter(e=>e.apiName!==\"SaveAndNew\");const i=[].concat(a).reverse();this.createAndSetActions(i,{objectApiName:t},T);n.logMetricsForActionsContainer(e,\"actions_in_form_footer\")}}}gotActionTemplates(e){if(e&&e.data&&this.wiredTemplatesToFetch&&this.wiredTemplatesToFetch.data){super.gotActionTemplates(e,this.wiredTemplatesToFetch.data.templatesToFetch,this.wiredTemplatesToFetch.data.templateIndexToActionId)}}onPrepareKomaciMetadata(e){if(e&&e.data){super.resolveData(e.data,\"provider-object-create\",this.wiredTemplatesToFetch.data.templateIndexToActionId)}}}t.registerDecorators(b,{publicProps:{objectApiName:{config:0},showSaveAndNew:{config:0}},wire:{wiredObjectCreateActions:{adapter:o.getObjectCreateActions,dynamic:[\"objectApiName\"],config:function(e){return{objectApiName:e.objectApiName}}},wiredSimplifiedActionsData:{adapter:r.actionsGetActionsFromActionsResponse,dynamic:[\"contextId\",\"actionData\"],config:function(e){let t=e.wiredObjectCreateActions;return{contextId:e.objectApiName,actionData:t!=null?t.data:undefined}}},getObjectCreateActions:{adapter:r.actionsIdentity,dynamic:[\"value\"],method:1,config:function(e){return{value:e.wiredSimplifiedActionsData}}},wiredTemplatesToFetch:{adapter:r.actionsDetermineTemplateWireInput,dynamic:[\"actions\",\"objectApiName\"],config:function(e){let t=e.wiredSimplifiedActionsData;return{context:\"OBJECT_CREATE\",actions:t!=null?t.data:undefined,objectApiName:e.objectApiName}}},gotActionTemplates:{adapter:c.getObjectCreateActionTemplates,dynamic:[\"actions\"],method:1,config:function(e){let t=e.wiredTemplatesToFetch;return{actions:t!=null&&(t=t.data)!=null?t.templatesToFetch:undefined}}},onPrepareKomaciMetadata:{adapter:r.prepareKomaciMetadata,dynamic:[\"actions\",\"isKomaciEnabled\"],method:1,config:function(e){let t=e.wiredTemplatesToFetch;return{actions:t!=null&&(t=t.data)!=null?t.templatesToFetch:undefined,isKomaciEnabled:e.isKomaciEnabled}}}}});var g=t.registerComponent(b,{tmpl:h,sel:\"runtime_platform_actions-provider-object-create\",apiVersion:59});e.default=g;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"runtime_platform_actions-provider-object-create","descriptor":"markup://runtime_platform_actions:providerObjectCreate","n":"runtime_platform_actions/providerObjectCreate","ad":[["objectApiName",null,"G",false],["showSaveAndNew",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://laf:urlProcessor', \"laf/urlProcessor\",[\"exports\",\"lwc\",\"logger\",\"force/alohaUrlService\",\"force/base64\",\"force/shared\"],function(e,r,n,t,s,o){class a{createPageRef(e,r,n){return{type:e,attributes:Object.assign({},r),state:Object.assign({},n)}}mapURLToPageRef(e){return new Promise((r,n)=>{t.getURLMappedPageRef(e.normalizedURL,(e,t)=>{if(e){n(e)}else{r(t)}})})}decodeComponentDefRef(e){let r=null;if(e&&e.length>0&&e[0]!==\"/\"){if(this.isProductionMode()){r=s.Base64.decode(e)}else{r=window.decodeURIComponent(e)}if(r[0]!==\"{\"){n.log(\"urlProcessor makes an assumption: any URLs of the form #[^/]+ are expected to be componentDefs of the \"+'form #{\"componentDef\"...} or #<base64EncodedJSON> in production. The URL being navigated to ('+e+\") has \"+\"broken that assumption. Contact the LAF team.\")}}return r}isProductionMode(){const e=\"$A\";const r=window[e];const n=r&&r.getContext&&r.getContext();const t=n&&n.getMode&&n.getMode();return t&&(t===\"PROD\"||t===\"PRODDEBUG\"||t===\"PERFDEBUG\")}isNativeContainer(){return\"sfNativeBridge\"in window}}const i=new a;class l{constructor(e){this.params=e;this.type=\"Default\"}}class c extends l{constructor(e,r){super(r);this.type=\"NavigateToPageReferenceAction\";this.pageReference=e}}class d extends l{constructor(e,r){super(r);this.type=\"NavigateToComponentAction\";this.component=e}}class u extends l{constructor(e){super(e);this.type=\"SetWindowLocationAction\"}}class f extends l{constructor(e){super(e);this.type=\"OpenNewTabAction\"}}class p extends l{constructor(e){super(e);this.type=\"NavigateHomeAction\"}}class g extends l{constructor(e){super(e);this.type=\"OpenNativePopupAction\"}}class R{constructor(){this._nextHandler=void 0}set nextHandler(e){this._nextHandler=e}get nextHandler(){return this._nextHandler}handleUrl(){return{}}}r.registerDecorators(R,{fields:[\"_nextHandler\"]});class U extends R{handleUrl(e){const r=e.locationModifiers.hasOwnProperty(\"query\");if(!e||!e.isOrgResource||!r){return Promise.resolve(false)}const n=e.parsedURL.path;const s=window.location.pathname;const a=window.location.href;if(x(a)){if(!x(n)&&w(n)){return t.getURLDescriptor(a).then(r=>{const t=e.parsedURL.queryDecoded;const s=r.parsedURL.queryDecoded;const a=Object.assign({},s,m(t));Object.keys(a).forEach(e=>{if(a[e]===\"\"){delete a[e]}});if(o.equalityUtils.isEqual(a,s)){return false}const i=Object.keys(a).reduce((e,r)=>{if(e[r]==null){e[r]=a[r]}return e},a);const l=h(i);const c=\"/native/bridge.app\"+l+\"#\"+n;return new u({url:c})})}}if(w(n)&&w(a)){return t.getURLDescriptor(a).then(r=>{const n=e.parsedURL.queryDecoded;const t=r.parsedURL.queryDecoded;const s=m(n);const a=m(t);if(o.equalityUtils.isEqual(s,a)){return false}const i=e.parsedURL.path+(e.parsedURL.query?\"?\"+e.parsedURL.query:\"\")+(e.parsedURL.fragment?\"#\"+e.parsedURL.fragment:\"\");return new u({url:i})})}if(L(n)&&w(s)||w(n)&&L(s)){return t.getURLDescriptor(a).then(r=>{let n,t;if(w(s)){n=e.parsedURL.queryDecoded;t=r.parsedURL.queryDecoded}else{n=r.parsedURL.queryDecoded;t=e.parsedURL.queryDecoded}const a=m(t);if(o.equalityUtils.isEqual(n,a)){return false}const i=e.parsedURL.path+(e.parsedURL.query?\"?\"+e.parsedURL.query:\"\")+(e.parsedURL.fragment?\"#\"+e.parsedURL.fragment:\"\");return new u({url:i})})}if(L(n)&&L(a)){const r=e.parsedURL.path+(e.parsedURL.query?\"?\"+e.parsedURL.query:\"\")+(e.parsedURL.fragment?\"#\"+e.parsedURL.fragment:\"\");return Promise.resolve(new u({url:r}))}return Promise.resolve(false)}}function h(e){return Object.keys(e).reduce((r,n,t)=>{if(t===0){r=\"?\"}else{r+=\"&\"}r+=n+\"=\"+e[n];return r},\"\")}function m(e){const r={};Object.keys(e).forEach(n=>{if(n.indexOf(\"0.\")===0){r[n.substring(2)]=e[n]}});return r}function L(e){return e&&e.indexOf(\"/one/one.app\")>=0}function w(e){return e&&e.indexOf(\"/lightning\")>=0}function x(e){return e&&e.indexOf(\"/native/bridge.app\")>=0}class P extends R{handleUrl(e){if(!e){return Promise.resolve(false)}const r=e.locationModifiers;const t=e.parsedURL.fragment;const s=\"/one/one.app\";if(!e.isOrgResource||r.path&&r.path!==s||!t){return Promise.resolve(false)}const o=i.decodeComponentDefRef(t);if(!o||o[0]!==\"{\"){return Promise.resolve(false)}n.log(\"ComponentDefRefDeprecatedUrlHandler is handling ComponentDefRefDeprecated URL: \"+e.normalizedURL);const a=JSON.parse(o);const l=i.createPageRef(\"standard__directCmpReference\",{name:a.componentDef,attributes:a.attributes},a.state||{});return Promise.resolve(new c(l))}}class v extends R{handleUrl(e,r){if(!e){return Promise.resolve(false)}const t=e.locationModifiers;let s=false;if(t.path){const r=new RegExp(\"^(?:/?[^/]*)/one/one.app/?\");s=e.parsedURL.path?r.test(e.parsedURL.path):false}const o=e.parsedURL.fragment;if(!e.isOrgResource||t.path&&!s||t.query&&!s||!o){return Promise.resolve(false)}if(o.indexOf(\"/\")!==0){return Promise.resolve(false)}return r.resolveUrl(\"#\"+o).then(e=>{if(!e){return false}return new c(e,{})}).catch(e=>{n.log(e);return new u({url:\"#\"+o})})}}class y extends R{handleUrl(e,r){if(!e){return Promise.resolve(false)}if(!e.isOrgResource||!e.parsedURL.path){return Promise.resolve(false)}const n=e.parsedURL.query;const t=e.parsedURL.fragment;const s=e.parsedURL.path+(n?\"?\"+n:\"\")+(t?\"#\"+t:\"\");let o=\"^(?:/?[^/]*)/lightning/.\";o+=\"*\";const a=new RegExp(o);const i=a.test(s);if(!i||s.indexOf(\"lightning/access/\")!==-1){return Promise.resolve(false)}return r.resolveUrl(s).then(e=>{if(!e){return false}const n=r.appContext;if(!n.isSameApp(e)){return new f({url:s,pageReference:e})}return new c(e,{})}).catch(()=>new u({url:s}))}}class O extends R{handleUrl(e,r){if(!e||!e.isOrgResource){return Promise.resolve(false)}const t=e.parsedURL.path;const s=e.normalizedURL;n.log(\"OrgResourceUrlHandler is handling URL as an org resource: \"+s);return r.hostConfigPromise.then(r=>{let o;const a=r.get(\"v.homeUrl\");let l={};if(t&&(t.indexOf(\"/secur/weakhttps.jsp\")===0||t.indexOf(\"/services/auth/xds/\")===0)){l=new u({url:s})}else if(t&&(o=t.match(/.*\\/(.+)\\/(.+)\\.cmp/))){const e=o.pop();const r=o.pop();const n=r+\":\"+e;l=new d(\"one:auraContainer\",{tag:n})}else if(e.originalURL&&e.originalURL.indexOf(r.get(\"v.s1FullSiteUrl\"))===0||t&&t.indexOf(\"/sfc/p/\")===0||t&&t.indexOf(\"/HelpAndTrainingDoor\")===0){l=new f({url:s})}else if(e.originalURL&&e.originalURL.indexOf(a)===0||t&&t.indexOf(a)===0){l=new p({type:\"navigateHome\"})}else{n.log(\"OrgResourceUrlHandler is trying to map to page ref\");l=i.mapURLToPageRef(e).then(e=>{n.log(\"PageRef: \"+e);if(e){return new c(e,{})}else if(r.get(\"v.isAlohaEmbeddable\")){return new f({url:s})}return new d(\"one:unsupported\",{address:s})},e=>{if(e&&e.message===\"Disconnected or Canceled\"){n.log(\"Disconnected or Canceled occurred when process URL \"+s);return new d(\"one:alohaPage\",{address:s,err:e})}throw e})}return l})}}class D extends R{handleUrl(e,r){if(!e||!/^https?$/.test(e.parsedURL.scheme)){return Promise.resolve(false)}let t=e.normalizedURL;n.log(\"NonOrgResourceUrlHandler is handling absolute URL: \"+t);let s={};if(i.isNativeContainer()){if(r.isEnabledPagReferenceForNavigateToURL){const e=i.createPageRef(\"standard__webPage\",{url:t},{});s=new c(e,{removeDelegate:true})}else{n.log(\"NonOrgResourceUrlHandler: native container delegating to openPopup\");s=new g({url:t})}}else{t=t.replace(/(?:\\?|&)isdtp=p1/,\"\");s=new f({url:t})}return Promise.resolve(s)}}class b extends R{handleUrl(e){if(!e||!/^(geo|maps|mailto|tel|itms-services|sms)$/.test(e.parsedURL.scheme)){return Promise.resolve(false)}const r=e.normalizedURL;let t={};if(i.isNativeContainer()){n.log(\"AlternateSchemeUrlHandler: native container delegating to openPopup\");t=new g({url:r})}else{t=new u({url:r})}return Promise.resolve(t)}}class H extends R{handleUrl(e){if(!e){return Promise.resolve(false)}const r=e.normalizedURL;let t={};n.log(\"DefaultUrlHandler is resorting to the default action for URL: \"+r);{t=new f({url:r})}return Promise.resolve(t)}}const q=new U;const C=new P;const N=new v;const E=new y;const A=new O;const _=new D;const j=new b;const M=new H;q.nextHandler=C;C.nextHandler=N;N.nextHandler=E;E.nextHandler=A;A.nextHandler=_;_.nextHandler=j;j.nextHandler=M;function T(e,r,n){return new Promise((t,s)=>{if(!n){n=q}n.handleUrl(e,r).then(s=>{if(s){return t({action:s,handler:n})}if(n.nextHandler){return t(T(e,r,n.nextHandler))}return t(new R)},s)})}class k{processUrl(e,r){return t.getURLDescriptor(e).then(e=>{n.log(e);return T(e,r).then(e=>Promise.resolve(e.action))}).catch(e=>{throw e})}}const S=new k;const z=i;e.urlProcessor=S;e.urlUtil=z;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"laf-url-processor","descriptor":"markup://laf:urlProcessor","n":"laf/urlProcessor"},{"xs":"P","co":"function() { $A.componentService.addModule('markup://lst:relatedListViewManager', \"lst/relatedListViewManager\",[\"exports\",\"lwc\",\"lst/commonListInternal\",\"lightning/spinner\",\"lst/relatedListLoadExtraData\",\"lightning/uiObjectInfoApi\",\"lightning/uiRelatedListApi\",\"lightning/unstable_uiRelatedListApi\",\"laf/pageCapability\",\"lst/configuration\",\"laf/navigationService\",\"laf/transformWire\",\"force/relatedListNavigationLibrary\",\"lst/actExtensions\",\"lightning/refresh\",\"@salesforce/gate/lasr.refreshViewAPI\",\"o11y/client\",\"laf/store\",\"lst/listViewManagerLibrary\",\"@salesforce/label/RecordHomeCards.ViewAll\",\"@salesforce/label/ListViewManager.Loading\",\"@salesforce/label/ObjectHomeListView.PageNavigationErrorMessage\",\"@salesforce/accessCheck/B2C.isPersonAccountsEnabled\"],function(e,t,i,r,a,s,o,n,l,d,c,f,u,h,p,g,m,y,R,L,b,v,I){function C(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var w=C(i);var A=C(r);var D=C(a);var j=C(u);var M=C(g);var x=C(L);var N=C(b);var T=C(v);var E=C(I);function P(e,t,i){var r=e?\"[\"+e+\"]\":\"\";var a=e?\"[\"+e+\"-host]\":\"\";return(t?\":host {\":a+\" {\")+\"display: flex;flex-direction: column;height: 100%;}.slds-card__footer\"+r+\" {z-index: var(--lwc-zIndexDefault, 1);margin-top: -1px;}\"}var k=[P];const _={\"slds-card__footer\":true};const O={classMap:{\"view-all-label\":true},key:2};const B={classMap:{assistiveText:true},key:3};const S={classMap:{\"slds-spinner_inline\":true,\"spinner-padding\":true,\"slds-p-top--medium\":true,\"slds-p-bottom--medium\":true},key:4};const V={classMap:{\"slds-is-relative\":true,\"slds-p-top--small\":true,\"slds-p-bottom--small\":true},key:6};const z={classMap:{recordLimitReachedMessage:true,\"slds-p-horizontal--large\":true,\"slds-p-vertical\":true,\"slds-text-align--center\":true},key:7};function H(e,t,i,r){const{b:a,c:s,d:o,t:n,h:l}=e;const{_m0:d,_m1:c,_m2:f,_m3:u}=r;return[s(\"lst-common-list-internal\",w.default,{props:{mutationContext:t.mutationContext,configuration:t.configuration,listReference:t.listReference,fields:t.fields,records:t.records,extraData:t.extraData,primaryDisplayType:t.primaryDisplayType,primaryDisplayErrors:t.primaryDisplayErrors,listViewTitle:t.label,sortBy:t.computedSortBy,filteredByLabels:t.filteredByLabels,actionNames:t.actionNames,hasMoreRecords:t.hasMoreRecords,userPreferences:t.userPreferences,recordThemeInfo:t.recordThemeInfo,titlePageRef:t.pageRef,breadcrumbs:t.breadcrumbs,secondaryDisplays:t.secondaryDisplays},key:0,on:{privaterefresh:d||(r._m0=a(t.handleRefresh)),privateloadmore:c||(r._m1=a(t.handleLoadMore))}}),!t.isEmpty?t.showViewAll?l(\"a\",{classMap:_,attrs:{href:t.drillInURL},key:1,on:{click:f||(r._m2=a(t.handleDrillInClick))}},[l(\"span\",O,[n(o(t.i18n.RecordHomeCards.ViewAll)),l(\"span\",B,[n(o(t.label))])])]):null:null,!t.showViewAll?t.loadingMoreRecords?l(\"div\",S,[s(\"lightning-spinner\",A.default,{props:{variant:\"brand\",alternativeText:t.i18n.LoadingMessage,size:\"small\"},key:5})]):null:null,!t.showViewAll?t.hasReachedRecordLimit?l(\"div\",V,[l(\"div\",z,[n(o(t.i18n.RecordLimitMessage))])]):null:null,t.analyzableRecordAvatarRequirements.data?t.analyzableRecordAvatarRequirements.data.avatarIds?t.analyzableRecordAvatarRequirements.data.avatarIds.length?s(\"lst-related-list-load-extra-data\",D.default,{props:{recordIds:t.recordAvatarIds.data.avatarIds,recordIdAvatarMap:t.recordAvatarIds.data.recordId2AvatarMap,recordLimit:t.recordLimit,rlRecords:t.wiredRelatedListRecords.data},key:8,on:{privaterlextradata:u||(r._m3=a(t.handleExtraDataPrefetch))}}):null:null:null]}var U=t.registerTemplate(H);H.stylesheets=[];if(k){H.stylesheets.push.apply(H.stylesheets,k)}H.stylesheetToken=\"lwc-38b9tp4cnq4\";H.legacyStylesheetToken=\"lst-relatedListViewManager_relatedListViewManager\";t.freezeTemplate(H);const{DisplaysConfiguration:q}=d.ConfigurationTypes;const F={validateConfiguration:{noConfiguration:\"Configuration must be provided.\"},requiredConfigurations:{DisplaysConfiguration:\"Related lists must have a display configuration.\"},validationFunctions:{DisplaysConfiguration:{notExactlyOneDisplay:\"Related lists must have exactly one supported display type.\"}}};const W=[{name:d.ConfigurationTypes.DisplaysConfiguration.NAME,error:F.requiredConfigurations.DisplaysConfiguration}];const G={[q.NAME]:e=>{const t=e[q.supportedFullDisplays]||[];if(t.length!==1){throw new Error(F.validationFunctions.DisplaysConfiguration.notExactlyOneDisplay)}}};function $(e,t={}){const i=Object.keys(e);for(const t of i){const i=G[t];const r=e[t];if(i){i(r)}}for(const i of W){if(!(i.name in e||i.name in t)){throw new Error(i.error)}}}function K(e){if(!e||typeof e!==\"object\"&&typeof e.toLowerCase()!==\"object\"){throw new Error(F.validateConfiguration.noConfiguration)}const{configurations:t={},presets:i={}}=e;$(t,i)}const{generatePageRef:J}=j.default;const Q=d.BaseConfigurations.RELATED_LIST_ADVANCED_GRID;class X extends(l.CapabilityMixin(t.LightningElement)){constructor(...e){super(...e);this.label=void 0;this.parentRecordId=void 0;this.parentObjectApiName=void 0;this.relatedObjectApiName=void 0;this.relatedListApiName=void 0;this.secondaryDisplays=[];this.showViewAll=false;this.injectRelatedListNameToLabel=false;this.flexipageRegionWidth=d.Flexipage.REGION_SMALL;this.displayColumns=void 0;this.orderedByInfo=void 0;this.objectApiNames=void 0;this.userPreferences=void 0;this.listReference=void 0;this.pageSize=50;this.sortBy=void 0;this.sortByLabel=void 0;this.hasError=void 0;this.primaryDisplayType=void 0;this.where=void 0;this.filteredByLabels=void 0;this.actionNames=void 0;this.drillinPageRef=void 0;this.breadcrumbs=[];this.currentPageToken=void 0;this.loadingMoreRecords=false;this.hasReachedRecordLimit=false;this.calculatedPageSize=void 0;this.transformedRelatedListInfo=void 0;this.wiredRelatedListRecords=void 0;this.recordAvatarIds=void 0;this.wiredObjectInfos=void 0;this.analyzableRecordAvatarRequirements=void 0;this.extraData=void 0;this.fields=void 0;this._configuration=void 0;this._drillInURL=void 0;this.objectInfos=void 0;this.recordThemeInfo=void 0;this.mutationContext=void 0;this.hasMoreRecords=void 0;this.loadingData=void 0;this.computedSortBy={};this.instrumentation=m.getInstrumentation(\"relatedListViewManager\");this.refreshContainerID=void 0;this.refreshHandlerID=void 0}get configuration(){return this._configuration||Q}set configuration(e){if(e){K(e)}this._configuration=e}set isLoading(e){this.loadingData=e;this.setCommonListIsLoading(this.loadingData)}get isLoading(){return this.loadingData}get relatedListRecordsError(){if(this.wiredRelatedListRecords&&this.wiredRelatedListRecords.error){return this.wiredRelatedListRecords.error}return null}get objectInfoError(){if(this.wiredObjectInfos&&this.wiredObjectInfos.error){return this.wiredObjectInfos.error}return null}processMetadata({data:e}){if(e){const{displayColumns:t,objectApiName:i}=e;let{objectInfos:r}=e;if(r&&r.results){r=r.results.reduce((e,t)=>{if(t.statusCode===200){e.push(t.result)}return e},[])}else{this.objectInfos=null}this._drillInURL=null;if(t){this.fields=h.transformInfos(t,i,r)}const[a]=r||[];if(a){const{label:e,labelPlural:t,themeInfo:s}=a;const{color:o,iconUrl:n}=s||{};this.recordThemeInfo={entityLabel:e,entityLabelPlural:t,iconImageURL:n||d.Fallbacks.ThemeInfo.iconUrl,primaryPalette:o||d.Fallbacks.ThemeInfo.color};this.mutationContext={scope:h.Scope.RELATED_LIST,regionWidth:this.flexipageRegionWidth,associateEntityType:h.getObjectInfoAssociateEntityType(r,i)};this._objectInfos=r}}}processRecordData({data:e}){if(e){const t=e.records&&e.records.sortBy&&e.records.sortBy[0];const i=!!(e.records&&e.records.nextPageToken);this.hasMoreRecords=i;if(t){const e=t[0]!==\"-\";let i=e?t:t.slice(1);if(i.startsWith(`${this.relatedObjectApiName}.`)){i=i.replace(`${this.relatedObjectApiName}.`,\"\")}this.computedSortBy={[i]:e?\"asc\":\"desc\",label:this.sortByLabel}}this.loadingMoreRecords=false;this.hasReachedRecordLimit=e.records.count>R.constants.listMaximumRowLimit}}handleExtraDataPrefetch(e){e.stopPropagation();this.extraData=e.detail.extraData}get records(){return this.wiredRelatedListRecords&&this.wiredRelatedListRecords.data&&this.wiredRelatedListRecords.data.records}get primaryDisplayErrors(){const e=this.hasError||this.relatedListRecordsError||this.objectInfoError;if(e){return{loadError:e}}return undefined}get configurations(){const{configuration:e}=this;return e.configurations||{}}get presets(){const{configuration:e}=this;return e.presets||{}}get headerConfiguration(){const{configurations:e,presets:t}=this;return e[d.ConfigurationTypes.HeaderConfiguration.NAME]||t[d.ConfigurationTypes.HeaderConfiguration.NAME]}get primaryDisplayConfiguration(){const{configurations:e,presets:t}=this;return e[d.ConfigurationTypes.PrimaryDisplayConfiguration.NAME]||t[d.ConfigurationTypes.PrimaryDisplayConfiguration.NAME]}get i18n(){return{LoadingMessage:N.default,RecordHomeCards:{ViewAll:x.default},RecordLimitMessage:T.default}}get isEmpty(){const{data:e={}}=this.wiredRelatedListRecords||{};const{count:t=0,records:i=[]}=e;return t===0||i.length===0}get shouldComputeSubtitle(){const{showSubtitle:e=false}=this.headerConfiguration||{};return e}get pageRef(){return this.drillinPageRef||J(this.relatedListApiName,this.parentObjectApiName,this.parentRecordId)}get drillInURL(){const{_drillInURL:e}=this;if(!e){c.getService(this).generateUrl(this.pageRef).then(e=>{this._drillInURL=e})}if(e){return e}return undefined}get recordLimit(){return this.primaryDisplayConfiguration.recordLimit}refresh(){return this.instrumentation.activityAsync(\"refreshView\",e=>{if(this.wiredRelatedListRecords&&this.wiredRelatedListRecords.data){this.setCommonListIsLoading(true);return n.unstable_refresh(this.wiredRelatedListRecords).then(()=>{this.setCommonListIsLoading(false)}).catch(t=>{e.error(t);this.setCommonListIsLoading(false)})}return Promise.resolve(true)})}handleRefreshAPI(e){return this.instrumentation.activityAsync(\"refreshViewAPI\",()=>e.then(e=>e))}setCommonListIsLoading(e){const t=this.template.querySelector(\"lst-common-list-internal\");if(t){t.isLoading=e}}handleDrillInClick(e){if(!e.metaKey){e.preventDefault();c.getService(this).navigateTo(this.pageRef)}}handleRefresh(){this.refresh()}handleLoadMore(){if(this.wiredRelatedListRecords.data.nextPageToken&&this.wiredRelatedListRecords.data.nextPageToken!==this.currentPageToken){if(this.wiredRelatedListRecords.data.count>=R.constants.listMaximumRowLimit){this.hasReachedRecordLimit=true}else{this.hasReachedRecordLimit=false;this.loadingMoreRecords=true;y.setStoreValue(this.calculatedPageSize,this.calculatedPageSize.data+this.pageSize);this.currentPageToken=this.wiredRelatedListRecords.data.nextPageToken}}}connectedCallback(){if(M.default.isOpen({fallback:false})){this.refreshContainerID=p.registerRefreshContainer(this,this.handleRefreshAPI);this.refreshHandlerID=p.registerRefreshHandler(this,this.refresh)}else{this[l.CapabilityMixin.ExposeCapabilities]({[l.RefreshCapability]:this.refresh.bind(this)});this[l.CapabilityMixin.EnableListener](l.RefreshCapability)}}disconnectedCallback(){if(M.default.isOpen({fallback:false})){p.unregisterRefreshContainer(this.refreshContainerID);p.unregisterRefreshHandler(this.refreshHandlerID)}this[l.CapabilityMixin.ConcealCapabilities]()}}t.registerDecorators(X,{publicProps:{configuration:{config:3},label:{config:0},parentRecordId:{config:0},parentObjectApiName:{config:0},relatedObjectApiName:{config:0},relatedListApiName:{config:0},secondaryDisplays:{config:0},showViewAll:{config:0},injectRelatedListNameToLabel:{config:0},flexipageRegionWidth:{config:0},displayColumns:{config:0},orderedByInfo:{config:0},objectApiNames:{config:0},userPreferences:{config:0},listReference:{config:0},pageSize:{config:0},sortBy:{config:0},sortByLabel:{config:0},hasError:{config:0},primaryDisplayType:{config:0},where:{config:0},filteredByLabels:{config:0},actionNames:{config:0},drillinPageRef:{config:0},breadcrumbs:{config:0},isLoading:{config:3}},publicMethods:[\"refresh\"],track:{extraData:1,fields:1,_configuration:1,_drillInURL:1,objectInfos:1,recordThemeInfo:1,mutationContext:1,hasMoreRecords:1,loadingData:1,computedSortBy:1},wire:{calculatedPageSize:{adapter:y.getStoreValue,dynamic:[\"key1\",\"key2\",\"key3\",\"default\"],config:function(e){return{key4:\"calculatedPageSize\",key1:e.parentObjectApiName,key2:e.relatedListApiName,key3:e.where,default:e.pageSize}}},transformedRelatedListInfo:{adapter:f.transformRelatedListInfo,dynamic:[\"displayColumns\",\"orderedByInfo\",\"listReference\",\"relatedListApiName\",\"relatedObjectApiName\",\"sortByOverride\",\"where\"],config:function(e){return{isPersonAccountsEnabled:E.default,displayColumns:e.displayColumns,orderedByInfo:e.orderedByInfo,listReference:e.listReference,relatedListApiName:e.relatedListApiName,relatedObjectApiName:e.relatedObjectApiName,sortByOverride:e.sortBy,where:e.where}}},wiredRelatedListRecords:{adapter:o.getRelatedListRecords,dynamic:[\"parentRecordId\",\"relatedListId\",\"fields\",\"pageSize\",\"sortBy\",\"where\"],config:function(e){let t=e.transformedRelatedListInfo;let i=e.transformedRelatedListInfo;let r=e.calculatedPageSize;let a=e.transformedRelatedListInfo;let s=e.transformedRelatedListInfo;return{parentRecordId:e.parentRecordId,relatedListId:t!=null&&(t=t.data)!=null?t.relatedListApiName:undefined,fields:i!=null&&(i=i.data)!=null?i.fields:undefined,pageSize:r!=null?r.data:undefined,sortBy:a!=null&&(a=a.data)!=null?a.sortBy:undefined,where:s!=null&&(s=s.data)!=null?s.where:undefined}}},recordAvatarIds:{adapter:f.transformRecordAvatarIds,dynamic:[\"displayColumns\",\"records\"],config:function(e){let t=e.wiredRelatedListRecords;return{displayColumns:e.displayColumns,records:t!=null?t.data:undefined}}},wiredObjectInfos:{adapter:s.getObjectInfos,dynamic:[\"objectApiNames\"],config:function(e){return{objectApiNames:e.objectApiNames}}},processMetadata:{adapter:f.delayedTransform,dynamic:[\"objectInfos\",\"displayColumns\",\"objectApiName\"],method:1,config:function(e){let t=e.wiredObjectInfos;return{objectInfos:t!=null?t.data:undefined,displayColumns:e.displayColumns,objectApiName:e.relatedObjectApiName}}},processRecordData:{adapter:f.delayedTransform,dynamic:[\"records\"],method:1,config:function(e){let t=e.wiredRelatedListRecords;return{records:t!=null?t.data:undefined}}},analyzableRecordAvatarRequirements:{adapter:f.delayedTransform,dynamic:[\"objectInfos\",\"avatarIds\"],config:function(e){let t=e.wiredObjectInfos;let i=e.recordAvatarIds;return{objectInfos:t!=null?t.data:undefined,avatarIds:i!=null&&(i=i.data)!=null?i.avatarIds:undefined}}}},fields:[\"currentPageToken\",\"loadingMoreRecords\",\"hasReachedRecordLimit\",\"instrumentation\",\"refreshContainerID\",\"refreshHandlerID\"]});var Y=t.registerComponent(X,{tmpl:U,sel:\"lst-related-list-view-manager\",apiVersion:59});e.default=Y;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"lst-related-list-view-manager","descriptor":"markup://lst:relatedListViewManager","n":"lst/relatedListViewManager","ad":[["configuration",null,"G",false],["label",null,"G",false],["parentRecordId",null,"G",false],["parentObjectApiName",null,"G",false],["relatedObjectApiName",null,"G",false],["relatedListApiName",null,"G",false],["secondaryDisplays",null,"G",false,[]],["showViewAll",null,"G",false,false],["injectRelatedListNameToLabel",null,"G",false,false],["flexipageRegionWidth",null,"G",false],["displayColumns",null,"G",false],["orderedByInfo",null,"G",false],["objectApiNames",null,"G",false],["userPreferences",null,"G",false],["listReference",null,"G",false],["pageSize",null,"G",false,50],["sortBy",null,"G",false],["sortByLabel",null,"G",false],["hasError",null,"G",false],["primaryDisplayType",null,"G",false],["where",null,"G",false],["filteredByLabels",null,"G",false],["actionNames",null,"G",false],["drillinPageRef",null,"G",false],["breadcrumbs",null,"G",false,[]],["isLoading",null,"G",false]]},{"xs":"P","co":"function() { $A.componentService.addModule('markup://feeds_paging:numberOfTotalLabelGenerator', \"feeds_paging/numberOfTotalLabelGenerator\",[\"exports\",\"lwc\",\"@salesforce/label/Feeds.MoreCommentsRatio\"],function(e,r,t){function n(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var a=n(t);var o=void 0;var l=r.registerComponent(a.default,{tmpl:o,sel:\"feeds_paging-number-of-total-label-generator\",apiVersion:59});function f(e,r){let t;if(Number.isInteger(e)&&e>=0&&Number.isInteger(r)&&r>=0){t=l.replace(\"{0}\",e).replace(\"{1}\",r)}return t}e.default=f;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"feeds_paging-number-of-total-label-generator","descriptor":"markup://feeds_paging:numberOfTotalLabelGenerator","n":"feeds_paging/numberOfTotalLabelGenerator"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://laf:store', \"laf/store\",[\"exports\",\"lwc\",\"laf/adgResolver\"],function(e,t,r){const s=[\"key1\",\"key2\",\"key3\",\"key4\",\"key5\",\"key6\"];function i(e){if(e===null||e===undefined){throw new Error(\"missing wire config\")}else if(typeof e!==\"object\"||Array.isArray(e)){throw new Error(\"config must be a plain object\")}const t=Object.assign({},e);if(!o(t.default)){throw new TypeError(\"default value is an unsupported type\")}for(const e in t){if(e!==\"default\"){if(!s.includes(e)){throw new Error(\"config has unsupported property: \"+e)}else if(!n(t[e])){throw new TypeError(e+\" is an unsupported type\")}if(t[e]===null||t[e]===undefined){t[e]=\"\"}}}const r=JSON.parse(JSON.stringify(t));if(!s.find(e=>r.hasOwnProperty(e))){throw new Error(\"config must be a plain object with at least one valid key\")}return r}function n(e){if(e===undefined||e===null){return true}const t=typeof e;return t===\"string\"||t===\"number\"||t===\"boolean\"}function o(e){if(e===undefined||e===null){return true}const t=typeof e;return t===\"string\"||t===\"number\"||t===\"boolean\"}function u(e){const t=s.map(t=>{if(e.hasOwnProperty(t)){return`<<${e[t]}>>`}return\"\"});return t.join(\"/\")}function f(e){Object.keys(e).forEach(t=>{const r=e[t];e[t]=r&&typeof r===\"object\"?f(r):r});return Object.freeze(e)}class c{constructor(e){this.value=undefined;this.valueSet=false;this.subscriptions=new Map;this.key=e}getKey(){return this.key}getValue(){return this.value}setValue(e){this.value=e;this.valueSet=true}notifyAllSubscribers(){const e=Array.from(this.subscriptions.values());e.forEach(e=>{e(this.value)})}isValueSet(){return this.valueSet}subscribe(e,t){this.subscriptions.set(e,t)}unsubscribe(e){this.subscriptions.delete(e)}hasSubscriptions(){return this.subscriptions.size>0}}t.registerDecorators(c,{fields:[\"value\",\"valueSet\",\"subscriptions\"]});class a{constructor(){this.storeEntries=new Map;this.entryReferences=new Map}createEntryRef(e,t,r){let s=this.storeEntries.get(e);if(!s){s=new c(e);this.storeEntries.set(e,s)}this.entryReferences.set(t,s);s.subscribe(t,r)}deleteEntryRef(e){const t=this.entryReferences.get(e);if(t){this.entryReferences.delete(e);t.unsubscribe(e);if(!t.hasSubscriptions()){this.storeEntries.delete(t.getKey())}}}getStoreEntryByKey(e){return this.storeEntries.get(e)}getStoreEntryByRef(e){return this.entryReferences.get(e)}}t.registerDecorators(a,{fields:[\"storeEntries\",\"entryReferences\"]});const l=new a;class d{constructor(e){this.config=undefined;this.connected=false;this.key=undefined;this.emittedRef=undefined;this.callback=e}doUpdateConfig(e,t){if(!t){try{this.config=i(e)}catch(e){this.config=undefined;this.emit({error:e});return}this.key=u(this.config)}if(this.connected){let e;const t=l.getStoreEntryByKey(this.key);if(t&&t.isValueSet()){e=t.getValue()}else{e=this.config.default}this.emit({data:e})}}update(e){this.doUpdateConfig(e,false)}connect(){this.connected=true;if(this.config!==undefined){this.doUpdateConfig(this.config,true)}}disconnect(){this.connected=false;if(this.emittedRef){l.deleteEntryRef(this.emittedRef)}}emit(e){const t=this.emittedRef;if(!e.hasOwnProperty(\"error\")){this.emittedRef=e;l.createEntryRef(this.key,this.emittedRef,e=>{this.emit({data:e})})}else{this.emittedRef=undefined}if(t){l.deleteEntryRef(t)}f(e);this.callback(e)}}t.registerDecorators(d,{fields:[\"config\",\"connected\",\"key\",\"emittedRef\"]});r.unstable_registerAdapter(d,\"getStoreValue\",true);function h(e,t){const r=l.getStoreEntryByRef(e);if(!r){throw new Error(\"reference is invalid\")}if(!o(t)){throw new TypeError(\"value is an unsupported type\")}if(r.isValueSet()&&t===r.getValue()){return}r.setValue(t);r.notifyAllSubscribers()}e.getStoreValue=d;e.setStoreValue=h;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"laf-store","descriptor":"markup://laf:store","n":"laf/store"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://lst:relatedListSingleContainer', \"lst/relatedListSingleContainer\",[\"exports\",\"lwc\",\"lst/relatedListSingleAppBuilderMapper\",\"lst/stencilRelatedListSingle\",\"laf/progressiveContainer\",\"lst/relatedListSingleAuraWrapper\",\"lst/errorState\",\"laf/pageCapability\",\"@salesforce/metric/RelatedList/RlSingleContainer.RenderTime/ms\",\"@salesforce/label/InfoComponentsRelatedLists.EntityForParentEntity\",\"instrumentation/service\",\"lightning/uiRecordApi\",\"lightning/uiRelatedListApi\",\"@salesforce/label/InfoComponentsRelatedLists.RelatedListErrorMessage\",\"@salesforce/label/InfoComponentsRelatedLists.RelatedListErrorTitle\",\"@salesforce/label/InfoComponentsRelatedListSingle.ParentNull\",\"laf/transformWire\",\"lst/relatedListSupport\",\"instrumentation/metricsWrapper\",\"@salesforce/gate/lasr.refreshViewAPI\",\"lightning/refresh\"],function(e,t,i,a,r,n,s,l,o,d,p,c,h,u,f,m,L,g,R,y,A){function C(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var b=C(i);var N=C(a);var w=C(r);var v=C(n);var I=C(s);var T=C(o);var S=C(d);var E=C(u);var O=C(f);var M=C(m);var D=C(y);function _(e,t,i){var a=e?\"[\"+e+\"-host]\":\"\";return(t?\":host {\":a+\" {\")+\"display: block;}\"}var P=[_];const k={slot:\"placeholder\"};const x={classMap:{\"slds-card\":true},key:6};function j(e,t,i,a){const{c:r,h:n}=e;return[!t.hasError?t.layoutRL?t.isLWCRelatedList?t.wiredComponentId.data.cid?r(\"laf-progressive-container\",w.default,{props:{cid:t.wiredComponentId.data.cid,signal:\"visibility-viewport\",maxDelay:\"5000\",delayMode:t.delayMode},key:0},[r(\"lst-related-list-single-app-builder-mapper\",b.default,{props:{flexipageRegionWidth:t.flexipageRegionWidth,objectApiName:t.objectApiName,parentFieldApiName:t.parentFieldApiName,recordId:t.recordId,relatedListApiName:t.relatedListApiName,relatedListComponentOverride:t.relatedListComponentOverride,rowsToDisplay:t.rowsToDisplay,showActionBar:t.calculatedShowActionBar,partOfContainer:t.partOfContainer,label:t.label,recordTypeId:t.wiredRecordData.data.recordTypeId,childObjectApiName:t.wiredRLMetadata.data.objectApiName},key:1}),r(\"lst-stencil-related-list-single\",N.default,{attrs:k,props:{flexipageRegionWidth:t.flexipageRegionWidth,relatedListApiName:t.relatedListApiName,relatedListComponentOverride:t.relatedListComponentOverride,rowsToDisplay:t.rowsToDisplay,label:t.label,themeInfo:t.themeInfo,showHeader:true},key:2})]):null:null:null:null,!t.hasError?t.layoutRL?t.isAuraRelatedList?t.wiredComponentId.data.auraCid?r(\"laf-progressive-container\",w.default,{props:{cid:t.wiredComponentId.data.auraCid,signal:\"visibility-viewport\",maxDelay:\"15000\",delayMode:\"immediate\"},key:3},[r(\"lst-related-list-single-aura-wrapper\",v.default,{props:{objectApiName:t.objectApiName,recordId:t.recordId,parentFieldApiName:t.parentFieldApiName,relatedListApiName:t.relatedListApiName,relatedListComponentOverride:t.relatedListComponentOverride,rowsToDisplay:t.rowsToDisplay,flexipageRegionWidth:t.flexipageRegionWidth,showActionBar:t.calculatedShowActionBar,label:t.label,relatedListMetadata:t.layoutRL,requireMetadataInjection:true},key:4}),r(\"lst-stencil-related-list-single\",N.default,{attrs:k,props:{flexipageRegionWidth:t.flexipageRegionWidth,relatedListApiName:t.relatedListApiName,relatedListComponentOverride:t.relatedListComponentOverride,rowsToDisplay:t.rowsToDisplay,label:t.label,themeInfo:t.themeInfo,showHeader:true},key:5})]):null:null:null:null,t.hasError?n(\"div\",x,[r(\"lst-error-state\",I.default,{props:{error:t.error},key:7})]):null]}var F=t.registerTemplate(j);j.stylesheets=[];if(P){j.stylesheets.push.apply(j.stylesheets,P)}j.stylesheetToken=\"lwc-1km0t387tm6\";j.legacyStylesheetToken=\"lst-relatedListSingleContainer_relatedListSingleContainer\";t.freezeTemplate(j);const W=\"relatedListParentErrorState\";const V=\"relatedListErrorState\";const B={SMALL:\"SMALL\"};const U=p.percentileHistogram(T.default);const G=R.getMetrics(\"RelatedListSingle.LWC\");class H extends(l.CapabilityMixin(t.LightningElement)){constructor(...e){super(...e);this.startTime=0;this.endTime=0;this.pprEnteredViewportTime=0;this.pprContentsRenderedTime=0;this.flexipageRegionWidth=B.SMALL;this.objectApiName=void 0;this.parentFieldApiName=void 0;this.recordId=void 0;this.relatedListApiName=void 0;this.relatedListComponentOverride=\"NONE\";this.rowsToDisplay=10;this.showActionBar=undefined;this.partOfContainer=\"None\";this.parentLabel=\"\";this.delayMode=\"all-in-flight\";this.wiredRecordData=void 0;this.delayedConfig=void 0;this.relatedListsInLayout=void 0;this.wiredRLMetadata=void 0;this.wiredComponentId=void 0;this._rlSupport=void 0}refresh(){if(D.default.isOpen({fallback:false})){this.dispatchEvent(new A.RefreshEvent)}else{this[l.CapabilityMixin.GetRegisteredCapabilities](l.RefreshCapability).forEach(e=>e[l.RefreshCapability]())}}get label(){if(!this.layoutRL){return null}if(this.parentLabel){return S.default.replace(\"{0}\",this.layoutRL.label).replace(\"{1}\",this.parentLabel)}return this.layoutRL.label}get calculatedShowActionBar(){return this.showActionBar===undefined?true:this.showActionBar}connectedCallback(){this.startTime=performance.now();if(!D.default.isOpen({fallback:false})){this[l.CapabilityMixin.ExposeCapabilities]({[l.RefreshCapability]:this.refresh.bind(this)});this[l.CapabilityMixin.EnableListener](l.RefreshCapability)}this.template.addEventListener(r.PPR_FINAL_SIGNAL_EVENT_NAME,this.handlePPREnteredViewportSignal);this.template.addEventListener(r.PPR_FINAL_UNLOCK_SIGNAL_EVENT_NAME,this.handlePPRContentsRenderedTimeSignal);this.tags={inContainer:this.partOfContainer};this.template.tags=this.tags;G.incrementCounter(\"connectedCallback\",1,false,this.tags)}renderedCallback(){if(this.relatedListsInLayout&&this.relatedListsInLayout.data){this.endTime=performance.now();const e=this.endTime-this.startTime;if(e>=0){U.update(e);this.tags={inContainer:this.partOfContainer};G.trackValue(\"relatedListSingle\",e,false,this.tags)}}if(!this.hasLoggedMetrics){const e=this.isUiApiSupportedRelatedList(this.layoutRL);p.interaction(\"relatedListSingleContainer\",\"forceAura\",{objectApiName:this.objectApiName,parentFieldApiName:this.parentFieldApiName,relatedListApiName:this.relatedListApiName,partOfContainer:this.partOfContainer,flexipageRegionWidth:this.flexipageRegionWidth,relatedListComponentOverride:this.relatedListComponentOverride,isUiApiSupported:e});this.hasLoggedMetrics=true}this.tags={inContainer:this.partOfContainer};G.incrementCounter(\"relatedListSingle\",1,false,this.tags)}disconnectedCallback(){this[l.CapabilityMixin.ConcealCapabilities]();this.template.removeEventListener(r.PPR_FINAL_SIGNAL_EVENT_NAME,this.handlePPREnteredViewportSignal);this.template.removeEventListener(r.PPR_FINAL_UNLOCK_SIGNAL_EVENT_NAME,this.handlePPRContentsRenderedTimeSignal)}errorCallback(){if(this.wiredRecordData&&this.wiredRecordData.error&&this.wiredRecordData.error.status>=200&&this.wiredRecordData.error.status<300){this.tags={inContainer:this.partOfContainer};G.incrementCounter(\"relatedListSingle\",1,true,this.tags)}}get error(){if(this.is404()){return{type:W,message:M.default,iconConfig:{iconName:\"utility:warning\",altText:\"warning\",variant:\"warning\",title:\"warning\"}}}return{type:V,title:O.default,message:E.default}}get hasError(){return!this.wiredRecordData||this.wiredRecordData.error||!this.relatedListsInLayout||this.relatedListsInLayout.error}is404(){return this.wiredRecordData&&this.wiredRecordData.error&&this.wiredRecordData.error.status===404}get themeInfo(){if(!this.layoutRL){return null}return this.layoutRL.themeInfo||{}}get layoutRL(){if(!this.wiredRLMetadata||!this.wiredRLMetadata.data){return null}return this.wiredRLMetadata.data}get isLWCRelatedList(){const e=this.rlSupport;return e&&e.isSupported}get isAuraRelatedList(){const e=this.rlSupport;return e&&e.isAura}get rlSupport(){if(this._rlSupport){return this._rlSupport}const e=this.isUiApiSupportedRelatedList(this.layoutRL);this._rlSupport=g.isSupportedRelatedList({parentApiName:this.objectApiName,childApiName:this.layoutRL.objectApiName,enabledRelatedLists:g.enabledRelatedLists,blockedRelatedLists:g.blockedRelatedLists,isUiApiSupported:e});return this._rlSupport}isUiApiSupportedRelatedList(e){return e&&e.uiApiEnabledLayout}handlePPREnteredViewportSignal(){this.pprEnteredViewportTime=performance.now();G.incrementCounter(\"disconnectedCallback\",1,false,this.tags)}handlePPRContentsRenderedTimeSignal(){this.pprContentsRenderedTime=performance.now();const e=this.pprContentsRenderedTime-this.pprEnteredViewportTime;G.trackValue(\"disconnectedCallback\",e,false,this.tags)}}t.registerDecorators(H,{publicProps:{flexipageRegionWidth:{config:0},objectApiName:{config:0},parentFieldApiName:{config:0},recordId:{config:0},relatedListApiName:{config:0},relatedListComponentOverride:{config:0},rowsToDisplay:{config:0},showActionBar:{config:0},partOfContainer:{config:0},parentLabel:{config:0},delayMode:{config:0}},publicMethods:[\"refresh\"],wire:{wiredRecordData:{adapter:c.getRecord,dynamic:[\"recordId\",\"optionalFields\"],config:function(e){return{recordId:e.recordId,optionalFields:e.parentFieldApiName}}},delayedConfig:{adapter:L.delayedTransform,dynamic:[\"parentObjectApiName\",\"recordTypeId\"],config:function(e){let t=e.wiredRecordData;return{parentObjectApiName:e.objectApiName,recordTypeId:t!=null&&(t=t.data)!=null?t.recordTypeId:undefined}}},relatedListsInLayout:{adapter:h.getRelatedListsInfo,dynamic:[\"parentObjectApiName\",\"recordTypeId\"],config:function(e){let t=e.delayedConfig;let i=e.delayedConfig;return{parentObjectApiName:t!=null&&(t=t.data)!=null?t.parentObjectApiName:undefined,recordTypeId:i!=null&&(i=i.data)!=null?i.recordTypeId:undefined}}},wiredRLMetadata:{adapter:L.getRLMetadata,dynamic:[\"relatedListsInfo\",\"relatedListApiName\"],config:function(e){let t=e.relatedListsInLayout;return{relatedListsInfo:t!=null?t.data:undefined,relatedListApiName:e.relatedListApiName}}},wiredComponentId:{adapter:L.generateComponentId,dynamic:[\"parentFieldApiName\",\"relatedListApiName\",\"componentOverride\",\"rowsToDisplay\"],config:function(e){return{parentFieldApiName:e.parentFieldApiName,relatedListApiName:e.relatedListApiName,componentOverride:e.relatedListComponentOverride,rowsToDisplay:e.rowsToDisplay}}}},fields:[\"startTime\",\"endTime\",\"pprEnteredViewportTime\",\"pprContentsRenderedTime\",\"_rlSupport\"]});var K=t.registerComponent(H,{tmpl:F,sel:\"lst-related-list-single-container\",apiVersion:59});e.default=K;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"lst-related-list-single-container","descriptor":"markup://lst:relatedListSingleContainer","n":"lst/relatedListSingleContainer","ad":[["flexipageRegionWidth",null,"G",false],["objectApiName",null,"G",false],["parentFieldApiName",null,"G",false],["recordId",null,"G",false],["relatedListApiName",null,"G",false],["relatedListComponentOverride",null,"G",false,"NONE"],["rowsToDisplay",null,"G",false,10],["showActionBar",null,"G",false],["partOfContainer",null,"G",false,"None"],["parentLabel",null,"G",false,""],["delayMode",null,"G",false,"all-in-flight"]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://instrumentation:gateTracker', \"instrumentation/gateTracker\",[\"exports\",\"logger\",\"assert\"],function(e,t,n){function o(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var r=o(n);const s=\"gates.\";const i=s.length;function f(e){const t=c(e&&e.substring(1));const n={};for(const e in t){if(t.hasOwnProperty(e)){const o=e.indexOf(s);if(o>=0&&o<=2){const r=e.substring(o+i);const s=t[e];n[r]=s===\"1\"||s===\"true\"?true:false}}}return n}function c(e){const t={};if(e){const n=e.split(\"&\");for(let e=0;e<n.length;e++){const o=n[e].indexOf(\"=\");let r;let s=null;const i=n[e].replace(/\\+/g,\" \");if(o<0){r=l(i)}else{r=l(i.substr(0,o));s=l(i.substr(o+1))}if(!t.hasOwnProperty(r)){t[r]=s}}}return t}function l(e){let t;try{t=decodeURIComponent(e)}catch(n){t=e}return t}const a=\"gates\";const u=\"instrumentationConfig\";const g=\"prod\";const d=0;const h=1;let p=false;let b={};let y={};let w={};function O(e,t,n){r.default(typeof n===\"string\",\"Unable to parse gates info from server. Name should be string\");const o={isOpen(o){let r;if(!o||typeof o!==\"object\"||!o.hasOwnProperty(\"fallback\")){throw new Error(\"Specify a valid fallback value when querying the gate: \"+n)}if(t){r=o.fallback;k(n)}else{r=e}v(n,r);return r},hasError(){if(t){k(n)}return t}};return Object.freeze(o)}function v(e,t){y[e]=t}function k(e){b[e]=true}function m(e){if(p){return}p=true;const n=j(e)!==g;const o=f(window.location.search);const r=e(a);const s=r&&Object.keys(r)||[];for(const e of s){const s=r[e];const i=n&&o.hasOwnProperty(e);let f;let c;if(i){f=o[e];c=false;t.log(\"Client gate URL override for: \"+e);delete o[e]}else{f=!!s[d];c=!!s[h]}const l=O(f,c,e);w[e]=l}const i=Object.keys(o);if(n&&i.length>0){throw new Error(\"The following gates need to be removed from the URL. They are not client gates: \"+JSON.stringify(i))}}function j(e){const t=e(u);if(t&&t.env){return t.env}return\"unknown\"}function P(){return{gates:y,errors:b}}function G(e,n){let o;if(!p){m(n)}o=w[e];if(o===undefined){o=O(false,true,e);w[e]=o;t.log(`Gate \"${e}\" was never preloaded. Add it to the preload list`)}return o}function T(e){if(!p){m(e)}return w}function U(){p=false;w={};b={};y={}}e._resetForTesting=U;e.getAllGates=T;e.getGate=G;e.getGatesLoaded=P;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"instrumentation-gate-tracker","descriptor":"markup://instrumentation:gateTracker","n":"instrumentation/gateTracker","mv":0.0},{"xs":"P","co":"function() { $A.componentService.addModule('markup://navex:baseAccessibilityUtil', \"navex/baseAccessibilityUtil\",[\"exports\"],function(t){const e=\"button, input, select, textarea, object, a, *[tabindex]\";const n=Element.prototype.hasOwnProperty(\"matches\")?Element.prototype.matches:Element.prototype.msMatchesSelector;let o;function l(t){t=t&&t.nodeType===Node.ELEMENT_NODE?t:document.body;return document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,null,false)}function i(t,e){let o=null;const i=function(t,e){const r=l(e);while(r.nextNode()){o=r.currentNode;if(n&&n.call(o,t)){return o}else if(o.shadowRoot){const e=i(t,o.shadowRoot.host);if(e){return e}r.currentNode=o}}return null};return i(t,e)}function r(t,e){let o=null;const i=[];const r=function(t,e){const s=l(e);while(s.nextNode()){o=s.currentNode;if(n&&n.call(o,t)){i.push(o)}if(o.shadowRoot){r(t,o.shadowRoot.host);s.currentNode=o}}};r(t,e);return i}function s(t){if(t&&t.focus){t.focus()}}function c(t){if(!t||t.tabIndex===null||t.tabIndex===-1||t.name===\"skiplink\"||t.classList&&t.classList.contains(\"accessibility-span\")||t.offsetParent===null&&t.offsetHeight===0){return false}return true}function u(t){const n=r(e,t);if(n.length>0){for(let t=n.length-1;t>=0;t--){const e=n[t];if(c(e)){return e}}}return null}function a(t){const n=t&&r(e,t);if(n){for(let t=0;t<n.length;t++){const e=n[t];if(c(e)){return e}}}return null}function f(t){const e=a(t);if(e){return e}const n=t&&r(\"iframe\",t);if(n){for(let t=0;t<n.length;t++){const e=n[t];if(c(e)){return e}}}return null}function d(t){if(t){if(typeof HTMLElement===\"object\"){return t instanceof HTMLElement}return t&&t.nodeType===1&&typeof t.nodeName===\"string\"}return false}function m(t,e){return!!(t&&t.classList&&t.classList.contains(e))}function h(t){o=t}function b(t){let e;const n=t=>{if(!o){return}if(e){cancelAnimationFrame(e);e=null}e=requestAnimationFrame(()=>{e=null;let n=t.target;while(n.shadowRoot){if(n===n.shadowRoot.activeElement||!n.shadowRoot.activeElement){break}n=n.shadowRoot.activeElement}if(n){const t=n.getBoundingClientRect();const e=o.getBoundingClientRect();if(t.top<e.bottom&&t.bottom>e.top){if(o===document.elementFromPoint(t.left,t.top)||o===document.elementFromPoint(t.left,t.bottom)){n.scrollIntoView({behavior:\"auto\",block:\"center\",inline:\"center\"})}}}})};t.addEventListener(\"focusin\",n)}t.addUtilityBarAdjuster=b;t.findLastFocusableElement=u;t.findNextFocusableElement=a;t.findNextFocusableElementOrIFrame=f;t.focusIfExists=s;t.hasClass=m;t.isHtmlElement=d;t.isNodeFocusable=c;t.querySelector=i;t.querySelectorAll=r;t.setUtilityBar=h;Object.defineProperty(t,\"__esModule\",{value:true})});\n}","ce":"navex-base-accessibility-util","descriptor":"markup://navex:baseAccessibilityUtil","n":"navex/baseAccessibilityUtil"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://force:scrollPositionLib', \"force/scrollPositionLib\",[\"exports\",\"laf/contextService\",\"wire-service\",\"force/observables\"],function(e,t,n,o){let r=false;let i=false;const c={};const s=\"forcescrollcontexttoevent\";const l=\"forcegetscrollpositionevent\";const u=\"forcegetscrollpositionsubscriptionevent\";const d=\"forcescrollpositionproviderhasrenderedevent\";class a{constructor(e){Object.defineProperty(this,\"context\",{value:e,writable:false})}getScrollPosition(e){const n=t.getContextValue(this.context,c);e(n)}}function f(e){const t=typeof e;return t===\"undefined\"||t===\"number\"}function p({x:e,y:t}={}){if(!f(e)||!f(t)){throw new TypeError(\"Coordinates must be a number or undefined.\")}return new CustomEvent(s,{cancelable:true,bubbles:true,composed:true,detail:{x:e,y:t}})}function b(e){if(typeof e!==\"function\"){throw new TypeError(\"Callback must be a function.\")}return new CustomEvent(l,{cancelable:true,bubbles:true,composed:true,detail:{callback:e}})}function v(e,n){t.provideContextValue(e,c,n)}function w(e){if(e&&e.addEventListener){let t;const n=new o.Subject;const r=o.replay(n);e.addEventListener(\"scroll\",e=>{if(!t){t=window.requestAnimationFrame(()=>{const o=g(e.target);n.next(o);t=undefined})}});m(e);E(e);window.requestAnimationFrame(()=>{n.next(g(e))});v(e,r)}}function m(e){const t=e=>{const{currentTarget:t,detail:{x:n,y:o}}=e;if(typeof t.scrollTo===\"function\"){const e=g(t);t.scrollTo(n===undefined?e.x:n,o===undefined?e.y:o)}else{if(typeof n===\"number\"){t.scrollLeft=n}if(typeof o===\"number\"){t.scrollTop=o}}e.stopPropagation()};e.addEventListener(s,t);return()=>{e.removeEventListener(s,t)}}function E(e){const t=e=>{const{callback:t}=e.detail;if(typeof t===\"function\"){t(g(e.currentTarget))}e.stopPropagation()};e.addEventListener(l,t);return()=>{e.removeEventListener(l,t)}}function g(e){const t=!e||e===window||e.nodeType===Node.DOCUMENT_NODE;return{x:t?window.pageXOffset:e.scrollLeft,y:t?window.pageYOffset:e.scrollTop,height:t?window.innerHeight:e.clientHeight,width:t?window.innerWidth:e.clientWidth,scrollHeight:t?document.documentElement.scrollHeight:e.scrollHeight,scrollWidth:t?document.documentElement.scrollWidth:e.scrollWidth}}function h(){throw new Error(\"Imperative use is not supported. Use @wire(getScrollPosition).\")}function y(e){return new a(e)}function x(e,t){if(typeof e!==\"function\"||typeof t!==\"function\"){throw new TypeError(\"handler and callback must be functions.\")}if(!r){r=true;P(window)(window)}return new CustomEvent(u,{cancelable:true,bubbles:true,composed:true,detail:{handler:e,callback:t}})}function L(e){return new CustomEvent(d,{bubbles:true,cancelable:true,composed:true,detail:{container:e}})}function P(e){if(!e||typeof e.addEventListener!==\"function\"){throw new TypeError(\"Component must exist and support event listening\")}const t=new o.Subject;const n=o.replay(t);e.addEventListener(u,e=>{e.stopPropagation();const{callback:t,handler:o}=e.detail;if(typeof t===\"function\"&&typeof o===\"function\"){const e=n.subscribe(o);t(e.unsubscribe.bind(e))}});let r;return e=>{if(r){r()}r=S(e,t)}}function S(e,t){let n;if(e&&typeof e.addEventListener===\"function\"){let o;const r=()=>{if(!o){o=window.requestAnimationFrame(()=>{const n=g(e);t.next(n);o=undefined})}};e.addEventListener(\"scroll\",r);const i=m(e);const c=E(e);window.requestAnimationFrame(()=>{t.next(g(e))});n=()=>{e.removeEventListener(\"scroll\",r);i();c()}}return n}n.register(h,e=>{let t;e.addEventListener(\"connect\",()=>{if(!i){i=true;w(window)}e.dispatchEvent(new n.ValueChangedEvent({}));const o=y(e);o.getScrollPosition(o=>{t=o.subscribe(t=>{e.dispatchEvent(new n.ValueChangedEvent(t))})})});e.addEventListener(\"disconnect\",()=>{if(t){t.unsubscribe()}})});e.getScrollPosition=h;e.getScrollPositionEvent=b;e.getScrollPositionProviderRenderedEvent=L;e.getScrollPositionSubscriptionEvent=x;e.getScrollToEvent=p;e.provideService=v;e.provideServiceForContainer=w;e.registerScrollPositionProvider=P;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"force-scroll-position-lib","descriptor":"markup://force:scrollPositionLib","n":"force/scrollPositionLib"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://force:empApiInternal', \"force/empApiInternal\",[\"exports\"],function(e){function n(e,n,r){return a(\"subscribe\",{channel:e,replayId:n,onMessageCallback:r})}function r(e,n){return a(\"unsubscribe\",{subscription:e,callback:n})}function t(e){return a(\"onError\",{callback:e})}function u(e){return a(\"setDebugFlag\",{flag:e})}function c(){return a(\"isEmpEnabled\",{})}function a(e,n){return new Promise((r,t)=>{const u=new CustomEvent(\"internalapievent\",{bubbles:true,composed:true,cancelable:false,detail:{category:\"empApi\",methodName:e,methodArgs:n,callback:(e,n)=>{if(e){return t(e)}return r(n)}}});window.dispatchEvent(u)})}e._isEmpEnabled=c;e._onError=t;e._setDebugFlag=u;e._subscribe=n;e._unsubscribe=r;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"force-emp-api-internal","descriptor":"markup://force:empApiInternal","n":"force/empApiInternal"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://runtime_automated_actions:visualPicker', \"runtime_automated_actions/visualPicker\",[\"exports\",\"lwc\",\"lightning/formattedRichText\",\"runtime_automated_actions/visualPickerOption\",\"@salesforce/label/LightningControl.required\",\"lightning/utils\"],function(e,t,s,i,n,a){function r(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var l=r(s);var o=r(i);var d=r(n);const c={classMap:{\"slds-form-element\":true},key:0};const u={\"slds-required\":true};const p={attrs:{slot:\"descriptionList\"},key:5};const h={\"slds-truncate\":true};const m={key:7};function v(e,t,s,i){const{t:n,h:a,d:r,k:d,b:v,c:_,i:f}=e;const{_m0:g}=i;return[a(\"fieldset\",c,[a(\"legend\",{className:t.computedLegendClass,key:1},[t.required?a(\"abbr\",{classMap:u,attrs:{title:t.i18n.required},key:2},[n(\"*\")]):null,n(r(t.label))]),a(\"div\",{className:t.visualPickerClass,key:3},f(t._transformedOptions,function(e){return _(\"runtime_automated_actions-visual-picker-option\",o.default,{className:t.visualPickerOptionClass,props:{label:e.label,value:e.value,name:t.name,variant:t.variant,size:t.size,disabled:e.disabled,iconName:e.iconName,description:e.description,checked:e.checked,stretchAndFit:t.stretchAndFitOption},key:d(4,e.value),on:{change:g||(i._m0=v(t.handleOptionChanged))}},[a(\"span\",p,f(e.description,function(e){return a(\"ul\",{classMap:h,key:d(6,e)},[a(\"li\",m,[_(\"lightning-formatted-rich-text\",l.default,{props:{value:e},key:8})])])}))])}))])]}var _=t.registerTemplate(v);v.stylesheets=[];v.stylesheetToken=\"lwc-5p0d3ninpvf\";v.legacyStylesheetToken=\"runtime_automated_actions-visualPicker_visualPicker\";t.freezeTemplate(v);const f={PORTRAIT:\"portrait\",PORTRAIT_LABEL_HIDDEN:\"portrait-label-hidden\",LANDSCAPE:\"landscape\",VERTICAL:\"vertical\"};const g={SMALL:\"small\",MEDIUM:\"medium\",LARGE:\"large\"};const b={required:d.default};class k extends t.LightningElement{constructor(...e){super(...e);this.label=void 0;this.name=void 0;this.required=void 0;this.stretchAndFitOption=void 0;this._transformedOptions=[]}get options(){return this._options}set options(e){this._options=e;if(this._connected){this.transformOptions()}}get value(){return this._value}set value(e){this._value=e;if(this._connected){this.transformOptions()}}get variant(){return this._variant||f.PORTRAIT}set variant(e){this._variant=Object.values(f).includes(e)?e:null}get size(){return this._size||g.MEDIUM}set size(e){this._size=Object.values(g).includes(e)?e:null}checkValidity(){return!this.required||!!this._value}connectedCallback(){this.transformOptions();this._connected=true}disconnectedCallback(){this._connected=false}get computedLegendClass(){return a.classSet(\"slds-form-element__legend slds-form-element__label slds-p-horizontal--small\").add({\"slds-assistive-text\":this.isLabelHidden}).toString()}transformOptions(){const{options:e,value:t}=this;this._transformedOptions=[];if(Array.isArray(e)){this._transformedOptions=e.map(e=>({label:e.label,value:e.value,checked:t===e.value,description:e.description,iconName:e.iconName,disabled:e.disabled}))}}handleOptionChanged(e){e.stopPropagation();this._value=e.target.value;this.transformOptions();this.dispatchEvent(new CustomEvent(\"change\",{detail:{value:this._value}}))}get i18n(){return b}get isLabelHidden(){return this.variant===f.PORTRAIT_LABEL_HIDDEN}get isPortraitVariant(){return this.variant===f.PORTRAIT_LABEL_HIDDEN||this.variant===f.PORTRAIT}get visualPickerClass(){if(this._variant===f.VERTICAL){return\"slds-form-element__control\"}return\"slds-form-element__control slds-grid slds-wrap slds-m-bottom_medium slds-align_absolute-center\"}get visualPickerOptionClass(){if(this._variant!==f.VERTICAL){return\"slds-col slds-p-horizontal--small slds-p-bottom--large slds-size_1-of-1 slds-medium-size_1-of-2 slds-large-size_1-of-4\"}return\"\"}}t.registerDecorators(k,{publicProps:{label:{config:0},name:{config:0},required:{config:0},stretchAndFitOption:{config:0},options:{config:3},value:{config:3},variant:{config:3},size:{config:3}},publicMethods:[\"checkValidity\"],fields:[\"_transformedOptions\"]});var O=t.registerComponent(k,{tmpl:_,sel:\"runtime_automated_actions-visual-picker\",apiVersion:59});e.default=O;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"runtime_automated_actions-visual-picker","descriptor":"markup://runtime_automated_actions:visualPicker","n":"runtime_automated_actions/visualPicker","ad":[["label",null,"G",false],["name",null,"G",false],["required",null,"G",false],["stretchAndFitOption",null,"G",false],["options",null,"G",false],["value",null,"G",false],["variant",null,"G",false],["size",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://interop:layoutItem', \"interop/layoutItem\",[\"exports\",\"lwc\",\"lightning/utilsPrivate\",\"lightning/utils\"],function(e,i,t,s){const l={key:0};const n=[];function a(e,i,t,s){const{s:a}=e;return[a(\"\",l,n,t)]}var o=i.registerTemplate(a);a.slots=[\"\"];a.stylesheets=[];a.stylesheetToken=\"lwc-3083se99ps9\";a.legacyStylesheetToken=\"interop-layoutItem_layoutItem\";i.freezeTemplate(a);const r=1;const u=12;const d={default:null,small:null,medium:null,large:null};const m=[\"horizontal-small\",\"horizontal-medium\",\"horizontal-large\",\"around-small\",\"around-medium\",\"around-large\"];const c={\"slds-p-right_small\":\"horizontal-small\",\"slds-p-left_small\":\"horizontal-small\",\"slds-p-right_medium\":\"horizontal-medium\",\"slds-p-left_medium\":\"horizontal-medium\",\"slds-p-right_large\":\"horizontal-large\",\"slds-p-left_large\":\"horizontal-large\",\"slds-p-around_small\":\"around-small\",\"slds-p-around_medium\":\"around-medium\",\"slds-p-around_large\":\"around-large\"};const h=[\"auto\",\"shrink\",\"no-shrink\",\"grow\",\"no-grow\",\"no-flex\"];const g={\"slds-col\":\"auto\",\"slds-grow\":\"grow\",\"slds-shrink\":\"shrink\",\"slds-grow-none\":\"no-grow\",\"slds-shrink-none\":\"no-shrink\",\"slds-no-flex\":\"no-flex\"};const f={default:\"slds-size_\",small:\"slds-small-size_\",medium:\"slds-medium-size_\",large:\"slds-large-size_\"};const _=[\"left\",\"top\",\"right\",\"bottom\"];const z={FLEX_CONFLICT:\"You cannot have `flexibility` value to be set to `auto` and `no-flex` together for <lightning-layout-item> component\",SIZE_RANGE:\"Invalid `size` attribute for <lightning-layout-item> component. The `size` attribute should be an integer between 1 and 12\",SMALL_SIZE_RANGE:\"Invalid `smallDeviceSize` attribute for <lightning-layout-item> component. The `smallDeviceSize` attribute should be an integer between 1 and 12\",MEDIUM_SIZE_RANGE:\"Invalid `mediumDeviceSize` attribute for <lightning-layout-item> component. The `mediumDeviceSize` attribute should be an integer between 1 and 12\",LARGE_SIZE_RANGE:\"Invalid `largeDeviceSize` attribute for <lightning-layout-item> component. The `largeDeviceSize` attribute should be an integer between 1 and 12\",SIZE_REQUIRED:\"You cannot have device specific size attributes for <lightning-layout-item> component without specifying the `size` attribute\"};function p(e){return e.some(e=>e===\"auto\")&&e.some(e=>e===\"no-flex\")}function v(e){if(Array.isArray(e)){return e}else if(typeof e===\"string\"){e=e.split(\",\");return e.map(e=>e.trim())}return[e]}function S(e,i){e=e?e.toLowerCase():\" \";return t.normalizeString(e,{fallbackValue:i||\"\",validValues:_})}function b(e){e=e?e.toLowerCase():\" \";return t.normalizeString(e,{fallbackValue:\" \",validValues:m})}function y(e){e=v(e);if(p(e)){throw new Error(z.FLEX_CONFLICT)}return e.filter(e=>h.some(i=>e===i))}function D(e){if(e!=null){const i=parseFloat(e);return isNaN(i)?null:Math.round(i)}return e}function E(e,i){i=i||s.classSet();e=e||\" \";Object.keys(c).forEach(t=>{if(c[t].toLowerCase()===e){i.add(t)}});return i}function w(e,i){i=i||s.classSet();e=e||[];Object.keys(g).forEach(t=>{if(e.some(e=>e===g[t])){i.add(t)}});return i}function L(e,i){i=i||s.classSet();e=e||d;Object.keys(f).forEach(t=>{const s=e[t];if(s!=null&&s!==0){i.add(`${f[t]}${s}-of-12`)}});return i}function I(e,i){i=i||s.classSet();e=e||\"\";if(e!==\"\"){i.add(`slds-col_bump-${e}`)}return i}function C(e,i,t,s){const l=E(t);w(i,l);L(e,l);I(s,l);return l}function k(e,i,t,s){if(e!=null&&!(r<=e&&e<=u)){throw new Error(z.SIZE_RANGE)}if(i!=null&&!(r<=i&&i<=u)){throw new Error(z.SMALL_SIZE_RANGE)}if(t!=null&&!(r<=t&&t<=u)){throw new Error(z.MEDIUM_SIZE_RANGE)}if(s&&!(r<=s&&s<=u)){throw new Error(z.LARGE_SIZE_RANGE)}if(e==null&&(i!=null||t!=null||s!=null)){throw new Error(z.SIZE_REQUIRED)}return true}class x extends i.LightningElement{constructor(...e){super(...e);this._flexibility=void 0;this._alignmentBump=void 0;this._padding=void 0;this._size=void 0;this._smallDeviceSize=void 0;this._mediumDeviceSize=void 0;this._largeDeviceSize=void 0;this._layoutClass=[]}get flexibility(){return this._flexibility}set flexibility(e){this._flexibility=y(e);this.updateClassList()}get alignmentBump(){return this._alignmentBump}set alignmentBump(e){this._alignmentBump=S(e);this.updateClassList()}get padding(){return this._padding}set padding(e){this._padding=b(e);this.updateClassList()}get size(){return this._size}set size(e){this._size=D(e);this.validateSize();this.updateClassList()}get smallDeviceSize(){return this._smallDeviceSize}set smallDeviceSize(e){this._smallDeviceSize=D(e);this.validateSize();this.updateClassList()}get mediumDeviceSize(){return this._mediumDeviceSize}set mediumDeviceSize(e){this._mediumDeviceSize=D(e);this.validateSize()}get largeDeviceSize(){return this._largeDeviceSize}set largeDeviceSize(e){this._largeDeviceSize=D(e);this.validateSize();this.updateClassList()}connectedCallback(){this.updateClassList()}updateClassList(){this.classList.remove(...this._layoutClass);const e=C({default:this.size,small:this.smallDeviceSize,medium:this.mediumDeviceSize,large:this.largeDeviceSize},this.flexibility,this.padding,this.alignmentBump);this._layoutClass=Object.keys(e);this.classList.add(...this._layoutClass)}validateSize(){k(this.size,this.smallDeviceSize,this.mediumDeviceSize,this.largeDeviceSize)}}x.validationOptOut=[\"class\"];i.registerDecorators(x,{publicProps:{flexibility:{config:3},alignmentBump:{config:3},padding:{config:3},size:{config:3},smallDeviceSize:{config:3},mediumDeviceSize:{config:3},largeDeviceSize:{config:3}},track:{_flexibility:1,_alignmentBump:1,_padding:1,_size:1,_smallDeviceSize:1,_mediumDeviceSize:1,_largeDeviceSize:1},fields:[\"_layoutClass\"]});var A=i.registerComponent(x,{tmpl:o,sel:\"interop-layout-item\",apiVersion:59});e.default=A;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"interop-layout-item","descriptor":"markup://interop:layoutItem","n":"interop/layoutItem","mv":0.0,"ad":[["flexibility",null,"G",false],["alignmentBump",null,"G",false],["padding",null,"G",false],["size",null,"G",false],["smallDeviceSize",null,"G",false],["mediumDeviceSize",null,"G",false],["largeDeviceSize",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://force:recordVisibilityChangesNotice', \"force/recordVisibilityChangesNotice\",[\"exports\",\"lwc\",\"lightning/formattedRichText\",\"@salesforce/label/DynamicFormsFieldVisibility.FieldsAdded\",\"@salesforce/label/DynamicFormsFieldVisibility.FieldsRemoved\",\"force/recordUiUtils\"],function(e,i,t,d,l,s){function a(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var r=a(t);var o=a(d);var n=a(l);function c(e,i,t){var d=e?\"[\"+e+\"]\":\"\";return\".slds-popover__body\"+d+\" {max-height: calc(100vh - 200px);}ul.comma-delimited\"+d+\" {list-style: none;}ul.comma-delimited\"+d+\" li\"+d+\" {display: inline;}ul.comma-delimited\"+d+\" li\"+d+':after {content: \", \";}ul.comma-delimited'+d+\" li:last-child\"+d+':after {content: \"\";}'}var h=[c];const f=i.parseFragment`<div${3}><br${3}><\/div>`;const m={classMap:{\"slds-popover__body\":true},attrs:{role:\"alert\"},key:0};const u={key:1};const v={key:8};function p(e,i,t,d){const{c:l,k:s,b:a,d:o,t:n,h:c,i:h,st:p}=e;const{_m0:y}=d;return[c(\"div\",m,[i.hasFieldsAdded?c(\"div\",u,[l(\"lightning-formatted-rich-text\",r.default,{props:{value:i.i18n.added,ariaLabel:i.ariaAddedLabel},key:2}),c(\"ul\",{className:i.computedListStyle,key:3},h(i.fieldsAdded,function(e,t){return c(\"li\",{key:s(4,e.fieldName)},[i.showLinkableField?c(\"a\",{attrs:{href:\"javascript:void(0)\",\"data-index\":t},key:5,on:{click:y||(d._m0=a(i.onFieldClick))}},[n(o(e.fieldLabel))]):null,!i.showLinkableField?n(o(e.fieldLabel)):null])}))]):null,i.space?p(f(),7):null,i.hasFieldsRemoved?c(\"div\",v,[l(\"lightning-formatted-rich-text\",r.default,{props:{value:i.i18n.removed,ariaLabel:i.ariaRemovedLabel},key:9}),c(\"ul\",{className:i.computedListStyle,key:10},h(i.fieldsRemoved,function(e){return c(\"li\",{key:s(11,e.fieldName)},[n(o(e.fieldLabel))])}))]):null])]}var y=i.registerTemplate(p);p.stylesheets=[];if(h){p.stylesheets.push.apply(p.stylesheets,h)}p.stylesheetToken=\"lwc-3cjlbbi0p2\";p.legacyStylesheetToken=\"force-recordVisibilityChangesNotice_recordVisibilityChangesNotice\";i.freezeTemplate(p);class g extends i.LightningElement{constructor(...e){super(...e);this.fieldsAdded=void 0;this.fieldsRemoved=void 0;this.headerText=\"\";this.handleFieldClick=void 0;this.listFormat=void 0}get hasFieldsAdded(){if(this.fieldsAdded){return this.fieldsAdded.length>0}return false}get hasFieldsRemoved(){if(this.fieldsRemoved){return this.fieldsRemoved.length>0}return false}get showLinkableField(){return s.DeviceCheckHelpers.isMobile()}onFieldClick(e){if(typeof this.handleFieldClick===\"function\"&&this.hasFieldsAdded){const i=e.target.attributes[\"data-index\"]?.value;const t=this.fieldsAdded[i];if(t){this.handleFieldClick(t)}}}get space(){return this.hasFieldsAdded&&this.hasFieldsRemoved}get ariaAddedLabel(){return this.headerText?this.headerText+\" \"+this.i18n.added:this.i18n.added}get ariaRemovedLabel(){return this.headerText?this.headerText+\" \"+this.i18n.removed:this.i18n.removed}get i18n(){return{added:o.default,removed:n.default}}get computedListStyle(){return this.listFormat===\"COMMA_DELIMITED\"?\"comma-delimited\":\"slds-list_dotted\"}}i.registerDecorators(g,{publicProps:{fieldsAdded:{config:0},fieldsRemoved:{config:0},headerText:{config:0},handleFieldClick:{config:0},listFormat:{config:0}}});var b=i.registerComponent(g,{tmpl:y,sel:\"force-record-visibility-changes-notice\",apiVersion:59});e.default=b;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"force-record-visibility-changes-notice","descriptor":"markup://force:recordVisibilityChangesNotice","n":"force/recordVisibilityChangesNotice","ad":[["fieldsAdded",null,"G",false],["fieldsRemoved",null,"G",false],["headerText",null,"G",false,""],["handleFieldClick",null,"G",false],["listFormat",null,"G",false]]},{"xs":"P","co":"function() { $A.componentService.addModule('markup://lightning:recordEditFormCreate', \"lightning/recordEditFormCreate\",[\"exports\",\"lwc\",\"lightning/baseRecordForm\",\"lightning/uiRecordApi\",\"lightning/uiObjectInfoApi\",\"laf/transformWire\"],function(e,t,i,d,r,o){function n(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var a=n(i);const l={novalidate:\"\"};const c=[];function s(e,t,i,d){const{b:r,s:o,h:n}=e;const{_m0:a,_m1:s,_m2:p,_m3:u,_m4:f,_m5:m,_m6:g,_m7:y}=d;return[n(\"form\",{className:t.formClass,attrs:l,key:0,on:{click:a||(d._m0=r(t.handleSubmit)),registeroutputfield:s||(d._m1=r(t.handleRegister)),registerinputfield:p||(d._m2=r(t.handleRegister)),change:u||(d._m3=r(t.handleChange)),registerfielddependency:f||(d._m4=r(t.registerDependentField)),updatedependentfields:m||(d._m5=r(t.updateDependentFields)),error:g||(d._m6=r(t.handleError))}},[o(\"\",{key:1,on:{slotchange:y||(d._m7=r(t.handleRegister))}},c,i)])]}var p=t.registerTemplate(s);s.slots=[\"\"];s.stylesheets=[];s.stylesheetToken=\"lwc-1c5v5972hs2\";s.legacyStylesheetToken=\"lightning-recordEditFormCreate_recordEditFormCreate\";t.freezeTemplate(s);class u extends a.default{constructor(...e){super(...e);this.recordTypeId=null;this.objectApiName=null;this.layoutType=\"Full\";this.optionalFields=[];this.wiredObjectApiName=void 0;this.wiredOptionalFields=void 0;this.getRecordCreateDefaultsConfig=void 0;this.wiredRecordUiCreate=void 0;this.wiredRecordTypeId=void 0}wiredRecordCreateDefaults(e){this.handleData(e)}wiredPicklistValues(e){this.handlePicklistValues(e)}}t.registerDecorators(u,{publicProps:{recordTypeId:{config:0},objectApiName:{config:0},layoutType:{config:0},optionalFields:{config:0}},wire:{wiredObjectApiName:{adapter:o.getObjectApiName,dynamic:[\"objectApiName\"],config:function(e){return{objectApiName:e.objectApiName}}},wiredOptionalFields:{adapter:o.transformOptionalFields,dynamic:[\"objectApiName\",\"optionalFields\"],config:function(e){let t=e.wiredObjectApiName;return{objectApiName:t!=null?t.data:undefined,optionalFields:e.optionalFields}}},getRecordCreateDefaultsConfig:{adapter:o.delayedTransform,dynamic:[\"objectApiName\",\"optionalFields\"],config:function(e){let t=e.wiredObjectApiName;let i=e.wiredOptionalFields;return{objectApiName:t!=null?t.data:undefined,optionalFields:i!=null?i.data:undefined}}},wiredRecordUiCreate:{adapter:d.getRecordCreateDefaults,dynamic:[\"objectApiName\",\"recordTypeId\",\"optionalFields\"],config:function(e){let t=e.getRecordCreateDefaultsConfig;let i=e.getRecordCreateDefaultsConfig;return{objectApiName:t!=null&&(t=t.data)!=null?t.objectApiName:undefined,recordTypeId:e.recordTypeId,optionalFields:i!=null&&(i=i.data)!=null?i.optionalFields:undefined}}},wiredRecordCreateDefaults:{adapter:d.getRecordCreateDefaults,dynamic:[\"objectApiName\",\"recordTypeId\",\"optionalFields\"],method:1,config:function(e){let t=e.getRecordCreateDefaultsConfig;let i=e.getRecordCreateDefaultsConfig;return{objectApiName:t!=null&&(t=t.data)!=null?t.objectApiName:undefined,recordTypeId:e.recordTypeId,optionalFields:i!=null&&(i=i.data)!=null?i.optionalFields:undefined}}},wiredRecordTypeId:{adapter:o.getRecordTypeIdFromRecordUiCreate,dynamic:[\"recordUi\",\"recordTypeId\"],config:function(e){let t=e.wiredRecordUiCreate;return{recordUi:t!=null?t.data:undefined,recordTypeId:e.recordTypeId}}},wiredPicklistValues:{adapter:r.getPicklistValuesByRecordType,dynamic:[\"objectApiName\",\"recordTypeId\"],method:1,config:function(e){let t=e.wiredObjectApiName;let i=e.wiredRecordTypeId;return{objectApiName:t!=null?t.data:undefined,recordTypeId:i!=null?i.data:undefined}}}}});var f=t.registerComponent(u,{tmpl:p,sel:\"lightning-record-edit-form-create\",apiVersion:59});e.default=f;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"lightning-record-edit-form-create","descriptor":"markup://lightning:recordEditFormCreate","n":"lightning/recordEditFormCreate","ad":[["recordTypeId",null,"G",false],["objectApiName",null,"G",true],["layoutType",null,"G",false,"Full"],["optionalFields",null,"G",false,[]]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://lst:relatedListQuickLink', \"lst/relatedListQuickLink\",[\"exports\",\"lwc\",\"records/highlightsIcon\",\"records/hoverableLink\",\"laf/navigationService\",\"force/relatedListNavigationLibrary\",\"lightning/utils\",\"force/previewLib\",\"force/panelLib\"],function(e,t,r,l,i,a,n,o,s){function d(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var c=d(r);var h=d(l);var u=d(a);function f(e,t,r){var l=e?\"[\"+e+\"]\":\"\";return\".truncate-label\"+l+\" .rlql-relatedListLink\"+l+\",.truncate-label\"+l+\" .rlql-label\"+l+\" {overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}.truncate-label\"+l+\" .slds-media__body\"+l+\",.truncate-label\"+l+\" .rlql-relatedListLink\"+l+\" {display: flex;}.rlql-relatedListLink\"+l+\" {text-decoration: none;}a.rlql-relatedListLink\"+l+\" {color: var(--lwc-brandTextLink);vertical-align: top;}a.rlql-relatedListLink:hover\"+l+\" {text-decoration : none;color: var(--lwc-brandTextLinkActive);}.showPreview\"+l+\" a.rlql-relatedListLink\"+l+\" {border-bottom : 1px dotted;}a.rlql-relatedListLink\"+l+\" span:hover\"+l+\" {color: var(--lwc-brandTextLinkActive);}.slds-media__body\"+l+\" {word-wrap: break-word;}@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {.rlql-label\"+l+\" {width: 175px;}}\"}var p=[f];const v={classMap:{\"slds-media__body\":true},key:2};const L={\"rlql-label\":true};const m={\"rlql-relatedListLink\":true};const b={\"rlql-count\":true,\"slds-m-left_xx-small\":true};function g(e,t,r,l){const{c:i,b:a,d:n,t:o,h:s}=e;const{_m0:d,_m1:u,_m2:f,_m3:p}=l;return[s(\"div\",{className:t.computedRootClass,key:0},[i(\"records-highlights-icon\",c.default,{props:{objectApiName:t.relatedListInfo.relatedSObject,entityColor:t.relatedListInfo.themeColor,avatar:t.avatar,entityLabel:t.relatedListInfo.label,iconSizeDesktop:\"xx-small\"},key:1}),s(\"div\",v,[!t.computedHidePreviewOnHover?i(\"records-hoverable-link\",h.default,{classMap:L,props:{href:t.drillInURL,text:t.label,hideDelay:\"0\",shouldTruncate:t.truncateLabel},key:3,on:{showhover:d||(l._m0=a(t.handleShowHover)),hidehover:u||(l._m1=a(t.handleHideHover)),click:f||(l._m2=a(t.handleDrillInClick))}}):null,t.computedHidePreviewOnHover?s(\"a\",{classMap:m,attrs:{href:t.drillInURL},key:4,on:{click:p||(l._m3=a(t.handleDrillInClick))}},[s(\"span\",{classMap:L,attrs:{title:t.relatedListInfo.label},key:5},[o(n(t.relatedListInfo.label))]),t.hasPartialCount?s(\"span\",{classMap:b,attrs:{title:t.formattedPartialCount},key:6},[o(n(t.formattedPartialCount))]):null]):null])])]}var I=t.registerTemplate(g);g.stylesheets=[];if(p){g.stylesheets.push.apply(g.stylesheets,p)}g.stylesheetToken=\"lwc-459g5ke859t\";g.legacyStylesheetToken=\"lst-relatedListQuickLink_relatedListQuickLink\";t.freezeTemplate(g);const{generatePageRef:k}=u.default;class P extends t.LightningElement{constructor(...e){super(...e);this.objectApiName=void 0;this.relatedListInfo={};this.recordId=\"\";this.truncateLabel=false;this.drillInURL=void 0;this.hidePreviewOnHover=false;this.currentPanelInfo=void 0}connectedCallback(){i.getService(this).generateUrl(this.pageRef).then(e=>{this.drillInURL=e})}get label(){let e;if(this.relatedListInfo&&this.relatedListInfo.label){e=this.relatedListInfo.label;if(this.hasPartialCount){e+=` ${this.formattedPartialCount}`}}return e}get avatar(){if(this.relatedListInfo){return{type:\"Theme\",iconUrl:this.relatedListInfo.themeIcon,recordId:this.recordId,backgroundColor:this.relatedListInfo.themeColor}}return{}}get computedHidePreviewOnHover(){return this.hidePreviewOnHover||this.relatedListInfo?.childObjectApiName?.endsWith(\"__dlm\")}get computedRootClass(){return n.classSet(\"slds-media\").add({\"truncate-label\":this.truncateLabel})}get hasPartialCount(){const{partialCount:e}=this.relatedListInfo;return e===0||e}get formattedPartialCount(){const{partialCount:e}=this.relatedListInfo;const t=e>10;return`(${Math.min(e,10)}${t?\"+\":\"\"})`}get pageRef(){return k(this.relatedListInfo.relatedListApiName,this.objectApiName,this.recordId)}handleDrillInClick(e){if(!e.metaKey){e.preventDefault();i.getService(this).navigateTo(this.pageRef)}}showHoverPreview(e,t,r){if(!t||!r||r.panel){return}const l={type:\"force:relatedListHover\",attributes:this.getHoverPanelCmpAttributes(e,t)};const i=r.panelConfig;s.createPreview({body:l,panelConfig:i}).then(e=>{r.panel=e})}getHoverPanelCmpAttributes(e,t){const r=Math.min(document.documentElement.clientWidth,window.innerWidth||0)-30;return{relatedListId:e,parentRecordId:t,panelWidth:r}}focus(){const e=this.hidePreviewOnHover?\"a\":\"records-hoverable-link\";this.template.querySelector(e).focus()}handleShowHover(e){this.currentPanelInfo=o.initializeHoverPreview(e,this.handlePanelClose.bind(this));this.currentPanelInfo.panelConfig=Object.assign(this.currentPanelInfo.panelConfig,{closeOnClickOut:false});if(!this.recordId||this.recordId.length<1){e.stopPropagation();e.preventDefault()}else{this.showHoverPreview(this.relatedListInfo.relatedListApiName,this.recordId,this.currentPanelInfo)}}handleHideHover(){o.hidePreviewPanel(this.currentPanelInfo)}handlePanelClose(){const e=this.template.querySelector(\"records-hoverable-link\");if(e){e.notifyPanelClose()}}}t.registerDecorators(P,{publicProps:{objectApiName:{config:0},relatedListInfo:{config:0},recordId:{config:0},truncateLabel:{config:0},hidePreviewOnHover:{config:0}},publicMethods:[\"focus\"],track:{drillInURL:1},fields:[\"currentPanelInfo\"]});var w=t.registerComponent(P,{tmpl:I,sel:\"lst-related-list-quick-link\",apiVersion:59});e.default=w;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"lst-related-list-quick-link","descriptor":"markup://lst:relatedListQuickLink","n":"lst/relatedListQuickLink","ad":[["objectApiName",null,"G",false],["relatedListInfo",null,"G",false,{}],["recordId",null,"G",false,""],["truncateLabel",null,"G",false,false],["hidePreviewOnHover",null,"G",false,false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://lightning:refresh', \"lightning/refresh\",[\"exports\",\"lwc\"],function(e,t){const r=\"lightning__refresh\";class n extends CustomEvent{constructor(){super(r,{composed:true,cancelable:true,bubbles:true})}}const s=\"privatelightning__findparent\";class i extends CustomEvent{constructor(e){super(s,{bubbles:true,composed:true,detail:{refreshNode:e}})}}const o=0;const h=1;const l=2;const d=[];const a={};let c=0;const f={RefreshContainer:1,RefreshHandler:2};const m=2e4;const u=[];class p{constructor(e,t,r){this.contextElement=void 0;this.refreshMethod=void 0;this.parent=void 0;this.childContexts=void 0;this.handle=void 0;this.findParentHandler=void 0;this.refreshNodeType=void 0;this.contextElement=e;this.refreshMethod=t;this.refreshNodeType=r||f.RefreshHandler;this.childContexts=[];c=c+1;this.handle=c}addChild(e){if(this.childContexts.indexOf(e)===-1){this.childContexts.push(e);e.parent=this}}removeChildAtIndex(e){if(e>=0&&e<this.childContexts.length){const t=this.childContexts[e];this.childContexts.splice(e,1);t.parent=null;let r=t.childContexts;r.forEach(e=>{this.addChild(e)})}}addGraphEvents(){this.findParentHandler=this.handleFindParent.bind(this);this.contextElement.addEventListener(s,this.findParentHandler)}removeGraphEvents(){this.contextElement.removeEventListener(s,this.findParentHandler)}handleFindParent(e){const{refreshNode:t}=e.detail;if(t!==this){if(t.contextElement===this.contextElement&&t.refreshNodeType===f.RefreshContainer){if(t.childContexts.indexOf(this)===-1){const e=this.parent;t.addChild(this);e.addChild(t);e.removeChildAtIndex(e.childContexts.indexOf(this))}}else{if(t.contextElement===this.contextElement&&t.refreshNodeType===f.RefreshHandler){this.removeGraphEvents();t.addGraphEvents();this.addGraphEvents()}this.addChild(t)}e.stopImmediatePropagation()}}performRefresh(){let e;try{e=this.refreshMethod.call(undefined)}catch(e){console.error(\"Error encountered in refresh node method.\");g(this.handle);return Promise.reject()}if(!(e instanceof Promise)){console.error(\"Invalid return value from refresh node.\");g(this.handle);return Promise.reject()}const t=new Promise((t,r)=>{const n=setTimeout(()=>{console.error(\"Refresh handler has taken too long, preventing refresh on branch until refresh process completes.\");u.push(this);return r(false)},m);e.then(e=>{clearTimeout(n);const r=u.indexOf(this);if(r!==-1){u.splice(r,1)}return t(e)}).catch(()=>{clearTimeout(n);return t(false)})});return t.then(e=>Promise.resolve(e)).catch(()=>Promise.resolve(false))}registerWithParent(){this.contextElement.dispatchEvent(new i(this))}removeElementFromTree(e){for(let t=this.childContexts.length-1;t>=0;t--){if(this.childContexts[t]===e){this.removeChildAtIndex(t);continue}this.childContexts[t].removeElementFromTree(e)}}}t.registerDecorators(p,{fields:[\"contextElement\",\"refreshMethod\",\"parent\",\"childContexts\",\"handle\",\"findParentHandler\",\"refreshNodeType\"]});class E extends p{constructor(e,t){super(e,t,f.RefreshContainer);this.refreshEventHandler=void 0;this.containerRefreshing=void 0;this.childRefreshPromise=void 0;this.containerRefreshing=false;this.childRefreshPromise=null}performRefresh(){if(this.containerRefreshing){return this.childRefreshPromise}let e,t;const r=new Promise((r,n)=>{e=r;t=n});try{this.refreshMethod.call(undefined,r)}catch(e){console.error(\"Error encountered in refresh container method.\");x(this.handle);t(o);return Promise.reject()}this.containerRefreshing=true;this.childRefreshPromise=this.refreshChildren().then(t=>{e(t?h:l);this.containerRefreshing=false;this.childRefreshPromise=null;return Promise.resolve(t)});return this.childRefreshPromise}refreshChildren(){return new Promise(async e=>{let t=[];for(let e=this.childContexts.length-1;e>=0;e--){t.push(this.makeRaceWrapper(this.childContexts[e]))}let r=false;while(t.length!==0){await Promise.race(t).then(n=>{t.splice(t.indexOf(n.promise),1);r=r||n.result===false;if(n.refreshNode.refreshNodeType===f.RefreshHandler&&!(r&&n.result===false)){for(let e=n.refreshNode.childContexts.length-1;e>=0;e--){t.push(this.makeRaceWrapper(n.refreshNode.childContexts[e]))}}if(t.length===0){e(!r)}})}e(true)})}makeRaceWrapper(e){let t;t=new Promise(async r=>{const n=u.indexOf(e);if(n===-1){e.performRefresh().then(n=>{r({refreshNode:e,result:n,promise:t})}).catch(()=>{r({refreshNode:e,result:false,promise:t})})}else{console.error(\"Refresh process encountered a long running node\");await Promise.resolve();r({refreshNode:e,result:false,promise:t})}});return t}addGraphEvents(){super.addGraphEvents();this.refreshEventHandler=e=>{let t=this.performRefresh();t.catch(()=>{console.error(\"Refresh was not successful\")});e.stopImmediatePropagation()};this.contextElement.addEventListener(r,this.refreshEventHandler)}removeGraphEvents(){super.removeGraphEvents();this.contextElement.removeEventListener(r,this.refreshEventHandler)}}t.registerDecorators(E,{fields:[\"refreshEventHandler\",\"containerRefreshing\",\"childRefreshPromise\"]});function v(e,r){C(e,r,f.RefreshContainer);if(e instanceof t.LightningElement){r=r.bind(e)}const n=new E(e,r);P(n);return n.handle}function x(e){const t=a[e];if(t){w(t);t.removeGraphEvents();delete a[e]}}function R(e,r){C(e,r,f.RefreshHandler);if(e instanceof t.LightningElement){r=r.bind(e)}const n=new p(e,r);P(n);return n.handle}function g(e){const t=a[e];if(t){w(t);t.removeGraphEvents();delete a[e]}}function C(e,r,n){if(!e||!(e instanceof EventTarget||e instanceof t.LightningElement)){throw new Error(\"Invalid contextElement. Must be an HTMLElement or LightningElement.\")}if(!r||typeof r!==\"function\"){throw new Error(\"Invalid providerMethod. Must be of type Function.\")}for(const t in a){if(a[t]){const r=a[t];if(r.contextElement===e&&r.refreshNodeType===n){throw new Error(\"Invalid duplicate element registration. Element cannot be registered multiple times as a container or handler.\")}}}}function P(e){w(e);e.registerWithParent();e.addGraphEvents(e);if(!e.parent){H(d,e);T(e)}else{H(e.parent.childContexts,e)}a[e.handle]=e}function H(e,t){for(let r=e.length-1;r>=0;r--){let n=e[r];let s=d.indexOf(n)!==-1;if(s||n!==t){n.registerWithParent()}if(s&&n.parent){d.splice(r,1)}else if(!s&&n.parent===t){t.parent.removeChildAtIndex(r)}}}function w(e){for(let t=d.length-1;t>=0;t--){if(d[t]===e){d.splice(t,1);for(let t=e.childContexts.length-1;t>=0;t--){T(e.childContexts[t])}continue}d[t].removeElementFromTree(e)}}function T(e){if(d.indexOf(e)===-1){e.parent=null;d.push(e)}}e.REFRESH_COMPLETE=h;e.REFRESH_COMPLETE_WITH_ERRORS=l;e.REFRESH_ERROR=o;e.RefreshEvent=n;e.RefreshEventName=r;e.registerRefreshContainer=v;e.registerRefreshHandler=R;e.unregisterRefreshContainer=x;e.unregisterRefreshHandler=g;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"lightning-refresh","descriptor":"markup://lightning:refresh","n":"lightning/refresh","mv":55.0},{"xs":"G","co":"function() { $A.componentService.addModule('markup://records:highlights2', \"records/highlights2\",[\"exports\",\"lwc\",\"force/versionMarker\",\"runtime_platform_actions/providerRecordDetail\",\"runtime_platform_actions/actionsRibbon\",\"runtime_platform_actions/providerRecordDetailPle\",\"lightning/utils\",\"force/recordUiUtils\",\"aura\",\"laf/pageCapability\",\"force/scrollPositionLib\",\"one/layoutContainerLib\",\"@salesforce/accessCheck/isRaptorActionsContainerEnabled\",\"@salesforce/accessCheck/isRaptorActionsContainerEnabledForAccount\",\"@salesforce/accessCheck/isRaptorActionsContainerEnabledForContact\",\"@salesforce/accessCheck/isRaptorActionsContainerEnabledForLead\",\"@salesforce/accessCheck/isRaptorActionsContainerEnabledForOpportunity\",\"@salesforce/accessCheck/isRaptorActionsContainerEnabledForSupport\",\"@salesforce/accessCheck/Records.isRRHVersionIndicatorEnabled\",\"instrumentation/service\",\"lightning/refresh\",\"@salesforce/gate/lasr.refreshViewAPI\",\"force/rrhAllowList\",\"records/baseHighlights2\",\"runtime_thp_learning/sidePanelApi\"],function(e,t,i,s,n,r,o,a,l,d,h,c,u,p,g,f,m,y,b,C,v,A,S,w,x){function W(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var R=W(i);var _=W(s);var k=W(n);var F=W(r);var E=W(u);var H=W(p);var M=W(g);var P=W(f);var I=W(m);var O=W(y);var L=W(b);var N=W(A);var V=W(w);function z(e,t,i){var s=e?\"[\"+e+\"]\":\"\";var n=e?\"[\"+e+\"-host]\":\"\";return'slot[name=\"primaryField\"]'+s+\" {--lwc-lineHeightText: var(--lwc-lineHeightHeading);}.fixed-position\"+s+\" {position: fixed;z-index: 98;}\"+(t?\":host .slds-page-header__detail-row\":n+\" .slds-page-header__detail-row\")+s+\" {fill: var(--slds-g-color-neutral-base-80, var(--lwc-colorTextButtonInverse));padding: var(--lwc-varSpacingVerticalMedium) var(--lwc-varSpacingHorizontalMedium);margin-top: var(--lwc-varSpacingVerticalMedium);margin-right: calc(-1 * var(--lwc-varSpacingHorizontalMedium));margin-left: calc(-1 * var(--lwc-varSpacingHorizontalMedium));margin-bottom: calc(-1 * var(--lwc-varSpacingVerticalMedium));}.entityNameTitle\"+s+\" {font-size: var(--lwc-varFontSize3);color: var(--slds-g-color-neutral-base-40, var(--lwc-colorTextWeak));}.word-break-ie11\"+s+\" {word-break: break-all;word-break: break-word;}.clip-text\"+s+\" {hyphens: auto;word-wrap: break-word;word-break: break-word;position: relative;max-height: 2.8125rem;overflow: hidden;-webkit-line-clamp: 2;}.fieldsOnTablet\"+s+\" {width: 100%;display: flex;flex-direction: row;}\"}var q=[z];const T=t.parseFragment`<div class=\"slds-col slds-no-flex slds-grid slds-grid_vertical-align-center horizontal slds-m-right--xx-small chatterActionContainer${0}\"${2}><\/div>`;const B=t.parseFragment`<div class=\"slds-col slds-no-flex slds-grid slds-grid_vertical-align-center horizontal actionsContainer${0}\"${2}><\/div>`;const D=t.parseFragment`<div class=\"proxy${0}\"${2}><\/div>`;const $=t.parseFragment`<div class=\"slds-page-header__controls actionsContainer${0}\"${2}><\/div>`;const j=t.parseFragment`<div class=\"slds-m-right--xx-small chatterActionContainer${0}\"${2}><\/div>`;const U={classMap:{\"slds-grid\":true,primaryFieldRow:true},key:1};const G={classMap:{\"slds-grid\":true,\"slds-col\":true,\"slds-has-flexi-truncate\":true},key:2};const K={classMap:{\"slds-media\":true,\"slds-no-space\":true},key:3};const Z={attrs:{name:\"icon\"},key:4};const Q=[];const Y={classMap:{\"slds-media__body\":true},key:5};const X={key:6};const J={classMap:{entityNameTitle:true,\"slds-line-height--reset\":true},key:7};const ee={classMap:{\"slds-page-header__title\":true,\"slds-m-right--small\":true,\"slds-align-middle\":true,\"clip-text\":true,\"slds-line-clamp\":true},attrs:{name:\"primaryField\"},key:8};const te={attrs:{name:\"versionMarker\"},key:10};const ie={props:{tag:\"HighlightsPanel\",version:\"RRH\"},key:\"@versionMarker:11\"};const se={classMap:{\"slds-col\":true,\"slds-no-flex\":true,\"slds-grid\":true,\"slds-grid_vertical-align-center\":true,horizontal:true,actionsContainer:true},key:17};const ne={key:18};const re={slot:\"actionsProvider\"};const oe={key:21};const ae={classMap:{secondaryFields:true},attrs:{role:\"list\"},key:24};const le={attrs:{name:\"secondaryFields\"},key:25};const de={classMap:{\"slds-page-header\":true,\"slds-page-header_vertical\":true,highlights:true},key:28};const he={classMap:{\"slds-media\":true},key:29};const ce={attrs:{name:\"icon\"},key:30};const ue={classMap:{\"slds-media__body\":true},key:31};const pe={classMap:{\"slds-page-header__name\":true},key:32};const ge={classMap:{\"slds-page-header__name-title\":true},key:33};const fe={key:34};const me={classMap:{\"slds-page-header__title\":true,\"slds-hyphenate\":true,\"word-break-ie11\":true},key:35};const ye={attrs:{name:\"primaryField\"},key:36};const be={classMap:{\"slds-page-header__controls\":true,actionsContainer:true},key:39};const Ce={key:42};const ve={key:45};const Ae={classMap:{secondaryFields:true,\"slds-hyphenate\":true,\"word-break-ie11\":true},attrs:{role:\"list\"},key:48};const Se={attrs:{name:\"secondaryFields\"},key:49};function we(e,t,i,s){const{s:n,h:r,d:o,t:a,c:l,fr:d,st:h,b:c}=e;const{_m0:u,_m1:p,_m2:g,_m3:f}=s;return[t.shouldRenderHorizontal?r(\"div\",{className:t.highlightsComputedClass,key:0},[r(\"div\",U,[r(\"div\",G,[r(\"div\",K,[n(\"icon\",Z,Q,i)]),t.hasEntityLabel?r(\"div\",Y,[r(\"h1\",X,[r(\"div\",J,[a(o(t.entityLabel))]),n(\"primaryField\",ee,Q,i),t.showRRHVersionIndicator?d(9,[n(\"versionMarker\",te,[l(\"force-version-marker\",R.default,ie),l(\"force-version-marker\",R.default,{props:{tag:\"ActionsContainer\",version:t.versionForActionsContainer},key:\"@versionMarker:12\"})],i)],0):null])]):null]),h(T(),14),!t.useRaptorActionsContainer?h(B(),16):null,t.useRaptorActionsContainer?r(\"div\",se,[t.enableActionsConfiguration?r(\"div\",ne,[l(\"runtime_platform_actions-actions-ribbon\",k.default,{props:{size:t.numVisibleActions,contextId:t.recordId,maxWidth:t.maxWidth,menuAlignment:\"right\"},key:19,on:{actionsrendered:u||(s._m0=c(t.handleActionsRendered))}},[l(\"runtime_platform_actions-provider-record-detail\",_.default,{attrs:re,props:{objectApiName:t.objectApiName,recordId:t.recordId,actionNames:t.actionNames,retrievalMode:\"All\"},key:20})])]):null,!t.enableActionsConfiguration?r(\"div\",oe,[l(\"runtime_platform_actions-actions-ribbon\",k.default,{props:{size:t.numVisibleActions,contextId:t.recordId,maxWidth:t.maxWidth,menuAlignment:\"right\"},key:22,on:{actionsrendered:p||(s._m1=c(t.handleActionsRendered))}},[l(\"runtime_platform_actions-provider-record-detail-ple\",F.default,{attrs:re,props:{objectApiName:t.objectApiName,recordId:t.recordId,section:\"PAGE\"},key:23})])]):null]):null]),t.shouldDisplaySecondaryFields?r(\"div\",ae,[n(\"secondaryFields\",le,Q,i)]):null]):null,h(D(),27),t.shouldRenderVertical?r(\"div\",de,[r(\"div\",he,[n(\"icon\",ce,Q,i),r(\"div\",ue,[r(\"div\",pe,[r(\"div\",ge,[r(\"h1\",fe,[r(\"span\",me,[n(\"primaryField\",ye,Q,i)])])])])])]),!t.useRaptorActionsContainer?h($(),38):null,t.useRaptorActionsContainer?r(\"div\",be,[h(j(),41),t.enableActionsConfiguration?r(\"div\",Ce,[l(\"runtime_platform_actions-actions-ribbon\",k.default,{props:{size:t.numVisibleActions,contextId:t.recordId,maxWidth:t.maxWidth},key:43,on:{actionsrendered:g||(s._m2=c(t.handleActionsRendered))}},[l(\"runtime_platform_actions-provider-record-detail\",_.default,{attrs:re,props:{objectApiName:t.objectApiName,recordId:t.recordId,actionNames:t.actionNames,retrievalMode:\"All\"},key:44})])]):null,!t.enableActionsConfiguration?r(\"div\",ve,[l(\"runtime_platform_actions-actions-ribbon\",k.default,{props:{size:t.numVisibleActions,contextId:t.recordId,maxWidth:t.maxWidth},key:46,on:{actionsrendered:f||(s._m3=c(t.handleActionsRendered))}},[l(\"runtime_platform_actions-provider-record-detail-ple\",F.default,{attrs:re,props:{objectApiName:t.objectApiName,recordId:t.recordId,section:\"PAGE\"},key:47})])]):null]):null,t.shouldDisplaySecondaryFields?r(\"div\",Ae,[n(\"secondaryFields\",Se,Q,i)]):null]):null]}var xe=t.registerTemplate(we);we.slots=[\"icon\",\"primaryField\",\"secondaryFields\",\"versionMarker\"];we.stylesheets=[];if(q){we.stylesheets.push.apply(we.stylesheets,q)}we.stylesheetToken=\"lwc-3mmmrd7j9v4\";we.legacyStylesheetToken=\"records-highlights2_highlights2\";t.freezeTemplate(we);const We=\"div.highlights\";const Re=\"div.proxy\";const _e=\"div.primaryFieldRow\";const ke=\"div.secondaryFields\";const Fe=\"slot[name=secondaryFields]\";const Ee=\"div.actionsContainer\";const He=\"div.chatterActionContainer\";const Me=13;const Pe=16;const Ie=4;const Oe=50;const Le=500;const Ne=375;const Ve=\"slds-size_1-of-2\";const ze=\"slds-size_2-of-2\";const qe=3;function Te(e,t){let i=0;let s=0;const n=[];for(let r=0;r<t.length;r++){t[r].style.maxWidth=\"100%\";t[r].classList.remove(\"slds-hide\");const o={order:r+1,element:t[r],preferredWidth:Math.ceil(t[r].getBoundingClientRect().width),availableWidth:e/t.length,visible:true};if(o.preferredWidth>e){o.wrappeable=true}else{o.wrappeable=o.preferredWidth>2*o.availableWidth&&o.preferredWidth>250}o.width=o.wrappeable?Math.max(o.availableWidth,250):o.preferredWidth;n.push(o);i+=n[r].preferredWidth;s+=n[r].width}return{fields:n,totalFieldsPreferredWidth:i,totalFieldsWrappedWidth:s}}function Be(e,t){let i=0,s=0;let n=e;for(let e=0;e<t.length;e+=1){if(t[e].wrappeable){i++}else{n-=t[e].preferredWidth}}s=n/i;return s}function De(e,t,i){let s=0,n=0;const r=t.slice(0).reverse();while(r.length>0&&i>e){const e=r.shift();i-=e.width;e.visible=false}for(let e=0;e<r.length;e++){if(r[e].wrappeable){s++;n+=r[e].width}}n=s>0?(e-i+n)/s:0;return n}function $e(e,t){const i=e.width;if(t===i){return false}return true}function je(e,t){const i=e/(t?t:Me);const s=Math.min(i*Me,Me);return s}function Ue(e){return Me-e+\"px\"}function Ge(e){return e===Me?\"0px\":Ie+\"px\"}function Ke(e){const t=Math.min(e,Me);return t>0?\"translate3d(0, -\"+t+\"px, 0)\":\"\"}function Ze(e,t,i){return e?t:Math.max(i-Me,0)}function Qe(e){return\"translate3d(0,-\"+e+\"px,0)\"}function Ye(){return E.default}function Xe(){return H.default}function Je(){return M.default}function et(){return P.default}function tt(){return I.default}function it(){return O.default}function st(){return L.default}const nt=\"CustomButton\";class rt extends(d.CapabilityMixin(V.default)){get collapsed(){return this._collapsed}set collapsed(e){this._collapsed=e}get auraActionNames(){return this._auraActionNames}set auraActionNames(e){this._auraActionNames=e;this.updateAuraActionWrapper()}refresh(){if(this.auraActionWrapper){this._refreshAuraActionWrapperAfterRender=true}return Promise.resolve(true)}get useRaptorActionsContainer(){const e=this.recordId?this.recordId.substring(0,3):\"\";switch(e){case\"001\":return Xe();case\"003\":return Je();case\"006\":return tt();case\"00Q\":return et();default:if(S.isActionsContainerEntity(e)){return it()}}if(!Ye){return false}return this.isCustomObjectPrefix(e)||this.isKnowledgeObjectPrefix(e)}get versionForActionsContainer(){return this.useRaptorActionsContainer?\"RRH\":\"Aura\"}get hasEntityLabel(){if(this.entityLabel){return true}return false}constructor(){super();this.recordId=void 0;this.objectApiName=void 0;this.record=void 0;this.entityLabel=void 0;this.hasSecondaryFields=void 0;this.inContextOfComponent=void 0;this.inContextOfRecordId=void 0;this.width=void 0;this.hideChatterActions=void 0;this.actionNames=void 0;this._collapsed=false;this._auraActionNames=void 0;this.enableActionsConfiguration=void 0;this.maxWidth=void 0;this.auraActionWrapper=void 0;this.numVisibleActions=void 0;this.shouldFixAndCollapseHeader=void 0;this.initiallyRendered=false;this.refreshID=void 0;this.viewportTop=void 0;this.sidePanelWidth=0;this.splitRegionWidth=0;this.splitViewOffset=null;this.resizeObserver=new a.ResizeObserver(this.handleResize.bind(this));this.intersectionObserver=new a.IntersectionObserverCompat(this.handleIntersect.bind(this));const e=this.handleMutation.bind(this);this.mutationObserver=new MutationObserver(a.debounce(e,Le,{trailing:true}));this.debouncedSetStaticElementHeights=a.debounce(this.setStaticElementHeights.bind(this),50,{trailing:true})}renderedCallback(){this.overrideOwnerLookupPrimaryField();if(this._refreshAuraActionWrapperAfterRender){this._refreshAuraActionWrapperAfterRender=false;if(this.auraActionWrapper){this.auraActionWrapper.refresh(t.unwrap(this.record))}}if(this.initiallyRendered){return}this.initiallyRendered=true;this.resizeObserver.observe();const e=this.template.querySelector(We);if(e){this.intersectionObserver.observe(t.unwrap(e))}if(document&&document.body){this.mutationObserver.observe(document.body,{attributes:true,childList:true,subtree:true})}this.applyDetailItemsClass();this.calculateShouldEnableCollapse();if(this.shouldDisplaySecondaryFields){const e=this.template.querySelector(Fe);if(e){if(this.shouldRenderVertical){e.classList.add(\"slds-page-header__detail-list\",\"slds-gutters\")}else{e.classList.add(\"slds-grid\",\"slds-page-header__detail-row\")}}}this.setMaxWidthForActionsContainer();this.renderAuraActionWrapper()}connectedCallback(){if(N.default.isOpen({fallback:false})){this.refreshID=v.registerRefreshHandler(this,this.refresh)}else{this[d.CapabilityMixin.ExposeCapabilities]({[d.RefreshCapability]:this.refresh.bind(this)});this[d.CapabilityMixin.EnableListener](d.RefreshCapability)}this.dispatchEvent(h.getScrollPositionSubscriptionEvent(this.onScrollPositionChange.bind(this),e=>{this.scrollPositionSubscriptionDisconnect=e}));this.sidePanelUnsub=x.subscribeToStateChange(this.handleSidePanelStateChange.bind(this))}disconnectedCallback(){if(N.default.isOpen({fallback:false})){v.unregisterRefreshHandler(this.refreshID)}this[d.CapabilityMixin.ConcealCapabilities]();this.debouncedSetStaticElementHeights=null;this.resizeObserver.disconnect();this.resizeObserver=null;this.intersectionObserver.disconnect();this.intersectionObserver=null;if(this.mutationObserver){this.mutationObserver.disconnect();this.mutationObserver=null}this.destroyAuraActionWrapper();if(this.scrollPositionSubscriptionDisconnect){this.scrollPositionSubscriptionDisconnect();this.scrollPositionSubscriptionDisconnect=null}if(this.sidePanelUnsub){this.sidePanelUnsub.unsubscribe();this.sidePanelUnsub=null}}onScrollPositionChange({y:e}){this.scrollPositionY=e;this.calculateShouldEnableCollapse();if(this.shouldFixAndCollapseHeader){this.transformHeader()}}updatePosition(e){this.viewportTop=e.top;this.calculateShouldEnableCollapse()}handleSidePanelStateChange(e){const t=this.template.querySelector(We);const i=t&&t.clientHeight>0;if(!c.isConsoleNavigation()){if(e.pinnedOpen){this.sidePanelWidth=e.boundingRect.width}else{this.sidePanelWidth=0}if(i){this.transformHeader()}}if(i){this.setMaxWidthForActionsContainer()}}handleSplitViewModeChange(e){const i=t.unwrap(this.template.querySelector(We));const s=i&&i.clientHeight>0;if(!c.isConsoleNavigation()){if(e.splitLeftWidth){this.splitRegionWidth=e.splitLeftWidth+(e.toggleWidth?e.toggleWidth:0)}this.splitViewOffset=null;if(s){this.transformHeader()}}if(s){this.setMaxWidthForActionsContainer()}}getScrollAmount(){const e=this.template.querySelector(Re);if(!e){return 0}const t=this.viewportTop!==undefined?this.viewportTop:0;const i=e.getBoundingClientRect();const s=i.top-Me;const n=Math.max(t-s,0);return n}setStaticElementHeights(){const e=this.template.querySelector(We),i=this.template.querySelector(_e),s=this.template.querySelector(ke);if(!e||!i||e.getBoundingClientRect().height===0){return}const n=s?s.getBoundingClientRect().height:0,r=i.getBoundingClientRect().height;const o=window.getComputedStyle(t.unwrap(e))[\"padding-top\"],a=parseInt(o,10)||0,l=a*2,d=l+n+r;e.style.height=d+\"px\";this.originalElementStyles.highlightsContainer.height=d;this.positionProxy();this.transformHeader()}transformHeader(){if(!this.initiallyRendered||!this.shouldFixAndCollapseHeader&&!this.collapsed||!this.widthSupportsCollapse){return}const e=t.unwrap(this.template.querySelector(We)),i=this.template.querySelector(ke),s=this.collapsed,n=Me;if(!(e&&n!==undefined)){return}const r=this.getScrollAmount();if(this.originalElementStyles.highlightsContainer.paddingLeft===undefined||this.originalElementStyles.highlightsContainer.paddingRight===undefined){this.setHighlightsPadding()}const o=e.clientHeight;const a=i?i.clientHeight:0;const l=a;const d=je(r,l);if(r>=0){this.transformHighlightsContainerElement(e,r,d);const t=Ze(s,l,r);if(t<=l){const s=t/l;this.transformBodyElements(i,t);if(this.originalElementStyles.highlightsContainer.height){e.style.height=this.originalElementStyles.highlightsContainer.height-t+\"px\"}else{e.style.height=o-l+\"px\"}if(i){i.style.opacity=1-s*2}}else{this.transformBodyElements(i,t);e.style.height=this.originalElementStyles.highlightsContainer.height-l+\"px\";if(i){i.style.opacity=0}}}else{this.resetHighlightsStyling(e,i)}if(i){const e=Number.parseFloat(i.style.opacity);i.style.visibility=e<=0?\"hidden\":\"visible\"}}transformHighlightsContainerElement(e,t,i){const s=this.isRtl();const n=Ue(i);if(s){e.style.right=n;e.style.left=parseInt(n,10)+this.sidePanelWidth+\"px\"}else{e.style.left=n;e.style.right=parseInt(n,10)+this.sidePanelWidth+\"px\"}if(!c.isConsoleNavigation()){const t=s?\"right\":\"left\";if(this.splitViewOffset===null){const e=this.template.querySelector(Re);const i=e?e.getBoundingClientRect():null;if(s){this.splitViewOffset=i?document.body.clientWidth-i[t]:0}else{this.splitViewOffset=i?i[t]:0}}e.style[t]=this.splitViewOffset-i+\"px\"}e.style.paddingLeft=this.originalElementStyles.highlightsContainer.paddingLeft+i+\"px\";e.style.paddingRight=this.originalElementStyles.highlightsContainer.paddingRight+i+\"px\";e.style.borderRadius=Ge(i);e.style.transform=Ke(t)}transformBodyElements(e,t){if(e){e.style.transform=Qe(t)}}resetHighlightsStyling(e,t){e=e||this.template.querySelector(We);t=t||this.template.querySelector(ke);if(e){e.style.transform=\"\";e.style.borderRadius=Ie+\"px\";e.style.left=Me+\"px\";e.style.right=Me+\"px\";e.style.paddingLeft=this.originalElementStyles.highlightsContainer.paddingLeft+\"px\";e.style.paddingRight=this.originalElementStyles.highlightsContainer.paddingRight+\"px\";e.style.height=this.originalElementStyles.highlightsContainer.height+\"px\"}if(t){t.style.transform=\"\";t.style.opacity=1;t.style.visibility=\"visible\"}}setHighlightsPadding(){const e=this.template.querySelector(We);if(e){const i=t.unwrap(e);const s=window.getComputedStyle(i);this.originalElementStyles.highlightsContainer.paddingLeft=parseInt(s[\"padding-left\"],10)||0;this.originalElementStyles.highlightsContainer.paddingRight=parseInt(s[\"padding-right\"],10)||0}}calculateShouldEnableCollapse(e){if(!this.checkCalculateEnableCollapseNeeded(e)){return}let t=false;let i;if(this.widthSupportsCollapse){if(this.shouldFixAndCollapseHeader){i=this.template.querySelector(Re)}else{i=this.template.querySelector(We)}if(i&&document&&document.body){const{top:e,left:s,right:n}=i.getBoundingClientRect();const r=e-this.viewportTop+(this.scrollPositionY||0);let o,a;if(e===0&&s===0&&n===0){return}if(this.isRtl()){o=document.body.clientWidth-this.splitRegionWidth-n;a=s-this.sidePanelWidth}else{o=document.body.clientWidth-n-this.sidePanelWidth;a=s-this.splitRegionWidth}t=r<=Oe&&a<=Oe&&o<=Oe}}if(this.shouldFixAndCollapseHeader!==t){const e=this.shouldFixAndCollapseHeader;this.shouldFixAndCollapseHeader=t;if(!this.shouldFixAndCollapseHeader){if(e){this.positionProxy();this.resetHighlightsStyling()}if(this.mutationObserver){this.mutationObserver.disconnect();this.mutationObserver=null}}else if(e===undefined){this.positionProxy();this.transformHeader()}}}checkCalculateEnableCollapseNeeded(e){if(c.isConsoleNavigation()){return false}if(!this.isConnected||!this.initiallyRendered||this.viewportTop===undefined||this.originalElementStyles.highlightsContainer.height===undefined){return false}if(this.shouldFixAndCollapseHeader===false){return false}if(this.shouldFixAndCollapseHeader===true&&!e){return false}return true}isRtl(){const e=this.template&&this.template.host?window.getComputedStyle(this.template.host):null;return e&&e.direction===\"rtl\"}get shouldDisplaySecondaryFields(){return this.hasSecondaryFields&&!this.collapsed}get shouldRenderVertical(){return this.width===a.RecordUiConstants.flexipageWidthEnum.SMALL}get shouldRenderHorizontal(){return this.width!==a.RecordUiConstants.flexipageWidthEnum.SMALL}get widthSupportsCollapse(){return this.width===a.RecordUiConstants.flexipageWidthEnum.LARGE||this.width===a.RecordUiConstants.flexipageWidthEnum.XLARGE}get highlightsComputedClass(){return o.classSet({highlights:true,\"slds-clearfix\":true,\"slds-page-header\":true,\"slds-page-header_record-home\":true,\"fixed-position\":this.shouldFixAndCollapseHeader}).toString()}applyDetailItemsClass(){const e=this.getSecondaryFieldsElements();if(e){let t;if(this.shouldRenderVertical){t=[\"slds-page-header__detail-item\",\"slds-p-horizontal_small\"]}else{t=[\"slds-page-header__detail-block\"]}for(let i=0,s=e.length;i<s;i++){t.forEach(t=>e[i].classList.add(t))}}}positionProxy(){const e=this.template.querySelector(Re);if(e){if(this.shouldFixAndCollapseHeader&&this.originalElementStyles.highlightsContainer.height!==undefined){e.style.height=this.originalElementStyles.highlightsContainer.height+\"px\"}else{e.style.height=\"\"}}}renderAuraActionWrapper(){if(this.useRaptorActionsContainer){this.createAuraActionWrapper(\"false\",He);return}this.createAuraActionWrapper(\"true\",Ee)}createAuraActionWrapper(e,i){const s=this.numVisibleActions===null||this.numVisibleActions===undefined?qe:this.numVisibleActions;const n=`${this.recordId}_${s}`;if(this.currentActionsKey===n){return}this.currentActionsKey=n;const r=this;function o(e){return new Promise((t,i)=>{l.createComponent(\"force:highlightsActionWrapper\",e,(e,s,n)=>{if(s===\"SUCCESS\"){t(e)}else{i(s,n)}},false,r)})}const a={recordId:this.recordId,record:t.unwrap(this.record),size:s,actionNames:this.actionNames,enableActionsConfiguration:this.enableActionsConfiguration,hideChatterActions:this.hideChatterActions,hasRecordAndChatterAction:e,actionsLoadedCallback:()=>this.handleActionsRendered()};this.destroyAuraActionWrapper(i);o(a).then(e=>{if(!this.auraActionWrapper){this.auraActionWrapper=e;const s=this.template.querySelector(i);l.renderComponent(e,t.unwrap(s));window.$A.afterRender(e)}});if(this.actionNames!=null){this.logActionsByType(this.actionNames)}}logActionsByType(e){const t=[];const i=[];const s=[];e.forEach(e=>{if(e.startsWith(nt+\".\")){s.push(e)}else if(e.includes(\".\")){i.push(e)}else{t.push(e)}});C.mark(\"actions_lwc\",\"actions_in_highlights\",{CustomButton:s,StandardAction:t,QuickAction:i,enableActionsConfiguration:this.enableActionsConfiguration})}destroyAuraActionWrapper(e){if(this.auraActionWrapper){window.$A.unrender(this.auraActionWrapper);this.auraActionWrapper.destroy();const t=this.template.querySelector(e);while(t&&t.firstChild){t.removeChild(t.firstChild)}this.auraActionWrapper=undefined}}updateAuraActionWrapper(){if(!this.auraActionNames||!this.auraActionWrapper){return}this.auraActionWrapper.set(\"v.actionNames\",this.auraActionNames)}layoutSecondaryFields(e){if(!this.shouldDisplaySecondaryFields){return}const t=this.getSecondaryFieldsElements();const i=this.template.querySelector(We);if(!t||t.length===0||!i){return}const s=i.getBoundingClientRect();if(!e&&!$e(s,this.originalElementStyles.highlightsContainer.width)){return}this.originalElementStyles.highlightsContainer.width=s.width;if(this.shouldRenderVertical){if(t&&i){const{width:e}=this.originalElementStyles.highlightsContainer;const i=e>Ne;for(let e=0,s=t.length;e<s;e++){const s=t[e];if(i){s.classList.add(Ve);s.classList.remove(ze)}else{s.classList.add(ze);s.classList.remove(Ve)}}}}else{const e=this.getListElement();let i=e.getBoundingClientRect();if(i.height>0&&i.width>0){const s=window.getComputedStyle(e);const n=parseInt(s.paddingLeft,10);const r=parseInt(s.paddingRight,10);const o=i.width-n-r-Pe;this.layoutSecondaryFieldsInContainer(e,o,t);i=e.getBoundingClientRect();if(this.secondaryFieldsHeight&&this.secondaryFieldsHeight!==i.height){this.setStaticElementHeights()}this.secondaryFieldsHeight=i.height}}}getListElement(){return t.unwrap(this.template.querySelector(ke))}layoutSecondaryFieldsInContainer(e,t,i){e.style.visibility=\"visible\";e.style.width=\"1000000px\";const{fields:s,totalFieldsPreferredWidth:n,totalFieldsWrappedWidth:r}=Te(t,i);e.style.width=\"\";if(t>=n){this.displaySecondaryFields(s,false,0)}else if(t>=r){this.displaySecondaryFields(s,true,Be(t,s))}else{this.displaySecondaryFields(s,true,De(t,s,r))}}displaySecondaryFields(e,t,i){for(let s=0,n=e.length;s<n;s++){let n;if(e[s].visible){const r=t?i>0?i:e[s].width:e[s].preferredWidth;n=r}else{e[s].element.classList.add(\"slds-hide\");n=0}e[s].element.style.maxWidth=`${n}px`}}handleResize(){this.layoutSecondaryFields();this.setMaxWidthForActionsContainer()}handleIntersect(e){e.forEach(e=>{if(e.isIntersecting){this.setStaticElementHeights();this.layoutSecondaryFields();this.setMaxWidthForActionsContainer()}})}handleActionsRendered(e){if(this.debouncedSetStaticElementHeights){this.debouncedSetStaticElementHeights()}if(!e){this.setMaxWidthForActionsContainer()}}setMaxWidthForActionsContainer(){if(!this.auraActionWrapper){return}this.maxWidth=this.getMaxWidthForActionContainer();this.auraActionWrapper.set(\"v.maxWidth\",this.maxWidth)}getMaxWidthForActionContainer(){this.maxWidth=-1;const e=this.template.querySelector(We);if(!e){return this.maxWidth}const t=e.getBoundingClientRect().width;const i=a.HighlightsUtils.getMaxWidthRatioForActionsContainer(t,this.shouldRenderVertical);let s=0;if(this.useRaptorActionsContainer&&this.auraActionWrapper){s=a.HighlightsUtils.getChatterActionsWidth(this.auraActionWrapper.find(\"chatterActionsContainer\"))}this.maxWidth=(t-s)*i;return this.maxWidth}handleMutation(){this.calculateShouldEnableCollapse(true)}isCustomObjectPrefix(e){const t=/^[a][a-zA-Z0-9]{2}$/;return t.test(e)}isKnowledgeObjectPrefix(e){const t=/^ka[a-zA-Z0-9]$/;const i=/^kb[a-bA-Z0-9]$/;return t.test(e)||i.test(e)}get showRRHVersionIndicator(){return st()}}t.registerDecorators(rt,{publicProps:{recordId:{config:0},objectApiName:{config:0},record:{config:0},entityLabel:{config:0},hasSecondaryFields:{config:0},inContextOfComponent:{config:0},inContextOfRecordId:{config:0},width:{config:0},hideChatterActions:{config:0},actionNames:{config:0},collapsed:{config:3},auraActionNames:{config:3},enableActionsConfiguration:{config:0},numVisibleActions:{config:0},shouldFixAndCollapseHeader:{config:0},shouldRenderHorizontal:{config:1}},publicMethods:[\"refresh\",\"layoutSecondaryFields\",\"handleMutation\"],wire:{updatePosition:{adapter:c.getViewport,method:1,config:function(e){return{}}},handleSplitViewModeChange:{adapter:c.getSplitViewMode,method:1,config:function(e){return{}}}},fields:[\"_collapsed\",\"_auraActionNames\",\"maxWidth\",\"auraActionWrapper\",\"initiallyRendered\",\"refreshID\",\"viewportTop\",\"sidePanelWidth\",\"splitRegionWidth\",\"splitViewOffset\"]});var ot=t.registerComponent(rt,{tmpl:xe,sel:\"records-highlights2\",apiVersion:59});e.default=ot;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"records-highlights2","descriptor":"markup://records:highlights2","n":"records/highlights2","ad":[["recordId",null,"G",false],["objectApiName",null,"G",false],["record",null,"G",false],["entityLabel",null,"G",false],["hasSecondaryFields",null,"G",false],["inContextOfComponent",null,"G",false],["inContextOfRecordId",null,"G",false],["width",null,"G",false],["hideChatterActions",null,"G",false],["actionNames",null,"G",false],["collapsed",null,"G",false],["auraActionNames",null,"G",false],["enableActionsConfiguration",null,"G",false],["numVisibleActions",null,"G",false],["shouldFixAndCollapseHeader",null,"G",false],["shouldRenderHorizontal",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://lightning:fieldDependencyManager', \"lightning/fieldDependencyManager\",[\"exports\",\"lwc\"],function(e,t){class n{constructor(e){this._fieldValues={};this._dependencyMap={};this._picklistMap={};this._optionsCache={};if(e){i.call(this,e)}}registerDependencyInfo(e){i.call(this,e)}registerField(e){s.call(this,e)}handleFieldValueChange(e,t){o.call(this,e,t)}}t.registerDecorators(n,{fields:[\"_fieldValues\",\"_dependencyMap\",\"_picklistMap\",\"_optionsCache\"]});function i({dependentFields:e,picklistValues:t}){V.call(this);if(e){l.call(this,e)}if(t){Object.assign(this._picklistMap,t)}}function l(e){for(const t in e){if(Object.prototype.hasOwnProperty.call(e,t)){const n=Object.keys(e[t]).reduce((e,t)=>{e.push(t);return e},[]);if(n.length>0){this._dependencyMap[t]=n}l.call(this,e[t])}}}function s({fieldName:e,fieldElement:t}){if(!(e in this._fieldValues)){this._fieldValues[e]={controllerName:d.call(this,e),fieldElement:t}}c.call(this,e)}function c(e){const t=this._fieldValues[e];const n=t.controllerName!==undefined;const i=n&&this._fieldValues[t.controllerName]===undefined;if(i){return}if(this._picklistMap[e]!==undefined){const n=f.call(this,e);const i=r.call(this,e,n);p(e,t.fieldElement,i)}const l=u(e,t.fieldElement);a.call(this,e,l,false)}function o(e,t){a.call(this,e,t,true)}function a(e,t,n){const i=this._dependencyMap[e]||[];if(!i.length){return}for(let e=0,l=i.length;e<l;e++){const l=i[e];const s=this._fieldValues[l];if(s){const e=r.call(this,l,t);const i=e.some(e=>s.fieldElement.getFieldValue()===e.value);if(n&&!i){s.fieldElement.setFieldValue(\"\")}p(l,s.fieldElement,e)}}}function d(e){return Object.keys(this._dependencyMap).find(t=>this._dependencyMap[t].includes(e))}function f(e){const t=this._fieldValues[e];const n=this._fieldValues[t.controllerName];let i;if(n){i=u(t.controllerName,n.fieldElement)}return i}function u(e,t){const n=t.getFieldValue();if(typeof n===\"object\"&&n!==null){return n[e]}return n}function r(e,t){const n=_({fieldName:e,controllerValue:t});if(n in this._optionsCache){return this._optionsCache[n]}const i=this._fieldValues[e];const l=this._picklistMap[e];let s=l&&l.values;const c=i.controllerName!==undefined;if(c){if(t!==undefined&&t!==null){s=h(l,t)}else{s=[]}}this._optionsCache[n]=s;return s}function h(e,t){const n=e.controllerValues[t];const i=e.values;const l=[];for(let e=0,t=i.length;e<t;e++){const t=i[e];if(t.validFor.includes(n)){l.push(t)}}return l}function p(e,t,n){t.updateFieldOptions(e,n)}function _(e){return Object.keys(e).reduce((t,n)=>{const i=e[n];return i!==undefined&&i!==\"\"?t+(t!==\"\"?\"-\":\"\")+i+\"\":t+\"\"},\"\")}function V(){this._fieldValues={};this._dependencyMap={};this._picklistMap={};this._optionsCache={}}e.DependencyManager=n;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"lightning-field-dependency-manager","descriptor":"markup://lightning:fieldDependencyManager","n":"lightning/fieldDependencyManager"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://force:placeholder2', \"force/placeholder2\",[\"exports\",\"lwc\"],function(t,e){const i=[];function s(t,e,s,d){return i}var d=e.registerTemplate(s);s.stylesheets=[];s.stylesheetToken=\"lwc-68a1cq003tj\";s.legacyStylesheetToken=\"force-placeholder2_placeholder2\";e.freezeTemplate(s);function l(t,e,i){var s=t?\"[\"+t+\"]\":\"\";var d=t?\"[\"+t+\"-host]\":\"\";return\".text\"+s+\" {border-radius: 15rem;display: block;margin-bottom: .75rem;background-color: var(--slds-g-color-neutral-base-95, rgb(242, 242, 243));height: .5rem;}.text:last-child\"+s+\" {margin-bottom: 0px;}.text-shorter\"+s+\" {width: 20%;}.placeholder\"+s+\" .text-thin\"+s+\" {height: 6px;border-radius: 15rem;}.text-medium\"+s+\" {width: 60%;}.border-bottom\"+s+\" {border-bottom: 1px solid rgb(217, 219, 221);}.right-column\"+s+\" {display: none;}.field\"+s+\" {padding: 1.5rem 1rem;}@media only screen and (min-width: 48em){\"+(e?\":host {\":d+\" {\")+\"float: left;width: 100%;clear: both;}.left-column\"+s+\", .right-column\"+s+\" {float: left;display: block;width: 50%;}.right-column\"+s+\" {padding-left: 1.5rem;}}\"+(e?\":host {\":d+\" {\")+\"background-color: var(--slds-g-color-neutral-base-100, rgb(255, 255, 255));}.text-secondary\"+s+\" {background-color: rgb(233, 234, 236);}.field:nth-child(even)\"+s+\" .text-secondary\"+s+\" {width: 33%;}\"}var a=[l];const r=e.parseFragment`<div class=\"left-column${0}\"${2}><div class=\"field border-bottom${0}\"${2}><div class=\"text text-primary text-shorter text-thin${0}\"${2}><\/div><div class=\"text text-secondary text-medium text-thin${0}\"${2}><\/div><\/div><div class=\"field border-bottom${0}\"${2}><div class=\"text text-primary text-shorter text-thin${0}\"${2}><\/div><div class=\"text text-secondary text-medium text-thin${0}\"${2}><\/div><\/div><div class=\"field border-bottom${0}\"${2}><div class=\"text text-primary text-shorter text-thin${0}\"${2}><\/div><div class=\"text text-secondary text-medium text-thin${0}\"${2}><\/div><\/div><div class=\"field border-bottom${0}\"${2}><div class=\"text text-primary text-shorter text-thin${0}\"${2}><\/div><div class=\"text text-secondary text-medium text-thin${0}\"${2}><\/div><\/div><div class=\"field border-bottom${0}\"${2}><div class=\"text text-primary text-shorter text-thin${0}\"${2}><\/div><div class=\"text text-secondary text-medium text-thin${0}\"${2}><\/div><\/div><div class=\"field border-bottom${0}\"${2}><div class=\"text text-primary text-shorter text-thin${0}\"${2}><\/div><div class=\"text text-secondary text-medium text-thin${0}\"${2}><\/div><\/div><div class=\"field border-bottom${0}\"${2}><div class=\"text text-primary text-shorter text-thin${0}\"${2}><\/div><div class=\"text text-secondary text-medium text-thin${0}\"${2}><\/div><\/div><\/div>`;const c=e.parseFragment`<div class=\"right-column${0}\"${2}><div class=\"field border-bottom${0}\"${2}><div class=\"text text-primary text-shorter text-thin${0}\"${2}><\/div><div class=\"text text-secondary text-medium text-thin${0}\"${2}><\/div><\/div><div class=\"field border-bottom${0}\"${2}><div class=\"text text-primary text-shorter text-thin${0}\"${2}><\/div><div class=\"text text-secondary text-medium text-thin${0}\"${2}><\/div><\/div><div class=\"field border-bottom${0}\"${2}><div class=\"text text-primary text-shorter text-thin${0}\"${2}><\/div><div class=\"text text-secondary text-medium text-thin${0}\"${2}><\/div><\/div><div class=\"field border-bottom${0}\"${2}><div class=\"text text-primary text-shorter text-thin${0}\"${2}><\/div><div class=\"text text-secondary text-medium text-thin${0}\"${2}><\/div><\/div><div class=\"field border-bottom${0}\"${2}><div class=\"text text-primary text-shorter text-thin${0}\"${2}><\/div><div class=\"text text-secondary text-medium text-thin${0}\"${2}><\/div><\/div><div class=\"field border-bottom${0}\"${2}><div class=\"text text-primary text-shorter text-thin${0}\"${2}><\/div><div class=\"text text-secondary text-medium text-thin${0}\"${2}><\/div><\/div><\/div>`;function o(t,e,i,s){const{st:d}=t;return[d(r(),1),d(c(),3)]}var v=e.registerTemplate(o);o.stylesheets=[];if(a){o.stylesheets.push.apply(o.stylesheets,a)}o.stylesheetToken=\"lwc-67qotjmbdnj\";o.legacyStylesheetToken=\"force-placeholder2_detail\";e.freezeTemplate(o);function n(t,e,i){var s=t?\"[\"+t+\"]\":\"\";return\".body\"+s+\" {height: 9rem;padding: var(--lwc-spacingLarge) var(--lwc-spacingLarge) 0 var(--lwc-spacingLarge);box-sizing: border-box;border-radius: var(--lwc-borderRadiusSmall);background-color: var(--lwc-colorBackgroundStencil);}.icon\"+s+\" {vertical-align: top;display: inline-block;margin-right: var(--lwc-spacingSmall);border-radius: var(--lwc-borderRadiusMedium);}.icon-medium\"+s+\" {width: var(--lwc-squareIconLargeContent);height: var(--lwc-squareIconLargeContent);background-color: var(--lwc-colorBackgroundStencilAlt);}.text-primary\"+s+\" {height: var(--lwc-spacingXLarge);margin-bottom: 0;display: inline-block;width: 50%;}.text-secondary\"+s+\" {margin: var(--lwc-spacingSmall) -1.25rem calc(-1 * var(--lwc-spacingXxSmall));padding: var(--lwc-spacingMedium) var(--lwc-spacingMedium);padding-bottom: var(--lwc-spacingXxSmall);background-color: var(--lwc-colorBackgroundAlt);border-bottom: var(--lwc-borderWidthThin) solid var(--lwc-colorBackgroundAlt2);}.text-body\"+s+\" {width: 10%;margin: 0 var(--lwc-spacingXLarge) 0 0;display: inline-block;height: 100%;}.multi-text-line\"+s+\" > div\"+s+\" {float: left;margin-right: var(--lwc-spacingSmall);}.text\"+s+\" {display: block;background-color: var(--lwc-colorBackgroundStencilAlt);margin-bottom: var(--lwc-spacingSmall);border-radius: var(--lwc-borderRadiusPill);height: var(--lwc-spacingXSmall);}.text-long\"+s+\" {width: 100%;}.text-thick\"+s+\" {height: 14px;margin: 10px 0;}.text-medium\"+s+\" {width: 60%;}.text-tiny\"+s+\" {width: 5%;}.text:last-child\"+s+\" {margin-bottom: 0;}\"}var $=[n];const m=e.parseFragment`<div class=\"body${0}\"${2}><div class=\"icon icon-medium${0}\"${2}><\/div><div class=\"text-primary${0}\"${2}><div class=\"text text-thick text-long${0}\"${2}><\/div><\/div><div class=\"text-secondary${0}\"${2}><div class=\"text-body${0}\"${2}><div class=\"text text-long${0}\"${2}><\/div><div class=\"multi-text-line${0}\"${2}><div class=\"text text-medium${0}\"${2}><\/div><div class=\"text text-tiny${0}\"${2}><\/div><\/div><\/div><div class=\"text-body${0}\"${2}><div class=\"text text-long${0}\"${2}><\/div><div class=\"multi-text-line${0}\"${2}><div class=\"text text-medium${0}\"${2}><\/div><div class=\"text text-tiny${0}\"${2}><\/div><\/div><\/div><div class=\"text-body${0}\"${2}><div class=\"text text-long${0}\"${2}><\/div><div class=\"multi-text-line${0}\"${2}><div class=\"text text-medium${0}\"${2}><\/div><div class=\"text text-tiny${0}\"${2}><\/div><\/div><\/div><div class=\"text-body${0}\"${2}><div class=\"text text-long${0}\"${2}><\/div><div class=\"multi-text-line${0}\"${2}><div class=\"text text-medium${0}\"${2}><\/div><div class=\"text text-tiny${0}\"${2}><\/div><\/div><\/div><\/div><\/div>`;function x(t,e,i,s){const{st:d}=t;return[d(m(),1)]}var g=e.registerTemplate(x);x.stylesheets=[];if($){x.stylesheets.push.apply(x.stylesheets,$)}x.stylesheetToken=\"lwc-m716rd26rl\";x.legacyStylesheetToken=\"force-placeholder2_highlights\";e.freezeTemplate(x);function h(t,e,i){var s=t?\"[\"+t+\"]\":\"\";return\".body\"+s+\" {padding: var(--lwc-spacingMedium);border-radius: var(--lwc-borderRadiusMedium);background-color: var(--lwc-colorBackgroundStencil);}.icon\"+s+\" {display: inline-block;margin-right: var(--lwc-spacingSmall);border-radius: var(--lwc-borderRadiusMedium);}.icon-medium\"+s+\" {width: var(--lwc-squareIconLargeContent);height: var(--lwc-squareIconLargeContent);background-color: var(--lwc-colorBackgroundStencilAlt);}.text-primary\"+s+\" {display: inline-block;width: 50%;height: 100%;}.text\"+s+\" {display: block;background-color: var(--lwc-colorBackgroundStencilAlt);margin-bottom: var(--lwc-spacingSmall);border-radius: var(--lwc-borderRadiusPill);height: var(--lwc-spacingXSmall);}.text-long\"+s+\" {width: 100%;}.text-thick\"+s+\" {height: 14px;margin: 10px 0;}.text:last-child\"+s+\" {margin-bottom: 0;}\"}var u=[h];const p=e.parseFragment`<div class=\"body${0}\"${2}><div class=\"icon icon-medium${0}\"${2}><\/div><div class=\"text-primary${0}\"${2}><div class=\"text text-thick text-long${0}\"${2}><\/div><\/div><\/div>`;function b(t,e,i,s){const{st:d}=t;return[d(p(),1)]}var y=e.registerTemplate(b);b.stylesheets=[];if(u){b.stylesheets.push.apply(b.stylesheets,u)}b.stylesheetToken=\"lwc-1qpb1kn0o8r\";b.legacyStylesheetToken=\"force-placeholder2_highlightsCollapsed\";e.freezeTemplate(b);function w(t,e,i){var s=t?\"[\"+t+\"]\":\"\";return\".body\"+s+\" {padding: var(--lwc-spacingLarge);border-radius: var(--lwc-borderRadiusSmall);background-color: var(--lwc-colorBackgroundStencil);}.icon\"+s+\" {vertical-align: middle;display: inline-block;margin-right: var(--lwc-spacingSmall);border-radius: var(--lwc-borderRadiusMedium);}.icon-medium\"+s+\" {width: var(--lwc-squareIconLargeContent);height: var(--lwc-squareIconLargeContent);background-color: var(--lwc-colorBackgroundStencilAlt);}.below-text-body\"+s+\" {display: flex;}.button\"+s+\" {height: 0;padding: 1rem;margin: 0.5rem 0;border-radius: var(--lwc-borderRadiusMedium);}.button-small\"+s+\" {width: 70px;margin-right: var(--lwc-spacingSmall);}.button-full\"+s+\" {flex-grow: 1;}.text-body\"+s+\" {width: 50%;display: inline-block;height: 100%;}.multi-text-line\"+s+\" > div\"+s+\" {float: left;margin-right: var(--lwc-spacingSmall);}.text\"+s+\" {display: block;background-color: var(--lwc-colorBackgroundStencilAlt);margin-bottom: var(--lwc-spacingSmall);border-radius: var(--lwc-borderRadiusPill);height: var(--lwc-spacingXSmall);}.text-long\"+s+\" {width: 100%;}.text-thick\"+s+\" {height: 14px;margin: 0;}.text-medium\"+s+\" {width: 60%;}.text-tiny\"+s+\" {width: 5%;}.text:last-child\"+s+\" {margin-bottom: 0;}.m-bottom--small\"+s+\" {margin-bottom: .75rem;}\"}var f=[w];const k=e.parseFragment`<div class=\"body${0}\"${2}><div${3}><div class=\"icon icon-medium${0}\"${2}><\/div><div class=\"text-body${0}\"${2}><div class=\"text text-thick text-long${0}\"${2}><\/div><\/div><\/div><div class=\"below-text-body${0}\"${2}><div class=\"button button-small${0}\"${2}><\/div><div class=\"button button-full${0}\"${2}><\/div><\/div><div${3}><div class=\"text-body m-bottom--small${0}\"${2}><div class=\"text text-long${0}\"${2}><\/div><div class=\"multi-text-line${0}\"${2}><div class=\"text text-medium${0}\"${2}><\/div><div class=\"text text-tiny${0}\"${2}><\/div><\/div><\/div><div class=\"text-body m-bottom-small${0}\"${2}><\/div><div class=\"text-body m-bottom--small${0}\"${2}><div class=\"text text-long${0}\"${2}><\/div><div class=\"multi-text-line${0}\"${2}><div class=\"text text-medium${0}\"${2}><\/div><div class=\"text text-tiny${0}\"${2}><\/div><\/div><\/div><div class=\"text-body m-bottom-small${0}\"${2}><\/div><div class=\"text-body m-bottom--small${0}\"${2}><div class=\"text text-long${0}\"${2}><\/div><div class=\"multi-text-line${0}\"${2}><div class=\"text text-medium${0}\"${2}><\/div><div class=\"text text-tiny${0}\"${2}><\/div><\/div><\/div><div class=\"text-body m-bottom-small${0}\"${2}><\/div><div class=\"text-body${0}\"${2}><div class=\"text text-long${0}\"${2}><\/div><div class=\"multi-text-line${0}\"${2}><div class=\"text text-medium${0}\"${2}><\/div><div class=\"text text-tiny${0}\"${2}><\/div><\/div><\/div><\/div><\/div>`;function _(t,e,i,s){const{st:d}=t;return[d(k(),1)]}var S=e.registerTemplate(_);_.stylesheets=[];if(f){_.stylesheets.push.apply(_.stylesheets,f)}_.stylesheetToken=\"lwc-7ucs3fsqi1k\";_.legacyStylesheetToken=\"force-placeholder2_highlightsVertical\";e.freezeTemplate(_);function T(t,e,i){var s=t?\"[\"+t+\"]\":\"\";return\".field\"+s+\" {padding: 0 var(--lwc-spacingMedium);}.text\"+s+\" {background-color: var(--lwc-colorBackgroundStencil);border-radius: var(--lwc-borderRadiusPill);height: var(--lwc-spacingXxSmall);margin: var(--lwc-spacingMedium) 0;}.field\"+s+\" .text-primary\"+s+\" {max-width: 180px;}.field\"+s+\" .text-secondary\"+s+\" {background-color: var(--lwc-colorBackgroundStencilAlt);max-width: 210px;}.field:nth-child(odd)\"+s+\" .text-primary\"+s+\" {max-width: 265px;}.field:nth-child(odd)\"+s+\" .text-secondary\"+s+\" {max-width: 130px;}\"}var L=[T];const A=e.parseFragment`<div class=\"slds-p-around_xxx-small${0}\"${2}><div class=\"field${0}\"${2}><div class=\"text text-primary${0}\"${2}><\/div><div class=\"text text-secondary${0}\"${2}><\/div><\/div><div class=\"field${0}\"${2}><div class=\"text text-primary${0}\"${2}><\/div><div class=\"text text-secondary${0}\"${2}><\/div><\/div><\/div>`;function M(t,e,i,s){const{st:d}=t;return[d(A(),1)]}var I=e.registerTemplate(M);M.stylesheets=[];if(L){M.stylesheets.push.apply(M.stylesheets,L)}M.stylesheetToken=\"lwc-4auqus00epa\";M.legacyStylesheetToken=\"force-placeholder2_listPreview\";e.freezeTemplate(M);function R(t,e,i){var s=t?\"[\"+t+\"]\":\"\";return\".dark\"+s+\" {background-color: var(--lwc-colorBackground);}.icon\"+s+\" {display: inline-block;margin-right: var(--lwc-spacingSmall);border-radius: var(--lwc-borderRadiusMedium);width: var(--lwc-squareIconMedium);height: var(--lwc-squareIconMedium);background-color: var(--lwc-colorBackgroundStencilAlt);}.icon-large\"+s+\" {width: var(--lwc-squareIconLargeBoundary);height: var(--lwc-squareIconLargeBoundary);}.body\"+s+\" {padding: var(--lwc-squareIconUtilitySmall);}.text-body\"+s+\" {width: 80%;display: inline-block;height: var(--lwc-squareIconLargeBoundary);}.below-text-body\"+s+\" {display: flex;margin : var(--lwc-spacingXSmall) 0 0 60px;}.below-text-body\"+s+\" > .text-body\"+s+\" {width: 40%;display: block;margin-right: var(--lwc-spacingSmall);}.multi-text-line\"+s+\" > div\"+s+\" {float: left;margin-right: var(--lwc-spacingSmall);}.text\"+s+\" {display: block;background-color: var(--lwc-colorBackgroundStencilAlt);margin-bottom: var(--lwc-spacingSmall);border-radius: var(--lwc-borderRadiusPill);height: var(--lwc-spacingXSmall);}.text-long\"+s+\" {width: 100%;}.text-thick\"+s+\" {height: 14px;margin: 10px 0;}.text-medium\"+s+\" {width: 60%;}.text-tiny\"+s+\" {width: 5%;}.text:last-child\"+s+\" {margin-bottom: 0px;}\"}var B=[R];const E=e.parseFragment`<div class=\"body dark${0}\"${2}><div class=\"icon icon-large${0}\"${2}><\/div><div class=\"text-body${0}\"${2}><div class=\"text text-thick text-long${0}\"${2}><\/div><\/div><div class=\"below-text-body${0}\"${2}><div class=\"text-body${0}\"${2}><div class=\"text text-long${0}\"${2}><\/div><div class=\"multi-text-line${0}\"${2}><div class=\"text text-medium${0}\"${2}><\/div><div class=\"text text-tiny${0}\"${2}><\/div><\/div><\/div><div class=\"text-body${0}\"${2}><div class=\"text text-long${0}\"${2}><\/div><div class=\"multi-text-line${0}\"${2}><div class=\"text text-medium${0}\"${2}><\/div><div class=\"text text-tiny${0}\"${2}><\/div><\/div><\/div><\/div><div class=\"below-text-body${0}\"${2}><div class=\"text-body${0}\"${2}><div class=\"text text-long${0}\"${2}><\/div><div class=\"multi-text-line${0}\"${2}><div class=\"text text-medium${0}\"${2}><\/div><div class=\"text text-tiny${0}\"${2}><\/div><\/div><\/div><div class=\"text-body${0}\"${2}><div class=\"text text-long${0}\"${2}><\/div><div class=\"multi-text-line${0}\"${2}><div class=\"text text-medium${0}\"${2}><\/div><div class=\"text text-tiny${0}\"${2}><\/div><\/div><\/div><\/div><\/div>`;function P(t,e,i,s){const{st:d}=t;return[d(E(),1)]}var q=e.registerTemplate(P);P.stylesheets=[];if(B){P.stylesheets.push.apply(P.stylesheets,B)}P.stylesheetToken=\"lwc-5cva1gj9gv0\";P.legacyStylesheetToken=\"force-placeholder2_previewPanelAnchor\";e.freezeTemplate(P);function F(t,e,i){var s=t?\"[\"+t+\"]\":\"\";return\".slds-card\"+s+\" {padding: var(--lwc-spacingSmall);margin: var(--lwc-spacingMedium);height: calc(var(--lwc-heightHeader) + var(--lwc-squareIconMediumBoundary) + 2 * var(--lwc-spacingMedium));border: none;}.slds-avatar\"+s+\",.text\"+s+\" {background-color: var(--lwc-colorBackgroundStencil);}.text\"+s+\" {border-radius: var(--lwc-borderRadiusPill);width: 60%;height: var(--lwc-spacingXxSmall);max-width: var(--lwc-sizeXSmall);}\"}var C=[F];const X=e.parseFragment`<div class=\"slds-card slds-grid slds-grid_vertical-align-center${0}\"${2}><div class=\"slds-media__figure slds-avatar${0}\"${2}><\/div><div class=\"slds-grow${0}\"${2}><div class=\"text${0}\"${2}><\/div><\/div><\/div>`;const z=e.parseFragment`<div class=\"slds-card slds-grid slds-grid_vertical-align-center${0}\"${2}><div class=\"slds-media__figure slds-avatar${0}\"${2}><\/div><div class=\"slds-grow${0}\"${2}><div class=\"text${0}\"${2}><\/div><\/div><\/div>`;const H=e.parseFragment`<div class=\"slds-card slds-grid slds-grid_vertical-align-center${0}\"${2}><div class=\"slds-media__figure slds-avatar${0}\"${2}><\/div><div class=\"slds-grow${0}\"${2}><div class=\"text${0}\"${2}><\/div><\/div><\/div>`;const N=e.parseFragment`<div class=\"slds-card slds-grid slds-grid_vertical-align-center${0}\"${2}><div class=\"slds-media__figure slds-avatar${0}\"${2}><\/div><div class=\"slds-grow${0}\"${2}><div class=\"text${0}\"${2}><\/div><\/div><\/div>`;const D=e.parseFragment`<div class=\"slds-card slds-grid slds-grid_vertical-align-center${0}\"${2}><div class=\"slds-media__figure slds-avatar${0}\"${2}><\/div><div class=\"slds-grow${0}\"${2}><div class=\"text${0}\"${2}><\/div><\/div><\/div>`;const G=e.parseFragment`<div class=\"slds-card slds-grid slds-grid_vertical-align-center${0}\"${2}><div class=\"slds-media__figure slds-avatar${0}\"${2}><\/div><div class=\"slds-grow${0}\"${2}><div class=\"text${0}\"${2}><\/div><\/div><\/div>`;const j=e.parseFragment`<div class=\"slds-card slds-grid slds-grid_vertical-align-center${0}\"${2}><div class=\"slds-media__figure slds-avatar${0}\"${2}><\/div><div class=\"slds-grow${0}\"${2}><div class=\"text${0}\"${2}><\/div><\/div><\/div>`;const V=e.parseFragment`<div class=\"slds-card slds-grid slds-grid_vertical-align-center${0}\"${2}><div class=\"slds-media__figure slds-avatar${0}\"${2}><\/div><div class=\"slds-grow${0}\"${2}><div class=\"text${0}\"${2}><\/div><\/div><\/div>`;const O=e.parseFragment`<div class=\"slds-card slds-grid slds-grid_vertical-align-center${0}\"${2}><div class=\"slds-media__figure slds-avatar${0}\"${2}><\/div><div class=\"slds-grow${0}\"${2}><div class=\"text${0}\"${2}><\/div><\/div><\/div>`;const W=e.parseFragment`<div class=\"slds-card slds-grid slds-grid_vertical-align-center${0}\"${2}><div class=\"slds-media__figure slds-avatar${0}\"${2}><\/div><div class=\"slds-grow${0}\"${2}><div class=\"text${0}\"${2}><\/div><\/div><\/div>`;function U(t,e,i,s){const{st:d}=t;return[d(X(),1),d(z(),3),d(H(),5),d(N(),7),d(D(),9),d(G(),11),d(j(),13),d(V(),15),d(O(),17),d(W(),19)]}var J=e.registerTemplate(U);U.stylesheets=[];if(C){U.stylesheets.push.apply(U.stylesheets,C)}U.stylesheetToken=\"lwc-7qupblda9fh\";U.legacyStylesheetToken=\"force-placeholder2_related\";e.freezeTemplate(U);function K(t,e,i){var s=t?\"[\"+t+\"]\":\"\";return\".body\"+s+\" {background-color: var(--lwc-colorBackground);}.text\"+s+\",.slds-avatar\"+s+\" {background-color: var(--lwc-colorBackgroundStencilAlt);}.text-container\"+s+\" {width: 90%;}.text\"+s+\" {border-radius: var(--lwc-borderRadiusPill);height: var(--lwc-spacingXSmall);}.text-medium\"+s+\" {width: 60%;}\"}var Q=[K];const Y=e.parseFragment`<div class=\"body slds-grid slds-grid_vertical-align-center slds-p-around_large${0}\"${2}><div class=\"slds-media__figure slds-avatar slds-m-right_small${0}\"${2}><\/div><div class=\"text-container${0}\"${2}><div class=\"text slds-m-bottom_small${0}\"${2}><\/div><div class=\"text text-medium${0}\"${2}><\/div><\/div><\/div>`;function Z(t,e,i,s){const{st:d}=t;return[d(Y(),1)]}var tt=e.registerTemplate(Z);Z.stylesheets=[];if(Q){Z.stylesheets.push.apply(Z.stylesheets,Q)}Z.stylesheetToken=\"lwc-qngrgp8qdv\";Z.legacyStylesheetToken=\"force-placeholder2_relatedRecord\";e.freezeTemplate(Z);class et extends e.LightningElement{constructor(...t){super(...t);this.name=void 0;this._templateName=void 0;this._stencil=void 0;this.TEMPLATE_MAP={DETAIL:v,HIGHLIGHTS:g,HIGHLIGHTS_COLLAPSED:y,HIGHLIGHTS_VERTICAL:S,PREVIEW_PANEL_ANCHOR:q,RELATED:J,RELATED_RECORD:tt,LIST_PREVIEW:I}}connectedCallback(){if(this.name&&this.name.length&&!this.TEMPLATE_MAP[this.templateName=this.name.toUpperCase()]){throw new Error(\"Invalid Stencil Name\")}this._stencil=this.stencil}render(){return this._stencil}get stencil(){return this.TEMPLATE_MAP[this.templateName]||d}get isShowing(){return this._stencil!==d}show(){this._stencil=this.stencil}hide(){this._stencil=d}}e.registerDecorators(et,{publicProps:{name:{config:0},isShowing:{config:1}},publicMethods:[\"show\",\"hide\"],track:{_stencil:1},fields:[\"_templateName\",\"TEMPLATE_MAP\"]});var it=e.registerComponent(et,{tmpl:d,sel:\"force-placeholder2\",apiVersion:59});t.default=it;Object.defineProperty(t,\"__esModule\",{value:true})});\n}","ce":"force-placeholder2","descriptor":"markup://force:placeholder2","n":"force/placeholder2","ad":[["name",null,"G",false],["isShowing",null,"G",false]]},{"xs":"P","co":"function() { $A.componentService.addModule('markup://force:dedupeConstants', \"force/dedupeConstants\",[\"exports\",\"@salesforce/label/DuplicateList.ToastMessageAlertEdit\",\"@salesforce/label/DuplicateList.ToastMessageAlertCreate\",\"@salesforce/label/DuplicateList.ToastMessageBlock\",\"@salesforce/label/DuplicateList.ToastMessageWithNoDuplicateAccess\"],function(e,t,a,s,n){function o(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var r=o(t);var c=o(a);var i=o(s);var l=o(n);const E=400;const u={ToastMessageAlertEdit:r.default,ToastMessageAlertCreate:c.default,ToastMessageBlock:i.default,ToastMessageWithNoDuplicateAccess:l.default};const d=[\"Account\",\"Lead\",\"Contact\",\"PersonAccount\",\"Individual\",\"Interaction\",\"BusinessLicenseApplication\"];const A={create:\"create\",edit:\"edit\",clone:\"clone\"};const T={insert:\"actionOnInsert\",update:\"actionOnUpdate\"};const p={insert:\"operationsOnInsert\",update:\"operationsOnUpdate\"};const O={block:\"Block\",alert:\"Alert\"};const I={error:{name:\"utility:error\",variant:\"error\"},warning:{name:\"utility:warning\",variant:\"warning\"}};const R=10;const _=\"duplicatesManager_lwc\";const D=\"getDuplicateConfigurationWireError\";const f=\"getDuplicatesWireError\";const C=\"dedupeContent\";e.ACTION_KEY=T;e.ACTION_VALUE=O;e.DEBOUNCE_TIMER=E;e.DEDUPE_SCOPE=C;e.DUPLICATES_WIRE_ERROR=f;e.DUPLICATE_CONFIGURATION_WIRE_ERROR=D;e.DUPLICATE_PAGE_SIZE=R;e.ERROR_ICON=I;e.ERROR_LABELS=u;e.INSTRUMENTATION_NAMESPACE=_;e.OPERATION_KEY=p;e.SUPPORTED_MODES=A;e.SUPPORTED_STANDARD_ENTITIES=d;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"force-dedupe-constants","descriptor":"markup://force:dedupeConstants","n":"force/dedupeConstants"},{"xs":"P","co":"function() { $A.componentService.addModule('markup://records:baseHighlights2', \"records/baseHighlights2\",[\"exports\",\"lwc\"],function(e,t){const s=[];function r(e,t,r,n){return s}var n=t.registerTemplate(r);r.stylesheets=[];r.stylesheetToken=\"lwc-13o35r7b9ml\";r.legacyStylesheetToken=\"records-baseHighlights2_baseHighlights2\";t.freezeTemplate(r);const l=\"slot[name=primaryField]\";const i=\"slot[name=secondaryFields]\";const o=\"force-owner-lookup\";class a extends t.LightningElement{constructor(...e){super(...e);this.originalElementStyles={highlightsContainer:{}}}getPrimaryFieldElement(){const e=this.template.querySelector(l);const t=e&&e.assignedElements({flatten:true});return t&&t.length>0?t[0]:undefined}getSecondaryFieldsElements(){const e=this.template.querySelector(i);return e&&e.assignedElements({flatten:true})}overrideOwnerLookupPrimaryField(){const e=this.getPrimaryFieldElement();if(e&&e.tagName.toLowerCase()===o){e.positionIconAdjacentText=true}}}t.registerDecorators(a,{fields:[\"originalElementStyles\"]});var c=t.registerComponent(a,{tmpl:n,sel:\"records-base-highlights2\",apiVersion:59});e.default=c;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"records-base-highlights2","descriptor":"markup://records:baseHighlights2","n":"records/baseHighlights2"},{"xs":"P","co":"function() { $A.componentService.addModule('markup://feeds_sorter:util', \"feeds_sorter/util\",[\"exports\",\"@salesforce/label/Feeds_Community.ShowAll\",\"@salesforce/label/Feeds_Community.FilterFewerUpdates\"],function(e,t,n){function r(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var i=r(t);var o=r(n);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach(function(t){f(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function f(e,t,n){t=c(t);if(t in e){Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true})}else{e[t]=n}return e}function c(e){var t=s(e,\"string\");return typeof t===\"symbol\"?t:String(t)}function s(e,t){if(typeof e!==\"object\"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var r=n.call(e,t||\"default\");if(typeof r!==\"object\")return r;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(t===\"string\"?String:Number)(e)}const a=[\"left\",\"right\",\"center\",\"bottom-left\",\"bottom-right\",\"bottom-center\"];const p=\"feeds-filter-option\";const d=\"AllUpdates\";const O=\"FewerUpdates\";const b=e=>l(l({},e),{},{menuOptionIdentifier:d,menuOptionInConfig:d});const m=(e,t,n)=>e.map(e=>{const{menuOptionIdentifier:t,menuOptionInConfig:n}=e;if(!t&&!n){return b(e)}return e}).map(e=>({value:e.menuOptionInConfig||\"\",selected:(e.menuOptionInConfig||\"\")===t,class:n,label:e.label||\"\",menuOptionIdentifier:e.menuOptionIdentifier||\"\"}));const g=e=>{if(!e){return\"left\"}const t=e.toLowerCase();if(a.includes(t)){return t}return\"left\"};const y=(e,t=\"\")=>{if(e===null||e===undefined){return undefined}if(t===null||t===undefined){return undefined}return e.reduce((e,n)=>{if(n.value&&n.value===t){e=n}return e},undefined)};const v=(e,t)=>{if(e){return[{label:i.default,value:d},{label:o.default,value:O}]}if(!e&&t){const{menuOptions:e=[],selectedMenuOption:n={}}=t;if(e&&e.length>0){return m(e,n.menuOptionInConfig,p)}}return[]};const j=(e,t=\"\")=>{if(e===null||e===undefined){return[]}return e.map(e=>Object.assign({},e,{selected:e.value===t}))};e.createOptionsWithOptionSelected=j;e.getFilterOptions=v;e.getSelectedOptionObject=y;e.normalizeAlignment=g;e.transformMenuOptions=m;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"feeds_sorter-util","descriptor":"markup://feeds_sorter:util","n":"feeds_sorter/util"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://feeds_replying:repliesAvailableCount', \"feeds_replying/repliesAvailableCount\",[\"exports\",\"lwc\",\"lightning/button\",\"feeds_replying/repliesLabelGenerator\"],function(e,t,l,r){function i(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var s=i(l);var n=i(r);function o(e,t,l,r){const{b:i,c:n}=e;const{_m0:o}=r;return[n(\"lightning-button\",s.default,{props:{variant:\"base\",iconName:\"utility:reply\",label:t.formattedReplyCount,title:t.showReplies},key:0,on:{click:o||(r._m0=i(t.handleClick))}})]}var a=t.registerTemplate(o);o.stylesheets=[];o.stylesheetToken=\"lwc-315lkeoio28\";o.legacyStylesheetToken=\"feeds_replying-repliesAvailableCount_repliesAvailableCount\";t.freezeTemplate(o);const p=\"Show Replies\";class u extends t.LightningElement{constructor(...e){super(...e);this._replies=0;this.formattedReplyCount=\"\"}get replies(){return this._replies}set replies(e){this._replies=e;this.formattedReplyCount=n.default(e)}get showReplies(){return p}handleClick(){this.dispatchEvent(new CustomEvent(\"repliesrequested\",{bubbles:true,cancelable:true,composed:true}))}}t.registerDecorators(u,{publicProps:{replies:{config:3}},track:{formattedReplyCount:1},fields:[\"_replies\"]});var c=t.registerComponent(u,{tmpl:a,sel:\"feeds_replying-replies-available-count\",apiVersion:59});e.default=c;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"feeds_replying-replies-available-count","descriptor":"markup://feeds_replying:repliesAvailableCount","n":"feeds_replying/repliesAvailableCount","ad":[["replies",null,"G",false]]},{"xs":"P","co":"function() { $A.componentService.addModule('markup://lst:relatedListSingleAppBuilderMapper', \"lst/relatedListSingleAppBuilderMapper\",[\"exports\",\"lwc\",\"lst/relatedListViewManager\",\"lst/relatedListAppEventListener\",\"force/versionMarker\",\"lightning/uiRelatedListApi\",\"lightning/unstable_uiRelatedListApi\",\"laf/store\",\"lst/configuration\",\"laf/pageCapability\",\"laf/transformWireVariants\",\"laf/transformWire\",\"lst/listViewManagerLibrary\",\"lst/utils\",\"@salesforce/metric/RelatedList/RlSingleAppBuilderMapper.RenderTime/ms\",\"instrumentation/service\",\"@salesforce/accessCheck/isLWCRLHeaderActionsOffEnabled\",\"@salesforce/accessCheck/isActionsDelaySSTFetchingEnabled\",\"@salesforce/accessCheck/Records.isRRHVersionIndicatorEnabled\",\"@salesforce/gate/lasr.refreshViewAPI\",\"lightning/refresh\"],function(e,i,t,r,a,s,d,l,n,o,p,c,h,f,u,m,g,y,b,R,L){function v(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var A=v(t);var w=v(r);var N=v(a);var I=v(u);var C=v(g);var T=v(y);var O=v(b);var _=v(R);function k(e,i,t){var r=e?\"[\"+e+\"]\":\"\";var a=e?\"[\"+e+\"-host]\":\"\";return(i?\":host {\":a+\" {\")+\"display: block;}.placeholder\"+r+\" {height: 225px;}.slds-tabs_card\"+r+\" .slds-card_boundary.related_list_card_border_top\"+r+\",.slds-tabs_card.slds-tabs_card\"+r+\" .slds-card_boundary.related_list_card_border_top\"+r+\" {border-top-width: 0px;}.slds-tabs_card\"+r+\" .related_list_themed_border_top\"+r+\",.slds-tabs_card.slds-tabs_card\"+r+\" .related_list_themed_border_top\"+r+\" {border-top-width: 3px;border-top-color: t(colorGray7);border-top-style: solid;border-top-left-radius: t(borderRadiusMedium);border-top-right-radius: t(borderRadiusMedium);}\"}var D=[k];const P=i.parseFragment`<div${3}>This will show force:relatedListPreviewTransitionList within an aura wrapper<\/div>`;const j={\"slds-card\":true,\"slds-card_boundary\":true};const x={key:2};function M(e,i,t,r){const{b:a,c:s,h:d,st:l}=e;const{_m0:n,_m1:o,_m2:p}=r;return[i.wiredRowsToDisplay.data?i.isGridOrCard?d(\"article\",{classMap:j,attrs:{\"aria-label\":i.headerLabel},key:0},[s(\"lst-related-list-view-manager\",A.default,{props:{displayColumns:i.wiredRelatedListInfo.data.displayColumns,orderedByInfo:i.wiredRelatedListInfo.data.orderedByInfo,objectApiNames:i.wiredRelatedListInfo.data.objectApiNames,userPreferences:i.wiredRelatedListInfo.data.userPreferences,actionNames:i.actionNames,listReference:i.listReference.data,primaryDisplayType:i.primaryDisplayType,pageSize:i.pageSizeOverride.data,sortBy:i.sortByOverride.data,parentObjectApiName:i.objectApiName,relatedObjectApiName:i.childObjectApiName,parentRecordId:i.recordId,relatedListApiName:i.relatedListApiName,configuration:i.configuration,showViewAll:true,label:i.headerLabel,flexipageRegionWidth:i.flexipageRegionWidth,hasError:i.hasError,isLoading:i.loadingData,where:i.where},key:1,on:{privatesort:n||(r._m0=a(i.handleSort)),privatecolumnresize:o||(r._m1=a(i.handleColumnResize)),privatewraptext:p||(r._m2=a(i.handleWrapText))}}),s(\"lst-related-list-app-event-listener\",w.default,x)]):null:null,i.isGroup?l(P(),4):null,i.showRRHVersionIndicator?s(\"force-version-marker\",N.default,{props:{tag:\"RLS-LWC\",version:i.versionMarker,append:true},key:5}):null]}var S=i.registerTemplate(M);M.stylesheets=[];if(D){M.stylesheets.push.apply(M.stylesheets,D)}M.stylesheetToken=\"lwc-6bk3id9s5lt\";M.legacyStylesheetToken=\"lst-relatedListSingleAppBuilderMapper_relatedListSingleAppBuilderMapper\";i.freezeTemplate(M);const W=m.percentileHistogram(I.default);class B extends(o.CapabilityMixin(i.LightningElement)){refresh(){if(_.default.isOpen({fallback:false})){this.dispatchEvent(new L.RefreshEvent)}else{this[o.CapabilityMixin.GetRegisteredCapabilities](o.RefreshCapability).forEach(e=>e[o.RefreshCapability]())}}constructor(){super();this.startTime=0;this.endTime=0;this.isDataAvailable=false;this.flexipageRegionWidth=n.Flexipage.REGION_SMALL;this.objectApiName=void 0;this.parentFieldApiName=void 0;this.recordId=void 0;this.relatedListApiName=void 0;this.relatedListComponentOverride=void 0;this.rowsToDisplay=10;this.showActionBar=false;this.partOfContainer=\"None\";this.label=void 0;this.actionNames=null;this.recordTypeId=void 0;this.childObjectApiName=void 0;this.loadingData=false;this.wiredRelatedListInfo=void 0;this.sortByOverride=void 0;this.pageSizeOverride=void 0;this.listReference=void 0;this.wiredPrefetchActionsData=void 0;this.wiredRowsToDisplay=void 0;this.handleRelatedListRecordChangeRefresh=this._handleRelatedListRecordChangeRefresh.bind(this)}connectedCallback(){this.startTime=performance.now();if(!_.default.isOpen({fallback:false})){this[o.CapabilityMixin.ExposeCapabilities]({[o.RefreshCapability]:this.refresh.bind(this)});this[o.CapabilityMixin.EnableListener](o.RefreshCapability)}this.template.addEventListener(\"relatedListRecordCreated\",this.handleRelatedListRecordChangeRefresh)}disconnectedCallback(){this[o.CapabilityMixin.ConcealCapabilities]();this.template.removeEventListener(\"relatedListRecordCreated\",this.handleRelatedListRecordChangeRefresh)}renderedCallback(){if(!this.isDataAvailable){this.isDataAvailable=true;this.endTime=performance.now();const e=this.endTime-this.startTime;if(e>=0){W.update(e)}m.mark(\"relatedList\",\"relatedListView\",{isSingleRelatedList:true,parentFieldApiName:this.parentFieldApiName,relatedListApiName:this.relatedListApiName,partOfContainer:this.partOfContainer,lwcSingle:true})}}_handleRelatedListRecordChangeRefresh(e){e.stopPropagation();if(e.detail&&(e.detail.relatedListApiName===this.childObjectApiName||e.detail.recordId&&h.yamlConfiguration.getSObjectRelatedKeyPrefixes(this.childObjectApiName).includes(e.detail.recordId.substr(0,3)))){this.refresh()}}get configuration(){return f.deepMerge({},n.VariantMap[this.previewType],{presets:h.relatedListFunctions.computeComponentConfiguration(this.childObjectApiName,this.flexipageRegionWidth,this.previewType,this.rowsToDisplay,this.showActionBar)})}get versionMarker(){return f.getRelatedListVersionMarkerForApiName(this.childObjectApiName)}get previewType(){return n.RelatedLists.computePreviewType(this.childObjectApiName,this.flexipageRegionWidth,this.relatedListComponentOverride)}get primaryDisplayType(){if(this.relatedListComponentOverride===n.RelatedLists.PreviewTypes.GRID||this.relatedListComponentOverride===n.RelatedLists.PreviewTypes.ADVGRID){return\"grid\"}else if(this.relatedListComponentOverride===n.RelatedLists.PreviewTypes.CARD){return\"card\"}return null}get isGridOrCard(){return this.previewType===n.RelatedLists.PreviewTypes.GRID||this.previewType===n.RelatedLists.PreviewTypes.ADVGRID||this.previewType===n.RelatedLists.PreviewTypes.CARD}get isGroup(){return this.previewType===n.RelatedLists.PreviewTypes.OVERRIDE_GROUP}get hasError(){return this.wiredRelatedListInfo?this.wiredRelatedListInfo.error:null}get headerLabel(){return this.label||this.wiredRelatedListInfo.data&&this.wiredRelatedListInfo.data.label}get where(){return\"\"}handleColumnResize(e){e.stopPropagation();const{detail:i}=e;const t={columnWidths:i.columnWidthMapping||{},columnWrap:{}};this.saveRLInfo({userPreferences:t})}handleSort(e){e.stopPropagation();const{detail:i}=e;const t=[{}];if(i.qualifiedFieldApiName&&typeof i.sortDirection!==\"undefined\"){t[0].fieldApiName=i.qualifiedFieldApiName;t[0].isAscending=!(i.sortDirection===\"desc\");l.setStoreValue(this.sortByOverride,(t[0].isAscending?\"\":\"-\")+i.qualifiedFieldApiName);this.loadingData=true}this.saveRLInfo({orderedByInfo:t})}handleWrapText(e){e.stopPropagation();const{detail:i}=e;const t={columnWidths:{}};if(i.qualifiedFieldApiName&&typeof i.wrapText!==\"undefined\"){t.columnWrap={[i.qualifiedFieldApiName]:i.wrapText}}else{t.columnWrap={}}this.saveRLInfo({userPreferences:t})}saveRLInfo({orderedByInfo:e=[{}],userPreferences:i={columnWidths:{},columnWrap:{}}}){const t={parentObjectApiName:this.objectApiName,relatedListId:this.relatedListApiName,recordTypeId:this.recordTypeId,orderedByInfo:e,userPreferences:i};if(this.isValidWireConfig(t)){d.unstable_updateRelatedListInfo(t)}else{m.interaction(\"relatedListViewManager\",\"invalidUpdateRelatedListInfoConfig\",t)}}isValidWireConfig(e){return e.relatedListId&&typeof e.relatedListId===\"string\"&&e.parentObjectApiName&&typeof e.parentObjectApiName===\"string\"&&e.orderedByInfo&&e.orderedByInfo.length&&e.userPreferences&&typeof e.userPreferences===\"object\"}get showRRHVersionIndicator(){return this.isDataAvailable&&O.default}}i.registerDecorators(B,{publicProps:{flexipageRegionWidth:{config:0},objectApiName:{config:0},parentFieldApiName:{config:0},recordId:{config:0},relatedListApiName:{config:0},relatedListComponentOverride:{config:0},rowsToDisplay:{config:0},showActionBar:{config:0},partOfContainer:{config:0},label:{config:0},actionNames:{config:0},recordTypeId:{config:0},childObjectApiName:{config:0}},publicMethods:[\"refresh\"],track:{loadingData:1},wire:{wiredRelatedListInfo:{adapter:s.getRelatedListInfo,dynamic:[\"parentObjectApiName\",\"recordTypeId\",\"relatedListId\"],config:function(e){return{parentObjectApiName:e.objectApiName,recordTypeId:e.recordTypeId,relatedListId:e.relatedListApiName}}},sortByOverride:{adapter:l.getStoreValue,dynamic:[\"key1\",\"key2\",\"key3\"],config:function(e){return{key4:\"sortByOverride\",default:\"\",key1:e.objectApiName,key2:e.recordTypeId,key3:e.relatedListApiName}}},pageSizeOverride:{adapter:l.getStoreValue,dynamic:[\"key1\",\"key2\",\"key3\",\"default\"],config:function(e){return{key4:\"pageSizeOverride\",key1:e.objectApiName,key2:e.recordTypeId,key3:e.relatedListApiName,default:e.rowsToDisplay}}},listReference:{adapter:c.generateListReference,dynamic:[\"entityKeyPrefixOrApiName\",\"relatedListApiName\",\"parentRecordId\",\"fieldApiName\"],config:function(e){let i=e.wiredRelatedListInfo;return{entityKeyPrefixOrApiName:e.childObjectApiName,relatedListApiName:e.relatedListApiName,parentRecordId:e.recordId,fieldApiName:i!=null&&(i=i.data)!=null?i.fieldApiName:undefined}}},wiredPrefetchActionsData:{adapter:p.prefetchActionsData,dynamic:[\"parentRecordId\",\"relatedObjectApiName\",\"relatedListApiName\",\"flexipageRegionWidth\",\"relatedListComponentOverride\"],config:function(e){return{rlHeaderActionsDisabled:C.default,delayFetchingEnabled:T.default,parentRecordId:e.recordId,relatedObjectApiName:e.childObjectApiName,relatedListApiName:e.relatedListApiName,flexipageRegionWidth:e.flexipageRegionWidth,relatedListComponentOverride:e.relatedListComponentOverride}}},wiredRowsToDisplay:{adapter:c.relatedListPageSize,dynamic:[\"appBuilderPageSize\"],config:function(e){return{appBuilderPageSize:e.rowsToDisplay}}}},fields:[\"startTime\",\"endTime\",\"isDataAvailable\"]});var V=i.registerComponent(B,{tmpl:S,sel:\"lst-related-list-single-app-builder-mapper\",apiVersion:59});e.default=V;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"lst-related-list-single-app-builder-mapper","descriptor":"markup://lst:relatedListSingleAppBuilderMapper","n":"lst/relatedListSingleAppBuilderMapper","ad":[["flexipageRegionWidth",null,"G",false],["objectApiName",null,"G",false],["parentFieldApiName",null,"G",false],["recordId",null,"G",false],["relatedListApiName",null,"G",false],["relatedListComponentOverride",null,"G",false],["rowsToDisplay",null,"G",false,10],["showActionBar",null,"G",false,false],["partOfContainer",null,"G",false,"None"],["label",null,"G",false],["actionNames",null,"G",false],["recordTypeId",null,"G",false],["childObjectApiName",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://feeds_placeholding:emptyFeed', \"feeds_placeholding/emptyFeed\",[\"exports\",\"lwc\",\"lightning/configProvider\"],function(e,t,s){function l(e,t,s){var l=e?\"[\"+e+\"]\":\"\";var r=e?\"[\"+e+\"-host]\":\"\";return(t?\":host {\":r+\" {\")+\"display: block;}figcaption\"+l+\" {line-height: var(--lwc-lineHeightHeading);}\"}var r=[l];const i={classMap:{\"slds-illustration\":true,\"slds-illustration_large\":true,\"slds-p-vertical_small\":true},key:0};const a={\"slds-illustration__svg\":true,\"slds-m-bottom_none\":true};const o={classMap:{\"slds-text-align_center\":true,\"slds-text-color_weak\":true,\"slds-p-horizontal_medium\":true,\"slds-p-top_xx-large\":true},attrs:{role:\"status\"},key:2};const n={classMap:{\"slds-text-heading_medium\":true},key:3};const g={classMap:{\"slds-text-body_regular\":true,\"slds-p-top_small\":true,\"slds-m-bottom_none\":true},key:4};function d(e,t,s,l){const{h:r,d:d,t:c}=e;return[r(\"figure\",i,[r(\"img\",{classMap:a,attrs:{src:t.imageSrc,alt:\"\"},key:1}),r(\"figcaption\",o,[t.showTitle?r(\"h3\",n,[c(d(t.title))]):null,t.showMessage?r(\"p\",g,[c(d(t.message))]):null])])]}var c=t.registerTemplate(d);d.stylesheets=[];if(r){d.stylesheets.push.apply(d.stylesheets,r)}d.stylesheetToken=\"lwc-8pb6retlrl\";d.legacyStylesheetToken=\"feeds_placeholding-emptyFeed_emptyFeed\";t.freezeTemplate(d);class p extends t.LightningElement{constructor(...e){super(...e);this.feedType=void 0;this.title=void 0;this.message=void 0}get showMessage(){return(this.message||\"\").length>0}get showTitle(){return(this.title||\"\").length>0}get imageSrc(){let e=\"/img/chatter/OpenRoad.svg\";if(this.feedType===\"streamList\"){e=\"/img/chatter/Desert.svg\"}return`${s.getPathPrefix()}${e}`}}t.registerDecorators(p,{publicProps:{feedType:{config:0},title:{config:0},message:{config:0}}});var u=t.registerComponent(p,{tmpl:c,sel:\"feeds_placeholding-empty-feed\",apiVersion:59});e.default=u;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"feeds_placeholding-empty-feed","descriptor":"markup://feeds_placeholding:emptyFeed","n":"feeds_placeholding/emptyFeed","ad":[["feedType",null,"G",false],["title",null,"G",false],["message",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://laf:progressiveContainer', \"laf/progressiveContainer\",[\"exports\",\"lwc\",\"laf/intersectionObserverCompat\",\"laf/ppr\",\"laf/pprInternal\",\"@salesforce/accessCheck/Navigation.DisablePPR\"],function(e,t,i,n,s,r){function l(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var a=l(r);function o(e,t,i){var n=e?\"[\"+e+\"]\":\"\";var s=e?\"[\"+e+\"-host]\":\"\";return(t?\":host {\":s+\" {\")+\"display: block;}.placeHolder\"+n+\" {height: 100px;}\"}var d=[o];const c=t.parseFragment`<div class=\"placeHolder${0}\"${2}><\/div>`;const h={key:0};const u=[];const f={attrs:{name:\"placeholder\"},key:1};function m(e,t,i,n){const{s:s,st:r}=e;return[t.shouldRender.data?t.renderInternal?s(\"\",h,u,i):null:null,!t.renderInternal?s(\"placeholder\",f,[r(c(),\"@placeholder:3\")],i):null]}var g=t.registerTemplate(m);m.slots=[\"\",\"placeholder\"];m.stylesheets=[];if(d){m.stylesheets.push.apply(m.stylesheets,d)}m.stylesheetToken=\"lwc-7ir4frst5a7\";m.legacyStylesheetToken=\"laf-progressiveContainer_progressiveContainer\";t.freezeTemplate(m);const y=\"complete\";const p=\"progress\";const v=\"signaled\";const _=\"ppr_final_signal\";const b=\"ppr_final_unlock_signal\";const D=e=>{const t=parseInt(e,10);if(Number.isNaN(t)){return null}if(t>0){return t}return null};class I extends t.LightningElement{constructor(...e){super(...e);this._disabled=false;this.cid=void 0;this.providedDelayMode=n.DelayModes.StartInFlight;this.providedSignal=n.Signals.Connected;this.providedMinDelay=void 0;this.providedMaxDelay=void 0;this._delayMode=n.DelayModes.StartInFlight;this._signal=n.Signals.Connected;this._minDelay=void 0;this._minDelayTimeout=void 0;this._maxDelay=void 0;this._maxDelayTimeout=void 0;this.unlockedInternal=false;this.unlocking=false;this.renderForced=false;this.intersectionObserver=null;this.blockIntersectionObserver=false;this.finalSignalFired=false;this.finalSignalTime=null;this.shouldRender={}}get state(){if(this.renderInternal===true){return y}else if(this.finalSignalFired===true){return v}return p}_forceUnlockAndRender(){this.unlockInternal();this.forceRender()}set delayMode(e){this.providedDelayMode=e;if(e&&typeof e===\"string\"&&e.length>0){e=n.DelayModes.fromString(e)}if(e){this._delayMode=e}else{this._delayMode=n.DelayModes.StartInFlight}if(e===n.DelayModes.None){this._forceUnlockAndRender()}}get disabled(){return this._disabled}get delayMode(){return this.providedDelayMode}set signal(e){this.providedSignal=e;if(e&&typeof e===\"string\"&&e.length>0){e=n.Signals.fromString(e)}if(e){this._signal=e}else{this._signal=n.Signals.Connected}}get signal(){return this.providedSignal}set maxDelay(e){this.providedMaxDelay=e;if(!this._maxDelay){this._maxDelay=D(e)}}get maxDelay(){return this.providedDelay}set minDelay(e){this.providedMinDelay=e;if(!this._minDelay){this._minDelay=D(e)}}get minDelay(){return this.providedDelay}get renderInternal(){return this.unlockedInternal===true&&this.shouldRender&&this.shouldRender.data===true}connectedCallback(){if(a.default){this.disable();return}s.incrementRegionCounter();this.blockIntersectionObserver=false;if(!this.cid){this._forceUnlockAndRender()}else{this.dispatchSignal(n.Signals.Connected,true);this._checkAndDispatchForceRenderEvent()}}unlockInternal(){if(this._minDelay&&!this.unlocking&&!this.unlockedInternal){this.unlocking=true;this._minDelayTimeout=setTimeout(()=>{this.unlockedInternal=true},this._minDelay)}else{this.unlockedInternal=true}}setupMaxDelayTimeout(){if(this._maxDelay&&(!this._minDelay||this._minDelay<this._maxDelay)){this._maxDelayTimeout=setTimeout(()=>{s.incrementMaxDelayCounter();this.forceRender()},this._maxDelay)}}disconnectedCallback(){this.disconnectIntersectionObserver();if(this._minDelayTimeout){clearTimeout(this._minDelayTimeout)}if(this._maxDelayTimeout){clearTimeout(this._maxDelayTimeout)}}render(){if(this.disabled){return g}this.setAttribute(\"aria-busy\",!this.renderInternal);return g}renderedCallback(){if(this.disabled){return}if(this.signal===n.Signals.VisibilityViewport){this.connectIntersectionObserver()}if(this.shouldRender&&this.renderInternal&&this._maxDelayTimeout){clearTimeout(this._maxDelayTimeout);this._maxDelayTimeout=null;if(this.finalSignalFired&&this.finalSignalTime){s.updateResolveTimeHistogram(Date.now()-this.finalSignalTime)}this.dispatchEvent(new CustomEvent(b,{bubbles:true,cancelable:true,composed:false}))}}forceRender(){this.disconnectIntersectionObserver();this.renderForced=true;this._checkAndDispatchForceRenderEvent()}disable(){this._disabled=true;this.shouldRender={data:true};this.unlockedInternal=true}_checkAndDispatchForceRenderEvent(){if(!this._forceRenderEventFired&&this.isConnected&&this.renderForced&&!this.renderInternal&&this.cid){this._forceRenderEventFired=true;this.shouldRender={data:true};this.dispatchEvent(new CustomEvent(s.PPR_FORCE_RENDER_EVENT_NAME,{bubbles:true,cancelable:true,composed:true,detail:{cid:this.cid}}))}}dispatchSignal(e,t){if(!this.cid){return}const i=new CustomEvent(s.PPR_SIGNAL_EVENT_NAME,{bubbles:true,cancelable:true,composed:true,detail:{cid:this.cid,delayMode:this.delayMode,signalMode:this.signal,signal:{type:e,value:t}}});this.dispatchEvent(i);if(!i.defaultPrevented){if(!this.renderForced){s.incrementUncaughtEventCounter()}this._forceUnlockAndRender();return}if(this.signal===e&&t===true){s.incrementFinalSignalCounter();this.finalSignalFired=true;this.finalSignalTime=Date.now();this.dispatchEvent(new CustomEvent(_,{bubbles:true,cancelable:true,composed:false}));this.unlockInternal();this.setupMaxDelayTimeout();if(this.delayMode===n.DelayModes.Immediate){this.forceRender()}}}connectIntersectionObserver(){if(this.blockIntersectionObserver||this.intersectionObserver){return}const e=this.template.host;if(e){this.intersectionObserver=new i.IntersectionObserverCompat(this.handleIntersect.bind(this));this.intersectionObserver.observe(e)}}disconnectIntersectionObserver(){if(this.intersectionObserver){this.intersectionObserver.disconnect();this.intersectionObserver=null;this.blockIntersectionObserver=true}}handleIntersect(e){e.forEach(e=>{if(e.isIntersecting){this.dispatchSignal(n.Signals.VisibilityViewport,true);this.disconnectIntersectionObserver()}else{this.dispatchSignal(n.Signals.VisibilityViewport,false)}})}}t.registerDecorators(I,{publicProps:{cid:{config:0},state:{config:1},delayMode:{config:3},disabled:{config:1},signal:{config:3},maxDelay:{config:3},minDelay:{config:3}},wire:{shouldRender:{adapter:n.ProgressiveContext,dynamic:[\"cid\"],config:function(e){return{cid:e.cid}}}},fields:[\"_disabled\",\"providedDelayMode\",\"providedSignal\",\"providedMinDelay\",\"providedMaxDelay\",\"_delayMode\",\"_signal\",\"_minDelay\",\"_minDelayTimeout\",\"_maxDelay\",\"_maxDelayTimeout\",\"unlockedInternal\",\"unlocking\",\"renderForced\",\"intersectionObserver\",\"blockIntersectionObserver\",\"finalSignalFired\",\"finalSignalTime\"]});var k=t.registerComponent(I,{tmpl:g,sel:\"laf-progressive-container\",apiVersion:59});e.PPR_FINAL_SIGNAL_EVENT_NAME=_;e.PPR_FINAL_UNLOCK_SIGNAL_EVENT_NAME=b;e.default=k;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"laf-progressive-container","descriptor":"markup://laf:progressiveContainer","n":"laf/progressiveContainer","ad":[["cid",null,"G",false],["state",null,"G",false],["delayMode",null,"G",false],["disabled",null,"G",false],["signal",null,"G",false],["maxDelay",null,"G",false],["minDelay",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://support:nudgeCadence', \"support/nudgeCadence\",[\"exports\",\"lwc\",\"lightning/icon\",\"lightning/formattedText\",\"lightning/helptext\",\"lightning/formattedRichText\",\"lightning/input\",\"support/nudgeCadenceActionDropdown\",\"lightning/navigation\",\"@salesforce/label/NudgeCadence.applyCadenceCheckboxToggleAltText\",\"@salesforce/label/udd_ActionCadence.Entity\",\"@salesforce/label/NudgeCadence.addTargetToCadenceSuggestion\",\"@salesforce/label/NudgeCadence.emailTemplateCadenceWillBeAddedMessage\",\"@salesforce/label/NudgeCadence.emailTemplateCadenceWasAddedMessage\",\"@salesforce/label/NudgeCadence.callScriptCadenceWillBeAddedMessage\",\"@salesforce/label/NudgeCadence.emailTemplateCadenceSuggestionTitle\",\"@salesforce/label/NudgeCadence.callScriptCadenceSuggestionTitle\",\"@salesforce/label/NudgeCadence.emailTemplateTooltipText\",\"@salesforce/label/NudgeCadence.callScriptTooltipText\",\"@salesforce/label/NudgeCadence.emailTemplateCadenceSuggestionTitlePlural\",\"@salesforce/label/NudgeCadence.callScriptCadenceSuggestionTitlePlural\",\"instrumentation/service\"],function(e,t,a,s,l,d,c,n,i,o,r,u,g,p,h,f,C,b,T,m,v,y){function _(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var x=_(a);var k=_(s);var S=_(l);var M=_(d);var N=_(c);var j=_(n);var A=_(o);var O=_(r);var w=_(u);var D=_(g);var W=_(p);var B=_(h);var L=_(f);var z=_(C);var E=_(b);var I=_(T);var P=_(m);var F=_(v);function R(e,t,a){var s=e?\"[\"+e+\"]\":\"\";return\".nudgeCadenceIcon\"+s+\" {position: relative;top: calc(50% - var(--lwc-spacingSmall));}.nudgeFloatButton\"+s+\" {float: right;}\"}var q=[R];const H={classMap:{\"slds-scoped-notification\":true,\"slds-p-around_x-small\":true,\"slds-media\":true,\"slds-media_center\":true,\"slds-scoped-notification_light\":true,\"slds-grid\":true},attrs:{role:\"status\"},key:0};const V={classMap:{\"slds-media__body\":true,\"slds-col\":true,\"slds-grid\":true,\"slds-size_4-of-5\":true},key:1};const G={key:2};const J={nudgeCadenceIcon:true};const K={classMap:{\"slds-p-left_small\":true,\"slds-text-body_small\":true},key:4};const Q={classMap:{\"slds-dl_inline\":true},key:5};const U={classMap:{\"slds-dl_inline__label\":true},key:6};const X={classMap:{\"slds-dl_inline__detail\":true,\"slds-p-left_none\":true},key:8};const Y={classMap:{\"slds-dl_inline__label\":true},key:10};const Z={href:\"javascript:void(0);\"};const $={classMap:{\"slds-media__body\":true,\"slds-col\":true,\"slds-size_1-of-5\":true,\"slds-grid\":true},key:13};const ee={classMap:{\"slds-col\":true,\"slds-size_10-of-12\":true},key:14};const te={nudgeFloatButton:true,\"slds-p-right_large\":true};const ae={classMap:{\"slds-col\":true,\"slds-size_1-of-12\":true},key:16};const se={nudgeFloatButton:true};function le(e,t,a,s){const{c:l,h:d,t:c,b:n,d:i}=e;const{_m0:o,_m1:r}=s;return[d(\"div\",H,[d(\"div\",V,[d(\"div\",G,[l(\"lightning-icon\",x.default,{classMap:J,props:{iconName:\"standard:sales_cadence\",title:t.labels.actionCadence,alternativeText:t.labels.actionCadence,size:\"small\"},key:3})]),d(\"div\",K,[d(\"dl\",Q,[d(\"dt\",U,[l(\"lightning-formatted-text\",k.default,{props:{value:t.cadenceSuggestionTitleText},key:7})]),d(\"dd\",X,[l(\"lightning-helptext\",S.default,{props:{content:t.cadenceSuggestionTooltipText},key:9})]),d(\"dt\",Y,[l(\"lightning-formatted-rich-text\",M.default,{props:{value:t.addTargetToCadenceSuggestionText},key:11}),c(\" \"),d(\"a\",{attrs:Z,key:12,on:{click:o||(s._m0=n(t.navigateToCadenceRecordHome))}},[c(i(t.selectedCadenceName))])])])])]),d(\"div\",$,[d(\"div\",ee,[l(\"lightning-input\",N.default,{classMap:te,props:{type:\"toggle\",label:t.labels.applyCadenceCheckboxToggleAltText,name:\"addToCadence\",messageToggleInactive:\"\",messageToggleActive:\"\",variant:\"label-hidden\",checked:t.isNudgeCadenceAccepted},key:15,on:{change:r||(s._m1=n(t.handleToggleChanged))}})]),d(\"div\",ae,[l(\"support-nudge-cadence-action-dropdown\",j.default,{classMap:se,props:{isDismissNudgeDisabled:t.isNudgeCadenceAccepted,isSwitchCadenceDisabled:t.isSwitchCadenceDisabled,sourceObj:t.sourceObj},key:17})])])])]}var de=t.registerTemplate(le);le.stylesheets=[];if(q){le.stylesheets.push.apply(le.stylesheets,q)}le.stylesheetToken=\"lwc-4v24nqm7jvo\";le.legacyStylesheetToken=\"support-nudgeCadence_nudgeCadence\";t.freezeTemplate(le);const ce={EMAIL:\"email\",CALL:\"call\"};class ne extends(i.NavigationMixin(t.LightningElement)){constructor(...e){super(...e);this.labels={emailTemplateCadenceWillBeAddedMessage:D.default,emailTemplateCadenceWasAddedMessage:W.default,callScriptCadenceWillBeAddedMessage:B.default,addTargetToCadenceSuggestion:w.default,applyCadenceCheckboxToggleAltText:A.default,actionCadence:O.default};this.sourceObjLabels={tooltip:{email:E.default,call:I.default},willBeAddedMessage:{email:D.default,call:B.default}};this._sourceObj=void 0;this.selectedCadence=void 0;this.primaryWho=void 0;this.isNudgeCadenceAccepted=void 0;this.isSwitchCadenceDisabled=void 0}get sourceObj(){return this._sourceObj||ce.EMAIL}set sourceObj(e){this._sourceObj=Object.values(ce).includes(e)?e:null}get selectedCadenceName(){return this.selectedCadence?this.selectedCadence.name:\"\"}get addTargetToCadenceSuggestionText(){const e=this.isNudgeCadenceAccepted?this.sourceObjLabels.willBeAddedMessage[this.sourceObj]:this.labels.addTargetToCadenceSuggestion;const t=this.primaryWho?this.primaryWho.label:\"\";return this.formatCadenceText(e,t)}get cadenceSuggestionTooltipText(){return this.sourceObjLabels.tooltip[this.sourceObj]}get cadenceSuggestionTitleText(){const e={email:this.isSwitchCadenceDisabled?L.default:P.default,call:this.isSwitchCadenceDisabled?z.default:F.default};return e[this.sourceObj]}renderedCallback(){const e=this.template.querySelectorAll(\"lightning-input\");if(e&&e.length>0){e[0].focus()}}handleToggleChanged(e){const t=e.detail?e.detail.checked:false;const a=new CustomEvent(\"changetoggle\",{bubbles:true,composed:true,detail:{value:t}});this.dispatchEvent(a);if(t){y.interaction(\"nudge-cadence-toggle-accept\",this.sourceObj,{},\"synthetic-click\",\"user\")}else{y.interaction(\"nudge-cadence-toggle-decline\",this.sourceObj,{},\"synthetic-click\",\"user\")}}navigateToCadenceRecordHome(e){e.preventDefault();this[i.NavigationMixin.Navigate]({type:\"standard__recordPage\",attributes:{recordId:this.selectedCadence.id,actionName:\"view\"}});y.interaction(\"view_cadence_details\",this._sourceObj,{},\"synthetic-click\",\"user\")}formatCadenceText(e,t){return e.replace(\"{0}\",\"<strong>\"+t+\"<\/strong>\")}}t.registerDecorators(ne,{publicProps:{selectedCadence:{config:0},primaryWho:{config:0},isNudgeCadenceAccepted:{config:0},isSwitchCadenceDisabled:{config:0},sourceObj:{config:3},selectedCadenceName:{config:1},addTargetToCadenceSuggestionText:{config:1},cadenceSuggestionTooltipText:{config:1},cadenceSuggestionTitleText:{config:1}},fields:[\"labels\",\"sourceObjLabels\",\"_sourceObj\"]});var ie=t.registerComponent(ne,{tmpl:de,sel:\"support-nudge-cadence\",apiVersion:59});e.default=ie;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"support-nudge-cadence","descriptor":"markup://support:nudgeCadence","n":"support/nudgeCadence","ad":[["selectedCadence",null,"G",false],["primaryWho",null,"G",false],["isNudgeCadenceAccepted",null,"G",false],["isSwitchCadenceDisabled",null,"G",false],["sourceObj",null,"G",false],["selectedCadenceName",null,"G",false],["addTargetToCadenceSuggestionText",null,"G",false],["cadenceSuggestionTooltipText",null,"G",false],["cadenceSuggestionTitleText",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://emailui:gptProgressIndicator', \"emailui/gptProgressIndicator\",[\"exports\",\"lwc\",\"lightning/icon\",\"lightning/spinner\",\"lightning/formattedText\",\"lightning/button\",\"lightning/buttonIcon\",\"lightning/focusTrap\",\"@salesforce/label/SalesEmailAssistant.stop\",\"@salesforce/label/SalesEmailAssistant.retry\",\"@salesforce/label/SalesEmailAssistant.error\",\"@salesforce/label/SalesEmailAssistant.close\",\"@salesforce/label/SalesEmailAssistant.cancel\",\"@salesforce/label/Global.loading\",\"@salesforce/label/SalesEmailAssistant.stage1\",\"@salesforce/label/SalesEmailAssistant.stage2\",\"@salesforce/label/SalesEmailAssistant.stage3\",\"@salesforce/label/SalesEmailAssistant.stage4\",\"@salesforce/label/SalesEmailAssistant.stage5\"],function(e,t,s,a,r,l,i,n,o,c,d,g,u,p,h,b,f,m,v){function y(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var k=y(s);var _=y(a);var x=y(r);var M=y(l);var E=y(i);var I=y(n);var T=y(o);var w=y(c);var A=y(d);var S=y(g);var C=y(u);var L=y(p);var z=y(h);var D=y(b);var P=y(f);var N=y(m);var V=y(v);var j=void 0;function B(e,t,s){var a=e?\"[\"+e+\"]\":\"\";return\".gpt-progress-indicator\"+a+\" {position: relative;bottom: var(--lwc-varSpacingVerticalXSmall);z-index: calc(var(--lwc-zIndexSpinner,9050) + 2);}.gpt-progress-spinner\"+a+\" {min-width: var(--lwc-spacingLarge);}.gpt-progress-spinner\"+a+\" lightning-spinner\"+a+\" {background: transparent;}.backdrop\"+a+\" {position: absolute;z-index: calc(var(--lwc-zIndexSpinner,9050) + 1);visibility: visible;opacity: 1;}\"}var G=[B];const K=t.parseFragment`<div class=\"backdrop slds-backdrop${0}\"${2}><\/div>`;const R={key:0};const U={classMap:{\"gpt-progress-indicator\":true,\"slds-scoped-notification\":true,\"slds-p-around_medium\":true,\"slds-scoped-notification_light\":true,\"slds-grid\":true},attrs:{role:\"status\"},key:3};const X={classMap:{\"slds-grid\":true,\"slds-grow\":true,\"slds-grid_vertical-align-center\":true},key:4};const $={classMap:{\"gpt-progress-spinner\":true,\"slds-is-relative\":true},key:7};const q={classMap:{\"slds-p-left_small\":true,\"slds-text-body_regular\":true},key:9};const F={classMap:{\"slds-grow-none\":true},key:11};const O={\"slds-p-left_xx-small\":true};const H={classMap:{\"slds-p-left_xx-small\":true,\"slds-text-color_weak\":true,\"slds-text-title_caps\":true},props:{value:\"ESC\",tabIndex:\"0\"},key:15};function J(e,t,s,a){const{st:r,c:l,fr:i,h:n,b:o}=e;const{_m0:c,_m1:d}=a;return[l(\"lightning-focus-trap\",I.default,R,[r(K(),2),n(\"div\",U,[n(\"div\",X,[t.hasError?i(5,[l(\"lightning-icon\",k.default,{props:{iconName:\"utility:error\",variant:\"error\",alternativeText:t.labels.error,size:\"small\",tabIndex:\"0\"},key:6})],0):i(5,[n(\"div\",$,[l(\"lightning-spinner\",_.default,{props:{alternativeText:t.labels.loading,size:\"x-small\"},key:8})])],0),n(\"div\",q,[l(\"lightning-formatted-text\",x.default,{props:{value:t.message,tabIndex:\"0\",role:\"status\"},key:10})])]),n(\"div\",F,[l(\"lightning-button\",M.default,{props:{variant:\"base\",label:t.buttonLabel,title:t.buttonLabel},key:12,on:{click:c||(a._m0=o(t.handleButtonClick))}}),t.hasError?i(13,[l(\"lightning-button-icon\",E.default,{classMap:O,props:{iconName:\"utility:close\",variant:\"bare\",alternativeText:t.labels.close,title:t.labels.close},key:14,on:{click:d||(a._m1=o(t.handleClose))}})],0):i(13,[l(\"lightning-formatted-text\",x.default,H)],0)])])])]}var Q=t.registerTemplate(J);J.stylesheets=[];if(G){J.stylesheets.push.apply(J.stylesheets,G)}J.stylesheetToken=\"lwc-1i243njsm1a\";J.legacyStylesheetToken=\"emailui-gptProgressIndicator_lexGptIndicator\";t.freezeTemplate(J);function W(e,t,s){var a=e?\"[\"+e+\"]\":\"\";return\".gpt-progress-spinner\"+a+\" {min-width: var(--lwc-spacingLarge);}.gpt-progress-spinner\"+a+\" lightning-spinner\"+a+\" {background: transparent;}\"}var Y=[W];const Z={key:0};const ee={attrs:{name:\"header\"},key:1};const te=[];const se={classMap:{\"slds-grid\":true,\"slds-m-vertical_medium\":true},key:2};const ae={classMap:{\"gpt-progress-spinner\":true,\"slds-is-relative\":true},key:5};const re={classMap:{\"slds-p-left_small\":true,\"slds-text-body_regular\":true},key:7};const le={attrs:{name:\"buttons\"},key:9};const ie={classMap:{\"slds-grid\":true,\"slds-grid_align-end\":true},key:\"@buttons:10\"};const ne={classMap:{\"slds-grid\":true,\"slds-grid_align-end\":true},key:12};const oe={\"slds-p-left_xx-small\":true};function ce(e,t,s,a){const{s:r,c:l,fr:i,h:n,b:o}=e;const{_m0:c,_m1:d,_m2:g}=a;return[n(\"div\",Z,[r(\"header\",ee,te,s),n(\"div\",se,[t.hasError?i(3,[l(\"lightning-icon\",k.default,{props:{iconName:\"utility:error\",variant:\"error\",alternativeText:t.labels.error,size:\"small\",tabIndex:\"0\"},key:4})],0):i(3,[n(\"div\",ae,[l(\"lightning-spinner\",_.default,{props:{alternativeText:t.labels.loading,size:\"x-small\"},key:6})])],0),n(\"div\",re,[l(\"lightning-formatted-text\",x.default,{props:{value:t.message},key:8})])]),r(\"buttons\",le,[n(\"div\",ie,[t.hasError?i(11,[n(\"div\",ne,[l(\"lightning-button\",M.default,{classMap:oe,props:{label:t.labels.retry},key:13,on:{click:c||(a._m0=o(t.handleButtonClick))}}),l(\"lightning-button\",M.default,{classMap:oe,props:{label:t.labels.cancel},key:14,on:{click:d||(a._m1=o(t.handleClose))}})])],0):i(11,[l(\"lightning-button\",M.default,{props:{label:t.buttonLabel,title:t.buttonLabel},key:15,on:{click:g||(a._m2=o(t.handleClose))}})],0)])],s)])]}var de=t.registerTemplate(ce);ce.slots=[\"buttons\",\"header\"];ce.stylesheets=[];if(Y){ce.stylesheets.push.apply(ce.stylesheets,Y)}ce.stylesheetToken=\"lwc-2le3fv5gg6f\";ce.legacyStylesheetToken=\"emailui-gptProgressIndicator_mailAppGptIndicator\";t.freezeTemplate(ce);const ge={INTERVAL:1200};const ue={LEX:\"lex\",MAIL_APP:\"mailApp\"};const pe=\"Escape\";class he extends t.LightningElement{set errorMessage(e){this._errorMessage=e;this.execute()}get errorMessage(){return this._errorMessage}get hasError(){return!!this._errorMessage}get message(){return this.hasError?this._errorMessage:this.indicatorMessage}get buttonLabel(){return this.hasError?this.labels.retry:this.labels.stop}constructor(){super();this.variant=void 0;this._errorMessage=null;this.timeoutID=void 0;this.indicatorMessage=void 0;this.handleKeyDown=e=>{if(e?.key===pe){this.handleClose()}};this.labels={retry:w.default,stop:T.default,error:A.default,close:S.default,cancel:C.default,loading:L.default,progressMessages:[\"\",z.default,D.default,P.default,N.default,V.default]};this.addEventListener(\"keydown\",this.handleKeyDown)}render(){return this.variant===ue.MAIL_APP?de:Q}renderedCallback(){const e=this.template.querySelector(\"lightning-formatted-text[role=status]\");if(e){e.focus()}}execute(){if(this.hasError){clearTimeout(this.timeoutID);return}let e=0;const t=ge.INTERVAL;const s=()=>{e++;if(this.hasError||e>=this.labels.progressMessages.length){clearTimeout(this.timeoutID);return}this.onMessageUpdate(this.labels.progressMessages[e]);this.timeoutID=setTimeout(s,t)};s()}onMessageUpdate(e){this.indicatorMessage=e}handleButtonClick(e){if(e?.target?.label===this.labels.retry){this.dispatchEvent(new CustomEvent(\"retry\"),{bubbles:true,composed:true})}else{this.handleClose()}}handleClose(){this.dispatchEvent(new CustomEvent(\"stopgpt\"),{bubbles:true,composed:true})}}t.registerDecorators(he,{publicProps:{variant:{config:0},errorMessage:{config:3},hasError:{config:1}},fields:[\"_errorMessage\",\"timeoutID\",\"indicatorMessage\",\"handleKeyDown\",\"labels\"]});var be=t.registerComponent(he,{tmpl:j,sel:\"emailui-gpt-progress-indicator\",apiVersion:59});e.default=be;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"emailui-gpt-progress-indicator","descriptor":"markup://emailui:gptProgressIndicator","n":"emailui/gptProgressIndicator","ad":[["variant",null,"G",false],["errorMessage",null,"G",false],["hasError",null,"G",false]]},{"xs":"P","co":"function() { $A.componentService.addModule('markup://lst:relatedListLoadExtraData', \"lst/relatedListLoadExtraData\",[\"exports\",\"lwc\",\"lightning/uiRecordAvatarApi\",\"@salesforce/client/formFactor\",\"lst/listViewManagerLibrary\"],function(e,t,r,a,s){function i(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var o=i(a);const d=[];function c(e,t,r,a){return d}var n=t.registerTemplate(c);c.stylesheets=[];c.stylesheetToken=\"lwc-5gb71mmi83n\";c.legacyStylesheetToken=\"lst-relatedListLoadExtraData_relatedListLoadExtraData\";t.freezeTemplate(c);const{PrivateRLExtraDataReady:l,PrivateRLExtraDataFired:h}=s.events;class f extends t.LightningElement{constructor(...e){super(...e);this.recordIds=void 0;this.recordIdAvatarMap=void 0;this.recordLimit=void 0;this.rlRecords=void 0;this.hasDispatchedDataFired=false}handleRecordAvatars({data:e}){if(this.isDataConsistent(e)){const t=Object.assign({},this.recordIdAvatarMap);const r=this.rlRecords.records.slice(this.recordLimit);r.forEach(e=>{delete t[e.id]});let a=false;const s=Object.keys(t).reduce((r,s)=>{r[s]=r[s]||[];const i=t[s];i.forEach(t=>{const i=e[t.avatarId].result;if(i.type===\"Photo\"&&i.photoUrl||i.type===\"Theme\"){a=true;r[s].push({fieldName:t.fieldName+\".avatar\",data:i})}});return r},{});if(a){this.dispatchEvent(new l({extraData:s}))}}}connectedCallback(){if(!this.hasDispatchedDataFired){this.dispatchEvent(new h)}}isDataConsistent(e){return e&&Object.keys(e).every(t=>e[t].result&&(e[t].result.photoUrl||e[t].result.iconUrl))}}t.registerDecorators(f,{publicProps:{recordIds:{config:0},recordIdAvatarMap:{config:0},recordLimit:{config:0},rlRecords:{config:0}},wire:{handleRecordAvatars:{adapter:r.getRecordAvatars,dynamic:[\"recordIds\"],method:1,config:function(e){return{formFactor:o.default,recordIds:e.recordIds}}}},fields:[\"hasDispatchedDataFired\"]});var u=t.registerComponent(f,{tmpl:n,sel:\"lst-related-list-load-extra-data\",apiVersion:59});e.default=u;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"lst-related-list-load-extra-data","descriptor":"markup://lst:relatedListLoadExtraData","n":"lst/relatedListLoadExtraData","ad":[["recordIds",null,"G",false],["recordIdAvatarMap",null,"G",false],["recordLimit",null,"G",false],["rlRecords",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://feeds_sorter:sorter', \"feeds_sorter/sorter\",[\"exports\",\"lwc\",\"@salesforce/label/Feeds.sort_label\",\"lightning/combobox\",\"lightning/menuItem\",\"lightning/buttonMenu\",\"feeds_sorter/util\"],function(e,t,s,n,o,r,i){function l(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var a=l(s);var c=l(n);var d=l(o);var u=l(r);var h=void 0;const g={\"feeds-sorter-trigger\":true};function p(e,t,s,n){const{b:o,c:r}=e;const{_m0:i}=n;return[r(\"lightning-combobox\",c.default,{classMap:g,props:{name:\"sort\",label:t.labels.sortByLabel,value:t.sortOrder,options:t.state.options,dropdownAlignment:t._dropdownAlignment},key:0,on:{change:i||(n._m0=o(t.handleChangeSortSelection))}})]}var m=t.registerTemplate(p);p.stylesheets=[];p.stylesheetToken=\"lwc-2k5o3e51clr\";p.legacyStylesheetToken=\"feeds_sorter-sorter_combobox\";t.freezeTemplate(p);const b={\"feeds-sorter-trigger\":true};function f(e,t,s,n){const{b:o,k:r,c:i,i:l}=e;const{_m0:a}=n;return[i(\"lightning-button-menu\",u.default,{classMap:b,props:{value:t.sortOrder,iconName:\"utility:sort\",menuAlignment:t._dropdownAlignment,alternativeText:t.labels.sortByLabel},key:0,on:{select:a||(n._m0=o(t.handleChangeSortSelection))}},l(t.state.options,function(e){return i(\"lightning-menu-item\",d.default,{className:e.class,props:{label:e.label,value:e.value,checked:e.selected},key:r(1,e.value)})}))]}var O=t.registerTemplate(f);f.stylesheets=[];f.stylesheetToken=\"lwc-nr8rjhrh7i\";f.legacyStylesheetToken=\"feeds_sorter-sorter_buttonmenu\";t.freezeTemplate(f);const _=\"COMBOBOX\";const v=\"lightning-combobox\";const y=\"lightning-button-menu\";const S=\"changesortselection\";const A=\"data-selected-label\";const T=\"feeds-sorter\";const k=\"feeds-sorter-option\";class w extends t.LightningElement{constructor(...e){super(...e);this.labels={sortByLabel:a.default};this._dropdownAlignment=void 0;this._initialSortOptions=void 0;this.state={options:[]};this.triggerType=_;this._sortOrder=\"\"}get sortOptions(){return this._initialSortOptions}set sortOptions(e){this._initialSortOptions=e||{};const{menuOptions:t=[]}=this._initialSortOptions;if(t&&t.length>0){this.state.options=i.transformMenuOptions(t,this.sortOrder,k)}}get menuAlignment(){return this._menuAlignment}set menuAlignment(e){this._menuAlignment=e;this._dropdownAlignment=i.normalizeAlignment(e)}get sortOrder(){return this._sortOrder}set sortOrder(e){this._sortOrder=e}focus(){this.getBaseComponent().focus()}reflectSelectedLabel(e){if(e){this.setAttribute(A,e)}else{this.removeAttribute(A)}}getBaseComponent(){const e=this.triggerType===_?v:y;return this.template.querySelector(e)}render(){return this.triggerType===_?m:O}connectedCallback(){this.state.options=i.createOptionsWithOptionSelected(this.state.options,this.sortOrder);const e=i.getSelectedOptionObject(this.state.options,this.sortOrder);if(e){this.reflectSelectedLabel(e.label)}this.classList.add(T)}handleChangeSortSelection(e){const t=e.detail.value;if(this.sortOrder===t){return}this._sortOrder=t;this.state.options=i.createOptionsWithOptionSelected(this.state.options,this.sortOrder);const s=i.getSelectedOptionObject(this.state.options,t);this.reflectSelectedLabel(s.label);this.dispatchEvent(new CustomEvent(S,{bubbles:true,composed:true,cancelable:true,detail:{value:s.menuOptionIdentifier}}))}}t.registerDecorators(w,{publicProps:{sortOptions:{config:3},menuAlignment:{config:3},triggerType:{config:0},sortOrder:{config:3}},publicMethods:[\"focus\"],track:{state:1},fields:[\"labels\",\"_dropdownAlignment\",\"_initialSortOptions\",\"_sortOrder\"]});var C=t.registerComponent(w,{tmpl:h,sel:\"feeds_sorter-sorter\",apiVersion:59});e.default=C;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"feeds_sorter-sorter","descriptor":"markup://feeds_sorter:sorter","n":"feeds_sorter/sorter","ad":[["sortOptions",null,"G",false],["menuAlignment",null,"G",false],["triggerType",null,"G",false,"COMBOBOX"],["sortOrder",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://lightning:messageService', \"lightning/messageService\",[\"exports\",\"lightning/messageServiceInternal\"],function(e,n){function t(e,t,r,s){return n.subscribe(e,t,r,s)}function r(e){n.unsubscribe(e)}function s(e,t,r,s){n.publish(e,t,r,s)}function u(){return n.createMessageChannel()}function i(){return n.createMessageContext()}function a(e){n.releaseMessageContext(e)}Object.defineProperty(e,\"APPLICATION_SCOPE\",{enumerable:true,get:function(){return n.APPLICATION_SCOPE}});Object.defineProperty(e,\"MessageContext\",{enumerable:true,get:function(){return n.MessageContext}});e.createMessageChannel=u;e.createMessageContext=i;e.publish=s;e.releaseMessageContext=a;e.subscribe=t;e.unsubscribe=r;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"lightning-message-service","descriptor":"markup://lightning:messageService","n":"lightning/messageService","mv":47.0},{"xs":"G","co":"function() { $A.componentService.addModule('markup://lst:relatedListContainer', \"lst/relatedListContainer\",[\"exports\",\"lwc\",\"lst/relatedListSingleContainer\",\"lst/errorState\",\"force/versionMarker\",\"laf/pageCapability\",\"laf/transformWire\",\"lightning/uiRelatedListApi\",\"lightning/uiRecordApi\",\"@salesforce/label/RecordHomeCards.NoCards\",\"@salesforce/metric/RelatedList/RlContainer.RenderTime/ms\",\"instrumentation/service\",\"@salesforce/label/InfoComponentsRelatedLists.RelatedListErrorMessage\",\"@salesforce/label/InfoComponentsRelatedLists.RelatedListErrorTitle\",\"@salesforce/accessCheck/S1Desktop.userHasActivitiesRelatedListsOnRecordHome\",\"@salesforce/client/formFactor\",\"lst/listViewManagerLibrary\",\"instrumentation/metricsWrapper\",\"@salesforce/gate/lasr.refreshViewAPI\",\"lightning/refresh\",\"@salesforce/accessCheck/Records.isRRHVersionIndicatorEnabled\"],function(e,t,i,r,a,s,n,l,d,o,c,f,p,u,h,m,g,L,y,R,b){function C(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var v=C(i);var A=C(r);var w=C(a);var I=C(o);var T=C(c);var N=C(p);var k=C(u);var j=C(h);var O=C(m);var M=C(y);var x=C(b);function E(e,t,i){var r=e?\"[\"+e+\"]\":\"\";return\".listWrapper:not(:first-child)\"+r+\" {margin-top: var(--lwc-varSpacingVerticalSmall);}\"}var D=[E];const W={classMap:{container:true},key:0};const F={listWrapper:true};const H={classMap:{\"slds-card\":true,\"slds-text-title_bold\":true,\"slds-text-align_center\":true},key:3};const S={classMap:{\"slds-card\":true},key:4};const V={props:{tag:\"RLC\",version:\"LWC\"},key:7};function B(e,t,i,r){const{k:a,c:s,h:n,i:l,d:d,t:o,fr:c}=e;return[t.isArray?n(\"div\",W,l(t.wiredRelatedLists.data,function(e){return n(\"div\",{classMap:F,key:a(1,e.relatedListId)},[s(\"lst-related-list-single-container\",v.default,{props:{recordId:t.recordId,objectApiName:t.objectApiName,parentFieldApiName:e.parentFieldApiName,relatedListApiName:e.relatedListId,relatedListComponentOverride:t.relatedListComponentOverride,flexipageRegionWidth:t.flexipageRegionWidth,rowsToDisplay:t.rowsToDisplay,showActionBar:t.calculatedShowActionBar,partOfContainer:\"LWC\"},key:2})])})):null,t.hasNoRelatedLists?n(\"div\",H,[o(d(t.i18n.emptyLabel))]):null,t.hasError?n(\"div\",S,[s(\"lst-error-state\",A.default,{props:{error:t.error},key:5})]):null,t.showRRHVersionIndicator?c(6,[s(\"force-version-marker\",w.default,V)],0):null]}var P=t.registerTemplate(B);B.stylesheets=[];if(D){B.stylesheets.push.apply(B.stylesheets,D)}B.stylesheetToken=\"lwc-77en8vud2tf\";B.legacyStylesheetToken=\"lst-relatedListContainer_relatedListContainer\";t.freezeTemplate(B);const _=f.percentileHistogram(T.default);const z=\"relatedListErrorState\";const G=L.getMetrics(\"RelatedLists.LWC\");class q extends(s.CapabilityMixin(t.LightningElement)){constructor(...e){super(...e);this.startTime=0;this.endTime=0;this.recordId=void 0;this.objectApiName=void 0;this.relatedListComponentOverride=\"NONE\";this.flexipageRegionWidth=void 0;this.rowsToDisplay=10;this.showActionBar=undefined;this.generatedFields=void 0;this.wiredRecordData=void 0;this.delayedConfig=void 0;this.relatedListsInLayout=void 0;this.filteredRelatedLists=void 0;this.wiredRelatedLists=void 0}refresh(){if(M.default.isOpen({fallback:false})){this.dispatchEvent(new R.RefreshEvent)}else{this[s.CapabilityMixin.GetRegisteredCapabilities](s.RefreshCapability).forEach(e=>e[s.RefreshCapability]())}}connectedCallback(){this.startTime=performance.now();if(!M.default.isOpen({fallback:false})){this[s.CapabilityMixin.ExposeCapabilities]({[s.RefreshCapability]:this.refresh.bind(this)});this[s.CapabilityMixin.EnableListener](s.RefreshCapability)}G.incrementCounter(\"connectedCallback\",1,false,{})}disconnectedCallback(){this[s.CapabilityMixin.ConcealCapabilities]()}renderedCallback(){if(this.wiredRelatedLists.data&&this.wiredRelatedLists.data.length){this.endTime=performance.now();const e=this.endTime-this.startTime;if(e>=0){_.update(e);G.trackValue(\"relatedListContainer\",e,false,{})}}G.incrementCounter(\"relatedListContainer\",1,false,{})}errorCallback(){G.incrementCounter(\"relatedListContainer\",1,true,{})}get isArray(){return Array.isArray(this.wiredRelatedLists.data)}get hasNoRelatedLists(){return this.isArray&&this.wiredRelatedLists.data.length===0}get error(){return{type:z,title:k.default,message:N.default}}get hasError(){return!this.wiredRecordData||this.wiredRecordData.error||!this.relatedListsInLayout||this.relatedListsInLayout.error}get i18n(){return{emptyLabel:I.default}}get calculatedShowActionBar(){return this.showActionBar===undefined?true:this.showActionBar}get showRRHVersionIndicator(){return x.default}}t.registerDecorators(q,{publicProps:{recordId:{config:0},objectApiName:{config:0},relatedListComponentOverride:{config:0},flexipageRegionWidth:{config:0},rowsToDisplay:{config:0},showActionBar:{config:0}},publicMethods:[\"refresh\"],wire:{generatedFields:{adapter:n.generateFieldValues,dynamic:[\"objectApiName\"],config:function(e){return{fields:[\"Id\"],objectApiName:e.objectApiName}}},wiredRecordData:{adapter:d.getRecord,dynamic:[\"recordId\",\"optionalFields\"],config:function(e){let t=e.generatedFields;return{recordId:e.recordId,optionalFields:t!=null?t.data:undefined}}},delayedConfig:{adapter:n.delayedTransform,dynamic:[\"parentObjectApiName\",\"recordTypeId\"],config:function(e){let t=e.wiredRecordData;return{parentObjectApiName:e.objectApiName,recordTypeId:t!=null&&(t=t.data)!=null?t.recordTypeId:undefined}}},relatedListsInLayout:{adapter:l.getRelatedListsInfo,dynamic:[\"parentObjectApiName\",\"recordTypeId\"],config:function(e){let t=e.delayedConfig;let i=e.delayedConfig;return{parentObjectApiName:t!=null&&(t=t.data)!=null?t.parentObjectApiName:undefined,recordTypeId:i!=null&&(i=i.data)!=null?i.recordTypeId:undefined}}},filteredRelatedLists:{adapter:n.filterHiddenRelatedLists,dynamic:[\"relatedListInfo\",\"objectApiName\"],config:function(e){let t=e.relatedListsInLayout;return{formFactor:O.default,ignoreActivitiesRelatedListPreferences:g.IgnoreActivityRelatedListPreferences,userHasActivitiesRelatedListsOnRecordHome:j.default,activitiesRelatedLists:g.ActivitiesRelatedLists,relatedListInfo:t!=null?t.data:undefined,objectApiName:e.objectApiName}}},wiredRelatedLists:{adapter:n.transformRelatedListInfos,dynamic:[\"relatedLists\"],config:function(e){let t=e.filteredRelatedLists;return{relatedLists:t!=null?t.data:undefined}}}},fields:[\"startTime\",\"endTime\"]});var J=t.registerComponent(q,{tmpl:P,sel:\"lst-related-list-container\",apiVersion:59});e.default=J;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"lst-related-list-container","descriptor":"markup://lst:relatedListContainer","n":"lst/relatedListContainer","ad":[["recordId",null,"G",false],["objectApiName",null,"G",false],["relatedListComponentOverride",null,"G",false,"NONE"],["flexipageRegionWidth",null,"G",false],["rowsToDisplay",null,"G",false,10],["showActionBar",null,"G",false]]},{"xs":"P","co":"function() { $A.componentService.addModule('markup://force:empNotificationService', \"force/empNotificationService\",[\"exports\"],function(e){function t(e,t){const n=\"emp.leaderElection\";const o=\"emp.heartbeat\";const i=[\"FOLLOWER\",\"CANDIDATE\",\"LEADER\"];const a=Date.now()+\"_\"+v(1,1e4);const r=4e3;const c=6e3;const s=3e3;const l=4e3;let u=i[0];let f=false;let d=0;let m=false;let p=null;let b;let g;let E=false;const h={};h.heartBeat=()=>{const e={};e.eventType=\"heartbeat\";e.leader={id:a,candidateTime:p};return e};h.election=()=>{const e={};e.eventType=\"election\";e.candidateId=a;e.candidateTime=p;return e};h.vote=e=>{const t={};t.eventType=\"vote\";t.candidateId=e;return t};function w(...e){if(E){window.console.log(...e)}}function I(e){return typeof e===\"function\"}function v(e,t){e=Math.ceil(e);t=Math.floor(t);return Math.floor(Math.random()*(t-e+1))+e}function k(e){y(o,e)}function S(e){y(n,e)}function y(e,t){t.time=Date.now();const n=JSON.stringify(t);window.localStorage.setItem(e,n)}function L(e){if(I(t)){t(e)}}function N(e){if(u===i[2]){if(p>e.leader.candidateTime){u=i[0];clearInterval(b);b=null}}if(g!==e.leader.id){g=e.leader.id;L({leaderId:g})}m=false;d=0;f=true}function C(e){const t=e.candidateId;if(t===a){d+=1;w(\"[EmpLe] Vote handler: received votes [\"+d+\"]\")}}function T(e){return e===a}function O(e){w(\"[EmpLe] Election handler\");const t=e.candidateId;if(T(t)){w(\"[EmpLe] Event candidateId is same as Node Id. Ignore our own heartbeat message\");return}if(!W()&&e.candidateTime<p){u=i[0];w(\"[EmpLe] Election handler: Detected two candidates or leaders, becoming follower.\")}if(D()&&W()){w(\"[EmpLe] Election handler: voted for [\"+t+\"].\");S(h.vote(t));m=true}f=true}function D(){return!m}function W(){return u===i[0]}function R(){window.setTimeout(()=>{if(!f){_()}else{f=false;R()}},v(r,c))}function A(){window.setTimeout(()=>{w(\"[EmpLe] Election Timedout: heartbeat received=\"+f);if(f){f=false;R()}else if(d>0&&u!==i[0]){u=i[2];m=false;w(\"[EmpLe] Yay I am the leader :\"+a+\" with [\"+d+\"] votes.\");M();L({leaderId:a})}},v(l,l))}function _(){u=i[1];d=0;if(!f){d+=1;m=true;p=Date.now();S(h.election());A()}else{R()}}function M(){b=window.setInterval(()=>{k(h.heartBeat())},v(s,s))}function F(){clearInterval(b);b=null}function J(e){let t;if(e.newValue&&(e.key===n||e.key===o)){t=JSON.parse(e.newValue)}if(t&&t.eventType){w(\"[EmpLe]\",t);if(t.eventType===\"heartbeat\"){N(t)}if(t.eventType===\"vote\"){C(t)}if(t.eventType===\"election\"){O(t)}}}function j(){if(I(e)){e({nodeId:a})}window.addEventListener(\"storage\",J);R()}function P(e){E=e}function H(){try{w(\"[EmpLe] Stopping heartbeats...\");F();w(\"[EmpLe] Successfully stopped heartbeats\")}catch(e){w(\"[EmpLe] Failed to stop heartbeats. Reason = \"+e)}}return{start:j,stop:H,setDebugFlag:P}}const n=(()=>{const e=\"org.cometd.reload.fromLocalStorage\";const n=\"emp.cometd\";const o=\"emp.debugFlag\";const i=L();const a=w();const r={log:()=>{}};const c={SHARED_WORKER:\"In shared worker mode. When shared worker is available.\",LEADER_ELECTION:\"In leader election mode. When shared worker is not available and local storage is available.\",STANDALONE:\"In standalone mode. When local storage and shared worker are not available.\"};let s;let l;let u=null;const f={};const d={};let m=null;let p=null;let b=null;let g=null;let E={};let h=a;function w(){if(i){return localStorage.getItem(o)===\"true\"}return false}function I(){return h}function v(){if(I()){return window.console}return r}function k(e){return typeof e===\"function\"}function S(e,t){Object.entries(e).forEach(([e,n])=>{if(t.length===2){t(e,n)}else{t(n)}})}function y(){return!!navigator.userAgent.match(/ipad|iphone|ipod/i)}function L(){try{const e=\"key\";T(e,{value:\"emp.test\"});localStorage.removeItem(e);return true}catch(e){return false}}function N(e,t){e=Math.ceil(e);t=Math.floor(t);return Math.floor(Math.random()*(t-e+1))+e}function C(){let e=\"\";if(b){e=b}return e+\"_\"+Date.now()+\"_\"+N(1,1e4)}function T(e,t){t.time=Date.now();const n=JSON.stringify(t);window.localStorage.setItem(e,n)}function O(e){if(!i){v().log(\"[Emp] Is localStorage available\",i);return}T(n,e)}function D(e){v().log(\"[Emp] toCometdWorker: \",e);let t=m;if(m){if(u===c.SHARED_WORKER){t=m.port}t.postMessage(e)}else{O(e)}}function W(e){const t=f[e.id];return!!t}function R(e){const t=d[e.id];return!!t}function A(e){const t=E[e.id];return!!t}function _(){return g===b}function M(){return!!g||m}function F(e){return e.data.nodeId===b}function J(e){const t={};t.id=e.id;t.channel=e.channel;t.replayId=e.replayId;return t}function j(e){const t={};t.id=e.id;return t}function P(){if(l){const e={eventType:\"functionCall\",nodeId:b,functionName:\"init\",functionParams:{config:$()}};v().log(\"[Emp] Init config, remote call with \",e);D(e)}}function H(){return{subscriptions:f,unsubscribes:d}}function K(e){l=e;s=l.paths.cometdWorkerJs;u=ge();v().log(\"[Emp] Init config, the mode of operation is \",u);if(u===c.LEADER_ELECTION){Le()}if(!M()&&Object.keys(f).length>0){ve()}}function V(e){if(!a){h=e;B()}}function B(){if(l){const e={eventType:\"functionCall\",nodeId:b,functionName:\"setDebugFlag\",functionParams:{debugFlag:h}};D(e)}if(p){p.setDebugFlag(h)}}function x(e){const t={eventType:\"functionCall\",nodeId:b,functionName:\"addOnErrorListener\",functionParams:{listener:j(e)}};D(t)}function U(){S(E,x)}function Y(e){const t={eventType:\"functionCall\",nodeId:b,functionName:\"removeOnErrorListener\",functionParams:{listener:j(e)}};D(t)}function q(){S(E,Y);E={}}function z(e){const t={};t.id=C();t.callback=e;E[t.id]=t;if(M()){x(t)}}function G(){q();ae()}function Q(e){S(f,(t,n)=>{if(n.channel===e){delete f[t]}})}function X(e){S(d,(t,n)=>{if(n.channel===e){delete d[t]}})}function Z(e){const t=e.message;const n=JSON.parse(t);if(n){if((n.channel===\"/meta/subscribe\"||n.channel===\"/meta/unsubscribe\")&&n.subscription){Q(n.subscription);X(n.subscription)}}S(E,e=>{const t=e.callback;if(k(t)){t(n)}})}function $(){if(l){const t=JSON.parse(JSON.stringify(l));if(i){t.cometdState=window.localStorage.getItem(e)}return t}return{}}function ee(e){const t={eventType:\"functionCall\",nodeId:b,functionName:\"subscribe\",functionParams:{subscription:J(e),config:$()}};v().log(\"[Emp] subscribe with \",t);D(t)}function te(){S(f,ee)}function ne(e,t,n,o){const i={};const a=C();i.id=a;i.channel=e;i.replayId=t;i.callback=n;if(k(o)){i.subscribeCallback=o}f[a]=i;const r=J(i);if(M()){ee(i)}else{ve()}return r}function oe(e,t){if(e){const n=f[e.id];if(n){delete f[e.id];d[n.id]=n;n.unsubscribeCallback=t;ie(n)}}}function ie(e){let t;if(e){t={eventType:\"functionCall\",nodeId:b,functionName:\"unsubscribe\",functionParams:{subscription:J(e)}};v().log(\"[Emp] unsubscribe with \",t);D(t)}}function ae(){S(f,ie)}function re(e){let t;let n;if(e&&e.subscription){if(W(e.subscription)){t=e.subscription.id;n=f[t];n.cometdSubscription=e.subscription.cometdSubscription}}}function ce(e){let t;let n;let o;if(e&&e.message){t=e.subscription.id;n=d[t];if(n){o=n.unsubscribeCallback;if(t){if(e.message.successful){delete d[t]}v().log(\"[Emp] unsubscribe callback called for subscription\",n);if(k(o)){o(e.message)}}}}const i=Object.keys(d).length;const a=Object.keys(f).length;v().log(\"[Emp] No. of unsubscribes = \"+i+\", unsubscribes object:\",d);v().log(\"[Emp] No. of subscriptions = \"+a+\", subscriptions object:\",f)}function se(e){let t;let n;let o;if(e&&e.subscription){t=e.subscription.id;n=f[t];o=e.message;if(n&&n.callback){le(n,o);n.callback(o)}}}function le(e,t){if(t&&t.data&&t.data.event&&t.data.event.replayId){e.replayId=t.data.event.replayId}}function ue(e){let t;let n;let o;if(e&&e.subscription){t=e.subscription.id;n=f[t];o=e.message;if(n&&n.subscribeCallback){n.subscribeCallback(o)}}}function fe(){v().log(\"[Emp] Clearing state before unload...\");G()}function de(t){if(!i){return}let n=null;if(t&&t.params){n=t.params.state;window.localStorage.setItem(e,n);v().log(\"[Emp] Cometd state in main is \"+n)}}function me(){if(!i){return}window.localStorage.removeItem(e)}function pe(){v().log(\"[Emp] Terminating cometd worker...\");if(m){if(u===c.LEADER_ELECTION){Ne()}if(u===c.SHARED_WORKER){m.port.close()}else{m.terminate()}v().log(\"[Emp] Set cometdWorker to null\");m=null}}function be(e){v().log(\"[Emp] fromCometdWorker: \",e);if(e&&e.data){if(e.data.eventType===\"functionCall\"){switch(e.data.functionName){case\"subscribeCallback\":{if(W(e.data.subscription)){ue(e.data)}else{O(e.data)}return}case\"unsubscribeCallback\":{if(R(e.data.subscription)){ce(e.data)}else{O(e.data)}return}case\"messageCallback\":{if(W(e.data.subscription)){se(e.data)}else{O(e.data)}return}case\"onErrorCallback\":{if(A(e.data.listener)){Z(e.data)}else{O(e.data)}return}case\"saveCometdState\":{de(e.data);return}case\"removeCometdState\":{me();return}case\"terminateWorker\":{pe();return}case\"setDebugFlag\":{return}default:{v().log(\"[Emp] fromCometdWorker: No handler found for [\"+e.data.functionName+\"].\")}}}if(e.data.eventType===\"functionReturn\"&&e.data.functionName===\"subscribe\"){if(W(e.data.subscription)){re(e.data)}else{O(e.data)}}}}function ge(){if(!y()&&he()){return c.SHARED_WORKER}if(Ee()){return c.LEADER_ELECTION}return c.STANDALONE}function Ee(){return i&&!!window.Worker}function he(){let e=s&&\"SharedWorker\"in window;if(e){try{const t=new SharedWorker(s);e=e&&\"port\"in t;e=e&&\"postMessage\"in t.port}catch(t){v().log(\"Unable to create SharedWorker instance because of \",t);e=false}}return e}function we(){return!m&&u===c.SHARED_WORKER}function Ie(){return!m&&(_()||u===c.STANDALONE)}function ve(){if(s){let e=false;if(we()){v().log(\"[Emp] Create new SharedWorker\");m=new SharedWorker(s);m.port.addEventListener(\"message\",be);m.port.start();e=true}else if(Ie()){v().log(\"[Emp] Create new WebWorker\");m=new Worker(s);m.addEventListener(\"message\",be);e=true}if(e){v().log(\"[Emp] New Worker Created\");B();P();U();te()}}}function ke(e){b=e.nodeId;if(k(l.onNodeIdInit)){l.onNodeIdInit(b)}}function Se(e){if(g!==e.leaderId){g=e.leaderId;if(l.onLeaderChange){l.onLeaderChange(g===b)}if(_()){ve()}else{te();U()}}}function ye(e){const t={};let o;if(e.newValue&&e.key===n){o=JSON.parse(e.newValue);t.data=o}if(o&&o.eventType){if(_()){if(m){m.postMessage(o)}else{v().log(\"[Emp] Cometd Worker is undefined!\")}}else if(F(t)){be(t)}}}function Le(){if(!p){window.addEventListener(\"storage\",ye);p=new t(ke,Se);p.setDebugFlag(h);p.start()}}function Ne(){if(!!p&&_()){v().log(\"[Emp] Stop sending heartbeats...\");p.stop();v().log(\"[Emp] Leader stopped sending heartbeats\")}}window.addEventListener(\"beforeunload\",fe);return{init:K,subscribe:ne,unsubscribe:oe,onError:z,clearState:G,setDebugFlag:V,getState:H}})();e.Emp=n;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"force-emp-notification-service","descriptor":"markup://force:empNotificationService","n":"force/empNotificationService"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://force:ePrivacyConsentCookie', \"force/ePrivacyConsentCookie\",[\"exports\"],function(e){const t=\"CookieConsent\";const n=\"CookieConsentPolicy\";const o=1e3*60*60*24*365;const r=\"232.1\";const c=\"230.1.0\";const s=false;const i=\"|\";const u=\"Preferences\";const f=\"Statistics\";const l=\"Marketing\";const a={NONE:\"None\",STRICT:\"Strict\",LAX:\"Lax\"};function d(e,t,n,o,r,c,s,i){if(i){let e=false;const t=Object.keys(a);for(let n=0;n<t.length;n++){if(a[t[n]]===i){e=true;break}}if(!e){throw new Error(`Setting cookie with provided SameSite value failed : ${i}`)}}s=s||encodeURIComponent;document.cookie=`${e}=${s(t)}${`${n?`; expires=${n.toGMTString()}`:\"\"}${o?`; path=${o}`:\"; path=/\"}${r?`; domain=${r}`:\"\"}${c===true?\"; secure\":\"\"}${i?`; SameSite=${i}`:\"\"}`}`}function C(e,t,n){if(m(e)){const o=new Date((new Date).getTime()+1e3*-10);d(e,\"\",o,t,n)}}function m(e,t=decodeURIComponent){const n=document.cookie;const o=`${e}=`;let r=n.indexOf(`; ${o}`);if(r===-1){r=n.indexOf(o);if(r!==0){return null}}else{r+=2}let c=document.cookie.indexOf(\";\",r);if(c===-1){c=n.length}return t(n.substring(r+o.length,c))}function N(e){const n=new Date;const u=new Date((new Date).getTime()+o);const f=m(t);if(f==null){const o=$(e);const f=S(n);const l=r+i+c+i+f+i+o+i+s;d(t,l,u,\"/\",null,false,encodeURI,\"\");return}const l=O(f);l[3]=$(e);l[2]=S(n);const a=k(l);d(t,a,u,\"/\",null,false,encodeURI,\"\")}function $(e){const t=e[u];const n=e[f];const o=e[l];let r=\"1\";r+=t?\"1\":\"0\";r+=n?\"1\":\"0\";r+=o?\"1\":\"0\";return encodeURIComponent(r)}function k(e){return e.join(i)}function O(e){return e.split(i)}function S(e){return e.toISOString()}function g(e){if(Number(w(e))===1){return true}const o=m(n);if(o==null){return true}const r=m(t);const c=o.split(\":\");const s=Boolean(Number(c[0]));const i=Boolean(Number(c[1]));if(s){if(i){if(r===null){if(Number(w(e))===1){return true}return false}return p(r,e)}return false}return true}function p(e,t){const n=O(e);if(n[3]==null){return false}const o=n[3];const r=Number(w(t));const c=Number(o.charAt(r-1));const s=c===1?true:false;return s}function w(e){switch(e.toLowerCase()){case\"essential\":return\"1\";case\"preferences\":return\"2\";case\"statistics\":return\"3\";case\"marketing\":return\"4\";default:return\"-1\"}}e.CONSENT_COOKIE_NAME=t;e.CONSENT_ENABLEMENT_COOKIE_NAME=n;e.deleteCookie=C;e.isCategoryAllowedForCurrentConsent=g;e.setCookie=d;e.setCookieConsent=N;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"force-e-privacy-consent-cookie","descriptor":"markup://force:ePrivacyConsentCookie","n":"force/ePrivacyConsentCookie"},{"xs":"P","co":"function() { $A.componentService.addModule('markup://records:baseRecordFormToolbar', \"records/baseRecordFormToolbar\",[\"exports\",\"lwc\",\"force/recordUiUtils\",\"@salesforce/label/Buttons.save\",\"@salesforce/label/Buttons.save_and_new\",\"@salesforce/label/Buttons.cancel\",\"@salesforce/label/Icon.ERROR\"],function(e,t,s,r,o,i,n){function a(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var c=a(r);var l=a(o);var d=a(i);var u=a(n);const h=[];function p(e,t,s,r){return h}var f=t.registerTemplate(p);p.stylesheets=[];p.stylesheetToken=\"lwc-2imd3p3qtad\";p.legacyStylesheetToken=\"records-baseRecordFormToolbar_baseRecordFormToolbar\";t.freezeTemplate(p);const v=\"formfootershow\";const E=\"formfooterhide\";const b=\"formfootersave\";const g=\"formfootersaveandnew\";const m=\"formfootercancel\";const C=\"formfooterreload\";const w=\"formfooterfieldclick\";const S=\"showloadingindicator\";const D=\"hideloadingindicator\";const y=\"force-duplicates-manager\";class O extends t.LightningElement{constructor(...e){super(...e);this.state={visible:false,disabled:false};this.recordId=void 0;this.recordTypeId=void 0;this.showSaveAndNew=false;this.objectApiName=void 0;this.mode=void 0;this.saveOptions=[];this.optionType=void 0;this.isSaving=false;this.fireEvent=void 0;this.errors={};this.visibilityChanges={};this._nonBlockingDuplicateErrorSet=false;this.buttonVariantMap={SaveEdit:\"brand\"}}get showSaveOptions(){if(this.saveOptions&&this.saveOptions.length>0&&this.mode!==s.RecordUiConstants.MODE_VIEW){if(this.optionType===s.RecordUiConstants.SAVE_OPTION_TYPE.FLEXIPAGE){const e=this.saveOptions.find(e=>e?.uiModel?.visible);if(!e){return false}}return true}return false}get isModeCreateClone(){return this.mode===s.RecordUiConstants.MODE_CREATE||this.mode===s.RecordUiConstants.MODE_CLONE}get computedFooterClass(){return this.showSaveOptions?\"footer-with-save-options\":\"\"}get computedFooterActionButtonsContainerClass(){return this.showSaveOptions?\"right-align-buttons\":\"center-align-buttons\"}get computedSaveOptionsContainerClass(){return this.showSaveOptions?\"left-align-save-options\":\"\"}get computedActionButtonsContainerClass(){return this.showSaveOptions?\"max-width\":\"\"}renderedCallback(){if(this.fireEvent){const e=new CustomEvent(this.state.visible?v:E,{bubbles:true,composed:true,cancelable:true});this.dispatchEvent(e);this.fireEvent=false}}fireCancelEvent(){const e=new CustomEvent(m,{bubbles:true,composed:true,cancelable:true});this.dispatchEvent(e)}fireSaveEvent(){const e=new CustomEvent(b,{bubbles:true,composed:true,cancelable:true});this.dispatchEvent(e)}fireSaveAndNewEvent(){const e=new CustomEvent(g,{bubbles:true,composed:true,cancelable:true});this.dispatchEvent(e)}fireReloadEvent(){const e=new CustomEvent(C,{bubbles:true,composed:true,cancelable:true});this.dispatchEvent(e)}fireFieldClickEvent(e){const t=new CustomEvent(w,{bubbles:true,composed:true,cancelable:true,detail:{contextId:e.contextId,instanceId:e.instanceId,fieldApiName:e.fieldName}});this.dispatchEvent(t)}showLoadingIndicator(){const e=new CustomEvent(S,{bubbles:true,composed:true,cancelable:true});this.dispatchEvent(e)}hideLoadingIndicator(){const e=new CustomEvent(D,{bubbles:true,composed:true,cancelable:true});this.dispatchEvent(e)}hide(){this.onHide()}onHide(){}show(){this.state.visible=true;this.fireEvent=true}get disabled(){return this.state.disabled}set disabled(e){const t=!!e;if(this.state.disabled!==t){this.state.disabled=t}}predupe(e,t){const s=this.getDuplicatesManager();if(s&&t&&t.forEach){t.forEach(t=>s.setRecordFieldEdited(e,t))}}get modeForDuplicatesManager(){return this.mode===s.RecordUiConstants.MODE_VIEW?s.RecordUiConstants.MODE_EDIT:this.mode}handleDuplicatesDetected(e){const t=e.detail;if(t&&t.hasDuplicateError){if(!this.isSaving){this.setErrors(t)}}else{this.resetPredupeErrors()}}setVisibilityChanges(e){this.onSetVisibilityChanges(e)}onSetVisibilityChanges(){}setErrors(e){this.onSetErrors(e)}onSetErrors(){}resetPredupeErrors(){if(this.errors.predupeError&&this.errors.predupeError.hasDuplicateError){this.resetErrors(false)}}resetErrors(){}hasPredupeErrors(e){return e.predupeError&&e.predupeError.potentialDuplicates&&e.predupeError.hasDuplicateError}hasErrors(e){if(e){const t=e.fieldLevelErrors&&e.fieldLevelErrors.length;const s=e.pageLevelErrors&&e.pageLevelErrors.length;const r=e.dedupeErrors&&e.dedupeErrors.length;const o=this.hasPredupeErrors(e);return t||s||e.collisionDetected||r||o}return false}get i18n(){return{SaveLabel:c.default,SaveAndNewLabel:l.default,CancelLabel:d.default,ErrorIconLabel:u.default}}shouldBypassDedupeCheck(){return this._nonBlockingDuplicateErrorSet}get isShowing(){return this.state.visible}getDuplicatesManager(){return this.template.querySelector(y)}getDuplicateErrorIcon(e){return e?{name:\"utility:error\",variant:\"error\"}:{name:\"utility:warning\",variant:\"warning\"}}}t.registerDecorators(O,{publicProps:{recordId:{config:0},recordTypeId:{config:0},showSaveAndNew:{config:0},objectApiName:{config:0},mode:{config:0},saveOptions:{config:0},optionType:{config:0},isSaving:{config:0},disabled:{config:3},isShowing:{config:1}},publicMethods:[\"hide\",\"show\",\"predupe\",\"setVisibilityChanges\",\"setErrors\",\"resetPredupeErrors\",\"shouldBypassDedupeCheck\"],track:{state:1,buttonVariantMap:1},fields:[\"fireEvent\",\"errors\",\"visibilityChanges\",\"_nonBlockingDuplicateErrorSet\"]});var I=t.registerComponent(O,{tmpl:f,sel:\"records-base-record-form-toolbar\",apiVersion:59});e.default=I;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"records-base-record-form-toolbar","descriptor":"markup://records:baseRecordFormToolbar","n":"records/baseRecordFormToolbar","ad":[["recordId",null,"G",false],["recordTypeId",null,"G",false],["showSaveAndNew",null,"G",false,false],["objectApiName",null,"G",false],["mode",null,"G",false],["saveOptions",null,"G",false,[]],["optionType",null,"G",false],["isSaving",null,"G",false,false],["disabled",null,"G",false],["isShowing",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://lst:relatedListQuickLinksContainer', \"lst/relatedListQuickLinksContainer\",[\"exports\",\"lwc\",\"lightning/helptext\",\"lst/stencilRelatedListQuickLinksContainer\",\"lst/relatedListQuickLinksGrid\",\"laf/progressiveContainer\",\"force/versionMarker\",\"lightning/uiObjectInfoApi\",\"laf/transformWire\",\"laf/pageCapability\",\"instrumentation/service\",\"@salesforce/label/RecordHomeCards.RelatedListQuickLinks\",\"@salesforce/label/RelatedListQuickLinks.Customize\",\"@salesforce/metric/RelatedList/RlqlContainer.RenderTime/ms\",\"instrumentation/metricsWrapper\",\"@salesforce/accessCheck/Records.isRRHVersionIndicatorEnabled\"],function(e,i,t,a,r,n,s,l,d,o,c,p,u,f,h,m){function g(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var k=g(t);var b=g(a);var C=g(r);var v=g(n);var L=g(s);var y=g(p);var w=g(u);var I=g(f);var Q=g(m);function R(e,i,t){var a=e?\"[\"+e+\"]\":\"\";return\".list\"+a+\" {margin-bottom: 'calc(-' + var(--lwc-varSpacingVerticalSmall) + ')';}.rlql-counts-loading-spinner\"+a+\"{position: relative;top: var(--lwc-spacingNone);left: var(--lwc-spacingNone);margin-left: var(--lwc-spacingMedium);margin-top: var(--lwc-spacingXSmall);}.message\"+a+\"{text-align: center;color: rgb(84, 105, 141);font-size: var(--lwc-fontSizeTextSmall);font-weight: var(--lwc-fontWeightBold);padding: var(--lwc-spacingMedium);}\"}var x=[R];const T=i.parseFragment`<div role=\"status\" class=\"rlql-counts-loading-spinner slds-spinner slds-spinner--brand slds-spinner_x-small${0}\"${2}><div class=\"slds-spinner__dot-a${0}\"${2}><\/div><div class=\"slds-spinner__dot-b${0}\"${2}><\/div><\/div>`;const _={\"slds-text-heading--small\":true};const j={\"slds-m-left_small\":true};const H={attrs:{slot:\"placeholder\"},key:7};const N={props:{tag:\"RLQL\",version:\"LWC\"},key:10};function M(e,i,t,a){const{gid:r,d:n,t:s,h:l,c:d,st:o,b:c,fr:p}=e;const{_m0:u}=a;return[l(\"article\",{className:i.computedCardClass,attrs:{\"aria-describedby\":r(\"rlql-headerLabel\")},key:0},[!i.hideHeader?l(\"div\",{className:i.computedCardHeaderClass,attrs:{id:r(\"rlql-header\")},key:1},[l(\"h2\",{classMap:_,attrs:{id:r(\"rlql-headerLabel\")},key:2},[s(n(i.i18n.RelatedListQuickLinks))]),d(\"lightning-helptext\",k.default,{classMap:j,props:{content:i.helpTextLabel},key:3}),i.loadingData?o(T(),5):null]):null,i.wiredComponentId.data?i.wiredComponentId.data.cid?d(\"laf-progressive-container\",v.default,{props:{cid:i.wiredComponentId.data.cid,signal:\"visibility-viewport\",maxDelay:\"5000\",delayMode:\"all-in-flight\"},key:6},[d(\"lst-stencil-related-list-quick-links-container\",b.default,H),d(\"lst-related-list-quick-links-grid\",C.default,{props:{flexipageComponentInstanceIdentifier:i.flexipageComponentInstanceIdentifier,recordId:i.recordId,objectApiName:i.objectApiName,objectInfo:i.wiredObjectInfo,truncateQuickLinks:i.truncateQuickLinks,hidePreviewOnHover:i.hidePreviewOnHover},key:8,on:{loading:u||(a._m0=c(i.handleLoading))}})]):null:null]),i.showRRHVersionIndicator?p(9,[d(\"force-version-marker\",L.default,N)],0):null]}var O=i.registerTemplate(M);M.stylesheets=[];if(x){M.stylesheets.push.apply(M.stylesheets,x)}M.stylesheetToken=\"lwc-3q35br04o9i\";M.legacyStylesheetToken=\"lst-relatedListQuickLinksContainer_relatedListQuickLinksContainer\";i.freezeTemplate(M);const A=c.percentileHistogram(I.default);const q=h.getMetrics(\"RelatedListQuickLinks.LWC\");class P extends(o.CapabilityMixin(i.LightningElement)){constructor(...e){super(...e);this.startTime=0;this.endTime=0;this.renderTimeCaptured=false;this.flexipageComponentInstanceIdentifier=void 0;this.recordId=void 0;this.objectApiName=void 0;this.hideHeader=false;this._truncateQuickLinks=false;this.hidePreviewOnHover=false;this.loadingData=false;this.wiredObjectInfo=void 0;this.wiredComponentId=void 0}set truncateQuickLinks(e){this._truncateQuickLinks=e}get truncateQuickLinks(){return this._truncateQuickLinks||this.hideHeader}refresh(){this[o.CapabilityMixin.GetRegisteredCapabilities](o.RefreshCapability).forEach(e=>e[o.RefreshCapability]())}connectedCallback(){this[o.CapabilityMixin.ExposeCapabilities]({[o.RefreshCapability]:this.refresh.bind(this)});this[o.CapabilityMixin.EnableListener](o.RefreshCapability);this.startTime=performance.now();q.incrementCounter(\"connectedCallback\",1,false,{})}disconnectedCallback(){this[o.CapabilityMixin.ConcealCapabilities]()}renderedCallback(){if(!this.renderTimeCaptured){this.endTime=performance.now();const e=this.endTime-this.startTime;if(e>=0){A.update(e);q.trackValue(\"relatedListQuickLinks\",e,false,{})}this.renderTimeCaptured=true}q.incrementCounter(\"relatedListQuickLinks\",1,false,{})}errorCallback(){q.incrementCounter(\"relatedListQuickLinks\",1,true,{})}handleLoading(e){e.stopPropagation();this.loadingData=e.detail}get i18n(){return{RelatedListQuickLinks:y.default}}get helpTextLabel(){if(this.wiredObjectInfo&&this.wiredObjectInfo.data){return`${w.default}`.replace(\"{0}\",`${this.wiredObjectInfo.data.labelPlural}`)}return\"\"}get computedCardHeaderClass(){if(this.hideHeader){return\"slds-card__header slds-grid slds-assistive-text\"}return\"slds-card__header slds-grid\"}get computedCardClass(){if(this.hideHeader){return\"slds-card\"}return\"slds-card slds-card_boundary\"}get showRRHVersionIndicator(){return Q.default}}i.registerDecorators(P,{publicProps:{flexipageComponentInstanceIdentifier:{config:0},recordId:{config:0},objectApiName:{config:0},hideHeader:{config:0},truncateQuickLinks:{config:3},hidePreviewOnHover:{config:0}},publicMethods:[\"refresh\"],wire:{wiredObjectInfo:{adapter:l.getObjectInfo,dynamic:[\"objectApiName\"],config:function(e){return{objectApiName:e.objectApiName}}},wiredComponentId:{adapter:d.generateComponentId,dynamic:[\"parentFieldApiName\",\"relatedListApiName\"],config:function(e){return{componentOverride:\"lwc-rlql\",parentFieldApiName:e.objectApiName,relatedListApiName:e.recordId}}}},fields:[\"startTime\",\"endTime\",\"renderTimeCaptured\",\"_truncateQuickLinks\",\"loadingData\"]});var $=i.registerComponent(P,{tmpl:O,sel:\"lst-related-list-quick-links-container\",apiVersion:59});e.default=$;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"lst-related-list-quick-links-container","descriptor":"markup://lst:relatedListQuickLinksContainer","n":"lst/relatedListQuickLinksContainer","ad":[["flexipageComponentInstanceIdentifier",null,"G",false],["recordId",null,"G",false],["objectApiName",null,"G",false],["hideHeader",null,"G",false,false],["truncateQuickLinks",null,"G",false],["hidePreviewOnHover",null,"G",false,false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://laf:transformWireVariants', \"laf/transformWireVariants\",[\"exports\",\"aura\",\"laf/transformWire\"],function(e,t,n){const r=\"GRID\";const i=\"ADVGRID\";const o=\"CARD\";const a=\"OVERRIDE_GROUP\";const c=\"NONE\";const s=\"SMALL\";const d=\"CollaborationGroupMemberRequest\";const f={GRID:r,ADVGRID:i,CARD:o,OVERRIDE_GROUP:a,NONE:c};function l(e,t,n){if(e){if(e===d){return a}if(t===s||n===o){return o}else if(n===r||n===i){return n}return r}return null}var u={PreviewTypes:f,computePreviewType:l};function p(){}function A(e){if(!e.configs||!Array.isArray(e.configs)||!e.configs.length){return}window.$A.getCallback(()=>{e.configs.forEach(e=>{const n=R(e);if(!n){const n=u.computePreviewType(e.relatedObjectApiName,e.flexipageRegionWidth,e.relatedListComponentOverride);const r=\"force:actionsRequest\";const i={actionsContext:{recordId:e.parentRecordId,context:\"RELATED_LIST\",entityApiName:e.relatedObjectApiName,record:null,listNameOrId:e.relatedListApiName,section:undefined,inContextOfComponent:n!==u.PreviewTypes.ADVGRID?\"force:relatedListCardDesktop\":undefined,showMassActions:true,inContextOfRecordId:undefined,size:0,width:undefined,maxWidth:-1,actionTypes:[],bulkedAction:false,actionNames:[],enableActionsConfiguration:false},skipCache:undefined,callback:()=>{}};t.dispatchGlobalEvent(r,i)}})})()}function R(e){const t=[\"Account\",\"Contact\",\"Opportunity\",\"Case\",\"Lead\"],n=t.includes(e.relatedObjectApiName),r=n&&e.delayFetchingEnabled,i=e.relatedObjectApiName.includes(\"__c\")&&!e.rlHeaderActionsDisabled,o=r||i;return o}const m=n.unstable_createTransformWireAdapter(p);const D=n.unstable_createTransformWireAdapter(A);e.prefetchActionsData=m;e.prefetchActionsDataBatch=D;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"laf-transform-wire-variants","descriptor":"markup://laf:transformWireVariants","n":"laf/transformWireVariants"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://lightning:messageContextConsumer', \"lightning/messageContextConsumer\",[\"exports\",\"lwc\",\"lightning/messageService\"],function(e,t,s){const n=[];function o(e,t,s,o){return n}var r=t.registerTemplate(o);o.stylesheets=[];o.stylesheetToken=\"lwc-6tin2a9jbuf\";o.legacyStylesheetToken=\"lightning-messageContextConsumer_messageContextConsumer\";t.freezeTemplate(o);class g extends t.LightningElement{constructor(...e){super(...e);this.messageContext=void 0}getMessageContext(){return this.messageContext}}t.registerDecorators(g,{publicMethods:[\"getMessageContext\"],wire:{messageContext:{adapter:s.MessageContext,config:function(e){return{}}}}});var i=t.registerComponent(g,{tmpl:r,sel:\"lightning-message-context-consumer\",apiVersion:59});e.default=i;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"lightning-message-context-consumer","descriptor":"markup://lightning:messageContextConsumer","n":"lightning/messageContextConsumer"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://runtime_thp_learning:sidePanelApi', \"runtime_thp_learning/sidePanelApi\",[\"exports\",\"runtime_thp_learning/sidePanelApiPrivate\"],function(e,t){Object.defineProperty(e,\"close\",{enumerable:true,get:function(){return t.close}});Object.defineProperty(e,\"getState\",{enumerable:true,get:function(){return t.getState}});Object.defineProperty(e,\"isEnabled\",{enumerable:true,get:function(){return t.isEnabled}});Object.defineProperty(e,\"open\",{enumerable:true,get:function(){return t.open}});Object.defineProperty(e,\"subscribeToStateChange\",{enumerable:true,get:function(){return t.subscribeToStateChange}});Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"runtime_thp_learning-side-panel-api","descriptor":"markup://runtime_thp_learning:sidePanelApi","n":"runtime_thp_learning/sidePanelApi"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://laf:pageCapability', \"laf/pageCapability\",[\"exports\"],function(e){const t=new Map;function i(e,i){if(t.has(e)){throw new Error(`Capability with same identity registered: ${e}`)}if(typeof i!==\"function\"){throw new TypeError(\"assertionFunction must be a function\")}t.set(e,i)}function a(){return t.entries()}function s(e){const t=a();for(const[i,a]of t){if(i in e){a(e[i])}}}const n=\"laf__registerpagecapabilities\";class l extends Event{constructor(e,t){super(n,{bubbles:true,composed:true,cancelable:false});s(e);Object.defineProperties(this,{capabilities:{value:e,writable:false},callback:{value:t,writable:false},detail:{value:{capabilities:e,callback:t},writable:false}})}}function o(e){b(e,\"function\")}function r(e){b(e,\"boolean\")}function c(e){b(e,\"string\")}function b(e,t){if(typeof e!==t){throw new TypeError(`value must be a ${t}`)}}const p=Symbol(\"refresh\");i(p,o);const f=Symbol(\"editPage\");i(f,e=>{const t=Object.keys(e);for(let i=0,a=t.length;i<a;i++){const a=t[i];const s=e[a];switch(a){case\"editable\":r(s);break;case\"editPageLabel\":c(s);break;case\"config\":break;default:throw new TypeError(`Invalid property: '${a}'`)}}});const u=Symbol(\"GetRegisteredCapabilities\");const h=Symbol(\"ExposeCapabilities\");const d=Symbol(\"EnableListener\");const y=Symbol(\"ConcealCapabilities\");const C=Symbol(\"DisconnectCallback\");const g=e=>class extends e{constructor(){super();Object.defineProperties(this,{elementsWithCapabilities:{value:new Map,writable:false},trackedCapabilities:{value:new Set,writable:false}});this.template.addEventListener(n,e=>{e.stopPropagation();const{capabilities:t,callback:i,target:a}=e;const s=Object.getOwnPropertySymbols(t);for(let e=0;e<s.length;e++){const n=s[e];if(this.trackedCapabilities.has(n)){this.elementsWithCapabilities.set(a,t);if(i&&typeof i==\"function\"){i(()=>{this.elementsWithCapabilities.delete(a)})}break}}})}[h](e){this[y]();const t=new l(e,e=>{this[C]=e});this.dispatchEvent(t)}[y](){if(this[C]){this[C]()}}[d](e){if(!this.trackedCapabilities.has(e)){this.trackedCapabilities.add(e)}}[u](e){const t=[];this.elementsWithCapabilities.forEach((i,a)=>{if(i[e]){const s={element:a};s[e]=i[e];t.push(s)}});return t}};g.ExposeCapabilities=h;g.EnableListener=d;g.ConcealCapabilities=y;g.GetRegisteredCapabilities=u;e.CapabilityMixin=g;e.EditablePageCapability=f;e.RefreshCapability=p;e.RegisterPageCapabilitiesEvent=l;e.RegisterPageCapabilitiesEventName=n;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"laf-page-capability","descriptor":"markup://laf:pageCapability","n":"laf/pageCapability"},{"xs":"P","co":"function() { $A.componentService.addModule('markup://runtime_sales_forecasting:forecastingChartUtils', \"runtime_sales_forecasting/forecastingChartUtils\",[\"exports\",\"@salesforce/label/ForecastingCharts.currentForecastChangesTabTitle\",\"@salesforce/label/ForecastingCharts.historicalTrendsTabTitle\",\"@salesforce/label/Forecasting_Tab.before_adjustment\",\"@salesforce/label/ForecastingCharts.withAdjustments\",\"@salesforce/label/udd_ForecastingItem.Period\",\"@salesforce/label/udd_ForecastingItem.ForecastCategoryName\",\"@salesforce/label/ForecastingCharts.periodGroup\",\"@salesforce/label/ForecastingCharts.past\",\"@salesforce/label/ForecastingCharts.today\",\"@salesforce/label/ForecastingCharts.future\",\"@salesforce/label/ForecastingItemCategories.OPEN_PIPELINE\",\"@salesforce/label/udd_ForecastingItem.ForecastQuantity\",\"@salesforce/label/udd_ForecastingItem.ForecastAmount\",\"@salesforce/label/udd_ForecastingItem.QuantityWithoutAdjustments\",\"@salesforce/label/udd_ForecastingItem.AmountWithoutAdjustments\"],function(e,t,a,n,s,r,i,o,l,u,c,d,f,m,b,p){function A(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var P=A(t);var g=A(a);var _=A(n);var O=A(s);var T=A(r);var E=A(i);var C=A(o);var I=A(l);var h=A(u);var y=A(c);var S=A(d);var F=A(f);var v=A(m);var N=A(b);var j=A(p);const L={forecastChanges:{value:\"CURRENT_FORECAST_CHANGES\",title:P.default},historicalTrends:{value:\"HISTORICAL_TRENDS\",title:g.default}};const R={amount:\"amount\",quantity:\"quantity\"};const M={withAdjustments:{label:O.default,value:\"withAdjustments\"},withoutAdjustments:{label:_.default,value:\"withoutAdjustments\"}};const w={byWeek:\"byWeek\"};const Q={today:\"TODAY\",past:\"PAST\",future:\"FUTURE\"};const D={commitVsQuota:\"COMMIT_VS_QUOTA\",commitForecast:\"COMMIT_FORECAST\",gapToQuota:\"GAP_TO_QUOTA\",einsteinPrediction:\"EINSTEIN_PREDICTION\",einsteinGapToQuota:\"EINSTEIN_GAP_TO_QUOTA\",closedWonForecast:\"CLOSED_WON_FORECAST\",pipeCoverage:\"PIPE_COVERAGE\",quotaAttainment:\"QUOTA_ATTAINMENT\",closedWonHt:\"CLOSED_WON_HT\",openPipeline:\"OPEN_PIPELINE\",comparisonPoint:\"COMPARISON_POINT\"};const U={currency:\"currency\",number:\"number\",percent:\"percent\"};const k={withAdjustments:\"openPipelineAdjusted\",withoutAdjustments:\"openPipelineActual\"};const G={MONTHLY_VIEW:13};function W(e){const t={column:\"periodId\",type:\"dimension\",label:T.default};if(e){t.valueLabels={};Object.keys(e).forEach(a=>{t.valueLabels[a]=e[a].shortLabel||e[a].fullyQualifiedLabel})}return t}function H(e){const t={column:\"forecastingItemCategory\",type:\"dimension\",label:E.default};if(e){const a={};Object.keys(e).forEach(t=>{if(e[t].order){a[e[t].order]=e[t].label}});t.valueLabels=a}return t}function x(e,t=false){const a={column:\"periodGroup\",type:\"dimension\",label:C.default};if(e){a.valueLabels={};const n=Object.keys(e).find(t=>e[t].isPastPeriodStart);const s=Object.keys(e).find(t=>e[t].isPastPeriodEnd);let r=I.default;if(n!==undefined&&s!==undefined){r=e[n].fullyQualifiedLabel+(n===s?\"\":\" - \"+e[s].fullyQualifiedLabel)}a.valueLabels[Q.past]=r;const i=Object.keys(e).find(t=>e[t].isCurrentPeriod);a.valueLabels[Q.today]=!t&&i!==undefined?e[i].fullyQualifiedLabel:h.default;if(t){const t=Object.keys(e).find(t=>e[t].isFuturePeriodStart);const n=Object.keys(e).find(t=>e[t].isFuturePeriodEnd);let s=y.default;if(t!==undefined&&n!==undefined){s=e[t].fullyQualifiedLabel+(t===n?\"\":\" - \"+e[n].fullyQualifiedLabel)}a.valueLabels[Q.future]=s}}return a}function Y(e,t,a){return[{column:e.openPipeline.withAdjustments,type:\"measure\",label:(t&&t.OpenPipeline?t.OpenPipeline.label:S.default)+\" \"+O.default,format:a},{column:e.openPipeline.withoutAdjustments,type:\"measure\",label:t&&t.OpenPipeline?t.OpenPipeline.label:S.default,format:a}]}function q(e,t,a){if(t){const n=V(e,a);let s=t.formatString;if(s.indexOf(\"¤\")>-1){s=s.replaceAll(\"¤\",t.symbol)}else{s=t.currencyIsoCode+\" \"+s}n[0]=s;return n}return undefined}function V(e,t){if(t){const a=[t.formatString,1,{delimiters:{thousands:t.groupingSeparator,decimal:t.decimalSeparator}}];if(e.scale){a[2].compactDecimalDigits=e.scale}return a}return undefined}function B(e,t,a){return e&&e.isAmount?q(e,t,a):V(e,a)}function K(e){if(e){return[e.percentFormatString,1,{delimiters:{thousands:e.groupingSeparator,decimal:e.decimalSeparator},compactDecimalDigits:1}]}return undefined}function z(e){return{column:[e===M.withAdjustments.value?k.withAdjustments:k.withoutAdjustments],mark:\"dot\",color:\"#8A023E\",aggregationLevel:1,axis:\"measureAxis1\"}}function J(e,t,a,n){const s={mark:\"bar\",axis:\"measureAxis1\",valueType:n?\"compactNumber\":\"none\"};const r=a?R.amount:R.quantity;s.column=[e[r][n?t:t+\"CumulativeBarSize\"]];return s}function X(e,t){let a=\"\";if(t&&t.isAmount){a=e===M.withAdjustments.value?v.default:j.default}else if(t&&!t.isAmount){a=e===M.withAdjustments.value?F.default:N.default}return a}e.ADJUSTMENTS_TYPES=M;e.CHART_TABS=L;e.KPI_API_NAMES=D;e.KPI_SIGNAL_FORMATS=U;e.MEASURE_COLUMNS_OPEN_PIPELINE=k;e.PERIODS_IN_HT_CHART=G;e.PERIOD_GROUPS=Q;e.PERIOD_TYPES=w;e.SOURCE_FIELD_TYPES=R;e.getChartConfigForecastPlot=J;e.getChartConfigOpenPipelinePlot=z;e.getChartRowsMetadataForecastingItemCategory=H;e.getChartRowsMetadataOpenPipeline=Y;e.getChartRowsMetadataPeriodGroup=x;e.getChartRowsMetadataPeriodId=W;e.getForecastMeasureAxisTitle=X;e.getMeasureFormat=B;e.getPercentFormat=K;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"runtime_sales_forecasting-forecasting-chart-utils","descriptor":"markup://runtime_sales_forecasting:forecastingChartUtils","n":"runtime_sales_forecasting/forecastingChartUtils"},{"xs":"P","co":"function() { $A.componentService.addModule('markup://navex:pageHostModalWrapper', \"navex/pageHostModalWrapper\",[\"exports\",\"lwc\",\"navex/recordActionModalContent\",\"navex/quickActionModalContent\",\"navex/stackedNavigationLib\"],function(e,i,t,a,s){function o(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var n=o(t);var c=o(a);function r(e,i,t,a){const{gid:s,c:o}=e;return[i.isRecordAction?o(\"navex-record-action-modal-content\",n.default,{props:{id:s(i.id),modalDensity:i.modalDensity,addressability:i.addressability,page:i.page},key:0}):null,i.isQuickAction?o(\"navex-quick-action-modal-content\",c.default,{props:{id:s(i.id),modalDensity:i.modalDensity,addressability:i.addressability,page:i.page},key:1}):null]}var d=i.registerTemplate(r);r.stylesheets=[];r.stylesheetToken=\"lwc-2j2i7vthv62\";r.legacyStylesheetToken=\"navex-pageHostModalWrapper_pageHostModalWrapper\";i.freezeTemplate(r);const{recordActionMatcher:l,quickActionMatcher:p}=s.PageReferenceMatchers;class u extends i.LightningElement{constructor(...e){super(...e);this.id=void 0;this.modalDensity=void 0;this.addressability=void 0;this.page=void 0;this.active=false;this.isRecordAction=false;this.isQuickAction=false}connectedCallback(){if(s.matches(this.page,l)){this.isRecordAction=true;this.isQuickAction=false}else if(s.matches(this.page,p)){this.isQuickAction=true;this.isRecordAction=false}else{this.isRecordAction=false;this.isQuickAction=false;throw Error(\"Unsupported Modal Type\")}}}i.registerDecorators(u,{publicProps:{id:{config:0},modalDensity:{config:0},addressability:{config:0},page:{config:0},active:{config:0}},track:{isRecordAction:1,isQuickAction:1}});var f=i.registerComponent(u,{tmpl:d,sel:\"navex-page-host-modal-wrapper\",apiVersion:59});e.default=f;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"navex-page-host-modal-wrapper","descriptor":"markup://navex:pageHostModalWrapper","n":"navex/pageHostModalWrapper","ad":[["id",null,"G",false],["modalDensity",null,"G",false],["addressability",null,"G",false],["page",null,"G",false],["active",null,"G",false,false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://interop:serviceEinsteinllmApi', \"interop/serviceEinsteinllmApi\",[\"exports\",\"force/ldsAdaptersServiceEinsteinllm\"],function(e,r){Object.defineProperty(e,\"createFeedback\",{enumerable:true,get:function(){return r.createFeedback}});Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"interop-service-einsteinllm-api","descriptor":"markup://interop:serviceEinsteinllmApi","n":"interop/serviceEinsteinllmApi"},{"xs":"P","co":"function() { $A.componentService.addModule('markup://support:quickCadencePromptFooter', \"support/quickCadencePromptFooter\",[\"exports\",\"lwc\",\"lightning/button\",\"@salesforce/label/QuickCadencePrompt.CreateQuickCadenceButton\",\"@salesforce/label/QuickCadencePrompt.SkipButton\",\"@salesforce/label/QuickCadencePrompt.ClosingInFormat\",\"instrumentation/service\"],function(e,t,c,s,n,a,o){function i(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var l=i(c);var r=i(s);var u=i(n);var d=i(a);const p={classMap:{\"slds-text-body_small\":true},attrs:{role:\"status\"},key:0};const k={classMap:{\"slds-m-left_medium\":true},key:1};const b={classMap:{\"slds-m-left_medium\":true},key:3};function m(e,t,c,s){const{d:n,t:a,h:o,b:i,c:r}=e;const{_m0:u,_m1:d}=s;return[o(\"span\",p,[a(n(t.closingStatement))]),o(\"span\",k,[r(\"lightning-button\",l.default,{props:{label:t.labels.skip,title:t.labels.skip},key:2,on:{click:u||(s._m0=i(t.handleSkipQuickCadence))}})]),o(\"span\",b,[r(\"lightning-button\",l.default,{props:{variant:\"brand\",label:t.labels.createQuickCadence,title:t.labels.createQuickCadence},key:4,on:{click:d||(s._m1=i(t.handleCreateQuickCadence))}})])]}var h=t.registerTemplate(m);m.stylesheets=[];m.stylesheetToken=\"lwc-349dl942028\";m.legacyStylesheetToken=\"support-quickCadencePromptFooter_quickCadencePromptFooter\";t.freezeTemplate(m);const f={EMAIL:\"email\",CALL:\"call\"};class C extends t.LightningElement{constructor(...e){super(...e);this.labels={createQuickCadence:r.default,skip:u.default};this._sourceObj=void 0;this.countdown=void 0}get closingStatement(){return this.countdown>0?d.default.replace(\"{0}\",this.countdown):\"\"}get sourceObj(){return this._sourceObj||f.EMAIL}set sourceObj(e){this._sourceObj=Object.values(f).includes(e)?e:null}handleCreateQuickCadence(){this.dispatchEvent(new CustomEvent(\"quickcadencecreate\",{bubbles:true,composed:true}));o.interaction(\"create_quick_cadence\",this._sourceObj,{},\"synthetic-click\",\"user\")}handleSkipQuickCadence(){this.dispatchEvent(new CustomEvent(\"quickcadenceskip\",{bubbles:true,composed:true}));o.interaction(\"quick_cadence_skip\",this._sourceObj,{},\"synthetic-click\",\"user\")}}t.registerDecorators(C,{publicProps:{countdown:{config:0},closingStatement:{config:1},sourceObj:{config:3}},fields:[\"labels\",\"_sourceObj\"]});var g=t.registerComponent(C,{tmpl:h,sel:\"support-quick-cadence-prompt-footer\",apiVersion:59});e.default=g;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"support-quick-cadence-prompt-footer","descriptor":"markup://support:quickCadencePromptFooter","n":"support/quickCadencePromptFooter","ad":[["countdown",null,"G",false],["closingStatement",null,"G",false],["sourceObj",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://records:mobileFormInfo', \"records/mobileFormInfo\",[\"exports\",\"lwc\",\"force/recordVisibilityChangesNotice\",\"@salesforce/label/DynamicFormsFieldVisibility.FieldsChangedHeader\"],function(e,t,s,o){function i(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var r=i(s);var n=i(o);function l(e,t,s){var o=e?\"[\"+e+\"]\":\"\";return\".info-header\"+o+\" {background-color: var(--lwc-paletteNeutral50, #747474);color: var(--lwc-colorTextInverse, rgb(255, 255, 255));}.info-button\"+o+\" {width: 100%;text-align: left;}.chevron-nudge\"+o+\" {margin-top: -2px;}.info-section\"+o+\" .slds-accordion__summary-action-icon\"+o+\" {webkit-transform: rotate(-90deg);transform: rotate(-90deg);}.info-section.slds-is-open\"+o+\" .slds-accordion__summary-action-icon\"+o+\" {webkit-transform: rotate(0deg);transform: rotate(0deg);}\"}var a=[l];const c={classMap:{\"slds-accordion\":true},key:0};const d={classMap:{\"info-section\":true},key:1};const u={classMap:{\"slds-accordion__summary-heading\":true,\"info-header\":true},key:2};const f={\"slds-button_reset\":true,\"info-button\":true,\"slds-m-horizontal_medium\":true,\"slds-m-vertical_small\":true};const m={classMap:{\"slds-accordion__summary-action-icon\":true,\"slds-button__icon\":true,\"slds-button__icon_left\":true,\"chevron-nudge\":true,\"slds-icon_x-small\":true},attrs:{\"aria-hidden\":\"true\"},key:4,svg:true};const g={classMap:{\"slds-accordion__summary-content\":true,\"slds-truncate\":true},key:6};const h={\"slds-accordion__content\":true};const y={classMap:{\"slds-text-align_left\":true,\"slds-p-horizontal_xx-small\":true},key:8};function p(e,s,o,i){const{gid:n,b:l,h:a,d:p,t:v,c:_}=e;const{_m0:b}=i;return[a(\"div\",c,[a(\"section\",d,[a(\"h2\",u,[a(\"button\",{classMap:f,attrs:{\"aria-controls\":n(\"infos\"),title:s.headerContent},key:3,on:{click:b||(i._m0=l(s.toggleContents))}},[a(\"svg\",m,[a(\"use\",{attrs:{\"xlink:href\":t.sanitizeAttribute(\"use\",\"http://www.w3.org/2000/svg\",\"xlink:href\",\"/assets/icons/utility-sprite/svg/symbols.svg#switch\")},key:5,svg:true})]),a(\"span\",g,[v(p(s.headerContent))])])]),a(\"div\",{classMap:h,attrs:{id:n(\"infos\")},key:7},[a(\"div\",y,[_(\"force-record-visibility-changes-notice\",r.default,{props:{fieldsAdded:s.visibilityChanges.fieldsAdded,fieldsRemoved:s.visibilityChanges.fieldsRemoved,handleFieldClick:s.handleFieldClick,listFormat:\"COMMA_DELIMITED\"},key:9})])])])])]}var v=t.registerTemplate(p);p.stylesheets=[];if(a){p.stylesheets.push.apply(p.stylesheets,a)}p.stylesheetToken=\"lwc-7vg6ua1asa2\";p.legacyStylesheetToken=\"records-mobileFormInfo_mobileFormInfo\";t.freezeTemplate(p);class _ extends t.LightningElement{constructor(...e){super(...e);this.visibilityChanges=void 0;this.handleFieldClick=void 0}get headerContent(){return n.default}toggleContents(){const e=this.template.querySelector(\".info-section\");e.classList.toggle(\"slds-is-open\")}}t.registerDecorators(_,{publicProps:{visibilityChanges:{config:0},handleFieldClick:{config:0}}});var b=t.registerComponent(_,{tmpl:v,sel:\"records-mobile-form-info\",apiVersion:59});e.default=b;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"records-mobile-form-info","descriptor":"markup://records:mobileFormInfo","n":"records/mobileFormInfo","ad":[["visibilityChanges",null,"G",false],["handleFieldClick",null,"G",false]]},{"xs":"P","co":"function() { $A.componentService.addModule('markup://one:appNavBarMenuItem', \"one/appNavBarMenuItem\",[\"exports\",\"lwc\",\"lightning/icon\",\"one/utils\",\"lightning/utils\",\"@salesforce/label/GlobalNavigation.TabNotSaved\"],function(e,t,s,a,n,l){function i(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var c=i(s);var o=i(l);function r(e,t,s){var a=e?\"[\"+e+\"]\":\"\";return\"one-app-nav-bar-menu-item\"+a+\" {display: block;}\"}var d=[r];const u={classMap:{\"slds-truncate\":true},key:1};const h={\"slds-indicator_unsaved\":true,\"slds-p-right_xx-small\":true};const p={key:4};const m={\"slds-icon-text-default\":true,\"slds-m-left--small\":true,\"slds-shrink-none\":true};function f(e,t,s,a){const{b:n,c:l,t:i,h:o,d:r}=e;const{_m0:d,_m1:f,_m2:g}=a;return[o(\"a\",{className:t.anchorClass,attrs:{href:t.url,role:t.role,tabindex:\"-1\",\"aria-checked\":t.checked,\"aria-disabled\":t.disabled,draggable:\"false\"},key:0,on:{click:d||(a._m0=n(t.select)),keydown:f||(a._m1=n(t.handleKeydown)),blur:g||(a._m2=n(t.handleBlur))}},[o(\"span\",u,[t.computedLeftIconName?l(\"lightning-icon\",c.default,{className:t.leftIconClassNames,props:{iconName:t.computedLeftIconName,size:\"x-small\"},key:2}):null,t.unsaved?o(\"abbr\",{classMap:h,attrs:{title:t.i18n.unsaved},key:3},[i(\"*\")]):null,o(\"span\",p,[i(r(t.label))])]),t.iconName?l(\"lightning-icon\",c.default,{classMap:m,props:{iconName:t.iconName,size:\"x-small\"},key:5}):null])]}var g=t.registerTemplate(f);f.stylesheets=[];if(d){f.stylesheets.push.apply(f.stylesheets,d)}f.stylesheetToken=\"lwc-10l86gl0bht\";f.legacyStylesheetToken=\"one-appNavBarMenuItem_appNavBarMenuItem\";t.freezeTemplate(f);const b={unsaved:o.default};const v={tab:9,enter:13,escape:27,space:32,end:35,home:36,left:37,up:38,right:39,down:40};class k extends t.LightningElement{constructor(...e){super(...e);this.url=\"javascript:void(0)\";this.value=void 0;this.disabled=void 0;this.label=void 0;this.iconName=void 0;this.leftIconName=void 0;this.checked=void 0;this.actionId=void 0;this.anchorClass=void 0;this.unsaved=void 0;this.displayEntityIcon=void 0}connectedCallback(){this.classList.add(\"slds-dropdown__item\")}get i18n(){return b}get role(){return this.checked==null?\"menuitem\":\"menuitemcheckbox\"}get classNames(){return n.classSet({\"slds-dropdown__item\":true,\"slds-is-selected\":this.checked===\"true\"}).toString()}get leftIconClassNames(){return n.classSet({\"slds-icon-text-default\":this.displayEntityIcon==null,\"slds-m-right--x-small\":true,\"slds-shrink-none\":true,\"slds-icon--selected\":this.checked!=null}).toString()}get computedLeftIconName(){return this.checked==null?this.leftIconName:\"utility:check\"}handleBlur(e){this.dispatchEvent(new CustomEvent(\"blur\",{bubbles:true,composed:true,cancelable:true,detail:{relatedTarget:e.relatedTarget}}))}handleKeydown(e){switch(e.keyCode){case v.enter:case v.space:this.select(e,true);break;case v.escape:case v.up:case v.down:case v.tab:case v.end:case v.home:break;default:e.preventDefault();e.stopPropagation();break}}select(e,t){if(!this.disabled&&(t===true||a.isPureLeftClick(e))){e.preventDefault();e.stopPropagation();this.dispatchEvent(new CustomEvent(\"select\",{bubbles:true,composed:true,cancelable:true,detail:{actionId:this.actionId,customId:this.value}}))}}focus(){this.template.querySelector(\"a\").focus()}}t.registerDecorators(k,{publicProps:{url:{config:0},value:{config:0},disabled:{config:0},label:{config:0},iconName:{config:0},leftIconName:{config:0},checked:{config:0},actionId:{config:0},anchorClass:{config:0},unsaved:{config:0},displayEntityIcon:{config:0}},publicMethods:[\"focus\"]});var y=t.registerComponent(k,{tmpl:g,sel:\"one-app-nav-bar-menu-item\",apiVersion:59});e.default=y;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"one-app-nav-bar-menu-item","descriptor":"markup://one:appNavBarMenuItem","n":"one/appNavBarMenuItem","ad":[["url",null,"G",false,"javascript:void(0)"],["value",null,"G",false],["disabled",null,"G",false],["label",null,"G",false],["iconName",null,"G",false],["leftIconName",null,"G",false],["checked",null,"G",false],["actionId",null,"G",false],["anchorClass",null,"G",false],["unsaved",null,"G",false],["displayEntityIcon",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://force:messageServiceWindowBridge', \"force/messageServiceWindowBridge\",[\"exports\",\"lightning/messageServiceInternal\"],function(e,s){const n=\"force-messageServiceWindowBridge/broadcastMessage\";const r=s.createMessageContext();const a=new Map;const t=new Map;function i(e,i){if(!e){throw new Error(\"[messageServiceWindowBridge:registerMessenger] missing required param: windowMessenger\")}if(!a.has(e)){a.set(e,i);e.addOnShutdown(()=>{a.delete(e)});e.addMessageHandler(n,n=>{const a=JSON.parse(n);const{name:i,namespace:o,message:c,publisherContextualState:d}=a;g(a,e);const m=t.get(o.toLowerCase()+\"/\"+i);if(m){const e={[s.INTERNAL_OPTIONS]:{skipSameContext:true,contextualState:d}};s.publish(r,m,c,e)}})}}function o(e,n){if(!e){throw new Error(\"[messageServiceWindowBridge:registerMessageChannel] missing required param: messageChannel\")}if(!n){throw new Error(\"[messageServiceWindowBridge:registerMessageChannel] missing required param: messageChannelMetadata\")}const{namespace:a,apiName:i,isExposed:o}=n;const c=i;const d=a.toLowerCase()+\"/\"+c;if(!t.has(d)){t.set(d,e);s.subscribe(r,e,(e,{publisherContextualState:s})=>{g({namespace:a,name:c,message:e,isExposed:o,publisherContextualState:s})},{scope:s.APPLICATION_SCOPE,[s.INTERNAL_OPTIONS]:{enhancedArgs:true}})}}function g(e,s){a.forEach((r,a)=>{if(a._connection&&(!s||s.getId()!==a.getId())){if(r&&r.exposedOnly&&!e.isExposed){return}a.sendMessage(n,JSON.stringify(e))}})}e.registerMessageChannel=o;e.registerMessenger=i;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"force-message-service-window-bridge","descriptor":"markup://force:messageServiceWindowBridge","n":"force/messageServiceWindowBridge"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://one:eventSubscriptionService', \"one/eventSubscriptionService\",[\"exports\"],function(e){const n={};function t(e,n,t){const r=o(e);if(n&&t&&typeof t===\"function\"){r.set(n,t)}}function r(e,t){const r=n[e];if(!r||!t){return}r.delete(t);if(r.size===0){u(e)}}function i(e,t){if(!n[e]){return}const r=o(e);r.forEach(e=>{e(t)})}function o(e){if(!e){throw new Error(\"You must pass in an event to track\")}if(!n[e]){n[e]=new Map}return n[e]}function u(e){if(!n[e]){return}delete n[e]}var f={subscribeToEvent:t,unsubscribeFromEvent:r,notifySubscribers:i};e.default=f;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"one-event-subscription-service","descriptor":"markup://one:eventSubscriptionService","n":"one/eventSubscriptionService"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://laf:ppr', \"laf/ppr\",[\"exports\",\"lwc\",\"laf/adgResolver\",\"force/shared\",\"laf/pprInternal\"],function(e,t,i,n,r){const{hasOwnProperty:o}=Object.prototype;const s={onChange:(e,t,i)=>{if(typeof e!==\"function\"){throw new Error(\"dataCallback argument must be a function\")}e(i)},defaultValue:undefined};const l=(e={})=>{const i=new WeakMap;e=Object.assign({},s,e);function n(){return{data:e.defaultValue,error:undefined}}function r(e){let t=i.get(e);if(t===undefined){t={consumers:[],value:n()};i.set(e,t)}return t}class l{constructor(e){this._callback=void 0;this.consumerConfig=void 0;this.providerValue=void 0;this.previousConsumerFinalValue=void 0;this.isContextProviderPresent=void 0;this.configDataCallback=e=>{if(e!==this.previousConsumerFinalValue){this._callback({data:e,error:undefined});this.previousConsumerFinalValue=e}};this._callback=e}update(t,i){this.consumerConfig=t;if(i){if(!o.call(i,\"value\")){throw new Error(\"Invalid context provided\")}this.providerValue=i.value;e.onChange(this.configDataCallback,this.consumerConfig,this.providerValue,this.previousConsumerFinalValue);this.isContextProviderPresent=true}else{e.onChange(this.configDataCallback,this.consumerConfig,this.providerValueproviderValue,this.previousConsumerFinalValue)}}connect(){if(this.isContextProviderPresent===undefined){const e=n();this._callback(e)}}disconnect(){this.isContextProviderPresent=undefined}}l.contextSchema={value:\"required\"};t.registerDecorators(l,{fields:[\"_callback\",\"consumerConfig\",\"providerValue\",\"previousConsumerFinalValue\",\"isContextProviderPresent\",\"configDataCallback\"]});const a=t.createContextProvider(l);function c(e){a(e,{consumerConnectedCallback(t){const i=r(e);i.consumers.push(t);t.provide({value:i.value})},consumerDisconnectedCallback(t){const i=r(e);const n=i.consumers.indexOf(t);if(n>-1){i.consumers.splice(n,1)}}});let t;return i=>{if(t===undefined){t=r(e)}t.value=i;t.consumers.forEach(e=>e.provide({value:i}))}}return{ContextAdapter:l,installProvider:c}};const a={onChange:(e,t={},i,n)=>{const{cid:r}=t;if(r&&i&&i.getState){const t=i.getState(r);if(t&&!n){e(t)}}},defaultValue:false};const{ContextAdapter:c,installProvider:d}=l(a);i.unstable_registerAdapter(c,\"ProgressiveContext\",false);const u=e=>typeof e===\"string\"&&e.length>0;class h{constructor(e){this.collection={};if(typeof e!==\"function\"){throw new TypeError(\"The emitFunction parameter must be a function.\")}this.emitFunction=e}publishState(e,t){if(!u(e)){throw new Error(\"The componentId parameter must be a non-empty string.\")}if(typeof t!==\"boolean\"){throw new TypeError(\"The state parameter must be a boolean.\")}const i=this.collection[e];if(i||i===t){return}this.collection[e]=t;this.emitFunction(this)}getState(e){if(!u(e)){throw new Error(\"The componentId parameter must be a non-empty string.\")}return!!this.collection[e]}}t.registerDecorators(h,{fields:[\"collection\"]});function f(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,n)}return i}function p(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?f(Object(i),!0).forEach(function(t){g(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):f(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function g(e,t,i){t=v(t);if(t in e){Object.defineProperty(e,t,{value:i,enumerable:true,configurable:true,writable:true})}else{e[t]=i}return e}function v(e){var t=m(e,\"string\");return typeof t===\"symbol\"?t:String(t)}function m(e,t){if(typeof e!==\"object\"||e===null)return e;var i=e[Symbol.toPrimitive];if(i!==undefined){var n=i.call(e,t||\"default\");if(typeof n!==\"object\")return n;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(t===\"string\"?String:Number)(e)}const b=e=>{const t={};for(const[i,n]of Object.entries(e)){if(typeof n!==\"function\"){t[n]=i}}return t};const w=(e,t,i)=>{if(!e){return null}const n=i[e];if(!n){return null}return t[n]};const y={Connected:\"connected\",VisibilityViewport:\"visibility-viewport\"};const C={ComponentMismatch:\"component_mismatch_error\"};const E=b(y);(()=>{y.fromString=e=>w(e,y,E);Object.freeze(y)})();const P={None:\"none\",Immediate:\"immediate\",StartInFlight:\"start-in-flight\",AllInFlight:\"all-in-flight\",Resolved:\"resolved\"};const S=b(P);(()=>{P.fromString=e=>w(e,P,S);Object.freeze(y)})();const R=p({First:\"first\",Last:\"last\"},y);const _=b(R);(()=>{R.fromString=e=>w(e,R,_);Object.freeze(R)})();const T=e=>typeof e===\"string\"&&e.length>0;class F{constructor(){this.collection={};this.queue={}}publishSignal(e,t){if(!T(e)){throw new Error(\"The componentId parameter must be a non-empty string.\")}if(!t){throw new Error(\"The state parameter must be defined\")}const i=y.fromString(t.signalMode);const n=y.fromString(t.type);if(!i){throw new Error(`Expected a valid signalMode (connected, visibility-viewport), instead received ${t.signalMode}`)}if(!n){throw new Error(`Expected a valid signalType (connected, visibility-viewport), instead received ${t.type}`)}if(t.value!==true&&t.value!==false){throw new Error(\"Signal requires a boolean value\")}const r=P.fromString(t.delayMode);if(!r){throw new Error(`Expected a valid delayMode (\"none\" | \"immediate\" | \"start-in-flight\" | \"all-in-flight\" |  \"resolved\"), instead received ${t.delayMode}`)}if(!this.collection[e]){this.collection[e]={signalMode:i,delayMode:r,signals:{[y.Connected]:undefined,[y.VisibilityViewport]:undefined}}}const o=this.collection[e].signals[n];if(o===true){return}this.collection[e].signals[n]=t.value;if(this.isFinalSignal(i,n)&&this.isCollectionToQueueMismatch(e)){const t=new Error(`Known component with cid: ${e} is not found in the request queue`);t.name=C.ComponentMismatch;throw t}this._processQueue(e)}isCollectionToQueueMismatch(e){return this.collection[e]&&!this.queue[e]}isFinalSignal(e,t){return e===t}getSignalWhenTrue(e,t){if(!T(e)){throw new Error(\"The componentId parameter must be a non-empty string.\")}if(!t){throw new Error(\"The signalTrigger parameter must be defined\")}else if(!R.fromString(t)){throw new Error('signalTrigger must be one of \"first\" | \"last\" | \"connected\" | \"visibility-viewport\"')}const i=new n.Thenable(this._enqueue.bind(this,e,t));this._processQueue(e);return i}getSomeSignalsWhenOneIsTrue(e){if(!Array.isArray(e)){throw new Error(\"The componentIds parameter must be an array\")}else if(e.length===0){return Promise.resolve()}const t=new Map;e.forEach(e=>{t.set(e,this.getSignalWhenTrue(e,\"last\"))});const i=new Promise((e,i)=>{Promise.race(t.values()).then(()=>{window.requestAnimationFrame(()=>{const i={};t.forEach((e,t)=>{const n=this.collection[t];if(n){const e=this._getNotifyingSignal(n,\"last\");if(e){i[t]={type:e,delayMode:n.delayMode,signalMode:n.signalMode,value:true}}}});e(i)})}).catch(e=>{i(e)})});return i}_enqueue(e,t,i,n){if(!this.queue[e]){this.queue[e]=[]}this.queue[e].push({signalTrigger:t,resolver:i,rejector:n})}_processQueue(e){const t=this.queue[e];const i=this.collection[e];if(!t||!i||!i.signals[y.Connected]){return}const n=[];for(let e=0;e<t.length;e++){const r=t[e];const o=this._getNotifyingSignal(i,r.signalTrigger);if(o){r.resolver({type:o,delayMode:i.delayMode,signalMode:i.signalMode,value:true})}else{n.push(r)}}this.queue[e]=n}_getNotifyingSignal(e,t){const i=e.signalMode;let n=null;if(t===R.Last){if(i===y.Connected){n=y.Connected}else if(i===y.VisibilityViewport){if(e.signals[y.VisibilityViewport]){n=y.VisibilityViewport}}}else if(t===R.First){n=y.Connected}else if(e.signals[t]){n=t}return n}}t.registerDecorators(F,{fields:[\"collection\",\"queue\"]});class M{constructor(e,t){this.node=e;this.conditional=t;this.deps=[];this.allResolvedThenable=new n.Thenable(e=>{this.allResolvedThenableResolveFn=e});this.allFiredThenable=new n.Thenable(e=>{this.allFiredThenableResolveFn=e});Object.preventExtensions(this)}allFired(){this.allFiredThenableResolveFn()}allResolved(){this.allResolvedThenableResolveFn()}allAreFired(){return this.allFiredThenable}allAreResolved(){return this.allResolvedThenable}}const O=e=>i.isWireNode(e)&&i.unstable_getAdapterInfo(e.wireAdapter)!==undefined;const V=e=>i.isConditionalNode(e)&&Array.isArray(e.dependencies)&&e.dependencies.find(e=>e.wireAdapter===c);class A{constructor(e){if(!e){throw new Error(\"PPR must be installed with valid adg container\")}this.extensionName=\"ppr\";this.adgContainer=e;this.pprWires=new Map;this._pprWireValueProvider=d(this.adgContainer);this._pprSignalEventHandler=this._handlePprSignal.bind(this);this._pprForceRenderEventHandler=this._handleForceRender.bind(this)}_handlePprSignal(e){if(this.pprWires.size){e.stopImmediatePropagation();e.preventDefault();if(this.collector){try{this.collector.publishSignal(e.detail.cid,{value:e.detail.signal.value,type:e.detail.signal.type,signalMode:e.detail.signalMode,delayMode:e.detail.delayMode})}catch(t){if(t.name===C.ComponentMismatch){if(this.emitter){this.emitter.publishState(e.detail.cid,true)}r.incrementUnlinkedRegionCounter()}else{throw t}}}}else{r.incrementUnlinkedRegionCounter()}}_handleForceRender(e){e.stopImmediatePropagation();e.preventDefault();if(this.emitter){this.emitter.publishState(e.detail.cid,true)}}connect(){this.adgContainer.addEventListener(r.PPR_SIGNAL_EVENT_NAME,this._pprSignalEventHandler);this.adgContainer.addEventListener(r.PPR_FORCE_RENDER_EVENT_NAME,this._pprForceRenderEventHandler);this.emitter=new h(this._pprWireValueProvider);this.collector=new F;return this}disconnect(){this.adgContainer.removeEventListener(r.PPR_SIGNAL_EVENT_NAME,this._pprSignalEventHandler);this.adgContainer.removeEventListener(r.PPR_FORCE_RENDER_EVENT_NAME,this._pprForceRenderEventHandler)}preProcess(e,t,i,n){this.pprWires=this.getPprWires(e);const r=this.getInverseDependencies(e);this.pprWires.forEach((e,t)=>{e.deps=this.getPprContainment(t,r)});this.filterNestedPprRegions();this.setupPprCallbacks(this.pprWires,r,n)}getInverseDependencies(e){const t=new Map;let n,r;const o=e=>{if(i.isConditionalNode(e)||O(e)){let i=t.get(e);if(!i){i=new Set;t.set(e,i)}i.add(r)}};for(n=0;n<e.length;n++){r=e[n];if(r.dependencies&&r.dependencies.length){r.dependencies.forEach(o)}}return t}setupPprCallbacks(e,t,n){const r=(e,i,n)=>{const o=t.get(e);if(o&&o.size){o.forEach(e=>{if(i.has(e)){i.delete(e);n.delete(e);r(e,i,n)}})}};e.forEach(e=>{const t=new Set(e.deps);const o=new Set(e.deps);e.deps.forEach(s=>{const l=n(s);const a=s.beforeResolve(()=>{s.removeBeforeResolve(a,l);o.delete(s);if(o.size===0){if(e.allFired){e.allFired()}}},l);if(i.isWireNode(s)){const n=s.afterResolved(()=>{if(s instanceof i.MultiVariateWireNode){if(l&&l.state!==\"partial\"){s.removeAfterResolved(n,l)}else{return}}else{s.removeAfterResolved(n,l)}t.delete(s);if(l.state===\"error\"){r(s,t,o)}if(t.size===0){if(e.allResolved){e.allResolved()}}if(o.size===0){if(e.allFired){e.allFired()}}},l)}else if(i.isConditionalNode(s)){const i=s.afterResolved(n=>{s.removeAfterResolved(i,l);t.delete(s);if(n===true||n&&Object.keys(n).length!==0&&n.constructor===Object){if(t.size===0){if(e.allResolved){e.allResolved()}}}else{r(s,t,o);if(t.size===0){if(e.allResolved){e.allResolved()}}if(o.size===0){if(e.allFired){e.allFired()}}}},l)}})})}getPprWires(e){const t=new Map;let i,n;for(i=0;i<e.length;i++){n=e[i];const r=V(n);if(r){t.set(r,new M(r,n))}}return t}getPprContainment(e,t){let n=[e];let r=new Set;let o;const s=new Set;let l;const a=e=>{if(s.has(e)){return}l=t.get(e);if(l){s.add(e);r=new Set([...r,...l]);n=[...n,...l]}};while(n.length){o=new Set(n);n=[];o.forEach(a)}return[...r].filter(e=>O(e)||i.isConditionalNode(e))}filterNestedPprRegions(){let e,t;this.pprWires.forEach((i,n)=>{e=i.deps;this.pprWires.forEach((r,o)=>{t=r.deps;if(n!==o){if(e.includes(o)){e.splice(e.indexOf(o),1);i.deps=e.filter(e=>!t.includes(e))}}})})}canHandleResolution(e){return Boolean(e&&e.node&&e.node.wireAdapter===c)}resolveWire(e){let t;if(!e.config){return n.Thenable.reject(\"ProgressiveContext wire entries must have a config\")}if(e.config.cids&&Array.isArray(e.config.cids)){t=this.collector.getSomeSignalsWhenOneIsTrue(e.config.cids)}else{const i=e.config.cid;if(!i||typeof i!==\"string\"){return n.Thenable.reject(\"ProgressiveContext wire config.cid must be a string\")}const r=this.pprWires.get(e.node);if(!r){return n.Thenable.reject(\"WireEntry was not found in preprocess phase\")}t=this.collector.getSignalWhenTrue(i,\"last\").then(this.handlePprCollectorResponse.bind(this,i,r))}return t}handlePprCollectorResponse(e,t,i){return new n.Thenable(n=>{if(i.delayMode!==P.AllInFlight&&i.delayMode!==P.Resolved){this.emitter.publishState(e,i.value)}else if(i.delayMode===P.AllInFlight){t.allAreFired().then(()=>{this.emitter.publishState(e,i.value)})}else if(i.delayMode===P.Resolved){t.allAreResolved().then(()=>{this.emitter.publishState(e,i.value)})}n(i.value)})}hasPprRegions(){return this.pprWires.size>0}}function j(e){const t=new A(e);return{connect:t.connect.bind(t),disconnect:t.disconnect.bind(t),_controller:t}}e.DelayModes=P;e.ProgressiveContext=c;e.Signals=y;e.installPpr=j;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"laf-ppr","descriptor":"markup://laf:ppr","n":"laf/ppr"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://force:duplicatesManager', \"force/duplicatesManager\",[\"exports\",\"lwc\",\"force/dedupeConstants\",\"instrumentation/service\",\"force/recordUiUtils\",\"lightning/uiDuplicatesApi\"],function(e,t,r,i,o,s){function n(e){if(e&&typeof e===\"object\"&&\"default\"in e)return e;var t=Object.create(null);if(e){Object.keys(e).forEach(function(r){if(r!==\"default\"){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,i.get?i:{enumerable:true,get:function(){return e[r]}})}})}t.default=e;return Object.freeze(t)}var c=n(r);const a=[];function d(e,t,r,i){return a}var l=t.registerTemplate(d);d.stylesheets=[];d.stylesheetToken=\"lwc-5jh8drlir01\";d.legacyStylesheetToken=\"force-duplicatesManager_duplicatesManager\";t.freezeTemplate(d);const u=function(e){let t=0;const r=[];const i=[];if(Array.isArray(e)){e.forEach(e=>{const o=e.duplicateResultInfos;const s=Object.keys(e.duplicateResultInfos);if(Array.isArray(e.recordIds)){t+=e.recordIds.length}s.forEach(e=>{const t=o[e].matchResultInfo.rule;if(t&&r.indexOf(t)===-1){r.push(t)}});i.push(e.objectApiName)})}return{totalMatches:t,matchRules:r.join(),entityType:i.join(),source:\"SFX\"}};const p=function(e){let t=0;const r=[];const i=[];if(Array.isArray(e)){e.forEach(e=>{if(Array.isArray(e.recordIds)){t+=e.recordIds.length}const o=e.matchRule;if(o&&r.indexOf(o)===-1){r.push(o)}i.push(e.entityType)})}return{totalMatches:t,matchRules:r.join(),entityType:i.join(),source:\"SFX\"}};const f=function(e,t){const r=e?c.ACTION_KEY.insert:c.ACTION_KEY.update;const i=e?c.OPERATION_KEY.insert:c.OPERATION_KEY.update;let o=false;const s=[];t.forEach(e=>{if(e[r]===c.ACTION_VALUE.block){o=true;s.push(e.name)}const t=e[i]||[];if(!o&&t.indexOf(c.ACTION_VALUE.alert)>-1){o=true}});return{blockingRules:s,isPredupeActive:o}};const h=function(e,t){let r=false;t.forEach(t=>{if(!r){const i=Object.keys(t.duplicateResultInfos);e.some(e=>{if(i.indexOf(e)>-1){r=true}return true})}});return r};const E=function(e,t){i.mark(c.INSTRUMENTATION_NAMESPACE,e,t)};const b=function(e){i.error(e)};const _=function(e){const t=e.map(e=>{const t=e.duplicateResultInfos;const r=Object.keys(e.duplicateResultInfos);const i=e.objectApiName;const o=[];r.forEach(e=>{const r=t[e].matchResultInfo.recordIds;r.forEach(e=>{if(o.indexOf(e)===-1){o.push(e)}})});const s=r.length>0?r[r.length-1]:\"\";const n=o.length>c.DUPLICATE_PAGE_SIZE;const a=t[s].matchResultInfo.rule;const d=t[s].allowSave;return{currentPage:1,entityType:i,isAllowSave:d,matchRule:a,recordIds:o,pageSize:c.DUPLICATE_PAGE_SIZE,canShowMore:n}});return t};const m=function(e){let t=false;for(let r=0;e&&r<e.length;r++){if(e[r].errorCode===o.RecordUiHelpers.RecordErrorEnums.Messages.DuplicatesDetected){const i=e[r].duplicateRecordError?e[r].duplicateRecordError.matchResults:null;const o=[];if(i&&i.length){for(let e=0;e<i.length;e++){const r=i[e];o.push({entityLabel:r.objectLabel,entityLabelPlural:r.objectLabelPlural,entityType:r.apiName,isAllowSave:r.isAllowSave,matchRule:r.matchRule,pageSize:c.DUPLICATE_PAGE_SIZE,recordIds:r.matchRecordIds,themeBackgroundColor:r.themeInfo?r.themeInfo.color:\"\",themeIcon:r.themeInfo?r.themeInfo.iconUrl:\"\"});if(!r.isAllowSave){t=true}}}let s=\"dedupe\";const n=p(o);n.isAllowSave=!t;if(n.totalMatches===0){s=\"dedupeNoAccess\"}E(s,n);return{message:e[r].message,statusCode:e[r].errorCode,potentialDuplicates:o,blocksSave:t}}}return{}};const g=function(e){if(e.potentialDuplicates){const t={message:e.headerText?e.headerText:\"\",statusCode:e.errorCode,potentialDuplicates:e.potentialDuplicates,blocksSave:e.blocksSave};return t}return{}};const O=function(e,t,r){let i=0;let o=_(r);o.forEach(e=>{if(e.recordIds){i+=e.recordIds.length}});const s=u(r);const n=h(t,r);s.isAllowSave=!n;const a=n?c.ERROR_ICON.error:c.ERROR_ICON.warning;let d=\"\";if(i>0){if(!n){d=e===c.SUPPORTED_MODES.edit?c.ERROR_LABELS.ToastMessageAlertEdit:c.ERROR_LABELS.ToastMessageAlertCreate}else{d=c.ERROR_LABELS.ToastMessageBlock}E(\"predupe\",s)}else{d=c.ERROR_LABELS.ToastMessageWithNoDuplicateAccess;o=[];E(\"predupeNoAccess\",s)}return{errorIcon:a,headerText:d,potentialDuplicates:o,blocksSave:n}};function y(e){const t=/[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}/g;return e.replace(t,\"***@***\")}function A(e,t={}){const{fallbackValue:r=\"\",validValues:i,toLowerCase:o=true}=t;let s=typeof e===\"string\"&&e.trim()||\"\";s=o?s.toLowerCase():s;if(i&&i.indexOf(s)===-1){s=r}return s}function R(e,t,r={}){let i=r.leading;let o;return function s(){const n=Array.prototype.slice.apply(arguments);if(i){e.apply(this,n);i=false}clearTimeout(o);o=window.setTimeout(function(){e.apply(this,n);i=r.leading},t)}}function D(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,i)}return r}function I(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?D(Object(r),!0).forEach(function(t){T(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):D(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function T(e,t,r){t=S(t);if(t in e){Object.defineProperty(e,t,{value:r,enumerable:true,configurable:true,writable:true})}else{e[t]=r}return e}function S(e){var t=j(e,\"string\");return typeof t===\"symbol\"?t:String(t)}function j(e,t){if(typeof e!==\"object\"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==undefined){var i=r.call(e,t||\"default\");if(typeof i!==\"object\")return i;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(t===\"string\"?String:Number)(e)}class v extends t.LightningElement{constructor(){super();this._predupeEnabled=false;this._objectApiName=void 0;this._mode=c.SUPPORTED_MODES.create;this._recordTypeId=void 0;this._wiredObjectApiName=void 0;this._fields=void 0;this._allowSaveOnDuplicate=void 0;this._wiredRecordTypeId=void 0;this._predupeEnabledFromConfig=false;this._dedupeFields=[];this._blockingRules=[];this._connected=false;this._config=null;this.processRecordFieldEdit=e=>{if(this._connected){this._allowSaveOnDuplicate=e.allowSaveOnDuplicate;this._fields=JSON.parse(JSON.stringify(e.fields))}};this.debouncedProcessRecordFieldEdit=R(this.processRecordFieldEdit,c.DEBOUNCE_TIMER)}connectedCallback(){this._connected=true}disconnectedCallback(){this._connected=false}get recordTypeId(){return this._recordTypeId}set recordTypeId(e){if(e){if(this.predupeEnabled){this._wiredRecordTypeId=e}this._recordTypeId=e}}get predupeEnabled(){return this._predupeEnabled}set predupeEnabled(e){this._predupeEnabled=e===true;if(this.predupeEnabled){if(this.objectApiName&&this.objectApiName!==this._wiredObjectApiName){this._wiredObjectApiName=this.objectApiName}if(this.recordTypeId&&this.recordTypeId!==this._wiredRecordTypeId){this._wiredRecordTypeId=this.recordTypeId}}}get objectApiName(){return this._objectApiName}set objectApiName(e){if(!this.isEntitySupported(e)){this.skipDedupe()}else{if(this.predupeEnabled){this._wiredObjectApiName=e}this._objectApiName=e}}get mode(){return this._mode}set mode(e){this._mode=A(e,{fallbackValue:c.SUPPORTED_MODES.create,validValues:Object.keys(c.SUPPORTED_MODES)});if(this._config){this.handleWiredDuplicateConfigData(this._config)}}getPredupeEnabledFromConfig(){return this.predupeEnabled&&this._predupeEnabledFromConfig}setRecordFieldEdited(e,t){if(this.isPredupeNeeded(e,t)){this.debouncedProcessRecordFieldEdit(e)}}isPredupeNeeded(e,t){return this.getPredupeEnabledFromConfig()&&this.isEditFieldsInDedupeFieldSet(t)&&this._wiredObjectApiName&&this._wiredObjectApiName===e.apiName}onGetDuplicateConfiguration(e){if(e){if(e.error){this.handleWireError(e.error,c.DUPLICATE_CONFIGURATION_WIRE_ERROR)}else if(e.data){this._config=e.data;this.handleWiredDuplicateConfigData(this._config)}}}onGetDuplicates(e){if(e){if(e.error){this.handleWireError(e.error,c.DUPLICATES_WIRE_ERROR)}else if(e.data){this.handleWiredGetDuplicatesData(e.data)}}}parseErrorsForDedupe(e){return m(e)}parseErrorsForPredupe(e){return g(e)}handleWiredGetDuplicatesData(e){const t=e.duplicateError;if(t){const t=Array.isArray(e.matches)?e.matches:[];const r=O(this.mode,this._blockingRules,t);this.fireForceDuplicatesDetectedEvent(true,r)}else{this.fireForceDuplicatesDetectedEvent(false,{})}}isEntitySupported(e){return typeof e===\"string\"&&(c.SUPPORTED_STANDARD_ENTITIES.indexOf(e)>-1||e.indexOf(\"__c\")===e.length-3)}skipDedupe(){this._objectApiName=\"\";this._predupeEnabled=false;this._predupeEnabledFromConfig=false;this._dedupeFields=[];this._allowSaveOnDuplicate=undefined}handleWiredDuplicateConfigData(e){this._dedupeFields=e.dedupeFields?e.dedupeFields:[];this._predupeEnabledFromConfig=!!e.predupeEnabled;if(this._predupeEnabledFromConfig&&e.duplicateRules){const t=f(this.isInsert(),e.duplicateRules);this._blockingRules=t.blockingRules?t.blockingRules:[];this._predupeEnabledFromConfig=!!t.isPredupeActive}}handleWireError(e,t){let r;if(Array.isArray(e.body)){r=e.body.map(e=>e.message).join(\", \")}else{r=e.body.message}r=y(r);const i={errorStatus:e.status,errorText:e.statusText,errorBody:r};if(e.status===500&&!r){this.skipDedupe()}b(I(I({},i),{},{eventName:t}));E(t,i)}isInsert(){return this.mode!==c.SUPPORTED_MODES.edit}isEditFieldsInDedupeFieldSet(e){return this._dedupeFields.length===0||this._dedupeFields.indexOf(e)>-1}fireForceDuplicatesDetectedEvent(e,t){t.hasDuplicateError=e;const r=new CustomEvent(\"forceduplicatesdetected\",{detail:t});this.dispatchEvent(r)}}t.registerDecorators(v,{publicProps:{recordTypeId:{config:3},predupeEnabled:{config:3},objectApiName:{config:3},mode:{config:3}},publicMethods:[\"getPredupeEnabledFromConfig\",\"setRecordFieldEdited\",\"parseErrorsForDedupe\",\"parseErrorsForPredupe\"],wire:{onGetDuplicateConfiguration:{adapter:s.getDuplicateConfiguration,dynamic:[\"objectApiName\",\"recordTypeId\"],method:1,config:function(e){return{objectApiName:e._wiredObjectApiName,recordTypeId:e._wiredRecordTypeId}}},onGetDuplicates:{adapter:s.getDuplicates,dynamic:[\"apiName\",\"allowSaveOnDuplicate\",\"fields\"],method:1,config:function(e){return{apiName:e._wiredObjectApiName,allowSaveOnDuplicate:e._allowSaveOnDuplicate,fields:e._fields}}}},fields:[\"_predupeEnabled\",\"_objectApiName\",\"_mode\",\"_recordTypeId\",\"_wiredObjectApiName\",\"_fields\",\"_allowSaveOnDuplicate\",\"_wiredRecordTypeId\",\"_predupeEnabledFromConfig\",\"_dedupeFields\",\"_blockingRules\",\"_connected\",\"_config\",\"processRecordFieldEdit\"]});var N=t.registerComponent(v,{tmpl:l,sel:\"force-duplicates-manager\",apiVersion:59});e.default=N;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"force-duplicates-manager","descriptor":"markup://force:duplicatesManager","n":"force/duplicatesManager","ad":[["recordTypeId",null,"G",false],["predupeEnabled",null,"G",false],["objectApiName",null,"G",false],["mode",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://feeds_discussion_threading:commentOrganizer', \"feeds_discussion_threading/commentOrganizer\",[\"exports\"],function(e){function t(e){const t=new Map;const r=[];const n=(e||[]).map(e=>{e.comments=[];t.set(e.id,e);return e});for(let e=0;e<n.length;e++){let r=n[e];if(r.threadLevel>0&&!t.has(r.threadParentId)){let d={comments:[],id:r.threadParentId,isPlaceholder:true,threadLevel:r.threadLevel-1};if(d.threadLevel>0){d.threadParentId=d.id+\"Parent\"+(d.threadLevel-1)}t.set(d.id,d);n.splice(e,0,d);e--}}n.forEach(function(e){if(e.threadLevel>0){let r=t.get(e.threadParentId);r.comments.push(e)}else{r.push(e)}});return r}e.organizeComments=t;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"feeds_discussion_threading-comment-organizer","descriptor":"markup://feeds_discussion_threading:commentOrganizer","n":"feeds_discussion_threading/commentOrganizer"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://force:ldsInstrumentation', \"force/ldsInstrumentation\",[\"exports\",\"o11y/client\",\"o11y_schema/sf_lds\",\"force/ldsBindings\"],function(e,t,n,r){const o=[\"traceId\"];function i(e,t){if(e==null)return{};var n=s(e,t);var r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++){r=i[o];if(t.indexOf(r)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(e,r))continue;n[r]=e[r]}}return n}function s(e,t){if(e==null)return{};var n={};var r=Object.keys(e);var o,i;for(i=0;i<r.length;i++){o=r[i];if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach(function(t){u(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function u(e,t,n){t=l(t);if(t in e){Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true})}else{e[t]=n}return e}function l(e){var t=d(e,\"string\");return typeof t===\"symbol\"?t:String(t)}function d(e,t){if(typeof e!==\"object\"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var r=n.call(e,t||\"default\");if(typeof r!==\"object\")return r;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(t===\"string\"?String:Number)(e)}var f;(function(e){e[\"Fulfilled\"]=\"Fulfilled\";e[\"Unfulfilled\"]=\"Unfulfilled\";e[\"Error\"]=\"Error\";e[\"Pending\"]=\"Pending\";e[\"Stale\"]=\"Stale\"})(f||(f={}));Promise.resolve();var _;(function(e){e[e[\"RESOURCE_NOT_FOUND\"]=404]=\"RESOURCE_NOT_FOUND\"})(_||(_={}));var h;(function(e){e[\"Error\"]=\"error\"})(h||(h={}));var p;(function(e){e[e[\"NotPresent\"]=0]=\"NotPresent\";e[e[\"RefNotPresent\"]=1]=\"RefNotPresent\";e[e[\"RefPresent\"]=2]=\"RefPresent\";e[e[\"Null\"]=3]=\"Null\";e[e[\"Missing\"]=4]=\"Missing\";e[e[\"Pending\"]=5]=\"Pending\"})(p||(p={}));var T;(function(e){e[e[\"Found\"]=0]=\"Found\";e[e[\"Error\"]=1]=\"Error\";e[e[\"Null\"]=2]=\"Null\";e[e[\"NotPresent\"]=3]=\"NotPresent\";e[e[\"Stale\"]=4]=\"Stale\"})(T||(T={}));var E;(function(e){e[e[\"Ok\"]=200]=\"Ok\";e[e[\"Created\"]=201]=\"Created\";e[e[\"NoContent\"]=204]=\"NoContent\";e[e[\"NotModified\"]=304]=\"NotModified\";e[e[\"BadRequest\"]=400]=\"BadRequest\";e[e[\"Unauthorized\"]=401]=\"Unauthorized\";e[e[\"Forbidden\"]=403]=\"Forbidden\";e[e[\"NotFound\"]=404]=\"NotFound\";e[e[\"ServerError\"]=500]=\"ServerError\";e[e[\"GatewayTimeout\"]=504]=\"GatewayTimeout\"})(E||(E={}));var m;(function(e){e[\"Link\"]=\"Link\";e[\"Node\"]=\"Node\";e[\"Error\"]=\"Error\";e[\"Locked\"]=\"Locked\"})(m||(m={}));var C;(function(e){e[e[\"NotPresent\"]=0]=\"NotPresent\";e[e[\"RefNotPresent\"]=1]=\"RefNotPresent\";e[e[\"RefPresent\"]=2]=\"RefPresent\";e[e[\"Null\"]=3]=\"Null\";e[e[\"Missing\"]=4]=\"Missing\";e[e[\"Pending\"]=5]=\"Pending\"})(C||(C={}));var O;(function(e){e[e[\"Missing\"]=0]=\"Missing\";e[e[\"Success\"]=1]=\"Success\";e[e[\"Error\"]=2]=\"Error\"})(O||(O={}));({state:O.Missing});var N;(function(e){e[e[\"UrlParameter\"]=0]=\"UrlParameter\";e[e[\"QueryParameter\"]=1]=\"QueryParameter\";e[e[\"Body\"]=2]=\"Body\";e[e[\"Header\"]=3]=\"Header\"})(N||(N={}));var R;(function(e){e[e[\"String\"]=0]=\"String\";e[e[\"Boolean\"]=1]=\"Boolean\";e[e[\"Number\"]=2]=\"Number\";e[e[\"Integer\"]=3]=\"Integer\";e[e[\"Unsupported\"]=4]=\"Unsupported\"})(R||(R={}));const A=\"durable\";function g(e){return e.type===\"environment\"&&e.environment===A}const{stringify:S}=JSON;function y(e){return e!==null&&e!==undefined&&typeof e.then===\"function\"}function v(e){return e.state===\"Error\"}function I(e,t,n,r,o){let i;let s;let a;let u;let l;let d;let f;let _;let h=false;let p;let T=\"\";let E;let m;let C=[];let O={};let N=[];let R=[];const A=t=>{if(i===undefined){throw Error(\"adapter has not been started yet\")}if(s){throw Error(\"adapter has already ended\")}if(p===undefined){throw Error(\"no result type set\")}s=Date.now();const r=s-i;const o=d-l;const c=u-a;const O=_-f;const A=S(n);switch(p){case\"l1-hit\":if(h===true){t({result:\"l1-hit\",adapterName:e,rawEvents:R,config:A,stale:true,executionTime:r,cacheLookupTime:o,lookupTime:c,snapshotState:T})}else{t({result:\"l1-hit\",adapterName:e,rawEvents:R,config:A,stale:false,executionTime:r,cacheLookupTime:o,lookupTime:c,snapshotState:T})}break;case\"l2-hit\":if(h===true){t({result:\"l2-hit\",adapterName:e,rawEvents:R,config:A,stale:true,executionTime:r,cacheLookupTime:o,lookupTime:c,snapshotState:T,revives:N})}else{t({result:\"l2-hit\",adapterName:e,rawEvents:R,config:A,stale:false,executionTime:r,cacheLookupTime:o,lookupTime:c,snapshotState:T,revives:N})}break;case\"cache-miss\":t({result:\"cache-miss\",adapterName:e,rawEvents:R,config:A,executionTime:r,cacheLookupTime:o,lookupTime:c,networkLookupTime:O,completedNetworkRequests:C,snapshotState:T,revives:N});break;case\"invalid-config\":t({result:\"invalid-config\",rawEvents:R,config:A,adapterName:e,executionTime:r});break;case\"error\":t({result:\"error\",rawEvents:R,config:A,error:E,adapterName:e,executionTime:r,cacheLookupTime:o,lookupTime:c,networkLookupTime:O,snapshotState:T});break;case\"exception\":t({result:\"exception\",rawEvents:R,config:A,exceptionMessage:m,adapterName:e,executionTime:r});break}};const I=e=>{let t=\"Unknown Error\";if(e instanceof Error)t=e.message;m=t;p=\"exception\"};const U={onAdapterEvent:e=>{R.push(e);switch(e.type){case\"adapter-lookup-start\":a=Date.now();break;case\"adapter-lookup-end\":u=Date.now();break;case\"cache-lookup-start\":l=Date.now();break;case\"cache-lookup-end\":d=Date.now();if(e.wasResultAsync===false){p=\"l1-hit\"}else{p=\"l2-hit\"}if(e.snapshotState===\"Stale\"){h=true}break;case\"network-lookup-start\":if(h===false){p=\"cache-miss\";f=Date.now()}break;case\"network-lookup-end\":if(h===false){_=Date.now()}break;case\"network-request-start\":O[e.uuid]=e;break;case\"network-request-end\":{const t=O[e.uuid];if(t===undefined||t.type!==\"network-request-start\"){return}C.push({request:t.request,response:e.response,duration:e.timestamp-t.timestamp});break}}},onEnvironmentEvent:e=>{R.push(e);if(g(e)){if(e.data.type===\"l2-revive-end\"){let t;const n=e.data.snapshot;if(n.state===\"Unfulfilled\"){t=n.missingLinks.keysAsArray();if(n.missingLinks.size()===0){t.push(n.recordId)}}N.push({resultState:e.data.snapshot.state,missingKeys:t,l2Trips:e.data.l2Trips,duration:e.data.duration})}}},onCustomAdapterEvent:e=>{R.push(e)}};const k=e=>{let t=c({},e);if(t.eventObservers===undefined){t.eventObservers=[]}t.eventObservers.push(U);return t};i=Date.now();try{const e=k(r);const i=t(n,e);if(y(i)){i.then(e=>{T=e.state;if(v(e)){p=\"error\";E=S(e.error)}A(o)}).catch(e=>{I(e);A(o)})}else{if(i===null){p=\"invalid-config\"}else if(v(i)){T=\"Error\";p=\"error\";E=S(i.error)}A(o)}return i}catch(E){I(E);A(o);throw E}}const U=\"cache-hit-count\";const k=\"cache-hit-duration\";const D=\"cache-hit-l2-count\";const w=\"cache-hit-l2-duration\";const b=\"cache-miss-count\";const P=\"cache-miss-duration\";const L=\"cache-miss-out-of-ttl-count\";const M=\"cache-miss-out-of-ttl-duration\";const H=\"cache-miss-out-of-ttl-data-changed-count\";const G=\"cache-miss-out-of-ttl-data-unchanged-count\";const x=\"cache-miss-out-of-ttl-data-changed-duration\";const q=\"cache-miss-out-of-ttl-data-unchanged-duration\";const F=\"aggregate-ui-chunk-count\";const j=U;const V=b;const K=\"duplicate-request-count\";const B=\"get-record-normal-invoke-count\";const Q=\"get-record-aggregate-invoke-count\";const z=\"get-record-notify-change-allow-count\";const Y=\"get-record-notify-change-drop-count\";const $=\"notify-record-update-available-allow-count\";const W=\"notify-record-update-available-drop-count\";const J=\"network-rate-limit-exceeded-count\";const X=\"store-broadcast-duration\";const Z=\"store-ingest-duration\";const ee=\"store-lookup-duration\";const te=\"store-set-ttl-override-duration\";const ne=\"store-set-default-ttl-override-duration\";const re=\"notify-store-update-available-duration\";const oe=\"store-size-count\";const ie=\"store-snapshot-subscriptions-count\";const se=\"store-watch-subscriptions-count\";const ae=\"get-graphql-response-mixed-count\";const ce=\"store-trim-task-count\";const ue=\"store-trim-task-duration\";const le={\"cache-and-network\":\"cache-policy-cache-and-network\",\"cache-then-network\":\"cache-policy-cache-then-network\",\"no-cache\":\"cache-policy-no-cache\",\"only-if-cached\":\"cache-policy-only-if-cached\",\"stale-while-revalidate\":\"cache-policy-stale-while-revalidate\",\"valid-at\":\"cache-policy-valid-at\"};const de=\"cache-policy-undefined\";const fe=\"stale\";const _e=\"durable-store-count\";const he=\"graphql-adapter-count\";const pe=\"record-type-id-is-null-count\";const Te=\"store-graphql-size-count\";const Ee=\"graphql-query-validation-error-count\";const me=\"graphql-query-syntax-error-count\";const Ce=\"graphql-query-other-error-count\";const Oe=\"graphql-legacy-adapter-usage-count\";const Ne=\"graphql-legacy-adapter-errors-in-response-count\";var Re=Object.freeze({__proto__:null,ADAPTER_CACHE_HIT_COUNT_METRIC_NAME:U,ADAPTER_CACHE_HIT_DURATION_METRIC_NAME:k,ADAPTER_CACHE_HIT_L2_COUNT_METRIC_NAME:D,ADAPTER_CACHE_HIT_L2_DURATION_METRIC_NAME:w,ADAPTER_CACHE_MISS_COUNT_METRIC_NAME:b,ADAPTER_CACHE_MISS_DURATION_METRIC_NAME:P,ADAPTER_CACHE_MISS_OUT_OF_TTL_COUNT_METRIC_NAME:L,ADAPTER_CACHE_MISS_OUT_OF_TTL_DURATION_METRIC_NAME:M,REPRESENTATION_CACHE_MISS_OUT_OF_TTL_DATA_CHANGED_COUNT_METRIC_NAME:H,REPRESENTATION_CACHE_MISS_OUT_OF_TTL_DATA_UNCHANGED_COUNT_METRIC_NAME:G,REPRESENTATION_CACHE_MISS_OUT_OF_TTL_DATA_CHANGED_DURATION_METRIC_NAME:x,REPRESENTATION_CACHE_MISS_OUT_OF_TTL_DATA_UNCHANGED_DURATION_METRIC_NAME:q,AGGREGATE_UI_CHUNK_COUNT:F,CACHE_HIT_COUNT:j,CACHE_MISS_COUNT:V,DUPLICATE_REQUEST_COUNT:K,GET_RECORD_NORMAL_INVOKE_COUNT:B,GET_RECORD_AGGREGATE_INVOKE_COUNT:Q,GET_RECORD_NOTIFY_CHANGE_ALLOW_COUNT:z,GET_RECORD_NOTIFY_CHANGE_DROP_COUNT:Y,NOTIFY_RECORD_UPDATE_AVAILABLE_ALLOW_COUNT:$,NOTIFY_RECORD_UPDATE_AVAILABLE_DROP_COUNT:W,NETWORK_RATE_LIMIT_EXCEEDED_COUNT:J,STORE_BROADCAST_DURATION:X,STORE_INGEST_DURATION:Z,STORE_LOOKUP_DURATION:ee,STORE_SET_TTL_OVERRIDE_DURATION:te,STORE_SET_DEFAULT_TTL_OVERRIDE_DURATION:ne,NOTIFY_STORE_UPDATE_AVAILABLE_DURATION:re,STORE_SIZE_COUNT:oe,STORE_SNAPSHOT_SUBSCRIPTIONS_COUNT:ie,STORE_WATCH_SUBSCRIPTIONS_COUNT:se,GET_GRAPHQL_RESPONSE_MIXED:ae,STORE_TRIM_TASK_COUNT:ce,STORE_TRIM_TASK_DURATION:ue,CACHE_POLICY_COUNTERS:le,CACHE_POLICY_UNDEFINED_COUNTER:de,STALE_TAG:fe,DURABLE_STORE_COUNT:_e,GRAPHQL_ADAPTER_COUNT:he,RECORD_TYPE_ID_IS_NULL_COUNT:pe,STORE_GRAPHQL_SIZE_COUNT:Te,GRAPHQL_QUERY_VALIDATION_ERROR_COUNT:Ee,GRAPHQL_QUERY_SYNTAX_ERROR_COUNT:me,GRAPHQL_QUERY_OTHER_ERROR_COUNT:Ce,GRAPHQL_LEGACY_ADAPTER_USAGE_COUNT:Oe,GRAPHQL_LEGACY_ADAPTER_ERRORS_IN_RESPONSE_COUNT:Ne});const Ae=\"LIGHTNING.lds.service\";const ge=\"request\";const Se=\"error\";const ye=Se;const ve=ge;const{create:Ie,keys:Ue}=Object;const{isArray:ke}=Array;const{parse:De,stringify:we}=JSON;class be{constructor(e){this.oldCache=new Map;this.newCache=new Map;this.size=0;this.limit=e}checkSize(){if(this.size>=this.limit){this.size=0;this.oldCache=this.newCache;this.newCache=new Map}}get(e){if(this.newCache.has(e)){return this.newCache.get(e)}else if(this.oldCache.has(e)){const t=this.oldCache.get(e);this.oldCache.delete(e);this.newCache.set(e,t);this.size+=1;this.checkSize();return t}return undefined}set(e,t){if(this.newCache.has(e)){this.newCache.set(e,t)}else{this.newCache.set(e,t);this.size+=1;this.checkSize()}}delete(e){if(this.newCache.has(e)){this.newCache.delete(e);this.size-=1}else if(this.oldCache.has(e)){this.oldCache.delete(e)}}}function Pe(e){if(e&&e.toJSON&&typeof e.toJSON===\"function\"){e=e.toJSON()}if(e===undefined){return}if(typeof e===\"number\"){return isFinite(e)?\"\"+e:\"null\"}if(typeof e!==\"object\"){return we(e)}let t;let n;if(ke(e)){e=e.slice(0).sort();n=\"[\";for(t=0;t<e.length;t++){if(t){n+=\",\"}n+=Pe(e[t])||\"null\"}return n+\"]\"}if(e===null){return\"null\"}const r=Ue(e).sort();n=\"\";for(t=0;t<r.length;t++){const o=r[t];const i=Pe(e[o]);if(!i){continue}if(n){n+=\",\"}n+=we(o)+\":\"+i}return\"{\"+n+\"}\"}function Le(e){return e!==null&&e!==undefined&&typeof e.then===\"function\"}function Me(e){if(typeof e!==\"string\"){return false}const t=De(e);return t.errorType!==undefined&&t.errorType===\"adapterError\"}function He(e,t){let n=false;return()=>{if(!n){e();n=true;setTimeout(()=>n=false,t)}}}const Ge=\"lds\";const xe=\"getApex\";const qe=at(\"Apex\",xe);const Fe=\"graphQL\";const je=\"GraphQL::graphql__uiapi__query\";const Ve=t.getInstrumentation(Ge);const Ke=t.getInstrumentation(Ae);class Be{instrumentLuvio(e){}}function Qe(e){if(ze(e)){const t=c(c({},e),{},{adapterName:lt(e.adapterName)});Ye(t);$e(t)}}function ze(e){return e[r.ADAPTER_UNFULFILLED_ERROR]===true}function Ye(e){const t=at(Se,e.adapterName);Ke.incrementCounter(t);Ke.incrementCounter(ye)}function $e(e){Ve.error(r.ADAPTER_UNFULFILLED_ERROR,n.adapterUnfulfilledErrorSchema,{adapter:e.adapterName,missing_paths:Ue(e.missingPaths),missing_links:Ue(e.missingLinks)})}function We(){Ve.log(\"objectInfoChanged\")}function Je(e){const t=e&&e.cachePolicy&&e.cachePolicy.type;if(t!==undefined){Ve.incrementCounter(le[t],1);return}Ve.incrementCounter(de,1)}function Xe(e){const t=at(pe,e);Ke.incrementCounter(t)}const Ze=new be(250);function et(e,t,n,r,o,i){const s=`${e}:${Pe(t)}`;const a=Ze.get(s);Ze.set(s,n);if(a!==undefined){const e=n-a;if(e>r){Ve.incrementCounter(o,1);Ve.trackValue(i,e)}}}function tt(e,t,n){if(n===undefined||n.requestCorrelator===undefined||ot(n)===undefined){return e.startActivity(t)}const r=n.requestCorrelator.observabilityContext,{traceId:s}=r,a=i(r,o);const c={instrumentationContext:a};if(s!==undefined){c.instrumentationContext.parentId=s}return e.startActivity(t,c)}function nt(e,t,n){const{apiFamily:r,name:o,ttl:i}=t;let s=false;let a=false;let c=false;let u=undefined;if(n!==undefined){({trackL1Hits:s,trackL2Hits:a,trackCacheMisses:c,reportObserver:u}=n)}const l=lt(o,r);const d=at(ge,l);const f=at(U,l);const _=at(D,l);const h=at(k,l);const p=at(w,l);const T=at(b,l);const E=at(P,l);const m=at(M,l);const C=at(L,l);const O=(n,r)=>{Ke.incrementCounter(d,1);Ke.incrementCounter(ve,1);Je(r);const o=tt(Ve,l,r);rt(o,r);return I(t.name,e,n,r||{},e=>{const{executionTime:t}=e;switch(e.result){case\"l1-hit\":{Ve.incrementCounter(U,1);Ve.incrementCounter(f,1);Ve.trackValue(h,t);if(s){o.stop(\"l1-hit\")}else{o.discard()}break}case\"l2-hit\":{let n=undefined;if(e.stale===true){n={[fe]:true}}Ve.incrementCounter(D,1,undefined,n);Ve.incrementCounter(_,1,undefined,n);Ve.trackValue(p,t,undefined,n);if(a){o.stop(\"l2-hit\")}else{o.discard()}break}case\"cache-miss\":{Ve.trackValue(E,t);Ve.incrementCounter(b,1);Ve.incrementCounter(T,1);if(c){o.stop(\"cache-miss\")}else{o.discard()}if(i!==undefined){et(l,n,Date.now(),i,C,m)}}break;case\"error\":{const t=e.error;if(Me(t)){o.error(t)}o.stop(\"error\")}break;case\"exception\":case\"invalid-config\":{o.discard()}break}if(u!==undefined){u(e)}})};Object.defineProperty(O,\"name\",{value:o+\"__instrumented\"});return ut(o)===true?St(O):O}function rt(e,t){if(t!==undefined){const n=ot(t);if(n!==undefined){n.traceId=e.getId()}}}function ot(e){return e.requestCorrelator!==undefined?e.requestCorrelator.observabilityContext:undefined}function it(e,t){const{data:n}=e;if(n&&n.data&&Ue(n.data).length>0&&n.errors&&n.errors.length>0){Ve.incrementCounter(ae)}if(t&&\"useUiApiAdapter\"in t&&t.useUiApiAdapter===false){Ve.incrementCounter(Oe);if(n&&n.errors&&n.errors.length>0){Ve.incrementCounter(Ne)}}if(n.errors&&n.errors.length>0){let e=0;let t=0;let r=0;n.errors.forEach(n=>{if(n.message&&n.message.startsWith(\"Validation error\")){e++}else if(n.message&&n.message.startsWith(\"Invalid Syntax\")){t++}else{r++}});if(e>0){Ve.incrementCounter(Ee,e)}if(t>0){Ve.incrementCounter(me,t)}if(r>0){Ve.incrementCounter(Ce,r)}}}function st(e,t){for(let n=0,r=t.length;n<r;n++){const{methodName:r,metricKey:o}=t[n];const i=e[r];e[r]=function(...e){const t=Date.now();try{const n=i.call(this,...e);const r=Date.now()-t;if(Le(n)){n.then(()=>{Ve.trackValue(o,Date.now()-t)}).catch(e=>{Ve.trackValue(o,Date.now()-t,true)})}else{Ve.trackValue(o,r)}return n}catch(e){Ve.trackValue(o,Date.now()-t,true);throw e}}}}function at(e,t){let n=e;if(t){n=n+\".\"+t}return n}function ct(e){return e.indexOf(xe)>-1}function ut(e){return e===Fe}function lt(e,t){if(ct(e)){return qe}return t?`${t}.${e}`:e}function dt(e,t){Ve.incrementCounter(e,t)}function ft(e,t){Ve.trackValue(e,t)}function _t(e){ft(F,e)}function ht(){dt(B)}function pt(){dt(Q)}function Tt(){dt(z)}function Et(){dt(Y)}function mt(){dt($)}function Ct(){dt(W)}function Ot(){dt(J)}function Nt(e){return()=>{Ve.incrementCounter(ce);const t=Date.now();const n=e();Ve.trackValue(ue,Date.now()-t);return n}}function Rt(e){const t=e.scheduler;e.scheduler=(e,n)=>{t(Nt(e),n)}}function At(e){return()=>{const{snapshotSubscriptions:t,watchSubscriptions:n}=e;const r=e.fallbackStringKeyInMemoryStore.records;ft(oe,Ue(r).length);if(je in r){const e=Ue(r[je]).length;ft(Te,e)}ft(ie,Ue(t).length);ft(se,Ue(n).length)}}function gt(e,t){const n=\"storeBroadcast\";const r=e[n];const o=He(t,200);e[n]=function(...e){o();return r.call(this,...e)}}function St(e){const t=(t,n)=>{const r=e(t,n);if(r===null){return r}if(Le(r)){r.then(e=>{it(e,t)})}else{it(r,t)}return r};return t}function yt(e){e.instrument({recordConflictsResolved:e=>{if(e>0){ft(\"record-conflicts-resolved\",e)}},nullDisplayValueConflict:({fieldType:e,areValuesEqual:t})=>{const n=`merge-null-dv-count.${e}`;if(e===\"scalar\"){dt(`${n}.${t}`)}else{dt(n)}},getRecordNotifyChangeAllowed:Tt,getRecordNotifyChangeDropped:Et,notifyRecordUpdateAvailableAllowed:mt,notifyRecordUpdateAvailableDropped:Ct,recordTypeIdIsNull:Xe})}function vt(e){e.instrument({aggregateUiChunkCount:e=>_t(e()),duplicateRequest:()=>dt(K),getRecordAggregateInvoke:pt,getRecordNormalInvoke:ht,networkRateLimitExceeded:Ot})}function It(){r.instrument({instrumentAdapter:nt})}function Ut(e,t){It();kt(e);gt(e,At(t));Rt(t);Pt(t)}function kt(e,t){st(e,[{methodName:\"storeBroadcast\",metricKey:X},{methodName:\"storeIngest\",metricKey:Z},{methodName:\"storeLookup\",metricKey:ee},{methodName:\"storeSetTTLOverride\",metricKey:te},{methodName:\"storeSetDefaultTTLOverride\",metricKey:ne},{methodName:\"notifyStoreUpdateAvailable\",metricKey:re}])}function Dt(e){if(e.type===\"cache-miss-out-of-ttl\"){const{recordMetadata:t,oldSnapshot:n,newSnapshot:r}=e;const o=wt.get(e.recordId);if(o!==undefined){const i=`${t.namespace}__${t.representationName}`;let s;let a;if(n!==r){s=x;a=H}else{s=q;a=G}const c={state:o.storeResolveResultState,representationName:i};Ve.trackValue(s,o.value,undefined,c);Ve.incrementCounter(a,1,undefined,c);wt.delete(e.recordId)}}}const wt=new be(250);function bt(e){wt.set(e.recordId,{value:e.lastExpiredDuration,storeResolveResultState:e.storeResolveResultState})}function Pt(e){const t={onCacheMissOutOfTtl:Dt};const n={onDataOutOfTtlDurationUpdate:bt};e.addStoreEventObserver(t);e.addStoreEventObserver(n)}const Lt=new Be;e.Instrumentation=Be;e.LRUCache=be;e.METRIC_KEYS=Re;e.handleIngestedNewData=Dt;e.handleOnDataOutOfTtlDurationUpdate=bt;e.incrementCounterMetric=dt;e.incrementGetRecordNormalInvokeCount=ht;e.incrementGetRecordNotifyChangeAllowCount=Tt;e.incrementGetRecordNotifyChangeDropCount=Et;e.incrementNotifyRecordUpdateAvailableAllowCount=mt;e.incrementNotifyRecordUpdateAvailableDropCount=Ct;e.instrumentAdapter=nt;e.instrumentLuvio=Qe;e.instrumentMethods=st;e.instrumentStoreMethods=kt;e.instrumentation=Lt;e.logObjectInfoChanged=We;e.setInstrumentationHooks=It;e.setLdsAdaptersUiapiInstrumentation=yt;e.setLdsNetworkAdapterInstrumentation=vt;e.setStoreEventObservers=Pt;e.setupInstrumentation=Ut;e.startAdapterActivity=tt;e.updatePercentileHistogramMetric=ft;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"force-lds-instrumentation","descriptor":"markup://force:ldsInstrumentation","n":"force/ldsInstrumentation"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://force:dedupeContent', \"force/dedupeContent\",[\"exports\",\"lwc\",\"lightning/formattedText\",\"logger\",\"force/panelLib\",\"instrumentation/service\",\"force/dedupeConstants\",\"@salesforce/label/DuplicateList.ToastMessageBlock\",\"@salesforce/label/DuplicateList.ToastMessageAlertEdit\",\"@salesforce/label/DuplicateList.ViewDuplicates\",\"@salesforce/label/DuplicateList.Header\",\"@salesforce/label/DuplicateList.ModalTitle\",\"@salesforce/label/DuplicateList.Footer\",\"@salesforce/label/DuplicateList.ToastMessageWithNoDuplicateAccess\"],function(e,t,r,a,s,l,i,o,n,c,u,d,p,f){function g(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}function h(e){if(e&&typeof e===\"object\"&&\"default\"in e)return e;var t=Object.create(null);if(e){Object.keys(e).forEach(function(r){if(r!==\"default\"){var a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,a.get?a:{enumerable:true,get:function(){return e[r]}})}})}t.default=e;return Object.freeze(t)}var b=g(r);var D=h(i);var m=g(o);var v=g(n);var y=g(c);var k=g(u);var T=g(d);var C=g(p);var E=g(f);const L=t.parseFragment`<br${3}>`;const M={classMap:{\"slds-p-around_small\":true},key:0};const S={href:\"javascript:void(0);\"};const _={classMap:{\"slds-p-around_small\":true},key:4};function A(e,t,r,a){const{d:s,t:l,st:i,b:o,h:n,c:c}=e;const{_m0:u}=a;return[!t.isNoAccessDuplicateError?n(\"div\",M,[l(s(t.message)),i(L(),2),n(\"a\",{attrs:S,key:3,on:{click:u||(a._m0=o(t.handleViewDuplicatesClick))}},[l(s(t.viewDuplicatesLabel))])]):null,t.isNoAccessDuplicateError?n(\"div\",_,[c(\"lightning-formatted-text\",b.default,{props:{value:t.noAccessDuplicatedErrorMessage},key:5})]):null]}var O=t.registerTemplate(A);A.stylesheets=[];A.stylesheetToken=\"lwc-34mq8t2jl07\";A.legacyStylesheetToken=\"force-dedupeContent_dedupeContent\";t.freezeTemplate(A);class j extends t.LightningElement{constructor(...e){super(...e);this._initialRender=true;this.error=void 0}renderedCallback(){if(this._initialRender){l.interaction(D.INSTRUMENTATION_NAMESPACE,D.DEDUPE_SCOPE,{},\"synthetic-click\",\"system\")}this._initialRender=false}get message(){return this.isBlocking()?m.default:v.default}get viewDuplicatesLabel(){return y.default}get isNoAccessDuplicateError(){return this.error&&this.error.potentialDuplicates&&this.error.potentialDuplicates.length===0}get noAccessDuplicatedErrorMessage(){return E.default}isBlocking(){return!!this.error&&this.error.blocksSave}handleViewDuplicatesClick(){s.createModal({header:T.default,body:{type:\"force:duplicateTabs\",attributes:this.getDedupeTabComponentAttributes(this.error)}}).catch(e=>{a.log(`Failed to create dedupe panel: ${e}`)})}getDedupeTabComponentAttributes(e){return{duplicateSet:this.getDuplicateSet(e.potentialDuplicates),navigateOnDuplicateSelected:true,duplicateErrorMessage:e.message,panelTitle:e.message?\"\":k.default,severity:this.isBlocking()?\"error\":\"warning\"}}getDuplicateSet(e){const t=[];e.forEach(e=>{t.push({entityLabel:e.entityLabel,entityLabelPlural:e.entityLabelPlural,entityName:e.entityType,recordIds:e.recordIds,pageSize:e.pageSize,currentPage:1,canShowMore:e.recordIds.length>e.pageSize,footerLabel:C.default,inContextOfComponent:\"force-dedupe-content\",themeBackgroundColor:e.themeBackgroundColor,themeIcon:e.themeIcon})});return t}}t.registerDecorators(j,{publicProps:{error:{config:0}},fields:[\"_initialRender\"]});var w=t.registerComponent(j,{tmpl:O,sel:\"force-dedupe-content\",apiVersion:59});e.default=w;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"force-dedupe-content","descriptor":"markup://force:dedupeContent","n":"force/dedupeContent","ad":[["error",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://records:lwcRecordLayout', \"records/lwcRecordLayout\",[\"exports\",\"lwc\",\"laf/pageCapability\",\"force/recordUiUtils\"],function(e,t,i,o){function n(e,t,i){var o=e?\"[\"+e+\"-host]\":\"\";return(t?\":host {\":o+\" {\")+\"display: block;}\"}var r=[n];const d={\"forcegenerated-record-layout2\":true};const s=[[\"display\",\"block\",false]];function l(e,t,i,o){const{dc:n}=e;return[t.isKomaciInLexEnabled?n(t.recordLayoutTemplate,{classMap:d,styleDecls:s,props:{collapsed:t.collapsed,standaloneMode:t.standaloneMode,numVisibleActions:t.numVisibleActions,hideDependencyLinks:t.hideDependencyLinks,hideChatterActions:t.hideChatterActions,enableActionsConfiguration:t.enableActionsConfiguration,mode:t.mode,recordId:t.recordId,recordTypeId:t.recordTypeId,truncateFields:t.truncateFields,dynamicComponentType:t.dynamicComponentType,width:t.width,layoutType:t.layoutType,objectApiName:t.objectApiName,defaultFieldValues:t.defaultFieldValues,actionNames:t.actionNames},key:0}):null]}var a=t.registerTemplate(l);l.stylesheets=[];if(r){l.stylesheets.push.apply(l.stylesheets,r)}l.stylesheetToken=\"lwc-j0a2clarti\";l.legacyStylesheetToken=\"records-lwcRecordLayout_lwcRecordLayout\";t.freezeTemplate(l);class c extends(i.CapabilityMixin(t.LightningElement)){constructor(...e){super(...e);this.GENERATED_RECORD_LAYOUT2_SELECTOR=\".forcegenerated-record-layout2\";this.objectApiName=void 0;this.recordId=void 0;this.mode=void 0;this.layoutType=void 0;this.dynamicComponentType=void 0;this.standaloneMode=void 0;this.width=void 0;this.numVisibleActions=void 0;this.hideChatterActions=void 0;this.hideDependencyLinks=false;this.actionNames=void 0;this.enableActionsConfiguration=void 0;this.collapsed=void 0;this.truncateFields=void 0;this.recordLayoutTemplate=void 0;this.defaultFieldValues=void 0;this.isKomaciInLexEnabled=void 0;this._recordTypeId=void 0}get recordTypeId(){const e=this.getRecordLayout();if(e){return e.recordTypeId}return this._recordTypeId}set recordTypeId(e){this._recordTypeId=e}refresh(){this[i.CapabilityMixin.GetRegisteredCapabilities](i.RefreshCapability).forEach(e=>e[i.RefreshCapability]())}isInEditMode(){return this.callInnerMethod(\"isInEditMode\")}getConflictingFields(){return this.callInnerMethod(\"getConflictingFields\")}resetConflictingFields(){return this.callInnerMethod(\"resetConflictingFields\")}activateEdit(e,t){return this.callInnerMethod(\"activateEdit\",e,t)}deactivateEdit(e){return this.callInnerMethod(\"deactivateEdit\",e)}getRows(){return this.callInnerMethod(\"getRows\")}focusField(e){return this.callInnerMethod(\"focusField\",e)}getFieldElement(e){return this.callInnerMethod(\"getFieldElement\",e)}getFieldElements(){return this.callInnerMethod(\"getFieldElements\")}getFieldValue(e){return this.callInnerMethod(\"getFieldValue\",e)}focusFirstEditableField(){return this.callInnerMethod(\"focusFirstEditableField\")}focusRecordLayoutItemInput(e){return this.callInnerMethod(\"focusRecordLayoutItemInput\",e)}save(e,t,i={}){return this.callInnerMethod(\"save\",e,t,i)}saveAndNew(e,t,i={}){return this.callInnerMethod(\"saveAndNew\",e,t,i)}resetErrors(){return this.callInnerMethod(\"resetErrors\")}setErrors(e){return this.callInnerMethod(\"setErrors\",e)}setRecordLayoutItemInlineEditLoadingIndicatorOn(e){return this.callInnerMethod(\"setRecordLayoutItemInlineEditLoadingIndicatorOn\",e)}setRecordLayoutItemInlineEditLoadingIndicatorOff(e){return this.callInnerMethod(\"setRecordLayoutItemInlineEditLoadingIndicatorOff\",e)}focusRecordLayoutItemInlineEditTrigger(e){return this.callInnerMethod(\"focusRecordLayoutItemInlineEditTrigger\",e)}toggleRecordLayoutSectionCollapsedById(e){return this.callInnerMethod(\"toggleRecordLayoutSectionCollapsedById\",e)}updateFields(e){return this.callInnerMethod(\"updateFields\",e)}toggleShowAllFieldsForMobile(){return this.callInnerMethod(\"toggleShowAllFieldsForMobile\")}getIsViewButtonVisible(){return this.callInnerMethod(\"getIsViewButtonVisible\")}areRequiredFieldsPresent(){const e=this.getRecordLayout()?this.getRecordLayout().layoutFieldMetadata:null;if(e){return e&&e.requiredFields?e.requiredFields.length>0:false}return false}render(){if(this.recordLayoutTemplate&&!this.isKomaciInLexEnabled){return this.recordLayoutTemplate}return a}callInnerMethod(e,...t){const i=this.getRecordLayout();if(i&&i[e]){return i[e](...t)}return undefined}getRecordLayout(){return this.template.querySelector(this.GENERATED_RECORD_LAYOUT2_SELECTOR)}connectedCallback(){this[i.CapabilityMixin.ExposeCapabilities]({[i.RefreshCapability]:this.refresh.bind(this)});this[i.CapabilityMixin.EnableListener](i.RefreshCapability)}disconnectedCallback(){this[i.CapabilityMixin.ConcealCapabilities]()}_fireRecordLayoutLoadErrorEvent(e){const t=new CustomEvent(o.RecordUiConstants.RECORD_LAYOUT_LOADERROR,{bubbles:true,composed:true,cancelable:true,detail:{message:o.RecordErrorsLibrary.onLoadErrorMsg(e,this.objectApiName)}});this.dispatchEvent(t)}}t.registerDecorators(c,{publicProps:{objectApiName:{config:0},recordId:{config:0},mode:{config:0},layoutType:{config:0},dynamicComponentType:{config:0},standaloneMode:{config:0},width:{config:0},numVisibleActions:{config:0},hideChatterActions:{config:0},hideDependencyLinks:{config:0},actionNames:{config:0},enableActionsConfiguration:{config:0},collapsed:{config:0},truncateFields:{config:0},recordLayoutTemplate:{config:0},defaultFieldValues:{config:0},isKomaciInLexEnabled:{config:0},recordTypeId:{config:3}},publicMethods:[\"refresh\",\"isInEditMode\",\"getConflictingFields\",\"resetConflictingFields\",\"activateEdit\",\"deactivateEdit\",\"getRows\",\"focusField\",\"getFieldElement\",\"getFieldElements\",\"getFieldValue\",\"focusFirstEditableField\",\"focusRecordLayoutItemInput\",\"save\",\"saveAndNew\",\"resetErrors\",\"setErrors\",\"setRecordLayoutItemInlineEditLoadingIndicatorOn\",\"setRecordLayoutItemInlineEditLoadingIndicatorOff\",\"focusRecordLayoutItemInlineEditTrigger\",\"toggleRecordLayoutSectionCollapsedById\",\"updateFields\",\"toggleShowAllFieldsForMobile\",\"getIsViewButtonVisible\",\"areRequiredFieldsPresent\"],fields:[\"GENERATED_RECORD_LAYOUT2_SELECTOR\",\"_recordTypeId\"]});var u=t.registerComponent(c,{tmpl:a,sel:\"records-lwc-record-layout\",apiVersion:59});e.default=u;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"records-lwc-record-layout","descriptor":"markup://records:lwcRecordLayout","n":"records/lwcRecordLayout","ad":[["objectApiName",null,"G",false],["recordId",null,"G",false],["mode",null,"G",false],["layoutType",null,"G",false],["dynamicComponentType",null,"G",false],["standaloneMode",null,"G",false],["width",null,"G",false],["numVisibleActions",null,"G",false],["hideChatterActions",null,"G",false],["hideDependencyLinks",null,"G",false,false],["actionNames",null,"G",false],["enableActionsConfiguration",null,"G",false],["collapsed",null,"G",false],["truncateFields",null,"G",false],["recordLayoutTemplate",null,"G",false],["defaultFieldValues",null,"G",false],["isKomaciInLexEnabled",null,"G",false],["recordTypeId",null,"G",false]]},{"xs":"P","co":"function() { $A.componentService.addModule('markup://emailui:gptProductSearchModal', \"emailui/gptProductSearchModal\",[\"exports\",\"lwc\",\"lightning/modalHeader\",\"lightning/recordPicker\",\"lightning/modalBody\",\"lightning/button\",\"lightning/modalFooter\",\"lightning/modal\",\"@salesforce/label/SalesEmailAssistant.productSearchHeader\",\"@salesforce/label/SalesEmailAssistant.productSearchDescription\",\"@salesforce/label/SalesEmailAssistant.productSearchInputTitle\",\"@salesforce/label/SalesEmailAssistant.productSearchInputPlaceHolder\",\"@salesforce/label/SalesEmailAssistant.cancel\",\"@salesforce/label/SalesEmailAssistant.continueButton\",\"lightning/uiGraphQLApi\",\"runtime_sales_engagement/gptInstrumentationUtils\"],function(e,t,l,a,r,o,n,i,c,s,d,u,h,g,p,m){function f(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var b=f(l);var y=f(a);var P=f(r);var v=f(o);var S=f(n);var k=f(i);var C=f(c);var I=f(s);var q=f(d);var _=f(u);var D=f(h);var M=f(g);const A={key:1};const Q={classMap:{\"slds-text-heading_small\":true},key:2};const x={key:4};const B={\"slds-m-right_small\":true};function E(e,t,l,a){const{c:r,d:o,t:n,h:i,b:c}=e;const{_m0:s,_m1:d,_m2:u}=a;return[r(\"lightning-modal-header\",b.default,{props:{label:t.labels.productSearchHeader},key:0}),r(\"lightning-modal-body\",P.default,A,[i(\"div\",Q,[n(o(t.labels.productSearchDescription))]),r(\"lightning-record-picker\",y.default,{props:{label:t.labels.productSearchInputTitle,placeholder:t.labels.productSearchInputPlaceHolder,objectApiName:\"Product2\",required:true},key:3,on:{change:s||(a._m0=c(t.handleProductSearchChange))}})]),r(\"lightning-modal-footer\",S.default,x,[r(\"lightning-button\",v.default,{classMap:B,props:{label:t.labels.cancel,title:t.labels.cancel},key:5,on:{click:d||(a._m1=c(t.handleCancel))}}),r(\"lightning-button\",v.default,{props:{variant:\"brand\",label:t.labels.continueButton,title:t.labels.continueButton,disabled:t.disableButton},key:6,on:{click:u||(a._m2=c(t.handleContinue))}})])]}var H=t.registerTemplate(E);E.stylesheets=[];E.stylesheetToken=\"lwc-7ivoh85ttmh\";E.legacyStylesheetToken=\"emailui-gptProductSearchModal_gptProductSearchModal\";t.freezeTemplate(E);class N extends k.default{constructor(...e){super(...e);this.selectedProductId=void 0;this.selectedProductName=void 0;this.selectedProductDescription=void 0;this.query=undefined;this.openModalCallback=void 0;this.loggingContext=void 0;this.labels={productSearchHeader:C.default,productSearchDescription:I.default,productSearchInputTitle:q.default,productSearchInputPlaceHolder:_.default,cancel:D.default,continueButton:M.default}}renderedCallback(){if(this.openModalCallback){this.openModalCallback(this)}}get disableButton(){return!this.selectedProductId}handleProductSearchChange(e){if(\"recordId\"in e.detail){this.selectedProductId=e.detail.recordId}else{this.selectedProductId=null}}handleCancel(){this.close()}handleContinue(){this.triggerQuery(this.selectedProductId)}triggerQuery(e){if(e){const t=this.generateQuery(e);this.query=p.gql`\n            ${t}\n        `}}generateQuery(e){return`query ProductNameDetails {uiapi {query {\\n                    Product2(where: { Id: { eq: \"${e}\" } }) {\\n                        edges {node {\\n                            Name {value}\\n                            Description {value}\\n                    }}}}}}`}onGraphQL(e){if(this.query){if(e.errors){const t={error:e.errors,loggingContext:this.loggingContext};m.logErrorQueryingProducts(\"emailui-gpt-product-selection-menu\",t);return}if(e.data){const t=e.data?.uiapi?.query?.Product2?.edges;if(t&&t.length>0){const e={selectedProductName:t[0].node.Name.value,selectedProductDescription:t[0].node.Description.value};this.close(e)}}}}}t.registerDecorators(N,{publicProps:{openModalCallback:{config:0},loggingContext:{config:0}},track:{query:1},wire:{onGraphQL:{adapter:p.graphql,dynamic:[\"query\"],method:1,config:function(e){return{query:e.query}}}},fields:[\"selectedProductId\",\"selectedProductName\",\"selectedProductDescription\",\"labels\"]});var T=t.registerComponent(N,{tmpl:H,sel:\"emailui-gpt-product-search-modal\",apiVersion:59});e.default=T;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"emailui-gpt-product-search-modal","descriptor":"markup://emailui:gptProductSearchModal","n":"emailui/gptProductSearchModal","ad":[["openModalCallback",null,"G",false],["loggingContext",null,"G",false]]},{"xs":"P","co":"function() { $A.componentService.addModule('markup://lightning:popoverUtils', \"lightning/popoverUtils\",[\"exports\"],function(t){const T={TOP_LEFT:\"top left\",TOP_START:\"top start\",TOP:\"top\",TOP_RIGHT:\"top right\",TOP_END:\"top end\",RIGHT_TOP:\"right top\",RIGHT:\"right\",RIGHT_BOTTOM:\"right bottom\",BOTTOM_RIGHT:\"bottom right\",BOTTOM:\"bottom\",BOTTOM_LEFT:\"bottom left\",LEFT_BOTTOM:\"left bottom\",LEFT:\"left\",LEFT_TOP:\"left top\"};const o={SMALL:\"small\",MEDIUM:\"medium\",LARGE:\"large\",FULL:\"full\"};t.ALIGNMENT_OPTIONS=T;t.SIZE_OPTIONS=o;Object.defineProperty(t,\"__esModule\",{value:true})});\n}","ce":"lightning-popover-utils","descriptor":"markup://lightning:popoverUtils","n":"lightning/popoverUtils"},{"xs":"P","co":"function() { $A.componentService.addModule('markup://runtime_thp_learning:sidePanelApiPrivate', \"runtime_thp_learning/sidePanelApiPrivate\",[\"exports\",\"@salesforce/accessCheck/TrailheadOnLightning.canShowNewSidePanel\",\"o11y/client\",\"runtime_thp_learning/sidePanelConstants\"],function(e,t,n,r){function a(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var i=a(t);let o;let s;const c=n.getInstrumentation(r.METRIC_NAME_FOR_SIDE_PANEL_FRAMEWORK_COMPONENTS);const l=i.default;const u=\"API\";function f(){o=new Promise(e=>s=e)}f();function g(e){e.setStateChangeListener(_);s(e);_(e.getState())}function h(){f()}async function d(){const e=await o;return e}async function p(...e){let t=true;try{const t=await d();const n=t.getState();await t.open(...e);const r=t.getState();return[n,r]}catch(e){c.error(`error invoking sidepanel 'open' API: ${e}`);t=false;throw e}finally{c.incrementCounter(u,1,!t,{name:\"open\"})}}async function y(){let e=true;try{const e=await d();const t=e.getState();await e.close();const n=e.getState();return[t,n]}catch(t){c.error(`error invoking sidepanel 'close' API: ${t}`);e=false;throw t}finally{c.incrementCounter(u,1,!e,{name:\"close\"})}}async function P(){let e=true;try{const e=await d();return e.getState()}catch(t){c.error(`error invoking sidepanel 'getState' API: ${t}`);e=false;throw t}finally{c.incrementCounter(u,1,!e,{name:\"getState\"})}}const S=[];let w;function C(e){if(typeof e!==\"function\"){throw new Error(\"sidePanelApi.subscribeToStateChange: Invalid listener provided\")}S.push(e);if(w){Promise.resolve().then(()=>{try{e(w)}catch(t){c.error(`error invoking new sidePanel stateChange listener ${e}`)}})}return{unsubscribe(){const t=S.indexOf(e);if(t>-1){S.splice(t,1)}}}}function _(e){w=e;S.forEach(t=>{try{t(e)}catch(e){c.error(`error invoking sidePanel stateChange listener ${t}`)}})}e.close=y;e.getState=P;e.isEnabled=l;e.open=p;e.registerInstance=g;e.subscribeToStateChange=C;e.unregisterInstance=h;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"runtime_thp_learning-side-panel-api-private","descriptor":"markup://runtime_thp_learning:sidePanelApiPrivate","n":"runtime_thp_learning/sidePanelApiPrivate"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://interop:recordEditForm', \"interop/recordEditForm\",[\"exports\",\"lwc\",\"lightning/recordEditFormEdit\",\"lightning/recordEditFormCreate\",\"lightning/fieldUtils\"],function(e,t,r,o,i){function d(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var n=d(r);var s=d(o);const l={key:1};const a=[];const c={key:3};function m(e,t,r,o){const{b:i,s:d,c:m}=e;const{_m0:p,_m1:f,_m2:y,_m3:u}=o;return[t.recordId?m(\"lightning-record-edit-form-edit\",n.default,{props:{recordId:t.recordId,objectApiName:t.objectApiName,layoutType:t.layoutType,optionalFields:t.optionalFields,recordTypeId:t.recordTypeId,formClass:t.formClass,density:t.formDensity},key:0,on:{load:p||(o._m0=i(t.handleLoad)),error:f||(o._m1=i(t.handleError))}},[d(\"\",l,a,r)]):null,!t.recordId?m(\"lightning-record-edit-form-create\",s.default,{props:{objectApiName:t.objectApiName,layoutType:t.layoutType,optionalFields:t.optionalFields,recordTypeId:t.recordTypeId,formClass:t.formClass,density:t.formDensity},key:2,on:{load:y||(o._m2=i(t.handleLoad)),error:u||(o._m3=i(t.handleError))}},[d(\"\",c,a,r)]):null]}var p=t.registerTemplate(m);m.slots=[\"\"];m.stylesheets=[];m.stylesheetToken=\"lwc-2b02645h8ps\";m.legacyStylesheetToken=\"interop-recordEditForm_recordEditForm\";t.freezeTemplate(m);class f extends t.LightningElement{constructor(...e){super(...e);this.fieldNames=void 0;this.recordTypeId=null;this.formClass=void 0;this.recordId=null;this.objectApiName=null;this.layoutType=\"Full\";this.optionalFields=[];this.formDensity=i.densityValues.AUTO}get density(){return this.formDensity}set density(e){this.formDensity=e}submit(e){this.form.submit(e)}get form(){if(this.recordId){return this.template.querySelector(\"lightning-record-edit-form-edit\")}return this.template.querySelector(\"lightning-record-edit-form-create\")}handleLoad(e){this.dispatchEvent(new CustomEvent(\"load\",{detail:e.detail}))}handleError(e){this.dispatchEvent(new CustomEvent(\"error\",{detail:e.detail}))}}t.registerDecorators(f,{publicProps:{fieldNames:{config:0},recordTypeId:{config:0},formClass:{config:0},recordId:{config:0},objectApiName:{config:0},layoutType:{config:0},optionalFields:{config:0},density:{config:3}},publicMethods:[\"submit\"],fields:[\"formDensity\"]});var y=t.registerComponent(f,{tmpl:p,sel:\"interop-record-edit-form\",apiVersion:59});e.default=y;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"interop-record-edit-form","descriptor":"markup://interop:recordEditForm","n":"interop/recordEditForm","mv":41.0,"ad":[["fieldNames",null,"G",false],["recordTypeId",null,"G",false],["formClass",null,"G",false],["recordId",null,"G",false],["objectApiName",null,"G",true],["layoutType",null,"G",false,"Full"],["optionalFields",null,"G",false,[]],["density",null,"G",false]]},{"xs":"P","co":"function() { $A.componentService.addModule('markup://lightning:recordEditFormEdit', \"lightning/recordEditFormEdit\",[\"exports\",\"lwc\",\"@salesforce/label/LightningRecordEditForm.invalidID\",\"lightning/baseRecordForm\",\"lightning/uiRecordApi\",\"lightning/uiObjectInfoApi\",\"lightning/uiLayoutApi\",\"laf/transformWire\"],function(e,t,d,r,n,i,o,a){function l(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var c=l(d);var u=l(r);const s={novalidate:\"\"};const p=[];function f(e,t,d,r){const{b:n,s:i,h:o}=e;const{_m0:a,_m1:l,_m2:c,_m3:u,_m4:f,_m5:y,_m6:m,_m7:h}=r;return[o(\"form\",{className:t.formClass,attrs:s,key:0,on:{click:a||(r._m0=n(t.handleSubmit)),registeroutputfield:l||(r._m1=n(t.handleRegister)),registerinputfield:c||(r._m2=n(t.handleRegister)),change:u||(r._m3=n(t.handleChange)),registerfielddependency:f||(r._m4=n(t.registerDependentField)),updatedependentfields:y||(r._m5=n(t.updateDependentFields)),error:m||(r._m6=n(t.handleError))}},[i(\"\",{key:1,on:{slotchange:h||(r._m7=n(t.handleRegister))}},p,d)])]}var y=t.registerTemplate(f);f.slots=[\"\"];f.stylesheets=[];f.stylesheetToken=\"lwc-2nhai9par2f\";f.legacyStylesheetToken=\"lightning-recordEditFormEdit_recordEditFormEdit\";t.freezeTemplate(f);class m extends u.default{constructor(...e){super(...e);this.recordId=null;this.recordTypeId=null;this.objectApiName=null;this.layoutType=\"Full\";this.optionalFields=[];this.wiredRecordId=void 0;this.wiredLayoutType=void 0;this.wiredObjectApiName=void 0;this.wiredOptionalFields=void 0;this.wiredGetRecordConfig=void 0;this.wiredGetRecord=void 0;this.wiredObjectInfo=void 0;this.wiredIsLayoutableEntity=void 0;this.wiredLayoutConfig=void 0;this.wiredLayout=void 0;this.wiredLayoutUserState=void 0;this.wiredObjectApiNames=void 0;this.wiredObjectInfos=void 0;this.wiredRecordUi=void 0;this.wiredRecordTypeId=void 0}handleRecordIdError({error:e}){if(e){this.handleErrors({message:c.default})}}wiredPicklistValues(e){this.handlePicklistValues(e)}handleRecordUiData(e){if(e.data){const{response:t}=e.data;this.handleData(t)}}handleRecordError(e){this.handleErrors(e.data?.response?.error)}handleObjectInfoError(e){this.handleErrors(e.data?.response?.error)}handleObjectInfosError(e){this.handleErrors(e.data?.response?.error)}handleLayoutError(e){this.handleErrors(e.data?.response?.error)}handleLayoutUserStateError(e){this.handleErrors(e.data?.response?.error)}}t.registerDecorators(m,{publicProps:{recordId:{config:0},recordTypeId:{config:0},objectApiName:{config:0},layoutType:{config:0},optionalFields:{config:0}},wire:{wiredRecordId:{adapter:a.convertRecordId,dynamic:[\"recordId\"],config:function(e){return{recordId:e.recordId}}},handleRecordIdError:{adapter:a.convertRecordId,dynamic:[\"recordId\"],method:1,config:function(e){return{recordId:e.recordId}}},wiredLayoutType:{adapter:a.getLayoutType,dynamic:[\"layoutType\"],config:function(e){return{layoutType:e.layoutType}}},wiredObjectApiName:{adapter:a.getObjectApiName,dynamic:[\"objectApiName\"],config:function(e){return{objectApiName:e.objectApiName}}},wiredOptionalFields:{adapter:a.transformOptionalFields,dynamic:[\"objectApiName\",\"optionalFields\"],config:function(e){let t=e.wiredObjectApiName;return{objectApiName:t!=null?t.data:undefined,optionalFields:e.optionalFields}}},wiredGetRecordConfig:{adapter:a.delayedTransform,dynamic:[\"recordId\",\"layoutTypes\",\"optionalFields\"],config:function(e){let t=e.wiredRecordId;let d=e.wiredLayoutType;let r=e.wiredOptionalFields;return{recordId:t!=null?t.data:undefined,layoutTypes:d!=null?d.data:undefined,optionalFields:r!=null?r.data:undefined}}},wiredGetRecord:{adapter:n.getRecord,dynamic:[\"recordId\",\"layoutTypes\",\"optionalFields\"],config:function(e){let t=e.wiredGetRecordConfig;let d=e.wiredGetRecordConfig;let r=e.wiredGetRecordConfig;return{modes:\"View\",recordId:t!=null&&(t=t.data)!=null?t.recordId:undefined,layoutTypes:d!=null&&(d=d.data)!=null?d.layoutTypes:undefined,optionalFields:r!=null&&(r=r.data)!=null?r.optionalFields:undefined}}},wiredObjectInfo:{adapter:i.getObjectInfo,dynamic:[\"objectApiName\"],config:function(e){let t=e.wiredObjectApiName;return{objectApiName:t!=null?t.data:undefined}}},wiredIsLayoutableEntity:{adapter:a.isLayoutableEntity,dynamic:[\"objectInfo\"],config:function(e){let t=e.wiredObjectInfo;return{objectInfo:t!=null?t.data:undefined}}},wiredLayoutConfig:{adapter:a.delayedTransform,dynamic:[\"record\",\"objectApiName\",\"layoutType\",\"isLayoutable\"],config:function(e){let t=e.wiredGetRecord;let d=e.wiredObjectApiName;let r=e.wiredLayoutType;let n=e.wiredIsLayoutableEntity;return{record:t!=null?t.data:undefined,objectApiName:d!=null?d.data:undefined,layoutType:r!=null?r.data:undefined,isLayoutable:n!=null&&(n=n.data)!=null?n.layoutable:undefined}}},wiredLayout:{adapter:o.getLayout,dynamic:[\"objectApiName\",\"recordTypeId\",\"layoutType\"],config:function(e){let t=e.wiredLayoutConfig;let d=e.wiredLayoutConfig;let r=e.wiredLayoutType;return{mode:\"View\",objectApiName:t!=null&&(t=t.data)!=null?t.objectApiName:undefined,recordTypeId:d!=null&&(d=d.data)!=null&&(d=d.record)!=null?d.recordTypeId:undefined,layoutType:r!=null?r.data:undefined}}},wiredLayoutUserState:{adapter:o.getLayoutUserState,dynamic:[\"objectApiName\",\"recordTypeId\",\"layoutType\"],config:function(e){let t=e.wiredLayoutConfig;let d=e.wiredLayout;let r=e.wiredLayoutType;return{mode:\"View\",objectApiName:t!=null&&(t=t.data)!=null?t.objectApiName:undefined,recordTypeId:d!=null&&(d=d.data)!=null?d.recordTypeId:undefined,layoutType:r!=null?r.data:undefined}}},wiredObjectApiNames:{adapter:a.getRecordUiObjectApiNames,dynamic:[\"objectInfo\",\"layout\",\"recordFields\"],config:function(e){let t=e.wiredObjectInfo;let d=e.wiredLayout;let r=e.wiredGetRecord;return{objectInfo:t!=null?t.data:undefined,layout:d!=null?d.data:undefined,recordFields:r!=null&&(r=r.data)!=null?r.fields:undefined}}},wiredObjectInfos:{adapter:i.getObjectInfos,dynamic:[\"objectApiNames\"],config:function(e){let t=e.wiredObjectApiNames;return{objectApiNames:t!=null?t.data:undefined}}},wiredRecordUi:{adapter:a.synthesizeGetRecordUiData,dynamic:[\"record\",\"objectInfo\",\"objectInfos\",\"layout\",\"layoutUserState\"],config:function(e){let t=e.wiredGetRecord;let d=e.wiredObjectInfo;let r=e.wiredObjectInfos;let n=e.wiredLayout;let i=e.wiredLayoutUserState;return{record:t!=null?t.data:undefined,objectInfo:d!=null?d.data:undefined,objectInfos:r!=null?r.data:undefined,layout:n!=null?n.data:undefined,layoutUserState:i!=null?i.data:undefined}}},wiredRecordTypeId:{adapter:a.getRecordTypeIdFromRecordUiEdit,dynamic:[\"recordId\",\"recordUi\",\"recordTypeId\"],config:function(e){let t=e.wiredRecordId;let d=e.wiredRecordUi;return{recordId:t!=null?t.data:undefined,recordUi:d!=null?d.data:undefined,recordTypeId:e.recordTypeId}}},wiredPicklistValues:{adapter:i.getPicklistValuesByRecordType,dynamic:[\"objectApiName\",\"recordTypeId\"],method:1,config:function(e){let t=e.wiredObjectApiName;let d=e.wiredRecordTypeId;return{objectApiName:t!=null?t.data:undefined,recordTypeId:d!=null?d.data:undefined}}},handleRecordUiData:{adapter:a.actionsIdentity,dynamic:[\"response\"],method:1,config:function(e){return{response:e.wiredRecordUi}}},handleRecordError:{adapter:a.actionsIdentity,dynamic:[\"response\"],method:1,config:function(e){return{response:e.wiredGetRecord}}},handleObjectInfoError:{adapter:a.actionsIdentity,dynamic:[\"response\"],method:1,config:function(e){return{response:e.wiredObjectInfo}}},handleObjectInfosError:{adapter:a.actionsIdentity,dynamic:[\"response\"],method:1,config:function(e){return{response:e.wiredObjectInfos}}},handleLayoutError:{adapter:a.actionsIdentity,dynamic:[\"response\"],method:1,config:function(e){return{response:e.wiredLayout}}},handleLayoutUserStateError:{adapter:a.actionsIdentity,dynamic:[\"response\"],method:1,config:function(e){return{response:e.wiredLayoutUserState}}}}});var h=t.registerComponent(m,{tmpl:y,sel:\"lightning-record-edit-form-edit\",apiVersion:59});e.default=h;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"lightning-record-edit-form-edit","descriptor":"markup://lightning:recordEditFormEdit","n":"lightning/recordEditFormEdit","ad":[["recordId",null,"G",false],["recordTypeId",null,"G",false],["objectApiName",null,"G",true],["layoutType",null,"G",false,"Full"],["optionalFields",null,"G",false,[]]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://force:messageServiceUtils', \"force/messageServiceUtils\",[\"exports\",\"aura\",\"lightning/messageServiceInternal\",\"force/messageServiceWindowBridge\"],function(e,n,s,t){const r={};function i(e){if(typeof e!==\"string\"||e.length<1){throw new Error(\"Lightning Message Service - invalid MessageChannel reference\")}const n=l(e);const i=n.namespace;const a=n.apiName;const o=n.descriptor;if(!r[o]){const n=u(o);if(!n){throw new Error(\"Lightning Message Service - unrecognized MessageChannel reference: \"+e)}if(n.namespace!==i){throw new Error(\"Lightning Message Service - LightningMessageChannel module contains invalid namespace.\")}if(n.apiName!==a){throw new Error(\"Lightning Message Service - LightningMessageChannel module contains invalid name.\")}const c=s.createMessageChannel();t.registerMessageChannel(c,n);r[o]=c}return r[o]}const a=\"__\";const o=\"c\";const c=\"__c\";const g=\"__LightningMessageChannel__\";function l(e){if(!e||e.length<1){throw new Error(\"Lightning Message Service: invalid message channel reference\")}const n=e.endsWith(c);const s=n?e.substring(0,e.length-c.length):e;const t=h(s);const r=d(s);const i=p(n,r);const a=t+\"/\"+g+i;return{namespace:t,developerName:r,apiName:i,descriptor:a}}function u(e){if(!f(e)){throw new Error(\"Lightning Message Service: unable to evaluate non-LMS descriptor\")}if(!n.hasModule(e)){return null}const s=n.getModule(e);const t=s!==undefined&&Object.getOwnPropertyNames(s).length===2&&Object.prototype.hasOwnProperty.call(s,\"default\")&&s.__esModule;return t?s.default:s}function f(e){if(typeof e!==\"string\"){return false}const n=e.split(\"/\");if(n.length!==2){return false}return n[1].startsWith(g)}function h(e){const n=e.indexOf(a);if(n>-1){return e.substring(0,n)}return o}function d(e){const n=e.indexOf(a);if(n>-1){return e.substring(n+a.length)}return e}function p(e,n){if(e){return n+c}return n}function M(e){return i(e)}function m(e,n,s){if(typeof e!==\"string\"||e.length<1){throw new Error(\"Lightning Message Service: invalid namespace param\")}if(typeof n!==\"string\"||n.length<1){throw new Error(\"Lightning Message Service: invalid name param\")}if(typeof s!==\"function\"){throw new Error(\"Lightning Message Service: invalid callback param\")}const t=u(e+\"/\"+g+n);if(t){if(!t.isExposed){s.call(undefined,{status:\"error\",message:\"MessageChannel is not exposed\"})}else{s.call(undefined,{status:\"success\",channel:i(e+a+n)})}}else{v(e,n,s)}}function v(e,s,t){const r=e+\"/\"+g+s;n.getDefinition(r.replace(\"/\",\":\"),n=>{if(!n){t.call(undefined,{status:\"error\",message:\"MessageChannel not available\"});return}const o=u(r);if(!o.isExposed){t.call(undefined,{status:\"error\",message:\"MessageChannel is not exposed\"})}else{t.call(undefined,{status:\"success\",channel:i(e+a+s)})}})}e.evaluateMessageChannelModule=u;e.getGlobalMessageChannelByName=m;e.getPlatformMessageChannel=M;e.parseMessageChannelRef=l;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"force-message-service-utils","descriptor":"markup://force:messageServiceUtils","n":"force/messageServiceUtils"},{"xs":"P","co":"function() { $A.componentService.addModule('markup://feeds_chat:dynamicMessage', \"feeds_chat/dynamicMessage\",[\"exports\",\"lwc\",\"feeds_chat/common\",\"@salesforce/loader\",\"feeds_chat/messageLibrary\"],function(e,t,s,a,n){function i(e,t,s){var a=e?\"[\"+e+\"]\":\"\";return\".dynamic-message\"+a+\" {width: 100%;}\"}var r=[i];const o={classMap:{\"dynamic-message\":true},context:{lwc:{dom:\"manual\"}},key:0};function c(e,t,s,a){const{h:n}=e;return[n(\"div\",o)]}var l=t.registerTemplate(c);c.stylesheets=[];if(r){c.stylesheets.push.apply(c.stylesheets,r)}c.stylesheetToken=\"lwc-5nlrp6hi8cj\";c.legacyStylesheetToken=\"feeds_chat-dynamicMessage_dynamicMessage\";t.freezeTemplate(c);function d(e){const t=e.indexOf(\"/\");const a=e.substring(0,t);let n=e.substring(t+1);n=s.camelToKebabCase(n);return a+\"-\"+n}function m(e){switch(e){case\"feeds_chat/messageActionable\":return a.load(\"feeds_chat/messageActionable\");case\"feeds_chat/messageStatus\":return a.load(\"feeds_chat/messageStatus\");case\"feeds_chat/messageText\":return a.load(\"feeds_chat/messageText\");default:{return s.tryCatch(()=>a.load(e??\"feeds_chat/messageText\"),()=>a.load(\"feeds_chat/messageText\"))()}}}function h(e,s){if(!e||!s)return null;return t.createElement(e,{is:s.default.default?s.default.default:s.default})}function f(e,t){return s.ifElse(e&&t instanceof HTMLElement,()=>{e.appendChild(t);return true},false)}function u(e,t){if(e&&t){Object.getOwnPropertyNames(t).forEach(a=>{s.tryCatch(()=>{e[a]=t[a]})()})}}class g extends t.LightningElement{constructor(...e){super(...e);this._message=void 0;this._initialized=false;this._pendingAttach=false;this._element=void 0;this._errorFromComponentLoad=void 0}get message(){return this._message}set message(e){this._message=n.normalizeMessage(e);s.ifVal(s.notEmpty(this._message),()=>{this.setComponentCtor(this._message)})}async setComponentCtor(e){const t=e.definition;s.tryCatch(async()=>{const e=await m(t);if(e){const s=d(t);this._element=h(s,e);if(!this._errorFromComponentLoad){u(this._element,this._message.attributes)}this.attach()}},e=>{this._errorFromComponentLoad=s.ifElse(e instanceof Error,e.message,e)})()}attach(){const e=this.template.querySelector(\".dynamic-message\");this._pendingAttach=!f(e,this._element)}renderedCallback(){s.ifVal(!this._initialized&&this._element,()=>{this._initialized=true});s.ifVal(this._pendingAttach,()=>{this._pendingAttach=false;this.attach()})}disconnectedCallback(){this._element=undefined}}t.registerDecorators(g,{publicProps:{message:{config:3}},fields:[\"_message\",\"_initialized\",\"_pendingAttach\",\"_element\",\"_errorFromComponentLoad\"]});var _=t.registerComponent(g,{tmpl:l,sel:\"feeds_chat-dynamic-message\",apiVersion:59});e.default=_;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"feeds_chat-dynamic-message","descriptor":"markup://feeds_chat:dynamicMessage","n":"feeds_chat/dynamicMessage","ad":[["message",null,"G",false]]},{"xs":"P","co":"function() { $A.componentService.addModule('markup://force:ldsNetworkFetchWithJwt', \"force/ldsNetworkFetchWithJwt\",[\"exports\"],function(e){function t(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function r(e){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?t(Object(o),!0).forEach(function(t){n(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):t(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e}function n(e,t,r){t=o(t);if(t in e){Object.defineProperty(e,t,{value:r,enumerable:true,configurable:true,writable:true})}else{e[t]=r}return e}function o(e){var t=i(e,\"string\");return typeof t===\"symbol\"?t:String(t)}function i(e,t){if(typeof e!==\"object\"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==undefined){var n=r.call(e,t||\"default\");if(typeof n!==\"object\")return n;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(t===\"string\"?String:Number)(e)}function s(e){this.message=e}s.prototype=new Error,s.prototype.name=\"InvalidCharacterError\";var a=\"undefined\"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,\"\");if(t.length%4==1)throw new s(\"'atob' failed: The string to be decoded is not correctly encoded.\");for(var r,n,o=0,i=0,a=\"\";n=t.charAt(i++);~n&&(r=o%4?64*r+n:n,o++%4)?a+=String.fromCharCode(255&r>>(-2*o&6)):0)n=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\".indexOf(n);return a};function u(e){var t=e.replace(/-/g,\"+\").replace(/_/g,\"/\");switch(t.length%4){case 0:break;case 2:t+=\"==\";break;case 3:t+=\"=\";break;default:throw\"Illegal base64url string!\"}try{return function(e){return decodeURIComponent(a(e).replace(/(.)/g,function(e,t){var r=t.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r=\"0\"+r),\"%\"+r}))}(t)}catch(e){return a(t)}}function c(e){this.message=e}function f(e,t){if(\"string\"!=typeof e)throw new c(\"Invalid token specified\");var r=!0===(t=t||{}).header?0:1;try{return JSON.parse(u(e.split(\".\")[r]))}catch(e){throw new c(\"Invalid token specified: \"+e.message)}}c.prototype=new Error,c.prototype.name=\"InvalidTokenError\";class d{constructor(e,t,r){this._token=e;this._decodedInfo=t;this._extraInfo=r}get token(){return this._token}get extraInfo(){return this._extraInfo}get decodedInfo(){return this._decodedInfo}get tokenRemainingSeconds(){return this.decodedInfo.exp-Date.now()/1e3}get isExpired(){return this.tokenRemainingSeconds<=0}}let l={trace:()=>{},debug:()=>{},info:()=>{},warn:()=>{},error:()=>{}};function h(e,t,r){const n=f(e);if(n.exp===undefined){r.warn(`\"exp\" claim is not present in the provided token.`);n.exp=Date.now()/1e3+t}return n}class p{constructor(e=5,t=120,r=l){this.limitInSeconds=e;this.defaultTokenTTLInSeconds=t;this.logger=r;this.observers=[]}get token(){return this._token}setToken(e,t){const r=h(e,this.defaultTokenTTLInSeconds,this.logger);this._token=new d(e,r,t);this.observeTokenExpiration();return this._token}removeToken(){this._token=undefined;this.clearTimeoutHandler()}subscribeToTokenNearExpiration(e){this.observers.push(e);this.observeTokenExpiration();return()=>{this.observers=this.observers.filter(t=>t!==e)}}clearTimeoutHandler(){if(this.timeoutHandler!==undefined){clearTimeout(this.timeoutHandler)}}observeTokenExpiration(){this.clearTimeoutHandler();if(this.observers.length===0||this.token===undefined){return}this.timeoutHandler=setTimeout(()=>this.notifyTokenIsExpiring(),this.computeTimeoutTimeInMs())}computeTimeoutTimeInMs(){const e=this.token.tokenRemainingSeconds;let t=e-this.limitInSeconds;return t<0?0:t*1e3}notifyTokenIsExpiring(){this.observers.forEach(e=>{try{e.call(undefined,this.token)}catch(e){this.logger.error(e.message)}})}}class g{constructor(e,t,r){this.jwtRepository=e;this.resolver=t;if(r===null||r===void 0?void 0:r.keepTokenUpdated){e.subscribeToTokenNearExpiration(()=>this.refreshToken())}}getJwt(){if(this.inflightPromise){return this.inflightPromise}const e=this.jwtRepository.token;if(e===undefined||e.isExpired){return this.refreshToken()}return e}refreshToken(){if(this.inflightPromise===undefined){this.inflightPromise=new Promise((e,t)=>{this.resolver.getJwt().then(({jwt:t,extraInfo:r})=>{this.inflightPromise=undefined;const n=this.jwtRepository.setToken(t,r);e(n)}).catch(e=>{this.inflightPromise=undefined;t(e)})})}return this.inflightPromise}get isRefreshingToken(){return this.inflightPromise!==undefined}}var m;(function(e){e[\"Fulfilled\"]=\"Fulfilled\";e[\"Unfulfilled\"]=\"Unfulfilled\";e[\"Error\"]=\"Error\";e[\"Pending\"]=\"Pending\";e[\"Stale\"]=\"Stale\"})(m||(m={}));const{isArray:w}=Array;Promise.resolve();var b;(function(e){e[e[\"RESOURCE_NOT_FOUND\"]=404]=\"RESOURCE_NOT_FOUND\"})(b||(b={}));var y;(function(e){e[\"Error\"]=\"error\"})(y||(y={}));var k;(function(e){e[e[\"NotPresent\"]=0]=\"NotPresent\";e[e[\"RefNotPresent\"]=1]=\"RefNotPresent\";e[e[\"RefPresent\"]=2]=\"RefPresent\";e[e[\"Null\"]=3]=\"Null\";e[e[\"Missing\"]=4]=\"Missing\";e[e[\"Pending\"]=5]=\"Pending\"})(k||(k={}));var v;(function(e){e[e[\"Found\"]=0]=\"Found\";e[e[\"Error\"]=1]=\"Error\";e[e[\"Null\"]=2]=\"Null\";e[e[\"NotPresent\"]=3]=\"NotPresent\";e[e[\"Stale\"]=4]=\"Stale\"})(v||(v={}));var P;(function(e){e[e[\"Ok\"]=200]=\"Ok\";e[e[\"Created\"]=201]=\"Created\";e[e[\"NoContent\"]=204]=\"NoContent\";e[e[\"NotModified\"]=304]=\"NotModified\";e[e[\"BadRequest\"]=400]=\"BadRequest\";e[e[\"Unauthorized\"]=401]=\"Unauthorized\";e[e[\"Forbidden\"]=403]=\"Forbidden\";e[e[\"NotFound\"]=404]=\"NotFound\";e[e[\"ServerError\"]=500]=\"ServerError\";e[e[\"GatewayTimeout\"]=504]=\"GatewayTimeout\"})(P||(P={}));function T(e){return typeof e===\"object\"&&e!==null&&\"namedEntries\"in e&&w(e.namedEntries)}function E(e){return typeof e===\"object\"&&e!==null&&\"isFileReference\"in e&&e.isFileReference===true}var N;(function(e){e[\"Link\"]=\"Link\";e[\"Node\"]=\"Node\";e[\"Error\"]=\"Error\";e[\"Locked\"]=\"Locked\"})(N||(N={}));var O;(function(e){e[e[\"NotPresent\"]=0]=\"NotPresent\";e[e[\"RefNotPresent\"]=1]=\"RefNotPresent\";e[e[\"RefPresent\"]=2]=\"RefPresent\";e[e[\"Null\"]=3]=\"Null\";e[e[\"Missing\"]=4]=\"Missing\";e[e[\"Pending\"]=5]=\"Pending\"})(O||(O={}));var S;(function(e){e[e[\"Missing\"]=0]=\"Missing\";e[e[\"Success\"]=1]=\"Success\";e[e[\"Error\"]=2]=\"Error\"})(S||(S={}));({state:S.Missing});var j;(function(e){e[e[\"UrlParameter\"]=0]=\"UrlParameter\";e[e[\"QueryParameter\"]=1]=\"QueryParameter\";e[e[\"Body\"]=2]=\"Body\";e[e[\"Header\"]=3]=\"Header\"})(j||(j={}));var R;(function(e){e[e[\"String\"]=0]=\"String\";e[e[\"Boolean\"]=1]=\"Boolean\";e[e[\"Number\"]=2]=\"Number\";e[e[\"Integer\"]=3]=\"Integer\";e[e[\"Unsupported\"]=4]=\"Unsupported\"})(R||(R={}));const{keys:I}=Object;const x=async(e,t)=>{const{baseUri:r,basePath:n,body:o,queryParams:i,method:s,headers:a}=e;const u=U(i);const c=`${r}${n}${u}`;let f;if(s===\"post\"&&T(o)){const e=new FormData;for(const{name:t,value:r}of o.namedEntries){if(typeof r===\"string\"||r instanceof File){e.append(t,r)}else if(E(r)){throw Error(`Luvio fetchNetworkAdapter does not support FileReference's`)}else{const n=await r.arrayBuffer();e.append(t,new File([new Uint8Array(n)],r.name,{type:r.type}))}}f=e}else if(o===null){f=null}else{f=JSON.stringify(o);a[\"Content-Type\"]=\"application/json\"}const d=await fetch(c,{method:s.toUpperCase(),headers:F(a),body:f});const{status:l,ok:h,statusText:p}=d;const g={};d.headers.forEach((e,t)=>{g[t]=e});let m=null;if(l!==204){const e=g[\"content-type\"];m=e&&e.startsWith(\"application/json\")?await d.json():await d.text()}return{body:m,status:l,statusText:p,ok:h,headers:g}};function U(e){const t=[];for(const r of I(e)){t.push(`${r}=${e[r]}`)}if(t.length>0){return`?${t.join(\"&\")}`}return\"\"}function F(e){const t=new Headers;for(const r of I(e)){t.set(r,e[r])}return t}class _ extends Error{constructor(e,t){super(e);this._error=t;this.errorType=\"networkAdapterError\";this.name=this.constructor.name}}function C(e,t){const{token:n}=t;const{headers:o}=e;const i=r(r({},o),{},{Authorization:`Bearer ${n}`});return r(r({},e),{},{headers:i})}function M(e,t){const r=async(r,n)=>{let o;try{o=await e.getJwt()}catch(e){return Promise.reject(new _(\"Unable to fetch the jwt required to make this request\",e))}let i=C(r,o);if(t){i=t(i,o)}return x(i)};return r}function A(e,t){const r=new g(new p,e);return M(r,t)}e.buildJwtNetworkAdapter=A;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"force-lds-network-fetch-with-jwt","descriptor":"markup://force:ldsNetworkFetchWithJwt","n":"force/ldsNetworkFetchWithJwt"},{"xs":"P","co":"function() { $A.componentService.addModule('markup://support:nudgeCadenceActionDropdown', \"support/nudgeCadenceActionDropdown\",[\"exports\",\"lwc\",\"lightning/menuItem\",\"lightning/menuDivider\",\"lightning/buttonMenu\",\"@salesforce/label/NudgeCadence.switchCadence\",\"@salesforce/label/NudgeCadence.dismissNudge\",\"@salesforce/label/NudgeCadence.moreOptionsButtonMenuAltText\",\"instrumentation/service\"],function(e,t,s,i,n,l,o,c,d){function a(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var u=a(s);var r=a(i);var g=a(n);var m=a(l);var b=a(o);var h=a(c);const p={props:{variant:\"compact\"},key:2};function f(e,t,s,i){const{b:n,c:l}=e;const{_m0:o,_m1:c}=i;return[l(\"lightning-button-menu\",g.default,{props:{iconSize:\"small\",iconName:\"utility:down\",menuAlignment:\"right\",alternativeText:t.labels.moreOptionsButtonMenuAltText},key:0},[l(\"lightning-menu-item\",u.default,{props:{label:t.labels.switchCadence,disabled:t.isSwitchCadenceDisabled},key:1,on:{click:o||(i._m0=n(t.handleSwitchCadence))}}),l(\"lightning-menu-divider\",r.default,p),l(\"lightning-menu-item\",u.default,{props:{label:t.labels.dismissNudge,disabled:t.isDismissNudgeDisabled},key:3,on:{click:c||(i._m1=n(t.handleDismissNudge))}})])]}var v=t.registerTemplate(f);f.stylesheets=[];f.stylesheetToken=\"lwc-5r72voigq8s\";f.legacyStylesheetToken=\"support-nudgeCadenceActionDropdown_nudgeCadenceActionDropdown\";t.freezeTemplate(f);const w={EMAIL:\"email\",CALL:\"call\"};class C extends t.LightningElement{constructor(...e){super(...e);this.labels={switchCadence:m.default,dismissNudge:b.default,moreOptionsButtonMenuAltText:h.default};this.isSwitchCadenceDisabled=void 0;this.isDismissNudgeDisabled=void 0;this._sourceObj=void 0}get sourceObj(){return this._sourceObj||w.EMAIL}set sourceObj(e){this._sourceObj=Object.values(w).includes(e)?e:null}handleDismissNudge(){const e=new CustomEvent(\"dismissnudge\",{bubbles:true,composed:true});this.dispatchEvent(e);d.interaction(\"nudge_dismiss\",this._sourceObj,{},\"synthetic-click\",\"user\")}handleSwitchCadence(){const e=new CustomEvent(\"switchcadence\",{bubbles:true,composed:true});this.dispatchEvent(e)}}t.registerDecorators(C,{publicProps:{isSwitchCadenceDisabled:{config:0},isDismissNudgeDisabled:{config:0},sourceObj:{config:3}},fields:[\"labels\",\"_sourceObj\"]});var D=t.registerComponent(C,{tmpl:v,sel:\"support-nudge-cadence-action-dropdown\",apiVersion:59});e.default=D;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"support-nudge-cadence-action-dropdown","descriptor":"markup://support:nudgeCadenceActionDropdown","n":"support/nudgeCadenceActionDropdown","ad":[["isSwitchCadenceDisabled",null,"G",false],["isDismissNudgeDisabled",null,"G",false],["sourceObj",null,"G",false]]},{"xs":"P","co":"function() { $A.componentService.addModule('markup://one:appNavBarMenuButton', \"one/appNavBarMenuButton\",[\"exports\",\"lwc\",\"lightning/icon\",\"lightning/utils\",\"force/onboardingManagerLib\",\"one/layoutContainerLib\",\"@salesforce/label/GlobalNavigation.TabNotSaved\"],function(e,t,n,s,i,o,l){function a(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var r=a(n);var u=a(l);function d(e,t,n){var s=e?\"[\"+e+\"]\":\"\";return\"div.menuItemsWrapper\"+s+\" {overscroll-behavior: contain;overflow-y: auto;}\"}var c=[d];const h={\"slds-indicator_unsaved\":true,\"slds-p-right_xx-small\":true};const m={\"slds-p-right_small\":true};const f={props:{iconName:\"utility:down\",size:\"xx-small\"},key:4};const p={classMap:{\"slds-assistive-text\":true},key:5};const b={role:\"menu\"};const g={classMap:{menuItemsWrapper:true},key:7};const w={key:8};const y=[];const M={key:9};function v(e,t,n,s){const{ti:i,b:o,t:l,h:a,d:u,c:d,s:c}=e;const{_m0:v,_m1:I,_m2:k,_m3:_,_m4:B,_m5:x,_m6:C,_m7:O,_m8:T,_m9:V,_m10:A,_m11:E}=s;return[a(\"a\",{className:t.buttonClass,attrs:{role:\"button\",draggable:\"false\",\"aria-expanded\":t.ariaExpanded,tabindex:i(t.tabIndex),\"aria-haspopup\":\"true\"},key:0,on:{click:v||(s._m0=o(t.handleButtonClick)),keydown:I||(s._m1=o(t.handleButtonKeyDown)),blur:k||(s._m2=o(t.handleBlur)),focus:_||(s._m3=o(t.handleFocus)),mousedown:B||(s._m4=o(t.handleButtonMouseDown))}},[t.unsaved?a(\"abbr\",{classMap:h,attrs:{title:t.i18n.unsaved},key:1},[l(\"*\")]):null,t.hasLabel?a(\"span\",{classMap:m,attrs:{\"aria-hidden\":t.hasAlternativeText},key:2},[l(u(t.label))]):null,d(\"lightning-icon\",r.default,{props:{iconName:t.iconName,size:\"xx-small\"},key:3}),t.showDownIcon?d(\"lightning-icon\",r.default,f):null,t.alternativeText?a(\"span\",p,[l(u(t.alternativeText))]):null]),t.state.dropdownOpened?a(\"div\",{className:t.dropdownClass,attrs:b,key:6,on:{mousedown:x||(s._m5=o(t.handleMouseDown)),mouseup:C||(s._m6=o(t.handleMouseUp)),select:O||(s._m7=o(t.handleMenuItemSelect)),blur:T||(s._m8=o(t.handleBlur)),mouseover:V||(s._m9=o(t.handleMouseOverOnMenuItem)),mouseout:A||(s._m10=o(t.allowBlur)),keydown:E||(s._m11=o(t.handleKeyOnMenuItem))}},[!t.isMore?a(\"div\",g,[c(\"\",w,y,n)]):null,t.isMore?c(\"\",M,y,n):null]):null]}var I=t.registerTemplate(v);v.slots=[\"\"];v.stylesheets=[];if(c){v.stylesheets.push.apply(v.stylesheets,c)}v.stylesheetToken=\"lwc-5o3f90k4elv\";v.legacyStylesheetToken=\"one-appNavBarMenuButton_appNavBarMenuButton\";t.freezeTemplate(v);const k={tab:9,enter:13,escape:27,space:32,end:35,home:36,left:37,up:38,right:39,down:40};function _(e){e.preventDefault();e.stopPropagation()}function B(e){return e.ctrlKey||e.shiftKey||e.altKey||e.metaKey}const x={};function C(e,t){if(x._clearBufferId){clearTimeout(x._clearBufferId)}const n=String.fromCharCode(e.keyCode);x._keyBuffer=x._keyBuffer||[];x._keyBuffer.push(n);const s=x._keyBuffer.join(\"\").toLowerCase();t.focusMenuItemWithText(s);x._clearBufferId=setTimeout(()=>{x._keyBuffer=[]},700)}function O(e,t,n){if(B(e)){return}switch(e.keyCode){case k.down:case k.up:{_(e);let s=e.keyCode===k.up?t-1:t+1;if(s>=n.getTotalMenuItems()){s=0}else if(s<0){s=n.getTotalMenuItems()-1}n.focusOnIndex(s);break}case k.home:_(e);n.focusOnIndex(0);break;case k.end:_(e);n.focusOnIndex(n.getTotalMenuItems()-1);break;case k.escape:case k.tab:if(n.isMenuVisible()){n.toggleMenuVisibility()}n.returnFocus();break;default:C(e,n)}}function T(e,t){if(B(e)){return}const n=t.isMenuVisible();switch(e.keyCode){case k.enter:case k.space:_(e);t.toggleMenuVisibility();break;case k.down:case k.up:_(e);if(!n){t.toggleMenuVisibility()}window.requestAnimationFrame(()=>{let n=0;if(e.keyCode===k.up){n=t.getTotalMenuItems()-1}if(n>=0){t.focusOnIndex(n)}});break;case k.home:_(e);t.focusOnIndex(0);break;case k.end:_(e);t.focusOnIndex(t.getTotalMenuItems()-1);break;case k.escape:case k.tab:if(n){t.toggleMenuVisibility()}break;default:if(!n&&t.showDropdownWhenTypingCharacters){t.toggleMenuVisibility()}else if(!n){break}window.requestAnimationFrame(()=>{C(e,t)})}}const V={unsaved:u.default};const A=\"one-app-nav-bar-menu-item\";class E extends t.LightningElement{constructor(){super();this.state={dropdownVisible:false,dropdownOpened:false,hasSeenAppNavDocked:false};this.menuAlignment=\"left\";this.iconName=\"utility:down\";this.disabled=false;this.nubbin=false;this.isMore=false;this.label=void 0;this.alternativeText=void 0;this.size=void 0;this.unsaved=void 0;this.dndEnabled=void 0;this.index=void 0;this.tabHoverEnabled=void 0;this.viewport=void 0;this.keyboardInterface=this.menuKeyboardInterface();this.onOrientationChange=this.setMaxDropdownHeight.bind(this)}connectedCallback(){this.classList.add(\"slds-dropdown-trigger\",\"slds-dropdown-trigger--click\");window.addEventListener(\"orientationchange\",this.onOrientationChange)}disconnectedCallback(){window.removeEventListener(\"orientationchange\",this.onOrientationChange)}get i18n(){return V}get tabIndex(){return this.disabled?-1:0}get buttonClass(){return s.classSet({\"slds-button\":true,\"slds-button_reset\":true,\"slds-context-bar__label-action\":this.isMore}).toString()}get showDownIcon(){return!(this.iconName===\"utility:down\"||this.iconName===\"utility:chevrondown\")}get iconClass(){return s.classSet({\"slds-button__icon\":true,\"slds-button__icon--right\":this.label!==null}).toString()}get dropdownClass(){return s.classSet({\"slds-dropdown\":true,\"slds-dropdown--length-with-icon-10\":this.isMore,\"slds-dropdown--left\":this.menuAlignment===\"left\",\"slds-dropdown--center\":this.menuAlignment===\"center\",\"slds-dropdown--right\":this.menuAlignment===\"right\",\"slds-dropdown--bottom\":this.menuAlignment===\"bottom-center\",\"slds-dropdown--bottom slds-dropdown--right slds-dropdown--bottom-right\":this.menuAlignment===\"bottom-right\",\"slds-dropdown--bottom slds-dropdown--left slds-dropdown--bottom-left\":this.menuAlignment===\"bottom-left\",\"slds-nubbin--top-left\":this.nubbin&&this.menuAlignment===\"left\",\"slds-nubbin--top-right\":this.nubbin&&this.menuAlignment===\"right\",\"slds-nubbin--top\":this.nubbin&&this.menuAlignment===\"center\",\"slds-nubbin--bottom-left\":this.nubbin&&this.menuAlignment===\"bottom-left\",\"slds-nubbin--bottom-right\":this.nubbin&&this.menuAlignment===\"bottom-right\",\"slds-nubbin--bottom\":this.nubbin&&this.menuAlignment===\"bottom-center\"}).toString()}get ariaExpanded(){return this.state.dropdownVisible?\"true\":\"false\"}get hasLabel(){return!!this.label}get hasAlternativeText(){return!!this.alternativeText}handleMenuItemSelect(){if(this.state.dropdownVisible){this.toggleMenuVisibility();this.focusOnButton()}}handleButtonClick(){this.allowBlur();this.toggleMenuVisibility();this.focusOnButton()}handleButtonKeyDown(e){T(e,this.keyboardInterface)}handleClickOnPrimaryTab(){this.toggleMenuVisibility();this.focusOnButton()}handleButtonMouseDown(e){const t=0;if(e.button===t){this.cancelBlur()}}focusOnButton(){this.template.querySelector(\"a[role=button]\").focus()}close(){if(this.state.dropdownVisible){this.toggleMenuVisibility()}}open(){if(!this.state.dropdownVisible){this.toggleMenuVisibility()}this.focusOnButton()}setMaxDropdownHeight(){if(this.state.dropdownVisible){const e=this.template.querySelector(this.isMore?\"div.slds-dropdown--length-with-icon-10\":\"div.menuItemsWrapper\");if(e){const t=e.getBoundingClientRect().top;const n=this.viewport?this.viewport.bottom:0;const s=window.innerHeight-t-n-(this.isMore?0:5);e.style.maxHeight=`${s}px`}}}toggleMenuVisibility(){if(!this.disabled){this.state.dropdownVisible=!this.state.dropdownVisible;if(!this.state.dropdownOpened&&this.state.dropdownVisible){this.state.dropdownOpened=true}if(this.state.dropdownVisible){this.dispatchEvent(new CustomEvent(\"open\"));window.requestAnimationFrame(this.setMaxDropdownHeight.bind(this))}else if(!this.state.hasSeenAppNavDocked&&(this.index>3||this.isMore)){i.showPrompt(\"AppNavDocked\");this.state.hasSeenAppNavDocked=true}this.classList.toggle(\"slds-is-open\")}}getMenuItems(){return this.querySelectorAll(A)}getMenuItemByIndex(e){return this.getMenuItems()[e]}findMenuItemIndex(e){const n=Array.prototype.slice.call(this.getMenuItems());const s=t.unwrap(e);for(let e=0;e<n.length;e++){if(t.unwrap(n[e])===s){return e}}return-1}findMenuItemFromEventTarget(e){let n=t.unwrap(e);while(n!==this){if(n&&n!==this.template&&n.nodeName.toLowerCase()===A){return n}if(n&&n.parentNode){n=n.parentNode}else{return null}}return null}handleMouseDown(e){const t=this.template.querySelector(\"[role=menu]\");if(e.target===t){this._preventClose=true}}handleMouseUp(){this._preventClose=false}handleKeyOnMenuItem(e){const t=this.findMenuItemFromEventTarget(e.target);if(t){O(e,this.findMenuItemIndex(t),this.keyboardInterface)}}handleMouseOverOnMenuItem(e){const t=this.findMenuItemFromEventTarget(e.target);if(t){this.cancelBlurAndFocusOnMenuItem(t)}else{this.cancelBlur()}}cancelBlurAndFocusOnMenuItem(e){this.cancelBlur();if(e){e.focus()}}handleFocus(){this.dispatchEvent(new CustomEvent(\"focus\"))}handleBlur(e){e.stopPropagation();const t=e.detail&&e.detail.relatedTarget;if(t&&t.tagName.toLowerCase()!==A){this.allowBlur()}if(this.tabHoverEnabled){const t=e.srcElement&&e.srcElement.offsetParent&&e.srcElement.offsetParent.offsetParent;const n=e.relatedTarget&&e.relatedTarget.offsetParent;if(t&&n&&t===n){return}}if(this._cancelBlur||this._preventClose){return}if(this.state.dropdownVisible){this.toggleMenuVisibility()}this.dispatchEvent(new CustomEvent(\"blur\"))}allowBlur(){this._cancelBlur=false}cancelBlur(){this._cancelBlur=true}menuKeyboardInterface(){const e=this;return{getTotalMenuItems(){return e.getMenuItems().length},focusOnIndex(t){e.cancelBlurAndFocusOnMenuItem(e.getMenuItemByIndex(t))},returnFocus(){e.focusOnButton()},isMenuVisible(){return e.state.dropdownVisible},toggleMenuVisibility(){e.toggleMenuVisibility()},focusMenuItemWithText(t){const n=Array.prototype.slice.call(e.getMenuItems()).filter(e=>{const n=e.label;return n&&n.toLowerCase().indexOf(t)===0});if(n.length>0){e.cancelBlurAndFocusOnMenuItem(n[0])}}}}}t.registerDecorators(E,{publicProps:{menuAlignment:{config:0},iconName:{config:0},disabled:{config:0},nubbin:{config:0},isMore:{config:0},label:{config:0},alternativeText:{config:0},size:{config:0},unsaved:{config:0},dndEnabled:{config:0},index:{config:0},tabHoverEnabled:{config:0}},publicMethods:[\"handleClickOnPrimaryTab\",\"close\",\"open\"],track:{state:1},wire:{viewport:{adapter:o.getViewport,config:function(e){return{}}}}});var N=t.registerComponent(E,{tmpl:I,sel:\"one-app-nav-bar-menu-button\",apiVersion:59});e.default=N;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"one-app-nav-bar-menu-button","descriptor":"markup://one:appNavBarMenuButton","n":"one/appNavBarMenuButton","ad":[["menuAlignment",null,"G",false,"left"],["iconName",null,"G",false,"utility:down"],["disabled",null,"G",false,false],["nubbin",null,"G",false,false],["isMore",null,"G",false,false],["label",null,"G",false],["alternativeText",null,"G",false],["size",null,"G",false],["unsaved",null,"G",false],["dndEnabled",null,"G",false],["index",null,"G",false],["tabHoverEnabled",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://interop:uiDuplicatesApi', \"interop/uiDuplicatesApi\",[\"exports\",\"force/ldsAdaptersUiapi\"],function(e,t){Object.defineProperty(e,\"getDuplicateConfiguration\",{enumerable:true,get:function(){return t.getDuplicateConfiguration}});Object.defineProperty(e,\"getDuplicates\",{enumerable:true,get:function(){return t.getDuplicates}});Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"interop-ui-duplicates-api","descriptor":"markup://interop:uiDuplicatesApi","n":"interop/uiDuplicatesApi"},{"xs":"P","co":"function() { $A.componentService.addModule('markup://instrumentation:componentProfiler', \"instrumentation/componentProfiler\",[\"exports\"],function(e){const n=[\"instances\"];function o(e,n){if(e==null)return{};var o=t(e,n);var i,r;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++){i=s[r];if(n.indexOf(i)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(e,i))continue;o[i]=e[i]}}return o}function t(e,n){if(e==null)return{};var o={};var t=Object.keys(e);var i,r;for(r=0;r<t.length;r++){i=t[r];if(n.indexOf(i)>=0)continue;o[i]=e[i]}return o}const i=\"ComponentProfiler\";const r=`${i}:`;const s=5e4;const l=\"navToPage\";const a=\"eptMarked\";const c=\"start\";const f=\"end\";const u={0:c,1:f};const d=[\"create\",\"render\",\"afterRender\",\"rerender\",\"unrender\",\"destroy\"];const p=[\"Constructor\",\"Render\",\"Patch\",\"ConnectedCallback\",\"RenderedCallback\",\"DisconnectedCallback\",\"ErrorCallback\",\"GlobalHydrate\",\"GlobalRehydrate\"];const m=typeof console.log===\"function\"?(...e)=>console.log(r,...e):function(){};const g=typeof console.warn===\"function\"?(...e)=>console.warn(r,...e):m;const h=typeof console.error===\"function\"?(...e)=>console.error(r,...e):m;let b=window&&window.performance&&window.performance.now?window.performance.now.bind(window.performance):Date.now.bind(Date);let P=null;let w=-1;let C=null;let v=-1;let y=null;let x=false;let L;let M;let T=false;let $=false;let A=false;let D=[];let W={};function k(e,n,o,t,i){if(x){return true}try{P=n;L=t;M=i;e.__unstable__ProfilerControl={auraProfilerControl:t,lwcProfilerControl:i,enableAuraProfiling:O,pauseAuraProfiling:_,resumeAuraProfiling:I,disableAuraProfiling:N,enableLWCProfiling:S,pauseLwcProfiling:E,resumeLwcProfiling:j,disableLWCProfiling:R,registerNotifications:G,getLastStats:H};if(!o.isOpen({fallback:false})){g('Component-level profiling has not been enabled because \"componentProfiler.instrumentation.ltng\" gate is not open.');return false}O();S();G(l,a);x=true;m(\"Component-level profiling has been enabled.\");return true}catch(e){h(\"Error occurred during initialization of ComponentProfiler. Component-level profiling is not enabled.\",e);return false}}function O(){if(T){m(\"Profiling of Aura components is already enabled.\");return}L.attachDispatcher(function e(n,o,t,i){const r=b();const s=i&&i.getGlobalId();z(r,d[n],u[o],t,s,\"Aura\",undefined,undefined)});T=true;m(\"Profiling of Aura components has been enabled.\")}function _(){if(!T){g(\"Profiling of Aura components is disabled and therefore cannot be paused.\");return false}L.disableProfiler();m(\"Profiling of Aura components has been paused.\");return true}function I(){if(!T){g(\"Profiling of Aura components is disabled and therefore cannot be resumed.\");return false}L.enableProfiler();m(\"Profiling of Aura components has been resumed.\");return true}function N(){if(!T){g(\"Profiling of Aura components is already disabled.\");return}L.disableProfiler();L.detachDispatcher();T=false;m(\"Profiling of Aura components has been disabled.\")}function S(){if($){m(\"Profiling of LWC components is already enabled.\");return}M.attachDispatcher(function e(n,o,t,i,r,s){z(b(),p[n],u[o],t,i,\"LWC\",r,s)});$=true;m(\"Profiling of LWC components has been enabled.\")}function E(){if(!$){g(\"Profiling of LWC components is disabled and therefore cannot be paused.\");return false}M.disableProfiler();m(\"Profiling of LWC components has been paused.\");return true}function j(){if(!$){g(\"Profiling of LWC components is disabled and therefore cannot be resumed.\");return false}M.enableProfiler();m(\"Profiling of LWC components has been resumed.\");return true}function R(){if(!$){g(\"Profiling of LWC components is already disabled.\");return}M.disableProfiler();M.detachDispatcher();$=false;m(\"Profiling of LWC components has been disabled.\")}function G(e,n){if(w!==-1){P.unregister(e,w)}w=P.register(e,i,F);C=e;if(v!==-1){P.unregister(n,v)}v=P.register(n,i,B);y=n;m(`Component-level profiler is listening to \"${C}\" and \"${y}\" events.`)}function z(e,n,o,t,i,r,l,a){e=Math.round(e*100)/100;D.push({ts:e,operation:n,phase:o,componentName:t,componentId:i,framework:r,renderMode:l,shadowMode:a});if(D.length>=s){_();E();g(`Paused component-level profiling due to excessive amount of logs. Log limit is ${s} logs.`);A=true}}function F(){A=false;D=[];W={};I();j()}function B(e){_();E();const t=b();W=K(D);const i=Math.ceil(b()-t);if(e){const t=e.config.context.attributes=e.config.context.attributes||{};t.componentProfilerBuildStatsDuration=i;t.componentProfilerLogLimitExceeded=A;t.componentProfilerTotalExclusiveTime=0;t.componentProfilerStats=W.map(e=>{let i=o(e,n);t.componentProfilerTotalExclusiveTime+=i.exclusiveTime;return i})}m(`Component-level stats computed in ${i}ms.`)}function H(){return W}function q(e){if(!Array.isArray(e)){return null}let n=0;for(let o=0;o<e.length;o++){const t=e[o];if(t.length===2){n+=t[1]-t[0]}}return Math.round(n*100)/100}function J(e){const{componentName:n}=e;if(typeof n!==\"string\"&&!(n instanceof String)){return true}if(n.startsWith(\"aura:\")){return true}return false}function K(e){const n=[];const o=new Map;const t=new Map;const i=[];const r={};for(let n=0;n<e.length;n++){const{componentName:t,componentId:i,phase:r}=e[n];if(!i&&r===c){if(o.has(t)){o.get(t).push(n)}else{o.set(t,[n])}}if(r===f&&o.has(t)){const n=o.get(t);if(n.length>0){const o=n.pop();e[o].componentId=i}}}for(let o=0;o<e.length;o++){const s=e[o];if(J(s)){continue}const{ts:l,framework:a,phase:u,operation:d,componentId:p,componentName:m,renderMode:g,shadowMode:h}=s;const b=t.get(`${a}|${d}|${m}|${p}`);let P=r[m];if(!P){P=r[m]={name:m,id:p,framework:a,instanceCount:1,exclusiveTime:0,renderMode:g,shadowMode:h,instances:{[`${p}`]:{operations:{[`${d}`]:{}}}}};n.push(P)}let w=P.instances[p];if(!w){w=P.instances[p]={operations:{[`${d}`]:{}}};P.instanceCount++}if(u===c){if(i.length>0){const e=i[i.length-1];const n=e.timeslices[e.timeslices.length-1];if(n.length===1){n.push(l);const o=r[e.componentName];o.exclusiveTime+=l-n[0];o.exclusiveTime=Math.round(o.exclusiveTime*100)/100}}const e={ts:l,framework:a,componentName:m,componentId:p,renderMode:g,shadowMode:h,operation:d,timeslices:[[l]]};i.push(e);if(!b){t.set(`${a}|${d}|${m}|${p}`,e)}else{const e=b.timeslices[b.timeslices.length-1];if(e.length===2){b.timeslices.push([l])}}}if(u===f){let e=false;if(b){i.splice(i.indexOf(b),1)[0];const n=b.timeslices[b.timeslices.length-1];if(n.length===1){n.push(l);e=true;P.exclusiveTime+=l-n[0];P.exclusiveTime=Math.round(P.exclusiveTime*100)/100}else if(n.length===2){b.timeslices.push([l])}w.operations[d]={timeslices:b.timeslices,exclusiveTime:q(b.timeslices)}}if(i.length>0){const n=i[i.length-1];if(e){n.timeslices.push([l])}}}}return n}function Q(){if(w!==-1){P.unregister(C,w);w=-1;C=null}if(v!==-1){P.unregister(y,v);v=-1;y=null}if(L!=null){L.disableProfiler();L.detachDispatcher();T=false;L=null}if(M!=null){M.disableProfiler();M.detachDispatcher();$=false;M=null}b=window&&window.performance&&window.performance.now?window.performance.now.bind(window.performance):Date.now.bind(Date);P=null;A=false;D=[];W={};x=false}function U(e){b=e}e._resetForTesting=Q;e._setTimerForTesting=U;e.buildStats=K;e.initialize=k;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"instrumentation-component-profiler","descriptor":"markup://instrumentation:componentProfiler","n":"instrumentation/componentProfiler"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://emailui:matchingCadencesModal', \"emailui/matchingCadencesModal\",[\"exports\",\"lwc\",\"lightning/modalHeader\",\"lightning/formattedText\",\"lightning/formattedUrl\",\"runtime_automated_actions/visualPicker\",\"lightning/modalBody\",\"lightning/button\",\"lightning/modalFooter\",\"lightning/modal\",\"@salesforce/label/EmailComposerHeaders.MatchingCadencesModalHeader\",\"@salesforce/label/EmailComposerHeaders.VisualPickerEmailLegend\",\"@salesforce/label/EmailComposerHeaders.VisualPickerLearnMore\",\"@salesforce/label/EmailComposerHeaders.DoNotEnroll\",\"@salesforce/label/EmailComposerHeaders.NextStep\",\"@salesforce/label/EmailComposerHeaders.CadenceDescription\",\"@salesforce/label/EmailComposerHeaders.CadenceModalCancel\",\"@salesforce/label/EmailComposerHeaders.CadenceModalApply\",\"@salesforce/label/EmailComposerHeaders.End\",\"@salesforce/label/EmailComposerHeaders.None\",\"@salesforce/label/EmailComposerHeaders.VisualPickerCallLegend\",\"@salesforce/i18n/locale\",\"instrumentation/service\"],function(e,t,a,l,s,n,o,i,r,c,d,p,h,m,u,f,g,b,O,_,v,C,y){function L(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var E=L(a);var k=L(l);var D=L(s);var H=L(n);var M=L(o);var S=L(i);var A=L(r);var N=L(c);var T=L(d);var j=L(p);var x=L(h);var V=L(m);var P=L(u);var w=L(f);var U=L(g);var F=L(b);var R=L(O);var B=L(_);var I=L(v);var z=L(C);const q={key:1};const G={classMap:{\"slds-m-top--small\":true},key:3};const J={key:6};const K={\"slds-float_left\":true};function Q(e,t,a,l){const{c:s,b:n,h:o}=e;const{_m0:i,_m1:r,_m2:c,_m3:d}=l;return[s(\"lightning-modal-header\",E.default,{props:{label:t.labels.modalHeader},key:0}),s(\"lightning-modal-body\",M.default,q,[s(\"lightning-formatted-text\",k.default,{props:{value:t.matchingCadenceSubHeaderText},key:2}),o(\"div\",G,[s(\"lightning-formatted-url\",D.default,{props:{value:\"https://help.salesforce.com/s/articleView?id=sf.hvs_cadences.htm&type=5\",label:t.labels.cadenceLearnMore,target:\"_blank\"},key:4,on:{click:i||(l._m0=n(t.handleLearnMore))}})]),s(\"runtime_automated_actions-visual-picker\",H.default,{props:{options:t._cadencesOptions,value:t.selectedOption,variant:\"vertical\",name:\"matchingCadencesOptionsList\",stretchAndFitOption:\"true\"},key:5,on:{change:r||(l._m1=n(t.handleOptionChanged))}})]),s(\"lightning-modal-footer\",A.default,J,[s(\"lightning-button\",S.default,{classMap:K,props:{label:t.labels.cancel},key:7,on:{click:c||(l._m2=n(t.handleCancel))}}),s(\"lightning-button\",S.default,{props:{label:t.labels.apply,variant:\"brand\"},key:8,on:{click:d||(l._m3=n(t.handleApply))}})])]}var W=t.registerTemplate(Q);Q.stylesheets=[];Q.stylesheetToken=\"lwc-6re69sph777\";Q.legacyStylesheetToken=\"emailui-matchingCadencesModal_matchingCadencesModal\";t.freezeTemplate(Q);const X={modalHeader:T.default,fieldSetEmailLegend:j.default,cadenceLearnMore:x.default,doNotEnroll:V.default,nextStep:P.default,cadenceDescription:w.default,cancel:U.default,apply:F.default,end:R.default,none:B.default,fieldSetCallLegend:I.default};const Y={EMAIL:\"email\",CALL:\"call\"};class Z extends N.default{constructor(...e){super(...e);this.labels=X;this.options=void 0;this._selectedOption=void 0;this.DO_NOT_ENROLL_VALUE=\"do_not_enroll\";this._cadencesOptions=[];this._sourceObj=void 0}connectedCallback(){this.loadActionCadencesData();y.interaction(\"open-matching-cadence-modal\",this.sourceObj,{},\"synthetic-click\",\"user\")}get sourceObj(){return this._sourceObj||Y.EMAIL}set sourceObj(e){this._sourceObj=Object.values(Y).includes(e)?e:null}get selectedOption(){return this._selectedOption?this._selectedOption:this.DO_NOT_ENROLL_VALUE}set selectedOption(e){this._selectedOption=e}get matchingCadenceSubHeaderText(){const e={email:this.labels.fieldSetEmailLegend,call:this.labels.fieldSetCallLegend};return e[this.sourceObj]}handleCancel(){this.close()}handleApply(){this.close(this.selectedOption)}handleOptionChanged(e){e.stopPropagation();this._selectedOption=e.detail.value}loadActionCadencesData(){if(Array.isArray(this.options)&&this.options.length>0){this._cadencesOptions.push({label:this.labels.doNotEnroll,value:this.DO_NOT_ENROLL_VALUE});for(const e of this.options){const t=this.formatOptionData(e);this._cadencesOptions.push(t)}}}formatOptionData(e){const t={};t.label=e.name;t.value=e.id;t.description=this.formatOptionDescription(e);if(this.selectedOption===t.value){t.checked=true}return t}formatOptionDescription(e){const t=[];const a=e.nextStepName?e.nextStepName:this.labels.end;const l=this.labels.nextStep.replace(\"{0}\",a);t.push(l);const s=e.lastViewedDateTimeStamp?this.getFormattedDate(e.lastViewedDateTimeStamp):this.labels.none;const n=this.labels.cadenceDescription.replace(\"{0}\",e.createdBy).replace(\"{1}\",s);t.push(n);return t}getFormattedDate(e){const t=new Date(e);const a={year:\"numeric\",month:\"short\",day:\"numeric\"};let l=e;try{l=t.toLocaleDateString(z.default,a)}catch(e){}return l}handleLearnMore(){y.interaction(\"matching-cadence-learn-more-link\",this.sourceObj,{},\"synthetic-click\",\"user\")}}t.registerDecorators(Z,{publicProps:{options:{config:0},sourceObj:{config:3},selectedOption:{config:3},matchingCadenceSubHeaderText:{config:1}},fields:[\"labels\",\"_selectedOption\",\"DO_NOT_ENROLL_VALUE\",\"_cadencesOptions\",\"_sourceObj\"]});var $=t.registerComponent(Z,{tmpl:W,sel:\"emailui-matching-cadences-modal\",apiVersion:59});e.default=$;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"emailui-matching-cadences-modal","descriptor":"markup://emailui:matchingCadencesModal","n":"emailui/matchingCadencesModal","ad":[["options",null,"G",false],["sourceObj",null,"G",false],["selectedOption",null,"G",false],["matchingCadenceSubHeaderText",null,"G",false]]},{"xs":"P","co":"function() { $A.componentService.addModule('markup://lst:returnNavigationCreatedRecord', \"lst/returnNavigationCreatedRecord\",[\"exports\",\"lst/listViewManagerLibrary\",\"@salesforce/client/formFactor\"],function(e,t,r){function n(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var i=n(r);function a(e,t){if(u(t.recordId)&&!c(t.objectApiName)){const r=o(t.recordId);e.navigationAPI(r,false)}return Promise.resolve()}function o(e){return{type:\"standard__recordPage\",attributes:{actionName:\"view\",recordId:e}}}function u(e){const r=e.substring(0,3);return!t.yamlConfiguration.isLookupNavigationDisabled(r,i.default)}const s={MessagingTemplate:true,MarketingAppExtension:true,MarketingAppExtAction:true,MarketingAppExtActivity:true,MarketingAppExtAssignment:true};function c(e){if(e){return!!s[e]}return false}e.default=a;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"lst-return-navigation-created-record","descriptor":"markup://lst:returnNavigationCreatedRecord","n":"lst/returnNavigationCreatedRecord"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://feeds_sorter:filter', \"feeds_sorter/filter\",[\"exports\",\"lwc\",\"lightning/menuItem\",\"lightning/buttonMenu\",\"@salesforce/label/Feeds.FakeFilterTitle\",\"feeds_sorter/util\"],function(e,t,i,s,n,l){function r(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var o=r(i);var a=r(s);var d=r(n);const h={\"feeds-filter-trigger\":true};function c(e,t,i,s){const{b:n,k:l,c:r,i:d}=e;const{_m0:c}=s;return[r(\"lightning-button-menu\",a.default,{classMap:h,props:{iconName:\"utility:filterList\",menuAlignment:t._dropdownAlignment,alternativeText:t.labels.filterFeedLabel},key:0,on:{select:c||(s._m0=n(t.handleChangeFilterSelection))}},d(t.state.options,function(e){return r(\"lightning-menu-item\",o.default,{className:e.class,props:{label:e.label,value:e.value,checked:e.selected},key:l(1,e.value)})}))]}var f=t.registerTemplate(c);c.stylesheets=[];c.stylesheetToken=\"lwc-21gahd5hl0m\";c.legacyStylesheetToken=\"feeds_sorter-filter_filter\";t.freezeTemplate(c);const u=\"changefilterselection\";const p=\"feeds-filter\";class g extends t.LightningElement{constructor(...e){super(...e);this._isDensityFilter=false;this._initialFilterOptions=void 0;this.labels={filterFeedLabel:d.default};this._dropdownAlignment=void 0;this.state={options:[]};this._density=void 0;this._feedFilter=void 0;this._selectedLabel=void 0}get density(){return this._density}set density(e){this._density=e}get feedFilter(){return this._feedFilter}set feedFilter(e){this._feedFilter=e}get selectedLabel(){return this._selectedLabel}set selectedLabel(e){this._selectedLabel=e}get filterOptions(){return this._initialFilterOptions}set filterOptions(e={}){if(!this._isDensityFilter){this._initialFilterOptions=e;this.state.options=l.getFilterOptions(this._isDensityFilter,e)}}set isDensityFilter(e){this._isDensityFilter=e;if(this._isDensityFilter){this.state.options=l.getFilterOptions(this._isDensityFilter,null)}}get isDensityFilter(){return this._isDensityFilter}get menuAlignment(){return this._menuAlignment}set menuAlignment(e){this._menuAlignment=e;this._dropdownAlignment=l.normalizeAlignment(e)}connectedCallback(){this.state.options=l.createOptionsWithOptionSelected(this.state.options,this.feedFilter||this.density);const e=l.getSelectedOptionObject(this.state.options,this.feedFilter||this.density);if(e){this._selectedLabel=e.label}this.classList.add(p)}handleChangeFilterSelection(e){const t=e.detail.value;if(!this.updateFilterOption(t)){return}this._selectedLabel=l.getSelectedOptionObject(this.state.options,t).label;const i=this.getDetailPayload();this.dispatchEvent(new CustomEvent(u,{bubbles:true,composed:true,cancelable:true,detail:i}))}updateFilterOption(e){if(this._isDensityFilter&&e!==this.density){this._density=e;this.state.options=l.createOptionsWithOptionSelected(this.state.options,this.density);return true}else if(!this._isDensityFilter&&e!==(this.feedFilter||\"AllUpdates\")){this._feedFilter=e;this.state.options=l.createOptionsWithOptionSelected(this.state.options,this.feedFilter);return true}return false}getDetailPayload(){if(this.isDensityFilter){return{density:this.density,filterBy:undefined}}return{density:undefined,filterBy:this.feedFilter===\"AllUpdates\"?undefined:this.feedFilter}}}t.registerDecorators(g,{publicProps:{density:{config:3},feedFilter:{config:3},selectedLabel:{config:3},filterOptions:{config:3},isDensityFilter:{config:3},menuAlignment:{config:3}},track:{_dropdownAlignment:1,state:1},fields:[\"_isDensityFilter\",\"_initialFilterOptions\",\"labels\",\"_density\",\"_feedFilter\",\"_selectedLabel\"]});var _=t.registerComponent(g,{tmpl:f,sel:\"feeds_sorter-filter\",apiVersion:59});e.default=_;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"feeds_sorter-filter","descriptor":"markup://feeds_sorter:filter","n":"feeds_sorter/filter","ad":[["density",null,"G",false],["feedFilter",null,"G",false],["selectedLabel",null,"G",false],["filterOptions",null,"G",false],["isDensityFilter",null,"G",false],["menuAlignment",null,"G",false]]},{"xs":"P","co":"function() { $A.componentService.addModule('markup://lst:dynamicRelatedListWithUserPrefs', \"lst/dynamicRelatedListWithUserPrefs\",[\"exports\",\"lwc\",\"lst/relatedListViewManager\",\"laf/transformWire\",\"lightning/unstable_uiRelatedListApi\",\"laf/store\"],function(e,i,t,r,s,a){function o(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var n=o(t);function d(e,i,t,r){const{b:s,c:a}=e;const{_m0:o,_m1:d,_m2:l}=r;return[i.sortWireReady?a(\"lst-related-list-view-manager\",n.default,{props:{label:i.label,parentRecordId:i.parentRecordId,parentObjectApiName:i.parentObjectApiName,pageSize:i.pageSize,sortBy:i.sortBy.data,sortByLabel:i.sortByLabel,filteredByLabels:i.filteredByLabels,actionNames:i.actionNames,primaryDisplayType:i.primaryDisplayType,relatedObjectApiName:i.relatedObjectApiName,relatedListApiName:i.relatedListApiName,listReference:i.listReference,where:i.where,objectApiNames:i.objectApiNames,orderedByInfo:i.orderedByInfo,displayColumns:i.displayColumns,userPreferences:i.userPreferences.data,configuration:i.configuration,showViewAll:i.showViewAll,drillinPageRef:i.drillinPageRef,breadcrumbs:i.breadcrumbs,secondaryDisplays:i.secondaryDisplays},key:0,on:{privatesort:o||(r._m0=s(i.handleSort)),privatecolumnresize:d||(r._m1=s(i.handleColumnResize)),privatewraptext:l||(r._m2=s(i.handleWrapText))}}):null]}var l=i.registerTemplate(d);d.stylesheets=[];d.stylesheetToken=\"lwc-3qg9fra9d4r\";d.legacyStylesheetToken=\"lst-dynamicRelatedListWithUserPrefs_dynamicRelatedListWithUserPrefs\";i.freezeTemplate(d);class c extends i.LightningElement{constructor(...e){super(...e);this.label=void 0;this.parentRecordId=void 0;this.parentObjectApiName=void 0;this.pageSize=void 0;this.sortField=void 0;this.sortFieldLabel=void 0;this.filteredByLabels=void 0;this.actionNames=void 0;this.primaryDisplayType=void 0;this.relatedObjectApiName=void 0;this.relatedListApiName=void 0;this.listReference=void 0;this.where=void 0;this.objectApiNames=void 0;this.orderedByInfo=void 0;this.displayColumns=void 0;this.configuration=void 0;this.showViewAll=void 0;this.drillinPageRef=void 0;this.preferenceId=void 0;this.breadcrumbs=void 0;this.secondaryDisplays=void 0;this.userPreferences=void 0;this.sortByWithUserPref=void 0;this.sortBy=void 0}get sortWireReady(){return this.sortBy&&this.sortBy.data!=null}handleSort(e){e.stopPropagation();const{detail:i}=e;const t={orderedBy:[{}]};if(i.qualifiedFieldApiName&&typeof i.sortDirection!==\"undefined\"){t.orderedBy[0].fieldApiName=i.qualifiedFieldApiName;t.orderedBy[0].isAscending=!(i.sortDirection===\"desc\");a.setStoreValue(this.sortBy,(t.orderedBy[0].isAscending?\"\":\"-\")+i.qualifiedFieldApiName)}this.saveRLInfo(t)}handleColumnResize(e){e.stopPropagation();const{detail:i}=e;const t={columnWidths:i.columnWidthMapping||{}};this.saveRLInfo(t)}handleWrapText(e){e.stopPropagation();const{detail:i}=e;const t={};if(i.qualifiedFieldApiName&&typeof i.wrapText!==\"undefined\"){t.columnWrap={[i.qualifiedFieldApiName]:i.wrapText}}else{t.columnWrap={}}this.saveRLInfo(t)}saveRLInfo(e){const i={preferencesId:this.preferenceId};if(e.orderedBy){i.orderedBy=e.orderedBy}if(e.columnWidths){i.columnWidths=e.columnWidths}if(e.columnWrap){i.columnWrap=e.columnWrap}s.unstable_updateRelatedListPreferences(i)}get sortByLabel(){return this.sortBy&&this.sortBy.data===this.sortField?this.sortFieldLabel:undefined}}i.registerDecorators(c,{publicProps:{label:{config:0},parentRecordId:{config:0},parentObjectApiName:{config:0},pageSize:{config:0},sortField:{config:0},sortFieldLabel:{config:0},filteredByLabels:{config:0},actionNames:{config:0},primaryDisplayType:{config:0},relatedObjectApiName:{config:0},relatedListApiName:{config:0},listReference:{config:0},where:{config:0},objectApiNames:{config:0},orderedByInfo:{config:0},displayColumns:{config:0},configuration:{config:0},showViewAll:{config:0},drillinPageRef:{config:0},preferenceId:{config:0},breadcrumbs:{config:0},secondaryDisplays:{config:0}},wire:{userPreferences:{adapter:s.unstable_getRelatedListPreferences,dynamic:[\"preferencesId\"],config:function(e){return{preferencesId:e.preferenceId}}},sortByWithUserPref:{adapter:r.dynamicRelatedListSortOverride,dynamic:[\"adminSortBy\",\"userPrefs\"],config:function(e){let i=e.userPreferences;return{adminSortBy:e.sortField,userPrefs:i!=null?i.data:undefined}}},sortBy:{adapter:a.getStoreValue,dynamic:[\"key1\",\"default\"],config:function(e){let i=e.sortByWithUserPref;return{key2:\"sortBy\",key1:e.preferenceId,default:i!=null?i.data:undefined}}}}});var f=i.registerComponent(c,{tmpl:l,sel:\"lst-dynamic-related-list-with-user-prefs\",apiVersion:59});e.default=f;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"lst-dynamic-related-list-with-user-prefs","descriptor":"markup://lst:dynamicRelatedListWithUserPrefs","n":"lst/dynamicRelatedListWithUserPrefs","ad":[["label",null,"G",false],["parentRecordId",null,"G",false],["parentObjectApiName",null,"G",false],["pageSize",null,"G",false],["sortField",null,"G",false],["sortFieldLabel",null,"G",false],["filteredByLabels",null,"G",false],["actionNames",null,"G",false],["primaryDisplayType",null,"G",false],["relatedObjectApiName",null,"G",false],["relatedListApiName",null,"G",false],["listReference",null,"G",false],["where",null,"G",false],["objectApiNames",null,"G",false],["orderedByInfo",null,"G",false],["displayColumns",null,"G",false],["configuration",null,"G",false],["showViewAll",null,"G",false],["drillinPageRef",null,"G",false],["preferenceId",null,"G",false],["breadcrumbs",null,"G",false],["secondaryDisplays",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://one:workspaceApi', \"one/workspaceApi\",[\"exports\",\"lwc\"],function(e,t){const n=[];function s(e,t,s,o){return n}var o=t.registerTemplate(s);s.stylesheets=[];s.stylesheetToken=\"lwc-8bl0iacaj6\";s.legacyStylesheetToken=\"one-workspaceApi_workspaceApi\";t.freezeTemplate(s);class a extends t.LightningElement{executeApi(e,t,n){const s=(e,t)=>{if(e){throw new Error(e)}else if(typeof n===\"function\"){n(t)}};this.dispatchEvent(new CustomEvent(\"internalapievent\",{bubbles:true,composed:true,cancelable:false,detail:{category:\"workspaceAPI\",methodName:e,methodArgs:t,callback:s}}))}getEnclosingTabId(e){const t=t=>{e(t)};this.dispatchEvent(new CustomEvent(\"getenclosingtabid\",{bubbles:true,composed:true,cancelable:true,detail:{callback:t}}))}}t.registerDecorators(a,{publicMethods:[\"executeApi\",\"getEnclosingTabId\"]});var c=t.registerComponent(a,{tmpl:o,sel:\"one-workspace-api\",apiVersion:59});e.default=c;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"one-workspace-api","descriptor":"markup://one:workspaceApi","n":"one/workspaceApi"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://records:mobileFormHeader', \"records/mobileFormHeader\",[\"exports\",\"lwc\",\"lightning/button\",\"records/mobileFormError\",\"records/mobileFormInfo\",\"force/duplicatesManager\",\"force/recordUiUtils\",\"instrumentation/service\",\"records/baseRecordFormToolbar\"],function(e,r,t,s,i,o,a,l,n){function c(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var d=c(t);var h=c(s);var u=c(i);var p=c(o);var f=c(n);function m(e,r,t){var s=e?\"[\"+e+\"]\":\"\";var i=e?\"[\"+e+\"-host]\":\"\";return(r?\":host{\":i+\"{\")+\"background: rgba(236, 235, 234, 0.9);right: var(--lwc-spacingNone, 0);width: initial;}\"+(r?\":host(:empty) {\":i+\":empty {\")+\"padding: var(--lwc-spacingNone, 0);}force-form-footer-save-options\"+s+\" {width: 100%;}.footer-button\"+s+\"+.footer-button\"+s+\" {margin-left: var(--lwc-varSpacingHorizontalXxSmall);}.max-width\"+s+\" {width: max-content}.header-layout\"+s+\" {display: flex;align-items: center;justify-content: space-between;text-align: center;padding-left: var(--lwc-spacingMedium, 1rem);padding-right: var(--lwc-spacingMedium, 1rem);}.header-text\"+s+\" {min-width: var(--lwc-spacingNone, 0);padding-left: var(--lwc-spacingXSmall, 0.5rem);padding-right: var(--lwc-spacingXSmall, 0.5rem);z-index: var(--lwc-zIndexSticky, 100);}.no-wrap\"+s+\" {text-overflow: ellipsis;white-space: nowrap;overflow: hidden;}.slds-text-heading--small\"+s+\", .slds-text-heading_small\"+s+\" {font-weight: var(--lwc-fontWeightRegular,400);font-size: var(--lwc-fontSize5, 1rem);}\"}var b=[m];const v={key:0};const g={key:1};const y={classMap:{\"header-layout\":true},key:2};const w={\"footer-button\":true,\"cancel-button\":true};const E={classMap:{\"header-text\":true},key:4};const k={classMap:{\"slds-modal__title\":true,\"slds-hyphenate\":true,\"slds-text-heading--small\":true,\"no-wrap\":true},key:5};const C={\"footer-button\":true,\"save-button\":true};const S={key:7};const H={key:9};function x(e,r,t,s){const{b:i,c:o,d:a,t:l,h:n}=e;const{_m0:c,_m1:f,_m2:m}=s;return[r.state.visible?n(\"div\",v,[n(\"div\",g,[n(\"div\",y,[o(\"lightning-button\",d.default,{classMap:w,props:{title:r.i18n.CancelLabel,label:r.i18n.CancelLabel,disabled:r.disabled,variant:\"base\"},key:3,on:{click:c||(s._m0=i(r.onCancel))}}),r.showHeaderText?n(\"div\",E,[n(\"h2\",k,[l(a(r.pageTitle))])]):null,o(\"lightning-button\",d.default,{classMap:C,props:{title:r.i18n.SaveLabel,label:r.i18n.SaveLabel,disabled:r.disabled,variant:\"base\"},key:6,on:{click:f||(s._m1=i(r.onSave))}})]),r.showErrorHeader?n(\"div\",S,[o(\"records-mobile-form-error\",h.default,{props:{errors:r.errors,duplicateError:r.errorForDupe,handleFieldClick:r.fireFieldClickEvent},key:8})]):null,r.showInfoHeader?n(\"div\",H,[o(\"records-mobile-form-info\",u.default,{props:{visibilityChanges:r.visibilityChanges,handleFieldClick:r.fireFieldClickEvent},key:10})]):null]),o(\"force-duplicates-manager\",p.default,{props:{mode:r.modeForDuplicatesManager,objectApiName:r.objectApiName,recordTypeId:r.recordTypeId,predupeEnabled:true},key:11,on:{forceduplicatesdetected:m||(s._m2=i(r.handleDuplicatesDetected))}})]):null]}var F=r.registerTemplate(x);x.stylesheets=[];if(b){x.stylesheets.push.apply(x.stylesheets,b)}x.stylesheetToken=\"lwc-2dbbhhs43f4\";x.legacyStylesheetToken=\"records-mobileFormHeader_mobileFormHeader\";r.freezeTemplate(x);class _ extends f.default{constructor(...e){super(...e);this.showErrorHeader=void 0;this.showInfoHeader=void 0;this.pageTitle=void 0;this.showHeaderText=void 0}instrumentClick(e){l.interaction(e+\"-button\",\"form-footer\",{formFactor:\"mobile\"})}async onSave(){await this.resetErrors(true);this.resetVisibilityChanges();this.instrumentClick(\"save\");this.fireSaveEvent()}onCancel(){this.instrumentClick(\"cancel\");this.fireCancelEvent()}focusCancelButton(){if(this.state.visible){this.template.querySelector(\".cancel-button\").focus()}}getCancelElement(){let e;if(this.state.visible){e=this.template.querySelector(\".cancel-button\")}return e}getSaveElement(){let e;if(this.state.visible){e=this.template.querySelector(\".save-button\")}return e}onHide(){this.state.visible=false;this.fireEvent=true;this.errors={};this.visibilityChanges={};this.showErrorHeader=false;this.showInfoHeader=false}onSetVisibilityChanges(e){if(this.state.visible){this.visibilityChanges=e;this.showInfoHeader=true}}onSetErrors(e){if(this.state.visible){const r=e.visibilityChanges?e:a.RecordUiHelpers.getCollapsedErrorState(e,this.mode);if(this.hasErrors(r)){this.errors=r;this.showErrorHeader=true}else{this.resetErrors(false)}}}resetErrors(e){return new Promise(r=>{this.showErrorHeader=false;if(!e){this.resetDuplicateErrors()}r()})}resetVisibilityChanges(){this.showInfoHeader=false;this.visibilityChanges=null}disconnectedCallback(){this.resetDuplicateErrors()}resetDuplicateErrors(){if(this.errors){if(this.errors.predupeErrors){this.errors.predupeError=null}if(this.errors.dedupeErrors){this.errors.dedupeErrors=[]}}this._nonBlockingDuplicateErrorSet=false}get errorForDupe(){const e=this.getDuplicatesManager();let r=null;if(e){if(this.errors.dedupeErrors&&Object.keys(this.errors.dedupeErrors).length){r=e.parseErrorsForDedupe(this.errors.dedupeErrors)}else if(this.hasPredupeErrors(this.errors)){r=e.parseErrorsForPredupe(this.errors.predupeError)}}if(r&&!r.blocksSave){this._nonBlockingDuplicateErrorSet=true}return r}}r.registerDecorators(_,{publicProps:{pageTitle:{config:0},showHeaderText:{config:0}},publicMethods:[\"focusCancelButton\",\"getCancelElement\",\"getSaveElement\"],track:{showErrorHeader:1,showInfoHeader:1}});var D=r.registerComponent(_,{tmpl:F,sel:\"records-mobile-form-header\",apiVersion:59});e.default=D;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"records-mobile-form-header","descriptor":"markup://records:mobileFormHeader","n":"records/mobileFormHeader","mv":41.0,"ad":[["pageTitle",null,"G",false],["showHeaderText",null,"G",false]]},{"xs":"P","co":"function() { $A.componentService.addModule('markup://setup_einstein_shared:chartingLib', \"setup_einstein_shared/chartingLib\",[\"exports\",\"lwc\"],function(e,n){var t=void 0;var i=`.ng-charthover {\\n    line-height: 20px;\\n    display: none;\\n    position: absolute;\\n    z-index: 10000;\\n    border-radius: 3px;\\n    padding: 12px;\\n    white-space: pre-line;\\n  }\\n\\n  .ng-charthover .ng-separator-line {\\n    margin-top: 4px;\\n    margin-bottom: 4px;\\n    border-top-color: #334f87;\\n    height: 1px;\\n  }\\n\\n  .ng-charthover table {\\n    width: 100%;\\n    border-collapse: separate;\\n    border-spacing: 4px 0;\\n  }\\n\\n  .ng-charthover .measure td {\\n    vertical-align: top;\\n    text-align: left;\\n    padding-top: 4px;\\n  }\\n\\n  .ng-charthover .measure td.rtl {\\n    vertical-align: top;\\n    text-align: right;\\n    padding-top: 4px;\\n  }\\n\\n  .ng-charthover .measure td.valueCell {\\n    text-align: right;\\n  }\\n\\n  .ng-charthover .measure td.valueCell.rtl {\\n    text-align: left;\\n  }\\n\\n  .ng-charthover .line label {\\n    font-weight: normal;\\n    font-size: 13px;\\n    margin-bottom: 0px;\\n    display: block;\\n  }\\n\\n  .ng-charthover .line .marking {\\n    width: 4px;\\n    border-radius: 2px;\\n    position: absolute;\\n    display: inline-block;\\n  }\\n`;const o=(e,n,t,i,o,r,s,a,h=true,d)=>window.EclairNG?window.EclairNG.chart({name:e,padding:a!==null?a:0,durations:s,size:r,renderOnDemand:h,rendererConfig:{tooltipCSSClass:n||\"\",el:t,swipePropagation:i,accessible:o},tooltipRenderer:d}):null;const r=(e,n)=>{if(!e){return}const{definition:t,config:i,data:o,rowsMetadata:r,option:s}=n;s.disableMorphing=false;e.render(t,i,o,r,s,true)};const s=e=>{if(!e){return null}e.remove();return null};const a=(e,n=\"\")=>{const t=document.createElement(\"div\");t.setAttribute(\"class\",\"chart\");const i=document.createElement(\"span\");i.setAttribute(\"class\",\"sizeErrorSpan slds-hide\");i.textContent=n;e.appendChild(t);e.appendChild(i);return t};const h=(e,n)=>{e.resize(n[0],n[1])};const d=(e,n,t)=>{if(!n||!t){return null}const i=n.querySelector(\".chart\");if(!i){return null}const o=n.parentElement.querySelector(\".sizeErrorSpan\");const r={canvas:i,errorSpan:o,chartElement:n};const s=new ResizeObserver(n=>{for(const i of n){const n=parseInt(i.contentRect.width,10);const o=parseInt(i.contentRect.height,10);r.width=n;r.height=o;const s=t(r);if(s){h(e,s)}}});s.observe(n);return s};const l=(e,n)=>{if(e){e.unobserve(n)}return null};const c=(e,n)=>{if(!e||!n){return}const{RENDER_BEGIN:t,RENDER_END:i,RENDER_SKIPPED:o,MOUSE_CLICK:r,MOUSE_LEAVE:s,LEGEND_MOUSE_CLICK:a,MOUSE_ENTER_HOTSPOT:h,LEGEND_MOUSE_ENTER_HOTSPOT:d,MOUSE_LEAVE_HOTSPOT:l,LEGEND_MOUSE_LEAVE_HOTSPOT:c,MOUSE_ENTER_SHAPE:p,MOUSE_LEAVE_SHAPE:_,SELECTION_CHANGED:g,SORT:u,ERROR:E,KEY_DOWN:b,KEY_UP:C}=e.getEvents();e.on(t,(n.handleChartRenderBegin||n.doNothing).bind(n));e.on(i,(n.handleChartRenderEnd||n.doNothing).bind(n));e.on(o,(n.handleChartRenderSkipped||n.doNothing).bind(n));e.on(r,(n.handleChartClick||n.doNothing).bind(n));e.on(s,(n.handleChartLeave||n.doNothing).bind(n));e.on(a,(n.handleLegendClick||n.doNothing).bind(n));e.on(h,(n.handleChartEnterHotSpot||n.doNothing).bind(n));e.on(l,(n.handleChartLeaveHotSpot||n.doNothing).bind(n));e.on(p,(n.handleChartEnterShape||n.doNothing).bind(n));e.on(_,(n.handleChartLeaveShape||n.doNothing).bind(n));e.on(d,(n.handleLegendEnterHotSpot||n.doNothing).bind(n));e.on(c,(n.handleLegendLeaveHotSpot||n.doNothing).bind(n));e.on(g,(n.handleChartSelectionChanged||n.doNothing).bind(n));e.on(u,(n.handleChartDataSort||n.doNothing).bind(n));e.on(E,(n.handleChartError||n.doNothing).bind(n));e.on(b,(n.handleKeyDown||n.doNothing).bind(n));e.on(C,(n.handleKeyUp||n.doNothing).bind(n))};const p=(e,n,t)=>{const{name:i,tooltipCssClass:r,chartElement:s,touchMovePropagation:a,accessible:h,sizes:l,durations:p,padding:_,resizeEnabled:g,resizeRoutine:u,renderOnDemand:E,tooltipRenderer:b}=e;const C=o(i,r,s,a,h,l,p,_,E,b);c(C,n);if(!t&&g){t=d(C,s,u)}return{chartInstance:C,observer:t}};class _{constructor(e){this.getChart=()=>this._chart;this.resize=e=>{this._chart.resize(e[0],e[1])};this.buildAndRenderChart=(e,n)=>{if(!e||!n||!n.definition||!n.config||!n.data||!n.rowsMetadata){return}this._element=a(e,n.sizeErrorLabel);const{chartInstance:t,observer:o}=p({name:this._name,tooltipCssClass:this._tooltipCssClass,chartElement:this._element,touchMovePropagation:this._touchMovePropagation,accessible:this._accessible,sizes:this._sizes,durations:this._durations,padding:this._padding,resizeEnabled:this._resizeEnabled,resizeRoutine:this._resizeRoutine,renderOnDemand:this._renderOnDemand,tooltipRenderer:this._tooltipRenderer},this._ownerContext,this._observer);this._chart=t;if(this._ownerContext.addGlobalStyle){this._ownerContext.addGlobalStyle.call(this._ownerContext,i)}this._observer=o;r(this._chart,n);this.resize(this._sizes)};this.rerender=(e,n)=>{if(!this._chart){return}r(this._chart,n)};this.destroy=()=>{this._observer=l(this._observer,this._element);this._chart=s(this._chart);if(this._ownerContext.removeGlobalStyle){this._ownerContext.removeGlobalStyle.call(this._ownerContext)}};this._ownerContext=e.ownerContext;this._name=e.name||Math.random().toString(36).substring(2,15);this._chart=null;this._observer=null;this._sizes=e.sizes;this._tooltipCssClass=`${e.tooltipCssClass}-${this._name}`;this._element=null;this._touchMovePropagation=e.touchMovePropagation;this._accessible=e.accessible;this._durations=e.durations;this._padding=e.padding;this._definition=null;this._config=null;this._data=null;this._option=e.option;this._resizeEnabled=e.resizeEnabled;this._resizeRoutine=e.resizeRoutine;this._renderOnDemand=e.renderOnDemand;this._isInteractiveTooltip=e.isInteractiveTooltip;this._tooltipRenderer=e.tooltipRenderer}}n.registerDecorators(_,{fields:[\"getChart\",\"resize\",\"buildAndRenderChart\",\"rerender\",\"destroy\"]});var g=n.registerComponent(_,{tmpl:t,sel:\"setup_einstein_shared-charting-lib\",apiVersion:59});e.default=g;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"setup_einstein_shared-charting-lib","descriptor":"markup://setup_einstein_shared:chartingLib","n":"setup_einstein_shared/chartingLib"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://instrumentation:dataComplexityCollector', \"instrumentation/dataComplexityCollector\",[\"exports\"],function(t){const e=\"fields\";let o={};function n(t){for(const e of Object.keys(t)){const n=o[e]|0;o[e]=n+t[e]}}function c(){return f()?null:Object.assign({},o)}function s(){o={}}function i(t){const o={[e]:0};const n=Object.values(t.records);const c=n.length;for(let s=0;s<c;s++){const c=n[s];o[e]+=Object.keys(c.fields).length;const i=t.objectInfos[c.apiName];if(i){const t=Object.keys(c.fields);const e=t.length;for(let n=0;n<e;n++){const e=i.fields[t[n]];if(e){const t=e.dataType;const n=t.toLowerCase();const c=o[n]?o[n]:0;o[n]=c+1}}}}return o}function l(t,o){const n={[e]:0};if(t){const c=Object.keys(t.fields);const s=c.length;n[e]+=s;if(o){for(let t=0;t<s;t++){const e=o.fields[c[t]];if(e){const t=e.dataType;const o=t.toLowerCase();const c=n[o]?n[o]:0;n[o]=c+1}}}}return n}function f(){return Object.keys(o).length===0}t.computeRecordComplexity=l;t.computeRecordUiComplexity=i;t.getComplexity=c;t.resetComplexity=s;t.updateComplexity=n;Object.defineProperty(t,\"__esModule\",{value:true})});\n}","ce":"instrumentation-data-complexity-collector","descriptor":"markup://instrumentation:dataComplexityCollector","n":"instrumentation/dataComplexityCollector"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://force:rrhAllowList', \"force/rrhAllowList\",[\"exports\"],function(e){const t={entities:[{entityName:\"AIPredictionScore\",keyPrefix:\"117\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AcademicSession\",keyPrefix:\"0vc\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AcademicTerm\",keyPrefix:\"0vM\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AcademicTermEnrollment\",keyPrefix:\"0x9\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AcademicYear\",keyPrefix:\"0u7\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Account\",keyPrefix:\"001\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AccountAccountRelation\",keyPrefix:\"0zo\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AccountForecast\",keyPrefix:\"0yA\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AccountForecastAdjustment\",keyPrefix:\"0yE\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AccountForecastPeriodMetric\",keyPrefix:\"0yD\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AccountHistory\",keyPrefix:\"N/A\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AccountPartner\",keyPrefix:\"00I\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AccountProductForecast\",keyPrefix:\"0yB\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AccountProductPeriodForecast\",keyPrefix:\"0yC\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AccountRelationship\",keyPrefix:\"0ar\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Accreditation\",keyPrefix:\"0Vl\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AcctMgrPeriodicTargetDstr\",keyPrefix:\"0hO\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AcctMgrTargetDstr\",keyPrefix:\"0gB\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ActionPlanBaseTemplateAsgn\",keyPrefix:\"10Z\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ActionPlanItem\",keyPrefix:\"07s\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ActionPlanItemDependency\",keyPrefix:\"0my\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ActionPlanTemplate\",keyPrefix:\"0PR\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ActionPlanTemplateAssignment\",keyPrefix:\"0w5\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ActionPlanTemplateItem\",keyPrefix:\"0PJ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ActionPlanTemplateItemValue\",keyPrefix:\"0PN\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ActionPlanTemplateVersion\",keyPrefix:\"0PT\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ActionPlanTmplItmAssessmentInd\",keyPrefix:\"0ev\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ActionPlnTmplItmDependency\",keyPrefix:\"0mx\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ActionVisibility\",keyPrefix:\"0vN\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ActionableList\",keyPrefix:\"0wo\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ActionableListColumn\",keyPrefix:\"0wu\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ActionableListMember\",keyPrefix:\"0wz\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ActiveScratchOrg\",keyPrefix:\"2AS\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ActivityTiming\",keyPrefix:\"1CD\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AdBuyServerAccount\",keyPrefix:\"99q\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AdCreativeSizeType\",keyPrefix:\"0pD\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AdOpportunity\",keyPrefix:\"99l\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AdOrderItem\",keyPrefix:\"0p6\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AdOrderItemCreativeSizeType\",keyPrefix:\"99g\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AdOrderItemPrintIssue\",keyPrefix:\"99i\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AdOrderItemUnitsSplit\",keyPrefix:\"99j\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AdOrderLineAdTarget\",keyPrefix:\"0pi\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AdPageLayoutType\",keyPrefix:\"99c\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AdProductDefaultTargetCategory\",keyPrefix:\"99p\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AdProductTargetCategory\",keyPrefix:\"0oA\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AdQuote\",keyPrefix:\"0q8\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AdQuoteLine\",keyPrefix:\"0p5\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AdQuoteLineAdTarget\",keyPrefix:\"0pb\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AdQuoteLineCreativeSizeType\",keyPrefix:\"99m\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AdQuoteLinePrintIssue\",keyPrefix:\"99h\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AdQuoteLineUnitsSplit\",keyPrefix:\"99k\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AdServer\",keyPrefix:\"0p4\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AdServerAccount\",keyPrefix:\"0p7\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AdServerUser\",keyPrefix:\"0p8\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AdSpaceCreativeSizeType\",keyPrefix:\"0pB\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AdSpaceSpecification\",keyPrefix:\"0p9\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AdSpecMediaPrintIssue\",keyPrefix:\"99d\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AdTargetCategory\",keyPrefix:\"0Qy\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AdTargetCategorySegment\",keyPrefix:\"0kY\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AdUsage\",keyPrefix:\"99f\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AdUsageSummary\",keyPrefix:\"99e\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AddOnDefinition\",keyPrefix:\"0LA\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Address\",keyPrefix:\"130\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AdvAccountForecastFact\",keyPrefix:\"0p2\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AffinityScore\",keyPrefix:\"0zs\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AiDataset\",keyPrefix:\"9nd\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AiImageDetectedObject\",keyPrefix:\"8X3\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AiImageTrainingObject\",keyPrefix:\"0sv\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AiVisionModel\",keyPrefix:\"0z4\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AiVisionModelMetric\",keyPrefix:\"0df\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AiVisionModelObjectMetric\",keyPrefix:\"0dv\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AiVisitSummary\",keyPrefix:\"0fD\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AiVisitTaskRcmd\",keyPrefix:\"0kS\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AirTravelEmssnFctr\",keyPrefix:\"0nt\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AirTravelEnrgyUse\",keyPrefix:\"0o1\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AllergyIntolerance\",keyPrefix:\"0ib\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AnnualEmssnInventory\",keyPrefix:\"4sb\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AnnualEmssnRdctnTarget\",keyPrefix:\"3sb\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AntiCorruptionInitSum\",keyPrefix:\"0zS\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ApiAnomalyEventStore\",keyPrefix:\"0j6\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AppAnalyticsQueryRequest\",keyPrefix:\"0XI\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AppUsageAssignment\",keyPrefix:\"0j8\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ApplicationCase\",keyPrefix:\"0jm\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ApplicationDecision\",keyPrefix:\"0vw\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ApplicationFormTemplate\",keyPrefix:\"4JQ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ApplicationRecommendation\",keyPrefix:\"0yl\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ApplicationRecommender\",keyPrefix:\"0yh\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ApplicationReview\",keyPrefix:\"0vx\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ApplicationTimeline\",keyPrefix:\"0yk\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AppointmentInvitation\",keyPrefix:\"1S8\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AppointmentInvitee\",keyPrefix:\"0y6\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AppointmentReason\",keyPrefix:\"0qe\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AppointmentTopicTimeSlot\",keyPrefix:\"0mS\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ApptBundleAggrDurDnscale\",keyPrefix:\"52D\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ApptBundleConfig\",keyPrefix:\"3Cv\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ApptBundlePolicy\",keyPrefix:\"7sT\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ApptBundlePolicySvcTerr\",keyPrefix:\"7b0\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ApptBundleRestrictPolicy\",keyPrefix:\"6KP\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ApptBundleSortPolicy\",keyPrefix:\"0lU\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ApptReasonEngmtChannelType\",keyPrefix:\"0yP\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AttributeDefinition\",keyPrefix:\"0tj\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AsmtQstnRespRecommendation\",keyPrefix:\"10o\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Assessment\",keyPrefix:\"0U3\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AssessmentEnvelope\",keyPrefix:\"0yI\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AssessmentEnvelopeItem\",keyPrefix:\"0yK\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AssessmentIndDefinedValue\",keyPrefix:\"0z5\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AssessmentIndValue\",keyPrefix:\"0z6\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AssessmentIndicatorDefinition\",keyPrefix:\"0eu\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AssessmentQuestion\",keyPrefix:\"0U4\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AssessmentQuestionAssignment\",keyPrefix:\"0r4\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AssessmentQuestionResponse\",keyPrefix:\"0jb\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AssessmentQuestionSet\",keyPrefix:\"0lB\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AssessmentQuestionVersion\",keyPrefix:\"0lF\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AssessmentSignature\",keyPrefix:\"11N\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AssessmentTask\",keyPrefix:\"0eg\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AssessmentTaskContentDocument\",keyPrefix:\"0dQ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AssessmentTaskDefinition\",keyPrefix:\"0Z4\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AssessmentTaskIndDefinition\",keyPrefix:\"0dt\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AssessmentTaskOrder\",keyPrefix:\"0es\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Asset\",keyPrefix:\"02i\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AssetAccountParticipant\",keyPrefix:\"4W8\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AssetAction\",keyPrefix:\"4nL\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AssetActionSource\",keyPrefix:\"4nM\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AssetContactParticipant\",keyPrefix:\"4W9\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AssetDowntimePeriod\",keyPrefix:\"0gP\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AssetMilestone\",keyPrefix:\"9a1\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AssetRelationship\",keyPrefix:\"1AR\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AssetStatePeriod\",keyPrefix:\"4nK\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AssignedResource\",keyPrefix:\"03r\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AssistantText\",keyPrefix:\"0aN\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AssociatedLocation\",keyPrefix:\"0Kt\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Assortment\",keyPrefix:\"0aO\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AssortmentProduct\",keyPrefix:\"0bl\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AsyncOperationLog\",keyPrefix:\"1ao\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AttributeCategory\",keyPrefix:\"0v3\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AttributePicklist\",keyPrefix:\"0v5\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AttributePicklistValue\",keyPrefix:\"0v6\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AuthApplicationAsset\",keyPrefix:\"0iz\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AuthApplicationPlace\",keyPrefix:\"0jC\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AuthFormRequestRecord\",keyPrefix:\"0lo\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AuthLocationAccessSchedule\",keyPrefix:\"0zw\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AuthorNote\",keyPrefix:\"0nN\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AuthorizationForm\",keyPrefix:\"0cI\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AuthorizationFormConsent\",keyPrefix:\"0cK\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AuthorizationFormDataUse\",keyPrefix:\"0cM\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AuthorizationFormText\",keyPrefix:\"0cN\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"AuthorizedInsuranceLine\",keyPrefix:\"0gG\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Award\",keyPrefix:\"0cF\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BCEntityPermission\",keyPrefix:\"0fa\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BCEntityPermissionSet\",keyPrefix:\"0fq\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BCFieldPermission\",keyPrefix:\"0fX\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BCParticipant\",keyPrefix:\"0fZ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BCParticipantAccess\",keyPrefix:\"0fp\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BCPermissionSet\",keyPrefix:\"0fs\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BCRecordAccess\",keyPrefix:\"0fO\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BCRecordAccessApproval\",keyPrefix:\"0fS\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BCRelatedParticipant\",keyPrefix:\"0fW\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BackgroundOperation\",keyPrefix:\"08P\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Banker\",keyPrefix:\"0ij\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BatchJobPartFailedRecord\",keyPrefix:\"0mf\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Benefit\",keyPrefix:\"0ji\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BenefitAssignment\",keyPrefix:\"0nD\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BenefitAssignmentAdjustment\",keyPrefix:\"0wl\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BenefitDisbursement\",keyPrefix:\"0xW\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BenefitDisbursementAdj\",keyPrefix:\"3Al\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BenefitParameterValue\",keyPrefix:\"0nQ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BenefitSchedule\",keyPrefix:\"1Bs\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BenefitSession\",keyPrefix:\"2Bs\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BillingBatchFilterCriteria\",keyPrefix:\"5BC\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BillingBatchScheduler\",keyPrefix:\"5BS\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BillingPeriodItem\",keyPrefix:\"5eX\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BillingPolicy\",keyPrefix:\"1BP\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BillingSchedule\",keyPrefix:\"44b\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BillingScheduleCreationStatus\",keyPrefix:\"0ed\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BillingScheduleGroup\",keyPrefix:\"9Ws\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BillingTreatment\",keyPrefix:\"1BT\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BillingTreatmentItem\",keyPrefix:\"1BD\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BldgEnrgyIntensity\",keyPrefix:\"0o3\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BldgEnrgyIntensityVal\",keyPrefix:\"0o5\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BldgSizeCategory\",keyPrefix:\"0o9\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BlockchainAppMember\",keyPrefix:\"0aV\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BlockchainApplication\",keyPrefix:\"0aY\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BlockchainEntity\",keyPrefix:\"0aT\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BlockchainField\",keyPrefix:\"0aU\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BlockchainMember\",keyPrefix:\"0aX\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BoardCertification\",keyPrefix:\"0YS\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BranchUnit\",keyPrefix:\"0ip\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BranchUnitBusinessMember\",keyPrefix:\"0kH\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BranchUnitCustomer\",keyPrefix:\"0iy\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BranchUnitRelatedRecord\",keyPrefix:\"0iQ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BroadcastCommAudience\",keyPrefix:\"0oS\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BroadcastCommunication\",keyPrefix:\"0oY\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BroadcastTopic\",keyPrefix:\"0uK\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Budget\",keyPrefix:\"0oG\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BudgetAllocation\",keyPrefix:\"0oH\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BudgetCategory\",keyPrefix:\"0xE\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BudgetCategoryValue\",keyPrefix:\"0yg\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BudgetPeriod\",keyPrefix:\"0xJ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BundledCareFeeAgreement\",keyPrefix:\"0s2\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BusRegAuthTypeDependency\",keyPrefix:\"4vv\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BusRegAuthorizationType\",keyPrefix:\"0ey\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BusinessAlert\",keyPrefix:\"10w\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BusinessAlertStatus\",keyPrefix:\"11D\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BusinessBrand\",keyPrefix:\"1BU\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BusinessLicense\",keyPrefix:\"0cE\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BusinessMilestone\",keyPrefix:\"0do\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BusinessProfile\",keyPrefix:\"0eQ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BusinessType\",keyPrefix:\"2gF\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BuyerAccount\",keyPrefix:\"0bj\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BuyerGroup\",keyPrefix:\"0ZI\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"BuyerGroupPricebook\",keyPrefix:\"0Zl\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CalcProcStepRelationship\",keyPrefix:\"06Z\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CalculationMatrixColumn\",keyPrefix:\"0lJ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CalculationMatrixRow\",keyPrefix:\"9mt\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CalculationMatrixVersion\",keyPrefix:\"0lN\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CalculationProcedure\",keyPrefix:\"0k0\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CalculationProcedureStep\",keyPrefix:\"0mq\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CalculationProcedureVariable\",keyPrefix:\"0kJ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CalculationProcedureVersion\",keyPrefix:\"0k1\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CampaignInsight\",keyPrefix:\"0V0\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CampaignMemberStatus\",keyPrefix:\"01Y\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CampaignTemplate\",keyPrefix:\"6rh\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CapitationCareFeeAgreement\",keyPrefix:\"0rM\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareBarrier\",keyPrefix:\"0Vo\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareBarrierDeterminant\",keyPrefix:\"0Zb\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareBarrierType\",keyPrefix:\"0Vs\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareBenefitVerifyRequest\",keyPrefix:\"0n2\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareDeterminant\",keyPrefix:\"8GR\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareDeterminantType\",keyPrefix:\"0YO\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareDiagnosis\",keyPrefix:\"0VC\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareEpisode\",keyPrefix:\"0xg\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareEpisodeDetail\",keyPrefix:\"0zQ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareFeeScheduleItem\",keyPrefix:\"0rQ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareInterventionType\",keyPrefix:\"0YM\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareLimitType\",keyPrefix:\"0mb\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareMetricTarget\",keyPrefix:\"0hL\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareObservation\",keyPrefix:\"0hI\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareObservationComponent\",keyPrefix:\"0jg\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CarePerformer\",keyPrefix:\"0ig\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CarePgmEnrolleeWkOrdStep\",keyPrefix:\"0z8\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CarePgmEnrolleeWorkOrder\",keyPrefix:\"0zj\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CarePgmProvHealthcareProvider\",keyPrefix:\"0h7\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CarePlan\",keyPrefix:\"1sp\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CarePlanActivity\",keyPrefix:\"0xb\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CarePlanActivityDetail\",keyPrefix:\"0yR\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CarePlanDetail\",keyPrefix:\"6sg\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CarePlanTemplate\",keyPrefix:\"1st\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CarePlanTemplateBenefit\",keyPrefix:\"1tb\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CarePlanTemplateGoal\",keyPrefix:\"1tg\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CarePlanTemplateProblem\",keyPrefix:\"0yT\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CarePractnFacilityAppt\",keyPrefix:\"0kr\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CarePreauth\",keyPrefix:\"0Td\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CarePreauthItem\",keyPrefix:\"0Tg\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareProgram\",keyPrefix:\"0Ze\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareProgramCampaign\",keyPrefix:\"0Zs\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareProgramEligibilityRule\",keyPrefix:\"0bk\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareProgramEnrollee\",keyPrefix:\"0Ww\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareProgramEnrolleeProduct\",keyPrefix:\"0be\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareProgramEnrollmentCard\",keyPrefix:\"0bg\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareProgramGoal\",keyPrefix:\"0bn\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareProgramProduct\",keyPrefix:\"0bd\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareProgramProvider\",keyPrefix:\"0bo\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareProgramTeamMember\",keyPrefix:\"0Zr\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareProviderAdverseAction\",keyPrefix:\"0et\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareProviderFacilitySpecialty\",keyPrefix:\"0bX\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareProviderSearchableField\",keyPrefix:\"0d0\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareRegisteredDevice\",keyPrefix:\"0hB\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareRequest\",keyPrefix:\"0Um\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareRequestDrug\",keyPrefix:\"0VD\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareRequestExtension\",keyPrefix:\"0br\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareRequestItem\",keyPrefix:\"0VK\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareRequestReviewer\",keyPrefix:\"06H\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareSpecialty\",keyPrefix:\"0bc\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareSpecialtyTaxonomy\",keyPrefix:\"0kB\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CareTaxonomy\",keyPrefix:\"0bK\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CartDeliveryGroup\",keyPrefix:\"0a7\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CartItem\",keyPrefix:\"0a9\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CartTax\",keyPrefix:\"0gT\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Case\",keyPrefix:\"500\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CaseContactRole\",keyPrefix:\"03j\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CaseHistory\",keyPrefix:\"N/A\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CaseMilestone\",keyPrefix:\"555\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CaseParticipant\",keyPrefix:\"1ca\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CaseProgram\",keyPrefix:\"11Y\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CaseRelatedIssue\",keyPrefix:\"0oL\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CaseServiceProcess\",keyPrefix:\"0wR\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CategorizedCareFeeAgreement\",keyPrefix:\"0rD\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ChangeRequest\",keyPrefix:\"0oW\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ChangeRequestRelatedIssue\",keyPrefix:\"0oK\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ChangeRequestRelatedItem\",keyPrefix:\"0tC\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ChannelProgram\",keyPrefix:\"0Pk\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ChannelProgramLevel\",keyPrefix:\"0Pl\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ChannelProgramMember\",keyPrefix:\"0Pm\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Claim\",keyPrefix:\"0Zk\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ClaimCase\",keyPrefix:\"0cZ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ClaimCovPaymentAdjustment\",keyPrefix:\"0l3\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ClaimCovReserveAdjustment\",keyPrefix:\"0l7\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ClaimCoverage\",keyPrefix:\"0kP\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ClaimCoveragePaymentDetail\",keyPrefix:\"0l2\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ClaimCoverageReserveDetail\",keyPrefix:\"0kQ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ClaimItem\",keyPrefix:\"0dq\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ClaimParticipant\",keyPrefix:\"0aS\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ClaimPaymentSummary\",keyPrefix:\"0l8\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ClaimPayoutPlan\",keyPrefix:\"0vE\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ClaimRecovery\",keyPrefix:\"0t6\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ClaimTeamMember\",keyPrefix:\"0tl\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ClinicalAlert\",keyPrefix:\"0l9\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ClinicalDetectedIssue\",keyPrefix:\"0u5\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ClinicalDetectedIssueDetail\",keyPrefix:\"0ui\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ClinicalEncounter\",keyPrefix:\"0kG\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ClinicalEncounterDiagnosis\",keyPrefix:\"0kZ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ClinicalEncounterFacility\",keyPrefix:\"0l1\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ClinicalEncounterIdentifier\",keyPrefix:\"0k6\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ClinicalEncounterProvider\",keyPrefix:\"0kM\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ClinicalEncounterReason\",keyPrefix:\"0lm\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ClinicalEncounterSvcRequest\",keyPrefix:\"0lx\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ClinicalServiceRequest\",keyPrefix:\"0jy\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ClinicalServiceRequestDetail\",keyPrefix:\"0lT\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CloudServiceProvider\",keyPrefix:\"1L9\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CodeSet\",keyPrefix:\"0hs\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CodeSetBundle\",keyPrefix:\"0iP\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CodeSetRelationship\",keyPrefix:\"10i\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CollaborationRoom\",keyPrefix:\"9CR\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CommSubscription\",keyPrefix:\"0Xl\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CommSubscriptionChannelType\",keyPrefix:\"0eB\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CommSubscriptionConsent\",keyPrefix:\"0dY\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CommSubscriptionTiming\",keyPrefix:\"0al\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CommissionSchedule\",keyPrefix:\"0mC\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CommissionScheduleAssignment\",keyPrefix:\"05r\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ComplaintCase\",keyPrefix:\"0kN\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ComplaintParticipant\",keyPrefix:\"1co\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ConsentMetric\",keyPrefix:\"0zz\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ConsentUsageMetric\",keyPrefix:\"0xx\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ConstituentRole\",keyPrefix:\"0vy\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ConsumptionRate\",keyPrefix:\"0Mo\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ConsumptionSchedule\",keyPrefix:\"0Mh\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Contact\",keyPrefix:\"003\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ContactContactRelation\",keyPrefix:\"0zm\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ContactEncounter\",keyPrefix:\"0ha\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ContactEncounterParticipant\",keyPrefix:\"0hb\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ContactHistory\",keyPrefix:\"N/A\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ContactPointAddress\",keyPrefix:\"8lW\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ContactPointConsent\",keyPrefix:\"0ZX\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ContactPointTypeConsent\",keyPrefix:\"0ZY\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ContactProfile\",keyPrefix:\"11A\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ContentDocumentListViewMapping\",keyPrefix:\"0Vi\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Contract\",keyPrefix:\"800\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ContractDocVerContentDoc\",keyPrefix:\"0qs\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ContractDocVersionSection\",keyPrefix:\"0qu\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ContractDocumentVersion\",keyPrefix:\"0qt\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ContractGroupPlan\",keyPrefix:\"0rg\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ContractGroupPlanGroupClass\",keyPrefix:\"0xr\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ContractHistory\",keyPrefix:\"N/A\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ContractLineItem\",keyPrefix:\"811\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ContractLineOutcome\",keyPrefix:\"3lp\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ContractLineOutcomeData\",keyPrefix:\"7sD\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ContractPaymentAgreement\",keyPrefix:\"0rR\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ConversationBroadcastEntry\",keyPrefix:\"6gX\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Coupon\",keyPrefix:\"0lC\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CourseCreditTransferAppln\",keyPrefix:\"10U\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CourseEquivalency\",keyPrefix:\"0zJ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CourseOffering\",keyPrefix:\"0P0\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CourseOfferingParticipant\",keyPrefix:\"0x6\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CourseOfferingPtcpResult\",keyPrefix:\"0x8\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CourseOfferingSchedule\",keyPrefix:\"0xA\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CourseOfferingScheduleTmpl\",keyPrefix:\"0wZ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CoverageBenefit\",keyPrefix:\"0TL\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CoverageBenefitItem\",keyPrefix:\"0Sf\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CoverageBenefitItemLimit\",keyPrefix:\"0n4\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CoverageLimit\",keyPrefix:\"0YK\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CoverageType\",keyPrefix:\"0YG\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CrbnCreditAlloc\",keyPrefix:\"0uO\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CrbnCreditAllocItem\",keyPrefix:\"0uS\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CrbnCreditDistribution\",keyPrefix:\"0uo\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CrbnCreditProject\",keyPrefix:\"0uh\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CrbnEmssnScopeAlloc\",keyPrefix:\"0oI\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CrbnEmssnScopeAllocVal\",keyPrefix:\"0oM\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CredentialStuffingEventStore\",keyPrefix:\"0fj\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CreditMemo\",keyPrefix:\"50g\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CreditMemoAddressGroup\",keyPrefix:\"8ZJ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CreditMemoInvApplication\",keyPrefix:\"4sF\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CreditMemoLine\",keyPrefix:\"9yx\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Crisis\",keyPrefix:\"0ie\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CryptoProdCatgWalletGroup\",keyPrefix:\"1j5\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CryptoProdtCatgWalletRole\",keyPrefix:\"5M3\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CryptoProduct\",keyPrefix:\"1fi\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CryptoTransEnvelopeChgLog\",keyPrefix:\"9gU\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CryptoTransaction\",keyPrefix:\"2z0\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CryptoTransactionEnvelope\",keyPrefix:\"2KG\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CryptoWallet\",keyPrefix:\"4g2\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CryptoWalletGroup\",keyPrefix:\"6z2\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CryptoWalletGroupItem\",keyPrefix:\"7Cb\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Customer\",keyPrefix:\"0o6\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"CustomerProperty\",keyPrefix:\"0b8\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"DandBCompany\",keyPrefix:\"06E\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"DataAction\",keyPrefix:\"3o9\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"DataActionTarget\",keyPrefix:\"9sq\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"DataUseLegalBasis\",keyPrefix:\"0ZT\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"DataUsePurpose\",keyPrefix:\"0ZW\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"DeleteEvent\",keyPrefix:\"00C\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"DeliveryTask\",keyPrefix:\"0iN\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"DiagnosticSummary\",keyPrefix:\"0lQ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"DiagnosticSummaryDetail\",keyPrefix:\"0oB\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"DigitalSignature\",keyPrefix:\"1DS\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"DisclsReportingPeriod\",keyPrefix:\"5xn\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"DistributorAuthorization\",keyPrefix:\"0YE\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"DivrsEquityInclSum\",keyPrefix:\"8yw\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"DocTemplateSectionCondition\",keyPrefix:\"2dn\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"DocumentClause\",keyPrefix:\"2dc\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"DocumentClauseSet\",keyPrefix:\"0xG\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"DocumentEnvelope\",keyPrefix:\"0qw\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"DocumentGenerationProcess\",keyPrefix:\"0nn\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"DocumentRecipient\",keyPrefix:\"3zm\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"DocumentTemplate\",keyPrefix:\"2dt\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"DocumentTemplateContentDoc\",keyPrefix:\"2dd\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"DocumentTemplateSection\",keyPrefix:\"2ds\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"DocumentTemplateToken\",keyPrefix:\"2dk\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"DrugDisplayTerm\",keyPrefix:\"0R9\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"EconomicPerformanceSum\",keyPrefix:\"11T\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"EditionDefinition\",keyPrefix:\"0L9\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"EducationalInfoRequest\",keyPrefix:\"0yU\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ElectricityEmssnFctrSet\",keyPrefix:\"0oT\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ElectronicMediaGroup\",keyPrefix:\"2mg\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"EmissionsActivity\",keyPrefix:\"0sm\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"EmissionsForecastFact\",keyPrefix:\"0so\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"EmpBenefitSummary\",keyPrefix:\"0yj\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"EmpUserProvisionProcessErr\",keyPrefix:\"9gu\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"EmpUserProvisioningProcess\",keyPrefix:\"3wO\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Employee\",keyPrefix:\"0id\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"EmployeeCrisisAssessment\",keyPrefix:\"0if\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"EmployeeDemographicSum\",keyPrefix:\"1xR\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"EmployeeDevelopmentSum\",keyPrefix:\"4xn\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"EmssnRdctnCommitment\",keyPrefix:\"1sb\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"EmssnReductionTarget\",keyPrefix:\"2sb\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"EngagementAttendee\",keyPrefix:\"0tz\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"EngagementChannelType\",keyPrefix:\"0eF\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"EngagementChannelWorkType\",keyPrefix:\"0xz\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"EngagementInteraction\",keyPrefix:\"0u3\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"EngagementProgramVersion\",keyPrefix:\"1Ec\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"EngagementTopic\",keyPrefix:\"0uB\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"EnrollmentEligibilityCriteria\",keyPrefix:\"0bm\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Entitlement\",keyPrefix:\"550\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"EntitlementContact\",keyPrefix:\"0E7\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"EnvironmentalRisk\",keyPrefix:\"0vU\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Examination\",keyPrefix:\"0hX\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Expense\",keyPrefix:\"1V4\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ExpenseReport\",keyPrefix:\"6g5\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ExpenseReportEntry\",keyPrefix:\"3zl\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ExpressionSet\",keyPrefix:\"9QL\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ExpressionSetVersion\",keyPrefix:\"9QM\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ExternalAccountHierarchy\",keyPrefix:\"1AH\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"FTestVirtualBpoLookup\",keyPrefix:\"0th\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"FeeScheduleDefinition\",keyPrefix:\"0rT\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"FinanceBalanceSnapshot\",keyPrefix:\"2kA\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"FinanceBook\",keyPrefix:\"1PY\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"FinancePeriod\",keyPrefix:\"8FQ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"FinanceTransaction\",keyPrefix:\"0n3\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"FinanceTransactionErrorLog\",keyPrefix:\"9Uy\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"FinancialDeal\",keyPrefix:\"0ls\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"FinancialDealAsset\",keyPrefix:\"0qd\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"FinancialDealBid\",keyPrefix:\"0rC\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"FinancialDealInteraction\",keyPrefix:\"0oR\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"FinancialDealParty\",keyPrefix:\"0lh\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"FinancialDealProduct\",keyPrefix:\"0lG\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"FinclDealInteractionSummary\",keyPrefix:\"0oQ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"FlowOrchestrationInstance\",keyPrefix:\"0jE\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"FlowOrchestrationStageInstance\",keyPrefix:\"0jF\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"FlowOrchestrationStepInstance\",keyPrefix:\"0jL\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"FlowOrchestrationWorkItem\",keyPrefix:\"0jf\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"FrgtHaulingEmssnFctr\",keyPrefix:\"0oc\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"FrgtHaulingEnrgyUse\",keyPrefix:\"0or\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"FtestBigObjectLookup\",keyPrefix:\"5Yd\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"FtestConcrete\",keyPrefix:\"0Tx\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"FtestConcrete6\",keyPrefix:\"0Vf\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"FtestConcrete7\",keyPrefix:\"0Wr\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"FtestConcrete8\",keyPrefix:\"0Ws\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"FtestVirtualMain\",keyPrefix:\"9x0\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"FtestZosUiPrototypeChild1\",keyPrefix:\"8z2\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"FtestZosUiPrototypeChild2\",keyPrefix:\"0z7\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"FtestZosUiPrototypeParent\",keyPrefix:\"8z3\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"FulfillmentOrder\",keyPrefix:\"0a3\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"FulfillmentOrderLineItem\",keyPrefix:\"0a4\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"FundingAward\",keyPrefix:\"121\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"FundingAwardAmendment\",keyPrefix:\"122\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"FundingAwardRequirement\",keyPrefix:\"124\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"FundingDisbursement\",keyPrefix:\"125\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"FundingOpportunity\",keyPrefix:\"119\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"GeneratedDocument\",keyPrefix:\"2gd\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"GeneratedDocumentSection\",keyPrefix:\"2gs\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"GeneratedWaste\",keyPrefix:\"0ou\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"GenericVisitTask\",keyPrefix:\"0py\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"GenericVisitTaskContext\",keyPrefix:\"0oO\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"GeoCountry\",keyPrefix:\"0vf\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"GeoState\",keyPrefix:\"0yx\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"GnrcVstKeyPerformanceInd\",keyPrefix:\"0q5\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"GnrcVstTaskContextRelation\",keyPrefix:\"0yz\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"GoalAssignment\",keyPrefix:\"1pg\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"GoalAssignmentDetail\",keyPrefix:\"0xe\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"GoalDefinition\",keyPrefix:\"1gd\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"GovtFinancialAsstSum\",keyPrefix:\"9zq\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"GroundTravelEmssnFctr\",keyPrefix:\"0p3\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"GroundTravelEnrgyUse\",keyPrefix:\"0pE\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"GroupCensus\",keyPrefix:\"0rf\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"GroupCensusMember\",keyPrefix:\"0r6\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"GroupCensusMemberPlan\",keyPrefix:\"0rj\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"GroupClass\",keyPrefix:\"0rE\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"GroupClassContribution\",keyPrefix:\"0rF\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"GuestBuyerProfile\",keyPrefix:\"3K0\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"HealthCareDiagnosis\",keyPrefix:\"0XN\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"HealthCareProcedure\",keyPrefix:\"0XK\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"HealthCondition\",keyPrefix:\"0j4\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"HealthConditionDetail\",keyPrefix:\"0o8\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"HealthScore\",keyPrefix:\"0qi\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"HealthScoreActionLog\",keyPrefix:\"0qM\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"HealthcareFacility\",keyPrefix:\"0kl\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"HealthcareFacilityNetwork\",keyPrefix:\"0bY\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"HealthcarePayerNetwork\",keyPrefix:\"0bf\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"HealthcarePractitionerFacility\",keyPrefix:\"0bS\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"HealthcareProvider\",keyPrefix:\"0cm\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"HealthcareProviderNpi\",keyPrefix:\"0bN\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"HealthcareProviderSpecialty\",keyPrefix:\"0bO\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"HealthcareProviderTaxonomy\",keyPrefix:\"0bP\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"HotelStayEmssnFctr\",keyPrefix:\"0pF\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"HotelStayEnrgyUse\",keyPrefix:\"0pK\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Identifier\",keyPrefix:\"0hk\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"IdentityDocument\",keyPrefix:\"0Ss\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Image\",keyPrefix:\"4YL\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"InStoreLocation\",keyPrefix:\"0a8\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Incident\",keyPrefix:\"0ny\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"IncidentRelatedItem\",keyPrefix:\"0tA\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"IncludedLicenseDefinition\",keyPrefix:\"0LB\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"IndividualApplicationItem\",keyPrefix:\"11l\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"InflationRate\",keyPrefix:\"0pL\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"InfoAuthRequestForm\",keyPrefix:\"0lj\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"InfoAuthorizationRequest\",keyPrefix:\"0n8\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"InsPolicyTransactionDetail\",keyPrefix:\"0vb\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"InspectionAssessmentInd\",keyPrefix:\"0ft\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"InspectionType\",keyPrefix:\"0fJ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"InsuranceClaimAsset\",keyPrefix:\"0cR\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"InsuranceContract\",keyPrefix:\"0rw\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"InsurancePolicy\",keyPrefix:\"0YT\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"InsurancePolicyAsset\",keyPrefix:\"0YW\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"InsurancePolicyCoverage\",keyPrefix:\"0cY\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"InsurancePolicyMemberAsset\",keyPrefix:\"0c3\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"InsurancePolicyOwner\",keyPrefix:\"0Yp\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"InsurancePolicyParticipant\",keyPrefix:\"0ao\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"InsurancePolicySurcharge\",keyPrefix:\"0kR\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"InsurancePolicyTransaction\",keyPrefix:\"0k9\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"InsuranceProfile\",keyPrefix:\"0Yy\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Interaction\",keyPrefix:\"0kz\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"InteractionAttendee\",keyPrefix:\"0zn\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"InteractionRelatedAccount\",keyPrefix:\"0qS\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"InteractionSumDiscussedAccount\",keyPrefix:\"0oP\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"InteractionSummary\",keyPrefix:\"8BV\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"InterestTag\",keyPrefix:\"0qO\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"InternalOrganizationUnit\",keyPrefix:\"0gJ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"InventoryItemReservation\",keyPrefix:\"10s\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"InventoryReservation\",keyPrefix:\"10r\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Invoice\",keyPrefix:\"3tt\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"InvoiceAddressGroup\",keyPrefix:\"8zz\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"InvoiceBatchRun\",keyPrefix:\"5IR\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"InvoiceBatchRunCriteria\",keyPrefix:\"5IC\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"InvoiceBatchRunRecovery\",keyPrefix:\"0wB\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"InvoiceLine\",keyPrefix:\"5TV\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"JobProfile\",keyPrefix:\"0jp\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"JournalSubType\",keyPrefix:\"0lS\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"JournalType\",keyPrefix:\"0lE\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"KnowledgeArticleVersion\",keyPrefix:\"N/A\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Lead\",keyPrefix:\"00Q\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LeadHistory\",keyPrefix:\"N/A\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LeadLineItem\",keyPrefix:\"0wk\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LeadPreferredSeller\",keyPrefix:\"0xY\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LearnerProgram\",keyPrefix:\"0vO\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LearnerProgramRequirement\",keyPrefix:\"0vu\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LearnerProgramRqmtProgress\",keyPrefix:\"0x7\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Learning\",keyPrefix:\"0ty\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LearningAchievement\",keyPrefix:\"0u9\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LearningCourse\",keyPrefix:\"0vY\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LearningFoundationItem\",keyPrefix:\"0ww\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LearningOutcomeItem\",keyPrefix:\"0uE\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LearningProgram\",keyPrefix:\"0u2\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LearningProgramPlan\",keyPrefix:\"0uF\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LearningProgramPlanRqmt\",keyPrefix:\"0uG\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LegalEntity\",keyPrefix:\"0fw\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LicensingError\",keyPrefix:\"1L1\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LicensingRequest\",keyPrefix:\"1L0\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LicensingRequestOrderItem\",keyPrefix:\"8Ev\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LicensingSnapshotRequest\",keyPrefix:\"86L\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LiveAgentSession\",keyPrefix:\"0HK\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LiveChatVisitor\",keyPrefix:\"571\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LoanApplicant\",keyPrefix:\"0cU\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LoanApplicantAddress\",keyPrefix:\"0cj\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LoanApplicantAsset\",keyPrefix:\"0e2\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LoanApplicantDeclaration\",keyPrefix:\"0cV\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LoanApplicantEmployment\",keyPrefix:\"0ck\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LoanApplicantIncome\",keyPrefix:\"0ci\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LoanApplicantLiability\",keyPrefix:\"0eK\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LoanApplicationAsset\",keyPrefix:\"0cg\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LoanApplicationFinancial\",keyPrefix:\"0cC\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LoanApplicationLiability\",keyPrefix:\"0ch\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LoanApplicationProperty\",keyPrefix:\"0cP\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LoanApplicationTitleHolder\",keyPrefix:\"0cT\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LocationGroup\",keyPrefix:\"0gh\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LocationGroupAssignment\",keyPrefix:\"0gx\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LocationTrustMeasure\",keyPrefix:\"20X\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LocationWaitlist\",keyPrefix:\"9jG\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LocationWaitlistedParty\",keyPrefix:\"5Zp\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LoyaltyLedger\",keyPrefix:\"05w\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LoyaltyMemberCurrency\",keyPrefix:\"0lz\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LoyaltyMemberTier\",keyPrefix:\"0ly\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LoyaltyMembershipLifecycle\",keyPrefix:\"11L\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LoyaltyPartnerProduct\",keyPrefix:\"0le\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LoyaltyPgmEngmtAttrProm\",keyPrefix:\"6LX\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LoyaltyPgmEngmtAttribute\",keyPrefix:\"0uJ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LoyaltyPgmGroupMbrRlnsp\",keyPrefix:\"1LG\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LoyaltyPgmMbrAttributeVal\",keyPrefix:\"0uI\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LoyaltyPgmPartnerCurrency\",keyPrefix:\"2LC\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LoyaltyPgmPartnerPromotion\",keyPrefix:\"3LP\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LoyaltyPgmPtnrLdgrSummary\",keyPrefix:\"2pl\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LoyaltyPgmPtnrPrepaidPack\",keyPrefix:\"9HP\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LoyaltyProgram\",keyPrefix:\"0lp\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LoyaltyProgramCurrency\",keyPrefix:\"0lc\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LoyaltyProgramMemberBadge\",keyPrefix:\"0w9\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LoyaltyProgramMemberCase\",keyPrefix:\"0lY\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LoyaltyProgramMemberMerge\",keyPrefix:\"0wW\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LoyaltyProgramPartner\",keyPrefix:\"0ld\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LoyaltyProgramProcess\",keyPrefix:\"9MX\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LoyaltyProgramWidget\",keyPrefix:\"11g\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LoyaltyTier\",keyPrefix:\"0lg\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LoyaltyTierBenefit\",keyPrefix:\"0tb\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"LoyaltyTierGroup\",keyPrefix:\"0lt\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"MaintenanceAsset\",keyPrefix:\"1MA\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"MaintenancePlan\",keyPrefix:\"1MP\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"MarketingForm\",keyPrefix:\"1Mx\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"MarketingLink\",keyPrefix:\"0S0\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Marketplace\",keyPrefix:\"0yc\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"MarketplaceSeller\",keyPrefix:\"10C\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"MaterialityAssessment\",keyPrefix:\"0Tl\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"MedReconRecommendation\",keyPrefix:\"0r1\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"MedReconStmtRecommendation\",keyPrefix:\"0qz\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"MedTherapyStmtReviewIssue\",keyPrefix:\"0uT\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"MediaChannel\",keyPrefix:\"0pA\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"MediaContentTitle\",keyPrefix:\"0pH\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"MediaPrintIssue\",keyPrefix:\"99b\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"MediaTitleAvailAttribute\",keyPrefix:\"0zk\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"MediaTitleAvailability\",keyPrefix:\"0zc\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"MediaTitleReleaseDate\",keyPrefix:\"10T\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"MediaTitleRevenue\",keyPrefix:\"109\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Medication\",keyPrefix:\"0it\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"MedicationDispense\",keyPrefix:\"0NB\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"MedicationReconciliation\",keyPrefix:\"0rK\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"MedicationRequest\",keyPrefix:\"0km\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"MedicationStatement\",keyPrefix:\"0ju\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"MedicationStatementDetail\",keyPrefix:\"0rW\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"MedicationTherapyReview\",keyPrefix:\"0pl\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"MedicationTherapyStmtReview\",keyPrefix:\"0ND\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"MedicinalIngredient\",keyPrefix:\"0nA\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"MemberBenefit\",keyPrefix:\"0hW\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"MemberPlan\",keyPrefix:\"0Sq\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"MerchantAccount\",keyPrefix:\"8zb\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"MessagingEndUser\",keyPrefix:\"0PA\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"MultipartyInfoAuthRequest\",keyPrefix:\"0lR\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"NamespaceRegistry\",keyPrefix:\"1NR\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Note\",keyPrefix:\"002\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ObjectRelatedUrl\",keyPrefix:\"0zC\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ObjectStateActionDefinition\",keyPrefix:\"0OJ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ObjectStateDefinition\",keyPrefix:\"0o4\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ObjectStateTransition\",keyPrefix:\"0jj\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ObjectStateTransitionAction\",keyPrefix:\"0pN\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ObjectStateValue\",keyPrefix:\"2p3\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OmniAssessmentTask\",keyPrefix:\"0os\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OmniDataPack\",keyPrefix:\"0nc\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OmniDataTransform\",keyPrefix:\"0jI\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OmniDataTransformItem\",keyPrefix:\"0kd\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OmniESignatureTemplate\",keyPrefix:\"0nL\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OmniProcess\",keyPrefix:\"0jN\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OmniProcessAsmtQuestionVer\",keyPrefix:\"0r5\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OmniProcessCompilation\",keyPrefix:\"0k7\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OmniProcessElement\",keyPrefix:\"0kE\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OmniProcessTransientData\",keyPrefix:\"0nM\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OmniScriptSavedSession\",keyPrefix:\"0kT\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OmniUiCard\",keyPrefix:\"0ko\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OperatingHours\",keyPrefix:\"0OH\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OperatingHoursHoliday\",keyPrefix:\"0jG\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Opportunity\",keyPrefix:\"006\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OpportunityFieldHistory\",keyPrefix:\"N/A\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OpportunityPreferredSeller\",keyPrefix:\"0y1\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Order\",keyPrefix:\"801\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OrderAction\",keyPrefix:\"8OA\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OrderAdjustmentGroup\",keyPrefix:\"0az\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OrderAdjustmentGroupSummary\",keyPrefix:\"0aj\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OrderChangeLog\",keyPrefix:\"0dy\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OrderDeliveryGroup\",keyPrefix:\"2Dg\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OrderDeliveryGroupSummary\",keyPrefix:\"0ag\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OrderDeliveryMethod\",keyPrefix:\"2Dm\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OrderHistory\",keyPrefix:\"N/A\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OrderItemAdjustmentLineItem\",keyPrefix:\"3qZ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OrderItemAdjustmentLineSummary\",keyPrefix:\"0ah\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OrderItemConsumptionRate\",keyPrefix:\"7sp\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OrderItemConsumptionSchedule\",keyPrefix:\"0pI\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OrderItemRelationship\",keyPrefix:\"0ay\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OrderItemSummaryChange\",keyPrefix:\"1oc\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OrderItemTaxLineItem\",keyPrefix:\"0au\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OrderItemTaxLineItemSummary\",keyPrefix:\"0ai\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OrderPaymentSummary\",keyPrefix:\"0bM\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OrderSummaryRoutingSchedule\",keyPrefix:\"0ra\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OrgIncidentSummary\",keyPrefix:\"7qx\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OrgMetric\",keyPrefix:\"3v1\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OrgMetricScanResult\",keyPrefix:\"9aM\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OrgMetricScanSummary\",keyPrefix:\"6mX\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OtherComponentTask\",keyPrefix:\"8kJ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OtherEmssnFctrSet\",keyPrefix:\"0pR\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"OtherEmssnFctrSetItem\",keyPrefix:\"0pS\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PartnerFundAllocation\",keyPrefix:\"0R8\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PartnerFundClaim\",keyPrefix:\"0RB\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PartnerFundRequest\",keyPrefix:\"0RJ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PartnerMarketingBudget\",keyPrefix:\"0Cw\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PartyCertifiedCapacity\",keyPrefix:\"0va\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PartyConsent\",keyPrefix:\"0g8\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PartyIdentityVerification\",keyPrefix:\"0wI\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PartyIdentityVerificationStep\",keyPrefix:\"0wh\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PartyIncome\",keyPrefix:\"2m3\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PartyProfile\",keyPrefix:\"0xU\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PartyProfileAddress\",keyPrefix:\"0wF\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PartyProfileRisk\",keyPrefix:\"0wC\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PartyRoleRelation\",keyPrefix:\"0zl\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PartyScreeningStep\",keyPrefix:\"0wm\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PartyScreeningSummary\",keyPrefix:\"0wj\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PatientHealthReaction\",keyPrefix:\"0j1\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PatientImmunization\",keyPrefix:\"0jK\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PatientImmunizationProtocol\",keyPrefix:\"0xB\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PatientMedicalProcedure\",keyPrefix:\"0jQ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PatientMedicalProcedureDetail\",keyPrefix:\"0kC\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PatientMedicationDosage\",keyPrefix:\"0j3\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PaymentApplicationMethod\",keyPrefix:\"1PA\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PaymentAuthAdjustment\",keyPrefix:\"9tv\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PaymentBatchRun\",keyPrefix:\"5PR\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PaymentBatchRunCriteria\",keyPrefix:\"5PC\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PaymentGateway\",keyPrefix:\"0b0\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PaymentGatewayLog\",keyPrefix:\"0Xt\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PaymentIntent\",keyPrefix:\"0wp\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PaymentLineInvoice\",keyPrefix:\"1PL\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PaymentPolicy\",keyPrefix:\"1PP\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PaymentRequest\",keyPrefix:\"0t7\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PaymentRequestLine\",keyPrefix:\"0t8\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PaymentSchedule\",keyPrefix:\"5PS\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PaymentScheduleItem\",keyPrefix:\"5SI\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PaymentSchedulePolicy\",keyPrefix:\"0xP\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PaymentScheduleTreatment\",keyPrefix:\"0xQ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PaymentScheduleTreatmentDtl\",keyPrefix:\"0xS\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PaymentTerm\",keyPrefix:\"2OX\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PaymentTermItem\",keyPrefix:\"2ga\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PaymentTreatment\",keyPrefix:\"1PT\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PcmtEmssnFctrSet\",keyPrefix:\"0pT\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PcmtEmssnFctrSetItem\",keyPrefix:\"0pU\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PercentileBsdCareFeeAgreement\",keyPrefix:\"0tX\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PersonAccount\",keyPrefix:\"001\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PersonDisability\",keyPrefix:\"0xD\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PersonEducation\",keyPrefix:\"0Sr\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PersonEmployment\",keyPrefix:\"0St\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PersonExamination\",keyPrefix:\"0hS\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PersonLanguage\",keyPrefix:\"0iS\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PersonLifeEvent\",keyPrefix:\"0Yr\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PersonList\",keyPrefix:\"0Fw\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PersonName\",keyPrefix:\"0i3\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PickTicket\",keyPrefix:\"0zP\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PickTicketAssignment\",keyPrefix:\"0zN\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PickTicketProduct\",keyPrefix:\"0zW\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PlanBenefit\",keyPrefix:\"0TM\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PlanBenefitItem\",keyPrefix:\"0Sg\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PlatformLicenseDefinition\",keyPrefix:\"0L6\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Polygon\",keyPrefix:\"0jU\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PreliminaryApplicationRef\",keyPrefix:\"0go\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PreventiveCareAgreement\",keyPrefix:\"0s4\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PriceAdjustmentSchedule\",keyPrefix:\"84X\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PrivacyHold\",keyPrefix:\"8PS\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PrivacyHoldReason\",keyPrefix:\"9r4\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PrivacyPolicy\",keyPrefix:\"8so\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PrivacyRequest\",keyPrefix:\"0si\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Problem\",keyPrefix:\"0o2\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProblemDefinition\",keyPrefix:\"118\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProblemGoalDefinition\",keyPrefix:\"11S\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProblemRelatedItem\",keyPrefix:\"0tB\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Producer\",keyPrefix:\"0Yx\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProducerCommission\",keyPrefix:\"0kA\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProducerPolicyAssignment\",keyPrefix:\"0e9\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductAttribute\",keyPrefix:\"0iU\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductAttributeDefinition\",keyPrefix:\"0v7\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductAttributeSetProduct\",keyPrefix:\"0iZ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductAvailabilityProjection\",keyPrefix:\"0fn\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductCatalog\",keyPrefix:\"0ZS\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductCategoryAttribute\",keyPrefix:\"0v4\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductCategoryMedia\",keyPrefix:\"0Oq\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductCategoryProduct\",keyPrefix:\"0ZR\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductCategoryServiceProcess\",keyPrefix:\"0zV\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductComponentGroup\",keyPrefix:\"0y7\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductConsumedState\",keyPrefix:\"0pY\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductConsumptionSchedule\",keyPrefix:\"0Mq\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductCoverage\",keyPrefix:\"0YJ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductCoverageLimit\",keyPrefix:\"0YH\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductEmissionsFactor\",keyPrefix:\"0vl\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductFaultCode\",keyPrefix:\"10h\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductFulfillmentLocation\",keyPrefix:\"0fK\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductItem\",keyPrefix:\"0Co\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductItemTransaction\",keyPrefix:\"0TR\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductLaborCode\",keyPrefix:\"11V\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductLicenseMap\",keyPrefix:\"1Lm\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductMedia\",keyPrefix:\"2pm\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductOverridePathItem\",keyPrefix:\"0y5\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductQuantityRule\",keyPrefix:\"0lL\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductRelComponentOverride\",keyPrefix:\"0y4\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductRelatedServiceProcess\",keyPrefix:\"0zU\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductRelationshipType\",keyPrefix:\"0yo\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductRequest\",keyPrefix:\"0TS\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductRequestLineItem\",keyPrefix:\"0Tw\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductRequired\",keyPrefix:\"0Gn\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductSellingModel\",keyPrefix:\"0jP\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductSellingModelOption\",keyPrefix:\"0iO\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductServiceCampaign\",keyPrefix:\"0iR\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductServiceCampaignItem\",keyPrefix:\"23N\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductTaxPolicy\",keyPrefix:\"0uv\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductTransferState\",keyPrefix:\"0nw\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProductWarrantyTerm\",keyPrefix:\"5Uj\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Program\",keyPrefix:\"11W\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProgramEnrollment\",keyPrefix:\"11X\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProgramProduct\",keyPrefix:\"11m\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProgramRebateTypPayoutSrc\",keyPrefix:\"0jB\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProgramRebateTypeBenefit\",keyPrefix:\"0hu\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProgramRebateTypeFilter\",keyPrefix:\"0z9\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProgramRebateTypePayout\",keyPrefix:\"0jA\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProgramRebateTypeProduct\",keyPrefix:\"0qC\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProgramRebateTypeReference\",keyPrefix:\"0nI\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProgramTermApplnTimeline\",keyPrefix:\"10L\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PromotionChannel\",keyPrefix:\"0cB\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PromotionLoyaltyPtnrProdt\",keyPrefix:\"0lf\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PromotionMarketSegment\",keyPrefix:\"5CF\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PromotionProduct\",keyPrefix:\"0cA\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PromotionProductCategory\",keyPrefix:\"0c9\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PromotionQualifier\",keyPrefix:\"0kU\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PromotionSegment\",keyPrefix:\"0kw\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PromotionSegmentBuyerGroup\",keyPrefix:\"0kq\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PromotionSegmentSalesStore\",keyPrefix:\"0kp\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PromotionTarget\",keyPrefix:\"2Pt\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PromotionTier\",keyPrefix:\"0zG\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProrationPolicy\",keyPrefix:\"0mu\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProviderNetworkContract\",keyPrefix:\"0mw\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProviderNetworkTier\",keyPrefix:\"0nu\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProviderSearchSyncLog\",keyPrefix:\"0hT\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProvisioningRun\",keyPrefix:\"1PR\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProvisioningRunEvent\",keyPrefix:\"1PE\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProvisioningTargetGroup\",keyPrefix:\"0vG\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProvisioningTargetItem\",keyPrefix:\"0vH\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ProvisioningTargetRole\",keyPrefix:\"3AI\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PublicApplicationParticipant\",keyPrefix:\"1ap\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PublicComplaint\",keyPrefix:\"0fh\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PublicProgram\",keyPrefix:\"0n0\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PurchaseQuantityRule\",keyPrefix:\"0lK\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PurchaserPlan\",keyPrefix:\"0Sb\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PurchaserPlanAssn\",keyPrefix:\"0SK\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"PymtSchdDistributionMethod\",keyPrefix:\"0xT\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Quote\",keyPrefix:\"0Q0\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"QuoteItemTaxItem\",keyPrefix:\"6hF\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"QuoteLineItemGroupClass\",keyPrefix:\"0rP\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"QuoteLineItemAttribute\",keyPrefix:\"0zu\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"QuoteLinePriceAdjustment\",keyPrefix:\"5mb\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"QuoteLineRelationship\",keyPrefix:\"0yQ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RebateClaim\",keyPrefix:\"0ru\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RebateMemberAggregateItem\",keyPrefix:\"0rn\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RebateMemberProductAggregate\",keyPrefix:\"0zx\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RebatePayment\",keyPrefix:\"0iD\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RebatePayoutAdjustment\",keyPrefix:\"0i2\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RebateProgram\",keyPrefix:\"0i8\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RebateProgramMember\",keyPrefix:\"0i9\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RebateProgramMemberPayout\",keyPrefix:\"0i6\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RebateProgramPayoutPeriod\",keyPrefix:\"0i7\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ReceivedDocument\",keyPrefix:\"0io\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ReceivedDocumentType\",keyPrefix:\"0s0\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RecordAction\",keyPrefix:\"0Rw\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RecordAlert\",keyPrefix:\"0qZ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RecordType\",keyPrefix:\"012\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RecordsetFilterCriteria\",keyPrefix:\"0hr\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RecordsetFltrCritMonitor\",keyPrefix:\"0yH\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RecurrenceSchedule\",keyPrefix:\"0v9\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Referral\",keyPrefix:\"0wi\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RefrigerantEmssnFctr\",keyPrefix:\"0qL\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RefundLinePayment\",keyPrefix:\"0dR\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RegAuthorizationTypeProduct\",keyPrefix:\"0y9\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RegulatoryAuthority\",keyPrefix:\"19p\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RegulatoryAuthorizationType\",keyPrefix:\"0eh\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RegulatoryCode\",keyPrefix:\"0fC\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RegulatoryCodeAssessmentInd\",keyPrefix:\"0fM\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RegulatoryCodeUse\",keyPrefix:\"0po\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RegulatoryCodeViolation\",keyPrefix:\"0fv\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RegulatoryTrxnFeeItem\",keyPrefix:\"0ky\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ReinsAgreementLineItem\",keyPrefix:\"0x0\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ReinsPolicyBordereauFact\",keyPrefix:\"0x2\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ReinsProtocolProdtComponent\",keyPrefix:\"0w7\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ReinsuranceAgreement\",keyPrefix:\"0ws\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ReinsuranceProtocol\",keyPrefix:\"0w3\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ReinsuranceProtocolAgreement\",keyPrefix:\"0w2\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RentalCarEmssnFctr\",keyPrefix:\"0pV\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RentalCarEnrgyUse\",keyPrefix:\"0pX\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ReplyText\",keyPrefix:\"8My\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ReportAnomalyEventStore\",keyPrefix:\"0Z7\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ReportedConsumption\",keyPrefix:\"0sk\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ResidentialLoanApplication\",keyPrefix:\"0cd\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ResourceAbsence\",keyPrefix:\"0Hw\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ResourcePreference\",keyPrefix:\"0Kz\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RetailLocationGroup\",keyPrefix:\"0Y2\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RetailStore\",keyPrefix:\"0YQ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RetailStoreGroupAssignment\",keyPrefix:\"0m7\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RetailStoreKpi\",keyPrefix:\"0Z6\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RetailVisitKpi\",keyPrefix:\"0Z3\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ReturnOrder\",keyPrefix:\"2oN\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ReturnOrderItemAdjustment\",keyPrefix:\"7FH\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ReturnOrderItemTax\",keyPrefix:\"9Jj\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ReturnOrderLineItem\",keyPrefix:\"0Sn\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RevRecogTreatmentItemGroup\",keyPrefix:\"9Ta\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RevenueAsyncOperation\",keyPrefix:\"95T\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RevenueDistributionMethod\",keyPrefix:\"44K\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RevenueElement\",keyPrefix:\"8D3\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RevenueElementDistribution\",keyPrefix:\"8D4\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RevenueRecogTreatmentItem\",keyPrefix:\"77F\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RevenueRecognitionPolicy\",keyPrefix:\"86b\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RevenueRecognitionTreatment\",keyPrefix:\"0nq\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RevenueTransactionErrorLog\",keyPrefix:\"0nY\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RightsQuote\",keyPrefix:\"0zt\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RightsQuoteLineItem\",keyPrefix:\"0zr\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"RightsQuoteLineMediaTitle\",keyPrefix:\"0zv\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"SalesAgreementProduct\",keyPrefix:\"0YB\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"SalesAgreementProductSchedule\",keyPrefix:\"0YC\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"SalesChannel\",keyPrefix:\"0bI\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"SalesContractLine\",keyPrefix:\"0sL\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"SchedulingConstraint\",keyPrefix:\"0hA\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Scope3CrbnFtprnt\",keyPrefix:\"0pa\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Scope3EmssnSrc\",keyPrefix:\"0pc\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Scope3PcmtItem\",keyPrefix:\"0pd\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Scope3PcmtSummary\",keyPrefix:\"0pe\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Scorecard\",keyPrefix:\"01f\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ScorecardAssociation\",keyPrefix:\"0Qn\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ScorecardMetric\",keyPrefix:\"0Om\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ScratchOrgInfo\",keyPrefix:\"2SR\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"SearchPromotionRule\",keyPrefix:\"0MD\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"SecuritiesHolding\",keyPrefix:\"0eX\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Seller\",keyPrefix:\"0q6\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"SerializedProduct\",keyPrefix:\"0jR\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"SerializedProductTransaction\",keyPrefix:\"0jM\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ServiceAppointmentCapacityUsage\",keyPrefix:\"0VR\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ServiceAppointmentGroup\",keyPrefix:\"0yS\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ServiceContract\",keyPrefix:\"810\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ServiceCrew\",keyPrefix:\"1cr\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ServiceCrewMember\",keyPrefix:\"1cm\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ServiceResource\",keyPrefix:\"0Hn\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ServiceResourceCapacity\",keyPrefix:\"0Hy\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ServiceResourcePreference\",keyPrefix:\"0l6\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ServiceTerritory\",keyPrefix:\"0Hh\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ServiceTerritoryLocation\",keyPrefix:\"1Sl\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ServiceTerritoryRelationship\",keyPrefix:\"0v0\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ServiceTerritoryWorkType\",keyPrefix:\"0VE\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"SessionHijackingEventStore\",keyPrefix:\"0Zj\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"SettingUsageDefinition\",keyPrefix:\"0UD\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"SettingUsageMap\",keyPrefix:\"1SM\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"SetupAssistantStep\",keyPrefix:\"3Ys\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"SharedSavingPaymentAgreement\",keyPrefix:\"0ql\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"SharingRecordCollection\",keyPrefix:\"0iB\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Shift\",keyPrefix:\"0a0\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ShiftEngagementChannel\",keyPrefix:\"0xK\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ShiftPattern\",keyPrefix:\"1w1\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ShiftPatternEntry\",keyPrefix:\"1w2\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ShiftSegment\",keyPrefix:\"0tv\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ShiftWorkTopic\",keyPrefix:\"0xH\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Shipment\",keyPrefix:\"0OB\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ShipmentItem\",keyPrefix:\"0ob\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"SignatureTask\",keyPrefix:\"7Oh\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"SignatureTaskLineItem\",keyPrefix:\"6st\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"SkillLevelDefinition\",keyPrefix:\"0kI\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"SocialContributionSum\",keyPrefix:\"10W\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"SocialPersona\",keyPrefix:\"0SP\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"StandardCareFeeAgreement\",keyPrefix:\"0rt\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"StandardPermissionSet\",keyPrefix:\"0L8\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"StnryAssetAnnualFact\",keyPrefix:\"0vW\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"StnryAssetCrbnFtprnt\",keyPrefix:\"0pf\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"StnryAssetCrbnFtprntItm\",keyPrefix:\"0pg\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"StnryAssetEnrgyUse\",keyPrefix:\"7LK\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"StnryAssetEnvrSrc\",keyPrefix:\"0ph\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"StnryAssetWaterActvty\",keyPrefix:\"0vP\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"StnryAssetWaterFtprnt\",keyPrefix:\"0vR\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"StnryAssetWtrFtprntItm\",keyPrefix:\"0vQ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"StoreActionPlanTemplate\",keyPrefix:\"0lb\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"StoreAssortment\",keyPrefix:\"0tM\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"StoreProduct\",keyPrefix:\"0bU\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"StreamingChannel\",keyPrefix:\"0M6\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"SuccessTeam\",keyPrefix:\"0uy\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Supplier\",keyPrefix:\"0eM\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"SupplierProduct\",keyPrefix:\"0wG\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Survey\",keyPrefix:\"0Kd\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"SurveyQuestionChoice\",keyPrefix:\"0Kc\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"SurveyQuestionResponse\",keyPrefix:\"0Kr\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"SurveyResponse\",keyPrefix:\"0My\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"SustainabilityCredit\",keyPrefix:\"0us\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"SustainabilityPurchase\",keyPrefix:\"0wd\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"SustainabilityScorecard\",keyPrefix:\"0rq\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"SvcCatalogReqExtdAttrVal\",keyPrefix:\"0xN\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"SvcCatalogReqRelatedItem\",keyPrefix:\"9kS\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"SvcCatalogRequest\",keyPrefix:\"946\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Swarm\",keyPrefix:\"0sW\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"SwarmMember\",keyPrefix:\"0sR\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"TagCategoryAssignment\",keyPrefix:\"0qT\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"TaxDisclosureSummary\",keyPrefix:\"0zT\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"TaxEngine\",keyPrefix:\"4wA\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"TaxEngineInteractionLog\",keyPrefix:\"3l1\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"TaxEngineProvider\",keyPrefix:\"6ny\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"TaxGeoConfig\",keyPrefix:\"0yt\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"TaxPolicy\",keyPrefix:\"1Tp\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"TaxRate\",keyPrefix:\"0xq\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"TaxTreatment\",keyPrefix:\"1tt\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Tenant\",keyPrefix:\"1L2\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"TenantParameterMap\",keyPrefix:\"1Ln\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ThreatDetectionFeedback\",keyPrefix:\"0hY\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"TimeSheet\",keyPrefix:\"1ts\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"TimeSheetEntry\",keyPrefix:\"1te\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"TimeSlot\",keyPrefix:\"0Gj\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"TrackedCommunication\",keyPrefix:\"108\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"TrackedCommunicationDetail\",keyPrefix:\"10B\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"TrainingCourseParticipant\",keyPrefix:\"0hN\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"TransactionJournal\",keyPrefix:\"0lV\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"TravelMode\",keyPrefix:\"5pL\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"TrialEnvironmentSignup\",keyPrefix:\"0Zi\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"TrnCourse\",keyPrefix:\"0i0\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"UnitOfMeasure\",keyPrefix:\"0hE\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"UnitOfMeasureConversion\",keyPrefix:\"0mG\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"UsageEntitlement\",keyPrefix:\"0UE\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"UsageEntitlementPeriod\",keyPrefix:\"0UP\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"UsageEntitlementUsage\",keyPrefix:\"0UU\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"UsageFactor\",keyPrefix:\"0UY\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"UsageImpactFactor\",keyPrefix:\"45b\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"UsageImpactGroup\",keyPrefix:\"45a\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"UsageImpactGroupFactor\",keyPrefix:\"56t\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"UsageImpactGroupPgmMeasure\",keyPrefix:\"57t\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"UsageImpactGroupVersion\",keyPrefix:\"55t\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"UserEsignVendorIdentifier\",keyPrefix:\"0qv\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"UserFinancialAuthority\",keyPrefix:\"0qJ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"UserLicenseDefinition\",keyPrefix:\"0L7\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"UserLocationAssignment\",keyPrefix:\"0s1\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Vehicle\",keyPrefix:\"0vL\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"VehicleAssetCrbnFtprnt\",keyPrefix:\"6yg\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"VehicleAssetEmssnSrc\",keyPrefix:\"3iv\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"VehicleAssetEnrgyUse\",keyPrefix:\"6Wo\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"VehicleDefinition\",keyPrefix:\"1Pq\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"VehicleUserAssignment\",keyPrefix:\"0kL\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ViolationEnforcementAction\",keyPrefix:\"0fg\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ViolationType\",keyPrefix:\"0fo\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ViolationTypeAssessmentInd\",keyPrefix:\"0fH\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"ViolationTypeUse\",keyPrefix:\"0ov\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"VisitedParty\",keyPrefix:\"0eV\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Visitor\",keyPrefix:\"0eW\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"VolunteerProject\",keyPrefix:\"0pj\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"Voucher\",keyPrefix:\"0kD\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"VoucherDefinition\",keyPrefix:\"2Xa\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"WarrantyTerm\",keyPrefix:\"4V3\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"WarrantyTermCoverage\",keyPrefix:\"10g\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"WasteFootprint\",keyPrefix:\"77O\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"WasteFootprintItem\",keyPrefix:\"675\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"WaveAutoInstallRequest\",keyPrefix:\"0UZ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"WebStoreBuyerGroup\",keyPrefix:\"0cD\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"WebStoreCatalog\",keyPrefix:\"0Zp\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"WebStoreInventorySource\",keyPrefix:\"10t\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"WebStorePricebook\",keyPrefix:\"0ZH\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"WebStoreSearchProdSettings\",keyPrefix:\"0b2\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"WorkCapacityLimit\",keyPrefix:\"0VQ\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"WorkCapacityUsage\",keyPrefix:\"0VP\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"WorkPlanSelectionRule\",keyPrefix:\"0gr\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"WorkPlanTemplate\",keyPrefix:\"7Iy\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"WorkPlanTemplateEntry\",keyPrefix:\"8xu\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"WorkProcedure\",keyPrefix:\"0uV\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"WorkProcedureStep\",keyPrefix:\"0vV\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"WorkTypeCareSpecialty\",keyPrefix:\"0mz\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"WorkTypeCodeSetBundle\",keyPrefix:\"0ll\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"WorkTypeExtension\",keyPrefix:\"0xw\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"WorkTypeGroup\",keyPrefix:\"0VS\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"WorkTypeGroupMember\",keyPrefix:\"0Wz\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"WorkTypeGroupRole\",keyPrefix:\"0uz\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"WorkerCompCoverageClass\",keyPrefix:\"0dh\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"WstDispoEmssnFctrSet\",keyPrefix:\"9LD\",formFactor:[\"LARGE\",\"SMALL\"]},{entityName:\"WstDispoEmssnFctrSetItm\",keyPrefix:\"9ic\",formFactor:[\"LARGE\",\"SMALL\"]}]};const r={};const i={aacobjectsetting:\"0P5\",abacmetrics:\"7aB\",academicsession:\"0vc\",academicterm:\"0vM\",academictermenrollment:\"0x9\",academicyear:\"0u7\",acceptedeventrelation:\"N/A\",acceptedrecommendation:\"05f\",accesscontrolpolicy:\"0Dx\",accesserrorqueue:\"0ek\",account:\"001\",accountaccountrelation:\"0zo\",accountalertevent:\"0qV\",accountbrand:\"0TU\",accountcleaninfo:\"1CA\",accountcontactrelation:\"07k\",accountcontactrole:\"02Z\",accountcriteriasharingrule:\"03G\",accountforecast:\"0yA\",accountforecastadjustment:\"0yE\",accountforecastformula:\"0yv\",accountforecastperiodmetric:\"0yD\",accountforecastsettings:\"0yu\",accountimportmatch:\"N/A\",accountingfieldmapping:\"0yb\",accountingmodelconfig:\"0uu\",accountinsight:\"17a\",accountinsightnewsarticle:\"18a\",accountownersharingrule:\"00s\",accountparticipant:\"0gc\",accountpartner:\"00I\",accountproductforecast:\"0yB\",accountproductperiodforecast:\"0yC\",accountrecorduseraccess:\"N/A\",accountrelationship:\"0ar\",accountrelationshipsharerule:\"0as\",accountshare:\"00r\",accountsharingrulefilteritem:\"0G9\",accountteammember:\"01M\",accountterritoryassignmentrule:\"041\",accountterritoryassignmentruleitem:\"042\",accountterritorysharingrule:\"032\",accountuserterritory2view:\"N/A\",accreditation:\"0Vl\",acctmgrperiodictargetdstr:\"0hO\",acctmgrtarget:\"0gA\",acctmgrtargetdstr:\"0gB\",acctmgrtargetmeasure:\"N/A\",acctmgrtargetsettings:\"0ej\",actionablelist:\"0wo\",actionablelistcolumn:\"0wu\",actionablelistdatasetcolumn:\"0x3\",actionablelistdefinition:\"0x4\",actionablelistmember:\"0wz\",actionablelistmemberstatus:\"0x5\",actionapex:\"0AZ\",actionassignescalate:\"01U\",actionassignteam:\"0BJ\",actionbrowserpush:\"0EN\",actioncadence:\"77C\",actioncadenceasyncjob:\"0zA\",actioncadencefolder:\"0hP\",actioncadencerule:\"1J9\",actioncadencerulecondition:\"0uA\",actioncadencestep:\"8C8\",actioncadencesteptracker:\"8HF\",actioncadencestepvariant:\"0mJ\",actioncadencetracker:\"0qB\",actioncdncstpmonthlymetric:\"0gk\",actionchatterpost:\"0K2\",actionchatterpostrecipient:\"0K3\",actionemail:\"01W\",actionemailrecipient:\"01X\",actionfieldupdate:\"04Y\",actionflow:\"09L\",actionflowparam:\"09M\",actionknowledgesubmit:\"0K0\",actionlauncheritemdef:\"11i\",actionlink:\"0An\",actionlinkgroup:\"0Ag\",actionlinkgroupassoc:\"0Aq\",actionlinkgrouptemplate:\"07g\",actionlinktemplate:\"07l\",actionlinktemplatebinding:\"07N\",actionlinkuserstate:\"0At\",actionoutboundmessage:\"04k\",actionoverride:\"04u\",actionoverrideinfo:\"3U2\",actionoverridemetrics:\"0Sy\",actionplan:\"07r\",actionplanbasetemplateasgn:\"10Z\",actionplandefinition:\"07q\",actionplanitem:\"07s\",actionplanitemdependency:\"0my\",actionplantemplate:\"0PR\",actionplantemplateassignment:\"0w5\",actionplantemplateitem:\"0PJ\",actionplantemplateitemvalue:\"0PN\",actionplantemplateversion:\"0PT\",actionplantmplitmassessmentind:\"0ev\",actionplantmplpkgconfig:\"0yy\",actionplntmplitmdependency:\"0mx\",actionquickcreate:\"0Qc\",actionresponse:\"01l\",actionsend:\"07V\",actiontask:\"01V\",actionvisibility:\"0vN\",activationplatform:\"1sq\",activationplatformactvattr:\"9xu\",activationplatformfield:\"8q9\",activationtarget:\"85U\",activationtargetplatform:\"4q9\",activationtrgtintorgaccess:\"85V\",activefeaturelicensemetric:\"5H2\",activepermsetlicensemetric:\"5H1\",activeprofilemetric:\"5H0\",activescratchorg:\"2AS\",activity:\"007\",activityengagement:\"0Vt\",activityengagementrollup:\"0YI\",activityfieldchange:\"3bh\",activityfieldhistory:\"2fp\",activityhistory:\"N/A\",activityinsight:\"9CI\",activitymetric:\"0Gq\",activitymetricrollup:\"01K\",activitymetricrollupbase:\"01K\",activitymixin:\"N/A\",activityrecurrence2:\"828\",activityrecurrence2exception:\"82B\",activityrelation:\"0RA\",activitytiming:\"1CD\",activityusrconnectionstatus:\"1fm\",actvpfrmdataconnectors3:\"9u8\",actvplatformadncidentifier:\"6q9\",actvplatformadncidfilter:\"7q9\",actvplatformfieldvalue:\"5q9\",actvplatformoauthconnector:\"9xf\",actvtgtplatformfieldvalue:\"3q9\",adatsingestjobevent:\"0nx\",adbuyserveraccount:\"99q\",adcreativesizetype:\"0pD\",additionalnumber:\"04m\",addondefinition:\"0LA\",address:\"130\",addressableeventinterface:\"0Xj\",addresscountry:\"08E\",addressdcitem:\"08D\",addressstate:\"08F\",adherenceaggrevent:\"0tP\",adminsetupevent:\"0Se\",adminsetupeventstream:\"0bv\",adminuser:\"N/A\",adopportunity:\"99l\",adorderitem:\"0p6\",adorderitemcreativesizetype:\"99g\",adorderitemprintissue:\"99i\",adorderitemunitssplit:\"99j\",adorderlineadtarget:\"0pi\",adpagelayouttype:\"99c\",adproductdefaulttargetcategory:\"99p\",adproducttargetcategory:\"0oA\",adquote:\"0q8\",adquoteline:\"0p5\",adquotelineadtarget:\"0pb\",adquotelinecreativesizetype:\"99m\",adquotelineprintissue:\"99h\",adquotelineunitssplit:\"99k\",adserver:\"0p4\",adserveraccount:\"0p7\",adserveruser:\"0p8\",adspacecreativesizetype:\"0pB\",adspacegroupmember:\"0pC\",adspacespecification:\"0p9\",adspecmediaprintissue:\"99d\",adtargetcategory:\"0Qy\",adtargetcategorysegment:\"0kY\",adusage:\"99f\",adusagesummary:\"99e\",advaccountforecastfact:\"0p2\",advaccountforecastformula:\"0nk\",advaccountforecastperiod:\"0nm\",advaccountforecastset:\"0ni\",advacctforecastadjperiod:\"0nj\",advacctforecastdimension:\"0oX\",advacctforecastdimsource:\"0oZ\",advacctforecastfactadj:\"0oz\",advacctforecastmeasuredef:\"0oa\",advacctforecastperiodgroup:\"0nl\",advacctforecastsetpartner:\"0og\",advacctforecastsetuse:\"0u8\",advacctfrcstdisplaygroup:\"0sD\",advacctfrcstdplygroupitem:\"0sP\",advancedtherapyusagemetric:\"0xs\",aejobtracker:\"0Xy\",affinityscore:\"0zs\",affinityscoredefinition:\"0yd\",agentwork:\"0Bz\",agentworkskill:\"0Sm\",aggregateresult:\"N/A\",aggregationrow:\"1LC\",aiapplication:\"0Pp\",aiapplicationconfig:\"6S9\",aiassistanttemplate:\"5g5\",aiconversationcontext:\"0Vn\",aiconversationtext:\"0V1\",aidatadefinition:\"6BX\",aidataset:\"9nd\",aierror:\"2mn\",aiexternalmodelreference:\"6D8\",aifactorcomponent:\"0Ul\",aifeatureextractor:\"0sK\",aifilter:\"0Qq\",aifiltergroup:\"0Qw\",aifiltervalue:\"0Qx\",aiimagedetectedobject:\"8X3\",aiimageobject:\"0mm\",aiimagetrainingobject:\"0sv\",aiinsightaction:\"9qd\",aiinsightfeedback:\"9bq\",aiinsightreason:\"0T2\",aiinsightreasonmlmodelfactor:\"222\",aiinsightsource:\"9xc\",aiinsightvalue:\"9qc\",ailivemetricdefinition:\"2aj\",aimanagedfield:\"0Sj\",aimetric:\"2ai\",aimodel:\"0Lx\",aimodeldefinition:\"0Qm\",aimodelfactor:\"0Uk\",aimodelgraph:\"0Vv\",aimodellanguage:\"8mz\",aimodelmetric:\"0Ui\",aipredictiondefinition:\"0Pq\",aipredictionevent:\"0ae\",aipredictionexpression:\"0dk\",aipredictionfield:\"0Pr\",aipredictionscore:\"117\",aipredictiontarget:\"0Si\",aiqevent:\"0Od\",aiqmetric:\"0Oh\",airecordinsight:\"9qb\",airtravelemssnfctr:\"0nt\",airtravelenrgyuse:\"0o1\",aiscoringmodeldefinition:\"103\",aiscoringmodeldefversion:\"104\",aiscoringstatusevent:\"0sJ\",aiscoringstep:\"105\",aisentimentresult:\"8cc\",aistate:\"2mp\",aiupdaterecordevent:\"4Ot\",aiusecasedefinition:\"0sI\",aiusecasefieldmapping:\"0sH\",aiusecasemodel:\"0sG\",aivisionmodel:\"0z4\",aivisionmodelmetric:\"0df\",aivisionmodelobjectmetric:\"0dv\",aivisitrecommendation:\"9Tu\",aivisitrecommendrequest:\"6qF\",aivisitsummary:\"0fD\",aivisittaskrcmd:\"0kS\",aivisittaskrcmdrequest:\"0ks\",alertchannelsubscription:\"0mj\",alertrecipientsetup:\"0mk\",alertuserrecordoptout:\"0c7\",allergyintolerance:\"0ib\",allinstalledpackageversion:\"0EV\",allmanagedclassrelationship:\"0BH\",allmanagedmemberoption:\"0D8\",allmanagedpackagemember:\"0A5\",allorganization:\"00D\",allorganizationvalue:\"80D\",allowedemaildomain:\"0Ae\",allpackage:\"033\",allpackageversion:\"04t\",allpackageversionlm:\"04t\",allusersbasic:\"005\",alternativepaymentmethod:\"8Z7\",analysis:\"9aC\",analysisconfiguration:\"1Y3\",analysisinsight:\"9C6\",analysissetup:\"9B4\",analysissetupfile:\"0RU\",analysissetupstatusevent:\"67g\",analyticaction:\"0Ay\",analyticactionconfiguration:\"0Lj\",analyticassetcolfolder:\"0s8\",analyticassetcollection:\"0lk\",analyticassetcollectionitem:\"0U2\",analyticassetcollpinrule:\"0BA\",analyticcondition:\"0Aw\",analyticdataalert:\"1OD\",analyticnotification:\"0Au\",analyticnotificationtracker:\"0Zq\",analyticquerycaptureevent:\"0p1\",analyticrecipecompleteevent:\"7jX\",analyticrecorduseraccess:\"N/A\",analyticsbackupbucket:\"7B4\",analyticsbackupfile:\"7B5\",analyticsbackupfilepart:\"7B6\",analyticsbackupuploadjob:\"7B7\",analyticsbotsession:\"0Xu\",analyticscurrencysetting:\"9gv\",analyticsdataassetfile:\"5us\",analyticsdatabase:\"0U0\",analyticslicensedasset:\"3la\",analyticspermission:\"0uW\",analyticsresourceconfig:\"0yJ\",analyticsschema:\"06I\",analyticssyncconnection:\"0uY\",analyticssyncfield:\"0uZ\",analyticssyncmapping:\"0ua\",analyticstable:\"06L\",analyticstablelocation:\"7yr\",analyticthreshold:\"0Av\",androidpushapplicationsetup:\"0DR\",animationrule:\"4Zu\",anlytdataasseteventstore:\"2Aq\",anlytdataassetusageevent:\"6oJ\",announcement:\"0Bt\",annualemssninventory:\"4sb\",annualemssnrdctntarget:\"3sb\",anticorruptioninitsum:\"0zS\",apexbytecodecacheentry:\"05h\",apexcallouteventlog:\"0ub\",apexclass:\"01p\",apexclassdefinition:\"0xa\",apexclassidentargtype:\"N/A\",apexclassidentifier:\"03n\",apexclassidentifierarg:\"N/A\",apexclassidentifierrelationship:\"03q\",apexclassmember:\"400\",apexcodecoverage:\"714\",apexcodecoverageaggregate:\"715\",apexcomponent:\"099\",apexcomponentattribute:\"0IS\",apexcomponentmember:\"403\",apexdebuggerbreakpoint:\"07b\",apexdebuggerevent:\"07d\",apexdebuggerlicense:\"09l\",apexdebuggerrequest:\"07c\",apexdebuggersession:\"07a\",apexemailnotification:\"06j\",apexexecutioneventlog:\"0tI\",apexexecutionoverlayaction:\"1do\",apexexecutionoverlayresult:\"07n\",apexhammerorgresult:\"2sG\",apexhammerresult:\"2sF\",apexinvocablemethod:\"0dg\",apexinvocablemethodparam:\"0dp\",apexlimitevent:\"1HD\",apexlog:\"07L\",apexmetaannotation:\"31r\",apexorgwidecoverage:\"716\",apexpackage:\"01p\",apexpackageidentifier:\"03n\",apexpage:\"066\",apexpageinfo:\"4ve\",apexpagemember:\"402\",apexpolymodule:\"3pm\",apexrequesthistory:\"0RF\",apexrestapieventlog:\"0uj\",apexsoapeventlog:\"0tJ\",apextestqueueitem:\"709\",apextestresult:\"07M\",apextestresultlimits:\"05n\",apextestrunresult:\"05m\",apextestrunresultmetrics:\"8yy\",apextestsuite:\"05F\",apextrigger:\"01q\",apextriggereventlog:\"0uc\",apextriggermember:\"401\",apextypeimplementor:\"0kt\",apianomalyevent:\"0j5\",apianomalyeventstore:\"0j6\",apicapture:\"077\",apicursorhbase:\"06Q\",apicursorshared:\"N/A\",apicursorsharedalt:\"N/A\",apievent:\"07t\",apieventold:\"07t\",apieventstream:\"0QI\",apiloginkey:\"711\",apiquery:\"01g\",apitask:\"50r\",apitaskresult:\"2SB\",apiusage:\"078\",appanalyticsdeliveryconfig:\"0tQ\",appanalyticsqueryrequest:\"0XI\",appbrand:\"06w\",appcapabilitypreset:\"3hR\",appcapabilitypresetmapping:\"9Ab\",appclone:\"0GU\",appcloneaccount:\"0T4\",appcloneactiontrigger:\"0dm\",appcloneandroidpush:\"0UQ\",appcloneapp:\"0OT\",appcloneappaccount:\"0XQ\",appcloneasset:\"0RG\",appcloneauthorizeddomain:\"0RO\",appclonecodesigning:\"2WS\",appclonedeeplink:\"0dX\",appclonedelegateaccount:\"0XP\",appcloneiospush:\"1VR\",appclonelocalizedandroidasset:\"0RN\",appclonelocalizediosasset:\"0RP\",appclonemediaasset:\"0QF\",appclonemetadata:\"0OS\",appcloneprivateaccount:\"0XO\",appclonesupportedregion:\"0T3\",appclonetester:\"0RQ\",appdefinition:\"06m\",appexplorationdataconsent:\"8lB\",appextension:\"0Mg\",appiprange:\"0Hi\",appleappidconfig:\"7RR\",appledomainverification:\"0eO\",appleeckey:\"1w5\",applepushapplicationsetup:\"0GJ\",application:\"06P\",applicationcase:\"0jm\",applicationdecision:\"0vw\",applicationdependency:\"06N\",applicationformtemplate:\"4JQ\",applicationrecommendation:\"0yl\",applicationrecommender:\"0yh\",applicationrecordtypeconfig:\"0jJ\",applicationreview:\"0vx\",applicationsubtypedefinition:\"0tV\",applicationtimeline:\"0yk\",applobjectusagemetric:\"0j9\",applock:\"0Yt\",appmanifest:\"0Ci\",appmanifestversion:\"0Hj\",appmenuitem:\"0DS\",appnotificationtype:\"06r\",appnotiftypeorgsetting:\"0MO\",appnotiftypeusersetting:\"06v\",appointmentassignmentpolicy:\"0mT\",appointmentinvitation:\"1S8\",appointmentinvitee:\"0y6\",appointmentreason:\"0qe\",appointmentscheduleaggr:\"7yO\",appointmentschedulelog:\"5mU\",appointmentschedulingevent:\"0h0\",appointmentschedulingpolicy:\"0Vr\",appointmenttopictimeslot:\"0mS\",approval:\"806\",appserver:\"05Y\",apptabmember:\"06o\",apptassignmentrsrcpool:\"0nC\",apptbookingconfig:\"0mH\",apptbookingurlconfig:\"0mI\",apptbundleaggrdurdnscale:\"52D\",apptbundleaggrpolicy:\"7yi\",apptbundleconfig:\"3Cv\",apptbundlepolicy:\"7sT\",apptbundlepolicysvcterr:\"7b0\",apptbundlepropagatepolicy:\"8XA\",apptbundlerestrictpolicy:\"6KP\",apptbundlesortpolicy:\"0lU\",apptreasonengmtchanneltype:\"0yP\",appusageassignment:\"0j8\",appusagetype:\"0j7\",aqtawrdata:\"08v\",aqtcompoundrecommendedindex:\"08n\",aqtcreatedindex:\"08o\",aqtimportrequest:\"0ON\",aqtimportrequestindex:\"0OQ\",aqtincidentdetection:\"0SU\",aqtlongrunningrequestdata:\"08r\",aqtrecommendedindex:\"08u\",aqtrirequestmap:\"08t\",aqtworkloaddata:\"08l\",aqtworkloadmetadata:\"08i\",araccounttypejunc:\"0at\",articlemapinfo:\"0Gs\",articlerecmonthlymetrics:\"31j\",asecalendarevent:\"0Tf\",asemobileconfiguser:\"0Z2\",aseusersyncstats:\"1fn\",asgnresourcelocupdateevent:\"0jH\",asgnrsrcapptschdevent:\"4OG\",asmtqstnresprecommendation:\"10o\",assessment:\"0U3\",assessmentenvelope:\"0yI\",assessmentenvelopeitem:\"0yK\",assessmentinddefinedvalue:\"0z5\",assessmentindicatordefinition:\"0eu\",assessmentindvalue:\"0z6\",assessmentquestion:\"0U4\",assessmentquestionassignment:\"0r4\",assessmentquestionconfig:\"0q2\",assessmentquestionresponse:\"0jb\",assessmentquestionset:\"0lB\",assessmentquestionsetconfig:\"0vF\",assessmentquestionversion:\"0lF\",assessmentsignature:\"11N\",assessmenttask:\"0eg\",assessmenttaskcontentdocument:\"0dQ\",assessmenttaskdefinition:\"0Z4\",assessmenttaskinddefinition:\"0dt\",assessmenttaskorder:\"0es\",asset:\"02i\",assetaccountparticipant:\"4W8\",assetaction:\"4nL\",assetactionsource:\"4nM\",assetamenderrordtlevent:\"0ve\",assetamendinitiatedevent:\"0vd\",assetattribute:\"0oV\",assetcancelerrordtlevent:\"191\",assetcancelinitiatedevent:\"0qF\",assetcontactparticipant:\"4W9\",assetcriteriasharingrule:\"70c\",assetdowntimeperiod:\"0gP\",assetmilestone:\"9a1\",assetownersharingrule:\"70b\",assetrelationship:\"1AR\",assetrenewerrordtlevent:\"0ud\",assetrenewinitiatedevent:\"0uw\",assetshare:\"70a\",assetsharingrulefilteritem:\"70d\",assetstateperiod:\"4nK\",assettoken:\"05b\",assettokenevent:\"0Li\",assetwarranty:\"4xo\",assignedresource:\"03r\",assignmentdelta:\"0op\",assignmentrule:\"01Q\",assistantcontextitem:\"9Qj\",assistantdefinition:\"6kb\",assistantdefinitionprofile:\"4BM\",assistantinteraction:\"0Go\",assistantprogress:\"0FO\",assistantrecommendation:\"05q\",assistantrecommendationtype:\"0Hr\",assistantresolvedcontextitem:\"59O\",assistantskill:\"9J4\",assistantskillintent:\"261\",assistantskillquickaction:\"0da\",assistantskillquickactionparam:\"0dc\",assistantskillsobjectaction:\"0cq\",assistantskillsobjectparam:\"0cr\",assistantstepprogress:\"4AP\",assistanttext:\"0aN\",assistanttextrange:\"0aR\",assistantversion:\"4YF\",assistantversionaction:\"0dZ\",associatedfiltercriteria:\"3iD\",associatedlocation:\"0Kt\",associatedsortcriteria:\"0aE\",associationcriteria2dimmetrics:\"0qb\",associationqueueitem:\"6AA\",assortment:\"0aO\",assortmentproduct:\"0bl\",asyncapexjob:\"707\",asyncapibatch:\"751\",asyncapibatchmatchdetail:\"09E\",asyncapibatchoptions:\"05E\",asyncapibatchresult:\"N/A\",asyncapichunkresults:\"0Ga\",asyncapijob:\"750\",asyncapijobmatchdetail:\"09C\",asyncapijoboptions:\"754\",asyncapiqueryresult:\"752\",asyncapisupplementaryresult:\"0z1\",asyncapitransformationspec:\"0Aj\",asyncoperationevent:\"0Xw\",asyncoperationlog:\"1ao\",asyncoperationstatus:\"0YD\",asyncreportitem:\"08A\",asyncrequest:\"04s\",asyncrequestffx:\"09S\",asyncrequestffxresult:\"09T\",asyncrequestresponseevent:\"2zy\",attachedcontentdocument:\"N/A\",attachedcontentnote:\"N/A\",attachment:\"00P\",attachmentarticle:\"07Q\",attributecategory:\"0v3\",attributedefinition:\"0tj\",attributedefinition2:\"06U\",attributepicklist:\"0v5\",attributepicklistvalue:\"0v6\",attributevaluestore:\"0pJ\",audience:\"6Au\",audiencecontactpoint:\"2j5\",audiencecriteria:\"6Ac\",audiencecriteriametric:\"0v2\",audiencecustomformula:\"6CF\",audiencemembership:\"0am\",audiencemetric:\"0v1\",audiencepermissioncriteria:\"1v3\",audiencepersonalizedmetric:\"0xL\",auradefinition:\"0Ad\",auradefinitionbundle:\"0Ab\",auradefinitionbundleinfo:\"0ab\",auradefinitionchange:\"0aD\",auradefinitioninfo:\"0ad\",auraresource:\"0Az\",authapplicationasset:\"0iz\",authapplicationplace:\"0jC\",authconfig:\"07T\",authconfigproviders:\"07U\",authenticatordisputedevent:\"0PI\",authformrequestrecord:\"0lo\",authlocationaccessschedule:\"0zw\",authorizablemember:\"9ck\",authorizationform:\"0cI\",authorizationformconsent:\"0cK\",authorizationformdatause:\"0cM\",authorizationformtext:\"0cN\",authorizedinsuranceline:\"0gG\",authornote:\"0nN\",authprovider:\"0SO\",authsecuritylevel:\"0AU\",authsession:\"0Ak\",autoactivitycapturemetrics:\"0Lo\",autocreationrun:\"0af\",automatedaction:\"0ot\",automatedactioncondition:\"0ow\",automatedactionexecevent:\"10G\",automatedactionparameter:\"0oy\",autonumber:\"N/A\",autoresponserule:\"01Q\",autotriagemetrics:\"0eU\",avroschema:\"0Ls\",award:\"0cF\",b2bcombinedproductmetrics:\"89L\",b2bcombinedstoremetrics:\"1Bn\",b2bcommercepackagemetrics:\"0Xe\",b2bcommercepkgordersonceue:\"0rd\",b2bcommercepkgordersue:\"0d8\",b2bcommercepkgproductmetrics:\"0Wy\",b2bmaappsetuphelper:\"00d\",b2bmktactivity:\"1cL\",b2bmktcampaignsyncconfig:\"6uN\",b2bmktobjecttag:\"1cZ\",b2bmktprospect:\"1cM\",b2bmktprospectaccount:\"1cO\",b2bmktprospectstage:\"1cQ\",b2bmktvirtualobjectfield:\"4Ys\",b2bmktvisitor:\"1cX\",b2borderdailymetrics:\"6DI\",b2bordergmvdailymetrics:\"4Ic\",b2bordermonthlymetrics:\"2gX\",b2borgwidedailymetrics:\"1Bm\",b2borgwidemonthlymetrics:\"0iq\",b2bwebstoreweeklymetrics:\"1Bo\",b2cordergmvdailymetrics:\"4Id\",b2corgwidedailymetrics:\"0jD\",backgroundoperation:\"08P\",backgroundoperationresult:\"06q\",badgemissiondefinition:\"0Z8\",badgemissionrule:\"0Z9\",banker:\"0ij\",baseeventinterface:\"0OG\",baseeventpackageinterface:\"0Uy\",baserevenueeventinterface:\"8RC\",basesessioninterface:\"0Tv\",batchapexerrorevent:\"1QQ\",batchapexrelationship:\"708\",batchbillingschedulemetric:\"1Bb\",batchcalcjobaggregate:\"9MI\",batchcalcjobaggregatefield:\"9MK\",batchcalcjobaggregatekey:\"9MJ\",batchcalcjobcustomnode:\"10D\",batchcalcjobcustomnodesrc:\"10F\",batchcalcjobdatasource:\"9MB\",batchcalcjobdatasourcefield:\"9MC\",batchcalcjobdefinition:\"9N1\",batchcalcjobdefinitionview:\"9NZ\",batchcalcjobfilter:\"9MG\",batchcalcjobfiltercriteria:\"9MH\",batchcalcjobhierarchypath:\"9MW\",batchcalcjobjoinkey:\"9ME\",batchcalcjobjoinresultfield:\"9MF\",batchcalcjoborderfield:\"9MV\",batchcalcjobparameter:\"9MS\",batchcalcjobpartitionfield:\"9MU\",batchcalcjobprocesstype:\"9MR\",batchcalcjobsourcejoin:\"9MD\",batchcalcjobtransform:\"9MN\",batchcalcjobtransformaddedfield:\"9MO\",batchcalcjobtransformdroppedfield:\"9MT\",batchcalcjobunion:\"9ML\",batchcalcjobunionsource:\"9MM\",batchcalcjobversion:\"9MA\",batchcalcjobwritebackmapping:\"9MQ\",batchcalcjobwritebackobject:\"9MP\",batchdatasource:\"0mc\",batchdatasrcfiltercriteria:\"0mg\",batchinvoicegenerationmetric:\"1Bi\",batchjob:\"0md\",batchjobdefinition:\"0ma\",batchjobexecution:\"7zc\",batchjobexecutioncontext:\"7zd\",batchjobexecutionevent:\"9NF\",batchjobexecutionparam:\"7za\",batchjobinstance:\"7ze\",batchjobpart:\"0me\",batchjobpartfailedrecord:\"0mf\",batchjobstatuschangedevent:\"9NE\",batchprocessjobdefinition:\"0mh\",batchprocessjobdefview:\"0mi\",batchstepexecution:\"7zf\",batchstepexecutioncontext:\"7zg\",bcentitypermission:\"0fa\",bcentitypermissionset:\"0fq\",bcfieldpermission:\"0fX\",bcparticipant:\"0fZ\",bcparticipantaccess:\"0fp\",bcpermissionset:\"0fs\",bcrecordaccess:\"0fO\",bcrecordaccessapproval:\"0fS\",bcrelatedparticipant:\"0fW\",benefit:\"0ji\",benefitaction:\"6BD\",benefitactionparameter:\"0nH\",benefitactionparametervalue:\"9Nx\",benefitassignment:\"0nD\",benefitassignmentadjustment:\"0wl\",benefitdisbursement:\"0xW\",benefitdisbursementadj:\"3Al\",benefitparametervalue:\"0nQ\",benefitschedule:\"1Bs\",benefitsession:\"2Bs\",benefittype:\"0jh\",bigobjectcounter:\"0RM\",bigobjectsrecordmetrics:\"0Pv\",billingbatchfiltercriteria:\"5BC\",billingbatchscheduler:\"5BS\",billingdivision:\"600\",billinglink:\"0zO\",billingperioditem:\"5eX\",billingperiodtaxitem:\"3Eb\",billingpolicy:\"1BP\",billingschedule:\"44b\",billingschedulecreatedevent:\"8WE\",billingschedulecreationstatus:\"0ed\",billingschedulegroup:\"9Ws\",billingtreatment:\"1BT\",billingtreatmentitem:\"1BD\",billschdcreatedeventdetail:\"12u\",blacklistedconsumer:\"0Bl\",blacktabauditlog:\"7ch\",bldgenrgyintensity:\"0o3\",bldgenrgyintensitycnfg:\"0to\",bldgenrgyintensityval:\"0o5\",bldgsizecategory:\"0o9\",blockchainapplication:\"0aY\",blockchainappmember:\"0aV\",blockchainentity:\"0aT\",blockchainevent:\"0cG\",blockchainfield:\"0aU\",blockchainmember:\"0aX\",bluetailfeedback:\"07f\",boardcertification:\"0YS\",bookmark:\"04B\",boosterpermit:\"0Y1\",botanalytics:\"0T8\",botchannelssessionsmetrics:\"1BM\",botdefinition:\"0Xx\",boteventlog:\"0U7\",botsessionsmetrics:\"0US\",botversion:\"0X9\",branchmanagementmetrics:\"0oD\",branchorgrequest:\"0Cc\",branchunit:\"0ip\",branchunitbusinessmember:\"0kH\",branchunitcustomer:\"0iy\",branchunitrelatedrecord:\"0iQ\",brandingset:\"0Lw\",brandingsetproperty:\"0Ly\",brandingvalue:\"0IO\",brandtemplate:\"016\",briefcaseassignment:\"5LH\",briefcaseconnectedapp:\"7nX\",briefcasedefinition:\"1rY\",briefcaserule:\"1rX\",briefcaserulefilter:\"1rZ\",broadcastcommaudience:\"0oS\",broadcastcommunication:\"0oY\",broadcasttopic:\"0uK\",broadcasttopiccollabroom:\"0uL\",broadcasttopicgroup:\"0za\",broadcasttopicnetwork:\"0xM\",broadcasttopicuserrole:\"0uM\",btchcalcjobcustmnodeparam:\"10E\",btsuggestionfeedback:\"08T\",budget:\"0oG\",budgetallocation:\"0oH\",budgetcategory:\"0xE\",budgetcategoryvalue:\"0yg\",budgetperiod:\"0xJ\",buffalocanarycookiestore:\"0uq\",buffalomigrationevent:\"0Mt\",buffalomigrationmanagement:\"0Mu\",buffaloorgestimate:\"0MW\",buffaloslice:\"0UF\",buffalostep:\"0VI\",bulkapi2eventlog:\"7y5\",bulkapieventlog:\"0qk\",bulkapiresultevent:\"0hx\",bulkapiresulteventstore:\"0hJ\",bulkdedupeblob:\"0Sh\",bulkdedupefilter:\"0OX\",bulkdedupefilteritem:\"0OY\",bulkdedupeoperation:\"0OW\",bundleclosure:\"9aR\",bundledcarefeeagreement:\"0s2\",businessalert:\"10w\",businessalertstatus:\"11D\",businessbrand:\"1BU\",businesshours:\"01m\",businesshoursholiday:\"N/A\",businesslicense:\"0cE\",businesslicenseapplication:\"0f0\",businessmilestone:\"0do\",businessprocess:\"019\",businessprocessdefinition:\"0MH\",businessprocessfeedback:\"0X7\",businessprocessgroup:\"0Y3\",businessprocesspicklist:\"01A\",businessprocesstypedef:\"0tW\",businessprofile:\"0eQ\",businesstype:\"2gF\",businessunitmember:\"0ii\",busoporganization:\"N/A\",busprocessfeedbackconfig:\"0Gc\",busprocessnotificationevent:\"0eJ\",busregauthorizationtype:\"0ey\",busregauthtypedependency:\"4vv\",buyeraccount:\"0bj\",buyergroup:\"0ZI\",buyergroupmember:\"0ZJ\",buyergrouppricebook:\"0Zl\",c2cpermissionbinding:\"0So\",cachechecksums:\"N/A\",cachedreportresultset:\"0KC\",cachekeyversion:\"0FN\",cachemasterversion:\"N/A\",cachemasterversionslave1:\"N/A\",cachemasterversionslave2:\"N/A\",cacheobjectversion:\"N/A\",calcinsightstatusevent:\"1e3\",calcprocsteprelationship:\"06Z\",calculationmatrix:\"0lI\",calculationmatrixcolumn:\"0lJ\",calculationmatrixrow:\"9mt\",calculationmatrixversion:\"0lN\",calculationprocedure:\"0k0\",calculationprocedurestep:\"0mq\",calculationprocedurevariable:\"0kJ\",calculationprocedureversion:\"0k1\",calendar:\"023\",calendarmodel:\"03B\",calendarshare:\"024\",calendarsharing:\"0P9\",calendarview:\"03A\",callcenter:\"04v\",callcenterroutingmap:\"35A\",callcoachconfigmodifyevent:\"0hy\",callcoachingmediaprovider:\"0hn\",callcoachkeywordevent:\"9Nz\",callctragentfavtrfrdest:\"2pN\",calldisposition:\"0dN\",calldispositioncategory:\"0dO\",calloutstempdata:\"N/A\",callrecordinggeorestriction:\"0mp\",callscriptmonthlymetric:\"0hC\",callsnippetdetail:\"6zm\",calltemplate:\"0Wu\",campaign:\"701\",campaigncriteriasharingrule:\"05B\",campaigninfluence:\"0KK\",campaigninfluenceadjustment:\"0BG\",campaigninfluencemodel:\"03V\",campaigninsight:\"0V0\",campaigninsightrationale:\"0Vm\",campaignmember:\"00v\",campaignmemberstatus:\"01Y\",campaignownersharingrule:\"08d\",campaignshare:\"08s\",campaignsharingrulefilteritem:\"05I\",campaignstatsqueue:\"089\",campaigntemplate:\"6rh\",campaigntemplatedefinition:\"1NP\",cancelordercreatedevent:\"0nv\",candidateanswer:\"0QA\",candidateanswerdailymetrics:\"0QQ\",candidateanswerfeedback:\"004\",canvas:\"07O\",canvasfeeditem:\"0AW\",capacityplanconfig:\"0jZ\",capitationcarefeeagreement:\"0rM\",captchakey:\"0He\",cardpaymentmethod:\"03O\",carebarrier:\"0Vo\",carebarrierdeterminant:\"0Zb\",carebarriertype:\"0Vs\",carebenefitverifyrequest:\"0n2\",carebenefitverifysettings:\"0n5\",caredeterminant:\"8GR\",caredeterminanttype:\"0YO\",carediagnosis:\"0VC\",careepisode:\"0xg\",careepisodedetail:\"0zQ\",carefeescheduleitem:\"0rQ\",careinterventiontype:\"0YM\",carelimittype:\"0mb\",caremetrictarget:\"0hL\",careobservation:\"0hI\",careobservationcomponent:\"0jg\",careperformer:\"0ig\",carepgmenrolleewkordstep:\"0z8\",carepgmenrolleeworkorder:\"0zj\",carepgmprovhealthcareprovider:\"0h7\",careplan:\"1sp\",careplanactivity:\"0xb\",careplanactivitydetail:\"0yR\",careplandetail:\"6sg\",careplantemplate:\"1st\",careplantemplatebenefit:\"1tb\",careplantemplategoal:\"1tg\",careplantemplateproblem:\"0yT\",carepractnfacilityappt:\"0kr\",carepreauth:\"0Td\",carepreauthitem:\"0Tg\",careprogram:\"0Ze\",careprogramcampaign:\"0Zs\",careprogrameligibilityrule:\"0bk\",careprogramenrollee:\"0Ww\",careprogramenrolleeproduct:\"0be\",careprogramenrollmentcard:\"0bg\",careprogramgoal:\"0bn\",careprogramproduct:\"0bd\",careprogramprovider:\"0bo\",careprogramteammember:\"0Zr\",careprovideradverseaction:\"0et\",careproviderfacilityspecialty:\"0bX\",careprovidersearchablefield:\"0d0\",careprovidersearchconfig:\"0ex\",careregistereddevice:\"0hB\",carerequest:\"0Um\",carerequestconfiguration:\"0Us\",carerequestdrug:\"0VD\",carerequestextension:\"0br\",carerequestitem:\"0VK\",carerequestreviewer:\"06H\",carespecialty:\"0bc\",carespecialtytaxonomy:\"0kB\",caresystemfieldmapping:\"0cf\",caretaxonomy:\"0bK\",careteam:\"0zb\",cartcheckoutsession:\"2z9\",cartdeliverygroup:\"0a7\",cartdeliverygroupmethod:\"7cd\",cartitem:\"0a9\",cartitempriceadjustment:\"0U1\",cartpricingresponseevent:\"0cn\",cartrelateditem:\"0aA\",carttax:\"0gT\",cartvalidationoutput:\"0dP\",case:\"500\",casealertevent:\"0qW\",casearticle:\"0gv\",casecomment:\"00a\",casecontactrole:\"03j\",casecriteriasharingrule:\"03I\",caseescalation:\"01z\",caseexternaldocument:\"1OZ\",casegatewayrequest:\"0cQ\",casehistory2:\"02D\",casemilestone:\"555\",caseownersharingrule:\"01y\",caseparticipant:\"1ca\",caseprogram:\"11Y\",caserelatedissue:\"0oL\",caseserviceprocess:\"0wR\",caseshare:\"01n\",casesharingrulefilteritem:\"0I7\",casesolution:\"010\",casestatus:\"N/A\",casesubjectparticle:\"0Oi\",catalogblob:\"0KF\",catalogextent:\"0SN\",catalogextentid:\"0KE\",catalogextentiddronly:\"5DR\",catalogextentidnobackup:\"0KN\",catalogextentseqitem:\"0SI\",catalogextentsequence:\"0KS\",catalogextentstore:\"0SJ\",catalogsnapshotmetadata:\"2kL\",categorizedcarefeeagreement:\"0rD\",categoryaccess:\"02j\",categoryblowout:\"N/A\",categorydata:\"02o\",categoryjobtask:\"0EQ\",categorynode:\"02n\",categorynodelocalization:\"01j\",categorytrans:\"N/A\",ccitable:\"00x\",ccitablefield:\"00y\",ccpcdmofieldsrctargetmap:\"1vz\",ccpcdmoobjectsrctargetmap:\"1vq\",cdcbacklog:\"0r9\",cdclog:\"06x\",cdctxlog:\"0Mc\",cdndomain:\"0jv\",cdpbillingentitlementdetail:\"0xh\",cdpbillingmetrics:\"0hi\",cdpgdprstate:\"8Yq\",cdpmcsetupstatus:\"0gC\",cdpmcsetupuistatus:\"0yZ\",cdpprovisionstatusevent:\"0e3\",cdpservicetenant:\"0fA\",certificate:\"0P1\",certificateip:\"0P2\",certification:\"0Cr\",certificationdef:\"0CR\",certificationsectiondef:\"0CN\",certificationstep:\"0Cs\",certificationstepdef:\"0CT\",changerequest:\"0oW\",changerequestrelatedissue:\"0oK\",changerequestrelateditem:\"0tC\",changesetdeployhistory:\"0EW\",changesetdeploymessage:\"0EX\",changesetuploadhistory:\"0H6\",changesubscriber:\"08Z\",changesubscription:\"08b\",channelaccountmetrics:\"3Ca\",channelactionmetricview:\"2h9\",channelobjectlinkingrule:\"0dl\",channelprogram:\"0Pk\",channelprogramlevel:\"0Pl\",channelprogrammember:\"0Pm\",channelsubscription:\"0MB\",chartdata:\"0FD\",chatbotanalytics:\"0S3\",chatbotmetric:\"1CM\",chatsession:\"5CS\",chatsessionmembers:\"0CM\",chatteractivity:\"0ca\",chatteractivitydailymetrics:\"3NZ\",chatteranswersactivity:\"0sa\",chatteranswersreputationlevel:\"0rs\",chatterconversation:\"03M\",chatterconversationmember:\"03N\",chatterextension:\"0MY\",chatterextensionconfig:\"0Ob\",chatterextensioninstance:\"0Mb\",chattergroupconmetrics:\"3MM\",chattermessage:\"03J\",chattermessagethread:\"03K\",chattermetrics:\"3M3\",chatternowuserfavorites:\"0CF\",chatternowusersettings:\"0CS\",chatterorgwidemetrics:\"3M4\",chatterservicesitesetting:\"918\",chatteruniquecontributordailymetrics:\"3NY\",chatterusernetworkmetrics:\"3MN\",chunkableentitychunk:\"202\",chunkableentitychunk2:\"205\",chunkableentitytally:\"201\",chunkableentitytally2:\"203\",chunkabletask:\"200\",chunkabletask2:\"2CE\",cicallstructureevent:\"0fU\",ciinsightsevent:\"0fT\",citranscriptevent:\"0pk\",civoicecallrevisedevent:\"0fN\",claim:\"0Zk\",claimcase:\"0cZ\",claimcoverage:\"0kP\",claimcoveragepaymentdetail:\"0l2\",claimcoveragereservedetail:\"0kQ\",claimcovpaymentadjustment:\"0l3\",claimcovreserveadjustment:\"0l7\",claimfinancialsettings:\"11Z\",claimitem:\"0dq\",claimparticipant:\"0aS\",claimpaymentsummary:\"0l8\",claimpayoutplan:\"0vE\",claimrecovery:\"0t6\",claimteammember:\"0tl\",clausecatgconfiguration:\"0zM\",cleanaccountbackup:\"1AB\",cleanactivitylog:\"0Nh\",cleanbatcherrorlog:\"08H\",cleancontactbackup:\"1CB\",cleandataservice:\"07S\",cleanentityerror:\"0Nj\",cleanentityerrorlog:\"08I\",cleanfactentityclaim:\"2FE\",cleanfactfieldclaim:\"2FF\",cleanfieldsettingold:\"1FS\",cleaninfo:\"0Ng\",cleanjoblog:\"08G\",cleanjobsetting:\"1JS\",cleanleadbackup:\"1LB\",cleanrule:\"07i\",cleanruleunused:\"07Y\",clientbrowser:\"713\",clientdesktopconfig:\"088\",clientinfo:\"03l\",clientlastlogin:\"N/A\",clinicalalert:\"0l9\",clinicaldetectedissue:\"0u5\",clinicaldetectedissuedetail:\"0ui\",clinicalencounter:\"0kG\",clinicalencounterdiagnosis:\"0kZ\",clinicalencounterfacility:\"0l1\",clinicalencounteridentifier:\"0k6\",clinicalencounterprovider:\"0kM\",clinicalencounterreason:\"0lm\",clinicalencountersvcrequest:\"0lx\",clinicalservicerequest:\"0jy\",clinicalservicerequestdetail:\"0lT\",clobdata:\"N/A\",cloudmetricquerychunkbatch:\"3su\",cloudmetricqueryjobstatus:\"3st\",cloudmetricquerystatus:\"3sz\",cloudmetricstatus:\"3sk\",cloudmetrictrackmetrics:\"3qj\",cloudmetrictransportstatus:\"3sK\",cloudserviceprovider:\"1L9\",cloudserviceproviderapi:\"1LA\",cmeapiresponsesetup:\"5hh\",cmnauthformdatause:\"8qG\",cmnauthorizationform:\"0nF\",cmnauthorizationformconsent:\"0nG\",cmnauthorizationformtext:\"0nK\",cmncommsubscrchanneltype:\"0nP\",cmncommsubscription:\"0nO\",cmncommsubscriptionconsent:\"0nR\",cmncommsubscriptiontiming:\"0nS\",cmnconsentaction:\"0zq\",cmnconsentstatus:\"0zp\",cmncontactpointaddress:\"0qo\",cmncontactpointconsent:\"0na\",cmncontactpointemail:\"0r2\",cmncontactpointphone:\"0rI\",cmndatauselegalbasis:\"0nb\",cmndatausepurpconsentact:\"0rm\",cmndatausepurpose:\"0sO\",cmnengagementchanneltype:\"0nf\",cmnengchanneltypeconsent:\"0nh\",cmnindividual:\"0ng\",cmnpartyconsent:\"0vp\",cmsconnectasset:\"0Q8\",cmsconnectlanguage:\"0Q9\",cmsconnectpersonalization:\"009\",cmsconnectresourcedefinition:\"00L\",cmsconnectresourcetype:\"9ef\",cmsconnectsource:\"0Q6\",codebundle:\"0XJ\",codeset:\"0hs\",codesetbundle:\"0iP\",codesetrelationship:\"10i\",collabdocmetriceventdetail:\"2TT\",collabdocumentmetric:\"5ue\",collabdocumentmetricrecord:\"9jf\",collabinvitereminder:\"N/A\",collabmetricevent:\"9Z8\",collabmonitoringinstance:\"0jT\",collaborationgroup:\"0F9\",collaborationgroupmember:\"0FB\",collaborationgroupmemberrequest:\"0I5\",collaborationgrouprank:\"0RC\",collaborationgrouprecord:\"0Aa\",collaborationinvitation:\"0H1\",collaborationroom:\"9CR\",collaborativefilteringitem_to_item:\"N/A\",collaborativefilteringitem2item:\"N/A\",collabsignupreminder:\"N/A\",collabtemplatemetric:\"4tY\",collabtemplatemetricrecord:\"3XT\",collabuserengagementmetric:\"8Ne\",collabuserengmtrecordlink:\"2pQ\",collabusrmetriceventdetail:\"9Z9\",colordefinition:\"05k\",combinedattachment:\"N/A\",combinednote:\"N/A\",commandaction:\"0Xm\",commandactionintent:\"0Xo\",commandactionparam:\"0Xn\",commandactionresponse:\"0dx\",commandintentfragment:\"0Xp\",commandintentparam:\"0Xr\",commandwordfragment:\"0Xq\",commchannellayout:\"0eo\",commchannellayoutitem:\"0ep\",commchannellayoutmapping:\"0eq\",commercecustomer:\"0Rk\",commercecustomeraddress:\"9Ry\",commercediagnosticevent:\"0gs\",commerceentitlementbuyergroup:\"7Eb\",commerceentitlementpolicy:\"1Ce\",commerceentitlementproduct:\"7Ep\",commerceguestorder:\"0Ro\",commerceimportstatus:\"0kn\",commerceintegrationevent:\"0cH\",commerceintegrationresponse:\"0ce\",commerceknowledgebase:\"0td\",commerceorderaddress:\"0Rq\",commerceordercustomer:\"0rO\",commerceordercustomerevent:\"0eD\",commerceruleknowledgebase:\"0tH\",commercesearchdocchangelist:\"3d6\",commercesearchindexinfo:\"0ax\",commercesearchindexlog:\"3d7\",commercesearchindexpayload:\"0bq\",commercesearchsortingrule:\"0qU\",commercetranslationevent:\"10q\",commissionschedule:\"0mC\",commissionscheduleassignment:\"05r\",commsubscription:\"0Xl\",commsubscriptionchanneltype:\"0eB\",commsubscriptionconsent:\"0dY\",commsubscriptiontiming:\"0al\",community:\"09a\",communityaimodelmapping:\"0TP\",communitycustomthemelayouttype:\"05x\",communitydatacategoryselection:\"02o\",communityiqctrmetric:\"0P4\",communityrecordtype:\"09b\",communitytemplatebundleinfo:\"05u\",communitytemplatedefinition:\"05j\",communitytemplatepagesetting:\"06z\",communitythemedefinition:\"05l\",communitythemerouteoverride:\"0UL\",communitythemesetting:\"05s\",communityworkspacesnode:\"09x\",compactlayout:\"0AH\",compactlayoutinfo:\"4cl\",compactlayoutitem:\"0AM\",compactlayoutiteminfo:\"4ci\",compactlayoutmapping:\"0AN\",companyrecommendationjob:\"0Th\",comparisonresult:\"1L8\",comparisonsummary:\"1L7\",complaintcase:\"0kN\",complaintparticipant:\"1co\",complexliteralcustomaspect:\"6CL\",componentappversion:\"0BF\",componentfeaturedependency:\"07K\",componentinstance:\"0AK\",componentinstanceproperty:\"0AJ\",componentinstancepropertylistitem:\"0b1\",componentlicensestatus:\"6us\",componentobjectdependency:\"07J\",componentresourcelink:\"02b\",componentresponsecache:\"0Oa\",compositelist:\"0k5\",compositelistcolumn:\"81w\",compositelistfilter:\"0lO\",computedcomponentmetadata:\"1ZE\",concurapexlimiteventlog:\"0vA\",concurlongrunapexerrevent:\"1QR\",conditionalformattingproperty:\"0Zo\",conditionalformattingpropertybin:\"0Zn\",conditionalformattingpropertypredicate:\"0Zm\",conduitfanout:\"0Cm\",conduitmessage:\"0Cq\",conduitsubscription:\"0Cf\",conferencenumber:\"0Ah\",confidencethresholdconfig:\"0ct\",confidencethresholdcoverage:\"0tc\",connectedapplication:\"0H4\",connectedapplication2:\"09H\",connectedappoauthpolicy:\"07h\",connectedapppermset:\"N/A\",connectedappplugin:\"0HZ\",connectedappsessionpolicy:\"0HW\",connectedcomminstconfig:\"0um\",connectedcomminstfeature:\"0un\",connectivityattributes:\"0Hl\",connectivitydevconfig:\"0Hk\",consentaudittrail:\"0hZ\",consentevent:\"0e0\",consentmetric:\"0zz\",consentprefcstmzformdef:\"0uU\",consentprefcstmzformitem:\"0wE\",consentpreferenceformcmpnt:\"0mE\",consentpreferenceformdef:\"0mA\",consentpreferenceformsect:\"0mD\",consentpreferenceformver:\"0mB\",consentprefformalloweddmn:\"2Bt\",consentprefformcmpntattr:\"0oF\",consentprefrevokedtkn:\"0qj\",consenttemplate:\"2cm\",consenttemplatebasicfilter:\"1bf\",consenttemplatecontactpointfilter:\"8jR\",consenttemplatefiltergroup:\"1fg\",consenttemplateobjectfieldfilter:\"0t2\",consentusagemetric:\"0xx\",consoleconfig:\"03i\",consoleconfigitem:\"03k\",consolepersonalization:\"0AX\",consolesidebarcontainer:\"0Bn\",consolidatedcustomindex:\"00z\",constituentrole:\"0vy\",consumptionrate:\"0Mo\",consumptionschedule:\"0Mh\",contact:\"003\",contactalertevent:\"0qG\",contactcenterchannel:\"8GU\",contactcleaninfo:\"1CC\",contactcontactrelation:\"0zm\",contactcriteriasharingrule:\"03H\",contactdailymetric:\"0mO\",contactencounter:\"0ha\",contactencounterparticipant:\"0hb\",contactmonthlymetric:\"0mL\",contactownersharingrule:\"03D\",contactpoint:\"0Qa\",contactpointaddress:\"8lW\",contactpointconsent:\"0ZX\",contactpointdatasourcelineage:\"0Tm\",contactpointemail:\"9Vl\",contactpointentityassocsnapshotlocator:\"0VL\",contactpointphone:\"0Ow\",contactpointtypeconsent:\"0ZY\",contactprofile:\"11A\",contactrequest:\"0Tz\",contactshare:\"03s\",contactsharingrulefilteritem:\"0I8\",contactsuggestioninsight:\"0Qs\",containerasyncrequest:\"1dr\",contentasset:\"03S\",contentbody:\"05T\",contentbuilderchannel:\"3O4\",contentdesignkit:\"27G\",contentdesignkitversion:\"27F\",contentdispositionassignment:\"0By\",contentdistribution:\"05D\",contentdistributionview:\"05H\",contentdlvrntwkusagemetric:\"0vD\",contentdocument:\"069\",contentdocumentlink:\"06A\",contentdocumentlistviewmapping:\"0Vi\",contentdocumentsubscription:\"057\",contentexternalstorage:\"0Xk\",contentfolder:\"07H\",contentfolderdistribution:\"0Ud\",contentfolderitem:\"N/A\",contentfolderlink:\"07v\",contentfoldermember:\"07I\",contenthubitem:\"0CH\",contenthubrepository:\"0XC\",contentlogmetricsbyfiletype:\"413\",contentlogmetricsbyorg:\"02N\",contentmetrics:\"3MD\",contentnote:\"069\",contentnotification:\"05V\",contentnotificationparam:\"05W\",contentorgmetrics:\"0MT\",contentreference:\"0EM\",contentrenditionpolicy:\"0Fl\",contentsyncsetting:\"07j\",contenttagname:\"056\",contenttagsubscription:\"05Q\",contentusersubscription:\"05S\",contentversion:\"068\",contentversioncomment:\"05C\",contentversioningpolicy:\"0Ax\",contentversionmap:\"0BI\",contentversionrating:\"05J\",contentversionrenditioncontent:\"05K\",contentversiontagname:\"05N\",contentworkspace:\"058\",contentworkspaceallowedrectype:\"06B\",contentworkspacedoc:\"059\",contentworkspacelink:\"03T\",contentworkspacemember:\"05A\",contentworkspacepermission:\"05P\",contentworkspacerecentevent:\"05Z\",contentworkspacesubscription:\"05R\",contextfieldattributes:\"0Fa\",contextkpi:\"0ea\",contextpanelayout:\"0IQ\",contextparammap:\"15z\",contextualdashboard:\"4Hp\",contextualdashpageref:\"4Hz\",contract:\"800\",contractcontactrole:\"02a\",contractdocumentversion:\"0qt\",contractdocvercontentdoc:\"0qs\",contractdocversionsection:\"0qu\",contractgroupplan:\"0rg\",contractgroupplangroupclass:\"0xr\",contractlineitem:\"811\",contractlineoutcome:\"3lp\",contractlineoutcomedata:\"7sD\",contractorloginmetric:\"87F\",contractpaymentagreement:\"0rR\",contractstatus:\"N/A\",contracttype:\"0r7\",contracttypeconfig:\"0sZ\",convcoachingrecommendation:\"4YW\",convcoachingrecommendevent:\"299\",convdefdialogdailymetric:\"593\",convdefdialoghourlymetric:\"0lq\",convdefsessionmetric:\"0f5\",conventryrelatedrecord:\"06K\",conversation:\"0dw\",conversationappconfig:\"9HA\",conversationapplicationdefinition:\"0tF\",conversationbroadcast:\"2nm\",conversationbroadcastentry:\"6gX\",conversationchannel:\"0ZO\",conversationchannelresponse:\"9qD\",conversationcontextentry:\"577\",conversationcontextvariablemapping:\"1cw\",conversationdefinitionblock:\"0w0\",conversationdefinitionblockversion:\"0xR\",conversationdefinitionchannelprovider:\"1Cp\",conversationdefinitiondialog:\"0Xd\",conversationdefinitiondialoggroup:\"0sd\",conversationdefinitioneventlog:\"0eR\",conversationdefinitiongoal:\"0yF\",conversationdefinitionmessage:\"0SG\",conversationdefinitionnlpprovider:\"1Np\",conversationdefinitionpredictiondatacategory:\"1rn\",conversationdefinitionpredictionsetup:\"1rm\",conversationdefinitionrichmessage:\"1ce\",conversationdefinitionsession:\"5CB\",conversationdefinitionsessionengagement:\"5SE\",conversationdefinitionstep:\"0SA\",conversationdefinitionstepcondition:\"0SB\",conversationdefinitionstepgoalmapping:\"0yG\",conversationdefinitionsystemdialog:\"1cd\",conversationdefinitiontemplate:\"1qo\",conversationdefinitionvariable:\"1cv\",conversationengagement:\"1me\",conversationentry:\"0Zy\",conversationinvocation:\"0SC\",conversationinvocationmapping:\"0S4\",conversationmessageconstant:\"1mc\",conversationmessageconstantvalue:\"1mv\",conversationmessagedefinition:\"1md\",conversationmessagedefinitionhandler:\"1mh\",conversationmessagegroup:\"1SG\",conversationmessagelayout:\"0ml\",conversationmessagelayoutitem:\"0li\",conversationmessagelayoutvalue:\"0lv\",conversationmessagemergefield:\"1mf\",conversationmessageparameterdefinition:\"1mp\",conversationnavigation:\"0SD\",conversationnavigationlink:\"0SF\",conversationparticipant:\"0ec\",conversationquickreplyoption:\"0sc\",conversationreason:\"0rY\",conversationreasonexcerpt:\"0rZ\",conversationreasongroup:\"0rX\",conversationrecordlookup:\"1rl\",conversationrecordlookupcondition:\"1rc\",conversationrecordoutputfield:\"1rf\",conversationslackapplication:\"0vZ\",conversationsystemmessage:\"0c2\",conversationsystemmessagemapping:\"0cc\",conversationvariableoperand:\"0S9\",conversationvariableoperation:\"0S8\",conversationvendorinfo:\"0m8\",convintelligencesignaldef:\"5L7\",convintelligencesignalrule:\"5d3\",convintelligencesignalsubrule:\"8Q2\",convmsgsessionauthresult:\"3pi\",convmsgsessionhandlerrequest:\"1hr\",convmsgsessionhandlerresult:\"1rr\",convreasonreportdefinition:\"0uf\",convreasonreportsegmentdef:\"0qA\",coopersettingsmetrics:\"4NA\",copyentitytally:\"0AS\",copyentitytally2:\"05e\",copyexport:\"0AO\",copyexportchunk:\"0AQ\",copyexportchunk2:\"05c\",copyexportobserverinfo:\"0AV\",copyimport:\"0AP\",copyimportchunk:\"0AR\",copyimportchunk2:\"05d\",copysuspension:\" 0Jj\",corswhitelistentry:\"074\",coupon:\"0lC\",couponcode:\"0zB\",couponcoderedemption:\"0zD\",coursecredittransferappln:\"10U\",courseequivalency:\"0zJ\",courseoffering:\"0P0\",courseofferingparticipant:\"0x6\",courseofferingptcpresult:\"0x8\",courseofferingschedule:\"0xA\",courseofferingscheduletmpl:\"0wZ\",courtaction:\"0su\",courtactionoutcome:\"0sw\",coveragebenefit:\"0TL\",coveragebenefititem:\"0Sf\",coveragebenefititemlimit:\"0n4\",coveragelimit:\"0YK\",coveragetype:\"0YG\",crbncreditalloc:\"0uO\",crbncreditallocitem:\"0uS\",crbncreditdistribution:\"0uo\",crbncreditproject:\"0uh\",crbnemssnscopealloc:\"0oI\",crbnemssnscopeallocval:\"0oM\",createassetorderdtlevent:\"7ir\",createassetorderevent:\"9yz\",credentialstuffingevent:\"0fi\",credentialstuffingeventstore:\"0fj\",creditinvoiceprocessedevent:\"7yR\",creditmemo:\"50g\",creditmemoaddressgroup:\"8ZJ\",creditmemoinvapplication:\"4sF\",creditmemoline:\"9yx\",creditmemoprocessedevent:\"0qq\",crisis:\"0ie\",crmemoprocesserrdtlevent:\"9G1\",cronfiredtrigger:\"08g\",cronjobdetail:\"08a\",crontrigger:\"08e\",crosscloudthreatdetectioninterface:\"0lw\",crossorgabacmetrics:\"N/A\",crossorgactionoverridemetrics:\"N/A\",crossorgadvancedtherapyusagemetric:\"N/A\",crossorgaiapplication:\"N/A\",crossorgaipredictiondefinition:\"N/A\",crossorgapexpage:\"N/A\",crossorgapextestrunresultmetrics:\"N/A\",crossorgapplobjectusagemetric:\"N/A\",crossorgarticlerecmonthlymetrics:\"N/A\",crossorgaudiencecriteriametric:\"N/A\",crossorgaudiencemetric:\"N/A\",crossorgaudiencepersonalizedmetric:\"N/A\",crossorgautoactivitycapturemetrics:\"N/A\",crossorgautotriagemetrics:\"N/A\",crossorgb2bcombinedproductmetrics:\"N/A\",crossorgb2bcombinedstoremetrics:\"N/A\",crossorgb2bcommercepackagemetrics:\"N/A\",crossorgb2bcommercepkgordersonceue:\"N/A\",crossorgb2bcommercepkgordersue:\"N/A\",crossorgb2bcommercepkgproductmetrics:\"N/A\",crossorgb2borderdailymetrics:\"N/A\",crossorgb2bordergmvdailymetrics:\"N/A\",crossorgb2bordermonthlymetrics:\"N/A\",crossorgb2borgwidedailymetrics:\"N/A\",crossorgb2borgwidemonthlymetrics:\"N/A\",crossorgb2bwebstoreweeklymetrics:\"N/A\",crossorgb2cordergmvdailymetrics:\"N/A\",crossorgb2corgwidedailymetrics:\"N/A\",crossorgbigobjectsrecordmetrics:\"N/A\",crossorgbotchannelssessionsmetrics:\"N/A\",crossorgbotdefinition:\"N/A\",crossorgbotsessionsmetrics:\"N/A\",crossorgbranchmanagementmetrics:\"N/A\",crossorgcancellationrecord:\"0gg\",crossorgcdpbillingmetrics:\"N/A\",crossorgchannelaccountmetrics:\"N/A\",crossorgchattergroupconmetrics:\"N/A\",crossorgchattermetrics:\"N/A\",crossorgchatterorgwidemetrics:\"N/A\",crossorgchatterusernetworkmetrics:\"N/A\",crossorgcloudmetrictrackmetrics:\"N/A\",crossorgcollaborationgroup:\"N/A\",crossorgcommunity:\"N/A\",crossorgcontentdlvrntwkusagemetric:\"N/A\",crossorgcontentlogmetricsbyfiletype:\"N/A\",crossorgcontentlogmetricsbyorg:\"N/A\",crossorgcontentmetrics:\"N/A\",crossorgcontentorgmetrics:\"N/A\",crossorgcontractorloginmetric:\"N/A\",crossorgcoopersettingsmetrics:\"N/A\",crossorgcryptometrics:\"N/A\",crossorgcustomappmetrics:\"N/A\",crossorgcustomobjectusagemetrics:\"N/A\",crossorgcustomobjectuserlicensemetrics:\"N/A\",crossorgcustomobjteammembermetric:\"N/A\",crossorgdataassessmentbimetrics:\"N/A\",crossorgdatadotcomcleanmetrics:\"N/A\",crossorgdatadotcomcleanprefmetrics:\"N/A\",crossorgdatadotcomlistpoolmetrics:\"N/A\",crossorgdatadotcomsocialmetrics:\"N/A\",crossorgddcprospectormetrics:\"N/A\",crossorgdeclarativeplatformmetrics:\"N/A\",crossorgdialerbasicaudiorecmetrics:\"N/A\",crossorgdialerbasicfeaturemetrics:\"N/A\",crossorgdialerminutesmetrics:\"N/A\",crossorgdocumentchecklistmetrics:\"N/A\",crossorgeimetrics:\"N/A\",crossorgemailpreviewusermetric:\"N/A\",crossorgemailtocasemetric:\"N/A\",crossorgenablementmetric:\"N/A\",crossorgenablementprogram:\"N/A\",crossorgenablementprogrammetrics:\"N/A\",crossorgengagementresourcemetric:\"N/A\",crossorgentbusvalmetrics:\"N/A\",crossorgeventlogfile:\"N/A\",crossorgeventlogfilemetrics:\"N/A\",crossorgexplainabilitymetric:\"N/A\",crossorgextidentityloginmetrics:\"N/A\",crossorgfieldinstancesmetrics:\"N/A\",crossorgflexipage:\"N/A\",crossorgflexipagecomponentmetrics:\"N/A\",crossorgflexipagepagetypemetrics:\"N/A\",crossorgforecastingtype:\"N/A\",crossorgforecastingtypemetrics:\"N/A\",crossorgftestcommunitymetrics:\"N/A\",crossorgftestcustomcommunitymetrics:\"N/A\",crossorgftestmetrics:\"N/A\",crossorgftestperzoneusermetrics:\"N/A\",crossorgftestsetup:\"N/A\",crossorgftestusermetrics:\"N/A\",crossorgftestusertypemetrics:\"N/A\",crossorghighscorefeedbackmetrics:\"N/A\",crossorgideametrics:\"N/A\",crossorgindustriesommetrics:\"N/A\",crossorginteractionlanguagemetrics:\"N/A\",crossorginteractiontranslmetrics:\"N/A\",crossorginteractionusagemetrics:\"N/A\",crossorginventorylocationmetric:\"N/A\",crossorginvoiceusagemetrics:\"N/A\",crossorglbpmmetrics:\"N/A\",crossorglightningcomponentmetrics:\"N/A\",crossorglightningexitbypagemetrics:\"N/A\",crossorglightningschedulerusagemetrics:\"N/A\",crossorglightningservicemetrics:\"N/A\",crossorglightningtogglemetrics:\"N/A\",crossorglightningusagebyapptypemetrics:\"N/A\",crossorglightningusagebybrowsermetrics:\"N/A\",crossorglightningusagebycomponentmetric:\"N/A\",crossorglightningusagebyflexipagemetrics:\"N/A\",crossorglightningusagebypagemetrics:\"N/A\",crossorglimitusagehistory:\"0DU\",crossorglimitusagetracker:\"N/A\",crossorgloyaltyusagemetric:\"N/A\",crossorgmanagedcontentorgmetrics:\"N/A\",crossorgmanagedcontentspacemetrics:\"N/A\",crossorgmanagedcontenttype:\"N/A\",crossorgmanagedcontenttypemetrics:\"N/A\",crossorgmessagingbilledagentmetrics:\"N/A\",crossorgmessagingbilledbotmetrics:\"N/A\",crossorgmessagingbilledwametrics:\"N/A\",crossorgmessagingoutboundmetrics:\"N/A\",crossorgmessagingtotalconvmetrics:\"N/A\",crossorgmetricsinmqmetrics:\"N/A\",crossorgmlintentbottrainingmetrics:\"N/A\",crossorgnetwork:\"N/A\",crossorgnetworkactivemembermetrics:\"N/A\",crossorgnetworkcustmembermetrics:\"N/A\",crossorgnetworkcustomerdailyloginmetrics:\"N/A\",crossorgnetworkcustomerloginmetrics:\"N/A\",crossorgnetworkleadailyloginmetrics:\"N/A\",crossorgnetworkleaplusdailyloginmetrics:\"N/A\",crossorgnetworkpartnerdailyloginmetrics:\"N/A\",crossorgnetworkpartnerloginmetrics:\"N/A\",crossorgnetworkpartnermembermetrics:\"N/A\",crossorgnetworkpcustdailyloginmetrics:\"N/A\",crossorgnetworkpowercustomerloginmetrics:\"N/A\",crossorgnetworkpowercustomermembermetric:\"N/A\",crossorgnetworkpublicusagedailymetrics:\"N/A\",crossorgnetworkregularmembermetrics:\"N/A\",crossorgnextbestactionusagemetrics:\"N/A\",crossorgobjectsubscriptionmetric:\"N/A\",crossorgocrusagemetric:\"N/A\",crossorgomnistudiometric:\"N/A\",crossorgopportunitymetrics:\"N/A\",crossorgopportunitysplitmetrics:\"N/A\",crossorgopptyandpricingmetrics:\"N/A\",crossorgorchestrationusagemetrics:\"N/A\",crossorgordersummarymetrics:\"N/A\",crossorgorderusagemetric:\"N/A\",crossorgorgobjectsmetrics:\"N/A\",crossorgorgstandardobjectsmetrics:\"N/A\",crossorgpermissionsetgroup:\"N/A\",crossorgpermissionsetgroupmetrics:\"N/A\",crossorgpermissionsetlicense:\"N/A\",crossorgpermissionsetlicensemetrics:\"N/A\",crossorgpermissionsetmetricsbyorg:\"N/A\",crossorgpermissionsetprofilemetrics:\"N/A\",crossorgpersonaccountmetrics:\"N/A\",crossorgplatformactionmetrics:\"N/A\",crossorgplatformeventconduitmetrics:\"N/A\",crossorgplatformorgmetrics:\"N/A\",crossorgpositivefeedbackmetrics:\"N/A\",crossorgpricebookentrymetrics:\"N/A\",crossorgpricingguidancemetrics:\"N/A\",crossorgprocessmetrics:\"N/A\",crossorgproductconfigwithpsmmetrics:\"N/A\",crossorgprofile:\"N/A\",crossorgprofileiprestrictionmetrics:\"N/A\",crossorgquickactionmetrics:\"N/A\",crossorgquickresponsecodemetric:\"N/A\",crossorgquotemetrics:\"N/A\",crossorgrebateusagemetric:\"N/A\",crossorgrecalccampaignstats:\"N/A\",crossorgreleaseupdatemetrics:\"N/A\",crossorgreplyrecmonthlymetrics:\"N/A\",crossorgrevdailyorderusagemetric:\"N/A\",crossorgrrassoccriteriametrics:\"N/A\",crossorgruleenginemetric:\"N/A\",crossorgsafetypassmetric:\"N/A\",crossorgsandboxdimensionmetrics:\"N/A\",crossorgscvconnectmetrics:\"N/A\",crossorgscvlexmetrics:\"N/A\",crossorgscvusageandcostmetrics:\"N/A\",crossorgservicecontractmetric:\"N/A\",crossorgsharingaccchildmetric:\"N/A\",crossorgsharingmetrics:\"N/A\",crossorgsharingorgdefaultmetrics:\"N/A\",crossorgsharingorgstandardmetrics:\"N/A\",crossorgsharingportalmetrics:\"N/A\",crossorgsharingrowcausemetrics:\"N/A\",crossorgsharingrulesmetrics:\"N/A\",crossorgsite:\"0DM\",crossorgsmartanswerslametrics:\"N/A\",crossorgsoftlimitsapiusagemetrics:\"N/A\",crossorgsubledgerusagemetric:\"N/A\",crossorgsupportorgwidemetrics:\"N/A\",crossorgsurveyresponseusagemetrics:\"N/A\",crossorgtenantusageentitlement:\"N/A\",crossorgterritory2model:\"N/A\",crossorgterritory2modelmetrics:\"N/A\",crossorgtotalfeedbackmetrics:\"N/A\",crossorgtotalpermissionsetlicensemetric:\"N/A\",crossorgtransactionsecuritypolicymetrics:\"N/A\",crossorgtwofactormetrics:\"N/A\",crossorgtwofauseradoptionmetrics:\"N/A\",crossorguserdimmetrics:\"N/A\",crossorguserlicense:\"N/A\",crossorguserlicensemetrics:\"N/A\",crossorguserlogin:\"N/A\",crossorguserrole:\"N/A\",crossorgutilitybarmetrics:\"N/A\",crossorgverificationmessagecreditmetrics:\"N/A\",crossorgvideocallcoachingmetric:\"N/A\",crossorgvisualforceaccessmetrics:\"N/A\",crossorgvisualforcemetrics:\"N/A\",crossorgvoicecallcoachingmetric:\"N/A\",crossorgvoicecallmetrics:\"N/A\",crossorgvoiceconfigurationmetric:\"N/A\",crossorgwebstore:\"N/A\",crossorgxcleanmatchratemetrics:\"N/A\",crosspodauthcertstore:\"43c\",crosssandboxorgdimensionmetrics:\"N/A\",crosstenantmobmetric:\"N/A\",crtcolumn:\"072\",crtlayoutsection:\"073\",crtobject:\"071\",cryptometrics:\"1Gg\",cryptoprodcatgwalletgroup:\"1j5\",cryptoprodtcatgwalletrole:\"5M3\",cryptoproduct:\"1fi\",cryptotransaction:\"2z0\",cryptotransactionenvelope:\"2KG\",cryptotransenvelopechglog:\"9gU\",cryptotransenvelopechgsnp:\"5Bq\",cryptowallet:\"4g2\",cryptowalletgroup:\"6z2\",cryptowalletgroupitem:\"7Cb\",csndomain:\"0FA\",cspframeancestor:\"0Ky\",csptrustedsite:\"08y\",csssetup:\"N/A\",csssolutionlist:\"N/A\",cssusagelog:\"N/A\",currencytype:\"01L\",custidxcandidate:\"0C1\",custidxcandidateinfo:\"05O\",custidxvaldatedate:\"N/A\",custidxvaldatenum:\"N/A\",custidxvaldatestring:\"N/A\",custidxvalnumdate:\"N/A\",custidxvalnumnum:\"N/A\",custidxvalnumstring:\"N/A\",custidxvalstringdate:\"N/A\",custidxvalstringnum:\"N/A\",custidxvalstringstring:\"N/A\",customappmetrics:\"0Km\",custombrand:\"07W\",custombrandasset:\"07X\",customconsolecomponent:\"06G\",customconversationchannel:\"0ZP\",customentitydatatemplate:\"N/A\",customentitydefinition:\"01I\",customentitytranslation:\"05t\",customentitytruncateinfo:\"0Ia\",customer:\"0o6\",customerproperty:\"0b8\",customfieldcleanup:\"N/A\",customfielddatacolumn:\"0BC\",customfielddefinition:\"00N\",customfielddirtymap:\"N/A\",customfieldmap:\"02F\",customfieldmember:\"412\",customforeignkeyvalue:\"N/A\",customhelpmenuitem:\"2Ca\",customhelpmenusection:\"2Cx\",customhttpheader:\"0XH\",customindex:\"02m\",customindexcostestimator:\"6Io\",customindexcreator:\"046\",customindexdefinition:\"0c0\",customindexfielddefinition:\"0c1\",customindexhighcard:\"N/A\",customindexinfo:\"0F6\",customindexndv:\"N/A\",customindexratesaves:\"8zA\",customindexusage:\"0D0\",customindexvalue:\"N/A\",custominsightconfig:\"50f\",custommetadata:\"N/A\",customnotificationtype:\"0ML\",customobjectactionassignteamrow:\"0BK\",customobjectchangeevent:\"1CE\",customobjectcomment:\"00a\",customobjectcriteriasharingrule:\"03F\",customobjectdatacategoryselection:\"02o\",customobjectdatatranslation:\"3DT\",customobjectfeed:\"0D5\",customobjecthistory:\"017\",customobjectlocalization:\"01j\",customobjectownersharingrule:\"02e\",customobjectparticipant:\"9ZZ\",customobjectshare:\"02c\",customobjectsharingrulefilteritem:\"0BD\",customobjecttag:\"0j0\",customobjectteammember:\"0B6\",customobjectteamrole:\"0B7\",customobjectteamtemplate:\"0B4\",customobjectteamtemplatemember:\"0B5\",customobjectteamtemplaterecord:\"0B8\",customobjectusagemetrics:\"3ME\",customobjectuserlicensemetrics:\"3NA\",customobjectversionhistory:\"0DP\",customobjteammembermetric:\"9D9\",custompage:\"02T\",custompageitem:\"02U\",custompageprofile:\"02X\",custompermission:\"0CP\",custompermissiondependency:\"0PD\",custompermissionset:\"0PS\",custompersondatatemplate:\"N/A\",customreporttype:\"070\",customsettingnameindex:\"0RY\",customsettingsindex:\"N/A\",customsetup:\"03f\",customsetupdefinition:\"03e\",customsharerowcause:\"0A7\",customtabdefinition:\"01r\",customuniquevalue:\"N/A\",custuqvalnumnum:\"N/A\",custuqvalnumstring:\"N/A\",custuqvalstringnum:\"N/A\",custuqvalstringstring:\"N/A\",dandbcompany:\"06E\",dashboard:\"01Z\",dashboardcompcolresult:\"20A\",dashboardcomponent:\"01a\",dashboardcomponentcolumn:\"0Oe\",dashboardcomponentcontent:\"10I\",dashboardcomponentreference:\"6ZC\",dashboardcomponentresult:\"0Of\",dashboardcomponentsort:\"0bT\",dashboardcomponentupdate:\"0FL\",dashboarddynamicvalue:\"5DV\",dashboardfilter:\"0IB\",dashboardfilteritem:\"0IC\",dashboardfilterrepcol:\"0ID\",dashboardfolder:\"07G\",dashboardgridcomponent:\"08X\",dashboardgridlayout:\"08W\",dashboardsavedview:\"8wk\",dashboardsnapshotitem:\"0zF\",dashboardsnapshotresults:\"0zf\",dashboardstickyfilter:\"09V\",dashboardsubscriptionconfig:\"9ZE\",dataaction:\"3o9\",dataactioncondition:\"9rz\",dataactiondataactntgtdef:\"9qz\",dataactiondefinition:\"8rz\",dataactionfield:\"7pa\",dataactionsourceobject:\"0qK\",dataactiontarget:\"9sq\",dataactiontargetdefcrm:\"0t9\",dataactiontargetdefinition:\"3rp\",dataactiontargetdefmc:\"0sh\",dataassessmentbimetrics:\"03U\",dataassessmentconfigitem:\"036\",dataassessmentfieldmetric:\"03Q\",dataassessmentmetric:\"03P\",dataassessmentrecord:\"09i\",dataassessmentvaluemetric:\"03R\",dataassetsemanticgraphedge:\"0m3\",dataassetusagetrackinginfo:\"6D9\",datacatalogasset:\"0h1\",datacatalogassettag:\"0h3\",datacataloglink:\"0h2\",datacataloglinktag:\"0h4\",datacategory:\"02n\",datacategorygroup:\"0D1\",datacategorymapping:\"07R\",dataclassification:\"5KS\",datacloudaddress:\"07m\",datacloudcompany:\"09K\",datacloudcontact:\"08C\",dataclouddandbcompany:\"09N\",datacloudindustry:\"07z\",datacloudindustrychapter:\"07w\",datacloudindustrycode:\"04G\",datacloudindustrycontent:\"07y\",datacloudindustrysubchapter:\"07x\",datacloudownedentity:\"09O\",datacloudpurchaseusage:\"09F\",datacloudsocialhandle:\"0Bs\",dataconnectiongcs:\"1cs\",dataconnectionredshift:\"2as\",dataconnectorcc:\"0q7\",dataconnectorconvostorage:\"11e\",dataconnectorcredential:\"1cc\",dataconnectorgcs:\"1gc\",dataconnectoringestapi:\"0mU\",dataconnectormc:\"7M4\",dataconnectorredshift:\"2ar\",dataconnectors3:\"2Vs\",dataconnectorsftp:\"1I4\",dataconnectorstatusevent:\"0ue\",dataconnectorupload:\"8NL\",dataconninteractionstudio:\"7M5\",dataconsupdatasetbundle:\"2Bz\",datadeleterqueue:\"N/A\",datadotcomcleanmetrics:\"3M0\",datadotcomcleanprefmetrics:\"3NU\",datadotcomentitysetting:\"1ES\",datadotcomfieldsetting:\"1EF\",datadotcomlistpoolmetrics:\"3MS\",datadotcomsocialmetrics:\"3MB\",dataexport:\"09Q\",dataexporteventinterface:\"0Qd\",dataexportmember:\"09R\",dataexportobserver:\"0Ac\",datafieldconstraint:\"73d\",dataflow:\"02K\",dataflowgroupdependency:\"02Q\",dataflowgroupmember:\"02P\",dataflowgrouptrigger:\"02W\",dataflowinstance:\"03C\",dataflownode:\"03L\",dataflownotification:\"0eN\",dataflowrequest:\"030\",dataflowtrigger:\"7Ce\",dataflowtriggerevent:\"9ma\",dataflowtriggersource:\"2BM\",dataflowversion:\"02L\",dataintegrationpurchasedrecord:\"0Pn\",dataintegrationrecordpurchasepermission:\"0Gy\",datalakeobjectinstance:\"1dl\",dataloaderevent:\"0aL\",datamodelrelationconstraint:\"9rl\",datamodeltaxonomy:\"0eG\",datamodelversion:\"0ih\",dataobjectcategory:\"0hq\",dataobjectconstraint:\"73c\",dataobjectdatachgevent:\"1e5\",dataobjectmetadatachgevent:\"1e4\",datapackagekit:\"5Kd\",datapackagekitdefinition:\"1dk\",datapackagekitobject:\"5cQ\",datapipeline:\"0NO\",datapipelinejob:\"0NY\",dataplatdatasetbundle:\"4Ty\",dataplatform:\"1Vv\",dataplatformdataset:\"6kF\",datapoolentity:\"0PE\",datapoolentityversion:\"0PV\",datapoolfield:\"1PF\",dataprepmlmodel:\"5uA\",datapreprecipe:\"05v\",dataprepservicelocator:\"0fL\",dataservicesactivationevent:\"0nr\",datasetaccess:\"02M\",datasetdarklaunch:\"0Zt\",datasetdataindex:\"1QT\",datasetexport:\"0Px\",datasetexportevent:\"0Or\",datasetexportpart:\"0Py\",datasetfetch:\"0Zd\",datasetfieldsynonym:\"0kc\",datasetfieldsynonymuser:\"0kg\",datasetimportrequest:\"0uC\",datasetregister:\"02O\",datasource:\"3iP\",datasourcebundle:\"8Sj\",datasourcebundledefinition:\"1ra\",datasourcefield:\"62S\",datasourceobject:\"9XD\",datasourcetenant:\"0hQ\",dataspace:\"0vh\",dataspacedefinition:\"0wS\",dataspacefiltercondition:\"0vk\",dataspacefiltercriteria:\"0vj\",dataspaceinternalorg:\"4Fu\",dataspacemember:\"0vi\",dataspacescope:\"9gT\",dataspacescopeaccess:\"2JC\",dataspacescopemetadataaccess:\"4Em\",dataspacescopeschemaaccess:\"2LY\",datasrcdatamodelfieldmap:\"5dm\",datastatistics:\"05a\",datastream:\"1ds\",datastreamdefinition:\"1sd\",datastreamnewfieldevent:\"1e8\",datastreamstatusevent:\"1e0\",datastreamtemplate:\"40B\",datasyncconnectorevent:\"9cs\",datatype:\"4dt\",datauselegalbasis:\"0ZT\",datausepurpose:\"0ZW\",dataweaveresource:\"7FY\",datedconversionrate:\"04w\",datemetadata:\"0La\",dayzerohistorytracker:\"3sd\",dbcthumbnail:\"11a\",dbcthumbnailfilter:\"05L\",dblockusage:\"0I1\",dcrmonth:\"N/A\",dcsocialprofile:\"09Y\",dcsocialprofilehandle:\"09X\",ddcprospectormetrics:\"06e\",deadletter:\"0AA\",deadmessagequeue:\"0H3\",deadmessagequeueparam:\"0H5\",debuglevel:\"7dl\",decisionmatrixdefinition:\"9QN\",decisionmatrixdefinitionversion:\"9QO\",decisionmatrixdefinitionversioncolumn:\"9QQ\",decisionmatrixdefinitionversionsnapshot:\"9QP\",decisiontable:\"0lD\",decisiontabledatasetlink:\"0lX\",decisiontableparameter:\"0lP\",decisiontbldatasetparameter:\"0lZ\",declarativeplatformmetrics:\"3MU\",declinedeventrelation:\"N/A\",defensehook:\"0Tk\",definedskill:\"4HR\",definedskillrequirement:\"8zh\",deflectionsignal:\"0SQ\",delegatedaccount:\"0du\",delegategroup:\"02f\",delegategroupgrant:\"02h\",delegategroupmember:\"02g\",deleteactivityevent:\"0Xh\",deleteevent:\"00C\",deleteeventcascade:\"N/A\",deleteeventforeignkey:\"N/A\",deletelog:\"N/A\",deliverytask:\"0iN\",deliverytaskstatus:\"N/A\",dependentpicklist:\"03a\",deploydirection:\"0EE\",deploymessage:\"0Ai\",deployrequest:\"0Af\",deploytestresult:\"0Al\",deprecatedcasemilestone:\"N/A\",dequeconcurpermitguard:\"N/A\",dequeueclustercontrol:\"03x\",dequeueclusteroverride:\"03y\",dequeueclusterstatus:\"03z\",dequeueconcurrencypermit:\"0GB\",dequeueresourcesallocation:\"03w\",dequeueresourcesassignment:\"03t\",developmentpackageversion:\"0A2\",device:\"00f\",deviceapplication:\"00H\",devicehistory:\"0SZ\",deviceloginhistory:\"0Po\",diagnosticsummary:\"0lQ\",diagnosticsummarydetail:\"0oB\",dialerbasicaudiorecmetrics:\"0bz\",dialerbasicfeaturemetrics:\"0b3\",dialercallusage:\"0gX\",dialerminutesmetrics:\"3NC\",digitalsignature:\"1DS\",digitalwallet:\"1DW\",dimension:\"0KV\",dimensioncustomaction:\"08k\",dimensionmember:\"0KX\",dimensionsalesforceaction:\"0LT\",directgroupmember:\"N/A\",directmessage:\"05y\",directmessagemember:\"05z\",directmessagememberactivity:\"0Q7\",disabledpackage:\"0Vq\",disclosure:\"2yT\",disclosuredefinition:\"4rT\",disclosuredefinitionversion:\"0zY\",disclosuretype:\"1aw\",disclsreportingperiod:\"5xn\",discoveryaimodel:\"1OT\",discoveryanalysissetupdata:\"9BD\",discoverydeployedmodel:\"1Ot\",discoverydplymdlcstmzfield:\"1OA\",discoveryfieldmap:\"1OM\",discoveryfilter:\"1Oy\",discoveryfiltervalue:\"1Ql\",discoverygoal:\"1OR\",discoverymdltfrmfrcstsetup:\"7fr\",discoverymodelcard:\"1Oc\",discoverymodelfield:\"1OF\",discoverymodeltransform:\"1OE\",discoveryoptimdefconstraint:\"1OW\",discoveryoptimdefvar:\"1oz\",discoveryoptimdefvarvalue:\"1Ov\",discoveryoptimizationdef:\"1OV\",discoveryoptimizationjob:\"1OY\",discoverypredictionevent:\"0w1\",discoveryrecipient:\"1OI\",discoveryrefreshconfig:\"1OC\",discoveryrefreshjob:\"1OX\",discoveryrefreshtask:\"1Ox\",discoveryscoringjob:\"1OS\",discoveryscoringjobitem:\"1Oi\",discvdplymdlcstmzfieldtxt:\"1OU\",displayedlanguage:\"N/A\",distributorauthorization:\"0YE\",division:\"02d\",divisionmember:\"0DJ\",divrsequityinclsum:\"8yw\",divtransferevent:\"02p\",divtransfereventchild:\"N/A\",dmpermissionsetassignmentmetrics:\"3qc\",dmpermissionsetmetrics:\"3qd\",dmprofilemetric:\"3qe\",dmuser:\"3qb\",dmusercustomizationmetrics:\"3qf\",dmuserlicensemetrics:\"3qg\",dmuserloginmetrics:\"3qh\",dmuserrolemetrics:\"3qi\",doccollaborationgroupupdate:\"04C\",doctemplatesectioncondition:\"2dn\",document:\"015\",documentattachmentmap:\"05X\",documentchecklistitem:\"0dd\",documentchecklistmetrics:\"0el\",documentclause:\"2dc\",documentclauseset:\"0xG\",documentenvelope:\"0qw\",documentfeature:\"0Sw\",documentgenerationprocess:\"0nn\",documentgenerationsetting:\"2dp\",documentrecipient:\"3zm\",documenttemplate:\"2dt\",documenttemplatecontentdoc:\"2dd\",documenttemplatesection:\"2ds\",documenttemplatetoken:\"2dk\",documenttype:\"0de\",docworkspaceupdate:\"04D\",domain:\"0I4\",domaincookiestore:\"09U\",domainprovision:\"0Mz\",domainsite:\"0Jf\",dominoattachment:\"0on\",dominochain:\"0oh\",dominoedge:\"0oi\",dominographnode:\"0oj\",dominoruntimerequest:\"0ok\",dominoruntimetasknode:\"0ol\",dominoruntimetaskresult:\"0om\",doradorequest:\"0Vu\",doradorequestevent:\"0ZU\",drdbhammerrequest:\"0TQ\",drugdisplayterm:\"0R9\",dsarpolicy:\"83A\",dsarpolicyfield:\"0iW\",dsarpolicyfile:\"0hV\",dsarpolicylog:\"0je\",dsarpolicypath:\"6zc\",dunsrightasyncaccountrecord:\"0Bv\",dunsrightasyncbatch:\"0Bu\",dunsrightasyncchunk:\"0Bx\",duplicateerrorlog:\"075\",duplicatejob:\"0PB\",duplicatejobdefinition:\"0PO\",duplicatejobmatchingrule:\"0PC\",duplicatejobmatchingruledefinition:\"0PP\",duplicaterecorditem:\"0GL\",duplicaterecordset:\"0GK\",duplicaterule:\"0Bm\",duplicaterulefilter:\"0F1\",duplicaterulefilteritem:\"0FI\",duplicaterulematchrule:\"08K\",dynamicconfigoverride:\"N/A\",eaasevent:\"0db\",ecart:\"0tf\",ecartadjustmentbasis:\"0tt\",ecartadjustmentgroup:\"0u1\",ecartdeliverygroup:\"0tq\",ecartdeliverygroupmethod:\"2SG\",ecartitem:\"0tO\",ecartitemadjustment:\"0u4\",ecartitemadjustmenttax:\"0yM\",ecartitemtax:\"0tm\",ecartpayment:\"0tk\",eclairngmap:\"05p\",eclairngmapgeojson:\"05o\",economicperformancesum:\"11T\",edgeexternaldatafile:\"0Fn\",edgemart:\"0Fb\",edgemartdata:\"0Fc\",edgemartdatafile:\"0Fd\",edgemartdatashard:\"06f\",edgemartdatashardfile:\"06g\",edgemartmetadata:\"0KT\",edgemartorganization:\"0Lb\",editiondefinition:\"0L9\",educationalinforequest:\"0yU\",eeemployee:\"0g1\",eeemployeeasset:\"0i4\",eeemployeecontact:\"0hz\",eeemployeejobposition:\"0gM\",eeemployeeorganization:\"0gI\",eejob:\"0gD\",eejobfamily:\"0g7\",eejobposition:\"0gK\",eeworkcontract:\"0i1\",eimetrics:\"0ic\",einsteinanswerfeedback:\"4J6\",einsteinappanalyticsevent:\"0QN\",einsteindiscoveryfilter:\"0Oy\",einsteindiscoveryfilterval:\"0Ql\",einsteindiscoverymodel:\"0Ot\",einsteindiscoverypreddef:\"0OR\",electricityemssnfctrset:\"0oT\",electronicmediagroup:\"2mg\",electronicmediause:\"2mu\",eltexternalfile:\"06R\",eltexternalfilepart:\"06T\",eltworkflow:\"0Bw\",eltworkflowaudit:\"06c\",eltworkflowjobdetail:\"02H\",eltworkflowjobhistory:\"0Br\",eltworkflowjobtracker:\"0Bq\",eltworkflownode:\"08J\",emailattachmentarchive:\"00n\",emailattachmentlookup:\"00m\",emailattachmenttemp2:\"N/A\",emailbrand:\"0BZ\",emailcapture:\"06F\",emailcaseevent:\"0e6\",emailconfigentitysetting:\"0E4\",emailcontent:\"6RO\",emailcontentpreviewclient:\"2xk\",emaildisclaimer:\"0GC\",emaildomainfilter:\"0T6\",emaildomainkey:\"09P\",emailmessage:\"02s\",emailmessagerelation:\"0CZ\",emailpreviewusermetric:\"7T0\",emailrelay:\"26Z\",emailroutingaddress:\"02t\",emailservicesaddress:\"093\",emailservicesfunction:\"091\",emailstatus:\"018\",emailsyncadvancedsetting:\"0E6\",emailsyncconfig:\"0E0\",emailsyncentitysetting:\"0E1\",emailsyncfieldmapping:\"0E2\",emailsyncuserstate:\"N/A\",emailsyncvaluemapping:\"0E3\",emailtemp:\"00Y\",emailtempattachmentmap:\"0F0\",emailtemplate:\"00X\",emailtemplatefolder:\"0X6\",emailtemplatemonthlymetric:\"0gm\",emailthreadingtoken:\"9ls\",emailtocasemetric:\"10R\",emailuserentitysetting:\"0E5\",embeddedmessagingchannel:\"3em\",embeddedserviceappointmentsettings:\"3AM\",embeddedservicebranding:\"19i\",embeddedserviceconfig:\"04I\",embeddedserviceconfigpub:\"0vX\",embeddedservicecustomcomponent:\"0UR\",embeddedservicecustomization:\"3ec\",embeddedservicecustomlabel:\"3CL\",embeddedservicedetail:\"0Lq\",embeddedservicefieldservice:\"0PY\",embeddedserviceflow:\"3FL\",embeddedserviceflowconfig:\"3FC\",embeddedserviceform:\"3ef\",embeddedserviceformfield:\"3ff\",embeddedservicelabel:\"0Uu\",embeddedservicelabelspub:\"0vT\",embeddedservicelayout:\"0UN\",embeddedservicelayoutrule:\"0UO\",embeddedserviceliveagent:\"08h\",embeddedservicemenuitem:\"3mi\",embeddedservicemenusettings:\"3Ms\",embeddedservicemessagingchannel:\"3mc\",embeddedservicemobileplatform:\"3Ep\",embeddedservicequickaction:\"09z\",embeddedserviceresource:\"3Er\",emissionsactivity:\"0sm\",emissionsforecastfact:\"0so\",empbenefitsummary:\"0yj\",employee:\"0id\",employeeasset:\"0hg\",employeecontact:\"0he\",employeecrisisassessment:\"0if\",employeedatasyncfield:\"0q1\",employeedatasyncprofile:\"0q0\",employeedemographicsum:\"1xR\",employeedevelopmentsum:\"4xn\",employeejob:\"0gH\",employeejobposition:\"0gN\",empmessage:\"4fy\",emppayload:\"4fh\",emptxlog:\"4fz\",empuserprovisioningprocess:\"3wO\",empuserprovisionprocesserr:\"9gu\",emssnrdctncommitment:\"1sb\",emssnreductiontarget:\"2sb\",enablementmeasuredefinition:\"0mW\",enablementmetric:\"0wq\",enablementprogram:\"0Qo\",enablementprogrammetrics:\"10K\",enblmeasobjrelationshipdef:\"0rA\",enblmeasurefilterdefinition:\"0sA\",enblmeasureobjectdefinition:\"0n1\",enblpgmtaskmeasureprogress:\"0t4\",enblprogramprogress:\"0f2\",enblprogramsection:\"0ei\",enblprogramtaskdefinition:\"0kk\",enblprogramtaskmeasure:\"0uQ\",enblprogramtaskprogress:\"0fV\",enblprogramtaskprogressdtl:\"0lA\",encryptabledataproblem:\"1EP\",encryptabledataproblemchunk:\"2EP\",encryptedfielddata:\"N/A\",encryptionfeedtrackingstatistics:\"1ET\",encryptionfeedtrackingstatisticschunk:\"2ET\",encryptionfieldhistorystatistics:\"1EH\",encryptionfieldhistorystatisticschunk:\"2EH\",encryptionstatistics:\"1ED\",encryptionstatisticschunk:\"2ED\",endorsement:\"0en\",engagementattendee:\"0tz\",engagementchanneltype:\"0eF\",engagementchannelworktype:\"0xz\",engagementevent:\"0Uz\",engagementhistory:\"00F\",engagementhistorycleanup:\"0jO\",engagementhistoryevent:\"0WX\",engagementhistorypoc:\"08m\",engagementhistoryrollup:\"6EB\",engagementhistoryvirtual:\"0b9\",engagementinteraction:\"0u3\",engagementinteractionshare:\"0vK\",engagementinterface:\"0xo\",engagementprogram:\"1Ea\",engagementprogramlogpoc:\"1Ed\",engagementprogramnode:\"1Eb\",engagementprogramrollup:\"1Ee\",engagementprogramversion:\"1Ec\",engagementresourcemetric:\"1vK\",engagementscore:\"0Gq\",engagementtopic:\"0uB\",enhancedemailtemplate:\"0eH\",enhancedletterhead:\"0Rn\",eninsightsfeedback:\"0Lk\",enqueueordersummary:\"30s\",enrollmenteligibilitycriteria:\"0bm\",enterprisebusvaluemetrics:\"8Qg\",entitlement:\"550\",entitlementcontact:\"0E7\",entitlementtemplate:\"551\",entityarchivingexception:\"2AE\",entityarchivingjob:\"2AJ\",entityarchivingsetup:\"3QQ\",entityassociationdefinitionversion:\"0VM\",entityattributes:\"01E\",entityaudiencemapping:\"6EA\",entityblacklist:\"0eb\",entitycategorygroup:\"0DA\",entitydatasize:\"07Z\",entitydefinition:\"4ie\",entityeventinterface:\"0Qb\",entityfeedlayout:\"05U\",entityhistory:\"017\",entityimplements:\"0CI\",entityinterfacedatatemplate:\"N/A\",entitylastdeletedate:\"N/A\",entitylimit:\"07o\",entitylock:\"04Z\",entitymilestone:\"1EM\",entityparticle:\"0Nv\",entitysample:\"N/A\",entitysharingmodel:\"0HG\",entitystoragedelta:\"N/A\",entitystoragedelta2:\"0Sd\",entitysubscription:\"0E8\",environmentalrisk:\"0vU\",environmenthub:\"0J7\",environmenthubinvitation:\"09G\",environmenthubmember:\"0J1\",environmenthubmemberrel:\"0J3\",escalationrule:\"01Q\",esignatureconfig:\"0s7\",esignatureenvelopeconfig:\"0r3\",etljobmetrics:\"3jm\",event:\"00U\",eventassociationitem:\"6AB\",eventattendee:\"020\",eventbussubscriber:\"0Cd\",eventcomments:\"111\",eventcustomentitydata:\"N/A\",eventdelivery:\"3DS\",eventdeliverydata:\"3DP\",eventdestination:\"0aB\",eventlogfile:\"0AT\",eventlogfileanalyticjob:\"8ez\",eventlogfilemetrics:\"3MR\",eventparameter:\"3PS\",eventparameterdata:\"3PP\",eventpublishcallback:\"0rU\",eventpublishcallbacktask:\"0rV\",eventrecurrenceexception:\"10z\",eventrelation:\"0RE\",eventrelayconfig:\"7k2\",eventrelayfeedback:\"7k4\",eventstandardentitydata:\"N/A\",eventsubscription:\"3SS\",eventsubscriptiondata:\"3SP\",eventsubscriptionhandledata:\"3HP\",eventtype:\"1EV\",eventtypedefinition:\"0Pz\",eventtypefielddefinition:\"0TJ\",eventtypeparameter:\"1Ep\",eventwhorelation:\"N/A\",examination:\"0hX\",exchangeusermapping:\"0Du\",executionplan:\"0eP\",executionplanoperation:\"1ot\",executionplantask:\"0YY\",expense:\"1V4\",expensereport:\"6g5\",expensereportentry:\"3zl\",experiencecontainer:\"8sa\",experiencediagnosticevent:\"7Zk\",experiencepropertytype:\"0wb\",experiment:\"05M\",experimentrequest:\"0Hz\",explainabilityactiondef:\"0tU\",explainabilityactionlog:\"9ay\",explainabilityactionversion:\"0tZ\",explainabilityevent:\"0qx\",explainabilitymetric:\"0tD\",explainabilitymsgtemplate:\"8U8\",expressionfilter:\"1GS\",expressionfiltercriteria:\"8BM\",expressionset:\"9QL\",expressionsetdefinition:\"9QA\",expressionsetdefinitiondependency:\"9QK\",expressionsetdefinitionversion:\"9QB\",expressionsetdefinitionversionelement:\"9QJ\",expressionsetdefinitionversionsnapshot:\"9QC\",expressionsetdefinitionversionstep:\"9QF\",expressionsetdefinitionversionstepdetail:\"9QG\",expressionsetdefinitionversionstepdetailvariable:\"9QI\",expressionsetdefinitionversionstepvariablemapping:\"9QH\",expressionsetdefinitionversionvariable:\"9QD\",expressionsetdefinitionversionvariablefield:\"9QE\",expressionsetobjectalias:\"0xV\",expressionsetversion:\"9QM\",expressionsetview:\"0pz\",expssetdefinitionextlref:\"9QU\",expssetdefversionextlref:\"9QV\",expssetobjectaliasextlref:\"9QW\",expssetobjectaliasfieldvw:\"9QT\",extdatashare:\"1ed\",extdatasharedefinition:\"1sh\",extdatasharedefobject:\"1od\",extdatasharetarget:\"1et\",extdatasharetargetdef:\"1es\",extdatashrsagemakerconn:\"1sm\",extdatashrsnowflakeconn:\"1sf\",extdatashrtrgtdefmap:\"1ss\",externalaccounthierarchy:\"1AH\",externalactionparameter:\"03o\",externalaimetric:\"0la\",externalaimodel:\"0b4\",externalclientapplication:\"0xI\",externalcredential:\"0pt\",externalcredentialparameter:\"0pu\",externaldataconnector:\"1WM\",externaldatasource:\"0XC\",externaldatasrcdescriptor:\"6Ay\",externaldatatranfield:\"0kj\",externaldatatranobject:\"0ki\",externaldatauserauth:\"0XU\",externaldocstorageconfig:\"10V\",externaldocumentreference:\"10S\",externalevent:\"0AY\",externaleventmapping:\"08N\",externalidmap:\"020\",externalidmapping:\"N/A\",externalizedreference:\"044\",externalserviceaction:\"03h\",externalservicedatatype:\"1Xt\",externalservicelisttype:\"1Xl\",externalservicemaptype:\"1Xm\",externalserviceobjecttype:\"1Xo\",externalserviceoperation:\"1XO\",externalserviceparameter:\"1XP\",externalserviceproperty:\"1Xp\",externalserviceregistration:\"0Le\",externalservicesimpletype:\"1Xx\",externalservicetype:\"03m\",externalsocialaccount:\"0AL\",externalstring:\"101\",externalstringlocalization:\"01j\",extidentityloginmetrics:\"3N1\",extlclntappmobileplcycnfg:\"4B5\",extlclntappmobileset:\"3AG\",extlclntappoauthplcycnfg:\"0yO\",extlclntappoauthsettings:\"3SN\",extldatacnctrsetupstatus:\"0ia\",extlearningusrcontentrtng:\"9jC\",featurelicense:\"102\",feedactiondefinition:\"06Y\",feedactionstate:\"06b\",feedattachment:\"08M\",feedchannel:\"0Fq\",feedchannelsubscription:\"0Fr\",feedclumpinfo:\"0Dj\",feedclumpmapping:\"0Di\",feedcomment:\"0D7\",feedcompositionstate:\"0aW\",feedcrossreference:\"0II\",feeddenormstate:\"0AG\",feedentityread:\"0Mp\",feedentityunpublished:\"09m\",feedentry:\"0Dg\",feedfavorite:\"07F\",feedfieldhistory:\"0G1\",feedfiltercriterion:\"09d\",feedfilterdefinition:\"09Z\",feedinvalidatedslot:\"08w\",feeditem:\"0D5\",feedlike:\"0I0\",feedmapping:\"0FM\",feedmoderationdenorm:\"0Ej\",feedmute:\"08R\",feedpollchoice:\"09A\",feedpollvote:\"09B\",feedpost:\"0F7\",feedposttemplate:\"07D\",feedposttemplateitem:\"07e\",feedpushregistration:\"0Ei\",feedread:\"0Ms\",feedrecommendationinfo:\"0fr\",feedrevision:\"08U\",feedsentimentanalysis:\"0l5\",feedsentimentfeedbacks:\"0t5\",feedsignal:\"0QJ\",feedtrackedchange:\"0D6\",feescheduledefinition:\"0rT\",ffxbundle:\"0BP\",ffxbundledversionnumber:\"0BQ\",ffxcopyondelete:\"0BT\",ffxfilereference:\"0BU\",ffxoldversionnumber:\"0A6\",ffxversionnumber:\"0AE\",fieldattributes:\"0DH\",fieldbasedpac:\"09p\",fieldchangesnapshot:\"6AL\",fieldclassificationsetting:\"0VH\",fielddefinition:\"4fe\",fieldhistory:\"737\",fieldhistoryarchive:\"1HA\",fieldimplements:\"0CJ\",fieldinstancesmetrics:\"0fz\",fieldmapping:\"0O8\",fieldmappingfield:\"0O6\",fieldmappingrow:\"0O7\",fieldpermissions:\"01k\",fieldrestrictionrule:\"0lr\",fieldsecurityclassification:\"N/A\",fieldservicemobileextension:\"1ME\",fieldservicemobilesettings:\"0Mf\",fieldserviceobjectmapping:\"7Fo\",fieldserviceorgsettings:\"0UJ\",fieldset:\"0IX\",fieldsetitem:\"0IY\",fieldsourcetargetmap:\"0gf\",fieldsrctrgtrelationship:\"0ge\",fileevent:\"0vI\",fileeventstore:\"0wg\",filefielddata:\"0BE\",fileinspectionresult:\"0ZA\",filepickerfolder:\"N/A\",filesearchactivity:\"06h\",filterrecord:\"0n6\",financebalancesnapshot:\"2kA\",financebook:\"1PY\",financeperiod:\"8FQ\",financetransaction:\"0n3\",financetransactionerrorlog:\"9Uy\",financetransactionjournal:\"2BR\",financialdeal:\"0ls\",financialdealasset:\"0qd\",financialdealbid:\"0rC\",financialdealinteraction:\"0oR\",financialdealparticipant:\"0l0\",financialdealparty:\"0lh\",financialdealproduct:\"0lG\",fincldealinteractionsummary:\"0oQ\",firehosecheckpoint:\"0AI\",firehosecookie:\"N/A\",fiscalyearsettings:\"022\",flexipage:\"0M0\",flexipagecomponentmetrics:\"0OF\",flexipagecompschemapropdef:\"9XC\",flexipagedatasource:\"3YZ\",flexipagedatasourceproperty:\"6jM\",flexipageeventproperty:\"0m5\",flexipageeventpropmapping:\"0m6\",flexipageeventsource:\"0m2\",flexipageeventtarget:\"0m4\",flexipagefieldinstance:\"0by\",flexipagefieldinstanceproperty:\"3Df\",flexipageinfo:\"0fy\",flexipagepagetypemetrics:\"0a2\",flexipageregion:\"0M2\",flexqueueitem:\"06i\",flowalarmwait:\"315\",flowapexclassdescriptor:\"3cd\",flowapexclasspropertydesc:\"3pd\",flowcategory:\"0RL\",flowcategoryitem:\"0Rl\",flowcolrecordrule:\"0qI\",flowdefinition:\"300\",flowdefinitionview:\"3dd\",flowelementsubtype:\"365\",flowelementtestcoverage:\"303\",flowenvironmentdefinition:\"15s\",flowexecutionerrorevent:\"0eC\",flowexecutionevent:\"0bx\",flowexecutioneventmetric:\"0cv\",flowexecutioneventstore:\"1AZ\",flowextension:\"0Uq\",flowextensiongenerictype:\"0e4\",flowextensionparam:\"0Uc\",flowextensionprocesstype:\"0eA\",flowinterview:\"0Fo\",flowinterviewevent:\"0kf\",flowinterviewlog:\"8gZ\",flowinterviewlogentry:\"0f6\",flowinterviewwait:\"314\",flownavmetriceventlog:\"0sz\",floworchactionevent:\"0wJ\",floworchestrationerrorevent:\"0rJ\",floworchestrationevent:\"0jo\",floworchestrationeventbatch:\"9n9\",floworchestrationeventstore:\"7SK\",floworchestrationinstance:\"0jE\",floworchestrationlog:\"0mZ\",floworchestrationstageinstance:\"0jF\",floworchestrationstepinstance:\"0jL\",floworchestrationworkitem:\"0jf\",flowplatformeventwait:\"316\",flowrecordrelation:\"31z\",flowresumesubscriber:\"0ry\",flowresumevalue:\"0rz\",flowsavetrigger:\"42C\",flowsharedresumesubscriber:\"0rx\",flowstagerelation:\"31y\",flowtest:\"320\",flowtestassertion:\"322\",flowtestcondition:\"323\",flowtestcoverage:\"302\",flowtestoperand:\"325\",flowtestparameters:\"324\",flowtestpoint:\"321\",flowtestresult:\"2hU\",flowtestview:\"4YB\",flowtriggertypedefinition:\"0fu\",flowvariableview:\"3ad\",flowversionview:\"3vd\",folder:\"00l\",folderclosure:\"0Rt\",folderedcontentdocument:\"N/A\",foldergroups:\"01d\",foldershare:\"0AF\",forecasteventqueue:\"N/A\",forecastingadjustment:\"0G7\",forecastingaffecteditem:\"N/A\",forecastingcategorymapping:\"0Jd\",forecastingcolumndefinition:\"0vv\",forecastingcompositekey:\"0G2\",forecastingcriticalavailable:\"0qn\",forecastingdisplayedfamily:\"0Zx\",forecastingfact:\"0G6\",forecastingfilter:\"0r0\",forecastingfiltercondition:\"1ZK\",forecastingitem:\"0G3\",forecastingitempivot:\"09o\",forecastingowneradjustment:\"08Q\",forecastingprediction:\"0Lv\",forecastingpredictionelement:\"01F\",forecastingpredictionreason:\"0Gf\",forecastingpredictiontrend:\"0OA\",forecastingquota:\"0J9\",forecastingshare:\"0Jc\",forecastingsourcedefinition:\"7sy\",forecastingtype:\"0Db\",forecastingtypemetrics:\"3MP\",forecastingtypesource:\"0hl\",forecastingtypetocategory:\"0Jg\",forecastinguserpreference:\"0Cl\",forecastitem:\"00A\",forecastitemhistory:\"0Yc\",forecastoverrideitem:\"N/A\",forecastoverridetree:\"N/A\",forecastquarterhistory:\"0Yb\",forecastrollup:\"0Yd\",forecastshare:\"608\",forecastuseropprollup:\"0Ye\",forgottentoken:\"0UX\",form:\"0QH\",formitem:\"0Qh\",formsection:\"0Qf\",formulafunction:\"0Kn\",formulafunctionallowedtype:\"0fE\",formulafunctioncategory:\"0Kh\",formulaoperator:\"0Gx\",formulaparticle:\"0Ce\",formulavariable:\"0fR\",fostatuschangedevent:\"0d1\",frgthaulingemssnfctr:\"0oc\",frgthaulingenrgyuse:\"0or\",ftestaccountchild:\"N/A\",ftestallcontactpoint:\"0bD\",ftestanotherinterface:\"0Qr\",ftestapplication2ainterface:\"0VV\",ftestapplication2binterface:\"0VW\",ftestapplication2cinterface:\"0Va\",ftestapplication2dinterface:\"0WP\",ftestapplicationinterface:\"0Tu\",ftestbigobjectlookup:\"5Yd\",ftestcart:\"0s3\",ftestcartitemtax:\"0sX\",ftestchild:\"N/A\",ftestchildconcrete:\"0fI\",ftestchildnoncustomizable:\"0aM\",ftestchildother:\"90a\",ftestcommunitymetrics:\"9m2\",ftestcomplexcatalog:\"7TA\",ftestcompoundfieldsinterface:\"00V\",ftestconcrete:\"0Tx\",ftestconcrete2:\"0Vb\",ftestconcrete3:\"0Vc\",ftestconcrete4:\"0Vd\",ftestconcrete5:\"0Ve\",ftestconcrete6:\"0Vf\",ftestconcrete7:\"0Wr\",ftestconcrete8:\"0Ws\",ftestconcretenodefault:\"0Wo\",ftestconcretenodefault2:\"0Wp\",ftestconcretenodefault3:\"0Wq\",ftestconcretenosup:\"0Tr\",ftestconcretenosup2:\"0Wm\",ftestconcretenosup3:\"0Wn\",ftestcontactpointemail:\"0bB\",ftestcontactpointphone:\"0bC\",ftestcstandardevent:\"0Lt\",ftestcustomcommunitymetrics:\"9m5\",ftestdeclmd1member:\"0d6\",ftestdeclmd2member:\"0d7\",ftestdeclmd3member:\"0dW\",ftestdeliverygroup:\"0y0\",ftestdelplatform1:\"41E\",ftestdelplatform2:\"7JP\",ftestdelsetup1:\"N/A\",ftestderivedinterface:\"9KL\",ftestderivedmain:\"9KM\",ftestdetailwithdeclmd1:\"0gV\",ftestdetailwithdeclmd2:\"0gW\",ftesterror:\"N/A\",ftesterrorchild:\"N/A\",ftestfieldmapping:\"001\",ftestfirsttoplevel:\"0Bh\",ftestflatzos:\"9VB\",ftestformulafieldrefsql:\"8z8\",ftestgenbodyinterface:\"0QP\",ftestgenericinterface:\"N/A\",ftestgeninterface:\"0QO\",ftestgrandchild:\"N/A\",ftesthbaseindexes:\"9Yj\",ftesthiddenmetricsdate:\"9m7\",ftesthiddenname:\"90e\",ftesthvdpbevent:\"4fm\",ftesthvpacevent:\"4fl\",ftestindustry2ainterface:\"0VO\",ftestindustry2binterface:\"0VT\",ftestindustry2cinterface:\"0VU\",ftestindustryinterface:\"0Tn\",ftestinterface:\"0Qe\",ftestinterface2:\"0QW\",ftestinterfacechild:\"0PU\",ftestjunction:\"N/A\",ftestmain:\"900\",ftestmetadatacatalogentity:\"08V\",ftestmetrics:\"9m0\",ftestnewschemadefinition:\"N/A\",ftestnonqueryableinterface:\"0VJ\",ftestnoowner:\"N/A\",ftestoffcorerecord:\"9x3\",ftestoldschemadefinition:\"0sU\",ftestoppchild:\"N/A\",ftestoppgrandchild:\"N/A\",ftestpackagedsetup:\"9s0\",ftestparentinterface:\"0UC\",ftestparentnodefaultint:\"0Wl\",ftestpatchapi:\"09c\",ftestperfinterface:\"0nB\",ftestperzoneusermetrics:\"9m4\",ftestpliny:\"9FI\",ftestplinyimmutableindexed:\"0Gl\",ftestplinyimmutablenoid:\"09n\",ftestplinyplatform:\"08f\",ftestplinyplatformevent:\"0Wt\",ftestplinyplatformimmutable:\"0CY\",ftestplinyplatformnoid:\"08Y\",ftestpolydimusermetrics:\"9m6\",ftestproductitem:\"0sV\",ftestreference2interface:\"0VN\",ftestreference3interface:\"9DH\",ftestreferenceinterface:\"0Tq\",ftestreputation:\"0ro\",ftestsecondtoplevel:\"0Bj\",ftestsetup:\"9s1\",ftestsetupappinterface:\"0Wf\",ftestsetupchild:\"N/A\",ftestsetupconcrete:\"N/A\",ftestsetupconcretenosup:\"N/A\",ftestsetupparentinterface:\"0W9\",ftestsobjectchild:\"9s2\",fteststandardevent:\"0LS\",fteststandardeventhv:\"0OI\",ftestsubdetailwithdeclmd:\"0gb\",ftestsvdpbevent:\"4fi\",ftestsvpacevent:\"4fk\",ftestsystemcatalogentity:\"08O\",ftesttoolingflu:\"03W\",ftesttoolingfluinfo:\"03X\",ftesttoplevelwithcrud:\"0iv\",ftesttoplevelwithdeclmd1:\"0b6\",ftesttoplevelwithdeclmd2:\"0b7\",ftesttoplevelwithdeclmd3:\"0ds\",ftestunion:\"N/A\",ftestuser:\"N/A\",ftestuserchild:\"9s3\",ftestusermetrics:\"9m1\",ftestusertypemetrics:\"9m3\",ftestviewablerelation:\"9V1\",ftestviewnoninheriting:\"001\",ftestvirtualbpolookup:\"0th\",ftestvirtualchild:\"9x1\",ftestvirtualfeeds:\"9x2\",ftestvirtualjunction:\"9x4\",ftestvirtualmain:\"9x0\",ftestzosparent:\"0Zc\",ftestzosuiprototypechild1:\"8z2\",ftestzosuiprototypechild2:\"0z7\",ftestzosuiprototypeparent:\"8z3\",fueltype:\"0wU\",fueltypesustnuom:\"0wX\",fulfillmentorder:\"0a3\",fulfillmentorderitemadjustment:\"0c4\",fulfillmentorderitemtax:\"0co\",fulfillmentorderlineitem:\"0a4\",fulfillorditemqtychgevent:\"1Fq\",functionconnection:\"7WY\",functiondefinition:\"0FU\",functionevent:\"0cX\",functioninvocationrequest:\"9md\",functionreference:\"9FX\",fundingaward:\"121\",fundingawardamendment:\"122\",fundingawardrequirement:\"124\",fundingdisbursement:\"125\",fundingopportunity:\"119\",gatherstatstaskinfo:\"03E\",generateddocument:\"2gd\",generateddocumentsection:\"2gs\",generatedentitydatatemplate:\"N/A\",generatedwaste:\"0ou\",genericasmttaskcontext:\"0oo\",genericassessmenttask:\"0px\",genericcontentfolder:\"9XP\",genericcontentfolderitem:\"9xb\",genericcontentfoldermember:\"9XN\",genericmessage:\"0QS\",genericrecorduseraccess:\"N/A\",genericvisittask:\"0py\",genericvisittaskcontext:\"0oO\",geocountry:\"0vf\",geolocationpac:\"6GL\",geostate:\"0yx\",globaldbkey:\"0Eg\",globalidentityusersync:\"13N\",globalorganization:\"00D\",globalvariable:\"0Ko\",globalvariabletype:\"0Dy\",gmvconversionhistory:\"0zI\",gnrcasmtkeyperformanceind:\"0qQ\",gnrcasmttaskcontextrela:\"0zy\",gnrcvstkeyperformanceind:\"0q5\",gnrcvsttaskcontextrelation:\"0yz\",goal:\"0WI\",goalassignment:\"1pg\",goalassignmentdetail:\"0xe\",goaldefinition:\"1gd\",goallink:\"0WK\",googledoc:\"098\",govtfinancialasstsum:\"9zq\",grantedbylicense:\"06d\",gridforcefilebackup:\"08B\",gridforcejob:\"0IT\",gridforcejobtestdata:\"0NT\",gridforcejobtestdefinition:\"0NS\",groundtravelemssnfctr:\"0p3\",groundtravelenrgyuse:\"0pE\",group:\"00G\",groupblowout:\"N/A\",groupcensus:\"0rf\",groupcensusmember:\"0r6\",groupcensusmemberplan:\"0rj\",groupclass:\"0rE\",groupclasscontribution:\"0rF\",groupgrouptrans:\"N/A\",groupmember:\"011\",groupsubscription:\"0CE\",gtwyprovpaymentmethodtype:\"1gp\",guestbuyerprofile:\"3K0\",guestuuidrecord:\"8kj\",hadoopcounter:\"0F2\",hadoopjob:\"0IU\",hammerresultstatus:\"0Fp\",hashtag:\"0ht\",hashtagcount:\"0hc\",hashtagdefinition:\"0hd\",hawkingappprovstatus:\"65d\",hawkingtenantprovstatus:\"2dL\",hbasepartyindividual:\"1hp\",healthcarediagnosis:\"0XN\",healthcarefacility:\"0kl\",healthcarefacilitynetwork:\"0bY\",healthcarepayernetwork:\"0bf\",healthcarepractitionerfacility:\"0bS\",healthcareprocedure:\"0XK\",healthcareprovider:\"0cm\",healthcareprovidernpi:\"0bN\",healthcareproviderspecialty:\"0bO\",healthcareprovidertaxonomy:\"0bP\",healthcondition:\"0j4\",healthconditiondetail:\"0o8\",healthscore:\"0qi\",healthscoreactionlog:\"0qM\",helpsetting:\"02E\",highscalecustomer:\"1vl\",highscalegenericobject:\"1xa\",highscalenotifyevent:\"25u\",highscorefeedbackmetrics:\"8vo\",highvelocityengagement:\"1a9\",highvelocityengagementevent:\"1aa\",highvelocityengmtperson:\"1aZ\",historicaldatafilter:\"0Ee\",historicaldatafilteritem:\"0Ef\",historicalentityconfig:\"0BX\",historicalentitydata:\"N/A\",historicalfieldconfig:\"0Bd\",historicalselector:\"0Bk\",historicalselectorvalue:\"0Bi\",historicalstaging:\"0Bf\",historicaltransactionprefix:\"0Be\",historyretentionjob:\"1AJ\",holiday:\"0C0\",hotelstayemssnfctr:\"0pF\",hotelstayenrgyuse:\"0pK\",hotorganization:\"N/A\",household:\"4un\",hsibatch:\"3xY\",hsiftestzospayload:\"5SR\",hsisubscription:\"36e\",htmlcomponent:\"02S\",icon:\"0an\",icondefinition:\"09k\",idea:\"087\",ideacomment:\"00a\",ideametrics:\"3MH\",ideareputation:\"0DW\",ideareputationlevel:\"0DT\",ideatheme:\"0Bg\",identifier:\"0hk\",identityconnector:\"0Fe\",identitydocument:\"0Ss\",identityprovconfig:\"0NP\",identityproveventlog:\"0Hm\",identityprovidereventstore:\"0k8\",identityresolution:\"1ir\",identityresolutiondefinition:\"2ir\",identityresolutionmatchrule:\"5ir\",identityresolutionrecon:\"8ir\",identityverificationevent:\"0Jx\",identityverificationprocdef:\"7cV\",identityverificationprocdtl:\"6rv\",identityverificationprocfld:\"17b\",ideperspective:\"1dp\",ideworkspace:\"1de\",idpeventlog:\"0Yu\",idrsoldatamdlobjfieldrel:\"4ir\",idrsoldatamodelobject:\"3ir\",idrsolmatchrulecriteria:\"6ir\",idrsolreconfieldrel:\"9ir\",idrsolreconfieldrule:\"3fr\",idrsolreconobjectrule:\"2or\",idrsolreconobjrulefldset:\"4fs\",idrsolreconruledatalkobj:\"6lo\",idrsolstatusevent:\"1e6\",iframewhitelisturl:\"6TS\",image:\"4YL\",importfile:\"N/A\",importqueue:\"00S\",inboundcertificate:\"0Da\",inboundchangeset:\"0EP\",inboundnetworkconnection:\"0gi\",inboundnetworkconnproperty:\"0gp\",inboundsocialpost:\"0Ff\",incident:\"0ny\",incidentrelateditem:\"0tA\",includedlicensedefinition:\"0LB\",incomingconversationeventlog:\"0eR\",incrementalcandidate:\"09h\",indexbackup:\"0FE\",indexentitiestodelwork:\"07B\",indexkeydefinition:\"0Fz\",indexkeydefinitionitem:\"0DQ\",indexreplaylog:\"N/A\",indexrevision:\"0FS\",individual:\"0PK\",individualapplication:\"0iT\",individualapplicationitem:\"11l\",individualcriteriasharingrule:\"0TC\",individualownersharingrule:\"0TB\",individualshare:\"0T5\",individualsharingrulefilteritem:\"0TA\",industriesommetrics:\"2ua\",industriestriggerhandler:\"0nd\",industriestriggersregistry:\"0pZ\",inflationrate:\"0pL\",influencerecalcstatus:\"0KL\",infoauthorizationrequest:\"0n8\",infoauthrequestform:\"0lj\",insight:\"09u\",insightsapplication:\"02I\",insightsexternaldata:\"06V\",insightsexternaldatapart:\"06W\",insightsfolder:\"09r\",insightsonboarding:\"0Ry\",insighttype:\"09q\",insightuservalue:\"0MS\",inspectionassessmentind:\"0ft\",inspectiontype:\"0fJ\",inspolicytransactiondetail:\"0vb\",installedmobileapp:\"0El\",installedpackageversion:\"0A3\",installedsubscriberpackage:\"0A3\",installedsubscriberpackageversion:\"0KM\",instancedirective:\"04H\",instanceperm:\"08x\",instancesizejob:\"0Df\",instorelocation:\"0a8\",insuranceclaimasset:\"0cR\",insurancecontract:\"0rw\",insurancepolicy:\"0YT\",insurancepolicyasset:\"0YW\",insurancepolicycoverage:\"0cY\",insurancepolicymemberasset:\"0c3\",insurancepolicyowner:\"0Yp\",insurancepolicyparticipant:\"0ao\",insurancepolicysurcharge:\"0kR\",insurancepolicytransaction:\"0k9\",insuranceprofile:\"0Yy\",integrationauditingevent:\"0X5\",integrationenvapplication:\"0ti\",integrationenvconfig:\"0tx\",integrationhubdata:\"2HA\",integrationhubdatatag:\"2HT\",integrationhubsettings:\"2HS\",integrationhubsettingstype:\"2HD\",integrationproviderattr:\"0z3\",integrationproviderdef:\"0z2\",intelligencefield:\"0Gq\",intentexecutionresult:\"1DU\",interaction:\"0kz\",interactionactioncall:\"0Fh\",interactionactioncallparam:\"0Fi\",interactionallocation:\"30a\",interactionallocator:\"30A\",interactionapexcall:\"30m\",interactionattendee:\"0zn\",interactionchoice:\"30C\",interactionchoicelookup:\"31c\",interactioncollectionproc:\"1s2\",interactioncollmapitem:\"9s8\",interactioncollsortoption:\"9s9\",interactioncondition:\"308\",interactionconnector:\"30L\",interactionconstant:\"30c\",interactioncountreport:\"0OD\",interactiondatacolumn:\"30d\",interactiondatainput:\"31i\",interactiondataoutput:\"31o\",interactiondatasource:\"31d\",interactiondecision:\"30D\",interactiondefinitionversion:\"301\",interactiondyntypemapping:\"30T\",interactionfieldvalue:\"31V\",interactionform:\"30F\",interactionformula:\"30f\",interactionlanguagemetrics:\"3Ml\",interactionlayoutdetail:\"310\",interactionlayoutgroup:\"30g\",interactionlcmetrics:\"0Rg\",interactionloop:\"0Fg\",interactionmetadatavalue:\"0Fj\",interactionoperand:\"309\",interactionparticipant:\"2m2\",interactionquestion:\"30Q\",interactionreference:\"30R\",interactionreforvalue:\"0Fv\",interactionrelatedaccount:\"0qS\",interactionresource:\"30r\",interactionrollback:\"0m1\",interactionscheduledpath:\"0jx\",interactionscreenfieldparam:\"307\",interactionscreenrule:\"03Y\",interactionscreenruleaction:\"03Z\",interactionstage:\"31x\",interactionstageitemparam:\"0ri\",interactionstagestepassignee:\"0nU\",interactionstart:\"32A\",interactionstatement:\"30S\",interactionsteppedstage:\"9ss\",interactionsteppedstageitem:\"6f3\",interactionsumdiscussedaccount:\"0oP\",interactionsummary:\"8BV\",interactionsummaryparticipant:\"2PB\",interactionswitch:\"31S\",interactiontodo:\"30t\",interactiontransform:\"8zj\",interactiontransformvalue:\"3l8\",interactiontranslmetrics:\"3Mt\",interactiontrfmvalueaction:\"7o8\",interactionusagemetrics:\"0VZ\",interactionvaluelist:\"30v\",interactionvaluelistentry:\"31v\",interactionvariable:\"30V\",interactionvisibilityrule:\"0bW\",interactionwait:\"30W\",interactionwaitevent:\"30e\",interactionwaiteventparam:\"30p\",interesttag:\"0qO\",interfacefieldmapping:\"0f8\",internaldataconnector:\"0hM\",internalorganization:\"3kh\",internalorganizationunit:\"0gJ\",invalidrecordevent:\"0ZZ\",inventoryitemreservation:\"10s\",inventorylocationmetric:\"1il\",inventoryreservation:\"10r\",invocableaction:\"09e\",invocableactiongenerictype:\"0g0\",invocableactionparameter:\"09f\",invocableactionpicklist:\"09g\",invoice:\"3tt\",invoiceaddressgroup:\"8zz\",invoicebatchrun:\"5IR\",invoicebatchruncriteria:\"5IC\",invoicebatchrunrecovery:\"0wB\",invoiceerrordetailevent:\"0pM\",invoiceline:\"5TV\",invoicepostedevent:\"0eS\",invoiceprocesseddetailevent:\"0pP\",invoiceprocessedevent:\"0pQ\",invoiceupdatedevent:\"1ky\",invoiceusagemetrics:\"39d\",iot:\"0Op\",iotactivitylog:\"9EW\",iotactivitylogevent:\"9EZ\",iotbatchretry:\"0Ix\",iotoutputsevent:\"0V4\",iotoutputsmsgpayload:\"0Jw\",ipaddressrange:\"9s4\",ipwhitelist:\"05G\",iqopportunityemailaddress:\"09w\",isvhammerpkgapexfailure:\"0Xf\",isvhammerpkgnamespace:\"0eE\",isvhammerpkgresult:\"0YX\",isvhammerrequest:\"0TW\",isvhammersubresult:\"0TX\",jiffytrace:\"0IZ\",jigsawcompany:\"0JA\",jigsawcontact:\"0JC\",jigsawsavedsearch:\"0JS\",jobfamily:\"0g9\",jobposition:\"0gL\",jobprofile:\"0jp\",jobprofilequeuegroup:\"0p0\",jobrole:\"0of\",jobtracker:\"0JT\",journalreason:\"N/A\",journalsubtype:\"0lS\",journaltype:\"0lE\",journeyelement:\"11M\",journeyversion:\"10v\",kanbanview:\"0Cv\",keystonecatalogstats:\"0K8\",keystonefile:\"09y\",keystonejob:\"0KJ\",keystonejobresult:\"0Kx\",keystonejobstatus:\"0Kw\",keyword:\"0LN\",keywordlist:\"0LM\",knowledgeableuser:\"0in\",knowledgearticle:\"N/A\",knowledgearticleeventlog:\"0vB\",knowledgearticlehistory:\"0DP\",knowledgearticlequery:\"N/A\",knowledgearticleversion:\"N/A\",knowledgearticleviewstat:\"0GA\",knowledgearticlevotestat:\"085\",knowledgeeventhistory:\"N/A\",knowledgeexport:\"0IM\",knowledgeexportarticle:\"0IK\",knowledgeexportfile:\"0IN\",knowledgeexportlanguage:\"0IJ\",knowledgeexportlog:\"0IL\",knowledgeimport:\"0ET\",knowledgeimportfile:\"0ES\",knowledgeimportlog:\"0EU\",knowledgekeywordsearcheventhistory:\"N/A\",knowledgekeywordsearchhistory:\"N/A\",knowledgelanguageconfig:\"0IA\",knowledgemigrationjob:\"0Ov\",knowledgemigrationstat:\"0RS\",knowledgesearcheventhistory:\"N/A\",knowledgevieweventhistory:\"N/A\",knowledgevoteeventhistory:\"N/A\",labeldata:\"02C\",labeldefinition:\"02B\",labelledanswer:\"0Re\",landingpage:\"0S7\",landingpagecontent:\"0eL\",layout:\"00h\",layoutdefinition:\"3NB\",layoutitem:\"01C\",layoutitemactionref:\"04z\",layoutitemcolumn:\"02q\",layoutparticle:\"0Ch\",layoutrightpanel:\"03c\",layoutsection:\"01B\",layoutsectionstate:\"0MN\",lbpmmetrics:\"0Ua\",lead:\"00Q\",leadalertevent:\"0qH\",leadchangemanualevent:\"03p\",leadcleaninfo:\"1CL\",leadconvertmapping:\"7Eq\",leadconvertsettings:\"0Eq\",leadcriteriasharingrule:\"0D4\",leaddailymetric:\"0mN\",leadinsight:\"0O9\",leadiqconfiguration:\"0OC\",leadlineitem:\"0wk\",leadmonthlymetric:\"0mK\",leadownersharingrule:\"02A\",leadpreferredseller:\"0xY\",leadshare:\"01o\",leadsharingrulefilteritem:\"0D9\",leadstatus:\"01J\",learnerprogram:\"0vO\",learnerprogramrequirement:\"0vu\",learnerprogramrqmtprogress:\"0x7\",learnerskill:\"2pg\",learning:\"0ty\",learningachievement:\"0u9\",learningassignment:\"0RI\",learningassignmentprogress:\"0bF\",learningaward:\"48D\",learningcontent:\"7dR\",learningcontentcollection:\"0oC\",learningcontentitem:\"1w6\",learningcontentitemprogress:\"0yp\",learningcontentprogress:\"3Ri\",learningcourse:\"0vY\",learningearnedaward:\"21Z\",learningfoundationitem:\"0ww\",learningitem:\"04Q\",learningitemassignment:\"1aP\",learningitemprogress:\"0uP\",learninglesson:\"5ZD\",learninglessonitem:\"5Ck\",learninglink:\"04R\",learninglinkprogress:\"0Lz\",learningoutcomeitem:\"0uE\",learningprogram:\"0u2\",learningprogramplan:\"0uF\",learningprogramplanrqmt:\"0uG\",learningrank:\"99Q\",learningusersummary:\"1U9\",legalentity:\"0fw\",lens:\"0FK\",lensdeveloper:\"0dU\",lensedgemart:\"0Fm\",lensfile:\"0FJ\",licensedcustompermission:\"0Lc\",licensedefinition:\"0Ld\",licensedefinitioncustompermission:\"8LP\",licensemanagementorgcertificate:\"9yZ\",licensingerror:\"1L1\",licensingrequest:\"1L0\",licensingrequestorderitem:\"8Ev\",licensingsnapshotrequest:\"86L\",lightningbolt:\"0RX\",lightningboltfeature:\"0Rv\",lightningboltimage:\"0Ru\",lightningboltitem:\"0Rr\",lightningcomponentbundle:\"0Rb\",lightningcomponentmetrics:\"3NX\",lightningcomponentresource:\"0Rd\",lightningcomponenttarget:\"7Er\",lightningexitbypagemetrics:\"0V9\",lightningexperiencetheme:\"0S1\",lightningmessagechannel:\"129\",lightningmessagefield:\"128\",lightningonboardingconfig:\"7MM\",lightningpagevieweventlog:\"0t3\",lightningschedulerusagemetrics:\"0bZ\",lightningservicemetrics:\"4NC\",lightningtogglemetrics:\"1o1\",lightningurievent:\"0bh\",lightningurieventstream:\"0bi\",lightningusagebyapptypemetrics:\"62C\",lightningusagebybrowsermetrics:\"3mK\",lightningusagebycomponentmetric:\"0w6\",lightningusagebyflexipagemetrics:\"7pV\",lightningusagebypagemetrics:\"0U5\",limitallocationperapp:\"999\",limitsnapshot:\"0Ic\",limitstracker:\"1LT\",limitusagehistory:\"0DU\",limitusagetracker:\"0VG\",lineitemoverride:\"029\",linkedarticle:\"1WK\",linkedinleadgen:\"7Eh\",linkedinleadgenadaccount:\"0Rp\",linkedinleadgenconfig:\"0Ri\",linkedinleadgentoken:\"0Rf\",linkreference:\"0FH\",linkstate:\"0Nb\",linkstatedata:\"0Nc\",listcolumn:\"04y\",listemail:\"0XB\",listemailindividualrecipient:\"0XF\",listemailmonthlymetric:\"0hG\",listemailrecipientsource:\"0XD\",listemailsentresult:\"0XE\",listlayout:\"02k\",listlayoutitem:\"025\",listpoolusage:\"0Bp\",listpreference:\"N/A\",listview:\"00B\",listviewchart:\"0Dd\",listviewchartinstance:\"0De\",listviewcriterion:\"01b\",listviewdisplaycolumn:\"01c\",listviewevent:\"0X8\",listvieweventstream:\"0XG\",liveagentsession:\"0HK\",livechatblockingrule:\"0No\",livechatbutton:\"573\",livechatbuttoncriteria:\"0HL\",livechatbuttondeployment:\"0HJ\",livechatbuttonskill:\"0If\",livechatdeployment:\"572\",livechatfiletoken:\"0JG\",livechatobjectaccessconfig:\"0oN\",livechatobjectaccessdefinition:\"0qN\",livechatsdapexpage:\"576\",livechatsdtabset:\"575\",livechatsensitivedatarule:\"0GO\",livechattranscript:\"570\",livechattranscriptevent:\"0DZ\",livechattranscriptskill:\"0Ig\",livechatuserconfig:\"0C6\",livechatuserconfigprofile:\"0CD\",livechatuserconfiguser:\"0CB\",livechatvisitor:\"571\",lmaapisession:\"08z\",loanapplicant:\"0cU\",loanapplicantaddress:\"0cj\",loanapplicantasset:\"0e2\",loanapplicantdeclaration:\"0cV\",loanapplicantemployment:\"0ck\",loanapplicantincome:\"0ci\",loanapplicantliability:\"0eK\",loanapplicationasset:\"0cg\",loanapplicationfinancial:\"0cC\",loanapplicationliability:\"0ch\",loanapplicationproperty:\"0cP\",loanapplicationtitleholder:\"0cT\",localizedvalue:\"01j\",localnamespace:\"06a\",location:\"131\",locationfulfillordcapacity:\"0uR\",locationgroup:\"0gh\",locationgroupassignment:\"0gx\",locationtrackinghistory:\"0QG\",locationtrustmeasure:\"20X\",locationuse:\"0vq\",locationwaitlist:\"9jG\",locationwaitlistedparty:\"5Zp\",lockouteventstream:\"0Os\",locwaitlistedpartyevent:\"0js\",locwaitlistevent:\"0jt\",locwaitlistmsgtemplate:\"2hN\",loginasevent:\"0VX\",loginaseventlog:\"0y8\",loginaseventstream:\"0VY\",loginbrand:\"0Bb\",loginbrandasset:\"0Ba\",loginevent:\"1HB\",logineventlog:\"0uk\",logineventold:\"1HB\",logineventstream:\"0Ll\",loginflow:\"0Kq\",logingeo:\"04F\",loginhistory:\"0Ya\",loginhours:\"02x\",loginip:\"710\",loginipemail:\"712\",loginiprange:\"02w\",loginssoerror:\"0Yg\",loglicenseupdates:\"7lv\",logminertask:\"0Gd\",logminertaskitem:\"0Ge\",logofeedback:\"0Rz\",logoutevent:\"06M\",logouteventstream:\"0PH\",logsearch:\"0IV\",logsearchresult:\"0BR\",lookedupfromactivity:\"N/A\",loyaltyaggrpointexprledger:\"0rv\",loyaltyevent:\"9OY\",loyaltyledger:\"05w\",loyaltymembercurrency:\"0lz\",loyaltymembershiplifecycle:\"11L\",loyaltymembertier:\"0ly\",loyaltypartnerproduct:\"0le\",loyaltypgmengmtattribute:\"0uJ\",loyaltypgmengmtattrprom:\"6LX\",loyaltypgmgroupmbrrlnsp:\"1LG\",loyaltypgmmbrattributeval:\"0uI\",loyaltypgmmbrpromeligview:\"0wv\",loyaltypgmpartnercurrency:\"2LC\",loyaltypgmpartnerpromotion:\"3LP\",loyaltypgmptnrldgrsummary:\"2pl\",loyaltypgmptnrprepaidpack:\"9HP\",loyaltyprogram:\"0lp\",loyaltyprogrambadge:\"0w8\",loyaltyprogramcurrency:\"0lc\",loyaltyprogrammbrpromotion:\"1lp\",loyaltyprogrammember:\"0lM\",loyaltyprogrammemberbadge:\"0w9\",loyaltyprogrammembercase:\"0lY\",loyaltyprogrammembermerge:\"0wW\",loyaltyprogrampartner:\"0ld\",loyaltyprogrampartnerledger:\"1Pl\",loyaltyprogramprocess:\"9MX\",loyaltyprogramprocessaction:\"9PW\",loyaltyprogramprocessactionparameter:\"9PV\",loyaltyprogramprocesscondition:\"9PY\",loyaltyprogramprocessfiltercriteria:\"9PX\",loyaltyprogramprocessparameter:\"9MY\",loyaltyprogramprocessparameterreference:\"9PR\",loyaltyprogramprocessrule:\"9MZ\",loyaltyprogramprocessrulestep:\"9PZ\",loyaltyprogramprocessruleversion:\"9PU\",loyaltyprogramsetup:\"9NY\",loyaltyprogramwidget:\"11g\",loyaltytier:\"0lg\",loyaltytierbenefit:\"0tb\",loyaltytiergroup:\"0lt\",loyaltyusagemetric:\"9OZ\",lpuaccessmapping:\"0ED\",macro:\"0JZ\",macroaction:\"0JY\",macrofolder:\"0Ur\",macroinstruction:\"0Ji\",macrousage:\"5ML\",mailappexchangeusermap:\"0CO\",mailappexchangewhitelist:\"0CK\",mailappowawhitelist:\"0Dr\",mailappsettings:\"0CG\",mailassociationitem:\"6AC\",mailmergetemplate:\"01H\",maintenanceasset:\"1MA\",maintenanceplan:\"1MP\",maintenanceworkrule:\"7fc\",malformedtemplatetracker:\"8bt\",malwaresignature:\"0Ck\",managedcontent:\"20Y\",managedcontentacluserpermission:\"0zX\",managedcontentblock:\"0Ct\",managedcontentblockversion:\"0Cu\",managedcontentbody:\"0sN\",managedcontentbodylink:\"0ee\",managedcontentchannel:\"0ap\",managedcontentchannelstatus:\"0jc\",managedcontentdelivery:\"0jq\",managedcontentdeployment:\"0jk\",managedcontentdeploymentitem:\"0jl\",managedcontentexportjobitem:\"0kb\",managedcontentfolderdefinition:\"0V5\",managedcontentfolderlink:\"9Py\",managedcontentfoldermember:\"0Y6\",managedcontentimportexportjob:\"0gU\",managedcontentinfo:\"20Y\",managedcontentlink:\"0gy\",managedcontentlink2:\"1eJ\",managedcontentmigration:\"9Pv\",managedcontentnode:\"34L\",managedcontentnodereftree:\"9Pt\",managedcontentnoderendition:\"3uC\",managedcontentnodetype:\"0TK\",managedcontentorgmetrics:\"0aF\",managedcontentpolicy:\"4A2\",managedcontentpolicy2:\"0xX\",managedcontentpolicylink:\"5ok\",managedcontentquerycriterion:\"0V7\",managedcontentquerydefinition:\"0V6\",managedcontentrecordshare:\"0gl\",managedcontentrelease:\"0ZK\",managedcontentreleaseitem:\"0ZL\",managedcontentresource:\"20Z\",managedcontentset:\"0Cz\",managedcontentsetlink:\"0Cx\",managedcontentslacklink:\"59k\",managedcontentspace:\"0Zu\",managedcontentspacechannel:\"1pZ\",managedcontentspacecontenttype:\"0V3\",managedcontentspacefolder:\"9Pu\",managedcontentspacefoldermember:\"9Px\",managedcontentspaceitem:\"0aq\",managedcontentspacelanguage:\"0cu\",managedcontentspacelink:\"0TG\",managedcontentspacemember:\"0Wv\",managedcontentspacemetrics:\"0aG\",managedcontentspacemodule:\"0sM\",managedcontentspacepermission:\"0wt\",managedcontentspaceresource:\"0jd\",managedcontentspacerole:\"0aJ\",managedcontenttranslationjob:\"6YP\",managedcontenttranslationjobitem:\"19W\",managedcontenttranslationjoblanguage:\"6ZO\",managedcontenttranslationtask:\"2zV\",managedcontenttype:\"0T1\",managedcontenttypebody:\"0qa\",managedcontenttypeinfo:\"0bJ\",managedcontenttypelink:\"0we\",managedcontenttypemetrics:\"0Y5\",managedcontenttypesearchblacklist:\"7FG\",managedcontenttypeversion:\"0T7\",managedcontentvariant:\"9Ps\",managedcontentvariantdelivery:\"0jr\",managedcontentvariantrendition:\"0k2\",managedcontentversion:\"5OU\",managedcontentversionlanguage:\"0cw\",managedtopiclocation:\"0mt\",managementaddonlicense:\"1L6\",managementeditionlicense:\"1L5\",managementplatformlicense:\"1L3\",managementuserlicense:\"1L4\",manufacturingprogram:\"0sb\",marketarea:\"9PQ\",marketareabuyergroup:\"6vV\",marketarearegion:\"73b\",marketaudience:\"9Nw\",marketaudiencedefinition:\"5As\",marketaudiencefield:\"7PI\",marketaudiencemember:\"1hx\",marketaudiencetracker:\"1Rw\",marketingaction:\"0Fk\",marketingappextaction:\"2Yo\",marketingappextactivity:\"0mr\",marketingappextassignment:\"4z8\",marketingappextension:\"0mF\",marketingform:\"1Mx\",marketinglink:\"0S0\",marketinglinkcontent:\"0cO\",marketingresource:\"0Dc\",marketingresourcetype:\"0Mr\",marketplace:\"0yc\",marketplaceseller:\"10C\",marketsegment:\"1sg\",marketsegmentactivation:\"85R\",marketsegmentdefinition:\"3HX\",marketsegmentdefmapping:\"5I4\",marketsegmentfield:\"9sF\",marketsegmentstatusevent:\"1e1\",marketsgmtactvstatusevent:\"1e2\",massmail:\"07A\",massmailrecipient:\"N/A\",massoperationsjobinfo:\"09s\",massoperationsnotification:\"00w\",massoperationssubsetresults:\"00R\",masterprfldatasrclineage:\"0hh\",masterprofile:\"0Rj\",masterprofileaddress:\"0Zv\",masterprofileemail:\"0Zw\",masterprofilephone:\"0Zz\",matchindexdefinition:\"0JK\",matchindexvalue:\"0JJ\",matchinginformation:\"0Ib\",matchingrule:\"0JD\",matchingruleitem:\"0JE\",materializedfeedentry:\"0Dh\",mcontentorchinstance:\"2Eq\",measure:\"0KU\",mediachannel:\"0pA\",mediacontenttitle:\"0pH\",mediaprintissue:\"99b\",mediatitleavailability:\"0zc\",mediatitleavailattribute:\"0zk\",mediatitlereleasedate:\"10T\",mediatitlerevenue:\"109\",medication:\"0it\",medicationdispense:\"0NB\",medicationreconciliation:\"0rK\",medicationrequest:\"0km\",medicationstatement:\"0ju\",medicationstatementdetail:\"0rW\",medicationtherapyreview:\"0pl\",medicationtherapystmtreview:\"0ND\",medicinalingredient:\"0nA\",medreconrecommendation:\"0r1\",medreconstmtrecommendation:\"0qz\",medtherapystmtreviewissue:\"0uT\",memberbenefit:\"0hW\",memberplan:\"0Sq\",memcachedserver:\"0DI\",menuitem:\"1S1\",merchantaccount:\"8zb\",messageidentifier:\"0B1\",messagequeueclone:\"N/A\",messagequeuecloneparam:\"0C7\",messagequeuedata:\"N/A\",messagequeuefairalloc:\"0Cp\",messagequeuerouting:\"0Ec\",messagequeuesuspenddata:\"0HA\",messagesignature:\"0Ed\",messagestore:\"0Ea\",messagetransportoverride:\"0EY\",messagingbilledagentmetrics:\"0V8\",messagingbilledbotmetrics:\"0fF\",messagingbilledwametrics:\"0fc\",messagingchannel:\"0Mj\",messagingchannelactionparametermapping:\"1Mq\",messagingchannelauthorization:\"3ma\",messagingchannelautoresponse:\"3ar\",messagingchannelparameter:\"1Mp\",messagingchannelparametervaluemapping:\"1Mr\",messagingchannelpaymentconfig:\"9do\",messagingchannelskill:\"1cN\",messagingconfiguration:\"0Uh\",messagingdeliveryerror:\"0Ut\",messagingenduser:\"0PA\",messaginglink:\"0Mm\",messagingoutboundmetrics:\"0fG\",messagingpopoption:\"0Lr\",messagingsession:\"0Mw\",messagingtemplate:\"0TD\",messagingtemplatechannel:\"1TC\",messagingtotalconvmetrics:\"0Vy\",metadatacomponentdependency:\"0Tj\",metadatacontainer:\"1dc\",metadatacontainermember:\"0PZ\",metadatacontainermemberwithbinarybody:\"0Sa\",metadatacontainermemberwithbody:\"0QY\",metadatacontainermemberwithsymboltable:\"0QT\",metadatacontent:\"0GN\",metadatadependency:\"0mR\",metadataidentifier:\"0GM\",metadatapackage:\"033\",metadatapackageversion:\"04t\",metamindconnection:\"1MC\",meteringcount:\"1Ya\",meteringcounttopersist:\"1Yb\",metric:\"0WJ\",metricdatalink:\"0WM\",metricsdatafile:\"0MR\",metricsinmqmetrics:\"8dy\",metricstransmissionhistory:\"0HR\",mfgprogramcpntfrcstfact:\"0sT\",mfgprogramforecastfact:\"0se\",mfgprogramtemplate:\"0NE\",mfgprogramtemplateitem:\"0qc\",mfgprogramvariantfrcstfact:\"0sj\",microbatchevent:\"5sr\",microsoftteamsusermapping:\"9lx\",migrationmanagement:\"0SS\",migrationrecordalias:\"7u7\",milestone:\"553\",milestonecondition:\"558\",milestonesuccessaction:\"561\",milestonetimeaction:\"560\",milestonetimetrigger:\"559\",milestonetype:\"557\",missedgmvconversion:\"1C4\",mktaipredictiveinsight:\"0yW\",mktaipredinsightthreshold:\"0xu\",mktcalcinsightdatasrc:\"0kW\",mktcalcinsightdatatemplate:\"0kh\",mktcalcinsightobjectdef:\"0m0\",mktcalculatedinsight:\"0kX\",mktcalculatedinsightfield:\"0ke\",mktcalculatedinsightobject:\"0kV\",mktdataconnection:\"9cg\",mktdataconnectioncred:\"4Bq\",mktdataconnectionparam:\"6Mq\",mktdataconnectionsrcparam:\"22w\",mktdatalakedatatemplate:\"1AK\",mktdatalakefield:\"0gQ\",mktdatalakemapping:\"0wT\",mktdatalakeobject:\"0gO\",mktdatalakesrckeyqualifier:\"1kq\",mktdatamodeldatatemplate:\"1AL\",mktdatamodelfield:\"0gY\",mktdatamodelobject:\"0gj\",mktdatatranfield:\"0gF\",mktdatatranobject:\"0gE\",mktdatatransform:\"1dt\",mktdatatransformdataobject:\"2Wp\",mktdatatransformdefinition:\"1td\",mktdatatransformdefmapping:\"1tm\",mktdatatransformevent:\"1e7\",mktdatatransformsvclocator:\"4HG\",mktfieldrelationshippath:\"0xj\",mktmlmodel:\"0wn\",mktmlmodeldefinition:\"0xk\",mktmlmodelendpoint:\"0xl\",mktmlmodelinputfeature:\"0xm\",mktmlmodeloutputendpoint:\"11z\",mktmlmodeloutputfeature:\"0xn\",mktmlpredictionjob:\"0yq\",mktmlpredictionjobdef:\"106\",mktmlpredictionjobinput:\"0ys\",mktmlpredictionjoboutput:\"107\",mktmlpredjoboutputconfig:\"0zR\",mktmlschema:\"0xi\",mktprofileactionoverride:\"0sl\",mktsgmntactvtnaudattribute:\"85S\",mktsgmntactvtncontactpoint:\"85T\",mktsgmtactvcontactptfield:\"0nX\",mktsgmtactvcontactptsrc:\"0nW\",mktsgmtdefcalcinsightfld:\"2rt\",mktsgmtdefdatamdlobjfld:\"9WA\",mlappmigrationstatus:\"2dM\",mldatadefinition:\"0ga\",mldomain:\"1M0\",mlengagementevent:\"9Qb\",mlexternalmodel:\"1M1\",mlfeaturevaluemetric:\"48i\",mlfield:\"6e8\",mlfilter:\"8gt\",mlfiltervalue:\"7gt\",mlintent:\"1M2\",mlintentbottrainingmetrics:\"0im\",mlintentmodelmetric:\"2M0\",mlintentmodelmisclassification:\"2M1\",mlintentutterance:\"1M4\",mlintentutterancesuggestion:\"1M9\",mlmigration:\"9zO\",mlmodel:\"873\",mlmodelfactor:\"876\",mlmodelfactorcomponent:\"877\",mlmodelgraph:\"875\",mlmodelmetric:\"874\",mlpipelineevent:\"3s1\",mlpredictiondefinition:\"6gt\",mlqueryobservation:\"7C1\",mlrecommendationdefinition:\"7gh\",mlrelatedintent:\"1M3\",mlretrainingfeedback:\"9za\",mlslot:\"1M5\",mlslotclass:\"1M6\",mlslotclassvalue:\"1M7\",mltrainingintentutterance:\"1m4\",mobapppublrauthcrdl:\"5Qe\",mobapppublrl10nperm:\"0wH\",mobileapplicationdetail:\"0IW\",mobileconfig:\"063\",mobiledevice:\"086\",mobiledevicecommand:\"0IE\",mobiledeviceregistrar:\"0IG\",mobileemailevent:\"0d9\",mobileemaileventstore:\"0fe\",mobileenforcedpolicyevent:\"0d3\",mobileenfpolicyeventstore:\"0fb\",mobileentitysetting:\"0B0\",mobileevent:\"0eT\",mobileexcludedfield:\"090\",mobilehomeconfiguration:\"6nl\",mobilemarkedrecord:\"079\",mobilepushdevice:\"0BW\",mobilepushnotificationcredential:\"3Mc\",mobilepushservicedevice:\"0FG\",mobilepushsetupregistry:\"0HO\",mobilepushuserupdate:\"0CX\",mobilescreenshotevent:\"0d5\",mobilescreenshoteventstore:\"0ff\",mobilesecurityassignment:\"0g6\",mobilesecuritypolicy:\"0g5\",mobilesecuritypolicyset:\"0ho\",mobilesecurityusermetric:\"0g4\",mobilesession:\"0C2\",mobilesettingsassignment:\"00M\",mobiletab:\"0B9\",mobiletelephonyevent:\"0fY\",mobiletelephonyeventstore:\"0fd\",mobileview:\"094\",mobileviewdisplaycolumn:\"096\",mobileviewfilter:\"097\",mobileviewsortcolumn:\"095\",mobsecuritycertpinconfig:\"0o0\",mobsecuritycertpinevent:\"0pm\",modelfactor:\"0O3\",modelmetricwriteevent:\"2aI\",moderationrule:\"0LJ\",moderationruleentitytypemapping:\"0LK\",moderationrulekeywordcriteriamapping:\"0LL\",moderationruleusercriteriamapping:\"0LU\",module:\"0Ik\",moduledependency:\"0Eb\",modulenamespace:\"0Do\",mqslajob:\"0Bc\",mqslarequest:\"0BY\",mru:\"N/A\",msgchannellanguagekeyword:\"3Or\",msgchannelprocurerequest:\"2lE\",msgchannelprovisionrequest:\"1ho\",multinodesetting:\"0Is\",multipartyinfoauthrequest:\"0lR\",mutingpermissionset:\"0QM\",mydomaindiscoverablelogin:\"4hy\",mys1brokernotification:\"0Oc\",name:\"N/A\",namedchildsetupentitydatatemplate:\"N/A\",namedcredential:\"0XA\",namedcredentialparameter:\"0pv\",namedfilter:\"0DG\",namespaceregistry:\"1NR\",nameunion:\"N/A\",naturallangqueryobservation:\"0lu\",navigationlinkset:\"0Lm\",navigationmenuitem:\"0Mi\",neginvclineprocessedevent:\"7Qc\",network:\"0DB\",networkactivemembermetrics:\"3ML\",networkactivityaudit:\"0J6\",networkactivitydailymetrics:\"3MZ\",networkaffinity:\"0OV\",networkcustmembermetrics:\"3M7\",networkcustomerdailyloginmetrics:\"4M5\",networkcustomerloginmetrics:\"3M5\",networkdashboardsetting:\"0JN\",networkdefaultbadgesetting:\"0UH\",networkdiscoverablelogin:\"7ov\",networkfeedresponsemetric:\"0jw\",networkfeedsentimentanalysis:\"43j\",networkleadailyloginmetrics:\"0WR\",networkleaplusdailyloginmetrics:\"0WQ\",networkmember:\"0DO\",networkmemberchunk:\"1Zz\",networkmembergroup:\"0DL\",networkmembershipdailymetrics:\"3MX\",networkmoderation:\"0Id\",networkpageoverride:\"0Dp\",networkpartnerdailyloginmetrics:\"4M6\",networkpartnerloginmetrics:\"3M6\",networkpartnermembermetrics:\"3M8\",networkpcustdailyloginmetrics:\"4NW\",networkpowercustomerloginmetrics:\"3NW\",networkpowercustomermembermetrics:\"3NP\",networkpublicusagedailymetrics:\"3N2\",networkpulseactionsmapping:\"0Z1\",networkpulsesetting:\"0Z0\",networkreferencedobject:\"0ln\",networkregularmembermetrics:\"3M9\",networksearchqueryfrequency:\"04J\",networkselfregistration:\"0Dm\",networksentimentaggregation:\"0Sp\",networksentimentaggregationbookmark:\"0Sc\",networktenantusageentitlementwklymetrics:\"3MY\",networkuniquecontributordailymetrics:\"3N0\",networkuserhistory:\"0c5\",networkuserhistoryrecent:\"0c6\",networkuserparticipationdailymetrics:\"2Bd\",networkworkspacemetricsetting:\"4OS\",newsalertjobtracker:\"0Dn\",newsarticle:\"07P\",newsfeed:\"0D5\",newsfeeddenorm:\"0H8\",newsfeedv2denorm:\"0Eo\",nextbestactionusagemetrics:\"0YN\",nlphrase:\"0Uj\",nlpprediction:\"0cp\",nlppredictionfeedback:\"0cz\",nlppredictionvalue:\"0cy\",nlqueryfragment:\"0Un\",nodetopartitionmapping:\"06C\",note:\"002\",noteandattachment:\"N/A\",notifdeliveryuserpref:\"0JF\",notification:\"0JH\",notificationdata:\"0JI\",notificationlog:\"N/A\",notificationmember:\"0Cn\",notificationrecipientoptout:\"9BQ\",notificationuseroptout:\"75J\",notificationwork:\"N/A\",notiftypeorgsetting:\"0Dv\",notiftypeusersetting:\"06p\",oauthclientcrdlappuser:\"0vo\",oauthclientregistration:\"886\",oauthconsumer:\"888\",oauthconsumerasset:\"889\",oauthconsumerscope:\"0cs\",oauthconsumerwhitelist:\"0C4\",oauthcustomscope:\"7ud\",oauthcustomscopeapp:\"7ue\",oauthstagedcredential:\"0ug\",oauthtoken:\"0CQ\",oauthtokenlocal:\"0JM\",oauthtokenraw:\"N/A\",oauthtokenscope:\"N/A\",objectchangesubscription:\"9w1\",objectdataimport:\"83r\",objectdataimportreference:\"1O5\",objecthierarchyrelationship:\"0kF\",objectmapping:\"0Dk\",objectmappingfield:\"0Dl\",objectpermissions:\"110\",objectrelatedurl:\"0zC\",objectsourcetargetmap:\"0i5\",objectstateactiondefinition:\"0OJ\",objectstatedefinition:\"0o4\",objectstatetransition:\"0jj\",objectstatetransitionaction:\"0pN\",objectstatevalue:\"2p3\",objectstorehighscale:\"0z0\",objectsubscriptionmetric:\"3qp\",objectterritory2assignmentrule:\"0Ir\",objectterritory2assignmentruleitem:\"0Iq\",objectterritory2association:\"0JB\",ocrdocumentscanresult:\"0ix\",ocrsampledocument:\"9Qi\",ocrsampledocumentfield:\"7dh\",ocrsampledocumentpage:\"7LI\",ocrsampledocumentpageitem:\"0wD\",ocrtargetobject:\"97h\",ocrtargetobjfieldmapping:\"3Xe\",ocrtemplate:\"48t\",ocrtemplatesampledocument:\"6ea\",ocrusagemetric:\"1AO\",offlineaccountcache:\"N/A\",offlinebriefcase:\"N/A\",omniassessmenttask:\"0os\",omnidatapack:\"0nc\",omnidatatransform:\"0jI\",omnidatatransformconfig:\"3UL\",omnidatatransformitem:\"0kd\",omniesignaturetemplate:\"0nL\",omniintegrationprocconfig:\"0qr\",omniinteractionaccessconfig:\"0nz\",omniinteractionconfig:\"0yY\",omniprocess:\"0jN\",omniprocessasmtquestionver:\"0r5\",omniprocesscompilation:\"0k7\",omniprocesselement:\"0kE\",omniprocesstransientdata:\"0nM\",omniroutingeventstore:\"0is\",omniscriptconfig:\"0qh\",omniscriptsavedsession:\"0kT\",omnistudiometric:\"0oJ\",omnisupervisorconfig:\"0Q2\",omnisupervisorconfigaction:\"3UC\",omnisupervisorconfiggroup:\"0QE\",omnisupervisorconfigprofile:\"0QC\",omnisupervisorconfigqueue:\"0sf\",omnisupervisorconfigskill:\"0qg\",omnisupervisorconfiguser:\"0Q4\",omniuicard:\"0ko\",omniuicardconfig:\"9AK\",onboardinggroupinfo:\"0HB\",onboardingmetrics:\"0UG\",onetimekey:\"N/A\",onetimepasswordinfo:\"0HM\",openactivity:\"N/A\",operatinghours:\"0OH\",operatinghoursholiday:\"0jG\",operationlog:\"0Cj\",opportunity:\"006\",opportunityalert:\"02r\",opportunityalertevent:\"6vA\",opportunitycompetitor:\"00J\",opportunitycontactrole:\"00K\",opportunitycontactrolesuggestioninsight:\"0Qv\",opportunitycriteriasharingrule:\"0BV\",opportunityforecastperiod:\"N/A\",opportunityhistory:\"008\",opportunityinsight:\"0OM\",opportunitylineitem:\"00k\",opportunitylineitemschedule:\"00o\",opportunitylineitemsplit:\"10X\",opportunitymetrics:\"3MC\",opportunityoverride:\"028\",opportunityownersharingrule:\"00u\",opportunityparticipant:\"3RV\",opportunitypartner:\"00I\",opportunitypreferredseller:\"0y1\",opportunityscore:\"0Gq\",opportunityshare:\"00t\",opportunitysharingrulefilteritem:\"0I6\",opportunitysnapshot:\"96V\",opportunitysplit:\"049\",opportunitysplitmetrics:\"3NO\",opportunitysplittype:\"149\",opportunitystage:\"01J\",opportunityteammember:\"00q\",opportunityupdatereminder:\"01w\",opportunityupdatereminderstatistics:\"01x\",opptyandpricingmetrics:\"3MK\",opptylineitemsplittype:\"10Y\",oppupdatereminderdata:\"0Yo\",optimizermetricsaverage:\"0Dz\",oracleawrsqlignore:\"0H9\",oracleawrsqlstat:\"0G4\",oracleawrsqltext:\"0G5\",orchestration:\"0FF\",orchestrationcontext:\"0Me\",orchestrationcontextdataset:\"0TZ\",orchestrationcontextdeploy:\"0T9\",orchestrationcontextevent:\"0Mn\",orchestrationcontexteventfield:\"0aC\",orchestrationcontextruntimeevent:\"0VF\",orchestrationdeployment:\"0Ml\",orchestrationemailrecord:\"0Za\",orchestrationevent:\"0S5\",orchestrationeventfield:\"0S6\",orchestrationinstance:\"0Pb\",orchestrationruntimeevent:\"00Z\",orchestrationruntimeeventhv:\"0Zf\",orchestrationruntimelog:\"0Pj\",orchestrationscheduledtimer:\"0On\",orchestrationstate:\"0Pc\",orchestrationstats:\"0SW\",orchestrationtracker:\"9EV\",orchestrationtransitioncount:\"0Pd\",orchestrationusagemetrics:\"16d\",order:\"801\",orderaction:\"8OA\",orderadjustmentaggregatesummary:\"0rh\",orderadjustmentgroup:\"0az\",orderadjustmentgroupsummary:\"0aj\",orderaggregate:\"0fB\",orderchangelog:\"0dy\",ordercriteriasharingrule:\"0Ft\",orderdeliverygroup:\"2Dg\",orderdeliverygroupsummary:\"0ag\",orderdeliverymethod:\"2Dm\",orderitem:\"802\",orderitemadjustmentlineitem:\"3qZ\",orderitemadjustmentlinesummary:\"0ah\",orderitemconsumptionrate:\"7sp\",orderitemconsumptionschedule:\"0pI\",orderitemrelationship:\"0ay\",orderitemsummary:\"10u\",orderitemsummarychange:\"1oc\",orderitemtaxlineitem:\"0au\",orderitemtaxlineitemsummary:\"0ai\",orderitemtype:\"N/A\",orderownersharingrule:\"0Fs\",orderpaymentsummary:\"0bM\",ordershare:\"0Fy\",ordersharingrulefilteritem:\"0Fu\",orderstatus:\"N/A\",orderstatuschangedevent:\"0kv\",ordersummary:\"1Os\",ordersummarycreatedevent:\"0bH\",ordersummarymetrics:\"0fx\",ordersummaryroutingschedule:\"0ra\",ordersumstatuschangedevent:\"0d2\",orderusagemetric:\"9YC\",organization:\"00D\",organizationentitystorage:\"N/A\",organizationexport:\"N/A\",organizationexportcontent:\"092\",organizationexporthistory:\"0Yh\",organizationhistory:\"0Yi\",organizationpermbit:\"5T0\",organizationprefbit:\"5T1\",organizationproperty:\"N/A\",organizationsecurity:\"0Yz\",organizationstatushistory:\"0Yj\",organizationtorgdetail:\"N/A\",organizationvalue:\"80D\",organizationvalueinfo:\"0Cg\",orgdeleterequest:\"0dr\",orgdomainlog:\"9UX\",orgemailaddresssecurity:\"0D3\",orgeventreadiness:\"4Vm\",orgeventreadinesschkresult:\"0ym\",orgheartbeatmetricevent:\"9xh\",orgincidentsummary:\"7qx\",orglifecyclenotification:\"0OL\",orgmetric:\"3v1\",orgmetricbenchmark:\"8oG\",orgmetricscanresult:\"9aM\",orgmetricscansummary:\"6mX\",orgobjectsmetrics:\"3M1\",orgperformancemetricevent:\"9xp\",orgrecommendation:\"N/A\",orgreplicationdeletelog:\"N/A\",orgreplicationerror:\"N/A\",orgsettingupdateevent:\"5xF\",orgsigningkey:\"0Dt\",orgsizingdataholder:\"0CU\",orgsizinginfo:\"0CW\",orgsnapshot:\"0Oo\",orgstandardobjectsmetrics:\"3M2\",orgwideemailaddress:\"0D2\",othercomponenttask:\"8kJ\",otheremssnfctrset:\"0pR\",otheremssnfctrsetitem:\"0pS\",outboundfield:\"043\",outboundmessage:\"04l\",outboundmessagenotification:\"0AC\",outboundnetworkconnection:\"0e7\",outboundnetworkconnproperty:\"0e8\",outboundqueue:\"02l\",outgoingemail:\"0Q1\",outgoingemailrelation:\"0Q3\",outofoffice:\"1OO\",ovenexperiment:\"0OU\",overridableentities:\"06l\",overridepreset:\"0yL\",ownedcontentdocument:\"N/A\",owner:\"N/A\",ownerchangeoptioninfo:\"0Cy\",ownerentitystorage:\"N/A\",paccrudpermission:\"080\",package2:\"0Ho\",package2member:\"03v\",package2transferrequest:\"2pt\",package2upgradeexport:\"4Wz\",package2version:\"05i\",package2versionbuildrequest:\"0MX\",package2versioncreaterequest:\"08c\",package2versioncreaterequesterror:\"0Gt\",packagebooleanvalue:\"9BV\",packageconversion:\"2pc\",packagedatevalue:\"9DV\",packagedependency:\"0Iz\",packageevent:\"0AD\",packageextension:\"04x\",packageidmapping:\"0BL\",packageinstallrequest:\"0Hf\",packageintegervalue:\"9NV\",packagelicense:\"050\",packagemember:\"034\",packageoperationerror:\"0FR\",packagepusherror:\"0DY\",packagepushjob:\"0DX\",packagepushrequest:\"0DV\",packagesubscriber:\"0Hb\",packagesupportaccess:\"0H7\",packageuploadrequest:\"0HD\",packageversioninstallrequesterror:\"0Pt\",packageversionpatchorg:\"0EA\",packageversionuninstallrequesterror:\"0Pu\",packaginghammerresult:\"2sE\",pageassignment:\"0Pi\",pageassignmentcriteria:\"6Pc\",pagecomponent:\"02V\",pagecontentassignment:\"0g3\",pageview:\"N/A\",paralleljobitemdata:\"0PF\",paralleljobstatus:\"0Ys\",pardottenant:\"0Uv\",participant:\"0lH\",participantdevice:\"0ew\",participantrole:\"0gd\",partitionlevelmember:\"1pm\",partitionlevelscheme:\"1ps\",partitionstatus:\"6pS\",partner:\"00I\",partnerfundallocation:\"0R8\",partnerfundclaim:\"0RB\",partnerfundrequest:\"0RJ\",partnermarketingbudget:\"0Cw\",partnernetworkaccountstage:\"047\",partnernetworkcasestage:\"0DK\",partnernetworkconnection:\"04P\",partnernetworkconnectionaudit:\"0Yf\",partnernetworkcontactstage:\"048\",partnernetworkfieldmap:\"04M\",partnernetworkforwardchild:\"N/A\",partnernetworkleadstage:\"04U\",partnernetworkoppstage:\"04L\",partnernetworkproductstage:\"04A\",partnernetworkqueue:\"N/A\",partnernetworkrecordconnection:\"04V\",partnernetworksetup:\"045\",partnernetworkstage:\"04O\",partnernetworksynclog:\"0Jh\",partnernetworktemplate:\"0BM\",partnernetworktemplatefield:\"0BO\",partnernetworktemplatetype:\"0BN\",partnernetworktemplatevalue:\"0BS\",partnernetworktypemap:\"04N\",partnernetworkvaluemap:\"04K\",partnerrole:\"N/A\",party:\"0Pg\",partycertifiedcapacity:\"0va\",partyconsent:\"0g8\",partydatasourcelineage:\"0Tl\",partyidentityverification:\"0wI\",partyidentityverificationstep:\"0wh\",partyincome:\"2m3\",partyprofile:\"0xU\",partyprofileaddress:\"0wF\",partyprofilerisk:\"0wC\",partyrelatedparty:\"22u\",partyrelationshipgroup:\"0wK\",partyrelationshiptype:\"37Q\",partyrole:\"3Ne\",partyrolerelation:\"0zl\",partyscreeningstep:\"0wm\",partyscreeningsummary:\"0wj\",partysourcerelatedevent:\"0Up\",pathassistant:\"1CP\",pathassistantstepinfo:\"1CF\",pathassistantstepitem:\"1CS\",patientapirecordlock:\"0qP\",patienthealthreaction:\"0j1\",patientimmunization:\"0jK\",patientimmunizationprotocol:\"0xB\",patientmedicalprocedure:\"0jQ\",patientmedicalproceduredetail:\"0kC\",patientmedicationdosage:\"0j3\",payment:\"0aQ\",paymentactivity:\"0ya\",paymentapplicationmethod:\"1PA\",paymentauthadjustment:\"9tv\",paymentauthorization:\"0Xc\",paymentbatchrun:\"5PR\",paymentbatchruncriteria:\"5PC\",paymentcreationevent:\"14Q\",paymentexperience:\"0er\",paymentexperiencemethod:\"3gy\",paymentgateway:\"0b0\",paymentgatewaylog:\"0Xt\",paymentgatewayprovider:\"0cJ\",paymentgroup:\"9zx\",paymentidempotent:\"1PI\",paymentintent:\"0wp\",paymentlineinvoice:\"1PL\",paymentmethod:\"0aa\",paymentpolicy:\"1PP\",paymentrequest:\"0t7\",paymentrequestline:\"0t8\",paymentschedule:\"5PS\",paymentscheduleitem:\"5SI\",paymentschedulepolicy:\"0xP\",paymentscheduletreatment:\"0xQ\",paymentscheduletreatmentdtl:\"0xS\",paymentterm:\"2OX\",paymenttermitem:\"2ga\",paymenttreatment:\"1PT\",pcmtemssnfctrset:\"0pT\",pcmtemssnfctrsetitem:\"0pU\",pdfgenerationreadyevent:\"5Ch\",pdfgenerationrequestevent:\"9By\",pendingordersummary:\"29s\",pendingordsumprocevent:\"0rL\",pendingservicerouting:\"0JR\",pendingserviceroutinginteractioninfo:\"0oq\",percentilebsdcarefeeagreement:\"0tX\",perentityuserpreference:\"N/A\",period:\"026\",periodicintervalevent:\"1r0\",permissiondependency:\"2Pd\",permissionset:\"0PS\",permissionsetassignment:\"0Pa\",permissionsetevent:\"0f3\",permissionseteventstore:\"0f9\",permissionsetgroup:\"0PG\",permissionsetgroupcomponent:\"0PM\",permissionsetgroupmetrics:\"0To\",permissionsetlicense:\"0PL\",permissionsetlicenseassign:\"2LA\",permissionsetlicensedefinition:\"8CL\",permissionsetlicensemetrics:\"3MJ\",permissionsetmetricsbyorg:\"3MA\",permissionsetprofilemetrics:\"0Tp\",permissionsettabsetting:\"01P\",person:\"0Ph\",personaccountmetrics:\"1Mc\",personaccountownerpoweruser:\"1SW\",personalization:\"0J2\",personalizationactivity:\"6PA\",personalizationresource:\"2hf\",personalizationtargetinfo:\"6At\",personalizationtargetset:\"6PT\",personalizedunswdquestion:\"0Rx\",persondisability:\"0xD\",personeducation:\"0Sr\",personemployment:\"0St\",personexamination:\"0hS\",personlanguage:\"0iS\",personlifeevent:\"0Yr\",personlist:\"0Fw\",personlistmember:\"0Fx\",personname:\"0i3\",persontraining:\"0hR\",pgmrebatetypbnftmapping:\"0iM\",phoenixdatasync:\"0In\",photo:\"729\",photoitem:\"0F5\",physicaldeleterun:\"0EK\",physicaldeleterunstate:\"0EL\",picklistitemproperty:\"0EO\",picklistmaster:\"01J\",picklistpurgeablevalue:\"1Xc\",picklistset:\"01e\",picklistvalueinfo:\"4pv\",pickticket:\"0zP\",pickticketassignment:\"0zN\",pickticketproduct:\"0zW\",pinnedentity:\"0QK\",pinplan:\"0Gk\",pipelineinspectionlistview:\"4c2\",pipelineinspectionsumfield:\"9xz\",pipelineinspmetricconfig:\"7FT\",place:\"0Pe\",placeordercompletedevent:\"0P7\",placeordererrordetailevent:\"0P8\",planbenefit:\"0TM\",planbenefititem:\"0Sg\",platformaction:\"0JV\",platformactionlist:\"0Jn\",platformactionlistitem:\"0Jo\",platformactionmetrics:\"0Vz\",platformcachepartition:\"0Er\",platformcachepartitiontype:\"0Ev\",platformcachetrial:\"0Ex\",platformeventchannel:\"0YL\",platformeventchannelmember:\"0v8\",platformeventconduitmetrics:\"0Vp\",platformeventcustmetrics:\"5Nc\",platformeventenrichmentfield:\"0dz\",platformeventmetrics:\"1HC\",platformeventsubscriberconfig:\"3JK\",platformeventusagemetric:\"8Kk\",platformlicensedefinition:\"0L6\",platformorgobjectmetrics:\"3MW\",platformschemadata:\"N/A\",platformschemadefinition:\"N/A\",platformschemaoption:\"N/A\",platformstatusalertevent:\"0V2\",plinycustomentitydata:\"N/A\",plinyphysicaldeletejob:\"0RZ\",plinyplatformentitydatatemplate:\"N/A\",plinystandardentitydatatemplate:\"N/A\",polygon:\"0jU\",portal:\"060\",portalaccount:\"061\",portaldelegablepermissionset:\"0cW\",portallanguageconfig:\"0B2\",portallanguagetabconfig:\"0B3\",portalmember:\"067\",portalstyleconfig:\"062\",portaluserperson:\"0QX\",positivefeedbackmetrics:\"4Wg\",postarchivaldeletionrequest:\"0NN\",predictiondefinition:\"1Pd\",predictiondefinitionfield:\"0Pf\",predictivecompfieldinfo:\"0NH\",predictivecomponent:\"0NG\",predictivemodel:\"0J5\",preliminaryapplicationref:\"0go\",presenceconfigdeclinereason:\"0KP\",presencedeclinereason:\"0KR\",presencestatuschangedevent:\"0ut\",presenceuserconfig:\"0Nd\",presenceuserconfiginfo:\"06u\",presenceuserconfigprofile:\"0Nf\",presenceuserconfiguser:\"0Ne\",preventivecareagreement:\"0s4\",priceadjcauseinterface:\"0dH\",priceadjustmentgroup:\"0dD\",priceadjustmentgroupshape:\"10O\",priceadjustmentitem:\"0dC\",priceadjustmentitemshape:\"10P\",priceadjustmentschedule:\"84X\",priceadjustmenttier:\"84Y\",pricebook:\"00i\",pricebook2:\"01s\",pricebook2old:\"01s\",pricebookentry:\"01u\",pricebookentryadjustment:\"84Z\",pricebookentryinterface:\"0k4\",pricebookentrymetrics:\"0bb\",pricebookinterface:\"0k3\",pricebookshare:\"01v\",pricerule:\"10j\",priceruleaction:\"10m\",priceruleactionitem:\"10n\",pricerulecondition:\"10k\",priceruleconditionfilter:\"10l\",priceruleexecutionstage:\"11U\",pricingguidancemetrics:\"02R\",primingapistatusevent:\"6ow\",priorpassword:\"N/A\",privacycnsldpolicypriority:\"1qZ\",privacyconsent:\"1YZ\",privacyconsentrow:\"0YZ\",privacyconsolidationdim:\"1qg\",privacyconsolidationpolicy:\"1qp\",privacyhold:\"8PS\",privacyholdreason:\"9r4\",privacyjobsession:\"8sp\",privacyobjectsession:\"8sq\",privacypolicy:\"8so\",privacypolicydefinition:\"8sk\",privacypolicyfield:\"8sm\",privacypolicyobject:\"8sl\",privacypolicytargetmodifier:\"0wP\",privacypolicyversion:\"8sn\",privacyprocessorcriteria:\"0wM\",privacyprocessormappingmodifierassignment:\"0wO\",privacyprocessormappingrule:\"0wN\",privacyrequest:\"0si\",privacysessionkey:\"8sr\",privatedomaindefinition:\"0gZ\",prmappinstallationstatus:\"0aI\",prmsetup:\"N/A\",problem:\"0o2\",problemdefinition:\"118\",problemgoaldefinition:\"11S\",problemincident:\"0oE\",problemrelateditem:\"0tB\",processactionitem:\"04e\",processallowedsubmitter:\"04j\",processcartpricingevent:\"0cl\",processdefinition:\"04a\",processexception:\"2Pe\",processexceptionevent:\"4v2\",processflowmigration:\"11Q\",processinstance:\"04g\",processinstancehistory:\"N/A\",processinstancenode:\"0OO\",processinstancestep:\"04h\",processinstanceworkitem:\"04i\",processmetrics:\"3MT\",processnode:\"04b\",processnodesecurity:\"0ns\",processpalette:\"625\",processplugin:\"30X\",processpluginparameter:\"3PX\",processtimequeue:\"0PQ\",processtransition:\"04c\",processtransitionaction:\"0DC\",processtransitionapprover:\"0A4\",processtransitioncondition:\"04d\",processtransitionsecurity:\"0ts\",processtypedefinition:\"0Sl\",processworkitemproperties:\"04f\",proddbhammerflaggedrequest:\"0Uf\",proddbhammerrequest:\"0TH\",producer:\"0Yx\",producercommission:\"0kA\",producerpolicyassignment:\"0e9\",product:\"00j\",product2:\"01t\",product2criteriasharingrule:\"3pc\",product2ownersharingrule:\"3po\",product2share:\"0SY\",product2sharingrulefilteritem:\"3pf\",productattribute:\"0iU\",productattributedefinition:\"0v7\",productattributeinfo:\"0iV\",productattributeset:\"0iY\",productattributesetitem:\"0iX\",productattributesetproduct:\"0iZ\",productavailabilityprojection:\"0fn\",productcatalog:\"0ZS\",productcatalogsnapshot:\"1zs\",productcategory:\"0ZG\",productcategoryattribute:\"0v4\",productcategorymedia:\"0Oq\",productcategoryproduct:\"0ZR\",productcategoryserviceprocess:\"0zV\",productcategorysnapshot:\"6vR\",productcomponentgroup:\"0y7\",productconfigwithpsmmetrics:\"2YK\",productconsumed:\"0Gv\",productconsumedstate:\"0pY\",productconsumptionschedule:\"0Mq\",productcoverage:\"0YJ\",productcoveragelimit:\"0YH\",productemissionsfactor:\"0vl\",productentitlementtemplate:\"0E9\",productfamilyusage:\"0yw\",productfaultcode:\"10h\",productfulfillmentlocation:\"0fK\",productinterface:\"0bE\",productitem:\"0Co\",productitemtransaction:\"0TR\",productlaborcode:\"11V\",productlicensemap:\"1Lm\",productlicenseupdateevent:\"0tw\",productmedia:\"2pm\",productoverridepathitem:\"0y5\",productpropertyinfo:\"0ik\",productquantityrule:\"0lL\",productreadinessscoredetail:\"7Ws\",productrelatedcomponent:\"0dS\",productrelatedmaterial:\"0sC\",productrelatedserviceprocess:\"0zU\",productrelationshiptype:\"0yo\",productrelcomponentoverride:\"0y4\",productrequest:\"0TS\",productrequestlineitem:\"0Tw\",productrequired:\"0Gn\",productscore:\"6qQ\",productsellingmodel:\"0jP\",productsellingmodeloption:\"0iO\",productservicecampaign:\"0iR\",productservicecampaignitem:\"23N\",productservicecampaignitemstatus:\"N/A\",productservicecampaignstatus:\"N/A\",productspecificationtype:\"7zi\",producttaxpolicy:\"0uv\",producttransfer:\"0Lu\",producttransferstate:\"0nw\",productwarrantyterm:\"5Uj\",profile:\"00e\",profileactionoverride:\"06k\",profileapexclssecurity:\"N/A\",profilecalllogquickaction:\"0ez\",profileclientsettings:\"0e1\",profileiprestrictionmetrics:\"3J5\",profilelayout:\"01G\",profilemanifestentry:\"0Ty\",profilemobileconfig:\"N/A\",profilepasswordpolicy:\"0HV\",profileportaldelegate:\"0AB\",profilerecordtype:\"014\",profilesearchcustomization:\"8cW\",profilesessionsetting:\"0HU\",profileskill:\"0Sk\",profileskillendorsement:\"0SE\",profileskilluser:\"0SM\",profiletabsetconfiguration:\"0Hc\",program:\"11W\",programenrollment:\"11X\",programproduct:\"11m\",programrebatetype:\"0hv\",programrebatetypebenefit:\"0hu\",programrebatetypefilter:\"0z9\",programrebatetypepayout:\"0jA\",programrebatetypeproduct:\"0qC\",programrebatetypereference:\"0nI\",programrebatetyppayoutsrc:\"0jB\",programtermapplntimeline:\"10L\",project:\"N/A\",promotion:\"0c8\",promotionchannel:\"0cB\",promotionloyaltyptnrprodt:\"0lf\",promotionmarketsegment:\"5CF\",promotionproduct:\"0cA\",promotionproductcategory:\"0c9\",promotionqualifier:\"0kU\",promotionsegment:\"0kw\",promotionsegmentbuyergroup:\"0kq\",promotionsegmentsalesstore:\"0kp\",promotiontarget:\"2Pt\",promotiontier:\"0zG\",prompt:\"0bs\",promptaction:\"0bu\",prompterror:\"4Dr\",promptversion:\"0bt\",proposedeventresponse:\"113\",proposedeventtime:\"112\",proposition:\"N/A\",prorationpolicy:\"0mu\",prospectorrecmodel:\"0GP\",providernetworkcontract:\"0mw\",providernetworktier:\"0nu\",providersearchsynclog:\"0hT\",provisioningrun:\"1PR\",provisioningrunevent:\"1PE\",provisioningtargetgroup:\"0vG\",provisioningtargetitem:\"0vH\",provisioningtargetrole:\"3AI\",publicapplicationparticipant:\"1ap\",publiccomplaint:\"0fh\",publickeycertificate:\"3kc\",publickeycertificateset:\"3cs\",publickeycertificatesetkey:\"3ck\",publicprogram:\"0n0\",publicsolution:\"N/A\",publishableentity:\"6DL\",publisher:\"4pb\",publishstatusdetail:\"0hD\",publishstatusevent:\"0hH\",purchasequantityrule:\"0lK\",purchaserplan:\"0Sb\",purchaserplanassn:\"0SK\",pushbackdefinition:\"0Ps\",pushintent:\"0Ij\",pushnotification:\"0IH\",pushprofilemapping:\"0Ii\",pushrelevancecatalog:\"0IP\",pushtopic:\"0IF\",pushupgradeexcludedorg:\"0PX\",pushupgradejob:\"0DX\",pushupgradejoberror:\"0DY\",pushupgraderequest:\"0DV\",pvcycnsldbuckattrcriteria:\"1qc\",pvcycnsldbucketobjcriteria:\"1qb\",pvcycnsldupdateobjmapping:\"1qq\",pvcycnsldupdtattrmapping:\"1qa\",pvcyconsolidationdimvalue:\"2qg\",pymtschddistributionmethod:\"0xT\",qmosdeltaflushprio:\"N/A\",qmosentity:\"N/A\",qmosentitydefinition:\"0Su\",qmosentityiddeltastat:\"N/A\",qmosentityiddeltatab:\"N/A\",qmosincolmap1:\"0Wb\",qmosmatcol1:\"0Ti\",qmosmatentitymeta:\"0Wa\",qmosquery1:\"0Tc\",qmosquerycol1:\"0Te\",qmosquerystatus:\"0Sz\",qmosselcol1:\"0U6\",qoptimizerlimitoverride:\"0FX\",qoptimizeroption:\"09j\",qpidbroker:\"0Im\",qpidflooder:\"0NJ\",quantityforecast:\"021\",quantityforecasthistory:\"04X\",queryset:\"064\",querysetitem:\"065\",question:\"906\",questionreportabuse:\"911\",questionsubscription:\"910\",queue:\"00G\",queuemember:\"011\",queueroutingconfig:\"0K9\",queueroutingconfigskill:\"0fk\",queuesobject:\"03g\",quickactiondefinition:\"09D\",quickactionlist:\"09J\",quickactionlistitem:\"09I\",quickactionmetrics:\"3MO\",quickresponsecodemetric:\"0vs\",quicktext:\"574\",quicktextfolder:\"0Uo\",quicktextusage:\"5QL\",quote:\"0Q0\",quoteadjustmentgroup:\"9pk\",quotedocument:\"0QD\",quoteitemtaxitem:\"6hF\",quotelineitem:\"0QL\",quotelineitemattribute:\"0zu\",quotelineitemgroupclass:\"0rP\",quotelinepriceadjustment:\"5mb\",quotelinerelationship:\"0yQ\",quotemetrics:\"0jn\",quotetemplaterichtextdata:\"0QR\",quotetoordercompletedevent:\"0pp\",quotetoordererrdtlevent:\"0pq\",ratelimitcount:\"N/A\",ratelimitingnotification:\"076\",ratelimitintbuckets:\"0Yq\",ratelimitsnapshot:\"N/A\",rawemail:\"0Io\",readonlyappserver:\"0HQ\",readonlyauthsession:\"0Et\",readonlyclientbrowser:\"0Jp\",readonlyloginhistory:\"0Ez\",readonlyloginip:\"0Jl\",readonlyloginipemail:\"0Jm\",readonlyloginmessage:\"0HF\",readonlymemcachedserver:\"0En\",readonlyoauthtoken:\"0Ja\",readonlyoauthtokenscope:\"0Jb\",readonlyredisserver:\"0Ey\",readonlysecuritytoken:\"0Jk\",readonlyuserlogin:\"0Ep\",realtimealertevent:\"0re\",rebateclaim:\"0ru\",rebatememberaggregateitem:\"0rn\",rebatememberproductaggregate:\"0zx\",rebatepayment:\"0iD\",rebatepayoutadjustment:\"0i2\",rebateprogram:\"0i8\",rebateprogrammember:\"0i9\",rebateprogrammemberpayout:\"0i6\",rebateprogrampayoutperiod:\"0i7\",rebateusagemetric:\"0lW\",recalccampaignstats:\"0LD\",receiveddocument:\"0io\",receiveddocumenttype:\"0s0\",recentengagementactivity:\"0Pw\",recentfieldchange:\"0l4\",recentlyviewed:\"N/A\",recentreplies:\"N/A\",recipefiscalconfiguration:\"7y8\",recipemgractivationevent:\"0uN\",recommendation:\"0pr\",recommendationaudience:\"02J\",recommendationblacklist:\"N/A\",recommendationdefinition:\"0RD\",recommendationdefreference:\"0jV\",recommendationfeedback:\"0oU\",recommendationmetric:\"0Iw\",recommendationreaction:\"0ps\",recommendationresponse:\"0rr\",recommendationsimilarity:\"N/A\",recommendationstrategy:\"0sg\",recommendationstrategynode:\"0sn\",recommendationuseractivity:\"N/A\",recommendedaction:\"0Ra\",recommendedskinnytable:\"0iu\",recommendedskinnytablefield:\"0iw\",recommendedvalue:\"0RV\",recordaction:\"0Rw\",recordactiondefaultitem:\"0Wi\",recordactiondeployment:\"0Wg\",recordactiondeploymentchannel:\"0Wx\",recordactiondeploymentcontext:\"0bR\",recordactionhistory:\"0Ub\",recordactionrecommendation:\"0bQ\",recordactionselectableitem:\"0Wh\",recordalert:\"0qZ\",recordalertcategory:\"0qX\",recordalertdatasource:\"0rN\",recordalerttemplate:\"2qZ\",recordassocexecerrorevent:\"0uX\",recordchatroom:\"0RK\",recordcluster:\"0Gb\",recordclustermember:\"0GZ\",recorddisplaylookup:\"0KW\",recordmergehistory:\"0dn\",recordorigin:\"0JP\",recordparticipant:\"9ci\",recordparticipantparent:\"9cj\",recordparticipantrole:\"9cl\",recordrecommendation:\"0RR\",recordsalt:\"0HC\",recordsetfiltercriteria:\"0hr\",recordsetfiltercriteriarule:\"0hK\",recordsetfltrcritmonitor:\"0yH\",recordtype:\"012\",recordtypepicklist:\"013\",recorduseraccessinterface:\"0Qj\",recordvisibility:\"N/A\",recoverycopyjob:\"0gR\",recoveryflashback:\"0gS\",recurrenceschedule:\"0v9\",redirectwhitelisturl:\"9V6\",redisserver:\"913\",referenceddashboard:\"6nD\",referenceddashboardfile:\"0vJ\",referral:\"0wi\",refmodelinstalled:\"18J\",refrigerantemssnfctr:\"0qL\",refund:\"0cb\",refundlinepayment:\"0dR\",regauthorizationtypeproduct:\"0y9\",regiontoserversmap:\"0K1\",registeredexternalservice:\"1uu\",registeredmobiledevice:\"0Ip\",regulatoryauthapplication:\"0f4\",regulatoryauthority:\"19p\",regulatoryauthorizationtype:\"0eh\",regulatorycode:\"0fC\",regulatorycodeassessmentind:\"0fM\",regulatorycodeuse:\"0po\",regulatorycodeviolation:\"0fv\",regulatorytrxnfee:\"0kx\",regulatorytrxnfeeitem:\"0ky\",reinsagreementlineitem:\"0x0\",reinsclaimbordereauitem:\"0x1\",reinspolicybordereaufact:\"0x2\",reinsprotocolprodtcomponent:\"0w7\",reinsuranceagreement:\"0ws\",reinsuranceprotocol:\"0w3\",reinsuranceprotocolagreement:\"0w2\",relatedentity:\"0GW\",relatedlistcolumndefinition:\"0rc\",relatedlistdefinition:\"0rl\",relatedobjectpartysrchdef:\"4Ad\",relatedrecordassoccriteria:\"0nE\",relationshipdomain:\"0Jv\",relationshipgraphdefinition:\"06J\",relationshipgraphdefversion:\"06S\",relationshipgrphdefextlref:\"06X\",relationshipinfo:\"0Ju\",releasedapexclassrel:\"0OK\",releasedapexidentifier:\"0Lh\",releasedapexidentifieroption:\"0Ln\",releasedentitystate:\"0MU\",releasejobtaskdefinition:\"0yN\",releasejobtaskresult:\"0yV\",releaseupdate:\"1RU\",releaseupdatemetrics:\"1RM\",releaseupdatestep:\"1RS\",releaseupdatesteplog:\"1RL\",reminder:\"N/A\",remotekeycalloutevent:\"0VA\",remotekeysourcesettings:\"9Yt\",remoteproxy:\"0rp\",remotetenantsecretsetting:\"0SX\",renderer:\"0EB\",rentalcaremssnfctr:\"0pV\",rentalcarenrgyuse:\"0pX\",replicationchunk:\"0IR\",replicationrecorddeletion:\"N/A\",reply:\"907\",replyairecommendation:\"0b5\",replyrecmonthlymetrics:\"0o7\",replyreportabuse:\"912\",replytext:\"8My\",report:\"00O\",reportaggregate:\"02y\",reportanomalyevent:\"0Yv\",reportanomalyeventstore:\"0Z7\",reportblock:\"0F3\",reportblockaggregate:\"0HI\",reportbreak:\"039\",reportbucketfield:\"0G8\",reportbucketfieldsourcevalue:\"0GE\",reportbucketfieldvalue:\"0GD\",reportchart:\"0EG\",reportcolorrange:\"02z\",reportcolumn:\"037\",reportcustomdetailfield:\"0NF\",reportedconsumption:\"0sk\",reportevent:\"0Qu\",reporteventlog:\"0tK\",reporteventstream:\"0Ol\",reportfilteritem:\"038\",reportfolder:\"0JQ\",reportformattingrule:\"0Y7\",reportformattingrulevalue:\"0Y8\",reportingtypeconfig:\"8DA\",reportinstance:\"0LG\",reportinstanceaggregate:\"8JA\",reportinstancecsvresult:\"0SV\",reportinstancequery:\"0KZ\",reportjob:\"0A0\",reportjobfieldmap:\"0A1\",reportjobrun:\"0A8\",reportjobrunerror:\"0A9\",reportobjectfilteritem:\"0I9\",reportparam:\"040\",reportresultblob:\"0rB\",reportruntracker:\"0FP\",reputationlevel:\"0NU\",reputationpointsrule:\"0NV\",requestsforaccesssiq:\"0Gh\",requestthrottle:\"0C3\",requesttrace:\"0EF\",residentialloanapplication:\"0cd\",resourceabsence:\"0Hw\",resourcepreference:\"0Kz\",restapieventlog:\"0tL\",restrictionrule:\"0eY\",resumeprocesscookies:\"N/A\",retaillocationgroup:\"0Y2\",retailstore:\"0YQ\",retailstoregroupassignment:\"0m7\",retailstorekpi:\"0Z6\",retailvisitkpi:\"0Z3\",retentionpolicy:\"1RP\",returnorder:\"2oN\",returnorderitemadjustment:\"7FH\",returnorderitemtax:\"9Jj\",returnorderlineitem:\"0Sn\",revdailyorderusagemetric:\"9YD\",revenueasyncoperation:\"95T\",revenuedistributionmethod:\"44K\",revenueelement:\"8D3\",revenueelementdistribution:\"8D4\",revenueforecast:\"027\",revenueforecasthistory:\"04W\",revenuerecognitionpolicy:\"86b\",revenuerecognitiontreatment:\"0nq\",revenuerecogtreatmentitem:\"77F\",revenuetransactionerrorlog:\"0nY\",revokedevice:\"0QB\",revrecogtreatmentitemgroup:\"9Ta\",richtextareafielddata:\"0ER\",rightsquote:\"0zt\",rightsquotelineitem:\"0zr\",rightsquotelinemediatitle:\"0zv\",rrassoccriteriametrics:\"0pW\",rule:\"1nW\",ruleenginemetric:\"0xC\",rulefilter:\"01R\",rulefilteraction:\"01T\",rulefilteritem:\"01S\",ruleknowledgebase:\"1Qo\",ruleterritory2association:\"0N4\",rypplebadge:\"0rb\",s2xadminerror:\"0NK\",s2xcontactmap:\"0GT\",s2xeventmap:\"0GS\",s2xeventrecordmap:\"825\",s2xeventtxnprops:\"0Gm\",s2xexchoauthcredential:\"0EZ\",s2xgoogleserviceaccount:\"7tg\",s2xpushsubscription:\"0S2\",s2xrecordmap:\"820\",s2xsandmanerror:\"0Gw\",s2xserviceaccount:\"823\",s2xtransaction:\"817\",s2xtransactionlock:\"824\",s2xusermap:\"822\",safetypassmetric:\"0vt\",salesagreement:\"0YA\",salesagreementproduct:\"0YB\",salesagreementproductschedule:\"0YC\",salesagreementsettings:\"0YU\",salesagreementstatus:\"N/A\",salesaipreviousscore:\"66Z\",salesaiscorecycle:\"7D5\",salesaiscoremodelfactor:\"1tF\",salesalert:\"1ad\",salesalertbulkupdateevent:\"0wL\",salesalertchangefieldevent:\"0iI\",salesalertevent:\"1ae\",salesalertstreamevent:\"0iG\",saleschannel:\"0bI\",salescontractline:\"0sL\",salescontractlineitem:\"0rk\",salesengagement:\"1a7\",salesengagementmetricevent:\"0iH\",salesengagementmutateevent:\"0tT\",salesengagementpoc:\"0W6\",salesengmtdailymetricevent:\"0n9\",salesforcecontract:\"0xF\",salesforcecustomeraccount:\"0mv\",salesforcecustomercase:\"7C3\",salesforcecustomercontact:\"0q4\",salesforcecustomerproduct:\"0q3\",salesforceinvoice:\"1In\",salesforceiqdatasource:\"0XS\",salesforceiqinboxorg:\"0X4\",salesforceiqinboxuser:\"0X3\",salesforceiqorgblacklist:\"0XX\",salesforceiqsyncfailure:\"0X0\",salesforceiquser:\"0XR\",salesforcequote:\"0xf\",salesorganization:\"N/A\",salesstore:\"0aH\",salesstorecatalog:\"0ak\",salestargetadjustment:\"91R\",salestargetplan:\"8Hw\",salestargetplanevent:\"1mP\",salestargetplanitem:\"3Cy\",salestargetsubdistribution:\"4Gz\",salestransaction:\"0dA\",salestransactionitem:\"0dB\",salestransactionitemshape:\"10N\",salestransactionshape:\"10M\",salestrxnitemrelationshape:\"10Q\",salestrxnitemrelationship:\"0dI\",salesuserworkinghours:\"4kp\",salesworkqueuesettings:\"0mV\",samlsettings:\"N/A\",samlssoconfig:\"0LE\",sampledentity:\"0K6\",samplingstrategy:\"0K4\",sandbox:\"07E\",sandboxdimensionmetrics:\"3NT\",sandboxhistory:\"0Yk\",sandboxinfo:\"0GQ\",sandboxobserver:\"0M9\",sandboxobserver2:\"0Ma\",sandboxorgdimensionmetrics:\"3NS\",sandboxprocess:\"0GR\",sandboxrelayobserver:\"0Oj\",sandombulkexport:\"0Qp\",sandomexportedblob:\"0RH\",sandomimportinfo:\"0Ht\",sandomimportinfodetail:\"0Hp\",sandominfo:\"0Ha\",sandominfodetail:\"0Hq\",sandomobserver:\"04E\",sandstormallowlist:\"0Hg\",sbsbackupstorageclass:\"5BK\",sbsbucket:\"5BB\",sbsdrstorageclass:\"5BD\",sbsmultipart:\"5BM\",sbsobject:\"5BO\",sbsprimarystorageclass:\"5BP\",scheduledrecommendation:\"0sr\",schedulingadherencedetail:\"0rH\",schedulingadherencesummary:\"0rG\",schedulingconstraint:\"0hA\",schedulingobjective:\"0no\",schedulingobjectiveparameter:\"0np\",schedulingpolicy:\"2np\",schedulingpolicyobjective:\"2nq\",schedulingpolicyrule:\"2nr\",schedulingrule:\"0Md\",schedulingruleparameter:\"0hm\",schema:\"2sd\",schemabuilderlayout:\"0GH\",schemabuilderlayoutitem:\"0GI\",schemadefinition:\"2sl\",schemapartitiondefinition:\"N/A\",schemapartitionmapping:\"N/A\",scontrol:\"01N\",scontrollocalization:\"01j\",scope3crbnftprnt:\"0pa\",scope3emssnsrc:\"0pc\",scope3pcmtitem:\"0pd\",scope3pcmtsummary:\"0pe\",scorecard:\"01f\",scorecardassociation:\"0Qn\",scorecardmetric:\"0Om\",scorecategory:\"0gz\",scorecategorycalcinsight:\"0sB\",scoreintelligence:\"0Gq\",scorerange:\"0sx\",scorerangeclassification:\"0hj\",scratchorginfo:\"2SR\",scrutinypkchunkdata:\"0Il\",scrutinyrun:\"0HT\",scsinboundsettings:\"0Jq\",scstermsofservice:\"0Gu\",scvconnectmetrics:\"3bv\",scvlexmetrics:\"3bw\",scvusageandcostmetrics:\"3bx\",sdentityrefresh:\"0HH\",sdviewtabset:\"0GF\",searchablefield:\"6y4\",searchactivity:\"0JO\",searchaudittrail:\"N/A\",searchcustomization:\"1Fy\",searchfieldcustomization:\"1q3\",searchindexdata:\"07C\",searchindexpartition:\"0FV\",searchlayout:\"4co\",searchnamelookup:\"N/A\",searchobjectcustomization:\"3Vv\",searchpromotionrule:\"0MD\",searchquerysuggestion:\"0NM\",searchschemaoverride:\"0wy\",searchscore:\"N/A\",searchscoredelta:\"N/A\",searchstoragespace:\"0FZ\",searchsuspendedindex:\"0GG\",searchtermhistory:\"0RW\",secondarymessagestore:\"0NA\",securitiesholding:\"0eX\",securitycustombaseline:\"09v\",securitydescriptor:\"0N6\",securitydescriptorassignment:\"0N8\",securitydescriptormember:\"0N7\",securityhealthcheck:\"0Gi\",securityhealthcheckrisks:\"0KO\",securityhealthchecktracking:\"6T4\",securityhealthchecktrend:\"41y\",securitymonitormetrictrend:\"0zi\",securityorgrelationship:\"1or\",securitytoken:\"0F4\",segmentspace:\"5Sp\",segmentspacechunk:\"6SS\",selectableemailaddressview:\"7Fk\",selfserviceuser:\"035\",seller:\"0q6\",sendemailactiondefinition:\"0ZQ\",senderfromdefinition:\"8ba\",serializedproduct:\"0jR\",serializedproducttransaction:\"0jM\",serverstats:\"0Yl\",service:\"4sr\",serviceaisettings:\"0wA\",serviceaisetupdefinition:\"4hQ\",serviceaisetupfield:\"4hC\",serviceaistate:\"0dT\",serviceappointment:\"08p\",serviceappointmentcapacityusage:\"0VR\",serviceappointmentgroup:\"0yS\",serviceappointmentstatus:\"N/A\",servicechannel:\"0N9\",servicechannelfieldpriority:\"0dV\",servicechannelstatus:\"0NC\",servicechannelstatusfield:\"0aP\",servicecontract:\"810\",servicecontractmetric:\"0u6\",servicecrew:\"1cr\",servicecrewmember:\"1cm\",servicedatatype:\"4st\",servicedeskattributes:\"06O\",servicedeskcomponent:\"0Ih\",servicedeskcustomstyling:\"0JL\",servicedeskhotkey:\"0J8\",servicefielddatatype:\"4ft\",servicejourneystep:\"9gf\",servicepresencestatus:\"0N5\",servicepresencestatusinfo:\"06n\",serviceprocessattribute:\"5hp\",serviceprocessdefinition:\"0wa\",serviceprovider:\"0sp\",serviceproviderevent:\"0q9\",servicereport:\"1SR\",servicereportlayout:\"0SL\",serviceresource:\"0Hn\",serviceresourcecapacity:\"0Hy\",serviceresourcepreference:\"0l6\",serviceresourceskill:\"0Hv\",servicesetupprovisioning:\"9gd\",serviceterritory:\"0Hh\",serviceterritorylocation:\"1Sl\",serviceterritorymember:\"0Hu\",serviceterritoryrelationship:\"0v0\",serviceterritoryworktype:\"0VE\",serviceversion:\"4sv\",sessionhijackingevent:\"0Zh\",sessionhijackingeventstore:\"0Zj\",sessionlevelpolicy:\"0ME\",sessionpermsetactivation:\"5Pa\",settingusagedefinition:\"0UD\",settingusagemap:\"1SM\",setupapp:\"0Kv\",setupassistantanswer:\"0LO\",setupassistantprogress:\"0C8\",setupassistantstep:\"3Ys\",setupassttruntimest:\"0mn\",setupaudittrail:\"0Ym\",setupentityaccess:\"0J0\",setupentitydatatemplate:\"N/A\",setupflowprogress:\"0T0\",setupnode:\"0JW\",sfdcauditableaction:\"0Ca\",sfdcauditableactionresult:\"0Cb\",sfdcauditableexectracker:\"0gt\",sfdcbackupsubscriberinfo:\"35k\",sfdcdivision:\"208\",sfdcoutboundmessage:\"052\",sfdcpartner:\"204\",sfdcstat:\"N/A\",sfdctoolbackuparchive:\"4xL\",sfdctoolbackupdata:\"89k\",sfdctoolbackupstatetracker:\"2QU\",sfomatchhistoryitem:\"6BA\",shaperepresentation:\"3SR\",sharechange:\"N/A\",sharedpicklistdefinition:\"0Nt\",sharedsavingpaymentagreement:\"0ql\",shareinterface:\"0QU\",sharemodification:\"N/A\",sharingaccchildmetric:\"818\",sharingcalculationstate:\"N/A\",sharingcoveragejob:\"0ZD\",sharingmetrics:\"3MG\",sharingoperation:\"0HS\",sharingorgdefaultmetrics:\"0d4\",sharingorgstandardmetrics:\"0e5\",sharingportalmetrics:\"3Mi\",sharingrecordcollection:\"0iB\",sharingrecordcollectionitem:\"0iC\",sharingrecordcollectionmember:\"0iE\",sharingrecordcollectiontype:\"0iF\",sharingrowcausemetrics:\"3MF\",sharingrulesmetrics:\"8xI\",sharingset:\"0H2\",sharingsnapshot:\"0f1\",sharingusercoverage:\"0ZB\",sharingusermetrics:\"3MV\",shift:\"0a0\",shiftengagementchannel:\"0xK\",shiftpattern:\"1w1\",shiftpatternentry:\"1w2\",shiftschedulingoperation:\"0BB\",shiftsegment:\"0tv\",shiftsegmenttype:\"0t1\",shiftstatus:\"N/A\",shifttemplate:\"0iJ\",shiftworktopic:\"0xH\",shipment:\"0OB\",shipmentitem:\"0ob\",sidebarcomponentlayout:\"0Bo\",signaturetask:\"7Oh\",signaturetasklineitem:\"6st\",signuprequest:\"0SR\",singleorgviewdifference:\"0Y4\",singleorgviewsnapshot:\"0Xg\",siqcustominsight:\"0Xi\",siqexchangeconnection:\"0PW\",siqexchangesetting:\"0XZ\",siqexcludemljob:\"0XM\",siqinsightaction:\"0WZ\",siqpurgeemailaddressjob:\"0XW\",siqpurgeuseremailsjob:\"0XV\",siqrecconnection:\"0Xz\",siquserblacklist:\"0XY\",site:\"0DM\",siteasset:\"0I2\",sitechangelist:\"0CL\",sitechangelistcomponent:\"0CC\",sitecomponent:\"0I3\",sitedetail:\"0GV\",sitedomain:\"0I4\",siteiframewhitelisturl:\"0Xs\",sitemapcontent:\"0sF\",sitemarketingdataextensionmapping:\"8Cm\",sitepageoverride:\"0DN\",sitepub:\"0DM\",sitepubasset:\"0I2\",sitepubcomponent:\"0I3\",sitepubdomain:\"0I4\",sitepubdomainsite:\"0Jf\",siteredirectmapping:\"0H0\",siteuserviewmode:\"0xZ\",skewer:\"0G0\",skill:\"0C5\",skill2:\"5SK\",skillleveldefinition:\"0kI\",skilllevellearningcontent:\"0kO\",skilllevelprogress:\"0kK\",skillprofile:\"0CA\",skillrequirement:\"0Hx\",skillslibrary:\"7WK\",skilluser:\"0C9\",skinnyindex:\"0Js\",skinnyindexcolumn:\"0Jt\",skinnyrecommendationrequest:\"0Eh\",skinnytable:\"06s\",skinnytableext:\"0Gz\",skinnytablefield:\"06t\",skinnyvalidationresult:\"0Em\",skuproductupdateevent:\"2SU\",slackapp:\"6qY\",slackappauthorization:\"4Si\",slackappconversationevent:\"10A\",slackapplicationobject:\"8dF\",slackcontext:\"9tC\",slackfeatureextlconfig:\"1Ba\",slackfeaturesettings:\"0yX\",slackrecordlayout:\"6ra\",slackrecordlayoutaction:\"6rb\",slackrecordlayoutassignment:\"6rd\",slackrecordlayoutitem:\"6rc\",slackuser:\"9tT\",slaprocess:\"552\",slaprocessfilter:\"554\",slaprocessfilteritem:\"556\",slaprocesspushrule:\"563\",smartanswerslametric:\"0Rc\",smartsearch:\"N/A\",snippet:\"2sn\",snippetassignment:\"2sa\",soapapieventlog:\"0tN\",socialcontributionsum:\"10W\",socialhandle:\"0SH\",socialkeyentityerrorlog:\"0LI\",socialkeyjoblog:\"0LH\",socialkeyparentrecord:\"0M3\",socialkeypersonarecord:\"0M4\",socialpersona:\"0SP\",socialpersonafieldbackup:\"69j\",socialpost:\"0ST\",socialpostfieldbackup:\"5GG\",socialuserauth:\"0M1\",softdeletedstat:\"0FC\",softlimitsapiusagemetrics:\"7EL\",softphonelayout:\"04n\",softphonelayoutcalltype:\"04r\",softphonelayoutinfofield:\"04q\",softphonelayoutitem:\"04p\",softphonelayoutsection:\"04o\",softphonescreenpopoption:\"0F8\",softwareproduct:\"7iv\",solrcorerelocation:\"0FY\",solrcoresplit:\"0FW\",solution:\"501\",solutionstatus:\"N/A\",sosdeployment:\"0NW\",sossession:\"0NX\",sossessionactivity:\"0NZ\",sourcechangenotification:\"0Xv\",sourcemember:\"0MZ\",sourcememberdeployrequest:\"0tY\",sourcemetadatamember:\"0Gg\",sourceobjectattributes:\"0fP\",split:\"0Ap\",splitaction:\"0Ar\",splitactionresult:\"0As\",splitframeworkresult:\"0Iy\",splitmapping:\"0Am\",splitorganization:\"N/A\",splitpod:\"0Ao\",spsamlattributes:\"0J4\",sqlidtorequestmap:\"0KG\",sqlinfopfes:\"9zz\",sqlscriptrequest:\"0Ta\",sqlscriptresult:\"0Tb\",srcpredjobstatuschgevent:\"0xp\",ssousermapping:\"0UM\",stamp:\"1ST\",stampassignment:\"1SA\",standardaction:\"0Jy\",standardanalyticsdatatemplate:\"N/A\",standardcarefeeagreement:\"0rt\",standardentitydatatemplate:\"N/A\",standardmetricsdatatemplate:\"N/A\",standardpermissionset:\"0L8\",standardreporttype:\"0NL\",standardvalueset:\"0KY\",staticresource:\"081\",statsentitycount:\"0K5\",statustransition:\"0Ok\",stnryassetannualfact:\"0vW\",stnryassetcrbnftprnt:\"0pf\",stnryassetcrbnftprntitm:\"0pg\",stnryassetenrgyuse:\"7LK\",stnryassetenvrsrc:\"0ph\",stnryassetenvsrccnfg:\"0st\",stnryassetwateractvty:\"0vP\",stnryassetwaterftprnt:\"0vR\",stnryassetwtrftprntitm:\"0vQ\",storageconfigaudittrail:\"0K7\",storeactionplantemplate:\"0lb\",storeassortment:\"0tM\",storeintegratedservice:\"1ff\",storeproduct:\"0bU\",strategycontext:\"0cx\",strategycontextargument:\"0xt\",strategyexecutionevent:\"0sE\",strategymonthlystats:\"9jr\",streamactivityaccess:\"0XT\",streamemail:\"0X1\",streamevent:\"0X2\",streamingappdataconnector:\"0ja\",streamingchannel:\"0M6\",streamingeventfanout:\"0M8\",streamingpayload:\"0M7\",subinteraction:\"31A\",subinteractionvariableassignment:\"31C\",subledgerusagemetric:\"0vr\",subscriberpackage:\"033\",subscriberpackageversion:\"04t\",subscriberpackageversioninstallrequest:\"03b\",subscriberpackageversionuninstallrequest:\"06y\",subscribertabsetmember:\"0OE\",subscriptionreplaylog:\"0MC\",successteam:\"0uy\",summarylayout:\"0EH\",summarylayoutitem:\"0EI\",summarylayoutsliceinfo:\"0EJ\",supervisoragentconfigskill:\"0Ie\",supplier:\"0eM\",supplierproduct:\"0wG\",supportorganization:\"N/A\",supportorgwidemetrics:\"4NB\",survey:\"0Kd\",surveyemailbranding:\"0Ka\",surveyengagementcontext:\"0iK\",surveyinvitation:\"0Ki\",surveymessagingchannel:\"0ms\",surveypage:\"0Ke\",surveyquestion:\"0Ku\",surveyquestionchoice:\"0Kc\",surveyquestionresponse:\"0Kr\",surveyquestionscore:\"0Zg\",surveyresponse:\"0My\",surveyresponseusagemetrics:\"0cS\",surveysubject:\"0Vk\",surveyversion:\"0Ks\",surveyversionaddlinfo:\"0iA\",suspendedqueueorg:\"N/A\",sustainabilitycredit:\"0us\",sustainabilitypurchase:\"0wd\",sustainabilityscorecard:\"0rq\",sustainabilityuom:\"0wV\",sustnrefdatatracking:\"0ux\",sustnuomconversion:\"0wY\",svcapptschdevent:\"1eq\",svccatalogcategory:\"5rD\",svccatalogcategoryitem:\"8cd\",svccatalogfulfillflowitem:\"5JB\",svccatalogfulfillmentflow:\"3VT\",svccatalogitemattrdetail:\"6ln\",svccatalogitemattribute:\"7Fj\",svccatalogitemdef:\"0j2\",svccatalogitemdependency:\"0zH\",svccatalogitemversion:\"4YU\",svccatalogreqextdattrval:\"0xN\",svccatalogreqrelateditem:\"9kS\",svccatalogrequest:\"946\",svccatalogsystemdef:\"1WH\",swarm:\"0sW\",swarmmember:\"0sR\",syncconfigemailrouting:\"N/A\",syncfileversion:\"N/A\",synctransactionlog:\"0Kb\",synonym:\"0DE\",synonymdictionary:\"0MF\",synonymgroup:\"0DD\",synonymgrouplocale:\"N/A\",systemstreamingchannel:\"0MJ\",tabapprestriction:\"0YV\",tabdefinition:\"0KD\",tableauworkbook:\"3iA\",tabset:\"02u\",tabsetmember:\"02v\",tagcategory:\"0qR\",tagcategoryassignment:\"0qT\",tagdefinition:\"0t0\",task:\"00T\",taskassociationitem:\"6AD\",taskgroup:\"0tG\",tasklabel:\"0vm\",tasklabelrelation:\"0vn\",taskpriority:\"N/A\",taskrecurrenceexception:\"10y\",taskrelation:\"0RT\",taskstatus:\"N/A\",taskwhorelation:\"N/A\",taxcertificate:\"8z9\",taxdisclosuresummary:\"0zT\",taxengine:\"4wA\",taxengineinteractionlog:\"3l1\",taxengineprovider:\"6ny\",taxgeoconfig:\"0yt\",taxpolicy:\"1Tp\",taxrate:\"0xq\",taxtreatment:\"1tt\",templatedeployment:\"0Es\",templatedeploymentitem:\"0Eu\",tempstore:\"753\",tenant:\"1L2\",tenantaddonlicense:\"0L5\",tenanteditionlicense:\"0L4\",tenantlicensingrequest:\"0LC\",tenantparametermap:\"1Ln\",tenantplatformlicense:\"0L2\",tenantsecret:\"02G\",tenantsecretskeystore:\"7Vq\",tenantsecurityalertruleselectedtenant:\"3wq\",tenantsecurityapianomaly:\"8aa\",tenantsecuritycommand:\"7pM\",tenantsecuritycommandstatus:\"7pN\",tenantsecurityconnectedapp:\"4UI\",tenantsecuritycredentialstuffing:\"8cs\",tenantsecurityfeature:\"92r\",tenantsecurityhealthcheckbaselinetrend:\"2Em\",tenantsecurityhealthcheckdetail:\"4T9\",tenantsecurityhealthchecktrend:\"1qt\",tenantsecuritylogin:\"7Te\",tenantsecuritymetricdetail:\"8al\",tenantsecuritymetricdetaillink:\"9oc\",tenantsecuritymobilepolicytrend:\"8ih\",tenantsecuritymonitormetric:\"4a8\",tenantsecuritynotification:\"4ym\",tenantsecuritynotificationrule:\"2ZA\",tenantsecuritypackage:\"7T2\",tenantsecuritypolicy:\"7po\",tenantsecuritypolicychangelog:\"7pc\",tenantsecuritypolicydeployment:\"7pd\",tenantsecuritypolicyselectedtenant:\"7ps\",tenantsecurityreportanomaly:\"8ra\",tenantsecuritysessionhijacking:\"8sh\",tenantsecuritytenantchangelog:\"1wF\",tenantsecuritytenantinfo:\"2Y8\",tenantsecuritytransactionpolicytrend:\"2nd\",tenantsecuritytrustediprangetrend:\"8d6\",tenantsecurityuseractivity:\"4TN\",tenantsecurityuserperm:\"1Vh\",tenantsecuritywebsite:\"5vv\",tenantusageentitlement:\"0UT\",tenantuserlicense:\"0L3\",termdocumentfrequency:\"0Sv\",territory:\"04T\",territory2:\"0MI\",territory2alignmentlog:\"2UF\",territory2model:\"0MA\",territory2modelmetrics:\"3N3\",territory2objectexclusion:\"4xe\",territory2objsharingconfig:\"6PF\",territory2type:\"0M5\",territorymgmtobjectconfig:\"31B\",testsuitemembership:\"0Hd\",thirdpartyaccountlink:\"0Jr\",thirdpartyaccountlinklocal:\"09W\",threatdetectionfeedback:\"0hY\",thumbprint:\"0Ew\",timelineobjectdefinition:\"0sY\",timesheet:\"1ts\",timesheetentry:\"1te\",timesheettemplate:\"2wz\",timesheettemplateassignment:\"0a5\",timeslot:\"0Gj\",timestop:\"562\",todaygoal:\"0Jz\",tokenrotation:\"0hU\",tombstone:\"0GY\",topic:\"0TO\",topicassignment:\"0FT\",topiccomputestatus:\"0ta\",topicdatacategoryrule:\"0Rh\",topicgroupactivity:\"0tg\",topicindex:\"0TI\",topiclabel:\"0fQ\",topicnamechange:\"0tn\",topicontology:\"0TY\",topicrecordsetting:\"0tR\",topicsuggestionsetting:\"0tS\",topicterm:\"0Tt\",topicuseractivity:\"0tu\",topicuserevent:\"0te\",topinsight:\"0Gq\",toplevelsetupentitydatatemplate:\"N/A\",tosasynctenantcreatejobid:\"0ss\",totalfeedbackmetrics:\"8Gy\",totalpermissionsetlicensemetric:\"4e9\",traceflag:\"7tf\",trackedcommunication:\"108\",trackedcommunicationdetail:\"10B\",trackedlink:\"0P6\",training:\"00c\",trainingcourseparticipant:\"0hN\",transactionjournal:\"0lV\",transactionsecurityaction:\"0NQ\",transactionsecurityactionevent:\"0NR\",transactionsecurityeventinterface:\"0Qg\",transactionsecurityeventlog:\"0vC\",transactionsecuritypolicy:\"0NI\",transactionsecuritypolicymetrics:\"0em\",translation:\"01h\",translationimportdata:\"N/A\",translationimportexportjob:\"3TJ\",translationuser:\"01i\",travelmode:\"5pL\",trendingtopic:\"0tr\",trendintervallookup:\"N/A\",trialenvironmentsignup:\"0Zi\",trialmaster:\"0FQ\",trialtemplate:\"0TT\",trialtemplateversion:\"0TV\",trncourse:\"0i0\",trorgorganizationdetail:\"N/A\",trorgorgidrepo:\"N/A\",trorgpdjobtracker:\"N/A\",trorgpdtablespacetracker:\"N/A\",twofactorauthpairing:\"0Dq\",twofactorinfo:\"0HN\",twofactormethodsinfo:\"0Kg\",twofactormethodsinfolocal:\"0Kp\",twofactormetrics:\"3NV\",twofactortempcode:\"05g\",twofactoru2f:\"0O1\",twofactorwebauthn:\"0mo\",twofauseradoptionmetrics:\"0jS\",uhscategorysyncstate:\"0tp\",uicardactivation:\"3Ib\",uiformulacriterion:\"0Gp\",uiformularule:\"09t\",uiobjectrelationconfig:\"0dj\",uiobjectrelationfieldconfig:\"0eZ\",uiplugin:\"0R2\",uipluginpivot:\"0Nz\",uistyle:\"777\",uistyledefinition:\"766\",umdversion:\"0ZV\",umpmessagingservicetenant:\"0iL\",undecidedeventrelation:\"N/A\",unifiedactivity:\"1a3\",unifiedactivityevent:\"1a0\",unifiedactivityinsight:\"1aq\",unifiedactivitynoticeevent:\"0di\",unifiedactivityparticipant:\"1a2\",unifiedactivityrelation:\"1a1\",unifiedactivitysource:\"1a4\",unifiedactvtyinsightaction:\"1as\",unifiedactvtyinsightkeyword:\"1ar\",unifiedemail:\"1a6\",unifiedemailparticipant:\"1a8\",unifiedmeeting:\"1ab\",unifiedmeetingparticipant:\"1ac\",unifiednotificationevent:\"0mY\",unifiednotifydetailevent:\"0mX\",unifiedtask:\"1ag\",unifiedtaskparticipant:\"1ah\",unifiedvideocall:\"1ai\",unifiedvideocallparticipant:\"1aj\",unifiedvoicecall:\"1ak\",unifiedvoicecallparticipant:\"1al\",uninstallexport:\"082\",unitofmeasure:\"0hE\",unitofmeasureconversion:\"0mG\",unsubscribedlistemail:\"0hw\",upgradetasklog:\"N/A\",uriblockrule:\"807\",urievent:\"0Uw\",urieventlog:\"0ul\",urieventstream:\"0Ux\",usageaggregatebd:\"2GX\",usageaggregateud:\"3GX\",usageentitlement:\"0UE\",usageentitlementperiod:\"0UP\",usageentitlementusage:\"0UU\",usagefactor:\"0UY\",usageimpactfactor:\"45b\",usageimpactgroup:\"45a\",usageimpactgroupfactor:\"56t\",usageimpactgrouppgmmeasure:\"57t\",usageimpactgroupversion:\"55t\",usageinput:\"0UI\",usagesubkey:\"0UK\",user:\"005\",useraccesschange:\"3AC\",useraccesspolicy:\"3xE\",useraccesspolicyaction:\"3xG\",useraccesspolicyfilter:\"3xF\",useraccountteammember:\"01D\",useractivitytimelinefilter:\"0VB\",userappinfo:\"0Ds\",userappmenucustomization:\"0Nw\",userappmenuitem:\"07p\",userassistantsummary:\"4SS\",userauthcertificate:\"7uc\",userauthmapping:\"N/A\",usercomponentdata:\"02Y\",userconfigtransferbutton:\"0KB\",userconfigtransferskill:\"0KA\",usercriteria:\"0LV\",usercriteriagroup:\"0LW\",usercriteriasharingrule:\"0N1\",usercustombadge:\"0MQ\",usercustomization:\"N/A\",userdailymetric:\"0mP\",userdevice:\"0TE\",userdeviceapplication:\"0TF\",userdimmetrics:\"3MI\",useremailcalendarsync:\"0fm\",useremailpreferredperson:\"0UV\",userentityaccess:\"07u\",useresignvendoridentifier:\"0qv\",userexternalcredential:\"0pw\",userfavorite:\"0MV\",userfeedchannel:\"0Lf\",userfieldaccess:\"4fp\",userfilterpref:\"N/A\",userfinancialauthority:\"0qJ\",userlicense:\"100\",userlicensedefinition:\"0L7\",userlicenseentityperms:\"N/A\",userlicensemetrics:\"0Gr\",userlistlayoutitem:\"N/A\",userlistpreference:\"0ka\",userlistprefs:\"N/A\",userlistview:\"0Na\",userlistviewcriterion:\"0JU\",userlocationassignment:\"0s1\",userlogin:\"0Yw\",usermembershipsharingrule:\"0N0\",usermetrics:\"0Q5\",usermobileconfig:\"N/A\",usermonthlymetric:\"0mM\",usernavitem:\"0Qk\",useroauthinfo:\"N/A\",userpackagelicense:\"051\",userpermissionaccess:\"0up\",userpreference:\"03u\",userprioritizedrecord:\"2g0\",userprofile:\"005\",userprofilefeed:\"0D5\",userprofilesearchscope:\"8BQ\",userprofilesearchscopeitem:\"9ug\",userprovaccount:\"0Ni\",userprovaccountstaging:\"0HY\",userprovisioningconfig:\"0Je\",userprovisioninglog:\"0Hs\",userprovisioningrequest:\"0HP\",userprovmocktarget:\"0HX\",userquestionnaireanswer:\"4QA\",userquestionnairesummary:\"4QS\",userrecentsearchinfo:\"1R4\",userrecommendation:\"N/A\",userrecordaccess:\"N/A\",userrecordtypepref:\"N/A\",userrecsummary:\"0ur\",userreplicationerror:\"N/A\",userrole:\"00E\",userrolegrouplockusage:\"0EC\",userroletrans:\"N/A\",userscfdata:\"N/A\",userservicepresence:\"0R1\",usersettingupdateevent:\"2KT\",usersetupappinfo:\"0Lg\",usersetupentityaccess:\"0g2\",usershare:\"0N2\",usersharingrulefilteritem:\"0N3\",usertabsetmember:\"031\",userteammember:\"00p\",userterritory:\"04S\",userterritory2association:\"0R0\",userterritory2assoclog:\"8Np\",usertraining:\"0Yn\",usertwisty:\"N/A\",useruiconfiguration:\"01O\",userusage:\"N/A\",userverificationmessageuse:\"0UW\",userworklist:\"0WS\",userworklistitem:\"0WT\",utilitybarmetrics:\"4ND\",validationformula:\"03d\",validationruleinfo:\"0Ts\",validationrulemember:\"405\",vehicle:\"0vL\",vehicleassetcrbnftprnt:\"6yg\",vehicleassetemssnsrc:\"3iv\",vehicleassetemssnsrccnfg:\"0vS\",vehicleassetenrgyuse:\"6Wo\",vehicledefinition:\"1Pq\",vehicleuserassignment:\"0kL\",vendorcallcenterstatusmap:\"6oM\",verificationhistory:\"0Qt\",verificationmessagecreditmetrics:\"0Ue\",veritablemodel:\"0MG\",versionset:\"0DF\",videocall:\"6qr\",videocallcoachingmetric:\"8ny\",videocallevent:\"0nV\",videocallparticipant:\"1af\",videocallpurgeevent:\"2hj\",videocallrecording:\"3Qh\",videocallrevisedevent:\"2wu\",viewconfig:\"N/A\",viewdefinition:\"93i\",violationenforcementaction:\"0fg\",violationtype:\"0fo\",violationtypeassessmentind:\"0fH\",violationtypeuse:\"0ov\",virtualentitydata:\"N/A\",virtualpatchingparameter:\"0KI\",virtualpatchingrule:\"0KH\",virtualstandardentitydatatemplate:\"N/A\",virtualvisitconfig:\"0qm\",visdatacomponentmetadata:\"0R6\",visibilityoperation:\"0CV\",visibilityupdateevent:\"0Rs\",visit:\"0Z5\",visitedparty:\"0eV\",visitor:\"0eW\",visualforceaccessmetrics:\"0OP\",visualforcemetrics:\"3MQ\",visualforcerequesteventlog:\"0uH\",visualizationplugin:\"0R3\",visualizationresource:\"0R5\",visualizationsettingmetadata:\"0R7\",visualizationtype:\"0R4\",voicecall:\"0LQ\",voicecallcoachingmetric:\"4Ia\",voicecallcriteriasharingrule:\"03F\",voicecalllist:\"0Kk\",voicecalllistitem:\"0Kl\",voicecalllog:\"0KQ\",voicecallmetrics:\"0il\",voicecallownersharingrule:\"02e\",voicecallqualityfeedback:\"0aZ\",voicecallrecording:\"0Ox\",voicecallrecordingownersharingrule:\"02e\",voicecallrecordingshare:\"02c\",voicecallshare:\"02c\",voicecallsharingrulefilteritem:\"0BD\",voicecoaching:\"00W\",voiceconference:\"0Vw\",voiceconfigurationmetric:\"0wQ\",voicejobstate:\"0Ug\",voicelocalpresencenumber:\"0Mv\",voicemailcontent:\"0Kj\",voicemailgreeting:\"0Mx\",voicemailmessage:\"0Lp\",voiceorgsetting:\"0ac\",voiceprovisioningjob:\"9Xz\",voiceuserline:\"0LX\",voiceuserpreferences:\"00g\",voicevendorinfo:\"0L1\",voicevendorline:\"0LF\",voidinvoiceprocessedevent:\"7CY\",volunteerproject:\"0pj\",vote:\"083\",voteconfig:\"084\",votestats:\"085\",voucher:\"0kD\",voucherdefinition:\"2Xa\",walkthrough:\"0O2\",walkthroughversion:\"08L\",warrantyterm:\"4V3\",warrantytermcoverage:\"10g\",wastefootprint:\"77O\",wastefootprintitem:\"675\",watchanomaly:\"10f\",watchgroup:\"10e\",watchmetric:\"10d\",watchquery:\"10c\",watchtarget:\"10b\",waveannotation:\"0LZ\",waveannotationtarget:\"0LY\",waveassetevent:\"0TN\",waveassetversion:\"0Rm\",waveautoinstallrequest:\"0UZ\",wavebasedataset:\"0Iu\",wavebasefield:\"0Iv\",wavecompatibilitycheckitem:\"0OZ\",wavedataconnector:\"0It\",waveexternalconnproperty:\"0O4\",wavefeaturedasset:\"0Kf\",wavenotificationconfig:\"0MM\",wavereplicationfilteritem:\"0LP\",wavestoredquery:\"0Og\",wavestoredqueryedgemart:\"0Oz\",wavesyncout:\"2ZC\",wavetemplate:\"0Nk\",wavetemplatedetails:\"0MP\",wavetemplateexternaldata:\"0Nl\",wavetemplatevalues:\"0Nm\",wavetrendedreport:\"0LR\",webappresource:\"0aK\",webappresourcedependency:\"0fl\",webcart:\"0a6\",webcartadjustmentbasis:\"4rO\",webcartadjustmentgroup:\"0m9\",webcartdocument:\"0w4\",weblink:\"00b\",weblinklocalization:\"01j\",webservicedefinition:\"4ws\",webstore:\"0ZE\",webstorebuyergroup:\"0cD\",webstorecatalog:\"0Zp\",webstoreconfig:\"0zE\",webstoredefaultconfig:\"0jz\",webstoreinventorysource:\"10t\",webstoremarketarea:\"8Yi\",webstorenetwork:\"0ZF\",webstorepricebook:\"0ZH\",webstoresearchattrsettings:\"9YA\",webstoresearchfacetrule:\"0bp\",webstoresearchprodsettings:\"0b2\",webstoretemplate:\"0ze\",webtoxrequest:\"06D\",windowspushapplicationsetup:\"0Mk\",wishlist:\"3or\",wishlistitem:\"3os\",workaccess:\"0W5\",workaggregation:\"0YR\",workaggregationsegment:\"0bG\",workbadge:\"0W2\",workbadgedefinition:\"0W1\",workcapacitylimit:\"0VQ\",workcapacityusage:\"0VP\",workcoaching:\"0WD\",workcontract:\"0hf\",workdemographic:\"0cL\",workercompcoverageclass:\"0dh\",workfeedback:\"0WB\",workfeedbackquestion:\"0WA\",workfeedbackquestionset:\"0W8\",workfeedbackrequest:\"0WC\",workfeedbacktemplate:\"0WL\",workflowalertmember:\"408\",workflowapexmember:\"411\",workflowfieldupdatemember:\"406\",workflowoutboundmessagemember:\"410\",workflowrule:\"01Q\",workflowrulemember:\"404\",workflowtaskmember:\"407\",workflowtimeaction:\"054\",workflowtimequeue:\"055\",workflowtimetrigger:\"053\",workforcecapacity:\"0YF\",workforcecapacityplan:\"0jX\",workforcecapacityplandetail:\"0jY\",workforcecapacityunit:\"0YP\",workforecastdemogrun:\"0ba\",workforecastrun:\"0ZN\",workgoal:\"0WE\",workgoalcollaborator:\"0WF\",workgoallink:\"0WG\",workload:\"08S\",workloadunit:\"0Y9\",workorder:\"0WO\",workorderlineitem:\"1WL\",workorderlineitemstatus:\"N/A\",workorderstatus:\"N/A\",workperformancecycle:\"0W7\",workplan:\"0gq\",workplanselectionrule:\"0gr\",workplantemplate:\"7Iy\",workplantemplateentry:\"8xu\",workprocedure:\"0uV\",workprocedurestep:\"0vV\",workreward:\"0W3\",workrewardfund:\"0W4\",workrewardfundtype:\"0WH\",workskillrouting:\"0Xa\",workskillroutingattribute:\"0Xb\",workstep:\"0hF\",workstepstatus:\"N/A\",worksteptemplate:\"4L0\",workthanks:\"0W0\",worktype:\"08q\",worktypecarespecialty:\"0mz\",worktypecodesetbundle:\"0ll\",worktypeextension:\"0xw\",worktypegroup:\"0VS\",worktypegroupmember:\"0Wz\",worktypegrouprole:\"0uz\",workupgradeaction:\"0WU\",workupgradecustomer:\"0WV\",workupgradeuser:\"0WW\",wqtrsktrequestmap:\"0ir\",wsallowedtag:\"N/A\",wsdldatatype:\"4wt\",wstdispoemssnfctrset:\"9LD\",wstdispoemssnfctrsetitm:\"9ic\",xcleanbulkjob:\"0Np\",xcleanmatchratemetrics:\"0MK\",xinstanceinfo:\"0O0\",xmd:\"0Nn\",xmddate:\"0Nu\",xmddimension:\"0Nr\",xmddimensioncustomaction:\"0O5\",xmddimensionmember:\"0Ns\",xmddimrecorddisplaylookup:\"0L0\",xmddimsalesforceaction:\"0Nx\",xmdmeasure:\"0Nq\",xmdorganization:\"0Ny\",xmlschema:\"4xs\",yubikeyprovisioninginfo:\"0P3\",zerodataorgtenant:\"0ZM\",zeroorgdeployment:\"0Y0\",zosmetadatasyncjob:\"0GX\"};const a=\"LARGE\";const o=\"SMALL\";const n=t.entities;const c={};const s={};const m={};const l={};const p={};for(let e=0;e<n.length;e++){const t=n[e];const r=t.entityName;const i=t.formFactor;c[t.keyPrefix]=true;m[r.toLowerCase()]=true;if(i&&i.indexOf(a)!==-1){s[r]=true}if(i&&i.indexOf(o)!==-1){l[r]=true}}m.__c=true;Object.freeze(c);Object.freeze(s);Object.freeze(l);Object.freeze(m);Object.freeze(i);Object.freeze(r);const y=()=>c;const d=()=>s;const f=()=>l;const u=()=>p;const L=()=>i;const g=()=>r;const A=()=>m;const k=e=>{if(Object.keys(p).length===0&&p.constructor===Object){const e=Object.values(i);for(let t=0;t<e.length;t++){p[e[t]]=true}Object.freeze(p)}if(!(e in p)){return Object.values(r).indexOf(e)===-1}return e in c};const v=e=>{if(e.endsWith(\"__x\")){return false}const t=e.toLowerCase();if(e.endsWith(\"__kav\")||e.endsWith(\"__c\")){return true}else if(!(t in i)){return!(t in r)}return e in s};const b=e=>{if(e.endsWith(\"__x\")){return false}e=e.toLowerCase();if(e.endsWith(\"__c\")){return true}else if(!(e in i)){return!(e in r)}return e in m};const x=e=>{if(e.endsWith(\"__x\")){return false}const t=e.toLowerCase();if(e.endsWith(\"__c\")){return true}else if(!(t in i)){return!(t in r)}return e in l};e.getActionsContainerEntities=y;e.getAll242AndEarlierEntityNames=L;e.getAll242AndEarlierKeyPrefixes=u;e.getCreateEditCloneEntities=d;e.getRRHBlocklist=g;e.getRelatedListEntities=A;e.getRrhOnMobileEntities=f;e.isActionsContainerEntity=k;e.isCreateEditCloneEntity=v;e.isRelatedListEntity=b;e.isRrhOnMobileEntity=x;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"force-rrh-allow-list","descriptor":"markup://force:rrhAllowList","n":"force/rrhAllowList"},{"xs":"P","co":"function() { $A.componentService.addModule('markup://runtime_thp_learning:sidePanelConstants', \"runtime_thp_learning/sidePanelConstants\",[\"exports\"],function(e){const n=\"enablement-ui-side-panel\";e.METRIC_NAME_FOR_SIDE_PANEL_FRAMEWORK_COMPONENTS=n;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"runtime_thp_learning-side-panel-constants","descriptor":"markup://runtime_thp_learning:sidePanelConstants","n":"runtime_thp_learning/sidePanelConstants"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://force:ldsAdaptersApex', \"force/ldsAdaptersApex\",[\"exports\",\"force/luvioEngine\",\"force/ldsBindings\",\"force/ldsEngine\"],function(e,n,t,r){const{hasOwnProperty:o}=Object.prototype;function s(e){if(typeof e===\"string\"){return e}else if(e&&typeof e.objectApiName===\"string\"&&typeof e.fieldApiName===\"string\"){return e.objectApiName+\".\"+e.fieldApiName}throw new TypeError(\"Value is not a string or FieldId.\")}function a(e){const n=e.indexOf(\".\");if(n<1){throw new TypeError(\"Value does not include an object API name.\")}return[e.substring(0,n),e.substring(n+1)]}const{isArray:i}=Array;function u(e){return typeof e===\"object\"&&e!==null&&i(e)===false}function c(e,n){if(u(e)===false){return}const t=a(s(n))[1];const r=t.split(\".\");let i=e;for(let e=0,n=r.length;e<n;e++){const n=r[e];if(!o.call(i,n)){return undefined}i=i[n]}return i}const{keys:l,create:d}=Object;const{stringify:f}=JSON;const{isArray:p}=Array;function h(e){return typeof e===\"object\"&&e!==null&&p(e)===false}const m={overrides:{headers:{\"Cache-Control\":\"no-cache\"}}};function C(e){if(e&&e.toJSON&&typeof e.toJSON===\"function\"){e=e.toJSON()}if(e===undefined){return}if(typeof e===\"number\"){return isFinite(e)?\"\"+e:\"null\"}if(typeof e!==\"object\"){return f(e)}let n;let t;if(p(e)){t=\"[\";for(n=0;n<e.length;n++){if(n){t+=\",\"}t+=C(e[n])||\"null\"}return t+\"]\"}if(e===null){return\"null\"}const r=l(e).sort();t=\"\";for(n=0;n<r.length;n++){const o=r[n];const s=C(e[o]);if(!s){continue}if(t){t+=\",\"}t+=f(o)+\":\"+s}return\"{\"+t+\"}\"}const x=\"Apex\";function y(e){const n={};const t=e.headers.xSFDCAllowContinuation;if(t!==undefined){n[\"X-SFDC-Allow-Continuation\"]=t}return{baseUri:\"/lwr/apex/v59.0\",basePath:\"/\"+e.urlParams.apexClass+\"/\"+e.urlParams.apexMethod+\"\",method:\"get\",body:null,urlParams:e.urlParams,queryParams:e.queryParams,headers:n,priority:\"normal\"}}const{create:v,keys:b,values:P}=Object;const{isArray:g}=Array;const{stringify:A}=JSON;function S(e){return{__ref:n.serializeStructuredKey(e)}}const w=\"cache-control\";const F=\"apex__shared\";const O=5*60*1e3;const _=\"APEX_V_1\";const q={ttl:O,namespace:x,representationName:\"\",version:_};function D(e,n){return A(n)===A(e)}const j=(e,t,r,o)=>{const s=t.fullPath;const a=e;const i=o.readEntry(s);n.deepFreeze(a);if(i===undefined||D(i,a)===false){r.storePublish(s,a)}r.publishStoreMetadata(s,q);return S(s)};function I(e){if(h(e)){const n=P(e);return n.indexOf(undefined)===-1?e:null}return e}const M=\":\";function k(e){return e===undefined||e===null||typeof e===\"object\"&&b(e).length===0}function N(e,n,t,r){return[e.replace(\"__\",M),n,t,k(r)?\"\":C(r)].join(M)}function R(e,n,t,r){return{apexMethod:t,apexClass:n,methodParams:e,xSFDCAllowContinuation:r+\"\"}}function E(e,n){return e!==\"\"?`${e}__${n}`:n}function J(e){if(e===undefined||e===null||typeof e!==\"string\"){return false}return e.indexOf(\"no-cache\")<0&&e.indexOf(\"no-store\")<0}function $(e){if(e===undefined){return undefined}const n=b(e);for(let t=0,r=n.length;t<r;t+=1){const r=n[t];if(r.toLowerCase()===w){return e[r]}}return undefined}function L(e){const{headers:n}=e;const t=$(n);return J(t)}function K(e){return`${e}_cacheable`}function V(e,n,t){const r=K(n);e.set(r,t)}function B(e,n){return e.get(K(n))}function X(e,n,t){const{headers:r}=t;const o=$(r);if(o!==undefined){V(e,n,o)}}function z(e,n){const{apexClass:t,apexMethod:r,xSFDCAllowContinuation:o,methodParams:s}=e;const a=N(t,r,o,s);return T(n,a)}function T(e,n){const t=B(e,n);return J(t)}function U(e){const n=v(null);if(!k(e.methodParams)){n.methodParams=e.methodParams}return{queryParams:n,urlParams:{apexMethod:e.apexMethod,apexClass:e.apexClass},headers:{xSFDCAllowContinuation:e.xSFDCAllowContinuation}}}function W(e){let n=e.urlParams.apexClass.replace(\"__\",M);return[n,e.urlParams.apexMethod,e.headers.xSFDCAllowContinuation,k(e.queryParams.methodParams)?\"\":C(e.queryParams.methodParams)].join(M)}function G(e,n,t,r){const{body:o}=t;const s=W(n);const a={recordId:s,node:{kind:\"Fragment\",opaque:true,private:[],version:_},variables:{}};e.storeIngest(s,j,o);const i=e.storeLookup(a,r);return i}function H(e,n){const{luvio:t,config:r,adapterContext:o}=e;const{apexClass:s,apexMethod:a,xSFDCAllowContinuation:i,methodParams:u}=r;const c=N(s,a,i,u);return n({recordId:c,node:{kind:\"Fragment\",opaque:true,private:[],version:_},variables:{}},{config:r,resolve:()=>Z(t,o,r,m)})}function Q(e,t,r,o,s){const a=W(o);const i={recordId:a,node:{kind:\"Fragment\",opaque:true,private:[],version:_},variables:{}};X(t,a,s);if(L(s)){const n=G(e,o,s,{config:r,resolve:()=>Z(e,t,r,m)});return e.storeBroadcast().then(()=>n)}return Promise.resolve({recordId:a,variables:{},seenRecords:new n.StoreKeySet,select:i,state:\"Fulfilled\",data:s.body})}function Y(e,n,t,r,o){return Promise.resolve(e.errorSnapshot(o,{config:t,resolve:()=>Z(e,n,t,m)}))}function Z(e,t,r,o){const s=U(r);const a=y(s);return e.dispatchResourceRequest(a,o).then(o=>e.handleSuccessResponse(()=>Q(e,t,r,s,o),()=>new n.StoreKeyMap),n=>e.handleErrorResponse(()=>Y(e,t,r,s,n)))}function ee(e,n){const{luvio:t,config:r,adapterContext:o}=e;const{networkPriority:s,requestCorrelator:a,eventObservers:i}=n;const u={resourceRequestContext:{requestCorrelator:a},eventObservers:i};if(s!==\"normal\"){u.overrides={priority:s}}return Z(t,o,r,u)}const ne=(e,n)=>{const{namespace:t,classname:r,method:o,isContinuation:s}=n;return te(e,t,r,o,s)};function te(e,n,t,r,o){return e.withContext(function s(a,i,u){const c=I(a);if(c===null){return null}const l=R(c,E(n,t),r,o);return e.applyCachePolicy(u||{},{config:l,luvio:e,adapterContext:i},H,ee)},{contextId:F})}function re(e){if(e&&e.toJSON&&typeof e.toJSON===\"function\"){e=e.toJSON()}if(e===undefined){return}if(typeof e===\"number\"){return isFinite(e)?\"\"+e:\"null\"}if(typeof e!==\"object\"){return A(e)}let n;let t;if(g(e)){t=\"[\";for(n=0;n<e.length;n++){if(n){t+=\",\"}t+=re(e[n])||\"null\"}return t+\"]\"}if(e===null){return\"null\"}const r=b(e).sort();t=\"\";for(n=0;n<r.length;n++){const o=r[n];const s=re(e[o]);if(!s){continue}if(t){t+=\",\"}t+=A(o)+\":\"+s}return\"{\"+t+\"}\"}function oe(e){const n={};const t=e.headers.xSFDCAllowContinuation;if(t!==undefined){n[\"X-SFDC-Allow-Continuation\"]=t}return{baseUri:\"/lwr/apex/v59.0\",basePath:\"/\"+e.urlParams.apexClass+\"/\"+e.urlParams.apexMethod+\"\",method:\"post\",body:e.body,urlParams:e.urlParams,queryParams:{},headers:n,priority:\"normal\"}}function se(e){return{urlParams:{apexMethod:e.apexMethod,apexClass:e.apexClass},body:e.methodParams,headers:{xSFDCAllowContinuation:e.xSFDCAllowContinuation}}}function ae(e){let n=e.urlParams.apexClass.replace(\"__\",M);return[n,e.urlParams.apexMethod,e.headers.xSFDCAllowContinuation,k(e.body)?\"\":re(e.body)].join(M)}function ie(e,n,t,r){const{body:o}=t;const s=ae(n);const a={recordId:s,node:{kind:\"Fragment\",opaque:true,private:[],version:_},variables:{}};e.storeIngest(s,j,o);const i=e.storeLookup(a,r);return i}function ue(e,n){const{config:t}=e;const{apexClass:r,apexMethod:o,xSFDCAllowContinuation:s,methodParams:a}=t;const i=N(r,o,s,a);return n({recordId:i,node:{kind:\"Fragment\",opaque:true,private:[],version:_},variables:{}})}function ce(e,t,r,o,s){const a=ae(o);const i={recordId:a,node:{kind:\"Fragment\",opaque:true,private:[],version:_},variables:{}};X(t,a,s);if(L(s)){const n=ie(e,o,s);return e.storeBroadcast().then(()=>n)}return Promise.resolve({recordId:a,variables:{},seenRecords:new n.StoreKeySet,select:i,state:\"Fulfilled\",data:s.body})}function le(e,n,t,r,o){return Promise.resolve(e.errorSnapshot(o))}function de(e,t,r,o){const s=se(r);const a=oe(s);return e.dispatchResourceRequest(a,o).then(o=>e.handleSuccessResponse(()=>ce(e,t,r,s,o),()=>new n.StoreKeyMap),n=>e.handleErrorResponse(()=>le(e,t,r,s,n)))}function fe(e,n){const{luvio:t,config:r,adapterContext:o}=e;const{networkPriority:s,requestCorrelator:a,eventObservers:i}=n;const u={resourceRequestContext:{requestCorrelator:a},eventObservers:i};if(s!==\"normal\"){u.overrides={priority:s}}return de(t,o,r,u)}const pe=(e,n)=>{const{namespace:t,classname:r,method:o,isContinuation:s}=n;const a=me(e,t,r,o,s);return he(a)};function he(e){return(n,t)=>{const r=e(n,t);return Promise.resolve(r).then(e=>{if(e.state===\"Error\"){throw e.error}return e.data})}}function me(e,n,t,r,o){return e.withContext(function s(a,i,u){const c=R(a,E(n,t),r,o);const l=z(c,i)?ue:()=>undefined;return e.applyCachePolicy(u||{},{config:c,luvio:e,adapterContext:i},l,fe)},{contextId:F})}const Ce=\"refreshApex\";const xe=function(e){return t.refresh(e,Ce)};let ye;r.withDefaultLuvio(e=>{ye=e;t.bindWireRefresh(ye)});const ve=function(e,n,r,o){const s=`getApex_${e}_${n}_${r}_${o}`;const a={apiFamily:\"Apex\",name:s};const i=t.createLDSAdapter(ye,s,t=>pe(t,{namespace:e,classname:n,method:r,isContinuation:o}));i.adapter=t.createWireAdapterConstructor(ye,t.createInstrumentedAdapter(t.createLDSAdapter(ye,s,t=>ne(t,{namespace:e,classname:n,method:r,isContinuation:o})),a),a);return i};e.getApexInvoker=ve;e.getSObjectValue=c;e.refreshApex=xe;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"force-lds-adapters-apex","descriptor":"markup://force:ldsAdaptersApex","n":"force/ldsAdaptersApex"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://runtime_platform_actions:providerRecordEdit', \"runtime_platform_actions/providerRecordEdit\",[\"exports\",\"lwc\",\"runtime_platform_actions/actionLibrary\",\"runtime_platform_actions/providerBase\",\"lightning/uiRecordActionsApi\",\"runtime_platform_actions/actionsUiUtils\",\"laf/templateApi\",\"laf/transformWire\",\"@salesforce/gate/komaciInLex.lasr.ltng\",\"@salesforce/gate/komaciInLexAction.lasr.ltng\"],function(e,t,i,o,a,r,n,d,c,s){function l(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var p=l(o);var m=l(c);var f=l(s);const u=[];function h(e,t,i,o){return u}var A=t.registerTemplate(h);h.stylesheets=[];h.stylesheetToken=\"lwc-21as4f58otn\";h.legacyStylesheetToken=\"runtime_platform_actions-providerRecordEdit_providerRecordEdit\";t.freezeTemplate(h);const T=i.ActionContext.RECORD_EDIT;class g extends p.default{constructor(...e){super(...e);this.recordId=void 0;this.objectApiName=void 0;this.showSaveAndNew=void 0;this._getRecordEditActionsResponse=void 0;this.wiredRecordEditActions=void 0;this.wiredSimplifiedActionsData=void 0;this.wiredTemplatesToFetch=void 0}get isKomaciEnabled(){return m.default.isOpen({fallback:false})&&f.default.isOpen({fallback:false})}gotRecordEditActions({data:e,error:t}){if(t||!e){return}const{value:i}=e;if(i){this._templateIndexToActionId=null;const{data:e,error:t}=i;if(t){this.setActions(t);return}if(e){const{recordId:t}=this;const i=this.showSaveAndNew===true?e:e.filter(e=>e.apiName!==\"SaveAndNew\");const o=[].concat(i).reverse();this.createAndSetActions(o,{recordId:t},T);r.logMetricsForActionsContainer(e,\"actions_in_form_footer\")}}}gotActionTemplates(e){if(e&&e.data&&this.wiredTemplatesToFetch&&this.wiredTemplatesToFetch.data){super.gotActionTemplates(e,this.wiredTemplatesToFetch.data.templatesToFetch,this.wiredTemplatesToFetch.data.templateIndexToActionId)}}onPrepareKomaciMetadata(e){if(e&&e.data){super.resolveData(e.data,\"provider-record-edit\",this.wiredTemplatesToFetch.data.templateIndexToActionId)}}}t.registerDecorators(g,{publicProps:{recordId:{config:0},objectApiName:{config:0},showSaveAndNew:{config:0}},wire:{wiredRecordEditActions:{adapter:a.getRecordEditActions,dynamic:[\"recordIds\"],config:function(e){return{recordIds:e.recordId}}},wiredSimplifiedActionsData:{adapter:d.actionsGetActionsFromActionsResponse,dynamic:[\"contextId\",\"actionData\"],config:function(e){let t=e.wiredRecordEditActions;return{contextId:e.recordId,actionData:t!=null?t.data:undefined}}},gotRecordEditActions:{adapter:d.actionsIdentity,dynamic:[\"value\"],method:1,config:function(e){return{value:e.wiredSimplifiedActionsData}}},wiredTemplatesToFetch:{adapter:d.actionsDetermineTemplateWireInput,dynamic:[\"actions\",\"objectApiName\",\"recordId\"],config:function(e){let t=e.wiredSimplifiedActionsData;return{context:\"RECORD_EDIT\",actions:t!=null?t.data:undefined,objectApiName:e.objectApiName,recordId:e.recordId}}},gotActionTemplates:{adapter:n.getRecordEditActionTemplates,dynamic:[\"actions\"],method:1,config:function(e){let t=e.wiredTemplatesToFetch;return{actions:t!=null&&(t=t.data)!=null?t.templatesToFetch:undefined}}},onPrepareKomaciMetadata:{adapter:d.prepareKomaciMetadata,dynamic:[\"actions\",\"isKomaciEnabled\"],method:1,config:function(e){let t=e.wiredTemplatesToFetch;return{actions:t!=null&&(t=t.data)!=null?t.templatesToFetch:undefined,isKomaciEnabled:e.isKomaciEnabled}}}},fields:[\"_getRecordEditActionsResponse\"]});var v=t.registerComponent(g,{tmpl:A,sel:\"runtime_platform_actions-provider-record-edit\",apiVersion:59});e.default=v;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"runtime_platform_actions-provider-record-edit","descriptor":"markup://runtime_platform_actions:providerRecordEdit","n":"runtime_platform_actions/providerRecordEdit","ad":[["recordId",null,"G",false],["objectApiName",null,"G",false],["showSaveAndNew",null,"G",false]]},{"xs":"P","co":"function() { $A.componentService.addModule('markup://feeds_chat:messageBlock', \"feeds_chat/messageBlock\",[\"exports\",\"lwc\",\"feeds_chat/messageLibrary\",\"feeds_chat/common\"],function(e,s,t,a){function i(e,s,t){var a=e?\"[\"+e+\"]\":\"\";return\".inbound-block\"+a+\" {display: block;width: 100%;}\"}var c=[i];const l={classMap:{\"slds-chat-message__body\":true},key:1};const o={key:2};const n=[];function r(e,s,t,a){const{s:i,h:c}=e;return[c(\"div\",{className:s.computedMessageClass,key:0},[c(\"div\",l,[i(\"\",o,n,t)])])]}var p=s.registerTemplate(r);r.slots=[\"\"];r.stylesheets=[];if(c){r.stylesheets.push.apply(r.stylesheets,c)}r.stylesheetToken=\"lwc-3p6cteqlfop\";r.legacyStylesheetToken=\"feeds_chat-messageBlock_messageBlock\";s.freezeTemplate(r);class d extends s.LightningElement{constructor(...e){super(...e);this._type=t.MessageDirection.INBOUND}get type(){return this._type}set type(e){this._type=a.normalizeString(e,t.MessageDirection,t.MessageDirection.INBOUND)}get computedContainerClass(){return`message-block slds-chat-listitem slds-chat-listitem_${this.type}`.split(\" \")}get computedMessageClass(){return this.type===t.MessageDirection.INBOUND?`slds-chat-message inbound-block`:`slds-chat-message`}connectedCallback(){this.setAttribute(\"role\",\"listitem\");this.classList.add(...this.computedContainerClass)}}s.registerDecorators(d,{publicProps:{type:{config:3}},fields:[\"_type\"]});var h=s.registerComponent(d,{tmpl:p,sel:\"feeds_chat-message-block\",apiVersion:59});e.default=h;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"feeds_chat-message-block","descriptor":"markup://feeds_chat:messageBlock","n":"feeds_chat/messageBlock","ad":[["type",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://instrumentation:tracingService', \"instrumentation/tracingService\",[\"exports\",\"instrumentation/utility\",\"logger\"],function(t,e,s){class r{static generateTraceId(){return e.generateTraceId()}constructor(t,e,s){this.spanId=r.generateTraceId();if(s){this.traceId=s[r.TRACE_ID];this.parentSpanId=s[r.SPAN_ID];this.sampled=s[r.SAMPLED]}else{this.traceId=this.spanId;this.sampled=e.shouldSample()?1:0}this.finishMicroSecs=-1;this.startMicroSecs=Date.now()*1e3;this.tags={};this.annotations=[];this.operationName=t}duration(){return this.finishMicroSecs-this.startMicroSecs}get isSampled(){return this.sampled}isFinished(){return this.finishMicroSecs>0}setDuration(t){if(t>0){this.finishMicroSecs=this.startMicroSecs+t}return this}finish(t){this.finishMicroSecs=t||Date.now()*1e3;return this}tag(t,e){if(t&&e){this.tags[t]=e}return this}annotate(t,e){if(t&&e){const s={};s[r.TIMESTAMP]=t;s[r.VALUE]=e;this.annotations.push(s)}return this}context(){const t={};t[r.TRACE_ID]=this.traceId;t[r.SPAN_ID]=this.spanId;t[r.SAMPLED]=this.sampled;return t}toHeaders(){const t={};t[r.TRACE_ID_HEADER]=this.traceId;t[r.SPAN_ID_HEADER]=this.spanId;t[r.SAMPLED_HEADER]=this.sampled;if(this.parentSpanId){t[r.PARENT_SPAN_ID_HEADER]=this.parentSpanId}return t}get(){const t={};t[r.NAME]=this.operationName;t[r.TRACE_ID]=this.traceId;t[r.ID]=this.spanId;t[r.SAMPLED]=this.sampled;t[r.PARENT_ID]=this.parentSpanId;t[r.TIMESTAMP]=this.startMicroSecs;t[r.DURATION]=this.duration();t[r.KIND]=r.KIND_CLIENT;t[r.ANNOTATIONS]=this.annotations;t[r.TAGS]=this.tags;return t}}r.TRACE_ID=\"traceId\";r.SPAN_ID=\"spanId\";r.ID=\"id\";r.TIMESTAMP=\"timestamp\";r.SAMPLED=\"sampled\";r.PARENT_ID=\"parentId\";r.NAME=\"name\";r.VALUE=\"value\";r.DURATION=\"duration\";r.KIND=\"kind\";r.ANNOTATIONS=\"annotations\";r.TAGS=\"tags\";r.TRACE_ID_HEADER=\"X-B3-TraceId\";r.SPAN_ID_HEADER=\"X-B3-SpanId\";r.SAMPLED_HEADER=\"X-B3-Sampled\";r.PARENT_SPAN_ID_HEADER=\"X-B3-ParentSpanId\";r.KIND_CLIENT=\"CLIENT\";class n{static _alwaysSample(){return true}static _neverSample(){return false}constructor(t){this.sampleRate=t;if(t<=0){this.samplingMethod=n._neverSample}else if(t>=1){this.samplingMethod=n._alwaysSample}else if(t>0&&t<1){if(t<.001||t>.999){throw new Error(\"Sampling rate cannot be less that 0.001 or greater than 0.999\")}this.samplingMethod=function(){return t>=Math.floor(this.createSeed()*1e3)/1e3}}else{this.samplingMethod=n._neverSample}}createSeed(){return Math.random()}shouldSample(){return this.samplingMethod()}getSampleRate(){return this.sampleRate}}const i=new n(1);const a=new n(0);class h{duration(){}isFinished(){}setDuration(){return this}finish(){return this}tag(){return this}annotate(){return this}context(){return{}}toHeaders(){return{}}get(){return{}}}class c{constructor(t){this.enabled=true;this.spans=[];this.currentTrace=null;this.forceTracing=e.getQueryParamValue(c.EXPERIMENTAL_TRACING_PARAM)===\"true\";this.sampler=this.forceTracing?i:t}startSpan(t){if(this.currentTrace){return this.newChild(t,this.currentTrace)}return this.newTrace(t)}newChild(t,e){let s;this.currentTrace=e;if(this.enabled){s=new r(t,this.sampler,e.context());this.spans.push(s)}else{s=new h}return s}newTrace(t,e){let s;if(this.enabled){s=new r(t,e||this.sampler);this.spans.push(s)}else{s=new h}this.currentTrace=s;return s}setSampleRate(t){if(this.forceTracing){s.log(\"experimentalTracing url param is passed, so the given sampling rate will be ignored\")}else{this.sampler=new n(t)}}setEnabled(t){this.enabled=t}getSampler(){return this.sampler}getCurrentTrace(){return this.currentTrace}takeFinished(t=true){const e=[];const s=[];const r=this.spans;for(let n=0;n<r.length;n++){const i=r[n];if(i.isFinished()){if(t){if(i.isSampled){e.push(i.get())}}else{e.push(i.get())}}else{s.push(i)}}this.spans=s;return e}getSpans(){const t=this.spans;const e=[];Object.values(t).forEach(t=>{e.push(t.get())});return e}generateTraceId(){return r.generateTraceId()}static create(t){return new c(t)}}c.EXPERIMENTAL_TRACING_PARAM=\"experimentalTracing\";const o=c.create(new n(.001));o.SPAN_TAG_URL=\"http.url\";o.SPAN_TAG_SFDC_NS=\"sfrd.\";o.SPAN_TAG_REQUEST_ID=\"sfrd.requestId\";o.SPAN_TAG_REQUEST_STATUS=\"sfrd.requestStatus\";o.SAMPLER_ALWAYS_SAMPLE=i;o.SAMPLER_NEVER_SAMPLE=a;t.TracingService=o;Object.defineProperty(t,\"__esModule\",{value:true})});\n}","ce":"instrumentation-tracing-service","descriptor":"markup://instrumentation:tracingService","n":"instrumentation/tracingService"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://interop:layout', \"interop/layout\",[\"exports\",\"lwc\",\"lightning/utilsPrivate\",\"lightning/utils\"],function(t,s,l,e){function i(t,s,l){var e=t?\"[\"+t+\"]\":\"\";return\"@media all and (-ms-high-contrast: none),(-ms-high-contrast: active) {.slds-slot\"+e+\" {display: flex;}}\"}var a=[i];const n={classMap:{\"slds-slot\":true},key:0};const o=[];function r(t,s,l,e){const{s:i}=t;return[i(\"\",n,o,l)]}var d=s.registerTemplate(r);r.slots=[\"\"];r.stylesheets=[];if(a){r.stylesheets.push.apply(r.stylesheets,a)}r.stylesheetToken=\"lwc-4p3ig5mhdla\";r.legacyStylesheetToken=\"interop-layout_layout\";s.freezeTemplate(r);const u={center:\"slds-grid_align-center\",space:\"slds-grid_align-space\",spread:\"slds-grid_align-spread\",end:\"slds-grid_align-end\"};const c={start:\"slds-grid_vertical-align-start\",center:\"slds-grid_vertical-align-center\",end:\"slds-grid_vertical-align-end\",stretch:\"slds-grid_vertical-stretch\"};const g={small:\"slds-grid_pull-padded\",medium:\"slds-grid_pull-padded-medium\",large:\"slds-grid_pull-padded-large\"};const p=Object.keys(c);const h=Object.keys(g);const _=Object.keys(u);const y=\"slds-wrap\";const v=\"slds-grid\";function m(t,s,e){t=t?t.toLowerCase():\" \";return l.normalizeString(t,{fallbackValue:e||\" \",validValues:s||[]})}function f(t,s,l,i){const a=e.classSet(v);if(t!==\" \"&&u[t]){a.add(u[t])}if(s!==\" \"&&c[s]){a.add(c[s])}if(l!==\" \"&&g[l]){a.add(g[l])}if(i){a.add(y)}return a}class A extends s.LightningElement{constructor(...t){super(...t);this._horizontalAlign=void 0;this._verticalAlign=void 0;this._pullToBoundary=void 0;this._multipleRows=void 0;this._layoutClass=[]}get horizontalAlign(){return this._horizontalAlign}set horizontalAlign(t){this._horizontalAlign=m(t,_);this.updateClassList()}get verticalAlign(){return this._verticalAlign}set verticalAlign(t){this._verticalAlign=m(t,p);this.updateClassList()}get pullToBoundary(){return this._pullToBoundary}set pullToBoundary(t){this._pullToBoundary=m(t,h);this.updateClassList()}get multipleRows(){return this._multipleRows||false}set multipleRows(t){this._multipleRows=l.normalizeBoolean(t);this.updateClassList()}connectedCallback(){this.updateClassList()}updateClassList(){this.classList.remove(...this._layoutClass);const t=f(this.horizontalAlign,this.verticalAlign,this.pullToBoundary,this.multipleRows);this._layoutClass=Object.keys(t);this.classList.add(...this._layoutClass)}}A.validationOptOut=[\"class\"];s.registerDecorators(A,{publicProps:{horizontalAlign:{config:3},verticalAlign:{config:3},pullToBoundary:{config:3},multipleRows:{config:3}},track:{_horizontalAlign:1,_verticalAlign:1,_pullToBoundary:1,_multipleRows:1},fields:[\"_layoutClass\"]});var C=s.registerComponent(A,{tmpl:d,sel:\"interop-layout\",apiVersion:59});t.default=C;Object.defineProperty(t,\"__esModule\",{value:true})});\n}","ce":"interop-layout","descriptor":"markup://interop:layout","n":"interop/layout","mv":0.0,"ad":[["horizontalAlign",null,"G",false],["verticalAlign",null,"G",false],["pullToBoundary",null,"G",false],["multipleRows",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://emailui:gptProductSelectionMenu', \"emailui/gptProductSelectionMenu\",[\"exports\",\"lwc\",\"lightning/groupedCombobox\",\"lightning/layoutItem\",\"lightning/button\",\"lightning/layout\",\"lightning/input\",\"lightning/textarea\",\"lightning/focusTrap\",\"lightning/uiGraphQLApi\",\"runtime_sales_engagement/gptInstrumentationUtils\",\"emailui/gptProductSearchModal\",\"@salesforce/label/SalesEmailAssistant.productSelectionMenuDescription\",\"@salesforce/label/SalesEmailAssistant.recentProductDescription\",\"@salesforce/label/SalesEmailAssistant.recentProductPlaceHolder\",\"@salesforce/label/SalesEmailAssistant.selectOtherProduct\",\"@salesforce/label/SalesEmailAssistant.productName\",\"@salesforce/label/SalesEmailAssistant.productDescription\",\"@salesforce/label/SalesEmailAssistant.productNameHelpText\",\"@salesforce/label/SalesEmailAssistant.recentlyViewedProducts\",\"@salesforce/label/SalesEmailAssistant.cancel\",\"@salesforce/label/SalesEmailAssistant.continueButton\",\"@salesforce/label/SalesEmailAssistant.productSearchModalDescription\",\"@salesforce/label/SalesEmailAssistant.productsRelatedTo\"],function(e,t,o,s,n,i,r,l,c,a,d,u,p,h,g,m,P,f,y,b,v,S,_,M){function x(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var D=x(o);var w=x(s);var I=x(n);var N=x(i);var C=x(r);var E=x(l);var k=x(c);var O=x(u);var L=x(p);var A=x(h);var T=x(g);var q=x(m);var B=x(P);var z=x(f);var R=x(y);var V=x(b);var H=x(v);var Q=x(S);var W=x(_);var $=x(M);function j(e,t,o){var s=e?\"[\"+e+\"]\":\"\";return\".gpt-product-selection-menu\"+s+\" {position: relative;bottom: var(--lwc-varSpacingVerticalXSmall);z-index: calc(var(--lwc-zIndexSpinner,9050) + 2);}.backdrop\"+s+\" {position: absolute;z-index: calc(var(--lwc-zIndexSpinner,9050) + 1);visibility: visible;opacity: 1;}\"}var G=[j];const F=t.parseFragment`<div class=\"backdrop slds-backdrop${0}\"${2}><\/div>`;const J={key:0};const U={role:\"menu\"};const X={classMap:{\"slds-text-heading_small\":true},key:5};const K={\"slds-m-top_small\":true};const Y={flexibility:\"auto, no-grow\"};const Z={classMap:{\"slds-grid\":true,\"slds-grid_align-spread\":true,\"slds-m-top_small\":true},key:13};function ee(e,t,o,s){const{st:n,fr:i,d:r,t:l,h:c,b:a,c:d}=e;const{_m0:u,_m1:p,_m2:h,_m3:g,_m4:m,_m5:P,_m6:f}=s;return[d(\"lightning-focus-trap\",k.default,J,[t.isModeDock?i(1,[n(F(),3)],0):null,c(\"div\",{className:t.gptProductSelectionMenuStyle,attrs:U,key:4},[c(\"div\",X,[l(r(t.labels.productSelectionMenuDescription))]),d(\"lightning-layout\",N.default,{classMap:K,props:{horizontalAlign:t.productSelectorsAlignment,multipleRows:true},key:6},[d(\"lightning-layout-item\",w.default,{props:{flexibility:\"auto\",size:t.recentProductsDropdownSize},key:7},[d(\"lightning-grouped-combobox\",D.default,{props:{name:t.labels.recentProductDescription,label:t.labels.recentProductDescription,placeholder:t.labels.recentProductPlaceHolder,inputIconName:\"utility:chevrondown\",inputMaxlength:\"0\",items:t.groupedProducts},key:8,on:{select:u||(s._m0=a(t.handleProductSelect)),dropdownopen:p||(s._m1=a(t.handleRecentProductDropdownOpen))}})]),d(\"lightning-layout-item\",w.default,{className:t.selectOtherProductStyle,props:Y,key:9},[d(\"lightning-button\",I.default,{props:{variant:\"brand-outline\",label:t.labels.selectOtherProduct,title:t.labels.selectOtherProduct,disabled:t.disableSelectOtherProductButton},key:10,on:{click:h||(s._m2=a(t.handleSelectOtherProduct))}})])]),d(\"lightning-input\",C.default,{classMap:K,props:{value:t.selectedProductName,type:\"text\",label:t.labels.productName,fieldLevelHelp:t.labels.productNameHelpText,maxLength:\"255\"},key:11,on:{change:g||(s._m3=a(t.handleProductNameChange))}}),d(\"lightning-textarea\",E.default,{classMap:K,props:{value:t.selectedProductDescription,label:t.labels.productDescription,maxLength:\"300\"},key:12,on:{change:m||(s._m4=a(t.handleProductDescriptionChange))}}),c(\"div\",Z,[d(\"lightning-button\",I.default,{props:{label:t.labels.cancel,title:t.labels.cancel},key:14,on:{click:P||(s._m5=a(t.handleCancel))}}),d(\"lightning-button\",I.default,{props:{variant:\"brand\",label:t.labels.continueButton,title:t.labels.continueButton},key:15,on:{click:f||(s._m6=a(t.handleContinue))}})])])])]}var te=t.registerTemplate(ee);ee.stylesheets=[];if(G){ee.stylesheets.push.apply(ee.stylesheets,G)}ee.stylesheetToken=\"lwc-3r0u7rjaskn\";ee.legacyStylesheetToken=\"emailui-gptProductSelectionMenu_gptProductSelectionMenu\";t.freezeTemplate(ee);const oe=\"modal\";const se=\"dock\";const ne=\"small\";const ie=\"large\";const re=\"selected_product_input\";const le=\"empty_product_input\";const ce=\"manual_product_input\";const ae=\"manual_edit_product_input\";const de=255;const ue=300;class pe extends t.LightningElement{constructor(...e){super(...e);this.relatedOpportunities=void 0;this.loggingContext=void 0;this._mode=se;this._width=ie;this.productSearchModal=void 0;this.selectedProductName=void 0;this.selectedProductDescription=void 0;this.hasBeenRendered=false;this.noProductExists=false;this.productInput=le;this.productMap=new Map;this.groupedProducts=[];this.query=undefined;this.labels={productSelectionMenuDescription:L.default,recentProductDescription:A.default,recentProductPlaceHolder:T.default,selectOtherProduct:q.default,productName:B.default,productNameHelpText:R.default,productDescription:z.default,recentlyViewedProducts:V.default,cancel:H.default,continueButton:Q.default}}renderedCallback(){if(!this.hasBeenRendered){this.hasBeenRendered=true;this.triggerQuery();const e=this.template.querySelector(\"lightning-grouped-combobox\");if(e){e.focus()}d.logStartProductSelector(\"emailui-gpt-product-selection-menu\",this.loggingContext)}}onGraphQL(e){if(e.errors){const t={error:e.errors,loggingContext:this.loggingContext};d.logErrorQueryingProducts(\"emailui-gpt-product-selection-menu\",t);return}if(e.data){const t=e.data?.uiapi?.query?.anyProduct?.edges;this.noProductExists=!t||t.length<1;this.groupedProducts=[];const o=e.data?.uiapi?.query?.recentlyViewedProducts?.edges;if(o&&o.length>0){const e=[];for(const t of o){const o=t.node.Id;const s=t.node.Name.value;const n=t.node.Description.value;e.push({type:\"option-inline\",text:s,value:o});this.productMap.set(o,{name:s,description:n})}this.groupedProducts=[{label:this.labels.recentlyViewedProducts,items:e}]}const s=e.data?.uiapi?.query?.Opportunity?.edges;if(s&&s.length>0){s.forEach(e=>{const t=e.node.Name.value;const o=e.node.OpportunityLineItems?.edges;if(o&&o.length>0){const e=[];for(const t of o){const o=t.node.Product2.Id;const s=t.node.Product2.Name.value;const n=t.node.Product2.Description.value;e.push({type:\"option-inline\",text:s,value:o});this.productMap.set(o,{name:s,description:n})}const s=$.default.replace(\"{0}\",t);this.groupedProducts.push({label:s,items:e})}})}}}triggerQuery(){const e=this.generateQuery();this.query=a.gql`\n            ${e}\n        `}generateQuery(){const e=JSON.stringify(this.relatedOpportunities);return`query ListOfProducts { uiapi { query {\\n            anyProduct: Product2(first: 1) {\\n              edges { node {\\n                Id}}}\\n            recentlyViewedProducts: Product2(first: 5, orderBy: {LastViewedDate: {order: DESC}}, where: {LastViewedDate: {ne: {value: null}}}) {\\n              edges { node {\\n                Id Name {value} Description {value}}}}\\n            Opportunity(where: {Id: {in: ${e}}}) {\\n              edges { node {\\n                Id Name {value}\\n                OpportunityLineItems (first: 5, orderBy: {LastViewedDate: {order: DESC}}) {\\n                  edges { node {\\n                    Product2 {Id Name {value} Description {value}}}\\n            }}}}}}}}`}handleProductNameChange(e){this.selectedProductName=e.detail.value;this.categorizeManualProductInput()}handleProductDescriptionChange(e){this.selectedProductDescription=e.detail.value;this.categorizeManualProductInput()}categorizeManualProductInput(){if(this.productInput===re||this.productInput===ae){this.productInput=ae}else{this.productInput=ce}}handleProductSelect(e){const t=this.productMap.get(e.detail.value);this.setTruncatedProductName(t?.name);this.setTruncatedProductDescription(t?.description);this.productInput=re;d.logSelectedRecentOrRelatedProduct(\"emailui-gpt-product-selection-menu\",this.loggingContext)}setTruncatedProductName(e){if(e){this.selectedProductName=e.length>de?e.substring(0,de):e}else{this.selectedProductName=null}}setTruncatedProductDescription(e){if(e){this.selectedProductDescription=e.length>ue?e.substring(0,ue):e}else{this.selectedProductDescription=null}}handleCancel(){this.dispatchEvent(new CustomEvent(\"cancelproductselect\"));d.logCancelProductSelector(\"emailui-gpt-product-selection-menu\",this.loggingContext)}handleContinue(){const e={selectedProductName:this.selectedProductName,selectedProductDescription:this.selectedProductDescription};if(this.productNameOrProductDescriptionIsEmpty()){d.logEmptyProductInput(\"emailui-gpt-product-selection-menu\",this.loggingContext)}else if(this.productInput===re){d.logSelectedProductInput(\"emailui-gpt-product-selection-menu\",this.loggingContext)}else if(this.productInput===ce){d.logManualProductInput(\"emailui-gpt-product-selection-menu\",this.loggingContext)}else if(this.productInput===ae){d.logManualEditProductInput(\"emailui-gpt-product-selection-menu\",this.loggingContext)}this.dispatchEvent(new CustomEvent(\"continueproductselect\",{detail:e}))}productNameOrProductDescriptionIsEmpty(){return!this.selectedProductName||this.selectedProductName.length===0||!this.selectedProductDescription||this.selectedProductDescription.length===0}handleRecentProductDropdownOpen(e){const t=e.target;if(t){this.applyBoldStyleToMenuSectionHeaders(t)}}applyBoldStyleToMenuSectionHeaders(e){const t=e.shadowRoot.querySelector(\"lightning-base-combobox\");if(t){Promise.resolve().then(()=>{const e=t.shadowRoot.querySelectorAll(\"h3\");e.forEach(e=>e.classList.add(\"slds-listbox__option-header\"))})}}async handleSelectOtherProduct(){const e=await O.default.open({size:\"small\",description:W.default,loggingContext:this.loggingContext,openModalCallback:e=>{this.productSearchModal=e}});if(e){this.setTruncatedProductName(e.selectedProductName);this.setTruncatedProductDescription(e.selectedProductDescription);this.productInput=re;d.logSelectedOtherProduct(\"emailui-gpt-product-selection-menu\",this.loggingContext)}this.productSearchModal=null}closeProductSearchModal(){if(this.productSearchModal){this.productSearchModal.close()}}get mode(){return this._mode}set mode(e){if(typeof e===\"string\"&&e.toLowerCase()===oe){this._mode=oe}else{this._mode=se}}get isModeModal(){return this.mode===oe}get isModeDock(){return this.mode===se}get width(){return this._width}set width(e){if(typeof e===\"string\"&&e.toLowerCase()===ne){this._width=ne}else{this._width=ie}}get isWidthLarge(){return this.width===ie}get gptProductSelectionMenuStyle(){return this.isModeModal?\"gpt-product-selection-menu slds-theme_default\":\"gpt-product-selection-menu slds-theme_default slds-p-around_medium\"}get recentProductsDropdownSize(){return this.isWidthLarge?\"7\":\"12\"}get selectOtherProductStyle(){return this.isWidthLarge?\"slds-m-top_large\":\"slds-m-top_xx-small\"}get productSelectorsAlignment(){return this.isWidthLarge?\"spread\":\"end\"}get disableSelectOtherProductButton(){return this.noProductExists}}t.registerDecorators(pe,{publicProps:{relatedOpportunities:{config:0},loggingContext:{config:0},mode:{config:3},width:{config:3}},publicMethods:[\"closeProductSearchModal\"],track:{groupedProducts:1,query:1},wire:{onGraphQL:{adapter:a.graphql,dynamic:[\"query\"],method:1,config:function(e){return{query:e.query}}}},fields:[\"_mode\",\"_width\",\"productSearchModal\",\"selectedProductName\",\"selectedProductDescription\",\"hasBeenRendered\",\"noProductExists\",\"productInput\",\"productMap\",\"labels\"]});var he=t.registerComponent(pe,{tmpl:te,sel:\"emailui-gpt-product-selection-menu\",apiVersion:59});e.default=he;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"emailui-gpt-product-selection-menu","descriptor":"markup://emailui:gptProductSelectionMenu","n":"emailui/gptProductSelectionMenu","ad":[["relatedOpportunities",null,"G",false],["loggingContext",null,"G",false],["mode",null,"G",false],["width",null,"G",false]]},{"xs":"P","co":"function() { $A.componentService.addModule('markup://lst:relatedListQuickLinksGrid', \"lst/relatedListQuickLinksGrid\",[\"exports\",\"lwc\",\"lst/relatedListQuickLink\",\"lst/relatedListAppEventListener\",\"lst/errorState\",\"lightning/uiRecordApi\",\"lightning/uiRelatedListApi\",\"lightning/unstable_uiRelatedListApi\",\"laf/transformWire\",\"laf/pageCapability\",\"laf/store\",\"@salesforce/accessCheck/S1Desktop.userHasActivitiesRelatedListsOnRecordHome\",\"@salesforce/client/formFactor\",\"lst/listViewManagerLibrary\",\"lightning/refresh\",\"@salesforce/gate/lasr.refreshViewAPI\",\"o11y/client\",\"@salesforce/label/RecordHomeCards.ShowAll\",\"@salesforce/label/RecordHomeCards.ShowLess\",\"@salesforce/label/RecordHomeCards.NoCards\",\"@salesforce/label/InfoComponentsRelatedLists.RelatedListErrorMessage\",\"@salesforce/label/InfoComponentsRelatedLists.RelatedListErrorTitle\"],function(e,t,i,s,a,r,l,d,n,o,c,h,u,f,p,L,g,y,m,R,I,b){function v(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var C=v(i);var k=v(s);var w=v(a);var A=v(h);var N=v(u);var S=v(L);var j=v(y);var D=v(m);var O=v(R);var M=v(I);var E=v(b);function P(e,t,i){var s=e?\"[\"+e+\"]\":\"\";return\".rlql-relatedListQuickLink\"+s+\" {width: 175px;padding-bottom : var(--lwc-varSpacingVerticalSmall);margin-right : var(--lwc-spacingSmall);}\"}var _=[P];const T={classMap:{\"rlql-width-anchor\":true},key:0};const x={classMap:{\"slds-card__body\":true,\"slds-card__body--inner\":true},key:1};const H={classMap:{\"slds-grid\":true,\"slds-wrap\":true,list:true},key:2};const z={\"rlql-relatedListQuickLink\":true};const q={classMap:{\"rlql-toggle\":true,\"slds-text-align_center\":true},key:5};const F={href:\"javascript:void(0)\"};const Q={classMap:{\"slds-assistive-text\":true},key:7};const V={key:8};const $={classMap:{message:true},key:9};function G(e,t,i,s){const{k:a,c:r,h:l,i:d,b:n,d:o,t:c}=e;const{_m0:h,_m1:u}=s;return[l(\"div\",T,[t.isArray?l(\"div\",x,[l(\"ul\",H,d(t.relatedLists,function(e){return l(\"li\",{classMap:z,key:a(3,e.relatedListApiName)},[r(\"lst-related-list-quick-link\",C.default,{props:{relatedListInfo:e,recordId:t.recordId,truncateLabel:t.truncateQuickLinks,hidePreviewOnHover:t.hidePreviewOnHover,objectApiName:t.objectApiName},key:4})])})),!t.hideShowAllLessToggle?l(\"div\",q,[l(\"a\",{attrs:F,key:6,on:{mouseup:h||(s._m0=n(t.toggleShowAllShowLess)),keyup:u||(s._m1=n(t.toggleOnEnter))}},[c(o(t.showAllShowLessLabel)),l(\"span\",Q,[c(o(t.i18n.RelatedListQuickLinks))])])]):null]):null,t.isArray?r(\"lst-related-list-app-event-listener\",k.default,V):null,t.showNoRelatedLists?l(\"div\",$,[c(o(t.i18n.NoCards))]):null,t.hasError?r(\"lst-error-state\",w.default,{props:{error:t.error},key:10}):null])]}var W=t.registerTemplate(G);G.stylesheets=[];if(_){G.stylesheets.push.apply(G.stylesheets,_)}G.stylesheetToken=\"lwc-4jsfuj0dov9\";G.legacyStylesheetToken=\"lst-relatedListQuickLinksGrid_relatedListQuickLinksGrid\";t.freezeTemplate(G);const K=4,U=32,B=187;const J=\"relatedListErrorState\";class X extends(o.CapabilityMixin(t.LightningElement)){get error(){return{type:J,title:E.default,message:M.default}}get hasError(){return!this.generatedFields||this.generatedFields.error||!this.wiredRecordData||this.wiredRecordData.error||!this.objectInfo||this.objectInfo.error||!this.delayedConfig||this.delayedConfig.error||!this.wiredRelatedListInfos||this.wiredRelatedListInfos.error||!this.countPageSize||this.countPageSize.error||!this.paginatedRelatedListIds||this.paginatedRelatedListIds.error||!this.relatedListsCounts||this.relatedListsCounts.error}refresh(){return this.instrumentation.activityAsync(\"refreshView\",e=>{if(this.relatedListsCounts&&this.relatedListsCounts.data){this.dispatchLoadingEvent(true);return d.unstable_refresh(this.relatedListsCounts).then(()=>this.dispatchLoadingEvent(false)).catch(t=>{e.error(t);return this.dispatchLoadingEvent(false)})}return Promise.resolve(true)})}constructor(){super();this.flexipageComponentInstanceIdentifier=void 0;this.recordId=void 0;this.objectApiName=void 0;this.objectInfo=void 0;this.truncateQuickLinks=false;this.hidePreviewOnHover=false;this.generatedFields=void 0;this.wiredRecordData=void 0;this.delayedConfig=void 0;this.wiredRelatedListInfos=void 0;this.countPageSize=void 0;this.filteredRelatedLists=void 0;this.paginatedRelatedListIds=void 0;this.relatedListsCounts=void 0;this.currentlyDisplay=K;this.showAllLinks=false;this._displayCalculationComplete=false;this.instrumentation=g.getInstrumentation(\"relatedListQuickLinksGrid\");this.refreshID=void 0;this.handleRelatedListRecordChangeRefresh=this._handleRelatedListRecordChangeRefresh.bind(this)}connectedCallback(){if(S.default.isOpen({fallback:false})){this.refreshID=p.registerRefreshHandler(this,this.refresh)}else{this[o.CapabilityMixin.ExposeCapabilities]({[o.RefreshCapability]:this.refresh.bind(this)});this[o.CapabilityMixin.EnableListener](o.RefreshCapability)}this.startTime=performance.now();this.template.addEventListener(\"relatedListRecordCreated\",this.handleRelatedListRecordChangeRefresh);this.template.addEventListener(\"relatedListRecordDeleted\",this.handleRelatedListRecordChangeRefresh);this.dispatchLoadingEvent(true)}disconnectedCallback(){if(S.default.isOpen({fallback:false})){p.unregisterRefreshHandler(this.refreshID)}this[o.CapabilityMixin.ConcealCapabilities]();this.template.removeEventListener(\"relatedListRecordCreated\",this.handleRelatedListRecordChangeRefresh);this.template.removeEventListener(\"relatedListRecordDeleted\",this.handleRelatedListRecordChangeRefresh)}renderedCallback(){if(!this._displayCalculationComplete){const e=this.template.querySelector(\".rlql-width-anchor\");const t=e.clientWidth;if(t!==0){const e=t-U;const i=Math.floor(e/B);let s=2;if(i===1){s=6}else if(i===2){s=4}this.currentlyDisplay=Math.max(K,i*s);this._displayCalculationComplete=true}}if(this.showAllLinks&&!this.hasMore){const e=this.template.querySelectorAll(\"lst-related-list-quick-link\");if(e&&e.length>this.initiallyDisplayed){e[this.initiallyDisplayed].focus()}}if(this.hasCounts){if(this.shouldRequestMore){c.setStoreValue(this.countPageSize,this.currentlyDisplay)}else{this.dispatchLoadingEvent(false)}}}get hasCounts(){return this.relatedListsCounts&&this.relatedListsCounts.data}get shouldRequestMore(){return this.currentlyDisplay>this.relatedListsCounts.data.results.length&&this.countPageSize&&(typeof this.countPageSize.data!==\"number\"||this.countPageSize.data<this.currentlyDisplay)}_handleRelatedListRecordChangeRefresh(e){e.stopPropagation();if(e.detail&&e.detail.relatedListApiName){const t=this.relatedLists;const i=t.find(t=>e.detail.relatedListApiName===t.childObjectApiName||e.detail.recordId&&f.yamlConfiguration.getSObjectRelatedKeyPrefixes(t.childObjectApiName).includes(e.detail.recordId.substr(0,3)));if(i){this.refresh()}}}get relatedLists(){const e=[];if(!this.wiredRelatedListInfos||!this.wiredRelatedListInfos.data||!Array.isArray(this.wiredRelatedListInfos.data.relatedLists)||!this.paginatedRelatedListIds.data){return e}const{results:t=[]}=this.relatedListsCounts.data||{};const i=this.wiredRelatedListInfos.data.relatedLists.filter(e=>this.paginatedRelatedListIds.data.find(t=>t===e.relatedListId));for(let s=0,a=Math.min(this.currentlyDisplay,i.length);s<a;s++){const a=i[s];const{result:r={}}=t.find(e=>{if(e.statusCode!==200){return false}return e.result.listReference.relatedListId===a.relatedListId})||{};e.push({relatedListApiName:a.relatedListId,relatedListParentFieldApiName:\"Id\",themeColor:a.themeInfo.color,themeIcon:a.themeInfo.iconUrl,childObjectApiName:a.objectApiName,label:a.label,partialCount:r.count})}return e}get totalNumberOfRelatedLists(){return this.filteredRelatedLists&&this.filteredRelatedLists.data?this.filteredRelatedLists.data.length:0}get hasMore(){return this.currentlyDisplay<this.totalNumberOfRelatedLists}get isArray(){return this.wiredRelatedListInfos&&this.wiredRelatedListInfos.data?Array.isArray(this.wiredRelatedListInfos.data.relatedLists):false}get showNoRelatedLists(){return this.wiredRelatedListInfos&&this.wiredRelatedListInfos.data&&this.wiredRelatedListInfos.data.relatedLists?this.wiredRelatedListInfos.data.relatedLists.length===0:false}get i18n(){return{NoCards:O.default}}get showAllShowLessLabel(){if(this.hasMore){if(`${j.default}`.includes(\"({\")){return`${j.default}`.replace(\"{0}\",`${this.totalNumberOfRelatedLists}`)}return`${j.default}`.replace(\"{0}\",`(${this.totalNumberOfRelatedLists})`)}return`${D.default}`}get hideShowAllLessToggle(){return!this.hasMore&&!this.showAllLinks}toggleShowAllShowLess(){if(this.hasMore){this.showAllLinks=true;this.initiallyDisplayed=this.currentlyDisplay;this.currentlyDisplay=this.totalNumberOfRelatedLists}else{this.showAllLinks=false;this.currentlyDisplay=this.initiallyDisplayed}}toggleOnEnter(e){if(e.key&&e.key===\"Enter\"){this.toggleShowAllShowLess()}}dispatchLoadingEvent(e){this.dispatchEvent(new CustomEvent(\"loading\",{detail:e}))}}t.registerDecorators(X,{publicProps:{flexipageComponentInstanceIdentifier:{config:0},recordId:{config:0},objectApiName:{config:0},objectInfo:{config:0},truncateQuickLinks:{config:0},hidePreviewOnHover:{config:0}},publicMethods:[\"refresh\"],track:{currentlyDisplay:1,showAllLinks:1},wire:{generatedFields:{adapter:n.generateFieldValues,dynamic:[\"objectApiName\"],config:function(e){return{fields:[\"Id\"],objectApiName:e.objectApiName}}},wiredRecordData:{adapter:r.getRecord,dynamic:[\"recordId\",\"optionalFields\"],config:function(e){let t=e.generatedFields;return{recordId:e.recordId,optionalFields:t!=null?t.data:undefined}}},delayedConfig:{adapter:n.delayedTransform,dynamic:[\"parentObjectApiName\",\"recordTypeId\"],config:function(e){let t=e.wiredRecordData;return{parentObjectApiName:e.objectApiName,recordTypeId:t!=null&&(t=t.data)!=null?t.recordTypeId:undefined}}},wiredRelatedListInfos:{adapter:l.getRelatedListsInfo,dynamic:[\"parentObjectApiName\",\"recordTypeId\"],config:function(e){let t=e.delayedConfig;let i=e.delayedConfig;return{parentObjectApiName:t!=null&&(t=t.data)!=null?t.parentObjectApiName:undefined,recordTypeId:i!=null&&(i=i.data)!=null?i.recordTypeId:undefined}}},countPageSize:{adapter:c.getStoreValue,dynamic:[\"key1\",\"key2\",\"key4\"],config:function(e){let t=e.delayedConfig;let i=e.delayedConfig;return{key3:\"countPageSize\",default:10,key1:t!=null&&(t=t.data)!=null?t.parentObjectApiName:undefined,key2:i!=null&&(i=i.data)!=null?i.recordTypeId:undefined,key4:e.flexipageComponentInstanceIdentifier}}},filteredRelatedLists:{adapter:n.filterHiddenRelatedLists,dynamic:[\"relatedListInfo\",\"objectApiName\"],config:function(e){let t=e.wiredRelatedListInfos;return{formFactor:N.default,ignoreActivitiesRelatedListPreferences:f.IgnoreActivityRelatedListPreferences,userHasActivitiesRelatedListsOnRecordHome:A.default,activitiesRelatedLists:f.ActivitiesRelatedLists,relatedListInfo:t!=null?t.data:undefined,objectApiName:e.objectApiName}}},paginatedRelatedListIds:{adapter:n.transformRelatedListInfosForCount,dynamic:[\"relatedLists\",\"pageSize\"],config:function(e){let t=e.filteredRelatedLists;let i=e.countPageSize;return{relatedLists:t!=null?t.data:undefined,pageSize:i!=null?i.data:undefined}}},relatedListsCounts:{adapter:d.unstable_getRelatedListsCount,dynamic:[\"parentRecordId\",\"relatedListNames\"],config:function(e){let t=e.paginatedRelatedListIds;return{parentRecordId:e.recordId,relatedListNames:t!=null?t.data:undefined}}}},fields:[\"_displayCalculationComplete\",\"instrumentation\",\"refreshID\"]});var Y=t.registerComponent(X,{tmpl:W,sel:\"lst-related-list-quick-links-grid\",apiVersion:59});e.default=Y;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"lst-related-list-quick-links-grid","descriptor":"markup://lst:relatedListQuickLinksGrid","n":"lst/relatedListQuickLinksGrid","ad":[["flexipageComponentInstanceIdentifier",null,"G",false],["recordId",null,"G",false],["objectApiName",null,"G",false],["objectInfo",null,"G",false],["truncateQuickLinks",null,"G",false,false],["hidePreviewOnHover",null,"G",false,false]]},{"xs":"P","co":"function() { $A.componentService.addModule('markup://lst:relatedListAppEventListener', \"lst/relatedListAppEventListener\",[\"exports\",\"lwc\",\"force/auraActionWrapper\"],function(e,t,r){function s(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var n=s(r);function a(e,t,r,s){const{c:a}=e;return[a(\"force-aura-action-wrapper\",n.default,{props:{descriptor:\"lst:relatedListAuraAppEventListener\",attributes:t.auraAttributes},key:0})]}var i=t.registerTemplate(a);a.stylesheets=[];a.stylesheetToken=\"lwc-1fjigsd7q2f\";a.legacyStylesheetToken=\"lst-relatedListAppEventListener_relatedListAppEventListener\";t.freezeTemplate(a);class l extends t.LightningElement{get auraAttributes(){return{}}}var p=t.registerComponent(l,{tmpl:i,sel:\"lst-related-list-app-event-listener\",apiVersion:59});e.default=p;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"lst-related-list-app-event-listener","descriptor":"markup://lst:relatedListAppEventListener","n":"lst/relatedListAppEventListener"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://one:unsavedChanges', \"one/unsavedChanges\",[\"exports\",\"one/utils\"],function(e,t){const n=Symbol(\"SetUnsavedChanges\");const s=Symbol(\"OnSave\");const a=Symbol(\"OnDiscard\");const i=Symbol(\"Label\");const o=Symbol(\"Guid\");const l=function(e,t){return new CustomEvent(\"privatelightningunsavedstatechanged\",{bubbles:true,composed:true,cancelable:true,detail:{isUnsaved:e,unsavedComponent:t}})};const u=e=>class extends e{constructor(){super();Object.defineProperties(this,{[o]:{value:t.guid(),writable:false},[i]:{value:null,writable:true}})}[n](e,t){if(t&&typeof t.label===\"string\"){this[i]=t.label}const n=l(e,this);this.dispatchEvent(n)}[s](e){this[n](false);if(typeof e===\"function\"){e(true)}}[a](e){this[n](false);if(typeof e===\"function\"){e(true)}}};u.SetUnsavedChanges=n;u.OnSave=s;u.OnDiscard=a;u.Label=i;u.Guid=o;e.UnsavedChangesMixin=u;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"one-unsaved-changes","descriptor":"markup://one:unsavedChanges","n":"one/unsavedChanges"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://feeds_chat:messageContent', \"feeds_chat/messageContent\",[\"exports\",\"lwc\",\"feeds_chat/messageLibrary\",\"feeds_chat/common\"],function(e,t,s,n){function o(e,t,s){var n=e?\"[\"+e+\"-host]\":\"\";return(t?\":host {\":n+\" {\")+\"display: block;--slds-g-color-neutral-base-95: white;}\"}var a=[o];const r={key:0};const c=[];function i(e,t,s,n){const{s:o}=e;return[o(\"\",r,c,s)]}var p=t.registerTemplate(i);i.slots=[\"\"];i.stylesheets=[];if(a){i.stylesheets.push.apply(i.stylesheets,a)}i.stylesheetToken=\"lwc-lr8pum10ld\";i.legacyStylesheetToken=\"feeds_chat-messageContent_messageContent\";t.freezeTemplate(i);class y extends t.LightningElement{constructor(...e){super(...e);this._type=s.MessageDirection.INBOUND;this._contentType=s.MessageContentType.TEXT;this._categoryType=s.MessageContentCategory.TEXT}get type(){return this._type}set type(e){this._type=n.normalizeString(e,s.MessageDirection,s.MessageDirection.INBOUND)}get contentType(){return this._contentType}set contentType(e){this._contentType=n.normalizeString(e,s.MessageContentType,s.MessageContentType.TEXT);this._categoryType=n.normalizeString(e,s.MessageContentCategory,s.MessageContentCategory.TEXT)}get computedMessageClass(){return`slds-chat-message__${this._categoryType} slds-chat-message__${this.contentType}_${this.type}`}connectedCallback(){this.classList.add(...this.computedMessageClass.split(\" \"))}}t.registerDecorators(y,{publicProps:{type:{config:3},contentType:{config:3}},fields:[\"_type\",\"_contentType\",\"_categoryType\"]});var g=t.registerComponent(y,{tmpl:p,sel:\"feeds_chat-message-content\",apiVersion:59});e.default=g;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"feeds_chat-message-content","descriptor":"markup://feeds_chat:messageContent","n":"feeds_chat/messageContent","ad":[["type",null,"G",false],["contentType",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://lst:relatedListSupport', \"lst/relatedListSupport\",[\"exports\",\"@salesforce/gate/rrh.useLWCRelatedLists.__test__\",\"@salesforce/accessCheck/isLWCRLHeaderActionsOffEnabled\",\"@salesforce/accessCheck/B2C.isPersonAccountsEnabled\",\"force/rrhAllowList\"],function(e,t,r,s,i){function _(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var a=_(t);var n=_(r);var l=_(s);const o={__test__:a.default.isOpen({fallback:false}),__c:{__history:true},__all__:i.getRelatedListEntities(),personaccount:{opportunitycontactrole:true}};const u={campaign:{account:true},account:{opportunitycontactrole:true}};function c(e){let{parentApiName:t,childApiName:r}=e;const{enabledRelatedLists:s,blockedRelatedLists:i}=e;if(!t||!r||!s||!i){return null}if(e.isUiApiSupported!==undefined&&!e.isUiApiSupported){return{isAura:true}}if(r.endsWith(\"__History\")){r=\"__history\"}if(t.endsWith(\"__c\")){t=\"__c\"}if(r.endsWith(\"__c\")){r=\"__c\"}if(l.default&&e.isPersonAccount){t=\"personaccount\"}t=t.toLowerCase();r=r.toLowerCase();if(s.__test__){return{isSupported:true}}if(d(t,r,i)){return{isAura:true}}if(f(t,r,s)){return{isSupported:true}}return{isAura:true}}function d(e,t,r){return r[e]&&r[e][t]||r.__all__&&r.__all__[t]||r[e]&&r[e].__all__}function f(e,t,r){return r[e]&&r[e][t]||i.isRelatedListEntity(t)||r[e]&&r[e].__all__||r.__all__&&r.__all__.__all__}const p=n.default;e.blockedRelatedLists=u;e.enabledRelatedLists=o;e.isSupportedRelatedList=c;e.rlHeaderActionsDisabled=p;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"lst-related-list-support","descriptor":"markup://lst:relatedListSupport","n":"lst/relatedListSupport"},{"xs":"P","co":"function() { $A.componentService.addModule('markup://lightning:baseRecordForm', \"lightning/baseRecordForm\",[\"exports\",\"lwc\",\"@salesforce/label/LightningRecordEditForm.apiNameMismatch\",\"lightning/recordEditUtils\",\"lightning/fieldUtils\",\"lightning/formDensityUtilsPrivate\",\"lightning/inputUtils\",\"lightning/utilsPrivate\",\"lightning/fieldDependencyManager\"],function(e,t,i,r,n,s,o,a,l){function d(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var c=d(i);const u=[];function h(e,t,i,r){return u}var p=t.registerTemplate(h);h.stylesheets=[];h.stylesheetToken=\"lwc-2ltb0mf7co2\";h.legacyStylesheetToken=\"lightning-baseRecordForm_baseRecordForm\";t.freezeTemplate(h);function f(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,r)}return i}function g(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?f(Object(i),!0).forEach(function(t){m(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):f(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function m(e,t,i){t=b(t);if(t in e){Object.defineProperty(e,t,{value:i,enumerable:true,configurable:true,writable:true})}else{e[t]=i}return e}function b(e){var t=y(e,\"string\");return typeof t===\"symbol\"?t:String(t)}function y(e,t){if(typeof e!==\"object\"||e===null)return e;var i=e[Symbol.toPrimitive];if(i!==undefined){var r=i.call(e,t||\"default\");if(typeof r!==\"object\")return r;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(t===\"string\"?String:Number)(e)}class _ extends t.LightningElement{get _objectApiName(){return this.wiredObjectApiName.data}get _recordId(){if(this.wiredRecordId){return this.wiredRecordId.data}return null}get _layoutType(){if(this.wiredLayoutType){return this.wiredLayoutType.data}return null}get createMode(){return!this._recordId}constructor(){super();this.fieldNames=void 0;this.formClass=void 0;this._pendingAction=false;this._rendered=false;this._pendingError=void 0;this._inServerErrorState=false;this._density=n.densityValues.AUTO;this._fieldLabelAlignment=n.labelAlignValues.HORIZONTAL;this._initialRender=true;this.recordUi=void 0;this.rewireData=o.debounce(()=>{this.handleData({data:this.wiredRecord})},0);this._formLayoutInterface=this.formLayoutInterface()}disconnectedCallback(){s.disconnectResizeObserver(this)}renderedCallback(){this._rendered=true;if(this._pendingError){this.handleErrors(this._pendingError)}if(this._initialRender){s.setLabelAlignment(this._formLayoutInterface);s.resetResizeObserver(this,this._formLayoutInterface,this._initialRender)}this._initialRender=false}get density(){return this._density}set density(e){s.doNormalization(e,this._formLayoutInterface);if(!this._initialRender){s.resetResizeObserver(this,this._formLayoutInterface)}}handleChange(){if(!this._inServerErrorState){return}this.inServerErrorState=false;const e=this.getInputFieldComponents();e.forEach(e=>{e.setErrors({})})}handleData({error:e,data:t}){if(e){this.handleErrors(e);return}else if(!t){return}this.wiredRecord=t;let i;if(this._recordId&&t.records&&t.records[this._recordId]){i=t.records[this._recordId]}else if(t.record){i=t.record}else{return}if(i.apiName!==this._objectApiName){const e=c.default.replace(\"{0}\",this._objectApiName).replace(\"{1}\",i.apiName);this.handleErrors({message:e});return}const r=n.getFieldsForLayout(t,this._objectApiName,this._layoutType);const s={record:i,objectInfo:t.objectInfos[this._objectApiName],objectInfos:t.objectInfos,createMode:!this._recordId,labelAlignment:this._fieldLabelAlignment,layoutFieldData:r};this.recordUi=s;this.record=i;this.getInputAndOutputComponents().forEach(e=>{e.wireRecordUi(s)});if(this._picklistValues){this.handlePicklistValues(this._picklistValues)}this.fetchFields(n.getMissingFields(s.objectInfo,s.record,this.getFields()))}fetchFields(e){const t=e.filter(e=>!this.optionalFields.includes(e));if(t.length){this.optionalFields=this.optionalFields.concat(t)}}handlePicklistValues(e){this._picklistValues=e;const{error:t,data:i}=e;if(t){this.handleErrors(t)}if(!i||!this.recordUi||this._objectApiName!==this.record.apiName){return}const n=r.filterByPicklistsInForm(this.recordUi.objectInfo,i.picklistFieldValues||i,this.getFullFieldNames());this._picklistValuesInForm=n;this.initDependencyManager({dependentFields:this.recordUi.objectInfo.dependentFields,picklistValues:n});this.getInputAndOutputComponents().forEach(e=>{e.wirePicklistValues(n)});this.dispatchLoadEvent()}validateForm(){const e=this.getInputFieldComponents();return r.validateForm(e)}submit(e){this.doSubmit(e).catch(e=>{this.handleErrors(e)})}doSubmit(e){return new Promise((t,i)=>{this._pendingAction=true;const n=this.createMode?null:this.recordUi.record;const s={fields:e?e:this.getFormValues(),apiName:this.createMode?this._objectApiName:null};if(this.recordTypeId){s.fields.RecordTypeId=this.recordTypeId}r.createOrSaveRecord(s,n,this.recordUi.objectInfo).then(e=>{this._pendingAction=false;const i=this.querySelector(\"lightning-messages\");if(i){i.setError(null)}this.cleanFields();this.dispatchEvent(new CustomEvent(\"success\",{composed:true,bubbles:true,detail:e}));t()},e=>{this._pendingAction=false;i(e)})})}getFormValues(){return r.getFormValues(this.getInputFieldComponents())}handleError(e){e.stopPropagation();this.handleErrors(e.detail.error)}handleErrors(e){if(!e){return}const t=this.querySelector(\"lightning-messages\");const i=a.deepCopy(e);if(!this._rendered){this._pendingError=i;return}this._pendingError=null;const n=this.getInputFieldComponents();if(i.body&&i.body.output&&i.body.output.fieldErrors){this._inServerErrorState=true;const e=n.map(e=>e.fieldName);Object.keys(i.body.output.fieldErrors).forEach(t=>{if(e.indexOf(t)===-1){i.body.detail=i.body.output.fieldErrors[t][0].message}})}if(t){t.setError(i)}n.forEach(e=>{e.setErrors(i)});this.dispatchEvent(r.createErrorEvent(i))}dispatchLoadEvent(){this.dispatchEvent(new CustomEvent(\"load\",{detail:g(g({},this.wiredRecord),{},{picklistValues:this._picklistValuesInForm})}))}handleRegister(){if(!this.wiredRecord){return}this.rewireData()}registerDependentField(e){e.stopPropagation();if(this._depManager){const{fieldName:t,fieldElement:i}=e.detail;this._depManager.registerField({fieldName:t,fieldElement:i})}}updateDependentFields(e){e.stopPropagation();if(this._depManager){this._depManager.handleFieldValueChange(e.detail.fieldName,e.detail.value)}}handleSubmit(e){const t=e.target===undefined||e.target===null;if(t||e.target.type!==\"submit\"){return}e.preventDefault();e.stopPropagation();if(!this.recordUi){return}if(!this.validateForm()){const e=this.template.querySelector(\"form\");if(e.reportValidity){e.reportValidity()}return}const i=JSON.parse(JSON.stringify(this.getFormValues()));const r=new CustomEvent(\"submit\",{composed:true,bubbles:true,cancelable:true,detail:{fields:i}});this.dispatchEvent(r);setTimeout(()=>{if(this._pendingAction){return}if(r.defaultPrevented){return}this._pendingAction=true;this.doSubmit().catch(e=>{this.handleErrors(e)})},0)}getInputFieldComponents(){return[...this.querySelectorAll(\"lightning-input-field\")]}getInputAndOutputComponents(){return[...this.querySelectorAll(\"lightning-input-field,lightning-output-field\")]}getFields(){return this.getInputAndOutputComponents().map(e=>e.fieldName)}getFullFieldNames(){const e=this.recordUi.objectInfo.apiName;return this.getFields().map(t=>`${e}.${t}`)}initDependencyManager(e){if(!this._depManager){this._depManager=new l.DependencyManager(e)}else{this._depManager.registerDependencyInfo(e)}}formLayoutInterface(){const e=this;return{getDensityPrivate(){return e._density},setDensityPrivate(t){e._density=t},getDensity(){return e.density},getLabelAlignmentPrivate(){return e._fieldLabelAlignment},getContainerElement(){return e.template.querySelector(\"form\")},getInputOutputFields(){return e.getInputAndOutputComponents()},setLabelAlignmentPrivate(t){e._fieldLabelAlignment=t},getRecordUi(){return e.recordUi},getResizeObserverCallback(t){return()=>{t(e._formLayoutInterface)}}}}cleanFields(){this.getInputFieldComponents().forEach(e=>{e.clean()})}}t.registerDecorators(_,{publicProps:{fieldNames:{config:0},formClass:{config:0},density:{config:3}},publicMethods:[\"submit\"],track:{recordUi:1},fields:[\"_pendingAction\",\"_rendered\",\"_pendingError\",\"_inServerErrorState\",\"_density\",\"_fieldLabelAlignment\",\"_initialRender\",\"rewireData\"]});var E=t.registerComponent(_,{tmpl:p,sel:\"lightning-base-record-form\",apiVersion:59});e.default=E;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"lightning-base-record-form","descriptor":"markup://lightning:baseRecordForm","n":"lightning/baseRecordForm","ad":[["fieldNames",null,"G",false],["formClass",null,"G",false],["density",null,"G",false]]},{"xs":"P","co":"function() { $A.componentService.addModule('markup://lightning:recordEditUtils', \"lightning/recordEditUtils\",[\"exports\",\"lightning/uiRecordApi\",\"lightning/utilsPrivate\",\"lightning/fieldUtils\"],function(e,t,r,i){function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,i)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){s(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function s(e,t,r){t=a(t);if(t in e){Object.defineProperty(e,t,{value:r,enumerable:true,configurable:true,writable:true})}else{e[t]=r}return e}function a(e){var t=u(e,\"string\");return typeof t===\"symbol\"?t:String(t)}function u(e,t){if(typeof e!==\"object\"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==undefined){var i=r.call(e,t||\"default\");if(typeof i!==\"object\")return i;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(t===\"string\"?String:Number)(e)}function d(e,t,r){const i=l(e,r);return f(t,i)}function c(e,t){return l(e,t).size>0}function l(e,t){const r=new Set;for(const n in e.fields){if(e.fields.hasOwnProperty(n)){const o=e.fields[n];if(o.dataType===i.Fields.PICKLIST||o.dataType===i.Fields.MULTI_PICKLIST){if(t.includes(`${e.apiName}.${n}`)||o.compoundFieldName&&t.includes(`${e.apiName}.${o.compoundFieldName}`)){r.add(o.apiName)}}}}return r}function f(e,t){return Object.keys(e).filter(e=>t.has(e)).reduce((t,r)=>o(o({},t),{},{[r]:e[r]}),{})}const p=\"LIGHTNING-OUTPUT-FIELD\";const y=\"012000000000000AAA\";function b(e){const t=Object.assign({},e);t.fields={};Object.keys(e.fields).forEach(r=>{if(e.fields[r]&&typeof e.fields[r]===\"object\"){t.fields[r]=e.fields[r]}else{t.fields[r]={value:e.fields[r]}}});return t}async function g(e,r,i){e.id=r.id;e.apiName=null;const n=t.generateRecordInputForUpdate(b(e),i);const o=t.createRecordInputFilteredByEditedFields(n,r);return t.updateRecord(o)}async function m(e,r){const i=b(e);const n=t.generateRecordInputForCreate(i,r);return t.createRecord(n)}async function O(e,t,r){if(t){return g(e,t,r)}return m(e,r)}function v(e){const t={};e.forEach(e=>{if(e.readOnly){return}if(e.value&&typeof e.value===\"object\"){if(e.value.longitude){const r=e.fieldName.slice(0,e.fieldName.indexOf(\"__c\"));t[r+\"__Longitude__s\"]=e.value.longitude;t[r+\"__Latitude__s\"]=e.value.latitude}else{Object.assign(t,e.value)}}else{t[e.fieldName]=e.value}});return t}function h(e){let t=\"\",r={},i=\"\";if(e){if(e.body&&e.body.output){t=e.body.message;if(e.body.output.errors.length>0){i=e.body.output.errors[0].message}else if(e.body.detail){i=e.body.detail}r=JSON.parse(JSON.stringify(e.body.output))}else if(Array.isArray(e.body)&&e.body.length>0){t=e.body[0].message;i=e.body[0].errorCode}else if(e.body&&e.body.message){t=e.body.message;i=e.body.detail?e.body.detail:\"\"}else if(e.body){t=e.body}else if(e.statusText){t.err=e.statusText}else if(e.message){t=e.message}else{t=e}}return{message:t,detail:i,output:r}}function j(e){const t=h(e);return new CustomEvent(\"error\",{detail:t})}class P{constructor(e){this._set=new Set;this._apiName=e}set objectApiName(e){this._apiName=e}add(e){this._set.add(e)}concat(e){e.forEach(e=>{this.add(e)})}getList(){const e=this._apiName;return[...this._set].map(t=>`${e}.${t}`)}getUnqualifiedList(){return[...this._set]}}function _(e){let t=true;e.forEach(e=>{if(e.tagName===p||!e.reportValidity){return}if(!e.reportValidity()){t=false}});return t}function N(e){return new P(e)}function I(e){const t=e.record;const r=e.objectInfo;const i=r.defaultRecordTypeId||y;if(!t.id){return i}return t.recordTypeId||i}Object.defineProperty(e,\"deepCopy\",{enumerable:true,get:function(){return r.deepCopy}});e.createErrorEvent=j;e.createOrSaveRecord=O;e.filterByPicklistsInForm=d;e.formHasPicklists=c;e.getFieldSet=N;e.getFormValues=v;e.getRecordTypeId=I;e.ldsCreateRecord=m;e.ldsUpdateRecord=g;e.parseError=h;e.validateForm=_;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"lightning-record-edit-utils","descriptor":"markup://lightning:recordEditUtils","n":"lightning/recordEditUtils"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://runtime_platform_actions:providerRecordDetailPle', \"runtime_platform_actions/providerRecordDetailPle\",[\"exports\",\"lwc\",\"runtime_platform_actions/actionLibrary\",\"runtime_platform_actions/providerBase\",\"lightning/uiRecordActionsApi\",\"lightning/uiRecordApi\",\"runtime_platform_actions/actionsUiUtils\",\"laf/templateApi\",\"laf/transformWire\",\"@salesforce/gate/komaciInLex.lasr.ltng\",\"@salesforce/gate/komaciInLexAction.lasr.ltng\",\"@salesforce/accessCheck/isActionsDelayHpSSTFetchingEnabled\"],function(e,t,i,o,a,n,r,c,s,d,l,u){function p(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var m=p(o);var f=p(d);var h=p(l);var A=p(u);const R=[];function g(e,t,i,o){return R}var b=t.registerTemplate(g);g.stylesheets=[];g.stylesheetToken=\"lwc-4t2rk5mpsv\";g.legacyStylesheetToken=\"runtime_platform_actions-providerRecordDetailPle_providerRecordDetailPle\";t.freezeTemplate(g);const T=i.ActionContext.RECORD_DETAIL;class F extends m.default{constructor(...e){super(...e);this.recordId=void 0;this.objectApiName=void 0;this.section=void 0;this._actionsRefreshSubscription=void 0;this._getRecordActionsResponse=void 0;this.wiredGeneratedOptionalFields=void 0;this.wiredGetRecord=void 0;this.wiredRecordLastModifiedTimestamp=void 0;this.wiredActionsFromLayout=void 0;this.wiredSimplifiedActionsData=void 0;this.wiredFilteredActionsFromLayout=void 0;this.wiredTemplatesToFetch=void 0}connectedCallback(){super.connectedCallback();this._actionsRefreshSubscription=i.subscribeToActionsRefresh(this.doRefresh.bind(this));this._actionRequestSubscription=i.subscribeToActionRequest(this.actionRequest.bind(this))}disconnectedCallback(){if(this._actionsRefreshSubscription&&this._actionsRefreshSubscription.unsubscribe){this._actionsRefreshSubscription.unsubscribe()}if(this._actionRequestSubscription&&this._actionRequestSubscription.unsubscribe){this._actionRequestSubscription.unsubscribe()}}get isKomaciEnabled(){return f.default.isOpen({fallback:false})&&h.default.isOpen({fallback:false})}doRefresh(){const{data:e,error:t}=this._getRecordActionsResponse?this._getRecordActionsResponse:{};if(e||t){n.refresh(this._getRecordActionsResponse)}}actionRequest({config:e,callback:t}){if(!e||!e.apiName||e.context!==i.ActionContext.RECORD_DETAIL||e.recordId!==this.recordId){return}const{apiName:o}=e;this.callbackWithActionIfAvailable(o,t)}gotRecord({data:e,error:t}){if(t||!e){return}const{value:i}=e;if(i&&i.data){if(this._getRecordResult!==undefined){this.doRefresh()}this._getRecordResult=i}}gotActionsFromLayout({data:e,error:t}){if(t||!e){return}const{value:i}=e;if(i&&i.data){this._getRecordActionsResponse=i}}gotFilteredActionsFromLayout({data:e,error:t}){if(t||!e){return}const{value:i}=e;if(i){this._templateIndexToActionId=null;const{data:e,error:t}=i;if(t){this.setActions(t);return}if(e){const{section:t,recordId:i,objectApiName:o}=this;this.createAndSetActions(e,{section:t,recordId:i,objectApiName:o},T);r.logMetricsForActionsContainer(e,\"actions_in_highlights\")}}}gotActionTemplates(e){if(e&&e.data&&this.wiredTemplatesToFetch&&this.wiredTemplatesToFetch.data){super.gotActionTemplates(e,this.wiredTemplatesToFetch.data.templatesToFetch,this.wiredTemplatesToFetch.data.templateIndexToActionId)}}onPrepareKomaciMetadata(e){if(e&&e.data){super.resolveData(e.data,\"provider-record-detail-ple\",this.wiredTemplatesToFetch.data.templateIndexToActionId)}}}t.registerDecorators(F,{publicProps:{recordId:{config:0},objectApiName:{config:0},section:{config:0}},wire:{wiredGeneratedOptionalFields:{adapter:s.generateFieldValues,dynamic:[\"objectApiName\"],config:function(e){return{fields:[\"SystemModstamp\"],objectApiName:e.objectApiName}}},wiredGetRecord:{adapter:n.getRecord,dynamic:[\"recordId\",\"optionalFields\"],config:function(e){let t=e.wiredGeneratedOptionalFields;return{recordId:e.recordId,optionalFields:t!=null?t.data:undefined}}},wiredRecordLastModifiedTimestamp:{adapter:s.convertDateToTimestamp,dynamic:[\"date\"],config:function(e){let t=e.wiredGetRecord;return{date:t!=null&&(t=t.data)!=null?t.lastModifiedDate:undefined}}},gotRecord:{adapter:s.actionsIdentity,dynamic:[\"value\"],method:1,config:function(e){return{value:e.wiredGetRecord}}},wiredActionsFromLayout:{adapter:a.getRecordActions,dynamic:[\"recordIds\",\"sections\"],config:function(e){return{recordIds:e.recordId,sections:e.section}}},gotActionsFromLayout:{adapter:s.actionsIdentity,dynamic:[\"value\"],method:1,config:function(e){return{value:e.wiredActionsFromLayout}}},wiredSimplifiedActionsData:{adapter:s.actionsGetActionsFromActionsResponse,dynamic:[\"contextId\",\"actionData\"],config:function(e){let t=e.wiredActionsFromLayout;return{contextId:e.recordId,actionData:t!=null?t.data:undefined}}},wiredFilteredActionsFromLayout:{adapter:s.actionsFilterBlocklistedActionsForDesktop,dynamic:[\"actions\"],config:function(e){let t=e.wiredSimplifiedActionsData;return{actions:t!=null?t.data:undefined}}},gotFilteredActionsFromLayout:{adapter:s.actionsIdentity,dynamic:[\"value\"],method:1,config:function(e){return{value:e.wiredFilteredActionsFromLayout}}},wiredTemplatesToFetch:{adapter:s.actionsDetermineTemplateWireInput,dynamic:[\"actions\",\"objectApiName\",\"recordId\",\"timestamp\"],config:function(e){let t=e.wiredFilteredActionsFromLayout;let i=e.wiredRecordLastModifiedTimestamp;return{context:\"RECORD_DETAIL\",delaySSTFetching:A.default,actions:t!=null?t.data:undefined,objectApiName:e.objectApiName,recordId:e.recordId,timestamp:i!=null?i.data:undefined}}},gotActionTemplates:{adapter:c.getRecordDetailActionTemplates,dynamic:[\"actions\"],method:1,config:function(e){let t=e.wiredTemplatesToFetch;return{actions:t!=null&&(t=t.data)!=null?t.templatesToFetch:undefined}}},onPrepareKomaciMetadata:{adapter:s.prepareKomaciMetadata,dynamic:[\"actions\",\"isKomaciEnabled\"],method:1,config:function(e){let t=e.wiredTemplatesToFetch;return{actions:t!=null&&(t=t.data)!=null?t.templatesToFetch:undefined,isKomaciEnabled:e.isKomaciEnabled}}}},fields:[\"_actionsRefreshSubscription\",\"_getRecordActionsResponse\"]});var _=t.registerComponent(F,{tmpl:b,sel:\"runtime_platform_actions-provider-record-detail-ple\",apiVersion:59});e.default=_;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"runtime_platform_actions-provider-record-detail-ple","descriptor":"markup://runtime_platform_actions:providerRecordDetailPle","n":"runtime_platform_actions/providerRecordDetailPle","ad":[["recordId",null,"G",false],["objectApiName",null,"G",false],["section",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://feeds_chat:messageA11y', \"feeds_chat/messageA11y\",[\"exports\",\"lwc\",\"feeds_chat/common\"],function(e,s,t){function a(e,s,t){var a=e?\"[\"+e+\"]\":\"\";return\".messageAccessible\"+a+\" {position: absolute;height: 1px;width: 1px;overflow: hidden;clip-path: circle(0%);}\"}var i=[a];const n={key:0};const r=[];const c={messageAccessible:true};const o={key:2};function l(e,s,t,a){const{s:i,d:l,t:h,h:u}=e;return[i(\"\",n,r,t),u(\"div\",{classMap:c,attrs:{\"aria-live\":s.ariaLive,\"aria-atomic\":\"true\"},key:1},[u(\"pre\",o,[h(l(s.ariaMessage))])])]}var h=s.registerTemplate(l);l.slots=[\"\"];l.stylesheets=[];if(i){l.stylesheets.push.apply(l.stylesheets,i)}l.stylesheetToken=\"lwc-4jrrruvnlup\";l.legacyStylesheetToken=\"feeds_chat-messageA11y_messageA11y\";s.freezeTemplate(l);const u={OFF:\"off\",POLITE:\"polite\",ASSERTIVE:\"assertive\"};function g(e,s){if(e&&s){s.focus()}}function d(e,s){if(typeof s!==\"string\"){return\"\"}return e===s?s+\" \":s}class f extends s.LightningElement{get ariaLive(){return this._ariaLive}set ariaLive(e){this._ariaLive=t.normalizeString(e,u,u.POLITE)}announceMessage(){this.messageBlocks=this.querySelectorAll(\"[data-a11y-block]\");this.currentMessageIndex=this.messageBlocks?.length-1;if(this.messageBlocks?.length>0&&this.currentMessageIndex<this.messageBlocks?.length){this.announceBlock()}}constructor(){super();this._ariaLive=u.POLITE;this.currentMessageIndex=-1;this.ariaMessage=void 0;this.messageBlocks=[];this.blockCount=void 0;this.addEventListener(\"keydown\",e=>this.handleKeyEvents(e))}announceBlock(){const e=this.messageBlocks[this.currentMessageIndex];if(e){const s=e?.innerText;this.ariaMessage=d(this.ariaMessage,s)}}focusBlock(){g(true,this.messageBlocks[this.currentMessageIndex]);this.announceBlock()}handleKeyEvents(e){const s=this.messageBlocks?.length;switch(e.key){case\"ArrowUp\":if(this.currentMessageIndex>0){this.currentMessageIndex--}this.focusBlock();break;case\"ArrowDown\":if(this.currentMessageIndex<s-1){this.currentMessageIndex++}this.focusBlock();break;case\"Home\":this.currentMessageIndex=0;this.focusBlock();break;case\"End\":this.currentMessageIndex=s-1;this.focusBlock();break}}}s.registerDecorators(f,{publicProps:{ariaLive:{config:3}},publicMethods:[\"announceMessage\"],track:{currentMessageIndex:1,ariaMessage:1},fields:[\"_ariaLive\",\"messageBlocks\",\"blockCount\"]});var k=s.registerComponent(f,{tmpl:h,sel:\"feeds_chat-message-a11y\",apiVersion:59});e.default=k;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"feeds_chat-message-a11y","descriptor":"markup://feeds_chat:messageA11y","n":"feeds_chat/messageA11y","ad":[["ariaLive",null,"G",false]]},{"xs":"P","co":"function() { $A.componentService.addModule('markup://lst:relatedListSingleAuraWrapper', \"lst/relatedListSingleAuraWrapper\",[\"exports\",\"lwc\",\"lst/stencilRelatedListSingle\",\"aura\",\"laf/pageCapability\",\"lst/listViewManagerLibrary\",\"lightning/refresh\",\"@salesforce/gate/lasr.refreshViewAPI\",\"o11y/client\"],function(e,t,i,a,r,s,n,d,o){function l(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var h=l(i);var p=l(d);function c(e,t,i,a){const{h:r,c:s}=e;return[t.readyToRender?r(\"div\",{className:t.hideBehindStencil,attrs:{\"data-this-triggers-rerenders\":t.auraAttributes},key:0}):null,!t.relatedListCreated?s(\"lst-stencil-related-list-single\",h.default,{props:{flexipageRegionWidth:t.flexipageRegionWidth,relatedListApiName:t.relatedListApiName,relatedListComponentOverride:t.relatedListComponentOverride,rowsToDisplay:t.rowsToDisplay,label:t.label,themeInfo:t.themeInfo,showHeader:true},key:1}):null]}var f=t.registerTemplate(c);c.stylesheets=[];c.stylesheetToken=\"lwc-6hu9pu6rh80\";c.legacyStylesheetToken=\"lst-relatedListSingleAuraWrapper_relatedListSingleAuraWrapper\";t.freezeTemplate(c);const u=\"force:relatedListSingleContainer\";let m=null;let L=[];function g(e,t){L.push([e,t]);if(m===null){m=requestAnimationFrame(b)}}function b(){const e=L;L=[];m=null;e.forEach(([e,t])=>{if(e&&e.isValid&&e.isValid()){a.renderComponent(e,t)}})}class A extends(r.CapabilityMixin(t.LightningElement)){constructor(){super();this.flexipageRegionWidth=void 0;this.objectApiName=void 0;this.parentFieldApiName=void 0;this.recordId=void 0;this.relatedListApiName=void 0;this.relatedListComponentOverride=void 0;this.rowsToDisplay=void 0;this.label=void 0;this.showActionBar=void 0;this.relatedListMetadata=void 0;this.requireMetadataInjection=false;this.embededAuraComponent=void 0;this.relatedListCreated=false;this.hideBehindStencil=\"slds-hide\";this.refreshID=void 0;this.instrumentation=o.getInstrumentation(\"relatedListSingleAuraWrapper\");this.handleRelatedListLoaded=this._handleRelatedListLoaded.bind(this)}get readyToRender(){return!this.requireMetadataInjection||this.relatedListMetadata}createRelatedList(e){const t=this.template.querySelector(\"div\");if(!t){return}t.addEventListener(\"relatedListDataLoaded\",this.handleRelatedListLoaded);a.getDefinition(u,()=>{a.createComponent(u,e,e=>{this.embededAuraComponent=e;g(e,t)},true,t)},true)}_handleRelatedListLoaded(){this.relatedListCreated=true;this.hideBehindStencil=\"\"}unrenderComponent(){if(this.embededAuraComponent){window.$A.unrender(this.embededAuraComponent);this.embededAuraComponent.destroy()}}renderedCallback(){if((!this.requireMetadataInjection||this.relatedListMetadata)&&!this.embededAuraComponent){this.createRelatedList(this.auraAttributes)}else if(this.embededAuraComponent){const e=this.embededAuraComponent;if(this.requireMetadataInjection&&e.get(\"v.recordId\")!==this.recordId){this.unrenderComponent();this.embededAuraComponent=null;this.createRelatedList(this.auraAttributes)}}}connectedCallback(){if(p.default.isOpen({fallback:false})){this.refreshID=n.registerRefreshHandler(this,this.refresh)}else{this[r.CapabilityMixin.ExposeCapabilities]({[r.RefreshCapability]:this.refresh.bind(this)})}}disconnectedCallback(){this.unrenderComponent();if(p.default.isOpen({fallback:false})){n.unregisterRefreshHandler(this.refreshID)}this[r.CapabilityMixin.ConcealCapabilities]();const e=this.template.querySelector(\"div\");if(e){e.removeEventListener(\"relatedListDataLoaded\",this.handleRelatedListLoaded)}}refresh(){return this.instrumentation.activityAsync(\"refreshView\",()=>{if(this.embededAuraComponent){const e=this.embededAuraComponent.get(\"e.refresh\");if(e){e.setComponentEvent();e.fire()}}return Promise.resolve(false)})}get auraAttributes(){const e={recordId:this.recordId,parentFieldApiName:this.parentFieldApiName,parentEntityApiName:this.objectApiName,relatedListApiName:this.relatedListApiName,relatedListComponentOverride:this.relatedListComponentOverride,width:this.flexipageRegionWidth,rowsToDisplay:this.rowsToDisplay,partOfContainer:\"LWC\",showActionBar:this.showActionBar,disableIntersectionObserver:true};if(this.relatedListMetadata){const t={relatedListApiName:this.relatedListApiName,themeIcon:this.relatedListMetadata.themeInfo.iconUrl,themeColor:this.relatedListMetadata.themeInfo.color,relatedSObject:this.relatedListMetadata.objectApiName,entityKeyPrefix:this.relatedListMetadata.keyPrefix,showActions:true,relatedKeyPrefixes:s.yamlConfiguration.getSObjectRelatedKeyPrefixes(this.relatedListMetadata.objectApiName),isHiddenByDefault:false,widthConfigMap:s.relatedListExtensions.getWidthConfiguration(this.relatedListMetadata.objectApiName,this.objectApiName),label:this.label};e.relatedListConfig=t;return e}if(!this.requireMetadataInjection){return e}return undefined}get themeInfo(){if(this.relatedListMetadata){return this.relatedListMetadata.themeInfo}return{}}}t.registerDecorators(A,{publicProps:{flexipageRegionWidth:{config:0},objectApiName:{config:0},parentFieldApiName:{config:0},recordId:{config:0},relatedListApiName:{config:0},relatedListComponentOverride:{config:0},rowsToDisplay:{config:0},label:{config:0},showActionBar:{config:0},relatedListMetadata:{config:0},requireMetadataInjection:{config:0}},publicMethods:[\"refresh\"],track:{embededAuraComponent:1,relatedListCreated:1,hideBehindStencil:1},fields:[\"refreshID\",\"instrumentation\"]});var C=t.registerComponent(A,{tmpl:f,sel:\"lst-related-list-single-aura-wrapper\",apiVersion:59});e.default=C;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"lst-related-list-single-aura-wrapper","descriptor":"markup://lst:relatedListSingleAuraWrapper","n":"lst/relatedListSingleAuraWrapper","ad":[["flexipageRegionWidth",null,"G",false],["objectApiName",null,"G",false],["parentFieldApiName",null,"G",false],["recordId",null,"G",false],["relatedListApiName",null,"G",false],["relatedListComponentOverride",null,"G",false],["rowsToDisplay",null,"G",false],["label",null,"G",false],["showActionBar",null,"G",false],["relatedListMetadata",null,"G",false],["requireMetadataInjection",null,"G",false,false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://feeds_paging:showPreviousTrigger', \"feeds_paging/showPreviousTrigger\",[\"exports\",\"lwc\",\"feeds_paging/showEventTrigger\"],function(e,r,t){function s(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var o=s(t);function i(e,r,t,s){const{c:i}=e;return[i(\"feeds_paging-show-event-trigger\",o.default,{props:{eventName:\"showprevious\",label:r.label},key:0})]}var n=r.registerTemplate(i);i.stylesheets=[];i.stylesheetToken=\"lwc-473189pb8tk\";i.legacyStylesheetToken=\"feeds_paging-showPreviousTrigger_showPreviousTrigger\";r.freezeTemplate(i);class g extends r.LightningElement{constructor(...e){super(...e);this.label=void 0}}r.registerDecorators(g,{publicProps:{label:{config:0}}});var l=r.registerComponent(g,{tmpl:n,sel:\"feeds_paging-show-previous-trigger\",apiVersion:59});e.default=l;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"feeds_paging-show-previous-trigger","descriptor":"markup://feeds_paging:showPreviousTrigger","n":"feeds_paging/showPreviousTrigger","ad":[["label",null,"G",false]]},{"xs":"P","co":"function() { $A.componentService.addModule('markup://lst:stencilRelatedListQuickLinksContainer', \"lst/stencilRelatedListQuickLinksContainer\",[\"exports\",\"lwc\",\"lst/stencilTable\"],function(e,t,s){function i(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var n=i(s);function l(e,t,s,i){const{c:l}=e;return[l(\"lst-stencil-table\",n.default,{props:{size:t.bodyAttributes.size,columns:t.bodyAttributes.columns},key:0})]}var r=t.registerTemplate(l);l.stylesheets=[];l.stylesheetToken=\"lwc-2lcag5sspdj\";l.legacyStylesheetToken=\"lst-stencilRelatedListQuickLinksContainer_stencilRelatedListQuickLinksContainer\";t.freezeTemplate(l);class c extends t.LightningElement{constructor(...e){super(...e);this.bodyAttributes={}}connectedCallback(){this.bodyAttributes={size:5,columns:2}}}t.registerDecorators(c,{fields:[\"bodyAttributes\"]});var o=t.registerComponent(c,{tmpl:r,sel:\"lst-stencil-related-list-quick-links-container\",apiVersion:59});e.default=o;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"lst-stencil-related-list-quick-links-container","descriptor":"markup://lst:stencilRelatedListQuickLinksContainer","n":"lst/stencilRelatedListQuickLinksContainer"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://forceHelp:linkToSalesforceHelp', \"forceHelp/linkToSalesforceHelp\",[\"exports\",\"lwc\",\"forcehelp/link\",\"forcehelp/commons\"],function(e,t,r,i){function l(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var o=l(r);const c={key:1};const a=[];function s(e,t,r,i){const{s:l,c:s}=e;return[s(\"forcehelp-link\",o.default,{props:{type:\"salesforce help\",pathPrefix:t.pathPrefix,label:t.label,href:t.href,title:t.title},key:0},[l(\"\",c,a,r)])]}var n=t.registerTemplate(s);s.slots=[\"\"];s.stylesheets=[];s.stylesheetToken=\"lwc-1qrh7nnui8u\";s.legacyStylesheetToken=\"forceHelp-linkToSalesforceHelp_linkToSalesforceHelp\";t.freezeTemplate(s);class h extends i.BaseLink{constructor(...e){super(...e);this.domain=\"https://help.salesforce.com\";this.label=void 0;this.title=void 0;this.page=void 0;this.docArticle=void 0;this.knowledgeArticle=void 0;this.searchTerm=void 0;this.templates={home:{path:\"home\"},docArticle:{path:\"articleView\",query:\"id={docArticle}.htm\"},knowledgeArticle:{path:\"articleView\",query:\"id={knowledgeArticle}&type=1\"},search:{path:\"search\",query:\"sfContex\",fragment:\"q={searchTerm}\"},searchHome:{path:\"search\",query:\"sfContex\"},trainingCatalog:{path:\"htsctrainingcatalog\"}}}get path(){return this.make(\"path\")}get query(){return this.make(\"query\")}get fragment(){return this.make(\"fragment\")}getParams(){return{type:this.type,docArticle:this.docArticle,knowledgeArticle:this.knowledgeArticle,searchTerm:this.searchTerm}}getTemplateName(){if(this.page===\"training catalog\"){return\"trainingCatalog\"}if(this.docArticle){return\"docArticle\"}if(this.knowledgeArticle){return\"knowledgeArticle\"}if(this.searchTerm){return\"search\"}if(this.searchTerm===\"\"||this.searchTerm===null){return\"searchHome\"}return\"home\"}}t.registerDecorators(h,{publicProps:{label:{config:0},title:{config:0},page:{config:0},docArticle:{config:0},knowledgeArticle:{config:0},searchTerm:{config:0},path:{config:1},query:{config:1},fragment:{config:1}},fields:[\"domain\",\"templates\"]});var p=t.registerComponent(h,{tmpl:n,sel:\"forceHelp-link-to-salesforce-help\",apiVersion:59});h.interopMap={exposeNativeEvent:{click:true,focus:true,blur:true}};e.default=p;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"forceHelp-link-to-salesforce-help","descriptor":"markup://forceHelp:linkToSalesforceHelp","n":"forceHelp/linkToSalesforceHelp","ad":[["label",null,"G",false],["title",null,"G",false],["page",null,"G",false],["docArticle",null,"G",false],["knowledgeArticle",null,"G",false],["searchTerm",null,"G",false],["path",null,"G",false],["query",null,"G",false],["fragment",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://feeds_paging:showMoreTrigger', \"feeds_paging/showMoreTrigger\",[\"exports\",\"lwc\",\"feeds_paging/showEventTrigger\"],function(e,r,t){function s(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var o=s(t);function n(e,r,t,s){const{c:n}=e;return[n(\"feeds_paging-show-event-trigger\",o.default,{props:{eventName:\"showmore\",label:r.label},key:0})]}var g=r.registerTemplate(n);n.stylesheets=[];n.stylesheetToken=\"lwc-5tspaf0ia3n\";n.legacyStylesheetToken=\"feeds_paging-showMoreTrigger_showMoreTrigger\";r.freezeTemplate(n);class i extends r.LightningElement{constructor(...e){super(...e);this.label=void 0}}r.registerDecorators(i,{publicProps:{label:{config:0}}});var l=r.registerComponent(i,{tmpl:g,sel:\"feeds_paging-show-more-trigger\",apiVersion:59});e.default=l;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"feeds_paging-show-more-trigger","descriptor":"markup://feeds_paging:showMoreTrigger","n":"feeds_paging/showMoreTrigger","ad":[["label",null,"G",false]]},{"xs":"P","co":"function() { $A.componentService.addModule('markup://forceHelp:link', \"forceHelp/link\",[\"exports\",\"lwc\",\"instrumentation/service\"],function(e,t,i){const l={key:1};const r=[];function n(e,t,i,n){const{b:s,s:a,d:o,t:c,h:h}=e;const{_m0:u}=n;return[h(\"a\",{className:t.computedClass,attrs:{href:t.computedHref,\"aria-label\":t.computedAriaLabel,title:t.title,target:t.target,rel:t.rel},key:0,on:{click:u||(n._m0=s(t.handleClick))}},[a(\"\",l,r,i),c(o(t.label))])]}var s=t.registerTemplate(n);n.slots=[\"\"];n.stylesheets=[];n.stylesheetToken=\"lwc-6c566087mv4\";n.legacyStylesheetToken=\"forceHelp-link_link\";t.freezeTemplate(n);class a extends t.LightningElement{constructor(...e){super(...e);this.type=void 0;this.label=void 0;this.href=void 0;this.ariaLabel=void 0;this.className=void 0;this.title=void 0;this.target=\"_blank\";this.pathPrefix=\"\";this.rel=void 0}focus(){this.linkElement.focus()}blur(){this.linkElement.blur()}get computedHref(){return this.href?(this.pathPrefix||\"\")+\"/HelpAndTrainingDoor?version=2&resource=\"+encodeURIComponent(this.href):\"\"}get computedClass(){return this.className||\"\"}get computedAriaLabel(){return this.ariaLabel||\"default ariaLabel\"}get linkElement(){return this.template.querySelector(\"a\")}handleClick(){i.interaction(\"global-help-and-training-link\",\"global-help-and-training\",{type:this.type,href:this.href},\"synthetic-click\")}}t.registerDecorators(a,{publicProps:{type:{config:0},label:{config:0},href:{config:0},ariaLabel:{config:0},className:{config:0},title:{config:0},target:{config:0},pathPrefix:{config:0},rel:{config:0}},publicMethods:[\"focus\",\"blur\"]});var o=t.registerComponent(a,{tmpl:s,sel:\"forceHelp-link\",apiVersion:59});a.interopMap={exposeNativeEvent:{click:true,focus:true,blur:true}};e.default=o;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"forceHelp-link","descriptor":"markup://forceHelp:link","n":"forceHelp/link","ad":[["type",null,"G",true],["label",null,"G",false],["href",null,"G",true],["ariaLabel",null,"G",false],["className",null,"G",false],["title",null,"G",false],["target",null,"G",false,"_blank"],["pathPrefix",null,"G",false,""],["rel",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://lightning:popupSource', \"lightning/popupSource\",[\"exports\",\"lwc\",\"lightning/bubble\",\"lightning/popup\",\"lightning/utilsPrivate\",\"lightning/popoverUtils\"],function(t,e,n,i,o,r){function l(t){return t&&typeof t===\"object\"&&\"default\"in t?t:{default:t}}var a=l(n);var s=l(i);function p(t,e,n){var i=t?\"[\"+t+\"]\":\"\";var o=t?\"[\"+t+\"-host]\":\"\";return(e?':host([data-render-mode=\"shadow\"]) ':o+'[data-render-mode=\"shadow\"] ')+i+\"::slotted(.slds-float_right) {float: right;}\"+(e?':host([data-render-mode=\"shadow\"]) ':o+'[data-render-mode=\"shadow\"] ')+i+\"::slotted(.slds-media) {display: flex;align-items: flex-start;}\"+(e?':host([data-render-mode=\"shadow\"]) ':o+'[data-render-mode=\"shadow\"] ')+i+\"::slotted(.slds-media__body) {display: flex;align-items: flex-start;}\"}var O=[p];const c={key:0};const T={attrs:{name:\"source\"},key:1};const u=[];const h={key:4};function g(t,e,n,i){const{s:o,h:r,b:l,c:p}=t;const{_m0:O,_m1:g,_m2:f}=i;return[r(\"div\",c,[o(\"source\",T,u,n)]),p(\"lightning-popup\",s.default,{key:2,on:{alignmentupdate:O||(i._m0=l(e.handleAlignmentUpdate)),clickout:g||(i._m1=l(e.handleClickOut)),close:f||(i._m2=l(e.handleClose))}},[p(\"lightning-bubble\",a.default,{props:{size:e._size,alignment:e._nubbinAlignment},key:3},[o(\"\",h,u,n)])])]}var f=e.registerTemplate(g);g.slots=[\"\",\"source\"];g.stylesheets=[];if(O){g.stylesheets.push.apply(g.stylesheets,O)}g.stylesheetToken=\"lwc-678p70dkh4u\";g.legacyStylesheetToken=\"lightning-popupSource_popupSource\";e.freezeTemplate(g);const N={CLOSE:\"close\",OPEN:\"open\",CLICK_OUT:\"clickout\"};const d={SOURCE:\"div\"};const _=1.2;const m=0;const I={[r.ALIGNMENT_OPTIONS.TOP_LEFT]:{reference:{vertical:\"top\",horizontal:\"left\"},popup:{vertical:\"bottom\",horizontal:\"left\"},padding:_,offset:-m},[r.ALIGNMENT_OPTIONS.TOP]:{reference:{vertical:\"top\",horizontal:\"center\"},popup:{vertical:\"bottom\",horizontal:\"center\"},padding:_,offset:0},[r.ALIGNMENT_OPTIONS.TOP_RIGHT]:{reference:{vertical:\"top\",horizontal:\"right\"},popup:{vertical:\"bottom\",horizontal:\"right\"},padding:_,offset:-m},[r.ALIGNMENT_OPTIONS.RIGHT_TOP]:{reference:{vertical:\"top\",horizontal:\"right\"},popup:{vertical:\"top\",horizontal:\"left\"},padding:_,offset:m},[r.ALIGNMENT_OPTIONS.RIGHT]:{reference:{vertical:\"center\",horizontal:\"right\"},popup:{vertical:\"center\",horizontal:\"left\"},padding:_,offset:0},[r.ALIGNMENT_OPTIONS.RIGHT_BOTTOM]:{reference:{vertical:\"bottom\",horizontal:\"right\"},popup:{vertical:\"bottom\",horizontal:\"left\"},padding:_,offset:m},[r.ALIGNMENT_OPTIONS.BOTTOM_RIGHT]:{reference:{vertical:\"bottom\",horizontal:\"right\"},popup:{vertical:\"top\",horizontal:\"right\"},padding:-_,offset:-m},[r.ALIGNMENT_OPTIONS.BOTTOM]:{reference:{vertical:\"bottom\",horizontal:\"center\"},popup:{vertical:\"top\",horizontal:\"center\"},padding:-_,offset:0},[r.ALIGNMENT_OPTIONS.BOTTOM_LEFT]:{reference:{vertical:\"bottom\",horizontal:\"left\"},popup:{vertical:\"top\",horizontal:\"left\"},padding:-_,offset:-m},[r.ALIGNMENT_OPTIONS.LEFT_BOTTOM]:{reference:{vertical:\"bottom\",horizontal:\"left\"},popup:{vertical:\"bottom\",horizontal:\"right\"},padding:-_,offset:m},[r.ALIGNMENT_OPTIONS.LEFT]:{reference:{vertical:\"center\",horizontal:\"left\"},popup:{vertical:\"center\",horizontal:\"right\"},padding:-_,offset:0},[r.ALIGNMENT_OPTIONS.LEFT_TOP]:{reference:{vertical:\"top\",horizontal:\"left\"},popup:{vertical:\"top\",horizontal:\"right\"},padding:-_,offset:m}};const b={[r.ALIGNMENT_OPTIONS.TOP_LEFT]:\"bottom left\",[r.ALIGNMENT_OPTIONS.TOP]:\"bottom\",[r.ALIGNMENT_OPTIONS.TOP_RIGHT]:\"bottom right\",[r.ALIGNMENT_OPTIONS.RIGHT_TOP]:\"left top\",[r.ALIGNMENT_OPTIONS.RIGHT]:\"left\",[r.ALIGNMENT_OPTIONS.RIGHT_BOTTOM]:\"left bottom\",[r.ALIGNMENT_OPTIONS.BOTTOM_LEFT]:\"top left\",[r.ALIGNMENT_OPTIONS.BOTTOM]:\"top\",[r.ALIGNMENT_OPTIONS.BOTTOM_RIGHT]:\"top right\",[r.ALIGNMENT_OPTIONS.LEFT_TOP]:\"right top\",[r.ALIGNMENT_OPTIONS.LEFT]:\"right\",[r.ALIGNMENT_OPTIONS.LEFT_BOTTOM]:\"right bottom\"};function P(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function E(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?P(Object(n),!0).forEach(function(e){v(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function v(t,e,n){e=S(e);if(e in t){Object.defineProperty(t,e,{value:n,enumerable:true,configurable:true,writable:true})}else{t[e]=n}return t}function S(t){var e=L(t,\"string\");return typeof e===\"symbol\"?e:String(e)}function L(t,e){if(typeof t!==\"object\"||t===null)return t;var n=t[Symbol.toPrimitive];if(n!==undefined){var i=n.call(t,e||\"default\");if(typeof i!==\"object\")return i;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(e===\"string\"?String:Number)(t)}class M extends e.LightningElement{constructor(...t){super(...t);this._size=null;this._alignment=null;this._alignmentOptions=null;this._nubbinAlignment=null;this._isOpen=false}open(t={}){if(this._isOpen){return}this._size=o.normalizeString(t.size,{fallbackValue:r.SIZE_OPTIONS.MEDIUM,validValues:Object.values(r.SIZE_OPTIONS)});this._alignment=o.normalizeString(t.alignment,{fallbackValue:r.ALIGNMENT_OPTIONS.BOTTOM,validValues:Object.values(r.ALIGNMENT_OPTIONS)});const e=o.isUndefinedOrNull(t.autoFlip)?true:o.normalizeBoolean(t.autoFlip);this._alignmentOptions=E(E({},this.getPopupAlignmentOptionsByAlignment(this._alignment)),{},{autoFlip:e});this._nubbinAlignment=this.getPopupNubbinAlignmentByAlignment(this._alignment);const n=this.template.querySelector(d.SOURCE);this.popup.show(n,this._alignmentOptions);this.dispatchEvent(new CustomEvent(N.OPEN));this._isOpen=true}close(){this._isOpen=false;if(this.popup){this.popup.close()}this.dispatchEvent(new CustomEvent(N.CLOSE))}get isOpen(){return this._isOpen}get popup(){return this.template.querySelector(\"lightning-popup\")}handleAlignmentUpdate(t){const e=t.target.alignment.horizontal!==\"center\"?t.target.alignment.horizontal:\"\";const n=t.target.alignment.vertical!==\"center\"?t.target.alignment.vertical:\"\";if([r.ALIGNMENT_OPTIONS.TOP_LEFT,r.ALIGNMENT_OPTIONS.TOP,r.ALIGNMENT_OPTIONS.TOP_RIGHT,r.ALIGNMENT_OPTIONS.BOTTOM_LEFT,r.ALIGNMENT_OPTIONS.BOTTOM,r.ALIGNMENT_OPTIONS.BOTTOM_RIGHT].includes(this._alignment)){this._nubbinAlignment=`${n} ${e}`.trim()}else{this._nubbinAlignment=`${e} ${n}`.trim()}}handleClose(){if(this._isOpen){this._isOpen=false;this.dispatchEvent(new CustomEvent(N.CLOSE))}}handleClickOut(t){t.preventDefault();this.dispatchEvent(new CustomEvent(N.CLICK_OUT))}getPopupAlignmentOptionsByAlignment(t){return I[t]}getPopupNubbinAlignmentByAlignment(t){return b[t]}}e.registerDecorators(M,{publicProps:{isOpen:{config:1}},publicMethods:[\"open\",\"close\"],track:{_size:1,_nubbinAlignment:1},fields:[\"_alignment\",\"_alignmentOptions\",\"_isOpen\"]});var A=e.registerComponent(M,{tmpl:f,sel:\"lightning-popup-source\",apiVersion:59});t.default=A;Object.defineProperty(t,\"__esModule\",{value:true})});\n}","ce":"lightning-popup-source","descriptor":"markup://lightning:popupSource","n":"lightning/popupSource","ad":[["isOpen",null,"G",false]]},{"xs":"P","co":"function() { $A.componentService.addModule('markup://laf:intersectionObserverCompat', \"laf/intersectionObserverCompat\",[\"exports\"],function(t){let e;const n=11;const o=1;function i(t){if(!t){return}this.time=t.time;this.target=t.target;this.rootBounds=t.rootBounds;this.boundingClientRect=t.boundingClientRect;this.intersectionRect=t.intersectionRect||l();this.isIntersecting=!!t.intersectionRect;const e=this.boundingClientRect;const n=e.width*e.height;const o=this.intersectionRect;const i=o.width*o.height;if(n){this.intersectionRatio=i/n}else{this.intersectionRatio=this.isIntersecting?1:0}}function r(){return window.performance&&performance.now&&performance.now()}function s(t,e){let n=null;return function(){if(!n){n=requestAnimationFrame(()=>{t();n=null},e)}}}function c(t,e,n,o){if(typeof t.addEventListener===\"function\"){t.addEventListener(e,n,o||false)}else if(typeof t.attachEvent===\"function\"){t.attachEvent(\"on\"+e,n)}}function h(t,e,n,o){if(typeof t.removeEventListener===\"function\"){t.removeEventListener(e,n,o||false)}else if(typeof t.detatchEvent===\"function\"){t.detatchEvent(\"on\"+e,n)}}function u(t,e){const n=Math.max(t.top,e.top);const o=Math.min(t.bottom,e.bottom);const i=Math.max(t.left,e.left);const r=Math.min(t.right,e.right);const s=r-i;const c=o-n;return s>=0&&c>=0&&{top:n,bottom:o,left:i,right:r,width:s,height:c}}function l(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function a(t,e){let n=e;while(n){if(n===t){return true}n=f(n)}return false}function f(t){const e=t.parentNode;if(e&&e.nodeType===n&&e.host){return e.host}return e}if(\"IntersectionObserver\"in window&&\"IntersectionObserverEntry\"in window&&\"intersectionRatio\"in window.IntersectionObserverEntry.prototype){e=window.IntersectionObserver}else{e=function(t,e){const n=e||{};if(typeof t!==\"function\"){throw new Error(\"callback must be a function\")}if(n.root&&n.root.nodeType!==1){throw new Error(\"root must be an Element\")}this._checkForIntersections=s(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT);this._callback=t;this._observationTargets=[];this._queuedEntries=[];this._rootMarginValues=this._parseRootMargin(n.rootMargin);this.thresholds=this._initThresholds(n.threshold);this.root=n.root||null;this.rootMargin=this._rootMarginValues.map(t=>t.value+t.unit).join(\" \")};e.prototype.THROTTLE_TIMEOUT=100;e.prototype.POLL_INTERVAL=null;e.prototype.USE_MUTATION_OBSERVER=true;e.prototype.observe=function(t){const e=this._observationTargets.some(e=>e.element===t);if(e){return}if(!(t&&t.nodeType===o)){throw new Error(\"target must be an Element\")}this._registerInstance();this._observationTargets.push({element:t,entry:null});this._monitorIntersections();this._checkForIntersections()};e.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter(e=>e.element!==t);if(!this._observationTargets.length){this._unmonitorIntersections();this._unregisterInstance()}};e.prototype.disconnect=function(){this._observationTargets=[];this._unmonitorIntersections();this._unregisterInstance()};e.prototype.takeRecords=function(){const t=this._queuedEntries.slice();this._queuedEntries=[];return t};e.prototype._initThresholds=function(t){let e=t||[0];if(!Array.isArray(e)){e=[e]}return e.sort().filter((t,e,n)=>{if(typeof t!==\"number\"||isNaN(t)||t<0||t>1){throw new Error(\"threshold must be a number between 0 and 1 inclusively\")}return t!==n[e-1]})};e.prototype._parseRootMargin=function(t){const e=t||\"0px\";const n=e.split(/\\s+/).map(t=>{const e=/^(-?\\d*\\.?\\d+)(px|%)$/.exec(t);if(!e){throw new Error(\"rootMargin must be specified in pixels or percent\")}return{value:parseFloat(e[1]),unit:e[2]}});n[1]=n[1]||n[0];n[2]=n[2]||n[0];n[3]=n[3]||n[1];return n};e.prototype._monitorIntersections=function(){if(!this._monitoringIntersections){this._monitoringIntersections=true;if(this.POLL_INTERVAL){this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL)}else{c(window,\"resize\",this._checkForIntersections,true);c(document,\"scroll\",this._checkForIntersections,true);if(this.USE_MUTATION_OBSERVER&&\"MutationObserver\"in window){this._domObserver=new MutationObserver(this._checkForIntersections);this._domObserver.observe(document,{attributes:true,childList:true,characterData:true,subtree:true})}}}};e.prototype._unmonitorIntersections=function(){if(this._monitoringIntersections){this._monitoringIntersections=false;clearInterval(this._monitoringInterval);this._monitoringInterval=null;h(window,\"resize\",this._checkForIntersections,true);h(document,\"scroll\",this._checkForIntersections,true);if(this._domObserver){this._domObserver.disconnect();this._domObserver=null}}};e.prototype._checkForIntersections=function(){const t=this._rootIsInDom();const e=t?this._getRootRect():l();this._observationTargets.forEach(function(n){const o=n.element;const s=o.getBoundingClientRect();const c=this._rootContainsTarget(o);const h=n.entry;const u=t&&c&&this._computeTargetAndRootIntersection(o,e);const l=n.entry=new i({time:r(),target:o,boundingClientRect:s,rootBounds:e,intersectionRect:u});if(!h){this._queuedEntries.push(l)}else if(t&&c){if(this._hasCrossedThreshold(h,l)){this._queuedEntries.push(l)}}else if(h&&h.isIntersecting){this._queuedEntries.push(l)}},this);if(this._queuedEntries.length){this._callback(this.takeRecords(),this)}};e.prototype._computeTargetAndRootIntersection=function(t,e){if(window.getComputedStyle(t).display===\"none\"){return null}const n=t.getBoundingClientRect();let i=n;let r=f(t);let s=false;while(!s){let t=null;const n=r.nodeType===o?window.getComputedStyle(r):{};if(n.display===\"none\"){return null}if(r===this.root||r===document){s=true;t=e}else if(r!==document.body&&r!==document.documentElement&&n.overflow!==\"visible\"){t=r.getBoundingClientRect()}if(t){i=u(t,i);if(!i){break}}r=f(r)}return i};e.prototype._getRootRect=function(){let t;if(this.root){t=this.root.getBoundingClientRect()}else{const e=document.documentElement;const n=document.body;t={top:0,left:0,right:e.clientWidth||n.clientWidth,width:e.clientWidth||n.clientWidth,bottom:e.clientHeight||n.clientHeight,height:e.clientHeight||n.clientHeight}}return this._expandRectByRootMargin(t)};e.prototype._expandRectByRootMargin=function(t){const e=this._rootMarginValues.map((e,n)=>e.unit===\"px\"?e.value:e.value*(n%2?t.width:t.height)/100);const n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};n.width=n.right-n.left;n.height=n.bottom-n.top;return n};e.prototype._hasCrossedThreshold=function(t,e){const n=t&&t.isIntersecting?t.intersectionRatio||0:-1;const o=e.isIntersecting?e.intersectionRatio||0:-1;if(n===o){return false}for(let t=0;t<this.thresholds.length;t++){const e=this.thresholds[t];if(e===n||e===o||e<n!==e<o){return true}}return false};e.prototype._rootIsInDom=function(){return!this.root||a(document,this.root)};e.prototype._rootContainsTarget=function(t){return a(this.root||document,t)};e.prototype._registerInstance=function(){};e.prototype._unregisterInstance=function(){}}const d=e;t.IntersectionObserverCompat=d;Object.defineProperty(t,\"__esModule\",{value:true})});\n}","ce":"laf-intersection-observer-compat","descriptor":"markup://laf:intersectionObserverCompat","n":"laf/intersectionObserverCompat"},{"xs":"P","co":"function() { $A.componentService.addModule('markup://lst:returnNavigationNoOp', \"lst/returnNavigationNoOp\",[\"exports\"],function(e){function n(e,n){if(!n.isSaveAndNew){e.element.navigateBack(n.navigationLocation===\"LIST_VIEW\"||n.navigationLocation===\"LIST_VIEW_ROW\")}return Promise.resolve()}e.default=n;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"lst-return-navigation-no-op","descriptor":"markup://lst:returnNavigationNoOp","n":"lst/returnNavigationNoOp"},{"xs":"P","co":"function() { $A.componentService.addModule('markup://forceHelp:commons', \"forceHelp/commons\",[\"exports\",\"lwc\"],function(e,t){class s extends t.LightningElement{constructor(...e){super(...e);this.pathPrefix=\"\"}make(e){const t=this.templates[this.getTemplateName()][e];const s=this.getParams();return r(t,s)}get href(){let e=this.domain;if(this.path){e+=\"/\"+this.path}if(this.query){e+=\"?\"+this.query}if(this.fragment){e+=\"#\"+this.fragment}return e}}t.registerDecorators(s,{publicProps:{pathPrefix:{config:0}}});function r(e,t){let s=e||\"\";Object.keys(t).forEach(e=>{const r=new RegExp(\"{\"+e+\"}\",\"g\");const i=t[e]||\"\";s=s.replace(r,i)});return s}e.BaseLink=s;e.populate=r;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"forceHelp-commons","descriptor":"markup://forceHelp:commons","n":"forceHelp/commons","ad":[["pathPrefix",null,"G",false,""]]},{"xs":"P","co":"function() { $A.componentService.addModule('markup://laf:pprInternal', \"laf/pprInternal\",[\"exports\",\"instrumentation/service\",\"@salesforce/metric/lasr/progressiveContext.regionCount\",\"@salesforce/metric/lasr/progressiveContext.maxDelayCount\",\"@salesforce/metric/lasr/progressiveContext.finalSignalCount\",\"@salesforce/metric/lasr/progressiveContext.unlinkedRegionCount\",\"@salesforce/metric/lasr/progressiveContext.uncaughtEventCount\",\"@salesforce/metric/lasr/progressiveContext.resolveTime\"],function(e,t,n,r,o,s,a,c){function i(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var u=i(n);var l=i(r);var f=i(o);var g=i(s);var m=i(a);var p=i(c);const v=\"ppr_statechange\"+Date.now();const C=\"ppr_forcing_render\"+Date.now();const d=t.counter(u.default);const _=t.counter(l.default);const E=t.percentileHistogram(p.default);const x=t.counter(f.default);const R=t.counter(g.default);const N=t.counter(m.default);const D=e=>()=>{e.increment()};const P=D(d);const y=D(x);const M=D(_);const T=e=>{if(e){E.update(e)}};const h=D(R);const A=D(N);e.PPR_FORCE_RENDER_EVENT_NAME=C;e.PPR_SIGNAL_EVENT_NAME=v;e.incrementFinalSignalCounter=y;e.incrementMaxDelayCounter=M;e.incrementRegionCounter=P;e.incrementUncaughtEventCounter=A;e.incrementUnlinkedRegionCounter=h;e.updateResolveTimeHistogram=T;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"laf-ppr-internal","descriptor":"markup://laf:pprInternal","n":"laf/pprInternal"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://records:baseRecordForm', \"records/baseRecordForm\",[\"exports\",\"lwc\",\"force/placeholder2\",\"records/mobileFormHeader\",\"force/formFooterSaveOptions\",\"records/lwcRecordLayout\",\"lightning/button\",\"records/formFooter\",\"lightning/utils\",\"force/recordUiUtils\",\"force/scrollPositionLib\",\"one/layoutContainerLib\",\"one/unsavedChanges\",\"force/liveRecordsLibrary\",\"aura\",\"laf/pageCapability\",\"lightning/deprecatedOverlayUtils\",\"@salesforce/label/Errors.UnhandledExceptionError\",\"@salesforce/label/DetailError.EntitySaveErrorSummary\",\"@salesforce/label/DetailError.NewConflictingChangesError\",\"@salesforce/label/DetailError.NewConflictingChangesErrorHeader\",\"@salesforce/label/InlineExpandableContainer.ViewMore\",\"@salesforce/label/InlineExpandableContainer.ViewLess\",\"@salesforce/label/Buttons.close\",\"@salesforce/label/FormLegend.RequiredFields\",\"@salesforce/client/formFactor\"],function(e,t,o,r,i,s,a,n,d,l,c,h,u,p,m,f,g,v,y,b,E,C,R,F,L,_){function S(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var w=S(o);var O=S(r);var I=S(i);var T=S(s);var k=S(a);var M=S(n);var D=S(v);var N=S(y);var A=S(b);var x=S(E);var V=S(C);var U=S(R);var H=S(F);var P=S(L);var j=S(_);function B(e,t,o){var r=e?\"[\"+e+\"]\":\"\";var i=e?\"[\"+e+\"-host]\":\"\";return(t?\":host {\":i+\" {\")+\"background: var(--slds-g-color-neutral-base-100, var(--lwc-colorForegroundPrimary));padding-bottom: 2.5rem;}\"+(t?\":host records-record-layout2\":i+\" records-record-layout2\")+r+\" {display: block;transition: .1s box-shadow ease-in-out;}\"+(t?\":host records-lwc-record-layout\":i+\" records-lwc-record-layout\")+r+\" {display: block;}\"+(t?\":host .footer-visible.slds-card\":i+\" .footer-visible.slds-card\")+r+\" .record-body-container\"+r+\" {box-shadow: var(--lwc-spacingNone) var(--lwc-spacingNone) 3px var(--lwc-borderWidthThin) rgba(0, 0, 0, 0.16);border-radius: var(--lwc-borderRadiusMedium);}\"+(t?\":host .footer-visible\":i+\" .footer-visible\")+r+\" .record-layout-container\"+r+\" {padding: var(--lwc-spacingXSmall);}\"+(t?\":host .footer-visible\":i+\" .footer-visible\")+r+\" .record-layout-container-mobile\"+r+\" {background: var(--lwc-paletteNeutral95, #f3f3f3);padding-bottom: 70px;}\"+(t?\":host records-form-footer.slds-docked-form-footer\":i+\" records-form-footer.slds-docked-form-footer\")+r+\" {z-index: var(--lwc-zIndexDocked);}\"+(t?\":host records-form-footer.slds-docked-form-footer.fixedFooter\":i+\" records-form-footer.slds-docked-form-footer.fixedFooter\")+r+\" {position: absolute;bottom: var(--lwc-spacingNone);left: var(--lwc-spacingNone);right: var(--lwc-spacingNone);}\"+(t?\":host records-form-footer.slds-docked-form-footer.stickyFooter\":i+\" records-form-footer.slds-docked-form-footer.stickyFooter\")+r+\" {position: -webkit-sticky;position: -moz-sticky;position: -ms-sticky;position: -o-sticky;position: sticky;}.record-layout-container-bottom-padding\"+r+\" {padding-bottom: var(--lwc-widthStageLeftCollapsed);}.sticky\"+r+\" {position: sticky;top: var(--lwc-spacingNone, 0);z-index: var(--lwc-zIndexSticky, 100);}.form-legend-desktop\"+r+\" {padding: var(--lwc-spacingXSmall, 8px);padding-bottom: var(--lwc-spacingNone, 0);margin: var(--lwc-spacingXSmall, 8px);margin-bottom: var(--lwc-spacingNone, 0);text-align: right;border-radius: var(--lwc-borderRadiusMedium, 0.25rem);}.form-legend-desktop.record-layout-inline-edit\"+r+\"{margin: var(--lwc-spacingNone, 0);}\"}var z=[B];const W={classMap:{\"slds-p-around_medium\":true},key:1};const q={classMap:{\"slds-text-title_bold\":true,\"slds-p-bottom_small\":true},key:2};const K={classMap:{\"slds-p-bottom_x-small\":true},key:3};const G={key:4};const Y={\"slds-required\":true};const $={classMap:{\"record-body-container\":true},key:10};const X={classMap:{\"slds-modal__header\":true,\"slds-p-vertical_none\":true,\"slds-p-horizontal_none\":true,sticky:true},key:11};const Z={key:13};const J={\"data-target-selection-name\":\"e749965136cc4d4d9fc02c6f9c4a08b7\"};const Q={classMap:{\"slds-p-around_small\":true},key:17};const ee={\"view-button\":true};function te(e,t,o,r){const{d:i,t:s,h:a,c:n,b:d}=e;const{_m0:l,_m1:c,_m2:h,_m3:u,_m4:p,_m5:m,_m6:f,_m7:g,_m8:v,_m9:y,_m10:b,_m11:E,_m12:C,_m13:R,_m14:F,_m15:L,_m16:_,_m17:S,_m18:D}=r;return[t.isRecordLayoutTemplateLoadedWithError?a(\"div\",{className:t.computedErrorContainerClass,key:0},[a(\"div\",W,[a(\"p\",q,[s(i(t.i18n.EntitySaveErrorSummary))]),!t.recordLayoutTemplateLoadState.isHandledException?a(\"p\",K,[s(i(t.i18n.UnhandledExceptionError))]):null,t.recordLayoutTemplateLoadState.errorMessage?a(\"p\",G,[s(i(t.recordLayoutTemplateLoadState.errorMessage))]):null])]):null,a(\"div\",{className:t.computedRootClass,key:5},[t.shouldDisplayLegendOnDesktop?a(\"div\",{className:t.computedLegendClass,key:6},[a(\"abbr\",{classMap:Y,attrs:{title:t.i18n.required},key:7},[s(\"*\")]),s(i(t.legendRequiredLabel))]):null,t.shouldDisplayPlaceholder?n(\"force-placeholder2\",w.default,{props:{name:t.computedPlaceholder},key:8}):null,t.isRecordLayoutTemplateLoadedNoError?a(\"div\",{className:t.computedHeaderClass,key:9},[a(\"div\",$,[t.showMobileHeader?a(\"div\",X,[n(\"records-mobile-form-header\",O.default,{props:{objectApiName:t.objectApiName,disabled:t.footerDisabled,recordId:t.recordId,mode:t.mode,pageTitle:t.pageTitle,showHeaderText:t.showHeader},key:12,on:{formfooterreload:l||(r._m0=d(t.handleFooterReload)),formfootersave:c||(r._m1=d(t.handleFooterSave)),formfootercancel:h||(r._m2=d(t.handleFooterCancel)),formfootersaveandnew:u||(r._m3=d(t.handleFooterSaveAndNew)),formfooterfieldclick:p||(r._m4=d(t.handleFooterFieldClick)),recordsaveoptionvaluechange:m||(r._m5=d(t.handleSaveOptionsValueChange))}})]):null,t.showMobileSaveOptions?a(\"div\",Z,[n(\"force-form-footer-save-options\",I.default,{props:{options:t.saveOptions},key:14})]):null,a(\"div\",{className:t.computedRecordLayoutContainerClass,attrs:J,key:15},[n(\"records-lwc-record-layout\",T.default,{className:t.computedRecordLayoutClass,props:{mode:t.mode,layoutType:t.layoutType,recordLayoutTemplate:t.recordLayoutTemplate,objectApiName:t.objectApiName,recordId:t.recordId,dynamicComponentType:t.dynamicComponentType,hideDependencyLinks:t.hideDependencyLinks,standaloneMode:\"true\",width:t.flexipageRegionWidth,defaultFieldValues:t.defaultFieldValues,isKomaciInLexEnabled:t.isKomaciInLexEnabled,recordTypeId:t.recordTypeId},key:16,on:{activateinlineedit:f||(r._m6=d(t.handleInlineEdit)),recordlayoutkeydown:g||(r._m7=d(t.handleKeydown)),recordlayoutfocusin:v||(r._m8=d(t.handleFocusIn)),footerreposition:y||(r._m9=d(t.positionFooter)),collisionresolved:b||(r._m10=d(t.handleCollisionResolved)),recordlayoutrendered:E||(r._m11=d(t.handleRecordLayoutRendered))}})]),t.isViewButtonVisible?a(\"div\",Q,[n(\"lightning-button\",k.default,{classMap:ee,props:{variant:\"neutral\",label:t.showAllLabel,iconName:t.viewButtonIcon,iconPosition:\"right\",stretch:\"true\",ariaLive:\"polite\"},key:18,on:{click:C||(r._m12=d(t.handleViewButtonClick))}})]):null,t.shouldDisplayFooter?n(\"records-form-footer\",M.default,{className:t.computedFooterClass,props:{recordId:t.recordId,recordTypeId:t.recordTypeId,objectApiName:t.objectApiName,disabled:t.footerDisabled,showSaveAndNew:t.showSaveAndNewOnFooter,mode:t.mode,saveOptions:t.saveOptions},key:19,on:{formfooterreload:R||(r._m13=d(t.handleFooterReload)),formfootersave:F||(r._m14=d(t.handleFooterSave)),formfootercancel:L||(r._m15=d(t.handleFooterCancel)),formfootersaveandnew:_||(r._m16=d(t.handleFooterSaveAndNew)),formfooterfieldclick:S||(r._m17=d(t.handleFooterFieldClick)),recordsaveoptionvaluechange:D||(r._m18=d(t.handleSaveOptionsValueChange))}}):null])]):null])]}var oe=t.registerTemplate(te);te.stylesheets=[];if(z){te.stylesheets.push.apply(te.stylesheets,z)}te.stylesheetToken=\"lwc-6ct7qgg1o86\";te.legacyStylesheetToken=\"records-baseRecordForm_baseRecordForm\";t.freezeTemplate(te);const re=\"records-lwc-record-layout\";const ie=\"detail-panel-root\";const se=\".record-layout-container\";const ae=\".record-layout-container-mobile\";const ne=\"footer-visible\";const de=\"base-record-form-header-container\";const le=\"baserecordformrecordsaved\";const ce=64;const he=\"$A\";const ue=window[he];const pe=\"markup://force:pageLoaded\";const me=\"RecordMruController.updateMru\";let fe=null;function ge(){if(fe!==null){m.executeGlobalController(me,{recordId:fe});fe=null}}if(ue){ue.getRoot().addEventHandler(pe,ge)}function ve(e){if(e===undefined||e===null){return}if(typeof e!==\"string\"||e.length!==18&&e.length!==15){throw new TypeError(\"recordId must be a valid record ID\")}fe=e}let ye,be;ye=u.UnsavedChangesMixin.OnSave;be=u.UnsavedChangesMixin.OnDiscard;class Ee extends(f.CapabilityMixin(u.UnsavedChangesMixin(t.LightningElement))){get recordTypeId(){return this._recordTypeId}set recordTypeId(e){this._recordTypeId=e}get variant(){return this._variant}set variant(e){const t=[\"card\",\"inline\"];if(e&&t.indexOf(e)!==-1){this._variant=e;return}throw new Error(\"Invalid 'variant' for records:baseRecordForm\")}set errors(e){if(this.mode!==l.RecordUiConstants.MODE_VIEW){this._errors=e;if(this.recordLayoutRendered){this._setErrorsOnRecordLayout()}}}get errors(){return this._errors}constructor(){super();this.recordId=void 0;this._recordTypeId=void 0;this.objectApiName=void 0;this.fixedFooter=false;this.flexipageRegionWidth=void 0;this.layoutType=void 0;this.mode=\"View\";this.dynamicComponentType=void 0;this.hideDependencyLinks=false;this.recordLayoutTemplate=void 0;this.footerVisible=false;this.recordLayoutTemplateLoadState=void 0;this.placeholderOverride=void 0;this._variant=\"card\";this.inlineEditReturnFocusField=void 0;this.legendRequiredLabel=\" \"+P.default;this.isSaving=false;this.isSavingFromDirtyStateDialog=false;this.isShowingAllForMobile=false;this.defaultFieldValues=void 0;this.shouldHideSaveAndNew=false;this.recordLayoutRendered=false;this.saveOptions=[];this.recordSaveOptionValues={};this._errors=void 0;this.isKomaciInLexEnabled=void 0;this.pageTitle=void 0;this.showHeader=void 0;this.viewport=void 0;this.handleChangedFieldsEvent=this._handleChangedFieldsEvent.bind(this);this.handleRecordLayoutLoadErrorEvent=this._handleRecordLayoutLoadErrorEvent.bind(this);this.intersectionObserver=new l.IntersectionObserverCompat(this.handleIntersect.bind(this));this.resizeObserver=new l.ResizeObserver(this._handleResize.bind(this));this.handleRecordDeletedEvent=this._handleRecordDeletedEvent.bind(this);this.handleRecordItemValueChange=this._handleRecordItemValueChange.bind(this);this.handleNoAccessError=this._handleNoAccessError.bind(this);this.perfMarkIdentifierConstructor=l.markTransactionStart(\"performance:base-record-form-constructorToRecordLayoutRendered\",{});this.renderComplete=false}positionFooter(){if(!this.footerVisible||this.fixedFooter){return}const e=this.getFormToolbar();if(e){const t=this.viewport&&this.viewport.bottom||0;const o=window.innerHeight-t;const r=e.getBoundingClientRect();if(r.bottom>o){e.style.bottom=`${t}px`}}}activateEdit(){const e=this.getRecordLayout();if(e&&!e.isInEditMode()){return e.activateEdit().then(()=>{this.showFooter()})}return Promise.resolve()}deactivateEdit(){return this.reset()}refresh(){this[f.CapabilityMixin.GetRegisteredCapabilities](f.RefreshCapability).forEach(e=>e[f.RefreshCapability]())}renderedCallback(){if(this.mode!==l.RecordUiConstants.MODE_VIEW&&!this.footerVisible){this.showFooter()}this.positionFooter();if(this.recordLayoutRendered&&!this.renderComplete){this.renderComplete=true;this.dispatchEvent(new CustomEvent(l.RecordUiConstants.EVENT_BASE_RECORD_FORM_RENDERED,{bubbles:true,composed:true,cancelable:true}));if(this.errors){this._setErrorsOnRecordLayout()}}}connectedCallback(){this.template.addEventListener(l.RecordUiConstants.RECORD_DELETED,this.handleRecordDeletedEvent);this.template.addEventListener(l.RecordUiConstants.CONTAINS_CHANGED_FIELDS,this.handleChangedFieldsEvent);this.template.addEventListener(l.RecordUiConstants.RECORD_LAYOUT_LOADERROR,this.handleRecordLayoutLoadErrorEvent);this.template.addEventListener(l.RecordUiConstants.RECORD_LAYOUT_NO_EDIT_ACCESS,this.handleNoAccessError);if(!this.isMobile){this.template.addEventListener(l.RecordUiConstants.FORM_FOOTER_RESIZE,this.handleFormFooterResize.bind(this))}this.dispatchEvent(c.getScrollPositionSubscriptionEvent(this.positionFooter.bind(this),e=>{this.scrollPositionSubscriptionDisconnect=e}));this[f.CapabilityMixin.ExposeCapabilities]({[f.RefreshCapability]:this.refresh.bind(this)});this[f.CapabilityMixin.EnableListener](f.RefreshCapability);ve(this.recordId);this.perfMarkIdentifier=l.markTransactionStart(\"performance:base-record-form-initToFullRender\",{recordId:this.recordId,objectApiName:l.getInstrumentedObjectNameFromApiName(this.objectApiName),mode:this.mode});this.template.addEventListener(l.RecordUiConstants.RECORD_ITEM_VALUE_CHANGE,this.handleRecordItemValueChange);const e=new CustomEvent(\"closeactioncallback\",{bubbles:true,composed:true,cancelable:true,detail:{clearDirtyState:()=>{this[u.UnsavedChangesMixin.SetUnsavedChanges](false)},isSavingFromDirtyStateDialog:()=>this.isSavingFromDirtyStateDialog}});this.dispatchEvent(e)}handleFormFooterResize(){const e=this.getFormToolbar();const t=this.template.host.shadowRoot.querySelector(\".record-layout-container-bottom-padding\");if(e&&t&&this.saveOptions&&this.saveOptions.length){const o=e.clientHeight;const r=o?Math.max(ce,o):ce;t.style.paddingBottom=r+\"px\"}}handleRecordLayoutRendered(e){this.positionFieldLabels();this._processRawSaveOptions(e);if(!this._recordTypeId&&e.detail&&e.detail.recordTypeId){this._recordTypeId=e.detail.recordTypeId}if(this.perfMarkIdentifier){l.markTransactionEnd(this.perfMarkIdentifier.perfKey,this.perfMarkIdentifier.perfContext)}if(this.perfMarkIdentifierConstructor){const e={recordId:this.recordId,objectApiName:l.getInstrumentedObjectNameFromApiName(this.objectApiName),mode:this.mode};l.markTransactionEnd(this.perfMarkIdentifierConstructor.perfKey,e)}const o=this.getRecordLayoutContainer();if(!this.recordLayoutRendered){this.recordLayoutRendered=true;if(o){const e=t.unwrap(o);this.intersectionObserver.observe(e);this.resizeObserver.observe()}const e=this.getRecordLayout();if(e){e.focusFirstEditableField()}}}_handleNoAccessError(){this.recordLayoutTemplateLoadState={errorMessage:l.RecordErrorsLibrary.editAccessErrorMsg(this.mode),isHandledException:true,loaded:this.recordLayoutTemplateLoadState.loaded,hasError:true}}get computedPlaceholder(){if(this.placeholderOverride&&this.placeholderOverride.length){return this.placeholderOverride}const e=l.RecordUiConstants.DYNAMIC_CMP_PLACEHOLDER_MAP[this.dynamicComponentType];return e||\"\"}get shouldDisplayPlaceholder(){return!(this.recordLayoutRendered||this.recordLayoutTemplateLoadState&&this.recordLayoutTemplateLoadState.hasError)}disconnectedCallback(){this.resizeObserver.disconnect();this.template.removeEventListener(l.RecordUiConstants.RECORD_DELETED,this.handleRecordDeletedEvent);this.template.removeEventListener(l.RecordUiConstants.CONTAINS_CHANGED_FIELDS,this.handleChangedFieldsEvent);this.template.removeEventListener(l.RecordUiConstants.RECORD_LAYOUT_LOADERROR,this.handleRecordLayoutLoadErrorEvent);this.template.removeEventListener(l.RecordUiConstants.RECORD_ITEM_VALUE_CHANGE,this.handleRecordItemValueChange);this.template.removeEventListener(l.RecordUiConstants.RECORD_LAYOUT_NO_EDIT_ACCESS,this.handleNoAccessError);this.template.removeEventListener(l.RecordUiConstants.FORM_FOOTER_RESIZE,this.handleFormFooterResize);this.intersectionObserver.disconnect();if(this.scrollPositionSubscriptionDisconnect){this.scrollPositionSubscriptionDisconnect()}this[f.CapabilityMixin.ConcealCapabilities]()}get computedFooterClass(){return d.classSet({\"slds-docked-form-footer\":true,stickyFooter:!this.fixedFooter,fixedFooter:!!this.fixedFooter}).toString()}get computedRootClass(){const e=this.variant===\"card\";return d.classSet(`slds-clearfix ${ie}`).add({[ne]:this.footerVisible,\"slds-card\":e}).toString()}get computedHeaderClass(){const e=this.variant===\"card\";return d.classSet(`${de}`).add({\"slds-card__body slds-card__body_inner\":e&&!this.isMobile}).toString()}get computedErrorContainerClass(){const e=this.variant===\"card\";return d.classSet({\"slds-card\":e,\"record-layout-load-error-container\":true}).toString()}get computedRecordLayoutContainerClass(){return this.isMobile?\"record-layout-container-mobile\":\"record-layout-container\"}get computedRecordLayoutClass(){return this.fixedFooter&&!this.isMobile?\"record-layout-container-bottom-padding\":\"\"}get computedLegendClass(){return d.classSet({\"form-legend-desktop\":!this.isMobile,\"record-layout-inline-edit\":this.inlineEditReturnFocusField}).toString()}get shouldDisplayLegendOnDesktop(){if(!this.isMobile){return this.shouldDisplayLegend()}return false}shouldDisplayLegend(){const e=this.getRecordLayout();if(e){const t=e.isInEditMode();return t&&e.areRequiredFieldsPresent()}return false}get i18n(){return{UnhandledExceptionError:D.default,EntitySaveErrorSummary:N.default}}get isRecordLayoutTemplateLoadedWithError(){if(this.recordLayoutTemplateLoadState){return this.recordLayoutTemplateLoadState.loaded&&this.recordLayoutTemplateLoadState.hasError}return undefined}get isRecordLayoutTemplateLoadedNoError(){if(this.recordLayoutTemplateLoadState){return this.recordLayoutTemplateLoadState.loaded&&!this.recordLayoutTemplateLoadState.hasError}return undefined}[ye](e){this.isSavingFromDirtyStateDialog=true;this.saveForm(false,false).then(t=>{if(t){this[u.UnsavedChangesMixin.SetUnsavedChanges](false)}e(t)}).catch(()=>{}).finally(()=>{this.isSavingFromDirtyStateDialog=false})}[be](e){this.reset();this[u.UnsavedChangesMixin.SetUnsavedChanges](false);e(true)}handleInlineEdit(e){e.stopPropagation();this.inlineEditReturnFocusField=e.detail.config.fieldApiName;this.positionFieldLabels();this.showFooter()}showFooter(){const e=this.getFormToolbar();const t=this.getRecordLayoutContainer();if(e&&t){e.show();this.footerVisible=true}}hideFooter(){const e=this.getFormToolbar();const t=this.getRecordLayoutContainer();if(e&&t){e.hide();this.footerVisible=false}}get footerDisabled(){return this.isSaving}get showSaveAndNewOnFooter(){return this.mode!==l.RecordUiConstants.MODE_VIEW&&!this.shouldHideSaveAndNew}handleFooterCancel(e){this[u.UnsavedChangesMixin.SetUnsavedChanges](false);e.stopPropagation();if(this.mode===\"View\"){this.reset()}this.dispatchEvent(new CustomEvent(l.RecordUiConstants.RECORD_ACTION_CANCEL,{bubbles:true,composed:true,cancelable:true}))}reset(){const e=this.getRecordLayout();if(e){e.deactivateEdit(this.inlineEditReturnFocusField)}this.hideFooter();this.isSaving=false;this.inlineEditReturnFocusField=undefined}handleFooterSave(e){e.stopPropagation();this.saveForm(false,false,this.recordSaveOptionValues).catch(()=>{})}handleFooterSaveAndNew(e){e.stopPropagation();this.saveForm(false,true,this.recordSaveOptionValues).catch(()=>{})}handleFooterReload(e){e.stopPropagation();const t=this.getRecordLayout();if(t){t.refresh()}this.reset()}handleFooterFieldClick(e){e.stopPropagation();const t=this.getRecordLayout();if(t){const o=e.detail.fieldApiName;const r=t.getFieldElement(o);if(r){r.scrollIntoView()}t.focusField(o)}}handleSaveOptionsValueChange(e){if(e&&e.detail&&e.detail.optionName){this.recordSaveOptionValues[e.detail.optionName]=!!e.detail.value}}handleKeydown(e){const t=e.detail.domEvent;if(t.keyCode===27){this.getFormToolbar().focusCancelButton();return}if(t.keyCode===83){const e=l.DeviceCheckHelpers.isMacPlatform();if(!e&&t.ctrlKey||e&&t.metaKey){this.saveForm(true,false).catch(()=>{})}}}handleFocusIn(e){const t=e.detail.domEvent;const o=t&&t.target&&l.RecordLayoutHelpers.getActiveElement(t.target);const r=this.getFormToolbar();if(o&&r){const e=o.getBoundingClientRect();const t=r.getBoundingClientRect();if(e.top<t.bottom&&e.bottom>t.top){o.scrollIntoView({behavior:\"auto\",block:\"center\",inline:\"center\"})}}}handleCollisionResolved(e){e.stopPropagation();this.isSaving=false;this.saveForm(false,false).catch(()=>{})}save(){return this.saveForm(true,false,this.recordSaveOptionValues)}saveForm(e,o,r={}){if(this.isSaving){return Promise.reject(\"Save operation already in progress\")}this.isSaving=true;return new Promise(i=>{const s=this.getRecordLayout();const a=this.getFormToolbar();const n=Object.assign({},s.getConflictingFields());if(s){const d=d=>{if(d){s.updateFields(d)}if(!p.hasSameConflicts(n,s.getConflictingFields())){let e;const o=document.createElement(\"h2\");o.textContent=x.default;o.classList.add(\"slds-text-heading_medium\");const r=document.createElement(\"p\");r.textContent=A.default;const i=function(){if(e){this.isSaving=false;e.close()}}.bind(this);const s=t.createElement(\"lightning-button\",{is:k.default});s.label=H.default;s.title=H.default;s.addEventListener(\"click\",i);g.showCustomOverlay({panelType:\"actionModal\",header:o,body:r,footer:s,headerClass:\"slds-theme_error slds-theme_alert-texture\",modalClass:\"slds-modal_prompt\",footerClass:\"slds-theme_default\",showCloseButton:false,closeAction:i}).then(t=>{e=t});return}s.resetConflictingFields();r=this.processSaveOptionsForSave(r);const c=()=>o?s.saveAndNew(a.shouldBypassDedupeCheck(),e,r):s.save(a.shouldBypassDedupeCheck(),e,r);c(a.shouldBypassDedupeCheck()).then(e=>{this.hideFooter();if(this.mode===l.RecordUiConstants.MODE_VIEW){this.isSaving=false}if(this.inlineEditReturnFocusField){s.focusRecordLayoutItemInlineEditTrigger(this.inlineEditReturnFocusField);this.inlineEditReturnFocusField=undefined}this.dispatchEvent(new CustomEvent(le,{bubbles:false,composed:false,cancelable:true,detail:{savedRecordId:e}}));i(true)}).catch(e=>{this.isSaving=false;if(a){a.setErrors(e)}i(false)})};const c=()=>{this.isSaving=false};if(n&&Object.keys(n).length>0){p.showMergeConfirmation({conflictingFields:n,objectApiName:s.objectApiName,recordTypeId:s.recordTypeId,recordId:this.recordId,saveCallback:d,closeCallback:c})}else{d()}}})}getFormToolbar(){return this.isMobile?this.template.querySelector(l.RecordUiConstants.MOBILE_HEADER_COMPONENT_SELECTOR):this.template.querySelector(l.RecordUiConstants.FOOTER_COMPONENT_SELECTOR)}getRecordLayout(){return this.template.querySelector(re)}getRecordLayoutContainer(){return this.isMobile?this.template.querySelector(ae):this.template.querySelector(se)}_handleResize(){this.positionFieldLabels();this.positionFooter()}_handleChangedFieldsEvent(e){const t=e.detail.hasChangedFields;this[u.UnsavedChangesMixin.SetUnsavedChanges](t,{label:e.detail.recordName||e.detail.entityLabel})}_handleRecordDeletedEvent(e){const t=e&&e.detail&&e.detail.recordId;if(this.recordId===t){this[u.UnsavedChangesMixin.SetUnsavedChanges](false)}}_handleRecordLayoutLoadErrorEvent(e){this.recordLayoutTemplateLoadState={errorMessage:e.detail.message,loaded:this.recordLayoutTemplateLoadState.loaded,hasError:true}}handleIntersect(e){e.forEach(e=>{if(e.isIntersecting){this.positionFieldLabels();this.positionFooter()}})}positionFieldLabels(){if(l.isLeftAlignedLabelsAllowed()){const e=this.getRecordLayoutContainer();if(e){const o=t.unwrap(e);const r=o.clientWidth;if(r!==0){const e=this.getRecordLayout().getRows()||[];for(let t=0;t<e.length;t++){const o=e[t];const i=o.getItems();if(i&&i.length>0){const e=r/i.length;l.calculateFieldLabelAlignment(r,e,i);l.calculateLeftLabelFieldWidth(r,i)}}}}}}_handleRecordItemValueChange(e){if(this.isSaving){return}const t=e.detail.recordInput;const o=e.detail.fieldNames;const r=this.getFormToolbar();if(t&&o&&o.length>0&&r){r.predupe(t,o)}}_processRawSaveOptions(e){if(e&&e.detail&&e.detail.saveOptions&&e.detail.saveOptions.map&&this.mode!==l.RecordUiConstants.MODE_VIEW){const t=e.detail.saveOptions.map(e=>{e=JSON.parse(e);if(e&&e.soapHeaderName){let t=e.soapHeaderName.split(\".\");t=t[t.length-1];e.soapHeaderName=t}this.recordSaveOptionValues[e.soapHeaderName]=e.value;return e});this.saveOptions=t.filter(e=>e.isVisible)}}processSaveOptionsForSave(e){const t=Object.assign({},e);const o=\"useDefaultRule\";const r=\"triggerUserEmail\";if(t&&o in t&&t[o]===true){t[r]=true}return t}_setErrorsOnRecordLayout(){const e=this.getRecordLayout();e.setErrors(this.errors).then(e=>{const t=this.getFormToolbar();t.setErrors(e);this._errors=undefined})}getFieldValue(e){let t;const o=this.getRecordLayout();if(o){t=o.getFieldValue(e)}return t}updateFields(e){const t=this.getRecordLayout();if(t){const o=t.updateFields(e);if(o&&o.length>0){return o}return[]}return Object.keys(e)}getFieldElement(e){let t;const o=this.getRecordLayout();if(o){t=o.getFieldElement(e)}return t}getFieldElements(){let e;const t=this.getRecordLayout();if(t){e=t.getFieldElements()}return e}get isMobile(){return j.default===\"Small\"||j.default===\"Medium\"}get showMobileHeader(){return this.isMobile&&this.mode!==l.RecordUiConstants.MODE_VIEW}get shouldDisplayFooter(){return!this.isMobile&&!this.shouldDisplayPlaceholder}get showAllLabel(){return this.isShowingAllForMobile?U.default:V.default}get viewButtonIcon(){return this.isShowingAllForMobile?\"utility:chevronup\":\"utility:chevrondown\"}handleViewButtonClick(){this.isShowingAllForMobile=!this.isShowingAllForMobile;const e=this.getRecordLayout();if(e){e.toggleShowAllFieldsForMobile()}}get isViewButtonVisible(){const e=this.getRecordLayout();if(e){return this.isMobile&&this.mode===l.RecordUiConstants.MODE_VIEW&&e.getIsViewButtonVisible()}return false}get showMobileSaveOptions(){return this.showMobileHeader&&this.saveOptions&&this.saveOptions.length>0&&this.mode!==l.RecordUiConstants.MODE_VIEW}}t.registerDecorators(Ee,{publicProps:{recordId:{config:0},recordTypeId:{config:3},objectApiName:{config:0},fixedFooter:{config:0},flexipageRegionWidth:{config:0},layoutType:{config:0},mode:{config:0},dynamicComponentType:{config:0},hideDependencyLinks:{config:0},recordLayoutTemplate:{config:0},recordLayoutTemplateLoadState:{config:0},placeholderOverride:{config:0},variant:{config:3},defaultFieldValues:{config:0},shouldHideSaveAndNew:{config:0},errors:{config:3},isKomaciInLexEnabled:{config:0},pageTitle:{config:0},showHeader:{config:0}},publicMethods:[\"activateEdit\",\"deactivateEdit\",\"save\",\"getFieldValue\",\"updateFields\",\"getFieldElement\",\"getFieldElements\"],track:{footerVisible:1,recordLayoutRendered:1,saveOptions:1},wire:{viewport:{adapter:h.getViewport,config:function(e){return{}}},positionFooter:{adapter:h.getSplitViewMode,method:1,config:function(e){return{}}}},fields:[\"_recordTypeId\",\"_variant\",\"inlineEditReturnFocusField\",\"legendRequiredLabel\",\"isSaving\",\"isSavingFromDirtyStateDialog\",\"isShowingAllForMobile\",\"recordSaveOptionValues\",\"_errors\"]});var Ce=t.registerComponent(Ee,{tmpl:oe,sel:\"records-base-record-form\",apiVersion:59});e.default=Ce;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"records-base-record-form","descriptor":"markup://records:baseRecordForm","n":"records/baseRecordForm","ad":[["recordId",null,"G",false],["recordTypeId",null,"G",false],["objectApiName",null,"G",false],["fixedFooter",null,"G",false,false],["flexipageRegionWidth",null,"G",false],["layoutType",null,"G",false],["mode",null,"G",false,"View"],["dynamicComponentType",null,"G",false],["hideDependencyLinks",null,"G",false,false],["recordLayoutTemplate",null,"G",false],["recordLayoutTemplateLoadState",null,"G",false],["placeholderOverride",null,"G",false],["variant",null,"G",false],["defaultFieldValues",null,"G",false],["shouldHideSaveAndNew",null,"G",false,false],["errors",null,"G",false],["isKomaciInLexEnabled",null,"G",false],["pageTitle",null,"G",false],["showHeader",null,"G",false]]},{"xs":"P","co":"function() { $A.componentService.addModule('markup://feeds_chat:messageLayout', \"feeds_chat/messageLayout\",[\"exports\",\"lwc\",\"@salesforce/label/GenerativePromptPanel.ChatHistoryTitle\"],function(e,t,s){function a(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var l=a(s);function r(e,t,s){var a=e?\"[\"+e+\"]\":\"\";return\".chat-message-panel\"+a+\" {height: 100%;display: flex;margin-bottom: auto;}.chat-history\"+a+\" {display: flex;flex-direction: column;margin-block-start: auto;margin-block-end: 0;width: 100%;}\"}var o=[r];const i={\"slds-chat\":true,\"chat-message-panel\":true};const n={classMap:{\"slds-chat-list\":true,\"chat-history\":true},attrs:{role:\"list\"},key:1};const c={key:2};const u=[];function h(e,t,s,a){const{s:l,h:r}=e;return[r(\"section\",{classMap:i,attrs:{\"aria-label\":t.i18n.ChatHistoryTitle},key:0},[r(\"div\",n,[l(\"\",c,u,s)])])]}var y=t.registerTemplate(h);h.slots=[\"\"];h.stylesheets=[];if(o){h.stylesheets.push.apply(h.stylesheets,o)}h.stylesheetToken=\"lwc-6qetlj3miv5\";h.legacyStylesheetToken=\"feeds_chat-messageLayout_messageLayout\";t.freezeTemplate(h);const f=Object.freeze({ChatHistoryTitle:l.default});class d extends t.LightningElement{constructor(...e){super(...e);this.i18n=f}}t.registerDecorators(d,{fields:[\"i18n\"]});var p=t.registerComponent(d,{tmpl:y,sel:\"feeds_chat-message-layout\",apiVersion:59});e.default=p;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"feeds_chat-message-layout","descriptor":"markup://feeds_chat:messageLayout","n":"feeds_chat/messageLayout"},{"xs":"P","co":"function() { $A.componentService.addModule('markup://force:emp', \"force/emp\",[\"exports\"],function(e){function t(e,t){const n=\"emp.leaderElection\";const o=\"emp.heartbeat\";const i=[\"FOLLOWER\",\"CANDIDATE\",\"LEADER\"];const a=Date.now()+\"_\"+v(1,1e4);const r=4e3;const c=6e3;const s=3e3;const l=4e3;let u=i[0];let f=false;let d=0;let m=false;let p=null;let b;let g;let E=false;const h={};h.heartBeat=()=>{const e={};e.eventType=\"heartbeat\";e.leader={id:a,candidateTime:p};return e};h.election=()=>{const e={};e.eventType=\"election\";e.candidateId=a;e.candidateTime=p;return e};h.vote=e=>{const t={};t.eventType=\"vote\";t.candidateId=e;return t};function w(...e){if(E){window.console.log(...e)}}function I(e){return typeof e===\"function\"}function v(e,t){e=Math.ceil(e);t=Math.floor(t);return Math.floor(Math.random()*(t-e+1))+e}function k(e){S(o,e)}function y(e){S(n,e)}function S(e,t){t.time=Date.now();const n=JSON.stringify(t);window.localStorage.setItem(e,n)}function L(e){if(I(t)){t(e)}}function C(e){if(u===i[2]){if(p>e.leader.candidateTime){u=i[0];clearInterval(b);b=null}}if(g!==e.leader.id){g=e.leader.id;L({leaderId:g})}m=false;d=0;f=true}function N(e){const t=e.candidateId;if(t===a){d+=1;w(\"[EmpLe] Vote handler: received votes [\"+d+\"]\")}}function T(e){return e===a}function O(e){w(\"[EmpLe] Election handler\");const t=e.candidateId;if(T(t)){w(\"[EmpLe] Event candidateId is same as Node Id. Ignore our own heartbeat message\");return}if(!W()&&e.candidateTime<p){u=i[0];w(\"[EmpLe] Election handler: Detected two candidates or leaders, becoming follower.\")}if(D()&&W()){w(\"[EmpLe] Election handler: voted for [\"+t+\"].\");y(h.vote(t));m=true}f=true}function D(){return!m}function W(){return u===i[0]}function R(){window.setTimeout(()=>{if(!f){_()}else{f=false;R()}},v(r,c))}function A(){window.setTimeout(()=>{w(\"[EmpLe] Election Timedout: heartbeat received=\"+f);if(f){f=false;R()}else if(d>0&&u!==i[0]){u=i[2];m=false;w(\"[EmpLe] Yay I am the leader :\"+a+\" with [\"+d+\"] votes.\");M();L({leaderId:a})}},v(l,l))}function _(){u=i[1];d=0;if(!f){d+=1;m=true;p=Date.now();y(h.election());A()}else{R()}}function M(){b=window.setInterval(()=>{k(h.heartBeat())},v(s,s))}function F(){clearInterval(b);b=null}function J(e){let t;if(e.newValue&&(e.key===n||e.key===o)){t=JSON.parse(e.newValue)}if(t&&t.eventType){w(\"[EmpLe]\",t);if(t.eventType===\"heartbeat\"){C(t)}if(t.eventType===\"vote\"){N(t)}if(t.eventType===\"election\"){O(t)}}}function j(){if(I(e)){e({nodeId:a})}window.addEventListener(\"storage\",J);R()}function P(e){E=e}function H(){try{w(\"[EmpLe] Stopping heartbeats...\");F();w(\"[EmpLe] Successfully stopped heartbeats\")}catch(e){w(\"[EmpLe] Failed to stop heartbeats. Reason = \"+e)}}return{start:j,stop:H,setDebugFlag:P}}const n=(()=>{const e=\"org.cometd.reload.fromLocalStorage\";const n=\"emp.cometd\";const o=\"emp.debugFlag\";const i=L();const a=w();const r={log:()=>{}};const c={SHARED_WORKER:\"In shared worker mode. When shared worker is available.\",LEADER_ELECTION:\"In leader election mode. When shared worker is not available and local storage is available.\",STANDALONE:\"In standalone mode. When local storage and shared worker are not available.\"};let s;let l;let u=null;const f={};const d={};let m=null;let p=null;let b=null;let g=null;let E={};let h=a;function w(){if(i){return localStorage.getItem(o)===\"true\"}return false}function I(){return h}function v(){if(I()){return window.console}return r}function k(e){return typeof e===\"function\"}function y(e,t){Object.entries(e).forEach(([e,n])=>{if(t.length===2){t(e,n)}else{t(n)}})}function S(){return!!navigator.userAgent.match(/ipad|iphone|ipod/i)}function L(){try{const e=\"key\";T(e,{value:\"emp.test\"});localStorage.removeItem(e);return true}catch(e){return false}}function C(e,t){e=Math.ceil(e);t=Math.floor(t);return Math.floor(Math.random()*(t-e+1))+e}function N(){let e=\"\";if(b){e=b}return e+\"_\"+Date.now()+\"_\"+C(1,1e4)}function T(e,t){t.time=Date.now();const n=JSON.stringify(t);window.localStorage.setItem(e,n)}function O(e){if(!i){v().log(\"[Emp] Is localStorage available\",i);return}T(n,e)}function D(e){v().log(\"[Emp] toCometdWorker: \",e);let t=m;if(m){if(u===c.SHARED_WORKER){t=m.port}t.postMessage(e)}else{O(e)}}function W(e){const t=f[e.id];return!!t}function R(e){const t=d[e.id];return!!t}function A(e){const t=E[e.id];return!!t}function _(){return g===b}function M(){return!!g||m}function F(e){return e.data.nodeId===b}function J(e){const t={};t.id=e.id;t.channel=e.channel;t.replayId=e.replayId;return t}function j(e){const t={};t.id=e.id;return t}function P(){if(l){const e={eventType:\"functionCall\",nodeId:b,functionName:\"init\",functionParams:{config:$()}};v().log(\"[Emp] Init config, remote call with \",e);D(e)}}function H(){return{subscriptions:f,unsubscribes:d}}function K(e){l=e;s=l.paths.cometdWorkerJs;u=ge();v().log(\"[Emp] Init config, the mode of operation is \",u);if(u===c.LEADER_ELECTION){Le()}if(!M()&&Object.keys(f).length>0){ve()}}function V(e){if(!a){h=e;B()}}function B(){if(l){const e={eventType:\"functionCall\",nodeId:b,functionName:\"setDebugFlag\",functionParams:{debugFlag:h}};D(e)}if(p){p.setDebugFlag(h)}}function x(e){const t={eventType:\"functionCall\",nodeId:b,functionName:\"addOnErrorListener\",functionParams:{listener:j(e)}};D(t)}function U(){y(E,x)}function Y(e){const t={eventType:\"functionCall\",nodeId:b,functionName:\"removeOnErrorListener\",functionParams:{listener:j(e)}};D(t)}function q(){y(E,Y);E={}}function z(e){const t={};t.id=N();t.callback=e;E[t.id]=t;if(M()){x(t)}}function G(){q();ae()}function Q(e){y(f,(t,n)=>{if(n.channel===e){delete f[t]}})}function X(e){y(d,(t,n)=>{if(n.channel===e){delete d[t]}})}function Z(e){const t=e.message;const n=JSON.parse(t);if(n){if((n.channel===\"/meta/subscribe\"||n.channel===\"/meta/unsubscribe\")&&n.subscription){Q(n.subscription);X(n.subscription)}}y(E,e=>{const t=e.callback;if(k(t)){t(n)}})}function $(){if(l){const t=JSON.parse(JSON.stringify(l));if(i){t.cometdState=window.localStorage.getItem(e)}return t}return{}}function ee(e){const t={eventType:\"functionCall\",nodeId:b,functionName:\"subscribe\",functionParams:{subscription:J(e),config:$()}};v().log(\"[Emp] subscribe with \",t);D(t)}function te(){y(f,ee)}function ne(e,t,n,o){const i={};const a=N();i.id=a;i.channel=e;i.replayId=t;i.callback=n;if(k(o)){i.subscribeCallback=o}f[a]=i;const r=J(i);if(M()){ee(i)}else{ve()}return r}function oe(e,t){if(e){const n=f[e.id];if(n){delete f[e.id];d[n.id]=n;n.unsubscribeCallback=t;ie(n)}}}function ie(e){let t;if(e){t={eventType:\"functionCall\",nodeId:b,functionName:\"unsubscribe\",functionParams:{subscription:J(e)}};v().log(\"[Emp] unsubscribe with \",t);D(t)}}function ae(){y(f,ie)}function re(e){let t;let n;if(e&&e.subscription){if(W(e.subscription)){t=e.subscription.id;n=f[t];n.cometdSubscription=e.subscription.cometdSubscription}}}function ce(e){let t;let n;let o;if(e&&e.message){t=e.subscription.id;n=d[t];if(n){o=n.unsubscribeCallback;if(t){if(e.message.successful){delete d[t]}v().log(\"[Emp] unsubscribe callback called for subscription\",n);if(k(o)){o(e.message)}}}}const i=Object.keys(d).length;const a=Object.keys(f).length;v().log(\"[Emp] No. of unsubscribes = \"+i+\", unsubscribes object:\",d);v().log(\"[Emp] No. of subscriptions = \"+a+\", subscriptions object:\",f)}function se(e){let t;let n;let o;if(e&&e.subscription){t=e.subscription.id;n=f[t];o=e.message;if(n&&n.callback){le(n,o);n.callback(o)}}}function le(e,t){if(t&&t.data&&t.data.event&&t.data.event.replayId){e.replayId=t.data.event.replayId}}function ue(e){let t;let n;let o;if(e&&e.subscription){t=e.subscription.id;n=f[t];o=e.message;if(n&&n.subscribeCallback){n.subscribeCallback(o)}}}function fe(){v().log(\"[Emp] Clearing state before unload...\");G()}function de(t){if(!i){return}let n=null;if(t&&t.params){n=t.params.state;window.localStorage.setItem(e,n);v().log(\"[Emp] Cometd state in main is \"+n)}}function me(){if(!i){return}window.localStorage.removeItem(e)}function pe(){v().log(\"[Emp] Terminating cometd worker...\");if(m){if(u===c.LEADER_ELECTION){Ce()}if(u===c.SHARED_WORKER){m.port.close()}else{m.terminate()}v().log(\"[Emp] Set cometdWorker to null\");m=null}}function be(e){v().log(\"[Emp] fromCometdWorker: \",e);if(e&&e.data){if(e.data.eventType===\"functionCall\"){switch(e.data.functionName){case\"subscribeCallback\":{if(W(e.data.subscription)){ue(e.data)}else{O(e.data)}return}case\"unsubscribeCallback\":{if(R(e.data.subscription)){ce(e.data)}else{O(e.data)}return}case\"messageCallback\":{if(W(e.data.subscription)){se(e.data)}else{O(e.data)}return}case\"onErrorCallback\":{if(A(e.data.listener)){Z(e.data)}else{O(e.data)}return}case\"saveCometdState\":{de(e.data);return}case\"removeCometdState\":{me();return}case\"terminateWorker\":{pe();return}case\"setDebugFlag\":{return}default:{v().log(\"[Emp] fromCometdWorker: No handler found for [\"+e.data.functionName+\"].\")}}}if(e.data.eventType===\"functionReturn\"&&e.data.functionName===\"subscribe\"){if(W(e.data.subscription)){re(e.data)}else{O(e.data)}}}}function ge(){if(!S()&&he()){return c.SHARED_WORKER}if(Ee()){return c.LEADER_ELECTION}return c.STANDALONE}function Ee(){return i&&!!window.Worker}function he(){let e=s&&\"SharedWorker\"in window;if(e){try{const t=new SharedWorker(s);e=e&&\"port\"in t;e=e&&\"postMessage\"in t.port}catch(t){v().log(\"Unable to create SharedWorker instance because of \",t);e=false}}return e}function we(){return!m&&u===c.SHARED_WORKER}function Ie(){return!m&&(_()||u===c.STANDALONE)}function ve(){if(s){let e=false;if(we()){v().log(\"[Emp] Create new SharedWorker\");m=new SharedWorker(s);m.port.addEventListener(\"message\",be);m.port.start();e=true}else if(Ie()){v().log(\"[Emp] Create new WebWorker\");m=new Worker(s);m.addEventListener(\"message\",be);e=true}if(e){v().log(\"[Emp] New Worker Created\");B();P();U();te()}}}function ke(e){b=e.nodeId;if(k(l.onNodeIdInit)){l.onNodeIdInit(b)}}function ye(e){if(g!==e.leaderId){g=e.leaderId;if(l.onLeaderChange){l.onLeaderChange(g===b)}if(_()){ve()}else{te();U()}}}function Se(e){const t={};let o;if(e.newValue&&e.key===n){o=JSON.parse(e.newValue);t.data=o}if(o&&o.eventType){if(_()){if(m){m.postMessage(o)}else{v().log(\"[Emp] Cometd Worker is undefined!\")}}else if(F(t)){be(t)}}}function Le(){if(!p){window.addEventListener(\"storage\",Se);p=new t(ke,ye);p.setDebugFlag(h);p.start()}}function Ce(){if(!!p&&_()){v().log(\"[Emp] Stop sending heartbeats...\");p.stop();v().log(\"[Emp] Leader stopped sending heartbeats\")}}window.addEventListener(\"beforeunload\",fe);return{init:K,subscribe:ne,unsubscribe:oe,onError:z,clearState:G,setDebugFlag:V,getState:H}})();e.Emp=n;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"force-emp","descriptor":"markup://force:emp","n":"force/emp"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://support:emailResponseFeedback', \"support/emailResponseFeedback\",[\"exports\",\"lwc\",\"lightning/buttonIconStateful\",\"lightning/buttonIcon\",\"lightning/checkboxGroup\",\"lightning/textarea\",\"lightning/button\",\"lightning/popupSource\",\"@salesforce/label/GeneratedEmailFeedback.LikeButtonAltText\",\"@salesforce/label/GeneratedEmailFeedback.DislikeButtonAltText\",\"@salesforce/label/GeneratedEmailFeedback.FeedbackQuestion\",\"@salesforce/label/GeneratedEmailFeedback.CloseButtonTitle\",\"@salesforce/label/GeneratedEmailFeedback.DislikeFeedbackReasonQuestionText\",\"@salesforce/label/GeneratedEmailFeedback.TextAreaLabel\",\"@salesforce/label/GeneratedEmailFeedback.TextAreaPlaceHolder\",\"@salesforce/label/GeneratedEmailFeedback.DislikeFeedbackReasonCancelButton\",\"@salesforce/label/GeneratedEmailFeedback.DislikeFeedbackReasonSubmitButton\",\"@salesforce/label/GeneratedEmailFeedback.DislikeFeedbackReasonOption1\",\"@salesforce/label/GeneratedEmailFeedback.DislikeFeedbackReasonOption2\",\"@salesforce/label/GeneratedEmailFeedback.DislikeFeedbackReasonOption3\",\"@salesforce/label/GeneratedEmailFeedback.DislikeFeedbackReasonOption4\",\"@salesforce/label/GeneratedEmailFeedback.DislikeFeedbackReasonOptionOther\",\"@salesforce/label/GeneratedEmailFeedback.ResponseTextTooLong\",\"@salesforce/label/GeneratedEmailFeedback.FeedbackReceived\",\"@salesforce/label/GeneratedEmailFeedback.FeedbackError\",\"lightning/serviceEinsteinllmApi\",\"lightning/platformShowToastEvent\"],function(e,t,a,s,l,i,o,n,r,c,d,u,b,k,p,h,m,f,g,F,v,T,_,S,x,E,R){function y(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var B=y(a);var w=y(s);var D=y(l);var O=y(i);var M=y(o);var C=y(n);var G=y(r);var A=y(c);var P=y(d);var L=y(u);var U=y(b);var I=y(k);var H=y(p);var N=y(h);var Q=y(m);var W=y(f);var j=y(g);var z=y(F);var K=y(v);var q=y(T);var V=y(_);var $=y(S);var J=y(x);const X=t.parseFragment`<br${3}>`;const Y={key:0};const Z={thumbsup:true,\"slds-button__icon_large\":true,\"slds-p-around_x-small\":true};const ee={\"slds-float_right\":true,\"slds-p-right_medium\":true};const te={thumbsdown:true,\"slds-button__icon_large\":true};const ae={slot:\"source\"};const se={\"slds-float_right\":true,\"slds-popover__close\":true};const le={classMap:{\"slds-popover__header\":true},key:5};const ie={classMap:{\"slds-media\":true,\"slds-media_center\":true,\"slds-has-flexi-truncate\":true},key:6};const oe={classMap:{\"slds-media__body\":true},key:7};const ne={classMap:{\"slds-truncate\":true,\"slds-text-heading_medium\":true},key:8};const re={classMap:{\"slds-popover__body\":true,\"slds-p-around_small\":true},key:9};const ce={\"slds-scrollable\":true};const de={classMap:{\"slds-popover__footer\":true},key:14};const ue={classMap:{\"slds-m-top_small\":true,\"slds-clearfix\":true},key:15};const be={classMap:{\"slds-float_left\":true},key:16};const ke={\"slds-m-left_x-small\":true};const pe={classMap:{\"slds-float_right\":true},key:18};function he(e,t,a,s){const{b:l,c:i,d:o,t:n,h:r,st:c}=e;const{_m0:d,_m1:u,_m2:b,_m3:k,_m4:p,_m5:h,_m6:m,_m7:f,_m8:g}=s;return[r(\"div\",Y,[i(\"lightning-button-icon-stateful\",B.default,{classMap:Z,props:{iconName:\"utility:like\",selected:t.likeState,alternativeText:t.i18n.likeButtonAltText,disabled:t.waitingFeedbackResponse},key:1,on:{click:d||(s._m0=l(t.handleThumbsUp))}}),i(\"lightning-popup-source\",C.default,{classMap:ee,key:2,on:{clickout:u||(s._m1=l(t.handleClickOut)),keydown:b||(s._m2=l(t.handleKeyDown))}},[i(\"lightning-button-icon-stateful\",B.default,{classMap:te,attrs:ae,props:{iconName:\"utility:dislike\",selected:t.dislikeState,alternativeText:t.i18n.dislikeButtonAltText,disabled:t.waitingFeedbackResponse},key:3,on:{click:k||(s._m3=l(t.handleThumbsDown))}}),i(\"lightning-button-icon\",w.default,{classMap:se,props:{iconName:\"utility:close\",variant:\"bare\",size:\"medium\",title:t.i18n.closeButtonTitle,alternativeText:t.i18n.closeButtonTitle},key:4,on:{click:p||(s._m4=l(t.closePopupSources))}}),r(\"header\",le,[r(\"div\",ie,[r(\"div\",oe,[r(\"h2\",ne,[n(o(t.titleLabel))])])])]),r(\"div\",re,[i(\"lightning-checkbox-group\",D.default,{props:{name:\"Checkbox Group\",label:t.i18n.dislikeFeedbackReasonQuestionText,options:t.options,value:t.tags},key:10,on:{change:h||(s._m5=l(t.handleChange))}}),c(X(),12),i(\"lightning-textarea\",O.default,{classMap:ce,props:{label:t.i18n.textAreaLabel,placeholder:t.i18n.textAreaPlaceHolder,maxLength:\"3000\",messageWhenTooLong:t.i18n.responseTextTooLong},key:13,on:{change:m||(s._m6=l(t.handleFeedbackTextChange))}})]),r(\"div\",de,[r(\"div\",ue,[r(\"div\",be,[i(\"lightning-button\",M.default,{classMap:ke,props:{variant:\"Neutral\",label:t.i18n.dislikeFeedbackReasonCancelButton},key:17,on:{click:f||(s._m7=l(t.closePopupSources))}})]),r(\"div\",pe,[i(\"lightning-button\",M.default,{classMap:ke,props:{label:t.i18n.dislikeFeedbackReasonSubmitButton,variant:\"brand\"},key:19,on:{click:g||(s._m8=l(t.handleSubmitResponse))}})])])])])])]}var me=t.registerTemplate(he);he.stylesheets=[];he.stylesheetToken=\"lwc-6ms4r64c0s4\";he.legacyStylesheetToken=\"support-emailResponseFeedback_emailResponseFeedback\";t.freezeTemplate(he);const fe={likeButtonAltText:G.default,dislikeButtonAltText:A.default,feedbackQuestion:P.default,closeButtonTitle:L.default,dislikeFeedbackReasonQuestionText:U.default,textAreaLabel:I.default,textAreaPlaceHolder:H.default,dislikeFeedbackReasonCancelButton:N.default,dislikeFeedbackReasonSubmitButton:Q.default,dislikeFeedbackReasonOption1:W.default,dislikeFeedbackReasonOption2:j.default,dislikeFeedbackReasonOption3:z.default,dislikeFeedbackReasonOption4:K.default,dislikeFeedbackReasonOptionOther:q.default,responseTextTooLong:V.default,feedbackReceived:$.default,feedbackError:J.default};const ge={THUMBS_DOWM:\"thumbs-down\",THUMBS_UP:\"thumbs-up\"};const Fe={BAD:\"BAD\",GOOD:\"GOOD\"};const ve=\"HUMAN\";class Te extends t.LightningElement{constructor(...e){super(...e);this.likeState=false;this.dislikeState=false;this.tags=[];this.waitingFeedbackResponse=false;this._feedbackText=\"\";this.postThumbDownEventFromSubmitButton=false;this.isCloseButtonClicked=false;this.generationId=void 0;this.applicationName=void 0}resetState(){this.likeState=false;this.dislikeState=false;this.postThumbDownEventFromSubmitButton=false}get options(){return[{label:fe.dislikeFeedbackReasonOption1,value:\"Inaccurate\"},{label:fe.dislikeFeedbackReasonOption2,value:\"Incomplete\"},{label:fe.dislikeFeedbackReasonOption3,value:\"Biased, toxic or harmful\"},{label:fe.dislikeFeedbackReasonOption4,value:\"Inappropriate tone or style\"},{label:fe.dislikeFeedbackReasonOptionOther,value:\"Other\"}]}get titleLabel(){return\"\"}get i18n(){return fe}handleThumbsUp(){this.likeState=true;this.dislikeState=false;this.postFeedback(ge.THUMBS_UP)}handleThumbsDown(e){this.dislikeState=true;this.likeState=false;this.isCloseButtonClicked=false;e.target.parentNode.open({alignment:\"top right\",autoFlip:true})}handleChange(e){this.tags=e.detail.value}handleFeedbackTextChange(e){this._feedbackText=e.target.value}closePopupSources(){this.closeThumbsDownPopup();this.isCloseButtonClicked=true}handleClickOut(){if(!this.isCloseButtonClicked){this.closeThumbsDownPopup()}}closeThumbsDownPopup(){this.tags=[];this._feedbackText=\"\";const e=this.template.querySelectorAll(\"lightning-popup-source\");e.forEach(e=>{e.close()});if(!this.postThumbDownEventFromSubmitButton){this.postFeedback(ge.THUMBS_DOWM)}}handleSubmitResponse(){this.postFeedback(ge.THUMBS_DOWM);this.postThumbDownEventFromSubmitButton=true;this.closePopupSources();this.postThumbDownEventFromSubmitButton=false}handleKeyDown(e){if(e.key===\"Escape\"){e.stopPropagation()}}uuidv4(){const e=[];for(let t=0;t<32;t++){const a=Math.random()*16|0;if(t===8||t===12||t===16||t===20){e.push(\"-\")}e.push((t===12?4:t===16?a&3|8:a).toString(16))}return e.join(\"\")}getAppFeedback(e){const t={};const a=\"feedback_detail\";t[a]={value:{action:e,tags:this.tags}};return{valueMap:t}}getFeedbackConfig(e){if(!this.generationId){this.handleFeedbackError()}const t=e===ge.THUMBS_UP?Fe.GOOD:Fe.BAD;if(!this._feedbackText&&!t){this.handleFeedbackError()}return{feedbackInput:{id:this.uuidv4(),applicationName:this.applicationName,generationId:this.generationId,feedbackText:this._feedbackText,feedback:t,source:ve,appFeedback:this.getAppFeedback(e)}}}postFeedback(e){this.waitingFeedbackResponse=true;return E.createFeedback(this.getFeedbackConfig(e)).then(e=>{if(e.message.includes(\"Feedback received, Thank you!\")){this.showSuccessToast()}else{this.handleFeedbackError()}}).catch(()=>{this.handleFeedbackError()}).finally(()=>{this.waitingFeedbackResponse=false})}handleFeedbackError(){this.resetState();this.showErrorToast()}showSuccessToast(){this.dispatchEvent(new R.ShowToastEvent({message:this.i18n.feedbackReceived,variant:\"success\"}))}showErrorToast(){this.dispatchEvent(new R.ShowToastEvent({message:this.i18n.feedbackError,variant:\"error\"}))}}t.registerDecorators(Te,{publicProps:{generationId:{config:0},applicationName:{config:0}},publicMethods:[\"resetState\"],track:{likeState:1,dislikeState:1,postThumbDownEventFromSubmitButton:1,isCloseButtonClicked:1},fields:[\"tags\",\"waitingFeedbackResponse\",\"_feedbackText\"]});var _e=t.registerComponent(Te,{tmpl:me,sel:\"support-email-response-feedback\",apiVersion:59});e.default=_e;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"support-email-response-feedback","descriptor":"markup://support:emailResponseFeedback","n":"support/emailResponseFeedback","av":"58.0","ad":[["generationId",null,"G",false],["applicationName",null,"G",false]]},{"xs":"P","co":"function() { $A.componentService.addModule('markup://lst:stencilTable', \"lst/stencilTable\",[\"exports\",\"lwc\"],function(e,t){function s(e,t,s){var n=e?\"[\"+e+\"]\":\"\";var l=e?\"[\"+e+\"-host]\":\"\";return(t?\":host {\":l+\" {\")+\"background-color: var(--lwc-colorBackgroundAlt);padding: var(--lwc-spacingMedium);padding-top: var(--lwc-spacingNone);display: block;}.text\"+n+\" {border-radius: var(--lwc-borderRadiusPill);display: inline-block;height: var(--lwc-spacingXSmall);margin-right: var(--lwc-spacingSmall);flex: 1;background-color: var(--lwc-colorBackgroundStencil);}.text:last-child\"+n+\" {margin-right: var(--lwc-spacingNone);}.text-thick\"+n+\" {height: 14px;margin: 10px var(--lwc-spacingNone);}.text-thin\"+n+\" {height: 6px;border-radius: var(--lwc-borderRadiusPill);}.text-thinner\"+n+\" {height: var(--lwc-spacingXxSmall);margin: 10px var(--lwc-spacingNone);border-radius: var(--lwc-borderRadiusSmall);}.text-long\"+n+\" {max-width: 100%;}.text-medium\"+n+\" {max-width: 60%;}.text-short\"+n+\" {max-width: 45%;}.text-shorter\"+n+\" {max-width: 20%;}.text-tiny\"+n+\" {max-width: 5%;}.text-dot\"+n+\" {max-width: var(--lwc-spacingXSmall);}.stencil-row\"+n+\" {background-color: var(--lwc-colorBackgroundAlt);width: 100%;display: flex;flex-direction: row;align-items: center;padding: var(--lwc-spacingSmall) var(--lwc-spacingNone);}.stencil-row:last-child\"+n+\" {padding-bottom: var(--lwc-spacingNone);}.stencil-cell-header\"+n+\" {background-color: var(--lwc-colorBackgroundStencilAlt);}\"}var n=[s];const l={classMap:{\"stencil-row\":true,header:true},key:0};function i(e,t,s,n){const{k:i,h:r,i:o,f:a}=e;return a([t.showTableHeader?r(\"div\",l,o(t.headerColumns,function(e){return r(\"div\",{className:e.class,key:i(1,e.key)})})):null,o(t.lines,function(e){return r(\"div\",{className:e.class,style:e.style,key:i(2,e.key)},o(e.columns,function(e){return r(\"div\",{className:e.class,key:i(3,e.key)})}))})])}var r=t.registerTemplate(i);i.stylesheets=[];if(n){i.stylesheets.push.apply(i.stylesheets,n)}i.stylesheetToken=\"lwc-2l224i6583i\";i.legacyStylesheetToken=\"lst-stencilTable_stencilTable\";t.freezeTemplate(i);const o=5;const a=1;const c=100;const h=1;const u=12;class d extends t.LightningElement{constructor(...e){super(...e);this._columns=[];this._size=o;this._showSelectionColumn=false;this.lines=[];this.headerColumns=[]}get columns(){return this._columns}set columns(e){if(Array.isArray(e)){this._columns=e}else{const t=Math.min(Math.max(h,Number.parseInt(e,10)),u)||0;this._columns=new Array(t).fill()}this.generateLines(true,true)}get size(){return this._size}set size(e=o){const t=Number.parseInt(e,10);if(!Number.isSafeInteger(t)){throw new Error(`Expected a finite integer for 'size', received '${e}' of type '${typeof e}'.`)}this._size=Math.min(Math.max(t,a),c);this.generateLines()}get showSelectionColumn(){return this._showSelectionColumn}set showSelectionColumn(e){this._showSelectionColumn=e;this.generateLines(true)}connectedCallback(){this.generateLines()}generateLines(e=false){const t=this;const{columns:s,lines:n,size:l}=this;if(!e&&n.length===l){return}const i=s.length>0?s:new Array(5).fill();this.headerColumns=i.map((e={},s)=>{const{width:n=\"short\"}=e;return{key:s,get class(){return[\"stencil-cell-header\",\"text\",`text-${s===0&&t.showSelectionColumn?\"dot\":n}`].join(\" \")}}});const r=e?[]:n.slice(0,l);for(let e=r.length;e<l;++e){r.push({key:e,get class(){return[\"stencil-row\",\"table_list_line_item\"].join(\" \")},get style(){const t=Math.sqrt((l-e)/l);return t===1?\"\":`opacity: ${t};`},columns:i.map((e={},s)=>{const{width:n=\"short\"}=e;return{key:s,get class(){return[\"stencil-cell\",\"text\",`text-${s===0&&t.showSelectionColumn?\"dot\":n}`].join(\" \")}}})})}this.lines=r}get showTableHeader(){return this.headerColumns.length>0}}t.registerDecorators(d,{publicProps:{columns:{config:3},size:{config:3},showSelectionColumn:{config:3}},track:{_columns:1,_size:1,_showSelectionColumn:1,lines:1,headerColumns:1}});var g=t.registerComponent(d,{tmpl:r,sel:\"lst-stencil-table\",apiVersion:59});e.DEFAULT_SIZE=o;e.MAXIMUM_COLUMNS=u;e.MAXIMUM_SIZE=c;e.MINIMUM_COLUMNS=h;e.MINIMUM_SIZE=a;e.default=g;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"lst-stencil-table","descriptor":"markup://lst:stencilTable","n":"lst/stencilTable","ad":[["columns",null,"G",false],["size",null,"G",false],["showSelectionColumn",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://lightningInbox:insertFreeTimeMarkupLibrary', \"lightningInbox/insertFreeTimeMarkupLibrary\",[\"exports\",\"lightningInbox/utilities\",\"@salesforce/label/mailapp_insert_free_time.html_intro\",\"@salesforce/label/mailapp_insert_free_time.html_timezone\",\"@salesforce/label/mailapp_insert_free_time.html_times_in_web_browser\",\"@salesforce/label/mailapp_insert_free_time.meeting_link_in_timeslots_recipient_button_text\",\"@salesforce/label/Insert_Free_Time.meetingDetailsDuration00\",\"@salesforce/label/Insert_Free_Time.meetingDetailsDuration15\",\"@salesforce/label/Insert_Free_Time.meetingDetailsDuration30\",\"@salesforce/label/Insert_Free_Time.meetingDetailsDuration45\",\"@salesforce/label/Insert_Free_Time.meetingDetailsDuration60\",\"@salesforce/label/Insert_Free_Time.meetingDetailsDuration90\",\"@salesforce/label/Insert_Free_Time.meetingDetailsDuration120\"],function(e,t,r,n,i,l,o,a,E,_,T,s,c){function S(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var L=S(r);var d=S(n);var m=S(i);var u=S(l);var b=S(o);var f=S(a);var I=S(E);var y=S(_);var p=S(T);var g=S(s);var A=S(c);const N={STYLE:{TABLE_STYLE:\"border-spacing: 0; border-collapse: collapse; border: none; padding: 0; margin: 0;\",ZERO_FONT_SIZE_STYLE:\"line-height: 0; font-size: 0;\",NO_IMAGE_ALERT_STYLE:\"font-size: 14px; line-height: 25px; color: red; font-weight: 500;\",ANCHOR_RESET_STYLE:\"text-decoration: none!important; border: none;\",BETA_STYLE:\"color: #259be2; font-size: 14px; font-weight: 100; line-height: 18px; font-weight: bold; text-decoration: none;\",TIME_ZONE_STYLE:\"color: black; font-size: 14px; font-weight: 100; padding-bottom: 8px;\",TITLE_STYLE:\"color: black; font-size: 17px; font-weight: 100; padding-bottom: 5px; font-weight: bold;\",INTRO_STYLE:\"color: black; font-size: 18px; font-weight: 100; padding-top: 28px; font-weight: bold;\",BAR_ROW_FONT_STYLE:\"color: #38454c; font-size: 14px; font-weight: 100; text-decoration: none!important; border: none; font-weight: bold\",BAR_ROW_STYLE:\"padding-top: 5px; color: #38454c; font-size: 14px; font-weight: 100; text-decoration: none!important; border: none;\",ZERO_PADDING_TABLE_CELL_STYLE:\"padding: 0; margin: 0; border-spacing: 0px;\",TIME_SLOT_ANCHOR_STYLE:\"display: block; text-decoration: none; color: white\",IMAGE_STYLE:\"font-size: 14px; line-height: 36px; color: #1589ee; font-weight: 100;\",AVAILABILITY_ANCHOR_NAME_ATTRIBUTE:\"riq-timeslot\",MEETING_LINK_TABLE_STYLE:\"font-family: Salesforce Sans; border-top: 15px solid transparent; border-bottom: 15px solid transparent;\",MEETING_LINK_TABLE_CELL_STYLE:\"text-align: center; border: 1px solid; border-radius: 4px; border-color: #0176D3; width: 276px; height: 36px;\",MEETING_LINK_ANCHOR_STYLE:\"color: #0176D3; text-decoration: none;\",MEETING_LINK_IMG_SRC_PATH:\"/img/clients/mailapp/event-icon-meeting-button.png\"},SELECTORS:{IFT_QUERY_SELECTOR:\"div[name$=riq-calendar-schedule]\",MEETING_LINK_QUERY_SELECTOR:\"table[name$=siq-meeting-link]\"},LABELS:{INTRO_LABEL:L.default,TIME_ZONE_LABEL:d.default,TIMES_IN_WEB_BROWSER_LABEL:m.default,MEETING_LINK_IN_TIMESLOTS_BUTTON_LABEL:u.default},REGEX:{IFT_CONFIRM_APP_URL:new RegExp('\"https://ma-(chrome|outlook)(-staging|(-us(\\\\d+)-(prod|staging)))?\\\\.salesforceiq\\\\.com/confirm-release/confirm-app(.*?)\"'),IFT_CONFIRM_APP_URL_FALCON:new RegExp('\"https://(.*?)\\\\.svc\\\\.sfdcfc\\\\.net/confirm-release/confirm-app(.*?)\"')},DURATION_OPTIONS:[{label:f.default,value:\"15\"},{label:I.default,value:\"30\"},{label:y.default,value:\"45\"},{label:p.default,value:\"60\"},{label:g.default,value:\"90\"},{label:A.default,value:\"120\"}],TEMPLATE_DEFAULT:{DURATION_OPTION:{label:I.default,value:\"30\"},BUFFER_TIME_MINUTE_STR:\"15\",MINUTE_STR:\"30\",MINUTE_INT:30,BUFFER_TIME_MINUTE_INT:0},BUFFER_TIME_OPTIONS:[{label:b.default,value:\"0\"},{label:f.default,value:\"15\"},{label:I.default,value:\"30\"},{label:p.default,value:\"60\"}]};function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function R(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?O(Object(r),!0).forEach(function(t){v(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function v(e,t,r){t=M(t);if(t in e){Object.defineProperty(e,t,{value:r,enumerable:true,configurable:true,writable:true})}else{e[t]=r}return e}function M(e){var t=Y(e,\"string\");return typeof t===\"symbol\"?t:String(t)}function Y(e,t){if(typeof e!==\"object\"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==undefined){var n=r.call(e,t||\"default\");if(typeof n!==\"object\")return n;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(t===\"string\"?String:Number)(e)}const h=(e,t)=>{let r='<table style=\"'+N.STYLE.TABLE_STYLE+'\"><tbody>';let n=e[0].dayStartFormatted;e.forEach(i=>{i.timeSlotHref+=\"&t=\"+t;i.timeSlotSrc+=\"&t=\"+t;const l={barRowFontStyle:N.STYLE.BAR_ROW_FONT_STYLE,barRowStyle:N.STYLE.BAR_ROW_STYLE,dayStartFormatted:i.dayStartFormatted,tableStyle:N.STYLE.TABLE_STYLE};const o={zeroPaddingTableCellStyle:N.STYLE.ZERO_PADDING_TABLE_CELL_STYLE,timeSlotHref:i.timeSlotHref,availabilityAnchorNameAttribute:N.STYLE.AVAILABILITY_ANCHOR_NAME_ATTRIBUTE,timeslotAnchorStyle:N.STYLE.TIME_SLOT_ANCHOR_STYLE,timeRange:i.timeRange,timeSlotSrc:i.timeSlotSrc,imageStyle:N.STYLE.IMAGE_STYLE};if(i.dayStartFormatted!==n||i===e[0]){r+=`<tr style=\"${l.barRowFontStyle}\"><td style=\"${l.barRowStyle}\">`+`<a style=\"${l.barRowFontStyle}\">${l.dayStartFormatted}<\/a>`+`<\/td><\/tr>`+`<tr><td>`+`<table style=\"${l.tableStyle}\"><tbody>`}r+=`<tr><td style=\"${o.zeroPaddingTableCellStyle}\">`+`<a href=\"${o.timeSlotHref}\" style=\"${o.timeslotAnchorStyle}\">`+`<img alt=\"&nbsp;&nbsp;${o.timeRange}&nbsp;&nbsp;\" src=\"${o.timeSlotSrc}\" style=\"${o.imageStyle}\"><\/img>`+`<\/a>`+`<\/td><\/tr>`;if(i.dayStartFormatted!==n||i===e[0]){r+=\"<\/tbody><\/table><\/td><\/tr>\";n=i.dayStartFormatted}});r+=\"<\/tbody><\/table>\";return r};const F=(e,t)=>{if(!e||!t){return undefined}const r=\"https://login.salesforce.com\"+N.STYLE.MEETING_LINK_IMG_SRC_PATH;const n={tableStyle:N.STYLE.MEETING_LINK_TABLE_STYLE,tableCellStyle:N.STYLE.MEETING_LINK_TABLE_CELL_STYLE,anchorStyle:N.STYLE.MEETING_LINK_ANCHOR_STYLE,imageSrc:r,meetingLinkURL:e,buttonText:t};return`<table name=\"siq-meeting-link\" style=\"${n.tableStyle}\">`+`<tr>`+`<td style=\"${n.tableCellStyle}\">`+`<a href=\"${n.meetingLinkURL}\" style=\"${n.anchorStyle}\" aria-label=\"${n.buttonText}\">`+`<img height=\"16\" width=\"24\" src=\"${n.imageSrc}\">`+`<span>${n.buttonText}<\/span>`+`<\/a>`+`<\/td>`+`<\/tr>`+`<\/table>`};const B=(e,r,n,i,l)=>{const o=e.map(e=>R({},e));const a=t.UrlUtility.addParamsToUrl(o[0].webUrl,{t:i});const E={tableStyle:N.STYLE.TABLE_STYLE,zeroFontSizeStyle:N.STYLE.ZERO_FONT_SIZE_STYLE,noImageAlertStyle:N.STYLE.NO_IMAGE_ALERT_STYLE,introStyle:N.STYLE.INTRO_STYLE,titleStyle:N.STYLE.TITLE_STYLE,timeZoneName:t.StringUtility.htmlEscape(n),timeZoneStyle:N.STYLE.TIME_ZONE_STYLE,availabilityHTML:h(o,i),meetingLinkHTML:l?F(l,N.LABELS.MEETING_LINK_IN_TIMESLOTS_BUTTON_LABEL):``,betaStyle:N.STYLE.BETA_STYLE,availabilityAnchorNameAttribute:N.STYLE.AVAILABILITY_ANCHOR_NAME_ATTRIBUTE,viewLink:a};const _=N.LABELS.TIME_ZONE_LABEL.replace(\"{0}\",E.timeZoneName);return`<div name = \"riq-calendar-schedule\" style=\"width: 100%; font-family: 'Salesforce Sans';\">`+`<table style=\"${E.tableStyle}\"><tbody>`+`<tr><td style=\"${E.zeroFontSizeStyle}\">`+`<\/td><\/tr>`+`<tr><td style=\"${E.introStyle}\">${N.LABELS.INTRO_LABEL}<\/td><\/tr>`+`<tr><td style=\"${E.timeZoneStyle}\">${_}<\/td><\/tr>`+`<tr><td>${E.availabilityHTML}<\/td><\/tr>`+`<tr><td>`+`<a style=\"${E.betaStyle}\" href=\"${E.viewLink}\">${N.LABELS.TIMES_IN_WEB_BROWSER_LABEL}<\/a>`+`<\/td><\/tr>`+`<tr><td style=\"padding-top: 15px;\"><\/td><\/tr>`+`<\/tbody><\/table>`+`${E.meetingLinkHTML}`+`<\/div>`};var U=Object.freeze({__proto__:null,generate:B,generateMeetingLinkHTML:F});function x(e){return!!N.REGEX.IFT_CONFIRM_APP_URL.exec(e)||!!N.REGEX.IFT_CONFIRM_APP_URL_FALCON.exec(e)}function D(e){return w(e)||C(e)}function w(e){return e&&!!e.querySelector(N.SELECTORS.IFT_QUERY_SELECTOR)}function C(e){return e&&!!e.querySelector(N.SELECTORS.MEETING_LINK_QUERY_SELECTOR)}function P(e,t){let r;const n=H(e,\"\",t);if(n){r=n}const i=G(r||e,\"\",t);if(i){r=i}return r}function $(e,t){return H(e,\"\",t)}function H(e,r,n){const i=t.DomUtility.createDocumentElement(e);const{htmlActiveBody:l}=t.DomUtility.getActiveAndReplyFwdBody(e,n);if(w(l)){return t.DomUtility.replaceOrRemoveNodeInBody(i,r,N.SELECTORS.IFT_QUERY_SELECTOR)}return undefined}function G(e,r,n){const i=t.DomUtility.createDocumentElement(e);const{htmlActiveBody:l}=t.DomUtility.getActiveAndReplyFwdBody(e,n);if(C(l)){return t.DomUtility.replaceOrRemoveNodeInBody(i,r,N.SELECTORS.MEETING_LINK_QUERY_SELECTOR)}return undefined}function j(e,r,n){const{htmlActiveBody:i}=t.DomUtility.getActiveAndReplyFwdBody(e,n);if(w(i)){return H(e,r,n)}else if(C(i)){return G(e,r,n)}return undefined}var k=Object.freeze({__proto__:null,isAvailabilityPresentInHtmlDOM:D,isAvailabilityPresentInHtmlString:x,isIFTPresentInHtmlDOM:w,isMeetingLinkPresentInHtmlDOM:C,removeAvailabilityFromHtmlString:P,removeIFTFromHtmlString:$,replaceAvailabilityFromHtmlString:j,replaceIFTFromHtmlString:H,replaceMeetingLinkFromHtmlString:G});const z=N.TEMPLATE_DEFAULT.MINUTE_INT*60*1e3;const Z=N.TEMPLATE_DEFAULT.MINUTE_INT;function K(e,t=z){return q(e,t)+\"\"}function q(e,t=z){return(Number(e)?Number(e):t)/(60*1e3)}function W(e,t=Z){return(Number(e)?Number(e):Number(t))*60*1e3}var Q=Object.freeze({__proto__:null,convertMinuteToMsInt:W,convertMsToMinuteInt:q,convertMsToMinuteStr:K});e.Constants=N;e.Convert=Q;e.Generator=U;e.Locator=k;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"lightningInbox-insert-free-time-markup-library","descriptor":"markup://lightningInbox:insertFreeTimeMarkupLibrary","n":"lightningInbox/insertFreeTimeMarkupLibrary"},{"xs":"P","co":"function() { $A.componentService.addModule('markup://navex:auraLib', \"navex/auraLib\",[\"exports\",\"assert\",\"force/pageLibrary\",\"aura\"],function(e,o,t,n){function a(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var r=a(o);function l(e={}){const{page:o}=e||{};r.default(!o||t.isValidPage(o)||t.isValidPageReference(o),\"createPageHost: Page must be valid Page, PageReference, or null\");return new Promise((o,t)=>{n.createComponent(\"laf:pageHost\",e,(e,n,a)=>{if(n===\"SUCCESS\"){o(e)}else{t(new Error(a||\"Undefined error from Aura.createComponent.\"))}})})}function u(e,o,t={}){const{panelType:a=\"actionModal\",visible:l=true,lazyLoad:u=true,closeOnLocationChange:i=true,owner:c,onInit:s,onCreate:f,onDestroy:d,onBeforeShow:p,onAfterShow:g,panelConfig:{body:C=o,returnFocusElement:P=document.activeElement,closeOnClickOut:m=true,showCloseButton:v=true,title:y,flavor:b}={}}=t;r.default(e,\"createAuraPanel: must provide a context\");r.default(C,\"createAuraPanel: must provide a body\");n.dispatchGlobalEvent(\"markup://ui:createPanel\",{panelType:a,visible:l,lazyLoad:u,closeOnLocationChange:i,owner:c,onInit:s,onCreate:f,onDestroy:d,onBeforeShow:p,onAfterShow:g,panelConfig:{body:C,returnFocusElement:P,closeOnClickOut:m,showCloseButton:v,title:y,flavor:b}},e)}e.createAuraPanel=u;e.createPageHost=l;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"navex-aura-lib","descriptor":"markup://navex:auraLib","n":"navex/auraLib"},{"xs":"P","co":"function() { $A.componentService.addModule('markup://navex:auraPanelContent', \"navex/auraPanelContent\",[\"exports\",\"lwc\",\"logger\",\"navex/auraLib\",\"navex/stackedNavigationLib\"],function(e,t,n,r,a){const i=[];function o(e,t,n,r){return i}var s=t.registerTemplate(o);o.stylesheets=[];o.stylesheetToken=\"lwc-mam4g6l63p\";o.legacyStylesheetToken=\"navex-auraPanelContent_auraPanelContent\";t.freezeTemplate(o);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){u(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function u(e,t,n){t=c(t);if(t in e){Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true})}else{e[t]=n}return e}function c(e){var t=d(e,\"string\");return typeof t===\"symbol\"?t:String(t)}function d(e,t){if(typeof e!==\"object\"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var r=n.call(e,t||\"default\");if(typeof r!==\"object\")return r;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(t===\"string\"?String:Number)(e)}class g extends t.LightningElement{constructor(...e){super(...e);this.pageHost=void 0;this.panel=void 0;this.id=void 0;this.panelOptions=void 0;this._pageHostAttributes={}}set pageHostAttributes(e){if(e){this._pageHostAttributes=e}else{this._pageHostAttributes={}}this.updateModal()}get pageHostAttributes(){return this._pageHostAttributes}onUpdateModal(e){this.updateModal(e.detail.attributes)}updateModal(e){if(!this.pageHost){this.createModal()}else{const t=e?e:this.pageHostAttributes;const n=e?this.panel:this.pageHost;this.update(n,t)}}update(e,t){Object.entries(t).forEach(([t,n])=>{e.set(`v.${t}`,n)})}disconnectedCallback(){if(this.panel&&this.panel.isValid()){this.panel.close()}this.panel=null;this.pageHost=null}createModal(){r.createPageHost(this.pageHostAttributes).then(e=>{this.pageHost=e;r.createAuraPanel(this,e,p(p({},this.panelOptions),{},{onCreate:this.onModalCreate.bind(this),onDestroy:this.onModalDestroy.bind(this)}))}).catch(e=>{n.logError(\"stackedModalContent \u2014 unable to create panel\");n.logError(e)})}onModalDestroy(){this.dispatchEvent(new a.AuraPanelDestroyedEvent);this.panel=null}onModalCreate(e){this.dispatchEvent(new a.AuraPanelCreatedEvent);this.panel=e;const t=this.panel.getElement();t.addEventListener(a.ReturnNavigationEvent.eventName,this.onReturnNavigation.bind(this));t.addEventListener(a.UpdateModalEvent.eventName,this.onUpdateModal.bind(this))}onReturnNavigation(e){e.stopPropagation();e.preventDefault();const{returnValue:t,triggeringAction:n,triggeringPageReference:r}=e.detail;this.dispatchEvent(new a.ReturnNavigationEvent(t,n,r))}}t.registerDecorators(g,{publicProps:{id:{config:0},panelOptions:{config:0},pageHostAttributes:{config:3}},track:{_pageHostAttributes:1},fields:[\"pageHost\",\"panel\"]});var h=t.registerComponent(g,{tmpl:s,sel:\"navex-aura-panel-content\",apiVersion:59});e.default=h;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"navex-aura-panel-content","descriptor":"markup://navex:auraPanelContent","n":"navex/auraPanelContent","ad":[["id",null,"G",false],["panelOptions",null,"G",false],["pageHostAttributes",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://records:mobileFormError', \"records/mobileFormError\",[\"exports\",\"lwc\",\"force/dedupeContent\",\"@salesforce/label/Errors.ErrorPopoverHeading\",\"@salesforce/label/Errors.EditErrorHelp\",\"@salesforce/label/InlineEdit.SaveFieldErrorSummary\",\"@salesforce/label/DuplicateList.NonBlockingHeaderText\"],function(e,r,t,s,o,l,i){function a(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var n=a(t);var d=a(s);var c=a(o);var u=a(l);var g=a(i);function h(e,r,t){var s=e?\"[\"+e+\"]\":\"\";return\".error-header\"+s+\" {background-color: var(--lwc-paletteRed40, #ba0517);color: var(--lwc-colorTextInverse, rgb(255, 255, 255));}.warning-header\"+s+\" {background-color: var(--lwc-colorBackgroundWarning, #fe9339);color: var(--lwc-colorTextDefault, rgb(24, 24, 24));}.error-section\"+s+\" .slds-accordion__summary-action-icon\"+s+\" {webkit-transform: rotate(-90deg);transform: rotate(-90deg);}.error-section.slds-is-open\"+s+\" .slds-accordion__summary-action-icon\"+s+\" {webkit-transform: rotate(0deg);transform: rotate(0deg);}div.fieldLevelErrors\"+s+\" ul\"+s+\" {list-style: none;margin: var(--lwc-spacingNone, 0);padding: var(--lwc-spacingNone, 0);}div.fieldLevelErrors\"+s+\" ul\"+s+\" li\"+s+\" {display: inline;}div.fieldLevelErrors\"+s+\" ul\"+s+\" li\"+s+':after {content: \", \";}div.fieldLevelErrors'+s+\" ul\"+s+\" li:last-child\"+s+':after {content: \"\";}.error-button'+s+\" {width: 100%;text-align: left;}.chevron-nudge\"+s+\" {margin-top: -2px;}\"}var p=[h];const f=r.parseFragment`<span${3}>: <\/span>`;const v={classMap:{\"slds-accordion\":true},key:0};const m={classMap:{\"error-section\":true,\"slds-is-open\":true},key:1};const E={\"slds-button_reset\":true,\"error-button\":true,\"slds-m-horizontal_medium\":true,\"slds-m-vertical_small\":true};const k={classMap:{\"slds-accordion__summary-action-icon\":true,\"slds-button__icon\":true,\"slds-button__icon_left\":true,\"chevron-nudge\":true,\"slds-icon_x-small\":true},attrs:{\"aria-hidden\":\"true\"},key:4,svg:true};const y={classMap:{\"slds-accordion__summary-content\":true,\"slds-truncate\":true},key:6};const b={\"slds-accordion__content\":true};const _={classMap:{\"slds-text-align_left\":true},key:8};const w={classMap:{\"slds-text-align_left\":true,\"slds-p-horizontal_medium\":true,\"slds-p-vertical_small\":true},key:10};const L={classMap:{\"slds-list_dotted\":true},key:11};const C={key:16};function F(e,t,s,o){const{gid:l,b:i,h:a,d:d,t:c,c:u,k:g,i:h,st:p}=e;const{_m0:F,_m1:x}=o;return[a(\"div\",v,[a(\"section\",m,[a(\"h2\",{className:t.computedHeaderCssClass,key:2},[a(\"button\",{classMap:E,attrs:{\"aria-controls\":l(\"errors\"),title:t.headerContent},key:3,on:{click:F||(o._m0=i(t.toggleContents))}},[a(\"svg\",k,[a(\"use\",{attrs:{\"xlink:href\":r.sanitizeAttribute(\"use\",\"http://www.w3.org/2000/svg\",\"xlink:href\",\"/assets/icons/utility-sprite/svg/symbols.svg#switch\")},key:5,svg:true})]),a(\"span\",y,[c(d(t.headerContent))])])]),a(\"div\",{classMap:b,attrs:{id:l(\"errors\")},key:7},[t.showDupeErrors?a(\"div\",_,[u(\"force-dedupe-content\",n.default,{props:{error:t.duplicateError},key:9})]):null,t.showPageErrors?a(\"div\",w,[c(d(t.i18n.PageLevelError)),a(\"ul\",L,h(t.errors.pageLevelErrors,function(e){return a(\"li\",{key:g(12,e)},[c(d(e))])}))]):null,t.showFieldErrors?a(\"div\",{className:t.calculateFieldErrorsClass,key:13},[c(d(t.i18n.FieldLevelError)),p(f(),15),a(\"ul\",C,h(t.errors.fieldLevelErrors,function(e,r){return a(\"li\",{key:g(17,e.fieldLabel)},[!e.disableLink?a(\"a\",{attrs:{href:\"javascript:void(0)\",\"data-index\":r},key:18,on:{click:x||(o._m1=i(t.onFieldClick))}},[c(d(e.fieldLabel))]):null,e.disableLink?c(d(e.fieldLabel)):null])}))]):null])])])]}var x=r.registerTemplate(F);F.stylesheets=[];if(p){F.stylesheets.push.apply(F.stylesheets,p)}F.stylesheetToken=\"lwc-5irg27h5k1a\";F.legacyStylesheetToken=\"records-mobileFormError_mobileFormError\";r.freezeTemplate(F);class M extends r.LightningElement{constructor(...e){super(...e);this.errors=void 0;this.duplicateError=void 0;this.handleReloadRecord=void 0;this.handleFieldClick=void 0}get headerContent(){if(this.duplicateError){return this.duplicateError.blocksSave?d.default:g.default}return d.default}get computedHeaderCssClass(){return`pageErrorHeader slds-accordion__summary-heading ${this.duplicateError&&!this.duplicateError.blocksSave?\"warning-header\":\"error-header\"}`}get showDupeErrors(){return!!this.duplicateError}get showPageErrors(){return this.errors&&this.errors.pageLevelErrors&&Object.keys(this.errors.pageLevelErrors).length}get showFieldErrors(){return this.errors&&this.errors.fieldLevelErrors&&Object.keys(this.errors.fieldLevelErrors).length}get showReloadButton(){return this.errors&&this.errors.collisionDetected}get calculateFieldErrorsClass(){let e=\"fieldLevelErrors slds-text-align_left slds-p-horizontal_medium slds-p-vertical_small\";if(this.showPageErrors){e+=\" slds-m-vertical_small\"}return e}get i18n(){return{PageLevelError:c.default,FieldLevelError:u.default}}onFieldClick(e){if(typeof this.handleFieldClick===\"function\"){const r=e.target.attributes[\"data-index\"];if(r){const e=r.value;if(this.errors&&this.errors.fieldLevelErrors&&this.errors.fieldLevelErrors[e]){const r=this.errors.fieldLevelErrors[e];this.handleFieldClick(r)}}}}toggleContents(){const e=this.template.querySelector(\".error-section\");e.classList.toggle(\"slds-is-open\")}}r.registerDecorators(M,{publicProps:{errors:{config:0},duplicateError:{config:0},handleReloadRecord:{config:0},handleFieldClick:{config:0}}});var P=r.registerComponent(M,{tmpl:x,sel:\"records-mobile-form-error\",apiVersion:59});e.default=P;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"records-mobile-form-error","descriptor":"markup://records:mobileFormError","n":"records/mobileFormError","ad":[["errors",null,"G",false],["duplicateError",null,"G",false],["handleReloadRecord",null,"G",false],["handleFieldClick",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://force:salesforceScopedModuleResolver', \"force/salesforceScopedModuleResolver\",[\"exports\",\"assert\",\"force/ldsAdaptersApex\",\"force/messageServiceUtils\",\"aura\",\"instrumentation/gateTracker\",\"o11y/client\"],function(e,n,t,r,i,o,s){function a(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var c=a(n);const u=\"accessChecks\";const d={\"B2C.isPersonAccountsEnabled\":\"isPersonAccountsEnabled\",isAccountLogoEnabled:\"isAccountLogoEnabled\",isExecuteHotSpotForLDS:\"isExecuteHotSpotForLDS\",isRaptorActionsContainerEnabled:\"isRaptorActionsContainerEnabled\",isRaptorActionsContainerEnabledForAccount:\"isRaptorActionsContainerEnabledForAccount\",isRaptorActionsContainerEnabledForContact:\"isRaptorActionsContainerEnabledForContact\",isRaptorActionsContainerEnabledForLead:\"isRaptorActionsContainerEnabledForLead\",isRaptorActionsContainerEnabledForOpportunity:\"isRaptorActionsContainerEnabledForOpportunity\",isRaptorActionsContainerEnabledForSupport:\"isRaptorActionsContainerEnabledForSupport\",isHighlightsVisibilityEnabled:\"isHighlightsVisibilityEnabled\",isHeadlessFooterEnabled:\"isHeadlessFooterEnabled\",isLWCRLHeaderActionsOffEnabled:\"isLWCRLHeaderActionsOffEnabled\",isActionsDelaySSTFetchingEnabled:\"isActionsDelaySSTFetchingEnabled\",isActionsDelayHpSSTFetchingEnabled:\"isActionsDelayHpSSTFetchingEnabled\",isActionsLightningMenuItemEnabled:\"isActionsLightningMenuItemEnabled\",isShowViewHierarchyLinkEnabled:\"isShowViewHierarchyLinkEnabled\",isSocialInsightsLogoAdmin:\"isSocialInsightsLogoAdmin\",orgHasShiftManagement:\"orgHasShiftManagement\",\"Record.forceReloadRecordForInlineEdit\":\"forceReloadRecordForInlineEdit\",\"Record.isMergeCollisionEnabled\":\"isMergeCollisionEnabled\",\"Record.recordChangeCapture\":\"recordChangeCapture\",\"Record.isMultiUserLiveRecordsEnabled\":\"isMultiUserLiveRecordsEnabled\",areNewRecordCallbacksEnabled:\"areNewRecordCallbacksEnabled\",userHasOpportunityAttributionEnabled:\"userHasOpportunityAttributionEnabled\",isNativeEmailClientEnabled:\"isNativeEmailClientEnabled\",orgHasLinkedInIntegrationForHVSEnabled:\"orgHasLinkedInIntegrationForHVSEnabled\",orgHasAutoSendEmailEnabled:\"orgHasAutoSendEmailEnabled\",orgHasAutoSendEmailEnabledForQuickCadence:\"orgHasAutoSendEmailEnabledForQuickCadence\",orgHasCallDispositionEnabled:\"orgHasCallDispositionEnabled\",userCanCreateStandardCadence:\"userCanCreateStandardCadence\",orgHasCadenceBuilderV2:\"orgHasCadenceBuilderV2\"};let l=false;let f;function g(e,n){if(!e){return undefined}const t=d[e];if(t){return window.$A.get(\"$Browser.S1Features.\"+t)}if(!l){l=true;f=n(u)}c.default(f!==undefined,'@AppInitializer(name = \"accessChecks\") did not produce any values.');const r=f[e];c.default(r!==undefined,`\"${e}\" does not exist. Ensure the resoure is defined in ClientAccessChecksProvider.WHITELISTED_ACCESS_CHECKS`);return r}function m(e){if(!e){return{refreshApex:t.refreshApex,getSObjectValue:t.getSObjectValue}}const n=e.split(\".\");const r=n.pop();const i=n.pop();const o=n.pop()||\"\";return t.getApexInvoker(o,i,r,false)}function p(e){const n=e.split(\".\");const r=n.pop();const i=n.pop();const o=n.pop()||\"\";const s=true;return t.getApexInvoker(o,i,r,s)}const b={DESKTOP:\"Large\",TABLET:\"Medium\",PHONE:\"Small\"};const w={formFactor:A};function E(e){if(!e){return undefined}const n=w[e];if(!n){return undefined}return n()}function A(){const e=window.$A.get(\"$Browser.formFactor\");return b[e]}function C(e){if(!e){return undefined}if(!window.$A.get(\"$Site\")){throw new window.$A.auraFriendlyError(\"Unsupported community context. Invalid usage of @salesforce/community.\")}if(e===\"Id\"){return window.$A.get(\"$Site.networkId\")}else if(e===\"basePath\"){return window.$A.get(\"$Site.siteUrlPrefix\")}return undefined}function S(e){if(!e){return undefined}return window.$A.get(\"$ContentAsset.\"+e)}function h(e,n,t){return e(n.slice(2))||t||\"inherit\"}function F(e){return h.bind(null,e)}function y(e){if(!e){return undefined}return r.getPlatformMessageChannel(e)}let $=null;function L(e){if($===null){$=i.getModule(\"force/customPerms\")}if(!e||!$){return undefined}return $[e]}const H=\"featureFlag\";let I=false;let R;function k(e,n){if(!e){return undefined}if(!I){I=true;R=n(H)}if(R!==undefined){return R[e]}return undefined}function D(e,n){return o.getGate(e,n)}function M(e){if(!e){return undefined}const n=window.$A.get(\"$Locale\");const t=e.split(\".\");switch(t[0]){case\"lang\":case\"dir\":case\"firstDayOfWeek\":case\"defaultCalendar\":case\"defaultNumberingSystem\":case\"calendarData\":return n[t[0]];case\"locale\":return v(n.userLocaleLang,n.userLocaleCountry);case\"timeZone\":return n.timezone;case\"currency\":return n.currencyCode;case\"common\":return x(n,t[1]);case\"dateTime\":return T(n,t[1]);case\"number\":return O(n,t[1]);case\"showJapaneseCalendar\":return n.showJapaneseImperialYear;default:return undefined}}function v(e,n){if(!e){return undefined}switch(e){case\"no\":e=\"nb\";break;case\"sh\":switch(n){case\"BA\":case\"ME\":case\"CS\":return\"hr\"}break;case\"tl\":return\"fil\"}const t=n&&n.length>0?e+\"-\"+n:e;return Intl.DateTimeFormat.supportedLocalesOf(t)[0]||t}function x(e,n){switch(n){case\"digits\":return e[\"common.digits\"];case\"calendarData\":return e[\"common.calendarData\"];default:return undefined}}function T(e,n){switch(n){case\"shortDateFormat\":case\"shortTimeFormat\":case\"longDateFormat\":case\"longTimeFormat\":return e[n];case\"shortDateTimeFormat\":return e.shortDatetimeFormat;case\"mediumDateFormat\":return e.dateFormat;case\"mediumDateTimeFormat\":return e.datetimeFormat;case\"longDateTimeFormat\":return e.longDatetimeFormat;case\"mediumTimeFormat\":return e.timeFormat;default:return undefined}}function O(e,n){switch(n){case\"numberFormat\":case\"percentFormat\":case\"currencyFormat\":case\"percentSign\":case\"plusSign\":case\"minusSign\":case\"exponentialSign\":case\"perMilleSign\":case\"infinity\":case\"nan\":return e[n];case\"currencySymbol\":return e.currency;case\"decimalSeparator\":return e.decimal;case\"groupingSeparator\":return e.grouping;case\"superscriptExponentSign\":return e.superscriptingExponentSign;default:return undefined}}function P(e){if(!e){return undefined}return window.$A.get(\"$Label.\"+e)}const _=[\"µs\",\"ms\",\"secs\",\"bytes\",\"kb\",\"mb\",\"gb\"];const U=[\"microseconds\",\"milliseconds\",\"seconds\",\"bytes\",\"kilobytes\",\"megabytes\",\"gigabytes\"];const V=\"owner\";const N=\"name\";const j=\".\";function B(e,n){if(!e||!n||!n.length||n.length>2){throw new window.$A.auraFriendlyError(\"Invalid metric format: \"+z(e))}const t=n[0];const r=W(n[1]);return K(e,t,r)}function K(e,n,t){if(t){n=n+j+t}return{get(){const t={};t[V]=e;t[N]=n;return t}}}function W(e){if(!e){return false}if(_.includes(e)){return e}const n=U.indexOf(e.toLowerCase());if(n>0){return _[n]}throw new window.$A.auraFriendlyError(\"Invalid metric format: Incorrect Unit Format for \"+e+\". Use one of these : \"+_)}function z(e){if(!e){return\"No owner specified\"}return\"Metric only accepts 2 or 3 arguments\"}const G=\"coreInfoConfig\";let J;function Q(e,n){if(J===undefined){J=n(G)}switch(e){case\"core.appVersion\":return J?J.internalAppVersion:\"\";case\"core.securePort\":return J?J.securePort:\"\";case\"core.untrustedContentDomain\":return J?J.untrustedContentDomain:\"\";default:return undefined}}function Y(e){if(!e){return undefined}return window.$A.get(\"$Resource.\"+e)}function Z(e){if(!e){return undefined}const n=e.indexOf(\".\");if(n===-1){return{objectApiName:e}}const t=e.substring(0,n);const r=e.substring(n+1);return{fieldApiName:r,objectApiName:t}}function q(e){if(!e){return undefined}if(!window.$A.get(\"$Site\")){throw new window.$A.auraFriendlyError(\"Unsupported site context. Invalid usage of @salesforce/site.\")}if(e===\"Id\"){return window.$A.get(\"$Site.siteId\")}if(e===\"activeLanguages\"){return window.$A.get(\"$Site.activeLanguages\")}return undefined}function X(e){if(e===\"Id\"){return window.$A.get(\"$SObjectType.CurrentUser.\"+e)}else if(e===\"isGuest\"){return!!window.$A.get(\"$Site.isGuestUser\")}return undefined}let ee=null;function ne(e){if(ee===null){ee=i.getModule(\"force/userPerms\")}if(!e||!ee){return undefined}return ee[e]}const te=\"webstore\";let re=false;function ie(e,n){let t;if(!e){return undefined}if(e===\"Id\"){if(!re){re=true;t=n(te)}return t}return undefined}const oe=new Map;let se;function ae(e){if(!se){se=s.getInstrumentation(\"komaci.lex.scoped-komaci-resolver\")}se.log(\"Komaci module doesn't exist on client: \"+e)}function ce(e){if(!e){return undefined}if(oe.get(e)!==undefined){return oe.get(e)}oe.set(e,null);const n=e.split(/__(.+)/);const t=n[0];const r=n[1];const o=`markup://salesforceKomaci:${t}__${r}`;let s;if(i.hasModule(o)){s=i.getModule(o);oe.set(e,s);return s}else if(t===\"lightning\"){const n=`markup://salesforceKomaci:interop__${r}`;if(i.hasModule(n)){s=i.getModule(n);oe.set(e,s);return s}}ae(o);return undefined}const ue=\"markup\";const de=\"salesforceLds\";const le=new Map;function fe(e){if(!e){return undefined}const n=le.get(e);if(n!==undefined){return n}const[t,r]=e.split(/__(.+)/);const o=`${ue}://${de}:${t}__${r}`;if(i.hasModule(o)){const n=i.getModule(o);le.set(e,n);return n}return undefined}function ge(e,n,t,r,i,o){switch(e){case\"accessCheck\":return g(n,i);case\"apex\":return m(n);case\"apexContinuation\":return p(n);case\"client\":return E(n);case\"community\":return C(n);case\"contentAssetUrl\":return S(n);case\"cssvars\":return F(r);case\"messageChannel\":return y(n);case\"customPermission\":return L(n);case\"featureFlag\":return k(n,i);case\"gate\":return D(n,i);case\"i18n\":return M(n);case\"label\":return P(n);case\"metric\":return B(n,t);case\"internal\":return Q(n,i);case\"loader\":return o;case\"resourceUrl\":return Y(n);case\"schema\":return Z(n);case\"site\":return q(n);case\"user\":return X(n);case\"userPermission\":return ne(n);case\"komaci\":return ce(n);case\"webstore\":return ie(n,i);case\"lds\":return fe(n);default:throw new window.$A.auraFriendlyError(\"Unsupported scope: @salesforce/\"+e)}}function me({registerScopedModuleResolver:e,getCSSVar:n,getInitializer:t,getDefaultLoaderResolver:r}){e(\"salesforce\",e=>{const[,i,o,...s]=e.split(\"/\");return ge(i,o,s,n,t,r())});return{name:\"salesforce-scoped-module-resolver\"}}e.coreResolver=ge;e.default=me;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"force-salesforce-scoped-module-resolver","descriptor":"markup://force:salesforceScopedModuleResolver","n":"force/salesforceScopedModuleResolver","mv":0.0},{"xs":"G","co":"function() { $A.componentService.addModule('markup://support:quickCadencePrompt', \"support/quickCadencePrompt\",[\"exports\",\"lwc\",\"support/inlineToast\",\"lightning/button\",\"support/quickCadencePromptFooter\",\"@salesforce/label/QuickCadencePrompt.Line1\",\"@salesforce/label/QuickCadencePrompt.Line2\",\"@salesforce/label/QuickCadencePrompt.CadenceFeature1\",\"@salesforce/label/QuickCadencePrompt.CadenceFeature2\",\"@salesforce/label/QuickCadencePrompt.CadenceFeature3\",\"@salesforce/label/QuickCadencePrompt.LearnMore\",\"instrumentation/service\"],function(e,t,n,s,a,o,r,c,i,l,u,d){function p(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var h=p(n);var m=p(s);var v=p(a);var f=p(o);var b=p(r);var g=p(c);var k=p(i);var w=p(l);var y=p(u);function _(e,t,n){var s=e?\"[\"+e+\"]\":\"\";return\"ul\"+s+\" {list-style : disc;margin-bottom: var(--lwc-spacingMedium, 1rem);padding-left: var(--lwc-spacingXLarge, 2rem);}.paragraph\"+s+\" {margin-top: var(--lwc-spacingMedium, 1rem);margin-bottom: var(--lwc-spacingMedium, 1rem);margin-left: var(--lwc-spacingMedium, 1rem);}.body\"+s+\" {height: var(--lwc-sizeMedium, 20rem);}.modal-footer\"+s+\" {position: absolute;bottom: var(--lwc-spacingNone, 0);left: var(--lwc-spacingNone, 0);right: var(--lwc-spacingNone, 0);}\"}var C=[_];const M={classMap:{body:true},key:0};const j={key:1};const I={classMap:{paragraph:true},key:3};const O={classMap:{paragraph:true},key:4};const P={key:5};const L={classMap:{paragraph:true},key:7};const q={classMap:{\"modal-footer\":true,\"slds-modal__footer\":true},key:9};function E(e,t,n,s){const{c:a,h:o,d:r,t:c,k:i,i:l,b:u}=e;const{_m0:d}=s;return[o(\"div\",M,[o(\"div\",j,[a(\"support-inline-toast\",h.default,{props:{label:t.successMessage},key:2})]),o(\"div\",I,[c(r(t.labels.line1))]),o(\"div\",O,[c(r(t.labels.line2)),o(\"ul\",P,l(t.items,function(e){return o(\"li\",{key:i(6,e)},[c(r(e))])}))]),o(\"div\",L,[a(\"lightning-button\",m.default,{props:{variant:\"base\",label:t.labels.learnMore},key:8,on:{click:d||(s._m0=u(t.handleLearnMore))}})])]),o(\"div\",q,[a(\"support-quick-cadence-prompt-footer\",v.default,{props:{countdown:t.countdown,sourceObj:t.sourceObj},key:10})])]}var Q=t.registerTemplate(E);E.stylesheets=[];if(C){E.stylesheets.push.apply(E.stylesheets,C)}E.stylesheetToken=\"lwc-1j519276ia4\";E.legacyStylesheetToken=\"support-quickCadencePrompt_quickCadencePrompt\";t.freezeTemplate(E);const T={EMAIL:\"email\",CALL:\"call\"};class x extends t.LightningElement{constructor(...e){super(...e);this.successMessage=void 0;this._sourceObj=void 0;this.labels={line1:f.default,line2:b.default,learnMore:y.default};this.items=[g.default,k.default,w.default];this.countdown=void 0;this.intervalId=void 0}get countdownSeconds(){return undefined}get sourceObj(){return this._sourceObj||T.EMAIL}set sourceObj(e){this._sourceObj=Object.values(T).includes(e)?e:null}set countdownSeconds(e){this.closeWithDelay(e)}disconnectedCallback(){clearInterval(this.intervalId)}closeWithDelay(e){this.countdown=e;if(this.countdown>0){this.intervalId=setInterval(()=>{this.decrementCountdown()},1e3)}else{clearInterval(this.intervalId);this.intervalId=undefined}}decrementCountdown(){if(this.countdown>0){this.countdown--;if(this.countdown===0){clearInterval(this.intervalId);this.intervalId=undefined;this.handleCountdownEnded()}}}handleCountdownEnded(){this.dispatchEvent(new CustomEvent(\"quickcadenceskip\",{bubbles:true,composed:true}));d.interaction(\"quick_cadence_prompt_auto_close\",this._sourceObj,{},\"synthetic-click\",\"user\")}handleLearnMore(){this.closeWithDelay(\"0\");const e=\"https://salesforce.com/doc/main/core/en/xmlsource/help/high_velocity_sales/hvs_quick_cadences.xml\";window.open(e);d.interaction(\"learn_more_quick_cadence\",this._sourceObj,{},\"synthetic-click\",\"user\")}}t.registerDecorators(x,{publicProps:{successMessage:{config:0},countdownSeconds:{config:3},sourceObj:{config:3}},fields:[\"_sourceObj\",\"labels\",\"items\",\"countdown\",\"intervalId\"]});var D=t.registerComponent(x,{tmpl:Q,sel:\"support-quick-cadence-prompt\",apiVersion:59});e.default=D;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"support-quick-cadence-prompt","descriptor":"markup://support:quickCadencePrompt","n":"support/quickCadencePrompt","ad":[["successMessage",null,"G",false],["countdownSeconds",null,"G",false],["sourceObj",null,"G",false]]},{"xs":"G","co":"function() { $A.componentService.addModule('markup://feeds_chat:messageLibrary', \"feeds_chat/messageLibrary\",[\"exports\",\"feeds_chat/common\",\"@salesforce/label/GenerativePromptPanel.UseActionLabel\",\"@salesforce/label/GenerativePromptPanel.UseActionTitle\"],function(e,t,n,r){function o(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var i=o(n);var s=o(r);const c={USE:\"use\",FILL:\"fill\",STATUS:\"status\"};const a=Object.values(c);const u=\"[a-z_]+(\\\\/)[a-z]+\";const f={OUTBOUND:\"outbound\",INBOUND:\"inbound\"};const l={RIGHT:\"right\",LEFT:\"left\"};const p={TEXT:\"text\",IMAGE:\"image\",VIDEO:\"video\",RESPONSE:\"response\",SUCCESS:\"success\",ERROR:\"error\"};const b={TEXT:\"text\",IMAGE:\"image\",VIDEO:\"video\",RESPONSE:\"text\",SUCCESS:\"text\",ERROR:\"text\"};const y={[p.RESPONSE]:{definition:\"feeds_chat/messageActionable\"},[p.SUCCESS]:{definition:\"feeds_chat/messageStatus\",variant:p.SUCCESS},[p.ERROR]:{definition:\"feeds_chat/messageStatus\",variant:p.ERROR},[p.TEXT]:{definition:\"feeds_chat/messageText\"}};const g={type:e=>Object.values(f).includes(e),definition:e=>new RegExp(u).test(e),contentType:e=>Object.values(p).includes(e),attributes:e=>typeof e===\"object\"};const O={type:f.INBOUND,definition:y[p.TEXT].definition,contentType:p.TEXT,attributes:{content:\"\",textAlignment:l.LEFT,actions:[]},rawResponse:{}};function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach(function(t){E(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function E(e,t,n){t=d(t);if(t in e){Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true})}else{e[t]=n}return e}function d(e){var t=v(e,\"string\");return typeof t===\"symbol\"?t:String(t)}function v(e,t){if(typeof e!==\"object\"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var r=n.call(e,t||\"default\");if(typeof r!==\"object\")return r;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(t===\"string\"?String:Number)(e)}function j(e){return t.normalizeString(e,a)}function T(e){if(e?.generations?.length>=0){return p.RESPONSE}return e?.contentType??p.TEXT}function P(e){return typeof e===\"string\"?e:e?.generations?.[0]?.text||e?.attributes?.content||\"\"}function R(e,t){if(t===p.RESPONSE){const{generations:t,rawResponse:n}=e;if(t?.length>=0){return e}return n}return{}}function h(e,n){return t.normalizeObject(m(m({},O),{},{type:n??e?.type,attributes:m(m({},O.attributes),{},{content:e})}),g,O)}function w(e,n){return t.normalizeObject(m(m({},e),{},{type:n??e?.type,attributes:m({},e?.attributes)}),g,O)}function M(e){const n=t.curry((e,t)=>{const n=typeof e===\"string\";const r=typeof e===\"function\";const o=typeof e===\"object\"&&e!==null;return n?e:r?e().toString():o?typeof e.successMessage===\"function\"?e.successMessage().toString():t||\"\":t||\"\"})(e);const r=t.curry((e,t)=>{const n=typeof e===\"object\"&&e!==null;return n?typeof e.errorMessage===\"function\"?e.errorMessage().toString():t||\"\":t||\"\"})(e);return{successMessage:n,errorMessage:r}}const U=Object.freeze({UseActionLabel:i.default,UseActionTitle:s.default});function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach(function(t){C(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function C(e,t,n){t=D(t);if(t in e){Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true})}else{e[t]=n}return e}function D(e){var t=N(e,\"string\");return typeof t===\"symbol\"?t:String(t)}function N(e,t){if(typeof e!==\"object\"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var r=n.call(e,t||\"default\");if(typeof r!==\"object\")return r;throw new TypeError(\"@@toPrimitive must return a primitive value.\")}return(t===\"string\"?String:Number)(e)}function I(e,t){const n=T(e);const r=P(e);const o=y[n];const i=A(A({content:r},o.variant&&{variant:o.variant}),{},{textAlignment:t===f.OUTBOUND?l.RIGHT:l.LEFT});const s={type:t,contentType:n,definition:o.definition,attributes:i};if(n===p.RESPONSE){s.rawResponse=R(e,n)}return s}function L(e,t){return typeof e===\"string\"?h(e,t):w(e,t)}function _(e){return M(e)}function z(e){const n=t.curry((e,t)=>{const{action:n,attributes:r}=t?.detail;const o=t.actionRequest(n,r,e.rawResponse);t.dispatch(o);t.isExecuted=true})(e);const r=e=>{if(e.isExecuted){const n=e.successMessage(\"\");if(!t.empty(n)){e.notify({contentType:p.SUCCESS,attributes:{content:n}})}}else{const n=e.errorMessage(\"\");if(!t.empty(n)){e.notify({contentType:p.ERROR,attributes:{content:n}})}}};if(e.contentType===p.RESPONSE){t.set(e.attributes,\"actions\",[{name:c.USE,label:U.UseActionLabel,title:U.UseActionTitle,executor:n,finisher:r}])}return e}async function G(e){const n=t.get(e.detail,\"action\");const{actions:r}=e.detail.attributes;if(r){const t=r.filter(e=>e.name===n)[0];const o=j(n);if(t&&o){const n=await Promise.resolve(e);if(t&&t.executor){t.executor(n)}if(t&&t.finisher){t.finisher(n)}}}return false}function X(e){return new CustomEvent(\"messageaction\",{bubbles:true,composed:true,detail:e})}const B=(e,n)=>t.pipe(I,e=>L(e,n),z)(e,n);e.ContentTypeSchema=y;e.MessageAction=c;e.MessageContentCategory=b;e.MessageContentType=p;e.MessageDefaultOptions=O;e.MessageDirection=f;e.MessageSchema=g;e.buildActionApiEvent=X;e.executeAction=G;e.extractContext=_;e.generateMessage=B;e.normalizeMessage=L;e.patchActionsToMessage=z;e.transformMessage=I;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"feeds_chat-message-library","descriptor":"markup://feeds_chat:messageLibrary","n":"feeds_chat/messageLibrary"},{"xs":"P","co":"function() { $A.componentService.addModule('markup://lightningInbox:utilities', \"lightningInbox/utilities\",[\"exports\",\"lightning/internalLocalizationService\",\"@salesforce/i18n/timeZone\",\"clients/contextLibraryLwc\",\"clients/pixelCodec\"],function(e,t,n,r,o){function i(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var a=i(n);const s={DIALOG_API:\"DialogAPI\",ABSOLUTE_MAILAPP_DOMAIN_KEY:\"absoluteMailAppDomain\",DIALOG_SERVLET_PATH:\"/clients/mailapp/dialog\",IFT_CORE_PATH:\"/clients/insertFreeTime.app\",UserInfoContext:{GOOGLE:\"google\",EXCHANGE:\"exchange\"}};const c={IFT_APP_NAME:\"IFT\",IFT_APP_NAME_STAGING:\"IFT_Staging\",IFT_CORE_APP_NAME:\"IFT_Core\",SELECT_TIMES:\"select_times\",IFT_CORE_EVENT_PREFIX:\"ift_core_\",INSERT_HTML:\"ift_core_insert_html\",CLOSE_DIALOG:\"ift_core_close_dialog\",SHOW_CONNECTED_ACCOUNTS:\"show_connected_accounts\"};const u={LINK_VIEW:\"LINK_VIEW\",EMAIL_VIEW:\"EMAIL_VIEW\",CELLULAR:\"cellular\",CUSTOM_PROP_NAME:\"ReadReceipt\",CLIENT_TYPE_OUTLOOK:\"outlook\",CLIENT_TYPE_GMAIL:\"chrome_gmail\"};const l={SCHEDULE_SUCCESS_CLOSE_DELAY:5e3,MAX_RECIPIENTS_DISPLAYED_IN_SCHEDULED_EMAILS:3,EDIT_EMAIL:\"editemail\",EDIT_TIME:\"edittime\",CANCEL:\"cancel\"};const f={DELETE_MSG_LENGTH_LIMIT:25};const d={SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,ENTER:13};const E={MAILAPP:\"mailapp\",SFX:\"sfx\"};const m={CADENCE:\"CADENCE\",MYLIST:\"MYLIST\",ADHOC:\"ADHOC\",UNKNOWN:\"UNKNOWN\"};var g=Object.freeze({__proto__:null,AppContext:E,EmailType:m,InsertFreeTimeConstants:c,Keyboard:d,MailAppConstants:s,ReadReceiptConstants:u,SendLaterConstants:l,SnippetConstants:f});const _=e=>t=>{if(t instanceof KeyboardEvent){if(t.keyCode===d.SPACE||t.keyCode===d.ENTER){t.preventDefault();e(t)}}else if(t instanceof MouseEvent){e(t)}};var p=Object.freeze({__proto__:null,normalizeEventListener:_});function C(){return/Trident\\/7\\./.test(navigator.userAgent)}function v(){return navigator.vendor&&/apple/i.test(navigator.vendor)}function T(){const e=navigator.userAgent||\"\";const t=e.indexOf(\"Macintosh;\")!==-1||e.indexOf(\"Mac OS X\")!==-1;if(t){return!!e.match(/^Mozilla\\/[.\\d]+ \\(Macintosh;.*Mac OS X [_\\d]+\\) AppleWebKit\\/[.\\d]+ \\(KHTML, like Gecko\\)$/)}return false}function O(){return window.location.origin}var b=Object.freeze({__proto__:null,getWindowOrigin:O,isIE11:C,isOutlookForMac:T,isSafari:v});const I=/\\s+xmlns=\"[^\"]+\"/;const h='div[class=\"gmail_quote\"]';const M='div[id$=\"divRplyFwdMsg\"]';const y='div[name=\"_MailOriginal\"]';const w='div[class=\"divRplyFwdMsg\"]';function N(e){const t=A(e);return t.body.firstElementChild}function A(e){const t=new DOMParser;return t.parseFromString(e,\"text/html\")}function S(e){if(C()){return e&&e.outerHTML}const t=new XMLSerializer;return t.serializeToString(e).replace(I,\"\")}function D(e,t,n){if(!e){return undefined}switch(e.nodeType){case Node.DOCUMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:case Node.ELEMENT_NODE:{const r=e.childNodes;for(let e=0;e<r.length;e++){D(r[e],t,n)}break}case Node.COMMENT_NODE:{const r=e.textContent;if(r.indexOf(\"<v:shape\")!==-1){const o=` href=\"${t}\"`;const i=` href=\"${n}\"`;e.textContent=r.replace(o,i)}break}default:{return e}}return e}function x(e,t,n=false){const r=A(e);const o=r.cloneNode(true);let i;if(o){if(t===\"google\"||t===\"lex\"){i=o.querySelector(t===\"google\"?h:w)}else if(t===\"exchange\"){const e=o.querySelector(y)||o.querySelector(M);if(e){i=e.parentNode}}if(i){i.parentNode.removeChild(i)}}if(n){return{htmlActiveBody:this.serializeElement(o),replyFwdDiv:i?this.serializeElement(i):null}}return{htmlActiveBody:o,replyFwdDiv:i}}function L(e,t,n){if(e){const r=e.querySelector(n);let o;if(r){if(t.length>0){o=this.createDocumentElement(t);r.parentNode.replaceChild(o.body.firstElementChild,r)}else{r.parentNode.removeChild(r)}}return this.serializeElement(e)}return\"\"}var U=Object.freeze({__proto__:null,createDocumentElement:A,createTagElement:N,getActiveAndReplyFwdBody:x,replaceOrRemoveNodeInBody:L,replaceVMLLink:D,serializeElement:S});const P={COMPONENT:\"component\"};const R={SUCCESS:\"success\",ERROR:\"error\",WARNING:\"warning\",INFO:\"info\"};const F={SEND_LATER_FOOTER:\"lightningInbox:sendLaterFooter\",SEND_LATER_SUCCESS_MESSAGE:\"lightningInbox:sendLaterSuccessMessage\",SNIPPETS_FORM_FOOTER:\"lightningInbox:snippetsFormFooter\",SNIPPETS_FORM:\"lightningInbox:snippetsForm\"};function z(e,t,n=true,r=true){const o={type:e};Object.assign(o,t);return new CustomEvent(\"lightninginbox__navigate\",{bubbles:n,composed:r,detail:o})}function G(){return new CustomEvent(\"lightninginbox__navigatehome\",{bubbles:true,composed:true})}function H(e){return new CustomEvent(\"lightninginbox__navigateback\",{detail:e,bubbles:true,composed:true})}function j(e){const{type:t,message:n}=e;return new CustomEvent(\"lightninginbox__showtoast\",{detail:{type:t,message:n},bubbles:true,composed:true})}function Y(e){return new CustomEvent(\"lightninginbox__addtofooter\",{detail:e,bubbles:true,composed:true})}function $(e){return new CustomEvent(\"lightninginbox__removefromfooter\",{detail:e,bubbles:true,composed:true})}function k(e){return new CustomEvent(\"lightninginbox__showuipanel\",{detail:e,bubbles:true,composed:true})}function W(e){return new CustomEvent(\"lightninginbox__closeactiveuipanel\",{detail:e,bubbles:true,composed:true})}function X(e){return new CustomEvent(\"lightninginbox__navigatetourl\",{detail:e,bubbles:true,composed:true})}function q(e){return new CustomEvent(\"lightningemail__sendlateraction\",{detail:e,bubbles:true,composed:true})}function K(e){return new CustomEvent(\"meetingownerchanged\",{detail:{calendarId:e}})}function B(e){return new CustomEvent(\"eventtitlechanged\",{detail:{name:e}})}function V(e){return new CustomEvent(\"durationchanged\",{detail:{duration:e}})}function Z(e){return new CustomEvent(\"locationchanged\",{detail:{location:e}})}function J(e){return new CustomEvent(\"descriptionchanged\",{detail:{description:e}})}function Q(e){return new CustomEvent(\"attendeeaddrequest\",{detail:{calendarId:e}})}function ee(e){return new CustomEvent(\"attendeechanged\",{bubbles:true,composed:true,detail:{calendarId:e}})}function te(e){return new CustomEvent(\"attendeeremoved\",{bubbles:true,composed:true,detail:{calendarId:e}})}function ne(e,t,n){return new CustomEvent(\"daterangechange\",{detail:{startDateMs:e,endDateMs:t,timezone:n}})}function re(){return new CustomEvent(\"iftaddtoemail\",{detail:{}})}function oe(){return new CustomEvent(\"iftcancel\",{bubbles:true,composed:true,detail:{}})}function ie(){return new CustomEvent(\"iftclose\",{detail:{}})}function ae(e){return new CustomEvent(\"addtimeslot\",{detail:{startTimeMs:e}})}function se(e){return new CustomEvent(\"removetimeslot\",{detail:{startTimeMs:e}})}function ce(e){return new CustomEvent(\"ifthtmlready\",{detail:{iftHtml:e}})}function ue(e){return new CustomEvent(\"canceldialog\",{detail:e})}function le(e){return new CustomEvent(\"confirmdialog\",{detail:e})}function fe(e){return new CustomEvent(\"meetingtemplatechanged\",{detail:{templateId:e},bubbles:true,composed:true})}function de(e){return new CustomEvent(\"meetingtemplatesubmit\",{detail:e,bubbles:true,composed:true})}function Ee(e){return new CustomEvent(\"videoconferencingtoggled\",{detail:e})}var me=Object.freeze({__proto__:null,ComponentType:F,NavigateType:P,ToastType:R,addTimeSlotEvent:ae,attendeeAddRequestEvent:Q,attendeeChangedEvent:ee,attendeeRemovedEvent:te,createAddToFooterEvent:Y,createCancelDialogEvent:ue,createCloseActiveUIPanelEvent:W,createConfirmDialogEvent:le,createDescriptionChangedEvent:J,createEventTitleChangedEvent:B,createMeetingOwnerChangedEvent:K,createNavigateEvent:z,createNavigateHomeEvent:G,createNavigateToUrlEvent:X,createNotifyDurationChangedEvent:V,createNotifyLocationChangedEvent:Z,createRemoveFromFooterEvent:$,createSendLaterActionEvent:q,createShowToastEvent:j,createShowUIPanelEvent:k,createTemplateChangedEvent:fe,createTemplateSubmitEvent:de,dateRangeChangeEvent:ne,iftAddToEmailEvent:re,iftCancelEvent:oe,iftCloseEvent:ie,iftHtmlReady:ce,navigateBackEvent:H,removeTimeSlotEvent:se,videoConferencingToggledEvent:Ee});function ge(e){if(!e){return{}}const t=e.indexOf(\"?\");if(t<0){return{}}const n=e.substr(t+1);return n.split(\"&\").reduce((e,t)=>{const n=t.split(\"=\");e[n[0]]=n.length>0?n[1]:null;return e},{})}function _e(e){const t=e.indexOf(\"?\");return t>=0?e.substr(0,t):e}function pe(e,t,n=true,r=false){if(!t){return e}const o=_e(e);const i=Object.assign(ge(e),t);if(n){Object.keys(i).forEach(e=>{if(Array.isArray(i[e])){return}i[e]=encodeURIComponent(i[e])})}const a=Object.keys(i).map(e=>{if(Array.isArray(i[e])&&i[e].length>0){return i[e].map(t=>{const o=r?\"[]\":\"\";if(n){return encodeURIComponent(e)+encodeURIComponent(o)+\"=\"+encodeURIComponent(t)}return e+o+\"=\"+t}).join(\"&\")}return e+\"=\"+i[e]}).join(\"&\");return o+(a?\"?\"+a:\"\")}function Ce(e,t=true,n=false){return pe(\"\",e,t,n)}const ve=/((([A-Za-z]{3,9}:(?:\\/\\/)?)(?:[-;:&=+$,\\w]+@)?[A-Za-z0-9.-]+|(?:www\\.|[-;:&=+$,\\w]+@)[A-Za-z0-9.-]+)((?:\\/[+~%/.\\w\\-_]*)?\\??(?:[-+=&;%@.\\w_]*)#?(?:[.!/\\\\\\w]*))?)/i;function Te(e){if(!e){return false}return ve.test(e)}function Oe(e){return e&&e.replace(/&/g,\"&amp;\").replace(/<\/g,\"&lt;\").replace(/>/g,\"&gt;\").replace(/\"/g,\"&quot;\")}var be=Object.freeze({__proto__:null,addParamsToUrl:pe,escapeUrl:Oe,getParams:ge,getParamsAsString:Ce,isUrl:Te});function Ie(e,...t){if(e){return e.replace(/{(\\d+)}/g,(e,n)=>typeof t[n]!==\"undefined\"?t[n]:e)}return\"\"}var he=Object.freeze({__proto__:null,formatString:Ie});let Me;function ye(){if(Me){return Me}const e=new Date;const n=t.syncWallTimeToUTC(e,a.default).getTime()-e.getTime();const r=n/60/1e3;Me={id:a.default,offsetInMin:r};if(!a.default){Me=Le()}return Me}function we(e){return e<10?\"0\"+e:e}function Ne(e,t){const n=t<=0?\"+\":\"-\";const r=Math.abs(t);const o=Math.floor(r/60);const i=r-o*60;const a=e.replace(/_/g,\" \");const s=`(GMT${n}${o}:${we(i)}) ${a}`;return s}function Ae(e,t){const n=t<=0?\"+\":\"-\";const r=Math.abs(t);const o=Math.floor(r/60);const i=r-o*60;const a=`GMT ${n}${o}:${we(i)}`;return a}const Se=/\\(GMT(\\+|-)(\\d+):(\\d+)\\)/;function De(e){if(typeof e!==\"string\"){return undefined}const t=e.indexOf(\"(GMT)\")>=0?[e,\"-\",\"0\",\"0\"]:e.match(Se);const n=t[1];const r=t[2];const o=t[3];const i=60*parseInt(r,10)+parseInt(o,10);return n===\"+\"?-i:i}function xe(e,t){const n=De(t);return{id:e,offsetInMin:n}}function Le(){let e=(new Intl.DateTimeFormat).resolvedOptions().timeZone;if(!e){const t=(new Date).toTimeString().match(/\\((.+)\\)/);e=t&&t[1]}const t=(new Date).getTimezoneOffset();return{id:e,offsetInMin:t}}function Ue(e,t){const{YYYY:n,MM:r,DD:o,HH:i,mm:a}=e;const s=t?t.offsetInMin:(new Date).getTimezoneOffset();const c=Date.UTC(parseInt(n,10),parseInt(r,10)-1,parseInt(o,10),parseInt(i,10),parseInt(a,10),0,0);if(!isNaN(c)){return c+s*60*1e3}return undefined}function Pe(e,t){const n={};if(!isNaN(e)){const r=t?t.offsetInMin:(new Date).getTimezoneOffset();const o=e-r*60*1e3;const i=new Date(o);if(!isNaN(i.valueOf())){n.YYYY=`${i.getUTCFullYear()}`;n.MM=`${we(i.getUTCMonth()+1)}`;n.DD=`${we(i.getUTCDate())}`;n.HH=`${we(i.getUTCHours())}`;n.mm=`${we(i.getUTCMinutes())}`}}return n}function Re(e){const t=Pe(Date.now(),e);const{YYYY:n,MM:r,DD:o}=t;return Ue({YYYY:n,MM:r,DD:`${parseInt(o,10)+1}`,HH:\"08\",mm:\"00\"},e)}function Fe(e){const t=new Date;const n=t.getTime()+t.getTimezoneOffset()*60*1e3;return new Date(n-e.offsetInMin*60*1e3)}function ze(e,t){if(e.getFullYear()!==t.getFullYear()){return false}if(e.getMonth()!==t.getMonth()){return false}if(e.getDate()!==t.getDate()){return false}return true}function Ge(e,t){const n=new Date(e);n.setDate(n.getDate()+t);n.setHours(0,0,0,0);return n}function He(e,t){const n=e.getDay()+1;let r=n-t;if(r<0){r+=7}const o=e.getDate()-r;const i=new Date(e);i.setHours(0,0,0,0);i.setDate(o);return new Date(i)}var je=Object.freeze({__proto__:null,getBrowserTimezone:Le,getCurrentTimeInTimezone:Fe,getDefaultSendLaterTimestamp:Re,getFirstDayOfWeek:He,getLocaleTimezone:ye,getTimezoneName:Ne,getTimezoneShortName:Ae,isSameDate:ze,padStartWithZero:we,parseSalesforcePicklistItem:xe,shiftDate:Ge,syncUTCTimestampToWallTime:Pe,syncWallTimeToUTCTimestamp:Ue});const Ye={\"&\":\"&amp;\",\"<\":\"&lt;\",\">\":\"&gt;\",'\"':\"&quot;\",\"'\":\"&#039;\"};const $e=/[&<>\"']/g;function ke(e){if(!e||typeof e!==\"string\"){return\"\"}return e.replace($e,e=>Ye[e])}function We(e){return e?new RegExp(/^[a-z0-9]+$/i).test(e):false}var Xe=Object.freeze({__proto__:null,htmlEscape:ke,isAlphaNumeric:We});function qe(e){const t=function(n,r,o){const i=new Error(n,r,o);i.name=e;Object.setPrototypeOf(i,Object.getPrototypeOf(this));if(Error.captureStackTrace){Error.captureStackTrace(i,t)}return i};t.prototype=Object.create(Error.prototype,{constructor:{value:Error,enumerable:false,writable:true,configurable:true}});Object.setPrototypeOf(t,Error);return t}const Ke=[\"RecipientConstraintError\",\"SnippetsError\",\"AuraError\"];const Be={};Ke.forEach(e=>{Be[e]=qe(e)});var Ve=Object.freeze({__proto__:null,CustomErrors:Be});function Ze(e){return e===s.UserInfoContext.GOOGLE}function Je(e){if(!e){return false}return e.source===s.UserInfoContext.GOOGLE||e.provider===s.UserInfoContext.GOOGLE||e.context===s.UserInfoContext.GOOGLE}function Qe(e){return e===s.UserInfoContext.EXCHANGE}function et(e){if(!e){return false}return e.source===s.UserInfoContext.EXCHANGE||e.provider===s.UserInfoContext.EXCHANGE||e.context===s.UserInfoContext.EXCHANGE}function tt(e){return e&&e.indexOf(\"r\")>-1}var nt=Object.freeze({__proto__:null,isExchangeContext:et,isExchangeString:Qe,isGoogleContext:Je,isGoogleString:Ze,isNewGmailMsgIdFormat:tt});function rt(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length){return false}for(let n=0;n<e.length;n++){if(!rt(e[n],t[n])){return false}}return true}else if(typeof e===\"object\"&&e!==null&&typeof t===\"object\"&&t!==null){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length){return false}let o;for(let r=0;r<n.length;r++){o=n[r];if(!rt(e[o],t[o])){return false}}return true}return e===t}var ot=Object.freeze({__proto__:null,deepEqual:rt});const it=\"fType:sCadences\";const at=\"fType:myList\";const st=\"acstId:8HF\";const ct=/id=\"(x_)*divRplyFwdMsg\"|name=\"_MailOriginal\"/;async function ut(){const e=await r.Context.getLatest();if(et(e)){const e=await r.ClientSideItemContext.getBody(\"html\");try{const t=e.search(ct)!==-1;const n=e.indexOf(it)!==-1;const i=e.indexOf(at)!==-1;const a=e.indexOf(st)!==-1;const s=!t&&(n||a||i);if(s){const t=o.extractReadReceiptPixelUrl(e);if(t){return{encryptedId:ge(t).t}}}else{const t=await r.ClientSideItemContext.getCustomProperties([u.CUSTOM_PROP_NAME]);if(t&&t[u.CUSTOM_PROP_NAME]){const n=t[u.CUSTOM_PROP_NAME];const r=Oe(n);const o=e.indexOf(n)!==-1||e.indexOf(r)!==-1;if(o){return{encryptedId:ge(n).t}}}}}catch(e){window.console.log(\"getEncryptedIdFromPixel failed:\",e);return undefined}}return undefined}var lt=Object.freeze({__proto__:null,getEncryptedIdFromPixel:ut});e.AccessibilityUtility=p;e.BrowserUtility=b;e.Constants=g;e.ContextUtility=nt;e.DomUtility=U;e.ErrorUtility=Ve;e.EventUtility=me;e.GeneralUtility=ot;e.LabelUtility=he;e.PixelUtility=lt;e.StringUtility=Xe;e.TimeUtility=je;e.UrlUtility=be;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"lightningInbox-utilities","descriptor":"markup://lightningInbox:utilities","n":"lightningInbox/utilities"},{"xs":"G","co":"function() { $A.componentService.addModule('markup://records:recordLayout2', \"records/recordLayout2\",[\"exports\",\"lwc\",\"lightning/uiRecordApi\",\"lightning/uiLayoutApi\",\"force/lwrLexRecordUiUtils\",\"force/recordUiUtils\",\"force/scrollPositionLib\",\"force/inlineEditGroupManager\",\"@salesforce/accessCheck/Record.forceReloadRecordForInlineEdit\",\"@salesforce/accessCheck/Record.recordChangeCapture\",\"@salesforce/accessCheck/Record.isMergeCollisionEnabled\",\"@salesforce/accessCheck/Record.isMultiUserLiveRecordsEnabled\",\"force/liveRecordsLibrary\",\"instrumentation/dataComplexityCollector\",\"laf/pageCapability\",\"@salesforce/user/Id\",\"records/liveRecords\",\"lightning/refresh\",\"@salesforce/gate/lasr.refreshViewAPI\",\"o11y/client\"],function(e,t,i,r,s,o,a,d,n,l,c,h,f,u,p,E,R,g,I,m){function y(e){return e&&typeof e===\"object\"&&\"default\"in e?e:{default:e}}var C=y(d);var b=y(n);var v=y(l);var F=y(h);var L=y(E);var D=y(I);function T(e,t,i){var r=e?\"[\"+e+\"-host]\":\"\";return(t?\":host {\":r+\" {\")+\"display: block;}\"}var _=[T];const A=[];function O(e,t,i,r){return A}var U=t.registerTemplate(O);O.stylesheets=[];if(_){O.stylesheets.push.apply(O.stylesheets,_)}O.stylesheetToken=\"lwc-i6mmedbub2\";O.legacyStylesheetToken=\"records-recordLayout2_recordLayout2\";t.freezeTemplate(O);function N(){return b.default}function S(){return v.default}function w(){return F.default}function V(e){const t=!!e.wiredRecord&&!!e.objectInfo&&!!e.picklistValuesByRecordType;if(t){if(B(e)){const t=e.recordTypeId;const i=o.RecordUiHelpers.getRecordWithChangedRecordType(e.objectInfo,e.wiredRecord.data,t);e.updateRecord(i,false)}let t=e.objectInfo.label;const i=s.transformRecord(e.wiredRecord.data,e.objectInfo);t=o.RecordUiHelpers.getRecordDisplayName(i.record,e.objectInfo,e.picklistValuesByRecordType?.picklistFieldValues);const r={recordDisplayName:t,recordTypeName:null};e.createRecordDraft(o.RecordUiConstants.MODE_EDIT);H(e,r)}}function M(e){j(e,o.RecordUiConstants.MODE_CREATE)}function k(e){j(e,o.RecordUiConstants.MODE_CLONE)}function j(e,t){const i=!!e.wiredRecord&&!!e.objectInfo;if(i){const i=e.recordTypeId&&e.recordTypeId!==o.RecordUiConstants.MASTER_RECORD_TYPE_ID?e.objectInfo.recordTypeInfos[e.recordTypeId].name:\"\";const r={recordDisplayName:e.objectInfo.label,recordTypeName:i,localizedHeaderLabel:e.localizedHeaderLabel};e.createRecordDraft(t);H(e,r)}}function P(e){if(e.defaultFieldValues&&(e.mode===o.RecordUiConstants.MODE_CREATE||e.mode===o.RecordUiConstants.MODE_EDIT)){const t=o.RecordUiHelpers.mergeDefaultFieldValuesFromPageRef(e.objectInfo,e.defaultFieldValues,e.state.record);e.updateRecord(t,false)}}function H(e,t){e.dispatchEvent(new CustomEvent(o.RecordUiConstants.RECORD_LAYOUT_DATA_LOADED,{bubbles:true,composed:true,detail:{pageTitleInfo:t}}))}function B(e){const t=e.recordTypeId;let i=e.wiredRecord&&e.wiredRecord.data&&e.wiredRecord.data.recordTypeId;if(i===null){i=o.RecordUiConstants.MASTER_RECORD_TYPE_ID}return t!==i}function G(e,t,r,s,a){if(e.mode===o.RecordUiConstants.MODE_VIEW){e.dispatchEvent(new CustomEvent(o.RecordUiConstants.AFTER_RECORD_SAVE,{bubbles:true,composed:true,cancelable:true,detail:{recordId:e.recordId}}))}else if(r){if(a){i.refresh(s)}else{e.dispatchEvent(new CustomEvent(o.RecordUiConstants.RECORD_ACTION_SAVE_AND_NEW,{bubbles:true,composed:true,cancelable:true,detail:{record:t}}))}}else{e.dispatchEvent(new CustomEvent(o.RecordUiConstants.RECORD_ACTION_SAVE,{bubbles:true,composed:true,cancelable:true,detail:{record:t,objectInfo:e.objectInfo}}))}return Promise.resolve()}function x(e,t){const i=t.data;if(e.state.editing===false){e.updateRecord(i,false)}else if(e.mode!==o.RecordUiConstants.MODE_VIEW&&!e.wiredRecord){e.updateRecord(i,false)}else if(e.forceReloadRecordForInlineEdit&&!e.recordDraft.hasChangedInputFields()){e.updateRecord(i,false)}else{e.updateRecord(i,true);if(e.isSaving){e.receivedUpdateDuringSave=true}else if(e.reloadingRecordAfterCollision){e.logCollisionDetection(true);e.reloadingRecordAfterCollision=false;e.fireCollisionResolvedEvent();e.waitingForSaveAfterReload=true;e.toggleModalSpinner(false)}}e.wiredRecord=t;e.finishDataInitialization(e)}function W(e,t){if(e.mode!==o.RecordUiConstants.MODE_CLONE){return}const i={OwnerId:\"\",RecordTypeId:\"\"};const r=e.layoutFieldMetadata&&e.layoutFieldMetadata.readOnlyFields;if(r&&r.length){r.forEach(e=>{if(!i.hasOwnProperty(e)){delete t.fields[e]}})}}function Y(e,t,r=true,s,a={}){return new Promise((d,n)=>{e.resetErrors().then(async()=>{if(!e.recordDraft){e.deactivateEdit();return n(new Error(\"Record Draft is undefined. Cannot save record!\"))}const l=e.getClientSideValidationErrors();if(Object.keys(l).length>0){return n({fieldLevelErrors:l})}const c={layoutType:e.layoutType,mode:e.mode};let h=null;let u=null;try{e.toggleModalSpinner(true);if(r){const t=o.RecordLayoutHelpers.getActiveElement(e.template.activeElement);if(t&&t.blur&&t.focus){t.blur();t.focus()}}const d=B(e);const n=e.recordTypeId;const l=d?e.recordDraft.getDraftForSave(n):e.recordDraft.getDraftForSave();o.RecordUiHelpers.remergeDefaultFieldValues(l,e);W(e,l);e.isSaving=true;e.receivedUpdateDuringSave=false;const f=e.state.record.lastModifiedDate;const p={ifUnmodifiedSince:f};l.allowSaveOnDuplicate=t;Object.assign(l,a);h=o.markTransactionStart(\"record-layout2-save\",c);const E=(t,r)=>e.mode===o.RecordUiConstants.MODE_CREATE||e.mode===o.RecordUiConstants.MODE_CLONE?i.createRecord(t):i.updateRecord(t,r);e.dispatchEvent(new CustomEvent(o.RecordUiConstants.BEFORE_RECORD_SAVE,{bubbles:true,composed:true,cancelable:true,detail:{isSaveAndNew:s}}));await E(l,p).then(t=>{c.success=true;e.isSaving=false;if(e.mode!==o.RecordUiConstants.MODE_VIEW){e.showTemplate=false}u=t.id;if(e.mode===o.RecordUiConstants.MODE_VIEW){e.deactivateEdit()}e.toggleModalSpinner(false);G(e,t,s,e.wiredRecordValue,d).then(()=>{if(e.mode!==o.RecordUiConstants.MODE_VIEW){const i=o.RecordUiHelpers.isToastLinkable(t.id);const r=o.getShowToastEvent(e.objectInfo,t,e.mode,i,e.waitingForSaveAfterReload);if(e.waitingForSaveAfterReload){e.waitingForSaveAfterReload=false}e.dispatchEvent(r);e.fireContainsChangedFieldsEvent(false)}})})}catch(t){e.isSaving=false;c.success=false;const i=q(e,t);if(i){if(o.RecordUiHelpers.isCollisionDetected(i)){o.markInstrumentation(f.LiveRecordsConstants.COLLISION_DETECTED_EXCEPTION,{layoutContext:e.dynamicComponentType,entity:o.getInstrumentedObjectName(e.objectInfo),saveType:e.mode,isLWC:true})}if(o.RecordUiHelpers.isCollisionDetected(i)){if(e.receivedUpdateDuringSave){e.logCollisionDetection(false);e.receivedUpdateDuringSave=false;e.fireCollisionResolvedEvent();return n({})}e.reloadingRecordAfterCollision=true;return e.forceReload(()=>n({}),n)}}e.toggleModalSpinner(false);return n(i)}finally{e.receivedUpdateDuringSave=false;if(h){o.markTransactionEnd(h.perfKey,c)}}return d(u)})})}function q(e,t){const i=o.RecordUiHelpers.getSaveErrors(t);if(i){const t=i.fieldLevelErrors;if(t&&typeof t===\"object\"){e.setFieldLevelErrors(t);o.RecordLayoutHelpers.convertFieldErrorsToPageErrors(e.template,i)}}return i}const z={Types:{RecordError:\"RecordError\"},Messages:{Incomplete:\"Disconnected or Canceled\"}};class X extends(p.CapabilityMixin(t.LightningElement)){get recordTypeId(){return this._recordTypeId}set recordTypeId(e){this._recordTypeId=e}constructor(){super();this.state={flatRecord:o.resetFlatRecord({}),picklistOptions:{},record:undefined,avatars:{},avatarCurrentRecord:undefined,sections:{collapsed:{}},editing:false,errors:{},dirtyFields:{},inlineEditEnabled:false};this.showTemplate=false;this.showAllFieldsForMobile=false;this.mode=void 0;this.layoutType=void 0;this.recordId=void 0;this.objectApiName=void 0;this.dynamicComponentType=void 0;this.numVisibleActions=void 0;this.collapsed=void 0;this.hideChatterActions=void 0;this.hideDependencyLinks=false;this.actionNames=void 0;this.layoutFieldMetadata={};this.enableActionsConfiguration=void 0;this.truncateFields=void 0;this._conditionalInlineEditabilityAllowed=false;this._groupInlineEditabilityAllowed=true;this.width=void 0;this.standaloneMode=void 0;this.defaultFieldValues=void 0;this.forceReloadRecordForInlineEdit=N();this.recordLayoutRenderedFired=false;this.complexityUpdated=false;this.isSaving=false;this.recordDraft=void 0;this.recordRepresentationDraft=void 0;this.aggregatedChangedFields=new Set;this.isSpinnerVisible=false;this.waitingForSaveAfterReload=false;this.firstCreateRecordUpdate=true;this.objectInfo=void 0;this.wireRecordIdsForRecordAvatars=void 0;this.objectApiNameForPicklistWire=void 0;this.recordTypeIdForPicklistWire=void 0;this.picklistValuesByRecordType=void 0;this.instrumentation=m.getInstrumentation(\"recordLayout2\");this.refreshID=void 0;this.handleItemValueChange=this._handleItemValueChange.bind(this);this.handleItemOutputChange=this._handleItemOutputChange.bind(this);this.handleItemValueUndo=this._handleItemValueUndo.bind(this);this.handleComponentError=this._handleComponentError.bind(this);this.handleInlineEdit=this._handleInlineEdit.bind(this);this.handleConditionalInlineEditChange=this._handleConditionalInlineEditChange.bind(this);this.handleViewAllDependencies=this._handleViewAllDependencies.bind(this);this.handleCreateNewFromLookup=this._handleCreateNewFromLookup.bind(this)}calculateInlineEditability(){let e;if(this.mode===o.RecordUiConstants.MODE_VIEW&&this.isEntityConditionallyInlineEditable&&!this._conditionalInlineEditabilityAllowed){e=false}else{e=this._groupInlineEditabilityAllowed}if(this.state.inlineEditEnabled!==e){this.state.inlineEditEnabled=e}}handleGetObjectInfo(e){const{error:t,data:i}=e;if(t){this.fireRecordLayoutLoadErrorEvent(t);o.logError({error:t,source:\"records:recordLayout2\"})}else if(i){this.objectInfo=i;this.setRecordIdsForRecordAvatars();this.updateRecordComplexity();this.finishDataInitialization(this);if(!this._hasEditAccess()){this.fireNoAccessErrorEvent()}}}handleGetLayoutUserState(e){const{data:t}=e;if(t){this.state.sections=o.RecordLayoutHelpers.getLayoutUserStateSections(t)}}handleGetRecord(e){const{data:t,error:i}=e;if(i){this.state.flatRecord=o.resetFlatRecord(this.state.flatRecord);this.fireRecordLayoutLoadErrorEvent(i);o.logError({error:i,source:\"records:recordLayout2\"});return}else if(!t){return}this.wiredRecordValue=e;x(this,e)}handleGetRecordTemplateClone(e){this.handleGetCreateCloneRecord(e)}handleGetCreateRecord(e){if(e.data&&this.firstCreateRecordUpdate){this.handleGetCreateCloneRecord(e);this.firstCreateRecordUpdate=false}}handleGetQuickActionDefaults(e){const t={error:e.error,data:{record:null}};if(e.data){t.data.record={apiName:e.data.objectApiName,fields:e.data.fields,recordTypeId:null}}this.handleGetCreateCloneRecord(t)}handleGetCreateCloneRecord(e){if(e.error){this.state.flatRecord=o.resetFlatRecord(this.state.flatRecord);this.fireRecordLayoutLoadErrorEvent(e.error);o.logError({error:e.error,source:\"records:recordLayout2\"});return}else if(!e.data||!e.data.record){return}this.wiredRecordValue=e;x(this,{data:e.data.record,error:e.error})}finishDataInitialization(e){let t=!!e.wiredRecord&&!!e.objectInfo;if(this.mode!==o.RecordUiConstants.MODE_VIEW){t=t&&!!e.picklistValuesByRecordType}const i=e._isDataInitialized;if(!t||i){return}switch(this.mode){case o.RecordUiConstants.MODE_EDIT:P(e);V(e);break;case o.RecordUiConstants.MODE_CREATE:P(e);M(e);break;case o.RecordUiConstants.MODE_CLONE:k(e);break;default:H(e);break}e._isDataInitialized=true;this.showTemplate=true}updateRecord(e,t){this.state.record=JSON.parse(JSON.stringify(e));this.updateRecordComplexity();if(this.shouldHighlightChangedFields()&&this.recordLayoutRenderedFired&&!this.isCurrentUser(this.state.record.lastModifiedById)){const e=this.state.flatRecord;const t=s.transformFlatRecord({},this.state.record);this.processFieldHighlighting(e,t)}if(!t){this.state.flatRecord=s.transformFlatRecord(this.state.flatRecord,this.state.record)}else{const e=!this.recordDraft.hasChangedInputFields();this.state.flatRecord=this.recordDraft.mergeRecords(this.state.record,this.objectInfo,this.dynamicComponentType);if(!e&&!this.recordDraft.hasChangedInputFields()){this.fireContainsChangedFieldsEvent(false)}}this.setRecordIdsForRecordAvatars();if(!this.recordTypeId){this._recordTypeId=this.state.record.recordTypeId}if(this.mode===o.RecordUiConstants.MODE_VIEW){this.showTemplate=true}this.layoutSecondaryFields()}highlightFields(e,t){let i=[];if(this.dynamicComponentType===o.RecordUiConstants.DETAIL_PANEL){i=o.RecordLayoutHelpers.getRecordLayoutItems(this.template)}else if(this.dynamicComponentType===o.RecordUiConstants.HIGHLIGHTS_PANEL){i=o.RecordLayoutHelpers.getHighlightsDetailItems(this.template)}i.forEach(i=>{if(e.has(i.fieldApiName)){i.isRevised=t}})}dismissFieldHighlighting(){this.highlightFields(this.aggregatedChangedFields,false);this.aggregatedChangedFields.clear()}processFieldHighlighting(e,t){if(!this.objectInfo){return}const i=o.RecordUiHelpers.diffFlatRecords(e,t);const r=this.state.editing?this.recordDraft.getChangedFields():{};const s=new f.DependencyTreeCollisionProcessor(this.objectInfo.dependentFields);Object.keys(i).forEach(e=>{const t=this.objectInfo.fields[e];if(t&&t.compoundFieldName){this.aggregatedChangedFields.add(t.compoundFieldName);return}if(!s.processedTreeHadCollision(e)){const t=s.getDependencyTreeCollisionInfo(e,r,i);if(!t.hasDependencyTreeCollision){this.aggregatedChangedFields.add(e)}}});if(this.aggregatedChangedFields.has(\"LastModifiedDate\")){this.aggregatedChangedFields.add(\"LastModifiedById\")}if(this.aggregatedChangedFields.size>0&&R.banner.isAvailable(this.recordId)){R.banner.showBanner(this.recordId,this,this.dismissFieldHighlighting.bind(this))}this.highlightFields(this.aggregatedChangedFields,true)}updateRecordComplexity(){if(!this.complexityUpdated&&this.state.record&&this.objectInfo){this.complexityUpdated=true;u.updateComplexity(u.computeRecordComplexity(this.state.record,this.objectInfo))}}setRecordIdsForRecordAvatars(){if(this.objectInfo&&this.state.record){this.wireRecordIdsForRecordAvatars=o.getRecordAvatarIds(this.objectInfo,this.state.record,this.recordId)}return undefined}handleGetRecordAvatars(e){const{error:t,data:i}=e;if(t){if(!this._isLdsMobileCachingOfflineError(t)){this.fireRecordLayoutLoadErrorEvent(t)}o.logError({error:t,source:\"records:recordLayout2RecordAvatars\"});return}else if(!i){return}const r=i[this.recordId];if(r&&r.statusCode===200){this.state.avatarCurrentRecord=r.result}this.state.avatars=o.getRecordAvatarByRelationshipNameMap(this.objectInfo,this.state.record,i)}handleGetPicklistValuesByRecordType(e){const{error:t,data:i}=e;if(t){this.fireRecordLayoutLoadErrorEvent(t);o.logError({error:t,source:\"records:recordLayout2PicklistValuesByRecordType\"});return}else if(!i){return}this.picklistValuesByRecordType=i;if(this.recordDraft){const e=this.layoutFieldMetadata&&this.layoutFieldMetadata.requiredFields?this.layoutFieldMetadata.requiredFields:[];const t=this.layoutFieldMetadata&&this.layoutFieldMetadata.readOnlyFields?this.layoutFieldMetadata.readOnlyFields:[];this.recordDraft.initializeDependentPicklistManagement(this.objectInfo,this.picklistValuesByRecordType.picklistFieldValues,this.mode,e,t);this.updatePicklistValueState();this.state.flatRecord=s.transformFlatRecord(this.state.flatRecord,this.state.record)}this.finishDataInitialization(this)}refresh(){return this.instrumentation.activityAsync(\"refreshView\",()=>{if(D.default.isOpen({fallback:false})){return new Promise((e,t)=>{this.forceReload(e,t)})}return new Promise((e,t)=>{this[p.CapabilityMixin.GetRegisteredCapabilities](p.RefreshCapability).forEach(e=>e[p.RefreshCapability]());this.forceReload(e,t)})})}isInEditMode(){return this.state.editing}getConflictingFields(){return this.recordDraft&&this.recordDraft.getConflictingFields()}resetConflictingFields(){if(this.recordDraft){this.recordDraft.resetConflictingFields()}}activateEdit(e,t){const i=o.getInstrumentedObjectName(this.objectInfo);o.markInstrumentation(\"inline-edit-trigger\",{entityType:i,devNameOrId:e});const r=o.markTransactionStart(\"performance:inline-edit-trigger\",{recordId:this.recordId,isDesktop:true,usecase:\"INLINE_EDIT\",entityApiName:i});return new Promise((t,i)=>{if(this.forceReloadRecordForInlineEdit){this.setRecordLayoutItemInlineEditLoadingIndicatorOn(e);this.forceReload(t,i)}else{t()}}).then(()=>{this.setRecordLayoutItemInlineEditLoadingIndicatorOff(e);C.default.setActiveEntry(this.recordId,this);this.createRecordDraft(o.RecordUiConstants.MODE_EDIT);this.state.editing=true;if(o.RecordUiHelpers.shouldLoadPicklistValuesOnEdit(this.objectInfo,Object.keys(this.state.flatRecord.values))){this.objectApiNameForPicklistWire=this.objectApiName;this.recordTypeIdForPicklistWire=this.recordTypeId}const i=this.focusField(e);if(i){requestAnimationFrame(()=>{if(r){o.markTransactionEnd(r.perfKey,r.perfContext)}if(t){if(this.standaloneMode){this.scrollToElementStandalone(t.triggerOffsetY,i)}else{this.scrollToElementHybrid(t,i)}}this.fireFooterRepositionEvent()})}})}focusField(e){const t=o.RecordLayoutHelpers.findRecordLayoutItemByFieldApiName(this.template,e);if(t){t.focusInput()}return t}getFieldElement(e){return o.RecordLayoutHelpers.findRecordLayoutItemByFieldApiName(this.template,e)}getFieldElements(){return o.RecordLayoutHelpers.getPopulatedRecordLayoutItems(this.template)}getFieldValue(e){let t;if(this.state.flatRecord&&this.state.flatRecord.values&&this.state.flatRecord.values.hasOwnProperty(e)){t=this.state.flatRecord.values[e]}return t}toggleShowAllFieldsForMobile(){this.showAllFieldsForMobile=!this.showAllFieldsForMobile}getIsViewButtonVisible(){return this.isViewButtonVisible}createRecordDraft(e){this.recordDraft=new o.RecordDraft(this.state.record,this.objectInfo,null,e);if(this.picklistValuesByRecordType){const e=this.layoutFieldMetadata&&this.layoutFieldMetadata.requiredFields?this.layoutFieldMetadata.requiredFields:[];const t=this.layoutFieldMetadata&&this.layoutFieldMetadata.readOnlyFields?this.layoutFieldMetadata.readOnlyFields:[];this.recordDraft.initializeDependentPicklistManagement(this.objectInfo,this.picklistValuesByRecordType.picklistFieldValues,this.mode,e,t);this.updatePicklistValueState();this.state.flatRecord=s.transformFlatRecord(this.state.flatRecord,this.state.record)}this.recordRepresentationDraft=this.recordDraft.getUpdatedRecord()}updatePicklistValueState(){if(!this.recordDraft||!this.picklistValuesByRecordType){return}const e=this.recordDraft.getPicklistOptions()||{};const t=Object.keys(e);for(let i=0,r=t.length;i<r;i++){const r=t[i];this.state.picklistOptions[r]=e[r]}}scrollToElementStandalone(e,t){let i=0;const r=a.getScrollPositionEvent(e=>{i=e.y});this.dispatchEvent(r);const s=this.getInlineEditScrollPositionInfo(e,i,t);if(s.doScroll){const e=a.getScrollToEvent({x:0,y:s.position});this.dispatchEvent(e)}}scrollToElementHybrid(e,t){const i=e.scrollEl.pageYOffset!==undefined?e.scrollEl.pageYOffset:e.scrollEl.scrollTop;const r=this.getInlineEditScrollPositionInfo(e.triggerOffsetY,i,t);if(r.doScroll){if(e.scrollEl.scrollTo){e.scrollEl.scrollTo(0,r.position)}else{e.scrollEl.scrollTop=r.position}}}getInlineEditScrollPositionInfo(e,t,i){const r=i.getBoundingClientRect().top;const s=r<e?2*o.RecordUiConstants.INLINE_EDIT_SCROLL_OFFSET:o.RecordUiConstants.INLINE_EDIT_SCROLL_OFFSET;let a=-1;if(Math.abs(r-e)>o.RecordUiConstants.INLINE_EDIT_SCROLL_THRESHOLD){a=r-e+t+s}return{doScroll:a!==-1,position:a}}focusFirstEditableField(){if(!this.isInEditMode()){return}const e=o.RecordLayoutHelpers.getRecordLayoutItems(this.template);if(!e){return}for(const t of e){if(t.isInlineEditable){requestAnimationFrame(()=>{t.focusInput()});break}}}focusRecordLayoutItemInput(e){const t=o.RecordLayoutHelpers.findRecordLayoutItemByFieldApiName(this.template,e);if(t){t.focusInput()}}deactivateEdit(e){this.state.editing=false;if(this.recordDraft&&this.recordDraft.hasChangedInputFields()){this.fireContainsChangedFieldsEvent(false)}this.resetErrors();this.recordDraft=undefined;this.state.flatRecord=s.transformFlatRecord(this.state.flatRecord,this.state.record);C.default.setEntriesToNotActive(this.recordId);if(e){this.focusRecordLayoutItemInlineEditTrigger(e)}}forceReload(e,t){if(this.wiredRecordValue&&this.wiredRecordValue.data){i.refresh(this.wiredRecordValue).then(()=>{e()}).catch(e=>{t(e)})}else{t(\"No record data available\")}}getRows(){return this.template.querySelectorAll(\"records-record-layout-row\")}save(e,t=true,i={}){return Y(this,e,t,false,i)}saveAndNew(e,t=true,i={}){return Y(this,e,t,true,i)}resetErrors(){return new Promise(e=>{this.state.errors={};e()})}setErrors(e){return new Promise(t=>{if(e&&Object.keys(e).length>0){const i=q(this,e);t(i)}else{this.resetErrors().then(()=>t({}))}})}setTriggerIconVisibility(e){this._groupInlineEditabilityAllowed=!!e;this.calculateInlineEditability()}getClientSideValidationErrors(){const e=o.RecordLayoutHelpers.getRecordLayoutItems(this.template);const t={};for(let i=0,r=e.length;i<r;i++){const r=e[i];if(!r.checkValidity()||r.validity&&!r.validity.valid){t[r.fieldApiName]=[{field:r.fieldApiName,fieldLabel:r.fieldLabel}];r.showHelpMessageIfInvalid()}}return t}setFieldLevelErrors(e){if(e&&typeof e===\"object\"){this.state.errors=o.RecordUiHelpers.getFieldLevelErrorState(e)}}setRecordLayoutItemInlineEditLoadingIndicatorOn(e){const t=o.RecordLayoutHelpers.findRecordLayoutItemByFieldApiName(this.template,e);if(t){t.setInlineEditLoadingIndicatorOn()}}setRecordLayoutItemInlineEditLoadingIndicatorOff(e){const t=o.RecordLayoutHelpers.findRecordLayoutItemByFieldApiName(this.template,e);if(t){t.setInlineEditLoadingIndicatorOff()}}focusRecordLayoutItemInlineEditTrigger(e){requestAnimationFrame(()=>{const t=o.RecordLayoutHelpers.findRecordLayoutItemByFieldApiName(this.template,e);if(t){t.focusInlineEditTrigger()}})}toggleRecordLayoutSectionCollapsedById(e){const t={};t[e]={id:e,collapsed:!this.state.sections.collapsed[o.RecordLayoutHelpers.SECTION_STATE_ID_PREFIX+e]};this.updateLayoutSectionUserState(t)}updateFields(e){const t=[];if(e){const i=Object.keys(e);const r=this.isInEditMode();for(let s=0;s<i.length;s++){const o=i[s];if(r){this.recordDraft.updateFieldValue(o,e[o])}const a=this.state.flatRecord.values;if(a.hasOwnProperty(o)){a[o]=e[o]}else{t.push(o)}}}return t}connectedCallback(){this.calculateInlineEditability();if(this.dynamicComponentType===o.RecordUiConstants.DETAIL_PANEL){this.state.editing=this.mode!==o.RecordUiConstants.MODE_VIEW}this.template.addEventListener(o.RecordUiConstants.ITEM_VALUE_CHANGE,this.handleItemValueChange);this.template.addEventListener(o.RecordUiConstants.ITEM_OUTPUT_CHANGE,this.handleItemOutputChange);this.template.addEventListener(o.RecordUiConstants.ITEM_VALUE_UNDO,this.handleItemValueUndo);this.template.addEventListener(o.RecordUiConstants.EVENT_ERROR,this.handleComponentError);this.template.addEventListener(o.RecordUiConstants.CREATE_NEW,this.handleCreateNewFromLookup);this.template.addEventListener(o.RecordUiConstants.ACTIVATE_INLINE_EDIT,this.handleInlineEdit);this.template.addEventListener(o.RecordUiConstants.CONDITIONAL_INLINE_EDIT_CHANGE,this.handleConditionalInlineEditChange);this.template.addEventListener(o.RecordUiConstants.VIEW_ALL_DEPENDENCIES,this.handleViewAllDependencies);C.default.addEntry(this.recordId,this,this,false);C.default.getActiveEntryObserver().observe(this.recordId,this,this.updateTriggerIconVisibility.bind(this));if(C.default.groupHasActiveEntry(this.recordId)){this.setTriggerIconVisibility(false)}if(D.default.isOpen({fallback:false})){this.refreshID=g.registerRefreshHandler(this,this.refresh)}else{this[p.CapabilityMixin.ExposeCapabilities]({[p.RefreshCapability]:this.refresh.bind(this)});this[p.CapabilityMixin.EnableListener](p.RefreshCapability)}}disconnectedCallback(){this.template.removeEventListener(o.RecordUiConstants.ITEM_VALUE_UNDO,this.handleItemValueUndo);this.template.removeEventListener(o.RecordUiConstants.ITEM_VALUE_CHANGE,this.handleItemValueChange);this.template.removeEventListener(o.RecordUiConstants.ITEM_OUTPUT_CHANGE,this.handleItemOutputChange);this.template.removeEventListener(o.RecordUiConstants.EVENT_ERROR,this.handleComponentError);this.template.removeEventListener(o.RecordUiConstants.CREATE_NEW,this.handleCreateNewFromLookup);this.template.removeEventListener(o.RecordUiConstants.ACTIVATE_INLINE_EDIT,this.handleInlineEdit);this.template.removeEventListener(o.RecordUiConstants.CONDITIONAL_INLINE_EDIT_CHANGE,this.handleConditionalInlineEditChange);this.template.removeEventListener(o.RecordUiConstants.VIEW_ALL_DEPENDENCIES,this.handleViewAllDependencies);C.default.removeEntry(this.recordId,this);C.default.getActiveEntryObserver().unobserve(this.recordId,this);if(D.default.isOpen({fallback:false})){g.unregisterRefreshHandler(this.refreshID)}this[p.CapabilityMixin.ConcealCapabilities]()}renderedCallback(){this.fireFooterRepositionEvent();if(this.showTemplate){if(!this._templateRendered){if(this.dynamicComponentType===o.RecordUiConstants.DETAIL_PANEL){this.markDetailPanelFieldsInstrumentation()}}this._templateRendered=true;this.fireRecordLayoutRenderedEvent()}}markDetailPanelFieldsInstrumentation(){try{const e={mode:this.mode,totalCount:0};const t=this.template.querySelectorAll(\"records-record-layout-item\");t.forEach(t=>{let i=t.childNodes[0];if(i&&i.tagName===\"SLOT\"){i=i.childNodes[0]}if(i){const t=i.tagName;if(!e[t]){e[t]=0}e[t]++;e.totalCount++}});o.markInstrumentation(\"detailPanel:lwcDetailPanelFields\",e)}catch(e){}}handleUpdateLayoutSectionUserState(e){const t=e.detail;if(!t){return}this.updateLayoutSectionUserState(t)}_handleComponentError(e){e.stopPropagation();e.preventDefault();const t=o.RecordUiHelpers.getComponentErrorMessage(e.detail.error);o.logError({error:t,source:\"records:recordLayout2\"});throw new Error(t)}_handleItemValueChange(e){const t=!this.recordDraft.hasChangedInputFields();const i=o.RecordUiHelpers.handleItemValueChange(e.detail,this.objectInfo,this.recordDraft);this.updatePicklistValueState();const r={apiName:this.objectApiName,allowSaveOnDuplicate:true,fields:{}};let s=false;for(let e=0;e<i.length;e++){const t=i[e];const r=this.recordDraft.getCurrentDraftValue(t);if(this.state.flatRecord.values[t]!==r){s=true}this.state.flatRecord.values[t]=r;const a=this.objectInfo.fields[t];const d=a&&a.compoundFieldName||t;const n=o.RecordLayoutHelpers.findRecordLayoutItemByFieldApiName(this.template,d);if(n){n.isDirty=true}}const a=this.recordTypeId===o.RecordUiConstants.MASTER_RECORD_TYPE_ID?null:this.recordTypeId;const d=this.recordDraft.getDraftForSave(a);Object.assign(r.fields,d.fields);if(Object.keys(r.fields).length>0&&s){this.fireItemValueChangeEvent(r,i)}if(t&&this.recordDraft.hasChangedInputFields()){this.fireContainsChangedFieldsEvent(true)}this.recordRepresentationDraft=this.recordDraft.getUpdatedRecord()}_handleItemOutputChange(e){if(e&&e.detail){e.stopPropagation();const{value:t,fieldApiName:i}=e.detail;if(t&&i){const e=this.state.flatRecord.displayValues;if(t.hasOwnProperty(\"displayValue\")&&e.hasOwnProperty(i)){e[i]=t.displayValue}}}}_handleInlineEdit(e){if(!this.standaloneMode){return}const t=e.detail.config;this.activateEdit(t.fieldApiName,{triggerOffsetY:t.triggerOffsetY})}_handleConditionalInlineEditChange(e){if(e){e.stopPropagation();e.preventDefault();if(e.detail){this._conditionalInlineEditabilityAllowed=!!e.detail.allowed;this.calculateInlineEditability()}}}_handleItemValueUndo(e){o.markInstrumentation(\"inline-edit-undo\",{entityType:o.getInstrumentedObjectName(this.objectInfo),devNameOrId:e.detail&&e.detail.fieldApiName||\"\"});const t=o.RecordUiHelpers.handleItemValueUndo(e.detail,this.recordDraft);this.updatePicklistValueState();for(let e=0;e<t.length;e++){const i=t[e];this.state.flatRecord.values[i]=this.recordDraft.getCurrentDraftValue(i)}const i={apiName:this.objectApiName,allowSaveOnDuplicate:true,fields:{}};const r=this.recordTypeId===o.RecordUiConstants.MASTER_RECORD_TYPE_ID?null:this.recordTypeId;const s=this.recordDraft.getDraftForSave(r);Object.assign(i.fields,s.fields);if(Object.keys(i.fields).length>0){this.fireItemValueChangeEvent(i,t)}if(!this.recordDraft.hasChangedInputFields()){this.fireContainsChangedFieldsEvent(false)}this.recordRepresentationDraft=this.recordDraft.getUpdatedRecord();requestAnimationFrame(()=>{for(let e=0,i=t.length;e<i;e++){const i=t[e];const r=this.objectInfo.fields[i];const s=r&&r.compoundFieldName||i;const a=o.RecordLayoutHelpers.findRecordLayoutItemByFieldApiName(this.template,s);if(a){a.resetItem();a.showHelpMessageIfInvalid()}}})}_handleViewAllDependencies(e){e.stopPropagation();const t=e.detail.fieldApiName;const i={objectApiName:this.objectApiName,recordTypeId:this.recordTypeId,recordId:this.recordId,mode:this.mode,targetField:t,fieldValues:this.state.flatRecord.values,fields:this.layoutFieldMetadata.fieldApiNames,requiredFields:this.layoutFieldMetadata.requiredFields,readOnlyFields:this.layoutFieldMetadata.readOnlyFields};const r=e=>{const t=e.getAllFieldValues();for(const e in t){if(this.recordDraft&&this.state.flatRecord&&this.state.flatRecord.values&&this.state.flatRecord.values.hasOwnProperty(e)){const i=t[e];this.recordDraft.updateFieldValue(e,i);this.state.flatRecord.values[e]=i}}this.updatePicklistValueState()};o.RecordUiHelpers.handleViewAllDependencies(e,i,r)}_handleCreateNewFromLookup(e){e.stopPropagation();e.preventDefault();const t=o.RecordUiHelpers.getCreateNewFromLookupEvent(e,this.recordDraft,this.state.flatRecord);this.dispatchEvent(t)}toggleModalSpinner(e){if(this.isSpinnerVisible!==e){this.dispatchEvent(new CustomEvent(o.RecordUiConstants.TOGGLE_MODAL_SPINNER,{bubbles:true,composed:true,cancelable:true,detail:{isVisible:e}}));this.isSpinnerVisible=e}}applyDependencyValues(e){const t=e.getAllFieldValues();for(const e in t){if(this.recordDraft&&this.state.flatRecord&&this.state.flatRecord.values&&this.state.flatRecord.values.hasOwnProperty(e)){const i=t[e];this.recordDraft.updateFieldValue(e,i);this.state.flatRecord.values[e]=i}}}updateLayoutSectionUserState(e){const t=this.createLayoutUserStateInput(e);r.updateLayoutUserState(this.objectApiName,this.recordTypeId,this.layoutType,this.mode,t)}createLayoutUserStateInput(e){const t={sectionUserStates:{}};Object.keys(e).forEach(i=>{t.sectionUserStates[i]={collapsed:e[i].collapsed}});return t}fireRecordLayoutRenderedEvent(){if(this.recordLayoutRenderedFired){return}this.recordLayoutRenderedFired=true;const e=new CustomEvent(o.RecordUiConstants.RECORD_LAYOUT_RENDERED,{bubbles:true,composed:true,cancelable:true,detail:{status:\"SUCCESS\",saveOptions:this.saveOptions?this.saveOptions:[],recordTypeId:this.recordTypeId||o.RecordUiConstants.MASTER_RECORD_TYPE_ID}});this.dispatchEvent(e)}fireRecordLayoutLoadErrorEvent(e){const t=new CustomEvent(o.RecordUiConstants.RECORD_LAYOUT_LOADERROR,{bubbles:true,composed:true,cancelable:true,detail:{message:o.RecordErrorsLibrary.onLoadErrorMsg(e,this.objectApiName)}});this.dispatchEvent(t)}fireNoAccessErrorEvent(){const e=new CustomEvent(o.RecordUiConstants.RECORD_LAYOUT_NO_EDIT_ACCESS,{bubbles:true,composed:true,cancelable:true});this.dispatchEvent(e)}fireFooterRepositionEvent(){this.dispatchEvent(new CustomEvent(o.RecordUiConstants.FOOTER_REPOSITION,{bubbles:true,composed:true,cancelable:true}))}fireContainsChangedFieldsEvent(e){const t=new CustomEvent(o.RecordUiConstants.CONTAINS_CHANGED_FIELDS,{bubbles:true,composed:true,cancelable:true,detail:{hasChangedFields:e,recordName:this.recordDraft.getOriginalFieldValue(\"Name\"),entityLabel:this.objectInfo&&this.objectInfo.label}});this.dispatchEvent(t)}fireCollisionResolvedEvent(){const e=new CustomEvent(o.RecordUiConstants.COLLISION_RESOLVED,{bubbles:true,composed:true,cancelable:true});this.dispatchEvent(e)}fireItemValueChangeEvent(e,t){const i=new CustomEvent(o.RecordUiConstants.RECORD_ITEM_VALUE_CHANGE,{bubbles:true,composed:true,cancelable:true,detail:{recordInput:e,fieldNames:t}});this.dispatchEvent(i)}shouldHighlightChangedFields(){const e=this.objectInfo&&this.objectInfo.keyPrefix;return S()&&w()&&f.isLiveRecordsSupportedEntity(e)}updateTriggerIconVisibility(e){switch(e){case C.default.GroupManagerConstants.SUBSCRIPTION_TYPE_ADD:if(!this.isInEditMode()){this.setTriggerIconVisibility(false)}break;case C.default.GroupManagerConstants.SUBSCRIPTION_TYPE_CLEAR:this.setTriggerIconVisibility(true);break}}get isLarge(){return this.width===o.RecordUiConstants.flexipageWidthEnum.LARGE||this.width===o.RecordUiConstants.flexipageWidthEnum.XLARGE}isCurrentUser(e){return L.default===e}logCollisionDetection(e){o.markInstrumentation(f.LiveRecordsConstants.COLLISION_DETECTION_INSTRUMENTATION_NAME,{layoutContext:this.dynamicComponentType,entity:o.getInstrumentedObjectName(this.objectInfo),sameUser:L.default===this.state.record.lastModifiedById,forcedReload:e})}layoutSecondaryFields(){if(this.dynamicComponentType===o.RecordUiConstants.HIGHLIGHTS_PANEL&&this._templateRendered){const e=this.template.querySelector(\"records-highlights2\");if(e&&e.shouldRenderHorizontal){requestAnimationFrame(()=>{e.layoutSecondaryFields(true)})}}}_hasEditAccess(){if((this.mode===o.RecordUiConstants.MODE_CREATE||this.mode===o.RecordUiConstants.MODE_CLONE)&&!this.objectInfo.createable||this.mode===o.RecordUiConstants.MODE_EDIT&&!this.objectInfo.updateable){return false}return true}_isLdsMobileCachingOfflineError(e){if(o.DeviceCheckHelpers.isMobile()&&e.body!==undefined&&e.body.error===z.Messages.Incomplete&&typeof __nimbus!==\"undefined\"&&__nimbus.plugins!==undefined&&__nimbus.plugins.LdsSqliteStore!==undefined){return true}return false}}t.registerDecorators(X,{publicProps:{mode:{config:0},layoutType:{config:0},recordId:{config:0},recordTypeId:{config:3},objectApiName:{config:0},dynamicComponentType:{config:0},numVisibleActions:{config:0},collapsed:{config:0},hideChatterActions:{config:0},hideDependencyLinks:{config:0},actionNames:{config:0},layoutFieldMetadata:{config:0},enableActionsConfiguration:{config:0},truncateFields:{config:0},width:{config:0},standaloneMode:{config:0},defaultFieldValues:{config:0}},publicMethods:[\"refresh\",\"isInEditMode\",\"getConflictingFields\",\"resetConflictingFields\",\"activateEdit\",\"focusField\",\"getFieldElement\",\"getFieldElements\",\"getFieldValue\",\"toggleShowAllFieldsForMobile\",\"getIsViewButtonVisible\",\"focusFirstEditableField\",\"focusRecordLayoutItemInput\",\"deactivateEdit\",\"getRows\",\"save\",\"saveAndNew\",\"resetErrors\",\"setErrors\",\"setRecordLayoutItemInlineEditLoadingIndicatorOn\",\"setRecordLayoutItemInlineEditLoadingIndicatorOff\",\"focusRecordLayoutItemInlineEditTrigger\",\"toggleRecordLayoutSectionCollapsedById\",\"updateFields\"],track:{state:1,showTemplate:1},fields:[\"showAllFieldsForMobile\",\"_conditionalInlineEditabilityAllowed\",\"_groupInlineEditabilityAllowed\",\"forceReloadRecordForInlineEdit\",\"recordLayoutRenderedFired\",\"complexityUpdated\",\"isSaving\",\"recordDraft\",\"recordRepresentationDraft\",\"aggregatedChangedFields\",\"isSpinnerVisible\",\"waitingForSaveAfterReload\",\"firstCreateRecordUpdate\",\"objectInfo\",\"wireRecordIdsForRecordAvatars\",\"objectApiNameForPicklistWire\",\"recordTypeIdForPicklistWire\",\"picklistValuesByRecordType\",\"instrumentation\",\"refreshID\"]});var J=t.registerComponent(X,{tmpl:U,sel:\"records-record-layout2\",apiVersion:59});e.default=J;Object.defineProperty(e,\"__esModule\",{value:true})});\n}","ce":"records-record-layout2","descriptor":"markup://records:recordLayout2","n":"records/recordLayout2","ad":[["mode",null,"G",false],["layoutType",null,"G",false],["recordId",null,"G",false],["recordTypeId",null,"G",false],["objectApiName",null,"G",false],["dynamicComponentType",null,"G",false],["numVisibleActions",null,"G",false],["collapsed",null,"G",false],["hideChatterActions",null,"G",false],["hideDependencyLinks",null,"G",false,false],["actionNames",null,"G",false],["layoutFieldMetadata",null,"G",false,{}],["enableActionsConfiguration",null,"G",false],["truncateFields",null,"G",false],["width",null,"G",false],["standaloneMode",null,"G",false],["defaultFieldValues",null,"G",false]]}]);

(Aura.appJsReady=Aura.appJsReady||new Array(4))[2]=true;Aura.appDefsReady&&Aura.appDefsReady();
