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
const { layoutId, layout, drag, dragConstraints, layoutScroll, layoutRoot, } = renderedProps;
[26000] Fix | Delete
this.projection = new ProjectionNodeConstructor(this.latestValues, renderedProps["data-framer-portal-id"]
[26001] Fix | Delete
? undefined
[26002] Fix | Delete
: getClosestProjectingNode(this.parent));
[26003] Fix | Delete
this.projection.setOptions({
[26004] Fix | Delete
layoutId,
[26005] Fix | Delete
layout,
[26006] Fix | Delete
alwaysMeasureLayout: Boolean(drag) ||
[26007] Fix | Delete
(dragConstraints && isRefObject(dragConstraints)),
[26008] Fix | Delete
visualElement: this,
[26009] Fix | Delete
scheduleRender: () => this.scheduleRender(),
[26010] Fix | Delete
/**
[26011] Fix | Delete
* TODO: Update options in an effect. This could be tricky as it'll be too late
[26012] Fix | Delete
* to update by the time layout animations run.
[26013] Fix | Delete
* We also need to fix this safeToRemove by linking it up to the one returned by usePresence,
[26014] Fix | Delete
* ensuring it gets called if there's no potential layout animations.
[26015] Fix | Delete
*
[26016] Fix | Delete
*/
[26017] Fix | Delete
animationType: typeof layout === "string" ? layout : "both",
[26018] Fix | Delete
initialPromotionConfig: initialLayoutGroupConfig,
[26019] Fix | Delete
layoutScroll,
[26020] Fix | Delete
layoutRoot,
[26021] Fix | Delete
});
[26022] Fix | Delete
}
[26023] Fix | Delete
return MeasureLayout;
[26024] Fix | Delete
}
[26025] Fix | Delete
updateFeatures() {
[26026] Fix | Delete
for (const key in this.features) {
[26027] Fix | Delete
const feature = this.features[key];
[26028] Fix | Delete
if (feature.isMounted) {
[26029] Fix | Delete
feature.update();
[26030] Fix | Delete
}
[26031] Fix | Delete
else {
[26032] Fix | Delete
feature.mount();
[26033] Fix | Delete
feature.isMounted = true;
[26034] Fix | Delete
}
[26035] Fix | Delete
}
[26036] Fix | Delete
}
[26037] Fix | Delete
triggerBuild() {
[26038] Fix | Delete
this.build(this.renderState, this.latestValues, this.options, this.props);
[26039] Fix | Delete
}
[26040] Fix | Delete
/**
[26041] Fix | Delete
* Measure the current viewport box with or without transforms.
[26042] Fix | Delete
* Only measures axis-aligned boxes, rotate and skew must be manually
[26043] Fix | Delete
* removed with a re-render to work.
[26044] Fix | Delete
*/
[26045] Fix | Delete
measureViewportBox() {
[26046] Fix | Delete
return this.current
[26047] Fix | Delete
? this.measureInstanceViewportBox(this.current, this.props)
[26048] Fix | Delete
: createBox();
[26049] Fix | Delete
}
[26050] Fix | Delete
getStaticValue(key) {
[26051] Fix | Delete
return this.latestValues[key];
[26052] Fix | Delete
}
[26053] Fix | Delete
setStaticValue(key, value) {
[26054] Fix | Delete
this.latestValues[key] = value;
[26055] Fix | Delete
}
[26056] Fix | Delete
/**
[26057] Fix | Delete
* Update the provided props. Ensure any newly-added motion values are
[26058] Fix | Delete
* added to our map, old ones removed, and listeners updated.
[26059] Fix | Delete
*/
[26060] Fix | Delete
update(props, presenceContext) {
[26061] Fix | Delete
if (props.transformTemplate || this.props.transformTemplate) {
[26062] Fix | Delete
this.scheduleRender();
[26063] Fix | Delete
}
[26064] Fix | Delete
this.prevProps = this.props;
[26065] Fix | Delete
this.props = props;
[26066] Fix | Delete
this.prevPresenceContext = this.presenceContext;
[26067] Fix | Delete
this.presenceContext = presenceContext;
[26068] Fix | Delete
/**
[26069] Fix | Delete
* Update prop event handlers ie onAnimationStart, onAnimationComplete
[26070] Fix | Delete
*/
[26071] Fix | Delete
for (let i = 0; i < propEventHandlers.length; i++) {
[26072] Fix | Delete
const key = propEventHandlers[i];
[26073] Fix | Delete
if (this.propEventSubscriptions[key]) {
[26074] Fix | Delete
this.propEventSubscriptions[key]();
[26075] Fix | Delete
delete this.propEventSubscriptions[key];
[26076] Fix | Delete
}
[26077] Fix | Delete
const listenerName = ("on" + key);
[26078] Fix | Delete
const listener = props[listenerName];
[26079] Fix | Delete
if (listener) {
[26080] Fix | Delete
this.propEventSubscriptions[key] = this.on(key, listener);
[26081] Fix | Delete
}
[26082] Fix | Delete
}
[26083] Fix | Delete
this.prevMotionValues = updateMotionValuesFromProps(this, this.scrapeMotionValuesFromProps(props, this.prevProps, this), this.prevMotionValues);
[26084] Fix | Delete
if (this.handleChildMotionValue) {
[26085] Fix | Delete
this.handleChildMotionValue();
[26086] Fix | Delete
}
[26087] Fix | Delete
}
[26088] Fix | Delete
getProps() {
[26089] Fix | Delete
return this.props;
[26090] Fix | Delete
}
[26091] Fix | Delete
/**
[26092] Fix | Delete
* Returns the variant definition with a given name.
[26093] Fix | Delete
*/
[26094] Fix | Delete
getVariant(name) {
[26095] Fix | Delete
return this.props.variants ? this.props.variants[name] : undefined;
[26096] Fix | Delete
}
[26097] Fix | Delete
/**
[26098] Fix | Delete
* Returns the defined default transition on this component.
[26099] Fix | Delete
*/
[26100] Fix | Delete
getDefaultTransition() {
[26101] Fix | Delete
return this.props.transition;
[26102] Fix | Delete
}
[26103] Fix | Delete
getTransformPagePoint() {
[26104] Fix | Delete
return this.props.transformPagePoint;
[26105] Fix | Delete
}
[26106] Fix | Delete
getClosestVariantNode() {
[26107] Fix | Delete
return this.isVariantNode
[26108] Fix | Delete
? this
[26109] Fix | Delete
: this.parent
[26110] Fix | Delete
? this.parent.getClosestVariantNode()
[26111] Fix | Delete
: undefined;
[26112] Fix | Delete
}
[26113] Fix | Delete
getVariantContext(startAtParent = false) {
[26114] Fix | Delete
if (startAtParent) {
[26115] Fix | Delete
return this.parent ? this.parent.getVariantContext() : undefined;
[26116] Fix | Delete
}
[26117] Fix | Delete
if (!this.isControllingVariants) {
[26118] Fix | Delete
const context = this.parent
[26119] Fix | Delete
? this.parent.getVariantContext() || {}
[26120] Fix | Delete
: {};
[26121] Fix | Delete
if (this.props.initial !== undefined) {
[26122] Fix | Delete
context.initial = this.props.initial;
[26123] Fix | Delete
}
[26124] Fix | Delete
return context;
[26125] Fix | Delete
}
[26126] Fix | Delete
const context = {};
[26127] Fix | Delete
for (let i = 0; i < numVariantProps; i++) {
[26128] Fix | Delete
const name = variantProps[i];
[26129] Fix | Delete
const prop = this.props[name];
[26130] Fix | Delete
if (isVariantLabel(prop) || prop === false) {
[26131] Fix | Delete
context[name] = prop;
[26132] Fix | Delete
}
[26133] Fix | Delete
}
[26134] Fix | Delete
return context;
[26135] Fix | Delete
}
[26136] Fix | Delete
/**
[26137] Fix | Delete
* Add a child visual element to our set of children.
[26138] Fix | Delete
*/
[26139] Fix | Delete
addVariantChild(child) {
[26140] Fix | Delete
const closestVariantNode = this.getClosestVariantNode();
[26141] Fix | Delete
if (closestVariantNode) {
[26142] Fix | Delete
closestVariantNode.variantChildren &&
[26143] Fix | Delete
closestVariantNode.variantChildren.add(child);
[26144] Fix | Delete
return () => closestVariantNode.variantChildren.delete(child);
[26145] Fix | Delete
}
[26146] Fix | Delete
}
[26147] Fix | Delete
/**
[26148] Fix | Delete
* Add a motion value and bind it to this visual element.
[26149] Fix | Delete
*/
[26150] Fix | Delete
addValue(key, value) {
[26151] Fix | Delete
// Remove existing value if it exists
[26152] Fix | Delete
const existingValue = this.values.get(key);
[26153] Fix | Delete
if (value !== existingValue) {
[26154] Fix | Delete
if (existingValue)
[26155] Fix | Delete
this.removeValue(key);
[26156] Fix | Delete
this.bindToMotionValue(key, value);
[26157] Fix | Delete
this.values.set(key, value);
[26158] Fix | Delete
this.latestValues[key] = value.get();
[26159] Fix | Delete
}
[26160] Fix | Delete
}
[26161] Fix | Delete
/**
[26162] Fix | Delete
* Remove a motion value and unbind any active subscriptions.
[26163] Fix | Delete
*/
[26164] Fix | Delete
removeValue(key) {
[26165] Fix | Delete
this.values.delete(key);
[26166] Fix | Delete
const unsubscribe = this.valueSubscriptions.get(key);
[26167] Fix | Delete
if (unsubscribe) {
[26168] Fix | Delete
unsubscribe();
[26169] Fix | Delete
this.valueSubscriptions.delete(key);
[26170] Fix | Delete
}
[26171] Fix | Delete
delete this.latestValues[key];
[26172] Fix | Delete
this.removeValueFromRenderState(key, this.renderState);
[26173] Fix | Delete
}
[26174] Fix | Delete
/**
[26175] Fix | Delete
* Check whether we have a motion value for this key
[26176] Fix | Delete
*/
[26177] Fix | Delete
hasValue(key) {
[26178] Fix | Delete
return this.values.has(key);
[26179] Fix | Delete
}
[26180] Fix | Delete
getValue(key, defaultValue) {
[26181] Fix | Delete
if (this.props.values && this.props.values[key]) {
[26182] Fix | Delete
return this.props.values[key];
[26183] Fix | Delete
}
[26184] Fix | Delete
let value = this.values.get(key);
[26185] Fix | Delete
if (value === undefined && defaultValue !== undefined) {
[26186] Fix | Delete
value = motionValue(defaultValue === null ? undefined : defaultValue, { owner: this });
[26187] Fix | Delete
this.addValue(key, value);
[26188] Fix | Delete
}
[26189] Fix | Delete
return value;
[26190] Fix | Delete
}
[26191] Fix | Delete
/**
[26192] Fix | Delete
* If we're trying to animate to a previously unencountered value,
[26193] Fix | Delete
* we need to check for it in our state and as a last resort read it
[26194] Fix | Delete
* directly from the instance (which might have performance implications).
[26195] Fix | Delete
*/
[26196] Fix | Delete
readValue(key, target) {
[26197] Fix | Delete
var _a;
[26198] Fix | Delete
let value = this.latestValues[key] !== undefined || !this.current
[26199] Fix | Delete
? this.latestValues[key]
[26200] Fix | Delete
: (_a = this.getBaseTargetFromProps(this.props, key)) !== null && _a !== void 0 ? _a : this.readValueFromInstance(this.current, key, this.options);
[26201] Fix | Delete
if (value !== undefined && value !== null) {
[26202] Fix | Delete
if (typeof value === "string" &&
[26203] Fix | Delete
(isNumericalString(value) || isZeroValueString(value))) {
[26204] Fix | Delete
// If this is a number read as a string, ie "0" or "200", convert it to a number
[26205] Fix | Delete
value = parseFloat(value);
[26206] Fix | Delete
}
[26207] Fix | Delete
else if (!findValueType(value) && complex.test(target)) {
[26208] Fix | Delete
value = animatable_none_getAnimatableNone(key, target);
[26209] Fix | Delete
}
[26210] Fix | Delete
this.setBaseTarget(key, isMotionValue(value) ? value.get() : value);
[26211] Fix | Delete
}
[26212] Fix | Delete
return isMotionValue(value) ? value.get() : value;
[26213] Fix | Delete
}
[26214] Fix | Delete
/**
[26215] Fix | Delete
* Set the base target to later animate back to. This is currently
[26216] Fix | Delete
* only hydrated on creation and when we first read a value.
[26217] Fix | Delete
*/
[26218] Fix | Delete
setBaseTarget(key, value) {
[26219] Fix | Delete
this.baseTarget[key] = value;
[26220] Fix | Delete
}
[26221] Fix | Delete
/**
[26222] Fix | Delete
* Find the base target for a value thats been removed from all animation
[26223] Fix | Delete
* props.
[26224] Fix | Delete
*/
[26225] Fix | Delete
getBaseTarget(key) {
[26226] Fix | Delete
var _a;
[26227] Fix | Delete
const { initial } = this.props;
[26228] Fix | Delete
let valueFromInitial;
[26229] Fix | Delete
if (typeof initial === "string" || typeof initial === "object") {
[26230] Fix | Delete
const variant = resolveVariantFromProps(this.props, initial, (_a = this.presenceContext) === null || _a === void 0 ? void 0 : _a.custom);
[26231] Fix | Delete
if (variant) {
[26232] Fix | Delete
valueFromInitial = variant[key];
[26233] Fix | Delete
}
[26234] Fix | Delete
}
[26235] Fix | Delete
/**
[26236] Fix | Delete
* If this value still exists in the current initial variant, read that.
[26237] Fix | Delete
*/
[26238] Fix | Delete
if (initial && valueFromInitial !== undefined) {
[26239] Fix | Delete
return valueFromInitial;
[26240] Fix | Delete
}
[26241] Fix | Delete
/**
[26242] Fix | Delete
* Alternatively, if this VisualElement config has defined a getBaseTarget
[26243] Fix | Delete
* so we can read the value from an alternative source, try that.
[26244] Fix | Delete
*/
[26245] Fix | Delete
const target = this.getBaseTargetFromProps(this.props, key);
[26246] Fix | Delete
if (target !== undefined && !isMotionValue(target))
[26247] Fix | Delete
return target;
[26248] Fix | Delete
/**
[26249] Fix | Delete
* If the value was initially defined on initial, but it doesn't any more,
[26250] Fix | Delete
* return undefined. Otherwise return the value as initially read from the DOM.
[26251] Fix | Delete
*/
[26252] Fix | Delete
return this.initialValues[key] !== undefined &&
[26253] Fix | Delete
valueFromInitial === undefined
[26254] Fix | Delete
? undefined
[26255] Fix | Delete
: this.baseTarget[key];
[26256] Fix | Delete
}
[26257] Fix | Delete
on(eventName, callback) {
[26258] Fix | Delete
if (!this.events[eventName]) {
[26259] Fix | Delete
this.events[eventName] = new SubscriptionManager();
[26260] Fix | Delete
}
[26261] Fix | Delete
return this.events[eventName].add(callback);
[26262] Fix | Delete
}
[26263] Fix | Delete
notify(eventName, ...args) {
[26264] Fix | Delete
if (this.events[eventName]) {
[26265] Fix | Delete
this.events[eventName].notify(...args);
[26266] Fix | Delete
}
[26267] Fix | Delete
}
[26268] Fix | Delete
}
[26269] Fix | Delete
[26270] Fix | Delete
[26271] Fix | Delete
[26272] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/DOMVisualElement.mjs
[26273] Fix | Delete
[26274] Fix | Delete
[26275] Fix | Delete
[26276] Fix | Delete
class DOMVisualElement extends VisualElement {
[26277] Fix | Delete
constructor() {
[26278] Fix | Delete
super(...arguments);
[26279] Fix | Delete
this.KeyframeResolver = DOMKeyframesResolver;
[26280] Fix | Delete
}
[26281] Fix | Delete
sortInstanceNodePosition(a, b) {
[26282] Fix | Delete
/**
[26283] Fix | Delete
* compareDocumentPosition returns a bitmask, by using the bitwise &
[26284] Fix | Delete
* we're returning true if 2 in that bitmask is set to true. 2 is set
[26285] Fix | Delete
* to true if b preceeds a.
[26286] Fix | Delete
*/
[26287] Fix | Delete
return a.compareDocumentPosition(b) & 2 ? 1 : -1;
[26288] Fix | Delete
}
[26289] Fix | Delete
getBaseTargetFromProps(props, key) {
[26290] Fix | Delete
return props.style
[26291] Fix | Delete
? props.style[key]
[26292] Fix | Delete
: undefined;
[26293] Fix | Delete
}
[26294] Fix | Delete
removeValueFromRenderState(key, { vars, style }) {
[26295] Fix | Delete
delete vars[key];
[26296] Fix | Delete
delete style[key];
[26297] Fix | Delete
}
[26298] Fix | Delete
}
[26299] Fix | Delete
[26300] Fix | Delete
[26301] Fix | Delete
[26302] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/html/HTMLVisualElement.mjs
[26303] Fix | Delete
[26304] Fix | Delete
[26305] Fix | Delete
[26306] Fix | Delete
[26307] Fix | Delete
[26308] Fix | Delete
[26309] Fix | Delete
[26310] Fix | Delete
[26311] Fix | Delete
[26312] Fix | Delete
[26313] Fix | Delete
function HTMLVisualElement_getComputedStyle(element) {
[26314] Fix | Delete
return window.getComputedStyle(element);
[26315] Fix | Delete
}
[26316] Fix | Delete
class HTMLVisualElement extends DOMVisualElement {
[26317] Fix | Delete
constructor() {
[26318] Fix | Delete
super(...arguments);
[26319] Fix | Delete
this.type = "html";
[26320] Fix | Delete
}
[26321] Fix | Delete
readValueFromInstance(instance, key) {
[26322] Fix | Delete
if (transformProps.has(key)) {
[26323] Fix | Delete
const defaultType = getDefaultValueType(key);
[26324] Fix | Delete
return defaultType ? defaultType.default || 0 : 0;
[26325] Fix | Delete
}
[26326] Fix | Delete
else {
[26327] Fix | Delete
const computedStyle = HTMLVisualElement_getComputedStyle(instance);
[26328] Fix | Delete
const value = (isCSSVariableName(key)
[26329] Fix | Delete
? computedStyle.getPropertyValue(key)
[26330] Fix | Delete
: computedStyle[key]) || 0;
[26331] Fix | Delete
return typeof value === "string" ? value.trim() : value;
[26332] Fix | Delete
}
[26333] Fix | Delete
}
[26334] Fix | Delete
measureInstanceViewportBox(instance, { transformPagePoint }) {
[26335] Fix | Delete
return measureViewportBox(instance, transformPagePoint);
[26336] Fix | Delete
}
[26337] Fix | Delete
build(renderState, latestValues, options, props) {
[26338] Fix | Delete
buildHTMLStyles(renderState, latestValues, options, props.transformTemplate);
[26339] Fix | Delete
}
[26340] Fix | Delete
scrapeMotionValuesFromProps(props, prevProps, visualElement) {
[26341] Fix | Delete
return scrapeMotionValuesFromProps(props, prevProps, visualElement);
[26342] Fix | Delete
}
[26343] Fix | Delete
handleChildMotionValue() {
[26344] Fix | Delete
if (this.childSubscription) {
[26345] Fix | Delete
this.childSubscription();
[26346] Fix | Delete
delete this.childSubscription;
[26347] Fix | Delete
}
[26348] Fix | Delete
const { children } = this.props;
[26349] Fix | Delete
if (isMotionValue(children)) {
[26350] Fix | Delete
this.childSubscription = children.on("change", (latest) => {
[26351] Fix | Delete
if (this.current)
[26352] Fix | Delete
this.current.textContent = `${latest}`;
[26353] Fix | Delete
});
[26354] Fix | Delete
}
[26355] Fix | Delete
}
[26356] Fix | Delete
renderInstance(instance, renderState, styleProp, projection) {
[26357] Fix | Delete
renderHTML(instance, renderState, styleProp, projection);
[26358] Fix | Delete
}
[26359] Fix | Delete
}
[26360] Fix | Delete
[26361] Fix | Delete
[26362] Fix | Delete
[26363] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/svg/SVGVisualElement.mjs
[26364] Fix | Delete
[26365] Fix | Delete
[26366] Fix | Delete
[26367] Fix | Delete
[26368] Fix | Delete
[26369] Fix | Delete
[26370] Fix | Delete
[26371] Fix | Delete
[26372] Fix | Delete
[26373] Fix | Delete
[26374] Fix | Delete
[26375] Fix | Delete
class SVGVisualElement extends DOMVisualElement {
[26376] Fix | Delete
constructor() {
[26377] Fix | Delete
super(...arguments);
[26378] Fix | Delete
this.type = "svg";
[26379] Fix | Delete
this.isSVGTag = false;
[26380] Fix | Delete
}
[26381] Fix | Delete
getBaseTargetFromProps(props, key) {
[26382] Fix | Delete
return props[key];
[26383] Fix | Delete
}
[26384] Fix | Delete
readValueFromInstance(instance, key) {
[26385] Fix | Delete
if (transformProps.has(key)) {
[26386] Fix | Delete
const defaultType = getDefaultValueType(key);
[26387] Fix | Delete
return defaultType ? defaultType.default || 0 : 0;
[26388] Fix | Delete
}
[26389] Fix | Delete
key = !camelCaseAttributes.has(key) ? camelToDash(key) : key;
[26390] Fix | Delete
return instance.getAttribute(key);
[26391] Fix | Delete
}
[26392] Fix | Delete
measureInstanceViewportBox() {
[26393] Fix | Delete
return createBox();
[26394] Fix | Delete
}
[26395] Fix | Delete
scrapeMotionValuesFromProps(props, prevProps, visualElement) {
[26396] Fix | Delete
return scrape_motion_values_scrapeMotionValuesFromProps(props, prevProps, visualElement);
[26397] Fix | Delete
}
[26398] Fix | Delete
build(renderState, latestValues, options, props) {
[26399] Fix | Delete
buildSVGAttrs(renderState, latestValues, options, this.isSVGTag, props.transformTemplate);
[26400] Fix | Delete
}
[26401] Fix | Delete
renderInstance(instance, renderState, styleProp, projection) {
[26402] Fix | Delete
renderSVG(instance, renderState, styleProp, projection);
[26403] Fix | Delete
}
[26404] Fix | Delete
mount(instance) {
[26405] Fix | Delete
this.isSVGTag = isSVGTag(instance.tagName);
[26406] Fix | Delete
super.mount(instance);
[26407] Fix | Delete
}
[26408] Fix | Delete
}
[26409] Fix | Delete
[26410] Fix | Delete
[26411] Fix | Delete
[26412] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs
[26413] Fix | Delete
[26414] Fix | Delete
[26415] Fix | Delete
[26416] Fix | Delete
[26417] Fix | Delete
[26418] Fix | Delete
const create_visual_element_createDomVisualElement = (Component, options) => {
[26419] Fix | Delete
return isSVGComponent(Component)
[26420] Fix | Delete
? new SVGVisualElement(options, { enableHardwareAcceleration: false })
[26421] Fix | Delete
: new HTMLVisualElement(options, {
[26422] Fix | Delete
allowProjection: Component !== external_React_.Fragment,
[26423] Fix | Delete
enableHardwareAcceleration: true,
[26424] Fix | Delete
});
[26425] Fix | Delete
};
[26426] Fix | Delete
[26427] Fix | Delete
[26428] Fix | Delete
[26429] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/motion/features/layout.mjs
[26430] Fix | Delete
[26431] Fix | Delete
[26432] Fix | Delete
[26433] Fix | Delete
const layout = {
[26434] Fix | Delete
layout: {
[26435] Fix | Delete
ProjectionNode: HTMLProjectionNode,
[26436] Fix | Delete
MeasureLayout: MeasureLayout,
[26437] Fix | Delete
},
[26438] Fix | Delete
};
[26439] Fix | Delete
[26440] Fix | Delete
[26441] Fix | Delete
[26442] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/render/dom/motion.mjs
[26443] Fix | Delete
[26444] Fix | Delete
[26445] Fix | Delete
[26446] Fix | Delete
[26447] Fix | Delete
[26448] Fix | Delete
[26449] Fix | Delete
[26450] Fix | Delete
[26451] Fix | Delete
[26452] Fix | Delete
const preloadedFeatures = {
[26453] Fix | Delete
...animations,
[26454] Fix | Delete
...gestureAnimations,
[26455] Fix | Delete
...drag,
[26456] Fix | Delete
...layout,
[26457] Fix | Delete
};
[26458] Fix | Delete
/**
[26459] Fix | Delete
* HTML & SVG components, optimised for use with gestures and animation. These can be used as
[26460] Fix | Delete
* drop-in replacements for any HTML & SVG component, all CSS & SVG properties are supported.
[26461] Fix | Delete
*
[26462] Fix | Delete
* @public
[26463] Fix | Delete
*/
[26464] Fix | Delete
const motion = /*@__PURE__*/ createMotionProxy((Component, config) => create_config_createDomMotionConfig(Component, config, preloadedFeatures, create_visual_element_createDomVisualElement));
[26465] Fix | Delete
/**
[26466] Fix | Delete
* Create a DOM `motion` component with the provided string. This is primarily intended
[26467] Fix | Delete
* as a full alternative to `motion` for consumers who have to support environments that don't
[26468] Fix | Delete
* support `Proxy`.
[26469] Fix | Delete
*
[26470] Fix | Delete
* ```javascript
[26471] Fix | Delete
* import { createDomMotionComponent } from "framer-motion"
[26472] Fix | Delete
*
[26473] Fix | Delete
* const motion = {
[26474] Fix | Delete
* div: createDomMotionComponent('div')
[26475] Fix | Delete
* }
[26476] Fix | Delete
* ```
[26477] Fix | Delete
*
[26478] Fix | Delete
* @public
[26479] Fix | Delete
*/
[26480] Fix | Delete
function createDomMotionComponent(key) {
[26481] Fix | Delete
return createMotionComponent(createDomMotionConfig(key, { forwardMotionProps: false }, preloadedFeatures, createDomVisualElement));
[26482] Fix | Delete
}
[26483] Fix | Delete
[26484] Fix | Delete
[26485] Fix | Delete
[26486] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/framer-motion/dist/es/utils/use-is-mounted.mjs
[26487] Fix | Delete
[26488] Fix | Delete
[26489] Fix | Delete
[26490] Fix | Delete
function useIsMounted() {
[26491] Fix | Delete
const isMounted = (0,external_React_.useRef)(false);
[26492] Fix | Delete
useIsomorphicLayoutEffect(() => {
[26493] Fix | Delete
isMounted.current = true;
[26494] Fix | Delete
return () => {
[26495] Fix | Delete
isMounted.current = false;
[26496] Fix | Delete
};
[26497] Fix | Delete
}, []);
[26498] Fix | Delete
return isMounted;
[26499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function