/*!
 * 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={151:function(e,t,r){var o=this&&this.__createBinding||(Object.create?function(e,t,r,o){void 0===o&&(o=r);var n=Object.getOwnPropertyDescriptor(t,r);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,o,n)}:function(e,t,r,o){void 0===o&&(o=r),e[o]=t[r]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=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)&&o(t,e,r);return n(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const u=i(r(497)),a=i(r(23)),l=r(649),p=s(r(232)),c=s(r(566)),d=s(r(447)),f=s(r(20)),h=(0,l._)("Dynamic Option: Customized in source"),x=(0,l._)("Configured in source code beyond what can be shown here. Resetting to default will overwrite this custom configurations."),v=(0,l._)("Reset to default"),_=p.default.div`
    padding: ${({padding:e})=>null!=e?e:"20px"};
    width: ${({width:e})=>null!=e?e:"300px"};
    color: ${c.default.contentColorActive};
`,g=p.default.div`
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 10px;
`,m={headerText:a.string,info:a.string,resetButtonText:a.string,onResetToDefault:a.func,style:a.object},b=({headerText:e=h,info:t=x,resetButtonText:r=v,onResetToDefault:o=(()=>{}),style:n={}})=>u.createElement(_,{style:n},u.createElement(g,{"data-test":"popover-header"},e),u.createElement(d.default,{"data-test":"customized-source-popover-message",type:"info"},t),u.createElement(f.default,{"data-test":"popover-reset",appearance:"secondary",onClick:o,label:r}));b.propTypes=m,t.default=b},20:e=>{e.exports=require("@splunk/react-ui/Button")},447:e=>{e.exports=require("@splunk/react-ui/Message")},566:e=>{e.exports=require("@splunk/themes/variables")},649:e=>{e.exports=require("@splunk/ui-utils/i18n")},23:e=>{e.exports=require("prop-types")},497:e=>{e.exports=require("react")},232:e=>{e.exports=require("styled-components")}},t={};var r=function r(o){var n=t[o];if(void 0!==n)return n.exports;var i=t[o]={exports:{}};return e[o].call(i.exports,i,i.exports,r),i.exports}(151);module.exports=r})();
//# sourceMappingURL=CustomizedInSourceMessage.js.map