unframer 2.6.0 → 2.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/framer.d.ts.map +1 -1
- package/dist/framer.js +255 -183
- package/dist/framer.js.map +1 -1
- package/esm/framer.d.ts.map +1 -1
- package/esm/framer.js +255 -183
- package/esm/framer.js.map +1 -1
- package/package.json +1 -1
- package/src/framer.js +256 -182
package/dist/framer.js
CHANGED
|
@@ -202,7 +202,7 @@ exports.SwitchLayoutGroupContext = SwitchLayoutGroupContext;
|
|
|
202
202
|
var LazyContext = (0, react_1.createContext)({
|
|
203
203
|
strict: false,
|
|
204
204
|
});
|
|
205
|
-
var Queue =
|
|
205
|
+
var Queue = class {
|
|
206
206
|
constructor() {
|
|
207
207
|
this.order = [];
|
|
208
208
|
this.scheduled = /* @__PURE__ */ new Set();
|
|
@@ -1580,7 +1580,7 @@ function flushKeyframeResolvers() {
|
|
|
1580
1580
|
readAllKeyframes();
|
|
1581
1581
|
measureAllKeyframes();
|
|
1582
1582
|
}
|
|
1583
|
-
var KeyframeResolver =
|
|
1583
|
+
var KeyframeResolver = class {
|
|
1584
1584
|
constructor(unresolvedKeyframes, onComplete, name, motionValue2, element, isAsync = false) {
|
|
1585
1585
|
this.isComplete = false;
|
|
1586
1586
|
this.isAsync = false;
|
|
@@ -1835,7 +1835,7 @@ function getFinalKeyframe(keyframes2, { repeat, repeatType = 'loop', }, finalKey
|
|
|
1835
1835
|
const index = repeat && repeatType !== 'loop' && repeat % 2 === 1 ? 0 : resolvedKeyframes.length - 1;
|
|
1836
1836
|
return !index || finalKeyframe === void 0 ? resolvedKeyframes[index] : finalKeyframe;
|
|
1837
1837
|
}
|
|
1838
|
-
var BaseAnimation =
|
|
1838
|
+
var BaseAnimation = class {
|
|
1839
1839
|
constructor(_j) {
|
|
1840
1840
|
var { autoplay = true, delay: delay2 = 0, type = 'keyframes', repeat = 0, repeatDelay = 0, repeatType = 'loop' } = _j, options = __rest(_j, ["autoplay", "delay", "type", "repeat", "repeatDelay", "repeatType"]);
|
|
1841
1841
|
this.isStopped = false;
|
|
@@ -1944,7 +1944,7 @@ var generators = {
|
|
|
1944
1944
|
spring,
|
|
1945
1945
|
};
|
|
1946
1946
|
var percentToProgress = (percent2) => percent2 / 100;
|
|
1947
|
-
var MainThreadAnimation =
|
|
1947
|
+
var MainThreadAnimation = class extends BaseAnimation {
|
|
1948
1948
|
constructor(_j) {
|
|
1949
1949
|
var { KeyframeResolver: KeyframeResolver$1 = KeyframeResolver } = _j, options = __rest(_j, ["KeyframeResolver"]);
|
|
1950
1950
|
super(options);
|
|
@@ -2368,7 +2368,7 @@ function makeNoneKeyframesAnimatable(unresolvedKeyframes, noneKeyframeIndexes, n
|
|
|
2368
2368
|
}
|
|
2369
2369
|
}
|
|
2370
2370
|
}
|
|
2371
|
-
var DOMKeyframesResolver =
|
|
2371
|
+
var DOMKeyframesResolver = class extends KeyframeResolver {
|
|
2372
2372
|
constructor(unresolvedKeyframes, onComplete, name, motionValue2) {
|
|
2373
2373
|
super(unresolvedKeyframes, onComplete, name, motionValue2, motionValue2 === null || motionValue2 === void 0 ? void 0 : motionValue2.owner, true);
|
|
2374
2374
|
}
|
|
@@ -2550,7 +2550,7 @@ function pregenerateKeyframes(keyframes2, options) {
|
|
|
2550
2550
|
ease: 'linear',
|
|
2551
2551
|
};
|
|
2552
2552
|
}
|
|
2553
|
-
var AcceleratedAnimation =
|
|
2553
|
+
var AcceleratedAnimation = class extends BaseAnimation {
|
|
2554
2554
|
constructor(options) {
|
|
2555
2555
|
super(options);
|
|
2556
2556
|
const { name, motionValue: motionValue2, keyframes: keyframes2, } = this.options;
|
|
@@ -2742,7 +2742,7 @@ function moveItem([...arr], fromIndex, toIndex) {
|
|
|
2742
2742
|
}
|
|
2743
2743
|
return arr;
|
|
2744
2744
|
}
|
|
2745
|
-
var SubscriptionManager =
|
|
2745
|
+
var SubscriptionManager = class {
|
|
2746
2746
|
constructor() {
|
|
2747
2747
|
this.subscriptions = [];
|
|
2748
2748
|
}
|
|
@@ -2778,7 +2778,7 @@ var isFloat = (value) => {
|
|
|
2778
2778
|
var collectMotionValues = {
|
|
2779
2779
|
current: void 0,
|
|
2780
2780
|
};
|
|
2781
|
-
var MotionValue =
|
|
2781
|
+
var MotionValue = class {
|
|
2782
2782
|
/**
|
|
2783
2783
|
* @param init - The initiating value
|
|
2784
2784
|
* @param config - Optional configuration options
|
|
@@ -3102,7 +3102,7 @@ function observeTimeline(update, timeline) {
|
|
|
3102
3102
|
return () => cancelFrame(onFrame);
|
|
3103
3103
|
}
|
|
3104
3104
|
var supportsScrollTimeline = memo(() => window.ScrollTimeline !== void 0);
|
|
3105
|
-
var GroupPlaybackControls =
|
|
3105
|
+
var GroupPlaybackControls = class {
|
|
3106
3106
|
constructor(animations2) {
|
|
3107
3107
|
this.stop = () => this.runAll('stop');
|
|
3108
3108
|
this.animations = animations2.filter(Boolean);
|
|
@@ -3565,14 +3565,14 @@ function createState() {
|
|
|
3565
3565
|
exit: createTypeState(),
|
|
3566
3566
|
};
|
|
3567
3567
|
}
|
|
3568
|
-
var Feature =
|
|
3568
|
+
var Feature = class {
|
|
3569
3569
|
constructor(node) {
|
|
3570
3570
|
this.isMounted = false;
|
|
3571
3571
|
this.node = node;
|
|
3572
3572
|
}
|
|
3573
3573
|
update() { }
|
|
3574
3574
|
};
|
|
3575
|
-
var AnimationFeature =
|
|
3575
|
+
var AnimationFeature = class extends Feature {
|
|
3576
3576
|
/**
|
|
3577
3577
|
* We dynamically generate the AnimationState manager as it contains a reference
|
|
3578
3578
|
* to the underlying animation library. We only want to load that if we load this,
|
|
@@ -3605,7 +3605,7 @@ var AnimationFeature = /*#__PURE__*/ class extends Feature {
|
|
|
3605
3605
|
unmount() { }
|
|
3606
3606
|
};
|
|
3607
3607
|
var id = 0;
|
|
3608
|
-
var ExitAnimationFeature =
|
|
3608
|
+
var ExitAnimationFeature = class extends Feature {
|
|
3609
3609
|
constructor() {
|
|
3610
3610
|
super(...arguments);
|
|
3611
3611
|
this.id = id++;
|
|
@@ -3723,7 +3723,7 @@ function isPresent(context) {
|
|
|
3723
3723
|
return context === null ? true : context.isPresent;
|
|
3724
3724
|
}
|
|
3725
3725
|
var compareByDepth = (a, b) => a.depth - b.depth;
|
|
3726
|
-
var FlatTree =
|
|
3726
|
+
var FlatTree = class {
|
|
3727
3727
|
constructor() {
|
|
3728
3728
|
this.children = [];
|
|
3729
3729
|
this.isDirty = false;
|
|
@@ -3843,7 +3843,7 @@ function getClosestProjectingNode(visualElement) {
|
|
|
3843
3843
|
return void 0;
|
|
3844
3844
|
return visualElement.options.allowProjection !== false ? visualElement.projection : getClosestProjectingNode(visualElement.parent);
|
|
3845
3845
|
}
|
|
3846
|
-
var VisualElement =
|
|
3846
|
+
var VisualElement = class {
|
|
3847
3847
|
/**
|
|
3848
3848
|
* This method takes React props and returns found MotionValues. For example, HTML
|
|
3849
3849
|
* MotionValues will be found within the style prop, whereas for Three.js within attribute arrays.
|
|
@@ -4608,13 +4608,13 @@ function addHoverEvent(node, isActive) {
|
|
|
4608
4608
|
passive: !node.getProps()[callbackName],
|
|
4609
4609
|
});
|
|
4610
4610
|
}
|
|
4611
|
-
var HoverGesture =
|
|
4611
|
+
var HoverGesture = class extends Feature {
|
|
4612
4612
|
mount() {
|
|
4613
4613
|
this.unmount = pipe(addHoverEvent(this.node, true), addHoverEvent(this.node, false));
|
|
4614
4614
|
}
|
|
4615
4615
|
unmount() { }
|
|
4616
4616
|
};
|
|
4617
|
-
var FocusGesture =
|
|
4617
|
+
var FocusGesture = class extends Feature {
|
|
4618
4618
|
constructor() {
|
|
4619
4619
|
super(...arguments);
|
|
4620
4620
|
this.isActive = false;
|
|
@@ -4660,7 +4660,7 @@ function fireSyntheticPointerEvent(name, handler) {
|
|
|
4660
4660
|
const syntheticPointerEvent = new PointerEvent('pointer' + name);
|
|
4661
4661
|
handler(syntheticPointerEvent, extractEventInfo(syntheticPointerEvent));
|
|
4662
4662
|
}
|
|
4663
|
-
var PressGesture =
|
|
4663
|
+
var PressGesture = class extends Feature {
|
|
4664
4664
|
constructor() {
|
|
4665
4665
|
super(...arguments);
|
|
4666
4666
|
this.removeStartListeners = noop;
|
|
@@ -4795,7 +4795,7 @@ var thresholdNames = {
|
|
|
4795
4795
|
some: 0,
|
|
4796
4796
|
all: 1,
|
|
4797
4797
|
};
|
|
4798
|
-
var InViewFeature =
|
|
4798
|
+
var InViewFeature = class extends Feature {
|
|
4799
4799
|
constructor() {
|
|
4800
4800
|
super(...arguments);
|
|
4801
4801
|
this.hasEnteredView = false;
|
|
@@ -4861,7 +4861,7 @@ var gestureAnimations = {
|
|
|
4861
4861
|
Feature: HoverGesture,
|
|
4862
4862
|
},
|
|
4863
4863
|
};
|
|
4864
|
-
var PanSession =
|
|
4864
|
+
var PanSession = class {
|
|
4865
4865
|
constructor(event, handlers, { transformPagePoint, contextWindow, dragSnapToOrigin = false, } = {}) {
|
|
4866
4866
|
this.startEvent = null;
|
|
4867
4867
|
this.lastMoveEvent = null;
|
|
@@ -5225,7 +5225,7 @@ var getContextWindow = ({ current, }) => {
|
|
|
5225
5225
|
return current ? current.ownerDocument.defaultView : null;
|
|
5226
5226
|
};
|
|
5227
5227
|
var elementDragControls = /* @__PURE__ */ new WeakMap();
|
|
5228
|
-
var VisualElementDragControls =
|
|
5228
|
+
var VisualElementDragControls = class {
|
|
5229
5229
|
constructor(visualElement) {
|
|
5230
5230
|
this.openGlobalLock = null;
|
|
5231
5231
|
this.isDragging = false;
|
|
@@ -5582,7 +5582,7 @@ function getCurrentDirection(offset, lockThreshold = 10) {
|
|
|
5582
5582
|
}
|
|
5583
5583
|
return direction;
|
|
5584
5584
|
}
|
|
5585
|
-
var DragGesture =
|
|
5585
|
+
var DragGesture = class extends Feature {
|
|
5586
5586
|
constructor(node) {
|
|
5587
5587
|
super(node);
|
|
5588
5588
|
this.removeGroupControls = noop;
|
|
@@ -5606,7 +5606,7 @@ var asyncHandler = (handler) => (event, info) => {
|
|
|
5606
5606
|
frame.postRender(() => handler(event, info));
|
|
5607
5607
|
}
|
|
5608
5608
|
};
|
|
5609
|
-
var PanGesture =
|
|
5609
|
+
var PanGesture = class extends Feature {
|
|
5610
5610
|
constructor() {
|
|
5611
5611
|
super(...arguments);
|
|
5612
5612
|
this.removePointerDownListener = noop;
|
|
@@ -5696,7 +5696,7 @@ var correctBoxShadow = {
|
|
|
5696
5696
|
return template(shadow);
|
|
5697
5697
|
},
|
|
5698
5698
|
};
|
|
5699
|
-
var MeasureLayoutWithContext =
|
|
5699
|
+
var MeasureLayoutWithContext = class extends react_9.Component {
|
|
5700
5700
|
/**
|
|
5701
5701
|
* This only mounts projection nodes for components that
|
|
5702
5702
|
* need measuring, we might want to do it for all components
|
|
@@ -5896,7 +5896,7 @@ function boxEqualsRounded(a, b) {
|
|
|
5896
5896
|
function aspectRatio(box) {
|
|
5897
5897
|
return calcLength(box.x) / calcLength(box.y);
|
|
5898
5898
|
}
|
|
5899
|
-
var NodeStack =
|
|
5899
|
+
var NodeStack = class {
|
|
5900
5900
|
constructor() {
|
|
5901
5901
|
this.members = [];
|
|
5902
5902
|
}
|
|
@@ -7130,7 +7130,7 @@ var drag = {
|
|
|
7130
7130
|
MeasureLayout,
|
|
7131
7131
|
},
|
|
7132
7132
|
};
|
|
7133
|
-
var DOMVisualElement =
|
|
7133
|
+
var DOMVisualElement = class extends VisualElement {
|
|
7134
7134
|
constructor() {
|
|
7135
7135
|
super(...arguments);
|
|
7136
7136
|
this.KeyframeResolver = DOMKeyframesResolver;
|
|
@@ -7149,7 +7149,7 @@ var DOMVisualElement = /*#__PURE__*/ class extends VisualElement {
|
|
|
7149
7149
|
function getComputedStyle2(element) {
|
|
7150
7150
|
return window.getComputedStyle(element);
|
|
7151
7151
|
}
|
|
7152
|
-
var HTMLVisualElement =
|
|
7152
|
+
var HTMLVisualElement = class extends DOMVisualElement {
|
|
7153
7153
|
constructor() {
|
|
7154
7154
|
super(...arguments);
|
|
7155
7155
|
this.type = 'html';
|
|
@@ -7191,7 +7191,7 @@ var HTMLVisualElement = /*#__PURE__*/ class extends DOMVisualElement {
|
|
|
7191
7191
|
renderHTML(instance, renderState, styleProp, projection);
|
|
7192
7192
|
}
|
|
7193
7193
|
};
|
|
7194
|
-
var SVGVisualElement =
|
|
7194
|
+
var SVGVisualElement = class extends DOMVisualElement {
|
|
7195
7195
|
constructor() {
|
|
7196
7196
|
super(...arguments);
|
|
7197
7197
|
this.type = 'svg';
|
|
@@ -7276,7 +7276,7 @@ function useUnmountEffect(callback) {
|
|
|
7276
7276
|
return (0, react_2.useEffect)(() => () => callback(), []);
|
|
7277
7277
|
}
|
|
7278
7278
|
exports.useUnmountEffect = useUnmountEffect;
|
|
7279
|
-
var PopChildMeasure =
|
|
7279
|
+
var PopChildMeasure = class extends React2.Component {
|
|
7280
7280
|
getSnapshotBeforeUpdate(prevProps) {
|
|
7281
7281
|
const element = this.props.childRef.current;
|
|
7282
7282
|
if (element && prevProps.isPresent && !this.props.isPresent) {
|
|
@@ -8289,7 +8289,7 @@ function useTime() {
|
|
|
8289
8289
|
return time2;
|
|
8290
8290
|
}
|
|
8291
8291
|
exports.useTime = useTime;
|
|
8292
|
-
var WillChangeMotionValue =
|
|
8292
|
+
var WillChangeMotionValue = class extends MotionValue {
|
|
8293
8293
|
constructor() {
|
|
8294
8294
|
super(...arguments);
|
|
8295
8295
|
this.members = [];
|
|
@@ -8786,7 +8786,7 @@ function useInView(ref, { root, margin, amount, once = false, } = {}) {
|
|
|
8786
8786
|
return isInView;
|
|
8787
8787
|
}
|
|
8788
8788
|
exports.useInView = useInView;
|
|
8789
|
-
var DragControls =
|
|
8789
|
+
var DragControls = class {
|
|
8790
8790
|
constructor() {
|
|
8791
8791
|
this.componentControls = /* @__PURE__ */ new Set();
|
|
8792
8792
|
}
|
|
@@ -8988,7 +8988,7 @@ function startOptimizedAppearAnimation(element, name, keyframes2, options, onRea
|
|
|
8988
8988
|
}
|
|
8989
8989
|
exports.startOptimizedAppearAnimation = startOptimizedAppearAnimation;
|
|
8990
8990
|
var createObject = () => ({});
|
|
8991
|
-
var StateVisualElement =
|
|
8991
|
+
var StateVisualElement = class extends VisualElement {
|
|
8992
8992
|
build() { }
|
|
8993
8993
|
measureInstanceViewportBox() {
|
|
8994
8994
|
return createBox();
|
|
@@ -9145,7 +9145,7 @@ var cancelSync = stepsOrder.reduce((acc, key7) => {
|
|
|
9145
9145
|
return acc;
|
|
9146
9146
|
}, {});
|
|
9147
9147
|
exports.cancelSync = cancelSync;
|
|
9148
|
-
// https :https://app.framerstatic.com/framer.
|
|
9148
|
+
// https :https://app.framerstatic.com/framer.K4XHQ4DX.js
|
|
9149
9149
|
const react_12 = __importDefault(require("react"));
|
|
9150
9150
|
const react_13 = require("react");
|
|
9151
9151
|
const react_14 = require("react");
|
|
@@ -9158,7 +9158,7 @@ var require_hsluv = __commonJS({
|
|
|
9158
9158
|
value: true,
|
|
9159
9159
|
});
|
|
9160
9160
|
exports.Hsluv = void 0;
|
|
9161
|
-
var Hsluv2 =
|
|
9161
|
+
var Hsluv2 = class {
|
|
9162
9162
|
constructor() {
|
|
9163
9163
|
this.hex = '#000000';
|
|
9164
9164
|
this.rgb_r = 0;
|
|
@@ -10842,12 +10842,12 @@ function renderPage(Page4, defaultPageStyle) {
|
|
|
10842
10842
|
};
|
|
10843
10843
|
return react_12.default.isValidElement(Page4) ? react_12.default.cloneElement(Page4, style) : react_12.default.createElement(Page4, style);
|
|
10844
10844
|
}
|
|
10845
|
-
var NotFoundError =
|
|
10845
|
+
var NotFoundError = class extends Error {
|
|
10846
10846
|
};
|
|
10847
10847
|
exports.NotFoundError = NotFoundError;
|
|
10848
|
-
var ErrorBoundaryCaughtError =
|
|
10848
|
+
var ErrorBoundaryCaughtError = class extends Error {
|
|
10849
10849
|
};
|
|
10850
|
-
var ErrorBoundary =
|
|
10850
|
+
var ErrorBoundary = class extends react_9.Component {
|
|
10851
10851
|
constructor(props) {
|
|
10852
10852
|
super(props);
|
|
10853
10853
|
this.state = {
|
|
@@ -11920,7 +11920,7 @@ function RoutesProvider({ routes, children, }) {
|
|
|
11920
11920
|
children,
|
|
11921
11921
|
});
|
|
11922
11922
|
}
|
|
11923
|
-
var SuspenseErrorBoundary =
|
|
11923
|
+
var SuspenseErrorBoundary = class extends react_9.Component {
|
|
11924
11924
|
constructor() {
|
|
11925
11925
|
super(...arguments);
|
|
11926
11926
|
this.state = {
|
|
@@ -12498,7 +12498,7 @@ function deprecationWarning(removedItem, removalVersion, replacement) {
|
|
|
12498
12498
|
const warningText = `Deprecation warning: ${removedItem} will be removed in version ${removalVersion}${replacementText}.`;
|
|
12499
12499
|
warnOnce2(warningText);
|
|
12500
12500
|
}
|
|
12501
|
-
var Observers =
|
|
12501
|
+
var Observers = class {
|
|
12502
12502
|
constructor() {
|
|
12503
12503
|
__publicField(this, 'observers', /* @__PURE__ */ new Set());
|
|
12504
12504
|
__publicField(this, 'transactions', {});
|
|
@@ -12623,7 +12623,7 @@ function animatableInterpolation(value, currentInterpolation) {
|
|
|
12623
12623
|
},
|
|
12624
12624
|
};
|
|
12625
12625
|
}
|
|
12626
|
-
var AnimatableValue =
|
|
12626
|
+
var AnimatableValue = class {
|
|
12627
12627
|
constructor(value) {
|
|
12628
12628
|
this.value = value;
|
|
12629
12629
|
__publicField(this, 'observers', new Observers());
|
|
@@ -12819,7 +12819,7 @@ function controlPointsForCurve(curve) {
|
|
|
12819
12819
|
return [0.42, 0, 0.58, 1,];
|
|
12820
12820
|
}
|
|
12821
12821
|
}
|
|
12822
|
-
var BezierAnimator =
|
|
12822
|
+
var BezierAnimator = class {
|
|
12823
12823
|
constructor(options, interpolation) {
|
|
12824
12824
|
this.interpolation = interpolation;
|
|
12825
12825
|
__publicField(this, 'unitBezier');
|
|
@@ -12871,7 +12871,7 @@ var BezierAnimator = /*#__PURE__*/ class {
|
|
|
12871
12871
|
}
|
|
12872
12872
|
};
|
|
12873
12873
|
exports.BezierAnimator = BezierAnimator;
|
|
12874
|
-
var UnitBezier =
|
|
12874
|
+
var UnitBezier = class {
|
|
12875
12875
|
constructor(point1, point2) {
|
|
12876
12876
|
__publicField(this, 'a');
|
|
12877
12877
|
__publicField(this, 'b');
|
|
@@ -12924,7 +12924,7 @@ var UnitBezier = /*#__PURE__*/ class {
|
|
|
12924
12924
|
return t2;
|
|
12925
12925
|
}
|
|
12926
12926
|
};
|
|
12927
|
-
var Integrator =
|
|
12927
|
+
var Integrator = class {
|
|
12928
12928
|
constructor(accelerationFunction) {
|
|
12929
12929
|
__publicField(this, 'accelerationForState');
|
|
12930
12930
|
this.accelerationForState = accelerationFunction;
|
|
@@ -12959,7 +12959,7 @@ var Integrator = /*#__PURE__*/ class {
|
|
|
12959
12959
|
return output;
|
|
12960
12960
|
}
|
|
12961
12961
|
};
|
|
12962
|
-
var FrictionAnimator =
|
|
12962
|
+
var FrictionAnimator = class {
|
|
12963
12963
|
constructor(options) {
|
|
12964
12964
|
__publicField(this, 'options');
|
|
12965
12965
|
__publicField(this, 'state');
|
|
@@ -13139,7 +13139,7 @@ function isDampingDurationSpringOptions(options) {
|
|
|
13139
13139
|
}
|
|
13140
13140
|
return typeof options.dampingRatio === 'number' || typeof options.duration === 'number' || typeof options.mass === 'number';
|
|
13141
13141
|
}
|
|
13142
|
-
var SpringAnimator =
|
|
13142
|
+
var SpringAnimator = class {
|
|
13143
13143
|
constructor(options, interpolation) {
|
|
13144
13144
|
this.interpolation = interpolation;
|
|
13145
13145
|
__publicField(this, 'options');
|
|
@@ -13222,7 +13222,7 @@ var Defaults = {
|
|
|
13222
13222
|
tolerance: 1,
|
|
13223
13223
|
},
|
|
13224
13224
|
};
|
|
13225
|
-
var InertialScrollAnimator =
|
|
13225
|
+
var InertialScrollAnimator = class {
|
|
13226
13226
|
constructor(options) {
|
|
13227
13227
|
__publicField(this, 'options');
|
|
13228
13228
|
__publicField(this, 'current');
|
|
@@ -14421,7 +14421,7 @@ var DefaultInterpolationOptions = {
|
|
|
14421
14421
|
colorModel: 'husl',
|
|
14422
14422
|
/* HUSL */
|
|
14423
14423
|
};
|
|
14424
|
-
var ValueInterpolation =
|
|
14424
|
+
var ValueInterpolation = class {
|
|
14425
14425
|
/**
|
|
14426
14426
|
* @internal
|
|
14427
14427
|
*/
|
|
@@ -14477,7 +14477,7 @@ var Defaults2 = /* @__PURE__ */ (() => ({
|
|
|
14477
14477
|
delta: 1 / 60,
|
|
14478
14478
|
maxValues: 1e4,
|
|
14479
14479
|
}))();
|
|
14480
|
-
var PrecalculatedAnimator =
|
|
14480
|
+
var PrecalculatedAnimator = class {
|
|
14481
14481
|
constructor(options) {
|
|
14482
14482
|
__publicField(this, 'animator');
|
|
14483
14483
|
__publicField(this, 'values');
|
|
@@ -14537,7 +14537,7 @@ var PrecalculatedAnimator = /*#__PURE__*/ class {
|
|
|
14537
14537
|
}
|
|
14538
14538
|
};
|
|
14539
14539
|
var EventEmitter3 = /* @__PURE__ */ (() => require_eventemitter3().EventEmitter)();
|
|
14540
|
-
var EventEmitter =
|
|
14540
|
+
var EventEmitter = class {
|
|
14541
14541
|
constructor() {
|
|
14542
14542
|
__publicField(this, '_emitter', new EventEmitter3());
|
|
14543
14543
|
}
|
|
@@ -14656,7 +14656,7 @@ var _raf = (f) => {
|
|
|
14656
14656
|
var __raf = /* @__PURE__ */ (() => safeWindow['requestAnimationFrame'] || _raf)();
|
|
14657
14657
|
var raf = (f) => __raf(f);
|
|
14658
14658
|
var LoopTimeStep = /* @__PURE__ */ (() => 1 / 60)();
|
|
14659
|
-
var Loop =
|
|
14659
|
+
var Loop = class extends EventEmitter {
|
|
14660
14660
|
/**
|
|
14661
14661
|
* @internal
|
|
14662
14662
|
*/
|
|
@@ -14873,7 +14873,7 @@ var RenderTarget = {
|
|
|
14873
14873
|
},
|
|
14874
14874
|
};
|
|
14875
14875
|
exports.RenderTarget = RenderTarget;
|
|
14876
|
-
var AnimationDriver =
|
|
14876
|
+
var AnimationDriver = class {
|
|
14877
14877
|
constructor(animator, updateCallback, finishedCallback) {
|
|
14878
14878
|
this.animator = animator;
|
|
14879
14879
|
this.updateCallback = updateCallback;
|
|
@@ -14900,7 +14900,7 @@ var AnimationDriver = /*#__PURE__*/ class {
|
|
|
14900
14900
|
return this.animator.isFinished();
|
|
14901
14901
|
}
|
|
14902
14902
|
};
|
|
14903
|
-
var MainLoopAnimationDriver =
|
|
14903
|
+
var MainLoopAnimationDriver = class extends AnimationDriver {
|
|
14904
14904
|
play() {
|
|
14905
14905
|
if (RenderEnvironment.target !== RenderTarget.preview) {
|
|
14906
14906
|
this.finishedCallback && this.finishedCallback(false);
|
|
@@ -14921,7 +14921,7 @@ var DefaultDeprecatedAnimationOptions = {
|
|
|
14921
14921
|
colorModel: 'husl',
|
|
14922
14922
|
/* HUSL */
|
|
14923
14923
|
};
|
|
14924
|
-
var FramerAnimation =
|
|
14924
|
+
var FramerAnimation = class {
|
|
14925
14925
|
/**
|
|
14926
14926
|
* @internal
|
|
14927
14927
|
*/
|
|
@@ -15548,7 +15548,7 @@ function getColorsFromTheme(theme, type) {
|
|
|
15548
15548
|
screenColor: isDarkTheme ? '#333' : '#eee',
|
|
15549
15549
|
};
|
|
15550
15550
|
}
|
|
15551
|
-
var ErrorBoundary2 =
|
|
15551
|
+
var ErrorBoundary2 = class extends react_9.Component {
|
|
15552
15552
|
constructor() {
|
|
15553
15553
|
super(...arguments);
|
|
15554
15554
|
__publicField(this, 'state', {});
|
|
@@ -17377,16 +17377,16 @@ var richTextCSSRules = [
|
|
|
17377
17377
|
ol.framer-text,
|
|
17378
17378
|
ul.framer-text,
|
|
17379
17379
|
span.framer-text:not([data-text-fill]) {
|
|
17380
|
-
font-family: var(--framer-font-family, Inter, Inter Placeholder, sans-serif);
|
|
17381
|
-
font-style: var(--framer-font-style, normal);
|
|
17382
|
-
font-weight: var(--framer-font-weight, 400);
|
|
17383
|
-
color: var(--framer-text-color, #000);
|
|
17384
|
-
font-size: calc(var(--framer-font-size, 16px) * var(--framer-font-size-scale, 1));
|
|
17385
|
-
letter-spacing: var(--framer-letter-spacing, 0);
|
|
17386
|
-
text-transform: var(--framer-text-transform, none);
|
|
17387
|
-
text-decoration: var(--framer-text-decoration, none);
|
|
17388
|
-
line-height: var(--framer-line-height, 1.2em);
|
|
17389
|
-
text-align: var(--framer-text-alignment, start);
|
|
17380
|
+
font-family: var(--framer-blockquote-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif));
|
|
17381
|
+
font-style: var(--framer-blockquote-font-style, var(--framer-font-style, normal));
|
|
17382
|
+
font-weight: var(--framer-blockquote-font-weight, var(--framer-font-weight, 400));
|
|
17383
|
+
color: var(--framer-blockquote-text-color, var(--framer-text-color, #000));
|
|
17384
|
+
font-size: calc(var(--framer-blockquote-font-size, var(--framer-font-size, 16px)) * var(--framer-font-size-scale, 1));
|
|
17385
|
+
letter-spacing: var(--framer-blockquote-letter-spacing, var(--framer-letter-spacing, 0));
|
|
17386
|
+
text-transform: var(--framer-blockquote-text-transform, var(--framer-text-transform, none));
|
|
17387
|
+
text-decoration: var(--framer-blockquote-text-decoration, var(--framer-text-decoration, none));
|
|
17388
|
+
line-height: var(--framer-blockquote-line-height, var(--framer-line-height, 1.2em));
|
|
17389
|
+
text-align: var(--framer-blockquote-text-alignment, var(--framer-text-alignment, start));
|
|
17390
17390
|
-webkit-text-stroke-width: var(--framer-text-stroke-width, initial);
|
|
17391
17391
|
-webkit-text-stroke-color: var(--framer-text-stroke-color, initial);
|
|
17392
17392
|
}
|
|
@@ -17399,23 +17399,23 @@ var richTextCSSRules = [
|
|
|
17399
17399
|
`, /* css */
|
|
17400
17400
|
`
|
|
17401
17401
|
strong.framer-text {
|
|
17402
|
-
font-family: var(--framer-font-family-bold);
|
|
17403
|
-
font-style: var(--framer-font-style-bold);
|
|
17404
|
-
font-weight: var(--framer-font-weight-bold, bolder);
|
|
17402
|
+
font-family: var(--framer-blockquote-font-family-bold, var(--framer-font-family-bold));
|
|
17403
|
+
font-style: var(--framer-blockquote-font-style-bold, var(--framer-font-style-bold));
|
|
17404
|
+
font-weight: var(--framer-blockquote-font-weight-bold, var(--framer-font-weight-bold, bolder));
|
|
17405
17405
|
}
|
|
17406
17406
|
`, /* css */
|
|
17407
17407
|
`
|
|
17408
17408
|
em.framer-text {
|
|
17409
|
-
font-family: var(--framer-font-family-italic);
|
|
17410
|
-
font-style: var(--framer-font-style-italic, italic);
|
|
17411
|
-
font-weight: var(--framer-font-weight-italic);
|
|
17409
|
+
font-family: var(--framer-blockquote-font-family-italic, var(--framer-font-family-italic));
|
|
17410
|
+
font-style: var(--framer-blockquote-font-style-italic, var(--framer-font-style-italic, italic));
|
|
17411
|
+
font-weight: var(--framer-blockquote-font-weight-italic, var(--framer-font-weight-italic));
|
|
17412
17412
|
}
|
|
17413
17413
|
`, /* css */
|
|
17414
17414
|
`
|
|
17415
17415
|
em.framer-text > strong.framer-text {
|
|
17416
|
-
font-family: var(--framer-font-family-bold-italic);
|
|
17417
|
-
font-style: var(--framer-font-style-bold-italic, italic);
|
|
17418
|
-
font-weight: var(--framer-font-weight-bold-italic, bolder);
|
|
17416
|
+
font-family: var(--framer-blockquote-font-family-bold-italic, var(--framer-font-family-bold-italic));
|
|
17417
|
+
font-style: var(--framer-blockquote-font-style-bold-italic, var(--framer-font-style-bold-italic, italic));
|
|
17418
|
+
font-weight: var(--framer-blockquote-font-weight-bold-italic, var(--framer-font-weight-bold-italic, bolder));
|
|
17419
17419
|
}
|
|
17420
17420
|
`, /* css */
|
|
17421
17421
|
`
|
|
@@ -17430,7 +17430,7 @@ var richTextCSSRules = [
|
|
|
17430
17430
|
ol.framer-text:not(:first-child),
|
|
17431
17431
|
ul.framer-text:not(:first-child),
|
|
17432
17432
|
.framer-image.framer-text:not(:first-child) {
|
|
17433
|
-
margin-top: var(--framer-paragraph-spacing, 0);
|
|
17433
|
+
margin-top: var(--framer-blockquote-paragraph-spacing, var(--framer-paragraph-spacing, 0));
|
|
17434
17434
|
}
|
|
17435
17435
|
`,
|
|
17436
17436
|
// The first child of a list item is a paragraph. If the second child is a
|
|
@@ -17459,8 +17459,8 @@ var richTextCSSRules = [
|
|
|
17459
17459
|
-webkit-background-clip: text;
|
|
17460
17460
|
/* make this a transparent color if you want to visualise the clipping */
|
|
17461
17461
|
-webkit-text-fill-color: transparent;
|
|
17462
|
-
padding: max(0em, calc(calc(1.3em - var(--framer-line-height, 1.3em)) / 2));
|
|
17463
|
-
margin: min(0em, calc(calc(1.3em - var(--framer-line-height, 1.3em)) / -2));
|
|
17462
|
+
padding: max(0em, calc(calc(1.3em - var(--framer-blockquote-line-height, var(--framer-line-height, 1.3em))) / 2));
|
|
17463
|
+
margin: min(0em, calc(calc(1.3em - var(--framer-blockquote-line-height, var(--framer-line-height, 1.3em))) / -2));
|
|
17464
17464
|
}
|
|
17465
17465
|
`, /* css */
|
|
17466
17466
|
`
|
|
@@ -17475,6 +17475,15 @@ var richTextCSSRules = [
|
|
|
17475
17475
|
line-height: var(--framer-line-height, 1.2em);
|
|
17476
17476
|
}
|
|
17477
17477
|
`, /* css */
|
|
17478
|
+
`
|
|
17479
|
+
blockquote.framer-text {
|
|
17480
|
+
margin-block-start: initial;
|
|
17481
|
+
margin-block-end: initial;
|
|
17482
|
+
margin-inline-start: initial;
|
|
17483
|
+
margin-inline-end: initial;
|
|
17484
|
+
unicode-bidi: initial;
|
|
17485
|
+
}
|
|
17486
|
+
`, /* css */
|
|
17478
17487
|
`
|
|
17479
17488
|
a.framer-text,
|
|
17480
17489
|
a.framer-text span.framer-text:not([data-text-fill]) {
|
|
@@ -20234,7 +20243,7 @@ function useForceUpdate3() {
|
|
|
20234
20243
|
}
|
|
20235
20244
|
var ResizeObserverPolyfill = /* @__PURE__ */ (() => require_resize_observer_umd().ResizeObserver)();
|
|
20236
20245
|
var DEFAULT_SIZE = 200;
|
|
20237
|
-
var SharedObserver =
|
|
20246
|
+
var SharedObserver = class {
|
|
20238
20247
|
constructor() {
|
|
20239
20248
|
var _j;
|
|
20240
20249
|
__publicField(this, 'sharedResizeObserver');
|
|
@@ -20594,7 +20603,6 @@ function resetSetStyle(element, key7, toValue, microtask2 = true) {
|
|
|
20594
20603
|
}
|
|
20595
20604
|
}
|
|
20596
20605
|
var Layer = /* @__PURE__ */ (() => {
|
|
20597
|
-
/*#__PURE__*/
|
|
20598
20606
|
class Layer2 extends react_9.Component {
|
|
20599
20607
|
constructor() {
|
|
20600
20608
|
super(...arguments);
|
|
@@ -21368,7 +21376,7 @@ var SharedLayoutContext = /* @__PURE__ */ react_12.default.createContext({
|
|
|
21368
21376
|
scheduleProjectionDidUpdate: () => { },
|
|
21369
21377
|
initLead: () => { },
|
|
21370
21378
|
});
|
|
21371
|
-
var SharedLayoutRoot =
|
|
21379
|
+
var SharedLayoutRoot = class extends react_9.Component {
|
|
21372
21380
|
constructor() {
|
|
21373
21381
|
super(...arguments);
|
|
21374
21382
|
__publicField(this, 'shouldAnimate', false);
|
|
@@ -21454,7 +21462,7 @@ function MagicMotionCrossfadeRoot(props) {
|
|
|
21454
21462
|
children: props.children,
|
|
21455
21463
|
});
|
|
21456
21464
|
}
|
|
21457
|
-
var SharedIntersectionObserver =
|
|
21465
|
+
var SharedIntersectionObserver = class {
|
|
21458
21466
|
constructor(options) {
|
|
21459
21467
|
__publicField(this, 'sharedIntersectionObserver');
|
|
21460
21468
|
__publicField(this, 'callbacks', /* @__PURE__ */ new WeakMap());
|
|
@@ -21590,7 +21598,7 @@ function pointForEvent(event, customTarget = null) {
|
|
|
21590
21598
|
};
|
|
21591
21599
|
return point2;
|
|
21592
21600
|
}
|
|
21593
|
-
var FramerEvent =
|
|
21601
|
+
var FramerEvent = class {
|
|
21594
21602
|
/**
|
|
21595
21603
|
* @internal
|
|
21596
21604
|
*/
|
|
@@ -21700,7 +21708,7 @@ var DraggingContext = /* @__PURE__ */ react_12.default.createContext({
|
|
|
21700
21708
|
dragging: false,
|
|
21701
21709
|
});
|
|
21702
21710
|
function WithDragging(Component15) {
|
|
21703
|
-
const _WithDraggingHOC =
|
|
21711
|
+
const _WithDraggingHOC = class extends react_12.default.Component {
|
|
21704
21712
|
constructor(props, defaultProps) {
|
|
21705
21713
|
super(props, defaultProps);
|
|
21706
21714
|
__publicField(this, 'state', {
|
|
@@ -22450,7 +22458,7 @@ var ObservableObject = /* @__PURE__ */ (() => {
|
|
|
22450
22458
|
return ObservableObject2;
|
|
22451
22459
|
})();
|
|
22452
22460
|
exports.ObservableObject = ObservableObject;
|
|
22453
|
-
var ObservableObjectProxyHandler =
|
|
22461
|
+
var ObservableObjectProxyHandler = class {
|
|
22454
22462
|
constructor() {
|
|
22455
22463
|
__publicField(this, 'set', (target, key7, value, receiver) => {
|
|
22456
22464
|
if (key7 === $private) {
|
|
@@ -23107,7 +23115,7 @@ function applyLayoutProp(style, props, key7) {
|
|
|
23107
23115
|
}
|
|
23108
23116
|
}
|
|
23109
23117
|
var DeprecatedFrame = /* @__PURE__ */ (() => {
|
|
23110
|
-
const _DeprecatedFrameInner =
|
|
23118
|
+
const _DeprecatedFrameInner = class extends Layer {
|
|
23111
23119
|
constructor() {
|
|
23112
23120
|
super(...arguments);
|
|
23113
23121
|
__publicField(this, 'element', null);
|
|
@@ -23468,7 +23476,7 @@ var Frame = /* @__PURE__ */ (() => {
|
|
|
23468
23476
|
return FrameInner;
|
|
23469
23477
|
})();
|
|
23470
23478
|
exports.Frame = Frame;
|
|
23471
|
-
var LayoutTree =
|
|
23479
|
+
var LayoutTree = class extends react_9.Component {
|
|
23472
23480
|
constructor() {
|
|
23473
23481
|
super(...arguments);
|
|
23474
23482
|
__publicField(this, 'layoutMaybeMutated');
|
|
@@ -23835,7 +23843,7 @@ var allAnimatableProperties = {
|
|
|
23835
23843
|
originZ: 0,
|
|
23836
23844
|
opacity: 1,
|
|
23837
23845
|
};
|
|
23838
|
-
var NavigatorMock =
|
|
23846
|
+
var NavigatorMock = class {
|
|
23839
23847
|
constructor() {
|
|
23840
23848
|
__publicField(this, 'warning', () => {
|
|
23841
23849
|
warnOnce2('The Navigator API is only available inside of Framer: https://www.framer.com/');
|
|
@@ -24808,7 +24816,7 @@ var NavigationTransitionType = /* @__PURE__ */ ((NavigationTransitionType2) => {
|
|
|
24808
24816
|
})(NavigationTransitionType || {});
|
|
24809
24817
|
exports.NavigationTransitionType = NavigationTransitionType;
|
|
24810
24818
|
function WithNavigator(BaseComponent, navigationTransition, navigationTransitionDirection, NavigationTarget, navigationTransitionOptions) {
|
|
24811
|
-
const InternalWithNavigator =
|
|
24819
|
+
const InternalWithNavigator = class extends react_12.default.Component {
|
|
24812
24820
|
render() {
|
|
24813
24821
|
return /* @__PURE__ */ (0, jsx_runtime_1.jsx)(NavigationContext.Consumer, {
|
|
24814
24822
|
children: (navigation) => {
|
|
@@ -26172,7 +26180,7 @@ function stateName(state) {
|
|
|
26172
26180
|
function containsBitmask(value, bitmask) {
|
|
26173
26181
|
return (value & bitmask) !== 0;
|
|
26174
26182
|
}
|
|
26175
|
-
var GestureRecognizer =
|
|
26183
|
+
var GestureRecognizer = class {
|
|
26176
26184
|
constructor() {
|
|
26177
26185
|
__publicField(this, '_state', 2);
|
|
26178
26186
|
__publicField(this, 'handler');
|
|
@@ -26239,7 +26247,7 @@ var GestureRecognizer = /*#__PURE__*/ class {
|
|
|
26239
26247
|
}
|
|
26240
26248
|
}
|
|
26241
26249
|
};
|
|
26242
|
-
var MouseWheelGestureRecognizer =
|
|
26250
|
+
var MouseWheelGestureRecognizer = class extends GestureRecognizer {
|
|
26243
26251
|
constructor() {
|
|
26244
26252
|
super(...arguments);
|
|
26245
26253
|
__publicField(this, 'startEvent');
|
|
@@ -26272,7 +26280,7 @@ var MouseWheelGestureRecognizer = /*#__PURE__*/ class extends GestureRecognizer
|
|
|
26272
26280
|
this.onMouseWheelEnd(event);
|
|
26273
26281
|
}
|
|
26274
26282
|
};
|
|
26275
|
-
var PanGestureRecognizer =
|
|
26283
|
+
var PanGestureRecognizer = class extends GestureRecognizer {
|
|
26276
26284
|
constructor() {
|
|
26277
26285
|
super(...arguments);
|
|
26278
26286
|
__publicField(this, 'startEvent');
|
|
@@ -26336,7 +26344,7 @@ var PanGestureRecognizer = /*#__PURE__*/ class extends GestureRecognizer {
|
|
|
26336
26344
|
}
|
|
26337
26345
|
}
|
|
26338
26346
|
};
|
|
26339
|
-
var TapGestureRecognizer =
|
|
26347
|
+
var TapGestureRecognizer = class extends GestureRecognizer {
|
|
26340
26348
|
constructor() {
|
|
26341
26349
|
super(...arguments);
|
|
26342
26350
|
__publicField(this, 'eventType', 'tap');
|
|
@@ -26365,7 +26373,7 @@ var TapGestureRecognizer = /*#__PURE__*/ class extends GestureRecognizer {
|
|
|
26365
26373
|
}
|
|
26366
26374
|
}
|
|
26367
26375
|
};
|
|
26368
|
-
var FramerEventSession =
|
|
26376
|
+
var FramerEventSession = class {
|
|
26369
26377
|
constructor(dispatcher, customOrigin) {
|
|
26370
26378
|
__publicField(this, 'events', []);
|
|
26371
26379
|
__publicField(this, 'recognizers', []);
|
|
@@ -26528,7 +26536,7 @@ var FramerEventSession = /*#__PURE__*/ class {
|
|
|
26528
26536
|
}
|
|
26529
26537
|
};
|
|
26530
26538
|
exports.FramerEventSession = FramerEventSession;
|
|
26531
|
-
var MouseEventListener =
|
|
26539
|
+
var MouseEventListener = class extends react_9.Component {
|
|
26532
26540
|
constructor() {
|
|
26533
26541
|
super(...arguments);
|
|
26534
26542
|
__publicField(this, 'domMouseDown', (originalEvent) => {
|
|
@@ -26580,7 +26588,7 @@ var MouseEventListener = /*#__PURE__*/ class extends react_9.Component {
|
|
|
26580
26588
|
safeWindow.removeEventListener('wheel', this.domMouseWheel);
|
|
26581
26589
|
}
|
|
26582
26590
|
};
|
|
26583
|
-
var TouchEventListener =
|
|
26591
|
+
var TouchEventListener = class extends react_9.Component {
|
|
26584
26592
|
constructor() {
|
|
26585
26593
|
super(...arguments);
|
|
26586
26594
|
__publicField(this, 'domTouchStart', (originalEvent) => {
|
|
@@ -27562,7 +27570,7 @@ function useObserveData() {
|
|
|
27562
27570
|
return !isNaN(context.update);
|
|
27563
27571
|
}
|
|
27564
27572
|
exports.useObserveData = useObserveData;
|
|
27565
|
-
var DataObserver =
|
|
27573
|
+
var DataObserver = class extends react_9.Component {
|
|
27566
27574
|
constructor() {
|
|
27567
27575
|
super(...arguments);
|
|
27568
27576
|
__publicField(this, 'observers', []);
|
|
@@ -28628,7 +28636,7 @@ var withGeneratedLayoutId = (Component15) => react_12.default.forwardRef((props,
|
|
|
28628
28636
|
return /* @__PURE__ */ (0, jsx_runtime_1.jsx)(Component15, Object.assign(Object.assign({ layoutId }, props), { layoutIdKey: void 0, duplicatedFrom: void 0, ref }));
|
|
28629
28637
|
});
|
|
28630
28638
|
exports.withGeneratedLayoutId = withGeneratedLayoutId;
|
|
28631
|
-
var ContainerErrorBoundary =
|
|
28639
|
+
var ContainerErrorBoundary = class extends react_9.Component {
|
|
28632
28640
|
constructor() {
|
|
28633
28641
|
super(...arguments);
|
|
28634
28642
|
__publicField(this, 'state', {
|
|
@@ -29531,7 +29539,7 @@ function Floating(_j) {
|
|
|
29531
29539
|
onDismiss,
|
|
29532
29540
|
});
|
|
29533
29541
|
return react_dom_1.default.createPortal(
|
|
29534
|
-
/* @__PURE__ */ (0, jsx_runtime_1.jsxs)(
|
|
29542
|
+
/* @__PURE__ */ (0, jsx_runtime_1.jsxs)(motion.div, Object.assign(Object.assign({ ref: floatingPositionRef, className: className2, style: {
|
|
29535
29543
|
// Initially rendered as hidden, but the layout effect will set
|
|
29536
29544
|
// to visible when the position is calculated.
|
|
29537
29545
|
visibility: 'hidden',
|
|
@@ -29568,7 +29576,7 @@ function Floating(_j) {
|
|
|
29568
29576
|
exports.Floating = Floating;
|
|
29569
29577
|
var GeneratedComponentContext = /* @__PURE__ */ react_12.default.createContext(void 0);
|
|
29570
29578
|
exports.GeneratedComponentContext = GeneratedComponentContext;
|
|
29571
|
-
var LazyValue =
|
|
29579
|
+
var LazyValue = class {
|
|
29572
29580
|
constructor(resolver) {
|
|
29573
29581
|
this.resolver = resolver;
|
|
29574
29582
|
__publicField(this, 'status');
|
|
@@ -30725,7 +30733,7 @@ function getCollection(collection, locale) {
|
|
|
30725
30733
|
return collection;
|
|
30726
30734
|
});
|
|
30727
30735
|
}
|
|
30728
|
-
var CompatibilityDatabaseCollection =
|
|
30736
|
+
var CompatibilityDatabaseCollection = class {
|
|
30729
30737
|
constructor(collection, locale) {
|
|
30730
30738
|
this.collection = collection;
|
|
30731
30739
|
this.locale = locale;
|
|
@@ -30990,12 +30998,12 @@ function compare(left, right, collation) {
|
|
|
30990
30998
|
}
|
|
30991
30999
|
}
|
|
30992
31000
|
var INDEX_IDENTIFIER = 'index';
|
|
30993
|
-
var ScalarExpression =
|
|
31001
|
+
var ScalarExpression = class {
|
|
30994
31002
|
static from(expression, schema) {
|
|
30995
31003
|
return convertExpression(expression, schema, void 0);
|
|
30996
31004
|
}
|
|
30997
31005
|
};
|
|
30998
|
-
var ScalarIdentifier =
|
|
31006
|
+
var ScalarIdentifier = class extends ScalarExpression {
|
|
30999
31007
|
constructor(schema, name) {
|
|
31000
31008
|
var _j;
|
|
31001
31009
|
super();
|
|
@@ -31030,7 +31038,7 @@ var ScalarIdentifier = /*#__PURE__*/ class extends ScalarExpression {
|
|
|
31030
31038
|
return false;
|
|
31031
31039
|
}
|
|
31032
31040
|
};
|
|
31033
|
-
var ScalarLiteralValue =
|
|
31041
|
+
var ScalarLiteralValue = class extends ScalarExpression {
|
|
31034
31042
|
constructor(definition, value) {
|
|
31035
31043
|
super();
|
|
31036
31044
|
this.definition = definition;
|
|
@@ -31097,7 +31105,7 @@ var ScalarLiteralValue = /*#__PURE__*/ class extends ScalarExpression {
|
|
|
31097
31105
|
return true;
|
|
31098
31106
|
}
|
|
31099
31107
|
};
|
|
31100
|
-
var ScalarFunctionCall =
|
|
31108
|
+
var ScalarFunctionCall = class extends ScalarExpression {
|
|
31101
31109
|
constructor(argumentExpressions) {
|
|
31102
31110
|
super();
|
|
31103
31111
|
this.argumentExpressions = argumentExpressions;
|
|
@@ -31123,7 +31131,7 @@ var ScalarFunctionCall = /*#__PURE__*/ class extends ScalarExpression {
|
|
|
31123
31131
|
});
|
|
31124
31132
|
}
|
|
31125
31133
|
};
|
|
31126
|
-
var ScalarFunctionCallContains =
|
|
31134
|
+
var ScalarFunctionCallContains = class extends ScalarFunctionCall {
|
|
31127
31135
|
constructor() {
|
|
31128
31136
|
super(...arguments);
|
|
31129
31137
|
__publicField(this, 'definition', ScalarFunctionCallContains.getDefinition());
|
|
@@ -31161,7 +31169,7 @@ var ScalarFunctionCallContains = /*#__PURE__*/ class extends ScalarFunctionCall
|
|
|
31161
31169
|
};
|
|
31162
31170
|
}
|
|
31163
31171
|
};
|
|
31164
|
-
var ScalarFunctionCallStartsWith =
|
|
31172
|
+
var ScalarFunctionCallStartsWith = class extends ScalarFunctionCall {
|
|
31165
31173
|
constructor() {
|
|
31166
31174
|
super(...arguments);
|
|
31167
31175
|
__publicField(this, 'definition', ScalarFunctionCallStartsWith.getDefinition());
|
|
@@ -31199,7 +31207,7 @@ var ScalarFunctionCallStartsWith = /*#__PURE__*/ class extends ScalarFunctionCal
|
|
|
31199
31207
|
};
|
|
31200
31208
|
}
|
|
31201
31209
|
};
|
|
31202
|
-
var ScalarFunctionCallEndsWith =
|
|
31210
|
+
var ScalarFunctionCallEndsWith = class extends ScalarFunctionCall {
|
|
31203
31211
|
constructor() {
|
|
31204
31212
|
super(...arguments);
|
|
31205
31213
|
__publicField(this, 'definition', ScalarFunctionCallEndsWith.getDefinition());
|
|
@@ -31237,7 +31245,7 @@ var ScalarFunctionCallEndsWith = /*#__PURE__*/ class extends ScalarFunctionCall
|
|
|
31237
31245
|
};
|
|
31238
31246
|
}
|
|
31239
31247
|
};
|
|
31240
|
-
var ScalarCase =
|
|
31248
|
+
var ScalarCase = class extends ScalarExpression {
|
|
31241
31249
|
constructor(valueExpression, conditions, elseExpression) {
|
|
31242
31250
|
super();
|
|
31243
31251
|
this.valueExpression = valueExpression;
|
|
@@ -31322,13 +31330,13 @@ var ScalarCase = /*#__PURE__*/ class extends ScalarExpression {
|
|
|
31322
31330
|
});
|
|
31323
31331
|
}
|
|
31324
31332
|
};
|
|
31325
|
-
var ScalarCaseCondition =
|
|
31333
|
+
var ScalarCaseCondition = class {
|
|
31326
31334
|
constructor(whenExpression, thenExpression) {
|
|
31327
31335
|
this.whenExpression = whenExpression;
|
|
31328
31336
|
this.thenExpression = thenExpression;
|
|
31329
31337
|
}
|
|
31330
31338
|
};
|
|
31331
|
-
var ScalarUnaryOperation =
|
|
31339
|
+
var ScalarUnaryOperation = class extends ScalarExpression {
|
|
31332
31340
|
constructor(valueExpression) {
|
|
31333
31341
|
super();
|
|
31334
31342
|
this.valueExpression = valueExpression;
|
|
@@ -31341,7 +31349,7 @@ var ScalarUnaryOperation = /*#__PURE__*/ class extends ScalarExpression {
|
|
|
31341
31349
|
return this.valueExpression.canEvaluate();
|
|
31342
31350
|
}
|
|
31343
31351
|
};
|
|
31344
|
-
var ScalarUnaryOperationNot =
|
|
31352
|
+
var ScalarUnaryOperationNot = class extends ScalarUnaryOperation {
|
|
31345
31353
|
constructor() {
|
|
31346
31354
|
super(...arguments);
|
|
31347
31355
|
__publicField(this, 'definition', ScalarUnaryOperationNot.getDefinition());
|
|
@@ -31363,7 +31371,7 @@ var ScalarUnaryOperationNot = /*#__PURE__*/ class extends ScalarUnaryOperation {
|
|
|
31363
31371
|
};
|
|
31364
31372
|
}
|
|
31365
31373
|
};
|
|
31366
|
-
var ScalarLogicalOperation =
|
|
31374
|
+
var ScalarLogicalOperation = class extends ScalarExpression {
|
|
31367
31375
|
constructor(operandExpressions) {
|
|
31368
31376
|
super();
|
|
31369
31377
|
this.operandExpressions = operandExpressions;
|
|
@@ -31388,7 +31396,7 @@ var ScalarLogicalOperation = /*#__PURE__*/ class extends ScalarExpression {
|
|
|
31388
31396
|
});
|
|
31389
31397
|
}
|
|
31390
31398
|
};
|
|
31391
|
-
var ScalarLogicalOperationAnd =
|
|
31399
|
+
var ScalarLogicalOperationAnd = class extends ScalarLogicalOperation {
|
|
31392
31400
|
constructor() {
|
|
31393
31401
|
super(...arguments);
|
|
31394
31402
|
__publicField(this, 'operator', 'AND');
|
|
@@ -31404,7 +31412,7 @@ var ScalarLogicalOperationAnd = /*#__PURE__*/ class extends ScalarLogicalOperati
|
|
|
31404
31412
|
};
|
|
31405
31413
|
}
|
|
31406
31414
|
};
|
|
31407
|
-
var ScalarLogicalOperationOr =
|
|
31415
|
+
var ScalarLogicalOperationOr = class extends ScalarLogicalOperation {
|
|
31408
31416
|
constructor() {
|
|
31409
31417
|
super(...arguments);
|
|
31410
31418
|
__publicField(this, 'operator', 'OR');
|
|
@@ -31420,7 +31428,7 @@ var ScalarLogicalOperationOr = /*#__PURE__*/ class extends ScalarLogicalOperatio
|
|
|
31420
31428
|
};
|
|
31421
31429
|
}
|
|
31422
31430
|
};
|
|
31423
|
-
var ScalarComparison =
|
|
31431
|
+
var ScalarComparison = class extends ScalarExpression {
|
|
31424
31432
|
constructor(leftExpression, rightExpression) {
|
|
31425
31433
|
super();
|
|
31426
31434
|
this.leftExpression = leftExpression;
|
|
@@ -31448,7 +31456,7 @@ var ScalarComparison = /*#__PURE__*/ class extends ScalarExpression {
|
|
|
31448
31456
|
return this.leftExpression.canEvaluate() && this.rightExpression.canEvaluate();
|
|
31449
31457
|
}
|
|
31450
31458
|
};
|
|
31451
|
-
var ScalarComparisonEquals =
|
|
31459
|
+
var ScalarComparisonEquals = class extends ScalarComparison {
|
|
31452
31460
|
constructor() {
|
|
31453
31461
|
super(...arguments);
|
|
31454
31462
|
__publicField(this, 'operator', '=');
|
|
@@ -31462,7 +31470,7 @@ var ScalarComparisonEquals = /*#__PURE__*/ class extends ScalarComparison {
|
|
|
31462
31470
|
};
|
|
31463
31471
|
}
|
|
31464
31472
|
};
|
|
31465
|
-
var ScalarComparisonNotEquals =
|
|
31473
|
+
var ScalarComparisonNotEquals = class extends ScalarComparison {
|
|
31466
31474
|
constructor() {
|
|
31467
31475
|
super(...arguments);
|
|
31468
31476
|
__publicField(this, 'operator', '!=');
|
|
@@ -31476,7 +31484,7 @@ var ScalarComparisonNotEquals = /*#__PURE__*/ class extends ScalarComparison {
|
|
|
31476
31484
|
};
|
|
31477
31485
|
}
|
|
31478
31486
|
};
|
|
31479
|
-
var ScalarComparisonLessThan =
|
|
31487
|
+
var ScalarComparisonLessThan = class extends ScalarComparison {
|
|
31480
31488
|
constructor() {
|
|
31481
31489
|
super(...arguments);
|
|
31482
31490
|
__publicField(this, 'operator', '<');
|
|
@@ -31490,7 +31498,7 @@ var ScalarComparisonLessThan = /*#__PURE__*/ class extends ScalarComparison {
|
|
|
31490
31498
|
};
|
|
31491
31499
|
}
|
|
31492
31500
|
};
|
|
31493
|
-
var ScalarComparisonLessThanOrEqual =
|
|
31501
|
+
var ScalarComparisonLessThanOrEqual = class extends ScalarComparison {
|
|
31494
31502
|
constructor() {
|
|
31495
31503
|
super(...arguments);
|
|
31496
31504
|
__publicField(this, 'operator', '<=');
|
|
@@ -31504,7 +31512,7 @@ var ScalarComparisonLessThanOrEqual = /*#__PURE__*/ class extends ScalarComparis
|
|
|
31504
31512
|
};
|
|
31505
31513
|
}
|
|
31506
31514
|
};
|
|
31507
|
-
var ScalarComparisonGreaterThan =
|
|
31515
|
+
var ScalarComparisonGreaterThan = class extends ScalarComparison {
|
|
31508
31516
|
constructor() {
|
|
31509
31517
|
super(...arguments);
|
|
31510
31518
|
__publicField(this, 'operator', '>');
|
|
@@ -31518,7 +31526,7 @@ var ScalarComparisonGreaterThan = /*#__PURE__*/ class extends ScalarComparison {
|
|
|
31518
31526
|
};
|
|
31519
31527
|
}
|
|
31520
31528
|
};
|
|
31521
|
-
var ScalarComparisonGreaterThanOrEqual =
|
|
31529
|
+
var ScalarComparisonGreaterThanOrEqual = class extends ScalarComparison {
|
|
31522
31530
|
constructor() {
|
|
31523
31531
|
super(...arguments);
|
|
31524
31532
|
__publicField(this, 'operator', '>=');
|
|
@@ -31532,7 +31540,7 @@ var ScalarComparisonGreaterThanOrEqual = /*#__PURE__*/ class extends ScalarCompa
|
|
|
31532
31540
|
};
|
|
31533
31541
|
}
|
|
31534
31542
|
};
|
|
31535
|
-
var ScalarTypeCast =
|
|
31543
|
+
var ScalarTypeCast = class extends ScalarExpression {
|
|
31536
31544
|
constructor(valueExpression) {
|
|
31537
31545
|
super();
|
|
31538
31546
|
this.valueExpression = valueExpression;
|
|
@@ -31548,7 +31556,7 @@ var ScalarTypeCast = /*#__PURE__*/ class extends ScalarExpression {
|
|
|
31548
31556
|
return this.valueExpression.canEvaluate();
|
|
31549
31557
|
}
|
|
31550
31558
|
};
|
|
31551
|
-
var ScalarTypeCastBoolean =
|
|
31559
|
+
var ScalarTypeCastBoolean = class extends ScalarTypeCast {
|
|
31552
31560
|
constructor() {
|
|
31553
31561
|
super(...arguments);
|
|
31554
31562
|
__publicField(this, 'dataType', 'BOOLEAN');
|
|
@@ -31578,7 +31586,7 @@ function convertToBoolean(value) {
|
|
|
31578
31586
|
}
|
|
31579
31587
|
return false;
|
|
31580
31588
|
}
|
|
31581
|
-
var ScalarTypeCastDate =
|
|
31589
|
+
var ScalarTypeCastDate = class extends ScalarTypeCast {
|
|
31582
31590
|
constructor() {
|
|
31583
31591
|
super(...arguments);
|
|
31584
31592
|
__publicField(this, 'dataType', 'DATE');
|
|
@@ -31616,7 +31624,7 @@ function convertToDate(value) {
|
|
|
31616
31624
|
}
|
|
31617
31625
|
return null;
|
|
31618
31626
|
}
|
|
31619
|
-
var ScalarTypeCastNumber =
|
|
31627
|
+
var ScalarTypeCastNumber = class extends ScalarTypeCast {
|
|
31620
31628
|
constructor() {
|
|
31621
31629
|
super(...arguments);
|
|
31622
31630
|
__publicField(this, 'dataType', 'NUMBER');
|
|
@@ -31653,7 +31661,7 @@ function convertToNumber(value) {
|
|
|
31653
31661
|
}
|
|
31654
31662
|
return null;
|
|
31655
31663
|
}
|
|
31656
|
-
var ScalarTypeCastString =
|
|
31664
|
+
var ScalarTypeCastString = class extends ScalarTypeCast {
|
|
31657
31665
|
constructor() {
|
|
31658
31666
|
super(...arguments);
|
|
31659
31667
|
__publicField(this, 'dataType', 'STRING');
|
|
@@ -32086,7 +32094,7 @@ function stringifyExecutionTime(self2, total) {
|
|
|
32086
32094
|
function stringifyItems(items) {
|
|
32087
32095
|
return `(items: ${items})`;
|
|
32088
32096
|
}
|
|
32089
|
-
var QueryPlan =
|
|
32097
|
+
var QueryPlan = class {
|
|
32090
32098
|
constructor() {
|
|
32091
32099
|
__publicField(this, 'executionTime', 0);
|
|
32092
32100
|
__publicField(this, 'itemCount', 0);
|
|
@@ -32101,7 +32109,7 @@ var QueryPlan = /*#__PURE__*/ class {
|
|
|
32101
32109
|
});
|
|
32102
32110
|
}
|
|
32103
32111
|
};
|
|
32104
|
-
var ScanCollectionPlan =
|
|
32112
|
+
var ScanCollectionPlan = class extends QueryPlan {
|
|
32105
32113
|
constructor(collection) {
|
|
32106
32114
|
super();
|
|
32107
32115
|
this.collection = collection;
|
|
@@ -32117,7 +32125,7 @@ var ScanCollectionPlan = /*#__PURE__*/ class extends QueryPlan {
|
|
|
32117
32125
|
});
|
|
32118
32126
|
}
|
|
32119
32127
|
};
|
|
32120
|
-
var LookupIndexPlan =
|
|
32128
|
+
var LookupIndexPlan = class extends QueryPlan {
|
|
32121
32129
|
constructor(index, query) {
|
|
32122
32130
|
super();
|
|
32123
32131
|
this.index = index;
|
|
@@ -32161,7 +32169,7 @@ var LookupIndexPlan = /*#__PURE__*/ class extends QueryPlan {
|
|
|
32161
32169
|
});
|
|
32162
32170
|
}
|
|
32163
32171
|
};
|
|
32164
|
-
var UnionPlan =
|
|
32172
|
+
var UnionPlan = class extends QueryPlan {
|
|
32165
32173
|
constructor(childPlans) {
|
|
32166
32174
|
super();
|
|
32167
32175
|
this.childPlans = childPlans;
|
|
@@ -32193,7 +32201,7 @@ var UnionPlan = /*#__PURE__*/ class extends QueryPlan {
|
|
|
32193
32201
|
});
|
|
32194
32202
|
}
|
|
32195
32203
|
};
|
|
32196
|
-
var IntersectionPlan =
|
|
32204
|
+
var IntersectionPlan = class extends QueryPlan {
|
|
32197
32205
|
constructor(childPlans) {
|
|
32198
32206
|
super();
|
|
32199
32207
|
this.childPlans = childPlans;
|
|
@@ -32225,7 +32233,7 @@ var IntersectionPlan = /*#__PURE__*/ class extends QueryPlan {
|
|
|
32225
32233
|
});
|
|
32226
32234
|
}
|
|
32227
32235
|
};
|
|
32228
|
-
var ResolveItemsPlan =
|
|
32236
|
+
var ResolveItemsPlan = class extends QueryPlan {
|
|
32229
32237
|
constructor(childPlan, collection, richTextResolver, select) {
|
|
32230
32238
|
super();
|
|
32231
32239
|
this.childPlan = childPlan;
|
|
@@ -32257,7 +32265,7 @@ var ResolveItemsPlan = /*#__PURE__*/ class extends QueryPlan {
|
|
|
32257
32265
|
});
|
|
32258
32266
|
}
|
|
32259
32267
|
};
|
|
32260
|
-
var FilterItemsPlan =
|
|
32268
|
+
var FilterItemsPlan = class extends QueryPlan {
|
|
32261
32269
|
constructor(childPlan, filterExpression) {
|
|
32262
32270
|
super();
|
|
32263
32271
|
this.childPlan = childPlan;
|
|
@@ -32279,7 +32287,7 @@ var FilterItemsPlan = /*#__PURE__*/ class extends QueryPlan {
|
|
|
32279
32287
|
});
|
|
32280
32288
|
}
|
|
32281
32289
|
};
|
|
32282
|
-
var SortItemsPlan =
|
|
32290
|
+
var SortItemsPlan = class extends QueryPlan {
|
|
32283
32291
|
constructor(childPlan, orderExpressions, collection) {
|
|
32284
32292
|
super();
|
|
32285
32293
|
this.childPlan = childPlan;
|
|
@@ -32322,14 +32330,14 @@ var SortItemsPlan = /*#__PURE__*/ class extends QueryPlan {
|
|
|
32322
32330
|
});
|
|
32323
32331
|
}
|
|
32324
32332
|
};
|
|
32325
|
-
var ScalarOrderExpression =
|
|
32333
|
+
var ScalarOrderExpression = class {
|
|
32326
32334
|
constructor(expression, direction, collation) {
|
|
32327
32335
|
this.expression = expression;
|
|
32328
32336
|
this.direction = direction;
|
|
32329
32337
|
this.collation = collation;
|
|
32330
32338
|
}
|
|
32331
32339
|
};
|
|
32332
|
-
var SliceItemsPlan =
|
|
32340
|
+
var SliceItemsPlan = class extends QueryPlan {
|
|
32333
32341
|
constructor(childPlan, offsetExpression, limitExpression) {
|
|
32334
32342
|
super();
|
|
32335
32343
|
this.childPlan = childPlan;
|
|
@@ -32368,7 +32376,7 @@ var SliceItemsPlan = /*#__PURE__*/ class extends QueryPlan {
|
|
|
32368
32376
|
});
|
|
32369
32377
|
}
|
|
32370
32378
|
};
|
|
32371
|
-
var DatabaseItemMap =
|
|
32379
|
+
var DatabaseItemMap = class extends Map {
|
|
32372
32380
|
constructor(items = []) {
|
|
32373
32381
|
super();
|
|
32374
32382
|
for (const item of items) {
|
|
@@ -32399,7 +32407,7 @@ var DatabaseItemMap = /*#__PURE__*/ class extends Map {
|
|
|
32399
32407
|
return [...values,];
|
|
32400
32408
|
}
|
|
32401
32409
|
};
|
|
32402
|
-
var RichTextResolver =
|
|
32410
|
+
var RichTextResolver = class {
|
|
32403
32411
|
constructor(collection) {
|
|
32404
32412
|
this.collection = collection;
|
|
32405
32413
|
__publicField(this, 'cache', /* @__PURE__ */ new Map());
|
|
@@ -32552,7 +32560,7 @@ function getDatabaseCollection({ data: data2, }, locale) {
|
|
|
32552
32560
|
}
|
|
32553
32561
|
assertNever(data2, 'Unsupported collection type');
|
|
32554
32562
|
}
|
|
32555
|
-
var QueryEngine =
|
|
32563
|
+
var QueryEngine = class {
|
|
32556
32564
|
query(query, locale) {
|
|
32557
32565
|
return __awaiter(this, void 0, void 0, function* () {
|
|
32558
32566
|
const collection = getDatabaseCollection(query.from, locale);
|
|
@@ -32772,7 +32780,7 @@ function createScanCollectionPlan(collection, expression) {
|
|
|
32772
32780
|
const plan = new ScanCollectionPlan(collection);
|
|
32773
32781
|
return new FilterItemsPlan(plan, expression);
|
|
32774
32782
|
}
|
|
32775
|
-
var AnimationCollector =
|
|
32783
|
+
var AnimationCollector = class {
|
|
32776
32784
|
constructor() {
|
|
32777
32785
|
__publicField(this, 'entries', /* @__PURE__ */ new Map());
|
|
32778
32786
|
}
|
|
@@ -33439,7 +33447,7 @@ function usePrototypeNavigate({ preload, } = {}) {
|
|
|
33439
33447
|
});
|
|
33440
33448
|
}
|
|
33441
33449
|
exports.usePrototypeNavigate = usePrototypeNavigate;
|
|
33442
|
-
var QueryCache =
|
|
33450
|
+
var QueryCache = class {
|
|
33443
33451
|
constructor(queryEngine2) {
|
|
33444
33452
|
this.queryEngine = queryEngine2;
|
|
33445
33453
|
__publicField(this, 'cache', /* @__PURE__ */ new Map());
|
|
@@ -33699,17 +33707,14 @@ function useVariantState({ variant, defaultVariant: externalDefaultVariant, tran
|
|
|
33699
33707
|
if (gestureVariant)
|
|
33700
33708
|
variants.push(gestureVariant);
|
|
33701
33709
|
const gestures = enabledGestures == null ? void 0 : enabledGestures[baseVariant];
|
|
33702
|
-
const gestureHandlers = {
|
|
33703
|
-
|
|
33704
|
-
|
|
33705
|
-
|
|
33706
|
-
|
|
33707
|
-
|
|
33708
|
-
|
|
33709
|
-
|
|
33710
|
-
}),
|
|
33711
|
-
});
|
|
33712
|
-
}
|
|
33710
|
+
const gestureHandlers = {
|
|
33711
|
+
onMouseEnter: () => setGestureState({
|
|
33712
|
+
isHovered: true,
|
|
33713
|
+
}),
|
|
33714
|
+
onMouseLeave: () => setGestureState({
|
|
33715
|
+
isHovered: false,
|
|
33716
|
+
}),
|
|
33717
|
+
};
|
|
33713
33718
|
if (gestures == null ? void 0 : gestures.pressed) {
|
|
33714
33719
|
Object.assign(gestureHandlers, {
|
|
33715
33720
|
onTapStart: () => setGestureState({
|
|
@@ -34507,7 +34512,7 @@ var FontSourceNames = /* @__PURE__ */ ((FontSourceNames2) => {
|
|
|
34507
34512
|
exports.FontSourceNames = FontSourceNames;
|
|
34508
34513
|
var systemFontFamilyName = 'System Default';
|
|
34509
34514
|
exports.systemFontFamilyName = systemFontFamilyName;
|
|
34510
|
-
var LocalFontSource =
|
|
34515
|
+
var LocalFontSource = class {
|
|
34511
34516
|
constructor() {
|
|
34512
34517
|
__publicField(this, 'name', 'local');
|
|
34513
34518
|
__publicField(this, 'fontFamilies', []);
|
|
@@ -34647,7 +34652,7 @@ function getCustomFontName(fileName, properties) {
|
|
|
34647
34652
|
const variant = properties.font.preferredSubFamily === '' ? properties.font.fontSubFamily : properties.font.preferredSubFamily;
|
|
34648
34653
|
return `${fontFamily} ${variant}`;
|
|
34649
34654
|
}
|
|
34650
|
-
var CustomFontSource =
|
|
34655
|
+
var CustomFontSource = class {
|
|
34651
34656
|
constructor() {
|
|
34652
34657
|
__publicField(this, 'name', 'custom');
|
|
34653
34658
|
__publicField(this, 'fontFamilies', []);
|
|
@@ -34828,7 +34833,7 @@ var weightNameToNumber = {
|
|
|
34828
34833
|
};
|
|
34829
34834
|
var weightNames = /* @__PURE__ */ Object.keys(weightNameToNumber);
|
|
34830
34835
|
var allowedVariantsRegex = /* @__PURE__ */ (() => new RegExp(`^(?:${[...weightNames, 'italic',].join('|')})`, 'u'))();
|
|
34831
|
-
var FontshareSource =
|
|
34836
|
+
var FontshareSource = class {
|
|
34832
34837
|
constructor() {
|
|
34833
34838
|
__publicField(this, 'name', 'fontshare');
|
|
34834
34839
|
__publicField(this, 'fontFamilies', []);
|
|
@@ -34960,7 +34965,7 @@ var weightNameToNumber2 = {
|
|
|
34960
34965
|
ExtraBold: 800,
|
|
34961
34966
|
Black: 900,
|
|
34962
34967
|
};
|
|
34963
|
-
var FramerFontSource =
|
|
34968
|
+
var FramerFontSource = class {
|
|
34964
34969
|
constructor() {
|
|
34965
34970
|
__publicField(this, 'name', 'framer');
|
|
34966
34971
|
__publicField(this, 'fontFamilies', []);
|
|
@@ -35017,7 +35022,7 @@ var FramerFontSource = /*#__PURE__*/ class {
|
|
|
35017
35022
|
}
|
|
35018
35023
|
};
|
|
35019
35024
|
var googleFontSelectorPrefix = 'GF;';
|
|
35020
|
-
var GoogleFontSource =
|
|
35025
|
+
var GoogleFontSource = class {
|
|
35021
35026
|
constructor() {
|
|
35022
35027
|
__publicField(this, 'name', 'google');
|
|
35023
35028
|
__publicField(this, 'fontFamilies', []);
|
|
@@ -35123,7 +35128,7 @@ function mapToKnownCategory2(category) {
|
|
|
35123
35128
|
var import_fontfaceobserver = __toESM(require_fontfaceobserver_standalone(), 1);
|
|
35124
35129
|
var FONT_LOADING_TIMEOUT = 5e3;
|
|
35125
35130
|
var MAX_RETRIES = 3;
|
|
35126
|
-
var FontLoadingError =
|
|
35131
|
+
var FontLoadingError = class extends Error {
|
|
35127
35132
|
constructor(message) {
|
|
35128
35133
|
super(message);
|
|
35129
35134
|
this.name = 'FontLoadingError';
|
|
@@ -35193,7 +35198,7 @@ function isFontReady(family, style, weight) {
|
|
|
35193
35198
|
}
|
|
35194
35199
|
});
|
|
35195
35200
|
}
|
|
35196
|
-
var FontStore =
|
|
35201
|
+
var FontStore = class {
|
|
35197
35202
|
constructor() {
|
|
35198
35203
|
__publicField(this, 'enabled', false);
|
|
35199
35204
|
__publicField(this, 'bySelector', /* @__PURE__ */ new Map());
|
|
@@ -35273,6 +35278,8 @@ var FontStore = /*#__PURE__*/ class {
|
|
|
35273
35278
|
return fontFamily;
|
|
35274
35279
|
}
|
|
35275
35280
|
getFontBySelector(selector, createFont = true) {
|
|
35281
|
+
if (!selector)
|
|
35282
|
+
return void 0;
|
|
35276
35283
|
if (selector.startsWith(customFontSelectorPrefix)) {
|
|
35277
35284
|
return this.custom.getFontBySelector(selector, createFont);
|
|
35278
35285
|
}
|
|
@@ -35653,6 +35660,7 @@ var FormInputStyleVariableNames = /* @__PURE__ */ ((FormInputStyleVariableNames2
|
|
|
35653
35660
|
FormInputStyleVariableNames2['IconBackgroundImage'] = '--framer-input-icon-image';
|
|
35654
35661
|
FormInputStyleVariableNames2['IconMaskImage'] = '--framer-input-icon-mask-image';
|
|
35655
35662
|
FormInputStyleVariableNames2['IconColor'] = '--framer-input-icon-color';
|
|
35663
|
+
FormInputStyleVariableNames2['WrapperHeight'] = '--framer-input-wrapper-height';
|
|
35656
35664
|
return FormInputStyleVariableNames2;
|
|
35657
35665
|
})(FormInputStyleVariableNames || {});
|
|
35658
35666
|
var Var = FormInputStyleVariableNames;
|
|
@@ -35703,7 +35711,7 @@ var sharedInputCSS = [
|
|
|
35703
35711
|
whiteSpace: 'nowrap',
|
|
35704
35712
|
overflow: 'hidden',
|
|
35705
35713
|
width: '100%',
|
|
35706
|
-
height: '100%',
|
|
35714
|
+
height: css.variable(Var.WrapperHeight, '100%'),
|
|
35707
35715
|
letterSpacing: css.variable(Var.FontLetterSpacing),
|
|
35708
35716
|
textAlign: css.variable(Var.FontTextAlignment),
|
|
35709
35717
|
lineHeight: css.variable(Var.FontLineHeight),
|
|
@@ -35810,9 +35818,7 @@ var inputIconCSSDeclaration = {
|
|
|
35810
35818
|
bottom: 0,
|
|
35811
35819
|
width: `${iconSize}px`,
|
|
35812
35820
|
boxSizing: 'content-box',
|
|
35813
|
-
|
|
35814
|
-
margin: css.variable(Var.Padding),
|
|
35815
|
-
marginLeft: 0,
|
|
35821
|
+
padding: css.variable(Var.Padding),
|
|
35816
35822
|
border: 'none',
|
|
35817
35823
|
pointerEvents: 'none',
|
|
35818
35824
|
backgroundRepeat: 'no-repeat',
|
|
@@ -35901,7 +35907,7 @@ var styles = /* @__PURE__ */ (() => [
|
|
|
35901
35907
|
css(`.${textInputWrapperClassName} textarea`, {
|
|
35902
35908
|
display: 'flex',
|
|
35903
35909
|
resize: css.variable('--framer-textarea-resize'),
|
|
35904
|
-
overflowY: '
|
|
35910
|
+
overflowY: 'auto',
|
|
35905
35911
|
minHeight: 'inherit',
|
|
35906
35912
|
maxHeight: 'inherit',
|
|
35907
35913
|
whiteSpace: 'break-spaces',
|
|
@@ -35928,6 +35934,9 @@ var styles = /* @__PURE__ */ (() => [
|
|
|
35928
35934
|
color: css.variable('--framer-input-placeholder-color'),
|
|
35929
35935
|
// This tells safari to use the color for the shadow dom elements.
|
|
35930
35936
|
'-webkit-text-fill-color': css.variable('--framer-input-placeholder-color'),
|
|
35937
|
+
// Prevent browsers from improvising the date/time placeholder height.
|
|
35938
|
+
height: css.variable('--framer-input-font-line-height'),
|
|
35939
|
+
overflow: 'visible',
|
|
35931
35940
|
}),
|
|
35932
35941
|
css(`.${textInputWrapperClassName} .${inputClassName}[type="date"]::before, .${textInputWrapperClassName} .${inputClassName}[type="time"]::before`, Object.assign(Object.assign({}, inputIconCSSDeclaration), { paddingLeft: `${iconSpacing}px`, maskPosition: `${iconSpacing}px center`, backgroundPosition: `${iconSpacing}px center` })),
|
|
35933
35942
|
css(`.${textInputWrapperClassName} .${inputClassName}[type="date"]::before`, {
|
|
@@ -35938,14 +35947,20 @@ var styles = /* @__PURE__ */ (() => [
|
|
|
35938
35947
|
maskImage: css.variable('--framer-input-icon-mask-image', `url('${defaultTimeIconMaskImage}')`),
|
|
35939
35948
|
backgroundImage: css.variable('--framer-input-icon-image'),
|
|
35940
35949
|
}),
|
|
35941
|
-
// Hide the native date picker icon, but still
|
|
35950
|
+
// Hide the native date picker icon, but still align it with the custom icon, allowing user to click it to show the
|
|
35951
|
+
// date/time picker.
|
|
35942
35952
|
css(`.${textInputWrapperClassName} .${inputClassName}::-webkit-calendar-picker-indicator`, {
|
|
35943
35953
|
opacity: 0,
|
|
35954
|
+
position: 'absolute',
|
|
35955
|
+
right: 0,
|
|
35956
|
+
top: 0,
|
|
35957
|
+
bottom: 0,
|
|
35944
35958
|
padding: css.variable('--framer-input-padding'),
|
|
35945
|
-
|
|
35946
|
-
|
|
35959
|
+
paddingTop: 0,
|
|
35960
|
+
paddingBottom: 0,
|
|
35947
35961
|
width: `${iconSize2}px`,
|
|
35948
|
-
height
|
|
35962
|
+
// Makes sure the icon hit target covers the entire height of the input.
|
|
35963
|
+
height: '100%',
|
|
35949
35964
|
}),
|
|
35950
35965
|
css(`.${textInputWrapperClassName}:focus-within, .${textInputWrapperClassName}.${forcedFocusClassName}`, {
|
|
35951
35966
|
boxShadow: css.variable('--framer-input-focused-box-shadow', '--framer-input-box-shadow'),
|
|
@@ -36067,9 +36082,16 @@ var styles2 = /* @__PURE__ */ (() => [
|
|
|
36067
36082
|
var FormBooleanInput = /* @__PURE__ */ withCSS(BooleanInput, styles2);
|
|
36068
36083
|
exports.FormBooleanInput = FormBooleanInput;
|
|
36069
36084
|
var Select = /* @__PURE__ */ react_12.default.forwardRef(function Select2(props, measureRef) {
|
|
36070
|
-
const { autoFocus, className: className2, inputName, required, defaultValue, selectOptions, style, onValid, onChange, onBlur, onInvalid, onFocus } = props, rest = __rest(props, ["autoFocus", "className", "inputName", "required", "defaultValue", "selectOptions", "style", "onValid", "onChange", "onBlur", "onInvalid", "onFocus"]);
|
|
36085
|
+
const { autoFocus, className: className2, inputName, required, hidden, defaultValue, selectOptions, style, onValid, onChange, onBlur, onInvalid, onFocus } = props, rest = __rest(props, ["autoFocus", "className", "inputName", "required", "hidden", "defaultValue", "selectOptions", "style", "onValid", "onChange", "onBlur", "onInvalid", "onFocus"]);
|
|
36071
36086
|
const eventHandlers = useCustomValidity(onValid, onInvalid, onChange, onBlur, onFocus);
|
|
36072
36087
|
const key7 = Array.isArray(defaultValue) ? defaultValue[0] : defaultValue;
|
|
36088
|
+
if (hidden) {
|
|
36089
|
+
return /* @__PURE__ */ (0, jsx_runtime_1.jsx)(motion.input, {
|
|
36090
|
+
type: 'hidden',
|
|
36091
|
+
name: inputName,
|
|
36092
|
+
defaultValue,
|
|
36093
|
+
});
|
|
36094
|
+
}
|
|
36073
36095
|
return /* @__PURE__ */ (0, jsx_runtime_1.jsx)(motion.div, Object.assign(Object.assign({ ref: measureRef, style, className: cx(inputWrapperClassName, selectWrapperClassName, className2) }, rest), { children: /* @__PURE__ */ (0, jsx_runtime_1.jsx)(motion.select, Object.assign(Object.assign({ name: inputName, autoFocus,
|
|
36074
36096
|
required, className: inputClassName, defaultValue }, eventHandlers), { children: selectOptions == null ? void 0 : selectOptions.map((option, index) => {
|
|
36075
36097
|
var _j, _k;
|
|
@@ -36218,7 +36240,7 @@ function convertCodeComponentContainer(componentDefinitionProvider, node, conver
|
|
|
36218
36240
|
converter(codeComponentPresentation, codeComponentPresentation.children.map((child) => convertPresentationTree(child, converter, componentDefinitionProvider, getCachedNode, skipCodeComponentPropsCache))),
|
|
36219
36241
|
];
|
|
36220
36242
|
}
|
|
36221
|
-
var CodeComponentPresentation =
|
|
36243
|
+
var CodeComponentPresentation = class {
|
|
36222
36244
|
constructor(id3, componentIdentifier, packageVersion, props, children, codeOverrideIdentifier) {
|
|
36223
36245
|
this.id = id3;
|
|
36224
36246
|
this.componentIdentifier = componentIdentifier;
|
|
@@ -36240,6 +36262,11 @@ var CodeComponentPresentation = /*#__PURE__*/ class {
|
|
|
36240
36262
|
};
|
|
36241
36263
|
}
|
|
36242
36264
|
};
|
|
36265
|
+
var nonSlugCharactersRegExp = /[^\p{Letter}\p{Number}()]+/gu;
|
|
36266
|
+
var trimSlugRegExp = /^-+|-+$/gu;
|
|
36267
|
+
function slugify(value) {
|
|
36268
|
+
return value.toLowerCase().replace(nonSlugCharactersRegExp, '-').replace(trimSlugRegExp, '');
|
|
36269
|
+
}
|
|
36243
36270
|
var htmlRegExp = /[&<>'"]/g;
|
|
36244
36271
|
var escapeHTML = (str) => str.replace(htmlRegExp, (tag) => ({
|
|
36245
36272
|
'&': '&',
|
|
@@ -36466,7 +36493,7 @@ var FitText = /* @__PURE__ */ (0, react_3.forwardRef)((_j, ref) => {
|
|
|
36466
36493
|
});
|
|
36467
36494
|
var RichTextContainer = /* @__PURE__ */ (0, react_3.forwardRef)((props, ref) => {
|
|
36468
36495
|
var _j;
|
|
36469
|
-
const { __fromCanvasComponent = false, _forwardedOverrideId, _forwardedOverrides, _usesDOMRect, as: _as, bottom, center, children, environment: environment2 = RenderTarget.current, fonts = [], height, isEditable = false, left, name, opacity, positionSticky, positionStickyBottom, positionStickyLeft, positionStickyRight, positionStickyTop, right, rotation = 0, style, _initialStyle, stylesPresetsClassNames, text: plainText, top, verticalAlignment = 'top', visible = true, width, willChangeTransform, withExternalLayout = false, viewBox, viewBoxScale = 1 } = props, rest = __rest(props, ["__fromCanvasComponent", "_forwardedOverrideId", "_forwardedOverrides", "_usesDOMRect", "as", "bottom", "center", "children", "environment", "fonts", "height", "isEditable", "left", "name", "opacity", "positionSticky", "positionStickyBottom", "positionStickyLeft", "positionStickyRight", "positionStickyTop", "right", "rotation", "style", "_initialStyle", "stylesPresetsClassNames", "text", "top", "verticalAlignment", "visible", "width", "willChangeTransform", "withExternalLayout", "viewBox", "viewBoxScale"]);
|
|
36496
|
+
const { __fromCanvasComponent = false, _forwardedOverrideId, _forwardedOverrides, _usesDOMRect, anchorLinkOffsetY, as: _as, bottom, center, children, environment: environment2 = RenderTarget.current, fonts = [], height, isEditable = false, left, name, opacity, positionSticky, positionStickyBottom, positionStickyLeft, positionStickyRight, positionStickyTop, right, rotation = 0, style, _initialStyle, stylesPresetsClassNames, text: plainText, top, verticalAlignment = 'top', visible = true, width, willChangeTransform, withExternalLayout = false, viewBox, viewBoxScale = 1 } = props, rest = __rest(props, ["__fromCanvasComponent", "_forwardedOverrideId", "_forwardedOverrides", "_usesDOMRect", "anchorLinkOffsetY", "as", "bottom", "center", "children", "environment", "fonts", "height", "isEditable", "left", "name", "opacity", "positionSticky", "positionStickyBottom", "positionStickyLeft", "positionStickyRight", "positionStickyTop", "right", "rotation", "style", "_initialStyle", "stylesPresetsClassNames", "text", "top", "verticalAlignment", "visible", "width", "willChangeTransform", "withExternalLayout", "viewBox", "viewBoxScale"]);
|
|
36470
36497
|
const parentSize = useParentSize();
|
|
36471
36498
|
const isOnCanvas = useIsOnFramerCanvas();
|
|
36472
36499
|
const inCodeComponent = (0, react_3.useContext)(ComponentContainerContext);
|
|
@@ -36478,6 +36505,11 @@ var RichTextContainer = /* @__PURE__ */ (0, react_3.forwardRef)((props, ref) =>
|
|
|
36478
36505
|
(0, react_4.useInsertionEffect)(() => {
|
|
36479
36506
|
injectComponentCSSRules();
|
|
36480
36507
|
}, []);
|
|
36508
|
+
const processedChildren = (0, react_6.useMemo)(() => {
|
|
36509
|
+
if (!children)
|
|
36510
|
+
return;
|
|
36511
|
+
return processRichTextChildren(children, stylesPresetsClassNames, plainText, anchorLinkOffsetY);
|
|
36512
|
+
}, [children, stylesPresetsClassNames, plainText, anchorLinkOffsetY,]);
|
|
36481
36513
|
if (!visible)
|
|
36482
36514
|
return null;
|
|
36483
36515
|
const isHidden = isEditable && environment2() === RenderTarget.canvas;
|
|
@@ -36546,39 +36578,79 @@ var RichTextContainer = /* @__PURE__ */ (0, react_3.forwardRef)((props, ref) =>
|
|
|
36546
36578
|
width: '100%',
|
|
36547
36579
|
height: '100%',
|
|
36548
36580
|
},
|
|
36549
|
-
children:
|
|
36581
|
+
children: processedChildren,
|
|
36550
36582
|
}) }));
|
|
36551
36583
|
}
|
|
36552
36584
|
else {
|
|
36553
36585
|
return /* @__PURE__ */ (0, jsx_runtime_1.jsx)(FitText, Object.assign(Object.assign({}, rest), { ref: containerRef, style: containerStyle, layoutId,
|
|
36554
36586
|
viewBox,
|
|
36555
|
-
viewBoxScale, transformTemplate: template, 'data-framer-name': name, 'data-framer-component-type': 'RichTextContainer', children:
|
|
36587
|
+
viewBoxScale, transformTemplate: template, 'data-framer-name': name, 'data-framer-component-type': 'RichTextContainer', children: processedChildren }));
|
|
36556
36588
|
}
|
|
36557
36589
|
}
|
|
36558
|
-
return /* @__PURE__ */ (0, jsx_runtime_1.jsx)(Component15, Object.assign(Object.assign({}, rest), { ref: containerRef, style: containerStyle, layoutId, transformTemplate: template, 'data-framer-name': name, 'data-framer-component-type': 'RichTextContainer', children:
|
|
36590
|
+
return /* @__PURE__ */ (0, jsx_runtime_1.jsx)(Component15, Object.assign(Object.assign({}, rest), { ref: containerRef, style: containerStyle, layoutId, transformTemplate: template, 'data-framer-name': name, 'data-framer-component-type': 'RichTextContainer', children: processedChildren }));
|
|
36559
36591
|
});
|
|
36560
|
-
function
|
|
36592
|
+
function processRichTextChildren(element, stylesPresetsClassNames, plainText, anchorLinkOffsetY, slugCounters = {}) {
|
|
36593
|
+
var _j;
|
|
36561
36594
|
let children = react_11.Children.toArray(element.props.children);
|
|
36562
36595
|
if (isString22(plainText)) {
|
|
36563
36596
|
children = children.slice(0, 1);
|
|
36564
36597
|
}
|
|
36565
36598
|
children = children.map((child) => {
|
|
36566
36599
|
if ((0, react_11.isValidElement)(child)) {
|
|
36567
|
-
return
|
|
36600
|
+
return processRichTextChildren(child, stylesPresetsClassNames, plainText, anchorLinkOffsetY, slugCounters);
|
|
36568
36601
|
}
|
|
36569
36602
|
if (isString22(plainText)) {
|
|
36570
36603
|
return plainText;
|
|
36571
36604
|
}
|
|
36572
36605
|
return child;
|
|
36573
36606
|
});
|
|
36574
|
-
const
|
|
36607
|
+
const _k = element.props, { ['data-preset-tag']: dataPresetTag } = _k, props = __rest(_k, ['data-preset-tag']);
|
|
36575
36608
|
if (isString22(element.type) || isMotionComponent(element.type)) {
|
|
36576
|
-
const
|
|
36609
|
+
const elementType = unwrapMotionComponent(element.type) || element.type;
|
|
36610
|
+
const tag = dataPresetTag || elementType;
|
|
36577
36611
|
const stylesPresetClassName = isString22(tag) ? stylesPresetsClassNames == null ? void 0 : stylesPresetsClassNames[tag] : void 0;
|
|
36578
36612
|
props.className = cx('framer-text', props.className, stylesPresetClassName);
|
|
36613
|
+
const isHeading = elementType === 'h1' || elementType === 'h2' || elementType === 'h3' || elementType === 'h4' ||
|
|
36614
|
+
elementType === 'h5' || elementType === 'h6';
|
|
36615
|
+
const anchorLinkStylePresetClassName = stylesPresetsClassNames == null ? void 0 : stylesPresetsClassNames['anchor'];
|
|
36616
|
+
if (isHeading && anchorLinkStylePresetClassName) {
|
|
36617
|
+
const slug = generateHeadingSlug(children, slugCounters);
|
|
36618
|
+
props.id = slug;
|
|
36619
|
+
const className2 = cx('framer-text', anchorLinkStylePresetClassName);
|
|
36620
|
+
const anchorLink = /* @__PURE__ */ (0, jsx_runtime_1.jsx)('a', {
|
|
36621
|
+
href: `#${slug}`,
|
|
36622
|
+
className: className2,
|
|
36623
|
+
children,
|
|
36624
|
+
});
|
|
36625
|
+
props.style = Object.assign(Object.assign({}, ((_j = props.style) !== null && _j !== void 0 ? _j : {})), { scrollMarginTop: anchorLinkOffsetY });
|
|
36626
|
+
children = [anchorLink,];
|
|
36627
|
+
}
|
|
36579
36628
|
}
|
|
36580
36629
|
return (0, react_11.cloneElement)(element, props, ...children);
|
|
36581
36630
|
}
|
|
36631
|
+
function generateHeadingSlug(children, slugCounters) {
|
|
36632
|
+
var _j;
|
|
36633
|
+
const headingText = children.map(extractTextFromReactNode).join('');
|
|
36634
|
+
let slug = slugify(headingText);
|
|
36635
|
+
const slugCounter = (_j = slugCounters[slug]) !== null && _j !== void 0 ? _j : 0;
|
|
36636
|
+
if (slugCounter > 0) {
|
|
36637
|
+
slug += `-${slugCounter}`;
|
|
36638
|
+
}
|
|
36639
|
+
slugCounters[slug] = slugCounter + 1;
|
|
36640
|
+
return slug;
|
|
36641
|
+
}
|
|
36642
|
+
function extractTextFromReactNode(node) {
|
|
36643
|
+
if (isString22(node) || isNumber2(node)) {
|
|
36644
|
+
return node.toString();
|
|
36645
|
+
}
|
|
36646
|
+
if ((0, react_11.isValidElement)(node)) {
|
|
36647
|
+
return extractTextFromReactNode(node.props.children);
|
|
36648
|
+
}
|
|
36649
|
+
if (Array.isArray(node)) {
|
|
36650
|
+
return node.map(extractTextFromReactNode).join('');
|
|
36651
|
+
}
|
|
36652
|
+
return '';
|
|
36653
|
+
}
|
|
36582
36654
|
var RichText = /* @__PURE__ */ (0, react_3.forwardRef)((_j, ref) => {
|
|
36583
36655
|
var { children, html, htmlFromDesign } = _j, props = __rest(_j, ["children", "html", "htmlFromDesign"]);
|
|
36584
36656
|
const content = html || children || htmlFromDesign;
|
|
@@ -36819,7 +36891,7 @@ var ImagePatternElement = ({ id: id3, path, transform: transform2, repeat, width
|
|
|
36819
36891
|
});
|
|
36820
36892
|
};
|
|
36821
36893
|
var useDOM = /* @__PURE__ */ isBrowser2();
|
|
36822
|
-
var SharedSVGEntry =
|
|
36894
|
+
var SharedSVGEntry = class {
|
|
36823
36895
|
constructor(id3, svg, innerHTML, viewBox, count = 0) {
|
|
36824
36896
|
this.id = id3;
|
|
36825
36897
|
this.svg = svg;
|
|
@@ -36828,7 +36900,7 @@ var SharedSVGEntry = /*#__PURE__*/ class {
|
|
|
36828
36900
|
this.count = count;
|
|
36829
36901
|
}
|
|
36830
36902
|
};
|
|
36831
|
-
var SharedSVGManager =
|
|
36903
|
+
var SharedSVGManager = class {
|
|
36832
36904
|
constructor() {
|
|
36833
36905
|
__publicField(this, 'entries', /* @__PURE__ */ new Map());
|
|
36834
36906
|
}
|
|
@@ -37692,7 +37764,7 @@ function getTabIndexProps(tabIndex) {
|
|
|
37692
37764
|
};
|
|
37693
37765
|
}
|
|
37694
37766
|
var keys22 = /* @__PURE__ */ new Map();
|
|
37695
|
-
var InternalID =
|
|
37767
|
+
var InternalID = class {
|
|
37696
37768
|
constructor(id3) {
|
|
37697
37769
|
this.id = id3;
|
|
37698
37770
|
__publicField(this, '_link', null);
|
|
@@ -37727,7 +37799,7 @@ var InternalID = /*#__PURE__*/ class {
|
|
|
37727
37799
|
};
|
|
37728
37800
|
exports.InternalID = InternalID;
|
|
37729
37801
|
var PathSegmentOuter = /* @__PURE__ */ (() => {
|
|
37730
|
-
const _PathSegment =
|
|
37802
|
+
const _PathSegment = class {
|
|
37731
37803
|
constructor(value) {
|
|
37732
37804
|
__publicField(this, '__class', 'PathSegment');
|
|
37733
37805
|
__publicField(this, 'x', 0);
|
|
@@ -37979,7 +38051,7 @@ function transformString(transform2) {
|
|
|
37979
38051
|
return result;
|
|
37980
38052
|
}
|
|
37981
38053
|
exports.transformString = transformString;
|
|
37982
|
-
var LinearGradientElement =
|
|
38054
|
+
var LinearGradientElement = class extends react_9.Component {
|
|
37983
38055
|
render() {
|
|
37984
38056
|
const { id: id3, stops, x1, x2, y1, y2, } = this.props;
|
|
37985
38057
|
return /* @__PURE__ */ (0, jsx_runtime_1.jsx)('linearGradient', {
|
|
@@ -37998,7 +38070,7 @@ var LinearGradientElement = /*#__PURE__*/ class extends react_9.Component {
|
|
|
37998
38070
|
});
|
|
37999
38071
|
}
|
|
38000
38072
|
};
|
|
38001
|
-
var RadialGradientElement =
|
|
38073
|
+
var RadialGradientElement = class extends react_9.Component {
|
|
38002
38074
|
render() {
|
|
38003
38075
|
const { centerAnchorX, centerAnchorY, id: id3, widthFactor, heightFactor, stops, } = this.props;
|
|
38004
38076
|
return /* @__PURE__ */ (0, jsx_runtime_1.jsx)('radialGradient', {
|
|
@@ -38017,7 +38089,7 @@ var RadialGradientElement = /*#__PURE__*/ class extends react_9.Component {
|
|
|
38017
38089
|
});
|
|
38018
38090
|
}
|
|
38019
38091
|
};
|
|
38020
|
-
var SVGRoot =
|
|
38092
|
+
var SVGRoot = class extends react_9.Component {
|
|
38021
38093
|
render() {
|
|
38022
38094
|
const { children, frame: frame2, innerRef, } = this.props;
|
|
38023
38095
|
const { width, height, } = frame2;
|