(
);
useEffect(() => {
+ // $FlowFixMe[incompatible-type] changing the variant using mutation isn't supported
inst.hasValue = true;
+ // $FlowFixMe[incompatible-type]
inst.value = value;
}, [value]);
diff --git a/scripts/babel/transform-object-assign.js b/scripts/babel/transform-object-assign.js
index d3fdc3d3d0b37..5844d7d5abb53 100644
--- a/scripts/babel/transform-object-assign.js
+++ b/scripts/babel/transform-object-assign.js
@@ -21,13 +21,13 @@ module.exports = function autoImporter(babel) {
}
return {
- pre: function() {
+ pre: function () {
// map from module to generated identifier
this.id = null;
},
visitor: {
- CallExpression: function(path, file) {
+ CallExpression: function (path, file) {
if (/shared(\/|\\)assign/.test(file.filename)) {
// Don't replace Object.assign if we're transforming shared/assign
return;
@@ -39,7 +39,7 @@ module.exports = function autoImporter(babel) {
}
},
- MemberExpression: function(path, file) {
+ MemberExpression: function (path, file) {
if (/shared(\/|\\)assign/.test(file.filename)) {
// Don't replace Object.assign if we're transforming shared/assign
return;
diff --git a/scripts/babel/transform-replace-console-calls.js b/scripts/babel/transform-replace-console-calls.js
index 48dd011a66dbb..387f88a5f948e 100644
--- a/scripts/babel/transform-replace-console-calls.js
+++ b/scripts/babel/transform-replace-console-calls.js
@@ -43,7 +43,7 @@ module.exports = function replaceConsoleCalls(babel) {
return {
visitor: {
- CallExpression: function(path, pass) {
+ CallExpression: function (path, pass) {
if (path.node.callee.type !== 'MemberExpression') {
return;
}
diff --git a/scripts/bench/benchmarks/hacker-news/benchmark.js b/scripts/bench/benchmarks/hacker-news/benchmark.js
index 202da35d242f3..d164c1f8bf3e8 100644
--- a/scripts/bench/benchmarks/hacker-news/benchmark.js
+++ b/scripts/bench/benchmarks/hacker-news/benchmark.js
@@ -1,4 +1,4 @@
-(function() {
+(function () {
'use strict';
const e = React.createElement;
diff --git a/scripts/bench/benchmarks/hacker-news/top-stories.js b/scripts/bench/benchmarks/hacker-news/top-stories.js
index 408a8e955c5f9..8e4a9cafd66d6 100644
--- a/scripts/bench/benchmarks/hacker-news/top-stories.js
+++ b/scripts/bench/benchmarks/hacker-news/top-stories.js
@@ -4,18 +4,8 @@ window.stories = [
descendants: 49,
id: 14201562,
kids: [
- 14201704,
- 14202297,
- 14202233,
- 14201771,
- 14201765,
- 14201897,
- 14201750,
- 14201913,
- 14201854,
- 14201667,
- 14201759,
- 14202073,
+ 14201704, 14202297, 14202233, 14201771, 14201765, 14201897, 14201750,
+ 14201913, 14201854, 14201667, 14201759, 14202073,
],
score: 186,
time: 1493197629,
@@ -41,19 +31,8 @@ window.stories = [
descendants: 137,
id: 14200563,
kids: [
- 14201274,
- 14200711,
- 14201147,
- 14201365,
- 14201499,
- 14200618,
- 14201169,
- 14200911,
- 14200734,
- 14201083,
- 14200706,
- 14200785,
- 14201032,
+ 14201274, 14200711, 14201147, 14201365, 14201499, 14200618, 14201169,
+ 14200911, 14200734, 14201083, 14200706, 14200785, 14201032,
],
score: 178,
time: 1493183234,
@@ -66,38 +45,11 @@ window.stories = [
descendants: 203,
id: 14196731,
kids: [
- 14201298,
- 14201838,
- 14201381,
- 14197574,
- 14201398,
- 14199764,
- 14198491,
- 14197000,
- 14198224,
- 14200614,
- 14201983,
- 14200697,
- 14199252,
- 14201214,
- 14198923,
- 14200224,
- 14197509,
- 14200859,
- 14200064,
- 14200114,
- 14197256,
- 14197220,
- 14200653,
- 14197186,
- 14199258,
- 14197155,
- 14197344,
- 14198361,
- 14197969,
- 14199813,
- 14197259,
- 14197503,
+ 14201298, 14201838, 14201381, 14197574, 14201398, 14199764, 14198491,
+ 14197000, 14198224, 14200614, 14201983, 14200697, 14199252, 14201214,
+ 14198923, 14200224, 14197509, 14200859, 14200064, 14200114, 14197256,
+ 14197220, 14200653, 14197186, 14199258, 14197155, 14197344, 14198361,
+ 14197969, 14199813, 14197259, 14197503,
],
score: 562,
time: 1493145853,
@@ -110,68 +62,15 @@ window.stories = [
descendants: 565,
id: 14196812,
kids: [
- 14198306,
- 14197339,
- 14200899,
- 14198165,
- 14198750,
- 14202199,
- 14201432,
- 14197619,
- 14197471,
- 14201113,
- 14202214,
- 14202043,
- 14197313,
- 14197751,
- 14197332,
- 14198050,
- 14201616,
- 14197404,
- 14199730,
- 14198007,
- 14197358,
- 14197283,
- 14200959,
- 14197891,
- 14198203,
- 14197312,
- 14200796,
- 14201528,
- 14197249,
- 14198271,
- 14197989,
- 14198842,
- 14197205,
- 14199148,
- 14197458,
- 14200457,
- 14197330,
- 14199993,
- 14197855,
- 14200102,
- 14197378,
- 14199315,
- 14198240,
- 14198397,
- 14199326,
- 14200159,
- 14198798,
- 14201296,
- 14198173,
- 14197323,
- 14197383,
- 14197459,
- 14197275,
- 14198305,
- 14198005,
- 14198015,
- 14199380,
- 14199079,
- 14198413,
- 14197334,
- 14197327,
- 14197234,
+ 14198306, 14197339, 14200899, 14198165, 14198750, 14202199, 14201432,
+ 14197619, 14197471, 14201113, 14202214, 14202043, 14197313, 14197751,
+ 14197332, 14198050, 14201616, 14197404, 14199730, 14198007, 14197358,
+ 14197283, 14200959, 14197891, 14198203, 14197312, 14200796, 14201528,
+ 14197249, 14198271, 14197989, 14198842, 14197205, 14199148, 14197458,
+ 14200457, 14197330, 14199993, 14197855, 14200102, 14197378, 14199315,
+ 14198240, 14198397, 14199326, 14200159, 14198798, 14201296, 14198173,
+ 14197323, 14197383, 14197459, 14197275, 14198305, 14198005, 14198015,
+ 14199380, 14199079, 14198413, 14197334, 14197327, 14197234,
],
score: 385,
time: 1493146342,
@@ -184,34 +83,15 @@ window.stories = [
descendants: 63,
id: 14196322,
kids: [
- 14197628,
- 14200026,
- 14197457,
- 14197486,
- 14202126,
- 14201266,
- 14197227,
- 14199404,
- 14199338,
- 14196382,
- 14200598,
- 14197377,
- 14199689,
- 14198538,
- 14196905,
- 14200404,
- 14198781,
- 14197278,
- 14197888,
- 14197742,
- 14197764,
+ 14197628, 14200026, 14197457, 14197486, 14202126, 14201266, 14197227,
+ 14199404, 14199338, 14196382, 14200598, 14197377, 14199689, 14198538,
+ 14196905, 14200404, 14198781, 14197278, 14197888, 14197742, 14197764,
],
score: 316,
time: 1493143464,
title: 'Experimental Nighttime Photography with Nexus and Pixel',
type: 'story',
- url:
- 'https://research.googleblog.com/2017/04/experimental-nighttime-photography-with.html',
+ url: 'https://research.googleblog.com/2017/04/experimental-nighttime-photography-with.html',
},
{
by: 'networked',
@@ -239,24 +119,9 @@ window.stories = [
descendants: 80,
id: 14196077,
kids: [
- 14199434,
- 14196279,
- 14196604,
- 14197440,
- 14201734,
- 14200922,
- 14200452,
- 14197115,
- 14199837,
- 14199894,
- 14196596,
- 14198243,
- 14196565,
- 14197400,
- 14197049,
- 14197686,
- 14198545,
- 14198475,
+ 14199434, 14196279, 14196604, 14197440, 14201734, 14200922, 14200452,
+ 14197115, 14199837, 14199894, 14196596, 14198243, 14196565, 14197400,
+ 14197049, 14197686, 14198545, 14198475,
],
score: 717,
time: 1493142008,
@@ -270,15 +135,8 @@ window.stories = [
descendants: 16,
id: 14201670,
kids: [
- 14201835,
- 14202115,
- 14202176,
- 14201890,
- 14202325,
- 14201859,
- 14202158,
- 14201763,
- 14201902,
+ 14201835, 14202115, 14202176, 14201890, 14202325, 14201859, 14202158,
+ 14201763, 14201902,
],
score: 62,
time: 1493198949,
@@ -305,33 +163,19 @@ window.stories = [
time: 1493181245,
title: 'Building Functional Chatbot for Messenger with Ruby on Rails',
type: 'story',
- url:
- 'https://tutorials.botsfloor.com/chatbot-development-tutorial-how-to-build-a-fully-functional-weather-bot-on-facebook-messenger-c94ac7c59185',
+ url: 'https://tutorials.botsfloor.com/chatbot-development-tutorial-how-to-build-a-fully-functional-weather-bot-on-facebook-messenger-c94ac7c59185',
},
{
by: 'nanospeck',
descendants: 23,
id: 14201207,
kids: [
- 14202252,
- 14201646,
- 14201620,
- 14202076,
- 14201511,
- 14201324,
- 14201940,
- 14201425,
- 14201505,
- 14201304,
- 14201435,
- 14201287,
- 14201739,
- 14202031,
+ 14202252, 14201646, 14201620, 14202076, 14201511, 14201324, 14201940,
+ 14201425, 14201505, 14201304, 14201435, 14201287, 14201739, 14202031,
14202018,
],
score: 57,
- text:
- 'This question was asked on both 2015 & 2016 in HN. I would like to ask it again today to know what are the newest options for this.Q: What would you recommend as a reasonably priced (sub 150$) quad-copter/drone, that has a camera, the ability to be programmed (so that I can process video/write my own stability algorithms for it), good range, and reasonable flying time?\nIn the event nothing fits that price point, any pointers on what the state of the art is?
Thanks!',
+ text: 'This question was asked on both 2015 & 2016 in HN. I would like to ask it again today to know what are the newest options for this.
Q: What would you recommend as a reasonably priced (sub 150$) quad-copter/drone, that has a camera, the ability to be programmed (so that I can process video/write my own stability algorithms for it), good range, and reasonable flying time?\nIn the event nothing fits that price point, any pointers on what the state of the art is?
Thanks!',
time: 1493192641,
title: 'Ask HN (again): What is the best affordable programmable drone?',
type: 'story',
@@ -341,20 +185,8 @@ window.stories = [
descendants: 57,
id: 14196708,
kids: [
- 14197480,
- 14198523,
- 14198705,
- 14200969,
- 14200079,
- 14197605,
- 14198979,
- 14202203,
- 14197679,
- 14198461,
- 14200389,
- 14198065,
- 14197883,
- 14197908,
+ 14197480, 14198523, 14198705, 14200969, 14200079, 14197605, 14198979,
+ 14202203, 14197679, 14198461, 14200389, 14198065, 14197883, 14197908,
],
score: 123,
time: 1493145655,
@@ -367,20 +199,8 @@ window.stories = [
descendants: 55,
id: 14195956,
kids: [
- 14199594,
- 14196972,
- 14202101,
- 14198197,
- 14196771,
- 14197326,
- 14196956,
- 14200842,
- 14201529,
- 14198581,
- 14196777,
- 14200177,
- 14200422,
- 14198571,
+ 14199594, 14196972, 14202101, 14198197, 14196771, 14197326, 14196956,
+ 14200842, 14201529, 14198581, 14196777, 14200177, 14200422, 14198571,
],
score: 167,
time: 1493141367,
@@ -393,15 +213,8 @@ window.stories = [
descendants: 19,
id: 14199364,
kids: [
- 14199735,
- 14200889,
- 14202245,
- 14200205,
- 14200104,
- 14201697,
- 14200061,
- 14199996,
- 14199867,
+ 14199735, 14200889, 14202245, 14200205, 14200104, 14201697, 14200061,
+ 14199996, 14199867,
],
score: 66,
time: 1493164755,
@@ -415,34 +228,10 @@ window.stories = [
descendants: 121,
id: 14195664,
kids: [
- 14196654,
- 14196206,
- 14196677,
- 14197035,
- 14196041,
- 14196399,
- 14196200,
- 14196140,
- 14196216,
- 14196421,
- 14196370,
- 14196146,
- 14197601,
- 14197107,
- 14196866,
- 14196691,
- 14197704,
- 14196772,
- 14200089,
- 14198588,
- 14196937,
- 14198530,
- 14197119,
- 14197247,
- 14198632,
- 14196137,
- 14200323,
- 14196346,
+ 14196654, 14196206, 14196677, 14197035, 14196041, 14196399, 14196200,
+ 14196140, 14196216, 14196421, 14196370, 14196146, 14197601, 14197107,
+ 14196866, 14196691, 14197704, 14196772, 14200089, 14198588, 14196937,
+ 14198530, 14197119, 14197247, 14198632, 14196137, 14200323, 14196346,
],
score: 486,
time: 1493139957,
@@ -455,36 +244,16 @@ window.stories = [
descendants: 89,
id: 14191186,
kids: [
- 14200855,
- 14200035,
- 14200110,
- 14201408,
- 14202159,
- 14197876,
- 14200348,
- 14198720,
- 14198183,
- 14199824,
- 14198281,
- 14201643,
- 14201591,
- 14199541,
- 14198423,
- 14201738,
- 14200037,
- 14201349,
- 14200028,
- 14201206,
- 14197995,
- 14197830,
- 14199603,
+ 14200855, 14200035, 14200110, 14201408, 14202159, 14197876, 14200348,
+ 14198720, 14198183, 14199824, 14198281, 14201643, 14201591, 14199541,
+ 14198423, 14201738, 14200037, 14201349, 14200028, 14201206, 14197995,
+ 14197830, 14199603,
],
score: 135,
time: 1493100791,
title: 'How to Say (Almost) Everything in a Hundred-Word Language (2015)',
type: 'story',
- url:
- 'https://www.theatlantic.com/technology/archive/2015/07/toki-pona-smallest-language/398363/?single_page=true',
+ url: 'https://www.theatlantic.com/technology/archive/2015/07/toki-pona-smallest-language/398363/?single_page=true',
},
{
by: 'runesoerensen',
@@ -502,16 +271,8 @@ window.stories = [
descendants: 20,
id: 14199299,
kids: [
- 14200694,
- 14201832,
- 14200517,
- 14201760,
- 14200966,
- 14200558,
- 14201815,
- 14201231,
- 14201073,
- 14201124,
+ 14200694, 14201832, 14200517, 14201760, 14200966, 14200558, 14201815,
+ 14201231, 14201073, 14201124,
],
score: 54,
time: 1493163960,
@@ -535,13 +296,7 @@ window.stories = [
descendants: 33,
id: 14199125,
kids: [
- 14202332,
- 14201634,
- 14201200,
- 14201215,
- 14201157,
- 14201898,
- 14201969,
+ 14202332, 14201634, 14201200, 14201215, 14201157, 14201898, 14201969,
14201125,
],
score: 52,
@@ -555,76 +310,27 @@ window.stories = [
descendants: 170,
id: 14200486,
kids: [
- 14200680,
- 14200677,
- 14201515,
- 14200793,
- 14200534,
- 14200908,
- 14200649,
- 14200633,
- 14200701,
- 14202295,
- 14200578,
- 14200709,
- 14200580,
- 14201107,
- 14201779,
- 14200773,
- 14200804,
- 14200720,
- 14202060,
- 14200948,
- 14200903,
- 14200748,
- 14200875,
- 14200750,
- 14200821,
- 14200756,
- 14201707,
- 14201689,
- 14200669,
- 14200997,
- 14200818,
- 14201586,
- 14200603,
- 14201054,
- 14201457,
- 14200616,
- 14201095,
- 14200915,
- 14200878,
- 14200629,
- 14201523,
- 14200620,
+ 14200680, 14200677, 14201515, 14200793, 14200534, 14200908, 14200649,
+ 14200633, 14200701, 14202295, 14200578, 14200709, 14200580, 14201107,
+ 14201779, 14200773, 14200804, 14200720, 14202060, 14200948, 14200903,
+ 14200748, 14200875, 14200750, 14200821, 14200756, 14201707, 14201689,
+ 14200669, 14200997, 14200818, 14201586, 14200603, 14201054, 14201457,
+ 14200616, 14201095, 14200915, 14200878, 14200629, 14201523, 14200620,
14202099,
],
score: 316,
time: 1493181945,
title: 'Suicide of an Uber engineer: Widow blames job stress',
type: 'story',
- url:
- 'https://www.sfchronicle.com/business/article/Suicide-of-an-Uber-engineer-widow-blames-job-11095807.php?t=7e40d1f554&cmpid=fb-premium&cmpid=twitter-premium',
+ url: 'https://www.sfchronicle.com/business/article/Suicide-of-an-Uber-engineer-widow-blames-job-11095807.php?t=7e40d1f554&cmpid=fb-premium&cmpid=twitter-premium',
},
{
by: 'catc',
descendants: 34,
id: 14195522,
kids: [
- 14202316,
- 14202278,
- 14197167,
- 14199152,
- 14202077,
- 14197239,
- 14197721,
- 14197632,
- 14197219,
- 14198296,
- 14197245,
- 14197201,
- 14197403,
- 14198051,
+ 14202316, 14202278, 14197167, 14199152, 14202077, 14197239, 14197721,
+ 14197632, 14197219, 14198296, 14197245, 14197201, 14197403, 14198051,
14196747,
],
score: 87,
@@ -639,43 +345,22 @@ window.stories = [
descendants: 152,
id: 14192353,
kids: [
- 14197671,
- 14197754,
- 14199091,
- 14198533,
- 14201249,
- 14198626,
- 14198263,
- 14198009,
- 14195130,
- 14199551,
- 14197663,
- 14198285,
- 14199611,
- 14199835,
- 14197482,
- 14198924,
- 14198943,
+ 14197671, 14197754, 14199091, 14198533, 14201249, 14198626, 14198263,
+ 14198009, 14195130, 14199551, 14197663, 14198285, 14199611, 14199835,
+ 14197482, 14198924, 14198943,
],
score: 273,
time: 1493117771,
title: 'Windows Is Bloated, Thanks to Adobe’s Extensible Metadata Platform',
type: 'story',
- url:
- 'https://www.thurrott.com/windows/109962/windows-bloated-thanks-adobes-extensible-metadata-platform',
+ url: 'https://www.thurrott.com/windows/109962/windows-bloated-thanks-adobes-extensible-metadata-platform',
},
{
by: 'craigcannon',
descendants: 23,
id: 14197852,
kids: [
- 14200024,
- 14199986,
- 14202106,
- 14198011,
- 14199228,
- 14202138,
- 14198917,
+ 14200024, 14199986, 14202106, 14198011, 14199228, 14202138, 14198917,
14198607,
],
score: 58,
@@ -689,42 +374,23 @@ window.stories = [
descendants: 105,
id: 14198229,
kids: [
- 14200202,
- 14198948,
- 14199770,
- 14198634,
- 14200263,
- 14198797,
- 14198919,
- 14200447,
- 14198645,
- 14199267,
- 14199124,
- 14198833,
- 14199059,
+ 14200202, 14198948, 14199770, 14198634, 14200263, 14198797, 14198919,
+ 14200447, 14198645, 14199267, 14199124, 14198833, 14199059,
],
score: 282,
time: 1493155745,
title:
'Uber must turn over information about its acquisition of Otto to Waymo',
type: 'story',
- url:
- 'https://techcrunch.com/2017/04/25/uber-must-turn-over-information-about-its-acquisition-of-otto-to-waymo-court-rules/',
+ url: 'https://techcrunch.com/2017/04/25/uber-must-turn-over-information-about-its-acquisition-of-otto-to-waymo-court-rules/',
},
{
by: 'JoshTriplett',
descendants: 116,
id: 14198403,
kids: [
- 14199771,
- 14199980,
- 14198664,
- 14198764,
- 14201086,
- 14200307,
- 14199294,
- 14198860,
- 14198817,
+ 14199771, 14199980, 14198664, 14198764, 14201086, 14200307, 14199294,
+ 14198860, 14198817,
],
score: 139,
time: 1493156882,
@@ -737,20 +403,8 @@ window.stories = [
descendants: 50,
id: 14191577,
kids: [
- 14194021,
- 14195402,
- 14193886,
- 14193792,
- 14194355,
- 14197136,
- 14200386,
- 14194151,
- 14193989,
- 14193798,
- 14194042,
- 14197100,
- 14198984,
- 14193925,
+ 14194021, 14195402, 14193886, 14193792, 14194355, 14197136, 14200386,
+ 14194151, 14193989, 14193798, 14194042, 14197100, 14198984, 14193925,
14194170,
],
score: 365,
@@ -764,16 +418,8 @@ window.stories = [
descendants: 29,
id: 14192946,
kids: [
- 14202311,
- 14202299,
- 14201900,
- 14200029,
- 14198260,
- 14198605,
- 14201850,
- 14199858,
- 14198223,
- 14198610,
+ 14202311, 14202299, 14201900, 14200029, 14198260, 14198605, 14201850,
+ 14199858, 14198223, 14198610,
],
score: 61,
time: 1493124627,
@@ -791,33 +437,22 @@ window.stories = [
title:
'The Republican Lawmaker Who Secretly Created Reddit’s Women-Hating ‘Red Pill’',
type: 'story',
- url:
- 'http://www.thedailybeast.com/articles/2017/04/25/the-republican-lawmaker-who-secretly-created-reddit-s-women-hating-red-pill.html',
+ url: 'http://www.thedailybeast.com/articles/2017/04/25/the-republican-lawmaker-who-secretly-created-reddit-s-women-hating-red-pill.html',
},
{
by: 'anguswithgusto',
descendants: 55,
id: 14196325,
kids: [
- 14197131,
- 14196789,
- 14197299,
- 14197466,
- 14196737,
- 14199929,
- 14197550,
- 14197511,
- 14196888,
- 14200109,
- 14197101,
+ 14197131, 14196789, 14197299, 14197466, 14196737, 14199929, 14197550,
+ 14197511, 14196888, 14200109, 14197101,
],
score: 80,
time: 1493143475,
title:
'Gett in advanced talks to buy Juno for $250M as Uber rivals consolidate',
type: 'story',
- url:
- 'https://techcrunch.com/2017/04/25/gett-in-advanced-talks-to-buy-juno-for-250m-as-uber-rivals-consolidate/',
+ url: 'https://techcrunch.com/2017/04/25/gett-in-advanced-talks-to-buy-juno-for-250m-as-uber-rivals-consolidate/',
},
{
by: 'fabuzaid',
@@ -835,13 +470,7 @@ window.stories = [
descendants: 61,
id: 14196154,
kids: [
- 14197614,
- 14196853,
- 14197074,
- 14197050,
- 14200090,
- 14197731,
- 14196352,
+ 14197614, 14196853, 14197074, 14197050, 14200090, 14197731, 14196352,
14197442,
],
score: 72,
@@ -855,87 +484,29 @@ window.stories = [
descendants: 254,
id: 14189392,
kids: [
- 14190198,
- 14190800,
- 14193591,
- 14190274,
- 14189796,
- 14190118,
- 14190405,
- 14190006,
- 14189430,
- 14190244,
- 14189877,
- 14190064,
- 14190211,
- 14189918,
- 14190071,
- 14191312,
- 14195969,
- 14190542,
- 14194775,
- 14189900,
- 14190032,
- 14189847,
- 14192128,
- 14191737,
- 14191047,
- 14190992,
- 14192759,
- 14191405,
- 14190815,
- 14194136,
- 14190737,
- 14190552,
- 14191385,
- 14189816,
- 14191316,
- 14193780,
- 14193979,
- 14190768,
- 14192973,
- 14191217,
- 14190879,
- 14190780,
- 14189914,
- 14190925,
- 14192906,
- 14190528,
- 14189893,
- 14190007,
- 14189929,
- 14190049,
- 14191859,
- 14191304,
- 14190177,
- 14193355,
- 14193352,
- 14190324,
- 14190846,
- 14189803,
+ 14190198, 14190800, 14193591, 14190274, 14189796, 14190118, 14190405,
+ 14190006, 14189430, 14190244, 14189877, 14190064, 14190211, 14189918,
+ 14190071, 14191312, 14195969, 14190542, 14194775, 14189900, 14190032,
+ 14189847, 14192128, 14191737, 14191047, 14190992, 14192759, 14191405,
+ 14190815, 14194136, 14190737, 14190552, 14191385, 14189816, 14191316,
+ 14193780, 14193979, 14190768, 14192973, 14191217, 14190879, 14190780,
+ 14189914, 14190925, 14192906, 14190528, 14189893, 14190007, 14189929,
+ 14190049, 14191859, 14191304, 14190177, 14193355, 14193352, 14190324,
+ 14190846, 14189803,
],
score: 630,
time: 1493076480,
title: 'Robert M. Pirsig has died',
type: 'story',
- url:
- 'https://www.npr.org/sections/thetwo-way/2017/04/24/525443040/-zen-and-the-art-of-motorcycle-maintenance-author-robert-m-pirsig-dies-at-88',
+ url: 'https://www.npr.org/sections/thetwo-way/2017/04/24/525443040/-zen-and-the-art-of-motorcycle-maintenance-author-robert-m-pirsig-dies-at-88',
},
{
by: 'artsandsci',
descendants: 67,
id: 14194422,
kids: [
- 14199418,
- 14196266,
- 14197226,
- 14196647,
- 14196324,
- 14201761,
- 14196265,
- 14195599,
- 14199054,
- 14196057,
+ 14199418, 14196266, 14197226, 14196647, 14196324, 14201761, 14196265,
+ 14195599, 14199054, 14196057,
],
score: 127,
time: 1493134376,
@@ -964,55 +535,19 @@ window.stories = [
time: 1493163087,
title: 'Should Curve25519 keys be validated?',
type: 'story',
- url:
- 'https://research.kudelskisecurity.com/2017/04/25/should-ecdh-keys-be-validated/',
+ url: 'https://research.kudelskisecurity.com/2017/04/25/should-ecdh-keys-be-validated/',
},
{
by: 'spearo77',
descendants: 213,
id: 14189688,
kids: [
- 14191654,
- 14192373,
- 14190683,
- 14192095,
- 14191856,
- 14190771,
- 14190570,
- 14190599,
- 14190721,
- 14192049,
- 14189694,
- 14191430,
- 14193610,
- 14190543,
- 14190372,
- 14191818,
- 14192171,
- 14192177,
- 14192135,
- 14191483,
- 14190560,
- 14190341,
- 14190362,
- 14190452,
- 14192563,
- 14190458,
- 14195245,
- 14190809,
- 14192706,
- 14192959,
- 14190636,
- 14190634,
- 14190368,
- 14191163,
- 14191379,
- 14190668,
- 14191673,
- 14190884,
- 14192565,
- 14190480,
- 14190442,
+ 14191654, 14192373, 14190683, 14192095, 14191856, 14190771, 14190570,
+ 14190599, 14190721, 14192049, 14189694, 14191430, 14193610, 14190543,
+ 14190372, 14191818, 14192171, 14192177, 14192135, 14191483, 14190560,
+ 14190341, 14190362, 14190452, 14192563, 14190458, 14195245, 14190809,
+ 14192706, 14192959, 14190636, 14190634, 14190368, 14191163, 14191379,
+ 14190668, 14191673, 14190884, 14192565, 14190480, 14190442,
],
score: 447,
time: 1493079289,
@@ -1025,83 +560,17 @@ window.stories = [
descendants: 294,
id: 14182262,
kids: [
- 14183335,
- 14183715,
- 14182725,
- 14183897,
- 14185812,
- 14184510,
- 14182468,
- 14183231,
- 14182580,
- 14183996,
- 14182449,
- 14185671,
- 14182428,
- 14182666,
- 14186599,
- 14182519,
- 14185571,
- 14185159,
- 14182636,
- 14185864,
- 14188340,
- 14183433,
- 14183146,
- 14184034,
- 14184363,
- 14183368,
- 14183098,
- 14182495,
- 14182753,
- 14184720,
- 14188085,
- 14187692,
- 14183633,
- 14188137,
- 14182606,
- 14186796,
- 14196166,
- 14185084,
- 14185899,
- 14188219,
- 14186885,
- 14183406,
- 14185561,
- 14183388,
- 14191457,
- 14183281,
- 14183399,
- 14183674,
- 14183236,
- 14183990,
- 14183760,
- 14183248,
- 14184114,
- 14183318,
- 14183457,
- 14186509,
- 14186900,
- 14186695,
- 14188405,
- 14184636,
- 14184630,
- 14188301,
- 14184144,
- 14183023,
- 14184555,
- 14185946,
- 14184611,
- 14184490,
- 14183653,
- 14183881,
- 14182715,
- 14184440,
- 14182573,
- 14183251,
- 14184962,
- 14187249,
- 14182545,
+ 14183335, 14183715, 14182725, 14183897, 14185812, 14184510, 14182468,
+ 14183231, 14182580, 14183996, 14182449, 14185671, 14182428, 14182666,
+ 14186599, 14182519, 14185571, 14185159, 14182636, 14185864, 14188340,
+ 14183433, 14183146, 14184034, 14184363, 14183368, 14183098, 14182495,
+ 14182753, 14184720, 14188085, 14187692, 14183633, 14188137, 14182606,
+ 14186796, 14196166, 14185084, 14185899, 14188219, 14186885, 14183406,
+ 14185561, 14183388, 14191457, 14183281, 14183399, 14183674, 14183236,
+ 14183990, 14183760, 14183248, 14184114, 14183318, 14183457, 14186509,
+ 14186900, 14186695, 14188405, 14184636, 14184630, 14188301, 14184144,
+ 14183023, 14184555, 14185946, 14184611, 14184490, 14183653, 14183881,
+ 14182715, 14184440, 14182573, 14183251, 14184962, 14187249, 14182545,
14192314,
],
score: 1356,
@@ -1140,68 +609,32 @@ window.stories = [
time: 1493147015,
title: 'One GraphQL Client for JavaScript, iOS, and Android',
type: 'story',
- url:
- 'https://dev-blog.apollodata.com/one-graphql-client-for-javascript-ios-and-android-64993c1b7991',
+ url: 'https://dev-blog.apollodata.com/one-graphql-client-for-javascript-ios-and-android-64993c1b7991',
},
{
by: 'uptown',
descendants: 166,
id: 14192817,
kids: [
- 14197690,
- 14195597,
- 14196750,
- 14195237,
- 14196320,
- 14195150,
- 14198816,
- 14194916,
- 14197746,
- 14196332,
- 14194695,
- 14196726,
- 14194947,
- 14199715,
- 14195059,
- 14195778,
- 14196204,
- 14200435,
- 14194780,
- 14195030,
- 14198452,
- 14199023,
- 14194852,
- 14197577,
- 14197778,
- 14195361,
- 14196368,
- 14194948,
- 14199024,
- 14195060,
- 14199498,
+ 14197690, 14195597, 14196750, 14195237, 14196320, 14195150, 14198816,
+ 14194916, 14197746, 14196332, 14194695, 14196726, 14194947, 14199715,
+ 14195059, 14195778, 14196204, 14200435, 14194780, 14195030, 14198452,
+ 14199023, 14194852, 14197577, 14197778, 14195361, 14196368, 14194948,
+ 14199024, 14195060, 14199498,
],
score: 226,
time: 1493123621,
title: 'How Yahoo Killed Flickr (2012)',
type: 'story',
- url:
- 'https://gizmodo.com/5910223/how-yahoo-killed-flickr-and-lost-the-internet',
+ url: 'https://gizmodo.com/5910223/how-yahoo-killed-flickr-and-lost-the-internet',
},
{
by: 'mattklein123',
descendants: 42,
id: 14194026,
kids: [
- 14194573,
- 14195577,
- 14194430,
- 14195407,
- 14194569,
- 14195298,
- 14200054,
- 14194456,
- 14198329,
- 14199198,
+ 14194573, 14195577, 14194430, 14195407, 14194569, 14195298, 14200054,
+ 14194456, 14198329, 14199198,
],
score: 167,
time: 1493131921,
@@ -1219,32 +652,16 @@ window.stories = [
title:
'Modern Hieroglyphs: Binary Logic Behind the Universal “Power Symbol”',
type: 'story',
- url:
- 'https://99percentinvisible.org/article/modern-hieroglyphics-binary-logic-behind-universal-power-symbol/',
+ url: 'https://99percentinvisible.org/article/modern-hieroglyphics-binary-logic-behind-universal-power-symbol/',
},
{
by: 'LaFolle',
descendants: 92,
id: 14191681,
kids: [
- 14192477,
- 14194490,
- 14192316,
- 14193364,
- 14192065,
- 14193499,
- 14194324,
- 14192622,
- 14192020,
- 14195866,
- 14192496,
- 14196391,
- 14192138,
- 14192714,
- 14195151,
- 14195094,
- 14192110,
- 14192155,
+ 14192477, 14194490, 14192316, 14193364, 14192065, 14193499, 14194324,
+ 14192622, 14192020, 14195866, 14192496, 14196391, 14192138, 14192714,
+ 14195151, 14195094, 14192110, 14192155,
],
score: 138,
time: 1493108371,
@@ -1257,65 +674,39 @@ window.stories = [
descendants: 18,
id: 14190736,
kids: [
- 14197744,
- 14195753,
- 14197880,
- 14197735,
- 14195874,
- 14197023,
- 14196660,
+ 14197744, 14195753, 14197880, 14197735, 14195874, 14197023, 14196660,
],
score: 81,
time: 1493093860,
title: 'The legend of the Legion',
type: 'story',
- url:
- 'https://aeon.co/essays/why-young-men-queue-up-to-die-in-the-french-foreign-legion',
+ url: 'https://aeon.co/essays/why-young-men-queue-up-to-die-in-the-french-foreign-legion',
},
{
by: 'bufordsharkley',
descendants: 92,
id: 14197013,
kids: [
- 14197983,
- 14197168,
- 14197701,
- 14198239,
- 14197514,
- 14198064,
- 14197476,
- 14198489,
- 14197761,
- 14197080,
- 14198905,
- 14198068,
- 14198579,
+ 14197983, 14197168, 14197701, 14198239, 14197514, 14198064, 14197476,
+ 14198489, 14197761, 14197080, 14198905, 14198068, 14198579,
],
score: 69,
time: 1493147532,
title: "Cracking the Mystery of Labor's Falling Share of GDP",
type: 'story',
- url:
- 'https://www.bloomberg.com/view/articles/2017-04-24/cracking-the-mystery-of-labor-s-falling-share-of-gdp',
+ url: 'https://www.bloomberg.com/view/articles/2017-04-24/cracking-the-mystery-of-labor-s-falling-share-of-gdp',
},
{
by: 'rbanffy',
descendants: 27,
id: 14198470,
kids: [
- 14199443,
- 14201987,
- 14199461,
- 14199729,
- 14201519,
- 14198762,
- 14199524,
+ 14199443, 14201987, 14199461, 14199729, 14201519, 14198762, 14199524,
],
score: 52,
time: 1493157378,
title: 'How the Internet Gave Mail-Order Brides the Power',
type: 'story',
- url:
- 'https://backchannel.com/how-the-internet-gave-mail-order-brides-the-power-1af8c8a40562',
+ url: 'https://backchannel.com/how-the-internet-gave-mail-order-brides-the-power-1af8c8a40562',
},
];
diff --git a/scripts/bench/benchmarks/pe-class-components/benchmark.js b/scripts/bench/benchmarks/pe-class-components/benchmark.js
index dce255f3d4b6d..2276e28e2d85f 100644
--- a/scripts/bench/benchmarks/pe-class-components/benchmark.js
+++ b/scripts/bench/benchmarks/pe-class-components/benchmark.js
@@ -1,4 +1,4 @@
-(function() {
+(function () {
'use strict';
class ReactImage0 extends React.Component {
@@ -246,7 +246,7 @@
label: null,
href: '#',
rel: undefined,
- onClick: function() {},
+ onClick: function () {},
},
null,
React.createElement(
@@ -279,7 +279,7 @@
label: null,
href: '#',
rel: undefined,
- onClick: function() {},
+ onClick: function () {},
},
undefined,
'Remove',
@@ -293,7 +293,7 @@
target: '_blank',
href: '/ads/manage/billing.php?act=10149999073643408',
rel: undefined,
- onClick: function() {},
+ onClick: function () {},
},
React.createElement(XUIText29, {x: 48})
);
@@ -308,7 +308,7 @@
label: null,
href: '#',
rel: undefined,
- onClick: function() {},
+ onClick: function () {},
},
null,
React.createElement(
@@ -330,7 +330,7 @@
label: null,
href: '#',
rel: undefined,
- onClick: function() {},
+ onClick: function () {},
},
null,
React.createElement(
@@ -353,7 +353,7 @@
label: null,
href: '#',
rel: undefined,
- onClick: function() {},
+ onClick: function () {},
},
undefined,
'Lifetime',
@@ -363,21 +363,21 @@
if (this.props.x === 207) {
return React.createElement(
'a',
- {href: '#', rel: undefined, onClick: function() {}},
+ {href: '#', rel: undefined, onClick: function () {}},
'Create Ad Set'
);
}
if (this.props.x === 209) {
return React.createElement(
'a',
- {href: '#', rel: undefined, onClick: function() {}},
+ {href: '#', rel: undefined, onClick: function () {}},
'View Ad Set'
);
}
if (this.props.x === 241) {
return React.createElement(
'a',
- {href: '#', rel: undefined, onClick: function() {}},
+ {href: '#', rel: undefined, onClick: function () {}},
'Set a Limit'
);
}
@@ -391,7 +391,7 @@
label: null,
href: '#',
rel: undefined,
- onClick: function() {},
+ onClick: function () {},
},
null,
React.createElement(
@@ -451,7 +451,7 @@
'button',
{
className: '_5n7z _4jy0 _4jy4 _517h _51sy _42ft',
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -467,7 +467,7 @@
{
className: '_5n7z _2yak _4lj- _4jy0 _4jy4 _517h _51sy _42ft _42fr',
disabled: true,
- onClick: function() {},
+ onClick: function () {},
'data-tooltip-content': 'You have no changes to publish',
'data-hover': 'tooltip',
label: null,
@@ -487,7 +487,7 @@
'button',
{
className: '_u_k _4jy0 _4jy4 _517h _51sy _42ft',
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -520,7 +520,7 @@
'data-hover': 'tooltip',
className: '_d2_ _u_k noMargin _4jy0 _4jy4 _517h _51sy _42ft',
disabled: false,
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -554,7 +554,7 @@
'data-hover': 'tooltip',
'data-tooltip-content': 'Revert',
disabled: true,
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -573,7 +573,7 @@
'data-hover': 'tooltip',
'data-tooltip-content': 'Delete',
disabled: false,
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -592,7 +592,7 @@
'data-hover': 'tooltip',
'data-tooltip-content': 'Duplicate',
disabled: false,
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -610,7 +610,7 @@
className: '_u_k noMargin _p _4jy0 _4jy4 _517h _51sy _42ft',
'data-hover': 'tooltip',
'data-tooltip-content': 'Export & Import',
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -630,7 +630,7 @@
'data-tooltip-content': 'Create Report',
disabled: false,
style: {boxSizing: 'border-box', height: '28px', width: '48px'},
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -649,7 +649,7 @@
'data-hover': 'tooltip',
'data-tooltip-content': 'Campaign Tags',
disabled: false,
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -671,7 +671,7 @@
{
className: '_3yz9 _1t-2 _50z- _50zy _50zz _50z- _5upp _42ft',
size: 'small',
- onClick: function() {},
+ onClick: function () {},
type: 'button',
title: 'Remove',
'data-hover': undefined,
@@ -689,7 +689,7 @@
'button',
{
className: '_5b5u _5b5v _4jy0 _4jy3 _517h _51sy _42ft',
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -704,7 +704,7 @@
'button',
{
className: '_1wdf _4jy0 _517i _517h _51sy _42ft',
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -725,7 +725,7 @@
className: '_u_k _3c5o _1-r0 _4jy0 _4jy4 _517h _51sy _42ft',
'data-hover': 'tooltip',
'data-tooltip-content': 'List Settings',
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -746,7 +746,7 @@
'data-tooltip-position': 'right',
'data-tooltip-content': 'Campaigns',
'data-hover': 'tooltip',
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -770,7 +770,7 @@
'data-tooltip-position': 'right',
'data-tooltip-content': 'Ad Sets',
'data-hover': 'tooltip',
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -794,7 +794,7 @@
'data-tooltip-position': 'right',
'data-tooltip-content': 'Ads',
'data-hover': 'tooltip',
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -1089,7 +1089,7 @@
if (this.props.x === 16) {
return React.createElement(
'div',
- {className: '_3ut-', onClick: function() {}},
+ {className: '_3ut-', onClick: function () {}},
React.createElement(
'span',
{className: '_3uu0'},
@@ -1865,7 +1865,7 @@
disabled: true,
name: 'filterUnpublished',
value: 'on',
- onClick: function() {},
+ onClick: function () {},
className: null,
id: 'js_input_label_21',
type: 'checkbox',
@@ -1882,7 +1882,7 @@
{className: '_4h2r _55sg _kv1'},
React.createElement('input', {
checked: undefined,
- onChange: function() {},
+ onChange: function () {},
className: null,
type: 'checkbox',
}),
@@ -1932,8 +1932,8 @@
React.createElement(
'span',
{
- onMouseEnter: function() {},
- onMouseLeave: function() {},
+ onMouseEnter: function () {},
+ onMouseLeave: function () {},
onMouseUp: undefined,
},
React.createElement('span', {className: '_3o_j'}),
@@ -1949,8 +1949,8 @@
React.createElement(
'span',
{
- onMouseEnter: function() {},
- onMouseLeave: function() {},
+ onMouseEnter: function () {},
+ onMouseLeave: function () {},
onMouseUp: undefined,
},
React.createElement('span', {className: '_3o_j'}),
@@ -2007,7 +2007,7 @@
{className: '_3yz4', 'aria-hidden': false},
React.createElement(
'div',
- {onClick: function() {}, className: '_3yz5'},
+ {onClick: function () {}, className: '_3yz5'},
React.createElement(ReactImage0, {x: 148}),
React.createElement('div', {className: '_3yz7'}, 'Campaigns:'),
React.createElement(
@@ -2181,10 +2181,10 @@
id: undefined,
maxLength: null,
value: 'Test Campaign',
- onBlur: function() {},
- onChange: function() {},
- onFocus: function() {},
- onKeyDown: function() {},
+ onBlur: function () {},
+ onChange: function () {},
+ onFocus: function () {},
+ onKeyDown: function () {},
}),
null
),
@@ -2270,7 +2270,7 @@
if (this.props.x === 196) {
return React.createElement(
'div',
- {className: '_1-ly _59j9 _d9a', onClick: function() {}},
+ {className: '_1-ly _59j9 _d9a', onClick: function () {}},
React.createElement(ReactImage0, {x: 195}),
React.createElement('div', {className: '_vf7'}),
React.createElement('div', {className: '_vf8'})
@@ -2279,7 +2279,7 @@
if (this.props.x === 199) {
return React.createElement(
'div',
- {className: ' _1-lz _d9a', onClick: function() {}},
+ {className: ' _1-lz _d9a', onClick: function () {}},
React.createElement(ReactImage0, {x: 198}),
React.createElement('div', {className: '_vf7'}),
React.createElement('div', {className: '_vf8'})
@@ -2762,14 +2762,14 @@
return React.createElement(
'div',
{},
- React.createElement('div', {onWheel: function() {}})
+ React.createElement('div', {onWheel: function () {}})
);
}
if (this.props.x === 292) {
return React.createElement(
'div',
{},
- React.createElement('div', {onWheel: function() {}}, [
+ React.createElement('div', {onWheel: function () {}}, [
React.createElement(
'div',
{key: 'campaign_group_errors_section98010048849317'},
@@ -2836,7 +2836,7 @@
'data-tooltip-position': 'below',
disabled: false,
value: true,
- onToggle: function() {},
+ onToggle: function () {},
className: '_128j _128k _128n',
role: 'checkbox',
'aria-checked': 'true',
@@ -2845,9 +2845,9 @@
'div',
{
className: '_128o',
- onClick: function() {},
- onKeyDown: function() {},
- onMouseDown: function() {},
+ onClick: function () {},
+ onKeyDown: function () {},
+ onMouseDown: function () {},
tabIndex: '0',
},
React.createElement('div', {className: '_128p'})
@@ -4071,7 +4071,7 @@
{
className: '_4lg9',
style: {height: 25},
- onMouseDown: function() {},
+ onMouseDown: function () {},
},
React.createElement('div', {
className: '_4lga _4lgb',
@@ -4117,7 +4117,7 @@
{
className: '_4lg9',
style: {height: 25},
- onMouseDown: function() {},
+ onMouseDown: function () {},
},
React.createElement('div', {
className: '_4lga _4lgb',
@@ -4139,7 +4139,7 @@
{
className: '_4lg9',
style: {height: 25},
- onMouseDown: function() {},
+ onMouseDown: function () {},
},
React.createElement('div', {
className: '_4lga _4lgb',
@@ -4161,7 +4161,7 @@
{
className: '_4lg9',
style: {height: 25},
- onMouseDown: function() {},
+ onMouseDown: function () {},
},
React.createElement('div', {
className: '_4lga _4lgb',
@@ -4183,7 +4183,7 @@
{
className: '_4lg9',
style: {height: 25},
- onMouseDown: function() {},
+ onMouseDown: function () {},
},
React.createElement('div', {
className: '_4lga _4lgb',
@@ -4205,7 +4205,7 @@
{
className: '_4lg9',
style: {height: 25},
- onMouseDown: function() {},
+ onMouseDown: function () {},
},
React.createElement('div', {
className: '_4lga _4lgb',
@@ -4227,7 +4227,7 @@
{
className: '_4lg9',
style: {height: 25},
- onMouseDown: function() {},
+ onMouseDown: function () {},
},
React.createElement('div', {
className: '_4lga _4lgb',
@@ -4249,7 +4249,7 @@
{
className: '_4lg9',
style: {height: 25},
- onMouseDown: function() {},
+ onMouseDown: function () {},
},
React.createElement('div', {
className: '_4lga _4lgb',
@@ -4271,7 +4271,7 @@
{
className: '_4lg9',
style: {height: 25},
- onMouseDown: function() {},
+ onMouseDown: function () {},
},
React.createElement('div', {
className: '_4lga _4lgb',
@@ -4293,7 +4293,7 @@
{
className: '_4lg9',
style: {height: 25},
- onMouseDown: function() {},
+ onMouseDown: function () {},
},
React.createElement('div', {
className: '_4lga _4lgb',
@@ -4315,7 +4315,7 @@
{
className: '_4lg9',
style: {height: 25},
- onMouseDown: function() {},
+ onMouseDown: function () {},
},
React.createElement('div', {
className: '_4lga _4lgb',
@@ -4337,7 +4337,7 @@
{
className: '_4lg9',
style: {height: 25},
- onMouseDown: function() {},
+ onMouseDown: function () {},
},
React.createElement('div', {
className: '_4lga _4lgb',
@@ -4359,7 +4359,7 @@
{
className: '_4lg9',
style: {height: 25},
- onMouseDown: function() {},
+ onMouseDown: function () {},
},
React.createElement('div', {
className: '_4lga _4lgb',
@@ -4381,7 +4381,7 @@
{
className: '_4lg9',
style: {height: 25},
- onMouseDown: function() {},
+ onMouseDown: function () {},
},
React.createElement('div', {
className: '_4lga _4lgb',
@@ -4403,7 +4403,7 @@
{
className: '_4lg9',
style: {height: 25},
- onMouseDown: function() {},
+ onMouseDown: function () {},
},
React.createElement('div', {
className: '_4lga _4lgb',
@@ -4425,7 +4425,7 @@
{
className: '_4lg9',
style: {height: 25},
- onMouseDown: function() {},
+ onMouseDown: function () {},
},
React.createElement('div', {
className: '_4lga _4lgb',
@@ -4447,7 +4447,7 @@
{
className: '_4lg9',
style: {height: 25},
- onMouseDown: function() {},
+ onMouseDown: function () {},
},
React.createElement('div', {
className: '_4lga _4lgb',
@@ -4469,7 +4469,7 @@
{
className: '_4lg9',
style: {height: 25},
- onMouseDown: function() {},
+ onMouseDown: function () {},
},
React.createElement('div', {
className: '_4lga _4lgb',
@@ -4491,7 +4491,7 @@
{
className: '_4lg9',
style: {height: 25},
- onMouseDown: function() {},
+ onMouseDown: function () {},
},
React.createElement('div', {
className: '_4lga _4lgb',
@@ -4753,7 +4753,7 @@
if (this.props.x === 341) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4765,7 +4765,7 @@
if (this.props.x === 347) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _1kst _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _1kst _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4777,7 +4777,7 @@
if (this.props.x === 353) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _1kst _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _1kst _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4789,7 +4789,7 @@
if (this.props.x === 358) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4801,7 +4801,7 @@
if (this.props.x === 363) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _54_9 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _54_9 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4813,7 +4813,7 @@
if (this.props.x === 370) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4825,7 +4825,7 @@
if (this.props.x === 375) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4837,7 +4837,7 @@
if (this.props.x === 380) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4849,7 +4849,7 @@
if (this.props.x === 385) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4861,7 +4861,7 @@
if (this.props.x === 390) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4873,7 +4873,7 @@
if (this.props.x === 395) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4885,7 +4885,7 @@
if (this.props.x === 400) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4897,7 +4897,7 @@
if (this.props.x === 405) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4909,7 +4909,7 @@
if (this.props.x === 410) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4921,7 +4921,7 @@
if (this.props.x === 415) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4933,7 +4933,7 @@
if (this.props.x === 420) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4945,7 +4945,7 @@
if (this.props.x === 425) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4957,7 +4957,7 @@
if (this.props.x === 430) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4969,7 +4969,7 @@
if (this.props.x === 435) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4981,7 +4981,7 @@
if (this.props.x === 440) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4993,7 +4993,7 @@
if (this.props.x === 445) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -5139,11 +5139,11 @@
return React.createElement(
'div',
{
- onFocus: function() {},
- onBlur: function() {},
- onKeyDown: function() {},
- onMouseDown: function() {},
- onWheel: function() {},
+ onFocus: function () {},
+ onBlur: function () {},
+ onKeyDown: function () {},
+ onMouseDown: function () {},
+ onWheel: function () {},
className: '_1t0r _1t0t _4jdr _1t0u',
style: {width: 1209, zIndex: 99},
tabIndex: 0,
@@ -5193,7 +5193,7 @@
'div',
{
className: '_3h1i _1mie',
- onWheel: function() {},
+ onWheel: function () {},
style: {height: 25, width: 1209},
},
React.createElement(
@@ -5245,7 +5245,7 @@
if (this.props.x === 466) {
return React.createElement(
'div',
- {className: '_5d6f', tabIndex: '0', onKeyDown: function() {}},
+ {className: '_5d6f', tabIndex: '0', onKeyDown: function () {}},
React.createElement(AdsSelectableFixedDataTable155, {x: 465})
);
}
@@ -5257,7 +5257,7 @@
if (this.props.x === 467) {
return React.createElement(
'div',
- {onCopy: function() {}},
+ {onCopy: function () {}},
React.createElement(AdsDataTableKeyboardSupportDecorator156, {x: 466})
);
}
diff --git a/scripts/bench/benchmarks/pe-functional-components/benchmark.js b/scripts/bench/benchmarks/pe-functional-components/benchmark.js
index 304a3d67e35e9..7365caefe735f 100644
--- a/scripts/bench/benchmarks/pe-functional-components/benchmark.js
+++ b/scripts/bench/benchmarks/pe-functional-components/benchmark.js
@@ -1,7 +1,7 @@
-(function() {
+(function () {
'use strict';
- var ReactImage0 = function(props) {
+ var ReactImage0 = function (props) {
if (props.x === 0) {
return React.createElement('i', {
alt: '',
@@ -232,7 +232,7 @@
}
};
- var AbstractLink1 = function(props) {
+ var AbstractLink1 = function (props) {
if (props.x === 1) {
return React.createElement(
'a',
@@ -243,7 +243,7 @@
label: null,
href: '#',
rel: undefined,
- onClick: function() {},
+ onClick: function () {},
},
null,
React.createElement(
@@ -276,7 +276,7 @@
label: null,
href: '#',
rel: undefined,
- onClick: function() {},
+ onClick: function () {},
},
undefined,
'Remove',
@@ -290,7 +290,7 @@
target: '_blank',
href: '/ads/manage/billing.php?act=10149999073643408',
rel: undefined,
- onClick: function() {},
+ onClick: function () {},
},
React.createElement(XUIText29, {x: 48})
);
@@ -305,7 +305,7 @@
label: null,
href: '#',
rel: undefined,
- onClick: function() {},
+ onClick: function () {},
},
null,
React.createElement(
@@ -327,7 +327,7 @@
label: null,
href: '#',
rel: undefined,
- onClick: function() {},
+ onClick: function () {},
},
null,
React.createElement(
@@ -350,7 +350,7 @@
label: null,
href: '#',
rel: undefined,
- onClick: function() {},
+ onClick: function () {},
},
undefined,
'Lifetime',
@@ -360,21 +360,21 @@
if (props.x === 207) {
return React.createElement(
'a',
- {href: '#', rel: undefined, onClick: function() {}},
+ {href: '#', rel: undefined, onClick: function () {}},
'Create Ad Set'
);
}
if (props.x === 209) {
return React.createElement(
'a',
- {href: '#', rel: undefined, onClick: function() {}},
+ {href: '#', rel: undefined, onClick: function () {}},
'View Ad Set'
);
}
if (props.x === 241) {
return React.createElement(
'a',
- {href: '#', rel: undefined, onClick: function() {}},
+ {href: '#', rel: undefined, onClick: function () {}},
'Set a Limit'
);
}
@@ -388,7 +388,7 @@
label: null,
href: '#',
rel: undefined,
- onClick: function() {},
+ onClick: function () {},
},
null,
React.createElement(
@@ -402,7 +402,7 @@
}
};
- var Link2 = function(props) {
+ var Link2 = function (props) {
if (props.x === 2) {
return React.createElement(AbstractLink1, {x: 1});
}
@@ -435,7 +435,7 @@
}
};
- var AbstractButton3 = function(props) {
+ var AbstractButton3 = function (props) {
if (props.x === 3) {
return React.createElement(Link2, {x: 2});
}
@@ -444,7 +444,7 @@
'button',
{
className: '_5n7z _4jy0 _4jy4 _517h _51sy _42ft',
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -460,7 +460,7 @@
{
className: '_5n7z _2yak _4lj- _4jy0 _4jy4 _517h _51sy _42ft _42fr',
disabled: true,
- onClick: function() {},
+ onClick: function () {},
'data-tooltip-content': 'You have no changes to publish',
'data-hover': 'tooltip',
label: null,
@@ -480,7 +480,7 @@
'button',
{
className: '_u_k _4jy0 _4jy4 _517h _51sy _42ft',
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -513,7 +513,7 @@
'data-hover': 'tooltip',
className: '_d2_ _u_k noMargin _4jy0 _4jy4 _517h _51sy _42ft',
disabled: false,
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -547,7 +547,7 @@
'data-hover': 'tooltip',
'data-tooltip-content': 'Revert',
disabled: true,
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -566,7 +566,7 @@
'data-hover': 'tooltip',
'data-tooltip-content': 'Delete',
disabled: false,
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -585,7 +585,7 @@
'data-hover': 'tooltip',
'data-tooltip-content': 'Duplicate',
disabled: false,
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -603,7 +603,7 @@
className: '_u_k noMargin _p _4jy0 _4jy4 _517h _51sy _42ft',
'data-hover': 'tooltip',
'data-tooltip-content': 'Export & Import',
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -623,7 +623,7 @@
'data-tooltip-content': 'Create Report',
disabled: false,
style: {boxSizing: 'border-box', height: '28px', width: '48px'},
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -642,7 +642,7 @@
'data-hover': 'tooltip',
'data-tooltip-content': 'Campaign Tags',
disabled: false,
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -664,7 +664,7 @@
{
className: '_3yz9 _1t-2 _50z- _50zy _50zz _50z- _5upp _42ft',
size: 'small',
- onClick: function() {},
+ onClick: function () {},
type: 'button',
title: 'Remove',
'data-hover': undefined,
@@ -682,7 +682,7 @@
'button',
{
className: '_5b5u _5b5v _4jy0 _4jy3 _517h _51sy _42ft',
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -697,7 +697,7 @@
'button',
{
className: '_1wdf _4jy0 _517i _517h _51sy _42ft',
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -718,7 +718,7 @@
className: '_u_k _3c5o _1-r0 _4jy0 _4jy4 _517h _51sy _42ft',
'data-hover': 'tooltip',
'data-tooltip-content': 'List Settings',
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -739,7 +739,7 @@
'data-tooltip-position': 'right',
'data-tooltip-content': 'Campaigns',
'data-hover': 'tooltip',
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -763,7 +763,7 @@
'data-tooltip-position': 'right',
'data-tooltip-content': 'Ad Sets',
'data-hover': 'tooltip',
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -787,7 +787,7 @@
'data-tooltip-position': 'right',
'data-tooltip-content': 'Ads',
'data-hover': 'tooltip',
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -805,7 +805,7 @@
}
};
- var XUIButton4 = function(props) {
+ var XUIButton4 = function (props) {
if (props.x === 4) {
return React.createElement(AbstractButton3, {x: 3});
}
@@ -874,7 +874,7 @@
}
};
- var AbstractPopoverButton5 = function(props) {
+ var AbstractPopoverButton5 = function (props) {
if (props.x === 5) {
return React.createElement(XUIButton4, {x: 4});
}
@@ -889,7 +889,7 @@
}
};
- var ReactXUIPopoverButton6 = function(props) {
+ var ReactXUIPopoverButton6 = function (props) {
if (props.x === 6) {
return React.createElement(AbstractPopoverButton5, {x: 5});
}
@@ -904,7 +904,7 @@
}
};
- var BIGAdAccountSelector7 = function(props) {
+ var BIGAdAccountSelector7 = function (props) {
if (props.x === 7) {
return React.createElement(
'div',
@@ -915,13 +915,13 @@
}
};
- var FluxContainer_AdsPEBIGAdAccountSelectorContainer_8 = function(props) {
+ var FluxContainer_AdsPEBIGAdAccountSelectorContainer_8 = function (props) {
if (props.x === 8) {
return React.createElement(BIGAdAccountSelector7, {x: 7});
}
};
- var ErrorBoundary9 = function(props) {
+ var ErrorBoundary9 = function (props) {
if (props.x === 9) {
return React.createElement(
FluxContainer_AdsPEBIGAdAccountSelectorContainer_8,
@@ -988,7 +988,7 @@
}
};
- var AdsErrorBoundary10 = function(props) {
+ var AdsErrorBoundary10 = function (props) {
if (props.x === 10) {
return React.createElement(ErrorBoundary9, {x: 9});
}
@@ -1039,23 +1039,23 @@
}
};
- var AdsPENavigationBar11 = function(props) {
+ var AdsPENavigationBar11 = function (props) {
if (props.x === 11) {
return React.createElement('div', {className: '_4t_9'});
}
};
- var FluxContainer_AdsPENavigationBarContainer_12 = function(props) {
+ var FluxContainer_AdsPENavigationBarContainer_12 = function (props) {
if (props.x === 12) {
return React.createElement(AdsPENavigationBar11, {x: 11});
}
};
- var AdsPEDraftSyncStatus13 = function(props) {
+ var AdsPEDraftSyncStatus13 = function (props) {
if (props.x === 16) {
return React.createElement(
'div',
- {className: '_3ut-', onClick: function() {}},
+ {className: '_3ut-', onClick: function () {}},
React.createElement(
'span',
{className: '_3uu0'},
@@ -1065,25 +1065,25 @@
}
};
- var FluxContainer_AdsPEDraftSyncStatusContainer_14 = function(props) {
+ var FluxContainer_AdsPEDraftSyncStatusContainer_14 = function (props) {
if (props.x === 17) {
return React.createElement(AdsPEDraftSyncStatus13, {x: 16});
}
};
- var AdsPEDraftErrorsStatus15 = function(props) {
+ var AdsPEDraftErrorsStatus15 = function (props) {
if (props.x === 18) {
return null;
}
};
- var FluxContainer_viewFn_16 = function(props) {
+ var FluxContainer_viewFn_16 = function (props) {
if (props.x === 19) {
return React.createElement(AdsPEDraftErrorsStatus15, {x: 18});
}
};
- var AdsPEPublishButton17 = function(props) {
+ var AdsPEPublishButton17 = function (props) {
if (props.x === 25) {
return React.createElement(
'div',
@@ -1099,13 +1099,13 @@
}
};
- var FluxContainer_AdsPEPublishButtonContainer_18 = function(props) {
+ var FluxContainer_AdsPEPublishButtonContainer_18 = function (props) {
if (props.x === 26) {
return React.createElement(AdsPEPublishButton17, {x: 25});
}
};
- var InlineBlock19 = function(props) {
+ var InlineBlock19 = function (props) {
if (props.x === 30) {
return React.createElement(
'div',
@@ -1147,7 +1147,7 @@
}
};
- var ReactPopoverMenu20 = function(props) {
+ var ReactPopoverMenu20 = function (props) {
if (props.x === 31) {
return React.createElement(InlineBlock19, {x: 30});
}
@@ -1165,7 +1165,7 @@
}
};
- var LeftRight21 = function(props) {
+ var LeftRight21 = function (props) {
if (props.x === 34) {
return React.createElement(
'div',
@@ -1296,7 +1296,7 @@
}
};
- var AdsUnifiedNavigationLocalNav22 = function(props) {
+ var AdsUnifiedNavigationLocalNav22 = function (props) {
if (props.x === 35) {
return React.createElement(
'div',
@@ -1306,13 +1306,13 @@
}
};
- var XUIDialog23 = function(props) {
+ var XUIDialog23 = function (props) {
if (props.x === 36) {
return null;
}
};
- var AdsPEResetDialog24 = function(props) {
+ var AdsPEResetDialog24 = function (props) {
if (props.x === 37) {
return React.createElement(
'span',
@@ -1322,7 +1322,7 @@
}
};
- var AdsPETopNav25 = function(props) {
+ var AdsPETopNav25 = function (props) {
if (props.x === 40) {
return React.createElement(
'div',
@@ -1333,13 +1333,13 @@
}
};
- var FluxContainer_AdsPETopNavContainer_26 = function(props) {
+ var FluxContainer_AdsPETopNavContainer_26 = function (props) {
if (props.x === 41) {
return React.createElement(AdsPETopNav25, {x: 40});
}
};
- var XUIAbstractGlyphButton27 = function(props) {
+ var XUIAbstractGlyphButton27 = function (props) {
if (props.x === 46) {
return React.createElement(AbstractButton3, {x: 45});
}
@@ -1348,7 +1348,7 @@
}
};
- var XUICloseButton28 = function(props) {
+ var XUICloseButton28 = function (props) {
if (props.x === 47) {
return React.createElement(XUIAbstractGlyphButton27, {x: 46});
}
@@ -1357,7 +1357,7 @@
}
};
- var XUIText29 = function(props) {
+ var XUIText29 = function (props) {
if (props.x === 48) {
return React.createElement(
'span',
@@ -1381,7 +1381,7 @@
}
};
- var XUINotice30 = function(props) {
+ var XUINotice30 = function (props) {
if (props.x === 51) {
return React.createElement(
'div',
@@ -1399,13 +1399,13 @@
}
};
- var ReactCSSTransitionGroupChild31 = function(props) {
+ var ReactCSSTransitionGroupChild31 = function (props) {
if (props.x === 52) {
return React.createElement(XUINotice30, {x: 51});
}
};
- var ReactTransitionGroup32 = function(props) {
+ var ReactTransitionGroup32 = function (props) {
if (props.x === 53) {
return React.createElement(
'span',
@@ -1415,13 +1415,13 @@
}
};
- var ReactCSSTransitionGroup33 = function(props) {
+ var ReactCSSTransitionGroup33 = function (props) {
if (props.x === 54) {
return React.createElement(ReactTransitionGroup32, {x: 53});
}
};
- var AdsPETopError34 = function(props) {
+ var AdsPETopError34 = function (props) {
if (props.x === 55) {
return React.createElement(
'div',
@@ -1431,19 +1431,19 @@
}
};
- var FluxContainer_AdsPETopErrorContainer_35 = function(props) {
+ var FluxContainer_AdsPETopErrorContainer_35 = function (props) {
if (props.x === 56) {
return React.createElement(AdsPETopError34, {x: 55});
}
};
- var FluxContainer_AdsGuidanceChannel_36 = function(props) {
+ var FluxContainer_AdsGuidanceChannel_36 = function (props) {
if (props.x === 59) {
return null;
}
};
- var ResponsiveBlock37 = function(props) {
+ var ResponsiveBlock37 = function (props) {
if (props.x === 62) {
return React.createElement(
'div',
@@ -1481,13 +1481,13 @@
}
};
- var FluxContainer_AdsBulkEditDialogContainer_38 = function(props) {
+ var FluxContainer_AdsBulkEditDialogContainer_38 = function (props) {
if (props.x === 63) {
return null;
}
};
- var Column39 = function(props) {
+ var Column39 = function (props) {
if (props.x === 66) {
return React.createElement(
'div',
@@ -1504,7 +1504,7 @@
}
};
- var XUIButtonGroup40 = function(props) {
+ var XUIButtonGroup40 = function (props) {
if (props.x === 75) {
return React.createElement(
'div',
@@ -1544,13 +1544,13 @@
}
};
- var AdsPEEditToolbarButton41 = function(props) {
+ var AdsPEEditToolbarButton41 = function (props) {
if (props.x === 85) {
return React.createElement(XUIButtonGroup40, {x: 84});
}
};
- var FluxContainer_AdsPEEditCampaignGroupToolbarButtonContainer_42 = function(
+ var FluxContainer_AdsPEEditCampaignGroupToolbarButtonContainer_42 = function (
props
) {
if (props.x === 86) {
@@ -1558,7 +1558,7 @@
}
};
- var FluxContainer_AdsPEEditToolbarButtonContainer_43 = function(props) {
+ var FluxContainer_AdsPEEditToolbarButtonContainer_43 = function (props) {
if (props.x === 87) {
return React.createElement(
FluxContainer_AdsPEEditCampaignGroupToolbarButtonContainer_42,
@@ -1567,31 +1567,31 @@
}
};
- var AdsPEExportImportMenu44 = function(props) {
+ var AdsPEExportImportMenu44 = function (props) {
if (props.x === 103) {
return React.createElement(ReactPopoverMenu20, {x: 102, key: 'export'});
}
};
- var FluxContainer_AdsPECustomizeExportContainer_45 = function(props) {
+ var FluxContainer_AdsPECustomizeExportContainer_45 = function (props) {
if (props.x === 104) {
return null;
}
};
- var AdsPEExportAsTextDialog46 = function(props) {
+ var AdsPEExportAsTextDialog46 = function (props) {
if (props.x === 105) {
return null;
}
};
- var FluxContainer_AdsPEExportAsTextDialogContainer_47 = function(props) {
+ var FluxContainer_AdsPEExportAsTextDialogContainer_47 = function (props) {
if (props.x === 106) {
return React.createElement(AdsPEExportAsTextDialog46, {x: 105});
}
};
- var AdsPEExportImportMenuContainer48 = function(props) {
+ var AdsPEExportImportMenuContainer48 = function (props) {
if (props.x === 107) {
return React.createElement(
'span',
@@ -1609,7 +1609,7 @@
}
};
- var Constructor49 = function(props) {
+ var Constructor49 = function (props) {
if (props.x === 114) {
return null;
}
@@ -1624,7 +1624,7 @@
}
};
- var TagSelectorPopover50 = function(props) {
+ var TagSelectorPopover50 = function (props) {
if (props.x === 115) {
return React.createElement(
'span',
@@ -1635,7 +1635,7 @@
}
};
- var AdsPECampaignGroupTagContainer51 = function(props) {
+ var AdsPECampaignGroupTagContainer51 = function (props) {
if (props.x === 116) {
return React.createElement(TagSelectorPopover50, {
x: 115,
@@ -1644,19 +1644,19 @@
}
};
- var AdsRuleToolbarMenu52 = function(props) {
+ var AdsRuleToolbarMenu52 = function (props) {
if (props.x === 118) {
return null;
}
};
- var FluxContainer_AdsPERuleToolbarMenuContainer_53 = function(props) {
+ var FluxContainer_AdsPERuleToolbarMenuContainer_53 = function (props) {
if (props.x === 119) {
return React.createElement(AdsRuleToolbarMenu52, {x: 118});
}
};
- var FillColumn54 = function(props) {
+ var FillColumn54 = function (props) {
if (props.x === 120) {
return React.createElement(
'div',
@@ -1684,7 +1684,7 @@
}
};
- var Layout55 = function(props) {
+ var Layout55 = function (props) {
if (props.x === 121) {
return React.createElement(
'div',
@@ -1695,7 +1695,7 @@
}
};
- var AdsPEMainPaneToolbar56 = function(props) {
+ var AdsPEMainPaneToolbar56 = function (props) {
if (props.x === 122) {
return React.createElement(
'div',
@@ -1705,13 +1705,13 @@
}
};
- var AdsPECampaignGroupToolbarContainer57 = function(props) {
+ var AdsPECampaignGroupToolbarContainer57 = function (props) {
if (props.x === 123) {
return React.createElement(AdsPEMainPaneToolbar56, {x: 122});
}
};
- var AdsPEFiltersPopover58 = function(props) {
+ var AdsPEFiltersPopover58 = function (props) {
if (props.x === 144) {
return React.createElement(
'span',
@@ -1726,7 +1726,7 @@
}
};
- var AbstractCheckboxInput59 = function(props) {
+ var AbstractCheckboxInput59 = function (props) {
if (props.x === 145) {
return React.createElement(
'label',
@@ -1736,7 +1736,7 @@
disabled: true,
name: 'filterUnpublished',
value: 'on',
- onClick: function() {},
+ onClick: function () {},
className: null,
id: 'js_input_label_21',
type: 'checkbox',
@@ -1753,7 +1753,7 @@
{className: '_4h2r _55sg _kv1'},
React.createElement('input', {
checked: undefined,
- onChange: function() {},
+ onChange: function () {},
className: null,
type: 'checkbox',
}),
@@ -1765,7 +1765,7 @@
}
};
- var XUICheckboxInput60 = function(props) {
+ var XUICheckboxInput60 = function (props) {
if (props.x === 146) {
return React.createElement(AbstractCheckboxInput59, {x: 145});
}
@@ -1774,7 +1774,7 @@
}
};
- var InputLabel61 = function(props) {
+ var InputLabel61 = function (props) {
if (props.x === 147) {
return React.createElement(
'div',
@@ -1789,7 +1789,7 @@
}
};
- var AdsPopoverLink62 = function(props) {
+ var AdsPopoverLink62 = function (props) {
if (props.x === 154) {
return React.createElement(
'span',
@@ -1797,8 +1797,8 @@
React.createElement(
'span',
{
- onMouseEnter: function() {},
- onMouseLeave: function() {},
+ onMouseEnter: function () {},
+ onMouseLeave: function () {},
onMouseUp: undefined,
},
React.createElement('span', {className: '_3o_j'}),
@@ -1814,8 +1814,8 @@
React.createElement(
'span',
{
- onMouseEnter: function() {},
- onMouseLeave: function() {},
+ onMouseEnter: function () {},
+ onMouseLeave: function () {},
onMouseUp: undefined,
},
React.createElement('span', {className: '_3o_j'}),
@@ -1826,7 +1826,7 @@
}
};
- var AdsHelpLink63 = function(props) {
+ var AdsHelpLink63 = function (props) {
if (props.x === 155) {
return React.createElement(AdsPopoverLink62, {x: 154});
}
@@ -1835,7 +1835,7 @@
}
};
- var BUIFilterTokenInput64 = function(props) {
+ var BUIFilterTokenInput64 = function (props) {
if (props.x === 158) {
return React.createElement(
'div',
@@ -1856,7 +1856,7 @@
}
};
- var BUIFilterToken65 = function(props) {
+ var BUIFilterToken65 = function (props) {
if (props.x === 159) {
return React.createElement(
'div',
@@ -1866,7 +1866,7 @@
{className: '_3yz4', 'aria-hidden': false},
React.createElement(
'div',
- {onClick: function() {}, className: '_3yz5'},
+ {onClick: function () {}, className: '_3yz5'},
React.createElement(ReactImage0, {x: 148}),
React.createElement('div', {className: '_3yz7'}, 'Campaigns:'),
React.createElement(
@@ -1887,7 +1887,7 @@
}
};
- var BUIFilterTokenCreateButton66 = function(props) {
+ var BUIFilterTokenCreateButton66 = function (props) {
if (props.x === 163) {
return React.createElement(
'div',
@@ -1897,7 +1897,7 @@
}
};
- var BUIFilterTokenizer67 = function(props) {
+ var BUIFilterTokenizer67 = function (props) {
if (props.x === 164) {
return React.createElement(
'div',
@@ -1912,7 +1912,7 @@
}
};
- var XUIAmbientNUX68 = function(props) {
+ var XUIAmbientNUX68 = function (props) {
if (props.x === 165) {
return null;
}
@@ -1924,7 +1924,7 @@
}
};
- var XUIAmbientNUX69 = function(props) {
+ var XUIAmbientNUX69 = function (props) {
if (props.x === 166) {
return React.createElement(XUIAmbientNUX68, {x: 165});
}
@@ -1936,7 +1936,7 @@
}
};
- var AdsPEAmbientNUXMegaphone70 = function(props) {
+ var AdsPEAmbientNUXMegaphone70 = function (props) {
if (props.x === 167) {
return React.createElement(
'span',
@@ -1947,7 +1947,7 @@
}
};
- var AdsPEFilters71 = function(props) {
+ var AdsPEFilters71 = function (props) {
if (props.x === 168) {
return React.createElement(
'div',
@@ -1965,25 +1965,25 @@
}
};
- var AdsPEFilterContainer72 = function(props) {
+ var AdsPEFilterContainer72 = function (props) {
if (props.x === 169) {
return React.createElement(AdsPEFilters71, {x: 168});
}
};
- var AdsPETablePager73 = function(props) {
+ var AdsPETablePager73 = function (props) {
if (props.x === 172) {
return null;
}
};
- var AdsPECampaignGroupTablePagerContainer74 = function(props) {
+ var AdsPECampaignGroupTablePagerContainer74 = function (props) {
if (props.x === 173) {
return React.createElement(AdsPETablePager73, {x: 172});
}
};
- var AdsPETablePagerContainer75 = function(props) {
+ var AdsPETablePagerContainer75 = function (props) {
if (props.x === 174) {
return React.createElement(AdsPECampaignGroupTablePagerContainer74, {
x: 173,
@@ -1991,7 +1991,7 @@
}
};
- var ReactXUIError76 = function(props) {
+ var ReactXUIError76 = function (props) {
if (props.x === 181) {
return React.createElement(AbstractButton3, {x: 180});
}
@@ -2018,10 +2018,10 @@
id: undefined,
maxLength: null,
value: 'Test Campaign',
- onBlur: function() {},
- onChange: function() {},
- onFocus: function() {},
- onKeyDown: function() {},
+ onBlur: function () {},
+ onChange: function () {},
+ onFocus: function () {},
+ onKeyDown: function () {},
}),
null
),
@@ -2045,13 +2045,13 @@
}
};
- var BUIPopoverButton77 = function(props) {
+ var BUIPopoverButton77 = function (props) {
if (props.x === 182) {
return React.createElement(ReactXUIError76, {x: 181});
}
};
- var BUIDateRangePicker78 = function(props) {
+ var BUIDateRangePicker78 = function (props) {
if (props.x === 184) {
return React.createElement(
'span',
@@ -2062,13 +2062,13 @@
}
};
- var AdsPEStatsRangePicker79 = function(props) {
+ var AdsPEStatsRangePicker79 = function (props) {
if (props.x === 185) {
return React.createElement(BUIDateRangePicker78, {x: 184});
}
};
- var AdsPEStatRange80 = function(props) {
+ var AdsPEStatRange80 = function (props) {
if (props.x === 191) {
return React.createElement(
'div',
@@ -2085,17 +2085,17 @@
}
};
- var AdsPEStatRangeContainer81 = function(props) {
+ var AdsPEStatRangeContainer81 = function (props) {
if (props.x === 192) {
return React.createElement(AdsPEStatRange80, {x: 191});
}
};
- var AdsPESideTrayTabButton82 = function(props) {
+ var AdsPESideTrayTabButton82 = function (props) {
if (props.x === 196) {
return React.createElement(
'div',
- {className: '_1-ly _59j9 _d9a', onClick: function() {}},
+ {className: '_1-ly _59j9 _d9a', onClick: function () {}},
React.createElement(ReactImage0, {x: 195}),
React.createElement('div', {className: '_vf7'}),
React.createElement('div', {className: '_vf8'})
@@ -2104,7 +2104,7 @@
if (props.x === 199) {
return React.createElement(
'div',
- {className: ' _1-lz _d9a', onClick: function() {}},
+ {className: ' _1-lz _d9a', onClick: function () {}},
React.createElement(ReactImage0, {x: 198}),
React.createElement('div', {className: '_vf7'}),
React.createElement('div', {className: '_vf8'})
@@ -2115,13 +2115,13 @@
}
};
- var AdsPEEditorTrayTabButton83 = function(props) {
+ var AdsPEEditorTrayTabButton83 = function (props) {
if (props.x === 197) {
return React.createElement(AdsPESideTrayTabButton82, {x: 196});
}
};
- var AdsPEInsightsTrayTabButton84 = function(props) {
+ var AdsPEInsightsTrayTabButton84 = function (props) {
if (props.x === 202) {
return React.createElement(
'span',
@@ -2132,13 +2132,13 @@
}
};
- var AdsPENekoDebuggerTrayTabButton85 = function(props) {
+ var AdsPENekoDebuggerTrayTabButton85 = function (props) {
if (props.x === 204) {
return React.createElement(AdsPESideTrayTabButton82, {x: 203});
}
};
- var AdsPEEditorChildLink86 = function(props) {
+ var AdsPEEditorChildLink86 = function (props) {
if (props.x === 211) {
return React.createElement(
'div',
@@ -2150,13 +2150,13 @@
}
};
- var AdsPEEditorChildLinkContainer87 = function(props) {
+ var AdsPEEditorChildLinkContainer87 = function (props) {
if (props.x === 212) {
return React.createElement(AdsPEEditorChildLink86, {x: 211});
}
};
- var AdsPEHeaderSection88 = function(props) {
+ var AdsPEHeaderSection88 = function (props) {
if (props.x === 213) {
return React.createElement(
'div',
@@ -2177,25 +2177,25 @@
}
};
- var AdsPECampaignGroupHeaderSectionContainer89 = function(props) {
+ var AdsPECampaignGroupHeaderSectionContainer89 = function (props) {
if (props.x === 214) {
return React.createElement(AdsPEHeaderSection88, {x: 213});
}
};
- var AdsEditorLoadingErrors90 = function(props) {
+ var AdsEditorLoadingErrors90 = function (props) {
if (props.x === 215) {
return null;
}
};
- var AdsTextInput91 = function(props) {
+ var AdsTextInput91 = function (props) {
if (props.x === 217) {
return React.createElement(ReactXUIError76, {x: 216});
}
};
- var BUIFormElement92 = function(props) {
+ var BUIFormElement92 = function (props) {
if (props.x === 218) {
return React.createElement(
'div',
@@ -2236,7 +2236,7 @@
}
};
- var BUIForm93 = function(props) {
+ var BUIForm93 = function (props) {
if (props.x === 219) {
return React.createElement(
'div',
@@ -2246,7 +2246,7 @@
}
};
- var XUICard94 = function(props) {
+ var XUICard94 = function (props) {
if (props.x === 220) {
return React.createElement(
'div',
@@ -2271,7 +2271,7 @@
}
};
- var AdsCard95 = function(props) {
+ var AdsCard95 = function (props) {
if (props.x === 222) {
return React.createElement(ReactXUIError76, {x: 221});
}
@@ -2283,13 +2283,13 @@
}
};
- var AdsEditorNameSection96 = function(props) {
+ var AdsEditorNameSection96 = function (props) {
if (props.x === 223) {
return React.createElement(AdsCard95, {x: 222});
}
};
- var AdsCampaignGroupNameSectionContainer97 = function(props) {
+ var AdsCampaignGroupNameSectionContainer97 = function (props) {
if (props.x === 224) {
return React.createElement(AdsEditorNameSection96, {
x: 223,
@@ -2298,7 +2298,7 @@
}
};
- var _render98 = function(props) {
+ var _render98 = function (props) {
if (props.x === 225) {
return React.createElement(AdsCampaignGroupNameSectionContainer97, {
x: 224,
@@ -2306,7 +2306,7 @@
}
};
- var AdsPluginWrapper99 = function(props) {
+ var AdsPluginWrapper99 = function (props) {
if (props.x === 226) {
return React.createElement(_render98, {x: 225});
}
@@ -2324,7 +2324,7 @@
}
};
- var XUICardHeaderTitle100 = function(props) {
+ var XUICardHeaderTitle100 = function (props) {
if (props.x === 227) {
return React.createElement(
'span',
@@ -2361,7 +2361,7 @@
}
};
- var XUICardSection101 = function(props) {
+ var XUICardSection101 = function (props) {
if (props.x === 228) {
return React.createElement(
'div',
@@ -2389,19 +2389,19 @@
}
};
- var XUICardHeader102 = function(props) {
+ var XUICardHeader102 = function (props) {
if (props.x === 229) {
return React.createElement(XUICardSection101, {x: 228});
}
};
- var AdsCardHeader103 = function(props) {
+ var AdsCardHeader103 = function (props) {
if (props.x === 230) {
return React.createElement(XUICardHeader102, {x: 229});
}
};
- var AdsLabeledField104 = function(props) {
+ var AdsLabeledField104 = function (props) {
if (props.x === 231) {
return React.createElement(
'div',
@@ -2443,7 +2443,7 @@
}
};
- var FlexibleBlock105 = function(props) {
+ var FlexibleBlock105 = function (props) {
if (props.x === 233) {
return React.createElement(LeftRight21, {x: 232});
}
@@ -2455,7 +2455,7 @@
}
};
- var AdsBulkCampaignSpendCapField106 = function(props) {
+ var AdsBulkCampaignSpendCapField106 = function (props) {
if (props.x === 243) {
return React.createElement(
'div',
@@ -2467,25 +2467,25 @@
}
};
- var FluxContainer_AdsCampaignGroupSpendCapContainer_107 = function(props) {
+ var FluxContainer_AdsCampaignGroupSpendCapContainer_107 = function (props) {
if (props.x === 244) {
return React.createElement(AdsBulkCampaignSpendCapField106, {x: 243});
}
};
- var AdsCardSection108 = function(props) {
+ var AdsCardSection108 = function (props) {
if (props.x === 248) {
return React.createElement(XUICardSection101, {x: 247});
}
};
- var AdsEditorCampaignGroupDetailsSection109 = function(props) {
+ var AdsEditorCampaignGroupDetailsSection109 = function (props) {
if (props.x === 252) {
return React.createElement(AdsCard95, {x: 251});
}
};
- var AdsEditorCampaignGroupDetailsSectionContainer110 = function(props) {
+ var AdsEditorCampaignGroupDetailsSectionContainer110 = function (props) {
if (props.x === 253) {
return React.createElement(AdsEditorCampaignGroupDetailsSection109, {
x: 252,
@@ -2494,7 +2494,7 @@
}
};
- var _render111 = function(props) {
+ var _render111 = function (props) {
if (props.x === 254) {
return React.createElement(
AdsEditorCampaignGroupDetailsSectionContainer110,
@@ -2503,7 +2503,7 @@
}
};
- var FluxContainer_AdsEditorToplineDetailsSectionContainer_112 = function(
+ var FluxContainer_AdsEditorToplineDetailsSectionContainer_112 = function (
props
) {
if (props.x === 256) {
@@ -2511,7 +2511,7 @@
}
};
- var _render113 = function(props) {
+ var _render113 = function (props) {
if (props.x === 257) {
return React.createElement(
FluxContainer_AdsEditorToplineDetailsSectionContainer_112,
@@ -2520,19 +2520,19 @@
}
};
- var AdsStickyArea114 = function(props) {
+ var AdsStickyArea114 = function (props) {
if (props.x === 259) {
return React.createElement(
'div',
{},
- React.createElement('div', {onWheel: function() {}})
+ React.createElement('div', {onWheel: function () {}})
);
}
if (props.x === 292) {
return React.createElement(
'div',
{},
- React.createElement('div', {onWheel: function() {}}, [
+ React.createElement('div', {onWheel: function () {}}, [
React.createElement(
'div',
{key: 'campaign_group_errors_section98010048849317'},
@@ -2543,7 +2543,7 @@
}
};
- var FluxContainer_AdsEditorColumnContainer_115 = function(props) {
+ var FluxContainer_AdsEditorColumnContainer_115 = function (props) {
if (props.x === 260) {
return React.createElement(
'div',
@@ -2584,7 +2584,7 @@
}
};
- var BUISwitch116 = function(props) {
+ var BUISwitch116 = function (props) {
if (props.x === 261) {
return React.createElement(
'div',
@@ -2595,7 +2595,7 @@
'data-tooltip-position': 'below',
disabled: false,
value: true,
- onToggle: function() {},
+ onToggle: function () {},
className: '_128j _128k _128n',
role: 'checkbox',
'aria-checked': 'true',
@@ -2604,9 +2604,9 @@
'div',
{
className: '_128o',
- onClick: function() {},
- onKeyDown: function() {},
- onMouseDown: function() {},
+ onClick: function () {},
+ onKeyDown: function () {},
+ onMouseDown: function () {},
tabIndex: '0',
},
React.createElement('div', {className: '_128p'})
@@ -2616,19 +2616,19 @@
}
};
- var AdsStatusSwitchInternal117 = function(props) {
+ var AdsStatusSwitchInternal117 = function (props) {
if (props.x === 262) {
return React.createElement(BUISwitch116, {x: 261});
}
};
- var AdsStatusSwitch118 = function(props) {
+ var AdsStatusSwitch118 = function (props) {
if (props.x === 263) {
return React.createElement(AdsStatusSwitchInternal117, {x: 262});
}
};
- var FluxContainer_AdsCampaignGroupStatusSwitchContainer_119 = function(
+ var FluxContainer_AdsCampaignGroupStatusSwitchContainer_119 = function (
props
) {
if (props.x === 264) {
@@ -2639,13 +2639,13 @@
}
};
- var AdsLinksMenu120 = function(props) {
+ var AdsLinksMenu120 = function (props) {
if (props.x === 275) {
return React.createElement(ReactPopoverMenu20, {x: 274});
}
};
- var FluxContainer_AdsPluginizedLinksMenuContainer_121 = function(props) {
+ var FluxContainer_AdsPluginizedLinksMenuContainer_121 = function (props) {
if (props.x === 276) {
return React.createElement(
'div',
@@ -2656,25 +2656,27 @@
}
};
- var AdsCardLeftRightHeader122 = function(props) {
+ var AdsCardLeftRightHeader122 = function (props) {
if (props.x === 278) {
return React.createElement(LeftRight21, {x: 277});
}
};
- var AdsPEIDSection123 = function(props) {
+ var AdsPEIDSection123 = function (props) {
if (props.x === 282) {
return React.createElement(AdsCard95, {x: 281});
}
};
- var FluxContainer_AdsPECampaignGroupIDSectionContainer_124 = function(props) {
+ var FluxContainer_AdsPECampaignGroupIDSectionContainer_124 = function (
+ props
+ ) {
if (props.x === 283) {
return React.createElement(AdsPEIDSection123, {x: 282});
}
};
- var DeferredComponent125 = function(props) {
+ var DeferredComponent125 = function (props) {
if (props.x === 284) {
return React.createElement(
FluxContainer_AdsPECampaignGroupIDSectionContainer_124,
@@ -2683,31 +2685,31 @@
}
};
- var BootloadedComponent126 = function(props) {
+ var BootloadedComponent126 = function (props) {
if (props.x === 285) {
return React.createElement(DeferredComponent125, {x: 284});
}
};
- var _render127 = function(props) {
+ var _render127 = function (props) {
if (props.x === 286) {
return React.createElement(BootloadedComponent126, {x: 285});
}
};
- var AdsEditorErrorsCard128 = function(props) {
+ var AdsEditorErrorsCard128 = function (props) {
if (props.x === 288) {
return null;
}
};
- var FluxContainer_FunctionalContainer_129 = function(props) {
+ var FluxContainer_FunctionalContainer_129 = function (props) {
if (props.x === 289) {
return React.createElement(AdsEditorErrorsCard128, {x: 288});
}
};
- var _render130 = function(props) {
+ var _render130 = function (props) {
if (props.x === 290) {
return React.createElement(FluxContainer_FunctionalContainer_129, {
x: 289,
@@ -2715,7 +2717,7 @@
}
};
- var AdsEditorMultiColumnLayout131 = function(props) {
+ var AdsEditorMultiColumnLayout131 = function (props) {
if (props.x === 294) {
return React.createElement(
'div',
@@ -2753,7 +2755,7 @@
}
};
- var AdsPECampaignGroupEditor132 = function(props) {
+ var AdsPECampaignGroupEditor132 = function (props) {
if (props.x === 295) {
return React.createElement(
'div',
@@ -2766,13 +2768,13 @@
}
};
- var AdsPECampaignGroupEditorContainer133 = function(props) {
+ var AdsPECampaignGroupEditorContainer133 = function (props) {
if (props.x === 296) {
return React.createElement(AdsPECampaignGroupEditor132, {x: 295});
}
};
- var AdsPESideTrayTabContent134 = function(props) {
+ var AdsPESideTrayTabContent134 = function (props) {
if (props.x === 297) {
return React.createElement(
'div',
@@ -2782,13 +2784,13 @@
}
};
- var AdsPEEditorTrayTabContentContainer135 = function(props) {
+ var AdsPEEditorTrayTabContentContainer135 = function (props) {
if (props.x === 298) {
return React.createElement(AdsPESideTrayTabContent134, {x: 297});
}
};
- var AdsPEMultiTabDrawer136 = function(props) {
+ var AdsPEMultiTabDrawer136 = function (props) {
if (props.x === 299) {
return React.createElement(
'div',
@@ -2822,13 +2824,13 @@
}
};
- var FluxContainer_AdsPEMultiTabDrawerContainer_137 = function(props) {
+ var FluxContainer_AdsPEMultiTabDrawerContainer_137 = function (props) {
if (props.x === 300) {
return React.createElement(AdsPEMultiTabDrawer136, {x: 299});
}
};
- var AdsPESimpleOrganizer138 = function(props) {
+ var AdsPESimpleOrganizer138 = function (props) {
if (props.x === 309) {
return React.createElement(
'div',
@@ -2840,7 +2842,7 @@
}
};
- var AdsPEOrganizerContainer139 = function(props) {
+ var AdsPEOrganizerContainer139 = function (props) {
if (props.x === 310) {
return React.createElement(
'div',
@@ -2850,7 +2852,7 @@
}
};
- var FixedDataTableColumnResizeHandle140 = function(props) {
+ var FixedDataTableColumnResizeHandle140 = function (props) {
if (props.x === 313) {
return React.createElement(
'div',
@@ -2863,7 +2865,7 @@
}
};
- var AdsPETableHeader141 = function(props) {
+ var AdsPETableHeader141 = function (props) {
if (props.x === 315) {
return React.createElement(
'div',
@@ -3096,7 +3098,7 @@
}
};
- var TransitionCell142 = function(props) {
+ var TransitionCell142 = function (props) {
if (props.x === 316) {
return React.createElement(
'div',
@@ -3708,7 +3710,7 @@
}
};
- var FixedDataTableCell143 = function(props) {
+ var FixedDataTableCell143 = function (props) {
if (props.x === 317) {
return React.createElement(
'div',
@@ -3766,7 +3768,11 @@
{className: '_4lg0 _4h2m', style: {height: 25, width: 400, left: 42}},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -3805,7 +3811,11 @@
{className: '_4lg0 _4h2m', style: {height: 25, width: 150, left: 571}},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -3823,7 +3833,11 @@
},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -3841,7 +3855,11 @@
},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -3859,7 +3877,11 @@
},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -3877,7 +3899,11 @@
},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -3895,7 +3921,11 @@
},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -3913,7 +3943,11 @@
},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -3931,7 +3965,11 @@
},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -3949,7 +3987,11 @@
},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -3967,7 +4009,11 @@
},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -3982,7 +4028,11 @@
{className: '_4lg0 _4h2m', style: {height: 25, width: 200, left: 798}},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -3997,7 +4047,11 @@
{className: '_4lg0 _4h2m', style: {height: 25, width: 100, left: 998}},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -4012,7 +4066,11 @@
{className: '_4lg0 _4h2m', style: {height: 25, width: 120, left: 1098}},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -4027,7 +4085,11 @@
{className: '_4lg0 _4h2m', style: {height: 25, width: 113, left: 1218}},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -4042,7 +4104,11 @@
{className: '_4lg0 _4h2m', style: {height: 25, width: 113, left: 1331}},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -4057,7 +4123,11 @@
{className: '_4lg0 _4h2m', style: {height: 25, width: 113, left: 1444}},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -4072,7 +4142,11 @@
{className: '_4lg0 _4h2m', style: {height: 25, width: 113, left: 1557}},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -4087,7 +4161,11 @@
{className: '_4lg0 _4h2m', style: {height: 25, width: 150, left: 1670}},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -4106,7 +4184,7 @@
}
};
- var FixedDataTableCellGroupImpl144 = function(props) {
+ var FixedDataTableCellGroupImpl144 = function (props) {
if (props.x === 318) {
return React.createElement(
'div',
@@ -4202,7 +4280,7 @@
}
};
- var FixedDataTableCellGroup145 = function(props) {
+ var FixedDataTableCellGroup145 = function (props) {
if (props.x === 319) {
return React.createElement(
'div',
@@ -4233,7 +4311,7 @@
}
};
- var FixedDataTableRowImpl146 = function(props) {
+ var FixedDataTableRowImpl146 = function (props) {
if (props.x === 334) {
return React.createElement(
'div',
@@ -4296,7 +4374,7 @@
}
};
- var FixedDataTableRow147 = function(props) {
+ var FixedDataTableRow147 = function (props) {
if (props.x === 335) {
return React.createElement(
'div',
@@ -4331,11 +4409,11 @@
}
};
- var FixedDataTableAbstractSortableHeader148 = function(props) {
+ var FixedDataTableAbstractSortableHeader148 = function (props) {
if (props.x === 341) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4347,7 +4425,7 @@
if (props.x === 347) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _1kst _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _1kst _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4359,7 +4437,7 @@
if (props.x === 353) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _1kst _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _1kst _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4371,7 +4449,7 @@
if (props.x === 358) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4383,7 +4461,7 @@
if (props.x === 363) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _54_9 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _54_9 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4395,7 +4473,7 @@
if (props.x === 370) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4407,7 +4485,7 @@
if (props.x === 375) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4419,7 +4497,7 @@
if (props.x === 380) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4431,7 +4509,7 @@
if (props.x === 385) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4443,7 +4521,7 @@
if (props.x === 390) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4455,7 +4533,7 @@
if (props.x === 395) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4467,7 +4545,7 @@
if (props.x === 400) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4479,7 +4557,7 @@
if (props.x === 405) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4491,7 +4569,7 @@
if (props.x === 410) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4503,7 +4581,7 @@
if (props.x === 415) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4515,7 +4593,7 @@
if (props.x === 420) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4527,7 +4605,7 @@
if (props.x === 425) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4539,7 +4617,7 @@
if (props.x === 430) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4551,7 +4629,7 @@
if (props.x === 435) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4563,7 +4641,7 @@
if (props.x === 440) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4575,7 +4653,7 @@
if (props.x === 445) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4586,7 +4664,7 @@
}
};
- var FixedDataTableSortableHeader149 = function(props) {
+ var FixedDataTableSortableHeader149 = function (props) {
if (props.x === 342) {
return React.createElement(FixedDataTableAbstractSortableHeader148, {
x: 341,
@@ -4694,7 +4772,7 @@
}
};
- var FixedDataTableBufferedRows150 = function(props) {
+ var FixedDataTableBufferedRows150 = function (props) {
if (props.x === 459) {
return React.createElement('div', {
style: {
@@ -4707,7 +4785,7 @@
}
};
- var Scrollbar151 = function(props) {
+ var Scrollbar151 = function (props) {
if (props.x === 460) {
return null;
}
@@ -4715,11 +4793,11 @@
return React.createElement(
'div',
{
- onFocus: function() {},
- onBlur: function() {},
- onKeyDown: function() {},
- onMouseDown: function() {},
- onWheel: function() {},
+ onFocus: function () {},
+ onBlur: function () {},
+ onKeyDown: function () {},
+ onMouseDown: function () {},
+ onWheel: function () {},
className: '_1t0r _1t0t _4jdr _1t0u',
style: {width: 1209, zIndex: 99},
tabIndex: 0,
@@ -4736,7 +4814,7 @@
}
};
- var HorizontalScrollbar152 = function(props) {
+ var HorizontalScrollbar152 = function (props) {
if (props.x === 462) {
return React.createElement(
'div',
@@ -4759,13 +4837,13 @@
}
};
- var FixedDataTable153 = function(props) {
+ var FixedDataTable153 = function (props) {
if (props.x === 463) {
return React.createElement(
'div',
{
className: '_3h1i _1mie',
- onWheel: function() {},
+ onWheel: function () {},
style: {height: 25, width: 1209},
},
React.createElement(
@@ -4791,13 +4869,13 @@
}
};
- var TransitionTable154 = function(props) {
+ var TransitionTable154 = function (props) {
if (props.x === 464) {
return React.createElement(FixedDataTable153, {x: 463});
}
};
- var AdsSelectableFixedDataTable155 = function(props) {
+ var AdsSelectableFixedDataTable155 = function (props) {
if (props.x === 465) {
return React.createElement(
'div',
@@ -4807,27 +4885,27 @@
}
};
- var AdsDataTableKeyboardSupportDecorator156 = function(props) {
+ var AdsDataTableKeyboardSupportDecorator156 = function (props) {
if (props.x === 466) {
return React.createElement(
'div',
- {className: '_5d6f', tabIndex: '0', onKeyDown: function() {}},
+ {className: '_5d6f', tabIndex: '0', onKeyDown: function () {}},
React.createElement(AdsSelectableFixedDataTable155, {x: 465})
);
}
};
- var AdsEditableDataTableDecorator157 = function(props) {
+ var AdsEditableDataTableDecorator157 = function (props) {
if (props.x === 467) {
return React.createElement(
'div',
- {onCopy: function() {}},
+ {onCopy: function () {}},
React.createElement(AdsDataTableKeyboardSupportDecorator156, {x: 466})
);
}
};
- var AdsPEDataTableContainer158 = function(props) {
+ var AdsPEDataTableContainer158 = function (props) {
if (props.x === 468) {
return React.createElement(
'div',
@@ -4840,13 +4918,13 @@
}
};
- var AdsPECampaignGroupTableContainer159 = function(props) {
+ var AdsPECampaignGroupTableContainer159 = function (props) {
if (props.x === 470) {
return React.createElement(ResponsiveBlock37, {x: 469});
}
};
- var AdsPEManageAdsPaneContainer160 = function(props) {
+ var AdsPEManageAdsPaneContainer160 = function (props) {
if (props.x === 473) {
return React.createElement(
'div',
@@ -4887,13 +4965,13 @@
}
};
- var AdsPEContentContainer161 = function(props) {
+ var AdsPEContentContainer161 = function (props) {
if (props.x === 474) {
return React.createElement(AdsPEManageAdsPaneContainer160, {x: 473});
}
};
- var FluxContainer_AdsPEWorkspaceContainer_162 = function(props) {
+ var FluxContainer_AdsPEWorkspaceContainer_162 = function (props) {
if (props.x === 477) {
return React.createElement(
'div',
@@ -4905,37 +4983,37 @@
}
};
- var FluxContainer_AdsSessionExpiredDialogContainer_163 = function(props) {
+ var FluxContainer_AdsSessionExpiredDialogContainer_163 = function (props) {
if (props.x === 478) {
return null;
}
};
- var FluxContainer_AdsPEUploadDialogLazyContainer_164 = function(props) {
+ var FluxContainer_AdsPEUploadDialogLazyContainer_164 = function (props) {
if (props.x === 479) {
return null;
}
};
- var FluxContainer_DialogContainer_165 = function(props) {
+ var FluxContainer_DialogContainer_165 = function (props) {
if (props.x === 480) {
return null;
}
};
- var AdsBugReportContainer166 = function(props) {
+ var AdsBugReportContainer166 = function (props) {
if (props.x === 481) {
return React.createElement('span', null);
}
};
- var AdsPEAudienceSplittingDialog167 = function(props) {
+ var AdsPEAudienceSplittingDialog167 = function (props) {
if (props.x === 482) {
return null;
}
};
- var AdsPEAudienceSplittingDialogContainer168 = function(props) {
+ var AdsPEAudienceSplittingDialogContainer168 = function (props) {
if (props.x === 483) {
return React.createElement(
'div',
@@ -4945,25 +5023,25 @@
}
};
- var FluxContainer_AdsRuleDialogBootloadContainer_169 = function(props) {
+ var FluxContainer_AdsRuleDialogBootloadContainer_169 = function (props) {
if (props.x === 484) {
return null;
}
};
- var FluxContainer_AdsPECFTrayContainer_170 = function(props) {
+ var FluxContainer_AdsPECFTrayContainer_170 = function (props) {
if (props.x === 485) {
return null;
}
};
- var FluxContainer_AdsPEDeleteDraftContainer_171 = function(props) {
+ var FluxContainer_AdsPEDeleteDraftContainer_171 = function (props) {
if (props.x === 486) {
return null;
}
};
- var FluxContainer_AdsPEInitialDraftPublishDialogContainer_172 = function(
+ var FluxContainer_AdsPEInitialDraftPublishDialogContainer_172 = function (
props
) {
if (props.x === 487) {
@@ -4971,33 +5049,32 @@
}
};
- var FluxContainer_AdsPEReachFrequencyStatusTransitionDialogBootloadContainer_173 = function(
- props
- ) {
- if (props.x === 488) {
- return null;
- }
- };
+ var FluxContainer_AdsPEReachFrequencyStatusTransitionDialogBootloadContainer_173 =
+ function (props) {
+ if (props.x === 488) {
+ return null;
+ }
+ };
- var FluxContainer_AdsPEPurgeArchiveDialogContainer_174 = function(props) {
+ var FluxContainer_AdsPEPurgeArchiveDialogContainer_174 = function (props) {
if (props.x === 489) {
return null;
}
};
- var AdsPECreateDialogContainer175 = function(props) {
+ var AdsPECreateDialogContainer175 = function (props) {
if (props.x === 490) {
return React.createElement('span', null);
}
};
- var FluxContainer_AdsPEModalStatusContainer_176 = function(props) {
+ var FluxContainer_AdsPEModalStatusContainer_176 = function (props) {
if (props.x === 491) {
return null;
}
};
- var FluxContainer_AdsBrowserExtensionErrorDialogContainer_177 = function(
+ var FluxContainer_AdsBrowserExtensionErrorDialogContainer_177 = function (
props
) {
if (props.x === 492) {
@@ -5005,19 +5082,19 @@
}
};
- var FluxContainer_AdsPESortByErrorTipContainer_178 = function(props) {
+ var FluxContainer_AdsPESortByErrorTipContainer_178 = function (props) {
if (props.x === 493) {
return null;
}
};
- var LeadDownloadDialogSelector179 = function(props) {
+ var LeadDownloadDialogSelector179 = function (props) {
if (props.x === 494) {
return null;
}
};
- var FluxContainer_AdsPELeadDownloadDialogContainerClass_180 = function(
+ var FluxContainer_AdsPELeadDownloadDialogContainerClass_180 = function (
props
) {
if (props.x === 495) {
@@ -5025,7 +5102,7 @@
}
};
- var AdsPEContainer181 = function(props) {
+ var AdsPEContainer181 = function (props) {
if (props.x === 496) {
return React.createElement(
'div',
@@ -5088,7 +5165,7 @@
}
};
- var Benchmark = function(props) {
+ var Benchmark = function (props) {
if (props.x === undefined) {
return React.createElement(AdsPEContainer181, {x: 496});
}
diff --git a/scripts/bench/benchmarks/pe-no-components/benchmark.js b/scripts/bench/benchmarks/pe-no-components/benchmark.js
index f7851b98d1b7f..664f6db665a72 100644
--- a/scripts/bench/benchmarks/pe-no-components/benchmark.js
+++ b/scripts/bench/benchmarks/pe-no-components/benchmark.js
@@ -1,7 +1,7 @@
-(function() {
+(function () {
'use strict';
- var ReactImage0 = function(x) {
+ var ReactImage0 = function (x) {
if (x === 0) {
return React.createElement('i', {
alt: '',
@@ -232,7 +232,7 @@
}
};
- var AbstractLink1 = function(x) {
+ var AbstractLink1 = function (x) {
if (x === 1) {
return React.createElement(
'a',
@@ -243,7 +243,7 @@
label: null,
href: '#',
rel: undefined,
- onClick: function() {},
+ onClick: function () {},
},
null,
React.createElement(
@@ -276,7 +276,7 @@
label: null,
href: '#',
rel: undefined,
- onClick: function() {},
+ onClick: function () {},
},
undefined,
'Remove',
@@ -290,7 +290,7 @@
target: '_blank',
href: '/ads/manage/billing.php?act=10149999073643408',
rel: undefined,
- onClick: function() {},
+ onClick: function () {},
},
XUIText29(48)
);
@@ -305,7 +305,7 @@
label: null,
href: '#',
rel: undefined,
- onClick: function() {},
+ onClick: function () {},
},
null,
React.createElement(
@@ -327,7 +327,7 @@
label: null,
href: '#',
rel: undefined,
- onClick: function() {},
+ onClick: function () {},
},
null,
React.createElement(
@@ -350,7 +350,7 @@
label: null,
href: '#',
rel: undefined,
- onClick: function() {},
+ onClick: function () {},
},
undefined,
'Lifetime',
@@ -360,21 +360,21 @@
if (x === 207) {
return React.createElement(
'a',
- {href: '#', rel: undefined, onClick: function() {}},
+ {href: '#', rel: undefined, onClick: function () {}},
'Create Ad Set'
);
}
if (x === 209) {
return React.createElement(
'a',
- {href: '#', rel: undefined, onClick: function() {}},
+ {href: '#', rel: undefined, onClick: function () {}},
'View Ad Set'
);
}
if (x === 241) {
return React.createElement(
'a',
- {href: '#', rel: undefined, onClick: function() {}},
+ {href: '#', rel: undefined, onClick: function () {}},
'Set a Limit'
);
}
@@ -388,7 +388,7 @@
label: null,
href: '#',
rel: undefined,
- onClick: function() {},
+ onClick: function () {},
},
null,
React.createElement(
@@ -402,7 +402,7 @@
}
};
- var Link2 = function(x) {
+ var Link2 = function (x) {
if (x === 2) {
return AbstractLink1(1);
}
@@ -435,7 +435,7 @@
}
};
- var AbstractButton3 = function(x) {
+ var AbstractButton3 = function (x) {
if (x === 3) {
return Link2(2);
}
@@ -444,7 +444,7 @@
'button',
{
className: '_5n7z _4jy0 _4jy4 _517h _51sy _42ft',
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -460,7 +460,7 @@
{
className: '_5n7z _2yak _4lj- _4jy0 _4jy4 _517h _51sy _42ft _42fr',
disabled: true,
- onClick: function() {},
+ onClick: function () {},
'data-tooltip-content': 'You have no changes to publish',
'data-hover': 'tooltip',
label: null,
@@ -480,7 +480,7 @@
'button',
{
className: '_u_k _4jy0 _4jy4 _517h _51sy _42ft',
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -513,7 +513,7 @@
'data-hover': 'tooltip',
className: '_d2_ _u_k noMargin _4jy0 _4jy4 _517h _51sy _42ft',
disabled: false,
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -547,7 +547,7 @@
'data-hover': 'tooltip',
'data-tooltip-content': 'Revert',
disabled: true,
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -566,7 +566,7 @@
'data-hover': 'tooltip',
'data-tooltip-content': 'Delete',
disabled: false,
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -585,7 +585,7 @@
'data-hover': 'tooltip',
'data-tooltip-content': 'Duplicate',
disabled: false,
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -603,7 +603,7 @@
className: '_u_k noMargin _p _4jy0 _4jy4 _517h _51sy _42ft',
'data-hover': 'tooltip',
'data-tooltip-content': 'Export & Import',
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -623,7 +623,7 @@
'data-tooltip-content': 'Create Report',
disabled: false,
style: {boxSizing: 'border-box', height: '28px', width: '48px'},
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -642,7 +642,7 @@
'data-hover': 'tooltip',
'data-tooltip-content': 'Campaign Tags',
disabled: false,
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -664,7 +664,7 @@
{
className: '_3yz9 _1t-2 _50z- _50zy _50zz _50z- _5upp _42ft',
size: 'small',
- onClick: function() {},
+ onClick: function () {},
type: 'button',
title: 'Remove',
'data-hover': undefined,
@@ -682,7 +682,7 @@
'button',
{
className: '_5b5u _5b5v _4jy0 _4jy3 _517h _51sy _42ft',
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -697,7 +697,7 @@
'button',
{
className: '_1wdf _4jy0 _517i _517h _51sy _42ft',
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -718,7 +718,7 @@
className: '_u_k _3c5o _1-r0 _4jy0 _4jy4 _517h _51sy _42ft',
'data-hover': 'tooltip',
'data-tooltip-content': 'List Settings',
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -739,7 +739,7 @@
'data-tooltip-position': 'right',
'data-tooltip-content': 'Campaigns',
'data-hover': 'tooltip',
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -763,7 +763,7 @@
'data-tooltip-position': 'right',
'data-tooltip-content': 'Ad Sets',
'data-hover': 'tooltip',
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -787,7 +787,7 @@
'data-tooltip-position': 'right',
'data-tooltip-content': 'Ads',
'data-hover': 'tooltip',
- onClick: function() {},
+ onClick: function () {},
label: null,
type: 'submit',
value: '1',
@@ -805,7 +805,7 @@
}
};
- var XUIButton4 = function(x) {
+ var XUIButton4 = function (x) {
if (x === 4) {
return AbstractButton3(3);
}
@@ -874,7 +874,7 @@
}
};
- var AbstractPopoverButton5 = function(x) {
+ var AbstractPopoverButton5 = function (x) {
if (x === 5) {
return XUIButton4(4);
}
@@ -889,7 +889,7 @@
}
};
- var ReactXUIPopoverButton6 = function(x) {
+ var ReactXUIPopoverButton6 = function (x) {
if (x === 6) {
return AbstractPopoverButton5(5);
}
@@ -904,19 +904,19 @@
}
};
- var BIGAdAccountSelector7 = function(x) {
+ var BIGAdAccountSelector7 = function (x) {
if (x === 7) {
return React.createElement('div', null, ReactXUIPopoverButton6(6), null);
}
};
- var FluxContainer_AdsPEBIGAdAccountSelectorContainer_8 = function(x) {
+ var FluxContainer_AdsPEBIGAdAccountSelectorContainer_8 = function (x) {
if (x === 8) {
return BIGAdAccountSelector7(7);
}
};
- var ErrorBoundary9 = function(x) {
+ var ErrorBoundary9 = function (x) {
if (x === 9) {
return FluxContainer_AdsPEBIGAdAccountSelectorContainer_8(8);
}
@@ -967,7 +967,7 @@
}
};
- var AdsErrorBoundary10 = function(x) {
+ var AdsErrorBoundary10 = function (x) {
if (x === 10) {
return ErrorBoundary9(9);
}
@@ -1018,47 +1018,47 @@
}
};
- var AdsPENavigationBar11 = function(x) {
+ var AdsPENavigationBar11 = function (x) {
if (x === 11) {
return React.createElement('div', {className: '_4t_9'});
}
};
- var FluxContainer_AdsPENavigationBarContainer_12 = function(x) {
+ var FluxContainer_AdsPENavigationBarContainer_12 = function (x) {
if (x === 12) {
return AdsPENavigationBar11(11);
}
};
- var AdsPEDraftSyncStatus13 = function(x) {
+ var AdsPEDraftSyncStatus13 = function (x) {
if (x === 16) {
return React.createElement(
'div',
- {className: '_3ut-', onClick: function() {}},
+ {className: '_3ut-', onClick: function () {}},
React.createElement('span', {className: '_3uu0'}, ReactImage0(15))
);
}
};
- var FluxContainer_AdsPEDraftSyncStatusContainer_14 = function(x) {
+ var FluxContainer_AdsPEDraftSyncStatusContainer_14 = function (x) {
if (x === 17) {
return AdsPEDraftSyncStatus13(16);
}
};
- var AdsPEDraftErrorsStatus15 = function(x) {
+ var AdsPEDraftErrorsStatus15 = function (x) {
if (x === 18) {
return null;
}
};
- var FluxContainer_viewFn_16 = function(x) {
+ var FluxContainer_viewFn_16 = function (x) {
if (x === 19) {
return AdsPEDraftErrorsStatus15(18);
}
};
- var AdsPEPublishButton17 = function(x) {
+ var AdsPEPublishButton17 = function (x) {
if (x === 25) {
return React.createElement(
'div',
@@ -1072,13 +1072,13 @@
}
};
- var FluxContainer_AdsPEPublishButtonContainer_18 = function(x) {
+ var FluxContainer_AdsPEPublishButtonContainer_18 = function (x) {
if (x === 26) {
return AdsPEPublishButton17(25);
}
};
- var InlineBlock19 = function(x) {
+ var InlineBlock19 = function (x) {
if (x === 30) {
return React.createElement(
'div',
@@ -1120,7 +1120,7 @@
}
};
- var ReactPopoverMenu20 = function(x) {
+ var ReactPopoverMenu20 = function (x) {
if (x === 31) {
return InlineBlock19(30);
}
@@ -1138,7 +1138,7 @@
}
};
- var LeftRight21 = function(x) {
+ var LeftRight21 = function (x) {
if (x === 34) {
return React.createElement(
'div',
@@ -1263,25 +1263,25 @@
}
};
- var AdsUnifiedNavigationLocalNav22 = function(x) {
+ var AdsUnifiedNavigationLocalNav22 = function (x) {
if (x === 35) {
return React.createElement('div', {className: '_34_i'}, LeftRight21(34));
}
};
- var XUIDialog23 = function(x) {
+ var XUIDialog23 = function (x) {
if (x === 36) {
return null;
}
};
- var AdsPEResetDialog24 = function(x) {
+ var AdsPEResetDialog24 = function (x) {
if (x === 37) {
return React.createElement('span', null, XUIDialog23(36));
}
};
- var AdsPETopNav25 = function(x) {
+ var AdsPETopNav25 = function (x) {
if (x === 40) {
return React.createElement(
'div',
@@ -1292,13 +1292,13 @@
}
};
- var FluxContainer_AdsPETopNavContainer_26 = function(x) {
+ var FluxContainer_AdsPETopNavContainer_26 = function (x) {
if (x === 41) {
return AdsPETopNav25(40);
}
};
- var XUIAbstractGlyphButton27 = function(x) {
+ var XUIAbstractGlyphButton27 = function (x) {
if (x === 46) {
return AbstractButton3(45);
}
@@ -1307,7 +1307,7 @@
}
};
- var XUICloseButton28 = function(x) {
+ var XUICloseButton28 = function (x) {
if (x === 47) {
return XUIAbstractGlyphButton27(46);
}
@@ -1316,7 +1316,7 @@
}
};
- var XUIText29 = function(x) {
+ var XUIText29 = function (x) {
if (x === 48) {
return React.createElement(
'span',
@@ -1340,7 +1340,7 @@
}
};
- var XUINotice30 = function(x) {
+ var XUINotice30 = function (x) {
if (x === 51) {
return React.createElement(
'div',
@@ -1358,13 +1358,13 @@
}
};
- var ReactCSSTransitionGroupChild31 = function(x) {
+ var ReactCSSTransitionGroupChild31 = function (x) {
if (x === 52) {
return XUINotice30(51);
}
};
- var ReactTransitionGroup32 = function(x) {
+ var ReactTransitionGroup32 = function (x) {
if (x === 53) {
return React.createElement(
'span',
@@ -1374,13 +1374,13 @@
}
};
- var ReactCSSTransitionGroup33 = function(x) {
+ var ReactCSSTransitionGroup33 = function (x) {
if (x === 54) {
return ReactTransitionGroup32(53);
}
};
- var AdsPETopError34 = function(x) {
+ var AdsPETopError34 = function (x) {
if (x === 55) {
return React.createElement(
'div',
@@ -1390,19 +1390,19 @@
}
};
- var FluxContainer_AdsPETopErrorContainer_35 = function(x) {
+ var FluxContainer_AdsPETopErrorContainer_35 = function (x) {
if (x === 56) {
return AdsPETopError34(55);
}
};
- var FluxContainer_AdsGuidanceChannel_36 = function(x) {
+ var FluxContainer_AdsGuidanceChannel_36 = function (x) {
if (x === 59) {
return null;
}
};
- var ResponsiveBlock37 = function(x) {
+ var ResponsiveBlock37 = function (x) {
if (x === 62) {
return React.createElement(
'div',
@@ -1437,13 +1437,13 @@
}
};
- var FluxContainer_AdsBulkEditDialogContainer_38 = function(x) {
+ var FluxContainer_AdsBulkEditDialogContainer_38 = function (x) {
if (x === 63) {
return null;
}
};
- var Column39 = function(x) {
+ var Column39 = function (x) {
if (x === 66) {
return React.createElement(
'div',
@@ -1460,7 +1460,7 @@
}
};
- var XUIButtonGroup40 = function(x) {
+ var XUIButtonGroup40 = function (x) {
if (x === 75) {
return React.createElement(
'div',
@@ -1497,13 +1497,13 @@
}
};
- var AdsPEEditToolbarButton41 = function(x) {
+ var AdsPEEditToolbarButton41 = function (x) {
if (x === 85) {
return XUIButtonGroup40(84);
}
};
- var FluxContainer_AdsPEEditCampaignGroupToolbarButtonContainer_42 = function(
+ var FluxContainer_AdsPEEditCampaignGroupToolbarButtonContainer_42 = function (
x
) {
if (x === 86) {
@@ -1511,37 +1511,37 @@
}
};
- var FluxContainer_AdsPEEditToolbarButtonContainer_43 = function(x) {
+ var FluxContainer_AdsPEEditToolbarButtonContainer_43 = function (x) {
if (x === 87) {
return FluxContainer_AdsPEEditCampaignGroupToolbarButtonContainer_42(86);
}
};
- var AdsPEExportImportMenu44 = function(x) {
+ var AdsPEExportImportMenu44 = function (x) {
if (x === 103) {
return ReactPopoverMenu20(102);
}
};
- var FluxContainer_AdsPECustomizeExportContainer_45 = function(x) {
+ var FluxContainer_AdsPECustomizeExportContainer_45 = function (x) {
if (x === 104) {
return null;
}
};
- var AdsPEExportAsTextDialog46 = function(x) {
+ var AdsPEExportAsTextDialog46 = function (x) {
if (x === 105) {
return null;
}
};
- var FluxContainer_AdsPEExportAsTextDialogContainer_47 = function(x) {
+ var FluxContainer_AdsPEExportAsTextDialogContainer_47 = function (x) {
if (x === 106) {
return AdsPEExportAsTextDialog46(105);
}
};
- var AdsPEExportImportMenuContainer48 = function(x) {
+ var AdsPEExportImportMenuContainer48 = function (x) {
if (x === 107) {
return React.createElement(
'span',
@@ -1555,7 +1555,7 @@
}
};
- var Constructor49 = function(x) {
+ var Constructor49 = function (x) {
if (x === 114) {
return null;
}
@@ -1570,7 +1570,7 @@
}
};
- var TagSelectorPopover50 = function(x) {
+ var TagSelectorPopover50 = function (x) {
if (x === 115) {
return React.createElement(
'span',
@@ -1581,25 +1581,25 @@
}
};
- var AdsPECampaignGroupTagContainer51 = function(x) {
+ var AdsPECampaignGroupTagContainer51 = function (x) {
if (x === 116) {
return TagSelectorPopover50(115);
}
};
- var AdsRuleToolbarMenu52 = function(x) {
+ var AdsRuleToolbarMenu52 = function (x) {
if (x === 118) {
return null;
}
};
- var FluxContainer_AdsPERuleToolbarMenuContainer_53 = function(x) {
+ var FluxContainer_AdsPERuleToolbarMenuContainer_53 = function (x) {
if (x === 119) {
return AdsRuleToolbarMenu52(118);
}
};
- var FillColumn54 = function(x) {
+ var FillColumn54 = function (x) {
if (x === 120) {
return React.createElement(
'div',
@@ -1622,7 +1622,7 @@
}
};
- var Layout55 = function(x) {
+ var Layout55 = function (x) {
if (x === 121) {
return React.createElement(
'div',
@@ -1633,7 +1633,7 @@
}
};
- var AdsPEMainPaneToolbar56 = function(x) {
+ var AdsPEMainPaneToolbar56 = function (x) {
if (x === 122) {
return React.createElement(
'div',
@@ -1643,13 +1643,13 @@
}
};
- var AdsPECampaignGroupToolbarContainer57 = function(x) {
+ var AdsPECampaignGroupToolbarContainer57 = function (x) {
if (x === 123) {
return AdsPEMainPaneToolbar56(122);
}
};
- var AdsPEFiltersPopover58 = function(x) {
+ var AdsPEFiltersPopover58 = function (x) {
if (x === 144) {
return React.createElement(
'span',
@@ -1661,7 +1661,7 @@
}
};
- var AbstractCheckboxInput59 = function(x) {
+ var AbstractCheckboxInput59 = function (x) {
if (x === 145) {
return React.createElement(
'label',
@@ -1671,7 +1671,7 @@
disabled: true,
name: 'filterUnpublished',
value: 'on',
- onClick: function() {},
+ onClick: function () {},
className: null,
id: 'js_input_label_21',
type: 'checkbox',
@@ -1688,7 +1688,7 @@
{className: '_4h2r _55sg _kv1'},
React.createElement('input', {
checked: undefined,
- onChange: function() {},
+ onChange: function () {},
className: null,
type: 'checkbox',
}),
@@ -1700,7 +1700,7 @@
}
};
- var XUICheckboxInput60 = function(x) {
+ var XUICheckboxInput60 = function (x) {
if (x === 146) {
return AbstractCheckboxInput59(145);
}
@@ -1709,7 +1709,7 @@
}
};
- var InputLabel61 = function(x) {
+ var InputLabel61 = function (x) {
if (x === 147) {
return React.createElement(
'div',
@@ -1724,7 +1724,7 @@
}
};
- var AdsPopoverLink62 = function(x) {
+ var AdsPopoverLink62 = function (x) {
if (x === 154) {
return React.createElement(
'span',
@@ -1732,8 +1732,8 @@
React.createElement(
'span',
{
- onMouseEnter: function() {},
- onMouseLeave: function() {},
+ onMouseEnter: function () {},
+ onMouseLeave: function () {},
onMouseUp: undefined,
},
React.createElement('span', {className: '_3o_j'}),
@@ -1749,8 +1749,8 @@
React.createElement(
'span',
{
- onMouseEnter: function() {},
- onMouseLeave: function() {},
+ onMouseEnter: function () {},
+ onMouseLeave: function () {},
onMouseUp: undefined,
},
React.createElement('span', {className: '_3o_j'}),
@@ -1761,7 +1761,7 @@
}
};
- var AdsHelpLink63 = function(x) {
+ var AdsHelpLink63 = function (x) {
if (x === 155) {
return AdsPopoverLink62(154);
}
@@ -1770,7 +1770,7 @@
}
};
- var BUIFilterTokenInput64 = function(x) {
+ var BUIFilterTokenInput64 = function (x) {
if (x === 158) {
return React.createElement(
'div',
@@ -1791,7 +1791,7 @@
}
};
- var BUIFilterToken65 = function(x) {
+ var BUIFilterToken65 = function (x) {
if (x === 159) {
return React.createElement(
'div',
@@ -1801,7 +1801,7 @@
{className: '_3yz4', 'aria-hidden': false},
React.createElement(
'div',
- {onClick: function() {}, className: '_3yz5'},
+ {onClick: function () {}, className: '_3yz5'},
ReactImage0(148),
React.createElement('div', {className: '_3yz7'}, 'Campaigns:'),
React.createElement(
@@ -1822,13 +1822,13 @@
}
};
- var BUIFilterTokenCreateButton66 = function(x) {
+ var BUIFilterTokenCreateButton66 = function (x) {
if (x === 163) {
return React.createElement('div', {className: '_1tc'}, XUIButton4(162));
}
};
- var BUIFilterTokenizer67 = function(x) {
+ var BUIFilterTokenizer67 = function (x) {
if (x === 164) {
return React.createElement(
'div',
@@ -1843,7 +1843,7 @@
}
};
- var XUIAmbientNUX68 = function(x) {
+ var XUIAmbientNUX68 = function (x) {
if (x === 165) {
return null;
}
@@ -1855,7 +1855,7 @@
}
};
- var XUIAmbientNUX69 = function(x) {
+ var XUIAmbientNUX69 = function (x) {
if (x === 166) {
return XUIAmbientNUX68(165);
}
@@ -1867,7 +1867,7 @@
}
};
- var AdsPEAmbientNUXMegaphone70 = function(x) {
+ var AdsPEAmbientNUXMegaphone70 = function (x) {
if (x === 167) {
return React.createElement(
'span',
@@ -1878,7 +1878,7 @@
}
};
- var AdsPEFilters71 = function(x) {
+ var AdsPEFilters71 = function (x) {
if (x === 168) {
return React.createElement(
'div',
@@ -1892,31 +1892,31 @@
}
};
- var AdsPEFilterContainer72 = function(x) {
+ var AdsPEFilterContainer72 = function (x) {
if (x === 169) {
return AdsPEFilters71(168);
}
};
- var AdsPETablePager73 = function(x) {
+ var AdsPETablePager73 = function (x) {
if (x === 172) {
return null;
}
};
- var AdsPECampaignGroupTablePagerContainer74 = function(x) {
+ var AdsPECampaignGroupTablePagerContainer74 = function (x) {
if (x === 173) {
return AdsPETablePager73(172);
}
};
- var AdsPETablePagerContainer75 = function(x) {
+ var AdsPETablePagerContainer75 = function (x) {
if (x === 174) {
return AdsPECampaignGroupTablePagerContainer74(173);
}
};
- var ReactXUIError76 = function(x) {
+ var ReactXUIError76 = function (x) {
if (x === 181) {
return AbstractButton3(180);
}
@@ -1943,10 +1943,10 @@
id: undefined,
maxLength: null,
value: 'Test Campaign',
- onBlur: function() {},
- onChange: function() {},
- onFocus: function() {},
- onKeyDown: function() {},
+ onBlur: function () {},
+ onChange: function () {},
+ onFocus: function () {},
+ onKeyDown: function () {},
}),
null
),
@@ -1970,13 +1970,13 @@
}
};
- var BUIPopoverButton77 = function(x) {
+ var BUIPopoverButton77 = function (x) {
if (x === 182) {
return ReactXUIError76(181);
}
};
- var BUIDateRangePicker78 = function(x) {
+ var BUIDateRangePicker78 = function (x) {
if (x === 184) {
return React.createElement('span', null, BUIPopoverButton77(182), [
Constructor49(183),
@@ -1984,13 +1984,13 @@
}
};
- var AdsPEStatsRangePicker79 = function(x) {
+ var AdsPEStatsRangePicker79 = function (x) {
if (x === 185) {
return BUIDateRangePicker78(184);
}
};
- var AdsPEStatRange80 = function(x) {
+ var AdsPEStatRange80 = function (x) {
if (x === 191) {
return React.createElement(
'div',
@@ -2007,17 +2007,17 @@
}
};
- var AdsPEStatRangeContainer81 = function(x) {
+ var AdsPEStatRangeContainer81 = function (x) {
if (x === 192) {
return AdsPEStatRange80(191);
}
};
- var AdsPESideTrayTabButton82 = function(x) {
+ var AdsPESideTrayTabButton82 = function (x) {
if (x === 196) {
return React.createElement(
'div',
- {className: '_1-ly _59j9 _d9a', onClick: function() {}},
+ {className: '_1-ly _59j9 _d9a', onClick: function () {}},
ReactImage0(195),
React.createElement('div', {className: '_vf7'}),
React.createElement('div', {className: '_vf8'})
@@ -2026,7 +2026,7 @@
if (x === 199) {
return React.createElement(
'div',
- {className: ' _1-lz _d9a', onClick: function() {}},
+ {className: ' _1-lz _d9a', onClick: function () {}},
ReactImage0(198),
React.createElement('div', {className: '_vf7'}),
React.createElement('div', {className: '_vf8'})
@@ -2037,13 +2037,13 @@
}
};
- var AdsPEEditorTrayTabButton83 = function(x) {
+ var AdsPEEditorTrayTabButton83 = function (x) {
if (x === 197) {
return AdsPESideTrayTabButton82(196);
}
};
- var AdsPEInsightsTrayTabButton84 = function(x) {
+ var AdsPEInsightsTrayTabButton84 = function (x) {
if (x === 202) {
return React.createElement(
'span',
@@ -2054,13 +2054,13 @@
}
};
- var AdsPENekoDebuggerTrayTabButton85 = function(x) {
+ var AdsPENekoDebuggerTrayTabButton85 = function (x) {
if (x === 204) {
return AdsPESideTrayTabButton82(203);
}
};
- var AdsPEEditorChildLink86 = function(x) {
+ var AdsPEEditorChildLink86 = function (x) {
if (x === 211) {
return React.createElement(
'div',
@@ -2072,13 +2072,13 @@
}
};
- var AdsPEEditorChildLinkContainer87 = function(x) {
+ var AdsPEEditorChildLinkContainer87 = function (x) {
if (x === 212) {
return AdsPEEditorChildLink86(211);
}
};
- var AdsPEHeaderSection88 = function(x) {
+ var AdsPEHeaderSection88 = function (x) {
if (x === 213) {
return React.createElement(
'div',
@@ -2095,25 +2095,25 @@
}
};
- var AdsPECampaignGroupHeaderSectionContainer89 = function(x) {
+ var AdsPECampaignGroupHeaderSectionContainer89 = function (x) {
if (x === 214) {
return AdsPEHeaderSection88(213);
}
};
- var AdsEditorLoadingErrors90 = function(x) {
+ var AdsEditorLoadingErrors90 = function (x) {
if (x === 215) {
return null;
}
};
- var AdsTextInput91 = function(x) {
+ var AdsTextInput91 = function (x) {
if (x === 217) {
return ReactXUIError76(216);
}
};
- var BUIFormElement92 = function(x) {
+ var BUIFormElement92 = function (x) {
if (x === 218) {
return React.createElement(
'div',
@@ -2151,7 +2151,7 @@
}
};
- var BUIForm93 = function(x) {
+ var BUIForm93 = function (x) {
if (x === 219) {
return React.createElement(
'div',
@@ -2161,7 +2161,7 @@
}
};
- var XUICard94 = function(x) {
+ var XUICard94 = function (x) {
if (x === 220) {
return React.createElement(
'div',
@@ -2186,7 +2186,7 @@
}
};
- var AdsCard95 = function(x) {
+ var AdsCard95 = function (x) {
if (x === 222) {
return ReactXUIError76(221);
}
@@ -2198,25 +2198,25 @@
}
};
- var AdsEditorNameSection96 = function(x) {
+ var AdsEditorNameSection96 = function (x) {
if (x === 223) {
return AdsCard95(222);
}
};
- var AdsCampaignGroupNameSectionContainer97 = function(x) {
+ var AdsCampaignGroupNameSectionContainer97 = function (x) {
if (x === 224) {
return AdsEditorNameSection96(223);
}
};
- var _render98 = function(x) {
+ var _render98 = function (x) {
if (x === 225) {
return AdsCampaignGroupNameSectionContainer97(224);
}
};
- var AdsPluginWrapper99 = function(x) {
+ var AdsPluginWrapper99 = function (x) {
if (x === 226) {
return _render98(225);
}
@@ -2234,7 +2234,7 @@
}
};
- var XUICardHeaderTitle100 = function(x) {
+ var XUICardHeaderTitle100 = function (x) {
if (x === 227) {
return React.createElement(
'span',
@@ -2268,7 +2268,7 @@
}
};
- var XUICardSection101 = function(x) {
+ var XUICardSection101 = function (x) {
if (x === 228) {
return React.createElement(
'div',
@@ -2296,19 +2296,19 @@
}
};
- var XUICardHeader102 = function(x) {
+ var XUICardHeader102 = function (x) {
if (x === 229) {
return XUICardSection101(228);
}
};
- var AdsCardHeader103 = function(x) {
+ var AdsCardHeader103 = function (x) {
if (x === 230) {
return XUICardHeader102(229);
}
};
- var AdsLabeledField104 = function(x) {
+ var AdsLabeledField104 = function (x) {
if (x === 231) {
return React.createElement(
'div',
@@ -2350,7 +2350,7 @@
}
};
- var FlexibleBlock105 = function(x) {
+ var FlexibleBlock105 = function (x) {
if (x === 233) {
return LeftRight21(232);
}
@@ -2362,7 +2362,7 @@
}
};
- var AdsBulkCampaignSpendCapField106 = function(x) {
+ var AdsBulkCampaignSpendCapField106 = function (x) {
if (x === 243) {
return React.createElement(
'div',
@@ -2374,61 +2374,61 @@
}
};
- var FluxContainer_AdsCampaignGroupSpendCapContainer_107 = function(x) {
+ var FluxContainer_AdsCampaignGroupSpendCapContainer_107 = function (x) {
if (x === 244) {
return AdsBulkCampaignSpendCapField106(243);
}
};
- var AdsCardSection108 = function(x) {
+ var AdsCardSection108 = function (x) {
if (x === 248) {
return XUICardSection101(247);
}
};
- var AdsEditorCampaignGroupDetailsSection109 = function(x) {
+ var AdsEditorCampaignGroupDetailsSection109 = function (x) {
if (x === 252) {
return AdsCard95(251);
}
};
- var AdsEditorCampaignGroupDetailsSectionContainer110 = function(x) {
+ var AdsEditorCampaignGroupDetailsSectionContainer110 = function (x) {
if (x === 253) {
return AdsEditorCampaignGroupDetailsSection109(252);
}
};
- var _render111 = function(x) {
+ var _render111 = function (x) {
if (x === 254) {
return AdsEditorCampaignGroupDetailsSectionContainer110(253);
}
};
- var FluxContainer_AdsEditorToplineDetailsSectionContainer_112 = function(x) {
+ var FluxContainer_AdsEditorToplineDetailsSectionContainer_112 = function (x) {
if (x === 256) {
return null;
}
};
- var _render113 = function(x) {
+ var _render113 = function (x) {
if (x === 257) {
return FluxContainer_AdsEditorToplineDetailsSectionContainer_112(256);
}
};
- var AdsStickyArea114 = function(x) {
+ var AdsStickyArea114 = function (x) {
if (x === 259) {
return React.createElement(
'div',
{},
- React.createElement('div', {onWheel: function() {}})
+ React.createElement('div', {onWheel: function () {}})
);
}
if (x === 292) {
return React.createElement(
'div',
{},
- React.createElement('div', {onWheel: function() {}}, [
+ React.createElement('div', {onWheel: function () {}}, [
React.createElement(
'div',
{key: 'campaign_group_errors_section98010048849317'},
@@ -2439,7 +2439,7 @@
}
};
- var FluxContainer_AdsEditorColumnContainer_115 = function(x) {
+ var FluxContainer_AdsEditorColumnContainer_115 = function (x) {
if (x === 260) {
return React.createElement(
'div',
@@ -2480,7 +2480,7 @@
}
};
- var BUISwitch116 = function(x) {
+ var BUISwitch116 = function (x) {
if (x === 261) {
return React.createElement(
'div',
@@ -2491,7 +2491,7 @@
'data-tooltip-position': 'below',
disabled: false,
value: true,
- onToggle: function() {},
+ onToggle: function () {},
className: '_128j _128k _128n',
role: 'checkbox',
'aria-checked': 'true',
@@ -2500,9 +2500,9 @@
'div',
{
className: '_128o',
- onClick: function() {},
- onKeyDown: function() {},
- onMouseDown: function() {},
+ onClick: function () {},
+ onKeyDown: function () {},
+ onMouseDown: function () {},
tabIndex: '0',
},
React.createElement('div', {className: '_128p'})
@@ -2512,91 +2512,91 @@
}
};
- var AdsStatusSwitchInternal117 = function(x) {
+ var AdsStatusSwitchInternal117 = function (x) {
if (x === 262) {
return BUISwitch116(261);
}
};
- var AdsStatusSwitch118 = function(x) {
+ var AdsStatusSwitch118 = function (x) {
if (x === 263) {
return AdsStatusSwitchInternal117(262);
}
};
- var FluxContainer_AdsCampaignGroupStatusSwitchContainer_119 = function(x) {
+ var FluxContainer_AdsCampaignGroupStatusSwitchContainer_119 = function (x) {
if (x === 264) {
return AdsStatusSwitch118(263);
}
};
- var AdsLinksMenu120 = function(x) {
+ var AdsLinksMenu120 = function (x) {
if (x === 275) {
return ReactPopoverMenu20(274);
}
};
- var FluxContainer_AdsPluginizedLinksMenuContainer_121 = function(x) {
+ var FluxContainer_AdsPluginizedLinksMenuContainer_121 = function (x) {
if (x === 276) {
return React.createElement('div', null, null, AdsLinksMenu120(275));
}
};
- var AdsCardLeftRightHeader122 = function(x) {
+ var AdsCardLeftRightHeader122 = function (x) {
if (x === 278) {
return LeftRight21(277);
}
};
- var AdsPEIDSection123 = function(x) {
+ var AdsPEIDSection123 = function (x) {
if (x === 282) {
return AdsCard95(281);
}
};
- var FluxContainer_AdsPECampaignGroupIDSectionContainer_124 = function(x) {
+ var FluxContainer_AdsPECampaignGroupIDSectionContainer_124 = function (x) {
if (x === 283) {
return AdsPEIDSection123(282);
}
};
- var DeferredComponent125 = function(x) {
+ var DeferredComponent125 = function (x) {
if (x === 284) {
return FluxContainer_AdsPECampaignGroupIDSectionContainer_124(283);
}
};
- var BootloadedComponent126 = function(x) {
+ var BootloadedComponent126 = function (x) {
if (x === 285) {
return DeferredComponent125(284);
}
};
- var _render127 = function(x) {
+ var _render127 = function (x) {
if (x === 286) {
return BootloadedComponent126(285);
}
};
- var AdsEditorErrorsCard128 = function(x) {
+ var AdsEditorErrorsCard128 = function (x) {
if (x === 288) {
return null;
}
};
- var FluxContainer_FunctionalContainer_129 = function(x) {
+ var FluxContainer_FunctionalContainer_129 = function (x) {
if (x === 289) {
return AdsEditorErrorsCard128(288);
}
};
- var _render130 = function(x) {
+ var _render130 = function (x) {
if (x === 290) {
return FluxContainer_FunctionalContainer_129(289);
}
};
- var AdsEditorMultiColumnLayout131 = function(x) {
+ var AdsEditorMultiColumnLayout131 = function (x) {
if (x === 294) {
return React.createElement(
'div',
@@ -2628,7 +2628,7 @@
}
};
- var AdsPECampaignGroupEditor132 = function(x) {
+ var AdsPECampaignGroupEditor132 = function (x) {
if (x === 295) {
return React.createElement(
'div',
@@ -2639,13 +2639,13 @@
}
};
- var AdsPECampaignGroupEditorContainer133 = function(x) {
+ var AdsPECampaignGroupEditorContainer133 = function (x) {
if (x === 296) {
return AdsPECampaignGroupEditor132(295);
}
};
- var AdsPESideTrayTabContent134 = function(x) {
+ var AdsPESideTrayTabContent134 = function (x) {
if (x === 297) {
return React.createElement(
'div',
@@ -2655,13 +2655,13 @@
}
};
- var AdsPEEditorTrayTabContentContainer135 = function(x) {
+ var AdsPEEditorTrayTabContentContainer135 = function (x) {
if (x === 298) {
return AdsPESideTrayTabContent134(297);
}
};
- var AdsPEMultiTabDrawer136 = function(x) {
+ var AdsPEMultiTabDrawer136 = function (x) {
if (x === 299) {
return React.createElement(
'div',
@@ -2683,13 +2683,13 @@
}
};
- var FluxContainer_AdsPEMultiTabDrawerContainer_137 = function(x) {
+ var FluxContainer_AdsPEMultiTabDrawerContainer_137 = function (x) {
if (x === 300) {
return AdsPEMultiTabDrawer136(299);
}
};
- var AdsPESimpleOrganizer138 = function(x) {
+ var AdsPESimpleOrganizer138 = function (x) {
if (x === 309) {
return React.createElement(
'div',
@@ -2701,13 +2701,13 @@
}
};
- var AdsPEOrganizerContainer139 = function(x) {
+ var AdsPEOrganizerContainer139 = function (x) {
if (x === 310) {
return React.createElement('div', null, AdsPESimpleOrganizer138(309));
}
};
- var FixedDataTableColumnResizeHandle140 = function(x) {
+ var FixedDataTableColumnResizeHandle140 = function (x) {
if (x === 313) {
return React.createElement(
'div',
@@ -2720,7 +2720,7 @@
}
};
- var AdsPETableHeader141 = function(x) {
+ var AdsPETableHeader141 = function (x) {
if (x === 315) {
return React.createElement(
'div',
@@ -2953,7 +2953,7 @@
}
};
- var TransitionCell142 = function(x) {
+ var TransitionCell142 = function (x) {
if (x === 316) {
return React.createElement(
'div',
@@ -3565,7 +3565,7 @@
}
};
- var FixedDataTableCell143 = function(x) {
+ var FixedDataTableCell143 = function (x) {
if (x === 317) {
return React.createElement(
'div',
@@ -3623,7 +3623,11 @@
{className: '_4lg0 _4h2m', style: {height: 25, width: 400, left: 42}},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -3662,7 +3666,11 @@
{className: '_4lg0 _4h2m', style: {height: 25, width: 150, left: 571}},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -3680,7 +3688,11 @@
},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -3698,7 +3710,11 @@
},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -3716,7 +3732,11 @@
},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -3734,7 +3754,11 @@
},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -3752,7 +3776,11 @@
},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -3770,7 +3798,11 @@
},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -3788,7 +3820,11 @@
},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -3806,7 +3842,11 @@
},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -3824,7 +3864,11 @@
},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -3839,7 +3883,11 @@
{className: '_4lg0 _4h2m', style: {height: 25, width: 200, left: 798}},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -3854,7 +3902,11 @@
{className: '_4lg0 _4h2m', style: {height: 25, width: 100, left: 998}},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -3869,7 +3921,11 @@
{className: '_4lg0 _4h2m', style: {height: 25, width: 120, left: 1098}},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -3884,7 +3940,11 @@
{className: '_4lg0 _4h2m', style: {height: 25, width: 113, left: 1218}},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -3899,7 +3959,11 @@
{className: '_4lg0 _4h2m', style: {height: 25, width: 113, left: 1331}},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -3914,7 +3978,11 @@
{className: '_4lg0 _4h2m', style: {height: 25, width: 113, left: 1444}},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -3929,7 +3997,11 @@
{className: '_4lg0 _4h2m', style: {height: 25, width: 113, left: 1557}},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -3944,7 +4016,11 @@
{className: '_4lg0 _4h2m', style: {height: 25, width: 150, left: 1670}},
React.createElement(
'div',
- {className: '_4lg9', style: {height: 25}, onMouseDown: function() {}},
+ {
+ className: '_4lg9',
+ style: {height: 25},
+ onMouseDown: function () {},
+ },
React.createElement('div', {
className: '_4lga _4lgb',
style: {height: 25},
@@ -3963,7 +4039,7 @@
}
};
- var FixedDataTableCellGroupImpl144 = function(x) {
+ var FixedDataTableCellGroupImpl144 = function (x) {
if (x === 318) {
return React.createElement(
'div',
@@ -4059,7 +4135,7 @@
}
};
- var FixedDataTableCellGroup145 = function(x) {
+ var FixedDataTableCellGroup145 = function (x) {
if (x === 319) {
return React.createElement(
'div',
@@ -4090,7 +4166,7 @@
}
};
- var FixedDataTableRowImpl146 = function(x) {
+ var FixedDataTableRowImpl146 = function (x) {
if (x === 334) {
return React.createElement(
'div',
@@ -4141,7 +4217,7 @@
}
};
- var FixedDataTableRow147 = function(x) {
+ var FixedDataTableRow147 = function (x) {
if (x === 335) {
return React.createElement(
'div',
@@ -4176,11 +4252,11 @@
}
};
- var FixedDataTableAbstractSortableHeader148 = function(x) {
+ var FixedDataTableAbstractSortableHeader148 = function (x) {
if (x === 341) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4192,7 +4268,7 @@
if (x === 347) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _1kst _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _1kst _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4204,7 +4280,7 @@
if (x === 353) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _1kst _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _1kst _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4216,7 +4292,7 @@
if (x === 358) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4228,7 +4304,7 @@
if (x === 363) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _54_9 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _54_9 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4240,7 +4316,7 @@
if (x === 370) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4252,7 +4328,7 @@
if (x === 375) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4264,7 +4340,7 @@
if (x === 380) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4276,7 +4352,7 @@
if (x === 385) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4288,7 +4364,7 @@
if (x === 390) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4300,7 +4376,7 @@
if (x === 395) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4312,7 +4388,7 @@
if (x === 400) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4324,7 +4400,7 @@
if (x === 405) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4336,7 +4412,7 @@
if (x === 410) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4348,7 +4424,7 @@
if (x === 415) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4360,7 +4436,7 @@
if (x === 420) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4372,7 +4448,7 @@
if (x === 425) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4384,7 +4460,7 @@
if (x === 430) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4396,7 +4472,7 @@
if (x === 435) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4408,7 +4484,7 @@
if (x === 440) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4420,7 +4496,7 @@
if (x === 445) {
return React.createElement(
'div',
- {onClick: function() {}, className: '_54_8 _4h2r _2wzx'},
+ {onClick: function () {}, className: '_54_8 _4h2r _2wzx'},
React.createElement(
'div',
{className: '_2eq6'},
@@ -4431,7 +4507,7 @@
}
};
- var FixedDataTableSortableHeader149 = function(x) {
+ var FixedDataTableSortableHeader149 = function (x) {
if (x === 342) {
return FixedDataTableAbstractSortableHeader148(341);
}
@@ -4497,7 +4573,7 @@
}
};
- var FixedDataTableBufferedRows150 = function(x) {
+ var FixedDataTableBufferedRows150 = function (x) {
if (x === 459) {
return React.createElement('div', {
style: {
@@ -4510,7 +4586,7 @@
}
};
- var Scrollbar151 = function(x) {
+ var Scrollbar151 = function (x) {
if (x === 460) {
return null;
}
@@ -4518,11 +4594,11 @@
return React.createElement(
'div',
{
- onFocus: function() {},
- onBlur: function() {},
- onKeyDown: function() {},
- onMouseDown: function() {},
- onWheel: function() {},
+ onFocus: function () {},
+ onBlur: function () {},
+ onKeyDown: function () {},
+ onMouseDown: function () {},
+ onWheel: function () {},
className: '_1t0r _1t0t _4jdr _1t0u',
style: {width: 1209, zIndex: 99},
tabIndex: 0,
@@ -4539,7 +4615,7 @@
}
};
- var HorizontalScrollbar152 = function(x) {
+ var HorizontalScrollbar152 = function (x) {
if (x === 462) {
return React.createElement(
'div',
@@ -4562,13 +4638,13 @@
}
};
- var FixedDataTable153 = function(x) {
+ var FixedDataTable153 = function (x) {
if (x === 463) {
return React.createElement(
'div',
{
className: '_3h1i _1mie',
- onWheel: function() {},
+ onWheel: function () {},
style: {height: 25, width: 1209},
},
React.createElement(
@@ -4591,13 +4667,13 @@
}
};
- var TransitionTable154 = function(x) {
+ var TransitionTable154 = function (x) {
if (x === 464) {
return FixedDataTable153(463);
}
};
- var AdsSelectableFixedDataTable155 = function(x) {
+ var AdsSelectableFixedDataTable155 = function (x) {
if (x === 465) {
return React.createElement(
'div',
@@ -4607,27 +4683,27 @@
}
};
- var AdsDataTableKeyboardSupportDecorator156 = function(x) {
+ var AdsDataTableKeyboardSupportDecorator156 = function (x) {
if (x === 466) {
return React.createElement(
'div',
- {className: '_5d6f', tabIndex: '0', onKeyDown: function() {}},
+ {className: '_5d6f', tabIndex: '0', onKeyDown: function () {}},
AdsSelectableFixedDataTable155(465)
);
}
};
- var AdsEditableDataTableDecorator157 = function(x) {
+ var AdsEditableDataTableDecorator157 = function (x) {
if (x === 467) {
return React.createElement(
'div',
- {onCopy: function() {}},
+ {onCopy: function () {}},
AdsDataTableKeyboardSupportDecorator156(466)
);
}
};
- var AdsPEDataTableContainer158 = function(x) {
+ var AdsPEDataTableContainer158 = function (x) {
if (x === 468) {
return React.createElement(
'div',
@@ -4640,13 +4716,13 @@
}
};
- var AdsPECampaignGroupTableContainer159 = function(x) {
+ var AdsPECampaignGroupTableContainer159 = function (x) {
if (x === 470) {
return ResponsiveBlock37(469);
}
};
- var AdsPEManageAdsPaneContainer160 = function(x) {
+ var AdsPEManageAdsPaneContainer160 = function (x) {
if (x === 473) {
return React.createElement(
'div',
@@ -4687,13 +4763,13 @@
}
};
- var AdsPEContentContainer161 = function(x) {
+ var AdsPEContentContainer161 = function (x) {
if (x === 474) {
return AdsPEManageAdsPaneContainer160(473);
}
};
- var FluxContainer_AdsPEWorkspaceContainer_162 = function(x) {
+ var FluxContainer_AdsPEWorkspaceContainer_162 = function (x) {
if (x === 477) {
return React.createElement(
'div',
@@ -4705,37 +4781,37 @@
}
};
- var FluxContainer_AdsSessionExpiredDialogContainer_163 = function(x) {
+ var FluxContainer_AdsSessionExpiredDialogContainer_163 = function (x) {
if (x === 478) {
return null;
}
};
- var FluxContainer_AdsPEUploadDialogLazyContainer_164 = function(x) {
+ var FluxContainer_AdsPEUploadDialogLazyContainer_164 = function (x) {
if (x === 479) {
return null;
}
};
- var FluxContainer_DialogContainer_165 = function(x) {
+ var FluxContainer_DialogContainer_165 = function (x) {
if (x === 480) {
return null;
}
};
- var AdsBugReportContainer166 = function(x) {
+ var AdsBugReportContainer166 = function (x) {
if (x === 481) {
return React.createElement('span', null);
}
};
- var AdsPEAudienceSplittingDialog167 = function(x) {
+ var AdsPEAudienceSplittingDialog167 = function (x) {
if (x === 482) {
return null;
}
};
- var AdsPEAudienceSplittingDialogContainer168 = function(x) {
+ var AdsPEAudienceSplittingDialogContainer168 = function (x) {
if (x === 483) {
return React.createElement(
'div',
@@ -4745,81 +4821,80 @@
}
};
- var FluxContainer_AdsRuleDialogBootloadContainer_169 = function(x) {
+ var FluxContainer_AdsRuleDialogBootloadContainer_169 = function (x) {
if (x === 484) {
return null;
}
};
- var FluxContainer_AdsPECFTrayContainer_170 = function(x) {
+ var FluxContainer_AdsPECFTrayContainer_170 = function (x) {
if (x === 485) {
return null;
}
};
- var FluxContainer_AdsPEDeleteDraftContainer_171 = function(x) {
+ var FluxContainer_AdsPEDeleteDraftContainer_171 = function (x) {
if (x === 486) {
return null;
}
};
- var FluxContainer_AdsPEInitialDraftPublishDialogContainer_172 = function(x) {
+ var FluxContainer_AdsPEInitialDraftPublishDialogContainer_172 = function (x) {
if (x === 487) {
return null;
}
};
- var FluxContainer_AdsPEReachFrequencyStatusTransitionDialogBootloadContainer_173 = function(
- x
- ) {
- if (x === 488) {
- return null;
- }
- };
+ var FluxContainer_AdsPEReachFrequencyStatusTransitionDialogBootloadContainer_173 =
+ function (x) {
+ if (x === 488) {
+ return null;
+ }
+ };
- var FluxContainer_AdsPEPurgeArchiveDialogContainer_174 = function(x) {
+ var FluxContainer_AdsPEPurgeArchiveDialogContainer_174 = function (x) {
if (x === 489) {
return null;
}
};
- var AdsPECreateDialogContainer175 = function(x) {
+ var AdsPECreateDialogContainer175 = function (x) {
if (x === 490) {
return React.createElement('span', null);
}
};
- var FluxContainer_AdsPEModalStatusContainer_176 = function(x) {
+ var FluxContainer_AdsPEModalStatusContainer_176 = function (x) {
if (x === 491) {
return null;
}
};
- var FluxContainer_AdsBrowserExtensionErrorDialogContainer_177 = function(x) {
+ var FluxContainer_AdsBrowserExtensionErrorDialogContainer_177 = function (x) {
if (x === 492) {
return null;
}
};
- var FluxContainer_AdsPESortByErrorTipContainer_178 = function(x) {
+ var FluxContainer_AdsPESortByErrorTipContainer_178 = function (x) {
if (x === 493) {
return null;
}
};
- var LeadDownloadDialogSelector179 = function(x) {
+ var LeadDownloadDialogSelector179 = function (x) {
if (x === 494) {
return null;
}
};
- var FluxContainer_AdsPELeadDownloadDialogContainerClass_180 = function(x) {
+ var FluxContainer_AdsPELeadDownloadDialogContainerClass_180 = function (x) {
if (x === 495) {
return LeadDownloadDialogSelector179(494);
}
};
- var AdsPEContainer181 = function(x) {
+ var AdsPEContainer181 = function (x) {
if (x === 496) {
return React.createElement(
'div',
@@ -4854,7 +4929,7 @@
}
};
- var Benchmark = function(x) {
+ var Benchmark = function (x) {
if (x === undefined) {
return AdsPEContainer181(496);
}
diff --git a/scripts/devtools/publish-release.js b/scripts/devtools/publish-release.js
index 5fcfe89cb7eff..3e44e74d9a170 100755
--- a/scripts/devtools/publish-release.js
+++ b/scripts/devtools/publish-release.js
@@ -91,7 +91,8 @@ async function publishToNPM() {
)} has already been published.`
);
- await confirm('Is this expected?');
+ await confirm(`Is this expected (will skip ${npmPackage}@${version})?`);
+ continue;
}
if (DRY_RUN) {
diff --git a/scripts/error-codes/Types.js b/scripts/error-codes/Types.js
index 958c9945485ba..b13d63067648d 100644
--- a/scripts/error-codes/Types.js
+++ b/scripts/error-codes/Types.js
@@ -8,5 +8,4 @@
*/
'use strict';
-/*:: export type ErrorMap = { [id: string]: string, ... }; */
-
+export type ErrorMap = {[id: string]: string, ...};
diff --git a/scripts/error-codes/__tests__/__snapshots__/transform-error-messages.js.snap b/scripts/error-codes/__tests__/__snapshots__/transform-error-messages.js.snap
index 924dcdfa91f86..878b92da0aee3 100644
--- a/scripts/error-codes/__tests__/__snapshots__/transform-error-messages.js.snap
+++ b/scripts/error-codes/__tests__/__snapshots__/transform-error-messages.js.snap
@@ -11,14 +11,14 @@ b, new Error('foo')));"
`;
exports[`error transform handles escaped backticks in template string 1`] = `
-"import _formatProdErrorMessage from \\"shared/formatProdErrorMessage\\";
+"import _formatProdErrorMessage from "shared/formatProdErrorMessage";
Error(_formatProdErrorMessage(231, listener, type));"
`;
exports[`error transform handles ignoring errors that are comment-excluded inside ternary expressions 1`] = `
"/*! FIXME (minify-errors-in-prod): Unminified error message in production build!*/
-/*! \\"bar\\"*/
+/*! "bar"*/
var val = someBool ? //eslint-disable-next-line react-internal/prod-error-codes
new Error('foo') : someOtherBool ? new Error('bar') : //eslint-disable-next-line react-internal/prod-error-codes
new Error('baz');"
@@ -37,7 +37,7 @@ NotAnError();"
exports[`error transform should output FIXME for errors that don't have a matching error code 1`] = `
"/*! FIXME (minify-errors-in-prod): Unminified error message in production build!*/
-/*! \\"This is not a real error message.\\"*/
+/*! "This is not a real error message."*/
Error('This is not a real error message.');"
`;
@@ -47,26 +47,26 @@ Error('This is not a real error message.');"
`;
exports[`error transform should replace error constructors (no new) 1`] = `
-"import _formatProdErrorMessage from \\"shared/formatProdErrorMessage\\";
+"import _formatProdErrorMessage from "shared/formatProdErrorMessage";
Error(_formatProdErrorMessage(16));"
`;
exports[`error transform should replace error constructors 1`] = `
-"import _formatProdErrorMessage from \\"shared/formatProdErrorMessage\\";
+"import _formatProdErrorMessage from "shared/formatProdErrorMessage";
Error(_formatProdErrorMessage(16));"
`;
exports[`error transform should support error constructors with concatenated messages 1`] = `
-"import _formatProdErrorMessage from \\"shared/formatProdErrorMessage\\";
+"import _formatProdErrorMessage from "shared/formatProdErrorMessage";
Error(_formatProdErrorMessage(7, foo, bar));"
`;
exports[`error transform should support interpolating arguments with concatenation 1`] = `
-"import _formatProdErrorMessage from \\"shared/formatProdErrorMessage\\";
+"import _formatProdErrorMessage from "shared/formatProdErrorMessage";
Error(_formatProdErrorMessage(7, foo, bar));"
`;
exports[`error transform should support interpolating arguments with template strings 1`] = `
-"import _formatProdErrorMessage from \\"shared/formatProdErrorMessage\\";
+"import _formatProdErrorMessage from "shared/formatProdErrorMessage";
Error(_formatProdErrorMessage(7, foo, bar));"
`;
diff --git a/scripts/error-codes/codes.json b/scripts/error-codes/codes.json
index 52fa873e633c2..cc822f2e0abbd 100644
--- a/scripts/error-codes/codes.json
+++ b/scripts/error-codes/codes.json
@@ -361,7 +361,7 @@
"372": "Cannot call unstable_createEventHandle with \"%s\", as it is not an event known to React.",
"373": "This Hook is not supported in Server Components.",
"374": "Event handlers cannot be passed to Client Component props.%s\nIf you need interactivity, consider converting part of this to a Client Component.",
- "375": "Functions cannot be passed directly to Client Components because they're not serializable.%s",
+ "375": "Functions cannot be passed directly to Client Components unless you explicitly expose it by marking it with \"use server\".%s",
"376": "Only global symbols received from Symbol.for(...) can be passed to Client Components. The symbol Symbol.for(%s) cannot be found among global symbols.%s",
"377": "BigInt (%s) is not yet supported in Client Component props.%s",
"378": "Type %s is not supported in Client Component props.%s",
@@ -429,7 +429,7 @@
"441": "An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.",
"442": "The current renderer does not support Resources. This error is likely caused by a bug in React. Please file an issue.",
"443": "acquireResource encountered a resource type it did not expect: \"%s\". this is a bug in React.",
- "444": "getResource encountered a resource type it did not expect: \"%s\". this is a bug in React.",
+ "444": "getResource encountered a type it did not expect: \"%s\". this is a bug in React.",
"445": "\"currentResources\" was expected to exist. This is a bug in React.",
"446": "\"resourceRoot\" was expected to exist. This is a bug in React.",
"447": "While attempting to insert a Resource, React expected the Document to contain a head element but it was not found.",
@@ -450,5 +450,6 @@
"462": "Unexpected SuspendedReason. This is a bug in React.",
"463": "ReactDOMServer.renderToNodeStream(): The Node Stream API is not available in Bun. Use ReactDOMServer.renderToReadableStream() instead.",
"464": "ReactDOMServer.renderToStaticNodeStream(): The Node Stream API is not available in Bun. Use ReactDOMServer.renderToReadableStream() instead.",
- "465": "enableFizzExternalRuntime without enableFloat is not supported. This should never appear in production, since it means you are using a misconfigured React bundle."
-}
+ "465": "enableFizzExternalRuntime without enableFloat is not supported. This should never appear in production, since it means you are using a misconfigured React bundle.",
+ "466": "Trying to call a function from \"use server\" but the callServer option was not implemented in your router runtime."
+}
\ No newline at end of file
diff --git a/scripts/error-codes/invertObject.js b/scripts/error-codes/invertObject.js
index f7a6428ef8d5d..833758025e435 100644
--- a/scripts/error-codes/invertObject.js
+++ b/scripts/error-codes/invertObject.js
@@ -3,20 +3,16 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
- *
- * @flow
*/
'use strict';
-/*:: import type { ErrorMap } from './Types' */
-
/**
* turns
* { 'MUCH ERROR': '0', 'SUCH WRONG': '1' }
* into
* { 0: 'MUCH ERROR', 1: 'SUCH WRONG' }
*/
-function invertObject(targetObj /*: ErrorMap */) /*: ErrorMap */ {
+function invertObject(targetObj) {
const result /*: {[string]: string} */ = {};
const mapKeys = Object.keys(targetObj);
diff --git a/scripts/error-codes/transform-error-messages.js b/scripts/error-codes/transform-error-messages.js
index e4c3d4a82c492..96eff7ed5fca2 100644
--- a/scripts/error-codes/transform-error-messages.js
+++ b/scripts/error-codes/transform-error-messages.js
@@ -17,7 +17,7 @@ const errorMap = invertObject(
const SEEN_SYMBOL = Symbol('transform-error-messages.seen');
-module.exports = function(babel) {
+module.exports = function (babel) {
const t = babel.types;
function ErrorCallExpression(path, file) {
diff --git a/scripts/eslint-rules/__tests__/no-to-warn-dev-within-to-throw-test.internal.js b/scripts/eslint-rules/__tests__/no-to-warn-dev-within-to-throw-test.internal.js
index 0df272b7739b9..b3c0d114cc7c7 100644
--- a/scripts/eslint-rules/__tests__/no-to-warn-dev-within-to-throw-test.internal.js
+++ b/scripts/eslint-rules/__tests__/no-to-warn-dev-within-to-throw-test.internal.js
@@ -20,8 +20,7 @@ ruleTester.run('eslint-rules/no-to-warn-dev-within-to-throw', rule, {
],
invalid: [
{
- code:
- 'expect(function() { expect(callback).toWarnDev("warning") }).toThrow("error");',
+ code: 'expect(function() { expect(callback).toWarnDev("warning") }).toThrow("error");',
errors: [
{
message: 'toWarnDev() matcher should not be nested',
diff --git a/scripts/eslint-rules/__tests__/safe-string-coercion-test.internal.js b/scripts/eslint-rules/__tests__/safe-string-coercion-test.internal.js
index 9aa865605fad5..61c102a122249 100644
--- a/scripts/eslint-rules/__tests__/safe-string-coercion-test.internal.js
+++ b/scripts/eslint-rules/__tests__/safe-string-coercion-test.internal.js
@@ -139,8 +139,7 @@ ruleTester.run('eslint-rules/safe-string-coercion', rule, {
],
},
{
- code:
- "if (typeof obj === 'string') { } else if (typeof obj === 'object') {'' + obj}",
+ code: "if (typeof obj === 'string') { } else if (typeof obj === 'object') {'' + obj}",
errors: [
{
message: missingDevCheckMessage + '\n' + message,
diff --git a/scripts/eslint-rules/no-production-logging.js b/scripts/eslint-rules/no-production-logging.js
index 81f9556381126..00d26926008d4 100644
--- a/scripts/eslint-rules/no-production-logging.js
+++ b/scripts/eslint-rules/no-production-logging.js
@@ -14,7 +14,7 @@ module.exports = {
fixable: 'code',
schema: [],
},
- create: function(context) {
+ create: function (context) {
function isInDEVBlock(node) {
let done = false;
while (!done) {
@@ -43,7 +43,7 @@ module.exports = {
data: {
identifier: node.property.name,
},
- fix: function(fixer) {
+ fix: function (fixer) {
return [
fixer.insertTextBefore(node.parent, `if (__DEV__) {`),
fixer.insertTextAfter(node.parent, '}'),
@@ -60,7 +60,7 @@ module.exports = {
}
return {
- MemberExpression: function(node) {
+ MemberExpression: function (node) {
if (
node.object.type === 'Identifier' &&
node.object.name === 'console' &&
diff --git a/scripts/eslint-rules/warning-args.js b/scripts/eslint-rules/warning-args.js
index 68b38bd27ce0b..701d4db267915 100644
--- a/scripts/eslint-rules/warning-args.js
+++ b/scripts/eslint-rules/warning-args.js
@@ -44,7 +44,7 @@ module.exports = {
}
return {
- CallExpression: function(node) {
+ CallExpression: function (node) {
// This could be a little smarter by checking context.getScope() to see
// how warning/invariant was defined.
const isWarning =
diff --git a/scripts/flow/config/flowconfig b/scripts/flow/config/flowconfig
index e26b6a35d3154..7adcc3aa5822a 100644
--- a/scripts/flow/config/flowconfig
+++ b/scripts/flow/config/flowconfig
@@ -15,6 +15,7 @@
.*/node_modules/create-react-class/.*
.*/node_modules/react-native-web/.*
.*/node_modules/fbjs/lib/keyMirrorRecursive.js.flow
+.*/node_modules/resolve/test/.*
.*/__mocks__/.*
.*/__tests__/.*
@@ -43,9 +44,10 @@ untyped-type-import=error
%CI_MAX_WORKERS%
exact_by_default=true
munge_underscores=false
+inference_mode=experimental.lti
# Substituted by createFlowConfig.js:
%REACT_RENDERER_FLOW_OPTIONS%
[version]
-^0.196.3
+^0.199.1
diff --git a/scripts/flow/environment.js b/scripts/flow/environment.js
index fb61783e3d6d8..ee0caa0e66608 100644
--- a/scripts/flow/environment.js
+++ b/scripts/flow/environment.js
@@ -120,9 +120,7 @@ declare module 'fs/promises' {
) => Promise;
}
declare module 'pg' {
- declare var Pool: (
- options: mixed,
- ) => {
+ declare var Pool: (options: mixed) => {
query: (query: string, values?: Array) => void,
};
}
diff --git a/scripts/flow/react-native-host-hooks.js b/scripts/flow/react-native-host-hooks.js
index e3c98114935fc..5fcee3b57da7c 100644
--- a/scripts/flow/react-native-host-hooks.js
+++ b/scripts/flow/react-native-host-hooks.js
@@ -201,6 +201,14 @@ declare var nativeFabricUIManager: {
onFail: () => void,
onSuccess: __MeasureLayoutOnSuccessCallback,
) => void,
+ getBoundingClientRect: (
+ node: Node,
+ ) => [
+ /* x:*/ number,
+ /* y:*/ number,
+ /* width:*/ number,
+ /* height:*/ number,
+ ],
findNodeAtPoint: (
node: Node,
locationX: number,
diff --git a/scripts/flow/react-relay-hooks.js b/scripts/flow/react-relay-hooks.js
index 36673f1e89026..62d2d13909cd6 100644
--- a/scripts/flow/react-relay-hooks.js
+++ b/scripts/flow/react-relay-hooks.js
@@ -46,19 +46,19 @@ declare module 'ReactFlightDOMRelayServerIntegration' {
): void;
declare export function close(destination: Destination): void;
- declare export type ModuleMetaData = JSONValue;
- declare export function resolveModuleMetaData(
+ declare export type ClientReferenceMetadata = JSONValue;
+ declare export function resolveClientReferenceMetadata(
config: BundlerConfig,
resourceReference: JSResourceReference,
- ): ModuleMetaData;
+ ): ClientReferenceMetadata;
}
declare module 'ReactFlightDOMRelayClientIntegration' {
import type {JSResourceReference} from 'JSResourceReference';
- declare export opaque type ModuleMetaData;
- declare export function resolveModuleReference(
- moduleData: ModuleMetaData,
+ declare export opaque type ClientReferenceMetadata;
+ declare export function resolveClientReference(
+ moduleData: ClientReferenceMetadata,
): JSResourceReference;
declare export function preloadModule(
moduleReference: JSResourceReference,
@@ -79,19 +79,19 @@ declare module 'ReactFlightNativeRelayServerIntegration' {
): void;
declare export function close(destination: Destination): void;
- declare export type ModuleMetaData = JSONValue;
- declare export function resolveModuleMetaData(
+ declare export type ClientReferenceMetadata = JSONValue;
+ declare export function resolveClientReferenceMetadata(
config: BundlerConfig,
resourceReference: JSResourceReference,
- ): ModuleMetaData;
+ ): ClientReferenceMetadata;
}
declare module 'ReactFlightNativeRelayClientIntegration' {
import type {JSResourceReference} from 'JSResourceReference';
- declare export opaque type ModuleMetaData;
- declare export function resolveModuleReference(
- moduleData: ModuleMetaData,
+ declare export opaque type ClientReferenceMetadata;
+ declare export function resolveClientReference(
+ moduleData: ClientReferenceMetadata,
): JSResourceReference;
declare export function preloadModule(
moduleReference: JSResourceReference,
diff --git a/scripts/flow/runFlow.js b/scripts/flow/runFlow.js
index 450c60030c02f..1c0262379b0c7 100644
--- a/scripts/flow/runFlow.js
+++ b/scripts/flow/runFlow.js
@@ -67,7 +67,7 @@ async function runFlow(renderer, args) {
spawn(cmd, args, {
// Allow colors to pass through:
stdio: 'inherit',
- }).on('close', function(code) {
+ }).on('close', function (code) {
if (code !== 0) {
console.error(
'Flow failed for the ' + chalk.red(renderer) + ' renderer',
diff --git a/scripts/jest/ReactDOMServerIntegrationEnvironment.js b/scripts/jest/ReactDOMServerIntegrationEnvironment.js
new file mode 100644
index 0000000000000..388b217a1f479
--- /dev/null
+++ b/scripts/jest/ReactDOMServerIntegrationEnvironment.js
@@ -0,0 +1,32 @@
+'use strict';
+
+const {TestEnvironment: JSDOMEnvironment} = require('jest-environment-jsdom');
+const {TestEnvironment: NodeEnvironment} = require('jest-environment-node');
+
+/**
+ * Test environment for testing integration of react-dom (browser) with react-dom/server (node)
+ */
+class ReactDOMServerIntegrationEnvironment extends NodeEnvironment {
+ constructor(config, context) {
+ super(config, context);
+
+ this.domEnvironment = new JSDOMEnvironment(config, context);
+
+ this.global.window = this.domEnvironment.dom.window;
+ this.global.document = this.global.window.document;
+ this.global.navigator = this.global.window.navigator;
+ this.global.Node = this.global.window.Node;
+ }
+
+ async setup() {
+ await super.setup();
+ await this.domEnvironment.setup();
+ }
+
+ async teardown() {
+ await this.domEnvironment.teardown();
+ await super.teardown();
+ }
+}
+
+module.exports = ReactDOMServerIntegrationEnvironment;
diff --git a/scripts/jest/config.base.js b/scripts/jest/config.base.js
index 2920216da5959..871995b0677fe 100644
--- a/scripts/jest/config.base.js
+++ b/scripts/jest/config.base.js
@@ -20,10 +20,15 @@ module.exports = {
rootDir: process.cwd(),
roots: ['/packages', '/scripts'],
collectCoverageFrom: ['packages/**/*.js'],
- timers: 'fake',
+ fakeTimers: {
+ enableGlobally: true,
+ legacyFakeTimers: true,
+ },
snapshotSerializers: [require.resolve('jest-snapshot-serializer-raw')],
testSequencer: require.resolve('./jestSequencer'),
testEnvironment: 'jsdom',
+
+ testRunner: 'jest-circus/runner',
};
diff --git a/scripts/jest/devtools/setupEnv.js b/scripts/jest/devtools/setupEnv.js
index 7ef6003e51822..b53ad4e893601 100644
--- a/scripts/jest/devtools/setupEnv.js
+++ b/scripts/jest/devtools/setupEnv.js
@@ -21,11 +21,14 @@ if (!global.hasOwnProperty('localStorage')) {
global.__DEV__ = process.env.NODE_ENV !== 'production';
global.__TEST__ = true;
-global.process.env.DARK_MODE_DIMMED_WARNING_COLOR = DARK_MODE_DIMMED_WARNING_COLOR;
+global.process.env.DARK_MODE_DIMMED_WARNING_COLOR =
+ DARK_MODE_DIMMED_WARNING_COLOR;
global.process.env.DARK_MODE_DIMMED_ERROR_COLOR = DARK_MODE_DIMMED_ERROR_COLOR;
global.process.env.DARK_MODE_DIMMED_LOG_COLOR = DARK_MODE_DIMMED_LOG_COLOR;
-global.process.env.LIGHT_MODE_DIMMED_WARNING_COLOR = LIGHT_MODE_DIMMED_WARNING_COLOR;
-global.process.env.LIGHT_MODE_DIMMED_ERROR_COLOR = LIGHT_MODE_DIMMED_ERROR_COLOR;
+global.process.env.LIGHT_MODE_DIMMED_WARNING_COLOR =
+ LIGHT_MODE_DIMMED_WARNING_COLOR;
+global.process.env.LIGHT_MODE_DIMMED_ERROR_COLOR =
+ LIGHT_MODE_DIMMED_ERROR_COLOR;
global.process.env.LIGHT_MODE_DIMMED_LOG_COLOR = LIGHT_MODE_DIMMED_LOG_COLOR;
global._test_react_version = (range, testName, callback) => {
diff --git a/scripts/jest/matchers/toWarnDev.js b/scripts/jest/matchers/toWarnDev.js
index 781c0f0d4d132..88ae8661e9964 100644
--- a/scripts/jest/matchers/toWarnDev.js
+++ b/scripts/jest/matchers/toWarnDev.js
@@ -1,6 +1,6 @@
'use strict';
-const jestDiff = require('jest-diff').default;
+const {diff: jestDiff} = require('jest-diff');
const util = require('util');
const shouldIgnoreConsoleError = require('../shouldIgnoreConsoleError');
@@ -15,7 +15,7 @@ function normalizeCodeLocInfo(str) {
// at Component (/path/filename.js:123:45)
// React format:
// in Component (at filename.js:123)
- return str.replace(/\n +(?:at|in) ([\S]+)[^\n]*/g, function(m, name) {
+ return str.replace(/\n +(?:at|in) ([\S]+)[^\n]*/g, function (m, name) {
return '\n in ' + name + ' (at **)';
});
}
diff --git a/scripts/jest/preprocessor.js b/scripts/jest/preprocessor.js
index 4f6a49baa5a58..6826930c7025f 100644
--- a/scripts/jest/preprocessor.js
+++ b/scripts/jest/preprocessor.js
@@ -57,19 +57,19 @@ const babelOptions = {
};
module.exports = {
- process: function(src, filePath) {
+ process: function (src, filePath) {
if (filePath.match(/\.css$/)) {
// Don't try to parse CSS modules; they aren't needed for tests anyway.
- return '';
+ return {code: ''};
}
if (filePath.match(/\.coffee$/)) {
- return coffee.compile(src, {bare: true});
+ return {code: coffee.compile(src, {bare: true})};
}
if (filePath.match(/\.ts$/) && !filePath.match(/\.d\.ts$/)) {
- return tsPreprocessor.compile(src, filePath);
+ return {code: tsPreprocessor.compile(src, filePath)};
}
if (filePath.match(/\.json$/)) {
- return src;
+ return {code: src};
}
if (!filePath.match(/\/third_party\//)) {
// for test files, we also apply the async-await transform, but we want to
@@ -95,22 +95,24 @@ module.exports = {
plugins.push(pathToTransformReactVersionPragma);
}
let sourceAst = hermesParser.parse(src, {babel: true});
- return babel.transformFromAstSync(
- sourceAst,
- src,
- Object.assign(
- {filename: path.relative(process.cwd(), filePath)},
- babelOptions,
- {
- plugins,
- sourceMaps: process.env.JEST_ENABLE_SOURCE_MAPS
- ? process.env.JEST_ENABLE_SOURCE_MAPS
- : false,
- }
- )
- );
+ return {
+ code: babel.transformFromAstSync(
+ sourceAst,
+ src,
+ Object.assign(
+ {filename: path.relative(process.cwd(), filePath)},
+ babelOptions,
+ {
+ plugins,
+ sourceMaps: process.env.JEST_ENABLE_SOURCE_MAPS
+ ? process.env.JEST_ENABLE_SOURCE_MAPS
+ : false,
+ }
+ )
+ ).code,
+ };
}
- return src;
+ return {code: src};
},
getCacheKey: createCacheKeyFunction(
diff --git a/scripts/jest/setupEnvironment.js b/scripts/jest/setupEnvironment.js
index 2ba88b156169d..2aca130cba190 100644
--- a/scripts/jest/setupEnvironment.js
+++ b/scripts/jest/setupEnvironment.js
@@ -22,7 +22,7 @@ global.__EXPERIMENTAL__ =
global.__VARIANT__ = !!process.env.VARIANT;
if (typeof window !== 'undefined') {
- global.requestIdleCallback = function(callback) {
+ global.requestIdleCallback = function (callback) {
return setTimeout(() => {
callback({
timeRemaining() {
@@ -32,7 +32,10 @@ if (typeof window !== 'undefined') {
});
};
- global.cancelIdleCallback = function(callbackID) {
+ global.cancelIdleCallback = function (callbackID) {
clearTimeout(callbackID);
};
+} else {
+ global.AbortController =
+ require('abortcontroller-polyfill/dist/cjs-ponyfill').AbortController;
}
diff --git a/scripts/jest/setupHostConfigs.js b/scripts/jest/setupHostConfigs.js
index cd763c57ff6f2..14c62ca4b4d92 100644
--- a/scripts/jest/setupHostConfigs.js
+++ b/scripts/jest/setupHostConfigs.js
@@ -82,9 +82,10 @@ jest.mock('react-server/flight', () => {
jest.mock(shimServerStreamConfigPath, () => config);
jest.mock(shimServerFormatConfigPath, () => config);
jest.mock('react-server/src/ReactFlightServerBundlerConfigCustom', () => ({
- isModuleReference: config.isModuleReference,
- getModuleKey: config.getModuleKey,
- resolveModuleMetaData: config.resolveModuleMetaData,
+ isClientReference: config.isClientReference,
+ isServerReference: config.isServerReference,
+ getClientReferenceKey: config.getClientReferenceKey,
+ resolveClientReferenceMetadata: config.resolveClientReferenceMetadata,
}));
jest.mock(shimFlightServerConfigPath, () =>
jest.requireActual(
diff --git a/scripts/jest/setupTests.js b/scripts/jest/setupTests.js
index 63dbcf27ebcfe..159e8565a6c41 100644
--- a/scripts/jest/setupTests.js
+++ b/scripts/jest/setupTests.js
@@ -10,23 +10,18 @@ if (process.env.REACT_CLASS_EQUIVALENCE_TEST) {
// require that instead.
require('./spec-equivalence-reporter/setupTests.js');
} else {
- const env = jasmine.getEnv();
const errorMap = require('../error-codes/codes.json');
- // TODO: Stop using spyOn in all the test since that seem deprecated.
- // This is a legacy upgrade path strategy from:
- // https://github.com/facebook/jest/blob/v20.0.4/packages/jest-matchers/src/spyMatchers.js#L160
- const isSpy = spy => spy.calls && typeof spy.calls.count === 'function';
-
- const spyOn = global.spyOn;
- const noop = function() {};
+ // By default, jest.spyOn also calls the spied method.
+ const spyOn = jest.spyOn;
+ const noop = jest.fn;
// Spying on console methods in production builds can mask errors.
// This is why we added an explicit spyOnDev() helper.
// It's too easy to accidentally use the more familiar spyOn() helper though,
// So we disable it entirely.
// Spying on both dev and prod will require using both spyOnDev() and spyOnProd().
- global.spyOn = function() {
+ global.spyOn = function () {
throw new Error(
'Do not use spyOn(). ' +
'It can accidentally hide unexpected errors in production builds. ' +
@@ -55,10 +50,10 @@ if (process.env.REACT_CLASS_EQUIVALENCE_TEST) {
// global variable. The global lets us detect an infinite loop even if
// the actual error object ends up being caught and ignored. An infinite
// loop must always fail the test!
- env.beforeEach(() => {
+ beforeEach(() => {
global.infiniteLoopError = null;
});
- env.afterEach(() => {
+ afterEach(() => {
const error = global.infiniteLoopError;
global.infiniteLoopError = null;
if (error) {
@@ -69,7 +64,7 @@ if (process.env.REACT_CLASS_EQUIVALENCE_TEST) {
// TODO: Consider consolidating this with `yieldValue`. In both cases, tests
// should not be allowed to exit without asserting on the entire log.
const patchConsoleMethod = (methodName, unexpectedConsoleCallStacks) => {
- const newMethod = function(format, ...args) {
+ const newMethod = function (format, ...args) {
// Ignore uncaught errors reported by jsdom
// and React addendums because they're too noisy.
if (methodName === 'error' && shouldIgnoreConsoleError(format, args)) {
@@ -97,7 +92,10 @@ if (process.env.REACT_CLASS_EQUIVALENCE_TEST) {
expectedMatcher,
unexpectedConsoleCallStacks
) => {
- if (console[methodName] !== mockMethod && !isSpy(console[methodName])) {
+ if (
+ console[methodName] !== mockMethod &&
+ !jest.isMockFunction(console[methodName])
+ ) {
throw new Error(
`Test did not tear down console.${methodName} mock properly.`
);
@@ -157,8 +155,8 @@ if (process.env.REACT_CLASS_EQUIVALENCE_TEST) {
unexpectedWarnCallStacks.length = 0;
};
- env.beforeEach(resetAllUnexpectedConsoleCalls);
- env.afterEach(flushAllUnexpectedConsoleCalls);
+ beforeEach(resetAllUnexpectedConsoleCalls);
+ afterEach(flushAllUnexpectedConsoleCalls);
if (process.env.NODE_ENV === 'production') {
// In production, we strip error messages and turn them into codes.
@@ -167,7 +165,7 @@ if (process.env.REACT_CLASS_EQUIVALENCE_TEST) {
// also proxies error instances with `proxyErrorInstance`.
// 2. `proxyErrorInstance` decodes error messages when the `message`
// property is changed.
- const decodeErrorMessage = function(message) {
+ const decodeErrorMessage = function (message) {
if (!message) {
return message;
}
@@ -190,7 +188,7 @@ if (process.env.REACT_CLASS_EQUIVALENCE_TEST) {
// V8's Error.captureStackTrace (used in Jest) fails if the error object is
// a Proxy, so we need to pass it the unproxied instance.
const originalErrorInstances = new WeakMap();
- const captureStackTrace = function(error, ...args) {
+ const captureStackTrace = function (error, ...args) {
return OriginalError.captureStackTrace.call(
this,
originalErrorInstances.get(error) ||
@@ -309,6 +307,4 @@ if (process.env.REACT_CLASS_EQUIVALENCE_TEST) {
const flags = getTestFlags();
return fn(flags);
};
-
- require('jasmine-check').install();
}
diff --git a/scripts/jest/shouldIgnoreConsoleError.js b/scripts/jest/shouldIgnoreConsoleError.js
index 02af0bfd28521..42aae220debed 100644
--- a/scripts/jest/shouldIgnoreConsoleError.js
+++ b/scripts/jest/shouldIgnoreConsoleError.js
@@ -23,6 +23,17 @@ module.exports = function shouldIgnoreConsoleError(format, args) {
// We haven't finished migrating our tests to use createRoot.
return true;
}
+ } else if (
+ format != null &&
+ typeof format.message === 'string' &&
+ typeof format.stack === 'string' &&
+ args.length === 0
+ ) {
+ if (format.stack.indexOf('Error: Uncaught [') === 0) {
+ // This looks like an uncaught error from invokeGuardedCallback() wrapper
+ // in development that is reported by jest-environment-jsdom. Ignore because it's noisy.
+ return true;
+ }
}
} else {
if (
diff --git a/scripts/jest/spec-equivalence-reporter/equivalenceReporter.js b/scripts/jest/spec-equivalence-reporter/equivalenceReporter.js
new file mode 100644
index 0000000000000..63da3737d2b0e
--- /dev/null
+++ b/scripts/jest/spec-equivalence-reporter/equivalenceReporter.js
@@ -0,0 +1,20 @@
+/*!
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
+
+'use strict';
+
+class EquivalenceReporter {
+ onTestCaseResult(test, testCaseResult) {
+ console.log(
+ `EQUIVALENCE: ${testCaseResult.title}, ` +
+ `status: ${testCaseResult.status}, ` +
+ `numExpectations: ${testCaseResult.numPassingAsserts}`
+ );
+ }
+}
+
+module.exports = EquivalenceReporter;
diff --git a/scripts/jest/spec-equivalence-reporter/setupTests.js b/scripts/jest/spec-equivalence-reporter/setupTests.js
index d39414d2a67ea..487e0d3003078 100644
--- a/scripts/jest/spec-equivalence-reporter/setupTests.js
+++ b/scripts/jest/spec-equivalence-reporter/setupTests.js
@@ -7,23 +7,14 @@
'use strict';
-const expect = global.expect;
-
-let numExpectations = 0;
-
-global.expect = function() {
- numExpectations += 1;
- return expect.apply(this, arguments);
-};
-
-const spyOn = global.spyOn;
+const spyOn = jest.spyOn;
// Spying on console methods in production builds can mask errors.
// This is why we added an explicit spyOnDev() helper.
// It's too easy to accidentally use the more familiar spyOn() helper though,
// So we disable it entirely.
// Spying on both dev and prod will require using both spyOnDev() and spyOnProd().
-global.spyOn = function() {
+global.spyOn = function () {
throw new Error(
'Do not use spyOn(). ' +
'It can accidentally hide unexpected errors in production builds. ' +
@@ -31,7 +22,7 @@ global.spyOn = function() {
);
};
-global.spyOnDev = function(...args) {
+global.spyOnDev = function (...args) {
if (__DEV__) {
return spyOn(...args);
}
@@ -39,7 +30,7 @@ global.spyOnDev = function(...args) {
global.spyOnDevAndProd = spyOn;
-global.spyOnProd = function(...args) {
+global.spyOnProd = function (...args) {
if (!__DEV__) {
return spyOn(...args);
}
@@ -50,15 +41,3 @@ expect.extend({
...require('../matchers/toThrow'),
...require('../matchers/toWarnDev'),
});
-
-beforeEach(() => (numExpectations = 0));
-
-jasmine.currentEnv_.addReporter({
- specDone: spec => {
- console.log(
- `EQUIVALENCE: ${spec.description}, ` +
- `status: ${spec.status}, ` +
- `numExpectations: ${numExpectations}`
- );
- },
-});
diff --git a/scripts/jest/typescript/jest.d.ts b/scripts/jest/typescript/jest.d.ts
index ca68247fb9fb5..43aa392287e7c 100644
--- a/scripts/jest/typescript/jest.d.ts
+++ b/scripts/jest/typescript/jest.d.ts
@@ -1,4 +1,3 @@
-declare var jasmine: any;
declare var __DEV__: boolean;
declare var __TEST__: boolean;
declare var __EXTENSION__: boolean;
@@ -71,9 +70,5 @@ interface MockFunction {
mockReturnValueOnce(value: any): MockFunction
}
-// Allow importing jasmine-check
-declare module 'jasmine-check' {
- export function install(global?: any): void;
-}
declare var check: any;
declare var gen: any;
diff --git a/scripts/jest/typescript/preprocessor.js b/scripts/jest/typescript/preprocessor.js
index a4100be8aec43..0f33977a9de54 100644
--- a/scripts/jest/typescript/preprocessor.js
+++ b/scripts/jest/typescript/preprocessor.js
@@ -42,7 +42,8 @@ function compile(content, contentFilename) {
let source;
const libRegex = /lib\.(.+\.)?d\.ts$/;
const jestRegex = /jest\.d\.ts/;
- const reactRegex = /(?:React|ReactDOM|ReactDOMClient|ReactInternalAct|PropTypes)(?:\.d)?\.ts$/;
+ const reactRegex =
+ /(?:React|ReactDOM|ReactDOMClient|ReactInternalAct|PropTypes)(?:\.d)?\.ts$/;
// `path.normalize` is used to turn forward slashes in
// the file path into backslashes on Windows.
diff --git a/scripts/prettier/index.js b/scripts/prettier/index.js
index 73083fc6cc82a..d30ba73315ee9 100644
--- a/scripts/prettier/index.js
+++ b/scripts/prettier/index.js
@@ -37,7 +37,7 @@ const files = glob
.filter(f => !onlyChanged || changedFiles.has(f));
if (!files.length) {
- return;
+ process.exit(0);
}
files.forEach(file => {
diff --git a/scripts/print-warnings/print-warnings.js b/scripts/print-warnings/print-warnings.js
index 9f1e336807334..07ec360a5ed20 100644
--- a/scripts/print-warnings/print-warnings.js
+++ b/scripts/print-warnings/print-warnings.js
@@ -32,7 +32,7 @@ const parserOptions = {
const warnings = new Set();
function transform(file, enc, cb) {
- fs.readFile(file.path, 'utf8', function(err, source) {
+ fs.readFile(file.path, 'utf8', function (err, source) {
if (err) {
cb(err);
return;
@@ -48,7 +48,7 @@ function transform(file, enc, cb) {
traverse(ast, {
CallExpression: {
- exit: function(astPath) {
+ exit: function (astPath) {
const callee = astPath.get('callee');
if (
callee.matchesPattern('console.warn') ||
@@ -91,11 +91,7 @@ gs([
'!**/node_modules/**/*.js',
]).pipe(
through.obj(transform, cb => {
- process.stdout.write(
- Array.from(warnings)
- .sort()
- .join('\n') + '\n'
- );
+ process.stdout.write(Array.from(warnings).sort().join('\n') + '\n');
cb();
})
);
diff --git a/scripts/release/build-release-locally.js b/scripts/release/build-release-locally.js
index 25cf63c4a3a3c..7b0a9e6e6f1ef 100755
--- a/scripts/release/build-release-locally.js
+++ b/scripts/release/build-release-locally.js
@@ -24,13 +24,8 @@ const updateVersionNumbers = require('./build-release-locally-commands/update-ve
const run = async () => {
try {
const cwd = join(__dirname, '..', '..');
- const {
- branch,
- checksum,
- commit,
- reactVersion,
- version,
- } = await getBuildInfo();
+ const {branch, checksum, commit, reactVersion, version} =
+ await getBuildInfo();
const tempDirectory = join(tmpdir(), `react-${commit}`);
const params = {
branch,
diff --git a/scripts/release/build-release.js b/scripts/release/build-release.js
index 25cf63c4a3a3c..7b0a9e6e6f1ef 100644
--- a/scripts/release/build-release.js
+++ b/scripts/release/build-release.js
@@ -24,13 +24,8 @@ const updateVersionNumbers = require('./build-release-locally-commands/update-ve
const run = async () => {
try {
const cwd = join(__dirname, '..', '..');
- const {
- branch,
- checksum,
- commit,
- reactVersion,
- version,
- } = await getBuildInfo();
+ const {branch, checksum, commit, reactVersion, version} =
+ await getBuildInfo();
const tempDirectory = join(tmpdir(), `react-${commit}`);
const params = {
branch,
diff --git a/scripts/release/prepare-release-from-npm-commands/update-stable-version-numbers.js b/scripts/release/prepare-release-from-npm-commands/update-stable-version-numbers.js
index 47a0907bafad5..29affd52a8299 100644
--- a/scripts/release/prepare-release-from-npm-commands/update-stable-version-numbers.js
+++ b/scripts/release/prepare-release-from-npm-commands/update-stable-version-numbers.js
@@ -38,8 +38,8 @@ const run = async ({cwd, packages, version}, versionsMap) => {
// We compare source packages to determine what the new scheduler dependency constraint should be.
// To do this, we look at both the local version of the scheduler (e.g. 0.11.0),
// and the dependency constraint in the local version of react-dom (e.g. scheduler@^0.11.0).
- const sourceDependencyVersion = sourcePackageJSONs.get(dependencyName)
- .version;
+ const sourceDependencyVersion =
+ sourcePackageJSONs.get(dependencyName).version;
const sourceDependencyConstraint = sourceDependencies[dependencyName];
// If the source dependency's version and the constraint match,
@@ -52,12 +52,11 @@ const run = async ({cwd, packages, version}, versionsMap) => {
sourceDependencyVersion ===
sourceDependencyConstraint.replace(/^[\^\~]/, '')
) {
- targetDependencies[
- dependencyName
- ] = sourceDependencyConstraint.replace(
- sourceDependencyVersion,
- versionsMap.get(dependencyName)
- );
+ targetDependencies[dependencyName] =
+ sourceDependencyConstraint.replace(
+ sourceDependencyVersion,
+ versionsMap.get(dependencyName)
+ );
} else {
targetDependencies[dependencyName] = sourceDependencyConstraint;
}
diff --git a/scripts/release/publish-using-ci-workflow.js b/scripts/release/publish-using-ci-workflow.js
index d7f87b48b094b..5d2cc68dba31d 100644
--- a/scripts/release/publish-using-ci-workflow.js
+++ b/scripts/release/publish-using-ci-workflow.js
@@ -99,6 +99,15 @@ async function main() {
}
);
+ if (!pipelineResponse.ok) {
+ console.error(
+ theme.error(
+ `Failed to access CircleCI. Responded with status: ${pipelineResponse.status}`
+ )
+ );
+ process.exit(1);
+ }
+
const pipelineJSON = await pipelineResponse.json();
const pipelineID = pipelineJSON.id;
diff --git a/scripts/release/publish.js b/scripts/release/publish.js
index 79990cdbdc441..dcd31f1de7796 100755
--- a/scripts/release/publish.js
+++ b/scripts/release/publish.js
@@ -23,8 +23,9 @@ const run = async () => {
try {
const params = parseParams();
- const version = readJsonSync('./build/node_modules/react/package.json')
- .version;
+ const version = readJsonSync(
+ './build/node_modules/react/package.json'
+ ).version;
const isExperimental = version.includes('experimental');
params.cwd = join(__dirname, '..', '..');
diff --git a/scripts/release/shared-commands/test-packaging-fixture.js b/scripts/release/shared-commands/test-packaging-fixture.js
index 1e002bfb80ee5..2186b14985cdd 100644
--- a/scripts/release/shared-commands/test-packaging-fixture.js
+++ b/scripts/release/shared-commands/test-packaging-fixture.js
@@ -26,9 +26,8 @@ const validate = async () => {
for (let i = 0; i < iframes.length; i++) {
const iframe = iframes[i];
// Don't include the