Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/clone/wp-inclu.../js/dist
File: components.js
// when a `cloneElement()` is involved.
[13500] Fix | Delete
if (rendered !== undefined) {
[13501] Fix | Delete
// @ts-ignore
[13502] Fix | Delete
finalComponentProps.children = rendered;
[13503] Fix | Delete
}
[13504] Fix | Delete
finalComponentProps.className = classes;
[13505] Fix | Delete
return finalComponentProps;
[13506] Fix | Delete
}
[13507] Fix | Delete
[13508] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/context/context-connect.js
[13509] Fix | Delete
/**
[13510] Fix | Delete
* External dependencies
[13511] Fix | Delete
*/
[13512] Fix | Delete
[13513] Fix | Delete
/**
[13514] Fix | Delete
* WordPress dependencies
[13515] Fix | Delete
*/
[13516] Fix | Delete
[13517] Fix | Delete
[13518] Fix | Delete
[13519] Fix | Delete
/**
[13520] Fix | Delete
* Internal dependencies
[13521] Fix | Delete
*/
[13522] Fix | Delete
[13523] Fix | Delete
[13524] Fix | Delete
/**
[13525] Fix | Delete
* Forwards ref (React.ForwardRef) and "Connects" (or registers) a component
[13526] Fix | Delete
* within the Context system under a specified namespace.
[13527] Fix | Delete
*
[13528] Fix | Delete
* @param Component The component to register into the Context system.
[13529] Fix | Delete
* @param namespace The namespace to register the component under.
[13530] Fix | Delete
* @return The connected WordPressComponent
[13531] Fix | Delete
*/
[13532] Fix | Delete
function contextConnect(Component, namespace) {
[13533] Fix | Delete
return _contextConnect(Component, namespace, {
[13534] Fix | Delete
forwardsRef: true
[13535] Fix | Delete
});
[13536] Fix | Delete
}
[13537] Fix | Delete
[13538] Fix | Delete
/**
[13539] Fix | Delete
* "Connects" (or registers) a component within the Context system under a specified namespace.
[13540] Fix | Delete
* Does not forward a ref.
[13541] Fix | Delete
*
[13542] Fix | Delete
* @param Component The component to register into the Context system.
[13543] Fix | Delete
* @param namespace The namespace to register the component under.
[13544] Fix | Delete
* @return The connected WordPressComponent
[13545] Fix | Delete
*/
[13546] Fix | Delete
function contextConnectWithoutRef(Component, namespace) {
[13547] Fix | Delete
return _contextConnect(Component, namespace);
[13548] Fix | Delete
}
[13549] Fix | Delete
[13550] Fix | Delete
// This is an (experimental) evolution of the initial connect() HOC.
[13551] Fix | Delete
// The hope is that we can improve render performance by removing functional
[13552] Fix | Delete
// component wrappers.
[13553] Fix | Delete
function _contextConnect(Component, namespace, options) {
[13554] Fix | Delete
const WrappedComponent = options?.forwardsRef ? (0,external_wp_element_namespaceObject.forwardRef)(Component) : Component;
[13555] Fix | Delete
if (typeof namespace === 'undefined') {
[13556] Fix | Delete
true ? external_wp_warning_default()('contextConnect: Please provide a namespace') : 0;
[13557] Fix | Delete
}
[13558] Fix | Delete
[13559] Fix | Delete
// @ts-expect-error internal property
[13560] Fix | Delete
let mergedNamespace = WrappedComponent[CONNECT_STATIC_NAMESPACE] || [namespace];
[13561] Fix | Delete
[13562] Fix | Delete
/**
[13563] Fix | Delete
* Consolidate (merge) namespaces before attaching it to the WrappedComponent.
[13564] Fix | Delete
*/
[13565] Fix | Delete
if (Array.isArray(namespace)) {
[13566] Fix | Delete
mergedNamespace = [...mergedNamespace, ...namespace];
[13567] Fix | Delete
}
[13568] Fix | Delete
if (typeof namespace === 'string') {
[13569] Fix | Delete
mergedNamespace = [...mergedNamespace, namespace];
[13570] Fix | Delete
}
[13571] Fix | Delete
[13572] Fix | Delete
// @ts-expect-error We can't rely on inferred types here because of the
[13573] Fix | Delete
// `as` prop polymorphism we're handling in https://github.com/WordPress/gutenberg/blob/4f3a11243c365f94892e479bff0b922ccc4ccda3/packages/components/src/context/wordpress-component.ts#L32-L33
[13574] Fix | Delete
return Object.assign(WrappedComponent, {
[13575] Fix | Delete
[CONNECT_STATIC_NAMESPACE]: [...new Set(mergedNamespace)],
[13576] Fix | Delete
displayName: namespace,
[13577] Fix | Delete
selector: `.${getStyledClassNameFromKey(namespace)}`
[13578] Fix | Delete
});
[13579] Fix | Delete
}
[13580] Fix | Delete
[13581] Fix | Delete
/**
[13582] Fix | Delete
* Attempts to retrieve the connected namespace from a component.
[13583] Fix | Delete
*
[13584] Fix | Delete
* @param Component The component to retrieve a namespace from.
[13585] Fix | Delete
* @return The connected namespaces.
[13586] Fix | Delete
*/
[13587] Fix | Delete
function getConnectNamespace(Component) {
[13588] Fix | Delete
if (!Component) {
[13589] Fix | Delete
return [];
[13590] Fix | Delete
}
[13591] Fix | Delete
let namespaces = [];
[13592] Fix | Delete
[13593] Fix | Delete
// @ts-ignore internal property
[13594] Fix | Delete
if (Component[CONNECT_STATIC_NAMESPACE]) {
[13595] Fix | Delete
// @ts-ignore internal property
[13596] Fix | Delete
namespaces = Component[CONNECT_STATIC_NAMESPACE];
[13597] Fix | Delete
}
[13598] Fix | Delete
[13599] Fix | Delete
// @ts-ignore
[13600] Fix | Delete
if (Component.type && Component.type[CONNECT_STATIC_NAMESPACE]) {
[13601] Fix | Delete
// @ts-ignore
[13602] Fix | Delete
namespaces = Component.type[CONNECT_STATIC_NAMESPACE];
[13603] Fix | Delete
}
[13604] Fix | Delete
return namespaces;
[13605] Fix | Delete
}
[13606] Fix | Delete
[13607] Fix | Delete
/**
[13608] Fix | Delete
* Checks to see if a component is connected within the Context system.
[13609] Fix | Delete
*
[13610] Fix | Delete
* @param Component The component to retrieve a namespace from.
[13611] Fix | Delete
* @param match The namespace to check.
[13612] Fix | Delete
*/
[13613] Fix | Delete
function hasConnectNamespace(Component, match) {
[13614] Fix | Delete
if (!Component) {
[13615] Fix | Delete
return false;
[13616] Fix | Delete
}
[13617] Fix | Delete
if (typeof match === 'string') {
[13618] Fix | Delete
return getConnectNamespace(Component).includes(match);
[13619] Fix | Delete
}
[13620] Fix | Delete
if (Array.isArray(match)) {
[13621] Fix | Delete
return match.some(result => getConnectNamespace(Component).includes(result));
[13622] Fix | Delete
}
[13623] Fix | Delete
return false;
[13624] Fix | Delete
}
[13625] Fix | Delete
[13626] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/visually-hidden/styles.js
[13627] Fix | Delete
/**
[13628] Fix | Delete
* External dependencies
[13629] Fix | Delete
*/
[13630] Fix | Delete
[13631] Fix | Delete
const visuallyHidden = {
[13632] Fix | Delete
border: 0,
[13633] Fix | Delete
clip: 'rect(1px, 1px, 1px, 1px)',
[13634] Fix | Delete
WebkitClipPath: 'inset( 50% )',
[13635] Fix | Delete
clipPath: 'inset( 50% )',
[13636] Fix | Delete
height: '1px',
[13637] Fix | Delete
margin: '-1px',
[13638] Fix | Delete
overflow: 'hidden',
[13639] Fix | Delete
padding: 0,
[13640] Fix | Delete
position: 'absolute',
[13641] Fix | Delete
width: '1px',
[13642] Fix | Delete
wordWrap: 'normal'
[13643] Fix | Delete
};
[13644] Fix | Delete
[13645] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
[13646] Fix | Delete
function extends_extends() {
[13647] Fix | Delete
extends_extends = Object.assign ? Object.assign.bind() : function (target) {
[13648] Fix | Delete
for (var i = 1; i < arguments.length; i++) {
[13649] Fix | Delete
var source = arguments[i];
[13650] Fix | Delete
for (var key in source) {
[13651] Fix | Delete
if (Object.prototype.hasOwnProperty.call(source, key)) {
[13652] Fix | Delete
target[key] = source[key];
[13653] Fix | Delete
}
[13654] Fix | Delete
}
[13655] Fix | Delete
}
[13656] Fix | Delete
return target;
[13657] Fix | Delete
};
[13658] Fix | Delete
return extends_extends.apply(this, arguments);
[13659] Fix | Delete
}
[13660] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@emotion/styled/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js
[13661] Fix | Delete
function emotion_memoize_esm_memoize(fn) {
[13662] Fix | Delete
var cache = Object.create(null);
[13663] Fix | Delete
return function (arg) {
[13664] Fix | Delete
if (cache[arg] === undefined) cache[arg] = fn(arg);
[13665] Fix | Delete
return cache[arg];
[13666] Fix | Delete
};
[13667] Fix | Delete
}
[13668] Fix | Delete
[13669] Fix | Delete
[13670] Fix | Delete
[13671] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@emotion/styled/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js
[13672] Fix | Delete
[13673] Fix | Delete
[13674] Fix | Delete
var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23
[13675] Fix | Delete
[13676] Fix | Delete
var isPropValid = /* #__PURE__ */emotion_memoize_esm_memoize(function (prop) {
[13677] Fix | Delete
return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
[13678] Fix | Delete
/* o */
[13679] Fix | Delete
&& prop.charCodeAt(1) === 110
[13680] Fix | Delete
/* n */
[13681] Fix | Delete
&& prop.charCodeAt(2) < 91;
[13682] Fix | Delete
}
[13683] Fix | Delete
/* Z+1 */
[13684] Fix | Delete
);
[13685] Fix | Delete
[13686] Fix | Delete
[13687] Fix | Delete
[13688] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.js
[13689] Fix | Delete
[13690] Fix | Delete
[13691] Fix | Delete
[13692] Fix | Delete
[13693] Fix | Delete
[13694] Fix | Delete
[13695] Fix | Delete
[13696] Fix | Delete
[13697] Fix | Delete
var testOmitPropsOnStringTag = isPropValid;
[13698] Fix | Delete
[13699] Fix | Delete
var testOmitPropsOnComponent = function testOmitPropsOnComponent(key) {
[13700] Fix | Delete
return key !== 'theme';
[13701] Fix | Delete
};
[13702] Fix | Delete
[13703] Fix | Delete
var getDefaultShouldForwardProp = function getDefaultShouldForwardProp(tag) {
[13704] Fix | Delete
return typeof tag === 'string' && // 96 is one less than the char code
[13705] Fix | Delete
// for "a" so this is checking that
[13706] Fix | Delete
// it's a lowercase character
[13707] Fix | Delete
tag.charCodeAt(0) > 96 ? testOmitPropsOnStringTag : testOmitPropsOnComponent;
[13708] Fix | Delete
};
[13709] Fix | Delete
var composeShouldForwardProps = function composeShouldForwardProps(tag, options, isReal) {
[13710] Fix | Delete
var shouldForwardProp;
[13711] Fix | Delete
[13712] Fix | Delete
if (options) {
[13713] Fix | Delete
var optionsShouldForwardProp = options.shouldForwardProp;
[13714] Fix | Delete
shouldForwardProp = tag.__emotion_forwardProp && optionsShouldForwardProp ? function (propName) {
[13715] Fix | Delete
return tag.__emotion_forwardProp(propName) && optionsShouldForwardProp(propName);
[13716] Fix | Delete
} : optionsShouldForwardProp;
[13717] Fix | Delete
}
[13718] Fix | Delete
[13719] Fix | Delete
if (typeof shouldForwardProp !== 'function' && isReal) {
[13720] Fix | Delete
shouldForwardProp = tag.__emotion_forwardProp;
[13721] Fix | Delete
}
[13722] Fix | Delete
[13723] Fix | Delete
return shouldForwardProp;
[13724] Fix | Delete
};
[13725] Fix | Delete
[13726] Fix | Delete
var emotion_styled_base_browser_esm_ILLEGAL_ESCAPE_SEQUENCE_ERROR = "You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences";
[13727] Fix | Delete
[13728] Fix | Delete
var emotion_styled_base_browser_esm_Insertion = function Insertion(_ref) {
[13729] Fix | Delete
var cache = _ref.cache,
[13730] Fix | Delete
serialized = _ref.serialized,
[13731] Fix | Delete
isStringTag = _ref.isStringTag;
[13732] Fix | Delete
emotion_utils_browser_esm_registerStyles(cache, serialized, isStringTag);
[13733] Fix | Delete
var rules = emotion_use_insertion_effect_with_fallbacks_browser_esm_useInsertionEffectAlwaysWithSyncFallback(function () {
[13734] Fix | Delete
return emotion_utils_browser_esm_insertStyles(cache, serialized, isStringTag);
[13735] Fix | Delete
});
[13736] Fix | Delete
[13737] Fix | Delete
return null;
[13738] Fix | Delete
};
[13739] Fix | Delete
[13740] Fix | Delete
var createStyled = function createStyled(tag, options) {
[13741] Fix | Delete
if (false) {}
[13742] Fix | Delete
[13743] Fix | Delete
var isReal = tag.__emotion_real === tag;
[13744] Fix | Delete
var baseTag = isReal && tag.__emotion_base || tag;
[13745] Fix | Delete
var identifierName;
[13746] Fix | Delete
var targetClassName;
[13747] Fix | Delete
[13748] Fix | Delete
if (options !== undefined) {
[13749] Fix | Delete
identifierName = options.label;
[13750] Fix | Delete
targetClassName = options.target;
[13751] Fix | Delete
}
[13752] Fix | Delete
[13753] Fix | Delete
var shouldForwardProp = composeShouldForwardProps(tag, options, isReal);
[13754] Fix | Delete
var defaultShouldForwardProp = shouldForwardProp || getDefaultShouldForwardProp(baseTag);
[13755] Fix | Delete
var shouldUseAs = !defaultShouldForwardProp('as');
[13756] Fix | Delete
return function () {
[13757] Fix | Delete
var args = arguments;
[13758] Fix | Delete
var styles = isReal && tag.__emotion_styles !== undefined ? tag.__emotion_styles.slice(0) : [];
[13759] Fix | Delete
[13760] Fix | Delete
if (identifierName !== undefined) {
[13761] Fix | Delete
styles.push("label:" + identifierName + ";");
[13762] Fix | Delete
}
[13763] Fix | Delete
[13764] Fix | Delete
if (args[0] == null || args[0].raw === undefined) {
[13765] Fix | Delete
styles.push.apply(styles, args);
[13766] Fix | Delete
} else {
[13767] Fix | Delete
if (false) {}
[13768] Fix | Delete
[13769] Fix | Delete
styles.push(args[0][0]);
[13770] Fix | Delete
var len = args.length;
[13771] Fix | Delete
var i = 1;
[13772] Fix | Delete
[13773] Fix | Delete
for (; i < len; i++) {
[13774] Fix | Delete
if (false) {}
[13775] Fix | Delete
[13776] Fix | Delete
styles.push(args[i], args[0][i]);
[13777] Fix | Delete
}
[13778] Fix | Delete
} // $FlowFixMe: we need to cast StatelessFunctionalComponent to our PrivateStyledComponent class
[13779] Fix | Delete
[13780] Fix | Delete
[13781] Fix | Delete
var Styled = emotion_element_6a883da9_browser_esm_withEmotionCache(function (props, cache, ref) {
[13782] Fix | Delete
var FinalTag = shouldUseAs && props.as || baseTag;
[13783] Fix | Delete
var className = '';
[13784] Fix | Delete
var classInterpolations = [];
[13785] Fix | Delete
var mergedProps = props;
[13786] Fix | Delete
[13787] Fix | Delete
if (props.theme == null) {
[13788] Fix | Delete
mergedProps = {};
[13789] Fix | Delete
[13790] Fix | Delete
for (var key in props) {
[13791] Fix | Delete
mergedProps[key] = props[key];
[13792] Fix | Delete
}
[13793] Fix | Delete
[13794] Fix | Delete
mergedProps.theme = (0,external_React_.useContext)(emotion_element_6a883da9_browser_esm_ThemeContext);
[13795] Fix | Delete
}
[13796] Fix | Delete
[13797] Fix | Delete
if (typeof props.className === 'string') {
[13798] Fix | Delete
className = emotion_utils_browser_esm_getRegisteredStyles(cache.registered, classInterpolations, props.className);
[13799] Fix | Delete
} else if (props.className != null) {
[13800] Fix | Delete
className = props.className + " ";
[13801] Fix | Delete
}
[13802] Fix | Delete
[13803] Fix | Delete
var serialized = emotion_serialize_browser_esm_serializeStyles(styles.concat(classInterpolations), cache.registered, mergedProps);
[13804] Fix | Delete
className += cache.key + "-" + serialized.name;
[13805] Fix | Delete
[13806] Fix | Delete
if (targetClassName !== undefined) {
[13807] Fix | Delete
className += " " + targetClassName;
[13808] Fix | Delete
}
[13809] Fix | Delete
[13810] Fix | Delete
var finalShouldForwardProp = shouldUseAs && shouldForwardProp === undefined ? getDefaultShouldForwardProp(FinalTag) : defaultShouldForwardProp;
[13811] Fix | Delete
var newProps = {};
[13812] Fix | Delete
[13813] Fix | Delete
for (var _key in props) {
[13814] Fix | Delete
if (shouldUseAs && _key === 'as') continue;
[13815] Fix | Delete
[13816] Fix | Delete
if ( // $FlowFixMe
[13817] Fix | Delete
finalShouldForwardProp(_key)) {
[13818] Fix | Delete
newProps[_key] = props[_key];
[13819] Fix | Delete
}
[13820] Fix | Delete
}
[13821] Fix | Delete
[13822] Fix | Delete
newProps.className = className;
[13823] Fix | Delete
newProps.ref = ref;
[13824] Fix | Delete
return /*#__PURE__*/(0,external_React_.createElement)(external_React_.Fragment, null, /*#__PURE__*/(0,external_React_.createElement)(emotion_styled_base_browser_esm_Insertion, {
[13825] Fix | Delete
cache: cache,
[13826] Fix | Delete
serialized: serialized,
[13827] Fix | Delete
isStringTag: typeof FinalTag === 'string'
[13828] Fix | Delete
}), /*#__PURE__*/(0,external_React_.createElement)(FinalTag, newProps));
[13829] Fix | Delete
});
[13830] Fix | Delete
Styled.displayName = identifierName !== undefined ? identifierName : "Styled(" + (typeof baseTag === 'string' ? baseTag : baseTag.displayName || baseTag.name || 'Component') + ")";
[13831] Fix | Delete
Styled.defaultProps = tag.defaultProps;
[13832] Fix | Delete
Styled.__emotion_real = Styled;
[13833] Fix | Delete
Styled.__emotion_base = baseTag;
[13834] Fix | Delete
Styled.__emotion_styles = styles;
[13835] Fix | Delete
Styled.__emotion_forwardProp = shouldForwardProp;
[13836] Fix | Delete
Object.defineProperty(Styled, 'toString', {
[13837] Fix | Delete
value: function value() {
[13838] Fix | Delete
if (targetClassName === undefined && "production" !== 'production') {} // $FlowFixMe: coerce undefined to string
[13839] Fix | Delete
[13840] Fix | Delete
[13841] Fix | Delete
return "." + targetClassName;
[13842] Fix | Delete
}
[13843] Fix | Delete
});
[13844] Fix | Delete
[13845] Fix | Delete
Styled.withComponent = function (nextTag, nextOptions) {
[13846] Fix | Delete
return createStyled(nextTag, extends_extends({}, options, nextOptions, {
[13847] Fix | Delete
shouldForwardProp: composeShouldForwardProps(Styled, nextOptions, true)
[13848] Fix | Delete
})).apply(void 0, styles);
[13849] Fix | Delete
};
[13850] Fix | Delete
[13851] Fix | Delete
return Styled;
[13852] Fix | Delete
};
[13853] Fix | Delete
};
[13854] Fix | Delete
[13855] Fix | Delete
/* harmony default export */ const emotion_styled_base_browser_esm = (createStyled);
[13856] Fix | Delete
[13857] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/view/component.js
[13858] Fix | Delete
[13859] Fix | Delete
/**
[13860] Fix | Delete
* External dependencies
[13861] Fix | Delete
*/
[13862] Fix | Delete
[13863] Fix | Delete
/**
[13864] Fix | Delete
* WordPress dependencies
[13865] Fix | Delete
*/
[13866] Fix | Delete
[13867] Fix | Delete
[13868] Fix | Delete
/**
[13869] Fix | Delete
* Internal dependencies
[13870] Fix | Delete
*/
[13871] Fix | Delete
[13872] Fix | Delete
const PolymorphicDiv = /*#__PURE__*/emotion_styled_base_browser_esm("div", true ? {
[13873] Fix | Delete
target: "e19lxcc00"
[13874] Fix | Delete
} : 0)( true ? "" : 0);
[13875] Fix | Delete
function UnforwardedView({
[13876] Fix | Delete
as,
[13877] Fix | Delete
...restProps
[13878] Fix | Delete
}, ref) {
[13879] Fix | Delete
return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(PolymorphicDiv, {
[13880] Fix | Delete
as: as,
[13881] Fix | Delete
ref: ref,
[13882] Fix | Delete
...restProps
[13883] Fix | Delete
});
[13884] Fix | Delete
}
[13885] Fix | Delete
[13886] Fix | Delete
/**
[13887] Fix | Delete
* `View` is a core component that renders everything in the library.
[13888] Fix | Delete
* It is the principle component in the entire library.
[13889] Fix | Delete
*
[13890] Fix | Delete
* ```jsx
[13891] Fix | Delete
* import { View } from `@wordpress/components`;
[13892] Fix | Delete
*
[13893] Fix | Delete
* function Example() {
[13894] Fix | Delete
* return (
[13895] Fix | Delete
* <View>
[13896] Fix | Delete
* Code is Poetry
[13897] Fix | Delete
* </View>
[13898] Fix | Delete
* );
[13899] Fix | Delete
* }
[13900] Fix | Delete
* ```
[13901] Fix | Delete
*/
[13902] Fix | Delete
const View = Object.assign((0,external_wp_element_namespaceObject.forwardRef)(UnforwardedView), {
[13903] Fix | Delete
selector: '.components-view'
[13904] Fix | Delete
});
[13905] Fix | Delete
/* harmony default export */ const component = (View);
[13906] Fix | Delete
[13907] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/visually-hidden/component.js
[13908] Fix | Delete
/**
[13909] Fix | Delete
* External dependencies
[13910] Fix | Delete
*/
[13911] Fix | Delete
[13912] Fix | Delete
/**
[13913] Fix | Delete
* Internal dependencies
[13914] Fix | Delete
*/
[13915] Fix | Delete
[13916] Fix | Delete
[13917] Fix | Delete
[13918] Fix | Delete
[13919] Fix | Delete
[13920] Fix | Delete
function UnconnectedVisuallyHidden(props, forwardedRef) {
[13921] Fix | Delete
const {
[13922] Fix | Delete
style: styleProp,
[13923] Fix | Delete
...contextProps
[13924] Fix | Delete
} = useContextSystem(props, 'VisuallyHidden');
[13925] Fix | Delete
return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(component, {
[13926] Fix | Delete
ref: forwardedRef,
[13927] Fix | Delete
...contextProps,
[13928] Fix | Delete
style: {
[13929] Fix | Delete
...visuallyHidden,
[13930] Fix | Delete
...(styleProp || {})
[13931] Fix | Delete
}
[13932] Fix | Delete
});
[13933] Fix | Delete
}
[13934] Fix | Delete
[13935] Fix | Delete
/**
[13936] Fix | Delete
* `VisuallyHidden` is a component used to render text intended to be visually
[13937] Fix | Delete
* hidden, but will show for alternate devices, for example a screen reader.
[13938] Fix | Delete
*
[13939] Fix | Delete
* ```jsx
[13940] Fix | Delete
* import { VisuallyHidden } from `@wordpress/components`;
[13941] Fix | Delete
*
[13942] Fix | Delete
* function Example() {
[13943] Fix | Delete
* return (
[13944] Fix | Delete
* <VisuallyHidden>
[13945] Fix | Delete
* <label>Code is Poetry</label>
[13946] Fix | Delete
* </VisuallyHidden>
[13947] Fix | Delete
* );
[13948] Fix | Delete
* }
[13949] Fix | Delete
* ```
[13950] Fix | Delete
*/
[13951] Fix | Delete
const component_VisuallyHidden = contextConnect(UnconnectedVisuallyHidden, 'VisuallyHidden');
[13952] Fix | Delete
/* harmony default export */ const visually_hidden_component = (component_VisuallyHidden);
[13953] Fix | Delete
[13954] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@wordpress/components/build-module/alignment-matrix-control/utils.js
[13955] Fix | Delete
/**
[13956] Fix | Delete
* WordPress dependencies
[13957] Fix | Delete
*/
[13958] Fix | Delete
[13959] Fix | Delete
[13960] Fix | Delete
/**
[13961] Fix | Delete
* Internal dependencies
[13962] Fix | Delete
*/
[13963] Fix | Delete
[13964] Fix | Delete
const GRID = [['top left', 'top center', 'top right'], ['center left', 'center center', 'center right'], ['bottom left', 'bottom center', 'bottom right']];
[13965] Fix | Delete
[13966] Fix | Delete
// Stored as map as i18n __() only accepts strings (not variables)
[13967] Fix | Delete
const ALIGNMENT_LABEL = {
[13968] Fix | Delete
'top left': (0,external_wp_i18n_namespaceObject.__)('Top Left'),
[13969] Fix | Delete
'top center': (0,external_wp_i18n_namespaceObject.__)('Top Center'),
[13970] Fix | Delete
'top right': (0,external_wp_i18n_namespaceObject.__)('Top Right'),
[13971] Fix | Delete
'center left': (0,external_wp_i18n_namespaceObject.__)('Center Left'),
[13972] Fix | Delete
'center center': (0,external_wp_i18n_namespaceObject.__)('Center'),
[13973] Fix | Delete
center: (0,external_wp_i18n_namespaceObject.__)('Center'),
[13974] Fix | Delete
'center right': (0,external_wp_i18n_namespaceObject.__)('Center Right'),
[13975] Fix | Delete
'bottom left': (0,external_wp_i18n_namespaceObject.__)('Bottom Left'),
[13976] Fix | Delete
'bottom center': (0,external_wp_i18n_namespaceObject.__)('Bottom Center'),
[13977] Fix | Delete
'bottom right': (0,external_wp_i18n_namespaceObject.__)('Bottom Right')
[13978] Fix | Delete
};
[13979] Fix | Delete
[13980] Fix | Delete
// Transforms GRID into a flat Array of values.
[13981] Fix | Delete
const ALIGNMENTS = GRID.flat();
[13982] Fix | Delete
[13983] Fix | Delete
/**
[13984] Fix | Delete
* Normalizes and transforms an incoming value to better match the alignment values
[13985] Fix | Delete
*
[13986] Fix | Delete
* @param value An alignment value to parse.
[13987] Fix | Delete
*
[13988] Fix | Delete
* @return The parsed value.
[13989] Fix | Delete
*/
[13990] Fix | Delete
function normalize(value) {
[13991] Fix | Delete
const normalized = value === 'center' ? 'center center' : value;
[13992] Fix | Delete
[13993] Fix | Delete
// Strictly speaking, this could be `string | null | undefined`,
[13994] Fix | Delete
// but will be validated shortly, so we're typecasting to an
[13995] Fix | Delete
// `AlignmentMatrixControlValue` to keep TypeScript happy.
[13996] Fix | Delete
const transformed = normalized?.replace('-', ' ');
[13997] Fix | Delete
return ALIGNMENTS.includes(transformed) ? transformed : undefined;
[13998] Fix | Delete
}
[13999] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function