403Webshell
Server IP : 172.67.158.161  /  Your IP : 3.12.71.9
Web Server : LiteSpeed
System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : giankuin ( 1871)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/giankuin/dietcontrungnhanh.com/wp-content/plugins/ithemes-security-pro/dist/import-export/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/giankuin/dietcontrungnhanh.com/wp-content/plugins/ithemes-security-pro/dist/import-export/ui.min.js
(globalThis.itsecWebpackJsonP=globalThis.itsecWebpackJsonP||[]).push([[8124],{33590:(e,t,n)=>{"use strict";n.d(t,{bB:()=>z,ZP:()=>X});var a={};n.r(a),n.d(a,{BaseInput:()=>d,CheckboxWidget:()=>p,CheckboxesWidget:()=>h,IncludeExcludeWidget:()=>F,RadioWidget:()=>O,SelectWidget:()=>v,TextareaWidget:()=>_,ToggleWidget:()=>m});var r={};n.r(r),n.d(r,{EntitySelectField:()=>Z,FileTreeField:()=>M,TextareaListField:()=>q,TitleField:()=>j});var l=n(92819),i=n(87462),o=n(6293),s=n(64893),c=n(36179);const d=function(e){const{id:t,label:n,value:a,readonly:r,disabled:d,onBlur:u,onFocus:m,options:p,onChange:h,schema:f,uiSchema:g={},...b}=e;p.inputType?b.type=p.inputType:b.type||("number"===f.type?(b.type="number",b.step="any"):"integer"===f.type?(b.type="number",b.step="1"):b.type="text"),p.autocomplete&&(b.autoComplete=p.autocomplete),f.multipleOf&&(b.step=f.multipleOf),void 0!==f.minimum&&(b.min=f.minimum),void 0!==f.maximum&&(b.max=f.maximum);const x=g["ui:description"]||f.description;return(0,o.createElement)(s.TextControl,(0,i.Z)({label:n,help:(0,o.createElement)(c.Lu,{noWrap:!0,content:x}),readOnly:r,disabled:d,value:a||""},(0,l.omit)(b,["autofocus","formContext","registry","rawErrors"]),{onChange:e=>h(""===e?p.emptyValue:e),onBlur:u&&(e=>u(b.id,e.target.value)),onFocus:m&&(e=>m(b.id,e.target.value))}))};var u=n(54639);function m({schema:e,uiSchema:t={},id:n,value:a,disabled:r,readonly:l,label:i,onBlur:d,onFocus:m,onChange:p}){const h=u.P6.schemaRequiresTrueValue(e),f=t["ui:description"]||e.description;return(0,o.createElement)(s.ToggleControl,{checked:a||!1,onChange:p,required:h,disabled:r,readOnly:l,label:i,help:(0,o.createElement)(c.Lu,{noWrap:!0,content:f}),onBlur:d&&(e=>d(n,e.target.checked)),onFocus:m&&(e=>m(n,e.target.checked))})}function p({schema:e,uiSchema:t={},id:n,value:a,disabled:r,readonly:l,label:i,onBlur:d,onFocus:m,onChange:p}){const h=u.P6.schemaRequiresTrueValue(e),f=t["ui:description"]||e.description;return(0,o.createElement)(s.CheckboxControl,{checked:a||!1,onChange:p,required:h,disabled:r,readOnly:l,label:i,help:(0,o.createElement)(c.Lu,{noWrap:!0,content:f}),onBlur:d&&(e=>d(n,e.target.checked)),onFocus:m&&(e=>m(n,e.target.checked))})}function h(e){const{disabled:t,options:n,value:a,readonly:r,onChange:l,label:i,schema:s,uiSchema:d={}}=e,{enumOptions:u,enumDisabled:m=[],enumDescriptions:p=[],style:h}=n,f=d["ui:description"]||s.description,g=u.map(((e,t)=>({...e,disabled:m.includes(e.value),help:p[t]&&(0,o.createElement)(c.Lu,{noWrap:!0,content:p[t]})})));return(0,o.createElement)(c.w2,{value:a||[],onChange:l,options:g,label:i||d["ui:title"]||s.title,help:(0,o.createElement)(c.Lu,{noWrap:!0,content:f}),readOnly:r,disabled:t,style:h})}const{asNumber:f,guessType:g}=u.P6,b=new Set(["number","integer"]);function x(e,t){const{type:n,items:a}=e;if(""!==t){if("array"===n&&a&&b.has(a.type))return t.map(f);if("boolean"===n)return"true"===t;if("number"===n)return f(t);if(e.enum){if(e.enum.every((e=>"number"===g(e))))return f(t);if(e.enum.every((e=>"boolean"===g(e))))return"true"===t}return t}}function E(e,t){return t?[].slice.call(e.target.options).filter((e=>e.selected)).map((e=>e.value)):e.target.value}const v=function(e){const{schema:t,uiSchema:n={},id:a,options:r,value:l,label:i,required:d,disabled:u,readonly:m,multiple:p,onChange:h,onBlur:f,onFocus:g,placeholder:b}=e,{enumOptions:v,enumDisabled:y}=r,_=p?[]:"",C=[];p||void 0!==t.default||C.push({value:"",label:b});for(const e of v)C.push({...e,disabled:y&&y.includes(e.value)});const w=n["ui:description"]||t.description;return(0,o.createElement)(s.SelectControl,{multiple:p,options:C,value:void 0===l?_:l,label:i,help:(0,o.createElement)(c.Lu,{noWrap:!0,content:w}),required:d,disabled:u,readOnly:m,onChange:e=>h(x(t,e)),onBlur:f&&(e=>f(a,x(t,E(e,p)))),onFocus:g&&(e=>g(a,x(t,E(e,p))))})},{getUiOptions:y}=u.P6;function _({schema:e,uiSchema:t={},id:n,value:a,disabled:r,readonly:d,label:u,onBlur:m,onFocus:p,onChange:h,...f}){const g=y(t),{rows:b,placeholder:x,description:E=e.description}=g;return(0,o.createElement)(s.TextareaControl,(0,i.Z)({value:void 0===a?"":a,onChange:h,disabled:r,readOnly:d,label:u,help:(0,o.createElement)(c.Lu,{noWrap:!0,content:E}),onBlur:m&&(e=>m(n,e.target.value)),onFocus:p&&(e=>p(n,e.target.value)),rows:b,placeholder:x},(0,l.without)(f,["autofocus","formContext","registry","rawErrors"])))}const{asNumber:C,guessType:w}=u.P6,N=new Set(["number","integer"]);function L(e,t){const{type:n,items:a}=e;if(""!==t){if("array"===n&&a&&N.has(a.type))return t.map(C);if("boolean"===n)return"true"===t;if("number"===n)return C(t);if(e.enum){if(e.enum.every((e=>"number"===w(e))))return C(t);if(e.enum.every((e=>"boolean"===w(e))))return"true"===t}return t}}function O({schema:e,uiSchema:t={},id:n,options:a,value:r,label:l,required:i,disabled:d,readonly:u,onChange:m,onBlur:p,onFocus:h}){const{enumOptions:f}=a,g=t["ui:description"]||e.description;return(0,o.createElement)(s.RadioControl,{selected:r,options:f,label:l,help:(0,o.createElement)(c.Lu,{noWrap:!0,content:g}),required:i,disabled:d,readOnly:u,onChange:t=>m(L(e,t)),onBlur:p&&(t=>p(n,L(e,t.target.value))),onFocus:h&&(t=>h(n,L(e,t.target.value)))})}var k=n(95122),S=n(82839),I=n(81019);function F({id:e,disabled:t,options:n,value:a,onChange:r,schema:i,autofocus:c,readonly:d}){const{enumOptions:u,enumDisabled:m=[],excludeList:{title:p=(0,k.__)("Excluded","it-l10n-ithemes-security-pro"),description:h=(0,k.__)("The list of items to exclude from the selection.","it-l10n-ithemes-security-pro"),button:f=(0,k.__)("Include","it-l10n-ithemes-security-pro")}={},includeList:{title:g=(0,k.__)("Included","it-l10n-ithemes-security-pro"),description:b=(0,k.__)("The list of items to include in the selection.","it-l10n-ithemes-security-pro"),button:x=(0,k.__)("Exclude","it-l10n-ithemes-security-pro")}={},title:E=i.title,description:v=i.description}=n;(0,o.useEffect)((()=>{const e=u.map((e=>e.value)),t=a.filter((t=>e.includes(t)));t.length!==a.length&&r(t)}),[a,u,r]);const[y,_]=(0,l.partition)(u,(e=>!a.includes(e.value)));return(0,o.createElement)("div",{className:"itsec-rjsf-include-exclude-widget"},E&&(0,o.createElement)(s.BaseControl.VisualLabel,null,E),v&&(0,o.createElement)("p",null,v),(0,o.createElement)("div",{className:"itsec-rjsf-include-exclude-widget__sides",id:e},(0,o.createElement)(T,{id:e+"__exclude",options:y,label:p,description:h,button:f,disabled:t||d,disabledOptions:m,autofocus:c,onToggle:e=>{(0,S.speak)((0,k.sprintf)((0,k.__)("Moved %1$s to %2$s.","it-l10n-ithemes-security-pro"),(0,l.find)(y,{value:e}).label,g)),r([...a,e])}}),(0,o.createElement)(T,{id:e+"__include",options:_,label:g,description:b,button:x,disabled:t||d,disabledOptions:m,onToggle:e=>{(0,S.speak)((0,k.sprintf)((0,k.__)("Moved %1$s to %2$s.","it-l10n-ithemes-security-pro"),(0,l.find)(_,{value:e}).label,p)),r(a.filter((t=>t!==e)))}})))}function T({id:e,label:t,description:n,options:a,button:r,onToggle:i,disabled:d,disabledOptions:u=[],autofocus:m}){const p=e+"__option__",[h,f]=(0,o.useState)("");return h&&!(0,l.find)(a,{value:h})&&f(""),(0,o.createElement)("div",{className:"itsec-rjsf-include-exclude-widget__side"},(0,o.createElement)(s.BaseControl,{id:e,help:(0,o.createElement)(c.Lu,{noWrap:!0,content:n}),className:"itsec-rjsf-include-exclude-widget__listbox"},(0,o.createElement)("span",{className:"components-base-control__label",id:e+"__label"},t),(0,o.createElement)(c.T2,{role:"listbox",id:e,active:h&&p+h,"aria-labelledby":e+"__label","aria-describedby":n&&e+"__help",onNavigate:e=>f(e.substr(p.length)),onKeyDown:({keyCode:e})=>{if(!h||e!==I.DELETE&&e!==I.BACKSPACE)return;const t=(0,l.findIndex)(a,{value:h}),n=t+1<a.length?t+1:t-1;i(h),f(a[n]?.value||"")},autoFocus:m},a.map((e=>(0,o.createElement)("div",{id:p+e.value,key:e.value,role:d||u.includes(e.value)?"presentation":"option","aria-selected":e.value===h||void 0,onClick:d||u.includes(e.value)?void 0:()=>f(e.value)},e.label))))),(0,o.createElement)(s.Button,{variant:"secondary",disabled:!h,className:"itsec-rjsf-include-exclude-widget__move",onClick:()=>i(h),"aria-keyshortcuts":"Delete Backspace"},r))}const B="*";function j(e){const{id:t,title:n,required:a}=e;return(0,o.createElement)("span",{className:"itsec-rjsf-title-field",id:t},n,a&&(0,o.createElement)("span",{className:"required"},B))}var D=n(47959);const{getUiOptions:A}=u.P6;function Z({uiSchema:e,schema:t,idSchema:n,name:a,formData:r,disabled:l,readonly:i,onChange:s}){const c=A(e);return(0,o.createElement)(D.fv,{id:n.$id,value:r,disabled:l,readonly:i,onChange:s,isMultiple:"array"===t.type,label:e["ui:title"]||t.title||a,description:e["ui:description"]||t.description,path:c.path,query:c.query,labelAttr:c.labelAttr,idAttr:c.idAttr,searchArg:c.searchArg})}const{getUiOptions:P}=u.P6;function q({uiSchema:e,schema:t,name:n,formData:a,disabled:r,readonly:l,onChange:i}){const s=e["ui:title"]||t.title||n,d=e["ui:description"]||t.description,u=P(e),{rows:m,placeholder:p}=u;return(0,o.createElement)(c.yA,{label:s,help:(0,o.createElement)(c.Lu,{noWrap:!0,content:d}),disabled:r,readonly:l,rows:m,value:a,onChange:i,placeholder:p})}var W=n(87514),$=n.n(W),R=n(73470);function M({idSchema:e,formData:t,onChange:n,uiSchema:a,schema:r,name:i,disabled:d,readonly:u,autofocus:m}){const p=e.$id,h=a["ui:title"]||r.title||i,f=a["ui:description"]||r.description,[g,b]=(0,o.useState)([]),[x,E]=(0,o.useState)("");(0,o.useEffect)((()=>{$()({path:(0,R.addQueryArgs)("/ithemes-security/rpc/file-change/file-tree",{directory:"/"})}).then(b)}),[]);const v=e=>{n(t.includes(e)?t.filter((t=>t!==e)):[...t,e])};return(0,o.createElement)("div",{className:"itsec-rjsf-file-tree"},f&&(0,o.createElement)(c.Lu,{content:f,tagName:"p"}),(0,o.createElement)("div",{className:"itsec-rjsf-file-tree__controls"},(0,o.createElement)("div",null,(0,o.createElement)(c.mp,{tree:g,id:p,label:(0,k.__)("File Selector","it-l10n-ithemes-security-pro"),active:x,setActive:E,onActivate:v,onLoad:async e=>{const t=await $()({path:(0,R.addQueryArgs)("/ithemes-security/rpc/file-change/file-tree",{directory:e})}),n=(0,l.cloneDeep)(g);(0,c.in)(n,(n=>{if(n.id===e)return n.children=t,c.in.halt})),b(n)}}),(0,o.createElement)(s.Button,{variant:"secondary",disabled:!x,className:"itsec-rjsf-file-tree__select",onClick:()=>v(x),"aria-keyshortcuts":"Enter Space"},(0,k.__)("Select","it-l10n-ithemes-security-pro"))),(0,o.createElement)(c.yA,{value:t,onChange:n,className:"itsec-rjsf-file-tree__list",label:h,disabled:d,readonly:u,autoFocus:m})))}function z({name:e,...t}){return(0,o.createElement)(s.Fill,(0,i.Z)({name:`RjsfField${e}`},t))}function V({name:e,...t}){return(0,o.createElement)(s.Slot,(0,i.Z)({name:`RjsfField${e}`},t))}const{ADDITIONAL_PROPERTY_FLAG:K,getUiOptions:H}=u.P6;function G(e){const{id:t,classNames:n,disabled:a,label:r,onKeyChange:l,onDropPropertyClick:i,readonly:c,required:d,schema:u,uiSchema:m}=e,p=`${r} Key`,h=u.hasOwnProperty(K),{removable:f}=H(m);return h&&!1!==f?(0,o.createElement)("div",{className:n},(0,o.createElement)("div",{className:"row"},(0,o.createElement)("div",{className:"col-xs-5 form-additional"},(0,o.createElement)(s.TextControl,{label:p,required:d,id:`${t}-key`,onBlur:e=>l(e.target.value)})),(0,o.createElement)("div",{className:"form-additional form-group col-xs-5"},e.children),(0,o.createElement)("div",{className:"col-xs-2"},(0,o.createElement)(s.Button,{icon:"no-alt",isDestructive:!0,disabled:a||c,onClick:i(r)})))):(0,o.createElement)("div",{className:n},e.children)}const{canExpand:U}=u.P6;function J({className:e,onClick:t,disabled:n}){return(0,o.createElement)("div",{className:"row"},(0,o.createElement)("p",{className:`col-xs-3 col-xs-offset-9 text-right ${e}`},(0,o.createElement)(s.Button,{icon:"plus-alt2",className:"btn-add col-xs-12","aria-label":(0,k.__)("Add","it-l10n-ithemes-security-pro"),tabIndex:"0",onClick:t,disabled:n})))}const Q={FieldTemplate:function(e){const{children:t,errors:n,hidden:a,schema:r,uiSchema:l,formContext:i,onChange:c}=e;if(a)return null;const{resettable:d}=H(l);return(0,o.createElement)(G,e,t,(0,o.createElement)(V,{name:e.id,fillProps:e}),d&&(0,o.createElement)(s.Button,{className:"itsec-rjsf-reset-field",variant:"secondary",onClick:()=>c(r.default)},(0,k.__)("Restore Default","it-l10n-ithemes-security-pro")),!0!==i?.disableInlineErrors&&n)},ObjectFieldTemplate:function(e){const{TitleField:t,DescriptionField:n,schema:a,uiSchema:r,properties:l}=e;if(!l.length)return null;const i=(r["ui:sections"]||[]).reduce(((e,t)=>({...e,[t.fields.find((e=>!!a.properties[e]))]:t})),{});return(0,o.createElement)("div",{className:"itsec-rjsf-object-fieldset",id:e.idSchema.$id},(r["ui:title"]||e.title)&&(0,o.createElement)(t,{id:`${e.idSchema.$id}__title`,title:e.title||r["ui:title"],required:e.required,formContext:e.formContext}),e.description&&(0,o.createElement)(n,{id:`${e.idSchema.$id}__description`,description:(0,o.createElement)(c.Lu,{noWrap:!0,content:e.description}),formContext:e.formContext}),l.map((({name:e,content:t})=>i[e]?(0,o.createElement)(o.Fragment,{key:e},(0,o.createElement)("h3",{className:"itsec-rjsf-section-title"},i[e].title),i[e].description&&(0,o.createElement)("p",{className:"itsec-rjsf-section-description"},(0,o.createElement)(c.Lu,{noWrap:!0,content:i[e].description})),t):t)),U(a,r,e.formData)&&(0,o.createElement)(J,{className:"object-property-expand",onClick:e.onAddClick(a),disabled:e.disabled||e.readonly}))},ErrorList:function({errors:e}){return(0,o.createElement)(c.KM,{errors:e.map((({stack:e}={})=>e)).filter((e=>!!e))})},widgets:a,fields:r},X=Q},25858:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ExportForm:()=>D,ExportsList:()=>f});var a=n(52117),r=n(6293),l=n(92819),i=n(29508),o=n(95122),s=n(64893),c=n(82521),d=n(13173);const u=(0,a.Z)("td",{target:"e1vexvqy2"})({name:"12x64ox",styles:"width:20%"}),m=(0,a.Z)("div",{target:"e1vexvqy1"})({name:"r2g86h",styles:"display:flex;align-items:center;gap:1rem"}),p=(0,a.Z)(s.CheckboxControl,{target:"e1vexvqy0"})({name:"ob9sfu",styles:".components-base-control__field{margin-bottom:0;}"});function h({exports:e,onItemChange:t,selected:n,sources:a}){return e.length?e.map((e=>(0,r.createElement)("tr",{key:e.id},(0,r.createElement)(u,null,(0,r.createElement)(m,null,(0,r.createElement)(p,{label:(0,r.createElement)(s.VisuallyHidden,null,(0,o.sprintf)((0,o.__)("Select %s","it-l10n-ithemes-security-pro"),e.metadata.title)),checked:n.includes(e.id),onChange:t(e.id)}),(0,r.createElement)(d.xv,{text:e.metadata.title}))),(0,r.createElement)(u,null,(0,c.dateI18n)("M j, Y",e.metadata.exported_at)),(0,r.createElement)("td",null,Object.keys(e.sources).map((e=>(0,l.find)(a,{slug:e})?.title||e)).join(", "))))):(0,r.createElement)("tr",null,(0,r.createElement)("td",{colSpan:3},(0,o.__)("No exports found.","it-l10n-ithemes-security-pro")))}function f({exports:e,sources:t,singleSelection:n,selected:a,addSelected:c,removeSelected:f,setSelected:g,isLoading:b=!1,className:x}){return(0,r.createElement)("table",{className:(0,i.cx)("itsec-exports-list",x)},(0,r.createElement)("thead",null,(0,r.createElement)("tr",null,(0,r.createElement)(u,{as:"th"},(0,r.createElement)(m,null,!n&&(0,r.createElement)(p,{label:(0,r.createElement)(s.VisuallyHidden,null,(0,o.__)("Select All Exports","it-l10n-ithemes-security-pro")," "),checked:e.length>0&&e.every((e=>a.includes(e.id))),onChange:t=>g(t?(0,l.map)(e,"id"):[])}),(0,r.createElement)(d.xv,{textTransform:"uppercase",text:(0,o.__)("Name","it-l10n-ithemes-security-pro")}))),(0,r.createElement)(u,{as:"th"},(0,o.__)("Date","it-l10n-ithemes-security-pro")),(0,r.createElement)("th",null,(0,o.__)("Content","it-l10n-ithemes-security-pro")))),(0,r.createElement)("tbody",null,b?(0,r.createElement)("tr",null,(0,r.createElement)("td",{colSpan:3},(0,o.__)("Loading exports…","it-l10n-ithemes-security-pro"))):(0,r.createElement)(h,{exports:e,onItemChange:e=>t=>{n?g(t?[e]:[]):t?c(e):f(e)},selected:a,sources:t})))}var g=n(87462),b=n(94184),x=n.n(b),E=n(36058),v=n(96015),y=n(83904),_=n(65813),C=n(54639),w=n(33590);const N=(0,a.Z)(d.X6,{target:"eeyxbhf8"})("margin:1rem 0;@media screen and (min-width: ",(({theme:e})=>e.breaks.medium),"px){margin:2rem 0 1rem;}"),L=(0,a.Z)(s.Card,{target:"eeyxbhf7"})({name:"1h026t7",styles:"margin-bottom:1.5rem"}),O=(0,a.Z)(s.CardHeader,{target:"eeyxbhf6"})("padding:0.75rem 1.5rem!important;flex-direction:column!important;justify-content:flex-start!important;align-items:flex-start!important;gap:1rem;color:",(({theme:e})=>e.colors.text.dark),';& .components-base-control__field{display:flex;align-items:center;margin-bottom:0;& input[type="text"]{margin-left:12px;}& label{white-space:nowrap;margin-bottom:0;}}@media screen and (min-width: ',(({theme:e})=>e.breaks.small),"px){flex-direction:row!important;align-items:center!important;gap:2rem!important;}"),k=(0,a.Z)(s.CardBody,{target:"eeyxbhf5"})({name:"kcagvw",styles:"display:flex;flex-direction:column;padding:0 1.25rem 1rem!important"}),S=(0,a.Z)(s.Card,{target:"eeyxbhf4"})({name:"tgad8j",styles:"margin:0.75rem 0"}),I=(0,a.Z)(s.Icon,{target:"eeyxbhf3"})("fill:",(({theme:e})=>e.colors.text.muted),";"),F=(0,a.Z)(s.CheckboxControl,{target:"eeyxbhf2"})("& .components-checkbox-control__label{color:",(({theme:e})=>e.colors.text.dark),";}"),T=(0,a.Z)(d.xv,{target:"eeyxbhf1"})({name:"12q2fk5",styles:"margin-left:2rem"}),B=(0,C.Zz)(w.ZP),j=(0,a.Z)(B,{target:"eeyxbhf0"})("display:",(({isExpanded:e})=>!e&&"none"),";margin:0.5rem 1.75rem 0;max-width:820px;padding:0.875rem 0;border-top:1px solid ",(({theme:e})=>e.colors.border.normal),";color:",(({theme:e})=>e.colors.text.dark),";& p{color:",(({theme:e})=>e.colors.text.muted),";font-size:0.75rem;}@media screen and (min-width: ",(({theme:e})=>e.breaks.medium),"px){& .itsec-components-checkbox-group-control__options{display:flex;flex-direction:column;flex-wrap:wrap;max-height:300px;}}");function D({sources:e,isCreating:t,createExport:n,titleRequired:a,children:i}){const[c,u]=(0,r.useState)(""),[m,p]=(0,r.useState)({}),[h,f,b,x]=(0,_.$X)((0,l.map)(e,"slug"));return(0,r.useEffect)((()=>x((0,l.map)(e,"slug"))),[e,x]),(0,r.createElement)(React.Fragment,null,(0,r.createElement)(N,{level:2,size:d.yH.LARGE,variant:d.rK.DARK,weight:600,text:(0,o.__)("Create an export","it-l10n-ithemes-security-pro")}),(0,r.createElement)("form",{onSubmit:e=>{e.preventDefault(),n({title:c,sources:h,options:m})}},(0,r.createElement)(L,null,(0,r.createElement)(O,null,(0,r.createElement)(s.TextControl,{label:(0,o.__)("Export Name","it-l10n-ithemes-security-pro"),className:"itsec-export-form__name",value:c,onChange:u,required:a}),(0,r.createElement)(s.CheckboxControl,{label:(0,o.__)("Include All Data","it-l10n-ithemes-security-pro"),className:"itsec-export-form__include-all",checked:e.every((e=>h.includes(e.slug))),onChange:t=>x(t?(0,l.map)(e,"slug"):[])})),(0,r.createElement)(k,null,e.map(((e,...t)=>(0,r.createElement)(A,(0,g.Z)({key:e.slug,source:e,options:m,setOptions:p,isIncluded:h.includes(e.slug),addSource:f,removeSource:b},t)))))),(0,r.createElement)(s.Flex,{justify:"end"},i,(0,r.createElement)(d.zx,{variant:"primary",type:"submit",disabled:!h.length||t,isBusy:t},(0,o.__)("Create","it-l10n-ithemes-security-pro")))))}function A({source:e,options:t,setOptions:n,isIncluded:a,addSource:l,removeSource:i,...c}){const[u,m]=(0,r.useState)(!1);return(0,r.createElement)(S,c,(0,r.createElement)(s.CardHeader,null,(0,r.createElement)(d.xv,{variant:d.rK.DARK,weight:600,text:e.title}),(0,r.createElement)(s.Tooltip,{text:(0,o.__)("Helpful text","it-l10n-ithemes-security-pro")},(0,r.createElement)("span",null,(0,r.createElement)(I,{icon:E.Z})))),(0,r.createElement)(s.CardBody,null,(0,r.createElement)("div",{style:{display:"flex",justifyContent:"space-between"}},(0,r.createElement)("div",null,(0,r.createElement)(F,{label:(0,o.sprintf)((0,o.__)("Include “%s” in Export","it-l10n-ithemes-security-pro"),e.title),checked:a,onChange:t=>t?l(e.slug):i(e.slug)}),(0,r.createElement)(T,{as:"p",size:d.yH.SMALL,variant:d.rK.MUTED,text:e.description})),e.options&&a&&(0,r.createElement)(d.zx,{"aria-controls":`export-source${e.slug}`,"aria-expanded":u,icon:u?v.Z:y.Z,onClick:()=>m(!u),variant:"tertiary"})),(0,r.createElement)("div",null,e.options&&a&&(0,r.createElement)(Z,{isExpanded:u,id:`export-source${e.slug}`,source:e,options:t,setOptions:n}))))}function Z({isExpanded:e,id:t,source:a,options:l,setOptions:i}){return(0,r.createElement)(j,{tagName:"div",className:x()("rjsf","itsec-export-form__options-form",`itsec-export-form__options-form--${a.slug}`),additionalMetaSchemas:[n(27171)],schema:a.options,uiSchema:a.options.uiSchema,idPrefix:`itsec_${a.slug}`,formData:l[a.slug],id:t,onChange:e=>{i({...l,[a.slug]:e.formData})},isExpanded:e},(0,r.createElement)(React.Fragment,null))}n.p=window.itsecWebpackPublicPath},83904:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var a=n(6293),r=n(14776);const l=(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)(r.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}))},96015:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var a=n(6293),r=n(14776);const l=(0,a.createElement)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)(r.Path,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"}))},36058:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var a=n(6293),r=n(14776);const l=(0,a.createElement)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(r.Path,{d:"M12 4.75a7.25 7.25 0 100 14.5 7.25 7.25 0 000-14.5zM3.25 12a8.75 8.75 0 1117.5 0 8.75 8.75 0 01-17.5 0zM12 8.75a1.5 1.5 0 01.167 2.99c-.465.052-.917.44-.917 1.01V14h1.5v-.845A3 3 0 109 10.25h1.5a1.5 1.5 0 011.5-1.5zM11.25 15v1.5h1.5V15h-1.5z"}))},31600:e=>{e.exports=function(){return this.itsec.packages.data}()},82839:e=>{e.exports=function(){return this.wp.a11y}()},87514:e=>{e.exports=function(){return this.wp.apiFetch}()},64893:e=>{e.exports=function(){return this.wp.components}()},9576:e=>{e.exports=function(){return this.wp.compose}()},48015:e=>{e.exports=function(){return this.wp.data}()},82521:e=>{e.exports=function(){return this.wp.date}()},6293:e=>{e.exports=function(){return this.wp.element}()},95122:e=>{e.exports=function(){return this.wp.i18n}()},81834:e=>{e.exports=function(){return this.wp.isShallowEqual}()},81019:e=>{e.exports=function(){return this.wp.keycodes}()},14776:e=>{e.exports=function(){return this.wp.primitives}()},73470:e=>{e.exports=function(){return this.wp.url}()},99196:e=>{"use strict";e.exports=window.React},91850:e=>{"use strict";e.exports=window.ReactDOM},92819:e=>{"use strict";e.exports=window.lodash},76292:e=>{"use strict";e.exports=window.moment}},e=>{e.O(0,[7271,3173,5307,5257,6364,2704,1511,976,7959,6179],(()=>(25858,e(e.s=25858))));var t=e.O();((window.itsec=window.itsec||{})["import-export"]=window.itsec["import-export"]||{}).ui=t}]);

Youez - 2016 - github.com/yon3zu
LinuXploit