member.39credit.com Open in urlscan Pro
66.23.234.124  Public Scan

Submitted URL: http://member.39credit.com/cp/javascript/main.js?1729623616
Effective URL: https://member.39credit.com/cp/javascript/main.js?1729623616
Submission: On November 15 via api from US — Scanned from US

Form analysis 0 forms found in the DOM

Text Content

(()=>{var __webpack_modules__=[(e,n,i)=>{"use strict";i.r(n);i(1),i(2),i(3),i(4),i(5),i(6);var t=i(89),a=i(571);i(1027);window.Jsw=t,window.Plesk=a},(e,n,i)=>{"use strict";i.r(n)},(e,n,i)=>{"use strict";i.r(n)},(e,n,i)=>{"use strict";i.r(n)},(e,n,i)=>{"use strict";i.r(n)},(e,n,i)=>{"use strict";i.r(n)},(e,n,i)=>{"use strict";i.r(n);i(7),i(55);Set.prototype.toArray=function(){const e=[];return this.forEach((n=>e.push(n))),e},Map.prototype.toArray=function(){const e=[];return this.forEach(((n,i)=>e.push([i,n]))),e}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,(e,n,i)=>{"use strict";i.r(n),i.d(n,{ActiveList:()=>ue.ActiveList,AddRemoveDynamicSubForm:()=>$.AddRemoveDynamicSubForm,AjaxMessageBox:()=>q.AjaxMessageBox,AjaxPopupForm:()=>Q.AjaxPopupForm,Bar:()=>V.Bar,BigButton:()=>E.BigButton,Box:()=>H.Box,Button:()=>y.Button,CollapsibleBlock:()=>U.CollapsibleBlock,CommandButton:()=>D.CommandButton,Component:()=>_.Component,ConfirmationPopupManager:()=>se.ConfirmationPopupManager,Container:()=>T.Container,Cookie:()=>O.default,CustomButton:()=>F.CustomButton,DirectoryBrowser:()=>fe.DirectoryBrowser,DoubleListSelector:()=>J.DoubleListSelector,DropArea:()=>he.DropArea,DropdownHeader:()=>M.DropdownHeader,DropdownManager:()=>R.DropdownManager,DynamicPopupHint:()=>ee.DynamicPopupHint,DynamicSubForm:()=>$.DynamicSubForm,EnhancedDoubleListSelector:()=>X.EnhancedDoubleListSelector,FileManager:()=>xe,FormAjax:()=>I.FormAjax,FormRedirect:()=>P.FormRedirect,Gauge:()=>W.Gauge,GroupsList:()=>ge.GroupsList,Hint:()=>b.Hint,List:()=>Ne.List,ListContainer:()=>x.ListContainer,ListContextMenu:()=>Ne.ListContextMenu,Locale:()=>S.default,LookUp:()=>re.LookUp,MessageBox:()=>q.MessageBox,ModalDialogBox:()=>z.ModalDialogBox,MultiCheckboxMessageWindow:()=>q.MultiCheckboxMessageWindow,ObjectSwitcher:()=>_e.ObjectSwitcher,Observer:()=>de.default,Panel:()=>A.Panel,PasswordGenerator:()=>ie.PasswordGenerator,PasswordMeter:()=>ne.PasswordMeter,Pathbar:()=>j.Pathbar,Popup:()=>Y.default,PopupForm:()=>G.PopupForm,PopupSlider:()=>Se.default,ReporterPopup:()=>ke.ReporterPopup,ScrollableList:()=>be.ScrollableList,SmallButton:()=>N.SmallButton,SmallTools:()=>B.SmallTools,SplitButton:()=>w.SplitButton,StatusMessage:()=>oe.StatusMessage,Task:()=>Te,ToolList:()=>Z.ToolList,Tooltip:()=>K.Tooltip,UAT:()=>ye.UAT,UnresolvedDomainWarning:()=>le.UnresolvedDomainWarning,UpgradeFailureNotification:()=>te.UpgradeFailureNotification,WebserverConfigurationFailure:()=>ae.WebserverConfigurationFailure,WebspaceFoldersMessageBox:()=>q.WebspaceFoldersMessageBox,addStatusMessage:()=>r.default,addUrlParams:()=>c.default,api:()=>we.default,bar:()=>V.bar,clearStatusMessages:()=>o.default,createComponent:()=>a.default,createElement:()=>u.default,emptyFn:()=>h.default,escapeAttribute:()=>p.default,escapeHtml:()=>v.default,fireCustomEvent:()=>g.default,form:()=>Ce,getComponent:()=>_.getComponent,getControlPanelLoginHtml:()=>Ee.default,keyCode:()=>k.default,layout:()=>Ie,list:()=>Ne.list,messageBox:()=>q.messageBox,namespace:()=>t.default,onReady:()=>s.default,pleskWS:()=>De.default,prepareUrl:()=>l.default,priority:()=>s.priority,redirect:()=>P.redirect,redirectPost:()=>P.redirectPost,registerComponent:()=>_.registerComponent,render:()=>m.default,showInternalError:()=>d.default,submit:()=>P.submit,toPunycode:()=>Fe.toPunycode,toollist:()=>Z.toollist,unescapeHtml:()=>f.default,version:()=>Pe});var t=i(90),a=i(91),s=i(306),r=i(307),o=i(312),d=i(336),l=i(309),c=i(266),m=i(275),u=i(310),p=i(337),v=i(98),f=i(338),h=i(267),g=i(339),k=i(340),_=i(92),S=i(100),b=i(341),y=i(344),N=i(345),E=i(346),w=i(347),D=i(348),F=i(349),P=i(353),C=i(354),I=i(355),T=i(351),x=i(356),L=i(357),O=i(358),A=i(359),q=i(360),M=i(364),R=i(365),B=i(366),U=i(370),j=i(372),V=i(374),$=i(376),H=i(377),W=i(378),K=i(97),z=i(361),G=i(379),Q=i(380),Y=i(381),J=i(383),X=i(385),Z=i(350),ee=i(389),ne=i(391),ie=i(514),te=i(515),ae=i(516),se=i(517),re=i(518),oe=i(308),de=i(268),le=i(528),ce=i(529),me=i(532),ue=i(533),pe=i(540),ve=i(556),fe=i(557),he=i(558),ge=i(559),ke=i(560),_e=i(561),Se=i(563),be=i(565),ye=i(566),Ne=i(519),Ee=i(568),we=i(118),De=i(531),Fe=i(569);const Pe="1.0",Ce={DisplayField:C.DisplayField,Values:C.Values},Ie={TwoColumns:L.TwoColumns},Te={ProgressBar:ce.ProgressBar,StatusMessage:me.StatusMessage,STATUS_DONE:me.STATUS_DONE,STATUS_ERROR:me.STATUS_ERROR,STATUS_STARTED:me.STATUS_STARTED,STATUS_NOT_STARTED:me.STATUS_NOT_STARTED,STATUS_CANCELED:me.STATUS_CANCELED},xe={Tree:pe.Tree,UploadAdapterIframe:ve.UploadAdapterIframe}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>t});const t=(e,n=!0)=>{const i=e.split(".");let t=window;for(let e=0;e<i.length;e++){if(void 0===t[i[e]]){if(!n)return;t[i[e]]={}}t=t[i[e]]}return t}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>s});var t=i(92),a=i(90);const s=e=>{if(!e.componentType||e instanceof t.Component)return e;const n="string"==typeof e.componentType?(0,a.default)(e.componentType,!1):e.componentType;if(!n)throw new Error(`Unrecognized class name: ${e.componentType}`);return new n(e)}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{Component:()=>c,getComponent:()=>l,registerComponent:()=>d});var t=i(93),a=i(97),s=i(100),r=i(275);const o={},d=(e,n)=>{o[e]=n},l=e=>o[e];class c{constructor(e={}){this.initialize(e)}initialize(e){this._initConfiguration(e),this._registerComponent(),this._initComponentElement(),this._autoRender&&(null!==this._renderTarget||("string"==typeof this._applyTargetId?document.getElementById(this._applyTargetId):this._applyTargetId))&&this.render(),this._getConfigParam("hidden",!1)&&this.hide()}_initConfiguration(e){this.initialConfig=e,this._config=this.initialConfig,this._cls=this._getConfigParam("cls",""),this._attrs=this._getConfigParam("attrs",{}),this._wrapperClass=this._getConfigParam("wrapperClass",""),this._autoRender=this._getConfigParam("autoRender",!0),this._renderTarget=this._getConfigParam("renderTo",null),"string"==typeof this._renderTarget&&(this._renderTarget=document.getElementById(this._renderTarget)),this._renderMode=this._getConfigParam("renderMode","bottom"),this._applyTargetId=this._getConfigParam("applyTo",null),this.setLocale(this._getConfigParam("locale",this._locale)),this._id=this._applyTargetId?this._applyTargetId:this._getConfigParam("id",null),null===this._id&&(this._id="gen-id-"+c.genId++,this._idIsRandom=!0),this._tag=this._applyTargetId?("string"==typeof this._applyTargetId?document.getElementById(this._applyTargetId):this._applyTargetId).tagName:this._getConfigParam("tag",this._tag||"div")}_registerComponent(){d(this._id,this)}_initComponentElement(){this._applyTargetId?this._componentElement="string"==typeof this._applyTargetId?document.getElementById(this._applyTargetId):this._applyTargetId:(this._componentElement=document.createElement(this._tag),Object.keys(this._attrs).forEach((e=>{this._componentElement.setAttribute(e,this._attrs[e])})),this._componentElement.id=this._id,this._componentElement.className=this._cls)}_initDisablerOverlay(){this._disablerOverlay=document.createElement("div"),this._disablerOverlay.style.display="none",this._disablerOverlay.style.zIndex=this._componentElement.style.zIndex+1e3,this._disablerOverlay.classList.add("content-blocker"),this._componentElement.appendChild(this._disablerOverlay),this._componentElement.style.position="relative"}addEventObserver(e,n){void 0!==n&&this._componentElement.addEventListener(e,n)}removeEventObserver(e,n){void 0!==n&&this._componentElement.removeEventListener(e,n)}_hasConfigParam(e){return void 0!==this._config[e]}_getConfigParam(e,n){return this._hasConfigParam(e)?this._config[e]:n}_getRandomNumber(){return Math.floor(1e6*Math.random())}_addEvents(){}_addTooltips(){const e=this._getConfigParam("description");e&&(this._tooltip=a.Tooltip.init(this._componentElement,{text:e}))}_updateComponentElement(e){const n=this._componentElement.childNodes;n.length?((0,r.default)(this._componentElement,e,"top"),n.forEach((e=>{if(void 0===e.id||""===e.id)return;const n=this._componentElement.querySelector(`#${e.id}`);n&&n.parentNode.replaceChild(e,n)}))):(0,r.default)(this._componentElement,e)}getWrapperClass(){return this._wrapperClass}getId(){return this._id}setRenderTarget(e){this._renderTarget=e}getRenderTarget(){return this._renderTarget}show(){this._componentElement.style.display=""}hide(){this._componentElement.style.display="none"}render(){this._renderTarget&&(0,r.default)(this._renderTarget,this._componentElement,this._renderMode),this._addEvents(),this._addTooltips()}setLocale(e){e instanceof s.default||(e=new s.default(e)),this.lmsg=e.lmsg.bind(e),this._locale=e}getLocale(){return this._locale}remove(){this._renderTarget?.removeChild(this._componentElement),d(this._id)}getAttribute(e){return this._attrs[e]}}(0,t.default)(c,"genId",1),c.subclasses=[]},,,,,(e,n,i)=>{"use strict";i.r(n),i.d(n,{Tooltip:()=>s});var t=i(93),a=i(98);i(99);const s={showTimeoutStatus:!0,showTimeout:.55,minDelta:5,xOffsetLeft:-5,xOffsetRight:5,yOffsetTop:1,yOffsetBottom:13,current:null,initData(e){let n;n=void 0!==e?e.querySelectorAll(".tooltipData"):document.querySelectorAll(".tooltipData"),n.forEach((e=>{s.init(e.parentNode,{element:e})}))},init:(e,n)=>new s.Instance(e,n),set(e){s.current&&s.current!==e&&s.hide(),s.current!==e&&(s.current=e,e.element.addEventListener("mousemove",s._onMouseMove),e.element.addEventListener("mouseout",s._onMouseOut),s.show())},show(){s.showCancel(),s.hideCancel(),s.showTimeoutStatus?s.showTask=setTimeout(s.showFinish,1e3*s.showTimeout):s.showFinish()},showCancel(){s.showTask&&(clearTimeout(s.showTask),s.showTask=null)},showFinish(){s.showCancel();const e=s._fetchTooltipElement(),n=s.current;let{text:i}=n.config;i="function"==typeof i?i():i,!1!==i&&(i?e.querySelector("span").innerHTML=(0,a.default)(i):n.config.element&&(e.querySelector("span").innerHTML=n.config.element.innerHTML),e.style.display="",s.update())},hide(){if(s.showCancel(),!s.current)return;const e=s.current;s.current=null;s._fetchTooltipElement().style.display="none",e.element.removeEventListener("mousemove",s._onMouseMove),e.element.removeEventListener("mouseout",s._onMouseOut),s.hideTask=setTimeout(s.hideFinish,1e3*s.showTimeout)},hideCancel(){s.hideTask&&(clearTimeout(s.hideTask),s.hideTask=null)},hideFinish(){s.showTimeoutStatus=!0},update(){if(!s.current)return;const e=s._fetchTooltipElement();if("none"===e.style.display)return;const n=s._fetchTooltipPosition(e);e.style.top=`${n.y}px`,e.style.left=`${n.x}px`},_onMouseOut(){s.hide()},_onMouseMove(e){s.tooltipX=e.clientX+(window.scrollX||window.pageXOffset),s.tooltipY=e.clientY+(window.scrollY||window.pageYOffset),s.update()},_fetchTooltipElement(){if(!s._tooltipElement){const e=document.createElement("div");e.className="tooltip",e.innerHTML="<b><i><i><i><span></span></i></i></i></b>",e.style.display="none",document.body.appendChild(e),s._tooltipElement=e}return s._tooltipElement},_fetchTooltipPosition(e){let n,i;const t=Element.getDimensions(e),a=document.viewport.getDimensions(),r=document.viewport.getScrollOffsets(),o=a.width+r.left-s.tooltipX,d=s.tooltipX-r.left,l=s.tooltipY-r.top,c=a.height+r.top-s.tooltipY;return n=o>t.width+s.minDelta+s.xOffsetRight?s.tooltipX+s.xOffsetRight:d>t.width+s.minDelta+s.xOffsetLeft?s.tooltipX-t.width-s.xOffsetLeft:s.tooltipX-(t.width+s.xOffsetLeft)/2,i=c>t.height+s.minDelta+s.yOffsetBottom?s.tooltipY+s.yOffsetBottom:l>t.height+s.minDelta+s.yOffsetTop?s.tooltipY-t.height-s.yOffsetTop:s.tooltipY-(t.height+s.yOffsetTop)/2,n<0&&(n=s.minDelta),{x:n,y:i}}};window.addEventListener("load",(()=>{s.initData()})),s.Instance=class{constructor(e,n){(0,t.default)(this,"set",(()=>{s.set(this)})),this.element="string"==typeof e?document.getElementById(e):e,this.config=n,this.element.removeEventListener("mouseover",this.set),this.element.addEventListener("mouseover",this.set)}setText(e){this.config.text=(0,a.default)(e)}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>t});const t=e=>String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},(e,n,i)=>{"use strict";i.r(n)},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>c});var t=i(93),a=i(101),s=i(118),r=i(268),o=i(269),d=i(270);class l{static addSection(e,n){return this.sections[e]=new l(n),r.default.notify({name:e,messages:n},"plesk:addedLocaleSection"),this.sections[e]}static addSections(e){return Object.entries(e).forEach((([e,n])=>{this.sections[e]=new l(n)})),r.default.notify({sections:e},"plesk:addedLocaleSections"),this.sections}static getSection(e){return this.sections[e]?this.sections[e]:new l}static getTranslate(e){return n=>(0,d.jsx)(o.default,{namespace:e,...n})}static async loadSections(e,n){const i=e.filter((e=>n||!this.sections[e]));if(i.length){const e=i.map((e=>`sections[]=${encodeURIComponent(e)}`));n&&e.push(`locale=${encodeURIComponent(n)}`);try{const n=await s.default.get(`/cp/locale?${e.join("&")}`);this.addSections(n)}catch{}}return e.map((e=>this.getSection(e)))}static async loadSection(e){const[n]=await this.loadSections([e]);return n}constructor(e={}){this.messages=e}lmsg(e,n){const i=this.messages[e];return void 0===i?`[${e}]`:void 0===n?i:Object.keys(n).reduce(((e,i)=>e.replace(`%%${i}%%`,n[i])),i)}formatMessage(e,n){return new a.default(this.lmsg(e,n),document.documentElement.lang||"en-US").format(n)}}(0,t.default)(l,"sections",{});const c=l},,,,,,,,,,,,,,,,,,(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>d});var t=i(119),a=i(265),s=i(266),r=i(267);const o=(e,n={},i=0)=>{window.Ajax&&window.Ajax.activeRequestCount++;const t={"X-Requested-With":"XMLHttpRequest"},s=document.getElementById("forgery_protection_token");return s&&(t["X-Forgery-Protection-Token"]=s.content),n={credentials:"same-origin",...n,headers:{...t,...n.headers}},fetch(e,n).then((e=>400===e.status?(window.location.reload(),new Promise(r.default)):e.ok?e.json():e.headers.get("Content-Type")?.startsWith("application/json")?e.json().then((e=>Promise.reject(new Error(e.message??JSON.stringify(e))))):e.text().then((e=>Promise.reject(new Error(e)))))).catch((t=>{if(t instanceof TypeError&&(0,a.isNetworkError)(t)){if(i>0)return new Promise((e=>setTimeout((()=>e()),500))).then((()=>o(e,n,--i)));throw t}throw t})).finally((()=>{window.Ajax&&window.Ajax.activeRequestCount--}))},d={get:(e,n={})=>o((0,s.default)(e,n),{method:"GET"},3),post:(e,n={})=>{t.default.dispatchAction("REQUEST",{url:e});const i={};let a;return n instanceof FormData?a=n:(a=JSON.stringify(n),i["Content-Type"]="application/json; charset=utf-8"),o(e,{method:"POST",headers:i,body:a})}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>b,getUrl:()=>l,prepareNodeData:()=>u,request:()=>k});var t=i(120),a=i.n(t),s=i(260),r=i.n(s);Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector);const o=document.createElement("a"),d=e=>{o.href=e;const{pathname:n,search:i,hash:t}=o,a=(({pathname:e,search:n})=>{const i=e.match(/^\/smb\/account\/switch\//i)?"returnUrl":"pageUrl",t=new RegExp(`${i}=([^&]*)`).exec(n);if(t&&t[1])try{return decodeURIComponent(t[1])}catch{}return null})(o);if(a)return d(a);if([/^\/smb\/file-manager\//i,/^\/(admin|smb)\/backup\//i,/\/hosting\/web-directories\//i].some((e=>n.match(e))))return n;const s=[/\[searchText]=[^&]*/g,/\[sql_query]=[^&]*/g].reduce(((e,n)=>e.replace(n,"")),i);return n+s+t},l=e=>{return e&&!r()(e,{protocols:["http","https"],require_host:!1})?null:e&&e.match(/^(?:[a-z]+:)?\/\//i)?(n=e,[/^https?:\/\/([\w-]+\.)*plesk\.com/i,/^https?:\/\/(www\.)?facebook\.com\/(groups\/)?plesk$/i,/^https?:\/\/(www\.)?twitter\.com\/plesk$/i].some((e=>n.match(e)))?n.split("?")[0]:null):d(e||window.location.href);var n},c=e=>{if(!e||!e.localName)return null;let n=e.localName.toLowerCase();if(e.id&&(n+=`#${e.id}`),e.classList)for(let i=0,t=e.classList.length;i<t;++i)n+=`.${e.classList[i]}`;return n},m=(e,n)=>{let i=(e=>{let{target:n}=e;const{currentTarget:i,type:t}=e;return i&&i.tagName&&("load"===t||"error"===t||"click"===t&&"input"===i.tagName.toLowerCase()&&"radio"===i.type)&&(n=i),n.nodeType===Node.TEXT_NODE?n.parentNode:n})(e);if(!n)return i;for(;i;){if(i.nodeType===Node.ELEMENT_NODE&&i.matches(n))return i;i=i.parentNode}return null},u=(e,n,i)=>{const t={};return t.css=((e,n)=>{const i=[];for(let t=0;e&&e.nodeType===Node.ELEMENT_NODE&&t<n;e=e.parentNode,t++)i.splice(0,0,c(e));return i.length?i.join(" "):null})(e,5),e.id&&(t.id=e.id),i&&i.attributes&&i.attributes.forEach((n=>{if(!e.hasAttribute(n))return;const i="href"===n?l(e.getAttribute(n)):e.getAttribute(n);i&&(t[n]=i)})),["id","type","action",i&&i.dataset?i.dataset:[]].forEach((n=>{n in e.dataset&&("dataset"in t||(t.dataset={}),t.dataset[n]=e.dataset[n])})),t},p=e=>{const n={"|":encodeURIComponent("|"),"\n":encodeURIComponent("\n")};return e.map((e=>e?(Object.entries(n).forEach((([n,i])=>{e=e.replace(new RegExp(`\\${n}`,"g"),i)})),e):""))};let v,f,h=!1,g={};const k=(e,n,i)=>{const t={timestamp:(new Date).toISOString(),instanceId:f.instanceId,accountLevel:f.accountLevel,accountId:f.accountId,sessionId:f.sessionId,path:e.url||l(),action:e.name||null,result:i||null},s=((e,n)=>{const i={};e.post&&n&&(e.post.self&&e.post.self.forEach((function(e){if("value"===e)return;const t=n.getAttribute(e);t&&(i[e]=t)})),e.post.selfText&&(i.text=n.innerText)),e.data&&Object.keys(e.data).forEach((function(n){i[n]=e.data[n]}));const t=(e=>{if(!e||!e.parentElement)return[];let n=e;const i=[];for(;n;)i.push(n.dataset.type),n=n.parentElement.closest("[data-type]");return i.length>1?i.slice(1):[]})(n);return t.length>0&&(i.parents=t),i})(e,n);((e,n,i)=>{if(!n.sessionId)return window.localStorage.getItem("uat-aid")||window.localStorage.setItem("uat-aid",Math.random().toString(36).slice(2)),void(i["uat-aid"]=window.localStorage.getItem("uat-aid"));"LOGIN"===e.name&&window.localStorage.getItem("uat-aid")&&(i["uat-aid"]=window.localStorage.getItem("uat-aid"),window.localStorage.removeItem("uat-aid"))})(e,f,s),f.parentId&&(s.parentId=f.parentId),Object.keys(s).length&&(t.additionalData=JSON.stringify(s)),"function"==typeof f.logger&&f.logger(t),f.firehose&&(v||(v=new(a())(f.firehose)),v.putRecord({DeliveryStreamName:f.sessionId?f.firehose.stream:f.firehose.noSessionStream,Record:{Data:`${p(Object.values(t)).join("|")}\n`}},(()=>{})))};let _={contentLoad(e,n,i){"loading"===document.readyState?window.addEventListener("load",(function(e){i.data=i.data||{},f.extensions&&(i.data.extensions=f.extensions),setTimeout((()=>{if(window.performance){const e=window.performance.timing;i.data.pageLoadTime=e.loadEventEnd-e.navigationStart,i.data.requestTime=e.responseEnd-e.requestStart,i.data.renderTime=e.domComplete-e.domLoading}k(i,e.target)}),0)})):k(i,document)},historyReplaceState(e,n,i){window.history.replaceState=new Proxy(window.history.replaceState,{apply:(e,n,t)=>(i.data=i.data||{},f.extensions&&(i.data.extensions=f.extensions),k(i,document),e.apply(n,t))})},click:({elements:e},n,i,t)=>{document.addEventListener(t,(function(n){if(!n.uatHandled)for(let t=0;t<e.length;t++){let a,{selector:s}=e[t];if(s){s=Array.isArray(s)?s:[s];for(let e=0;e<s.length&&!a;e++)a=m(n,s[e])}if(a){n.uatHandled=!0,k({...i,name:(a.dataset.action||i.name).toUpperCase(),data:u(a,n.target,e[t])},a);break}}}),!0)}},S=[{expects:[{contentLoad:{}}]},{expects:[{historyReplaceState:{}}]},{name:"CLICK",expects:[{click:{elements:[{selector:"[data-action]"},{selector:"a",attributes:["href"]},{selector:"button"},{selector:['[class*="commonButton"]','[class*="btn"]','[class*="link"]','[class*="hint"]','[class*="button"]','[class*="control"]','[class*="close"]']},{selector:'[role="button"]'}]}}]}];const b={init(e){e&&!h&&(f=e,Object.keys(g).forEach((e=>{g[e]()})),S.forEach((function(e){e.expects.forEach((function(n){Object.keys(n).forEach((function(i){_[i]&&_[i](n[i],n,e,i)}))}))})),h=!0)},setPatches(e){g=e(g)},setActions(e){S=e(S)},setWatchers(e){_=e(_)},setLogger(e){f.logger=e},dispatchAction(e,n){h&&k({name:e,url:l(),data:n})},getConfig:()=>f}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,()=>{},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,(e,n,i)=>{"use strict";i.r(n),i.d(n,{isNetworkError:()=>t});const t=e=>["Failed to fetch","NetworkError when attempting to fetch resource.","Fetch API cannot load","Network request failed"].some((n=>e.message.startsWith(n)))},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>a});const t=e=>{if(!e)return{};const n=e.match(/([^?#]*)(#.*)?$/);return[...new URLSearchParams(n[1]).entries()].reduce(((e,[n,i])=>(e.hasOwnProperty(n)?Array.isArray(e[n])?e[n].push(i):e[n]=[e[n],i]:e[n]=i,e)),{})},a=(e,n)=>{if("string"==typeof n){const i=e.split("?",2),a=(n=n.startsWith("/")||n.startsWith("?")?n:`?${n}`).split("?",2);e=i[0].replace(/\/+$/,"")+a[0],n={...t(i[1]||""),...t(a[1]||"")}}return"[object Object]"===Object.prototype.toString.call(n)&&(n=Object.keys(n).map((function(e){return void 0===n[e]?e:`${e}=${encodeURIComponent(n[e])}`})).join("&")),n?e+(-1!==e.indexOf("?")?"&":"?")+n:e}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>t});const t=()=>{}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>s});const t=new Map,a=e=>(t.has(e)||t.set(e,[]),t.get(e));const s=class{static append(e,n){a(n).push(e)}static addEventListener(e,n){this.append(n,e)}static appendAndCall(e,n){a(n).push(e),e()}static notify(e,n){a(n).forEach((n=>n(e)))}static remove(e,n){const i=a(n).indexOf(e);-1!==i&&a(n).splice(i,1)}static removeEventListener(e,n){this.remove(n,e)}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>d});var t=i(270),a=i(272),s=i.n(a),r=i(271);const o=({component:e=t.Fragment,...n})=>(0,t.jsx)(r.Translate,{component:e,...n});o.propTypes={component:s().elementType};const d=o},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>s});var t=i(271),a={};for(const e in t)"default"!==e&&(a[e]=()=>t[e]);i.d(n,a);const s=t},e=>{"use strict";e.exports=window.PleskUiLibrary},,,,(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});var react_dom_client__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(276),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(270),_sentry_browser__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(277),_component__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(92),_emptyFn__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(267);const addScript=e=>new Promise(((n,i)=>{const t=document.createElement("script");t.setAttribute("src",e),t.onload=n,t.onerror=i,document.body.appendChild(t)})),evalScripts=string=>{const scriptFragment="<script[^>]*>([\\S\\s]*?)</script\\s*>",matchAll=new RegExp(scriptFragment,"img"),matchOne=new RegExp(scriptFragment,"im"),scripts=string.match(matchAll)?.map((e=>(e.match(matchOne)||["",""])[1]));scripts?.forEach((script=>{try{eval(script)}catch(e){(0,_sentry_browser__WEBPACK_IMPORTED_MODULE_4__.captureException)(e,(e=>{e.setExtras({script})})),console?.error(e)}}))},render=(e,n,i="bottom")=>{if(n)if("inner"===i&&(e.innerHTML="",i="bottom"),Array.isArray(n))n.forEach((n=>{render(e,n,i)}));else if("function"!=typeof n){if(n instanceof _component__WEBPACK_IMPORTED_MODULE_2__.Component)return n.setRenderTarget(e),i&&(n._renderMode=i),void n.render();if((0,react__WEBPACK_IMPORTED_MODULE_1__.isValidElement)(n))(e._jswReactRootContainer||=(0,react_dom_client__WEBPACK_IMPORTED_MODULE_0__.createRoot)(e)).render(n);else{if("[object Object]"===Object.prototype.toString.call(n)&&n.tag){const e={...n.attrs};Object.keys(e).forEach((function(n){void 0===e[n]&&delete e[n]}));const i="function"==typeof e.onrender?e.onrender:_emptyFn__WEBPACK_IMPORTED_MODULE_3__.default;delete e.onrender;const t={};Object.keys(e).forEach((n=>{"function"==typeof e[n]&&0===n.indexOf("on")&&(t[n.slice(2)]=e[n],delete e[n])}));const a=document.createElement(n.tag);Object.keys(e).forEach((n=>{!0===e[n]?a.setAttribute(n,n):null!==e[n]&&!1!==e[n]&&a.setAttribute(n,e[n])})),Object.keys(t).forEach((e=>{a.addEventListener(e,t[e])})),render(a,n.children),i(n=a)}switch(i){case"bottom":n instanceof Node?e.insertBefore(n,null):e.insertAdjacentHTML("beforeend",n);break;case"top":n instanceof Node?e.insertBefore(n,e.firstChild):e.insertAdjacentHTML("afterbegin",n);break;case"before":n instanceof Node?e.parentNode.insertBefore(n,e):e.insertAdjacentHTML("beforebegin",n);break;case"after":case"replace":n instanceof Node?e.parentNode.insertBefore(n,e.nextSibling):e.insertAdjacentHTML("afterend",n),"replace"===i&&e.parentNode.removeChild(e);break;default:throw new Error(`Unsupported renderMode for render(): ${i}`)}"string"==typeof n&&setTimeout((async()=>{const e=/<script.*?src=("|')(.*?)("|').*?><\/script>/gi;let i;for(;null!==(i=e.exec(n));)try{await addScript(i[2])}catch{}evalScripts(n)}),10)}}else render(e,n(),i)},__WEBPACK_DEFAULT_EXPORT__=render},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>c,priority:()=>o});var t=i(277);const a="high",s="normal",r="low",o={[a]:a,[s]:s,[r]:r},d={};let l=!1;const c=(e,n)=>{"function"==typeof e&&(n=e,e=s);const i=()=>{try{n()}catch(e){(0,t.captureException)(e),console&&console.error(e)}};l?i():(d[e]||(d[e]=[]),d[e].push(i))};document.onreadystatechange=()=>{if("complete"===document.readyState&&!l){l=!0;const e=[r,s,a];Object.keys(d).sort(((n,i)=>e.indexOf(i)-e.indexOf(n))).forEach((e=>{d[e].forEach(Function.prototype.call,Function.prototype.call)}))}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>s});var t=i(308),a=i(91);const s=(e,n,i={})=>{try{(0,a.default)({componentType:i.componentType||t.StatusMessage,renderTo:"main",renderMode:"top",type:e,message:n,...i})}catch{alert(`${e} | ${n}`)}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{StatusMessage:()=>d});var t=i(92),a=i(309),s=i(275),r=i(310),o=i(118);i(311);class d extends t.Component{_initConfiguration(e){super._initConfiguration(e),this._type=this._getConfigParam("type","error"),this._cls=this._getConfigParam("cls",`msg-box msg-${this._type}`),this._title=this._getConfigParam("title",""),this._message=this._getConfigParam("message",""),this._source=this._getConfigParam("source",null),this._closable=this._getConfigParam("closable",!1),this._onClose=this._getConfigParam("onClose",null);const n=this._getConfigParam("hideUrl",null);n&&(this._closable=!0,this._onClose=e=>{const i=e.target.closest(".msg-box");i.parentNode.removeChild(i),o.default.post((0,a.default)(n))})}_initComponentElement(){super._initComponentElement(),this._source&&(this._componentElement.dataset.source=this._source),(0,s.default)(this._componentElement,(0,r.default)("div",(0,r.default)("div",(0,r.default)("div",(0,r.default)("div",(0,r.default)("div",(0,r.default)("div.msg-content",this._renderCloseButton(),this._renderMessage())))))))}_renderMessage(){return[this._title?`<b>${this._title}:</b> `:null,this._message]}_renderCloseButton(){return this._closable?(0,r.default)("span.close",{onclick:"function"==typeof this._onClose?this._onClose.bind(this):this._onClose}):null}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>t});const t=e=>{if("string"!=typeof e)return null;const n=i.g.Jsw&&i.g.Jsw.baseUrl||"";return"^/"===e.substr(0,2)?e.toString().substr(1):e.startsWith("/plesk/")||e.startsWith("/services/")||e.startsWith("/modules/")||e.startsWith("/admin/")||e.startsWith("/smb/")||e.startsWith("/cp/")||""!==n&&e.startsWith(`${n}/`)||!e.startsWith("/")||e.split("?")[0].endsWith(".php")?e:n+e}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>s});var t=i(270),a=i(92);const s=(e,...n)=>{let i="div";const s=[],r=/(?:(^|#|\.)([^#\.\[\]]+))|(\[.+?\])/g,o=/\[(.+?)(?:=("|'|)(.*?)\2)?\]/;let d;const l=!("[object Object]"!==Object.prototype.toString.call(n[0])||"tag"in n[0]||(0,t.isValidElement)(n[0])||n[0]instanceof a.Component)?n.shift():{};for(;d=r.exec(e);)if(""===d[1]&&d[2])i=d[2];else if("#"===d[1])l.id=d[2];else if("."===d[1])s.push(d[2]);else if("["===d[3][0]){const e=o.exec(d[3]);l[e[1]]=e[3]||!e[2]||""}"string"==typeof l.class&&""!==l.class&&s.push(l.class),s.length&&(l.class=s.join(" "));return{tag:i,attrs:l,children:1===n.length&&Array.isArray(n[0])?n[0]:n}}},(e,n,i)=>{"use strict";i.r(n)},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>a});var t=i(313);const a=()=>{(0,t.default)({...(0,t.default)(),status:[]});const e=document.getElementById("main");e&&[".msg-error",".msg-info",".msg-warning"].forEach((n=>{e.querySelectorAll(`${n}:not([data-rendered-by-react])`).forEach((e=>{e.parentNode.removeChild(e)}))}))}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>o,usePageData:()=>r});var t=i(314),a=i(324);const s=(0,t.makeVar)({}),r=()=>(0,a.useReactiveVar)(s),o=s},,,,,,,,,,,,,,,,,,,,,,,(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>r});var t=i(307),a=i(312),s=i(98);const r=e=>{(0,a.default)();let n=`Internal error<pre>${(0,s.default)(e)}</pre>`;try{const i=JSON.parse(e);"message"in i&&"kbArticleUrl"in i&&(n=`<pre>${(0,s.default)(i.message)}</pre>`,n+=`<a href="${i.kbArticleUrl}" target="_blank">Search for related Knowledge Base articles</a>`)}catch{}(0,t.default)("error",n)}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>a});var t=i(98);const a=e=>(0,t.default)(e).replace(/"/g,"&quot;")},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>t});const t=e=>String(e).replace(/&amp;/g,"&").replace(/&nbsp;/g," ").replace(/&quot;/g,'"').replace(/&apos;/g,"'").replace(/&lt;/g,"<").replace(/&gt;/g,">")},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>t});const t=(e,n)=>{if(document.createEvent){const i=document.createEvent("HTMLEvents");return i.initEvent("dataavailable",!0,!0),i.eventName=n,void e.dispatchEvent(i)}const i=document.createEventObject();i.eventType="ondataavailable",i.eventName=n,e.fireEvent(i.eventType,i)}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{DOWN_ARROW:()=>d,ENTER:()=>a,ESC:()=>t,LEFT_ARROW:()=>s,RIGHT_ARROW:()=>o,UP_ARROW:()=>r,default:()=>l});const t=27,a=13,s=37,r=38,o=39,d=40,l={ESC:t,ENTER:a,LEFT_ARROW:s,UP_ARROW:r,RIGHT_ARROW:o,DOWN_ARROW:d}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{Hint:()=>r});var t=i(92),a=i(342),s=i(275);i(343);class r extends t.Component{_initConfiguration(e){super._initConfiguration({tag:"p",...e})}_initComponentElement(){if(super._initComponentElement(),this._contentElement=this._componentElement,this.setHint(this._getConfigParam("hint","")),this._getConfigParam("expandable",!1)){const e=(0,a.createHtmlElement)("div",{class:"screen-description"}),n=(0,a.createHtmlElement)("div",{class:"screen-description-wrap"}),i=(0,a.createHtmlElement)("span",{class:"screen-description-control"});i.addEventListener("click",(e=>{e.target.closest(".screen-description").classList.add("expanded")})),(0,s.default)(n,this._contentElement),(0,s.default)(n,i),(0,s.default)(e,n),this._componentElement=e,this._screenControl=()=>{Element.getWidth(e)>Element.getWidth(n)?i.classList.add("off"):i.classList.remove("off")}}}_addEvents(){super._addEvents(),this._screenControl&&(window.addEventListener("resize",this._screenControl),this._screenControl())}setHint(e){this._contentElement.innerHTML=e,this._screenControl?.()}remove(){this._screenControl&&window.removeEventListener("resize",this._screenControl),super.remove()}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{createHtmlElement:()=>t});const t=(e,n={})=>{const i=document.createElement(e);return Object.entries(n).forEach((([e,n])=>{null!==n&&!1!==n&&i.setAttribute(e,n)})),i}},(e,n,i)=>{"use strict";i.r(n)},(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Button:()=>Button});var _component__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(92),_prepareUrl__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(309),_escapeHtml__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(98);class Button extends _component__WEBPACK_IMPORTED_MODULE_0__.Component{_initConfiguration(config){super._initConfiguration({tag:"a",...config}),this._handler=this._getConfigParam("handler",!1),"string"==typeof this._handler&&eval(`this._handler = ${this._handler}`),this._title=this._getConfigParam("title",""),this._rightIcon=this._getConfigParam("rightIcon",""),this._cls=this._getConfigParam("cls","b-btn"+(this._title?"":" btn-icon-only")),this._disabledClass=this._getConfigParam("disabledClass","btn-disabled"),this._isNew=this._getConfigParam("isNew",!1),this._newTitle=this._getConfigParam("newTitle","")}_initComponentElement(){super._initComponentElement(),this._componentElement.innerHTML=`<i><i><i><span>${(0,_escapeHtml__WEBPACK_IMPORTED_MODULE_2__.default)(this._title)}${this._isNew?` <span class="badge-new">${this._newTitle}</span>`:""}${this._rightIcon}</span></i></i></i>`,this._initVisibility()}_initVisibility(){this._disabled=this._getConfigParam("disabled",!1),this._disabled?(this._disabled=!1,this.disable()):(this._disabled=!0,this.enable())}_addAttribute(e,n){null!=n&&this._componentElement.setAttribute(e,n)}enable(){if(!this._disabled)return;this._disabled=!1;let e=this._config.addCls||"";e="string"==typeof e?e.split(" ").filter((e=>e)):[e],e.forEach((e=>{this._componentElement.classList.add(e),this._componentElement.classList.remove(`${e}-disabled`)})),this._componentElement.classList.remove(this._disabledClass),this._addAttribute("href",(0,_prepareUrl__WEBPACK_IMPORTED_MODULE_1__.default)(this._getConfigParam("href","javascript:;"))),this._addAttribute("target",this._getConfigParam("target",null)),this._addProgressHandler(),this._handler&&this.addEventObserver("click",this._handler)}disable(){if(this._disabled)return;this._disabled=!0,this._componentElement.classList.add(this._disabledClass);let e=this._config.addCls||"";e="string"==typeof e?e.split(" ").filter((e=>e)):[e],e.forEach((e=>{this._componentElement.classList.add(`${e}-disabled`),this._componentElement.classList.remove(e)})),this._componentElement.removeAttribute("href"),this._componentElement.removeAttribute("target"),this._handler&&this.removeEventObserver("click",this._handler)}_addProgressHandler(){}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{SmallButton:()=>a});var t=i(344);class a extends t.Button{_initConfiguration(e){super._initConfiguration(e),this._cls=this._getConfigParam("cls","s-btn"+(this._title?"":" btn-icon-only"))}}a.subclasses=[]},(e,n,i)=>{"use strict";i.r(n),i.d(n,{BigButton:()=>r});var t=i(344),a=i(275),s=i(98);class r extends t.Button{_initConfiguration(e){super._initConfiguration({cls:"tool-block",disabledClass:"tool-block-disabled",...e})}_initComponentElement(){super._initComponentElement();let e="";this._getConfigParam("title")&&(e+=`<span class="tool-name">${(0,s.default)(this._getConfigParam("title"))}</span>`);let n="";if(Array.isArray(this._getConfigParam("additionalComments"))&&(this._getConfigParam("additionalComments").forEach((e=>{n+=`${(0,s.default)(e)}<br/>`})),n=`<span>${n}</span>`),this._getConfigParam("comment")&&(n+=(0,s.default)(this._getConfigParam("comment"))),n.length&&(e+=`<span class="tool-info">${n}</span>`),this._getConfigParam("icon")){e=`<span class="tool-icon"><img src="${this._getConfigParam("icon")}"></span>`+e}this._componentElement.innerHTML=e}_addProgressHandler(){this._getConfigParam("indicateProgress",!1)&&this.addEventObserver("click",(()=>{this._componentElement.style.display="none",(0,a.default)(this._componentElement.parentNode,`<div class="ajax-loading">${this._config.waitMessage}</div>`)}))}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{SplitButton:()=>c});var t=i(92),a=i(97),s=i(275),r=i(310),o=i(98),d=i(267),l=i(342);class c extends t.Component{_initConfiguration(e){super._initConfiguration({cls:"btn-group",...e}),this.title=this._getConfigParam("title",""),this.isAction=this._getConfigParam("isAction",!1),this.isDefault=this._getConfigParam("isDefault",!1),this.isMenuFlip=this._getConfigParam("isMenuFlip",!1),this.onclick=this._getConfigParam("onclick",d.default),this.items=this._getConfigParam("items",[]),this.isScrollable=this._getConfigParam("isScrollable")}_initComponentElement(){super._initComponentElement(),(0,s.default)(this._componentElement,[(0,r.default)("button.btn"+(this.isAction?".btn-primary":""),{type:this.isDefault?"submit":"button",onclick:this.onclick},(0,o.default)(this.title)),(0,r.default)("button.btn.dropdown-toggle",{type:"button",onclick:this.openDropdown.bind(this)},(0,r.default)("em.caret")),(0,r.default)(`ul.dropdown-menu${this.isMenuFlip?".dropdown-menu-flip":""}${this.isScrollable?".dropdown-scrollable":""}`)]),Array.isArray(this.items)&&this._initItems()}_initItems(){this.items.forEach((e=>{const n=(0,l.createHtmlElement)("a",{id:e.id||null,href:e.href||null,target:e.newWindow?"_blank":null});n.innerHTML=(0,o.default)(e.title);const i=(0,l.createHtmlElement)("li",{class:(e.submenu?"dropdown-submenu":"")+(this.isMenuFlip?" to-left":"")});(0,s.default)(i,n),e.submenu&&(0,s.default)(i,'<ul class="dropdown-menu"></ul>'),(0,s.default)(this._componentElement.querySelector(".dropdown-menu"),i),n.addEventListener("click",e.onclick||d.default),e.tooltip&&a.Tooltip.init(n,{text:e.tooltip})}))}_addTooltips(){const e=this._getConfigParam("description");e&&(this._tooltip=a.Tooltip.init(this._componentElement.querySelector("button"),{text:e}))}openDropdown(e){if(e.preventDefault(),e.stopPropagation(),"function"==typeof this.items){const e=this._componentElement.querySelector(".dropdown-menu");e.innerHTML=`<div class="ajax-loading">${this.lmsg("loading")}</div>`;const{items:n}=this;this.items=[],n().then((n=>{e.innerHTML="",this.items=n,this._initItems()}))}this._componentElement.classList.contains("open")||document.querySelectorAll(".btn-group").forEach((e=>{e.classList.remove("open")})),this._componentElement.classList.toggle("open")}_addEvents(){const e=e=>{const i=e.querySelector(".dropdown-menu");e.classList.contains("open")||void 0===i||i.innerHTML.trim()||this.items[this.items.length-1].submenu&&this.items[this.items.length-1].submenu(e.querySelector("a").nextElementSibling),n(e),e.classList.add("open"),clearTimeout(e._menuTimeout)},n=e=>{e.classList.remove("open"),clearTimeout(e._menuTimeout)};this._componentElement.querySelectorAll(".dropdown-menu > li").forEach((e=>{e.addEventListener("mouseover",(()=>{e.classList.contains("dropdown-submenu")&&e.classList.contains("open")||e.parentNode.querySelectorAll(".dropdown-submenu.open").forEach((e=>{n(e)}))}))}));this._componentElement.querySelectorAll(".dropdown-submenu").forEach((i=>{i.addEventListener("mouseover",(()=>{e(i)}));const t=i.querySelector("a");t.addEventListener("touchend",(()=>{i.classList.contains("open")?n(i):e(i)})),t.addEventListener("click",(e=>{e.stopPropagation(),e.preventDefault()}))})),this._componentElement.querySelectorAll(".dropdown-submenu").forEach((e=>{e.addEventListener("mouseleave",(()=>{clearTimeout(e._menuTimeout),e._menuTimeout=setTimeout((()=>{n(e)}),500)}))})),document.body.addEventListener("click",(()=>{this._componentElement.classList.remove("open")}))}disable(){const e=this._componentElement.querySelector("button");e.disabled=!0,e.classList.add("disabled");const n=this._componentElement.querySelector(".dropdown-toggle");n.disabled=!0,n.classList.add("disabled"),a.Tooltip.current===this._tooltip&&a.Tooltip.hide()}enable(){const e=this._componentElement.querySelector("button");e.disabled=!1,e.classList.remove("disabled");const n=this._componentElement.querySelector(".dropdown-toggle");n.disabled=!1,n.classList.remove("disabled")}setText(e){this._componentElement.querySelector("button").innerHTML=e}}},(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{CommandButton:()=>CommandButton});var _component__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(92);class CommandButton extends _component__WEBPACK_IMPORTED_MODULE_0__.Component{_initConfiguration(config){super._initConfiguration({tag:"button",...config}),this._handler=this._getConfigParam("handler",!1),"string"==typeof this._handler&&eval(`this._handler = ${this._handler}`),this._value=this._config.value||"",this._tabIndex=this._getConfigParam("tabIndex",null)}_initComponentElement(){super._initComponentElement(),this._componentElement.type="button",this._componentElement.value=this._value,this._componentElement.name=this._config.name,this._componentElement.innerHTML=this._config.title,null!==this._tabIndex&&this._componentElement.setAttribute("tabindex",this._tabIndex),this._initVisibility()}_initVisibility(){this._disabled=this._getConfigParam("disabled",!1),this._disabled?(this._disabled=!1,this.disable()):(this._disabled=!0,this.enable())}setHandler(e){this._handler&&!this._disabled&&this.removeEventObserver("click",this._handler),this._handler=e,this._disabled||this.addEventObserver("click",this._handler)}enable(){this._disabled&&(this._disabled=!1,"send"!==this._config.name&&"apply"!==this._config.name||this._componentElement.classList.add("action"),this._componentElement.classList.remove("disabled"),this._componentElement.disabled=!1,this._handler&&this.addEventObserver("click",this._handler))}disable(){this._disabled||(this._disabled=!0,this._componentElement.disabled=!0,"send"!==this._config.name&&"apply"!==this._config.name||this._componentElement.classList.remove("action"),this._componentElement.classList.add("disabled"),this._handler&&this.removeEventObserver("click",this._handler))}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{CustomButton:()=>s});var t=i(350);const{Button:a}=t.toollist;class s extends a{getImagePath(e){return e}}window.Form&&(Form.Element.Methods.disable=e=>(e.disabled="disabled",e.classList.add("disabled"),e),Form.Element.Methods.enable=e=>(e.disabled=!1,e.classList.remove("disabled"),e),Element.addMethods())},(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{ToolList:()=>ToolList,toollist:()=>toollist});var _container__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(351),_component__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(92),_tooltip__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(97),_render__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(275),_createElement__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(310),_escapeAttribute__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(337),_escapeHtml__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(98),helpers_createHtmlElement__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(342),_tool_list_less__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(352);class ToolList extends _container__WEBPACK_IMPORTED_MODULE_0__.Container{_initConfiguration(e){super._initConfiguration(e),this._tools=this._getConfigParam("tools",null),this._cls=this._getConfigParam("cls","tools-list-box"),this._contentAreaId=`${this._id}-tools-list`,Array.isArray(this._tools)&&!this._operations.length&&(this._operations=null)}_initComponentElement(){super._initComponentElement(),this._updateComponentElement(`<div id="${this._id}-box-area" class="box-area"><div id="${this._id}-content" class="content"><div id="${this._id}-content-area" class="content-area"><ul id="${this._id}-tools-list" class="tools-list"></ul></div></div></div>`)}render(){super.render(),_tooltip__WEBPACK_IMPORTED_MODULE_2__.Tooltip.initData(this._componentElement)}}class Panel extends _container__WEBPACK_IMPORTED_MODULE_0__.Container{_initConfiguration(e){super._initConfiguration(e),this._contentAreaId=`${this._id}-tools-list`,this._image=this._getConfigParam("image",""),this._title=this._getConfigParam("title","")}_initComponentElement(){const e={class:"tools-item"},n=this._getConfigParam("id",null);n&&(e.id=n),this._componentElement=(0,helpers_createHtmlElement__WEBPACK_IMPORTED_MODULE_7__.createHtmlElement)("li",e),(0,_render__WEBPACK_IMPORTED_MODULE_3__.default)(this._componentElement,(0,_createElement__WEBPACK_IMPORTED_MODULE_4__.default)("div",{class:"tool-block"},(0,_createElement__WEBPACK_IMPORTED_MODULE_4__.default)("span",{class:"tool-icon"},(0,_createElement__WEBPACK_IMPORTED_MODULE_4__.default)("img",{src:this._image})),(0,_createElement__WEBPACK_IMPORTED_MODULE_4__.default)("span",{class:"tool-name"},this._title),(0,_createElement__WEBPACK_IMPORTED_MODULE_4__.default)("ul",{id:`${this._id}-tools-list`,class:"tool-info"})))}}class Item extends _component__WEBPACK_IMPORTED_MODULE_1__.Component{_initConfiguration(config){super._initConfiguration(config),this._handler=this._getConfigParam("handler",!1),"string"==typeof this._handler&&eval(`this._handler = ${this._handler}`),this._href=this._getConfigParam("href","#"),this._target=this._getConfigParam("target",null),this._title=this._getConfigParam("title",""),this._disabled=this._getConfigParam("disabled",!1),this._attention=this._getConfigParam("attention",!1)}_initComponentElement(){const e=this._disabled?"#":this._href;let n=(0,_escapeHtml__WEBPACK_IMPORTED_MODULE_6__.default)(this._title);if(this._attention&&(n=(0,helpers_createHtmlElement__WEBPACK_IMPORTED_MODULE_7__.createHtmlElement)("span",{class:"hint-attention"}),n.innerHTML=n),this._componentElement=(0,helpers_createHtmlElement__WEBPACK_IMPORTED_MODULE_7__.createHtmlElement)("li",{id:this._getConfigParam("id",null)}).update((0,helpers_createHtmlElement__WEBPACK_IMPORTED_MODULE_7__.createHtmlElement)("a",{href:e,target:this._target}).update(n)),this._handler&&!this._disabled){const e=this._handler;this._componentElement.querySelector("a").addEventListener("click",(n=>{n.preventDefault(),e.call(this,n)}))}}_addTooltips(){const e=this._getConfigParam("description");e&&(this._tooltip=_tooltip__WEBPACK_IMPORTED_MODULE_2__.Tooltip.init(this._componentElement.querySelector("a"),{text:e}))}}class Button extends _component__WEBPACK_IMPORTED_MODULE_1__.Component{_initConfiguration(config){super._initConfiguration(config),this._handler=this._getConfigParam("handler",!1),"string"==typeof this._handler&&eval(`this._handler = ${this._handler}`),this._href=this._getConfigParam("href","#"),this._target=this._getConfigParam("target",null),this._image=this._getConfigParam("image",""),this._disabledImage=this._getConfigParam("disabledImage",this._image),this._title=this._getConfigParam("title",""),this._description=this._getConfigParam("description",""),this._disabled=this._getConfigParam("disabled",!1)}_initComponentElement(){const e={class:"tools-item"},n=this._getConfigParam("id",null);let i,t;n&&(e.id=n),this._componentElement=(0,helpers_createHtmlElement__WEBPACK_IMPORTED_MODULE_7__.createHtmlElement)("li",e);let a="tool-block";this._disabled?(a+=" tool-block-disabled",i="#",t=this.getImagePath(this._disabledImage)):(i=this._href,t=this.getImagePath(this._image)),(0,_render__WEBPACK_IMPORTED_MODULE_3__.default)(this._componentElement,(0,_createElement__WEBPACK_IMPORTED_MODULE_4__.default)("a",{class:a,target:this._target,href:i},`<span class="tool-icon"><img src="${(0,_escapeAttribute__WEBPACK_IMPORTED_MODULE_5__.default)(t)}"/></span><span class="tool-name">${(0,_escapeHtml__WEBPACK_IMPORTED_MODULE_6__.default)(this._title)}</span><span class="tool-info">${(0,_escapeHtml__WEBPACK_IMPORTED_MODULE_6__.default)(this._description)}</span>`)),this._handler&&!this._disabled&&this._componentElement.addEventListener("click",this._handler)}_addTooltips(){}getImagePath(e){return`${Jsw.skinUrl}/${e}`}}const toollist={Panel,Item,Button}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{Container:()=>r});var t=i(92),a=i(91),s=i(275);class r extends t.Component{_initConfiguration(e){super._initConfiguration(e),this._contentAreaId=this._id,this._initItems()}_initItems(e){e=e||this._getConfigParam("items")||[],this._items=e.filter((function(e){return!!e})).map(a.default)}_renderItems(){this._items.forEach(this._renderItem,this)}_renderItem(e){(0,s.default)(document.getElementById(this._contentAreaId),e)}getItems(){return this._items}getItem(e){return this.getItems().find((n=>n.getId()===e))}render(){super.render(),this._renderItems()}}},(e,n,i)=>{"use strict";i.r(n)},(e,n,i)=>{"use strict";i.r(n),i.d(n,{FormRedirect:()=>m,redirect:()=>l,redirectPost:()=>c,submit:()=>d});var t=i(309),a=i(266),s=i(275),r=i(310),o=i(342);const d=(e,n)=>{const i=("string"==typeof e?document.getElementById(e):e).closest("form");i.noRedirect=n,i.submit()},l=(e,n,i)=>{let a=e,s="get";if("[object Object]"===Object.prototype.toString.call(e)&&(s=e.method||s,n=e.data,i=e.target,a=e.url),(e=>{try{return"javascript:"===new URL(e).protocol}catch{return!1}})(a))throw new Error(`The redirect to this url can not be performed: ${a}`);a=(0,t.default)(a),s=s.toLowerCase(),"post"===s||n&&Object.keys(n).length||i?m.redirect(a,s,n,i):window.location.assign(a)},c=(e,n,i)=>{m.redirect((0,t.default)(e),"post",n,i)},m={redirect(e,n,i,t){(0,s.default)(document.body,(0,r.default)("form",{method:n,target:t,action:(0,a.default)(e,`_randomId=${Math.floor(1e6*Math.random())}`),onrender(e){setTimeout((()=>{e.submit()}),0)}},i?m.subToElements(i):null,document.getElementById("forgery_protection_token")?(0,r.default)("input",{type:"hidden",name:"forgery_protection_token",value:document.getElementById("forgery_protection_token").content}):null))},stringToElements:(e,n)=>[(0,o.createHtmlElement)("input",{type:"hidden",name:n,value:e})],booleanToElements:(e,n)=>[(0,o.createHtmlElement)("input",{type:"hidden",name:n,value:e?1:0})],arrayToElements(e,n){let i=[];return e.forEach((function(e){i=i.concat(m.subToElements(e,"",n))})),i},hashToElements(e,n){let i=[];return $H(e).each((function(e){i=i.concat(m.subToElements(e.value,e.key,n))})),i},subToElements(e,n,i){let t=[];const a=i?`${i}[${n}]`:n;return"string"==typeof e||"number"==typeof e?t=t.concat(m.stringToElements(e,a)):"boolean"==typeof e?t=t.concat(m.booleanToElements(e,a)):Array.isArray(e)?t=t.concat(m.arrayToElements(e,a)):"function"!=typeof e&&(t=t.concat(m.hashToElements(e,a))),t}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{DisplayField:()=>a,Values:()=>s});var t=i(92);class a extends t.Component{_initConfiguration(e){super._initConfiguration({cls:"form-row",...e}),this._valueRenderer=this._getConfigParam("valueRenderer",null)}renderHint(){const e=this._getConfigParam("hint");return e?`<span class="hint">${e}</span>`:""}_initComponentElement(){super._initComponentElement();let e="function"==typeof this._valueRenderer?this._valueRenderer():this._getConfigParam("value","");e="string"==typeof e?[e]:e;let n="";e.forEach((e=>{n+=`<div class="text-value">${e}</div>`})),this._getConfigParam("singleRow",!1)?(1===e.length&&(n=e.valueOf()),this._componentElement.innerHTML=`<div class="single-row">${n}</div>`):this._componentElement.innerHTML=`<div class="field-name">${this._getConfigParam("fieldLabel","")}${this.renderHint()}</div><div class="field-value">${n}</div>`}}class s{constructor(e){this.selector=e.selector,this.formValues={},document.querySelectorAll(this.selector).forEach((e=>{this.formValues[this.getStorageName(e)]=e.value}))}isChanged(){let e=!1;return document.querySelectorAll(this.selector).forEach((n=>{this.formValues[this.getStorageName(n)]!=n.value&&(e=!0)})),e}getStorageName(e){return`${e.getAttribute("type")}/${e.getAttribute("name")}`}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{FormAjax:()=>m});var t=i(92),a=i(353),s=i(268),r=i(307),o=i(312),d=i(336),l=i(275),c=i(98);class m extends t.Component{_initConfiguration(e){this._actionButtonTitle="",super._initConfiguration(e),this._sendButtonId=this._getConfigParam("sendButtonId","btn-send"),this._applyButtonId=this._getConfigParam("applyButtonId","btn-apply"),this._cancelButtonId=this._getConfigParam("cancelButtonId","btn-cancel"),this._confirmationCheckboxId=this._getConfigParam("confirmationCheckboxId","formNeedAttention-attentionConfirmed"),this._submitHandler=this._getConfigParam("submitHandler",(()=>!0))}disable(){[this._sendButtonId,this._applyButtonId,this._cancelButtonId].forEach((e=>{this._toggleButton(e,!0)})),this._toggleCheckbox(this._confirmationCheckboxId,!0);const e=this._getActionButton();e&&(this._actionButtonTitle=e.innerHTML,e.innerHTML=`<span class="wait">${this._config.waitButtonTitle}</span>`)}enable(){[this._sendButtonId,this._applyButtonId,this._cancelButtonId].forEach((e=>{this._toggleButton(e,!1)})),this._toggleCheckbox(this._confirmationCheckboxId,!1);const e=this._getActionButton();e&&(e.innerHTML=this._actionButtonTitle)}_toggleButton(e,n){const i=(0,t.getComponent)(e);i&&i[n?"disable":"enable"]()}_toggleCheckbox(e,n){const i=document.getElementById(e);i&&(i.disabled=n)}_getActionButton(){return document.getElementById(this._componentElement.noRedirect?this._applyButtonId:this._sendButtonId)}_initComponentElement(){if(this._componentElement=document.getElementById(this._id),this._initDisablerOverlay(),!this._componentElement.dataset?.noInitFocus){const e=this._componentElement.querySelector("input, select, textarea");if(e)try{e.focus()}catch{}}this._submitInProgress=!1;const e=e=>{[this._sendButtonId,this._applyButtonId].forEach((n=>this._toggleButton(n,e)))},n=document.getElementById(this._confirmationCheckboxId);n&&(e(!n.checked),n.addEventListener("click",(n=>{e(!n.currentTarget.checked)})))}_addEvents(){this._componentElement._formSubmit=this._componentElement.submit,this._componentElement.submit=this._onSubmit.bind(this),this._componentElement.addEventListener("submit",this._onSubmitEvent.bind(this)),this._addChoiceRadioButtonsOnClickEvent()}_addChoiceRadioButtonsOnClickEvent(){document.querySelectorAll('input[type="radio"]').forEach((e=>{e.closest("div.choice-block")&&e.addEventListener("click",(function(){e.closest("div.choice-block").querySelectorAll("span").forEach((e=>{e.classList.remove("selected"),"0"===e.value&&e.classList.remove("no")})),e.closest("span").classList.add("selected"),"0"===e.value&&e.closest("span").classList.add("no")}))}))}_onSubmitEvent(e){return this._onSubmit(),e.preventDefault(),!1}async _onSubmit(){if(!await this._submitHandler())return!1;if(this._submitInProgress)return!1;if(this._submitInProgress=!0,this._clearMessages(),this.disable(),"multipart/form-data"===this._componentElement.enctype)return this._componentElement._formSubmit(),!0;let e=this._componentElement.getAttribute("action");e||(e=document.location.href),e=e.replace(/#.*$/,"");const n=Form.serialize(this._componentElement);return new Ajax.Request(e,{method:"post",parameters:n,onSuccess:this._onSuccess.bind(this),onFailure:this._onFailure.bind(this)}),!0}_onFailure(e){this._submitInProgress=!1,this._clearMessages(),504===e.status?(0,r.default)("error",this._config.timeoutMessage):(0,d.default)(e.responseText),this.enable()}_onSuccess(e){this._submitInProgress=!1,(0,o.default)();try{const n=JSON.parse(e.responseText);this._processForm(n)}catch{this._clearMessages(),this.enable(),0!=e.status&&(0,d.default)(e.responseText)}}_processForm(e){if("Jsw.Task.ProgressBar.Item"===e.componentType)return(0,t.getComponent)("asyncProgressBarWrapper").progressDialog(e),void s.default.append((n=>{n.id===e.id&&this.enable()}),"plesk:taskComplete");e.redirect?this._processResponseRedirect(e):(this._clearMessages(),this._processResponseStatus(e.status),this._processResponseStatusMessages(e.statusMessages),this._processResponseFormMessages(e.formMessages),this._hasFieldErrors&&this._showFieldErrorArea(),this.enable())}_showFieldErrorArea(){const e=this._componentElement.querySelectorAll(".field-errors");let n=null;e.forEach((e=>{"none"!==e.style.display&&(n=e)}));let i=null,a=n;for(;(a=a.parentNode)&&a.nodeType===Node.ELEMENT_NODE;)"none"===a.style.display&&(i=a.id);if(!i)return;const s=(0,t.getComponent)("form-tab-buttons");s&&s.switchTab(i)}_processResponseStatus(e){"success"!==e&&(this._hasErrors=!0)}_clearMessages(){try{this._componentElement.querySelectorAll(".field-errors").forEach((e=>{e.style.display="none";const n=e.closest(".form-row");n&&n.classList.remove("error"),e.querySelectorAll(".error-hint").forEach((e=>{e.parentNode.removeChild(e)}))}))}catch{}this._hasErrors=!1,this._hasFieldErrors=!1}_processResponseStatusMessages(e){(e||[]).forEach((({status:e,content:n,title:i})=>{this._addFormMessage(e,n,i)}))}_processResponseFormMessages(e){this._processFieldMessages(e,[])}_addFieldMessage(e,n){e.closest(".form-row").classList.add("error"),(0,l.default)(e,`<span class="error-hint">${(0,c.default)(n)}</span>`),e.style.display=""}_processFieldMessage(e,n,i){let t;const a=this._componentElement.querySelector(`#${e.join("-")}`);t=a?a.parentNode.querySelector(".field-errors"):null,t||(t=a?a.closest(".form-row").querySelector(".field-errors"):null),t||(t=this._componentElement.querySelector(`#${e.join("-")}-form-row`).querySelectorAll(".field-errors"),t=t[t.length-1]),this._addFieldMessage(t,i),this._hasFieldErrors=!0}_processFieldMessages(e,n){Array.isArray(e)?e.forEach((e=>{"string"==typeof e?this._processFieldMessage(n,"error",e):(n.push(name),this._processFieldMessages(e,n),n.pop())})):$H(e).each((({key:e,value:i})=>{"string"==typeof i?this._processFieldMessage(n,e,i):(n.push(e),this._processFieldMessages(i,n),n.pop())}))}_addFormMessage(e,n,i){(0,r.default)(e,n,{title:i})}_processResponseRedirect(e){this._componentElement.noRedirect?document.location.reload():e.postData?(0,a.redirectPost)(e.redirect,e.postData,e.target):(0,a.redirect)(e.redirect,null,e.target)}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{ListContainer:()=>s});var t=i(351),a=i(275);class s extends t.Container{_initConfiguration(e){super._initConfiguration({tag:"ul",...e})}_renderItem(e){let n=null;const i=Array.isArray(e)&&!e.length;i||(n=`${this._id}-item-${e.getId()}`);let t=this._getConfigParam("itemClass","");this._getConfigParam("renderLastItemClass","")&&this._items[this._items.length-1]===e&&(t="last"),i&&(t+=` ${this._getConfigParam("emptyItemClass","")}`),t&&(t=` class="${t}"`),(0,a.default)(document.getElementById(this._contentAreaId),`<li ${n?`id="${n}"`:""}${t}></li>`),i||(0,a.default)(document.getElementById(n),e)}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{TwoColumns:()=>s});var t=i(351),a=i(275);class s extends t.Container{_initConfiguration(e){super._initConfiguration({cls:"two-cols-block clearfix",...e}),this._columnCls="first-col"}_initComponentElement(){this._componentElement=document.createElement("div"),this._componentElement.className=this._cls,this._componentElement.innerHTML=`<div id="${this._contentAreaId}" class="columns-wrapper"></div>`}_renderItem(e){const n=`${this._id}-item-${e.getId()}`;(0,a.default)(document.getElementById(this._contentAreaId),`<div class="${this._columnCls}"><div class="column-box" id="${n}"></div></div>`),(0,a.default)(document.getElementById(n),e),this._columnCls="second-col"}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>t});const t={get(e){const n=document.cookie.split("; ");for(let i=0;i<n.length;i++){const t=n[i].split("=");if(e===t[0])return unescape(t[1])}return null},set(e,n,i,t){let a=`${e}=${escape(n)}; `;i&&(a+=`expires=${i}; `),t&&(a+=`path=${t}; `),"https:"===window.location.protocol&&(a+="secure; "),document.cookie=a},setPermanent(e,n,i){const t=new Date;t.setTime(t.getTime()+31536e6);const a=t.toGMTString();this.set(e,n,a,i)},remove(e,n){this.set(e,"","Fri, 31 Dec 1999 23:59:59 GMT",n)}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{Panel:()=>o});var t=i(351),a=i(358),s=i(91),r=i(275);class o extends t.Container{_initConfiguration(e){super._initConfiguration(e),this._title=this._getConfigParam("title",""),this._titleClass=this._getConfigParam("titleClass",""),this._hideContentTitle=this._getConfigParam("hideContentTitle",this._title),this._titleAreaId=`${this._id}-title-area`,this._contentAreaId=`${this._id}-content-area`,this._boxItemsAreaId=`${this._id}-box-area`,this._initBoxItems()}_initBoxItems(){this._boxItems=this._getConfigParam("boxItems",null),null!==this._boxItems&&(this._boxItems=this._boxItems.map(s.default))}_initComponentElement(){super._initComponentElement(),this._updateComponentElement(`<div class="box-area">${this._getTitleHtml()}${this._getSubTitleHtml()}<div id="${this._boxItemsAreaId}"></div><div class="content"><div class="content-area"><div class="content-wrapper" id="${this._contentAreaId}">${this._getConfigParam("html","")}</div></div></div></div>`)}_getTitleHtml(){return this._title?`<div class="title ${this._titleClass?this._titleClass:""}"><div class="title-area" id="${this._titleAreaId}">${"-"===this._title?"":`<h3><span>${this._title}</span></h3>`}</div></div>`:""}_getSubTitleHtml(){return""}render(){super.render(),this._renderBoxItems()}_renderBoxItems(){null!==this._boxItems&&this._boxItems.forEach((function(e){this._renderBoxItem(e)}),this)}_renderBoxItem(e){(0,r.default)(document.getElementById(this._boxItemsAreaId),e)}_isHidden(){const e=a.default.get(`${this._id}-hidden`);return this._idIsRandom||null===e?this._getConfigParam("collapsed",!1):1==e}_setHidden(e){this._getConfigParam("collapsed",!1)==e?a.default.remove(`${this._id}-hidden`):a.default.set(`${this._id}-hidden`,e?1:0)}_addEvents(){super._addEvents(),this._isHidden()?this.hideContent():this.showContent(),this._componentElement.querySelectorAll(`#${this._titleAreaId}`).forEach((e=>{e.addEventListener("click",(()=>{this.toggleContent()}))}))}_updateTitle(e){e&&"-"!==e&&(this._componentElement.querySelector("div.title-area > h3 > span").innerHTML=e)}showContent(){this._componentElement.classList.remove("hide"),this._updateTitle(this._hideContentTitle),this._idIsRandom||this._setHidden(!1)}hideContent(){this._componentElement.classList.add("hide"),this._updateTitle(this._title),this._idIsRandom||this._setHidden(!0)}toggleContent(){this._componentElement.classList.contains("hide")?this.showContent():this.hideContent()}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{AjaxMessageBox:()=>v,MessageBox:()=>p,MultiCheckboxMessageWindow:()=>f,WebspaceFoldersMessageBox:()=>h,messageBox:()=>u});var t=i(361),a=i(336),s=i(310),r=i(309),o=i(98),d=i(100);i(363);const l="TYPE_OK",c="TYPE_YESNO",m="delete",u={TYPE_OK:l,TYPE_YESNO:c,SUBTYPE_DELETE:m,SUBTYPE_TOGGLE:"toggle",SUBTYPE_CONFIRM:"confirm",show(e){const n=((e={})=>e.isWebspace?new h(e):e.isAjax?new f(e):new p(e))(e);return n.show(),n}};class p extends t.ModalDialogBox{_initConfiguration(e){super._initConfiguration(e),this._cls="popup-panel popup-panel-sm popup-panel-centered confirmation-box",this._type=this._getConfigParam("type",c),this._text=this._getConfigParam("text",""),this._subtype=this._getConfigParam("subtype",null),this._description=this._getConfigParam("description",""),this._descriptionWrapperTag=this._getConfigParam("descriptionWrapperTag","p"),this._descriptionDecorator=this._getConfigParam("descriptionDecorator",(e=>e)),this._buttonDefault=this._getConfigParam("buttonDefault",this._type===c?"no":"yes");const n=d.default.getSection("components.buttons");this._buttonTitles={ok:n.lmsg("ok"),yes:n.lmsg(this._subtype===m?"yesRemove":"yes"),no:n.lmsg("no"),wait:n.lmsg("wait"),...this._getConfigParam("buttonTitles")},this._onYesClick=this._getConfigParam("onYesClick",null),this._onNoClick=this._getConfigParam("onNoClick",null),this._onOkClick=this._getConfigParam("onOkClick",null),this._needAttention=this._getConfigParam("needAttention",!1),this._needAttentionText=this._getConfigParam("needAttentionText",""),this._needAttentionBlockSubmit=this._getConfigParam("needAttentionBlockSubmit",!1),this._needAttentionOnChange=this._getConfigParam("needAttentionOnChange",null),c===this._type&&(this._onYesClick?this._onYesClickHandler=this._onYesClick.bind(this):this._onYesClickHandler=this._defaultOnButtonClick.bind(this))}_getDescriptionCode(){const e=e=>`<${this._descriptionWrapperTag}>${e}</${this._descriptionWrapperTag}>`;return Array.isArray(this._description)?this._description.map(e).join(""):this._descriptionDecorator(e(this._description))}_getNeedAttentionCode(){if(!this._needAttention)return"";let e="<hr>";return this._needAttentionBlockSubmit||this._needAttentionOnChange?e+=`<p><span class="b-indent"><span class="b-indent-icon"><input type="checkbox" class="checkbox" id="needAttentionConfirmationCheckbox"></span><label for="needAttentionConfirmationCheckbox">${this._needAttentionText}</label></span></p>`:e+=`<p class="hint-warning">${this._needAttentionText}</p>`,e+="<hr>",e}_initComponentElement(){super._initComponentElement(),this._updateComponentElement((0,s.default)("div.popup-wrapper",(0,s.default)("div.popup-container",(0,s.default)("div.popup-content",(0,s.default)("div.popup-content-area",(0,s.default)("div.confirmation-msg"+(this._subtype?`.mw-${this._subtype}`:""),this._text?(0,s.default)("p",this._text):null,this._getDescriptionCode(),this._getNeedAttentionCode(),(0,s.default)("div.btns-container",this._type===c?[(0,s.default)("button.btn"+(this._subtype===m?".btn-danger":"yes"===this._buttonDefault?".action":""),{type:"button","data-action":"yes"},this._buttonTitles.yes),(0,s.default)("button.btn"+(this._subtype===m?"":"no"===this._buttonDefault?".action":""),{type:"button","data-action":"no"},this._buttonTitles.no)]:this._type===l?[(0,s.default)("button.btn.action",{type:"button","data-action":"yes"},this._buttonTitles.ok)]:null))))))),this._componentElement.style.display="none"}_disableYesButton(){if(c===this._type){const e=this._componentElement.querySelector(".btns-container .btn");e.classList.add("disabled"),e.disabled=!0,e.removeEventListener("click",this._onYesClickHandler)}}_enableYesButton(){if(c===this._type){const e=this._componentElement.querySelector(".btns-container .btn");e.classList.remove("disabled"),e.disabled=!1,e.addEventListener("click",this._onYesClickHandler)}}_addEvents(){super._addEvents();const e=this._componentElement.querySelectorAll("button");if(e.forEach((e=>{e.addEventListener("click",this._defaultOnButtonClick.bind(this))})),c===this._type){if(this._onYesClick){e[0].addEventListener("click",this._onYesClickHandler)}if(this._onNoClick){e[e.length-1].addEventListener("click",(e=>{this._onNoClick(e)}))}if(this._needAttention&&this._needAttentionBlockSubmit){const e=this._componentElement.querySelectorAll("input"),n=e[e.length-1];n.addEventListener("click",(()=>{n.checked?this._enableYesButton():this._disableYesButton()}))}if(this._needAttention&&this._needAttentionOnChange){const e=this._componentElement.querySelectorAll("input"),n=e[e.length-1];n.addEventListener("click",(()=>{this._needAttentionOnChange(n.checked)}))}}if(l===this._type&&this._onOkClick){e[0].addEventListener("click",(e=>{this._onOkClick(e)}))}}_addTooltips(){}_defaultOnButtonClick(){this.hide()}show(){super.show(),setTimeout((()=>{this._componentElement.querySelector(`[data-action="${this._buttonDefault}"]`)?.focus()})),this._needAttention&&this._needAttentionBlockSubmit&&this._disableYesButton()}}p.subclasses=[];class v extends p{_initConfiguration(e){super._initConfiguration(e),this._requestUrl=this._getConfigParam("requestUrl",""),this._requestMethod=this._getConfigParam("requestMethod","post"),this._requestParams=this._getConfigParam("requestParams",""),this._contentContainerId=this._getConfigParam("contentContainerId",`${this._id}contentContainer`),this._confirmationCheckboxId=this._getConfigParam("confirmationCheckboxId",`${this._id}confirmationCheckbox`),this._loadingTitle=this._getConfigParam("loadingTitle",""),this._progress=!1}_getNeedAttentionCode(){return`<div id="${this._contentContainerId}"></div>${super._getNeedAttentionCode()}`}_showSpinner(){c===this._type&&(this._progress=!0,this._componentElement.querySelector("button").innerHTML=`<span class="wait">${this._buttonTitles.wait}</span>`)}_hideSpinner(){c===this._type&&(this._progress=!1,this._componentElement.querySelector("button").innerHTML=this._buttonTitles.yes)}show(){super.show(),this._requestUrl&&!this._progress&&new Ajax.Request((0,r.default)(this._requestUrl),{method:this._requestMethod,parameters:this._requestParams,onCreate:this._onCreate.bind(this),onSuccess:this._onSuccess.bind(this),onFailure:this._onFailure.bind(this)})}_onCreate(){this._disableYesButton(),this._showSpinner()}_onSuccess(){this._hideSpinner(),this._enableYesButton()}_onFailure(){this._hideSpinner(),this._enableYesButton()}}v.superclass=p;class f extends v{_onSuccess(e){this._hideSpinner();const n=JSON.parse(e.responseText),{content:i}=n;let t="";Array.isArray(i)?i.length>0&&(t='<ul class="ul">',i.forEach((e=>{t+=`<li>${e}</li>`})),t+="</ul>"):t=i;let a="";n.description&&(a=`<p><span class="hint-warning">${n.description}</span></p>`);let s="";n.confirmation&&(s=`<p><span class="b-indent"><span class="b-indent-icon"><input type="checkbox" class="checkbox" id="${this._confirmationCheckboxId}"/></span><label for="${this._confirmationCheckboxId}">${n.confirmation}</label></span></p>`),document.getElementById(this._contentContainerId).innerHTML=t+a+s;const r=this._componentElement.querySelectorAll('input[type="checkbox"]');r.forEach((e=>{e.addEventListener("click",(()=>{let e=!0;this._componentElement.querySelectorAll('input[type="checkbox"]').forEach((n=>{n.checked||(e=!1)})),e?this._enableYesButton():this._disableYesButton()}))})),r.length||this._enableYesButton()}}class h extends v{_initConfiguration(e){super._initConfiguration(e),this._successDescription=this._getConfigParam("successDescription",""),this._failureDescription=this._getConfigParam("failureDescription","")}show(){this._progress||this._setDescription([]),super.show()}_setDescription(e){const n=e.map((({name:e})=>`<li>${(0,o.default)(e)}</li>`)),i=e.length?this._description.concat(" ").concat(this._successDescription).concat(`<ul>${n.join("")}</ul>`):this._description;document.getElementById(this._contentContainerId).innerHTML=i}_onSuccess(e){this._hideSpinner(),this._enableYesButton();try{this._setDescription(JSON.parse(e.responseText).data)}catch{(0,a.default)(e.responseText)}}_onFailure(){super._onFailure(),document.getElementById(this._contentContainerId).innerHTML=`${this._description} ${this._failureDescription}`}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{ModalDialogBox:()=>o});var t=i(92),a=i(275),s=i(267),r=i(340);i(362);class o extends t.Component{constructor(e){super(e),this._componentElement.querySelectorAll("[autofocus]").forEach((e=>e.focus()))}_initConfiguration(e){super._initConfiguration(e),this._screenDisablerId=this._getConfigParam("screenDisablerId","screenDisabler"),this._hideOnEscape=this._getConfigParam("hideOnEscape",!1),this._hideOnBgClick=this._getConfigParam("hideOnBgClick",!0),this._onShow=this._getConfigParam("onShow",s.default),this._onHide=this._getConfigParam("onHide",s.default),document.getElementById(this._screenDisablerId)||(o.initScrollbarSpacer(),(0,a.default)(document.body,`<div id="${this._screenDisablerId}" class="main-disabled-block"></div>`,"top")),this._screenDisabler=document.getElementById(this._screenDisablerId);const n=this._getConfigParam("renderTo","modalDialogBox");this._renderTarget="string"==typeof n?document.getElementById(n):n,this._renderTarget||(this._renderTarget=document.createElement("div"),this._renderTarget.id=n),this._renderTarget.innerHTML="",(0,a.default)(this._screenDisabler,this._renderTarget,"after"),this._onKeyDownhandler=this._onKeyDown.bind(this)}_addEvents(){super._addEvents(),this._hideOnBgClick&&this._componentElement.addEventListener("click",(()=>{this.hide()}));const e=this._componentElement.querySelector(".popup-container");e&&e.addEventListener("click",(e=>{e.stopPropagation()})),this._onKeyDownhandler=this._onKeyDown.bind(this)}show(){super.show(),document.querySelector("html").classList.add("modal-open"),document.addEventListener("keydown",this._onKeyDownhandler),this._onShow()}hide(){super.hide(),document.querySelector("html").classList.remove("modal-open"),document.removeEventListener("keydown",this._onKeyDownhandler),this._onHide()}_onKeyDown(e){if(e.keyCode===(this._hideOnEscape&&r.ESC))this.hide()}}o.initScrollbarSpacer=()=>{const e=document.createElement("div");e.style.width="50px",e.style.height="50px",e.style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);const n=e.offsetWidth-e.clientWidth;document.body.removeChild(e);const i=document.createElement("style");document.head.appendChild(i),i.sheet.insertRule(`.modal-open, .modal-open .pul-layout__header-inner {padding-inline-end: ${n}px}`,0),i.sheet.insertRule(`.modal-open .js-scrollbar-spacer {margin-right: ${n}px}`,1)}},(e,n,i)=>{"use strict";i.r(n)},(e,n,i)=>{"use strict";i.r(n)},(e,n,i)=>{"use strict";i.r(n),i.d(n,{DropdownHeader:()=>s});var t=i(275),a=i(92);class s extends a.Component{_initConfiguration(e){super._initConfiguration({cls:"dropdown-header",...e}),this._title=this._getConfigParam("title","")}_initComponentElement(){super._initComponentElement(),(0,t.default)(this._componentElement,this._title)}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{DropdownManager:()=>s});let t=[];const a=e=>{t.forEach((n=>{n.isOpened(e)&&n.close(e)}))},s={register(e,n,i,s,r){const o={toggler:e,isOpened:n,open:i,close:s,handler(e){if(r&&!r(e))return;e.stopPropagation();const t=n(e);a(e),t||i(e)}};return t.push(o),o.toggler.addEventListener("click",o.handler),t.length>0&&document.body.addEventListener("click",a),o},unregister(e){e.toggler.removeEventListener("click",e.handler),t=t.filter((n=>n!==e)),0===t.length&&document.body.removeEventListener("click",a)}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{SmallTools:()=>c});var t=i(351),a=i(97),s=i(367),r=i(91),o=i(275),d=i(310),l=i(267);i(368);class c extends t.Container{_initConfiguration(e){super._initConfiguration(e),this._operations=this._getConfigParam("operations",null),this._operationsId=this._getConfigParam("operationsId",`${this._id}-operations`),this._cls=this._getConfigParam("cls","actions-box"),Array.isArray(this._operations)&&!this._operations.length&&(this._operations=null),this.searchFilters=$H(this._getConfigParam("searchFilters",{})),this.searchFiltersState=this._getConfigParam("searchFiltersState",{}),this.searchHandler=this._getConfigParam("searchHandler",l.default),this.resetSearchHandler=this._getConfigParam("resetSearchHandler",l.default),this.listId=this._getConfigParam("listId"),this.searchOveral=this._getConfigParam("searchOveral",null),null===this.searchOveral&&(this.searchFilters.each((({key:e,value:n})=>{n.overal&&(this.searchOverall=e)})),null===this.searchOveral&&1===this.searchFilters.keys().length&&(this.searchOveral=this.searchFilters.keys()[0]),null===this.searchOveral&&(this.searchOveral=!1)),this.quickSearchWide=this._getConfigParam("quickSearchWide",!1),this.quickSearchInputId=this._getConfigParam("quickSearchInputId"),this.searchCollapsed=this._getConfigParam("searchCollapsed",!1),this.onToggleSearch=this._getConfigParam("onToggleSearch",l.default)}render(){super.render(),(0,o.default)(this._componentElement,[(0,d.default)(`#${this._operationsId}.objects-toolbar.clearfix`,this._operations?this._operations.map(r.default):"",this.quickSearchBoxView()),this.searchBoxView()]),this._componentElement.classList[this.searchCollapsed?"remove":"add"]("actions-box-search-show"),this._operations&&this.addResponsiveButton("toolbar"),this.searchFilters.keys().length&&this.addResponsiveButton("search"),a.Tooltip.initData(this._componentElement)}quickSearchBoxView(){return this.searchFilters.keys().length?(0,d.default)(".quick-search-box"+(this.quickSearchWide?".quick-search-box-wide":""),{onclick(e){e.stopPropagation()}},this.searchOveralView(),this.searchFilters.keys().length>1?(0,d.default)("span.search-control",(0,d.default)("a.s-btn.sb-search-show",{onclick:this.toggleSearch.bind(this),"aria-label":this.lmsg("showSearch")}),(0,d.default)("a.s-btn.sb-search-hide",{onclick:this.toggleSearch.bind(this),"aria-label":this.lmsg("hideSearch")})):""):""}searchOveralView(){if(!this.searchOveral)return"";const e=this.searchFiltersState[this.searchOveral],n=this.searchFilters.get(this.searchOveral).value||e&&e.searchText||"";return(0,d.default)(".search-field",(0,d.default)("form",{onsubmit:e=>{e.preventDefault(),this.searchHandler(e.target)}},(0,d.default)("input"+(this.quickSearchInputId?`#${this.quickSearchInputId}`:""),{type:"text",value:n,name:`searchFilter[${this.searchOveral}][searchText]`}),(0,d.default)("em",{onclick:e=>{this.searchHandler(e.target.closest("form"))}},(0,d.default)("span"))))}searchBoxView(){return this.searchFilters.keys().length<2?null:(0,d.default)(".search-box",{onclick(e){e.stopPropagation()}},(0,d.default)("form",{onsubmit:e=>{e.preventDefault(),this.searchHandler(e.target)}},(0,d.default)("ul",this.searchFiltersView()),(0,d.default)("a.s-btn.sb-search",{onclick:e=>{this.searchHandler(e.target.closest("form"))}},this.lmsg("buttonSearch")),(0,d.default)("a.s-btn.sb-show-all",{onclick:()=>{this.resetSearchHandler()}},this.lmsg("buttonResetSearch")),(0,d.default)("input",{type:"image",style:"border: 0pt none; height: 0pt; width: 0pt; position: absolute; left: -9999px;",src:i(369)})))}searchFiltersView(){const e=[];return this.searchFilters.each((({key:n,value:i})=>{e.push((0,d.default)("li",(0,d.default)("div",i.title?(0,d.default)("span",i.title):"",s.default.create({idPrefix:this.listId,name:n,value:this.searchFiltersState[n]&&this.searchFiltersState[n].searchText,...i},(e=>{this.searchHandler(e.target.closest("form"))})))))})),e}toggleSearch(){this._componentElement.classList.toggle("actions-box-search-show"),this.onToggleSearch(!this._componentElement.classList.contains("actions-box-search-show"))}_addEvents(){super._addEvents(),document.addEventListener("click",(()=>{this._hideResponsiveButtonBlocks()}))}addResponsiveButton(e){this._rActionsElement||(this._rActionsElement=new Element("div",{class:"r-actions"}),this._rActionsElement.innerHTML='<ul class="r-actions-list"></ul>',(0,o.default)(this._componentElement,this._rActionsElement,"top")),this._rActionsElement.querySelector(`.r-actions-${e}`)||(0,o.default)(this._rActionsElement.querySelector(".r-actions-list"),(0,d.default)(`li.r-actions-item.r-actions-${e}`,{onclick:n=>this.onResponsiveButtonClick(n,e)},(0,d.default)("span")))}onResponsiveButtonClick(e,n){const i=!this._componentElement.querySelector(`.r-actions-${n}`).classList.contains("r-actions-item-active");this._hideResponsiveButtonBlocks(),i&&this._showResponsiveButtonBlocks(n),e.stopPropagation()}_hideResponsiveButtonBlocks(){this._componentElement.className.split(" ").forEach((e=>{0===e.indexOf("r-actions-active")&&this._componentElement.classList.remove(e)})),this._componentElement.querySelectorAll(".r-actions-item-active").forEach((e=>{e.classList.contains("r-actions-select")||e.classList.remove("r-actions-item-active")}))}_showResponsiveButtonBlocks(e){this._componentElement.querySelector(`.r-actions-${e}`).classList.add("r-actions-item-active"),this._componentElement.classList.add("r-actions-active"),this._componentElement.classList.add(`r-actions-active-${e}`)}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>r});var t=i(100),a=i(310),s=i(98);const r={create(e,n){return e.render?e.render(e,n):"date"===e.type?this.createDate(e,n):e.options?e.multi?this.createMultiEnum(e,n):this.createEnum(e,n):this.createText(e,n)},createText:(e,n)=>(0,a.default)('input[type="text"]',{id:e.idPrefix?`${e.idPrefix}-search-text-${e.name}`:null,name:`searchFilter[${e.name}][searchText]`,placeholder:e.placeholder||null,pattern:e.pattern||null,title:e.pattern&&e.placeholder||null,onkeyup:e.live&&n||null,value:e.value||null,class:e.cls||null,"data-input-name":`filter${(({name:e})=>e?e.charAt(0).toUpperCase()+e.split("").slice(1).join(""):"")(e)}Input`}),createEnum(e,n){return(0,a.default)("select",{id:e.idPrefix?`${e.idPrefix}-type-filter`:null,name:`searchFilter[${e.name}][searchText]`,onchange:n||null},this.enumOptionsView(e.options,e.value))},createMultiEnum:(e,n)=>(0,a.default)(".dropdown",(0,a.default)(".input-group",(0,a.default)('input.form-control[type="text"][readonly]',{placeholder:e.placeholder||null}),(0,a.default)("span.input-group-btn",(0,a.default)('button.btn.dropdown-toggle[type="button"]',(0,a.default)("span.caret")))),(0,a.default)("ul.dropdown-menu.pull-right",{onclick(e){e.stopPropagation()}},Array.isArray(e.options)&&e.options.length?(0,a.default)("li",(0,a.default)("div.dropdown-menu-content.checkbox-group",e.options.map((function(i){return(0,a.default)("label",(0,a.default)('input[type="checkbox"]',{value:i.value,checked:!e.value||-1!==e.value.indexOf(i.value)||null,onclick(i){const t=i.target,a=t.closest("th").querySelector("input[type=text]"),s=t.closest("th").querySelectorAll("input[type=checkbox]:checked"),r=t.closest("th").querySelectorAll("input[type=checkbox]");if(s.length)if(s.length===r.length)a.value="";else{const e=[];s.forEach((n=>{e.push(n.value[0].toUpperCase())})),a.value=e.join(", ")}else a.value=e.locale.lmsg("none");"function"==typeof n&&n()}}),` ${i.value}`)})))):"")),createDate(e,n){const i=e.date||new Date,s=e.locale||new t.default,r=(0,a.default)("select",{"data-input-name":"filterDateHourSelect"});for(let e=0;e<24;e++)r.children.push((0,a.default)("option",{value:e},(e<10?"0":"")+e));const o=(0,a.default)("select",{"data-input-name":"filterDateMinuteSelect"});for(let e=0;e<60;e++)o.children.push((0,a.default)("option",{value:e},(e<10?"0":"")+e));const d=(0,a.default)("select",{"data-input-name":"filterDateDaySelect"});for(let e=1;e<32;e++)d.children.push((0,a.default)("option",{value:e},(e<10?"0":"")+e));const l=(0,a.default)("select",{"data-input-name":"filterDateMonthSelect"});for(let e=0;e<12;e++)l.children.push((0,a.default)("option",{value:e},s.lmsg(`month${e+1}`)));const c=(0,a.default)("select",{"data-input-name":"filterDateYearSelect"});for(let e=2e3;e<=i.getFullYear();e++)c.children.push((0,a.default)("option",{value:e},e));return(0,a.default)(".dropdown",(0,a.default)(".input-group",{onclick:e=>{this.onDateSearchFilterOpen(e.target.closest(".dropdown"))}},(0,a.default)('input.form-control[type="text"][readonly]',{placeholder:e.placeholder||null}),(0,a.default)("span.input-group-btn",(0,a.default)('button.btn.dropdown-toggle[type="button"]',{"data-action-name":"filterDateOpenForm"},(0,a.default)("span.caret")))),(0,a.default)("ul.dropdown-menu",{onclick(e){e.preventDefault(),e.stopPropagation()}},(0,a.default)("li",(0,a.default)(".filter-date-form",(0,a.default)(".form-row",(0,a.default)(".inline-fields-group",r," : ",o),(0,a.default)(".inline-fields-group",d," ",l," ",c),(0,a.default)(".inline-fields-group",(0,a.default)('button.btn[type="button"]',{"data-action-name":"filterDateApply",onclick:e=>{e.target.closest(".dropdown").classList.toggle("open"),this.onDateSearchFilterOpen(e.target.closest(".dropdown")),this.onDateSearchFilterChange(e.target.closest(".dropdown")),"function"==typeof n&&n()}},t.default.getSection("components.buttons").lmsg("apply")),(0,a.default)('button.btn[type="button"]',{"data-action-name":"filterDateClear",onclick:e=>{e.target.closest(".dropdown").classList.toggle("open"),e.target.closest(".dropdown").querySelector("input").value="",this.onDateSearchFilterOpen(e.target.closest(".dropdown")),"function"==typeof n&&n()}},s.lmsg("clear")))),(0,a.default)(".form-row.filter-actions-row",(0,a.default)("a.toggler",{onclick:e=>{this.onDateSearchFilterModify(e.target.closest(".dropdown"),new Date(i.getTime()-36e5)),"function"==typeof n&&n()}},s.lmsg("hourAgo"))," ",(0,a.default)("a.toggler",{onclick:e=>{this.onDateSearchFilterModify(e.target.closest(".dropdown"),new Date(i.getTime()-864e5)),"function"==typeof n&&n()}},s.lmsg("prevDay")))))))},enumOptionsView(e,n){return e.map(function(e){return"value"===e.type?this.enumValueView(e,n):this.enumGroupValue(e,n)}.bind(this))},enumValueView:(e,n)=>(0,a.default)("option",{value:e.value,selected:e.value===n},(0,s.default)(e.label)),enumGroupValue(e,n){return(0,a.default)("optgroup",{label:e.label},this.enumOptionsView(e.options,n))},onMultiEnumSearchFilterChange(e){},onDateSearchFilterOpen(e){if(!e.classList.contains("open"))return;let n=new Date(e.querySelector("input").value);isNaN(n.getTime())&&(n=new Date),this._dateSearchFieldFromDate(e,n)},onDateSearchFilterChange(e){const n=this._dateSearchFieldToDate(e),i=n.getFullYear(),t=(n.getMonth()+1<10?"0":"")+(n.getMonth()+1),a=(n.getDate()<10?"0":"")+n.getDate(),s=(n.getHours()<10?"0":"")+n.getHours(),r=(n.getMinutes()<10?"0":"")+n.getMinutes();e.querySelector("input").value=`${i}-${t}-${a} ${s}:${r}`},onDateSearchFilterModify(e,n){this._dateSearchFieldFromDate(e,n)},_dateSearchFieldFromDate(e,n){const i=e.querySelectorAll("select");i[0].value=n.getHours(),i[1].value=n.getMinutes(),i[2].value=n.getDate(),i[3].value=n.getMonth(),i[4].value=n.getFullYear()},_dateSearchFieldToDate(e){const n=e.querySelectorAll("select");return new Date(n[4].value,n[3].value,n[2].value,n[0].value,n[1].value)}}},(e,n,i)=>{"use strict";i.r(n)},e=>{e.exports=Jsw.skinUrl+"/images/blank.gif?56398e76be6355ad5999b262208a17c9"},(e,n,i)=>{"use strict";i.r(n),i.d(n,{CollapsibleBlock:()=>a});var t=i(351);i(371);class a extends t.Container{_initConfiguration(e){super._initConfiguration(e),this._blockAreaId=`${this._id}-block`,this._titleAreaId=`${this._id}-title-area`,this._contentAreaId=`${this._id}-content-area`}_initComponentElement(){super._initComponentElement(),this._updateComponentElement(`<div class="${this._cls}-block${this._getConfigParam("collapsed",!0)?" hide":""}" id="${this._blockAreaId}"><div class="${this._cls}-title" id="${this._titleAreaId}"><span>${this._getConfigParam("title","")}</span></div><div class="${this._cls}-content" id="${this._contentAreaId}"></div></div>`)}_addEvents(){super._addEvents(),document.getElementById(this._titleAreaId).querySelector("span").addEventListener("click",this._onTitleClickEvent.bind(this))}_onTitleClickEvent(e){e.stopPropagation(),document.getElementById(this._blockAreaId).classList.toggle("hide")}}},(e,n,i)=>{"use strict";i.r(n)},(e,n,i)=>{"use strict";i.r(n),i.d(n,{Pathbar:()=>r});var t=i(351),a=i(92),s=i(275);i(373);class r extends t.Container{_initConfiguration(e){super._initConfiguration(e),this._contentAreaId=`${this._id}-content-area`}_initComponentElement(){if(document.getElementById(this._id))return this._applyTargetId=this._id,void super._initComponentElement();super._initComponentElement(),this._updateComponentElement(`<ul id="${this._contentAreaId}"></ul>`)}_renderItem(e){const n=`${this._id}-item-${e.getId()}`;(0,s.default)(document.getElementById(this._contentAreaId),`<li id="${n}"></li>`),(0,s.default)(document.getElementById(n),e),this._renderItemSuffix(e)}_renderItemSuffix(e){const n=`${this._id}-item-${e.getId()}`;(0,s.default)(document.getElementById(n),"<b>&gt;</b>")}}r.Item=class extends a.Component{_initConfiguration(e){super._initConfiguration(e),this._title=this._getConfigParam("title",""),this._href=this._getConfigParam("href","")}_initComponentElement(){super._initComponentElement(),this._componentElement=document.createElement("a"),this._componentElement.href=this._href,this._componentElement.innerHTML=`<span>${this._title}</span>`}getHref(){return this._href}},r.SimpleItem=class extends a.Component{_initConfiguration(e){super._initConfiguration(e),this._title=this._getConfigParam("title","")}_initComponentElement(){super._initComponentElement(),this._componentElement=document.createElement("span"),this._componentElement.innerHTML=this._title}}},(e,n,i)=>{"use strict";i.r(n)},(e,n,i)=>{"use strict";i.r(n),i.d(n,{Bar:()=>l,bar:()=>c});var t=i(351),a=i(92),s=i(344),r=i(275),o=i(98),d=i(342);i(375);class l extends t.Container{_initConfiguration(e){super._initConfiguration(e),this._contentAreaId=`${this._id}-content-area`,this._type=this._getConfigParam("type","static")}_initComponentElement(){super._initComponentElement();let e=`<ul id="${this._contentAreaId}"></ul>`;"navbar"!==this._id&&(e=`<div class="tabs-area">${e}</div>`),this._updateComponentElement(e)}_renderItem(e){const n=`${this._id}-item-${e.getId()}`,i=e.getContainerClass();(0,r.default)(document.getElementById(this._contentAreaId),`<li class="${i}" id="${n}"></li>`),(0,r.default)(document.getElementById(n),e),"dynamic"===this._type&&e.addEventObserver("click",(n=>e.switchTab(n))),document.getElementById("main")&&(document.getElementById("main").classList.contains("tabed")||"navbar"===this._id||document.getElementById("main").classList.add("tabed"))}}const c={};c.Tabs=class extends l{_initConfiguration(e){super._initConfiguration(e),this._isResponsive=this._getConfigParam("responsive",!0)}_renderItems(){super._renderItems(),this._isResponsive&&this._addResponsiveTabs()}_addResponsiveTabs(){const e=document.getElementById(this._id);e.querySelectorAll("li a").forEach((n=>{n.addEventListener("click",(i=>{const t=n.closest("li");(t.classList.contains("active")||"current"===t.id)&&i.preventDefault(),e.classList.toggle("responsive-tabs-visible")}))}))}switchTab(e){let n=null;this.getItems().forEach((function(i){e===i.getTabId()&&(n=i),document.getElementById(i.getTabId()).style.display="none",i.getRenderTarget().classList.remove("active")})),document.getElementById(e).style.display="",n.getRenderTarget().classList.add("active")}_renderItem(e,n,i){super._renderItem(e,n,i);const t=e.getTabContent();if(t){const n=(0,d.createHtmlElement)("div",{id:e.getTabId(),style:e.isActive()?"":"display: none"});(0,r.default)(this._componentElement.parentNode,n),(0,r.default)(n,t,"string"==typeof t&&"inner")}}},c.Button=class extends s.Button{_initConfiguration(e){super._initConfiguration(e),this._isActive=this._getConfigParam("active",!1),this._cls=this._getConfigParam("cls",""),this._containerCls=this._getConfigParam("containerCls",this._isActive?"active":""),this._tabId=this._getConfigParam("tabId",null),this._tabId&&(this._id=`${this._tabId}-button`),this.navigationTab=this._getConfigParam("navigationTab",!1),this._content=this._getConfigParam("content",null)}_initComponentElement(){super._initComponentElement(),this._componentElement.innerHTML=`<span>${(0,o.default)(this._title)}</span>`}getContainerClass(){return this._containerCls}getTabId(){return this._tabId}switchTab(e){(0,a.getComponent)(e.target.closest("ul").parentNode.parentNode.id).switchTab(this._tabId),e.preventDefault()}getTabContent(){return this._content}isActive(){return this._isActive}},c.Separator=class extends a.Component{_initConfiguration(e){super._initConfiguration({tag:"span",cls:"separator",...e})}_initComponentElement(){super._initComponentElement(),this._componentElement.innerHTML="<span></span>"}},c.HorizontalSeparator=class extends a.Component{_initConfiguration(e){super._initConfiguration({tag:"span",wrapperClass:"separator",...e})}}},(e,n,i)=>{"use strict";i.r(n)},(e,n,i)=>{"use strict";i.r(n),i.d(n,{AddRemoveDynamicSubForm:()=>o,DynamicSubForm:()=>r});var t=i(92),a=i(345),s=i(275);class r extends t.Component{_initConfiguration(e){super._initConfiguration(e);const n=this._getConfigParam("getDynamicContent",null);n&&(this._getDynamicContent=n.bind(this));const i=this._getConfigParam("prepareDynamicContent",null);i&&(this._prepareDynamicContent=i.bind(this));const t=this._getConfigParam("bindDynamicContent",null);t&&(this._bindDynamicContent=t.bind(this));const a=this._getConfigParam("insertDynamicContent",null);a&&(this._insertDynamicContent=a.bind(this));const s=this._getConfigParam("onUpdateDynamic",null);s&&(this._onUpdateDynamic=s.bind(this));const r=this._getConfigParam("onInitDynamic",null);r&&(this._onInitDynamic=r.bind(this)),this._allowRemoveFirstElement=!!this._getConfigParam("allowRemoveFirstElement",!1)}_addEvents(){super._addEvents();const e=this.getElements();e.length?e.forEach(((e,n)=>{this._bindDynamicContent(e,!n)})):this._addEmptyContent(),this._onInitDynamic(),this._onUpdateDynamic()}_addEmptyContent(){const e=this._prepareDynamicContent(this._getDynamicContent());this._insertDynamicContent(e),this._bindDynamicContent(e,!0)}_getDynamicContent(){const e=this._componentElement.querySelector(".dynamicSubFormTemplate").cloneNode(!0);return e.classList.remove("dynamicSubFormTemplate"),e.classList.add("dynamicSubFormContent"),e.style.display="",e}_prepareDynamicContent(e){return e}_insertDynamicContent(e){const n=this.getElements();n.length?(0,s.default)(n[n.length-1],e,"after"):(0,s.default)(this._componentElement,e,"top")}_bindDynamicContent(){}_onInitDynamic(){}_onUpdateDynamic(){}deleteContent(e){e.parentNode.removeChild(e),this._onUpdateDynamic()}addContent(e){const n=this._prepareDynamicContent(this._getDynamicContent(),e);this._insertDynamicContent(n),this._bindDynamicContent(n,!1),this._onUpdateDynamic()}reset(){const e=this.getElements();e.length&&(e.forEach((e=>{e.parentNode.removeChild(e)})),this._onUpdateDynamic())}getElements(){return this._componentElement.querySelectorAll(".dynamicSubFormContent")}}class o extends r{_initConfiguration(e){super._initConfiguration(e),this._addButtonId=this._getConfigParam("addButtonId",""),this._addButtonTitle=this._getConfigParam("addButtonTitle",""),this._removeButtonId=this._getConfigParam("removeButtonId",""),this._removeButtonTitle=this._getConfigParam("removeButtonTitle","")}_onInitDynamic(){const e=document.getElementById(this._addButtonId);(0,s.default)(e,`<div id="${this._addButtonId}" class="text-value"></div>`,"after"),e.parentNode.removeChild(e),new a.SmallButton({id:`dynamicSubFormContentAddButton-${this._id}`,title:this._addButtonTitle,addCls:"sb-item-add dynamicSubFormContentAddButton",handler:this.addContent.bind(this),disabled:this._isAddButtonDisabled(),renderTo:this._addButtonId})}_isAddButtonDisabled(){return!1}_bindDynamicContent(e,n){if(!n||this._allowRemoveFirstElement){const n=this._initRemoveButtonWrapper(e);new a.SmallButton({id:n,title:this._removeButtonTitle,addCls:"sb-item-remove dynamicSubFormContentRemoveButton",handler:this.deleteContent.bind(this,e),renderTo:n})}return e}_initRemoveButtonWrapper(e){const n=`${this._removeButtonId}-${this._getRandomNumber()}`,i=e.querySelectorAll(".field-value input, .field-value select");return(0,s.default)(i[i.length-1],`<span id="${n}" class="${this._removeButtonId}"></span>`,"after"),n}_prepareDynamicContent(e){const n=Math.floor(1e6*Math.random()),i=new RegExp(`(name=.*?\\[?${this._id}\\]?\\[)dynamicSubFormTemplate(\\])`,"g"),t=new RegExp(`(id=.*?\\-?${this._id}-)dynamicSubFormTemplate(-)`,"g");return e.innerHTML=e.innerHTML.replace(i,`$1c${n}$2`).replace(t,`$1c${n}$2`),e}_onUpdateDynamic(){const e=this.getElements();document.querySelector(`label[for="${this._addButtonId}"]`).style.display=e.length?"none":"",e.length&&e.forEach(((e,n)=>{const i=e.querySelectorAll("label");i[i.length-1].style.display=n?"none":""}))}addContent(e){super.addContent(),e.stopPropagation(),e.preventDefault()}deleteContent(e,n){super.deleteContent(e),n.stopPropagation(),n.preventDefault()}}r.subclasses=[]},(e,n,i)=>{"use strict";i.r(n),i.d(n,{Box:()=>a});var t=i(92);class a extends t.Component{_initComponentElement(){super._initComponentElement(),this._componentElement.innerHTML=this._getConfigParam("html","")}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{Gauge:()=>a});var t=i(92);class a extends t.Component{_initConfiguration(e){super._initConfiguration({cls:"progress progress-sm",...e})}_initComponentElement(){super._initComponentElement(),this.setProgress(this._getConfigParam("value",""))}setProgress(e){this._componentElement.innerHTML=`<div class="progress-bar" style="width: ${e}%"></div>`}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{PopupForm:()=>d});var t=i(361),a=i(307),s=i(312),r=i(275),o=i(310);class d extends t.ModalDialogBox{_initConfiguration(e){super._initConfiguration({cls:"popup-panel",...e}),this._popupContentAreaId=`${this._id}-popup-content-area`,this._titleAreaId=`${this._id}-title-area`,this._hintAreaId=`${this._id}-hint-area`,this._hint1AreaId=`${this._id}-hint1-area`,this._boxAreaId=`${this._id}-box-area`,this._contentAreaId=`${this._id}-content-area`,this._actionButtonsId=`${this._id}-action-buttons`,this._leftActionButtonsAreaId=`${this._id}-left-action-buttons-area`,this._rightActionButtonsAreaId=`${this._id}-right-action-buttons-area`,this._titleCls=this._getConfigParam("titleCls",""),this._scrollable=this._getConfigParam("scrollable"),this._fullHeight=this._getConfigParam("fullHeight"),this._isRemoved=!1,this._scrollable&&(this._cls+=" popup-panel-scrollable"),this._fullHeight&&(this._cls+=" popup-panel-full-height")}_initComponentElement(){super._initComponentElement(),(0,r.default)(this._componentElement,this.view()),this.show()}view(){return(0,o.default)(".popup-wrapper",(0,o.default)(".popup-container",[(0,o.default)(".popup-heading",(0,o.default)(".popup-heading-area",[(0,o.default)("span.popup-heading-actions",this._getHeadingActions()),(0,o.default)(`h2.${this._titleCls}`,(0,o.default)(`span#${this._titleAreaId}`,{title:this._getConfigParam("title")},this._getConfigParam("title")))])),(0,o.default)(".popup-content",(0,o.default)(`#${this._popupContentAreaId}.popup-content-area`,this._getContentArea()))]))}_getHeadingActions(){return""}_getContentArea(){return[(0,o.default)(`p#${this._hint1AreaId}`),(0,o.default)(`span#${this._hintAreaId}`),this._getBoxArea(),this._getButtonsArea()]}_getBoxArea(){return(0,o.default)(`#${this._boxAreaId}.form-box`,(0,o.default)(".box-area",(0,o.default)(".content",(0,o.default)(`#${this._contentAreaId}.content-area`))))}_getButtonsArea(){let e=(0,o.default)(`#${this._rightActionButtonsAreaId}.field-value`," ");return e=this._getConfigParam("singleRowButtons")?(0,o.default)(".single-row",e):[(0,o.default)(`#${this._leftActionButtonsAreaId}.field-name`," "),e],(0,o.default)(`#${this._actionButtonsId}.btns-box`,(0,o.default)(".box-area",(0,o.default)(".form-row",e)))}toggleButtonsArea(e){this._scrollable&&this._componentElement.classList[e?"add":"remove"]("popup-panel-scrollable"),document.getElementById(this._actionButtonsId).style.display=e?"":"none"}setBoxType(e){document.getElementById(this._boxAreaId).className=e,"list-box"===e&&(document.getElementById(this._actionButtonsId).classList.add("no-separator"),document.getElementById(this._actionButtonsId).classList.add("simple-box")),"form-box"===e&&(document.getElementById(this._actionButtonsId).classList.remove("no-separator"),document.getElementById(this._actionButtonsId).classList.remove("simple-box")),"fm-box"===e&&(document.getElementById(this._boxAreaId).className="list-box",document.getElementById(this._actionButtonsId).classList.add("no-separator"))}setTitleType(e){document.getElementById(this._titleAreaId).parentNode.className=e}setTitle(e){document.getElementById(this._titleAreaId).innerHTML=e,document.getElementById(this._titleAreaId).setAttribute("title",e)}setHint(e){e?(document.getElementById(this._hintAreaId).innerHTML=e,document.getElementById(this._hintAreaId).style.display=""):document.getElementById(this._hintAreaId).style.display="none"}setHint1(e){e?(document.getElementById(this._hint1AreaId).innerHTML=e,document.getElementById(this._hint1AreaId).style.display=""):document.getElementById(this._hint1AreaId).style.display="none"}remove(){this._isRemoved=!0,this._renderTarget.parentNode.removeChild(this._renderTarget)}addRightButton(e,n,i,t,a){const s=this._createButton(e,n,i,t,a);return(0,r.default)(document.getElementById(this._rightActionButtonsAreaId),s),s}addLeftButton(e,n,i,t,a){const s=this._createButton(e,n,i,t,a);return(0,r.default)(document.getElementById(this._leftActionButtonsAreaId),s),s}removeRightButtons(){document.getElementById(this._rightActionButtonsAreaId).innerHTML=" "}removeLeftButtons(){document.getElementById(this._leftActionButtonsAreaId).innerHTML=" "}resizeList(){if(this._isRemoved||!document.getElementById(this._contentAreaId))return;const e=document.getElementById(this._contentAreaId).querySelector("table");if(!e)return;const n=document.getElementById(this._contentAreaId).querySelector(".list"),i=Element.getHeight(document.getElementById(this._actionButtonsId)),t=Element.cumulativeOffset(e)[1],a=Element.getHeight(e);let s=document.body.clientHeight-t-i-100;if(s>a)return n.style.height="",void n.classList.remove("with-scroll");s<150&&(s=150),n.style.height=`${s}px`,n.style.overflowY="auto",n.style.overflowX="hidden",n.classList.add("with-scroll")}_createButton(e,n,i,t,a={}){const s=document.createElement("button");return Object.keys(a).forEach((e=>{!0===a[e]?s.setAttribute(e,e):null!==a[e]&&!1!==a[e]&&s.setAttribute(e,a[e])})),s.classList.add("btn"),t&&s.classList.add("action"),s.type=i?"submit":"button",s.value="",s.innerHTML=e,s.addEventListener("click",(e=>{this._onClick(e,n.bind(this))})),s}_updateButton(e,n){$H(n).each((({key:n,value:i})=>{switch(n){case"title":e.innerHTML=i;break;case"disabled":e.disabled=!!i,i?e.classList.add("disabled"):e.classList.remove("disabled")}}))}_onClick(e,n){e.preventDefault(),e.stopPropagation(),n(e)}_addEvents(){super._addEvents(),document.getElementById(this._hintAreaId)&&(document.getElementById(this._hintAreaId).style.display="none"),document.getElementById(this._hint1AreaId)&&(document.getElementById(this._hint1AreaId).style.display="none")}_clearMessages(){const e=document.getElementById(this._popupContentAreaId);[".msg-error",".msg-info",".msg-warning"].forEach((n=>{e.querySelectorAll(n).forEach((e=>{e.parentNode.removeChild(e)}))}))}_addErrorMessage(e){this._addStatusMessage("error",e)}_addStatusMessage(e,n){(0,r.default)(document.getElementById(this._popupContentAreaId),`<div class="msg-box msg-${e}"><div><div><div><div><div><div class="msg-content">${n}</div></div></div></div></div></div></div>`,"top")}_userError(e){(0,s.default)(),(0,a.default)("error",e),this._close()}_internalError(e){(0,s.default)(),(0,a.default)("error",`Internal error: ${e}`),this._close()}}d.subclasses=[]},(e,n,i)=>{"use strict";i.r(n),i.d(n,{AjaxPopupForm:()=>o});var t=i(379),a=i(92),s=i(309),r=i(275);class o extends t.PopupForm{_initConfiguration(e){super._initConfiguration(e),this._url=this._getConfigParam("url")}_initComponentElement(){super._initComponentElement(),this._componentElement.querySelector(".popup-content-area").innerHTML=`<div class="ajax-loading">${this.lmsg("waitMsg")}</div>`,new Ajax.Request((0,s.default)(this._url),{method:"get",onSuccess:this._onSuccess.bind(this)})}_onSuccess(e){(0,r.default)(this._componentElement.querySelector(".popup-content-area"),e.responseText,"inner"),setTimeout((()=>{this._componentElement.querySelector("form").setAttribute("action",(0,s.default)(this._url));const e=(0,a.getComponent)("btn-cancel");e.removeEventObserver("click",e._handler),e._handler=()=>{this.hide()},e.addEventObserver("click",e._handler)}),10)}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>o});var t=i(361),a=i(275),s=i(310);i(382);class r extends t.ModalDialogBox{_initConfiguration(e){super._initConfiguration(e),this._popupContentAreaId=`${this._id}-popup-content-area`,this._titleAreaId=`${this._id}-title-area`,this._actionButtonsId=`${this._id}-action-buttons`,this._rightActionButtonsAreaId=`${this._id}-right-action-buttons-area`,this._contentHeight=this._getConfigParam("contentHeight",null),this._closeButtonEnabled=this._getConfigParam("closeButtonEnabled",!1),this._cls=this._getConfigParam("popupCls","popup-panel"),this._titleCls=this._getConfigParam("titleCls",""),this._buttons=this._getConfigParam("buttons",[])}_initComponentElement(){super._initComponentElement();const e=this._getConfigParam("title","");this._updateComponentElement((0,s.default)(".popup-wrapper",(0,s.default)(".popup-container",(0,s.default)(".popup-heading",(0,s.default)(".popup-heading-area",this._closeButtonEnabled?(0,s.default)("span.close",{id:`${this._id}-close`,onrender:e=>{e.addEventListener("click",(e=>{this._onCloseClick(e)}))}}):null,(0,s.default)(`h2.${this._titleCls}`,(0,s.default)("span",{id:this._titleAreaId,title:e},e)))),(0,s.default)(".popup-content",(0,s.default)(".popup-content-area",{id:this._popupContentAreaId,style:this._contentHeight?`height:${this._contentHeight}px;`:null},this._getContentArea())))))}_getContentArea(){let e="";this._buttons.length>0&&(e=this._getButtonsArea());const n=`${this.getId()}-form`,i=this._getConfigParam("content","");return"object"==typeof i?(0,s.default)("form",{id:n},i,e):`<form id="${n}">${i}${e}</form>`}_getButtonsArea(){return`<div class="btns-box" id="${this._actionButtonsId}"><div class="box-area"><div class="form-row"><div class="single-row"><div class="field-value" id="${this._rightActionButtonsAreaId}"> </div></div></div></div></div>`}_addEvents(){super._addEvents(),this._buttons.forEach((e=>{let n="";void 0!==e.id&&(n=` id="${e.id}" `),void 0===e.class&&(e.class="");let i="";void 0!==e.disabled&&e.disabled&&(i='disabled="disabled"');const t=document.createElement("span");t.className=`btn ${e.class}`,t.innerHTML=`<button ${n} value="" type="button" ${i}>${e.title}</button>`,t.querySelector("button").addEventListener("click",(n=>{e.handler(n,this)})),(0,a.default)(document.getElementById(this._rightActionButtonsAreaId),t)})),this.show()}_onCloseClick(){this.hide()}}r.subclasses=[];const o=r},(e,n,i)=>{"use strict";i.r(n)},(e,n,i)=>{"use strict";i.r(n),i.d(n,{DoubleListSelector:()=>u});var t=i(310),a=i(92),s=i(307),r=i(312),o=i(336),d=i(309),l=i(266),c=i(275),m=i(98);i(384);class u extends a.Component{_initConfiguration(e){super._initConfiguration(e),this._cls="doubleListSelect",this._name=this._getConfigParam("name",""),this._list=this._getConfigParam("list",[]),this._onChange=this._getConfigParam("onChange",(()=>{})),this._dataUrl=this._getConfigParam("dataUrl",null),this._selectedMarked=0,this._unselectedMarked=0,this._prevSelectedItem=-1,this._isSearchable=this._getConfigParam("isSearchable",!1),this._isLarge=this._getConfigParam("isLarge",!1)}_initList(){const e={};this._list.forEach(((n,i)=>{n.marked=!1,void 0===n.selected&&(n.selected=!1),this._initListItem(n,i,!0),this._initListItem(n,i,!1),e[n.id]=n.selected})),this._originalSelection=e,this._initInputElement(e)}_initComponentElement(){this._componentElement=document.getElementById(this._applyTargetId),this._componentElement.classList.add("double-list-select"),this._componentElement.classList.add("dls-icons-1"),this._isLarge&&this._componentElement.classList.add("dls-large");const e=null===this._dataUrl?"":`<div class="ajax-loading" style="display: none;">${this.lmsg("loadingTitle")}</div>`;this._updateComponentElement([(0,t.default)("div.dls-first-box",this._isSearchable?this._getSearchControl("unselected"):null,(0,t.default)("h4",(0,t.default)("span",this.lmsg("unselectedTitle"))),(0,t.default)("div.dls-box-area",{id:`${this._id}-container-unselected`},e,(0,t.default)("ul",{id:`${this._id}-unselected`}))),(0,t.default)("div.dls-second-box",this._isSearchable?this._getSearchControl("selected"):null,(0,t.default)("h4",(0,t.default)("span",this.lmsg("selectedTitle"))),(0,t.default)("div.dls-box-area",{id:`${this._id}-container-selected`},e,(0,t.default)("ul",{id:`${this._id}-selected`}))),(0,t.default)("div.dls-controls",{id:`${this._id}-controls`},(0,t.default)("button.btn.disabled",{type:"button",id:`${this._id}-submitSelect`},(0,t.default)("span.dls-add","&gt;&gt;")),(0,t.default)("button.btn.disabled",{type:"button",id:`${this._id}-submitUnselect`},(0,t.default)("span.dls-remove","&lt;&lt;")))]),this._initList()}_initListItem(e,n,i){let a=null,s=!1;i?(a=document.getElementById(`${this._id}-selected`),s=!e.selected):(a=document.getElementById(`${this._id}-unselected`),s=e.selected);const r=(0,t.default)("div.dls-item-block",(0,t.default)("b",(0,m.default)(e.title)),e.description?(0,t.default)("span",e.description):null,e.icons?.length?(0,t.default)("span.dls-icons",e.icons.map((({src:e,title:n})=>(0,t.default)("i.icon",(0,t.default)("img",{src:`${Jsw.skinUrl}${e}`,title:n}))))):null),o=(0,t.default)("li",{id:`${this._id}-${n}-${i?"selected":"unselected"}-item`,style:s?"display: none;":void 0,onclick:e=>{this._toggleItem(n,i,e)}},r);(0,c.default)(a,o)}_initInputElement(e){let n=document.getElementById(`${this._id}-elements`);n||(n=document.createElement("input"),n.id=`${this._id}-elements`,n.name=this._name,n.type="hidden",this._componentElement.appendChild(n)),n.value=JSON.stringify(e)}_getSearchControl(e){return(0,t.default)(".dls-search",(0,t.default)("input.search-input.search-empty",{id:`${this._id}-search-${e}`,type:"text",autocomplete:"off",value:this.lmsg("searchTitle"),onfocus:e=>this.onFocus(e.target),onblur:e=>this.onBlur(e.target),onkeyup:n=>this.onToggleSearch(e,n.target.value)}),(0,t.default)("span.search-button.icon-search",{id:`${this._id}-search-button-${e}`,onmousedown:()=>this.onResetSearch(e)}))}_addEvents(){document.getElementById(`${this._id}-submitSelect`).addEventListener("click",this._onSubmitSelect.bind(this)),document.getElementById(`${this._id}-submitUnselect`).addEventListener("click",this._onSubmitUnselect.bind(this))}_toggleItem(e,n,i){this._list[e].marked?this._unmarkItem(e,n,i):this._markItem(e,n,i)}_markItem(e,n,i){if(void 0!==i&&i.shiftKey&&-1!==this._prevSelectedItem){const i=Math.min(e,this._prevSelectedItem),t=Math.max(e,this._prevSelectedItem);for(let e=i;e<t;e++)this._markItem(e,n)}this._prevSelectedItem=e,this._list[e].marked=!0,document.getElementById(`${this._id}-${e}-${n?"selected":"unselected"}-item`).classList.add("marked"),this._updateSelectControls(n,!0)}_unmarkItem(e,n){this._list[e].marked=!1,document.getElementById(`${this._id}-${e}-${n?"selected":"unselected"}-item`).classList.remove("marked"),this._updateSelectControls(n,!1)}_onSubmitSelect(){this._list.forEach(((e,n)=>{e.marked&&!e.selected&&"none"!==document.getElementById(`${this._id}-${n}-unselected-item`).style.display&&(this._unmarkItem(n,!1),e.selected=!0,this._updateElement(e),document.getElementById(`${this._id}-${n}-unselected-item`).style.display="none",document.getElementById(`${this._id}-${n}-selected-item`).style.display="")})),this.onChange()}_onSubmitUnselect(){this._list.forEach(((e,n)=>{e.marked&&e.selected&&"none"!==document.getElementById(`${this._id}-${n}-selected-item`).style.display&&(this._unmarkItem(n,!0),e.selected=!1,this._updateElement(e),document.getElementById(`${this._id}-${n}-selected-item`).style.display="none",document.getElementById(`${this._id}-${n}-unselected-item`).style.display="")})),this.onChange()}_updateElement(e){const n=JSON.parse(document.getElementById(`${this._id}-elements`).value);n[e.id]=e.selected,this._onChange(n),document.getElementById(`${this._id}-elements`).value=JSON.stringify(n)}onChange(){}onToggleSearch(e,n){const i="selected"===e;(n=n.trim().toLowerCase()).length?(this._toggleSearchButtonIcon(e,!0),this._list.forEach((function(t,a){if(i!==t.selected)return;const s=document.getElementById(`${this._id}-${a}-${e}-item`);this._isSearchMatched(t,n)?("none"===s.style.display&&t.marked&&this._updateSelectControls(i,!0),s.style.display=""):("none"!==s.style.display&&t.marked&&this._updateSelectControls(i,!1),s.style.display="none")}),this)):(this._toggleSearchButtonIcon(e,!1),this._showAllItems(e))}_isSearchMatched(e,n){return-1!==(void 0===e.searchIndex?e.title:e.searchIndex).toLowerCase().indexOf(n)}onFocus(e){this.lmsg("searchTitle")===e.value&&(e.value="",e.classList.remove("search-empty"))}onBlur(e){""===e.value&&this._resetSearchControl(e)}onResetSearch(e){this._showAllItems(e);const n=document.getElementById(`${this._id}-search-${e}`);this._resetSearchControl(n),this._toggleSearchButtonIcon(e,!1)}_showAllItems(e){const n="selected"===e;this._list.forEach(((i,t)=>{if(n===i.selected){const a=document.getElementById(`${this._id}-${t}-${e}-item`);"none"===a.style.display&&i.marked&&this._updateSelectControls(n,!0),a.style.display=""}}))}_resetSearchControl(e){e.value=this.lmsg("searchTitle"),e.classList.add("search-empty")}_toggleSearchButtonIcon(e,n){document.getElementById(`${this._id}-search-button-${e}`).classList[n?"add":"remove"]("search-button-clear")}_updateSelectControls(e,n){let i=e?this._selectedMarked:this._unselectedMarked;const t=e?"submitUnselect":"submitSelect";n?i++:i--,document.getElementById(`${this._id}-${t}`).classList[i?"remove":"add"]("disabled"),e?this._selectedMarked=i:this._unselectedMarked=i}isEmpty(){return!this._list.some((function(e){return e.selected}))}reload(e){if(!this._dataUrl)return;const n=(0,l.default)(this._dataUrl,e);new Ajax.Request((0,d.default)(n),{method:"get",onSuccess:this._onReloadSuccess.bind(this),onFailure:this._onReloadFailure.bind(this),onException:this._onReloadException.bind(this),onCreate:this._onReloadCreate.bind(this),onComplete:this._onReloadComplete.bind(this)})}_onReloadSuccess(e){if(!e.responseText)return;let n={};try{n=JSON.parse(e.responseText)}catch{return void(0,o.default)(e.responseText)}n.list?this._list=n.list:n.status?((0,r.default)(),(n.statusMessages||[]).forEach((function(e){(0,s.default)(e.status,e.content)}))):(0,o.default)("Unable to load list data."),this._initList()}_onReloadFailure(e){(0,o.default)(e.responseText)}_onReloadException(e,n){(0,o.default)(`${n}\n${e.responseText}`)}_onReloadCreate(){this._list=[],this._componentElement.querySelectorAll(".dls-box-area").forEach((e=>{e.querySelector("ul").innerHTML="",e.querySelector(".ajax-loading").style.display=""}))}_onReloadComplete(){this._componentElement.querySelectorAll(".dls-box-area").forEach((e=>{e.querySelector(".ajax-loading").style.display="none"}))}reset(){this._list.forEach((e=>{e.selected=this._originalSelection[e.id]}));const e=this._list;this._onReloadCreate(),this._onReloadComplete(),this._list=e,this._initList()}}u.subclasses=[]},(e,n,i)=>{"use strict";i.r(n)},(e,n,i)=>{"use strict";i.r(n),i.d(n,{EnhancedDoubleListSelector:()=>o});var t=i(310),a=i(383),s=i(275),r=i(98);i(386);class o extends a.DoubleListSelector{_initComponentElement(){this._componentElement=document.getElementById(this._applyTargetId),this._componentElement.classList.add("edls"),this._updateComponentElement((0,t.default)(".edls-wrap",(0,t.default)(".edls-box.edls-box-first",(0,t.default)(".edls-header",(0,t.default)(".edls-header-title",this.lmsg("unselectedTitle"))),(0,t.default)(".edls-box-wrap",this._isSearchable?this._getSearchControl("unselected"):null,(0,t.default)(".edls-box-body",(0,t.default)("ul.edls-list",{id:`${this._id}-unselected`}),(0,t.default)(".edls-list-empty",{style:"display: none;"},(0,t.default)("span",this.lmsg("unselectedEmpty"))),(0,t.default)(".edls-ajax-loading",{style:"display: none;"},(0,t.default)("span.ajax-loading",this.lmsg("loadingTitle")))))),(0,t.default)(".edls-control",(0,t.default)(".edls-control-wrap",(0,t.default)(".edls-control-body",(0,t.default)(".edls-control-text",(0,t.default)(".edls-control-text-none",this.lmsg("controlText-none")),(0,t.default)(".edls-control-text-first"),(0,t.default)(".edls-control-text-second")),(0,t.default)(".edls-control-indicator",(0,t.default)("i"))))),(0,t.default)(".edls-box.edls-box-second",(0,t.default)(".edls-header",(0,t.default)(".edls-header-title",this.lmsg("selectedTitle"))),(0,t.default)(".edls-box-wrap",this._isSearchable?this._getSearchControl("selected"):null,(0,t.default)(".edls-box-body",(0,t.default)("ul.edls-list",{id:`${this._id}-selected`}),(0,t.default)(".edls-list-empty",{style:"display: none;"},(0,t.default)("span",this.lmsg("selectedEmpty"))),(0,t.default)(".edls-ajax-loading",{style:"display: none"},(0,t.default)("span.ajax-loading",this.lmsg("loadingTitle")))))))),this._initList()}_initList(){super._initList(),this._fixListZebra()}_fixListZebra(){[document.getElementById(`${this._id}-unselected`),document.getElementById(`${this._id}-selected`)].forEach((e=>{let n=0;e.querySelectorAll(".edls-item").forEach((e=>{"none"!==e.style.display&&(e.classList.add(n%2?"odd":"even"),e.classList.remove(n%2?"even":"odd"),n++)})),e.parentNode.querySelector(".edls-list-empty").style.display=n?"none":""}))}_getSearchControl(e){return(0,t.default)(".edls-search",(0,t.default)("span.edls-check",(0,t.default)("input.checkbox",{type:"checkbox",value:""})),(0,t.default)("span.edls-search-control",(0,t.default)("input.search-input.search-empty",{type:"text",value:"",autocomplete:"off",id:`${this._id}-search-${e}`,onfocus:e=>this.onFocus(e.target),onblur:e=>this.onBlur(e.target),onkeyup:n=>this.onToggleSearch(e,n.target.value)}),(0,t.default)("input.search-button",{type:"image",src:i(387),id:`${this._id}-search-button-${e}`,onmousedown:()=>this.onResetSearch(e),onclick:e=>e.preventDefault()})))}_toggleSearchButtonIcon(e,n){const t=document.getElementById(`${this._id}-search-button-${e}`);t.classList[n?"add":"remove"]("search-button-clear"),t.src=i(n?388:387)}onFocus(e){e.classList.remove("search-empty")}_resetSearchControl(e){e.value="",e.classList.add("search-empty")}_initListItem(e,n,i){let a=null,r=!1;i?(a=document.getElementById(`${this._id}-selected`),r=!e.selected):(a=document.getElementById(`${this._id}-unselected`),r=e.selected),(0,s.default)(a,(0,t.default)("li",{id:`${this._id}-${n}-${i?"selected":"unselected"}-item`,class:"edls-item",style:r?"display: none;":null,onclick:e=>{this._toggleItemSelection(n,i,e)}},(0,t.default)("div",{class:"edls-item-wrap"},(0,t.default)("span",{class:"edls-check"},(0,t.default)("input",{type:"checkbox",class:"checkbox",value:"",onclick:e=>{e.stopPropagation(),this._toggleItemCheckbox(e.target,e.target.checked)}})),(0,t.default)("span",{class:"edls-text"},this._getItemText(e)))))}_getItemText(e,n){let i="";e.icons&&e.icons.length&&(e.icons.forEach((({src:e,title:n})=>{i+=`<i class="icon"><img src="${Jsw.skinUrl}${e}" title="${n}"></i>`})),i+=" ");let t=(0,r.default)(e.title);return n&&(t=t.replace(n,`<b class="search-result-label">${n}</b>`)),i+t}onToggleSearch(e,n){const i="selected"===e;(n=n.trim().toLowerCase()).length?(this._toggleSearchButtonIcon(e,!0),this._list.forEach(((t,a)=>{const s=document.getElementById(`${this._id}-${a}-${e}-item`);if(this._isSearchMatched(t,n))s.querySelector(".edls-text").innerHTML=this._getItemText(t,n),i===t.selected&&(s.style.display="");else{s.querySelector(".edls-text").innerHTML=this._getItemText(t);const e=s.querySelector(".edls-check input");"none"!==s.style.display&&e.checked&&this._toggleItemCheckbox(e,!1),s.style.display="none"}}))):(this._toggleSearchButtonIcon(e,!1),this._showAllItems(e))}_showAllItems(e){const n="selected"===e;this._list.forEach(((i,t)=>{const a=document.getElementById(`${this._id}-${t}-${e}-item`);a.querySelector(".edls-text").innerHTML=this._getItemText(i),n===i.selected&&(a.style.display="")}))}_toggleItemSelection(e,n,i,t){i?.preventDefault(),this._list[e].selected=!n,this._updateElement(this._list[e]),document.getElementById(`${this._id}-${e}-${n?"selected":"unselected"}-item`).style.display="none",document.getElementById(`${this._id}-${e}-${n?"unselected":"selected"}-item`).style.display="",this._toggleItemCheckbox(document.getElementById(`${this._id}-${e}-${n?"selected":"unselected"}-item`).querySelector(".edls-check input"),!1),t||(this._fixListZebra(),this.onChange())}_toggleItemCheckbox(e,n){e.checked=n;const i=e.closest(".edls-box-first")?"first":"second",t=e.closest(`.edls-box-${i}`).querySelectorAll(".edls-list .edls-check input:checked").length;n?e.closest(".edls-item").classList.add("selected"):(e.closest(".edls-item").classList.remove("selected"),e.closest(".edls-box").querySelector(".edls-search .checkbox").checked=!1),e.closest(".edls").classList[t?"add":"remove"](`edls-selected-${i}`),e.closest(".edls").querySelector(`.edls-control-text-${i}`).innerHTML=this.getLocale().formatMessage(`controlText-${i}`,{count:t})}_updateSelectControls(){}_addEvents(){const e=this._componentElement;this._componentElement.querySelectorAll(".edls-box-wrap").forEach((n=>{n.addEventListener("mouseover",(n=>{e.classList.add("edls-over"),e.classList.add(n.target.closest(".edls-box-first")?"edls-over-first":"edls-over-second"),e.classList.remove(n.target.closest(".edls-box-first")?"edls-over-second":"edls-over-first")})),n.addEventListener("mouseleave",(()=>{e.classList.contains("edls-selected-first")||e.classList.contains("edls-selected-second")||(e.classList.remove("edls-over"),e.classList.remove("edls-over-first"),e.classList.remove("edls-over-second"))}))})),this._componentElement.addEventListener("mouseleave",(e=>{e.target.classList.remove("edls-over"),e.target.classList.remove("edls-over-first"),e.target.classList.remove("edls-over-second")})),this._componentElement.querySelectorAll(".edls-box .edls-search .edls-check input").forEach((e=>{e.addEventListener("click",(()=>{const n=e.checked;e.closest(".edls-box").querySelectorAll(".edls-list .edls-check input").forEach((e=>{n&&"none"!==e.closest(".edls-item").style.display?this._toggleItemCheckbox(e,!0):this._toggleItemCheckbox(e,!1)}))}))})),this._componentElement.querySelector(".edls-control-wrap").addEventListener("click",(n=>{let i;if(e.classList.contains("edls-over-first"))i=!1;else{if(!e.classList.contains("edls-over-second"))return;i=!0}this._list.forEach(((e,t)=>{if(e.selected===i){document.getElementById(`${this._id}-${t}-${i?"selected":"unselected"}-item`).classList.contains("selected")&&this._toggleItemSelection(t,i,n,!0)}})),this._fixListZebra(),this.onChange()}))}_onReloadCreate(){this._list=[],this._componentElement.querySelectorAll(".edls-box").forEach((e=>{e.querySelector("ul").innerHTML="",e.querySelector(".edls-ajax-loading").style.display="",e.querySelector(".edls-list-empty").style.display="none"}))}_onReloadComplete(){this._componentElement.querySelectorAll(".edls-box").forEach((e=>{e.querySelector(".edls-ajax-loading").style.display="none"}))}}},(e,n,i)=>{"use strict";i.r(n)},e=>{e.exports=Jsw.skinUrl+"/images/search-input.png?9fd99cb66354e116893e88b4f234ca6d"},e=>{e.exports=Jsw.skinUrl+"/images/clear-search.png?c022c431eedbe669278180412386b137"},(e,n,i)=>{"use strict";i.r(n),i.d(n,{DynamicPopupHint:()=>r});var t=i(92),a=i(309),s=i(275);i(390);const r={windowId:"ajaxTooltipWindow",delay:.55,_isInitialized:!1,_currentTooltip:null,_init(e){this._isInitialized||(this._cls=e,this._initWindowElement(),this._initWindowEvents(),this._isInitialized=!0)},_initWindowElement(){(0,s.default)(document.body,`<div id="${this.windowId}" class="${this._cls}" style="display: none; z-index: 10000"></div>`,"top");const e=document.getElementById(this.windowId);e.innerHTML=`<table cellspacing="0" class="popup-wrapper"><tbody><tr><td class="popup-container"><div class="c1"><div class="c2"><div class="c3"><div class="c4"><div class="c5"><div class="popup-heading"><div class="heading-area"><span class="arrow"></span><span class="close" id="${this.windowId}-close"></span><h4><span id="${this.windowId}-title"></span></h4></div></div><div class="popup-content"><div id="${this.windowId}-content" class="popup-content-area"></div></div></div></div></div></div></div></td></tr></tbody></table>`,e.style.marginTop=0},_initWindowEvents(){document.getElementById(this.windowId).addEventListener("mouseover",this._onWindowMouseOver.bind(this)),document.getElementById(this.windowId).addEventListener("mouseout",this._onWindowMouseOut.bind(this)),document.getElementById(`${this.windowId}-close`).addEventListener("click",this._onCloseClick.bind(this)),document.body.addEventListener("click",this._onCloseClick.bind(this)),document.getElementById(this.windowId).addEventListener("click",(e=>{e.stopPropagation()}))},_onWindowMouseOver(){this._showWindow()},_onWindowMouseOut(){""===this._currentTooltip.getPlacement()&&(document.getElementById(this.windowId).style.display="none")},_onCloseClick(){document.getElementById(this.windowId).style.display="none"},set(e){this._init(e.getCls());const n=e.getTitle(),i=document.getElementById(`${this.windowId}-title`);!1===n?(document.getElementById(`${this.windowId}-title`).innerHTML="",i.closest(".popup-heading").style.display="none"):(document.getElementById(`${this.windowId}-title`).innerHTML=n,i.closest(".popup-heading").style.display=""),["left","right","top","bottom"].forEach((e=>{document.getElementById(this.windowId).classList.remove(e)})),document.getElementById(this.windowId).classList.add(e.getPlacement()),document.getElementById(this.windowId).querySelector(".heading-area .arrow").style.display=-1!==["left","right","bottom"].indexOf(e.getPlacement())?"":"none",document.getElementById(this.windowId).classList[e.getScrollable()?"add":"remove"]("popup-box-scrollable"),this._currentTooltip=e,this.updateContent(e),this._showWindow(e)},isSet(e){const n=document.getElementById(this.windowId);return n&&"none"!==n.style.display&&this._currentTooltip===e},unset(){const e=document.getElementById(this.windowId);e&&(e.style.display="none")},updateContent(e){this._currentTooltip===e&&(0,s.default)(document.getElementById(`${this.windowId}-content`),["top"===e.getPlacement()?'<span class="arrow"></span>':"",e.getContent()],"inner"),this._updatePosition()},_showWindow(){document.getElementById(this.windowId).style.display="",this._updatePosition()},_updatePosition(){const e=document.getElementById(this.windowId),n=Element.getWidth(e),i=Element.getHeight(e),t=Element.getHeight(e.querySelector(".popup-heading")),a=this._currentTooltip.getTargetElement(),s=Element.getHeight(a),r=Element.getWidth(a);let o=0,d=0;const l=Element.cumulativeOffset(a).left+n,c=document.viewport.getWidth()+document.viewport.getScrollOffsets().left;switch(this._currentTooltip.getPlacement()){case"top":d-=i,o-=(n-r)/2;break;case"bottom":d+=s,o-=(n-r)/2;break;case"left":d-=(t-s)/2,o-=n;break;case"right":d-=(t-s)/2,o+=r}l+o>c&&(o-=l+o-c+10),Element.clonePosition(e,a,{offsetLeft:o,offsetTop:d,setWidth:!1,setHeight:!1})}};r.Instance=class extends t.Component{_initConfiguration(e){super._initConfiguration(e),this._targetElement=this._getConfigParam("target",""),"string"==typeof this._targetElement&&(this._targetElement=document.getElementById(this._targetElement)),this._title=this._getConfigParam("title",""),this._waitMsg=this._getConfigParam("waitMsg",""),this._url=this._getConfigParam("url",""),this._cls=this._getConfigParam("cls","popup-box"),this._scrollable=this._getConfigParam("scrollable",!0),this._placement=this._getConfigParam("placement",""),this._content=this._getConfigParam("content",`<div class="ajax-loading">${this._waitMsg}</div>`),this._contentLoaded=!1,this._delayedExecuter=null}_initComponentElement(){this._initTargetEvents()}_initTargetEvents(){""!==this._placement?this._targetElement.addEventListener("click",(e=>{e.stopPropagation(),e.preventDefault(),r.isSet(this)?r.unset():r.set(this)})):(this._targetElement.addEventListener("mouseover",this.set.bind(this)),this._targetElement.addEventListener("mouseout",this.unset.bind(this)))}_loadContent(){new Ajax.Request((0,a.default)(this._url),{method:"get",onSuccess:e=>{""!==e.responseText&&(this._content=e.responseText,r.updateContent(this))}}),this._contentLoaded=!0}setContent(e){this._contentLoaded=!0,this._content=e}set(){this._delayedExecuter=new PeriodicalExecuter((e=>{r.set(this),e.stop(),this._delayedExecuter=null}),r.delay)}unset(){this._delayedExecuter&&(this._delayedExecuter.stop(),this._delayedExecuter=null)}getTitle(){return this._title}getContent(){return!this._contentLoaded&&this._url&&this._loadContent(),this._content}getTargetElement(){return this._targetElement}getCls(){return this._cls}getScrollable(){return this._scrollable}getPlacement(){return this._placement}}},(e,n,i)=>{"use strict";i.r(n)},(e,n,i)=>{"use strict";i.r(n),i.d(n,{PasswordMeter:()=>l});var t=i(92),a=i(389),s=i(100),r=i(275),o=i(310),d=i(392);i(513);class l extends t.Component{_initConfiguration({observe:e,...n}){this._passwordElement=document.getElementById(e),this._passwordElement.addEventListener("keyup",this._onChange.bind(this)),this._passwordElement.addEventListener("dataavailable",this._onChange.bind(this)),super._initConfiguration({id:`${this._passwordElement.id}-meter`,tag:"span",cls:"password-strength",locale:s.default.getSection("components.password.meter"),...n})}_initComponentElement(){super._initComponentElement(),(0,r.default)(this._componentElement,[(0,o.default)("i",{onrender:e=>{this._progress=e}}),(0,o.default)("b",{onrender:e=>{this._verdict=e}})])}setProgress(e){const n=["VeryWeak","Weak","Medium","Strong","VeryStrong"].indexOf(e);this._progress.setAttribute("style",`width: ${20*(n+1)}%`)}async _onChange(){const{password:e,strength:n,suggestions:i}=await(0,d.default)(this._passwordElement.value);e===this._passwordElement.value&&(this._updateVisibility(),this.setProgress(n),this._updateHint(i),this._updateVerdict(n),this._updateColor(n))}_updateVisibility(){""===this._passwordElement.value?(this._componentElement.style.display="none",this._hintContainer.style.display="none"):(this._componentElement.style.display="",this._hintContainer.style.display="")}_updateColor(e){const n=`password-strength${e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}`;this._oldClass!==n&&(this._oldClass&&this._componentElement.classList.remove(this._oldClass),this._componentElement.classList.add(n),this._oldClass=n)}_updateHint(e){this._tooltip.setContent(e.length?[this.lmsg("description"),(0,o.default)("br"),(0,o.default)("ul",e.map((e=>(0,o.default)("li.asd",e))))]:this.lmsg("yourPasswordIsStrong"))}_updateVerdict(e){this._verdict.innerHTML=this.lmsg(`verdict${e}`)}render(){super.render(),(0,r.default)(this._componentElement,(0,o.default)("span.hint-inline.hint-info",{onrender:e=>{this._hintContainer=e}},(0,o.default)("span",{onrender:e=>{this._tooltip=new a.DynamicPopupHint.Instance({title:this.lmsg("title"),waitMsg:"",url:"",placement:"right",target:e})}},"(?)")),"after"),this._updateVisibility(),this._passwordElement.value&&this._onChange()}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>d});var t=i(495),a=i(89),s=i(393);const r=t.gql`
    query PasswordEstimation($password: String!) {
        passwordEstimation(password: $password) {
            level
            suggestions
        }
    }
`,o=async e=>{const{data:{passwordEstimation:n}}=await s.default.query({query:r,variables:{password:e}});return n},d=async(e,n=o)=>{const[{level:i,suggestions:t},s]=await Promise.all([n(e),a.Locale.loadSection("components.password.suggestions")]);return{password:e,strength:["VeryWeak","Weak","Medium","Strong"][i]??"VeryStrong",suggestions:t.map((e=>s.lmsg(e)))}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>y});var t=i(396),a=i(395),s=i(432),r=i(487),o=i(475),d=i(479),l=i(510),c=i(394),m=i(430),u=i.n(m),p=i(408),v=i(427),f=i.n(v);const h=new p.SentryLink({setTransaction:!1}),g=(0,c.onError)((e=>{if(400===e.networkError?.statusCode)return window.location.reload(),new t.Observable((()=>{}))})),k={"X-Requested-With":"XMLHttpRequest"},_=document.getElementById("forgery_protection_token");_&&(k["X-Forgery-Protection-Token"]=_.content);const S={uri:"/cp/graphql",headers:k},b=a.ApolloLink.split((e=>e.getContext().noBatch||f()(e).files.size>0),u()(S),new l.BatchHttpLink({...S,batchMax:10,batchInterval:10})),y=new s.ApolloClient({link:(0,r.from)([g,h,b]),cache:new o.InMemoryCache({typePolicies:{AdditionalKey:{keyFields:["keyNumber"]},Domain:{fields:{hosting:{merge:!0},webScriptingSettings:{merge:!0},subscription:{merge:!0}}},Subscription:{fields:{permissions:{merge:!0}}},ExtensionTab:{keyFields:!1},SiteButton:{keyFields:!1},ConfigSectionGdprCookie:{keyFields:["name"]},User:{keyFields:["login"]},UserLogo:{merge:!0},UserPermissions:{merge:!0},Os:{merge:!0},Mode:{merge:!0},Home:{merge:!0},Notification:{keyFields:[]},PrimaryKey:{keyFields:["pleskKeyId"]},WebsitesDiagnostic:{keyFields:[],fields:{settings:{merge:!0}}},ServerMail:{keyFields:[],fields:{spamAssassin:{merge:!0}}},Capability:{keyFields:[],fields:{mailServer:{merge:!0},packages:{merge:!0}}},Dns:{keyFields:[]},Query:{fields:{additionalKeys:{merge:!1},recentSearch:{merge:!1},node:{read:(e,{args:{id:n},toReference:i})=>i({id:n,__typename:atob(n).split(":")[0]})}}},Server:{keyFields:[],fields:{firewall:{merge:!0},components:{merge:!1},settings:{merge:!0},information:{merge:!0},productVersion:{merge:!0},productUpdates:{merge:!0},pum:{merge:!0}}},DnsTemplate:{keyFields:[]},DnsSoaRecordTemplate:{keyFields:[]},TaskList:{keyFields:[]},IpAddress:{fields:{clients:{merge:!1}}},IpAddressList:{keyFields:[],fields:{list:{merge:!1}}},VirtualDirectory:{keyFields:["key"],fields:{errorDoc:{read:(e,{args:{code:n},toReference:i})=>i({code:n,__typename:"VirtualDirectoryErrorDoc"})}}},VirtualDirectoryErrorDoc:{keyFields:["code"]},SystemMessage:{keyFields:["key"]}},dataIdFromObject:e=>!0===e.__typename?.startsWith("Config")?e.__typename:(0,d.defaultDataIdFromObject)(e)})})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,(e,n,i)=>{"use strict";i.r(n)},(e,n,i)=>{"use strict";i.r(n),i.d(n,{PasswordGenerator:()=>r});var t=i(92),a=i(339);const s={upper:"ABCDEFGHIJKLMNOPQRSTUVWXYZ",lower:"abcdefghijklmnopqrstuvwxyz",number:"0123456789",special:"!@#$%^&*?_~"};class r extends t.Component{_initConfiguration(e){super._initConfiguration({tag:"span",...e}),this._passwordElement=document.getElementById(this._getConfigParam("password",null)),this._generateButtonElement=document.getElementById(this._getConfigParam("generateButton",null)),this._generateButtonElement.addEventListener("click",this._onGeneratePasswordClick.bind(this)),this._showButtonElement=document.getElementById(this._getConfigParam("showButton",null)),this._showButtonElement.addEventListener("click",this._onShowPasswordClick.bind(this)),this._showPasswordVisible=!0,this._showPasswordTitle=this._getConfigParam("showPasswordTitle",""),this._hidePasswordTitle=this._getConfigParam("hidePasswordTitle",""),this._passwordStrength=this._getConfigParam("passwordStrength","")}_onGeneratePasswordClick(){const e=this._generatePassword();this._passwordElement.value=e;const n=document.getElementById(this._getConfigParam("passwordConfirmation"));n&&(n.value=e),(0,a.default)(this._passwordElement,"plesk:passwordGenerated")}_onShowPasswordClick(){this._showPasswordVisible?(this._passwordElement.setAttribute("type","text"),this._showButtonElement.innerHTML=this._hidePasswordTitle):(this._passwordElement.setAttribute("type","password"),this._showButtonElement.innerHTML=this._showPasswordTitle),this._showPasswordVisible=!this._showPasswordVisible}_generatePassword(){let e="";const n=["upper","lower","lower","lower","number","number","special","number","number"];return"Stronger"===this._passwordStrength&&n.push("upper","upper","lower","lower","lower","lower","lower","lower"),n.sort(((e,n)=>Math.floor(n.length*Math.random())-Math.floor(e.length*Math.random()))),n.forEach((n=>{e+=this._generateSymbol(n)})),e}_generateSymbol(e){const n=Math.floor(s[e].length*Math.random());return s[e][n]}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{UpgradeFailureNotification:()=>d});var t=i(308),a=i(118),s=i(309),r=i(275),o=i(310);class d extends t.StatusMessage{_initConfiguration(e){this.updateInterval=5e3,super._initConfiguration(e),this._isBootstrapRunning=this._getConfigParam("isBootstrapRunning"),this._bootstrapExecutionUrl=this._getConfigParam("bootstrapExecutionUrl"),this._bootstrapStatusUrl=this._getConfigParam("bootstrapStatusUrl"),this._bootstrapInProgressMessage=this._getConfigParam("bootstrapInProgressMessage"),this._bootstrapLinkTitle=this._getConfigParam("bootstrapLinkTitle")}_addEvents(){super._addEvents(),this._isBootstrapRunning&&this._scheduleUpdateStatus()}_executeBootstrapper(){this._isBootstrapRunning=!0,(0,r.default)(this._componentElement.querySelector(".msg-content"),this._renderMessage(),"inner"),a.default.post((0,s.default)(this._bootstrapExecutionUrl)).finally((()=>{this._scheduleUpdateStatus()}))}_renderMessage(){return this._isBootstrapRunning?(0,o.default)("span.ajax-loading",this._bootstrapInProgressMessage):[this._message," ",(0,o.default)("a",{onclick:this._executeBootstrapper.bind(this)},this._bootstrapLinkTitle)]}_scheduleUpdateStatus(){setTimeout((()=>{this._statusUpdate()}),this.updateInterval)}_statusUpdate(){a.default.get((0,s.default)(this._bootstrapStatusUrl)).finally((()=>{this._scheduleUpdateStatus()}))}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{WebserverConfigurationFailure:()=>c});var t=i(308),a=i(118),s=i(353),r=i(307),o=i(312),d=i(309),l=i(98);class c extends t.StatusMessage{_initConfiguration(e){this._rebuildFailedUrl="^/admin/subscription/webserver-configuration-rebuild/?returnUrl=/",this._rebuildAllUrl="^/admin/subscription/webserver-configuration-rebuild-all/",super._initConfiguration(e),this._moduleInstalled=this._getConfigParam("moduleInstalled"),this._kbArticle=this._getConfigParam("kbArticle")}_renderMessage(){return this.lmsg("message",{error:`${(0,l.default)(this._message.trim())} ${this._moduleInstalled?`<a href="/modules/configurations-troubleshooter/">${this.lmsg("moduleLink")}</a>`:""}`,link:`<a id="webserver-configuration-failure-rebuild-failed">${this.lmsg("link")}</a>`,linkAll:`<a id="webserver-configuration-failure-rebuild-all">${this.lmsg("linkAll")}</a>`,howToFix:this._kbArticle?` ${this.lmsg("knownIssue",{kbArticle:`<a href="${this._kbArticle}" target="_blank">${this._kbArticle}</a>`})}`:""})}_addEvents(){super._addEvents(),document.getElementById("webserver-configuration-failure-rebuild-failed").addEventListener("click",this._rebuildFailed.bind(this)),document.getElementById("webserver-configuration-failure-rebuild-all").addEventListener("click",this._rebuildAll.bind(this))}_rebuildFailed(){(0,s.redirectPost)(this._rebuildFailedUrl)}_rebuildAll(){this._onCreateExecute(),a.default.post((0,d.default)(this._rebuildAllUrl)).then(this._onSuccess.bind(this)).catch(this._onException.bind(this))}_onCreateExecute(){(0,o.default)(),(0,r.default)("warning",`<span class="ajax-loading">${this.lmsg("messageInProgress")}</span>`)}_onSuccess(e){(0,o.default)(),"success"===e.status?(0,r.default)("info",this.lmsg("messageSuccess")):(0,r.default)("error",this.lmsg("messageFailure")+e.message)}_onException(e){(0,o.default)(),""===window.location.port?(0,r.default)("info",this.lmsg("messageSuccess")):(0,r.default)("error",`Internal error: ${e}`)}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{ConfirmationPopupManager:()=>c});var t=i(379),a=i(92),s=i(353),r=i(100),o=i(309),d=i(275),l=i(118);const c={};c.PopupForm=class extends t.PopupForm{_initConfiguration(e){this._sendButtonTitle="",super._initConfiguration({singleRowButtons:!0,...e}),this._prepareUrl=this._getConfigParam("prepareUrl",""),this._handlerUrl=this._getConfigParam("handlerUrl",""),this._ids=this._getConfigParam("ids",""),this._formListItemsAreaId=`${this._id}-form-list-items`,this._formListAreaId=`${this._id}-form-list`,this._formBoxAreaId=`${this._id}-form-box`,this._sendButtonId=this._getConfigParam("sendButtonId","btn-send"),this._cancelButtonId=this._getConfigParam("cancelButtonId","btn-cancel"),this._formDescriptionId=`${this._id}-form-desc`,this._longtask=this._getConfigParam("longtask",!1),this._autoload=this._getConfigParam("autoload",!0)}render(){super.render(),this.setBoxType("form-box"),this._setTitle();const e=`<form method="post" action="" enctype="application/x-www-form-urlencoded" id="${this._id}-form"><div class="box" id="${this._formBoxAreaId}"></div><div class="list" id="${this._formListAreaId}"></div></form>`;document.getElementById(this._contentAreaId).innerHTML=this._getHeadDescription()+e+this._getBottomDescription();const n=document.getElementById(`${this._id}-form`);n._formSubmit=n.submit,n.submit=this._onSubmit.bind(this),n.addEventListener("submit",this._onSubmitEvent.bind(this)),(0,d.default)(document.getElementById(this._formBoxAreaId),`<div class="ajax-loading">${this.lmsg("loading")}</div>`),this._addButtons(),this._autoload&&this._renderPreparePopup()}reload(){document.getElementById(this._formListAreaId).innerHTML="",document.getElementById(this._formBoxAreaId).innerHTML=`<div class="ajax-loading">${this.lmsg("loading")}</div>`,this._preparePopup()}_addButtons(){this.addRightButton(r.default.getSection("components.buttons").lmsg("ok"),this._onOkClick,!0,!0,{id:this._sendButtonId}),this.addRightButton(r.default.getSection("components.buttons").lmsg("cancel"),this._onCancelClick,!1,!1,{id:this._cancelButtonId})}_setTitle(){this.setTitle(this.lmsg("title"))}_getHeadDescription(){return""}_getBottomDescription(){return`<p id="${this._formDescriptionId}">${this.lmsg("description")}</p>`}_onException(e){this._addErrorMessage(`Internal error: ${e}`),this.enable()}_onOkClick(e){this._onSubmit(e)}_onCancelClick(){this.hide()}_preparePopup(){l.default.post((0,o.default)(this._prepareUrl),{ids:this._ids}).then(this._onSuccessPreparePopup.bind(this)).catch(this._onException.bind(this))}_renderPreparePopup(){this._preparePopup()}_onSubmitEvent(e){return this._onSubmit(),e.preventDefault(),!1}_onSuccessResponse(e){this.hide(),(0,s.redirect)(e.redirect)}_onSuccess(e){this._clearMessages();try{const n=JSON.parse(e.responseText);if("success"===n.status)this._onSuccessResponse(n);else{if(n.redirect)return void(0,s.redirect)(n.redirect);this._addErrorMessage(n.message),this.enable()}}catch(n){this._addErrorMessage(n.message),this._addErrorMessage(`Internal error: ${e.responseText}`),this.enable()}}disable(){const e=document.getElementById(this._sendButtonId);e&&(e.disabled=!0,e.classList.add("disabled"),this._sendButtonTitle||(this._sendButtonTitle=e.innerHTML),e.innerHTML=`<span class="wait">${this.lmsg("loading")}</span>`);const n=document.getElementById(this._cancelButtonId);n&&(n.disabled=!0,n.classList.add("disabled"))}enable(){const e=document.getElementById(this._sendButtonId);e&&(e.disabled=!1,e.innerHTML=this._sendButtonTitle,e.classList.remove("disabled"));const n=document.getElementById(this._cancelButtonId);n&&(n.disabled=!1,n.classList.remove("disabled"))}_onSuccessPreparePopup(){return!0}_getLoadingIndicatorItems(){return[]}_addLoadingIndicator(){}_getAdditionalParams(e){return e}_isValid(){return!0}_onSubmit(e){if(this._clearMessages(),!this._isValid())return;let n=$H(),i=0;if(this._ids.forEach((e=>{n.set(`ids[${i}]`,e),i++})),n=this._getAdditionalParams(n),this.disable(),this._addLoadingIndicator(this._getLoadingIndicatorItems()),this._needFlyEffect()){const i=Element.cumulativeOffset(e.target);(0,a.getComponent)("asyncProgressBarWrapper").fly(i,this._longtask,(()=>{this._sendRequest(n)}))}else this._sendRequest(n)}_needFlyEffect(){return!1!==this._longtask}_sendRequest(e){new Ajax.Request(this._handlerUrl,{method:"post",parameters:e,onSuccess:this._onSuccess.bind(this),onException:this._onException.bind(this)})}},c.PopupForm.subclasses=[]},(e,n,i)=>{"use strict";i.r(n),i.d(n,{LookUp:()=>h});var t=i(92),a=i(519),s=i(97),r=i(522),o=i(309),d=i(275),l=i(310),c=i(98),m=i(339),u=i(340),p=i(118),v=i(525),f=i(342);class h extends t.Component{_initConfiguration(e){super._initConfiguration(e),this._name=this._getConfigParam("name",null),this._cls=this._getConfigParam("cls","lookup"),this._data=this._getConfigParam("data",[]),this._currentValue=this._getConfigParam("value",null),this._newItemValue=this._getConfigParam("newItemValue",null),this._dataUrl=this._getConfigParam("dataUrl",null),this._copyTitleValue=this._getConfigParam("copyTitleValue",!1),this._limit=this._getConfigParam("limit",this._dataUrl?10:a.list.ITEMS_UNLIMITED),this._lookUpParams=this._getConfigParam("lookUpParams",{}),this._disabled=this._getConfigParam("disabled",!1),this._placeholder=this._getConfigParam("placeholder",null)}_initComponentElement(){super._initComponentElement(),this._valueField=(0,f.createHtmlElement)("input",{type:"hidden",name:this._name}),(0,d.default)(this._componentElement,this._valueField);const e={type:"text",class:"form-control"};this._disabled&&(e.disabled="disabled"),null!==this._placeholder&&(e.placeholder=this._placeholder),this._inputField=(0,f.createHtmlElement)("input",e),this._lookUpButton=(0,f.createHtmlElement)("span",{class:"form-control-icon form-control-icon-action"}),(0,d.default)(this._lookUpButton,(0,f.createHtmlElement)("i",{class:"icon-form-control-search"})),this._lookUpControl=(0,f.createHtmlElement)("div",{class:"form-control-group"}),(0,d.default)(this._lookUpControl,this._inputField),(0,d.default)(this._lookUpControl,this._lookUpButton),this._dropdownList=(0,f.createHtmlElement)("ul",{class:"dropdown-menu lookup-dropdown-menu"}),this._initCustomLookUpComponent(),this._customLookUpComponent?((0,d.default)(this._dropdownList,(0,l.default)("li",{class:"dropdown-header"},this.lmsg("label"))),(0,d.default)(this._dropdownList,(0,l.default)("li",(0,l.default)("div",{class:"dropdown-menu-content"},this._lookUpControl)))):(this._lookUpControl.classList.add("f-large-size"),(0,d.default)(this._componentElement,this._lookUpControl)),this._emptyElement=(0,f.createHtmlElement)("li"),(0,d.default)(this._emptyElement,(0,l.default)("div.dropdown-menu-content",this.lmsg("nothingFound"))),(0,d.default)(this._dropdownList,this._emptyElement),(0,d.default)(this._componentElement,this._dropdownList),!this._currentValue&&this._newItemValue&&(this._currentValue=this._newItemValue,this.handleChange()),this._updateValue(),0<this._data.length&&this._updateData(this._data),this._dataUrl&&this._limit===a.list.ITEMS_UNLIMITED&&this._getDataByUrl()}_initCustomLookUpComponent(){this._newItemValue&&(this._customLookUpComponent=(0,f.createHtmlElement)("div",{class:"input-group"}),this._customLookUpComponent.innerHTML='<input type="text" readonly="" class="form-control f-large-size" value=""><span class="input-group-btn"><button type="button" class="btn dropdown-toggle"><span class="caret"></span></button></span>',(0,d.default)(this._componentElement,this._customLookUpComponent),(0,d.default)(this._dropdownList,this._createItem(this._newItemValue)),(0,d.default)(this._dropdownList,(0,f.createHtmlElement)("li",{class:"divider"})),this._setDisabled(this._disabled))}_setDisabled(e){this._disabled=e,this._customLookUpComponent&&(this._customLookUpComponent.style["pointer-events"]=e?"none":null,this._customLookUpComponent.querySelector(".input-group input").disabled=e,this._customLookUpComponent.querySelector(".input-group .btn.dropdown-toggle").disabled=e)}disable(){this._setDisabled(!0)}enable(){this._setDisabled(!1)}_getDataByUrl(e){this._emptyElement.querySelector("div").innerHTML=this.lmsg("loading"),this._filter=e,p.default.get((0,o.default)(this._dataUrl),{filter:e,limit:this._limit,...this._lookUpParams}).then((n=>{e===this._filter&&(this._emptyElement.querySelector("div").innerHTML=this.lmsg("nothingFound"),"error"!==n.status&&(this._data=n.data,this._updateData(this._data),this._selectResults(e,n.itemsCount-this._data.length)))}))}isEmpty(){return null===this._currentValue}getValue(){return this._currentValue?this._currentValue.id:null}getItemValue(){return this._currentValue?this._currentValue:null}getDisplayValue(){return this._currentValue?this._currentValue.title:""}_openList(e){this._componentElement.classList.add("open"),this._lookUpButton.querySelector("i").classList.remove("icon-form-control-search"),this._lookUpButton.querySelector("i").classList.add("icon-form-control-clear"),this._fixDropdownPosition();const n=e?"":this._inputField.value.toLocaleLowerCase();this._dataUrl&&this._limit!==a.list.ITEMS_UNLIMITED?(this._emptyElement.querySelector("div").innerHTML=this.lmsg("loading"),this._getDataTask&&clearTimeout(this._getDataTask),this._getDataTask=setTimeout(function(){this._getDataByUrl(n)}.bind(this),250)):this._selectResults(n)}_closeList(){this._updateValue(),this._componentElement.classList.remove("open"),this._lookUpButton.querySelector("i").classList.add("icon-form-control-search"),this._lookUpButton.querySelector("i").classList.remove("icon-form-control-clear")}_updateValue(){this._valueField.value=this._currentValue?this._copyTitleValue?this._currentValue.title:this._currentValue.id:"",this._inputField.value=!this._currentValue||this._newItemValue&&this._currentValue.id===this._newItemValue.id?"":this._currentValue.title,this._newItemValue&&(this._componentElement.querySelector(".input-group input").value=this._currentValue?this._currentValue.title:"")}_selectResults(e,n){let i=0;if(this._dropdownList.querySelectorAll("li").forEach((n=>{if(!n._item)return;if(this._newItemValue&&this._newItemValue.id===n._item.id)return void(this._currentValue&&this._currentValue.id===this._newItemValue.id?(n.style.display="none",n.nextElementSibling.style.display="none"):(n.style.display="",n.nextElementSibling.style.display=""));n.classList.remove("active");const t=n.querySelector("a");let a=(0,v.default)(t.innerHTML);const s=a.toLowerCase().indexOf(e);-1!==s?(i++,i<=this._limit?(n.style.display="",a=`${a.substr(0,s)}<b class="search-result-label">${a.substr(s,e.length)}</b>${a.substr(s+e.length)}`):n.style.display="none"):n.style.display="none",t.innerHTML=a})),this._emptyElement.style.display=i?"none":"",i){const e=[...this._dropdownList.querySelectorAll("li")].filter((e=>"none"!==e.style.display));e.length&&e[0].classList.add("active")}i+=n||0,this._searchMoreElement&&(i>this._limit?(this._searchMoreElement.querySelector("div").innerHTML=this._getSearchMoreText(i-this._limit),this._searchMoreElement.style.display="",this._searchMoreElement.previousElementSibling.style.display=""):(this._searchMoreElement.style.display="none",this._searchMoreElement.previousElementSibling.style.display="none")),this._fixDropdownPosition()}_addEvents(){this._disabled||(super._addEvents(),this._customLookUpComponent?this._customLookUpComponent.addEventListener("click",(e=>{e.preventDefault(),s.Tooltip.hide(),this._componentElement.classList.contains("open")?this._inputField.blur():(this._openList(!0),this._inputField.focus())})):this._inputField.addEventListener("focus",this._inputOnFocus.bind(this)),this._inputField.addEventListener("paste",this._inputOnPaste.bind(this)),this._inputField.addEventListener("blur",this._inputOnBlur.bind(this)),this._inputField.addEventListener("keyup",this._inputOnKeyUp.bind(this)),this._inputField.addEventListener("keydown",this._inputOnKeyDown.bind(this)),this._lookUpButton.addEventListener("click",this._lookUpButtonOnClick.bind(this)))}_inputOnFocus(){this._openList(!0)}_inputOnBlur(){setTimeout((()=>{this._closeList()}),300)}_inputOnPaste(){setTimeout((()=>{this._openList();const e=this._dropdownList.querySelector("li.active");e&&(this._currentValue=e._item,this._updateValue())}),300)}_inputOnKeyUp(e){-1===[u.UP_ARROW,u.DOWN_ARROW,u.LEFT_ARROW,u.RIGHT_ARROW,u.ENTER,u.ESC].indexOf(e.keyCode)&&this._openList()}_inputOnKeyDown(e){if(-1!==[u.UP_ARROW,u.DOWN_ARROW].indexOf(e.keyCode)&&this._onArrowKeyPressed(e.keyCode),u.ESC===e.keyCode&&this._closeList(),u.ENTER===e.keyCode){const e=this._dropdownList.querySelector("li.active");e?(this._currentValue=e._item,this._closeList(),this.handleChange()):(this._closeList(),this._openList())}}_onArrowKeyPressed(e){let n=null;const i=this._dropdownList.querySelector("li.active");if(i){if(u.DOWN_ARROW===e)for(n=i.nextElementSibling;n&&("none"===n.style.display||!n._item);)n=n.nextElementSibling;else if(u.UP_ARROW===e)for(n=i.previousElementSibling;n&&("none"===n.style.display||!n._item);)n=n.previousElementSibling}else for(n=this._dropdownList.querySelector("li");n&&("none"===n.style.display||!n._item);)n=n.nextElementSibling;n&&"none"!==n.style.display&&n._item&&(n.classList.add("active"),i&&i.classList.remove("active"),this._scrollDropdownList())}_scrollDropdownList(){const e=this._dropdownList.querySelector("li.dropdown-menu-list-item"),n=this._dropdownList.querySelector("li.active");if(!e||!n)return;const i=Math.round(n.offsetTop/e.offsetHeight)+1,t=Math.round(this._dropdownList.clientHeight/e.offsetHeight);this.frameStart=this.frameStart||1,i>=this.frameStart+t?(this._dropdownList.scrollTop+=e.offsetHeight,this.frameStart++):i<=this.frameStart&&(this._dropdownList.scrollTop-=e.offsetHeight,this.frameStart--)}_lookUpButtonOnClick(e){e.preventDefault(),this._componentElement.classList.contains("open")?this._closeList():this._openList(!0)}_itemOnClick(e){e.preventDefault(),this._currentValue=e.target.closest("li")._item,this._closeList(),this.handleChange()}_itemOnOver(){this._dropdownList.querySelectorAll("li.active").forEach((e=>{e.classList.remove("active")}))}_createItem(e){const n=(0,f.createHtmlElement)("li",{class:"dropdown-menu-list-item"});return n.innerHTML=`<a href="#">${(0,c.default)(e.title)}</a>`,n._item=e,n.addEventListener("click",this._itemOnClick.bind(this)),n.addEventListener("mouseover",this._itemOnOver.bind(this)),n}_getSearchMoreText(e){return this.lmsg("moreObjectsAvailable",{count:e})}_updateData(e){this._clearData(),e.forEach((e=>{(0,d.default)(this._dropdownList,this._createItem(e))})),this._addSearchMoreElement()}_clearData(){let e;for(;e=this._emptyElement.nextSibling;)e.parentNode.removeChild(e)}_addSearchMoreElement(){this._searchMoreElement=document.createElement("li"),this._searchMoreElement.innerHTML='<div class="dropdown-menu-content"></div>',this._searchMoreElement.style.display="none",(0,d.default)(this._dropdownList,'<li class="divider" style="display: none;"></li>'),(0,d.default)(this._dropdownList,this._searchMoreElement)}_fixDropdownPosition(){this._dropdownList.style[(0,r.default)()?"right":"left"]=null;const e=document.documentElement.clientWidth,n=this._dropdownList.getBoundingClientRect(),i=((0,r.default)()?n.left:e-n.width-n.left)-parseInt(window.getComputedStyle(document.querySelector(".pul-layout__main-inner")).paddingLeft||0);i<0&&(this._dropdownList.style[(0,r.default)()?"right":"left"]=`${i}px`)}handleChange(){(0,m.default)(this._componentElement,"component:change");const e=this._getConfigParam("onChange");"function"==typeof e&&e(this._currentValue)}}h.subclasses=[]},(e,n,i)=>{"use strict";i.r(n),i.d(n,{List:()=>t.default,ListContextMenu:()=>a.default,list:()=>o});var t=i(520),a=i(521),s=i(527),r=i(523);const o={COLUMN_SELECTION:r.COLUMN_SELECTION,COLUMN_ACTIONS:r.COLUMN_ACTIONS,ITEMS_UNLIMITED:r.ITEMS_UNLIMITED,AdditionalActions:s.default}},(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__});var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(93),common_cookie__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(358),_component__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(92),_tooltip__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(97),_bar__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(374),_small_tools__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(366),_message_box__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(360),_dropdown_manager__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(365),_createComponent__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(91),_addStatusMessage__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(307),_clearStatusMessages__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(312),_showInternalError__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(336),_prepareUrl__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(309),_addUrlParams__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(266),_render__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(275),_createElement__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(310),_escapeHtml__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(98),_emptyFn__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(267),_form_redirect__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(353),_Filters__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(367),_ListContextMenu__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(521),_constants__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(523),helpers_stripTags__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(525),_api__WEBPACK_IMPORTED_MODULE_23__=__webpack_require__(118),_List_less__WEBPACK_IMPORTED_MODULE_24__=__webpack_require__(526);class List extends _component__WEBPACK_IMPORTED_MODULE_2__.Component{constructor(...e){super(...e),(0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__.default)(this,"handleSelectButtonClick",(()=>{const e=this._componentElement.querySelector('input[name="listGlobalCheckbox"]');e.checked=!e.checked,this.onListGlobalCheckboxClick()}))}_initConfiguration(e){super._initConfiguration(e),this._cls+=" js-list",this._listCls=this._getConfigParam("listCls","list"),this._tableId=`${this._id}-table`,this._dataUrl=this._getConfigParam("dataUrl",""),this._operations=this._getConfigParam("operations",null),this._itemActions=this._getConfigParam("itemActions",{}),this._columns=this._getConfigParam("columns",[]).filter(Boolean),this._limitValues=this._getConfigParam("limitValues",[10,25,100,_constants__WEBPACK_IMPORTED_MODULE_21__.ITEMS_UNLIMITED]),this._splitListData(this._getConfigParam("data",{data:null,pathbar:null,state:null,pager:null,locale:null,additional:null})),this._searchFilters=$H(this._getConfigParam("searchFilters",{})),this._searchOveral=this._getConfigParam("searchOveral",null),this._pageable=this._getConfigParam("pageable",!0),this._disabledSelectHint=this._getConfigParam("disabledSelectHint",""),this._clearStatusOnReload=this._getConfigParam("clearStatusOnReload",!0),this.isDisabledItem=this._getConfigParam("isDisabledItem",(()=>!1)),this._onRedraw=this._getConfigParam("onRedraw",_emptyFn__WEBPACK_IMPORTED_MODULE_17__.default),this._emptyViewMode=this._getConfigParam("emptyViewMode","items"),this._getTotalInfo=this._getConfigParam("getTotalInfo",(function(){return this.getLocale().formatMessage("recordsTotal",{total:this._pager.totalItemCount})})),this._getRowClass=this._getConfigParam("getRowClass",(function(){return""})),Array.isArray(this._operations)&&(this._operations=this._operations.filter((e=>null!==e)),this._operations.length||(this._operations=null))}_getSearchOveralField(){return null===this._searchOveral&&(this._searchFilters.each((function(e){e.value.overal&&(this._searchOveral=e.key)}),this),null===this._searchOveral&&1===this._searchFilters.keys().length&&(this._searchOveral=this._searchFilters.keys()[0]),null===this._searchOveral&&(this._searchOveral=!1)),this._searchOveral}_initComponentElement(){super._initComponentElement(),this._updateComponentElement(`<div id="${this._id}-container"></div>`),this._initDisablerOverlay()}_splitListData(e,n){if(!e||!e.data)return!1;const i=e.data.length;return this._data="before"===n?e.data.concat(this._data):"after"===n?this._data.concat(e.data):e.data,this._state=e.state||{},this._pager=e.pager||{},e.locale&&(this._locale.messages={...this._locale.messages,...e.locale}),e.pathbar&&(this._pathbar=e.pathbar),e.additional&&(this._additionalData={...this._additionalData,...e.additional}),i}_isColumnSelectionPresent(){return this._getColumns().includes(_constants__WEBPACK_IMPORTED_MODULE_21__.COLUMN_SELECTION)}onHeaderClick(e){this._state.sortField=e,this._state.sortDirection="down"===this._state.sortDirection?"up":"down",this.reload(`/sort-field/${e}/sort-dir/${this._state.sortDirection}`)}updateFilter(e){if(!document.getElementById(this._tableId))return void this.checkEmptyList();let n=!1,i=!1;if(this._getColumns().filter((({isVisible:e})=>"function"!=typeof e||e())).forEach((e=>{if(!e.filter||!e.filter.type)return;let t,a;t=e.filter.options?e.filter.multi?this._componentElement.querySelector(`th[data-index="${e.dataIndex}"]`).querySelectorAll("input[type=checkbox]:checked"):this._componentElement.querySelector(`th[data-index="${e.dataIndex}"] select`):this._componentElement.querySelector(`th[data-index="${e.dataIndex}"] input`),t?(i=!0,e.filter.multi?(a=[],t.forEach((function(e){a.push(e.value.toLowerCase())})),a.length===e.filter.options.length&&(a=[])):a=t.value.toLowerCase(),a!==e.filter.value&&(e.filter.value=a,n=!0)):e.filter.value=""})),!i||!e&&!n)return void this.checkEmptyList();let t="even";document.getElementById(this._tableId).querySelectorAll("tr.odd, tr.even").forEach(((e,n)=>{const i=e.childNodes;let a=!0;this._getColumns().filter((({isVisible:e})=>"function"!=typeof e||e())).forEach(((e,t)=>{const s=this._data[n][e.dataIndex];if(i[t]._filtered&&(e.noEscape?i[t].innerHTML=s:i[t].innerHTML=(0,_escapeHtml__WEBPACK_IMPORTED_MODULE_16__.default)(s),delete i[t]._filtered),!a||!e.filter||!e.filter.type||0===e.filter.value.length)return;if("date"===e.filter.type)return void(new Date(s.replace(/ /g,"T"))<new Date(e.filter.value.replace(/ /g,"T"))&&(a=!1));if(e.filter.options)return void(e.filter.multi?-1===e.filter.value.indexOf(s.toLowerCase())&&(a=!1):s.toLowerCase()!==e.filter.value&&(a=!1));const r=s.toLowerCase().indexOf(e.filter.value);-1===r||e.filter.startsWith&&0!==r?a=!1:(e.noEscape?i[t].innerHTML=`${s.substr(0,r)}<b class="search-result-label">${s.substr(r,e.filter.value.length)}</b>${s.substr(r+e.filter.value.length)}`:i[t].innerHTML=`${(0,_escapeHtml__WEBPACK_IMPORTED_MODULE_16__.default)(s.substr(0,r))}<b class="search-result-label">${(0,_escapeHtml__WEBPACK_IMPORTED_MODULE_16__.default)(s.substr(r,e.filter.value.length))}</b>${(0,_escapeHtml__WEBPACK_IMPORTED_MODULE_16__.default)(s.substr(r+e.filter.value.length))}`,i[t]._filtered=!0)})),a?(e.classList.remove(t),t="odd"===t?"even":"odd",e.classList.add(t),e.style.display=""):e.style.display="none"})),this.checkEmptyList()}onLimitClick(e){this.reload({"items-per-page":e})}onPagerClick(e){this.reload({page:e})}onListGlobalCheckboxClick(){const e=this._getActionBoxElement(),n=this._componentElement.querySelector('input[name="listGlobalCheckbox"]');if(e){const i=e.querySelector(".r-actions-select");i&&(n.checked?i.classList.add("r-actions-item-active"):i.classList.remove("r-actions-item-active"))}this._componentElement.querySelectorAll('input[name="listCheckbox[]"]').forEach((e=>{n.checked?e.closest("tr").classList.add("selected"):e.closest("tr").classList.remove("selected"),e.checked=n.checked}))}onPagerButtonClick(e){const n=this._componentElement.querySelector(".paging"),i=!n.classList.contains("r-paging-visible");this._actionBox&&this._actionBox._hideResponsiveButtonBlocks(),i&&n.classList.add("r-paging-visible"),e.stopPropagation()}listHeadersView(){const e=[],n=[];let i=!1,t=0;return this._getColumns().forEach((a=>{if(t)return void t--;if("function"==typeof a.isVisible&&!a.isVisible())return;a.headerColspan&&(t=a.headerColspan);let{header:s}=a,r=a.headerCls?`.${a.headerCls}`:"";if(void 0!==a.headerRenderer)s=a.headerRenderer(a);else{let e="";this._state.sortField===a.dataIndex&&(e="down"===this._state.sortDirection?"":".sort-up",r+=".sort"),a.sortable&&(s=(0,_createElement__WEBPACK_IMPORTED_MODULE_15__.default)(`a${e}`,{onclick:this.onHeaderClick.bind(this,a.dataIndex)},s))}e.push((0,_createElement__WEBPACK_IMPORTED_MODULE_15__.default)(`th${r}${t?`[colspan="${t}"]`:""}`,{...a.headerParams},s));let o="";a.filter&&(i=!0,o=_Filters__WEBPACK_IMPORTED_MODULE_19__.default.create({name:a.dataIndex,locale:this.getLocale(),...a.filter},this.updateFilter.bind(this,!1))),n.push((0,_createElement__WEBPACK_IMPORTED_MODULE_15__.default)("th",{"data-index":a.dataIndex},o))})),(0,_createElement__WEBPACK_IMPORTED_MODULE_15__.default)("thead",i?(0,_createElement__WEBPACK_IMPORTED_MODULE_15__.default)("tr.list-search-filter",n):"",(0,_createElement__WEBPACK_IMPORTED_MODULE_15__.default)("tr",e))}listDataView(e=this._data,n=0){return e?(0,_createElement__WEBPACK_IMPORTED_MODULE_15__.default)("tbody",Object.keys(e).map((i=>this.rowView(e[i],i,n)))):null}rowView(e,n,i){const t=this._getColumns().filter((e=>"function"!=typeof e.isVisible||e.isVisible())).map((n=>{let i=null;if("function"==typeof n.renderer){const t=this.isDisabledItem(e);t&&n.hideDisabled||(i=n.renderer.call(this,e,t))}else void 0!==n.dataIndex&&void 0!==e[n.dataIndex]&&(i=n.noEscape?e[n.dataIndex]:(0,_escapeHtml__WEBPACK_IMPORTED_MODULE_16__.default)(e[n.dataIndex]));return(0,_createElement__WEBPACK_IMPORTED_MODULE_15__.default)("td",{class:n.cls},i)}));return(0,_createElement__WEBPACK_IMPORTED_MODULE_15__.default)(`tr.${this._getRowClass(e)}.${(n+i)%2?"even":"odd"}`,{"data-row-id":e.id},t)}listView(){return(0,_createElement__WEBPACK_IMPORTED_MODULE_15__.default)(`.${this._listCls}`,(0,_createElement__WEBPACK_IMPORTED_MODULE_15__.default)(`table#${this._tableId}[width="100%"][cellspacing="0"]`,this.listHeadersView(),this.listDataView()))}containerView(){return(0,_createElement__WEBPACK_IMPORTED_MODULE_15__.default)(`#${this._id}-container`,this._getActionBox(),this._getPathbarHtml(),this._getPagerHtml(),this.listView(),this._getPagerHtml(),this.emptyViewContainer())}checkEmptyList(){const e=this.isListEmpty();this._componentElement.querySelectorAll(".js-empty-list").forEach((n=>{n.style.display=e?"":"none"})),this._componentElement.querySelectorAll(".paging").forEach((n=>{n.style.display=e?"none":""}));const n=this._listCls.split(" ").reduce(((e,n)=>(""!==n&&(e+=`.${n}`),e)),"");this._componentElement.querySelectorAll(n).forEach((n=>{n.style.display=e?"none":""}))}isFiltered(){return Object.values(this._state?.searchFilters||{}).some((({searchText:e})=>e))}isListEmpty(){return document.getElementById(this._tableId)?![...document.getElementById(this._tableId).querySelectorAll("tr.odd, tr.even")].filter((e=>"none"!==e.style.display)).length:!this._data.length}_getActionBox(){return this._operations||this._searchFilters.keys().length?!this.isFiltered()&&this.isListEmpty()&&"all"===this._emptyViewMode?null:(this._state.forceShowSearch&&common_cookie__WEBPACK_IMPORTED_MODULE_1__.default.set(`${this._id}-search-show`,"true"),this._actionBox=new _small_tools__WEBPACK_IMPORTED_MODULE_5__.SmallTools({locale:this.getLocale(),operationsId:`${this._id}-operations`,operations:this._getOperations(),listId:this._id,searchFilters:this._searchFilters,searchFiltersState:this._state.searchFilters,searchOveral:this._searchOveral,searchHandler:this._onSearchClick.bind(this),resetSearchHandler:this._onResetSearchClick.bind(this),searchCollapsed:"true"!==common_cookie__WEBPACK_IMPORTED_MODULE_1__.default.get(`${this._id}-search-show`),onToggleSearch:e=>{common_cookie__WEBPACK_IMPORTED_MODULE_1__.default.set(`${this._id}-search-show`,!e),this._hideItemsNotSelectedWarning()},quickSearchInputId:`${this._id}-search-text-${this._getSearchOveralField()}`}),this._actionBox):null}_getActionBoxElement(){return this._componentElement.querySelector(".actions-box")}_getPathbarHtml(){return this._pathbar?`<div id="${this._id}-pathbar"></div>`:""}_getPagerHtml(){return this._pageable?(0,_createElement__WEBPACK_IMPORTED_MODULE_15__.default)(".paging",(0,_createElement__WEBPACK_IMPORTED_MODULE_15__.default)(".paging-area",(0,_createElement__WEBPACK_IMPORTED_MODULE_15__.default)("span.paging-info",{onclick:e=>this.onPagerButtonClick(e)},this._getTotalInfo()),(0,_createElement__WEBPACK_IMPORTED_MODULE_15__.default)("span.paging-view",this.lmsg("numberOfItemPerPage"),": ",this._getLimitValuesHtml()),this._pager.pageCount>1?(0,_createElement__WEBPACK_IMPORTED_MODULE_15__.default)("span.paging-nav",this.lmsg("pages"),": ",this._getPagesItemsHtml()):null)):null}_getLimitValuesHtml(){const e=[];return this._limitValues.forEach(((n,i)=>{const t=_constants__WEBPACK_IMPORTED_MODULE_21__.ITEMS_UNLIMITED===n?this.lmsg("allItems"):n;i>0&&e.push(" "),e.push(this._pager.itemCountPerPage!==n?(0,_createElement__WEBPACK_IMPORTED_MODULE_15__.default)("a",{onclick:()=>this.onLimitClick(n)},t):(0,_createElement__WEBPACK_IMPORTED_MODULE_15__.default)("span",t))})),e}_getPagesItemsHtml(){const e=[];return this._pager.first!==this._pager.current?e.push((0,_createElement__WEBPACK_IMPORTED_MODULE_15__.default)("a",{onclick:()=>this.onPagerClick(this._pager.first)},this.lmsg("firstPage"))):e.push((0,_createElement__WEBPACK_IMPORTED_MODULE_15__.default)("span",this.lmsg("firstPage"))),e.push(" "),this._pager.previous?e.push((0,_createElement__WEBPACK_IMPORTED_MODULE_15__.default)("a",{onclick:()=>this.onPagerClick(this._pager.previous)},"&lt;&lt;")):e.push((0,_createElement__WEBPACK_IMPORTED_MODULE_15__.default)("span","&lt;&lt;")),e.push(" "),$H(this._pager.pagesInRange).values().each((n=>{n!==this._pager.current?e.push((0,_createElement__WEBPACK_IMPORTED_MODULE_15__.default)("a",{onclick:()=>this.onPagerClick(n)},n)):e.push(n),e.push(" ")})),this._pager.next?e.push((0,_createElement__WEBPACK_IMPORTED_MODULE_15__.default)("a",{onclick:()=>this.onPagerClick(this._pager.next)},"&gt;&gt;")):e.push((0,_createElement__WEBPACK_IMPORTED_MODULE_15__.default)("span","&gt;&gt;")),e.push(" "),this._pager.last!==this._pager.current?e.push((0,_createElement__WEBPACK_IMPORTED_MODULE_15__.default)("a",{onclick:()=>this.onPagerClick(this._pager.last)},this.lmsg("lastPage"))):e.push((0,_createElement__WEBPACK_IMPORTED_MODULE_15__.default)("span",this.lmsg("lastPage"))),e}emptyViewContainer(){return(0,_createElement__WEBPACK_IMPORTED_MODULE_15__.default)(".js-empty-list.empty-list",this.isFiltered()?(0,_createElement__WEBPACK_IMPORTED_MODULE_15__.default)("p.text-muted",this.lmsg("noEntriesFound")):this.emptyView())}emptyView(){return this._getConfigParam("emptyView",(0,_createElement__WEBPACK_IMPORTED_MODULE_15__.default)("p.text-muted",this.lmsg("noEntries")))}_onSearchClick(e){this.reload(`?${Form.serialize(e)}`)}_onResetSearchClick(){this.reload("/reset-search/true/")}_addSelectionHandlers(){let e;const n=this._componentElement.querySelector(".actions-box .r-actions-list");n&&(e=new Element("li",{class:"r-actions-item r-actions-select"}),e.innerHTML="<span></span>",e.addEventListener("click",(e=>{e.stopPropagation(),this.handleSelectButtonClick()})),(0,_render__WEBPACK_IMPORTED_MODULE_14__.default)(n,e,"top"));const i=this._componentElement.querySelector('input[name="listGlobalCheckbox"]');i.addEventListener("click",this.onListGlobalCheckboxClick.bind(this)),this._componentElement.querySelectorAll('input[name="listCheckbox[]"]').forEach((n=>{n.addEventListener("click",(()=>{n.checked?n.closest("tr").classList.add("selected"):(n.closest("tr").classList.remove("selected"),i.checked=!1,e&&e.classList.remove("r-actions-item-active"))}))})),document.body.addEventListener("click",(e=>{e.target.closest(".actions-box")||this._hideItemsNotSelectedWarning()})),document.body.addEventListener("touchstart",(()=>{this._hideItemsNotSelectedWarning()}))}_addPathbar(){this._pathbar&&(0,_render__WEBPACK_IMPORTED_MODULE_14__.default)(document.getElementById(`${this._id}-pathbar`),(0,_createComponent__WEBPACK_IMPORTED_MODULE_8__.default)(this._pathbar))}disable(){this._disablerOverlay.style.display=""}enable(){this._disablerOverlay.style.display="none"}getSelectedItemsIds(){return[...this._componentElement.querySelectorAll('input[name="listCheckbox[]"]')].filter((({checked:e})=>e)).map((({value:e})=>e))}getSelectedItems(){const e=[],n=[];return this.getSelectedItemsIds().forEach((function(n){e.push(n)})),this._data.forEach((function(i){e.indexOf(i.id.toString())<0||n.push(i)})),n}checkNonEmptySelection(){return this.getSelectedItemsIds().length?(this._hideItemsNotSelectedWarning(),!0):(this._showItemsNotSelectedWarning(),!1)}execLongGroupOperation(e,n){let i;e.onSuccess=function(){const e=(0,_component__WEBPACK_IMPORTED_MODULE_2__.getComponent)("asyncProgressBarWrapper");e.removePreparingItem(i),e.update()},e.beforeSendRequest=function(t){const a=Element.cumulativeOffset(n.target);i=(0,_component__WEBPACK_IMPORTED_MODULE_2__.getComponent)("asyncProgressBarWrapper").fly(a,e.taskName,(function(){t()}))},this.execGroupOperation(e)}execGroupOperation(e){const n=e.payload||{};Object.defineProperty(n,"toArray",{value(){return Object.entries(this).map((([e,n])=>({key:e,value:n})))}});const i=e.submitVarName?e.submitVarName:"ids",{toJsonPayload:t}=e,a=e.selectedItems?e.selectedItems:this.getSelectedItemsIds();if(a.forEach(((e,a)=>{t?(n[i]||=[],n[i].push(e)):n[`${i}[${a}]`]=e})),e.checkSelection){if(!e.checkSelection())return}else{if(!a.length)return void this._showItemsNotSelectedWarning();this._hideItemsNotSelectedWarning()}const s=this._submit,r=e.submitHandler?e.submitHandler:(n,i)=>{const t={method:"post",parameters:i,reloading:!1,context:this,onSuccess:n=>{let i;try{i=JSON.parse(n.responseText)}catch{return void(0,_showInternalError__WEBPACK_IMPORTED_MODULE_11__.default)(n.responseText)}i.redirect?(0,_form_redirect__WEBPACK_IMPORTED_MODULE_18__.redirect)(i.redirect):i.noReload||(t.reloading=!0,this.reload()),this._clearStatusOnReload&&(0,_clearStatusMessages__WEBPACK_IMPORTED_MODULE_10__.default)(),i.statusMessages?.forEach((({status:e,content:n})=>{(0,_addStatusMessage__WEBPACK_IMPORTED_MODULE_9__.default)(e,n)})),e.onSuccess&&e.onSuccess(i)},onCreate:()=>{this.disable()},onComplete:()=>{t.reloading||this.enable()},onFailure:e=>{504===e.status?(0,_addStatusMessage__WEBPACK_IMPORTED_MODULE_9__.default)("error",this.lmsg("timeoutMessage")):(0,_showInternalError__WEBPACK_IMPORTED_MODULE_11__.default)(e.responseText),this.enable()}};s((0,_prepareUrl__WEBPACK_IMPORTED_MODULE_12__.default)(n),t)},o=function(){e.beforeSendRequest?e.beforeSendRequest((()=>{r(e.url,n)}),n):r(e.url,n)};let{skipConfirmation:d}=e;const{mouseEvent:l}=e;l&&!d&&(l.preventDefault(),d=l.shiftKey),d?o():(e.confirmationPopup=e.confirmationPopup||this._confirmationPopup.bind(this,e,o),e.confirmationPopup(n))}_submit(e,n){new Ajax.Request(e,n)}_confirmationPopup({getConfirmOnGroupOperation:e,text:n,description:i,subtype:t,needAttention:a=!1,needAttentionText:s="",needAttentionBlockSubmit:r=!1,needAttentionOnChange:o=null,requestUrl:d,isAjax:l,loadingTitle:c,locale:m={}},u,p){_message_box__WEBPACK_IMPORTED_MODULE_6__.messageBox.show({type:_message_box__WEBPACK_IMPORTED_MODULE_6__.messageBox.TYPE_YESNO,buttonTitles:["Yes","No","Wait"].reduce(((e,n)=>{const i=`button${n}`;return m[i]&&(e[n.toLowerCase()]=m[i]),e}),{}),text:e?e():n||m.confirmOnGroupOperation,description:i,subtype:t,needAttention:a,needAttentionText:s,needAttentionBlockSubmit:r,needAttentionOnChange:o,onYesClick:u,isAjax:l,requestUrl:d,requestParams:p,loadingTitle:c})}_showItemsNotSelectedWarning(){this._hideItemsNotSelectedWarning();const e=this._getActionBoxElement()?.querySelector(".actions-msg-container");e?e.style.display="":(0,_render__WEBPACK_IMPORTED_MODULE_14__.default)(this._getActionBoxElement(),`<div class="actions-msg-container"><span class="list-actions-msg"><span>${this.lmsg("itemsNotSelected")}</span></span></div>`,"top"),this._itemsNotSelectedTimerId=setTimeout((()=>{this._hideItemsNotSelectedWarning()}),3e3)}_hideItemsNotSelectedWarning(){clearTimeout(this._itemsNotSelectedTimerId);const e=this._getActionBoxElement()?.querySelector(".actions-msg-container");e&&(e.style.display="none")}_addEvents(){super._addEvents(),document.body.addEventListener("click",(()=>{const e=this._componentElement.querySelector(".paging");e&&e.classList.remove("r-paging-visible")}))}reload(e,n){if(e=e||"",!this._dataUrl)return null;let i=(0,_addUrlParams__WEBPACK_IMPORTED_MODULE_13__.default)(this._dataUrl,e);return this._additionalData&&this._additionalData.controllerName&&(i=(0,_addUrlParams__WEBPACK_IMPORTED_MODULE_13__.default)(i,{controllerName:this._additionalData.controllerName})),this._additionalData&&this._additionalData.actionName&&(i=(0,_addUrlParams__WEBPACK_IMPORTED_MODULE_13__.default)(i,{actionName:this._additionalData.actionName})),this._request&&this._request.abort(),this._request=new Ajax.Request((0,_prepareUrl__WEBPACK_IMPORTED_MODULE_12__.default)(i),{method:"get",onSuccess:this._onReloadSuccess.bind(this,n),onFailure:this._onReloadFailure.bind(this),onException:this._onReloadException.bind(this),onCreate:this._onReloadCreate.bind(this),onComplete:this._onReloadComplete.bind(this)}),this._request}_onReloadSuccess(e,n){if(!n.responseText)return;let i={};try{i=JSON.parse(n.responseText)}catch{return void(0,_showInternalError__WEBPACK_IMPORTED_MODULE_11__.default)(n.responseText)}i.redirect&&(0,_form_redirect__WEBPACK_IMPORTED_MODULE_18__.redirect)(i.redirect);const t=this._splitListData(i,e);!1===t?this.processReloadError(i):this.redraw(e,t)}_onReloadFailure(e){(0,_showInternalError__WEBPACK_IMPORTED_MODULE_11__.default)(e.responseText)}_onReloadException(e,n){(0,_showInternalError__WEBPACK_IMPORTED_MODULE_11__.default)(`${n}\n${e.responseText}`)}_onReloadCreate(){this._clearStatusOnReload&&(0,_clearStatusMessages__WEBPACK_IMPORTED_MODULE_10__.default)(),this.disable()}_onReloadComplete(){this._request=null,this.enable()}_addDisabledCheckboxesHints(){this._componentElement.querySelectorAll('input[type="checkbox"][disabled]').forEach((e=>{new _tooltip__WEBPACK_IMPORTED_MODULE_3__.Tooltip.Instance(e.previousSibling,{text:this._disabledSelectHint})}))}redrawPartial(e,n){n&&("before"===e?(0,_render__WEBPACK_IMPORTED_MODULE_14__.default)(document.getElementById(this._tableId).querySelector("thead"),this.listDataView(this._data.slice(0,n)),"after"):"after"===e&&(0,_render__WEBPACK_IMPORTED_MODULE_14__.default)(document.getElementById(this._tableId),this.listDataView(this._data.slice(-n))),_tooltip__WEBPACK_IMPORTED_MODULE_3__.Tooltip.initData(this._componentElement),this.updateFilter(!0))}redraw(e,n){if(e&&document.getElementById(this._tableId))return this.redrawPartial(e,n),void this._onRedraw();this._componentElement.removeChild(this._componentElement.firstChild),(0,_render__WEBPACK_IMPORTED_MODULE_14__.default)(this._componentElement,this.containerView(),"top"),this._isColumnSelectionPresent()&&this._pager.totalItemCount>0&&this._addSelectionHandlers(),this._contextMenu&&this._contextMenu.onRedraw(),this._addPathbar(),this._disabledSelectHint&&this._addDisabledCheckboxesHints(),this._addResponsiveHtml(),this._initDropdowns(),this._initItemActions(),_tooltip__WEBPACK_IMPORTED_MODULE_3__.Tooltip.initData(this._componentElement),this.updateFilter(!0),this._onRedraw()}_initItemActions(){this._componentElement.querySelectorAll("a[data-action-name]").forEach((e=>{e.addEventListener("click",(n=>{if(n.preventDefault(),!this._itemActions[e.dataset.actionName])return;const i=e.closest("tr").dataset.rowId,t=this._data.filter((({id:e})=>e===i))[0];this._itemActions[e.dataset.actionName](t,n)}))}))}_initDropdowns(){let e;for(this._dropdowns=this._dropdowns||[];e=this._dropdowns.pop();)_dropdown_manager__WEBPACK_IMPORTED_MODULE_7__.DropdownManager.unregister(e);this._componentElement.querySelectorAll(".dropdown .input-group").forEach((e=>{this._dropdowns.push(_dropdown_manager__WEBPACK_IMPORTED_MODULE_7__.DropdownManager.register(e,(function(){return e.parentNode.classList.contains("open")}),(function(){e.parentNode.classList.add("open")}),(function(){e.parentNode.classList.remove("open")})))}))}processReloadError(e){e&&e.statusMessages?e.statusMessages.forEach((({status:e,content:n})=>{(0,_addStatusMessage__WEBPACK_IMPORTED_MODULE_9__.default)(e,n)})):(0,_showInternalError__WEBPACK_IMPORTED_MODULE_11__.default)("Unable to load list data.")}hasSelectedItems(e){return this.getSelectedItemsIds().length?(this._hideItemsNotSelectedWarning(),e&&e.bind(this)(),!0):(this._showItemsNotSelectedWarning(),!1)}getItemById(e){for(let n=0;n<this._data.length;n++)if("number"==typeof this._data[n].id&&this._data[n].id===Number(e)||this._data[n].id===e)return this._data[n];return null}getItemByName(e){for(let n=0;n<this._data.length;n++)if(this._data[n].name===e)return this._data[n];return null}_addResponsiveHtml(){const e=this._componentElement.querySelectorAll("thead th");this._componentElement.querySelectorAll(`#${this._tableId} tbody tr`).forEach((n=>{const i=n.children;for(let n=0;n<i.length;n++){const t=i[n],a=(0,helpers_stripTags__WEBPACK_IMPORTED_MODULE_22__.default)(e[n].innerHTML.trim()),s=`<span class="r-visible">${a}</span>`;this._addResponsiveHtmlToButtons(t,s),this._addResponsiveHtmlToImages(t,s),this._addResponsiveHtmlToIcons(t,s),this._addResponsiveHtmlToNumbers(t,a)}}))}_addResponsiveHtmlToButtons(e,n){const i=e.querySelectorAll("a.s-btn");i.forEach((e=>{const n=e.parentNode.querySelector(".tooltipData");!e.querySelector("span").innerHTML&&n&&(e.querySelector("span").innerHTML=`<span class="r-visible">${n.innerHTML}</span>`)})),1!==i.length||i[0].querySelector("span").innerHTML||(i[0].querySelector("span").innerHTML=n)}_addResponsiveHtmlToImages(e,n){const i=e.querySelectorAll('a img,a [class^="icon-"],a [class*=" icon-"]');i.forEach((e=>{let t="";const a=e.parentNode.parentNode.querySelector(".tooltipData");if(a)t=a.innerHTML;else{if(1!==i.length)return;t=n}if(!e.closest(".b-indent-icon")||!e.closest("a").innerHTML.replace(e.closest(".b-indent-icon").outerHTML,"").trim()){let n=e;if("img"===e.tagName.toLowerCase()){const i=document.createElement("i");i.className="icon",n.parentNode.replaceChild(i,n),n=i,i.appendChild(e)}(0,_render__WEBPACK_IMPORTED_MODULE_14__.default)(n,` <span class="r-visible">${t}</span>`,"after"),e.closest("a").classList.add("i-link")}}))}_addResponsiveHtmlToIcons(e,n){const i=e.querySelectorAll("span.b-indent-icon");i.forEach((e=>{const n=e.querySelector(".tooltipData");n&&!e.parentNode.innerHTML.replace(e.outerHTML,"").trim()&&(0,_render__WEBPACK_IMPORTED_MODULE_14__.default)(e.querySelector("img"),` <span class="r-visible">${n.innerHTML}</span>`,"after")})),1!==i.length||i[0].querySelector("span.r-visible")||i[0].parentNode.innerHTML.replace(i[0].outerHTML,"").trim()||(0,_render__WEBPACK_IMPORTED_MODULE_14__.default)(i[0].querySelector("img"),n,"after")}_addResponsiveHtmlToNumbers(e,n){const i=e.innerHTML,t=`<span class="r-visible">${n}: </span>`;("-"===i||!isNaN(parseFloat(i))&&isFinite(i))&&(0,_render__WEBPACK_IMPORTED_MODULE_14__.default)(e,t,"top");const a=e.querySelectorAll("a");1===a.length&&("-"===a[0].innerHTML||!isNaN(parseFloat(a[0].innerHTML))&&isFinite(a[0].innerHTML))&&(0,_render__WEBPACK_IMPORTED_MODULE_14__.default)(e,t,"top")}checkSyncStatus(e,n,i,t,a){this._randomId===t&&(a={timeout:5e3,progressStatus:"started",...a},_api__WEBPACK_IMPORTED_MODULE_23__.default.get(n).then((s=>{const r=document.getElementById(e);r&&(a.progressStatus===s.status?setTimeout((()=>{this.checkSyncStatus(e,n,i,t,a)}),a.timeout):i(r,s))})))}_getOperations(){const e=this._operations?this._operations.slice():[];if(!this._additionalData||!this._additionalData.operations||!this._additionalData.operations.length)return e;const n=this._getDeleteButtonIndex();let i=[n,0];return 0!==n&&"Jsw.bar.Separator"!==e[n-1].componentType&&i.push({componentType:_bar__WEBPACK_IMPORTED_MODULE_4__.bar.Separator}),i=i.concat(this._additionalData.operations),n!==e.length&&i.push({componentType:_bar__WEBPACK_IMPORTED_MODULE_4__.bar.Separator}),e.splice(...i),e}_getColumns(){const e=this._columns.slice(),n=this._additionalData&&this._additionalData.extensions||{};return Object.keys(n).forEach((i=>{this._modifyColumnsByExtension(e,n[i])})),e}_modifyColumnsByExtension(columns,extension){const findColumn=e=>{const n=columns.filter((n=>n.dataIndex===e))[0];return e=parseInt(e),n||columns[e<0?e+columns.length:e-1]};extension.columnsOverride&&Object.keys(extension.columnsOverride).forEach((dataIndex=>{const originalColumn=findColumn(dataIndex);if(!originalColumn)return;const column=extension.columnsOverride[dataIndex];column.title&&(column.header=column.title),column.renderer&&(column.renderer=eval(`(${column.renderer})`)),void 0===column.isVisible||column.isVisible||(column.isVisible=function(){return!1}),Object.extend(originalColumn,column)})),extension.columns&&Object.keys(extension.columns).forEach((dataIndex=>{let column=extension.columns[dataIndex],index,originalColumn;column.renderer&&(column.renderer=eval(`(${column.renderer})`)),column={header:column.title,dataIndex,...column},index=column.insertBefore&&(originalColumn=findColumn(column.insertBefore))?columns.indexOf(originalColumn):column.insertAfter&&(originalColumn=findColumn(column.insertAfter))?columns.indexOf(originalColumn)+1:columns.length,columns.splice(index,0,column)}))}_getDeleteButtonIndex(){if(!this._operations)return 0;let e=this._operations.length;return this._operations.forEach(((n,i)=>{"sb-remove-selected"===n.addCls&&(e=i)})),e}getItemActions({actions:e=[]}){return"separator"===(e=e.reduce(((e,n)=>"separator"===n?(e.length&&"separator"!==e[e.length-1]&&e.push(n),e):("string"==typeof n&&(n={name:n}),(n.href||this._itemActions[n.name])&&e.push(n),e)),[]))[e.length-1]&&e.pop(),e}render(){super.render(),this._getColumns().includes(_constants__WEBPACK_IMPORTED_MODULE_21__.COLUMN_ACTIONS)&&(this._contextMenu=new _ListContextMenu__WEBPACK_IMPORTED_MODULE_20__.default({renderTo:document.body,list:this})),this._data?this.redraw():this.reload()}}List.subclasses=[];const __WEBPACK_DEFAULT_EXPORT__=List},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>u});var t=i(310),a=i(351),s=i(365),r=i(522),o=i(309),d=i(275);const l="dropDown",c="tableRow";class m extends a.Container{_initConfiguration(e){super._initConfiguration(e),this._cls="popup-box popup-menu collapsed",this._list=this._getConfigParam("list")}_initComponentElement(){super._initComponentElement(),this._componentElement.innerHTML='<table class="popup-wrapper" cellspacing="0"><tbody><tr><td class="popup-container"><div class="c1"><div class="c2"><div class="c3"><div class="c4"><div class="c5"><div class="popup-content"><div class="popup-content-area"></div></div></div></div></div></div></div></td></tr></tbody></table>'}onRedraw(){this._initRowStyles(),this._initShowOnClick()}_prefillPopup(e){(0,d.default)(this._componentElement.querySelector(".popup-content-area"),(0,t.default)("ul",this._list.getItemActions(e).map((n=>"separator"===n?(0,t.default)("li.separator",(0,t.default)("span")):(0,t.default)("li",(0,t.default)("a",{class:`sb-btn ${n.iconClass?n.iconClass:"sb-no-icon"}`,href:n.href?(0,o.default)(n.href):null,target:n.newWindow?"_blank":null,"data-button-key":n.name,onclick:this._list._itemActions[n.name]?i=>{i.preventDefault(),this._list._itemActions[n.name](e,i)}:null},(0,t.default)("i",(0,t.default)("i",(0,t.default)("i",(0,t.default)("span",n.title||this._list.lmsg(`item-action-${n.name}`)))))))))),"inner")}_togglePopupNearButton(e){document.getElementById(this._list._tableId).querySelectorAll("tr.odd,tr.even").forEach((e=>{e.classList.remove("row-over")})),this._componentElement.classList.add("collapsed"),e.closest(".btn-group").classList.contains("btn-group-open")||(document.querySelectorAll(".btn-list-menu").forEach((e=>{e.closest(".btn-group").classList.remove("btn-group-open")})),this._componentElement.classList.remove("collapsed"),e.closest("tr").classList.add("row-over")),e.closest(".btn-group").classList.toggle("btn-group-open");const n=document.viewport.getScrollOffsets(),i=Element.viewportOffset(e);i.left+=n.left,i.top+=n.top;const t=Element.getWidth(e),a=Element.getHeight(e);this._componentElement.classList.contains("collapsed")||this._setPosition(i.left,i.top+a,i.left+t,i.top)}_initRowStyles(){document.getElementById(this._list._tableId).querySelectorAll("tr.odd,tr.even").forEach((e=>{const n=e.querySelector(".dropdown-toggle");if(!n)return;const i=this._list.getItemById(n.dataset.rowId);i&&this._list.getItemActions(i).length&&e.classList.add("list-context-actions")}))}_hidePopup(){this._componentElement.classList.add("collapsed"),this.targetData.rowEl.querySelector(".btn-group").classList.remove("btn-group-open"),this.targetData.rowEl.classList.remove("row-over")}_openPopup(e){this._prefillPopup(this.targetData.rowData),this.targetType===c?(this.targetData.rowEl.classList.add("row-over"),this._componentElement.classList.remove("collapsed"),this._setPosition(e.clientX+(window.scrollX||window.pageXOffset),e.clientY+(window.scrollY||window.pageYOffset))):this._togglePopupNearButton(this.targetData.dropDownEl)}_isListContextEvent({target:e}){return!e.closest("input,a")&&(e.closest(".list-menu")||e.closest("[data-row-id]"))}_getTargetData(e){const n=e.closest("tr");let i;if(this.targetType===l?i=e.closest(".btn-list-menu"):this.targetType===c&&(i=n.querySelector(".dropdown-toggle")),!i)return null;const t=this._list.getItemById(i.dataset.rowId);return t&&this._list.getItemActions(t).length?{rowData:t,rowEl:n,dropDownEl:i}:null}_getTargetType(e){return e.closest(".list-menu")?l:e.closest("[data-row-id]")?c:null}_open(e){this.targetType=this._getTargetType(e.target),this.targetData=this._getTargetData(e.target),this.targetData&&this._openPopup(e)}_hide(e){this.targetData&&(this._hidePopup(e),this._isListContextEvent(e)&&this._isImmediatelyOpening(e)&&this._open(e))}_isOpened(){return this.targetData&&this.targetData.dropDownEl&&this.targetData.dropDownEl.closest(".btn-group").classList.contains("btn-group-open")||!this._componentElement.classList.contains("collapsed")}_isImmediatelyOpening(e){const n=this._getTargetType(e.target),i=this._getTargetData(e.target);return n&&i&&(n===l&&this.targetType===c||n===l&&i.rowEl.dataset.rowId!==this.targetData.rowEl.dataset.rowId)}_initShowOnClick(){s.DropdownManager.register(document.getElementById(this._list._tableId),this._isOpened.bind(this),this._open.bind(this),this._hide.bind(this),this._isListContextEvent.bind(this))}_setPosition(e,n,i,t){i=i||e,t=t||n;const a=document.viewport.getScrollOffsets(),s=Element.getWidth(document.body),o=Element.getWidth(this._componentElement);(0,r.default)()?i-o-a.left>0&&(e=i-o):e+o-a.left>s&&(e=i-o);const d=Element.getHeight(document.body),l=Element.getHeight(this._componentElement),c=parseInt(Element.getStyle(this._componentElement,"marginTop"));n+l+c-a.top>d&&(n=t-l-2*c),this._componentElement.style.right="auto",this._componentElement.style.left=`${e}px`,this._componentElement.style.top=`${n}px`}}const u=m},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>t});const t=()=>"rtl"===document.documentElement.dir},(e,n,i)=>{"use strict";i.r(n),i.d(n,{COLUMN_ACTIONS:()=>s,COLUMN_SELECTION:()=>a,ITEMS_UNLIMITED:()=>r});var t=i(337);const a={cls:"select",headerCls:"select",hideDisabled:!1,headerRenderer:()=>'<input type="checkbox" class="checkbox" name="listGlobalCheckbox"/>',renderer:(e,n)=>n?'<div><span class="checkbox-disabled-wrapper"></span><input style="z-index: 1;" disabled="disabled" type="checkbox" class="checkbox"/></div>':`<input type="checkbox" class="checkbox" name="listCheckbox[]" value="${(0,t.default)(e.id)}"/>`},s={header:"",cls:"min",sortable:!1,renderer(e){if(!e.actions||!e.actions.length)return"";return`<span class="btn-group list-menu"><button type="button" class="btn btn-list-menu dropdown-toggle" data-row-id="${e.id?(0,t.default)(e.id):""}"><i class="icon"><img src="${i(524)}" alt=""></i> <em class="caret"></em></button></span>`}},r=1e5},e=>{e.exports=Jsw.skinUrl+"/icons/16/plesk/menu.png?a75a537332528331bb513a94e26d173d"},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>t});const t=e=>e.replace(/<\/?[^>]+(>|$)/g,"")},(e,n,i)=>{"use strict";i.r(n)},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>d});var t=i(92),a=i(345),s=i(91),r=i(275);class o extends t.Component{_initConfiguration(e){super._initConfiguration({cls:"actions-menu",...e}),this._operations=this._getConfigParam("operations",null),this._titleAddCls=this._getConfigParam("titleAddCls","sb-more-actions")}_initComponentElement(){super._initComponentElement(),(0,r.default)(this._componentElement,`<div class="popup-box collapsed"><table class="popup-wrapper" cellspacing="0"><tbody><tr><td class="popup-container"><div class="c1"><div class="c2"><div class="c3"><div class="c4"><div class="c5"><div class="popup-heading"><div class="heading-area"><span class="close"></span><h4><span>${this._getConfigParam("title","")}</span></h4></div></div><div class="popup-content"><div class="popup-content-area"><ul id="${this._id}-operations"></ul></div></div></div></div></div></div></div></td></tr></tbody></table></div>`)}_addEvents(){super._addEvents(),document.body.addEventListener("click",(()=>{this.collapse()}))}enable(){this._titleButton.enable()}disable(){this._titleButton.disable()}toggle(){const e=this._componentElement.querySelector(".popup-box");e&&e.classList.toggle("collapsed");const n=this._componentElement.querySelector(`.${this._titleAddCls}`);n&&n.classList.toggle("active")}collapse(){const e=this._componentElement.querySelector(".popup-box");e&&e.classList.add("collapsed");const n=this._componentElement.querySelector(`.${this._titleAddCls}`);n&&n.classList.remove("active")}render(){if(super.render(),this._titleButton=new a.SmallButton({id:`${this._id}-title-button`,title:this._getConfigParam("title",""),cls:"s-btn",addCls:this._titleAddCls,handler:e=>{e.preventDefault(),e.stopPropagation(),this.toggle()}}),(0,r.default)(this._componentElement,this._titleButton),!this._operations)return;const e=this._componentElement.querySelector(`#${this._id}-operations`);this._operations.forEach((n=>{const i=new Element("li");(0,r.default)(e,i);const t=(0,s.default)(n),a=t.getWrapperClass();a&&i.classList.add(a),(0,r.default)(i,t)})),this._getConfigParam("disabled",!1)?this.disable():this.enable()}}const d=o},(e,n,i)=>{"use strict";i.r(n),i.d(n,{UnresolvedDomainWarning:()=>a});var t=i(308);class a extends t.StatusMessage{_addEvents(){super._addEvents(),this._componentElement.querySelector("a#unresolved-domain-warning")?.addEventListener("click",(e=>{e.preventDefault(),Plesk.require("app/dns-helper/dns-settings",(e=>{e({id:this._getConfigParam("id"),isAlias:this._getConfigParam("isAlias")})}))}))}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{ProgressBar:()=>_});var t=i(530),a=i(92),s=i(351),r=i(353),o=i(268),d=i(91),l=i(309),c=i(98),m=i(118),u=i(531),p=i(100);const v="done",f="error",h="started",g="canceled";class k{constructor(e){this.items=e,this.map=e.reduce(((e,n)=>(e[n.getId()]=n,e)),{})}take(e){if(this.map[e]){const n=this.map[e];return delete this.map[e],this.items=this.items.filter((n=>n.getId()!==e)),n}}shift(){const e=this.items.shift();if(e)return delete this.map[e.getId()],e}hasItems(){return this.items.length>0}}class _ extends s.Container{_initConfiguration(e){super._initConfiguration({id:"asyncProgressBarWrapper",...e}),this._preparingCounter=0,this._hidden=!1,this.intervalUpdateTimer=null,this.pleskWS=null,this._getConfigParam("wsEnabled")?this.pleskWS=u.default.bind({actions:{task_created:this.onUpdated.bind(this),task_updated:this.onUpdated.bind(this),task_deleted:this.onDeleted.bind(this)},onOpen:this.loadTasks.bind(this),onClose:this.loadTasks.bind(this)}):this.loadTasks()}addPreparingItem(e){const n=`preparing-${this._preparingCounter}`,i=new _.Item({errors:[],progressTitle:e,status:"flying",id:n,uniq:Math.random().toString(36).slice(2)});return this._preparingCounter++,this._items.unshift(i),n}removePreparingItem(){}toggle(){}async loadTasks(){try{const{items:e}=await m.default.get((0,l.default)("/task/task-progress"));Array.isArray(e)&&(this._loaded=!0,this.mergeItems(e.map(d.default)))}catch{}}mergeItems(e){let n=this.getMergedItems(e);this.getItems().forEach((i=>{e.some((e=>i.getId()===e.getId()))||(this.onItemStatusChange(this.completeItem(i.initialConfig)),n=n.filter((e=>e.getId()!==i.getId())))})),this.setItems(n)}mergeItem(e){const n=this.getMergedItems([e]);this.setItems(n)}getMergedItems(e){const n=new k(e);let i=this.getItems();if(i=i.map((e=>{const i=n.take(e.getId());return i?e.getUpdated()>i.getUpdated()?e:(i.getStatus()!==e.getStatus()?this.onItemStatusChange(i.getData()):JSON.stringify(i.getSteps())!==JSON.stringify(e.getSteps())&&this.onItemStepChange(i.getData()),i.setRefreshLinkEnabled(!(h===i.getStatus()||!e.isStarted())||e.isRefreshLinkEnabled()),i.setUniq(e.getUniq()),i):e})),n.hasItems()&&(i=i.map((e=>{if(e.isFlying()){const i=n.shift();if(i)return this.onItemStatusChange(i.getData()),i.setUniq(e.getUniq()),i}return e}))),n.hasItems()){let e;do{e=n.shift(),e&&(this.onItemStatusChange(e.getData()),i.unshift(e))}while(e)}return i}update(){this.pleskWS&&this.pleskWS.isReady()?this.stopPeriodicalExecutor():this.loadTasks()}onUpdated(e){this.mergeItem((0,d.default)(e))}onDeleted(e){this.onUpdated(this.completeItem(e)),this.removeItemsByIds([e.id])}removeItemsByIds(e){if(!e.length)return;const n=this.getItems();for(let i=0;i<e.length;i++)for(let t=0;t<n.length;t++)if(n[t].getId()===e[i]){n.splice(t,1);break}this.setItems(n)}onItemStatusChange(e){this.onItemStepChange(e),o.default.notify(e,"plesk:taskUpdate"),this.isCompletedItem(e)&&o.default.notify(e,"plesk:taskComplete")}onItemStepChange(e){o.default.notify(e,"plesk:taskStepUpdate")}setItems(e){this._initItems(e),this._renderItems(),this._updateProgressDialog()}fly(e,n,i){const t=this.addPreparingItem(n);return this._renderItems(),setTimeout(i,300),t}progressDialog(e,{onHide:n,...i}={}){const t=e&&e.returnUrl;this._progressBarItem=e instanceof _.Item?e:(0,d.default)(e),this.isOpenProgressDialog=!0,this._progressDialog||(this._progressDialog=document.createElement("div")),this.renderProgressDialog=()=>{Plesk.require("app/progress-dialog",(e=>{this._progressBarItem&&this._progressDialog&&e({container:this._progressDialog,isOpen:this.isOpenProgressDialog,title:this._progressBarItem.getProgressTitle(),steps:this._progressBarItem.getSteps(),errors:this._progressBarItem.getVisibleErrors(),onHide:()=>{if(this.isOpenProgressDialog=!1,this.renderProgressDialog(),n)return void n(this._progressBarItem);const e=this._progressBarItem.isComplete()&&this._progressBarItem._getConfigParam("redirect")||t,i=()=>{e?(0,r.redirect)(e):this.show()};this._progressBarItem.isCompleteSuccessfully()||this._progressBarItem.isCompleteWithWarning()?this._progressBarItem.remove().then((()=>{i(),this._progressBarItem=null})):i()},locale:p.default.getSection("components.tasks.common").messages,...i})}))},this.renderProgressDialog(),this.update(),this.hide()}hide(){this._hidden=!0,this._renderItems()}show(){this._hidden=!1,this._renderItems()}_updateProgressDialog(){if(!this._progressBarItem)return;const e=this.getItem(this._progressBarItem.getId());if(e)this._progressBarItem=e;else if(this._progressBarItem.getSteps().length){const e=(0,d.default)(this.completeItem({...this._progressBarItem.initialConfig,steps:this._progressBarItem.getSteps().map((e=>this.completeItem(e)))}));e.setProgressBarElement(this._progressBarItem.getProgressBarElement()),this._progressBarItem=e}this.renderProgressDialog()}_renderItems(){super._renderItems(),this._items.length&&this.setPeriodicalExecutor(),this._loaded&&Plesk.require("app/task-progress-bar",(e=>{e({container:this._componentElement,items:this._items,locale:p.default.getSection("components.tasks.common").messages,isOpen:!this._hidden})}))}_renderItem(e){e.setProgressBarElement(this)}setPeriodicalExecutor(){!this.intervalUpdateTimer&&this.hasStartedTasks()&&(this.intervalUpdateTimer=setInterval((()=>{this.update(),this.hasStartedTasks()||this.stopPeriodicalExecutor()}),5e3))}stopPeriodicalExecutor(){this.intervalUpdateTimer&&(clearInterval(this.intervalUpdateTimer),this.intervalUpdateTimer=null)}hasStartedTasks(){return this._items.some((e=>e.isStarted()))}isCompletedItem({status:e}){return-1!==[v,f,g].indexOf(e)}completeItem(e){return{...e,status:this.isCompletedItem(e)?e.status:v}}}_.Item=class extends a.Component{_initConfiguration(e){super._initConfiguration(e),this._id=this._getConfigParam("id",""),this._updated=new Date(this._getConfigParam("updated")),this._status=this._getConfigParam("status",""),this._errors=this._getConfigParam("errors",[]),this._output=this._getConfigParam("output",[]),this._isRefreshLinkEnabled=this._getConfigParam("isRefreshLinkEnabled",!1)&&this._getConfigParam("isRefreshAllowed",!0),this._progressValue=this._getConfigParam("progressValue",0),this._canCancel=this._getConfigParam("canCancel",!0),this._referrer=this._getConfigParam("referrer",""),this._uniq=this._getConfigParam("uniq",void 0),this._progressBarElement={}}_initComponentElement(){}getUpdated(){return this._updated}getData(){return this._config}getSteps(){return this._getConfigParam("steps",[])}getUniq(){return this._uniq}setUniq(e){this._uniq=e}getKey(){return this._uniq||this._id}setProgressBarElement(e){this._progressBarElement=e}getProgressBarElement(){return this._progressBarElement}getProgressTitle(){return this._getConfigParam("progressTitleHtml",(0,c.default)(this._getConfigParam("progressTitle","")))}getProgressValue(){return this._progressValue}getStatus(){return this._status}setStatus(e){this._status=e}getProgressDialogLinkHandler(){if(this.getSteps().length)return e=>{e.preventDefault(),this.getProgressBarElement().progressDialog(this)}}isRefreshLinkEnabled(){return this._isRefreshLinkEnabled}setRefreshLinkEnabled(e){this._isRefreshLinkEnabled=e&&this._isRefreshAllowed}getRefreshLinkProps(){const e=this._getConfigParam("redirect");if(e){const n=e.url||e;return this.getProgressTitle().includes(n)?null:{title:e.title,onClick:n=>{n.preventDefault(),(0,r.redirect)(e)}}}if(this._isRefreshLinkEnabled&&window.location.pathname===this._referrer)return{onClick:e=>{e.preventDefault(),(0,r.redirect)((0,l.default)(window.location.pathname))}}}hasErrors(){return this._errors.length>0}getErrors(){return this._errors}getVisibleErrors(){return this._getConfigParam("hideErrors",!1)||!this.hasErrors()?[]:this.getErrors()}getOutput(){return this._output.map((e=>String(e).trim())).filter(Boolean)}isCompleteSuccessfully(){return v===this._status&&!this.hasErrors()}isComplete(){return-1!==[v,f,g].indexOf(this._status)}isCompleteWithWarning(){return v===this._status&&this.hasErrors()}isStarted(){return h===this._status||"not_started"===this._status}isPreparing(){return"preparing"===this._status}isFlying(){return"flying"===this._status}isProgressUndefined(){return-1===this._progressValue}isCompleteWithError(){return f===this._status}async remove(){try{await m.default.post((0,l.default)("/task/task-remove"),{ids:[this.getId()]}),this.getProgressBarElement().removeItemsByIds([this.getId()])}catch({message:e}){(0,t.addToast)({intent:"danger",message:e})}}toToast(){const e={key:this.getKey()};return this.isCompleteSuccessfully()?{...e,intent:"success",onClose:()=>this.remove(),title:this.getProgressTitle(),output:this.getOutput(),refresh:this.getRefreshLinkProps()}:this.isCompleteWithWarning()||this.isCompleteWithError()?{...e,intent:this.isCompleteWithWarning()?"warning":"danger",onClose:()=>this.remove(),title:this.getProgressTitle(),errors:this.getVisibleErrors(),refresh:this.getRefreshLinkProps()}:this.isPreparing()||this.isFlying()||this.isProgressUndefined()?{...e,title:this.isFlying()?void 0:this.getProgressTitle(),progress:{onClick:this.getProgressDialogLinkHandler()}}:{...e,title:this.getProgressTitle(),progress:{value:this.getProgressValue(),onClick:this.getProgressDialogLinkHandler()}}}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{addToast:()=>d,default:()=>c,removeToast:()=>l,useToasts:()=>o});var t=i(314),a=i(324);const s=(0,t.makeVar)([]);let r=0;const o=()=>(0,a.useReactiveVar)(s),d=({intent:e,...n})=>{s([...s(),{key:r++,intent:e,autoClosable:!!["success","info"].includes(e)||null,...n}])},l=({key:e})=>s(s().filter((n=>n.key!==e))),c=s},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>m});let t=!1,a=null;const s=[],r=[],o=[],d=e=>console.error(e),l=(e=0)=>{const n="https:"===window.location.protocol?"wss":"ws";a=new WebSocket(`${n}://${window.location.host}/ws`),a.onmessage=e=>{const n=JSON.parse(e.data),{action:i,data:t,error:a}=n;if(a){if("Unauthorized"===a)return;throw new Error(`Unknown error ${a}`)}void 0!==s[i]&&s[i].forEach((e=>{try{e(t)}catch(e){d(e)}}))},a.onopen=e=>{t=!0,r.forEach((n=>{try{n(e)}catch(e){d(e)}}))},a.onclose=n=>{t=!1,a=null,o.forEach((e=>{try{e(n)}catch(e){d(e)}})),1e3!==n.code&&setTimeout((()=>{l(e+1)}),Math.min(2**e*1e3,6e4))}},c=function({actions:e,onOpen:n,onClose:i}){this.actions=e,this.onOpen=n,this.onClose=i,this.isReady=()=>a&&1===a.readyState,this.close=()=>{if(this.actions)for(const n in e){if(!e.hasOwnProperty(n)||void 0===s[n])return;const i=s[n].indexOf(e[n]);i>=0&&s[n].splice(i,1)}if(this.onOpen){const e=r.indexOf(n);e>=0&&r.splice(e,1)}if(this.onClose){const e=o.indexOf(i);e>=0&&o.splice(e,1)}}},m={bind:({actions:e,onOpen:n,onClose:i})=>{if(a||l(),e)for(const n in e){if(!e.hasOwnProperty(n))return;void 0===s[n]&&(s[n]=[]),s[n].indexOf(e[n])<0&&s[n].push(e[n])}return n&&(r.indexOf(n)<0&&r.push(n),t&&n()),i&&o.indexOf(i)<0&&o.push(i),new c({actions:e,onOpen:n,onClose:i})}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{STATUS_CANCELED:()=>c,STATUS_DONE:()=>l,STATUS_ERROR:()=>m,STATUS_NOT_STARTED:()=>o,STATUS_STARTED:()=>d,StatusMessage:()=>u});var t=i(93),a=i(92),s=i(309),r=i(118);const o="not_started",d="started",l="done",c="canceled",m="error";class u extends a.Component{constructor(...e){super(...e),(0,t.default)(this,"_failedStatusUpdates",0),(0,t.default)(this,"_maxFailedStatusUpdates",10)}_initConfiguration(e){super._initConfiguration(e),this._id=this._getConfigParam("id"),this._onStatusUpdate=this._getConfigParam("onStatusUpdate",null),this._onTaskDone=this._getConfigParam("onDone",null),this._onTaskCancel=this._getConfigParam("onCancel",null),this._onTaskError=this._getConfigParam("onError",null),this._renderMessage=this._getConfigParam("renderMessage",(e=>{if(!e.message)return"Internal error.";if(e.progressParams.errorMessage){const n=e.progressParams.errorMessage.split("\n");if(n.length<=1)return e.progressParams.errorMessage;let i=`${n[0]} <a href="#" class="js-details-link">${this.lmsg("details")}</a><br>`;i+='<span class="js-details hidden">';for(let e=1;e<n.length;e++)i+=`${n[e]}<br>`;return i+="</span>",i}return e.message})),this._statusUrl=this._getConfigParam("statusUrl",(0,s.default)("/task/status/taskId/")),this._updateInterval=this._getConfigParam("updateInterval",60),this._autoRender=!0}_showProgress(e){let n="msg-progress";l===e.status?n=e.progressParams.errorMessage?"msg-warning":"msg-info":c===e.status?n="msg-warning":m===e.status&&(n="msg-error");let i=this._renderMessage(e);l!==e.status&&e.progress&&(this._getConfigParam("percent",!0)&&(i=`${i}: <span id="backupProgress">${e.progress}</span>%`),this._getConfigParam("gauge",!0)&&(i=`<table class="msg-progress-container" cellspacing="0" width="100%"><tr><td class="msg-progress-info">${i}</td><td class="msg-progress-indicator"><div class="progress progress-sm"><div class="progress-bar" id="backupProgressGauge" style="width: ${e.progress}%;"></div></div></td></tr></table>`)),this._componentElement.className=`msg-box ${n}`,this._componentElement.innerHTML=`<div class="msg-content">${i}</div>`}_addEvents(){super._addEvents(),this._processStatus(this._getConfigParam("status",null))}_scheduleUpdateStatus(){setTimeout((()=>{this._updateStatus()}),1e3*this._updateInterval)}_updateStatus(){r.default.get(this._statusUrl+this._id).then(this._onStatusUpdateSuccess.bind(this)).catch(this._onStatusUpdateFailure.bind(this))}_onStatusUpdateSuccess(e){this._failedStatusUpdates=0,this._processStatus(e),this._onStatusUpdate&&this._onStatusUpdate(e)}_onStatusUpdateFailure(){this._failedStatusUpdates++,this._failedStatusUpdates<this._maxFailedStatusUpdates&&this._scheduleUpdateStatus()}_processStatus(e){e?l===e.status?(this._onTaskDone&&this._onTaskDone(e),this._showFinished(e)):c===e.status?(this._onTaskCancel&&this._onTaskCancel(e),this._showFinished(e)):m===e.status?(this._onTaskError&&this._onTaskError(e),this._showError(e)):d===e.status||o===e.status?(this._showWorking(e),this._scheduleUpdateStatus()):this._showNone(e):(this._showLoading(),this._updateStatus())}_addDetailsEvent(){const e=this._componentElement.querySelector(".js-details-link");e&&e.addEventListener("click",(n=>{n.preventDefault(),this._componentElement.querySelector(".js-details").classList.toggle("hidden"),e.classList.toggle("hidden")}))}_showFinished(e){this._showProgress(e),setTimeout((()=>{this._addDetailsEvent()}),0)}_showWorking(e){this._showProgress(e)}_showError(e){this._showProgress(e),setTimeout((()=>{this._addDetailsEvent()}),0)}_showLoading(){}_showNone(){}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{ActiveList:()=>h});var t=i(93),a=i(92),s=i(365),r=i(358),o=i(309),d=i(275),l=i(310),c=i(98),m=i(118),u=i(100),p=i(307),v=i(313),f=i(267);i(534);class h extends a.Component{_initConfiguration(e){super._initConfiguration(e),this.urls=this._getConfigParam("urls",{}),this.navigate=this._getConfigParam("onNavigate",f.default),this.pageUrl=this._getConfigParam("pageUrl",location.href),this.isCollapsible=this._getConfigParam("isCollapsible",!1),this.isNew=this._getConfigParam("isNew",!1),this.isShowItemTitle=this._getConfigParam("isShowItemTitle",!0),this.layout=this._getConfigParam("layout","auto"),"string"==typeof this.layout&&(this.layout={type:this.layout}),this.stateCollapsed=h.stateCollapsed(this.getId()),this.itemActions=this._getConfigParam("itemActions",{}),this.data=this._getConfigParam("data",[]),this._cls="active-list"+(this.isCollapsible?" active-list-collapsible":"")}_initComponentElement(){super._initComponentElement(),(0,d.default)(this._componentElement,this.view())}view(){return(0,l.default)(".active-list-wrap",this.toolbarView(this._getConfigParam("toolbar")),this.itemsView(),this.bottomBarView(this._getConfigParam("countMoreItems",0)))}toolbarView(e){return e?(0,l.default)(".a-toolbar.a-toolbar-collapsed",(0,l.default)(".a-toolbar-wrap",(0,l.default)(".a-toolbar-buttons",(0,l.default)(".a-toolbar-buttons-wrap",(0,l.default)("table.a-toolbar-buttons-table[cellspacing=0]",(0,l.default)("tbody",(0,l.default)("tr",(0,l.default)("td.a-toolbar-buttons-table-main",(0,l.default)(".a-toolbar-buttons-main",Object.entries(e.buttons).map((([e,{title:n,url:i,intent:t}])=>(0,l.default)("a.btn"+(t?`.btn-${t}`:""),{id:e,href:i,onclick:this.navigate},` ${(0,c.default)(n)}`))))),(0,l.default)("td.a-toolbar-buttons-table-misc",(0,l.default)(".a-toolbar-buttons-misc",(0,l.default)(".a-toolbar-buttons-settings.a-toolbar-buttons-settings-inactive",(0,l.default)("button.btn.btn-settings[type=button]",{title:this.lmsg("settingsTitle")},(0,l.default)("i.icon",(0,l.default)('img[alt=""]',{src:i(535)}))),this.isNew?(0,l.default)("span.badge-new",this.lmsg("badgeNew")):"",(0,l.default)(".popup-box.a-toolbar-buttons-settings-popup",(0,l.default)("table.popup-wrapper[cellspacing=0]",(0,l.default)("tbody",(0,l.default)("tr",(0,l.default)("td.popup-container",(0,l.default)(".c1",(0,l.default)(".c2",(0,l.default)(".c3",(0,l.default)(".c4",(0,l.default)(".c5",(0,l.default)(".popup-content",(0,l.default)(".popup-content-area",(0,l.default)(".settings-list",(0,l.default)(".settings-item.settings-item-1",(0,l.default)("h3.settings-item-title",(0,l.default)("span",`${this.lmsg("sortTitle")}:`)),(0,l.default)("a.btn"+("up"===e.sortDir?".btn-state-selected":""),{href:this.urls["sort-up"]},(0,l.default)("i.icon",(0,l.default)('img[alt=""]',{src:i(536)})),this.lmsg("orderAscending")),(0,l.default)("a.btn"+("down"===e.sortDir?".btn-state-selected":""),{href:this.urls["sort-down"]},(0,l.default)("i.icon",(0,l.default)('img[alt=""]',{src:i(537)})),this.lmsg("orderDescending"))),e.allowListSwitch&&e.hasClassicView?(0,l.default)(".settings-item.settings-item-2",(0,l.default)("h3.settings-item-title",(0,l.default)("span",`${this.lmsg("modeTitle")}:`)),(0,l.default)("a.btn.btn-state-selected",(0,l.default)("i.icon",(0,l.default)('img[alt=""]',{src:i(538)})),this.lmsg("typeActive")),e.hasClassicView?(0,l.default)("a.btn",{href:"?list-type=classic"},(0,l.default)("i.icon",(0,l.default)('img[alt=""]',{src:i(539)})),this.lmsg("typeClassic")):null):""))))))))))))))))))))))):""}itemsView(){if(!this.data.length)return this.emptyView();const e=this.data.map(this.itemView.bind(this));if("responsivecolumn"!==this.layout.type)return e;let n=[".grid"];return!1!==this.layout.stretched&&n.push(".grid-stretched"),n=n.concat((this.layout.columns||"xl-2 xxl-3").split(" ").map((e=>`.grid-${e}`))),(0,l.default)(n.join(""),e.map((e=>(0,l.default)(".grid-col",e))))}emptyView(){return(0,l.default)("p",this.lmsg("noObjects"))}itemView(e){const n=[".active-list-item"];return e.type&&["danger","warning","inactive","success"].indexOf(e.type)>-1&&n.push(`.active-list-item-${e.type}`),this.isCollapsible&&e.buttons?(n.push(".active-list-item-collapsible"),n.push(this.stateCollapsed.get(e)?".active-list-item-collapsed":".active-list-item-expanded")):n.push(".active-list-item-expanded"),(0,l.default)(`#active-list-item-${e.id}${n.join("")}`,{style:"position:relative"},(0,l.default)(".content-blocker",{style:"display:none;"}),(0,l.default)(".active-list-item-wrap",this.itemCaptionView(e),this.itemDetailsView(e)))}itemDetailsView(e){const n=[];return e.settings&&e.settings.length&&n.push(this.itemSettingsView(e)),e.buttons&&e.buttons.length&&n.push(this.itemToolsView(e)),n.length?(0,l.default)(".active-list-details",(0,l.default)(".active-list-details-wrap",n)):""}itemSettingsView(e){return(0,l.default)(".list",(0,l.default)(`table#active-list-item-settings-table-${e.id}[width=100%][cellspacing=0]`,(0,l.default)("tbody",e.settings.map(((e,n)=>(0,l.default)("tr"+(n%2?".even":".odd"),(0,l.default)("td.min",(0,l.default)("span.tooltipData",(0,c.default)(e.hint)),(0,l.default)(`a.s-btn.${e.button}[data-method=post]`,{href:e.url},(0,l.default)("span"))),(0,l.default)("td",(0,c.default)(e.name)),(0,l.default)("td",(0,c.default)(e.description))))))))}itemToolsView(e){return(0,l.default)(".tools-list-box",(0,l.default)(".box-area",(0,l.default)(".content",(0,l.default)(".content-area",(0,l.default)("ul.tools-list",e.buttons.map((n=>{let i=null;return i=n.name&&this.itemActions[n.name]?i=>{i.preventDefault(),this.itemActions[n.name](e,i)}:n.handler?"function"==typeof n.handler?n.handler:`(${n.handler}(event)); return false;`:this.navigate,(0,l.default)("li.tools-item",(0,l.default)("a.tool-block"+(n.disabled?".disabled":""),{href:!n.disabled&&n.href?n.href:null,onclick:n.disabled?null:i,target:n.target||null,"data-identity":n.id||null,"data-action-name":n.name||null,rel:"_blank"===n.target?"noopener noreferrer":null},(0,l.default)("span.tool-icon",(0,l.default)('img[alt=""]',{src:n.icon})),(0,l.default)("span.tool-name",n.noEscapeTitle?n.title:(0,c.default)(n.title)),n.new?(0,l.default)("span.badge-new",this.lmsg("badgeNew")):"",Array.isArray(n.additionalComments)?(0,l.default)(".span.tool-info",n.additionalComments.map((e=>n.noEscape?e:(0,c.default)(e))).join("<br>")):""),n.comment?(0,l.default)("span.tooltipData",(0,c.default)(n.comment)):"")})))))))}bottomBarView(e){return e?(0,l.default)(".active-list-bottom-bar",(0,l.default)(".active-list-bottom-bar-wrap",this.lmsg("showAll",{countMoreItems:e,loadAllLink:`<a href="?all=">${this.lmsg("loadAll")}</a>`,switchToLink:`<a href="?list-type=classic">${this.lmsg("switchTo",{listType:this.lmsg("typeClassic")})}</a>`}))):""}itemCaptionView(e){return(0,l.default)(".caption",(0,l.default)(".caption-wrap",this.itemCaptionHeaderView(e),this.itemCaptionServicesView(e),this.itemCaptionDataView(e),this.itemCaptionAdditionalHtml(e),Array.isArray(e.buttons)&&e.buttons.length&&this.isCollapsible?(0,l.default)(".caption-control",{onclick:this.toggleItem.bind(this,e)},(0,l.default)("span.caption-control-wrap",(0,l.default)("i")," ",(0,l.default)("span.caption-control-on",this.lmsg("showMore")),(0,l.default)("span.caption-control-off",this.lmsg("showLess")))):""))}itemCaptionHeaderView(e){return(0,l.default)(".caption-header",(0,l.default)(".caption-widget"),(0,l.default)(".caption-header-wrap",(0,l.default)(".caption-main",e.icon?(0,l.default)(".caption-icon",(0,l.default)("span",(0,l.default)('img[alt=""]',{src:e.icon}))):"",this.itemCaptionHeadView(e))))}itemCaptionHeadView(e){return(0,l.default)(".caption-head",this.isShowItemTitle?this.itemCaptionHeadWrapView(e):"",this.itemCaptionSummaryView(e),this.itemCaptionToolbarView(e))}itemCaptionHeadWrapView(e){let n=[];const i=["danger","warning","success","info","inactive"];return Array.isArray(e.labels)&&e.labels.length&&(n=e.labels.map((function(e){const n=e.type&&i.indexOf(e.type)>-1?e.type:"",t=""===n?"":`.label-${n}`;return(0,l.default)(`span.label${t}`,e.value||"")}))),(0,l.default)(".caption-head-wrap",{onclick:this.isCollapsible&&e.buttons?this.onCaptionHeadWrapClick.bind(this,e):null},(0,l.default)("h2.caption-name",(0,l.default)("span",(0,c.default)(e.title))),n,Array.isArray(e.primaryActions)&&e.primaryActions.length?(0,l.default)("span.caption-head-widget",e.primaryActions.map((function(e){return[(0,l.default)("a.btn",{href:e.link},e.title)," "]}))):"")}itemCaptionSummaryView(e){return Array.isArray(e.summary)&&e.summary.length?(0,l.default)(".caption-summary",(0,l.default)(".caption-summary-wrap",e.summary.map(this.summaryItemView.bind(this)))):e.summary||""}summaryItemView(e){return(0,l.default)("span.summary-item",`${e.name}: <b>${e.value}</b>`)}itemCaptionToolbarView(e){return Array.isArray(e.toolbar)&&e.toolbar.length?(0,l.default)(".caption-toolbar",(0,l.default)(".caption-toolbar-wrap",e.toolbar.map(this.toolbarButtonView.bind(this)))):""}toolbarButtonView(e){return(0,l.default)("a.i-link"+(e.action?`[data-item-action="${e.action}"]`:""),{href:e.link||null},e.icon||e.iconClass?[(0,l.default)("i"+(e.iconClass?`.${e.iconClass}`:"icon"),e.icon?(0,l.default)('img[alt=""]',{src:e.icon}):"")," "]:"",(0,l.default)("span",(0,c.default)(e.title)))}itemCaptionServicesView(e){return Array.isArray(e.services)?e.services.map(this.itemServiceView.bind(this)):""}itemServiceView(e){return(0,l.default)(".caption-services"+(e.class?`.${e.class}`:""),{style:e.hidden?"display:none":""},(0,l.default)(".caption-services-wrap",e.header?(0,l.default)(e.headerClass?`.${e.headerClass}`:"",e.closeUrl?(0,l.default)("span.close",{"data-close-url":e.closeUrl}):"",e.header):"",this.itemServiceBlockView(e)))}renderItemServiceView(e){return this[`itemService${e.type.replace(/(^\w|-\w)/g,(e=>e.toUpperCase())).replaceAll("-","")}View`](e)}itemServiceBlockView(e){if(e.grid){const n=e.grid.reduce((function(e,n){return e+(n.colspan||1)}),0);return(0,l.default)(".b-grid"+(e.grid.length>1?`.b-grid-${n}`:""),(0,l.default)("ul.b-grid-list",e.grid.map(function(n){return(0,l.default)("li.b-grid-item"+(e.grid.length>1&&n.colspan?`.b-grid-item-${n.colspan}`:""),(0,l.default)(".b-grid-item-wrap",this.itemServiceBlockView(n)))}.bind(this))))}if(e.type)return this.renderItemServiceView(e);let n=(0,l.default)('img[alt=""]',{src:e.icon}),i=(0,c.default)(e.title);e.href&&(n=(0,l.default)("a"+(e.newWindow?"[target=_blank]":""),{href:e.href,onclick:this.navigate},n),i=(0,l.default)("a"+(e.newWindow?"[target=_blank]":""),{href:e.href,onclick:this.navigate},i));const t=e.description?e.description:"";return(0,l.default)(".caption-service-block",(0,l.default)("span.caption-service-title",(0,l.default)("i.caption-service-icon",n),(0,l.default)("span.caption-service-name",i,t)),Array.isArray(e.links)&&e.links.length?(0,l.default)(".caption-service-toolbar",e.links.map((function(e){let n;if(e.childLinks&&e.childLinks.length)n=(0,l.default)(".btn-group",(0,l.default)("a.btn",{href:e.href,target:e.newWindow?"_blank":null},(0,c.default)(e.title)),(0,l.default)("button.btn.dropdown-toggle[type=button]",(0,l.default)("em.caret")),(0,l.default)("ul.dropdown-menu",e.childLinks.map((function(e){return(0,l.default)("li",(0,l.default)("a",{href:e.href,target:e.newWindow?"_blank":null},(0,c.default)(e.title)))}))));else{const i=e.icon?[(0,l.default)("i.icon",(0,l.default)('img[alt=""]',{src:e.icon}))," "]:"";n=e.isSimpleText?(0,l.default)("span",i,e.noEscape?e.info:(0,c.default)(e.info)):e.isSimpleLink?(0,l.default)("span"+(e.spanClass?`.${e.spanClass}`:""),i,`${(0,c.default)(e.info)} `,(0,l.default)("a",{href:e.href,class:e.class?(0,c.default)(e.class):null,onclick:e.onClick?(0,c.default)(e.onClick):null,target:e.newWindow?"_blank":null},(0,c.default)(e.title))):(0,l.default)("a.btn",{href:e.href,class:e.class?(0,c.default)(e.class):null,onclick:e.onClick?(0,c.default)(e.onClick):null,target:e.newWindow?"_blank":null,id:e.id?(0,c.default)(e.id):null,name:e.name?(0,c.default)(e.name):null},i,(0,c.default)(e.title))}return[e.newLine?(0,l.default)("br"):"",n," "]}))):"")}itemCaptionDataView(e){return e.data&&e.data.length?(0,l.default)(".caption-data",(0,l.default)(".caption-data-wrap",e.data.map((function(n,i){return(0,l.default)(".form-group",(0,l.default)(`label.control-label[for=active-list-data-${e.id}-${i}]`,n.label),(0,l.default)(`textarea#active-list-data-${e.id}-${i}.form-control.code[rows=${n.linesNumber}][readonly]`,(0,c.default)(n.text)))})))):""}itemCaptionAdditionalHtml(e){return e.additionalHtml?(0,l.default)(".caption-data",(0,l.default)(".caption-data-wrap",e.additionalHtml)):""}onCaptionHeadWrapClick(e,n){if(n&&n.target.closest(".caption-head-action, .caption-head-status, .caption-head-widget"))return;this.toggleItem(e);const i=this.getItemElement(e);if(i.classList.contains("active-list-item-collapsed"))return;Element.cumulativeOffset(i).top+Element.getHeight(i)+40>document.viewport.getScrollOffsets().top+document.viewport.getHeight()&&this.scrollToItem(i,500)}getItemElement(e){return this._componentElement.querySelector(`#active-list-item-${String(e.id).replace(/:/g,"\\:")}`)}_addEvents(){this._componentElement.querySelectorAll(".dropdown-toggle").forEach((e=>{e.addEventListener("click",(e=>{e.stopPropagation(),e.preventDefault();const n=e.target.closest(".btn-group").classList.contains("btn-group-open");document.querySelectorAll(".active-list .dropdown-toggle").forEach((e=>{e.closest(".btn-group").classList.remove("btn-group-open")})),n||e.target.closest(".btn-group").classList.add("btn-group-open")})),document.body.addEventListener("click",(()=>{e.closest(".btn-group").classList.remove("btn-group-open")}))})),this._componentElement.querySelectorAll(".a-toolbar-buttons-misc .btn-search").forEach((e=>{e.addEventListener("click",(()=>{e.closest(".a-toolbar").classList.toggle("a-toolbar-collapsed"),e.closest(".a-toolbar").classList.toggle("a-toolbar-expanded")}))})),this._componentElement.querySelectorAll(".a-toolbar-buttons-misc .btn-settings").forEach((e=>{s.DropdownManager.register(e,(function(){return e.parentNode.classList.contains("a-toolbar-buttons-settings-active")}),(function(){e.parentNode.classList.add("a-toolbar-buttons-settings-active"),e.parentNode.classList.remove("a-toolbar-buttons-settings-inactive")}),(function(){e.parentNode.classList.add("a-toolbar-buttons-settings-inactive"),e.parentNode.classList.remove("a-toolbar-buttons-settings-active")}))})),this._componentElement.querySelectorAll(".caption-services .close").forEach((e=>{e.addEventListener("click",(e=>{e.stopPropagation(),e.preventDefault();const{closeUrl:n}=e.target.dataset;e.target.closest(".caption").querySelectorAll(".caption-services").forEach((e=>{e.style.display=""}));const i=e.target.closest(".caption-services");i.parentNode.removeChild(i),m.default.post((0,o.default)(n))}))})),this._initToolbar()}disableItem(e){this.getItemElement({id:e}).querySelector(".content-blocker").style.display=""}enableItem(e){this.getItemElement({id:e}).querySelector(".content-blocker").style.display="none"}_initToolbar(){this._componentElement.querySelectorAll(".a-toolbar-buttons-main").forEach((e=>{const n=[...e.children],t=new Element("span",{class:"btn-group"});t.innerHTML=`<button type="button" class="btn dropdown-toggle"><i class="icon"><img src="${i(524)}" alt=""></i> <em class="caret"></em></button><ul class="dropdown-menu pull-right"></ul>`,t.addEventListener("click",(n=>{n.stopPropagation(),t.classList.toggle("btn-group-open");const i=t.querySelector(".dropdown-menu");if("none"!==Element.getStyle(i,"display")){i.style.right=0;const n=Element.cumulativeOffset(i),{left:t}=Element.cumulativeOffset(e);n.left<t&&(i.style.right=n.left-t+"px")}})),document.body.addEventListener("click",(()=>{t.classList.remove("btn-group-open")})),(0,d.default)(e,t);const a=Element.getLayout(t);e._menuEl={el:t,width:Element.getWidth(t)+a.get("margin-left")+a.get("margin-right")},t.style.display="none",e._items=[],n.forEach((n=>{const i=n.cloneNode(!0);i.classList.remove("btn");const a=new Element("li");(0,d.default)(a,i),(0,d.default)(t.querySelector("ul"),a);const s=Element.getLayout(n);e._items.push({el:n,elInMenu:a,width:Element.getWidth(n)+s.get("margin-left")+s.get("margin-right")})}))}));const e=()=>{document.querySelectorAll(".a-toolbar-buttons-main").forEach((e=>{let n=Element.getWidth(e);n-=e._menuEl.width,e._items.forEach((function(e){n>e.width?(e.el.style.display="",e.elInMenu.style.display="none",n-=e.width):(e.el.style.display="none",e.elInMenu.style.display="",n=-1)})),e._menuEl.el.style.display=-1===n?"":"none"}))};e(),window.addEventListener("resize",e)}toggleItem(e){this.getItemElement(e).classList.toggle("active-list-item-collapsed"),this.getItemElement(e).classList.toggle("active-list-item-expanded"),this.stateCollapsed.set(e,!this.stateCollapsed.get(e))}scrollToItem(e,n){const i=(new Date).getTime(),t=document.viewport.getScrollOffsets().top;let a=Element.cumulativeOffset(e).top-Element.cumulativeOffset(document.querySelector(".pul-layout__main")).top-40;document.getElementById("classic-mode-navigation")&&(a-=Element.getHeight(document.getElementById("classic-mode-navigation")));const s=()=>{let e=n?((new Date).getTime()-i)/n:1;e>1&&(e=1),window.scrollTo(0,Math.round(t+(a-t)*e)),e<1&&setTimeout(s,50)};s()}getItemIdFromUrl(e){const n=e.match("/id/([0-9]+)");return n&&n[1]}render(){super.render();const e=this.getItemIdFromUrl(decodeURIComponent(this.pageUrl));if(!e)return;const n=this.getItemElement({id:e});n&&((0,v.default)().status?.forEach((({status:e,content:i,...t})=>{(0,p.default)(e,i,{...t,title:u.default.getSection("components.status").lmsg(e),renderTo:n.querySelector(".caption-header-wrap"),renderMode:"top"})})),(0,v.default)({...(0,v.default)(),status:[]}),this.scrollToItem(n,10))}}(0,t.default)(h,"stateCollapsed",((e,n=!1)=>{const i=`${e}-state-collapsed`;let t=r.default.get(i);try{t=JSON.parse(t)||{}}catch{t={}}return{get:e=>void 0===t[e.id]?n:Boolean(t[e.id]),set(e,a){a===n?delete t[e.id]:t[e.id]=a?1:0,r.default.setPermanent(i,JSON.stringify(t),"/")}}}))},(e,n,i)=>{"use strict";i.r(n)},e=>{e.exports=Jsw.skinUrl+"/icons/16/plesk/settings-toolbar.png?6074d526f4dc827dee3280629d2e5130"},e=>{e.exports=Jsw.skinUrl+"/icons/16/plesk/order-ascending.png?3c02863d9b5c4a3cf034bd74e0183fa6"},e=>{e.exports=Jsw.skinUrl+"/icons/16/plesk/order-descending.png?c973774da91e3186ce0b188d9d895ef1"},e=>{e.exports=Jsw.skinUrl+"/icons/16/plesk/list-type-active.png?2bd72c88d60436bb8acc8328ed7f9ed3"},e=>{e.exports=Jsw.skinUrl+"/icons/16/plesk/list-type-classic.png?3eb8621bc8257a9b5f9995433f509a57"},(e,n,i)=>{"use strict";i.r(n),i.d(n,{Tree:()=>f});var t=i(92),a=i(307),s=i(312),r=i(336),o=i(309),d=i(275),l=i(310),c=i(98),m=i(267),u=i(340),p=i(118),v=i(541);i(552);class f extends t.Component{_initConfiguration(e){super._initConfiguration(e),this._data=this._getConfigParam("data",null),this._dataUrl=this._getConfigParam("dataUrl",""),this._createFolderUrl=this._getConfigParam("createFolderUrl",""),this._onNodeClick=this._getConfigParam("onNodeClick",m.default),this._rootNodeTitle=this._getConfigParam("rootNodeTitle",""),this._onReload=this._getConfigParam("onReload",m.default),this._showFiles=this._getConfigParam("showFiles",!1),this._filterNodes=this._getConfigParam("filterNodes",(()=>!0)),this._selectOnlyFiles=this._showFiles&&this._getConfigParam("selectOnlyFiles",!1),this._getConfigParam("showMessage")&&(this._showMessage=this._getConfigParam("showMessage"))}_initComponentElement(){super._initComponentElement(),null===this._data?this.reload():this._initTreeView()}_initTreeView(){this._componentElement.innerHTML='<div class="tree-wrap"></div>';const e=this._componentElement.firstChild;this._insertNode(e,{name:this._rootNodeTitle,path:"/",htmlElement:"div",cssClass:"tree-item-root",isRootDirectory:!0,isDirectory:!0}),(0,d.default)(e,this._getNodes(this._data))}_getNodes(e){const n=new Element("ul",{class:"tree-container"});return e.filter(this._filterNodes).forEach(this._insertNode.bind(this,n)),n}_insertNode(e,n,t){const a=document.createElement(n.htmlElement||"li");a.className=`tree-item ${n.cssClass?n.cssClass:""}`,a.innerHTML='<div class="tree-item-wrap"></div>';const s=a.firstChild;a.data=n;const r=document.createElement("div");r.className="tree-item-select",(0,d.default)(s,r),this._addCommonEvents(r,n,a),n.isDirectory&&!n.isRootDirectory?((0,d.default)(s,`<span class="tree-item-state"><img src="${i(553)}" height="16" width="16"></span>`),s.querySelector(".tree-item-state").addEventListener("click",this._onNodeToggle.bind(this,n.path,a)),s.addEventListener("dblclick",this._onNodeToggle.bind(this,n.path,a)),this._selectOnlyFiles||(s.querySelector(".tree-item-state").addEventListener("mouseover",this._onNodeMouseover.bind(this,a)),s.querySelector(".tree-item-state").addEventListener("mouseleave",this._onNodeMouseleave.bind(this,a)))):n.isRootDirectory||(0,d.default)(s,`<span class="tree-item-state"><img src="${i(369)}" height="16" width="16"></span>`);const o=document.createElement("a");o.className="tree-item-content",o.innerHTML=`<span><img src="${(0,v.getTypeIcon)(n)}" alt=""><b>${(0,c.default)(n.name)}</b></span>`,this._addCommonEvents(o,n,a),(0,d.default)(s,o),(0,d.default)(e,a,"top"===t?"top":"bottom")}_addCommonEvents(e,n,i){n.isDirectory&&this._selectOnlyFiles||(e.addEventListener("mouseover",this._onNodeMouseover.bind(this,i)),e.addEventListener("mouseleave",this._onNodeMouseleave.bind(this,i)),e.addEventListener("click",(e=>{this._onNodeSelect(e,i)})),e.addEventListener("click",this._onNodeClick.bind(this,n.path,i)))}_onNodeToggle(e,n){const t=n.querySelector("ul"),a=n.querySelector(".tree-item-state");if(t)return a.innerHTML=`<img src="${i(553)}" height="16" width="16">`,t.parentNode.removeChild(t),void(n.data.showNewNode=!1);this._loadNode(e,n)}_loadNode(e,n){n.querySelector(".tree-item-state").querySelector(".js-loader")||(this._onNodeLoadStart(n),p.default.get((0,o.default)(this._dataUrl),{rootDir:e,showFiles:this._showFiles}).then(this._onNodeLoadSuccess.bind(this,n)).catch(this._onNodeLoadFailure.bind(this)))}_isNodeExpanded(e){return!!e.querySelector("ul")||e.classList.contains("tree-item-root")}_onNodeLoadStart(e){e.querySelector(".tree-item-state").innerHTML=`<img src="${i(554)}" height="16" width="16" class="js-loader">`}_onNodeLoadSuccess(e,n){const t=e.querySelector(".tree-item-state");if(n.status)return t.innerHTML=`<img src="${i(553)}" height="16" width="16">`,void this._showMessage(n.status,n.message);(0,s.default)(),t.innerHTML=`<img src="${i(555)}" height="16" width="16">`,(0,d.default)(e,this._getNodes(n)),e.data.showNewNode&&this.showNewNode(e)}_showMessage(e,n){(0,s.default)(),(0,a.default)(e,n)}_onNodeSelect(e,n){e&&e.preventDefault(),this.resetSelection(),n.querySelector(".tree-item-wrap").classList.add("tree-item-row-active"),this.hideNewNode()}resetSelection(){this._componentElement.querySelectorAll(".tree-item-wrap").forEach((e=>{e.classList.remove("tree-item-row-active")}))}_onNodeMouseover(e){this.resetHover(),e.querySelector(".tree-item-select").classList.add("tree-item-hover")}_onNodeMouseleave(e){this.resetHover(),e.querySelector(".tree-item-select").classList.remove("tree-item-hover")}resetHover(){this._componentElement.querySelectorAll(".tree-item-select").forEach((e=>{e.classList.remove("tree-item-hover")}))}setDirectory(e){const n=this._getNodeElement(e);n&&this._onNodeSelect(null,n)}reload(){this._componentElement.innerHTML='<div class="ajax-loading">Please wait...</div>',p.default.get((0,o.default)(this._dataUrl),{rootDir:"/",showFiles:this._showFiles}).then(this._onFullReloadSuccess.bind(this)).catch(this._onNodeLoadFailure.bind(this))}_onFullReloadSuccess(e){this._data=e,this._initTreeView(),this._onReload()}_onNodeLoadFailure(){(0,r.default)("Failed to load tree data.")}reloadPath(e){if("/"===e)return void this.reload();const n=this._getNodeElement(e);if(n&&this._isNodeExpanded(n)){const i=n.querySelector("ul");i.parentNode.removeChild(i),this._loadNode(e,n)}}_getNodeElement(e){if("string"!=typeof e)return null;const n=this._componentElement.querySelectorAll(".tree-item");for(let i=0;i<n.length;i++)if(n[i].data.path===e)return n[i];const i=e.lastIndexOf("/");return i>0?this._getNodeElement(e.slice(0,i)):null}getSelectedNode(){const e=this._componentElement.querySelector(".tree-item-row-active");return e?e.closest(".tree-item"):null}getSelectedItemData(){const e=this.getSelectedNode();return e?e.data:null}expandNode(e){e||(e=this.getSelectedNode()),this._isNodeExpanded(e)||this._loadNode(e.data.path,e)}showNewNode(e){if(e||(e=this.getSelectedNode()),e||(e=this._componentElement.querySelector(".tree-item-root")),e.data.showNewNode=!0,!this._isNodeExpanded(e))return void this.expandNode(e);let n=e.querySelector("ul.tree-container");n||(n=e.nextElementSibling),this._insertNewNode(n,{name,path:e.data.path,icon:"/icons/16/plesk/file-folder.png",isDirectory:!0,type:"dir"},"top")}hideNewNode(){const e=this._componentElement.querySelector(".js-tree-item-new");if(!e)return;let n=e.closest(".tree-item");n||(n=this._componentElement.querySelector(".tree-item-root")),n.data.showNewNode=!1,e.parentNode.removeChild(e)}_insertNewNode(e,n,t){if(e.querySelector(".js-tree-item-new"))return;const a=(0,l.default)("li.tree-item js-tree-item-new",{onrender(e){e.data=n}},(0,l.default)("div.tree-item-wrap",(0,l.default)("span.tree-item-state",(0,l.default)("img",{src:i(369)})),(0,l.default)("div.tree-item-content",(0,l.default)("div.input-btn-group",(0,l.default)("i.icon-folder"),(0,l.default)("input.form-control",{type:"text",onkeydown:this._onNewNodeKeyDown.bind(this)}),(0,l.default)("button.btn btn-icon-only input-btn",{type:"button",onclick:this._onCreateFolder.bind(this),onrender:e=>{this._insertBtn=e}},(0,l.default)("i.icon-save")),(0,l.default)("button.btn btn-icon-only input-btn",{type:"button",onclick:this._onCancelCreateFolder.bind(this)},(0,l.default)("i.icon-cancel"))))));(0,d.default)(e,a,t),e.querySelector(".js-tree-item-new input").focus()}_onCreateFolder(e){const n=e.target.closest(".input-btn-group").querySelector(".form-control").value,i=e.target.closest(".js-tree-item-new");let t=i.parentNode.closest(".tree-item");t||(t=i.closest("ul.tree-container").previousElementSibling);const a=t.closest(".form-row");a.classList.remove("error");const s=a.querySelector(".field-value .field-errors");s&&s.parentNode.removeChild(s),this._insertBtn.disabled=!0,p.default.post((0,o.default)(this._createFolderUrl),{currentDir:i.data.path,newDirectoryName:n}).then((e=>this._onFolderCreated(n,t,e))).finally((()=>{this._insertBtn.disabled=!1}))}_onFolderCreated(e,n,{status:i,message:t}){if("success"===i){const i=`${n.data.path}/${e}`;let t=n.querySelector("ul.tree-container");t||(t=n.nextElementSibling),this.hideNewNode(),this._insertNode(t,{name:e,path:i,isDirectory:!0},"top"),this._onNodeSelect(null,t)}else{const e=n.closest(".form-row");e.classList.add("error");const i=(0,l.default)("span.field-errors",(0,l.default)("span.error-hint",t));(0,d.default)(e.querySelector(".field-value"),i)}}_onCancelCreateFolder(){this.hideNewNode()}_onNewNodeKeyDown(e){switch(e.keyCode){case u.ENTER:e.preventDefault(),this._onCreateFolder(e);break;case u.ESC:e.preventDefault(),this._onCancelCreateFolder(e)}}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{FTYPE_AUDIO:()=>o,FTYPE_COMPRESSED:()=>u,FTYPE_DIR:()=>t,FTYPE_IMAGE:()=>s,FTYPE_RAR:()=>h,FTYPE_SECURITY:()=>d,FTYPE_TAR:()=>g,FTYPE_TEXT:()=>a,FTYPE_TGZ:()=>k,FTYPE_UNKNOWN_BINARY:()=>v,FTYPE_UNKNOWN_TEXT:()=>p,FTYPE_VECTOR_IMAGE:()=>r,FTYPE_WAPPAGE:()=>m,FTYPE_WEBPAGE:()=>c,FTYPE_WEBSCRIPT:()=>l,FTYPE_ZIP:()=>f,getTypeIcon:()=>_,toUnixPermissionsString:()=>S});const t="dir",a="text",s="image",r="vector_image",o="audio",d="security",l="webscript",c="webpage",m="wappage",u="compressed",p="unknown_text",v="unknown_binary",f="zip",h="rar",g="tar",k="tgz",_=({type:e,isDirectory:n,name:t})=>{if(n)return i(".."===t?542:543);return{[a]:i(544),[s]:i(545),[r]:i(545),[o]:i(546),[d]:i(547),[l]:i(548),[c]:i(549),[m]:i(549),[u]:i(550),[p]:i(544),[v]:i(551),[f]:i(550),[h]:i(550),[g]:i(550),[k]:i(550)}[e]},S=e=>["ownerRead","ownerWrite","ownerExecute","groupRead","groupWrite","groupExecute","othersRead","othersWrite","othersExecute"].reduce(((n,i,t)=>(n+=e[i]?["r","w","x"][t%3]:"-",t%3==2&&(n+=" "),n)),"")},e=>{e.exports=Jsw.skinUrl+"/icons/16/plesk/uplevel.png?09738742d9a113e283a273f3445a1ba9"},e=>{e.exports=Jsw.skinUrl+"/icons/16/plesk/file-folder.png?377a0415c8e86b629f04f2de969b6dc7"},e=>{e.exports=Jsw.skinUrl+"/icons/16/plesk/file-txt.png?9bfe434b7467e7d61abb4b3ae8adc711"},e=>{e.exports=Jsw.skinUrl+"/icons/16/plesk/file-image.png?1327e17a096bce2f49ad2f66f4abdaf6"},e=>{e.exports=Jsw.skinUrl+"/icons/16/plesk/file-audio.png?72fe25f83d67048d40e6c86149d696bf"},e=>{e.exports=Jsw.skinUrl+"/icons/16/plesk/file-private.png?b3e618929415e17caa82f8d04d2aa689"},e=>{e.exports=Jsw.skinUrl+"/icons/16/plesk/file-webscript.png?b2aff14c14b05cccbb316c37d48fb591"},e=>{e.exports=Jsw.skinUrl+"/icons/16/plesk/file-html.png?a1c021367bd1d987f31cf58c13a2d342"},e=>{e.exports=Jsw.skinUrl+"/icons/16/plesk/file-arch.png?672559f884c624090a3e3687f16148ec"},e=>{e.exports=Jsw.skinUrl+"/icons/16/plesk/file-binary.png?e5e874cc42fb4473aab65dcace6e6664"},(e,n,i)=>{"use strict";i.r(n)},e=>{e.exports=Jsw.skinUrl+"/images/tree-open.gif?56398e76be6355ad5999b262208a17c9"},e=>{e.exports=Jsw.skinUrl+"/images/indicator.gif?ece6f747d3bfdc48d99f935627535c09"},e=>{e.exports=Jsw.skinUrl+"/images/tree-close.gif?56398e76be6355ad5999b262208a17c9"},(e,n,i)=>{"use strict";i.r(n),i.d(n,{UploadAdapterIframe:()=>a});var t=i(275);class a{constructor({contentAreaId:e,handlerUrl:n,startUploadHandler:i,finishUploadHandler:t}){this._contentAreaId=e,this._handlerUrl=n,this._startUploadHandler=i,this._finishUploadHandler=t,this._uploadFrameInitialized=!1,this._getUploadIFrameElement()}_getUploadIFrameElement(){const e=document.getElementById(this._contentAreaId);return e.querySelector("iframe")||(this._uploadFrameElement=new Element("iframe",{id:`${this._contentAreaId}-upload-iframe`,name:"_uploadIFrame",style:"display: none;",src:this._handlerUrl}),(0,t.default)(e,this._uploadFrameElement),this._uploadFrameElement.addEventListener("load",this._onUploadFrameInitialized.bind(this))),this._uploadFrameElement}_onUploadFrameInitialized(){this._uploadFrameInitialized||(this._uploadFrameInitialized=!0,this._uploadFrameElement.addEventListener("load",this._finishUploadHandler),this._startUploadHandler())}isReady(){return this._uploadFrameInitialized}getResult(){const e=this._getUploadIFrameElement(),n=e.contentDocument||e.contentWindow.document;try{return JSON.parse(n.body.innerHTML)}catch{return{status:"ERROR",message:"No upload response"}}}cancel(){this._uploadFrameElement&&this._uploadFrameElement.setAttribute("src","javascript:false;"),this._finishUploadHandler()}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{DirectoryBrowser:()=>r});var t=i(379),a=i(540),s=i(267);class r extends t.PopupForm{_initConfiguration(e){super._initConfiguration(e),this._pathElementId=this._getConfigParam("pathElementId"),this._subscriptionId=this._getConfigParam("subscriptionId"),this._showFiles=this._getConfigParam("showFiles",!1),this._onSubmit=this._getConfigParam("onSubmit",s.default)}render(){super.render(),this.setBoxType("form-box"),this.setTitle(this.lmsg("title")),document.getElementById(this._contentAreaId).innerHTML=`<form method="post" id="${this._id}-form"><div class="single-row"><div class="scrollable fm-scrollable" style="height: 300px;"><div class="scrollable-wrap"><div id="${this._id}-files-tree" class="tree"></div></div></div></div></form>`,this._tree=new a.Tree({applyTo:`${this._id}-files-tree`,data:null,dataUrl:`^/smb/file-manager/tree-data/subscriptionId/${this._subscriptionId}`,showFiles:this._showFiles,onNodeClick:this._onTreeNodeClick.bind(this),onReload(){this.setDirectory("/")},...this._getConfigParam("treeConfig",{})}),this._buttonOk=this.addRightButton(this.lmsg("buttonOk"),this._onOkClick,!0,!0),this._buttonCancel=this.addRightButton(this.lmsg("buttonCancel"),this._onCancelClick,!1,!1),this._showFiles&&this._updateButton(this._buttonOk,{disabled:!0})}_onTreeNodeClick(){this._updateButton(this._buttonOk,{disabled:this._showFiles&&this._tree.getSelectedItemData().isDirectory})}_onOkClick(e){e&&e.preventDefault();const n=this._tree.getSelectedItemData().path,i=this._showFiles?n.substr(1):n;this._pathElementId&&(document.getElementById(this._pathElementId).value=i),this._onSubmit(i),this.hide()}_onCancelClick(){this.hide()}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{DropArea:()=>l});var t=i(92);const a=e=>new Promise((n=>{if(e.isDirectory){const i=e.createReader();s(e,i,n,[])}else n(e)})),s=function(e,n,i,t){n.readEntries((function(a){a.length?(t=t.concat(a),s(e,n,i,t)):t.length?i(r(t)):i(e)}))},r=e=>Promise.all(e.map(a)).then((e=>{let n=[];return e.forEach((function(e){Array.isArray(e)?n=n.concat(e):n.push(e)})),n})),o=e=>new Promise((n=>{if(e.size>4096)n(!0);else if(!window.FileReader||window.opera&&navigator.platform.toLowerCase().indexOf("mac")>-1&&"12.00"===window.opera.version())n(null);else try{const i=new FileReader;i.onerror=()=>{i.onloadend=null,i.onprogress=null,i.onerror=null,n(!1)},i.onprogress=e=>{i.onloadend=null,i.onprogress=null,i.onerror=null,"loadend"!==e.type&&i.abort(),n(!0)},i.onloadend=i.onprogress,i.readAsDataURL(e)}catch{n(!1)}})),d=e=>!!e.dataTransfer&&("none"!==e.dataTransfer.effectAllowed&&[].some.call(e.dataTransfer.types,(e=>"Files"===e)));class l extends t.Component{_initConfiguration(e){super._initConfiguration({cls:"fm-drop-area",...e}),this.isButtomUploadDirectory=!1,this._onDrop=this._getConfigParam("onDrop")}_initComponentElement(){super._initComponentElement(),this._componentElement.innerHTML=`<div class="fm-drop-area-wrap"><span class="fm-drop-area-text">\n                    <h2>${this.lmsg("dragAndDropArea")}</h2>\n                </span></div>`,this.hide()}_addEvents(){this._addDocumentHandlers(),this._addDropAreaHandlers()}_addDocumentHandlers(){document.addEventListener("dragover",(e=>{d(e)&&e.dataTransfer&&e.preventDefault()})),document.addEventListener("dragenter",(e=>{d(e)&&this.show()})),document.addEventListener("drop",(e=>{d(e)&&(this.hide(),e.preventDefault())}))}_addDropAreaHandlers(){this._componentElement.addEventListener("dragover",(e=>{d(e)&&(e.stopPropagation(),e.preventDefault())})),this._componentElement.addEventListener("drop",(e=>{d(e)&&(e.preventDefault(),this.hide(),this._onDrop&&(e=>e.dataTransfer?e.dataTransfer.items?r([].map.call(e.dataTransfer.items,(e=>e.webkitGetAsEntry()||e.getAsFile())).filter(Boolean)):Promise.all([].map.call(e.dataTransfer.files,o)).then((n=>[].filter.call(e.dataTransfer.files,((e,i)=>n[i])))):Promise.resolve([]))(e).then(this._onDrop))})),this._componentElement.addEventListener("mouseover",(()=>{this.isButtomUploadDirectory||this.hide()})),this._componentElement.addEventListener("click",(()=>{this.hide()})),document.onkeydown=e=>{switch(e.key){case"Esc":case"Escape":this.hide()}}}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{GroupsList:()=>s});var t=i(519),a=i(310);class s extends t.List{_getGroupRowClass(){return""}_initConfiguration(e){this._groupBy=!1,this._groupsConfig=[],super._initConfiguration(e),this._groupBy=this._getConfigParam("groupBy",!1),this._groupsConfig=this._getConfigParam("groupsConfig",!1),this._getGroupRowClass=this._getConfigParam("getGroupRowClass",this._getGroupRowClass)}listDataView(e=this._data,n=0){if(!e)return null;if(this._groupBy){e.sort(((e,n)=>e[this._groupBy]>n[this._groupBy]?1:e[this._groupBy]<n[this._groupBy]?-1:0));const i={};return e.forEach((e=>{i[e[this._groupBy]]||(i[e[this._groupBy]]={id:e[this._groupBy],items:[]}),i[e[this._groupBy]].items.push(e)})),(0,a.default)("tbody",Object.keys(i).map(((e,t)=>{const a=i[e];return this.groupDataRowView(a,t,n)})))}return(0,a.default)("tbody",e.map(((e,i)=>this.rowView(e,i,n))))}groupDataRowView(e,n,i){return[(0,a.default)(`tr.${this._getGroupRowClass(e)}.${(n+i)%2?"even":"odd"}`,{colspan:this._columns.length,"data-row-id":e.id},`<b>${this._getGroupName(e)}</b>`),...e.items.map(((e,n)=>this.rowView(e,n,i)))]}_getGroupName(e){return this._groupsConfig[e.id]||e.id}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{ReporterPopup:()=>p});var t=i(379),a=i(389),s=i(519),r=i(359),o=i(92),d=i(353),l=i(100),c=i(307),m=i(309),u=i(98);class p extends t.PopupForm{_initConfiguration(e){super._initConfiguration({singleRowButtons:!0,...e}),this._actionCollectId=`${this._id}-action-collect`,this._actionToSupportId=`${this._id}-action-to-support`,this._sendButtonId="btn-send",this._cancelButtonId="btn-cancel",this._supportUrl=this._getConfigParam("supportUrl","")}render(){super.render(),this.setBoxType("form-box"),this.setTitle(this.lmsg("title")),this.addRightButton(this.lmsg("buttonCollect"),this._onSendClick,!0,!0,{id:this._sendButtonId}),this.addRightButton(l.default.getSection("components.buttons").lmsg("cancel"),this._onCancelClick,!1,!1,{id:this._cancelButtonId})}_initComponentElement(){super._initComponentElement(),this._componentElement.querySelector("div.content-area").innerHTML=`<div class="form-row"><div class="single-row"><div class="field-value"><label><input class="radio" type="radio" name="action" id="${this._actionCollectId}" checked="checked"> ${this.lmsg("actionCollect")}${this._getTooltip()}</label></div><div class="field-value"><label><input class="radio" type="radio" name="action" id="${this._actionToSupportId}"> ${this.lmsg("actionToSupport")}</label></div></div></div><a href="#" class="toggler js-show-previous-reports">${this.lmsg("showPreviousReports")}</a><a href="#" class="toggler hidden js-hide-previous-reports">${this.lmsg("hidePreviousReports")}</a><div id="js-reports"><span class="ajax-loading hidden">${this.lmsg("pleaseWait")}</span></div>`}_onSupportClick(e){window.open(this._supportUrl,"_blank"),this._disableSendButton(this.lmsg("buttonWait")),new Ajax.Request((0,m.default)("/admin/report/report-usage/"),{method:"post",onException:this._onException.bind(this),onSuccess:()=>{e?this.hide():this._enableSendButton(this.lmsg("buttonToSupport"))}})}_onCollectClick(){this._disableSendButton(),a.DynamicPopupHint.unset(),document.getElementById(this._contentAreaId).innerHTML=`<p class="text-center"><span class="ajax-loading">${this.lmsg("collecting")}${this._getTooltip()}</span></p>`,this._addTooltips(),new Ajax.Request((0,m.default)("/admin/report/collect/"),{method:"post",onException:this._onException.bind(this),onSuccess:e=>{const n=JSON.parse(e.responseText);if(this._checkResponseStatus(n)){a.DynamicPopupHint.unset();const e=`<a href="${(0,m.default)(`/admin/report/download/file/${encodeURIComponent(n.file)}`)}">${this.lmsg("downloadLink")}</a>`;document.getElementById(this._contentAreaId).innerHTML=`<p>${this.lmsg("collectedDescription")}</p><p>${this.lmsg("collectedDownload",{link:e})}</p><p>${this.lmsg("collectedConsent")}</p>`,this.file=n.file,this._enableSendButton(this.lmsg("buttonSend"))}}})}_onSendClick(){const e=document.getElementById(this._actionCollectId);e&&e.checked?this._onCollectClick():!e||e.checked?this.file?(this._disableSendButton(this.lmsg("buttonSending")),new Ajax.Request((0,m.default)("/admin/report/send/"),{method:"post",parameters:{file:this.file},onException:this._onException.bind(this),onSuccess:e=>{const n=JSON.parse(e.responseText);this._checkResponseStatus(n)&&(delete this.file,document.getElementById(this._contentAreaId).innerHTML=`<p>${this.lmsg("sentInfo",{id:(0,u.default)(n.reportId)})}</p>`,this._enableSendButton(this.lmsg("buttonToSupport")))}})):this._onSupportClick(!1):this._onSupportClick(!0)}_onCancelClick(){this.hide()}_onShowReportsClick(e){if(e.preventDefault(),this._componentElement.querySelector(".js-show-previous-reports").classList.add("hidden"),(0,o.getComponent)("reports-list")&&this._componentElement.querySelector(".list-box"))return this._componentElement.querySelector(".list-box").classList.remove("hidden"),void this._componentElement.querySelector(".js-hide-previous-reports").classList.remove("hidden");this._componentElement.querySelector(".ajax-loading").classList.remove("hidden");const n=Element.getHeight(this._componentElement),i=new s.List({id:"reports-list",dataUrl:(0,m.default)("/admin/report/list-data"),pageable:!1,columns:[{header:this.lmsg("date"),dataIndex:"date"},{header:this.lmsg("reportId"),dataIndex:"id"}],onRedraw:()=>{this._componentElement.querySelector(".js-hide-previous-reports").classList.remove("hidden"),this._componentElement.querySelector(".ajax-loading").classList.add("hidden");const e=Math.max(document.viewport.getScrollOffsets().top+document.viewport.getHeight()-1.5*parseInt(Element.getStyle(this._componentElement,"top"))-n,100);this._componentElement.querySelector(".list").style.maxHeight=`${parseInt(e)}px`}});new r.Panel({cls:"list-box",renderTo:"js-reports",items:[i]})}_onHideReportsClick(e){e.preventDefault(),this._componentElement.querySelector(".list-box").classList.add("hidden"),this._componentElement.querySelector(".js-show-previous-reports").classList.remove("hidden"),this._componentElement.querySelector(".js-hide-previous-reports").classList.add("hidden")}_addEvents(){super._addEvents(),document.getElementById(this._actionCollectId).addEventListener("click",(()=>{this._enableSendButton(this.lmsg("buttonCollect"))})),document.getElementById(this._actionToSupportId).addEventListener("click",(()=>{this._enableSendButton(this.lmsg("buttonToSupport"))})),this._componentElement.querySelector(".js-show-previous-reports").addEventListener("click",this._onShowReportsClick.bind(this)),this._componentElement.querySelector(".js-hide-previous-reports").addEventListener("click",this._onHideReportsClick.bind(this))}_addTooltips(){super._addTooltips(),new a.DynamicPopupHint.Instance({title:this.lmsg("hintTitle"),target:document.getElementById("tooltip"),placement:"right",content:this.lmsg("hintText")})}_getTooltip(){return this._tooltip||(this._tooltip=`&nbsp;<a class="nowrap" id="tooltip">${this.lmsg("hintLink")}</a>`),this._tooltip}_disableSendButton(e){const n=document.getElementById(this._sendButtonId);n.disabled=!0,n.classList.add("disabled"),e&&(n.innerHTML=`<span class="wait">${e}</span>`)}_enableSendButton(e){const n=document.getElementById(this._sendButtonId);n.disabled=!1,n.classList.remove("disabled"),e&&(n.innerHTML=e)}_checkResponseStatus(e){return e.redirect&&(0,d.redirect)(e.redirect),!e.status||"success"===e.status||((e.statusMessages||[]).forEach((function(e){(0,c.default)(e.status,e.content)})),this.hide(),!1)}_onException(e,n){(0,c.default)("error",`Internal error: ${n}`),this.hide()}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{ObjectSwitcher:()=>o});var t=i(518),a=i(97),s=i(275),r=i(310);i(562);class o extends t.LookUp{_initConfiguration(e){super._initConfiguration({tag:"div",cls:"btn-group object-switcher",...e}),this._listUrl=this._getConfigParam("listUrl",""),this._itemUrlTemplate=this._getConfigParam("itemUrlTemplate",""),this._owner=this._getConfigParam("owner",null),this._navigate=this._getConfigParam("navigate")}_initCustomLookUpComponent(){(0,s.default)(this._componentElement,(0,r.default)("button",{type:"button",class:"pul-button pul-button--ghost pul-button--empty dropdown-toggle",onrender:e=>{this._customLookUpComponent=e}},'<span class="pul-icon pul-icon--size-16 pul-button__icon"><svg focusable="false"><use href="/ui-library/images/symbols.svg?5f00d3c14f85d017780e960ab4a240ed#chevron-down:16" /></svg></span>'))}_getSearchMoreText(e){return super._getSearchMoreText(e)+(this._listUrl?` ${this.lmsg("refineSearchMessage",{link:`<a href="${this._listUrl}">${this.lmsg("listOfAllObjects")}</a>`})}`:"")}_updateData(e){this._clearData();let n=[];null!==this._owner&&(n=e.filter((({isSameParent:e})=>1==e)),e=e.filter((({isSameParent:e})=>1!=e))),n.length&&(e.length&&(0,s.default)(this._dropdownList,(0,r.default)("li.dropdown-header",this.lmsg("myObjectsLabel",{name:this._owner}))),n.forEach((e=>{(0,s.default)(this._dropdownList,this._createItem(e))})),e.length&&(0,s.default)(this._dropdownList,[(0,r.default)("li.divider"),(0,r.default)("li.dropdown-header",this.lmsg("otherObjectsLabel"))])),e.forEach((e=>{(0,s.default)(this._dropdownList,this._createItem(e))})),this._addSearchMoreElement()}_addTooltips(){this._tooltip=a.Tooltip.init(this._customLookUpComponent,{text:this.lmsg("description")})}handleChange(){super.handleChange();let e=this._itemUrlTemplate;Object.entries(this._currentValue).forEach((([n,i])=>{e=e.replaceAll(new RegExp(`(%%|%25%25)${n}(%%|%25%25)`,"g"),i)})),this._navigate(e)}}},(e,n,i)=>{"use strict";i.r(n)},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>d});var t=i(381),a=i(340),s=i(310),r=i(275);i(564);class o extends t.default{_initConfiguration(e){super._initConfiguration({popupCls:"popup-panel popup-panel-slider popup-panel-auto",closeButtonEnabled:!0,hideOnEscape:!0,...e}),this._slides=this._getConfigParam("slides",[]),this._current=this._getConfigParam("current",0)}_initComponentElement(){super._initComponentElement(),this.setCurrent(this._current)}_getContentArea(){return(0,s.default)(".slider",(0,s.default)("ul.slider__container",this._slides.map((()=>(0,s.default)("li.slider__item")))),this._slides.length>1?(0,s.default)(".slider__arrows",(0,s.default)(".slider__arrow.slider__arrow--start",{onclick:()=>this.prev()},'<svg class="slider__arrow-image" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 40" width="20" height="40"><polyline points="16,4 4,20 16,36" fill="none" stroke="currentColor" stroke-width="4" stroke-linejoin="round" stroke-linecap="round" /></svg>'),(0,s.default)(".slider__arrow.slider__arrow--end",{onclick:()=>this.next()},'<svg class="slider__arrow-image" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 40" width="20" height="40"><polyline points="16,4 4,20 16,36" fill="none" stroke="currentColor" stroke-width="4" stroke-linejoin="round" stroke-linecap="round" /></svg>')):null,(0,s.default)(".slider__navigation",(0,s.default)(".slider__navigation-inner",this._slides.map(((e,n)=>(0,s.default)("span.slider__navigation-dot",{onclick:()=>this.setCurrent(n)}))))))}_onKeyDown(e){switch(super._onKeyDown(e),e.keyCode){case a.LEFT_ARROW:this.prev();break;case a.RIGHT_ARROW:this.next()}}setCurrent(e){this.renderSlide(e);const n=this._componentElement.querySelector(".slider__item"),i=this._componentElement.querySelectorAll(".slider__navigation-dot");i.item(this._current).classList.remove("slider__navigation-dot--current"),this._current=e,n.style.marginLeft=-100*e+"%",i.item(this._current).classList.add("slider__navigation-dot--current")}renderSlide(e){const n=this._componentElement.querySelector(`.slider__item:nth-child(${e+1})`);0===n.innerHTML.length&&(0,r.default)(n,this._slides[e])}next(){this.setCurrent(this._current===this._slides.length-1?0:this._current+1)}prev(){this.setCurrent(0===this._current?this._slides.length-1:this._current-1)}}const d=o},(e,n,i)=>{"use strict";i.r(n)},(e,n,i)=>{"use strict";i.r(n),i.d(n,{ScrollableList:()=>r});var t=i(93),a=i(519),s=i(310);class r extends a.List{constructor(...e){super(...e),(0,t.default)(this,"_resizeList",(()=>{const e=document.getElementById(this._tableId),n=e.closest(".scrollable-list-wrapper"),i=e.closest(`.${this._listCls}`).querySelector(".fixed-table-head"),t=i.querySelector("thead");if(t){const e=this.isListEmpty();t.querySelectorAll("tr").forEach((function(n){n.classList.contains("list-search-filter")||(n.style.display=e?"none":"")}))}let a=Element.getHeight(document.body)-Element.cumulativeOffset(n).top;for(let e=n;e instanceof Element;e=e.parentNode){a=a-(parseInt(Element.getStyle(e,"borderBottomWidth"))||0)-(parseInt(Element.getStyle(e,"marginBottom"))||0)-(parseInt(Element.getStyle(e,"paddingBottom"))||0);for(let n=e.nextElementSibling;n instanceof Element;n=n.nextElementSibling)"none"!==Element.getStyle(n,"display")&&"fixed"!==Element.getStyle(n,"position")&&"absolute"!==Element.getStyle(n,"position")&&(a-=Element.getHeight(n))}if(a<200&&(a=200),a>Element.getHeight(e)+parseInt(Element.getStyle(e,"marginTop"))?n.style.height=null:n.style.height=`${a}px`,!t||![...e.querySelectorAll("tr.odd,tr.even")].filter((e=>"none"!==e.style.display)).length)return;const s=e.querySelector("thead");s.querySelectorAll("th").forEach(((e,n)=>{t.querySelectorAll("th")[n].style.width=`${Element.getWidth(e)}px`}));const r=t.querySelectorAll("th"),o=r[r.length-1];o.style.width=`${Element.getWidth(i)-Element.getWidth(s.closest("table"))+parseInt(Element.getStyle(o,"width"))}px`}))}listView(){const e=super.listView();return e.attrs.class+=" scrollable-list",e.children[0].attrs.class="scrollable-list-table",e.children=[(0,s.default)('table.fixed-table-head[width="100%"][cellspacing="0"]',this.listHeadersView()),(0,s.default)(".scrollable-list-wrapper",e.children)],e}checkEmptyList(){super.checkEmptyList();const e=this.isListEmpty();this._componentElement.querySelectorAll(`.${this._listCls}`).forEach((e=>{e.style.display=""})),this._componentElement.querySelectorAll(".scrollable-list-wrapper").forEach((n=>{n.style.display=e?"none":""}))}redraw(e,n){let i,t=!0,a=0;const s=document.getElementById(this._id).querySelector(".scrollable-list-wrapper");s&&(t=s.offsetHeight+s.scrollTop>=s.scrollHeight,i=s.scrollTop,a=Element.getHeight(document.getElementById(this._tableId))),super.redraw(e,n);const r=document.getElementById(this._tableId),o=r.closest(`.${this._listCls}`).querySelector(".fixed-table-head");r.style.marginTop=-Element.getHeight(o)+"px",setTimeout((()=>{this._resizeList();const n=r.closest(".scrollable-list-wrapper");t?this.scrollToBottom():"before"===e?n.scrollTop+=Element.getHeight(r)-a:"after"===e||(n.scrollTop=i)}),0)}updateFilter(e){super.updateFilter(e),this._resizeList()}scrollToBottom(){const e=document.getElementById(this._tableId).closest(".scrollable-list-wrapper"),n=[...e.querySelectorAll("tr")].filter((e=>"none"!==e.style.display));e.scrollTop=n[n.length-1].offsetTop}_addResponsiveHtml(){}_addEvents(){super._addEvents(),window.addEventListener("resize",this._resizeList,!1)}remove(){window.removeEventListener("resize",this._resizeList,!1),super.remove()}}},(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{UAT:()=>common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.default});var common_cookie__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(358),_list__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(519),_confirmation_popup_manager__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(517),_ajax_popup_form__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(380),_form_ajax__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(355),_message_box__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(360),_component__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(92),common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(119),common_gdpr_storage__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(567);const{PopupForm}=_confirmation_popup_manager__WEBPACK_IMPORTED_MODULE_2__.ConfirmationPopupManager,patchesFactory=()=>{const wrap=(handler,fn,after)=>{if(fn=fn||function(){},"string"==typeof fn)try{eval(`fn = ${fn}`)}catch{fn=function(){}}return!0===after?function(...e){const n=fn.apply(this,e);e.push(n);try{handler.apply(this,e)}catch{}return n}:function(...e){try{handler.apply(this,e)}catch{}return fn.apply(this,e)}};return{ajaxRequest(){if(!window.Ajax)return;const e={},n=Ajax.Request.prototype;n.request=wrap((function(){const{url:n,options:{ignoreUAT:i},method:t,parameters:a}=this;if(i||"get"===t.toLowerCase())return;const s=(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.getUrl)(n),r=`${s} ${JSON.stringify(a)}`;e[r]||(e[r]=!0,(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.request)({name:"REQUEST",url:(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.getUrl)(),data:{url:s}}))}),n.request,!0)},uiPointerForm(){document.addEventListener("DOMContentLoaded",(function(){const e=common_cookie__WEBPACK_IMPORTED_MODULE_0__.default.get("uat-data-source");e&&(document.querySelectorAll("div[data-source]").forEach((n=>{const i=n.dataset.source;if(i&&-1!==i.indexOf(e)){let e=null;switch(!0){case n.classList.contains("msg-warning"):e="WARNING";break;case n.classList.contains("msg-error"):e="ERROR"}(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.request)({name:"POST",url:(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.getUrl)(i)},null,e)}})),common_cookie__WEBPACK_IMPORTED_MODULE_0__.default.remove("uat-data-source","/")),"undefined"!=typeof update_oC&&(update_oC=wrap((function(e){common_cookie__WEBPACK_IMPORTED_MODULE_0__.default.set("uat-data-source",(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.getUrl)(e.action),null,"/")}),update_oC,!0))}),!0)},jswFormAjax(){const e=_form_ajax__WEBPACK_IMPORTED_MODULE_4__.FormAjax.prototype;e._onSubmit=wrap((function(){this._componentElement._formSubmit=wrap(function(){const e=(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.getUrl)(this._componentElement.action);(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.request)({name:"POST",post:{self:["id","name"]},url:e},this._componentElement)}.bind(this),this._componentElement._formSubmit)}),e._onSubmit),e._onFailure=wrap((function(e){const n=this._componentElement.noRedirect?"APPLY":"OK",i=(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.getUrl)(e.request.url);(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.request)({name:n,url:i,post:{self:["id","name"]}},this._componentElement,"ERROR")}),e._onFailure),e._onSuccess=wrap((function(e){const n=this._componentElement.noRedirect?"APPLY":"OK",i=(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.getUrl)(e.request.url),t=e.responseJSON.formMessages?"VALIDATION_ERROR":"error"===e.responseJSON.status?"ERROR":null;(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.request)({name:n,url:i,post:{self:["id","name"]}},this._componentElement,t)}),e._onSuccess)},jswList(){const e=_list__WEBPACK_IMPORTED_MODULE_1__.List.prototype;e._submit=wrap((function(e,n){const i=n.context||this;n.onSuccess=wrap((function(e){const n=i._lastOperation?i._lastOperation.toUpperCase():"POST",t={selected:Object.keys(e.request.parameters).length},a="error"===e.responseJSON.status?"ERROR":null;(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.request)({url:(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.getUrl)(e.request.url),name:n,data:t},null,a)}),n.onSuccess),n.onFailure=wrap((function(e){const n=i._lastOperation?i._lastOperation.toUpperCase():"POST",t={selected:Object.keys(e.request.parameters).length};(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.request)({url:(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.getUrl)(e.request.url),name:n,data:t},null,"ERROR")}),n.onFailure)}),e._submit),e._showItemsNotSelectedWarning=wrap((function(){const e=this._lastOperation?this._lastOperation.toUpperCase():"POST";(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.request)({name:e,url:(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.getUrl)()},null,"NOT_SELECTED")}),e._showItemsNotSelectedWarning),e._getOperations=wrap((function(e){const n=this,i=e=>{e.forEach((function(e){e.handler&&(e.handler=wrap((function(){const i=e,t=i.id||i.title||i.description||i.addCls||"";n._lastOperation=t.replace("button","").replace(" ","").replace("sb-","").replace("-","")}),e.handler)),e.operations&&i(e.operations)}))};i(e)}),e._getOperations,!0)},confirmationPopupManager(){const e=PopupForm.prototype;e._onSuccess=wrap((function(){const e="string"==typeof this._id?this._id.toUpperCase():"POST";(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.request)({name:e,url:this._handlerUrl})}),e._onSuccess),e._onException=wrap((function(){const e="string"==typeof this._id?this._id.toUpperCase():"POST";(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.request)({name:e,url:this._handlerUrl},null,"ERROR")}),e._onException),e._onCancelClick=wrap((function(){(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.request)({name:"CANCEL",url:(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.getUrl)(),data:{popup:this._text}})}),e._onCancelClick)},ajaxPopupForm(){_ajax_popup_form__WEBPACK_IMPORTED_MODULE_3__.AjaxPopupForm.prototype._onSuccess=wrap((function(){(function(){const e=(0,_component__WEBPACK_IMPORTED_MODULE_6__.getComponent)("btn-cancel");e&&e.addEventObserver("click",function(){(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.request)({name:"CANCEL",url:this._url})}.bind(this))}).bind(this).defer()}),_ajax_popup_form__WEBPACK_IMPORTED_MODULE_3__.AjaxPopupForm.prototype._onSuccess,!0)},messageBox(){const e=_message_box__WEBPACK_IMPORTED_MODULE_5__.MessageBox.prototype;e._onNoClick=wrap((function(){(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.request)({name:"CANCEL",url:(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.getUrl)(),data:{popup:this._text}})}),e._onNoClick)},ajaxMessageBox(){const e=_message_box__WEBPACK_IMPORTED_MODULE_5__.AjaxMessageBox.prototype;e._onSuccess=wrap((function(){(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.request)({url:this._requestUrl})}),e._onSuccess)},multiCheckboxMessageWindow(){const e=_message_box__WEBPACK_IMPORTED_MODULE_5__.MultiCheckboxMessageWindow.prototype;e._onSuccess=wrap((function(){(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.request)({url:this._requestUrl})}),e._onSuccess)},webspaceFoldersMessageBox(){const e=_message_box__WEBPACK_IMPORTED_MODULE_5__.WebspaceFoldersMessageBox.prototype;e._onSuccess=wrap((function(){(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.request)({url:this._requestUrl})}),e._onSuccess)},drawersWatcher(){const e=e=>n=>{const i=(e=>{if(!e.classList||!e.classList.contains("pul-layer"))return null;const n=e.querySelector(".pul-drawer");return n||null})(n);i&&(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.request)({name:e,data:(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.prepareNodeData)(i)})};document.addEventListener("DOMContentLoaded",(()=>{new MutationObserver((n=>{n.forEach((({addedNodes:n,removedNodes:i})=>{n.forEach(e("OPEN-DRAWER")),i.forEach(e("CLOSE-DRAWER"))}))})).observe(document.body,{childList:!0,subtree:!1,attributes:!1,characterData:!1})}))}}},pleskActions=[{name:"LOGIN",expects:[{sessionChanged:{}}]},{name:"LOGOUT",expects:[{unloadByClick:{selector:'#account-menu-content-area a[href="/logout.php"]'}}]},{name:"HELP",expects:[{click:{elements:[{selector:'a[data-type="link-read-manual"]'}]}}]},{name:"CANCEL",expects:[{click:{elements:[{selector:['button[name="cancel"]','button[name="bname_cancel"]']}]}}]},{name:"SITE_PREVIEW",expects:[{click:{elements:[{selector:'a[href*="/plesk-site-preview/"]'}]}}]},{name:"RADIO_SELECT",expects:[{click:{elements:[{selector:'input[type="radio"]',attributes:["name","value"]}]}}]}],watchersFactory=()=>({sessionChanged(){document.addEventListener("DOMContentLoaded",(function(){const e=common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.default.getConfig();if((0,common_gdpr_storage__WEBPACK_IMPORTED_MODULE_8__.isAnalyticsAllowed)()&&(common_cookie__WEBPACK_IMPORTED_MODULE_0__.default.get("uat-iid")!==e.instanceId&&(common_cookie__WEBPACK_IMPORTED_MODULE_0__.default.remove("uat-iid","/"),common_cookie__WEBPACK_IMPORTED_MODULE_0__.default.set("uat-iid",e.instanceId,null,"/")),common_cookie__WEBPACK_IMPORTED_MODULE_0__.default.get("uat-sid")!==e.sessionId&&(common_cookie__WEBPACK_IMPORTED_MODULE_0__.default.remove("uat-sid","/"),common_cookie__WEBPACK_IMPORTED_MODULE_0__.default.set("uat-sid",e.sessionId,null,"/"))),e.sessionId&&window.localStorage.getItem("uat-sid")!==e.sessionId){window.localStorage.setItem("uat-sid",e.sessionId);const n={userAgent:navigator.userAgent,versionInfo:e.versionInfo,accountCreated:e.accountCreated,width:window.innerWidth,height:window.innerHeight,ratio:window.devicePixelRatio};(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.request)({name:"LOGIN",url:(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.getUrl)(),data:n})}}),!0)},unloadByClick({selector:e},n,i){window.addEventListener("beforeunload",(()=>{const n=document.querySelector(e);n===document.activeElement&&(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.request)(i,n)}),!0)}});common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.default.setPatches((e=>({...e,...patchesFactory()}))),common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.default.setActions((e=>[...e,...pleskActions])),common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.default.setWatchers((e=>({...e,...watchersFactory()})));const{init}=common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.default;common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.default.init=e=>{init(e)}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{hasPreferences:()=>a,isAnalyticsAllowed:()=>o,loadPreferences:()=>r,savePreferences:()=>s});const t="cookie-policy",a=()=>!!localStorage.getItem(t),s=e=>{localStorage.setItem(t,JSON.stringify(e))},r=()=>{let e=!1,n=!1;try{const i=JSON.parse(localStorage.getItem(t));"boolean"==typeof i.analytics&&({analytics:e}=i),"boolean"==typeof i.marketing&&({marketing:n}=i)}catch{}return{analytics:e,marketing:n}},o=()=>r().analytics},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>a});var t=i(309);const a=(e,n={})=>{(n={openInNew:!1,label:"",hint:"",returnUrl:"",isClassicUi:"",showAll:!1,...n}).isClassicUi&&(n.returnUrl=`/subscription/overview/id/${e}`);let i=(0,t.default)(`/subscription/login/id/${e}`);return n.showAll&&(i+="/all/true"),n.returnUrl&&(i+=`/?returnUrl=${(0,t.default)(n.returnUrl)}`),`<span><span class="tooltipData">${n.hint}</span><a class="s-btn sb-login" href="${i}"`+(n.isClassicUi?"":` target="${n.openInNew?"_blank":"_top"}"`)+">"+`<i><i><i><span>${n.label}</span></i></i></i></a></span>`}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{toPunycode:()=>a});var t=i(570);const a=e=>t.default.toASCII(e)},,(e,n,i)=>{"use strict";i.r(n),i.d(n,{Form:()=>v.default,addWidget:()=>g,require:()=>l.default,run:()=>h});var t=i(270),a=i(495),s=i(271),r=i(89),o=i(572),d=i(858),l=i(859),c=i(860),m=i(313),u=i(393),p=i(392),v=i(847);s.FormFieldPassword.defaultProps.passwordMeterProps.onEstimate=e=>(0,p.default)(e);let f=null;const h=({config:e={},data:{showModal:n,...i}={},graphqlQueries:s=[],localeSections:d={}})=>{if(e.feedback&&(0,c.default)(e.feedback),(()=>{try{if(window.self===window.top)return!1}catch{}return!0})()&&document.body.classList.add("page-content-only"),r.Locale.addSections(d),(0,m.default)(i),s.forEach((({query:e,...n})=>{try{u.default.writeQuery({query:(0,a.gql)(e),...n})}catch{}})),n){const{name:e,...i}=n;Plesk.require(e,(e=>e(i)))}f=(0,t.render)((0,t.jsx)(o.default,{}),document.getElementById("plesk-root"))},g=(e,{locale:n,...i},a)=>{let r=(0,t.jsx)(e,{...i});n&&(r=(0,t.jsx)(s.LocaleProvider,{messages:n,children:r})),r=(0,t.jsx)(d.default,{children:r}),a&&(r=(0,t.createPortal)(r,a)),f.addWidget(r)}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>m});var t=i(93),a=i(270),s=i(573),r=i(857),o=i(576),d=i(393),l=i(856);class c extends a.Component{constructor(...e){super(...e),(0,t.default)(this,"state",{widgets:[]}),(0,t.default)(this,"router",(0,s.createBrowserRouter)(o.default))}addWidget(e){this.setState((({widgets:n})=>({widgets:[...n,e]})))}render(){return(0,a.jsx)(a.StrictMode,{children:(0,a.jsx)(r.ApolloProvider,{client:d.default,children:(0,a.jsxs)(l.default,{children:[(0,a.jsx)(s.RouterProvider,{router:this.router}),this.state.widgets]})})})}}const m=c},,,,(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>T,isClientSideRedirectAllowed:()=>I});var t=i(575),a=i(495),s=i(89),r=i(530),o=i(265),d=i(313),l=i(577),c=i(393),m=i(584),u=i(589),p=i(692),v=i(693),f=i(698),h=i(699),g=i(705),k=i(713),_=i(715),S=i(727),b=i(772),y=i(270);const N=()=>{const{isInitial:e,...n}=(0,d.default)();return(0,d.default)(n),e?n:null},E=e=>async({request:n,params:i})=>{const l=new URL(n.url);let m;e&&(l.pathname=(0,t.generatePath)(e,i));try{m=N()??await s.api.get(l.toString())}catch(e){if((0,o.isNetworkError)(e))return(0,r.addToast)({intent:"danger",message:`${e.message}: ${l.toString()}`}),new Promise(s.emptyFn);throw e}const{graphqlQueries:u=[],...p}=m;if(p.redirect){const e=(0,s.prepareUrl)(p.redirect);return I(e)?(0,t.redirect)(e):(window.location.replace(e),new Promise(s.emptyFn))}return u.forEach((({query:e,...n})=>{try{c.default.writeQuery({query:(0,a.gql)(e),...n})}catch{}})),(0,d.default)(p),p},w={path:":ipAddressId/domains",componentLoader:()=>i.e("components/pages/IpAddressDomainsPage").then(i.bind(i,1033)),loader:async({params:e})=>{const n=e.clientId?btoa(`Client:${e.clientId}`):null,{data:t}=await c.default.query({query:i(785),variables:{ipAddressId:e.ipAddressId,clientId:n}});return t}},D={path:"change-owner",componentLoader:()=>Promise.all([i.e("vendors"),i.e("components/pages/ChangeSubscriptionsOwner")]).then(i.bind(i,1035)),loader:async({request:e})=>{const n=[...new URL(e.url).searchParams.entries()].map((([,e])=>btoa(`Domain:${e}`))),{data:t}=await c.default.query({query:i(786),variables:{ids:n}});return t}},F={path:"virtual-host-template",loader:()=>(0,d.default)(),handle:{crumb:()=>({title:s.Locale.getSection("components.routes").lmsg("virtualHostTemplate")}),helpContext:"skeleton"},children:[{index:!0,componentLoader:()=>i.e("components/pages/VirtualHostTemplatePage").then(i.bind(i,1047)),loader:async()=>{await c.default.query({query:i(787),variables:{path:""}})}}]},P=async()=>{const{data:{viewer:{type:e,permissions:{manageServerSessions:n}},os:{isWindows:i}}}=await c.default.query({query:a.gql`
            query {
                viewer {
                    login
                    type
                    permissions {
                        manageServerSessions
                    }
                }
                os {
                    isWindows
                }
            }
        `});return"ADMIN"===e&&i&&n},C=(0,l.default)([{element:(0,y.jsx)(m.default,{}),errorElement:(0,y.jsx)(v.default,{}),children:[{path:["/login_up.php","/login_up.php3","/login"],handle:{isAllowedWithoutLicense:!0},componentLoader:()=>Promise.resolve().then(i.bind(i,845)),loader:async()=>(await c.default.query({query:i(788)}),N()),children:[{path:"*",loader:()=>(0,t.redirect)("..")}]},{path:"/get_password.php",handle:{isAllowedWithoutLicense:!0},componentLoader:()=>Promise.resolve().then(i.bind(i,853)),loader:N},{path:"/ch_pass_by_secret.php",handle:{isAllowedWithoutLicense:!0},componentLoader:()=>Promise.resolve().then(i.bind(i,855))},{path:"/admin/force-reset-password",componentLoader:()=>i.e("views/admin/force-reset-password").then(i.bind(i,1054)),loader:E("/admin/force-reset-password")},{path:"/admin/setup/progress",handle:{isAllowedWithoutLicense:!0},componentLoader:()=>i.e("views/admin/setup/progress").then(i.bind(i,1056)),loader:E()},{path:"/admin/setup/*",handle:{isAllowedWithoutLicense:!0},componentLoader:()=>i.e("views/admin/setup/index").then(i.bind(i,1059)),loader:E()},{path:"/admin/home/*",componentLoader:()=>i.e("views/admin/home/admin").then(i.bind(i,1062)),loader:E()},{path:"/admin/app",loader:E()},{path:"/admin/app/info/id/:id",componentLoader:()=>i.e("views/admin/app/info").then(i.bind(i,1092)),loader:E("/admin/app/info/id/:id")},{path:"/admin/app/usage",componentLoader:()=>i.e("views/admin/app/usage").then(i.bind(i,1097)),loader:E("/admin/app/usage")},{path:["/admin/app/uploaded","/admin/app/uploaded/downloadStatus/:status"],componentLoader:()=>i.e("views/admin/app/uploaded").then(i.bind(i,1100)),loader:E("/admin/app/uploaded")},{path:"/admin/custom-buttons/list",componentLoader:()=>i.e("views/admin/custom-buttons/list").then(i.bind(i,1103)),loader:E("/admin/custom-buttons/list")},{path:"/smb/custom-buttons/list",componentLoader:()=>i.e("views/admin/custom-buttons/list").then(i.bind(i,1103)),loader:E("/smb/custom-buttons/list")},{path:"/admin/ftp-sessions/list",componentLoader:()=>i.e("views/admin/ftp-sessions/list").then(i.bind(i,1116)),loader:E("/admin/ftp-sessions/list")},{path:"/admin/php-handler/list",componentLoader:()=>i.e("views/admin/php-handler/list").then(i.bind(i,1134)),loader:E("/admin/php-handler/list")},{path:["/admin/scheduler","/smb/scheduler"],loader:E()},{path:["/admin/backup/schedule","/smb/backup/schedule","/smb/backup/schedule/domainId/:domainId"],componentLoader:()=>Promise.all([i.e("vendors"),i.e("components/pages/ScheduledBackupPage")]).then(i.bind(i,1138)),loader:E()},{path:["/admin/backup/schedule-list","/smb/backup/schedule-list","/smb/backup/schedule-list/domainId/:domainId"],componentLoader:()=>Promise.all([i.e("vendors"),i.e("components/pages/ScheduledBackupListPage")]).then(i.bind(i,1156)),loader:E()},{path:["/admin/scheduler/tasks-list","/smb/scheduler/tasks-list"],componentLoader:()=>i.e("views/default/scheduler/list").then(i.bind(i,1159)),loader:E()},{path:["/admin/domain/list","/admin/domain/add-domain"],componentLoader:()=>Promise.all([i.e("vendors"),i.e("views/admin/domain/list")]).then(i.bind(i,1166)),loader:E("/admin/domain/list"),children:k.default.map((({path:e,...n})=>({path:`:id/${e}`,...n})))},{path:["/admin/customer/list","/admin/customer/create"],componentLoader:()=>i.e("views/admin/customer/list").then(i.bind(i,1206)),loader:E("/admin/customer/list")},{path:"/admin/customer/overview/id/:id",loader:E()},{path:["/admin/customer/domains/id/:id","/admin/customer/add-domain/id/:id"],componentLoader:()=>Promise.all([i.e("vendors"),i.e("views/admin/customer/domains")]).then(i.bind(i,1213)),loader:E("/admin/customer/domains/id/:id")},{path:["/admin/customer/subscriptions/id/:id","/admin/customer/new-subscription/id/:id"],componentLoader:()=>Promise.all([i.e("vendors"),i.e("views/admin/customer/subscriptions")]).then(i.bind(i,1229)),loader:E("/admin/customer/subscriptions/id/:id"),children:[D]},{path:"/admin/reseller/list",componentLoader:()=>i.e("views/admin/reseller/list").then(i.bind(i,1235)),loader:E()},{path:"/admin/reseller/overview/id/:id",loader:E()},{path:["/admin/reseller/customers/id/:id","/admin/reseller/new-customer/id/:id"],componentLoader:()=>i.e("views/admin/reseller/customers").then(i.bind(i,1237)),loader:E("/admin/reseller/customers/id/:id")},{path:["/admin/reseller/domains/id/:id","/admin/reseller/add-domain/id/:id"],componentLoader:()=>Promise.all([i.e("vendors"),i.e("views/admin/reseller/domains")]).then(i.bind(i,1242)),loader:E("/admin/reseller/domains/id/:id")},{path:["/admin/reseller/subscriptions/id/:id","/admin/reseller/new-subscription/id/:id"],componentLoader:()=>Promise.all([i.e("vendors"),i.e("views/admin/reseller/subscriptions")]).then(i.bind(i,1243)),loader:E("/admin/reseller/subscriptions/id/:id"),children:[D]},{path:"/admin/server/tools",componentLoader:()=>i.e("views/admin/server/tools").then(i.bind(i,1244)),loader:E()},{path:"/admin/server/preview-domain-settings",componentLoader:()=>i.e("views/admin/server/preview-domain-settings").then(i.bind(i,1248)),loader:E()},{path:"/admin/services/list",componentLoader:()=>i.e("views/admin/services/list").then(i.bind(i,1252)),loader:E()},{path:"/admin/sessions/list",componentLoader:()=>i.e("views/admin/sessions/list").then(i.bind(i,1256)),loader:E()},{path:["/admin/subscription/list","/admin/subscription/create"],componentLoader:()=>Promise.all([i.e("vendors"),i.e("views/admin/subscription/list")]).then(i.bind(i,1257)),loader:E("/admin/subscription/list"),children:[D]},{path:["/admin/subscription/login/all/:all/id/:id/","/admin/subscription/login/id/:id/"],loader:E()},{path:"/admin/subscription/overview/id/:id/",loader:E()},{path:["/smb/file-manager/list","/smb/file-manager/list/domainId/:domainId"],componentLoader:()=>Promise.all([i.e("vendors"),i.e("views/smb/file-manager/list")]).then(i.bind(i,1258)),loader:E()},{path:"/smb/file-manager",componentLoader:()=>i.e("views/smb/file-manager/index").then(i.bind(i,1311)),loader:E()},{path:"/smb/my-service",componentLoader:()=>i.e("views/smb/my-service/index").then(i.bind(i,1313)),loader:E("/smb/my-service")},{path:["/smb/email-address","/smb/email-address/index","/smb/email-address/index/domainId/:domainId"],componentLoader:()=>Promise.all([i.e("vendors"),i.e("views/smb/email-address/index")]).then(i.bind(i,1316)),loader:E()},{path:["/smb/email-address/list","/smb/email-address/list/domainId/:domainId"],componentLoader:()=>Promise.all([i.e("vendors"),i.e("views/smb/email-address/list")]).then(i.bind(i,1353)),loader:E()},{path:"/smb/mail-settings/list",componentLoader:()=>i.e("views/smb/mail-settings/list").then(i.bind(i,1364)),loader:E()},{path:["/smb/account","/smb/account/index"],componentLoader:()=>i.e("views/smb/account/index").then(i.bind(i,1374)),loader:E()},{path:"/smb/account/show/id/:id",componentLoader:()=>i.e("views/smb/account/show").then(i.bind(i,1378)),loader:E()},{path:"/smb/user/index",loader:E()},{path:"/smb/user/list",componentLoader:()=>i.e("views/smb/user/list").then(i.bind(i,1386)),loader:E()},{path:["/smb/web/setup","/smb/web/add-domain/create-webspace/true"],componentLoader:()=>Promise.all([i.e("vendors"),i.e("views/smb/web/setup")]).then(i.bind(i,1388)),loader:E("/smb/web/setup")},{path:["/smb/web/view","/smb/web/view/id/:id/type/:type","/smb/web/add-domain"],componentLoader:()=>Promise.all([i.e("vendors"),i.e("views/smb/web/view")]).then(i.bind(i,1391)),loader:E("/smb/web/view"),children:[D,...k.default.map((({path:e,...n})=>({path:`:id/${e}`,...n})))]},{path:"/smb/web/overview/id/:id/type/:type",componentLoader:()=>Promise.all([i.e("vendors"),i.e("views/smb/web/overview")]).then(i.bind(i,1464)),loader:E(),children:k.default},{path:"/smb/web/php-settings/id/:id",componentLoader:()=>i.e("views/smb/web/php-settings").then(i.bind(i,1468)),loader:E()},{path:"/smb/statistics/details",componentLoader:()=>Promise.all([i.e("vendors"),i.e("views/smb/statistics/details")]).then(i.bind(i,1477)),loader:E()},{path:"/smb/statistics/list",componentLoader:()=>Promise.all([i.e("vendors"),i.e("views/smb/statistics/details")]).then(i.bind(i,1807)),loader:E()},{path:"/smb/statistics",loader:E()},{path:["/smb/account/switch/all/:all/id/:id","/smb/account/switch/id/:id"],loader:E()},{path:"/smb/database",componentLoader:()=>i.e("views/smb/database/index").then(i.bind(i,1809)),loader:E()},{path:["/smb/database/list","/smb/database/list/domainId/:domainId"],componentLoader:()=>i.e("views/smb/database/list").then(i.bind(i,1811)),loader:E()},{path:"/smb/database/users-list/domainId/:domainId",componentLoader:()=>i.e("views/smb/database/users-list").then(i.bind(i,1827)),loader:E()},{path:"/admin/task-manager",componentLoader:()=>i.e("views/admin/task-manager/index").then(i.bind(i,1830)),loader:E()},{path:"/cp/dns",children:[{index:!0,loader:()=>(0,t.redirect)("records")},{path:"records",componentLoader:()=>i.e("views/dns/records").then(i.bind(i,1836)),loader:()=>c.default.query({query:i(789)}).then((({data:e})=>e)),isExist:async()=>{const{data:{viewer:{type:e,permissions:n},mode:{isDnsServiceSupported:i}}}=await c.default.query({query:a.gql`
                                query {
                                    viewer {
                                        login
                                        type
                                        permissions {
                                            manageServerDnsTemplate
                                        }
                                    }
                                    mode {
                                        isDnsServiceSupported
                                    }
                                }
                            `});return"ADMIN"===e&&n.manageServerDnsTemplate&&i},children:[{path:["dns-soa-zone-sync","dns-restore"]},{path:":id/edit",componentLoader:()=>i.e("views/dns/records/edit").then(i.bind(i,1846)),loader:({params:{id:e}})=>c.default.query({query:i(790),variables:{id:e}})},{path:"add",componentLoader:()=>i.e("views/dns/records/edit").then(i.bind(i,1846)),loader:()=>c.default.query({query:i(791)})},{path:"dns-zone-sync",componentLoader:()=>i.e("views/dns/records/dns-zone-sync").then(i.bind(i,1850))}]},{path:"soa-record",componentLoader:()=>i.e("views/dns/soa-record").then(i.bind(i,1851)),loader:async()=>{await c.default.query({query:i(792)})},isExist:async()=>{const{data:{viewer:{type:e,permissions:n},mode:{isDnsServiceSupported:i}}}=await c.default.query({query:a.gql`
                                query {
                                    viewer {
                                        login
                                        type
                                        permissions {
                                            manageServerDnsTemplate
                                        }
                                    }
                                    mode {
                                        isDnsServiceSupported
                                    }
                                }
                            `});return"ADMIN"===e&&n.manageServerDnsTemplate&&i}}]},{path:"/admin/dns/acl-records",componentLoader:()=>i.e("views/admin/dns/acl-records").then(i.bind(i,1856)),loader:E()},{path:"/admin/dns/add-acl-record",componentLoader:()=>i.e("views/admin/dns/add-acl-record").then(i.bind(i,1859)),loader:E()},{path:"/admin/dns/external-dns",componentLoader:()=>i.e("views/admin/dns/external-dns").then(i.bind(i,1862)),loader:E()},{path:"/admin/dns/external-dns-edit/extensionId/:extensionId",componentLoader:()=>i.e("views/admin/dns/external-dns-edit").then(i.bind(i,1864)),loader:E()},{path:"/smb/dns-zone/index/id/:id/type/:type",loader:E()},{path:"/smb/dns-zone/records-list/id/:id/type/:type",componentLoader:()=>i.e("views/smb/dns-zone/records-list").then(i.bind(i,1866)),loader:E()},{path:"/smb/dns-zone/soa-record/id/:id/type/:type",componentLoader:()=>i.e("views/smb/dns-zone/soa-record").then(i.bind(i,1875)),loader:E()},{path:"/smb/dns-zone/acl-records/id/:id/type/:type",componentLoader:()=>i.e("views/smb/dns-zone/acl-records").then(i.bind(i,1879)),loader:E()},{path:"/smb/dns-zone/add-acl-record/id/:id/type/:type",componentLoader:()=>i.e("views/smb/dns-zone/add-acl-record").then(i.bind(i,1882)),loader:E()},{path:"/smb/dns-zone/external-dns/id/:id/type/:type",componentLoader:()=>i.e("views/smb/dns-zone/external-dns").then(i.bind(i,1885)),loader:E()},{path:"/smb/dns-zone/external-dns-edit/id/:id/type/:type/extensionId/:extensionId",componentLoader:()=>i.e("views/smb/dns-zone/external-dns-edit").then(i.bind(i,1887)),loader:E()},{path:"/cp/settings-ui/edit-interface-view",componentLoader:()=>i.e("views/admin/settings-ui/edit-interface-view").then(i.bind(i,1889)),loader:()=>c.default.query({query:i(793)}).then((({data:e})=>e)),isExist:async()=>{const{data:{viewer:{type:e},mode:n}}=await c.default.query({query:a.gql`
                        query {
                            viewer {
                                login
                                type
                            }
                            mode {
                                isViewSwitcherAllowed
                            }
                        }
                    `});return"ADMIN"===e&&n.isViewSwitcherAllowed}},{path:"/admin/settings-ui/list-languages",componentLoader:()=>i.e("views/admin/settings-ui/list-languages").then(i.bind(i,1892)),loader:E()},{path:"/admin/settings-ui",loader:E()},{path:"/admin/database/settings",componentLoader:()=>i.e("views/admin/database/settings").then(i.bind(i,1896)),loader:E()},{path:"/smb/web/web-server-settings/id/:id",componentLoader:()=>i.e("views/smb/web/web-server-settings").then(i.bind(i,1899)),loader:E()},{path:"/admin/notifications",children:[{index:!0,loader:()=>(0,t.redirect)("email-settings")},{path:"email-settings",componentLoader:()=>Promise.all([i.e("vendors"),i.e("views/admin/notifications/index")]).then(i.bind(i,1909)),loader:E()}]},{path:"/cp/notifications/panel-settings",componentLoader:()=>i.e("components/pages/PanelNotificationsSettings").then(i.bind(i,1917)),loader:()=>c.default.query({query:i(794)}).then((({data:e})=>e)),isExist:async()=>{const{data:{viewer:{type:e,permissions:n}}}=await c.default.query({query:a.gql`
                        query {
                            viewer {
                                login
                                type
                                permissions {
                                    manageServerNotifications
                                }
                            }
                        }
                    `});return"ADMIN"===e&&n.manageServerNotifications}},{path:"/cp/settings-ui/branding",componentLoader:()=>Promise.all([i.e("vendors"),i.e("components/pages/BrandingPage")]).then(i.bind(i,1920)),loader:()=>c.default.query({query:i(795)}).then((({data:e})=>e)),isExist:async()=>{const{data:{viewer:{type:e,permissions:n}}}=await c.default.query({query:a.gql`
                        query {
                            viewer {
                                login
                                type
                                permissions {
                                    manageServerBranding
                                }
                            }
                        }
                    `});return"ADMIN"===e&&n.manageServerBranding||"RESELLER"===e}},{path:"/cp/server/db",componentLoader:()=>Promise.all([i.e("vendors"),i.e("views/server/db")]).then(i.bind(i,1923)),loader:()=>c.default.query({query:i(796)}).then((({data:e})=>e)),isExist:async()=>{const{data:{viewer:{type:e,permissions:n}}}=await c.default.query({query:a.gql`
                    query {
                        viewer {
                            login
                            type
                            permissions {
                                manageServerDb
                            }
                        }
                    }
                `});return"ADMIN"===e&&n.manageServerDb},children:[{path:":id/upgrade",componentLoader:()=>Promise.all([i.e("vendors"),i.e("views/server/db")]).then(i.bind(i,1926)),loader:({params:{id:e}})=>c.default.query({query:i(797),variables:{id:btoa(`DatabaseServer:${e}`)}}).then((({data:e})=>e)).catch((({graphQLErrors:e})=>(e.forEach((({message:e,debugMessage:n})=>{(0,r.addToast)({intent:"danger",message:n||e})})),(0,t.redirect)("/cp/server/db")))),isExist:async({params:e})=>{const{data:{viewer:{type:n,permissions:i},databaseServer:t}}=await c.default.query({query:a.gql`
                          query ($id: ID!) {
                              viewer {
                                  login
                                  type
                                  permissions {
                                      manageServerDb
                                  }
                              }
                              databaseServer: node(id: $id) {
                                  id
                              }
                          }
                      `,variables:{id:btoa(`DatabaseServer:${e.id}`)},errorPolicy:"ignore"});return Boolean("ADMIN"===n&&i.manageServerDb&&t)}}]},{path:"/cp/server/db/create",componentLoader:()=>Promise.all([i.e("vendors"),i.e("views/server/db")]).then(i.bind(i,1940)),loader:()=>c.default.query({query:i(798)}).then((({data:e})=>e)),isExist:async()=>{const{data:{viewer:{type:e,permissions:n}}}=await c.default.query({query:a.gql`
                  query {
                      viewer {
                          login
                          type
                          permissions {
                              manageServerDb
                          }
                      }
                  }
              `});return"ADMIN"===e&&n.manageServerDb}},{path:"/cp/server/db/:id",children:[{index:!0,loader:()=>(0,t.redirect)("properties")},{path:"properties",componentLoader:()=>Promise.all([i.e("vendors"),i.e("views/server/db")]).then(i.bind(i,1942)),loader:({params:{id:e}})=>c.default.query({query:i(799),variables:{id:btoa(`DatabaseServer:${e}`)}}).then((({data:e})=>e)),isExist:async({params:e})=>{const{data:{viewer:{type:n,permissions:i},databaseServer:t}}=await c.default.query({query:a.gql`
                      query ($id: ID!) {
                          viewer {
                              login
                              type
                              permissions {
                                  manageServerDb
                              }
                          }
                          databaseServer: node(id: $id) {
                              id
                          }
                      }
                  `,variables:{id:btoa(`DatabaseServer:${e.id}`)},errorPolicy:"ignore"});return Boolean("ADMIN"===n&&i.manageServerDb&&t)}},{path:"databases",componentLoader:()=>Promise.all([i.e("vendors"),i.e("views/server/db")]).then(i.bind(i,1944)),loader:({params:{id:e}})=>c.default.query({query:i(800),variables:{id:btoa(`DatabaseServer:${e}`)}}).then((({data:e})=>e)),isExist:async({params:e})=>{const{data:{viewer:{type:n,permissions:i},databaseServer:t}}=await c.default.query({query:a.gql`
                      query ($id: ID!) {
                          viewer {
                              login
                              type
                              permissions {
                                  manageServerDb
                              }
                          }
                          databaseServer: node(id: $id) {
                              id
                          }
                      }
                  `,variables:{id:btoa(`DatabaseServer:${e.id}`)},errorPolicy:"ignore"});return Boolean("ADMIN"===n&&i.manageServerDb&&t)}},{path:"change-password",componentLoader:()=>Promise.all([i.e("vendors"),i.e("views/server/db")]).then(i.bind(i,1946)),loader:({params:{id:e}})=>c.default.query({query:i(801),variables:{id:btoa(`DatabaseServer:${e}`)}}).then((({data:e})=>e)),isExist:async({params:e})=>{const{data:{viewer:{type:n,permissions:i},os:t,mode:s,databaseServer:r}}=await c.default.query({query:a.gql`
                      query ($id: ID!) {
                          viewer {
                              login
                              type
                              permissions {
                                  manageServerDb
                              }
                          }
                          os {
                              isWindows
                          }
                          mode {
                              isDemo
                          }
                          databaseServer: node(id: $id) {
                              id
                          }
                      }
                  `,variables:{id:btoa(`DatabaseServer:${e.id}`)},errorPolicy:"ignore"});return Boolean("ADMIN"===n&&i.manageServerDb&&t.isWindows&&!s.isDemo&&r)}}]},{path:["/cp/websites-diagnostic","/cp/websites-diagnostic/id/:domainId"],componentLoader:()=>Promise.all([i.e("vendors"),i.e("views/admin/websites-diagnostic/index")]).then(i.bind(i,1947)),loader:async()=>{await c.default.query({query:i(802),fetchPolicy:"network-only"})},isExist:async()=>{const{data:{viewer:e,config:n}}=await c.default.query({query:a.gql`
                        query {
                            viewer {
                                login
                                type
                            }
                            config {
                                websitesDiagnostic {
                                    enabled
                                }
                            }
                        }
                    `});return"ADMIN"===e.type&&n.websitesDiagnostic.enabled}},{path:"/cp/system-time",componentLoader:()=>i.e("components/pages/SystemTimePage").then(i.bind(i,1973)),loader:()=>c.default.query({query:i(803)}).then((({data:e})=>e))},{path:"/cp/server/mail",children:[{index:!0,loader:()=>(0,t.redirect)("settings")},{path:"settings",componentLoader:()=>i.e("views/server/mail").then(i.bind(i,1979)),loader:async()=>{await c.default.query({query:i(804)}),await c.default.query({query:i(805)})},isExist:async()=>{const{data:{viewer:{type:e,permissions:n}}}=await c.default.query({query:a.gql`
                                query {
                                    viewer {
                                        login
                                        type
                                        permissions {
                                            manageServerMail
                                            manageServerMailAutodiscover
                                            manageServerSpamFilter
                                        }
                                    }
                                }
                            `});return"ADMIN"===e&&(n.manageServerMail||n.manageServerMailAutodiscover||n.manageServerSpamFilter)}},{path:"black-list",componentLoader:()=>i.e("views/server/mail").then(i.bind(i,1991)),loader:async()=>{await c.default.query({query:i(806)}),await c.default.query({query:i(805)})},isExist:async()=>{const{data:{viewer:{type:e,permissions:n}}}=await c.default.query({query:a.gql`
                                query {
                                    viewer {
                                        login
                                        type
                                        permissions {
                                            manageServerMailBlackWhiteLists
                                        }
                                    }
                                }
                            `});return"ADMIN"===e&&n.manageServerMailBlackWhiteLists}},{path:"white-list",componentLoader:()=>i.e("views/server/mail").then(i.bind(i,1994)),loader:async()=>{await c.default.query({query:i(807)}),await c.default.query({query:i(805)})},isExist:async()=>{const{data:{viewer:{type:e,permissions:n}}}=await c.default.query({query:a.gql`
                                query {
                                    viewer {
                                        login
                                        type
                                        permissions {
                                            manageServerMailBlackWhiteLists
                                        }
                                    }
                                }
                            `});return"ADMIN"===e&&n.manageServerMailBlackWhiteLists}},{path:"antivirus",componentLoader:()=>i.e("views/server/mail").then(i.bind(i,1997)),loader:async()=>{await c.default.query({query:i(808)}),await c.default.query({query:i(805)})},isExist:async()=>{const{data:{viewer:{type:e,permissions:n}}}=await c.default.query({query:a.gql`
                                query {
                                    viewer {
                                        login
                                        type
                                        permissions {
                                            manageServerVirusProtection
                                        }
                                    }
                                }
                            `});return"ADMIN"===e&&n.manageServerVirusProtection}},{path:"spam-filter",componentLoader:()=>i.e("views/server/mail").then(i.bind(i,1999)),loader:async()=>{await c.default.query({query:i(809)}),await c.default.query({query:i(805)})},isExist:async()=>{const{data:{viewer:{type:e,permissions:n},os:{isWindows:i}}}=await c.default.query({query:a.gql`
                                query {
                                    viewer {
                                        login
                                        type
                                        permissions {
                                            manageServerSpamFilter
                                        }
                                    }
                                    os {
                                        isWindows
                                    }
                                }
                            `});return"ADMIN"===e&&n.manageServerSpamFilter&&i}},{path:"smarthost",componentLoader:()=>i.e("views/server/mail").then(i.bind(i,2001)),loader:async()=>{await c.default.query({query:i(810)}),await c.default.query({query:i(805)})},isExist:async()=>{const{data:{capability:{mailServer:e}}}=await c.default.query({query:a.gql`
                        query {
                            capability {
                                mailServer {
                                    isSmarthostAvailable
                                }
                            }
                        }
                    `});return e.isSmarthostAvailable}}]},_.SummaryReportRoute,{path:"/cp/license",handle:{isAllowedWithoutLicense:!0},children:[{index:!0,loader:()=>(0,t.redirect)("primary")},{path:"primary",componentLoader:()=>i.e("views/license").then(i.bind(i,2006)),loader:async()=>{await c.default.query({query:i(811)}),await c.default.query({query:i(812)})},isExist:async()=>{const{data:{viewer:{type:e,permissions:n}}}=await c.default.query({query:a.gql`
                                query {
                                    viewer {
                                        login
                                        type
                                        permissions {
                                            manageServerLicense
                                        }
                                    }
                                }
                            `});return"ADMIN"===e&&n.manageServerLicense},children:[{path:"upload",componentLoader:()=>i.e("views/license").then(i.bind(i,2011)),loader:async()=>{await c.default.query({query:i(813)})},isExist:async()=>{const{data:{viewer:{type:e,permissions:n},mode:{isDemo:i}}}=await c.default.query({query:a.gql`
                                        query {
                                            viewer {
                                                login
                                                type
                                                permissions {
                                                    manageServerLicense
                                                }
                                            }
                                            mode {
                                                isDemo
                                            }
                                        }
                                    `});return"ADMIN"===e&&n.manageServerLicense&&!i}},{path:"revert",componentLoader:()=>i.e("views/license").then(i.bind(i,2014)),loader:async()=>{await c.default.query({query:i(814)})},isExist:async()=>{const{data:{viewer:{type:e,permissions:n},mode:{isDemo:i}}}=await c.default.query({query:a.gql`
                                        query {
                                            viewer {
                                                login
                                                type
                                                permissions {
                                                    manageServerLicense
                                                }
                                            }
                                            mode {
                                                isDemo
                                            }
                                        }
                                    `});return"ADMIN"===e&&n.manageServerLicense&&!i}}]},{path:"additional",componentLoader:()=>i.e("views/license/additional").then(i.bind(i,2017)),loader:async()=>{await c.default.query({query:i(815)})},isExist:async()=>{const{data:{viewer:{type:e,permissions:n}}}=await c.default.query({query:a.gql`
                                query {
                                    viewer {
                                        login
                                        type
                                        permissions {
                                            manageServerLicense
                                        }
                                    }
                                }
                            `});return"ADMIN"===e&&n.manageServerLicense},children:[{path:"upload",componentLoader:()=>i.e("views/license/additional").then(i.bind(i,2022)),loader:async()=>{await c.default.query({query:i(816)})},isExist:async()=>{const{data:{viewer:{type:e,permissions:n},mode:{isDemo:i}}}=await c.default.query({query:a.gql`
                                        query {
                                            viewer {
                                                login
                                                type
                                                permissions {
                                                    manageServerLicense
                                                }
                                            }
                                            mode {
                                                isDemo
                                            }
                                        }
                                    `});return"ADMIN"===e&&n.manageServerLicense&&!i}}]},{path:"additional/:id",componentLoader:()=>i.e("views/license/additional").then(i.bind(i,2024)),loader:async({params:{id:e}})=>{await c.default.query({query:i(817),variables:{id:e}})},isExist:async({params:e})=>{const{data:{viewer:{type:n,permissions:i},additionalKey:t}}=await c.default.query({query:a.gql`
                                query ($id: ID!) {
                                    viewer {
                                        login
                                        type
                                        permissions {
                                            manageServerLicense
                                        }
                                    }
                                    additionalKey(id: $id) {
                                        keyNumber
                                    }
                                }
                            `,variables:{id:e.id}});return t&&"ADMIN"===n&&i.manageServerLicense},children:[{path:"revert",componentLoader:()=>i.e("views/license/additional").then(i.bind(i,2026)),loader:async({params:{id:e}})=>{await c.default.query({query:i(818),variables:{id:e}})},isExist:async({params:e})=>{const{data:{viewer:{type:n,permissions:i},mode:{isDemo:t},additionalKey:s}}=await c.default.query({query:a.gql`
                                        query ($id: ID!) {
                                            viewer {
                                                login
                                                type
                                                permissions {
                                                    manageServerLicense
                                                }
                                            }
                                            additionalKey(id: $id) {
                                                keyNumber
                                            }
                                            mode {
                                                isDemo
                                            }
                                        }
                                    `,variables:{id:e.id}});return s&&"ADMIN"===n&&i.manageServerLicense&&!t}}]}]},{path:"/cp/firewall",children:[{index:!0,loader:()=>(0,t.redirect)("general")},{path:"general",componentLoader:()=>i.e("components/pages/FirewallGeneralPage").then(i.bind(i,2028)),loader:async()=>{await c.default.query({query:i(819)})},isExist:async()=>{const{data:{viewer:{type:e,permissions:n},os:{isUnix:i},mode:{isDemo:t}}}=await c.default.query({query:a.gql`
                                query {
                                    viewer {
                                        login
                                        type
                                        permissions {
                                            manageServerFirewall
                                        }
                                    }
                                    mode {
                                        isDemo
                                    }
                                    os {
                                        isUnix
                                    }
                                }
                            `});return"ADMIN"===e&&!i&&!t&&n.manageServerFirewall}},{path:"icmp",componentLoader:()=>i.e("components/pages/FirewallIcmpPage").then(i.bind(i,2033)),loader:async()=>{await c.default.query({query:i(820)})},isExist:async()=>{const{data:{viewer:{type:e,permissions:n},os:{isUnix:i},mode:{isDemo:t}}}=await c.default.query({query:a.gql`
                                query {
                                    viewer {
                                        login
                                        type
                                        permissions {
                                            manageServerFirewall
                                        }
                                    }
                                    mode {
                                        isDemo
                                    }
                                    os {
                                        isUnix
                                    }
                                }
                            `});return"ADMIN"===e&&!i&&!t&&n.manageServerFirewall}},{path:"rules",componentLoader:()=>i.e("components/pages/FirewallRulesPage").then(i.bind(i,2035)),loader:async()=>{await c.default.query({query:i(821)})},isExist:async()=>{const{data:{viewer:{type:e,permissions:n},os:{isUnix:i},mode:{isDemo:t}}}=await c.default.query({query:a.gql`
                                query {
                                    viewer {
                                        login
                                        type
                                        permissions {
                                            manageServerFirewall
                                        }
                                    }
                                    mode {
                                        isDemo
                                    }
                                    os {
                                        isUnix
                                    }
                                }
                            `});return"ADMIN"===e&&!i&&!t&&n.manageServerFirewall}}]},{path:["/cp/server/components","/cp/server/components/default/:name","/cp/server/components/configuration/:name"],componentLoader:()=>i.e("components/pages/ServerComponentsPage").then(i.bind(i,2038)),loader:async()=>{await c.default.query({query:i(822)})},isExist:async()=>{const{data:{viewer:{type:e,permissions:n}}}=await c.default.query({query:a.gql`
                        query {
                            viewer {
                                login
                                type
                                permissions {
                                    manageServerComponents
                                }
                            }
                        }
                    `});return"ADMIN"===e&&n.manageServerComponents}},{path:"/cp/ip-address/",componentLoader:()=>Promise.all([i.e("vendors"),i.e("views/admin/ip-address/list")]).then(i.bind(i,2048)),loader:()=>c.default.query({query:i(823),variables:{page:1,itemsPerPage:25}}).then((({data:e})=>e)),children:[{path:["add",":id/edit"]},w]},{path:"/cp/ip-address/:id/clients",componentLoader:()=>i.e("views/admin/ip-address/clients").then(i.bind(i,2054)),loader:({params:{id:e}})=>c.default.query({query:i(824),variables:{id:e}}),children:[{path:"assign",componentLoader:()=>i.e("components/pages/AssignIpAddressToResellerForm").then(i.bind(i,2058)),loader:({params:{id:e}})=>c.default.query({query:i(825),variables:{id:e}})}]},{path:"cp/resource-usage",componentLoader:()=>i.e("views/admin/reseller/resourceUsage").then(i.bind(i,2061)),loader:async()=>await c.default.query({query:i(826),variables:{input:(0,h.readGraphQlListInputFromStorage)({key:"ResourceUsagePage"})}})},{path:"/cp/client/:clientId/ip-address",componentLoader:()=>i.e("views/admin/client/ip-address").then(i.bind(i,2063)),loader:async({params:{clientId:e}})=>{await c.default.query({query:i(827),variables:{clientId:btoa(`Client:${e}`)}})},children:[w,{path:":ipAddressId/properties",componentLoader:()=>i.e("views/admin/client/ip-address/form").then(i.bind(i,2067)),loader:async({params:{clientId:e,ipAddressId:n}})=>{await c.default.query({query:i(828),variables:{ipAddressId:n,clientId:btoa(`Client:${e}`)}})}},{path:"assign",componentLoader:()=>i.e("views/admin/client/ip-address/form").then(i.bind(i,2069)),loader:async({params:{clientId:e}})=>{await c.default.query({query:i(829),variables:{clientId:btoa(`Client:${e}`)}})}}]},{path:"/cp/php/extensions/id/:id",componentLoader:()=>Promise.all([i.e("vendors"),i.e("views/php/extensions")]).then(i.bind(i,2072)),loader:async({params:{id:e}})=>{await c.default.query({query:i(830),variables:{id:e}})},isExist:async({params:e})=>{const{data:{viewer:{type:n,permissions:i},os:{isWindows:t},phpHandler:{cliPath:s}}}=await c.default.query({query:a.gql`
                        query($id: ID!) {
                            viewer {
                                login
                                type
                                permissions {
                                    manageServerPhp
                                }
                            }
                            os {
                                isWindows
                            }
                            phpHandler(id: $id) {
                                id
                                cliPath
                            }
                        }
                    `,variables:{id:e.id}});return"ADMIN"===n&&i.manageServerPhp&&(t||""!==s)}},{path:"/cp/server/ts-sessions/:id",componentLoader:()=>i.e("components/pages/TsSessionPage").then(i.bind(i,2086)),loader:({params:e})=>async()=>{await c.default.query({query:i(831),variables:{ids:[e.id]}})},isExist:P},{path:"/cp/server/ts-sessions",componentLoader:()=>i.e("components/pages/TsSessionsPage").then(i.bind(i,2089)),loader:async()=>{await c.default.query({query:i(832)})},isExist:P},{path:"/cp/server/asp-dot-net-settings",componentLoader:()=>Promise.all([i.e("vendors"),i.e("components/pages/AspDotNetSettingsPage/AspDotNetServerSettingsPage")]).then(i.bind(i,2090)),loader:async()=>{const{data:e}=await c.default.query({query:i(833)});return e},isExist:async()=>{const{data:{viewer:{permissions:{manageAspNetSettings:e}},capability:{packages:{isASPdotNetInstalled:n}}}}=await c.default.query({query:a.gql`
            query {
                viewer {
                    login
                    permissions {
                        manageAspNetSettings
                    }
                }
                capability {
                    packages {
                        isASPdotNetInstalled
                    }
                }
            }
        `});return n&&e}},{path:"cp",handle:{crumb:({data:e})=>e.pageSidebar.isPowerUserPanel?null:{title:s.Locale.getSection("components.routes").lmsg("home"),href:"/admin/home"}},element:(0,y.jsx)(u.default,{}),loader:()=>(0,d.default)(),children:[{path:"reseller-tools",handle:{crumb:()=>({title:s.Locale.getSection("components.routes").lmsg("resellerTools"),href:"/admin/reseller/tools"})},children:[F]},{path:"server",handle:{crumb:()=>({title:s.Locale.getSection("components.routes").lmsg("tools"),href:"/admin/server/tools"})},children:[F,{index:!0,loader:()=>(0,t.redirect)("/admin/server/tools")},{path:"about",componentLoader:()=>i.e("components/pages/ServerAboutPage").then(i.bind(i,2101)),loader:async()=>{await c.default.query({query:i(834)})},isExist:async()=>{const{data:{viewer:e}}=await c.default.query({query:a.gql`
                                                query {
                                                    viewer {
                                                        login
                                                        type
                                                    }
                                                }
                                            `});return"ADMIN"===e.type},handle:{crumb:()=>({title:s.Locale.getSection("components.routes").lmsg("serverAbout")}),helpContext:"about.index"}},{path:"mass-mail",loader:()=>(0,d.default)(),isExist:async()=>{const{data:{viewer:e}}=await c.default.query({query:a.gql`
                                                query {
                                                    viewer {
                                                        login
                                                        type
                                                    }
                                                }
                                            `});return"ADMIN"===e.type},handle:{crumb:()=>({title:s.Locale.getSection("components.routes").lmsg("massMail")}),helpContext:"mass-mail"},children:[{index:!0,componentLoader:()=>i.e("components/pages/MassMailPage").then(i.bind(i,2106)),loader:async()=>{await c.default.query({query:i(835),variables:{input:(0,h.readGraphQlListInputFromStorage)({key:"MassMailPage"})}})}},{path:"create",componentLoader:()=>i.e("components/pages/CreateMassMailTemplatePage").then(i.bind(i,2107)),handle:{crumb:()=>({title:s.Locale.getSection("components.routes").lmsg("createMassMailTemplate")})},loader:async()=>{await c.default.query({query:i(836)})}},{path:"send",componentLoader:()=>i.e("components/pages/SendMassMailPage").then(i.bind(i,2113)),handle:{crumb:()=>({title:s.Locale.getSection("components.routes").lmsg("sendMassMail")})},loader:async()=>{await c.default.query({query:i(837)})}},{path:":templateId/edit",componentLoader:()=>i.e("components/pages/EditMassMailTemplatePage").then(i.bind(i,2115)),handle:{crumb:()=>({title:s.Locale.getSection("components.routes").lmsg("editMassMailTemplate")})},loader:async({params:{templateId:e}})=>{await c.default.query({query:i(838),variables:{numericId:Number(e),id:btoa(`MassEmailTemplate:${e}`)}})}}]},{path:"action-log",componentLoader:()=>i.e("components/pages/ActionLogPage").then(i.bind(i,2116)),loader:async()=>{await c.default.query({query:i(839)})},handle:{crumb:()=>({title:s.Locale.getSection("components.routes").lmsg("actionLogSettings")}),helpContext:"actionlog"}},{path:"information",componentLoader:()=>Promise.all([i.e("vendors"),i.e("components/pages/ServerInformationPage")]).then(i.bind(i,2123)),loader:async()=>{const{data:{server:{information:e}}}=await c.default.query({query:i(840)});if(!e)throw new Response("Not Found",{status:404})},handle:{crumb:()=>({title:s.Locale.getSection("components.routes").lmsg("serverInformation")}),helpContext:"server.statistics"}},{path:"settings",componentLoader:()=>i.e("components/pages/ServerSettingsPage").then(i.bind(i,2127)),loader:async()=>{await c.default.query({query:i(841)})},handle:{crumb:()=>({title:s.Locale.getSection("components.routes").lmsg("serverSettings")}),helpContext:"preferences"}},{path:"spam-filter",componentLoader:()=>i.e("components/tabs/SpamFilterSettingsTabs").then(i.bind(i,2131)),loader:async()=>{await c.default.query({query:i(842)})},isExist:async()=>{const{data:{os:{isUnix:e}}}=await c.default.query({query:a.gql`
                                        query {
                                            os {
                                                isUnix
                                            }
                                        }
                                    `});return e},handle:{crumb:()=>({title:s.Locale.getSection("components.routes").lmsg("serverSpamFilterSettings")}),helpContext:"spamassassin"},children:[{index:!0,loader:async()=>{const{data:{viewer:{permissions:{manageServerSpamFilter:e,manageServerMailBlackWhiteLists:n}}}}=await c.default.query({query:a.gql`
                                                query {
                                                    viewer {
                                                        login
                                                        type
                                                        permissions {
                                                            manageServerSpamFilter
                                                            manageServerMailBlackWhiteLists
                                                        }
                                                    }
                                                }
                                            `});if(e)return(0,t.redirect)("settings");if(n)return(0,t.redirect)("black-list");throw new Response("Not Found",{status:404})}},{path:"settings",componentLoader:()=>i.e("components/pages/SpamFilterSettingsPage").then(i.bind(i,2132)),loader:async()=>{const{data:{serverMail:{spamAssassin:{settings:e}}}}=await c.default.query({query:i(809)});if(!e)throw new Response("Not Found",{status:404})}},{path:"black-list",componentLoader:()=>i.e("components/pages/SpamFilterBlackListPage").then(i.bind(i,2133)),loader:async()=>{await c.default.query({query:i(843)})}},{path:"white-list",componentLoader:()=>i.e("components/pages/SpamFilterWhiteListPage").then(i.bind(i,2136)),loader:async()=>{await c.default.query({query:i(844)})}}]},g.odbcServerRoute]},S.domainRoute,b.homeRoute,{path:"*",loader:()=>{throw new Response("Not Found",{status:404})}}]},{id:"php-pages-layout",path:"*",element:(0,y.jsx)(p.default,{}),children:[{path:"smb/log-file/browser/id/:id",element:(0,y.jsx)(f.default,{})}]}]}]),I=e=>{if(window.location.pathname.match(/^\/modules\/(warden)\//))return!1;const{pathname:n,search:i}="string"==typeof e?(0,t.parsePath)(e):e;if(i?.startsWith("?modals"))return!0;if(!n)return!1;let a=n;/^(?![\/?])/.test(e)&&(a=window.location.pathname+a);const s=(0,t.matchRoutes)(C,a);return!!s&&!s.some((({route:e})=>"php-pages-layout"===e.id))},T=C},(e,n,i)=>{"use strict";i.r(n),i.d(n,{childrenTransformer:()=>p,componentLoaderTransformer:()=>c,default:()=>g,isExistTransformer:()=>m,pathTransformer:()=>v,routeTransformer:()=>f,shouldRevalidateTransformer:()=>u});var t=i(574),a=i(579),s=i(89),r=i(578),o=i.n(r),d=i(270);const l=()=>{const e=(0,t.useMatches)(),n=(0,t.useLocation)(),i=(0,t.useRevalidator)(),{Component:r,...l}=(0,t.useLoaderData)(),c=(0,t.useParams)(),{data:m}=(0,a.useQuery)(o());if(m?.mode?.isLicenseLocked){if(!e.some((({handle:e})=>e?.isAllowedWithoutLicense)))return(0,s.redirect)("/cp/license/")}return n.state?.reload&&(delete n.state.reload,i.revalidate()),(0,d.jsx)(r,{...l,params:c})},c=e=>{if(!e.componentLoader)return e;const{element:n,componentLoader:i,loader:t,...a}=e;if(n)throw new Error('Unable to use options "componentLoader" and "element" at the same time',{cause:{route:e}});return{...a,element:(0,d.jsx)(l,{}),loader:async({request:e,params:n})=>{const[a,s]=await Promise.all([i().then((e=>e.default||e)),t?t({request:e,params:n}):Promise.resolve()]);return s instanceof Response?s:{...s,Component:a}}}},m=e=>{if(!e.isExist)return e;const{isExist:n,loader:i,...t}=e;return{...t,loader:async({request:e,params:t})=>{if(!await n({request:e,params:t}))throw new Response("Not Found",{status:404});if(i)return i({request:e,params:t})}}},u=e=>{if(!e.loader)return e;const{shouldRevalidate:n,...i}=e;return{...i,shouldRevalidate:({defaultShouldRevalidate:e,...i})=>(e&&=[...i.currentUrl.searchParams.keys(),...i.nextUrl.searchParams.keys()].every((e=>!e.match(/^(modals\[.+]|module)$/))),n&&(e=n({...i,defaultShouldRevalidate:e})),e)}},p=e=>{if(!Array.isArray(e.children))return e;const{children:n,...i}=e;return{...i,children:h(n)}},v=e=>{if(!Array.isArray(e.path))return e;const{path:n,...i}=e;return n.map((e=>({...i,path:e})))},f=e=>[c,m,u,p,v].reduce(((e,n)=>n(e)),e),h=e=>e.map(f).flat(),g=h},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"License"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"mode"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isLicenseLocked"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:64}};n.loc.source={body:"query License {\r\n    mode {\r\n        isLicenseLocked\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.License=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 d=o;o=new Set,d.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,"License")},,,,,,(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>g});var t=i(270),a=i(574),s=i(573),r=i(579),o=i(271),d=i(585),l=i.n(d),c=i(358),m=i(89),u=i(313),p=i(530),v=i(587),f=i(588),h=i.n(f);l().config({barThickness:2,barColors:{0:"#28aade",1:"#28aade"},shadowBlur:0,className:"top-bar-progress"});const g=()=>{const e=(0,a.useNavigation)(),{data:{viewer:n,config:i}}=(0,r.useQuery)(h()),d=(0,p.useToasts)();return(0,t.useLayoutEffect)((()=>{"UNDEFINED"!==n.type&&new m.Task.ProgressBar({wsEnabled:i.webSocket.enabled})}),[]),(0,t.useLayoutEffect)((()=>{switch(e.state){case"loading":{const{status:e,...n}=(0,u.default)();(0,u.default)({...n,status:e?.filter((e=>e.isNote))});break}case"idle":{m.Tooltip.hide();const e=document.getElementById("bottomAnchor");e&&(e.innerHTML=Date.now());break}}}),[e.state]),(0,t.jsxs)(v.ModuleProvider,{children:["idle"!==e.state?(0,t.jsx)(l(),{}):null,(0,t.jsx)(a.Outlet,{}),(0,t.jsx)(o.Toaster,{toasts:d,onToastClose:e=>(0,p.removeToast)({key:e}),"data-type":"toaster"}),"true"===c.default.get("debug-testing-mode")?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("style",{type:"text/css",children:"\n                                *, *:before, *:after {\n                                    transitions-delay: 0s !important;\n                                    transition-duration: 0s !important;\n                                    animation-duration: 0s !important;\n                                }\n                            "}),(0,t.jsx)("div",{id:"bottomAnchor",style:{position:"fixed",top:0,zIndex:-1,opacity:.001}})]}):null,(0,t.jsx)(s.ScrollRestoration,{}),(0,t.jsx)(v.DynamicModule,{})]})}},,,(e,n,i)=>{"use strict";i.r(n),i.d(n,{DynamicModule:()=>f,ModuleProvider:()=>p,useDynamicModule:()=>u});var t=i(270),a=i(585),s=i.n(a),r=i(272),o=i.n(r),d=i(574);const l=(0,t.createContext)({}),c="module",m=async(e,n,t)=>{try{const a=await((e,n)=>{if(window[n])return window[n];const i=document.createElement("script"),t=new Promise(((t,a)=>{i.src=e,i.type="text/javascript",i.async=!0,i.onload=()=>t(window[n]),i.onerror=a}));return document.head.appendChild(i),t.finally((()=>document.head.removeChild(i))),t})(e,n);await i.I("default"),await a.init(i.S.default);return(await a.get(t))()}catch(e){return console.error("Error loading module:",e),{default:()=>null}}},u=()=>(0,t.useContext)(l),p=({children:e})=>{const[n,i]=(0,t.useState)({}),a=(0,d.useNavigate)(),s=(0,t.useCallback)(((e,s)=>{const{scope:r,entry:o,url:d}=/module:(?<scope>.+):(?<entry>.+)@(?<url>.+)/.exec(e)?.groups??{};if(!(r&&d&&o))return;const l=`${r}:${o}`;n[l]||i((e=>({...e,[l]:(0,t.lazy)((()=>m(d,r,`./${o}`)))}))),a(`?${new URLSearchParams({[c]:l,props:v(s)})}`,{preventScrollReset:!0})}),[a,n]),r=(0,t.useCallback)((()=>{const e=new URLSearchParams(location.search);e.delete(c),e.delete("props"),a(`?${e}`,{preventScrollReset:!0})}),[a]),o=(0,t.useMemo)((()=>Object.entries(n).map((([e,n])=>({key:e,Component:n})))),[n]),u=(0,t.useMemo)((()=>({modules:o,openModule:s,closeModule:r})),[r,o,s]);return(0,t.jsx)(l.Provider,{value:u,children:e})};p.propTypes={children:o().node.isRequired};const v=e=>btoa(JSON.stringify(e)),f=()=>{const{modules:e,closeModule:n}=u(),i=(0,d.useLocation)(),a=(0,t.useMemo)((()=>{const e=new URLSearchParams(i.search);if(e.has(c)){const i=e.get(c);try{return{[i]:(n=e.get("props"),JSON.parse(atob(n)))}}catch{return!1}}var n;return!1}),[i]);return(0,t.jsx)(t.Suspense,{fallback:(0,t.jsx)(s(),{}),children:e.map((({Component:e,key:i})=>(0,t.jsx)(e,{...a[i],isOpen:!!a[i],onClose:n},i)))})}},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"TaskProgressBar"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"config"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"webSocket"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"enabled"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:152}};n.loc.source={body:"query TaskProgressBar {\r\n    viewer {\r\n        login\r\n        type\r\n    }\r\n    config {\r\n        webSocket {\r\n            enabled\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.TaskProgressBar=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 d=o;o=new Set,d.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,"TaskProgressBar")},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>r});var t=i(574),a=i(590),s=i(270);const r=()=>{const{showFrames:e,pageHeader:n,pageSidebar:i}=(0,t.useLoaderData)(),r=(0,t.useMatches)().filter((({handle:e})=>!!e)),o=(0,t.useParams)(),d=(0,t.useLocation)(),l={},c=r.reduce(((e,n)=>{if(!n.handle.crumb)return e;const i=n.handle.crumb({data:n.data,matchesContext:l,params:o,location:d});return i?Array.isArray(i)?[...e,...i]:[...e,{href:n.pathname,...i}]:e}),[]),m=r.slice().reverse(),u=m.find((({handle:e})=>e.returnUrl))?.handle.returnUrl({params:o}),p=m.find((({handle:e})=>e.helpContext))?.handle.helpContext,v=m.find((({handle:e})=>e.secondary))?.handle.secondary({location:d,params:o}),f=m.find((({handle:e})=>e.titleRightAddon))?.handle.titleRightAddon,h=m.find((({handle:e})=>e.pageContentHeader))?.handle.pageContentHeader,g=c[c.length-1]?.title,k=r.filter((({handle:e})=>e.crumb||"function"==typeof e.pageTitle)).at(-1),_=k?.handle.pageTitle&&k.handle.pageTitle({data:k.data,matchesContext:l,params:o,location:d})||g,S=r.at(-1),b="function"==typeof S?.handle?.key?S.handle.key({params:o}):void 0,y={showFrames:e,pageHeader:{...n,returnUrl:n.returnUrl||u,helpMenu:{...n.helpMenu,helpContext:p}},pageSidebar:i,pageContentHeader:{...h,pageTitle:_,breadcrumbs:c,titleRightAddon:f},secondary:v};return(0,s.jsx)(a.default,{...y,children:(0,s.jsx)(t.Outlet,{},b)})}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>t.default,withPageLayout:()=>a.default,withSimplePageLayout:()=>s.default});var t=i(591),a=i(690),s=i(691)},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>w});var t=i(270),a=i(272),s=i.n(a),r=i(579),o=i(592),d=i(598),l=i.n(d),c=i(271),m=i(599),u=i(525),p=i(606),v=i(628),f=i(629),h=i(635),g=i(636),k=i(670),_=i(684),S=i(686),b=i(689),y=i(675),N=i.n(y);const E=({baseUrl:e,showFrames:n=!0,returnUrl:a,pageHeader:s,pageSidebar:d,pageContentHeader:y,pageTitle:E,withSecondary:w=!1,secondary:D,width:F,bodyClass:P,integrationClass:C,children:I,isSecondaryCollapsed:T=!1})=>{const{data:{viewer:{customTitle:x}}}=(0,r.useQuery)(N()),[L,O]=(0,m.useLocalStorage)("isSidebarClosed"),[A,q]=(0,t.useState)(!0),M=[A&&"responsive","true"===L&&"desktop"].filter(Boolean),R=(0,m.useMediaQuery)("(max-width: 1022px)"),B=M.includes(R?"responsive":"desktop");E??=y?.breadcrumbs?.[y.breadcrumbs.length-1]?.title,(0,t.useLayoutEffect)((()=>{const e=document.querySelector("title");e&&(e.innerHTML=[E&&(0,u.default)(E),x].filter(Boolean).join(" - "))}),[E,x]),(0,t.useLayoutEffect)((()=>{const e=l()(P,C).split(" ").filter(Boolean);return e.forEach((e=>document.body.classList.add(e))),()=>{e.forEach((e=>document.body.classList.remove(e)))}}),[P,C]),e&&(i.g.Jsw.baseUrl=e);const[U,j]=(0,t.useState)(0),[V,$]=(0,t.useState)(0),[H,W]=(0,t.useState)(0);return(0,t.useEffect)((()=>{const e=U+V+parseInt(getComputedStyle(document.querySelector(".pul-layout__main-inner")).paddingTop)+(document.getElementById("classic-mode-navigation")?.getBoundingClientRect().height||0);W(e)}),[U,V]),s?.helpMenu&&y&&(s.helpMenu={...s.helpMenu,searchQuery:(0,b.default)(y)}),(0,t.jsx)(c.Layout,{id:"page",width:F,header:n&&s?(0,t.jsx)(o.default,{bounds:!0,onResize:({bounds:e})=>j(e.height),children:({measureRef:e})=>(0,t.jsx)("div",{ref:e,children:(0,t.jsx)(g.default,{returnUrl:a,...s})})}):void 0,headerAddon:n&&s?(0,t.jsx)(o.default,{bounds:!0,onResize:({bounds:e})=>$(e.height),children:({measureRef:e})=>(0,t.jsxs)("div",{ref:e,children:[(0,t.jsx)(p.default,{}),s.licenseStatus?(0,t.jsx)(h.default,{...s.licenseStatus}):null]})}):void 0,onSidebarToggle:(e,n)=>{switch(n){case"responsive":q(e);break;case"desktop":O(e?"true":"false")}},sidebar:n&&d?(0,t.jsx)(k.default,{title:x,breadcrumbs:y?.breadcrumbs,isClosed:B,onNodeClick:R?()=>q(!0):void 0,...d}):void 0,sidebarCollapsed:M,sidebarType:n&&d?"folded":void 0,footer:n?(0,t.jsx)(_.default,{}):void 0,contentHeader:y?(0,t.jsx)(S.default,{...y}):null,children:(0,t.jsx)("div",{className:"b-content",children:(0,t.jsxs)(c.Columns,{gap:"md",vertical:740,"data-type":"page-content",className:"b-content-wrap",children:[(0,t.jsx)(c.Column,{fill:!0,id:"content-body",className:"b-content-main",children:(0,t.jsxs)("div",{id:"main",style:w||D?{position:"sticky",top:`${H}px`}:void 0,children:[(0,t.jsx)(f.default,{}),I]})}),w||D?(0,t.jsx)(c.Column,{width:256,className:l()("b-content-side",T&&"b-content-side--collapsed"),children:(0,t.jsx)("div",{style:{position:"sticky",top:`${H}px`},children:"string"==typeof D?(0,t.jsx)(v.default,{children:D}):D})}):null]})})})};E.propTypes={baseUrl:s().string,showFrames:s().bool,returnUrl:s().string,pageHeader:s().shape(g.default.propTypes),pageSidebar:s().object,pageContentHeader:s().shape(S.default.propTypes),withSecondary:s().bool,secondary:s().any,isSecondaryCollapsed:s().bool,width:s().number,bodyClass:s().string,integrationClass:s().string,pageTitle:s().string,children:s().any};const w=E},,,,,,,,(e,n,i)=>{"use strict";i.r(n),i.d(n,{useClickOutside:()=>t.default,useDebounce:()=>o.default,useEventListener:()=>a.default,useLocalStorage:()=>s.default,useMediaQuery:()=>r.default});var t=i(600),a=i(601),s=i(602),r=i(604),o=i(605)},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>a});var t=i(270);const a=(e,n)=>{(0,t.useEffect)((()=>{const i=i=>{e.some((({current:e})=>!e||e.contains(i.target)))||n(i)};return document.addEventListener("mousedown",i),document.addEventListener("touchstart",i),()=>{document.removeEventListener("mousedown",i),document.removeEventListener("touchstart",i)}}),[e,n])}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>a});var t=i(270);const a=(e,n,i,a="addEventListener",s="removeEventListener")=>{const r=(0,t.useRef)();(0,t.useEffect)((()=>{r.current=n}),[n]),(0,t.useEffect)((()=>{if(!i||!i[a])return;const n=e=>r.current(e);return i[a](e,n),()=>{i[s](e,n)}}),[e,i,a,s])}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>r,useLocalStorage:()=>s});var t=i(270),a=i(603);const s=function(e,n){const[i,s]=(0,t.useState)((()=>(0,a.readLocalStorageValue)(e,n)));return[i,(0,t.useCallback)((n=>{s(n),window.localStorage.setItem(e,JSON.stringify(n))}),[e])]},r=s},(e,n,i)=>{"use strict";i.r(n),i.d(n,{readLocalStorageValue:()=>t});const t=(e,n)=>{try{const i=window.localStorage.getItem(e);return i?JSON.parse(i):n}catch{return n}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>a});var t=i(270);const a=e=>{const[n,i]=(0,t.useState)(!1);return(0,t.useLayoutEffect)((()=>{const n=window.matchMedia(e),t=()=>{i(n.matches)};return t(),n.addListener(t),()=>{n.removeListener(t)}}),[e]),n}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>a});var t=i(270);const a=(e,n)=>{const[i,a]=(0,t.useState)(e);return(0,t.useEffect)((()=>{const i=setTimeout((()=>{a(e)}),n);return()=>{clearTimeout(i)}}),[e,n]),i}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>t.default});var t=i(607)},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>f});var t=i(270),a=i(272),s=i.n(a),r=i(579),o=i(608),d=i(620),l=i(622),c=i(567),m=i(358),u=i(627),p=i.n(u);const v=({layoutType:e})=>{const[n,i]=(0,t.useState)((()=>!(0,c.hasPreferences)())),[a,s]=(0,o.useModal)("cookie-policy-preferences"),[u,v]=(0,t.useState)(c.loadPreferences),{data:{config:f}={}}=(0,r.useQuery)(p()),h=e=>{i(!1),v(e),(0,c.savePreferences)(e),f.gdpr.cookies.forEach((({name:n,type:i})=>{!1===e[i]&&m.default.remove(n,"/")}))};return(0,t.jsxs)(t.Fragment,{children:[f?.gdpr?.cookieBox?.enabled&&n&&(0,t.jsx)(d.default,{onSave:h,onPreferencesToggle:s,contentAlignment:"simplified"===e?"center":void 0}),(0,t.jsx)(l.default,{isOpen:null!==a,preferences:u,onSave:h,onToggle:s,adapter:"simplified"===e?l.OverlayAdapter:void 0})]})};v.propTypes={layoutType:s().oneOf(["simplified"])};const f=v},(e,n,i)=>{"use strict";i.r(n),i.d(n,{useCollector:()=>t.default,useConfirmation:()=>a.default,useCreateFormInDrawer:()=>s.default,useListOperation:()=>r.default,useModal:()=>o.default});var t=i(609),a=i(610),s=i(611),r=i(618),o=i(619)},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>a});var t=i(270);const a=()=>(0,t.useRef)({setCallback(e){this.callback=e},collect(){return this.callback()}}).current},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>r});var t=i(93),a=i(270);class s{constructor(e,{onProceed:n}={}){(0,t.default)(this,"isResolved",!1),this.resolve=e,this.onProceed=n}proceed(e){this.isResolved=!0,this.resolve(e),this.onProceed?.()}}const r=()=>{const[e,n]=(0,a.useState)(null);(0,a.useEffect)((()=>()=>{e&&!e.isResolved&&e.proceed(!1)}),[e]);return[e,()=>new Promise((e=>{const i=new s(e,{onProceed:()=>n(null)});n(i)}))]}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>v});var t=i(270),a=i(581),s=i(616),r=i(574),o=i(271),d=i(89),l=i(612),c=i(614),m=i.n(c),u=i(615),p=i.n(u);const v=(e,n,i,c)=>{const u=(0,a.useApolloClient)(),v=!!(0,r.useMatch)(c),f=(0,r.useNavigate)(),[h,g]=(0,t.useState)(null),[k,_]=(0,t.useState)(null),[S]=(0,s.useMutation)(p());(0,t.useEffect)((()=>{v&&(g(null),_(null),d.Tooltip.hide(),Promise.all([d.api.get(c),u.query({query:m()})]).then((([e,{data:{config:n,mode:i}}])=>{e.redirect?(0,d.redirect)(e.redirect):g({...e,techDomain:{url:`${n.techDomain.url}/api/subdomain`,vendor:n.techDomain.vendor,maxDomainLength:n.techDomain.maxDomainLength},settingsEnabled:n.domainManagement.settings.enabled,applicationWizardConfig:n.domainManagement.applicationWizard,isMailServiceSupported:i.isMailServiceSupported})})))}),[v,c,u]);const b=()=>{f(i)};return[(0,t.jsx)(l.default,{dataType:n,title:h?h.pageTitle:"",size:"sm",isOpen:v,onClose:b,form:h?(0,t.jsx)(e,{onCancel:b,onProcess:_,onToggleDomainSettings:e=>{h&&(h.settingsCollapsed=e),S({variables:{collapsed:e}})},...h}):null,task:k,pageUrl:i,children:h?null:(0,t.jsx)(o.ContentLoader,{})})]}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>h});var t=i(270),a=i(271),s=i(89),r=i(272),o=i.n(r),d=i(601),l=i(613),c=i(530);const m="running",u=()=>(0,s.getComponent)("asyncProgressBarWrapper"),p=s.Locale.getTranslate("components.buttons"),v=e=>{switch(e){case"STATUS_NOT_STARTED":return s.Task.STATUS_NOT_STARTED;case"STATUS_STARTED":case"STATUS_RUNNING":case s.Task.STATUS_STARTED:return m;case"STATUS_DONE":return s.Task.STATUS_DONE;case"STATUS_CANCELED":return s.Task.STATUS_CANCELED;case"STATUS_ERROR":return s.Task.STATUS_ERROR;default:return e}},f=({children:e=null,dataType:n,isOpen:i=!1,onClose:r,task:o=null,pageUrl:f=null,onTaskComplete:h,onError:g,autoCloseTimeout:k,..._})=>{const S=(0,l.default)(),[b,y]=(0,t.useState)([]),[N,E]=(0,t.useState)(null),[w,D]=(0,t.useState)(null),[F,P]=(0,t.useState)(null),C=o?o.id:null,I=({id:e,steps:n,status:r,errors:o,output:d,progressValue:l,progressTitle:c,progressTitleHtml:m})=>{if(!i||C!==e)return;const u=m||(0,s.escapeHtml)(c),p=v(r),f=(e=[],n=[])=>{const i="function"==typeof g&&e.length>0;return(0,t.jsxs)(t.Fragment,{children:[i&&g(),e.map((e=>(0,t.jsx)("div",{children:e},e))),n.length>0&&(0,t.jsx)(a.ConsoleOutput,{"data-testid":"console-output",children:n})]})};P(p),n&&n.length?(E(u),y(n.map((({errors:e,status:n,output:i,...t})=>({children:f(e,i),status:v(n),...t}))))):y([{title:u,status:p,progress:Number(l),children:f(o,d)}])};(0,t.useEffect)((()=>{const e=u();i?(e?.hide(),y([]),E(null),D(null),P(null)):(async()=>{T()||await L(),e?.show()})()}),[i]),(0,t.useEffect)((()=>{C&&(u()?.update(),I(o))}),[C,o]),(0,d.default)("plesk:taskStepUpdate",I,s.Observer),(0,d.default)("plesk:taskComplete",(({id:e,redirect:n,status:t})=>{i&&C===e&&("function"==typeof h&&h({status:t}),s.Task.STATUS_DONE===t&&D(n?.url||n))}),s.Observer);const T=()=>s.Task.STATUS_NOT_STARTED===F||m===F,x=()=>{if(w)return((e,n)=>{if(e===n)return!0;try{const i=new URLSearchParams(new URL(e,window.location.origin).search);return i.get("returnUrl")===n||i.get("pageUrl")===n}catch{}return!0})(w,f)?(S(w,{replace:!0}),void r()):void S(w);r()},L=()=>C&&u()?.getItems().find((e=>e.getId()===C))?.remove();return(0,t.jsx)(a.Drawer,{"data-type":n,isOpen:i,onClose:x,progress:b.length?{cancelable:!1,title:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:N}}),steps:b,onFinish:()=>{L(),(0,c.addToast)({intent:"success",message:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:N||b[0].title}})})},autoCloseTimeout:k,buttons:null===k&&s.Task.STATUS_DONE===F?(0,t.jsx)(a.Button,{intent:"primary",onClick:x,children:(0,t.jsx)(p,{content:"finish"})}):null}:null,hideButton:T(),..._,children:e})};f.propTypes={children:o().node,dataType:o().string.isRequired,isOpen:o().bool,onClose:o().func.isRequired,task:o().shape({id:o().string.isRequired,steps:o().array,status:o().string,progressTitle:o().string,progressTitleHtml:o().string}),pageUrl:o().string,onTaskComplete:o().func,onError:o().func,autoCloseTimeout:o().number};const h=f},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>r});var t=i(270),a=i(575),s=i(574);const r=()=>{const e=(0,s.useNavigate)();return(0,t.useCallback)(((n,t={})=>{i(576).isClientSideRedirectAllowed(n)?e(n,t):window.location[t?.replace?"replace":"assign"]("object"==typeof n&&null!==n?(0,a.createPath)(n):n)}),[e])}},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"CreateFormInDrawer"},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:"domainManagement"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"settings"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"enabled"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"applicationWizard"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"enabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"blankSite"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"uploadFiles"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mailHosting"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"techDomain"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"vendor"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"maxDomainLength"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"mode"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isMailServiceSupported"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:463}};n.loc.source={body:"query CreateFormInDrawer {\r\n    config {\r\n        domainManagement {\r\n            settings {\r\n                enabled\r\n            }\r\n            applicationWizard {\r\n                enabled\r\n                blankSite\r\n                uploadFiles\r\n                mailHosting\r\n            }\r\n        }\r\n        techDomain {\r\n            url\r\n            vendor\r\n            maxDomainLength\r\n        }\r\n    }\r\n    mode {\r\n        isMailServiceSupported\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.CreateFormInDrawer=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 d=o;o=new Set,d.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,"CreateFormInDrawer")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateUserSettings"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"collapsed"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateUserSettings"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"collapsedDomainSettings"},value:{kind:"Variable",name:{kind:"Name",value:"collapsed"}}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"result"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:151}};n.loc.source={body:"mutation UpdateUserSettings($collapsed: Boolean!) {\r\n    updateUserSettings(input: {collapsedDomainSettings: $collapsed}) {\r\n        result\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.UpdateUserSettings=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 d=o;o=new Set,d.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,"UpdateUserSettings")},,,(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>a});var t=i(270);const a=()=>{const[e,n]=(0,t.useState)([]),[i,a]=(0,t.useState)([]);return{selection:e,setSelection:n,loadingRows:i,wrapListOperation:e=>async function(i,...t){n((e=>e.filter((e=>!i.includes(e))))),a((e=>[...e,...i]));try{return await e.call(this,i,...t)}finally{a((e=>e.filter((e=>!i.includes(e)))))}}}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>s});var t=i(270),a=i(574);const s=(e,n)=>{const i=`modals[${e}]`,s=(0,a.useNavigate)(),r=(0,a.useLocation)();return[new URLSearchParams(n??r.search).get(i),(0,t.useCallback)((e=>{const n=new URLSearchParams(window.location.search);e?n.set(i,e):n.has(i)&&n.delete(i),s(`?${n}${window.location.hash}`)}),[i,s])]}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>p});var t=i(598),a=i.n(t),s=i(271),r=i(272),o=i.n(r),d=i(89),l=i(621),c=i(270);const m=d.Locale.getTranslate("components.cookie-policy.info"),u=({onSave:e,onPreferencesToggle:n,contentAlignment:i})=>(0,c.jsx)("div",{className:a()("cookie-policy-info",{[`cookie-policy-info--${i}`]:i}),children:(0,c.jsxs)("div",{className:"cookie-policy-info__inner",children:[(0,c.jsx)(s.Heading,{level:3,className:"cookie-policy-info__title",children:(0,c.jsx)(m,{content:"title"})}),(0,c.jsx)(s.Paragraph,{children:(0,c.jsx)(m,{content:"necessaryCookiesMessage"})}),(0,c.jsx)(s.Paragraph,{children:(0,c.jsx)(m,{content:"message",params:{cookieInformationLink:(0,c.jsx)(s.Link,{href:l.PLESK_COOKIES,target:"_blank",className:"cookie-policy-info__link",children:(0,c.jsx)(m,{content:"cookieInformationLink"})})}})}),(0,c.jsxs)("div",{className:"cookie-policy-info__buttons",children:[(0,c.jsx)(s.Button,{className:"cookie-policy-info__button","data-type":"cookie-policy-info-accept-button",onClick:()=>{e({analytics:!0,marketing:!0}),n(!1)},children:(0,c.jsx)(m,{content:"acceptButton"})}),(0,c.jsx)(s.Button,{className:"cookie-policy-info__button","data-type":"cookie-policy-info-accept-necessary-button",onClick:()=>{e({analytics:!1,marketing:!1}),n(!1)},children:(0,c.jsx)(m,{content:"acceptNecessaryCookiesButton"})}),(0,c.jsx)(s.Button,{className:"cookie-policy-info__button","data-type":"cookie-policy-info-preferences-button",onClick:()=>{n(!0)},children:(0,c.jsx)(m,{content:"preferencesButton"})})]})]})});u.propTypes={onSave:o().func.isRequired,onPreferencesToggle:o().func.isRequired,contentAlignment:o().oneOf(["center"])};const p=u},(e,n,i)=>{"use strict";i.r(n),i.d(n,{CONTROL_COOKIES:()=>a,PLESK_COOKIES:()=>t});const t="https://docs.plesk.com/en-US/obsidian/cookies",a="https://docs.plesk.com/en-US/obsidian/cookies/#delete-cookies"},(e,n,i)=>{"use strict";i.r(n),i.d(n,{OverlayAdapter:()=>a.default,default:()=>t.default});var t=i(623),a=i(625)},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>u});var t=i(270),a=i(272),s=i.n(a),r=i(271),o=i(89),d=i(624),l=i(621);const c=o.Locale.getTranslate("components.cookie-policy.preferences"),m=({isOpen:e,onSave:n,onToggle:i,preferences:a,adapter:s=d.default})=>{const o=(0,t.useMemo)((()=>(e=>Object.keys(e).reduce(((n,i)=>(n[i]=e[i]?"on":"off",n)),{}))(a)),[a]),m=()=>i(!1);return(0,t.jsxs)(s,{isOpen:e,title:(0,t.jsx)(c,{content:"title"}),submitButton:{"data-type":"cookie-policy-preferences-submit-button","data-testid":"submitButton",children:(0,t.jsx)(c,{content:"submitButton"})},cancelButton:{"data-type":"cookie-policy-preferences-cancel-button","data-testid":"cancelButton",children:(0,t.jsx)(c,{content:"cancelButton"}),onClick:m},values:o,onSubmit:e=>{n((e=>Object.keys(e).reduce(((n,i)=>(n[i]="on"===e[i],n)),{}))(e)),i(!1)},onCancel:m,children:[(0,t.jsx)(r.Paragraph,{children:(0,t.jsx)(c,{content:"description"})}),(0,t.jsx)(r.Heading,{level:2,children:(0,t.jsx)(c,{content:"settingsTitle"})}),(0,t.jsx)(r.Paragraph,{children:(0,t.jsx)(c,{content:"settingsDescription"})}),(0,t.jsx)(r.Heading,{level:3,children:(0,t.jsx)(c,{content:"analyticsTitle"})}),(0,t.jsx)(r.Paragraph,{children:(0,t.jsx)(c,{content:"analyticsDescription"})}),(0,t.jsx)(r.FormFieldRadioButtons,{name:"analytics",value:o.analytics,className:"cookie-policy-preferences__radio-buttons","data-testid":`analytics${o.analytics}`,options:[{value:"on",label:(0,t.jsx)(c,{content:"on"})},{value:"off",label:(0,t.jsx)(c,{content:"off"})}]}),(0,t.jsx)(r.Heading,{level:3,children:(0,t.jsx)(c,{content:"marketingTitle"})}),(0,t.jsx)(r.Paragraph,{children:(0,t.jsx)(c,{content:"marketingDescription"})}),(0,t.jsx)(r.FormFieldRadioButtons,{name:"marketing",value:o.marketing,className:"cookie-policy-preferences__radio-buttons",options:[{value:"on",label:(0,t.jsx)(c,{content:"on"})},{value:"off",label:(0,t.jsx)(c,{content:"off"})}]}),(0,t.jsx)(r.Heading,{level:3,children:(0,t.jsx)(c,{content:"necessaryTitle"})}),(0,t.jsx)(r.Paragraph,{children:(0,t.jsx)(c,{content:"necessaryDescription",params:{browserSettingsLink:(0,t.jsx)(r.Link,{href:l.CONTROL_COOKIES,target:"_blank",children:(0,t.jsx)(c,{content:"browserSettingsLink"})})}})}),(0,t.jsx)(r.Paragraph,{children:(0,t.jsx)(r.Link,{href:l.PLESK_COOKIES,target:"_blank",children:(0,t.jsx)(c,{content:"pleskCookiesLink"})})})]})};m.propTypes={isOpen:s().bool.isRequired,onSave:s().func.isRequired,onToggle:s().func.isRequired,preferences:s().object.isRequired,adapter:s().func};const u=m},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>d});var t=i(272),a=i.n(t),s=i(271),r=i(270);const o=({isOpen:e,onSubmit:n,onCancel:i,submitButton:t,cancelButton:a,title:o,children:d,values:l})=>(0,r.jsx)(s.Drawer,{isOpen:e,onClose:i,"data-type":"cookie-policy-preferences",title:o,size:"sm",form:{vertical:!0,onSubmit:n,onCancel:i,applyButton:!1,submitButton:t,cancelButton:a,values:l},children:d});o.propTypes={isOpen:a().bool.isRequired,onSubmit:a().func.isRequired,onCancel:a().func.isRequired,submitButton:a().shape({children:a().node.isRequired}).isRequired,cancelButton:a().shape({children:a().node.isRequired,onClick:a().func.isRequired}).isRequired,title:a().node.isRequired,children:a().node.isRequired,values:a().object.isRequired};const d=o},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>l});var t=i(272),a=i.n(t),s=i(271),r=i(626),o=i(270);const d=({isOpen:e,onSubmit:n,onCancel:i,submitButton:t,cancelButton:a,title:d,children:l,values:c})=>(0,o.jsx)(r.default,{isOpen:e,onCancel:i,children:(0,o.jsxs)(s.Form,{vertical:!0,onSubmit:n,onCancel:i,applyButton:!1,submitButton:t,cancelButton:a,values:c,children:[(0,o.jsx)(s.Heading,{level:1,className:"cookie-policy-preferences__title",children:d}),l]})});d.propTypes={isOpen:a().bool.isRequired,onSubmit:a().func.isRequired,onCancel:a().func.isRequired,submitButton:a().shape({children:a().node.isRequired}).isRequired,cancelButton:a().shape({children:a().node.isRequired,onClick:a().func.isRequired}).isRequired,title:a().node.isRequired,children:a().node.isRequired,values:a().object.isRequired};const l=d},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>u});var t=i(270),a=i(272),s=i.n(a),r=i(598),o=i.n(r),d=i(271);const l=()=>"fixed"!==document.documentElement.style.position,c=()=>{l()||(0,d.enableDocumentScroll)()},m=({isOpen:e,children:n,onCancel:i})=>{const a=(0,t.useRef)(null),s=(0,t.useRef)(null),[r,m]=(0,t.useState)(e);return(0,t.useEffect)((()=>{let n;return e?(m(!0),n=e=>{27===e.keyCode&&i()},document.addEventListener("keydown",n),a.current=setTimeout((()=>{l()&&(0,d.disableDocumentScroll)()}),500)):s.current=setTimeout((()=>{m(!1),c()}),500),()=>{clearTimeout(a.current),clearTimeout(s.current),c(),document.removeEventListener("keydown",n)}}),[e,i]),e||r?(0,t.createPortal)((0,t.jsx)("div",{className:o()("cookie-policy-overlay",{"cookie-policy-overlay--enter":e&&r,"cookie-policy-overlay--exit":!e&&r}),"data-testid":"overlayContainer",children:(0,t.jsxs)("div",{className:"cookie-policy-overlay__modal",children:[(0,t.jsx)("a",{onClick:i,className:"cookie-policy-overlay__modal-close",children:(0,t.jsx)(d.Icon,{name:"cross-mark"})}),(0,t.jsx)("div",{className:"cookie-policy-overlay__modal-content",children:(0,t.jsx)("div",{className:"cookie-policy-overlay__modal-inner",children:n})})]})}),document.body):null};m.propTypes={isOpen:s().bool.isRequired,children:s().node.isRequired,onCancel:s().func.isRequired};const u=m},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"CookiePolicy"},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:"gdpr"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"cookieBox"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"enabled"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"cookies"},arguments:[{kind:"Argument",name:{kind:"Name",value:"type"},value:{kind:"ListValue",values:[{kind:"StringValue",value:"analytics",block:!1},{kind:"StringValue",value:"marketing",block:!1}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:254}};n.loc.source={body:'query CookiePolicy {\r\n    config {\r\n        gdpr {\r\n            cookieBox {\r\n                enabled\r\n            }\r\n            cookies(type: ["analytics", "marketing"]) {\r\n                name\r\n                type\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.CookiePolicy=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 d=o;o=new Set,d.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,"CookiePolicy")},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>d});var t=i(270),a=i(272),s=i.n(a),r=i(89);const o=({component:e="div",renderMode:n,children:i,...a})=>{const s=(0,t.useRef)();return(0,t.useLayoutEffect)((()=>{(0,r.render)(s.current,i,n)}),[]),(0,t.jsx)(e,{ref:s,...a})};o.propTypes={component:s().string,renderMode:s().string,children:s().oneOfType([s().string,s().func,s().object])};const d=o},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>t.default});var t=i(630)},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>m});var t=i(598),a=i.n(t),s=i(89),r=i(628),o=i(313),d=i(631),l=i(270);const c={"msg-license-limits":d.default},m=()=>{const{status:e=[]}=(0,o.usePageData)(),n=n=>{n.hideUrl&&s.api.post((0,s.prepareUrl)(n.hideUrl)),(0,o.default)({...(0,o.default)(),status:e.filter(((e,i)=>n.key!==i))})};return e.map(((e,i)=>(e=>{const{componentType:i,status:t,content:o,title:d=s.Locale.getSection("components.status").lmsg(t),class:m,...u}=e;if(i)return(0,l.jsx)(r.default,{children:()=>(0,s.createComponent)({componentType:i,title:d,type:t,message:o,attrs:{"data-rendered-by-react":"true"},...u})});const p=c[m];if(p)return(0,l.jsx)(p,{...e,"data-rendered-by-react":!0});const{key:v,id:f,source:h,hideUrl:g}=e;return(0,l.jsx)("div",{id:f,className:a()("msg-box",`msg-${t}`,m),"data-source":h,"data-rendered-by-react":!0,children:(0,l.jsx)("div",{children:(0,l.jsx)("div",{children:(0,l.jsx)("div",{children:(0,l.jsx)("div",{children:(0,l.jsx)("div",{children:(0,l.jsxs)("div",{className:"msg-content",children:[g?(0,l.jsx)("span",{className:"close",onClick:()=>n(e)}):null,d?(0,l.jsxs)("span",{className:"title",children:[d,": "]}):null,(0,l.jsx)("span",{dangerouslySetInnerHTML:{__html:o}})]})})})})})})},v)})({key:i,...e})))}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>t.default});var t=i(632)},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>m});var t=i(271),a=i(89),s=i(633),r=i(272),o=i.n(r),d=(i(634),i(270));const l=a.Locale.getTranslate("components.license-status"),c=({buyUrl:e,canManageLicense:n})=>(0,d.jsxs)(t.Alert,{intent:"warning",className:"license-limits-message",children:[(0,d.jsx)(l,{content:n?"licenseLimitsMessage":"licenseLimitsMessageNoPermission"}),n&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(t.Button,{intent:"primary",component:"a",icon:"shopping-cart",href:e,target:"_blank",children:(0,d.jsx)(l,{content:"buyLicenseButton"})}),(0,d.jsx)(s.default,{to:"/cp/license/primary/upload/",children:(0,d.jsx)(l,{content:"installLicenseButton"})})]})]});c.propTypes={buyUrl:o().string.isRequired,canManageLicense:o().bool.isRequired};const m=c},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>u,useNavigateCallback:()=>c});var t=i(270),a=i(272),s=i.n(a),r=i(574),o=i(573),d=i(575);const l={"/plesk/admin-panel=server.tools/":"/admin/server/tools"},c=()=>{const e=(0,r.useNavigate)();return(0,t.useCallback)((n=>{if(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)return;const t=n.target.closest("a").getAttribute("href");i(576).isClientSideRedirectAllowed(t)&&(n.preventDefault(),e(t))}),[e])},m=({to:e,state:n,disabled:a,preventScrollReset:s,...r})=>(a&&(e=void 0,r.onClick=void 0),l[e]&&(e=l[e]),e&&i(576).isClientSideRedirectAllowed(e)?(0,t.jsx)(o.Link,{to:e,state:n,preventScrollReset:s,...r}):("object"==typeof e&&null!==e&&(e=(0,d.createPath)(e)),(0,t.jsx)("a",{href:e,...r})));m.propTypes={to:s().oneOfType([s().string,s().object]),state:s().any,disabled:s().bool,preventScrollReset:s().bool};const u=m},(e,n,i)=>{"use strict";i.r(n)},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>v});var t=i(270),a=i(272),s=i(598),r=i.n(s),o=i(271),d=i(89),l=i(633);const c=d.Locale.getTranslate("components.license-status"),m="default",u="trial",p=({status:e,daysLeft:n=0,isAdmin:i=!1,actionUrl:a=null,installUrl:s=null,hidePopoverUrl:p=null,trialOverIcon:v=null,baseClassName:f="license-status"})=>{const[h,g]=(0,t.useState)(n<=5&&p),k=()=>{g(!1),d.api.post(p)},_=`${f}-alert`;let S=null;"demo"!==e&&(S=n<=0?"danger":n<=5?"warning":null);const b=(0,t.jsx)("div",{className:r()(f,{"license-status--active":h}),"data-type":"license-status",children:(0,t.jsx)(o.Alert,{"data-type":`license-status-${e}`,className:_,intent:S,children:(0,t.jsxs)("div",{className:`${_}__inner`,children:[(0,t.jsxs)("div",{className:`${_}__message`,children:[u===e?(0,t.jsx)("div",{className:`${_}__message-count`,children:n}):null,(0,t.jsx)("div",{className:`${_}__message-text`,children:(0,t.jsx)(c,{content:i||"demo"===e?`${e}LicenseWarningAdmin`:"testLicenseWarningClient"})})]}),(()=>{const n=`${f}-alert`;return a||s?(0,t.jsxs)("div",{className:`${n}__actions`,children:[a&&(0,t.jsx)(o.Button,{intent:"primary",component:"a",icon:"shopping-cart",className:`${n}__actions-button`,href:a,target:"_blank",children:(0,t.jsx)(c,{content:e===m?"getTrialButton":"buyLicenseButton"})}),s&&(0,t.jsx)(l.default,{className:`${n}__actions-link`,to:s,children:(0,t.jsx)(c,{content:"installLicenseButton"})}),"demo"===e&&(0,t.jsx)(c,{content:"demoLicenseTryPlesk",component:"span",className:`${n}__additional-action`,params:{link:(0,t.jsx)("a",{href:"https://docs.plesk.com/try-plesk-now/",target:"_blank",rel:"nofollow noopener noreferrer",children:(0,t.jsx)(c,{content:"demoLicenseTryPleskLink"})})}})]}):null})()]})})});return(e=>{const n=`${f}-popover`;return h?(0,t.jsx)(o.Popover,{className:n,visible:!0,onClose:k,target:e,children:(0,t.jsx)(o.Item,{title:(0,t.jsx)("h4",{children:(0,t.jsx)(c,{content:"trialOverTitle"})}),icon:(0,t.jsx)(o.Icon,{size:"48",src:v}),children:(0,t.jsx)(c,{content:"trialOverText"})})}):e})(b)};p.propTypes={status:a.PropTypes.oneOf([m,"test",u,"expired"]).isRequired,daysLeft:a.PropTypes.number,isAdmin:a.PropTypes.bool,actionUrl:a.PropTypes.string,installUrl:a.PropTypes.string,hidePopoverUrl:a.PropTypes.string,trialOverIcon:a.PropTypes.string,baseClassName:a.PropTypes.string};const v=p},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>t.default});var t=i(637)},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>l});var t=i(272),a=i.n(t),s=i(638),r=i(644),o=i(270);const d=({searchUrl:e=null,...n})=>(0,o.jsxs)("div",{className:"page-header",children:[e?(0,o.jsx)(s.default,{url:e}):null,(0,o.jsx)(r.default,{...n})]});d.propTypes={searchUrl:a().string};const l=d},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>t.default});var t=i(639)},(e,n,i)=>{"use strict";i.r(n),i.d(n,{SEARCH_HISTORY_STORE_URL:()=>E,default:()=>F});var t=i(270),a=i(272),s=i.n(a),r=i(598),o=i.n(r),d=i(271),l=i(89),c=i(640),m=i(530),u=i(579),p=i(616),v=i(581),f=i(633),h=i(641),g=i.n(h),k=i(642),_=i.n(k),S=i(643),b=i.n(S);const y=l.Locale.getTranslate("components.search-bar"),N="main-header-search-result__item",E="/cp/search/store",w=({onDocumentTouchStart:e,onDocumentTouchMove:n,onDocumentTouchEnd:i})=>{document.removeEventListener("touchstart",e),document.removeEventListener("touchmove",n),document.removeEventListener("touchend",i)},D=({url:e})=>{const n=(0,t.useRef)(),i=(0,t.useRef)(""),a=(0,t.useRef)(),s=(0,t.useRef)(null),r=(0,t.useRef)(null),h=(0,t.useRef)(!1),k=(0,t.useRef)(null),S=(0,t.useRef)(!1),D=(0,t.useRef)(!1),{data:{config:F,viewer:P}={}}=(0,u.useQuery)(g()),[C,I]=(0,t.useState)(),[T]=(0,p.useMutation)(b(),{onCompleted:({deleteRecentSearchResult:e})=>I(e.query.recentSearch)}),[x,L]=(0,t.useState)(!1),[O,A]=(0,t.useState)(!1),[q,M]=(0,t.useState)(null),[R,B]=(0,t.useState)(null),U=(0,v.useApolloClient)(),j="ADMIN"===P?.type,V=e=>{alert(e)},$=()=>{if(!a.current)return;const e=a.current.querySelectorAll(`.${N}`)[R||0];e&&(e.click(),n.current.blur())},H=()=>{A(!0),W(),s.current=setTimeout(ne,300)},W=()=>{if(k.current){const e=k.current.abort.bind(k.current);k.current=null,e()}s.current&&(clearTimeout(s.current),s.current=null)},K=e=>{if(i.current!==e.request.options.parameters.term)return;let n;try{n=JSON.parse(e.responseText)}catch(e){return void V(`Failed to parse JSON response: ${e.message}`)}if("error"!==n.status)M(n),h.current?$():n.records.length>0&&B(0);else{const e=n.statusMessages.reduce(((e,n)=>`${e}${n.title}: ${n.content}\n`),"");V(e)}},z=e=>{V(`Search request failed due to following error: ${e.responseText}`)},G=e=>{e&&k.current!==e.request||A(!1)},Q=()=>{const{cache:e}=U;e.evict({id:e.identify({__typename:"Query"}),fieldName:"recentSearch"}),I(null)},Y=(e,n)=>e.map((({details:e,target:i,icon:a,link:s,title:r,label:o},l)=>{const m=!a||a.startsWith(Jsw.skinUrl)||a.startsWith("http://")||a.startsWith("https://")||a.startsWith("/modules/")?a:`${Jsw.skinUrl}${a}`;return(0,t.jsx)(d.MenuItem,{"data-action":n,component:f.default,to:s,title:e,target:i,label:o,active:R===l,icon:m?(0,t.jsx)(d.Icon,{className:"main-header-search-result__icon",src:m}):null,className:N,onClick:n=>{n.stopPropagation(),(e=>{const n=E,i=document.getElementById("forgery_protection_token").content;navigator.sendBeacon(n,(0,c.toFormData)({...e,forgery_protection_token:i})),Q()})({details:e,target:i,icon:a,link:s,title:r})},children:r},l)})),J=e=>[e.records.length?Y(e.records,"searchResultRegular"):(0,t.jsx)("div",{className:"main-header-search-result__note main-header-search-result__note--empty",children:(0,t.jsx)(y,{content:"nothingFound"})}),e.meta.moreResultsFound?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.MenuDivider,{}),(0,t.jsx)("div",{className:"main-header-search-result__note",children:(0,t.jsx)(y,{content:"moreResultsFound",params:{limit:F?.search?.limit}})})]}):null],X=e=>e?.length?[(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(d.MenuHeader,{children:(0,t.jsx)(y,{content:"recentSearch"})})},"history"),Y(e.map((e=>({...e,label:(0,t.jsx)(d.Button,{className:"main-header-search-result__item-remove",ghost:!0,icon:"cross-mark",tooltip:(0,t.jsx)(y,{content:"removeFromRecent"}),onClick:i=>{i.stopPropagation(),i.preventDefault(),n.current.focus(),T({variables:{input:{link:e.link}}})}})}))),"searchResultRecent")]:(0,t.jsx)("div",{className:"main-header-search-result__note",children:(0,t.jsx)(d.Status,{intent:"info",children:(0,t.jsx)(d.Hint,{children:(0,t.jsx)(y,{content:"recentSearchHint"})})})}),Z=({resetValue:e=!0}={})=>{e&&(n.current.value=""),B(null),M(null),W(),G()},ee=e=>{const n=q&&q.records.length?q.records:C;n?.length&&(null!==R?(l.keyCode.DOWN_ARROW===e&&R<n.length-1&&B(R+1),l.keyCode.UP_ARROW===e&&R>0&&B(R-1)):B(0))},ne=()=>{const t=n.current.value.trim();i.current===t||t.length<3?G():(i.current=t,k.current=new Ajax.Request(e,{method:"get",parameters:{term:n.current.value.trim()},onSuccess:K,onFailure:z,onComplete:G}))},ie=(0,t.useCallback)((()=>{D.current=!1}),[D]),te=(0,t.useCallback)((()=>{D.current=!0}),[D]),ae=(0,t.useCallback)((()=>{D.current||(n.current.blur(),w({onDocumentTouchStart:ie,onDocumentTouchMove:te,onDocumentTouchEnd:ae}))}),[D,n,ie,te]),se=(0,t.useMemo)((()=>x?j?l.Locale.getSection("components.search-bar").lmsg("fieldStubHint"):null:l.Locale.getSection("components.search-bar").lmsg("fieldStub")),[j,x]);return(0,t.useEffect)((()=>()=>{r.current&&clearTimeout(r.current),w({onDocumentTouchStart:ie,onDocumentTouchMove:te,onDocumentTouchEnd:ae})}),[ae,te,ie]),(0,t.jsx)("div",{className:"main-header-search",onTouchEnd:e=>e.stopPropagation(),children:(0,t.jsxs)("div",{className:o()("main-header-search__group",x&&"search-focused"),children:[(0,t.jsx)(d.Input,{innerRef:n,id:"searchTerm",type:"text",className:"main-header-search__control",autoComplete:"off",placeholder:se,onPaste:()=>H(),onKeyUp:e=>{S.current||(e.keyCode!==l.keyCode.ESC?-1===[l.keyCode.UP_ARROW,l.keyCode.DOWN_ARROW,l.keyCode.LEFT_ARROW,l.keyCode.RIGHT_ARROW,l.keyCode.ENTER].indexOf(e.keyCode)&&H():n.current.blur())},onKeyDown:e=>{S.current=e.ctrlKey||e.metaKey,-1!==[l.keyCode.UP_ARROW,l.keyCode.DOWN_ARROW].indexOf(e.keyCode)&&(ee(e.keyCode),e.preventDefault()),h.current=l.keyCode.ENTER===e.keyCode,h.current&&(k.current&&k.current._complete||C&&null!==R?$():H())},onFocus:()=>{r.current&&clearTimeout(r.current),Z(),L(!0),U.query({query:_()}).then((({data:e})=>{I(e.recentSearch)})).catch((({networkError:e,message:n})=>{e||(0,m.addToast)({intent:"danger",message:n})})),document.addEventListener("touchstart",ie),document.addEventListener("touchmove",te),document.addEventListener("touchend",ae)},onBlur:()=>{r.current&&clearTimeout(r.current),i.current="",r.current=setTimeout((()=>{Z(),L(!1)}),300)},prefix:O?(0,t.jsx)("span",{className:"main-header-search__loader"}):(0,t.jsx)(d.Icon,{name:"search"}),suffix:(0,t.jsx)(d.Icon,{name:"cross-mark",onClick:e=>e.stopPropagation()}),size:"fill"}),!x||x&&!C&&!q?null:(0,t.jsxs)(d.Menu,{id:"searchResultsBlock",className:"main-header-search-result",ref:a,children:[q?J(q):null,0===q?.records.length?(0,t.jsx)(d.MenuDivider,{}):null,q&&0!==q?.records.length?null:X(C)]})]})})};D.propTypes={url:s().string.isRequired};const F=D},(e,n,i)=>{"use strict";i.r(n),i.d(n,{toFormData:()=>t});const t=e=>{if(e instanceof FormData)return e;const n=(e,t)=>{Object.keys(e).forEach((a=>{const s=t?`${t}[${a}]`:a,r=e[a];switch(!0){case r&&"object"==typeof r:n(r,s);break;case null==r:i.append(s,"");break;default:i.append(s,r)}}))},i=new FormData;return n(e),i}},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MainHeaderSearch"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"config"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"search"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"limit"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:148}};n.loc.source={body:"query MainHeaderSearch {\r\n    viewer {\r\n        login\r\n        type\r\n    }\r\n    config {\r\n        search {\r\n            limit\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.MainHeaderSearch=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 d=o;o=new Set,d.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,"MainHeaderSearch")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"RecentSearchQuery"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"recentSearch"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"link"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"details"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"icon"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"target"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:133}};n.loc.source={body:"query RecentSearchQuery {\r\n    recentSearch {\r\n        title\r\n        link\r\n        details\r\n        icon\r\n        target\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.RecentSearchQuery=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 d=o;o=new Set,d.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,"RecentSearchQuery")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"DeleteRecentSearchResult"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"DeleteRecentSearchResultInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteRecentSearchResult"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"query"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"recentSearch"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"link"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"details"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"icon"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"target"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:321}};n.loc.source={body:"mutation DeleteRecentSearchResult($input: DeleteRecentSearchResultInput!) {\r\n    deleteRecentSearchResult(input: $input) {\r\n        query {\r\n            recentSearch {\r\n                title\r\n                link\r\n                details\r\n                icon\r\n                target\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.DeleteRecentSearchResult=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 d=o;o=new Set,d.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,"DeleteRecentSearchResult")},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>E});var t=i(89),a=i(270),s=i(598),r=i.n(s),o=i(272),d=i.n(o),l=i(271),c=i(579),m=i(599),u=i(645),p=i(646),v=i(664),f=i(666),h=i.n(f),g=i(667),k=i.n(g);const _=t.Locale.getTranslate("components.shortcuts"),S=(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",children:(0,a.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M7 .5a.5.5 0 0 1 1 0v1a.5.5 0 0 1-1 0v-1Zm0 13a.5.5 0 0 1 1 0v1a.5.5 0 0 1-1 0v-1Zm-7-6c0 .28.22.5.5.5h1a.5.5 0 0 0 0-1h-1a.5.5 0 0 0-.5.5Zm13.5.5a.5.5 0 0 1 0-1h1a.5.5 0 0 1 0 1h-1ZM2.2 2.2a.5.5 0 0 0 0 .7l.7.71a.5.5 0 0 0 .71-.7l-.7-.71a.5.5 0 0 0-.71 0Zm9.19 9.9a.5.5 0 1 1 .7-.71l.71.7a.5.5 0 0 1-.7.71l-.71-.7Zm-9.2.7c.2.2.52.2.71 0l.71-.7a.5.5 0 1 0-.7-.71l-.71.7a.5.5 0 0 0 0 .71Zm9.9-9.19a.5.5 0 0 1-.7-.7l.7-.71a.5.5 0 1 1 .71.7l-.7.71ZM12 7.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Zm-1 0a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0Z",clipRule:"evenodd"})}),b=(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",children:[(0,a.jsx)("mask",{id:"a",fill:"#fff",children:(0,a.jsx)("path",{fillRule:"evenodd",d:"M5 13A7 7 0 0 0 8.78.1a7.5 7.5 0 1 1-7.2 12.01C2.6 12.68 3.77 13 5 13Z",clipRule:"evenodd"})}),(0,a.jsx)("path",{fill:"currentColor",d:"m8.78.1.17-.98-.7 1.83.53-.84Zm-7.2 12.01.5-.87L.8 12.73l.79-.62ZM11 6a6 6 0 0 1-6 6v2a8 8 0 0 0 8-8h-2ZM8.24.95A6 6 0 0 1 11 6h2A8 8 0 0 0 9.32-.73L8.24.95Zm.37.14A6.5 6.5 0 0 1 14 7.5h2A8.5 8.5 0 0 0 8.95-.88L8.61 1.1ZM14 7.5A6.5 6.5 0 0 1 7.5 14v2c4.7 0 8.5-3.8 8.5-8.5h-2ZM7.5 14a6.49 6.49 0 0 1-5.13-2.5L.8 12.73A8.49 8.49 0 0 0 7.5 16v-2ZM5 12a5.97 5.97 0 0 1-2.93-.76l-.97 1.74A7.97 7.97 0 0 0 5 14v-2Z",mask:"url(#a)"})]}),y=({items:e})=>{const n=(0,m.useMediaQuery)("(max-width: 767px)"),{data:{viewer:i}={}}=(0,c.useQuery)(h());return i?(0,a.jsx)(l.Dropdown,{menu:(0,a.jsx)(l.Menu,{children:e.map((({title:e,href:n,icon:i,dataType:t})=>(0,a.jsx)(l.MenuItem,{component:"a",icon:i,href:n,"data-type":t,children:e},n)))}),menuPlacement:"bottom-end",children:(0,a.jsx)(l.Button,{id:"account-menu",icon:"user",tooltip:(0,a.jsx)(_,{content:"loggedInAs"}),ghost:!0,caret:!n,children:n?null:(0,a.jsx)(l.Text,{truncate:!0,children:i.pname||i.login})})}):null};y.propTypes={items:d().array.isRequired};const N=({backToAdminLink:e,returnUrl:n,accountMenu:s,subscriptionSwitcher:o,headerCustomButtons:d,helpMenu:f})=>{const h=(0,m.useMediaQuery)("(max-width: 1310px)"),g=(0,m.useMediaQuery)("(max-width: 1140px)"),{data:{viewer:N,config:E}={}}=(0,c.useQuery)(k()),[w,D]=(0,a.useState)((()=>t.Cookie.get("theme")??E?.branding?.theme));return(0,a.useEffect)((()=>{document.querySelectorAll(".main-header-navbar-nav__item").forEach((e=>{e.dataset.description&&t.Tooltip.init(e,{text:e.dataset.description})}))}),[]),(0,a.jsx)("div",{className:"main-header-navbar",children:(0,a.jsxs)("ul",{className:"main-header-navbar-nav",children:[e?(0,a.jsx)("li",{className:"top-back",children:(0,a.jsx)(l.Button,{component:"a",icon:(0,a.jsx)(l.Icon,{name:"chevron-left",flipHorizontal:(0,l.isRtl)()}),href:e,ghost:!0,children:h?null:(0,a.jsx)(_,{content:"backToAdmin"})})}):null,s?(0,a.jsx)("li",{className:"top-user",children:(0,a.jsx)(y,{...s})}):null,s&&o?(0,a.jsx)("li",{className:"top-webspace",children:(0,a.jsx)(u.default,{returnUrl:n,...o})}):null,"ADMIN"===N?.type&&E?.notification?.panel?.enabled?(0,a.jsx)("li",{className:"top-notification-center",children:(0,a.jsx)(p.default,{})}):null,d.map((({id:e,link:n,target:t,icon:s,title:o,description:d})=>(0,a.jsx)("li",{id:`extNavHeader-${e}`,className:r()("main-header-navbar-nav__item",`main-header-navbar-nav__item--${e}`),"data-description":d,children:(0,a.jsx)(l.Button,{component:"a",href:n,target:t,rel:t?"noopener noreferrer":null,icon:(0,a.jsx)(l.Icon,{src:"advisor-1"===e?i(668):s,alt:o}),ghost:!0})},e))),f?(0,a.jsx)("li",{className:"top-help",children:(0,a.jsx)(v.default,{...f})}):null,(0,a.jsx)("li",{className:"top-theme-switcher",children:(0,a.jsx)(l.Button,{className:"theme-switcher",ghost:!0,icon:"dark"===w?(0,a.jsx)(l.Icon,{children:S}):(0,a.jsx)(l.Icon,{children:b}),onClick:()=>{const e="dark"===w?"default":"dark";document.documentElement.setAttribute("data-theme",e),t.Cookie.setPermanent("theme",e,"/"),D(e)},tooltip:"dark"===w?(0,a.jsx)(_,{content:"darkThemeOff"}):(0,a.jsx)(_,{content:"darkThemeOn"}),"data-type":"dark"===w?"dark-mode-on":"dark-mode-off"})}),N.logo.isCustom&&!g?(0,a.jsx)("li",{className:"top-logo",children:(0,a.jsx)("a",{href:"http://www.plesk.com",target:"_blank",rel:"noopener noreferrer",children:(0,a.jsx)("img",{src:i(669),alt:""})})}):null]})})};N.propTypes={backToAdminLink:d().string,returnUrl:d().string,accountMenu:d().shape(y.propTypes),subscriptionSwitcher:d().shape(u.default.propTypes),headerCustomButtons:d().arrayOf(d().shape({id:d().string,link:d().string,target:d().string,icon:d().string,title:d().string,description:d().string})).isRequired,helpMenu:d().shape(v.default.propTypes)};const E=N},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>v});var t=i(270),a=i(272),s=i.n(a),r=i(574),o=i(271),d=i(89),l=i(599),c=i(633);const m=d.Locale.getTranslate("components.subscription-switcher"),u=new RegExp(`(${[encodeURIComponent("/domain@"),"/domain@","/domainId/","/domains/","/web/[a-z-]+/id/(?:d:)?","/ssl-certificate/list/id/","/log-file/browser/id/","/dns-zone/records-list/id/","/mail-settings/edit/id/","/failed-request/list/id/","/asp-dot-net/settings/id/","/iis-app-pool/settings/id/"].join("|")})(\\d+)`),p=({subscriptions:e,limit:n=100,returnUrl:i,currentSubscriptionId:a,showAll:s=!1})=>{const d=(0,r.useLocation)(),p=(0,l.useMediaQuery)("(max-width: 767px)"),[v,f]=(0,t.useState)(s),[h,g]=(0,t.useState)(a);(0,t.useEffect)((()=>{f(s),g(a)}),[s,a]);const k=v?(0,t.jsx)(m,{content:"allSubscriptions"}):e.find((({id:e})=>e===h))?.name,_=(0,t.jsx)(o.Button,{"data-type":"subscription-switcher","data-state":v?"all-subscriptions":"single-subscription",icon:"globe",tooltip:(0,t.jsx)(m,{content:"subscription"}),caret:e.length>1&&!p,tabIndex:e.length>1?null:-1,style:e.length>1?null:{pointerEvents:"none"},ghost:!0,children:p?null:(0,t.jsx)(o.Text,{truncate:!0,children:k})});return 1===e.length?_:(0,t.jsx)(o.Dropdown,{"data-type":"subscription-switcher-dropdown",menu:(0,t.jsxs)(o.Menu,{"data-type":"subscription-switcher-menu",className:"page-header-subscription-switcher-menu",children:[e.length>1?(0,t.jsx)(o.MenuItem,{component:c.default,to:e.length>n?null:"/smb/account/switch/all/true",onClick:e.length>n?null:()=>{f(!0)},disabled:e.length>n,tooltip:e.length>n?(0,t.jsx)(m,{content:"allSubscriptionsLimitOverusedDescription",params:{value:e.length,limit:n}}):null,children:(0,t.jsx)(m,{content:"allSubscriptions"})}):null,e.map((({id:e,name:n})=>(0,t.jsx)(o.MenuItem,{component:c.default,to:`/smb/account/switch/all/false/id/${e}?returnUrl=${encodeURIComponent((i||d.pathname).replace(u,`$1${e}`))}`,onClick:()=>{f(!1),g(e)},children:n},e)))]}),menuPlacement:"bottom-end",children:_})};p.propTypes={subscriptions:s().arrayOf(s().shape({id:s().number.isRequired,name:s().string.isRequired})).isRequired,limit:s().number,showAll:s().bool,currentSubscriptionId:s().number,returnUrl:s().string};const v=p},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>t.default});var t=i(647)},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>E});var t=i(270),a=i(89),s=i(271),r=i(579),o=i(608),d=i(648),l=i(651),c=i(652),m=i(653),u=i(650),p=i(660),v=i(661),f=i(662),h=i(649),g=i(657),k=i(656),_=i(530),S=i(574),b=i(663),y=i.n(b);const N=a.Locale.getTranslate("components.notification-center"),E=()=>{const[e,n]=(0,o.useModal)("notification-center-list"),[i,b]=(0,o.useModal)("notification-center-view"),[E,w]=(0,t.useState)([]),[D,F]=(0,t.useState)({}),{data:{config:P,viewer:{type:C,permissions:{manageServerNotifications:I}}}}=(0,r.useQuery)(y()),T=(0,t.useRef)([]),x=(0,S.useNavigate)();let L,O;(0,t.useEffect)((()=>(A(),P.webSocket.enabled?M():R(),()=>{O&&clearTimeout(O),L&&L.close()})),[]);const A=()=>{const e=JSON.parse(window.localStorage.getItem("notification-center-filter"))||{};F(e)},q=(0,t.useRef)();(0,t.useEffect)((()=>{q.current=e=>{w([e,...E])}}),[E]),(0,t.useEffect)((()=>{const n=E.filter((e=>!e.isViewed&&((0,h.isNotificationCritical)(e)||(0,h.isAllowedFeedbackOrPromotionNotification)(e)))).map((n=>{const i=`notification-${n.id}`;return{"data-type":"notification-toast",key:i,intent:(0,p.default)(n),accent:(0,h.isAllowedFeedbackOrPromotionNotification)(n),icon:n.contextIconUrl?(0,t.jsx)(s.Icon,{src:n.contextIconUrl,size:"64"}):void 0,message:(0,t.jsx)(f.default,{notification:n,onSelectNotification:()=>{null===e&&$(),U({notification:n,uatAdditionalData:{parents:["notification-toast","toaster"]}}),(0,_.removeToast)({key:i})}}),autoClosable:n.category!==u.NOTIFICATION_CATEGORIES.ALERT&&!(0,h.isAllowedFeedbackOrPromotionNotification)(n),onClose:()=>{a.UAT.dispatchAction("NOTIFICATION_TOAST_HIDE",{type:n.code,messageKey:n.messageKey}),B([n.id],{isViewed:!0})}}})),i=n.length<=3?n:[...n.slice(0,3),{key:"notification-all",message:(0,t.jsxs)("div",{className:"notification-center-toast__content",children:[(0,t.jsx)(s.Icon,{className:"notification-center-toast__content-icon",name:"list"}),(0,t.jsx)(s.Link,{onClick:()=>{$(),a.UAT.dispatchAction("NOTIFICATION_GROUP_TOAST_SHOW_ALL")},children:(0,t.jsx)(N,{content:"moreToasts",params:{total:n.length-3}})})]}),autoClosable:!1,onClose:()=>{a.UAT.dispatchAction("NOTIFICATION_GROUP_TOAST_HIDE"),j()}}];JSON.stringify(T.current)!==JSON.stringify(i)&&(T.current.forEach(_.removeToast),i.forEach(_.addToast),T.current=i)}),[E]);const M=()=>{L=a.pleskWS.bind({actions:{panel_notification_created:e=>{q.current(e)}},onOpen:()=>R()})},R=(e=0)=>{O&&clearTimeout(O),(0,l.listNotifications)(e).then((e=>{w([...e,...E])})).then((()=>{P.webSocket.enabled&&L.isReady()||(O=window.setTimeout((()=>R(E.length?E[0].id:0)),3e4))})).catch((()=>{O=window.setTimeout((()=>R(E.length?E[0].id:0)),3e4)}))},B=(e,n)=>{w(E.map((i=>e.indexOf(i.id)<0?i:{...i,...n}))),(0,l.updateNotifications)(e,n)},U=({notification:e,uatAdditionalData:n})=>{a.UAT.dispatchAction("NOTIFICATION_DETAILS",{type:e.code,messageKey:e.messageKey,...n}),B([e.id],{isRead:!0,isViewed:!0}),b(e.id)},j=()=>{const e=E.filter((e=>!e.isViewed)).map((e=>e.id));B(e,{isViewed:!0})},V=e=>{w(E.filter((n=>n.id!==e))),i===e&&b(null),(0,l.deleteNotification)(e)},$=()=>{j(),n(!0)},H=()=>{b(null),n(null)},W=(0,d.default)(E,{isUnRead:!0}),K=E.find((({id:e})=>e===Number(i))),z=(0,t.jsx)(s.Badge,{label:String(W.length),intent:(0,v.default)(W),hidden:0===W.length,children:(0,t.jsx)(s.Button,{icon:"bell",onClick:null===e?$:H,ghost:!0})});return(0,t.jsx)(s.Popover,{target:z,placement:"bottom",visible:null!==e,onClose:H,width:"sm",height:600,extra:K?(0,t.jsx)(g.default,{notification:K,onUpdateNotifications:B,onRemoveNotification:V}):"ADMIN"===C&&I?(0,t.jsx)(s.Action,{icon:"gear",onClick:()=>{H(),x("/cp/notifications/panel-settings?context=tools")},children:(0,t.jsx)(N,{content:"settings"})}):null,title:K?(0,t.jsxs)("div",{className:"notification-center-heading",children:[(0,t.jsxs)("div",{className:"notification-center-heading__top",children:[(0,t.jsx)(s.Button,{icon:"arrow-left",onClick:()=>{b(null)},"data-action":"NOTIFICATION_TO_LIST","data-type":K.code,ghost:!0,className:"notification-center-heading__back-button"})," ",(0,t.jsx)(s.Heading,{level:3,children:K.subject})]}),(0,t.jsxs)(s.Columns,{gap:"md",className:"notification-center-heading__bottom",vertical:!1,children:[(0,t.jsxs)(s.Column,{children:[(0,h.isNotificationCritical)(K)?(0,t.jsx)(s.Label,{intent:(0,p.default)(K),className:"notification-center-heading__label",children:(0,t.jsx)(N,{content:`category${K.category}`})}):null,K.context]}),(0,t.jsx)(s.Column,{children:(0,t.jsx)(k.default,{notification:K})})]})]}):(0,t.jsx)(s.Heading,{level:3,children:(0,t.jsx)(N,{content:"title"})}),"data-type":K?"notification-center-view":"notification-center-list","data-id":K?K.id:null,children:K?(0,t.jsx)(c.default,{notification:K}):(0,t.jsx)(m.default,{notifications:E,filter:D,onUpdateNotifications:B,onUpdateFilter:e=>{window.localStorage.setItem("notification-center-filter",JSON.stringify(e)),F({...D,...e})},onSelectNotification:({notification:e})=>{U({notification:e,uatAdditionalData:{parents:["notification-center-list"]}})},onRemoveNotification:V,onMarkAllAsRead:()=>{const e=E.filter((e=>!e.isRead)).map((e=>e.id));B(e,{isRead:!0})}})})}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>a});var t=i(649);const a=(e,n)=>e.filter((e=>(!n.isUnRead||!e.isRead)&&(!n.isFavorite||e.isFavorite)&&(!n.isCritical||(0,t.isNotificationCritical)(e))&&(!n.search||e.subject&&e.subject.toLowerCase().indexOf(n.search.toLowerCase())>=0||e.context&&e.context.toLowerCase().indexOf(n.search.toLowerCase())>=0)))},(e,n,i)=>{"use strict";i.r(n),i.d(n,{isAllowedFeedbackOrPromotionNotification:()=>s,isNotificationCritical:()=>a});var t=i(650);const a=e=>[t.NOTIFICATION_CATEGORIES.ALERT,t.NOTIFICATION_CATEGORIES.WARNING].includes(e.category),s=e=>e.isPromotion&&[t.NOTIFICATION_CATEGORIES.PROMOTION,t.NOTIFICATION_CATEGORIES.FEEDBACK].includes(e.category)},(e,n,i)=>{"use strict";i.r(n),i.d(n,{CtaPropType:()=>s,NOTIFICATION_CATEGORIES:()=>o,NOTIFICATION_INTENTS:()=>r,NotificationFilterPropType:()=>l,NotificationPropType:()=>d});var t=i(272),a=i.n(t);const s=a().shape({text:a().string.isRequired,link:a().string.isRequired}),r={DANGER:"danger",WARNING:"warning",INFO:"info",INACTIVE:"inactive"},o={INFORMATION:"Information",WARNING:"Warning",ALERT:"Alert",PROMOTION:"Promotion",FEEDBACK:"Feedback"},d=a().shape({id:a().number.isRequired,isRead:a().bool.isRequired,isViewed:a().bool.isRequired,isFavorite:a().bool.isRequired,category:a().oneOf(Object.values(o)).isRequired,context:a().string.isRequired,contextIconUrl:a().string,area:a().string.isRequired,createdAt:a().number.isRequired,displayDate:a().string.isRequired,subject:a().string.isRequired,message:a().string.isRequired,actionLink:a().string,actionText:a().string,openInNewTab:a().bool,isPromotion:a().bool}),l=a().shape({search:a().string,isUnRead:a().bool,isCritical:a().bool,isFavorite:a().bool})},(e,n,i)=>{"use strict";i.r(n),i.d(n,{deleteNotification:()=>r,listNotifications:()=>a,updateNotifications:()=>s});var t=i(89);const a=e=>t.api.get("/admin/notifications/list",{"filter[older]":e}),s=(e,n)=>t.api.post("/admin/notifications/update",{ids:e,...n}),r=e=>t.api.post("/admin/notifications/delete",{id:e})},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>d});var t=i(271),a=i(650),s=i(89),r=i(270);const o=({notification:{code:e,message:n,actionLink:i,actionText:a,openInNewTab:o,messageKey:d}})=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:n}}),i?(0,r.jsx)("div",{className:"notification-center-view__actions",children:(0,r.jsx)(t.Button,{"data-type":e,component:"a",intent:"primary",size:"lg",href:i,target:o?"_blank":null,rel:o?"noopener noreferrer":null,onClick:()=>((e,n)=>{s.UAT.dispatchAction("NOTIFICATION_CTA",{type:e,messageKey:n})})(e,d),children:a})}):null]});o.propTypes={notification:a.NotificationPropType.isRequired};const d=o},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>h});var t=i(271),a=i(272),s=i.n(a),r=i(89),o=i(648),d=i(650),l=i(654),c=i(655),m=i(657),u=i(658),p=i(270);const v=r.Locale.getTranslate("components.notification-center"),f=({notifications:e,filter:n=null,onUpdateFilter:a,onSelectNotification:s,onUpdateNotifications:d,onRemoveNotification:f,onMarkAllAsRead:h})=>{const g=(0,o.default)(e,n),k=Object.values(n).reduce(((e,n)=>e+(n?1:0)),0),_=[{key:"subject",type:"title",render:e=>(0,p.jsx)(l.default,{notification:e,onSelectNotification:s,onUpdateNotifications:d})},{key:"date",render:e=>(0,p.jsx)(c.default,{notification:e,onSelectNotification:s}),width:"10%"},{key:"actions",type:"actions",width:"1%",render:e=>(0,p.jsx)(m.default,{notification:e,onUpdateNotifications:d,onRemoveNotification:f})}],S=(0,p.jsxs)(t.Toolbar,{children:[(0,p.jsx)(t.ToolbarGroup,{title:"",children:(0,p.jsx)(t.Button,{"data-type":"mark-all-as-read",icon:"mail",onClick:h,children:(0,p.jsx)(v,{content:"markAllAsRead"})})}),(0,p.jsx)(t.ToolbarExpander,{}),(0,p.jsx)(t.ToolbarGroup,{title:"",children:(0,p.jsx)(u.default,{filter:n,filterCount:k,onUpdateFilter:a})}),(0,p.jsx)(t.ToolbarGroup,{title:"",children:(0,p.jsx)(t.SearchBar,{inputProps:{placeholder:r.Locale.getSection("components.notification-center").lmsg("searchPlaceholder"),value:n.search},onTyping:e=>a({search:e}),minWidth:200})})]});return(0,p.jsx)(t.List,{rowKey:"id",columns:_,data:g,expandedRows:["subject"],toolbar:S,emptyViewMode:k?"items":"all",emptyView:k?(0,p.jsx)(t.ListEmptyView,{reason:"filtered",title:(0,p.jsx)(v,{content:"listFilteredTitle"}),description:(0,p.jsx)(v,{content:"listFilteredDescription"})}):(0,p.jsx)(t.ListEmptyView,{title:(0,p.jsx)(v,{content:"listEmptyTitle"}),image:i(659),description:(0,p.jsx)(v,{content:"listEmptyDescription"})})})};f.propTypes={notifications:s().arrayOf(d.NotificationPropType.isRequired).isRequired,filter:d.NotificationFilterPropType,onUpdateNotifications:s().func.isRequired,onSelectNotification:s().func.isRequired,onUpdateFilter:s().func.isRequired,onRemoveNotification:s().func.isRequired,onMarkAllAsRead:s().func.isRequired};const h=f},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>p});var t=i(271),a=i(272),s=i.n(a),r=i(89),o=i(650),d=i(270);const l=r.Locale.getTranslate("components.notification-center"),c=({category:e,isRead:n})=>{if(n)return"inactive";switch(e){case o.NOTIFICATION_CATEGORIES.ALERT:return"danger";case o.NOTIFICATION_CATEGORIES.WARNING:return"warning";case o.NOTIFICATION_CATEGORIES.INFORMATION:case o.NOTIFICATION_CATEGORIES.FEEDBACK:case o.NOTIFICATION_CATEGORIES.PROMOTION:return"info"}return"inactive"},m=({category:e})=>{switch(e){case o.NOTIFICATION_CATEGORIES.ALERT:return"danger";case o.NOTIFICATION_CATEGORIES.WARNING:return"warning";case o.NOTIFICATION_CATEGORIES.PROMOTION:return"info";case o.NOTIFICATION_CATEGORIES.INFORMATION:case o.NOTIFICATION_CATEGORIES.FEEDBACK:return"inactive"}return"inactive"},u=({notification:e,onSelectNotification:n,onUpdateNotifications:i})=>{const{id:a,subject:s,context:r,isRead:o}=e;return(0,d.jsx)(t.Media,{image:(0,d.jsx)(t.Tooltip,{title:(0,d.jsx)(l,{content:o?"markAsUnread":"markAsRead"}),children:(0,d.jsx)(t.Status,{intent:c(e),compact:!0,onClick:()=>i([a],{isRead:!o}),className:"list-context-actions","data-type":`notification-is-read-${o}`})}),children:(0,d.jsxs)("div",{onClick:()=>n({notification:e}),className:"list-context-actions",children:[(0,d.jsx)(t.Text,{intent:m(e),children:r}),(0,d.jsx)("br",{}),(0,d.jsx)(t.Text,{intent:m(e),bold:!o,children:s})]})})};u.propTypes={notification:o.NotificationPropType.isRequired,onSelectNotification:s().func.isRequired,onUpdateNotifications:s().func.isRequired};const p=u},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>l});var t=i(272),a=i.n(t),s=i(650),r=i(656),o=i(270);const d=({notification:e,onSelectNotification:n})=>(0,o.jsx)(r.default,{notification:e,className:"list-context-actions",onClick:()=>n({notification:e})});d.propTypes={notification:s.NotificationPropType.isRequired,onSelectNotification:a().func.isRequired};const l=d},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>l});var t=i(271),a=i(89),s=i(650),r=i(270);const o=a.Locale.getTranslate("components.notification-center"),d=({notification:e,...n})=>{const{displayDate:i}=e,a=new Date,s=new Date(i);return s.getDate()===a.getDate()&&s.getMonth()===a.getMonth()&&s.getFullYear()===a.getFullYear()?(0,r.jsx)(o,{component:t.Text,nowrap:!0,content:"timeFormat",params:{hours:`0${s.getHours()}`.slice(-2),minutes:`0${s.getMinutes()}`.slice(-2)},...n}):(0,r.jsx)(o,{component:t.Text,nowrap:!0,content:"dateFormat",params:{day:s.getDate(),month:(0,r.jsx)(o,{content:`month${s.getMonth()}`})},...n})};d.propTypes={notification:s.NotificationPropType.isRequired};const l=d},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>m});var t=i(272),a=i.n(t),s=i(271),r=i(89),o=i(650),d=i(270);const l=r.Locale.getTranslate("components.notification-center"),c=({notification:{id:e,isFavorite:n,code:i},onUpdateNotifications:t,onRemoveNotification:a})=>(0,d.jsxs)(s.ListActions,{children:[(0,d.jsx)(s.ListAction,{"data-action":n?"NOTIFICATION_UNFAVORITE":"NOTIFICATION_FAVORITE","data-type":i,icon:n?"star-filled":"star",primary:!0,onClick:()=>t([e],{isFavorite:!n}),children:(0,d.jsx)(l,{content:n?"unfavoriteNotification":"favoriteNotification"})}),(0,d.jsx)(s.ListAction,{"data-action":"NOTIFICATION_DELETE","data-type":i,icon:"recycle",primary:!0,onClick:()=>a(e),children:(0,d.jsx)(l,{content:"deleteNotification"})})]});c.propTypes={notification:o.NotificationPropType.isRequired,onUpdateNotifications:a().func.isRequired,onRemoveNotification:a().func.isRequired};const m=c},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>m});var t=i(271),a=i(272),s=i.n(a),r=i(89),o=i(650),d=i(270);const l=r.Locale.getTranslate("components.notification-center"),c=({filter:e,filterCount:n,onUpdateFilter:i})=>{const a=(0,d.jsxs)(t.Menu,{children:[(0,d.jsx)(t.MenuItem,{icon:e&&e.isUnRead?"check-mark":null,onClick:()=>i({isUnRead:!e.isUnRead,isCritical:!1,isFavorite:!1}),children:(0,d.jsx)(l,{content:"filterUnread"})}),(0,d.jsx)(t.MenuItem,{icon:e&&e.isCritical?"check-mark":null,onClick:()=>i({isUnRead:!1,isCritical:!e.isCritical,isFavorite:!1}),children:(0,d.jsx)(l,{content:"filterCritical"})}),(0,d.jsx)(t.MenuItem,{icon:e&&e.isFavorite?"check-mark":null,onClick:()=>i({isUnRead:!1,isCritical:!1,isFavorite:!e.isFavorite}),children:(0,d.jsx)(l,{content:"filterFavorite"})}),(0,d.jsx)(t.MenuDivider,{}),(0,d.jsx)(t.MenuItem,{icon:"remove",onClick:()=>i({search:"",isUnRead:!1,isCritical:!1,isFavorite:!1}),children:(0,d.jsx)(l,{content:"filterReset"})})]});return(0,d.jsx)(t.Badge,{intent:"info",hidden:0===n,children:(0,d.jsx)(t.Dropdown,{menu:a,children:(0,d.jsx)(t.Button,{icon:"filter",children:(0,d.jsx)(l,{content:"filterButton"})})})})};c.propTypes={filter:o.NotificationFilterPropType.isRequired,filterCount:s().number.isRequired,onUpdateFilter:s().func.isRequired};const m=c},e=>{e.exports=Jsw.skinUrl+"/images/notification-center-empty.svg?f6f02fc885a503b392c5428b65337ef7"},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>a});var t=i(650);const a=e=>{switch(e.category){case t.NOTIFICATION_CATEGORIES.ALERT:return t.NOTIFICATION_INTENTS.DANGER;case t.NOTIFICATION_CATEGORIES.WARNING:return t.NOTIFICATION_INTENTS.WARNING;case t.NOTIFICATION_CATEGORIES.FEEDBACK:case t.NOTIFICATION_CATEGORIES.PROMOTION:return t.NOTIFICATION_INTENTS.INFO}return t.NOTIFICATION_INTENTS.INACTIVE}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>s});var t=i(650),a=i(660);const s=e=>{const n=e.map(a.default);switch(!0){case n.includes(t.NOTIFICATION_INTENTS.DANGER):return t.NOTIFICATION_INTENTS.DANGER;case n.includes(t.NOTIFICATION_INTENTS.WARNING):return t.NOTIFICATION_INTENTS.WARNING;case n.includes(t.NOTIFICATION_INTENTS.INFO):return t.NOTIFICATION_INTENTS.INFO}return t.NOTIFICATION_INTENTS.INACTIVE}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>m});var t=i(271),a=i(270),s=i(272),r=i.n(s),o=i(89),d=i(650);const l=o.Locale.getTranslate("components.notification-center"),c=({notification:e,onSelectNotification:n})=>{const{subject:i,context:s,code:r,createdAt:d,messageKey:c}=e;return(0,a.useEffect)((()=>{o.UAT.dispatchAction("NOTIFICATION_TOAST_SHOW",{createdAt:d,messageKey:c,type:r})}),[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(t.Text,{children:s}),(0,a.jsx)("br",{}),(0,a.jsx)(t.Text,{bold:!0,children:i}),(0,a.jsx)("br",{}),(0,a.jsx)(t.Link,{"data-type":"notification-toast-details-link",onClick:n,children:(0,a.jsx)(l,{content:"learnMore"})})]})};c.propTypes={notification:d.NotificationPropType.isRequired,onSelectNotification:r().func.isRequired};const m=c},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"NotificationCenter"},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:"webSocket"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"enabled"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"permissions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"manageServerNotifications"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:228}};n.loc.source={body:"query NotificationCenter {\r\n    config {\r\n        webSocket {\r\n            enabled\r\n        }\r\n    }\r\n    viewer {\r\n        login\r\n        type\r\n        permissions {\r\n            manageServerNotifications\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.NotificationCenter=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 d=o;o=new Set,d.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,"NotificationCenter")},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>v});var t=i(270),a=i(272),s=i.n(a),r=i(579),o=i(271),d=i(89),l=i(665),c=i.n(l);const m=d.Locale.getTranslate("components.shortcuts"),u=(0,t.lazy)((()=>i.e("components/layouts/page-layout/help-drawer").then(i.bind(i,2137)))),p=({helpUrl:e,customHelpUrl:n,helpContext:i,helpModule:a,searchQuery:s})=>{const{data:{viewer:d,mode:l,config:p}={}}=(0,r.useQuery)(c()),[v,f]=(0,t.useState)(!1),[h,g]=(0,t.useState)(v),k=()=>{f(!0),g(!0)},_=()=>{f(!1)};return e&&!l?.isClassicPanel&&(i&&(e+=`/plesk-context/${i}`),a&&(e+=`/plesk-module/${a}`)),n||e||(e=`/help.php?context=${encodeURIComponent(i)}`,a&&(e+=`&module=${encodeURIComponent(a)}`)),"ADMIN"===d?.type?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.Button,{id:"help-menu","data-help-context":i,"data-help-prefix":d?.type,"data-help-module":a,ghost:!0,icon:"question-mark-circle",onClick:k}),h?(0,t.jsx)(t.Suspense,{children:(0,t.jsx)(u,{helpUrl:n||e,searchQuery:p.help.enableSearchPrefill&&s||"",isOpen:v,onClose:_})}):null]}):(0,t.jsx)(o.Button,{id:"help-menu",ghost:!0,icon:"question-mark-circle","data-type":"link-read-manual","data-help-context":i,"data-help-prefix":d?.type,"data-help-module":a,component:"a",href:n||e,target:"_blank",rel:"noopener noreferrer",tooltip:(0,t.jsx)(m,{content:"readManual"})})};p.propTypes={helpUrl:s().string,customHelpUrl:s().string,helpContext:s().string,helpModule:s().string,searchQuery:s().string};const v=p},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"HelpMenu"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"primaryKey"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pleskKeyId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"editionName"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"server"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"productVersion"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"version"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"patch"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"config"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"extensions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"developerGuideUrl"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"feedback"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"enabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"forumUrl"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"help"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"helpCenterUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"enableSearchPrefill"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"mode"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isClassicPanel"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isLicenseDeveloper"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isLicenseLocked"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:595}};n.loc.source={body:"query HelpMenu {\r\n    viewer {\r\n        login\r\n        type\r\n    }\r\n    primaryKey {\r\n        pleskKeyId\r\n        editionName\r\n    }\r\n    server {\r\n        productVersion {\r\n            name\r\n            version\r\n            patch\r\n        }\r\n    }\r\n    config {\r\n        extensions {\r\n            developerGuideUrl\r\n        }\r\n        feedback {\r\n            enabled\r\n            forumUrl\r\n        }\r\n        help {\r\n            helpCenterUrl\r\n            enableSearchPrefill\r\n        }\r\n    }\r\n    mode {\r\n        isClassicPanel\r\n        isLicenseDeveloper\r\n        isLicenseLocked\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.HelpMenu=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 d=o;o=new Set,d.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,"HelpMenu")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AccountMenu"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pname"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:75}};n.loc.source={body:"query AccountMenu {\r\n    viewer {\r\n        pname\r\n        login\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.AccountMenu=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 d=o;o=new Set,d.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,"AccountMenu")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MainHeaderNavbar"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isCustom"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"config"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"notification"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"panel"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"enabled"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"branding"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"theme"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:295}};n.loc.source={body:"query MainHeaderNavbar {\r\n    viewer {\r\n        login\r\n        type\r\n        logo {\r\n            isCustom\r\n        }\r\n    }\r\n    config {\r\n        notification {\r\n            panel {\r\n                enabled\r\n            }\r\n        }\r\n        branding {\r\n            theme\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.MainHeaderNavbar=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 d=o;o=new Set,d.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,"MainHeaderNavbar")},e=>{e.exports=Jsw.skinUrl+"/icons/16/plesk/top-advisor.svg?0b30181a1696d46d7ee8ab9b6594518b"},e=>{e.exports=Jsw.skinUrl+"/images/logos/powered-logo.png?8700c1cdfefb55e5ddcb48027ce87d4e"},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>E});var t=i(270),a=i(272),s=i.n(a),r=i(677),o=i(575),d=i(574),l=i(598),c=i.n(l),m=i(271),u=i(89),p=i(599),v=i(671),f=i(673),h=i(633),g=i(579),k=i(676),_=i.n(k);const S=({id:e,styleClass:n,active:i=!1,disabled:a=!1,name:s,conhelp:r,link:o,target:d,custom:l=!1,icon:p,label:v,onClick:f})=>(0,t.jsx)(m.Tooltip,{title:r,children:(0,t.jsx)("li",{id:e||null,className:c()(!e&&n,i&&"active",a&&"page-sidebar-menu-item--disabled"),children:(0,t.jsxs)(h.default,{to:(0,u.prepareUrl)(o),target:d,onClick:f,disabled:a,children:[(0,t.jsx)("i",{className:n?`icon-${n.split(" ")[0]}`:null,style:l?{backgroundImage:`url('${p}')`}:null}),(0,t.jsxs)("span",{className:"title",children:[(0,t.jsx)("span",{className:"title-name",children:s}),!!v&&(0,t.jsx)(m.Text,{fontSize:"sm",className:"title-label",children:v})]})]})})});S.propTypes={id:s().string,styleClass:s().string,active:s().bool,disabled:s().bool,name:s().string.isRequired,conhelp:s().string.isRequired,link:s().string.isRequired,target:s().string,custom:s().bool,icon:s().string,label:s().string,onClick:s().func};const b=({id:e,name:n=null,nodes:i,activeNode:a,statistics:s,isSidebarClosed:o,onNodeClick:d=null})=>{const l=(0,t.useRef)(null),c=e.toString().replace("_","-"),[u,v]=(0,p.useLocalStorage)(`menu-group-${c}-hidden`);let f=(0,t.jsxs)("button",{className:"menu-group-title","aria-expanded":"true"===u?"false":"true","aria-controls":`menuId-${c}`,onClick:()=>v("true"===u?"false":"true"),type:"button",children:[(0,t.jsx)("span",{className:"menu-group-toggle"}),(0,t.jsx)("span",{className:"menu-group-name",children:n})]});return o&&n&&(f=(0,t.jsx)(m.Tooltip,{title:n,children:f})),(0,t.jsxs)("li",{className:`menu-group-${c}`,children:["general"===e?null:f,i&&Object.keys(i).length?(0,t.jsx)(r.default,{nodeRef:l,in:"true"!==u,timeout:200,mountOnEnter:!0,unmountOnExit:!0,children:(0,t.jsx)("ul",{ref:l,className:"sub-menu",id:`menuId-${c}`,children:Object.entries(i).map((([e,{conhelp:n,...i}])=>(0,t.jsx)(S,{active:e===a,conhelp:o?i.name:n,onClick:d,label:s?.[(e??"").replace(/([-_]\w)/g,(e=>e[1].toUpperCase()))],...i},e)))})}):null]},e)};b.propTypes={id:s().string.isRequired,name:s().string,nodes:s().object.isRequired,activeNode:s().string,statistics:s().object,isSidebarClosed:s().bool.isRequired,onNodeClick:s().func};const y=e=>{for(const n of e){const e=Object.values(n.nodes).find((e=>e.link));if(e)return e.link}},N=({title:e,navigation:n,navigationContext:i,breadcrumbs:a=[],viewSwitcher:s,isPowerUserPanel:r=!1,showStatistics:l=!1,isClosed:m=!1,onNodeClick:u})=>{const p=(0,d.useLocation)(),{data:{viewer:{statistics:h}={}}={}}=(0,g.useQuery)(_(),{skip:!l}),k=(0,t.useMemo)((()=>{const e=e=>e.match(/\/modules\/([^/]+)/)?.[1],i=(0,o.parsePath)(a?.[r||a.length<2?0:1]?.href??"").pathname??"",t=e(i),s=p.pathname,d=e(s);for(const a of n){const n=Object.entries(a.nodes).find((([,n])=>{const a=(0,o.parsePath)(n.link).pathname;if(!a)return!1;if((0,o.matchPath)(a,i)||s.startsWith(a))return!0;const r=e(a);return!!r&&(r===t||r===d)}));if(n)return n[0]}}),[n,a,r,p.pathname]);return(0,t.jsxs)("div",{className:c()("page-sidebar",m&&"page-sidebar--folded"),"data-type":"page-sidebar",children:[(0,t.jsxs)("div",{className:"page-sidebar__content",children:[(0,t.jsx)("div",{className:"page-sidebar-brand",children:m?(0,t.jsx)("div",{className:"brand-collapsed",children:e[0]||"P"}):(0,t.jsx)(f.default,{href:y(n)})}),(0,t.jsx)("div",{className:"page-sidebar-menu-wrapper",children:(0,t.jsx)("ul",{className:"page-sidebar-menu",children:n.map((({id:e,...n})=>(0,t.jsx)(b,{id:e,isSidebarClosed:m,onNodeClick:u,activeNode:k||i,statistics:"hosting"===e?h:null,...n},e)))})})]}),s?(0,t.jsx)("div",{className:"page-sidebar-footer-wrapper",children:(0,t.jsx)("div",{className:"page-sidebar-footer",children:(0,t.jsx)(v.default,{...s})})}):null]})};N.propTypes={title:s().string.isRequired,navigation:s().arrayOf(s().shape({id:s().string,showTitle:s().bool,name:s().string,nodes:s().object})).isRequired,navigationContext:s().string,breadcrumbs:s().array,viewSwitcher:s().shape({locale:s().object}),isPowerUserPanel:s().bool,showStatistics:s().bool,isClosed:s().bool,onNodeClick:s().func};const E=N},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>c});var t=i(270),a=i(272),s=i.n(a),r=i(271),o=i(89);const d=o.Locale.getTranslate("components.view-switcher"),l=({isPowerUserPanel:e,showPowerUserViewWarning:n,learnMoreUrl:a,hideSwitcherUrl:s,changeViewUrl:l})=>{const[c,m]=(0,t.useState)(!0),[u,p]=(0,t.useState)(!1),v=(0,t.useRef)(),f=async e=>{e.preventDefault();const{redirect:n}=await o.api.post(l);n&&(0,o.redirect)(n)},h=e=>{e.preventDefault(),(0,o.redirect)(a)},g=()=>{setTimeout((()=>{p(!1)}),0)};return c?(0,t.jsxs)("div",{className:"view-switcher",children:[(k=(0,t.jsxs)("button",{type:"button",className:"view-switcher__button",onClick:()=>{p(!u)},"data-action":"toggle-view-switcher",ref:v,children:[(0,t.jsx)(r.Icon,{src:i(672),className:"view-switcher__button-icon"}),(0,t.jsx)(d,{content:"title",className:"view-switcher__button-text",component:"span"})]}),(0,t.jsxs)(r.Popover,{visible:u,target:k,targetRef:v,title:(0,t.jsx)(d,{content:"title"}),placement:"top-right",onClose:g,canCloseOnOutsideClick:!0,canCloseOnEscapePress:!0,boundariesElement:document.querySelector(".pul-layout"),"data-type":"view-switcher",children:[(0,t.jsx)(d,{content:"currentViewMessage",params:{view:(0,t.jsx)(d,{content:e?"powerUserView":"serviceProviderView"}),hint:(0,t.jsx)(d,{content:e?"powerUserViewHint":"serviceProviderViewHint"})}}),(0,t.jsx)("p",{children:(0,t.jsx)(d,{content:"actionMessage",params:{switchLink:(0,t.jsx)("a",{onClick:f,href:"#",onTouchStart:e=>e.stopPropagation(),onMouseDown:e=>e.stopPropagation(),"data-action":e?"to-service-provider":"to-power-user",children:(0,t.jsx)(d,{content:"switchView",params:{view:(0,t.jsx)(d,{content:e?"serviceProviderView":"powerUserView"})}})}),recommended:(0,t.jsx)(d,{content:e?"serviceProviderViewRecommended":"powerUserViewRecommended"}),helpLink:(0,t.jsx)("a",{href:"#",onClick:h,onTouchStart:e=>e.stopPropagation(),onMouseDown:e=>e.stopPropagation(),"data-action":"learn-more",children:(0,t.jsx)(d,{content:"learnMore"})})}})}),n&&(0,t.jsx)(r.Hint,{children:(0,t.jsx)(r.Status,{intent:"info",children:(0,t.jsx)(d,{content:"powerUserViewWarning"})})})]})),(0,t.jsx)("button",{type:"button",className:"view-switcher__close",onClick:()=>{const e=o.Locale.getSection("components.view-switcher");o.messageBox.show({type:o.messageBox.TYPE_YESNO,subtype:"toggle",text:e.lmsg("confirmationBoxText"),description:e.lmsg("confirmationBoxDescription"),buttonTitles:{yes:e.lmsg("confirmationBoxButtonYes"),no:e.lmsg("confirmationBoxButtonNo")},onYesClick:()=>{m(!1),o.api.post(s)}})},"data-action":"hide-view-switcher"})]}):null;var k};l.propTypes={isPowerUserPanel:s().bool.isRequired,showPowerUserViewWarning:s().bool.isRequired,learnMoreUrl:s().string.isRequired,hideSwitcherUrl:s().string.isRequired,changeViewUrl:s().string.isRequired};const c=l},e=>{e.exports=Jsw.skinUrl+"/icons/16/plesk/nav-navigation.svg?8fd7ed2dae98ebbed97268ffef8454b1"},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>t.default});var t=i(674)},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>p});var t=i(272),a=i.n(t),s=i(598),r=i.n(s),o=i(579),d=i(633),l=i(675),c=i.n(l),m=i(270);const u=({baseClassName:e="brand",className:n,href:i})=>{const{data:{viewer:{logo:{image:t,imageAlt:a,url:s,edition:l}}}}=(0,o.useQuery)(c()),u=s||i?d.default:"span";return(0,m.jsxs)(u,{className:r()(e,n),to:s||i,target:s?"_blank":void 0,children:[(0,m.jsx)("img",{className:`${e}__logo`,src:t,alt:a}),l?(0,m.jsx)("span",{className:`${e}__edition`,children:l}):null]})};u.propTypes={href:a().string,className:a().string,baseClassName:a().string};const p=u},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"Branding"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"customTitle"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"image"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"imageAlt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"edition"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:184}};n.loc.source={body:"query Branding {\r\n    viewer {\r\n        login\r\n        customTitle\r\n        logo {\r\n            image\r\n            imageAlt\r\n            url\r\n            edition\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.Branding=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 d=o;o=new Set,d.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,"Branding")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MainMenu"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statistics"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"customers"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"resellers"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"subscriptions"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domains"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"servicePlans"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:210}};n.loc.source={body:"query MainMenu {\r\n    viewer {\r\n        login\r\n        statistics {\r\n            customers\r\n            resellers\r\n            subscriptions\r\n            domains\r\n            servicePlans\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.MainMenu=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 d=o;o=new Set,d.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,"MainMenu")},,,,,,,,(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>c});var t=i(579),a=i(89),s=i(633),r=i(685),o=i.n(r),d=i(270);const l=a.Locale.getTranslate("components.shortcuts"),c=()=>{const{data:{viewer:e,config:n}={}}=(0,t.useQuery)(o());return(0,d.jsxs)("div",{className:"page-footer","data-type":"page-footer",children:[n?.promos.pleskFooter?(0,d.jsx)("a",{href:n.product.siteUrl,target:"_blank",rel:"noopener noreferrer",children:"plesk.com"}):null,"ADMIN"===e?.type&&n?.facebook.showLikeLink?(0,d.jsx)("div",{className:"social-actions",children:(0,d.jsxs)("a",{className:"fb-link",href:n.facebook.pleskPage,target:"_blank",rel:"noopener noreferrer",children:[(0,d.jsx)("svg",{className:"icon",id:"facebook",viewBox:"0 0 32 32",children:(0,d.jsx)("path",{d:"M17.906,9.9V7.012a1.662,1.662,0,01,1.776-1.546h3.094V-0.052l-4.26-.022c-4.736,0-5.579,4.113-5.579,6.746L13,9.9H9.97v6.123h2.96v16.1H17.9v-16.1h4.447l0.2-2.53,0.3-3.593H17.906"})}),(0,d.jsx)(l,{content:"facebookJoinCommunity"})]})}):null,"ADMIN"===e?.type&&n?.twitter.showFollowLink?(0,d.jsx)("div",{className:"social-actions",children:(0,d.jsxs)("a",{className:"twitter-follow-button",href:n.twitter.pleskPage,target:"_blank",rel:"noopener noreferrer",children:[(0,d.jsx)("svg",{className:"icon",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{fill:"#fff",d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})}),(0,d.jsx)(l,{content:"twitterFollow"})]})}):null,"ADMIN"===e?.type&&n?.rating.enabled?(0,d.jsx)("div",{className:"feedback-actions",children:(0,d.jsxs)("a",{id:"provide-rating-button",className:"s-btn",onClick:()=>{Plesk.require("app/rating",(e=>{e({supportUrl:n.product.supportUrl})}))},children:[(0,d.jsx)("i",{className:"icon-opinions"})," ",(0,d.jsx)(l,{content:"provideRating"})]})}):null,n?.feedback.userVoice?(0,d.jsx)("div",{className:"feedback-actions",children:(0,d.jsx)("a",{className:"s-btn sb-feedback",href:n.feedback.userVoiceUrl,target:"_blank",rel:"noopener noreferrer",children:(0,d.jsx)("span",{children:(0,d.jsx)(l,{content:"userFeedback"})})})}):null,(0,d.jsx)("div",{className:"feedback-actions",children:(0,d.jsx)(s.default,{to:"?modals[cookie-policy-preferences]=true",children:(0,d.jsx)(l,{content:"linkToCookies"})})})]})}},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"PageFooter"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}},{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:"siteUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"supportUrl"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"promos"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pleskFooter"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"feedback"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"userVoice"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userVoiceUrl"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"facebook"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"showLikeLink"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pleskPage"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"twitter"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"showFollowLink"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pleskPage"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"rating"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"enabled"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:514}};n.loc.source={body:"query PageFooter {\r\n    viewer {\r\n        login\r\n        type\r\n    }\r\n    config {\r\n        product {\r\n            siteUrl\r\n            supportUrl\r\n        }\r\n        promos {\r\n            pleskFooter\r\n        }\r\n        feedback {\r\n            userVoice\r\n            userVoiceUrl\r\n        }\r\n        facebook {\r\n            showLikeLink\r\n            pleskPage\r\n        }\r\n        twitter {\r\n            showFollowLink\r\n            pleskPage\r\n        }\r\n        rating {\r\n            enabled\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.PageFooter=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 d=o;o=new Set,d.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,"PageFooter")},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>p});var t=i(272),a=i.n(t),s=i(271),r=i(633),o=i(687),d=i(688),l=i(525),c=i(628),m=i(270);const u=({breadcrumbs:e=[],tabs:n=null,tabsHasRootPage:i=!1,navigationTabs:t=null,hidePathbar:a=!1,hideHeading:u=!1,wizardTitle:p=null,pageTitle:v=null,pageSubtitle:f=null,titleRightAddon:h=null,objectSwitcherParams:g=null,forceObjectSwitcher:k=!1,isClassicMode:_=!1,additionalTitleContent:S=null,className:b="page-content-header"})=>{let y=(e=Array.isArray(e)?[...e]:[]).pop(),N=k,E=null,w=null;y&&n&&i&&(y=e.pop(),v||(v=y.title)),y&&t&&(y=e.pop(),N=-1!==(v=y.title).indexOf("</b>"));const D=v&&v.match(/<b>(.+)<\/b>/i);if(D){E=D[1],w=v.substr(D.index+D[0].length),v=v.substr(0,D.index);const n=e[e.length-1];n&&E===(0,l.default)(n.title)?(E=(0,m.jsx)(r.default,{to:n.href,dangerouslySetInnerHTML:{__html:(0,l.default)(n.title)}}),e.pop(),N=!0):E=(0,m.jsx)("span",{className:"page-content-header__title",dangerouslySetInnerHTML:{__html:E}})}return!a&&!e.length||!u||_&&t?(0,m.jsx)(s.PageHeader,{className:b,breadcrumbs:!a&&e.length?(0,m.jsx)(s.Breadcrumbs,{"data-type":"page-pathbar",children:e.map((({title:e,href:n})=>(0,m.jsx)(r.default,{to:n,dangerouslySetInnerHTML:{__html:(0,l.default)(e)}},n)))}):null,tabs:_&&t?(0,m.jsx)(d.default,{items:t}):null,title:u?null:(0,m.jsxs)("div",{children:[p?(0,m.jsx)(s.Heading,{children:p}):null,E?(0,m.jsxs)(s.Heading,{level:p?3:1,"data-type":"page-title",children:[v?(0,m.jsx)("span",{className:"page-content-header__title",dangerouslySetInnerHTML:{__html:v}}):null,E,g&&N?(0,m.jsx)(o.default,{...g}):null,w,S&&(0,m.jsx)(c.default,{component:"span",children:S},S)]}):(0,m.jsx)(s.Heading,{level:p?3:1,"data-type":"page-title",children:(0,m.jsx)("span",{className:"page-content-header__title",dangerouslySetInnerHTML:{__html:v}})})]}),titleRightAddon:h,children:!u&&f?(0,m.jsx)(s.Text,{intent:"muted",children:f}):null}):null};u.propTypes={breadcrumbs:a().arrayOf(a().shape({href:a().string,title:a().string})),tabs:a().array,tabsHasRootPage:a().bool,navigationTabs:a().array,hidePathbar:a().bool,hideHeading:a().bool,wizardTitle:a().string,pageTitle:a().string,pageSubtitle:a().string,titleRightAddon:a().node,objectSwitcherParams:a().shape(o.default.propTypes),forceObjectSwitcher:a().bool,isClassicMode:a().bool,additionalTitleContent:a().string,className:a().string};const p=u},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>l});var t=i(270),a=i(272),s=i(89),r=i(628),o=i(613);const d=({locale:e,limit:n,lookUpParams:i,dataUrl:a,listUrl:d,owner:l=null,itemUrlTemplate:c})=>{const[m,u]=(0,t.useState)(null),p=(0,o.default)();return(0,t.useEffect)((()=>{const t=new s.ObjectSwitcher({locale:e,limit:n,lookUpParams:i,dataUrl:a,listUrl:d,owner:l,itemUrlTemplate:c,navigate:p});return u(t),()=>{(0,s.registerComponent)(t.getId()),u(null)}}),[e,n,i,a,d,l,c,p]),m?(0,t.jsx)(r.default,{component:"span",children:m},m.getId()):null};d.propTypes={locale:a.PropTypes.object.isRequired,limit:a.PropTypes.number.isRequired,lookUpParams:a.PropTypes.object.isRequired,dataUrl:a.PropTypes.string.isRequired,listUrl:a.PropTypes.string.isRequired,owner:a.PropTypes.string,itemUrlTemplate:a.PropTypes.string.isRequired};const l=d},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>c});var t=i(270),a=i(272),s=i.n(a),r=i(271),o=i(633),d=i(89);const l=({items:e})=>{const n=(0,t.useRef)(null),i=(0,t.useMemo)((()=>e.findIndex((({containerCls:e})=>e.split(" ").includes("active")))+1),[e]);return(0,t.useEffect)((()=>{if(!n.current)return;const e=n.current,i=e.querySelector(".page-content-header-nav__tabs"),t=document.querySelector(".pul-layout__header-inner"),a="page-content-header-nav--sticky",s=()=>{const n=i.getBoundingClientRect(),s=t.getBoundingClientRect(),r=(window.scrollY||window.pageYOffset)+e.getBoundingClientRect().top;document.documentElement.scrollTop>r-s.height?(e.classList.add(a),e.style.minHeight=`${n.height}px`,i.style.top=`${s.height}px`):(e.classList.remove(a),e.style.minHeight=null,i.style.top=null)};return window.addEventListener("resize",s),window.addEventListener("scroll",s),document.addEventListener("mousewheel",s),s(),()=>{window.removeEventListener("resize",s),window.removeEventListener("scroll",s),document.removeEventListener("mousewheel",s)}}),[]),e.length?(0,t.jsx)("div",{id:"classic-mode-navigation",className:"page-content-header-nav",ref:n,children:(0,t.jsx)(r.Tabs,{className:"page-content-header-nav__tabs",active:i,children:e.map((({title:e,href:n},i)=>(0,t.jsx)(r.Tab,{"data-cy":e,title:e,component:o.default,to:(0,d.prepareUrl)(n)},i)))})}):null};l.propTypes={items:s().arrayOf(s().shape({title:s().string.isRequired,href:s().string.isRequired,containerCls:s().string})).isRequired};const c=l},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>s});var t=i(89),a=i(525);const s=({wizardTitle:e,pageTitle:n,breadcrumbs:i=[]})=>{i=i&&Array.isArray(i)?i:[];let s,r=e??n??i[i.length-1]?.title??"";const o=r.match(/<b>(.+)<\/b>/i);o&&(s=o[1],r=r.substring(0,o.index).trim());const d=r.match(/(<a(.+)<\/a>)/);return d&&(d.index+d[0].length===r.length&&(s=(0,a.default)(d[0])),r=r.replace(d[0],"").trim()),s&&(r=r.substring(0,r.lastIndexOf(" "))),""===r&&i.length>2&&(r=i[i.length-2]?.title??""),(0,a.default)((0,t.unescapeHtml)(r)).trim()}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>s});var t=i(591),a=i(270);const s=(e,n)=>{const i=i=>{const{baseUrl:s,showFrames:r,pageHeader:o,pageSidebar:d,pageContentHeader:l,pageTitle:c,withSecondary:m,secondary:u,isSecondaryCollapsed:p,width:v,bodyClass:f,integrationClass:h,...g}={...i,..."function"==typeof n?n(i):n};return(0,a.jsx)(t.default,{baseUrl:s,showFrames:r,pageHeader:o,pageSidebar:d,pageContentHeader:l,pageTitle:c,withSecondary:m,isSecondaryCollapsed:p,secondary:u,width:v,bodyClass:f,integrationClass:h,children:(0,a.jsx)(e,{...g})})};return i.displayName=`withPageLayout(${e.displayName||e.name||"Component"})`,i.WrappedComponent=e,i}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>r});var t=i(89),a=i(313),s=i(690);const r=(e,n)=>(0,s.default)(e,(e=>{const{showFrames:i,pageHeader:s,pageSidebar:r}=(0,a.default)(),{breadcrumbs:o,helpContext:d}="function"==typeof n?n(e):n,l=o[o.length-1].title;return{...e,showFrames:i,pageHeader:{...s,helpMenu:{...s.helpMenu,helpContext:d}},pageSidebar:r,pageContentHeader:{pageTitle:l,breadcrumbs:[r.isPowerUserPanel?null:{title:t.Locale.getSection("components.pages.home").lmsg("title"),href:"/admin/home"},...o].filter(Boolean)},pageTitle:l}}))},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>o});var t=i(574),a=i(313),s=i(590),r=i(270);const o=()=>{const e=(0,a.usePageData)();return(0,r.jsx)(s.default,{...e,children:(0,r.jsx)(t.Outlet,{})})}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>c});var t=i(574),a=i(575),s=i(271),r=i(89),o=i(694),d=i(265),l=i(270);const c=()=>{const e=(0,t.useRouteError)();if(console.error(e),(0,a.isRouteErrorResponse)(e)&&404===e.status)return(0,l.jsx)(s.LocaleProvider,{messages:r.Locale.getSection("controllers.error.error").messages,children:(0,l.jsx)(o.default,{code:"404",message:"Page Not Found"})});if(e.graphQLErrors?.length){const[n]=e.graphQLErrors;return(0,l.jsx)(s.LocaleProvider,{messages:r.Locale.getSection("controllers.error.error").messages,children:(0,l.jsx)(o.default,{code:"notFound"===n.extensions?.category&&"404",exception:{type:"notFound"===n.extensions?.category?"Not Found":"GraphQL Error",message:n.extensions?.debugMessage??n.message,file:n.trace?.[0].file,line:n.trace?.[0].line,stackTrace:n.trace?.map((({call:e,file:n,line:i},t)=>`#${t} ${n}(${i}): ${e}`)).join("\n")}})})}return(0,l.jsx)(s.LocaleProvider,{messages:r.Locale.getSection("controllers.error.error").messages,children:(0,l.jsx)(o.default,{isNetworkError:(0,d.isNetworkError)(e),exception:{type:e.name,message:e.message,stackTrace:e.stack}})})}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>f});var t=i(272),a=i.n(t),s=i(598),r=i.n(s),o=i(271),d=i(695),l=i(696),c=i(697),m=i(270);const u={400:"Your browser sent a request that this server could not understand. Client sent malformed Host header.",401:"This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.",403:"You do not have permission to access this document.",404:"This page either doesn't exist, or it moved somewhere else.",405:"The HTTP verb used to access this page is not allowed.",406:"Client browser does not accept the MIME type of the requested page.",407:"You must be authenticated by a proxy server before the Web server can execute your request.",412:"The request was not completed due to preconditions that are set in the request header.\n Preconditions prevent the requested method from being applied to a resource other than the one intended.",414:"The Web server is refusing to service the request because the requested URL address is too long.",415:"The Web server cannot service the request because the requested file is in a format that the server is configured not to download.",500:"The server encountered an internal error or misconfiguration and was unable to complete your request.\n Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.\n More information about this error may be available in the server error log.",501:"The page you are looking for cannot be displayed because a header value in the request does not match certain configuration settings on the Web server.",502:"Web server received an invalid response while acting as a gateway or proxy server.",503:"The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later."},p=(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(o.Button,{className:c.default.action,onClick:()=>window.location.reload(),children:(0,m.jsx)(o.Translate,{content:"reloadPage"})}),(0,m.jsx)(o.Button,{className:c.default.action,onClick:()=>window.history.back(),children:(0,m.jsx)(o.Translate,{content:"backToPreviousPage"})}),(0,m.jsx)(o.Button,{className:c.default.action,component:"a",href:"/",children:(0,m.jsx)(o.Translate,{content:"homePage"})})]}),v=({code:e=null,message:n,noRepairKit:i=!1,kbArticleUrl:t=null,exception:a=null,isNetworkError:s=!1})=>(0,m.jsxs)("div",{className:c.default.page,children:[(0,m.jsx)("div",{className:r()(c.default.side,"503.1"===e?c.default.sideMaintenance:"")}),(0,m.jsxs)("div",{className:c.default.main,children:[s?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("header",{className:c.default.header,children:(0,m.jsx)(o.Heading,{children:(0,m.jsx)(o.Text,{intent:"danger",children:(0,m.jsx)(o.Translate,{content:"networkError"})})})}),(0,m.jsxs)("main",{children:[(0,m.jsxs)("div",{className:c.default.description,children:[(0,m.jsxs)("p",{children:[(0,m.jsx)(o.Translate,{content:"networkErrorDescription"}),(0,m.jsx)("br",{}),(0,m.jsx)(o.Translate,{content:"helpActions"})]}),(0,m.jsx)("p",{})]}),p]})]}):"503.1"===e?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("header",{className:c.default.header,children:(0,m.jsx)(o.Heading,{component:"h1",level:2,children:n})}),(0,m.jsxs)("main",{children:[(0,m.jsx)(o.ConsoleOutput,{wide:!0,children:(0,m.jsx)("div",{dangerouslySetInnerHTML:{__html:'<div class="console-output__title">Plesk</div>\n<span id="initialize" style="display: none">Initializing…                     [ <span>----</span> ]</span>\n<span id="clone" style="display: none">Cloning…                          [ <span>----</span> ]</span>\n<span id="message" style="display: none"></span>\n\n<div id="done" style="display: none">\n___\n\nYour Plesk is almost ready.\nIn a few seconds, we\'ll take you there so that you can get started!\n</div>'}})}),(0,m.jsx)("div",{className:c.default.actions,children:(0,m.jsx)(o.Button,{className:c.default.action,onClick:()=>window.location.reload(),children:(0,m.jsx)(o.Translate,{content:"reloadPage"})})})]})]}):(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)("header",{className:c.default.header,children:[e?(0,m.jsx)("div",{children:(0,m.jsx)(o.Translate,{content:"title"})}):null,(0,m.jsx)(o.Heading,{children:(0,m.jsxs)(o.Text,{intent:"danger",children:[e?`${e} `:null,a?a.type:n]})})]}),(0,m.jsxs)("main",{children:[(0,m.jsx)("div",{className:c.default.description,children:(0,m.jsx)("p",{children:a?a.message:u[e]})}),a?(0,m.jsx)(l.default,{...a}):null,e&&/^5\d\d$/.test(e)&&!i?(0,m.jsx)(d.default,{}):null,(0,m.jsxs)("div",{className:c.default.actions,children:[(0,m.jsxs)("p",{children:[(0,m.jsx)(o.Translate,{content:"reportErrorMessage"})," ",(0,m.jsx)("a",{href:"https://www.plesk.com/bug-report/",target:"_blank",rel:"noopener noreferrer",children:(0,m.jsx)(o.Translate,{content:"visitHelpCenter"})})]}),(0,m.jsx)("p",{children:(0,m.jsx)(o.Translate,{content:"helpActions"})}),p,t?(0,m.jsx)(o.Button,{className:c.default.action,component:"a",href:t,target:"_blank",rel:"noopener noreferrer",children:(0,m.jsx)(o.Translate,{content:"searchKbArticle"})}):null]})]})]}),(0,m.jsx)("footer",{className:c.default.footer,children:(0,m.jsxs)("div",{className:c.default.footerLinks,children:[(0,m.jsxs)("a",{href:"https://talk.plesk.com/forums/reports.746/",className:c.default.footerLink,target:"_blank",rel:"noopener noreferrer",children:[(0,m.jsx)(o.Icon,{size:"32",src:"/error_docs/images/report.svg"}),(0,m.jsx)(o.Translate,{className:c.default.footerLinkText,content:"reportProblem"})]}),(0,m.jsxs)("a",{href:"https://docs.plesk.com/",className:c.default.footerLink,target:"_blank",rel:"noopener noreferrer",children:[(0,m.jsx)(o.Icon,{size:"32",src:"/error_docs/images/documentation.svg"}),(0,m.jsx)(o.Translate,{className:c.default.footerLinkText,content:"documentation"})]}),(0,m.jsxs)("a",{href:"https://kb.plesk.com/",className:c.default.footerLink,target:"_blank",rel:"noopener noreferrer",children:[(0,m.jsx)(o.Icon,{size:"32",src:"/error_docs/images/knowledge-base.svg"}),(0,m.jsx)(o.Translate,{className:c.default.footerLinkText,content:"knowledgeBase"})]}),(0,m.jsxs)("a",{href:"https://talk.plesk.com/",className:c.default.footerLink,target:"_blank",rel:"noopener noreferrer",children:[(0,m.jsx)(o.Icon,{size:"32",src:"/error_docs/images/forum.svg"}),(0,m.jsx)(o.Translate,{className:c.default.footerLinkText,content:"forum"})]}),(0,m.jsxs)("a",{href:"https://www.youtube.com/channel/UCeU-_6YHGQFcVSHLbEXLNlA",className:c.default.footerLink,target:"_blank",rel:"noopener noreferrer",children:[(0,m.jsx)(o.Icon,{size:"32",src:"/error_docs/images/youtube.svg"}),(0,m.jsx)(o.Translate,{className:c.default.footerLinkText,content:"youTube"})]}),(0,m.jsxs)("a",{href:"https://www.facebook.com/Plesk",className:c.default.footerLink,target:"_blank",rel:"noopener noreferrer",children:[(0,m.jsx)(o.Icon,{size:"32",src:"/error_docs/images/facebook.svg"}),(0,m.jsx)(o.Translate,{className:c.default.footerLinkText,content:"facebook"})]})]})})]})]});v.propTypes={code:a().string,message:a().string.isRequired,noRepairKit:a().bool,kbArticleUrl:a().string,exception:a().shape({type:a().string.isRequired,message:a().string.isRequired}),isNetworkError:a().bool};const f=v},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>s});var t=i(271),a=i(270);const s=()=>(0,a.jsx)(t.Alert,{intent:"info",children:(0,a.jsx)(t.Media,{image:(0,a.jsx)(t.Icon,{src:"/error_docs/images/go-to-repair.png",size:"64"}),children:0===window.location.pathname.indexOf("/repair")?(0,a.jsx)(t.MediaSection,{children:(0,a.jsx)(t.Translate,{content:"repairKitUnavailable"})}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(t.MediaSection,{children:[(0,a.jsx)(t.Translate,{content:"repairKitDescription"}),(0,a.jsx)("br",{}),(0,a.jsx)(t.Translate,{content:"repairKitAdminDescription"})]}),(0,a.jsx)(t.MediaSection,{children:(0,a.jsx)(t.Button,{component:"a",intent:"primary",href:"/repair",children:(0,a.jsx)(t.Translate,{content:"repairKitOpen"})})}),(0,a.jsx)(t.MediaSection,{children:(0,a.jsx)(t.Text,{intent:"muted",children:(0,a.jsx)(t.Translate,{content:"repairKitOpenNote"})})})]})})})},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>d});var t=i(272),a=i.n(t),s=i(271),r=i(270);const o=({type:e,message:n,file:i,line:t,stackTrace:a=null,codeFragment:o=null})=>{const d=[{key:"type",title:"Type",value:e},{key:"message",title:"Message",value:n},{key:"file",title:"File",value:i},{key:"line",title:"Line",value:t},{key:"stackTrace",title:"Stack trace",value:a&&(0,r.jsx)(s.ConsoleOutput,{wide:!0,children:a})},{key:"codeFragment",title:"Code fragment",value:o&&(0,r.jsx)(s.ConsoleOutput,{wide:!0,children:(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:o}})})}].filter((({value:e})=>e));return d.length?(0,r.jsx)(s.List,{columns:[{key:"title",render:e=>(0,r.jsx)(s.Text,{bold:!0,children:e.title})},{key:"value"}],data:d}):null};o.propTypes={type:a().string.isRequired,message:a().string.isRequired,file:a().string.isRequired,line:a().string.isRequired,stackTrace:a().string,codeFragment:a().string};const d=o},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>t});const t={page:"common-components-ErrorPage-module__page--3BS7t",header:"common-components-ErrorPage-module__header--ZsKwE",side:"common-components-ErrorPage-module__side--CyBpF",sideMaintenance:"common-components-ErrorPage-module__sideMaintenance--5fiUj",main:"common-components-ErrorPage-module__main--icshs",description:"common-components-ErrorPage-module__description--QJNnB",actions:"common-components-ErrorPage-module__actions--xclR8",action:"common-components-ErrorPage-module__action--l73ns",footer:"common-components-ErrorPage-module__footer--10LMy",footerLinks:"common-components-ErrorPage-module__footerLinks--vDGlC",footerLink:"common-components-ErrorPage-module__footerLink--xg46v",footerLinkText:"common-components-ErrorPage-module__footerLinkText--Q2RUW"}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>s});var t=i(270),a=i(89);const s=()=>((0,t.useLayoutEffect)((()=>()=>{(0,a.getComponent)("log-browser")?.remove()}),[]),null)},(e,n,i)=>{"use strict";i.r(n),i.d(n,{GraphQlList:()=>t.default,readGraphQlListInputFromStorage:()=>s.readGraphQlListInputFromStorage,useGraphQlList:()=>a.default});var t=i(700),a=i(703),s=i(704)},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>c});var t=i(272),a=i.n(t),s=i(271),r=i(701),o=i(702),d=i(270);const l=({onSortChange:e,filtered:n,pagination:i,emptyView:t,emptyViewFiltered:a,listContext:o,...l})=>{const{paginationProps:c,setSort:m}=o,u=n||l.loading;return(0,d.jsx)(r.GraphQlListContext.Provider,{value:o,children:(0,d.jsx)(s.List,{filtered:u,pagination:i||c&&(0,d.jsx)(s.Pagination,{...c}),emptyView:u?a:t,...l,onSortChange:(...n)=>{e?.(...n);const[i]=n;m({[i.sortColumn]:i.sortDirection})}})})};l.propTypes={onSortChange:a().func,listContext:a().object.isRequired,filtered:a().bool,pagination:a().node,emptyView:a().node,emptyViewFiltered:a().node},l.SearchBar=o.default;const c=l},(e,n,i)=>{"use strict";i.r(n),i.d(n,{GraphQlListContext:()=>t});const t=(0,i(270).createContext)()},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>l});var t=i(270),a=i(272),s=i.n(a),r=i(271),o=i(701);const d=({name:e,onSearch:n,onTyping:i,...a})=>{const{listInput:s,setSearchFilters:d}=(0,t.useContext)(o.GraphQlListContext),[l,c]=(0,t.useState)(s.searchFilters?.[e]);return(0,t.jsx)(r.SearchBar,{inputProps:{value:l},...a,onTyping:(...e)=>{i?.(...e);const[n]=e;c(n)},onSearch:(...i)=>{n?.(...i);const[t]=i;c(t),d((n=>({...n,[e]:t})))}})};d.propTypes={name:s().string.isRequired,onSearch:s().func,onTyping:s().func};const l=d},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>d});var t=i(270),a=i(579),s=i(599),r=i(704);const o=[10,25,100,"all"],d=({key:e,defaultInput:n,query:i,variables:d={},withNetworkOnlyStrategy:l=!0,onListInputChange:c,withPagination:m=!0,extractList:u})=>{const[p,v]=(0,t.useState)(),[f,h]=(0,s.useLocalStorage)(...(0,r.getGraphQlListInputStorageArgs)({key:e,withPagination:m,defaultInput:n})),g=(0,a.useQuery)(i,{variables:{input:f,...d},fetchPolicy:p}),k=g.data||g.previousData,_=k?u(k):null,S=e=>{h(e),l&&v("network-only"),c&&c(e)},b=e=>{const n="function"==typeof e?e(f.searchFilters):e;S({...f,searchFilters:n,pagination:{...f.pagination,page:1}})},y=e=>S({...f,orderBy:e}),N=e=>S({...f,pagination:{...f.pagination,page:e}}),E=e=>S({...f,pagination:{page:1,itemsPerPage:"all"===e?null:+e}}),w=m&&_?{current:_.pageInfo.current,total:_.pageInfo.pageCount,onSelect:N,itemsPerPage:f.pagination?.itemsPerPage??"all",itemsPerPageOptions:o,onItemsPerPageChange:E}:null;return{queryResult:g,listData:_,listInput:f,setSearchFilters:b,setPage:N,setItemsPerPage:E,setSort:y,paginationProps:w,listProps:{listContext:{listData:_,listInput:f,setSearchFilters:b,setSort:y,setPage:N,setItemsPerPage:E,paginationProps:w},..._?.sortInfo??{},loading:g.loading,data:_?.nodes||[],totalRows:_?.pageInfo.total}}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{getGraphQlListInputStorageArgs:()=>s,readGraphQlListInputFromStorage:()=>r});var t=i(603);const a={pagination:{page:1,itemsPerPage:25}},s=({key:e,withPagination:n=!0,defaultInput:i})=>[`${e}ListInput.v2`,i||(n?a:{})],r=e=>(0,t.readLocalStorageValue)(...s(e))},(e,n,i)=>{"use strict";i.r(n),i.d(n,{odbcServerRoute:()=>c});var t=i(89),a=i(699),s=i(706),r=i(708),o=i(393),d=i(711),l=i.n(d);const c={path:"odbc",componentLoader:()=>i.e("components/pages/OdbcPage/OdbcServerPage").then(i.bind(i,2140)),loader:async()=>{const e=(0,a.readGraphQlListInputFromStorage)({key:"OdbcServerPage"});await o.default.query({query:l(),variables:{input:e}})},handle:{crumb:()=>({title:t.Locale.getSection("components.routes").lmsg("odbcServer")}),helpContext:"odbc_connection_config"},children:[s.odbcAddRoute,r.odbcEditRoute]}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{odbcAddRoute:()=>r});var t=i(393),a=i(707),s=i.n(a);const r={path:"add",componentLoader:()=>i.e("components/pages/OdbcAddPage").then(i.bind(i,2147)),loader:async({params:e})=>{const{data:{dsnManager:{drivers:n}}}=await t.default.query({query:s()});return{domainId:e.domainId,drivers:n}}}},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"OdbcAddPage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"dsnManager"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"drivers"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:66}};n.loc.source={body:"query OdbcAddPage {\r\n    dsnManager {\r\n        drivers\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.OdbcAddPage=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 d=o;o=new Set,d.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,"OdbcAddPage")},(e,n,i)=>{"use strict";i.r(n),i.d(n,{odbcEditRoute:()=>r});var t=i(393),a=i(709),s=i.n(a);const r={path:":odbcId/edit",componentLoader:()=>i.e("components/pages/OdbcEditPage").then(i.bind(i,2150)),loader:async({params:e})=>{const n=btoa(`OdbcDsnConnection:${e.odbcId}`);return await t.default.query({query:s(),variables:{id:n}}),{odbcId:e.odbcId}}}},(e,n,i)=>{var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"OdbcEditPage"},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",alias:{kind:"Name",value:"connection"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"OdbcEditFragment"},directives:[]}]}}]}}],loc:{start:0,end:150}};t.loc.source={body:'#import "queries/OdbcEditFragment.graphql"\r\n\r\nquery OdbcEditPage($id: ID!) {\r\n    connection: node(id: $id) {\r\n        ...OdbcEditFragment\r\n    }\r\n}\r\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function s(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){s(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){s(e,n)})),e.definitions&&e.definitions.forEach((function(e){s(e,n)}))}t.definitions=t.definitions.concat(i(710).definitions.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)})));var r={};function o(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}}t.definitions.forEach((function(e){if(e.name){var n=new Set;s(e,n),r[e.name.value]=n}})),e.exports=t,e.exports.OdbcEditPage=function(e,n){var i={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var t=r[n]||new Set,a=new Set,s=new Set;for(t.forEach((function(e){s.add(e)}));s.size>0;){var d=s;s=new Set,d.forEach((function(e){a.has(e)||(a.add(e),(r[e]||new Set).forEach((function(e){s.add(e)})))}))}return a.forEach((function(n){var t=o(e,n);t&&i.definitions.push(t)})),i}(t,"OdbcEditPage")},e=>{var n={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"OdbcEditFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"OdbcDsnConnection"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"driverType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"parameters"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"keyHuman"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isRequired"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fieldType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"values"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:203}};n.loc.source={body:"fragment OdbcEditFragment on OdbcDsnConnection {\r\n    id\r\n    driverType\r\n    parameters {\r\n        key\r\n        keyHuman\r\n        isRequired\r\n        fieldType\r\n        value\r\n        values\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.OdbcEditFragment=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 d=o;o=new Set,d.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,"OdbcEditFragment")},(e,n,i)=>{var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"OdbcServerList"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NamedType",name:{kind:"Name",value:"OdbcDsnConnectionListInput"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"server"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"odbcDsnConnections"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"OdbcList"},directives:[]},{kind:"Field",name:{kind:"Name",value:"nodes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"domainName"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:301}};t.loc.source={body:'#import "./OdbcListFragment.graphql"\r\n\r\nquery OdbcServerList(\r\n    $input: OdbcDsnConnectionListInput\r\n) {\r\n    server {\r\n        odbcDsnConnections(\r\n            input: $input\r\n        ) {\r\n            ...OdbcList\r\n            nodes {\r\n                domainName\r\n            }\r\n        }\r\n    }\r\n}\r\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function s(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){s(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){s(e,n)})),e.definitions&&e.definitions.forEach((function(e){s(e,n)}))}t.definitions=t.definitions.concat(i(712).definitions.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)})));var r={};function o(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}}t.definitions.forEach((function(e){if(e.name){var n=new Set;s(e,n),r[e.name.value]=n}})),e.exports=t,e.exports.OdbcServerList=function(e,n){var i={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var t=r[n]||new Set,a=new Set,s=new Set;for(t.forEach((function(e){s.add(e)}));s.size>0;){var d=s;s=new Set,d.forEach((function(e){a.has(e)||(a.add(e),(r[e]||new Set).forEach((function(e){s.add(e)})))}))}return a.forEach((function(n){var t=o(e,n);t&&i.definitions.push(t)})),i}(t,"OdbcServerList")},e=>{var n={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"OdbcList"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"OdbcDsnConnectionList"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"driver"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"configured"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isSystem"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"current"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"total"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pageCount"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"sortInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sortColumn"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sortDirection"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:310}};n.loc.source={body:"fragment OdbcList on OdbcDsnConnectionList {\r\n    nodes {\r\n        id\r\n        name\r\n        description\r\n        driver\r\n        configured\r\n        isSystem\r\n    }\r\n    pageInfo {\r\n        current\r\n        total\r\n        pageCount\r\n    }\r\n    sortInfo {\r\n        sortColumn\r\n        sortDirection\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.OdbcList=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 d=o;o=new Set,d.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,"OdbcList")},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>l,useGetDomainOverviewRoutePath:()=>d});var t=i(270),a=i(574),s=i(393),r=i(714),o=i.n(r);const d=()=>{const{pathname:e}=(0,a.useLocation)();return(0,t.useCallback)(((n,i,t)=>e.includes("overview")?`/smb/web/overview/id/${n}/type/${i}/${t}`:`/smb/web/view/${n}/${t}`),[e])},l=[{path:"hosting-settings",componentLoader:()=>Promise.all([i.e("vendors"),i.e("components/pages/HostingSettingsPage")]).then(i.bind(i,2153)),loader:async({params:e})=>{await s.default.query({query:o(),variables:{id:btoa(`Domain:${e.id}`)}})}},{path:"connection-info",componentLoader:()=>i.e("components/pages/ConnectionInfo").then(i.bind(i,2179))}]},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"HostingSettingsPage"},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:"mode"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isSimplePanel"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isDemo"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isSmbImpersonated"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"server"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"settings"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"forbidSubscriptionRename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"preferredDomain"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isIPv6Supported"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"forbidFtpUserRename"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"securitySettingsPreset"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ssl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sslRedirect"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"asp"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"aspDotNet"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"cgi"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fastcgi"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"webstat"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"writeModify"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"webDeploy"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ssi"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"errorDocs"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"perl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"python"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"shell"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"os"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isUnix"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"capability"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"systemUser"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"access"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"shells"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"empty"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"chrooted"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isSecure"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"emptyShell"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"primaryKey"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pleskKeyId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"keyShell"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"capability"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"packages"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"webstatPackages"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",alias:{kind:"Name",value:"domain"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Domain"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[{kind:"Argument",name:{kind:"Name",value:"idn"},value:{kind:"BooleanValue",value:!1}}],directives:[]},{kind:"Field",name:{kind:"Name",value:"isDemo"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"baseDomain"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"parentDomain"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[{kind:"Argument",name:{kind:"Name",value:"idn"},value:{kind:"BooleanValue",value:!1}}],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"ipAddresses"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isIPv6"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ipAddress"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"publicIpAddress"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"owner"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ipAddresses"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isIPv6"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ipAddress"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"publicIpAddress"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isBroken"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clients"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}},{kind:"Field",alias:{kind:"Name",value:"availableIpAddresses"},name:{kind:"Name",value:"ipAddresses"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"unassigned"},value:{kind:"BooleanValue",value:!0}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isIPv6"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ipAddress"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"publicIpAddress"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isBroken"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"sysUser"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"quota"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"shell"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"subscription"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isSecureSettingsPresetAllowed"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"permissions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"manageDomains"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"manageSubdomains"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"manageWebsitesAndDomains"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"manageHosting"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"manageHostingSsl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"manageQuota"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"manageShellAccess"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"manageNotChrootedShell"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"allowInsecureSites"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"manageHostingSsi"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"manageErrorDocs"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"manageAdditionPermissions"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"manageWebstat"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"manageWebDeploy"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"allowInsecureSites"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"mainDomain"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[{kind:"Argument",name:{kind:"Name",value:"idn"},value:{kind:"BooleanValue",value:!1}}],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"domains"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[{kind:"Argument",name:{kind:"Name",value:"idn"},value:{kind:"BooleanValue",value:!1}}],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"allowToChangeHtype"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"htype"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hosting"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"documentRoot"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"preferredDomain"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasInstalledApplications"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isSameSsl"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"forwarding"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"redirect"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"sslSettings"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ssl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sslRedirect"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"certificateId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"availableCertificates"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"repository"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"aspNetSettings"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"versions"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"configs"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"version"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"webstatSettings"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"webstat"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"webstatProtected"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"webScriptingSettings"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ssi"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ssiHtml"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"cgi"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"cgiMode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fastcgi"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"asp"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"aspDotNet"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"perl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"python"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"webDeploy"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"errorDocs"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"writeModify"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:4521}};n.loc.source={body:"query HostingSettingsPage($id: ID!) {\r\n    mode {\r\n        isSimplePanel\r\n        isDemo\r\n    }\r\n    viewer {\r\n        isSmbImpersonated\r\n        login\r\n        type\r\n    }\r\n    server {\r\n        settings {\r\n            forbidSubscriptionRename\r\n            preferredDomain\r\n            isIPv6Supported\r\n            forbidFtpUserRename\r\n        }\r\n        securitySettingsPreset {\r\n            ssl\r\n            sslRedirect\r\n            asp\r\n            aspDotNet\r\n            cgi\r\n            fastcgi\r\n            webstat\r\n            writeModify\r\n            webDeploy\r\n            ssi\r\n            errorDocs\r\n            perl\r\n            python\r\n            shell\r\n        }\r\n    }\r\n    os {\r\n        isUnix\r\n    }\r\n    capability {\r\n        systemUser {\r\n            access {\r\n                shells {\r\n                    name\r\n                    value\r\n                    empty\r\n                    chrooted\r\n                    isSecure\r\n                }\r\n                emptyShell\r\n            }\r\n        }\r\n    }\r\n    primaryKey {\r\n        pleskKeyId\r\n        keyShell\r\n    }\r\n    capability {\r\n        packages {\r\n            webstatPackages {\r\n                name\r\n                value\r\n            }\r\n        }\r\n    }\r\n    domain: node(id: $id) {\r\n        ... on Domain {\r\n            id\r\n            name(idn: false)\r\n            isDemo\r\n            baseDomain {\r\n                id\r\n            }\r\n            parentDomain {\r\n                name(idn: false)\r\n            }\r\n            ipAddresses {\r\n                id\r\n                isIPv6\r\n                ipAddress\r\n                publicIpAddress\r\n            }\r\n            owner {\r\n                id\r\n                ipAddresses {\r\n                    id\r\n                    type\r\n                    isIPv6\r\n                    ipAddress\r\n                    publicIpAddress\r\n                    isBroken\r\n                    clients {\r\n                        id\r\n                    }\r\n                }\r\n                availableIpAddresses: ipAddresses(filter: {unassigned: true}) {\r\n                    id\r\n                    type\r\n                    isIPv6\r\n                    ipAddress\r\n                    publicIpAddress\r\n                    isBroken\r\n                }\r\n            }\r\n            sysUser {\r\n                login\r\n                quota\r\n                shell\r\n            }\r\n            subscription {\r\n                isSecureSettingsPresetAllowed\r\n                permissions {\r\n                    manageDomains\r\n                    manageSubdomains\r\n                    manageWebsitesAndDomains\r\n                    manageHosting\r\n                    manageHostingSsl\r\n                    manageQuota\r\n                    manageShellAccess\r\n                    manageNotChrootedShell\r\n                    allowInsecureSites\r\n                    manageHostingSsi\r\n                    manageErrorDocs\r\n                    manageAdditionPermissions\r\n                    manageWebstat\r\n                    manageWebDeploy\r\n                    allowInsecureSites\r\n                }\r\n                mainDomain {\r\n                    id\r\n                    name(idn: false)\r\n                }\r\n                domains {\r\n                    id\r\n                    name(idn: false)\r\n                }\r\n            }\r\n            allowToChangeHtype\r\n            htype\r\n            hosting {\r\n                documentRoot\r\n                preferredDomain\r\n                hasInstalledApplications\r\n                isSameSsl\r\n            }\r\n            forwarding {\r\n                code\r\n                redirect\r\n            }\r\n            sslSettings {\r\n                ssl\r\n                sslRedirect\r\n                certificateId\r\n                availableCertificates {\r\n                    id\r\n                    name\r\n                    repository\r\n                }\r\n            }\r\n            aspNetSettings {\r\n                versions\r\n                configs {\r\n                    version\r\n                }\r\n            }\r\n            webstatSettings {\r\n                webstat\r\n                webstatProtected\r\n            }\r\n            webScriptingSettings {\r\n                ssi\r\n                ssiHtml\r\n                cgi\r\n                cgiMode\r\n                fastcgi\r\n                asp\r\n                aspDotNet\r\n                perl\r\n                python\r\n                webDeploy\r\n                errorDocs\r\n                writeModify\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.HostingSettingsPage=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 d=o;o=new Set,d.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,"HostingSettingsPage")},(e,n,i)=>{"use strict";i.r(n),i.d(n,{SummaryReportRoute:()=>o});var t=i(393),a=i(495),s=i(575),r=i(716);const o={path:"/cp/summary-report",children:[{index:!0,loader:async()=>{const{data:{viewer:{summaryReportLayouts:e}}}=await t.default.query({query:a.gql`
                    query {
                        viewer {
                            login
                            summaryReportLayouts {
                                id
                                isDefault
                            }
                        }
                    }
                `}),n=e.find((({isDefault:e})=>e))?.id??e[0]?.id;if(n)return(0,s.redirect)((0,r.getId)(n));throw new Response("Not Found",{status:404})}},{path:":layoutId",children:[{index:!0,componentLoader:()=>Promise.all([i.e("vendors"),i.e("components/pages/SummaryReportPage")]).then(i.bind(i,2186)),loader:async({params:{layoutId:e}})=>{const{data:n}=await t.default.query({query:i(717),variables:{id:btoa(`SummaryReportLayout:${e}`)}});return n}},{path:"print",componentLoader:()=>Promise.all([i.e("vendors"),i.e("components/pages/SummaryReportPage")]).then(i.bind(i,2195)),loader:async({params:{layoutId:e}})=>{await t.default.query({query:i(719),variables:{id:btoa(`SummaryReportLayout:${e}`)}})}},{path:"schedule",componentLoader:()=>i.e("components/pages/SummaryReportSchedulesPage").then(i.bind(i,2197)),loader:async({params:{layoutId:e}})=>{const{data:n}=await t.default.query({query:i(720),variables:{id:btoa(`SummaryReportLayout:${e}`)}});return n},children:[{path:"add",componentLoader:()=>i.e("components/pages/SummaryReportSchedulesPage").then(i.bind(i,2201)),loader:async({params:{layoutId:e}})=>{const{data:n}=await t.default.query({query:i(721),variables:{layoutId:btoa(`SummaryReportLayout:${e}`)}});return n}},{path:":scheduleId/edit",componentLoader:()=>i.e("components/pages/SummaryReportSchedulesPage").then(i.bind(i,2205)),loader:async({params:{scheduleId:e,layoutId:n}})=>{const{data:a}=await t.default.query({query:i(722),variables:{scheduleId:btoa(`SummaryReportSchedule:${e}`),layoutId:btoa(`SummaryReportLayout:${n}`)}});return a}}]}]},{path:"layouts",componentLoader:()=>i.e("components/pages/SummaryReportLayoutsPage").then(i.bind(i,2208)),loader:async()=>{const{data:e}=await t.default.query({query:i(723)});return e},children:[{path:"add",componentLoader:()=>i.e("components/pages/SummaryReportLayoutsPage").then(i.bind(i,2212)),loader:async()=>{const{data:e}=await t.default.query({query:i(724)});return e}},{path:":layoutId/edit",componentLoader:()=>i.e("components/pages/SummaryReportLayoutsPage").then(i.bind(i,2218)),loader:async({params:{layoutId:e}})=>{const{data:n}=await t.default.query({query:i(725),variables:{id:btoa(`SummaryReportLayout:${e}`)}});return n}}]},{path:"traffic-history",componentLoader:()=>i.e("components/pages/TrafficHistoryReportPage").then(i.bind(i,2222)),loader:async()=>{const{data:e}=await t.default.query({query:i(726)});return e}}]}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{getId:()=>t});const t=e=>e?Number(atob(e).split(":")[1]):null},(e,n,i)=>{var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SummaryReportPage"},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:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"client"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"summaryReportLayouts"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}},{kind:"Field",alias:{kind:"Name",value:"summaryReportLayout"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"SummaryReportLayout"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"SummaryReportFragment"},directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"primaryKey"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pleskKeyId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"keyTraffic"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"os"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isUnix"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"server"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isSitebuilderAvailable"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:639}};t.loc.source={body:'#import "./SummaryReportFragment.graphql"\r\n\r\nquery SummaryReportPage($id: ID!) {\r\n     viewer {\r\n        login\r\n        type\r\n        client {\r\n            id\r\n            email\r\n            type\r\n        }\r\n        summaryReportLayouts {\r\n            name\r\n            id\r\n        }\r\n    }\r\n    summaryReportLayout: node(id: $id) {\r\n        ... on SummaryReportLayout {\r\n            id\r\n            data {\r\n                ...SummaryReportFragment\r\n            }\r\n        }\r\n    }\r\n    primaryKey {\r\n        pleskKeyId\r\n        keyTraffic\r\n    }\r\n    os {\r\n        isUnix\r\n    }\r\n    server {\r\n        isSitebuilderAvailable\r\n    }\r\n}\r\n\r\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function s(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){s(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){s(e,n)})),e.definitions&&e.definitions.forEach((function(e){s(e,n)}))}t.definitions=t.definitions.concat(i(718).definitions.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)})));var r={};function o(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}}t.definitions.forEach((function(e){if(e.name){var n=new Set;s(e,n),r[e.name.value]=n}})),e.exports=t,e.exports.SummaryReportPage=function(e,n){var i={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var t=r[n]||new Set,a=new Set,s=new Set;for(t.forEach((function(e){s.add(e)}));s.size>0;){var d=s;s=new Set,d.forEach((function(e){a.has(e)||(a.add(e),(r[e]||new Set).forEach((function(e){s.add(e)})))}))}return a.forEach((function(n){var t=o(e,n);t&&i.definitions.push(t)})),i}(t,"SummaryReportPage")},e=>{var n={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"SummaryReportFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"SummaryReportData"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"general"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"version"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"build"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"cname"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pname"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ownerPname"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ownerLogin"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"phone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fax"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addr"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"state"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pcode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"country"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"creationDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"resellers"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"resellers"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"activeResellers"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"resellersList"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"resProblem"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"resStatus"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"resPname"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"resCrDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"resActiveClients"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"resClients"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"resDiskSpace"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"resTraffic"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"resActiveDomains"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"resDomains"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"resSubdomains"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"resPostboxes"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"resMailGroups"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"resMailResps"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"resMailLists"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"resWebUsers"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"resDataBases"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"resMssqlDataBases"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"resPgsqlDataBases"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"clients"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"clients"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"activeClients"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clientsList"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"clProblem"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clStatus"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clPname"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clOwner"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clCrDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clDiskSpace"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clTraffic"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clActiveDomains"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clDomains"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clSubdomains"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clPostboxes"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clMailGroups"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clMailResps"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clMailLists"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clWebUsers"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clDataBases"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clMssqlDataBases"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clPgsqlDataBases"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"personalClients"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"clients"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"activeClients"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clientsList"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"clProblem"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clStatus"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clPname"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clOwner"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clCrDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clDiskSpace"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clTraffic"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clActiveDomains"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clDomains"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clSubdomains"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clPostboxes"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clMailGroups"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clMailResps"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clMailLists"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clWebUsers"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clDataBases"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clMssqlDataBases"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clPgsqlDataBases"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"domains"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"diskSpace"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"traffic"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"activeDomains"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"subdomains"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"postboxes"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mailGroups"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mailResps"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mailLists"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"webUsers"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"dataBases"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mssqlDataBases"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pgsqlDataBases"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sitebuilderSites"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domains"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domainsList"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"domStatus"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domHtype"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domOwner"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domCrDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domDiskSpace"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domTraffic"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domSubdomains"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domPostboxes"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domMailGroups"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domMailResps"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domMailLists"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domWebUsers"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domDataBases"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domMssqlDataBases"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domPgsqlDataBases"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"personalDomains"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"diskSpace"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"traffic"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"activeDomains"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"subdomains"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"postboxes"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mailGroups"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mailResps"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mailLists"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"webUsers"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"dataBases"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mssqlDataBases"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pgsqlDataBases"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sitebuilderSites"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domains"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domainsList"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"domStatus"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domHtype"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domOwner"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domCrDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domDiskSpace"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domTraffic"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domSubdomains"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domPostboxes"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domMailGroups"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domMailResps"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domMailLists"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domWebUsers"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domDataBases"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domMssqlDataBases"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domPgsqlDataBases"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:2914}};n.loc.source={body:"fragment SummaryReportFragment on SummaryReportData  {\r\n  general {\r\n    version\r\n    build\r\n    cname\r\n    pname\r\n    ownerPname\r\n    ownerLogin\r\n    login\r\n    phone\r\n    fax\r\n    email\r\n    addr\r\n    city\r\n    state\r\n    pcode\r\n    country\r\n    creationDate\r\n    description\r\n}\r\n\r\nresellers {\r\n    resellers\r\n    activeResellers\r\n    resellersList {\r\n        resProblem\r\n        resStatus\r\n        resPname\r\n        resCrDate\r\n        resActiveClients\r\n        resClients\r\n        resDiskSpace\r\n        resTraffic\r\n        resActiveDomains\r\n        resDomains\r\n        resSubdomains\r\n        resPostboxes\r\n        resMailGroups\r\n        resMailResps\r\n        resMailLists\r\n        resWebUsers\r\n        resDataBases\r\n        resMssqlDataBases\r\n        resPgsqlDataBases\r\n    }\r\n}\r\nclients {\r\n    clients\r\n    activeClients\r\n    clientsList {\r\n        clProblem\r\n        clStatus\r\n        clPname\r\n        clOwner\r\n        clCrDate\r\n        clDiskSpace\r\n        clTraffic\r\n        clActiveDomains\r\n        clDomains\r\n        clSubdomains\r\n        clPostboxes\r\n        clMailGroups\r\n        clMailResps\r\n        clMailLists\r\n        clWebUsers\r\n        clDataBases\r\n        clMssqlDataBases\r\n        clPgsqlDataBases\r\n    }\r\n}\r\npersonalClients {\r\n    clients\r\n    activeClients\r\n    clientsList {\r\n        clProblem\r\n        clStatus\r\n        clPname\r\n        clOwner\r\n        clCrDate\r\n        clDiskSpace\r\n        clTraffic\r\n        clActiveDomains\r\n        clDomains\r\n        clSubdomains\r\n        clPostboxes\r\n        clMailGroups\r\n        clMailResps\r\n        clMailLists\r\n        clWebUsers\r\n        clDataBases\r\n        clMssqlDataBases\r\n        clPgsqlDataBases\r\n    }\r\n}\r\ndomains {\r\n    diskSpace\r\n    traffic\r\n    activeDomains\r\n    subdomains\r\n    postboxes\r\n    mailGroups\r\n    mailResps\r\n    mailLists\r\n    webUsers\r\n    dataBases\r\n    mssqlDataBases\r\n    pgsqlDataBases\r\n    sitebuilderSites\r\n    domains\r\n    domainsList {\r\n        domStatus\r\n        domHtype\r\n        domName\r\n        domOwner\r\n        domCrDate\r\n        domDiskSpace\r\n        domTraffic\r\n        domSubdomains\r\n        domPostboxes\r\n        domMailGroups\r\n        domMailResps\r\n        domMailLists\r\n        domWebUsers\r\n        domDataBases\r\n        domMssqlDataBases\r\n        domPgsqlDataBases\r\n    }\r\n}\r\npersonalDomains {\r\n    diskSpace\r\n    traffic\r\n    activeDomains\r\n    subdomains\r\n    postboxes\r\n    mailGroups\r\n    mailResps\r\n    mailLists\r\n    webUsers\r\n    dataBases\r\n    mssqlDataBases\r\n    pgsqlDataBases\r\n    sitebuilderSites\r\n    domains\r\n    domainsList {\r\n        domStatus\r\n        domHtype\r\n        domName\r\n        domOwner\r\n        domCrDate\r\n        domDiskSpace\r\n        domTraffic\r\n        domSubdomains\r\n        domPostboxes\r\n        domMailGroups\r\n        domMailResps\r\n        domMailLists\r\n        domWebUsers\r\n        domDataBases\r\n        domMssqlDataBases\r\n        domPgsqlDataBases\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.SummaryReportFragment=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 d=o;o=new Set,d.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,"SummaryReportFragment")},(e,n,i)=>{var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SummaryReportPrintPage"},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",alias:{kind:"Name",value:"summaryReportLayout"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"SummaryReportLayout"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"SummaryReportFragment"},directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"os"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isUnix"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"server"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isSitebuilderAvailable"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:369}};t.loc.source={body:'#import "./SummaryReportFragment.graphql"\r\n\r\nquery SummaryReportPrintPage($id: ID!) {\r\n    summaryReportLayout: node(id: $id) {\r\n        ... on SummaryReportLayout {\r\n            id\r\n            data {\r\n                ...SummaryReportFragment\r\n            }\r\n        }\r\n    }\r\n    os {\r\n        isUnix\r\n    }\r\n    server {\r\n        isSitebuilderAvailable\r\n    }\r\n}\r\n\r\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function s(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){s(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){s(e,n)})),e.definitions&&e.definitions.forEach((function(e){s(e,n)}))}t.definitions=t.definitions.concat(i(718).definitions.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)})));var r={};function o(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}}t.definitions.forEach((function(e){if(e.name){var n=new Set;s(e,n),r[e.name.value]=n}})),e.exports=t,e.exports.SummaryReportPrintPage=function(e,n){var i={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var t=r[n]||new Set,a=new Set,s=new Set;for(t.forEach((function(e){s.add(e)}));s.size>0;){var d=s;s=new Set,d.forEach((function(e){a.has(e)||(a.add(e),(r[e]||new Set).forEach((function(e){s.add(e)})))}))}return a.forEach((function(n){var t=o(e,n);t&&i.definitions.push(t)})),i}(t,"SummaryReportPrintPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SummaryReportSchedulesPage"},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:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"client"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]}]}}]}},{kind:"Field",alias:{kind:"Name",value:"summaryReportLayout"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"SummaryReportLayout"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"schedules"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"period"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lastSentDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:462}};n.loc.source={body:"query SummaryReportSchedulesPage($id: ID!) {\r\n     viewer {\r\n        login\r\n        type\r\n        client {\r\n            id\r\n            email\r\n        }\r\n    }\r\n    summaryReportLayout: node(id: $id) {\r\n        ... on SummaryReportLayout {\r\n            id\r\n            name\r\n            schedules {\r\n                id\r\n                isEnabled\r\n                period\r\n                lastSentDate\r\n                email\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.SummaryReportSchedulesPage=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 d=o;o=new Set,d.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,"SummaryReportSchedulesPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SummaryReportScheduleAddPage"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"layoutId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"client"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]}]}}]}},{kind:"Field",alias:{kind:"Name",value:"summaryReportLayout"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"layoutId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"SummaryReportLayout"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:295}};n.loc.source={body:"query SummaryReportScheduleAddPage($layoutId: ID!) {\r\n    viewer {\r\n        login\r\n        client {\r\n            id\r\n            email\r\n        }\r\n    }\r\n    summaryReportLayout: node(id: $layoutId) {\r\n        ... on SummaryReportLayout {\r\n            id\r\n            name\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.SummaryReportScheduleAddPage=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 d=o;o=new Set,d.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,"SummaryReportScheduleAddPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SummaryReportScheduleEditPage"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"scheduleId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"layoutId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"client"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]}]}}]}},{kind:"Field",alias:{kind:"Name",value:"summaryReportSchedule"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"scheduleId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"SummaryReportSchedule"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"period"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]}]}}]}},{kind:"Field",alias:{kind:"Name",value:"summaryReportLayout"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"layoutId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"SummaryReportLayout"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:479}};n.loc.source={body:"query SummaryReportScheduleEditPage($scheduleId: ID!, $layoutId: ID!) {\r\n    viewer {\r\n        login\r\n        client {\r\n            id\r\n            email\r\n        }\r\n    }\r\n    summaryReportSchedule: node(id: $scheduleId) {\r\n        ... on SummaryReportSchedule {\r\n            id\r\n            period\r\n            email\r\n        }\r\n    }\r\n    summaryReportLayout: node(id: $layoutId) {\r\n        ... on SummaryReportLayout {\r\n            id\r\n            name\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.SummaryReportScheduleEditPage=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 d=o;o=new Set,d.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,"SummaryReportScheduleEditPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SummaryReportLayoutsPage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"summaryReportLayouts"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isDefault"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"general"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"resellers"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clients"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"personalClients"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domains"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"personalDomains"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"schedules"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isEnabled"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"mode"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"canManageResellers"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"canManageCustomers"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:495}};n.loc.source={body:"query SummaryReportLayoutsPage {\r\n    viewer {\r\n        login\r\n        type\r\n        summaryReportLayouts {\r\n            name\r\n            isDefault\r\n            id\r\n            general\r\n            resellers\r\n            clients\r\n            personalClients\r\n            domains\r\n            personalDomains\r\n            schedules {\r\n                id\r\n                isEnabled\r\n            }\r\n        }\r\n    }\r\n    mode {\r\n        canManageResellers\r\n        canManageCustomers\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.SummaryReportLayoutsPage=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 d=o;o=new Set,d.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,"SummaryReportLayoutsPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SummaryReportLayoutAddPage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"mode"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"canManageResellers"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"canManageCustomers"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:164}};n.loc.source={body:"query SummaryReportLayoutAddPage {\r\n    mode {\r\n        canManageResellers\r\n        canManageCustomers\r\n    }\r\n    viewer {\r\n        login\r\n        type\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.SummaryReportLayoutAddPage=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 d=o;o=new Set,d.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,"SummaryReportLayoutAddPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SummaryReportLayoutEditPage"},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",alias:{kind:"Name",value:"summaryReportLayout"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"SummaryReportLayout"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isDefault"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"general"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"resellers"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clients"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"personalClients"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domains"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"personalDomains"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:349}};n.loc.source={body:"query SummaryReportLayoutEditPage($id: ID!) {\r\n    summaryReportLayout: node(id: $id) {\r\n        ... on SummaryReportLayout {\r\n            id\r\n            name\r\n            isDefault\r\n            general\r\n            resellers\r\n            clients\r\n            personalClients\r\n            domains\r\n            personalDomains\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.SummaryReportLayoutEditPage=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 d=o;o=new Set,d.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,"SummaryReportLayoutEditPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"TrafficHistoryReportPage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"client"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"trafficHistory"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"year"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"month"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"trafficUsage"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:255}};n.loc.source={body:"query TrafficHistoryReportPage {\r\n     viewer {\r\n        login\r\n        type\r\n        client {\r\n            id\r\n            trafficHistory {\r\n                year\r\n                month\r\n                trafficUsage\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.TrafficHistoryReportPage=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 d=o;o=new Set,d.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,"TrafficHistoryReportPage")},(e,n,i)=>{"use strict";i.r(n),i.d(n,{domainRoute:()=>h});var t=i(89),a=i(313),s=i(716),r=i(728),o=i(729),d=i(731),l=i(733),c=i(735),m=i(739),u=i(753),p=i(393),v=i(771),f=i.n(v);const h={path:"domains/:domainId",loader:async({params:e})=>{const n=btoa(`Domain:${e.domainId}`),{data:i}=await p.default.query({query:f(),variables:{id:n}});return i},handle:{crumb:({data:e,matchesContext:n})=>{n.domainRouteData=e;const{domain:i}=e;let{baseDomain:o}=e;o=i.baseDomain||i;const{pageSidebar:d}=(0,a.default)(),{isPowerUserPanel:l,navigationContext:c}=d,m=(0,s.getId)(i.id),u=(0,s.getId)(o.id);return[{title:t.Locale.getSection("components.routes").lmsg("subscriptions"),href:"/admin/subscription/list",show:!l&&"subscriptions"===c},{title:`<b>${o.name}</b>`,href:`/admin/subscription/overview/id/${u}`,show:!l&&"subscriptions"===c},{title:t.Locale.getSection("components.routes").lmsg("domains"),href:"/admin/domain/list",show:!l&&"domains"===c},{title:t.Locale.getSection("components.routes").lmsg("web"),href:(0,r.getContextUrl)(u,"/smb/web/view"),show:l||"subscriptions"===c},{title:i.name,href:(0,r.getContextUrl)(u,`/smb/web/overview/id/${m}/type/domain`)}].filter((({show:e=!0})=>e))}},children:[o.aspDotNetDomainSettingsRoute,d.bandwidthLimitingDomainRoute,l.hotlinkProtectionDomainRoute,c.odbcDomainRoute,m.protectedDirectoriesRoute,u.virtualDirectoryRoute]}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{getContextUrl:()=>a});var t=i(313);const a=(e,n)=>{const{pageSidebar:i}=(0,t.default)(),a=encodeURIComponent(n);return i?.isPowerUserPanel?`/smb/account/switch/id/${e}?hideNotice=1&returnUrl=${a}`:`/admin/subscription/login/id/${e}?pageUrl=${a}`}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{aspDotNetDomainSettingsRoute:()=>o});var t=i(89),a=i(393),s=i(730),r=i.n(s);const o={path:"asp-dot-net-settings",componentLoader:()=>Promise.all([i.e("vendors"),i.e("components/pages/AspDotNetSettingsPage/AspDotNetDomainSettingsPage")]).then(i.bind(i,2223)),loader:async({params:e})=>{const{data:n}=await a.default.query({query:r(),variables:{id:btoa(`Domain:${e.domainId}`)}});if(!n.domain.webScriptingSettings?.aspDotNet||!n.domain.aspNetSettings?.configs.length)throw new Response("Not Found",{status:404});return n},handle:{helpContext:"aspdotnet",crumb:({matchesContext:e,params:n})=>{const{domain:i}=e.domainRouteData;return[{title:t.Locale.getSection("components.routes").lmsg("aspDotNetDomainSettings",{domain:`<b>${i.name}</b>`}),href:`/cp/domains/${n.domainId}/asp-dot-net-settings`}]}}}},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AspDotNetDomainSettings"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"webPath"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"domain"},name:{kind:"Name",value:"node"},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:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Domain"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"owner"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"webScriptingSettings"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"aspDotNet"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"aspNetSettings"},arguments:[{kind:"Argument",name:{kind:"Name",value:"webPath"},value:{kind:"Variable",name:{kind:"Name",value:"webPath"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"versions"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"configs"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"customErrMode"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"enumValues"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"culture"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"enumValues"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"connStrings"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"version"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"debugMode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"authMode"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"enumValues"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"customErrors"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"canDelete"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"values"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"redirectUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"fileEnc"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"reqEnc"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"resEnc"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sessTimeout"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"tempDirectory"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"trustLevelAllowOverride"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"uiCulture"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"enumValues"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"defLanguage"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"enumValues"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"trustLevel"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"enumValues"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}}]}}],loc:{start:0,end:2389}};n.loc.source={body:"query AspDotNetDomainSettings($id: ID!, $webPath: String) {\r\n    domain: node(id: $id) {\r\n        id\r\n        ...on Domain {\r\n            owner {\r\n                id\r\n                login\r\n            }\r\n            webScriptingSettings {\r\n                aspDotNet\r\n            }\r\n            aspNetSettings(webPath: $webPath) {\r\n                versions\r\n                configs {\r\n                    customErrMode {\r\n                        value\r\n                        enumValues {\r\n                            name\r\n                            value\r\n                        }\r\n                    }\r\n\r\n                    culture {\r\n                        value\r\n                        enumValues {\r\n                            name\r\n                            value\r\n                        }\r\n                    }\r\n                    connStrings {\r\n                        name\r\n                        value\r\n                    }\r\n                    version\r\n                    debugMode\r\n                    authMode {\r\n                        value\r\n                        enumValues {\r\n                            name\r\n                            value\r\n                        }\r\n                    }\r\n                    customErrors {\r\n                        canDelete\r\n                        values {\r\n                            redirectUrl\r\n                            statusCode\r\n                        }\r\n                    }\r\n\r\n                    fileEnc\r\n                    reqEnc\r\n                    resEnc\r\n                    sessTimeout\r\n                    tempDirectory\r\n                    trustLevelAllowOverride\r\n                    uiCulture {\r\n                        value\r\n                        enumValues {\r\n                            name\r\n                            value\r\n                        }\r\n                    }\r\n\r\n                    defLanguage {\r\n                        value\r\n                        enumValues {\r\n                            name\r\n                            value\r\n                        }\r\n                    }\r\n                    trustLevel {\r\n                        value\r\n                        enumValues {\r\n                            name\r\n                            value\r\n                        }\r\n                    }\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.AspDotNetDomainSettings=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 d=o;o=new Set,d.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,"AspDotNetDomainSettings")},(e,n,i)=>{"use strict";i.r(n),i.d(n,{bandwidthLimitingDomainRoute:()=>o});var t=i(89),a=i(393),s=i(732),r=i.n(s);const o={path:"bandwidth-limiting",componentLoader:()=>Promise.all([i.e("vendors"),i.e("components/pages/BandwidthLimitingPage")]).then(i.bind(i,2224)),loader:async({params:e})=>{const{data:n}=await a.default.query({query:r(),variables:{id:btoa(`Domain:${e.domainId}`)}});return n},handle:{helpContext:"client.domain.hosting.performance",crumb:({matchesContext:e})=>{const{domain:n}=e.domainRouteData;return{title:t.Locale.getSection("components.routes").lmsg("bandwidthLimiting",{domainName:`<b>${n.name}</b>`})}},key:({params:e})=>e.domainId}}},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"BandwidthLimitingPage"},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",alias:{kind:"Name",value:"domain"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Domain"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hosting"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"performance"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"trafficBandwidth"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"maxConnection"},arguments:[],directives:[]}]}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"capability"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"packages"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isQoSStarted"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:375}};n.loc.source={body:"query BandwidthLimitingPage($id: ID!) {\r\n    domain: node(id: $id) {\r\n        ... on Domain {\r\n            id\r\n            hosting {\r\n                performance {\r\n                    trafficBandwidth\r\n                    maxConnection\r\n                }\r\n            }\r\n        }\r\n    }\r\n    capability {\r\n        packages {\r\n            isQoSStarted\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.BandwidthLimitingPage=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 d=o;o=new Set,d.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,"BandwidthLimitingPage")},(e,n,i)=>{"use strict";i.r(n),i.d(n,{hotlinkProtectionDomainRoute:()=>o});var t=i(89),a=i(393),s=i(734),r=i.n(s);const o={path:"hotlink-protection",componentLoader:()=>i.e("components/pages/HotlinkProtectionPage").then(i.bind(i,2229)),loader:async({params:e})=>{const{data:n}=await a.default.query({query:r(),variables:{id:btoa(`Domain:${e.domainId}`)}});return n},handle:{helpContext:"client.domain.hosting.hotlink-protection",crumb:({matchesContext:e})=>{const{domain:n}=e.domainRouteData;return{title:t.Locale.getSection("components.routes").lmsg("hotlinkProtection",{domainName:`<b>${n.name}</b>`})}},key:({params:e})=>e.domainId}}},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"HotlinkProtectionPage"},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",alias:{kind:"Name",value:"domain"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Domain"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hosting"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"hotlinkProtection"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"extensions"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"friends"},arguments:[],directives:[]}]}}]}}]}}]}}]}}],loc:{start:0,end:318}};n.loc.source={body:"query HotlinkProtectionPage($id: ID!) {\r\n    domain: node(id: $id) {\r\n        ... on Domain {\r\n            id\r\n            hosting {\r\n                hotlinkProtection {\r\n                    isEnabled\r\n                    extensions\r\n                    friends\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.HotlinkProtectionPage=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 d=o;o=new Set,d.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,"HotlinkProtectionPage")},(e,n,i)=>{"use strict";i.r(n),i.d(n,{odbcDomainRoute:()=>u});var t=i(89),a=i(699),s=i(706),r=i(708),o=i(393),d=i(736),l=i.n(d),c=i(737),m=i.n(c);const u={path:"odbc",componentLoader:()=>i.e("components/pages/OdbcPage/OdbcDomainPage").then(i.bind(i,2233)),loader:async({params:e})=>{const n=(0,a.readGraphQlListInputFromStorage)({key:`OdbcDomainPage${e.domainId}`}),i=btoa(`Domain:${e.domainId}`);await Promise.all([o.default.query({query:m(),variables:{id:i}}),o.default.query({query:l(),variables:{id:i,input:n}})])},handle:{helpContext:"odbc_connection_config",crumb:({matchesContext:e})=>{if(!e.domainRouteData)return null;const{domain:n}=e.domainRouteData;return{title:t.Locale.getSection("components.routes").lmsg("odbcDomain",{domainName:`<b>${n.name}</b>`})}},key:({params:e})=>e.domainId},children:[s.odbcAddRoute,r.odbcEditRoute]}},(e,n,i)=>{var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"OdbcDomainList"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NamedType",name:{kind:"Name",value:"OdbcDsnConnectionListInput"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"domain"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Domain"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"odbcDsnConnections"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"OdbcList"},directives:[]}]}}]}}]}}]}}],loc:{start:0,end:338}};t.loc.source={body:'#import "./OdbcListFragment.graphql"\r\n\r\nquery OdbcDomainList(\r\n    $id: ID!\r\n    $input: OdbcDsnConnectionListInput\r\n) {\r\n    domain: node(id: $id) {\r\n        ... on Domain {\r\n            id\r\n            odbcDsnConnections(\r\n                input: $input\r\n            ) {\r\n                ...OdbcList\r\n            }\r\n        }\r\n    }\r\n}\r\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function s(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){s(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){s(e,n)})),e.definitions&&e.definitions.forEach((function(e){s(e,n)}))}t.definitions=t.definitions.concat(i(712).definitions.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)})));var r={};function o(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}}t.definitions.forEach((function(e){if(e.name){var n=new Set;s(e,n),r[e.name.value]=n}})),e.exports=t,e.exports.OdbcDomainList=function(e,n){var i={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var t=r[n]||new Set,a=new Set,s=new Set;for(t.forEach((function(e){s.add(e)}));s.size>0;){var d=s;s=new Set,d.forEach((function(e){a.has(e)||(a.add(e),(r[e]||new Set).forEach((function(e){s.add(e)})))}))}return a.forEach((function(n){var t=o(e,n);t&&i.definitions.push(t)})),i}(t,"OdbcDomainList")},(e,n,i)=>{var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"OdbcDomainPage"},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",alias:{kind:"Name",value:"domain"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Domain"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"DomainSubscriptionOdbcLimitFragment"},directives:[]}]}}]}}]}}],loc:{start:0,end:250}};t.loc.source={body:'#import "queries/DomainSubscriptionOdbcLimitFragment.graphql"\r\n\r\nquery OdbcDomainPage(\r\n    $id: ID!\r\n) {\r\n    domain: node(id: $id) {\r\n        ... on Domain {\r\n            id\r\n            ...DomainSubscriptionOdbcLimitFragment\r\n        }\r\n    }\r\n}\r\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function s(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){s(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){s(e,n)})),e.definitions&&e.definitions.forEach((function(e){s(e,n)}))}t.definitions=t.definitions.concat(i(738).definitions.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)})));var r={};function o(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}}t.definitions.forEach((function(e){if(e.name){var n=new Set;s(e,n),r[e.name.value]=n}})),e.exports=t,e.exports.OdbcDomainPage=function(e,n){var i={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var t=r[n]||new Set,a=new Set,s=new Set;for(t.forEach((function(e){s.add(e)}));s.size>0;){var d=s;s=new Set,d.forEach((function(e){a.has(e)||(a.add(e),(r[e]||new Set).forEach((function(e){s.add(e)})))}))}return a.forEach((function(n){var t=o(e,n);t&&i.definitions.push(t)})),i}(t,"OdbcDomainPage")},e=>{var n={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"DomainSubscriptionOdbcLimitFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Domain"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"subscription"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"limits"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"odbc"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"used"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"remaining"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isLimitAvailable"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:247}};n.loc.source={body:"fragment DomainSubscriptionOdbcLimitFragment on Domain {\r\n    subscription {\r\n        id\r\n        limits {\r\n            odbc {\r\n                used\r\n                remaining\r\n                isLimitAvailable\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.DomainSubscriptionOdbcLimitFragment=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 d=o;o=new Set,d.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,"DomainSubscriptionOdbcLimitFragment")},(e,n,i)=>{"use strict";i.r(n),i.d(n,{protectedDirectoriesRoute:()=>r});var t=i(89),a=i(740),s=i(747);const r={path:"protected-directories",handle:{crumb:()=>({title:t.Locale.getSection("components.routes").lmsg("protectedDirectories")}),returnUrl:({params:e})=>`/cp/domains/${e.domainId}/protected-directories`},children:[a.protectedDirectoryListRoute,s.protectedDirectoryUserListRoute]}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{protectedDirectoryListRoute:()=>c});var t=i(89),a=i(699),s=i(741),r=i(743),o=i(393),d=i(746),l=i.n(d);const c={path:"",componentLoader:()=>Promise.all([i.e("vendors"),i.e("components/pages/ProtectedDirectoryListPage")]).then(i.bind(i,2234)),loader:async({params:e})=>{const{data:n}=await o.default.query({query:l(),variables:{id:btoa(`Domain:${e.domainId}`),input:(0,a.readGraphQlListInputFromStorage)({key:`ProtectedDirectoryListPage${e.domainId}`})}});if(!n.domain.hosting)throw new Response("Not Found",{status:404})},handle:{helpContext:"client.domain.hosting.protected-directories",pageTitle:({matchesContext:e})=>{if(!e.domainRouteData)return null;const{domain:n}=e.domainRouteData;return t.Locale.getSection("components.routes").lmsg("protectedDirectoryList",{domainName:`<b>${n.name}</b>`})},key:({params:e})=>e.domainId},children:[s.protectedDirectoryAddRoute,r.protectedDirectoryEditRoute]}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{protectedDirectoryAddRoute:()=>r});var t=i(393),a=i(742),s=i.n(a);const r={path:"add",componentLoader:()=>i.e("components/pages/ProtectedDirectoryAddPage").then(i.bind(i,2244)),loader:async({params:e})=>{const{domainId:n}=e,{data:{domain:{hosting:i}}}=await t.default.query({query:s(),variables:{domainId:btoa(`Domain:${n}`)}});return{domainId:n,isProtectedDirectoryLocationSupported:i?.isProtectedDirectoryLocationSupported||!1}}}},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ProtectedDirectoryAddPage"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"domainId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"domain"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"domainId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Domain"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hosting"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isProtectedDirectoryLocationSupported"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:241}};n.loc.source={body:"query ProtectedDirectoryAddPage($domainId: ID!) {\r\n    domain: node(id: $domainId) {\r\n        ... on Domain {\r\n            id\r\n            hosting {\r\n                isProtectedDirectoryLocationSupported\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.ProtectedDirectoryAddPage=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 d=o;o=new Set,d.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,"ProtectedDirectoryAddPage")},(e,n,i)=>{"use strict";i.r(n),i.d(n,{protectedDirectoryEditRoute:()=>r});var t=i(393),a=i(744),s=i.n(a);const r={path:":protectedDirectoryId/edit",componentLoader:()=>i.e("components/pages/ProtectedDirectoryEditPage").then(i.bind(i,2248)),loader:async({params:e})=>{const{domainId:n,protectedDirectoryId:i}=e,{data:{domain:{hosting:a},protectedDirectory:r}}=await t.default.query({query:s(),variables:{id:btoa(`ProtectedDirectory:${i}`),domainId:btoa(`Domain:${n}`)}});return{domainId:n,protectedDirectoryId:i,protectedDirectory:r,isProtectedDirectoryLocationSupported:a?.isProtectedDirectoryLocationSupported||!1}}}},(e,n,i)=>{var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ProtectedDirectoryEditPage"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"domainId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{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",alias:{kind:"Name",value:"protectedDirectory"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ProtectedDirectoryEditFragment"},directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"domain"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"domainId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Domain"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hosting"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isProtectedDirectoryLocationSupported"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:403}};t.loc.source={body:'#import "queries/ProtectedDirectoryEditFragment.graphql"\r\n\r\nquery ProtectedDirectoryEditPage($domainId: ID!, $id: ID!) {\r\n    protectedDirectory: node(id: $id) {\r\n        ...ProtectedDirectoryEditFragment\r\n    }\r\n    domain: node(id: $domainId) {\r\n        ... on Domain {\r\n            id\r\n            hosting {\r\n                isProtectedDirectoryLocationSupported\r\n            }\r\n        }\r\n    }\r\n}\r\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function s(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){s(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){s(e,n)})),e.definitions&&e.definitions.forEach((function(e){s(e,n)}))}t.definitions=t.definitions.concat(i(745).definitions.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)})));var r={};function o(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}}t.definitions.forEach((function(e){if(e.name){var n=new Set;s(e,n),r[e.name.value]=n}})),e.exports=t,e.exports.ProtectedDirectoryEditPage=function(e,n){var i={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var t=r[n]||new Set,a=new Set,s=new Set;for(t.forEach((function(e){s.add(e)}));s.size>0;){var d=s;s=new Set,d.forEach((function(e){a.has(e)||(a.add(e),(r[e]||new Set).forEach((function(e){s.add(e)})))}))}return a.forEach((function(n){var t=o(e,n);t&&i.definitions.push(t)})),i}(t,"ProtectedDirectoryEditPage")},e=>{var n={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ProtectedDirectoryEditFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ProtectedDirectory"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"path"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"realm"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isNonSsl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isCgiBin"},arguments:[],directives:[]}]}}],loc:{start:0,end:125}};n.loc.source={body:"fragment ProtectedDirectoryEditFragment on ProtectedDirectory {\r\n    id\r\n    path\r\n    realm\r\n    isNonSsl\r\n    isCgiBin\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.ProtectedDirectoryEditFragment=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 d=o;o=new Set,d.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,"ProtectedDirectoryEditFragment")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ProtectedDirectoryList"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NamedType",name:{kind:"Name",value:"ProtectedDirectoryListInput"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"domain"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Domain"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hosting"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"protectedDirectories"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"path"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"realm"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"current"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"total"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pageCount"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"sortInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sortColumn"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sortDirection"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}}],loc:{start:0,end:759}};n.loc.source={body:"query ProtectedDirectoryList(\r\n    $id: ID!\r\n    $input: ProtectedDirectoryListInput\r\n) {\r\n    domain: node(id: $id) {\r\n        ... on Domain {\r\n            id\r\n            hosting {\r\n                protectedDirectories(\r\n                    input: $input\r\n                ) {\r\n                    nodes {\r\n                        id\r\n                        path\r\n                        realm\r\n                    }\r\n                    pageInfo {\r\n                        current\r\n                        total\r\n                        pageCount\r\n                    }\r\n                    sortInfo {\r\n                        sortColumn\r\n                        sortDirection\r\n                    }\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.ProtectedDirectoryList=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 d=o;o=new Set,d.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,"ProtectedDirectoryList")},(e,n,i)=>{"use strict";i.r(n),i.d(n,{protectedDirectoryUserListRoute:()=>u});var t=i(89),a=i(699),s=i(393),r=i(748),o=i(750),d=i(751),l=i.n(d),c=i(749),m=i.n(c);const u={path:":directoryId/users",componentLoader:()=>i.e("components/pages/ProtectedDirectoryUserListPage").then(i.bind(i,2251)),loader:async({params:e})=>{const n=btoa(`ProtectedDirectory:${e.directoryId}`),[{data:i}]=await Promise.all([s.default.query({query:m(),variables:{id:n}}),s.default.query({query:l(),variables:{id:n,input:(0,a.readGraphQlListInputFromStorage)({key:`ProtectedDirectoryUserListPage${e.directoryId}`})}})]);return i},handle:{helpContext:"client.domain.hosting.protected-directories",crumb:({data:e})=>{const{protectedDirectory:n}=e;return[{title:t.Locale.getSection("components.routes").lmsg("protectedDirectoryUserList",{directory:`/${n.path}`})}]}},children:[r.protectedDirectoryUserAddRoute,o.protectedDirectoryUserPasswordRoute]}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{protectedDirectoryUserAddRoute:()=>r});var t=i(393),a=i(749),s=i.n(a);const r={path:"add",componentLoader:()=>i.e("components/pages/ProtectedDirectoryUserAddPage").then(i.bind(i,2256)),loader:async({params:e})=>{const{data:n}=await t.default.query({query:s(),variables:{id:btoa(`ProtectedDirectory:${e.directoryId}`)}});return n}}},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ProtectedDirectoryPath"},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",alias:{kind:"Name",value:"protectedDirectory"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ProtectedDirectory"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"path"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:175}};n.loc.source={body:"query ProtectedDirectoryPath($id: ID!) {\r\n    protectedDirectory: node(id: $id) {\r\n        ... on ProtectedDirectory {\r\n            id\r\n            path\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.ProtectedDirectoryPath=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 d=o;o=new Set,d.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,"ProtectedDirectoryPath")},(e,n,i)=>{"use strict";i.r(n),i.d(n,{protectedDirectoryUserPasswordRoute:()=>s});var t=i(495),a=i(393);const s={path:":userId/password",componentLoader:()=>i.e("components/pages/ProtectedDirectoryUserPasswordPage").then(i.bind(i,2259)),loader:async({params:e})=>{const{data:n}=await a.default.query({query:t.gql`
                query ($id: ID!) {
                    protectedDirectoryUser: node(id: $id) {
                        ... on ProtectedDirectoryUser { id login }
                    }
                }
            `,variables:{id:btoa(`ProtectedDirectoryUser:${e.userId}`)}});return n}}},(e,n,i)=>{var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ProtectedDirectoryUserList"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NamedType",name:{kind:"Name",value:"ProtectedDirectoryUserListInput"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"protectedDirectory"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ProtectedDirectory"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"users"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ProtectedDirectoryUserListFragment"},directives:[]}]}}]}}]}}]}}],loc:{start:0,end:385}};t.loc.source={body:'#import "queries/ProtectedDirectoryUserListFragment.graphql"\r\n\r\nquery ProtectedDirectoryUserList(\r\n    $id: ID!,\r\n    $input: ProtectedDirectoryUserListInput\r\n) {\r\n    protectedDirectory: node(id: $id) {\r\n        ... on ProtectedDirectory {\r\n            id\r\n            users(input: $input) {\r\n                ...ProtectedDirectoryUserListFragment\r\n            }\r\n        }\r\n    }\r\n}\r\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function s(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){s(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){s(e,n)})),e.definitions&&e.definitions.forEach((function(e){s(e,n)}))}t.definitions=t.definitions.concat(i(752).definitions.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)})));var r={};function o(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}}t.definitions.forEach((function(e){if(e.name){var n=new Set;s(e,n),r[e.name.value]=n}})),e.exports=t,e.exports.ProtectedDirectoryUserList=function(e,n){var i={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var t=r[n]||new Set,a=new Set,s=new Set;for(t.forEach((function(e){s.add(e)}));s.size>0;){var d=s;s=new Set,d.forEach((function(e){a.has(e)||(a.add(e),(r[e]||new Set).forEach((function(e){s.add(e)})))}))}return a.forEach((function(n){var t=o(e,n);t&&i.definitions.push(t)})),i}(t,"ProtectedDirectoryUserList")},e=>{var n={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ProtectedDirectoryUserListFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ProtectedDirectoryUserList"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"current"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"total"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pageCount"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"sortInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sortColumn"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sortDirection"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:267}};n.loc.source={body:"fragment ProtectedDirectoryUserListFragment on ProtectedDirectoryUserList {\r\n    nodes {\r\n        id\r\n        login\r\n    }\r\n    pageInfo {\r\n        current\r\n        total\r\n        pageCount\r\n    }\r\n    sortInfo {\r\n        sortColumn\r\n        sortDirection\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.ProtectedDirectoryUserListFragment=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 d=o;o=new Set,d.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,"ProtectedDirectoryUserListFragment")},(e,n,i)=>{"use strict";i.r(n),i.d(n,{virtualDirectoryRoute:()=>V});var t=i(575),a=i(393),s=i(699),r=i(89),o=i(716),d=i(754),l=i(748),c=i(750),m=i(743),u=i(758),p=i.n(u),v=i(760),f=i.n(v),h=i(757),g=i.n(h),k=i(761),_=i.n(k),S=i(762),b=i.n(S),y=i(763),N=i.n(y),E=i(764),w=i.n(E),D=i(765),F=i.n(D),P=i(766),C=i.n(P),I=i(730),T=i.n(I),x=i(767),L=i.n(x),O=i(768),A=i.n(O),q=i(769),M=i.n(q),R=i(770),B=i.n(R),U=i(270);const j=[{path:":directoryName?/edit-virtual-directory",componentLoader:()=>Promise.all([i.e("vendors"),i.e("components/pages/VirtualDirectoryPage/EditVirtualDirectoryPage")]).then(i.bind(i,2262)),loader:async({request:{url:e},params:{domainId:n,directoryName:i}})=>{const t=btoa(`Domain:${n}`),s=new URL(e).searchParams.get("path")||"/",r=i?`${s.replace(/\/$/,"")}/${i}`:s,{data:d}=await a.default.query({query:f(),variables:{domainNodeId:t,path:r},fetchPolicy:"network-only"});return{path:r,isCurrentDirectory:!i,subscriptionId:(0,o.getId)(d.domain.subscription.id),isAspEnabled:d.domain.webScriptingSettings.asp,virtualDirectory:d.domain.hosting.virtualDirectory}}},{path:"asp-dot-net",componentLoader:()=>Promise.all([i.e("vendors"),i.e("components/pages/VirtualDirectoryPage/AspDotNetSettingsPage")]).then(i.bind(i,2289)),loader:async({request:{url:e},params:{domainId:n}})=>{const i=new URL(e).searchParams.get("path")||"/",{data:t}=await a.default.query({query:T(),variables:{id:btoa(`Domain:${n}`),webPath:i}});if(!t.domain.webScriptingSettings?.aspDotNet||!t.domain.aspNetSettings?.configs.length)throw new Response("Not Found",{status:404})}},{path:"permissions",componentLoader:()=>Promise.all([i.e("vendors"),i.e("components/pages/VirtualDirectoryPage/PermissionsPage")]).then(i.bind(i,2290))},{path:"php",componentLoader:()=>Promise.all([i.e("vendors"),i.e("components/pages/VirtualDirectoryPage/PhpVersionPage")]).then(i.bind(i,2291)),loader:async({request:{url:e},params:{domainId:n}})=>{const i=new URL(e).searchParams.get("path")||"/",{data:t}=await a.default.query({query:L(),variables:{domainId:btoa(`Domain:${n}`),path:i}});if(!t.domain.subscription.permissions.managePhpVersion||!t.domain.hosting?.virtualDirectory?.isVirtual)throw new Response("Not Found",{status:404})}}],V={path:"virtual-directory",componentLoader:()=>i.e("components/pages/VirtualDirectoryPage").then(i.bind(i,2294)),loader:async({request:{url:e},params:{domainId:n}})=>{const i=btoa(`Domain:${n}`),t=new URL(e).searchParams.get("path")||"/",{data:s}=await a.default.query({query:g(),variables:{domainId:i,path:t}});if(!s.domain.hosting)throw new Response("Not Found",{status:404})},handle:{helpContext:"client.domain.hosting.web-directories",crumb:()=>({title:r.Locale.getSection("components.routes").lmsg("virtualDirectories")}),pageTitle:({matchesContext:e,location:{search:n}})=>{if(!e.domainRouteData)return null;const{domain:i}=e.domainRouteData,t=new URLSearchParams(n).get("path")||"/";return r.Locale.getSection("components.routes").lmsg("virtualDirectoryDomain",{path:t,domainName:`<b>${i.name}</b>`})},key:({params:e})=>{const n=new URL(window.location.toString()).searchParams.get("path")||"/";return`${e.domainId}${n}`},secondary:({location:{search:e},params:{domainId:n}})=>(0,U.jsx)(d.default,{domainId:n,path:new URLSearchParams(e).get("path")||"/"})},children:[{index:!0,loader:({request:e})=>{const n=new URL(e.url);return n.pathname=`${n.pathname}/browse`,(0,t.redirect)(n.toString())}},{path:"browse",componentLoader:()=>i.e("components/pages/VirtualDirectoryPage/Browse").then(i.bind(i,2296)),loader:async({request:{url:e},params:{domainId:n}})=>{const i=btoa(`Domain:${n}`),t=new URL(e).searchParams.get("path")||"/";await Promise.all([a.default.query({query:_(),variables:{domainId:i,path:t}}),a.default.query({query:C(),variables:{domainId:i,path:t,input:(0,s.readGraphQlListInputFromStorage)({key:`VirtualDirectoryPage${n}`})}})])},children:[...j,{path:"create-directory",componentLoader:()=>i.e("components/pages/VirtualDirectoryPage/CreateDirectoryPage").then(i.bind(i,2301))},{path:"create-virtual-directory",componentLoader:()=>Promise.all([i.e("vendors"),i.e("components/pages/VirtualDirectoryPage/CreateVirtualDirectoryPage")]).then(i.bind(i,2304)),loader:async({request:{url:e},params:{domainId:n}})=>{const i=btoa(`Domain:${n}`),t=new URL(e).searchParams.get("path")||"/",{data:s}=await a.default.query({query:p(),variables:{domainId:i,parentPath:t},fetchPolicy:"network-only"});return{subscriptionId:(0,o.getId)(s.domain.subscription.id),isAspEnabled:s.domain.webScriptingSettings.asp,parentDirectory:s.domain.hosting.parentDirectory}}}]},{path:"protection",componentLoader:()=>Promise.all([i.e("vendors"),i.e("components/pages/VirtualDirectoryPage/Protection")]).then(i.bind(i,2308)),loader:async({request:{url:e},params:{domainId:n}})=>{const i=btoa(`Domain:${n}`),t=new URL(e).searchParams.get("path")||"/",r=`VirtualDirectoryProtectionUserListPage${n}${t}`;return await Promise.all([a.default.query({query:b(),variables:{domainId:i,path:t}}),a.default.query({query:N(),variables:{domainId:i,path:t,input:(0,s.readGraphQlListInputFromStorage)({key:r})}})]),{userListKey:r}},children:[...j,{...m.protectedDirectoryEditRoute,componentLoader:()=>i.e("components/pages/VirtualDirectoryPage/ProtectionSettingsPage").then(i.bind(i,2315))},{...l.protectedDirectoryUserAddRoute,path:":directoryId/add-user"},c.protectedDirectoryUserPasswordRoute]},{path:"mime-types",componentLoader:()=>Promise.all([i.e("vendors"),i.e("components/pages/VirtualDirectoryPage/MimeTypeList")]).then(i.bind(i,2317)),loader:async({request:{url:e},params:{domainId:n}})=>{const i=btoa(`Domain:${n}`),t=new URL(e).searchParams.get("path")||"/",r=`VirtualDirectoryMimeTypeList${n}${t}`;return await a.default.query({query:w(),variables:{domainId:i,path:t,input:(0,s.readGraphQlListInputFromStorage)({key:r})}}),{mimeTypeListKey:r}},children:[...j,{path:"create",componentLoader:()=>Promise.all([i.e("vendors"),i.e("components/pages/VirtualDirectoryPage/CreateMimeTypePage")]).then(i.bind(i,2321)),loader:async()=>{await a.default.query({query:A()})}},{path:":extension/edit",componentLoader:()=>Promise.all([i.e("vendors"),i.e("components/pages/VirtualDirectoryPage/EditMimeTypePage")]).then(i.bind(i,2327)),loader:async({request:{url:e},params:{domainId:n,extension:i}})=>{const[{data:t}]=await Promise.all([a.default.query({query:M(),variables:{domainId:btoa(`Domain:${n}`),path:new URL(e).searchParams.get("path")||"/",extension:i}}),a.default.query({query:A()})]);return{mimeType:t.domain.hosting.virtualDirectory.mimeType}}}]},{path:"error-docs",componentLoader:()=>i.e("components/pages/VirtualDirectoryPage/ErrorDocList").then(i.bind(i,2330)),loader:async({request:{url:e},params:{domainId:n}})=>{const i=new URL(e).searchParams.get("path")||"/",t=`VirtualDirectoryErrorDocList${n}${i}`;return await a.default.query({query:F(),variables:{domainId:btoa(`Domain:${n}`),path:i,input:(0,s.readGraphQlListInputFromStorage)({key:t})}}),{errorDocListKey:t}},children:[...j,{path:":code/edit",componentLoader:()=>i.e("components/pages/VirtualDirectoryPage/EditErrorDocPage").then(i.bind(i,2332)),loader:async({request:{url:e},params:{domainId:n,code:i}})=>{const{data:t}=await a.default.query({query:B(),variables:{domainId:btoa(`Domain:${n}`),path:new URL(e).searchParams.get("path")||"/",code:i}});return{errorDoc:t.domain.hosting.virtualDirectory.errorDoc}}}]}]}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>g});var t=i(272),a=i.n(t),s=i(574),r=i(271),o=i(755),d=i(633),l=i(756),c=i(89),m=i(757),u=i.n(m),p=i(579),v=i(270);const f=c.Locale.getTranslate("components.pages.VirtualDirectory"),h=({path:e,domainId:n})=>{const i=(0,s.useLocation)(),{data:{domain:{webScriptingSettings:{aspDotNet:t,php:a},hosting:{virtualDirectory:{isVirtual:c,canManagePermissions:m}},subscription:{permissions:{managePhpVersion:h}}},capability:{packages:{isASPdotNetInstalled:g,isPhpInstalled:k}}}}=(0,p.useQuery)(u(),{variables:{domainId:btoa(`Domain:${n}`),path:e}}),_=i.pathname,S=c,b=m,y=t&&g,N=c&&k&&a&&h;return S||b||y||N?(0,v.jsx)(o.default,{id:"panel-virtualDirectory",children:(0,v.jsxs)(r.ItemList,{children:[S&&(0,v.jsx)(r.Item,{id:"buttonProperties",icon:(0,v.jsx)(r.Icon,{name:"pencil",size:"16"}),component:d.default,to:(0,l.buildUrl)(`${_}/edit-virtual-directory`,{path:e}),preventScrollReset:!0,tooltip:(0,v.jsx)(f,{content:"buttonPropertiesHint"}),children:(0,v.jsx)(f,{content:"buttonProperties"})}),b&&(0,v.jsx)(r.Item,{id:"buttonPermissions",icon:(0,v.jsx)(r.Icon,{name:"lock-closed-check",size:"16"}),component:d.default,to:(0,l.buildUrl)(`${_}/permissions`,{path:e}),preventScrollReset:!0,tooltip:(0,v.jsx)(f,{content:"buttonPermissionsHint"}),children:(0,v.jsx)(f,{content:"buttonPermissions"})}),y&&(0,v.jsx)(r.Item,{id:"buttonAspDotNet",icon:(0,v.jsx)(r.Icon,{name:"microsoft",size:"16"}),component:d.default,to:(0,l.buildUrl)(`${_}/asp-dot-net`,{path:e}),preventScrollReset:!0,tooltip:(0,v.jsx)(f,{content:"buttonAspDotNetHint"}),children:(0,v.jsx)(f,{content:"buttonAspDotNet"})}),N&&(0,v.jsx)(r.Item,{id:"buttonPhp",icon:(0,v.jsx)(r.Icon,{name:"php",size:"16"}),component:d.default,to:(0,l.buildUrl)(`${_}/php`,{path:e}),preventScrollReset:!0,tooltip:(0,v.jsx)(f,{content:"buttonPhpHint"}),children:(0,v.jsx)(f,{content:"buttonPhp"})})]})}):null};h.propTypes={path:a().string.isRequired,domainId:a().string.isRequired};const g=h},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>m});var t=i(272),a=i.n(t),s=i(598),r=i.n(s),o=i(599),d=i(271),l=i(270);const c=({baseClassName:e="side-panel",className:n,id:i,title:t,children:a,...s})=>{const[c,m]=(0,o.useLocalStorage)(`${i}-hidden`);return(0,l.jsx)(d.Panel,{className:r()(e,n),id:i,title:t?(0,l.jsx)(d.Heading,{level:4,children:t}):null,collapsible:!!i,collapsed:!!t&&"true"===c,onToggle:()=>m("true"===c?"false":"true"),...s,children:a})};c.propTypes={id:a().string,title:a().any,children:a().any.isRequired,className:a().string,baseClassName:a().string};const m=c},(e,n,i)=>{"use strict";i.r(n),i.d(n,{buildUrl:()=>t});const t=(e,n={})=>{const i=new URLSearchParams;Object.entries(n).filter((([,e])=>null!==e)).forEach((([e,n])=>i.append(e,`${n}`)));const t=i.toString();return`${e}${t?`?${t}`:""}`}},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"VirtualDirectoryPage"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"domainId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"path"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"domain"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"domainId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Domain"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"webScriptingSettings"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"aspDotNet"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"php"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"errorDocs"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"hosting"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"virtualDirectory"},arguments:[{kind:"Argument",name:{kind:"Name",value:"path"},value:{kind:"Variable",name:{kind:"Name",value:"path"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"baseName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"dirName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isVirtual"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"doesExist"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isReadable"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"canManagePermissions"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"subscription"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"permissions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"managePhpVersion"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"manageProtectedDirectories"},arguments:[],directives:[]}]}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"capability"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"packages"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isASPdotNetInstalled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isPhpInstalled"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:939}};n.loc.source={body:"query VirtualDirectoryPage(\r\n    $domainId: ID!,\r\n    $path: String!\r\n) {\r\n    domain: node(id: $domainId) {\r\n        ... on Domain {\r\n            id\r\n            name\r\n            webScriptingSettings {\r\n                aspDotNet\r\n                php\r\n                errorDocs\r\n            }\r\n            hosting {\r\n                virtualDirectory(path: $path) {\r\n                    key\r\n                    baseName\r\n                    dirName\r\n                    isVirtual\r\n                    doesExist\r\n                    isReadable\r\n                    canManagePermissions\r\n                }\r\n            }\r\n            subscription {\r\n                permissions {\r\n                    managePhpVersion\r\n                    manageProtectedDirectories\r\n                }\r\n            }\r\n        }\r\n    }\r\n    capability {\r\n        packages {\r\n            isASPdotNetInstalled\r\n            isPhpInstalled\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.VirtualDirectoryPage=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 d=o;o=new Set,d.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,"VirtualDirectoryPage")},(e,n,i)=>{var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"CreateVirtualDirectoryPage"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"domainId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"parentPath"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"domain"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"domainId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Domain"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"subscription"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"webScriptingSettings"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"asp"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"hosting"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"parentDirectory"},name:{kind:"Name",value:"virtualDirectory"},arguments:[{kind:"Argument",name:{kind:"Name",value:"path"},value:{kind:"Variable",name:{kind:"Name",value:"parentPath"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"VirtualDirectoryParentContentFragment"},directives:[]},{kind:"Field",name:{kind:"Name",value:"properties"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"aspBufferingLimit"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"aspMaxRequestEntityAllowed"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"aspEnableServerDebug"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"aspEnableClientDebug"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}}],loc:{start:0,end:823}};t.loc.source={body:'#import "queries/VirtualDirectoryParentContentFragment.graphql"\r\n\r\nquery CreateVirtualDirectoryPage(\r\n    $domainId: ID!,\r\n    $parentPath: String!,\r\n) {\r\n    domain: node(id: $domainId) {\r\n        ... on Domain {\r\n            id\r\n            subscription {\r\n                id\r\n            }\r\n            webScriptingSettings {\r\n                asp\r\n            }\r\n            hosting {\r\n                parentDirectory: virtualDirectory (path: $parentPath) {\r\n                    ...VirtualDirectoryParentContentFragment\r\n                    properties {\r\n                        aspBufferingLimit\r\n                        aspMaxRequestEntityAllowed\r\n                        aspEnableServerDebug\r\n                        aspEnableClientDebug\r\n                    }\r\n                }\r\n            }\r\n        }\r\n    }\r\n}\r\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function s(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){s(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){s(e,n)})),e.definitions&&e.definitions.forEach((function(e){s(e,n)}))}t.definitions=t.definitions.concat(i(759).definitions.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)})));var r={};function o(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}}t.definitions.forEach((function(e){if(e.name){var n=new Set;s(e,n),r[e.name.value]=n}})),e.exports=t,e.exports.CreateVirtualDirectoryPage=function(e,n){var i={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var t=r[n]||new Set,a=new Set,s=new Set;for(t.forEach((function(e){s.add(e)}));s.size>0;){var d=s;s=new Set,d.forEach((function(e){a.has(e)||(a.add(e),(r[e]||new Set).forEach((function(e){s.add(e)})))}))}return a.forEach((function(n){var t=o(e,n);t&&i.definitions.push(t)})),i}(t,"CreateVirtualDirectoryPage")},e=>{var n={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"VirtualDirectoryParentContentFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"VirtualDirectory"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"content"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:168}};n.loc.source={body:"fragment VirtualDirectoryParentContentFragment on VirtualDirectory {\r\n    key\r\n    content {\r\n        nodes {\r\n            name\r\n            type\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.VirtualDirectoryParentContentFragment=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 d=o;o=new Set,d.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,"VirtualDirectoryParentContentFragment")},(e,n,i)=>{var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"EditVirtualDirectoryPage"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"domainNodeId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"path"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"domain"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"domainNodeId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Domain"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"subscription"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"webScriptingSettings"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"asp"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"hosting"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"virtualDirectory"},arguments:[{kind:"Argument",name:{kind:"Name",value:"path"},value:{kind:"Variable",name:{kind:"Name",value:"path"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"parent"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"key"},arguments:[],directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"VirtualDirectoryParentContentFragment"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"properties"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isRoot"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isEditable"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"path"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"accessSource"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"accessRead"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"accessWrite"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"enableDirBrowsing"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"dontLog"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"appCreate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"scriptExecute"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"aspEnableParentPaths"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"aspExecuteInMTA"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"authAnonymous"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"authNTLM"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"requireSSL"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"aspBufferingLimit"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"aspBufferingLimitInherited"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"aspBufferingLimitDefault"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"aspMaxRequestEntityAllowed"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"aspMaxRequestEntityAllowedInherited"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"aspMaxRequestEntityAllowedDefault"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"aspEnableServerDebug"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"aspEnableServerDebugInherited"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"aspEnableServerDebugDefault"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"aspEnableClientDebug"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"aspEnableClientDebugInherited"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"aspEnableClientDebugDefault"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"enableDefaultDoc"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"defaultDocs"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}}],loc:{start:0,end:2013}};t.loc.source={body:'#import "queries/VirtualDirectoryParentContentFragment.graphql"\r\n\r\nquery EditVirtualDirectoryPage(\r\n    $domainNodeId: ID!,\r\n    $path: String!,\r\n) {\r\n    domain: node(id: $domainNodeId) {\r\n        ... on Domain {\r\n            id\r\n            subscription {\r\n                id\r\n            }\r\n            webScriptingSettings {\r\n                asp\r\n            }\r\n            hosting {\r\n                virtualDirectory (path: $path) {\r\n                    key\r\n                    parent {\r\n                        key\r\n                        ...VirtualDirectoryParentContentFragment\r\n                    }\r\n                    properties {\r\n                        isRoot\r\n                        isEditable\r\n                        name\r\n                        path\r\n                        accessSource\r\n                        accessRead\r\n                        accessWrite\r\n                        enableDirBrowsing\r\n                        dontLog\r\n                        appCreate\r\n                        scriptExecute\r\n                        aspEnableParentPaths\r\n                        aspExecuteInMTA\r\n                        authAnonymous\r\n                        authNTLM\r\n                        requireSSL\r\n                        aspBufferingLimit\r\n                        aspBufferingLimitInherited\r\n                        aspBufferingLimitDefault\r\n                        aspMaxRequestEntityAllowed\r\n                        aspMaxRequestEntityAllowedInherited\r\n                        aspMaxRequestEntityAllowedDefault\r\n                        aspEnableServerDebug\r\n                        aspEnableServerDebugInherited\r\n                        aspEnableServerDebugDefault\r\n                        aspEnableClientDebug\r\n                        aspEnableClientDebugInherited\r\n                        aspEnableClientDebugDefault\r\n                        enableDefaultDoc\r\n                        defaultDocs\r\n                    }\r\n                }\r\n            }\r\n        }\r\n    }\r\n}\r\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function s(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){s(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){s(e,n)})),e.definitions&&e.definitions.forEach((function(e){s(e,n)}))}t.definitions=t.definitions.concat(i(759).definitions.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)})));var r={};function o(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}}t.definitions.forEach((function(e){if(e.name){var n=new Set;s(e,n),r[e.name.value]=n}})),e.exports=t,e.exports.EditVirtualDirectoryPage=function(e,n){var i={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var t=r[n]||new Set,a=new Set,s=new Set;for(t.forEach((function(e){s.add(e)}));s.size>0;){var d=s;s=new Set,d.forEach((function(e){a.has(e)||(a.add(e),(r[e]||new Set).forEach((function(e){s.add(e)})))}))}return a.forEach((function(n){var t=o(e,n);t&&i.definitions.push(t)})),i}(t,"EditVirtualDirectoryPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"VirtualDirectoryBrowsePage"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"domainId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"path"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"domain"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"domainId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Domain"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hosting"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"virtualDirectory"},arguments:[{kind:"Argument",name:{kind:"Name",value:"path"},value:{kind:"Variable",name:{kind:"Name",value:"path"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"doesExist"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isVirtual"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isWritable"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isAccessible"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"subscription"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"permissions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"manageProtectedDirectories"},arguments:[],directives:[]}]}}]}}]}}]}}]}}],loc:{start:0,end:596}};n.loc.source={body:"query VirtualDirectoryBrowsePage(\r\n    $domainId: ID!,\r\n    $path: String!\r\n) {\r\n    domain: node(id: $domainId) {\r\n        ... on Domain {\r\n            id\r\n            name\r\n            hosting {\r\n                virtualDirectory(path: $path) {\r\n                    key\r\n                    doesExist\r\n                    isVirtual\r\n                    isWritable\r\n                    isAccessible\r\n                }\r\n            }\r\n            subscription {\r\n                permissions {\r\n                    manageProtectedDirectories\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.VirtualDirectoryBrowsePage=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 d=o;o=new Set,d.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,"VirtualDirectoryBrowsePage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"VirtualDirectoryProtectionPage"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"domainId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"path"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"domain"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"domainId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Domain"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hosting"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"virtualDirectory"},arguments:[{kind:"Argument",name:{kind:"Name",value:"path"},value:{kind:"Variable",name:{kind:"Name",value:"path"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"webDirName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"protectedDirectory"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"path"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"isValidForProtection"},arguments:[],directives:[]}]}}]}}]}}]}}]}}],loc:{start:0,end:510}};n.loc.source={body:"query VirtualDirectoryProtectionPage(\r\n    $domainId: ID!,\r\n    $path: String!\r\n) {\r\n    domain: node(id: $domainId) {\r\n        ... on Domain {\r\n            id\r\n            hosting {\r\n                virtualDirectory(path: $path) {\r\n                    key\r\n                    webDirName\r\n                    protectedDirectory {\r\n                        id\r\n                        path\r\n                    }\r\n                    isValidForProtection\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.VirtualDirectoryProtectionPage=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 d=o;o=new Set,d.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,"VirtualDirectoryProtectionPage")},(e,n,i)=>{var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"VirtualDirectoryProtectionUserList"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"domainId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"path"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NamedType",name:{kind:"Name",value:"ProtectedDirectoryUserListInput"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"domain"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"domainId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Domain"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hosting"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"virtualDirectory"},arguments:[{kind:"Argument",name:{kind:"Name",value:"path"},value:{kind:"Variable",name:{kind:"Name",value:"path"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"protectedDirectory"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"users"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ProtectedDirectoryUserListFragment"},directives:[]}]}}]}}]}}]}}]}}]}}]}}],loc:{start:0,end:665}};t.loc.source={body:'#import "queries/ProtectedDirectoryUserListFragment.graphql"\r\n\r\nquery VirtualDirectoryProtectionUserList(\r\n    $domainId: ID!,\r\n    $path: String!,\r\n    $input: ProtectedDirectoryUserListInput,\r\n) {\r\n    domain: node(id: $domainId) {\r\n        ... on Domain {\r\n            id  \r\n            hosting {\r\n                virtualDirectory(path: $path) {\r\n                    key\r\n                    protectedDirectory {\r\n                        id\r\n                        users(input: $input) {\r\n                            ...ProtectedDirectoryUserListFragment\r\n                        }\r\n                    }\r\n                }\r\n            }\r\n        }\r\n    }\r\n}\r\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function s(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){s(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){s(e,n)})),e.definitions&&e.definitions.forEach((function(e){s(e,n)}))}t.definitions=t.definitions.concat(i(752).definitions.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)})));var r={};function o(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}}t.definitions.forEach((function(e){if(e.name){var n=new Set;s(e,n),r[e.name.value]=n}})),e.exports=t,e.exports.VirtualDirectoryProtectionUserList=function(e,n){var i={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var t=r[n]||new Set,a=new Set,s=new Set;for(t.forEach((function(e){s.add(e)}));s.size>0;){var d=s;s=new Set,d.forEach((function(e){a.has(e)||(a.add(e),(r[e]||new Set).forEach((function(e){s.add(e)})))}))}return a.forEach((function(n){var t=o(e,n);t&&i.definitions.push(t)})),i}(t,"VirtualDirectoryProtectionUserList")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"VirtualDirectoryMimeTypeList"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"domainId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"path"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NamedType",name:{kind:"Name",value:"VirtualDirectoryMimeTypeListInput"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"domain"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"domainId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Domain"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hosting"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"virtualDirectory"},arguments:[{kind:"Argument",name:{kind:"Name",value:"path"},value:{kind:"Variable",name:{kind:"Name",value:"path"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mimeTypes"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"extension"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"content"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"current"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"total"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pageCount"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"sortInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sortColumn"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sortDirection"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}}]}}],loc:{start:0,end:889}};n.loc.source={body:"query VirtualDirectoryMimeTypeList(\r\n    $domainId: ID!,\r\n    $path: String!,\r\n    $input: VirtualDirectoryMimeTypeListInput,\r\n) {\r\n    domain: node(id: $domainId) {\r\n        ... on Domain {\r\n            id  \r\n            hosting {\r\n                virtualDirectory(path: $path) {\r\n                    key\r\n                    mimeTypes(input: $input) {\r\n                        nodes {\r\n                            extension\r\n                            content\r\n                        }\r\n                        pageInfo {\r\n                            current\r\n                            total\r\n                            pageCount\r\n                        }\r\n                        sortInfo {\r\n                            sortColumn\r\n                            sortDirection\r\n                        }\r\n                    }\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.VirtualDirectoryMimeTypeList=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 d=o;o=new Set,d.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,"VirtualDirectoryMimeTypeList")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"VirtualDirectoryErrorDocList"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"domainId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"path"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NamedType",name:{kind:"Name",value:"VirtualDirectoryErrorDocListInput"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"domain"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"domainId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Domain"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hosting"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"virtualDirectory"},arguments:[{kind:"Argument",name:{kind:"Name",value:"path"},value:{kind:"Variable",name:{kind:"Name",value:"path"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"errorDocs"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"location"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"current"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"total"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pageCount"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"sortInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sortColumn"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sortDirection"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}}]}}],loc:{start:0,end:953}};n.loc.source={body:"query VirtualDirectoryErrorDocList(\r\n    $domainId: ID!,\r\n    $path: String!,\r\n    $input: VirtualDirectoryErrorDocListInput,\r\n) {\r\n    domain: node(id: $domainId) {\r\n        ... on Domain {\r\n            id  \r\n            hosting {\r\n                virtualDirectory(path: $path) {\r\n                    key\r\n                    errorDocs(input: $input) {\r\n                        nodes {\r\n                            code\r\n                            name\r\n                            type\r\n                            location\r\n                        }\r\n                        pageInfo {\r\n                            current\r\n                            total\r\n                            pageCount\r\n                        }\r\n                        sortInfo {\r\n                            sortColumn\r\n                            sortDirection\r\n                        }\r\n                    }\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.VirtualDirectoryErrorDocList=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 d=o;o=new Set,d.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,"VirtualDirectoryErrorDocList")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"VirtualDirectoryContentList"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"domainId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"path"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NamedType",name:{kind:"Name",value:"VirtualDirectoryContentListInput"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"domain"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"domainId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Domain"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hosting"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"virtualDirectory"},arguments:[{kind:"Argument",name:{kind:"Name",value:"path"},value:{kind:"Variable",name:{kind:"Name",value:"path"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"content"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fileType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isProtected"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isReserved"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"canManagePermissions"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"doesExist"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"baseName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"dirName"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"current"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"total"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pageCount"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"sortInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sortColumn"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sortDirection"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}}]}}],loc:{start:0,end:1157}};n.loc.source={body:"query VirtualDirectoryContentList(\r\n    $domainId: ID!,\r\n    $path: String!,\r\n    $input: VirtualDirectoryContentListInput\r\n) {\r\n    domain: node(id: $domainId) {\r\n        ... on Domain {\r\n            id\r\n            hosting {\r\n                virtualDirectory(path: $path) {\r\n                    key\r\n                    content(input: $input) {\r\n                        nodes {\r\n                            name\r\n                            type\r\n                            fileType\r\n                            isProtected\r\n                            isReserved\r\n                            canManagePermissions\r\n                            doesExist\r\n                            baseName\r\n                            dirName\r\n                        }\r\n                        pageInfo {\r\n                            current\r\n                            total\r\n                            pageCount\r\n                        }\r\n                        sortInfo {\r\n                            sortColumn\r\n                            sortDirection\r\n                        }\r\n                    }\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.VirtualDirectoryContentList=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 d=o;o=new Set,d.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,"VirtualDirectoryContentList")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"VirtualDirectoryPhpPage"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"domainId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"path"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"domain"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"domainId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Domain"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hosting"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"virtualDirectory"},arguments:[{kind:"Argument",name:{kind:"Name",value:"path"},value:{kind:"Variable",name:{kind:"Name",value:"path"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isVirtual"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"phpVersion"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"version"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fullVersion"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"availablePhpVersions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"version"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fullVersion"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"subscription"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"permissions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"managePhpVersion"},arguments:[],directives:[]}]}}]}}]}}]}}]}}],loc:{start:0,end:732}};n.loc.source={body:"query VirtualDirectoryPhpPage(\r\n    $domainId: ID!,\r\n    $path: String!\r\n) {\r\n    domain: node(id: $domainId) {\r\n        ... on Domain {\r\n            id\r\n            hosting {\r\n                virtualDirectory(path: $path) {\r\n                    key\r\n                    isVirtual\r\n                    phpVersion {\r\n                        version\r\n                        fullVersion\r\n                    }\r\n                    availablePhpVersions {\r\n                        version\r\n                        fullVersion\r\n                    }\r\n                }\r\n            }\r\n            subscription {\r\n                permissions {\r\n                    managePhpVersion\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.VirtualDirectoryPhpPage=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 d=o;o=new Set,d.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,"VirtualDirectoryPhpPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"IisManagerMimeContentTypes"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"iisManager"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"mimeContentTypes"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:90}};n.loc.source={body:"query IisManagerMimeContentTypes {\r\n    iisManager {\r\n        mimeContentTypes\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.IisManagerMimeContentTypes=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 d=o;o=new Set,d.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,"IisManagerMimeContentTypes")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"VirtualDirectoryEditMimeTypePage"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"domainId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"path"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"extension"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"domain"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"domainId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Domain"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hosting"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"virtualDirectory"},arguments:[{kind:"Argument",name:{kind:"Name",value:"path"},value:{kind:"Variable",name:{kind:"Name",value:"path"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mimeType"},arguments:[{kind:"Argument",name:{kind:"Name",value:"extension"},value:{kind:"Variable",name:{kind:"Name",value:"extension"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"extension"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"content"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}}],loc:{start:0,end:488}};n.loc.source={body:"query VirtualDirectoryEditMimeTypePage(\r\n    $domainId: ID!,\r\n    $path: String!,\r\n    $extension: String!,\r\n) {\r\n    domain: node(id: $domainId) {\r\n        ... on Domain {\r\n            id\r\n            hosting {\r\n                virtualDirectory(path: $path) {\r\n                    key\r\n                    mimeType(extension: $extension) {\r\n                        extension\r\n                        content\r\n                    }\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.VirtualDirectoryEditMimeTypePage=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 d=o;o=new Set,d.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,"VirtualDirectoryEditMimeTypePage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"VirtualDirectoryEditErrorDocPage"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"domainId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"path"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"code"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"domain"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"domainId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Domain"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hosting"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"virtualDirectory"},arguments:[{kind:"Argument",name:{kind:"Name",value:"path"},value:{kind:"Variable",name:{kind:"Name",value:"path"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"errorDoc"},arguments:[{kind:"Argument",name:{kind:"Name",value:"code"},value:{kind:"Variable",name:{kind:"Name",value:"code"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"location"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}}],loc:{start:0,end:531}};n.loc.source={body:"query VirtualDirectoryEditErrorDocPage(\r\n    $domainId: ID!,\r\n    $path: String!,\r\n    $code: String!,\r\n) {\r\n    domain: node(id: $domainId) {\r\n        ... on Domain {\r\n            id  \r\n            hosting {\r\n                virtualDirectory(path: $path) {\r\n                    key\r\n                    errorDoc(code: $code) {\r\n                        code\r\n                        name\r\n                        type\r\n                        location\r\n                    }\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.VirtualDirectoryEditErrorDocPage=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 d=o;o=new Set,d.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,"VirtualDirectoryEditErrorDocPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"DomainPage"},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",alias:{kind:"Name",value:"domain"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Domain"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[{kind:"Argument",name:{kind:"Name",value:"idn"},value:{kind:"BooleanValue",value:!1}}],directives:[]},{kind:"Field",name:{kind:"Name",value:"baseDomain"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:242}};n.loc.source={body:"query DomainPage(\r\n    $id: ID!\r\n) {\r\n    domain: node(id: $id) {\r\n        ... on Domain {\r\n            id\r\n            name(idn: false)\r\n            baseDomain {\r\n                id\r\n                name\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.DomainPage=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 d=o;o=new Set,d.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,"DomainPage")},(e,n,i)=>{"use strict";i.r(n),i.d(n,{homeRoute:()=>f});var t=i(393),a=i(495),s=i(530),r=i(313),o=i(773),d=i(781),l=i(89),c=i(783),m=i.n(c),u=i(270);const p=e=>((0,l.redirect)(e),new Promise(l.emptyFn)),v=e=>(e.reason?.graphQLErrors??[]).map((({message:e,extensions:n})=>n?.debugMessage||e)),f={path:"home",componentLoader:()=>Promise.all([i.e("vendors"),i.e("components/pages/HomePage")]).then(i.bind(i,2336)),loader:async()=>{const{data:{viewer:{type:e}}}=await t.default.query({query:a.gql`
                                                query {
                                                    viewer {
                                                        login
                                                        type
                                                    }
                                                }
                                            `});if("ADMIN"!==e)return p("/admin/home/");const{pageSidebar:n}=(0,r.default)();if(n?.isPowerUserPanel)return p("/smb/");const i=await Promise.allSettled([...Object.values(o.default).map((e=>t.default.query({query:e}))),t.default.query({query:m()})]),d=Object.keys(o.default).reduce(((e,n,t)=>({...e,[n]:{data:i[t].value?.data,errors:v(i[t])}})),{}),l=i.at(-1);return v(l).forEach((e=>{(0,s.addToast)({intent:"danger",message:e})})),{data:d}},handle:{helpContext:"home.admin",titleRightAddon:(0,u.jsx)(d.default,{}),pageContentHeader:{className:"home-page-heading"}},children:[{path:"customize",componentLoader:()=>i.e("components/pages/HomeCustomizationPage").then(i.bind(i,2455)),loader:()=>t.default.query({query:i(784)})}]}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>h});var t=i(774),a=i(775),s=i.n(a),r=i(776),o=i.n(r),d=i(777),l=i.n(d),c=i(778),m=i.n(c),u=i(779),p=i.n(u),v=i(780),f=i.n(v);const h={[t.SERVER_INFO]:s(),[t.UPDATES]:o(),[t.OVERUSED_SUBSCRIPTIONS]:l(),[t.MY_SUBSCRIPTIONS]:m(),[t.EXTENSIONS]:p(),[t.CHANGE_LOG]:f()}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{BACKUP:()=>d,CHANGE_LOG:()=>u,CUSTOM_BUTTONS:()=>p,EXTENSIONS:()=>l,IP_BAN:()=>o,MAIL_QUEUE:()=>c,MY_SUBSCRIPTIONS:()=>r,OVERUSED_SUBSCRIPTIONS:()=>s,PROMO:()=>m,SERVER_INFO:()=>t,UPDATES:()=>a});const t="serverInfo",a="updates",s="overusedSubscriptions",r="mySubscriptions",o="ipBan",d="backup",l="ext",c="mailQueue",m="promo",u="changeLog",p="customButtons"},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AdminHomeServerInfo"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"server"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"defaultIpAddress"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ipAddress"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"publicIpAddress"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"settings"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"fullHostName"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"information"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sysUptime"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"os"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"permissions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"manageServerInfo"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:389}};n.loc.source={body:"query AdminHomeServerInfo {\r\n    server {\r\n        defaultIpAddress {\r\n            ipAddress\r\n            publicIpAddress\r\n        }\r\n        settings {\r\n            fullHostName\r\n        }\r\n        information {\r\n            sysUptime\r\n        }\r\n    }\r\n    os {\r\n        name\r\n    }\r\n    viewer {\r\n        login\r\n        permissions {\r\n            manageServerInfo\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.AdminHomeServerInfo=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 d=o;o=new Set,d.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,"AdminHomeServerInfo")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AdminHomeUpdates"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"server"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"productVersion"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"version"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"patch"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"productUpdates"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"availablePatch"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"availableVersion"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lastUpdateDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lastCheckDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isAutoupdateEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"installingUpdatesTaskId"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"pum"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"installingUpdatesTaskId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"updates"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"pagination"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"page"},value:{kind:"IntValue",value:"1"}},{kind:"ObjectField",name:{kind:"Name",value:"itemsPerPage"},value:{kind:"IntValue",value:"1"}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"availableVersion"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"total"},arguments:[],directives:[]}]}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"primaryKey"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pleskKeyId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"editionName"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"config"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updates"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"showControls"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"visualNotifications"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"mode"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isPumAllowed"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"permissions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"manageServerUpdates"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:1053}};n.loc.source={body:"query AdminHomeUpdates {\r\n    server {\r\n        productVersion {\r\n            name\r\n            version\r\n            patch\r\n        }\r\n        productUpdates {\r\n            availablePatch\r\n            availableVersion\r\n            lastUpdateDate\r\n            lastCheckDate\r\n            isAutoupdateEnabled\r\n            installingUpdatesTaskId\r\n        }\r\n        pum {\r\n            installingUpdatesTaskId\r\n            updates(\r\n                input: { pagination: { page: 1, itemsPerPage: 1 } }\r\n            ) {\r\n                nodes {\r\n                    name\r\n                    availableVersion\r\n                }\r\n                pageInfo {\r\n                    total\r\n                }\r\n            }\r\n        }\r\n    }\r\n    primaryKey {\r\n        pleskKeyId\r\n        editionName\r\n    }\r\n    config {\r\n        updates {\r\n            showControls\r\n            visualNotifications\r\n        }\r\n    }\r\n    mode {\r\n        isPumAllowed\r\n    }\r\n    viewer {\r\n        login\r\n        permissions {\r\n            manageServerUpdates\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.AdminHomeUpdates=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 d=o;o=new Set,d.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,"AdminHomeUpdates")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AdminHomeOverusedSubscriptions"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"client"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"subscriptions"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"pagination"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"page"},value:{kind:"IntValue",value:"1"}},{kind:"ObjectField",name:{kind:"Name",value:"itemsPerPage"},value:{kind:"IntValue",value:"3"}}]}},{kind:"ObjectField",name:{kind:"Name",value:"orderBy"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"displayName"},value:{kind:"EnumValue",value:"ASC"}}]}},{kind:"ObjectField",name:{kind:"Name",value:"searchFilters"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"overuse"},value:{kind:"StringValue",value:"true",block:!1}}]}},{kind:"ObjectField",name:{kind:"Name",value:"own"},value:{kind:"BooleanValue",value:!1}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pageInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"total"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"nodes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Subscription"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mainDomain"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"limits"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"all"},arguments:[{kind:"Argument",name:{kind:"Name",value:"overused"},value:{kind:"BooleanValue",value:!0}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"formattedValue"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"formattedUsed"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}}]}}]}}],loc:{start:0,end:1078}};n.loc.source={body:'query AdminHomeOverusedSubscriptions {\r\n    viewer {\r\n        login\r\n        client {\r\n            id\r\n            subscriptions(\r\n                input: {\r\n                    pagination: { page: 1, itemsPerPage: 3 }\r\n                    orderBy: { displayName: ASC }\r\n                    searchFilters: { overuse: "true" }\r\n                    own: false,\r\n                }\r\n            ) {\r\n                pageInfo {\r\n                    total\r\n                }\r\n                nodes {\r\n                    id\r\n                    ... on Subscription {\r\n                        status\r\n                        mainDomain {\r\n                            id\r\n                            name\r\n                        }\r\n                        limits {\r\n                            all(overused: true) {\r\n                                name\r\n                                formattedValue\r\n                                formattedUsed\r\n                            }\r\n                        }\r\n                    }\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.AdminHomeOverusedSubscriptions=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 d=o;o=new Set,d.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,"AdminHomeOverusedSubscriptions")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AdminHomeMySubscriptions"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"permissions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createDomains"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"client"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"subscriptions"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"pagination"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"page"},value:{kind:"IntValue",value:"1"}},{kind:"ObjectField",name:{kind:"Name",value:"itemsPerPage"},value:{kind:"IntValue",value:"5"}}]}},{kind:"ObjectField",name:{kind:"Name",value:"orderBy"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"lastVisitTime"},value:{kind:"EnumValue",value:"DESC"}}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Subscription"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mainDomain"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}}]}}],loc:{start:0,end:697}};n.loc.source={body:"query AdminHomeMySubscriptions {\r\n    viewer {\r\n        login\r\n        permissions {\r\n            createDomains\r\n        }\r\n        client {\r\n            id\r\n            subscriptions(\r\n                input: {\r\n                    pagination: { page: 1, itemsPerPage: 5 }\r\n                    orderBy: { lastVisitTime: DESC }\r\n                }\r\n            ) {\r\n                nodes {\r\n                    id\r\n                    ... on Subscription {\r\n                        status\r\n                        mainDomain {\r\n                            id\r\n                            name\r\n                        }\r\n                    }\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.AdminHomeMySubscriptions=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 d=o;o=new Set,d.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,"AdminHomeMySubscriptions")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AdminHomeExtensions"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"home"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"extensions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"icon"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"content"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"footer"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"async"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"skeletonSize"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:305}};n.loc.source={body:"query AdminHomeExtensions {\r\n    viewer {\r\n        login\r\n        home {\r\n            extensions {\r\n                name\r\n                title\r\n                icon\r\n                content\r\n                footer\r\n                async\r\n                skeletonSize\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.AdminHomeExtensions=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 d=o;o=new Set,d.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,"AdminHomeExtensions")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AdminHomeChangeLog"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"server"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"productUpdates"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"changeLogUrl"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:115}};n.loc.source={body:"query AdminHomeChangeLog {\r\n    server {\r\n        productUpdates {\r\n            changeLogUrl\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.AdminHomeChangeLog=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 d=o;o=new Set,d.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,"AdminHomeChangeLog")},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>u});var t=i(271),a=i(89),s=i(633),r=i(579),o=i(782),d=i(783),l=i.n(d),c=i(270);const m=a.Locale.getTranslate("components.buttons"),u=()=>{const e=(0,r.useQuery)(l());return e.data?.viewer?.home?.locked||(0,o.default)(e)?null:(0,c.jsx)(t.Button,{ghost:!0,id:"customize",component:s.default,to:"/cp/home/customize",icon:{name:"gear",style:{order:"1",marginInline:"4px 0"}},children:(0,c.jsx)(m,{content:"customize"})})}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>t});const t=e=>{const n=e?.data?.viewer?.home??{},{layout:i,systemMessages:t}=n;return!(t??[]).length&&(i??[]).every((e=>0===e.length))}},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AdminHomePage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"home"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"layout"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"locked"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"feedbackURL"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"systemMessages"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"content"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isHideable"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"component"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"params"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:346}};n.loc.source={body:"query AdminHomePage {\r\n    viewer {\r\n        login\r\n        home {\r\n            layout\r\n            locked\r\n            feedbackURL\r\n            systemMessages {\r\n                type\r\n                key\r\n                content\r\n                isHideable\r\n                component\r\n                params\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.AdminHomePage=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 d=o;o=new Set,d.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,"AdminHomePage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"HomeCustomization"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"home"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sections"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"blocks"},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:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"icon"},arguments:[],directives:[]}]}}]}}]}}]}}]}}],loc:{start:0,end:307}};n.loc.source={body:"query HomeCustomization {\r\n    viewer {\r\n        login\r\n        home {\r\n            sections {\r\n                name\r\n                blocks {\r\n                    name\r\n                    enabled\r\n                    title\r\n                    icon\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.HomeCustomization=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 d=o;o=new Set,d.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,"HomeCustomization")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"IpAddressDomainsPage"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"clientId"}},type:{kind:"NamedType",name:{kind:"Name",value:"ID"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ipAddressId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"ipAddress"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"ipAddressId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"IpAddress"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ipAddress"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"defaultDomain"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"domains"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"clientId"},value:{kind:"Variable",name:{kind:"Name",value:"clientId"}}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:438}};n.loc.source={body:"query IpAddressDomainsPage($clientId: ID, $ipAddressId: ID!) {\r\n    viewer {\r\n        type\r\n        login\r\n    }\r\n    ipAddress: node(id: $ipAddressId) {\r\n        ... on IpAddress {\r\n            id\r\n            type\r\n            ipAddress\r\n            defaultDomain {\r\n                id\r\n            }\r\n            domains(filter: { clientId: $clientId }) {\r\n                id\r\n                name\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.IpAddressDomainsPage=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 d=o;o=new Set,d.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,"IpAddressDomainsPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ChangeSubscriptionsOwner"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ids"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"domains"},name:{kind:"Name",value:"nodes"},arguments:[{kind:"Argument",name:{kind:"Name",value:"ids"},value:{kind:"Variable",name:{kind:"Name",value:"ids"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Domain"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"owner"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"vendor"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"baseDomain"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"ipAddresses"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ipAddress"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"publicIpAddress"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isIPv6"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"subscription"},arguments:[],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:"isCustom"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"limits"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"traffic"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"used"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"formattedUsed"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"diskUsage"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"used"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"formattedUsed"},arguments:[],directives:[]}]}}]}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"server"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"settings"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isIPv6Supported"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:998}};n.loc.source={body:"query ChangeSubscriptionsOwner($ids: [ID!]!) {\r\n    domains: nodes(ids: $ids) {\r\n        id\r\n        ... on Domain {\r\n            name\r\n            owner {\r\n                id\r\n                name\r\n                vendor {\r\n                    id\r\n                }\r\n            }\r\n            baseDomain {\r\n                id\r\n            }\r\n            ipAddresses {\r\n                id\r\n                ipAddress\r\n                publicIpAddress\r\n                isIPv6\r\n            }\r\n            subscription {\r\n                id\r\n                status\r\n                isCustom\r\n                limits {\r\n                    traffic {\r\n                        used\r\n                        formattedUsed\r\n                    }\r\n                    diskUsage {\r\n                        used\r\n                        formattedUsed\r\n                    }\r\n                }\r\n            }\r\n        }\r\n    }\r\n    server {\r\n        settings {\r\n            isIPv6Supported\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.ChangeSubscriptionsOwner=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 d=o;o=new Set,d.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,"ChangeSubscriptionsOwner")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"VirtualHostTemplatePage"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"path"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"os"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isWindows"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"virtualHostTemplate"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"supportedArchiveTypes"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"files"},arguments:[{kind:"Argument",name:{kind:"Name",value:"path"},value:{kind:"Variable",name:{kind:"Name",value:"path"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sizeInBytes"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"modified"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"permissions"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"user"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"group"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:422}};n.loc.source={body:"query VirtualHostTemplatePage($path: String) {\r\n    os {\r\n        isWindows\r\n    }\r\n    viewer {\r\n        login\r\n        virtualHostTemplate {\r\n            supportedArchiveTypes\r\n            files(path: $path) {\r\n                name\r\n                sizeInBytes\r\n                modified\r\n                permissions\r\n                type\r\n                user\r\n                group\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.VirtualHostTemplatePage=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 d=o;o=new Set,d.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,"VirtualHostTemplatePage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"LoginPage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"resolvableHostname"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mobileApplicationPromotion"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"icon"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"background"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"file"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"color"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fit"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"config"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"gdpr"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"cookieSettings"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"loginFormEntrypointEnabled"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"howToLoginArticle"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"locales"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isRtl"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"serverInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"cloudType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isFirstLogin"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"loginContentInclude"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"headContent"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"bodyContent"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:678}};n.loc.source={body:"query LoginPage {\r\n    viewer {\r\n        login\r\n        resolvableHostname\r\n        mobileApplicationPromotion {\r\n            name\r\n            icon\r\n            url\r\n        }\r\n        background {\r\n            file\r\n            color\r\n            fit\r\n        }\r\n    }\r\n    config {\r\n        gdpr {\r\n            cookieSettings {\r\n                loginFormEntrypointEnabled\r\n            }\r\n        }\r\n        login {\r\n            howToLoginArticle\r\n        }\r\n    }\r\n    locales {\r\n        code\r\n        name\r\n        isRtl\r\n    }\r\n    serverInfo {\r\n        cloudType\r\n        isFirstLogin\r\n    }\r\n    loginContentInclude {\r\n        headContent\r\n        bodyContent\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.LoginPage=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 d=o;o=new Set,d.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,"LoginPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"DnsRecordsPage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"os"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isUnix"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"dns"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"template"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"templateNotSynchronized"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"soaTemplateNotSynchronized"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isExternalDnsEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"records"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"host"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"val"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ttl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"displayHost"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"displayVal"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domainName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"opt"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:493}};n.loc.source={body:"query DnsRecordsPage {\r\n    os {\r\n        isUnix\r\n    }\r\n    dns {\r\n        template {\r\n            isEnabled\r\n            templateNotSynchronized\r\n            soaTemplateNotSynchronized\r\n            isExternalDnsEnabled\r\n            records {\r\n                id\r\n                type\r\n                host\r\n                val\r\n                ttl\r\n                displayHost\r\n                displayVal\r\n                domainName\r\n                opt\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.DnsRecordsPage=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 d=o;o=new Set,d.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,"DnsRecordsPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"DnsRecordEditQuery"},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:"os"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isUnix"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"dns"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"supportedRecordTypes"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"template"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isEnabled"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"node"},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:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"DnsRecordTemplate"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"host"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"displayVal"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"displayHost"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domainName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ttl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"opt"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:422}};n.loc.source={body:"query DnsRecordEditQuery($id: ID!) {\r\n    os {\r\n        isUnix\r\n    }\r\n    dns {\r\n        supportedRecordTypes\r\n        template {\r\n            isEnabled\r\n        }\r\n    }\r\n    node(id: $id) {\r\n        id\r\n        ... on DnsRecordTemplate {\r\n            type\r\n            host\r\n            id\r\n            displayVal\r\n            displayHost\r\n            domainName\r\n            ttl\r\n            opt\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.DnsRecordEditQuery=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 d=o;o=new Set,d.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,"DnsRecordEditQuery")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"DnsRecordQuery"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"os"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isUnix"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"dns"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"supportedRecordTypes"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"template"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isEnabled"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:162}};n.loc.source={body:"query DnsRecordQuery {\r\n    os {\r\n        isUnix\r\n    }\r\n    dns {\r\n        supportedRecordTypes\r\n        template {\r\n            isEnabled\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.DnsRecordQuery=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 d=o;o=new Set,d.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,"DnsRecordQuery")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"DnsSoaRecordsPage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"dns"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"template"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"soaRecord"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"mname"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ttl"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"unit"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"refresh"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"unit"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"retry"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"unit"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"expire"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"unit"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"minimum"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"unit"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"serialNumberFormat"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"rnameDomain"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"rnameExternal"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"rnameType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"rnameEnforce"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"isEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isExternalDnsEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"records"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"type"},value:{kind:"ListValue",values:[{kind:"EnumValue",value:"NS"}]}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"displayVal"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:931}};n.loc.source={body:"query DnsSoaRecordsPage {\r\n    dns {\r\n        template {\r\n            soaRecord {\r\n                mname\r\n                ttl {\r\n                    value\r\n                    unit\r\n                }\r\n                refresh {\r\n                    value\r\n                    unit\r\n                }\r\n                retry {\r\n                    value\r\n                    unit\r\n                }\r\n                expire {\r\n                    value\r\n                    unit\r\n                }\r\n                minimum {\r\n                    value\r\n                    unit\r\n                }\r\n                serialNumberFormat\r\n                rnameDomain\r\n                rnameExternal\r\n                rnameType\r\n                rnameEnforce\r\n            }\r\n            isEnabled\r\n            isExternalDnsEnabled\r\n            records(filter: { type: [NS] } ) {\r\n                displayVal\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.DnsSoaRecordsPage=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 d=o;o=new Set,d.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,"DnsSoaRecordsPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"EditInterfaceViewPage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"permissions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"manageServerUi"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"manageServerLanguages"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"client"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"clients"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"mode"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isViewSwitcherAllowed"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isPowerUserPanel"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isSimplePanel"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isSimplePanelAllowed"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isSimplePanelLocked"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isMailBounceHidden"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isMailServiceSupported"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:472}};n.loc.source={body:"query EditInterfaceViewPage {\r\n    viewer {\r\n        login\r\n        permissions {\r\n            manageServerUi\r\n            manageServerLanguages\r\n        }\r\n        client {\r\n            clients {\r\n                id\r\n            }\r\n        }\r\n    }\r\n    mode {\r\n        isViewSwitcherAllowed\r\n        isPowerUserPanel\r\n        isSimplePanel\r\n        isSimplePanelAllowed\r\n        isSimplePanelLocked\r\n        isMailBounceHidden\r\n        isMailServiceSupported\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.EditInterfaceViewPage=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 d=o;o=new Set,d.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,"EditInterfaceViewPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"NotificationUiSettings"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"notification"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"panel"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"settings"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"storagePeriod"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"templates"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"code"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"context"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sendToAdmin"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:299}};n.loc.source={body:"query NotificationUiSettings {\r\n    notification {\r\n        panel {\r\n            settings {\r\n                storagePeriod\r\n            }\r\n            templates {\r\n                code\r\n                context\r\n                title\r\n                sendToAdmin\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.NotificationUiSettings=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 d=o;o=new Set,d.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,"NotificationUiSettings")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"BrandingPage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"branding"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"customTitle"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fake"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"customFavicon"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"background"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"file"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"color"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fit"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:343}};n.loc.source={body:"query BrandingPage {\r\n    viewer {\r\n        login\r\n        type\r\n        branding {\r\n            customTitle\r\n            logo {\r\n                url\r\n                fake\r\n            }\r\n            customFavicon\r\n            background {\r\n                file\r\n                color\r\n                fit\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.BrandingPage=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 d=o;o=new Set,d.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,"BrandingPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"DatabaseServersPage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"databaseServers"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fork"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"host"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"port"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lastError"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"serverVersion"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isUpgradeSupported"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isLTSVersion"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isLocal"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isDefaultServer"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isUsedForPsaDb"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isWebadminInstalled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isDynamicPort"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"databasesCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"availableReleases"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"primaryKey"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pleskKeyId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"keyRemoteDb"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"mode"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isDemo"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"os"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isWindows"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:571}};n.loc.source={body:"query DatabaseServersPage {\r\n    databaseServers {\r\n        id\r\n        name\r\n        type\r\n        fork\r\n        host\r\n        port\r\n        lastError\r\n        serverVersion\r\n        isUpgradeSupported\r\n        isLTSVersion\r\n        isLocal\r\n        isDefaultServer\r\n        isUsedForPsaDb\r\n        isWebadminInstalled\r\n        isDynamicPort\r\n        databasesCount\r\n        availableReleases {\r\n            id\r\n        }\r\n    }\r\n    primaryKey {\r\n        pleskKeyId\r\n        keyRemoteDb\r\n    }\r\n    mode {\r\n        isDemo\r\n    }\r\n    os {\r\n        isWindows\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.DatabaseServersPage=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 d=o;o=new Set,d.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,"DatabaseServersPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"DatabaseServerUpgradePage"},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",alias:{kind:"Name",value:"databaseServer"},name:{kind:"Name",value:"node"},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:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"DatabaseServer"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"host"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"port"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"serverVersion"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fork"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"detectDatabaseServer"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"availableReleases"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"version"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"features"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"releaseNotesLink"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"releaseDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"endOfLifeDate"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:534}};n.loc.source={body:"query DatabaseServerUpgradePage($id: ID!) {\r\n    databaseServer: node(id: $id) {\r\n        id\r\n        ... on DatabaseServer {\r\n            name\r\n            type\r\n            host\r\n            port\r\n            serverVersion\r\n            fork\r\n            detectDatabaseServer\r\n            availableReleases {\r\n                id\r\n                name\r\n                version\r\n                features\r\n                releaseNotesLink\r\n                releaseDate\r\n                endOfLifeDate\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.DatabaseServerUpgradePage=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 d=o;o=new Set,d.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,"DatabaseServerUpgradePage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"DatabaseServerCreatePage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"server"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allowedByKeyDatabaseServerTypes"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:99}};n.loc.source={body:"query DatabaseServerCreatePage {\r\n    server {\r\n        allowedByKeyDatabaseServerTypes\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.DatabaseServerCreatePage=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 d=o;o=new Set,d.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,"DatabaseServerCreatePage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"DatabaseServerPropertiesPage"},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:"os"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isWindows"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"databaseServer"},name:{kind:"Name",value:"node"},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:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"DatabaseServer"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"host"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"port"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"serverVersion"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isDefaultServer"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isUsedForPsaDb"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isAdminCredentialsChangeable"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"adminLogin"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"externalConnections"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"databasesCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"backupSettings"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tempDir"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"networkTempDir"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"networkUser"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"networkPassword"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:634}};n.loc.source={body:"query DatabaseServerPropertiesPage($id: ID!) {\r\n    os {\r\n        isWindows\r\n    }\r\n    databaseServer: node(id: $id) {\r\n        id\r\n        ... on DatabaseServer {\r\n            name\r\n            type\r\n            host\r\n            port\r\n            serverVersion\r\n            isDefaultServer\r\n            isUsedForPsaDb\r\n            isAdminCredentialsChangeable\r\n            adminLogin\r\n            externalConnections\r\n            databasesCount\r\n            backupSettings {\r\n                tempDir\r\n                networkTempDir\r\n                networkUser\r\n                networkPassword\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.DatabaseServerPropertiesPage=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 d=o;o=new Set,d.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,"DatabaseServerPropertiesPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"DatabaseServerDatabasesPage"},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:"os"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isWindows"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"mode"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isClassicPanel"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"databaseServer"},name:{kind:"Name",value:"node"},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:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"DatabaseServer"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"databasesCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"databases"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domain"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[{kind:"Argument",name:{kind:"Name",value:"idn"},value:{kind:"BooleanValue",value:!1}}],directives:[]},{kind:"Field",name:{kind:"Name",value:"owner"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}}],loc:{start:0,end:604}};n.loc.source={body:"query DatabaseServerDatabasesPage($id: ID!) {\r\n    os {\r\n        isWindows\r\n    }\r\n    mode {\r\n        isClassicPanel\r\n    }\r\n    databaseServer: node(id: $id) {\r\n        id\r\n        ... on DatabaseServer {\r\n            name\r\n            databasesCount\r\n            databases {\r\n                id\r\n                name\r\n                domain {\r\n                    id\r\n                    name(idn: false)\r\n                    owner {\r\n                        id\r\n                        name\r\n                        type\r\n                    }\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.DatabaseServerDatabasesPage=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 d=o;o=new Set,d.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,"DatabaseServerDatabasesPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"DatabaseServerChangePasswordPage"},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:"os"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isWindows"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"databaseServer"},name:{kind:"Name",value:"node"},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:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"DatabaseServer"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"databasesCount"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:237}};n.loc.source={body:"query DatabaseServerChangePasswordPage($id: ID!) {\r\n    os {\r\n        isWindows\r\n    }\r\n    databaseServer: node(id: $id) {\r\n        id\r\n        ... on DatabaseServer {\r\n            name\r\n            databasesCount\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.DatabaseServerChangePasswordPage=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 d=o;o=new Set,d.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,"DatabaseServerChangePasswordPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"WebsitesDiagnosticPage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"server"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"websitesDiagnostic"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"domains"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"siteUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[{kind:"Argument",name:{kind:"Name",value:"idn"},value:{kind:"BooleanValue",value:!1}}],directives:[]},{kind:"Field",name:{kind:"Name",value:"baseDomain"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"websitesDiagnosticChecks"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"depth"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"problems"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"code"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"settings"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isRegularCheckEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isPromoShown"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"documentationLink"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isNewDomainsChecked"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lastCheckDuration"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"checkedDomains"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[{kind:"Argument",name:{kind:"Name",value:"idn"},value:{kind:"BooleanValue",value:!1}}],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"skippedDomains"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[{kind:"Argument",name:{kind:"Name",value:"idn"},value:{kind:"BooleanValue",value:!1}}],directives:[]}]}}]}}]}}]}}]}}],loc:{start:0,end:1011}};n.loc.source={body:"query WebsitesDiagnosticPage {\r\n    server {\r\n        websitesDiagnostic {\r\n            domains {\r\n                id\r\n                siteUrl\r\n                name(idn: false)\r\n                baseDomain {\r\n                    id\r\n                }\r\n                websitesDiagnosticChecks {\r\n                    type\r\n                    date\r\n                    depth\r\n                    problems {\r\n                        name\r\n                        code\r\n                    }\r\n                }\r\n            }\r\n            settings {\r\n                date\r\n                isRegularCheckEnabled\r\n                isPromoShown\r\n                documentationLink\r\n                isNewDomainsChecked\r\n                lastCheckDuration\r\n                checkedDomains {\r\n                    id\r\n                    name(idn: false)\r\n                }\r\n                skippedDomains {\r\n                    id\r\n                    name(idn: false)\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.WebsitesDiagnosticPage=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 d=o;o=new Set,d.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,"WebsitesDiagnosticPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SystemTimePage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"os"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isWindows"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"serverInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isVirtuozzo"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"systemTime"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"day"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"month"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"year"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"minutes"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"seconds"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hours"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"timezone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"timezones"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"daylightEnabled"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"isDaylightSavingChangeEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isSynchronizeEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isSynchronizeSupported"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"synchronizedWith"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:479}};n.loc.source={body:"query SystemTimePage {\r\n    os {\r\n        isWindows\r\n    }\r\n    serverInfo {\r\n        isVirtuozzo\r\n    }\r\n    systemTime {\r\n        day,\r\n        month,\r\n        year,\r\n        minutes,\r\n        seconds,\r\n        hours,\r\n        timezone\r\n        timezones {\r\n            name,\r\n            value,\r\n            daylightEnabled\r\n        }\r\n        isDaylightSavingChangeEnabled,\r\n        isSynchronizeEnabled,\r\n        isSynchronizeSupported,\r\n        synchronizedWith\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.SystemTimePage=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 d=o;o=new Set,d.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,"SystemTimePage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ServerMailSettingsPage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"serverMail"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isMailUiEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"settings"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"mailServerName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"imapServerName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"maxMessageSize"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"maxConnections"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"maxConnectionsPerIp"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isMessageSubmissionEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"messageSubmissionIp"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ipAddress"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"outgoingEmailMode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"outgoingEmailModeIps"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ipAddress"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isIPv6"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"isEmailSubaddressingEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isMboxQuotaWarningEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isFixSenderEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isListSecureLinksEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasLocalhostRelayingAddressesIpV4"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasLocalhostRelayingAddressesIpV6"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"autoReplyHeaders"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"isShortPop3NameEnabled"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"autodiscover"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isDnsEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"customServer"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"relay"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isPopAuthEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lockTime"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isSmtpAuthEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"noRelayNetworks"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isOpenRelayAllowed"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"outgoingMessages"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isCountRecipientsEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mailboxLimit"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domainLimit"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"subscriptionLimit"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isSendmailEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"reportPeriod"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"notificationPeriod"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"allowedReportPeriods"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"allowedNotificationPeriods"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"spamFilter"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isDmarcEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isSigningOutgoingMailEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isVerifyingIncomingMailEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isRblEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"rblServer"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isSpfEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isErrorIgnored"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"behavior"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"localRules"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"guessRules"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"explanationText"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"os"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isWindows"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"capability"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"mailServer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isMaxLetterSizeChangeable"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isMessageSubmissionDedicatedIPSupported"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isMessageSubmissionAllIPSupported"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isRelayLockTimeSupported"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isRelayTypeOpenSupported"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isRelayTypeClosedSupported"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isRelayTypeAuthSupported"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isRelayTypeAuthPop3Supported"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isRelayTypeAuthSmtpSupported"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isRelayTypeAuthBothSupported"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"shortPop3NamesCompatibility"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"packages"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isRBLInstalled"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"server"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ipAddresses"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ipAddress"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isIPv6"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:2652}};n.loc.source={body:"query ServerMailSettingsPage {\r\n    serverMail {\r\n        isMailUiEnabled\r\n        settings {\r\n            mailServerName\r\n            imapServerName\r\n            maxMessageSize\r\n            maxConnections\r\n            maxConnectionsPerIp\r\n            isMessageSubmissionEnabled\r\n            messageSubmissionIp {\r\n                ipAddress\r\n            }\r\n            outgoingEmailMode\r\n            outgoingEmailModeIps {\r\n                ipAddress\r\n                isIPv6\r\n            }\r\n            isEmailSubaddressingEnabled\r\n            isMboxQuotaWarningEnabled\r\n            isFixSenderEnabled\r\n            isListSecureLinksEnabled\r\n            hasLocalhostRelayingAddressesIpV4\r\n            hasLocalhostRelayingAddressesIpV6\r\n            autoReplyHeaders {\r\n                name\r\n                value\r\n            }\r\n            isShortPop3NameEnabled\r\n        }\r\n        autodiscover {\r\n            isEnabled\r\n            isDnsEnabled\r\n            customServer\r\n        }\r\n        relay {\r\n            type\r\n            isPopAuthEnabled\r\n            lockTime\r\n            isSmtpAuthEnabled\r\n            noRelayNetworks\r\n            isOpenRelayAllowed\r\n        }\r\n        outgoingMessages {\r\n            isEnabled\r\n            isCountRecipientsEnabled\r\n            mailboxLimit\r\n            domainLimit\r\n            subscriptionLimit\r\n            isSendmailEnabled\r\n            reportPeriod\r\n            notificationPeriod\r\n            allowedReportPeriods\r\n            allowedNotificationPeriods\r\n        }\r\n        spamFilter {\r\n            isDmarcEnabled\r\n            isSigningOutgoingMailEnabled\r\n            isVerifyingIncomingMailEnabled\r\n            isRblEnabled\r\n            rblServer\r\n            isSpfEnabled\r\n            isErrorIgnored\r\n            behavior\r\n            localRules\r\n            guessRules\r\n            explanationText\r\n        }\r\n    }\r\n    os {\r\n        isWindows\r\n    }\r\n    capability {\r\n        mailServer {\r\n            isMaxLetterSizeChangeable\r\n            isMessageSubmissionDedicatedIPSupported\r\n            isMessageSubmissionAllIPSupported\r\n            isRelayLockTimeSupported\r\n            isRelayTypeOpenSupported\r\n            isRelayTypeClosedSupported\r\n            isRelayTypeAuthSupported\r\n            isRelayTypeAuthPop3Supported\r\n            isRelayTypeAuthSmtpSupported\r\n            isRelayTypeAuthBothSupported\r\n            shortPop3NamesCompatibility\r\n        }\r\n        packages {\r\n            isRBLInstalled\r\n        }\r\n    }\r\n    server {\r\n        ipAddresses {\r\n            nodes {\r\n                id\r\n                ipAddress\r\n                isIPv6\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.ServerMailSettingsPage=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 d=o;o=new Set,d.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,"ServerMailSettingsPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ServerMailTabs"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"permissions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"manageServerMail"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"manageServerVirusProtection"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"manageServerSpamFilter"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"manageServerMailAutodiscover"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"manageServerMailBlackWhiteLists"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"capability"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"mailServer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isDomainsBlacklistSupported"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isSmtpWhiteListSupported"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isSmarthostAvailable"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"packages"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isAntiVirusInstalled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isSpamAssassinInstalled"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"os"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isWindows"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"primaryKey"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pleskKeyId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"keyDrWeb"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"keyQmailQueue"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:686}};n.loc.source={body:"query ServerMailTabs {\r\n    viewer {\r\n        login\r\n        permissions {\r\n            manageServerMail\r\n            manageServerVirusProtection\r\n            manageServerSpamFilter\r\n            manageServerMailAutodiscover\r\n            manageServerMailBlackWhiteLists\r\n        }\r\n    }\r\n    capability {\r\n        mailServer {\r\n            isDomainsBlacklistSupported\r\n            isSmtpWhiteListSupported\r\n            isSmarthostAvailable\r\n        }\r\n        packages {\r\n            isAntiVirusInstalled\r\n            isSpamAssassinInstalled\r\n        }\r\n    }\r\n    os {\r\n        isWindows\r\n    }\r\n    primaryKey {\r\n        pleskKeyId\r\n        keyDrWeb\r\n        keyQmailQueue\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.ServerMailTabs=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 d=o;o=new Set,d.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,"ServerMailTabs")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ServerMailBlackListPage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"serverMail"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"blackList"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"action"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"spamAssassin"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"settings"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isEnabled"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"os"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isWindows"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:284}};n.loc.source={body:"query ServerMailBlackListPage {\r\n    serverMail {\r\n        blackList {\r\n            id\r\n            name\r\n            action\r\n        }\r\n        spamAssassin {\r\n            settings {\r\n                isEnabled\r\n            }\r\n        }\r\n    }\r\n    os {\r\n        isWindows\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.ServerMailBlackListPage=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 d=o;o=new Set,d.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,"ServerMailBlackListPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ServerMailWhiteListPage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"serverMail"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"whiteList"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"outgoingMessages"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isEnabled"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"relay"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"noRelayNetworks"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"os"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isWindows"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"capability"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"mailServer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isSmtpWhiteListSupported"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isSmtpWhiteListWithWildcardSupported"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isSmtpWhiteListWithCIDRSupported"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:474}};n.loc.source={body:"query ServerMailWhiteListPage {\r\n    serverMail {\r\n        whiteList {\r\n            id\r\n            name\r\n        }\r\n        outgoingMessages {\r\n            isEnabled\r\n        }\r\n        relay {\r\n            noRelayNetworks\r\n        }\r\n    }\r\n    os {\r\n        isWindows\r\n    }\r\n    capability {\r\n        mailServer {\r\n            isSmtpWhiteListSupported\r\n            isSmtpWhiteListWithWildcardSupported\r\n            isSmtpWhiteListWithCIDRSupported\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.ServerMailWhiteListPage=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 d=o;o=new Set,d.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,"ServerMailWhiteListPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ServerMailAntivirusPage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"serverMail"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"antivirus"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isActive"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"antivirusPolicy"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"policy"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isAppliedToIncoming"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isAppliedToOutgoing"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:274}};n.loc.source={body:"query ServerMailAntivirusPage {\r\n    serverMail {\r\n        antivirus {\r\n            key\r\n            name\r\n            isActive\r\n        }\r\n        antivirusPolicy {\r\n            policy\r\n            isAppliedToIncoming\r\n            isAppliedToOutgoing\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.ServerMailAntivirusPage=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 d=o;o=new Set,d.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,"ServerMailAntivirusPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ServerMailSpamFilterPage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"serverMail"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"spamAssassin"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"settings"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isUserSettingsEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isUserSettingsAllowed"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"requiredHits"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"maxMailLimit"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"maxThreadsLimit"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"tag"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alarmMessage"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"languages"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isTrusted"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"locales"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isTrusted"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"isGreylistingProtectionEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"maxChildren"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"maxChildrenLimit"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"capability"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"mailServer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isUserSettingsSupported"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"os"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isWindows"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:885}};n.loc.source={body:"query ServerMailSpamFilterPage {\r\n    serverMail {\r\n        spamAssassin {\r\n            settings {\r\n                isEnabled\r\n                isUserSettingsEnabled\r\n                isUserSettingsAllowed\r\n                requiredHits\r\n                maxMailLimit\r\n                maxThreadsLimit\r\n                tag\r\n                alarmMessage\r\n                languages {\r\n                    key\r\n                    name\r\n                    isTrusted\r\n                }\r\n                locales {\r\n                    key\r\n                    name\r\n                    isTrusted\r\n                }\r\n                isGreylistingProtectionEnabled\r\n                maxChildren\r\n                maxChildrenLimit\r\n            }\r\n        }\r\n    }\r\n    capability {\r\n        mailServer {\r\n            isUserSettingsSupported\r\n        }\r\n    }\r\n    os {\r\n        isWindows\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.ServerMailSpamFilterPage=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 d=o;o=new Set,d.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,"ServerMailSpamFilterPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ServerMailSmarthostPage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"serverMail"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"smarthost"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"smarthostEncryptionOptions"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isServerEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"host"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"port"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isAuthenticationRequired"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"username"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"encryption"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"os"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isWindows"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:318}};n.loc.source={body:"query ServerMailSmarthostPage {\r\n    serverMail {\r\n        smarthost {\r\n            smarthostEncryptionOptions\r\n            isServerEnabled\r\n            host\r\n            port\r\n            isAuthenticationRequired\r\n            username\r\n            encryption\r\n        }\r\n    }\r\n    os {\r\n        isWindows\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.ServerMailSmarthostPage=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 d=o;o=new Set,d.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,"ServerMailSmarthostPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"PrimaryKeyInfoPage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"primaryKey"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pleskKeyId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"potentialProblems"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"properties"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"revertKey"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pleskKeyId"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"mode"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isLicenseLocked"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isLicenseDefault"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isDemo"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:340}};n.loc.source={body:"query PrimaryKeyInfoPage {\r\n    primaryKey {\r\n        pleskKeyId\r\n        potentialProblems\r\n        properties {\r\n            name\r\n            description\r\n            value\r\n        }\r\n        revertKey {\r\n            pleskKeyId\r\n        }\r\n    }\r\n    mode {\r\n        isLicenseLocked\r\n        isLicenseDefault\r\n        isDemo\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.PrimaryKeyInfoPage=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 d=o;o=new Set,d.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,"PrimaryKeyInfoPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MasterKeyProcessingState"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"masterKeyProcessingState"},arguments:[],directives:[]},{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:"supportUrl"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:142}};n.loc.source={body:"query MasterKeyProcessingState {\r\n    masterKeyProcessingState\r\n    config {\r\n        product {\r\n            supportUrl\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.MasterKeyProcessingState=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 d=o;o=new Set,d.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,"MasterKeyProcessingState")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"PrimaryKeyUploadPage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"mode"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isLicenseLocked"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isPowerUserPanel"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"config"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"license"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"fileUpload"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:178}};n.loc.source={body:"query PrimaryKeyUploadPage {\r\n    mode {\r\n        isLicenseLocked\r\n        isPowerUserPanel\r\n    }\r\n    config {\r\n        license {\r\n            fileUpload\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.PrimaryKeyUploadPage=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 d=o;o=new Set,d.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,"PrimaryKeyUploadPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"PrimaryKeyRevertPage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"primaryKey"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pleskKeyId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"revertKey"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pleskKeyId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"properties"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:249}};n.loc.source={body:"query PrimaryKeyRevertPage {\r\n    primaryKey {\r\n        pleskKeyId\r\n        revertKey {\r\n            pleskKeyId\r\n            properties {\r\n                name\r\n                description\r\n                value\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.PrimaryKeyRevertPage=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 d=o;o=new Set,d.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,"PrimaryKeyRevertPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AdditionalKeysPage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"mode"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isLicenseLocked"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isDemo"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"additionalKeys"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"keyNumber"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"keyName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"keyApp"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"errors"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:188}};n.loc.source={body:"query AdditionalKeysPage {\r\n    mode {\r\n        isLicenseLocked\r\n        isDemo\r\n    }\r\n    additionalKeys {\r\n        keyNumber\r\n        keyName\r\n        keyApp\r\n        errors\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.AdditionalKeysPage=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 d=o;o=new Set,d.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,"AdditionalKeysPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AdditionalKeyUploadPage"},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:"license"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"fileUpload"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:111}};n.loc.source={body:"query AdditionalKeyUploadPage {\r\n    config {\r\n        license {\r\n            fileUpload\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.AdditionalKeyUploadPage=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 d=o;o=new Set,d.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,"AdditionalKeyUploadPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AdditionalKeyInfoPage"},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:"additionalKey"},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:"keyNumber"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"properties"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"revertKey"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"keyNumber"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"errors"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"mode"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isDemo"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:301}};n.loc.source={body:"query AdditionalKeyInfoPage($id: ID!) {\r\n    additionalKey(id: $id) {\r\n        keyNumber\r\n        properties {\r\n            name\r\n            description\r\n            value\r\n        }\r\n        revertKey {\r\n            keyNumber\r\n        }\r\n        errors\r\n    }\r\n    mode {\r\n        isDemo\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.AdditionalKeyInfoPage=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 d=o;o=new Set,d.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,"AdditionalKeyInfoPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AdditionalKeyRevertPage"},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:"additionalKey"},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:"keyNumber"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"revertKey"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"keyNumber"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"properties"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:272}};n.loc.source={body:"query AdditionalKeyRevertPage($id: ID!) {\r\n    additionalKey(id: $id) {\r\n        keyNumber\r\n        revertKey {\r\n            keyNumber\r\n            properties {\r\n                name\r\n                description\r\n                value\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.AdditionalKeyRevertPage=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 d=o;o=new Set,d.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,"AdditionalKeyRevertPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"FirewallGeneralPage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"server"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"firewall"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"interfaces"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isConnected"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:269}};n.loc.source={body:"query FirewallGeneralPage {\r\n    server {\r\n        firewall {\r\n            isEnabled\r\n            interfaces {\r\n                key\r\n                name\r\n                type\r\n                isEnabled\r\n                isConnected\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.FirewallGeneralPage=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 d=o;o=new Set,d.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,"FirewallGeneralPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"FirewallIcmpPage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"server"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"firewall"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"icmpRules"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isEnabled"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:169}};n.loc.source={body:"query FirewallIcmpPage {\r\n    server {\r\n        firewall {\r\n            icmpRules {\r\n                key\r\n                isEnabled\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.FirewallIcmpPage=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 d=o;o=new Set,d.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,"FirewallIcmpPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"FirewallRulesPage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"server"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"firewall"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"rules"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"action"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"port"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"protocol"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"profiles"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"remoteAddresses"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isEnabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isReadonly"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:347}};n.loc.source={body:"query FirewallRulesPage {\r\n    server {\r\n        firewall {\r\n            rules {\r\n                key\r\n                name\r\n                action\r\n                port\r\n                protocol\r\n                profiles\r\n                remoteAddresses\r\n                isEnabled\r\n                isReadonly\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.FirewallRulesPage=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 d=o;o=new Set,d.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,"FirewallRulesPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ServerComponentsPage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"os"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isUnix"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"server"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"components"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"version"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"state"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"error"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"depends"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"dependsType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"providesType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isInstalled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isConfigurable"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"configured"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"allowedByLicense"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"parameters"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"required"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"enum"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"disabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"disableReason"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hideGenerateButton"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"componentTypeInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"required"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"default"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"packagesCount"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"categoryInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isConfigurable"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:971}};n.loc.source={body:"query ServerComponentsPage {\r\n    os {\r\n        isUnix\r\n    }\r\n    server {\r\n        components {\r\n            name\r\n            version\r\n            state\r\n            status\r\n            error\r\n            depends\r\n            dependsType\r\n            providesType\r\n            description\r\n            isInstalled\r\n            isConfigurable\r\n            configured\r\n            allowedByLicense\r\n            parameters {\r\n                name\r\n                type\r\n                label\r\n                required\r\n                description\r\n                value\r\n                enum\r\n                disabled\r\n                disableReason\r\n                hideGenerateButton\r\n            }\r\n            componentTypeInfo {\r\n                name\r\n                required\r\n                default\r\n                packagesCount\r\n            }\r\n            categoryInfo {\r\n                name\r\n                isConfigurable\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.ServerComponentsPage=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 d=o;o=new Set,d.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,"ServerComponentsPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"IpAddressPage"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"type"}},type:{kind:"NamedType",name:{kind:"Name",value:"IpAddressTypeEnum"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"search"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"page"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"itemsPerPage"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"orderBy"}},type:{kind:"NamedType",name:{kind:"Name",value:"IpAddressListSort"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"server"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"firewall"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isEnabled"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"ipAddresses"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"pagination"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"page"},value:{kind:"Variable",name:{kind:"Name",value:"page"}}},{kind:"ObjectField",name:{kind:"Name",value:"itemsPerPage"},value:{kind:"Variable",name:{kind:"Name",value:"itemsPerPage"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"searchFilters"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"type"},value:{kind:"Variable",name:{kind:"Name",value:"type"}}},{kind:"ObjectField",name:{kind:"Name",value:"ipAddress"},value:{kind:"Variable",name:{kind:"Name",value:"search"}}}]}},{kind:"ObjectField",name:{kind:"Name",value:"orderBy"},value:{kind:"Variable",name:{kind:"Name",value:"orderBy"}}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ipAddress"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"publicIpAddress"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"interface"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mask"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isBlacklisted"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isMain"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isBroken"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isMissing"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"subscriptionsCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"resellersCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ftpOverSSL"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"total"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"sortInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sortColumn"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sortDirection"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"hasPublicIp"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"canReloadPublic"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"mode"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isDemo"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isPowerUserPanel"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"canManageResellers"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"serverInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isVirtuozzo"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:1235}};n.loc.source={body:"query IpAddressPage(\r\n    $type: IpAddressTypeEnum,\r\n    $search: String,\r\n    $page: Int,\r\n    $itemsPerPage: Int,\r\n    $orderBy: IpAddressListSort\r\n) {\r\n    server {\r\n        firewall {\r\n            isEnabled\r\n        }\r\n        ipAddresses(\r\n            input: {\r\n                pagination: { page: $page, itemsPerPage: $itemsPerPage },\r\n                searchFilters: { type: $type, ipAddress: $search },\r\n                orderBy: $orderBy\r\n            }\r\n        ) {\r\n            nodes {\r\n                id\r\n                ipAddress\r\n                publicIpAddress\r\n                interface\r\n                mask\r\n                type\r\n                isBlacklisted\r\n                isMain\r\n                isBroken\r\n                isMissing\r\n                subscriptionsCount\r\n                resellersCount\r\n                ftpOverSSL\r\n            }\r\n            pageInfo {\r\n                total\r\n            }\r\n            sortInfo {\r\n                sortColumn\r\n                sortDirection\r\n            }\r\n            hasPublicIp\r\n            canReloadPublic\r\n        }\r\n    }\r\n    mode {\r\n        isDemo\r\n        isPowerUserPanel\r\n        canManageResellers\r\n    }\r\n    serverInfo {\r\n        isVirtuozzo\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.IpAddressPage=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 d=o;o=new Set,d.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,"IpAddressPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"IpAddressUsage"},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",alias:{kind:"Name",value:"ipAddress"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"IpAddress"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ipAddress"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"clients"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"type"},value:{kind:"EnumValue",value:"RESELLER"}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"unassignedResellers"},name:{kind:"Name",value:"clients"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"type"},value:{kind:"EnumValue",value:"RESELLER"}},{kind:"ObjectField",name:{kind:"Name",value:"unassigned"},value:{kind:"BooleanValue",value:!0}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:421}};n.loc.source={body:"query IpAddressUsage($id: ID!){\r\n    ipAddress:node(id: $id) {\r\n        ... on IpAddress {\r\n            id\r\n            type\r\n            ipAddress\r\n            clients(filter:{type: RESELLER}) {\r\n                id\r\n                name\r\n            }\r\n            unassignedResellers: clients(filter:{ type: RESELLER, unassigned: true }) {\r\n                id\r\n                name\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.IpAddressUsage=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 d=o;o=new Set,d.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,"IpAddressUsage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"UnassignedIpAddressResellers"},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",alias:{kind:"Name",value:"ipAddress"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"IpAddress"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ipAddress"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"unassignedResellers"},name:{kind:"Name",value:"clients"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"type"},value:{kind:"EnumValue",value:"RESELLER"}},{kind:"ObjectField",name:{kind:"Name",value:"unassigned"},value:{kind:"BooleanValue",value:!0}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:348}};n.loc.source={body:"query UnassignedIpAddressResellers($id: ID!){\r\n    ipAddress:node(id: $id) {\r\n        ... on IpAddress {\r\n            id\r\n            type\r\n            ipAddress\r\n            type\r\n            unassignedResellers: clients(filter:{ type: RESELLER, unassigned: true }) {\r\n                id\r\n                name\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.UnassignedIpAddressResellers=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 d=o;o=new Set,d.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,"UnassignedIpAddressResellers")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"DomainsResourceUsage"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NamedType",name:{kind:"Name",value:"ResourceUsageListInput"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"client"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"resourceUsage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"clientName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domainName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"diskUsage"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"traffic"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"subDomainsCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"webUsersCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"databasesCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mailBoxesCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"autoRepliesCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mailForwardingsCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mailListsCount"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"current"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pageCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"total"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"sortInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sortColumn"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sortDirection"},arguments:[],directives:[]}]}}]}}]}}]}}]}}],loc:{start:0,end:909}};n.loc.source={body:"query DomainsResourceUsage (\r\n    $input: ResourceUsageListInput\r\n) {\r\n    viewer {\r\n        login\r\n        client {\r\n            id\r\n            email\r\n            resourceUsage(input: $input) {\r\n                nodes {\r\n                    clientName\r\n                    domainName\r\n                    diskUsage\r\n                    traffic\r\n                    subDomainsCount\r\n                    webUsersCount\r\n                    databasesCount\r\n                    mailBoxesCount\r\n                    autoRepliesCount\r\n                    mailForwardingsCount\r\n                    mailListsCount\r\n                }\r\n                pageInfo {\r\n                    current\r\n                    pageCount\r\n                    total\r\n                }\r\n                sortInfo {\r\n                    sortColumn\r\n                    sortDirection\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.DomainsResourceUsage=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 d=o;o=new Set,d.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,"DomainsResourceUsage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ClientIpAddress"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"clientId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"client"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"os"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isWindows"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"client"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"clientId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Client"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"availableIpAddress"},name:{kind:"Name",value:"ipAddresses"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"unassigned"},value:{kind:"BooleanValue",value:!0}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"ipAddresses"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ipAddress"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isBroken"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[{kind:"Argument",name:{kind:"Name",value:"clientId"},value:{kind:"Variable",name:{kind:"Name",value:"clientId"}}}],directives:[]},{kind:"Field",name:{kind:"Name",value:"allocatedType"},arguments:[{kind:"Argument",name:{kind:"Name",value:"clientId"},value:{kind:"Variable",name:{kind:"Name",value:"clientId"}}}],directives:[]},{kind:"Field",name:{kind:"Name",value:"ftpOverSSL"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"certificate"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ownerName"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"domains"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"clientId"},value:{kind:"Variable",name:{kind:"Name",value:"clientId"}}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"server"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ipAddresses"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isPoolEditable"},arguments:[{kind:"Argument",name:{kind:"Name",value:"clientId"},value:{kind:"Variable",name:{kind:"Name",value:"clientId"}}}],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"capability"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ftp"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isExplicitSSL"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:1054}};n.loc.source={body:"query ClientIpAddress($clientId: ID!) {\r\n    viewer {\r\n        login\r\n        type\r\n        client {\r\n            id\r\n        }\r\n    }\r\n    os {\r\n        isWindows\r\n    }\r\n    client: node(id: $clientId) {\r\n        ... on Client {\r\n            id\r\n            login\r\n            availableIpAddress: ipAddresses(filter: { unassigned: true }) {\r\n                id\r\n            }\r\n            ipAddresses {\r\n                id\r\n                ipAddress\r\n                isBroken\r\n                type(clientId: $clientId)\r\n                allocatedType(clientId: $clientId)\r\n                ftpOverSSL\r\n                certificate {\r\n                    id\r\n                    name\r\n                    ownerName\r\n                }\r\n                domains(filter: { clientId: $clientId }) {\r\n                    id\r\n                }\r\n            }\r\n        }\r\n    }\r\n    server {\r\n        ipAddresses {\r\n            isPoolEditable(clientId: $clientId)\r\n        }\r\n    }\r\n    capability {\r\n        ftp {\r\n            isExplicitSSL\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.ClientIpAddress=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 d=o;o=new Set,d.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,"ClientIpAddress")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ClientIpAddressForm"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ipAddressId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"clientId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"capability"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"ftp"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isExplicitSSL"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"os"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isWindows"},arguments:[],directives:[]}]}},{kind:"Field",alias:{kind:"Name",value:"ipAddress"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"ipAddressId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"IpAddress"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ipAddress"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"interface"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[{kind:"Argument",name:{kind:"Name",value:"clientId"},value:{kind:"Variable",name:{kind:"Name",value:"clientId"}}}],directives:[]},{kind:"Field",name:{kind:"Name",value:"allocatedType"},arguments:[{kind:"Argument",name:{kind:"Name",value:"clientId"},value:{kind:"Variable",name:{kind:"Name",value:"clientId"}}}],directives:[]},{kind:"Field",name:{kind:"Name",value:"typeChangeableInClientPool"},arguments:[{kind:"Argument",name:{kind:"Name",value:"clientId"},value:{kind:"Variable",name:{kind:"Name",value:"clientId"}}}],directives:[]},{kind:"Field",name:{kind:"Name",value:"isBroken"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ftpOverSSL"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"domains"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"clientId"},value:{kind:"Variable",name:{kind:"Name",value:"clientId"}}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"defaultDomain"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"certificate"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ownerName"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",alias:{kind:"Name",value:"client"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"clientId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Client"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"certificates"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ownerName"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:1056}};n.loc.source={body:"query ClientIpAddressForm($ipAddressId: ID!, $clientId: ID!) {\r\n    capability {\r\n        ftp {\r\n            isExplicitSSL\r\n        }\r\n    }\r\n    os {\r\n        isWindows\r\n    }\r\n    ipAddress: node(id: $ipAddressId) {\r\n        ... on IpAddress {\r\n            id\r\n            ipAddress\r\n            interface\r\n            type(clientId: $clientId)\r\n            allocatedType(clientId: $clientId)\r\n            typeChangeableInClientPool(clientId: $clientId)\r\n            isBroken\r\n            ftpOverSSL\r\n            domains(filter:{ clientId: $clientId }) {\r\n                id\r\n                name\r\n            }\r\n            defaultDomain {\r\n                id\r\n                name\r\n            }\r\n            certificate {\r\n                id\r\n                name\r\n                ownerName\r\n            }\r\n        }\r\n    }\r\n    client: node(id: $clientId) {\r\n        ...on Client {\r\n            id\r\n            type\r\n            certificates {\r\n                id\r\n                name\r\n                ownerName\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.ClientIpAddressForm=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 d=o;o=new Set,d.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,"ClientIpAddressForm")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AssignClientIpAddress"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"clientId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"client"},name:{kind:"Name",value:"node"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"clientId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Client"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",alias:{kind:"Name",value:"availableIpAddress"},name:{kind:"Name",value:"ipAddresses"},arguments:[{kind:"Argument",name:{kind:"Name",value:"filter"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"unassigned"},value:{kind:"BooleanValue",value:!0}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ipAddress"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:302}};n.loc.source={body:"query AssignClientIpAddress($clientId: ID!) {\r\n    client: node(id: $clientId) {\r\n        ... on Client {\r\n            id\r\n            login\r\n            availableIpAddress: ipAddresses(filter: { unassigned: true }) {\r\n                id\r\n                ipAddress\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.AssignClientIpAddress=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 d=o;o=new Set,d.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,"AssignClientIpAddress")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"PhpExtensionsPage"},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:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"version"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"cliPath"},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:"affectedHandlers"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"os"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isUnix"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"config"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"php"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pecl"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"enabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"minVersion"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:450}};n.loc.source={body:"query PhpExtensionsPage($id: ID!) {\r\n    phpHandler(id: $id) {\r\n        id\r\n        name\r\n        version\r\n        cliPath\r\n        phpExtensions {\r\n            name\r\n            enabled\r\n        }\r\n        affectedHandlers {\r\n            id\r\n            name\r\n        }\r\n    }\r\n    os {\r\n        isUnix\r\n    }\r\n    config {\r\n        php {\r\n            pecl {\r\n                enabled\r\n                minVersion\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.PhpExtensionsPage=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 d=o;o=new Set,d.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,"PhpExtensionsPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"TsSessionPage"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ids"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tsSessions"},arguments:[{kind:"Argument",name:{kind:"Name",value:"ids"},value:{kind:"Variable",name:{kind:"Name",value:"ids"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"info"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:150}};n.loc.source={body:"query TsSessionPage($ids: [ID!]!) {\r\n    tsSessions(ids: $ids) {\r\n        id\r\n        info {\r\n            name\r\n            value\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.TsSessionPage=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 d=o;o=new Set,d.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,"TsSessionPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"TsSessions"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"ids"}},type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tsSessions"},arguments:[{kind:"Argument",name:{kind:"Name",value:"ids"},value:{kind:"Variable",name:{kind:"Name",value:"ids"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"state"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"user"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:125}};n.loc.source={body:"query TsSessions($ids: [ID!]) {\r\n    tsSessions(ids: $ids) {\r\n        name\r\n        state\r\n        user\r\n        id\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.TsSessions=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 d=o;o=new Set,d.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,"TsSessions")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AspDotNetServerSettings"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"server"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"aspNetSettings"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"configs"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"version"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"connStrings"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"customErrMode"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"enumValues"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"culture"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"enumValues"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"debugMode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"authMode"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"enumValues"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"customErrors"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"canDelete"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"values"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"redirectUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"statusCode"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"fileEnc"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"reqEnc"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"resEnc"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sessTimeout"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"tempDirectory"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"trustLevelAllowOverride"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"uiCulture"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"enumValues"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"defLanguage"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"enumValues"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"trustLevel"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"enumValues"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}}],loc:{start:0,end:1837}};n.loc.source={body:"query AspDotNetServerSettings {\r\n    server {\r\n        aspNetSettings {\r\n            configs {\r\n                version\r\n                connStrings {\r\n                    name\r\n                    value\r\n                }\r\n\r\n                customErrMode {\r\n                    value\r\n                    enumValues {\r\n                        name\r\n                        value\r\n                    }\r\n                }\r\n                culture {\r\n                    value\r\n                    enumValues {\r\n                        name\r\n                        value\r\n                    }\r\n                }\r\n\r\n                debugMode\r\n                authMode {\r\n                    value\r\n                    enumValues {\r\n                        name\r\n                        value\r\n                    }\r\n                }\r\n                customErrors {\r\n                    canDelete\r\n                    values {\r\n                        redirectUrl\r\n                        statusCode\r\n                    }\r\n                }\r\n                fileEnc\r\n                reqEnc\r\n                resEnc\r\n                sessTimeout\r\n                tempDirectory\r\n                trustLevelAllowOverride\r\n                uiCulture {\r\n                    value\r\n                    enumValues {\r\n                        name\r\n                        value\r\n                    }\r\n                }\r\n\r\n                defLanguage {\r\n                    value\r\n                    enumValues {\r\n                        name\r\n                        value\r\n                    }\r\n                }\r\n                trustLevel {\r\n                    value\r\n                    enumValues {\r\n                        name\r\n                        value\r\n                    }\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.AspDotNetServerSettings=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 d=o;o=new Set,d.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,"AspDotNetServerSettings")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ServerAboutPage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"primaryKey"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pleskKeyId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"editionName"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"server"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"productVersion"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"version"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"patch"},arguments:[],directives:[]}]}}]}},{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:"siteUrl"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"blogUrl"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"feedback"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"forumUrl"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"facebook"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pleskPage"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"twitter"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pleskPage"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:463}};n.loc.source={body:"query ServerAboutPage {\r\n    primaryKey {\r\n        pleskKeyId\r\n        editionName\r\n    }\r\n    server {\r\n        productVersion {\r\n            name\r\n            version\r\n            patch\r\n        }\r\n    }\r\n    config {\r\n        product {\r\n            siteUrl\r\n            blogUrl\r\n        }\r\n        feedback {\r\n            forumUrl\r\n        }\r\n        facebook {\r\n            pleskPage\r\n        }\r\n        twitter {\r\n            pleskPage\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.ServerAboutPage=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 d=o;o=new Set,d.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,"ServerAboutPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"MassMailPage"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NamedType",name:{kind:"Name",value:"MassEmailTemplateListInput"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"massEmail"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"templates"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"templateId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fromEmail"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sendToAdmins"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sendToResellers"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sendToResellersMode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sendToClients"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sendToClientsMode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"subject"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"created"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"pageInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"current"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"total"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"pageCount"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"sortInfo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sortColumn"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sortDirection"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:673}};n.loc.source={body:"query MassMailPage($input: MassEmailTemplateListInput) {\r\n    massEmail {\r\n        templates(input: $input) {\r\n            nodes {\r\n                templateId\r\n                name\r\n                fromEmail\r\n                sendToAdmins\r\n                sendToResellers\r\n                sendToResellersMode\r\n                sendToClients\r\n                sendToClientsMode\r\n                subject\r\n                created\r\n            }\r\n            pageInfo {\r\n                current\r\n                total\r\n                pageCount\r\n            }\r\n            sortInfo {\r\n                sortColumn\r\n                sortDirection\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.MassMailPage=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 d=o;o=new Set,d.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,"MassMailPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"CreateMassMailTemplatePage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"customers"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"resellers"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:245}};n.loc.source={body:"query CreateMassMailTemplatePage {\r\n    viewer {\r\n        login\r\n        customers {\r\n            id\r\n            name\r\n            email\r\n        }\r\n        resellers {\r\n            id\r\n            name\r\n            email\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.CreateMassMailTemplatePage=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 d=o;o=new Set,d.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,"CreateMassMailTemplatePage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SendMassMailPage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"massEmail"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"templates"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"templateId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"customers"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"resellers"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:377}};n.loc.source={body:"query SendMassMailPage {\r\n    massEmail {\r\n        templates {\r\n            nodes {\r\n                templateId\r\n                name\r\n            }\r\n        }\r\n    }\r\n    viewer {\r\n        login\r\n        customers {\r\n            id\r\n            name\r\n            email\r\n        }\r\n        resellers {\r\n            id\r\n            name\r\n            email\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.SendMassMailPage=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 d=o;o=new Set,d.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,"SendMassMailPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"EditMassMailTemplatePage"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"numericId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"customers"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"resellers"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"massEmail"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"template"},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:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fromEmail"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sendToAdmins"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sendToResellers"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sendToResellersMode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sendToClients"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sendToClientsMode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"subject"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"body"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"templateResellers"},arguments:[{kind:"Argument",name:{kind:"Name",value:"templateId"},value:{kind:"Variable",name:{kind:"Name",value:"numericId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"contacts"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"templateClients"},arguments:[{kind:"Argument",name:{kind:"Name",value:"templateId"},value:{kind:"Variable",name:{kind:"Name",value:"numericId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"contacts"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:805}};n.loc.source={body:"query EditMassMailTemplatePage($id: ID!, $numericId: Int!) {\r\n    viewer {\r\n        login\r\n        customers {\r\n            id\r\n            name\r\n            email\r\n        }\r\n        resellers {\r\n            id\r\n            name\r\n            email\r\n        }\r\n    }\r\n    massEmail {\r\n        template(id: $id) {\r\n            name\r\n            fromEmail\r\n            sendToAdmins\r\n            sendToResellers\r\n            sendToResellersMode\r\n            sendToClients\r\n            sendToClientsMode\r\n            subject\r\n            body\r\n        }\r\n        templateResellers(templateId: $numericId) {\r\n            contacts {\r\n                id\r\n            }\r\n        }\r\n        templateClients(templateId: $numericId) {\r\n            contacts {\r\n                id\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.EditMassMailTemplatePage=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 d=o;o=new Set,d.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,"EditMassMailTemplatePage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ActionLogPage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isAdminAlias"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"actionLog"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"objects"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"displayName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"enabled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"actions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"displayName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"enabled"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"rotate"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"records"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"period"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"unit"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"minDate"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"year"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:492}};n.loc.source={body:"query ActionLogPage {\r\n    viewer {\r\n        isAdminAlias\r\n        login\r\n    }\r\n    actionLog {\r\n        objects {\r\n            name\r\n            displayName\r\n            enabled\r\n            actions {\r\n                displayName\r\n                enabled\r\n            }\r\n        }\r\n        rotate {\r\n            type\r\n            records\r\n            period {\r\n                value\r\n                unit\r\n            }\r\n        }\r\n        minDate {\r\n            year\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.ActionLogPage=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 d=o;o=new Set,d.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,"ActionLogPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ServerInformationPage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"server"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"information"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"cpu"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"cpuCores"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sysUptime"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"loadAverage"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"last1min"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last5min"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"last15min"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"memory"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"total"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"used"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"available"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"buffer"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"cached"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"shared"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"free"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hardware"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"swap"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"total"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"used"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"free"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"sysDiskSpace"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"directory"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"total"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"used"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"available"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"protectedDirectories"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"domains"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"active"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"inactive"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"problems"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"productVersion"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"version"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"build"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"os"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"osVersion"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"os"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isWindows"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"primaryKey"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pleskKeyId"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:1126}};n.loc.source={body:"query ServerInformationPage {\r\n    server {\r\n        information {\r\n            cpu\r\n            cpuCores\r\n            sysUptime\r\n            loadAverage {\r\n                last1min\r\n                last5min\r\n                last15min\r\n            }\r\n            memory {\r\n                total\r\n                used\r\n                available\r\n                buffer\r\n                cached\r\n                shared\r\n                free\r\n                hardware\r\n            }\r\n            swap {\r\n                total\r\n                used\r\n                free\r\n            }\r\n            sysDiskSpace {\r\n                directory\r\n                total\r\n                used\r\n                available\r\n                protectedDirectories\r\n            }\r\n            domains {\r\n                active\r\n                inactive\r\n                problems\r\n            }\r\n        }\r\n        productVersion {\r\n            name\r\n            version\r\n            build\r\n            os\r\n            osVersion\r\n        }\r\n    }\r\n    os {\r\n        isWindows\r\n        name\r\n    }\r\n    primaryKey {\r\n        pleskKeyId\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.ServerInformationPage=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 d=o;o=new Set,d.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,"ServerInformationPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ServerSettingsPage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"server"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"settings"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"forbidSysUserRename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"disableIpLogging"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"forbidCreateDnsSubZone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"forbidSubscriptionRename"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fullHostName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"includeAdminDumps"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"includeDatabases"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"includeDomainDumps"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"includeLogs"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"includeMailLists"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"includeMailboxes"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"includeMssqlDatabases"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"includePgsqlDatabases"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"includeMysqlDatabases"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"includeRemoteDatabases"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logrotateAnonymizeIps"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logrotateForce"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"logrotatePeriod"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"preferredDomain"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"sizeCountType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"trafficAccounting"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"trafficStatisticsPeriod"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"webDeployIncludePassword"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"mode"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isPumAllowed"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"os"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isUnix"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:893}};n.loc.source={body:"query ServerSettingsPage {\r\n    server {\r\n        settings {\r\n            forbidSysUserRename\r\n            disableIpLogging\r\n            forbidCreateDnsSubZone\r\n            forbidSubscriptionRename\r\n            fullHostName\r\n            includeAdminDumps\r\n            includeDatabases\r\n            includeDomainDumps\r\n            includeLogs\r\n            includeMailLists\r\n            includeMailboxes\r\n            includeMssqlDatabases\r\n            includePgsqlDatabases\r\n            includeMysqlDatabases\r\n            includeRemoteDatabases\r\n            logrotateAnonymizeIps\r\n            logrotateForce\r\n            logrotatePeriod\r\n            preferredDomain\r\n            sizeCountType\r\n            trafficAccounting\r\n            trafficStatisticsPeriod\r\n            webDeployIncludePassword\r\n        }\r\n    }\r\n    mode {\r\n        isPumAllowed\r\n    }\r\n    os {\r\n        isUnix\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.ServerSettingsPage=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 d=o;o=new Set,d.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,"ServerSettingsPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ServerMailTabs"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"login"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"permissions"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"manageServerSpamFilter"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"manageServerMailBlackWhiteLists"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"capability"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"packages"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isSpamAssassinInstalled"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isGreyListingInstalled"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:307}};n.loc.source={body:"query ServerMailTabs {\r\n    viewer {\r\n        login\r\n        permissions {\r\n            manageServerSpamFilter\r\n            manageServerMailBlackWhiteLists\r\n        }\r\n    }\r\n    capability {\r\n        packages {\r\n            isSpamAssassinInstalled\r\n            isGreyListingInstalled\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.ServerMailTabs=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 d=o;o=new Set,d.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,"ServerMailTabs")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ServerMailSpamFilterBlackListPage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"serverMail"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"spamAssassin"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"blackList"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"level"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:235}};n.loc.source={body:"query ServerMailSpamFilterBlackListPage {\r\n    serverMail {\r\n        spamAssassin {\r\n            blackList {\r\n                id\r\n                name\r\n                level\r\n                status\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.ServerMailSpamFilterBlackListPage=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 d=o;o=new Set,d.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,"ServerMailSpamFilterBlackListPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ServerMailSpamFilterWhiteListPage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"serverMail"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"spamAssassin"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"whiteList"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"level"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:235}};n.loc.source={body:"query ServerMailSpamFilterWhiteListPage {\r\n    serverMail {\r\n        spamAssassin {\r\n            whiteList {\r\n                id\r\n                name\r\n                level\r\n                status\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.ServerMailSpamFilterWhiteListPage=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 d=o;o=new Set,d.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,"ServerMailSpamFilterWhiteListPage")},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>t.default});var t=i(846)},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>y});var t=i(270),a=i(272),s=i.n(a),r=i(579),o=i(574),d=i(271),l=i(89),c=i(628),m=i(633),u=i(847),p=i(848),v=i(849),f=i(851),h=i(852),g=i(313),k=i(788),_=i.n(k);const S=l.Locale.getTranslate("components.forms.login"),b=({values:e})=>{const n=(0,o.useNavigate)(),{status:i}=(0,g.usePageData)(),{data:{config:a,serverInfo:{isFirstLogin:s,cloudType:p},loginContentInclude:{headContent:v,bodyContent:f}}}=(0,r.useQuery)(_()),h=(0,t.useMemo)((()=>({login_name:"",passwd:"",locale_id:"default",...e})),[e]),[k,b]=(0,t.useState)({});(0,t.useInsertionEffect)((()=>{if(!v)return;const e=[],n=document.head.childNodes.length;(0,l.render)(document.head,v);const i=document.head.childNodes.length;for(let t=n;t<i;t++)e.push(document.head.childNodes[t]);return()=>{e.forEach((e=>{document.head.removeChild(e)}))}}),[v]),(0,t.useEffect)((()=>{document.querySelector('input[name="locale_id"]').value=h?.locale_id??"default"}),[]);return(0,t.jsxs)(t.Fragment,{children:[s&&"DO"===p?(0,t.jsx)(d.StatusMessage,{intent:"info",className:"login-page__info",children:(0,t.jsx)(S,{content:"digitalOceanMsg",params:{link:(0,t.jsx)(d.Link,{href:"https://docs.plesk.com/en-US/obsidian/deployment-guide/plesk-installation-and-upgrade-on-public-cloud-services/installing-plesk-on-digitalocean.79699/#accessing-plesk-for-the-first-time",target:"_blank",children:(0,t.jsx)(S,{content:"readGuide"})})}})}):s&&"AMI_LIGHTSAIL"===p?(0,t.jsx)(d.StatusMessage,{intent:"info",className:"login-page__info",children:(0,t.jsx)(S,{content:"amazonLightsailMsg",params:{link:(0,t.jsx)(d.Link,{href:"https://docs.plesk.com/en-US/obsidian/deployment-guide/plesk-installation-and-upgrade-on-public-cloud-services/installing-plesk-on-amazon-lightsail.79028/#accessing-plesk-for-the-first-time",target:"_blank",children:(0,t.jsx)(S,{content:"readGuide"})})}})}):null,(0,t.jsx)(u.default,{id:"form-login",method:"post",applyButton:!1,cancelButton:!1,statusMessages:i,submitButton:{name:"send",children:(0,t.jsx)(S,{content:"loginButtonLabel"}),fill:!0,className:"login-page__login-button","data-action":"log-in"},onSubmit:e=>{const n={};if(""===e.login_name&&(n.login_name={empty:(0,t.jsx)(S,{content:"enterUsername"})}),""===e.passwd&&(n.passwd={empty:(0,t.jsx)(S,{content:"enterPassword"})}),b(n),!Object.keys(n).length)return{...e,locale_id:document.querySelector('input[name="locale_id"]').value}},vertical:!0,values:h,errors:k,className:"login-page__form",children:(0,t.jsxs)("div",{id:"loginSection",children:[(0,t.jsx)(d.FormFieldText,{name:"login_name",label:(0,t.jsx)(S,{content:"loginLabel"}),autoFocus:!0,size:"fill"}),(0,t.jsx)(d.FormFieldPassword,{name:"passwd",label:(0,t.jsx)(S,{content:"passwdLabel"}),hideGenerateButton:!0,hidePasswordMeter:!0,size:"fill"}),(0,t.jsx)("input",{type:"hidden",name:"locale_id"})]})}),(0,t.jsxs)("div",{className:"login-page__links",children:[a?.login?.howToLoginArticle?(0,t.jsx)(d.Action,{icon:"question-mark-circle",href:a.login.howToLoginArticle,target:"_blank","data-action":"open-how-to",children:(0,t.jsx)(S,{content:"whatUsernamePassword"})}):null,(0,t.jsx)(d.Action,{icon:"lock-closed",href:"/get_password.php",onClick:e=>{e.preventDefault();const i=document.querySelector('input[name="locale_id"]').value,t=e.target.closest("a").getAttribute("href");n(`${t}${i&&"default"!==i?`?locale=${encodeURIComponent(i)}`:""}`)},"data-action":"reset-password",children:(0,t.jsx)(S,{content:"forgotPasswordLabel"})}),a?.gdpr?.cookieSettings?.loginFormEntrypointEnabled&&(0,t.jsx)(d.Action,{component:m.default,icon:"globe",to:"?modals[cookie-policy-preferences]=true","data-action":"open-cookies-policy",children:(0,t.jsx)(S,{content:"cookies"})})]}),f?(0,t.jsx)(c.default,{children:f}):null]})};b.propTypes={values:s().shape({login_name:s().string,passwd:s().string,locale_id:s().string})};const y=(0,p.withLoginLayout)(b,(({values:e})=>{const{data:{locales:n,viewer:{resolvableHostname:i,mobileApplicationPromotion:a,background:s},loginContentInclude:{bodyContent:o}}}=(0,r.useQuery)(_());return{actions:n.length>1?(0,t.jsx)(h.default,{locales:n,value:e?.locale_id??"default",onChange:e=>{document.querySelector('input[name="locale_id"]').value=e,document.documentElement.lang=e.split("-")[0];const i=n.find((({code:n})=>n===e));o||i?.isRtl!==("rtl"===document.documentElement.dir)?document.getElementById("form-login").submit():l.Locale.loadSections(Object.keys(l.Locale.sections),e)}}):void 0,contentAddon:[i?(0,t.jsx)(f.default,{link:i}):null,a?(0,t.jsx)(v.default,{...a}):null],background:s}}))},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>g});var t=i(271),a=i(270),s=i(272),r=i.n(s),o=i(89),d=i(640),l=i(628),c=i(574),m=i(576);const u=(e,n,i,t)=>{let a;const s=e.querySelector(`#${n.join("-")}`);a=s?s.parentNode.querySelector(".field-errors"):null,a||(a=s?s.closest(".form-row").querySelector(".field-errors"):null),a||(a=e.querySelector(`#${n.join("-")}-form-row`).querySelectorAll(".field-errors"),a=a[a.length-1]),a.closest(".form-row").classList.add("error"),(0,o.render)(a,`<span class="error-hint">${(0,o.escapeHtml)(t)}</span>`),a.style.display=""},p=(e,n,i)=>{Array.isArray(n)?n.forEach((n=>{"string"==typeof n?u(e,i,0,n):(i.push(name),p(e,n,i),i.pop())})):Object.entries(n).forEach((([n,t])=>{"string"==typeof t?u(e,i,0,t):(i.push(n),p(e,t,i),i.pop())}))},v=(e,n,i)=>{if(0===n.length||"function"!=typeof i)return;const t=new FormData([...document.forms].find((({id:n})=>n===e)));for(const e of t.entries()){const[t,a]=e;n.some((e=>t.startsWith(e)))&&i(t,a)}},f=(e,n)=>(n||[]).reduce(((n,{name:i})=>[...n,`${e}[${i}]`,i]),[]),h=(0,a.forwardRef)((({children:e=null,id:n,action:i,mutation:s,values:r,onFieldChange:u,onSubmit:h,onError:g,onSuccess:k,onLongTask:_,embeddedForms:S,formPrefix:b="",embeddedFormsRender:y,statusMessages:N,errors:E,...w},D)=>{const F=(0,c.useNavigate)(),P=(0,a.useRef)(null),C=(0,a.useRef)(null),[I,T]=(0,a.useState)({}),[x,L]=(0,a.useState)(N??[]),[O,A]=(0,a.useState)(null),q=(0,a.useMemo)((()=>({...I,...E||{}})),[I,E]);(0,a.useEffect)((()=>{(S||[]).forEach((({name:e})=>{const n=document.getElementById(`embedded-form-${e}`);n.querySelectorAll(".field-errors").forEach((e=>{e.style.display="none",e.closest(".form-row")?.classList.remove("error"),e.querySelectorAll(".error-hint").forEach((e=>{e.parentNode.removeChild(e)}))}));const i=(b?I[b]||{}:I)[e]||{};p(n,i,b?[b,e]:[e])}))}),[I,S,b]),(0,a.useEffect)((()=>{v(n,f(b,S),((e,n)=>{((e,n)=>{const i=document.getElementsByName(e);i.forEach((e=>{"checkbox"===e.type||"radio"===e.type?e.checked=e.value===n:"hidden"===e.type&&Array.prototype.filter.call(i,(({type:e})=>"checkbox"===e)).length>0||(e.value=n)}))})(e,(0,t.getIn)(r,e,n))}))}),[S]),(0,a.useImperativeHandle)(D,(()=>({handleEmbeddedFormValues(){v(n,f(b,S),u)},submit(){P.current.submit()}})),[n,u,S,b,P]),(0,a.useEffect)((()=>{x.length&&C.current.scrollIntoView({behavior:"smooth"})}),[x]);const M=(e,n)=>{if("Jsw.Task.ProgressBar.Item"===e.componentType&&"function"==typeof _)return void _(e);const i="apply"===n,{status:t,redirect:a,forceRedirect:s=!1,postData:r,target:d,formMessages:l,statusMessages:c=[]}=e;if(a)if("function"==typeof k&&k(),i){const{pathname:e}=window.location;(0,m.isClientSideRedirectAllowed)(e)?(F(e,{replace:!0}),A(null)):document.location.reload()}else r?(0,o.redirectPost)(a,r,d):(0,m.isClientSideRedirectAllowed)(a)&&!s?F(a):(0,o.redirect)(a,null,d);else A(null),L(c),T(l),l||"error"===t||"function"!=typeof k||k(e,i),l&&"function"==typeof g&&g(l,T)},R=()=>(S||[]).map((({name:e,content:n})=>(0,a.jsx)(l.default,{id:`embedded-form-${e}`,children:n},e)));return(0,a.jsxs)(t.Form,{...w,ref:P,id:n,values:r,onFieldChange:u,onSubmit:async(e,a)=>{if(v(n,f(b,S),((n,i)=>{e=(0,t.setIn)(e,n,i)})),"function"==typeof h&&(e=await h(e,a)),!e)return;L([]),T({});const r=a?"apply":"submit";if(A(r),s)try{const{data:n}=await s({variables:{input:e}});"function"==typeof k&&k(n,a)}catch(e){const{graphQLErrors:n}=e;if(!n?.length)return void L([{status:"error",content:e.message}]);if("validate"===n[0].extensions?.category){const e=n[0].extensions.messages;T(e),"function"==typeof g&&g(e)}else L([{status:"error",content:n[0].extensions?.debugMessage||n[0].message}])}finally{A(null)}else try{M(await o.api.post(i||window.location.href,(0,d.toFormData)(e)),r)}catch(e){A(null),(0,o.showInternalError)(e)}},errors:q,state:O,children:[x.length?(0,a.jsx)("span",{ref:C,children:x.map((({status:e,content:n,title:i})=>(0,a.jsxs)(t.StatusMessage,{intent:"error"===e?"danger":"success",children:[i?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("b",{children:[i,":"]})," "]}):null,(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:n}})]},n)))}):null,e,y?y(R()):R()]})}));h.propTypes={children:r().node,id:r().string,action:r().string,mutation:r().func,values:r().object,onFieldChange:r().func,onSubmit:r().func,onError:r().func,onSuccess:r().func,onLongTask:r().func,embeddedForms:r().array,formPrefix:r().string,embeddedFormsRender:r().func,errors:r().object,statusMessages:r().array},h.displayName="Form";const g=h},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>p,withLoginLayout:()=>u});var t=i(270),a=i(598),s=i.n(a),r=i(272),o=i.n(r),d=i(271),l=i(673),c=i(606);const m=({children:e,actions:n,customBackground:i={file:void 0,color:"#4B4B4B",fit:"fill"},...a})=>((0,t.useLayoutEffect)((()=>(document.body.classList.add("sid-login"),()=>{document.body.classList.remove("sid-login")})),[]),(0,t.jsxs)("div",{className:"login-page",children:[(0,t.jsx)(c.default,{layoutType:"simplified"}),(0,t.jsx)(d.Layout,{type:"simplified",className:s()("login-page__inner",`login-page__background login-page__background--${i.fit}`),style:{"--login-bg-color":i.color,"--login-bg-image":i.file?`url(/images/${i.file})`:null},header:(0,t.jsxs)("div",{className:"login-page-header",children:[(0,t.jsx)("div",{className:"login-page-header__brand",children:(0,t.jsx)(l.default,{})}),n?(0,t.jsx)("div",{className:"login-page-header__actions",children:n}):null]}),...a,children:(0,t.jsx)("div",{id:"main",className:"login-page__content",children:e})})]}));m.propTypes={children:o().any,actions:o().any,customBackground:o().shape({file:o().string,color:o().string.isRequired,fit:o().string.isRequired})};const u=(e,n)=>{const i=i=>{const{contentAddon:a,actions:s,background:r,...o}={...i,..."function"==typeof n?n(i):n};return(0,t.jsx)(m,{contentAddon:a,actions:s,customBackground:r,children:(0,t.jsx)(e,{...o})})};return i.displayName=`withLoginLayout(${e.displayName||e.name||"Component"})`,i.WrappedComponent=e,i},p=m},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>v});var t=i(270),a=i(272),s=i.n(a),r=i(598),o=i.n(r),d=i(271),l=i(89),c=i(358);const m=l.Locale.getTranslate("components.forms.login"),u="mobile-application-promotion-hidden",p=({baseClassName:e="login-mobile-application-promotion",className:n,name:a,url:s,icon:r})=>{const[l,p]=(0,t.useState)(Boolean("1"!==c.default.get(u))),v=()=>{p(!1),c.default.setPermanent(u,"1","/")};return l?(0,t.jsx)(d.Alert,{intent:"info",className:o()(e,n),children:(0,t.jsxs)(d.Media,{title:(0,t.jsx)(d.Heading,{level:4,children:a}),image:(0,t.jsx)(d.Icon,{className:`${e}__icon`,src:r||i(850),size:"64"}),children:[(0,t.jsx)(d.MediaSection,{children:(0,t.jsx)(m,{content:"mobileApplicationMessage",params:{name:a}})}),(0,t.jsxs)(d.MediaSection,{children:[(0,t.jsx)(d.Button,{className:`${e}__button`,component:"a",intent:"primary",href:s,onClick:v,children:(0,t.jsx)(m,{content:"mobileApplicationInstall"})}),(0,t.jsx)(d.Button,{className:`${e}__button`,onClick:v,children:(0,t.jsx)(m,{content:"mobileApplicationHide"})})]})]})}):null};p.propTypes={name:s().string.isRequired,url:s().string.isRequired,icon:s().string,className:s().string,baseClassName:s().string};const v=p},e=>{e.exports=Jsw.skinUrl+"/icons/64/plesk/plesk.png?aee4fcbe66c643d3dde4f3de15aa8f4e"},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>u});var t=i(598),a=i.n(t),s=i(271),r=i(89),o=i(272),d=i.n(o),l=i(270);const c=r.Locale.getTranslate("components.forms.login"),m=({baseClassName:e="login-ssl-warnings",className:n,link:i})=>{const t=i.match(/^https?:\/\/[^\/?#]*/)[0];return(0,l.jsx)(s.Alert,{intent:"info",className:a()(e,n),children:(0,l.jsx)(c,{content:"avoidSSLWarningsMsg",params:{link:(0,l.jsx)(s.Link,{href:i,children:t})}})})};m.propTypes={className:d().string,baseClassName:d().string,link:d().string.isRequired};const u=m},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>l});var t=i(270),a=i(272),s=i.n(a),r=i(271);const o=i(89).Locale.getTranslate("components.forms.login"),d=({locales:e,value:n,onChange:i})=>{const[a,s]=(0,t.useState)(n),d=(0,t.useMemo)((()=>e.slice().sort(((e,n)=>"en-US"===n.code||e.name>n.name?1:"en-US"===e.code||n.name>e.name?-1:0))),[e]),l=e=>{s(e),i(e)};return(0,t.jsx)(r.Dropdown,{menuPlacement:"bottom-end",menu:(0,t.jsxs)(r.Menu,{className:"login-page__locale-switcher-menu",children:[(0,t.jsx)(r.MenuItem,{active:"default"===a,onClick:()=>l("default"),children:(0,t.jsx)(o,{content:"defaultLocale"})}),d.map((({code:e,name:n,isRtl:i})=>(0,t.jsx)(r.MenuItem,{active:a===e,onClick:()=>l(e),dir:i?"rtl":"ltr",children:n},e)))]}),children:(0,t.jsx)(r.Button,{className:"login-page__locale-switcher-button pul-button--on-dark",tooltip:(0,t.jsx)(o,{content:"localeLabel"}),icon:"globe",ghost:!0,caret:!0})})};d.propTypes={locales:s().arrayOf(s().shape({code:s().string.isRequired,name:s().string.isRequired,isRtl:s().bool.isRequired})).isRequired,value:s().string.isRequired,onChange:s().func.isRequired};const l=d},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>k});var t=i(270),a=i(272),s=i.n(a),r=i(574),o=i(271),d=i(89),l=i(530),c=i(847),m=i(633),u=i(848),p=i(854),v=i.n(p),f=i(579);const h=d.Locale.getTranslate("components.forms.get-password"),g=({values:e})=>{const n=(0,r.useNavigate)(),i=(0,t.useMemo)((()=>({resetBy:"email",email:"",login:"",...e})),[e]),a=(0,t.useCallback)((()=>{(0,l.addToast)({intent:"success",message:(0,t.jsx)(h,{content:"messageSend"})}),n("/login_up.php")}),[n]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.Heading,{level:"3",children:(0,t.jsx)(h,{content:"label"})}),(0,t.jsx)("p",{children:(0,t.jsx)(h,{content:"text"})}),(0,t.jsx)(c.default,{id:"form-changepassword-getlink",values:i,onSuccess:a,applyButton:!1,submitButton:{children:(0,t.jsx)(h,{content:"send"}),"data-action":"send"},cancelButton:{component:m.default,to:"/login_up.php",children:(0,t.jsx)(h,{content:"cancel"}),"data-action":"cancel"},vertical:!0,children:(0,t.jsx)(o.FormFieldRadioButtons,{name:"resetBy",options:[{value:"email",label:(0,t.jsx)(h,{content:"emailLabel"}),indentFields:[(0,t.jsx)(o.FormFieldText,{name:"email",autoFocus:!0,size:"fill"},"reset-by-email")]},{value:"login",label:(0,t.jsx)(h,{content:"loginLabel"}),indentFields:[(0,t.jsx)(o.FormFieldText,{name:"login",size:"fill"},"reset-by-login")]}]})})]})};g.propTypes={values:s().shape({resetBy:s().string,email:s().string,login:s().string})};const k=(0,u.withLoginLayout)(g,(()=>{const{data:{viewer:{background:e}}}=(0,f.useQuery)(v());return{background:e}}))},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GetPasswordPage"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"background"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"file"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"color"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fit"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:136}};n.loc.source={body:"query GetPasswordPage {\r\n    viewer {\r\n        background {\r\n            file\r\n            color\r\n            fit\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.GetPasswordPage=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 d=o;o=new Set,d.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,"GetPasswordPage")},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>p});var t=i(270),a=i(574),s=i(271),r=i(89),o=i(392),d=i(530),l=i(847),c=i(633),m=i(848);const u=r.Locale.getTranslate("components.forms.restore-password"),p=(0,m.withLoginLayout)((()=>{const e=(0,a.useNavigate)(),[n,i]=(0,t.useState)({}),m=(0,t.useCallback)((()=>{(0,d.addToast)({intent:"success",message:(0,t.jsx)(u,{content:"restoreSuccess"})}),e("/login_up.php")}),[e]),p=(0,t.useCallback)((e=>(0,o.default)(e,(e=>r.api.post("?estimate",{password:e})))),[]);return(0,t.jsxs)(l.default,{id:"form-restore-password",onSubmit:e=>{const n={};if(e.password||(n.password={isEmpty:(0,t.jsx)(u,{content:"isEmpty"})}),i(n),!Object.keys(n).length)return e},onSuccess:m,submitButton:{children:(0,t.jsx)(u,{content:"buttonRestore"})},applyButton:!1,cancelButton:{children:(0,t.jsx)(u,{content:"buttonCancel"}),component:c.default,to:"/login_up.php"},errors:n,vertical:!0,children:[(0,t.jsx)("h3",{children:(0,t.jsx)(u,{content:"title"})}),(0,t.jsx)(s.FormFieldPassword,{title:(0,t.jsx)(u,{content:"passwordLabel"}),name:"password",size:"fill",autoComplete:"new-password",passwordMeterProps:{onEstimate:p,placement:"top-right"}})]})}))},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>m});var t=i(270),a=i(272),s=i.n(a),r=i(271),o=i(89),d=i(599);const l=(e,n,i)=>({...e,...Object.entries(n).reduce(((e,[n,t])=>(e[`${i}.${n}`]=t,e)),{})}),c=({children:e})=>{const[n,i]=(0,t.useState)(Object.entries(o.Locale.sections).reduce(((e,[n,i])=>l(e,i.messages,n)),{})),a=(0,t.useCallback)((({name:e,messages:n})=>{i((i=>l(i,n,e)))}),[]),s=(0,t.useCallback)((({sections:e})=>{i((n=>Object.entries(e).reduce(((e,[n,i])=>l(e,i,n)),n)))}),[]);return(0,d.useEventListener)("plesk:addedLocaleSection",a,o.Observer),(0,d.useEventListener)("plesk:addedLocaleSections",s,o.Observer),(0,t.jsx)(r.LocaleProvider,{messages:n,children:e})};c.propTypes={children:s().any};const m=c},,(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>l});var t=i(93),a=i(270),s=i(272),r=i.n(s),o=i(277);class d extends a.Component{constructor(...e){super(...e),(0,t.default)(this,"state",{error:null,errorInfo:null})}componentDidCatch(e,n){this.setState({error:e,errorInfo:n}),(0,o.captureException)(e)}render(){return this.state.errorInfo?(0,a.jsx)(a.Popover,{target:(0,a.jsx)(a.StatusMessage,{intent:"danger",style:{margin:0},children:"Internal error"}),intent:"danger",placement:"bottom-start",wide:!0,children:(0,a.jsxs)(a.Text,{style:{whiteSpace:"pre-wrap",fontFamily:"monospace"},children:[this.state.error&&this.state.error.toString(),this.state.errorInfo.componentStack]})}):this.props.children}}d.propTypes={children:r().any},d.defaultProps={children:void 0};const l=d},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>a});const t={"app/editlist":()=>i.e("app/editlist").then(i.bind(i,2457)),"app/rating":()=>i.e("app/rating").then(i.bind(i,2461)),"app/aha":()=>i.e("app/aha").then(i.bind(i,2462)),"app/eula":()=>i.e("app/eula").then(i.bind(i,2463)),"app/app-image/gallery":()=>i.e("app/app-image/gallery").then(i.bind(i,2464)),"app/backup/list":()=>i.e("app/backup/list").then(i.bind(i,2465)),"app/backup/restore":()=>i.e("app/backup/restore").then(i.bind(i,2470)),"app/backup/upload-files":()=>i.e("app/backup/upload-files").then(i.bind(i,2471)),"app/backup/web-content-dynamic":()=>i.e("app/backup/web-content-dynamic").then(i.bind(i,2472)),"app/database/assign-to-subscription":()=>i.e("app/database/assign-to-subscription").then(i.bind(i,1825)),"app/dns-helper":()=>i.e("app/dns-helper").then(i.bind(i,1869)),"app/dns-helper/dns-settings":()=>i.e("app/dns-helper/dns-settings").then(i.bind(i,2477)),"app/email-address/aliases-dynamic":()=>i.e("app/email-address/aliases-dynamic").then(i.bind(i,2478)),"app/email-address/form-ajax":()=>i.e("app/email-address/form-ajax").then(i.bind(i,2479)),"app/email-address/postbox":()=>i.e("app/email-address/postbox").then(i.bind(i,2481)),"app/email-address/responder-attachments-dynamic":()=>i.e("app/email-address/responder-attachments-dynamic").then(i.bind(i,2482)),"app/file-manager/explorer":()=>i.e("app/file-manager/explorer").then(i.bind(i,2483)),"app/file-manager/file-name-popup-form":()=>i.e("app/file-manager/file-name-popup-form").then(i.bind(i,2484)),"app/mail-settings/confirmation-remove-popup-form":()=>i.e("app/mail-settings/confirmation-remove-popup-form").then(i.bind(i,2485)),"app/hosting-settings/conflicts-checker":()=>i.e("app/hosting-settings/conflicts-checker").then(i.bind(i,2486)),"app/log-browser/browser":()=>i.e("app/log-browser/browser").then(i.bind(i,2488)),"app/log-browser/files":()=>i.e("app/log-browser/files").then(i.bind(i,2492)),"app/login/recovery-password":()=>i.e("app/login/recovery-password").then(i.bind(i,2493)),"app/newsletter-subscription":()=>i.e("app/newsletter-subscription").then(i.bind(i,2495)),"app/progress-dialog":()=>i.e("app/progress-dialog").then(i.bind(i,2499)),"app/profile/announcement-settings":()=>i.e("app/profile/announcement-settings").then(i.bind(i,2501)),"app/pum":()=>i.e("app/pum").then(i.bind(i,2503)),"app/server-mail-antivirus-promo":()=>i.e("app/server-mail-antivirus-promo").then(i.bind(i,2511)),"app/show-output-popup":()=>i.e("app/show-output-popup").then(i.bind(i,2512)),"app/task-progress-bar":()=>i.e("app/task-progress-bar").then(i.bind(i,2513)),"app/user/login-string":()=>i.e("app/user/login-string").then(i.bind(i,2515)),"app/change-customers-owner":()=>i.e("app/change-customers-owner").then(i.bind(i,2516)),"app/convert-customers-to-resellers":()=>i.e("app/convert-customers-to-resellers").then(i.bind(i,2517)),"app/convert-resellers-to-customers":()=>i.e("app/convert-resellers-to-customers").then(i.bind(i,2518)),"app/service-sidebar":()=>i.e("app/service-sidebar").then(i.bind(i,2519)),"app/ssl-certificate/list":()=>i.e("app/ssl-certificate/list").then(i.bind(i,2520)),"app/app/progress":()=>i.e("app/app/progress").then(i.bind(i,2522)),"app/app/installed":()=>i.e("app/app/installed").then(i.bind(i,2523)),"app/app/apscatalog":()=>i.e("app/app/apscatalog").then(i.bind(i,2524)),"app/web-app-firewall/submit-handler":()=>i.e("app/web-app-firewall/submit-handler").then(i.bind(i,2525))},a=async(e,n)=>{if(!t[e])throw new Error(`Unknown required module ${e}.`);try{const{default:i}=await t[e]();return n?.(i),i}catch(e){return console.error(e),new Promise((()=>{}))}}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>d});var t=i(955),a=i(1002),s=i(277),r=i(861),o=i(1026);const d=({sentry:e})=>{if(!e)return;if(window.navigator.userAgent.match(/jsdom/))return;const{user:n=null,tags:i={},environment:d,...l}=e,c="development"===d;(0,t.init)({integrations:[new a.InternalReplay({maskAllText:!c,maskAllInputs:!c}),new r.BrowserTracing({beforeNavigate:e=>({...e,name:location.pathname.replace(/\/[a-f0-9]{8}-[a-f0-9]{4}-[0-5][a-f0-9]{3}-[089ab][a-f0-9]{3}-[a-f0-9]{12}/gi,"/<guid>").replace(/\/[a-f0-9]{32}/g,"/<hash>").replace(/\/\d+/g,"/<digits>").replace(/\/type\/(domain|alias)/,"/type/<type>")})})],beforeSend:(e,n)=>{const i=n.originalException;if(i&&i.stack){const e=/global code@|@debugger/.test(i.stack),n=i.stack.split("\n"),t=2===n.length&&/<anonymous>:1:(\d+)$/.test(n.at(-1));if(e||t)return null}return e},beforeBreadcrumb:(0,o.withoutGraphQLFetch)((e=>{if("xhr"===e.category||"fetch"===e.category){const n=e.data?.url??"";if(n.includes("firehose.us-west-2.amazonaws.com"))return null;if(n.includes("/cp/locale")){return{type:"http",category:"plesk.locale",data:{sections:new URLSearchParams(n.split("?")[1]).getAll("sections[]")}}}}return e})),ignoreErrors:["ResizeObserver loop","ApiFetchError:","whmcs_user_id is not defined","__renderMessageNode is not defined","Module build failed","jQuery is not defined","safari-extension://","moz-extension://","chrome-extension://","Object Not Found Matching Id:","Script error for","loadAndDisplayNotifications"],denyUrls:[/extensions\//i,/^chrome:\/\//i,"/modules/help-center/global.js","/modules/baqend/script.js","/modules/addendio-wordpress/global.js","/modules/revisium-antivirus/js/ra_domain.js","/modules/wp-toolkit/js/domain-page.js"],sampleRate:c?1:.05,replaysSessionSampleRate:0,replaysOnErrorSampleRate:c?1:0,tracesSampleRate:c?.001:0,environment:d,...l}),(0,s.configureScope)((e=>{e.setUser(n);for(const n in i)e.setTag(n,i[n])}))}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,(e,n,i)=>{"use strict";i.r(n);var t=i(1028),a=i(1029),s=i(1030),r=i(1031),o=i(1032),d=i(306);window.AdminPanel=t,window.Smb=a,Object.keys(s).forEach((e=>{window[e]=s[e]})),Object.keys(r).forEach((e=>{window[e]=r[e]})),(0,d.default)((()=>{window.tooltip=new o.default(document)}))},(e,n,i)=>{"use strict";i.r(n),i.d(n,{home:()=>l});var t=i(89);class a extends t.Component{_initComponentElement(){super._initComponentElement();const e=this._getConfigParam("type"),n=this._getConfigParam("nowElement"),i=this._getConfigParam("showElement"),t=this._getConfigParam("laterElement");this._updateComponentElement(`<div class="msg-box msg-update"><div><div><div><div><div><div class="msg-content"><table class="update-container" cellspacing="0" width="100%"><tbody><tr><td class="update"><span class="update-info">${this._getConfigParam("message","")}</span></td><td class="update-links"><button id="control-${e}-now" class="btn" type="submit">${n.text}</button><button id="control-${e}-show" class="btn" type="submit">${i.text}</button><a id="control-${e}-later" href="#"><span>${t.text}</span></a></td></tr></tbody></table></div></div></div></div></div></div></div>`),this._componentElement.querySelector(`#control-${e}-now`).addEventListener("click",(e=>{n.handler(),e.preventDefault()})),this._componentElement.querySelector(`#control-${e}-show`).addEventListener("click",(e=>{i.handler(),e.preventDefault()})),this._componentElement.querySelector(`#control-${e}-later`).addEventListener("click",(e=>{t.handler(),e.preventDefault()}))}}class s extends t.Component{_initComponentElement(){super._initComponentElement();const e=this._getConfigParam("type"),n=this._getConfigParam("showElement"),i=this._getConfigParam("laterElement");this._updateComponentElement(`<div class="msg-box msg-update"><div><div><div><div><div><div class="msg-content"><table class="update-container" cellspacing="0" width="100%"><tbody><tr><td class="update"><span class="update-info">${this._getConfigParam("message","")}</span></td><td class="update-links"><button id="control-${e}-show" class="btn" type="submit">${n.text}</button><a id="control-${e}-later" href="#"><span>${i.text}</span></a></td></tr></tbody></table></div></div></div></div></div></div></div>`),this._componentElement.querySelector(`#control-${e}-show`).addEventListener("click",(e=>{n.handler(),e.preventDefault()})),this._componentElement.querySelector(`#control-${e}-later`).addEventListener("click",(e=>{i.handler(),e.preventDefault()}))}}class r extends t.Panel{_addTooltips(){}_getSubTitleHtml(){const e=this._getConfigParam("description");return e?`<div class="description"><div class="description-area">${e}</div></div>`:""}}class o extends t.ListContainer{}class d extends t.SmallButton{}const l={UpdateAvailableNotification:a,UpgradeAvailableNotification:s,Panel:r,PanelItemsGroup:o,PanelItem:d}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{ApplicationUpdate:()=>r,ApsLicense:()=>a,ToolButton:()=>s,showApplicationChangelog:()=>d,updateApplication:()=>o});var t=i(89);const a={buy:e=>(window.open(e),!1),initForm(){document.getElementById("apsLicense-uploadType-text").addEventListener("click",this.onChangeUploadType.bind(this)),document.getElementById("apsLicense-uploadType-file").addEventListener("click",this.onChangeUploadType.bind(this))},onChangeUploadType(){document.getElementById("apsLicense-uploadType-text").checked?(document.getElementById("apsLicense-uploadText").disabled=!1,document.getElementById("uploadFile").disabled=!0):(document.getElementById("apsLicense-uploadText").disabled=!0,document.getElementById("uploadFile").disabled=!1)}},s=t.BigButton;class r extends t.StatusMessage{_initConfiguration(e){super._initConfiguration({...e,type:"warning"}),this._data=this._getConfigParam("data",[]),this._limit=this._getConfigParam("limit",5)}_renderMessage(){const e=[super._renderMessage()];return e.push((0,t.createElement)("br")),this._data.forEach((n=>{e.push((0,t.createElement)("div.b-subitem",`${n.name} `,(0,t.createElement)("span.hint",`(${this._renderHint(n)})`)," ",(0,t.createElement)("a.toggler.js-install",this.lmsg("install")),"&nbsp; ",(0,t.createElement)("a.toggler.js-changelog",this.lmsg("changelog")),(0,t.createElement)("input",{type:"hidden",value:JSON.stringify(n)})))})),this._data.length>this._limit&&e.push((0,t.createElement)("a.toggler.js-view-more",this.lmsg("viewMore",{number:this._data.length-this._limit}))),e}_renderHint(e){return 1===e.instances.length?e.instances[0].name:this.lmsg("instances",{total:e.instances.length})}_addEvents(){super._addEvents(),this._componentElement.querySelectorAll(".b-subitem").forEach((e=>{e.querySelector(".js-install").addEventListener("click",(e=>{this._onInstallEvent(e)})),e.querySelector(".js-changelog").addEventListener("click",(e=>{this._onChangelogEvent(e)}))})),this._data.length>this._limit&&([...this._componentElement.querySelectorAll(".b-subitem")].slice(this._limit).forEach((e=>{e.style.display="none"})),this._componentElement.querySelector(".js-view-more").addEventListener("click",(e=>{this._onViewMoreEvent(e)})))}_onInstallEvent(e){const n=JSON.parse(e.target.closest(".b-subitem").querySelector("input").value);Smb.updateApplication(n,this.getLocale(),e),e.target.closest(".b-subitem").querySelectorAll("a").forEach((e=>{e.parentNode.removeChild(e)}))}_onChangelogEvent(e){const n=JSON.parse(e.target.closest(".b-subitem").querySelector("input").value);Smb.showApplicationChangelog(n,this.getLocale(),e)}_onViewMoreEvent(){[...this._componentElement.querySelectorAll(".b-subitem")].slice(this._limit).forEach((e=>{e.style.display="none"===e.style.display?"":"none"})),this._componentElement.querySelector(".js-view-more").style.display="none"}}const o=({name:e,instances:n},i,a)=>{a.preventDefault();const s=Element.cumulativeOffset(a.target),r=(0,t.getComponent)("asyncProgressBarWrapper"),o=r.fly(s,i.lmsg("appInstall",{app:(0,t.escapeHtml)(e)}),(()=>{t.api.post((0,t.prepareUrl)("/app-update/update-all"),{resourceIds:n.map((({id:e})=>e)),name:e}).then((()=>{r.removePreparingItem(o),r.update()}))}));a.target.closest(".caption-service-toolbar")&&a.target.closest(".caption-service-toolbar").querySelectorAll(".js-app-update").forEach((e=>e.parentNode.removeChild(e)))},d=(e,n,i)=>{new Ajax.Request((0,t.prepareUrl)(`/app-update/index/resourceId/${e.instances[0].id}/`),{method:"get",onCreate(){new t.Popup({content:`<div class="ajax-loading">${n.lmsg("loading")}</div>`,title:n.lmsg("appChangelog",{app:(0,t.escapeHtml)(e.name)})})},onSuccess(i){if(""===i.responseText)return;let a="";try{const e=JSON.parse(i.responseText);"error"===e.status&&(a=""!=e.statusMessages?e.statusMessages:n.lmsg("unableGetChangelog"))}catch{a=i.responseText}const s=new t.Popup({content:a,title:n.lmsg("appChangelog",{app:(0,t.escapeHtml)(e.name)}),onShow(){document.querySelectorAll(".apps-box").forEach((function(e){const n=document.viewport.getHeight(),i=Element.getHeight(e.closest(".popup-container")),t=Element.positionedOffset(e.closest(".popup-panel")).top;if(i+2*t>=n){const a=n-(i-Element.getHeight(e))-2*t;e.style.overflow="auto",e.style.height=`${a}px`}}))},buttons:[{title:n.lmsg("close"),handler(){s.hide()}}]})}}),i.preventDefault()}},(e,n,i)=>{"use strict";i.r(n),i.d(n,{errorfield:()=>c,getParentNodeByName:()=>l,go_to:()=>s,loff:()=>o,lon:()=>r,lsubmit:()=>d,syn:()=>a});var t=i(89);const a=e=>!!(e&&e.options&&e.options.length)&&(e.options[e.options.length-1].selected&&(e.options[e.options.length-1].selected=!1),!0),s=e=>{try{window.location=e}catch{}},r=()=>!0,o=()=>!0,d=e=>{try{if("true"===e.lock.value)return!1;e.lock.value="true"}catch{}r();const n=document.getElementById("buttonid-ok");n&&(n.disabled=!0,n.classList.add("btn-waiting"));try{e.submit()}catch{return o(),e.lock.value="false",!1}return!0},l=(e,n)=>{const i=e.parentNode;return!!i&&(i.nodeName!==n?l(i,n):i)},c=(e,n)=>{const i=l(e,"TR");return!!i&&(i.className=n?"error":"",!0)};if((0,t.onReady)((()=>{document.querySelectorAll("textarea.js-auto-resize").forEach((e=>{const n=()=>{const n=e.value.split("\n").length;e.rows=n<i?i:n+2},i=e.rows;n(),e.addEventListener("keyup",n)})),document.querySelectorAll('form input[autocomplete="off"]').forEach((e=>{e.closest("form").setAttribute("autocomplete","off")}))})),document.addEventListener("click",(e=>{const n=e.target.closest?.("a");n&&("#"!==n.getAttribute("href")?n.href&&"post"===n.dataset.method&&(e.preventDefault(),(0,t.redirectPost)(n.href)):e.preventDefault())})),"undefined"!=typeof Prototype){const e=e=>{if(!e||e.method&&"GET"===e.method.toUpperCase()||e.forgery_protection_token)return;const n=document.getElementById("forgery_protection_token");n&&e.appendChild(new Element("input",{type:"hidden",name:"forgery_protection_token",value:n.content}))};document.addEventListener("submit",(({target:n})=>{const i=n.closest("form");e(i)}));const n=HTMLFormElement.prototype.submit;HTMLFormElement.prototype.submit=function(){return e(this),n.call(this)};const i=XMLHttpRequest.prototype.open;XMLHttpRequest.prototype.open=function(e,n,...t){i.call(this,e,n,...t);const a=document.getElementById("forgery_protection_token");!a||n.match(/^(?:[a-z]+:)?\/\//)&&-1===n.indexOf(window.location.host)||this.setRequestHeader("X-Forgery-Protection-Token",a.content)};const a=Ajax.Request.prototype.initialize;Ajax.Request.prototype.initialize=function(e,n){return a.call(this,e,{onException(e,n){throw n},on400(){window.location.reload()},on500(e){(0,t.showInternalError)(e.responseText)},on0:()=>!1,...n})},Ajax.Request.prototype.abort=function(){this.transport.abort()}}document.addEventListener("keydown",(e=>{t.keyCode.ESC===e.keyCode&&(e.preventDefault(),e.stopPropagation())}))},(e,n,i)=>{"use strict";i.r(n),i.d(n,{block_to_num:()=>m,chk_dom:()=>s,chk_email:()=>r,chk_ip_address_and_mask:()=>u,chk_ip_t:()=>d,chk_mask:()=>l,chk_mn:()=>a,chk_pos_int:()=>t,chk_uint:()=>p,chk_url:()=>o,ip2long:()=>c});const t=e=>-1!==e.search(/^\s*[1-9]{1}[0-9]*\s*$/),a=(e,n)=>{const i=n?/^([A-Za-z0-9_\-])+((\.){1}([A-Za-z0-9_\-])+)*$/:/^[\w-][\w&\-\+]*((\.)[\w&\-\+]+)*$/;return-1!==e.search(i)},s=(e,n)=>{if(""===e)return!1;if("localhost.rev"===e)return!1;return-1===e.search(/\.in-addr.arpa$/)&&(!u(e,"IP_ADDRESS","IP_ADDRESS_FORMAT")&&(!n||-1===e.search(/\.d$/)))},r=(e,n)=>{const i=e.match(/^([^\@]+){1}\@([^\@]+){1}$/);return!!i&&(a(i[1],n)&&s(i[2],n))},o=e=>{const n=/^((http[s]?|ftp):\/\/)?([^\/:]+)(:\d{1,5})?(\/[^\s\"\'`]*)?$/i.exec(e);return!!n&&s(n[3])},d=e=>u(e,"IP_ADDRESS","IP_ADDRESS_FORMAT")||e.match(/^<ip>$/),l=e=>{const n=e.match(/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/);if(!n)return!1;let i=n.length-1;for(;i&&0===n[i];)i--;if(!i)return!0;if(128!==n[i]&&192!==n[i]&&224!==n[i]&&240!==n[i]&&248!==n[i]&&252!==n[i]&&254!==n[i]&&255!==n[i])return!1;for(i--;i&&255===n[i];)i--;return!i},c=e=>{let n=0;const i=e.match(/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/);if(!i)return null;for(let e=1;e<i.length;e++)n<<=8,n|=i[e];return n},m=e=>{let n=0;for(let i=0;i<32;i++)n<<=1,n|=e>i?1:0;return n},u=(e,n,i)=>{let t,a=null,s=null;return"IP_ADDRESS_BLOCK_FORMAT"===i&&(t=e.match(/^(\d{1,3})(\.(\d{1,3})(\.(\d{1,3})(\.(\d{1,3})|)|)|)\/(\d{1,2})$/))&&(!t[1]||t[1]>=0&&t[1]<=255)&&(!t[3]||t[3]>=0&&t[3]<=255)&&(!t[5]||t[5]>=0&&t[5]<=255)&&(!t[7]||t[7]>=0&&t[7]<=255)&&t[8]>=0&&t[8]<=32?(a=c(`${t[1]?t[1]:0}.${t[3]?t[3]:0}.${t[5]?t[5]:0}.${t[7]?t[7]:0}`),s=m(t[8])):"IP_ADDRESS_FORMAT"===i&&(t=e.match(/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/))&&t[1]>=0&&t[1]<=255&&t[2]>=0&&t[2]<=255&&t[3]>=0&&t[3]<=255&&t[4]>=0&&t[4]<=255&&(a=c(`${t[1]}.${t[2]}.${t[3]}.${t[4]}`),s=m(32)),null!==a&&null!==s&&("IP_ADDRESS_NETMASK"===n&&a&&s&&(a&~s&&~(a&~s|s)||s===m(32))||"IP_ADDRESS"===n&&a&&s===m(32))},p=e=>!!e.match(/^[0-9]+$/)},(e,n,i)=>{"use strict";i.r(n),i.d(n,{default:()=>s});var t=i(93),a=i(89);const s=class{constructor(e){(0,t.default)(this,"showTimeout",.55),(0,t.default)(this,"minDelta",5),(0,t.default)(this,"xOffsetLeft",-5),(0,t.default)(this,"xOffsetRight",5),(0,t.default)(this,"yOffsetTop",1),(0,t.default)(this,"yOffsetBottom",13),(0,t.default)(this,"tooltip",null),(0,t.default)(this,"tooltipEventElement",null),(0,t.default)(this,"tooltipMouseMoveObserver",null),(0,t.default)(this,"tooltipVisible",!1),(0,t.default)(this,"tooltipShowTimeout",null),this.element=e,this.tooltip=this.createTooltipElement(),this.tooltipMouseMoveObserver=this.onMouseMove.bind(this),this.tooltipMouseOutObserver=this.onMouseOut.bind(this)}set(e,n){this.tooltipX=e.clientX+(window.scrollX||window.pageXOffset),this.tooltipY=e.clientY+(window.scrollY||window.pageYOffset),this.tooltipEventElement=e.target,this.tooltipEventElement.classList.contains("tootlipObserved")||(this.tooltipEventElement.classList.add("tootlipObserved"),this.tooltipEventElement.addEventListener("mousemove",this.tooltipMouseMoveObserver),this.tooltipEventElement.addEventListener("mouseout",this.tooltipMouseOutObserver));let i="";(n||[]).forEach((e=>{if("string"===e.type)i+=`${(0,a.escapeHtml)(e.string)}<br>`})),this.tooltip.innerHTML=i,this.show()}onMouseMove(e){this.tooltipX=e.clientX+(window.scrollX||window.pageXOffset),this.tooltipY=e.clientY+(window.scrollY||window.pageYOffset),this.tooltipVisible&&this.showAction(this.tooltip)}onMouseOut(){this.unset()}unset(){this.hide()}showTimed(){!1!==this.tooltipShowTimeout?(null!==this.tooltipShowTimeout&&this.cancelShowTimed(),this.tooltipShowTimeout=new PeriodicalExecuter(this.finishShowTimed.bind(this),this.showTimeout)):this.finishShowTimed()}cancelShowTimed(){this.tooltipShowTimeout&&(this.tooltipShowTimeout.stop(),this.tooltipShowTimeout=null)}finishShowTimed(){this.cancelShowTimed(),this.tooltipShowTimeout=!1,this.showAction(this.tooltip)}show(){this.showTimed()}getShowPosition(){let e,n;const i=Element.getDimensions(this.tooltip),t=document.viewport.getDimensions(),a=document.viewport.getScrollOffsets(),s=t.width+a.left-this.tooltipX,r=this.tooltipX-a.left,o=this.tooltipY-a.top,d=t.height+a.top-this.tooltipY;return e=s>i.width+this.minDelta+this.xOffsetRight?this.tooltipX+this.xOffsetRight:r>i.width+this.minDelta+this.xOffsetLeft?this.tooltipX-i.width-this.xOffsetLeft:this.tooltipX-(i.width+this.xOffsetLeft)/2,n=d>i.height+this.minDelta+this.yOffsetBottom?this.tooltipY+this.yOffsetBottom:o>i.height+this.minDelta+this.yOffsetTop?this.tooltipY-i.height-this.yOffsetTop:this.tooltipY-(i.height+this.yOffsetTop)/2,e<0&&(e=this.minDelta),{x:e,y:n}}showAction(e){const n=this.getShowPosition();e.style.position="absolute",e.style.top=`${n.y}px`,e.style.left=`${n.x}px`,e.style.display="";const i=!this.tooltipVisible;this.tooltipVisible=!0,i&&this.showAction(e)}hide(){this.cancelShowTimed(),this.tooltipShowTimeout=null,this.hideAction(this.tooltip)}hideAction(e){this.tooltipVisible=!1,e.style.display="none"}createTooltipElement(){const e=document.createElement("div");return e.classList.add("tooltip"),this.hideAction(e),document.body.appendChild(e),e}}}],__webpack_module_cache__={},deferred,leafPrototypes,getProto,inProgress;function __webpack_require__(e){var n=__webpack_module_cache__[e];if(void 0!==n)return n.exports;var i=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(i.exports,i,i.exports,__webpack_require__),i.loaded=!0,i.exports}__webpack_require__.m=__webpack_modules__,deferred=[],__webpack_require__.O=(e,n,i,t)=>{if(!n){var a=1/0;for(d=0;d<deferred.length;d++){n=deferred[d][0],i=deferred[d][1],t=deferred[d][2];for(var s=!0,r=0;r<n.length;r++)(!1&t||a>=t)&&Object.keys(__webpack_require__.O).every((e=>__webpack_require__.O[e](n[r])))?n.splice(r--,1):(s=!1,t<a&&(a=t));if(s){deferred.splice(d--,1);var o=i();void 0!==o&&(e=o)}}return e}t=t||0;for(var d=deferred.length;d>0&&deferred[d-1][2]>t;d--)deferred[d]=deferred[d-1];deferred[d]=[n,i,t]},__webpack_require__.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(n,{a:n}),n},getProto=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,__webpack_require__.t=function(e,n){if(1&n&&(e=this(e)),8&n)return e;if("object"==typeof e&&e){if(4&n&&e.__esModule)return e;if(16&n&&"function"==typeof e.then)return e}var i=Object.create(null);__webpack_require__.r(i);var t={};leafPrototypes=leafPrototypes||[null,getProto({}),getProto([]),getProto(getProto)];for(var a=2&n&&e;"object"==typeof a&&!~leafPrototypes.indexOf(a);a=getProto(a))Object.getOwnPropertyNames(a).forEach((n=>t[n]=()=>e[n]));return t.default=()=>e,__webpack_require__.d(i,t),i},__webpack_require__.d=(e,n)=>{for(var i in n)__webpack_require__.o(n,i)&&!__webpack_require__.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:n[i]})},__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce(((n,i)=>(__webpack_require__.f[i](e,n),n)),[])),__webpack_require__.u=e=>"javascript/"+e+".js?"+{"components/pages/IpAddressDomainsPage":"7ba9bf18029985f0dade","components/pages/ChangeSubscriptionsOwner":"4a6f3f5ff38a52059930","components/pages/VirtualHostTemplatePage":"7022a68698d24efe4b73","views/admin/force-reset-password":"40902116baf4ccc22e7b","views/admin/setup/progress":"fe2802758187f08de1ef","views/admin/setup/index":"f397ee6725a204211ee6","views/admin/home/admin":"9941447d8b6750fc5858","views/admin/app/info":"f02fa74f5f032e2ecda5","views/admin/app/usage":"39e4d3e62fcc60233ff8","views/admin/app/uploaded":"a7544d10d7e806bf76ec","views/admin/custom-buttons/list":"560db1b8ec00f761c08b","views/admin/ftp-sessions/list":"ec3aca86140499f362bd","views/admin/php-handler/list":"027556ac8b9def664884","components/pages/ScheduledBackupPage":"d01221dcdd646b4f1665","components/pages/ScheduledBackupListPage":"e772b96b88f79944208b","views/default/scheduler/list":"8e4df79920b7a5b85738","views/admin/domain/list":"b7a4c6af3e1fe7fd2734","views/admin/customer/list":"1581ded026248c93e155","views/admin/customer/domains":"f789b1034c6cf2c60fc8","views/admin/customer/subscriptions":"c11dbae51cd7f758e50b","views/admin/reseller/list":"e3d1defdc4a47129563e","views/admin/reseller/customers":"f8531b62d28b2e1307df","views/admin/reseller/domains":"cb310a47f053d1690229","views/admin/reseller/subscriptions":"410e9bba754bf2eef569","views/admin/server/tools":"8d2dc2d1b165625db8f7","views/admin/server/preview-domain-settings":"444fe0a2b7a05d1e1d52","views/admin/services/list":"277f495349559be1baa6","views/admin/sessions/list":"f6ab90a0a0d07b3ebe6c","views/admin/subscription/list":"1b96f3b597f1428d7183","views/smb/file-manager/list":"b76eabfe24105f387b34","views/smb/file-manager/index":"3fc4322869c1613b7917","views/smb/my-service/index":"1280e9789d3c268e343a","views/smb/email-address/index":"8c064fd2ed7fae49b4ae","views/smb/email-address/list":"e09fd4a9afc5fd9cfcd7","views/smb/mail-settings/list":"a79e24e921f95322e12c","views/smb/account/index":"56294cb4b5e5a50cdc37","views/smb/account/show":"eaf8074c858e4d994c3f","views/smb/user/list":"48a3e88ebc71d6615da5","views/smb/web/setup":"4cae3f8556129452e915","views/smb/web/view":"a83355c1c61a135029c3","views/smb/web/overview":"395b1154019c0cb5f54e","views/smb/web/php-settings":"b461020ebfcb3d677c54","views/smb/statistics/details":"f358be2e29123833dcef","views/smb/database/index":"72dd968a1ec3173dd55c","views/smb/database/list":"6c83576306cee5097aab","views/smb/database/users-list":"419274a1ac42dc8aecca","views/admin/task-manager/index":"61de0a9ef9be0c0780d4","views/dns/records":"bc5de2a0046ff599b140","views/dns/records/edit":"34637c15460bde278e1c","views/dns/records/dns-zone-sync":"65be4fcfb12470c68b3e","views/dns/soa-record":"0e2364165b711626882a","views/admin/dns/acl-records":"49213202c545c6f8c297","views/admin/dns/add-acl-record":"a0b8bd3a1095c76e375c","views/admin/dns/external-dns":"c8b33f180aad3fafd2a1","views/admin/dns/external-dns-edit":"b280dadff355738898fb","views/smb/dns-zone/records-list":"4cbab70835c513e9ac23","views/smb/dns-zone/soa-record":"cd44adbcffa73989f187","views/smb/dns-zone/acl-records":"43b099eae03f9eb100ec","views/smb/dns-zone/add-acl-record":"02ee344335f13cfea439","views/smb/dns-zone/external-dns":"e28fcdcea877c541ce82","views/smb/dns-zone/external-dns-edit":"5181ea1defa59960bbc7","views/admin/settings-ui/edit-interface-view":"38a27f210050cbda1314","views/admin/settings-ui/list-languages":"024079da3dc0102535db","views/admin/database/settings":"06d45251e0a19815481a","views/smb/web/web-server-settings":"00d87f6bffe339ad4fdc","views/admin/notifications/index":"d8f865ee3028193d9c3c","components/pages/PanelNotificationsSettings":"4a9dd6971fa5fc24ebb2","components/pages/BrandingPage":"21b1466feddecf0197ab","views/server/db":"9416ab1cd7a9036f8333","views/admin/websites-diagnostic/index":"cc4cafd029eb116b4981","components/pages/SystemTimePage":"a0207dc30d84ef0856b3","views/server/mail":"9742a66b1d52f44f9298","views/license":"ef0e9a929f17117d3d30","views/license/additional":"368fd15312fa47a6cf2c","components/pages/FirewallGeneralPage":"01a49d1425f9f4399d80","components/pages/FirewallIcmpPage":"f5d17e16c5db26c3725f","components/pages/FirewallRulesPage":"813a33937fd6794d5501","components/pages/ServerComponentsPage":"d24db841adb43f829fb6","views/admin/ip-address/list":"b26aef42231da9c52e97","views/admin/ip-address/clients":"10f11894cf36bb531a81","components/pages/AssignIpAddressToResellerForm":"75bf4149029cdc20e2ec","views/admin/reseller/resourceUsage":"b49a7b89749b8f1423c4","views/admin/client/ip-address":"b75e94e04a405b93024d","views/admin/client/ip-address/form":"32436854df3f00a50f1d","views/php/extensions":"ba072198bcc4ee154dc7","components/pages/TsSessionPage":"a6c7737d3d7239d674cb","components/pages/TsSessionsPage":"c8e8c7a76bcad721a239","components/pages/AspDotNetSettingsPage/AspDotNetServerSettingsPage":"f3c3597d723dafb657ee","components/pages/ServerAboutPage":"99852bac2ad100fcd92b","components/pages/MassMailPage":"ea6fd964379f3f01a1ba","components/pages/CreateMassMailTemplatePage":"67c5529f43d269f79743","components/pages/SendMassMailPage":"2ed9609b474bd2357ac9","components/pages/EditMassMailTemplatePage":"774b92ad00eace7fcd85","components/pages/ActionLogPage":"f050209995e4df919089","components/pages/ServerInformationPage":"5d3ff638bb53d3e18bb8","components/pages/ServerSettingsPage":"c2fdc483ee76b5afd1c7","components/tabs/SpamFilterSettingsTabs":"1b8a2880e274d98d09c0","components/pages/SpamFilterSettingsPage":"fbde45c5903fbbd397fa","components/pages/SpamFilterBlackListPage":"f0608c78d67984353147","components/pages/SpamFilterWhiteListPage":"af9112ed5a1450d87477","components/layouts/page-layout/help-drawer":"f9c3116af96913b65b48","components/pages/OdbcPage/OdbcServerPage":"d020f2c5b2b0b5f1e67b","components/pages/OdbcAddPage":"3f94089a5eb3946fca10","components/pages/OdbcEditPage":"bf67867d3366f17ff952","components/pages/HostingSettingsPage":"ae63e0e381a075cb912e","components/pages/ConnectionInfo":"3760fb1028886b73e7ba","components/pages/SummaryReportPage":"993cc39d876a5ca76be9","components/pages/SummaryReportSchedulesPage":"635ecf3af4079ece7d0a","components/pages/SummaryReportLayoutsPage":"3f8c17f80e0e8cabb947","components/pages/TrafficHistoryReportPage":"8e36654541bf4276d52c","components/pages/AspDotNetSettingsPage/AspDotNetDomainSettingsPage":"d10823ed5cb8c0844fe9","components/pages/BandwidthLimitingPage":"12c12eeac804aec847f4","components/pages/HotlinkProtectionPage":"888e49d62164aa519258","components/pages/OdbcPage/OdbcDomainPage":"48d69aa6afbcda32e0dc","components/pages/ProtectedDirectoryListPage":"c3b9149c013604b72f16","components/pages/ProtectedDirectoryAddPage":"4f3170ea718b32df4527","components/pages/ProtectedDirectoryEditPage":"b6df9d73190fc756fb70","components/pages/ProtectedDirectoryUserListPage":"bb697f58e690b9c21dda","components/pages/ProtectedDirectoryUserAddPage":"cd353884fbc53f8a654b","components/pages/ProtectedDirectoryUserPasswordPage":"9261a8ed1fe6aa33cc59","components/pages/VirtualDirectoryPage/EditVirtualDirectoryPage":"f3918abe491b00b8c573","components/pages/VirtualDirectoryPage/AspDotNetSettingsPage":"731b40ad593c6c86a275","components/pages/VirtualDirectoryPage/PermissionsPage":"252c86eec6bb4533a1d8","components/pages/VirtualDirectoryPage/PhpVersionPage":"b93f44952a44d23c329e","components/pages/VirtualDirectoryPage":"4bf3ba28c859b45b0c14","components/pages/VirtualDirectoryPage/Browse":"bde64ce4037c9d6a3076","components/pages/VirtualDirectoryPage/CreateDirectoryPage":"848eb9b710cc2964f2b5","components/pages/VirtualDirectoryPage/CreateVirtualDirectoryPage":"111a1054cb01f7668ffc","components/pages/VirtualDirectoryPage/Protection":"5cfe7412bea6c3c6dfe9","components/pages/VirtualDirectoryPage/ProtectionSettingsPage":"aeeb87fb538c00048039","components/pages/VirtualDirectoryPage/MimeTypeList":"2067491e74b0b6c9aa41","components/pages/VirtualDirectoryPage/CreateMimeTypePage":"9903e53123fcb6fd2966","components/pages/VirtualDirectoryPage/EditMimeTypePage":"8d72cc831baef4c8b5e1","components/pages/VirtualDirectoryPage/ErrorDocList":"1bdb16062ebe5b9057eb","components/pages/VirtualDirectoryPage/EditErrorDocPage":"ecd2ae15060e2f3ba4b4","components/pages/HomePage":"c8b1da190b8b4a0d446b","components/pages/HomeCustomizationPage":"f154feab47957c680895","app/editlist":"85f1d0d2552d9d23e617","app/rating":"22782294a13f6e61f8e4","app/aha":"115b3cd541ebf592c47b","app/eula":"e7fc3f836ebd73dbcc2a","app/app-image/gallery":"f4f79951bd9680ec522f","app/backup/list":"680ba9fbdb4de27d2553","app/backup/restore":"ee3b23f8d82c3d016a1c","app/backup/upload-files":"28f8591d35018fe869c0","app/backup/web-content-dynamic":"11d960cd75f401a48458","app/database/assign-to-subscription":"9442e05282aed3393c90","app/dns-helper":"250ab560a3a50f20e366","app/dns-helper/dns-settings":"449431ed87fc40447abe","app/email-address/aliases-dynamic":"441c9fe95b57c5e55299","app/email-address/form-ajax":"ec2e2e9831867a803f4e","app/email-address/postbox":"993df1eaf1f16e788cb1","app/email-address/responder-attachments-dynamic":"494d808e46ebd0ba1665","app/file-manager/explorer":"010b453b1c3bc23e9fda","app/file-manager/file-name-popup-form":"954741e35a6748e617f7","app/mail-settings/confirmation-remove-popup-form":"af6c4468df99b2fda05b","app/hosting-settings/conflicts-checker":"90eacd7773e4cad4d2c6","app/log-browser/browser":"9c17290b339e0fdda049","app/log-browser/files":"0b7a58e3ad063b5c6e26","app/login/recovery-password":"641e48e777ea2851b38a","app/newsletter-subscription":"67fb5548570370c9ef4e","app/progress-dialog":"31ae88770a18d4ed98d0","app/profile/announcement-settings":"ed7d3c711255fcb5f602","app/pum":"d5278402316ae01aec1d","app/server-mail-antivirus-promo":"eb139d95b87058f47a2d","app/show-output-popup":"66562f5fa01d65d2832f","app/task-progress-bar":"ef3fb1f6b8c0ab6652df","app/user/login-string":"6c0d3cbdebb87638507c","app/change-customers-owner":"4d7b09ae77f619bd7536","app/convert-customers-to-resellers":"a9dbd0d185d63b89c66d","app/convert-resellers-to-customers":"84a7cf56d840871f6b6e","app/service-sidebar":"2e95684ce8c1041e09b4","app/ssl-certificate/list":"baadcdd7987e70baa9f1","app/app/progress":"17f6aa086b9ce9eabd2c","app/app/installed":"6952e6cade062cbf0b88","app/app/apscatalog":"4e8bb7b5418289bb7f6f","app/web-app-firewall/submit-handler":"913732bf4ec7a16d53e7","views/smb/file-manager/list/UploadProgressDialog":"5eb54bce102d700c37c9","components/common/ServerMailAntivirusPromo":"7b31cd0e877391a2b1f5"}[e],__webpack_require__.miniCssF=e=>{},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),__webpack_require__.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),inProgress={},__webpack_require__.l=(e,n,i,t)=>{if(inProgress[e])inProgress[e].push(n);else{var a,s;if(void 0!==i)for(var r=document.getElementsByTagName("script"),o=0;o<r.length;o++){var d=r[o];if(d.getAttribute("src")==e){a=d;break}}a||(s=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,__webpack_require__.nc&&a.setAttribute("nonce",__webpack_require__.nc),a.src=e),inProgress[e]=[n];var l=(n,i)=>{a.onerror=a.onload=null,clearTimeout(c);var t=inProgress[e];if(delete inProgress[e],a.parentNode&&a.parentNode.removeChild(a),t&&t.forEach((e=>e(i))),n)return n(i)},c=setTimeout(l.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=l.bind(null,a.onerror),a.onload=l.bind(null,a.onload),s&&document.head.appendChild(a)}},__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{__webpack_require__.S={};var e={},n={};__webpack_require__.I=(i,t)=>{t||(t=[]);var a=n[i];if(a||(a=n[i]={}),!(t.indexOf(a)>=0)){if(t.push(a),e[i])return e[i];__webpack_require__.o(__webpack_require__.S,i)||(__webpack_require__.S[i]={});__webpack_require__.S[i];var s=[];return s.length?e[i]=Promise.all(s).then((()=>e[i]=1)):e[i]=1}}})(),__webpack_require__.p="/cp/",__webpack_require__.f.compat=(e,n)=>{var i={main:["components.buttons","components.password.meter","components.tasks.common","components.status","components.routes","components.cookie-policy.info","components.cookie-policy.preferences","components.license-status","components.search-bar","components.shortcuts","components.subscription-switcher","components.notification-center","components.view-switcher","components.pages.home","controllers.error.error","components.pages.VirtualDirectory","components.forms.login","components.forms.get-password","components.forms.restore-password"],"components/pages/IpAddressDomainsPage":["components.pages.ip-address-domains"],"components/pages/ChangeSubscriptionsOwner":["components.pages.change-owner","components.forms.change-subscriptions-owner","components.list","components.elements.lookup","components.status.reason","components.forms.ip-addresses-selector"],"components/pages/VirtualHostTemplatePage":["components.pages.VirtualHostTemplatePage","components.list"],"views/admin/force-reset-password":["components.forms.force-reset-password"],"views/admin/setup/progress":["components.shortcuts"],"views/admin/setup/index":["components.forms.setup","components.shortcuts"],"views/admin/home/admin":["admin.controllers.home.admin","admin.controllers.home._shared","admin.controllers.home.reseller","admin.controllers.home.admin.promoNewPage"],"views/admin/app/info":["admin.controllers.app.info","admin.components.lists.appinfo"],"views/admin/app/usage":["admin.controllers.app.usage","admin.components.lists.appusage"],"views/admin/app/uploaded":["admin.controllers.app.uploaded","admin.components.lists.appuploaded"],"views/admin/custom-buttons/list":["components.lists.custombuttons"],"views/admin/ftp-sessions/list":["admin.components.lists.ftpsessions"],"views/admin/php-handler/list":["admin.controllers.php-handler.list","admin.components.lists.phphandlers"],"components/pages/ScheduledBackupPage":["components.buttons","components.forms.backup.schedule","smb.components.days-of-week","controllers.backup.schedule","components.forms.backup.subform"],"components/pages/ScheduledBackupListPage":["components.lists.backup.schedule","smb.components.days-of-week","components.forms.backup.subform","components.list","components.forms.backup.schedule","controllers.backup.schedule","components.buttons"],"views/default/scheduler/list":["components.lists.scheduler.tasks"],"views/admin/domain/list":["components.pages.domains","admin.components.lists.domains","components.icp-permit","components.list","components.active-lists.sites","components.buttons","components.forms.domain.rename","smb.components.forms.web.add-domain","smb.components.forms.domain-info-section","smb.components.forms.web._shared","admin.components.forms.admin-panel.form.contact-info","admin.components.forms.admin-panel.form.login-info","components.forms.domain.tech-domain-name","components.elements.lookup","components.domain-applications.applications","components.domain-applications","components.forms.ip-addresses-selector","components.forms.domain.move"],"views/admin/customer/list":["components.pages.customers","admin.components.forms.customer","admin.components.forms.admin-panel.form.contact-info","components.forms.admin-info","admin.components.forms.admin-panel.form.domain-info-section","components.buttons","admin.components.forms.admin-panel.form.login-info","components.forms.domain.tech-domain-name","admin.components.forms.admin-panel.form.subscription-info-section","components.forms.ip-addresses-selector","admin.components.lists.customers","admin.components.lists.subscriptions"],"views/admin/customer/domains":["components.pages.customer-domains","admin.components.lists.domains","components.icp-permit","components.buttons","components.homonyms","smb.components.forms.web.add-domain","smb.components.forms.domain-info-section","smb.components.forms.web._shared","admin.components.forms.admin-panel.form.contact-info","admin.components.forms.admin-panel.form.login-info","components.forms.domain.tech-domain-name","components.elements.lookup","components.domain-applications.applications","components.domain-applications","components.forms.ip-addresses-selector","admin.components.customer-sidebar","admin.components.elements.status","components.forms.admin-info"],"views/admin/customer/subscriptions":["components.pages.customer-subscriptions","admin.components.forms.admin-panel.form.domain-info-section","admin.components.forms.admin-panel.form.subscription-info-section","components.buttons","components.forms.domain.tech-domain-name","components.forms.admin-info","components.forms.ip-addresses-selector","components.domain-applications.applications","components.domain-applications","admin.components.lists.subscriptions","admin.components.customer-sidebar","admin.components.elements.status"],"views/admin/reseller/list":["components.pages.resellers","admin.components.lists.resellers"],"views/admin/reseller/customers":["components.pages.reseller-customers","admin.components.forms.customer","admin.components.forms.admin-panel.form.contact-info","components.forms.admin-info","admin.components.forms.admin-panel.form.domain-info-section","components.buttons","admin.components.forms.admin-panel.form.login-info","components.forms.domain.tech-domain-name","admin.components.forms.admin-panel.form.subscription-info-section","components.forms.ip-addresses-selector","admin.components.lists.customers","admin.components.lists.subscriptions","admin.components.reseller-sidebar","admin.components.elements.status","admin.components.lists.resellers"],"views/admin/reseller/domains":["components.pages.reseller-domains","admin.components.lists.domains","components.icp-permit","components.buttons","components.homonyms","smb.components.forms.web.add-domain","smb.components.forms.domain-info-section","smb.components.forms.web._shared","admin.components.forms.admin-panel.form.contact-info","admin.components.forms.admin-panel.form.login-info","components.forms.domain.tech-domain-name","components.elements.lookup","components.domain-applications.applications","components.domain-applications","components.forms.ip-addresses-selector","admin.components.reseller-sidebar","admin.components.elements.status","admin.components.lists.resellers","components.forms.admin-info"],"views/admin/reseller/subscriptions":["components.pages.reseller-subscriptions","admin.components.forms.admin-panel.form.domain-info-section","admin.components.forms.admin-panel.form.subscription-info-section","components.buttons","components.forms.domain.tech-domain-name","components.forms.admin-info","components.forms.ip-addresses-selector","components.domain-applications.applications","components.domain-applications","admin.components.lists.subscriptions","admin.components.reseller-sidebar","admin.components.elements.status","admin.components.lists.resellers"],"views/admin/server/tools":["admin.controllers.server.tools","components.buttons","components.issue-reporter","components.forms.panel-access"],"views/admin/server/preview-domain-settings":["admin.components.forms.preview-domain-settings","admin.controllers.server.preview-domain-settings"],"views/admin/services/list":["admin.components.lists.services","admin.controllers.services.operation","admin.components.forms.services.change-startup-type"],"views/admin/sessions/list":["admin.components.lists.sessions"],"views/admin/subscription/list":["components.pages.subscriptions","admin.components.forms.admin-panel.form.domain-info-section","admin.components.forms.admin-panel.form.subscription-info-section","components.buttons","components.forms.domain.tech-domain-name","components.forms.admin-info","components.forms.ip-addresses-selector","components.domain-applications.applications","components.domain-applications","admin.components.lists.subscriptions"],"views/smb/file-manager/list":["smb.components.lists.contentfiles","components.buttons","smb.controllers.file-manager.create-directory","smb.components.forms.file-manager.editor","smb.controllers.file-manager.form","smb.components.forms.file-manager.import-file","smb.components.forms.file-manager.rotation-settings","permissions","smb.components.forms.file-manager.permissions","smb.components.forms.file-manager.unix-file-permissions","smb.components.forms.file-manager.windows-permissions","unix-file-permissions","windows-permissions","smb.controllers.file-manager.upload"],"views/smb/file-manager/index":["smb.controllers.file-manager.index","smb.components.lists.subscriptions"],"views/smb/my-service/index":["smb.controllers.my-service.index"],"views/smb/email-address/index":["smb.controllers.email-address.index","smb.controllers.email-address.configuration"],"views/smb/email-address/list":["smb.controllers.email-address.list","smb.components.lists.emails","smb.controllers.email-address.configuration","smb.components.confirmations.email-outgoing-messages","components.buttons","smb.controllers.mail-settings.list"],"views/smb/mail-settings/list":["smb.controllers.mail-settings.list","smb.components.lists.mailsettings","components.buttons","smb.components.confirmations.domain-outgoing-messages"],"views/smb/account/index":["smb.controllers.account.index","smb.controllers.account._shared","smb.components.lists.subscriptions"],"views/smb/account/show":["smb.controllers.account.show","smb.controllers.account._shared","admin.components.elements.status","components.limits","admin.components.forms.service-plan.permissions"],"views/smb/user/list":["smb.controllers.user.list","smb.components.lists.users"],"views/smb/web/setup":["smb.controllers.web.setup","smb.components.forms.web.add-domain","smb.components.forms.domain-info-section","smb.components.forms.web._shared","admin.components.forms.admin-panel.form.contact-info","components.buttons","admin.components.forms.admin-panel.form.login-info","components.forms.domain.tech-domain-name","components.elements.lookup","components.domain-applications.applications","components.domain-applications","components.forms.ip-addresses-selector"],"views/smb/web/view":["smb.components.forms.web.add-domain","smb.components.forms.domain-info-section","smb.components.forms.web._shared","admin.components.forms.admin-panel.form.contact-info","components.buttons","admin.components.forms.admin-panel.form.login-info","components.forms.domain.tech-domain-name","components.elements.lookup","components.domain-applications.applications","components.domain-applications","components.forms.ip-addresses-selector","components.sidebar","admin.components.elements.status","admin.components.lists.subscriptions","components.homonyms","components.custom-spots","admin.controllers.home.admin","smb.controllers.web._shared","components.forms.admin-info","components.active-lists.sites","components.active-list","components.icp-permit","components.active-lists.sites.GetStarted","components.active-lists.sites.GetStarted.SitejetDialog","components.active-lists.sites.alias","components.active-lists.sites.RenameTour","components.forms.domain.rename","admin.components.lists.domains","components.active-lists.sites.DynamicListTour","components.forms.domain.move","components.site-jet-banner"],"views/smb/web/overview":["components.active-lists.sites","components.icp-permit","components.forms.admin-info","components.buttons","components.active-lists.sites.GetStarted","components.active-lists.sites.GetStarted.SitejetDialog","components.active-lists.sites.alias","components.forms.domain.rename","components.sidebar","admin.components.elements.status","admin.components.lists.subscriptions","components.homonyms","components.custom-spots","admin.controllers.home.admin","smb.controllers.web._shared","components.active-lists.sites.RenameTour","components.forms.domain.move","components.elements.lookup"],"views/smb/web/php-settings":["components.forms.php-settings","components.buttons","admin.components.lists.services","admin.controllers.services.operation"],"views/smb/statistics/details":["smb.controllers.statistics.details","smb.controllers.statistics.list"],"views/smb/database/index":["smb.controllers.database.index","smb.components.lists.subscriptions"],"views/smb/database/list":["smb.controllers.database.list","smb.components.lists.databases","smb.controllers.database.download-dump","smb.controllers.database.upload-dump","components.buttons"],"views/smb/database/users-list":["smb.controllers.database.users-list","smb.components.lists.database.users"],"views/admin/task-manager/index":["components.lists.tasks","components.lists.tasks.processes"],"views/dns/records":["smb.components.lists.dnsrecords","components.pages.home","admin.controllers.server.tools","components.pages.dns","components.pages.dns-records","components.list","admin.controllers.dns.restore-default","admin.controllers.dns.soa-sync","admin.controllers.dns"],"views/dns/records/edit":["smb.components.forms.dns-zone.record"],"views/dns/records/dns-zone-sync":["admin.controllers.dns.sync"],"views/dns/soa-record":["smb.components.forms.dns-zone.soa-record","components.pages.home","admin.controllers.server.tools","components.pages.dns","components.pages.dns-soa-record","admin.controllers.dns"],"views/admin/dns/acl-records":["admin.components.lists.dnsaclrecords"],"views/admin/dns/add-acl-record":["admin.components.forms.dns.add-acl-record"],"views/admin/dns/external-dns":["admin.controllers.dns.external-dns"],"views/admin/dns/external-dns-edit":["admin.controllers.dns.external-dns"],"views/smb/dns-zone/records-list":["components.dialogs.dns-zone-check","components.buttons","smb.components.dns-helper","smb.components.lists.dnsrecords"],"views/smb/dns-zone/soa-record":["smb.controllers.dns-zone.soa-record","smb.components.forms.dns-zone.soa-record"],"views/smb/dns-zone/acl-records":["smb.components.lists.dnsaclrecords"],"views/smb/dns-zone/add-acl-record":["smb.components.forms.dns-zone.add-acl-record"],"views/smb/dns-zone/external-dns":["smb.controllers.dns-zone.external-dns"],"views/smb/dns-zone/external-dns-edit":["smb.controllers.dns-zone.external-dns"],"views/admin/settings-ui/edit-interface-view":["admin.controllers.settings-ui.edit-interface-view","admin.components.forms.settings-ui.interface-views","components.view-switcher","admin.controllers.home.admin","admin.controllers.server.tools","admin.controllers.settings-ui.list-languages"],"views/admin/settings-ui/list-languages":["admin.components.lists.languages"],"views/admin/database/settings":["admin.components.forms.database-settings"],"views/smb/web/web-server-settings":["components.buttons","components.forms.iis-settings","components.forms.apache-settings"],"views/admin/notifications/index":["admin.controllers.notifications.email-settings","admin.controllers.notifications.panel-settings","components.lists.notifications","components.notifications.drawer","components.buttons"],"components/pages/PanelNotificationsSettings":["admin.controllers.notifications.panel-notifications-toggle","admin.controllers.notifications.template-settings-list","admin.controllers.notifications.template-settings-form","admin.controllers.home.admin","admin.controllers.server.tools","admin.controllers.notifications.index","admin.controllers.notifications.panel-settings","components.list","admin.controllers.notifications.email-settings"],"components/pages/BrandingPage":["admin.components.forms.settings-ui.branding","admin.components.forms.settings-ui.branding.background.fit","admin.controllers.server.tools","admin.controllers.navigation.index","admin.controllers.settings-ui.branding"],"views/server/db":["components.pages.database-servers","components.pages.home","admin.controllers.server.tools","components.lists.databaseservers","components.status","components.buttons","components.list","components.pages.database-server-upgrade","components.pages.database-server-upgrade.chooseReleaseStep","components.pages.database-server-upgrade.preUpgradeCheckStep","components.pages.database-server-upgrade.preUpgradeCheckProgressStep","components.pages.database-server-create","components.forms.database-server-create","components.pages.database-server-properties","components.pages.database-server-change-password","components.pages.database-server-databases","components.lists.databaseserverdatabases","components.forms.database-server-change-password"],"views/admin/websites-diagnostic/index":["admin.controllers.home.admin","admin.controllers.server.tools","admin.controllers.websites-diagnostic","admin.controllers.websites-diagnostic.report","components.list","admin.controllers.websites-diagnostic.problems","admin.controllers.websites-diagnostic.problem-report","admin.controllers.websites-diagnostic.distribution-over-time","admin.controllers.websites-diagnostic.websites","admin.controllers.websites-diagnostic.new-check"],"components/pages/SystemTimePage":["components.forms.system-time","admin.controllers.home.admin","admin.controllers.server.tools","smb.components.months"],"views/server/mail":["components.pages.home","admin.controllers.server.tools","admin.controllers.mail-settings.index","components.pages.server-mail-settings","admin.components.forms.server-mail-settings","components.buttons","admin.components.forms.server-mail-settings.general","admin.components.forms.server-mail-settings.autodiscover","admin.components.forms.server-mail-settings.relay","admin.components.forms.server-mail-settings.outgoing","admin.components.forms.server-mail-settings.mailman","admin.components.forms.server-mail-settings.spam-filter","admin.components.forms.server-mail-settings.auto-reply-headers","admin.components.forms.server-mail-settings.pop3-names","components.pages.server-mail-spam-filter","components.pages.server-mail-antivirus","components.pages.server-mail-black-list","components.pages.server-mail-white-list","components.pages.server-mail-queue","components.pages.server-mail-statistics","components.pages.server-mail-smarthost","admin.components.lists.servermailblacklist","components.list","admin.components.forms.server-mail-black-list","admin.components.lists.servermailwhitelist","admin.components.forms.server-mail-white-list","admin.components.forms.server-mail-antivirus","admin.components.forms.server-mail-spam-filter","admin.components.forms.server-mail-smarthost","admin.components.forms.server-mail-smarthost.settings","admin.components.forms.server-mail-smarthost.configuration"],"views/license":["components.pages.primary-key-info","components.pages.home","admin.controllers.server.tools","components.pages.license","components.common.master-key-processing-state","smb.components.license.properties","components.dialogs.primary-key-update","components.buttons","components.pages.additional-keys","components.pages.primary-key-upload","components.forms.license-key-upload","components.pages.primary-key-revert","components.forms.license-key-revert"],"views/license/additional":["components.pages.home","admin.controllers.server.tools","components.pages.license","components.pages.additional-keys","components.pages.primary-key-info","components.lists.additional-keys","components.buttons","components.list","components.pages.additional-key-upload","components.forms.license-key-upload","components.pages.additional-key-info","admin.controllers.home.admin","smb.components.license.properties","components.dialogs.additional-key-update","components.pages.additional-key-revert","components.forms.license-key-revert"],"components/pages/FirewallGeneralPage":["components.pages.firewall-general","components.pages.home","admin.controllers.server.tools","components.pages.firewall","admin.components.lists.firewallinterfaces","components.list","components.pages.firewall-icmp","components.pages.firewall-rules","components.buttons"],"components/pages/FirewallIcmpPage":["components.pages.home","admin.controllers.server.tools","components.pages.firewall","components.pages.firewall-icmp","admin.components.lists.firewallicmprules","components.list","components.pages.firewall-general","components.pages.firewall-rules"],"components/pages/FirewallRulesPage":["components.pages.home","admin.controllers.server.tools","components.pages.firewall","components.pages.firewall-rules","admin.components.lists.firewallrules","components.buttons","components.list","components.pages.firewall-general","components.pages.firewall-icmp","admin.components.forms.firewall-rule"],"components/pages/ServerComponentsPage":["components.lists.server-components","admin.controllers.home.admin","admin.controllers.server.tools","components.list","components.lists.server-components.componentConf"],"views/admin/ip-address/list":["admin.controllers.ip-address.list","admin.controllers.home.admin","admin.controllers.server.tools","admin.components.lists.ipaddresses","components.buttons","admin.components.forms.ip-address","admin.components.forms.security-policy","admin.controllers.ip-address.add"],"views/admin/ip-address/clients":["components.lists.ip-address-reseller-usage","admin.controllers.home.admin","admin.controllers.server.tools","admin.controllers.ip-address.list","components.buttons","components.list"],"components/pages/AssignIpAddressToResellerForm":["components.lists.ip-address-reseller-usage.assign","components.lists.ip-address-reseller-usage"],"views/admin/reseller/resourceUsage":["admin.components.lists.resourceusage","admin.controllers.reseller.tools"],"views/admin/client/ip-address":["admin.controllers.ip-address.list","admin.controllers.home.admin","admin.controllers.navigation.index","components.lists.client-ip-address","components.buttons","components.list"],"views/admin/client/ip-address/form":["components.lists.client-ip-address","components.lists.client-ip-address.properties","components.lists.client-ip-address.assign"],"views/php/extensions":["components.pages.php-handler.extensions","admin.controllers.home.admin","admin.controllers.server.tools","admin.controllers.php-handler.list","components.pages.php-handler","components.pages.php-handler.php-ini","components.pages.php-handler.extensions.manage","admin.components.lists.phpextensions.installable","components.list","components.buttons","admin.components.forms.php-handler.extension","admin.components.lists.phpextensions"],"components/pages/TsSessionPage":["components.lists.ts-sessions","admin.controllers.home.admin","admin.controllers.server.tools","components.pages.ts-sessions","components.pages.ts-sessions-properties"],"components/pages/TsSessionsPage":["components.lists.ts-sessions","components.list","admin.controllers.home.admin","admin.controllers.server.tools","components.pages.ts-sessions"],"components/pages/AspDotNetSettingsPage/AspDotNetServerSettingsPage":["smb.controllers.asp-dot-net.settings","admin.controllers.server.tools","smb.components.forms.asp-dot-net.settings","smb.components.forms.asp-dot-net.change-version"],"components/pages/ServerAboutPage":["components.pages.ServerAbout"],"components/pages/MassMailPage":["components.pages.MassMailPage"],"components/pages/CreateMassMailTemplatePage":["components.pages.CreateMassMailTemplatePage","components.forms.MassMailForm","components.elements.double-list-selector"],"components/pages/SendMassMailPage":["components.pages.SendMassMailPage","components.forms.MassMailForm","components.elements.double-list-selector"],"components/pages/EditMassMailTemplatePage":["components.pages.EditMassMailTemplatePage","components.forms.MassMailForm","components.elements.double-list-selector"],"components/pages/ActionLogPage":["components.forms.action-log","smb.components.months"],"components/pages/ServerInformationPage":["components.pages.ServerInformation"],"components/pages/ServerSettingsPage":["components.forms.server-settings"],"components/tabs/SpamFilterSettingsTabs":["components.pages.server-spam-filter"],"components/pages/SpamFilterSettingsPage":["admin.components.forms.server-mail-spam-filter","components.buttons"],"components/pages/SpamFilterBlackListPage":["components.lists.spam-filter","components.buttons","components.list","components.forms.spam-filter.add"],"components/pages/SpamFilterWhiteListPage":["components.lists.spam-filter","components.buttons","components.list","components.forms.spam-filter.add"],"components/layouts/page-layout/help-drawer":["components.layouts.page-layout.help-drawer"],"components/pages/OdbcPage/OdbcServerPage":["components.pages.Odbc","components.buttons"],"components/pages/OdbcAddPage":["components.pages.OdbcAdd"],"components/pages/OdbcEditPage":["components.pages.OdbcEdit"],"components/pages/HostingSettingsPage":["components.pages.HostingSettings","components.buttons","components.pages.HostingSettings.domainSettingsSection","components.pages.HostingSettings.domainSettingsSection.security","components.pages.HostingSettings.domainSettingsSection.webScripting","components.pages.HostingSettings.domainSettingsSection.sameSsl","components.pages.HostingSettings.webspaceSettingsSection","components.forms.ip-addresses-selector","components.pages.HostingSettings.webspaceSettingsSection.quota"],"components/pages/ConnectionInfo":["components.forms.domain.connection-info","components.buttons"],"components/pages/SummaryReportPage":["admin.controllers.server.tools","admin.controllers.navigation.index","components.pages.SummaryReport.Report","admin.components.report.summary","components.status.reason"],"components/pages/SummaryReportSchedulesPage":["admin.controllers.server.tools","admin.controllers.navigation.index","components.pages.SummaryReport.Report","components.pages.SummaryReport.Layouts","components.pages.SummaryReport.Schedule","admin.components.lists.summaryreportschedules","components.buttons","components.list","components.pages.SummaryReport.Schedule.Add","components.forms.SummaryReport.Schedule","components.pages.SummaryReport.Schedule.Properties"],"components/pages/SummaryReportLayoutsPage":["admin.controllers.server.tools","admin.controllers.navigation.index","components.pages.SummaryReport.Report","components.pages.SummaryReport.Layouts","admin.components.lists.summaryreportlayouts","components.buttons","components.list","components.pages.SummaryReport.Layout.Add","components.forms.SummaryReport.Layout","components.pages.SummaryReport.Layout"],"components/pages/TrafficHistoryReportPage":["admin.components.lists.traffichistory","admin.controllers.server.tools","admin.controllers.navigation.index","components.pages.SummaryReport.Report","components.pages.SummaryReport.TrafficHistory","components.list"],"components/pages/AspDotNetSettingsPage/AspDotNetDomainSettingsPage":["smb.components.forms.asp-dot-net.settings","smb.controllers.asp-dot-net.settings","smb.components.forms.asp-dot-net.change-version"],"components/pages/BandwidthLimitingPage":["components.pages.BandwidthLimiting"],"components/pages/HotlinkProtectionPage":["components.pages.HotlinkProtection"],"components/pages/OdbcPage/OdbcDomainPage":["components.pages.Odbc","components.buttons"],"components/pages/ProtectedDirectoryListPage":["components.pages.ProtectedDirectoryList","components.buttons"],"components/pages/ProtectedDirectoryAddPage":["components.pages.ProtectedDirectoryAdd","components.forms.ProtectedDirectory"],"components/pages/ProtectedDirectoryEditPage":["components.pages.ProtectedDirectoryEdit","components.forms.ProtectedDirectory"],"components/pages/ProtectedDirectoryUserListPage":["components.lists.ProtectedDirectoryUser","components.buttons"],"components/pages/ProtectedDirectoryUserAddPage":["components.pages.ProtectedDirectoryUserAdd"],"components/pages/ProtectedDirectoryUserPasswordPage":["components.pages.ProtectedDirectoryUserPassword"],"components/pages/VirtualDirectoryPage/EditVirtualDirectoryPage":["components.pages.VirtualDirectory.EditVirtualDirectory","components.forms.VirtualDirectory.DirectorySection","components.forms.VirtualDirectory.CheckboxField","components.forms.VirtualDirectory.Path","components.dialogs.DirectoryBrowserDialog","components.forms.VirtualDirectory.ApplicationSettingsSection","components.forms.VirtualDirectory.ScriptExecuteField","components.forms.VirtualDirectory.scriptExecuteOption","components.forms.VirtualDirectory.SecuritySection","components.forms.VirtualDirectory.AspSection","components.forms.VirtualDirectory.DocumentsSection","components.forms.VirtualDirectory.DefaultDocsField","components.forms.VirtualDirectory.NewDefaultDoc","components.forms.VirtualDirectory.PhysicalDirectoryConflictDialog"],"components/pages/VirtualDirectoryPage/AspDotNetSettingsPage":["components.pages.VirtualDirectory.AspDotNet","smb.components.forms.asp-dot-net.settings","smb.controllers.asp-dot-net.settings","smb.components.forms.asp-dot-net.change-version"],"components/pages/VirtualDirectoryPage/PermissionsPage":["permissions","smb.components.forms.file-manager.permissions","smb.components.forms.file-manager.unix-file-permissions","smb.components.forms.file-manager.windows-permissions","unix-file-permissions","windows-permissions"],"components/pages/VirtualDirectoryPage/PhpVersionPage":["components.pages.VirtualDirectory.Php"],"components/pages/VirtualDirectoryPage":["components.pages.VirtualDirectory"],"components/pages/VirtualDirectoryPage/Browse":["smb.components.lists.virtualdirectories","components.buttons"],"components/pages/VirtualDirectoryPage/CreateDirectoryPage":["components.pages.VirtualDirectory.CreateDirectory"],"components/pages/VirtualDirectoryPage/CreateVirtualDirectoryPage":["components.pages.VirtualDirectory.CreateVirtualDirectory","components.forms.VirtualDirectory.DirectorySection","components.forms.VirtualDirectory.CheckboxField","components.forms.VirtualDirectory.Path","components.dialogs.DirectoryBrowserDialog","components.forms.VirtualDirectory.ApplicationSettingsSection","components.forms.VirtualDirectory.ScriptExecuteField","components.forms.VirtualDirectory.scriptExecuteOption","components.forms.VirtualDirectory.SecuritySection","components.forms.VirtualDirectory.AspSection","components.forms.VirtualDirectory.DocumentsSection","components.forms.VirtualDirectory.DefaultDocsField","components.forms.VirtualDirectory.NewDefaultDoc","components.forms.VirtualDirectory.PhysicalDirectoryConflictDialog"],"components/pages/VirtualDirectoryPage/Protection":["components.pages.VirtualDirectory.Protection","components.pages.VirtualDirectory.Protection.NoProtectionView","components.lists.ProtectedDirectoryUser","components.buttons"],"components/pages/VirtualDirectoryPage/ProtectionSettingsPage":["components.pages.ProtectedDirectoryEdit","components.forms.ProtectedDirectory"],"components/pages/VirtualDirectoryPage/MimeTypeList":["components.pages.VirtualDirectory.MimeTypeList","components.buttons"],"components/pages/VirtualDirectoryPage/CreateMimeTypePage":["components.pages.VirtualDirectory.CreateMimeType","components.forms.VirtualDirectoryMimeType"],"components/pages/VirtualDirectoryPage/EditMimeTypePage":["components.pages.VirtualDirectory.EditMimeType","components.forms.VirtualDirectoryMimeType"],"components/pages/VirtualDirectoryPage/ErrorDocList":["components.pages.VirtualDirectory.ErrorDocList","components.pages.VirtualDirectory.errorDocType"],"components/pages/VirtualDirectoryPage/EditErrorDocPage":["components.pages.VirtualDirectory.EditErrorDoc","components.pages.VirtualDirectory.EditErrorDoc.EditErrorDocForm","components.pages.VirtualDirectory.errorDocType"],"components/pages/HomePage":["components.pages.Home.ServerInfo","components.buttons","components.pages.Home.Customization","components.pages.Home.Updates","components.pages.Home.Backup","components.lists.backup.schedule","smb.components.days-of-week","components.forms.backup.subform","components.list","components.forms.backup.schedule","controllers.backup.schedule","components.pages.Home.OverusedSubscriptions","components.status.reason","components.pages.Home.Subscriptions","components.pages.Home.IpBan","components.pages.Home.Extension","components.pages.Home.MailQueue","components.pages.Home.Promo.Customize","components.pages.Home.Promo.SwitchToPuv","components.pages.Home.ChangeLog","components.pages.Home.CustomButtons","components.pages.Home.Status","components.webserver-configuration-failure","components.upgrade-failure-notification","components.pages.Home.EmptyView","components.pages.Home.PromoNewHomeView"],"components/pages/HomeCustomizationPage":["components.pages.Home.Customization"],"app/editlist":["components.editlist"],"app/rating":["components.rating","components.buttons"],"app/aha":["components.aha","components.buttons"],"app/eula":["admin.controllers.index.eula"],"app/app-image/gallery":["smb.controllers.app-image.gallery"],"app/backup/list":["components.lists.backup","controllers.backup.size-hint","controllers.backup.restore-status"],"app/backup/restore":["controllers.backup.restore-status"],"app/backup/upload-files":["components.forms.backup.upload"],"app/backup/web-content-dynamic":["components.forms.backup.web-content-dynamic","components.buttons"],"app/database/assign-to-subscription":["smb.components.lists.databases","components.buttons"],"app/dns-helper":["smb.components.dns-helper"],"app/dns-helper/dns-settings":["smb.components.dns-helper"],"app/email-address/aliases-dynamic":["smb.components.forms.email-address"],"app/email-address/form-ajax":["components.buttons"],"app/email-address/postbox":["smb.components.forms.email-address"],"app/email-address/responder-attachments-dynamic":["smb.components.forms.email-address"],"app/file-manager/explorer":["smb.components.lists.contentfiles","components.buttons","smb.controllers.file-manager.create-directory"],"app/file-manager/file-name-popup-form":["smb.components.forms.file-manager.show","components.buttons"],"app/mail-settings/confirmation-remove-popup-form":["smb.components.forms.mail-settings.show","components.buttons"],"app/hosting-settings/conflicts-checker":["admin.controllers.customer-service-plan._shared"],"app/log-browser/browser":["components.lists.logbrowser","components.buttons"],"app/log-browser/files":["smb.components.lists.logfiles","components.buttons"],"app/login/recovery-password":["components.login.recovery-password"],"app/newsletter-subscription":["components.newsletter-subscription"],"app/progress-dialog":["components.tasks.common"],"app/profile/announcement-settings":["admin.components.forms.admin.announcement-settings"],"app/pum":["admin.components.lists.pumpackages","components.buttons"],"app/show-output-popup":["components.tasks.scheduler-run-task"],"app/change-customers-owner":["admin.components.confirmations.change-customer-owner"],"app/convert-customers-to-resellers":["admin.components.confirmations.customer"],"app/convert-resellers-to-customers":["admin.components.confirmations.reseller"],"app/service-sidebar":["smb.controllers.service.index"],"app/app/progress":["smb.components.elements.download"],"app/app/installed":["smb.components.lists.app.instances","smb.controllers.service.index"],"app/app/apscatalog":["smb.components.forms.aps.catalog"],"app/web-app-firewall/submit-handler":["components.forms.web-app-firewall","components.buttons"],"views/smb/file-manager/list/UploadProgressDialog":["smb.controllers.file-manager.upload"],"components/common/ServerMailAntivirusPromo":["components.common.ServerMailAntivirusPromo","admin.controllers.server.tools","admin.controllers.mail-settings.index"]};i[e]&&n.push(Jsw.Locale.loadSections(i[e]))},(()=>{var e={main:0};__webpack_require__.f.j=(n,i)=>{var t=__webpack_require__.o(e,n)?e[n]:void 0;if(0!==t)if(t)i.push(t[2]);else{var a=new Promise(((i,a)=>t=e[n]=[i,a]));i.push(t[2]=a);var s=__webpack_require__.p+__webpack_require__.u(n),r=new Error;__webpack_require__.l(s,(i=>{if(__webpack_require__.o(e,n)&&(0!==(t=e[n])&&(e[n]=void 0),t)){var a=i&&("load"===i.type?"missing":i.type),s=i&&i.target&&i.target.src;r.message="Loading chunk "+n+" failed.\n("+a+": "+s+")",r.name="ChunkLoadError",r.type=a,r.request=s,t[1](r)}}),"chunk-"+n,n)}},__webpack_require__.O.j=n=>0===e[n];var n=(n,i)=>{var t,a,s=i[0],r=i[1],o=i[2],d=0;if(s.some((n=>0!==e[n]))){for(t in r)__webpack_require__.o(r,t)&&(__webpack_require__.m[t]=r[t]);if(o)var l=o(__webpack_require__)}for(n&&n(i);d<s.length;d++)a=s[d],__webpack_require__.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return __webpack_require__.O(l)},i=self.webpackChunkPlesk=self.webpackChunkPlesk||[];i.forEach(n.bind(null,0)),i.push=n.bind(null,i.push.bind(i))})();var __webpack_exports__=__webpack_require__.O(void 0,["vendors"],(()=>__webpack_require__(0)));__webpack_exports__=__webpack_require__.O(__webpack_exports__)})();
//# sourceMappingURL=main.js.map