PageSourceSearch

https://www.nucamp.co/7027.e6db2d05685b66e4.js

js nucamp.co collected 2026-10-03 20:25:08 UTC 5,797 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[7027],{87027:(N,p,r)=>{r.r(p),r.d(p,{AdmindecryptPageModule:()=>C});var s=r(79443),l=r(60316),g=r(4211),h=r(89204),f=r(50156),y=r(44897),_=r(57657),v=r(61916),m=r(56196),D=r(61420),R=r(20205),d=r(496),A=r(25575),t=r(68559);function E(e,a){1&e&&t.nrm(0,"ion-spinner",15)}function j(e,a){if(1&e&&(t.j41(0,"p",16),t.EFF(1),t.k0s()),2&e){const n=t.XpG(3);t.R7$(),t.SpI("Result: ",n.encryptedData,"")}}function P(e,a){if(1&e){const n=t.RV6();t.j41(0,"ion-row",7)(1,"ion-col",8)(2,"ion-item",9)(3,"ion-label"),t.EFF(4,"Enter the data to encrypt:"),t.k0s(),t.j41(5,"ion-input",14),t.mxI("ngModelChange",function(o){t.eBV(n);const c=t.XpG(2);return t.DH7(c.rawData,o)||(c.rawData=o),t.Njj(o)}),t.k0s(),t.DNE(6,E,1,0,"ion-spinner",11),t.j41(7,"ion-button",12),t.bIt("click",function(){t.eBV(n);const o=t.XpG(2);return t.Njj(o.encrypt(o.rawData))}),t.EFF(8,"Encrypt"),t.k0s()(),t.DNE(9,j,2,1,"p",13),t.k0s()()}if(2&e){const n=t.XpG(2);t.R7$(5),t.R50("ngModel",n.rawData),t.R7$(),t.Y8G("ngIf",n.fetchingEncrypted),t.R7$(),t.Y8G("disabled",!n.rawData),t.R7$(2),t.Y8G("ngIf",n.encryptedData)}}function G(e,a){1&e&&t.nrm(0,"ion-spinner",15)}function I(e,a){if(1&e&&(t.j41(0,"p",16),t.EFF(1),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.JRh(n.decryptResult.error)}}function F(e,a){if(1&e&&(t.j41(0,"p",16),t.EFF(1),t.k0s()),2&e){const n=t.XpG(2);t.R7$(),t.SpI("Decrypted data: ",n.decryptResult.data,"")}}function x(e,a){if(1&e){const n=t.RV6();t.j41(0,"ion-grid"),t.DNE(1,P,10,4,"ion-row",6),t.j41(2,"ion-row",7)(3,"ion-col",8)(4,"ion-item",9)(5,"ion-label"),t.EFF(6,"Enter the data to decrypt:"),t.k0s(),t.j41(7,"ion-input",10),t.mxI("ngModelChange",function(o){t.eBV(n);const c=t.XpG();return t.DH7(c.encryptedData,o)||(c.encryptedData=o),t.Njj(o)}),t.k0s(),t.DNE(8,G,1,0,"ion-spinner",11),t.j41(9,"ion-button",12),t.bIt("click",function(){t.eBV(n);const o=t.XpG();return t.Njj(o.decrypt(o.encryptedData))}),t.EFF(10,"Decrypt"),t.k0s()(),t.DNE(11,I,2,1,"p",13)(12,F,2,1,"p",13),t.k0s()()()}if(2&e){const n=t.XpG();t.R7$(),t.Y8G("ngIf",n.isAdmin),t.R7$(6),t.R50("ngModel",n.encryptedData),t.R7$(),t.Y8G("ngIf",n.fetchingDecrypted),t.R7$(),t.Y8G("disabled",!n.encryptedData),t.R7$(2),t.Y8G("ngIf",n.decryptResult&&200!==n.decryptResult.code),t.R7$(),t.Y8G("ngIf",n.decryptResult&&200===n.decryptResult.code)}}function T(e,a){1&e&&(t.j41(0,"ion-grid",17)(1,"ion-row",18)(2,"ion-col",8)(3,"h4"),t.EFF(4,"You are not allowed to access this page. Login using an account with the appropriate access."),t.k0s()(),t.j41(5,"ion-col",19),t.nrm(6,"login"),t.k0s()()())}let u=(()=>{class e{constructor(n,i,o,c){this.userProvider=n,this.windowRef=i,this.db=o,this.seo=c,this.pagename="AdmindecryptPage",this.hasAccess=!1,this.isAdmin=!1,this.fetchingEncrypted=!1,this.fetchingDecrypted=!1,this.subsArr=[]}logScrolling(n){this.scrolled=n.detail.scrollTop>1}ngOnInit(){var n=this;return(0,h.A)(function*(){n.seo.generateTags({title:"Admin - Decryption Service",description:"Decryption Service",slug:"admin/decrypt"},null),n.subsArr.push(n.userProvider.checkrole(["admin","decryptor"]).subscribe(i=>n.hasAccess=i)),n.subsArr.push(n.userProvider.checkrole(["admin"]).subscribe(i=>n.isAdmin=i))})()}ionViewWillLeave(){this.subsArr.forEach(n=>n.unsubscribe())}encrypt(n){return this.fetchingEncrypted=!0,(0,m._)(this.db.post("/crypto/encode",{data:n})).then(i=>{this.encryptedData=i.data,this.fetchingEncrypted=!1}).catch(i=>{this.fetchingEncrypted=!1})}decrypt(n){return this.fetchingDecrypted=!0,(0,m._)(this.db.post("/crypto/decode",{data:n})).then(i=>{this.decryptResult=i,this.fetchingDecrypted=!1}).catch(i=>{this.decryptResult=i,this.fetchingDecrypted=!1})}static{this.\u0275fac=function(i){return new(i||e)(t.rXU(f.g),t.rXU(_.z),t.rXU(v.B),t.rXU(y.B))}}static{this.\u0275cmp=t.VBU({type:e,selectors:[["page-admindecrypt"]],standalone:!0,features:[t.aNF],decls:8,vars:5,consts:[["nucamptopnav",""],["noaccess",""],["no-border","",1,"ion-no-padding"],[3,"selectedPage","bg"],[1,"ion-no-padding",3,"ionScroll","scrollEvents"],[4,"ngIf","ngIfElse"],["class","stripe-inside component-padding-vertical component-padding-sm",4,"ngIf"],[1,"stripe-inside","component-padding-vertical","component-padding-sm"],["size","12"],["mode","md",1,"ion-text-wrap"],["required","","name","encryptedData","type","text",3,"ngModelChange","ngModel"],["slot","end",4,"ngIf"],["slot","end",3,"click","disabled"],["class","ion-padding",4,"ngIf"],["required","","name","rawData","type","text",3,"ngModelChange","ngModel"],["slot","end"],[1,"ion-padding"],[1,"ion-no-padding"],[1,"stripe-inside","component-padding-sm"],["size","12",1,"ion-text-center","ion-padding-vertical"]],template:function(i,o){if(1&i){const c=t.RV6();t.j41(0,"ion-header",2),t.nrm(1,"nucamptopnav",3,0),t.k0s(),t.j41(3,"ion-content",4),t.bIt("ionScroll",function(M){return t.eBV(c),t.Njj(o.logScrolling(M))}),t.DNE(4,x,13,6,"ion-grid",5)(5,T,7,0,"ng-template",null,1,t.C5r),t.nrm(7,"footer"),t.k0s()}if(2&i){const c=t.sdS(6);t.R7$(),t.Y8G("selectedPage",o.pagename)("bg",o.scrolled),t.R7$(2),t.Y8G("scrollEvents",!0),t.R7$(),t.Y8G("ngIf",o.hasAccess)("ngIfElse",c)}},dependencies:[s.bv,s.Jm,s.hU,s.W9,s.lO,s.eU,s.$w,s.uz,s.he,s.ln,s.w2,s.Gw,A.i,l.bT,d.YN,d.BC,d.YS,d.vS,R.X,D.FooterComponent]})}}return e})();const b=[{path:"",component:u}];let Y=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=t.$C({type:e})}static{this.\u0275inj=t.G2t({imports:[g.iI.forChild(b),g.iI]})}}return e})();var $=r(14545),w=r(66870);let C=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=t.$C({type:e})}static{this.\u0275inj=t.G2t({providers:[$.z],imports:[Y,s.bv,w.P,l.MD,d.YN,u]})}}return e})()}}]);
2//# sourceMappingURL=7027.e6db2d05685b66e4.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.