File "814.6b641b67b3724fe2c046.js"
Full path: /home/satkhirabarta/public_html/wp-content/plugins/really-simple-ssl/settings/build/814.6b641b67b3724fe2c046.js
File
size: 55.31 B (55.31 KB bytes)
MIME-type: text/plain
Charset: utf-8
Download Open Edit Advanced Editor &nnbsp; Back
"use strict";(self.webpackChunkreally_simple_ssl=self.webpackChunkreally_simple_ssl||[]).push([[814],{2828:(e,t,l)=>{l.d(t,{A:()=>r});var s=l(1621),a=l(4110);const r=(0,s.vt)(((e,t)=>({filter:"all",progressText:"",notices:[],error:!1,percentageCompleted:0,progressLoaded:!1,setFilter:t=>{sessionStorage.rsssl_task_filter=t,e((e=>({filter:t})))},fetchFilter:()=>{if("undefined"!=typeof Storage&&sessionStorage.rsssl_task_filter){let t=sessionStorage.rsssl_task_filter;e((e=>({filter:t})))}},getProgressData:async()=>{const{percentage:t,text:l,notices:s,error:r}=await a.YA("progressData","refresh").then((e=>e));e((e=>({notices:s,percentageCompleted:t,progressText:l,progressLoaded:!0,error:r})))},dismissNotice:async l=>{let s=t().notices;s=s.filter((function(e){return e.id!==l})),e((e=>({notices:s})));const{percentage:r}=await a.YA("dismiss_task",l);e({percentageCompleted:r})}})))},3056:(e,t,l)=>{l.d(t,{A:()=>r});var s=l(1621),a=l(4110);const r=(0,s.vt)(((e,t)=>({debug:!1,sslScanStatus:!1,sslData:!1,endpointData:[],dataLoaded:!1,clearCache:!1,requestActive:!1,intervalId:!1,setIntervalId:t=>e({intervalId:t}),setRequestActive:t=>e({requestActive:t}),setSslScanStatus:t=>e({sslScanStatus:t}),setClearCache:t=>e({clearCache:t}),setSslData:t=>e({sslData:t}),setEndpointData:t=>e({endpointData:t}),isLocalHost:()=>!t().debug&&-1!==window.location.host.indexOf("localhost"),host:()=>t().debug?"wordpress.org":window.location.host,fetchSslData:async()=>{a.Eo("ssltest_get").then((l=>{if(l.data.hasOwnProperty("host")){let s=t().processSslData(l.data);e({sslData:s,endpointData:s.endpointData,dataLoaded:!0})}}))},getSslLabsData:l=>{let s="";t().clearCache&&(e({clearCache:!1,sslData:!1}),s="&startNew=on");const r="https://api.ssllabs.com/api/v3/analyze?host="+t().host()+s;let n={};return n.url=r,a.Eo("ssltest_run",n).then((e=>!(!e||e.errors)&&JSON.parse(e)))},runSslTest:()=>{t().getSslLabsData().then((l=>{if(l.status&&"ERROR"===l.status)l=t().processSslData(l),e({sslData:l,sslScanStatus:"completed"}),clearInterval(t().intervalId);else if(l.endpoints&&l.endpoints.filter((e=>"Ready"===e.statusMessage)).length>0){let s=l.endpoints.filter((e=>"Ready"===e.statusMessage)),r=s[s.length-1].ipAddress;t().getEndpointData(r).then((s=>{let r=t().endpointData;if(Array.isArray(r)||(r=[]),!s.errors){let t=!1;r.length>0&&r.forEach((function(e,l){e.ipAddress===s.ipAddress&&(r[l]=s,t=!0)})),t||(r[r.length]=s),e({endpointData:r}),l.endpointData=r}l.errors||a.Eo("store_ssl_labs",l),l=t().processSslData(l),e({sslData:l,requestActive:!1})}))}else(l=t().processSslData(l)).errors||a.Eo("store_ssl_labs",l).then((e=>{})),e({sslData:l,requestActive:!1})}))},processSslData:t=>{t||(t={});let l=t.progress?t.progress:0,s=t.startTime?t.startTime:"",a=t.statusMessage?t.statusMessage:"",r=t.grade?t.grade:"?",n="";if(t.endpoints){let e=t.endpoints.filter((e=>"Ready"===e.statusMessage)),s=e.length,i=e[s-1],c=t.endpoints.filter((e=>"In progress"===e.statusMessage))[0],o=0;c&&(o=c.progress?c.progress:0,a=c.statusDetailsMessage,n=c.ipAddress),i&&(r=i.grade),l=(100*s+o)/t.endpoints.length}t.errors&&(r="?",a=t.errors[0].message,l=100);let i={};return l>=100&&e({sslScanStatus:"completed"}),i.grade=r,i.startTime=s,i.statusMessage=a,i.ipAddress=n,i.progress=l,t.summary=i,t},getEndpointData:e=>{const l="https://api.ssllabs.com/api/v3/getEndpointData?host="+t().host()+"&s="+e;let s={};return s.url=l,a.Eo("ssltest_run",s).then((e=>{if(e&&!e.errors)return JSON.parse(e)}))}})))},9684:(e,t,l)=>{l.d(t,{A:()=>g});var s=l(1609),a=l(7723),r=l(4937),n=l(4110),i=l(6975),c=l(2828),o=l(2043),m=l(2838),d=l.n(m),u=l(6087);const g=e=>{const{dismissNotice:t,getProgressData:l}=(0,c.A)(),{getField:m,setHighLightField:g,showSavedSettingsNotice:h}=(0,i.A)(),{setSelectedSubMenuItem:p}=(0,o.A)(),[f,v]=(0,u.useState)(!1);let E=e.notice,w="premium"===E.output.icon,C=E.output.url&&-1!==E.output.url.indexOf("really-simple-ssl.com");return(0,s.createElement)("div",{className:"rsssl-task-element"},(0,s.createElement)("span",{className:"rsssl-task-status rsssl-"+E.output.icon},E.output.label),(0,s.createElement)("p",{className:"rsssl-task-message",dangerouslySetInnerHTML:{__html:d().sanitize(E.output.msg)}})," ",C&&E.output.url&&(0,s.createElement)("a",{target:"_blank",rel:"noopener noreferrer",href:E.output.url},(0,a.__)("More info","really-simple-ssl")),E.output.clear_cache_id&&(0,s.createElement)("span",{className:"rsssl-task-enable button button-secondary",onClick:()=>(e=>{v(!0);let t={};t.cache_id=e,n.Eo("clear_cache",t).then((e=>{v(!1),h((0,a.__)("Re-started test","really-simple-ssl")),l()}))})(E.output.clear_cache_id)},(0,a.__)("Re-check","really-simple-ssl")),E.output.fix_id&&(0,s.createElement)("span",{className:"rsssl-task-enable button button-secondary",onClick:()=>(e=>{let t={};t.fix_id=e,v(!0),n.Eo("fix",t).then((e=>{v(!1),h(e.msg),l()}))})(E.output.fix_id)},!f&&(0,a.__)("Fix","really-simple-ssl"),f&&(0,s.createElement)(r.default,{name:"loading",color:"black",size:14})),!w&&!C&&E.output.url&&(0,s.createElement)("a",{className:"rsssl-task-enable button button-secondary",href:E.output.url},!f&&(0,a.__)("View","really-simple-ssl"),f&&(0,s.createElement)(r.default,{name:"loading",color:"black",size:14})),!w&&E.output.highlight_field_id&&(0,s.createElement)("span",{className:"rsssl-task-enable button button-secondary",onClick:()=>(async()=>{g(e.notice.output.highlight_field_id);let t=m(e.notice.output.highlight_field_id);await p(t.menu_id)})()},(0,a.__)("View","really-simple-ssl")),E.output.plusone&&(0,s.createElement)("span",{className:"rsssl-plusone"},"1"),E.output.dismissible&&"completed"!==E.output.status&&(0,s.createElement)("div",{className:"rsssl-task-dismiss"},(0,s.createElement)("button",{type:"button",onClick:e=>t(E.id)},(0,s.createElement)(r.default,{name:"times"}))))}},3201:(e,t,l)=>{l.d(t,{A:()=>y});var s=l(1609),a=l(6087),r=l(7723),n=l(4937),i=l(9695),c=l(6975),o=l(7283),m=l(5281);const d=(0,a.memo)((()=>{const{fetchFieldsData:e,getFieldValue:t,fieldsLoaded:l}=(0,c.A)(),{email:n,setEmail:i,includeTips:m,setIncludeTips:d}=(0,o.A)();return(0,a.useEffect)((()=>{l||e()}),[]),(0,a.useEffect)((()=>{""!==t("notifications_email_address")&&""===n&&i(t("notifications_email_address"))}),[]),(0,s.createElement)(s.Fragment,null,(0,s.createElement)("div",null,(0,s.createElement)("input",{type:"email",value:n,placeholder:(0,r.__)("Your email address","really-simple-ssl"),onChange:e=>i(e.target.value)})),(0,s.createElement)("div",null,(0,s.createElement)("label",null,(0,s.createElement)("input",{onChange:e=>d(e.target.checked),type:"checkbox",checked:m}),(0,r.__)("Include 6 Tips & Tricks to get started with Really Simple Security.","really-simple-ssl")," ",(0,s.createElement)("a",{href:"https://really-simple-ssl.com/legal/privacy-statement/",target:"_blank"},(0,r.__)("Privacy Statement","really-simple-ssl")))))}));var u=l(489);const g=(0,a.memo)((({item:e})=>{let{title:t,status:l,id:a}=e;const{overrideSSL:i,setOverrideSSL:c,certificateValid:m}=(0,o.A)(),d={inactive:{icon:"info",color:"grey"},warning:{icon:"circle-times",color:"orange"},error:{icon:"circle-times",color:"red"},success:{icon:"circle-check",color:"green"},processing:{icon:"loading",color:"black"}},u="success"!==e.status&&"none"===e.current_action?"empty":d[l].icon,g=d[l].color;return(0,s.createElement)(s.Fragment,null,(0,s.createElement)("li",null,(0,s.createElement)(n.default,{name:u,color:g}),t,"certificate"===a&&!m&&(0,s.createElement)(s.Fragment,null," ",(0,s.createElement)("a",{href:"#",onClick:e=>refreshSSLStatus(e)},(0,r.__)("Check again","really-simple-ssl")))),"certificate"===a&&!m&&(0,s.createElement)("li",null,(0,s.createElement)("label",{className:"rsssl-override-detection-toggle"},(0,s.createElement)("input",{onChange:e=>c(e.target.checked),type:"checkbox",checked:i}),(0,r.__)("Override SSL detection.","really-simple-ssl"))))})),h=(0,a.memo)((({isModal:e})=>{const{fetchFieldsData:t,getField:l,fieldsLoaded:r,updateField:n,setChangedField:i,saveFields:m}=(0,c.A)(),{currentStep:d}=(0,o.A)();(0,a.useEffect)((()=>{r||t()}),[]);let h=r&&l("other_host_type"),p=d.items?d.items:[];if(rsssl_settings.cloudflare&&!p.some((e=>"cf"===e.id))){let e={status:"success",title:"CloudFlare",id:"cf"};p.unshift(e)}return(0,s.createElement)(s.Fragment,null,e&&(0,s.createElement)(u.A,{field:h,showDisabledWhenSaving:!1}),(0,s.createElement)("ul",null,p&&p.map(((e,t)=>(0,s.createElement)(g,{key:"step-config-"+t,item:e})))))}));var p=l(5035),f=l(5683);const v=(0,a.memo)((()=>{const{currentStepIndex:e,setCurrentStepIndex:t}=(0,o.A)(),{getField:l}=(0,c.A)(),{licenseStatus:r}=(0,f.A)(),n=rsssl_settings.pro_plugin_active;return(0,a.useEffect)((()=>{n&&"valid"!==r||t(e+1)}),[r,n]),(0,s.createElement)("div",{className:"rsssl-license"},(0,s.createElement)(p.A,{field:l("license"),isOnboarding:!0}))})),E=(0,a.memo)((({item:e,disabled:t})=>{const{updateItemStatus:l,currentStep:a}=(0,o.A)();let{title:r,description:n,id:i,activated:c}=e;return(0,s.createElement)("li",null,(0,s.createElement)("label",{className:"rsssl-modal-checkbox-container"},(0,s.createElement)("input",{type:"checkbox",disabled:t,checked:c,value:i,id:i,onChange:e=>l(a.id,i,null,null,e.target.checked)}),(0,s.createElement)("span",{className:"rsssl-checkmark"})),r,n&&(0,s.createElement)(s.Fragment,null," - ",n))})),w=(0,a.memo)((({item:e})=>{let{title:t}=e;return(0,s.createElement)("li",null,(0,s.createElement)("div",{className:"rsssl-modal-premium-container"},"PRO"),t)})),C=(0,a.memo)((()=>{const{currentStep:e}=(0,o.A)();let t=e.items?e.items:[],l=t.filter((e=>!e.premium)),a=t.filter((e=>e.premium));return(0,s.createElement)(s.Fragment,null,(0,s.createElement)("ul",null,l&&(0,s.createElement)("div",{className:"rsssl-checkbox-items"},l.map(((e,t)=>(0,s.createElement)(E,{key:"step-features"+t,item:e})))),a&&(0,s.createElement)("div",{className:"rsssl-premium-items"},a.map(((e,t)=>(0,s.createElement)(w,{key:"step-features"+t,item:e}))))))})),_=(0,a.memo)((()=>{const{currentStep:e,currentStepIndex:t,setCurrentStepIndex:l}=(0,o.A)();(0,a.useEffect)((()=>{0===e.items.filter((e=>"none"!==e.action)).length&&l(t+1)}),[]);let r=e.items;return(0,s.createElement)(s.Fragment,null,(0,s.createElement)("ul",null,r&&r.map(((e,t)=>(0,s.createElement)(E,{key:"step-plugins"+t,item:e,disabled:"none"===e.action})))))})),b=(0,a.memo)((()=>{const{currentStep:e}=(0,o.A)();let t=e.items;return(0,s.createElement)(s.Fragment,null,(0,s.createElement)("ul",null,!rsssl_settings.pro_plugin_active&&t&&(0,s.createElement)("div",{className:"rsssl-premium-items"},t.map(((e,t)=>(0,s.createElement)(w,{key:"step-pro"+t,item:e})))),rsssl_settings.pro_plugin_active&&t&&(0,s.createElement)("div",{className:"rsssl-checkbox-items"},t.map(((e,t)=>(0,s.createElement)(E,{key:"step-pro"+t,item:e}))))))}));l(2838);const y=({isModal:e})=>{const{fetchFieldsData:t,fieldsLoaded:l}=(0,c.A)(),{getSteps:u,error:g,networkwide:p,sslEnabled:f,dataLoaded:E,processing:w,currentStep:y,currentStepIndex:S,setCurrentStepIndex:M,networkActivationStatus:k,networkProgress:z,activateSSLNetworkWide:L}=(0,o.A)();return(0,a.useEffect)((()=>{p&&"main_site_activated"===k&&setTimeout((()=>{L()}),1e3)}),[k,z]),(0,a.useEffect)((()=>{l||t()}),[]),(0,a.useEffect)((()=>{(async()=>{await u(!1),E&&steps.length>0&&M(0)})()}),[]),g?(0,s.createElement)(i.A,{lines:"3",error:g}):(0,s.createElement)(s.Fragment,null,!E&&(0,s.createElement)(s.Fragment,null,(0,s.createElement)("div",{className:"rsssl-onboarding-placeholder"},(0,s.createElement)("ul",null,(0,s.createElement)("li",null,(0,s.createElement)(n.default,{name:"loading",color:"grey"}),(0,r.__)("Fetching next step...","really-simple-ssl"))),(0,s.createElement)(i.A,{lines:"3"}))),E&&(0,s.createElement)("div",{className:" rsssl-"+y.id},"activate_ssl"===y.id&&(0,s.createElement)(s.Fragment,null,(0,s.createElement)(h,{isModal:e})),"activate_license"===y.id&&(0,s.createElement)(s.Fragment,null,(0,s.createElement)(v,null)),"features"===y.id&&(0,s.createElement)(s.Fragment,null,(0,s.createElement)(C,null)),"email"===y.id&&(0,s.createElement)(s.Fragment,null,(0,s.createElement)(d,null)),"plugins"===y.id&&(0,s.createElement)(s.Fragment,null,(0,s.createElement)(_,null)),"pro"===y.id&&(0,s.createElement)(s.Fragment,null,(0,s.createElement)(b,null)),!e&&(0,s.createElement)(m.A,{isModal:!1})))}},5281:(e,t,l)=>{l.d(t,{A:()=>g});var s=l(1609),a=l(6427),r=l(7723),n=l(2043),i=l(6975),c=l(7283),o=l(2828),m=l(4449),d=l(3056),u=l(5683);const g=({isModal:e})=>{const{getProgressData:t}=(0,o.A)(),{updateField:l,setChangedField:g,updateFieldsData:h,fetchFieldsData:p,saveFields:f,getFieldValue:v}=(0,i.A)(),{setSelectedMainMenuItem:E,selectedSubMenuItem:w}=(0,n.A)(),{licenseStatus:C,toggleActivation:_}=(0,u.A)(),{fetchFirstRun:b,fetchVulnerabilities:y}=(0,m.A)(),{setSslScanStatus:S}=(0,d.A)(),{dismissModal:M,activateSSL:k,certificateValid:z,setFooterStatus:L,networkwide:x,processing:A,setProcessing:V,steps:N,currentStepIndex:H,currentStep:F,setCurrentStepIndex:D,overrideSSL:B,email:O,saveEmail:I,pluginInstaller:R}=(0,c.A)(),P=async()=>{let s=!1;if("features"===F.id){D(H+1),V(!0);for(const e of F.items){if("health_scan"===e.id&&e.activated&&(L((0,r.__)("Starting SSL health scan...","really-simple-ssl")),S("active")),!e.premium||!e.activated)for(const t of Object.values(e.options)){const s=e.value||e.activated;l(t,s),g(t,s)}"vulnerability_detection"===e.id&&(s=e.activated)}L((0,r.__)("Activating options...","really-simple-ssl")),await f(!0,!1),s&&(L((0,r.__)("Initializing vulnerability detection...","really-simple-ssl")),await b(),L((0,r.__)("Scanning for vulnerabilities...","really-simple-ssl")),await y()),L((0,r.__)("Updating dashboard...","really-simple-ssl")),await t(),L(""),V(!1)}if("email"===F.id&&(await I(),D(H+1),l("send_notifications_email",!0),l("notifications_email_address",O),h(w)),"plugins"===F.id){D(H+1);for(const e of F.items)"none"!==e.action&&null!==e.action&&await R(e.id,e.action,e.title);L("")}if("pro"===F.id){if(rsssl_settings.pro_plugin_active){V(!0);for(const e of F.items)if(e.activated)if("advanced_headers"===e.id){for(const t of e.options)if("string"==typeof t)l(t,!0),g(t,!0);else if(Array.isArray(t)){const[e,s]=t;l(e,s),g(e,s)}}else for(const t of Object.values(e.options)){const s=e.value||e.activated;l(t,s),g(t,s)}L((0,r.__)("Activating options...","really-simple-ssl")),await f(!0,!1),L((0,r.__)("Updating dashboard...","really-simple-ssl")),await t(),L(""),V(!1)}e&&M(!0),E("dashboard")}"activate_license"===F.id&&"valid"!==C&&(await _(v("license")),"valid"===C&&D(H+1))};let T=x?(0,r.__)("Activate SSL networkwide","really-simple-ssl"):(0,r.__)("Activate SSL","really-simple-ssl");if("activate_ssl"===F.id)return(0,s.createElement)(s.Fragment,null,e&&!z&&(0,s.createElement)(a.Button,{onClick:()=>{e&&M(!0),window.location.href=rsssl_settings.letsencrypt_url}},(0,r.__)("Install SSL","really-simple-ssl")),(0,s.createElement)(a.Button,{disabled:A||!z&&!B,isPrimary:!0,onClick:()=>{(async()=>{await k(),await t(),await p()})()}},T));if("activate_license"===F.id)return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(a.Button,{isPrimary:!0,onClick:()=>P()},F.button||(0,r.__)("Activate","really-simple-ssl")));if(H>0&&H<N.length-1)return(0,s.createElement)(s.Fragment,null,"activate_license"!==F.id&&(0,s.createElement)(a.Button,{onClick:()=>{D(H+1)}},(0,r.__)("Skip","really-simple-ssl")),(0,s.createElement)(a.Button,{isPrimary:!0,onClick:()=>P()},F.button));if(N.length-1===H){let e=rsssl_settings.is_bf?(0,r.__)("Get 40% off","really-simple-ssl"):(0,r.__)("Get Pro","really-simple-ssl");return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(a.Button,{isPrimary:!0,onClick:()=>P(),disabled:rsssl_settings.pro_plugin_active&&"valid"!==C},(0,r.__)("Finish","really-simple-ssl")),!rsssl_settings.pro_plugin_active&&(0,s.createElement)(a.Button,{rel:"noreferrer noopener",target:"_blank",isPrimary:!0,href:rsssl_settings.upgrade_link},e))}}},814:(e,t,l)=>{l.r(t),l.d(t,{default:()=>p});var s=l(1609),a=l(6087),r=l(3201),n=l(9695),i=l(7723),c=l(4937),o=l(7283),m=l(6975),d=l(6427),u=l(5170);const g=({title:e,subTitle:t,currentStep:r,buttons:n,content:c,list:o,confirmAction:m,confirmText:g,alternativeAction:h,alternativeText:p,alternativeClassName:f,isOpen:v,setOpen:E,className:w})=>{const[C,_]=(0,a.useState)(null);let b="undefined"!=typeof rsssl_modal?rsssl_modal.plugin_url:rsssl_settings.plugin_url;f=f||"rsssl-warning",(0,a.useEffect)((()=>{C||Promise.resolve().then(l.bind(l,4937)).then((({default:e})=>{_((()=>e))}))}));let y=w?" "+w:"";return wp.element.createElement(s.Fragment,null,v&&wp.element.createElement(s.Fragment,null,wp.element.createElement(u.A,{fallback:"Error loading modal"},wp.element.createElement(d.Modal,{className:"rsssl-modal"+y,shouldCloseOnClickOutside:!1,shouldCloseOnEsc:!1,title:e,onRequestClose:()=>E(!1),open:v},wp.element.createElement("div",{className:"rsssl-modal-body"},t&&wp.element.createElement("p",{dangerouslySetInnerHTML:{__html:t}}),c&&wp.element.createElement(s.Fragment,null,c),o&&C&&wp.element.createElement("ul",null,o.map(((e,t)=>wp.element.createElement("li",{key:t},wp.element.createElement(C,{name:e.icon,color:e.color}),e.text))))),wp.element.createElement("div",{className:"rsssl-modal-footer"},wp.element.createElement("div",{className:"rsssl-modal-footer-image"},wp.element.createElement("img",{className:"rsssl-logo",src:b+"assets/img/really-simple-security-logo.svg",alt:"Really Simple Security"})),wp.element.createElement("div",{className:"rsssl-modal-footer-buttons"},wp.element.createElement(d.Button,{onClick:()=>E(!1)},(0,i.__)("Cancel","really-simple-ssl")),n&&wp.element.createElement(s.Fragment,null,n),!n&&wp.element.createElement(s.Fragment,null,p&&wp.element.createElement(d.Button,{className:f,onClick:()=>h()},p),g&&wp.element.createElement(d.Button,{isPrimary:!0,onClick:()=>m()},g))))))))};var h=l(5281);const p=()=>{const{footerStatus:e,showOnboardingModal:t,fetchOnboardingModalStatus:l,modalStatusLoaded:d,currentStep:u,dismissModal:p}=(0,o.A)(),{fieldsLoaded:f}=(0,m.A)();return(0,a.useEffect)((()=>{d||l()}),[]),(0,a.useEffect)((()=>{t&&p(!1)}),[t]),(0,s.createElement)(s.Fragment,null,(0,s.createElement)(g,{className:"rsssl-onboarding-modal",title:u.title,subTitle:u.subtitle,currentStep:u,content:(0,s.createElement)(s.Fragment,null,!f&&(0,s.createElement)(s.Fragment,null,(0,s.createElement)("ul",null,(0,s.createElement)("li",null,(0,s.createElement)(c.default,{name:"loading"}),(0,i.__)("Please wait while we detect your setup","really-simple-ssl"))),(0,s.createElement)(n.A,{lines:"3"})),f&&(0,s.createElement)(r.A,{isModal:!0})),isOpen:t,setOpen:e=>{e||p(!0)},buttons:(0,s.createElement)(h.A,{isModal:!0}),footer:0!==e.length&&(0,s.createElement)(s.Fragment,null,(0,s.createElement)(c.default,{name:"loading",color:"grey"}),e)}))}},9695:(e,t,l)=>{l.d(t,{A:()=>r});var s=l(1609),a=l(3972);const r=e=>{let t=e.lines;return t||(t=4),e.error&&(t=0),(0,s.createElement)("div",{className:"rsssl-placeholder"},e.error&&(0,s.createElement)(a.A,{error:e.error}),Array.from({length:t}).map(((e,t)=>(0,s.createElement)("div",{className:"rsssl-placeholder-line",key:"placeholder-"+t}))))}},489:(e,t,l)=>{l.d(t,{A:()=>h});var s=l(1609),a=l(6087),r=l(6975),n=(l(2838),l(8241)),i=l(1082);const c=(0,l(9815).A)((()=>({autoComplete:{fontSize:"12px"}}))),o=({field:e,disabled:t,value:l,options:a,label:r,onChange:o})=>{let m=!Array.isArray(t)&&t;const d=c();return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(n.A,{classes:{input:d.autoComplete,option:d.autoComplete},disabled:m,disablePortal:!0,value:l,id:e.id,options:a,getOptionLabel:e=>{if(e&&e.label)return e.label;const t=a.find((t=>t.value===e));return t?t.label:e},isOptionEqualToValue:(e,t)=>e.value===t,onChange:(e,t)=>{let l=t&&t.value?t.value:"";o(l)},renderInput:e=>(0,s.createElement)(i.A,{...e,label:r,margin:"normal",variant:"outlined",fullWidth:!0})}))};var m=l(1621),d=l(4110);const u=(0,m.vt)(((e,t)=>({hosts:[],hostsLoaded:!1,fetchHosts:async t=>{try{const l=await d.Eo("get_hosts",{id:t});if(!l)return void console.error("No response received from the server.");let s=l.hosts;e({hosts:s,hostsLoaded:!0})}catch(e){console.error("Error:",e)}}})));var g=l(7723);const h=(0,a.memo)((({field:e,showDisabledWhenSaving:t=!0})=>{const{updateField:l,setChangedField:n,saveFields:i,handleNextButtonDisabled:c}=(0,r.A)(),[m,d]=(0,a.useState)(!1),{fetchHosts:h,hosts:p,hostsLoaded:f}=u();(0,a.useEffect)((()=>{f||h()}),[]),(0,a.useEffect)((()=>{c(m)}),[m]);let v=f?p:[],E=[],w={label:(0,g.__)("Optional - Select your hosting provider.","really-simple-ssl"),value:""};0===e.value.length&&E.push(w);for(let e in v)if(v.hasOwnProperty(e)){let t={};t.label=v[e].name,t.value=e,E.push(t)}return(0,s.createElement)(o,{className:"rsssl-select",field:e,label:e.label,onChange:s=>(async s=>{t&&d(!0),l(e.id,s),n(e.id,s),await i(!0,!1),d(!1)})(s),value:e.value,options:E,disabled:m})}))},5035:(e,t,l)=>{l.d(t,{A:()=>m});var s=l(1609),a=l(9684),r=l(4110),n=l(7723),i=l(6975),c=l(5683),o=l(6087);const m=({field:e,isOnboarding:t})=>{const{fields:l,setChangedField:m,updateField:d}=(0,i.A)(),{toggleActivation:u,licenseStatus:g,setLicenseStatus:h,notices:p,setNotices:f,setLoadingState:v}=(0,c.A)();return(0,o.useEffect)((()=>{v()}),[]),(0,o.useEffect)((()=>{r.YA("licenseNotices","refresh").then((e=>e)).then((e=>{h(e.licenseStatus),f(e.notices)}))}),[l]),(0,s.createElement)("div",{className:"components-base-control"},(0,s.createElement)("div",{className:"components-base-control__field"},!t&&(0,s.createElement)("label",{className:"components-base-control__label",htmlFor:e.id},e.label),(0,s.createElement)("div",{className:"rsssl-license-field"},(0,s.createElement)("input",{className:"components-text-control__input",type:"password",id:e.id,value:e.value,onChange:t=>{return l=t.target.value,m(e.id,l),void d(e.id,l);var l}}),!t&&(0,s.createElement)("button",{className:"button button-default",onClick:()=>u(e.value)},"valid"===g&&(0,s.createElement)(s.Fragment,null,(0,n.__)("Deactivate","really-simple-ssl")),"valid"!==g&&(0,s.createElement)(s.Fragment,null,(0,n.__)("Activate","really-simple-ssl"))))),p.map(((e,t)=>(0,s.createElement)(a.A,{key:"task-"+t,index:t,notice:e,highLightField:""}))))}},5683:(e,t,l)=>{l.d(t,{A:()=>n});var s=l(1621),a=(l(6975),l(4110)),r=l(7723);const n=(0,s.vt)(((e,t)=>({licenseStatus:rsssl_settings.licenseStatus,setLicenseStatus:t=>e((e=>({licenseStatus:t}))),notices:[],setNotices:t=>e((e=>({notices:t}))),setLoadingState:()=>{const t={output:{dismissible:!1,icon:"skeleton",label:(0,r.__)("Loading","burst-statistics"),msg:!1,plusone:!1,url:!1}};e({notices:[t,t,t]})},toggleActivation:async l=>{if(t().setLoadingState(),"valid"===t().licenseStatus)await a.YA("deactivate_license").then((t=>{e({notices:t.notices,licenseStatus:t.licenseStatus})}));else{let t={};t.license=l,await a.Eo("activate_license",t).then((t=>{e({notices:t.notices,licenseStatus:t.licenseStatus})}))}}})))},4449:(e,t,l)=>{l.d(t,{A:()=>o});var s=l(1609),a=l(1621),r=l(4110),n=l(7723),i=l(6535),c=l(6155);const o=(0,a.vt)(((e,t)=>({dummyRiskData:[{id:"force_update",name:"Force Update",value:"l",description:(0,n.__)("Force update the plugin or theme","really-simple-ssl")},{id:"quarantine",name:"Quarantine",value:"m",description:(0,n.__)("Isolates the plugin or theme if no update can be performed","really-simple-ssl")}],riskData:[],riskLevels:{l:1,m:2,h:3,c:4},vulnerabilities:[],processing:!1,dataLoaded:!1,updates:0,HighestRisk:!1,lastChecked:"",vulEnabled:!1,riskNaming:{},vulList:[],setDataLoaded:t=>e({dataLoaded:t}),updateRiskData:async(l,s)=>{if(!t().processing){e({processing:!0}),e((0,i.jM)((e=>{let a=e.riskData.findIndex((e=>e.id===l));e.riskData[a].value=s,e.riskData=t().enforceCascadingRiskLevels(e.riskData)})));try{await r.Eo("vulnerabilities_measures_set",{riskData:t().riskData}),e({dataLoaded:!0,processing:!1})}catch(e){console.log(e)}e({processing:!1})}},enforceCascadingRiskLevels:e=>{if(0===e.length)return e;let l=e.filter((e=>"force_update"===e.id))[0].value,s=e.filter((e=>"quarantine"===e.id))[0].value;l=t().riskLevels.hasOwnProperty(l)?t().riskLevels[l]:5,s=t().riskLevels.hasOwnProperty(s)?t().riskLevels[s]:5;let a=e.findIndex((e=>"quarantine"===e.id));s<l&&(e[a].value=Object.keys(t().riskLevels).find((e=>t().riskLevels[e]===l))),5===l&&(e[a].value="*");let r=l>0?l:0,n=Array.from(Array(r).keys()).map((e=>e));return n=n.map((e=>Object.keys(t().riskLevels).find((l=>t().riskLevels[l]===e)))),e[a].disabledRiskLevels=n,e},fetchFirstRun:async()=>{t().processing||(e({processing:!0}),await r.Eo("vulnerabilities_scan_files"),e({processing:!1}))},fetchVulnerabilities:async()=>{if(t().processing)return;e({processing:!0});let l={};try{const a=await r.Eo("hardening_data",l);let o=[],m=0;a.data.vulList&&(m=a.data.vulnerabilities,o=a.data.vulList,"object"==typeof o&&(o=Object.values(o)),o.forEach((function(e,t){let l=e.update_available?rsssl_settings.plugins_url+"?plugin_status=upgrade":"#settings/vulnerabilities";e.vulnerability_action=(0,s.createElement)("div",{className:"rsssl-action-buttons"},(0,s.createElement)("a",{className:"rsssl-button button-secondary",href:(0,c.g)("https://really-simple-ssl.com/vulnerability/"+e.rss_identifier),target:"_blank",rel:"noopener noreferrer"},(0,n.__)("Details","really-simple-ssl")),(0,s.createElement)("a",{disabled:!e.update_available,href:l,className:"rsssl-button button-primary"},(0,n.__)("Update","really-simple-ssl")))})));let d=a.data.riskData;Array.isArray(d)||(d=[]),d=t().enforceCascadingRiskLevels(d),e((0,i.jM)((e=>{e.vulnerabilities=m,e.vulList=o,e.updates=a.data.updates,e.dataLoaded=!0,e.riskNaming=a.data.riskNaming,e.lastChecked=a.data.lastChecked,e.vulEnabled=a.data.vulEnabled,e.riskData=d,e.processing=!1})))}catch(e){console.error(e)}},vulnerabilityCount:()=>{let e=t().vulList,l=[];return Object.keys(e).forEach((function(t){l.push(e[t])})),["c","h","m","l"].map((function(e){return{level:e,count:l.filter((function(t){return t.risk_level===e})).length}}))},vulnerabilityScore:()=>{let e=0,l=t().vulList;return Object.keys(l).forEach((function(t){"c"===l[t].risk_level?e=5:e<1&&(e=1)})),e},hardeningScore:()=>{let e=0,l=t().vulnerabilities;for(let t=0;t<l.length;t++)e+=l[t].hardening_score;return e},activateVulnerabilityScanner:async()=>{try{(await r.Eo("rsssl_scan_files")).request_success&&await t().fetchVulnerabilities()}catch(e){console.error(e)}}})))},4937:(e,t,l)=>{l.r(t),l.d(t,{default:()=>n});var s=l(1609),a=l(9519);const r=React.forwardRef((function(e,t){const{name:l,color:a,size:r}=e,n=l||"bullet",i=a||"black",c=r||15,o={black:"var(--rsp-black)",green:"var(--rsp-green)",yellow:"var(--rsp-yellow)",orange:"var(--rsp-yellow)","red-faded":"var(--rsp-red-faded)",red:"var(--rsp-red)",grey:"var(--rsp-grey-400)","red-warning":"var(--rsp-red-faded)"};let m="";return"bullet"===n&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:c},(0,s.createElement)("path",{fill:o[i],d:"M512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256z"}))),"circle"===n&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:c},(0,s.createElement)("path",{fill:o[i],d:"M512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"}))),"check"===n&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:c},(0,s.createElement)("path",{fill:o[i],d:"M512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"}))),"warning"===n&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:c},(0,s.createElement)("path",{fill:o[i],d:"M506.3 417l-213.3-364c-16.33-28-57.54-28-73.98 0l-213.2 364C-10.59 444.9 9.849 480 42.74 480h426.6C502.1 480 522.6 445 506.3 417zM232 168c0-13.25 10.75-24 24-24S280 154.8 280 168v128c0 13.25-10.75 24-23.1 24S232 309.3 232 296V168zM256 416c-17.36 0-31.44-14.08-31.44-31.44c0-17.36 14.07-31.44 31.44-31.44s31.44 14.08 31.44 31.44C287.4 401.9 273.4 416 256 416z"}))),"error"===n&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:c},(0,s.createElement)("path",{fill:o[i],d:"M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM232 152C232 138.8 242.8 128 256 128s24 10.75 24 24v128c0 13.25-10.75 24-24 24S232 293.3 232 280V152zM256 400c-17.36 0-31.44-14.08-31.44-31.44c0-17.36 14.07-31.44 31.44-31.44s31.44 14.08 31.44 31.44C287.4 385.9 273.4 400 256 400z"}))),"times"===n&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",height:c},(0,s.createElement)("path",{fill:o[i],d:"M310.6 361.4c12.5 12.5 12.5 32.75 0 45.25C304.4 412.9 296.2 416 288 416s-16.38-3.125-22.62-9.375L160 301.3L54.63 406.6C48.38 412.9 40.19 416 32 416S15.63 412.9 9.375 406.6c-12.5-12.5-12.5-32.75 0-45.25l105.4-105.4L9.375 150.6c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L160 210.8l105.4-105.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-105.4 105.4L310.6 361.4z"}))),"circle-check"===n&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:c},(0,s.createElement)("path",{fill:o[i],d:"M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM371.8 211.8C382.7 200.9 382.7 183.1 371.8 172.2C360.9 161.3 343.1 161.3 332.2 172.2L224 280.4L179.8 236.2C168.9 225.3 151.1 225.3 140.2 236.2C129.3 247.1 129.3 264.9 140.2 275.8L204.2 339.8C215.1 350.7 232.9 350.7 243.8 339.8L371.8 211.8z"}))),"circle-times"===n&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:c},(0,s.createElement)("path",{fill:o[i],d:"M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM175 208.1L222.1 255.1L175 303C165.7 312.4 165.7 327.6 175 336.1C184.4 346.3 199.6 346.3 208.1 336.1L255.1 289.9L303 336.1C312.4 346.3 327.6 346.3 336.1 336.1C346.3 327.6 346.3 312.4 336.1 303L289.9 255.1L336.1 208.1C346.3 199.6 346.3 184.4 336.1 175C327.6 165.7 312.4 165.7 303 175L255.1 222.1L208.1 175C199.6 165.7 184.4 165.7 175 175C165.7 184.4 165.7 199.6 175 208.1V208.1z"}))),"chevron-up"===n&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",height:c},(0,s.createElement)("path",{fill:o[i],d:"M416 352c-8.188 0-16.38-3.125-22.62-9.375L224 173.3l-169.4 169.4c-12.5 12.5-32.75 12.5-45.25 0s-12.5-32.75 0-45.25l192-192c12.5-12.5 32.75-12.5 45.25 0l192 192c12.5 12.5 12.5 32.75 0 45.25C432.4 348.9 424.2 352 416 352z"}))),"chevron-down"===n&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",height:c},(0,s.createElement)("path",{fill:o[i],d:"M224 416c-8.188 0-16.38-3.125-22.62-9.375l-192-192c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L224 338.8l169.4-169.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-192 192C240.4 412.9 232.2 416 224 416z"}))),"chevron-right"===n&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",height:c},(0,s.createElement)("path",{fill:o[i],d:"M96 480c-8.188 0-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L242.8 256L73.38 86.63c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l192 192c12.5 12.5 12.5 32.75 0 45.25l-192 192C112.4 476.9 104.2 480 96 480z"}))),"chevron-left"===n&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",height:c},(0,s.createElement)("path",{fill:o[i],d:"M224 480c-8.188 0-16.38-3.125-22.62-9.375l-192-192c-12.5-12.5-12.5-32.75 0-45.25l192-192c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25L77.25 256l169.4 169.4c12.5 12.5 12.5 32.75 0 45.25C240.4 476.9 232.2 480 224 480z"}))),"plus"===n&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:c},(0,s.createElement)("path",{fill:o[i],d:"M432 256c0 17.69-14.33 32.01-32 32.01H256v144c0 17.69-14.33 31.99-32 31.99s-32-14.3-32-31.99v-144H48c-17.67 0-32-14.32-32-32.01s14.33-31.99 32-31.99H192v-144c0-17.69 14.33-32.01 32-32.01s32 14.32 32 32.01v144h144C417.7 224 432 238.3 432 256z"}))),"minus"===n&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:c},(0,s.createElement)("path",{fill:o[i],d:"M400 288h-352c-17.69 0-32-14.32-32-32.01s14.31-31.99 32-31.99h352c17.69 0 32 14.3 32 31.99S417.7 288 400 288z"}))),"sync"===n&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:c},(0,s.createElement)("path",{fill:o[i],d:"M483.515 28.485L431.35 80.65C386.475 35.767 324.485 8 256 8 123.228 8 14.824 112.338 8.31 243.493 7.971 250.311 13.475 256 20.301 256h28.045c6.353 0 11.613-4.952 11.973-11.294C66.161 141.649 151.453 60 256 60c54.163 0 103.157 21.923 138.614 57.386l-54.128 54.129c-7.56 7.56-2.206 20.485 8.485 20.485H492c6.627 0 12-5.373 12-12V36.971c0-10.691-12.926-16.045-20.485-8.486zM491.699 256h-28.045c-6.353 0-11.613 4.952-11.973 11.294C445.839 370.351 360.547 452 256 452c-54.163 0-103.157-21.923-138.614-57.386l54.128-54.129c7.56-7.56 2.206-20.485-8.485-20.485H20c-6.627 0-12 5.373-12 12v143.029c0 10.691 12.926 16.045 20.485 8.485L80.65 431.35C125.525 476.233 187.516 504 256 504c132.773 0 241.176-104.338 247.69-235.493.339-6.818-5.165-12.507-11.991-12.507z"}))),"sync-error"===n&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:c},(0,s.createElement)("path",{fill:o[i],d:"M256 79.1C178.5 79.1 112.7 130.1 89.2 199.7C84.96 212.2 71.34 218.1 58.79 214.7C46.23 210.5 39.48 196.9 43.72 184.3C73.6 95.8 157.3 32 256 32C337.5 32 408.8 75.53 448 140.6V104C448 90.75 458.7 80 472 80C485.3 80 496 90.75 496 104V200C496 213.3 485.3 224 472 224H376C362.7 224 352 213.3 352 200C352 186.7 362.7 176 376 176H412.8C383.7 118.1 324.4 80 256 80V79.1zM280 263.1C280 277.3 269.3 287.1 256 287.1C242.7 287.1 232 277.3 232 263.1V151.1C232 138.7 242.7 127.1 256 127.1C269.3 127.1 280 138.7 280 151.1V263.1zM224 352C224 334.3 238.3 319.1 256 319.1C273.7 319.1 288 334.3 288 352C288 369.7 273.7 384 256 384C238.3 384 224 369.7 224 352zM40 432C26.75 432 16 421.3 16 408V311.1C16 298.7 26.75 287.1 40 287.1H136C149.3 287.1 160 298.7 160 311.1C160 325.3 149.3 336 136 336H99.19C128.3 393 187.6 432 256 432C333.5 432 399.3 381.9 422.8 312.3C427 299.8 440.7 293 453.2 297.3C465.8 301.5 472.5 315.1 468.3 327.7C438.4 416.2 354.7 480 256 480C174.5 480 103.2 436.5 64 371.4V408C64 421.3 53.25 432 40 432V432z"}))),"shortcode"===n&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",height:c},(0,s.createElement)("path",{fill:o[i],d:"M128 32H32C14.4 32 0 46.4 0 64v384c0 17.6 14.4 32 32 32h96C145.7 480 160 465.7 160 448S145.7 416 128 416H64V96h64C145.7 96 160 81.67 160 64S145.7 32 128 32zM416 32h-96C302.3 32 288 46.33 288 63.1S302.3 96 319.1 96H384v320h-64C302.3 416 288 430.3 288 447.1S302.3 480 319.1 480H416c17.6 0 32-14.4 32-32V64C448 46.4 433.6 32 416 32z"}))),"file"===n&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",height:c},(0,s.createElement)("path",{fill:o[i],d:"M0 64C0 28.65 28.65 0 64 0H229.5C246.5 0 262.7 6.743 274.7 18.75L365.3 109.3C377.3 121.3 384 137.5 384 154.5V448C384 483.3 355.3 512 320 512H64C28.65 512 0 483.3 0 448V64zM336 448V160H256C238.3 160 224 145.7 224 128V48H64C55.16 48 48 55.16 48 64V448C48 456.8 55.16 464 64 464H320C328.8 464 336 456.8 336 448z"}))),"file-disabled"===n&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",height:c},(0,s.createElement)("path",{fill:o[i],d:"M639.1 487.1c0-7.119-3.153-14.16-9.191-18.89l-118.8-93.12l.0013-237.3c0-16.97-6.742-33.26-18.74-45.26l-74.63-74.64C406.6 6.742 390.3 0 373.4 0H192C156.7 0 128 28.65 128 64L128 75.01L38.82 5.11C34.41 1.672 29.19 0 24.04 0C10.19 0-.0002 11.3-.0002 23.1c0 7.12 3.153 14.16 9.192 18.89l591.1 463.1C605.6 510.3 610.8 512 615.1 512C629.8 512 639.1 500.6 639.1 487.1zM464 338.4l-287.1-225.7l-.002-48.51c0-8.836 7.164-16 15.1-16h160l-.0065 79.87c0 17.67 14.33 31.1 31.1 31.1L464 159.1V338.4zM448 463.1H192c-8.834 0-15.1-7.164-15.1-16L176 234.6L128 197L128 447.1c0 35.34 28.65 64 63.1 64H448c20.4 0 38.45-9.851 50.19-24.84l-37.72-29.56C457.5 461.4 453.2 463.1 448 463.1z"}))),"loading"===n&&(m=(0,s.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:c},(0,s.createElement)("path",{fill:o[a],d:"M304 48c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zm0 416c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM48 304c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zm464-48c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48zM142.9 437c18.7-18.7 18.7-49.1 0-67.9s-49.1-18.7-67.9 0s-18.7 49.1 0 67.9s49.1 18.7 67.9 0zm0-294.2c18.7-18.7 18.7-49.1 0-67.9S93.7 56.2 75 75s-18.7 49.1 0 67.9s49.1 18.7 67.9 0zM369.1 437c18.7 18.7 49.1 18.7 67.9 0s18.7-49.1 0-67.9s-49.1-18.7-67.9 0s-18.7 49.1 0 67.9z"}))),"file-download"===n&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",height:c},(0,s.createElement)("path",{fill:o[i],d:"M216 342.1V240c0-13.25-10.75-24-24-24S168 226.8 168 240v102.1L128.1 303C124.3 298.3 118.2 296 112 296S99.72 298.3 95.03 303c-9.375 9.375-9.375 24.56 0 33.94l80 80c9.375 9.375 24.56 9.375 33.94 0l80-80c9.375-9.375 9.375-24.56 0-33.94s-24.56-9.375-33.94 0L216 342.1zM365.3 93.38l-74.63-74.64C278.6 6.742 262.3 0 245.4 0H64C28.65 0 0 28.65 0 64l.0065 384c0 35.34 28.65 64 64 64H320c35.2 0 64-28.8 64-64V138.6C384 121.7 377.3 105.4 365.3 93.38zM336 448c0 8.836-7.164 16-16 16H64.02c-8.838 0-16-7.164-16-16L48 64.13c0-8.836 7.164-16 16-16h160L224 128c0 17.67 14.33 32 32 32h79.1V448z"}))),"calendar"===n&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",height:c},(0,s.createElement)("path",{fill:o[i],d:"M152 64H296V24C296 10.75 306.7 0 320 0C333.3 0 344 10.75 344 24V64H384C419.3 64 448 92.65 448 128V448C448 483.3 419.3 512 384 512H64C28.65 512 0 483.3 0 448V128C0 92.65 28.65 64 64 64H104V24C104 10.75 114.7 0 128 0C141.3 0 152 10.75 152 24V64zM48 448C48 456.8 55.16 464 64 464H384C392.8 464 400 456.8 400 448V192H48V448z"}))),"calendar-error"===n&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",height:c},(0,s.createElement)("path",{fill:o[i],d:"M151.1 64H296V24C296 10.75 306.7 0 320 0C333.3 0 344 10.75 344 24V64H384C419.3 64 448 92.65 448 128V192H47.1V448C47.1 456.8 55.16 464 63.1 464H284.5C296.7 482.8 312.5 499.1 330.8 512H64C28.65 512 0 483.3 0 448V128C0 92.65 28.65 64 64 64H104V24C104 10.75 114.7 0 128 0C141.3 0 152 10.75 152 24L151.1 64zM576 368C576 447.5 511.5 512 432 512C352.5 512 287.1 447.5 287.1 368C287.1 288.5 352.5 224 432 224C511.5 224 576 288.5 576 368zM432 416C418.7 416 408 426.7 408 440C408 453.3 418.7 464 432 464C445.3 464 456 453.3 456 440C456 426.7 445.3 416 432 416zM447.1 288C447.1 279.2 440.8 272 431.1 272C423.2 272 415.1 279.2 415.1 288V368C415.1 376.8 423.2 384 431.1 384C440.8 384 447.1 376.8 447.1 368V288z"}))),"help"===n&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:c},(0,s.createElement)("path",{fill:o[i],d:"M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 400c-18 0-32-14-32-32s13.1-32 32-32c17.1 0 32 14 32 32S273.1 400 256 400zM325.1 258L280 286V288c0 13-11 24-24 24S232 301 232 288V272c0-8 4-16 12-21l57-34C308 213 312 206 312 198C312 186 301.1 176 289.1 176h-51.1C225.1 176 216 186 216 198c0 13-11 24-24 24s-24-11-24-24C168 159 199 128 237.1 128h51.1C329 128 360 159 360 198C360 222 347 245 325.1 258z"}))),"copy"===n&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:c},(0,s.createElement)("path",{fill:o[i],d:"M502.6 70.63l-61.25-61.25C435.4 3.371 427.2 0 418.7 0H255.1c-35.35 0-64 28.66-64 64l.0195 256C192 355.4 220.7 384 256 384h192c35.2 0 64-28.8 64-64V93.25C512 84.77 508.6 76.63 502.6 70.63zM464 320c0 8.836-7.164 16-16 16H255.1c-8.838 0-16-7.164-16-16L239.1 64.13c0-8.836 7.164-16 16-16h128L384 96c0 17.67 14.33 32 32 32h47.1V320zM272 448c0 8.836-7.164 16-16 16H63.1c-8.838 0-16-7.164-16-16L47.98 192.1c0-8.836 7.164-16 16-16H160V128H63.99c-35.35 0-64 28.65-64 64l.0098 256C.002 483.3 28.66 512 64 512h192c35.2 0 64-28.8 64-64v-32h-47.1L272 448z"}))),"info"===n&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:c},(0,s.createElement)("path",{fill:o[i],d:"M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-144c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"}))),"info-open"===n&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:c},(0,s.createElement)("path",{fill:o[i],d:"M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 464c-114.7 0-208-93.31-208-208S141.3 48 256 48s208 93.31 208 208S370.7 464 256 464zM256 304c13.25 0 24-10.75 24-24v-128C280 138.8 269.3 128 256 128S232 138.8 232 152v128C232 293.3 242.8 304 256 304zM256 337.1c-17.36 0-31.44 14.08-31.44 31.44C224.6 385.9 238.6 400 256 400s31.44-14.08 31.44-31.44C287.4 351.2 273.4 337.1 256 337.1z"}))),"list"===n&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:c},(0,s.createElement)("path",{fill:o[i],d:"M184.1 38.2c9.9 8.9 10.7 24 1.8 33.9l-72 80c-4.4 4.9-10.6 7.8-17.2 7.9s-12.9-2.4-17.6-7L39 113c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l22.1 22.1 55.1-61.2c8.9-9.9 24-10.7 33.9-1.8zm0 160c9.9 8.9 10.7 24 1.8 33.9l-72 80c-4.4 4.9-10.6 7.8-17.2 7.9s-12.9-2.4-17.6-7L39 273c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l22.1 22.1 55.1-61.2c8.9-9.9 24-10.7 33.9-1.8zM256 96c0-17.7 14.3-32 32-32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H288c-17.7 0-32-14.3-32-32zm0 160c0-17.7 14.3-32 32-32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H288c-17.7 0-32-14.3-32-32zM192 416c0-17.7 14.3-32 32-32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H224c-17.7 0-32-14.3-32-32zM80 464c-26.5 0-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48z"}))),"empty"===n&&(m=(0,s.createElement)("svg",{height:c,width:c,"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 280.8 363.67"})),"external-link"===n&&(m=(0,s.createElement)("svg",{"aria-hidden":"true",focusable:"false",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:c},(0,s.createElement)("path",{fill:o[i],d:"M384 32c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96C0 60.7 28.7 32 64 32H384zM160 144c-13.3 0-24 10.7-24 24s10.7 24 24 24h94.1L119 327c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l135-135V328c0 13.3 10.7 24 24 24s24-10.7 24-24V168c0-13.3-10.7-24-24-24H160z"}))),"shield"===n&&(m=(0,s.createElement)("svg",{height:c,"aria-hidden":"true",focusable:"false",role:"img",id:"uuid-026a4e87-44db-4336-a398-3c29d25b7317",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 280.8 363.67"},(0,s.createElement)("path",{fill:"#f9c23e",d:"M280.8,62.4L140.5,0,0,62.2V213.3c0,10.7,1.6,21.3,4.9,31.5,9.5,29.9,28.2,52.8,54.4,69.5,26,16.6,52.4,32.4,78.6,48.6,2,1.2,3.4,.9,5.1-.2,19.9-12.3,39.8-24.5,59.6-36.8,12.6-7.8,25.5-15.1,36.5-25.1,26.4-24.2,41.4-53.6,41.5-89.9V62.4h.2Z"}),(0,s.createElement)("g",null,(0,s.createElement)("g",null,(0,s.createElement)("rect",{className:"uuid-57af18f1-eed9-4dfe-9c3e-67e3c55f9bf4",x:"155",y:"266.8",width:"77.6",height:"6"}),(0,s.createElement)("path",{fill:"#1d2327",d:"M224.4,204.5h-1.8v-10.1c0-15.9-12.9-28.8-28.8-28.8s-28.8,12.9-28.8,28.8v10.1h-1.8c-4.6,0-8.3,3.7-8.3,8.3v51.3h77.6v-51.3c0-4.6-3.7-8.3-8.3-8.3h.2Zm-45.3-10.1c0-8.1,6.6-14.7,14.7-14.7s14.7,6.6,14.7,14.7v10.1h-29.5v-10.1h.1Zm36.6,32.9l-20.7,20.2c-.2,.2-.3,.4-.5,.6l-2,2c-.2,.2-.4,.4-.6,.5l-3.8,3.8-4.5-4.3-2-2c-.2-.2-.4-.4-.5-.6l-9.1-9.1c-2.4-2.4-2.4-6.4,0-8.8l2-2c2.4-2.4,6.4-2.4,8.8,0l5.3,5.3,16.9-16.4c2.4-2.4,6.4-2.4,8.8,0l2,2c2.4,2.4,2.4,6.4,0,8.8h-.1Z"})),(0,s.createElement)("g",null,(0,s.createElement)("path",{fill:"#1d2327",d:"M125.2,192.3c-.5-2.9-.5-5.8-1-8.6-.5-2.4-2.6-4-4.8-3.9-2.3,0-4.2,1.9-4.7,4.3-.2,1,0,1.9,0,2.9,.8,14.6,7.2,26.3,18.2,35.7,2.2,1.9,4.5,3.5,6.9,4.8v-11.8c-7.4-5.8-12.9-14.1-14.6-23.3v-.1Z"}),(0,s.createElement)("path",{className:"uuid-57af18f1-eed9-4dfe-9c3e-67e3c55f9bf4",d:"M96.4,236.1c-13-15-20-32.3-19.5-52.3,.3-13.1,6.1-23.6,16.6-31.2,11.5-8.5,24.5-10.9,38.3-7.1,12.7,3.5,22,10.7,27.4,22,2.1-2.7,4.5-5.2,7.2-7.4-4-7-9.7-12.9-17-17.4-17-10.4-34.9-11.7-52.9-3.1-19,9.1-28.7,24.7-29.3,45.8,0,5.2,.5,10.2,1.4,15.2,3.4,19.4,13.4,35.2,27.2,48.9,1.1,1.1,2.5,1.6,4.1,1.4,1.8-.2,3.2-1.3,3.8-3,.6-1.8,.4-3.6-1-5.1-2.1-2.2-4.2-4.4-6.2-6.7h-.1Z"}),(0,s.createElement)("path",{className:"uuid-57af18f1-eed9-4dfe-9c3e-67e3c55f9bf4",d:"M68.1,89.4c1.1-.4,2.1-1,3.1-1.5,17.9-9.1,36.8-12.7,56.8-11.3,12.2,.8,23.9,3.8,35.1,8.7,3,1.3,5.9,2.8,8.9,4.1,2.7,1.1,5.3,0,6.4-2.4,1.1-2.3,0-5-2.3-6.3-11-5.7-22.4-10-34.6-12.3-4.2-.8-8.5-1.1-12.8-1.7h-17.1c-.3,0-.6,.2-.9,.2-11.2,.8-22,3.2-32.5,7.2-4.9,1.9-9.7,4.1-14.3,6.6-2.5,1.3-3.4,4.2-2.2,6.5,1.1,2.2,4,3.2,6.4,2.1v.1Z"}),(0,s.createElement)("path",{className:"uuid-57af18f1-eed9-4dfe-9c3e-67e3c55f9bf4",d:"M61.1,153.5c13.6-21.6,33.6-31.5,58.7-32.1h6c.8,0,1.6,.2,2.3,.3,13.4,1.7,25.5,6.6,35.9,15.4,5.8,4.9,10.5,10.3,14.1,16.2,3.1-1.2,6.4-2,9.8-2.5-4.7-8.7-11.3-16.3-19.6-22.7-19-14.6-40.5-19.5-64.1-15.1-14.3,2.7-26.9,9-37.7,18.8-10.4,9.5-17.8,20.9-21.2,34.6-2.8,11.3-2.6,22.7-.9,34.1,1.1,7,2.9,13.9,5.4,20.5,.9,2.3,3,3.7,5.2,3.5,2.1-.2,3.9-2,4.3-4.3,.2-1.1-.2-2.2-.6-3.2-4.3-11.9-6.3-24.1-5.6-36.7,.5-9.6,2.8-18.7,8-26.8h0Z"}),(0,s.createElement)("path",{className:"uuid-57af18f1-eed9-4dfe-9c3e-67e3c55f9bf4",d:"M139.8,240.6c-20.9-8.4-34.1-23.7-38.4-46.7-.8-4.3-1.4-8.7-.4-13,1.8-7.1,6.4-11.4,13.4-13.5,11.8-3.4,24.7,5.3,24.5,17.6,0,4.8,1.4,9.3,4,13.4,.3,.5,.6,.9,.9,1.3,1.6-2.4,3.7-4.6,6.1-6.2,0-.9,0-1.9,.2-2.8-.7-1.7-1.1-3.5-1.2-5.3-.3-6.1-1.6-11.9-5.5-16.8-6.8-8.8-15.9-12.4-27-11.5-11.3,.9-21.6,9.6-24.5,20.6-1.8,6.6-.9,13.3,.4,19.8,2.4,12.9,8.2,24,17.1,33.7,8.6,9.4,18.8,15.8,30.6,19.8v-10.4h-.2Z"}),(0,s.createElement)("path",{className:"uuid-57af18f1-eed9-4dfe-9c3e-67e3c55f9bf4",d:"M47.5,133.2c6.8-8.8,15-16,24.6-21.6,20.8-12,43.2-15.2,66.6-11,14.8,2.7,28.2,8.7,39.9,18.2,6.3,5,11.6,11,16.4,17.4,1.9,2.5,4.8,2.8,7,1.1,2.1-1.7,2.4-4.5,.6-7-5.9-8.2-12.8-15.3-20.9-21.3-18.3-13.6-39.1-19.6-61.7-20-6.3,0-12.5,.6-18.6,1.6-15.7,2.8-30.1,8.6-42.9,18.1-8.3,6.2-15.5,13.5-21.5,22-1.6,2.3-1.3,5.1,.7,6.7,2.1,1.7,4.9,1.5,6.8-.7,1-1.2,1.9-2.5,2.9-3.7l.1,.2Z"}))))),"file-search"===n&&(m=(0,s.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",height:c,fill:"none",viewBox:"0 0 384 512"},(0,s.createElement)("path",{d:"M374.6 150.6l-141.3-141.3C227.4 3.371 219.2 0 210.7 0H64C28.65 0 0 28.65 0 64l.0065 384c0 35.34 28.65 64 64 64H320c35.35 0 64-28.66 64-64V173.3C384 164.8 380.6 156.6 374.6 150.6zM224 22.63L361.4 160H248C234.8 160 224 149.2 224 136V22.63zM368 448c0 26.47-21.53 48-48 48H64c-26.47 0-48-21.53-48-48V64c0-26.47 21.53-48 48-48h144v120c0 22.06 17.94 40 40 40h120V448zM176 208c-53.02 0-96 42.98-96 96s42.98 96 96 96c23.62 0 44.96-8.859 61.68-23l68.66 68.66C307.9 447.2 309.9 448 312 448s4.094-.7813 5.656-2.344c3.125-3.125 3.125-8.188 0-11.31l-68.66-68.66C263.1 348.1 272 327.6 272 304C272 250.1 229 208 176 208zM176 384C131.9 384 96 348.1 96 304S131.9 224 176 224S256 259.9 256 304S220.1 384 176 384z"}))),"download"===n&&(m=(0,s.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",height:c,fill:"none",viewBox:"0 0 512 512"},(0,s.createElement)("path",{d:"M480 352h-88C387.6 352 384 355.6 384 360s3.582 8 8 8H480c8.822 0 16 7.178 16 16v96c0 8.822-7.178 16-16 16H32c-8.822 0-16-7.178-16-16v-96c0-8.822 7.178-16 16-16h88C124.4 368 128 364.4 128 360S124.4 352 120 352H32c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h448c17.67 0 32-14.33 32-32v-96C512 366.3 497.7 352 480 352zM464 432c0-17.6-14.4-32-32-32s-32 14.4-32 32c0 17.6 14.4 32 32 32S464 449.6 464 432zM416 432c0-8.822 7.178-16 16-16s16 7.178 16 16S440.8 448 432 448S416 440.8 416 432zM250.3 413.7c3.125 3.125 8.188 3.125 11.31 0l152-152C415.2 260.1 416 258.1 416 256s-.7813-4.094-2.344-5.656c-3.125-3.125-8.188-3.125-11.31 0L264 388.7V8C264 3.594 260.4 0 256 0S248 3.594 248 8v380.7L109.7 250.3c-3.125-3.125-8.188-3.125-11.31 0s-3.125 8.188 0 11.31L250.3 413.7z"}))),"satellite-dish"===n&&(m=(0,s.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",color:o[i],height:c,viewBox:"0 0 512 512"},(0,s.createElement)("path",{d:"M208 0c-8.8 0-16 7.2-16 16s7.2 16 16 16c150.2 0 272 121.8 272 272c0 8.8 7.2 16 16 16s16-7.2 16-16C512 136.1 375.9 0 208 0zm0 96c-8.8 0-16 7.2-16 16s7.2 16 16 16c97.2 0 176 78.8 176 176c0 8.8 7.2 16 16 16s16-7.2 16-16c0-114.9-93.1-208-208-208zM32 304c0-24.5 5-47.7 13.9-68.8L276.8 466.1C255.7 475 232.5 480 208 480c-97.2 0-176-78.8-176-176zm33.5-94.5c-14-14-37.3-12.1-45.7 5.8C7.1 242.2 0 272.3 0 304C0 418.9 93.1 512 208 512c31.7 0 61.8-7.1 88.7-19.8c17.9-8.4 19.8-31.8 5.8-45.7L195.3 339.3l24-24c6.3 3 13.3 4.7 20.7 4.7c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48c0 7.4 1.7 14.4 4.7 20.7l-24 24L65.5 209.5zM224 272a16 16 0 1 1 32 0 16 16 0 1 1 -32 0z"}))),"rotate-light"===n&&(m=(0,s.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",color:o[i],height:c,viewBox:"0 0 512 512"},(0,s.createElement)("path",{d:"M426.1 301.2C406.2 376.5 337.6 432 256 432c-51 0-96.9-21.7-129-56.3l41-41c5.1-5.1 8-12.1 8-19.3c0-15.1-12.2-27.3-27.3-27.3H48c-8.8 0-16 7.2-16 16V404.7C32 419.8 44.2 432 59.3 432c7.2 0 14.2-2.9 19.3-8l25.7-25.7C142.3 438.7 196.2 464 256 464c97.4 0 179.2-67 201.8-157.4c2.4-9.7-5.2-18.6-15.2-18.6c-7.8 0-14.5 5.6-16.5 13.2zM385 136.3l-41 41c-5.1 5.1-8 12.1-8 19.3c0 15.1 12.2 27.3 27.3 27.3H464c8.8 0 16-7.2 16-16V107.3C480 92.2 467.8 80 452.7 80c-7.2 0-14.2 2.9-19.3 8l-25.7 25.7C369.7 73.3 315.8 48 256 48C158.6 48 76.8 115 54.2 205.4c-2.4 9.7 5.2 18.6 15.2 18.6c7.8 0 14.5-5.6 16.5-13.2C105.8 135.5 174.4 80 256 80c51 0 96.9 21.7 129.1 56.3zM448 192H374.6L448 118.6V192zM64 320h73.4L64 393.4V320z"}))),"rotate-exclamation-light"===n&&(m=(0,s.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:c},(0,s.createElement)("defs",null,(0,s.createElement)("style",null,`\n .fa-secondary {\n opacity: 0.4;\n color: ${o[i]};\n }\n `)),(0,s.createElement)("path",{className:"fa-primary",d:"M280 152c0-13.3-10.7-24-24-24s-24 10.7-24 24V264c0 13.3 10.7 24 24 24s24-10.7 24-24V152zM256 384a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"}),(0,s.createElement)("path",{className:"fa-secondary",d:"M432 117.4C391 65.4 327.4 32 256 32C158.4 32 75.5 94.4 44.8 181.3c-5.9 16.7 2.8 34.9 19.5 40.8s34.9-2.8 40.8-19.5C127.1 140.5 186.4 96 256 96c52.3 0 98.8 25.1 128 64H352c-17.7 0-32 14.3-32 32s14.3 32 32 32h84.3c.5 0 1 0 1.5 0H464c17.7 0 32-14.3 32-32V80c0-17.7-14.3-32-32-32s-32 14.3-32 32v37.4zm35.2 213.2c5.9-16.7-2.8-34.9-19.5-40.8s-34.9 2.8-40.8 19.5C384.9 371.5 325.6 416 256 416c-52.3 0-98.8-25.1-128-64h32c17.7 0 32-14.3 32-32s-14.3-32-32-32H48c-17.7 0-32 14.3-32 32V432c0 17.7 14.3 32 32 32s32-14.3 32-32V394.6c41 52 104.6 85.4 176 85.4c97.6 0 180.5-62.4 211.2-149.3z"}))),"radar-duotone"===n&&(m=(0,s.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:c},(0,s.createElement)("defs",null,(0,s.createElement)("style",null,`\n .fa-secondary {\n color: ${o[i]} !important;\n } \n `)),(0,s.createElement)("path",{className:"fa-primary",d:"M497 49c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-182 182c-7.7-3.3-16.1-5.1-25-5.1c-35.3 0-64 28.7-64 64s28.7 64 64 64s64-28.7 64-64c0-8.9-1.8-17.3-5.1-25L497 49z"}),(0,s.createElement)("path",{className:"fa-secondary",d:"M350.9 127.2l-46.1 46.1c-14.3-8.4-31-13.3-48.8-13.3c-53 0-96 43-96 96s43 96 96 96s96-43 96-96h64c0 73.5-49.6 135.5-117.2 154.2C290.8 394.7 274.7 384 256 384s-34.8 10.7-42.8 26.2c-51.7-14.3-92.8-53.9-109.4-104.6c14.4-8.3 24.1-23.8 24.1-41.7c0-19.4-11.5-36.1-28-43.7C116.2 149.1 179.9 96 256 96c35.5 0 68.3 11.6 94.9 31.2zm22.8-22.8C341.2 79 300.4 64 256 64C163.1 64 85.7 129.9 67.9 217.6C47.2 222.9 32 241.7 32 264c0 23.8 17.3 43.6 40.1 47.4c19.3 64.3 71.5 114.4 137 130.9C213.8 463.8 233 480 256 480s42.2-16.2 46.9-37.8C386.3 421.3 448 345.9 448 256h64c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0c62.1 0 118.9 22.1 163.3 58.8l-45.5 45.5z"}))),"satellite-dish-duotone"===n&&(m=(0,s.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:c},(0,s.createElement)("defs",null,(0,s.createElement)("style",null,`\n .fa-secondary {\n color: ${o[i]} !important;\n } \n `)),(0,s.createElement)("path",{className:"fa-primary",d:"M60.6 220.6c-14.5-14.5-38.8-11.8-46.3 7.3C5.1 251.5 0 277.1 0 304C0 418.9 93.1 512 208 512c26.9 0 52.5-5.1 76.1-14.4c19-7.5 21.8-31.8 7.3-46.3L187.3 347.3l28.4-28.4c2.6 .7 5.4 1.1 8.3 1.1c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32c0 2.9 .4 5.6 1.1 8.3l-28.4 28.4L60.6 220.6z"}),(0,s.createElement)("path",{className:"fa-secondary",d:"M224 0c-17.7 0-32 14.3-32 32s14.3 32 32 32c123.7 0 224 100.3 224 224c0 17.7 14.3 32 32 32s32-14.3 32-32C512 128.9 383.1 0 224 0zm0 96c-17.7 0-32 14.3-32 32s14.3 32 32 32c70.7 0 128 57.3 128 128c0 17.7 14.3 32 32 32s32-14.3 32-32c0-106-86-192-192-192z"}))),"spinner"===n&&(m=(0,s.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",width:"20",height:"20"},(0,s.createElement)("defs",null,(0,s.createElement)("style",null,"\n .fa-secondary {\n opacity: 0.4;\n }\n ")),(0,s.createElement)("path",{className:"fa-primary",d:"M304 48a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM96 256A48 48 0 1 0 0 256a48 48 0 1 0 96 0zM75 142.9A48 48 0 1 0 142.9 75 48 48 0 1 0 75 142.9z"}),(0,s.createElement)("path",{className:"fa-secondary",d:"M369.1 75A48 48 0 1 1 437 142.9 48 48 0 1 1 369.1 75zM416 256a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zM208 464a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zM75 369.1A48 48 0 1 1 142.9 437 48 48 0 1 1 75 369.1zm294.2 0A48 48 0 1 1 437 437a48 48 0 1 1 -67.9-67.9z"}))),(0,s.createElement)("div",{...e,ref:t},m)})),n=({name:e,color:t,size:l,tooltip:n})=>{const i=e||"bullet",c=t||"black";let o=l||15,m=n?"tooltip-":"",d=Math.floor(1e9*Math.random());return n?(0,s.createElement)("div",{className:"rsssl-"+m+"icon rsssl-icon-"+i+" rsssl-"+c},(0,s.createElement)(r,{"data-for":".rsssl-"+d,name:i,color:c,size:o,id:d,className:"rsssl-"+d,"data-tooltip-delay-hide":200}),(0,s.createElement)(a.m_,{style:{zIndex:99},id:d,place:"bottom",anchorSelect:".rsssl-"+d,content:n})):(0,s.createElement)("div",{className:"rsssl-"+m+"icon rsssl-icon-"+i+" rsssl-"+c},(0,s.createElement)(r,{name:i,color:c,size:o}))}}}]);