https://t.me/AnonymousX5
Server : Apache
System : Linux ls31.server.ly 3.10.0-962.3.2.lve1.5.68.el7.x86_64 #1 SMP Wed Apr 6 11:12:23 UTC 2022 x86_64
User : medchoco ( 2906)
PHP Version : 8.3.16
Disable Function : mail
Directory :  /home/medchoco/www/wp-content/plugins/wp-console/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/medchoco/www/wp-content/plugins/wp-console/assets/js/wp-console.js
(()=>{var e,t,n={355:(e,t)=>{"use strict";t.mw={prefix:"fas",iconName:"bug",icon:[512,512,[],"f188","M256 0c53 0 96 43 96 96l0 3.6c0 15.7-12.7 28.4-28.4 28.4l-135.1 0c-15.7 0-28.4-12.7-28.4-28.4l0-3.6c0-53 43-96 96-96zM41.4 105.4c12.5-12.5 32.8-12.5 45.3 0l64 64c.7 .7 1.3 1.4 1.9 2.1c14.2-7.3 30.4-11.4 47.5-11.4l112 0c17.1 0 33.2 4.1 47.5 11.4c.6-.7 1.2-1.4 1.9-2.1l64-64c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-64 64c-.7 .7-1.4 1.3-2.1 1.9c6.2 12 10.1 25.3 11.1 39.5l64.3 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-64 0c0 24.6-5.5 47.8-15.4 68.6c2.2 1.3 4.2 2.9 6 4.8l64 64c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-63.1-63.1c-24.5 21.8-55.8 36.2-90.3 39.6L272 240c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 239.2c-34.5-3.4-65.8-17.8-90.3-39.6L86.6 502.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l64-64c1.9-1.9 3.9-3.4 6-4.8C101.5 367.8 96 344.6 96 320l-64 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l64.3 0c1.1-14.1 5-27.5 11.1-39.5c-.7-.6-1.4-1.2-2.1-1.9l-64-64c-12.5-12.5-12.5-32.8 0-45.3z"]},t.wG=t.mw},217:(e,t,n)=>{"use strict";var o=n(617);t.mw={prefix:o.prefix,iconName:o.iconName,icon:[o.width,o.height,o.aliases,o.unicode,o.svgPathData]},t.SG=t.mw,o.prefix,o.iconName,o.width,o.height,o.aliases,o.unicode,o.svgPathData,o.aliases},617:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="circle-check",o=[61533,"check-circle"],s="f058",c="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z";t.definition={prefix:"fas",iconName:n,icon:[512,512,o,s,c]},t.faCircleCheck=t.definition,t.prefix="fas",t.iconName=n,t.width=512,t.height=512,t.ligatures=o,t.unicode=s,t.svgPathData=c,t.aliases=o},104:(e,t)=>{"use strict";t.mw={prefix:"fas",iconName:"clone",icon:[512,512,[],"f24d","M288 448L64 448l0-224 64 0 0-64-64 0c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l224 0c35.3 0 64-28.7 64-64l0-64-64 0 0 64zm-64-96l224 0c35.3 0 64-28.7 64-64l0-224c0-35.3-28.7-64-64-64L224 0c-35.3 0-64 28.7-64 64l0 224c0 35.3 28.7 64 64 64z"]},t.$3=t.mw},645:(e,t)=>{"use strict";t.mw={prefix:"fas",iconName:"eraser",icon:[576,512,[],"f12d","M290.7 57.4L57.4 290.7c-25 25-25 65.5 0 90.5l80 80c12 12 28.3 18.7 45.3 18.7L288 480l9.4 0L512 480c17.7 0 32-14.3 32-32s-14.3-32-32-32l-124.1 0L518.6 285.3c25-25 25-65.5 0-90.5L381.3 57.4c-25-25-65.5-25-90.5 0zM297.4 416l-9.4 0-105.4 0-80-80L227.3 211.3 364.7 348.7 297.4 416z"]},t.IP=t.mw},468:(e,t)=>{"use strict";t.mw={prefix:"fas",iconName:"play",icon:[384,512,[9654],"f04b","M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80L0 432c0 17.4 9.4 33.4 24.5 41.9s33.7 8.1 48.5-.9L361 297c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41L73 39z"]},t.ij=t.mw},633:(e,t)=>{"use strict";t.mw={prefix:"fas",iconName:"terminal",icon:[576,512,[],"f120","M9.4 86.6C-3.1 74.1-3.1 53.9 9.4 41.4s32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L178.7 256 9.4 86.6zM256 416l288 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-288 0c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]},t.MN=t.mw},179:(e,t,n)=>{"use strict";var o=n(976);t.mw={prefix:o.prefix,iconName:o.iconName,icon:[o.width,o.height,o.aliases,o.unicode,o.svgPathData]},t.GR=t.mw,o.prefix,o.iconName,o.width,o.height,o.aliases,o.unicode,o.svgPathData,o.aliases},976:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="xmark",o=[128473,10005,10006,10060,215,"close","multiply","remove","times"],s="f00d",c="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z";t.definition={prefix:"fas",iconName:n,icon:[384,512,o,s,c]},t.faXmark=t.definition,t.prefix="fas",t.iconName=n,t.width=384,t.height=512,t.ligatures=o,t.unicode=s,t.svgPathData=c,t.aliases=o},512:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var o=n(455),s=n.n(o);const c=async(e,t)=>{const{setNotice:n,setOutput:o,setDump:c,setExecutionTime:a,setErrorTrace:l,resetConsoleResponses:i,startExecuting:r,finishExecuting:p}=t;e=e.replace(/^\<\?php/,"//").trim(),r(i),n("");try{const t=await s()({path:"/wp-console/v1/console",method:"post",data:{input:e},headers:{"X-WP-Console":!0}});t.output&&o(t.output),t.dump&&c(t.dump),t.execution_time&&a(t.execution_time)}catch(e){e.message&&n(e.message),e?.data?.trace&&l(e.data.trace)}finally{p()}}},626:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var o=n(455),s=n.n(o);const c=async e=>{const{setNotice:t,startFetchingLog:n,finishFetchingLog:o,setLog:c,setExtraInfo:a}=e;n(),t(""),c(""),a({});try{const e=await s()({path:"/wp-console/v1/debug-log",method:"get",parse:!1,headers:{"X-WP-Console":!0}}),t=await e.json(),n=JSON.parse(e.headers.get("X-WP-Console-Debug-Log-Extra-Info"));c(t.trim()),a(n)}catch(e){const n=await e.json();n.message&&t(n.message),c("API_ERROR")}finally{o()}}},350:(e,t,n)=>{"use strict";n.d(t,{AY:()=>h,Bc:()=>y,IB:()=>v,Ix:()=>_,Mx:()=>f,Wp:()=>E,Yc:()=>w,bj:()=>S,i3:()=>b,rc:()=>N,yW:()=>g});var o=n(609),s=n(427),c=n(633),a=n(355),l=n(179),i=n(468),r=n(645),p=n(104),u=n(217);function d(e){const t={width:`${e.width||13}px`,height:`${e.height||13}px`};return e.top&&(t.position="relative",t.top=`${e.top}px`),t}const m=e=>(0,o.createElement)(s.SVG,{className:`wp-console-icon icon-${e.iconName}`,xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${e.icon[0]} ${e.icon[1]}`,style:d(e)},(0,o.createElement)(s.Path,{d:e.icon[4]})),g=e=>m({...e,...c.MN}),w=e=>m({...e,...a.wG}),E=e=>m({...e,...l.GR}),h=e=>m({...e,...i.ij}),f=e=>m({...e,...r.IP}),S=e=>m({...e,...p.$3}),v=e=>m({...e,...u.SG}),_=e=>m({...e,iconName:"split-window-horizontal",icon:["468.062","468.062",null,null,"M431.379,0.222h-394.7C16.456,0.222,0,16.671,0,36.895v394.268c0,20.221,16.456,36.677,36.679,36.677h394.7 c20.228,0,36.683-16.456,36.683-36.677V36.895C468.062,16.665,451.606,0.222,431.379,0.222z M406.519,41.966 c8.689,0,15.723,7.04,15.723,15.72c0,8.683-7.033,15.717-15.723,15.717c-8.688,0-15.723-7.04-15.723-15.717 C390.796,49.006,397.83,41.966,406.519,41.966z M350.189,41.966c8.688,0,15.723,7.04,15.723,15.72 c0,8.683-7.034,15.717-15.723,15.717c-8.684,0-15.711-7.04-15.711-15.717C334.479,49.006,341.506,41.966,350.189,41.966z M41.913,112.426h184.055v313.495H41.913V112.426z M426.148,425.921H242.104V112.426h184.044V425.921z"]}),b=e=>m({...e,iconName:"split-window-vertical",icon:["468.067","468.067",null,null,"M431.38,0.225H36.685C16.458,0.225,0,16.674,0,36.898v394.268c0,20.221,16.458,36.677,36.685,36.677H431.38 c20.232,0,36.688-16.456,36.688-36.677V36.898C468.062,16.668,451.606,0.225,431.38,0.225z M406.519,41.969 c8.678,0,15.711,7.04,15.711,15.72c0,8.683-7.033,15.717-15.711,15.717c-8.688,0-15.723-7.04-15.723-15.717 C390.796,49.009,397.83,41.969,406.519,41.969z M350.189,41.969c8.688,0,15.723,7.04,15.723,15.72 c0,8.683-7.034,15.717-15.723,15.717c-8.684,0-15.711-7.04-15.711-15.717C334.479,49.009,341.513,41.969,350.189,41.969z M426.143,112.429v143.519H41.919V112.429H426.143z M41.919,425.924V272.09h384.224v153.84H41.919V425.924z"]}),y=e=>(0,o.createElement)(s.SVG,{className:"wp-console-icon icon-curly-braces",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1652 1478",style:d(e)},(0,o.createElement)(s.G,{transform:"translate(0.000000,1478.000000) scale(0.100000,-0.100000)",fill:"#000000",stroke:"none"},(0,o.createElement)(s.Path,{d:"M4350 14769 c-349 -13 -704 -56 -895 -108 -584 -159 -1003 -401 -1270 -731 -251 -310 -377 -667 -439 -1235 -47 -435 -61 -790 -71 -1780 -9 -935 -35 -1173 -171 -1585 -96 -288 -273 -560 -464 -713 -209 -167 -516 -262 -943 -293 l-97 -7 2 -921 3 -920 45 -3 c107 -8 304 -36 410 -59 313 -68 520 -171 684 -338 160 -165 284 -390 385 -696 102 -314 137 -738 146 -1800 9 -985 36 -1446 106 -1805 93 -475 302 -855 631 -1142 544 -475 1170 -632 2524 -633 l312 0 6 22 c8 30 8 1792 0 1812 -5 14 -30 16 -174 16 -278 0 -596 27 -766 66 -229 52 -424 186 -513 353 -84 158 -105 308 -116 841 -7 306 -21 732 -35 1040 -19 415 -30 645 -35 690 -65 621 -138 977 -270 1315 -188 480 -520 870 -997 1170 l-108 67 33 22 c626 427 865 702 1080 1241 154 387 235 843 267 1495 17 351 20 412 26 515 15 291 35 815 39 1070 11 542 40 709 152 872 82 120 242 229 391 267 150 38 497 66 828 66 l191 0 7 46 c8 60 8 1757 0 1778 -5 14 -45 16 -353 14 -190 0 -438 -5 -551 -9z"}),(0,o.createElement)(s.Path,{d:"M11260 13862 l0 -922 173 0 c406 -1 756 -31 907 -80 150 -48 329 -188 383 -300 72 -150 99 -388 112 -1005 12 -556 44 -1306 71 -1650 48 -625 151 -1051 348 -1450 166 -333 361 -569 665 -805 91 -70 136 -102 300 -215 l63 -44 -47 -28 c-437 -256 -741 -570 -952 -984 -152 -296 -207 -448 -267 -729 -84 -397 -112 -711 -146 -1615 -5 -148 -12 -326 -15 -395 -3 -69 -10 -307 -15 -530 -10 -432 -21 -553 -66 -706 -30 -104 -43 -132 -102 -209 -100 -133 -249 -224 -450 -276 -154 -39 -495 -69 -794 -69 l-168 0 0 -925 0 -925 368 1 c935 3 1371 62 1845 250 186 74 286 125 457 233 294 185 484 407 632 741 139 314 201 634 242 1245 23 351 25 413 31 888 12 1029 19 1251 45 1492 34 302 118 615 224 829 144 292 339 511 553 619 116 59 333 120 503 141 52 7 122 16 156 22 33 5 83 9 110 9 27 0 59 3 72 6 l22 6 0 919 0 919 -43 0 c-66 0 -281 27 -397 50 -295 59 -592 205 -740 366 -147 159 -269 388 -359 676 -62 200 -101 475 -116 828 -4 80 -8 163 -10 185 -2 22 -7 261 -10 530 -10 960 -17 1184 -45 1510 -44 498 -104 769 -240 1070 -181 403 -517 743 -930 942 -434 210 -917 286 -1902 300 l-468 6 0 -921z"}),(0,o.createElement)(s.Path,{d:"M7150 10410 l0 -1080 1080 2 1080 3 0 870 c0 479 0 963 0 1078 l0 207 -1080 0 -1080 0 0 -1080z"}),(0,o.createElement)(s.Path,{d:"M7157 5473 c-4 -3 -7 -489 -7 -1080 l1 -1073 447 -1 c246 0 480 0 521 1 l74 1 -6 -138 c-16 -368 -129 -705 -312 -932 -130 -160 -296 -285 -540 -405 -93 -46 -212 -99 -263 -116 -104 -37 -102 -32 -57 -120 31 -61 195 -402 195 -406 0 -2 39 -83 86 -181 47 -98 90 -188 95 -200 8 -21 10 -22 46 -9 189 69 487 216 672 331 75 47 289 205 346 255 163 144 327 330 427 485 73 113 174 311 222 435 98 259 175 701 201 1158 4 73 8 1596 5 1989 0 10 -223 13 -1073 13 -591 0 -1077 -3 -1080 -7z"}))),N=e=>(0,o.createElement)(s.SVG,{className:"wp-console-icon icon-execution-time",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",style:d(e)},(0,o.createElement)(s.G,{transform:"translate(0.000000,512) scale(0.100000,-0.100000)",fill:"#000000",stroke:"none"},(0,o.createElement)(s.Path,{d:"M1987 4795 c-129 -45 -168 -212 -72 -306 48 -47 85 -57 213 -58 l112 -1 0 -180 0 -180 -24 0 c-13 0 -79 -14 -146 -31 -711 -179 -1243 -733 -1396 -1454 -35 -164 -45 -473 -20 -645 160 -1102 1216 -1827 2299 -1578 l87 20 0 254 c0 140 -1 254 -3 254 -1 0 -29 -9 -61 -20 -280 -99 -622 -98 -906 2 -213 76 -393 192 -553 357 -194 201 -313 424 -373 702 -27 120 -27 428 0 549 40 183 115 360 223 523 66 100 268 299 373 368 162 107 329 177 510 216 66 14 129 18 285 18 185 0 208 -2 309 -28 344 -87 619 -270 823 -547 194 -264 295 -624 264 -940 -6 -62 -10 -114 -8 -116 17 -14 417 -254 425 -254 10 0 33 90 54 220 18 112 15 433 -6 555 -34 202 -80 349 -162 523 -189 401 -536 739 -942 917 -122 54 -297 108 -404 126 l-78 13 0 177 0 177 128 3 c116 4 132 6 164 28 125 86 111 270 -27 332 -37 17 -76 19 -545 18 -402 0 -513 -3 -543 -14z"}),(0,o.createElement)(s.Path,{d:"M2400 3228 c-49 -26 -50 -33 -50 -503 l-1 -440 -379 -254 c-365 -246 -400 -273 -400 -319 0 -26 128 -230 152 -243 11 -6 34 -9 52 -7 45 5 934 602 947 636 6 15 8 238 7 558 l-3 533 -23 23 c-21 21 -33 23 -150 26 -89 2 -134 -1 -152 -10z"}),(0,o.createElement)(s.Path,{d:"M3220 1420 c0 -614 3 -771 13 -767 31 13 1241 755 1244 763 2 7 -1209 756 -1249 772 -4 2 -8 -344 -8 -768z"})))},508:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var o=n(491),s=n(143);const c=function({select:e=[],dispatch:t=[]}){return(0,o.compose)((0,s.withSelect)((t=>{const n={},o=t("wp-console");for(let t=0;t<e.length;t++){const s=e[t];n[s]=o[s]()}return n})),(0,s.withDispatch)((e=>{const n={},o=e("wp-console");for(let e=0;e<t.length;e++)n[t[e]]=o[t[e]];return n})))}},519:function(e){var t,n;t=this,n=function(e){var t,n,o,s,c,a=/"|(\/\*)|(\*\/)|(\/\/)|\n|\r|\[|]/g,l=!1,i=!1,r=!1,p=[],u=0,d=0;for(a.lastIndex=0;t=a.exec(e);)o=RegExp.leftContext,s=RegExp.rightContext,i||r||(n=o.substring(d),l||(n=n.replace(/(\n|\r|\s)*/g,"")),p[u++]=n),c=d,d=a.lastIndex,'"'!==t[0]||i||r?"/*"!==t[0]||l||i||r?"*/"!==t[0]||l||!i||r?"//"!==t[0]||l||i||r?"\n"!==t[0]&&"\r"!==t[0]||l||i||!r?i||r||/\n|\r|\s/.test(t[0])||(p[u++]=t[0]):r=!1:r=!0:i=!1:i=!0:(o.lastIndex=c,n=o.match(/(\\)*$/),l&&n&&n[0].length%2!=0||(l=!l),d--,s=e.substring(d));return p[u++]=s,p.join("")},e.exports?(e.exports=n,JSON.minify=n):(void 0!==t.JSON&&t.JSON||(t.JSON={}),t.JSON.minify=n)},609:e=>{"use strict";e.exports=window.React},455:e=>{"use strict";e.exports=window.wp.apiFetch},427:e=>{"use strict";e.exports=window.wp.components},491:e=>{"use strict";e.exports=window.wp.compose},143:e=>{"use strict";e.exports=window.wp.data},87:e=>{"use strict";e.exports=window.wp.element},537:e=>{"use strict";e.exports=window.wp.htmlEntities},723:e=>{"use strict";e.exports=window.wp.i18n}},o={};function s(e){var t=o[e];if(void 0!==t)return t.exports;var c=o[e]={id:e,loaded:!1,exports:{}};return n[e].call(c.exports,c,c.exports,s),c.loaded=!0,c.exports}s.m=n,s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce(((t,n)=>(s.f[n](e,t),t)),[])),s.u=e=>"chunks/"+{192:"532c4093680c923d197a",458:"443f5c7e116c0a3f209c"}[e]+".js",s.miniCssF=e=>{},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="wp-console:",s.l=(n,o,c,a)=>{if(e[n])e[n].push(o);else{var l,i;if(void 0!==c)for(var r=document.getElementsByTagName("script"),p=0;p<r.length;p++){var u=r[p];if(u.getAttribute("src")==n||u.getAttribute("data-webpack")==t+c){l=u;break}}l||(i=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,s.nc&&l.setAttribute("nonce",s.nc),l.setAttribute("data-webpack",t+c),l.src=n),e[n]=[o];var d=(t,o)=>{l.onerror=l.onload=null,clearTimeout(m);var s=e[n];if(delete e[n],l.parentNode&&l.parentNode.removeChild(l),s&&s.forEach((e=>e(o))),t)return t(o)},m=setTimeout(d.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=d.bind(null,l.onerror),l.onload=d.bind(null,l.onload),i&&document.head.appendChild(l)}},s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;s.g.importScripts&&(e=s.g.location+"");var t=s.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var o=n.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=n[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.p=e})(),(()=>{var e={414:0};s.f.j=(t,n)=>{var o=s.o(e,t)?e[t]:void 0;if(0!==o)if(o)n.push(o[2]);else{var c=new Promise(((n,s)=>o=e[t]=[n,s]));n.push(o[2]=c);var a=s.p+s.u(t),l=new Error;s.l(a,(n=>{if(s.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var c=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;l.message="Loading chunk "+t+" failed.\n("+c+": "+a+")",l.name="ChunkLoadError",l.type=c,l.request=a,o[1](l)}}),"chunk-"+t,t)}};var t=(t,n)=>{var o,c,a=n[0],l=n[1],i=n[2],r=0;if(a.some((t=>0!==e[t]))){for(o in l)s.o(l,o)&&(s.m[o]=l[o]);i&&i(s)}for(t&&t(n);r<a.length;r++)c=a[r],s.o(e,c)&&e[c]&&e[c][0](),e[c]=0},n=self.wpConsoleWebpack=self.wpConsoleWebpack||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),(()=>{"use strict";var e=s(609);const t=window.jQuery;var n=s.n(t),o=s(87);const c=window.wp.hooks;var a=s(143),l=s(723),i=s(350),r=s(427),p=s(508),u=s(512);let d=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&n[e]];return t};var m=s(519),g=s.n(m);let w=null,E=[];const h=(0,p.A)({select:["userSettings"],dispatch:["setUserSettings","setNotice"]})((({closeManager:t,setCanCloseManager:n,userSettings:s,setUserSettings:c,setNotice:a})=>{const[p,u]=(0,o.useState)(""),[m,h]=(0,o.useState)(!1),[f,S]=(0,o.useState)(!1);(0,o.useEffect)((()=>{let e={};return Array.isArray(s?.console?.snippets)&&s.console.snippets.length?(E=s.console.snippets,e=E[0]):(e={id:d(),title:(0,l.__)("Custom Snippets","wp-console"),snippets:"{}"},E=[e]),v(e),u(e.id),n(!0),()=>{w=null,E=[]}}),[]);const v=e=>{w=wpConsoleAce.edit("wp-console-snippet-manager-main"),w.setTheme("ace/theme/xcode"),w.session.setMode("ace/mode/json"),w.setOptions({enableLiveAutocompletion:!0,tabSize:2}),w.container.style.lineHeight=1.6,w.renderer.updateFontSize(),w.setShowPrintMargin(!1),w.session.setValue(JSON.stringify(JSON.parse(e.snippets),null,2)),w.focus()};return(0,e.createElement)("div",{id:"wp-console-snippet-manager",className:m?"is-saving-snippets":""},(0,e.createElement)("div",{id:"wp-console-snippet-manager-main"}),(0,e.createElement)("div",{id:"wp-console-snippet-manager-footer"},(0,e.createElement)("div",{id:"wp-conoele-snippet-manager-update-message"},f&&(0,e.createElement)(o.Fragment,null,(0,e.createElement)(i.IB,null)," ",(0,l.__)("Snippets updated","wp-console"))),(0,e.createElement)("div",{id:"wp-console-snippet-manager-buttons"},(0,e.createElement)(r.Button,{onClick:()=>t(),isTertiary:!0,disabled:m},(0,l.__)("Cancel","wp-console")),(0,e.createElement)(r.Button,{onClick:()=>(async()=>{if((()=>{const e=[];return w.session.getAnnotations().forEach((t=>{"error"===t.type&&e.push((0,l.sprintf)(
// translators: %1$s: error message, %2$s: line number, %3$s: column number
// translators: %1$s: error message, %2$s: line number, %3$s: column number
(0,l.__)("%1$s at line %2$d, column %3$d.","wp-console"),t.text,t.row+1,t.column+1))})),e.length&&a(e.join(" ")),e.length})())return;a(""),n(!1),h(!0);const e=E.findIndex((e=>e.id===p));E[e].snippets=g()(w.session.getValue())||"{}";const t=await c("console","snippets",E,a);await t.response&&(S(!0),setTimeout((()=>{w&&S(!1)}),4e3)),h(!1),n(!0)})(),isPrimary:!0,disabled:m,isBusy:m},m?(0,l.__)("Saving Snippets","wp-console"):(0,l.__)("Save Snippets","wp-console")))))})),f=(0,p.A)({select:["userSettings","code","isExecuting"],dispatch:["setUserSettings","setNotice","setOutput","setDump","setErrorTrace","resetConsoleResponses","startExecuting","finishExecuting","setExecutionTime"]})((t=>{const[n,s]=(0,o.useState)(!1),[c,a]=(0,o.useState)(!0),{userSettings:p,code:d,isExecuting:m,setUserSettings:g,setNotice:w}=t,E=p.console.window_split,f="horizontal"===E?i.Ix:i.i3;return(0,e.createElement)(o.Fragment,null,(0,e.createElement)("ul",{className:"list-inline"},(0,e.createElement)("li",{id:"wp-console-console-snippets-button",className:"list-inline-item"},(0,e.createElement)(r.Button,{className:"wp-console-panel-button wp-console-button-no-style",isSmall:!0,onClick:()=>s(!0)},(0,e.createElement)(i.Bc,null)," ",(0,l.__)("Snippets","wp-console"))),(0,e.createElement)("li",{id:"wp-console-console-split-button",className:"list-inline-item"},(0,e.createElement)(r.Button,{className:"wp-console-panel-button wp-console-button-no-style",isSmall:!0,onClick:()=>(async()=>{const e="horizontal"===E?"vertical":"horizontal";await g("console","window_split",e,w),wpConsole.hooks.doAction("wp_console_console_toggle_window_split",e)})()},(0,e.createElement)(f,null)," ",(0,l.__)("Split","wp-console"))),(0,e.createElement)("li",{id:"wp-console-console-run-button",className:"list-inline-item"},(0,e.createElement)(r.Button,{className:"wp-console-panel-button wp-console-button-no-style",isSmall:!0,isBusy:m,disabled:m,onClick:()=>(0,u.A)(d,t)},(0,e.createElement)(i.AY,null)," ",(0,l.__)("Run","wp-console")))),n&&(0,e.createElement)(r.Modal,{className:"wp-console-snippet-manager-modal",title:(0,l.__)("WP Console Snippets","wp-console"),onRequestClose:()=>c&&s(!1)},(0,e.createElement)(h,{closeManager:()=>c&&s(!1),setCanCloseManager:a})))})),S=(0,o.lazy)((()=>s.e(458).then(s.bind(s,458)))),v={id:"console",name:(0,l.__)("Console","wp-console"),icon:(0,e.createElement)(i.yW,{width:"16",height:"16"}),PanelButtons:f,Panel:S};var _=s(626),b=s(455),y=s.n(b);const N=(0,p.A)({select:["clearingLog","fetchingLog"],dispatch:["setNotice","startFetchingLog","finishFetchingLog","setLog","setExtraInfo","startClearingLog","finishClearingLog"]})((t=>{const{clearingLog:n,fetchingLog:o}=t,s=n?`${(0,l.__)("Clearing Log","wp-console")}...`:(0,l.__)("Clear Log","wp-console"),c=o?`${(0,l.__)("Fetching Log","wp-console")}...`:(0,l.__)("Fetch Log","wp-console");return(0,e.createElement)("ul",{className:"list-inline"},(0,e.createElement)("li",{className:"list-inline-item"},(0,e.createElement)(r.Button,{className:"wp-console-panel-button wp-console-button-no-style",isSmall:!0,isBusy:n,disabled:n||o,onClick:()=>(async e=>{const{setNotice:t,startClearingLog:n,finishClearingLog:o,setLog:s,setExtraInfo:c}=e;n(),t(""),s(""),c({});try{await y()({path:"/wp-console/v1/debug-log",method:"delete",headers:{"X-WP-Console":!0}}),t((0,l.__)("Cleared debug.log.","wp-console"),"success")}catch(e){s("API_ERROR"),e.message&&t(e.message)}finally{o()}})(t)},(0,e.createElement)(i.Mx,null)," ",s)),(0,e.createElement)("li",{className:"list-inline-item"},(0,e.createElement)(r.Button,{className:"wp-console-panel-button wp-console-button-no-style",isSmall:!0,isBusy:o,disabled:o||n,onClick:()=>(0,_.A)(t)},(0,e.createElement)(i.Yc,null)," ",c)))})),x=(0,o.lazy)((()=>s.e(192).then(s.bind(s,192)))),C={id:"debug-log",name:(0,l.__)("Debug Log","wp-console"),icon:(0,e.createElement)(i.Yc,{width:"16",height:"16"}),PanelButtons:N,Panel:x},T=async function(e,t,n,o){try{const o=await y()({path:"/wp-console/v1/user-settings",method:"post",data:{[e]:{[t]:n}},headers:{"X-WP-Console":!0}});return wpConsole.hooks.doAction(`wp_console_after_save_user_settings_${e}_${t}`,n,o),o}catch(e){e.message&&o(e.message)}return null},L={userSettings:wpConsole.user_settings,panels:[v,C],activePanelId:"console",notice:{message:"",type:"error"}},I={actions:{setUserSettings:(e,t,n,o)=>({type:"SET_USER_SETTINGS",section:e,option:t,value:n,response:T(e,t,n,o)}),setActivePanelId:e=>({type:"SET_ACTIVE_PANEL",activePanelId:e}),setNotice:(e,t="error")=>({type:"SET_NOTICE",notice:{message:e,type:t}})},reducer:(e=L,t)=>{switch(t.type){case"SET_USER_SETTINGS":e={...e,userSettings:{...e.userSettings,[t.section]:{...e.userSettings[t.section],[t.option]:t.value}}};break;case"SET_ACTIVE_PANEL":e={...e,activePanelId:t.activePanelId};break;case"SET_NOTICE":e={...e,notice:t.notice}}return e},selectors:{userSettings:({globalStore:e})=>e.userSettings,panels:({globalStore:e})=>e.panels,activePanelId:({globalStore:e})=>e.activePanelId,activePanel:({globalStore:e})=>e.panels.filter((t=>t.id===e.activePanelId))[0],notice:({globalStore:e})=>e.notice}},P={code:"<?php\n",output:null,dump:null,errorTrace:null,isExecuting:!1,settings:{horizontalSplit:!1},keyBindings:{execCode:{win:"Ctrl-Enter",mac:"Cmd-Enter"}},executionTime:null},O={actions:{updateCode:e=>({type:"UPDATE_CODE",code:e}),setOutput:e=>({type:"SET_OUTPUT",output:e}),setDump:e=>({type:"SET_DUMP",dump:e}),setErrorTrace:e=>({type:"SET_ERROR_TRACE",errorTrace:e}),resetConsoleResponses:()=>({type:"RESET_CONSOLE_RESPONSES"}),startExecuting:e=>(e(),{type:"START_EXECUTING"}),finishExecuting:()=>({type:"FINISH_EXECUTING"}),toggleHorizontalSplit:()=>({type:"TOGGLE_HORIZONTAL_SPLIT"}),setExecutionTime:e=>({type:"SET_EXECUTION_TIME",time:e})},reducer:(e=P,t)=>{switch(t.type){case"UPDATE_CODE":e={...e,code:t.code};break;case"SET_OUTPUT":e={...e,output:t.output};break;case"SET_DUMP":e={...e,dump:t.dump};break;case"SET_ERROR_TRACE":e={...e,errorTrace:t.errorTrace};break;case"RESET_CONSOLE_RESPONSES":e={...e,output:P.output,dump:P.dump,errorTrace:P.errorTrace};break;case"START_EXECUTING":e={...e,isExecuting:!0};break;case"FINISH_EXECUTING":e={...e,isExecuting:!1};break;case"TOGGLE_HORIZONTAL_SPLIT":e={...e,settings:{...e.settings,horizontalSplit:!e.settings.horizontalSplit}};break;case"SET_EXECUTION_TIME":e={...e,executionTime:t.time}}return e},selectors:{code:({consoleStore:e})=>e.code,output:({consoleStore:e})=>e.output,dump:({consoleStore:e})=>e.dump,errorTrace:({consoleStore:e})=>e.errorTrace,isExecuting:({consoleStore:e})=>e.isExecuting,horizontalSplit:({consoleStore:e})=>e.settings.horizontalSplit,keyBindings:({consoleStore:e})=>e.keyBindings,getExecutionTime:({consoleStore:e})=>e.executionTime}},A={clearingLog:!1,fetchingLog:!1,log:null,extraInfo:{}},k={actions:{startClearingLog:()=>({type:"START_CLEARING_LOG"}),finishClearingLog:()=>({type:"FINISH_CLEARING_LOG"}),startFetchingLog:()=>({type:"START_FETCHING_LOG"}),finishFetchingLog:()=>({type:"FINISH_FETCHING_LOG"}),setLog:e=>({type:"SET_LOG",log:e}),setExtraInfo:e=>({type:"SET_EXTRA_INFO",extraInfo:e})},reducer:(e=A,t)=>{switch(t.type){case"START_CLEARING_LOG":e={...e,clearingLog:!0};break;case"FINISH_CLEARING_LOG":e={...e,clearingLog:!1};break;case"START_FETCHING_LOG":e={...e,fetchingLog:!0};break;case"FINISH_FETCHING_LOG":e={...e,fetchingLog:!1};break;case"SET_LOG":e={...e,log:t.log};break;case"SET_EXTRA_INFO":e={...e,extraInfo:t.extraInfo}}return e},selectors:{clearingLog:({debugLogStore:e})=>e.clearingLog,fetchingLog:({debugLogStore:e})=>e.fetchingLog,log:({debugLogStore:e})=>e.log,extraInfo:({debugLogStore:e})=>e.extraInfo}},R={actions:{...I.actions,...O.actions,...k.actions},reducer:(0,a.combineReducers)({globalStore:I.reducer,consoleStore:O.reducer,debugLogStore:k.reducer}),selectors:{...I.selectors,...O.selectors,...k.selectors}};(0,a.registerStore)("wp-console",R);const M=(0,p.A)({select:["panels","activePanel","activePanelId"],dispatch:["setActivePanelId","resetConsoleResponses"]})((({panels:t,activePanel:o,activePanelId:s,setActivePanelId:c,resetConsoleResponses:a})=>{const p=o.PanelButtons;return(0,e.createElement)("nav",{id:"wp-console-navbar",className:"display-flex"},(0,e.createElement)("div",{className:"wp-console-navbar-left display-flex"},(0,e.createElement)("h3",{id:"wp-console-logo",className:"align-self-center"},(0,l.__)("WP Console","wp-console")),(0,e.createElement)("ul",{id:"wp-console-panel-names",className:"display-flex"},t.map((t=>(0,e.createElement)("li",{key:t.id,role:"presentation",className:s===t.id?"active":"",onClick:()=>c(t.id)},t.icon," ",t.name))))),(0,e.createElement)("div",{className:"wp-console-navbar-right display-flex"},(0,e.createElement)("div",{className:"wp-console-panel-buttons align-self-center"},(0,e.createElement)(p,null)),(0,e.createElement)("div",{className:"wp-console-nav-buttons align-self-center"},(0,e.createElement)(r.Button,{className:"button-close",onClick:e=>((e,t)=>{e.preventDefault(),n()("body").removeClass("wp-console-active"),n()("#wp-console").removeClass("active").trigger("wp-console:close"),t()})(e,a)},(0,e.createElement)(i.Wp,null)))))})),z=(0,p.A)({select:["notice"],dispatch:["setNotice"]})((({notice:t,setNotice:n})=>(0,o.createPortal)((0,e.createElement)("div",{id:"wp-console-app-notice"},(0,e.createElement)(r.Notice,{status:t.type,onRemove:()=>n("")},t.message)),document.body))),G=(0,p.A)({select:["notice","activePanel"]})((({notice:t,activePanel:n})=>{const s=n.Panel,c=(0,e.createElement)("div",{className:"wp-console-spinner"},(0,e.createElement)(r.Spinner,null));return(0,e.createElement)(o.Fragment,null,(0,e.createElement)(M,null),(0,e.createElement)("div",{id:"wp-console-panel"},(0,e.createElement)(o.Suspense,{fallback:c},(0,e.createElement)(s,null))),t.message&&(0,e.createElement)(z,null))}));s.p=`${wpConsole.url.assests}/js/`,wpConsole.hooks=(0,c.createHooks)(),n()(document).ready((function(){if(!n()("#wp-console").length)return;const t=()=>{n()("body").addClass("wp-console-active"),n()("#wp-console").addClass("active"),n()("#wp-console").children().length||("function"!=typeof o.createRoot?(0,o.render)((0,e.createElement)(G,null),document.getElementById("wp-console")):(0,o.createRoot)(document.getElementById("wp-console")).render((0,e.createElement)(G,null)))};n()(".ab-item","#wp-admin-bar-wp-console").on("click",(e=>{e.preventDefault(),t()})),n()('#adminmenu a[href="tools.php?page=wp-console"]').on("click",(e=>{e.preventDefault(),t()}))}))})()})();
//# sourceMappingURL=wp-console.js.map

https://t.me/AnonymousX5 - 2025