@appbaseio/reactivesearch-vue 3.0.0-alpha.4 → 3.0.0-alpha.6
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/@appbaseio/reactivesearch-vue.umd.js +1181 -1099
- package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js +5 -5
- package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
- package/dist/cjs/{Button-ad042719.js → Button-d4da7470.js} +6 -6
- package/dist/cjs/{Card-f5ab024a.js → Card-63968d94.js} +2 -2
- package/dist/cjs/{DropDown-7bd56543.js → DropDown-f48bea16.js} +1 -1
- package/dist/cjs/DynamicRangeSlider.js +4 -4
- package/dist/cjs/{Input-088dfcb4.js → Input-497be42a.js} +4 -4
- package/dist/cjs/{ListItem-d57d648d.js → ListItem-23af8974.js} +2 -2
- package/dist/cjs/MultiDropdownList.js +13 -13
- package/dist/cjs/MultiList.js +11 -11
- package/dist/cjs/MultiRange.js +3 -3
- package/dist/cjs/{Pagination-4ffc67cd.js → Pagination-b953a80a.js} +1 -1
- package/dist/cjs/RangeInput.js +3 -3
- package/dist/cjs/RangeSlider.js +1 -1
- package/dist/cjs/ReactiveBase.js +4 -4
- package/dist/cjs/{ReactiveComponent-4435adfa.js → ReactiveComponent-8180c806.js} +28 -28
- package/dist/cjs/ReactiveComponent.js +9 -9
- package/dist/cjs/ReactiveGoogleMap.js +15 -15
- package/dist/cjs/ReactiveList.js +9 -9
- package/dist/cjs/ResultCard.js +2 -2
- package/dist/cjs/ResultList.js +2 -2
- package/dist/cjs/SelectedFilters.js +2 -2
- package/dist/cjs/SingleDropdownList.js +4 -4
- package/dist/cjs/SingleList.js +2 -2
- package/dist/cjs/ToggleButton.js +2 -2
- package/dist/cjs/index.js +9 -9
- package/dist/cjs/install.js +9 -9
- package/dist/cjs/{ssr-c58b64c4.js → ssr-8dd13d43.js} +22 -3
- package/dist/cjs/version.js +1 -1
- package/dist/es/{Button-474510e3.js → Button-fd869491.js} +1 -1
- package/dist/es/{Card-38cbe652.js → Card-54b9e7a0.js} +1 -1
- package/dist/es/{DropDown-029ffd42.js → DropDown-7174661a.js} +1 -1
- package/dist/es/DynamicRangeSlider.js +4 -4
- package/dist/es/{Input-ad474a55.js → Input-f7499ef8.js} +1 -1
- package/dist/es/{ListItem-16756c02.js → ListItem-1cb1b4de.js} +1 -1
- package/dist/es/MultiDropdownList.js +13 -13
- package/dist/es/MultiList.js +11 -11
- package/dist/es/MultiRange.js +3 -3
- package/dist/es/{Pagination-72bd1d9e.js → Pagination-c2745bec.js} +1 -1
- package/dist/es/RangeInput.js +3 -3
- package/dist/es/RangeSlider.js +1 -1
- package/dist/es/ReactiveBase.js +4 -4
- package/dist/es/{ReactiveComponent-04d94e01.js → ReactiveComponent-f78ff2cd.js} +27 -27
- package/dist/es/ReactiveComponent.js +9 -9
- package/dist/es/ReactiveGoogleMap.js +13 -13
- package/dist/es/ReactiveList.js +7 -7
- package/dist/es/ResultCard.js +2 -2
- package/dist/es/ResultList.js +2 -2
- package/dist/es/SelectedFilters.js +2 -2
- package/dist/es/SingleDropdownList.js +4 -4
- package/dist/es/SingleList.js +2 -2
- package/dist/es/ToggleButton.js +2 -2
- package/dist/es/index.js +9 -9
- package/dist/es/install.js +9 -9
- package/dist/es/{ssr-e5eb1f1e.js → ssr-c630ccb9.js} +3 -3
- package/dist/es/version.js +1 -1
- package/package.json +3 -2
|
@@ -689,16 +689,6 @@
|
|
|
689
689
|
};
|
|
690
690
|
}
|
|
691
691
|
|
|
692
|
-
/*
|
|
693
|
-
* This is a dummy function to check if the function name has been altered by minification.
|
|
694
|
-
* If the function has been minified and NODE_ENV !== 'production', warn the user.
|
|
695
|
-
*/
|
|
696
|
-
|
|
697
|
-
function isCrushed() {}
|
|
698
|
-
if ( typeof isCrushed.name === 'string' && isCrushed.name !== 'isCrushed') {
|
|
699
|
-
warning('You are currently using minified code outside of NODE_ENV === "production". ' + 'This means that you are running a slower development build of Redux. ' + 'You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify ' + 'or setting mode to production in webpack (https://webpack.js.org/concepts/mode/) ' + 'to ensure you have the correct code for your production build.');
|
|
700
|
-
}
|
|
701
|
-
|
|
702
692
|
var redux = /*#__PURE__*/Object.freeze({
|
|
703
693
|
__proto__: null,
|
|
704
694
|
__DO_NOT_USE__ActionTypes: ActionTypes,
|
|
@@ -10635,674 +10625,1137 @@
|
|
|
10635
10625
|
};
|
|
10636
10626
|
};
|
|
10637
10627
|
|
|
10638
|
-
|
|
10628
|
+
/*
|
|
10629
|
+
|
|
10630
|
+
Based off glamor's StyleSheet, thanks Sunil ❤️
|
|
10631
|
+
|
|
10632
|
+
high performance StyleSheet for css-in-js systems
|
|
10633
|
+
|
|
10634
|
+
- uses multiple style tags behind the scenes for millions of rules
|
|
10635
|
+
- uses `insertRule` for appending in production for *much* faster performance
|
|
10636
|
+
|
|
10637
|
+
// usage
|
|
10638
|
+
|
|
10639
|
+
import { StyleSheet } from '@emotion/sheet'
|
|
10640
|
+
|
|
10641
|
+
let styleSheet = new StyleSheet({ key: '', container: document.head })
|
|
10642
|
+
|
|
10643
|
+
styleSheet.insert('#box { border: 1px solid red; }')
|
|
10644
|
+
- appends a css rule into the stylesheet
|
|
10645
|
+
|
|
10646
|
+
styleSheet.flush()
|
|
10647
|
+
- empties the stylesheet of all its contents
|
|
10648
|
+
|
|
10649
|
+
*/
|
|
10650
|
+
// $FlowFixMe
|
|
10651
|
+
function sheetForTag$1(tag) {
|
|
10652
|
+
if (tag.sheet) {
|
|
10653
|
+
// $FlowFixMe
|
|
10654
|
+
return tag.sheet;
|
|
10655
|
+
} // this weirdness brought to you by firefox
|
|
10656
|
+
|
|
10657
|
+
/* istanbul ignore next */
|
|
10658
|
+
|
|
10659
|
+
for (var i = 0; i < document.styleSheets.length; i++) {
|
|
10660
|
+
if (document.styleSheets[i].ownerNode === tag) {
|
|
10661
|
+
// $FlowFixMe
|
|
10662
|
+
return document.styleSheets[i];
|
|
10663
|
+
}
|
|
10664
|
+
}
|
|
10665
|
+
}
|
|
10666
|
+
function createStyleElement$1(options) {
|
|
10667
|
+
var tag = document.createElement('style');
|
|
10668
|
+
tag.setAttribute('data-emotion', options.key);
|
|
10669
|
+
if (options.nonce !== undefined) {
|
|
10670
|
+
tag.setAttribute('nonce', options.nonce);
|
|
10671
|
+
}
|
|
10672
|
+
tag.appendChild(document.createTextNode(''));
|
|
10673
|
+
tag.setAttribute('data-s', '');
|
|
10674
|
+
return tag;
|
|
10675
|
+
}
|
|
10676
|
+
var StyleSheet$1 = /*#__PURE__*/function () {
|
|
10677
|
+
// Using Node instead of HTMLElement since container may be a ShadowRoot
|
|
10678
|
+
function StyleSheet(options) {
|
|
10679
|
+
var _this = this;
|
|
10680
|
+
this._insertTag = function (tag) {
|
|
10681
|
+
var before;
|
|
10682
|
+
if (_this.tags.length === 0) {
|
|
10683
|
+
if (_this.insertionPoint) {
|
|
10684
|
+
before = _this.insertionPoint.nextSibling;
|
|
10685
|
+
} else if (_this.prepend) {
|
|
10686
|
+
before = _this.container.firstChild;
|
|
10687
|
+
} else {
|
|
10688
|
+
before = _this.before;
|
|
10689
|
+
}
|
|
10690
|
+
} else {
|
|
10691
|
+
before = _this.tags[_this.tags.length - 1].nextSibling;
|
|
10692
|
+
}
|
|
10693
|
+
_this.container.insertBefore(tag, before);
|
|
10694
|
+
_this.tags.push(tag);
|
|
10695
|
+
};
|
|
10696
|
+
this.isSpeedy = options.speedy === undefined ? "development" === 'production' : options.speedy;
|
|
10697
|
+
this.tags = [];
|
|
10698
|
+
this.ctr = 0;
|
|
10699
|
+
this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets
|
|
10700
|
+
|
|
10701
|
+
this.key = options.key;
|
|
10702
|
+
this.container = options.container;
|
|
10703
|
+
this.prepend = options.prepend;
|
|
10704
|
+
this.insertionPoint = options.insertionPoint;
|
|
10705
|
+
this.before = null;
|
|
10706
|
+
}
|
|
10707
|
+
var _proto = StyleSheet.prototype;
|
|
10708
|
+
_proto.hydrate = function hydrate(nodes) {
|
|
10709
|
+
nodes.forEach(this._insertTag);
|
|
10710
|
+
};
|
|
10711
|
+
_proto.insert = function insert(rule) {
|
|
10712
|
+
// the max length is how many rules we have per style tag, it's 65000 in speedy mode
|
|
10713
|
+
// it's 1 in dev because we insert source maps that map a single rule to a location
|
|
10714
|
+
// and you can only have one source map per style tag
|
|
10715
|
+
if (this.ctr % (this.isSpeedy ? 65000 : 1) === 0) {
|
|
10716
|
+
this._insertTag(createStyleElement$1(this));
|
|
10717
|
+
}
|
|
10718
|
+
var tag = this.tags[this.tags.length - 1];
|
|
10719
|
+
{
|
|
10720
|
+
var isImportRule = rule.charCodeAt(0) === 64 && rule.charCodeAt(1) === 105;
|
|
10721
|
+
if (isImportRule && this._alreadyInsertedOrderInsensitiveRule) {
|
|
10722
|
+
// this would only cause problem in speedy mode
|
|
10723
|
+
// but we don't want enabling speedy to affect the observable behavior
|
|
10724
|
+
// so we report this error at all times
|
|
10725
|
+
console.error("You're attempting to insert the following rule:\n" + rule + '\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules.');
|
|
10726
|
+
}
|
|
10727
|
+
this._alreadyInsertedOrderInsensitiveRule = this._alreadyInsertedOrderInsensitiveRule || !isImportRule;
|
|
10728
|
+
}
|
|
10729
|
+
if (this.isSpeedy) {
|
|
10730
|
+
var sheet = sheetForTag$1(tag);
|
|
10731
|
+
try {
|
|
10732
|
+
// this is the ultrafast version, works across browsers
|
|
10733
|
+
// the big drawback is that the css won't be editable in devtools
|
|
10734
|
+
sheet.insertRule(rule, sheet.cssRules.length);
|
|
10735
|
+
} catch (e) {
|
|
10736
|
+
if ( !/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(rule)) {
|
|
10737
|
+
console.error("There was a problem inserting the following rule: \"" + rule + "\"", e);
|
|
10738
|
+
}
|
|
10739
|
+
}
|
|
10740
|
+
} else {
|
|
10741
|
+
tag.appendChild(document.createTextNode(rule));
|
|
10742
|
+
}
|
|
10743
|
+
this.ctr++;
|
|
10744
|
+
};
|
|
10745
|
+
_proto.flush = function flush() {
|
|
10746
|
+
// $FlowFixMe
|
|
10747
|
+
this.tags.forEach(function (tag) {
|
|
10748
|
+
return tag.parentNode && tag.parentNode.removeChild(tag);
|
|
10749
|
+
});
|
|
10750
|
+
this.tags = [];
|
|
10751
|
+
this.ctr = 0;
|
|
10752
|
+
{
|
|
10753
|
+
this._alreadyInsertedOrderInsensitiveRule = false;
|
|
10754
|
+
}
|
|
10755
|
+
};
|
|
10756
|
+
return StyleSheet;
|
|
10757
|
+
}();
|
|
10639
10758
|
|
|
10640
10759
|
function memoize$1(fn) {
|
|
10641
|
-
var cache =
|
|
10760
|
+
var cache = Object.create(null);
|
|
10642
10761
|
return function (arg) {
|
|
10643
10762
|
if (cache[arg] === undefined) cache[arg] = fn(arg);
|
|
10644
10763
|
return cache[arg];
|
|
10645
10764
|
};
|
|
10646
10765
|
}
|
|
10647
10766
|
|
|
10648
|
-
var
|
|
10649
|
-
|
|
10650
|
-
|
|
10651
|
-
|
|
10652
|
-
|
|
10653
|
-
|
|
10654
|
-
boxFlexGroup: 1,
|
|
10655
|
-
boxOrdinalGroup: 1,
|
|
10656
|
-
columnCount: 1,
|
|
10657
|
-
columns: 1,
|
|
10658
|
-
flex: 1,
|
|
10659
|
-
flexGrow: 1,
|
|
10660
|
-
flexPositive: 1,
|
|
10661
|
-
flexShrink: 1,
|
|
10662
|
-
flexNegative: 1,
|
|
10663
|
-
flexOrder: 1,
|
|
10664
|
-
gridRow: 1,
|
|
10665
|
-
gridRowEnd: 1,
|
|
10666
|
-
gridRowSpan: 1,
|
|
10667
|
-
gridRowStart: 1,
|
|
10668
|
-
gridColumn: 1,
|
|
10669
|
-
gridColumnEnd: 1,
|
|
10670
|
-
gridColumnSpan: 1,
|
|
10671
|
-
gridColumnStart: 1,
|
|
10672
|
-
fontWeight: 1,
|
|
10673
|
-
lineHeight: 1,
|
|
10674
|
-
opacity: 1,
|
|
10675
|
-
order: 1,
|
|
10676
|
-
orphans: 1,
|
|
10677
|
-
tabSize: 1,
|
|
10678
|
-
widows: 1,
|
|
10679
|
-
zIndex: 1,
|
|
10680
|
-
zoom: 1,
|
|
10681
|
-
WebkitLineClamp: 1,
|
|
10682
|
-
// SVG-related properties
|
|
10683
|
-
fillOpacity: 1,
|
|
10684
|
-
floodOpacity: 1,
|
|
10685
|
-
stopOpacity: 1,
|
|
10686
|
-
strokeDasharray: 1,
|
|
10687
|
-
strokeDashoffset: 1,
|
|
10688
|
-
strokeMiterlimit: 1,
|
|
10689
|
-
strokeOpacity: 1,
|
|
10690
|
-
strokeWidth: 1
|
|
10691
|
-
};
|
|
10767
|
+
var identifierWithPointTracking$1 = function identifierWithPointTracking(begin, points, index) {
|
|
10768
|
+
var previous = 0;
|
|
10769
|
+
var character = 0;
|
|
10770
|
+
while (true) {
|
|
10771
|
+
previous = character;
|
|
10772
|
+
character = P$1(); // &\f
|
|
10692
10773
|
|
|
10693
|
-
|
|
10694
|
-
|
|
10695
|
-
function murmurhash2_32_gc(str) {
|
|
10696
|
-
var l = str.length,
|
|
10697
|
-
h = l ^ l,
|
|
10698
|
-
i = 0,
|
|
10699
|
-
k;
|
|
10700
|
-
while (l >= 4) {
|
|
10701
|
-
k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24;
|
|
10702
|
-
k = (k & 0xffff) * 0x5bd1e995 + (((k >>> 16) * 0x5bd1e995 & 0xffff) << 16);
|
|
10703
|
-
k ^= k >>> 24;
|
|
10704
|
-
k = (k & 0xffff) * 0x5bd1e995 + (((k >>> 16) * 0x5bd1e995 & 0xffff) << 16);
|
|
10705
|
-
h = (h & 0xffff) * 0x5bd1e995 + (((h >>> 16) * 0x5bd1e995 & 0xffff) << 16) ^ k;
|
|
10706
|
-
l -= 4;
|
|
10707
|
-
++i;
|
|
10708
|
-
}
|
|
10709
|
-
switch (l) {
|
|
10710
|
-
case 3:
|
|
10711
|
-
h ^= (str.charCodeAt(i + 2) & 0xff) << 16;
|
|
10712
|
-
case 2:
|
|
10713
|
-
h ^= (str.charCodeAt(i + 1) & 0xff) << 8;
|
|
10714
|
-
case 1:
|
|
10715
|
-
h ^= str.charCodeAt(i) & 0xff;
|
|
10716
|
-
h = (h & 0xffff) * 0x5bd1e995 + (((h >>> 16) * 0x5bd1e995 & 0xffff) << 16);
|
|
10717
|
-
}
|
|
10718
|
-
h ^= h >>> 13;
|
|
10719
|
-
h = (h & 0xffff) * 0x5bd1e995 + (((h >>> 16) * 0x5bd1e995 & 0xffff) << 16);
|
|
10720
|
-
h ^= h >>> 15;
|
|
10721
|
-
return (h >>> 0).toString(36);
|
|
10722
|
-
}
|
|
10723
|
-
|
|
10724
|
-
function stylis_min(W) {
|
|
10725
|
-
function M(d, c, e, h, a) {
|
|
10726
|
-
for (var m = 0, b = 0, v = 0, n = 0, q, g, x = 0, K = 0, k, u = k = q = 0, l = 0, r = 0, I = 0, t = 0, B = e.length, J = B - 1, y, f = '', p = '', F = '', G = '', C; l < B;) {
|
|
10727
|
-
g = e.charCodeAt(l);
|
|
10728
|
-
l === J && 0 !== b + n + v + m && (0 !== b && (g = 47 === b ? 10 : 47), n = v = m = 0, B++, J++);
|
|
10729
|
-
if (0 === b + n + v + m) {
|
|
10730
|
-
if (l === J && (0 < r && (f = f.replace(N, '')), 0 < f.trim().length)) {
|
|
10731
|
-
switch (g) {
|
|
10732
|
-
case 32:
|
|
10733
|
-
case 9:
|
|
10734
|
-
case 59:
|
|
10735
|
-
case 13:
|
|
10736
|
-
case 10:
|
|
10737
|
-
break;
|
|
10738
|
-
default:
|
|
10739
|
-
f += e.charAt(l);
|
|
10740
|
-
}
|
|
10741
|
-
g = 59;
|
|
10742
|
-
}
|
|
10743
|
-
switch (g) {
|
|
10744
|
-
case 123:
|
|
10745
|
-
f = f.trim();
|
|
10746
|
-
q = f.charCodeAt(0);
|
|
10747
|
-
k = 1;
|
|
10748
|
-
for (t = ++l; l < B;) {
|
|
10749
|
-
switch (g = e.charCodeAt(l)) {
|
|
10750
|
-
case 123:
|
|
10751
|
-
k++;
|
|
10752
|
-
break;
|
|
10753
|
-
case 125:
|
|
10754
|
-
k--;
|
|
10755
|
-
break;
|
|
10756
|
-
case 47:
|
|
10757
|
-
switch (g = e.charCodeAt(l + 1)) {
|
|
10758
|
-
case 42:
|
|
10759
|
-
case 47:
|
|
10760
|
-
a: {
|
|
10761
|
-
for (u = l + 1; u < J; ++u) {
|
|
10762
|
-
switch (e.charCodeAt(u)) {
|
|
10763
|
-
case 47:
|
|
10764
|
-
if (42 === g && 42 === e.charCodeAt(u - 1) && l + 2 !== u) {
|
|
10765
|
-
l = u + 1;
|
|
10766
|
-
break a;
|
|
10767
|
-
}
|
|
10768
|
-
break;
|
|
10769
|
-
case 10:
|
|
10770
|
-
if (47 === g) {
|
|
10771
|
-
l = u + 1;
|
|
10772
|
-
break a;
|
|
10773
|
-
}
|
|
10774
|
-
}
|
|
10775
|
-
}
|
|
10776
|
-
l = u;
|
|
10777
|
-
}
|
|
10778
|
-
}
|
|
10779
|
-
break;
|
|
10780
|
-
case 91:
|
|
10781
|
-
g++;
|
|
10782
|
-
case 40:
|
|
10783
|
-
g++;
|
|
10784
|
-
case 34:
|
|
10785
|
-
case 39:
|
|
10786
|
-
for (; l++ < J && e.charCodeAt(l) !== g;) {}
|
|
10787
|
-
}
|
|
10788
|
-
if (0 === k) break;
|
|
10789
|
-
l++;
|
|
10790
|
-
}
|
|
10791
|
-
k = e.substring(t, l);
|
|
10792
|
-
0 === q && (q = (f = f.replace(ca, '').trim()).charCodeAt(0));
|
|
10793
|
-
switch (q) {
|
|
10794
|
-
case 64:
|
|
10795
|
-
0 < r && (f = f.replace(N, ''));
|
|
10796
|
-
g = f.charCodeAt(1);
|
|
10797
|
-
switch (g) {
|
|
10798
|
-
case 100:
|
|
10799
|
-
case 109:
|
|
10800
|
-
case 115:
|
|
10801
|
-
case 45:
|
|
10802
|
-
r = c;
|
|
10803
|
-
break;
|
|
10804
|
-
default:
|
|
10805
|
-
r = O;
|
|
10806
|
-
}
|
|
10807
|
-
k = M(c, r, k, g, a + 1);
|
|
10808
|
-
t = k.length;
|
|
10809
|
-
0 < A && (r = X(O, f, I), C = H(3, k, r, c, D, z, t, g, a, h), f = r.join(''), void 0 !== C && 0 === (t = (k = C.trim()).length) && (g = 0, k = ''));
|
|
10810
|
-
if (0 < t) switch (g) {
|
|
10811
|
-
case 115:
|
|
10812
|
-
f = f.replace(da, ea);
|
|
10813
|
-
case 100:
|
|
10814
|
-
case 109:
|
|
10815
|
-
case 45:
|
|
10816
|
-
k = f + '{' + k + '}';
|
|
10817
|
-
break;
|
|
10818
|
-
case 107:
|
|
10819
|
-
f = f.replace(fa, '$1 $2');
|
|
10820
|
-
k = f + '{' + k + '}';
|
|
10821
|
-
k = 1 === w || 2 === w && L('@' + k, 3) ? '@-webkit-' + k + '@' + k : '@' + k;
|
|
10822
|
-
break;
|
|
10823
|
-
default:
|
|
10824
|
-
k = f + k, 112 === h && (k = (p += k, ''));
|
|
10825
|
-
} else k = '';
|
|
10826
|
-
break;
|
|
10827
|
-
default:
|
|
10828
|
-
k = M(c, X(c, f, I), k, h, a + 1);
|
|
10829
|
-
}
|
|
10830
|
-
F += k;
|
|
10831
|
-
k = I = r = u = q = 0;
|
|
10832
|
-
f = '';
|
|
10833
|
-
g = e.charCodeAt(++l);
|
|
10834
|
-
break;
|
|
10835
|
-
case 125:
|
|
10836
|
-
case 59:
|
|
10837
|
-
f = (0 < r ? f.replace(N, '') : f).trim();
|
|
10838
|
-
if (1 < (t = f.length)) switch (0 === u && (q = f.charCodeAt(0), 45 === q || 96 < q && 123 > q) && (t = (f = f.replace(' ', ':')).length), 0 < A && void 0 !== (C = H(1, f, c, d, D, z, p.length, h, a, h)) && 0 === (t = (f = C.trim()).length) && (f = '\x00\x00'), q = f.charCodeAt(0), g = f.charCodeAt(1), q) {
|
|
10839
|
-
case 0:
|
|
10840
|
-
break;
|
|
10841
|
-
case 64:
|
|
10842
|
-
if (105 === g || 99 === g) {
|
|
10843
|
-
G += f + e.charAt(l);
|
|
10844
|
-
break;
|
|
10845
|
-
}
|
|
10846
|
-
default:
|
|
10847
|
-
58 !== f.charCodeAt(t - 1) && (p += P(f, q, g, f.charCodeAt(2)));
|
|
10848
|
-
}
|
|
10849
|
-
I = r = u = q = 0;
|
|
10850
|
-
f = '';
|
|
10851
|
-
g = e.charCodeAt(++l);
|
|
10852
|
-
}
|
|
10853
|
-
}
|
|
10854
|
-
switch (g) {
|
|
10855
|
-
case 13:
|
|
10856
|
-
case 10:
|
|
10857
|
-
47 === b ? b = 0 : 0 === 1 + q && 107 !== h && 0 < f.length && (r = 1, f += '\x00');
|
|
10858
|
-
0 < A * Y && H(0, f, c, d, D, z, p.length, h, a, h);
|
|
10859
|
-
z = 1;
|
|
10860
|
-
D++;
|
|
10861
|
-
break;
|
|
10862
|
-
case 59:
|
|
10863
|
-
case 125:
|
|
10864
|
-
if (0 === b + n + v + m) {
|
|
10865
|
-
z++;
|
|
10866
|
-
break;
|
|
10867
|
-
}
|
|
10868
|
-
default:
|
|
10869
|
-
z++;
|
|
10870
|
-
y = e.charAt(l);
|
|
10871
|
-
switch (g) {
|
|
10872
|
-
case 9:
|
|
10873
|
-
case 32:
|
|
10874
|
-
if (0 === n + m + b) switch (x) {
|
|
10875
|
-
case 44:
|
|
10876
|
-
case 58:
|
|
10877
|
-
case 9:
|
|
10878
|
-
case 32:
|
|
10879
|
-
y = '';
|
|
10880
|
-
break;
|
|
10881
|
-
default:
|
|
10882
|
-
32 !== g && (y = ' ');
|
|
10883
|
-
}
|
|
10884
|
-
break;
|
|
10885
|
-
case 0:
|
|
10886
|
-
y = '\\0';
|
|
10887
|
-
break;
|
|
10888
|
-
case 12:
|
|
10889
|
-
y = '\\f';
|
|
10890
|
-
break;
|
|
10891
|
-
case 11:
|
|
10892
|
-
y = '\\v';
|
|
10893
|
-
break;
|
|
10894
|
-
case 38:
|
|
10895
|
-
0 === n + b + m && (r = I = 1, y = '\f' + y);
|
|
10896
|
-
break;
|
|
10897
|
-
case 108:
|
|
10898
|
-
if (0 === n + b + m + E && 0 < u) switch (l - u) {
|
|
10899
|
-
case 2:
|
|
10900
|
-
112 === x && 58 === e.charCodeAt(l - 3) && (E = x);
|
|
10901
|
-
case 8:
|
|
10902
|
-
111 === K && (E = K);
|
|
10903
|
-
}
|
|
10904
|
-
break;
|
|
10905
|
-
case 58:
|
|
10906
|
-
0 === n + b + m && (u = l);
|
|
10907
|
-
break;
|
|
10908
|
-
case 44:
|
|
10909
|
-
0 === b + v + n + m && (r = 1, y += '\r');
|
|
10910
|
-
break;
|
|
10911
|
-
case 34:
|
|
10912
|
-
case 39:
|
|
10913
|
-
0 === b && (n = n === g ? 0 : 0 === n ? g : n);
|
|
10914
|
-
break;
|
|
10915
|
-
case 91:
|
|
10916
|
-
0 === n + b + v && m++;
|
|
10917
|
-
break;
|
|
10918
|
-
case 93:
|
|
10919
|
-
0 === n + b + v && m--;
|
|
10920
|
-
break;
|
|
10921
|
-
case 41:
|
|
10922
|
-
0 === n + b + m && v--;
|
|
10923
|
-
break;
|
|
10924
|
-
case 40:
|
|
10925
|
-
if (0 === n + b + m) {
|
|
10926
|
-
if (0 === q) switch (2 * x + 3 * K) {
|
|
10927
|
-
case 533:
|
|
10928
|
-
break;
|
|
10929
|
-
default:
|
|
10930
|
-
q = 1;
|
|
10931
|
-
}
|
|
10932
|
-
v++;
|
|
10933
|
-
}
|
|
10934
|
-
break;
|
|
10935
|
-
case 64:
|
|
10936
|
-
0 === b + v + n + m + u + k && (k = 1);
|
|
10937
|
-
break;
|
|
10938
|
-
case 42:
|
|
10939
|
-
case 47:
|
|
10940
|
-
if (!(0 < n + m + v)) switch (b) {
|
|
10941
|
-
case 0:
|
|
10942
|
-
switch (2 * g + 3 * e.charCodeAt(l + 1)) {
|
|
10943
|
-
case 235:
|
|
10944
|
-
b = 47;
|
|
10945
|
-
break;
|
|
10946
|
-
case 220:
|
|
10947
|
-
t = l, b = 42;
|
|
10948
|
-
}
|
|
10949
|
-
break;
|
|
10950
|
-
case 42:
|
|
10951
|
-
47 === g && 42 === x && t + 2 !== l && (33 === e.charCodeAt(t + 2) && (p += e.substring(t, l + 1)), y = '', b = 0);
|
|
10952
|
-
}
|
|
10953
|
-
}
|
|
10954
|
-
0 === b && (f += y);
|
|
10955
|
-
}
|
|
10956
|
-
K = x;
|
|
10957
|
-
x = g;
|
|
10958
|
-
l++;
|
|
10959
|
-
}
|
|
10960
|
-
t = p.length;
|
|
10961
|
-
if (0 < t) {
|
|
10962
|
-
r = c;
|
|
10963
|
-
if (0 < A && (C = H(2, p, r, d, D, z, t, h, a, h), void 0 !== C && 0 === (p = C).length)) return G + p + F;
|
|
10964
|
-
p = r.join(',') + '{' + p + '}';
|
|
10965
|
-
if (0 !== w * E) {
|
|
10966
|
-
2 !== w || L(p, 2) || (E = 0);
|
|
10967
|
-
switch (E) {
|
|
10968
|
-
case 111:
|
|
10969
|
-
p = p.replace(ha, ':-moz-$1') + p;
|
|
10970
|
-
break;
|
|
10971
|
-
case 112:
|
|
10972
|
-
p = p.replace(Q, '::-webkit-input-$1') + p.replace(Q, '::-moz-$1') + p.replace(Q, ':-ms-input-$1') + p;
|
|
10973
|
-
}
|
|
10974
|
-
E = 0;
|
|
10975
|
-
}
|
|
10774
|
+
if (previous === 38 && character === 12) {
|
|
10775
|
+
points[index] = 1;
|
|
10976
10776
|
}
|
|
10977
|
-
|
|
10777
|
+
if (T$1(character)) {
|
|
10778
|
+
break;
|
|
10779
|
+
}
|
|
10780
|
+
N$1();
|
|
10978
10781
|
}
|
|
10979
|
-
|
|
10980
|
-
|
|
10981
|
-
|
|
10982
|
-
|
|
10983
|
-
|
|
10984
|
-
|
|
10782
|
+
return R$1(begin, F$1);
|
|
10783
|
+
};
|
|
10784
|
+
var toRules$1 = function toRules(parsed, points) {
|
|
10785
|
+
// pretend we've started with a comma
|
|
10786
|
+
var index = -1;
|
|
10787
|
+
var character = 44;
|
|
10788
|
+
do {
|
|
10789
|
+
switch (T$1(character)) {
|
|
10985
10790
|
case 0:
|
|
10986
|
-
|
|
10987
|
-
|
|
10988
|
-
|
|
10989
|
-
|
|
10791
|
+
// &\f
|
|
10792
|
+
if (character === 38 && P$1() === 12) {
|
|
10793
|
+
// this is not 100% correct, we don't account for literal sequences here - like for example quoted strings
|
|
10794
|
+
// stylis inserts \f after & to know when & where it should replace this sequence with the context selector
|
|
10795
|
+
// and when it should just concatenate the outer and inner selectors
|
|
10796
|
+
// it's very unlikely for this sequence to actually appear in a different context, so we just leverage this fact here
|
|
10797
|
+
points[index] = 1;
|
|
10990
10798
|
}
|
|
10799
|
+
parsed[index] += identifierWithPointTracking$1(F$1 - 1, points, index);
|
|
10991
10800
|
break;
|
|
10992
|
-
|
|
10993
|
-
|
|
10994
|
-
for (c = []; b < a; ++b) {
|
|
10995
|
-
for (var n = 0; n < m; ++n) {
|
|
10996
|
-
c[v++] = Z(d[n] + ' ', h[b], e).trim();
|
|
10997
|
-
}
|
|
10998
|
-
}
|
|
10999
|
-
}
|
|
11000
|
-
return c;
|
|
11001
|
-
}
|
|
11002
|
-
function Z(d, c, e) {
|
|
11003
|
-
var h = c.charCodeAt(0);
|
|
11004
|
-
33 > h && (h = (c = c.trim()).charCodeAt(0));
|
|
11005
|
-
switch (h) {
|
|
11006
|
-
case 38:
|
|
11007
|
-
return c.replace(F, '$1' + d.trim());
|
|
11008
|
-
case 58:
|
|
11009
|
-
return d.trim() + c.replace(F, '$1' + d.trim());
|
|
11010
|
-
default:
|
|
11011
|
-
if (0 < 1 * e && 0 < c.indexOf('\f')) return c.replace(F, (58 === d.charCodeAt(0) ? '' : '$1') + d.trim());
|
|
11012
|
-
}
|
|
11013
|
-
return d + c;
|
|
11014
|
-
}
|
|
11015
|
-
function P(d, c, e, h) {
|
|
11016
|
-
var a = d + ';',
|
|
11017
|
-
m = 2 * c + 3 * e + 4 * h;
|
|
11018
|
-
if (944 === m) {
|
|
11019
|
-
d = a.indexOf(':', 9) + 1;
|
|
11020
|
-
var b = a.substring(d, a.length - 1).trim();
|
|
11021
|
-
b = a.substring(0, d).trim() + b + ';';
|
|
11022
|
-
return 1 === w || 2 === w && L(b, 1) ? '-webkit-' + b + b : b;
|
|
11023
|
-
}
|
|
11024
|
-
if (0 === w || 2 === w && !L(a, 1)) return a;
|
|
11025
|
-
switch (m) {
|
|
11026
|
-
case 1015:
|
|
11027
|
-
return 97 === a.charCodeAt(10) ? '-webkit-' + a + a : a;
|
|
11028
|
-
case 951:
|
|
11029
|
-
return 116 === a.charCodeAt(3) ? '-webkit-' + a + a : a;
|
|
11030
|
-
case 963:
|
|
11031
|
-
return 110 === a.charCodeAt(5) ? '-webkit-' + a + a : a;
|
|
11032
|
-
case 1009:
|
|
11033
|
-
if (100 !== a.charCodeAt(4)) break;
|
|
11034
|
-
case 969:
|
|
11035
|
-
case 942:
|
|
11036
|
-
return '-webkit-' + a + a;
|
|
11037
|
-
case 978:
|
|
11038
|
-
return '-webkit-' + a + '-moz-' + a + a;
|
|
11039
|
-
case 1019:
|
|
11040
|
-
case 983:
|
|
11041
|
-
return '-webkit-' + a + '-moz-' + a + '-ms-' + a + a;
|
|
11042
|
-
case 883:
|
|
11043
|
-
if (45 === a.charCodeAt(8)) return '-webkit-' + a + a;
|
|
11044
|
-
if (0 < a.indexOf('image-set(', 11)) return a.replace(ja, '$1-webkit-$2') + a;
|
|
10801
|
+
case 2:
|
|
10802
|
+
parsed[index] += W(character);
|
|
11045
10803
|
break;
|
|
11046
|
-
case
|
|
11047
|
-
|
|
11048
|
-
|
|
11049
|
-
|
|
11050
|
-
|
|
11051
|
-
|
|
11052
|
-
|
|
11053
|
-
|
|
11054
|
-
|
|
11055
|
-
|
|
11056
|
-
|
|
11057
|
-
|
|
11058
|
-
|
|
11059
|
-
|
|
11060
|
-
|
|
11061
|
-
|
|
11062
|
-
|
|
11063
|
-
|
|
11064
|
-
|
|
11065
|
-
|
|
11066
|
-
|
|
11067
|
-
|
|
11068
|
-
|
|
11069
|
-
|
|
11070
|
-
|
|
11071
|
-
|
|
11072
|
-
|
|
11073
|
-
|
|
11074
|
-
|
|
11075
|
-
|
|
11076
|
-
|
|
11077
|
-
|
|
11078
|
-
|
|
11079
|
-
|
|
11080
|
-
|
|
11081
|
-
|
|
11082
|
-
|
|
11083
|
-
|
|
11084
|
-
|
|
11085
|
-
|
|
11086
|
-
|
|
11087
|
-
|
|
11088
|
-
|
|
11089
|
-
|
|
11090
|
-
|
|
11091
|
-
|
|
11092
|
-
|
|
11093
|
-
|
|
11094
|
-
|
|
11095
|
-
|
|
11096
|
-
|
|
11097
|
-
|
|
11098
|
-
|
|
11099
|
-
|
|
11100
|
-
|
|
11101
|
-
|
|
11102
|
-
|
|
11103
|
-
|
|
11104
|
-
|
|
10804
|
+
case 4:
|
|
10805
|
+
// comma
|
|
10806
|
+
if (character === 44) {
|
|
10807
|
+
// colon
|
|
10808
|
+
parsed[++index] = P$1() === 58 ? '&\f' : '';
|
|
10809
|
+
points[index] = parsed[index].length;
|
|
10810
|
+
break;
|
|
10811
|
+
}
|
|
10812
|
+
|
|
10813
|
+
// fallthrough
|
|
10814
|
+
|
|
10815
|
+
default:
|
|
10816
|
+
parsed[index] += k$1(character);
|
|
10817
|
+
}
|
|
10818
|
+
} while (character = N$1());
|
|
10819
|
+
return parsed;
|
|
10820
|
+
};
|
|
10821
|
+
var getRules$1 = function getRules(value, points) {
|
|
10822
|
+
return V$1(toRules$1(U$1(value), points));
|
|
10823
|
+
}; // WeakSet would be more appropriate, but only WeakMap is supported in IE11
|
|
10824
|
+
|
|
10825
|
+
var fixedElements$1 = /* #__PURE__ */new WeakMap();
|
|
10826
|
+
var compat$1 = function compat(element) {
|
|
10827
|
+
if (element.type !== 'rule' || !element.parent ||
|
|
10828
|
+
// positive .length indicates that this rule contains pseudo
|
|
10829
|
+
// negative .length indicates that this rule has been already prefixed
|
|
10830
|
+
element.length < 1) {
|
|
10831
|
+
return;
|
|
10832
|
+
}
|
|
10833
|
+
var value = element.value,
|
|
10834
|
+
parent = element.parent;
|
|
10835
|
+
var isImplicitRule = element.column === parent.column && element.line === parent.line;
|
|
10836
|
+
while (parent.type !== 'rule') {
|
|
10837
|
+
parent = parent.parent;
|
|
10838
|
+
if (!parent) return;
|
|
10839
|
+
} // short-circuit for the simplest case
|
|
10840
|
+
|
|
10841
|
+
if (element.props.length === 1 && value.charCodeAt(0) !== 58
|
|
10842
|
+
/* colon */ && !fixedElements$1.get(parent)) {
|
|
10843
|
+
return;
|
|
10844
|
+
} // if this is an implicitly inserted rule (the one eagerly inserted at the each new nested level)
|
|
10845
|
+
// then the props has already been manipulated beforehand as they that array is shared between it and its "rule parent"
|
|
10846
|
+
|
|
10847
|
+
if (isImplicitRule) {
|
|
10848
|
+
return;
|
|
10849
|
+
}
|
|
10850
|
+
fixedElements$1.set(element, true);
|
|
10851
|
+
var points = [];
|
|
10852
|
+
var rules = getRules$1(value, points);
|
|
10853
|
+
var parentRules = parent.props;
|
|
10854
|
+
for (var i = 0, k = 0; i < rules.length; i++) {
|
|
10855
|
+
for (var j = 0; j < parentRules.length; j++, k++) {
|
|
10856
|
+
element.props[k] = points[i] ? rules[i].replace(/&\f/g, parentRules[j]) : parentRules[j] + " " + rules[i];
|
|
10857
|
+
}
|
|
10858
|
+
}
|
|
10859
|
+
};
|
|
10860
|
+
var removeLabel$1 = function removeLabel(element) {
|
|
10861
|
+
if (element.type === 'decl') {
|
|
10862
|
+
var value = element.value;
|
|
10863
|
+
if (
|
|
10864
|
+
// charcode for l
|
|
10865
|
+
value.charCodeAt(0) === 108 &&
|
|
10866
|
+
// charcode for b
|
|
10867
|
+
value.charCodeAt(2) === 98) {
|
|
10868
|
+
// this ignores label
|
|
10869
|
+
element["return"] = '';
|
|
10870
|
+
element.value = '';
|
|
10871
|
+
}
|
|
10872
|
+
}
|
|
10873
|
+
};
|
|
10874
|
+
var ignoreFlag$1 = 'emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason';
|
|
10875
|
+
var isIgnoringComment$1 = function isIgnoringComment(element) {
|
|
10876
|
+
return element.type === 'comm' && element.children.indexOf(ignoreFlag$1) > -1;
|
|
10877
|
+
};
|
|
10878
|
+
var createUnsafeSelectorsAlarm$1 = function createUnsafeSelectorsAlarm(cache) {
|
|
10879
|
+
return function (element, index, children) {
|
|
10880
|
+
if (element.type !== 'rule' || cache.compat) return;
|
|
10881
|
+
var unsafePseudoClasses = element.value.match(/(:first|:nth|:nth-last)-child/g);
|
|
10882
|
+
if (unsafePseudoClasses) {
|
|
10883
|
+
var isNested = element.parent === children[0]; // in nested rules comments become children of the "auto-inserted" rule
|
|
10884
|
+
//
|
|
10885
|
+
// considering this input:
|
|
10886
|
+
// .a {
|
|
10887
|
+
// .b /* comm */ {}
|
|
10888
|
+
// color: hotpink;
|
|
10889
|
+
// }
|
|
10890
|
+
// we get output corresponding to this:
|
|
10891
|
+
// .a {
|
|
10892
|
+
// & {
|
|
10893
|
+
// /* comm */
|
|
10894
|
+
// color: hotpink;
|
|
10895
|
+
// }
|
|
10896
|
+
// .b {}
|
|
10897
|
+
// }
|
|
10898
|
+
|
|
10899
|
+
var commentContainer = isNested ? children[0].children :
|
|
10900
|
+
// global rule at the root level
|
|
10901
|
+
children;
|
|
10902
|
+
for (var i = commentContainer.length - 1; i >= 0; i--) {
|
|
10903
|
+
var node = commentContainer[i];
|
|
10904
|
+
if (node.line < element.line) {
|
|
10905
|
+
break;
|
|
10906
|
+
} // it is quite weird but comments are *usually* put at `column: element.column - 1`
|
|
10907
|
+
// so we seek *from the end* for the node that is earlier than the rule's `element` and check that
|
|
10908
|
+
// this will also match inputs like this:
|
|
10909
|
+
// .a {
|
|
10910
|
+
// /* comm */
|
|
10911
|
+
// .b {}
|
|
10912
|
+
// }
|
|
10913
|
+
//
|
|
10914
|
+
// but that is fine
|
|
10915
|
+
//
|
|
10916
|
+
// it would be the easiest to change the placement of the comment to be the first child of the rule:
|
|
10917
|
+
// .a {
|
|
10918
|
+
// .b { /* comm */ }
|
|
10919
|
+
// }
|
|
10920
|
+
// with such inputs we wouldn't have to search for the comment at all
|
|
10921
|
+
// TODO: consider changing this comment placement in the next major version
|
|
10922
|
+
|
|
10923
|
+
if (node.column < element.column) {
|
|
10924
|
+
if (isIgnoringComment$1(node)) {
|
|
10925
|
+
return;
|
|
10926
|
+
}
|
|
10927
|
+
break;
|
|
10928
|
+
}
|
|
10929
|
+
}
|
|
10930
|
+
unsafePseudoClasses.forEach(function (unsafePseudoClass) {
|
|
10931
|
+
console.error("The pseudo class \"" + unsafePseudoClass + "\" is potentially unsafe when doing server-side rendering. Try changing it to \"" + unsafePseudoClass.split('-child')[0] + "-of-type\".");
|
|
10932
|
+
});
|
|
10933
|
+
}
|
|
10934
|
+
};
|
|
10935
|
+
};
|
|
10936
|
+
var isImportRule$1 = function isImportRule(element) {
|
|
10937
|
+
return element.type.charCodeAt(1) === 105 && element.type.charCodeAt(0) === 64;
|
|
10938
|
+
};
|
|
10939
|
+
var isPrependedWithRegularRules$1 = function isPrependedWithRegularRules(index, children) {
|
|
10940
|
+
for (var i = index - 1; i >= 0; i--) {
|
|
10941
|
+
if (!isImportRule$1(children[i])) {
|
|
10942
|
+
return true;
|
|
10943
|
+
}
|
|
10944
|
+
}
|
|
10945
|
+
return false;
|
|
10946
|
+
}; // use this to remove incorrect elements from further processing
|
|
10947
|
+
// so they don't get handed to the `sheet` (or anything else)
|
|
10948
|
+
// as that could potentially lead to additional logs which in turn could be overhelming to the user
|
|
10949
|
+
|
|
10950
|
+
var nullifyElement$1 = function nullifyElement(element) {
|
|
10951
|
+
element.type = '';
|
|
10952
|
+
element.value = '';
|
|
10953
|
+
element["return"] = '';
|
|
10954
|
+
element.children = '';
|
|
10955
|
+
element.props = '';
|
|
10956
|
+
};
|
|
10957
|
+
var incorrectImportAlarm$1 = function incorrectImportAlarm(element, index, children) {
|
|
10958
|
+
if (!isImportRule$1(element)) {
|
|
10959
|
+
return;
|
|
10960
|
+
}
|
|
10961
|
+
if (element.parent) {
|
|
10962
|
+
console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles.");
|
|
10963
|
+
nullifyElement$1(element);
|
|
10964
|
+
} else if (isPrependedWithRegularRules$1(index, children)) {
|
|
10965
|
+
console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules.");
|
|
10966
|
+
nullifyElement$1(element);
|
|
10967
|
+
}
|
|
10968
|
+
};
|
|
10969
|
+
|
|
10970
|
+
/* eslint-disable no-fallthrough */
|
|
10971
|
+
|
|
10972
|
+
function prefix$1(value, length) {
|
|
10973
|
+
switch (m$1(value, length)) {
|
|
10974
|
+
// color-adjust
|
|
10975
|
+
case 5103:
|
|
10976
|
+
return a$1 + 'print-' + value + value;
|
|
10977
|
+
// animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
|
|
10978
|
+
|
|
10979
|
+
case 5737:
|
|
10980
|
+
case 4201:
|
|
10981
|
+
case 3177:
|
|
10982
|
+
case 3433:
|
|
10983
|
+
case 1641:
|
|
10984
|
+
case 4457:
|
|
10985
|
+
case 2921: // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
|
|
10986
|
+
|
|
10987
|
+
case 5572:
|
|
10988
|
+
case 6356:
|
|
10989
|
+
case 5844:
|
|
10990
|
+
case 3191:
|
|
10991
|
+
case 6645:
|
|
10992
|
+
case 3005: // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
|
|
10993
|
+
|
|
10994
|
+
case 6391:
|
|
10995
|
+
case 5879:
|
|
10996
|
+
case 5623:
|
|
10997
|
+
case 6135:
|
|
10998
|
+
case 4599:
|
|
10999
|
+
case 4855: // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
|
|
11000
|
+
|
|
11001
|
+
case 4215:
|
|
11002
|
+
case 6389:
|
|
11003
|
+
case 5109:
|
|
11004
|
+
case 5365:
|
|
11005
|
+
case 5621:
|
|
11006
|
+
case 3829:
|
|
11007
|
+
return a$1 + value + value;
|
|
11008
|
+
// appearance, user-select, transform, hyphens, text-size-adjust
|
|
11009
|
+
|
|
11010
|
+
case 5349:
|
|
11011
|
+
case 4246:
|
|
11012
|
+
case 4810:
|
|
11013
|
+
case 6968:
|
|
11014
|
+
case 2756:
|
|
11015
|
+
return a$1 + value + r$1 + value + e + value + value;
|
|
11016
|
+
// flex, flex-direction
|
|
11017
|
+
|
|
11018
|
+
case 6828:
|
|
11019
|
+
case 4268:
|
|
11020
|
+
return a$1 + value + e + value + value;
|
|
11021
|
+
// order
|
|
11022
|
+
|
|
11023
|
+
case 6165:
|
|
11024
|
+
return a$1 + value + e + 'flex-' + value + value;
|
|
11025
|
+
// align-items
|
|
11026
|
+
|
|
11027
|
+
case 5187:
|
|
11028
|
+
return a$1 + value + j$1(value, /(\w+).+(:[^]+)/, a$1 + 'box-$1$2' + e + 'flex-$1$2') + value;
|
|
11029
|
+
// align-self
|
|
11030
|
+
|
|
11031
|
+
case 5443:
|
|
11032
|
+
return a$1 + value + e + 'flex-item-' + j$1(value, /flex-|-self/, '') + value;
|
|
11033
|
+
// align-content
|
|
11034
|
+
|
|
11035
|
+
case 4675:
|
|
11036
|
+
return a$1 + value + e + 'flex-line-pack' + j$1(value, /align-content|flex-|-self/, '') + value;
|
|
11037
|
+
// flex-shrink
|
|
11038
|
+
|
|
11039
|
+
case 5548:
|
|
11040
|
+
return a$1 + value + e + j$1(value, 'shrink', 'negative') + value;
|
|
11041
|
+
// flex-basis
|
|
11042
|
+
|
|
11043
|
+
case 5292:
|
|
11044
|
+
return a$1 + value + e + j$1(value, 'basis', 'preferred-size') + value;
|
|
11045
|
+
// flex-grow
|
|
11046
|
+
|
|
11047
|
+
case 6060:
|
|
11048
|
+
return a$1 + 'box-' + j$1(value, '-grow', '') + a$1 + value + e + j$1(value, 'grow', 'positive') + value;
|
|
11049
|
+
// transition
|
|
11050
|
+
|
|
11051
|
+
case 4554:
|
|
11052
|
+
return a$1 + j$1(value, /([^-])(transform)/g, '$1' + a$1 + '$2') + value;
|
|
11053
|
+
// cursor
|
|
11054
|
+
|
|
11055
|
+
case 6187:
|
|
11056
|
+
return j$1(j$1(j$1(value, /(zoom-|grab)/, a$1 + '$1'), /(image-set)/, a$1 + '$1'), value, '') + value;
|
|
11057
|
+
// background, background-image
|
|
11058
|
+
|
|
11059
|
+
case 5495:
|
|
11060
|
+
case 3959:
|
|
11061
|
+
return j$1(value, /(image-set\([^]*)/, a$1 + '$1' + '$`$1');
|
|
11062
|
+
// justify-content
|
|
11063
|
+
|
|
11064
|
+
case 4968:
|
|
11065
|
+
return j$1(j$1(value, /(.+:)(flex-)?(.*)/, a$1 + 'box-pack:$3' + e + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + a$1 + value + value;
|
|
11066
|
+
// (margin|padding)-inline-(start|end)
|
|
11067
|
+
|
|
11068
|
+
case 4095:
|
|
11069
|
+
case 3583:
|
|
11070
|
+
case 4068:
|
|
11071
|
+
case 2532:
|
|
11072
|
+
return j$1(value, /(.+)-inline(.+)/, a$1 + '$1$2') + value;
|
|
11073
|
+
// (min|max)?(width|height|inline-size|block-size)
|
|
11074
|
+
|
|
11075
|
+
case 8116:
|
|
11076
|
+
case 7059:
|
|
11077
|
+
case 5753:
|
|
11078
|
+
case 5535:
|
|
11079
|
+
case 5445:
|
|
11080
|
+
case 5701:
|
|
11081
|
+
case 4933:
|
|
11082
|
+
case 4677:
|
|
11083
|
+
case 5533:
|
|
11084
|
+
case 5789:
|
|
11085
|
+
case 5021:
|
|
11086
|
+
case 4765:
|
|
11087
|
+
// stretch, max-content, min-content, fill-available
|
|
11088
|
+
if (A$1(value) - 1 - length > 6) switch (C$1(value, length + 1)) {
|
|
11089
|
+
// (m)ax-content, (m)in-content
|
|
11090
|
+
case 109:
|
|
11091
|
+
// -
|
|
11092
|
+
if (C$1(value, length + 4) !== 45) break;
|
|
11093
|
+
// (f)ill-available, (f)it-content
|
|
11094
|
+
|
|
11095
|
+
case 102:
|
|
11096
|
+
return j$1(value, /(.+:)(.+)-([^]+)/, '$1' + a$1 + '$2-$3' + '$1' + r$1 + (C$1(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;
|
|
11097
|
+
// (s)tretch
|
|
11098
|
+
|
|
11099
|
+
case 115:
|
|
11100
|
+
return ~z$1(value, 'stretch') ? prefix$1(j$1(value, 'stretch', 'fill-available'), length) + value : value;
|
|
11101
|
+
}
|
|
11102
|
+
break;
|
|
11103
|
+
// position: sticky
|
|
11104
|
+
|
|
11105
|
+
case 4949:
|
|
11106
|
+
// (s)ticky?
|
|
11107
|
+
if (C$1(value, length + 1) !== 115) break;
|
|
11108
|
+
// display: (flex|inline-flex)
|
|
11109
|
+
|
|
11110
|
+
case 6444:
|
|
11111
|
+
switch (C$1(value, A$1(value) - 3 - (~z$1(value, '!important') && 10))) {
|
|
11112
|
+
// stic(k)y
|
|
11113
|
+
case 107:
|
|
11114
|
+
return j$1(value, ':', ':' + a$1) + value;
|
|
11115
|
+
// (inline-)?fl(e)x
|
|
11116
|
+
|
|
11117
|
+
case 101:
|
|
11118
|
+
return j$1(value, /(.+:)([^;!]+)(;|!.+)?/, '$1' + a$1 + (C$1(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + a$1 + '$2$3' + '$1' + e + '$2box$3') + value;
|
|
11119
|
+
}
|
|
11120
|
+
break;
|
|
11121
|
+
// writing-mode
|
|
11122
|
+
|
|
11123
|
+
case 5936:
|
|
11124
|
+
switch (C$1(value, length + 11)) {
|
|
11125
|
+
// vertical-l(r)
|
|
11126
|
+
case 114:
|
|
11127
|
+
return a$1 + value + e + j$1(value, /[svh]\w+-[tblr]{2}/, 'tb') + value;
|
|
11128
|
+
// vertical-r(l)
|
|
11129
|
+
|
|
11130
|
+
case 108:
|
|
11131
|
+
return a$1 + value + e + j$1(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value;
|
|
11132
|
+
// horizontal(-)tb
|
|
11133
|
+
|
|
11134
|
+
case 45:
|
|
11135
|
+
return a$1 + value + e + j$1(value, /[svh]\w+-[tblr]{2}/, 'lr') + value;
|
|
11136
|
+
}
|
|
11137
|
+
return a$1 + value + e + value + value;
|
|
11138
|
+
}
|
|
11139
|
+
return value;
|
|
11140
|
+
}
|
|
11141
|
+
var prefixer$1 = function prefixer(element, index, children, callback) {
|
|
11142
|
+
if (element.length > -1) if (!element["return"]) switch (element.type) {
|
|
11143
|
+
case s$1:
|
|
11144
|
+
element["return"] = prefix$1(element.value, element.length);
|
|
11145
|
+
break;
|
|
11146
|
+
case h$1:
|
|
11147
|
+
return fe([J$1(element, {
|
|
11148
|
+
value: j$1(element.value, '@', '@' + a$1)
|
|
11149
|
+
})], callback);
|
|
11150
|
+
case c$1:
|
|
11151
|
+
if (element.length) return q$1(element.props, function (value) {
|
|
11152
|
+
switch (y$1(value, /(::plac\w+|:read-\w+)/)) {
|
|
11153
|
+
// :read-(only|write)
|
|
11154
|
+
case ':read-only':
|
|
11155
|
+
case ':read-write':
|
|
11156
|
+
return fe([J$1(element, {
|
|
11157
|
+
props: [j$1(value, /:(read-\w+)/, ':' + r$1 + '$1')]
|
|
11158
|
+
})], callback);
|
|
11159
|
+
// :placeholder
|
|
11160
|
+
|
|
11161
|
+
case '::placeholder':
|
|
11162
|
+
return fe([J$1(element, {
|
|
11163
|
+
props: [j$1(value, /:(plac\w+)/, ':' + a$1 + 'input-$1')]
|
|
11164
|
+
}), J$1(element, {
|
|
11165
|
+
props: [j$1(value, /:(plac\w+)/, ':' + r$1 + '$1')]
|
|
11166
|
+
}), J$1(element, {
|
|
11167
|
+
props: [j$1(value, /:(plac\w+)/, e + 'input-$1')]
|
|
11168
|
+
})], callback);
|
|
11169
|
+
}
|
|
11170
|
+
return '';
|
|
11171
|
+
});
|
|
11172
|
+
}
|
|
11173
|
+
};
|
|
11174
|
+
var defaultStylisPlugins$1 = [prefixer$1];
|
|
11175
|
+
var createCache$1 = function createCache(options) {
|
|
11176
|
+
var key = options.key;
|
|
11177
|
+
if ( !key) {
|
|
11178
|
+
throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\n" + "If multiple caches share the same key they might \"fight\" for each other's style elements.");
|
|
11179
|
+
}
|
|
11180
|
+
if (key === 'css') {
|
|
11181
|
+
var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])"); // get SSRed styles out of the way of React's hydration
|
|
11182
|
+
// document.head is a safe place to move them to(though note document.head is not necessarily the last place they will be)
|
|
11183
|
+
// note this very very intentionally targets all style elements regardless of the key to ensure
|
|
11184
|
+
// that creating a cache works inside of render of a React component
|
|
11185
|
+
|
|
11186
|
+
Array.prototype.forEach.call(ssrStyles, function (node) {
|
|
11187
|
+
// we want to only move elements which have a space in the data-emotion attribute value
|
|
11188
|
+
// because that indicates that it is an Emotion 11 server-side rendered style elements
|
|
11189
|
+
// while we will already ignore Emotion 11 client-side inserted styles because of the :not([data-s]) part in the selector
|
|
11190
|
+
// Emotion 10 client-side inserted styles did not have data-s (but importantly did not have a space in their data-emotion attributes)
|
|
11191
|
+
// so checking for the space ensures that loading Emotion 11 after Emotion 10 has inserted some styles
|
|
11192
|
+
// will not result in the Emotion 10 styles being destroyed
|
|
11193
|
+
var dataEmotionAttribute = node.getAttribute('data-emotion');
|
|
11194
|
+
if (dataEmotionAttribute.indexOf(' ') === -1) {
|
|
11195
|
+
return;
|
|
11196
|
+
}
|
|
11197
|
+
document.head.appendChild(node);
|
|
11198
|
+
node.setAttribute('data-s', '');
|
|
11199
|
+
});
|
|
11200
|
+
}
|
|
11201
|
+
var stylisPlugins = options.stylisPlugins || defaultStylisPlugins$1;
|
|
11202
|
+
{
|
|
11203
|
+
// $FlowFixMe
|
|
11204
|
+
if (/[^a-z-]/.test(key)) {
|
|
11205
|
+
throw new Error("Emotion key must only contain lower case alphabetical characters and - but \"" + key + "\" was passed");
|
|
11206
|
+
}
|
|
11207
|
+
}
|
|
11208
|
+
var inserted = {};
|
|
11209
|
+
var container;
|
|
11210
|
+
var nodesToHydrate = [];
|
|
11211
|
+
{
|
|
11212
|
+
container = options.container || document.head;
|
|
11213
|
+
Array.prototype.forEach.call(
|
|
11214
|
+
// this means we will ignore elements which don't have a space in them which
|
|
11215
|
+
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
11216
|
+
document.querySelectorAll("style[data-emotion^=\"" + key + " \"]"), function (node) {
|
|
11217
|
+
var attrib = node.getAttribute("data-emotion").split(' '); // $FlowFixMe
|
|
11218
|
+
|
|
11219
|
+
for (var i = 1; i < attrib.length; i++) {
|
|
11220
|
+
inserted[attrib[i]] = true;
|
|
11221
|
+
}
|
|
11222
|
+
nodesToHydrate.push(node);
|
|
11223
|
+
});
|
|
11224
|
+
}
|
|
11225
|
+
var _insert;
|
|
11226
|
+
var omnipresentPlugins = [compat$1, removeLabel$1];
|
|
11227
|
+
{
|
|
11228
|
+
omnipresentPlugins.push(createUnsafeSelectorsAlarm$1({
|
|
11229
|
+
get compat() {
|
|
11230
|
+
return cache.compat;
|
|
11231
|
+
}
|
|
11232
|
+
}), incorrectImportAlarm$1);
|
|
11233
|
+
}
|
|
11234
|
+
{
|
|
11235
|
+
var currentSheet;
|
|
11236
|
+
var finalizingPlugins = [oe, function (element) {
|
|
11237
|
+
if (!element.root) {
|
|
11238
|
+
if (element["return"]) {
|
|
11239
|
+
currentSheet.insert(element["return"]);
|
|
11240
|
+
} else if (element.value && element.type !== n$1) {
|
|
11241
|
+
// insert empty rule in non-production environments
|
|
11242
|
+
// so @emotion/jest can grab `key` from the (JS)DOM for caches without any rules inserted yet
|
|
11243
|
+
currentSheet.insert(element.value + "{}");
|
|
11244
|
+
}
|
|
11245
|
+
}
|
|
11246
|
+
} ];
|
|
11247
|
+
var serializer = le(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));
|
|
11248
|
+
var stylis = function stylis(styles) {
|
|
11249
|
+
return fe(ne(styles), serializer);
|
|
11250
|
+
};
|
|
11251
|
+
_insert = function insert(selector, serialized, sheet, shouldCache) {
|
|
11252
|
+
currentSheet = sheet;
|
|
11253
|
+
if ( serialized.map !== undefined) {
|
|
11254
|
+
currentSheet = {
|
|
11255
|
+
insert: function insert(rule) {
|
|
11256
|
+
sheet.insert(rule + serialized.map);
|
|
11257
|
+
}
|
|
11258
|
+
};
|
|
11259
|
+
}
|
|
11260
|
+
stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles);
|
|
11261
|
+
if (shouldCache) {
|
|
11262
|
+
cache.inserted[serialized.name] = true;
|
|
11263
|
+
}
|
|
11264
|
+
};
|
|
11265
|
+
}
|
|
11266
|
+
var cache = {
|
|
11267
|
+
key: key,
|
|
11268
|
+
sheet: new StyleSheet$1({
|
|
11269
|
+
key: key,
|
|
11270
|
+
container: container,
|
|
11271
|
+
nonce: options.nonce,
|
|
11272
|
+
speedy: options.speedy,
|
|
11273
|
+
prepend: options.prepend,
|
|
11274
|
+
insertionPoint: options.insertionPoint
|
|
11275
|
+
}),
|
|
11276
|
+
nonce: options.nonce,
|
|
11277
|
+
inserted: inserted,
|
|
11278
|
+
registered: {},
|
|
11279
|
+
insert: _insert
|
|
11280
|
+
};
|
|
11281
|
+
cache.sheet.hydrate(nodesToHydrate);
|
|
11282
|
+
return cache;
|
|
11283
|
+
};
|
|
11284
|
+
|
|
11285
|
+
/* eslint-disable */
|
|
11286
|
+
// Inspired by https://github.com/garycourt/murmurhash-js
|
|
11287
|
+
// Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86
|
|
11288
|
+
function murmur2$1(str) {
|
|
11289
|
+
// 'm' and 'r' are mixing constants generated offline.
|
|
11290
|
+
// They're not really 'magic', they just happen to work well.
|
|
11291
|
+
// const m = 0x5bd1e995;
|
|
11292
|
+
// const r = 24;
|
|
11293
|
+
// Initialize the hash
|
|
11294
|
+
var h = 0; // Mix 4 bytes at a time into the hash
|
|
11295
|
+
|
|
11296
|
+
var k,
|
|
11297
|
+
i = 0,
|
|
11298
|
+
len = str.length;
|
|
11299
|
+
for (; len >= 4; ++i, len -= 4) {
|
|
11300
|
+
k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24;
|
|
11301
|
+
k = /* Math.imul(k, m): */
|
|
11302
|
+
(k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16);
|
|
11303
|
+
k ^= /* k >>> r: */
|
|
11304
|
+
k >>> 24;
|
|
11305
|
+
h = /* Math.imul(k, m): */
|
|
11306
|
+
(k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16) ^ /* Math.imul(h, m): */
|
|
11307
|
+
(h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
|
|
11308
|
+
} // Handle the last few bytes of the input array
|
|
11309
|
+
|
|
11310
|
+
switch (len) {
|
|
11311
|
+
case 3:
|
|
11312
|
+
h ^= (str.charCodeAt(i + 2) & 0xff) << 16;
|
|
11313
|
+
case 2:
|
|
11314
|
+
h ^= (str.charCodeAt(i + 1) & 0xff) << 8;
|
|
11315
|
+
case 1:
|
|
11316
|
+
h ^= str.charCodeAt(i) & 0xff;
|
|
11317
|
+
h = /* Math.imul(h, m): */
|
|
11318
|
+
(h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
|
|
11319
|
+
} // Do a few final mixes of the hash to ensure the last few
|
|
11320
|
+
// bytes are well-incorporated.
|
|
11321
|
+
|
|
11322
|
+
h ^= h >>> 13;
|
|
11323
|
+
h = /* Math.imul(h, m): */
|
|
11324
|
+
(h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
|
|
11325
|
+
return ((h ^ h >>> 15) >>> 0).toString(36);
|
|
11326
|
+
}
|
|
11327
|
+
|
|
11328
|
+
var unitlessKeys$1 = {
|
|
11329
|
+
animationIterationCount: 1,
|
|
11330
|
+
borderImageOutset: 1,
|
|
11331
|
+
borderImageSlice: 1,
|
|
11332
|
+
borderImageWidth: 1,
|
|
11333
|
+
boxFlex: 1,
|
|
11334
|
+
boxFlexGroup: 1,
|
|
11335
|
+
boxOrdinalGroup: 1,
|
|
11336
|
+
columnCount: 1,
|
|
11337
|
+
columns: 1,
|
|
11338
|
+
flex: 1,
|
|
11339
|
+
flexGrow: 1,
|
|
11340
|
+
flexPositive: 1,
|
|
11341
|
+
flexShrink: 1,
|
|
11342
|
+
flexNegative: 1,
|
|
11343
|
+
flexOrder: 1,
|
|
11344
|
+
gridRow: 1,
|
|
11345
|
+
gridRowEnd: 1,
|
|
11346
|
+
gridRowSpan: 1,
|
|
11347
|
+
gridRowStart: 1,
|
|
11348
|
+
gridColumn: 1,
|
|
11349
|
+
gridColumnEnd: 1,
|
|
11350
|
+
gridColumnSpan: 1,
|
|
11351
|
+
gridColumnStart: 1,
|
|
11352
|
+
msGridRow: 1,
|
|
11353
|
+
msGridRowSpan: 1,
|
|
11354
|
+
msGridColumn: 1,
|
|
11355
|
+
msGridColumnSpan: 1,
|
|
11356
|
+
fontWeight: 1,
|
|
11357
|
+
lineHeight: 1,
|
|
11358
|
+
opacity: 1,
|
|
11359
|
+
order: 1,
|
|
11360
|
+
orphans: 1,
|
|
11361
|
+
tabSize: 1,
|
|
11362
|
+
widows: 1,
|
|
11363
|
+
zIndex: 1,
|
|
11364
|
+
zoom: 1,
|
|
11365
|
+
WebkitLineClamp: 1,
|
|
11366
|
+
// SVG-related properties
|
|
11367
|
+
fillOpacity: 1,
|
|
11368
|
+
floodOpacity: 1,
|
|
11369
|
+
stopOpacity: 1,
|
|
11370
|
+
strokeDasharray: 1,
|
|
11371
|
+
strokeDashoffset: 1,
|
|
11372
|
+
strokeMiterlimit: 1,
|
|
11373
|
+
strokeOpacity: 1,
|
|
11374
|
+
strokeWidth: 1
|
|
11375
|
+
};
|
|
11376
|
+
|
|
11377
|
+
var ILLEGAL_ESCAPE_SEQUENCE_ERROR$2 = "You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences";
|
|
11378
|
+
var UNDEFINED_AS_OBJECT_KEY_ERROR$1 = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).";
|
|
11379
|
+
var hyphenateRegex$1 = /[A-Z]|^ms/g;
|
|
11380
|
+
var animationRegex$1 = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
|
|
11381
|
+
var isCustomProperty$1 = function isCustomProperty(property) {
|
|
11382
|
+
return property.charCodeAt(1) === 45;
|
|
11383
|
+
};
|
|
11384
|
+
var isProcessableValue$1 = function isProcessableValue(value) {
|
|
11385
|
+
return value != null && typeof value !== 'boolean';
|
|
11386
|
+
};
|
|
11387
|
+
var processStyleName$1 = /* #__PURE__ */memoize$1(function (styleName) {
|
|
11388
|
+
return isCustomProperty$1(styleName) ? styleName : styleName.replace(hyphenateRegex$1, '-$&').toLowerCase();
|
|
11389
|
+
});
|
|
11390
|
+
var processStyleValue$1 = function processStyleValue(key, value) {
|
|
11391
|
+
switch (key) {
|
|
11392
|
+
case 'animation':
|
|
11393
|
+
case 'animationName':
|
|
11394
|
+
{
|
|
11395
|
+
if (typeof value === 'string') {
|
|
11396
|
+
return value.replace(animationRegex$1, function (match, p1, p2) {
|
|
11397
|
+
cursor$1 = {
|
|
11398
|
+
name: p1,
|
|
11399
|
+
styles: p2,
|
|
11400
|
+
next: cursor$1
|
|
11401
|
+
};
|
|
11402
|
+
return p1;
|
|
11403
|
+
});
|
|
11105
11404
|
}
|
|
11106
|
-
|
|
11107
|
-
|
|
11108
|
-
|
|
11109
|
-
|
|
11110
|
-
|
|
11111
|
-
|
|
11112
|
-
|
|
11113
|
-
|
|
11114
|
-
|
|
11115
|
-
|
|
11116
|
-
|
|
11117
|
-
|
|
11118
|
-
|
|
11119
|
-
|
|
11120
|
-
|
|
11121
|
-
|
|
11122
|
-
|
|
11123
|
-
|
|
11124
|
-
}
|
|
11125
|
-
function ea(d, c) {
|
|
11126
|
-
var e = P(c, c.charCodeAt(0), c.charCodeAt(1), c.charCodeAt(2));
|
|
11127
|
-
return e !== c + ';' ? e.replace(oa, ' or ($1)').substring(4) : '(' + c + ')';
|
|
11128
|
-
}
|
|
11129
|
-
function H(d, c, e, h, a, m, b, v, n, q) {
|
|
11130
|
-
for (var g = 0, x = c, w; g < A; ++g) {
|
|
11131
|
-
switch (w = S[g].call(B, d, x, e, h, a, m, b, v, n, q)) {
|
|
11132
|
-
case void 0:
|
|
11133
|
-
case !1:
|
|
11134
|
-
case !0:
|
|
11135
|
-
case null:
|
|
11136
|
-
break;
|
|
11137
|
-
default:
|
|
11138
|
-
x = w;
|
|
11405
|
+
}
|
|
11406
|
+
}
|
|
11407
|
+
if (unitlessKeys$1[key] !== 1 && !isCustomProperty$1(key) && typeof value === 'number' && value !== 0) {
|
|
11408
|
+
return value + 'px';
|
|
11409
|
+
}
|
|
11410
|
+
return value;
|
|
11411
|
+
};
|
|
11412
|
+
{
|
|
11413
|
+
var contentValuePattern$1 = /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/;
|
|
11414
|
+
var contentValues$1 = ['normal', 'none', 'initial', 'inherit', 'unset'];
|
|
11415
|
+
var oldProcessStyleValue$1 = processStyleValue$1;
|
|
11416
|
+
var msPattern$1 = /^-ms-/;
|
|
11417
|
+
var hyphenPattern$1 = /-(.)/g;
|
|
11418
|
+
var hyphenatedCache$1 = {};
|
|
11419
|
+
processStyleValue$1 = function processStyleValue(key, value) {
|
|
11420
|
+
if (key === 'content') {
|
|
11421
|
+
if (typeof value !== 'string' || contentValues$1.indexOf(value) === -1 && !contentValuePattern$1.test(value) && (value.charAt(0) !== value.charAt(value.length - 1) || value.charAt(0) !== '"' && value.charAt(0) !== "'")) {
|
|
11422
|
+
throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"" + value + "\"'`");
|
|
11139
11423
|
}
|
|
11140
11424
|
}
|
|
11141
|
-
|
|
11425
|
+
var processed = oldProcessStyleValue$1(key, value);
|
|
11426
|
+
if (processed !== '' && !isCustomProperty$1(key) && key.indexOf('-') !== -1 && hyphenatedCache$1[key] === undefined) {
|
|
11427
|
+
hyphenatedCache$1[key] = true;
|
|
11428
|
+
console.error("Using kebab-case for css properties in objects is not supported. Did you mean " + key.replace(msPattern$1, 'ms-').replace(hyphenPattern$1, function (str, _char) {
|
|
11429
|
+
return _char.toUpperCase();
|
|
11430
|
+
}) + "?");
|
|
11431
|
+
}
|
|
11432
|
+
return processed;
|
|
11433
|
+
};
|
|
11434
|
+
}
|
|
11435
|
+
var noComponentSelectorMessage$1 = 'Component selectors can only be used in conjunction with ' + '@emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware ' + 'compiler transform.';
|
|
11436
|
+
function handleInterpolation$1(mergedProps, registered, interpolation) {
|
|
11437
|
+
if (interpolation == null) {
|
|
11438
|
+
return '';
|
|
11142
11439
|
}
|
|
11143
|
-
|
|
11144
|
-
|
|
11145
|
-
|
|
11146
|
-
|
|
11147
|
-
|
|
11148
|
-
|
|
11149
|
-
|
|
11150
|
-
|
|
11151
|
-
|
|
11152
|
-
|
|
11153
|
-
|
|
11440
|
+
if (interpolation.__emotion_styles !== undefined) {
|
|
11441
|
+
if ( interpolation.toString() === 'NO_COMPONENT_SELECTOR') {
|
|
11442
|
+
throw new Error(noComponentSelectorMessage$1);
|
|
11443
|
+
}
|
|
11444
|
+
return interpolation;
|
|
11445
|
+
}
|
|
11446
|
+
switch (typeof interpolation) {
|
|
11447
|
+
case 'boolean':
|
|
11448
|
+
{
|
|
11449
|
+
return '';
|
|
11450
|
+
}
|
|
11451
|
+
case 'object':
|
|
11452
|
+
{
|
|
11453
|
+
if (interpolation.anim === 1) {
|
|
11454
|
+
cursor$1 = {
|
|
11455
|
+
name: interpolation.name,
|
|
11456
|
+
styles: interpolation.styles,
|
|
11457
|
+
next: cursor$1
|
|
11458
|
+
};
|
|
11459
|
+
return interpolation.name;
|
|
11460
|
+
}
|
|
11461
|
+
if (interpolation.styles !== undefined) {
|
|
11462
|
+
var next = interpolation.next;
|
|
11463
|
+
if (next !== undefined) {
|
|
11464
|
+
// not the most efficient thing ever but this is a pretty rare case
|
|
11465
|
+
// and there will be very few iterations of this generally
|
|
11466
|
+
while (next !== undefined) {
|
|
11467
|
+
cursor$1 = {
|
|
11468
|
+
name: next.name,
|
|
11469
|
+
styles: next.styles,
|
|
11470
|
+
next: cursor$1
|
|
11471
|
+
};
|
|
11472
|
+
next = next.next;
|
|
11154
11473
|
}
|
|
11155
|
-
|
|
11156
|
-
|
|
11157
|
-
|
|
11158
|
-
|
|
11159
|
-
|
|
11160
|
-
|
|
11161
|
-
}
|
|
11162
|
-
|
|
11163
|
-
|
|
11164
|
-
|
|
11165
|
-
|
|
11166
|
-
|
|
11167
|
-
|
|
11168
|
-
|
|
11169
|
-
|
|
11170
|
-
|
|
11171
|
-
|
|
11172
|
-
|
|
11173
|
-
|
|
11174
|
-
|
|
11175
|
-
|
|
11176
|
-
|
|
11177
|
-
|
|
11178
|
-
|
|
11179
|
-
|
|
11180
|
-
|
|
11181
|
-
|
|
11182
|
-
|
|
11183
|
-
|
|
11184
|
-
|
|
11185
|
-
|
|
11186
|
-
|
|
11187
|
-
|
|
11188
|
-
|
|
11189
|
-
|
|
11190
|
-
|
|
11191
|
-
|
|
11192
|
-
|
|
11193
|
-
|
|
11194
|
-
|
|
11195
|
-
|
|
11196
|
-
|
|
11197
|
-
|
|
11198
|
-
|
|
11199
|
-
|
|
11200
|
-
|
|
11201
|
-
|
|
11202
|
-
|
|
11203
|
-
|
|
11204
|
-
|
|
11205
|
-
|
|
11206
|
-
|
|
11207
|
-
|
|
11208
|
-
|
|
11209
|
-
|
|
11210
|
-
|
|
11211
|
-
|
|
11212
|
-
|
|
11213
|
-
|
|
11214
|
-
|
|
11215
|
-
|
|
11216
|
-
|
|
11217
|
-
|
|
11218
|
-
|
|
11219
|
-
|
|
11220
|
-
(function (factory) {
|
|
11221
|
-
module['exports'] = factory() ;
|
|
11222
|
-
})(function () {
|
|
11223
|
-
|
|
11224
|
-
return function (insertRule) {
|
|
11225
|
-
var delimiter = '/*|*/';
|
|
11226
|
-
var needle = delimiter + '}';
|
|
11227
|
-
function toSheet(block) {
|
|
11228
|
-
if (block) try {
|
|
11229
|
-
insertRule(block + '}');
|
|
11230
|
-
} catch (e) {}
|
|
11231
|
-
}
|
|
11232
|
-
return function ruleSheet(context, content, selectors, parents, line, column, length, ns, depth, at) {
|
|
11233
|
-
switch (context) {
|
|
11234
|
-
// property
|
|
11235
|
-
case 1:
|
|
11236
|
-
// @import
|
|
11237
|
-
if (depth === 0 && content.charCodeAt(0) === 64) return insertRule(content + ';'), '';
|
|
11238
|
-
break;
|
|
11239
|
-
// selector
|
|
11240
|
-
case 2:
|
|
11241
|
-
if (ns === 0) return content + delimiter;
|
|
11242
|
-
break;
|
|
11243
|
-
// at-rule
|
|
11244
|
-
case 3:
|
|
11245
|
-
switch (ns) {
|
|
11246
|
-
// @font-face, @page
|
|
11247
|
-
case 102:
|
|
11248
|
-
case 112:
|
|
11249
|
-
return insertRule(selectors[0] + content), '';
|
|
11250
|
-
default:
|
|
11251
|
-
return content + (at === 0 ? delimiter : '');
|
|
11474
|
+
}
|
|
11475
|
+
var styles = interpolation.styles + ";";
|
|
11476
|
+
if ( interpolation.map !== undefined) {
|
|
11477
|
+
styles += interpolation.map;
|
|
11478
|
+
}
|
|
11479
|
+
return styles;
|
|
11480
|
+
}
|
|
11481
|
+
return createStringFromObject$1(mergedProps, registered, interpolation);
|
|
11482
|
+
}
|
|
11483
|
+
case 'function':
|
|
11484
|
+
{
|
|
11485
|
+
if (mergedProps !== undefined) {
|
|
11486
|
+
var previousCursor = cursor$1;
|
|
11487
|
+
var result = interpolation(mergedProps);
|
|
11488
|
+
cursor$1 = previousCursor;
|
|
11489
|
+
return handleInterpolation$1(mergedProps, registered, result);
|
|
11490
|
+
} else {
|
|
11491
|
+
console.error('Functions that are interpolated in css calls will be stringified.\n' + 'If you want to have a css call based on props, create a function that returns a css call like this\n' + 'let dynamicStyle = (props) => css`color: ${props.color}`\n' + 'It can be called directly with props or interpolated in a styled call like this\n' + "let SomeComponent = styled('div')`${dynamicStyle}`");
|
|
11492
|
+
}
|
|
11493
|
+
break;
|
|
11494
|
+
}
|
|
11495
|
+
case 'string':
|
|
11496
|
+
{
|
|
11497
|
+
var matched = [];
|
|
11498
|
+
var replaced = interpolation.replace(animationRegex$1, function (match, p1, p2) {
|
|
11499
|
+
var fakeVarName = "animation" + matched.length;
|
|
11500
|
+
matched.push("const " + fakeVarName + " = keyframes`" + p2.replace(/^@keyframes animation-\w+/, '') + "`");
|
|
11501
|
+
return "${" + fakeVarName + "}";
|
|
11502
|
+
});
|
|
11503
|
+
if (matched.length) {
|
|
11504
|
+
console.error('`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\n' + 'Instead of doing this:\n\n' + [].concat(matched, ["`" + replaced + "`"]).join('\n') + '\n\nYou should wrap it with `css` like this:\n\n' + ("css`" + replaced + "`"));
|
|
11505
|
+
}
|
|
11506
|
+
}
|
|
11507
|
+
break;
|
|
11508
|
+
} // finalize string values (regular strings and functions interpolated into css calls)
|
|
11509
|
+
|
|
11510
|
+
if (registered == null) {
|
|
11511
|
+
return interpolation;
|
|
11512
|
+
}
|
|
11513
|
+
var cached = registered[interpolation];
|
|
11514
|
+
return cached !== undefined ? cached : interpolation;
|
|
11515
|
+
}
|
|
11516
|
+
function createStringFromObject$1(mergedProps, registered, obj) {
|
|
11517
|
+
var string = '';
|
|
11518
|
+
if (Array.isArray(obj)) {
|
|
11519
|
+
for (var i = 0; i < obj.length; i++) {
|
|
11520
|
+
string += handleInterpolation$1(mergedProps, registered, obj[i]) + ";";
|
|
11521
|
+
}
|
|
11522
|
+
} else {
|
|
11523
|
+
for (var _key in obj) {
|
|
11524
|
+
var value = obj[_key];
|
|
11525
|
+
if (typeof value !== 'object') {
|
|
11526
|
+
if (registered != null && registered[value] !== undefined) {
|
|
11527
|
+
string += _key + "{" + registered[value] + "}";
|
|
11528
|
+
} else if (isProcessableValue$1(value)) {
|
|
11529
|
+
string += processStyleName$1(_key) + ":" + processStyleValue$1(_key, value) + ";";
|
|
11530
|
+
}
|
|
11531
|
+
} else {
|
|
11532
|
+
if (_key === 'NO_COMPONENT_SELECTOR' && "development" !== 'production') {
|
|
11533
|
+
throw new Error(noComponentSelectorMessage$1);
|
|
11534
|
+
}
|
|
11535
|
+
if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {
|
|
11536
|
+
for (var _i = 0; _i < value.length; _i++) {
|
|
11537
|
+
if (isProcessableValue$1(value[_i])) {
|
|
11538
|
+
string += processStyleName$1(_key) + ":" + processStyleValue$1(_key, value[_i]) + ";";
|
|
11252
11539
|
}
|
|
11253
|
-
|
|
11254
|
-
|
|
11540
|
+
}
|
|
11541
|
+
} else {
|
|
11542
|
+
var interpolated = handleInterpolation$1(mergedProps, registered, value);
|
|
11543
|
+
switch (_key) {
|
|
11544
|
+
case 'animation':
|
|
11545
|
+
case 'animationName':
|
|
11546
|
+
{
|
|
11547
|
+
string += processStyleName$1(_key) + ":" + interpolated + ";";
|
|
11548
|
+
break;
|
|
11549
|
+
}
|
|
11550
|
+
default:
|
|
11551
|
+
{
|
|
11552
|
+
if ( _key === 'undefined') {
|
|
11553
|
+
console.error(UNDEFINED_AS_OBJECT_KEY_ERROR$1);
|
|
11554
|
+
}
|
|
11555
|
+
string += _key + "{" + interpolated + "}";
|
|
11556
|
+
}
|
|
11557
|
+
}
|
|
11255
11558
|
}
|
|
11256
|
-
}
|
|
11559
|
+
}
|
|
11560
|
+
}
|
|
11561
|
+
}
|
|
11562
|
+
return string;
|
|
11563
|
+
}
|
|
11564
|
+
var labelPattern$1 = /label:\s*([^\s;\n{]+)\s*(;|$)/g;
|
|
11565
|
+
var sourceMapPattern$1;
|
|
11566
|
+
{
|
|
11567
|
+
sourceMapPattern$1 = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;
|
|
11568
|
+
} // this is the cursor for keyframes
|
|
11569
|
+
// keyframes are stored on the SerializedStyles object as a linked list
|
|
11570
|
+
|
|
11571
|
+
var cursor$1;
|
|
11572
|
+
var serializeStyles$1 = function serializeStyles(args, registered, mergedProps) {
|
|
11573
|
+
if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) {
|
|
11574
|
+
return args[0];
|
|
11575
|
+
}
|
|
11576
|
+
var stringMode = true;
|
|
11577
|
+
var styles = '';
|
|
11578
|
+
cursor$1 = undefined;
|
|
11579
|
+
var strings = args[0];
|
|
11580
|
+
if (strings == null || strings.raw === undefined) {
|
|
11581
|
+
stringMode = false;
|
|
11582
|
+
styles += handleInterpolation$1(mergedProps, registered, strings);
|
|
11583
|
+
} else {
|
|
11584
|
+
if ( strings[0] === undefined) {
|
|
11585
|
+
console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR$2);
|
|
11586
|
+
}
|
|
11587
|
+
styles += strings[0];
|
|
11588
|
+
} // we start at 1 since we've already handled the first arg
|
|
11589
|
+
|
|
11590
|
+
for (var i = 1; i < args.length; i++) {
|
|
11591
|
+
styles += handleInterpolation$1(mergedProps, registered, args[i]);
|
|
11592
|
+
if (stringMode) {
|
|
11593
|
+
if ( strings[i] === undefined) {
|
|
11594
|
+
console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR$2);
|
|
11595
|
+
}
|
|
11596
|
+
styles += strings[i];
|
|
11597
|
+
}
|
|
11598
|
+
}
|
|
11599
|
+
var sourceMap;
|
|
11600
|
+
{
|
|
11601
|
+
styles = styles.replace(sourceMapPattern$1, function (match) {
|
|
11602
|
+
sourceMap = match;
|
|
11603
|
+
return '';
|
|
11604
|
+
});
|
|
11605
|
+
} // using a global regex with .exec is stateful so lastIndex has to be reset each time
|
|
11606
|
+
|
|
11607
|
+
labelPattern$1.lastIndex = 0;
|
|
11608
|
+
var identifierName = '';
|
|
11609
|
+
var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5
|
|
11610
|
+
|
|
11611
|
+
while ((match = labelPattern$1.exec(styles)) !== null) {
|
|
11612
|
+
identifierName += '-' +
|
|
11613
|
+
// $FlowFixMe we know it's not null
|
|
11614
|
+
match[1];
|
|
11615
|
+
}
|
|
11616
|
+
var name = murmur2$1(styles) + identifierName;
|
|
11617
|
+
{
|
|
11618
|
+
// $FlowFixMe SerializedStyles type doesn't have toString property (and we don't want to add it)
|
|
11619
|
+
return {
|
|
11620
|
+
name: name,
|
|
11621
|
+
styles: styles,
|
|
11622
|
+
map: sourceMap,
|
|
11623
|
+
next: cursor$1,
|
|
11624
|
+
toString: function toString() {
|
|
11625
|
+
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
11626
|
+
}
|
|
11257
11627
|
};
|
|
11628
|
+
}
|
|
11629
|
+
};
|
|
11630
|
+
|
|
11631
|
+
var isBrowser$1 = "object" !== 'undefined';
|
|
11632
|
+
function getRegisteredStyles$1(registered, registeredStyles, classNames) {
|
|
11633
|
+
var rawClassName = '';
|
|
11634
|
+
classNames.split(' ').forEach(function (className) {
|
|
11635
|
+
if (registered[className] !== undefined) {
|
|
11636
|
+
registeredStyles.push(registered[className] + ";");
|
|
11637
|
+
} else {
|
|
11638
|
+
rawClassName += className + " ";
|
|
11639
|
+
}
|
|
11258
11640
|
});
|
|
11259
|
-
|
|
11260
|
-
|
|
11261
|
-
var
|
|
11262
|
-
|
|
11263
|
-
|
|
11264
|
-
|
|
11265
|
-
|
|
11266
|
-
if
|
|
11267
|
-
|
|
11641
|
+
return rawClassName;
|
|
11642
|
+
}
|
|
11643
|
+
var registerStyles$1 = function registerStyles(cache, serialized, isStringTag) {
|
|
11644
|
+
var className = cache.key + "-" + serialized.name;
|
|
11645
|
+
if (
|
|
11646
|
+
// we only need to add the styles to the registered cache if the
|
|
11647
|
+
// class name could be used further down
|
|
11648
|
+
// the tree but if it's a string tag, we know it won't
|
|
11649
|
+
// so we don't have to add it to registered cache.
|
|
11650
|
+
// this improves memory usage since we can avoid storing the whole style string
|
|
11651
|
+
(isStringTag === false ||
|
|
11652
|
+
// we need to always store it if we're in compat mode and
|
|
11653
|
+
// in node since emotion-server relies on whether a style is in
|
|
11654
|
+
// the registered cache to know whether a style is global or not
|
|
11655
|
+
// also, note that this check will be dead code eliminated in the browser
|
|
11656
|
+
isBrowser$1 === false) && cache.registered[className] === undefined) {
|
|
11657
|
+
cache.registered[className] = serialized.styles;
|
|
11268
11658
|
}
|
|
11269
|
-
|
|
11270
|
-
|
|
11271
|
-
|
|
11272
|
-
|
|
11659
|
+
};
|
|
11660
|
+
var insertStyles$1 = function insertStyles(cache, serialized, isStringTag) {
|
|
11661
|
+
registerStyles$1(cache, serialized, isStringTag);
|
|
11662
|
+
var className = cache.key + "-" + serialized.name;
|
|
11663
|
+
if (cache.inserted[serialized.name] === undefined) {
|
|
11664
|
+
var current = serialized;
|
|
11665
|
+
do {
|
|
11666
|
+
var maybeStyles = cache.insert(serialized === current ? "." + className : '', current, cache.sheet, true);
|
|
11667
|
+
current = current.next;
|
|
11668
|
+
} while (current !== undefined);
|
|
11273
11669
|
}
|
|
11274
|
-
return value;
|
|
11275
11670
|
};
|
|
11276
|
-
|
|
11277
|
-
|
|
11278
|
-
|
|
11279
|
-
|
|
11280
|
-
|
|
11281
|
-
|
|
11282
|
-
|
|
11283
|
-
|
|
11284
|
-
|
|
11671
|
+
|
|
11672
|
+
function insertWithoutScoping$1(cache, serialized) {
|
|
11673
|
+
if (cache.inserted[serialized.name] === undefined) {
|
|
11674
|
+
return cache.insert('', serialized, cache.sheet, true);
|
|
11675
|
+
}
|
|
11676
|
+
}
|
|
11677
|
+
function merge(registered, css, className) {
|
|
11678
|
+
var registeredStyles = [];
|
|
11679
|
+
var rawClassName = getRegisteredStyles$1(registered, registeredStyles, className);
|
|
11680
|
+
if (registeredStyles.length < 2) {
|
|
11681
|
+
return className;
|
|
11682
|
+
}
|
|
11683
|
+
return rawClassName + css(registeredStyles);
|
|
11684
|
+
}
|
|
11685
|
+
var createEmotion = function createEmotion(options) {
|
|
11686
|
+
var cache = createCache$1(options); // $FlowFixMe
|
|
11687
|
+
|
|
11688
|
+
cache.sheet.speedy = function (value) {
|
|
11689
|
+
if ( this.ctr !== 0) {
|
|
11690
|
+
throw new Error('speedy must be changed before any rules are inserted');
|
|
11285
11691
|
}
|
|
11286
|
-
|
|
11692
|
+
this.isSpeedy = value;
|
|
11287
11693
|
};
|
|
11288
|
-
|
|
11694
|
+
cache.compat = true;
|
|
11695
|
+
var css = function css() {
|
|
11696
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
11697
|
+
args[_key] = arguments[_key];
|
|
11698
|
+
}
|
|
11699
|
+
var serialized = serializeStyles$1(args, cache.registered, undefined);
|
|
11700
|
+
insertStyles$1(cache, serialized, false);
|
|
11701
|
+
return cache.key + "-" + serialized.name;
|
|
11702
|
+
};
|
|
11703
|
+
var keyframes = function keyframes() {
|
|
11704
|
+
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
11705
|
+
args[_key2] = arguments[_key2];
|
|
11706
|
+
}
|
|
11707
|
+
var serialized = serializeStyles$1(args, cache.registered);
|
|
11708
|
+
var animation = "animation-" + serialized.name;
|
|
11709
|
+
insertWithoutScoping$1(cache, {
|
|
11710
|
+
name: serialized.name,
|
|
11711
|
+
styles: "@keyframes " + animation + "{" + serialized.styles + "}"
|
|
11712
|
+
});
|
|
11713
|
+
return animation;
|
|
11714
|
+
};
|
|
11715
|
+
var injectGlobal = function injectGlobal() {
|
|
11716
|
+
for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
|
|
11717
|
+
args[_key3] = arguments[_key3];
|
|
11718
|
+
}
|
|
11719
|
+
var serialized = serializeStyles$1(args, cache.registered);
|
|
11720
|
+
insertWithoutScoping$1(cache, serialized);
|
|
11721
|
+
};
|
|
11722
|
+
var cx = function cx() {
|
|
11723
|
+
for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
|
|
11724
|
+
args[_key4] = arguments[_key4];
|
|
11725
|
+
}
|
|
11726
|
+
return merge(cache.registered, css, classnames(args));
|
|
11727
|
+
};
|
|
11728
|
+
return {
|
|
11729
|
+
css: css,
|
|
11730
|
+
cx: cx,
|
|
11731
|
+
injectGlobal: injectGlobal,
|
|
11732
|
+
keyframes: keyframes,
|
|
11733
|
+
hydrate: function hydrate(ids) {
|
|
11734
|
+
ids.forEach(function (key) {
|
|
11735
|
+
cache.inserted[key] = true;
|
|
11736
|
+
});
|
|
11737
|
+
},
|
|
11738
|
+
flush: function flush() {
|
|
11739
|
+
cache.registered = {};
|
|
11740
|
+
cache.inserted = {};
|
|
11741
|
+
cache.sheet.flush();
|
|
11742
|
+
},
|
|
11743
|
+
// $FlowFixMe
|
|
11744
|
+
sheet: cache.sheet,
|
|
11745
|
+
cache: cache,
|
|
11746
|
+
getRegisteredStyles: getRegisteredStyles$1.bind(null, cache.registered),
|
|
11747
|
+
merge: merge.bind(null, cache.registered, css)
|
|
11748
|
+
};
|
|
11749
|
+
};
|
|
11289
11750
|
var classnames = function classnames(args) {
|
|
11290
|
-
var len = args.length;
|
|
11291
|
-
var i = 0;
|
|
11292
11751
|
var cls = '';
|
|
11293
|
-
for (; i <
|
|
11752
|
+
for (var i = 0; i < args.length; i++) {
|
|
11294
11753
|
var arg = args[i];
|
|
11295
11754
|
if (arg == null) continue;
|
|
11296
11755
|
var toAdd = void 0;
|
|
11297
11756
|
switch (typeof arg) {
|
|
11298
11757
|
case 'boolean':
|
|
11299
11758
|
break;
|
|
11300
|
-
case 'function':
|
|
11301
|
-
{
|
|
11302
|
-
console.error('Passing functions to cx is deprecated and will be removed in the next major version of Emotion.\n' + 'Please call the function before passing it to cx.');
|
|
11303
|
-
}
|
|
11304
|
-
toAdd = classnames([arg()]);
|
|
11305
|
-
break;
|
|
11306
11759
|
case 'object':
|
|
11307
11760
|
{
|
|
11308
11761
|
if (Array.isArray(arg)) {
|
|
@@ -11330,372 +11783,11 @@
|
|
|
11330
11783
|
}
|
|
11331
11784
|
return cls;
|
|
11332
11785
|
};
|
|
11333
|
-
var isBrowser$1 = typeof document !== 'undefined';
|
|
11334
|
-
|
|
11335
|
-
/*
|
|
11336
|
-
|
|
11337
|
-
high performance StyleSheet for css-in-js systems
|
|
11338
|
-
|
|
11339
|
-
- uses multiple style tags behind the scenes for millions of rules
|
|
11340
|
-
- uses `insertRule` for appending in production for *much* faster performance
|
|
11341
|
-
- 'polyfills' on server side
|
|
11342
|
-
|
|
11343
|
-
// usage
|
|
11344
|
-
|
|
11345
|
-
import StyleSheet from 'glamor/lib/sheet'
|
|
11346
|
-
let styleSheet = new StyleSheet()
|
|
11347
|
-
|
|
11348
|
-
styleSheet.inject()
|
|
11349
|
-
- 'injects' the stylesheet into the page (or into memory if on server)
|
|
11350
|
-
|
|
11351
|
-
styleSheet.insert('#box { border: 1px solid red; }')
|
|
11352
|
-
- appends a css rule into the stylesheet
|
|
11353
|
-
|
|
11354
|
-
styleSheet.flush()
|
|
11355
|
-
- empties the stylesheet of all its contents
|
|
11356
|
-
|
|
11357
|
-
*/
|
|
11358
|
-
// $FlowFixMe
|
|
11359
|
-
function sheetForTag$1(tag) {
|
|
11360
|
-
if (tag.sheet) {
|
|
11361
|
-
// $FlowFixMe
|
|
11362
|
-
return tag.sheet;
|
|
11363
|
-
} // this weirdness brought to you by firefox
|
|
11364
|
-
|
|
11365
|
-
for (var i = 0; i < document.styleSheets.length; i++) {
|
|
11366
|
-
if (document.styleSheets[i].ownerNode === tag) {
|
|
11367
|
-
// $FlowFixMe
|
|
11368
|
-
return document.styleSheets[i];
|
|
11369
|
-
}
|
|
11370
|
-
}
|
|
11371
|
-
}
|
|
11372
|
-
function makeStyleTag(opts) {
|
|
11373
|
-
var tag = document.createElement('style');
|
|
11374
|
-
tag.setAttribute('data-emotion', opts.key || '');
|
|
11375
|
-
if (opts.nonce !== undefined) {
|
|
11376
|
-
tag.setAttribute('nonce', opts.nonce);
|
|
11377
|
-
}
|
|
11378
|
-
tag.appendChild(document.createTextNode('')) // $FlowFixMe
|
|
11379
|
-
;
|
|
11380
|
-
|
|
11381
|
-
(opts.container !== undefined ? opts.container : document.head).appendChild(tag);
|
|
11382
|
-
return tag;
|
|
11383
|
-
}
|
|
11384
|
-
var StyleSheet$1 = /*#__PURE__*/
|
|
11385
|
-
function () {
|
|
11386
|
-
function StyleSheet(options) {
|
|
11387
|
-
this.isSpeedy = "development" === 'production'; // the big drawback here is that the css won't be editable in devtools
|
|
11388
|
-
|
|
11389
|
-
this.tags = [];
|
|
11390
|
-
this.ctr = 0;
|
|
11391
|
-
this.opts = options;
|
|
11392
|
-
}
|
|
11393
|
-
var _proto = StyleSheet.prototype;
|
|
11394
|
-
_proto.inject = function inject() {
|
|
11395
|
-
if (this.injected) {
|
|
11396
|
-
throw new Error('already injected!');
|
|
11397
|
-
}
|
|
11398
|
-
this.tags[0] = makeStyleTag(this.opts);
|
|
11399
|
-
this.injected = true;
|
|
11400
|
-
};
|
|
11401
|
-
_proto.speedy = function speedy(bool) {
|
|
11402
|
-
if (this.ctr !== 0) {
|
|
11403
|
-
// cannot change speedy mode after inserting any rule to sheet. Either call speedy(${bool}) earlier in your app, or call flush() before speedy(${bool})
|
|
11404
|
-
throw new Error("cannot change speedy now");
|
|
11405
|
-
}
|
|
11406
|
-
this.isSpeedy = !!bool;
|
|
11407
|
-
};
|
|
11408
|
-
_proto.insert = function insert(rule, sourceMap) {
|
|
11409
|
-
// this is the ultrafast version, works across browsers
|
|
11410
|
-
if (this.isSpeedy) {
|
|
11411
|
-
var tag = this.tags[this.tags.length - 1];
|
|
11412
|
-
var sheet = sheetForTag$1(tag);
|
|
11413
|
-
try {
|
|
11414
|
-
sheet.insertRule(rule, sheet.cssRules.length);
|
|
11415
|
-
} catch (e) {
|
|
11416
|
-
{
|
|
11417
|
-
console.warn('illegal rule', rule); // eslint-disable-line no-console
|
|
11418
|
-
}
|
|
11419
|
-
}
|
|
11420
|
-
} else {
|
|
11421
|
-
var _tag = makeStyleTag(this.opts);
|
|
11422
|
-
this.tags.push(_tag);
|
|
11423
|
-
_tag.appendChild(document.createTextNode(rule + (sourceMap || '')));
|
|
11424
|
-
}
|
|
11425
|
-
this.ctr++;
|
|
11426
|
-
if (this.ctr % 65000 === 0) {
|
|
11427
|
-
this.tags.push(makeStyleTag(this.opts));
|
|
11428
|
-
}
|
|
11429
|
-
};
|
|
11430
|
-
_proto.flush = function flush() {
|
|
11431
|
-
// $FlowFixMe
|
|
11432
|
-
this.tags.forEach(function (tag) {
|
|
11433
|
-
return tag.parentNode.removeChild(tag);
|
|
11434
|
-
});
|
|
11435
|
-
this.tags = [];
|
|
11436
|
-
this.ctr = 0; // todo - look for remnants in document.styleSheets
|
|
11437
|
-
|
|
11438
|
-
this.injected = false;
|
|
11439
|
-
};
|
|
11440
|
-
return StyleSheet;
|
|
11441
|
-
}();
|
|
11442
|
-
function createEmotion(context, options) {
|
|
11443
|
-
if (context.__SECRET_EMOTION__ !== undefined) {
|
|
11444
|
-
return context.__SECRET_EMOTION__;
|
|
11445
|
-
}
|
|
11446
|
-
if (options === undefined) options = {};
|
|
11447
|
-
var key = options.key || 'css';
|
|
11448
|
-
{
|
|
11449
|
-
if (/[^a-z-]/.test(key)) {
|
|
11450
|
-
throw new Error("Emotion key must only contain lower case alphabetical characters and - but \"" + key + "\" was passed");
|
|
11451
|
-
}
|
|
11452
|
-
}
|
|
11453
|
-
var current;
|
|
11454
|
-
function insertRule(rule) {
|
|
11455
|
-
current += rule;
|
|
11456
|
-
if (isBrowser$1) {
|
|
11457
|
-
sheet.insert(rule, currentSourceMap);
|
|
11458
|
-
}
|
|
11459
|
-
}
|
|
11460
|
-
var insertionPlugin = stylisRuleSheet(insertRule);
|
|
11461
|
-
var stylisOptions;
|
|
11462
|
-
if (options.prefix !== undefined) {
|
|
11463
|
-
stylisOptions = {
|
|
11464
|
-
prefix: options.prefix
|
|
11465
|
-
};
|
|
11466
|
-
}
|
|
11467
|
-
var caches = {
|
|
11468
|
-
registered: {},
|
|
11469
|
-
inserted: {},
|
|
11470
|
-
nonce: options.nonce,
|
|
11471
|
-
key: key
|
|
11472
|
-
};
|
|
11473
|
-
var sheet = new StyleSheet$1(options);
|
|
11474
|
-
if (isBrowser$1) {
|
|
11475
|
-
// 🚀
|
|
11476
|
-
sheet.inject();
|
|
11477
|
-
}
|
|
11478
|
-
var stylis = new stylis_min(stylisOptions);
|
|
11479
|
-
stylis.use(options.stylisPlugins)(insertionPlugin);
|
|
11480
|
-
var currentSourceMap = '';
|
|
11481
|
-
function handleInterpolation(interpolation, couldBeSelectorInterpolation) {
|
|
11482
|
-
if (interpolation == null) {
|
|
11483
|
-
return '';
|
|
11484
|
-
}
|
|
11485
|
-
switch (typeof interpolation) {
|
|
11486
|
-
case 'boolean':
|
|
11487
|
-
return '';
|
|
11488
|
-
case 'function':
|
|
11489
|
-
if (interpolation.__emotion_styles !== undefined) {
|
|
11490
|
-
var selector = interpolation.toString();
|
|
11491
|
-
if (selector === 'NO_COMPONENT_SELECTOR' && "development" !== 'production') {
|
|
11492
|
-
throw new Error('Component selectors can only be used in conjunction with babel-plugin-emotion.');
|
|
11493
|
-
}
|
|
11494
|
-
return selector;
|
|
11495
|
-
}
|
|
11496
|
-
if (this === undefined && "development" !== 'production') {
|
|
11497
|
-
console.error('Interpolating functions in css calls is deprecated and will be removed in the next major version of Emotion.\n' + 'If you want to have a css call based on props, create a function that returns a css call like this\n' + 'let dynamicStyle = (props) => css`color: ${props.color}`\n' + 'It can be called directly with props or interpolated in a styled call like this\n' + "let SomeComponent = styled('div')`${dynamicStyle}`");
|
|
11498
|
-
}
|
|
11499
|
-
return handleInterpolation.call(this, this === undefined ? interpolation() :
|
|
11500
|
-
// $FlowFixMe
|
|
11501
|
-
interpolation(this.mergedProps, this.context), couldBeSelectorInterpolation);
|
|
11502
|
-
case 'object':
|
|
11503
|
-
return createStringFromObject.call(this, interpolation);
|
|
11504
|
-
default:
|
|
11505
|
-
var cached = caches.registered[interpolation];
|
|
11506
|
-
return couldBeSelectorInterpolation === false && cached !== undefined ? cached : interpolation;
|
|
11507
|
-
}
|
|
11508
|
-
}
|
|
11509
|
-
var objectToStringCache = new WeakMap();
|
|
11510
|
-
function createStringFromObject(obj) {
|
|
11511
|
-
if (objectToStringCache.has(obj)) {
|
|
11512
|
-
// $FlowFixMe
|
|
11513
|
-
return objectToStringCache.get(obj);
|
|
11514
|
-
}
|
|
11515
|
-
var string = '';
|
|
11516
|
-
if (Array.isArray(obj)) {
|
|
11517
|
-
obj.forEach(function (interpolation) {
|
|
11518
|
-
string += handleInterpolation.call(this, interpolation, false);
|
|
11519
|
-
}, this);
|
|
11520
|
-
} else {
|
|
11521
|
-
Object.keys(obj).forEach(function (key) {
|
|
11522
|
-
if (typeof obj[key] !== 'object') {
|
|
11523
|
-
if (caches.registered[obj[key]] !== undefined) {
|
|
11524
|
-
string += key + "{" + caches.registered[obj[key]] + "}";
|
|
11525
|
-
} else {
|
|
11526
|
-
string += processStyleName$1(key) + ":" + processStyleValue$1(key, obj[key]) + ";";
|
|
11527
|
-
}
|
|
11528
|
-
} else {
|
|
11529
|
-
if (key === 'NO_COMPONENT_SELECTOR' && "development" !== 'production') {
|
|
11530
|
-
throw new Error('Component selectors can only be used in conjunction with babel-plugin-emotion.');
|
|
11531
|
-
}
|
|
11532
|
-
if (Array.isArray(obj[key]) && typeof obj[key][0] === 'string' && caches.registered[obj[key][0]] === undefined) {
|
|
11533
|
-
obj[key].forEach(function (value) {
|
|
11534
|
-
string += processStyleName$1(key) + ":" + processStyleValue$1(key, value) + ";";
|
|
11535
|
-
});
|
|
11536
|
-
} else {
|
|
11537
|
-
string += key + "{" + handleInterpolation.call(this, obj[key], false) + "}";
|
|
11538
|
-
}
|
|
11539
|
-
}
|
|
11540
|
-
}, this);
|
|
11541
|
-
}
|
|
11542
|
-
objectToStringCache.set(obj, string);
|
|
11543
|
-
return string;
|
|
11544
|
-
}
|
|
11545
|
-
var name;
|
|
11546
|
-
var stylesWithLabel;
|
|
11547
|
-
var labelPattern = /label:\s*([^\s;\n{]+)\s*;/g;
|
|
11548
|
-
var createClassName = function createClassName(styles, identifierName) {
|
|
11549
|
-
return murmurhash2_32_gc(styles + identifierName) + identifierName;
|
|
11550
|
-
};
|
|
11551
|
-
{
|
|
11552
|
-
var oldCreateClassName = createClassName;
|
|
11553
|
-
var sourceMappingUrlPattern = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;
|
|
11554
|
-
createClassName = function createClassName(styles, identifierName) {
|
|
11555
|
-
return oldCreateClassName(styles.replace(sourceMappingUrlPattern, function (sourceMap) {
|
|
11556
|
-
currentSourceMap = sourceMap;
|
|
11557
|
-
return '';
|
|
11558
|
-
}), identifierName);
|
|
11559
|
-
};
|
|
11560
|
-
}
|
|
11561
|
-
var createStyles = function createStyles(strings) {
|
|
11562
|
-
var stringMode = true;
|
|
11563
|
-
var styles = '';
|
|
11564
|
-
var identifierName = '';
|
|
11565
|
-
if (strings == null || strings.raw === undefined) {
|
|
11566
|
-
stringMode = false;
|
|
11567
|
-
styles += handleInterpolation.call(this, strings, false);
|
|
11568
|
-
} else {
|
|
11569
|
-
styles += strings[0];
|
|
11570
|
-
}
|
|
11571
|
-
for (var _len = arguments.length, interpolations = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
11572
|
-
interpolations[_key - 1] = arguments[_key];
|
|
11573
|
-
}
|
|
11574
|
-
interpolations.forEach(function (interpolation, i) {
|
|
11575
|
-
styles += handleInterpolation.call(this, interpolation, styles.charCodeAt(styles.length - 1) === 46 // .
|
|
11576
|
-
);
|
|
11577
|
-
|
|
11578
|
-
if (stringMode === true && strings[i + 1] !== undefined) {
|
|
11579
|
-
styles += strings[i + 1];
|
|
11580
|
-
}
|
|
11581
|
-
}, this);
|
|
11582
|
-
stylesWithLabel = styles;
|
|
11583
|
-
styles = styles.replace(labelPattern, function (match, p1) {
|
|
11584
|
-
identifierName += "-" + p1;
|
|
11585
|
-
return '';
|
|
11586
|
-
});
|
|
11587
|
-
name = createClassName(styles, identifierName);
|
|
11588
|
-
return styles;
|
|
11589
|
-
};
|
|
11590
|
-
{
|
|
11591
|
-
var oldStylis = stylis;
|
|
11592
|
-
stylis = function stylis(selector, styles) {
|
|
11593
|
-
oldStylis(selector, styles);
|
|
11594
|
-
currentSourceMap = '';
|
|
11595
|
-
};
|
|
11596
|
-
}
|
|
11597
|
-
function insert(scope, styles) {
|
|
11598
|
-
if (caches.inserted[name] === undefined) {
|
|
11599
|
-
current = '';
|
|
11600
|
-
stylis(scope, styles);
|
|
11601
|
-
caches.inserted[name] = current;
|
|
11602
|
-
}
|
|
11603
|
-
}
|
|
11604
|
-
var css = function css() {
|
|
11605
|
-
var styles = createStyles.apply(this, arguments);
|
|
11606
|
-
var selector = key + "-" + name;
|
|
11607
|
-
if (caches.registered[selector] === undefined) {
|
|
11608
|
-
caches.registered[selector] = stylesWithLabel;
|
|
11609
|
-
}
|
|
11610
|
-
insert("." + selector, styles);
|
|
11611
|
-
return selector;
|
|
11612
|
-
};
|
|
11613
|
-
var keyframes = function keyframes() {
|
|
11614
|
-
var styles = createStyles.apply(this, arguments);
|
|
11615
|
-
var animation = "animation-" + name;
|
|
11616
|
-
insert('', "@keyframes " + animation + "{" + styles + "}");
|
|
11617
|
-
return animation;
|
|
11618
|
-
};
|
|
11619
|
-
var injectGlobal = function injectGlobal() {
|
|
11620
|
-
var styles = createStyles.apply(this, arguments);
|
|
11621
|
-
insert('', styles);
|
|
11622
|
-
};
|
|
11623
|
-
function getRegisteredStyles(registeredStyles, classNames) {
|
|
11624
|
-
var rawClassName = '';
|
|
11625
|
-
classNames.split(' ').forEach(function (className) {
|
|
11626
|
-
if (caches.registered[className] !== undefined) {
|
|
11627
|
-
registeredStyles.push(className);
|
|
11628
|
-
} else {
|
|
11629
|
-
rawClassName += className + " ";
|
|
11630
|
-
}
|
|
11631
|
-
});
|
|
11632
|
-
return rawClassName;
|
|
11633
|
-
}
|
|
11634
|
-
function merge(className, sourceMap) {
|
|
11635
|
-
var registeredStyles = [];
|
|
11636
|
-
var rawClassName = getRegisteredStyles(registeredStyles, className);
|
|
11637
|
-
if (registeredStyles.length < 2) {
|
|
11638
|
-
return className;
|
|
11639
|
-
}
|
|
11640
|
-
return rawClassName + css(registeredStyles, sourceMap);
|
|
11641
|
-
}
|
|
11642
|
-
function cx() {
|
|
11643
|
-
for (var _len2 = arguments.length, classNames = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
11644
|
-
classNames[_key2] = arguments[_key2];
|
|
11645
|
-
}
|
|
11646
|
-
return merge(classnames(classNames));
|
|
11647
|
-
}
|
|
11648
|
-
function hydrateSingleId(id) {
|
|
11649
|
-
caches.inserted[id] = true;
|
|
11650
|
-
}
|
|
11651
|
-
function hydrate(ids) {
|
|
11652
|
-
ids.forEach(hydrateSingleId);
|
|
11653
|
-
}
|
|
11654
|
-
function flush() {
|
|
11655
|
-
if (isBrowser$1) {
|
|
11656
|
-
sheet.flush();
|
|
11657
|
-
sheet.inject();
|
|
11658
|
-
}
|
|
11659
|
-
caches.inserted = {};
|
|
11660
|
-
caches.registered = {};
|
|
11661
|
-
}
|
|
11662
|
-
if (isBrowser$1) {
|
|
11663
|
-
var chunks = document.querySelectorAll("[data-emotion-" + key + "]");
|
|
11664
|
-
Array.prototype.forEach.call(chunks, function (node) {
|
|
11665
|
-
// $FlowFixMe
|
|
11666
|
-
sheet.tags[0].parentNode.insertBefore(node, sheet.tags[0]); // $FlowFixMe
|
|
11667
11786
|
|
|
11668
|
-
|
|
11669
|
-
|
|
11670
|
-
}
|
|
11671
|
-
|
|
11672
|
-
flush: flush,
|
|
11673
|
-
hydrate: hydrate,
|
|
11674
|
-
cx: cx,
|
|
11675
|
-
merge: merge,
|
|
11676
|
-
getRegisteredStyles: getRegisteredStyles,
|
|
11677
|
-
injectGlobal: injectGlobal,
|
|
11678
|
-
keyframes: keyframes,
|
|
11679
|
-
css: css,
|
|
11680
|
-
sheet: sheet,
|
|
11681
|
-
caches: caches
|
|
11682
|
-
};
|
|
11683
|
-
context.__SECRET_EMOTION__ = emotion;
|
|
11684
|
-
return emotion;
|
|
11685
|
-
}
|
|
11686
|
-
|
|
11687
|
-
var context = typeof global$1 !== 'undefined' ? global$1 : {};
|
|
11688
|
-
var _createEmotion = createEmotion(context),
|
|
11689
|
-
flush = _createEmotion.flush,
|
|
11690
|
-
hydrate = _createEmotion.hydrate,
|
|
11691
|
-
cx = _createEmotion.cx,
|
|
11692
|
-
merge = _createEmotion.merge,
|
|
11693
|
-
getRegisteredStyles$1 = _createEmotion.getRegisteredStyles,
|
|
11694
|
-
injectGlobal = _createEmotion.injectGlobal,
|
|
11695
|
-
keyframes = _createEmotion.keyframes,
|
|
11696
|
-
css = _createEmotion.css,
|
|
11697
|
-
sheet = _createEmotion.sheet,
|
|
11698
|
-
caches = _createEmotion.caches;
|
|
11787
|
+
var _createEmotion = createEmotion({
|
|
11788
|
+
key: 'css'
|
|
11789
|
+
}),
|
|
11790
|
+
css = _createEmotion.css;
|
|
11699
11791
|
|
|
11700
11792
|
function _extends$1() {
|
|
11701
11793
|
_extends$1 = Object.assign ? Object.assign.bind() : function (target) {
|
|
@@ -14117,8 +14209,8 @@
|
|
|
14117
14209
|
triggerClickAnalytics: function triggerClickAnalytics(searchPosition, documentId) {
|
|
14118
14210
|
var docId = documentId;
|
|
14119
14211
|
if (!docId) {
|
|
14120
|
-
var _this$
|
|
14121
|
-
data = _this$
|
|
14212
|
+
var _this$getData = this.getData(),
|
|
14213
|
+
data = _this$getData.data;
|
|
14122
14214
|
var hitData = data.find(function (hit) {
|
|
14123
14215
|
return hit._click_id === searchPosition;
|
|
14124
14216
|
});
|
|
@@ -16408,12 +16500,12 @@
|
|
|
16408
16500
|
try {
|
|
16409
16501
|
var component = item[0],
|
|
16410
16502
|
value = item[1];
|
|
16411
|
-
var
|
|
16503
|
+
var _ref = _this.selectedValues[component] || {
|
|
16412
16504
|
label: component
|
|
16413
16505
|
},
|
|
16414
|
-
label =
|
|
16415
|
-
showFilter =
|
|
16416
|
-
URLParams =
|
|
16506
|
+
label = _ref.label,
|
|
16507
|
+
showFilter = _ref.showFilter,
|
|
16508
|
+
URLParams = _ref.URLParams;
|
|
16417
16509
|
_this.setValue(component, JSON.parse(value), label, showFilter, URLParams, undefined, undefined, undefined, 'URL');
|
|
16418
16510
|
} catch (e) {
|
|
16419
16511
|
// Do not set value if JSON parsing fails.
|
|
@@ -18394,9 +18486,9 @@
|
|
|
18394
18486
|
fontSize: '1rem'
|
|
18395
18487
|
})
|
|
18396
18488
|
}, null)]), description && vue.createVNode("div", {
|
|
18397
|
-
"class":
|
|
18489
|
+
"class": ['trim', css({
|
|
18398
18490
|
marginTop: 3
|
|
18399
|
-
})
|
|
18491
|
+
})]
|
|
18400
18492
|
}, [vue.createVNode(VueHighlightWords, {
|
|
18401
18493
|
"searchWords": _this.currentValue.split(' '),
|
|
18402
18494
|
"textToHighlight": description,
|
|
@@ -18782,14 +18874,14 @@
|
|
|
18782
18874
|
if (status === STATUS.active) {
|
|
18783
18875
|
this.status = STATUS.inactive;
|
|
18784
18876
|
}
|
|
18785
|
-
var _this$$
|
|
18786
|
-
handleResult = _this$$
|
|
18787
|
-
onNoMatch = _this$$
|
|
18788
|
-
onError = _this$$
|
|
18789
|
-
lang = _this$$
|
|
18790
|
-
getInstance = _this$$
|
|
18791
|
-
var
|
|
18792
|
-
SpeechRecognition =
|
|
18877
|
+
var _this$$props = this.$props,
|
|
18878
|
+
handleResult = _this$$props.handleResult,
|
|
18879
|
+
onNoMatch = _this$$props.onNoMatch,
|
|
18880
|
+
onError = _this$$props.onError,
|
|
18881
|
+
lang = _this$$props.lang,
|
|
18882
|
+
getInstance = _this$$props.getInstance;
|
|
18883
|
+
var _window = window,
|
|
18884
|
+
SpeechRecognition = _window.SpeechRecognition;
|
|
18793
18885
|
if (this.instance && this.status !== STATUS.denied) {
|
|
18794
18886
|
this.status = STATUS.inactive;
|
|
18795
18887
|
this.instance.stop();
|
|
@@ -19634,12 +19726,12 @@
|
|
|
19634
19726
|
renderInputAddonBefore: function renderInputAddonBefore() {
|
|
19635
19727
|
var addonBefore = this.$slots.addonBefore;
|
|
19636
19728
|
if (addonBefore) {
|
|
19637
|
-
var
|
|
19729
|
+
var _slot;
|
|
19638
19730
|
return vue.createVNode(InputAddon, {
|
|
19639
19731
|
"class": "addon-before"
|
|
19640
|
-
}, _isSlot$5(
|
|
19732
|
+
}, _isSlot$5(_slot = addonBefore()) ? _slot : {
|
|
19641
19733
|
"default": function _default() {
|
|
19642
|
-
return [
|
|
19734
|
+
return [_slot];
|
|
19643
19735
|
}
|
|
19644
19736
|
});
|
|
19645
19737
|
}
|
|
@@ -19648,12 +19740,12 @@
|
|
|
19648
19740
|
renderInputAddonAfter: function renderInputAddonAfter() {
|
|
19649
19741
|
var addonAfter = this.$slots.addonAfter;
|
|
19650
19742
|
if (addonAfter) {
|
|
19651
|
-
var
|
|
19743
|
+
var _slot2;
|
|
19652
19744
|
return vue.createVNode(InputAddon, {
|
|
19653
19745
|
"class": "addon-after"
|
|
19654
|
-
}, _isSlot$5(
|
|
19746
|
+
}, _isSlot$5(_slot2 = addonAfter()) ? _slot2 : {
|
|
19655
19747
|
"default": function _default() {
|
|
19656
|
-
return [
|
|
19748
|
+
return [_slot2];
|
|
19657
19749
|
}
|
|
19658
19750
|
});
|
|
19659
19751
|
}
|
|
@@ -19695,7 +19787,7 @@
|
|
|
19695
19787
|
},
|
|
19696
19788
|
renderIcons: function renderIcons() {
|
|
19697
19789
|
var _this6 = this;
|
|
19698
|
-
var
|
|
19790
|
+
var _slot3, _slot4, _slot5;
|
|
19699
19791
|
var _this$$props3 = this.$props,
|
|
19700
19792
|
iconPosition = _this$$props3.iconPosition,
|
|
19701
19793
|
showClear = _this$$props3.showClear,
|
|
@@ -19714,9 +19806,9 @@
|
|
|
19714
19806
|
"onClick": _this6.clearValue,
|
|
19715
19807
|
"showIcon": showIcon,
|
|
19716
19808
|
"isClearIcon": true
|
|
19717
|
-
}, _isSlot$5(
|
|
19809
|
+
}, _isSlot$5(_slot3 = _this6.renderCancelIcon()) ? _slot3 : {
|
|
19718
19810
|
"default": function _default() {
|
|
19719
|
-
return [
|
|
19811
|
+
return [_slot3];
|
|
19720
19812
|
}
|
|
19721
19813
|
}), showVoiceSearch && vue.createVNode(Mic, {
|
|
19722
19814
|
"getInstance": getMicInstance,
|
|
@@ -19725,9 +19817,9 @@
|
|
|
19725
19817
|
"className": getClassName$3(innerClass, 'mic') || null
|
|
19726
19818
|
}, null), iconPosition === 'right' && showIcon && vue.createVNode(IconWrapper, {
|
|
19727
19819
|
"onClick": _this6.handleSearchIconClick
|
|
19728
|
-
}, _isSlot$5(
|
|
19820
|
+
}, _isSlot$5(_slot4 = _this6.renderIcon()) ? _slot4 : {
|
|
19729
19821
|
"default": function _default() {
|
|
19730
|
-
return [
|
|
19822
|
+
return [_slot4];
|
|
19731
19823
|
}
|
|
19732
19824
|
})];
|
|
19733
19825
|
}
|
|
@@ -19738,9 +19830,9 @@
|
|
|
19738
19830
|
"default": function _default() {
|
|
19739
19831
|
return [iconPosition === 'left' && showIcon && vue.createVNode(IconWrapper, {
|
|
19740
19832
|
"onClick": _this6.handleSearchIconClick
|
|
19741
|
-
}, _isSlot$5(
|
|
19833
|
+
}, _isSlot$5(_slot5 = _this6.renderIcon()) ? _slot5 : {
|
|
19742
19834
|
"default": function _default() {
|
|
19743
|
-
return [
|
|
19835
|
+
return [_slot5];
|
|
19744
19836
|
}
|
|
19745
19837
|
})];
|
|
19746
19838
|
}
|
|
@@ -20844,16 +20936,16 @@
|
|
|
20844
20936
|
});
|
|
20845
20937
|
}
|
|
20846
20938
|
if (selectAllLabel && selectAllLabel in currentValue) {
|
|
20847
|
-
var
|
|
20848
|
-
del =
|
|
20849
|
-
obj = _objectWithoutPropertiesLoose(
|
|
20939
|
+
var _currentValue = currentValue,
|
|
20940
|
+
del = _currentValue[selectAllLabel],
|
|
20941
|
+
obj = _objectWithoutPropertiesLoose(_currentValue, [selectAllLabel].map(_toPropertyKey$1));
|
|
20850
20942
|
currentValue = _extends({}, obj);
|
|
20851
20943
|
}
|
|
20852
20944
|
} else {
|
|
20853
20945
|
if (currentValue[value]) {
|
|
20854
|
-
var
|
|
20855
|
-
_del =
|
|
20856
|
-
rest = _objectWithoutPropertiesLoose(
|
|
20946
|
+
var _currentValue2 = currentValue,
|
|
20947
|
+
_del = _currentValue2[value],
|
|
20948
|
+
rest = _objectWithoutPropertiesLoose(_currentValue2, [value].map(_toPropertyKey$1));
|
|
20857
20949
|
currentValue = _extends({}, rest);
|
|
20858
20950
|
} else if (Array.isArray(value)) {
|
|
20859
20951
|
value.forEach(function (val) {
|
|
@@ -20863,9 +20955,9 @@
|
|
|
20863
20955
|
currentValue[value] = true;
|
|
20864
20956
|
}
|
|
20865
20957
|
if (selectAllLabel && selectAllLabel in currentValue) {
|
|
20866
|
-
var
|
|
20867
|
-
_del2 =
|
|
20868
|
-
_obj = _objectWithoutPropertiesLoose(
|
|
20958
|
+
var _currentValue3 = currentValue,
|
|
20959
|
+
_del2 = _currentValue3[selectAllLabel],
|
|
20960
|
+
_obj = _objectWithoutPropertiesLoose(_currentValue3, [selectAllLabel].map(_toPropertyKey$1));
|
|
20869
20961
|
currentValue = _extends({}, _obj);
|
|
20870
20962
|
}
|
|
20871
20963
|
finalValues = Object.keys(currentValue);
|
|
@@ -22002,24 +22094,24 @@
|
|
|
22002
22094
|
});
|
|
22003
22095
|
}
|
|
22004
22096
|
if (selectAllLabel && selectAllLabel in currentValue) {
|
|
22005
|
-
var
|
|
22006
|
-
del =
|
|
22007
|
-
obj = _objectWithoutPropertiesLoose(
|
|
22097
|
+
var _currentValue = currentValue,
|
|
22098
|
+
del = _currentValue[selectAllLabel],
|
|
22099
|
+
obj = _objectWithoutPropertiesLoose(_currentValue, [selectAllLabel].map(_toPropertyKey$1));
|
|
22008
22100
|
currentValue = _extends({}, obj);
|
|
22009
22101
|
}
|
|
22010
22102
|
} else {
|
|
22011
22103
|
if (currentValue[value]) {
|
|
22012
|
-
var
|
|
22013
|
-
_del =
|
|
22014
|
-
rest = _objectWithoutPropertiesLoose(
|
|
22104
|
+
var _currentValue2 = currentValue,
|
|
22105
|
+
_del = _currentValue2[value],
|
|
22106
|
+
rest = _objectWithoutPropertiesLoose(_currentValue2, [value].map(_toPropertyKey$1));
|
|
22015
22107
|
currentValue = _extends({}, rest);
|
|
22016
22108
|
} else {
|
|
22017
22109
|
currentValue[value] = true;
|
|
22018
22110
|
}
|
|
22019
22111
|
if (selectAllLabel && selectAllLabel in currentValue) {
|
|
22020
|
-
var
|
|
22021
|
-
_del2 =
|
|
22022
|
-
_obj = _objectWithoutPropertiesLoose(
|
|
22112
|
+
var _currentValue3 = currentValue,
|
|
22113
|
+
_del2 = _currentValue3[selectAllLabel],
|
|
22114
|
+
_obj = _objectWithoutPropertiesLoose(_currentValue3, [selectAllLabel].map(_toPropertyKey$1));
|
|
22023
22115
|
currentValue = _extends({}, _obj);
|
|
22024
22116
|
}
|
|
22025
22117
|
finalValues = Object.keys(currentValue);
|
|
@@ -22497,18 +22589,12 @@
|
|
|
22497
22589
|
var _templateObject$o;
|
|
22498
22590
|
var Slider = styled('div')(_templateObject$o || (_templateObject$o = _taggedTemplateLiteralLoose(["\n\tmargin-top: 30px;\n\tpadding: 10px;\n\n\t/* component style */\n\t.vue-slider-disabled {\n\t\topacity: 0.5;\n\t\tcursor: not-allowed;\n\t}\n\n\t/* rail style */\n\t.vue-slider-rail {\n\t\tbackground-color: #ccc;\n\t\tborder-radius: 15px;\n\t\theight: 4px;\n\t}\n\n\t/* process style */\n\t.vue-slider-process {\n\t\tbackground-color: #0b6aff;\n\t\tborder-radius: 15px;\n\t}\n\n\t/* mark style */\n\t.vue-slider-mark {\n\t\tz-index: 4;\n\t}\n\n\t.vue-slider-mark:first-child .vue-slider-mark-step,\n\t.vue-slider-mark:last-child .vue-slider-mark-step {\n\t\tdisplay: none;\n\t}\n\n\t.vue-slider-mark-step {\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tborder-radius: 50%;\n\t\tbackground-color: rgba(0, 0, 0, 0.16);\n\t}\n\n\t.vue-slider-mark-label {\n\t\tfont-size: 14px;\n\t\twhite-space: nowrap;\n\t}\n\n\t/* dot style */\n\t.vue-slider-dot {\n\t\tz-index: 2;\n\t}\n\n\t.vue-slider-dot-handle {\n\t\tcursor: pointer;\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tborder-radius: 50%;\n\t\tbackground-color: #fff;\n\t\tbox-sizing: border-box;\n\t\tborder: 1px solid #9a9a9a;\n\t\tz-index: 2;\n\t\tbox-shadow: 0.5px 0.5px 2px 1px rgb(0 0 0 / 32%);\n\t}\n\n\t.vue-slider-dot-handle-disabled {\n\t\tcursor: not-allowed;\n\t\tbackground-color: #ccc;\n\t}\n\n\t.vue-slider-dot-tooltip-inner {\n\t\tfont-size: 14px;\n\t\twhite-space: nowrap;\n\t\tpadding: 2px 5px;\n\t\tmin-width: 20px;\n\t\ttext-align: center;\n\t\tcolor: #fff;\n\t\tborder-radius: 5px;\n\t\tborder: 1px solid #3498db;\n\t\tbackground-color: #3498db;\n\t\tbox-sizing: content-box;\n\t}\n\n\t.vue-slider-dot-tooltip-inner::after {\n\t\tcontent: '';\n\t\tposition: absolute;\n\t}\n\n\t.vue-slider-dot-tooltip-inner-top::after {\n\t\ttop: 100%;\n\t\tleft: 50%;\n\t\ttransform: translate(-50%, 0);\n\t\theight: 0;\n\t\twidth: 0;\n\t\tborder-color: transparent;\n\t\tborder-style: solid;\n\t\tborder-width: 5px;\n\t\tborder-top-color: inherit;\n\t}\n\n\t.vue-slider-dot-tooltip-inner-bottom::after {\n\t\tbottom: 100%;\n\t\tleft: 50%;\n\t\ttransform: translate(-50%, 0);\n\t\theight: 0;\n\t\twidth: 0;\n\t\tborder-color: transparent;\n\t\tborder-style: solid;\n\t\tborder-width: 5px;\n\t\tborder-bottom-color: inherit;\n\t}\n\n\t.vue-slider-dot-tooltip-inner-left::after {\n\t\tleft: 100%;\n\t\ttop: 50%;\n\t\ttransform: translate(0, -50%);\n\t\theight: 0;\n\t\twidth: 0;\n\t\tborder-color: transparent;\n\t\tborder-style: solid;\n\t\tborder-width: 5px;\n\t\tborder-left-color: inherit;\n\t}\n\n\t.vue-slider-dot-tooltip-inner-right::after {\n\t\tright: 100%;\n\t\ttop: 50%;\n\t\ttransform: translate(0, -50%);\n\t\theight: 0;\n\t\twidth: 0;\n\t\tborder-color: transparent;\n\t\tborder-style: solid;\n\t\tborder-width: 5px;\n\t\tborder-right-color: inherit;\n\t}\n\n\t.vue-slider-dot-tooltip-wrapper {\n\t\topacity: 0;\n\t\ttransition: all 0.3s;\n\t}\n\t.vue-slider-dot-tooltip-wrapper-show {\n\t\topacity: 1;\n\t}\n\n\t.label-container {\n\t\tmargin: 10px 0;\n\t\twidth: 100%;\n\t}\n\n\t.range-label-right {\n\t\tfloat: right;\n\t}\n"])));
|
|
22499
22591
|
|
|
22592
|
+
var global$1 = typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {};
|
|
22593
|
+
|
|
22500
22594
|
/**
|
|
22501
22595
|
* Caution: Please do not change this file without having a discussion with the Team.
|
|
22502
22596
|
* Any change may break the umd build, we're directly replacing the line no: 14
|
|
22503
|
-
* `
|
|
22504
|
-
var s = document.createElement("script");
|
|
22505
|
-
s.setAttribute("src","https://cdn.jsdelivr.net/npm/vue-slider-component@3.2.15/dist/vue-slider-component.umd.min.js");
|
|
22506
|
-
s.onload = function(){
|
|
22507
|
-
var VueSlider = global['vue-slider-component'];
|
|
22508
|
-
components['vue-slider-component'] = VueSlider;
|
|
22509
|
-
}
|
|
22510
|
-
document.head.appendChild(s);
|
|
22511
|
-
` in rollup umd build process with some script.
|
|
22597
|
+
* `components['vue-slider-component'] = require('vue-slider-component');` in rollup umd build process with some script.
|
|
22512
22598
|
*/
|
|
22513
22599
|
// eslint-disable-next-line
|
|
22514
22600
|
var getComponents = function getComponents() {
|
|
@@ -22517,17 +22603,13 @@
|
|
|
22517
22603
|
};
|
|
22518
22604
|
try {
|
|
22519
22605
|
if (typeof window !== 'undefined') {
|
|
22520
|
-
|
|
22521
|
-
|
|
22522
|
-
|
|
22523
|
-
|
|
22524
|
-
|
|
22525
|
-
|
|
22526
|
-
|
|
22527
|
-
components['vue-slider-component'] = VueSlider;
|
|
22528
|
-
};
|
|
22529
|
-
document.head.appendChild(s);
|
|
22530
|
-
|
|
22606
|
+
var s = document.createElement("script");
|
|
22607
|
+
s.setAttribute("src", "https://cdn.jsdelivr.net/npm/vue-slider-component@3.2.15/dist/vue-slider-component.umd.min.js");
|
|
22608
|
+
s.onload = function () {
|
|
22609
|
+
var VueSlider = global$1['vue-slider-component'];
|
|
22610
|
+
components['vue-slider-component'] = VueSlider;
|
|
22611
|
+
};
|
|
22612
|
+
document.head.appendChild(s);
|
|
22531
22613
|
}
|
|
22532
22614
|
} catch (e) {
|
|
22533
22615
|
console.error('Unable to load vue-slider', e);
|
|
@@ -22647,9 +22729,9 @@
|
|
|
22647
22729
|
var start = _ref.start,
|
|
22648
22730
|
end = _ref.end;
|
|
22649
22731
|
if (this.$props.defaultValue) {
|
|
22650
|
-
var _this$$props$
|
|
22651
|
-
defaultStart = _this$$props$
|
|
22652
|
-
defaultEnd = _this$$props$
|
|
22732
|
+
var _this$$props$defaultV = this.$props.defaultValue(start, end),
|
|
22733
|
+
defaultStart = _this$$props$defaultV.start,
|
|
22734
|
+
defaultEnd = _this$$props$defaultV.end;
|
|
22653
22735
|
this.handleChange([defaultStart, defaultEnd]);
|
|
22654
22736
|
} else if (this.isControlled()) {
|
|
22655
22737
|
this.handleChange(DynamicRangeSlider.parseValue(this.$props.value), 'change');
|
|
@@ -23213,9 +23295,9 @@
|
|
|
23213
23295
|
currentValue = currentValue.filter(function (value) {
|
|
23214
23296
|
return value.label !== item;
|
|
23215
23297
|
});
|
|
23216
|
-
var
|
|
23217
|
-
del =
|
|
23218
|
-
selected = _objectWithoutPropertiesLoose(
|
|
23298
|
+
var _selectedValues = selectedValues,
|
|
23299
|
+
del = _selectedValues[item],
|
|
23300
|
+
selected = _objectWithoutPropertiesLoose(_selectedValues, [item].map(_toPropertyKey$1));
|
|
23219
23301
|
selectedValues = selected;
|
|
23220
23302
|
} else {
|
|
23221
23303
|
var _extends2;
|
|
@@ -26697,13 +26779,13 @@
|
|
|
26697
26779
|
var map = this.getMap();
|
|
26698
26780
|
if (map instanceof google.maps.Map && this.getProjection()) {
|
|
26699
26781
|
google.maps.event.trigger(this, MarkerClustererEvents.CLUSTERING_BEGIN, this);
|
|
26700
|
-
var _this$algorithm$
|
|
26782
|
+
var _this$algorithm$calcu = this.algorithm.calculate({
|
|
26701
26783
|
markers: this.markers,
|
|
26702
26784
|
map: map,
|
|
26703
26785
|
mapCanvasProjection: this.getProjection()
|
|
26704
26786
|
}),
|
|
26705
|
-
clusters = _this$algorithm$
|
|
26706
|
-
changed = _this$algorithm$
|
|
26787
|
+
clusters = _this$algorithm$calcu.clusters,
|
|
26788
|
+
changed = _this$algorithm$calcu.changed;
|
|
26707
26789
|
// allow algorithms to return flag on whether the clusters/markers have changed
|
|
26708
26790
|
if (changed || changed == undefined) {
|
|
26709
26791
|
// reset visibility of markers and clusters
|
|
@@ -28061,9 +28143,9 @@
|
|
|
28061
28143
|
var options = getQueryOptions$5(this.$props);
|
|
28062
28144
|
options.from = 0;
|
|
28063
28145
|
this.$defaultQuery = newVal(null, this.$props);
|
|
28064
|
-
var
|
|
28065
|
-
sort =
|
|
28066
|
-
query =
|
|
28146
|
+
var _ref = this.$defaultQuery || {},
|
|
28147
|
+
sort = _ref.sort,
|
|
28148
|
+
query = _ref.query;
|
|
28067
28149
|
if (sort) {
|
|
28068
28150
|
options.sort = this.$defaultQuery.sort;
|
|
28069
28151
|
}
|
|
@@ -28446,8 +28528,8 @@
|
|
|
28446
28528
|
geo_bounding_box: (_geo_bounding_box = {}, _geo_bounding_box[this.dataField] = boundingBoxCoordinates, _geo_bounding_box)
|
|
28447
28529
|
};
|
|
28448
28530
|
if (this.$defaultQuery) {
|
|
28449
|
-
var
|
|
28450
|
-
query =
|
|
28531
|
+
var _ref2 = this.$defaultQuery || {},
|
|
28532
|
+
query = _ref2.query;
|
|
28451
28533
|
if (query) {
|
|
28452
28534
|
// adds defaultQuery's query to geo-query
|
|
28453
28535
|
// to generate a map query
|
|
@@ -28490,8 +28572,8 @@
|
|
|
28490
28572
|
triggerClickAnalytics: function triggerClickAnalytics(searchPosition, documentId) {
|
|
28491
28573
|
var docId = documentId;
|
|
28492
28574
|
if (!docId) {
|
|
28493
|
-
var _this$
|
|
28494
|
-
data = _this$
|
|
28575
|
+
var _this$getData2 = this.getData(),
|
|
28576
|
+
data = _this$getData2.data;
|
|
28495
28577
|
var hitData = data.find(function (hit) {
|
|
28496
28578
|
return hit._click_id === searchPosition;
|
|
28497
28579
|
});
|
|
@@ -28582,10 +28664,10 @@
|
|
|
28582
28664
|
var options = getQueryOptions$5(this.$props);
|
|
28583
28665
|
options.from = this.$data.from;
|
|
28584
28666
|
if (this.$props.sortBy) {
|
|
28585
|
-
var
|
|
28586
|
-
options.sort = [(
|
|
28667
|
+
var _ref3;
|
|
28668
|
+
options.sort = [(_ref3 = {}, _ref3[this.$props.dataField] = {
|
|
28587
28669
|
order: this.$props.sortBy
|
|
28588
|
-
},
|
|
28670
|
+
}, _ref3)];
|
|
28589
28671
|
}
|
|
28590
28672
|
this.$defaultQuery = null;
|
|
28591
28673
|
if (this.$props.defaultQuery) {
|
|
@@ -30336,9 +30418,9 @@
|
|
|
30336
30418
|
contentRenderFn(parentPush);
|
|
30337
30419
|
teleportContent = "<!--teleport anchor-->";
|
|
30338
30420
|
} else {
|
|
30339
|
-
var
|
|
30340
|
-
getBuffer =
|
|
30341
|
-
push =
|
|
30421
|
+
var _createBuffer = createBuffer(),
|
|
30422
|
+
getBuffer = _createBuffer.getBuffer,
|
|
30423
|
+
push = _createBuffer.push;
|
|
30342
30424
|
contentRenderFn(push);
|
|
30343
30425
|
push("<!--teleport anchor-->");
|
|
30344
30426
|
teleportContent = getBuffer();
|
|
@@ -30409,9 +30491,9 @@
|
|
|
30409
30491
|
}
|
|
30410
30492
|
function renderComponentSubTree(instance, slotScopeId) {
|
|
30411
30493
|
var comp = instance.type;
|
|
30412
|
-
var
|
|
30413
|
-
getBuffer =
|
|
30414
|
-
push =
|
|
30494
|
+
var _createBuffer2 = createBuffer(),
|
|
30495
|
+
getBuffer = _createBuffer2.getBuffer,
|
|
30496
|
+
push = _createBuffer2.push;
|
|
30415
30497
|
if (isFunction$1(comp)) {
|
|
30416
30498
|
var root = renderComponentRoot(instance);
|
|
30417
30499
|
// #5817 scope ID attrs not falling through if functional component doesn't
|
|
@@ -31079,7 +31161,7 @@
|
|
|
31079
31161
|
}, queryString, renderFunction);
|
|
31080
31162
|
}
|
|
31081
31163
|
|
|
31082
|
-
var version = "3.0.0-alpha.
|
|
31164
|
+
var version = "3.0.0-alpha.6";
|
|
31083
31165
|
|
|
31084
31166
|
var components = [RLConnected, ResultCard, ResultList, ReactiveBase, SBConnected, ListConnected, ListConnected$1, RangeConnected$1, RangeConnected$2, RangeConnected$3, RangeConnected, RcConnected, RcConnected$1, TBConnected, ListConnected$2, ListConnected$3, StateProviderConnected, RangeConnected$4];
|
|
31085
31167
|
function install$1 (Vue) {
|