PageSourceSearch

https://fotowendy.nl/cp/javascript/views/php/extensions.js?133a1e72c88301d8efea

js fotowendy.nl collected 2026-10-07 04:30:47 UTC 34,214 bytes, 2 lines download raw bytes

1(self.webpackChunkPlesk=self.webpackChunkPlesk||[]).push([["views/php/extensions"],{1063:(e,n,i)=>{"use strict";i.r(n),i.d(n,{SORT_ASC:()=>c,SORT_DESC:()=>u,default:()=>v});var t=i(242),a=i(244),s=i.n(a),r=i(243),o=i(90);const l=o.Locale.getTranslate("components.list"),d=o.Locale.getSection("components.list"),c="ASC",u="DESC",m="all",p={set(e,n){localStorage.setItem(e,JSON.stringify(n))},get(e){const n=localStorage.getItem(e);return JSON.parse(n)}},h=e=>`list-sort_${e}`,f=e=>`list-page_${e}`,k=({id:e,data:n,columns:i,itemsPerPage:a,itemsPerPageOptions:s,sortColumn:o,sortDirection:u,searchField:k,locale:v,emptyView:g,emptyFilteredView:x,toolbar:b,selection:y,onSelectionChange:S,searchBarInputProps:N,rowKey:P,...E})=>{const{sortColumn:j,sortDirection:T,setSortState:F}=((e,{sortColumn:n,sortDirection:i})=>{const[{sortColumn:a,sortDirection:s},r]=(0,t.useState)({sortColumn:p.get(h(e))?.sortColumn??n,sortDirection:p.get(h(e))?.sortDirection??i});return{sortColumn:a,sortDirection:s,setSortState:n=>{r((e=>({...e,...n}))),p.set(h(e),{...p.get(h(e)),...n})}}})(e,{sortColumn:o??i.find((({sortable:e})=>e))?.key,sortDirection:u}),{page:w,itemsPerPage:C,searchPattern:V,setPageState:D}=((e,{itemsPerPage:n})=>{const[{page:i,itemsPerPage:a,searchPattern:s},r]=(0,t.useState)({page:p.get(f(e))?.page??1,itemsPerPage:p.get(f(e))?.itemsPerPage??n,searchPattern:p.get(f(e))?.searchPattern??""});return{page:i,itemsPerPage:a,searchPattern:s,setPageState:n=>{r((e=>({...e,...n}))),p.set(f(e),{...p.get(f(e)),...n})}}})(e,{itemsPerPage:s.includes(a)?a:s[0]}),I=(0,t.useMemo)((()=>V?x??(0,t.jsx)(r.ListEmptyView,{reason:"filtered",title:(0,t.jsx)(l,{content:"emptyViewFilteredTitle"}),description:(0,t.jsx)(l,{content:"emptyViewFilteredDescription"})}):g??(0,t.jsx)(r.ListEmptyView,{title:(0,t.jsx)(l,{content:"emptyViewTitle"})})),[V,g,x]),H=(0,t.useMemo)((()=>k?n.filter((e=>(Array.isArray(k)?k:[k]).some((n=>e[n]&&String(e[n]).toLowerCase().includes(V.toLowerCase()))))):n),[n,V,k]),O=(0,t.useMemo)((()=>{if(!j)return H;const e=i.find((({key:e})=>e===j))?.sortDataField??j,n=i.find((({key:e})=>e===j))?.sort??((n,i)=>n[e]<i[e]?-1:n[e]>i[e]?1:0);return[...H].sort(((e,i)=>c===T?n(e,i):n(i,e)))}),[H,j,T,i]),L=(0,t.useMemo)((()=>{if(C===m)return O;const e=C*(w-1),n=e+C;return O.slice(e,n)}),[w,O,C]),R=(0,t.useCallback)((e=>{D({searchPattern:e}),e!==V&&D({page:1})}),[V]),q=(0,t.useCallback)((e=>{D({itemsPerPage:e});(e===m?1:Math.ceil(H.length/e))<w&&D({page:1})}),[H.length,w]);return(0,t.useEffect)((()=>{if("function"==typeof S&&y.length){const e=H.map((e=>{return n=e,"function"==typeof(i=P)?i(n):n[i];var n,i})).filter((e=>y.includes(e)));S(e)}}),[H]),(0,t.jsx)(r.List,{pagination:(0,t.jsx)(r.Pagination,{current:w,total:C===m?1:Math.ceil(H.length/C),onSelect:e=>D({page:e}),itemsPerPage:C,itemsPerPageOptions:s,onItemsPerPageChange:q}),toolbar:(b||k)&&(0,t.jsxs)(r.Toolbar,{children:[b,k&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.ToolbarExpander,{}),(0,t.jsx)(r.ToolbarGroup,{title:"",children:(0,t.jsx)(r.SearchBar,{inputProps:{placeholder:d.lmsg("searchPlaceholder"),"data-testid":"list-searchbar",value:V,...N??{}},onTyping:R})})]})]}),totalRows:H.length,sortColumn:j,sortDirection:T,onSortChange:F,columns:i,data:L,filtered:!!V,locale:{totalRows:({totalRows:e})=>d.formatMessage("recordsTotal",{total:e}),...v},emptyView:I,onSelectionChange:S,selection:y,rowKey:P,...E})};k.propTypes={id:s().string.isRequired,data:s().array.isRequired,columns:s().array.isRequired,itemsPerPage:s().number,itemsPerPageOptions:s().array,sortColumn:s().string,sortDirection:s().string,searchField:s().oneOfType([s().string,s().arrayOf(s().string.isRequired)]),locale:s().object,emptyView:s().node,emptyFilteredView:s().node,toolbar:s().node,onSelectionChange:s().func,selection:s().array,rowKey:s().oneOfType([s().string,s().func]),searchBarInputProps:s().object},k.defaultProps={itemsPerPage:25,itemsPerPageOptions:[10,25,100,m],sortColumn:void 0,sortDirection:c,searchField:void 0,locale:{},emptyView:void 0,emptyFilteredView:void 0,toolbar:void 0,onSelectionChange:void 0,selection:[],searchBarInputProps:void 0,rowKey:"key"};const v=k},1928:(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>d});var t=i(244),a=i(243),s=i(90),r=i(242);const o=s.Locale.getTranslate("components.buttons"),l=({children:e,confirmationText:n,onClick:i,isCritical:t,isProcessing:s,...l})=>{const[d,c]=(0,r.useState)(!1);return(0,r.jsxs)(a.Popover,{target:(0,r.jsx)(a.Button,{onClick:()=>c(!0),state:s?"loading":null,...l,children:s?(0,r.jsx)(o,{content:"wait"}):e}),placement:"top",visible:d,onClose:()=>c(!1),children:[(0,r.jsx)(a.Paragraph,{children:n}),(0,r.jsx)(a.Button,{id:"buttonYes",intent:t?"danger":"primary",onClick:()=>{c(!1),i()},children:(0,r.jsx)(o,{content:"yes"})}),"  ",(0,r.jsx)(a.Button,{id:"buttonCancel",onClick:()=>c(!1),ghost:!0,children:(0,r.jsx)(o,{content:"cancel"})})]})};l.propTypes={children:t.PropTypes.node,confirmationText:t.PropTypes.node.isRequired,onClick:t.PropTypes.func.isRequired,isProcessing:t.PropTypes.bool,isCritical:t.PropTypes.bool},l.defaultProps={children:void 0,isProcessing:!1,isCritical:!1};const d=l},1972:(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>u});var t=i(244),a=i(243),s=i(90),r=i(242),o=i(679);const l=s.Locale.getTranslate("admin.components.forms.php-handler.extension"),d=s.Locale.getTranslate("components.buttons"),c=({isOpen:e,onSubmit:n,onClose:i,...t})=>{const[s,c]=(0,r.useState)({}),[u,m]=(0,r.useState)(null),[p,h]=(0,r.useState)({});(0,r.useEffect)((()=>{e&&(c({extensionName:""}),m(null),h({}))}),[e]);
1return(0,r.jsx)(a.Popover,{title:(0,r.jsx)(l,{content:"title"}),visible:e,onClose:i,...t,children:(0,r.jsx)(a.Form,{values:s,state:u,errors:p,submitButton:{id:"btn-ok",name:"ok",children:(0,r.jsx)(d,{content:"ok"})},applyButton:!1,cancelButton:{id:"btn-cancel",name:"cancel",children:(0,r.jsx)(d,{content:"cancel"}),onClick:i},onSubmit:async({extensionName:e})=>{h(null),m("submit");try{await n(e),i()}catch({graphQLErrors:e}){e.forEach((({message:e,debugMessage:n,extensions:i})=>{"validate"===i.category?h((e=>({...e,...i.messages}))):(0,o.addToast)({intent:"danger",message:n||e})}))}finally{m(null)}},children:(0,r.jsx)(a.FormFieldText,{name:"extensionName","data-test-id":"custom-package-name",label:(0,r.jsx)(l,{content:"name"}),description:(0,r.jsx)(l,{content:"description"}),required:!0})})})};c.propTypes={isOpen:t.PropTypes.bool,onSubmit:t.PropTypes.func.isRequired,onClose:t.PropTypes.func.isRequired},c.defaultProps={isOpen:!1};const u=c},1971:(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>j});var t=i(244),a=i(243),s=i(90),r=i(1063),o=i(242),l=i(1928),d=i(1972),c=i(762),u=i(679),m=i(1975),p=i(1973),h=i.n(p),f=i(1974),k=i.n(f);const v=s.Locale.getTranslate("admin.components.lists.phpextensions.installable"),g=s.Locale.getSection("admin.components.lists.phpextensions.installable"),x="notInstalled",b="outdated",y="latest",S=e=>{switch(e){case b:return"warning";case y:return"success";default:return"inactive"}},N=(e,n)=>{if(!n)return!1;try{return 1===(0,m.compareVersions)(e,n)}catch{const i=e=>e.split(".").map((e=>parseInt(e)||0)).join(".");try{return 1===(0,m.compareVersions)(i(e),i(n))}catch{return!1}}},P=({onSubmit:e,...n})=>{const i=(0,o.useRef)(),[t,s]=(0,o.useState)(!1);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(a.Button,{"data-action":"installCustomPhpExtension",tooltip:(0,o.jsx)(v,{content:"buttonInstallCustomHint"}),onClick:()=>s(!0),ref:i,...n,children:(0,o.jsx)(v,{content:"buttonInstallCustom"})}
1),(0,o.jsx)(d.default,{targetRef:i,isOpen:t,onSubmit:e,onClose:()=>s(!1)})]})};P.propTypes={onSubmit:t.PropTypes.func.isRequired};const E=({id:e,installablePhpExtensions:n,setTask:i,onReload:t})=>{const s=(0,o.useMemo)((()=>["name","description"]),[]),d=(0,o.useMemo)((()=>n.map((({package:e,installedVersion:n,latestVersion:i,...t})=>({key:e.toLowerCase(),name:e,status:N(i,n)?b:n?y:x,installedVersion:n,latestVersion:i,...t})))),[n]),[m]=(0,c.useMutation)(h(),{variables:{phpHandlerId:e}}),[p]=(0,c.useMutation)(k(),{variables:{phpHandlerId:e}}),f=(0,o.useCallback)(((e,n)=>{const i=({status:e})=>{switch(e){case b:return 0;case y:return 1;default:return 2}},t=i(e),a=i(n);if(t<a)return-1;if(t>a)return 1;const s=e.name.toLowerCase(),r=n.name.toLowerCase();return s<r?-1:s>r?1:0}),[]),E=async e=>{const{data:{installPhpExtension:n}}=await m({variables:{extensionName:e}});i(n)},j=async e=>{try{await E(e)}catch({graphQLErrors:e}){e.forEach((({message:e,debugMessage:n})=>{(0,u.addToast)({intent:"danger",message:n||e})}))}};return(0,o.jsx)(r.default,{id:"installable-php-extensions-list",columns:[{key:"status",title:(0,o.jsx)(v,{content:"status"}),sortDataField:"status",sortable:!0,sort:f,render:({status:e,name:n,...i})=>(0,o.jsx)(a.Tooltip,{title:(0,o.jsx)(v,{content:e,params:i}),children:(0,o.jsx)(a.Status,{intent:S(e)})})},{key:"name",title:(0,o.jsx)(v,{content:"name"}),sortDataField:"key",type:"title",sortable:!0,render:({name:e,latestVersion:n,installedVersion:i})=>`${e} (${i||n})`},{key:"description",title:(0,o.jsx)(v,{content:"description"}),sortable:!0,render:({description:e})=>`${e.charAt(0).toUpperCase()}${e.slice(1)}`},{key:"actions",type:"actions",render:({status:e,latestVersion:n,name:t})=>(0,o.jsxs)(a.ListActions,{children:[e===x&&(0,o.jsx)(a.ListAction,{icon:"plus",primary:!0,"data-action":"installPhpExtension",onClick:()=>j(t),children:(0,o.jsx)(v,{content:"actionInstall"})}),e===b&&(0,o.jsx)(a.ListAction,{icon:"arrow-up",primary:!0,"data-action":"upgradePhpExtension",onClick:()=>j(t),children:(0,o.jsx)(v,{content:"actionUpgrade",params:{version:n}})}),(0,o.jsx)(a.ListAction,{icon:"info-circle",primary:!0,component:"a",href:`https://pecl.php.net/package/${t}`,target:"_blank",children:(0,o.jsx)(v,{content:"actionDocs"})}),(0,o.jsx)(a.ListAction,{icon:"recycle",hidden:e===x,primary:!0,"data-action":"uninstallPhpExtension",component:l.default,isCritical:!0,confirmationText:(0,o.jsx)(v,{content:"uninstallConfirmation",params:{name:t}}),onClick:()=>(async e=>{try{const{data:{uninstallPhpExtension:n}}=await p({variables:{extensionName:e}});i(n)}catch({graphQLErrors:e}){e.forEach((({message:e,debugMessage:n})=>{(0,u.addToast)({intent:"danger",message:n||e})}))}})(t),children:(0,o.jsx)(v,{content:"actionUninstall"})})]})}],data:d,searchField:s,sortColumn:"status",toolbar:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(a.ToolbarGroup,{title:g.lmsg("groupInstall"),children:(0,o.jsx)(P,{onSubmit:E,intent:"primary"})}),(0,o.jsx)(a.ToolbarGroup,{title:g.lmsg("groupReload"),children:(0,o.jsx)(a.Button,{"data-action":"reloadPhpExtensions",tooltip:(0,o.jsx)(v,{content:"buttonReloadHint"}),onClick:t,children:(0,o.jsx)(v,{content:"buttonReload"})})})]}),searchBarInputProps:{"data-testid":"search-installable-extension"},emptyView:(0,o.jsx)(a.ListEmptyView,{actions:(0,o.jsx)(P,{onSubmit:E})}),emptyFilteredView:(0,o.jsx)(a.ListEmptyView,{reason:"filtered",actions:(0,o.jsx)(P,{onSubmit:E}),title:(0,o.jsx)(v,{content:"emptyViewFilteredTitle"}),description:(0,o.jsx)(v,{content:"emptyViewFilteredDescription"})})})};E.propTypes={id:t.PropTypes.string.isRequired,installablePhpExtensions:t.PropTypes.array.isRequired,setTask:t.PropTypes.func.isRequired,onReload:t.PropTypes.func.isRequired};const j=E},1979:(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>h});var t=i(90),a=i(243),s=i(244),r=i.n(s),o=i(679),l=i(762),d=i(242),c=i(1980),u=i.n(c);const m=t.Locale.getTranslate("admin.components.lists.phpextensions"),p=({id:e,phpExtensions:n})=>{const[i]=(0,l.useMutation)(u(),{variables:{phpHandlerId:e}}),[t,s]=(0,d.useState)([]);return(0,d.jsx)(a.Grid,{gap:"md",minColumnWidth:200,maxColumnsNumber:6,children:n.map((({name:e,enabled:n})=>(0,d.jsxs)(a.GridCol,{children:[(0,d.jsx)(a.Switch,{checked:n,loading:t.includes(e),tooltip:(0,d.jsx)(m,{content:n?"disable":"enable"}),onChange:()=>(async(e,n)=>{try{s((n=>[...n,e])),await i({variables:{extensionName:e,action:n}})}catch({graphQLErrors:e}){e.forEach((({message:e,debugMessage:n})=>{(0,o.addToast)({intent:"danger",message:n||e})}))}finally{s((n=>n.filter((n=>n!==e))))}})(e,n?"disable":"enable")})," ",e]},e)))})};p.propTypes={id:r().string.isRequired,phpExtensions:r().array.isRequired};const h=p},1970:(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>v});var t=i(244),a=i(243),s=i(90),r=i(734),o=i(762),l=i(242),d=i(758),c=i(1971),u=i(1977),m=i.n(u),p=i(1978),h=i.n(p);const f=s.Locale.getTranslate("components.pages.php-handler.extensions.manage"),k=({id:e,affectedHandlers:n,updateAffectedHandlersCache:i,isOpen:t,onClose:s})=>{const{data:u,client:p}=(0,r.useQuery)(m(),{variables:{id:e},skip:!t,onCompleted:e=>i(e,p)}),[k,{loading:v}]=(0,o.useMutation)(h(),{variables:{id:e},onCompleted:({resetPhpExtensionCache:{query:e}})=>i(e,p)}),[g,x]=(0,l.useState)(null);return(0,l.useEffect)((()=>{t&&x(null)}),[t]),(0,l.jsx)(d.default,{dataType:"manage-php-extensions",className:"manage-php-extensions",title:(0,l.jsx)(f,{content:"title"}),isOpen:t,onClose:s,task:g,onTaskComplete:k,size:"md",children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(a.StatusMessage,{intent:"info",children:(0,l.jsx)(f,{content:"risks"})}),(0,l.jsx)("p",{children:(0,l.jsx)(f,{content:"description",params:{handlers:(0,l.jsx)("b",{children:n.map((({name:e})=>e)).join(", ")})}})}),u&&!v?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("p",{children:(0,l.jsx)(a.Popover,{target:(0,l.jsx)("a",{children:(0,l.jsx)(f,{content:"notFound"})}),children:(0,l.jsx)(f,{content:"limitations"})})}),(0,l.jsx)(c.default,{...u.phpHandler,setTask:x,onReload:k})]}):(0,l.jsx)(a.ContentLoader,{})]})})};k.propTypes={id:t.PropTypes.string.isRequired,affectedHandlers:t.PropTypes.array.isRequired,updateAffectedHandlersCache:t.PropTypes.func.isRequired,isOpen:t.PropTypes.bool,onClose:t.PropTypes.func.isRequired},k.defaultProps={isOpen:!1};const v=k},1968:(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>x});var t=i(90),a=i(290),s=i(739),r=i(1969),o=i(243),l=i(1970),d=i(1979),c=i(1975),u=i(734),m=i(242),p=i(244),h=i.n(p),f=i(917),k=i.n(f);const v=t.Locale.getTranslate("components.pages.php-handler.extensions"),g=({params:{id:e}})=>{const n=({phpHandler:{phpExtensions:n,installablePhpExtensions:i}},{cache:t})=>a.filter((n=>
1n.id!==e)).forEach((e=>{const a={};n&&(a.phpExtensions=()=>n),i&&(a.installablePhpExtensions=()=>i),t.modify({id:t.identify(e),fields:a})})),{data:{phpHandler:{version:i,phpExtensions:t,affectedHandlers:a},os:{isUnix:s},config:{php:{pecl:{enabled:r,minVersion:p}}}},client:h}=(0,u.useQuery)(k(),{variables:{id:e},onCompleted:e=>n(e,h)}),[f,g]=(0,m.useState)(!1),x=(0,m.useMemo)((()=>{if(!s||!r)return!1;try{return(0,c.compareVersions)(i,p)>=0}catch{return!0}}),[i,s,r,p]);return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("p",{children:(0,m.jsx)(v,{content:a.length>1?"descriptionShared":"description",params:{handlers:(0,m.jsx)("b",{children:a.map((({name:e})=>e)).join(", ")})}})}),x&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(o.Toolbar,{children:(0,m.jsx)(o.Button,{id:"managePhpExtensions",onClick:()=>g(!0),children:(0,m.jsx)(v,{content:"buttonManage"})})}),(0,m.jsx)(l.default,{id:e,affectedHandlers:a,updateAffectedHandlersCache:n,isOpen:f,onClose:()=>g(!1)})]}),(0,m.jsx)(d.default,{id:e,phpExtensions:t})]})};g.propTypes={params:h().shape({id:h().string.isRequired}).isRequired};const x=(0,s.withPageLayout)((0,r.withPhpSettingsTabs)(g),(({params:{id:e}})=>{const{showFrames:n,pageHeader:i,pageSidebar:s}=(0,a.default)(),{data:{phpHandler:{name:r}}}=(0,u.useQuery)(k(),{variables:{id:e}}),o=[s.isPowerUserPanel?null:{title:t.Locale.getSection("admin.controllers.home.admin").lmsg("title"),href:"/admin/home"},{title:t.Locale.getSection("admin.controllers.server.tools").lmsg("title"),href:"/admin/server/tools"},{title:t.Locale.getSection("admin.controllers.php-handler.list").lmsg("title"),href:"/admin/php-handler/list/"},{title:t.Locale.getSection("components.pages.php-handler").lmsg("title",{name:r}),href:`/cp/php/extensions/id/${e}`}].filter(Boolean),l=o[o.length-1].title;return{showFrames:n,pageHeader:{...i,helpMenu:{...i.helpMenu,helpContext:"php-handler.list"}},pageSidebar:s,pageContentHeader:{pageTitle:l,breadcrumbs:o},pageTitle:l}}))},1967:(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>t.default});var t=i(1968)},1969:(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>p,withPhpSettingsTabs:()=>m});var t=i(242),a=i(728),s=i(729),r=i(243),o=i(90),l=i(775),d=i(244),c=i.n(d);const u=({params:{id:e}})=>{const{pathname:n}=(0,a.useLocation)(),i=(0,t.useMemo)((()=>[{title:o.Locale.getSection("components.pages.php-handler.extensions").lmsg("title"),url:`/cp/php/extensions/id/${e}`,id:"tabExtensions"},{title:o.Locale.getSection("components.pages.php-handler.php-ini").lmsg("title"),url:`/admin/php-handler/php-ini/id/${e}`,id:"tabIniFile"}]),[e]),d=(0,t.useMemo)((()=>i.findIndex((({url:e})=>(0,s.matchPath)(e,n)))+1),[i,n]);return(0,t.jsx)(r.Tabs,{active:d,children:i.map((({url:e,...n})=>(0,t.jsx)(r.Tab,{component:l.default,to:e,...n},e)))})};u.propTypes={params:c().shape({id:c().string.isRequired}).isRequired};const m=e=>{const n=n=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u,{...n}),(0,t.jsx)(e,{...n})]});return n.displayName=`withPhpSettingsTabs(${e.displayName||e.name||"Component"})`,n.WrappedComponent=e,n},p=u},1973:e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"InstallPhpExtension"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"phpHandlerId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"extensionName"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"installPhpExtension"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"phpHandlerId"},value:{kind:"Variable",name:{kind:"Name",value:"phpHandlerId"}}},{kind:"ObjectField",name:{kind:"Name",value:"extensionName"},value:{kind:"Variable",name:{kind:"Name",value:"extensionName"}}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"progressTitle"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"progressValue"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"errors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"output"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"steps"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"progress"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"errors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"output"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:420}};n.loc.source={body:"mutation InstallPhpExtension($phpHandlerId: ID!, $extensionName: String!) {\r\n    installPhpExtension(input: { phpHandlerId: $phpHandlerId, extensionName: $extensionName }) {\r\n        id\r\n        status\r\n        progressTitle\r\n        progressValue\r\n        errors\r\n        output\r\n        steps {\r\n            title\r\n            progress\r\n            status\r\n            errors\r\n            output\r\n        }\r\n    }\r\n}\r\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.InstallPhpExtension=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,r=new Set,o=new Set;for(s.forEach((function(e){o.add(e)}));o.size>0;){var l=o;o=new Set,l.forEach((function(e){r.has(e)||(r.add(e),(t[e]||new Set).forEach((function(e){o.add(e)})))}))}return r.forEach((function(n){var t=a(e,n);t&&i.definitions.push(t)})),i}(n,"InstallPhpExtension")},1977:e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"InstallablePhpExtensions"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"phpHandler"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"installablePhpExtensions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"package"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"installedVersion"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"latestVersion"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:243}};n.loc.source={body:"query InstallablePhpExtensions($id: ID!) {\r\n    phpHandler(id: $id) {\r\n        id\r\n        installablePhpExtensions {\r\n            package\r\n            description\r\n            installedVersion\r\n            latestVersion\r\n        }\r\n    }\r\n}\r\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else 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.InstallablePhpExtensions=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,r=new Set,o=new Set;for(s.forEach((function(e){o.add(e)}));o.size>0;){var l=o;o=new Set,l.forEach((function(e){r.has(e)||(r.add(e),(t[e]||new Set).forEach((function(e){o.add(e)})))}))}return r.forEach((function(n){var t=a(e,n);t&&i.definitions.push(t)})),i}(n,"InstallablePhpExtensions")},1978:e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"ReloadPhpExtensions"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"resetPhpExtensionCache"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"query"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"phpHandler"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"phpExtensions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"enabled"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"installablePhpExtensions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"package"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"installedVersion"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"latestVersion"},arguments:[],directives:[]}]}}]}}]}}]}}]}}],loc:{start:0,end:485}};n.loc.source={body:"mutation ReloadPhpExtensions($id: ID!) {\r\n    resetPhpExtensionCache {\r\n        query {\r\n            phpHandler(id: $id) {\r\n                id\r\n                phpExtensions {\r\n                    name\r\n                    enabled\r\n                }\r\n                installablePhpExtensions {\r\n                    package\r\n                    description\r\n                    installedVersion\r\n                    latestVersion\r\n                }\r\n            }\r\n        }\r\n    }\r\n}\r\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.ReloadPhpExtensions=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,r=new Set,o=new Set;for(s.forEach((function(e){o.add(e)}));o.size>0;){var l=o;o=new Set,l.forEach((function(e){r.has(e)||(r.add(e),(t[e]||new Set).forEach((function(e){o.add(e)})))}))}return r.forEach((function(n){var t=a(e,n);t&&i.definitions.push(t)})),i}(n,"ReloadPhpExtensions")},1980:e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"TogglePhpExtension"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"phpHandlerId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"extensionName"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"action"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"TogglePhpExtensionEnum"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"togglePhpExtension"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"phpHandlerId"},value:{kind:"Variable",name:{kind:"Name",value:"phpHandlerId"}}},{kind:"ObjectField",name:{kind:"Name",value:"extensionName"},value:{kind:"Variable",name:{kind:"Name",value:"extensionName"}}},{kind:"ObjectField",name:{kind:"Name",value:"action"},value:{kind:"Variable",name:{kind:"Name",value:"action"}}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"query"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"phpHandler"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"phpHandlerId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"phpExtensions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"enabled"},arguments:[],directives:[]}]}}]}}]}}]}}]}}],loc:{start:0,end:449}};n.loc.source={body:"mutation TogglePhpExtension($phpHandlerId: ID!, $extensionName: String!, $action: TogglePhpExtensionEnum!) {\r\n    togglePhpExtension(input: { phpHandlerId: $phpHandlerId, extensionName: $extensionName, action: $action }) {\r\n        query {\r\n            phpHandler(id: $phpHandlerId) {\r\n                id\r\n                phpExtensions {\r\n                    name\r\n                    enabled\r\n                }\r\n            }\r\n        }\r\n    }\r\n}\r\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else 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.TogglePhpExtension=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,r=new Set,o=new Set;for(s.forEach((function(e){o.add(e)}));o.size>0;){var l=o;o=new Set,l.forEach((function(e){r.has(e)||(r.add(e),(t[e]||new Set).forEach((function(e){o.add(e)})))}
1))}return r.forEach((function(n){var t=a(e,n);t&&i.definitions.push(t)})),i}(n,"TogglePhpExtension")},1974:e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UninstallPhpExtension"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"phpHandlerId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"extensionName"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"uninstallPhpExtension"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"phpHandlerId"},value:{kind:"Variable",name:{kind:"Name",value:"phpHandlerId"}}},{kind:"ObjectField",name:{kind:"Name",value:"extensionName"},value:{kind:"Variable",name:{kind:"Name",value:"extensionName"}}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"progressTitle"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"progressValue"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"errors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"output"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"steps"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"progress"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"errors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"output"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:424}};n.loc.source={body:"mutation UninstallPhpExtension($phpHandlerId: ID!, $extensionName: String!) {\r\n    uninstallPhpExtension(input: { phpHandlerId: $phpHandlerId, extensionName: $extensionName }) {\r\n        id\r\n        status\r\n        progressTitle\r\n        progressValue\r\n        errors\r\n        output\r\n        steps {\r\n            title\r\n            progress\r\n            status\r\n            errors\r\n            output\r\n        }\r\n    }\r\n}\r\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else 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.UninstallPhpExtension=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,r=new Set,o=new Set;for(s.forEach((function(e){o.add(e)}));o.size>0;){var l=o;o=new Set,l.forEach((function(e){r.has(e)||(r.add(e),(t[e]||new Set).forEach((function(e){o.add(e)})))}))}return r.forEach((function(n){var t=a(e,n);t&&i.definitions.push(t)})),i}(n,"UninstallPhpExtension")}}]);
2//# sourceMappingURL=extensions.js.map?133a1e72c88301d8efea

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.