HEX
Server: Apache
System: Linux uyu7574470001-7d78c9ff74-xfpwm 4.19.91-21.al7.x86_64 #1 SMP Wed Sep 2 19:47:49 CST 2020 x86_64
User: ()
PHP: 7.4.16
Disabled: chmod,exec,system,passthru,shell_exec,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,dl,popen,pcntl_exec,socket_accept,socket_bind,socket_clear_error,socket_close,socket_connect,socket_create_listen,socket_create_pair,socket_create,socket_get_option,socket_getpeername,socket_getsockname,socket_last_error,socket_listen,socket_read,socket_recv,socket_recvfrom,socket_select,socket_send,socket_sendto,socket_set_block,socket_set_nonblock,socket_set_option,socket_shutdown,socket_strerror,socket_write,stream_socket_client,stream_socket_server,pfsockopen,disk_total_space,disk_free_space,chown,diskfreespace,getrusage,get_current_user,getmyuid,getmypid,dl,leak,listen,chgrp,link,symlink,dlopen,proc_nice,proc_get_stats,proc_terminate,shell_exec,sh2_exec,posix_getpwuid,posix_getgrgid,posix_kill,ini_restore,mkfifo,dbmopen,dbase_open,filepro,filepro_rowcount,posix_mkfifo,putenv,sleep,fsockopen
Upload Files
File: /usr/home/uyu7574470001/htdocs/wp-content/plugins/tablepress/blocks/table/build/index.js
(()=>{"use strict";var e={n:t=>{var r=t&&t.__esModule?()=>t.default:()=>t;return e.d(r,{a:r}),r},d:(t,r)=>{for(var a in r)e.o(r,a)&&!e.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:r[a]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.wp.blocks,r=window.wp.shortcode;var a=e.n(r);const l=JSON.parse('{"u2":"tablepress/table"}'),n=e=>{let t=Object.entries(e.named).map((([e,t])=>{let r="";return t=t.replace(/“([^”]*)”/g,"$1"),(/\s/.test(t)||""===t)&&(r='"'),t.includes('"')&&(r="'"),`${e}=${r}${t}${r}`})).join(" ");return e.numeric.forEach((e=>{/\s/.test(e)?t+=' "'+e+'"':t+=" "+e})),t},s=function(e){let r=a().next(tp.table.shortcode,e).shortcode.attrs;r={named:{...r.named},numeric:[...r.numeric]};const s=r.named.id;delete r.named.id;let o=n(r);return o=o.replace(/=“([^”]*)”/g,'="$1"'),(0,t.createBlock)(l.u2,{id:s,parameters:o})},o={from:[{type:"shortcode",tag:tp.table.shortcode,attributes:{id:{type:"string",shortcode:({named:{id:e=""}})=>e},parameters:{type:"string",shortcode:e=>(delete(e={named:{...e.named},numeric:[...e.numeric]}).named.id,n(e))}}},{type:"enter",regExp:a().regexp(tp.table.shortcode),transform:({content:e})=>s(e)},{type:"block",blocks:["core/shortcode"],transform:({text:e})=>s(e),isMatch:({text:e})=>void 0!==a().next(tp.table.shortcode,e),isMultiBlock:!1}],to:[{type:"block",blocks:["core/shortcode"],transform:({id:e,parameters:r})=>{""!==(r=r.trim())&&(r+=" ");const a=`[${tp.table.shortcode} id=${e} ${r}/]`;return(0,t.createBlock)("core/shortcode",{text:a})}}]},c=window.wp.element,i=window.wp.i18n,d=window.wp.serverSideRender;var p=e.n(d);const m=window.wp.blockEditor,b=window.wp.components,u=Object.entries(tp.tables).map((([e,t])=>({value:e,label:(0,i.sprintf)((0,i.__)("ID %1$s: “%2$s”","tablepress"),e,t)}))),h=function(){return""!==tp.url&&(0,c.createElement)(b.ExternalLink,{href:tp.url},(0,i.__)("Manage your tables.","tablepress"))};let w=null;const _=Object.keys(tp.tables);_.length&&(w={attributes:{id:_[Math.floor(Math.random()*_.length)],parameters:""}});const g=w;(0,t.registerBlockType)(l.u2,{transforms:o,edit:function({attributes:e,setAttributes:t}){const r=(0,m.useBlockProps)();let s;s=e.id&&tp.tables.hasOwnProperty(e.id)?(0,c.createElement)("div",{...r},tp.load_block_preview&&(0,c.createElement)(p(),{block:l.u2,attributes:e,className:"render-wrapper"}),(0,c.createElement)("div",{className:"table-overlay"},(0,i.sprintf)((0,i.__)("TablePress table %1$s: “%2$s”","tablepress"),e.id,tp.tables[e.id]))):(0,c.createElement)("div",{...r},(0,c.createElement)(b.Placeholder,{icon:(0,c.createElement)(b.Icon,{icon:"list-view"}),label:(0,i.__)("TablePress table","tablepress"),instructions:(0,c.createElement)(c.Fragment,null,e.id&&(0,i.sprintf)((0,i.__)("There is a problem: The TablePress table with the ID “%1$s” could not be found.","tablepress"),e.id)+" ",0<u.length?(0,i.__)("Select the TablePress table that you want to embed in the Settings sidebar.","tablepress"):(0,i.__)("There are no TablePress tables on this site yet.","tablepress"))},(0,c.createElement)(h,null)));const o=(0,c.createElement)(c.Fragment,null,(0,c.createElement)(m.InspectorControls,null,(0,c.createElement)(b.PanelBody,{opened:!0},0<u.length?(0,c.createElement)(b.ComboboxControl,{label:(0,i.__)("Table:","tablepress"),help:(0,c.createElement)(c.Fragment,null,(0,i.__)("Select the TablePress table that you want to embed.","tablepress"),""!==tp.url&&" ",(0,c.createElement)(h,null)),value:e.id,options:u,onChange:e=>{var r;null!==(r=e)&&void 0!==r||(e=""),t({id:e.replace(/[^0-9a-zA-Z-_]/g,"")})}}):(0,c.createElement)(c.Fragment,null,(0,i.__)("There are no TablePress tables on this site yet.","tablepress"),""!==tp.url&&" ",(0,c.createElement)(h,null)))),e.id&&tp.tables.hasOwnProperty(e.id)&&(0,c.createElement)(m.InspectorAdvancedControls,null,(0,c.createElement)(b.TextControl,{label:(0,i.__)("Configuration parameters:","tablepress"),help:(0,i.__)("These additional parameters can be used to modify specific table features.","tablepress")+" "+(0,i.__)("See the TablePress Documentation for more information.","tablepress"),value:e.parameters,onChange:e=>{e=(e=a().replace(tp.table.shortcode,e,(({attrs:e})=>(delete(e={named:{...e.named},numeric:[...e.numeric]}).named.id," "+n(e)+" ")))).replace(/=“([^”]*)”/g,'="$1"'),t({parameters:e})},onBlur:e=>{const r=e.target.value.trim();t({parameters:r})}})));return(0,c.createElement)(c.Fragment,null,s,o)},save:function({attributes:{id:e="",parameters:t=""}}){return""===e?"":(""!==(t=t.trim())&&(t+=" "),(0,c.createElement)(c.RawHTML,null,`[${tp.table.shortcode} id=${e} ${t}/]`))},example:g})})();