PageSourceSearch

https://cdn.snapgene.com/nextjs/1.0.0_6258/_next/static/chunks/pages/account/perpetual-4af0643a19fb52ed.js

js snapgene.com collected 2026-10-03 19:39:19 UTC 17,227 bytes, 2 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},s=(new e.Error).stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="a6d4bf1f-927b-4a51-9223-a4fd0daa71da",e._sentryDebugIdIdentifier="sentry-dbid-a6d4bf1f-927b-4a51-9223-a4fd0daa71da")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2770],{6097:(e,s,i)=>{"use strict";let{de:t}=i(47720);e.exports={...t}},9130:e=>{"use strict";e.exports=JSON.parse('{"SHARE_DOWNLOAD_LINK":"Share your customized download link with your group","TITLE":"SnapGene {{version}} Installers","MAC":{"TITLE":"macOS","REQUIREMENTS":"Requires macOS {{version}} ({{name}}) or higher"},"LINUX_RPM":{"TITLE":"CentOS / RedHat","REQUIREMENTS":""},"LINUX_DEB":{"TITLE":"Ubuntu","REQUIREMENTS":""},"WINDOWS":{"TITLE":"Windows","REQUIREMENTS":"Requires Windows {{name}} or higher"}}')},9614:(e,s,i)=>{"use strict";i.d(s,{Ay:()=>N,Cp:()=>u,FK:()=>T,NA:()=>h,be:()=>E,k1:()=>p,kM:()=>A,yN:()=>m});var t=i(37876);i(14232);var r=i(95062),n=i(17218),a=i(31373),o=i(25342),l=i(31287),d=i(9182);let c=({children:e})=>(0,t.jsx)(n.Ay,{children:e});c.propTypes={children:r.node};let p=({...e})=>(0,t.jsx)(n.iF,{...e}),u=({...e})=>(0,t.jsx)(n.QV,{...e}),A=({children:e})=>(0,t.jsx)("div",{className:"section-account-subscription-downloads__list",children:e});A.propTypes={children:r.node};let T=({textSize:e="m",type:s,description:i,children:r})=>(0,t.jsx)(l.A,{Tag:"div",size:e,className:"section-account-subscription-downloads__list-item",children:(0,t.jsxs)(o.fI,{Tag:"span",children:[(0,t.jsx)(o.fv,{Tag:"span",className:"w-10",children:(0,t.jsx)(d.A,{name:s,size:e})}),(0,t.jsxs)(o.fv,{Tag:"span",auto:!0,children:[r,i&&(0,t.jsxs)(t.Fragment,{children:[":"," ",(0,t.jsx)("span",{className:"section-account-subscription-downloads__list-item-description",children:i})]})]})]})});T.propTypes={type:(0,r.oneOf)(["mac","windows","linux_deb","linux_rpm","linux"]).isRequired,textSize:r.string,description:r.string,children:r.node};let m=({textSize:e="m",href:s,children:i,...r})=>(0,t.jsx)(a.A,{size:e,className:"section-account-subscription-downloads__list-item-link",href:s,...r,children:i});m.propTypes={href:r.string.isRequired,textSize:r.string,children:r.node.isRequired};let h=({children:e=""})=>e?(0,t.jsx)("div",{className:"section-account-subscription-downloads__system-requirements",children:e}):null;h.propTypes={children:r.node};let E=({description:e,children:s})=>(0,t.jsxs)("div",{className:"section-account-subscription-downloads__copy",children:[(0,t.jsx)("div",{className:"section-account-subscription-downloads__copy-text",children:e}),(0,t.jsx)(o.fI,{children:(0,t.jsx)(o.fv,{lg:7,children:s})})]});E.propTypes={description:r.string,children:r.node};let N=c},11811:(e,s,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/account/perpetual",function(){return i(45659)}])},17218:(e,s,i)=>{"use strict";i.d(s,{Ay:()=>c,QV:()=>l,iF:()=>o});var t=i(37876);i(14232);var r=i(95062),n=i(33910),a=i(44701);let o=({...e})=>(0,t.jsx)(n.A,{Tag:"h2",className:"account-widget__title",...e}),l=({className:e="",children:s})=>(0,t.jsx)("div",{className:(0,a.L)("account-widget__body",e),children:s});l.propTypes={className:r.string,children:r.node.isRequired};let d=({className:e="",children:s})=>(0,t.jsx)("div",{className:(0,a.L)("account-widget",e),children:s});d.propTypes={className:r.string,children:r.node.isRequired};let c=d},18815:(e,s,i)=>{"use strict";i.d(s,{A:()=>l,_:()=>o});var t=i(37876),r=i(14232),n=i(95062);let a=(0,r.createContext)({isRpmLinksEnabled:!1,isWindowsLinksEnabled:!0,isUbuntuLinksEnabled:!0,isMacLinksEnabled:!0});function o({children:e,isRpmLinksEnabled:s=!0,isWindowsLinksEnabled:i=!0,isUbuntuLinksEnabled:r=!0,isMacLinksEnabled:n=!0}){return(0,t.jsx)(a.Provider,{value:{isRpmLinksEnabled:s,isWindowsLinksEnabled:i,isUbuntuLinksEnabled:r,isMacLinksEnabled:n},children:e})}function l(){return(0,r.useContext)(a)}o.propTypes={isRpmLinksEnabled:n.bool,isWindowsLinksEnabled:n.bool,isUbuntuLinksEnabled:n.bool,isMacLinksEnabled:n.bool,children:n.node.isRequired}},18906:(e,s,i)=>{"use strict";i.d(s,{g:()=>r});var t=i(95062);
1let r=(e,s)=>{let i=(e,s)=>e.split(".").map(Number).concat(Array(s).fill(0)).slice(0,s),t=Math.max(e.split(".").length,s.split(".").length),[r,n]=[i(e,t),i(s,t)];for(let e=0;e<t;e+=1){if(r[e]<n[e])return!1;if(r[e]>n[e])break}return!0};r.propTypes={v1:t.string,v2:t.string}},21695:(e,s,i)=>{"use strict";e.exports={en:i(84013),de:i(97769)}},33570:e=>{"use strict";e.exports={}},33799:(e,s,i)=>{"use strict";e.exports={en:i(80933),de:i(6097)}},41670:(e,s,i)=>{"use strict";i.d(s,{A:()=>h});var t=i(37876);i(14232);var r=i(95062),n=i(78624),a=i(4626),o=i(80597),l=i(46677),d=i(83150),c=i(80370),p=i(24691),u=i(17511);let A=(e,s)=>`${e}?serialNumberId=${s}`,T=e=>(0,t.jsx)(o.A,{...e,active:!0});function m({active:e}){let[s]=(0,d.Ym)("perpetuals"),{serialNumberId:i}=(0,c.A)(),[r,h]=["dashboard"===e,"activations"===e];return(0,t.jsxs)(n.A,{children:[(0,t.jsx)(n.A.SubscriptionDropdown,{children:(0,t.jsx)(p.A,{})}),(0,t.jsx)(n.A.Tabs,{children:(0,t.jsxs)(a.A,{children:[(0,t.jsx)(l.A,{Component:r?T:o.A,active:r,href:A(u.Ay.perpetual.dashboard,i),children:s("TABS.DASHBOARD")}),(0,t.jsx)(l.A,{Component:h?T:o.A,active:h,href:A(u.Ay.perpetual.activations,i),children:s("TABS.ACTIVATIONS")})]})})]})}m.propTypes={active:r.string.isRequired};let h=m},45225:(e,s,i)=>{"use strict";e.exports={"subscriptions-activations":i(88046)}},45659:(e,s,i)=>{"use strict";i.r(s),i.d(s,{default:()=>f});var t=i(37876);i(14232);var r=i(50991),n=i(33037),a=i(83150),o=i(87810),l=i(40820),d=i(10604),c=i(32588),p=i(99127),u=i(41670),A=i(96068),T=i(86447);function m({perpetual:e}){let[s]=(0,a.Ym)("perpetuals"),i=e.allowedActivations-e.usedActivations;return(0,t.jsxs)(A.Ay,{children:[(0,t.jsx)(A.EH,{children:e.product.description}),(0,t.jsxs)(A.mT,{children:[(0,t.jsxs)(A.ix,{children:[(0,t.jsx)(A.ix.ColFirst,{title:s("GROUP_NAME"),"data-qa-selector":"subscription-group-name",children:e.licenseName||s("GROUP_NAME_EMPTY")}),(0,t.jsx)(A.ix.ColSecond,{title:s("TOTAL_ACTIVATIONS"),"data-qa-selector":"subscription-total-activations",children:e.allowedActivations})]}),(0,t.jsxs)(A.ix,{className:"mb-6",children:[(0,t.jsx)(A.ix.ColFirst,{title:s("SERIAL_NUMBER"),"data-qa-selector":"subscription-serial-number",children:(0,T.A)(e.serialNumber)}),(0,t.jsx)(A.ix.ColSecond,{title:s("REMAINING_ACTIVATIONS"),"data-qa-selector":"subscription-remaining-activations",children:i})]}),(0,t.jsx)(A.ix,{className:"mb-0",children:(0,t.jsx)(A.ix.ColFirstButton,{children:(0,t.jsx)(A.I_,{href:"https://support.snapgene.com/hc/en-us/requests/new?ticket_form_id=360000552331","data-qa-selector":"subscription-overview-btn",children:s("CONTACT_US_TO_RENEW")})})})]})]})}m.propTypes={perpetual:p.PB};var h=i(89301),E=i(59561),N=i(54192),x=i(9690),g=i(33799),I=i.n(g),v=i(12368),b=i(80657);let _=[[({query:e})=>null!=e.serialNumberId,(0,b.I)(v.A.NotFound)]],R=[[({perpetual:e})=>null!=e,(0,b.I)(v.A.NotFound)]];var S=i(64190),y=i(38367),j=i(5186),O=i(64858);let C=({perpetual:e})=>{let[s]=(0,a.Ym)("perpetuals");return(0,t.jsxs)(c.A,{children:[(0,t.jsx)(n.A,{title:s("DASHBOARD.PAGE_TITLE")}),(0,t.jsx)(u.A,{active:"dashboard"}),(0,t.jsxs)(o.A,{isSeparateLine:!0,children:[(0,t.jsx)(o.M,{children:(0,t.jsx)(m,{perpetual:e})}),(0,t.jsx)(o.M,{children:(0,t.jsx)(h.A,{serialNumbers:[e],showShareDownloadLink:!0})})]})]})};C.propTypes={perpetual:p.PB},C.services={subscriptionsList:S.A,entitlementsList:y.A,perpetualsList:j.A},C.getInitialProps=(0,r.A)({subscriptions:(e,{subscriptionsList:s})=>s,entitlements:(e,{entitlementsList:s})=>s,perpetuals:(e,{perpetualsList:s})=>s,perpetual:({query:e},{ecommerceService:s})=>s.getPerpetualById(e.serialNumberId)}),C.preConditions=_,C.postConditions=R;let f=(0,l.A)(C,d.Ay,(0,a.hV)({resources:I()}),E.U,x.A,O.A,(0,N.A)({level:"CUD"}))},60253:(e,s,i)=>{"use strict";i.d(s,{A:()=>u});var t=i(37876),r=i(14232),n=i(95062),a=i(83150),o=i(9614);let l=({os:e,id:s,minOSVersion:i,minOSName:r,downloadLink:n})=>{let[l]=(0,a.Ym)("subscriptions-downloads");return(0,t.jsx)(o.FK,{type:e,description:i&&r?l(`${e.toUpperCase()}.REQUIREMENTS`,{version:i,name:r}):"",children:(0,t.jsx)(o.yN,{href:`${n}`,children:l(`${e.toUpperCase()}.TITLE`)})},s)};l.propTypes={os:n.string,id:n.string,minOSVersion:n.string,minOSName:n.string,downloadLink:n.string};var d=i(18815);let c=e=>null!=e&&(0,t.jsx)(l,{...e}),p=({items:e})=>{let s=r.useMemo(()=>new Map(e.map(e=>[e.os,e])),[e]),{isRpmLinksEnabled:i,isWindowsLinksEnabled:n,isUbuntuLinksEnabled:a,isMacLinksEnabled:o}=(0,d.A)();return(0,t.jsxs)(t.Fragment,{children:[o&&c(s.get("mac")),n&&c(s.get("windows")),a&&c(s.get("linux_deb")),i&&c(s.get("linux_rpm"))]})};p.propTypes={items:(0,n.arrayOf)((0,n.shape)({os:n.string,id:n.string,minOSVersion:n.string,minOSName:n.string,downloadLink:n.string})).isRequired};let u=p},62539:(e,s,i)=>{"use strict";e.exports={en:i(45225),de:i(33570)}}
1,78557:e=>{"use strict";e.exports=JSON.parse('{"TABS":{"DASHBOARD":"Dashboard","ACTIVATIONS":"Activations","SETTINGS":"Settings"},"OVERVIEW":{"TITLE":"Overview"},"DOWNLOADS":{"TITLE":"Downloads"},"ACTIVATIONS":{"TITLE":"Manage Your Activations","PAGE_TITLE":"Perpetual Activations - SnapGene"},"SETTINGS":{"TITLE":"Alternate Admins"},"DASHBOARD":{"PAGE_TITLE":"Perpetual Dashboard - SnapGene"},"SECTION_TITLE":"Perpetual Licenses","NO_LICENSES":"There are no SnapGene licenses in your account","GROUP_NAME":"Group Name","GROUP_NAME_EMPTY":"Group Name is empty","SERIAL_NUMBER_EMPTY":"Registration Code is empty","SERIAL_NUMBER":"Registration Code","SERIAL_NUMBER_plural":"Registration Codes","TOTAL_ACTIVATIONS":"Total Activations","REMAINING_ACTIVATIONS":"Remaining Activations","CONTACT_US_TO_RENEW":"Contact Us to Renew or Upgrade Your License","SYSTEM_REQUIREMENTS":"System requirements","SHARE_DOWNLOAD_LINK":"Share your customized download link with your group"}')},80370:(e,s,i)=>{"use strict";i.d(s,{A:()=>o});var t=i(14232),r=i(89099),n=i(71987),a=i(35084);let o=function(){let e=(0,a.A)(),{asPath:s}=(0,r.useRouter)()||e;return(0,t.useMemo)(()=>(0,n.A)(s),[s])}},80933:(e,s,i)=>{"use strict";let{en:t}=i(47720),{en:r}=i(1661),{en:n}=i(62539),{en:a}=i(21695);e.exports={...t,...r,...n,...a,perpetuals:i(78557)}},81790:(e,s,i)=>{"use strict";i.d(s,{A:()=>u});var t=i(37876);i(14232);var r=i(95062),n=i(44701),a=i(13432);let o=({children:e})=>(0,t.jsx)("div",{className:"input-group-prepend",children:e});o.propTypes={children:r.node.isRequired};let l=({children:e})=>(0,t.jsx)("div",{className:"input-group-append",children:e});l.propTypes={children:r.node.isRequired};let d=({children:e})=>e;d.propTypes={children:r.node.isRequired};let c=({children:e,className:s})=>(0,t.jsx)("div",{className:(0,n.L)("input-group",s),children:e});c.propTypes={children:r.node.isRequired,className:r.string};let p=({...e})=>(0,t.jsx)(a.A,{styleType:"input-group",size:"s",...e});p.propTypes={...a.A.propTypes},c.Prepend=o,c.Append=l,c.Field=d,c.Button=p;let u=c},84013:(e,s,i)=>{"use strict";e.exports={"subscriptions-downloads":i(9130)}},88046:e=>{"use strict";e.exports=JSON.parse('{"PAGE_TITLE":"Subscription Activations - SnapGene","TITLE":"Manage Your Activations","DOWNLOAD":"Download Activation Report","COMPUTER_NAME":"Computer name","ACTIVE_COMPUTERS":"Active Computers","DEACTIVATED_COMPUTERS":"Deactivated Computers","BLACKLISTED_COMPUTERS":"Blocked Computers","CAN_BE_REACTIVATED":"Can be reactivated","CANNOT_BE_REACTIVATED":"Cannot be reactivated","VERSION":"Version","LAST_USED":"Last used","ACTIVATED":"Active","BLACKLISTED":"Blocked","DEACTIVATED":"Deactivated","DEACTIVATE":"Deactivate","CSV_ACTIVATIONS_HEADERS":["Computer Name","Email","Version","Last Used","Deactivated","Activation Status"],"ENABLE_REACTIVATION":"Enable Reactivation","DEACTIVATION_ERROR":"Deactivation failed, please contact support.","REACTIVATION_ERROR":"Reactivation failed, please contact support.","CONFIRM_DEACTIVATION":"You are deactivating a license. This computer will be unable to install SnapGene again with this registration code until you choose the Allow Reactivation option from the list of Deactivated Licenses. If you have access to the computer you are deactivating, it is better to deactivate from the running software. Are you sure you want to deactivate?","CONFIRM_REACTIVATION":"Enabling reactivation allows SnapGene to be installed on this computer once again. Is this what you want to do?","errors":{"DEACTIVATION_ERROR":"Deactivation failed, please contact support.","REACTIVATION_ERROR":"Reactivation failed, please contact support.","FORBIDDEN":"Action is forbidden","NOT_DEACTIVATED":"Activation is not deactivated","NO_DEACTIVATIONS_REMAIN":"No deactivations remain, please contact support"}}')},89301:(e,s,i)=>{"use strict";i.d(s,{A:()=>N});var t=i(37876),r=i(14232),n=i(60379),a=i(81790),o=i(9182),l=i(95062),d=i(83150),c=i(9614),p=i(99127),u=i(87767),A=i(60253),T=i(18815),m=i(18906);let h=u.qF.STATIC_SITE_DOMAIN;function E({serialNumbers:e,showShareDownloadLink:s=!0}){let[i]=(0,d.Ym)("subscriptions-downloads"),l=(0,r.useRef)(null),p=e[0],{serialNumber:u}=p??{};if(!p||!p?.downloads[0])return null;let N=p.downloads[0].release||"",x=!!(0,m.g)("8.0.3",p.downloads[0].release);return(0,t.jsxs)(c.Ay,{children:[(0,t.jsx)(c.k1,{children:i("TITLE",{version:N})}),(0,t.jsxs)(c.Cp,{children:[(0,t.jsx)(T._,{isRpmLinksEnabled:x,children:(0,t.jsx)(c.kM,{children:(0,t.jsx)(A.A,{items:p.downloads})})}),(0,t.jsx)(c.NA,{}),s&&(0,t.jsx)(c.be,{description:i("SHARE_DOWNLOAD_LINK"),children:(0,t.jsxs)(a.A,{children:[(0,t.jsx)(a.A.Field,{children:(0,t.jsx)(n.A,{value:`https://${h}/support/downloads?r=${u}`,readOnly:!0,forwardRef:l})}),(0,t.jsx)(a.A.Append,{children:(0,t.jsx)(a.A.Button,{onClick:()=>{l.current.select(),document.execCommand("copy")},children:(0,t.jsx)(o.A,{name:"copy"})})})]})})]})]})}E.propTypes={serialNumbers:p.hU,showShareDownloadLink:l.bool};let N=E},96068:(e,s,i)=>{"use strict";i.d(s,{Ay:()=>x,EH:()=>p,I_:()=>N,ix:()=>A,mT:()=>u});var t=i(37876);i(14232);var r=i(95062),n=i(31287),a=i(25342),o=i(44701),l=i(13432),d=i(17218);let c=({children:e})=>(0,t.jsx)(d.Ay,{children:e});c.propTypes={children:r.node.isRequired};let p=({...e})=>(0,t.jsx)(d.iF,{...e}),u=({...e})=>(0,t.jsx)(d.QV,{...e}),A=({className:e="mb-4",children:s})=>(0,t.jsx)(a.fI,{px:!0,className:(0,o.L)(e),children:s});A.propTypes={className:r.string,children:r.node.isRequired};let T=({children:e})=>(0,t.jsx)(a.fv,{md:"shrink",spacing:{pt:2},children:e});T.propTypes={children:r.node.isRequired};let m=({children:e})=>(0,t.jsx)(a.fv,{md:"auto",spacing:{pt:2},children:e});m.propTypes={children:r.node.isRequired};let h=({title:e,className:s="mb-4--sm",children:i,...r})=>(0,t.jsxs)(a.fv,{md:4,className:(0,o.L)(s),...r,children:[(0,t.jsx)(n.A,{Tag:"div",sx:{fontSize:"s",textTransform:"uppercase"},children:e}),(0,t.jsx)(n.A,{Tag:"div",sx:{fontSize:"m"},children:i})]});h.propTypes={title:r.node.isRequired,className:r.string,children:r.node.isRequired};let E=({title:e,className:s="",children:i,...r})=>(0,t.jsxs)(a.fv,{auto:!0,className:(0,o.L)(s),...r,children:[(0,t.jsx)(n.A,{Tag:"div",sx:{fontSize:"s",textTransform:"uppercase"},children:e}),(0,t.jsx)(n.A,{Tag:"div",sx:{fontSize:"m"},children:i})]});E.propTypes={title:r.node.isRequired,className:r.string,children:r.node.isRequired};let N=({children:e,...s})=>(0,t.jsx)(l.A.Link,{size:"s",isPreLine:!0,spacing:{px:6},className:"btn-block--sm",...s,children:e});N.propTypes={children:r.node.isRequired},A.ColFirst=h,A.ColSecond=E,A.ColFirstButton=T,A.ColSecondButton=m;let x=c},97769:e=>{"use strict";e.exports={}},99127:(e,s,i)=>{"use strict";i.d(s,{Gb:()=>l,PB:()=>
1d,Ru:()=>r,hU:()=>a});var t=i(95062);let r=(0,t.shape)({id:t.string,status:t.string,version:t.string,activated:t.string,deactivated:t.string,computerName:t.string}),n=(0,t.shape)({id:t.string,os:t.string,release:t.string,downloadLink:t.string,releaseDate:t.string,architectures:t.string,minOSVersion:t.string,minOSName:t.string}),a=(0,t.arrayOf)((0,t.shape)({serialNumberID:t.number,serialNumber:t.string,licenseName:t.string,activations:(0,t.arrayOf)(r),downloads:(0,t.arrayOf)(n),adminEmails:(0,t.arrayOf)((0,t.shape)({id:t.number,adminEmail:t.string}))})),o=(0,t.shape)({address1:t.string,address2:t.string,address3:t.string,city:t.string,company:t.string,countryID:t.number,country:(0,t.shape)({name:t.string}),email:t.string,firstName:t.string,labName:t.string,lastName:t.string,phone:t.string,require_display_name:t.bool,require_tld:t.bool,state:t.string,zipCode:t.string}),l=(0,t.shape)({subscriptionID:t.number,expirationDate:t.string,status:t.string,archiveBit:t.bool,serialNumbers:a,plan:(0,t.shape)({name:t.string}),paymentMethod:o}),d=(0,t.shape)({serialNumberID:t.number,licenseName:t.string,serialNumber:t.string,product:(0,t.shape)({description:t.string}),order:(0,t.shape)({orderNumber:t.number,orderDate:t.string}),allowedActivations:t.number,activations:(0,t.arrayOf)((0,t.shape)({id:(0,t.oneOfType)([t.string,t.number])}))})}},e=>{e.O(0,[1585,4109,3261,2909,5357,4063,8606,9690,3152,246,636,6593,8792],()=>e(e.s=11811)),_N_E=e.O()}]);
2//# sourceMappingURL=perpetual-4af0643a19fb52ed.js.map

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