Done ! 403WebShell
403Webshell
Server IP : 54.36.91.62  /  Your IP : 216.73.216.38
Web Server : Apache
System : Linux webm008.cluster127.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : awaywithxm ( 25098)
PHP Version : 7.0.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/awaywithxm/www/wp-content/plugins/gutenberg/build/list-reusable-blocks/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/awaywithxm/www/wp-content/plugins/gutenberg/build/list-reusable-blocks/index.js
this.wp=this.wp||{},this.wp.listReusableBlocks=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=422)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},10:function(e,t){!function(){e.exports=this.wp.compose}()},12:function(e,t){!function(){e.exports=this.regeneratorRuntime}()},2:function(e,t){!function(){e.exports=this.lodash}()},3:function(e,t){!function(){e.exports=this.wp.components}()},33:function(e,t){!function(){e.exports=this.wp.apiFetch}()},422:function(e,t,n){"use strict";n.r(t);var r=n(0),o=n(1),i=n(12),c=n.n(i);function a(e,t,n,r,o,i,c){try{var a=e[i](c),u=a.value}catch(e){return void n(e)}a.done?t(u):Promise.resolve(u).then(r,o)}function u(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function c(e){a(i,r,o,c,u,"next",e)}function u(e){a(i,r,o,c,u,"throw",e)}c(void 0)}))}}var s=n(2),l=n(33),f=n.n(l);function p(e,t,n){var r=new window.Blob([t],{type:n});if(window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(r,e);else{var o=document.createElement("a");o.href=URL.createObjectURL(r),o.download=e,o.style.display="none",document.body.appendChild(o),o.click(),document.body.removeChild(o)}}function b(e){var t=new window.FileReader;return new Promise((function(n){t.onload=function(){n(t.result)},t.readAsText(e)}))}function d(){return(d=u(c.a.mark((function e(t){var n,r,o,i,a;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f()({path:"/wp/v2/types/wp_block"});case 2:return n=e.sent,e.next=5,f()({path:"/wp/v2/".concat(n.rest_base,"/").concat(t,"?context=edit")});case 5:r=e.sent,o=r.title.raw,i=r.content.raw,a=JSON.stringify({__file:"wp_block",title:o,content:i},null,2),p(Object(s.kebabCase)(o)+".json",a,"application/json");case 11:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var m=function(e){return d.apply(this,arguments)},v=n(3);function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(e){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function S(e,t){return!t||"object"!==_(t)&&"function"!=typeof t?w(e):t}function j(e){return(j=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=n(10);function k(){return(k=u(c.a.mark((function e(t){var n,r,o,i;return c.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b(t);case 2:n=e.sent,e.prev=3,r=JSON.parse(n),e.next=10;break;case 7:throw e.prev=7,e.t0=e.catch(3),new Error("Invalid JSON file");case 10:if("wp_block"===r.__file&&r.title&&r.content&&Object(s.isString)(r.title)&&Object(s.isString)(r.content)){e.next=12;break}throw new Error("Invalid Reusable Block JSON file");case 12:return e.next=14,f()({path:"/wp/v2/types/wp_block"});case 14:return o=e.sent,e.next=17,f()({path:"/wp/v2/".concat(o.rest_base),data:{title:r.title,content:r.content,status:"publish"},method:"POST"});case 17:return i=e.sent,e.abrupt("return",i);case 19:case"end":return e.stop()}}),e,null,[[3,7]])})))).apply(this,arguments)}var x=function(e){return k.apply(this,arguments)};function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=j(e);if(t){var o=j(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return S(this,n)}}var N=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&O(e,t)}(a,e);var t,n,i,c=E(a);function a(){var e;return h(this,a),(e=c.apply(this,arguments)).state={isLoading:!1,error:null,file:null},e.isStillMounted=!0,e.onChangeFile=e.onChangeFile.bind(w(e)),e.onSubmit=e.onSubmit.bind(w(e)),e}return t=a,(n=[{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"onChangeFile",value:function(e){this.setState({file:e.target.files[0]})}},{key:"onSubmit",value:function(e){var t=this;e.preventDefault();var n=this.state.file,r=this.props.onUpload;n&&(this.setState({isLoading:!0}),x(n).then((function(e){t.isStillMounted&&(t.setState({isLoading:!1}),r(e))})).catch((function(e){if(t.isStillMounted){var n;switch(e.message){case"Invalid JSON file":n=Object(o.__)("Invalid JSON file");break;case"Invalid Reusable Block JSON file":n=Object(o.__)("Invalid Reusable Block JSON file");break;default:n=Object(o.__)("Unknown error")}t.setState({isLoading:!1,error:n})}})))}},{key:"render",value:function(){var e=this.props.instanceId,t=this.state,n=t.file,i=t.isLoading,c=t.error,a="list-reusable-blocks-import-form-"+e;return Object(r.createElement)("form",{className:"list-reusable-blocks-import-form",onSubmit:this.onSubmit},c&&Object(r.createElement)(v.Notice,{status:"error"},c),Object(r.createElement)("label",{htmlFor:a,className:"list-reusable-blocks-import-form__label"},Object(o.__)("File")),Object(r.createElement)("input",{id:a,type:"file",onChange:this.onChangeFile}),Object(r.createElement)(v.Button,{type:"submit",isBusy:i,disabled:!n||i,isSecondary:!0,className:"list-reusable-blocks-import-form__button"},Object(o._x)("Import","button label")))}}])&&y(t.prototype,n),i&&y(t,i),a}(r.Component),P=Object(g.withInstanceId)(N);var C=function(e){var t=e.onUpload;return Object(r.createElement)(v.Dropdown,{position:"bottom right",contentClassName:"list-reusable-blocks-import-dropdown__content",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(r.createElement)(v.Button,{"aria-expanded":t,onClick:n,isPrimary:!0},Object(o.__)("Import from JSON"))},renderContent:function(e){var n=e.onClose;return Object(r.createElement)(P,{onUpload:Object(s.flow)(n,t)})}})};document.body.addEventListener("click",(function(e){e.target.classList.contains("wp-list-reusable-blocks__export")&&(e.preventDefault(),m(e.target.dataset.id))})),document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelector(".page-title-action");if(e){var t=document.createElement("div");t.className="list-reusable-blocks__container",e.parentNode.insertBefore(t,e),Object(r.render)(Object(r.createElement)(C,{onUpload:function(){var e=document.createElement("div");e.className="notice notice-success is-dismissible",e.innerHTML="<p>".concat(Object(o.__)("Reusable block imported successfully!"),"</p>");var t=document.querySelector(".wp-header-end");t&&t.parentNode.insertBefore(e,t)}}),t)}}))}});

Youez - 2016 - github.com/yon3zu
LinuXploit