homeztler.com.tr Open in urlscan Pro
51.195.53.44  Public Scan

Submitted URL: http://homeztler.com.tr/cp/javascript/main.js?1719847740
Effective URL: https://homeztler.com.tr/cp/javascript/main.js?1719847740
Submission: On November 11 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

(()=>{var __webpack_modules__=[(e,n,t)=>{"use strict";t.r(n);t(1),t(2),t(3),t(4),t(5),t(6);var i=t(89),a=t(578);t(946);window.Jsw=i,window.Plesk=a},(e,n,t)=>{"use strict";t.r(n)},(e,n,t)=>{"use strict";t.r(n)},(e,n,t)=>{"use strict";t.r(n)},(e,n,t)=>{"use strict";t.r(n)},(e,n,t)=>{"use strict";t.r(n)},(e,n,t)=>{"use strict";t.r(n);t(7),t(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,t)=>e.push([t,n]))),e}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,(e,n,t)=>{"use strict";t.r(n),t.d(n,{ActiveList:()=>ue.ActiveList,AddRemoveDynamicSubForm:()=>V.AddRemoveDynamicSubForm,AjaxMessageBox:()=>q.AjaxMessageBox,AjaxPopupForm:()=>Q.AjaxPopupForm,Bar:()=>$.Bar,BigButton:()=>w.BigButton,Box:()=>H.Box,Button:()=>y.Button,CollapsibleBlock:()=>j.CollapsibleBlock,CommandButton:()=>F.CommandButton,Component:()=>_.Component,ConfirmationPopupManager:()=>se.ConfirmationPopupManager,Container:()=>x.Container,Cookie:()=>O.default,CustomButton:()=>D.CustomButton,DirectoryBrowser:()=>fe.DirectoryBrowser,DoubleListSelector:()=>J.DoubleListSelector,DropArea:()=>he.DropArea,DropdownHeader:()=>R.DropdownHeader,DropdownManager:()=>M.DropdownManager,DynamicPopupHint:()=>ee.DynamicPopupHint,DynamicSubForm:()=>V.DynamicSubForm,EnhancedDoubleListSelector:()=>X.EnhancedDoubleListSelector,FileManager:()=>Te,FormAjax:()=>I.FormAjax,FormRedirect:()=>P.FormRedirect,Gauge:()=>W.Gauge,GroupsList:()=>ge.GroupsList,Hint:()=>b.Hint,List:()=>Ee.List,ListContainer:()=>T.ListContainer,ListContextMenu:()=>Ee.ListContextMenu,Locale:()=>S.default,LookUp:()=>oe.LookUp,MessageBox:()=>q.MessageBox,ModalDialogBox:()=>z.ModalDialogBox,MultiCheckboxMessageWindow:()=>q.MultiCheckboxMessageWindow,ObjectSwitcher:()=>_e.ObjectSwitcher,Observer:()=>de.default,Panel:()=>A.Panel,PasswordGenerator:()=>te.PasswordGenerator,PasswordMeter:()=>ne.PasswordMeter,Pathbar:()=>U.Pathbar,Popup:()=>Y.default,PopupForm:()=>G.PopupForm,PopupSlider:()=>Se.default,ReporterPopup:()=>ke.ReporterPopup,ScrollableList:()=>be.ScrollableList,SmallButton:()=>E.SmallButton,SmallTools:()=>B.SmallTools,SplitButton:()=>N.SplitButton,StatusMessage:()=>re.StatusMessage,Task:()=>xe,ToolList:()=>Z.ToolList,Tooltip:()=>K.Tooltip,UAT:()=>ye.UAT,UnresolvedDomainWarning:()=>le.UnresolvedDomainWarning,UpgradeFailureNotification:()=>ie.UpgradeFailureNotification,WebserverConfigurationFailure:()=>ae.WebserverConfigurationFailure,WebspaceFoldersMessageBox:()=>q.WebspaceFoldersMessageBox,addStatusMessage:()=>o.default,addUrlParams:()=>c.default,api:()=>Ne.default,bar:()=>$.bar,clearStatusMessages:()=>r.default,createComponent:()=>a.default,createElement:()=>u.default,emptyFn:()=>h.default,escapeAttribute:()=>p.default,escapeHtml:()=>v.default,fireCustomEvent:()=>g.default,form:()=>Ce,getComponent:()=>_.getComponent,getControlPanelLoginHtml:()=>we.default,keyCode:()=>k.default,layout:()=>Ie,list:()=>Ee.list,messageBox:()=>q.messageBox,namespace:()=>i.default,onReady:()=>s.default,pleskWS:()=>Fe.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:()=>De.toPunycode,toollist:()=>Z.toollist,unescapeHtml:()=>f.default,version:()=>Pe});var i=t(90),a=t(91),s=t(306),o=t(307),r=t(312),d=t(336),l=t(309),c=t(266),m=t(275),u=t(310),p=t(337),v=t(98),f=t(338),h=t(267),g=t(339),k=t(340),_=t(92),S=t(100),b=t(341),y=t(344),E=t(345),w=t(346),N=t(347),F=t(348),D=t(349),P=t(353),C=t(354),I=t(355),x=t(351),T=t(356),L=t(357),O=t(358),A=t(359),q=t(360),R=t(364),M=t(365),B=t(366),j=t(370),U=t(372),$=t(374),V=t(376),H=t(377),W=t(378),K=t(97),z=t(361),G=t(379),Q=t(380),Y=t(381),J=t(383),X=t(385),Z=t(350),ee=t(389),ne=t(391),te=t(515),ie=t(516),ae=t(517),se=t(518),oe=t(519),re=t(308),de=t(268),le=t(529),ce=t(530),me=t(533),ue=t(534),pe=t(547),ve=t(563),fe=t(564),he=t(565),ge=t(566),ke=t(567),_e=t(568),Se=t(570),be=t(572),ye=t(573),Ee=t(520),we=t(575),Ne=t(118),Fe=t(532),De=t(576);const Pe="1.0",Ce={DisplayField:C.DisplayField,Values:C.Values},Ie={TwoColumns:L.TwoColumns},xe={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},Te={Tree:pe.Tree,UploadAdapterIframe:ve.UploadAdapterIframe}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>i});const i=(e,n=!0)=>{const t=e.split(".");let i=window;for(let e=0;e<t.length;e++){if(void 0===i[t[e]]){if(!n)return;i[t[e]]={}}i=i[t[e]]}return i}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>s});var i=t(92),a=t(90);const s=e=>{if(!e.componentType||e instanceof i.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,t)=>{"use strict";t.r(n),t.d(n,{Component:()=>c,getComponent:()=>l,registerComponent:()=>d});var i=t(93),a=t(97),s=t(100),o=t(275);const r={},d=(e,n)=>{r[e]=n},l=e=>r[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,o.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,o.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,o.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,i.default)(c,"genId",1),c.subclasses=[]},,,,,(e,n,t)=>{"use strict";t.r(n),t.d(n,{Tooltip:()=>s});var i=t(93),a=t(98);t(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:t}=n.config;t="function"==typeof t?t():t,!1!==t&&(t?e.querySelector("span").innerHTML=(0,a.default)(t):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,t;const i=Element.getDimensions(e),a=document.viewport.getDimensions(),o=document.viewport.getScrollOffsets(),r=a.width+o.left-s.tooltipX,d=s.tooltipX-o.left,l=s.tooltipY-o.top,c=a.height+o.top-s.tooltipY;return n=r>i.width+s.minDelta+s.xOffsetRight?s.tooltipX+s.xOffsetRight:d>i.width+s.minDelta+s.xOffsetLeft?s.tooltipX-i.width-s.xOffsetLeft:s.tooltipX-(i.width+s.xOffsetLeft)/2,t=c>i.height+s.minDelta+s.yOffsetBottom?s.tooltipY+s.yOffsetBottom:l>i.height+s.minDelta+s.yOffsetTop?s.tooltipY-i.height-s.yOffsetTop:s.tooltipY-(i.height+s.yOffsetTop)/2,n<0&&(n=s.minDelta),{x:n,y:t}}};window.addEventListener("load",(()=>{s.initData()})),s.Instance=class{constructor(e,n){(0,i.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,t)=>{"use strict";t.r(n),t.d(n,{default:()=>i});const i=e=>String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},(e,n,t)=>{"use strict";t.r(n)},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>c});var i=t(93),a=t(101),s=t(118),o=t(268),r=t(269),d=t(270);class l{static addSection(e,n){return this.sections[e]=new l(n),o.default.notify({name:e,messages:n},"plesk:addedLocaleSection"),this.sections[e]}static getSection(e){return this.sections[e]?this.sections[e]:new l}static getTranslate(e){return n=>(0,d.jsx)(r.default,{namespace:e,...n})}static async loadSections(e,n){const t=e.filter((e=>n||!this.sections[e]));if(t.length){const e=t.map((e=>`sections[]=${encodeURIComponent(e)}`));n&&e.push(`locale=${encodeURIComponent(n)}`);try{const n=await s.default.get(`/cp/locale?${e.join("&")}`);Object.keys(n).forEach((e=>{this.addSection(e,n[e])}))}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 t=this.messages[e];return void 0===t?`[${e}]`:void 0===n?t:Object.keys(n).reduce(((e,t)=>e.replace(`%%${t}%%`,n[t])),t)}formatMessage(e,n){return new a.default(this.lmsg(e,n),document.documentElement.lang||"en-US").format(n)}}(0,i.default)(l,"sections",{});const c=l},,,,,,,,,,,,,,,,,,(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>d});var i=t(119),a=t(265),s=t(266),o=t(267);const r=(e,n={},t=0)=>{window.Ajax&&window.Ajax.activeRequestCount++;const i={"X-Requested-With":"XMLHttpRequest"},s=document.getElementById("forgery_protection_token");return s&&(i["X-Forgery-Protection-Token"]=s.content),n={credentials:"same-origin",...n,headers:{...i,...n.headers}},fetch(e,n).then((e=>400===e.status?(window.location.reload(),new Promise(o.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((i=>{if(i instanceof TypeError&&(0,a.isNetworkError)(i)){if(t>0)return new Promise((e=>setTimeout((()=>e()),500))).then((()=>r(e,n,--t)));throw i}throw i})).finally((()=>{window.Ajax&&window.Ajax.activeRequestCount--}))},d={get:(e,n={})=>r((0,s.default)(e,n),{method:"GET"},3),post:(e,n={})=>{i.default.dispatchAction("REQUEST",{url:e});const t={};let a;return n instanceof FormData?a=n:(a=JSON.stringify(n),t["Content-Type"]="application/json; charset=utf-8"),r(e,{method:"POST",headers:t,body:a})}}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>b,getUrl:()=>l,prepareNodeData:()=>u,request:()=>k});var i=t(120),a=t.n(i),s=t(260),o=t.n(s);Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector);const r=document.createElement("a"),d=e=>{r.href=e;const{pathname:n,search:t,hash:i}=r,a=(({pathname:e,search:n})=>{const t=e.match(/^\/smb\/account\/switch\//i)?"returnUrl":"pageUrl",i=new RegExp(`${t}=([^&]*)`).exec(n);if(i&&i[1])try{return decodeURIComponent(i[1])}catch{}return null})(r);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,"")),t);return n+s+i},l=e=>{return e&&!o()(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 t=0,i=e.classList.length;t<i;++t)n+=`.${e.classList[t]}`;return n},m=(e,n)=>{let t=(e=>{let{target:n}=e;const{currentTarget:t,type:i}=e;return t&&t.tagName&&("load"===i||"error"===i||"click"===i&&"input"===t.tagName.toLowerCase()&&"radio"===t.type)&&(n=t),n.nodeType===Node.TEXT_NODE?n.parentNode:n})(e);if(!n)return t;for(;t;){if(t.nodeType===Node.ELEMENT_NODE&&t.matches(n))return t;t=t.parentNode}return null},u=(e,n,t)=>{const i={};return i.css=((e,n)=>{const t=[];for(let i=0;e&&e.nodeType===Node.ELEMENT_NODE&&i<n;e=e.parentNode,i++)t.splice(0,0,c(e));return t.length?t.join(" "):null})(e,5),e.id&&(i.id=e.id),t&&t.attributes&&t.attributes.forEach((n=>{if(!e.hasAttribute(n))return;const t="href"===n?l(e.getAttribute(n)):e.getAttribute(n);t&&(i[n]=t)})),["id","type","action",t&&t.dataset?t.dataset:[]].forEach((n=>{n in e.dataset&&("dataset"in i||(i.dataset={}),i.dataset[n]=e.dataset[n])})),i},p=e=>{const n={"|":encodeURIComponent("|"),"\n":encodeURIComponent("\n")};return e.map((e=>e?(Object.entries(n).forEach((([n,t])=>{e=e.replace(new RegExp(`\\${n}`,"g"),t)})),e):""))};let v,f,h=!1,g={};const k=(e,n,t)=>{const i={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:t||null},s=((e,n)=>{const t={};e.post&&n&&(e.post.self&&e.post.self.forEach((function(e){if("value"===e)return;const i=n.getAttribute(e);i&&(t[e]=i)})),e.post.selfText&&(t.text=n.innerText)),e.data&&Object.keys(e.data).forEach((function(n){t[n]=e.data[n]}));const i=(e=>{if(!e||!e.parentElement)return[];let n=e;const t=[];for(;n;)t.push(n.dataset.type),n=n.parentElement.closest("[data-type]");return t.length>1?t.slice(1):[]})(n);return i.length>0&&(t.parents=i),t})(e,n);((e,n,t)=>{if(!n.sessionId)return window.localStorage.getItem("uat-aid")||window.localStorage.setItem("uat-aid",Math.random().toString(36).slice(2)),void(t["uat-aid"]=window.localStorage.getItem("uat-aid"));"LOGIN"===e.name&&window.localStorage.getItem("uat-aid")&&(t["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&&(i.additionalData=JSON.stringify(s)),"function"==typeof f.logger&&f.logger(i),f.firehose&&(v||(v=new(a())(f.firehose)),v.putRecord({DeliveryStreamName:f.sessionId?f.firehose.stream:f.firehose.noSessionStream,Record:{Data:`${p(Object.values(i)).join("|")}\n`}},(()=>{})))};let _={contentLoad(e,n,t){"loading"===document.readyState?window.addEventListener("load",(function(e){t.data=t.data||{},f.extensions&&(t.data.extensions=f.extensions),setTimeout((()=>{if(window.performance){const e=window.performance.timing;t.data.pageLoadTime=e.loadEventEnd-e.navigationStart,t.data.requestTime=e.responseEnd-e.requestStart,t.data.renderTime=e.domComplete-e.domLoading}k(t,e.target)}),0)})):k(t,document)},historyReplaceState(e,n,t){window.history.replaceState=new Proxy(window.history.replaceState,{apply:(e,n,i)=>(t.data=t.data||{},f.extensions&&(t.data.extensions=f.extensions),k(t,document),e.apply(n,i))})},click:({elements:e},n,t,i)=>{document.addEventListener(i,(function(n){if(!n.uatHandled)for(let i=0;i<e.length;i++){let a,{selector:s}=e[i];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({...t,name:(a.dataset.action||t.name).toUpperCase(),data:u(a,n.target,e[i])},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(t){_[t]&&_[t](n[t],n,e,t)}))}))})),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,t)=>{"use strict";t.r(n),t.d(n,{isNetworkError:()=>i});const i=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,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});const i=e=>{if(!e)return{};const n=e.match(/([^?#]*)(#.*)?$/);return[...new URLSearchParams(n[1]).entries()].reduce(((e,[n,t])=>(e.hasOwnProperty(n)?Array.isArray(e[n])?e[n].push(t):e[n]=[e[n],t]:e[n]=t,e)),{})},a=(e,n)=>{if("string"==typeof n){const t=e.split("?",2),a=(n=n.startsWith("/")||n.startsWith("?")?n:`?${n}`).split("?",2);e=t[0].replace(/\/+$/,"")+a[0],n={...i(t[1]||""),...i(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,t)=>{"use strict";t.r(n),t.d(n,{default:()=>i});const i=()=>{}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>s});const i=new Map,a=e=>(i.has(e)||i.set(e,[]),i.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 t=a(n).indexOf(e);-1!==t&&a(n).splice(t,1)}static removeEventListener(e,n){this.remove(n,e)}}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>d});var i=t(270),a=t(272),s=t.n(a),o=t(271);const r=({component:e,...n})=>(0,i.jsx)(o.Translate,{component:e,...n});r.propTypes={component:s().elementType},r.defaultProps={component:i.Fragment};const d=r},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>s});var i=t(271),a={};for(const e in i)"default"!==e&&(a[e]=()=>i[e]);t.d(n,a);const s=i},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,t)=>{const i=document.createElement("script");i.setAttribute("src",e),i.onload=n,i.onerror=t,document.body.appendChild(i)})),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,t="bottom")=>{if(n)if("inner"===t&&(e.innerHTML="",t="bottom"),Array.isArray(n))n.forEach((n=>{render(e,n,t)}));else if("function"!=typeof n){if(n instanceof _component__WEBPACK_IMPORTED_MODULE_2__.Component)return n.setRenderTarget(e),t&&(n._renderMode=t),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 t="function"==typeof e.onrender?e.onrender:_emptyFn__WEBPACK_IMPORTED_MODULE_3__.default;delete e.onrender;const i={};Object.keys(e).forEach((n=>{"function"==typeof e[n]&&0===n.indexOf("on")&&(i[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(i).forEach((e=>{a.addEventListener(e,i[e])})),render(a,n.children),t(n=a)}switch(t){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"===t&&e.parentNode.removeChild(e);break;default:throw new Error(`Unsupported renderMode for render(): ${t}`)}"string"==typeof n&&setTimeout((async()=>{const e=/<script.*?src=("|')(.*?)("|').*?><\/script>/gi;let t;for(;null!==(t=e.exec(n));)try{await addScript(t[2])}catch{}evalScripts(n)}),10)}}else render(e,n(),t)},__WEBPACK_DEFAULT_EXPORT__=render},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>c,priority:()=>r});var i=t(277);const a="high",s="normal",o="low",r={[a]:a,[s]:s,[o]:o},d={};let l=!1;const c=(e,n)=>{"function"==typeof e&&(n=e,e=s);const t=()=>{try{n()}catch(e){(0,i.captureException)(e),console&&console.error(e)}};l?t():(d[e]||(d[e]=[]),d[e].push(t))};document.onreadystatechange=()=>{if("complete"===document.readyState&&!l){l=!0;const e=[o,s,a];Object.keys(d).sort(((n,t)=>e.indexOf(t)-e.indexOf(n))).forEach((e=>{d[e].forEach(Function.prototype.call,Function.prototype.call)}))}}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>s});var i=t(308),a=t(91);const s=(e,n,t={})=>{try{(0,a.default)({componentType:t.componentType||i.StatusMessage,renderTo:"main",renderMode:"top",type:e,message:n,...t})}catch{alert(`${e} | ${n}`)}}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{StatusMessage:()=>d});var i=t(92),a=t(309),s=t(275),o=t(310),r=t(118);t(311);class d extends i.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 t=e.target.closest(".msg-box");t.parentNode.removeChild(t),r.default.post((0,a.default)(n))})}_initComponentElement(){super._initComponentElement(),this._source&&(this._componentElement.dataset.source=this._source),(0,s.default)(this._componentElement,(0,o.default)("div",(0,o.default)("div",(0,o.default)("div",(0,o.default)("div",(0,o.default)("div",(0,o.default)("div.msg-content",this._renderCloseButton(),this._renderMessage())))))))}_renderMessage(){return[this._title?`<b>${this._title}:</b> `:null,this._message]}_renderCloseButton(){return this._closable?(0,o.default)("span.close",{onclick:"function"==typeof this._onClose?this._onClose.bind(this):this._onClose}):null}}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>i});const i=e=>{if("string"!=typeof e)return null;const n=t.g.Jsw&&t.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,t)=>{"use strict";t.r(n),t.d(n,{default:()=>s});var i=t(270),a=t(92);const s=(e,...n)=>{let t="div";const s=[],o=/(?:(^|#|\.)([^#\.\[\]]+))|(\[.+?\])/g,r=/\[(.+?)(?:=("|'|)(.*?)\2)?\]/;let d;const l=!("[object Object]"!==Object.prototype.toString.call(n[0])||"tag"in n[0]||(0,i.isValidElement)(n[0])||n[0]instanceof a.Component)?n.shift():{};for(;d=o.exec(e);)if(""===d[1]&&d[2])t=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=r.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:t,attrs:l,children:1===n.length&&Array.isArray(n[0])?n[0]:n}}},(e,n,t)=>{"use strict";t.r(n)},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var i=t(313);const a=()=>{(0,i.default)({...(0,i.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,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r,usePageData:()=>o});var i=t(314),a=t(324);const s=(0,i.makeVar)({}),o=()=>(0,a.useReactiveVar)(s),r=s},,,,,,,,,,,,,,,,,,,,,,,(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>o});var i=t(307),a=t(312),s=t(98);const o=e=>{(0,a.default)();let n=`Internal error<pre>${(0,s.default)(e)}</pre>`;try{const t=JSON.parse(e);"message"in t&&"kbArticleUrl"in t&&(n=`<pre>${(0,s.default)(t.message)}</pre>`,n+=`<a href="${t.kbArticleUrl}" target="_blank">Search for related Knowledge Base articles</a>`)}catch{}(0,i.default)("error",n)}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var i=t(98);const a=e=>(0,i.default)(e).replace(/"/g,"&quot;")},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>i});const i=e=>String(e).replace(/&amp;/g,"&").replace(/&nbsp;/g," ").replace(/&quot;/g,'"').replace(/&apos;/g,"'").replace(/&lt;/g,"<").replace(/&gt;/g,">")},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>i});const i=(e,n)=>{if(document.createEvent){const t=document.createEvent("HTMLEvents");return t.initEvent("dataavailable",!0,!0),t.eventName=n,void e.dispatchEvent(t)}const t=document.createEventObject();t.eventType="ondataavailable",t.eventName=n,e.fireEvent(t.eventType,t)}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{DOWN_ARROW:()=>d,ENTER:()=>a,ESC:()=>i,LEFT_ARROW:()=>s,RIGHT_ARROW:()=>r,UP_ARROW:()=>o,default:()=>l});const i=27,a=13,s=37,o=38,r=39,d=40,l={ESC:i,ENTER:a,LEFT_ARROW:s,UP_ARROW:o,RIGHT_ARROW:r,DOWN_ARROW:d}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{Hint:()=>o});var i=t(92),a=t(342),s=t(275);t(343);class o extends i.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"}),t=(0,a.createHtmlElement)("span",{class:"screen-description-control"});t.addEventListener("click",(e=>{e.target.closest(".screen-description").classList.add("expanded")})),(0,s.default)(n,this._contentElement),(0,s.default)(n,t),(0,s.default)(e,n),this._componentElement=e,this._screenControl=()=>{Element.getWidth(e)>Element.getWidth(n)?t.classList.add("off"):t.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,t)=>{"use strict";t.r(n),t.d(n,{createHtmlElement:()=>i});const i=(e,n={})=>{const t=document.createElement(e);return Object.entries(n).forEach((([e,n])=>{null!==n&&!1!==n&&t.setAttribute(e,n)})),t}},(e,n,t)=>{"use strict";t.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,t)=>{"use strict";t.r(n),t.d(n,{SmallButton:()=>a});var i=t(344);class a extends i.Button{_initConfiguration(e){super._initConfiguration(e),this._cls=this._getConfigParam("cls","s-btn"+(this._title?"":" btn-icon-only"))}}a.subclasses=[]},(e,n,t)=>{"use strict";t.r(n),t.d(n,{BigButton:()=>o});var i=t(344),a=t(275),s=t(98);class o extends i.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,t)=>{"use strict";t.r(n),t.d(n,{SplitButton:()=>c});var i=t(92),a=t(97),s=t(275),o=t(310),r=t(98),d=t(267),l=t(342);class c extends i.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,o.default)("button.btn"+(this.isAction?".btn-primary":""),{type:this.isDefault?"submit":"button",onclick:this.onclick},(0,r.default)(this.title)),(0,o.default)("button.btn.dropdown-toggle",{type:"button",onclick:this.openDropdown.bind(this)},(0,o.default)("em.caret")),(0,o.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,r.default)(e.title);const t=(0,l.createHtmlElement)("li",{class:(e.submenu?"dropdown-submenu":"")+(this.isMenuFlip?" to-left":"")});(0,s.default)(t,n),e.submenu&&(0,s.default)(t,'<ul class="dropdown-menu"></ul>'),(0,s.default)(this._componentElement.querySelector(".dropdown-menu"),t),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 t=e.querySelector(".dropdown-menu");e.classList.contains("open")||void 0===t||t.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((t=>{t.addEventListener("mouseover",(()=>{e(t)}));const i=t.querySelector("a");i.addEventListener("touchend",(()=>{t.classList.contains("open")?n(t):e(t)})),i.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,t)=>{"use strict";t.r(n),t.d(n,{CustomButton:()=>s});var i=t(350);const{Button:a}=i.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 t,i;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",t="#",i=this.getImagePath(this._disabledImage)):(t=this._href,i=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:t},`<span class="tool-icon"><img src="${(0,_escapeAttribute__WEBPACK_IMPORTED_MODULE_5__.default)(i)}"/></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,t)=>{"use strict";t.r(n),t.d(n,{Container:()=>o});var i=t(92),a=t(91),s=t(275);class o extends i.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,t)=>{"use strict";t.r(n)},(e,n,t)=>{"use strict";t.r(n),t.d(n,{FormRedirect:()=>m,redirect:()=>l,redirectPost:()=>c,submit:()=>d});var i=t(309),a=t(266),s=t(275),o=t(310),r=t(342);const d=(e,n)=>{const t=("string"==typeof e?document.getElementById(e):e).closest("form");t.noRedirect=n,t.submit()},l=(e,n,t)=>{let a=e,s="get";if("[object Object]"===Object.prototype.toString.call(e)&&(s=e.method||s,n=e.data,t=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,i.default)(a),s=s.toLowerCase(),"post"===s||n&&Object.keys(n).length||t?m.redirect(a,s,n,t):window.location.assign(a)},c=(e,n,t)=>{m.redirect((0,i.default)(e),"post",n,t)},m={redirect(e,n,t,i){(0,s.default)(document.body,(0,o.default)("form",{method:n,target:i,action:(0,a.default)(e,`_randomId=${Math.floor(1e6*Math.random())}`),onrender(e){setTimeout((()=>{e.submit()}),0)}},t?m.subToElements(t):null,document.getElementById("forgery_protection_token")?(0,o.default)("input",{type:"hidden",name:"forgery_protection_token",value:document.getElementById("forgery_protection_token").content}):null))},stringToElements:(e,n)=>[(0,r.createHtmlElement)("input",{type:"hidden",name:n,value:e})],booleanToElements:(e,n)=>[(0,r.createHtmlElement)("input",{type:"hidden",name:n,value:e?1:0})],arrayToElements(e,n){let t=[];return e.forEach((function(e){t=t.concat(m.subToElements(e,"",n))})),t},hashToElements(e,n){let t=[];return $H(e).each((function(e){t=t.concat(m.subToElements(e.value,e.key,n))})),t},subToElements(e,n,t){let i=[];const a=t?`${t}[${n}]`:n;return"string"==typeof e||"number"==typeof e?i=i.concat(m.stringToElements(e,a)):"boolean"==typeof e?i=i.concat(m.booleanToElements(e,a)):Array.isArray(e)?i=i.concat(m.arrayToElements(e,a)):"function"!=typeof e&&(i=i.concat(m.hashToElements(e,a))),i}}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{DisplayField:()=>a,Values:()=>s});var i=t(92);class a extends i.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,t)=>{"use strict";t.r(n),t.d(n,{FormAjax:()=>m});var i=t(92),a=t(353),s=t(268),o=t(307),r=t(312),d=t(336),l=t(275),c=t(98);class m extends i.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 t=(0,i.getComponent)(e);t&&t[n?"disable":"enable"]()}_toggleCheckbox(e,n){const t=document.getElementById(e);t&&(t.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,o.default)("error",this._config.timeoutMessage):(0,d.default)(e.responseText),this.enable()}_onSuccess(e){this._submitInProgress=!1,(0,r.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,i.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 t=null,a=n;for(;(a=a.parentNode)&&a.nodeType===Node.ELEMENT_NODE;)"none"===a.style.display&&(t=a.id);if(!t)return;const s=(0,i.getComponent)("form-tab-buttons");s&&s.switchTab(t)}_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:t})=>{this._addFormMessage(e,n,t)}))}_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,t){let i;const a=this._componentElement.querySelector(`#${e.join("-")}`);i=a?a.parentNode.querySelector(".field-errors"):null,i||(i=a?a.closest(".form-row").querySelector(".field-errors"):null),i||(i=this._componentElement.querySelector(`#${e.join("-")}-form-row`).querySelectorAll(".field-errors"),i=i[i.length-1]),this._addFieldMessage(i,t),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:t})=>{"string"==typeof t?this._processFieldMessage(n,e,t):(n.push(e),this._processFieldMessages(t,n),n.pop())}))}_addFormMessage(e,n,t){(0,o.default)(e,n,{title:t})}_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,t)=>{"use strict";t.r(n),t.d(n,{ListContainer:()=>s});var i=t(351),a=t(275);class s extends i.Container{_initConfiguration(e){super._initConfiguration({tag:"ul",...e})}_renderItem(e){let n=null;const t=Array.isArray(e)&&!e.length;t||(n=`${this._id}-item-${e.getId()}`);let i=this._getConfigParam("itemClass","");this._getConfigParam("renderLastItemClass","")&&this._items[this._items.length-1]===e&&(i="last"),t&&(i+=` ${this._getConfigParam("emptyItemClass","")}`),i&&(i=` class="${i}"`),(0,a.default)(document.getElementById(this._contentAreaId),`<li ${n?`id="${n}"`:""}${i}></li>`),t||(0,a.default)(document.getElementById(n),e)}}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{TwoColumns:()=>s});var i=t(351),a=t(275);class s extends i.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,t)=>{"use strict";t.r(n),t.d(n,{default:()=>i});const i={get(e){const n=document.cookie.split("; ");for(let t=0;t<n.length;t++){const i=n[t].split("=");if(e===i[0])return unescape(i[1])}return null},set(e,n,t,i){let a=`${e}=${escape(n)}; `;t&&(a+=`expires=${t}; `),i&&(a+=`path=${i}; `),"https:"===window.location.protocol&&(a+="secure; "),document.cookie=a},setPermanent(e,n,t){const i=new Date;i.setTime(i.getTime()+31536e6);const a=i.toGMTString();this.set(e,n,a,t)},remove(e,n){this.set(e,"","Fri, 31 Dec 1999 23:59:59 GMT",n)}}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{Panel:()=>r});var i=t(351),a=t(358),s=t(91),o=t(275);class r extends i.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,o.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,t)=>{"use strict";t.r(n),t.d(n,{AjaxMessageBox:()=>v,MessageBox:()=>p,MultiCheckboxMessageWindow:()=>f,WebspaceFoldersMessageBox:()=>h,messageBox:()=>u});var i=t(361),a=t(336),s=t(310),o=t(309),r=t(98),d=t(100);t(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 i.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,o.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:t}=n;let i="";Array.isArray(t)?t.length>0&&(i='<ul class="ul">',t.forEach((e=>{i+=`<li>${e}</li>`})),i+="</ul>"):i=t;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=i+a+s;const o=this._componentElement.querySelectorAll('input[type="checkbox"]');o.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()}))})),o.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,r.default)(e)}</li>`)),t=e.length?this._description.concat(" ").concat(this._successDescription).concat(`<ul>${n.join("")}</ul>`):this._description;document.getElementById(this._contentContainerId).innerHTML=t}_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,t)=>{"use strict";t.r(n),t.d(n,{ModalDialogBox:()=>r});var i=t(92),a=t(275),s=t(267),o=t(340);t(362);class r extends i.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)||(r.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&&o.ESC))this.hide()}}r.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 t=document.createElement("style");document.head.appendChild(t),t.sheet.insertRule(`.modal-open, .modal-open .pul-layout__header-inner {padding-inline-end: ${n}px}`,0),t.sheet.insertRule(`.modal-open .js-scrollbar-spacer {margin-right: ${n}px}`,1)}},(e,n,t)=>{"use strict";t.r(n)},(e,n,t)=>{"use strict";t.r(n)},(e,n,t)=>{"use strict";t.r(n),t.d(n,{DropdownHeader:()=>s});var i=t(275),a=t(92);class s extends a.Component{_initConfiguration(e){super._initConfiguration({cls:"dropdown-header",...e}),this._title=this._getConfigParam("title","")}_initComponentElement(){super._initComponentElement(),(0,i.default)(this._componentElement,this._title)}}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{DropdownManager:()=>s});let i=[];const a=e=>{i.forEach((n=>{n.isOpened(e)&&n.close(e)}))},s={register(e,n,t,s,o){const r={toggler:e,isOpened:n,open:t,close:s,handler(e){if(o&&!o(e))return;e.stopPropagation();const i=n(e);a(e),i||t(e)}};return i.push(r),r.toggler.addEventListener("click",r.handler),i.length>0&&document.body.addEventListener("click",a),r},unregister(e){e.toggler.removeEventListener("click",e.handler),i=i.filter((n=>n!==e)),0===i.length&&document.body.removeEventListener("click",a)}}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{SmallTools:()=>c});var i=t(351),a=t(97),s=t(367),o=t(91),r=t(275),d=t(310),l=t(267);t(368);class c extends i.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,r.default)(this._componentElement,[(0,d.default)(`#${this._operationsId}.objects-toolbar.clearfix`,this._operations?this._operations.map(o.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:t(369)})))}searchFiltersView(){const e=[];return this.searchFilters.each((({key:n,value:t})=>{e.push((0,d.default)("li",(0,d.default)("div",t.title?(0,d.default)("span",t.title):"",s.default.create({idPrefix:this.listId,name:n,value:this.searchFiltersState[n]&&this.searchFiltersState[n].searchText,...t},(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,r.default)(this._componentElement,this._rActionsElement,"top")),this._rActionsElement.querySelector(`.r-actions-${e}`)||(0,r.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 t=!this._componentElement.querySelector(`.r-actions-${n}`).classList.contains("r-actions-item-active");this._hideResponsiveButtonBlocks(),t&&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,t)=>{"use strict";t.r(n),t.d(n,{default:()=>o});var i=t(100),a=t(310),s=t(98);const o={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(t){return(0,a.default)("label",(0,a.default)('input[type="checkbox"]',{value:t.value,checked:!e.value||-1!==e.value.indexOf(t.value)||null,onclick(t){const i=t.target,a=i.closest("th").querySelector("input[type=text]"),s=i.closest("th").querySelectorAll("input[type=checkbox]:checked"),o=i.closest("th").querySelectorAll("input[type=checkbox]");if(s.length)if(s.length===o.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()}}),` ${t.value}`)})))):"")),createDate(e,n){const t=e.date||new Date,s=e.locale||new i.default,o=(0,a.default)("select",{"data-input-name":"filterDateHourSelect"});for(let e=0;e<24;e++)o.children.push((0,a.default)("option",{value:e},(e<10?"0":"")+e));const r=(0,a.default)("select",{"data-input-name":"filterDateMinuteSelect"});for(let e=0;e<60;e++)r.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<=t.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",o," : ",r),(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()}},i.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(t.getTime()-36e5)),"function"==typeof n&&n()}},s.lmsg("hourAgo"))," ",(0,a.default)("a.toggler",{onclick:e=>{this.onDateSearchFilterModify(e.target.closest(".dropdown"),new Date(t.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),t=n.getFullYear(),i=(n.getMonth()+1<10?"0":"")+(n.getMonth()+1),a=(n.getDate()<10?"0":"")+n.getDate(),s=(n.getHours()<10?"0":"")+n.getHours(),o=(n.getMinutes()<10?"0":"")+n.getMinutes();e.querySelector("input").value=`${t}-${i}-${a} ${s}:${o}`},onDateSearchFilterModify(e,n){this._dateSearchFieldFromDate(e,n)},_dateSearchFieldFromDate(e,n){const t=e.querySelectorAll("select");t[0].value=n.getHours(),t[1].value=n.getMinutes(),t[2].value=n.getDate(),t[3].value=n.getMonth(),t[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,t)=>{"use strict";t.r(n)},e=>{e.exports=Jsw.skinUrl+"/images/blank.gif?56398e76be6355ad5999b262208a17c9"},(e,n,t)=>{"use strict";t.r(n),t.d(n,{CollapsibleBlock:()=>a});var i=t(351);t(371);class a extends i.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,t)=>{"use strict";t.r(n)},(e,n,t)=>{"use strict";t.r(n),t.d(n,{Pathbar:()=>o});var i=t(351),a=t(92),s=t(275);t(373);class o extends i.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>")}}o.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}},o.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,t)=>{"use strict";t.r(n)},(e,n,t)=>{"use strict";t.r(n),t.d(n,{Bar:()=>l,bar:()=>c});var i=t(351),a=t(92),s=t(344),o=t(275),r=t(98),d=t(342);t(375);class l extends i.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()}`,t=e.getContainerClass();(0,o.default)(document.getElementById(this._contentAreaId),`<li class="${t}" id="${n}"></li>`),(0,o.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",(t=>{const i=n.closest("li");(i.classList.contains("active")||"current"===i.id)&&t.preventDefault(),e.classList.toggle("responsive-tabs-visible")}))}))}switchTab(e){let n=null;this.getItems().forEach((function(t){e===t.getTabId()&&(n=t),document.getElementById(t.getTabId()).style.display="none",t.getRenderTarget().classList.remove("active")})),document.getElementById(e).style.display="",n.getRenderTarget().classList.add("active")}_renderItem(e,n,t){super._renderItem(e,n,t);const i=e.getTabContent();if(i){const n=(0,d.createHtmlElement)("div",{id:e.getTabId(),style:e.isActive()?"":"display: none"});(0,o.default)(this._componentElement.parentNode,n),(0,o.default)(n,i,"string"==typeof i&&"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,r.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,t)=>{"use strict";t.r(n)},(e,n,t)=>{"use strict";t.r(n),t.d(n,{AddRemoveDynamicSubForm:()=>r,DynamicSubForm:()=>o});var i=t(92),a=t(345),s=t(275);class o extends i.Component{_initConfiguration(e){super._initConfiguration(e);const n=this._getConfigParam("getDynamicContent",null);n&&(this._getDynamicContent=n.bind(this));const t=this._getConfigParam("prepareDynamicContent",null);t&&(this._prepareDynamicContent=t.bind(this));const i=this._getConfigParam("bindDynamicContent",null);i&&(this._bindDynamicContent=i.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 o=this._getConfigParam("onInitDynamic",null);o&&(this._onInitDynamic=o.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 r extends o{_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()}`,t=e.querySelectorAll(".field-value input, .field-value select");return(0,s.default)(t[t.length-1],`<span id="${n}" class="${this._removeButtonId}"></span>`,"after"),n}_prepareDynamicContent(e){const n=Math.floor(1e6*Math.random()),t=new RegExp(`(name=.*?\\[?${this._id}\\]?\\[)dynamicSubFormTemplate(\\])`,"g"),i=new RegExp(`(id=.*?\\-?${this._id}-)dynamicSubFormTemplate(-)`,"g");return e.innerHTML=e.innerHTML.replace(t,`$1c${n}$2`).replace(i,`$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 t=e.querySelectorAll("label");t[t.length-1].style.display=n?"none":""}))}addContent(e){super.addContent(),e.stopPropagation(),e.preventDefault()}deleteContent(e,n){super.deleteContent(e),n.stopPropagation(),n.preventDefault()}}o.subclasses=[]},(e,n,t)=>{"use strict";t.r(n),t.d(n,{Box:()=>a});var i=t(92);class a extends i.Component{_initComponentElement(){super._initComponentElement(),this._componentElement.innerHTML=this._getConfigParam("html","")}}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{Gauge:()=>a});var i=t(92);class a extends i.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,t)=>{"use strict";t.r(n),t.d(n,{PopupForm:()=>d});var i=t(361),a=t(307),s=t(312),o=t(275),r=t(310);class d extends i.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,o.default)(this._componentElement,this.view()),this.show()}view(){return(0,r.default)(".popup-wrapper",(0,r.default)(".popup-container",[(0,r.default)(".popup-heading",(0,r.default)(".popup-heading-area",[(0,r.default)("span.popup-heading-actions",this._getHeadingActions()),(0,r.default)(`h2.${this._titleCls}`,(0,r.default)(`span#${this._titleAreaId}`,{title:this._getConfigParam("title")},this._getConfigParam("title")))])),(0,r.default)(".popup-content",(0,r.default)(`#${this._popupContentAreaId}.popup-content-area`,this._getContentArea()))]))}_getHeadingActions(){return""}_getContentArea(){return[(0,r.default)(`p#${this._hint1AreaId}`),(0,r.default)(`span#${this._hintAreaId}`),this._getBoxArea(),this._getButtonsArea()]}_getBoxArea(){return(0,r.default)(`#${this._boxAreaId}.form-box`,(0,r.default)(".box-area",(0,r.default)(".content",(0,r.default)(`#${this._contentAreaId}.content-area`))))}_getButtonsArea(){let e=(0,r.default)(`#${this._rightActionButtonsAreaId}.field-value`," ");return e=this._getConfigParam("singleRowButtons")?(0,r.default)(".single-row",e):[(0,r.default)(`#${this._leftActionButtonsAreaId}.field-name`," "),e],(0,r.default)(`#${this._actionButtonsId}.btns-box`,(0,r.default)(".box-area",(0,r.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,t,i,a){const s=this._createButton(e,n,t,i,a);return(0,o.default)(document.getElementById(this._rightActionButtonsAreaId),s),s}addLeftButton(e,n,t,i,a){const s=this._createButton(e,n,t,i,a);return(0,o.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"),t=Element.getHeight(document.getElementById(this._actionButtonsId)),i=Element.cumulativeOffset(e)[1],a=Element.getHeight(e);let s=document.body.clientHeight-i-t-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,t,i,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"),i&&s.classList.add("action"),s.type=t?"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:t})=>{switch(n){case"title":e.innerHTML=t;break;case"disabled":e.disabled=!!t,t?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,o.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,t)=>{"use strict";t.r(n),t.d(n,{AjaxPopupForm:()=>r});var i=t(379),a=t(92),s=t(309),o=t(275);class r extends i.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,o.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,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var i=t(361),a=t(275),s=t(310);t(382);class o extends i.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`,t=this._getConfigParam("content","");return"object"==typeof t?(0,s.default)("form",{id:n},t,e):`<form id="${n}">${t}${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 t="";void 0!==e.disabled&&e.disabled&&(t='disabled="disabled"');const i=document.createElement("span");i.className=`btn ${e.class}`,i.innerHTML=`<button ${n} value="" type="button" ${t}>${e.title}</button>`,i.querySelector("button").addEventListener("click",(n=>{e.handler(n,this)})),(0,a.default)(document.getElementById(this._rightActionButtonsAreaId),i)})),this.show()}_onCloseClick(){this.hide()}}o.subclasses=[];const r=o},(e,n,t)=>{"use strict";t.r(n)},(e,n,t)=>{"use strict";t.r(n),t.d(n,{DoubleListSelector:()=>u});var i=t(310),a=t(92),s=t(307),o=t(312),r=t(336),d=t(309),l=t(266),c=t(275),m=t(98);t(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._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,t)=>{n.marked=!1,void 0===n.selected&&(n.selected=!1),this._initListItem(n,t,!0),this._initListItem(n,t,!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,i.default)("div.dls-first-box",this._isSearchable?this._getSearchControl("unselected"):null,(0,i.default)("h4",(0,i.default)("span",this.lmsg("unselectedTitle"))),(0,i.default)("div.dls-box-area",{id:`${this._id}-container-unselected`},e,(0,i.default)("ul",{id:`${this._id}-unselected`}))),(0,i.default)("div.dls-second-box",this._isSearchable?this._getSearchControl("selected"):null,(0,i.default)("h4",(0,i.default)("span",this.lmsg("selectedTitle"))),(0,i.default)("div.dls-box-area",{id:`${this._id}-container-selected`},e,(0,i.default)("ul",{id:`${this._id}-selected`}))),(0,i.default)("div.dls-controls",{id:`${this._id}-controls`},(0,i.default)("button.btn.disabled",{type:"button",id:`${this._id}-submitSelect`},(0,i.default)("span.dls-add","&gt;&gt;")),(0,i.default)("button.btn.disabled",{type:"button",id:`${this._id}-submitUnselect`},(0,i.default)("span.dls-remove","&lt;&lt;")))]),this._initList()}_initListItem(e,n,t){let a=null,s=!1;t?(a=document.getElementById(`${this._id}-selected`),s=!e.selected):(a=document.getElementById(`${this._id}-unselected`),s=e.selected);const o=(0,i.default)("div.dls-item-block",(0,i.default)("b",(0,m.default)(e.title)),e.description?(0,i.default)("span",e.description):null,e.icons?.length?(0,i.default)("span.dls-icons",e.icons.map((({src:e,title:n})=>(0,i.default)("i.icon",(0,i.default)("img",{src:`${Jsw.skinUrl}${e}`,title:n}))))):null),r=(0,i.default)("li",{id:`${this._id}-${n}-${t?"selected":"unselected"}-item`,style:s?"display: none;":void 0,onclick:e=>{this._toggleItem(n,t,e)}},o);(0,c.default)(a,r)}_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,i.default)(".dls-search",(0,i.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,i.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,t){this._list[e].marked?this._unmarkItem(e,n,t):this._markItem(e,n,t)}_markItem(e,n,t){if(void 0!==t&&t.shiftKey&&-1!==this._prevSelectedItem){const t=Math.min(e,this._prevSelectedItem),i=Math.max(e,this._prevSelectedItem);for(let e=t;e<i;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,document.getElementById(`${this._id}-elements`).value=JSON.stringify(n)}onChange(){}onToggleSearch(e,n){const t="selected"===e;(n=n.trim().toLowerCase()).length?(this._toggleSearchButtonIcon(e,!0),this._list.forEach((function(i,a){if(t!==i.selected)return;const s=document.getElementById(`${this._id}-${a}-${e}-item`);this._isSearchMatched(i,n)?("none"===s.style.display&&i.marked&&this._updateSelectControls(t,!0),s.style.display=""):("none"!==s.style.display&&i.marked&&this._updateSelectControls(t,!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(((t,i)=>{if(n===t.selected){const a=document.getElementById(`${this._id}-${i}-${e}-item`);"none"===a.style.display&&t.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 t=e?this._selectedMarked:this._unselectedMarked;const i=e?"submitUnselect":"submitSelect";n?t++:t--,document.getElementById(`${this._id}-${i}`).classList[t?"remove":"add"]("disabled"),e?this._selectedMarked=t:this._unselectedMarked=t}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,r.default)(e.responseText)}n.list?this._list=n.list:n.status?((0,o.default)(),(n.statusMessages||[]).forEach((function(e){(0,s.default)(e.status,e.content)}))):(0,r.default)("Unable to load list data."),this._initList()}_onReloadFailure(e){(0,r.default)(e.responseText)}_onReloadException(e,n){(0,r.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,t)=>{"use strict";t.r(n)},(e,n,t)=>{"use strict";t.r(n),t.d(n,{EnhancedDoubleListSelector:()=>r});var i=t(310),a=t(383),s=t(275),o=t(98);t(386);class r extends a.DoubleListSelector{_initComponentElement(){this._componentElement=document.getElementById(this._applyTargetId),this._componentElement.classList.add("edls"),this._updateComponentElement((0,i.default)(".edls-wrap",(0,i.default)(".edls-box.edls-box-first",(0,i.default)(".edls-header",(0,i.default)(".edls-header-title",this.lmsg("unselectedTitle"))),(0,i.default)(".edls-box-wrap",this._isSearchable?this._getSearchControl("unselected"):null,(0,i.default)(".edls-box-body",(0,i.default)("ul.edls-list",{id:`${this._id}-unselected`}),(0,i.default)(".edls-list-empty",{style:"display: none;"},(0,i.default)("span",this.lmsg("unselectedEmpty"))),(0,i.default)(".edls-ajax-loading",{style:"display: none;"},(0,i.default)("span.ajax-loading",this.lmsg("loadingTitle")))))),(0,i.default)(".edls-control",(0,i.default)(".edls-control-wrap",(0,i.default)(".edls-control-body",(0,i.default)(".edls-control-text",(0,i.default)(".edls-control-text-none",this.lmsg("controlText-none")),(0,i.default)(".edls-control-text-first"),(0,i.default)(".edls-control-text-second")),(0,i.default)(".edls-control-indicator",(0,i.default)("i"))))),(0,i.default)(".edls-box.edls-box-second",(0,i.default)(".edls-header",(0,i.default)(".edls-header-title",this.lmsg("selectedTitle"))),(0,i.default)(".edls-box-wrap",this._isSearchable?this._getSearchControl("selected"):null,(0,i.default)(".edls-box-body",(0,i.default)("ul.edls-list",{id:`${this._id}-selected`}),(0,i.default)(".edls-list-empty",{style:"display: none;"},(0,i.default)("span",this.lmsg("selectedEmpty"))),(0,i.default)(".edls-ajax-loading",{style:"display: none"},(0,i.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,i.default)(".edls-search",(0,i.default)("span.edls-check",(0,i.default)("input.checkbox",{type:"checkbox",value:""})),(0,i.default)("span.edls-search-control",(0,i.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,i.default)("input.search-button",{type:"image",src:t(387),id:`${this._id}-search-button-${e}`,onmousedown:()=>this.onResetSearch(e),onclick:e=>e.preventDefault()})))}_toggleSearchButtonIcon(e,n){const i=document.getElementById(`${this._id}-search-button-${e}`);i.classList[n?"add":"remove"]("search-button-clear"),i.src=t(n?388:387)}onFocus(e){e.classList.remove("search-empty")}_resetSearchControl(e){e.value="",e.classList.add("search-empty")}_initListItem(e,n,t){let a=null,o=!1;t?(a=document.getElementById(`${this._id}-selected`),o=!e.selected):(a=document.getElementById(`${this._id}-unselected`),o=e.selected),(0,s.default)(a,(0,i.default)("li",{id:`${this._id}-${n}-${t?"selected":"unselected"}-item`,class:"edls-item",style:o?"display: none;":null,onclick:e=>{this._toggleItemSelection(n,t,e)}},(0,i.default)("div",{class:"edls-item-wrap"},(0,i.default)("span",{class:"edls-check"},(0,i.default)("input",{type:"checkbox",class:"checkbox",value:"",onclick:e=>{e.stopPropagation(),this._toggleItemCheckbox(e.target,e.target.checked)}})),(0,i.default)("span",{class:"edls-text"},this._getItemText(e)))))}_getItemText(e,n){let t="";e.icons&&e.icons.length&&(e.icons.forEach((({src:e,title:n})=>{t+=`<i class="icon"><img src="${Jsw.skinUrl}${e}" title="${n}"></i>`})),t+=" ");let i=(0,o.default)(e.title);return n&&(i=i.replace(n,`<b class="search-result-label">${n}</b>`)),t+i}onToggleSearch(e,n){const t="selected"===e;(n=n.trim().toLowerCase()).length?(this._toggleSearchButtonIcon(e,!0),this._list.forEach(((i,a)=>{const s=document.getElementById(`${this._id}-${a}-${e}-item`);if(this._isSearchMatched(i,n))s.querySelector(".edls-text").innerHTML=this._getItemText(i,n),t===i.selected&&(s.style.display="");else{s.querySelector(".edls-text").innerHTML=this._getItemText(i);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(((t,i)=>{const a=document.getElementById(`${this._id}-${i}-${e}-item`);a.querySelector(".edls-text").innerHTML=this._getItemText(t),n===t.selected&&(a.style.display="")}))}_toggleItemSelection(e,n,t,i){t.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),i||(this._fixListZebra(),this.onChange())}_toggleItemCheckbox(e,n){e.checked=n;const t=e.closest(".edls-box-first")?"first":"second",i=e.closest(`.edls-box-${t}`).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[i?"add":"remove"](`edls-selected-${t}`),e.closest(".edls").querySelector(`.edls-control-text-${t}`).innerHTML=this.getLocale().formatMessage(`controlText-${t}`,{count:i})}_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 t;if(e.classList.contains("edls-over-first"))t=!1;else{if(!e.classList.contains("edls-over-second"))return;t=!0}this._list.forEach(((e,i)=>{if(e.selected===t){document.getElementById(`${this._id}-${i}-${t?"selected":"unselected"}-item`).classList.contains("selected")&&this._toggleItemSelection(i,t,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,t)=>{"use strict";t.r(n)},e=>{e.exports=Jsw.skinUrl+"/images/search-input.png?9fd99cb66354e116893e88b4f234ca6d"},e=>{e.exports=Jsw.skinUrl+"/images/clear-search.png?c022c431eedbe669278180412386b137"},(e,n,t)=>{"use strict";t.r(n),t.d(n,{DynamicPopupHint:()=>o});var i=t(92),a=t(309),s=t(275);t(390);const o={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(),t=document.getElementById(`${this.windowId}-title`);!1===n?(document.getElementById(`${this.windowId}-title`).innerHTML="",t.closest(".popup-heading").style.display="none"):(document.getElementById(`${this.windowId}-title`).innerHTML=n,t.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),t=Element.getHeight(e),i=Element.getHeight(e.querySelector(".popup-heading")),a=this._currentTooltip.getTargetElement(),s=Element.getHeight(a),o=Element.getWidth(a);let r=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-=t,r-=(n-o)/2;break;case"bottom":d+=s,r-=(n-o)/2;break;case"left":d-=(i-s)/2,r-=n;break;case"right":d-=(i-s)/2,r+=o}l+r>c&&(r-=l+r-c+10),Element.clonePosition(e,a,{offsetLeft:r,offsetTop:d,setWidth:!1,setHeight:!1})}};o.Instance=class extends i.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(),o.isSet(this)?o.unset():o.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,o.updateContent(this))}}),this._contentLoaded=!0}setContent(e){this._contentLoaded=!0,this._content=e}set(){this._delayedExecuter=new PeriodicalExecuter((e=>{o.set(this),e.stop(),this._delayedExecuter=null}),o.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,t)=>{"use strict";t.r(n)},(e,n,t)=>{"use strict";t.r(n),t.d(n,{PasswordMeter:()=>l});var i=t(92),a=t(389),s=t(100),o=t(275),r=t(310),d=t(392);t(514);class l extends i.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,o.default)(this._componentElement,[(0,r.default)("i",{onrender:e=>{this._progress=e}}),(0,r.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:t}=await(0,d.default)(this._passwordElement.value);e===this._passwordElement.value&&(this._updateVisibility(),this.setProgress(n),this._updateHint(t),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,r.default)("br"),(0,r.default)("ul",e.map((e=>(0,r.default)("li.asd",e))))]:this.lmsg("yourPasswordIsStrong"))}_updateVerdict(e){this._verdict.innerHTML=this.lmsg(`verdict${e}`)}render(){super.render(),(0,o.default)(this._componentElement,(0,r.default)("span.hint-inline.hint-info",{onrender:e=>{this._hintContainer=e}},(0,r.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,t)=>{"use strict";t.r(n),t.d(n,{default:()=>d});var i=t(496),a=t(89),s=t(393);const o=i.gql`
    query PasswordEstimation($password: String!) {
        passwordEstimation(password: $password) {
            level
            suggestions
        }
    }
`,r=async e=>{const{data:{passwordEstimation:n}}=await s.default.query({query:o,variables:{password:e}});return n},d=async(e,n=r)=>{const[{level:t,suggestions:i},s]=await Promise.all([n(e),a.Locale.loadSection("components.password.suggestions")]);return{password:e,strength:["VeryWeak","Weak","Medium","Strong"][t]??"VeryStrong",suggestions:i.map((e=>s.lmsg(e)))}}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>b});var i=t(395),a=t(433),s=t(489),o=t(477),r=t(481),d=t(511),l=t(394),c=t(431),m=t.n(c),u=t(409),p=t(428),v=t.n(p);const f=new u.SentryLink({setTransaction:!1}),h=(0,l.onError)((e=>{400===e.networkError?.statusCode&&window.location.reload()})),g={"X-Requested-With":"XMLHttpRequest"},k=document.getElementById("forgery_protection_token");k&&(g["X-Forgery-Protection-Token"]=k.content);const _={uri:"/cp/graphql",headers:g},S=i.ApolloLink.split((e=>e.getContext().noBatch||v()(e).files.size>0),m()(_),new d.BatchHttpLink({..._,batchMax:10,batchInterval:10})),b=new a.ApolloClient({link:(0,s.from)([h,f,S]),cache:new o.InMemoryCache({typePolicies:{AdditionalKey:{keyFields:["keyNumber"]},Domain:{fields:{hosting:{merge:!0},webScriptingSettings:{merge:!0}}},ExtensionTab:{keyFields:!1},SiteButton:{keyFields:!1},Site:{keyFields:["id"]},ConfigSectionGdprCookie:{keyFields:["name"]},User:{keyFields:["login"]},UserLogo:{merge:!0},UserPermissions:{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:t})=>t({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"]},SystemMessage:{keyFields:["key"]}},dataIdFromObject:e=>!0===e.__typename?.startsWith("Config")?e.__typename:(0,r.defaultDataIdFromObject)(e)})})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,(e,n,t)=>{"use strict";t.r(n)},(e,n,t)=>{"use strict";t.r(n),t.d(n,{PasswordGenerator:()=>o});var i=t(92),a=t(339);const s={upper:"ABCDEFGHIJKLMNOPQRSTUVWXYZ",lower:"abcdefghijklmnopqrstuvwxyz",number:"0123456789",special:"!@#$%^&*?_~"};class o extends i.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,t)=>{"use strict";t.r(n),t.d(n,{UpgradeFailureNotification:()=>d});var i=t(308),a=t(118),s=t(309),o=t(275),r=t(310);class d extends i.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,o.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,r.default)("span.ajax-loading",this._bootstrapInProgressMessage):[this._message," ",(0,r.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,t)=>{"use strict";t.r(n),t.d(n,{WebserverConfigurationFailure:()=>c});var i=t(308),a=t(118),s=t(353),o=t(307),r=t(312),d=t(309),l=t(98);class c extends i.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,r.default)(),(0,o.default)("warning",`<span class="ajax-loading">${this.lmsg("messageInProgress")}</span>`)}_onSuccess(e){(0,r.default)(),"success"===e.status?(0,o.default)("info",this.lmsg("messageSuccess")):(0,o.default)("error",this.lmsg("messageFailure")+e.message)}_onException(e){(0,r.default)(),""===window.location.port?(0,o.default)("info",this.lmsg("messageSuccess")):(0,o.default)("error",`Internal error: ${e}`)}}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{ConfirmationPopupManager:()=>c});var i=t(379),a=t(92),s=t(353),o=t(100),r=t(309),d=t(275),l=t(118);const c={};c.PopupForm=class extends i.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(o.default.getSection("components.buttons").lmsg("ok"),this._onOkClick,!0,!0,{id:this._sendButtonId}),this.addRightButton(o.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,r.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(),t=0;if(this._ids.forEach((e=>{n.set(`ids[${t}]`,e),t++})),n=this._getAdditionalParams(n),this.disable(),this._addLoadingIndicator(this._getLoadingIndicatorItems()),this._needFlyEffect()){const t=Element.cumulativeOffset(e.target);(0,a.getComponent)("asyncProgressBarWrapper").fly(t,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,t)=>{"use strict";t.r(n),t.d(n,{LookUp:()=>h});var i=t(92),a=t(520),s=t(97),o=t(523),r=t(309),d=t(275),l=t(310),c=t(98),m=t(339),u=t(340),p=t(118),v=t(526),f=t(342);class h extends i.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,r.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 t=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 i=n.querySelector("a");let a=(0,v.default)(i.innerHTML);const s=a.toLowerCase().indexOf(e);-1!==s?(t++,t<=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",i.innerHTML=a})),this._emptyElement.style.display=t?"none":"",t){const e=[...this._dropdownList.querySelectorAll("li")].filter((e=>"none"!==e.style.display));e.length&&e[0].classList.add("active")}t+=n||0,this._searchMoreElement&&(t>this._limit?(this._searchMoreElement.querySelector("div").innerHTML=this._getSearchMoreText(t-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 t=this._dropdownList.querySelector("li.active");if(t){if(u.DOWN_ARROW===e)for(n=t.nextElementSibling;n&&("none"===n.style.display||!n._item);)n=n.nextElementSibling;else if(u.UP_ARROW===e)for(n=t.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"),t&&t.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 t=Math.round(n.offsetTop/e.offsetHeight)+1,i=Math.round(this._dropdownList.clientHeight/e.offsetHeight);this.frameStart=this.frameStart||1,t>=this.frameStart+i?(this._dropdownList.scrollTop+=e.offsetHeight,this.frameStart++):t<=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,o.default)()?"right":"left"]=null;const e=document.documentElement.clientWidth,n=this._dropdownList.getBoundingClientRect(),t=((0,o.default)()?n.left:e-n.width-n.left)-parseInt(window.getComputedStyle(document.querySelector(".pul-layout__main-inner")).paddingLeft||0);t<0&&(this._dropdownList.style[(0,o.default)()?"right":"left"]=`${t}px`)}handleChange(){(0,m.default)(this._componentElement,"component:change");const e=this._getConfigParam("onChange");"function"==typeof e&&e(this._currentValue)}}h.subclasses=[]},(e,n,t)=>{"use strict";t.r(n),t.d(n,{List:()=>i.default,ListContextMenu:()=>a.default,list:()=>r});var i=t(521),a=t(522),s=t(528),o=t(524);const r={COLUMN_SELECTION:o.COLUMN_SELECTION,COLUMN_ACTIONS:o.COLUMN_ACTIONS,ITEMS_UNLIMITED:o.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__(522),_constants__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(524),helpers_stripTags__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(526),_api__WEBPACK_IMPORTED_MODULE_23__=__webpack_require__(118),_List_less__WEBPACK_IMPORTED_MODULE_24__=__webpack_require__(527);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 t=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}),t}_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,t=!1;if(this._getColumns().filter((({isVisible:e})=>"function"!=typeof e||e())).forEach((e=>{if(!e.filter||!e.filter.type)return;let i,a;i=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`),i?(t=!0,e.filter.multi?(a=[],i.forEach((function(e){a.push(e.value.toLowerCase())})),a.length===e.filter.options.length&&(a=[])):a=i.value.toLowerCase(),a!==e.filter.value&&(e.filter.value=a,n=!0)):e.filter.value=""})),!t||!e&&!n)return void this.checkEmptyList();let i="even";document.getElementById(this._tableId).querySelectorAll("tr.odd, tr.even").forEach(((e,n)=>{const t=e.childNodes;let a=!0;this._getColumns().filter((({isVisible:e})=>"function"!=typeof e||e())).forEach(((e,i)=>{const s=this._data[n][e.dataIndex];if(t[i]._filtered&&(e.noEscape?t[i].innerHTML=s:t[i].innerHTML=(0,_escapeHtml__WEBPACK_IMPORTED_MODULE_16__.default)(s),delete t[i]._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 o=s.toLowerCase().indexOf(e.filter.value);-1===o||e.filter.startsWith&&0!==o?a=!1:(e.noEscape?t[i].innerHTML=`${s.substr(0,o)}<b class="search-result-label">${s.substr(o,e.filter.value.length)}</b>${s.substr(o+e.filter.value.length)}`:t[i].innerHTML=`${(0,_escapeHtml__WEBPACK_IMPORTED_MODULE_16__.default)(s.substr(0,o))}<b class="search-result-label">${(0,_escapeHtml__WEBPACK_IMPORTED_MODULE_16__.default)(s.substr(o,e.filter.value.length))}</b>${(0,_escapeHtml__WEBPACK_IMPORTED_MODULE_16__.default)(s.substr(o+e.filter.value.length))}`,t[i]._filtered=!0)})),a?(e.classList.remove(i),i="odd"===i?"even":"odd",e.classList.add(i),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 t=e.querySelector(".r-actions-select");t&&(n.checked?t.classList.add("r-actions-item-active"):t.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"),t=!n.classList.contains("r-paging-visible");this._actionBox&&this._actionBox._hideResponsiveButtonBlocks(),t&&n.classList.add("r-paging-visible"),e.stopPropagation()}listHeadersView(){const e=[],n=[];let t=!1,i=0;return this._getColumns().forEach((a=>{if(i)return void i--;if("function"==typeof a.isVisible&&!a.isVisible())return;a.headerColspan&&(i=a.headerColspan);let{header:s}=a,o=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",o+=".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${o}${i?`[colspan="${i}"]`:""}`,{...a.headerParams},s));let r="";a.filter&&(t=!0,r=_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},r))})),(0,_createElement__WEBPACK_IMPORTED_MODULE_15__.default)("thead",t?(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((t=>this.rowView(e[t],t,n)))):null}rowView(e,n,t){const i=this._getColumns().filter((e=>"function"!=typeof e.isVisible||e.isVisible())).map((n=>{let t=null;if("function"==typeof n.renderer){const i=this.isDisabledItem(e);i&&n.hideDisabled||(t=n.renderer.call(this,e,i))}else void 0!==n.dataIndex&&void 0!==e[n.dataIndex]&&(t=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},t)}));return(0,_createElement__WEBPACK_IMPORTED_MODULE_15__.default)(`tr.${this._getRowClass(e)}.${(n+t)%2?"even":"odd"}`,{"data-row-id":e.id},i)}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,t)=>{const i=_constants__WEBPACK_IMPORTED_MODULE_21__.ITEMS_UNLIMITED===n?this.lmsg("allItems"):n;t>0&&e.push(" "),e.push(this._pager.itemCountPerPage!==n?(0,_createElement__WEBPACK_IMPORTED_MODULE_15__.default)("a",{onclick:()=>this.onLimitClick(n)},i):(0,_createElement__WEBPACK_IMPORTED_MODULE_15__.default)("span",i))})),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 t=this._componentElement.querySelector('input[name="listGlobalCheckbox"]');t.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"),t.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(t){e.indexOf(t.id.toString())<0||n.push(t)})),n}checkNonEmptySelection(){return this.getSelectedItemsIds().length?(this._hideItemsNotSelectedWarning(),!0):(this._showItemsNotSelectedWarning(),!1)}execLongGroupOperation(e,n){let t;e.onSuccess=function(){const e=(0,_component__WEBPACK_IMPORTED_MODULE_2__.getComponent)("asyncProgressBarWrapper");e.removePreparingItem(t),e.update()},e.beforeSendRequest=function(i){const a=Element.cumulativeOffset(n.target);t=(0,_component__WEBPACK_IMPORTED_MODULE_2__.getComponent)("asyncProgressBarWrapper").fly(a,e.taskName,(function(){i()}))},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 t=e.submitVarName?e.submitVarName:"ids",{toJsonPayload:i}=e,a=e.selectedItems?e.selectedItems:this.getSelectedItemsIds();if(a.forEach(((e,a)=>{i?(n[t]||=[],n[t].push(e)):n[`${t}[${a}]`]=e})),e.checkSelection){if(!e.checkSelection())return}else{if(!a.length)return void this._showItemsNotSelectedWarning();this._hideItemsNotSelectedWarning()}const s=this._submit,o=e.submitHandler?e.submitHandler:(n,t)=>{const i={method:"post",parameters:t,reloading:!1,context:this,onSuccess:n=>{let t;try{t=JSON.parse(n.responseText)}catch{return void(0,_showInternalError__WEBPACK_IMPORTED_MODULE_11__.default)(n.responseText)}t.redirect?(0,_form_redirect__WEBPACK_IMPORTED_MODULE_18__.redirect)(t.redirect):t.noReload||(i.reloading=!0,this.reload()),this._clearStatusOnReload&&(0,_clearStatusMessages__WEBPACK_IMPORTED_MODULE_10__.default)(),t.statusMessages?.forEach((({status:e,content:n})=>{(0,_addStatusMessage__WEBPACK_IMPORTED_MODULE_9__.default)(e,n)})),e.onSuccess&&e.onSuccess(t)},onCreate:()=>{this.disable()},onComplete:()=>{i.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),i)},r=function(){e.beforeSendRequest?e.beforeSendRequest((()=>{o(e.url,n)}),n):o(e.url,n)};let{skipConfirmation:d}=e;const{mouseEvent:l}=e;l&&!d&&(l.preventDefault(),d=l.shiftKey),d?r():(e.confirmationPopup=e.confirmationPopup||this._confirmationPopup.bind(this,e,r),e.confirmationPopup(n))}_submit(e,n){new Ajax.Request(e,n)}_confirmationPopup({getConfirmOnGroupOperation:e,text:n,description:t,subtype:i,needAttention:a=!1,needAttentionText:s="",needAttentionBlockSubmit:o=!1,needAttentionOnChange:r=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 t=`button${n}`;return m[t]&&(e[n.toLowerCase()]=m[t]),e}),{}),text:e?e():n||m.confirmOnGroupOperation,description:t,subtype:i,needAttention:a,needAttentionText:s,needAttentionBlockSubmit:o,needAttentionOnChange:r,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 t=(0,_addUrlParams__WEBPACK_IMPORTED_MODULE_13__.default)(this._dataUrl,e);return this._additionalData&&this._additionalData.controllerName&&(t=(0,_addUrlParams__WEBPACK_IMPORTED_MODULE_13__.default)(t,{controllerName:this._additionalData.controllerName})),this._additionalData&&this._additionalData.actionName&&(t=(0,_addUrlParams__WEBPACK_IMPORTED_MODULE_13__.default)(t,{actionName:this._additionalData.actionName})),this._request&&this._request.abort(),this._request=new Ajax.Request((0,_prepareUrl__WEBPACK_IMPORTED_MODULE_12__.default)(t),{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 t={};try{t=JSON.parse(n.responseText)}catch{return void(0,_showInternalError__WEBPACK_IMPORTED_MODULE_11__.default)(n.responseText)}t.redirect&&(0,_form_redirect__WEBPACK_IMPORTED_MODULE_18__.redirect)(t.redirect);const i=this._splitListData(t,e);!1===i?this.processReloadError(t):this.redraw(e,i)}_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 t=e.closest("tr").dataset.rowId,i=this._data.filter((({id:e})=>e===t))[0];this._itemActions[e.dataset.actionName](i,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 t=n.children;for(let n=0;n<t.length;n++){const i=t[n],a=(0,helpers_stripTags__WEBPACK_IMPORTED_MODULE_22__.default)(e[n].innerHTML.trim()),s=`<span class="r-visible">${a}</span>`;this._addResponsiveHtmlToButtons(i,s),this._addResponsiveHtmlToImages(i,s),this._addResponsiveHtmlToIcons(i,s),this._addResponsiveHtmlToNumbers(i,a)}}))}_addResponsiveHtmlToButtons(e,n){const t=e.querySelectorAll("a.s-btn");t.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!==t.length||t[0].querySelector("span").innerHTML||(t[0].querySelector("span").innerHTML=n)}_addResponsiveHtmlToImages(e,n){const t=e.querySelectorAll('a img,a [class^="icon-"],a [class*=" icon-"]');t.forEach((e=>{let i="";const a=e.parentNode.parentNode.querySelector(".tooltipData");if(a)i=a.innerHTML;else{if(1!==t.length)return;i=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 t=document.createElement("i");t.className="icon",n.parentNode.replaceChild(t,n),n=t,t.appendChild(e)}(0,_render__WEBPACK_IMPORTED_MODULE_14__.default)(n,` <span class="r-visible">${i}</span>`,"after"),e.closest("a").classList.add("i-link")}}))}_addResponsiveHtmlToIcons(e,n){const t=e.querySelectorAll("span.b-indent-icon");t.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!==t.length||t[0].querySelector("span.r-visible")||t[0].parentNode.innerHTML.replace(t[0].outerHTML,"").trim()||(0,_render__WEBPACK_IMPORTED_MODULE_14__.default)(t[0].querySelector("img"),n,"after")}_addResponsiveHtmlToNumbers(e,n){const t=e.innerHTML,i=`<span class="r-visible">${n}: </span>`;("-"===t||!isNaN(parseFloat(t))&&isFinite(t))&&(0,_render__WEBPACK_IMPORTED_MODULE_14__.default)(e,i,"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,i,"top")}checkSyncStatus(e,n,t,i,a){this._randomId===i&&(a={timeout:5e3,progressStatus:"started",...a},_api__WEBPACK_IMPORTED_MODULE_23__.default.get(n).then((s=>{const o=document.getElementById(e);o&&(a.progressStatus===s.status?setTimeout((()=>{this.checkSyncStatus(e,n,t,i,a)}),a.timeout):t(o,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 t=[n,0];return 0!==n&&"Jsw.bar.Separator"!==e[n-1].componentType&&t.push({componentType:_bar__WEBPACK_IMPORTED_MODULE_4__.bar.Separator}),t=t.concat(this._additionalData.operations),n!==e.length&&t.push({componentType:_bar__WEBPACK_IMPORTED_MODULE_4__.bar.Separator}),e.splice(...t),e}_getColumns(){const e=this._columns.slice(),n=this._additionalData&&this._additionalData.extensions||{};return Object.keys(n).forEach((t=>{this._modifyColumnsByExtension(e,n[t])})),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,t)=>{"sb-remove-selected"===n.addCls&&(e=t)})),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,t)=>{"use strict";t.r(n),t.d(n,{default:()=>u});var i=t(310),a=t(351),s=t(365),o=t(523),r=t(309),d=t(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,i.default)("ul",this._list.getItemActions(e).map((n=>"separator"===n?(0,i.default)("li.separator",(0,i.default)("span")):(0,i.default)("li",(0,i.default)("a",{class:`sb-btn ${n.iconClass?n.iconClass:"sb-no-icon"}`,href:n.href?(0,r.default)(n.href):null,target:n.newWindow?"_blank":null,"data-button-key":n.name,onclick:this._list._itemActions[n.name]?t=>{t.preventDefault(),this._list._itemActions[n.name](e,t)}:null},(0,i.default)("i",(0,i.default)("i",(0,i.default)("i",(0,i.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(),t=Element.viewportOffset(e);t.left+=n.left,t.top+=n.top;const i=Element.getWidth(e),a=Element.getHeight(e);this._componentElement.classList.contains("collapsed")||this._setPosition(t.left,t.top+a,t.left+i,t.top)}_initRowStyles(){document.getElementById(this._list._tableId).querySelectorAll("tr.odd,tr.even").forEach((e=>{const n=e.querySelector(".dropdown-toggle");if(!n)return;const t=this._list.getItemById(n.dataset.rowId);t&&this._list.getItemActions(t).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 t;if(this.targetType===l?t=e.closest(".btn-list-menu"):this.targetType===c&&(t=n.querySelector(".dropdown-toggle")),!t)return null;const i=this._list.getItemById(t.dataset.rowId);return i&&this._list.getItemActions(i).length?{rowData:i,rowEl:n,dropDownEl:t}: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),t=this._getTargetData(e.target);return n&&t&&(n===l&&this.targetType===c||n===l&&t.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,t,i){t=t||e,i=i||n;const a=document.viewport.getScrollOffsets(),s=Element.getWidth(document.body),r=Element.getWidth(this._componentElement);(0,o.default)()?t-r-a.left>0&&(e=t-r):e+r-a.left>s&&(e=t-r);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=i-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,t)=>{"use strict";t.r(n),t.d(n,{default:()=>i});const i=()=>"rtl"===document.documentElement.dir},(e,n,t)=>{"use strict";t.r(n),t.d(n,{COLUMN_ACTIONS:()=>s,COLUMN_SELECTION:()=>a,ITEMS_UNLIMITED:()=>o});var i=t(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,i.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,i.default)(e.id):""}"><i class="icon"><img src="${t(525)}" alt=""></i> <em class="caret"></em></button></span>`}},o=1e5},e=>{e.exports=Jsw.skinUrl+"/icons/16/plesk/menu.png?a75a537332528331bb513a94e26d173d"},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>i});const i=e=>e.replace(/<\/?[^>]+(>|$)/g,"")},(e,n,t)=>{"use strict";t.r(n)},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>d});var i=t(92),a=t(345),s=t(91),o=t(275);class r extends i.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,o.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,o.default)(this._componentElement,this._titleButton),!this._operations)return;const e=this._componentElement.querySelector(`#${this._id}-operations`);this._operations.forEach((n=>{const t=new Element("li");(0,o.default)(e,t);const i=(0,s.default)(n),a=i.getWrapperClass();a&&t.classList.add(a),(0,o.default)(t,i)})),this._getConfigParam("disabled",!1)?this.disable():this.enable()}}const d=r},(e,n,t)=>{"use strict";t.r(n),t.d(n,{UnresolvedDomainWarning:()=>a});var i=t(308);class a extends i.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,t)=>{"use strict";t.r(n),t.d(n,{ProgressBar:()=>_});var i=t(531),a=t(92),s=t(351),o=t(353),r=t(268),d=t(91),l=t(309),c=t(98),m=t(118),u=t(532),p=t(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}`,t=new _.Item({errors:[],progressTitle:e,status:"flying",id:n,uniq:Math.random().toString(36).slice(2)});return this._preparingCounter++,this._items.unshift(t),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((t=>{e.some((e=>t.getId()===e.getId()))||(this.onItemStatusChange(this.completeItem(t.initialConfig)),n=n.filter((e=>e.getId()!==t.getId())))})),this.setItems(n)}mergeItem(e){const n=this.getMergedItems([e]);this.setItems(n)}getMergedItems(e){const n=new k(e);let t=this.getItems();if(t=t.map((e=>{const t=n.take(e.getId());return t?e.getUpdated()>t.getUpdated()?e:(t.getStatus()!==e.getStatus()?this.onItemStatusChange(t.getData()):JSON.stringify(t.getSteps())!==JSON.stringify(e.getSteps())&&this.onItemStepChange(t.getData()),t.setRefreshLinkEnabled(!(h===t.getStatus()||!e.isStarted())||e.isRefreshLinkEnabled()),t.setUniq(e.getUniq()),t):e})),n.hasItems()&&(t=t.map((e=>{if(e.isFlying()){const t=n.shift();if(t)return this.onItemStatusChange(t.getData()),t.setUniq(e.getUniq()),t}return e}))),n.hasItems()){let e;do{e=n.shift(),e&&(this.onItemStatusChange(e.getData()),t.unshift(e))}while(e)}return t}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 t=0;t<e.length;t++)for(let i=0;i<n.length;i++)if(n[i].getId()===e[t]){n.splice(i,1);break}this.setItems(n)}onItemStatusChange(e){this.onItemStepChange(e),r.default.notify(e,"plesk:taskUpdate"),this.isCompletedItem(e)&&r.default.notify(e,"plesk:taskComplete")}onItemStepChange(e){r.default.notify(e,"plesk:taskStepUpdate")}setItems(e){this._initItems(e),this._renderItems(),this._updateProgressDialog()}fly(e,n,t){const i=this.addPreparingItem(n);return this._renderItems(),setTimeout(t,300),i}progressDialog(e,{onHide:n,...t}={}){const i=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")||i,t=()=>{e?(0,o.redirect)(e):this.show()};this._progressBarItem.isCompleteSuccessfully()||this._progressBarItem.isCompleteWithWarning()?this._progressBarItem.remove().then((()=>{t(),this._progressBarItem=null})):t()},locale:p.default.getSection("components.tasks.common").messages,...t})}))},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,o.redirect)(e)}}}if(this._isRefreshLinkEnabled&&window.location.pathname===this._referrer)return{onClick:e=>{e.preventDefault(),(0,o.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,i.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,t)=>{"use strict";t.r(n),t.d(n,{addToast:()=>d,default:()=>c,removeToast:()=>l,useToasts:()=>r});var i=t(314),a=t(324);const s=(0,i.makeVar)([]);let o=0;const r=()=>(0,a.useReactiveVar)(s),d=({intent:e,...n})=>{s([...s(),{key:o++,intent:e,autoClosable:!!["success","info"].includes(e)||null,...n}])},l=({key:e})=>s(s().filter((n=>n.key!==e))),c=s},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>m});let i=!1,a=null;const s=[],o=[],r=[],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:t,data:i,error:a}=n;if(a){if("Unauthorized"===a)return;throw new Error(`Unknown error ${a}`)}void 0!==s[t]&&s[t].forEach((e=>{try{e(i)}catch(e){d(e)}}))},a.onopen=e=>{i=!0,o.forEach((n=>{try{n(e)}catch(e){d(e)}}))},a.onclose=n=>{i=!1,a=null,r.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:t}){this.actions=e,this.onOpen=n,this.onClose=t,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 t=s[n].indexOf(e[n]);t>=0&&s[n].splice(t,1)}if(this.onOpen){const e=o.indexOf(n);e>=0&&o.splice(e,1)}if(this.onClose){const e=r.indexOf(t);e>=0&&r.splice(e,1)}}},m={bind:({actions:e,onOpen:n,onClose:t})=>{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&&(o.indexOf(n)<0&&o.push(n),i&&n()),t&&r.indexOf(t)<0&&r.push(t),new c({actions:e,onOpen:n,onClose:t})}}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{STATUS_CANCELED:()=>c,STATUS_DONE:()=>l,STATUS_ERROR:()=>m,STATUS_NOT_STARTED:()=>r,STATUS_STARTED:()=>d,StatusMessage:()=>u});var i=t(93),a=t(92),s=t(309),o=t(118);const r="not_started",d="started",l="done",c="canceled",m="error";class u extends a.Component{constructor(...e){super(...e),(0,i.default)(this,"_failedStatusUpdates",0),(0,i.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 t=`${n[0]} <a href="#" class="js-details-link">${this.lmsg("details")}</a><br>`;t+='<span class="js-details hidden">';for(let e=1;e<n.length;e++)t+=`${n[e]}<br>`;return t+="</span>",t}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 t=this._renderMessage(e);l!==e.status&&e.progress&&(this._getConfigParam("percent",!0)&&(t=`${t}: <span id="backupProgress">${e.progress}</span>%`),this._getConfigParam("gauge",!0)&&(t=`<table class="msg-progress-container" cellspacing="0" width="100%"><tr><td class="msg-progress-info">${t}</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">${t}</div>`}_addEvents(){super._addEvents(),this._processStatus(this._getConfigParam("status",null))}_scheduleUpdateStatus(){setTimeout((()=>{this._updateStatus()}),1e3*this._updateInterval)}_updateStatus(){o.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||r===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,t)=>{"use strict";t.r(n),t.d(n,{ActiveList:()=>g});var i=t(93),a=t(92),s=t(365),o=t(358),r=t(309),d=t(275),l=t(310),c=t(98),m=t(118),u=t(100),p=t(307),v=t(313),f=t(267),h=(t(535),t(536));class g 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=g.stateCollapsed(this.getId()),this.itemActions=this._getConfigParam("itemActions",{}),this.data=this._getConfigParam("data",[]),this.dynamicListBanner=this._getConfigParam("dynamicListBanner",{}),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.dynamicListBanner),this.itemsView(),this.bottomBarView(this._getConfigParam("countMoreItems",0)))}toolbarView(e,n){const i=new u.default(n.locale);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:t,intent:i}])=>(0,l.default)("a.btn"+(i?`.btn-${i}`:""),{id:e,href:t,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:t(540)}))),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:t(541)})),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:t(542)})),this.lmsg("orderDescending"))),e.allowListSwitch&&(e.hasClassicView||e.hasDynamicView)?(0,l.default)(".settings-item.settings-item-2",(0,l.default)("h3.settings-item-title",(0,l.default)("span",`${this.lmsg("modeTitle")}:`)),e.hasDynamicView?(0,l.default)("a.btn",{href:"?list-type=dynamic"},(0,l.default)("i.icon",(0,l.default)('img[alt=""]',{src:t(543)})),this.lmsg("typeDynamic")):null,(0,l.default)("a.btn.btn-state-selected",(0,l.default)("i.icon",(0,l.default)('img[alt=""]',{src:t(544)})),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:t(545)})),this.lmsg("typeClassic")):null):"",n.feedbackUrl?(0,l.default)(".settings-item.settings-item-3",(0,l.default)("h3.settings-item-title",(0,l.default)("span",i.lmsg("feedbackTitle"))),(0,l.default)("a.btn",{href:n.feedbackUrl,target:"_blank",onclick:h.dynamicListBannerFeedbackHandler},(0,l.default)("i.icon",(0,l.default)('img[alt=""]',{src:t(546)})),i.lmsg("shareFeedback"))):""))))))))))))))))))))))):""}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 t=null;return t=n.name&&this.itemActions[n.name]?t=>{t.preventDefault(),this.itemActions[n.name](e,t)}: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:t,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 t=["danger","warning","success","info","inactive"];return Array.isArray(e.labels)&&e.labels.length&&(n=e.labels.map((function(e){const n=e.type&&t.indexOf(e.type)>-1?e.type:"",i=""===n?"":`.label-${n}`;return(0,l.default)(`span.label${i}`,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}),t=(0,c.default)(e.title);e.href&&(n=(0,l.default)("a"+(e.newWindow?"[target=_blank]":""),{href:e.href,onclick:this.navigate},n),t=(0,l.default)("a"+(e.newWindow?"[target=_blank]":""),{href:e.href,onclick:this.navigate},t));const i=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",t,i)),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 t=e.icon?[(0,l.default)("i.icon",(0,l.default)('img[alt=""]',{src:e.icon}))," "]:"";n=e.isSimpleText?(0,l.default)("span",t,e.noEscape?e.info:(0,c.default)(e.info)):e.isSimpleLink?(0,l.default)("span"+(e.spanClass?`.${e.spanClass}`:""),t,`${(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},t,(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,t){return(0,l.default)(".form-group",(0,l.default)(`label.control-label[for=active-list-data-${e.id}-${t}]`,n.label),(0,l.default)(`textarea#active-list-data-${e.id}-${t}.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 t=this.getItemElement(e);if(t.classList.contains("active-list-item-collapsed"))return;Element.cumulativeOffset(t).top+Element.getHeight(t)+40>document.viewport.getScrollOffsets().top+document.viewport.getHeight()&&this.scrollToItem(t,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 t=e.target.closest(".caption-services");t.parentNode.removeChild(t),m.default.post((0,r.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],i=new Element("span",{class:"btn-group"});i.innerHTML=`<button type="button" class="btn dropdown-toggle"><i class="icon"><img src="${t(525)}" alt=""></i> <em class="caret"></em></button><ul class="dropdown-menu pull-right"></ul>`,i.addEventListener("click",(n=>{n.stopPropagation(),i.classList.toggle("btn-group-open");const t=i.querySelector(".dropdown-menu");if("none"!==Element.getStyle(t,"display")){t.style.right=0;const n=Element.cumulativeOffset(t),{left:i}=Element.cumulativeOffset(e);n.left<i&&(t.style.right=n.left-i+"px")}})),document.body.addEventListener("click",(()=>{i.classList.remove("btn-group-open")})),(0,d.default)(e,i);const a=Element.getLayout(i);e._menuEl={el:i,width:Element.getWidth(i)+a.get("margin-left")+a.get("margin-right")},i.style.display="none",e._items=[],n.forEach((n=>{const t=n.cloneNode(!0);t.classList.remove("btn");const a=new Element("li");(0,d.default)(a,t),(0,d.default)(i.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 t=(new Date).getTime(),i=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()-t)/n:1;e>1&&(e=1),window.scrollTo(0,Math.round(i+(a-i)*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:t,...i})=>{(0,p.default)(e,t,{...i,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,i.default)(g,"stateCollapsed",((e,n=!1)=>{const t=`${e}-state-collapsed`;let i=o.default.get(t);try{i=JSON.parse(i)||{}}catch{i={}}return{get:e=>void 0===i[e.id]?n:Boolean(i[e.id]),set(e,a){a===n?delete i[e.id]:i[e.id]=a?1:0,o.default.setPermanent(t,JSON.stringify(i),"/")}}}))},(e,n,t)=>{"use strict";t.r(n)},(e,n,t)=>{"use strict";t.r(n),t.d(n,{DynamicListBannerHint:()=>m,default:()=>p,dynamicListBannerFeedbackHandler:()=>c});var i=t(270),a=t(272),s=t.n(a),o=t(537),r=t.n(o),d=t(271),l=t(89);t(538);const c=()=>(l.UAT.dispatchAction("DYNAMICLIST_BANNER_STARTED_FEEDBACK"),!0),m=({selector:e})=>{const[n,t]=(0,i.useState)(!1),a=()=>{t(!0)};return!n&&(0,i.jsx)(d.Spot,{selector:e,popup:{size:"md",placement:"bottom",onClose:a,buttons:[(0,i.jsx)(d.Button,{onClick:a,intent:"primary","data-type":"close-banner-hint",children:(0,i.jsx)(d.Translate,{content:"closedBannerButton"})},"finish")],children:(0,i.jsx)(d.Translate,{content:"closedBannerHint"})}})};m.propTypes={selector:s().string.isRequired};const u=({bannerInfo:e,onTourStart:n,listMode:a,dropdownSelector:s,canStartTour:o})=>{const[u,p]=(0,i.useState)(!1),[v,f]=(0,i.useState)(e.discarded),{enabled:h,collapsed:g,feedbackUrl:k,locale:_,initialType:S}=e,[b,y]=(0,i.useState)(g),E=()=>{l.UAT.dispatchAction("DYNAMICLIST_BANNER_SWITCHED_VIEW",{listType:"dynamic"}),(0,l.redirect)("/smb/web/view?list-type=dynamic")},w=()=>{l.api.post("/smb/web/active-list-banner-toggle-collapsed",{collapsed:!b}),y(!b)},N="dynamic"===a,F=N?"success":"warning",D=o?"switched.Text":"switched.TextWithoutTour",P={link:(0,i.jsx)(d.Link,{onClick:n,children:(0,i.jsx)(d.Translate,{component:d.Text,bold:!0,content:"switched.LinkText"})}),listType:(0,i.jsx)(d.Translate,{content:"active"===a?"activeList":"classicList"})};return h?N?(0,i.jsxs)(d.LocaleProvider,{messages:_,children:[!v&&(0,i.jsx)(d.ExtendedStatusMessage,{intent:F,image:(0,i.jsx)(d.Icon,{src:t(539),size:"48"}),className:"dynamic-list-banner",children:(0,i.jsxs)(d.Columns,{children:[(0,i.jsx)(d.Column,{fill:!0,children:(0,i.jsx)(d.Columns,{children:(0,i.jsxs)(d.Column,{maxWidth:"70%",children:[(0,i.jsx)(d.ExtendedStatusMessageTitle,{children:(0,i.jsx)(d.Translate,{content:"switched.Header"})}),(0,i.jsx)(d.ExtendedStatusMessageDescription,{children:(0,i.jsx)(d.Translate,{content:D,params:P})}),(0,i.jsx)(d.ExtendedStatusMessageDescription,{children:(0,i.jsxs)(d.Columns,{gap:"md",children:[k&&(0,i.jsx)(d.Column,{children:(0,i.jsx)(d.Action,{icon:"feedback",href:k,target:"_blank",onClick:c,children:(0,i.jsx)(d.Translate,{content:"shareFeedback"})})}),"dynamic"!==e.initialType&&(0,i.jsx)(d.Column,{children:(0,i.jsx)(d.Action,{icon:"arrow-back",onClick:async()=>{await l.api.post("/smb/web/dynamic-list-banner-switch"),l.UAT.dispatchAction("DYNAMICLIST_BANNER_SWITCHED_VIEW",{listType:S}),(0,l.redirect)(`/smb/web/view?list-type=${S}`)},children:(0,i.jsx)(d.Translate,{content:"active"===e.initialType?"switchBackToActive":"switchBackToClassic"})})})]})})]})})}),(0,i.jsx)(d.Column,{children:(0,i.jsx)(d.Button,{ghost:!0,icon:"cross-mark",onToggle:()=>{f(!0),p(!0),l.api.post("/smb/web/dynamic-list-banner-hide"),l.UAT.dispatchAction("DYNAMICLIST_BANNER_CLOSED")}})})]})}),u&&(0,i.jsx)(m,{selector:s})]}):(0,i.jsx)(d.LocaleProvider,{messages:_,children:(0,i.jsxs)(d.StatusMessage,{intent:"warning",className:"dynamic-list-banner",children:[(0,i.jsxs)("div",{className:"dynamic-list-banner__heading",children:[(0,i.jsx)(d.Translate,{content:"initial.Header"}),(0,i.jsx)(d.Button,{onClick:w,className:"dynamic-list-banner__heading-button",icon:b?"chevron-down":"chevron-up",ghost:!0})]}),(0,i.jsxs)("div",{className:r()({"dynamic-list-banner__body":!0,"dynamic-list-banner__body--expanded":!b}),children:[(0,i.jsx)(d.Translate,{content:"initial.Text",params:{dynamicListLink:(0,i.jsx)("a",{href:"https://www.plesk.com/blog/product-technology/dynamic-list-vs-active-list-a-comprehensive-comparison-unveiling-the-ultimate-winner/",target:"_blank",rel:"noreferrer",children:(0,i.jsx)(d.Translate,{content:"dynamicListDescLink"})})}}),(0,i.jsxs)("div",{className:"dynamic-list-banner__actions",children:[(0,i.jsx)(d.Action,{icon:"projects",onClick:E,children:(0,i.jsx)(d.Translate,{content:"switchToDynamic"})}),k&&(0,i.jsx)(d.Action,{id:"feedback",icon:"feedback",href:k,target:"_blank",onClick:c,children:(0,i.jsx)(d.Translate,{content:"shareFeedback"})}),(0,i.jsx)(d.Action,{id:"chat",icon:"chat",target:"_blank",href:"https://talk.plesk.com/threads/active-list-will-be-discontinued-and-replaced-by-dynamic-list-starting-march-2024.370757/",children:(0,i.jsx)(d.Translate,{content:"discussOnForum"})})]})]})]})}):null};u.propTypes={onTourStart:s().func,bannerInfo:s().shape({locale:s().object.isRequired,enabled:s().bool,discarded:s().bool,collapsed:s().bool,feedbackUrl:s().string,switched:s().bool.isRequired,initialType:s().string.isRequired}).isRequired,listMode:s().string.isRequired,dropdownSelector:s().string.isRequired,canStartTour:s().bool},u.defaultProps={onTourStart:()=>!0,canStartTour:!1};const p=u},,(e,n,t)=>{"use strict";t.r(n)},e=>{e.exports=Jsw.skinUrl+"/images/dynamic-list-promotion.png?7bbebe1fbbb41fda79f07c86b60514b0"},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-dynamic.png?f55b30089f0aeca5c8fadbd521e63daf"},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=>{e.exports=Jsw.skinUrl+"/icons/16/plesk/feedback.png?dd665a70b8326bc7d1ceb0cd2604f67a"},(e,n,t)=>{"use strict";t.r(n),t.d(n,{Tree:()=>f});var i=t(92),a=t(307),s=t(312),o=t(336),r=t(309),d=t(275),l=t(310),c=t(98),m=t(267),u=t(340),p=t(118),v=t(548);t(559);class f extends i.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,i){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 o=document.createElement("div");o.className="tree-item-select",(0,d.default)(s,o),this._addCommonEvents(o,n,a),n.isDirectory&&!n.isRootDirectory?((0,d.default)(s,`<span class="tree-item-state"><img src="${t(560)}" 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="${t(369)}" height="16" width="16"></span>`);const r=document.createElement("a");r.className="tree-item-content",r.innerHTML=`<span><img src="${(0,v.getTypeIcon)(n)}" alt=""><b>${(0,c.default)(n.name)}</b></span>`,this._addCommonEvents(r,n,a),(0,d.default)(s,r),(0,d.default)(e,a,"top"===i?"top":"bottom")}_addCommonEvents(e,n,t){n.isDirectory&&this._selectOnlyFiles||(e.addEventListener("mouseover",this._onNodeMouseover.bind(this,t)),e.addEventListener("mouseleave",this._onNodeMouseleave.bind(this,t)),e.addEventListener("click",(e=>{this._onNodeSelect(e,t)})),e.addEventListener("click",this._onNodeClick.bind(this,n.path,t)))}_onNodeToggle(e,n){const i=n.querySelector("ul"),a=n.querySelector(".tree-item-state");if(i)return a.innerHTML=`<img src="${t(560)}" height="16" width="16">`,i.parentNode.removeChild(i),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,r.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="${t(561)}" height="16" width="16" class="js-loader">`}_onNodeLoadSuccess(e,n){const i=e.querySelector(".tree-item-state");if(n.status)return i.innerHTML=`<img src="${t(560)}" height="16" width="16">`,void this._showMessage(n.status,n.message);(0,s.default)(),i.innerHTML=`<img src="${t(562)}" 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,r.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,o.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 t=n.querySelector("ul");t.parentNode.removeChild(t),this._loadNode(e,n)}}_getNodeElement(e){if("string"!=typeof e)return null;const n=this._componentElement.querySelectorAll(".tree-item");for(let t=0;t<n.length;t++)if(n[t].data.path===e)return n[t];const t=e.lastIndexOf("/");return t>0?this._getNodeElement(e.slice(0,t)):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,i){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:t(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,i),e.querySelector(".js-tree-item-new input").focus()}_onCreateFolder(e){const n=e.target.closest(".input-btn-group").querySelector(".form-control").value,t=e.target.closest(".js-tree-item-new");let i=t.parentNode.closest(".tree-item");i||(i=t.closest("ul.tree-container").previousElementSibling);const a=i.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,r.default)(this._createFolderUrl),{currentDir:t.data.path,newDirectoryName:n}).then((e=>this._onFolderCreated(n,i,e))).finally((()=>{this._insertBtn.disabled=!1}))}_onFolderCreated(e,n,{status:t,message:i}){if("success"===t){const t=`${n.data.path}/${e}`;let i=n.querySelector("ul.tree-container");i||(i=n.nextElementSibling),this.hideNewNode(),this._insertNode(i,{name:e,path:t,isDirectory:!0},"top"),this._onNodeSelect(null,i)}else{const e=n.closest(".form-row");e.classList.add("error");const t=(0,l.default)("span.field-errors",(0,l.default)("span.error-hint",i));(0,d.default)(e.querySelector(".field-value"),t)}}_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,t)=>{"use strict";t.r(n),t.d(n,{FTYPE_AUDIO:()=>o,FTYPE_COMPRESSED:()=>m,FTYPE_IMAGE:()=>a,FTYPE_RAR:()=>f,FTYPE_SECURITY:()=>r,FTYPE_TAR:()=>h,FTYPE_TEXT:()=>i,FTYPE_TGZ:()=>g,FTYPE_UNKNOWN_BINARY:()=>p,FTYPE_UNKNOWN_TEXT:()=>u,FTYPE_VECTOR_IMAGE:()=>s,FTYPE_WAPPAGE:()=>c,FTYPE_WEBPAGE:()=>l,FTYPE_WEBSCRIPT:()=>d,FTYPE_ZIP:()=>v,getTypeIcon:()=>k,toUnixPermissionsString:()=>_});const i="text",a="image",s="vector_image",o="audio",r="security",d="webscript",l="webpage",c="wappage",m="compressed",u="unknown_text",p="unknown_binary",v="zip",f="rar",h="tar",g="tgz",k=({type:e,isDirectory:n,name:k})=>{if(n)return t(".."===k?549:550);return{[i]:t(551),[a]:t(552),[s]:t(552),[o]:t(553),[r]:t(554),[d]:t(555),[l]:t(556),[c]:t(556),[m]:t(557),[u]:t(551),[p]:t(558),[v]:t(557),[f]:t(557),[h]:t(557),[g]:t(557)}[e]},_=e=>["ownerRead","ownerWrite","ownerExecute","groupRead","groupWrite","groupExecute","othersRead","othersWrite","othersExecute"].reduce(((n,t,i)=>(n+=e[t]?["r","w","x"][i%3]:"-",i%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,t)=>{"use strict";t.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,t)=>{"use strict";t.r(n),t.d(n,{UploadAdapterIframe:()=>a});var i=t(275);class a{constructor({contentAreaId:e,handlerUrl:n,startUploadHandler:t,finishUploadHandler:i}){this._contentAreaId=e,this._handlerUrl=n,this._startUploadHandler=t,this._finishUploadHandler=i,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,i.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,t)=>{"use strict";t.r(n),t.d(n,{DirectoryBrowser:()=>o});var i=t(379),a=t(547),s=t(267);class o extends i.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,t=this._showFiles?n.substr(1):n;this._pathElementId&&(document.getElementById(this._pathElementId).value=t),this._onSubmit(t),this.hide()}_onCancelClick(){this.hide()}}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{DropArea:()=>l});var i=t(92);const a=e=>new Promise((n=>{if(e.isDirectory){const t=e.createReader();s(e,t,n,[])}else n(e)})),s=function(e,n,t,i){n.readEntries((function(a){a.length?(i=i.concat(a),s(e,n,t,i)):i.length?t(o(i)):t(e)}))},o=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})),r=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 t=new FileReader;t.onerror=()=>{t.onloadend=null,t.onprogress=null,t.onerror=null,n(!1)},t.onprogress=e=>{t.onloadend=null,t.onprogress=null,t.onerror=null,"loadend"!==e.type&&t.abort(),n(!0)},t.onloadend=t.onprogress,t.readAsDataURL(e)}catch{n(!1)}})),d=e=>!!e.dataTransfer&&("none"!==e.dataTransfer.effectAllowed&&[].some.call(e.dataTransfer.types,(e=>"Files"===e)));class l extends i.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?o([].map.call(e.dataTransfer.items,(e=>e.webkitGetAsEntry()||e.getAsFile())).filter(Boolean)):Promise.all([].map.call(e.dataTransfer.files,r)).then((n=>[].filter.call(e.dataTransfer.files,((e,t)=>n[t])))):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,t)=>{"use strict";t.r(n),t.d(n,{GroupsList:()=>s});var i=t(520),a=t(310);class s extends i.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 t={};return e.forEach((e=>{t[e[this._groupBy]]||(t[e[this._groupBy]]={id:e[this._groupBy],items:[]}),t[e[this._groupBy]].items.push(e)})),(0,a.default)("tbody",Object.keys(t).map(((e,i)=>{const a=t[e];return this.groupDataRowView(a,i,n)})))}return(0,a.default)("tbody",e.map(((e,t)=>this.rowView(e,t,n))))}groupDataRowView(e,n,t){return[(0,a.default)(`tr.${this._getGroupRowClass(e)}.${(n+t)%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,t)))]}_getGroupName(e){return this._groupsConfig[e.id]||e.id}}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{ReporterPopup:()=>p});var i=t(379),a=t(389),s=t(520),o=t(359),r=t(92),d=t(353),l=t(100),c=t(307),m=t(309),u=t(98);class p extends i.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,r.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),t=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 o.Panel({cls:"list-box",renderTo:"js-reports",items:[t]})}_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,t)=>{"use strict";t.r(n),t.d(n,{ObjectSwitcher:()=>r});var i=t(519),a=t(97),s=t(275),o=t(310);t(569);class r extends i.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,o.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,o.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,o.default)("li.divider"),(0,o.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,t])=>{e=e.replaceAll(new RegExp(`(%%|%25%25)${n}(%%|%25%25)`,"g"),t)})),this._navigate(e)}}},(e,n,t)=>{"use strict";t.r(n)},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>d});var i=t(381),a=t(340),s=t(310),o=t(275);t(571);class r extends i.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"),t=this._componentElement.querySelectorAll(".slider__navigation-dot");t.item(this._current).classList.remove("slider__navigation-dot--current"),this._current=e,n.style.marginLeft=-100*e+"%",t.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,o.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=r},(e,n,t)=>{"use strict";t.r(n)},(e,n,t)=>{"use strict";t.r(n),t.d(n,{ScrollableList:()=>o});var i=t(93),a=t(520),s=t(310);class o extends a.List{constructor(...e){super(...e),(0,i.default)(this,"_resizeList",(()=>{const e=document.getElementById(this._tableId),n=e.closest(".scrollable-list-wrapper"),t=e.closest(`.${this._listCls}`).querySelector(".fixed-table-head"),i=t.querySelector("thead");if(i){const e=this.isListEmpty();i.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`,!i||![...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)=>{i.querySelectorAll("th")[n].style.width=`${Element.getWidth(e)}px`}));const o=i.querySelectorAll("th"),r=o[o.length-1];r.style.width=`${Element.getWidth(t)-Element.getWidth(s.closest("table"))+parseInt(Element.getStyle(r,"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 t,i=!0,a=0;const s=document.getElementById(this._id).querySelector(".scrollable-list-wrapper");s&&(i=s.offsetHeight+s.scrollTop>=s.scrollHeight,t=s.scrollTop,a=Element.getHeight(document.getElementById(this._tableId))),super.redraw(e,n);const o=document.getElementById(this._tableId),r=o.closest(`.${this._listCls}`).querySelector(".fixed-table-head");o.style.marginTop=-Element.getHeight(r)+"px",setTimeout((()=>{this._resizeList();const n=o.closest(".scrollable-list-wrapper");i?this.scrollToBottom():"before"===e?n.scrollTop+=Element.getHeight(o)-a:"after"===e||(n.scrollTop=t)}),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__(520),_confirmation_popup_manager__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(518),_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__(574);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:t},method:i,parameters:a}=this;if(t||"get"===i.toLowerCase())return;const s=(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.getUrl)(n),o=`${s} ${JSON.stringify(a)}`;e[o]||(e[o]=!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 t=n.dataset.source;if(t&&-1!==t.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)(t)},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",t=(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:t,post:{self:["id","name"]}},this._componentElement,"ERROR")}),e._onFailure),e._onSuccess=wrap((function(e){const n=this._componentElement.noRedirect?"APPLY":"OK",t=(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.getUrl)(e.request.url),i=e.responseJSON.formMessages?"VALIDATION_ERROR":"error"===e.responseJSON.status?"ERROR":null;(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.request)({name:n,url:t,post:{self:["id","name"]}},this._componentElement,i)}),e._onSuccess)},jswList(){const e=_list__WEBPACK_IMPORTED_MODULE_1__.List.prototype;e._submit=wrap((function(e,n){const t=n.context||this;n.onSuccess=wrap((function(e){const n=t._lastOperation?t._lastOperation.toUpperCase():"POST",i={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:i},null,a)}),n.onSuccess),n.onFailure=wrap((function(e){const n=t._lastOperation?t._lastOperation.toUpperCase():"POST",i={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:i},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,t=e=>{e.forEach((function(e){e.handler&&(e.handler=wrap((function(){const t=e,i=t.id||t.title||t.description||t.addCls||"";n._lastOperation=i.replace("button","").replace(" ","").replace("sb-","").replace("-","")}),e.handler)),e.operations&&t(e.operations)}))};t(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 t=(e=>{if(!e.classList||!e.classList.contains("pul-layer"))return null;const n=e.querySelector(".pul-drawer");return n||null})(n);t&&(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.request)({name:e,data:(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.prepareNodeData)(t)})};document.addEventListener("DOMContentLoaded",(()=>{new MutationObserver((n=>{n.forEach((({addedNodes:n,removedNodes:t})=>{n.forEach(e("OPEN-DRAWER")),t.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,t){window.addEventListener("beforeunload",(()=>{const n=document.querySelector(e);n===document.activeElement&&(0,common_user_activity_tracking__WEBPACK_IMPORTED_MODULE_7__.request)(t,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,t)=>{"use strict";t.r(n),t.d(n,{hasPreferences:()=>a,isAnalyticsAllowed:()=>r,loadPreferences:()=>o,savePreferences:()=>s});const i="cookie-policy",a=()=>!!localStorage.getItem(i),s=e=>{localStorage.setItem(i,JSON.stringify(e))},o=()=>{let e=!1,n=!1;try{const t=JSON.parse(localStorage.getItem(i));"boolean"==typeof t.analytics&&({analytics:e}=t),"boolean"==typeof t.marketing&&({marketing:n}=t)}catch{}return{analytics:e,marketing:n}},r=()=>o().analytics},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var i=t(309);const a=(e,n={})=>{(n={openInNew:!1,label:"",hint:"",returnUrl:"",isClassicUi:"",showAll:!1,...n}).isClassicUi&&(n.returnUrl=`/subscription/overview/id/${e}`);let t=(0,i.default)(`/subscription/login/id/${e}`);return n.showAll&&(t+="/all/true"),n.returnUrl&&(t+=`/?returnUrl=${(0,i.default)(n.returnUrl)}`),`<span><span class="tooltipData">${n.hint}</span><a class="s-btn sb-login" href="${t}"`+(n.isClassicUi?"":` target="${n.openInNew?"_blank":"_top"}"`)+">"+`<i><i><i><span>${n.label}</span></i></i></i></a></span>`}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{toPunycode:()=>a});var i=t(577);const a=e=>i.default.toASCII(e)},,(e,n,t)=>{"use strict";t.r(n),t.d(n,{Form:()=>v.default,addWidget:()=>g,require:()=>l.default,run:()=>h});var i=t(270),a=t(496),s=t(271),o=t(89),r=t(579),d=t(838),l=t(839),c=t(840),m=t(313),u=t(393),p=t(392),v=t(827);s.FormFieldPassword.defaultProps.passwordMeterProps.onEstimate=e=>(0,p.default)(e);let f=null;const h=({config:e={},data:{showModal:n,...t}={},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"),Object.keys(d).forEach((e=>{o.Locale.addSection(e,d[e])})),(0,m.default)(t),s.forEach((({query:e,...n})=>{try{u.default.writeQuery({query:(0,a.gql)(e),...n})}catch{}})),n){const{name:e,...t}=n;Plesk.require(e,(e=>e(t)))}f=(0,i.render)((0,i.jsx)(r.default,{}),document.getElementById("plesk-root"))},g=(e,{locale:n,...t},a)=>{let o=(0,i.jsx)(e,{...t});n&&(o=(0,i.jsx)(s.LocaleProvider,{messages:n,children:o})),o=(0,i.jsx)(d.default,{children:o}),a&&(o=(0,i.createPortal)(o,a)),f.addWidget(o)}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>m});var i=t(93),a=t(270),s=t(580),o=t(837),r=t(583),d=t(393),l=t(836);class c extends a.Component{constructor(...e){super(...e),(0,i.default)(this,"state",{widgets:[]}),(0,i.default)(this,"router",(0,s.createBrowserRouter)(r.default))}addWidget(e){this.setState((({widgets:n})=>({widgets:[...n,e]})))}render(){return(0,a.jsx)(a.StrictMode,{children:(0,a.jsx)(o.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,t)=>{"use strict";t.r(n),t.d(n,{default:()=>I,isClientSideRedirectAllowed:()=>C});var i=t(582),a=t(496),s=t(89),o=t(531),r=t(265),d=t(313),l=t(584),c=t(393),m=t(585),u=t(595),p=t(690),v=t(691),f=t(696),h=t(697),g=t(703),k=t(711),_=t(713),S=t(725),b=t(758),y=t(270);const E=()=>{const{isInitial:e,...n}=(0,d.default)();return(0,d.default)(n),e?n:null},w=e=>async({request:n,params:t})=>{const l=new URL(n.url);let m;e&&(l.pathname=(0,i.generatePath)(e,t));try{m=E()??await s.api.get(l.toString())}catch(e){if((0,r.isNetworkError)(e))return(0,o.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 C(e)?(0,i.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},N={path:":ipAddressId/domains",componentLoader:()=>t.e("components/pages/IpAddressDomainsPage").then(t.bind(t,952)),loader:async({params:e})=>{const n=e.clientId?btoa(`Client:${e.clientId}`):null,{data:i}=await c.default.query({query:t(771),variables:{ipAddressId:e.ipAddressId,clientId:n}});return i}},F={path:"change-owner",componentLoader:()=>t.e("components/pages/ChangeOwnerPage").then(t.bind(t,954)),loader:async({request:e})=>{const n=[...new URL(e.url).searchParams.entries()].map((([,e])=>btoa(`Domain:${e}`))),{data:i}=await c.default.query({query:t(772),variables:{ids:n}});return i}},D=async()=>{const{data:{viewer:{type:e,permissions:{manageServerSessions:n}},os:{isWindows:t}}}=await c.default.query({query:a.gql`
            query {
                viewer {
                    login
                    type
                    permissions {
                        manageServerSessions
                    }
                }
                os {
                    isWindows
                }
            }
        `});return"ADMIN"===e&&t&&n},P=(0,l.default)([{element:(0,y.jsx)(m.default,{}),errorElement:(0,y.jsx)(v.default,{}),children:[{path:["/login_up.php","/login_up.php3","/login"],componentLoader:()=>Promise.resolve().then(t.bind(t,825)),loader:async()=>(await c.default.query({query:t(773)}),E()),children:[{path:"*",loader:()=>(0,i.redirect)("..")}]},{path:"/get_password.php",componentLoader:()=>Promise.resolve().then(t.bind(t,833)),loader:E},{path:"/ch_pass_by_secret.php",componentLoader:()=>Promise.resolve().then(t.bind(t,835))},{path:"/admin/force-reset-password",componentLoader:()=>t.e("views/admin/force-reset-password").then(t.bind(t,956)),loader:w("/admin/force-reset-password")},{path:"/admin/setup/progress",componentLoader:()=>t.e("views/admin/setup/progress").then(t.bind(t,958)),loader:w()},{path:"/admin/setup/*",componentLoader:()=>t.e("views/admin/setup/index").then(t.bind(t,961)),loader:w()},{path:"/admin/home/*",componentLoader:()=>t.e("views/admin/home/admin").then(t.bind(t,964)),loader:w()},{path:"/admin/app",loader:w()},{path:"/admin/app/info/id/:id",componentLoader:()=>t.e("views/admin/app/info").then(t.bind(t,994)),loader:w("/admin/app/info/id/:id")},{path:"/admin/app/usage",componentLoader:()=>t.e("views/admin/app/usage").then(t.bind(t,999)),loader:w("/admin/app/usage")},{path:["/admin/app/uploaded","/admin/app/uploaded/downloadStatus/:status"],componentLoader:()=>t.e("views/admin/app/uploaded").then(t.bind(t,1002)),loader:w("/admin/app/uploaded")},{path:"/admin/custom-buttons/list",componentLoader:()=>t.e("views/admin/custom-buttons/list").then(t.bind(t,1005)),loader:w("/admin/custom-buttons/list")},{path:"/smb/custom-buttons/list",componentLoader:()=>t.e("views/admin/custom-buttons/list").then(t.bind(t,1005)),loader:w("/smb/custom-buttons/list")},{path:"/admin/ftp-sessions/list",componentLoader:()=>t.e("views/admin/ftp-sessions/list").then(t.bind(t,1018)),loader:w("/admin/ftp-sessions/list")},{path:"/admin/php-handler/list",componentLoader:()=>t.e("views/admin/php-handler/list").then(t.bind(t,1036)),loader:w("/admin/php-handler/list")},{path:["/admin/scheduler","/smb/scheduler"],loader:w()},{path:["/admin/backup/schedule","/smb/backup/schedule","/smb/backup/schedule/domainId/:domainId"],componentLoader:()=>Promise.all([t.e("vendors"),t.e("components/pages/ScheduledBackupPage")]).then(t.bind(t,1040)),loader:w()},{path:["/admin/backup/schedule-list","/smb/backup/schedule-list","/smb/backup/schedule-list/domainId/:domainId"],componentLoader:()=>Promise.all([t.e("vendors"),t.e("components/pages/ScheduledBackupListPage")]).then(t.bind(t,1058)),loader:w()},{path:["/admin/scheduler/tasks-list","/smb/scheduler/tasks-list"],componentLoader:()=>t.e("views/default/scheduler/list").then(t.bind(t,1062)),loader:w()},{path:["/admin/domain/list","/admin/domain/add-domain"],componentLoader:()=>Promise.all([t.e("vendors"),t.e("views/admin/domain/list")]).then(t.bind(t,1069)),loader:w("/admin/domain/list"),children:[F,...k.default.map((({path:e,...n})=>({path:`:id/${e}`,...n})))]},{path:["/admin/customer/list","/admin/customer/create"],componentLoader:()=>t.e("views/admin/customer/list").then(t.bind(t,1109)),loader:w("/admin/customer/list")},{path:"/admin/customer/overview/id/:id",loader:w()},{path:["/admin/customer/domains/id/:id","/admin/customer/add-domain/id/:id"],componentLoader:()=>Promise.all([t.e("vendors"),t.e("views/admin/customer/domains")]).then(t.bind(t,1116)),loader:w("/admin/customer/domains/id/:id")},{path:["/admin/customer/subscriptions/id/:id","/admin/customer/new-subscription/id/:id"],componentLoader:()=>Promise.all([t.e("vendors"),t.e("views/admin/customer/subscriptions")]).then(t.bind(t,1132)),loader:w("/admin/customer/subscriptions/id/:id"),children:[F]},{path:"/admin/reseller/list",componentLoader:()=>t.e("views/admin/reseller/list").then(t.bind(t,1138)),loader:w()},{path:"/admin/reseller/overview/id/:id",loader:w()},{path:["/admin/reseller/customers/id/:id","/admin/reseller/new-customer/id/:id"],componentLoader:()=>t.e("views/admin/reseller/customers").then(t.bind(t,1140)),loader:w("/admin/reseller/customers/id/:id")},{path:["/admin/reseller/domains/id/:id","/admin/reseller/add-domain/id/:id"],componentLoader:()=>Promise.all([t.e("vendors"),t.e("views/admin/reseller/domains")]).then(t.bind(t,1145)),loader:w("/admin/reseller/domains/id/:id")},{path:["/admin/reseller/subscriptions/id/:id","/admin/reseller/new-subscription/id/:id"],componentLoader:()=>Promise.all([t.e("vendors"),t.e("views/admin/reseller/subscriptions")]).then(t.bind(t,1146)),loader:w("/admin/reseller/subscriptions/id/:id"),children:[F]},{path:"/admin/server/tools",componentLoader:()=>t.e("views/admin/server/tools").then(t.bind(t,1147)),loader:w()},{path:"/admin/server/preview-domain-settings",componentLoader:()=>t.e("views/admin/server/preview-domain-settings").then(t.bind(t,1151)),loader:w()},{path:"/admin/services/list",componentLoader:()=>t.e("views/admin/services/list").then(t.bind(t,1155)),loader:w()},{path:"/admin/sessions/list",componentLoader:()=>t.e("views/admin/sessions/list").then(t.bind(t,1159)),loader:w()},{path:["/admin/subscription/list","/admin/subscription/create"],componentLoader:()=>Promise.all([t.e("vendors"),t.e("views/admin/subscription/list")]).then(t.bind(t,1160)),loader:w("/admin/subscription/list"),children:[F]},{path:["/admin/subscription/login/all/:all/id/:id/","/admin/subscription/login/id/:id/"],loader:w()},{path:"/admin/subscription/overview/id/:id/",loader:w()},{path:["/smb/file-manager/list","/smb/file-manager/list/domainId/:domainId"],componentLoader:()=>Promise.all([t.e("vendors"),t.e("views/smb/file-manager/list")]).then(t.bind(t,1161)),loader:w()},{path:"/smb/file-manager",componentLoader:()=>t.e("views/smb/file-manager/index").then(t.bind(t,1214)),loader:w()},{path:"/smb/my-service",componentLoader:()=>t.e("views/smb/my-service/index").then(t.bind(t,1216)),loader:w("/smb/my-service")},{path:["/smb/email-address","/smb/email-address/index","/smb/email-address/index/domainId/:domainId"],componentLoader:()=>Promise.all([t.e("vendors"),t.e("views/smb/email-address/index")]).then(t.bind(t,1219)),loader:w()},{path:["/smb/email-address/list","/smb/email-address/list/domainId/:domainId"],componentLoader:()=>Promise.all([t.e("vendors"),t.e("views/smb/email-address/list")]).then(t.bind(t,1257)),loader:w()},{path:"/smb/mail-settings/list",componentLoader:()=>t.e("views/smb/mail-settings/list").then(t.bind(t,1268)),loader:w()},{path:["/smb/account","/smb/account/index"],componentLoader:()=>t.e("views/smb/account/index").then(t.bind(t,1278)),loader:w()},{path:"/smb/account/show/id/:id",componentLoader:()=>t.e("views/smb/account/show").then(t.bind(t,1282)),loader:w()},{path:"/smb/user/index",loader:w()},{path:"/smb/user/list",componentLoader:()=>t.e("views/smb/user/list").then(t.bind(t,1290)),loader:w()},{path:["/smb/web/setup","/smb/web/add-domain/create-webspace/true"],componentLoader:()=>Promise.all([t.e("vendors"),t.e("views/smb/web/setup")]).then(t.bind(t,1292)),loader:w("/smb/web/setup")},{path:["/smb/web/view","/smb/web/view/id/:id/type/:type","/smb/web/add-domain"],componentLoader:()=>Promise.all([t.e("vendors"),t.e("views/smb/web/view")]).then(t.bind(t,1295)),loader:w("/smb/web/view"),children:[F,...k.default.map((({path:e,...n})=>({path:`:id/${e}`,...n})))]},{path:"/smb/web/overview/id/:id/type/:type",componentLoader:()=>Promise.all([t.e("vendors"),t.e("views/smb/web/view")]).then(t.bind(t,1295)),loader:w(),children:k.default},{path:"/smb/web/php-settings/id/:id",componentLoader:()=>t.e("views/smb/web/php-settings").then(t.bind(t,1365)),loader:w()},{path:"/smb/statistics/details",componentLoader:()=>Promise.all([t.e("vendors"),t.e("views/smb/statistics/details")]).then(t.bind(t,1374)),loader:w()},{path:"/smb/statistics/list",componentLoader:()=>Promise.all([t.e("vendors"),t.e("views/smb/statistics/details")]).then(t.bind(t,1704)),loader:w()},{path:"/smb/statistics",loader:w()},{path:["/smb/account/switch/all/:all/id/:id","/smb/account/switch/id/:id"],loader:w()},{path:"/smb/database",componentLoader:()=>t.e("views/smb/database/index").then(t.bind(t,1706)),loader:w()},{path:["/smb/database/list","/smb/database/list/domainId/:domainId"],componentLoader:()=>t.e("views/smb/database/list").then(t.bind(t,1708)),loader:w()},{path:"/smb/database/users-list/domainId/:domainId",componentLoader:()=>t.e("views/smb/database/users-list").then(t.bind(t,1724)),loader:w()},{path:"/admin/task-manager",componentLoader:()=>t.e("views/admin/task-manager/index").then(t.bind(t,1727)),loader:w()},{path:"/cp/dns",children:[{index:!0,loader:()=>(0,i.redirect)("records")},{path:"records",componentLoader:()=>t.e("views/dns/records").then(t.bind(t,1733)),loader:()=>c.default.query({query:t(774)}).then((({data:e})=>e)),isExist:async()=>{const{data:{viewer:{type:e,permissions:n},mode:{isDnsServiceSupported:t}}}=await c.default.query({query:a.gql`
                                query {
                                    viewer {
                                        login
                                        type
                                        permissions {
                                            manageServerDnsTemplate
                                        }
                                    }
                                    mode {
                                        isDnsServiceSupported
                                    }
                                }
                            `});return"ADMIN"===e&&n.manageServerDnsTemplate&&t},children:[{path:["dns-soa-zone-sync","dns-restore"]},{path:":id/edit",componentLoader:()=>t.e("views/dns/records/edit").then(t.bind(t,1743)),loader:({params:{id:e}})=>c.default.query({query:t(775),variables:{id:e}})},{path:"add",componentLoader:()=>t.e("views/dns/records/edit").then(t.bind(t,1743)),loader:()=>c.default.query({query:t(776)})},{path:"dns-zone-sync",componentLoader:()=>t.e("views/dns/records/dns-zone-sync").then(t.bind(t,1747))}]},{path:"soa-record",componentLoader:()=>t.e("views/dns/soa-record").then(t.bind(t,1748)),loader:async()=>{await c.default.query({query:t(777)})},isExist:async()=>{const{data:{viewer:{type:e,permissions:n},mode:{isDnsServiceSupported:t}}}=await c.default.query({query:a.gql`
                                query {
                                    viewer {
                                        login
                                        type
                                        permissions {
                                            manageServerDnsTemplate
                                        }
                                    }
                                    mode {
                                        isDnsServiceSupported
                                    }
                                }
                            `});return"ADMIN"===e&&n.manageServerDnsTemplate&&t}}]},{path:"/admin/dns/acl-records",componentLoader:()=>t.e("views/admin/dns/acl-records").then(t.bind(t,1753)),loader:w()},{path:"/admin/dns/add-acl-record",componentLoader:()=>t.e("views/admin/dns/add-acl-record").then(t.bind(t,1756)),loader:w()},{path:"/admin/dns/external-dns",componentLoader:()=>t.e("views/admin/dns/external-dns").then(t.bind(t,1759)),loader:w()},{path:"/admin/dns/external-dns-edit/extensionId/:extensionId",componentLoader:()=>t.e("views/admin/dns/external-dns-edit").then(t.bind(t,1761)),loader:w()},{path:"/smb/dns-zone/index/id/:id/type/:type",loader:w()},{path:"/smb/dns-zone/records-list/id/:id/type/:type",componentLoader:()=>t.e("views/smb/dns-zone/records-list").then(t.bind(t,1763)),loader:w()},{path:"/smb/dns-zone/soa-record/id/:id/type/:type",componentLoader:()=>t.e("views/smb/dns-zone/soa-record").then(t.bind(t,1772)),loader:w()},{path:"/smb/dns-zone/acl-records/id/:id/type/:type",componentLoader:()=>t.e("views/smb/dns-zone/acl-records").then(t.bind(t,1776)),loader:w()},{path:"/smb/dns-zone/add-acl-record/id/:id/type/:type",componentLoader:()=>t.e("views/smb/dns-zone/add-acl-record").then(t.bind(t,1779)),loader:w()},{path:"/smb/dns-zone/external-dns/id/:id/type/:type",componentLoader:()=>t.e("views/smb/dns-zone/external-dns").then(t.bind(t,1782)),loader:w()},{path:"/smb/dns-zone/external-dns-edit/id/:id/type/:type/extensionId/:extensionId",componentLoader:()=>t.e("views/smb/dns-zone/external-dns-edit").then(t.bind(t,1784)),loader:w()},{path:"/cp/settings-ui/edit-interface-view",componentLoader:()=>t.e("views/admin/settings-ui/edit-interface-view").then(t.bind(t,1786)),loader:()=>c.default.query({query:t(778)}).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:()=>t.e("views/admin/settings-ui/list-languages").then(t.bind(t,1789)),loader:w()},{path:"/admin/settings-ui",loader:w()},{path:"/admin/database/settings",componentLoader:()=>t.e("views/admin/database/settings").then(t.bind(t,1793)),loader:w()},{path:"/smb/web/web-server-settings/id/:id",componentLoader:()=>t.e("views/smb/web/web-server-settings").then(t.bind(t,1796)),loader:w()},{path:"/admin/notifications",children:[{index:!0,loader:()=>(0,i.redirect)("email-settings")},{path:"email-settings",componentLoader:()=>Promise.all([t.e("vendors"),t.e("views/admin/notifications/index")]).then(t.bind(t,1806)),loader:w()}]},{path:"/cp/notifications/panel-settings",componentLoader:()=>t.e("components/pages/PanelNotificationsSettings").then(t.bind(t,1815)),loader:()=>c.default.query({query:t(779)}).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([t.e("vendors"),t.e("components/pages/BrandingPage")]).then(t.bind(t,1818)),loader:()=>c.default.query({query:t(780)}).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([t.e("vendors"),t.e("views/server/db")]).then(t.bind(t,1821)),loader:()=>c.default.query({query:t(781)}).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([t.e("vendors"),t.e("views/server/db")]).then(t.bind(t,1824)),loader:({params:{id:e}})=>c.default.query({query:t(782),variables:{id:btoa(`DatabaseServer:${e}`)}}).then((({data:e})=>e)).catch((({graphQLErrors:e})=>(e.forEach((({message:e,debugMessage:n})=>{(0,o.addToast)({intent:"danger",message:n||e})})),(0,i.redirect)("/cp/server/db")))),isExist:async({params:e})=>{const{data:{viewer:{type:n,permissions:t},databaseServer:i}}=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&&t.manageServerDb&&i)}}]},{path:"/cp/server/db/create",componentLoader:()=>Promise.all([t.e("vendors"),t.e("views/server/db")]).then(t.bind(t,1838)),loader:()=>c.default.query({query:t(783)}).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,i.redirect)("properties")},{path:"properties",componentLoader:()=>Promise.all([t.e("vendors"),t.e("views/server/db")]).then(t.bind(t,1840)),loader:({params:{id:e}})=>c.default.query({query:t(784),variables:{id:btoa(`DatabaseServer:${e}`)}}).then((({data:e})=>e)),isExist:async({params:e})=>{const{data:{viewer:{type:n,permissions:t},databaseServer:i}}=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&&t.manageServerDb&&i)}},{path:"databases",componentLoader:()=>Promise.all([t.e("vendors"),t.e("views/server/db")]).then(t.bind(t,1842)),loader:({params:{id:e}})=>c.default.query({query:t(785),variables:{id:btoa(`DatabaseServer:${e}`)}}).then((({data:e})=>e)),isExist:async({params:e})=>{const{data:{viewer:{type:n,permissions:t},databaseServer:i}}=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&&t.manageServerDb&&i)}},{path:"change-password",componentLoader:()=>Promise.all([t.e("vendors"),t.e("views/server/db")]).then(t.bind(t,1844)),loader:({params:{id:e}})=>c.default.query({query:t(786),variables:{id:btoa(`DatabaseServer:${e}`)}}).then((({data:e})=>e)),isExist:async({params:e})=>{const{data:{viewer:{type:n,permissions:t},os:i,mode:s,databaseServer:o}}=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&&t.manageServerDb&&i.isWindows&&!s.isDemo&&o)}}]},{path:["/cp/websites-diagnostic","/cp/websites-diagnostic/id/:domainId"],componentLoader:()=>Promise.all([t.e("vendors"),t.e("views/admin/websites-diagnostic/index")]).then(t.bind(t,1845)),loader:async()=>{await c.default.query({query:t(787),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:()=>t.e("components/pages/SystemTimePage").then(t.bind(t,1872)),loader:()=>c.default.query({query:t(788)}).then((({data:e})=>e))},{path:"/cp/server/mail",children:[{index:!0,loader:()=>(0,i.redirect)("settings")},{path:"settings",componentLoader:()=>t.e("views/server/mail").then(t.bind(t,1878)),loader:async()=>{await c.default.query({query:t(789)}),await c.default.query({query:t(790)})},isExist:async()=>{const{data:{viewer:{type:e,permissions:n}}}=await c.default.query({query:a.gql`
                                query {
                                    viewer {
                                        login
                                        type
                                        permissions {
                                            manageServerMail
                                            manageServerMailAutodiscover
                                            manageServerVirusProtection
                                            manageServerSpamFilter
                                        }
                                    }
                                }
                            `});return"ADMIN"===e&&(n.manageServerMail||n.manageServerMailAutodiscover||n.manageServerVirusProtection||n.manageServerSpamFilter)}},{path:"black-list",componentLoader:()=>t.e("views/server/mail").then(t.bind(t,1890)),loader:async()=>{await c.default.query({query:t(791)}),await c.default.query({query:t(790)})},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:()=>t.e("views/server/mail").then(t.bind(t,1893)),loader:async()=>{await c.default.query({query:t(792)}),await c.default.query({query:t(790)})},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:()=>t.e("views/server/mail").then(t.bind(t,1896)),loader:async()=>{await c.default.query({query:t(793)}),await c.default.query({query:t(790)})},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:()=>t.e("views/server/mail").then(t.bind(t,1898)),loader:async()=>{await c.default.query({query:t(794)}),await c.default.query({query:t(790)})},isExist:async()=>{const{data:{viewer:{type:e,permissions:n},os:{isWindows:t}}}=await c.default.query({query:a.gql`
                                query {
                                    viewer {
                                        login
                                        type
                                        permissions {
                                            manageServerSpamFilter
                                        }
                                    }
                                    os {
                                        isWindows
                                    }
                                }
                            `});return"ADMIN"===e&&n.manageServerSpamFilter&&t}}]},_.SummaryReportRoute,{path:"/cp/license",children:[{index:!0,loader:()=>(0,i.redirect)("primary")},{path:"primary",componentLoader:()=>t.e("views/license").then(t.bind(t,1900)),loader:async()=>{await c.default.query({query:t(795)}),await c.default.query({query:t(796)})},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:()=>t.e("views/license").then(t.bind(t,1905)),loader:async()=>{await c.default.query({query:t(797)})},isExist:async()=>{const{data:{viewer:{type:e,permissions:n},mode:{isDemo:t}}}=await c.default.query({query:a.gql`
                                        query {
                                            viewer {
                                                login
                                                type
                                                permissions {
                                                    manageServerLicense
                                                }
                                            }
                                            mode {
                                                isDemo
                                            }
                                        }
                                    `});return"ADMIN"===e&&n.manageServerLicense&&!t}},{path:"revert",componentLoader:()=>t.e("views/license").then(t.bind(t,1908)),loader:async()=>{await c.default.query({query:t(798)})},isExist:async()=>{const{data:{viewer:{type:e,permissions:n},mode:{isDemo:t}}}=await c.default.query({query:a.gql`
                                        query {
                                            viewer {
                                                login
                                                type
                                                permissions {
                                                    manageServerLicense
                                                }
                                            }
                                            mode {
                                                isDemo
                                            }
                                        }
                                    `});return"ADMIN"===e&&n.manageServerLicense&&!t}}]},{path:"additional",componentLoader:()=>t.e("views/license/additional").then(t.bind(t,1911)),loader:async()=>{await c.default.query({query:t(799)})},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:()=>t.e("views/license/additional").then(t.bind(t,1916)),loader:async()=>{await c.default.query({query:t(800)})},isExist:async()=>{const{data:{viewer:{type:e,permissions:n},mode:{isDemo:t}}}=await c.default.query({query:a.gql`
                                        query {
                                            viewer {
                                                login
                                                type
                                                permissions {
                                                    manageServerLicense
                                                }
                                            }
                                            mode {
                                                isDemo
                                            }
                                        }
                                    `});return"ADMIN"===e&&n.manageServerLicense&&!t}}]},{path:"additional/:id",componentLoader:()=>t.e("views/license/additional").then(t.bind(t,1918)),loader:async({params:{id:e}})=>{await c.default.query({query:t(801),variables:{id:e}})},isExist:async({params:e})=>{const{data:{viewer:{type:n,permissions:t},additionalKey:i}}=await c.default.query({query:a.gql`
                                query ($id: ID!) {
                                    viewer {
                                        login
                                        type
                                        permissions {
                                            manageServerLicense
                                        }
                                    }
                                    additionalKey(id: $id) {
                                        keyNumber
                                    }
                                }
                            `,variables:{id:e.id}});return i&&"ADMIN"===n&&t.manageServerLicense},children:[{path:"revert",componentLoader:()=>t.e("views/license/additional").then(t.bind(t,1920)),loader:async({params:{id:e}})=>{await c.default.query({query:t(802),variables:{id:e}})},isExist:async({params:e})=>{const{data:{viewer:{type:n,permissions:t},mode:{isDemo:i},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&&t.manageServerLicense&&!i}}]}]},{path:"/cp/firewall",children:[{index:!0,loader:()=>(0,i.redirect)("general")},{path:"general",componentLoader:()=>t.e("components/pages/FirewallGeneralPage").then(t.bind(t,1922)),loader:async()=>{await c.default.query({query:t(803)})},isExist:async()=>{const{data:{viewer:{type:e,permissions:n},os:{isUnix:t},mode:{isDemo:i}}}=await c.default.query({query:a.gql`
                                query {
                                    viewer {
                                        login
                                        type
                                        permissions {
                                            manageServerFirewall
                                        }
                                    }
                                    mode {
                                        isDemo
                                    }
                                    os {
                                        isUnix
                                    }
                                }
                            `});return"ADMIN"===e&&!t&&!i&&n.manageServerFirewall}},{path:"icmp",componentLoader:()=>t.e("components/pages/FirewallIcmpPage").then(t.bind(t,1927)),loader:async()=>{await c.default.query({query:t(804)})},isExist:async()=>{const{data:{viewer:{type:e,permissions:n},os:{isUnix:t},mode:{isDemo:i}}}=await c.default.query({query:a.gql`
                                query {
                                    viewer {
                                        login
                                        type
                                        permissions {
                                            manageServerFirewall
                                        }
                                    }
                                    mode {
                                        isDemo
                                    }
                                    os {
                                        isUnix
                                    }
                                }
                            `});return"ADMIN"===e&&!t&&!i&&n.manageServerFirewall}},{path:"rules",componentLoader:()=>t.e("components/pages/FirewallRulesPage").then(t.bind(t,1929)),loader:async()=>{await c.default.query({query:t(805)})},isExist:async()=>{const{data:{viewer:{type:e,permissions:n},os:{isUnix:t},mode:{isDemo:i}}}=await c.default.query({query:a.gql`
                                query {
                                    viewer {
                                        login
                                        type
                                        permissions {
                                            manageServerFirewall
                                        }
                                    }
                                    mode {
                                        isDemo
                                    }
                                    os {
                                        isUnix
                                    }
                                }
                            `});return"ADMIN"===e&&!t&&!i&&n.manageServerFirewall}}]},{path:["/cp/server/components","/cp/server/components/default/:name","/cp/server/components/configuration/:name"],componentLoader:()=>t.e("components/pages/ServerComponentsPage").then(t.bind(t,1932)),loader:async()=>{await c.default.query({query:t(806)})},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([t.e("vendors"),t.e("views/admin/ip-address/list")]).then(t.bind(t,1942)),loader:()=>c.default.query({query:t(807),variables:{page:1,itemsPerPage:25}}).then((({data:e})=>e)),children:[{path:["add",":id/edit"]},N]},{path:"/cp/ip-address/:id/clients",componentLoader:()=>t.e("views/admin/ip-address/clients").then(t.bind(t,1948)),loader:({params:{id:e}})=>c.default.query({query:t(808),variables:{id:e}}),children:[{path:"assign",componentLoader:()=>t.e("components/pages/AssignIpAddressToResellerForm").then(t.bind(t,1952)),loader:({params:{id:e}})=>c.default.query({query:t(809),variables:{id:e}})}]},{path:"cp/resource-usage",componentLoader:()=>t.e("views/admin/reseller/resourceUsage").then(t.bind(t,1955)),loader:async()=>await c.default.query({query:t(810),variables:{input:(0,h.readGraphQlListInputFromStorage)({key:"ResourceUsagePage"})}})},{path:"/cp/client/:clientId/ip-address",componentLoader:()=>t.e("views/admin/client/ip-address").then(t.bind(t,1958)),loader:async({params:{clientId:e}})=>{await c.default.query({query:t(811),variables:{clientId:btoa(`Client:${e}`)}})},children:[N,{path:":ipAddressId/properties",componentLoader:()=>t.e("views/admin/client/ip-address/form").then(t.bind(t,1962)),loader:async({params:{clientId:e,ipAddressId:n}})=>{await c.default.query({query:t(812),variables:{ipAddressId:n,clientId:btoa(`Client:${e}`)}})}},{path:"assign",componentLoader:()=>t.e("views/admin/client/ip-address/form").then(t.bind(t,1964)),loader:async({params:{clientId:e}})=>{await c.default.query({query:t(813),variables:{clientId:btoa(`Client:${e}`)}})}}]},{path:"/cp/php/extensions/id/:id",componentLoader:()=>Promise.all([t.e("vendors"),t.e("views/php/extensions")]).then(t.bind(t,1967)),loader:async({params:{id:e}})=>{await c.default.query({query:t(814),variables:{id:e}})},isExist:async({params:e})=>{const{data:{viewer:{type:n,permissions:t},os:{isWindows:i},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&&t.manageServerPhp&&(i||""!==s)}},{path:"/cp/server/ts-sessions/:id",componentLoader:()=>t.e("components/pages/TsSessionPage").then(t.bind(t,1981)),loader:({params:e})=>async()=>{await c.default.query({query:t(815),variables:{ids:[e.id]}})},isExist:D},{path:"/cp/server/ts-sessions",componentLoader:()=>t.e("components/pages/TsSessionsPage").then(t.bind(t,1984)),loader:async()=>{await c.default.query({query:t(816)})},isExist:D},{path:"/cp/server/asp-dot-net-settings",componentLoader:()=>Promise.all([t.e("vendors"),t.e("components/pages/AspDotNetSettingsPage/AspDotNetServerSettingsPage")]).then(t.bind(t,1985)),loader:async()=>{const{data:e}=await c.default.query({query:t(817)});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:"server",handle:{crumb:()=>({title:s.Locale.getSection("components.routes").lmsg("tools"),href:"/admin/server/tools"})},children:[{index:!0,loader:()=>(0,i.redirect)("/admin/server/tools")},{path:"about",componentLoader:()=>t.e("components/pages/ServerAboutPage").then(t.bind(t,1996)),loader:async()=>{await c.default.query({query:t(818)})},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:"action-log",componentLoader:()=>t.e("components/pages/ActionLogPage").then(t.bind(t,2001)),loader:async()=>{await c.default.query({query:t(819)})},handle:{crumb:()=>({title:s.Locale.getSection("components.routes").lmsg("actionLogSettings")}),helpContext:"actionlog"}},{path:"information",componentLoader:()=>Promise.all([t.e("vendors"),t.e("components/pages/ServerInformationPage")]).then(t.bind(t,2008)),loader:async()=>{const{data:{server:{information:e}}}=await c.default.query({query:t(820)});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:()=>t.e("components/pages/ServerSettingsPage").then(t.bind(t,2012)),loader:async()=>{await c.default.query({query:t(821)})},handle:{crumb:()=>({title:s.Locale.getSection("components.routes").lmsg("serverSettings")}),helpContext:"preferences"}},{path:"spam-filter",componentLoader:()=>t.e("components/tabs/SpamFilterSettingsTabs").then(t.bind(t,2016)),loader:async()=>{await c.default.query({query:t(822)})},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:()=>(0,i.redirect)("settings")},{path:"settings",componentLoader:()=>t.e("components/pages/SpamFilterSettingsPage").then(t.bind(t,2017)),loader:async()=>{await c.default.query({query:t(794)})}},{path:"black-list",componentLoader:()=>t.e("components/pages/SpamFilterBlackListPage").then(t.bind(t,2018)),loader:async()=>{await c.default.query({query:t(823)})}},{path:"white-list",componentLoader:()=>t.e("components/pages/SpamFilterWhiteListPage").then(t.bind(t,2021)),loader:async()=>{await c.default.query({query:t(824)})}}]},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,{})}]}]}]),C=e=>{if(window.location.pathname.match(/^\/modules\/(warden)\//))return!1;const{pathname:n,search:t}="string"==typeof e?(0,i.parsePath)(e):e;if(t?.startsWith("?modals"))return!0;if(!n)return!1;let a=n;/^(?![\/?])/.test(e)&&(a=window.location.pathname+a);const s=(0,i.matchRoutes)(P,a);return!!s&&!s.some((({route:e})=>"php-pages-layout"===e.id))},I=P},(e,n,t)=>{"use strict";t.r(n),t.d(n,{childrenTransformer:()=>l,componentLoaderTransformer:()=>o,default:()=>p,isExistTransformer:()=>r,pathTransformer:()=>c,routeTransformer:()=>m,shouldRevalidateTransformer:()=>d});var i=t(581),a=t(270);const s=()=>{const e=(0,i.useLocation)(),n=(0,i.useRevalidator)();e.state?.reload&&(delete e.state.reload,n.revalidate());const{Component:t,...s}=(0,i.useLoaderData)(),o=(0,i.useParams)();return(0,a.jsx)(t,{...s,params:o})},o=e=>{if(!e.componentLoader)return e;const{element:n,componentLoader:t,loader:i,...o}=e;if(n)throw new Error('Unable to use options "componentLoader" and "element" at the same time',{cause:{route:e}});return{...o,element:(0,a.jsx)(s,{}),loader:async({request:e,params:n})=>{const[a,s]=await Promise.all([t().then((e=>e.default||e)),i?i({request:e,params:n}):Promise.resolve()]);return s instanceof Response?s:{...s,Component:a}}}},r=e=>{if(!e.isExist)return e;const{isExist:n,loader:t,...i}=e;return{...i,loader:async({request:e,params:i})=>{if(!await n({request:e,params:i}))throw new Response("Not Found",{status:404});if(t)return t({request:e,params:i})}}},d=e=>{if(!e.loader)return e;const{shouldRevalidate:n,...t}=e;return{...t,shouldRevalidate:({defaultShouldRevalidate:e,...t})=>(e&&=[...t.currentUrl.searchParams.keys(),...t.nextUrl.searchParams.keys()].every((e=>!e.match(/^(modals\[.+]|module)$/))),n&&(e=n({...t,defaultShouldRevalidate:e})),e)}},l=e=>{if(!Array.isArray(e.children))return e;const{children:n,...t}=e;return{...t,children:u(n)}},c=e=>{if(!Array.isArray(e.path))return e;const{path:n,...t}=e;return n.map((e=>({...t,path:e})))},m=e=>[o,r,d,l,c].reduce(((e,n)=>n(e)),e),u=e=>e.map(m).flat(),p=u},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>g});var i=t(270),a=t(581),s=t(580),o=t(590),r=t(271),d=t(586),l=t.n(d),c=t(358),m=t(89),u=t(313),p=t(531),v=t(588),f=t(589),h=t.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:t}}=(0,o.useQuery)(h()),d=(0,p.useToasts)();return(0,i.useLayoutEffect)((()=>{"UNDEFINED"!==n.type&&new m.Task.ProgressBar({wsEnabled:t.webSocket.enabled})}),[]),(0,i.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,i.jsxs)(v.ModuleProvider,{children:["idle"!==e.state?(0,i.jsx)(l(),{}):null,(0,i.jsx)(a.Outlet,{}),(0,i.jsx)(r.Toaster,{toasts:d,onToastClose:e=>(0,p.removeToast)({key:e}),"data-type":"toaster"}),"true"===c.default.get("debug-testing-mode")?(0,i.jsxs)(i.Fragment,{children:[(0,i.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,i.jsx)("div",{id:"bottomAnchor",style:{position:"fixed",top:0,zIndex:-1,opacity:.001}})]}):null,(0,i.jsx)(s.ScrollRestoration,{}),(0,i.jsx)(v.DynamicModule,{})]})}},,,(e,n,t)=>{"use strict";t.r(n),t.d(n,{DynamicModule:()=>f,ModuleProvider:()=>p,useDynamicModule:()=>u});var i=t(270),a=t(586),s=t.n(a),o=t(272),r=t.n(o),d=t(581);const l=(0,i.createContext)({}),c="module",m=async(e,n,i)=>{try{const a=await((e,n)=>{if(window[n])return window[n];const t=document.createElement("script"),i=new Promise(((i,a)=>{t.src=e,t.type="text/javascript",t.async=!0,t.onload=()=>i(window[n]),t.onerror=a}));return document.head.appendChild(t),i.finally((()=>document.head.removeChild(t))),i})(e,n);await t.I("default"),await a.init(t.S.default);return(await a.get(i))()}catch(e){return console.error("Error loading module:",e),{default:()=>null}}},u=()=>(0,i.useContext)(l),p=({children:e})=>{const[n,t]=(0,i.useState)({}),a=(0,d.useNavigate)(),s=(0,i.useCallback)(((e,s)=>{const{scope:o,entry:r,url:d}=/module:(?<scope>.+):(?<entry>.+)@(?<url>.+)/.exec(e)?.groups??{};if(!(o&&d&&r))return;const l=`${o}:${r}`;n[l]||t((e=>({...e,[l]:(0,i.lazy)((()=>m(d,o,`./${r}`)))}))),a(`?${new URLSearchParams({[c]:l,props:v(s)})}`,{preventScrollReset:!0})}),[a,n]),o=(0,i.useCallback)((()=>{const e=new URLSearchParams(location.search);e.delete(c),e.delete("props"),a(`?${e}`,{preventScrollReset:!0})}),[a]),r=(0,i.useMemo)((()=>Object.entries(n).map((([e,n])=>({key:e,Component:n})))),[n]),u=(0,i.useMemo)((()=>({modules:r,openModule:s,closeModule:o})),[o,r,s]);return(0,i.jsx)(l.Provider,{value:u,children:e})};p.propTypes={children:r().node.isRequired};const v=e=>btoa(JSON.stringify(e)),f=()=>{const{modules:e,closeModule:n}=u(),t=(0,d.useLocation)(),a=(0,i.useMemo)((()=>{const e=new URLSearchParams(t.search);if(e.has(c)){const t=e.get(c);try{return{[t]:(n=e.get("props"),JSON.parse(atob(n)))}}catch{return!1}}var n;return!1}),[t]);return(0,i.jsx)(i.Suspense,{fallback:(0,i.jsx)(s(),{}),children:e.map((({Component:e,key:t})=>(0,i.jsx)(e,{...a[t],isOpen:!!a[t],onClose:n},t)))})}},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:141}};n.loc.source={body:"query TaskProgressBar {\n    viewer {\n        login\n        type\n    }\n    config {\n        webSocket {\n            enabled\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.TaskProgressBar=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(n,"TaskProgressBar")},,,,,,(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>o});var i=t(581),a=t(596),s=t(270);const o=()=>{const{showFrames:e,pageHeader:n,pageSidebar:t}=(0,i.useLoaderData)(),o=(0,i.useMatches)().filter((({handle:e})=>!!e)),r=(0,i.useParams)(),d=(0,i.useLocation)(),l={},c=o.reduce(((e,n)=>{if(!n.handle.crumb)return e;const t=n.handle.crumb({data:n.data,matchesContext:l,params:r,location:d});return t?Array.isArray(t)?[...e,...t]:[...e,{href:n.pathname,...t}]:e}),[]),m=o.slice().reverse(),u=m.find((({handle:e})=>e.returnUrl))?.handle.returnUrl({params:r}),p=m.find((({handle:e})=>e.helpContext))?.handle.helpContext,v=m.find((({handle:e})=>e.secondary))?.handle.secondary({location:d,params:r}),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=o.filter((({handle:e})=>e.crumb||"function"==typeof e.pageTitle)).at(-1),_=k?.handle.pageTitle&&k.handle.pageTitle({data:k.data,matchesContext:l,params:r,location:d})||g,S=o.at(-1),b="function"==typeof S?.handle?.key?S.handle.key({params:r}):void 0,y={showFrames:e,pageHeader:{...n,returnUrl:n.returnUrl||u,helpMenu:{...n.helpMenu,helpContext:p}},pageSidebar:t,pageContentHeader:{...h,pageTitle:_,breadcrumbs:c,titleRightAddon:f},secondary:v};return(0,s.jsx)(a.default,{...y,children:(0,s.jsx)(i.Outlet,{},b)})}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>i.default,withPageLayout:()=>a.default,withSimplePageLayout:()=>s.default});var i=t(597),a=t(688),s=t(689)},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>N});var i=t(270),a=t(272),s=t.n(a),o=t(590),r=t(598),d=t(537),l=t.n(d),c=t(271),m=t(604),u=t(526),p=t(611),v=t(630),f=t(631),h=t(632),g=t(634),k=t(668),_=t(682),S=t(684),b=t(687),y=t(673),E=t.n(y);const w=({baseUrl:e,showFrames:n,returnUrl:a,pageHeader:s,pageSidebar:d,pageContentHeader:y,pageTitle:w,withSecondary:N,secondary:F,width:D,bodyClass:P,integrationClass:C,children:I,isSecondaryCollapsed:x})=>{const{data:{viewer:{customTitle:T}}}=(0,o.useQuery)(E()),[L,O]=(0,m.useLocalStorage)("isSidebarClosed"),[A,q]=(0,i.useState)(!0),R=[A&&"responsive","true"===L&&"desktop"].filter(Boolean),M=(0,m.useMediaQuery)("(max-width: 1022px)"),B=R.includes(M?"responsive":"desktop");w??=y?.breadcrumbs?.[y.breadcrumbs.length-1]?.title,(0,i.useLayoutEffect)((()=>{const e=document.querySelector("title");e&&(e.innerHTML=[w&&(0,u.default)(w),T].filter(Boolean).join(" - "))}),[w,T]),(0,i.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&&(t.g.Jsw.baseUrl=e);const[j,U]=(0,i.useState)(0),[$,V]=(0,i.useState)(0),[H,W]=(0,i.useState)(0);return(0,i.useEffect)((()=>{const e=j+$+parseInt(getComputedStyle(document.querySelector(".pul-layout__main-inner")).paddingTop)+(document.getElementById("classic-mode-navigation")?.getBoundingClientRect().height||0);W(e)}),[j,$]),s?.helpMenu&&y&&(s.helpMenu={...s.helpMenu,searchQuery:(0,b.default)(y)}),(0,i.jsx)(c.Layout,{id:"page",width:D,header:n&&s?(0,i.jsx)(r.default,{bounds:!0,onResize:({bounds:e})=>U(e.height),children:({measureRef:e})=>(0,i.jsx)("div",{ref:e,children:(0,i.jsx)(g.default,{returnUrl:a,...s})})}):void 0,headerAddon:n&&s?(0,i.jsx)(r.default,{bounds:!0,onResize:({bounds:e})=>V(e.height),children:({measureRef:e})=>(0,i.jsxs)("div",{ref:e,children:[(0,i.jsx)(p.default,{}),s.licenseStatus?(0,i.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,i.jsx)(k.default,{title:T,breadcrumbs:y?.breadcrumbs,isClosed:B,onNodeClick:M?()=>q(!0):void 0,...d}):void 0,sidebarCollapsed:R,sidebarType:"folded",footer:n?(0,i.jsx)(_.default,{}):void 0,contentHeader:y?(0,i.jsx)(S.default,{...y}):null,children:(0,i.jsx)("div",{className:"b-content",children:(0,i.jsxs)(c.Columns,{gap:"md",vertical:740,"data-type":"page-content",className:"b-content-wrap",children:[(0,i.jsx)(c.Column,{fill:!0,id:"content-body",className:"b-content-main",children:(0,i.jsxs)("div",{id:"main",style:N||F?{position:"sticky",top:`${H}px`}:void 0,children:[(0,i.jsx)(f.default,{}),I]})}),N||F?(0,i.jsx)(c.Column,{width:256,className:l()("b-content-side",x&&"b-content-side--collapsed"),children:(0,i.jsx)("div",{style:{position:"sticky",top:`${H}px`},children:"string"==typeof F?(0,i.jsx)(v.default,{children:F}):F})}):null]})})})};w.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},w.defaultProps={baseUrl:void 0,showFrames:!0,returnUrl:void 0,pageHeader:void 0,pageSidebar:void 0,pageContentHeader:void 0,pageTitle:void 0,withSecondary:!1,secondary:void 0,isSecondaryCollapsed:!1,width:void 0,bodyClass:void 0,integrationClass:void 0,children:void 0};const N=w},,,,,,,(e,n,t)=>{"use strict";t.r(n),t.d(n,{useClickOutside:()=>i.default,useDebounce:()=>r.default,useEventListener:()=>a.default,useLocalStorage:()=>s.default,useMediaQuery:()=>o.default});var i=t(605),a=t(606),s=t(607),o=t(609),r=t(610)},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var i=t(270);const a=(e,n)=>{(0,i.useEffect)((()=>{const t=t=>{e.some((({current:e})=>!e||e.contains(t.target)))||n(t)};return document.addEventListener("mousedown",t),document.addEventListener("touchstart",t),()=>{document.removeEventListener("mousedown",t),document.removeEventListener("touchstart",t)}}),[e,n])}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var i=t(270);const a=(e,n,t,a="addEventListener",s="removeEventListener")=>{const o=(0,i.useRef)();(0,i.useEffect)((()=>{o.current=n}),[n]),(0,i.useEffect)((()=>{if(!t||!t[a])return;const n=e=>o.current(e);return t[a](e,n),()=>{t[s](e,n)}}),[e,t,a,s])}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>o,useLocalStorage:()=>s});var i=t(270),a=t(608);const s=function(e,n){const[t,s]=(0,i.useState)((()=>(0,a.readLocalStorageValue)(e,n)));return[t,(0,i.useCallback)((n=>{s(n),window.localStorage.setItem(e,JSON.stringify(n))}),[e])]},o=s},(e,n,t)=>{"use strict";t.r(n),t.d(n,{readLocalStorageValue:()=>i});const i=(e,n)=>{try{const t=window.localStorage.getItem(e);return t?JSON.parse(t):n}catch{return n}}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var i=t(270);const a=e=>{const[n,t]=(0,i.useState)(!1);return(0,i.useLayoutEffect)((()=>{const n=window.matchMedia(e),i=()=>{t(n.matches)};return i(),n.addListener(i),()=>{n.removeListener(i)}}),[e]),n}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var i=t(270);const a=(e,n)=>{const[t,a]=(0,i.useState)(e);return(0,i.useEffect)((()=>{const t=setTimeout((()=>{a(e)}),n);return()=>{clearTimeout(t)}}),[e,n]),t}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>i.default});var i=t(612)},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>f});var i=t(270),a=t(272),s=t.n(a),o=t(590),r=t(613),d=t(622),l=t(624),c=t(574),m=t(358),u=t(629),p=t.n(u);const v=({layoutType:e})=>{const[n,t]=(0,i.useState)((()=>!(0,c.hasPreferences)())),[a,s]=(0,r.useModal)("cookie-policy-preferences"),[u,v]=(0,i.useState)(c.loadPreferences),{data:{config:f}={}}=(0,o.useQuery)(p()),h=e=>{t(!1),v(e),(0,c.savePreferences)(e),f.gdpr.cookies.forEach((({name:n,type:t})=>{!1===e[t]&&m.default.remove(n,"/")}))};return(0,i.jsxs)(i.Fragment,{children:[f?.gdpr?.cookieBox?.enabled&&n&&(0,i.jsx)(d.default,{onSave:h,onPreferencesToggle:s,contentAlignment:"simplified"===e?"center":void 0}),(0,i.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"])},v.defaultProps={layoutType:void 0};const f=v},(e,n,t)=>{"use strict";t.r(n),t.d(n,{useCollector:()=>s.default,useCreateFormInDrawer:()=>i.default,useModal:()=>a.default});var i=t(614),a=t(620),s=t(621)},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>v});var i=t(270),a=t(592),s=t(619),o=t(581),r=t(271),d=t(89),l=t(615),c=t(617),m=t.n(c),u=t(618),p=t.n(u);const v=(e,n,t,c)=>{const u=(0,a.useApolloClient)(),v=!!(0,o.useMatch)(c),f=(0,o.useNavigate)(),[h,g]=(0,i.useState)(null),[k,_]=(0,i.useState)(null),[S]=(0,s.useMutation)(p());(0,i.useEffect)((()=>{v&&(g(null),_(null),d.Tooltip.hide(),Promise.all([d.api.get(c),u.query({query:m()})]).then((([e,{data:{config:n}}])=>{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})})))}),[v,c,u]);const b=()=>{f(t)};return[(0,i.jsx)(l.default,{dataType:n,title:h?h.pageTitle:"",size:"sm",isOpen:v,onClose:b,form:h?(0,i.jsx)(e,{onCancel:b,onProcess:_,onToggleDomainSettings:e=>{h&&(h.settingsCollapsed=e),S({variables:{collapsed:e}})},...h}):null,task:k,pageUrl:t,children:h?null:(0,i.jsx)(r.ContentLoader,{})})]}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>h});var i=t(270),a=t(271),s=t(89),o=t(272),r=t.n(o),d=t(606),l=t(616),c=t(531);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,dataType:n,isOpen:t,onClose:o,task:r,pageUrl:f,onTaskComplete:h,onError:g,autoCloseTimeout:k,..._})=>{const S=(0,l.default)(),[b,y]=(0,i.useState)([]),[E,w]=(0,i.useState)(null),[N,F]=(0,i.useState)(null),[D,P]=(0,i.useState)(null),C=r?r.id:null,I=({id:e,steps:n,status:o,errors:r,output:d,progressValue:l,progressTitle:c,progressTitleHtml:m})=>{if(!t||C!==e)return;const u=m||(0,s.escapeHtml)(c),p=v(o),f=(e=[],n=[])=>{const t="function"==typeof g&&e.length>0;return(0,i.jsxs)(i.Fragment,{children:[t&&g(),e.map((e=>(0,i.jsx)("div",{children:e},e))),n.length>0&&(0,i.jsx)(a.ConsoleOutput,{"data-testid":"console-output",children:n})]})};P(p),n&&n.length?(w(u),y(n.map((({errors:e,status:n,output:t,...i})=>({children:f(e,t),status:v(n),...i}))))):y([{title:u,status:p,progress:Number(l),children:f(r,d)}])};(0,i.useEffect)((()=>{const e=u();t?(e?.hide(),y([]),w(null),F(null),P(null)):(async()=>{x()||await L(),e?.show()})()}),[t]),(0,i.useEffect)((()=>{C&&(u()?.update(),I(r))}),[C,r]),(0,d.default)("plesk:taskStepUpdate",I,s.Observer),(0,d.default)("plesk:taskComplete",(({id:e,redirect:n,status:i})=>{t&&C===e&&("function"==typeof h&&h({status:i}),s.Task.STATUS_DONE===i&&F(n?.url||n))}),s.Observer);const x=()=>s.Task.STATUS_NOT_STARTED===D||m===D,T=()=>{if(N)return((e,n)=>{if(e===n)return!0;try{const t=new URLSearchParams(new URL(e,window.location.origin).search);return t.get("returnUrl")===n||t.get("pageUrl")===n}catch{}return!0})(N,f)?(S(N,{replace:!0}),void o()):void S(N);o()},L=()=>C&&u()?.getItems().find((e=>e.getId()===C))?.remove();return(0,i.jsx)(a.Drawer,{"data-type":n,isOpen:t,onClose:T,progress:b.length?{cancelable:!1,title:(0,i.jsx)("span",{dangerouslySetInnerHTML:{__html:E}}),steps:b,onFinish:()=>{L(),(0,c.addToast)({intent:"success",message:(0,i.jsx)("span",{dangerouslySetInnerHTML:{__html:E||b[0].title}})})},autoCloseTimeout:k,buttons:null===k&&s.Task.STATUS_DONE===D?(0,i.jsx)(a.Button,{intent:"primary",onClick:T,children:(0,i.jsx)(p,{content:"finish"})}):null}:null,hideButton:x(),..._,children:e})};f.propTypes={children:r().node,dataType:r().string.isRequired,isOpen:r().bool,onClose:r().func.isRequired,task:r().shape({id:r().string.isRequired,steps:r().array,status:r().string,progressTitle:r().string,progressTitleHtml:r().string}),pageUrl:r().string,onTaskComplete:r().func,onError:r().func,autoCloseTimeout:r().number},f.defaultProps={children:null,isOpen:!1,task:null,pageUrl:null,onTaskComplete:void 0,onError:void 0,autoCloseTimeout:void 0};const h=f},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>o});var i=t(270),a=t(582),s=t(581);const o=()=>{const e=(0,s.useNavigate)();return(0,i.useCallback)(((n,i={})=>{t(583).isClientSideRedirectAllowed(n)?e(n,i):window.location[i?.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:"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:[]}]}}]}}]}}],loc:{start:0,end:364}};n.loc.source={body:"query CreateFormInDrawer {\n    config {\n        domainManagement {\n            settings {\n                enabled\n            }\n            applicationWizard {\n                enabled\n                blankSite\n                uploadFiles\n            }\n        }\n        techDomain {\n            url\n            vendor\n            maxDomainLength\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.CreateFormInDrawer=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:146}};n.loc.source={body:"mutation UpdateUserSettings($collapsed: Boolean!) {\n    updateUserSettings(input: {collapsedDomainSettings: $collapsed}) {\n        result\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.UpdateUserSettings=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(n,"UpdateUserSettings")},,(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>s});var i=t(270),a=t(581);const s=(e,n)=>{const t=`modals[${e}]`,s=(0,a.useNavigate)(),o=(0,a.useLocation)();return[new URLSearchParams(n??o.search).get(t),(0,i.useCallback)((e=>{const n=new URLSearchParams(window.location.search);e?n.set(t,e):n.has(t)&&n.delete(t),s(`?${n}${window.location.hash}`)}),[t,s])]}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var i=t(270);const a=()=>(0,i.useRef)({setCallback(e){this.callback=e},collect(){return this.callback()}}).current},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>p});var i=t(537),a=t.n(i),s=t(271),o=t(272),r=t.n(o),d=t(89),l=t(623),c=t(270);const m=d.Locale.getTranslate("components.cookie-policy.info"),u=({onSave:e,onPreferencesToggle:n,contentAlignment:t})=>(0,c.jsx)("div",{className:a()("cookie-policy-info",{[`cookie-policy-info--${t}`]:t}),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:r().func.isRequired,onPreferencesToggle:r().func.isRequired,contentAlignment:r().oneOf(["center"])},u.defaultProps={contentAlignment:void 0};const p=u},(e,n,t)=>{"use strict";t.r(n),t.d(n,{CONTROL_COOKIES:()=>a,PLESK_COOKIES:()=>i});const i="https://docs.plesk.com/en-US/obsidian/cookies",a="https://docs.plesk.com/en-US/obsidian/cookies/#delete-cookies"},(e,n,t)=>{"use strict";t.r(n),t.d(n,{OverlayAdapter:()=>a.default,default:()=>i.default});var i=t(625),a=t(627)},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>u});var i=t(270),a=t(272),s=t.n(a),o=t(271),r=t(89),d=t(626),l=t(623);const c=r.Locale.getTranslate("components.cookie-policy.preferences"),m=({isOpen:e,onSave:n,onToggle:t,preferences:a,adapter:s=d.default})=>{const r=(0,i.useMemo)((()=>(e=>Object.keys(e).reduce(((n,t)=>(n[t]=e[t]?"on":"off",n)),{}))(a)),[a]),m=()=>t(!1);return(0,i.jsxs)(s,{isOpen:e,title:(0,i.jsx)(c,{content:"title"}),submitButton:{"data-type":"cookie-policy-preferences-submit-button","data-testid":"submitButton",children:(0,i.jsx)(c,{content:"submitButton"})},cancelButton:{"data-type":"cookie-policy-preferences-cancel-button","data-testid":"cancelButton",children:(0,i.jsx)(c,{content:"cancelButton"}),onClick:m},values:r,onSubmit:e=>{n((e=>Object.keys(e).reduce(((n,t)=>(n[t]="on"===e[t],n)),{}))(e)),t(!1)},onCancel:m,children:[(0,i.jsx)(o.Paragraph,{children:(0,i.jsx)(c,{content:"description"})}),(0,i.jsx)(o.Heading,{level:2,children:(0,i.jsx)(c,{content:"settingsTitle"})}),(0,i.jsx)(o.Paragraph,{children:(0,i.jsx)(c,{content:"settingsDescription"})}),(0,i.jsx)(o.Heading,{level:3,children:(0,i.jsx)(c,{content:"analyticsTitle"})}),(0,i.jsx)(o.Paragraph,{children:(0,i.jsx)(c,{content:"analyticsDescription"})}),(0,i.jsx)(o.FormFieldRadioButtons,{name:"analytics",value:r.analytics,className:"cookie-policy-preferences__radio-buttons","data-testid":`analytics${r.analytics}`,options:[{value:"on",label:(0,i.jsx)(c,{content:"on"})},{value:"off",label:(0,i.jsx)(c,{content:"off"})}]}),(0,i.jsx)(o.Heading,{level:3,children:(0,i.jsx)(c,{content:"marketingTitle"})}),(0,i.jsx)(o.Paragraph,{children:(0,i.jsx)(c,{content:"marketingDescription"})}),(0,i.jsx)(o.FormFieldRadioButtons,{name:"marketing",value:r.marketing,className:"cookie-policy-preferences__radio-buttons",options:[{value:"on",label:(0,i.jsx)(c,{content:"on"})},{value:"off",label:(0,i.jsx)(c,{content:"off"})}]}),(0,i.jsx)(o.Heading,{level:3,children:(0,i.jsx)(c,{content:"necessaryTitle"})}),(0,i.jsx)(o.Paragraph,{children:(0,i.jsx)(c,{content:"necessaryDescription",params:{browserSettingsLink:(0,i.jsx)(o.Link,{href:l.CONTROL_COOKIES,target:"_blank",children:(0,i.jsx)(c,{content:"browserSettingsLink"})})}})}),(0,i.jsx)(o.Paragraph,{children:(0,i.jsx)(o.Link,{href:l.PLESK_COOKIES,target:"_blank",children:(0,i.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},m.defaultProps={adapter:void 0};const u=m},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>d});var i=t(272),a=t.n(i),s=t(271),o=t(270);const r=({isOpen:e,onSubmit:n,onCancel:t,submitButton:i,cancelButton:a,title:r,children:d,values:l})=>(0,o.jsx)(s.Drawer,{isOpen:e,onClose:t,"data-type":"cookie-policy-preferences",title:r,size:"sm",form:{vertical:!0,onSubmit:n,onCancel:t,applyButton:!1,submitButton:i,cancelButton:a,values:l},children:d});r.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=r},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>l});var i=t(272),a=t.n(i),s=t(271),o=t(628),r=t(270);const d=({isOpen:e,onSubmit:n,onCancel:t,submitButton:i,cancelButton:a,title:d,children:l,values:c})=>(0,r.jsx)(o.default,{isOpen:e,onCancel:t,children:(0,r.jsxs)(s.Form,{vertical:!0,onSubmit:n,onCancel:t,applyButton:!1,submitButton:i,cancelButton:a,values:c,children:[(0,r.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,t)=>{"use strict";t.r(n),t.d(n,{default:()=>u});var i=t(270),a=t(272),s=t.n(a),o=t(537),r=t.n(o),d=t(271);const l=()=>"fixed"!==document.documentElement.style.position,c=()=>{l()||(0,d.enableDocumentScroll)()},m=({isOpen:e,children:n,onCancel:t})=>{const a=(0,i.useRef)(null),s=(0,i.useRef)(null),[o,m]=(0,i.useState)(e);return(0,i.useEffect)((()=>{let n;return e?(m(!0),n=e=>{27===e.keyCode&&t()},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,t]),e||o?(0,i.createPortal)((0,i.jsx)("div",{className:r()("cookie-policy-overlay",{"cookie-policy-overlay--enter":e&&o,"cookie-policy-overlay--exit":!e&&o}),"data-testid":"overlayContainer",children:(0,i.jsxs)("div",{className:"cookie-policy-overlay__modal",children:[(0,i.jsx)("a",{onClick:t,className:"cookie-policy-overlay__modal-close",children:(0,i.jsx)(d.Icon,{name:"cross-mark"})}),(0,i.jsx)("div",{className:"cookie-policy-overlay__modal-content",children:(0,i.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:241}};n.loc.source={body:'query CookiePolicy {\n    config {\n        gdpr {\n            cookieBox {\n                enabled\n            }\n            cookies(type: ["analytics", "marketing"]) {\n                name\n                type\n            }\n        }\n    }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.CookiePolicy=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(n,"CookiePolicy")},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>d});var i=t(270),a=t(272),s=t.n(a),o=t(89);const r=({component:e,renderMode:n,children:t,...a})=>{const s=(0,i.useRef)();return(0,i.useLayoutEffect)((()=>{(0,o.render)(s.current,t,n)}),[]),(0,i.jsx)(e,{ref:s,...a})};r.propTypes={component:s().string,renderMode:s().string,children:s().oneOfType([s().string,s().func,s().object])},r.defaultProps={component:"div",renderMode:void 0,children:void 0};const d=r},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>l});var i=t(537),a=t.n(i),s=t(89),o=t(630),r=t(313),d=t(270);const l=()=>{const{status:e=[]}=(0,r.usePageData)(),n=n=>{n.hideUrl&&s.api.post((0,s.prepareUrl)(n.hideUrl)),(0,r.default)({...(0,r.default)(),status:e.filter(((e,t)=>n.key!==t))})};return e.map(((e,t)=>(e=>{const{componentType:t,status:i,content:r,title:l=s.Locale.getSection("components.status").lmsg(i),class:c,...m}=e;if(t)return(0,d.jsx)(o.default,{children:()=>(0,s.createComponent)({componentType:t,title:l,type:i,message:r,attrs:{"data-rendered-by-react":"true"},...m})});const{key:u,id:p,source:v,hideUrl:f}=e;return(0,d.jsx)("div",{id:p,className:a()("msg-box",`msg-${i}`,c),"data-source":v,"data-rendered-by-react":!0,children:(0,d.jsx)("div",{children:(0,d.jsx)("div",{children:(0,d.jsx)("div",{children:(0,d.jsx)("div",{children:(0,d.jsx)("div",{children:(0,d.jsxs)("div",{className:"msg-content",children:[f?(0,d.jsx)("span",{className:"close",onClick:()=>n(e)}):null,l?(0,d.jsxs)("span",{className:"title",children:[l,": "]}):null,(0,d.jsx)("span",{dangerouslySetInnerHTML:{__html:r}})]})})})})})})},u)})({key:t,...e})))}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>v});var i=t(270),a=t(272),s=t(537),o=t.n(s),r=t(271),d=t(89),l=t(633);const c=d.Locale.getTranslate("components.license-status"),m="default",u="trial",p=({status:e,daysLeft:n,isAdmin:t,actionUrl:a,installUrl:s,hidePopoverUrl:p,trialOverIcon:v,baseClassName:f})=>{const[h,g]=(0,i.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,i.jsx)("div",{className:o()(f,{"license-status--active":h}),"data-type":"license-status",children:(0,i.jsx)(r.Alert,{"data-type":`license-status-${e}`,className:_,intent:S,children:(0,i.jsxs)("div",{className:`${_}__inner`,children:[(0,i.jsxs)("div",{className:`${_}__message`,children:[u===e?(0,i.jsx)("div",{className:`${_}__message-count`,children:n}):null,(0,i.jsx)("div",{className:`${_}__message-text`,children:(0,i.jsx)(c,{content:t||"demo"===e?`${e}LicenseWarningAdmin`:"testLicenseWarningClient"})})]}),(()=>{const n=`${f}-alert`;return a||s?(0,i.jsxs)("div",{className:`${n}__actions`,children:[a&&(0,i.jsx)(r.Button,{intent:"primary",component:"a",icon:"shopping-cart",className:`${n}__actions-button`,href:a,target:"_blank",children:(0,i.jsx)(c,{content:e===m?"getTrialButton":"buyLicenseButton"})}),s&&(0,i.jsx)(l.default,{className:`${n}__actions-link`,to:s,children:(0,i.jsx)(c,{content:"installLicenseButton"})}),"demo"===e&&(0,i.jsx)(c,{content:"demoLicenseTryPlesk",component:"span",className:`${n}__additional-action`,params:{link:(0,i.jsx)("a",{href:"https://docs.plesk.com/try-plesk-now/",target:"_blank",rel:"nofollow noopener noreferrer",children:(0,i.jsx)(c,{content:"demoLicenseTryPleskLink"})})}})]}):null})()]})})});return(e=>{const n=`${f}-popover`;return h?(0,i.jsx)(r.Popover,{className:n,visible:!0,onClose:k,target:e,children:(0,i.jsx)(r.Item,{title:(0,i.jsx)("h4",{children:(0,i.jsx)(c,{content:"trialOverTitle"})}),icon:(0,i.jsx)(r.Icon,{size:"48",src:v}),children:(0,i.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},p.defaultProps={daysLeft:0,isAdmin:!1,actionUrl:null,installUrl:null,hidePopoverUrl:null,trialOverIcon:null,baseClassName:"license-status"};const v=p},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>u,useNavigateCallback:()=>c});var i=t(270),a=t(272),s=t.n(a),o=t(581),r=t(580),d=t(582);const l={"/plesk/admin-panel=server.tools/":"/admin/server/tools"},c=()=>{const e=(0,o.useNavigate)();return(0,i.useCallback)((n=>{if(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)return;const i=n.target.closest("a").getAttribute("href");t(583).isClientSideRedirectAllowed(i)&&(n.preventDefault(),e(i))}),[e])},m=({to:e,state:n,disabled:a,preventScrollReset:s,...o})=>(a&&(e=void 0,o.onClick=void 0),l[e]&&(e=l[e]),e&&t(583).isClientSideRedirectAllowed(e)?(0,i.jsx)(r.Link,{to:e,state:n,preventScrollReset:s,...o}):("object"==typeof e&&null!==e&&(e=(0,d.createPath)(e)),(0,i.jsx)("a",{href:e,...o})));m.propTypes={to:s().oneOfType([s().string,s().object]),state:s().any,disabled:s().bool,preventScrollReset:s().bool},m.defaultProps={to:void 0,state:void 0,disabled:void 0,preventScrollReset:void 0};const u=m},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>i.default});var i=t(635)},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>l});var i=t(272),a=t.n(i),s=t(636),o=t(642),r=t(270);const d=({licenseStatus:e,searchUrl:n,...t})=>(0,r.jsxs)("div",{className:"page-header",children:[n?(0,r.jsx)(s.default,{url:n}):null,(0,r.jsx)(o.default,{...t})]});d.propTypes={licenseStatus:a().object,searchUrl:a().string},d.defaultProps={licenseStatus:null,searchUrl:null};const l=d},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>i.default});var i=t(637)},(e,n,t)=>{"use strict";t.r(n),t.d(n,{SEARCH_HISTORY_STORE_URL:()=>w,default:()=>D});var i=t(270),a=t(272),s=t.n(a),o=t(537),r=t.n(o),d=t(271),l=t(89),c=t(638),m=t(531),u=t(590),p=t(619),v=t(592),f=t(633),h=t(639),g=t.n(h),k=t(640),_=t.n(k),S=t(641),b=t.n(S);const y=l.Locale.getTranslate("components.search-bar"),E="main-header-search-result__item",w="/cp/search/store",N=({onDocumentTouchStart:e,onDocumentTouchMove:n,onDocumentTouchEnd:t})=>{document.removeEventListener("touchstart",e),document.removeEventListener("touchmove",n),document.removeEventListener("touchend",t)},F=({url:e})=>{const n=(0,i.useRef)(),t=(0,i.useRef)(""),a=(0,i.useRef)(),s=(0,i.useRef)(null),o=(0,i.useRef)(null),h=(0,i.useRef)(!1),k=(0,i.useRef)(null),S=(0,i.useRef)(!1),F=(0,i.useRef)(!1),{data:{config:D,viewer:P}={}}=(0,u.useQuery)(g()),[C,I]=(0,i.useState)(),[x]=(0,p.useMutation)(b(),{onCompleted:({deleteRecentSearchResult:e})=>I(e.query.recentSearch)}),[T,L]=(0,i.useState)(!1),[O,A]=(0,i.useState)(!1),[q,R]=(0,i.useState)(null),[M,B]=(0,i.useState)(null),j=(0,v.useApolloClient)(),U="ADMIN"===P?.type,$=e=>{alert(e)},V=()=>{if(!a.current)return;const e=a.current.querySelectorAll(`.${E}`)[M||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(t.current!==e.request.options.parameters.term)return;let n;try{n=JSON.parse(e.responseText)}catch(e){return void $(`Failed to parse JSON response: ${e.message}`)}if("error"!==n.status)R(n),h.current?V():n.records.length>0&&B(0);else{const e=n.statusMessages.reduce(((e,n)=>`${e}${n.title}: ${n.content}\n`),"");$(e)}},z=e=>{$(`Search request failed due to following error: ${e.responseText}`)},G=e=>{e&&k.current!==e.request||A(!1)},Q=()=>{const{cache:e}=j;e.evict({id:e.identify({__typename:"Query"}),fieldName:"recentSearch"}),I(null)},Y=(e,n)=>e.map((({details:e,target:t,icon:a,link:s,title:o,label:r},l)=>{const m=!a||a.startsWith(Jsw.skinUrl)||a.startsWith("http://")||a.startsWith("https://")||a.startsWith("/modules/")?a:`${Jsw.skinUrl}${a}`;return(0,i.jsx)(d.MenuItem,{"data-action":n,component:f.default,to:s,title:e,target:t,label:r,active:M===l,icon:m?(0,i.jsx)(d.Icon,{className:"main-header-search-result__icon",src:m}):null,className:E,onClick:n=>{n.stopPropagation(),(e=>{const n=w,t=document.getElementById("forgery_protection_token").content;navigator.sendBeacon(n,(0,c.toFormData)({...e,forgery_protection_token:t})),Q()})({details:e,target:t,icon:a,link:s,title:o})},children:o},l)})),J=e=>[e.records.length?Y(e.records,"searchResultRegular"):(0,i.jsx)("div",{className:"main-header-search-result__note main-header-search-result__note--empty",children:(0,i.jsx)(y,{content:"nothingFound"})}),e.meta.moreResultsFound?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(d.MenuDivider,{}),(0,i.jsx)("div",{className:"main-header-search-result__note",children:(0,i.jsx)(y,{content:"moreResultsFound",params:{limit:D?.search?.limit}})})]}):null],X=e=>e?.length?[(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(d.MenuHeader,{children:(0,i.jsx)(y,{content:"recentSearch"})})},"history"),Y(e.map((e=>({...e,label:(0,i.jsx)(d.Button,{className:"main-header-search-result__item-remove",ghost:!0,icon:"cross-mark",tooltip:(0,i.jsx)(y,{content:"removeFromRecent"}),onClick:t=>{t.stopPropagation(),t.preventDefault(),n.current.focus(),x({variables:{input:{link:e.link}}})}})}))),"searchResultRecent")]:(0,i.jsx)("div",{className:"main-header-search-result__note",children:(0,i.jsx)(d.Status,{intent:"info",children:(0,i.jsx)(d.Hint,{children:(0,i.jsx)(y,{content:"recentSearchHint"})})})}),Z=({resetValue:e=!0}={})=>{e&&(n.current.value=""),B(null),R(null),W(),G()},ee=e=>{const n=q&&q.records.length?q.records:C;n?.length&&(null!==M?(l.keyCode.DOWN_ARROW===e&&M<n.length-1&&B(M+1),l.keyCode.UP_ARROW===e&&M>0&&B(M-1)):B(0))},ne=()=>{const i=n.current.value.trim();t.current===i||i.length<3?G():(t.current=i,k.current=new Ajax.Request(e,{method:"get",parameters:{term:n.current.value.trim()},onSuccess:K,onFailure:z,onComplete:G}))},te=(0,i.useCallback)((()=>{F.current=!1}),[F]),ie=(0,i.useCallback)((()=>{F.current=!0}),[F]),ae=(0,i.useCallback)((()=>{F.current||(n.current.blur(),N({onDocumentTouchStart:te,onDocumentTouchMove:ie,onDocumentTouchEnd:ae}))}),[F,n,te,ie]),se=(0,i.useMemo)((()=>T?U?l.Locale.getSection("components.search-bar").lmsg("fieldStubHint"):null:l.Locale.getSection("components.search-bar").lmsg("fieldStub")),[U,T]);return(0,i.useEffect)((()=>()=>{o.current&&clearTimeout(o.current),N({onDocumentTouchStart:te,onDocumentTouchMove:ie,onDocumentTouchEnd:ae})}),[ae,ie,te]),(0,i.jsx)("div",{className:"main-header-search",onTouchEnd:e=>e.stopPropagation(),children:(0,i.jsxs)("div",{className:r()("main-header-search__group",T&&"search-focused"),children:[(0,i.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!==M?V():H())},onFocus:()=>{o.current&&clearTimeout(o.current),Z(),L(!0),j.query({query:_()}).then((({data:e})=>{I(e.recentSearch)})).catch((({networkError:e,message:n})=>{e||(0,m.addToast)({intent:"danger",message:n})})),document.addEventListener("touchstart",te),document.addEventListener("touchmove",ie),document.addEventListener("touchend",ae)},onBlur:()=>{o.current&&clearTimeout(o.current),t.current="",o.current=setTimeout((()=>{Z(),L(!1)}),300)},prefix:O?(0,i.jsx)("span",{className:"main-header-search__loader"}):(0,i.jsx)(d.Icon,{name:"search"}),suffix:(0,i.jsx)(d.Icon,{name:"cross-mark",onClick:e=>e.stopPropagation()}),size:"fill"}),!T||T&&!C&&!q?null:(0,i.jsxs)(d.Menu,{id:"searchResultsBlock",className:"main-header-search-result",ref:a,children:[q?J(q):null,0===q?.records.length?(0,i.jsx)(d.MenuDivider,{}):null,q&&0!==q?.records.length?null:X(C)]})]})})};F.propTypes={url:s().string.isRequired};const D=F},(e,n,t)=>{"use strict";t.r(n),t.d(n,{toFormData:()=>i});const i=e=>{if(e instanceof FormData)return e;const n=(e,i)=>{Object.keys(e).forEach((a=>{const s=i?`${i}[${a}]`:a,o=e[a];switch(!0){case o&&"object"==typeof o:n(o,s);break;case null==o:t.append(s,"");break;default:t.append(s,o)}}))},t=new FormData;return n(e),t}},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:137}};n.loc.source={body:"query MainHeaderSearch {\n    viewer {\n        login\n        type\n    }\n    config {\n        search {\n            limit\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.MainHeaderSearch=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:124}};n.loc.source={body:"query RecentSearchQuery {\n    recentSearch {\n        title\n        link\n        details\n        icon\n        target\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.RecentSearchQuery=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:308}};n.loc.source={body:"mutation DeleteRecentSearchResult($input: DeleteRecentSearchResultInput!) {\n    deleteRecentSearchResult(input: $input) {\n        query {\n            recentSearch {\n                title\n                link\n                details\n                icon\n                target\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.DeleteRecentSearchResult=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(n,"DeleteRecentSearchResult")},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>w});var i=t(89),a=t(270),s=t(537),o=t.n(s),r=t(272),d=t.n(r),l=t(271),c=t(590),m=t(604),u=t(643),p=t(644),v=t(662),f=t(664),h=t.n(f),g=t(665),k=t.n(g);const _=i.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:t}={}}=(0,c.useQuery)(h());return t?(0,a.jsx)(l.Dropdown,{menu:(0,a.jsx)(l.Menu,{children:e.map((({title:e,href:n,icon:t,dataType:i})=>(0,a.jsx)(l.MenuItem,{component:"a",icon:t,href:n,"data-type":i,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:t.pname||t.login})})}):null};y.propTypes={items:d().array.isRequired};const E=({backToAdminLink:e,returnUrl:n,accountMenu:s,subscriptionSwitcher:r,headerCustomButtons:d,helpMenu:f})=>{const h=(0,m.useMediaQuery)("(max-width: 1310px)"),g=(0,m.useMediaQuery)("(max-width: 1140px)"),{data:{viewer:E,config:w}={}}=(0,c.useQuery)(k()),[N,F]=(0,a.useState)((()=>i.Cookie.get("theme")??w?.branding?.theme));return(0,a.useEffect)((()=>{document.querySelectorAll(".main-header-navbar-nav__item").forEach((e=>{e.dataset.description&&i.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&&r?(0,a.jsx)("li",{className:"top-webspace",children:(0,a.jsx)(u.default,{returnUrl:n,...r})}):null,"ADMIN"===E?.type&&w?.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:i,icon:s,title:r,description:d})=>(0,a.jsx)("li",{id:`extNavHeader-${e}`,className:o()("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:i,rel:i?"noopener noreferrer":null,icon:(0,a.jsx)(l.Icon,{src:"advisor-1"===e?t(666):s,alt:r}),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"===N?(0,a.jsx)(l.Icon,{children:S}):(0,a.jsx)(l.Icon,{children:b}),onClick:()=>{const e="dark"===N?"default":"dark";document.documentElement.setAttribute("data-theme",e),i.Cookie.setPermanent("theme",e,"/"),F(e)},tooltip:"dark"===N?(0,a.jsx)(_,{content:"darkThemeOff"}):(0,a.jsx)(_,{content:"darkThemeOn"}),"data-type":"dark"===N?"dark-mode-on":"dark-mode-off"})}),E.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:t(667),alt:""})})}):null]})})};E.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)},E.defaultProps={backToAdminLink:void 0,returnUrl:void 0,accountMenu:void 0,subscriptionSwitcher:void 0,helpMenu:void 0};const w=E},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>v});var i=t(270),a=t(272),s=t.n(a),o=t(581),r=t(271),d=t(89),l=t(604),c=t(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,returnUrl:t,...a})=>{const s=(0,o.useLocation)(),d=(0,l.useMediaQuery)("(max-width: 767px)"),[p,v]=(0,i.useState)(a.showAll),[f,h]=(0,i.useState)(a.currentSubscriptionId);(0,i.useEffect)((()=>{v(a.showAll),h(a.currentSubscriptionId)}),[a.showAll,a.currentSubscriptionId]);const g=p?(0,i.jsx)(m,{content:"allSubscriptions"}):e.find((({id:e})=>e===f))?.name,k=(0,i.jsx)(r.Button,{"data-type":"subscription-switcher","data-state":p?"all-subscriptions":"single-subscription",icon:"globe",tooltip:(0,i.jsx)(m,{content:"subscription"}),caret:e.length>1&&!d,tabIndex:e.length>1?null:-1,style:e.length>1?null:{pointerEvents:"none"},ghost:!0,children:d?null:(0,i.jsx)(r.Text,{truncate:!0,children:g})});return 1===e.length?k:(0,i.jsx)(r.Dropdown,{"data-type":"subscription-switcher-dropdown",menu:(0,i.jsxs)(r.Menu,{"data-type":"subscription-switcher-menu",className:"page-header-subscription-switcher-menu",children:[e.length>1?(0,i.jsx)(r.MenuItem,{component:c.default,to:e.length>n?null:"/smb/account/switch/all/true",onClick:e.length>n?null:()=>{v(!0)},disabled:e.length>n,tooltip:e.length>n?(0,i.jsx)(m,{content:"allSubscriptionsLimitOverusedDescription",params:{value:e.length,limit:n}}):null,children:(0,i.jsx)(m,{content:"allSubscriptions"})}):null,e.map((({id:e,name:n})=>(0,i.jsx)(r.MenuItem,{component:c.default,to:`/smb/account/switch/all/false/id/${e}?returnUrl=${encodeURIComponent((t||s.pathname).replace(u,`$1${e}`))}`,onClick:()=>{v(!1),h(e)},children:n},e)))]}),menuPlacement:"bottom-end",children:k})};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},p.defaultProps={limit:100,showAll:!1,currentSubscriptionId:void 0,returnUrl:void 0};const v=p},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>i.default});var i=t(645)},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>w});var i=t(270),a=t(89),s=t(271),o=t(590),r=t(613),d=t(646),l=t(649),c=t(650),m=t(651),u=t(648),p=t(658),v=t(659),f=t(660),h=t(647),g=t(655),k=t(654),_=t(531),S=t(581),b=t(661),y=t.n(b);const E=a.Locale.getTranslate("components.notification-center"),w=()=>{const[e,n]=(0,r.useModal)("notification-center-list"),[t,b]=(0,r.useModal)("notification-center-view"),[w,N]=(0,i.useState)([]),[F,D]=(0,i.useState)({}),{data:{config:P,viewer:{type:C,permissions:{manageServerNotifications:I}}}}=(0,o.useQuery)(y()),x=(0,i.useRef)([]),T=(0,S.useNavigate)();let L,O;(0,i.useEffect)((()=>(A(),P.webSocket.enabled?R():M(),()=>{O&&clearTimeout(O),L&&L.close()})),[]);const A=()=>{const e=JSON.parse(window.localStorage.getItem("notification-center-filter"))||{};D(e)},q=(0,i.useRef)();(0,i.useEffect)((()=>{q.current=e=>{N([e,...w])}}),[w]),(0,i.useEffect)((()=>{const n=w.filter((e=>!e.isViewed&&((0,h.isNotificationCritical)(e)||(0,h.isAllowedFeedbackOrPromotionNotification)(e)))).map((n=>{const t=`notification-${n.id}`;return{"data-type":"notification-toast",key:t,intent:(0,p.default)(n),accent:(0,h.isAllowedFeedbackOrPromotionNotification)(n),icon:n.contextIconUrl?(0,i.jsx)(s.Icon,{src:n.contextIconUrl,size:"64"}):void 0,message:(0,i.jsx)(f.default,{notification:n,onSelectNotification:()=>{null===e&&V(),j({notification:n,uatAdditionalData:{parents:["notification-toast","toaster"]}}),(0,_.removeToast)({key:t})}}),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})}}})),t=n.length<=3?n:[...n.slice(0,3),{key:"notification-all",message:(0,i.jsxs)("div",{className:"notification-center-toast__content",children:[(0,i.jsx)(s.Icon,{className:"notification-center-toast__content-icon",name:"list"}),(0,i.jsx)(s.Link,{onClick:()=>{V(),a.UAT.dispatchAction("NOTIFICATION_GROUP_TOAST_SHOW_ALL")},children:(0,i.jsx)(E,{content:"moreToasts",params:{total:n.length-3}})})]}),autoClosable:!1,onClose:()=>{a.UAT.dispatchAction("NOTIFICATION_GROUP_TOAST_HIDE"),U()}}];JSON.stringify(x.current)!==JSON.stringify(t)&&(x.current.forEach(_.removeToast),t.forEach(_.addToast),x.current=t)}),[w]);const R=()=>{L=a.pleskWS.bind({actions:{panel_notification_created:e=>{q.current(e)}},onOpen:()=>M()})},M=(e=0)=>{O&&clearTimeout(O),(0,l.listNotifications)(e).then((e=>{N([...e,...w])})).then((()=>{P.webSocket.enabled&&L.isReady()||(O=window.setTimeout((()=>M(w.length?w[0].id:0)),3e4))})).catch((()=>{O=window.setTimeout((()=>M(w.length?w[0].id:0)),3e4)}))},B=(e,n)=>{N(w.map((t=>e.indexOf(t.id)<0?t:{...t,...n}))),(0,l.updateNotifications)(e,n)},j=({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)},U=()=>{const e=w.filter((e=>!e.isViewed)).map((e=>e.id));B(e,{isViewed:!0})},$=e=>{N(w.filter((n=>n.id!==e))),t===e&&b(null),(0,l.deleteNotification)(e)},V=()=>{U(),n(!0)},H=()=>{b(null),n(null)},W=(0,d.default)(w,{isUnRead:!0}),K=w.find((({id:e})=>e===Number(t))),z=(0,i.jsx)(s.Badge,{label:String(W.length),intent:(0,v.default)(W),hidden:0===W.length,children:(0,i.jsx)(s.Button,{icon:"bell",onClick:null===e?V:H,ghost:!0})});return(0,i.jsx)(s.Popover,{target:z,placement:"bottom",visible:null!==e,onClose:H,width:"sm",height:600,extra:K?(0,i.jsx)(g.default,{notification:K,onUpdateNotifications:B,onRemoveNotification:$}):"ADMIN"===C&&I?(0,i.jsx)(s.Action,{icon:"gear",onClick:()=>{H(),T("/cp/notifications/panel-settings?context=tools")},children:(0,i.jsx)(E,{content:"settings"})}):null,title:K?(0,i.jsxs)("div",{className:"notification-center-heading",children:[(0,i.jsxs)("div",{className:"notification-center-heading__top",children:[(0,i.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,i.jsx)(s.Heading,{level:3,children:K.subject})]}),(0,i.jsxs)(s.Columns,{gap:"md",className:"notification-center-heading__bottom",vertical:!1,children:[(0,i.jsxs)(s.Column,{children:[(0,h.isNotificationCritical)(K)?(0,i.jsx)(s.Label,{intent:(0,p.default)(K),className:"notification-center-heading__label",children:(0,i.jsx)(E,{content:`category${K.category}`})}):null,K.context]}),(0,i.jsx)(s.Column,{children:(0,i.jsx)(k.default,{notification:K})})]})]}):(0,i.jsx)(s.Heading,{level:3,children:(0,i.jsx)(E,{content:"title"})}),"data-type":K?"notification-center-view":"notification-center-list","data-id":K?K.id:null,children:K?(0,i.jsx)(c.default,{notification:K}):(0,i.jsx)(m.default,{notifications:w,filter:F,onUpdateNotifications:B,onUpdateFilter:e=>{window.localStorage.setItem("notification-center-filter",JSON.stringify(e)),D({...F,...e})},onSelectNotification:({notification:e})=>{j({notification:e,uatAdditionalData:{parents:["notification-center-list"]}})},onRemoveNotification:$,onMarkAllAsRead:()=>{const e=w.filter((e=>!e.isRead)).map((e=>e.id));B(e,{isRead:!0})}})})}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var i=t(647);const a=(e,n)=>e.filter((e=>(!n.isUnRead||!e.isRead)&&(!n.isFavorite||e.isFavorite)&&(!n.isCritical||(0,i.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,t)=>{"use strict";t.r(n),t.d(n,{isAllowedFeedbackOrPromotionNotification:()=>s,isNotificationCritical:()=>a});var i=t(648);const a=e=>[i.NOTIFICATION_CATEGORIES.ALERT,i.NOTIFICATION_CATEGORIES.WARNING].includes(e.category),s=e=>e.isPromotion&&[i.NOTIFICATION_CATEGORIES.PROMOTION,i.NOTIFICATION_CATEGORIES.FEEDBACK].includes(e.category)},(e,n,t)=>{"use strict";t.r(n),t.d(n,{CtaPropType:()=>s,NOTIFICATION_CATEGORIES:()=>r,NOTIFICATION_INTENTS:()=>o,NotificationFilterPropType:()=>l,NotificationPropType:()=>d});var i=t(272),a=t.n(i);const s=a().shape({text:a().string.isRequired,link:a().string.isRequired}),o={DANGER:"danger",WARNING:"warning",INFO:"info",INACTIVE:"inactive"},r={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(r)).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,t)=>{"use strict";t.r(n),t.d(n,{deleteNotification:()=>o,listNotifications:()=>a,updateNotifications:()=>s});var i=t(89);const a=e=>i.api.get("/admin/notifications/list",{"filter[older]":e}),s=(e,n)=>i.api.post("/admin/notifications/update",{ids:e,...n}),o=e=>i.api.post("/admin/notifications/delete",{id:e})},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>d});var i=t(271),a=t(648),s=t(89),o=t(270);const r=({notification:{code:e,message:n,actionLink:t,actionText:a,openInNewTab:r,messageKey:d}})=>(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{dangerouslySetInnerHTML:{__html:n}}),t?(0,o.jsx)("div",{className:"notification-center-view__actions",children:(0,o.jsx)(i.Button,{"data-type":e,component:"a",intent:"primary",size:"lg",href:t,target:r?"_blank":null,rel:r?"noopener noreferrer":null,onClick:()=>((e,n)=>{s.UAT.dispatchAction("NOTIFICATION_CTA",{type:e,messageKey:n})})(e,d),children:a})}):null]});r.propTypes={notification:a.NotificationPropType.isRequired};const d=r},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>h});var i=t(271),a=t(272),s=t.n(a),o=t(89),r=t(646),d=t(648),l=t(652),c=t(653),m=t(655),u=t(656),p=t(270);const v=o.Locale.getTranslate("components.notification-center"),f=({notifications:e,filter:n,onUpdateFilter:a,onSelectNotification:s,onUpdateNotifications:d,onRemoveNotification:f,onMarkAllAsRead:h})=>{const g=(0,r.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)(i.Toolbar,{children:[(0,p.jsx)(i.ToolbarGroup,{title:"",children:(0,p.jsx)(i.Button,{"data-type":"mark-all-as-read",icon:"mail",onClick:h,children:(0,p.jsx)(v,{content:"markAllAsRead"})})}),(0,p.jsx)(i.ToolbarExpander,{}),(0,p.jsx)(i.ToolbarGroup,{title:"",children:(0,p.jsx)(u.default,{filter:n,filterCount:k,onUpdateFilter:a})}),(0,p.jsx)(i.ToolbarGroup,{title:"",children:(0,p.jsx)(i.SearchBar,{inputProps:{placeholder:o.Locale.getSection("components.notification-center").lmsg("searchPlaceholder"),value:n.search},onTyping:e=>a({search:e}),minWidth:200})})]});return(0,p.jsx)(i.List,{rowKey:"id",columns:_,data:g,expandedRows:["subject"],toolbar:S,emptyViewMode:k?"items":"all",emptyView:k?(0,p.jsx)(i.ListEmptyView,{reason:"filtered",title:(0,p.jsx)(v,{content:"listFilteredTitle"}),description:(0,p.jsx)(v,{content:"listFilteredDescription"})}):(0,p.jsx)(i.ListEmptyView,{title:(0,p.jsx)(v,{content:"listEmptyTitle"}),image:t(657),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},f.defaultProps={filter:null};const h=f},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>p});var i=t(271),a=t(272),s=t.n(a),o=t(89),r=t(648),d=t(270);const l=o.Locale.getTranslate("components.notification-center"),c=({category:e,isRead:n})=>{if(n)return"inactive";switch(e){case r.NOTIFICATION_CATEGORIES.ALERT:return"danger";case r.NOTIFICATION_CATEGORIES.WARNING:return"warning";case r.NOTIFICATION_CATEGORIES.INFORMATION:case r.NOTIFICATION_CATEGORIES.FEEDBACK:case r.NOTIFICATION_CATEGORIES.PROMOTION:return"info"}return"inactive"},m=({category:e})=>{switch(e){case r.NOTIFICATION_CATEGORIES.ALERT:return"danger";case r.NOTIFICATION_CATEGORIES.WARNING:return"warning";case r.NOTIFICATION_CATEGORIES.PROMOTION:return"info";case r.NOTIFICATION_CATEGORIES.INFORMATION:case r.NOTIFICATION_CATEGORIES.FEEDBACK:return"inactive"}return"inactive"},u=({notification:e,onSelectNotification:n,onUpdateNotifications:t})=>{const{id:a,subject:s,context:o,isRead:r}=e;return(0,d.jsx)(i.Media,{image:(0,d.jsx)(i.Tooltip,{title:(0,d.jsx)(l,{content:r?"markAsUnread":"markAsRead"}),children:(0,d.jsx)(i.Status,{intent:c(e),compact:!0,onClick:()=>t([a],{isRead:!r}),className:"list-context-actions","data-type":`notification-is-read-${r}`})}),children:(0,d.jsxs)("div",{onClick:()=>n({notification:e}),className:"list-context-actions",children:[(0,d.jsx)(i.Text,{intent:m(e),children:o}),(0,d.jsx)("br",{}),(0,d.jsx)(i.Text,{intent:m(e),bold:!r,children:s})]})})};u.propTypes={notification:r.NotificationPropType.isRequired,onSelectNotification:s().func.isRequired,onUpdateNotifications:s().func.isRequired};const p=u},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>l});var i=t(272),a=t.n(i),s=t(648),o=t(654),r=t(270);const d=({notification:e,onSelectNotification:n})=>(0,r.jsx)(o.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,t)=>{"use strict";t.r(n),t.d(n,{default:()=>l});var i=t(271),a=t(89),s=t(648),o=t(270);const r=a.Locale.getTranslate("components.notification-center"),d=({notification:e,...n})=>{const{displayDate:t}=e,a=new Date,s=new Date(t);return s.getDate()===a.getDate()&&s.getMonth()===a.getMonth()&&s.getFullYear()===a.getFullYear()?(0,o.jsx)(r,{component:i.Text,nowrap:!0,content:"timeFormat",params:{hours:`0${s.getHours()}`.slice(-2),minutes:`0${s.getMinutes()}`.slice(-2)},...n}):(0,o.jsx)(r,{component:i.Text,nowrap:!0,content:"dateFormat",params:{day:s.getDate(),month:(0,o.jsx)(r,{content:`month${s.getMonth()}`})},...n})};d.propTypes={notification:s.NotificationPropType.isRequired};const l=d},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>m});var i=t(272),a=t.n(i),s=t(271),o=t(89),r=t(648),d=t(270);const l=o.Locale.getTranslate("components.notification-center"),c=({notification:{id:e,isFavorite:n,code:t},onUpdateNotifications:i,onRemoveNotification:a})=>(0,d.jsxs)(s.ListActions,{children:[(0,d.jsx)(s.ListAction,{"data-action":n?"NOTIFICATION_UNFAVORITE":"NOTIFICATION_FAVORITE","data-type":t,icon:n?"star-filled":"star",primary:!0,onClick:()=>i([e],{isFavorite:!n}),children:(0,d.jsx)(l,{content:n?"unfavoriteNotification":"favoriteNotification"})}),(0,d.jsx)(s.ListAction,{"data-action":"NOTIFICATION_DELETE","data-type":t,icon:"recycle",primary:!0,onClick:()=>a(e),children:(0,d.jsx)(l,{content:"deleteNotification"})})]});c.propTypes={notification:r.NotificationPropType.isRequired,onUpdateNotifications:a().func.isRequired,onRemoveNotification:a().func.isRequired};const m=c},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>m});var i=t(271),a=t(272),s=t.n(a),o=t(89),r=t(648),d=t(270);const l=o.Locale.getTranslate("components.notification-center"),c=({filter:e,filterCount:n,onUpdateFilter:t})=>{const a=(0,d.jsxs)(i.Menu,{children:[(0,d.jsx)(i.MenuItem,{icon:e&&e.isUnRead?"check-mark":null,onClick:()=>t({isUnRead:!e.isUnRead,isCritical:!1,isFavorite:!1}),children:(0,d.jsx)(l,{content:"filterUnread"})}),(0,d.jsx)(i.MenuItem,{icon:e&&e.isCritical?"check-mark":null,onClick:()=>t({isUnRead:!1,isCritical:!e.isCritical,isFavorite:!1}),children:(0,d.jsx)(l,{content:"filterCritical"})}),(0,d.jsx)(i.MenuItem,{icon:e&&e.isFavorite?"check-mark":null,onClick:()=>t({isUnRead:!1,isCritical:!1,isFavorite:!e.isFavorite}),children:(0,d.jsx)(l,{content:"filterFavorite"})}),(0,d.jsx)(i.MenuDivider,{}),(0,d.jsx)(i.MenuItem,{icon:"remove",onClick:()=>t({search:"",isUnRead:!1,isCritical:!1,isFavorite:!1}),children:(0,d.jsx)(l,{content:"filterReset"})})]});return(0,d.jsx)(i.Badge,{intent:"info",hidden:0===n,children:(0,d.jsx)(i.Dropdown,{menu:a,children:(0,d.jsx)(i.Button,{icon:"filter",children:(0,d.jsx)(l,{content:"filterButton"})})})})};c.propTypes={filter:r.NotificationFilterPropType.isRequired,filterCount:s().number.isRequired,onUpdateFilter:s().func.isRequired};const m=c},e=>{e.exports=Jsw.skinUrl+"/images/notification-center-empty.svg?681835d816561968b04d20ec8652c09c"},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});var i=t(648);const a=e=>{switch(e.category){case i.NOTIFICATION_CATEGORIES.ALERT:return i.NOTIFICATION_INTENTS.DANGER;case i.NOTIFICATION_CATEGORIES.WARNING:return i.NOTIFICATION_INTENTS.WARNING;case i.NOTIFICATION_CATEGORIES.FEEDBACK:case i.NOTIFICATION_CATEGORIES.PROMOTION:return i.NOTIFICATION_INTENTS.INFO}return i.NOTIFICATION_INTENTS.INACTIVE}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>s});var i=t(648),a=t(658);const s=e=>{const n=e.map(a.default);switch(!0){case n.includes(i.NOTIFICATION_INTENTS.DANGER):return i.NOTIFICATION_INTENTS.DANGER;case n.includes(i.NOTIFICATION_INTENTS.WARNING):return i.NOTIFICATION_INTENTS.WARNING;case n.includes(i.NOTIFICATION_INTENTS.INFO):return i.NOTIFICATION_INTENTS.INFO}return i.NOTIFICATION_INTENTS.INACTIVE}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>m});var i=t(271),a=t(270),s=t(272),o=t.n(s),r=t(89),d=t(648);const l=r.Locale.getTranslate("components.notification-center"),c=({notification:e,onSelectNotification:n})=>{const{subject:t,context:s,code:o,createdAt:d,messageKey:c}=e;return(0,a.useEffect)((()=>{r.UAT.dispatchAction("NOTIFICATION_TOAST_SHOW",{createdAt:d,messageKey:c,type:o})}),[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.Text,{children:s}),(0,a.jsx)("br",{}),(0,a.jsx)(i.Text,{bold:!0,children:t}),(0,a.jsx)("br",{}),(0,a.jsx)(i.Link,{"data-type":"notification-toast-details-link",onClick:n,children:(0,a.jsx)(l,{content:"learnMore"})})]})};c.propTypes={notification:d.NotificationPropType.isRequired,onSelectNotification:o().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:214}};n.loc.source={body:"query NotificationCenter {\n    config {\n        webSocket {\n            enabled\n        }\n    }\n    viewer {\n        login\n        type\n        permissions {\n            manageServerNotifications\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.NotificationCenter=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(n,"NotificationCenter")},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>v});var i=t(270),a=t(272),s=t.n(a),o=t(590),r=t(271),d=t(89),l=t(663),c=t.n(l);const m=d.Locale.getTranslate("components.shortcuts"),u=(0,i.lazy)((()=>t.e("components/layouts/page-layout/help-drawer").then(t.bind(t,2022)))),p=({helpUrl:e,customHelpUrl:n,helpContext:t,helpModule:a,searchQuery:s})=>{const{data:{viewer:d,mode:l,config:p}={}}=(0,o.useQuery)(c()),[v,f]=(0,i.useState)(!1),[h,g]=(0,i.useState)(v),k=()=>{f(!0),g(!0)},_=()=>{f(!1)};return e&&!l?.isClassicPanel&&(t&&(e+=`/plesk-context/${t}`),a&&(e+=`/plesk-module/${a}`)),n||e||(e=`/help.php?context=${encodeURIComponent(t)}`,a&&(e+=`&module=${encodeURIComponent(a)}`)),"ADMIN"===d?.type?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.Button,{id:"help-menu","data-help-context":t,"data-help-prefix":d?.type,"data-help-module":a,ghost:!0,icon:"question-mark-circle",onClick:k}),h?(0,i.jsx)(i.Suspense,{children:(0,i.jsx)(u,{helpUrl:n||e,searchQuery:p.help.enableSearchPrefill&&s||"",isOpen:v,onClose:_})}):null]}):(0,i.jsx)(r.Button,{id:"help-menu",ghost:!0,icon:"question-mark-circle","data-type":"link-read-manual","data-help-context":t,"data-help-prefix":d?.type,"data-help-module":a,component:"a",href:n||e,target:"_blank",rel:"noopener noreferrer",tooltip:(0,i.jsx)(m,{content:"readManual"})})};p.propTypes={helpUrl:s().string,customHelpUrl:s().string,helpContext:s().string,helpModule:s().string,searchQuery:s().string},p.defaultProps={helpUrl:void 0,customHelpUrl:void 0,helpContext:void 0,helpModule:void 0,searchQuery:void 0};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:560}};n.loc.source={body:"query HelpMenu {\n    viewer {\n        login\n        type\n    }\n    primaryKey {\n        pleskKeyId\n        editionName\n    }\n    server {\n        productVersion {\n            name\n            version\n            patch\n        }\n    }\n    config {\n        extensions {\n            developerGuideUrl\n        }\n        feedback {\n            enabled\n            forumUrl\n        }\n        help {\n            helpCenterUrl\n            enableSearchPrefill\n        }\n    }\n    mode {\n        isClassicPanel\n        isLicenseDeveloper\n        isLicenseLocked\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.HelpMenu=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:69}};n.loc.source={body:"query AccountMenu {\n    viewer {\n        pname\n        login\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.AccountMenu=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:276}};n.loc.source={body:"query MainHeaderNavbar {\n    viewer {\n        login\n        type\n        logo {\n            isCustom\n        }\n    }\n    config {\n        notification {\n            panel {\n                enabled\n            }\n        }\n        branding {\n            theme\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.MainHeaderNavbar=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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,t)=>{"use strict";t.r(n),t.d(n,{default:()=>w});var i=t(270),a=t(272),s=t.n(a),o=t(675),r=t(582),d=t(581),l=t(537),c=t.n(l),m=t(271),u=t(89),p=t(604),v=t(669),f=t(671),h=t(633),g=t(590),k=t(674),_=t.n(k);const S=({id:e,styleClass:n,active:t,disabled:a,name:s,conhelp:o,link:r,target:d,custom:l,icon:p,label:v,onClick:f})=>(0,i.jsx)(m.Tooltip,{title:o,children:(0,i.jsx)("li",{id:e||null,className:c()(!e&&n,t&&"active",a&&"page-sidebar-menu-item--disabled"),children:(0,i.jsxs)(h.default,{to:(0,u.prepareUrl)(r),target:d,onClick:f,disabled:a,children:[(0,i.jsx)("i",{className:n?`icon-${n.split(" ")[0]}`:null,style:l?{backgroundImage:`url('${p}')`}:null}),(0,i.jsxs)("span",{className:"title",children:[(0,i.jsx)("span",{className:"title-name",children:s}),!!v&&(0,i.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},S.defaultProps={id:void 0,styleClass:void 0,active:!1,disabled:!1,target:void 0,custom:!1,icon:void 0,label:void 0,onClick:void 0};const b=({id:e,name:n,nodes:t,activeNode:a,statistics:s,isSidebarClosed:r,onNodeClick:d})=>{const l=(0,i.useRef)(null),c=e.toString().replace("_","-"),[u,v]=(0,p.useLocalStorage)(`menu-group-${c}-hidden`);let f=(0,i.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,i.jsx)("span",{className:"menu-group-toggle"}),(0,i.jsx)("span",{className:"menu-group-name",children:n})]});return r&&n&&(f=(0,i.jsx)(m.Tooltip,{title:n,children:f})),(0,i.jsxs)("li",{className:`menu-group-${c}`,children:["general"===e?null:f,t&&Object.keys(t).length?(0,i.jsx)(o.default,{nodeRef:l,in:"true"!==u,timeout:200,mountOnEnter:!0,unmountOnExit:!0,children:(0,i.jsx)("ul",{ref:l,className:"sub-menu",id:`menuId-${c}`,children:Object.entries(t).map((([e,{conhelp:n,...t}])=>(0,i.jsx)(S,{active:e===a,conhelp:r?t.name:n,onClick:d,label:s?.[(e??"").replace(/([-_]\w)/g,(e=>e[1].toUpperCase()))],...t},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},b.defaultProps={activeNode:void 0,statistics:void 0,onNodeClick:null,name:null};const y=e=>{for(const n of e){const e=Object.values(n.nodes).find((e=>e.link));if(e)return e.link}},E=({title:e,navigation:n,navigationContext:t,breadcrumbs:a,viewSwitcher:s,isPowerUserPanel:o,showStatistics:l,isClosed:m,onNodeClick:u})=>{const p=(0,d.useLocation)(),{data:{viewer:{statistics:h}={}}={}}=(0,g.useQuery)(_(),{skip:!l}),k=(0,i.useMemo)((()=>{const e=e=>e.match(/\/modules\/([^/]+)/)?.[1],t=(0,r.parsePath)(a?.[o||a.length<2?0:1]?.href??"").pathname??"",i=e(t),s=p.pathname,d=e(s);for(const a of n){const n=Object.entries(a.nodes).find((([,n])=>{const a=(0,r.parsePath)(n.link).pathname;if(!a)return!1;if((0,r.matchPath)(a,t)||s.startsWith(a))return!0;const o=e(a);return!!o&&(o===i||o===d)}));if(n)return n[0]}}),[n,a,o,p.pathname]);return(0,i.jsxs)("div",{className:c()("page-sidebar",m&&"page-sidebar--folded"),"data-type":"page-sidebar",children:[(0,i.jsxs)("div",{className:"page-sidebar__content",children:[(0,i.jsx)("div",{className:"page-sidebar-brand",children:m?(0,i.jsx)("div",{className:"brand-collapsed",children:e[0]||"P"}):(0,i.jsx)(f.default,{href:y(n)})}),(0,i.jsx)("div",{className:"page-sidebar-menu-wrapper",children:(0,i.jsx)("ul",{className:"page-sidebar-menu",children:n.map((({id:e,...n})=>(0,i.jsx)(b,{id:e,isSidebarClosed:m,onNodeClick:u,activeNode:k||t,statistics:"hosting"===e?h:null,...n},e)))})})]}),s?(0,i.jsx)("div",{className:"page-sidebar-footer-wrapper",children:(0,i.jsx)("div",{className:"page-sidebar-footer",children:(0,i.jsx)(v.default,{...s})})}):null]})};E.propTypes={title:s().string.isRequired,logo:s().object,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},E.defaultProps={logo:void 0,navigationContext:void 0,breadcrumbs:[],viewSwitcher:void 0,isPowerUserPanel:!1,showStatistics:!1,isClosed:!1,onNodeClick:void 0};const w=E},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>c});var i=t(270),a=t(272),s=t.n(a),o=t(271),r=t(89);const d=r.Locale.getTranslate("components.view-switcher"),l=({isPowerUserPanel:e,showPowerUserViewWarning:n,learnMoreUrl:a,hideSwitcherUrl:s,changeViewUrl:l})=>{const[c,m]=(0,i.useState)(!0),[u,p]=(0,i.useState)(!1),v=(0,i.useRef)(),f=async e=>{e.preventDefault();const{redirect:n}=await r.api.post(l);n&&(0,r.redirect)(n)},h=e=>{e.preventDefault(),(0,r.redirect)(a)},g=()=>{setTimeout((()=>{p(!1)}),0)};return c?(0,i.jsxs)("div",{className:"view-switcher",children:[(k=(0,i.jsxs)("button",{type:"button",className:"view-switcher__button",onClick:()=>{p(!u)},"data-action":"toggle-view-switcher",ref:v,children:[(0,i.jsx)(o.Icon,{src:t(670),className:"view-switcher__button-icon"}),(0,i.jsx)(d,{content:"title",className:"view-switcher__button-text",component:"span"})]}),(0,i.jsxs)(o.Popover,{visible:u,target:k,targetRef:v,title:(0,i.jsx)(d,{content:"title"}),placement:"top-right",onClose:g,canCloseOnOutsideClick:!0,canCloseOnEscapePress:!0,boundariesElement:document.querySelector(".pul-layout"),"data-type":"view-switcher",children:[(0,i.jsx)(d,{content:"currentViewMessage",params:{view:(0,i.jsx)(d,{content:e?"powerUserView":"serviceProviderView"}),hint:(0,i.jsx)(d,{content:e?"powerUserViewHint":"serviceProviderViewHint"})}}),(0,i.jsx)("p",{children:(0,i.jsx)(d,{content:"actionMessage",params:{switchLink:(0,i.jsx)("a",{onClick:f,href:"#","data-action":e?"to-service-provider":"to-power-user",children:(0,i.jsx)(d,{content:"switchView",params:{view:(0,i.jsx)(d,{content:e?"serviceProviderView":"powerUserView"})}})}),recommended:(0,i.jsx)(d,{content:e?"serviceProviderViewRecommended":"powerUserViewRecommended"}),helpLink:(0,i.jsx)("a",{href:"#",onClick:h,"data-action":"learn-more",children:(0,i.jsx)(d,{content:"learnMore"})})}})}),n&&(0,i.jsx)(o.Hint,{children:(0,i.jsx)(o.Status,{intent:"info",children:(0,i.jsx)(d,{content:"powerUserViewWarning"})})})]})),(0,i.jsx)("button",{type:"button",className:"view-switcher__close",onClick:()=>{const e=r.Locale.getSection("components.view-switcher");r.messageBox.show({type:r.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),r.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,t)=>{"use strict";t.r(n),t.d(n,{default:()=>i.default});var i=t(672)},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>p});var i=t(272),a=t.n(i),s=t(537),o=t.n(s),r=t(590),d=t(633),l=t(673),c=t.n(l),m=t(270);const u=({baseClassName:e,className:n,href:t})=>{const{data:{viewer:{logo:{image:i,imageAlt:a,url:s,edition:l}}}}=(0,r.useQuery)(c()),u=s||t?d.default:"span";return(0,m.jsxs)(u,{className:o()(e,n),to:s||t,target:s?"_blank":void 0,children:[(0,m.jsx)("img",{className:`${e}__logo`,src:i,alt:a}),l?(0,m.jsx)("span",{className:`${e}__edition`,children:l}):null]})};u.propTypes={href:a().string,className:a().string,baseClassName:a().string},u.defaultProps={href:void 0,className:void 0,baseClassName:"brand"};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:172}};n.loc.source={body:"query Branding {\n    viewer {\n        login\n        customTitle\n        logo {\n            image\n            imageAlt\n            url\n            edition\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.Branding=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:198}};n.loc.source={body:"query MainMenu {\n    viewer {\n        login\n        statistics {\n            customers\n            resellers\n            subscriptions\n            domains\n            servicePlans\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.MainMenu=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(n,"MainMenu")},,,,,,,,(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>c});var i=t(590),a=t(89),s=t(633),o=t(683),r=t.n(o),d=t(270);const l=a.Locale.getTranslate("components.shortcuts"),c=()=>{const{data:{viewer:e,config:n}={}}=(0,i.useQuery)(r());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:484}};n.loc.source={body:"query PageFooter {\n    viewer {\n        login\n        type\n    }\n    config {\n        product {\n            siteUrl\n            supportUrl\n        }\n        promos {\n            pleskFooter\n        }\n        feedback {\n            userVoice\n            userVoiceUrl\n        }\n        facebook {\n            showLikeLink\n            pleskPage\n        }\n        twitter {\n            showFollowLink\n            pleskPage\n        }\n        rating {\n            enabled\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.PageFooter=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(n,"PageFooter")},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>p});var i=t(272),a=t.n(i),s=t(271),o=t(633),r=t(685),d=t(686),l=t(526),c=t(630),m=t(270);const u=({breadcrumbs:e,tabs:n,tabsHasRootPage:t,navigationTabs:i,hidePathbar:a,hideHeading:u,wizardTitle:p,pageTitle:v,pageSubtitle:f,titleRightAddon:h,objectSwitcherParams:g,forceObjectSwitcher:k,isClassicMode:_,additionalTitleContent:S,className:b})=>{let y=(e=Array.isArray(e)?[...e]:[]).pop(),E=k,w=null,N=null;y&&n&&t&&(y=e.pop(),v||(v=y.title)),y&&i&&(y=e.pop(),E=-1!==(v=y.title).indexOf("</b>"));const F=v&&v.match(/<b>(.+)<\/b>/i);if(F){w=F[1],N=v.substr(F.index+F[0].length),v=v.substr(0,F.index);const n=e[e.length-1];n&&w===(0,l.default)(n.title)?(w=(0,m.jsx)(o.default,{to:n.href,dangerouslySetInnerHTML:{__html:(0,l.default)(n.title)}}),e.pop(),E=!0):w=(0,m.jsx)("span",{className:"page-content-header__title",dangerouslySetInnerHTML:{__html:w}})}return!a&&!e.length||!u||_&&i?(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)(o.default,{to:n,dangerouslySetInnerHTML:{__html:(0,l.default)(e)}},n)))}):null,tabs:_&&i?(0,m.jsx)(d.default,{items:i}):null,title:u?null:(0,m.jsxs)("div",{children:[p?(0,m.jsx)(s.Heading,{children:p}):null,w?(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,w,g&&E?(0,m.jsx)(r.default,{...g}):null,N,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(r.default.propTypes),forceObjectSwitcher:a().bool,isClassicMode:a().bool,additionalTitleContent:a().string,className:a().string},u.defaultProps={breadcrumbs:[],tabs:null,tabsHasRootPage:!1,navigationTabs:null,hidePathbar:!1,hideHeading:!1,wizardTitle:null,pageTitle:null,pageSubtitle:null,titleRightAddon:null,objectSwitcherParams:null,forceObjectSwitcher:!1,isClassicMode:!1,additionalTitleContent:null,className:"page-content-header"};const p=u},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>l});var i=t(270),a=t(272),s=t(89),o=t(630),r=t(616);const d=({locale:e,limit:n,lookUpParams:t,dataUrl:a,listUrl:d,owner:l,itemUrlTemplate:c})=>{const[m,u]=(0,i.useState)(null),p=(0,r.default)();return(0,i.useEffect)((()=>{const i=new s.ObjectSwitcher({locale:e,limit:n,lookUpParams:t,dataUrl:a,listUrl:d,owner:l,itemUrlTemplate:c,navigate:p});return u(i),()=>{(0,s.registerComponent)(i.getId()),u(null)}}),[e,n,t,a,d,l,c,p]),m?(0,i.jsx)(o.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},d.defaultProps={owner:null};const l=d},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>c});var i=t(270),a=t(272),s=t.n(a),o=t(271),r=t(633),d=t(89);const l=({items:e})=>{const n=(0,i.useRef)(null),t=(0,i.useMemo)((()=>e.findIndex((({containerCls:e})=>e.split(" ").includes("active")))+1),[e]);return(0,i.useEffect)((()=>{if(!n.current)return;const e=n.current,t=e.querySelector(".page-content-header-nav__tabs"),i=document.querySelector(".pul-layout__header-inner"),a="page-content-header-nav--sticky",s=()=>{const n=t.getBoundingClientRect(),s=i.getBoundingClientRect(),o=(window.scrollY||window.pageYOffset)+e.getBoundingClientRect().top;document.documentElement.scrollTop>o-s.height?(e.classList.add(a),e.style.minHeight=`${n.height}px`,t.style.top=`${s.height}px`):(e.classList.remove(a),e.style.minHeight=null,t.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,i.jsx)("div",{id:"classic-mode-navigation",className:"page-content-header-nav",ref:n,children:(0,i.jsx)(o.Tabs,{className:"page-content-header-nav__tabs",active:t,children:e.map((({title:e,href:n},t)=>(0,i.jsx)(o.Tab,{"data-cy":e,title:e,component:r.default,to:(0,d.prepareUrl)(n)},t)))})}):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,t)=>{"use strict";t.r(n),t.d(n,{default:()=>s});var i=t(89),a=t(526);const s=({wizardTitle:e,pageTitle:n,breadcrumbs:t=[]})=>{t=t&&Array.isArray(t)?t:[];let s,o=e??n??t[t.length-1]?.title??"";const r=o.match(/<b>(.+)<\/b>/i);r&&(s=r[1],o=o.substring(0,r.index).trim());const d=o.match(/(<a(.+)<\/a>)/);return d&&(d.index+d[0].length===o.length&&(s=(0,a.default)(d[0])),o=o.replace(d[0],"").trim()),s&&(o=o.substring(0,o.lastIndexOf(" "))),""===o&&t.length>2&&(o=t[t.length-2]?.title??""),(0,a.default)((0,i.unescapeHtml)(o)).trim()}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>s});var i=t(597),a=t(270);const s=(e,n)=>{const t=t=>{const{baseUrl:s,showFrames:o,pageHeader:r,pageSidebar:d,pageContentHeader:l,pageTitle:c,withSecondary:m,secondary:u,isSecondaryCollapsed:p,width:v,bodyClass:f,integrationClass:h,...g}={...t,..."function"==typeof n?n(t):n};return(0,a.jsx)(i.default,{baseUrl:s,showFrames:o,pageHeader:r,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 t.displayName=`withPageLayout(${e.displayName||e.name||"Component"})`,t.WrappedComponent=e,t}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>o});var i=t(89),a=t(313),s=t(688);const o=(e,n)=>(0,s.default)(e,(e=>{const{showFrames:t,pageHeader:s,pageSidebar:o}=(0,a.default)(),{breadcrumbs:r,helpContext:d}="function"==typeof n?n(e):n,l=r[r.length-1].title;return{...e,showFrames:t,pageHeader:{...s,helpMenu:{...s.helpMenu,helpContext:d}},pageSidebar:o,pageContentHeader:{pageTitle:l,breadcrumbs:[o.isPowerUserPanel?null:{title:i.Locale.getSection("components.pages.home").lmsg("title"),href:"/admin/home"},...r].filter(Boolean)},pageTitle:l}}))},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});var i=t(581),a=t(313),s=t(596),o=t(270);const r=()=>{const e=(0,a.usePageData)();return(0,o.jsx)(s.default,{...e,children:(0,o.jsx)(i.Outlet,{})})}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>c});var i=t(581),a=t(582),s=t(271),o=t(89),r=t(692),d=t(265),l=t(270);const c=()=>{const e=(0,i.useRouteError)();if(console.error(e),(0,a.isRouteErrorResponse)(e)&&404===e.status)return(0,l.jsx)(s.LocaleProvider,{messages:o.Locale.getSection("controllers.error.error").messages,children:(0,l.jsx)(r.default,{code:"404",message:"Page Not Found"})});if(e.graphQLErrors?.length){const[n]=e.graphQLErrors;return(0,l.jsx)(s.LocaleProvider,{messages:o.Locale.getSection("controllers.error.error").messages,children:(0,l.jsx)(r.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:t},i)=>`#${i} ${n}(${t}): ${e}`)).join("\n")}})})}return(0,l.jsx)(s.LocaleProvider,{messages:o.Locale.getSection("controllers.error.error").messages,children:(0,l.jsx)(r.default,{isNetworkError:(0,d.isNetworkError)(e),exception:{type:e.name,message:e.message,stackTrace:e.stack}})})}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>f});var i=t(272),a=t.n(i),s=t(537),o=t.n(s),r=t(271),d=t(693),l=t(694),c=t(695),m=t(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)(r.Button,{className:c.default.action,onClick:()=>window.location.reload(),children:(0,m.jsx)(r.Translate,{content:"reloadPage"})}),(0,m.jsx)(r.Button,{className:c.default.action,onClick:()=>window.history.back(),children:(0,m.jsx)(r.Translate,{content:"backToPreviousPage"})}),(0,m.jsx)(r.Button,{className:c.default.action,component:"a",href:"/",children:(0,m.jsx)(r.Translate,{content:"homePage"})})]}),v=({code:e,message:n,noRepairKit:t,kbArticleUrl:i,exception:a,isNetworkError:s})=>(0,m.jsxs)("div",{className:c.default.page,children:[(0,m.jsx)("div",{className:o()(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)(r.Heading,{children:(0,m.jsx)(r.Text,{intent:"danger",children:(0,m.jsx)(r.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)(r.Translate,{content:"networkErrorDescription"}),(0,m.jsx)("br",{}),(0,m.jsx)(r.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)(r.Heading,{component:"h1",level:2,children:n})}),(0,m.jsxs)("main",{children:[(0,m.jsx)(r.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)(r.Button,{className:c.default.action,onClick:()=>window.location.reload(),children:(0,m.jsx)(r.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)(r.Translate,{content:"title"})}):null,(0,m.jsx)(r.Heading,{children:(0,m.jsxs)(r.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)&&!t?(0,m.jsx)(d.default,{}):null,(0,m.jsxs)("div",{className:c.default.actions,children:[(0,m.jsxs)("p",{children:[(0,m.jsx)(r.Translate,{content:"reportErrorMessage"})," ",(0,m.jsx)("a",{href:"https://www.plesk.com/bug-report/",target:"_blank",rel:"noopener noreferrer",children:(0,m.jsx)(r.Translate,{content:"visitHelpCenter"})})]}),(0,m.jsx)("p",{children:(0,m.jsx)(r.Translate,{content:"helpActions"})}),p,i?(0,m.jsx)(r.Button,{className:c.default.action,component:"a",href:i,target:"_blank",rel:"noopener noreferrer",children:(0,m.jsx)(r.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)(r.Icon,{size:"32",src:"/error_docs/images/report.svg"}),(0,m.jsx)(r.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)(r.Icon,{size:"32",src:"/error_docs/images/documentation.svg"}),(0,m.jsx)(r.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)(r.Icon,{size:"32",src:"/error_docs/images/knowledge-base.svg"}),(0,m.jsx)(r.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)(r.Icon,{size:"32",src:"/error_docs/images/forum.svg"}),(0,m.jsx)(r.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)(r.Icon,{size:"32",src:"/error_docs/images/youtube.svg"}),(0,m.jsx)(r.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)(r.Icon,{size:"32",src:"/error_docs/images/facebook.svg"}),(0,m.jsx)(r.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},v.defaultProps={code:null,noRepairKit:!1,kbArticleUrl:null,exception:null,isNetworkError:!1};const f=v},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>s});var i=t(271),a=t(270);const s=()=>(0,a.jsx)(i.Alert,{intent:"info",children:(0,a.jsx)(i.Media,{image:(0,a.jsx)(i.Icon,{src:"/error_docs/images/go-to-repair.png",size:"64"}),children:0===window.location.pathname.indexOf("/repair")?(0,a.jsx)(i.MediaSection,{children:(0,a.jsx)(i.Translate,{content:"repairKitUnavailable"})}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(i.MediaSection,{children:[(0,a.jsx)(i.Translate,{content:"repairKitDescription"}),(0,a.jsx)("br",{}),(0,a.jsx)(i.Translate,{content:"repairKitAdminDescription"})]}),(0,a.jsx)(i.MediaSection,{children:(0,a.jsx)(i.Button,{component:"a",intent:"primary",href:"/repair",children:(0,a.jsx)(i.Translate,{content:"repairKitOpen"})})}),(0,a.jsx)(i.MediaSection,{children:(0,a.jsx)(i.Text,{intent:"muted",children:(0,a.jsx)(i.Translate,{content:"repairKitOpenNote"})})})]})})})},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>d});var i=t(272),a=t.n(i),s=t(271),o=t(270);const r=({type:e,message:n,file:t,line:i,stackTrace:a,codeFragment:r})=>{const d=[{key:"type",title:"Type",value:e},{key:"message",title:"Message",value:n},{key:"file",title:"File",value:t},{key:"line",title:"Line",value:i},{key:"stackTrace",title:"Stack trace",value:a&&(0,o.jsx)(s.ConsoleOutput,{wide:!0,children:a})},{key:"codeFragment",title:"Code fragment",value:r&&(0,o.jsx)(s.ConsoleOutput,{wide:!0,children:(0,o.jsx)("div",{dangerouslySetInnerHTML:{__html:r}})})}].filter((({value:e})=>e));return d.length?(0,o.jsx)(s.List,{columns:[{key:"title",render:e=>(0,o.jsx)(s.Text,{bold:!0,children:e.title})},{key:"value"}],data:d}):null};r.propTypes={type:a().string.isRequired,message:a().string.isRequired,file:a().string.isRequired,line:a().string.isRequired,stackTrace:a().string,codeFragment:a().string},r.defaultProps={stackTrace:null,codeFragment:null};const d=r},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>i});const i={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,t)=>{"use strict";t.r(n),t.d(n,{default:()=>s});var i=t(270),a=t(89);const s=()=>((0,i.useLayoutEffect)((()=>()=>{(0,a.getComponent)("log-browser")?.remove()}),[]),null)},(e,n,t)=>{"use strict";t.r(n),t.d(n,{GraphQlList:()=>i.default,readGraphQlListInputFromStorage:()=>s.readGraphQlListInputFromStorage,useGraphQlList:()=>a.default});var i=t(698),a=t(701),s=t(702)},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>c});var i=t(272),a=t.n(i),s=t(271),o=t(699),r=t(700),d=t(270);const l=({onSortChange:e,filtered:n,pagination:t,emptyView:i,emptyViewFiltered:a,listContext:r,...l})=>{const{paginationProps:c,setSort:m}=r,u=n||l.loading;return(0,d.jsx)(o.GraphQlListContext.Provider,{value:r,children:(0,d.jsx)(s.List,{filtered:u,pagination:t||c&&(0,d.jsx)(s.Pagination,{...c}),emptyView:u?a:i,...l,onSortChange:(...n)=>{e?.(...n);const[t]=n;m({[t.sortColumn]:t.sortDirection})}})})};l.propTypes={onSortChange:a().func,listContext:a().object.isRequired,filtered:a().bool,pagination:a().node,emptyView:a().node,emptyViewFiltered:a().node},l.defaultProps={onSortChange:void 0,filtered:void 0,pagination:void 0,emptyView:void 0,emptyViewFiltered:void 0},l.SearchBar=r.default;const c=l},(e,n,t)=>{"use strict";t.r(n),t.d(n,{GraphQlListContext:()=>i});const i=(0,t(270).createContext)()},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>l});var i=t(270),a=t(272),s=t.n(a),o=t(271),r=t(699);const d=({name:e,onSearch:n,onTyping:t,...a})=>{const{listInput:s,setSearchFilters:d}=(0,i.useContext)(r.GraphQlListContext),[l,c]=(0,i.useState)(s.searchFilters?.[e]);return(0,i.jsx)(o.SearchBar,{inputProps:{value:l},...a,onTyping:(...e)=>{t?.(...e);const[n]=e;c(n)},onSearch:(...t)=>{n?.(...t);const[i]=t;c(i),d((n=>({...n,[e]:i})))}})};d.propTypes={name:s().string.isRequired,onSearch:s().func,onTyping:s().func},d.defaultProps={onSearch:void 0,onTyping:void 0};const l=d},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>d});var i=t(270),a=t(590),s=t(604),o=t(702);const r=[10,25,100,"all"],d=({key:e,defaultInput:n,query:t,variables:d={},withNetworkOnlyStrategy:l=!1,onListInputChange:c,withPagination:m=!0,extractList:u})=>{const[p,v]=(0,i.useState)(),[f,h]=(0,s.useLocalStorage)(...(0,o.getGraphQlListInputStorageArgs)({key:e,withPagination:m,defaultInput:n})),g=(0,a.useQuery)(t,{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}),E=e=>S({...f,pagination:{...f.pagination,page:e}}),w=e=>S({...f,pagination:{page:1,itemsPerPage:"all"===e?null:+e}}),N=m&&_?{current:_.pageInfo.current,total:_.pageInfo.pageCount,onSelect:E,itemsPerPage:f.pagination?.itemsPerPage??"all",itemsPerPageOptions:r,onItemsPerPageChange:w}:null;return{queryResult:g,listData:_,listInput:f,setSearchFilters:b,setPage:E,setItemsPerPage:w,setSort:y,paginationProps:N,listProps:{listContext:{listData:_,listInput:f,setSearchFilters:b,setSort:y,setPage:E,setItemsPerPage:w,paginationProps:N},..._?.sortInfo??{},loading:g.loading,data:_?.nodes||[],totalRows:_?.pageInfo.total}}}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{getGraphQlListInputStorageArgs:()=>s,readGraphQlListInputFromStorage:()=>o});var i=t(608);const a={pagination:{page:1,itemsPerPage:25}},s=({key:e,withPagination:n=!0,defaultInput:t})=>[`${e}ListInput.v2`,t||(n?a:{})],o=e=>(0,i.readLocalStorageValue)(...s(e))},(e,n,t)=>{"use strict";t.r(n),t.d(n,{odbcServerRoute:()=>c});var i=t(89),a=t(697),s=t(704),o=t(706),r=t(393),d=t(709),l=t.n(d);const c={path:"odbc",componentLoader:()=>t.e("components/pages/OdbcPage/OdbcServerPage").then(t.bind(t,2025)),loader:async()=>{const e=(0,a.readGraphQlListInputFromStorage)({key:"OdbcServerPage"});await r.default.query({query:l(),variables:{input:e}})},handle:{crumb:()=>({title:i.Locale.getSection("components.routes").lmsg("odbcServer")}),helpContext:"odbc_connection_config"},children:[s.odbcAddRoute,o.odbcEditRoute]}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{odbcAddRoute:()=>o});var i=t(393),a=t(705),s=t.n(a);const o={path:"add",componentLoader:()=>t.e("components/pages/OdbcAddPage").then(t.bind(t,2032)),loader:async({params:e})=>{const{data:{dsnManager:{drivers:n}}}=await i.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:61}};n.loc.source={body:"query OdbcAddPage {\n    dsnManager {\n        drivers\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.OdbcAddPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(n,"OdbcAddPage")},(e,n,t)=>{"use strict";t.r(n),t.d(n,{odbcEditRoute:()=>o});var i=t(393),a=t(707),s=t.n(a);const o={path:":odbcId/edit",componentLoader:()=>t.e("components/pages/OdbcEditPage").then(t.bind(t,2035)),loader:async({params:e})=>{const n=btoa(`OdbcDsnConnection:${e.odbcId}`);return await i.default.query({query:s(),variables:{id:n}}),{odbcId:e.odbcId}}}},(e,n,t)=>{var i={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:143}};i.loc.source={body:'#import "queries/OdbcEditFragment.graphql"\n\nquery OdbcEditPage($id: ID!) {\n    connection: node(id: $id) {\n        ...OdbcEditFragment\n    }\n}\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 t=e.type;"NamedType"===t.kind&&n.add(t.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)}))}i.definitions=i.definitions.concat(t(708).definitions.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)})));var o={};function r(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}i.definitions.forEach((function(e){if(e.name){var n=new Set;s(e,n),o[e.name.value]=n}})),e.exports=i,e.exports.OdbcEditPage=function(e,n){var t={kind:e.kind,definitions:[r(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=o[n]||new Set,a=new Set,s=new Set;for(i.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),(o[e]||new Set).forEach((function(e){s.add(e)})))}))}return a.forEach((function(n){var i=r(e,n);i&&t.definitions.push(i)})),t}(i,"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:191}};n.loc.source={body:"fragment OdbcEditFragment on OdbcDsnConnection {\n    id\n    driverType\n    parameters {\n        key\n        keyHuman\n        isRequired\n        fieldType\n        value\n        values\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.OdbcEditFragment=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(n,"OdbcEditFragment")},(e,n,t)=>{var i={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:285}};i.loc.source={body:'#import "./OdbcListFragment.graphql"\n\nquery OdbcServerList(\n    $input: OdbcDsnConnectionListInput\n) {\n    server {\n        odbcDsnConnections(\n            input: $input\n        ) {\n            ...OdbcList\n            nodes {\n                domainName\n            }\n        }\n    }\n}\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 t=e.type;"NamedType"===t.kind&&n.add(t.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)}))}i.definitions=i.definitions.concat(t(710).definitions.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)})));var o={};function r(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}i.definitions.forEach((function(e){if(e.name){var n=new Set;s(e,n),o[e.name.value]=n}})),e.exports=i,e.exports.OdbcServerList=function(e,n){var t={kind:e.kind,definitions:[r(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=o[n]||new Set,a=new Set,s=new Set;for(i.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),(o[e]||new Set).forEach((function(e){s.add(e)})))}))}return a.forEach((function(n){var i=r(e,n);i&&t.definitions.push(i)})),t}(i,"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:291}};n.loc.source={body:"fragment OdbcList on OdbcDsnConnectionList {\n    nodes {\n        id\n        name\n        description\n        driver\n        configured\n        isSystem\n    }\n    pageInfo {\n        current\n        total\n        pageCount\n    }\n    sortInfo {\n        sortColumn\n        sortDirection\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.OdbcList=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(n,"OdbcList")},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>l,useGetDomainOverviewRoutePath:()=>d});var i=t(270),a=t(581),s=t(393),o=t(712),r=t.n(o);const d=()=>{const{pathname:e}=(0,a.useLocation)();return(0,i.useCallback)(((n,t,i)=>e.includes("overview")?`/smb/web/overview/id/${n}/type/${t}/${i}`:`/smb/web/view/${n}/${i}`),[e])},l=[{path:"hosting-settings",componentLoader:()=>Promise.all([t.e("vendors"),t.e("components/pages/HostingSettingsPage")]).then(t.bind(t,2038)),loader:async({params:e})=>{await s.default.query({query:r(),variables:{id:btoa(`Domain:${e.id}`)}})}},{path:"connection-info",componentLoader:()=>t.e("components/pages/ConnectionInfo").then(t.bind(t,2064))}]},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:4337}};n.loc.source={body:"query HostingSettingsPage($id: ID!) {\n    mode {\n        isSimplePanel\n        isDemo\n    }\n    viewer {\n        isSmbImpersonated\n        login\n        type\n    }\n    server {\n        settings {\n            forbidSubscriptionRename\n            preferredDomain\n            isIPv6Supported\n            forbidFtpUserRename\n        }\n        securitySettingsPreset {\n            ssl\n            sslRedirect\n            asp\n            aspDotNet\n            cgi\n            fastcgi\n            webstat\n            writeModify\n            webDeploy\n            ssi\n            errorDocs\n            perl\n            python\n            shell\n        }\n    }\n    os {\n        isUnix\n    }\n    capability {\n        systemUser {\n            access {\n                shells {\n                    name\n                    value\n                    empty\n                    chrooted\n                    isSecure\n                }\n                emptyShell\n            }\n        }\n    }\n    primaryKey {\n        pleskKeyId\n        keyShell\n    }\n    capability {\n        packages {\n            webstatPackages {\n                name\n                value\n            }\n        }\n    }\n    domain: node(id: $id) {\n        ... on Domain {\n            id\n            name(idn: false)\n            isDemo\n            baseDomain {\n                id\n            }\n            parentDomain {\n                name(idn: false)\n            }\n            ipAddresses {\n                id\n                isIPv6\n                ipAddress\n                publicIpAddress\n            }\n            owner {\n                id\n                ipAddresses {\n                    id\n                    type\n                    isIPv6\n                    ipAddress\n                    publicIpAddress\n                    isBroken\n                    clients {\n                        id\n                    }\n                }\n                availableIpAddresses: ipAddresses(filter: {unassigned: true}) {\n                    id\n                    type\n                    isIPv6\n                    ipAddress\n                    publicIpAddress\n                    isBroken\n                }\n            }\n            sysUser {\n                login\n                quota\n                shell\n            }\n            subscription {\n                isSecureSettingsPresetAllowed\n                permissions {\n                    manageDomains\n                    manageSubdomains\n                    manageWebsitesAndDomains\n                    manageHosting\n                    manageHostingSsl\n                    manageQuota\n                    manageShellAccess\n                    manageNotChrootedShell\n                    allowInsecureSites\n                    manageHostingSsi\n                    manageErrorDocs\n                    manageAdditionPermissions\n                    manageWebstat\n                    manageWebDeploy\n                    allowInsecureSites\n                }\n                mainDomain {\n                    id\n                    name(idn: false)\n                }\n                domains {\n                    id\n                    name(idn: false)\n                }\n            }\n            allowToChangeHtype\n            htype\n            hosting {\n                documentRoot\n                preferredDomain\n                hasInstalledApplications\n                isSameSsl\n            }\n            forwarding {\n                code\n                redirect\n            }\n            sslSettings {\n                ssl\n                sslRedirect\n                certificateId\n                availableCertificates {\n                    id\n                    name\n                    repository\n                }\n            }\n            aspNetSettings {\n                versions\n                configs {\n                    version\n                }\n            }\n            webstatSettings {\n                webstat\n                webstatProtected\n            }\n            webScriptingSettings {\n                ssi\n                ssiHtml\n                cgi\n                cgiMode\n                fastcgi\n                asp\n                aspDotNet\n                perl\n                python\n                webDeploy\n                errorDocs\n                writeModify\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.HostingSettingsPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(n,"HostingSettingsPage")},(e,n,t)=>{"use strict";t.r(n),t.d(n,{SummaryReportRoute:()=>r});var i=t(393),a=t(496),s=t(582),o=t(714);const r={path:"/cp/summary-report",children:[{index:!0,loader:async()=>{const{data:{viewer:{summaryReportLayouts:e}}}=await i.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,o.getId)(n));throw new Response("Not Found",{status:404})}},{path:":layoutId",children:[{index:!0,componentLoader:()=>Promise.all([t.e("vendors"),t.e("components/pages/SummaryReportPage")]).then(t.bind(t,2071)),loader:async({params:{layoutId:e}})=>{const{data:n}=await i.default.query({query:t(715),variables:{id:btoa(`SummaryReportLayout:${e}`)}});return n}},{path:"print",componentLoader:()=>Promise.all([t.e("vendors"),t.e("components/pages/SummaryReportPage")]).then(t.bind(t,2081)),loader:async({params:{layoutId:e}})=>{await i.default.query({query:t(717),variables:{id:btoa(`SummaryReportLayout:${e}`)}})}},{path:"schedule",componentLoader:()=>t.e("components/pages/SummaryReportSchedulesPage").then(t.bind(t,2083)),loader:async({params:{layoutId:e}})=>{const{data:n}=await i.default.query({query:t(718),variables:{id:btoa(`SummaryReportLayout:${e}`)}});return n},children:[{path:"add",componentLoader:()=>t.e("components/pages/SummaryReportSchedulesPage").then(t.bind(t,2087)),loader:async({params:{layoutId:e}})=>{const{data:n}=await i.default.query({query:t(719),variables:{layoutId:btoa(`SummaryReportLayout:${e}`)}});return n}},{path:":scheduleId/edit",componentLoader:()=>t.e("components/pages/SummaryReportSchedulesPage").then(t.bind(t,2091)),loader:async({params:{scheduleId:e,layoutId:n}})=>{const{data:a}=await i.default.query({query:t(720),variables:{scheduleId:btoa(`SummaryReportSchedule:${e}`),layoutId:btoa(`SummaryReportLayout:${n}`)}});return a}}]}]},{path:"layouts",componentLoader:()=>t.e("components/pages/SummaryReportLayoutsPage").then(t.bind(t,2094)),loader:async()=>{const{data:e}=await i.default.query({query:t(721)});return e},children:[{path:"add",componentLoader:()=>t.e("components/pages/SummaryReportLayoutsPage").then(t.bind(t,2098)),loader:async()=>{const{data:e}=await i.default.query({query:t(722)});return e}},{path:":layoutId/edit",componentLoader:()=>t.e("components/pages/SummaryReportLayoutsPage").then(t.bind(t,2104)),loader:async({params:{layoutId:e}})=>{const{data:n}=await i.default.query({query:t(723),variables:{id:btoa(`SummaryReportLayout:${e}`)}});return n}}]},{path:"traffic-history",componentLoader:()=>t.e("components/pages/TrafficHistoryReportPage").then(t.bind(t,2108)),loader:async()=>{const{data:e}=await i.default.query({query:t(724)});return e}}]}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{getId:()=>i});const i=e=>e?Number(atob(e).split(":")[1]):null},(e,n,t)=>{var i={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:603}};i.loc.source={body:'#import "./SummaryReportFragment.graphql"\n\nquery SummaryReportPage($id: ID!) {\n     viewer {\n        login\n        type\n        client {\n            id\n            email\n            type\n        }\n        summaryReportLayouts {\n            name\n            id\n        }\n    }\n    summaryReportLayout: node(id: $id) {\n        ... on SummaryReportLayout {\n            id\n            data {\n                ...SummaryReportFragment\n            }\n        }\n    }\n    primaryKey {\n        pleskKeyId\n        keyTraffic\n    }\n    os {\n        isUnix\n    }\n    server {\n        isSitebuilderAvailable\n    }\n}\n\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 t=e.type;"NamedType"===t.kind&&n.add(t.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)}))}i.definitions=i.definitions.concat(t(716).definitions.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)})));var o={};function r(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}i.definitions.forEach((function(e){if(e.name){var n=new Set;s(e,n),o[e.name.value]=n}})),e.exports=i,e.exports.SummaryReportPage=function(e,n){var t={kind:e.kind,definitions:[r(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=o[n]||new Set,a=new Set,s=new Set;for(i.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),(o[e]||new Set).forEach((function(e){s.add(e)})))}))}return a.forEach((function(n){var i=r(e,n);i&&t.definitions.push(i)})),t}(i,"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:2751}};n.loc.source={body:"fragment SummaryReportFragment on SummaryReportData  {\n  general {\n    version\n    build\n    cname\n    pname\n    ownerPname\n    ownerLogin\n    login\n    phone\n    fax\n    email\n    addr\n    city\n    state\n    pcode\n    country\n    creationDate\n    description\n}\n\nresellers {\n    resellers\n    activeResellers\n    resellersList {\n        resProblem\n        resStatus\n        resPname\n        resCrDate\n        resActiveClients\n        resClients\n        resDiskSpace\n        resTraffic\n        resActiveDomains\n        resDomains\n        resSubdomains\n        resPostboxes\n        resMailGroups\n        resMailResps\n        resMailLists\n        resWebUsers\n        resDataBases\n        resMssqlDataBases\n        resPgsqlDataBases\n    }\n}\nclients {\n    clients\n    activeClients\n    clientsList {\n        clProblem\n        clStatus\n        clPname\n        clOwner\n        clCrDate\n        clDiskSpace\n        clTraffic\n        clActiveDomains\n        clDomains\n        clSubdomains\n        clPostboxes\n        clMailGroups\n        clMailResps\n        clMailLists\n        clWebUsers\n        clDataBases\n        clMssqlDataBases\n        clPgsqlDataBases\n    }\n}\npersonalClients {\n    clients\n    activeClients\n    clientsList {\n        clProblem\n        clStatus\n        clPname\n        clOwner\n        clCrDate\n        clDiskSpace\n        clTraffic\n        clActiveDomains\n        clDomains\n        clSubdomains\n        clPostboxes\n        clMailGroups\n        clMailResps\n        clMailLists\n        clWebUsers\n        clDataBases\n        clMssqlDataBases\n        clPgsqlDataBases\n    }\n}\ndomains {\n    diskSpace\n    traffic\n    activeDomains\n    subdomains\n    postboxes\n    mailGroups\n    mailResps\n    mailLists\n    webUsers\n    dataBases\n    mssqlDataBases\n    pgsqlDataBases\n    sitebuilderSites\n    domains\n    domainsList {\n        domStatus\n        domHtype\n        domName\n        domOwner\n        domCrDate\n        domDiskSpace\n        domTraffic\n        domSubdomains\n        domPostboxes\n        domMailGroups\n        domMailResps\n        domMailLists\n        domWebUsers\n        domDataBases\n        domMssqlDataBases\n        domPgsqlDataBases\n    }\n}\npersonalDomains {\n    diskSpace\n    traffic\n    activeDomains\n    subdomains\n    postboxes\n    mailGroups\n    mailResps\n    mailLists\n    webUsers\n    dataBases\n    mssqlDataBases\n    pgsqlDataBases\n    sitebuilderSites\n    domains\n    domainsList {\n        domStatus\n        domHtype\n        domName\n        domOwner\n        domCrDate\n        domDiskSpace\n        domTraffic\n        domSubdomains\n        domPostboxes\n        domMailGroups\n        domMailResps\n        domMailLists\n        domWebUsers\n        domDataBases\n        domMssqlDataBases\n        domPgsqlDataBases\n    }\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.SummaryReportFragment=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(n,"SummaryReportFragment")},(e,n,t)=>{var i={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:350}};i.loc.source={body:'#import "./SummaryReportFragment.graphql"\n\nquery SummaryReportPrintPage($id: ID!) {\n    summaryReportLayout: node(id: $id) {\n        ... on SummaryReportLayout {\n            id\n            data {\n                ...SummaryReportFragment\n            }\n        }\n    }\n    os {\n        isUnix\n    }\n    server {\n        isSitebuilderAvailable\n    }\n}\n\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 t=e.type;"NamedType"===t.kind&&n.add(t.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)}))}i.definitions=i.definitions.concat(t(716).definitions.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)})));var o={};function r(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}i.definitions.forEach((function(e){if(e.name){var n=new Set;s(e,n),o[e.name.value]=n}})),e.exports=i,e.exports.SummaryReportPrintPage=function(e,n){var t={kind:e.kind,definitions:[r(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=o[n]||new Set,a=new Set,s=new Set;for(i.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),(o[e]||new Set).forEach((function(e){s.add(e)})))}))}return a.forEach((function(n){var i=r(e,n);i&&t.definitions.push(i)})),t}(i,"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:438}};n.loc.source={body:"query SummaryReportSchedulesPage($id: ID!) {\n     viewer {\n        login\n        type\n        client {\n            id\n            email\n        }\n    }\n    summaryReportLayout: node(id: $id) {\n        ... on SummaryReportLayout {\n            id\n            name\n            schedules {\n                id\n                isEnabled\n                period\n                lastSentDate\n                email\n            }\n        }\n    }\n}\n\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.SummaryReportSchedulesPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:280}};n.loc.source={body:"query SummaryReportScheduleAddPage($layoutId: ID!) {\n    viewer {\n        login\n        client {\n            id\n            email\n        }\n    }\n    summaryReportLayout: node(id: $layoutId) {\n        ... on SummaryReportLayout {\n            id\n            name\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.SummaryReportScheduleAddPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:457}};n.loc.source={body:"query SummaryReportScheduleEditPage($scheduleId: ID!, $layoutId: ID!) {\n    viewer {\n        login\n        client {\n            id\n            email\n        }\n    }\n    summaryReportSchedule: node(id: $scheduleId) {\n        ... on SummaryReportSchedule {\n            id\n            period\n            email\n        }\n    }\n    summaryReportLayout: node(id: $layoutId) {\n        ... on SummaryReportLayout {\n            id\n            name\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.SummaryReportScheduleEditPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:469}};n.loc.source={body:"query SummaryReportLayoutsPage {\n    viewer {\n        login\n        type\n        summaryReportLayouts {\n            name\n            isDefault\n            id\n            general\n            resellers\n            clients\n            personalClients\n            domains\n            personalDomains\n            schedules {\n                id\n                isEnabled\n            }\n        }\n    }\n    mode {\n        canManageResellers\n        canManageCustomers\n    }\n}\n\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.SummaryReportLayoutsPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:154}};n.loc.source={body:"query SummaryReportLayoutAddPage {\n    mode {\n        canManageResellers\n        canManageCustomers\n    }\n    viewer {\n        login\n        type\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.SummaryReportLayoutAddPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:334}};n.loc.source={body:"query SummaryReportLayoutEditPage($id: ID!) {\n    summaryReportLayout: node(id: $id) {\n        ... on SummaryReportLayout {\n            id\n            name\n            isDefault\n            general\n            resellers\n            clients\n            personalClients\n            domains\n            personalDomains\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.SummaryReportLayoutEditPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:240}};n.loc.source={body:"query TrafficHistoryReportPage {\n     viewer {\n        login\n        type\n        client {\n            id\n            trafficHistory {\n                year\n                month\n                trafficUsage\n            }\n        }\n    }\n}\n\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.TrafficHistoryReportPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(n,"TrafficHistoryReportPage")},(e,n,t)=>{"use strict";t.r(n),t.d(n,{domainRoute:()=>h});var i=t(89),a=t(313),s=t(714),o=t(726),r=t(727),d=t(729),l=t(731),c=t(733),m=t(737),u=t(750),p=t(393),v=t(757),f=t.n(v);const h={path:"domains/:domainId",loader:async({params:e})=>{const n=btoa(`Domain:${e.domainId}`),{data:t}=await p.default.query({query:f(),variables:{id:n}});return t},handle:{crumb:({data:e,matchesContext:n})=>{n.domainRouteData=e;const{domain:t}=e;let{baseDomain:r}=e;r=t.baseDomain||t;const{pageSidebar:d}=(0,a.default)(),{isPowerUserPanel:l,navigationContext:c}=d,m=(0,s.getId)(t.id),u=(0,s.getId)(r.id);return[{title:i.Locale.getSection("components.routes").lmsg("subscriptions"),href:"/admin/subscription/list",show:!l&&"subscriptions"===c},{title:`<b>${r.name}</b>`,href:`/admin/subscription/overview/id/${u}`,show:!l&&"subscriptions"===c},{title:i.Locale.getSection("components.routes").lmsg("domains"),href:"/admin/domain/list",show:!l&&"domains"===c},{title:i.Locale.getSection("components.routes").lmsg("web"),href:(0,o.getContextUrl)(u,"/smb/web/view"),show:l||"subscriptions"===c},{title:t.name,href:(0,o.getContextUrl)(u,`/smb/web/overview/id/${m}/type/domain`)}].filter((({show:e=!0})=>e))}},children:[r.aspDotNetDomainSettingsRoute,d.bandwidthLimitingDomainRoute,l.hotlinkProtectionDomainRoute,c.odbcDomainRoute,m.protectedDirectoriesRoute,u.virtualDirectoryRoute]}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{getContextUrl:()=>a});var i=t(313);const a=(e,n)=>{const{pageSidebar:t}=(0,i.default)(),a=encodeURIComponent(n);return t?.isPowerUserPanel?`/smb/account/switch/id/${e}?hideNotice=1&returnUrl=${a}`:`/admin/subscription/login/id/${e}?pageUrl=${a}`}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{aspDotNetDomainSettingsRoute:()=>r});var i=t(89),a=t(393),s=t(728),o=t.n(s);const r={path:"asp-dot-net-settings",componentLoader:()=>Promise.all([t.e("vendors"),t.e("components/pages/AspDotNetSettingsPage/AspDotNetDomainSettingsPage")]).then(t.bind(t,2109)),loader:async({params:e})=>{const{data:n}=await a.default.query({query:o(),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:t}=e.domainRouteData;return[{title:i.Locale.getSection("components.routes").lmsg("aspDotNetDomainSettings",{domain:`<b>${t.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:2306}};n.loc.source={body:"query AspDotNetDomainSettings($id: ID!, $webPath: String) {\n    domain: node(id: $id) {\n        id\n        ...on Domain {\n            owner {\n                id\n                login\n            }\n            webScriptingSettings {\n                aspDotNet\n            }\n            aspNetSettings(webPath: $webPath) {\n                versions\n                configs {\n                    customErrMode {\n                        value\n                        enumValues {\n                            name\n                            value\n                        }\n                    }\n\n                    culture {\n                        value\n                        enumValues {\n                            name\n                            value\n                        }\n                    }\n                    connStrings {\n                        name\n                        value\n                    }\n                    version\n                    debugMode\n                    authMode {\n                        value\n                        enumValues {\n                            name\n                            value\n                        }\n                    }\n                    customErrors {\n                        canDelete\n                        values {\n                            redirectUrl\n                            statusCode\n                        }\n                    }\n\n                    fileEnc\n                    reqEnc\n                    resEnc\n                    sessTimeout\n                    tempDirectory\n                    trustLevelAllowOverride\n                    uiCulture {\n                        value\n                        enumValues {\n                            name\n                            value\n                        }\n                    }\n\n                    defLanguage {\n                        value\n                        enumValues {\n                            name\n                            value\n                        }\n                    }\n                    trustLevel {\n                        value\n                        enumValues {\n                            name\n                            value\n                        }\n                    }\n                }\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.AspDotNetDomainSettings=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(n,"AspDotNetDomainSettings")},(e,n,t)=>{"use strict";t.r(n),t.d(n,{bandwidthLimitingDomainRoute:()=>r});var i=t(89),a=t(393),s=t(730),o=t.n(s);const r={path:"bandwidth-limiting",componentLoader:()=>Promise.all([t.e("vendors"),t.e("components/pages/BandwidthLimitingPage")]).then(t.bind(t,2110)),loader:async({params:e})=>{const{data:n}=await a.default.query({query:o(),variables:{id:btoa(`Domain:${e.domainId}`)}});return n},handle:{helpContext:"client.domain.hosting.performance",crumb:({matchesContext:e})=>{const{domain:n}=e.domainRouteData;return{title:i.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:357}};n.loc.source={body:"query BandwidthLimitingPage($id: ID!) {\n    domain: node(id: $id) {\n        ... on Domain {\n            id\n            hosting {\n                performance {\n                    trafficBandwidth\n                    maxConnection\n                }\n            }\n        }\n    }\n    capability {\n        packages {\n            isQoSStarted\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.BandwidthLimitingPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(n,"BandwidthLimitingPage")},(e,n,t)=>{"use strict";t.r(n),t.d(n,{hotlinkProtectionDomainRoute:()=>r});var i=t(89),a=t(393),s=t(732),o=t.n(s);const r={path:"hotlink-protection",componentLoader:()=>t.e("components/pages/HotlinkProtectionPage").then(t.bind(t,2115)),loader:async({params:e})=>{const{data:n}=await a.default.query({query:o(),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:i.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:304}};n.loc.source={body:"query HotlinkProtectionPage($id: ID!) {\n    domain: node(id: $id) {\n        ... on Domain {\n            id\n            hosting {\n                hotlinkProtection {\n                    isEnabled\n                    extensions\n                    friends\n                }\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.HotlinkProtectionPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(n,"HotlinkProtectionPage")},(e,n,t)=>{"use strict";t.r(n),t.d(n,{odbcDomainRoute:()=>u});var i=t(89),a=t(697),s=t(704),o=t(706),r=t(393),d=t(734),l=t.n(d),c=t(735),m=t.n(c);const u={path:"odbc",componentLoader:()=>t.e("components/pages/OdbcPage/OdbcDomainPage").then(t.bind(t,2119)),loader:async({params:e})=>{const n=(0,a.readGraphQlListInputFromStorage)({key:`OdbcDomainPage${e.domainId}`}),t=btoa(`Domain:${e.domainId}`);await Promise.all([r.default.query({query:m(),variables:{id:t}}),r.default.query({query:l(),variables:{id:t,input:n}})])},handle:{helpContext:"odbc_connection_config",crumb:({matchesContext:e})=>{if(!e.domainRouteData)return null;const{domain:n}=e.domainRouteData;return{title:i.Locale.getSection("components.routes").lmsg("odbcDomain",{domainName:`<b>${n.name}</b>`})}},key:({params:e})=>e.domainId},children:[s.odbcAddRoute,o.odbcEditRoute]}},(e,n,t)=>{var i={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:321}};i.loc.source={body:'#import "./OdbcListFragment.graphql"\n\nquery OdbcDomainList(\n    $id: ID!\n    $input: OdbcDsnConnectionListInput\n) {\n    domain: node(id: $id) {\n        ... on Domain {\n            id\n            odbcDsnConnections(\n                input: $input\n            ) {\n                ...OdbcList\n            }\n        }\n    }\n}\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 t=e.type;"NamedType"===t.kind&&n.add(t.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)}))}i.definitions=i.definitions.concat(t(710).definitions.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)})));var o={};function r(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}i.definitions.forEach((function(e){if(e.name){var n=new Set;s(e,n),o[e.name.value]=n}})),e.exports=i,e.exports.OdbcDomainList=function(e,n){var t={kind:e.kind,definitions:[r(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=o[n]||new Set,a=new Set,s=new Set;for(i.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),(o[e]||new Set).forEach((function(e){s.add(e)})))}))}return a.forEach((function(n){var i=r(e,n);i&&t.definitions.push(i)})),t}(i,"OdbcDomainList")},(e,n,t)=>{var i={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:238}};i.loc.source={body:'#import "queries/DomainSubscriptionOdbcLimitFragment.graphql"\n\nquery OdbcDomainPage(\n    $id: ID!\n) {\n    domain: node(id: $id) {\n        ... on Domain {\n            id\n            ...DomainSubscriptionOdbcLimitFragment\n        }\n    }\n}\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 t=e.type;"NamedType"===t.kind&&n.add(t.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)}))}i.definitions=i.definitions.concat(t(736).definitions.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)})));var o={};function r(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}i.definitions.forEach((function(e){if(e.name){var n=new Set;s(e,n),o[e.name.value]=n}})),e.exports=i,e.exports.OdbcDomainPage=function(e,n){var t={kind:e.kind,definitions:[r(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=o[n]||new Set,a=new Set,s=new Set;for(i.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),(o[e]||new Set).forEach((function(e){s.add(e)})))}))}return a.forEach((function(n){var i=r(e,n);i&&t.definitions.push(i)})),t}(i,"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:235}};n.loc.source={body:"fragment DomainSubscriptionOdbcLimitFragment on Domain {\n    subscription {\n        id\n        limits {\n            odbc {\n                used\n                remaining\n                isLimitAvailable\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.DomainSubscriptionOdbcLimitFragment=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(n,"DomainSubscriptionOdbcLimitFragment")},(e,n,t)=>{"use strict";t.r(n),t.d(n,{protectedDirectoriesRoute:()=>o});var i=t(89),a=t(738),s=t(745);const o={path:"protected-directories",handle:{crumb:()=>({title:i.Locale.getSection("components.routes").lmsg("protectedDirectories")}),returnUrl:({params:e})=>`/cp/domains/${e.domainId}/protected-directories`},children:[a.protectedDirectoryListRoute,s.protectedDirectoryUserListRoute]}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{protectedDirectoryListRoute:()=>c});var i=t(89),a=t(697),s=t(739),o=t(741),r=t(393),d=t(744),l=t.n(d);const c={path:"",componentLoader:()=>Promise.all([t.e("vendors"),t.e("components/pages/ProtectedDirectoryListPage")]).then(t.bind(t,2120)),loader:async({params:e})=>{const{data:n}=await r.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 i.Locale.getSection("components.routes").lmsg("protectedDirectoryList",{domainName:`<b>${n.name}</b>`})},key:({params:e})=>e.domainId},children:[s.protectedDirectoryAddRoute,o.protectedDirectoryEditRoute]}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{protectedDirectoryAddRoute:()=>o});var i=t(393),a=t(740),s=t.n(a);const o={path:"add",componentLoader:()=>t.e("components/pages/ProtectedDirectoryAddPage").then(t.bind(t,2124)),loader:async({params:e})=>{const{domainId:n}=e,{data:{domain:{hosting:t}}}=await i.default.query({query:s(),variables:{domainId:btoa(`Domain:${n}`)}});return{domainId:n,isProtectedDirectoryLocationSupported:t?.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:231}};n.loc.source={body:"query ProtectedDirectoryAddPage($domainId: ID!) {\n    domain: node(id: $domainId) {\n        ... on Domain {\n            id\n            hosting {\n                isProtectedDirectoryLocationSupported\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.ProtectedDirectoryAddPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(n,"ProtectedDirectoryAddPage")},(e,n,t)=>{"use strict";t.r(n),t.d(n,{protectedDirectoryEditRoute:()=>o});var i=t(393),a=t(742),s=t.n(a);const o={path:":protectedDirectoryId/edit",componentLoader:()=>t.e("components/pages/ProtectedDirectoryEditPage").then(t.bind(t,2128)),loader:async({params:e})=>{const{domainId:n,protectedDirectoryId:t}=e,{data:{domain:{hosting:a},protectedDirectory:o}}=await i.default.query({query:s(),variables:{id:btoa(`ProtectedDirectory:${t}`),domainId:btoa(`Domain:${n}`)}});return{protectedDirectoryId:t,protectedDirectory:o,isProtectedDirectoryLocationSupported:a?.isProtectedDirectoryLocationSupported||!1}}}},(e,n,t)=>{var i={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:388}};i.loc.source={body:'#import "queries/ProtectedDirectoryEditFragment.graphql"\n\nquery ProtectedDirectoryEditPage($domainId: ID!, $id: ID!) {\n    protectedDirectory: node(id: $id) {\n        ...ProtectedDirectoryEditFragment\n    }\n    domain: node(id: $domainId) {\n        ... on Domain {\n            id\n            hosting {\n                isProtectedDirectoryLocationSupported\n            }\n        }\n    }\n}\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 t=e.type;"NamedType"===t.kind&&n.add(t.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)}))}i.definitions=i.definitions.concat(t(743).definitions.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)})));var o={};function r(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}i.definitions.forEach((function(e){if(e.name){var n=new Set;s(e,n),o[e.name.value]=n}})),e.exports=i,e.exports.ProtectedDirectoryEditPage=function(e,n){var t={kind:e.kind,definitions:[r(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var i=o[n]||new Set,a=new Set,s=new Set;for(i.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),(o[e]||new Set).forEach((function(e){s.add(e)})))}))}return a.forEach((function(n){var i=r(e,n);i&&t.definitions.push(i)})),t}(i,"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:118}};n.loc.source={body:"fragment ProtectedDirectoryEditFragment on ProtectedDirectory {\n    id\n    path\n    realm\n    isNonSsl\n    isCgiBin\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.ProtectedDirectoryEditFragment=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:729}};n.loc.source={body:"query ProtectedDirectoryList(\n    $id: ID!\n    $input: ProtectedDirectoryListInput\n) {\n    domain: node(id: $id) {\n        ... on Domain {\n            id\n            hosting {\n                protectedDirectories(\n                    input: $input\n                ) {\n                    nodes {\n                        id\n                        path\n                        realm\n                    }\n                    pageInfo {\n                        current\n                        total\n                        pageCount\n                    }\n                    sortInfo {\n                        sortColumn\n                        sortDirection\n                    }\n                }\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.ProtectedDirectoryList=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(n,"ProtectedDirectoryList")},(e,n,t)=>{"use strict";t.r(n),t.d(n,{protectedDirectoryUserListRoute:()=>u});var i=t(89),a=t(697),s=t(393),o=t(746),r=t(748),d=t(749),l=t.n(d),c=t(747),m=t.n(c);const u={path:":directoryId/users",componentLoader:()=>t.e("components/pages/ProtectedDirectoryUserListPage").then(t.bind(t,2131)),loader:async({params:e})=>{const n=btoa(`ProtectedDirectory:${e.directoryId}`),[{data:t}]=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 t},handle:{helpContext:"client.domain.hosting.protected-directories",crumb:({data:e})=>{const{protectedDirectory:n}=e;return[{title:i.Locale.getSection("components.routes").lmsg("protectedDirectoryUserList",{directory:`/${n.path}`})}]}},children:[o.protectedDirectoryUserAddRoute,r.protectedDirectoryUserPasswordRoute]}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{protectedDirectoryUserAddRoute:()=>o});var i=t(393),a=t(747),s=t.n(a);const o={path:"add",componentLoader:()=>t.e("components/pages/ProtectedDirectoryUserAddPage").then(t.bind(t,2134)),loader:async({params:e})=>{const{data:n}=await i.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:167}};n.loc.source={body:"query ProtectedDirectoryPath($id: ID!) {\n    protectedDirectory: node(id: $id) {\n        ... on ProtectedDirectory {\n            id\n            path\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.ProtectedDirectoryPath=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(n,"ProtectedDirectoryPath")},(e,n,t)=>{"use strict";t.r(n),t.d(n,{protectedDirectoryUserPasswordRoute:()=>s});var i=t(496),a=t(393);const s={path:":userId/password",componentLoader:()=>t.e("components/pages/ProtectedDirectoryUserPasswordPage").then(t.bind(t,2137)),loader:async({params:e})=>{const{data:n}=await a.default.query({query:i.gql`
                query ($id: ID!) {
                    protectedDirectoryUser: node(id: $id) {
                        ... on ProtectedDirectoryUser { id login }
                    }
                }
            `,variables:{id:btoa(`ProtectedDirectoryUser:${e.userId}`)}});return n}}},e=>{var n={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:"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:614}};n.loc.source={body:"query ProtectedDirectoryUserList(\n    $id: ID!,\n    $input: ProtectedDirectoryUserListInput\n) {\n    protectedDirectory: node(id: $id) {\n        ... on ProtectedDirectory {\n            id\n            users(\n                input: $input\n            ) {\n                nodes {\n                    id\n                    login\n                }\n                pageInfo {\n                    current\n                    total\n                    pageCount\n                }\n                sortInfo {\n                    sortColumn\n                    sortDirection\n                }\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.ProtectedDirectoryUserList=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(n,"ProtectedDirectoryUserList")},(e,n,t)=>{"use strict";t.r(n),t.d(n,{virtualDirectoryRoute:()=>h});var i=t(393),a=t(697),s=t(89),o=t(751),r=t.n(o),d=t(752),l=t.n(d),c=t(728),m=t.n(c),u=t(753),p=t.n(u),v=t(754),f=t(270);const h={path:"virtual-directory",componentLoader:()=>Promise.all([t.e("vendors"),t.e("components/pages/VirtualDirectoryPage")]).then(t.bind(t,2140)),loader:async({request:{url:e},params:{domainId:n}})=>{const t=btoa(`Domain:${n}`),s=new URL(e).searchParams.get("path")||"/",[{data:o}]=await Promise.all([i.default.query({query:r(),variables:{domainId:t,path:s}}),i.default.query({query:l(),variables:{domainId:t,path:s,input:(0,a.readGraphQlListInputFromStorage)({key:`VirtualDirectoryPage${n}`})}})]);if(!o.domain.hosting)throw new Response("Not Found",{status:404})},handle:{helpContext:"client.domain.hosting.web-directories",crumb:()=>({title:s.Locale.getSection("components.routes").lmsg("virtualDirectories")}),pageTitle:({matchesContext:e,location:{search:n}})=>{if(!e.domainRouteData)return null;const{domain:t}=e.domainRouteData,i=new URLSearchParams(n).get("path")||"/";return s.Locale.getSection("components.routes").lmsg("virtualDirectoryDomain",{path:i,domainName:`<b>${t.name}</b>`})},key:({params:e})=>e.domainId,secondary:({location:{search:e},params:{domainId:n}})=>(0,f.jsx)(v.default,{domainId:n,path:new URLSearchParams(e).get("path")||"/"})},children:[{path:"create-directory",componentLoader:()=>Promise.all([t.e("vendors"),t.e("components/pages/VirtualDirectoryPage")]).then(t.bind(t,2145))},{path:"asp-dot-net",componentLoader:()=>Promise.all([t.e("vendors"),t.e("components/pages/VirtualDirectoryPage")]).then(t.bind(t,2148)),loader:async({request:{url:e},params:{domainId:n}})=>{const t=new URL(e).searchParams.get("path")||"/",{data:a}=await i.default.query({query:m(),variables:{id:btoa(`Domain:${n}`),webPath:t}});if(!a.domain.webScriptingSettings?.aspDotNet||!a.domain.aspNetSettings?.configs.length)throw new Response("Not Found",{status:404})}},{path:"permissions",componentLoader:()=>Promise.all([t.e("vendors"),t.e("components/pages/VirtualDirectoryPage")]).then(t.bind(t,2149))},{path:"php",componentLoader:()=>Promise.all([t.e("vendors"),t.e("components/pages/VirtualDirectoryPage")]).then(t.bind(t,2150)),loader:async({request:{url:e},params:{domainId:n}})=>{const t=new URL(e).searchParams.get("path")||"/",{data:a}=await i.default.query({query:p(),variables:{domainId:btoa(`Domain:${n}`),path:t}});if(!a.domain.subscription.permissions.managePhpVersion||!a.domain.hosting?.virtualDirectory?.isVirtual)throw new Response("Not Found",{status:404})}}]}},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:"owner"},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:"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:"isWritable"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isAccessible"},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:1017}};n.loc.source={body:"query VirtualDirectoryPage(\n    $domainId: ID!,\n    $path: String!\n) {\n    domain: node(id: $domainId) {\n        ... on Domain {\n            id\n            name\n            owner {\n                id\n            }\n            webScriptingSettings {\n                aspDotNet\n                php\n                errorDocs\n            }\n            hosting {\n                virtualDirectory(path: $path) {\n                    key\n                    baseName\n                    dirName\n                    isVirtual\n                    doesExist\n                    isReadable\n                    isWritable\n                    isAccessible\n                    canManagePermissions\n                }\n            }\n            subscription {\n                permissions {\n                    managePhpVersion\n                    manageProtectedDirectories\n                }\n            }\n        }\n    }\n    capability {\n        packages {\n            isASPdotNetInstalled\n            isPhpInstalled\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.VirtualDirectoryPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(n,"VirtualDirectoryPage")},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:1119}};n.loc.source={body:"query VirtualDirectoryContentList(\n    $domainId: ID!,\n    $path: String!,\n    $input: VirtualDirectoryContentListInput\n) {\n    domain: node(id: $domainId) {\n        ... on Domain {\n            id\n            hosting {\n                virtualDirectory(path: $path) {\n                    key\n                    content(input: $input) {\n                        nodes {\n                            name\n                            type\n                            fileType\n                            isProtected\n                            isReserved\n                            canManagePermissions\n                            doesExist\n                            baseName\n                            dirName\n                        }\n                        pageInfo {\n                            current\n                            total\n                            pageCount\n                        }\n                        sortInfo {\n                            sortColumn\n                            sortDirection\n                        }\n                    }\n                }\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.VirtualDirectoryContentList=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(n,"VirtualDirectoryContentList")},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:"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:700}};n.loc.source={body:"query VirtualDirectoryPage(\n    $domainId: ID!,\n    $path: String!\n) {\n    domain: node(id: $domainId) {\n        ... on Domain {\n            id\n            hosting {\n                virtualDirectory(path: $path) {\n                    key\n                    isVirtual\n                    phpVersion {\n                        version\n                        fullVersion\n                    }\n                    availablePhpVersions {\n                        version\n                        fullVersion\n                    }\n                }\n            }\n            subscription {\n                permissions {\n                    managePhpVersion\n                }\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.VirtualDirectoryPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(n,"VirtualDirectoryPage")},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>g});var i=t(272),a=t.n(i),s=t(270),o=t(271),r=t(755),d=t(633),l=t(756),c=t(89),m=t(751),u=t.n(m),p=t(590),v=t(714);const f=c.Locale.getTranslate("components.pages.VirtualDirectory"),h=({path:e,domainId:n})=>{const{data:{domain:{owner:{id:t},webScriptingSettings:{aspDotNet:i,php:a,errorDocs:c},hosting:{virtualDirectory:{isVirtual:m,canManagePermissions:h}},subscription:{permissions:{managePhpVersion:g,manageProtectedDirectories:k}}},capability:{packages:{isASPdotNetInstalled:_,isPhpInstalled:S}}}}=(0,p.useQuery)(u(),{variables:{domainId:btoa(`Domain:${n}`),path:e}}),b=`/plesk/client@${(0,v.getId)(t)}/domain@${n}/hosting/web-directories`,y=`/cp/domains/${n}/virtual-directory`,E=(0,s.useMemo)((()=>m),[m]),w=(0,s.useMemo)((()=>h),[h]),N=(0,s.useMemo)((()=>i&&_),[i,_]),F=(0,s.useMemo)((()=>m&&S&&a&&g),[m,S,a,g]),D=(0,s.useMemo)((()=>m),[m]),P=(0,s.useMemo)((()=>m&&c),[m,c]),C=(0,s.useMemo)((()=>k),[k]);return(0,s.jsxs)(s.Fragment,{children:[(E||w||N||F)&&(0,s.jsx)(r.default,{id:"panel-virtualDirectory",children:(0,s.jsxs)(o.ItemList,{children:[E&&(0,s.jsx)(o.Item,{id:"buttonProperties",icon:(0,s.jsx)(o.Icon,{name:"pencil",size:"16"}),component:d.default,to:(0,l.buildUrl)(`${b}/properties`,{wdir:e}),tooltip:(0,s.jsx)(f,{content:"buttonPropertiesHint"}),children:(0,s.jsx)(f,{content:"buttonProperties"})}),w&&(0,s.jsx)(o.Item,{id:"buttonPermissions",icon:(0,s.jsx)(o.Icon,{name:"lock-closed-check",size:"16"}),component:d.default,to:(0,l.buildUrl)(`${y}/permissions`,{path:e}),tooltip:(0,s.jsx)(f,{content:"buttonPermissionsHint"}),children:(0,s.jsx)(f,{content:"buttonPermissions"})}),N&&(0,s.jsx)(o.Item,{id:"buttonAspDotNet",icon:(0,s.jsx)(o.Icon,{name:"microsoft",size:"16"}),component:d.default,to:(0,l.buildUrl)(`${y}/asp-dot-net`,{path:e}),tooltip:(0,s.jsx)(f,{content:"buttonAspDotNetHint"}),children:(0,s.jsx)(f,{content:"buttonAspDotNet"})}),F&&(0,s.jsx)(o.Item,{id:"buttonPhp",icon:(0,s.jsx)(o.Icon,{name:"php",size:"16"}),component:d.default,to:(0,l.buildUrl)(`${y}/php`,{path:e}),tooltip:(0,s.jsx)(f,{content:"buttonPhpHint"}),children:(0,s.jsx)(f,{content:"buttonPhp"})})]})}),(D||P||C)&&(0,s.jsx)(r.default,{children:(0,s.jsxs)(o.ItemList,{children:[D&&(0,s.jsx)(o.Item,{id:"buttonMimeTypes",icon:(0,s.jsx)(o.Icon,{name:"list",size:"16"}),component:d.default,to:(0,l.buildUrl)(`${b}/mime-type@`,{wdir:e}),tooltip:(0,s.jsx)(f,{content:"buttonMimeTypesHint"}),children:(0,s.jsx)(f,{content:"buttonMimeTypes"})}),P&&(0,s.jsx)(o.Item,{id:"buttonErrorDocs",icon:(0,s.jsx)(o.Icon,{name:"site-page",size:"16"}),component:d.default,to:(0,l.buildUrl)(`${b}/error-doc@`,{wdir:e}),tooltip:(0,s.jsx)(f,{content:"buttonErrorDocsHint"}),children:(0,s.jsx)(f,{content:"buttonErrorDocs"})}),C&&(0,s.jsx)(o.Item,{id:"buttonProtection",icon:(0,s.jsx)(o.Icon,{name:"shield",size:"16"}),component:d.default,to:(0,l.buildUrl)(`${b}/protection`,{wdir:e}),tooltip:(0,s.jsx)(f,{content:"buttonProtectionHint"}),children:(0,s.jsx)(f,{content:"buttonProtection"})})]})})]})};h.propTypes={path:a().string.isRequired,domainId:a().string.isRequired};const g=h},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>m});var i=t(272),a=t.n(i),s=t(537),o=t.n(s),r=t(604),d=t(271),l=t(270);const c=({baseClassName:e,className:n,id:t,title:i,children:a,...s})=>{const[c,m]=(0,r.useLocalStorage)(`${t}-hidden`);return(0,l.jsx)(d.Panel,{className:o()(e,n),id:t,title:i?(0,l.jsx)(d.Heading,{level:4,children:i}):null,collapsible:!!t,collapsed:!!i&&"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},c.defaultProps={id:void 0,title:void 0,className:void 0,baseClassName:"side-panel"};const m=c},(e,n,t)=>{"use strict";t.r(n),t.d(n,{buildUrl:()=>i});const i=(e,n={})=>{const t=new URLSearchParams;Object.entries(n).filter((([,e])=>null!==e)).forEach((([e,n])=>t.append(e,`${n}`)));const i=t.toString();return`${e}${i?`?${i}`:""}`}},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:228}};n.loc.source={body:"query DomainPage(\n    $id: ID!\n) {\n    domain: node(id: $id) {\n        ... on Domain {\n            id\n            name(idn: false)\n            baseDomain {\n                id\n                name\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.DomainPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(n,"DomainPage")},(e,n,t)=>{"use strict";t.r(n),t.d(n,{homeRoute:()=>f});var i=t(393),a=t(496),s=t(531),o=t(313),r=t(759),d=t(767),l=t(89),c=t(769),m=t.n(c),u=t(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([t.e("vendors"),t.e("components/pages/HomePage")]).then(t.bind(t,2153)),loader:async()=>{const{data:{viewer:{type:e}}}=await i.default.query({query:a.gql`
                                                query {
                                                    viewer {
                                                        login
                                                        type
                                                    }
                                                }
                                            `});if("ADMIN"!==e)return p("/admin/home/");const{pageSidebar:n}=(0,o.default)();if(n?.isPowerUserPanel)return p("/smb/");const t=await Promise.allSettled([...Object.values(r.default).map((e=>i.default.query({query:e}))),i.default.query({query:m()})]),d=Object.keys(r.default).reduce(((e,n,i)=>({...e,[n]:{data:t[i].value?.data,errors:v(t[i])}})),{}),l=t.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:()=>t.e("components/pages/HomeCustomizationPage").then(t.bind(t,2264)),loader:()=>i.default.query({query:t(770)})}]}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>h});var i=t(760),a=t(761),s=t.n(a),o=t(762),r=t.n(o),d=t(763),l=t.n(d),c=t(764),m=t.n(c),u=t(765),p=t.n(u),v=t(766),f=t.n(v);const h={[i.SERVER_INFO]:s(),[i.UPDATES]:r(),[i.OVERUSED_SUBSCRIPTIONS]:l(),[i.MY_SUBSCRIPTIONS]:m(),[i.EXTENSIONS]:p(),[i.CHANGE_LOG]:f()}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{BACKUP:()=>d,CHANGE_LOG:()=>u,CUSTOM_BUTTONS:()=>p,EXTENSIONS:()=>l,IP_BAN:()=>r,MAIL_QUEUE:()=>c,MY_SUBSCRIPTIONS:()=>o,OVERUSED_SUBSCRIPTIONS:()=>s,PROMO:()=>m,SERVER_INFO:()=>i,UPDATES:()=>a});const i="serverInfo",a="updates",s="overusedSubscriptions",o="mySubscriptions",r="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:366}};n.loc.source={body:"query AdminHomeServerInfo {\n    server {\n        defaultIpAddress {\n            ipAddress\n            publicIpAddress\n        }\n        settings {\n            fullHostName\n        }\n        information {\n            sysUptime\n        }\n    }\n    os {\n        name\n    }\n    viewer {\n        login\n        permissions {\n            manageServerInfo\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.AdminHomeServerInfo=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:1003}};n.loc.source={body:"query AdminHomeUpdates {\n    server {\n        productVersion {\n            name\n            version\n            patch\n        }\n        productUpdates {\n            availablePatch\n            availableVersion\n            lastUpdateDate\n            lastCheckDate\n            isAutoupdateEnabled\n            installingUpdatesTaskId\n        }\n        pum {\n            installingUpdatesTaskId\n            updates(\n                input: { pagination: { page: 1, itemsPerPage: 1 } }\n            ) {\n                nodes {\n                    name\n                    availableVersion\n                }\n                pageInfo {\n                    total\n                }\n            }\n        }\n    }\n    primaryKey {\n        pleskKeyId\n        editionName\n    }\n    config {\n        updates {\n            showControls\n            visualNotifications\n        }\n    }\n    mode {\n        isPumAllowed\n    }\n    viewer {\n        login\n        permissions {\n            manageServerUpdates\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.AdminHomeUpdates=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:1041}};n.loc.source={body:'query AdminHomeOverusedSubscriptions {\n    viewer {\n        login\n        client {\n            id\n            subscriptions(\n                input: {\n                    pagination: { page: 1, itemsPerPage: 3 }\n                    orderBy: { displayName: ASC }\n                    searchFilters: { overuse: "true" }\n                    own: false,\n                }\n            ) {\n                pageInfo {\n                    total\n                }\n                nodes {\n                    id\n                    ... on Subscription {\n                        status\n                        mainDomain {\n                            id\n                            name\n                        }\n                        limits {\n                            all(overused: true) {\n                                name\n                                formattedValue\n                                formattedUsed\n                            }\n                        }\n                    }\n                }\n            }\n        }\n    }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.AdminHomeOverusedSubscriptions=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:669}};n.loc.source={body:"query AdminHomeMySubscriptions {\n    viewer {\n        login\n        permissions {\n            createDomains\n        }\n        client {\n            id\n            subscriptions(\n                input: {\n                    pagination: { page: 1, itemsPerPage: 5 }\n                    orderBy: { lastVisitTime: DESC }\n                }\n            ) {\n                nodes {\n                    id\n                    ... on Subscription {\n                        status\n                        mainDomain {\n                            id\n                            name\n                        }\n                    }\n                }\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.AdminHomeMySubscriptions=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:"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:268}};n.loc.source={body:"query AdminHomeExtensions {\n    viewer {\n        login\n        home {\n            extensions {\n                name\n                title\n                content\n                footer\n                async\n                skeletonSize\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.AdminHomeExtensions=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:108}};n.loc.source={body:"query AdminHomeChangeLog {\n    server {\n        productUpdates {\n            changeLogUrl\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.AdminHomeChangeLog=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(n,"AdminHomeChangeLog")},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>u});var i=t(271),a=t(89),s=t(633),o=t(590),r=t(768),d=t(769),l=t.n(d),c=t(270);const m=a.Locale.getTranslate("components.buttons"),u=()=>{const e=(0,o.useQuery)(l());return e.data?.viewer?.home?.locked||(0,r.default)(e)?null:(0,c.jsx)(i.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,t)=>{"use strict";t.r(n),t.d(n,{default:()=>i});const i=e=>{const n=e?.data?.viewer?.home??{},{layout:t,systemMessages:i}=n;return!(i??[]).length&&(t??[]).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:328}};n.loc.source={body:"query AdminHomePage {\n    viewer {\n        login\n        home {\n            layout\n            locked\n            feedbackURL\n            systemMessages {\n                type\n                key\n                content\n                isHideable\n                component\n                params\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.AdminHomePage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:291}};n.loc.source={body:"query HomeCustomization {\n    viewer {\n        login\n        home {\n            sections {\n                name\n                blocks {\n                    name\n                    enabled\n                    title\n                    icon\n                }\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.HomeCustomization=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:418}};n.loc.source={body:"query IpAddressDomainsPage($clientId: ID, $ipAddressId: ID!) {\n    viewer {\n        type\n        login\n    }\n    ipAddress: node(id: $ipAddressId) {\n        ... on IpAddress {\n            id\n            type\n            ipAddress\n            defaultDomain {\n                id\n            }\n            domains(filter: { clientId: $clientId }) {\n                id\n                name\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.IpAddressDomainsPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(n,"IpAddressDomainsPage")},e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"PrepareChangeSubscriptionsOwner"},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:"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:"clients"},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:"clients"},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",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:"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:[]}]}}]}}]}}]}}],loc:{start:0,end:558}};n.loc.source={body:"query PrepareChangeSubscriptionsOwner($ids: [ID!]!) {\n    viewer {\n        login\n        client {\n            id\n            clients {\n                id\n                name\n                clients {\n                    id\n                    name\n                }\n            }\n        }\n    }\n    domains: nodes(ids: $ids) {\n        id\n        ... on Domain {\n            name\n            owner {\n                id\n                name\n            }\n            ipAddresses {\n                id\n                ipAddress\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.PrepareChangeSubscriptionsOwner=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(n,"PrepareChangeSubscriptionsOwner")},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:639}};n.loc.source={body:"query LoginPage {\n    viewer {\n        login\n        resolvableHostname\n        mobileApplicationPromotion {\n            name\n            icon\n            url\n        }\n        background {\n            file\n            color\n            fit\n        }\n    }\n    config {\n        gdpr {\n            cookieSettings {\n                loginFormEntrypointEnabled\n            }\n        }\n        login {\n            howToLoginArticle\n        }\n    }\n    locales {\n        code\n        name\n        isRtl\n    }\n    serverInfo {\n        cloudType\n        isFirstLogin\n    }\n    loginContentInclude {\n        headContent\n        bodyContent\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.LoginPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:[]}]}}]}}]}}]}}],loc:{start:0,end:449}};n.loc.source={body:"query DnsRecordsPage {\n    os {\n        isUnix\n    }\n    dns {\n        template {\n            isEnabled\n            templateNotSynchronized\n            soaTemplateNotSynchronized\n            isExternalDnsEnabled\n            records {\n                id\n                type\n                host\n                val\n                ttl\n                displayHost\n                displayVal\n                domainName\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.DnsRecordsPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:398}};n.loc.source={body:"query DnsRecordEditQuery($id: ID!) {\n    os {\n        isUnix\n    }\n    dns {\n        supportedRecordTypes\n        template {\n            isEnabled\n        }\n    }\n    node(id: $id) {\n        id\n        ... on DnsRecordTemplate {\n            type\n            host\n            id\n            displayVal\n            displayHost\n            domainName\n            ttl\n            opt\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.DnsRecordEditQuery=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:151}};n.loc.source={body:"query DnsRecordQuery {\n    os {\n        isUnix\n    }\n    dns {\n        supportedRecordTypes\n        template {\n            isEnabled\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.DnsRecordQuery=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:892}};n.loc.source={body:"query DnsSoaRecordsPage {\n    dns {\n        template {\n            soaRecord {\n                mname\n                ttl {\n                    value\n                    unit\n                }\n                refresh {\n                    value\n                    unit\n                }\n                retry {\n                    value\n                    unit\n                }\n                expire {\n                    value\n                    unit\n                }\n                minimum {\n                    value\n                    unit\n                }\n                serialNumberFormat\n                rnameDomain\n                rnameExternal\n                rnameType\n                rnameEnforce\n            }\n            isEnabled\n            isExternalDnsEnabled\n            records(filter: { type: [NS] } ) {\n                displayVal\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.DnsSoaRecordsPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:449}};n.loc.source={body:"query EditInterfaceViewPage {\n    viewer {\n        login\n        permissions {\n            manageServerUi\n            manageServerLanguages\n        }\n        client {\n            clients {\n                id\n            }\n        }\n    }\n    mode {\n        isViewSwitcherAllowed\n        isPowerUserPanel\n        isSimplePanel\n        isSimplePanelAllowed\n        isSimplePanelLocked\n        isMailBounceHidden\n        isMailServiceSupported\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.EditInterfaceViewPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:284}};n.loc.source={body:"query NotificationUiSettings {\n    notification {\n        panel {\n            settings {\n                storagePeriod\n            }\n            templates {\n                code\n                context\n                title\n                sendToAdmin\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.NotificationUiSettings=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:324}};n.loc.source={body:"query BrandingPage {\n    viewer {\n        login\n        type\n        branding {\n            customTitle\n            logo {\n                url\n                fake\n            }\n            customFavicon\n            background {\n                file\n                color\n                fit\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.BrandingPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:538}};n.loc.source={body:"query DatabaseServersPage {\n    databaseServers {\n        id\n        name\n        type\n        fork\n        host\n        port\n        lastError\n        serverVersion\n        isUpgradeSupported\n        isLTSVersion\n        isLocal\n        isDefaultServer\n        isUsedForPsaDb\n        isWebadminInstalled\n        isDynamicPort\n        databasesCount\n        availableReleases {\n            id\n        }\n    }\n    primaryKey {\n        pleskKeyId\n        keyRemoteDb\n    }\n    mode {\n        isDemo\n    }\n    os {\n        isWindows\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.DatabaseServersPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:511}};n.loc.source={body:"query DatabaseServerUpgradePage($id: ID!) {\n    databaseServer: node(id: $id) {\n        id\n        ... on DatabaseServer {\n            name\n            type\n            host\n            port\n            serverVersion\n            fork\n            detectDatabaseServer\n            availableReleases {\n                id\n                name\n                version\n                features\n                releaseNotesLink\n                releaseDate\n                endOfLifeDate\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.DatabaseServerUpgradePage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:94}};n.loc.source={body:"query DatabaseServerCreatePage {\n    server {\n        allowedByKeyDatabaseServerTypes\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.DatabaseServerCreatePage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:607}};n.loc.source={body:"query DatabaseServerPropertiesPage($id: ID!) {\n    os {\n        isWindows\n    }\n    databaseServer: node(id: $id) {\n        id\n        ... on DatabaseServer {\n            name\n            type\n            host\n            port\n            serverVersion\n            isDefaultServer\n            isUsedForPsaDb\n            isAdminCredentialsChangeable\n            adminLogin\n            externalConnections\n            databasesCount\n            backupSettings {\n                tempDir\n                networkTempDir\n                networkUser\n                networkPassword\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.DatabaseServerPropertiesPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:576}};n.loc.source={body:"query DatabaseServerDatabasesPage($id: ID!) {\n    os {\n        isWindows\n    }\n    mode {\n        isClassicPanel\n    }\n    databaseServer: node(id: $id) {\n        id\n        ... on DatabaseServer {\n            name\n            databasesCount\n            databases {\n                id\n                name\n                domain {\n                    id\n                    name(idn: false)\n                    owner {\n                        id\n                        name\n                        type\n                    }\n                }\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.DatabaseServerDatabasesPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:225}};n.loc.source={body:"query DatabaseServerChangePasswordPage($id: ID!) {\n    os {\n        isWindows\n    }\n    databaseServer: node(id: $id) {\n        id\n        ... on DatabaseServer {\n            name\n            databasesCount\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.DatabaseServerChangePasswordPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:972}};n.loc.source={body:"query WebsitesDiagnosticPage {\n    server {\n        websitesDiagnostic {\n            domains {\n                id\n                siteUrl\n                name(idn: false)\n                baseDomain {\n                    id\n                }\n                websitesDiagnosticChecks {\n                    type\n                    date\n                    depth\n                    problems {\n                        name\n                        code\n                    }\n                }\n            }\n            settings {\n                date\n                isRegularCheckEnabled\n                isPromoShown\n                documentationLink\n                isNewDomainsChecked\n                lastCheckDuration\n                checkedDomains {\n                    id\n                    name(idn: false)\n                }\n                skippedDomains {\n                    id\n                    name(idn: false)\n                }\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.WebsitesDiagnosticPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:453}};n.loc.source={body:"query SystemTimePage {\n    os {\n        isWindows\n    }\n    serverInfo {\n        isVirtuozzo\n    }\n    systemTime {\n        day,\n        month,\n        year,\n        minutes,\n        seconds,\n        hours,\n        timezone\n        timezones {\n            name,\n            value,\n            daylightEnabled\n        }\n        isDaylightSavingChangeEnabled,\n        isSynchronizeEnabled,\n        isSynchronizeSupported,\n        synchronizedWith\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.SystemTimePage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:2552}};n.loc.source={body:"query ServerMailSettingsPage {\n    serverMail {\n        isMailUiEnabled\n        settings {\n            mailServerName\n            imapServerName\n            maxMessageSize\n            maxConnections\n            maxConnectionsPerIp\n            isMessageSubmissionEnabled\n            messageSubmissionIp {\n                ipAddress\n            }\n            outgoingEmailMode\n            outgoingEmailModeIps {\n                ipAddress\n                isIPv6\n            }\n            isEmailSubaddressingEnabled\n            isMboxQuotaWarningEnabled\n            isFixSenderEnabled\n            isListSecureLinksEnabled\n            hasLocalhostRelayingAddressesIpV4\n            hasLocalhostRelayingAddressesIpV6\n            autoReplyHeaders {\n                name\n                value\n            }\n            isShortPop3NameEnabled\n        }\n        autodiscover {\n            isEnabled\n            isDnsEnabled\n            customServer\n        }\n        relay {\n            type\n            isPopAuthEnabled\n            lockTime\n            isSmtpAuthEnabled\n            noRelayNetworks\n            isOpenRelayAllowed\n        }\n        outgoingMessages {\n            isEnabled\n            isCountRecipientsEnabled\n            mailboxLimit\n            domainLimit\n            subscriptionLimit\n            isSendmailEnabled\n            reportPeriod\n            notificationPeriod\n            allowedReportPeriods\n            allowedNotificationPeriods\n        }\n        spamFilter {\n            isDmarcEnabled\n            isSigningOutgoingMailEnabled\n            isVerifyingIncomingMailEnabled\n            isRblEnabled\n            rblServer\n            isSpfEnabled\n            isErrorIgnored\n            behavior\n            localRules\n            guessRules\n            explanationText\n        }\n    }\n    os {\n        isWindows\n    }\n    capability {\n        mailServer {\n            isMaxLetterSizeChangeable\n            isMessageSubmissionDedicatedIPSupported\n            isMessageSubmissionAllIPSupported\n            isRelayLockTimeSupported\n            isRelayTypeOpenSupported\n            isRelayTypeClosedSupported\n            isRelayTypeAuthSupported\n            isRelayTypeAuthPop3Supported\n            isRelayTypeAuthSmtpSupported\n            isRelayTypeAuthBothSupported\n            shortPop3NamesCompatibility\n        }\n        packages {\n            isRBLInstalled\n        }\n    }\n    server {\n        ipAddresses {\n            nodes {\n                id\n                ipAddress\n                isIPv6\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.ServerMailSettingsPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:"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:622}};n.loc.source={body:"query ServerMailTabs {\n    viewer {\n        login\n        permissions {\n            manageServerMail\n            manageServerVirusProtection\n            manageServerSpamFilter\n            manageServerMailAutodiscover\n            manageServerMailBlackWhiteLists\n        }\n    }\n    capability {\n        mailServer {\n            isDomainsBlacklistSupported\n            isSmtpWhiteListSupported\n        }\n        packages {\n            isAntiVirusInstalled\n            isSpamAssassinInstalled\n        }\n    }\n    os {\n        isWindows\n    }\n    primaryKey {\n        pleskKeyId\n        keyDrWeb\n        keyQmailQueue\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.ServerMailTabs=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:267}};n.loc.source={body:"query ServerMailBlackListPage {\n    serverMail {\n        blackList {\n            id\n            name\n            action\n        }\n        spamAssassin {\n            settings {\n                isEnabled\n            }\n        }\n    }\n    os {\n        isWindows\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.ServerMailBlackListPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:450}};n.loc.source={body:"query ServerMailWhiteListPage {\n    serverMail {\n        whiteList {\n            id\n            name\n        }\n        outgoingMessages {\n            isEnabled\n        }\n        relay {\n            noRelayNetworks\n        }\n    }\n    os {\n        isWindows\n    }\n    capability {\n        mailServer {\n            isSmtpWhiteListSupported\n            isSmtpWhiteListWithWildcardSupported\n            isSmtpWhiteListWithCIDRSupported\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.ServerMailWhiteListPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:260}};n.loc.source={body:"query ServerMailAntivirusPage {\n    serverMail {\n        antivirus {\n            key\n            name\n            isActive\n        }\n        antivirusPolicy {\n            policy\n            isAppliedToIncoming\n            isAppliedToOutgoing\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.ServerMailAntivirusPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:848}};n.loc.source={body:"query ServerMailSpamFilterPage {\n    serverMail {\n        spamAssassin {\n            settings {\n                isEnabled\n                isUserSettingsEnabled\n                isUserSettingsAllowed\n                requiredHits\n                maxMailLimit\n                maxThreadsLimit\n                tag\n                alarmMessage\n                languages {\n                    key\n                    name\n                    isTrusted\n                }\n                locales {\n                    key\n                    name\n                    isTrusted\n                }\n                isGreylistingProtectionEnabled\n                maxChildren\n                maxChildrenLimit\n            }\n        }\n    }\n    capability {\n        mailServer {\n            isUserSettingsSupported\n        }\n    }\n    os {\n        isWindows\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.ServerMailSpamFilterPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(n,"ServerMailSpamFilterPage")},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:321}};n.loc.source={body:"query PrimaryKeyInfoPage {\n    primaryKey {\n        pleskKeyId\n        potentialProblems\n        properties {\n            name\n            description\n            value\n        }\n        revertKey {\n            pleskKeyId\n        }\n    }\n    mode {\n        isLicenseLocked\n        isLicenseDefault\n        isDemo\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.PrimaryKeyInfoPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:134}};n.loc.source={body:"query MasterKeyProcessingState {\n    masterKeyProcessingState\n    config {\n        product {\n            supportUrl\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.MasterKeyProcessingState=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:167}};n.loc.source={body:"query PrimaryKeyUploadPage {\n    mode {\n        isLicenseLocked\n        isPowerUserPanel\n    }\n    config {\n        license {\n            fileUpload\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.PrimaryKeyUploadPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:236}};n.loc.source={body:"query PrimaryKeyRevertPage {\n    primaryKey {\n        pleskKeyId\n        revertKey {\n            pleskKeyId\n            properties {\n                name\n                description\n                value\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.PrimaryKeyRevertPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:[]}]}}]}}],loc:{start:0,end:161}};n.loc.source={body:"query AdditionalKeysPage {\n    mode {\n        isLicenseLocked\n        isDemo\n    }\n    additionalKeys {\n        keyNumber\n        keyName\n        keyApp\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.AdditionalKeysPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:104}};n.loc.source={body:"query AdditionalKeyUploadPage {\n    config {\n        license {\n            fileUpload\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.AdditionalKeyUploadPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:"mode"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isDemo"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:269}};n.loc.source={body:"query AdditionalKeyInfoPage($id: ID!) {\n    additionalKey(id: $id) {\n        keyNumber\n        properties {\n            name\n            description\n            value\n        }\n        revertKey {\n            keyNumber\n        }\n    }\n    mode {\n        isDemo\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.AdditionalKeyInfoPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:259}};n.loc.source={body:"query AdditionalKeyRevertPage($id: ID!) {\n    additionalKey(id: $id) {\n        keyNumber\n        revertKey {\n            keyNumber\n            properties {\n                name\n                description\n                value\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.AdditionalKeyRevertPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:255}};n.loc.source={body:"query FirewallGeneralPage {\n    server {\n        firewall {\n            isEnabled\n            interfaces {\n                key\n                name\n                type\n                isEnabled\n                isConnected\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.FirewallGeneralPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:159}};n.loc.source={body:"query FirewallIcmpPage {\n    server {\n        firewall {\n            icmpRules {\n                key\n                isEnabled\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.FirewallIcmpPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:330}};n.loc.source={body:"query FirewallRulesPage {\n    server {\n        firewall {\n            rules {\n                key\n                name\n                action\n                port\n                protocol\n                profiles\n                remoteAddresses\n                isEnabled\n                isReadonly\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.FirewallRulesPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:927}};n.loc.source={body:"query ServerComponentsPage {\n    os {\n        isUnix\n    }\n    server {\n        components {\n            name\n            version\n            state\n            status\n            error\n            depends\n            dependsType\n            providesType\n            description\n            isInstalled\n            isConfigurable\n            configured\n            allowedByLicense\n            parameters {\n                name\n                type\n                label\n                required\n                description\n                value\n                enum\n                disabled\n                disableReason\n                hideGenerateButton\n            }\n            componentTypeInfo {\n                name\n                required\n                default\n                packagesCount\n            }\n            categoryInfo {\n                name\n                isConfigurable\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.ServerComponentsPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:1182}};n.loc.source={body:"query IpAddressPage(\n    $type: IpAddressTypeEnum,\n    $search: String,\n    $page: Int,\n    $itemsPerPage: Int,\n    $orderBy: IpAddressListSort\n) {\n    server {\n        firewall {\n            isEnabled\n        }\n        ipAddresses(\n            input: {\n                pagination: { page: $page, itemsPerPage: $itemsPerPage },\n                searchFilters: { type: $type, ipAddress: $search },\n                orderBy: $orderBy\n            }\n        ) {\n            nodes {\n                id\n                ipAddress\n                publicIpAddress\n                interface\n                mask\n                type\n                isBlacklisted\n                isMain\n                isBroken\n                isMissing\n                subscriptionsCount\n                resellersCount\n                ftpOverSSL\n            }\n            pageInfo {\n                total\n            }\n            sortInfo {\n                sortColumn\n                sortDirection\n            }\n            hasPublicIp\n            canReloadPublic\n        }\n    }\n    mode {\n        isDemo\n        isPowerUserPanel\n        canManageResellers\n    }\n    serverInfo {\n        isVirtuozzo\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.IpAddressPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:404}};n.loc.source={body:"query IpAddressUsage($id: ID!){\n    ipAddress:node(id: $id) {\n        ... on IpAddress {\n            id\n            type\n            ipAddress\n            clients(filter:{type: RESELLER}) {\n                id\n                name\n            }\n            unassignedResellers: clients(filter:{ type: RESELLER, unassigned: true }) {\n                id\n                name\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.IpAddressUsage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:334}};n.loc.source={body:"query UnassignedIpAddressResellers($id: ID!){\n    ipAddress:node(id: $id) {\n        ... on IpAddress {\n            id\n            type\n            ipAddress\n            type\n            unassignedResellers: clients(filter:{ type: RESELLER, unassigned: true }) {\n                id\n                name\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.UnassignedIpAddressResellers=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:874}};n.loc.source={body:"query DomainsResourceUsage (\n    $input: ResourceUsageListInput\n) {\n    viewer {\n        login\n        client {\n            id\n            email\n            resourceUsage(input: $input) {\n                nodes {\n                    clientName\n                    domainName\n                    diskUsage\n                    traffic\n                    subDomainsCount\n                    webUsersCount\n                    databasesCount\n                    mailBoxesCount\n                    autoRepliesCount\n                    mailForwardingsCount\n                    mailListsCount\n                }\n                pageInfo {\n                    current\n                    pageCount\n                    total\n                }\n                sortInfo {\n                    sortColumn\n                    sortDirection\n                }\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.DomainsResourceUsage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:1007}};n.loc.source={body:"query ClientIpAddress($clientId: ID!) {\n    viewer {\n        login\n        type\n        client {\n            id\n        }\n    }\n    os {\n        isWindows\n    }\n    client: node(id: $clientId) {\n        ... on Client {\n            id\n            login\n            availableIpAddress: ipAddresses(filter: { unassigned: true }) {\n                id\n            }\n            ipAddresses {\n                id\n                ipAddress\n                isBroken\n                type(clientId: $clientId)\n                allocatedType(clientId: $clientId)\n                ftpOverSSL\n                certificate {\n                    id\n                    name\n                    ownerName\n                }\n                domains(filter: { clientId: $clientId }) {\n                    id\n                }\n            }\n        }\n    }\n    server {\n        ipAddresses {\n            isPoolEditable(clientId: $clientId)\n        }\n    }\n    capability {\n        ftp {\n            isExplicitSSL\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.ClientIpAddress=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:1010}};n.loc.source={body:"query ClientIpAddressForm($ipAddressId: ID!, $clientId: ID!) {\n    capability {\n        ftp {\n            isExplicitSSL\n        }\n    }\n    os {\n        isWindows\n    }\n    ipAddress: node(id: $ipAddressId) {\n        ... on IpAddress {\n            id\n            ipAddress\n            interface\n            type(clientId: $clientId)\n            allocatedType(clientId: $clientId)\n            typeChangeableInClientPool(clientId: $clientId)\n            isBroken\n            ftpOverSSL\n            domains(filter:{ clientId: $clientId }) {\n                id\n                name\n            }\n            defaultDomain {\n                id\n                name\n            }\n            certificate {\n                id\n                name\n                ownerName\n            }\n        }\n    }\n    client: node(id: $clientId) {\n        ...on Client {\n            id\n            type\n            certificates {\n                id\n                name\n                ownerName\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.ClientIpAddressForm=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:290}};n.loc.source={body:"query AssignClientIpAddress($clientId: ID!) {\n    client: node(id: $clientId) {\n        ... on Client {\n            id\n            login\n            availableIpAddress: ipAddresses(filter: { unassigned: true }) {\n                id\n                ipAddress\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.AssignClientIpAddress=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:423}};n.loc.source={body:"query PhpExtensionsPage($id: ID!) {\n    phpHandler(id: $id) {\n        id\n        name\n        version\n        cliPath\n        phpExtensions {\n            name\n            enabled\n        }\n        affectedHandlers {\n            id\n            name\n        }\n    }\n    os {\n        isUnix\n    }\n    config {\n        php {\n            pecl {\n                enabled\n                minVersion\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.PhpExtensionsPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:142}};n.loc.source={body:"query TsSessionPage($ids: [ID!]!) {\n    tsSessions(ids: $ids) {\n        id\n        info {\n            name\n            value\n        }\n    }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.TsSessionPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:118}};n.loc.source={body:"query TsSessions($ids: [ID!]) {\n    tsSessions(ids: $ids) {\n        name\n        state\n        user\n        id\n    }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.TsSessions=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:1765}};n.loc.source={body:"query AspDotNetServerSettings {\n    server {\n        aspNetSettings {\n            configs {\n                version\n                connStrings {\n                    name\n                    value\n                }\n\n                customErrMode {\n                    value\n                    enumValues {\n                        name\n                        value\n                    }\n                }\n                culture {\n                    value\n                    enumValues {\n                        name\n                        value\n                    }\n                }\n\n                debugMode\n                authMode {\n                    value\n                    enumValues {\n                        name\n                        value\n                    }\n                }\n                customErrors {\n                    canDelete\n                    values {\n                        redirectUrl\n                        statusCode\n                    }\n                }\n                fileEnc\n                reqEnc\n                resEnc\n                sessTimeout\n                tempDirectory\n                trustLevelAllowOverride\n                uiCulture {\n                    value\n                    enumValues {\n                        name\n                        value\n                    }\n                }\n\n                defLanguage {\n                    value\n                    enumValues {\n                        name\n                        value\n                    }\n                }\n                trustLevel {\n                    value\n                    enumValues {\n                        name\n                        value\n                    }\n                }\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.AspDotNetServerSettings=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:435}};n.loc.source={body:"query ServerAboutPage {\n    primaryKey {\n        pleskKeyId\n        editionName\n    }\n    server {\n        productVersion {\n            name\n            version\n            patch\n        }\n    }\n    config {\n        product {\n            siteUrl\n            blogUrl\n        }\n        feedback {\n            forumUrl\n        }\n        facebook {\n            pleskPage\n        }\n        twitter {\n            pleskPage\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.ServerAboutPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(n,"ServerAboutPage")},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:464}};n.loc.source={body:"query ActionLogPage {\n    viewer {\n        isAdminAlias\n        login\n    }\n    actionLog {\n        objects {\n            name\n            displayName\n            enabled\n            actions {\n                displayName\n                enabled\n            }\n        }\n        rotate {\n            type\n            records\n            period {\n                value\n                unit\n            }\n        }\n        minDate {\n            year\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.ActionLogPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:1071}};n.loc.source={body:"query ServerInformationPage {\n    server {\n        information {\n            cpu\n            cpuCores\n            sysUptime\n            loadAverage {\n                last1min\n                last5min\n                last15min\n            }\n            memory {\n                total\n                used\n                available\n                buffer\n                cached\n                shared\n                free\n                hardware\n            }\n            swap {\n                total\n                used\n                free\n            }\n            sysDiskSpace {\n                directory\n                total\n                used\n                available\n                protectedDirectories\n            }\n            domains {\n                active\n                inactive\n                problems\n            }\n        }\n        productVersion {\n            name\n            version\n            build\n            os\n            osVersion\n        }\n    }\n    os {\n        isWindows\n        name\n    }\n    primaryKey {\n        pleskKeyId\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.ServerInformationPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:858}};n.loc.source={body:"query ServerSettingsPage {\n    server {\n        settings {\n            forbidSysUserRename\n            disableIpLogging\n            forbidCreateDnsSubZone\n            forbidSubscriptionRename\n            fullHostName\n            includeAdminDumps\n            includeDatabases\n            includeDomainDumps\n            includeLogs\n            includeMailLists\n            includeMailboxes\n            includeMssqlDatabases\n            includePgsqlDatabases\n            includeMysqlDatabases\n            includeRemoteDatabases\n            logrotateAnonymizeIps\n            logrotateForce\n            logrotatePeriod\n            preferredDomain\n            sizeCountType\n            trafficAccounting\n            trafficStatisticsPeriod\n            webDeployIncludePassword\n        }\n    }\n    mode {\n        isPumAllowed\n    }\n    os {\n        isUnix\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.ServerSettingsPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:"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:248}};n.loc.source={body:"query ServerMailTabs {\n    viewer {\n        login\n        permissions {\n            manageServerSpamFilter\n        }\n    }\n    capability {\n        packages {\n            isSpamAssassinInstalled\n            isGreyListingInstalled\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.ServerMailTabs=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:223}};n.loc.source={body:"query ServerMailSpamFilterBlackListPage {\n    serverMail {\n        spamAssassin {\n            blackList {\n                id\n                name\n                level\n                status\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.ServerMailSpamFilterBlackListPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(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:223}};n.loc.source={body:"query ServerMailSpamFilterWhiteListPage {\n    serverMail {\n        spamAssassin {\n            whiteList {\n                id\n                name\n                level\n                status\n            }\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.ServerMailSpamFilterWhiteListPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(n,"ServerMailSpamFilterWhiteListPage")},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>i.default});var i=t(826)},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>y});var i=t(270),a=t(272),s=t.n(a),o=t(590),r=t(581),d=t(271),l=t(89),c=t(630),m=t(633),u=t(827),p=t(828),v=t(829),f=t(831),h=t(832),g=t(313),k=t(773),_=t.n(k);const S=l.Locale.getTranslate("components.forms.login"),b=({values:e})=>{const n=(0,r.useNavigate)(),{status:t}=(0,g.usePageData)(),{data:{config:a,serverInfo:{isFirstLogin:s,cloudType:p},loginContentInclude:{headContent:v,bodyContent:f}}}=(0,o.useQuery)(_()),h=(0,i.useMemo)((()=>({login_name:"",passwd:"",locale_id:"default",...e})),[e]),[k,b]=(0,i.useState)({});(0,i.useInsertionEffect)((()=>{if(!v)return;const e=[],n=document.head.childNodes.length;(0,l.render)(document.head,v);const t=document.head.childNodes.length;for(let i=n;i<t;i++)e.push(document.head.childNodes[i]);return()=>{e.forEach((e=>{document.head.removeChild(e)}))}}),[v]),(0,i.useEffect)((()=>{document.querySelector('input[name="locale_id"]').value=h?.locale_id??"default"}),[]);return(0,i.jsxs)(i.Fragment,{children:[s&&"DO"===p?(0,i.jsx)(d.StatusMessage,{intent:"info",className:"login-page__info",children:(0,i.jsx)(S,{content:"digitalOceanMsg",params:{link:(0,i.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,i.jsx)(S,{content:"readGuide"})})}})}):s&&"AMI_LIGHTSAIL"===p?(0,i.jsx)(d.StatusMessage,{intent:"info",className:"login-page__info",children:(0,i.jsx)(S,{content:"amazonLightsailMsg",params:{link:(0,i.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,i.jsx)(S,{content:"readGuide"})})}})}):null,(0,i.jsx)(u.default,{id:"form-login",method:"post",applyButton:!1,cancelButton:!1,statusMessages:t,submitButton:{name:"send",children:(0,i.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,i.jsx)(S,{content:"enterUsername"})}),""===e.passwd&&(n.passwd={empty:(0,i.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,i.jsxs)("div",{id:"loginSection",children:[(0,i.jsx)(d.FormFieldText,{name:"login_name",label:(0,i.jsx)(S,{content:"loginLabel"}),autoFocus:!0,size:"fill"}),(0,i.jsx)(d.FormFieldPassword,{name:"passwd",label:(0,i.jsx)(S,{content:"passwdLabel"}),hideGenerateButton:!0,hidePasswordMeter:!0,size:"fill"}),(0,i.jsx)("input",{type:"hidden",name:"locale_id"})]})}),(0,i.jsxs)("div",{className:"login-page__links",children:[a?.login?.howToLoginArticle?(0,i.jsx)(d.Action,{icon:"question-mark-circle",href:a.login.howToLoginArticle,target:"_blank","data-action":"open-how-to",children:(0,i.jsx)(S,{content:"whatUsernamePassword"})}):null,(0,i.jsx)(d.Action,{icon:"lock-closed",href:"/get_password.php",onClick:e=>{e.preventDefault();const t=document.querySelector('input[name="locale_id"]').value,i=e.target.closest("a").getAttribute("href");n(`${i}${t&&"default"!==t?`?locale=${encodeURIComponent(t)}`:""}`)},"data-action":"reset-password",children:(0,i.jsx)(S,{content:"forgotPasswordLabel"})}),a?.gdpr?.cookieSettings?.loginFormEntrypointEnabled&&(0,i.jsx)(d.Action,{component:m.default,icon:"globe",to:"?modals[cookie-policy-preferences]=true","data-action":"open-cookies-policy",children:(0,i.jsx)(S,{content:"cookies"})})]}),f?(0,i.jsx)(c.default,{children:f}):null]})};b.propTypes={values:s().shape({login_name:s().string,passwd:s().string,locale_id:s().string})},b.defaultProps={values:void 0};const y=(0,p.withLoginLayout)(b,(({values:e})=>{const{data:{locales:n,viewer:{resolvableHostname:t,mobileApplicationPromotion:a,background:s},loginContentInclude:{bodyContent:r}}}=(0,o.useQuery)(_());return{actions:n.length>1?(0,i.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 t=n.find((({code:n})=>n===e));r||t?.isRtl!==("rtl"===document.documentElement.dir)?document.getElementById("form-login").submit():l.Locale.loadSections(Object.keys(l.Locale.sections),e)}}):void 0,contentAddon:[t?(0,i.jsx)(f.default,{link:t}):null,a?(0,i.jsx)(v.default,{...a}):null],background:s}}))},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>g});var i=t(271),a=t(270),s=t(272),o=t.n(s),r=t(89),d=t(638),l=t(630),c=t(581),m=t(583);const u=(e,n,t,i)=>{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,r.render)(a,`<span class="error-hint">${(0,r.escapeHtml)(i)}</span>`),a.style.display=""},p=(e,n,t)=>{Array.isArray(n)?n.forEach((n=>{"string"==typeof n?u(e,t,0,n):(t.push(name),p(e,n,t),t.pop())})):Object.entries(n).forEach((([n,i])=>{"string"==typeof i?u(e,t,0,i):(t.push(n),p(e,i,t),t.pop())}))},v=(e,n,t)=>{if(0===n.length||"function"!=typeof t)return;const i=new FormData([...document.forms].find((({id:n})=>n===e)));for(const e of i.entries()){const[i,a]=e;n.some((e=>i.startsWith(e)))&&t(i,a)}},f=(e,n)=>n.reduce(((n,{name:t})=>[...n,`${e}[${t}]`,t]),[]),h=(0,a.forwardRef)((({children:e,id:n,action:t,mutation:s,values:o,onFieldChange:u,onSubmit:h,onError:g,onSuccess:k,onLongTask:_,embeddedForms:S,formPrefix:b,embeddedFormsRender:y,statusMessages:E,...w},N)=>{const F=(0,c.useNavigate)(),D=(0,a.useRef)(null),P=(0,a.useRef)(null),[C,I]=(0,a.useState)({}),[x,T]=(0,a.useState)(E??[]),[L,O]=(0,a.useState)(null),A=(0,a.useMemo)((()=>({...C,...w.errors})),[C,w.errors]);(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 t=(b?C[b]||{}:C)[e]||{};p(n,t,b?[b,e]:[e])}))}),[C,S,b]),(0,a.useEffect)((()=>{v(n,f(b,S),((e,n)=>{((e,n)=>{const t=document.getElementsByName(e);t.forEach((e=>{"checkbox"===e.type||"radio"===e.type?e.checked=e.value===n:"hidden"===e.type&&Array.prototype.filter.call(t,(({type:e})=>"checkbox"===e)).length>0||(e.value=n)}))})(e,(0,i.getIn)(o,e,n))}))}),[S]),(0,a.useImperativeHandle)(N,(()=>({handleEmbeddedFormValues(){v(n,f(b,S),u)},submit(){D.current.submit()}})),[n,u,S,b,D]),(0,a.useEffect)((()=>{x.length&&P.current.scrollIntoView({behavior:"smooth"})}),[x]);const q=(e,n)=>{if("Jsw.Task.ProgressBar.Item"===e.componentType&&"function"==typeof _)return void _(e);const t="apply"===n,{status:i,redirect:a,forceRedirect:s=!1,postData:o,target:d,formMessages:l,statusMessages:c=[]}=e;if(a)if("function"==typeof k&&k(),t){const{pathname:e}=window.location;(0,m.isClientSideRedirectAllowed)(e)?(F(e,{replace:!0}),O(null)):document.location.reload()}else o?(0,r.redirectPost)(a,o,d):(0,m.isClientSideRedirectAllowed)(a)&&!s?F(a):(0,r.redirect)(a,null,d);else O(null),T(c),I(l),l||"error"===i||"function"!=typeof k||k(e,t),l&&"function"==typeof g&&g(l,I)},R=()=>S.map((({name:e,content:n})=>(0,a.jsx)(l.default,{id:`embedded-form-${e}`,children:n},e)));return(0,a.jsxs)(i.Form,{...w,ref:D,id:n,values:o,onFieldChange:u,onSubmit:async(e,a)=>{if(v(n,f(b,S),((n,t)=>{e=(0,i.setIn)(e,n,t)})),"function"==typeof h&&(e=await h(e,a)),!e)return;T([]),I({});const o=a?"apply":"submit";if(O(o),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 T([{status:"error",content:e.message}]);if("validate"===n[0].extensions?.category){const e=n[0].extensions.messages;I(e),"function"==typeof g&&g(e)}else T([{status:"error",content:n[0].extensions?.debugMessage||n[0].message}])}finally{O(null)}else try{q(await r.api.post(t||window.location.href,(0,d.toFormData)(e)),o)}catch(e){O(null),(0,r.showInternalError)(e)}},errors:A,state:L,children:[x.length?(0,a.jsx)("span",{ref:P,children:x.map((({status:e,content:n,title:t})=>(0,a.jsxs)(i.StatusMessage,{intent:"error"===e?"danger":"success",children:[t?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("b",{children:[t,":"]})," "]}):null,(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:n}})]},n)))}):null,e,y?y(R()):R()]})}));h.propTypes={children:o().node,id:o().string,action:o().string,mutation:o().func,values:o().object,onFieldChange:o().func,onSubmit:o().func,onError:o().func,onSuccess:o().func,onLongTask:o().func,embeddedForms:o().array,formPrefix:o().string,embeddedFormsRender:o().func,errors:o().object,statusMessages:o().array},h.defaultProps={children:null,id:void 0,action:void 0,mutation:void 0,values:void 0,onFieldChange:void 0,onSubmit:void 0,onError:void 0,onSuccess:void 0,onLongTask:void 0,embeddedForms:[],formPrefix:"",embeddedFormsRender:void 0,errors:{},statusMessages:void 0},h.displayName="Form";const g=h},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>p,withLoginLayout:()=>u});var i=t(270),a=t(537),s=t.n(a),o=t(272),r=t.n(o),d=t(271),l=t(671),c=t(611);const m=({children:e,actions:n,customBackground:t,...a})=>((0,i.useLayoutEffect)((()=>(document.body.classList.add("sid-login"),()=>{document.body.classList.remove("sid-login")})),[]),(0,i.jsxs)("div",{className:"login-page",children:[(0,i.jsx)(c.default,{layoutType:"simplified"}),(0,i.jsx)(d.Layout,{type:"simplified",className:s()("login-page__inner",`login-page__background login-page__background--${t.fit}`),style:{"--login-bg-color":t.color,"--login-bg-image":t.file?`url(/images/${t.file})`:null},header:(0,i.jsxs)("div",{className:"login-page-header",children:[(0,i.jsx)("div",{className:"login-page-header__brand",children:(0,i.jsx)(l.default,{})}),n?(0,i.jsx)("div",{className:"login-page-header__actions",children:n}):null]}),...a,children:(0,i.jsx)("div",{id:"main",className:"login-page__content",children:e})})]}));m.propTypes={children:r().any,actions:r().any,customBackground:r().shape({file:r().string,color:r().string.isRequired,fit:r().string.isRequired})},m.defaultProps={children:void 0,actions:void 0,customBackground:{file:void 0,color:"#4B4B4B",fit:"fill"}};const u=(e,n)=>{const t=t=>{const{contentAddon:a,actions:s,background:o,...r}={...t,..."function"==typeof n?n(t):n};return(0,i.jsx)(m,{contentAddon:a,actions:s,customBackground:o,children:(0,i.jsx)(e,{...r})})};return t.displayName=`withLoginLayout(${e.displayName||e.name||"Component"})`,t.WrappedComponent=e,t},p=m},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>v});var i=t(270),a=t(272),s=t.n(a),o=t(537),r=t.n(o),d=t(271),l=t(89),c=t(358);const m=l.Locale.getTranslate("components.forms.login"),u="mobile-application-promotion-hidden",p=({baseClassName:e,className:n,name:a,url:s,icon:o})=>{const[l,p]=(0,i.useState)(Boolean("1"!==c.default.get(u))),v=()=>{p(!1),c.default.setPermanent(u,"1","/")};return l?(0,i.jsx)(d.Alert,{intent:"info",className:r()(e,n),children:(0,i.jsxs)(d.Media,{title:(0,i.jsx)(d.Heading,{level:4,children:a}),image:(0,i.jsx)(d.Icon,{className:`${e}__icon`,src:o||t(830),size:"64"}),children:[(0,i.jsx)(d.MediaSection,{children:(0,i.jsx)(m,{content:"mobileApplicationMessage",params:{name:a}})}),(0,i.jsxs)(d.MediaSection,{children:[(0,i.jsx)(d.Button,{className:`${e}__button`,component:"a",intent:"primary",href:s,onClick:v,children:(0,i.jsx)(m,{content:"mobileApplicationInstall"})}),(0,i.jsx)(d.Button,{className:`${e}__button`,onClick:v,children:(0,i.jsx)(m,{content:"mobileApplicationHide"})})]})]})}):null};p.propTypes={name:s().string.isRequired,url:s().string.isRequired,icon:s().string,className:s().string,baseClassName:s().string},p.defaultProps={icon:void 0,className:void 0,baseClassName:"login-mobile-application-promotion"};const v=p},e=>{e.exports=Jsw.skinUrl+"/icons/64/plesk/plesk.png?aee4fcbe66c643d3dde4f3de15aa8f4e"},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>u});var i=t(537),a=t.n(i),s=t(271),o=t(89),r=t(272),d=t.n(r),l=t(270);const c=o.Locale.getTranslate("components.forms.login"),m=({baseClassName:e,className:n,link:t})=>{const i=t.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:t,children:i})}})})};m.propTypes={className:d().string,baseClassName:d().string,link:d().string.isRequired},m.defaultProps={className:void 0,baseClassName:"login-ssl-warnings"};const u=m},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>l});var i=t(270),a=t(272),s=t.n(a),o=t(271);const r=t(89).Locale.getTranslate("components.forms.login"),d=({locales:e,value:n,onChange:t})=>{const[a,s]=(0,i.useState)(n),d=(0,i.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),t(e)};return(0,i.jsx)(o.Dropdown,{menuPlacement:"bottom-end",menu:(0,i.jsxs)(o.Menu,{className:"login-page__locale-switcher-menu",children:[(0,i.jsx)(o.MenuItem,{active:"default"===a,onClick:()=>l("default"),children:(0,i.jsx)(r,{content:"defaultLocale"})}),d.map((({code:e,name:n,isRtl:t})=>(0,i.jsx)(o.MenuItem,{active:a===e,onClick:()=>l(e),dir:t?"rtl":"ltr",children:n},e)))]}),children:(0,i.jsx)(o.Button,{className:"login-page__locale-switcher-button pul-button--on-dark",tooltip:(0,i.jsx)(r,{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,t)=>{"use strict";t.r(n),t.d(n,{default:()=>k});var i=t(270),a=t(272),s=t.n(a),o=t(581),r=t(271),d=t(89),l=t(531),c=t(827),m=t(633),u=t(828),p=t(834),v=t.n(p),f=t(590);const h=d.Locale.getTranslate("components.forms.get-password"),g=({values:e})=>{const n=(0,o.useNavigate)(),t=(0,i.useMemo)((()=>({resetBy:"email",email:"",login:"",...e})),[e]),a=(0,i.useCallback)((()=>{(0,l.addToast)({intent:"success",message:(0,i.jsx)(h,{content:"messageSend"})}),n("/login_up.php")}),[n]);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.Heading,{level:"3",children:(0,i.jsx)(h,{content:"label"})}),(0,i.jsx)("p",{children:(0,i.jsx)(h,{content:"text"})}),(0,i.jsx)(c.default,{id:"form-changepassword-getlink",values:t,onSuccess:a,applyButton:!1,submitButton:{children:(0,i.jsx)(h,{content:"send"}),"data-action":"send"},cancelButton:{component:m.default,to:"/login_up.php",children:(0,i.jsx)(h,{content:"cancel"}),"data-action":"cancel"},vertical:!0,children:(0,i.jsx)(r.FormFieldRadioButtons,{name:"resetBy",options:[{value:"email",label:(0,i.jsx)(h,{content:"emailLabel"}),indentFields:[(0,i.jsx)(r.FormFieldText,{name:"email",autoFocus:!0,size:"fill"},"reset-by-email")]},{value:"login",label:(0,i.jsx)(h,{content:"loginLabel"}),indentFields:[(0,i.jsx)(r.FormFieldText,{name:"login",size:"fill"},"reset-by-login")]}]})})]})};g.propTypes={values:s().shape({resetBy:s().string,email:s().string,login:s().string})},g.defaultProps={values:void 0};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:127}};n.loc.source={body:"query GetPasswordPage {\n    viewer {\n        background {\n            file\n            color\n            fit\n        }\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(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){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var i={};function a(e,n){for(var t=0;t<e.definitions.length;t++){var i=e.definitions[t];if(i.name&&i.name.value==n)return i}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),i[e.name.value]=n}})),e.exports=n,e.exports.GetPasswordPage=function(e,n){var t={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var s=i[n]||new Set,o=new Set,r=new Set;for(s.forEach((function(e){r.add(e)}));r.size>0;){var d=r;r=new Set,d.forEach((function(e){o.has(e)||(o.add(e),(i[e]||new Set).forEach((function(e){r.add(e)})))}))}return o.forEach((function(n){var i=a(e,n);i&&t.definitions.push(i)})),t}(n,"GetPasswordPage")},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>p});var i=t(270),a=t(581),s=t(271),o=t(89),r=t(392),d=t(531),l=t(827),c=t(633),m=t(828);const u=o.Locale.getTranslate("components.forms.restore-password"),p=(0,m.withLoginLayout)((()=>{const e=(0,a.useNavigate)(),[n,t]=(0,i.useState)({}),m=(0,i.useCallback)((()=>{(0,d.addToast)({intent:"success",message:(0,i.jsx)(u,{content:"restoreSuccess"})}),e("/login_up.php")}),[e]),p=(0,i.useCallback)((e=>(0,r.default)(e,(e=>o.api.post("?estimate",{password:e})))),[]);return(0,i.jsxs)(l.default,{id:"form-restore-password",onSubmit:e=>{const n={};if(e.password||(n.password={isEmpty:(0,i.jsx)(u,{content:"isEmpty"})}),t(n),!Object.keys(n).length)return e},onSuccess:m,submitButton:{children:(0,i.jsx)(u,{content:"buttonRestore"})},applyButton:!1,cancelButton:{children:(0,i.jsx)(u,{content:"buttonCancel"}),component:c.default,to:"/login_up.php"},errors:n,vertical:!0,children:[(0,i.jsx)("h3",{children:(0,i.jsx)(u,{content:"title"})}),(0,i.jsx)(s.FormFieldPassword,{title:(0,i.jsx)(u,{content:"passwordLabel"}),name:"password",size:"fill",autoComplete:"new-password",passwordMeterProps:{onEstimate:p,placement:"top-right"}})]})}))},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>m});var i=t(270),a=t(272),s=t.n(a),o=t(271),r=t(89),d=t(604);const l=(e,n,t)=>({...e,...Object.entries(n).reduce(((e,[n,i])=>(e[`${t}.${n}`]=i,e)),{})}),c=({children:e})=>{const[n,t]=(0,i.useState)(Object.entries(r.Locale.sections).reduce(((e,[n,t])=>l(e,t.messages,n)),{})),a=(0,i.useCallback)((({name:e,messages:n})=>{t((t=>l(t,n,e)))}),[]);return(0,d.useEventListener)("plesk:addedLocaleSection",a,r.Observer),(0,i.jsx)(o.LocaleProvider,{messages:n,children:e})};c.propTypes={children:s().any},c.defaultProps={children:void 0};const m=c},,(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>l});var i=t(93),a=t(270),s=t(272),o=t.n(s),r=t(277);class d extends a.Component{constructor(...e){super(...e),(0,i.default)(this,"state",{error:null,errorInfo:null})}componentDidCatch(e,n){this.setState({error:e,errorInfo:n}),(0,r.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:o().any},d.defaultProps={children:void 0};const l=d},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>a});const i={"app/editlist":()=>t.e("app/editlist").then(t.bind(t,2266)),"app/rating":()=>t.e("app/rating").then(t.bind(t,2270)),"app/aha":()=>t.e("app/aha").then(t.bind(t,2271)),"app/eula":()=>t.e("app/eula").then(t.bind(t,2272)),"app/app-image/gallery":()=>t.e("app/app-image/gallery").then(t.bind(t,2273)),"app/backup/list":()=>t.e("app/backup/list").then(t.bind(t,2274)),"app/backup/restore":()=>t.e("app/backup/restore").then(t.bind(t,2279)),"app/backup/upload-files":()=>t.e("app/backup/upload-files").then(t.bind(t,2280)),"app/backup/web-content-dynamic":()=>t.e("app/backup/web-content-dynamic").then(t.bind(t,2281)),"app/database/assign-to-subscription":()=>t.e("app/database/assign-to-subscription").then(t.bind(t,1722)),"app/dns-helper":()=>t.e("app/dns-helper").then(t.bind(t,1766)),"app/dns-helper/dns-settings":()=>t.e("app/dns-helper/dns-settings").then(t.bind(t,2286)),"app/email-address/aliases-dynamic":()=>t.e("app/email-address/aliases-dynamic").then(t.bind(t,2287)),"app/email-address/form-ajax":()=>t.e("app/email-address/form-ajax").then(t.bind(t,2288)),"app/email-address/postbox":()=>t.e("app/email-address/postbox").then(t.bind(t,2290)),"app/email-address/responder-attachments-dynamic":()=>t.e("app/email-address/responder-attachments-dynamic").then(t.bind(t,2291)),"app/file-manager/explorer":()=>t.e("app/file-manager/explorer").then(t.bind(t,2292)),"app/file-manager/file-name-popup-form":()=>t.e("app/file-manager/file-name-popup-form").then(t.bind(t,2293)),"app/mail-settings/confirmation-remove-popup-form":()=>t.e("app/mail-settings/confirmation-remove-popup-form").then(t.bind(t,2294)),"app/hosting-settings/conflicts-checker":()=>t.e("app/hosting-settings/conflicts-checker").then(t.bind(t,2295)),"app/log-browser/browser":()=>t.e("app/log-browser/browser").then(t.bind(t,2297)),"app/log-browser/files":()=>t.e("app/log-browser/files").then(t.bind(t,2301)),"app/login/recovery-password":()=>t.e("app/login/recovery-password").then(t.bind(t,2302)),"app/newsletter-subscription":()=>t.e("app/newsletter-subscription").then(t.bind(t,2304)),"app/progress-dialog":()=>t.e("app/progress-dialog").then(t.bind(t,2308)),"app/profile/announcement-settings":()=>t.e("app/profile/announcement-settings").then(t.bind(t,2310)),"app/pum":()=>t.e("app/pum").then(t.bind(t,2312)),"app/server-mail-antivirus-promo":()=>t.e("app/server-mail-antivirus-promo").then(t.bind(t,2320)),"app/show-output-popup":()=>t.e("app/show-output-popup").then(t.bind(t,2321)),"app/task-progress-bar":()=>t.e("app/task-progress-bar").then(t.bind(t,2322)),"app/user/login-string":()=>t.e("app/user/login-string").then(t.bind(t,2324)),"app/change-customers-owner":()=>t.e("app/change-customers-owner").then(t.bind(t,2325)),"app/convert-customers-to-resellers":()=>t.e("app/convert-customers-to-resellers").then(t.bind(t,2326)),"app/convert-resellers-to-customers":()=>t.e("app/convert-resellers-to-customers").then(t.bind(t,2327)),"app/service-sidebar":()=>t.e("app/service-sidebar").then(t.bind(t,2328)),"app/ssl-certificate/list":()=>t.e("app/ssl-certificate/list").then(t.bind(t,2329)),"app/app/progress":()=>t.e("app/app/progress").then(t.bind(t,2331)),"app/app/installed":()=>t.e("app/app/installed").then(t.bind(t,2332)),"app/app/apscatalog":()=>t.e("app/app/apscatalog").then(t.bind(t,2333)),"app/web-app-firewall/submit-handler":()=>t.e("app/web-app-firewall/submit-handler").then(t.bind(t,2334))},a=async(e,n)=>{if(!i[e])throw new Error(`Unknown required module ${e}.`);try{const{default:t}=await i[e]();return n?.(t),t}catch(e){return console.error(e),new Promise((()=>{}))}}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>d});var i=t(906),a=t(941),s=t(277),o=t(841),r=t(945);const d=({sentry:e})=>{if(!e)return;if(window.navigator.userAgent.match(/jsdom/))return;const{user:n=null,tags:t={},environment:d,...l}=e,c="development"===d;(0,i.init)({integrations:[new a.InternalReplay({maskAllText:!c,maskAllInputs:!c}),new o.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 t=n.originalException;if(t&&t.stack){const e=/global code@|@debugger/.test(t.stack),n=t.stack.split("\n"),i=2===n.length&&/<anonymous>:1:(\d+)$/.test(n.at(-1));if(e||i)return null}return e},beforeBreadcrumb:(0,r.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?.01:0,environment:d,...l}),(0,s.configureScope)((e=>{e.setUser(n);for(const n in t)e.setTag(n,t[n])}))}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,(e,n,t)=>{"use strict";t.r(n);var i=t(947),a=t(948),s=t(949),o=t(950),r=t(951),d=t(306);window.AdminPanel=i,window.Smb=a,Object.keys(s).forEach((e=>{window[e]=s[e]})),Object.keys(o).forEach((e=>{window[e]=o[e]})),(0,d.default)((()=>{window.tooltip=new r.default(document)}))},(e,n,t)=>{"use strict";t.r(n),t.d(n,{home:()=>l});var i=t(89);class a extends i.Component{_initComponentElement(){super._initComponentElement();const e=this._getConfigParam("type"),n=this._getConfigParam("nowElement"),t=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}-now" class="btn" type="submit">${n.text}</button><button id="control-${e}-show" class="btn" type="submit">${t.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}-now`).addEventListener("click",(e=>{n.handler(),e.preventDefault()})),this._componentElement.querySelector(`#control-${e}-show`).addEventListener("click",(e=>{t.handler(),e.preventDefault()})),this._componentElement.querySelector(`#control-${e}-later`).addEventListener("click",(e=>{i.handler(),e.preventDefault()}))}}class s extends i.Component{_initComponentElement(){super._initComponentElement();const e=this._getConfigParam("type"),n=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}-show" class="btn" type="submit">${n.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}-show`).addEventListener("click",(e=>{n.handler(),e.preventDefault()})),this._componentElement.querySelector(`#control-${e}-later`).addEventListener("click",(e=>{t.handler(),e.preventDefault()}))}}class o extends i.Panel{_addTooltips(){}_getSubTitleHtml(){const e=this._getConfigParam("description");return e?`<div class="description"><div class="description-area">${e}</div></div>`:""}}class r extends i.ListContainer{}class d extends i.SmallButton{}const l={UpdateAvailableNotification:a,UpgradeAvailableNotification:s,Panel:o,PanelItemsGroup:r,PanelItem:d}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{ApplicationUpdate:()=>o,ApsLicense:()=>a,ToolButton:()=>s,showApplicationChangelog:()=>d,updateApplication:()=>r});var i=t(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=i.BigButton;class o extends i.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,i.createElement)("br")),this._data.forEach((n=>{e.push((0,i.createElement)("div.b-subitem",`${n.name} `,(0,i.createElement)("span.hint",`(${this._renderHint(n)})`)," ",(0,i.createElement)("a.toggler.js-install",this.lmsg("install")),"&nbsp; ",(0,i.createElement)("a.toggler.js-changelog",this.lmsg("changelog")),(0,i.createElement)("input",{type:"hidden",value:JSON.stringify(n)})))})),this._data.length>this._limit&&e.push((0,i.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 r=({name:e,instances:n},t,a)=>{a.preventDefault();const s=Element.cumulativeOffset(a.target),o=(0,i.getComponent)("asyncProgressBarWrapper"),r=o.fly(s,t.lmsg("appInstall",{app:(0,i.escapeHtml)(e)}),(()=>{i.api.post((0,i.prepareUrl)("/app-update/update-all"),{resourceIds:n.map((({id:e})=>e)),name:e}).then((()=>{o.removePreparingItem(r),o.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,t)=>{new Ajax.Request((0,i.prepareUrl)(`/app-update/index/resourceId/${e.instances[0].id}/`),{method:"get",onCreate(){new i.Popup({content:`<div class="ajax-loading">${n.lmsg("loading")}</div>`,title:n.lmsg("appChangelog",{app:(0,i.escapeHtml)(e.name)})})},onSuccess(t){if(""===t.responseText)return;let a="";try{const e=JSON.parse(t.responseText);"error"===e.status&&(a=""!=e.statusMessages?e.statusMessages:n.lmsg("unableGetChangelog"))}catch{a=t.responseText}const s=new i.Popup({content:a,title:n.lmsg("appChangelog",{app:(0,i.escapeHtml)(e.name)}),onShow(){document.querySelectorAll(".apps-box").forEach((function(e){const n=document.viewport.getHeight(),t=Element.getHeight(e.closest(".popup-container")),i=Element.positionedOffset(e.closest(".popup-panel")).top;if(t+2*i>=n){const a=n-(t-Element.getHeight(e))-2*i;e.style.overflow="auto",e.style.height=`${a}px`}}))},buttons:[{title:n.lmsg("close"),handler(){s.hide()}}]})}}),t.preventDefault()}},(e,n,t)=>{"use strict";t.r(n),t.d(n,{errorfield:()=>c,getParentNodeByName:()=>l,go_to:()=>s,loff:()=>r,lon:()=>o,lsubmit:()=>d,syn:()=>a});var i=t(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{}},o=()=>!0,r=()=>!0,d=e=>{try{if("true"===e.lock.value)return!1;e.lock.value="true"}catch{}o();const n=document.getElementById("buttonid-ok");n&&(n.disabled=!0,n.classList.add("btn-waiting"));try{e.submit()}catch{return r(),e.lock.value="false",!1}return!0},l=(e,n)=>{const t=e.parentNode;return!!t&&(t.nodeName!==n?l(t,n):t)},c=(e,n)=>{const t=l(e,"TR");return!!t&&(t.className=n?"error":"",!0)};if((0,i.onReady)((()=>{document.querySelectorAll("textarea.js-auto-resize").forEach((e=>{const n=()=>{const n=e.value.split("\n").length;e.rows=n<t?t:n+2},t=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,i.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 t=n.closest("form");e(t)}));const n=HTMLFormElement.prototype.submit;HTMLFormElement.prototype.submit=function(){return e(this),n.call(this)};const t=XMLHttpRequest.prototype.open;XMLHttpRequest.prototype.open=function(e,n,...i){t.call(this,e,n,...i);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,i.showInternalError)(e.responseText)},on0:()=>!1,...n})},Ajax.Request.prototype.abort=function(){this.transport.abort()}}document.addEventListener("keydown",(e=>{i.keyCode.ESC===e.keyCode&&(e.preventDefault(),e.stopPropagation())}))},(e,n,t)=>{"use strict";t.r(n),t.d(n,{block_to_num:()=>v,chk_dom:()=>d,chk_email:()=>l,chk_ip_address_and_mask:()=>f,chk_ip_t:()=>m,chk_login:()=>o,chk_mask:()=>u,chk_mn:()=>s,chk_pd_name:()=>i,chk_pos_int:()=>a,chk_realm:()=>r,chk_sys_passwd:()=>h,chk_uint:()=>g,chk_url:()=>c,ip2long:()=>p});const i=(e,n)=>{const t=n?/^[0-9a-zA-Z\-_.\/~@!\+=\^\(\)\[\]\{\}, ]+$/:/^[0-9a-zA-Z-_.\/]+$/,i=n?/(\/\/|^\.|\.$|\/\.|\.\/|\/ | \/)/:/(\/\.\.\/|\/\/|^\.\/|^\.\.\/|\/\.\/|\/\.\.$|\/\.$|^\.$)/;return-1!==e.search(t)&&-1===e.search(i)},a=e=>-1!==e.search(/^\s*[1-9]{1}[0-9]*\s*$/),s=(e,n)=>{const t=n?/^([A-Za-z0-9_\-])+((\.){1}([A-Za-z0-9_\-])+)*$/:/^[\w-][\w&\-\+]*((\.)[\w&\-\+]+)*$/;return-1!==e.search(t)},o=e=>-1!==e.search(/^[^\s]{1,255}$/),r=e=>-1!==e.search(/^[^\"]*$/),d=(e,n)=>{if(""===e)return!1;if("localhost.rev"===e)return!1;return-1===e.search(/\.in-addr.arpa$/)&&(!f(e,"IP_ADDRESS","IP_ADDRESS_FORMAT")&&(!n||-1===e.search(/\.d$/)))},l=(e,n)=>{const t=e.match(/^([^\@]+){1}\@([^\@]+){1}$/);return!!t&&(s(t[1],n)&&d(t[2],n))},c=e=>{const n=/^((http[s]?|ftp):\/\/)?([^\/:]+)(:\d{1,5})?(\/[^\s\"\'`]*)?$/i.exec(e);return!!n&&d(n[3])},m=e=>f(e,"IP_ADDRESS","IP_ADDRESS_FORMAT")||e.match(/^<ip>$/),u=e=>{const n=e.match(/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/);if(!n)return!1;let t=n.length-1;for(;t&&0===n[t];)t--;if(!t)return!0;if(128!==n[t]&&192!==n[t]&&224!==n[t]&&240!==n[t]&&248!==n[t]&&252!==n[t]&&254!==n[t]&&255!==n[t])return!1;for(t--;t&&255===n[t];)t--;return!t},p=e=>{let n=0;const t=e.match(/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/);if(!t)return null;for(let e=1;e<t.length;e++)n<<=8,n|=t[e];return n},v=e=>{let n=0;for(let t=0;t<32;t++)n<<=1,n|=e>t?1:0;return n},f=(e,n,t)=>{let i,a=null,s=null;return"IP_ADDRESS_BLOCK_FORMAT"===t&&(i=e.match(/^(\d{1,3})(\.(\d{1,3})(\.(\d{1,3})(\.(\d{1,3})|)|)|)\/(\d{1,2})$/))&&(!i[1]||i[1]>=0&&i[1]<=255)&&(!i[3]||i[3]>=0&&i[3]<=255)&&(!i[5]||i[5]>=0&&i[5]<=255)&&(!i[7]||i[7]>=0&&i[7]<=255)&&i[8]>=0&&i[8]<=32?(a=p(`${i[1]?i[1]:0}.${i[3]?i[3]:0}.${i[5]?i[5]:0}.${i[7]?i[7]:0}`),s=v(i[8])):"IP_ADDRESS_FORMAT"===t&&(i=e.match(/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/))&&i[1]>=0&&i[1]<=255&&i[2]>=0&&i[2]<=255&&i[3]>=0&&i[3]<=255&&i[4]>=0&&i[4]<=255&&(a=p(`${i[1]}.${i[2]}.${i[3]}.${i[4]}`),s=v(32)),null!==a&&null!==s&&("IP_ADDRESS_NETMASK"===n&&a&&s&&(a&~s&&~(a&~s|s)||s===v(32))||"IP_ADDRESS"===n&&a&&s===v(32))},h=(e,n,t,i)=>{if(n.length<t||n.length>i)return!1;if(n.length>=e.length&&-1!==n.indexOf(e,0))return!1;if(-1!==n.indexOf("'")||-1!==n.indexOf(" "))return!1;for(let e=0;e<n.length;e++)if(n.charCodeAt(e)>127)return!1;return!0},g=e=>!!e.match(/^[0-9]+$/)},(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>s});var i=t(93),a=t(89);const s=class{constructor(e){(0,i.default)(this,"showTimeout",.55),(0,i.default)(this,"minDelta",5),(0,i.default)(this,"xOffsetLeft",-5),(0,i.default)(this,"xOffsetRight",5),(0,i.default)(this,"yOffsetTop",1),(0,i.default)(this,"yOffsetBottom",13),(0,i.default)(this,"tooltip",null),(0,i.default)(this,"tooltipEventElement",null),(0,i.default)(this,"tooltipMouseMoveObserver",null),(0,i.default)(this,"tooltipVisible",!1),(0,i.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 t="";(n||[]).forEach((e=>{if("string"===e.type)t+=`${(0,a.escapeHtml)(e.string)}<br>`})),this.tooltip.innerHTML=t,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 t=Element.getDimensions(this.tooltip),i=document.viewport.getDimensions(),a=document.viewport.getScrollOffsets(),s=i.width+a.left-this.tooltipX,o=this.tooltipX-a.left,r=this.tooltipY-a.top,d=i.height+a.top-this.tooltipY;return e=s>t.width+this.minDelta+this.xOffsetRight?this.tooltipX+this.xOffsetRight:o>t.width+this.minDelta+this.xOffsetLeft?this.tooltipX-t.width-this.xOffsetLeft:this.tooltipX-(t.width+this.xOffsetLeft)/2,n=d>t.height+this.minDelta+this.yOffsetBottom?this.tooltipY+this.yOffsetBottom:r>t.height+this.minDelta+this.yOffsetTop?this.tooltipY-t.height-this.yOffsetTop:this.tooltipY-(t.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 t=!this.tooltipVisible;this.tooltipVisible=!0,t&&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 t=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(t.exports,t,t.exports,__webpack_require__),t.loaded=!0,t.exports}__webpack_require__.m=__webpack_modules__,deferred=[],__webpack_require__.O=(e,n,t,i)=>{if(!n){var a=1/0;for(d=0;d<deferred.length;d++){n=deferred[d][0],t=deferred[d][1],i=deferred[d][2];for(var s=!0,o=0;o<n.length;o++)(!1&i||a>=i)&&Object.keys(__webpack_require__.O).every((e=>__webpack_require__.O[e](n[o])))?n.splice(o--,1):(s=!1,i<a&&(a=i));if(s){deferred.splice(d--,1);var r=t();void 0!==r&&(e=r)}}return e}i=i||0;for(var d=deferred.length;d>0&&deferred[d-1][2]>i;d--)deferred[d]=deferred[d-1];deferred[d]=[n,t,i]},__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 t=Object.create(null);__webpack_require__.r(t);var i={};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=>i[n]=()=>e[n]));return i.default=()=>e,__webpack_require__.d(t,i),t},__webpack_require__.d=(e,n)=>{for(var t in n)__webpack_require__.o(n,t)&&!__webpack_require__.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce(((n,t)=>(__webpack_require__.f[t](e,n),n)),[])),__webpack_require__.u=e=>"javascript/"+e+".js?"+{"components/pages/IpAddressDomainsPage":"97417570f6991b0eddad","components/pages/ChangeOwnerPage":"dbba3ab568eb6961d6cc","views/admin/force-reset-password":"2b66c12091de30e02d7e","views/admin/setup/progress":"cc16422026203884125a","views/admin/setup/index":"8c1ecef618386bfd9a12","views/admin/home/admin":"d81227485d8e5f791dab","views/admin/app/info":"d5191f11829a824422b5","views/admin/app/usage":"970188f74f20bfe0c5e2","views/admin/app/uploaded":"b9c6422ab61e81020e58","views/admin/custom-buttons/list":"19367968b4fc00122ed2","views/admin/ftp-sessions/list":"2f9b4a32a9f7ada28db4","views/admin/php-handler/list":"f4533971a2c6bfd0b7a2","components/pages/ScheduledBackupPage":"34efc676e67b15d2c795","components/pages/ScheduledBackupListPage":"7c1b3a623149a6208c51","views/default/scheduler/list":"ad19fb1a68d726116c7d","views/admin/domain/list":"826f20b57314a55ac850","views/admin/customer/list":"ac22b5836ccf47293d56","views/admin/customer/domains":"4450f485c6fc55f50b33","views/admin/customer/subscriptions":"3a2dbd4678c30b3255ef","views/admin/reseller/list":"3c29065278ab748c9edb","views/admin/reseller/customers":"a1afbddf11de05ebe845","views/admin/reseller/domains":"dff211d325590e2fa6c4","views/admin/reseller/subscriptions":"748a4672460d60074fcd","views/admin/server/tools":"b6910f6d5e720c3c7c09","views/admin/server/preview-domain-settings":"f5af0a99e81d1c2bcec3","views/admin/services/list":"8c398be2f3e6c7581450","views/admin/sessions/list":"c613505208d2ab5fef9d","views/admin/subscription/list":"e5547ff8a568e0c134f5","views/smb/file-manager/list":"db074a4414870c533964","views/smb/file-manager/index":"c12106cead1c9a38ab1b","views/smb/my-service/index":"cbfd55d70b9df3372308","views/smb/email-address/index":"47bc64e01fff590bf215","views/smb/email-address/list":"d7c0c3c5babf50a69614","views/smb/mail-settings/list":"6976aab9b232fb5ec837","views/smb/account/index":"b3ec2c7a800da0f83b41","views/smb/account/show":"df35a71ad7729b031a6d","views/smb/user/list":"d5ed97c6160fc375cae0","views/smb/web/setup":"3e2182a4d0d8c3fe3204","views/smb/web/view":"d236d037728210e69e01","views/smb/web/php-settings":"aa63ad46eb7b0fabf18b","views/smb/statistics/details":"a478bc37e5b37d7c46bb","views/smb/database/index":"99328872e4b1b2896312","views/smb/database/list":"dc5bbf7aaa199a059d37","views/smb/database/users-list":"3e85e3f4fa79f1b6a05e","views/admin/task-manager/index":"c6ff1d892ecb23a8d585","views/dns/records":"91cb0430b82fdced4c3a","views/dns/records/edit":"8a07c4c730950dcabe68","views/dns/records/dns-zone-sync":"75ffc5af9773148c2427","views/dns/soa-record":"7087c20df5f23354506c","views/admin/dns/acl-records":"03715c4fca362111fe33","views/admin/dns/add-acl-record":"48681930b3f9da11ef8c","views/admin/dns/external-dns":"cb535b744eda3068b04f","views/admin/dns/external-dns-edit":"619e9787bcfa845bbb68","views/smb/dns-zone/records-list":"37f71b8aa5c6e223a8e9","views/smb/dns-zone/soa-record":"8f5faacdaa7002c638a9","views/smb/dns-zone/acl-records":"a290b8442589b7e4a9a3","views/smb/dns-zone/add-acl-record":"3516c540b9a15bda77bd","views/smb/dns-zone/external-dns":"3bddb149735b1a59b310","views/smb/dns-zone/external-dns-edit":"1a4ae47a754694585dca","views/admin/settings-ui/edit-interface-view":"2541bdf6714789903f73","views/admin/settings-ui/list-languages":"7e2f321ebbecaf38ade1","views/admin/database/settings":"3a136557527a78514ae3","views/smb/web/web-server-settings":"c1168ced146a8ca9a5f8","views/admin/notifications/index":"5f5d7212129a2d2bff48","components/pages/PanelNotificationsSettings":"3cccdedfc818b1625dfd","components/pages/BrandingPage":"4e0d931477371fa70cae","views/server/db":"1c3df0dcdbba9efbb5cd","views/admin/websites-diagnostic/index":"e9b3be97cc2343b7434d","components/pages/SystemTimePage":"f8a4f018cee0cd10b9a4","views/server/mail":"893d70acf5b288cc2e98","views/license":"ef3fec378427f8d0e18f","views/license/additional":"3d2c1fa6b983e890ef94","components/pages/FirewallGeneralPage":"4c001c2fbe47f95e47a3","components/pages/FirewallIcmpPage":"98cae9db2b105826f20f","components/pages/FirewallRulesPage":"43306d0e94180414d05f","components/pages/ServerComponentsPage":"111660eb00bd8733648c","views/admin/ip-address/list":"400d40b392998cf6011f","views/admin/ip-address/clients":"4c6cc206475fd01f3488","components/pages/AssignIpAddressToResellerForm":"8ac05b77cfe4b88dce71","views/admin/reseller/resourceUsage":"b6206502ec996b396f29","views/admin/client/ip-address":"bf21d5e9af9405995ee0","views/admin/client/ip-address/form":"7f7802a7ad759f759b94","views/php/extensions":"5fd2b7d1ee04be146342","components/pages/TsSessionPage":"ee8eb631ad18244b517f","components/pages/TsSessionsPage":"eb57305cef82cc7b1549","components/pages/AspDotNetSettingsPage/AspDotNetServerSettingsPage":"5dc3f0fc12dcc705722f","components/pages/ServerAboutPage":"9ec3403905a734be1dd7","components/pages/ActionLogPage":"f7b283d71d2be5aba27d","components/pages/ServerInformationPage":"8a83f4a201d5bd8de078","components/pages/ServerSettingsPage":"9cc4791b4be404e4a6bd","components/tabs/SpamFilterSettingsTabs":"f97943ec553ae24d05fe","components/pages/SpamFilterSettingsPage":"9ea751e0553f918c1ad0","components/pages/SpamFilterBlackListPage":"e9dd95297f4beb4f98bc","components/pages/SpamFilterWhiteListPage":"d987a6a8d2d50b9bf651","components/layouts/page-layout/help-drawer":"86012d944f300badd40d","components/pages/OdbcPage/OdbcServerPage":"a37969d04f73d0fb201b","components/pages/OdbcAddPage":"27d469775e3de24a6e43","components/pages/OdbcEditPage":"8b8c6f0e4717173043a1","components/pages/HostingSettingsPage":"caeeabcf13649b7c75c3","components/pages/ConnectionInfo":"40d021068590718014cf","components/pages/SummaryReportPage":"954638cd69ad47c051fe","components/pages/SummaryReportSchedulesPage":"1438b2c187c6dc4fb09f","components/pages/SummaryReportLayoutsPage":"de39bd96d167fcfe8c31","components/pages/TrafficHistoryReportPage":"103b24a697ce63c07a31","components/pages/AspDotNetSettingsPage/AspDotNetDomainSettingsPage":"f7c695faec24ebd03c92","components/pages/BandwidthLimitingPage":"e3e58772d5c684a1b307","components/pages/HotlinkProtectionPage":"618d6c79b5cda762f4c1","components/pages/OdbcPage/OdbcDomainPage":"02c341b8703d98f637e0","components/pages/ProtectedDirectoryListPage":"c860a4727d83d4da06f6","components/pages/ProtectedDirectoryAddPage":"d142be811201ea39b673","components/pages/ProtectedDirectoryEditPage":"f5c3cee04524b067183e","components/pages/ProtectedDirectoryUserListPage":"b0a3053ebd1a11f7eebd","components/pages/ProtectedDirectoryUserAddPage":"acb50935942e16d31a31","components/pages/ProtectedDirectoryUserPasswordPage":"d7ae6d340ffcc4cf8e03","components/pages/VirtualDirectoryPage":"cb7085169f45926f5dab","components/pages/HomePage":"3bf27780c7e621be0d94","components/pages/HomeCustomizationPage":"00fb72c98fdc696508d8","app/editlist":"683159e34ff6645c3aa4","app/rating":"6dc28d3bbc8255c82474","app/aha":"e7571c6d3501f0fcad97","app/eula":"8923d31a0afd0b736111","app/app-image/gallery":"65c7930b01da46aa2a03","app/backup/list":"15181815ac34dd69f0fa","app/backup/restore":"f9ae2a97f6e499e9c78c","app/backup/upload-files":"cbee1a7f6d561d424cb7","app/backup/web-content-dynamic":"37b606c1e3b032d1ad7e","app/database/assign-to-subscription":"a454e9f9aa61e785b2fc","app/dns-helper":"acd07e3ebfddc898187d","app/dns-helper/dns-settings":"66b8dea834743c29d2af","app/email-address/aliases-dynamic":"cfa8bbe5230e32b51e43","app/email-address/form-ajax":"749fc8ffed9ee087ecfe","app/email-address/postbox":"9ba5bc3f25ef32bb20b3","app/email-address/responder-attachments-dynamic":"3811f83912573b55fb76","app/file-manager/explorer":"625f38520f4bda33f7b9","app/file-manager/file-name-popup-form":"9c5a29de8abde8351de6","app/mail-settings/confirmation-remove-popup-form":"b6f55bd7eb83fab29642","app/hosting-settings/conflicts-checker":"6165be3b3e357d18d90e","app/log-browser/browser":"c291ea4a93c8946263ca","app/log-browser/files":"1eb27701a0dd345d9a29","app/login/recovery-password":"93529eec937a2ef20270","app/newsletter-subscription":"6fd89aa0fc597fd59cc8","app/progress-dialog":"9c2c6cfdaa261bfc0f03","app/profile/announcement-settings":"bdf35bbe6e79e055fa75","app/pum":"dd8cd11369317372c516","app/server-mail-antivirus-promo":"8a1caf6e174ebb4f4a57","app/show-output-popup":"ee4eb22054d239503682","app/task-progress-bar":"5e3bef720e98fb8c1f20","app/user/login-string":"6a2668189944eb05be3a","app/change-customers-owner":"3c1c84cd77bd1464d811","app/convert-customers-to-resellers":"6a02bb3ed8144bd287ef","app/convert-resellers-to-customers":"78237a183cde95b8fc48","app/service-sidebar":"126fc0c4b3179a71cb6d","app/ssl-certificate/list":"c6d7ad6a32b584a66c43","app/app/progress":"966404156c2f3439d390","app/app/installed":"ac21526604cdfdc8e5ed","app/app/apscatalog":"f98537a5587317ce33c5","app/web-app-firewall/submit-handler":"d58ce83417edae85b123","views/smb/file-manager/list/UploadProgressDialog":"2c83d3c67637d8ccf6e7","components/common/ServerMailAntivirusPromo":"68b8a510a4f277928673"}[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,t,i)=>{if(inProgress[e])inProgress[e].push(n);else{var a,s;if(void 0!==t)for(var o=document.getElementsByTagName("script"),r=0;r<o.length;r++){var d=o[r];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,t)=>{a.onerror=a.onload=null,clearTimeout(c);var i=inProgress[e];if(delete inProgress[e],a.parentNode&&a.parentNode.removeChild(a),i&&i.forEach((e=>e(t))),n)return n(t)},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=(t,i)=>{i||(i=[]);var a=n[t];if(a||(a=n[t]={}),!(i.indexOf(a)>=0)){if(i.push(a),e[t])return e[t];__webpack_require__.o(__webpack_require__.S,t)||(__webpack_require__.S[t]={});__webpack_require__.S[t];var s=[];return s.length?e[t]=Promise.all(s).then((()=>e[t]=1)):e[t]=1}}})(),__webpack_require__.p="/cp/",__webpack_require__.f.compat=(e,n)=>{var t={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/ChangeOwnerPage":["components.pages.change-owner","components.forms.change-subscriptions-owner"],"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","smb.components.forms.web.seo-settings","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","smb.components.forms.web.seo-settings","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","smb.components.forms.web.seo-settings","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","smb.components.forms.web.seo-settings","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":["components.active-lists.sites","smb.components.forms.web.add-domain","smb.components.forms.domain-info-section","smb.components.forms.web._shared","smb.components.forms.web.seo-settings","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.icp-permit","components.forms.domain.move","components.active-list","components.active-lists.sites.installApplication","components.active-lists.sites.RenameTour","components.forms.domain.rename","admin.components.lists.domains","components.active-lists.sites.DynamicListTour","components.site-jet-banner"],"views/smb/web/php-settings":["smb.components.forms.web.settings","components.buttons","components.forms.php-settings","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","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"],"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/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.pages.ProtectedDirectoryUserList","components.buttons"],"components/pages/ProtectedDirectoryUserAddPage":["components.pages.ProtectedDirectoryUserAdd"],"components/pages/ProtectedDirectoryUserPasswordPage":["components.pages.ProtectedDirectoryUserPassword"],"components/pages/VirtualDirectoryPage":["components.pages.VirtualDirectory","smb.components.lists.virtualdirectories","components.buttons","components.pages.VirtualDirectory.CreateDirectory","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","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.VirtualDirectory.Php"],"components/pages/HomePage":["components.pages.Home.ServerInfo","components.buttons","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"]};t[e]&&n.push(Jsw.Locale.loadSections(t[e]))},(()=>{var e={main:0};__webpack_require__.f.j=(n,t)=>{var i=__webpack_require__.o(e,n)?e[n]:void 0;if(0!==i)if(i)t.push(i[2]);else{var a=new Promise(((t,a)=>i=e[n]=[t,a]));t.push(i[2]=a);var s=__webpack_require__.p+__webpack_require__.u(n),o=new Error;__webpack_require__.l(s,(t=>{if(__webpack_require__.o(e,n)&&(0!==(i=e[n])&&(e[n]=void 0),i)){var a=t&&("load"===t.type?"missing":t.type),s=t&&t.target&&t.target.src;o.message="Loading chunk "+n+" failed.\n("+a+": "+s+")",o.name="ChunkLoadError",o.type=a,o.request=s,i[1](o)}}),"chunk-"+n,n)}},__webpack_require__.O.j=n=>0===e[n];var n=(n,t)=>{var i,a,s=t[0],o=t[1],r=t[2],d=0;if(s.some((n=>0!==e[n]))){for(i in o)__webpack_require__.o(o,i)&&(__webpack_require__.m[i]=o[i]);if(r)var l=r(__webpack_require__)}for(n&&n(t);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)},t=self.webpackChunkPlesk=self.webpackChunkPlesk||[];t.forEach(n.bind(null,0)),t.push=n.bind(null,t.push.bind(t))})();var __webpack_exports__=__webpack_require__.O(void 0,["vendors"],(()=>__webpack_require__(0)));__webpack_exports__=__webpack_require__.O(__webpack_exports__)})();
//# sourceMappingURL=main.js.map