X7ROOT File Manager
Current Path:
/home/notabjze/hourglass.life/wp-includes/js/dist
home
/
notabjze
/
hourglass.life
/
wp-includes
/
js
/
dist
/
ðŸ“
..
📄
a11y.js
(8.48 KB)
📄
a11y.min.js
(2.39 KB)
📄
annotations.js
(31.05 KB)
📄
annotations.min.js
(6.8 KB)
📄
api-fetch.js
(22.27 KB)
📄
api-fetch.min.js
(5.27 KB)
📄
autop.js
(15.82 KB)
📄
autop.min.js
(5.54 KB)
📄
blob.js
(3.63 KB)
📄
blob.min.js
(917 B)
📄
block-directory.js
(75.69 KB)
📄
block-directory.min.js
(20.58 KB)
📄
block-editor.js
(2.1 MB)
📄
block-editor.min.js
(685.22 KB)
📄
block-library.js
(1.83 MB)
📄
block-library.min.js
(778.04 KB)
📄
block-serialization-default-parser.js
(14.94 KB)
📄
block-serialization-default-parser.min.js
(2.39 KB)
📄
blocks.js
(538.37 KB)
📄
blocks.min.js
(166.44 KB)
📄
commands.js
(175.76 KB)
📄
commands.min.js
(45.17 KB)
📄
components.js
(2.48 MB)
📄
components.min.js
(743.6 KB)
📄
compose.js
(186.45 KB)
📄
compose.min.js
(34.79 KB)
📄
core-commands.js
(16.33 KB)
📄
core-commands.min.js
(6.32 KB)
📄
core-data.js
(221.86 KB)
📄
core-data.min.js
(52.94 KB)
📄
customize-widgets.js
(109.45 KB)
📄
customize-widgets.min.js
(39.7 KB)
📄
data-controls.js
(7.32 KB)
📄
data-controls.min.js
(1.59 KB)
📄
data.js
(143.12 KB)
📄
data.min.js
(25.39 KB)
📄
date.js
(803.19 KB)
📄
date.min.js
(770.81 KB)
📄
deprecated.js
(4.67 KB)
📄
deprecated.min.js
(729 B)
ðŸ“
development
📄
dom-ready.js
(2.45 KB)
📄
dom-ready.min.js
(498 B)
📄
dom.js
(61.62 KB)
📄
dom.min.js
(12.71 KB)
📄
edit-post.js
(351.67 KB)
📄
edit-post.min.js
(123.98 KB)
📄
edit-site.js
(831.6 KB)
📄
edit-site.min.js
(310.14 KB)
📄
edit-widgets.js
(163.31 KB)
📄
edit-widgets.min.js
(57.49 KB)
📄
editor.js
(428.17 KB)
📄
editor.min.js
(148.53 KB)
📄
element.js
(66.26 KB)
📄
element.min.js
(12.35 KB)
📄
escape-html.js
(6.22 KB)
📄
escape-html.min.js
(1.11 KB)
📄
format-library.js
(63.14 KB)
📄
format-library.min.js
(21.97 KB)
📄
hooks.js
(19.6 KB)
📄
hooks.min.js
(4.52 KB)
📄
html-entities.js
(3.63 KB)
📄
html-entities.min.js
(837 B)
📄
i18n.js
(49.17 KB)
📄
i18n.min.js
(9.22 KB)
📄
is-shallow-equal.js
(4.34 KB)
📄
is-shallow-equal.min.js
(1.07 KB)
📄
keyboard-shortcuts.js
(21.58 KB)
📄
keyboard-shortcuts.min.js
(3.88 KB)
📄
keycodes.js
(33.45 KB)
📄
keycodes.min.js
(3.94 KB)
📄
list-reusable-blocks.js
(30.16 KB)
📄
list-reusable-blocks.min.js
(4.97 KB)
📄
media-utils.js
(21.94 KB)
📄
media-utils.min.js
(7.27 KB)
📄
notices.js
(21.84 KB)
📄
notices.min.js
(2.21 KB)
📄
nux.js
(20.61 KB)
📄
nux.min.js
(4.51 KB)
📄
plugins.js
(17.25 KB)
📄
plugins.min.js
(4.16 KB)
📄
preferences-persistence.js
(27.97 KB)
📄
preferences-persistence.min.js
(4.85 KB)
📄
preferences.js
(11.43 KB)
📄
preferences.min.js
(2.58 KB)
📄
primitives.js
(9.35 KB)
📄
primitives.min.js
(2.41 KB)
📄
priority-queue.js
(13.99 KB)
📄
priority-queue.min.js
(3.36 KB)
📄
private-apis.js
(8.56 KB)
📄
private-apis.min.js
(2.61 KB)
📄
redux-routine.js
(23.53 KB)
📄
redux-routine.min.js
(8.79 KB)
📄
reusable-blocks.js
(20.33 KB)
📄
reusable-blocks.min.js
(6.49 KB)
📄
rich-text.js
(130.94 KB)
📄
rich-text.min.js
(33 KB)
📄
router.js
(25.91 KB)
📄
router.min.js
(4.25 KB)
📄
server-side-render.js
(14.41 KB)
📄
server-side-render.min.js
(4.4 KB)
📄
shortcode.js
(14.94 KB)
📄
shortcode.min.js
(2.87 KB)
📄
style-engine.js
(15.92 KB)
📄
style-engine.min.js
(4.05 KB)
📄
token-list.js
(6.5 KB)
📄
token-list.min.js
(1.27 KB)
📄
url.js
(33.21 KB)
📄
url.min.js
(8.87 KB)
ðŸ“
vendor
📄
viewport.js
(10.54 KB)
📄
viewport.min.js
(1.94 KB)
📄
warning.js
(2.51 KB)
📄
warning.min.js
(392 B)
📄
widgets.js
(53.61 KB)
📄
widgets.min.js
(20.71 KB)
📄
wordcount.js
(14.7 KB)
📄
wordcount.min.js
(2.47 KB)
Editing: style-engine.js
/******/ (function() { // webpackBootstrap /******/ "use strict"; /******/ // The require scope /******/ var __webpack_require__ = {}; /******/ /************************************************************************/ /******/ /* webpack/runtime/define property getters */ /******/ !function() { /******/ // define getter functions for harmony exports /******/ __webpack_require__.d = function(exports, definition) { /******/ for(var key in definition) { /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } /******/ } /******/ }; /******/ }(); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ /******/ !function() { /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); } /******/ }(); /******/ /******/ /* webpack/runtime/make namespace object */ /******/ !function() { /******/ // define __esModule on exports /******/ __webpack_require__.r = function(exports) { /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); /******/ } /******/ Object.defineProperty(exports, '__esModule', { value: true }); /******/ }; /******/ }(); /******/ /************************************************************************/ var __webpack_exports__ = {}; // ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // EXPORTS __webpack_require__.d(__webpack_exports__, { "compileCSS": function() { return /* binding */ compileCSS; }, "getCSSRules": function() { return /* binding */ getCSSRules; } }); ;// CONCATENATED MODULE: external "lodash" var external_lodash_namespaceObject = window["lodash"]; ;// CONCATENATED MODULE: ./node_modules/@wordpress/style-engine/build-module/styles/constants.js const VARIABLE_REFERENCE_PREFIX = 'var:'; const VARIABLE_PATH_SEPARATOR_TOKEN_ATTRIBUTE = '|'; const VARIABLE_PATH_SEPARATOR_TOKEN_STYLE = '--'; ;// CONCATENATED MODULE: ./node_modules/@wordpress/style-engine/build-module/styles/utils.js /** * External dependencies */ /** * Internal dependencies */ /** * Returns a JSON representation of the generated CSS rules. * * @param style Style object. * @param options Options object with settings to adjust how the styles are generated. * @param path An array of strings representing the path to the style value in the style object. * @param ruleKey A CSS property key. * * @return GeneratedCSSRule[] CSS rules. */ function generateRule(style, options, path, ruleKey) { const styleValue = (0,external_lodash_namespaceObject.get)(style, path); return styleValue ? [{ selector: options?.selector, key: ruleKey, value: getCSSVarFromStyleValue(styleValue) }] : []; } /** * Returns a JSON representation of the generated CSS rules taking into account box model properties, top, right, bottom, left. * * @param style Style object. * @param options Options object with settings to adjust how the styles are generated. * @param path An array of strings representing the path to the style value in the style object. * @param ruleKeys An array of CSS property keys and patterns. * @param individualProperties The "sides" or individual properties for which to generate rules. * * @return GeneratedCSSRule[] CSS rules. */ function generateBoxRules(style, options, path, ruleKeys, individualProperties = ['top', 'right', 'bottom', 'left']) { const boxStyle = (0,external_lodash_namespaceObject.get)(style, path); if (!boxStyle) { return []; } const rules = []; if (typeof boxStyle === 'string') { rules.push({ selector: options?.selector, key: ruleKeys.default, value: boxStyle }); } else { const sideRules = individualProperties.reduce((acc, side) => { const value = getCSSVarFromStyleValue((0,external_lodash_namespaceObject.get)(boxStyle, [side])); if (value) { acc.push({ selector: options?.selector, key: ruleKeys?.individual.replace('%s', upperFirst(side)), value }); } return acc; }, []); rules.push(...sideRules); } return rules; } /** * Returns a CSS var value from incoming style value following the pattern `var:description|context|slug`. * * @param styleValue A raw style value. * * @return string A CSS var value. */ function getCSSVarFromStyleValue(styleValue) { if (typeof styleValue === 'string' && styleValue.startsWith(VARIABLE_REFERENCE_PREFIX)) { const variable = styleValue.slice(VARIABLE_REFERENCE_PREFIX.length).split(VARIABLE_PATH_SEPARATOR_TOKEN_ATTRIBUTE).map(presetVariable => (0,external_lodash_namespaceObject.kebabCase)(presetVariable)).join(VARIABLE_PATH_SEPARATOR_TOKEN_STYLE); return `var(--wp--${variable})`; } return styleValue; } /** * Capitalizes the first letter in a string. * * @param string The string whose first letter the function will capitalize. * * @return String with the first letter capitalized. */ function upperFirst(string) { const [firstLetter, ...rest] = string; return firstLetter.toUpperCase() + rest.join(''); } /** * Converts an array of strings into a camelCase string. * * @param strings The strings to join into a camelCase string. * * @return camelCase string. */ function camelCaseJoin(strings) { const [firstItem, ...rest] = strings; return firstItem.toLowerCase() + rest.map(upperFirst).join(''); } ;// CONCATENATED MODULE: ./node_modules/@wordpress/style-engine/build-module/styles/border/index.js /** * Internal dependencies */ /** * Creates a function for generating CSS rules when the style path is the same as the camelCase CSS property used in React. * * @param path An array of strings representing the path to the style value in the style object. * * @return A function that generates CSS rules. */ function createBorderGenerateFunction(path) { return (style, options) => generateRule(style, options, path, camelCaseJoin(path)); } /** * Creates a function for generating border-{top,bottom,left,right}-{color,style,width} CSS rules. * * @param edge The edge to create CSS rules for. * * @return A function that generates CSS rules. */ function createBorderEdgeGenerateFunction(edge) { return (style, options) => { return ['color', 'style', 'width'].flatMap(key => { const path = ['border', edge, key]; return createBorderGenerateFunction(path)(style, options); }); }; } const color = { name: 'color', generate: createBorderGenerateFunction(['border', 'color']) }; const radius = { name: 'radius', generate: (style, options) => { return generateBoxRules(style, options, ['border', 'radius'], { default: 'borderRadius', individual: 'border%sRadius' }, ['topLeft', 'topRight', 'bottomLeft', 'bottomRight']); } }; const borderStyle = { name: 'style', generate: createBorderGenerateFunction(['border', 'style']) }; const width = { name: 'width', generate: createBorderGenerateFunction(['border', 'width']) }; const borderTop = { name: 'borderTop', generate: createBorderEdgeGenerateFunction('top') }; const borderRight = { name: 'borderRight', generate: createBorderEdgeGenerateFunction('right') }; const borderBottom = { name: 'borderBottom', generate: createBorderEdgeGenerateFunction('bottom') }; const borderLeft = { name: 'borderLeft', generate: createBorderEdgeGenerateFunction('left') }; /* harmony default export */ var border = ([color, borderStyle, width, radius, borderTop, borderRight, borderBottom, borderLeft]); ;// CONCATENATED MODULE: ./node_modules/@wordpress/style-engine/build-module/styles/color/background.js /** * Internal dependencies */ const background = { name: 'background', generate: (style, options) => { return generateRule(style, options, ['color', 'background'], 'backgroundColor'); } }; /* harmony default export */ var color_background = (background); ;// CONCATENATED MODULE: ./node_modules/@wordpress/style-engine/build-module/styles/color/gradient.js /** * Internal dependencies */ const gradient = { name: 'gradient', generate: (style, options) => { return generateRule(style, options, ['color', 'gradient'], 'background'); } }; /* harmony default export */ var color_gradient = (gradient); ;// CONCATENATED MODULE: ./node_modules/@wordpress/style-engine/build-module/styles/color/text.js /** * Internal dependencies */ const text_text = { name: 'text', generate: (style, options) => { return generateRule(style, options, ['color', 'text'], 'color'); } }; /* harmony default export */ var color_text = (text_text); ;// CONCATENATED MODULE: ./node_modules/@wordpress/style-engine/build-module/styles/color/index.js /** * Internal dependencies */ /* harmony default export */ var styles_color = ([color_text, color_gradient, color_background]); ;// CONCATENATED MODULE: ./node_modules/@wordpress/style-engine/build-module/styles/dimensions/index.js /** * Internal dependencies */ const minHeight = { name: 'minHeight', generate: (style, options) => { return generateRule(style, options, ['dimensions', 'minHeight'], 'minHeight'); } }; /* harmony default export */ var dimensions = ([minHeight]); ;// CONCATENATED MODULE: ./node_modules/@wordpress/style-engine/build-module/styles/shadow/index.js /** * Internal dependencies */ const shadow = { name: 'shadow', generate: (style, options) => { return generateRule(style, options, ['shadow'], 'boxShadow'); } }; /* harmony default export */ var styles_shadow = ([shadow]); ;// CONCATENATED MODULE: ./node_modules/@wordpress/style-engine/build-module/styles/outline/index.js /** * Internal dependencies */ const outline_color = { name: 'color', generate: (style, options, path = ['outline', 'color'], ruleKey = 'outlineColor') => { return generateRule(style, options, path, ruleKey); } }; const offset = { name: 'offset', generate: (style, options, path = ['outline', 'offset'], ruleKey = 'outlineOffset') => { return generateRule(style, options, path, ruleKey); } }; const outlineStyle = { name: 'style', generate: (style, options, path = ['outline', 'style'], ruleKey = 'outlineStyle') => { return generateRule(style, options, path, ruleKey); } }; const outline_width = { name: 'width', generate: (style, options, path = ['outline', 'width'], ruleKey = 'outlineWidth') => { return generateRule(style, options, path, ruleKey); } }; /* harmony default export */ var outline = ([outline_color, outlineStyle, offset, outline_width]); ;// CONCATENATED MODULE: ./node_modules/@wordpress/style-engine/build-module/styles/spacing/padding.js /** * Internal dependencies */ const padding = { name: 'padding', generate: (style, options) => { return generateBoxRules(style, options, ['spacing', 'padding'], { default: 'padding', individual: 'padding%s' }); } }; /* harmony default export */ var spacing_padding = (padding); ;// CONCATENATED MODULE: ./node_modules/@wordpress/style-engine/build-module/styles/spacing/margin.js /** * Internal dependencies */ const margin = { name: 'margin', generate: (style, options) => { return generateBoxRules(style, options, ['spacing', 'margin'], { default: 'margin', individual: 'margin%s' }); } }; /* harmony default export */ var spacing_margin = (margin); ;// CONCATENATED MODULE: ./node_modules/@wordpress/style-engine/build-module/styles/spacing/index.js /** * Internal dependencies */ /* harmony default export */ var spacing = ([spacing_margin, spacing_padding]); ;// CONCATENATED MODULE: ./node_modules/@wordpress/style-engine/build-module/styles/typography/index.js /** * Internal dependencies */ const fontSize = { name: 'fontSize', generate: (style, options) => { return generateRule(style, options, ['typography', 'fontSize'], 'fontSize'); } }; const fontStyle = { name: 'fontStyle', generate: (style, options) => { return generateRule(style, options, ['typography', 'fontStyle'], 'fontStyle'); } }; const fontWeight = { name: 'fontWeight', generate: (style, options) => { return generateRule(style, options, ['typography', 'fontWeight'], 'fontWeight'); } }; const fontFamily = { name: 'fontFamily', generate: (style, options) => { return generateRule(style, options, ['typography', 'fontFamily'], 'fontFamily'); } }; const letterSpacing = { name: 'letterSpacing', generate: (style, options) => { return generateRule(style, options, ['typography', 'letterSpacing'], 'letterSpacing'); } }; const lineHeight = { name: 'lineHeight', generate: (style, options) => { return generateRule(style, options, ['typography', 'lineHeight'], 'lineHeight'); } }; const textColumns = { name: 'textColumns', generate: (style, options) => { return generateRule(style, options, ['typography', 'textColumns'], 'columnCount'); } }; const textDecoration = { name: 'textDecoration', generate: (style, options) => { return generateRule(style, options, ['typography', 'textDecoration'], 'textDecoration'); } }; const textTransform = { name: 'textTransform', generate: (style, options) => { return generateRule(style, options, ['typography', 'textTransform'], 'textTransform'); } }; /* harmony default export */ var typography = ([fontFamily, fontSize, fontStyle, fontWeight, letterSpacing, lineHeight, textColumns, textDecoration, textTransform]); ;// CONCATENATED MODULE: ./node_modules/@wordpress/style-engine/build-module/styles/index.js /** * Internal dependencies */ const styleDefinitions = [...border, ...styles_color, ...dimensions, ...outline, ...spacing, ...typography, ...styles_shadow]; ;// CONCATENATED MODULE: ./node_modules/@wordpress/style-engine/build-module/index.js /** * External dependencies */ /** * Internal dependencies */ /** * Generates a stylesheet for a given style object and selector. * * @since 6.1.0 Introduced in WordPress core. * * @param style Style object, for example, the value of a block's attributes.style object or the top level styles in theme.json * @param options Options object with settings to adjust how the styles are generated. * * @return A generated stylesheet or inline style declarations. */ function compileCSS(style, options = {}) { const rules = getCSSRules(style, options); // If no selector is provided, treat generated rules as inline styles to be returned as a single string. if (!options?.selector) { const inlineRules = []; rules.forEach(rule => { inlineRules.push(`${(0,external_lodash_namespaceObject.kebabCase)(rule.key)}: ${rule.value};`); }); return inlineRules.join(' '); } const groupedRules = rules.reduce((acc, rule) => { const { selector } = rule; if (!selector) { return acc; } if (!acc[selector]) { acc[selector] = []; } acc[selector].push(rule); return acc; }, {}); const selectorRules = Object.keys(groupedRules).reduce((acc, subSelector) => { acc.push(`${subSelector} { ${groupedRules[subSelector].map(rule => `${(0,external_lodash_namespaceObject.kebabCase)(rule.key)}: ${rule.value};`).join(' ')} }`); return acc; }, []); return selectorRules.join('\n'); } /** * Returns a JSON representation of the generated CSS rules. * * @since 6.1.0 Introduced in WordPress core. * * @param style Style object, for example, the value of a block's attributes.style object or the top level styles in theme.json * @param options Options object with settings to adjust how the styles are generated. * * @return A collection of objects containing the selector, if any, the CSS property key (camelcase) and parsed CSS value. */ function getCSSRules(style, options = {}) { const rules = []; styleDefinitions.forEach(definition => { if (typeof definition.generate === 'function') { rules.push(...definition.generate(style, options)); } }); return rules; } (window.wp = window.wp || {}).styleEngine = __webpack_exports__; /******/ })() ;
Upload File
Create Folder