X7ROOT File Manager
Current Path:
/home/notabjze/pyirates.net/wp-includes/js/dist
home
/
notabjze
/
pyirates.net
/
wp-includes
/
js
/
dist
/
ðŸ“
..
📄
a11y.js
(8.36 KB)
📄
a11y.min.js
(2.3 KB)
📄
annotations.js
(23 KB)
📄
annotations.min.js
(5.39 KB)
📄
api-fetch.js
(22.82 KB)
📄
api-fetch.min.js
(5.37 KB)
📄
autop.js
(15.83 KB)
📄
autop.min.js
(5.48 KB)
📄
blob.js
(4.68 KB)
📄
blob.min.js
(1.08 KB)
📄
block-directory.js
(78.92 KB)
📄
block-directory.min.js
(20.28 KB)
📄
block-editor.js
(2.43 MB)
📄
block-editor.min.js
(794.02 KB)
📄
block-library.js
(2.04 MB)
📄
block-library.min.js
(815.31 KB)
📄
block-serialization-default-parser.js
(14.87 KB)
📄
block-serialization-default-parser.min.js
(2.34 KB)
📄
blocks.js
(539.33 KB)
📄
blocks.min.js
(167.24 KB)
📄
commands.js
(175.5 KB)
📄
commands.min.js
(45.2 KB)
📄
components.js
(2.3 MB)
📄
components.min.js
(679.85 KB)
📄
compose.js
(197.21 KB)
📄
compose.min.js
(36.61 KB)
📄
core-commands.js
(22.02 KB)
📄
core-commands.min.js
(7.92 KB)
📄
core-data.js
(246.24 KB)
📄
core-data.min.js
(59.51 KB)
📄
customize-widgets.js
(97.11 KB)
📄
customize-widgets.min.js
(34.19 KB)
📄
data-controls.js
(7.14 KB)
📄
data-controls.min.js
(1.44 KB)
📄
data.js
(154.56 KB)
📄
data.min.js
(26.46 KB)
📄
date.js
(798.19 KB)
📄
date.min.js
(765.07 KB)
📄
deprecated.js
(4.63 KB)
📄
deprecated.min.js
(684 B)
ðŸ“
development
📄
dom-ready.js
(2.41 KB)
📄
dom-ready.min.js
(457 B)
📄
dom.js
(61.46 KB)
📄
dom.min.js
(12.19 KB)
📄
edit-post.js
(113.97 KB)
📄
edit-post.min.js
(39.27 KB)
📄
edit-site.js
(1.44 MB)
📄
edit-site.min.js
(575.93 KB)
📄
edit-widgets.js
(174.18 KB)
📄
edit-widgets.min.js
(57.63 KB)
📄
editor.js
(979.45 KB)
📄
editor.min.js
(318.42 KB)
📄
element.js
(65.63 KB)
📄
element.min.js
(11.7 KB)
📄
escape-html.js
(6.07 KB)
📄
escape-html.min.js
(1000 B)
📄
format-library.js
(67.52 KB)
📄
format-library.min.js
(22.3 KB)
📄
hooks.js
(19.27 KB)
📄
hooks.min.js
(4.21 KB)
📄
html-entities.js
(3.62 KB)
📄
html-entities.min.js
(788 B)
📄
i18n.js
(48.74 KB)
📄
i18n.min.js
(8.93 KB)
📄
interactivity-router.asset.php
(84 B)
📄
interactivity-router.js
(11.7 KB)
📄
interactivity-router.min.asset.php
(84 B)
📄
interactivity-router.min.js
(2.96 KB)
📄
interactivity.js
(95.62 KB)
📄
interactivity.min.js
(35.83 KB)
📄
is-shallow-equal.js
(4.25 KB)
📄
is-shallow-equal.min.js
(1018 B)
📄
keyboard-shortcuts.js
(24.17 KB)
📄
keyboard-shortcuts.min.js
(2.95 KB)
📄
keycodes.js
(13.77 KB)
📄
keycodes.min.js
(2.58 KB)
📄
list-reusable-blocks.js
(29.89 KB)
📄
list-reusable-blocks.min.js
(4.67 KB)
📄
media-utils.js
(22.27 KB)
📄
media-utils.min.js
(7.19 KB)
📄
notices.js
(21.64 KB)
📄
notices.min.js
(2.02 KB)
📄
nux.js
(13.19 KB)
📄
nux.min.js
(3.34 KB)
📄
patterns.js
(62.93 KB)
📄
patterns.min.js
(20.77 KB)
📄
plugins.js
(17.72 KB)
📄
plugins.min.js
(4.05 KB)
📄
preferences-persistence.js
(29.58 KB)
📄
preferences-persistence.min.js
(5.49 KB)
📄
preferences.js
(25.7 KB)
📄
preferences.min.js
(6.91 KB)
📄
primitives.js
(6.73 KB)
📄
primitives.min.js
(1.62 KB)
📄
priority-queue.js
(13.91 KB)
📄
priority-queue.min.js
(3.3 KB)
📄
private-apis.js
(8.66 KB)
📄
private-apis.min.js
(2.72 KB)
📄
redux-routine.js
(23.42 KB)
📄
redux-routine.min.js
(8.69 KB)
📄
reusable-blocks.js
(20.85 KB)
📄
reusable-blocks.min.js
(6.17 KB)
📄
rich-text.js
(115.12 KB)
📄
rich-text.min.js
(29.11 KB)
📄
router.js
(26.28 KB)
📄
router.min.js
(4.29 KB)
📄
server-side-render.js
(14.61 KB)
📄
server-side-render.min.js
(4.28 KB)
📄
shortcode.js
(14.92 KB)
📄
shortcode.min.js
(2.83 KB)
📄
style-engine.js
(37.54 KB)
📄
style-engine.min.js
(5.79 KB)
📄
token-list.js
(6.44 KB)
📄
token-list.min.js
(1.23 KB)
📄
undo-manager.js
(8.22 KB)
📄
undo-manager.min.js
(1.64 KB)
📄
url.js
(33.48 KB)
📄
url.min.js
(8.03 KB)
ðŸ“
vendor
📄
viewport.js
(10.45 KB)
📄
viewport.min.js
(1.82 KB)
📄
warning.js
(2.46 KB)
📄
warning.min.js
(311 B)
📄
widgets.js
(53.29 KB)
📄
widgets.min.js
(19.67 KB)
📄
wordcount.js
(14.63 KB)
📄
wordcount.min.js
(2.42 KB)
Editing: reusable-blocks.min.js
/*! This file is auto-generated */ (()=>{"use strict";var e={d:(t,n)=>{for(var o in n)e.o(n,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:n[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{ReusableBlocksMenuItems:()=>j,store:()=>b});var n={};e.r(n),e.d(n,{__experimentalConvertBlockToStatic:()=>i,__experimentalConvertBlocksToReusable:()=>a,__experimentalDeleteReusableBlock:()=>d,__experimentalSetEditingReusableBlock:()=>p});var o={};e.r(o),e.d(o,{__experimentalIsEditingReusableBlock:()=>_});const s=window.wp.data,r=window.wp.blockEditor,c=window.wp.blocks,l=window.wp.i18n,i=e=>({registry:t})=>{const n=t.select(r.store).getBlock(e),o=t.select("core").getEditedEntityRecord("postType","wp_block",n.attributes.ref),s=(0,c.parse)("function"==typeof o.content?o.content(o):o.content);t.dispatch(r.store).replaceBlocks(n.clientId,s)},a=(e,t,n)=>async({registry:o,dispatch:s})=>{const i="unsynced"===n?{wp_pattern_sync_status:n}:void 0,a={title:t||(0,l.__)("Untitled pattern block"),content:(0,c.serialize)(o.select(r.store).getBlocksByClientId(e)),status:"publish",meta:i},d=await o.dispatch("core").saveEntityRecord("postType","wp_block",a);if("unsynced"===n)return;const p=(0,c.createBlock)("core/block",{ref:d.id});o.dispatch(r.store).replaceBlocks(e,p),s.__experimentalSetEditingReusableBlock(p.clientId,!0)},d=e=>async({registry:t})=>{if(!t.select("core").getEditedEntityRecord("postType","wp_block",e))return;const n=t.select(r.store).getBlocks().filter((t=>(0,c.isReusableBlock)(t)&&t.attributes.ref===e)).map((e=>e.clientId));n.length&&t.dispatch(r.store).removeBlocks(n),await t.dispatch("core").deleteEntityRecord("postType","wp_block",e)};function p(e,t){return{type:"SET_EDITING_REUSABLE_BLOCK",clientId:e,isEditing:t}}const u=(0,s.combineReducers)({isEditingReusableBlock:function(e={},t){return"SET_EDITING_REUSABLE_BLOCK"===t?.type?{...e,[t.clientId]:t.isEditing}:e}});function _(e,t){return e.isEditingReusableBlock[t]}const b=(0,s.createReduxStore)("core/reusable-blocks",{actions:n,reducer:u,selectors:o});(0,s.register)(b);const k=window.wp.element,w=window.wp.components,g=window.wp.primitives,m=window.ReactJSXRuntime,y=(0,m.jsx)(g.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,m.jsx)(g.Path,{d:"M21.3 10.8l-5.6-5.6c-.7-.7-1.8-.7-2.5 0l-5.6 5.6c-.7.7-.7 1.8 0 2.5l5.6 5.6c.3.3.8.5 1.2.5s.9-.2 1.2-.5l5.6-5.6c.8-.7.8-1.9.1-2.5zm-1 1.4l-5.6 5.6c-.1.1-.3.1-.4 0l-5.6-5.6c-.1-.1-.1-.3 0-.4l5.6-5.6s.1-.1.2-.1.1 0 .2.1l5.6 5.6c.1.1.1.3 0 .4zm-16.6-.4L10 5.5l-1-1-6.3 6.3c-.7.7-.7 1.8 0 2.5L9 19.5l1.1-1.1-6.3-6.3c-.2 0-.2-.2-.1-.3z"})}),h=window.wp.notices,B=window.wp.coreData,v=window.wp.privateApis,{unlock:x}=(0,v.__dangerousOptInToUnstableAPIsOnlyForCoreModules)("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.","@wordpress/reusable-blocks"),{useReusableBlocksRenameHint:C,ReusableBlocksRenameHint:f}=x(r.privateApis);function R({clientIds:e,rootClientId:t,onClose:n}){const o=C(),[i,a]=(0,k.useState)(void 0),[d,p]=(0,k.useState)(!1),[u,_]=(0,k.useState)(""),g=(0,s.useSelect)((n=>{var o;const{canUser:s}=n(B.store),{getBlocksByClientId:l,canInsertBlockType:i,getBlockRootClientId:a}=n(r.store),d=t||(e.length>0?a(e[0]):void 0),p=null!==(o=l(e))&&void 0!==o?o:[];return!(1===p.length&&p[0]&&(0,c.isReusableBlock)(p[0])&&!!n(B.store).getEntityRecord("postType","wp_block",p[0].attributes.ref))&&i("core/block",d)&&p.every((e=>!!e&&e.isValid&&(0,c.hasBlockSupport)(e.name,"reusable",!0)))&&!!s("create","blocks")}),[e,t]),{__experimentalConvertBlocksToReusable:v}=(0,s.useDispatch)(b),{createSuccessNotice:x,createErrorNotice:R}=(0,s.useDispatch)(h.store),S=(0,k.useCallback)((async function(t){try{await v(e,t,i),x(i?(0,l.sprintf)((0,l.__)("Unsynced pattern created: %s"),t):(0,l.sprintf)((0,l.__)("Synced pattern created: %s"),t),{type:"snackbar",id:"convert-to-reusable-block-success"})}catch(e){R(e.message,{type:"snackbar",id:"convert-to-reusable-block-error"})}}),[v,e,i,x,R]);return g?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(w.MenuItem,{icon:y,onClick:()=>p(!0),children:o?(0,l.__)("Create pattern/reusable block"):(0,l.__)("Create pattern")}),d&&(0,m.jsx)(w.Modal,{title:(0,l.__)("Create pattern"),onRequestClose:()=>{p(!1),_("")},overlayClassName:"reusable-blocks-menu-items__convert-modal",children:(0,m.jsx)("form",{onSubmit:e=>{e.preventDefault(),S(u),p(!1),_(""),n()},children:(0,m.jsxs)(w.__experimentalVStack,{spacing:"5",children:[(0,m.jsx)(f,{}),(0,m.jsx)(w.TextControl,{__nextHasNoMarginBottom:!0,label:(0,l.__)("Name"),value:u,onChange:_,placeholder:(0,l.__)("My pattern")}),(0,m.jsx)(w.ToggleControl,{label:(0,l._x)("Synced","pattern (singular)"),help:(0,l.__)("Sync this pattern across multiple locations."),checked:!i,onChange:()=>{a(i?void 0:"unsynced")}}),(0,m.jsxs)(w.__experimentalHStack,{justify:"right",children:[(0,m.jsx)(w.Button,{variant:"tertiary",onClick:()=>{p(!1),_("")},children:(0,l.__)("Cancel")}),(0,m.jsx)(w.Button,{variant:"primary",type:"submit",children:(0,l.__)("Create")})]})]})})})]}):null}const S=window.wp.url;const I=function({clientId:e}){const{canRemove:t,isVisible:n,managePatternsUrl:o}=(0,s.useSelect)((t=>{const{getBlock:n,canRemoveBlock:o,getBlockCount:s}=t(r.store),{canUser:l}=t(B.store),i=n(e);return{canRemove:o(e),isVisible:!!i&&(0,c.isReusableBlock)(i)&&!!l("update","blocks",i.attributes.ref),innerBlockCount:s(e),managePatternsUrl:l("create","templates")?(0,S.addQueryArgs)("site-editor.php",{path:"/patterns"}):(0,S.addQueryArgs)("edit.php",{post_type:"wp_block"})}}),[e]),{__experimentalConvertBlockToStatic:i}=(0,s.useDispatch)(b);return n?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(w.MenuItem,{href:o,children:(0,l.__)("Manage patterns")}),t&&(0,m.jsx)(w.MenuItem,{onClick:()=>i(e),children:(0,l.__)("Detach")})]}):null};function j({rootClientId:e}){return(0,m.jsx)(r.BlockSettingsMenuControls,{children:({onClose:t,selectedClientIds:n})=>(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(R,{clientIds:n,rootClientId:e,onClose:t}),1===n.length&&(0,m.jsx)(I,{clientId:n[0]})]})})}(window.wp=window.wp||{}).reusableBlocks=t})();
Upload File
Create Folder