Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
;/*FB_PKG_DELIM*/ __d("GroupsCometUFIAnonActorSwitcherQuery_facebookRelayOperation",[],..
Decoded Output download
<? ;/*FB_PKG_DELIM*/
__d("GroupsCometUFIAnonActorSwitcherQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="8862964233772240"}),null);
__d("GroupsCometUFIAnonActorSwitcherQuery$Parameters",["GroupsCometUFIAnonActorSwitcherQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("GroupsCometUFIAnonActorSwitcherQuery_facebookRelayOperation"),metadata:{},name:"GroupsCometUFIAnonActorSwitcherQuery",operationKind:"query",text:null}};e.exports=a}),null);
__d("GroupsCometUFIAnonActorSwitcher.entrypoint",["GroupsCometUFIAnonActorSwitcherQuery$Parameters","JSResourceForInteraction"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){var b=a.anonProfileID,d=a.groupID;a=a.mainProfileID;return{queries:{queryReference:{parameters:c("GroupsCometUFIAnonActorSwitcherQuery$Parameters"),variables:{anonProfileID:b,groupID:d,mainProfileID:a}}}}},root:c("JSResourceForInteraction")("GroupsCometUFIAnonActorSwitcher.react").__setRef("GroupsCometUFIAnonActorSwitcher.entrypoint")};g["default"]=a}),98);
__d("SecurePostMessage",["invariant"],(function(a,b,c,d,e,f,g){"use strict";var h="*";a={sendMessageToSpecificOrigin:function(a,b,c,d){c!==h||g(0,21157),a.postMessage(b,c,d)},sendMessageForCurrentOrigin:function(a,b){a.postMessage(b)},sendMessageAllowAnyOrigin_UNSAFE:function(a,b,c){a.postMessage(b,h,c)}};e.exports=a}),null);
__d("SecureMessageListener",["SecurePostMessage","URI"],(function(a,b,c,d,e,f,g){"use strict";var h;a=function(){function a(a){var b=this;this.$3=null;this.$4=!1;this.$1=a;this.$5=function(a){b.run(a)}}var b=a.prototype;b.setEventHandler=function(a){this.$2=a;return this};b.setSupportedOrigins=function(a){this.$3=a;return this};b.skipOriginCheck_UNSAFE=function(){this.$4=!0;return this};b.beginListening=function(){this.$1.addEventListener("message",this.$5);return this};b.stopListening=function(){try{this.$1.removeEventListener("message",this.$5)}catch(a){if(!(a instanceof TypeError))throw a}return this};b.run=function(a){if(this.$3==null||this.$3.length===0){if(!this.$4&&a.origin!==this.$1.location.origin)return}else if(!this.isSupportedOrigin(this.$3,a.origin))return;if(this.$2){var b=function(b){d("SecurePostMessage").sendMessageToSpecificOrigin(a.source,b,a.origin)};this.$2(a,b)}};b.isSupportedOrigin=function(a,b){if(!new RegExp("^https://").test(b))return!1;var d=new(h||(h=c("URI")))(b);return a.some(function(a){return d.isSubdomainOfDomain(a)})};return a}();g["default"]=a}),98);
?>
Did this file decode correctly?
Original Code
;/*FB_PKG_DELIM*/
__d("GroupsCometUFIAnonActorSwitcherQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="8862964233772240"}),null);
__d("GroupsCometUFIAnonActorSwitcherQuery$Parameters",["GroupsCometUFIAnonActorSwitcherQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("GroupsCometUFIAnonActorSwitcherQuery_facebookRelayOperation"),metadata:{},name:"GroupsCometUFIAnonActorSwitcherQuery",operationKind:"query",text:null}};e.exports=a}),null);
__d("GroupsCometUFIAnonActorSwitcher.entrypoint",["GroupsCometUFIAnonActorSwitcherQuery$Parameters","JSResourceForInteraction"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){var b=a.anonProfileID,d=a.groupID;a=a.mainProfileID;return{queries:{queryReference:{parameters:c("GroupsCometUFIAnonActorSwitcherQuery$Parameters"),variables:{anonProfileID:b,groupID:d,mainProfileID:a}}}}},root:c("JSResourceForInteraction")("GroupsCometUFIAnonActorSwitcher.react").__setRef("GroupsCometUFIAnonActorSwitcher.entrypoint")};g["default"]=a}),98);
__d("SecurePostMessage",["invariant"],(function(a,b,c,d,e,f,g){"use strict";var h="*";a={sendMessageToSpecificOrigin:function(a,b,c,d){c!==h||g(0,21157),a.postMessage(b,c,d)},sendMessageForCurrentOrigin:function(a,b){a.postMessage(b)},sendMessageAllowAnyOrigin_UNSAFE:function(a,b,c){a.postMessage(b,h,c)}};e.exports=a}),null);
__d("SecureMessageListener",["SecurePostMessage","URI"],(function(a,b,c,d,e,f,g){"use strict";var h;a=function(){function a(a){var b=this;this.$3=null;this.$4=!1;this.$1=a;this.$5=function(a){b.run(a)}}var b=a.prototype;b.setEventHandler=function(a){this.$2=a;return this};b.setSupportedOrigins=function(a){this.$3=a;return this};b.skipOriginCheck_UNSAFE=function(){this.$4=!0;return this};b.beginListening=function(){this.$1.addEventListener("message",this.$5);return this};b.stopListening=function(){try{this.$1.removeEventListener("message",this.$5)}catch(a){if(!(a instanceof TypeError))throw a}return this};b.run=function(a){if(this.$3==null||this.$3.length===0){if(!this.$4&&a.origin!==this.$1.location.origin)return}else if(!this.isSupportedOrigin(this.$3,a.origin))return;if(this.$2){var b=function(b){d("SecurePostMessage").sendMessageToSpecificOrigin(a.source,b,a.origin)};this.$2(a,b)}};b.isSupportedOrigin=function(a,b){if(!new RegExp("^https://").test(b))return!1;var d=new(h||(h=c("URI")))(b);return a.some(function(a){return d.isSubdomainOfDomain(a)})};return a}();g["default"]=a}),98);
Function Calls
None |
Stats
MD5 | 0f0930b1873465bbce8ac62ad3ccfe3f |
Eval Count | 0 |
Decode Time | 52 ms |