PageSourceSearch

https://diariodecuba.net/cp/javascript/views/admin/setup/index.js?35492a17d8491d45c58b

js diariodecuba.net collected 2026-10-03 22:36:17 UTC 7,774 bytes, 2 lines download raw bytes

1(globalThis.webpackChunkPlesk=globalThis.webpackChunkPlesk||[]).push([["views/admin/setup/index"],{1550(e,n,i){"use strict";i.r(n),i.d(n,{default:()=>m,withInitLayout:()=>p});var t=i(396),a=i(787),s=i.n(a),o=i(397),r=i(95),c=i(1168),l=i(804);const d=r.Locale.getTranslate("components.shortcuts"),u=({banner:e,children:n})=>((0,t.useLayoutEffect)(()=>{(0,r.getComponent)("asyncProgressBarWrapper")?.hide()},[]),(0,t.jsxs)("div",{className:"init-page",children:[(0,t.jsx)(l.default,{layoutType:"simplified"}),(0,t.jsx)(o.Layout,{type:"simplified",className:"init-page__inner",header:(0,t.jsxs)("div",{className:"init-page-header",children:[(0,t.jsx)("div",{className:"init-page-header__brand",children:(0,t.jsx)(c.default,{})}),(0,t.jsx)("div",{className:"init-page-header__actions",children:(0,t.jsxs)("a",{className:"init-page-header__action",href:"/logout.php","data-type":"link-logout",children:[(0,t.jsx)("span",{className:"icon",children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:(0,t.jsx)("path",{fill:"currentColor",d:"M13,16H6v3.573c0,0.078-0.045,0.148-0.115,0.181s-0.153,0.022-0.213-0.027l-4.75-3.958 c-0.228-0.19-0.36-0.471-0.36-0.768c0-0.297,0.132-0.578,0.36-0.768l4.75-3.958c0.06-0.05,0.143-0.06,0.213-0.028 C5.955,10.279,6,10.349,6,10.427V14h7c0.552,0,1,0.448,1,1C14,15.552,13.552,16,13,16z M32,2v21.13c0,0.538-0.288,1.035-0.756,1.302 l-11,6.286c-0.231,0.132-0.487,0.198-0.744,0.198c-0.26,0-0.52-0.068-0.753-0.203C18.285,30.444,18,29.95,18,29.415V26h-4 c-1.105,0-2-0.895-2-2v-3.5c0-0.276,0.224-0.5,0.5-0.5h1c0.276,0,0.5,0.224,0.5,0.5V24h4V8.87c0-0.538,0.288-1.035,0.756-1.302 L28.5,2H14v7.5c0,0.276-0.224,0.5-0.5,0.5h-1C12.224,10,12,9.776,12,9.5V2c0-1.105,0.895-2,2-2h16C31.105,0,32,0.895,32,2z  M30,3.446L20,9.161V24v2v2.554l10-5.714V3.446z"})})}),(0,t.jsx)(d,{content:"logOut"})]})})]}),contentAddon:e?(0,t.jsx)("div",{className:"init-page__banner",children:(0,t.jsx)("img",{className:"init-page__banner-image",src:e,alt:""})}):null,children:(0,t.jsx)("div",{id:"main",className:"init-page__content",children:n})})]}));u.propTypes={children:s().any,banner:s().any};const p=(e,{banner:n})=>{const i=i=>(0,t.jsx)(u,{banner:n,children:(0,t.jsx)(e,{...i})});return i.displayName=`withInitLayout(${e.displayName||e.name||"Component"})`,i.WrappedComponent=e,i},m=u},1628(e,n,i){"use strict";i.r(n),i.d(n,{default:()=>v});var t=i(715),a=i(787),s=i.n(a),o=i(739),r=i(397),c=i(95),l=i(1371),d=i(1550),u=i(665),p=i(1629),m=i.n(p),h=i(396);const f=c.Locale.getTranslate("components.forms.setup"),x=({action:e,values:n})=>{const i=(0,t.useNavigate)(),{data:{config:a}={}}=(0,o.useQuery)(m());return(0,h.jsxs)(l.default,{action:e,onLongTask:({status:e,errors:n})=>{if(e===u.STATUS_ERROR)throw new Error(n.join("\n"));i("/admin/setup/progress")},values:n,hideRequiredLegend:!0,submitButton:{id:"btn-send",children:(0,h.jsx)(f,{content:"sendButton"})},applyButton:!1,cancelButton:!1,children:[(0,h.jsx)("p",{children:(0,h.jsx)(f,{content:"hint"})}),(0,h.jsxs)(r.Section,{title:(0,h.jsx)(f,{content:"contactInfoSection"}),children:[(0,h.jsx)("p",{children:(0,h.jsx)(f,{content:"contactInfoSectionHint"})}),(0,h.jsx)(r.FormFieldText,{name:"contactInfo[contactName]",label:(0,h.jsx)(f,{content:"contactName"}),required:!0,size:"fill"}),(0,h.jsx)(r.FormFieldText,{name:"contactInfo[email]",label:(0,h.jsx)(f,{content:"email"}),required:!0,size:"fill"})]}),(0,h.jsxs)(r.Section,{title:(0,h.jsx)(f,{content:"passwordSection"}),children:[(0,h.jsx)("p",{children:(0,h.jsx)(f,{content:"passwordSectionHint"})}),(0,h.jsx)(r.FormFieldPassword,{name:"password[password]",label:(0,h.jsx)(f,{content:"password"}),required:!0})]}),a?.setup?.forceAdminPasswordReset?.enabled&&(0,h.jsx)(r.Section,{children:(0,h.jsx)(r.FormFieldCheckbox,{name:"password[resetOnFirstLogin]",label:(0,h.jsx)(f,{content:"resetPasswordOnFirstLogin"}),checkedValue:"true",uncheckedValue:"false"})}),n.license?(0,h.jsxs)(r.Section,{title:(0,h.jsx)(f,{content:"licenseSection"}),children:[(0,h.jsx)("p",{children:(0,h.jsx)(f,{content:"licenseSectionHint"})}),(0,h.jsx)(r.FormFieldRadioButtons,{name:"license[licenseType]",label:(0,h.jsx)(f,{content:"licenseType"}),options:[{value:"paid",label:(0,h.jsx)(f,{content:"licenseTypePaid"}),indentFields:[(0,h.jsx)(r.FormFieldText,{name:"license[activationCode]",label:null,description:(0,h.jsx)(f,{content:"activationCodeHint",params:{onlineStoreLink:(0,h.jsx)("a",{href:a?.product?.buyUrl,target:"_blank",rel:"noopener noreferrer",children:(0,h.jsx)(f,{content:"onlineStoreLink"})})}}),size:"fill"},"activationCode")]},{value:"trial",label:(0,h.jsx)(f,{content:"licenseTypeTrial"}),description:(0,h.jsx)(f,{content:"trialLicenseAgreement",params:{privacyPolicyLink:(0,h.jsx)("a",{href:a?.product?.privacyPolicyUrl,target:"_blank",rel:"noopener noreferrer",children:(0,h.jsx)(f,{content:"privacyPolicyLink"})})}})}]})]}):null,(0,h.jsx)(r.Section,{children:(0,h.jsx)(r.FormFieldCheckbox,{name:"eula[eulaAgreement]",label:(0,h.jsx)(f,{content:"eulaAgreementLabel",params:{link:(0,h.jsx)("a",{href:"/admin/index/eula",target:"_blank",rel:"noopener noreferrer",children:(0,h.jsx)(f,{content:"eula"})})}}),required:!0,checkedValue:"true",uncheckedValue:"false"})})]})};x.propTypes={action:s().string.isRequired,values:s().object.isRequired};const v=(0,d.withInitLayout)(x,{banner:i(1630)})},1630(e){e.exports=Jsw.skinUrl+"/images/postinstall-configuration.png?02b7ce7cf1b176ddb077e975e916239c"},1629(e){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SetupPage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"config"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"product"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"buyUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"privacyPolicyUrl"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"setup"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"forceAdminPasswordReset"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"enabled"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:217}};n.loc.source={body:"query SetupPage {\n    config {\n        product {\n            buyUrl\n            privacyPolicyUrl\n        }\n        setup {\n            forceAdminPasswordReset {\n                enabled\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);
1else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach(function(e){i(e,n)}),e.variableDefinitions&&e.variableDefinitions.forEach(function(e){i(e,n)}),e.definitions&&e.definitions.forEach(function(e){i(e,n)})}var t={};function a(e,n){for(var i=0;i<e.definitions.length;i++){var t=e.definitions[i];if(t.name&&t.name.value==n)return t}}n.definitions.forEach(function(e){if(e.name){var n=new Set;i(e,n),t[e.name.value]=n}}),e.exports=n,e.exports.SetupPage=function(e,n){var i={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var s=t[n]||new Set,o=new Set,r=new Set;for(s.forEach(function(e){r.add(e)});r.size>0;){var c=r;r=new Set,c.forEach(function(e){o.has(e)||(o.add(e),(t[e]||new Set).forEach(function(e){r.add(e)}))})}return o.forEach(function(n){var t=a(e,n);t&&i.definitions.push(t)}),i}(n,"SetupPage")}}]);
2//# sourceMappingURL=index.js.map?35492a17d8491d45c58b

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.