/*!
 * Copyright © 2018 Splunk Inc.
 * SPLUNK CONFIDENTIAL – Use or disclosure of this material in whole or
 * in part without a valid written license from Splunk Inc. is PROHIBITED.
 */(()=>{"use strict";var e={620:function(e,t,r){var i=this&&this.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var l=Object.getOwnPropertyDescriptor(t,r);l&&!("get"in l?!t.__esModule:l.writable||l.configurable)||(l={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,l)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),l=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return l(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.ColumnSelectorFooterMessage=void 0;const a=o(r(497)),n=r(773),s=r(649),u=r(497);t.ColumnSelectorFooterMessage=({numSelected:e,numFiltered:t,numAvailable:r,filter:i,noSelectedFieldsInfo:l})=>{const o=(0,u.useMemo)((()=>i?l?(0,n.sprintf)((0,s._)("%(filtered)d filtered from %(available)d fields"),{filtered:t,available:r}):(0,n.sprintf)((0,s._)("%(selected)d selected from %(filtered)d filtered"),{selected:e,filtered:t}):l?(0,n.sprintf)((0,s._)("%(shown)d of %(available)d fields"),{shown:t,available:r}):(0,n.sprintf)((0,s._)("%(selected)d selected from %(available)d"),{selected:e,available:r})),[i,l,t,r,e]);return a.createElement("span",{"data-test":"footer-message","aria-live":"polite","aria-atomic":"true"},o)}},773:e=>{e.exports=require("@splunk/ui-utils/format")},649:e=>{e.exports=require("@splunk/ui-utils/i18n")},497:e=>{e.exports=require("react")}},t={};var r=function r(i){var l=t[i];if(void 0!==l)return l.exports;var o=t[i]={exports:{}};return e[i].call(o.exports,o,o.exports,r),o.exports}(620);module.exports=r})();
//# sourceMappingURL=ColumnSelectorFooterMessage.js.map