33 lines
18 KiB
JavaScript
33 lines
18 KiB
JavaScript
(globalThis.webpackChunkPlesk=globalThis.webpackChunkPlesk||[]).push([["views/license"],{2500:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>v});var i=t(599),s=t(620),a=t(297),o=t(90),r=t(296),l=t(346),c=t(718),d=t(675),u=t(2501),p=t(2502),m=t(2503),y=t(2504),f=t(720),x=t(640),h=t.n(x);const j=o.Locale.getTranslate("components.pages.primary-key-info"),g=o.Locale.getTranslate("components.license-status"),v=(0,d.withPageLayout)((0,y.withLicenseTabs)(()=>{const{data:{primaryKey:e,mode:{isLicenseDefault:n,isDemo:t},config:{license:{disableOnExpiration:o}}}}=(0,s.useQuery)(h()),[d,y]=(0,m.usePrimaryKeyUpdateDialog)(),{pageHeader:{licenseStatus:{actionUrl:x,status:v}={}}}=(0,l.usePageData)(),k=(0,a.useTranslate)("components.pages.primary-key-info"),b=(0,r.useMemo)(()=>o&&v===f.STATUS_EXPIRED,[o,v]),S=(0,r.useMemo)(()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(a.Toolbar,{children:[(0,r.jsx)(a.Button,{id:"update-primary-key","data-id":"update",onClick:y,tooltip:(0,r.jsx)(j,{content:"updateDescription"}),disabled:t||n,children:(0,r.jsx)(j,{content:"update"})}),!b&&(0,r.jsx)(a.Button,{"data-id":"upload",component:c.default,to:"/cp/license/primary/upload/",tooltip:(0,r.jsx)(j,{content:"uploadDescription"}),disabled:t,children:(0,r.jsx)(j,{content:"upload"})}),(0,r.jsx)(a.Button,{"data-id":"revert",component:c.default,to:"/cp/license/primary/revert/",tooltip:(0,r.jsx)(j,{content:"revertDescription"}),disabled:t||!e.revertKey,children:(0,r.jsx)(j,{content:"revert"})})]}),(0,r.jsx)(p.default,{properties:e.properties})]}),[t,n,e.properties,e.revertKey,y,b]),w=(0,r.useMemo)(()=>(0,r.jsxs)(a.ExtendedStatusMessage,{style:{margin:0},children:[(0,r.jsx)(a.ExtendedStatusMessageTitle,{children:(0,r.jsx)(j,{content:"expireTitle"})}),(0,r.jsxs)(a.ExtendedStatusMessageActions,{children:[(0,r.jsx)(j,{content:"header",params:{warning:(0,r.jsx)(a.Text,{intent:"warning",bold:!0,children:(0,r.jsx)(j,{content:"headWarning"})})}}),(0,r.jsxs)("ul",{children:[(0,r.jsxs)("li",{children:[(0,r.jsx)(a.Icon,{name:"shield-filled",intent:"success"})," ",(0,r.jsx)(j,{content:"softwareUpdates",params:{title:(0,r.jsx)(a.Text,{bold:!0,children:(0,r.jsx)(j,{content:"softwareUpdatesTitle"})})}})]}),(0,r.jsxs)("li",{children:[(0,r.jsx)(a.Icon,{name:"backup2",intent:"success"})," ",(0,r.jsx)(j,{content:"websiteBackups",params:{title:(0,r.jsx)(a.Text,{bold:!0,children:(0,r.jsx)(j,{content:"websiteBackupsTitle"})})}})]}),(0,r.jsxs)("li",{children:[(0,r.jsx)(a.Icon,{name:"ribbon",intent:"success"})," ",(0,r.jsx)(j,{content:"sslCertificates",params:{title:(0,r.jsx)(a.Text,{bold:!0,children:(0,r.jsx)(j,{content:"sslCertificatesTitle"})})}})]}),(0,r.jsxs)("li",{children:[(0,r.jsx)(a.Icon,{name:"monitoring",intent:"success"})," ",(0,r.jsx)(j,{content:"monitoring",params:{title:(0,r.jsx)(a.Text,{bold:!0,children:(0,r.jsx)(j,{content:"monitoringTitle"})})}})]}),(0,r.jsx)("li",{children:(0,r.jsx)(j,{content:"fileDbManagement",params:{title:(0,r.jsx)(a.Text,{bold:!0,children:(0,r.jsx)(j,{content:"fileDbManagementTitle"})})}})}),(0,r.jsxs)("li",{children:[(0,r.jsx)(a.Icon,{name:"lifebuoy",intent:"success"})," ",(0,r.jsx)(j,{content:"technicalSupport",params:{title:(0,r.jsx)(a.Text,{bold:!0,children:(0,r.jsx)(j,{content:"technicalSupportTitle"})})}})]})]}),(0,r.jsx)(j,{content:"renewLicense"}),(0,r.jsx)("br",{}),x&&(0,r.jsx)(a.Button,{intent:"primary",component:"a",icon:"shopping-cart",href:x,target:"_blank",children:(0,r.jsx)(g,{content:v===f.STATUS_DEFAULT?"getTrialButton":"buyLicenseButton"})}),(0,r.jsx)(a.Button,{component:c.default,to:"/cp/license/primary/upload/",tooltip:(0,r.jsx)(j,{content:"uploadDescription"}),disabled:t,children:(0,r.jsx)(j,{content:"upload"})})]}),(0,r.jsx)(a.ExtendedStatusMessageSeparator,{}),(0,r.jsxs)(a.ExtendedStatusMessageDescription,{children:[(0,r.jsx)(j,{content:"footer"})," ",(0,r.jsx)(a.Link,{href:"https://support.plesk.com/hc/en-us/articles/12377663472791-How-to-submit-a-request-to-Plesk-support",target:"_blank",children:(0,r.jsx)(j,{content:"supportLink"})})]})]}),[x,t,v]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(u.default,{}),e.potentialProblems.map(e=>(0,r.jsx)(a.StatusMessage,{intent:"warning",children:e},e)),b?(0,r.jsxs)(a.Columns,{gap:"md",children:[(0,r.jsx)(a.Column,{children:w}),(0,r.jsx)(a.Column,{fill:!0,children:n?null:(0,r.jsx)(a.Panel,{title:k("title"),children:(0,r.jsx)(a.Cuttable,{maxHeight:"30rem",children:S})})})]}):S,d,(0,r.jsx)(i.Outlet,{})]})}),e=>{const{data:{mode:{isLicenseLocked:n},config:{license:{disableOnExpiration:t}}}}=(0,s.useQuery)(h()),{showFrames:i,pageHeader:a,pageSidebar:c}=(0,l.default)(),{licenseStatus:{status:d}={}}=a,u=(0,r.useMemo)(()=>t&&d===f.STATUS_EXPIRED,[t,d]);return{...e,width:n&&!u?"md":void 0,showFrames:i,pageHeader:{...a,helpMenu:{...a.helpMenu,helpContext:"key_info"}},pageSidebar:n?null:c,pageContentHeader:{hidePathbar:n,hideHeading:n,breadcrumbs:[n||c.isPowerUserPanel?null:{title:o.Locale.getSection("components.pages.home").lmsg("title"),href:"/admin/home/"},n?null:{title:o.Locale.getSection("admin.controllers.server.tools").lmsg("title"),href:"/admin/server/tools/"},{title:o.Locale.getSection("components.pages.license").lmsg("title"),href:"/cp/license/"},{title:o.Locale.getSection("components.pages.primary-key-info").lmsg("title"),href:"/cp/license/primary/"}].filter(Boolean),tabs:[],tabsHasRootPage:!0}}})},2501:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>d});var i=t(620),s=t(297),a=t(90),o=t(641),r=t.n(o),l=t(296);const c=a.Locale.getTranslate("components.common.master-key-processing-state"),d=()=>{const{data:{masterKeyProcessingState:e,config:{product:{supportUrl:n}}}}=(0,i.useQuery)(r());if(!e)return null;if("mkproc/wait"===e)return(0,l.jsx)(s.StatusMessage,{intent:"warning",children:(0,l.jsx)(c,{content:"wait"})});const t=(0,l.jsx)(s.Link,{href:n,target:"_blank",children:n});return"mkproc/checknetwork"===e?(0,l.jsx)(s.StatusMessage,{intent:"danger",children:(0,l.jsx)(c,{content:"networkError",params:{link:t}})}):(0,l.jsx)(s.StatusMessage,{intent:"danger",children:(0,l.jsx)(c,{content:"unknownError",params:{link:t}})})}},2502:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>u});var i=t(296),s=t(668),a=t.n(s),o=t(297),r=t(90),l=t(684);const c=r.Locale.getTranslate("smb.components.license.properties"),d=({properties:e,...n})=>{const[t,s]=(0,i.useState)([]),[a,r]=(0,i.useState)(!1),d=(0,i.useCallback)(({keyCode:e})=>{const n=[...t,e].slice(-5);s(n),"73;68;68;81;68"===n.join(";")&&r(!0)},[t,s,r]);return(0,l.useEventListener)("keyup",d,document.body),e?(0,i.jsx)(o.Section,{...n,children:e.map(({name:e,description:n,value:t})=>(0,i.jsx)(o.SectionItem,{title:n,children:a?(0,i.jsx)(o.Status,{intent:"danger",children:(0,i.jsx)(c,{content:"unlimited"})}):t},e))}):null};d.propTypes={properties:a().arrayOf(a().shape({name:a().string.isRequired,description:a().string.isRequired,value:a().string.isRequired}))};const u=d},2503:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>x,usePrimaryKeyUpdateDialog:()=>f});var i=t(296),s=t(668),a=t.n(s),o=t(696),r=t(583),l=t(297),c=t(90),d=t(2502);const u=c.Locale.getTranslate("components.dialogs.primary-key-update"),p=c.Locale.getTranslate("components.buttons"),m=r.gql`
|
|
mutation UpdatePrimaryKey {
|
|
updatePrimaryKey {
|
|
description
|
|
newKey {
|
|
properties {
|
|
name
|
|
description
|
|
value
|
|
}
|
|
}
|
|
additionalKeysErrors {
|
|
name
|
|
description
|
|
}
|
|
additionalKeys {
|
|
keyNumber
|
|
properties {
|
|
name
|
|
description
|
|
value
|
|
}
|
|
}
|
|
}
|
|
}
|
|
`,y=({isOpen:e,onClose:n})=>{const[s,{called:a,loading:r,data:{updatePrimaryKey:c}={},error:y}]=(0,o.useMutation)(m,{errorPolicy:"all",refetchQueries:[{query:t(640)},{query:t(644)}],awaitRefetchQueries:!0});(0,i.useLayoutEffect)(()=>{e&&s()},[e,s]);const f=(0,i.useCallback)(()=>{c?.newKey?window.location.assign("/cp/license/primary/"):n()},[n,c]);return(0,i.jsx)(l.Dialog,{title:(0,i.jsx)(u,{content:"title"}),isOpen:e,onClose:f,canClose:a&&!r,cancelButton:!1,buttons:!a||r?null:[(0,i.jsx)(l.Button,{intent:"primary",onClick:f,children:(0,i.jsx)(p,{content:"ok"})},"ok")],children:!a||r?(0,i.jsx)(l.ContentLoader,{loader:{type:"icons",icons:["key","key"]}}):y?(0,i.jsx)(l.StatusMessage,{intent:"danger",children:(0,i.jsx)("span",{dangerouslySetInnerHTML:{__html:y.message}})}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l.Section,{"data-id":"resultDescription",title:(0,i.jsx)(u,{content:"resultDescription"}),children:(0,i.jsx)(l.Plaintext,{"data-id":"status",children:c.description})}),c.newKey?(0,i.jsx)(d.default,{title:(0,i.jsx)(u,{content:"newKey"}),properties:c.newKey.properties}):null,c.additionalKeysErrors.map(({name:e,description:n})=>(0,i.jsx)(l.Section,{title:e,children:(0,i.jsx)(l.Plaintext,{children:n})},e)),c.additionalKeys.map(({properties:e},n)=>(0,i.jsx)(d.default,{title:(0,i.jsx)(u,{content:"newAdditionalKey"}),properties:e},n))]})})};y.propTypes={isOpen:a().bool.isRequired,onClose:a().func.isRequired};const f=()=>{const[e,n]=(0,i.useState)(!1),t=(0,i.useCallback)(()=>{n(!0)},[]),s=(0,i.useCallback)(()=>{n(!1)},[]);return[(0,i.useMemo)(()=>(0,i.jsx)(y,{isOpen:e,onClose:s}),[e,s]),t]},x=y},2504:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>p,withLicenseTabs:()=>u});var i=t(296),s=t(599),a=t(620),o=t(583),r=t(297),l=t(90),c=t(718);const d=()=>{const{pathname:e}=(0,s.useLocation)(),{data:{mode:{isLicenseLocked:n}}}=(0,a.useQuery)(o.gql`
|
|
{
|
|
mode {
|
|
isLicenseLocked
|
|
}
|
|
}
|
|
`),t=(0,i.useMemo)(()=>[{"data-id":"primaryTab",title:l.Locale.getSection("components.pages.primary-key-info").lmsg("title"),url:"/cp/license/primary/"},{"data-id":"additionalTab",title:l.Locale.getSection("components.pages.additional-keys").lmsg("title"),url:"/cp/license/additional/"}],[]),d=(0,i.useMemo)(()=>t.findIndex(({url:n})=>(0,s.matchPath)(n,e))+1,[t,e]);return n?null:(0,i.jsx)(r.Tabs,{active:d,children:t.map(({url:e,...n})=>(0,i.jsx)(r.Tab,{component:c.default,to:e,...n},e))})},u=e=>{const n=n=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(d,{}),(0,i.jsx)(e,{...n})]});return n.displayName=`withLicenseTabs(${e.displayName||e.name||"Component"})`,n.WrappedComponent=e,n},p=d},2505:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>b});var i=t(599),s=t(696),a=t(620),o=t(297),r=t(90),l=t(546),c=t(2506),d=t(2507),u=t(642),p=t.n(u),m=t(640),y=t.n(m),f=t(644),x=t.n(f),h=t(2508),j=t.n(h),g=t(296);const v=r.Locale.getTranslate("components.pages.additional-key-upload"),k=r.Locale.getTranslate("components.pages.primary-key-upload"),b=()=>{const e=(0,i.useNavigate)(),n=(0,i.useMatch)("/cp/license/primary/upload/"),{data:t}=(0,a.useQuery)(p(),{skip:!n}),[r]=(0,s.useMutation)(j(),{refetchQueries:[{query:y()},{query:x()}],update:e=>(0,c.deleteServerMailAntivirusCache)(e),awaitRefetchQueries:!0});return(0,g.jsx)(o.Drawer,{"data-type":"primary-key-upload",isOpen:Boolean(n&&t),onClose:()=>{e("/cp/license/primary/")},title:(0,g.jsx)(k,{content:"title"}),form:t?(0,g.jsx)(d.default,{fileUploadAllowed:t?.config?.license?.fileUpload,mutation:r,onSuccess:({uploadPrimaryKey:{isFirstLicense:e,forcedPowerUserPanel:n,isPrimaryKey:i}})=>{(0,l.addToast)({intent:"success",message:i?(0,g.jsx)(k,{content:"success"}):(0,g.jsx)(v,{content:"success"})}),e?n||t?.mode?.isPowerUserPanel?window.location.assign("/smb/web/view/"):window.location.assign("/admin/home/"):i?window.location.assign("/cp/license/primary/"):window.location.assign("/cp/license/additional/")}}):null})}},2506:(e,n,t)=>{"use strict";t.r(n),t.d(n,{deleteServerMailAntivirusCache:()=>i});const i=e=>e.modify({id:e.identify({__typename:"ServerMail"}),fields:{antivirus:(e,{DELETE:n})=>n,antivirusPolicy:(e,{DELETE:n})=>n}})},2507:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>u});var i=t(296),s=t(668),a=t.n(s),o=t(297),r=t(90),l=t(1305);const c=r.Locale.getTranslate("components.forms.license-key-upload"),d=({fileUploadAllowed:e=!1,...n})=>{const[t,s]=(0,i.useState)({type:"CODE",code:"",file:void 0});return(0,i.jsxs)(l.default,{values:t,onFieldChange:(e,n)=>{s(t=>(0,o.setIn)(t,e,n))},submitButton:{id:"btn-send",children:(0,i.jsx)(c,{content:"submitButton"})},applyButton:!1,...n,children:[(0,i.jsx)("p",{children:e?(0,i.jsx)(c,{content:"descriptionWithFileUpload"}):(0,i.jsx)(c,{content:"description"})}),e?(0,i.jsx)(o.FormFieldRadioButtons,{name:"type",label:(0,i.jsx)(c,{content:"type"}),options:[{value:"CODE",label:(0,i.jsx)(c,{content:"code"}),indentFields:[(0,i.jsx)(o.FormFieldText,{name:"code",label:null,description:(0,i.jsx)(c,{content:"codeDescription"}),size:"lg"},"code")]},{value:"FILE",label:(0,i.jsx)(c,{content:"file"}),indentFields:[(0,i.jsx)(o.FormField,{name:"file",label:null,description:(0,i.jsx)(c,{content:"fileDescription"}),children:({getId:e,getName:n,setValue:t,isDisabled:s})=>(0,i.jsx)(o.InputFile,{id:e(),name:n(),disabled:s(),onChange:e=>t(e)})},"file")]}]}):(0,i.jsx)(o.FormFieldText,{name:"code",label:(0,i.jsx)(c,{content:"code"}),description:(0,i.jsx)(c,{content:"codeDescription"}),size:"lg"})]})};d.propTypes={fileUploadAllowed:a().bool};const u=d},2508:e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UploadPrimaryKey"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UploadPrimaryKeyInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"uploadPrimaryKey"},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:"isFirstLicense"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"forcedPowerUserPanel"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isPrimaryKey"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:179}};n.loc.source={body:"mutation UploadPrimaryKey($input: UploadPrimaryKeyInput!) {\n uploadPrimaryKey(input: $input) {\n isFirstLicense\n forcedPowerUserPanel\n isPrimaryKey\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 s(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.UploadPrimaryKey=function(e,n){var t={kind:e.kind,definitions:[s(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var a=i[n]||new Set,o=new Set,r=new Set;for(a.forEach(function(e){r.add(e)});r.size>0;){var l=r;r=new Set,l.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=s(e,n);i&&t.definitions.push(i)}),t}(n,"UploadPrimaryKey")},2509:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>x});var i=t(599),s=t(696),a=t(620),o=t(297),r=t(90),l=t(546),c=t(2510),d=t(643),u=t.n(d),p=t(2511),m=t.n(p),y=t(296);const f=r.Locale.getTranslate("components.pages.primary-key-revert"),x=()=>{const e=(0,i.useNavigate)(),n=(0,i.useMatch)("/cp/license/primary/revert/"),{data:r}=(0,a.useQuery)(u(),{skip:!n}),[d]=(0,s.useMutation)(m(),{refetchQueries:[{query:t(640)}],awaitRefetchQueries:!0});return(0,y.jsx)(o.Drawer,{"data-type":"primary-key-revert",isOpen:Boolean(n&&r),onClose:()=>{e("/cp/license/primary/")},title:(0,y.jsx)(f,{content:"title"}),form:r?(0,y.jsx)(c.default,{revertKey:r.primaryKey.revertKey,mutation:d,onSuccess:()=>{(0,l.addToast)({intent:"success",message:(0,y.jsx)(f,{content:"success"})}),window.location.assign("/cp/license/primary/")}}):null})}},2510:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>p});var i=t(296),s=t(668),a=t.n(s),o=t(297),r=t(90),l=t(1305),c=t(2502);const d=r.Locale.getTranslate("components.forms.license-key-revert"),u=({values:e={},revertKey:n,...t})=>{const[s,a]=(0,i.useState)(e);return(0,i.jsxs)(l.default,{values:s,onFieldChange:(e,n)=>{a(t=>(0,o.setIn)(t,e,n))},submitButton:{id:"btn-send",children:(0,i.jsx)(d,{content:"submitButton"})},applyButton:!1,...t,children:[(0,i.jsx)("p",{children:(0,i.jsx)(d,{content:"description"})}),(0,i.jsx)(c.default,{properties:n.properties})]})};u.propTypes={revertKey:a().object.isRequired,values:a().object};const p=u},2511:e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"RevertPrimaryKey"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"revertPrimaryKey"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"newKey"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"pleskKeyId"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:109}};n.loc.source={body:"mutation RevertPrimaryKey {\n revertPrimaryKey {\n newKey {\n pleskKeyId\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 s(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.RevertPrimaryKey=function(e,n){var t={kind:e.kind,definitions:[s(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var a=i[n]||new Set,o=new Set,r=new Set;for(a.forEach(function(e){r.add(e)});r.size>0;){var l=r;r=new Set,l.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=s(e,n);i&&t.definitions.push(i)}),t}(n,"RevertPrimaryKey")}}]);
|
|
//# sourceMappingURL=license.js.map?6ea995e65417ceba0fec
|