Version Description
- 2022-01-14 =
FIX: Remove security vulnerability FIX: Ensure duplicating enclosed fields created unique field IDs TWEAK: Stabilize communication between WordPress & React/JavaScript
Download this release
Release Info
Developer | buzztone |
Plugin | Contact Form 7 Skins |
Version | 2.5.1 |
Comparing to | |
See all releases |
Code changes from version 2.5 to 2.5.1
- css/cf7skins.min.css +2 -2
- css/visual.min.css +532 -142
- includes/admin-notice.php +3 -3
- includes/admin-visual.php +19 -15
- includes/admin.php +7 -7
- includes/cf7-connect.php +2 -2
- includes/export.php +2 -2
- includes/label.php +1 -1
- includes/sanitize.php +131 -0
- includes/settings.php +67 -35
- includes/skin.php +1 -1
- includes/style.php +41 -37
- includes/tab.php +12 -12
- includes/template.php +42 -44
- index.php +9 -4
- js/cf7skins.min.js +1 -1
- js/visual.min.js +1 -1
css/cf7skins.min.css
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
button[data-balloon]{overflow:visible}[data-balloon]{position:relative;cursor:pointer}[data-balloon]:after{filter:alpha(opacity=0);-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-moz-opacity:0;-khtml-opacity:0;opacity:0;pointer-events:none;transition:all 0.18s ease-out 0.18s;font-family:sans-serif !important;font-weight:normal !important;font-style:normal !important;text-shadow:none !important;font-size:12px !important;background:rgba(17,17,17,0.9);border-radius:4px;color:#fff;content:attr(data-balloon);padding:.5em 1em;position:absolute;white-space:nowrap;z-index:10}[data-balloon]:before{background:no-repeat url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2236px%22%20height%3D%2212px%22%3E%3Cpath%20fill%3D%22rgba(17,17,17,0.9)%22%20transform%3D%22rotate(0)%22%20d%3D%22M2.658,0.000%20C-13.615,0.000%2050.938,0.000%2034.662,0.000%20C28.662,0.000%2023.035,12.002%2018.660,12.002%20C14.285,12.002%208.594,0.000%202.658,0.000%20Z%22/%3E%3C/svg%3E");background-size:100% auto;width:18px;height:6px;filter:alpha(opacity=0);-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-moz-opacity:0;-khtml-opacity:0;opacity:0;pointer-events:none;transition:all 0.18s ease-out 0.18s;content:'';position:absolute;z-index:10}[data-balloon]:hover:before,[data-balloon]:hover:after,[data-balloon][data-balloon-visible]:before,[data-balloon][data-balloon-visible]:after{filter:alpha(opacity=100);-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";-moz-opacity:1;-khtml-opacity:1;opacity:1;pointer-events:auto}[data-balloon]:not([data-balloon-pos]):after{bottom:100%;left:50%;margin-bottom:11px;transform:translate(-50%, 10px);transform-origin:top}[data-balloon]:not([data-balloon-pos]):before{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%, 10px);transform-origin:top}[data-balloon]:not([data-balloon-pos]):hover:after,[data-balloon]:not([data-balloon-pos])[data-balloon-visible]:after{transform:translate(-50%, 0)}[data-balloon]:not([data-balloon-pos]):hover:before,[data-balloon]:not([data-balloon-pos])[data-balloon-visible]:before{transform:translate(-50%, 0)}[data-balloon].font-
|
2 |
-
|
1 |
+
button[data-balloon]{overflow:visible}[data-balloon]{position:relative;cursor:pointer}[data-balloon]:after{filter:alpha(opacity=0);-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-moz-opacity:0;-khtml-opacity:0;opacity:0;pointer-events:none;transition:all 0.18s ease-out 0.18s;font-family:sans-serif !important;font-weight:normal !important;font-style:normal !important;text-shadow:none !important;font-size:12px !important;background:rgba(17,17,17,0.9);border-radius:4px;color:#fff;content:attr(data-balloon);padding:.5em 1em;position:absolute;white-space:nowrap;z-index:10}[data-balloon]:before{background:no-repeat url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2236px%22%20height%3D%2212px%22%3E%3Cpath%20fill%3D%22rgba(17,17,17,0.9)%22%20transform%3D%22rotate(0)%22%20d%3D%22M2.658,0.000%20C-13.615,0.000%2050.938,0.000%2034.662,0.000%20C28.662,0.000%2023.035,12.002%2018.660,12.002%20C14.285,12.002%208.594,0.000%202.658,0.000%20Z%22/%3E%3C/svg%3E");background-size:100% auto;width:18px;height:6px;filter:alpha(opacity=0);-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-moz-opacity:0;-khtml-opacity:0;opacity:0;pointer-events:none;transition:all 0.18s ease-out 0.18s;content:'';position:absolute;z-index:10}[data-balloon]:hover:before,[data-balloon]:hover:after,[data-balloon][data-balloon-visible]:before,[data-balloon][data-balloon-visible]:after{filter:alpha(opacity=100);-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";-moz-opacity:1;-khtml-opacity:1;opacity:1;pointer-events:auto}[data-balloon]:not([data-balloon-pos]):after{bottom:100%;left:50%;margin-bottom:11px;transform:translate(-50%, 10px);transform-origin:top}[data-balloon]:not([data-balloon-pos]):before{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%, 10px);transform-origin:top}[data-balloon]:not([data-balloon-pos]):hover:after,[data-balloon]:not([data-balloon-pos])[data-balloon-visible]:after{transform:translate(-50%, 0)}[data-balloon]:not([data-balloon-pos]):hover:before,[data-balloon]:not([data-balloon-pos])[data-balloon-visible]:before{transform:translate(-50%, 0)}[data-balloon].font-awesome___0v5p5:after{font-family:FontAwesome, sans-serif !important}[data-balloon][data-balloon-break]:after{white-space:pre}[data-balloon][data-balloon-blunt]:before,[data-balloon][data-balloon-blunt]:after{transition:none}[data-balloon][data-balloon-pos="up"]:after{bottom:100%;left:50%;margin-bottom:11px;transform:translate(-50%, 10px);transform-origin:top}[data-balloon][data-balloon-pos="up"]:before{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%, 10px);transform-origin:top}[data-balloon][data-balloon-pos="up"]:hover:after,[data-balloon][data-balloon-pos="up"][data-balloon-visible]:after{transform:translate(-50%, 0)}[data-balloon][data-balloon-pos="up"]:hover:before,[data-balloon][data-balloon-pos="up"][data-balloon-visible]:before{transform:translate(-50%, 0)}[data-balloon][data-balloon-pos="up-left"]:after{bottom:100%;left:0;margin-bottom:11px;transform:translate(0, 10px);transform-origin:top}[data-balloon][data-balloon-pos="up-left"]:before{bottom:100%;left:5px;margin-bottom:5px;transform:translate(0, 10px);transform-origin:top}[data-balloon][data-balloon-pos="up-left"]:hover:after,[data-balloon][data-balloon-pos="up-left"][data-balloon-visible]:after{transform:translate(0, 0)}[data-balloon][data-balloon-pos="up-left"]:hover:before,[data-balloon][data-balloon-pos="up-left"][data-balloon-visible]:before{transform:translate(0, 0)}[data-balloon][data-balloon-pos="up-right"]:after{bottom:100%;right:0;margin-bottom:11px;transform:translate(0, 10px);transform-origin:top}[data-balloon][data-balloon-pos="up-right"]:before{bottom:100%;right:5px;margin-bottom:5px;transform:translate(0, 10px);transform-origin:top}[data-balloon][data-balloon-pos="up-right"]:hover:after,[data-balloon][data-balloon-pos="up-right"][data-balloon-visible]:after{transform:translate(0, 0)}[data-balloon][data-balloon-pos="up-right"]:hover:before,[data-balloon][data-balloon-pos="up-right"][data-balloon-visible]:before{transform:translate(0, 0)}[data-balloon][data-balloon-pos='down']:after{left:50%;margin-top:11px;top:100%;transform:translate(-50%, -10px)}[data-balloon][data-balloon-pos='down']:before{background:no-repeat url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2236px%22%20height%3D%2212px%22%3E%3Cpath%20fill%3D%22rgba(17,17,17,0.9)%22%20transform%3D%22rotate(180 18 6)%22%20d%3D%22M2.658,0.000%20C-13.615,0.000%2050.938,0.000%2034.662,0.000%20C28.662,0.000%2023.035,12.002%2018.660,12.002%20C14.285,12.002%208.594,0.000%202.658,0.000%20Z%22/%3E%3C/svg%3E");background-size:100% auto;width:18px;height:6px;left:50%;margin-top:5px;top:100%;transform:translate(-50%, -10px)}[data-balloon][data-balloon-pos='down']:hover:after,[data-balloon][data-balloon-pos='down'][data-balloon-visible]:after{transform:translate(-50%, 0)}[data-balloon][data-balloon-pos='down']:hover:before,[data-balloon][data-balloon-pos='down'][data-balloon-visible]:before{transform:translate(-50%, 0)}[data-balloon][data-balloon-pos='down-left']:after{left:0;margin-top:11px;top:100%;transform:translate(0, -10px)}[data-balloon][data-balloon-pos='down-left']:before{background:no-repeat url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2236px%22%20height%3D%2212px%22%3E%3Cpath%20fill%3D%22rgba(17,17,17,0.9)%22%20transform%3D%22rotate(180 18 6)%22%20d%3D%22M2.658,0.000%20C-13.615,0.000%2050.938,0.000%2034.662,0.000%20C28.662,0.000%2023.035,12.002%2018.660,12.002%20C14.285,12.002%208.594,0.000%202.658,0.000%20Z%22/%3E%3C/svg%3E");background-size:100% auto;width:18px;height:6px;left:5px;margin-top:5px;top:100%;transform:translate(0, -10px)}[data-balloon][data-balloon-pos='down-left']:hover:after,[data-balloon][data-balloon-pos='down-left'][data-balloon-visible]:after{transform:translate(0, 0)}[data-balloon][data-balloon-pos='down-left']:hover:before,[data-balloon][data-balloon-pos='down-left'][data-balloon-visible]:before{transform:translate(0, 0)}[data-balloon][data-balloon-pos='down-right']:after{right:0;margin-top:11px;top:100%;transform:translate(0, -10px)}[data-balloon][data-balloon-pos='down-right']:before{background:no-repeat url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2236px%22%20height%3D%2212px%22%3E%3Cpath%20fill%3D%22rgba(17,17,17,0.9)%22%20transform%3D%22rotate(180 18 6)%22%20d%3D%22M2.658,0.000%20C-13.615,0.000%2050.938,0.000%2034.662,0.000%20C28.662,0.000%2023.035,12.002%2018.660,12.002%20C14.285,12.002%208.594,0.000%202.658,0.000%20Z%22/%3E%3C/svg%3E");background-size:100% auto;width:18px;height:6px;right:5px;margin-top:5px;top:100%;transform:translate(0, -10px)}[data-balloon][data-balloon-pos='down-right']:hover:after,[data-balloon][data-balloon-pos='down-right'][data-balloon-visible]:after{transform:translate(0, 0)}[data-balloon][data-balloon-pos='down-right']:hover:before,[data-balloon][data-balloon-pos='down-right'][data-balloon-visible]:before{transform:translate(0, 0)}[data-balloon][data-balloon-pos='left']:after{margin-right:11px;right:100%;top:50%;transform:translate(10px, -50%)}[data-balloon][data-balloon-pos='left']:before{background:no-repeat url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2212px%22%20height%3D%2236px%22%3E%3Cpath%20fill%3D%22rgba(17,17,17,0.9)%22%20transform%3D%22rotate(-90 18 18)%22%20d%3D%22M2.658,0.000%20C-13.615,0.000%2050.938,0.000%2034.662,0.000%20C28.662,0.000%2023.035,12.002%2018.660,12.002%20C14.285,12.002%208.594,0.000%202.658,0.000%20Z%22/%3E%3C/svg%3E");background-size:100% auto;width:6px;height:18px;margin-right:5px;right:100%;top:50%;transform:translate(10px, -50%)}[data-balloon][data-balloon-pos='left']:hover:after,[data-balloon][data-balloon-pos='left'][data-balloon-visible]:after{transform:translate(0, -50%)}[data-balloon][data-balloon-pos='left']:hover:before,[data-balloon][data-balloon-pos='left'][data-balloon-visible]:before{transform:translate(0, -50%)}[data-balloon][data-balloon-pos='right']:after{left:100%;margin-left:11px;top:50%;transform:translate(-10px, -50%)}[data-balloon][data-balloon-pos='right']:before{background:no-repeat url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2212px%22%20height%3D%2236px%22%3E%3Cpath%20fill%3D%22rgba(17,17,17,0.9)%22%20transform%3D%22rotate(90 6 6)%22%20d%3D%22M2.658,0.000%20C-13.615,0.000%2050.938,0.000%2034.662,0.000%20C28.662,0.000%2023.035,12.002%2018.660,12.002%20C14.285,12.002%208.594,0.000%202.658,0.000%20Z%22/%3E%3C/svg%3E");background-size:100% auto;width:6px;height:18px;left:100%;margin-left:5px;top:50%;transform:translate(-10px, -50%)}[data-balloon][data-balloon-pos='right']:hover:after,[data-balloon][data-balloon-pos='right'][data-balloon-visible]:after{transform:translate(0, -50%)}[data-balloon][data-balloon-pos='right']:hover:before,[data-balloon][data-balloon-pos='right'][data-balloon-visible]:before{transform:translate(0, -50%)}[data-balloon][data-balloon-length='small']:after{white-space:normal;width:80px}[data-balloon][data-balloon-length='medium']:after{white-space:normal;width:150px}[data-balloon][data-balloon-length='large']:after{white-space:normal;width:260px}[data-balloon][data-balloon-length='xlarge']:after{white-space:normal;width:380px}@media screen and (max-width: 768px){[data-balloon][data-balloon-length='xlarge']:after{white-space:normal;width:90vw}}[data-balloon][data-balloon-length='fit']:after{white-space:normal;width:100%}
|
2 |
+
|
css/visual.min.css
CHANGED
@@ -3,38 +3,38 @@
|
|
3 |
Â
*
|
4 |
Â
*/
|
5 |
Â
|
6 |
-
.
|
7 |
Â
display: flex;
|
8 |
Â
width: 100%;
|
9 |
Â
margin-top: 20px;
|
10 |
Â
}
|
11 |
Â
|
12 |
-
.
|
13 |
Â
}
|
14 |
Â
|
15 |
-
.
|
16 |
Â
float: none;
|
17 |
Â
vertical-align: top;
|
18 |
Â
}
|
19 |
-
|
20 |
Â
/**
|
21 |
Â
* Toolbar Component.
|
22 |
Â
*
|
23 |
Â
*/
|
24 |
Â
|
25 |
-
.
|
26 |
Â
display: flex;
|
27 |
Â
flex-wrap: wrap;
|
28 |
Â
width: 100%;
|
29 |
Â
margin-bottom: 10px;
|
30 |
Â
}
|
31 |
Â
|
32 |
-
.
|
33 |
Â
background-color: #96A36B;
|
34 |
Â
color: #eee;
|
35 |
Â
}
|
36 |
Â
|
37 |
-
.
|
38 |
Â
flex: 0 0 auto;
|
39 |
Â
color: inherit;
|
40 |
Â
cursor: pointer;
|
@@ -44,80 +44,80 @@
|
|
44 |
Â
margin-right: 15px;
|
45 |
Â
}
|
46 |
Â
|
47 |
-
.
|
48 |
-
.
|
49 |
Â
color: inherit !important; /* make option icon same color as text */
|
50 |
Â
}
|
51 |
Â
|
52 |
-
.
|
53 |
Â
line-height: normal;
|
54 |
Â
height: auto;
|
55 |
Â
}
|
56 |
-
|
57 |
Â
/**
|
58 |
Â
* Controls Component.
|
59 |
Â
*
|
60 |
Â
*/
|
61 |
Â
|
62 |
-
.
|
63 |
Â
width: 100%;
|
64 |
Â
}
|
65 |
-
|
66 |
Â
/**
|
67 |
Â
* Edit Component.
|
68 |
Â
*
|
69 |
Â
*/
|
70 |
Â
|
71 |
-
.
|
72 |
Â
background: #fff;
|
73 |
Â
padding: 15px;
|
74 |
Â
margin: 0 0 7% 0;
|
75 |
Â
}
|
76 |
Â
|
77 |
-
.
|
78 |
Â
text-transform: uppercase;
|
79 |
Â
}
|
80 |
Â
|
81 |
-
.
|
82 |
-
.
|
83 |
Â
display: flex;
|
84 |
Â
box-sizing: border-box;
|
85 |
Â
justify-content: space-around;
|
86 |
Â
}
|
87 |
Â
|
88 |
-
.
|
89 |
Â
width: 35%;
|
90 |
Â
font-weight: 600;
|
91 |
Â
}
|
92 |
Â
|
93 |
-
.
|
94 |
Â
display: inline-block;
|
95 |
Â
margin-top: 5px;
|
96 |
Â
}
|
97 |
Â
|
98 |
-
.
|
99 |
Â
width: 65%;
|
100 |
Â
}
|
101 |
Â
|
102 |
-
.
|
103 |
-
.
|
104 |
Â
margin: 7px 0;
|
105 |
Â
}
|
106 |
Â
|
107 |
-
.
|
108 |
Â
display: block;
|
109 |
Â
margin-bottom: 5px;
|
110 |
Â
}
|
111 |
Â
|
112 |
-
.
|
113 |
-
.
|
114 |
-
.
|
115 |
-
.
|
116 |
Â
width: 100%;
|
117 |
Â
font-size: inherit;
|
118 |
Â
}
|
119 |
Â
|
120 |
-
.
|
121 |
Â
border: 1px solid #ddd;
|
122 |
Â
width: 18px;
|
123 |
Â
height: 18px !important; /* overwrite CF7 Skins styling */
|
@@ -128,38 +128,38 @@
|
|
128 |
Â
background: #f2f2f2;
|
129 |
Â
}
|
130 |
Â
|
131 |
-
.
|
132 |
Â
margin: 0 0 4px -15px;
|
133 |
Â
}
|
134 |
Â
|
135 |
-
.
|
136 |
-
.
|
137 |
-
.
|
138 |
Â
margin-top: 4px;
|
139 |
Â
}
|
140 |
Â
|
141 |
-
.
|
142 |
-
.
|
143 |
-
.
|
144 |
-
.
|
145 |
Â
padding-left: 15px;
|
146 |
Â
box-sizing: border-box;
|
147 |
Â
}
|
148 |
Â
|
149 |
-
.
|
150 |
Â
text-align: center;
|
151 |
Â
}
|
152 |
Â
|
153 |
-
.
|
154 |
Â
text-align: right;
|
155 |
Â
}
|
156 |
Â
|
157 |
-
.
|
158 |
-
.
|
159 |
-
.
|
160 |
-
.
|
161 |
Â
|
162 |
-
.
|
163 |
Â
font-size: 12px;
|
164 |
Â
line-height: 15px;
|
165 |
Â
color: #898989;
|
@@ -168,7 +168,7 @@
|
|
168 |
Â
|
169 |
Â
/* Edit Field Type drop-down menu*/
|
170 |
Â
|
171 |
-
select.
|
172 |
Â
text-transform: uppercase;
|
173 |
Â
font-size: 14px;
|
174 |
Â
font-weight: bold;
|
@@ -182,31 +182,31 @@ select.EditTypeSelect___o1X4F { /* overide 'wp-admin select' */
|
|
182 |
Â
|
183 |
Â
/* Visual Data component */
|
184 |
Â
|
185 |
-
.
|
186 |
Â
width:100%;
|
187 |
Â
margin: 7px 0;
|
188 |
Â
}
|
189 |
Â
|
190 |
-
.
|
191 |
Â
width: 100%;
|
192 |
-
}
|
193 |
Â
/**
|
194 |
Â
* Modified RST Styles.
|
195 |
Â
*/
|
196 |
Â
|
197 |
-
.
|
198 |
Â
box-shadow: none; /* @prev: 0 2px 2px -2px; */
|
199 |
Â
padding: 0 5px 0 10px;
|
200 |
Â
border-radius: 0 2px 2px 0; /* @prev: 2px; */
|
201 |
Â
justify-content: space-between;
|
202 |
Â
}
|
203 |
Â
|
204 |
-
.
|
205 |
Â
line-height: initial !important;
|
206 |
Â
height: initial !important;
|
207 |
Â
}
|
208 |
Â
|
209 |
-
.
|
210 |
Â
box-shadow: none; /* prev: 0 2px 2px -2px */
|
211 |
Â
border-radius: 2px 0 0 2px; /* prev: 1px */
|
212 |
Â
}
|
@@ -216,24 +216,24 @@ select.EditTypeSelect___o1X4F { /* overide 'wp-admin select' */
|
|
216 |
Â
*
|
217 |
Â
*/
|
218 |
Â
|
219 |
-
.
|
220 |
-
.
|
221 |
Â
display: flex;
|
222 |
Â
}
|
223 |
Â
|
224 |
-
.
|
225 |
Â
font-size: 20px;
|
226 |
Â
font-weight: normal;
|
227 |
Â
line-height: 17px;
|
228 |
Â
color: #777;
|
229 |
Â
}
|
230 |
Â
|
231 |
-
.
|
232 |
Â
padding-left: 10px;
|
233 |
Â
color: #777; /* same as icon color */
|
234 |
Â
}
|
235 |
Â
|
236 |
-
.
|
237 |
Â
padding: 0 10px;
|
238 |
Â
white-space: nowrap;
|
239 |
Â
overflow: hidden;
|
@@ -241,14 +241,14 @@ select.EditTypeSelect___o1X4F { /* overide 'wp-admin select' */
|
|
241 |
Â
width: 100px; /* adjustable */
|
242 |
Â
}
|
243 |
Â
|
244 |
-
.
|
245 |
-
.
|
246 |
-
.
|
247 |
Â
-ms-grid-row-align: center;
|
248 |
Â
align-self: center; /* align label and icon inside flex */
|
249 |
Â
}
|
250 |
Â
|
251 |
-
.
|
252 |
Â
flex: 0 1 auto;
|
253 |
Â
padding-right: 10px;
|
254 |
Â
font-weight: normal;
|
@@ -256,7 +256,7 @@ select.EditTypeSelect___o1X4F { /* overide 'wp-admin select' */
|
|
256 |
Â
color: #888;
|
257 |
Â
}
|
258 |
Â
|
259 |
-
.
|
260 |
Â
display: flex;
|
261 |
Â
}
|
262 |
Â
|
@@ -265,15 +265,15 @@ select.EditTypeSelect___o1X4F { /* overide 'wp-admin select' */
|
|
265 |
Â
*
|
266 |
Â
*/
|
267 |
Â
|
268 |
-
.
|
269 |
Â
background-color: #c9f4b0;
|
270 |
Â
}
|
271 |
Â
|
272 |
-
.
|
273 |
Â
background-color: #e3eff3;
|
274 |
Â
}
|
275 |
Â
|
276 |
-
.
|
277 |
Â
}
|
278 |
Â
|
279 |
Â
/**
|
@@ -281,21 +281,21 @@ select.EditTypeSelect___o1X4F { /* overide 'wp-admin select' */
|
|
281 |
Â
*
|
282 |
Â
*/
|
283 |
Â
|
284 |
-
.
|
285 |
-
.
|
286 |
-
.
|
287 |
-
.
|
288 |
Â
border-width: 2px;
|
289 |
Â
border-color: #95ab95;
|
290 |
Â
}
|
291 |
Â
|
292 |
-
.
|
293 |
-
.
|
294 |
Â
background-color: #bfdfbf;
|
295 |
Â
border-radius: 0 2.5px 2.5px 0;
|
296 |
Â
}
|
297 |
Â
|
298 |
-
.
|
299 |
Â
background-color: #b3b3b3;
|
300 |
Â
border-color: #849c84;
|
301 |
Â
border-radius: 2.5px 0 0 2.5px;
|
@@ -308,42 +308,431 @@ select.EditTypeSelect___o1X4F { /* overide 'wp-admin select' */
|
|
308 |
Â
*
|
309 |
Â
*/
|
310 |
Â
|
311 |
-
.
|
312 |
-
.
|
313 |
-
.
|
314 |
-
.
|
315 |
-
.
|
316 |
-
.
|
317 |
-
.
|
318 |
-
.
|
319 |
-
.
|
320 |
-
.
|
321 |
-
.
|
322 |
-
.
|
323 |
-
.
|
324 |
-
.
|
325 |
-
.
|
326 |
-
.list-
|
327 |
-
.list-
|
328 |
-
.
|
329 |
-
.
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
334 |
Â
/**
|
335 |
Â
* InputItemMenu Component.
|
336 |
Â
*
|
337 |
Â
*/
|
338 |
Â
|
339 |
-
.
|
340 |
Â
display: flex;
|
341 |
Â
}
|
342 |
Â
|
343 |
-
.
|
344 |
Â
}
|
345 |
Â
|
346 |
-
.
|
347 |
Â
background: transparent;
|
348 |
Â
border: none;
|
349 |
Â
cursor: pointer;
|
@@ -354,16 +743,16 @@ button[data-balloon]{overflow:visible}[data-balloon]{position:relative;cursor:po
|
|
354 |
Â
outline: none;
|
355 |
Â
}
|
356 |
Â
|
357 |
-
.
|
358 |
Â
}
|
359 |
Â
|
360 |
-
.
|
361 |
Â
display: none;
|
362 |
Â
}
|
363 |
Â
|
364 |
Â
/* InputItemType drop-down menu*/
|
365 |
Â
|
366 |
-
select.
|
367 |
Â
margin: 0 10px 0 0;
|
368 |
Â
padding: 2px;
|
369 |
Â
font-size: 1em !important; /* override #cf7s select */
|
@@ -384,30 +773,30 @@ select.InputItemTypeSelect___2MpUZ { /* overide 'wp-admin select' */
|
|
384 |
Â
*
|
385 |
Â
*/
|
386 |
Â
|
387 |
-
.rc-
|
388 |
Â
/* display: inline-block; */
|
389 |
Â
margin: 0;
|
390 |
Â
background: transparent;
|
391 |
Â
border:none;
|
392 |
Â
}
|
393 |
Â
|
394 |
-
.rc-
|
395 |
Â
padding: 0;
|
396 |
Â
margin: 0;
|
397 |
Â
text-align: center;
|
398 |
Â
border:none;
|
399 |
Â
}
|
400 |
Â
|
401 |
-
.rc-
|
402 |
Â
padding: 0;
|
403 |
Â
height: 0;
|
404 |
Â
}
|
405 |
Â
|
406 |
-
.rc-
|
407 |
Â
background-color: transparent;
|
408 |
Â
}
|
409 |
Â
|
410 |
-
.rc-
|
411 |
Â
border: none;
|
412 |
Â
background-color: transparent;
|
413 |
Â
color: inherit;
|
@@ -428,40 +817,41 @@ select.InputItemTypeSelect___2MpUZ { /* overide 'wp-admin select' */
|
|
428 |
Â
.rc-menu-item, .rc-menu-submenu-title {
|
429 |
Â
cursor: default;
|
430 |
Â
}
|
431 |
-
|
432 |
Â
/**
|
433 |
Â
* Items Component.
|
434 |
Â
*
|
435 |
Â
*/
|
436 |
Â
|
437 |
-
.
|
438 |
Â
width: 100%;
|
439 |
Â
height: 100%;
|
440 |
Â
background: #fff;
|
441 |
Â
/* padding-bottom: 15px; - not necessary */
|
442 |
Â
resize: vertical; /* not working */
|
443 |
-
}
|
444 |
Â
/**
|
445 |
Â
* Notice Component.
|
446 |
Â
*
|
447 |
Â
*/
|
448 |
Â
|
449 |
-
.
|
Â
|
|
450 |
Â
position: sticky;
|
451 |
Â
top: 32px; /* below #wpadminbar, use https://codex.wordpress.org/Function_Reference/is_admin_bar_showing ? */
|
452 |
Â
z-index: 1;
|
453 |
Â
}
|
454 |
Â
|
455 |
-
.
|
456 |
Â
margin: 0 !important;
|
457 |
Â
}
|
458 |
-
|
459 |
Â
/**
|
460 |
Â
* Select Item.
|
461 |
Â
*
|
462 |
Â
*/
|
463 |
Â
|
464 |
-
.
|
465 |
Â
padding: 9px 8px 8px 40px;
|
466 |
Â
border-radius: 2px;
|
467 |
Â
cursor: pointer;
|
@@ -473,13 +863,13 @@ select.InputItemTypeSelect___2MpUZ { /* overide 'wp-admin select' */
|
|
473 |
Â
color: #2f2f2f;
|
474 |
Â
}
|
475 |
Â
|
476 |
-
.
|
477 |
Â
border-color: #749ec5;
|
478 |
Â
color: #ff0303;
|
479 |
Â
}
|
480 |
Â
|
481 |
-
.
|
482 |
-
.
|
483 |
Â
font-size: 18px;
|
484 |
Â
margin-right: 10px;
|
485 |
Â
display: inline-block;
|
@@ -494,8 +884,8 @@ select.InputItemTypeSelect___2MpUZ { /* overide 'wp-admin select' */
|
|
494 |
Â
line-height: 36px !important; /* override #cf7s .dashicons */
|
495 |
Â
}
|
496 |
Â
|
497 |
-
|
498 |
-
.
|
499 |
Â
border: 2px solid #FF9800;
|
500 |
Â
padding: 9px 8px 8px 40px;
|
501 |
Â
border-radius: 2px;
|
@@ -508,7 +898,7 @@ select.InputItemTypeSelect___2MpUZ { /* overide 'wp-admin select' */
|
|
508 |
Â
}
|
509 |
Â
|
510 |
Â
/* Used tipsContainer else Icon color was getting overwritten in WP interface */
|
511 |
-
.
|
512 |
Â
color:#FF9800;
|
513 |
Â
font-size: 24px;
|
514 |
Â
margin-right: 10px;
|
@@ -523,24 +913,24 @@ select.InputItemTypeSelect___2MpUZ { /* overide 'wp-admin select' */
|
|
523 |
Â
line-height: 48px !important;
|
524 |
Â
}
|
525 |
Â
|
526 |
-
.
|
527 |
Â
color:#FF9800 !important;
|
528 |
Â
}
|
529 |
Â
|
530 |
-
.
|
531 |
Â
color:#FF9800;
|
532 |
-
}
|
533 |
Â
/**
|
534 |
Â
* Select Area.
|
535 |
Â
*
|
536 |
Â
*/
|
537 |
Â
|
538 |
-
.
|
539 |
Â
background: #fff;
|
540 |
Â
padding: 10px 15px;
|
541 |
Â
}
|
542 |
Â
|
543 |
-
.
|
544 |
Â
font-size: 1.3em;
|
545 |
Â
margin: 1em 0;
|
546 |
Â
font-weight: 600;
|
@@ -555,15 +945,15 @@ select.InputItemTypeSelect___2MpUZ { /* overide 'wp-admin select' */
|
|
555 |
Â
*
|
556 |
Â
*/
|
557 |
Â
|
558 |
-
.
|
559 |
Â
display: flex;
|
560 |
Â
margin-right: -10px;
|
561 |
Â
margin-left: -10px;
|
562 |
Â
margin-bottom: 20px;
|
563 |
Â
}
|
564 |
Â
|
565 |
-
.
|
566 |
-
.
|
567 |
Â
width: 50%;
|
568 |
Â
min-height: 1px;
|
569 |
Â
padding-right: 10px;
|
@@ -571,7 +961,7 @@ select.InputItemTypeSelect___2MpUZ { /* overide 'wp-admin select' */
|
|
571 |
Â
box-sizing: border-box;
|
572 |
Â
}
|
573 |
Â
|
574 |
-
.
|
575 |
Â
margin-bottom: 10px;
|
576 |
Â
}
|
577 |
Â
|
@@ -580,7 +970,7 @@ select.InputItemTypeSelect___2MpUZ { /* overide 'wp-admin select' */
|
|
580 |
Â
*
|
581 |
Â
*/
|
582 |
Â
|
583 |
-
.
|
584 |
Â
position: absolute !important;
|
585 |
Â
right: 0;
|
586 |
Â
border: 1px solid #ccc;
|
@@ -594,31 +984,31 @@ select.InputItemTypeSelect___2MpUZ { /* overide 'wp-admin select' */
|
|
594 |
Â
font-weight: normal;
|
595 |
Â
}
|
596 |
Â
|
597 |
-
.
|
598 |
Â
border-color: #aaa;
|
599 |
Â
}
|
600 |
Â
|
601 |
Â
@media only screen and (max-width: 1080px) {
|
602 |
-
.
|
603 |
Â
flex-direction: column;
|
604 |
Â
}
|
605 |
-
.
|
606 |
-
.
|
607 |
Â
width: 100%;
|
608 |
Â
}
|
609 |
Â
}
|
610 |
Â
|
611 |
-
|
612 |
Â
/**
|
613 |
Â
* TopBar Component.
|
614 |
Â
*
|
615 |
Â
*/
|
616 |
Â
|
617 |
-
.
|
618 |
Â
width: 100%;
|
619 |
Â
align-items: center;
|
620 |
Â
}
|
621 |
-
|
622 |
Â
/**
|
623 |
Â
* This file contains global styles by using global: scope.
|
624 |
Â
* CSS Modules will not modify the className by webpack localIdentName.
|
@@ -628,19 +1018,19 @@ select.InputItemTypeSelect___2MpUZ { /* overide 'wp-admin select' */
|
|
628 |
Â
.__react_component_tooltip {
|
629 |
Â
padding: .5em 1em;
|
630 |
Â
font-size: 12px;
|
631 |
-
}
|
632 |
Â
/**
|
633 |
Â
* Form Component.
|
634 |
Â
*
|
635 |
Â
*/
|
636 |
Â
|
637 |
-
.
|
638 |
Â
display: flex;
|
639 |
Â
flex-wrap: wrap;
|
640 |
Â
width: 100%;
|
641 |
Â
}
|
642 |
Â
|
643 |
-
.
|
644 |
Â
display: flex;
|
645 |
Â
flex-direction: column;
|
646 |
Â
flex-shrink: 1;
|
@@ -648,20 +1038,20 @@ select.InputItemTypeSelect___2MpUZ { /* overide 'wp-admin select' */
|
|
648 |
Â
margin-right: 2%;
|
649 |
Â
}
|
650 |
Â
|
651 |
-
.
|
652 |
Â
display: flex;
|
653 |
Â
flex-direction: column;
|
654 |
Â
width: 29%;
|
655 |
Â
}
|
656 |
-
|
657 |
-
.cf7s-visual-
|
658 |
Â
display: flex;
|
659 |
Â
flex-grow: 1;
|
660 |
Â
}
|
661 |
Â
|
662 |
Â
/* OLD STYLES - to be removed */
|
663 |
Â
|
664 |
-
.top-level-
|
665 |
Â
display: flex;
|
666 |
Â
flex-grow: 1;
|
667 |
Â
}
|
@@ -674,4 +1064,4 @@ select.InputItemTypeSelect___2MpUZ { /* overide 'wp-admin select' */
|
|
674 |
Â
.cf7s #tab-visual .dashicons {
|
675 |
Â
line-height: 1;
|
676 |
Â
height: auto;
|
677 |
-
}
|
3 |
Â
*
|
4 |
Â
*/
|
5 |
Â
|
6 |
+
.FormAction___yp587 {
|
7 |
Â
display: flex;
|
8 |
Â
width: 100%;
|
9 |
Â
margin-top: 20px;
|
10 |
Â
}
|
11 |
Â
|
12 |
+
.SaveVisualButton___5cEkm {
|
13 |
Â
}
|
14 |
Â
|
15 |
+
.spinner___0AIlq { /* overwrite WordPress spinner default behaviour */
|
16 |
Â
float: none;
|
17 |
Â
vertical-align: top;
|
18 |
Â
}
|
19 |
+
|
20 |
Â
/**
|
21 |
Â
* Toolbar Component.
|
22 |
Â
*
|
23 |
Â
*/
|
24 |
Â
|
25 |
+
.Toolbar___bIAvc {
|
26 |
Â
display: flex;
|
27 |
Â
flex-wrap: wrap;
|
28 |
Â
width: 100%;
|
29 |
Â
margin-bottom: 10px;
|
30 |
Â
}
|
31 |
Â
|
32 |
+
.Toolbar___bIAvc > span:hover {
|
33 |
Â
background-color: #96A36B;
|
34 |
Â
color: #eee;
|
35 |
Â
}
|
36 |
Â
|
37 |
+
.options___deJZ5 { /* change to .Toolbar button */
|
38 |
Â
flex: 0 0 auto;
|
39 |
Â
color: inherit;
|
40 |
Â
cursor: pointer;
|
44 |
Â
margin-right: 15px;
|
45 |
Â
}
|
46 |
Â
|
47 |
+
.options___deJZ5:active > span,
|
48 |
+
.options___deJZ5:hover > span {
|
49 |
Â
color: inherit !important; /* make option icon same color as text */
|
50 |
Â
}
|
51 |
Â
|
52 |
+
.Toolbar___bIAvc .dashicons {
|
53 |
Â
line-height: normal;
|
54 |
Â
height: auto;
|
55 |
Â
}
|
56 |
+
|
57 |
Â
/**
|
58 |
Â
* Controls Component.
|
59 |
Â
*
|
60 |
Â
*/
|
61 |
Â
|
62 |
+
.Control___6zWdj {
|
63 |
Â
width: 100%;
|
64 |
Â
}
|
65 |
+
|
66 |
Â
/**
|
67 |
Â
* Edit Component.
|
68 |
Â
*
|
69 |
Â
*/
|
70 |
Â
|
71 |
+
.Edit___DsDI3 {
|
72 |
Â
background: #fff;
|
73 |
Â
padding: 15px;
|
74 |
Â
margin: 0 0 7% 0;
|
75 |
Â
}
|
76 |
Â
|
77 |
+
.Edit___DsDI3 h3 {
|
78 |
Â
text-transform: uppercase;
|
79 |
Â
}
|
80 |
Â
|
81 |
+
.attribute___ouspy,
|
82 |
+
.row___I0yGU {
|
83 |
Â
display: flex;
|
84 |
Â
box-sizing: border-box;
|
85 |
Â
justify-content: space-around;
|
86 |
Â
}
|
87 |
Â
|
88 |
+
.label___mfZTQ {
|
89 |
Â
width: 35%;
|
90 |
Â
font-weight: 600;
|
91 |
Â
}
|
92 |
Â
|
93 |
+
.label___mfZTQ > label {
|
94 |
Â
display: inline-block;
|
95 |
Â
margin-top: 5px;
|
96 |
Â
}
|
97 |
Â
|
98 |
+
.value___Z--gA {
|
99 |
Â
width: 65%;
|
100 |
Â
}
|
101 |
Â
|
102 |
+
.label___mfZTQ,
|
103 |
+
.value___Z--gA {
|
104 |
Â
margin: 7px 0;
|
105 |
Â
}
|
106 |
Â
|
107 |
+
.value___Z--gA select[name="cf7TagType"] { /* for number tag, to make 'required' under it */
|
108 |
Â
display: block;
|
109 |
Â
margin-bottom: 5px;
|
110 |
Â
}
|
111 |
Â
|
112 |
+
.value___Z--gA input[type="text"],
|
113 |
+
.value___Z--gA input[type="date"],
|
114 |
+
.value___Z--gA input[type="number"],
|
115 |
+
.value___Z--gA textarea {
|
116 |
Â
width: 100%;
|
117 |
Â
font-size: inherit;
|
118 |
Â
}
|
119 |
Â
|
120 |
+
.value___Z--gA .dashicons {
|
121 |
Â
border: 1px solid #ddd;
|
122 |
Â
width: 18px;
|
123 |
Â
height: 18px !important; /* overwrite CF7 Skins styling */
|
128 |
Â
background: #f2f2f2;
|
129 |
Â
}
|
130 |
Â
|
131 |
+
.row___I0yGU {
|
132 |
Â
margin: 0 0 4px -15px;
|
133 |
Â
}
|
134 |
Â
|
135 |
+
.row___I0yGU input[type=radio],
|
136 |
+
.row___I0yGU input[type=checkbox],
|
137 |
+
.row___I0yGU .dashicons-no {
|
138 |
Â
margin-top: 4px;
|
139 |
Â
}
|
140 |
Â
|
141 |
+
.row___I0yGU .control___\+YNEW,
|
142 |
+
.row___I0yGU .default___cYs1M,
|
143 |
+
.row___I0yGU .range___wsPe8,
|
144 |
+
.row___I0yGU .option___\+t59z {
|
145 |
Â
padding-left: 15px;
|
146 |
Â
box-sizing: border-box;
|
147 |
Â
}
|
148 |
Â
|
149 |
+
.row___I0yGU .default___cYs1M {
|
150 |
Â
text-align: center;
|
151 |
Â
}
|
152 |
Â
|
153 |
+
.row___I0yGU .control___\+YNEW {
|
154 |
Â
text-align: right;
|
155 |
Â
}
|
156 |
Â
|
157 |
+
.row___I0yGU .control___\+YNEW { width: 15%; }
|
158 |
+
.row___I0yGU .default___cYs1M { width: 25%; }
|
159 |
+
.row___I0yGU .range___wsPe8 { width: 50%; }
|
160 |
+
.row___I0yGU .option___\+t59z { width: 60%; }
|
161 |
Â
|
162 |
+
.description___CvqdB {
|
163 |
Â
font-size: 12px;
|
164 |
Â
line-height: 15px;
|
165 |
Â
color: #898989;
|
168 |
Â
|
169 |
Â
/* Edit Field Type drop-down menu*/
|
170 |
Â
|
171 |
+
select.EditTypeSelect___rae3d { /* overide 'wp-admin select' */
|
172 |
Â
text-transform: uppercase;
|
173 |
Â
font-size: 14px;
|
174 |
Â
font-weight: bold;
|
182 |
Â
|
183 |
Â
/* Visual Data component */
|
184 |
Â
|
185 |
+
.visualData___oRYfW {
|
186 |
Â
width:100%;
|
187 |
Â
margin: 7px 0;
|
188 |
Â
}
|
189 |
Â
|
190 |
+
.visualData___oRYfW textarea {
|
191 |
Â
width: 100%;
|
192 |
+
}
|
193 |
Â
/**
|
194 |
Â
* Modified RST Styles.
|
195 |
Â
*/
|
196 |
Â
|
197 |
+
.rowContents___n3Hfc {
|
198 |
Â
box-shadow: none; /* @prev: 0 2px 2px -2px; */
|
199 |
Â
padding: 0 5px 0 10px;
|
200 |
Â
border-radius: 0 2px 2px 0; /* @prev: 2px; */
|
201 |
Â
justify-content: space-between;
|
202 |
Â
}
|
203 |
Â
|
204 |
+
.rowContents___n3Hfc .dashicons { /* overrides #cf7s .dashicons {} styling */
|
205 |
Â
line-height: initial !important;
|
206 |
Â
height: initial !important;
|
207 |
Â
}
|
208 |
Â
|
209 |
+
.moveHandle___iq9iV, .loadingHandle___7lJ9\+ {
|
210 |
Â
box-shadow: none; /* prev: 0 2px 2px -2px */
|
211 |
Â
border-radius: 2px 0 0 2px; /* prev: 1px */
|
212 |
Â
}
|
216 |
Â
*
|
217 |
Â
*/
|
218 |
Â
|
219 |
+
.rowContentsStart___xKXUl,
|
220 |
+
.rowContentsEnd___717WE {
|
221 |
Â
display: flex;
|
222 |
Â
}
|
223 |
Â
|
224 |
+
.InputItemIcon___6rLo6 {
|
225 |
Â
font-size: 20px;
|
226 |
Â
font-weight: normal;
|
227 |
Â
line-height: 17px;
|
228 |
Â
color: #777;
|
229 |
Â
}
|
230 |
Â
|
231 |
+
.InputItemName___LV0vC { /* shown only if Settings option checked */
|
232 |
Â
padding-left: 10px;
|
233 |
Â
color: #777; /* same as icon color */
|
234 |
Â
}
|
235 |
Â
|
236 |
+
.InputItemLabel___vS7k- {
|
237 |
Â
padding: 0 10px;
|
238 |
Â
white-space: nowrap;
|
239 |
Â
overflow: hidden;
|
241 |
Â
width: 100px; /* adjustable */
|
242 |
Â
}
|
243 |
Â
|
244 |
+
.InputItemIcon___6rLo6,
|
245 |
+
.InputItemName___LV0vC,
|
246 |
+
.InputItemLabel___vS7k- {
|
247 |
Â
-ms-grid-row-align: center;
|
248 |
Â
align-self: center; /* align label and icon inside flex */
|
249 |
Â
}
|
250 |
Â
|
251 |
+
.InputItemType___c6Uhz {
|
252 |
Â
flex: 0 1 auto;
|
253 |
Â
padding-right: 10px;
|
254 |
Â
font-weight: normal;
|
256 |
Â
color: #888;
|
257 |
Â
}
|
258 |
Â
|
259 |
+
.InputItemToolbar___I1cHV {
|
260 |
Â
display: flex;
|
261 |
Â
}
|
262 |
Â
|
265 |
Â
*
|
266 |
Â
*/
|
267 |
Â
|
268 |
+
.cf7Tag___kKQ5h {
|
269 |
Â
background-color: #c9f4b0;
|
270 |
Â
}
|
271 |
Â
|
272 |
+
.cf7sItem___u3JfG {
|
273 |
Â
background-color: #e3eff3;
|
274 |
Â
}
|
275 |
Â
|
276 |
+
.cf7Required___zp8gT {
|
277 |
Â
}
|
278 |
Â
|
279 |
Â
/**
|
281 |
Â
*
|
282 |
Â
*/
|
283 |
Â
|
284 |
+
.edited___eOPso .moveHandle___iq9iV,
|
285 |
+
.edited___eOPso .rowContents___n3Hfc,
|
286 |
+
.edited___eOPso .cf7Tag___kKQ5h,
|
287 |
+
.edited___eOPso .cf7sItem___u3JfG {
|
288 |
Â
border-width: 2px;
|
289 |
Â
border-color: #95ab95;
|
290 |
Â
}
|
291 |
Â
|
292 |
+
.edited___eOPso .cf7Tag___kKQ5h,
|
293 |
+
.edited___eOPso .cf7sItem___u3JfG {
|
294 |
Â
background-color: #bfdfbf;
|
295 |
Â
border-radius: 0 2.5px 2.5px 0;
|
296 |
Â
}
|
297 |
Â
|
298 |
+
.edited___eOPso .moveHandle___iq9iV {
|
299 |
Â
background-color: #b3b3b3;
|
300 |
Â
border-color: #849c84;
|
301 |
Â
border-radius: 2.5px 0 0 2.5px;
|
308 |
Â
*
|
309 |
Â
*/
|
310 |
Â
|
311 |
+
.acceptance___O7dS5 {}
|
312 |
+
.checkbox___KlhTb {}
|
313 |
+
.date___mTwBm {}
|
314 |
+
.email___y1pJT {}
|
315 |
+
.file___A3fuW {}
|
316 |
+
.number___HZT6t {}
|
317 |
+
.quiz___Rc6bG {}
|
318 |
+
.radio___t\+Whk {}
|
319 |
+
.select___iuGie {}
|
320 |
+
.submit___VTyrW {}
|
321 |
+
.tel___rFz5H {}
|
322 |
+
.text___blbox {}
|
323 |
+
.textarea___yy-44 {}
|
324 |
+
.url___iUggZ {}
|
325 |
+
.fieldset___HKwZd {}
|
326 |
+
.list-ol___3\+sLz {}
|
327 |
+
.list-li___KA089 {}
|
328 |
+
.paragraph___2tWIA {}
|
329 |
+
.cf7Required___zp8gT {}
|
330 |
+
|
331 |
+
/*
|
332 |
+
@font-face {
|
333 |
+
font-family: 'FontAwesome';
|
334 |
+
src: url('https://cdn.bootcss.com/font-awesome/4.2.0/fonts/fontawesome-webfont.eot?v=4.2.0');
|
335 |
+
src: url('https://cdn.bootcss.com/font-awesome/4.2.0/fonts/fontawesome-webfont.eot?#iefix&v=4.2.0') format('embedded-opentype'), url('https://cdn.bootcss.com/font-awesome/4.2.0/fonts/fontawesome-webfont.woff?v=4.2.0') format('woff'), url('https://cdn.bootcss.com/font-awesome/4.2.0/fonts/fontawesome-webfont.ttf?v=4.2.0') format('truetype'), url('https://cdn.bootcss.com/font-awesome/4.2.0/fonts/fontawesome-webfont.svg?v=4.2.0#fontawesomeregular') format('svg');
|
336 |
+
font-weight: normal;
|
337 |
+
font-style: normal;
|
338 |
+
} */
|
339 |
+
.rc-menu {
|
340 |
+
outline: none;
|
341 |
+
margin-bottom: 0;
|
342 |
+
padding-left: 0;
|
343 |
+
list-style: none;
|
344 |
+
border: 1px solid #d9d9d9;
|
345 |
+
box-shadow: 0 0 4px #d9d9d9;
|
346 |
+
border-radius: 3px;
|
347 |
+
color: #666;
|
348 |
+
}
|
349 |
+
.rc-menu-hidden {
|
350 |
+
display: none;
|
351 |
+
}
|
352 |
+
.rc-menu-collapse {
|
353 |
+
overflow: hidden;
|
354 |
+
}
|
355 |
+
.rc-menu-collapse-active {
|
356 |
+
transition: height 0.3s ease-out;
|
357 |
+
}
|
358 |
+
.rc-menu-item-group-list {
|
359 |
+
margin: 0;
|
360 |
+
padding: 0;
|
361 |
+
}
|
362 |
+
.rc-menu-item-group-title {
|
363 |
+
color: #999;
|
364 |
+
line-height: 1.5;
|
365 |
+
padding: 8px 10px;
|
366 |
+
border-bottom: 1px solid #dedede;
|
367 |
+
}
|
368 |
+
.rc-menu-item-active,
|
369 |
+
.rc-menu-submenu-active > .rc-menu-submenu-title {
|
370 |
+
background-color: #eaf8fe;
|
371 |
+
}
|
372 |
+
.rc-menu-item-selected {
|
373 |
+
background-color: #eaf8fe;
|
374 |
+
-webkit-transform: translateZ(0);
|
375 |
+
transform: translateZ(0);
|
376 |
+
}
|
377 |
+
.rc-menu-submenu-selected {
|
378 |
+
background-color: #eaf8fe;
|
379 |
+
}
|
380 |
+
.rc-menu > li.rc-menu-submenu {
|
381 |
+
padding: 0;
|
382 |
+
}
|
383 |
+
.rc-menu-horizontal.rc-menu-sub,
|
384 |
+
.rc-menu-vertical.rc-menu-sub,
|
385 |
+
.rc-menu-vertical-left.rc-menu-sub,
|
386 |
+
.rc-menu-vertical-right.rc-menu-sub {
|
387 |
+
min-width: 160px;
|
388 |
+
margin-top: 0;
|
389 |
+
}
|
390 |
+
.rc-menu-item,
|
391 |
+
.rc-menu-submenu-title {
|
392 |
+
margin: 0;
|
393 |
+
position: relative;
|
394 |
+
display: block;
|
395 |
+
padding: 7px 7px 7px 16px;
|
396 |
+
white-space: nowrap;
|
397 |
+
}
|
398 |
+
.rc-menu-item.rc-menu-item-disabled,
|
399 |
+
.rc-menu-submenu-title.rc-menu-item-disabled,
|
400 |
+
.rc-menu-item.rc-menu-submenu-disabled,
|
401 |
+
.rc-menu-submenu-title.rc-menu-submenu-disabled {
|
402 |
+
color: #777 !important;
|
403 |
+
}
|
404 |
+
.rc-menu > .rc-menu-item-divider {
|
405 |
+
height: 1px;
|
406 |
+
margin: 1px 0;
|
407 |
+
overflow: hidden;
|
408 |
+
padding: 0;
|
409 |
+
line-height: 0;
|
410 |
+
background-color: #e5e5e5;
|
411 |
+
}
|
412 |
+
.rc-menu-submenu-popup {
|
413 |
+
position: absolute;
|
414 |
+
}
|
415 |
+
.rc-menu-submenu > .rc-menu {
|
416 |
+
background-color: #fff;
|
417 |
+
}
|
418 |
+
.rc-menu .rc-menu-submenu-title .anticon,
|
419 |
+
.rc-menu .rc-menu-item .anticon {
|
420 |
+
width: 14px;
|
421 |
+
height: 14px;
|
422 |
+
margin-right: 8px;
|
423 |
+
top: -1px;
|
424 |
+
}
|
425 |
+
.rc-menu-horizontal {
|
426 |
+
background-color: #F3F5F7;
|
427 |
+
border: none;
|
428 |
+
border-bottom: 1px solid transparent;
|
429 |
+
border-bottom: 1px solid #d9d9d9;
|
430 |
+
box-shadow: none;
|
431 |
+
}
|
432 |
+
.rc-menu-horizontal > .rc-menu-item,
|
433 |
+
.rc-menu-horizontal > .rc-menu-submenu > .rc-menu-submenu-title {
|
434 |
+
padding: 15px 20px;
|
435 |
+
}
|
436 |
+
.rc-menu-horizontal > .rc-menu-submenu,
|
437 |
+
.rc-menu-horizontal > .rc-menu-item {
|
438 |
+
float: left;
|
439 |
+
border-bottom: 2px solid transparent;
|
440 |
+
}
|
441 |
+
.rc-menu-horizontal > .rc-menu-submenu-active,
|
442 |
+
.rc-menu-horizontal > .rc-menu-item-active {
|
443 |
+
border-bottom: 2px solid #2db7f5;
|
444 |
+
background-color: #F3F5F7;
|
445 |
+
color: #2baee9;
|
446 |
+
}
|
447 |
+
.rc-menu-horizontal:after {
|
448 |
+
content: "\20";
|
449 |
+
display: block;
|
450 |
+
height: 0;
|
451 |
+
clear: both;
|
452 |
+
}
|
453 |
+
.rc-menu-vertical,
|
454 |
+
.rc-menu-vertical-left,
|
455 |
+
.rc-menu-vertical-right,
|
456 |
+
.rc-menu-inline {
|
457 |
+
padding: 12px 0;
|
458 |
+
}
|
459 |
+
.rc-menu-vertical > .rc-menu-item,
|
460 |
+
.rc-menu-vertical-left > .rc-menu-item,
|
461 |
+
.rc-menu-vertical-right > .rc-menu-item,
|
462 |
+
.rc-menu-inline > .rc-menu-item,
|
463 |
+
.rc-menu-vertical > .rc-menu-submenu > .rc-menu-submenu-title,
|
464 |
+
.rc-menu-vertical-left > .rc-menu-submenu > .rc-menu-submenu-title,
|
465 |
+
.rc-menu-vertical-right > .rc-menu-submenu > .rc-menu-submenu-title,
|
466 |
+
.rc-menu-inline > .rc-menu-submenu > .rc-menu-submenu-title {
|
467 |
+
padding: 12px 8px 12px 24px;
|
468 |
+
}
|
469 |
+
.rc-menu-vertical .rc-menu-submenu-arrow,
|
470 |
+
.rc-menu-vertical-left .rc-menu-submenu-arrow,
|
471 |
+
.rc-menu-vertical-right .rc-menu-submenu-arrow,
|
472 |
+
.rc-menu-inline .rc-menu-submenu-arrow {
|
473 |
+
display: inline-block;
|
474 |
+
/* no longer use fontAwesome content to add arrow */
|
475 |
+
/* font: normal normal normal 14px/1 FontAwesome; */
|
476 |
+
/* font-size: inherit; */
|
477 |
+
vertical-align: baseline;
|
478 |
+
text-align: center;
|
479 |
+
text-transform: none;
|
480 |
+
text-rendering: auto;
|
481 |
+
position: absolute;
|
482 |
+
right: 16px;
|
483 |
+
line-height: 1.5em;
|
484 |
+
|
485 |
+
width: 0;
|
486 |
+
height: 0;
|
487 |
+
border-top: 5px solid transparent;
|
488 |
+
border-bottom: 5px solid transparent;
|
489 |
+
border-radius: 35%;
|
490 |
+
top: 35%;
|
491 |
+
|
492 |
+
border-left: 5px solid #666;
|
493 |
+
}
|
494 |
+
/* no longer use fontAwesome content to add arrow */
|
495 |
+
/*
|
496 |
+
.rc-menu-vertical .rc-menu-submenu-arrow:before,
|
497 |
+
.rc-menu-vertical-left .rc-menu-submenu-arrow:before,
|
498 |
+
.rc-menu-vertical-right .rc-menu-submenu-arrow:before,
|
499 |
+
.rc-menu-inline .rc-menu-submenu-arrow:before {
|
500 |
+
content: "\f0da";
|
501 |
+
}
|
502 |
+
*/
|
503 |
+
.rc-menu-inline .rc-menu-submenu-arrow {
|
504 |
+
-webkit-transform: rotate(90deg);
|
505 |
+
transform: rotate(90deg);
|
506 |
+
transition: -webkit-transform .3s;
|
507 |
+
transition: transform .3s;
|
508 |
+
transition: transform .3s, -webkit-transform .3s;
|
509 |
+
}
|
510 |
+
.rc-menu-inline .rc-menu-submenu-open > .rc-menu-submenu-title .rc-menu-submenu-arrow {
|
511 |
+
-webkit-transform: rotate(-90deg);
|
512 |
+
transform: rotate(-90deg);
|
513 |
+
}
|
514 |
+
.rc-menu-vertical.rc-menu-sub,
|
515 |
+
.rc-menu-vertical-left.rc-menu-sub,
|
516 |
+
.rc-menu-vertical-right.rc-menu-sub {
|
517 |
+
padding: 0;
|
518 |
+
}
|
519 |
+
.rc-menu-sub.rc-menu-inline {
|
520 |
+
padding: 0;
|
521 |
+
border: none;
|
522 |
+
border-radius: 0;
|
523 |
+
box-shadow: none;
|
524 |
+
}
|
525 |
+
.rc-menu-sub.rc-menu-inline > .rc-menu-item,
|
526 |
+
.rc-menu-sub.rc-menu-inline > .rc-menu-submenu > .rc-menu-submenu-title {
|
527 |
+
padding-top: 8px;
|
528 |
+
padding-bottom: 8px;
|
529 |
+
padding-right: 0;
|
530 |
+
}
|
531 |
+
.rc-menu-open-slide-up-enter,
|
532 |
+
.rc-menu-open-slide-up-appear {
|
533 |
+
-webkit-animation-duration: .3s;
|
534 |
+
animation-duration: .3s;
|
535 |
+
-webkit-animation-fill-mode: both;
|
536 |
+
animation-fill-mode: both;
|
537 |
+
-webkit-transform-origin: 0 0;
|
538 |
+
transform-origin: 0 0;
|
539 |
+
opacity: 0;
|
540 |
+
-webkit-animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
|
541 |
+
animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
|
542 |
+
-webkit-animation-play-state: paused;
|
543 |
+
animation-play-state: paused;
|
544 |
+
}
|
545 |
+
.rc-menu-open-slide-up-leave {
|
546 |
+
-webkit-animation-duration: .3s;
|
547 |
+
animation-duration: .3s;
|
548 |
+
-webkit-animation-fill-mode: both;
|
549 |
+
animation-fill-mode: both;
|
550 |
+
-webkit-transform-origin: 0 0;
|
551 |
+
transform-origin: 0 0;
|
552 |
+
opacity: 1;
|
553 |
+
-webkit-animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);
|
554 |
+
animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);
|
555 |
+
-webkit-animation-play-state: paused;
|
556 |
+
animation-play-state: paused;
|
557 |
+
}
|
558 |
+
.rc-menu-open-slide-up-enter.rc-menu-open-slide-up-enter-active,
|
559 |
+
.rc-menu-open-slide-up-appear.rc-menu-open-slide-up-appear-active {
|
560 |
+
-webkit-animation-name: rcMenuOpenSlideUpIn;
|
561 |
+
animation-name: rcMenuOpenSlideUpIn;
|
562 |
+
-webkit-animation-play-state: running;
|
563 |
+
animation-play-state: running;
|
564 |
+
}
|
565 |
+
.rc-menu-open-slide-up-leave.rc-menu-open-slide-up-leave-active {
|
566 |
+
-webkit-animation-name: rcMenuOpenSlideUpOut;
|
567 |
+
animation-name: rcMenuOpenSlideUpOut;
|
568 |
+
-webkit-animation-play-state: running;
|
569 |
+
animation-play-state: running;
|
570 |
+
}
|
571 |
+
@-webkit-keyframes rcMenuOpenSlideUpIn {
|
572 |
+
0% {
|
573 |
+
opacity: 0;
|
574 |
+
-webkit-transform-origin: 0% 0%;
|
575 |
+
transform-origin: 0% 0%;
|
576 |
+
-webkit-transform: scaleY(0);
|
577 |
+
transform: scaleY(0);
|
578 |
+
}
|
579 |
+
100% {
|
580 |
+
opacity: 1;
|
581 |
+
-webkit-transform-origin: 0% 0%;
|
582 |
+
transform-origin: 0% 0%;
|
583 |
+
-webkit-transform: scaleY(1);
|
584 |
+
transform: scaleY(1);
|
585 |
+
}
|
586 |
+
}
|
587 |
+
@keyframes rcMenuOpenSlideUpIn {
|
588 |
+
0% {
|
589 |
+
opacity: 0;
|
590 |
+
-webkit-transform-origin: 0% 0%;
|
591 |
+
transform-origin: 0% 0%;
|
592 |
+
-webkit-transform: scaleY(0);
|
593 |
+
transform: scaleY(0);
|
594 |
+
}
|
595 |
+
100% {
|
596 |
+
opacity: 1;
|
597 |
+
-webkit-transform-origin: 0% 0%;
|
598 |
+
transform-origin: 0% 0%;
|
599 |
+
-webkit-transform: scaleY(1);
|
600 |
+
transform: scaleY(1);
|
601 |
+
}
|
602 |
+
}
|
603 |
+
@-webkit-keyframes rcMenuOpenSlideUpOut {
|
604 |
+
0% {
|
605 |
+
opacity: 1;
|
606 |
+
-webkit-transform-origin: 0% 0%;
|
607 |
+
transform-origin: 0% 0%;
|
608 |
+
-webkit-transform: scaleY(1);
|
609 |
+
transform: scaleY(1);
|
610 |
+
}
|
611 |
+
100% {
|
612 |
+
opacity: 0;
|
613 |
+
-webkit-transform-origin: 0% 0%;
|
614 |
+
transform-origin: 0% 0%;
|
615 |
+
-webkit-transform: scaleY(0);
|
616 |
+
transform: scaleY(0);
|
617 |
+
}
|
618 |
+
}
|
619 |
+
@keyframes rcMenuOpenSlideUpOut {
|
620 |
+
0% {
|
621 |
+
opacity: 1;
|
622 |
+
-webkit-transform-origin: 0% 0%;
|
623 |
+
transform-origin: 0% 0%;
|
624 |
+
-webkit-transform: scaleY(1);
|
625 |
+
transform: scaleY(1);
|
626 |
+
}
|
627 |
+
100% {
|
628 |
+
opacity: 0;
|
629 |
+
-webkit-transform-origin: 0% 0%;
|
630 |
+
transform-origin: 0% 0%;
|
631 |
+
-webkit-transform: scaleY(0);
|
632 |
+
transform: scaleY(0);
|
633 |
+
}
|
634 |
+
}
|
635 |
+
.rc-menu-open-zoom-enter,
|
636 |
+
.rc-menu-open-zoom-appear {
|
637 |
+
opacity: 0;
|
638 |
+
-webkit-animation-duration: .3s;
|
639 |
+
animation-duration: .3s;
|
640 |
+
-webkit-animation-fill-mode: both;
|
641 |
+
animation-fill-mode: both;
|
642 |
+
-webkit-transform-origin: 0 0;
|
643 |
+
transform-origin: 0 0;
|
644 |
+
-webkit-animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
|
645 |
+
animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
|
646 |
+
-webkit-animation-play-state: paused;
|
647 |
+
animation-play-state: paused;
|
648 |
+
}
|
649 |
+
.rc-menu-open-zoom-leave {
|
650 |
+
-webkit-animation-duration: .3s;
|
651 |
+
animation-duration: .3s;
|
652 |
+
-webkit-animation-fill-mode: both;
|
653 |
+
animation-fill-mode: both;
|
654 |
+
-webkit-transform-origin: 0 0;
|
655 |
+
transform-origin: 0 0;
|
656 |
+
-webkit-animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);
|
657 |
+
animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);
|
658 |
+
-webkit-animation-play-state: paused;
|
659 |
+
animation-play-state: paused;
|
660 |
+
}
|
661 |
+
.rc-menu-open-zoom-enter.rc-menu-open-zoom-enter-active,
|
662 |
+
.rc-menu-open-zoom-appear.rc-menu-open-zoom-appear-active {
|
663 |
+
-webkit-animation-name: rcMenuOpenZoomIn;
|
664 |
+
animation-name: rcMenuOpenZoomIn;
|
665 |
+
-webkit-animation-play-state: running;
|
666 |
+
animation-play-state: running;
|
667 |
+
}
|
668 |
+
.rc-menu-open-zoom-leave.rc-menu-open-zoom-leave-active {
|
669 |
+
-webkit-animation-name: rcMenuOpenZoomOut;
|
670 |
+
animation-name: rcMenuOpenZoomOut;
|
671 |
+
-webkit-animation-play-state: running;
|
672 |
+
animation-play-state: running;
|
673 |
+
}
|
674 |
+
@-webkit-keyframes rcMenuOpenZoomIn {
|
675 |
+
0% {
|
676 |
+
opacity: 0;
|
677 |
+
-webkit-transform: scale(0, 0);
|
678 |
+
transform: scale(0, 0);
|
679 |
+
}
|
680 |
+
100% {
|
681 |
+
opacity: 1;
|
682 |
+
-webkit-transform: scale(1, 1);
|
683 |
+
transform: scale(1, 1);
|
684 |
+
}
|
685 |
+
}
|
686 |
+
@keyframes rcMenuOpenZoomIn {
|
687 |
+
0% {
|
688 |
+
opacity: 0;
|
689 |
+
-webkit-transform: scale(0, 0);
|
690 |
+
transform: scale(0, 0);
|
691 |
+
}
|
692 |
+
100% {
|
693 |
+
opacity: 1;
|
694 |
+
-webkit-transform: scale(1, 1);
|
695 |
+
transform: scale(1, 1);
|
696 |
+
}
|
697 |
+
}
|
698 |
+
@-webkit-keyframes rcMenuOpenZoomOut {
|
699 |
+
0% {
|
700 |
+
-webkit-transform: scale(1, 1);
|
701 |
+
transform: scale(1, 1);
|
702 |
+
}
|
703 |
+
100% {
|
704 |
+
opacity: 0;
|
705 |
+
-webkit-transform: scale(0, 0);
|
706 |
+
transform: scale(0, 0);
|
707 |
+
}
|
708 |
+
}
|
709 |
+
@keyframes rcMenuOpenZoomOut {
|
710 |
+
0% {
|
711 |
+
-webkit-transform: scale(1, 1);
|
712 |
+
transform: scale(1, 1);
|
713 |
+
}
|
714 |
+
100% {
|
715 |
+
opacity: 0;
|
716 |
+
-webkit-transform: scale(0, 0);
|
717 |
+
transform: scale(0, 0);
|
718 |
+
}
|
719 |
+
}
|
720 |
+
|
721 |
+
button[data-balloon]{overflow:visible}[data-balloon]{position:relative;cursor:pointer}[data-balloon]:after{filter:alpha(opacity=0);-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-moz-opacity:0;-khtml-opacity:0;opacity:0;pointer-events:none;transition:all 0.18s ease-out 0.18s;font-family:sans-serif !important;font-weight:normal !important;font-style:normal !important;text-shadow:none !important;font-size:12px !important;background:rgba(17,17,17,0.9);border-radius:4px;color:#fff;content:attr(data-balloon);padding:.5em 1em;position:absolute;white-space:nowrap;z-index:10}[data-balloon]:before{background:no-repeat url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2236px%22%20height%3D%2212px%22%3E%3Cpath%20fill%3D%22rgba(17,17,17,0.9)%22%20transform%3D%22rotate(0)%22%20d%3D%22M2.658,0.000%20C-13.615,0.000%2050.938,0.000%2034.662,0.000%20C28.662,0.000%2023.035,12.002%2018.660,12.002%20C14.285,12.002%208.594,0.000%202.658,0.000%20Z%22/%3E%3C/svg%3E");background-size:100% auto;width:18px;height:6px;filter:alpha(opacity=0);-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";-moz-opacity:0;-khtml-opacity:0;opacity:0;pointer-events:none;transition:all 0.18s ease-out 0.18s;content:'';position:absolute;z-index:10}[data-balloon]:hover:before,[data-balloon]:hover:after,[data-balloon][data-balloon-visible]:before,[data-balloon][data-balloon-visible]:after{filter:alpha(opacity=100);-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";-moz-opacity:1;-khtml-opacity:1;opacity:1;pointer-events:auto}[data-balloon]:not([data-balloon-pos]):after{bottom:100%;left:50%;margin-bottom:11px;transform:translate(-50%, 10px);transform-origin:top}[data-balloon]:not([data-balloon-pos]):before{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%, 10px);transform-origin:top}[data-balloon]:not([data-balloon-pos]):hover:after,[data-balloon]:not([data-balloon-pos])[data-balloon-visible]:after{transform:translate(-50%, 0)}[data-balloon]:not([data-balloon-pos]):hover:before,[data-balloon]:not([data-balloon-pos])[data-balloon-visible]:before{transform:translate(-50%, 0)}[data-balloon].font-awesome___0v5p5:after{font-family:FontAwesome, sans-serif !important}[data-balloon][data-balloon-break]:after{white-space:pre}[data-balloon][data-balloon-blunt]:before,[data-balloon][data-balloon-blunt]:after{transition:none}[data-balloon][data-balloon-pos="up"]:after{bottom:100%;left:50%;margin-bottom:11px;transform:translate(-50%, 10px);transform-origin:top}[data-balloon][data-balloon-pos="up"]:before{bottom:100%;left:50%;margin-bottom:5px;transform:translate(-50%, 10px);transform-origin:top}[data-balloon][data-balloon-pos="up"]:hover:after,[data-balloon][data-balloon-pos="up"][data-balloon-visible]:after{transform:translate(-50%, 0)}[data-balloon][data-balloon-pos="up"]:hover:before,[data-balloon][data-balloon-pos="up"][data-balloon-visible]:before{transform:translate(-50%, 0)}[data-balloon][data-balloon-pos="up-left"]:after{bottom:100%;left:0;margin-bottom:11px;transform:translate(0, 10px);transform-origin:top}[data-balloon][data-balloon-pos="up-left"]:before{bottom:100%;left:5px;margin-bottom:5px;transform:translate(0, 10px);transform-origin:top}[data-balloon][data-balloon-pos="up-left"]:hover:after,[data-balloon][data-balloon-pos="up-left"][data-balloon-visible]:after{transform:translate(0, 0)}[data-balloon][data-balloon-pos="up-left"]:hover:before,[data-balloon][data-balloon-pos="up-left"][data-balloon-visible]:before{transform:translate(0, 0)}[data-balloon][data-balloon-pos="up-right"]:after{bottom:100%;right:0;margin-bottom:11px;transform:translate(0, 10px);transform-origin:top}[data-balloon][data-balloon-pos="up-right"]:before{bottom:100%;right:5px;margin-bottom:5px;transform:translate(0, 10px);transform-origin:top}[data-balloon][data-balloon-pos="up-right"]:hover:after,[data-balloon][data-balloon-pos="up-right"][data-balloon-visible]:after{transform:translate(0, 0)}[data-balloon][data-balloon-pos="up-right"]:hover:before,[data-balloon][data-balloon-pos="up-right"][data-balloon-visible]:before{transform:translate(0, 0)}[data-balloon][data-balloon-pos='down']:after{left:50%;margin-top:11px;top:100%;transform:translate(-50%, -10px)}[data-balloon][data-balloon-pos='down']:before{background:no-repeat url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2236px%22%20height%3D%2212px%22%3E%3Cpath%20fill%3D%22rgba(17,17,17,0.9)%22%20transform%3D%22rotate(180 18 6)%22%20d%3D%22M2.658,0.000%20C-13.615,0.000%2050.938,0.000%2034.662,0.000%20C28.662,0.000%2023.035,12.002%2018.660,12.002%20C14.285,12.002%208.594,0.000%202.658,0.000%20Z%22/%3E%3C/svg%3E");background-size:100% auto;width:18px;height:6px;left:50%;margin-top:5px;top:100%;transform:translate(-50%, -10px)}[data-balloon][data-balloon-pos='down']:hover:after,[data-balloon][data-balloon-pos='down'][data-balloon-visible]:after{transform:translate(-50%, 0)}[data-balloon][data-balloon-pos='down']:hover:before,[data-balloon][data-balloon-pos='down'][data-balloon-visible]:before{transform:translate(-50%, 0)}[data-balloon][data-balloon-pos='down-left']:after{left:0;margin-top:11px;top:100%;transform:translate(0, -10px)}[data-balloon][data-balloon-pos='down-left']:before{background:no-repeat url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2236px%22%20height%3D%2212px%22%3E%3Cpath%20fill%3D%22rgba(17,17,17,0.9)%22%20transform%3D%22rotate(180 18 6)%22%20d%3D%22M2.658,0.000%20C-13.615,0.000%2050.938,0.000%2034.662,0.000%20C28.662,0.000%2023.035,12.002%2018.660,12.002%20C14.285,12.002%208.594,0.000%202.658,0.000%20Z%22/%3E%3C/svg%3E");background-size:100% auto;width:18px;height:6px;left:5px;margin-top:5px;top:100%;transform:translate(0, -10px)}[data-balloon][data-balloon-pos='down-left']:hover:after,[data-balloon][data-balloon-pos='down-left'][data-balloon-visible]:after{transform:translate(0, 0)}[data-balloon][data-balloon-pos='down-left']:hover:before,[data-balloon][data-balloon-pos='down-left'][data-balloon-visible]:before{transform:translate(0, 0)}[data-balloon][data-balloon-pos='down-right']:after{right:0;margin-top:11px;top:100%;transform:translate(0, -10px)}[data-balloon][data-balloon-pos='down-right']:before{background:no-repeat url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2236px%22%20height%3D%2212px%22%3E%3Cpath%20fill%3D%22rgba(17,17,17,0.9)%22%20transform%3D%22rotate(180 18 6)%22%20d%3D%22M2.658,0.000%20C-13.615,0.000%2050.938,0.000%2034.662,0.000%20C28.662,0.000%2023.035,12.002%2018.660,12.002%20C14.285,12.002%208.594,0.000%202.658,0.000%20Z%22/%3E%3C/svg%3E");background-size:100% auto;width:18px;height:6px;right:5px;margin-top:5px;top:100%;transform:translate(0, -10px)}[data-balloon][data-balloon-pos='down-right']:hover:after,[data-balloon][data-balloon-pos='down-right'][data-balloon-visible]:after{transform:translate(0, 0)}[data-balloon][data-balloon-pos='down-right']:hover:before,[data-balloon][data-balloon-pos='down-right'][data-balloon-visible]:before{transform:translate(0, 0)}[data-balloon][data-balloon-pos='left']:after{margin-right:11px;right:100%;top:50%;transform:translate(10px, -50%)}[data-balloon][data-balloon-pos='left']:before{background:no-repeat url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2212px%22%20height%3D%2236px%22%3E%3Cpath%20fill%3D%22rgba(17,17,17,0.9)%22%20transform%3D%22rotate(-90 18 18)%22%20d%3D%22M2.658,0.000%20C-13.615,0.000%2050.938,0.000%2034.662,0.000%20C28.662,0.000%2023.035,12.002%2018.660,12.002%20C14.285,12.002%208.594,0.000%202.658,0.000%20Z%22/%3E%3C/svg%3E");background-size:100% auto;width:6px;height:18px;margin-right:5px;right:100%;top:50%;transform:translate(10px, -50%)}[data-balloon][data-balloon-pos='left']:hover:after,[data-balloon][data-balloon-pos='left'][data-balloon-visible]:after{transform:translate(0, -50%)}[data-balloon][data-balloon-pos='left']:hover:before,[data-balloon][data-balloon-pos='left'][data-balloon-visible]:before{transform:translate(0, -50%)}[data-balloon][data-balloon-pos='right']:after{left:100%;margin-left:11px;top:50%;transform:translate(-10px, -50%)}[data-balloon][data-balloon-pos='right']:before{background:no-repeat url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20width%3D%2212px%22%20height%3D%2236px%22%3E%3Cpath%20fill%3D%22rgba(17,17,17,0.9)%22%20transform%3D%22rotate(90 6 6)%22%20d%3D%22M2.658,0.000%20C-13.615,0.000%2050.938,0.000%2034.662,0.000%20C28.662,0.000%2023.035,12.002%2018.660,12.002%20C14.285,12.002%208.594,0.000%202.658,0.000%20Z%22/%3E%3C/svg%3E");background-size:100% auto;width:6px;height:18px;left:100%;margin-left:5px;top:50%;transform:translate(-10px, -50%)}[data-balloon][data-balloon-pos='right']:hover:after,[data-balloon][data-balloon-pos='right'][data-balloon-visible]:after{transform:translate(0, -50%)}[data-balloon][data-balloon-pos='right']:hover:before,[data-balloon][data-balloon-pos='right'][data-balloon-visible]:before{transform:translate(0, -50%)}[data-balloon][data-balloon-length='small']:after{white-space:normal;width:80px}[data-balloon][data-balloon-length='medium']:after{white-space:normal;width:150px}[data-balloon][data-balloon-length='large']:after{white-space:normal;width:260px}[data-balloon][data-balloon-length='xlarge']:after{white-space:normal;width:380px}@media screen and (max-width: 768px){[data-balloon][data-balloon-length='xlarge']:after{white-space:normal;width:90vw}}[data-balloon][data-balloon-length='fit']:after{white-space:normal;width:100%}
|
722 |
+
|
723 |
Â
/**
|
724 |
Â
* InputItemMenu Component.
|
725 |
Â
*
|
726 |
Â
*/
|
727 |
Â
|
728 |
+
.InputItemOptions___tUHoF {
|
729 |
Â
display: flex;
|
730 |
Â
}
|
731 |
Â
|
732 |
+
.InputItemButtons___\+euIA {
|
733 |
Â
}
|
734 |
Â
|
735 |
+
.InputItemButton___H9vF2 {
|
736 |
Â
background: transparent;
|
737 |
Â
border: none;
|
738 |
Â
cursor: pointer;
|
743 |
Â
outline: none;
|
744 |
Â
}
|
745 |
Â
|
746 |
+
.InputItemButton___H9vF2:hover {
|
747 |
Â
}
|
748 |
Â
|
749 |
+
.InputItemButtonDisabled___qebKo {
|
750 |
Â
display: none;
|
751 |
Â
}
|
752 |
Â
|
753 |
Â
/* InputItemType drop-down menu*/
|
754 |
Â
|
755 |
+
select.InputItemTypeSelect___XZYS0 { /* overide 'wp-admin select' */
|
756 |
Â
margin: 0 10px 0 0;
|
757 |
Â
padding: 2px;
|
758 |
Â
font-size: 1em !important; /* override #cf7s select */
|
773 |
Â
*
|
774 |
Â
*/
|
775 |
Â
|
776 |
+
.rc-menu___ObcjS {
|
777 |
Â
/* display: inline-block; */
|
778 |
Â
margin: 0;
|
779 |
Â
background: transparent;
|
780 |
Â
border:none;
|
781 |
Â
}
|
782 |
Â
|
783 |
+
.rc-menu___ObcjS .rc-menu-submenu {
|
784 |
Â
padding: 0;
|
785 |
Â
margin: 0;
|
786 |
Â
text-align: center;
|
787 |
Â
border:none;
|
788 |
Â
}
|
789 |
Â
|
790 |
+
.rc-menu___ObcjS .rc-menu-submenu > .rc-menu-submenu-title { /* make the first submenu hidden by set height:0 */
|
791 |
Â
padding: 0;
|
792 |
Â
height: 0;
|
793 |
Â
}
|
794 |
Â
|
795 |
+
.rc-menu___ObcjS .rc-menu-submenu-selected {
|
796 |
Â
background-color: transparent;
|
797 |
Â
}
|
798 |
Â
|
799 |
+
.rc-menu___ObcjS .rc-menu-submenu-active {
|
800 |
Â
border: none;
|
801 |
Â
background-color: transparent;
|
802 |
Â
color: inherit;
|
817 |
Â
.rc-menu-item, .rc-menu-submenu-title {
|
818 |
Â
cursor: default;
|
819 |
Â
}
|
820 |
+
|
821 |
Â
/**
|
822 |
Â
* Items Component.
|
823 |
Â
*
|
824 |
Â
*/
|
825 |
Â
|
826 |
+
.Items___mw7nO {
|
827 |
Â
width: 100%;
|
828 |
Â
height: 100%;
|
829 |
Â
background: #fff;
|
830 |
Â
/* padding-bottom: 15px; - not necessary */
|
831 |
Â
resize: vertical; /* not working */
|
832 |
+
}
|
833 |
Â
/**
|
834 |
Â
* Notice Component.
|
835 |
Â
*
|
836 |
Â
*/
|
837 |
Â
|
838 |
+
.FormNotice___trVVZ {
|
839 |
+
position: -webkit-sticky;
|
840 |
Â
position: sticky;
|
841 |
Â
top: 32px; /* below #wpadminbar, use https://codex.wordpress.org/Function_Reference/is_admin_bar_showing ? */
|
842 |
Â
z-index: 1;
|
843 |
Â
}
|
844 |
Â
|
845 |
+
.notice___ar1JB {
|
846 |
Â
margin: 0 !important;
|
847 |
Â
}
|
848 |
+
|
849 |
Â
/**
|
850 |
Â
* Select Item.
|
851 |
Â
*
|
852 |
Â
*/
|
853 |
Â
|
854 |
+
.node___uaeDN {
|
855 |
Â
padding: 9px 8px 8px 40px;
|
856 |
Â
border-radius: 2px;
|
857 |
Â
cursor: pointer;
|
863 |
Â
color: #2f2f2f;
|
864 |
Â
}
|
865 |
Â
|
866 |
+
.node___uaeDN:hover {
|
867 |
Â
border-color: #749ec5;
|
868 |
Â
color: #ff0303;
|
869 |
Â
}
|
870 |
Â
|
871 |
+
.node___uaeDN span.typcn,
|
872 |
+
.node___uaeDN span.dashicons {
|
873 |
Â
font-size: 18px;
|
874 |
Â
margin-right: 10px;
|
875 |
Â
display: inline-block;
|
884 |
Â
line-height: 36px !important; /* override #cf7s .dashicons */
|
885 |
Â
}
|
886 |
Â
|
887 |
+
|
888 |
+
.tipsContainer___KC7Lu {
|
889 |
Â
border: 2px solid #FF9800;
|
890 |
Â
padding: 9px 8px 8px 40px;
|
891 |
Â
border-radius: 2px;
|
898 |
Â
}
|
899 |
Â
|
900 |
Â
/* Used tipsContainer else Icon color was getting overwritten in WP interface */
|
901 |
+
.tipsContainer___KC7Lu > .tipIcon___dy-Wj {
|
902 |
Â
color:#FF9800;
|
903 |
Â
font-size: 24px;
|
904 |
Â
margin-right: 10px;
|
913 |
Â
line-height: 48px !important;
|
914 |
Â
}
|
915 |
Â
|
916 |
+
.tipIcon___dy-Wj:hover {
|
917 |
Â
color:#FF9800 !important;
|
918 |
Â
}
|
919 |
Â
|
920 |
+
.tipsContainer___KC7Lu a {
|
921 |
Â
color:#FF9800;
|
922 |
+
}
|
923 |
Â
/**
|
924 |
Â
* Select Area.
|
925 |
Â
*
|
926 |
Â
*/
|
927 |
Â
|
928 |
+
.Select___A1U5G {
|
929 |
Â
background: #fff;
|
930 |
Â
padding: 10px 15px;
|
931 |
Â
}
|
932 |
Â
|
933 |
+
.SelectHeading___x2T3u {
|
934 |
Â
font-size: 1.3em;
|
935 |
Â
margin: 1em 0;
|
936 |
Â
font-weight: 600;
|
945 |
Â
*
|
946 |
Â
*/
|
947 |
Â
|
948 |
+
.SelectContainer___eJ5eH {
|
949 |
Â
display: flex;
|
950 |
Â
margin-right: -10px;
|
951 |
Â
margin-left: -10px;
|
952 |
Â
margin-bottom: 20px;
|
953 |
Â
}
|
954 |
Â
|
955 |
+
.SelectEven___xSGwR,
|
956 |
+
.SelectOdd___CoYEK {
|
957 |
Â
width: 50%;
|
958 |
Â
min-height: 1px;
|
959 |
Â
padding-right: 10px;
|
961 |
Â
box-sizing: border-box;
|
962 |
Â
}
|
963 |
Â
|
964 |
+
.SelectItemContainer___ADjND {
|
965 |
Â
margin-bottom: 10px;
|
966 |
Â
}
|
967 |
Â
|
970 |
Â
*
|
971 |
Â
*/
|
972 |
Â
|
973 |
+
.SelectHelpButton___WtZlo {
|
974 |
Â
position: absolute !important;
|
975 |
Â
right: 0;
|
976 |
Â
border: 1px solid #ccc;
|
984 |
Â
font-weight: normal;
|
985 |
Â
}
|
986 |
Â
|
987 |
+
.SelectHelpButton___WtZlo:hover {
|
988 |
Â
border-color: #aaa;
|
989 |
Â
}
|
990 |
Â
|
991 |
Â
@media only screen and (max-width: 1080px) {
|
992 |
+
.SelectContainer___eJ5eH {
|
993 |
Â
flex-direction: column;
|
994 |
Â
}
|
995 |
+
.SelectEven___xSGwR,
|
996 |
+
.SelectOdd___CoYEK {
|
997 |
Â
width: 100%;
|
998 |
Â
}
|
999 |
Â
}
|
1000 |
Â
|
1001 |
+
|
1002 |
Â
/**
|
1003 |
Â
* TopBar Component.
|
1004 |
Â
*
|
1005 |
Â
*/
|
1006 |
Â
|
1007 |
+
.FormTopBar___sWakU {
|
1008 |
Â
width: 100%;
|
1009 |
Â
align-items: center;
|
1010 |
Â
}
|
1011 |
+
|
1012 |
Â
/**
|
1013 |
Â
* This file contains global styles by using global: scope.
|
1014 |
Â
* CSS Modules will not modify the className by webpack localIdentName.
|
1018 |
Â
.__react_component_tooltip {
|
1019 |
Â
padding: .5em 1em;
|
1020 |
Â
font-size: 12px;
|
1021 |
+
}
|
1022 |
Â
/**
|
1023 |
Â
* Form Component.
|
1024 |
Â
*
|
1025 |
Â
*/
|
1026 |
Â
|
1027 |
+
.Form___9ILE- {
|
1028 |
Â
display: flex;
|
1029 |
Â
flex-wrap: wrap;
|
1030 |
Â
width: 100%;
|
1031 |
Â
}
|
1032 |
Â
|
1033 |
+
.Content___D2WEP {
|
1034 |
Â
display: flex;
|
1035 |
Â
flex-direction: column;
|
1036 |
Â
flex-shrink: 1;
|
1038 |
Â
margin-right: 2%;
|
1039 |
Â
}
|
1040 |
Â
|
1041 |
+
.Operate___jeF-F {
|
1042 |
Â
display: flex;
|
1043 |
Â
flex-direction: column;
|
1044 |
Â
width: 29%;
|
1045 |
Â
}
|
1046 |
+
|
1047 |
+
.cf7s-visual-root___rcVnF {
|
1048 |
Â
display: flex;
|
1049 |
Â
flex-grow: 1;
|
1050 |
Â
}
|
1051 |
Â
|
1052 |
Â
/* OLD STYLES - to be removed */
|
1053 |
Â
|
1054 |
+
.top-level-container___g3Utr {
|
1055 |
Â
display: flex;
|
1056 |
Â
flex-grow: 1;
|
1057 |
Â
}
|
1064 |
Â
.cf7s #tab-visual .dashicons {
|
1065 |
Â
line-height: 1;
|
1066 |
Â
height: auto;
|
1067 |
+
}
|
includes/admin-notice.php
CHANGED
@@ -124,13 +124,13 @@ class CF7_Skins_Admin_Notice {
|
|
124 |
Â
*/
|
125 |
Â
function dismiss_update_notice() {
|
126 |
Â
// Check the nonce and if not isset the id, just die.
|
127 |
-
if ( ! isset( $_POST['nonce'] ) || ! wp_verify_nonce( $_POST['nonce'], 'cf7skins_update_notice' ) ) {
|
128 |
Â
die();
|
129 |
Â
}
|
130 |
-
|
131 |
Â
// Set skip interval based on current time
|
132 |
Â
update_option( 'cf7skins_update_notice', current_time( 'timestamp' ) + $this->skip_interval );
|
133 |
-
|
134 |
Â
exit();
|
135 |
Â
}
|
136 |
Â
|
124 |
Â
*/
|
125 |
Â
function dismiss_update_notice() {
|
126 |
Â
// Check the nonce and if not isset the id, just die.
|
127 |
+
if ( ! isset( $_POST['nonce'] ) || ! wp_verify_nonce( wp_unslash( $_POST['nonce'] ), 'cf7skins_update_notice' ) ) {
|
128 |
Â
die();
|
129 |
Â
}
|
130 |
+
|
131 |
Â
// Set skip interval based on current time
|
132 |
Â
update_option( 'cf7skins_update_notice', current_time( 'timestamp' ) + $this->skip_interval );
|
133 |
+
|
134 |
Â
exit();
|
135 |
Â
}
|
136 |
Â
|
includes/admin-visual.php
CHANGED
@@ -95,11 +95,11 @@ Class CF7_Skins_Admin_Visual {
|
|
95 |
Â
return;
|
96 |
Â
}
|
97 |
Â
|
98 |
-
$this->form_id = CF7_Skins_Contact::get_form_id( $cf7 );
|
99 |
-
|
100 |
-
//
|
101 |
-
$visual = json_decode(
|
102 |
-
|
103 |
Â
// Remove visual meta data if is emptied by user or form does not have visual data
|
104 |
Â
if ( ! $visual ) {
|
105 |
Â
delete_post_meta( $this->form_id, 'cf7s_visual' );
|
@@ -137,7 +137,7 @@ Class CF7_Skins_Admin_Visual {
|
|
137 |
Â
die();
|
138 |
Â
}
|
139 |
Â
|
140 |
-
$cf7svisual = json_decode(
|
141 |
Â
|
142 |
Â
// Callback function right before doing any update @since 2.3.0
|
143 |
Â
do_action( 'cf7s_visual_before_update', $cf7svisual );
|
@@ -159,14 +159,14 @@ Class CF7_Skins_Admin_Visual {
|
|
159 |
Â
if ( isset( $_POST['title'] ) ) {
|
160 |
Â
wp_update_post( array(
|
161 |
Â
'ID' => $form_id,
|
162 |
-
'post_title' => $_POST['title'],
|
163 |
Â
) );
|
164 |
Â
}
|
165 |
Â
|
166 |
Â
// Update select/deselect template
|
167 |
Â
|
168 |
Â
if ( $_POST['template'] ) { // selected
|
169 |
-
update_post_meta( $form_id, 'cf7s_template',
|
170 |
Â
} else { // deselected or empty
|
171 |
Â
delete_post_meta( $form_id, 'cf7s_template' );
|
172 |
Â
}
|
@@ -174,7 +174,7 @@ Class CF7_Skins_Admin_Visual {
|
|
174 |
Â
// Update select/deselect style
|
175 |
Â
|
176 |
Â
if ( $_POST['style'] ) { // selected
|
177 |
-
update_post_meta( $form_id, 'cf7s_style',
|
178 |
Â
} else { // deselected or empty
|
179 |
Â
delete_post_meta( $form_id, 'cf7s_style' );
|
180 |
Â
}
|
@@ -704,7 +704,7 @@ Class CF7_Skins_Admin_Visual {
|
|
704 |
Â
|
705 |
Â
// Read visual template file
|
706 |
Â
$templates = CF7_Skin_Template::cf7s_get_template_list();
|
707 |
-
$template = $templates[$_POST['template']];
|
708 |
Â
|
709 |
Â
// Load visual file if available
|
710 |
Â
$visual_file = 'visual.json';
|
@@ -781,7 +781,7 @@ Class CF7_Skins_Admin_Visual {
|
|
781 |
Â
|
782 |
Â
wp_enqueue_style( 'visual',
|
783 |
Â
$this->url . 'css/visual.min.css',
|
784 |
-
array(), $this->version );
|
785 |
Â
|
786 |
Â
// Enqueue wp-i18n if is not shipped with current WordPress version @since 2.3.0
|
787 |
Â
if ( ! wp_script_is( 'wp-i18n', 'registered' ) ) {
|
@@ -830,16 +830,20 @@ Class CF7_Skins_Admin_Visual {
|
|
830 |
Â
|
831 |
Â
// Localize script filter
|
832 |
Â
$localize = apply_filters( 'cf7svisual_localize_script', array(
|
833 |
-
'ajaxurl'
|
834 |
-
'versions'
|
835 |
-
'nonce'
|
836 |
-
'update'
|
837 |
Â
'options' => $options,
|
838 |
Â
'id' => $cf7 ? $cf7->id() : '', // @since 2.3.0
|
839 |
Â
'title' => $cf7 ? $cf7->title() : '',
|
840 |
Â
'items' => $items,
|
841 |
Â
'integration' => $integration,
|
842 |
Â
'environment' => defined('CF7SKINS_ENV') ? CF7SKINS_ENV : null, // @since 2.1
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
843 |
Â
) );
|
844 |
Â
|
845 |
Â
// Output visual items as a JS var
|
95 |
Â
return;
|
96 |
Â
}
|
97 |
Â
|
98 |
+
$this->form_id = (int) CF7_Skins_Contact::get_form_id( $cf7 );
|
99 |
+
|
100 |
+
// Sanitize and remove extra backslashes, decode Visual JSON data
|
101 |
+
$visual = json_decode( wpcf7_sanitize_form( wp_unslash( $_POST['cf7s-visual'] ) ) );
|
102 |
+
|
103 |
Â
// Remove visual meta data if is emptied by user or form does not have visual data
|
104 |
Â
if ( ! $visual ) {
|
105 |
Â
delete_post_meta( $this->form_id, 'cf7s_visual' );
|
137 |
Â
die();
|
138 |
Â
}
|
139 |
Â
|
140 |
+
$cf7svisual = cf7skins_sanitize_visual_data( json_decode( wp_unslash( $_POST['visual'] ) ) ); // treeData @since 2.3.0
|
141 |
Â
|
142 |
Â
// Callback function right before doing any update @since 2.3.0
|
143 |
Â
do_action( 'cf7s_visual_before_update', $cf7svisual );
|
159 |
Â
if ( isset( $_POST['title'] ) ) {
|
160 |
Â
wp_update_post( array(
|
161 |
Â
'ID' => $form_id,
|
162 |
+
'post_title' => sanitize_title( $_POST['title'] ),
|
163 |
Â
) );
|
164 |
Â
}
|
165 |
Â
|
166 |
Â
// Update select/deselect template
|
167 |
Â
|
168 |
Â
if ( $_POST['template'] ) { // selected
|
169 |
+
update_post_meta( $form_id, 'cf7s_template', sanitize_text_field( $_POST['template'] ) );
|
170 |
Â
} else { // deselected or empty
|
171 |
Â
delete_post_meta( $form_id, 'cf7s_template' );
|
172 |
Â
}
|
174 |
Â
// Update select/deselect style
|
175 |
Â
|
176 |
Â
if ( $_POST['style'] ) { // selected
|
177 |
+
update_post_meta( $form_id, 'cf7s_style', sanitize_text_field( $_POST['style'] ) );
|
178 |
Â
} else { // deselected or empty
|
179 |
Â
delete_post_meta( $form_id, 'cf7s_style' );
|
180 |
Â
}
|
704 |
Â
|
705 |
Â
// Read visual template file
|
706 |
Â
$templates = CF7_Skin_Template::cf7s_get_template_list();
|
707 |
+
$template = $templates[ sanitize_text_field( $_POST['template'] ) ];
|
708 |
Â
|
709 |
Â
// Load visual file if available
|
710 |
Â
$visual_file = 'visual.json';
|
781 |
Â
|
782 |
Â
wp_enqueue_style( 'visual',
|
783 |
Â
$this->url . 'css/visual.min.css',
|
784 |
+
array(), $this->version );
|
785 |
Â
|
786 |
Â
// Enqueue wp-i18n if is not shipped with current WordPress version @since 2.3.0
|
787 |
Â
if ( ! wp_script_is( 'wp-i18n', 'registered' ) ) {
|
830 |
Â
|
831 |
Â
// Localize script filter
|
832 |
Â
$localize = apply_filters( 'cf7svisual_localize_script', array(
|
833 |
+
'ajaxurl' => admin_url('admin-ajax.php'),
|
834 |
+
'versions' => $versions, // @since 2.1
|
835 |
+
'nonce' => wp_create_nonce( $this->nonce ), // generate a nonce for security checking
|
836 |
+
'update' => 'cf7skins_visual_update', // post action for saving
|
837 |
Â
'options' => $options,
|
838 |
Â
'id' => $cf7 ? $cf7->id() : '', // @since 2.3.0
|
839 |
Â
'title' => $cf7 ? $cf7->title() : '',
|
840 |
Â
'items' => $items,
|
841 |
Â
'integration' => $integration,
|
842 |
Â
'environment' => defined('CF7SKINS_ENV') ? CF7SKINS_ENV : null, // @since 2.1
|
843 |
+
'elements' => array( // Forms element IDs
|
844 |
+
'form' => CF7SKINS_ELEMENTS_FORM,
|
845 |
+
'textarea' => CF7SKINS_ELEMENTS_TEXTAREA,
|
846 |
+
),
|
847 |
Â
) );
|
848 |
Â
|
849 |
Â
// Output visual items as a JS var
|
includes/admin.php
CHANGED
@@ -68,20 +68,20 @@ class CF7_Skins_Admin {
|
|
68 |
Â
*/
|
69 |
Â
function cf7skins_update( $cf7 ) {
|
70 |
Â
// Get the current contact form 7 id
|
71 |
-
$form_id = CF7_Skins_Contact::get_form_id( $cf7 );
|
72 |
Â
|
73 |
Â
// Update the post meta
|
74 |
Â
if( isset( $_POST['cf7s-template'] ) ) {
|
75 |
-
update_post_meta( $form_id, 'cf7s_template',
|
76 |
Â
}
|
77 |
Â
|
78 |
Â
if( isset( $_POST['cf7s-style'] ) ) {
|
79 |
-
update_post_meta( $form_id, 'cf7s_style',
|
80 |
Â
}
|
81 |
Â
|
82 |
Â
// Update metabox state
|
83 |
Â
if( isset( $_POST['cf7s-postbox'] ) ) {
|
84 |
-
update_post_meta( $form_id, 'cf7s_postbox', $_POST['cf7s-postbox'] );
|
85 |
Â
}
|
86 |
Â
|
87 |
Â
// Add action while saving the Contact Form 7 form
|
@@ -232,8 +232,8 @@ class CF7_Skins_Admin {
|
|
232 |
Â
// Create container id for JavaScript pointer
|
233 |
Â
// This was previously added by add_meta_box() function
|
234 |
Â
echo '<div class="wrap">';
|
235 |
-
echo '<div id="cf7skins-42" class="cf7skins-metabox postbox '. $postbox_class
|
236 |
-
echo '<input type="hidden" value="'
|
237 |
Â
echo '<div title="'. __('Click to toggle', CF7SKINS_TEXTDOMAIN ) .'" class="handlediv"><br></div>';
|
238 |
Â
echo '<h3 class="hndle"><span>'. __('Skins', CF7SKINS_TEXTDOMAIN ) .'</span></h3>';
|
239 |
Â
echo '<div class="inside">';
|
@@ -395,7 +395,7 @@ class CF7_Skins_Admin {
|
|
395 |
Â
|
396 |
Â
$cf7 = WPCF7_ContactForm::get_instance( (int) $_POST['post_ID'] ); // get CF7 object
|
397 |
Â
$cf7->set_properties( // manual set CF7 form value
|
398 |
-
array( 'form' =>
|
399 |
Â
);
|
400 |
Â
|
401 |
Â
// Get all mailtags for current form
|
68 |
Â
*/
|
69 |
Â
function cf7skins_update( $cf7 ) {
|
70 |
Â
// Get the current contact form 7 id
|
71 |
+
$form_id = (int) CF7_Skins_Contact::get_form_id( $cf7 );
|
72 |
Â
|
73 |
Â
// Update the post meta
|
74 |
Â
if( isset( $_POST['cf7s-template'] ) ) {
|
75 |
+
update_post_meta( $form_id, 'cf7s_template', sanitize_text_field( $_POST['cf7s-template'] ) );
|
76 |
Â
}
|
77 |
Â
|
78 |
Â
if( isset( $_POST['cf7s-style'] ) ) {
|
79 |
+
update_post_meta( $form_id, 'cf7s_style', sanitize_text_field( $_POST['cf7s-style'] ) );
|
80 |
Â
}
|
81 |
Â
|
82 |
Â
// Update metabox state
|
83 |
Â
if( isset( $_POST['cf7s-postbox'] ) ) {
|
84 |
+
update_post_meta( $form_id, 'cf7s_postbox', sanitize_text_field( $_POST['cf7s-postbox'] ) );
|
85 |
Â
}
|
86 |
Â
|
87 |
Â
// Add action while saving the Contact Form 7 form
|
232 |
Â
// Create container id for JavaScript pointer
|
233 |
Â
// This was previously added by add_meta_box() function
|
234 |
Â
echo '<div class="wrap">';
|
235 |
+
echo '<div id="cf7skins-42" class="cf7skins-metabox postbox '. esc_attr( $postbox_class ) .'">';
|
236 |
+
echo '<input type="hidden" value="'. esc_attr( $postbox_class ) .'" class="cf7skins-42 cf7s-postbox" name="cf7s-postbox['. CF7SKINS_OPTIONS .']" />'; // postbox expand/collapse
|
237 |
Â
echo '<div title="'. __('Click to toggle', CF7SKINS_TEXTDOMAIN ) .'" class="handlediv"><br></div>';
|
238 |
Â
echo '<h3 class="hndle"><span>'. __('Skins', CF7SKINS_TEXTDOMAIN ) .'</span></h3>';
|
239 |
Â
echo '<div class="inside">';
|
395 |
Â
|
396 |
Â
$cf7 = WPCF7_ContactForm::get_instance( (int) $_POST['post_ID'] ); // get CF7 object
|
397 |
Â
$cf7->set_properties( // manual set CF7 form value
|
398 |
+
array( 'form' => wpcf7_sanitize_form( wp_unslash( $_POST['form'] ) ) ) // remove extra backslases
|
399 |
Â
);
|
400 |
Â
|
401 |
Â
// Get all mailtags for current form
|
includes/cf7-connect.php
CHANGED
@@ -397,7 +397,7 @@ class CF7_Skins_CF7_Connect {
|
|
397 |
Â
*/
|
398 |
Â
public static function get_lists( $form ) {
|
399 |
Â
|
400 |
-
$lists = array(); // handle list contains shortcode
|
401 |
Â
|
402 |
Â
// Get all current shortcode
|
403 |
Â
$scanned = self::scan_shortcode( $form );
|
@@ -416,7 +416,7 @@ class CF7_Skins_CF7_Connect {
|
|
416 |
Â
}
|
417 |
Â
|
418 |
Â
$types[] = $tag->type; // add shortcode for further text searching
|
419 |
-
}
|
420 |
Â
|
421 |
Â
libxml_use_internal_errors( true ); // handle error
|
422 |
Â
$dom = new DOMDocument( '1.0', 'utf-8' );
|
397 |
Â
*/
|
398 |
Â
public static function get_lists( $form ) {
|
399 |
Â
|
400 |
+
$types = $lists = array(); // handle list contains shortcode
|
401 |
Â
|
402 |
Â
// Get all current shortcode
|
403 |
Â
$scanned = self::scan_shortcode( $form );
|
416 |
Â
}
|
417 |
Â
|
418 |
Â
$types[] = $tag->type; // add shortcode for further text searching
|
419 |
+
}
|
420 |
Â
|
421 |
Â
libxml_use_internal_errors( true ); // handle error
|
422 |
Â
$dom = new DOMDocument( '1.0', 'utf-8' );
|
includes/export.php
CHANGED
@@ -52,8 +52,8 @@ class CF7_Skins_Export {
|
|
52 |
Â
?>
|
53 |
Â
<div style="padding:0 10px 10px 10px; text-align:right">
|
54 |
Â
<input type="submit" name="cf7skins-export"
|
55 |
-
title="<?php
|
56 |
-
class="button" value="<?php
|
57 |
Â
onclick="this.form.action.value = 'export'; return true;"
|
58 |
Â
/>
|
59 |
Â
</div>
|
52 |
Â
?>
|
53 |
Â
<div style="padding:0 10px 10px 10px; text-align:right">
|
54 |
Â
<input type="submit" name="cf7skins-export"
|
55 |
+
title="<?php esc_attr_e( 'Export this form and data to WXR format.', $this->textdomain ); ?>"
|
56 |
+
class="button" value="<?php esc_attr_e( 'Export Form', $this->textdomain ); ?>"
|
57 |
Â
onclick="this.form.action.value = 'export'; return true;"
|
58 |
Â
/>
|
59 |
Â
</div>
|
includes/label.php
CHANGED
@@ -20,7 +20,7 @@ function cf7skins_add_label_req( $form ) {
|
|
20 |
Â
|
21 |
Â
// Required feature setting
|
22 |
Â
$option = get_option( CF7SKINS_OPTIONS );
|
23 |
-
$add_asterisk = isset( $option['add_asterisk'] ) ? $option['add_asterisk'] : true;
|
24 |
Â
|
25 |
Â
foreach( $scanned as $tag ) {
|
26 |
Â
|
20 |
Â
|
21 |
Â
// Required feature setting
|
22 |
Â
$option = get_option( CF7SKINS_OPTIONS );
|
23 |
+
$add_asterisk = isset( $option['add_asterisk'] ) ? (bool) $option['add_asterisk'] : true;
|
24 |
Â
|
25 |
Â
foreach( $scanned as $tag ) {
|
26 |
Â
|
includes/sanitize.php
ADDED
@@ -0,0 +1,131 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Sanitize every value in visual data
|
5 |
+
*
|
6 |
+
* @param {Array} $data array contains of visual data node object
|
7 |
+
*
|
8 |
+
* @return {Array} sanitized $data
|
9 |
+
*
|
10 |
+
* @since 2.5.0
|
11 |
+
*/
|
12 |
+
function cf7skins_sanitize_visual_data( $data ) {
|
13 |
+
|
14 |
+
// Test unsafe data, uncheck to apply
|
15 |
+
// $dataLength = count( $data );
|
16 |
+
// $data[ rand( 0, $dataLength - 1 ) ]->cf7Name = "<em>italic</em>cf7-email";
|
17 |
+
// $data[ rand( 0, $dataLength - 1 ) ]->cf7sLabel = "<script>alert(1)</script>Show only this text";
|
18 |
+
|
19 |
+
foreach( $data as $index => $node ) { // loop each node
|
20 |
+
|
21 |
+
foreach( $node as $key => $value ) { // loop each node prop
|
22 |
+
|
23 |
+
switch ( $key ) {
|
24 |
+
case 'children': // recursive
|
25 |
+
$data[ $index ]->$key = cf7skins_sanitize_visual_data( $value );
|
26 |
+
break;
|
27 |
+
case 'cf7Required': // boolean
|
28 |
+
case 'cf7DefaultOn':
|
29 |
+
case 'cf7Invert':
|
30 |
+
case 'noChildren':
|
31 |
+
case 'cf7LabelFirst':
|
32 |
+
case 'cf7UseLabelElement':
|
33 |
+
case 'cf7Exclusive':
|
34 |
+
case 'cf7Placeholder':
|
35 |
+
case 'cf7AkismetAuthor':
|
36 |
+
case 'cf7AkismetAuthorUrl':
|
37 |
+
case 'cf7AkismetAuthorEmail':
|
38 |
+
case 'cf7Multiple':
|
39 |
+
case 'cf7IncludeBlank':
|
40 |
+
case 'expanded':
|
41 |
+
$data[ $index ]->$key = (bool) $value;
|
42 |
+
break;
|
43 |
+
case 'cf7sContent':
|
44 |
+
case 'cf7Content': // acceptance
|
45 |
+
$data[ $index ]->$key = sanitize_textarea_field( $value );
|
46 |
+
break;
|
47 |
+
case 'cf7Options':
|
48 |
+
$data[ $index ]->$key = cf7skins_sanitize_cf7_options( $value );
|
49 |
+
break;
|
50 |
+
case 'cf7TagOptions':
|
51 |
+
$data[ $index ]->$key = cf7skins_sanitize_cf7_tag_options( $value );
|
52 |
+
break;
|
53 |
+
case 'cf7sType':
|
54 |
+
case 'cf7Name':
|
55 |
+
case 'cf7sSelectGroup':
|
56 |
+
case 'cf7Name':
|
57 |
+
case 'cf7sLabel':
|
58 |
+
case 'cf7sIcon':
|
59 |
+
default:
|
60 |
+
$data[ $index ]->$key = sanitize_text_field( $value );
|
61 |
+
break;
|
62 |
+
}
|
63 |
+
}
|
64 |
+
}
|
65 |
+
|
66 |
+
return $data;
|
67 |
+
}
|
68 |
+
|
69 |
+
|
70 |
+
/**
|
71 |
+
*
|
72 |
+
* Tag options sanitazion for select, checkboxes etc.
|
73 |
+
*
|
74 |
+
* @param {Array} $options options array contains of option object
|
75 |
+
*
|
76 |
+
* @return {Array} sanitized options
|
77 |
+
*
|
78 |
+
* @since 2.5.0
|
79 |
+
*/
|
80 |
+
function cf7skins_sanitize_cf7_options( $options ) {
|
81 |
+
|
82 |
+
foreach( $options as $index => $option ) {
|
83 |
+
foreach( $option as $key => $value ) {
|
84 |
+
switch ( $key ) {
|
85 |
+
case 'isChecked':
|
86 |
+
$options[ $index ]->$key = (bool) $value;
|
87 |
+
break;
|
88 |
+
case 'question':
|
89 |
+
case 'answer':
|
90 |
+
case 'value':
|
91 |
+
default:
|
92 |
+
$options[ $index ]->$key = sanitize_text_field( $value );
|
93 |
+
break;
|
94 |
+
}
|
95 |
+
}
|
96 |
+
}
|
97 |
+
|
98 |
+
return $options;
|
99 |
+
}
|
100 |
+
|
101 |
+
/**
|
102 |
+
*
|
103 |
+
* Tag attribute options sanitazion.
|
104 |
+
*
|
105 |
+
* @param {Array} $options options array contains of option object
|
106 |
+
*
|
107 |
+
* @return {Array} sanitized options
|
108 |
+
*
|
109 |
+
* @since 2.5.0
|
110 |
+
*/
|
111 |
+
function cf7skins_sanitize_cf7_tag_options( $options ) {
|
112 |
+
|
113 |
+
foreach( $options as $index => $option ) {
|
114 |
+
foreach( $option as $key => $value ) {
|
115 |
+
switch ( $key ) {
|
116 |
+
case 'isChecked':
|
117 |
+
$options[ $index ]->$key = (bool) $value;
|
118 |
+
break;
|
119 |
+
case 'cf7Option':
|
120 |
+
case 'optionLabel':
|
121 |
+
case 'optionType':
|
122 |
+
case 'optionLabeloptionLabel': // translation ?
|
123 |
+
default:
|
124 |
+
$options[ $index ]->$key = sanitize_text_field( $value );
|
125 |
+
break;
|
126 |
+
}
|
127 |
+
}
|
128 |
+
}
|
129 |
+
|
130 |
+
return $options;
|
131 |
+
}
|
includes/settings.php
CHANGED
@@ -32,9 +32,9 @@ class CF7_Skins_Settings {
|
|
32 |
Â
$this->slug = CF7SKINS_OPTIONS;
|
33 |
Â
$this->textdomain = CF7SKINS_TEXTDOMAIN;
|
34 |
Â
|
35 |
-
$this->section = isset( $_GET['tab'] ) ? $_GET['tab'] : 'advanced';
|
36 |
Â
$this->options = get_option( $this->slug );
|
37 |
-
|
38 |
Â
add_action( 'admin_menu', array( $this, 'add_menu_page' ) );
|
39 |
Â
add_action( 'admin_init', array( $this, 'page_init' ) );
|
40 |
Â
add_action( 'cf7skins_section_getting-started', array( $this, 'getting_started_section' ) );
|
@@ -110,24 +110,28 @@ class CF7_Skins_Settings {
|
|
110 |
Â
<?php
|
111 |
Â
foreach( $this->tabs as $tab => $name ) {
|
112 |
Â
$class = ( $tab == $this->section ) ? ' nav-tab-active' : '';
|
113 |
-
|
Â
|
|
114 |
Â
}
|
115 |
Â
?>
|
116 |
Â
</h2>
|
117 |
Â
<form method="post" action="options.php">
|
118 |
Â
<?php
|
119 |
Â
settings_fields( $this->slug );
|
120 |
-
|
Â
|
|
Â
|
|
Â
|
|
121 |
Â
echo '<table class="form-table">';
|
122 |
Â
do_settings_fields( $this->slug, $this->section );
|
123 |
Â
echo '</table>';
|
124 |
-
|
125 |
Â
/**
|
126 |
Â
* Allow other functions to create options for the setting section
|
127 |
Â
* @since 0.1.0
|
128 |
Â
*/
|
129 |
Â
do_action( "cf7skins_section_{$this->section}" );
|
130 |
-
|
131 |
Â
submit_button( __( 'Save Changes', $this->textdomain ) );
|
132 |
Â
?>
|
133 |
Â
</form>
|
@@ -323,8 +327,8 @@ class CF7_Skins_Settings {
|
|
323 |
Â
|
324 |
Â
switch ( $type ) {
|
325 |
Â
case 'textarea':
|
326 |
-
printf( '<textarea id="%1$s" name="'
|
327 |
-
$id, isset( $this->options[$id] ) ? $this->options[$id] : '' );
|
328 |
Â
break;
|
329 |
Â
|
330 |
Â
case 'checkbox':
|
@@ -332,12 +336,12 @@ class CF7_Skins_Settings {
|
|
332 |
Â
$value = isset( $this->options[$id] ) ? $this->options[$id] : array();
|
333 |
Â
foreach( $detail as $k => $v )
|
334 |
Â
printf( '<label><input id="%1$s" name="'.$this->slug.'[%1$s][%2$s]" type="checkbox" value="1" %3$s />%4$s</label><br />',
|
335 |
-
$id, $k, isset( $value[$k] ) ? 'checked="checked"' : '', $v );
|
336 |
Â
|
337 |
Â
} else {
|
338 |
Â
$value = isset( $this->options[$id] ) ? $this->options[$id] : $this->fields[$id]['default'];
|
339 |
Â
printf( '<label><input id="%1$s" name="'.$this->slug.'[%1$s]" type="checkbox" value="1" %2$s />%3$s</label>',
|
340 |
-
$id, $value ? 'checked="checked"' : '', $detail );
|
341 |
Â
}
|
342 |
Â
break;
|
343 |
Â
|
@@ -345,15 +349,15 @@ class CF7_Skins_Settings {
|
|
345 |
Â
foreach ( $this->color_scheme() as $color => $color_info ) {
|
346 |
Â
$selected = $this->options[$id] == $color ? ' selected' : '';
|
347 |
Â
echo'
|
348 |
-
<div class="color-option'
|
349 |
-
<input type="radio" '.checked( $this->options[$id], $color, false ).' class="tog" value="'. $color .'" name="'
|
350 |
-
<input type="hidden" value="'. $color_info->url .'" class="css_url" />
|
351 |
-
<label for="admin_color_fresh">'
|
352 |
Â
<table class="color-palette">
|
353 |
Â
<tbody>
|
354 |
Â
<tr>';
|
355 |
Â
foreach( $color_info->colors as $bgcolor )
|
356 |
-
echo '<td style="background-color: '
|
357 |
Â
|
358 |
Â
echo'
|
359 |
Â
</tr>
|
@@ -363,42 +367,70 @@ class CF7_Skins_Settings {
|
|
363 |
Â
}
|
364 |
Â
break;
|
365 |
Â
|
366 |
-
case 'license':
|
367 |
-
$disable =
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
} else {
|
374 |
-
if( $status == 'invalid' )
|
375 |
-
echo '<span style="color:red;padding:0 10px;font-size:12px">'. __( 'invalid', CF7SKINS_TEXTDOMAIN ) .'</span>';
|
376 |
-
|
377 |
-
echo ' <input type="submit" class="button" name="'. "{$this->slug}[$id" .'_activate]" value="'. __('Activate License',CF7SKINS_TEXTDOMAIN) .'"/>';
|
378 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
379 |
Â
break;
|
380 |
Â
|
381 |
Â
case 'info':
|
382 |
Â
do_action( 'cf7skins_setting_info', $args );
|
383 |
Â
break;
|
384 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
385 |
Â
case 'text':
|
386 |
Â
case 'number':
|
387 |
-
|
388 |
-
default:
|
389 |
Â
printf( '<input id="%1$s" name="'.$this->slug.'[%1$s]" value="%2$s" class="regular-text" type="%3$s" />',
|
390 |
-
$id, isset( $this->options[$id] ) ? $this->options[$id] : '', $type );
|
391 |
Â
break;
|
392 |
Â
}
|
393 |
Â
|
394 |
-
if( isset( $description ) ){
|
395 |
Â
switch ( $type ) {
|
396 |
-
case 'license': // Don't display activation instructions
|
397 |
-
if( $
|
398 |
-
|
Â
|
|
Â
|
|
399 |
Â
}
|
Â
|
|
400 |
Â
default:
|
401 |
-
echo '<p class="description">'. $description .'</p>';
|
402 |
Â
break;
|
403 |
Â
}
|
404 |
Â
}
|
32 |
Â
$this->slug = CF7SKINS_OPTIONS;
|
33 |
Â
$this->textdomain = CF7SKINS_TEXTDOMAIN;
|
34 |
Â
|
35 |
+
$this->section = isset( $_GET['tab'] ) ? sanitize_text_field( $_GET['tab'] ) : 'advanced';
|
36 |
Â
$this->options = get_option( $this->slug );
|
37 |
+
|
38 |
Â
add_action( 'admin_menu', array( $this, 'add_menu_page' ) );
|
39 |
Â
add_action( 'admin_init', array( $this, 'page_init' ) );
|
40 |
Â
add_action( 'cf7skins_section_getting-started', array( $this, 'getting_started_section' ) );
|
110 |
Â
<?php
|
111 |
Â
foreach( $this->tabs as $tab => $name ) {
|
112 |
Â
$class = ( $tab == $this->section ) ? ' nav-tab-active' : '';
|
113 |
+
printf( '<a class="nav-tab%1$s tab-%2$s" href="?page=%3$s&tab=%2$s">%4$s</a>',
|
114 |
+
esc_attr( $class ), esc_attr( $tab ), esc_attr( $this->slug ), esc_attr( $name ) );
|
115 |
Â
}
|
116 |
Â
?>
|
117 |
Â
</h2>
|
118 |
Â
<form method="post" action="options.php">
|
119 |
Â
<?php
|
120 |
Â
settings_fields( $this->slug );
|
121 |
+
|
122 |
+
// Store current active section
|
123 |
+
echo "<input name='". esc_attr( $this->slug ) . "[section]' value='" . esc_attr( $this->section ) . "' type='hidden' />";
|
124 |
+
|
125 |
Â
echo '<table class="form-table">';
|
126 |
Â
do_settings_fields( $this->slug, $this->section );
|
127 |
Â
echo '</table>';
|
128 |
+
|
129 |
Â
/**
|
130 |
Â
* Allow other functions to create options for the setting section
|
131 |
Â
* @since 0.1.0
|
132 |
Â
*/
|
133 |
Â
do_action( "cf7skins_section_{$this->section}" );
|
134 |
+
|
135 |
Â
submit_button( __( 'Save Changes', $this->textdomain ) );
|
136 |
Â
?>
|
137 |
Â
</form>
|
327 |
Â
|
328 |
Â
switch ( $type ) {
|
329 |
Â
case 'textarea':
|
330 |
+
printf( '<textarea id="%1$s" name="'. $this->slug .'[%1$s]" cols="50" rows="5" class="large-text">%2$s</textarea>',
|
331 |
+
esc_attr( $id ), isset( $this->options[ $id ] ) ? esc_attr( $this->options[ $id ] ) : '' );
|
332 |
Â
break;
|
333 |
Â
|
334 |
Â
case 'checkbox':
|
336 |
Â
$value = isset( $this->options[$id] ) ? $this->options[$id] : array();
|
337 |
Â
foreach( $detail as $k => $v )
|
338 |
Â
printf( '<label><input id="%1$s" name="'.$this->slug.'[%1$s][%2$s]" type="checkbox" value="1" %3$s />%4$s</label><br />',
|
339 |
+
esc_attr( $id ), esc_attr( $k ), isset( $value[$k] ) ? 'checked="checked"' : '', esc_attr( $v ) );
|
340 |
Â
|
341 |
Â
} else {
|
342 |
Â
$value = isset( $this->options[$id] ) ? $this->options[$id] : $this->fields[$id]['default'];
|
343 |
Â
printf( '<label><input id="%1$s" name="'.$this->slug.'[%1$s]" type="checkbox" value="1" %2$s />%3$s</label>',
|
344 |
+
esc_attr( $id ), esc_attr( $value ) ? 'checked="checked"' : '', esc_attr( $detail ) );
|
345 |
Â
}
|
346 |
Â
break;
|
347 |
Â
|
349 |
Â
foreach ( $this->color_scheme() as $color => $color_info ) {
|
350 |
Â
$selected = $this->options[$id] == $color ? ' selected' : '';
|
351 |
Â
echo'
|
352 |
+
<div class="color-option'. esc_attr( $selected ) .'">
|
353 |
+
<input type="radio" '. checked( $this->options[$id], $color, false ) . ' class="tog" value="'. esc_attr( $color ) .'" name="'. $this->slug .'[color_scheme]" />
|
354 |
+
<input type="hidden" value="'. esc_url( $color_info->url ) .'" class="css_url" />
|
355 |
+
<label for="admin_color_fresh">'. esc_attr( $color_info->name ) . '</label>
|
356 |
Â
<table class="color-palette">
|
357 |
Â
<tbody>
|
358 |
Â
<tr>';
|
359 |
Â
foreach( $color_info->colors as $bgcolor )
|
360 |
+
echo '<td style="background-color: '. esc_attr( $bgcolor ) .'"> </td>';
|
361 |
Â
|
362 |
Â
echo'
|
363 |
Â
</tr>
|
367 |
Â
}
|
368 |
Â
break;
|
369 |
Â
|
370 |
+
case 'license':
|
371 |
+
$disable = ''; // disabled HTML attribute if status valid and license key exists
|
372 |
+
|
373 |
+
if ( isset( $this->options[$id] ) && ! empty( $this->options[ $id ] ) ) { // license key exists
|
374 |
+
if ( $status !== false && $status == 'valid' ) { // license key valid
|
375 |
+
$disable = ' disabled';
|
376 |
+
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
377 |
Â
}
|
378 |
+
|
379 |
+
if ( isset( $this->options[$id] ) && ! empty( $this->options[ $id ] ) ) { // license key exists
|
380 |
+
printf( '<input id="%1$s" name="'.$this->slug.'[%1$s]" value="%2$s" class="regular-text license-key" type="text"'. $disable .'/>',
|
381 |
+
esc_attr( $id ), isset( $this->options[$id] ) ? esc_attr( $this->options[$id] ) : '', esc_attr( $type ) );
|
382 |
+
|
383 |
+
if ( $status !== false && $status == 'valid' ) {
|
384 |
+
$deactivate_name = $this->slug . '[' . $id . '_deactivate]';
|
385 |
+
echo '<span style="color:green;padding:0 10px;font-size:12px">'. __( 'active', CF7SKINS_TEXTDOMAIN ) .'</span>';
|
386 |
+
echo '<input type="submit" class="button" name="'. esc_attr( $deactivate_name ) . '" value="'. __('Deactivate License',CF7SKINS_TEXTDOMAIN) .'"/>';
|
387 |
+
} else {
|
388 |
+
if ( $status == 'invalid' ) {
|
389 |
+
echo '<span style="color:red;padding:0 10px;font-size:12px">'. __( 'invalid', CF7SKINS_TEXTDOMAIN ) .'</span>';
|
390 |
+
}
|
391 |
+
|
392 |
+
$activate_name = $this->slug . '[' . $id . '_activate]';
|
393 |
+
echo ' <input type="submit" class="button" name="' . esc_attr( $activate_name ) . '" value="'. __('Activate License',CF7SKINS_TEXTDOMAIN) .'"/>';
|
394 |
+
}
|
395 |
+
|
396 |
+
} else { // license key is not exist or broken
|
397 |
+
printf( '<input id="%1$s" name="'.$this->slug.'[%1$s]" value="%2$s" class="regular-text license-key" type="text"'. $disable .'/>',
|
398 |
+
esc_attr( $id ), isset( $this->options[$id] ) ? esc_attr( $this->options[$id] ) : '', esc_attr( $type ) );
|
399 |
+
|
400 |
+
$activate_name = $this->slug . '[' . $id . '_activate]';
|
401 |
+
echo ' <input type="submit" class="button" name="' . esc_attr( $activate_name ) . '" value="'. __('Activate License',CF7SKINS_TEXTDOMAIN) .'"/>';
|
402 |
+
}
|
403 |
+
|
404 |
Â
break;
|
405 |
Â
|
406 |
Â
case 'info':
|
407 |
Â
do_action( 'cf7skins_setting_info', $args );
|
408 |
Â
break;
|
409 |
Â
|
410 |
+
case 'url':
|
411 |
+
printf( '<input id="%1$s" name="'.$this->slug.'[%1$s]" value="%2$s" class="regular-text" type="%3$s" />',
|
412 |
+
$id, isset( $this->options[$id] ) ? esc_url( $this->options[$id] ) : '', esc_attr( $type ) );
|
413 |
+
break;
|
414 |
+
|
415 |
Â
case 'text':
|
416 |
Â
case 'number':
|
417 |
+
default:
|
Â
|
|
418 |
Â
printf( '<input id="%1$s" name="'.$this->slug.'[%1$s]" value="%2$s" class="regular-text" type="%3$s" />',
|
419 |
+
$id, isset( $this->options[$id] ) ? esc_attr( $this->options[$id] ) : '', esc_attr( $type ) );
|
420 |
Â
break;
|
421 |
Â
}
|
422 |
Â
|
423 |
+
if ( isset( $description ) ){
|
424 |
Â
switch ( $type ) {
|
425 |
+
case 'license': // Don't display activation instructions for valid license
|
426 |
+
if ( isset( $this->options[$id] ) && ! empty( $this->options[ $id ] ) ) { // license key exists
|
427 |
+
if ( $status !== false && $status == 'valid' ) { // license key valid
|
428 |
+
break;
|
429 |
+
}
|
430 |
Â
}
|
431 |
+
|
432 |
Â
default:
|
433 |
+
echo '<p class="description">'. esc_html( $description ) .'</p>';
|
434 |
Â
break;
|
435 |
Â
}
|
436 |
Â
}
|
includes/skin.php
CHANGED
@@ -55,7 +55,7 @@ class CF7_Skin {
|
|
55 |
Â
* @since 0.1.0
|
56 |
Â
*/
|
57 |
Â
function get_slug_name( $skin ) {
|
58 |
-
echo str_replace(' ', '-', $skin['dir'] );
|
59 |
Â
}
|
60 |
Â
|
61 |
Â
/**
|
55 |
Â
* @since 0.1.0
|
56 |
Â
*/
|
57 |
Â
function get_slug_name( $skin ) {
|
58 |
+
echo str_replace(' ', '-', sanitize_text_field( $skin['dir'] ) );
|
59 |
Â
}
|
60 |
Â
|
61 |
Â
/**
|
includes/style.php
CHANGED
@@ -226,14 +226,12 @@ class CF7_Skin_Style extends CF7_Skin {
|
|
226 |
Â
} else {
|
227 |
Â
echo '<div class="filters-group">';
|
228 |
Â
}
|
229 |
-
|
230 |
-
|
231 |
-
echo '<h4 class="feature-name">' . $feature_name . '</h4>';
|
232 |
Â
echo '<ol class="feature-group">';
|
233 |
Â
foreach ( $features as $feature => $feature_name ) {
|
234 |
-
$feature = esc_attr( $feature );
|
235 |
-
echo '<
|
236 |
-
echo '<label for="tab-style-' . $feature . '">' . $feature_name . '</label></li>';
|
237 |
Â
}
|
238 |
Â
echo '</ol>';
|
239 |
Â
echo '</div>';
|
@@ -268,7 +266,7 @@ class CF7_Skin_Style extends CF7_Skin {
|
|
268 |
Â
<?php foreach( $this->cf7s_get_style_list() as $style )
|
269 |
Â
$this->cf7s_details_view( $style ); ?>
|
270 |
Â
</div>
|
271 |
-
<input type="hidden" value="<?php echo $val; ?>" name="cf7s-style" id="cf7s-style" />
|
272 |
Â
<?php
|
273 |
Â
}
|
274 |
Â
|
@@ -293,12 +291,14 @@ class CF7_Skin_Style extends CF7_Skin {
|
|
293 |
Â
</ul>
|
294 |
Â
|
295 |
Â
<div class="selected-skin">
|
296 |
-
<span class="selected-template"><?php _e( 'Template', CF7SKINS_TEXTDOMAIN ); ?>: [<span><?php echo $this->get_skin_name( 'template' ) ?></span>]</span>
|
297 |
-
<span class="selected-style"><?php _e( 'Style', CF7SKINS_TEXTDOMAIN ); ?>: [<span><?php echo $this->get_skin_name( 'style' ) ?></span>]</span>
|
298 |
Â
</div>
|
299 |
Â
|
300 |
Â
<?php if( CF7SKINS_FEATURE_FILTER ) : ?>
|
301 |
-
<a class="drawer-toggle balloon" title="<?php _e( 'Narrow your choices based on your specific requirements', $this->textdomain ); ?>" href="#">
|
Â
|
|
Â
|
|
302 |
Â
<?php endif; ?>
|
303 |
Â
|
304 |
Â
<div class="search-form">
|
@@ -308,7 +308,10 @@ class CF7_Skin_Style extends CF7_Skin {
|
|
308 |
Â
|
309 |
Â
<div class="filter-drawer">
|
310 |
Â
<div class="buttons">
|
311 |
-
<a class="apply-filters button button-secondary balloon" href="#" title="<?php _e('Check all the boxes that meet your specific requirements and then click apply filters.', $this->textdomain); ?>"
|
Â
|
|
Â
|
|
Â
|
|
312 |
Â
<a class="clear-filters button button-secondary balloon" href="#"><?php _e('Clear', $this->textdomain); ?></a>
|
313 |
Â
</div>
|
314 |
Â
|
@@ -320,13 +323,12 @@ class CF7_Skin_Style extends CF7_Skin {
|
|
320 |
Â
} else {
|
321 |
Â
echo '<div class="filter-group">';
|
322 |
Â
}
|
323 |
-
|
324 |
-
echo '<h4 class="feature-name">' . $feature_name . '</h4>';
|
325 |
Â
echo '<ol class="feature-group">';
|
326 |
Â
foreach ( $features as $feature => $feature_name ) {
|
327 |
-
$feature = esc_attr( $feature );
|
328 |
-
echo '<
|
329 |
-
echo '<label for="tab-style-' . $feature . '">' . $feature_name . '</label></li>';
|
330 |
Â
}
|
331 |
Â
echo '</ol>';
|
332 |
Â
echo '</div>';
|
@@ -340,7 +342,9 @@ class CF7_Skin_Style extends CF7_Skin {
|
|
340 |
Â
</div>
|
341 |
Â
|
342 |
Â
<div class="skins-sort">
|
343 |
-
<label class="balloon" for="skins-sort" title="<?php _e( 'Sort by Name, Date and License (free or pro) – use arrow to reverse sort order', $this->textdomain ); ?>"
|
Â
|
|
Â
|
|
344 |
Â
<select class="sort-by balloon" name="sort-by" title="" autocomplete="off">
|
345 |
Â
<option value="name" selected="selected"><?php _e( 'Name', $this->textdomain ); ?></option>
|
346 |
Â
<option value="date"><?php _e( 'Date', $this->textdomain ); ?></option>
|
@@ -359,7 +363,7 @@ class CF7_Skin_Style extends CF7_Skin {
|
|
359 |
Â
$this->cf7s_details_view( $style ); ?>
|
360 |
Â
</div>
|
361 |
Â
|
362 |
-
<input type="hidden" value="<?php echo $val; ?>" name="cf7s-style" id="cf7s-style" />
|
363 |
Â
<?php
|
364 |
Â
}
|
365 |
Â
|
@@ -378,7 +382,7 @@ class CF7_Skin_Style extends CF7_Skin {
|
|
378 |
Â
//print_r( $styles );
|
379 |
Â
|
380 |
Â
// Get the current contact form ID, check if request comes from AJAX
|
381 |
-
$id = isset( $_POST['id'] ) ? $_POST['id'] : $this->get_id();
|
382 |
Â
|
383 |
Â
foreach( $styles as $key => $style ) {
|
384 |
Â
$class = $style['dir'] == get_post_meta( $id, 'cf7s_style', true ) ? ' selected' : '';
|
@@ -393,16 +397,16 @@ class CF7_Skin_Style extends CF7_Skin {
|
|
393 |
Â
if ( defined( 'CF7SKINSPRO_PATH' ) )
|
394 |
Â
$license = strpos( $style['path'], CF7SKINSPRO_PATH ) !== false ? 'pro' : $license;
|
395 |
Â
?>
|
396 |
-
<div class="<?php echo $skin_class; ?>" data-name="<?php echo $key; ?>" data-date="<?php echo $date; ?>" data-license="<?php echo $license; ?>">
|
397 |
Â
<div class="wrapper">
|
398 |
-
<h4 class="skin-name"><?php echo $style['details']['Style Name']; ?></h4>
|
399 |
Â
<div class="thumbnail">
|
400 |
Â
<?php $imgpath = $style['path'] . $style['dir'] . '/thumbnail.png'; ?>
|
401 |
Â
<?php $imgurl = $style['url'] . $style['dir'] . '/thumbnail.png'; ?>
|
402 |
-
<img src="<?php echo file_exists( $imgpath ) ? $imgurl : CF7SKINS_URL . 'images/no-preview.png'; ?>" />
|
403 |
Â
</div>
|
404 |
Â
<ul class="wp-clearfix skin-action">
|
405 |
-
<li><a class="select<?php echo $class; ?> balloon" title="<?php _e( 'Select to apply the Style to your form - is applied to your form once you Save.',$this->textdomain ); ?>" data-value="<?php $this->get_slug_name( $style ); ?>" href="#cf7s-style"><?php echo $select_text; ?></a></li>
|
406 |
Â
<li><a class="detail balloon" title="<?php _e( 'Show detailed information about this Style - overview of the appearance and layout with description and usage details.' ,$this->textdomain ); ?>" href="#<?php $this->get_slug_name( $style ); ?>"><?php _e('Details', $this->textdomain ); ?></a></li>
|
407 |
Â
</ul>
|
408 |
Â
</div>
|
@@ -421,49 +425,49 @@ class CF7_Skin_Style extends CF7_Skin {
|
|
421 |
Â
* @since 0.1.0
|
422 |
Â
*/
|
423 |
Â
function cf7s_details_view( $style ) {
|
424 |
-
|
425 |
Â
$class = $style['dir'] == get_post_meta( $this->get_id(), 'cf7s_style', true ) ? ' selected' : ''; // set link class
|
426 |
Â
$select_text = $style['dir'] == get_post_meta( $this->get_id(), 'cf7s_style', true ) ? __('Selected', $this->textdomain) : __('Select', $this->textdomain);
|
427 |
Â
?>
|
428 |
-
<div id="<?php $this->get_slug_name( $style ); ?>" class="details hidden">
|
429 |
Â
<div class="details-view">
|
430 |
Â
<div class="block-thumbnail">
|
431 |
-
<img src="<?php echo $style['url'] . $style['dir'] . '/thumbnail.png'; ?>" />
|
432 |
Â
</div>
|
433 |
Â
<div class="block-details"><div>
|
434 |
Â
<ul class="wp-clearfix skin-action">
|
435 |
-
<li><a class="balloon view" data-value="<?php $this->get_slug_name( $style ); ?>" href="#cf7s-style" title="<?php _e( 'Use Expanded View to view Styles features - shows all form fields available in Contact Form 7.', $this->textdomain ); ?>"><?php _e('Expanded View', $this->textdomain ); ?></a></li>
|
436 |
-
<li><a class="balloon select<?php echo $class; ?>" data-value="<?php $this->get_slug_name( $style ); ?>" href="#cf7s-style" title="<?php _e( 'Select to apply the Style to your form - is applied to your form once you Save.', $this->textdomain ); ?>"><?php echo $select_text; ?></a></li>
|
437 |
Â
<li><a class="balloon close" href="#" title="<?php _e( 'Return to Style Gallery/Grid view.', $this->textdomain ); ?>"><?php _e('Close', $this->textdomain ); ?></a></li>
|
438 |
Â
</ul>
|
439 |
Â
<?php // print_r( $style ); ?>
|
440 |
-
<h1><?php echo $style['details']['Style Name']; ?></h1>
|
441 |
Â
|
442 |
Â
<h4><strong><?php _e('Description', $this->textdomain ); ?></strong></h4>
|
443 |
-
<p class="description"><?php echo $style['details']['Description']; ?></p>
|
444 |
Â
|
445 |
Â
<h4><strong><?php _e('Instructions', $this->textdomain ); ?></strong></h4>
|
446 |
-
<p class="description"><?php echo $style['details']['Instructions']; ?></p>
|
447 |
Â
</div></div>
|
448 |
Â
</div>
|
449 |
Â
|
450 |
Â
<div class="expanded-view">
|
451 |
Â
<ul class="wp-clearfix skin-action">
|
452 |
-
<li><a class="balloon view" data-value="<?php $this->get_slug_name( $style ); ?>" href="#cf7s-style" title="<?php _e( 'Return to Details View', $this->textdomain ); ?>"><?php _e('Details View', $this->textdomain ); ?></a></li>
|
453 |
-
<li><a class="balloon select<?php echo $class; ?>" data-value="<?php $this->get_slug_name( $style ); ?>" href="#cf7s-style" title="<?php _e( 'Select to apply the Style to your form - is applied to your form once you Save', $this->textdomain ); ?>"><?php echo $select_text; ?></a></li>
|
454 |
Â
<li><a class="balloon close" href="#" title="<?php _e( 'Return to Style Gallery/Grid View', $this->textdomain ); ?>"><?php _e('Close', $this->textdomain ); ?></a></li>
|
455 |
Â
</ul>
|
456 |
Â
|
457 |
-
<h1><?php echo $style['details']['Style Name']; ?></h1>
|
458 |
Â
|
459 |
Â
<div class="large-thumbnail">
|
460 |
-
<img src="<?php echo $this->get_skin_modal( $style ); ?>" />
|
461 |
Â
</div>
|
462 |
Â
<h4><strong><?php _e('Description', $this->textdomain ); ?></strong></h4>
|
463 |
-
<p class="description"><?php echo $style['details']['Description']; ?></p>
|
464 |
Â
|
465 |
Â
<h4><strong><?php _e('Instructions', $this->textdomain ); ?></strong></h4>
|
466 |
-
<p class="description"><?php echo $style['details']['Instructions']; ?></p>
|
467 |
Â
</div>
|
468 |
Â
</div>
|
469 |
Â
<?php
|
226 |
Â
} else {
|
227 |
Â
echo '<div class="filters-group">';
|
228 |
Â
}
|
229 |
+
|
230 |
+
echo '<h4 class="feature-name">' . esc_attr( $feature_name ) . '</h4>';
|
Â
|
|
231 |
Â
echo '<ol class="feature-group">';
|
232 |
Â
foreach ( $features as $feature => $feature_name ) {
|
233 |
+
echo '<li><input type="checkbox" id="tab-style-' . esc_attr( $feature ) . '" value="' . esc_attr( $feature ) . '" /> ';
|
234 |
+
echo '<label for="tab-style-' . esc_attr( $feature ) . '">' . esc_attr( $feature_name ) . '</label></li>';
|
Â
|
|
235 |
Â
}
|
236 |
Â
echo '</ol>';
|
237 |
Â
echo '</div>';
|
266 |
Â
<?php foreach( $this->cf7s_get_style_list() as $style )
|
267 |
Â
$this->cf7s_details_view( $style ); ?>
|
268 |
Â
</div>
|
269 |
+
<input type="hidden" value="<?php echo esc_attr( $val ); ?>" name="cf7s-style" id="cf7s-style" />
|
270 |
Â
<?php
|
271 |
Â
}
|
272 |
Â
|
291 |
Â
</ul>
|
292 |
Â
|
293 |
Â
<div class="selected-skin">
|
294 |
+
<span class="selected-template"><?php _e( 'Template', CF7SKINS_TEXTDOMAIN ); ?>: [<span><?php echo esc_attr( $this->get_skin_name( 'template' ) ); ?></span>]</span>
|
295 |
+
<span class="selected-style"><?php _e( 'Style', CF7SKINS_TEXTDOMAIN ); ?>: [<span><?php echo esc_attr( $this->get_skin_name( 'style' ) ); ?></span>]</span>
|
296 |
Â
</div>
|
297 |
Â
|
298 |
Â
<?php if( CF7SKINS_FEATURE_FILTER ) : ?>
|
299 |
+
<a class="drawer-toggle balloon" title="<?php _e( 'Narrow your choices based on your specific requirements', $this->textdomain ); ?>" href="#">
|
300 |
+
<?php _e('Feature Filter', $this->textdomain); ?>
|
301 |
+
</a>
|
302 |
Â
<?php endif; ?>
|
303 |
Â
|
304 |
Â
<div class="search-form">
|
308 |
Â
|
309 |
Â
<div class="filter-drawer">
|
310 |
Â
<div class="buttons">
|
311 |
+
<a class="apply-filters button button-secondary balloon" href="#" title="<?php _e('Check all the boxes that meet your specific requirements and then click apply filters.', $this->textdomain); ?>">
|
312 |
+
<?php _e('Apply Filters', $this->textdomain); ?>
|
313 |
+
<span></span>
|
314 |
+
</a>
|
315 |
Â
<a class="clear-filters button button-secondary balloon" href="#"><?php _e('Clear', $this->textdomain); ?></a>
|
316 |
Â
</div>
|
317 |
Â
|
323 |
Â
} else {
|
324 |
Â
echo '<div class="filter-group">';
|
325 |
Â
}
|
326 |
+
|
327 |
+
echo '<h4 class="feature-name">' . esc_attr( $feature_name ) . '</h4>';
|
328 |
Â
echo '<ol class="feature-group">';
|
329 |
Â
foreach ( $features as $feature => $feature_name ) {
|
330 |
+
echo '<li><input type="checkbox" id="tab-style-' . esc_attr( $feature ) . '" value="' . esc_attr( $feature ) . '" /> ';
|
331 |
+
echo '<label for="tab-style-' . esc_attr( $feature ) . '">' . esc_attr( $feature_name ) . '</label></li>';
|
Â
|
|
332 |
Â
}
|
333 |
Â
echo '</ol>';
|
334 |
Â
echo '</div>';
|
342 |
Â
</div>
|
343 |
Â
|
344 |
Â
<div class="skins-sort">
|
345 |
+
<label class="balloon" for="skins-sort" title="<?php _e( 'Sort by Name, Date and License (free or pro) – use arrow to reverse sort order', $this->textdomain ); ?>">
|
346 |
+
<?php _e('Sort by', $this->textdomain); ?>
|
347 |
+
</label>
|
348 |
Â
<select class="sort-by balloon" name="sort-by" title="" autocomplete="off">
|
349 |
Â
<option value="name" selected="selected"><?php _e( 'Name', $this->textdomain ); ?></option>
|
350 |
Â
<option value="date"><?php _e( 'Date', $this->textdomain ); ?></option>
|
363 |
Â
$this->cf7s_details_view( $style ); ?>
|
364 |
Â
</div>
|
365 |
Â
|
366 |
+
<input type="hidden" value="<?php echo esc_attr( $val ); ?>" name="cf7s-style" id="cf7s-style" />
|
367 |
Â
<?php
|
368 |
Â
}
|
369 |
Â
|
382 |
Â
//print_r( $styles );
|
383 |
Â
|
384 |
Â
// Get the current contact form ID, check if request comes from AJAX
|
385 |
+
$id = isset( $_POST['id'] ) ? (int) $_POST['id'] : $this->get_id();
|
386 |
Â
|
387 |
Â
foreach( $styles as $key => $style ) {
|
388 |
Â
$class = $style['dir'] == get_post_meta( $id, 'cf7s_style', true ) ? ' selected' : '';
|
397 |
Â
if ( defined( 'CF7SKINSPRO_PATH' ) )
|
398 |
Â
$license = strpos( $style['path'], CF7SKINSPRO_PATH ) !== false ? 'pro' : $license;
|
399 |
Â
?>
|
400 |
+
<div class="<?php echo esc_attr( $skin_class ); ?>" data-name="<?php echo esc_attr( $key ); ?>" data-date="<?php echo esc_attr( $date ); ?>" data-license="<?php echo esc_attr( $license ); ?>">
|
401 |
Â
<div class="wrapper">
|
402 |
+
<h4 class="skin-name"><?php echo esc_attr( $style['details']['Style Name'] ); ?></h4>
|
403 |
Â
<div class="thumbnail">
|
404 |
Â
<?php $imgpath = $style['path'] . $style['dir'] . '/thumbnail.png'; ?>
|
405 |
Â
<?php $imgurl = $style['url'] . $style['dir'] . '/thumbnail.png'; ?>
|
406 |
+
<img src="<?php echo file_exists( $imgpath ) ? esc_url( $imgurl ) : CF7SKINS_URL . 'images/no-preview.png'; ?>" />
|
407 |
Â
</div>
|
408 |
Â
<ul class="wp-clearfix skin-action">
|
409 |
+
<li><a class="select<?php echo esc_attr( $class ); ?> balloon" title="<?php _e( 'Select to apply the Style to your form - is applied to your form once you Save.',$this->textdomain ); ?>" data-value="<?php $this->get_slug_name( $style ); ?>" href="#cf7s-style"><?php echo esc_attr( $select_text ); ?></a></li>
|
410 |
Â
<li><a class="detail balloon" title="<?php _e( 'Show detailed information about this Style - overview of the appearance and layout with description and usage details.' ,$this->textdomain ); ?>" href="#<?php $this->get_slug_name( $style ); ?>"><?php _e('Details', $this->textdomain ); ?></a></li>
|
411 |
Â
</ul>
|
412 |
Â
</div>
|
425 |
Â
* @since 0.1.0
|
426 |
Â
*/
|
427 |
Â
function cf7s_details_view( $style ) {
|
428 |
+
global $themes_allowedtags;
|
429 |
Â
$class = $style['dir'] == get_post_meta( $this->get_id(), 'cf7s_style', true ) ? ' selected' : ''; // set link class
|
430 |
Â
$select_text = $style['dir'] == get_post_meta( $this->get_id(), 'cf7s_style', true ) ? __('Selected', $this->textdomain) : __('Select', $this->textdomain);
|
431 |
Â
?>
|
432 |
+
<div id="<?php esc_attr( $this->get_slug_name( $style ) ); ?>" class="details hidden">
|
433 |
Â
<div class="details-view">
|
434 |
Â
<div class="block-thumbnail">
|
435 |
+
<img src="<?php echo esc_url( $style['url'] . $style['dir'] . '/thumbnail.png' ); ?>" />
|
436 |
Â
</div>
|
437 |
Â
<div class="block-details"><div>
|
438 |
Â
<ul class="wp-clearfix skin-action">
|
439 |
+
<li><a class="balloon view" data-value="<?php esc_attr( $this->get_slug_name( $style ) ); ?>" href="#cf7s-style" title="<?php _e( 'Use Expanded View to view Styles features - shows all form fields available in Contact Form 7.', $this->textdomain ); ?>"><?php _e('Expanded View', $this->textdomain ); ?></a></li>
|
440 |
+
<li><a class="balloon select<?php echo esc_attr( $class ); ?>" data-value="<?php esc_attr( $this->get_slug_name( $style ) ); ?>" href="#cf7s-style" title="<?php _e( 'Select to apply the Style to your form - is applied to your form once you Save.', $this->textdomain ); ?>"><?php echo esc_attr( $select_text ); ?></a></li>
|
441 |
Â
<li><a class="balloon close" href="#" title="<?php _e( 'Return to Style Gallery/Grid view.', $this->textdomain ); ?>"><?php _e('Close', $this->textdomain ); ?></a></li>
|
442 |
Â
</ul>
|
443 |
Â
<?php // print_r( $style ); ?>
|
444 |
+
<h1><?php echo esc_attr( $style['details']['Style Name'] ); ?></h1>
|
445 |
Â
|
446 |
Â
<h4><strong><?php _e('Description', $this->textdomain ); ?></strong></h4>
|
447 |
+
<p class="description"><?php echo wp_kses( $style['details']['Description'], $themes_allowedtags ); ?></p>
|
448 |
Â
|
449 |
Â
<h4><strong><?php _e('Instructions', $this->textdomain ); ?></strong></h4>
|
450 |
+
<p class="description"><?php echo wp_kses( $style['details']['Instructions'], $themes_allowedtags ); ?></p>
|
451 |
Â
</div></div>
|
452 |
Â
</div>
|
453 |
Â
|
454 |
Â
<div class="expanded-view">
|
455 |
Â
<ul class="wp-clearfix skin-action">
|
456 |
+
<li><a class="balloon view" data-value="<?php esc_attr( $this->get_slug_name( $style ) ); ?>" href="#cf7s-style" title="<?php _e( 'Return to Details View', $this->textdomain ); ?>"><?php _e('Details View', $this->textdomain ); ?></a></li>
|
457 |
+
<li><a class="balloon select<?php echo esc_attr( $class ); ?>" data-value="<?php esc_attr( $this->get_slug_name( $style ) ); ?>" href="#cf7s-style" title="<?php _e( 'Select to apply the Style to your form - is applied to your form once you Save', $this->textdomain ); ?>"><?php echo esc_attr( $select_text ); ?></a></li>
|
458 |
Â
<li><a class="balloon close" href="#" title="<?php _e( 'Return to Style Gallery/Grid View', $this->textdomain ); ?>"><?php _e('Close', $this->textdomain ); ?></a></li>
|
459 |
Â
</ul>
|
460 |
Â
|
461 |
+
<h1><?php echo esc_attr( $style['details']['Style Name'] ); ?></h1>
|
462 |
Â
|
463 |
Â
<div class="large-thumbnail">
|
464 |
+
<img src="<?php echo esc_attr( $this->get_skin_modal( $style ) ); ?>" />
|
465 |
Â
</div>
|
466 |
Â
<h4><strong><?php _e('Description', $this->textdomain ); ?></strong></h4>
|
467 |
+
<p class="description"><?php echo wp_kses( $style['details']['Description'], $themes_allowedtags ); ?></p>
|
468 |
Â
|
469 |
Â
<h4><strong><?php _e('Instructions', $this->textdomain ); ?></strong></h4>
|
470 |
+
<p class="description"><?php echo wp_kses( $style['details']['Instructions'], $themes_allowedtags ); ?></p>
|
471 |
Â
</div>
|
472 |
Â
</div>
|
473 |
Â
<?php
|
includes/tab.php
CHANGED
@@ -27,7 +27,6 @@ class CF7_Skins_Admin_Tab extends CF7_Skins_Admin {
|
|
27 |
Â
$this->style = new CF7_Skin_Style();
|
28 |
Â
|
29 |
Â
add_action( 'wp_ajax_cf7s_sort_skin', array( &$this, 'sort_skin' ) );
|
30 |
-
add_action( 'wp_ajax_nopriv_cf7s_sort_skin', array( &$this, 'sort_skin' ) );
|
31 |
Â
}
|
32 |
Â
|
33 |
Â
/**
|
@@ -74,7 +73,8 @@ class CF7_Skins_Admin_Tab extends CF7_Skins_Admin {
|
|
74 |
Â
if( ! isset( $_POST['keyword'] ) && empty( $_POST['keyword'] ) )
|
75 |
Â
return;
|
76 |
Â
|
77 |
-
$keyword =
|
Â
|
|
78 |
Â
foreach( $templates as $key => $template ) {
|
79 |
Â
$match = false;
|
80 |
Â
foreach( $template['details'] as $details )
|
@@ -99,7 +99,7 @@ class CF7_Skins_Admin_Tab extends CF7_Skins_Admin {
|
|
99 |
Â
$match = false;
|
100 |
Â
|
101 |
Â
foreach( $_POST['tags'] as $tag )
|
102 |
-
if( in_array(
|
103 |
Â
$match = true;
|
104 |
Â
|
105 |
Â
if( $match )
|
@@ -150,7 +150,7 @@ class CF7_Skins_Admin_Tab extends CF7_Skins_Admin {
|
|
150 |
Â
if( ! isset( $_POST['keyword'] ) && empty( $_POST['keyword'] ) )
|
151 |
Â
return;
|
152 |
Â
|
153 |
-
$keyword =
|
154 |
Â
foreach( $styles as $key => $style ) {
|
155 |
Â
$match = false;
|
156 |
Â
foreach( $style['details'] as $details )
|
@@ -175,7 +175,7 @@ class CF7_Skins_Admin_Tab extends CF7_Skins_Admin {
|
|
175 |
Â
$match = false;
|
176 |
Â
|
177 |
Â
foreach( $_POST['tags'] as $tag )
|
178 |
-
if( in_array(
|
179 |
Â
$match = true;
|
180 |
Â
|
181 |
Â
if( $match )
|
@@ -239,12 +239,12 @@ class CF7_Skins_Admin_Tab extends CF7_Skins_Admin {
|
|
239 |
Â
|
240 |
Â
?>
|
241 |
Â
<div class="cf7s">
|
242 |
-
<h2 class="nav-tab-wrapper <?php echo $color_scheme; ?>">
|
243 |
Â
<?php foreach( $this->tabs as $key => $value ) : ?>
|
244 |
-
<a class="nav-tab nav-tab-<?php echo $value['name']; ?>" href="#tab-<?php echo $value['name']; ?>">
|
245 |
-
<?php echo $value['label']; ?>
|
246 |
-
<span class="help balloon-hover balloon" title="<?php echo $value['note']; ?>"
|
247 |
-
<span class="help balloon-hover balloon" title="<?php echo $value['help']; ?>"
|
248 |
Â
</a>
|
249 |
Â
<?php endforeach; ?>
|
250 |
Â
|
@@ -253,9 +253,9 @@ class CF7_Skins_Admin_Tab extends CF7_Skins_Admin {
|
|
253 |
Â
|
254 |
Â
</h2>
|
255 |
Â
|
256 |
-
<div class="nav-tab-content <?php echo $color_scheme; ?>">
|
257 |
Â
<?php foreach( $this->tabs as $key => $value ) : ?>
|
258 |
-
<div id="tab-<?php echo
|
259 |
Â
<?php do_action( 'cf7skins_tab_content', $value['name'] ); ?>
|
260 |
Â
</div>
|
261 |
Â
<?php endforeach; ?>
|
27 |
Â
$this->style = new CF7_Skin_Style();
|
28 |
Â
|
29 |
Â
add_action( 'wp_ajax_cf7s_sort_skin', array( &$this, 'sort_skin' ) );
|
Â
|
|
30 |
Â
}
|
31 |
Â
|
32 |
Â
/**
|
73 |
Â
if( ! isset( $_POST['keyword'] ) && empty( $_POST['keyword'] ) )
|
74 |
Â
return;
|
75 |
Â
|
76 |
+
$keyword = sanitize_text_field( $_POST['keyword'] );
|
77 |
+
|
78 |
Â
foreach( $templates as $key => $template ) {
|
79 |
Â
$match = false;
|
80 |
Â
foreach( $template['details'] as $details )
|
99 |
Â
$match = false;
|
100 |
Â
|
101 |
Â
foreach( $_POST['tags'] as $tag )
|
102 |
+
if( in_array( sanitize_text_field( $tag ), $template_tags ) )
|
103 |
Â
$match = true;
|
104 |
Â
|
105 |
Â
if( $match )
|
150 |
Â
if( ! isset( $_POST['keyword'] ) && empty( $_POST['keyword'] ) )
|
151 |
Â
return;
|
152 |
Â
|
153 |
+
$keyword = sanitize_text_field( $_POST['keyword'] );
|
154 |
Â
foreach( $styles as $key => $style ) {
|
155 |
Â
$match = false;
|
156 |
Â
foreach( $style['details'] as $details )
|
175 |
Â
$match = false;
|
176 |
Â
|
177 |
Â
foreach( $_POST['tags'] as $tag )
|
178 |
+
if( in_array( sanitize_text_field( $tag ), $style_tags ) )
|
179 |
Â
$match = true;
|
180 |
Â
|
181 |
Â
if( $match )
|
239 |
Â
|
240 |
Â
?>
|
241 |
Â
<div class="cf7s">
|
242 |
+
<h2 class="nav-tab-wrapper <?php echo esc_attr( $color_scheme ); ?>">
|
243 |
Â
<?php foreach( $this->tabs as $key => $value ) : ?>
|
244 |
+
<a class="nav-tab nav-tab-<?php echo esc_attr( $value['name'] ); ?>" href="#tab-<?php echo esc_attr( $value['name'] ); ?>">
|
245 |
+
<?php echo esc_attr( $value['label'] ); ?>
|
246 |
+
<span class="help balloon-hover balloon" title="<?php echo esc_attr( $value['note'] ); ?>">!</span>
|
247 |
+
<span class="help balloon-hover balloon" title="<?php echo esc_attr( $value['help'] ); ?>">?</span>
|
248 |
Â
</a>
|
249 |
Â
<?php endforeach; ?>
|
250 |
Â
|
253 |
Â
|
254 |
Â
</h2>
|
255 |
Â
|
256 |
+
<div class="nav-tab-content <?php echo esc_attr( $color_scheme ); ?>">
|
257 |
Â
<?php foreach( $this->tabs as $key => $value ) : ?>
|
258 |
+
<div id="tab-<?php echo esc_attr( $value['name'] ); ?>" class="tab-content wp-clearfix">
|
259 |
Â
<?php do_action( 'cf7skins_tab_content', $value['name'] ); ?>
|
260 |
Â
</div>
|
261 |
Â
<?php endforeach; ?>
|
includes/template.php
CHANGED
@@ -48,7 +48,7 @@ class CF7_Skin_Template extends CF7_Skin {
|
|
48 |
Â
|
49 |
Â
// Load selected template file
|
50 |
Â
$templates = $this->cf7s_get_template_list();
|
51 |
-
$template = $templates[$_POST['template']];
|
52 |
Â
require_once( $template['path'] . trailingslashit( $template['dir'] ) . $template['index'] );
|
53 |
Â
exit();
|
54 |
Â
}
|
@@ -220,38 +220,36 @@ class CF7_Skin_Template extends CF7_Skin {
|
|
220 |
Â
<a class="theme-section skin-sort balloon" title="<?php _e( 'Selected by CF7 Skins Team', $this->textdomain ); ?>" href="#" data-sort="featured"><?php _e('Featured', $this->textdomain); ?></a>
|
221 |
Â
<a class="theme-section skin-sort balloon" title="<?php _e( 'Commonly used', $this->textdomain ); ?>" href="#" data-sort="popular"><?php _e('Popular', $this->textdomain); ?></a>
|
222 |
Â
<a class="theme-section skin-sort balloon" title="<?php _e( 'Recently added', $this->textdomain ); ?>" href="#" data-sort="new"><?php _e('Latest', $this->textdomain); ?></a>
|
223 |
-
|
224 |
Â
<div class="theme-top-filters">
|
225 |
Â
<?php if( CF7SKINS_FEATURE_FILTER ) : ?>
|
226 |
Â
<a class="more-filters balloon" title="<?php _e( 'Narrow your choices based on your specific requirements', $this->textdomain ); ?>" href="#"><?php _e('Feature Filter', $this->textdomain); ?></a>
|
227 |
Â
<?php endif; ?>
|
228 |
Â
</div>
|
229 |
-
|
230 |
Â
<div class="more-filters-container">
|
231 |
Â
<a class="apply-filters button button-secondary" href="#"><?php _e('Apply Filters', $this->textdomain); ?><span></span></a>
|
232 |
Â
<a class="clear-filters button button-secondary" href="#"><?php _e('Clear', $this->textdomain); ?></a>
|
233 |
Â
<br class="clear">
|
234 |
-
|
235 |
Â
<?php
|
236 |
Â
$feature_list = $this->filter_tags();
|
237 |
-
|
238 |
-
foreach ( $feature_list as $
|
239 |
-
|
240 |
Â
echo '<div class="filters-group">';
|
241 |
-
|
242 |
-
|
243 |
-
echo '<h4 class="feature-name">' . $feature_name . '</h4>';
|
244 |
Â
echo '<ol class="feature-group">';
|
245 |
Â
foreach ( $features as $feature => $feature_name ) {
|
246 |
-
$feature = esc_attr( $feature );
|
247 |
-
echo '<
|
248 |
-
echo '<label for="tab-template-' . $feature . '">' . $feature_name . '</label></li>';
|
249 |
Â
}
|
250 |
Â
echo '</ol>';
|
251 |
Â
echo '</div>';
|
252 |
Â
}
|
253 |
Â
?>
|
254 |
-
|
255 |
Â
<div class="filtering-by filtered-by">
|
256 |
Â
<span><?php _e('Filtering by:', $this->textdomain); ?></span>
|
257 |
Â
<div class="tags"></div>
|
@@ -281,7 +279,7 @@ class CF7_Skin_Template extends CF7_Skin {
|
|
281 |
Â
<?php foreach( $this->cf7s_get_template_list() as $template )
|
282 |
Â
$this->cf7s_details_view( $template ); ?>
|
283 |
Â
</div>
|
284 |
-
<input type="hidden" value="<?php echo $val; ?>" name="cf7s-template" id="cf7s-template" />
|
285 |
Â
<?php
|
286 |
Â
}
|
287 |
Â
|
@@ -306,8 +304,8 @@ class CF7_Skin_Template extends CF7_Skin {
|
|
306 |
Â
</ul>
|
307 |
Â
|
308 |
Â
<div class="selected-skin">
|
309 |
-
<span class="selected-template"><?php _e( 'Template', CF7SKINS_TEXTDOMAIN ); ?>: [<span><?php echo $this->get_skin_name( 'template' ) ?></span>]</span>
|
310 |
-
<span class="selected-style"><?php _e( 'Style', CF7SKINS_TEXTDOMAIN ); ?>: [<span><?php echo $this->get_skin_name( 'style' ) ?></span>]</span>
|
311 |
Â
</div>
|
312 |
Â
|
313 |
Â
<?php if( CF7SKINS_FEATURE_FILTER ) : ?>
|
@@ -330,12 +328,12 @@ class CF7_Skin_Template extends CF7_Skin {
|
|
330 |
Â
foreach ( $feature_list as $feature_name => $features ) {
|
331 |
Â
echo '<div class="filter-group">';
|
332 |
Â
$feature_name = esc_html( $feature_name );
|
333 |
-
echo '<h4 class="feature-name">' . $feature_name . '</h4>';
|
334 |
Â
echo '<ol class="feature-group">';
|
335 |
Â
foreach ( $features as $feature => $feature_name ) {
|
336 |
Â
$feature = esc_attr( $feature );
|
337 |
-
echo '<li><input type="checkbox" id="tab-template-' . $feature . '" value="' . $feature . '" /> ';
|
338 |
-
echo '<label for="tab-template-' . $feature . '">' . $feature_name . '</label></li>';
|
339 |
Â
}
|
340 |
Â
echo '</ol>';
|
341 |
Â
echo '</div>';
|
@@ -368,7 +366,7 @@ class CF7_Skin_Template extends CF7_Skin {
|
|
368 |
Â
$this->cf7s_details_view( $template ); ?>
|
369 |
Â
</div>
|
370 |
Â
|
371 |
-
<input type="hidden" value="<?php echo $val; ?>" name="cf7s-template" id="cf7s-template" />
|
372 |
Â
<?php
|
373 |
Â
}
|
374 |
Â
|
@@ -387,12 +385,12 @@ class CF7_Skin_Template extends CF7_Skin {
|
|
387 |
Â
//print_r( $templates );
|
388 |
Â
|
389 |
Â
// Get the current contact form ID, check if request comes from AJAX
|
390 |
-
$id = isset( $_POST['id'] ) ? $_POST['id'] : $this->get_id();
|
391 |
Â
|
392 |
Â
foreach( $templates as $key => $template ) {
|
393 |
Â
$class = $template['dir'] == get_post_meta( $id, 'cf7s_template', true ) ? ' selected' : '';
|
394 |
Â
$select_text = $template['dir'] == get_post_meta( $id, 'cf7s_template', true ) ? __('Selected', $this->textdomain ) : __('Select', $this->textdomain );
|
395 |
-
$locale = isset( $_GET['locale'] ) ? $_GET['locale'] : '';
|
396 |
Â
$post = isset( $_GET['post'] ) ? (int) $_GET['post'] : '';
|
397 |
Â
|
398 |
Â
$skin_class = $template['dir'] == get_post_meta( $id, 'cf7s_template', true ) ? 'skin skin-selected' : 'skin';
|
@@ -403,17 +401,17 @@ class CF7_Skin_Template extends CF7_Skin {
|
|
403 |
Â
if ( defined( 'CF7SKINSPRO_PATH' ) )
|
404 |
Â
$license = strpos( $template['path'], CF7SKINSPRO_PATH ) !== false ? 'pro' : $license;
|
405 |
Â
?>
|
406 |
-
<div class="<?php echo $skin_class; ?>" data-name="<?php echo $key; ?>" data-date="<?php echo $date; ?>" data-license="<?php echo $license; ?>">
|
407 |
Â
<div class="wrapper">
|
408 |
-
<h4 class="skin-name"><?php echo $template['details']['Template Name']; ?></h4>
|
409 |
Â
<div class="thumbnail">
|
410 |
Â
<?php $imgpath = $template['path'] . $template['dir'] . '/thumbnail.png'; ?>
|
411 |
Â
<?php $imgurl = $template['url'] . $template['dir'] . '/thumbnail.png'; ?>
|
412 |
-
<img src="<?php echo file_exists( $imgpath ) ? $imgurl : CF7SKINS_URL . 'images/no-preview.png'; ?>" />
|
413 |
Â
</div>
|
414 |
Â
<ul class="wp-clearfix skin-action">
|
415 |
-
<li><a class="select<?php echo $class; ?> balloon" title="<?php _e( 'Select to apply the Template to your form - appears in the form editing area, where you can edit your requirements.',$this->textdomain ); ?>" data-post="<?php echo $post; ?>" data-locale="<?php echo $locale; ?>" data-value="<?php $this->get_slug_name( $template ); ?>" href="#cf7s-template"><?php echo $select_text; ?></a></li>
|
416 |
-
<li><a class="detail balloon" title="<?php _e( 'Show detailed information about this Template, with layout, description and usage details.' ,$this->textdomain ); ?>" href="#tpl-<?php $this->get_slug_name( $template ); ?>-detail"><?php _e('Details', $this->textdomain ); ?></a></li>
|
417 |
Â
</ul>
|
418 |
Â
</div>
|
419 |
Â
</div>
|
@@ -431,49 +429,49 @@ class CF7_Skin_Template extends CF7_Skin {
|
|
431 |
Â
* @since 0.1.0
|
432 |
Â
*/
|
433 |
Â
function cf7s_details_view( $template ) {
|
434 |
-
|
435 |
Â
$class = $template['dir'] == get_post_meta( $this->get_id(), 'cf7s_template', true ) ? ' selected' : ''; // set link class
|
436 |
Â
$select_text = $template['dir'] == get_post_meta( $this->get_id(), 'cf7s_template', true ) ? __('Selected', $this->textdomain) : __('Select', $this->textdomain);
|
437 |
Â
?>
|
438 |
-
<div id="tpl-<?php $this->get_slug_name( $template ); ?>-detail" class="details hidden">
|
439 |
Â
<div class="details-view">
|
440 |
Â
<div class="block-thumbnail">
|
441 |
-
<img src="<?php echo $template['url'] . $template['dir'] . '/thumbnail.png'; ?>" />
|
442 |
Â
</div>
|
443 |
Â
<div class="block-details"><div>
|
444 |
Â
<ul class="wp-clearfix skin-action">
|
445 |
-
<li><a class="balloon view" data-value="<?php $this->get_slug_name( $template ); ?>" href="#cf7s-template" title="<?php _e( 'Use Expanded View to view Template features - shows layout, description & usage details.', $this->textdomain ); ?>"><?php _e('Expanded View', $this->textdomain ); ?></a></li>
|
446 |
-
<li><a class="balloon select<?php echo $class; ?>" data-value="<?php $this->get_slug_name( $template ); ?>" href="#cf7s-template" title="<?php _e( 'Select to apply the Template to your form - appears in the Form Editing area, where you can edit to your requirements.', $this->textdomain ); ?>"><?php echo $select_text; ?></a></li>
|
447 |
-
<li><a class="balloon close" href="#" title="<?php _e( 'Return to Template Gallery/Grid view.', $this->textdomain ); ?>"><?php _e('Close', $this->textdomain ); ?></a></li>
|
448 |
Â
</ul>
|
449 |
Â
<?php // print_r( $template ); ?>
|
450 |
-
<h1><?php echo $template['details']['Template Name']; ?></h1>
|
451 |
Â
|
452 |
Â
<h4><strong><?php _e('Description', $this->textdomain ); ?></strong></h4>
|
453 |
-
<p class="description"><?php echo $template['details']['Description']; ?></p>
|
454 |
Â
|
455 |
Â
<h4><strong><?php _e('Instructions', $this->textdomain ); ?></strong></h4>
|
456 |
-
<p class="description"><?php echo $template['details']['Instructions']; ?></p>
|
457 |
Â
</div></div>
|
458 |
Â
</div>
|
459 |
Â
|
460 |
Â
<div class="expanded-view">
|
461 |
Â
<ul class="wp-clearfix skin-action">
|
462 |
-
<li><a class="balloon view" data-value="<?php $this->get_slug_name( $template ); ?>" href="#cf7s-template" title="<?php _e( 'Return to Details View', $this->textdomain ); ?>"><?php _e('Details View', $this->textdomain ); ?></a></li>
|
463 |
-
<li><a class="balloon select<?php echo $class; ?>" data-value="<?php $this->get_slug_name( $template ); ?>" href="#cf7s-template" title="<?php _e( 'Select to apply the Template to your form - appears in the Form editing area, where you can edit to your requirements.', $this->textdomain ); ?>"><?php echo $select_text; ?></a></li>
|
464 |
Â
<li><a class="balloon close" href="#" title="<?php _e( 'Return to Template Gallery/ Grid View', $this->textdomain ); ?>"><?php _e('Close', $this->textdomain ); ?></a></li>
|
465 |
-
</ul>
|
466 |
Â
|
467 |
-
<h1><?php echo $template['details']['Template Name']; ?></h1>
|
468 |
Â
|
469 |
Â
<div class="large-thumbnail">
|
470 |
-
<img src="<?php echo $this->get_skin_modal( $template ); ?>" />
|
471 |
Â
</div>
|
472 |
Â
<h4><strong><?php _e('Description', $this->textdomain ); ?></strong></h4>
|
473 |
-
<p class="description"><?php echo $template['details']['Description']; ?></p>
|
474 |
Â
|
475 |
Â
<h4><strong><?php _e('Instructions', $this->textdomain ); ?></strong></h4>
|
476 |
-
<p class="description"><?php echo $template['details']['Instructions']; ?></p>
|
477 |
Â
</div>
|
478 |
Â
</div>
|
479 |
Â
<?php
|
48 |
Â
|
49 |
Â
// Load selected template file
|
50 |
Â
$templates = $this->cf7s_get_template_list();
|
51 |
+
$template = $templates[ sanitize_text_field( $_POST['template'] ) ];
|
52 |
Â
require_once( $template['path'] . trailingslashit( $template['dir'] ) . $template['index'] );
|
53 |
Â
exit();
|
54 |
Â
}
|
220 |
Â
<a class="theme-section skin-sort balloon" title="<?php _e( 'Selected by CF7 Skins Team', $this->textdomain ); ?>" href="#" data-sort="featured"><?php _e('Featured', $this->textdomain); ?></a>
|
221 |
Â
<a class="theme-section skin-sort balloon" title="<?php _e( 'Commonly used', $this->textdomain ); ?>" href="#" data-sort="popular"><?php _e('Popular', $this->textdomain); ?></a>
|
222 |
Â
<a class="theme-section skin-sort balloon" title="<?php _e( 'Recently added', $this->textdomain ); ?>" href="#" data-sort="new"><?php _e('Latest', $this->textdomain); ?></a>
|
223 |
+
|
224 |
Â
<div class="theme-top-filters">
|
225 |
Â
<?php if( CF7SKINS_FEATURE_FILTER ) : ?>
|
226 |
Â
<a class="more-filters balloon" title="<?php _e( 'Narrow your choices based on your specific requirements', $this->textdomain ); ?>" href="#"><?php _e('Feature Filter', $this->textdomain); ?></a>
|
227 |
Â
<?php endif; ?>
|
228 |
Â
</div>
|
229 |
+
|
230 |
Â
<div class="more-filters-container">
|
231 |
Â
<a class="apply-filters button button-secondary" href="#"><?php _e('Apply Filters', $this->textdomain); ?><span></span></a>
|
232 |
Â
<a class="clear-filters button button-secondary" href="#"><?php _e('Clear', $this->textdomain); ?></a>
|
233 |
Â
<br class="clear">
|
234 |
+
|
235 |
Â
<?php
|
236 |
Â
$feature_list = $this->filter_tags();
|
237 |
+
|
238 |
+
foreach ( $feature_list as $key => $features ) {
|
239 |
+
|
240 |
Â
echo '<div class="filters-group">';
|
241 |
+
|
242 |
+
echo '<h4 class="feature-name">' . esc_attr( $key ) . '</h4>';
|
Â
|
|
243 |
Â
echo '<ol class="feature-group">';
|
244 |
Â
foreach ( $features as $feature => $feature_name ) {
|
245 |
+
echo '<li><input type="checkbox" id="tab-template-' . esc_attr( $feature ) . '" value="' . esc_attr( $feature ) . '" /> ';
|
246 |
+
echo '<label for="tab-template-' . esc_attr( $feature ) . '">' . esc_attr( $feature_name ) . '</label></li>';
|
Â
|
|
247 |
Â
}
|
248 |
Â
echo '</ol>';
|
249 |
Â
echo '</div>';
|
250 |
Â
}
|
251 |
Â
?>
|
252 |
+
|
253 |
Â
<div class="filtering-by filtered-by">
|
254 |
Â
<span><?php _e('Filtering by:', $this->textdomain); ?></span>
|
255 |
Â
<div class="tags"></div>
|
279 |
Â
<?php foreach( $this->cf7s_get_template_list() as $template )
|
280 |
Â
$this->cf7s_details_view( $template ); ?>
|
281 |
Â
</div>
|
282 |
+
<input type="hidden" value="<?php echo esc_attr( $val ); ?>" name="cf7s-template" id="cf7s-template" />
|
283 |
Â
<?php
|
284 |
Â
}
|
285 |
Â
|
304 |
Â
</ul>
|
305 |
Â
|
306 |
Â
<div class="selected-skin">
|
307 |
+
<span class="selected-template"><?php _e( 'Template', CF7SKINS_TEXTDOMAIN ); ?>: [<span><?php echo esc_attr( $this->get_skin_name( 'template' ) ); ?></span>]</span>
|
308 |
+
<span class="selected-style"><?php _e( 'Style', CF7SKINS_TEXTDOMAIN ); ?>: [<span><?php echo esc_attr( $this->get_skin_name( 'style' ) ); ?></span>]</span>
|
309 |
Â
</div>
|
310 |
Â
|
311 |
Â
<?php if( CF7SKINS_FEATURE_FILTER ) : ?>
|
328 |
Â
foreach ( $feature_list as $feature_name => $features ) {
|
329 |
Â
echo '<div class="filter-group">';
|
330 |
Â
$feature_name = esc_html( $feature_name );
|
331 |
+
echo '<h4 class="feature-name">' . esc_attr( $feature_name ) . '</h4>';
|
332 |
Â
echo '<ol class="feature-group">';
|
333 |
Â
foreach ( $features as $feature => $feature_name ) {
|
334 |
Â
$feature = esc_attr( $feature );
|
335 |
+
echo '<li><input type="checkbox" id="tab-template-' . esc_attr( $feature ) . '" value="' . esc_attr( $feature ) . '" /> ';
|
336 |
+
echo '<label for="tab-template-' . esc_attr( $feature ) . '">' . esc_attr( $feature_name ) . '</label></li>';
|
337 |
Â
}
|
338 |
Â
echo '</ol>';
|
339 |
Â
echo '</div>';
|
366 |
Â
$this->cf7s_details_view( $template ); ?>
|
367 |
Â
</div>
|
368 |
Â
|
369 |
+
<input type="hidden" value="<?php echo esc_attr( $val ); ?>" name="cf7s-template" id="cf7s-template" />
|
370 |
Â
<?php
|
371 |
Â
}
|
372 |
Â
|
385 |
Â
//print_r( $templates );
|
386 |
Â
|
387 |
Â
// Get the current contact form ID, check if request comes from AJAX
|
388 |
+
$id = isset( $_POST['id'] ) ? (int) $_POST['id'] : $this->get_id();
|
389 |
Â
|
390 |
Â
foreach( $templates as $key => $template ) {
|
391 |
Â
$class = $template['dir'] == get_post_meta( $id, 'cf7s_template', true ) ? ' selected' : '';
|
392 |
Â
$select_text = $template['dir'] == get_post_meta( $id, 'cf7s_template', true ) ? __('Selected', $this->textdomain ) : __('Select', $this->textdomain );
|
393 |
+
$locale = isset( $_GET['locale'] ) ? sanitize_text_field( $_GET['locale'] ) : '';
|
394 |
Â
$post = isset( $_GET['post'] ) ? (int) $_GET['post'] : '';
|
395 |
Â
|
396 |
Â
$skin_class = $template['dir'] == get_post_meta( $id, 'cf7s_template', true ) ? 'skin skin-selected' : 'skin';
|
401 |
Â
if ( defined( 'CF7SKINSPRO_PATH' ) )
|
402 |
Â
$license = strpos( $template['path'], CF7SKINSPRO_PATH ) !== false ? 'pro' : $license;
|
403 |
Â
?>
|
404 |
+
<div class="<?php echo esc_attr( $skin_class ); ?>" data-name="<?php echo esc_attr( $key ); ?>" data-date="<?php echo esc_attr( $date ); ?>" data-license="<?php echo esc_attr( $license ); ?>">
|
405 |
Â
<div class="wrapper">
|
406 |
+
<h4 class="skin-name"><?php echo esc_attr( $template['details']['Template Name'] ); ?></h4>
|
407 |
Â
<div class="thumbnail">
|
408 |
Â
<?php $imgpath = $template['path'] . $template['dir'] . '/thumbnail.png'; ?>
|
409 |
Â
<?php $imgurl = $template['url'] . $template['dir'] . '/thumbnail.png'; ?>
|
410 |
+
<img src="<?php echo file_exists( $imgpath ) ? esc_url( $imgurl ) : CF7SKINS_URL . 'images/no-preview.png'; ?>" />
|
411 |
Â
</div>
|
412 |
Â
<ul class="wp-clearfix skin-action">
|
413 |
+
<li><a class="select<?php echo esc_attr( $class ); ?> balloon" title="<?php _e( 'Select to apply the Template to your form - appears in the form editing area, where you can edit your requirements.',$this->textdomain ); ?>" data-post="<?php echo esc_attr( $post ); ?>" data-locale="<?php echo esc_attr( $locale ); ?>" data-value="<?php esc_attr( $this->get_slug_name( $template ) ); ?>" href="#cf7s-template"><?php echo esc_attr( $select_text ); ?></a></li>
|
414 |
+
<li><a class="detail balloon" title="<?php _e( 'Show detailed information about this Template, with layout, description and usage details.' ,$this->textdomain ); ?>" href="#tpl-<?php esc_attr( $this->get_slug_name( $template ) ); ?>-detail"><?php _e('Details', $this->textdomain ); ?></a></li>
|
415 |
Â
</ul>
|
416 |
Â
</div>
|
417 |
Â
</div>
|
429 |
Â
* @since 0.1.0
|
430 |
Â
*/
|
431 |
Â
function cf7s_details_view( $template ) {
|
432 |
+
global $themes_allowedtags;
|
433 |
Â
$class = $template['dir'] == get_post_meta( $this->get_id(), 'cf7s_template', true ) ? ' selected' : ''; // set link class
|
434 |
Â
$select_text = $template['dir'] == get_post_meta( $this->get_id(), 'cf7s_template', true ) ? __('Selected', $this->textdomain) : __('Select', $this->textdomain);
|
435 |
Â
?>
|
436 |
+
<div id="tpl-<?php esc_attr( $this->get_slug_name( $template ) ); ?>-detail" class="details hidden">
|
437 |
Â
<div class="details-view">
|
438 |
Â
<div class="block-thumbnail">
|
439 |
+
<img src="<?php echo esc_url( $template['url'] ) . esc_attr( $template['dir'] ) . '/thumbnail.png'; ?>" />
|
440 |
Â
</div>
|
441 |
Â
<div class="block-details"><div>
|
442 |
Â
<ul class="wp-clearfix skin-action">
|
443 |
+
<li><a class="balloon view" data-value="<?php esc_attr( $this->get_slug_name( $template ) ); ?>" href="#cf7s-template" title="<?php _e( 'Use Expanded View to view Template features - shows layout, description & usage details.', $this->textdomain ); ?>"><?php _e('Expanded View', $this->textdomain ); ?></a></li>
|
444 |
+
<li><a class="balloon select<?php echo esc_attr( $class ); ?>" data-value="<?php esc_attr( $this->get_slug_name( $template ) ); ?>" href="#cf7s-template" title="<?php _e( 'Select to apply the Template to your form - appears in the Form Editing area, where you can edit to your requirements.', $this->textdomain ); ?>"><?php echo esc_attr( $select_text ); ?></a></li>
|
445 |
+
<li><a class="balloon close" href="#" title="<?php _e( 'Return to Template Gallery/Grid view.', $this->textdomain ); ?>"><?php _e( 'Close', $this->textdomain ); ?></a></li>
|
446 |
Â
</ul>
|
447 |
Â
<?php // print_r( $template ); ?>
|
448 |
+
<h1><?php echo esc_attr( $template['details']['Template Name'] ); ?></h1>
|
449 |
Â
|
450 |
Â
<h4><strong><?php _e('Description', $this->textdomain ); ?></strong></h4>
|
451 |
+
<p class="description"><?php echo wp_kses( $template['details']['Description'], $themes_allowedtags ); ?></p>
|
452 |
Â
|
453 |
Â
<h4><strong><?php _e('Instructions', $this->textdomain ); ?></strong></h4>
|
454 |
+
<p class="description"><?php echo wp_kses( $template['details']['Instructions'], $themes_allowedtags ); ?></p>
|
455 |
Â
</div></div>
|
456 |
Â
</div>
|
457 |
Â
|
458 |
Â
<div class="expanded-view">
|
459 |
Â
<ul class="wp-clearfix skin-action">
|
460 |
+
<li><a class="balloon view" data-value="<?php esc_attr( $this->get_slug_name( $template ) ); ?>" href="#cf7s-template" title="<?php _e( 'Return to Details View', $this->textdomain ); ?>"><?php _e('Details View', $this->textdomain ); ?></a></li>
|
461 |
+
<li><a class="balloon select<?php echo esc_attr( $class ); ?>" data-value="<?php esc_attr( $this->get_slug_name( $template ) ); ?>" href="#cf7s-template" title="<?php _e( 'Select to apply the Template to your form - appears in the Form editing area, where you can edit to your requirements.', $this->textdomain ); ?>"><?php echo esc_attr( $select_text ); ?></a></li>
|
462 |
Â
<li><a class="balloon close" href="#" title="<?php _e( 'Return to Template Gallery/ Grid View', $this->textdomain ); ?>"><?php _e('Close', $this->textdomain ); ?></a></li>
|
463 |
+
</ul>
|
464 |
Â
|
465 |
+
<h1><?php echo esc_attr( $template['details']['Template Name'] ); ?></h1>
|
466 |
Â
|
467 |
Â
<div class="large-thumbnail">
|
468 |
+
<img src="<?php echo esc_url( $this->get_skin_modal( $template ) ); ?>" />
|
469 |
Â
</div>
|
470 |
Â
<h4><strong><?php _e('Description', $this->textdomain ); ?></strong></h4>
|
471 |
+
<p class="description"><?php echo wp_kses( $template['details']['Description'], $themes_allowedtags ); ?></p>
|
472 |
Â
|
473 |
Â
<h4><strong><?php _e('Instructions', $this->textdomain ); ?></strong></h4>
|
474 |
+
<p class="description"><?php echo wp_kses( $template['details']['Instructions'], $themes_allowedtags ); ?></p>
|
475 |
Â
</div>
|
476 |
Â
</div>
|
477 |
Â
<?php
|
index.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
Â
<?php
|
2 |
Â
/**
|
3 |
-
* Plugin Name: Contact Form 7
|
4 |
Â
* Plugin URI: http://cf7skins.com
|
5 |
Â
* Description: Adds drag & drop Visual Editor with Templates & Styles to Contact Form 7. Requires Contact Form 7.
|
6 |
-
* Version: 2.5.
|
7 |
Â
* Author: Neil Murray
|
8 |
Â
* Author URI: http://cf7skins.com
|
9 |
Â
* License: GPL-2.0+
|
@@ -13,7 +13,7 @@
|
|
13 |
Â
*
|
14 |
Â
* @package cf7skins
|
15 |
Â
* @author Neil Murray
|
16 |
-
* @copyright Copyright (c) 2014-
|
17 |
Â
*/
|
18 |
Â
|
19 |
Â
/**
|
@@ -30,7 +30,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
30 |
Â
*
|
31 |
Â
* @since 0.1.0
|
32 |
Â
*/
|
33 |
-
define( 'CF7SKINS_VERSION', '2.5.
|
34 |
Â
define( 'CF7SKINS_OPTIONS', 'cf7skins' ); // Database option names
|
35 |
Â
define( 'CF7SKINS_TEXTDOMAIN', 'contact-form-7-skins' );
|
36 |
Â
define( 'CF7SKINS_FEATURE_FILTER', false ); // @since 0.4.0
|
@@ -43,6 +43,10 @@ define( 'CF7SKINS_TEMPLATES_URL', CF7SKINS_URL . 'skins/templates/' );
|
|
43 |
Â
define( 'CF7SKINS_UPDATE_URL', 'https://cf7skins.com' ); // @since 0.7.0
|
44 |
Â
define( 'CF7SKINS_ENV', 'production' ); // environment: production or development @since 2.1
|
45 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
46 |
Â
/**
|
47 |
Â
* WP Options & Metas.
|
48 |
Â
*
|
@@ -178,6 +182,7 @@ function cf7skins_plugin_loaded() {
|
|
178 |
Â
require_once( CF7SKINS_PATH . 'includes/settings.php' );
|
179 |
Â
require_once( CF7SKINS_PATH . 'includes/admin-notice.php' );
|
180 |
Â
require_once( CF7SKINS_PATH . 'includes/export.php' );
|
Â
|
|
181 |
Â
} else {
|
182 |
Â
require_once( CF7SKINS_PATH . 'includes/front-visual.php' );
|
183 |
Â
}
|
1 |
Â
<?php
|
2 |
Â
/**
|
3 |
+
* Plugin Name: Skins for Contact Form 7
|
4 |
Â
* Plugin URI: http://cf7skins.com
|
5 |
Â
* Description: Adds drag & drop Visual Editor with Templates & Styles to Contact Form 7. Requires Contact Form 7.
|
6 |
+
* Version: 2.5.1
|
7 |
Â
* Author: Neil Murray
|
8 |
Â
* Author URI: http://cf7skins.com
|
9 |
Â
* License: GPL-2.0+
|
13 |
Â
*
|
14 |
Â
* @package cf7skins
|
15 |
Â
* @author Neil Murray
|
16 |
+
* @copyright Copyright (c) 2014-2022
|
17 |
Â
*/
|
18 |
Â
|
19 |
Â
/**
|
30 |
Â
*
|
31 |
Â
* @since 0.1.0
|
32 |
Â
*/
|
33 |
+
define( 'CF7SKINS_VERSION', '2.5.1' );
|
34 |
Â
define( 'CF7SKINS_OPTIONS', 'cf7skins' ); // Database option names
|
35 |
Â
define( 'CF7SKINS_TEXTDOMAIN', 'contact-form-7-skins' );
|
36 |
Â
define( 'CF7SKINS_FEATURE_FILTER', false ); // @since 0.4.0
|
43 |
Â
define( 'CF7SKINS_UPDATE_URL', 'https://cf7skins.com' ); // @since 0.7.0
|
44 |
Â
define( 'CF7SKINS_ENV', 'production' ); // environment: production or development @since 2.1
|
45 |
Â
|
46 |
+
// CF7 form and input element IDs
|
47 |
+
define( 'CF7SKINS_ELEMENTS_FORM', 'wpcf7-admin-form-element' );
|
48 |
+
define( 'CF7SKINS_ELEMENTS_TEXTAREA', 'wpcf7-form' );
|
49 |
+
|
50 |
Â
/**
|
51 |
Â
* WP Options & Metas.
|
52 |
Â
*
|
182 |
Â
require_once( CF7SKINS_PATH . 'includes/settings.php' );
|
183 |
Â
require_once( CF7SKINS_PATH . 'includes/admin-notice.php' );
|
184 |
Â
require_once( CF7SKINS_PATH . 'includes/export.php' );
|
185 |
+
require_once( CF7SKINS_PATH . 'includes/sanitize.php' );
|
186 |
Â
} else {
|
187 |
Â
require_once( CF7SKINS_PATH . 'includes/front-visual.php' );
|
188 |
Â
}
|
js/cf7skins.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=262)}({262:function(t,e,r){"use strict";r.r(e),r(64);for(var n=document.getElementsByClassName("balloon"),o=0;o<n.length;o++){var u=n[o].getAttribute("title"),l=n[o];l.setAttribute("title",""),l.setAttribute("data-balloon",u),l.setAttribute("data-balloon-pos","right"),l.setAttribute("data-balloon-length","large")}},64:function(t,e,r){}});
|
1 |
+
!function(e){var t={};function n(c){if(t[c])return t[c].exports;var o=t[c]={i:c,l:!1,exports:{}};return e[c].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,c){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:c})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var c=Object.create(null);if(n.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(c,o,function(t){return e[t]}.bind(null,o));return c},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=260)}({0:function(e,t){e.exports=React},10:function(e,t){e.exports=lodash},11:function(e,t){e.exports=ReactDOM},16:function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=n=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},2:function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0},260:function(e,t,n){"use strict";n.r(t),n(62);var c=n(9);window.cf7svisual=window.cf7svisual||{},window.cf7svisual.util=c;for(var o=document.getElementsByClassName("balloon"),r=0;r<o.length;r++){var i=o[r].getAttribute("title"),s=o[r];s.setAttribute("title",""),s.setAttribute("data-balloon",i),s.setAttribute("data-balloon-pos","right"),s.setAttribute("data-balloon-length","large")}},62:function(e,t,n){},9:function(e,t,n){"use strict";n.r(t),n.d(t,"cf7sItems",(function(){return P})),n.d(t,"defaultTreeData",(function(){return g})),n.d(t,"randomizeName",(function(){return w})),n.d(t,"mergeDefault",(function(){return x})),n.d(t,"versionCompare",(function(){return L})),n.d(t,"saveVisualForm",(function(){return T})),n.d(t,"getVisualVar",(function(){return C})),n.d(t,"isDevelopment",(function(){return A})),n.d(t,"cf7sRequest",(function(){return u})),n.d(t,"cf7sDropRules",(function(){return Z})),n.d(t,"cf7sSurroundingRules",(function(){return J})),n.d(t,"cf7sDuplicateRules",(function(){return Q}));var c=n(2),o=n.n(c),r=n(16),i=n.n(r),s=n(0),a=n.n(s),l=n(11),f=n.n(l);function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text";e.nonce||(e.nonce=window.cf7svisual.nonce);var n=Object.keys(e).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&"),c={method:"POST",credentials:"same-origin",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},body:n},o=fetch(window.cf7svisual.ajaxurl,c).then((function(e){return"json"===t?e.json():e.text()})).then((function(e){if(e)return e;throw new Error("Error. Returned data: ".concat(e))})).catch((function(e){console.error("Error: ".concat(e))}));return Promise.resolve(o)}function p(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return d(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,void 0):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var c=0,o=function(){};return{s:o,n:function(){return c>=e.length?{done:!0}:{done:!1,value:e[c++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,r=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw r}}}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,c=new Array(t);n<t;n++)c[n]=e[n];return c}function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,c)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m=h({},window.wp.i18n),y=m.sprintf,__=m.__,v=h({},window.wp.data),k=v.dispatch,O=v.select;function g(){var e,t=[],n=[],c=p(P);try{for(c.s();!(e=c.n()).done;){var o=e.value;t[o.cf7sType]=w(o)}}catch(e){c.e(e)}finally{c.f()}return t.fieldset.expanded=!0,t.fieldset.cf7sLabel=__("Legend","contact-form-7-skins"),n.push(t.fieldset),t["list-ol"].expanded=!0,n[0].children=[h({},t["list-ol"])],t.text.cf7sLabel=__("Your Name (required)","contact-form-7-skins"),t.text.cf7Required=!0,t["list-li"].expanded=!0,t["list-li"].children=[h({},t.text)],n[0].children[0].children=[h({},t["list-li"])],t.email.cf7sLabel=__("Email Address (required)","contact-form-7-skins"),t.email.cf7Required=!0,t["list-li"]=w(t["list-li"]),t["list-li"].children=[h({},t.email)],n[0].children[0].children[1]=h({},t["list-li"]),t.textarea.cf7sLabel=__("Your Message","contact-form-7-skins"),t["list-li"]=w(t["list-li"]),t["list-li"].children=[h({},t.textarea)],n[0].children[0].children[2]=h({},t["list-li"]),t.paragraph.cf7sContent=__("* Required","contact-form-7-skins"),n[0].children[1]=h({},t.paragraph),t.submit.cf7sLabel=__("Send","contact-form-7-skins"),n.push(t.submit),n}function T(e){var t=k("cf7svisual").setNotice,n=h({},O("cf7svisual").getStates()),c=window.cf7svisual.treeData||n.treeData.slice(),o=window.cf7svisual;if("development"===o.environment&&(console.log("on save:",c),console.log(JSON.stringify(c))),o&&document.getElementById("post_ID")){var r=document.getElementById("post_ID").getAttribute("value"),s=document.getElementById("wpcf7-admin-form-element"),l=document.createElement("input");if(!r||r<0)l.setAttribute("type","hidden"),l.setAttribute("name","cf7s-visual"),l.setAttribute("value",JSON.stringify(c)),s.appendChild(l),s.submit();else{var d=document.getElementsByClassName("cf7sSpinner")[0];d.style.visibility="visible";var b={action:"cf7skins_visual_update",form_id:r,visual:JSON.stringify(c),template:document.getElementById("cf7s-template").value,style:document.getElementById("cf7s-style").value},m=document.getElementById("title").value;o.title!==m&&(b.title=m),u(b,"json").then((function(e){window.cf7sAdmin.getTextarea().value=e.form,window.onbeforeunload=null,"function"==typeof Event?new Event("change",{bubbles:!0}):document.createEvent("Event").initEvent("change",!0,!0),window.cf7sAdmin.getTextarea().dispatchEvent(new Event("change",{bubbles:!0})),d.style.visibility="hidden";var n=a.a.createElement("div",{className:"notice notice-success is-dismissible"},a.a.createElement("p",null,"Visual saved!"),a.a.createElement("button",{type:"button",className:"notice-dismiss",onClick:function(){return f.a.unmountComponentAtNode(document.getElementById("cf7s-visual-notice"))}},a.a.createElement("span",{className:"screen-reader-text"},__("Dismiss this notice.","contact-form-7-skins"))));if(f.a.render(n,document.getElementById("cf7s-visual-notice")),t(__("Visual saved!","contact-form-7-skins"),"success"),e.callbacks){var c,o=p(e.callbacks);try{for(o.s();!(c=o.n()).done;){var r=c.value;if("object"===i()(r)){var s=Object.keys(r)[0];if(void 0===window[s]){console.warn(y(__("Namespace %s is undefined!","contact-form-7-skins"),s));continue}var l=r[s];void 0!==window[s][l]?window[s][l].apply():console.warn(y(__("Function %1$s.%2$s is undefined!","contact-form-7-skins"),s,"".concat(l,"()")))}else void 0!==window[r]?window[r].apply():console.warn(y(__("Function %s is undefined!","contact-form-7-skins"),"".concat(r,"()")))}}catch(e){o.e(e)}finally{o.f()}}})).catch((function(e){return console.error(e)}))}}else t(__("Can not save! window.cf7svisual or post ID does not exist.","contact-form-7-skins"),"error")}function w(e){var t=Math.floor(899*Math.random()+100);if(e.cf7Name="".concat(e.cf7sType,"-").concat(t),e.children){var n,c=p(e.children);try{for(c.s();!(n=c.n()).done;)w(n.value)}catch(e){c.e(e)}finally{c.f()}}return e}function x(e){var t=function(t){var n=P.filter((function(n){return n.cf7sType===e[t].cf7sType}))[0];e[t]=h(h({},n),e[t]),e[t].children&&x(e[t].children)};for(var n in e)t(n);return e}function L(e,t,n){var c=n&&n.lexicographical||!1,o=n&&n.zeroExtend||!0,r=(e||"0").split("."),i=(t||"0").split(".");function s(e){return(c?/^\d+[A-Za-zαß]*$/:/^\d+[A-Za-zαß]?$/).test(e)}if(!r.every(s)||!i.every(s))return NaN;if(o){for(;r.length<i.length;)r.push("0");for(;i.length<r.length;)i.push("0")}c||(r=r.map((function(e){var t=/[A-Za-zαß]/.exec(e);return Number(t?e.replace(t[0],"."+e.charCodeAt(t.index)):e)})),i=i.map((function(e){var t=/[A-Za-zαß]/.exec(e);return Number(t?e.replace(t[0],"."+e.charCodeAt(t.index)):e)})));for(var a=0;a<r.length;++a){if(i.length===a)return!0;if(r[a]!==i[a])return r[a]>i[a]}return r.length===i.length}function C(e){var t=window.cf7svisual;if(null==t)return console.log("window.cf7svisual does not exist!"),!1;if(!t.hasOwnProperty(e))return!1;var n={addons:{},environment:"",options:{},items:[],integration:{},title:"",treeData:[],versions:{}};return!(!n.hasOwnProperty(e)||i()(t[e])!==i()(n[e]))&&t[e]}function A(){return"development"===window.cf7svisual.environment}function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,c)}return n}var I=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},window.wp.i18n).__,j=[{cf7sType:"acceptance",cf7sSelectLabel:I("Acceptance (confirm)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"acceptance",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"default_on",isChecked:!1,optionLabel:I("Make this checkbox checked by default","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"invert",isChecked:!1,optionLabel:I("Make this work inversely","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"optional",isChecked:!0,optionLabel:I("Make this checkbox optional","contact-form-7-skins"),optionType:"checkbox"}],cf7DefaultOn:!1,cf7Invert:!1,cf7Optional:!0,cf7Content:"",cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-thumbs-ok",noChildren:!0},{cf7sType:"checkbox",cf7sSelectLabel:I("Checkbox (option)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"checkbox",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"label_first",isChecked:!1,optionLabel:I("Put a label first, a checkbox last","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"use_label_element",isChecked:!1,optionLabel:I("Wrap each item with label element","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"exclusive",isChecked:!1,optionLabel:I("Make checkboxes exclusive","contact-form-7-skins"),optionType:"checkbox"}],cf7Options:[{value:"Option 1",isChecked:!0},{value:"Option 2",isChecked:!1}],cf7LabelFirst:!1,cf7UseLabelElement:!1,cf7Exclusive:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-input-checked",noChildren:!0},{cf7sType:"date",cf7sSelectLabel:I("Date","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"date",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",optionLabel:I("Default value","contact-form-7-skins"),optionType:"input"},{cf7Option:"placeholder",isChecked:!1,optionLabel:I("Use this text as the placeholder of the field","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"",optionLabel:I("Range - min","contact-form-7-skins"),optionType:"input"},{cf7Option:"",optionLabel:I("Range - max","contact-form-7-skins"),optionType:"input"}],cf7Values:"",cf7Placeholder:!1,cf7Min:"",cf7Max:"",cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-calendar",noChildren:!0},{cf7sType:"email",cf7sSelectLabel:I("Email","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"email",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",optionLabel:"Default value",optionType:"input"},{cf7Option:"placeholder",isChecked:!1,optionLabel:I("Use this text as the placeholder of the field","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"akismet_author_email",isChecked:!1,optionLabel:I("Akismet - this field requires author's email address","contact-form-7-skins"),optionType:"checkbox"}],cf7Values:"",cf7Placeholder:!1,cf7AkismetAuthorEmail:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-mail",noChildren:!0},{cf7sType:"file",cf7sSelectLabel:I("File (upload)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"file",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"limit",optionLabel:I("File size limit (bytes)","contact-form-7-skins"),optionType:"input"},{cf7Option:"",optionLabel:I("Acceptable file types","contact-form-7-skins"),optionType:"select"}],cf7Limit:"",cf7FileTypes:"",cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-attachment",noChildren:!0},{cf7sType:"number",cf7sSelectLabel:I("Number","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"number",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",optionLabel:"Field Type",optionType:"select"},{cf7Option:"",optionLabel:I("Default value","contact-form-7-skins"),optionType:"input"},{cf7Option:"placeholder",isChecked:!1,optionLabel:I("Use this text as the placeholder of the field","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"",optionLabel:I("Range - min","contact-form-7-skins"),optionType:"input"},{cf7Option:"",optionLabel:I("Range - max","contact-form-7-skins"),optionType:"input"}],cf7TagType:"number",cf7Values:"",cf7Placeholder:"",cf7Min:"",cf7Max:"",cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-sort-alphabetically",noChildren:!0},{cf7sType:"quiz",cf7sSelectLabel:I("Quiz","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"quiz",cf7sLabel:"",cf7Required:!1,cf7Options:[{question:I("Question 1","contact-form-7-skins"),answer:I("Answer 1","contact-form-7-skins")},{question:I("Question 2","contact-form-7-skins"),answer:I("Answer 2","contact-form-7-skins")}],cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-lightbulb",noChildren:!0},{cf7sType:"radio",cf7sSelectLabel:I("Radio Button (option)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"radio",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"label_first",isChecked:!1,optionLabel:I("Put a label first, a checkbox last","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"use_label_element",isChecked:!1,optionLabel:I("Wrap each item with label element","contact-form-7-skins"),optionType:"checkbox"}],cf7Options:[{value:I("Option 1","contact-form-7-skins"),isChecked:!0},{value:I("Option 2","contact-form-7-skins"),isChecked:!1}],cf7LabelFirst:!1,cf7UseLabelElement:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-media-record-outline",noChildren:!0},{cf7sType:"select",cf7sSelectLabel:I("Select (dropdown)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"select",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",isChecked:!1,optionLabel:I("Allow multiple selections","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"",isChecked:!1,optionLabel:I("Insert a blank item as the first option","contact-form-7-skins"),optionType:"checkbox"}],cf7Options:[{value:I("Option 1","contact-form-7-skins"),isChecked:!0},{value:I("Option 2","contact-form-7-skins"),isChecked:!1}],cf7Multiple:!1,cf7IncludeBlank:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-th-menu",noChildren:!0},{cf7sType:"submit",cf7sSelectLabel:I("Submit","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"submit",cf7sLabel:"Submit",cf7Values:"",cf7Required:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-mail",noChildren:!0},{cf7sType:"tel",cf7sSelectLabel:I("Telephone","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"tel",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",optionLabel:I("Default value","contact-form-7-skins"),optionType:"input"},{cf7Option:"placeholder",isChecked:!1,optionLabel:I("Use this text as the placeholder of the field","contact-form-7-skins"),optionType:"checkbox"}],cf7Values:"",cf7Placeholder:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-phone",noChildren:!0},{cf7sType:"text",cf7sSelectLabel:I("Text (short text)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"text",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",optionLabel:I("Default value","contact-form-7-skins"),optionType:"input"},{cf7Option:"placeholder",isChecked:!1,optionLabel:I("Use this text as the placeholder of the field","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"akismet_author_email",isChecked:!1,optionLabel:I("Akismet - this field requires author's email address","contact-form-7-skins"),optionType:"checkbox"}],cf7Values:"",cf7Placeholder:!1,cf7AkismetAuthor:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-sort-alphabetically",noChildren:!0},{cf7sType:"textarea",cf7sSelectLabel:I("Textarea (long text)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"textarea",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",optionLabel:I("Default value","contact-form-7-skins"),optionType:"input"},{cf7Option:"placeholder",isChecked:!1,optionLabel:I("Use this text as the placeholder of the field","contact-form-7-skins"),optionType:"checkbox"}],cf7Values:"",cf7Placeholder:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-document-text",noChildren:!0},{cf7sType:"url",cf7sSelectLabel:I("URL (website link)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"url",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",optionLabel:I("Default value","contact-form-7-skins"),optionType:"input"},{cf7Option:"placeholder",isChecked:!1,optionLabel:I("Use this text as the placeholder of the field","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"akismet_author_email",isChecked:!1,optionLabel:I("Akismet - this field requires author's email address","contact-form-7-skins"),optionType:"checkbox"}],cf7Values:"",cf7Placeholder:!1,cf7AkismetAuthorUrl:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-link",noChildren:!0},{cf7sType:"recaptcha",cf7sSelectLabel:"reCAPTCHA",cf7sSelectGroup:"cf7Tag",cf7Name:"recaptcha",cf7sLabel:"",cf7IdAttribute:"",cf7Size:"",cf7Theme:"",cf7ClassAttribute:"",cf7sIcon:"dashicons dashicons-update",noChildren:!0},{cf7sType:"fieldset",cf7sSelectLabel:I("Fieldset (with legend)","contact-form-7-skins"),cf7sSelectGroup:"cf7sItem",cf7Name:"fieldset",cf7sLabel:I("Legend ..","contact-form-7-skins"),cf7sIcon:"typcn typcn-folder"},{cf7sType:"list-ol",cf7sSelectLabel:I("List - ol","contact-form-7-skins"),cf7sSelectGroup:"cf7sItem",cf7Name:"listol",cf7sLabel:"",cf7sIcon:"dashicons dashicons-editor-ol",noChildren:!1},{cf7sType:"list-li",cf7sSelectLabel:I("List Item - li","contact-form-7-skins"),cf7sSelectGroup:"cf7sItem",cf7Name:"listli",cf7sLabel:"",cf7sIcon:"dashicons dashicons-editor-ul",noChildren:!1},{cf7sType:"paragraph",cf7sSelectLabel:I("Paragraph - p","contact-form-7-skins"),cf7sSelectGroup:"cf7sItem",cf7Name:"paragraph",cf7sContent:"",cf7sIcon:"dashicons dashicons-editor-paragraph",noChildren:!0}],P=[].concat(j),D=C("addons"),N=!!D&&D.get("addCf7sItems");if(N)for(var E=0;E<N.length;++E)N[E](P);var _=n(10);function R(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return q(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?q(e,void 0):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var c=0,o=function(){};return{s:o,n:function(){return c>=e.length?{done:!0}:{done:!1,value:e[c++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,r=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw r}}}}function q(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,c=new Array(t);n<t;n++)c[n]=e[n];return c}function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,c)}return n}function G(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var U=G({},window.wp.i18n),V=U.sprintf,z=U.__,B=Object(_.cloneDeep)(P).filter((function(e){return"list-ol"===e.cf7sType}))[0],F=Object(_.cloneDeep)(P).filter((function(e){return"list-li"===e.cf7sType}))[0];function $(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"drop",t={},n=C("addons"),c=!!n&&n.get("cf7sRules");if(c)for(var o=0;o<c.length;++o)for(var r in c[o])t[r]||(t[r]=[]),t[r].push(c[o][r]);if(t&&t[e])return t[e]}function Z(e){var t=G({},e),n=t.node,c=t.prevTreeIndex,o=t.nextParent,r=C("treeData")||e.treeData;if(o&&"list-li"===o.cf7sType&&o.children){var i,s=0,a=R(o.children);try{for(a.s();!(i=a.n()).done;){var l,f=i.value,u=R(P);try{for(u.s();!(l=u.n()).done;){var p=l.value;f.cf7sType===p.cf7sType&&"cf7Tag"===p.cf7sSelectGroup&&s++}}catch(e){u.e(e)}finally{u.f()}}}catch(e){a.e(e)}finally{a.f()}if(s>1)return console.warn("Only one CF7 tag for each list"),!1}if(n&&null==c&&"recaptcha"===n.cf7sType&&H(n.cf7sType,r)>0&&null==c)return console.warn(z("Only one reCAPTCHA per form allowed.","contact-form-7-skins")),!1;if(n&&null==c&&"submit"===n.cf7sType&&H(n.cf7sType,r)>0)return console.warn(z("Only one submit for each form.","contact-form-7-skins")),!1;if(n.cf7sRoot&&o)return console.warn("Root node can not be dragged to other node."),!1;var d=$("drop");if(d&&d.length)for(var b=0;b<d.length;++b)if(!d[b](e))return!1;return!o||!o.noChildren}function J(e,t){if("list-ol"===e.cf7sType&&!e.children){var n=w(Object(_.cloneDeep)(F));n.children=[],e.children=[G({},n)],e.expanded=!0}if(!(t&&"fieldset"!==t.cf7sType||e.children||"fieldset"!==e.cf7sType)){var c=w(Object(_.cloneDeep)(B)),o=w(Object(_.cloneDeep)(F));return c.children=[G({},o)],c.expanded=!0,e.children=[G({},c)],e.expanded=!0,e}if((!t||"fieldset"===t.cf7sType||!1===t.noChildren&&["list-ol","list-li"].indexOf(t.cf7sType)<0)&&"cf7Tag"===e.cf7sSelectGroup&&["recaptcha","submit"].indexOf(e.cf7sType)<0){var r=w(Object(_.cloneDeep)(B)),i=w(Object(_.cloneDeep)(F));return i.children=[G({},e)],i.expanded=!0,r.children=[G({},i)],r.expanded=!0,r}if(t&&"list-ol"===t.cf7sType&&"list-li"!==e.cf7sType){var s=w(Object(_.cloneDeep)(F));return s.expanded=!0,s.children=[G({},e)],s}if("list-li"===e.cf7sType&&null===t||"list-li"===e.cf7sType&&"list-ol"!==t.cf7sType){var a=w(Object(_.cloneDeep)(B));return a.children=[G({},e)],a.expanded=!0,a}var l=$("surround");if(l&&l.length)for(var f=0;f<l.length;++f)e=l[f]({node:e,parentNode:t,nodeOL:B,nodeLI:F,randomizeName:w});return e}function Q(e){var t=G({},e),n=t.node,c=t.parentNode;if("recaptcha"===n.cf7sType||"submit"===n.cf7sType)return V(z("Only one %s allowed in a form.","contact-form-7-skins"),n.cf7sType);if(W(n,"recaptcha"))return z("Node has recaptcha children. Only one recaptcha allowed in a form.","contact-form-7-skins");if(W(n,"submit"))return z("Node has submit children. Only one submit allowed in a form.","contact-form-7-skins");if(c&&"list-li"===c.cf7sType&&"cf7Tag"===n.cf7sSelectGroup)return"surrounding";var o=$("duplicate");if(o&&o.length)for(var r=0;r<o.length;++r)o[r](e);return!0}function H(e,t){var n=0;return function t(c){var o,r=R(c);try{for(r.s();!(o=r.n()).done;){var i=o.value;e===i.cf7sType&&n++,i.children&&t(i.children)}}catch(e){r.e(e)}finally{r.f()}}(t),n}function W(e,t){if(!e.children)return!1;var n,c=R(e.children);try{for(c.s();!(n=c.n()).done;){var o=n.value;return t===o.cf7sType||W(o,t)}}catch(e){c.e(e)}finally{c.f()}}}});
|
js/visual.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=351)}([function(e,t){e.exports=React},function(e,t,n){e.exports=n(112)()},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.default=e.exports,e.exports.__esModule=!0,n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(49);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(17).default,o=n(3);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";n.d(t,"c",(function(){return l})),n.d(t,"f",(function(){return i.a})),n.d(t,"i",(function(){return i.d})),n.d(t,"h",(function(){return i.c})),n.d(t,"k",(function(){return i.f})),n.d(t,"j",(function(){return i.e})),n.d(t,"g",(function(){return i.b})),n.d(t,"d",(function(){return f.cf7sRequest})),n.d(t,"a",(function(){return O})),n.d(t,"e",(function(){return x})),n.d(t,"b",(function(){return T}));var r=n(2),o=n.n(r),i=n(11);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var __=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},window.wp.i18n).__,s=[{cf7sType:"acceptance",cf7sSelectLabel:__("Acceptance (confirm)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"acceptance",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"default_on",isChecked:!1,optionLabel:__("Make this checkbox checked by default","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"invert",isChecked:!1,optionLabel:__("Make this work inversely","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"optional",isChecked:!0,optionLabel:__("Make this checkbox optional","contact-form-7-skins"),optionType:"checkbox"}],cf7DefaultOn:!1,cf7Invert:!1,cf7Optional:!0,cf7Content:"",cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-thumbs-ok",noChildren:!0},{cf7sType:"checkbox",cf7sSelectLabel:__("Checkbox (option)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"checkbox",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"label_first",isChecked:!1,optionLabel:__("Put a label first, a checkbox last","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"use_label_element",isChecked:!1,optionLabel:__("Wrap each item with label element","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"exclusive",isChecked:!1,optionLabel:__("Make checkboxes exclusive","contact-form-7-skins"),optionType:"checkbox"}],cf7Options:[{value:"Option 1",isChecked:!0},{value:"Option 2",isChecked:!1}],cf7LabelFirst:!1,cf7UseLabelElement:!1,cf7Exclusive:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-input-checked",noChildren:!0},{cf7sType:"date",cf7sSelectLabel:__("Date","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"date",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",optionLabel:__("Default value","contact-form-7-skins"),optionType:"input"},{cf7Option:"placeholder",isChecked:!1,optionLabel:__("Use this text as the placeholder of the field","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"",optionLabel:__("Range - min","contact-form-7-skins"),optionType:"input"},{cf7Option:"",optionLabel:__("Range - max","contact-form-7-skins"),optionType:"input"}],cf7Values:"",cf7Placeholder:!1,cf7Min:"",cf7Max:"",cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-calendar",noChildren:!0},{cf7sType:"email",cf7sSelectLabel:__("Email","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"email",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",optionLabel:"Default value",optionType:"input"},{cf7Option:"placeholder",isChecked:!1,optionLabel:__("Use this text as the placeholder of the field","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"akismet_author_email",isChecked:!1,optionLabel:__("Akismet - this field requires author's email address","contact-form-7-skins"),optionType:"checkbox"}],cf7Values:"",cf7Placeholder:!1,cf7AkismetAuthorEmail:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-mail",noChildren:!0},{cf7sType:"file",cf7sSelectLabel:__("File (upload)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"file",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"limit",optionLabel:__("File size limit (bytes)","contact-form-7-skins"),optionType:"input"},{cf7Option:"",optionLabel:__("Acceptable file types","contact-form-7-skins"),optionType:"select"}],cf7Limit:"",cf7FileTypes:"",cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-attachment",noChildren:!0},{cf7sType:"number",cf7sSelectLabel:__("Number","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"number",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",optionLabel:"Field Type",optionType:"select"},{cf7Option:"",optionLabel:__("Default value","contact-form-7-skins"),optionType:"input"},{cf7Option:"placeholder",isChecked:!1,optionLabel:__("Use this text as the placeholder of the field","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"",optionLabel:__("Range - min","contact-form-7-skins"),optionType:"input"},{cf7Option:"",optionLabel:__("Range - max","contact-form-7-skins"),optionType:"input"}],cf7TagType:"number",cf7Values:"",cf7Placeholder:"",cf7Min:"",cf7Max:"",cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-sort-alphabetically",noChildren:!0},{cf7sType:"quiz",cf7sSelectLabel:__("Quiz","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"quiz",cf7sLabel:"",cf7Required:!1,cf7Options:[{question:__("Question 1","contact-form-7-skins"),answer:__("Answer 1","contact-form-7-skins")},{question:__("Question 2","contact-form-7-skins"),answer:__("Answer 2","contact-form-7-skins")}],cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-lightbulb",noChildren:!0},{cf7sType:"radio",cf7sSelectLabel:__("Radio Button (option)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"radio",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"label_first",isChecked:!1,optionLabel:__("Put a label first, a checkbox last","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"use_label_element",isChecked:!1,optionLabel:__("Wrap each item with label element","contact-form-7-skins"),optionType:"checkbox"}],cf7Options:[{value:__("Option 1","contact-form-7-skins"),isChecked:!0},{value:__("Option 2","contact-form-7-skins"),isChecked:!1}],cf7LabelFirst:!1,cf7UseLabelElement:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-media-record-outline",noChildren:!0},{cf7sType:"select",cf7sSelectLabel:__("Select (dropdown)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"select",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",isChecked:!1,optionLabel:__("Allow multiple selections","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"",isChecked:!1,optionLabel:__("Insert a blank item as the first option","contact-form-7-skins"),optionType:"checkbox"}],cf7Options:[{value:__("Option 1","contact-form-7-skins"),isChecked:!0},{value:__("Option 2","contact-form-7-skins"),isChecked:!1}],cf7Multiple:!1,cf7IncludeBlank:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-th-menu",noChildren:!0},{cf7sType:"submit",cf7sSelectLabel:__("Submit","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"submit",cf7sLabel:"Submit",cf7Values:"",cf7Required:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-mail",noChildren:!0},{cf7sType:"tel",cf7sSelectLabel:__("Telephone","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"tel",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",optionLabel:__("Default value","contact-form-7-skins"),optionType:"input"},{cf7Option:"placeholder",isChecked:!1,optionLabel:__("Use this text as the placeholder of the field","contact-form-7-skins"),optionType:"checkbox"}],cf7Values:"",cf7Placeholder:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-phone",noChildren:!0},{cf7sType:"text",cf7sSelectLabel:__("Text (short text)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"text",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",optionLabel:__("Default value","contact-form-7-skins"),optionType:"input"},{cf7Option:"placeholder",isChecked:!1,optionLabel:__("Use this text as the placeholder of the field","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"akismet_author_email",isChecked:!1,optionLabel:__("Akismet - this field requires author's email address","contact-form-7-skins"),optionType:"checkbox"}],cf7Values:"",cf7Placeholder:!1,cf7AkismetAuthor:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-sort-alphabetically",noChildren:!0},{cf7sType:"textarea",cf7sSelectLabel:__("Textarea (long text)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"textarea",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",optionLabel:__("Default value","contact-form-7-skins"),optionType:"input"},{cf7Option:"placeholder",isChecked:!1,optionLabel:__("Use this text as the placeholder of the field","contact-form-7-skins"),optionType:"checkbox"}],cf7Values:"",cf7Placeholder:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-document-text",noChildren:!0},{cf7sType:"url",cf7sSelectLabel:__("URL (website link)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"url",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",optionLabel:__("Default value","contact-form-7-skins"),optionType:"input"},{cf7Option:"placeholder",isChecked:!1,optionLabel:__("Use this text as the placeholder of the field","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"akismet_author_email",isChecked:!1,optionLabel:__("Akismet - this field requires author's email address","contact-form-7-skins"),optionType:"checkbox"}],cf7Values:"",cf7Placeholder:!1,cf7AkismetAuthorUrl:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-link",noChildren:!0},{cf7sType:"recaptcha",cf7sSelectLabel:"reCAPTCHA",cf7sSelectGroup:"cf7Tag",cf7Name:"recaptcha",cf7sLabel:"",cf7IdAttribute:"",cf7Size:"",cf7Theme:"",cf7ClassAttribute:"",cf7sIcon:"dashicons dashicons-update",noChildren:!0},{cf7sType:"fieldset",cf7sSelectLabel:__("Fieldset (with legend)","contact-form-7-skins"),cf7sSelectGroup:"cf7sItem",cf7Name:"fieldset",cf7sLabel:__("Legend ..","contact-form-7-skins"),cf7sIcon:"typcn typcn-folder"},{cf7sType:"list-ol",cf7sSelectLabel:__("List - ol","contact-form-7-skins"),cf7sSelectGroup:"cf7sItem",cf7Name:"listol",cf7sLabel:"",cf7sIcon:"dashicons dashicons-editor-ol",noChildren:!1},{cf7sType:"list-li",cf7sSelectLabel:__("List Item - li","contact-form-7-skins"),cf7sSelectGroup:"cf7sItem",cf7Name:"listli",cf7sLabel:"",cf7sIcon:"dashicons dashicons-editor-ul",noChildren:!1},{cf7sType:"paragraph",cf7sSelectLabel:__("Paragraph - p","contact-form-7-skins"),cf7sSelectGroup:"cf7sItem",cf7Name:"paragraph",cf7sContent:"",cf7sIcon:"dashicons dashicons-editor-paragraph",noChildren:!0}],l=[].concat(s),c=Object(i.b)("addons"),u=!!c&&c.get("addCf7sItems");if(u)for(var d=0;d<u.length;++d)u[d](l);var f=n(32),p=n(10);function h(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return v(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,void 0):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var y=m({},window.wp.i18n),b=y.sprintf,_=y.__,w=Object(p.cloneDeep)(l).filter((function(e){return"list-ol"===e.cf7sType}))[0],S=Object(p.cloneDeep)(l).filter((function(e){return"list-li"===e.cf7sType}))[0];function C(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"drop",t={},n=Object(i.b)("addons"),r=!!n&&n.get("cf7sRules");if(r)for(var o=0;o<r.length;++o)for(var a in r[o])t[a]||(t[a]=[]),t[a].push(r[o][a]);if(t&&t[e])return t[e]}function O(e){var t=m({},e),n=t.node,r=t.prevTreeIndex,o=t.nextParent,a=Object(i.b)("treeData")||e.treeData;if(o&&"list-li"===o.cf7sType&&o.children){var s,c=0,u=h(o.children);try{for(u.s();!(s=u.n()).done;){var d,f=s.value,p=h(l);try{for(p.s();!(d=p.n()).done;){var v=d.value;f.cf7sType===v.cf7sType&&"cf7Tag"===v.cf7sSelectGroup&&c++}}catch(e){p.e(e)}finally{p.f()}}}catch(e){u.e(e)}finally{u.f()}if(c>1)return console.warn("Only one CF7 tag for each list"),!1}if(n&&null==r&&"recaptcha"===n.cf7sType&&k(n.cf7sType,a)>0&&null==r)return console.warn(_("Only one reCAPTCHA per form allowed.","contact-form-7-skins")),!1;if(n&&null==r&&"submit"===n.cf7sType&&k(n.cf7sType,a)>0)return console.warn(_("Only one submit for each form.","contact-form-7-skins")),!1;if(n.cf7sRoot&&o)return console.warn("Root node can not be dragged to other node."),!1;var g=C("drop");if(g&&g.length)for(var y=0;y<g.length;++y)if(!g[y](e))return!1;return!o||!o.noChildren}function x(e,t){if("list-ol"===e.cf7sType&&!e.children){var n=Object(i.d)(Object(p.cloneDeep)(S));n.children=[],e.children=[m({},n)],e.expanded=!0}if(!(t&&"fieldset"!==t.cf7sType||e.children||"fieldset"!==e.cf7sType)){var r=Object(i.d)(Object(p.cloneDeep)(w)),o=Object(i.d)(Object(p.cloneDeep)(S));return r.children=[m({},o)],r.expanded=!0,e.children=[m({},r)],e.expanded=!0,e}if((!t||"fieldset"===t.cf7sType||!1===t.noChildren&&["list-ol","list-li"].indexOf(t.cf7sType)<0)&&"cf7Tag"===e.cf7sSelectGroup&&["recaptcha","submit"].indexOf(e.cf7sType)<0){var a=Object(i.d)(Object(p.cloneDeep)(w)),s=Object(i.d)(Object(p.cloneDeep)(S));return s.children=[m({},e)],s.expanded=!0,a.children=[m({},s)],a.expanded=!0,a}if(t&&"list-ol"===t.cf7sType&&"list-li"!==e.cf7sType){var l=Object(i.d)(Object(p.cloneDeep)(S));return l.expanded=!0,l.children=[m({},e)],l}if("list-li"===e.cf7sType&&null===t||"list-li"===e.cf7sType&&"list-ol"!==t.cf7sType){var c=Object(i.d)(Object(p.cloneDeep)(w));return c.children=[m({},e)],c.expanded=!0,c}var u=C("surround");if(u&&u.length)for(var d=0;d<u.length;++d)e=u[d]({node:e,parentNode:t,nodeOL:w,nodeLI:S,randomizeName:i.d});return e}function T(e){var t=m({},e),n=t.node,r=t.parentNode;if("recaptcha"===n.cf7sType||"submit"===n.cf7sType)return b(_("Only one %s allowed in a form.","contact-form-7-skins"),n.cf7sType);if(D(n,"recaptcha"))return _("Node has recaptcha children. Only one recaptcha allowed in a form.","contact-form-7-skins");if(D(n,"submit"))return _("Node has submit children. Only one submit allowed in a form.","contact-form-7-skins");if(r&&"list-li"===r.cf7sType&&"cf7Tag"===n.cf7sSelectGroup)return"surrounding";var o=C("duplicate");if(o&&o.length)for(var i=0;i<o.length;++i)o[i](e);return!0}function k(e,t){var n=0;return function t(r){var o,i=h(r);try{for(i.s();!(o=i.n()).done;){var a=o.value;e===a.cf7sType&&n++,a.children&&t(a.children)}}catch(e){i.e(e)}finally{i.f()}}(t),n}function D(e,t){if(!e.children)return!1;var n,r=h(e.children);try{for(r.s();!(n=r.n()).done;){var o=n.value;return t===o.cf7sType||D(o,t)}}catch(e){r.e(e)}finally{r.f()}}},function(e,t){e.exports=lodash},function(e,t,n){"use strict";n.d(t,"a",(function(){return S})),n.d(t,"e",(function(){return C})),n.d(t,"d",(function(){return O})),n.d(t,"c",(function(){return x})),n.d(t,"f",(function(){return T})),n.d(t,"b",(function(){return k}));var r=n(17),o=n.n(r),i=n(2),a=n.n(i),s=n(0),l=n.n(s),c=n(12),u=n.n(c),d=n(9),f=n(32);function p(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return h(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,void 0):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m=g({},window.wp.i18n),y=m.sprintf,__=m.__,b=g({},window.wp.data),_=b.dispatch,w=b.select;function S(){var e,t=[],n=[],r=p(d.c);try{for(r.s();!(e=r.n()).done;){var o=e.value;t[o.cf7sType]=O(o)}}catch(e){r.e(e)}finally{r.f()}return t.fieldset.expanded=!0,t.fieldset.cf7sLabel=__("Legend","contact-form-7-skins"),n.push(t.fieldset),t["list-ol"].expanded=!0,n[0].children=[g({},t["list-ol"])],t.text.cf7sLabel=__("Your Name (required)","contact-form-7-skins"),t.text.cf7Required=!0,t["list-li"].expanded=!0,t["list-li"].children=[g({},t.text)],n[0].children[0].children=[g({},t["list-li"])],t.email.cf7sLabel=__("Email Address (required)","contact-form-7-skins"),t.email.cf7Required=!0,t["list-li"]=O(t["list-li"]),t["list-li"].children=[g({},t.email)],n[0].children[0].children[1]=g({},t["list-li"]),t.textarea.cf7sLabel=__("Your Message","contact-form-7-skins"),t["list-li"]=O(t["list-li"]),t["list-li"].children=[g({},t.textarea)],n[0].children[0].children[2]=g({},t["list-li"]),t.paragraph.cf7sContent=__("* Required","contact-form-7-skins"),n[0].children[1]=g({},t.paragraph),t.submit.cf7sLabel=__("Send","contact-form-7-skins"),n.push(t.submit),n}function C(e){var t=_("cf7svisual").setNotice,n=g({},w("cf7svisual").getStates()),r=window.cf7svisual.treeData||n.treeData.slice(),i=window.cf7svisual;if("development"===i.environment&&(console.log("on save:",r),console.log(JSON.stringify(r))),i&&document.getElementById("post_ID")){var a=document.getElementById("post_ID").getAttribute("value"),s=document.getElementById("wpcf7-admin-form-element"),c=document.createElement("input");if(!a||a<0)c.setAttribute("type","hidden"),c.setAttribute("name","cf7s-visual"),c.setAttribute("value",JSON.stringify(r)),s.appendChild(c),s.submit();else{var d=document.getElementsByClassName("cf7sSpinner")[0];d.style.visibility="visible";var h={action:"cf7skins_visual_update",form_id:a,visual:JSON.stringify(r),template:document.getElementById("cf7s-template").value,style:document.getElementById("cf7s-style").value},v=document.getElementById("title").value;i.title!==v&&(h.title=v),Object(f.cf7sRequest)(h,"json").then((function(e){window.cf7sAdmin.getTextarea().value=e.form,window.onbeforeunload=null,"function"==typeof Event?new Event("change",{bubbles:!0}):document.createEvent("Event").initEvent("change",!0,!0),window.cf7sAdmin.getTextarea().dispatchEvent(new Event("change",{bubbles:!0})),d.style.visibility="hidden";var n=l.a.createElement("div",{className:"notice notice-success is-dismissible"},l.a.createElement("p",null,"Visual saved!"),l.a.createElement("button",{type:"button",className:"notice-dismiss",onClick:function(){return u.a.unmountComponentAtNode(document.getElementById("cf7s-visual-notice"))}},l.a.createElement("span",{className:"screen-reader-text"},__("Dismiss this notice.","contact-form-7-skins"))));if(u.a.render(n,document.getElementById("cf7s-visual-notice")),t(__("Visual saved!","contact-form-7-skins"),"success"),e.callbacks){var r,i=p(e.callbacks);try{for(i.s();!(r=i.n()).done;){var a=r.value;if("object"===o()(a)){var s=Object.keys(a)[0];if(void 0===window[s]){console.warn(y(__("Namespace %s is undefined!","contact-form-7-skins"),s));continue}var c=a[s];void 0!==window[s][c]?window[s][c].apply():console.warn(y(__("Function %1$s.%2$s is undefined!","contact-form-7-skins"),s,"".concat(c,"()")))}else void 0!==window[a]?window[a].apply():console.warn(y(__("Function %s is undefined!","contact-form-7-skins"),"".concat(a,"()")))}}catch(e){i.e(e)}finally{i.f()}}})).catch((function(e){return console.error(e)}))}}else t(__("Can not save! window.cf7svisual or post ID does not exist.","contact-form-7-skins"),"error")}function O(e){var t=Math.floor(899*Math.random()+100);if(e.cf7Name="".concat(e.cf7sType,"-").concat(t),e.children){var n,r=p(e.children);try{for(r.s();!(n=r.n()).done;)O(n.value)}catch(e){r.e(e)}finally{r.f()}}return e}function x(e){var t=function(t){var n=d.c.filter((function(n){return n.cf7sType===e[t].cf7sType}))[0];e[t]=g(g({},n),e[t]),e[t].children&&x(e[t].children)};for(var n in e)t(n);return e}function T(e,t,n){var r=n&&n.lexicographical||!1,o=n&&n.zeroExtend||!0,i=(e||"0").split("."),a=(t||"0").split(".");function s(e){return(r?/^\d+[A-Za-zαß]*$/:/^\d+[A-Za-zαß]?$/).test(e)}if(!i.every(s)||!a.every(s))return NaN;if(o){for(;i.length<a.length;)i.push("0");for(;a.length<i.length;)a.push("0")}r||(i=i.map((function(e){var t=/[A-Za-zαß]/.exec(e);return Number(t?e.replace(t[0],"."+e.charCodeAt(t.index)):e)})),a=a.map((function(e){var t=/[A-Za-zαß]/.exec(e);return Number(t?e.replace(t[0],"."+e.charCodeAt(t.index)):e)})));for(var l=0;l<i.length;++l){if(a.length===l)return!0;if(i[l]!==a[l])return i[l]>a[l]}return i.length===a.length}function k(e){var t=window.cf7svisual;if(void 0===t&&null===t)return console.log("window.cf7svisual does not exist!"),!1;if(!e)return!0;if(!t.hasOwnProperty(e))return!1;var n={addons:{},environment:"",options:{},items:[],integration:{},title:"",treeData:[],versions:{}};return!(!n.hasOwnProperty(e)||o()(t[e])!==o()(n[e]))&&t[e]}},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},function(e,t,n){"use strict";t.__esModule=!0;var r,o=(r=n(303))&&r.__esModule?r:{default:r};t.default=o.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,n.apply(this,arguments)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(33),o=n(118),i=n(28),a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,u=l.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==u}},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=n=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";t.__esModule=!0;var r,o=(r=n(110))&&r.__esModule?r:{default:r};t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,o.default)(t))&&"function"!=typeof t?e:t}},function(e,t,n){var r=n(265),o=n(266),i=n(233),a=n(267);e.exports=function(e){return r(e)||o(e)||i(e)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(338)),o=a(n(342)),i=a(n(110));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,i.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},function(e,t,n){"undefined"!=typeof self&&self,e.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=7)}([function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function o(e){var t=e.targetIndex,n=e.node,i=e.currentIndex,a=e.getNodeKey,s=e.path,l=void 0===s?[]:s,c=e.lowerSiblingCounts,u=void 0===c?[]:c,d=e.ignoreCollapsed,f=void 0===d||d,p=e.isPseudoRoot,h=void 0!==p&&p?[]:[].concat(r(l),[a({node:n,treeIndex:i})]);if(i===t)return{node:n,lowerSiblingCounts:u,path:h};if(!n.children||f&&!0!==n.expanded)return{nextIndex:i+1};for(var v=i+1,g=n.children.length,m=0;m<g;m+=1){var y=o({ignoreCollapsed:f,getNodeKey:a,targetIndex:t,node:n.children[m],currentIndex:v,lowerSiblingCounts:[].concat(r(u),[g-m-1]),path:h});if(y.node)return y;v=y.nextIndex}return{nextIndex:v}}function i(e){var t=e.node,n=e.ignoreCollapsed;return o({getNodeKey:function(){},ignoreCollapsed:void 0===n||n,node:t,currentIndex:0,targetIndex:-1}).nextIndex-1}function a(e){var t=e.treeData,n=e.getNodeKey,o=e.callback,i=e.ignoreCollapsed,a=void 0===i||i;!t||t.length<1||function e(t){var n=t.callback,o=t.getNodeKey,i=t.ignoreCollapsed,a=t.isPseudoRoot,s=void 0!==a&&a,l=t.node,c=t.parentNode,u=void 0===c?null:c,d=t.currentIndex,f=t.path,p=void 0===f?[]:f,h=t.lowerSiblingCounts,v=void 0===h?[]:h,g=s?[]:[].concat(r(p),[o({node:l,treeIndex:d})]);if(!s&&!1===n(s?null:{node:l,parentNode:u,path:g,lowerSiblingCounts:v,treeIndex:d}))return!1;if(!l.children||!0!==l.expanded&&i&&!s)return d;var m=d,y=l.children.length;if("function"!=typeof l.children)for(var b=0;b<y;b+=1)if(!1===(m=e({callback:n,getNodeKey:o,ignoreCollapsed:i,node:l.children[b],parentNode:s?null:l,currentIndex:m+1,lowerSiblingCounts:[].concat(r(v),[y-b-1]),path:g})))return!1;return m}({callback:o,getNodeKey:n,ignoreCollapsed:a,isPseudoRoot:!0,node:{children:t},currentIndex:-1,path:[],lowerSiblingCounts:[]})}function s(e){var t=e.treeData,n=e.getNodeKey,o=e.callback,i=e.ignoreCollapsed,a=void 0===i||i;return!t||t.length<1?[]:function e(t){var n=t.callback,o=t.getNodeKey,i=t.ignoreCollapsed,a=t.isPseudoRoot,s=void 0!==a&&a,l=t.node,u=t.parentNode,d=void 0===u?null:u,f=t.currentIndex,p=t.path,h=void 0===p?[]:p,v=t.lowerSiblingCounts,g=void 0===v?[]:v,m=c({},l),y=s?[]:[].concat(r(h),[o({node:m,treeIndex:f})]),b={node:m,parentNode:d,path:y,lowerSiblingCounts:g,treeIndex:f};if(!m.children||!0!==m.expanded&&i&&!s)return{treeIndex:f,node:n(b)};var _=f,w=m.children.length;return"function"!=typeof m.children&&(m.children=m.children.map((function(t,a){var l=e({callback:n,getNodeKey:o,ignoreCollapsed:i,node:t,parentNode:s?null:m,currentIndex:_+1,lowerSiblingCounts:[].concat(r(g),[w-a-1]),path:y});return _=l.treeIndex,l.node}))),{node:n(b),treeIndex:_}}({callback:o,getNodeKey:n,ignoreCollapsed:a,isPseudoRoot:!0,node:{children:t},currentIndex:-1,path:[],lowerSiblingCounts:[]}).node.children}function l(e){var t=e.treeData,n=e.path,o=e.newNode,a=e.getNodeKey,s=e.ignoreCollapsed,l=void 0===s||s,u=function e(t){var s=t.isPseudoRoot,u=void 0!==s&&s,d=t.node,f=t.currentTreeIndex,p=t.pathIndex;if(!u&&a({node:d,treeIndex:f})!==n[p])return"RESULT_MISS";if(p>=n.length-1)return"function"==typeof o?o({node:d,treeIndex:f}):o;if(!d.children)throw new Error("Path referenced children of node with no children.");for(var h=f+1,v=0;v<d.children.length;v+=1){var g=e({node:d.children[v],currentTreeIndex:h,pathIndex:p+1});if("RESULT_MISS"!==g)return c({},d,g?{children:[].concat(r(d.children.slice(0,v)),[g],r(d.children.slice(v+1)))}:{children:[].concat(r(d.children.slice(0,v)),r(d.children.slice(v+1)))});h+=1+i({node:d.children[v],ignoreCollapsed:l})}return"RESULT_MISS"}({node:{children:t},currentTreeIndex:-1,pathIndex:-1,isPseudoRoot:!0});if("RESULT_MISS"===u)throw new Error("No node found at the given path.");return u.children}Object.defineProperty(t,"__esModule",{value:!0});var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.getDescendantCount=i,t.getVisibleNodeCount=function(e){return e.treeData.reduce((function(e,t){return e+function e(t){return t.children&&!0===t.expanded&&"function"!=typeof t.children?1+t.children.reduce((function(t,n){return t+e(n)}),0):1}(t)}),0)},t.getVisibleNodeInfoAtIndex=function(e){var t=e.treeData,n=e.index,r=e.getNodeKey;if(!t||t.length<1)return null;var i=o({targetIndex:n,getNodeKey:r,node:{children:t,expanded:!0},currentIndex:-1,path:[],lowerSiblingCounts:[],isPseudoRoot:!0});return i.node?i:null},t.walk=a,t.map=s,t.toggleExpandedForAll=function(e){var t=e.treeData,n=e.expanded,r=void 0===n||n;return s({treeData:t,callback:function(e){var t=e.node;return c({},t,{expanded:r})},getNodeKey:function(e){return e.treeIndex},ignoreCollapsed:!1})},t.changeNodeAtPath=l,t.removeNodeAtPath=function(e){var t=e.treeData,n=e.path,r=e.getNodeKey,o=e.ignoreCollapsed;return l({treeData:t,path:n,getNodeKey:r,ignoreCollapsed:void 0===o||o,newNode:null})},t.removeNode=function(e){var t=e.treeData,n=e.path,r=e.getNodeKey,o=e.ignoreCollapsed,i=null,a=null;return{treeData:l({treeData:t,path:n,getNodeKey:r,ignoreCollapsed:void 0===o||o,newNode:function(e){var t=e.node,n=e.treeIndex;return i=t,a=n,null}}),node:i,treeIndex:a}},t.getNodeAtPath=function(e){var t=e.treeData,n=e.path,r=e.getNodeKey,o=e.ignoreCollapsed,i=void 0===o||o,a=null;try{l({treeData:t,path:n,getNodeKey:r,ignoreCollapsed:i,newNode:function(e){var t=e.node,n=e.treeIndex;return a={node:t,treeIndex:n},t}})}catch(e){}return a},t.addNodeUnderParent=function(e){var t=e.treeData,n=e.newNode,o=e.parentKey,a=void 0===o?null:o,l=e.getNodeKey,u=e.ignoreCollapsed,d=void 0===u||u,f=e.expandParent,p=void 0!==f&&f;if(null===a)return{treeData:[].concat(r(t||[]),[n]),treeIndex:(t||[]).length};var h=null,v=!1,g=s({treeData:t,getNodeKey:l,ignoreCollapsed:d,callback:function(e){var t=e.node,o=e.treeIndex,s=e.path,l=s?s[s.length-1]:null;if(v||l!==a)return t;v=!0;var u=c({},t);if(p&&(u.expanded=!0),!u.children)return h=o+1,c({},u,{children:[n]});if("function"==typeof u.children)throw new Error("Cannot add to children defined by a function");for(var f=o+1,g=0;g<u.children.length;g+=1)f+=1+i({node:u.children[g],ignoreCollapsed:d});return h=f,c({},u,{children:[].concat(r(u.children),[n])})}});if(!v)throw new Error("No node found with the given key.");return{treeData:g,treeIndex:h}},t.insertNode=function(e){var t=e.treeData,n=e.depth,o=e.minimumTreeIndex,a=e.newNode,s=e.getNodeKey,l=void 0===s?function(){}:s,u=e.ignoreCollapsed,d=void 0===u||u,f=e.expandParent,p=void 0!==f&&f;if(!t&&0===n)return{treeData:[a],treeIndex:0,path:[l({node:a,treeIndex:0})],parentNode:null};var h=function e(t){var n=t.targetDepth,o=t.minimumTreeIndex,a=t.newNode,s=t.ignoreCollapsed,l=t.expandParent,u=t.isPseudoRoot,d=void 0!==u&&u,f=t.isLastChild,p=t.node,h=t.currentIndex,v=t.currentDepth,g=t.getNodeKey,m=t.path,y=void 0===m?[]:m,b=function(e){return d?[]:[].concat(r(y),[g({node:e,treeIndex:h})])};if(h>=o-1||f&&(!p.children||!p.children.length)){if("function"==typeof p.children)throw new Error("Cannot add to children defined by a function");var _=c({},p,l?{expanded:!0}:{},{children:p.children?[a].concat(r(p.children)):[a]});return{node:_,nextIndex:h+2,insertedTreeIndex:h+1,parentPath:b(_),parentNode:d?null:_}}if(v>=n-1){if(!p.children||"function"==typeof p.children||!0!==p.expanded&&s&&!d)return{node:p,nextIndex:h+1};for(var w=h+1,S=null,C=null,O=0;O<p.children.length;O+=1){if(w>=o){S=w,C=O;break}w+=1+i({node:p.children[O],ignoreCollapsed:s})}if(null===C){if(w<o&&!f)return{node:p,nextIndex:w};S=w,C=p.children.length}var x=c({},p,{children:[].concat(r(p.children.slice(0,C)),[a],r(p.children.slice(C)))});return{node:x,nextIndex:w,insertedTreeIndex:S,parentPath:b(x),parentNode:d?null:x}}if(!p.children||"function"==typeof p.children||!0!==p.expanded&&s&&!d)return{node:p,nextIndex:h+1};var T=null,k=null,D=null,E=h+1,I=p.children;"function"!=typeof I&&(I=I.map((function(t,r){if(null!==T)return t;var i=e({targetDepth:n,minimumTreeIndex:o,newNode:a,ignoreCollapsed:s,expandParent:l,isLastChild:f&&r===I.length-1,node:t,currentIndex:E,currentDepth:v+1,getNodeKey:g,path:[]});return"insertedTreeIndex"in i&&(T=i.insertedTreeIndex,D=i.parentNode,k=i.parentPath),E=i.nextIndex,i.node})));var P=c({},p,{children:I}),M={node:P,nextIndex:E};return null!==T&&(M.insertedTreeIndex=T,M.parentPath=[].concat(r(b(P)),r(k)),M.parentNode=D),M}({targetDepth:n,minimumTreeIndex:o,newNode:a,ignoreCollapsed:d,expandParent:p,getNodeKey:l,isPseudoRoot:!0,isLastChild:!0,node:{children:t},currentIndex:-1,currentDepth:-1});if(!("insertedTreeIndex"in h))throw new Error("No suitable position found to insert.");var v=h.insertedTreeIndex;return{treeData:h.node.children,treeIndex:v,path:[].concat(r(h.parentPath),[l({node:a,treeIndex:v})]),parentNode:h.parentNode}},t.getFlatDataFromTree=function(e){var t=e.treeData,n=e.getNodeKey,r=e.ignoreCollapsed,o=void 0===r||r;if(!t||t.length<1)return[];var i=[];return a({treeData:t,getNodeKey:n,ignoreCollapsed:o,callback:function(e){i.push(e)}}),i},t.getTreeFromFlatData=function(e){var t=e.flatData,n=e.getKey,r=void 0===n?function(e){return e.id}:n,o=e.getParentKey,i=void 0===o?function(e){return e.parentId}:o,a=e.rootKey,s=void 0===a?"0":a;if(!t)return[];var l={};return t.forEach((function(e){var t=i(e);t in l?l[t].push(e):l[t]=[e]})),s in l?l[s].map((function(e){return function e(t){var n=r(t);return n in l?c({},t,{children:l[n].map((function(t){return e(t)}))}):c({},t)}(e)})):[]},t.isDescendant=function e(t,n){return!!t.children&&"function"!=typeof t.children&&t.children.some((function(t){return t===n||e(t,n)}))},t.getDepth=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t.children?"function"==typeof t.children?n+1:t.children.reduce((function(t,r){return Math.max(t,e(r,n+1))}),n):n},t.find=function(e){var t=e.getNodeKey,n=e.treeData,o=e.searchQuery,i=e.searchMethod,a=e.searchFocusOffset,s=e.expandAllMatchPaths,l=void 0!==s&&s,u=e.expandFocusMatchPaths,d=void 0===u||u,f=0,p=function e(n){var s=n.isPseudoRoot,u=void 0!==s&&s,p=n.node,h=n.currentIndex,v=n.path,g=[],m=!1,y=!1,b=u?[]:[].concat(r(void 0===v?[]:v),[t({node:p,treeIndex:h})]),_=u?null:{path:b,treeIndex:h},w=p.children&&"function"!=typeof p.children&&p.children.length>0;!u&&i(c({},_,{node:p,searchQuery:o}))&&(f===a&&(y=!0),f+=1,m=!0);var S=h,C=c({},p);return w&&(C.children=C.children.map((function(t){var n=e({node:t,currentIndex:S+1,path:b});return n.node.expanded?S=n.treeIndex:S+=1,(n.matches.length>0||n.hasFocusMatch)&&(g=[].concat(r(g),r(n.matches)),n.hasFocusMatch&&(y=!0),(l&&n.matches.length>0||(l||d)&&n.hasFocusMatch)&&(C.expanded=!0)),n.node}))),u||C.expanded||(g=g.map((function(e){return c({},e,{treeIndex:null})}))),m&&(g=[c({},_,{node:C})].concat(r(g))),{node:g.length>0?C:p,matches:g,hasFocusMatch:y,treeIndex:S}}({node:{children:n},isPseudoRoot:!0,currentIndex:-1});return{matches:p.matches,treeData:p.node.children}}},function(e,t){e.exports=n(0)},function(e,t){e.exports=n(1)},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n,r=e[1]||"",o=e[3];if(!o)return r;if(t&&"function"==typeof btoa){var i=(n=o,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");return[r].concat(o.sources.map((function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"}))).concat([i]).join("\n")}return[r].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<e.length;o++){var a=e[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){function r(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=v[r.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](r.parts[i]);for(;i<r.parts.length;i++)o.parts.push(c(r.parts[i],t))}else{var a=[];for(i=0;i<r.parts.length;i++)a.push(c(r.parts[i],t));v[r.id]={id:r.id,refs:1,parts:a}}}}function o(e,t){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],a=t.base?i[0]+t.base:i[0],s={css:i[1],media:i[2],sourceMap:i[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}function i(e,t){var n=m(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=_[_.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),_.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=m(e.insertInto+" "+e.insertAt.before);n.insertBefore(t,o)}}function a(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=_.indexOf(e);t>=0&&_.splice(t,1)}function s(e){var t=document.createElement("style");return e.attrs.type="text/css",l(t,e.attrs),i(e,t),t}function l(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function c(e,t){var n,r,o,c;if(t.transform&&e.css){if(!(c=t.transform(e.css)))return function(){};e.css=c}if(t.singleton){var p=b++;n=y||(y=s(t)),r=u.bind(null,n,p,!1),o=u.bind(null,n,p,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",l(t,e.attrs),i(e,t),t}(t),r=f.bind(null,n,t),o=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=d.bind(null,n),o=function(){a(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}function u(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=C(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function d(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function f(e,t,n){var r=n.css,o=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||i)&&(r=w(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}var p,h,v={},g=(p=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===h&&(h=p.apply(this,arguments)),h}),m=function(e){var t={};return function(n){if(void 0===t[n]){var r=e.call(this,n);if(r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[n]=r}return t[n]}}((function(e){return document.querySelector(e)})),y=null,b=0,_=[],w=n(14);e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=g()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=o(e,t);return r(n,t),function(e){for(var i=[],a=0;a<n.length;a++){var s=n[a];(l=v[s.id]).refs--,i.push(l)}for(e&&r(o(e,t),t),a=0;a<i.length;a++){var l;if(0===(l=i[a]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete v[l.id]}}}};var S,C=(S=[],function(e,t){return S[e]=t,S.filter(Boolean).join("\n")})},function(e,t,n){"use strict";function r(e,t,n,r,i){return"function"==typeof n[e]?String(n[e]({node:n,path:r,treeIndex:i})).indexOf(t)>-1:"object"===o(n[e])?function e(t){return"string"==typeof t?t:"object"!==(void 0===t?"undefined":o(t))||!t.props||!t.props.children||"string"!=typeof t.props.children&&"object"!==o(t.props.children)?"":"string"==typeof t.props.children?t.props.children:t.props.children.map((function(t){return e(t)})).join("")}(n[e]).indexOf(t)>-1:n[e]&&String(n[e]).indexOf(t)>-1}Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.defaultGetNodeKey=function(e){return e.treeIndex},t.defaultSearchMethod=function(e){var t=e.node,n=e.path,o=e.treeIndex,i=e.searchQuery;return r("title",i,t,n,o)||r("subtitle",i,t,n,o)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.memoizedGetDescendantCount=t.memoizedGetFlatDataFromTree=t.memoizedInsertNode=void 0;var r=n(0),o=function(e){var t=[],n=[],r=null;return function(o){var i=Object.keys(o).sort(),a=i.map((function(e){return o[e]}));return(a.length!==t.length||a.some((function(e,n){return e!==t[n]}))||i.some((function(e,t){return e!==n[t]})))&&(t=a,n=i,r=e(o)),r}};t.memoizedInsertNode=o(r.insertNode),t.memoizedGetFlatDataFromTree=o(r.getFlatDataFromTree),t.memoizedGetDescendantCount=o(r.getDescendantCount)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SortableTreeWithoutDndContext=void 0;var r=n(5);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})}));var o=n(0);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})}));var i,a=n(8),s=(i=a)&&i.__esModule?i:{default:i};t.default=s.default,t.SortableTreeWithoutDndContext=a.SortableTreeWithoutDndContext},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SortableTreeWithoutDndContext=void 0;var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(1),s=r(a),l=r(n(2)),c=n(9),u=r(n(10)),d=n(11),f=r(d);n(12);var p=r(n(15)),h=r(n(18)),v=r(n(22)),g=r(n(23)),m=n(0),y=n(6),b=n(26),_=n(5),w=r(n(27)),S=r(n(31)),C=1,O=function(e){var t=i({},e,{style:i({},e.theme.style,e.style),innerStyle:i({},e.theme.innerStyle,e.innerStyle),reactVirtualizedListProps:i({},e.theme.reactVirtualizedListProps,e.reactVirtualizedListProps)}),n={nodeContentRenderer:h.default,placeholderRenderer:g.default,rowHeight:62,scaffoldBlockPxWidth:44,slideRegionSize:100,treeNodeRenderer:p.default};return Object.keys(n).forEach((function(r){null===e[r]&&(t[r]=void 0!==e.theme[r]?e.theme[r]:n[r])})),t},x=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),r=O(e),o=r.dndType,i=r.nodeContentRenderer,a=r.treeNodeRenderer,s=r.isVirtualized,l=r.slideRegionSize;return n.dndManager=new w.default(n),n.treeId="rst__"+C,C+=1,n.dndType=o||n.treeId,n.nodeContentRenderer=n.dndManager.wrapSource(i),n.treePlaceholderRenderer=n.dndManager.wrapPlaceholder(v.default),n.treeNodeRenderer=n.dndManager.wrapTarget(a),s&&(n.scrollZoneVirtualList=(0,f.default)(c.List),n.vStrength=(0,d.createVerticalStrength)(l),n.hStrength=(0,d.createHorizontalStrength)(l)),n.state={draggingTreeData:null,draggedNode:null,draggedMinimumTreeIndex:null,draggedDepth:null,searchMatches:[],searchFocusTreeIndex:null,dragging:!1},n.toggleChildrenVisibility=n.toggleChildrenVisibility.bind(n),n.moveNode=n.moveNode.bind(n),n.startDrag=n.startDrag.bind(n),n.dragHover=n.dragHover.bind(n),n.endDrag=n.endDrag.bind(n),n.drop=n.drop.bind(n),n.handleDndMonitorChange=n.handleDndMonitorChange.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){this.loadLazyChildren(),this.search(this.props),this.clearMonitorSubscription=this.context.dragDropManager.getMonitor().subscribeToStateChange(this.handleDndMonitorChange)}},{key:"componentWillReceiveProps",value:function(e){this.props.treeData!==e.treeData?(this.ignoreOneTreeUpdate?this.ignoreOneTreeUpdate=!1:(this.setState({searchFocusTreeIndex:null}),this.loadLazyChildren(e),this.search(e,!1,!1)),this.setState({draggingTreeData:null,draggedNode:null,draggedMinimumTreeIndex:null,draggedDepth:null,dragging:!1})):(0,u.default)(this.props.searchQuery,e.searchQuery)?this.props.searchFocusOffset!==e.searchFocusOffset&&this.search(e,!0,!0,!0):this.search(e)}},{key:"componentDidUpdate",value:function(e,t){this.state.dragging!==t.dragging&&this.props.onDragStateChanged&&this.props.onDragStateChanged({isDragging:this.state.dragging,draggedNode:this.state.draggedNode})}},{key:"componentWillUnmount",value:function(){this.clearMonitorSubscription()}},{key:"getRows",value:function(e){return(0,y.memoizedGetFlatDataFromTree)({ignoreCollapsed:!0,getNodeKey:this.props.getNodeKey,treeData:e})}},{key:"handleDndMonitorChange",value:function(){!this.context.dragDropManager.getMonitor().isDragging()&&this.state.draggingTreeData&&this.endDrag()}},{key:"toggleChildrenVisibility",value:function(e){var t=e.node,n=e.path,r=(0,m.changeNodeAtPath)({treeData:this.props.treeData,path:n,newNode:function(e){var t=e.node;return i({},t,{expanded:!t.expanded})},getNodeKey:this.props.getNodeKey});this.props.onChange(r),this.props.onVisibilityToggle({treeData:r,node:t,expanded:!t.expanded,path:n})}},{key:"moveNode",value:function(e){var t=e.node,n=e.path,r=e.treeIndex,o=e.depth,i=e.minimumTreeIndex,a=(0,m.insertNode)({treeData:this.state.draggingTreeData,newNode:t,depth:o,minimumTreeIndex:i,expandParent:!0,getNodeKey:this.props.getNodeKey}),s=a.treeData,l=a.treeIndex,c=a.path,u=a.parentNode;this.props.onChange(s),this.props.onMoveNode({treeData:s,node:t,treeIndex:l,path:c,nextPath:c,nextTreeIndex:l,prevPath:n,prevTreeIndex:r,nextParentNode:u})}},{key:"search",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=e.treeData,i=e.onChange,a=e.searchFinishCallback,s=e.searchQuery,l=e.searchMethod,c=e.searchFocusOffset;if((null==s||""===String(s))&&!l)return this.setState({searchMatches:[]}),void(a&&a([]));var u=(0,m.find)({getNodeKey:this.props.getNodeKey,treeData:o,searchQuery:s,searchMethod:l||_.defaultSearchMethod,searchFocusOffset:c,expandAllMatchPaths:n&&!r,expandFocusMatchPaths:!!n}),d=u.treeData,f=u.matches;n&&(this.ignoreOneTreeUpdate=!0,i(d)),a&&a(f);var p=null;t&&null!==c&&c<f.length&&(p=f[c].treeIndex),this.setState({searchMatches:f,searchFocusTreeIndex:p})}},{key:"startDrag",value:function(e){var t=this,n=e.path;this.setState((function(){var e=(0,m.removeNode)({treeData:t.props.treeData,path:n,getNodeKey:t.props.getNodeKey}),r=e.treeData,o=e.node,i=e.treeIndex;return{draggingTreeData:r,draggedNode:o,draggedDepth:n.length-1,draggedMinimumTreeIndex:i,dragging:!0}}))}},{key:"dragHover",value:function(e){var t=e.node,n=e.depth,r=e.minimumTreeIndex;if(this.state.draggedDepth!==n||this.state.draggedMinimumTreeIndex!==r){var o=this.state.draggingTreeData||this.props.treeData,a=(0,y.memoizedInsertNode)({treeData:o,newNode:t,depth:n,minimumTreeIndex:r,expandParent:!0,getNodeKey:this.props.getNodeKey}),s=this.getRows(a.treeData)[a.treeIndex].path;this.setState({draggedNode:t,draggedDepth:n,draggedMinimumTreeIndex:r,draggingTreeData:(0,m.changeNodeAtPath)({treeData:o,path:s.slice(0,-1),newNode:function(e){var t=e.node;return i({},t,{expanded:!0})},getNodeKey:this.props.getNodeKey}),searchFocusTreeIndex:null,dragging:!0})}}},{key:"endDrag",value:function(e){if(e){if(e.treeId!==this.treeId){var t=e.node,n=e.path,r=e.treeIndex,o=this.props.shouldCopyOnOutsideDrop;"function"==typeof o&&(o=o({node:t,prevTreeIndex:r,prevPath:n}));var a=this.state.draggingTreeData||this.props.treeData;o&&(a=(0,m.changeNodeAtPath)({treeData:this.props.treeData,path:n,newNode:function(e){var t=e.node;return i({},t)},getNodeKey:this.props.getNodeKey})),this.props.onChange(a),this.props.onMoveNode({treeData:a,node:t,treeIndex:null,path:null,nextPath:null,nextTreeIndex:null,prevPath:n,prevTreeIndex:r})}}else this.setState({draggingTreeData:null,draggedNode:null,draggedMinimumTreeIndex:null,draggedDepth:null,dragging:!1})}},{key:"drop",value:function(e){this.moveNode(e)}},{key:"loadLazyChildren",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props;(0,m.walk)({treeData:t.treeData,getNodeKey:this.props.getNodeKey,callback:function(n){var r=n.node,o=n.path,a=n.lowerSiblingCounts,s=n.treeIndex;r.children&&"function"==typeof r.children&&(r.expanded||t.loadCollapsedLazyChildren)&&r.children({node:r,path:o,lowerSiblingCounts:a,treeIndex:s,done:function(t){return e.props.onChange((0,m.changeNodeAtPath)({treeData:e.props.treeData,path:o,newNode:function(e){var n=e.node;return n===r?i({},n,{children:t}):n},getNodeKey:e.props.getNodeKey}))}})}})}},{key:"renderRow",value:function(e,t){var n=e.node,r=e.parentNode,o=e.path,a=e.lowerSiblingCounts,l=e.treeIndex,c=t.listIndex,u=t.style,d=t.getPrevRow,f=t.matchKeys,p=t.swapFrom,h=t.swapDepth,v=t.swapLength,g=O(this.props),m=g.canDrag,y=g.generateNodeProps,b=g.scaffoldBlockPxWidth,_=g.searchFocusOffset,w=this.treeNodeRenderer,S=this.nodeContentRenderer,C=o[o.length-1],x=C in f,T=x&&f[C]===_,k={node:n,parentNode:r,path:o,lowerSiblingCounts:a,treeIndex:l,isSearchMatch:x,isSearchFocus:T},D=y?y(k):{},E="function"!=typeof m?m:m(k),I={treeIndex:l,scaffoldBlockPxWidth:b,node:n,path:o,treeId:this.treeId};return s.default.createElement(w,i({style:u,key:C,listIndex:c,getPrevRow:d,lowerSiblingCounts:a,swapFrom:p,swapLength:v,swapDepth:h},I),s.default.createElement(S,i({parentNode:r,isSearchMatch:x,isSearchFocus:T,canDrag:E,toggleChildrenVisibility:this.toggleChildrenVisibility},I,D)))}},{key:"render",value:function(){var e=this,t=O(this.props),n=t.style,r=t.className,o=t.innerStyle,a=t.rowHeight,l=t.isVirtualized,u=t.placeholderRenderer,d=t.reactVirtualizedListProps,f=t.getNodeKey,p=this.state,h=p.searchMatches,v=p.searchFocusTreeIndex,g=p.draggedNode,m=p.draggedDepth,_=p.draggedMinimumTreeIndex,w=this.state.draggingTreeData||this.props.treeData,C=void 0,x=null,T=null;if(g&&null!==_){var k=(0,y.memoizedInsertNode)({treeData:w,newNode:g,depth:m,minimumTreeIndex:_,expandParent:!0,getNodeKey:f}),D=_;x=k.treeIndex,T=1+(0,y.memoizedGetDescendantCount)({node:g}),C=(0,b.slideRows)(this.getRows(k.treeData),x,D,T)}else C=this.getRows(w);var E={};h.forEach((function(e,t){var n=e.path;E[n[n.length-1]]=t}));var I=null!==v?{scrollToIndex:v}:{},P=n,M=void 0;if(C.length<1){var R=this.treePlaceholderRenderer,N=u;M=s.default.createElement(R,{treeId:this.treeId,drop:this.drop},s.default.createElement(N,null))}else if(l){P=i({height:"100%"},P);var j=this.scrollZoneVirtualList;M=s.default.createElement(c.AutoSizer,null,(function(t){var n=t.height,r=t.width;return s.default.createElement(j,i({},I,{verticalStrength:e.vStrength,horizontalStrength:e.hStrength,speed:30,scrollToAlignment:"start",className:S.default.virtualScrollOverride,width:r,onScroll:function(t){var n=t.scrollTop;e.scrollTop=n},height:n,style:o,rowCount:C.length,estimatedRowSize:"function"!=typeof a?a:void 0,rowHeight:"function"!=typeof a?a:function(e){var t=e.index;return a({index:t,treeIndex:t,node:C[t].node,path:C[t].path})},rowRenderer:function(t){var n=t.index,r=t.style;return e.renderRow(C[n],{listIndex:n,style:r,getPrevRow:function(){return C[n-1]||null},matchKeys:E,swapFrom:x,swapDepth:m,swapLength:T})}},d))}))}else M=C.map((function(t,n){return e.renderRow(t,{listIndex:n,style:{height:"function"!=typeof a?a:a({index:n,treeIndex:n,node:t.node,path:t.path})},getPrevRow:function(){return C[n-1]||null},matchKeys:E,swapFrom:x,swapDepth:m,swapLength:T})}));return s.default.createElement("div",{className:S.default.tree+(r?" "+r:""),style:P},M)}}]),t}(a.Component);x.propTypes={treeData:l.default.arrayOf(l.default.object).isRequired,style:l.default.shape({}),className:l.default.string,innerStyle:l.default.shape({}),rowHeight:l.default.oneOfType([l.default.number,l.default.func]),slideRegionSize:l.default.number,reactVirtualizedListProps:l.default.shape({}),scaffoldBlockPxWidth:l.default.number,maxDepth:l.default.number,searchMethod:l.default.func,searchQuery:l.default.any,searchFocusOffset:l.default.number,searchFinishCallback:l.default.func,generateNodeProps:l.default.func,isVirtualized:l.default.bool,treeNodeRenderer:l.default.func,nodeContentRenderer:l.default.func,placeholderRenderer:l.default.func,theme:l.default.shape({style:l.default.shape({}),innerStyle:l.default.shape({}),reactVirtualizedListProps:l.default.shape({}),scaffoldBlockPxWidth:l.default.number,slideRegionSize:l.default.number,rowHeight:l.default.oneOfType([l.default.number,l.default.func]),treeNodeRenderer:l.default.func,nodeContentRenderer:l.default.func,placeholderRenderer:l.default.func}),getNodeKey:l.default.func,onChange:l.default.func.isRequired,onMoveNode:l.default.func,canDrag:l.default.oneOfType([l.default.func,l.default.bool]),canDrop:l.default.func,shouldCopyOnOutsideDrop:l.default.oneOfType([l.default.func,l.default.bool]),onVisibilityToggle:l.default.func,dndType:l.default.string,onDragStateChanged:l.default.func},x.defaultProps={canDrag:!0,canDrop:null,className:"",dndType:null,generateNodeProps:null,getNodeKey:_.defaultGetNodeKey,innerStyle:{},isVirtualized:!0,maxDepth:null,treeNodeRenderer:null,nodeContentRenderer:null,onMoveNode:function(){},onVisibilityToggle:function(){},placeholderRenderer:null,reactVirtualizedListProps:{},rowHeight:null,scaffoldBlockPxWidth:null,searchFinishCallback:null,searchFocusOffset:null,searchMethod:null,searchQuery:null,shouldCopyOnOutsideDrop:!1,slideRegionSize:null,style:{},theme:{},onDragStateChanged:function(){}},x.contextTypes={dragDropManager:l.default.shape({})},t.SortableTreeWithoutDndContext=x,t.default=w.default.wrapRoot(x)},function(e,t){e.exports=n(352)},function(e,t){e.exports=n(272)},function(e,t){e.exports=n(273)},function(e,t,n){var r=n(13);"string"==typeof r&&(r=[[e.i,r,""]]);n(4)(r,{insertAt:"top",hmr:!0,transform:void 0}),r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(3)(!1)).push([e.i,"/* Collection default theme */\n\n._2Ys25aFCIH7ZWp76lcHbjs {\n}\n\n._1wpSOFYFr7x9PMM0KcYTxm {\n}\n\n/* Grid default theme */\n\n._2SUC15-WVgF4XhvHuU81GS {\n}\n\n._3q1PBGJ8fGciELoHlm7I3C {\n}\n\n/* Table default theme */\n\n._1yPBpbwEbdtD7UxLvhZhM {\n}\n\n._1itUjAnMCYR-25x1rmTdtF {\n}\n\n._33g8s-zht4xwLlXSWWWwa3 {\n font-weight: 700;\n text-transform: uppercase;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n._3ZiV_g6aRjm62hwIWbJU38 {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n\n._3eKreK7WxwxtZyKjYLiygd {\n display: inline-block;\n max-width: 100%;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n._19Z4wAfIa_DTwtOUYjz8t,\n._2TseG-JCD0K5o_VT5VIN_w {\n margin-right: 10px;\n min-width: 0px;\n}\n._2TseG-JCD0K5o_VT5VIN_w {\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n._19Z4wAfIa_DTwtOUYjz8t:first-of-type,\n._2TseG-JCD0K5o_VT5VIN_w:first-of-type {\n margin-left: 10px;\n}\n._1RR8EsDxozD7xvl8boaBiB {\n cursor: pointer;\n}\n\n._1u1DZQe3YaUugu3cLrtqng {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n._15mdGqvC02VcdkTaoIuS06 {\n -webkit-box-flex: 0;\n -ms-flex: 0 0 24px;\n flex: 0 0 24px;\n height: 1em;\n width: 1em;\n fill: currentColor;\n}\n\n/* List default theme */\n\n._3HeSXQaspPzpYJlLHQlyit {\n}",""]),t.locals={ReactVirtualized__Collection:"_2Ys25aFCIH7ZWp76lcHbjs",ReactVirtualized__Collection__innerScrollContainer:"_1wpSOFYFr7x9PMM0KcYTxm",ReactVirtualized__Grid:"_2SUC15-WVgF4XhvHuU81GS",ReactVirtualized__Grid__innerScrollContainer:"_3q1PBGJ8fGciELoHlm7I3C",ReactVirtualized__Table:"_1yPBpbwEbdtD7UxLvhZhM",ReactVirtualized__Table__Grid:"_1itUjAnMCYR-25x1rmTdtF",ReactVirtualized__Table__headerRow:"_33g8s-zht4xwLlXSWWWwa3",ReactVirtualized__Table__row:"_3ZiV_g6aRjm62hwIWbJU38",ReactVirtualized__Table__headerTruncatedText:"_3eKreK7WxwxtZyKjYLiygd",ReactVirtualized__Table__headerColumn:"_19Z4wAfIa_DTwtOUYjz8t",ReactVirtualized__Table__rowColumn:"_2TseG-JCD0K5o_VT5VIN_w",ReactVirtualized__Table__sortableHeaderColumn:"_1RR8EsDxozD7xvl8boaBiB",ReactVirtualized__Table__sortableHeaderIconContainer:"_1u1DZQe3YaUugu3cLrtqng",ReactVirtualized__Table__sortableHeaderIcon:"_15mdGqvC02VcdkTaoIuS06",ReactVirtualized__List:"_3HeSXQaspPzpYJlLHQlyit"}},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var o,i=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(i)?e:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")}))}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(1),c=r(l),u=r(n(2)),d=r(n(16)),f=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),s(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.listIndex,r=e.swapFrom,o=e.swapLength,i=e.swapDepth,s=e.scaffoldBlockPxWidth,u=e.lowerSiblingCounts,f=e.connectDropTarget,p=e.isOver,h=e.draggedNode,v=e.canDrop,g=e.treeIndex,m=(e.treeId,e.getPrevRow,e.node,e.path,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","listIndex","swapFrom","swapLength","swapDepth","scaffoldBlockPxWidth","lowerSiblingCounts","connectDropTarget","isOver","draggedNode","canDrop","treeIndex","treeId","getPrevRow","node","path"])),y=u.length,b=[];return u.forEach((function(e,t){var a,l="";e>0?l=0===n?d.default.lineHalfHorizontalRight+" "+d.default.lineHalfVerticalBottom:t===y-1?d.default.lineHalfHorizontalRight+" "+d.default.lineFullVertical:d.default.lineFullVertical:0===n?l=d.default.lineHalfHorizontalRight:t===y-1&&(l=d.default.lineHalfVerticalTop+" "+d.default.lineHalfHorizontalRight),b.push(c.default.createElement("div",{key:"pre_"+(1+t),style:{width:s},className:d.default.lineBlock+" "+l})),g!==n&&t===i&&(a=n===r+o-1?d.default.highlightBottomLeftCorner:g===r?d.default.highlightTopLeftCorner:d.default.highlightLineVertical,b.push(c.default.createElement("div",{key:t,style:{width:s,left:s*t},className:d.default.absoluteLineBlock+" "+a})))})),f(c.default.createElement("div",a({},m,{className:d.default.node}),b,c.default.createElement("div",{className:d.default.nodeContent,style:{left:s*y}},l.Children.map(t,(function(e){return(0,l.cloneElement)(e,{isOver:p,canDrop:v,draggedNode:h})})))))}}]),t}(l.Component);f.defaultProps={swapFrom:null,swapDepth:null,swapLength:null,canDrop:!1,draggedNode:null},f.propTypes={treeIndex:u.default.number.isRequired,treeId:u.default.string.isRequired,swapFrom:u.default.number,swapDepth:u.default.number,swapLength:u.default.number,scaffoldBlockPxWidth:u.default.number.isRequired,lowerSiblingCounts:u.default.arrayOf(u.default.number).isRequired,listIndex:u.default.number.isRequired,children:u.default.node.isRequired,connectDropTarget:u.default.func.isRequired,isOver:u.default.bool.isRequired,canDrop:u.default.bool,draggedNode:u.default.shape({}),getPrevRow:u.default.func.isRequired,node:u.default.shape({}).isRequired,path:u.default.arrayOf(u.default.oneOfType([u.default.string,u.default.number])).isRequired},t.default=f},function(e,t,n){var r=n(17);"string"==typeof r&&(r=[[e.i,r,""]]);n(4)(r,{insertAt:"top",hmr:!0,transform:void 0}),r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(3)(!1)).push([e.i,".rst__node {\n min-width: 100%;\n white-space: nowrap;\n position: relative;\n text-align: left; }\n\n.rst__nodeContent {\n position: absolute;\n top: 0;\n bottom: 0; }\n\n/* ==========================================================================\n Scaffold\n\n Line-overlaid blocks used for showing the tree structure\n ========================================================================== */\n.rst__lineBlock, .rst__absoluteLineBlock {\n height: 100%;\n position: relative;\n display: inline-block; }\n\n.rst__absoluteLineBlock {\n position: absolute;\n top: 0; }\n\n.rst__lineHalfHorizontalRight::before, .rst__lineFullVertical::after, .rst__lineHalfVerticalTop::after, .rst__lineHalfVerticalBottom::after {\n position: absolute;\n content: '';\n background-color: black; }\n\n/**\n * +-----+\n * | |\n * | +--+\n * | |\n * +-----+\n */\n.rst__lineHalfHorizontalRight::before {\n height: 1px;\n top: 50%;\n right: 0;\n width: 50%; }\n\n/**\n * +--+--+\n * | | |\n * | | |\n * | | |\n * +--+--+\n */\n.rst__lineFullVertical::after, .rst__lineHalfVerticalTop::after, .rst__lineHalfVerticalBottom::after {\n width: 1px;\n left: 50%;\n top: 0;\n height: 100%; }\n\n/**\n * +-----+\n * | | |\n * | + |\n * | |\n * +-----+\n */\n.rst__lineHalfVerticalTop::after, .rst__lineHalfVerticalBottom::after {\n top: 0;\n height: 50%; }\n\n/**\n * +-----+\n * | |\n * | + |\n * | | |\n * +-----+\n */\n.rst__lineHalfVerticalBottom::after {\n top: auto;\n bottom: 0; }\n\n/* Highlight line for pointing to dragged row destination\n ========================================================================== */\n/**\n * +--+--+\n * | | |\n * | | |\n * | | |\n * +--+--+\n */\n.rst__highlightLineVertical {\n z-index: 3; }\n .rst__highlightLineVertical::before {\n position: absolute;\n content: '';\n background-color: #36c2f6;\n width: 8px;\n margin-left: -4px;\n left: 50%;\n top: 0;\n height: 100%; }\n\n@-webkit-keyframes rst__arrow-pulse {\n 0% {\n -webkit-transform: translate(0, 0);\n transform: translate(0, 0);\n opacity: 0; }\n 30% {\n -webkit-transform: translate(0, 300%);\n transform: translate(0, 300%);\n opacity: 1; }\n 70% {\n -webkit-transform: translate(0, 700%);\n transform: translate(0, 700%);\n opacity: 1; }\n 100% {\n -webkit-transform: translate(0, 1000%);\n transform: translate(0, 1000%);\n opacity: 0; } }\n\n@keyframes rst__arrow-pulse {\n 0% {\n -webkit-transform: translate(0, 0);\n transform: translate(0, 0);\n opacity: 0; }\n 30% {\n -webkit-transform: translate(0, 300%);\n transform: translate(0, 300%);\n opacity: 1; }\n 70% {\n -webkit-transform: translate(0, 700%);\n transform: translate(0, 700%);\n opacity: 1; }\n 100% {\n -webkit-transform: translate(0, 1000%);\n transform: translate(0, 1000%);\n opacity: 0; } }\n .rst__highlightLineVertical::after {\n content: '';\n position: absolute;\n height: 0;\n margin-left: -4px;\n left: 50%;\n top: 0;\n border-left: 4px solid transparent;\n border-right: 4px solid transparent;\n border-top: 4px solid white;\n -webkit-animation: rst__arrow-pulse 1s infinite linear both;\n animation: rst__arrow-pulse 1s infinite linear both; }\n\n/**\n * +-----+\n * | |\n * | +--+\n * | | |\n * +--+--+\n */\n.rst__highlightTopLeftCorner::before {\n z-index: 3;\n content: '';\n position: absolute;\n border-top: solid 8px #36c2f6;\n border-left: solid 8px #36c2f6;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n height: calc(50% + 4px);\n top: 50%;\n margin-top: -4px;\n right: 0;\n width: calc(50% + 4px); }\n\n/**\n * +--+--+\n * | | |\n * | | |\n * | +->|\n * +-----+\n */\n.rst__highlightBottomLeftCorner {\n z-index: 3; }\n .rst__highlightBottomLeftCorner::before {\n content: '';\n position: absolute;\n border-bottom: solid 8px #36c2f6;\n border-left: solid 8px #36c2f6;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n height: calc(100% + 4px);\n top: 0;\n right: 12px;\n width: calc(50% - 8px); }\n .rst__highlightBottomLeftCorner::after {\n content: '';\n position: absolute;\n height: 0;\n right: 0;\n top: 100%;\n margin-top: -12px;\n border-top: 12px solid transparent;\n border-bottom: 12px solid transparent;\n border-left: 12px solid #36c2f6; }\n",""]),t.locals={node:"rst__node",nodeContent:"rst__nodeContent",lineBlock:"rst__lineBlock",absoluteLineBlock:"rst__absoluteLineBlock",lineHalfHorizontalRight:"rst__lineHalfHorizontalRight",lineFullVertical:"rst__lineFullVertical",lineHalfVerticalTop:"rst__lineHalfVerticalTop",lineHalfVerticalBottom:"rst__lineHalfVerticalBottom",highlightLineVertical:"rst__highlightLineVertical","arrow-pulse":"rst__arrow-pulse",highlightTopLeftCorner:"rst__highlightTopLeftCorner",highlightBottomLeftCorner:"rst__highlightBottomLeftCorner"}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(1),c=r(l),u=r(n(2)),d=n(19),f=r(n(20)),p=n(0),h=f.default;d.getIEVersion<10&&(h=s({},f.default,{row:h.row+" "+h.row_NoFlex,rowContents:h.rowContents+" "+h.rowContents_NoFlex,rowLabel:h.rowLabel+" "+h.rowLabel_NoFlex,rowToolbar:h.rowToolbar+" "+h.rowToolbar_NoFlex}));var v=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"render",value:function(){var e=this.props,t=e.scaffoldBlockPxWidth,n=e.toggleChildrenVisibility,r=e.connectDragPreview,o=e.connectDragSource,i=e.isDragging,a=e.canDrop,l=e.canDrag,u=e.node,d=e.title,f=e.subtitle,v=e.draggedNode,g=e.path,m=e.treeIndex,y=e.isSearchMatch,b=e.isSearchFocus,_=e.buttons,w=e.className,S=e.style,C=e.didDrop,O=(e.treeId,e.isOver,e.parentNode,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["scaffoldBlockPxWidth","toggleChildrenVisibility","connectDragPreview","connectDragSource","isDragging","canDrop","canDrag","node","title","subtitle","draggedNode","path","treeIndex","isSearchMatch","isSearchFocus","buttons","className","style","didDrop","treeId","isOver","parentNode"])),x=d||u.title,T=f||u.subtitle,k=void 0;l&&(k="function"==typeof u.children&&u.expanded?c.default.createElement("div",{className:h.loadingHandle},c.default.createElement("div",{className:h.loadingCircle},c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}))):o(c.default.createElement("div",{className:h.moveHandle}),{dropEffect:"copy"}));var D=v&&(0,p.isDescendant)(v,u),E=!C&&i;return c.default.createElement("div",s({style:{height:"100%"}},O),n&&u.children&&(u.children.length>0||"function"==typeof u.children)&&c.default.createElement("div",null,c.default.createElement("button",{type:"button","aria-label":u.expanded?"Collapse":"Expand",className:u.expanded?h.collapseButton:h.expandButton,style:{left:-.5*t},onClick:function(){return n({node:u,path:g,treeIndex:m})}}),u.expanded&&!i&&c.default.createElement("div",{style:{width:t},className:h.lineChildren})),c.default.createElement("div",{className:h.rowWrapper},r(c.default.createElement("div",{className:h.row+(E?" "+h.rowLandingPad:"")+(E&&!a?" "+h.rowCancelPad:"")+(y?" "+h.rowSearchMatch:"")+(b?" "+h.rowSearchFocus:"")+(w?" "+w:""),style:s({opacity:D?.5:1},S)},k,c.default.createElement("div",{className:h.rowContents+(l?"":" "+h.rowContentsDragDisabled)},c.default.createElement("div",{className:h.rowLabel},c.default.createElement("span",{className:h.rowTitle+(u.subtitle?" "+h.rowTitleWithSubtitle:"")},"function"==typeof x?x({node:u,path:g,treeIndex:m}):x),T&&c.default.createElement("span",{className:h.rowSubtitle},"function"==typeof T?T({node:u,path:g,treeIndex:m}):T)),c.default.createElement("div",{className:h.rowToolbar},_.map((function(e,t){return c.default.createElement("div",{key:t,className:h.toolbarButton},e)}))))))))}}]),t}(l.Component);v.defaultProps={isSearchMatch:!1,isSearchFocus:!1,canDrag:!1,toggleChildrenVisibility:null,buttons:[],className:"",style:{},parentNode:null,draggedNode:null,canDrop:!1,title:null,subtitle:null},v.propTypes={node:u.default.shape({}).isRequired,title:u.default.oneOfType([u.default.func,u.default.node]),subtitle:u.default.oneOfType([u.default.func,u.default.node]),path:u.default.arrayOf(u.default.oneOfType([u.default.string,u.default.number])).isRequired,treeIndex:u.default.number.isRequired,treeId:u.default.string.isRequired,isSearchMatch:u.default.bool,isSearchFocus:u.default.bool,canDrag:u.default.bool,scaffoldBlockPxWidth:u.default.number.isRequired,toggleChildrenVisibility:u.default.func,buttons:u.default.arrayOf(u.default.node),className:u.default.string,style:u.default.shape({}),connectDragPreview:u.default.func.isRequired,connectDragSource:u.default.func.isRequired,parentNode:u.default.shape({}),isDragging:u.default.bool.isRequired,didDrop:u.default.bool.isRequired,draggedNode:u.default.shape({}),isOver:u.default.bool.isRequired,canDrop:u.default.bool},t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIEVersion=function(){var e=navigator.userAgent.match(/(?:MSIE |Trident\/.*; rv:)(\d+)/);return e?parseInt(e[1],10):void 0}},function(e,t,n){var r=n(21);"string"==typeof r&&(r=[[e.i,r,""]]);n(4)(r,{insertAt:"top",hmr:!0,transform:void 0}),r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(3)(!1)).push([e.i,".rst__rowWrapper {\n padding: 10px 10px 10px 0;\n height: 100%;\n -webkit-box-sizing: border-box;\n box-sizing: border-box; }\n\n.rst__row {\n height: 100%;\n white-space: nowrap;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex; }\n .rst__row > * {\n -webkit-box-sizing: border-box;\n box-sizing: border-box; }\n\n/**\n * The outline of where the element will go if dropped, displayed while dragging\n */\n.rst__rowLandingPad, .rst__rowCancelPad {\n border: none !important;\n -webkit-box-shadow: none !important;\n box-shadow: none !important;\n outline: none !important; }\n .rst__rowLandingPad > *, .rst__rowCancelPad > * {\n opacity: 0 !important; }\n .rst__rowLandingPad::before, .rst__rowCancelPad::before {\n background-color: lightblue;\n border: 3px dashed white;\n content: '';\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: -1; }\n\n/**\n * Alternate appearance of the landing pad when the dragged location is invalid\n */\n.rst__rowCancelPad::before {\n background-color: #e6a8ad; }\n\n/**\n * Nodes matching the search conditions are highlighted\n */\n.rst__rowSearchMatch {\n outline: solid 3px #0080ff; }\n\n/**\n * The node that matches the search conditions and is currently focused\n */\n.rst__rowSearchFocus {\n outline: solid 3px #fc6421; }\n\n.rst__rowContents, .rst__rowLabel, .rst__rowToolbar, .rst__moveHandle, .rst__loadingHandle, .rst__toolbarButton, .rst__rowLabel_NoFlex, .rst__rowToolbar_NoFlex {\n display: inline-block;\n vertical-align: middle; }\n\n.rst__rowContents {\n position: relative;\n height: 100%;\n border: solid #bbb 1px;\n border-left: none;\n -webkit-box-shadow: 0 2px 2px -2px;\n box-shadow: 0 2px 2px -2px;\n padding: 0 5px 0 10px;\n border-radius: 2px;\n min-width: 230px;\n -webkit-box-flex: 1;\n -ms-flex: 1 0 auto;\n flex: 1 0 auto;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n background-color: white; }\n\n.rst__rowContentsDragDisabled {\n border-left: solid #bbb 1px; }\n\n.rst__rowLabel {\n -webkit-box-flex: 0;\n -ms-flex: 0 1 auto;\n flex: 0 1 auto;\n padding-right: 20px; }\n\n.rst__rowToolbar {\n -webkit-box-flex: 0;\n -ms-flex: 0 1 auto;\n flex: 0 1 auto;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex; }\n\n.rst__moveHandle, .rst__loadingHandle {\n height: 100%;\n width: 44px;\n background: #d9d9d9 url(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MiIgaGVpZ2h0PSI0MiI+PGcgc3Ryb2tlPSIjRkZGIiBzdHJva2Utd2lkdGg9IjIuOSIgPjxwYXRoIGQ9Ik0xNCAxNS43aDE0LjQiLz48cGF0aCBkPSJNMTQgMjEuNGgxNC40Ii8+PHBhdGggZD0iTTE0IDI3LjFoMTQuNCIvPjwvZz4KPC9zdmc+\") no-repeat center;\n border: solid #aaa 1px;\n -webkit-box-shadow: 0 2px 2px -2px;\n box-shadow: 0 2px 2px -2px;\n cursor: move;\n border-radius: 1px;\n z-index: 1; }\n\n.rst__loadingHandle {\n cursor: default;\n background: #d9d9d9; }\n\n@-webkit-keyframes rst__pointFade {\n 0%,\n 19.999%,\n 100% {\n opacity: 0; }\n 20% {\n opacity: 1; } }\n\n@keyframes rst__pointFade {\n 0%,\n 19.999%,\n 100% {\n opacity: 0; }\n 20% {\n opacity: 1; } }\n\n.rst__loadingCircle {\n width: 80%;\n height: 80%;\n margin: 10%;\n position: relative; }\n\n.rst__loadingCirclePoint {\n width: 100%;\n height: 100%;\n position: absolute;\n left: 0;\n top: 0; }\n .rst__loadingCirclePoint:before {\n content: '';\n display: block;\n margin: 0 auto;\n width: 11%;\n height: 30%;\n background-color: #fff;\n border-radius: 30%;\n -webkit-animation: rst__pointFade 800ms infinite ease-in-out both;\n animation: rst__pointFade 800ms infinite ease-in-out both; }\n .rst__loadingCirclePoint:nth-of-type(1) {\n -webkit-transform: rotate(0deg);\n -ms-transform: rotate(0deg);\n transform: rotate(0deg); }\n .rst__loadingCirclePoint:nth-of-type(7) {\n -webkit-transform: rotate(180deg);\n -ms-transform: rotate(180deg);\n transform: rotate(180deg); }\n .rst__loadingCirclePoint:nth-of-type(1):before, .rst__loadingCirclePoint:nth-of-type(7):before {\n -webkit-animation-delay: -800ms;\n animation-delay: -800ms; }\n .rst__loadingCirclePoint:nth-of-type(2) {\n -webkit-transform: rotate(30deg);\n -ms-transform: rotate(30deg);\n transform: rotate(30deg); }\n .rst__loadingCirclePoint:nth-of-type(8) {\n -webkit-transform: rotate(210deg);\n -ms-transform: rotate(210deg);\n transform: rotate(210deg); }\n .rst__loadingCirclePoint:nth-of-type(2):before, .rst__loadingCirclePoint:nth-of-type(8):before {\n -webkit-animation-delay: -666.66667ms;\n animation-delay: -666.66667ms; }\n .rst__loadingCirclePoint:nth-of-type(3) {\n -webkit-transform: rotate(60deg);\n -ms-transform: rotate(60deg);\n transform: rotate(60deg); }\n .rst__loadingCirclePoint:nth-of-type(9) {\n -webkit-transform: rotate(240deg);\n -ms-transform: rotate(240deg);\n transform: rotate(240deg); }\n .rst__loadingCirclePoint:nth-of-type(3):before, .rst__loadingCirclePoint:nth-of-type(9):before {\n -webkit-animation-delay: -533.33333ms;\n animation-delay: -533.33333ms; }\n .rst__loadingCirclePoint:nth-of-type(4) {\n -webkit-transform: rotate(90deg);\n -ms-transform: rotate(90deg);\n transform: rotate(90deg); }\n .rst__loadingCirclePoint:nth-of-type(10) {\n -webkit-transform: rotate(270deg);\n -ms-transform: rotate(270deg);\n transform: rotate(270deg); }\n .rst__loadingCirclePoint:nth-of-type(4):before, .rst__loadingCirclePoint:nth-of-type(10):before {\n -webkit-animation-delay: -400ms;\n animation-delay: -400ms; }\n .rst__loadingCirclePoint:nth-of-type(5) {\n -webkit-transform: rotate(120deg);\n -ms-transform: rotate(120deg);\n transform: rotate(120deg); }\n .rst__loadingCirclePoint:nth-of-type(11) {\n -webkit-transform: rotate(300deg);\n -ms-transform: rotate(300deg);\n transform: rotate(300deg); }\n .rst__loadingCirclePoint:nth-of-type(5):before, .rst__loadingCirclePoint:nth-of-type(11):before {\n -webkit-animation-delay: -266.66667ms;\n animation-delay: -266.66667ms; }\n .rst__loadingCirclePoint:nth-of-type(6) {\n -webkit-transform: rotate(150deg);\n -ms-transform: rotate(150deg);\n transform: rotate(150deg); }\n .rst__loadingCirclePoint:nth-of-type(12) {\n -webkit-transform: rotate(330deg);\n -ms-transform: rotate(330deg);\n transform: rotate(330deg); }\n .rst__loadingCirclePoint:nth-of-type(6):before, .rst__loadingCirclePoint:nth-of-type(12):before {\n -webkit-animation-delay: -133.33333ms;\n animation-delay: -133.33333ms; }\n .rst__loadingCirclePoint:nth-of-type(7) {\n -webkit-transform: rotate(180deg);\n -ms-transform: rotate(180deg);\n transform: rotate(180deg); }\n .rst__loadingCirclePoint:nth-of-type(13) {\n -webkit-transform: rotate(360deg);\n -ms-transform: rotate(360deg);\n transform: rotate(360deg); }\n .rst__loadingCirclePoint:nth-of-type(7):before, .rst__loadingCirclePoint:nth-of-type(13):before {\n -webkit-animation-delay: 0ms;\n animation-delay: 0ms; }\n\n.rst__rowTitle {\n font-weight: bold; }\n\n.rst__rowTitleWithSubtitle {\n font-size: 85%;\n display: block;\n height: 0.8rem; }\n\n.rst__rowSubtitle {\n font-size: 70%;\n line-height: 1; }\n\n.rst__collapseButton,\n.rst__expandButton {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n border: none;\n position: absolute;\n border-radius: 100%;\n -webkit-box-shadow: 0 0 0 1px #000;\n box-shadow: 0 0 0 1px #000;\n width: 16px;\n height: 16px;\n padding: 0;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n -ms-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n cursor: pointer; }\n .rst__collapseButton:focus,\n .rst__expandButton:focus {\n outline: none;\n -webkit-box-shadow: 0 0 0 1px #000, 0 0 1px 3px #83bef9;\n box-shadow: 0 0 0 1px #000, 0 0 1px 3px #83bef9; }\n .rst__collapseButton:hover:not(:active),\n .rst__expandButton:hover:not(:active) {\n background-size: 24px;\n height: 20px;\n width: 20px; }\n\n.rst__collapseButton {\n background: #fff url(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCI+PGNpcmNsZSBjeD0iOSIgY3k9IjkiIHI9IjgiIGZpbGw9IiNGRkYiLz48ZyBzdHJva2U9IiM5ODk4OTgiIHN0cm9rZS13aWR0aD0iMS45IiA+PHBhdGggZD0iTTQuNSA5aDkiLz48L2c+Cjwvc3ZnPg==\") no-repeat center; }\n\n.rst__expandButton {\n background: #fff url(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCI+PGNpcmNsZSBjeD0iOSIgY3k9IjkiIHI9IjgiIGZpbGw9IiNGRkYiLz48ZyBzdHJva2U9IiM5ODk4OTgiIHN0cm9rZS13aWR0aD0iMS45IiA+PHBhdGggZD0iTTQuNSA5aDkiLz48cGF0aCBkPSJNOSA0LjV2OSIvPjwvZz4KPC9zdmc+\") no-repeat center; }\n\n/**\n * Classes for IE9 and below\n */\n.rst__row_NoFlex::before, .rst__rowContents_NoFlex::before {\n content: '';\n display: inline-block;\n vertical-align: middle;\n height: 100%; }\n\n.rst__rowContents_NoFlex {\n display: inline-block; }\n .rst__rowContents_NoFlex::after {\n content: '';\n display: inline-block;\n width: 100%; }\n\n.rst__rowLabel_NoFlex {\n width: 50%; }\n\n.rst__rowToolbar_NoFlex {\n text-align: right;\n width: 50%; }\n\n/**\n * Line for under a node with children\n */\n.rst__lineChildren {\n height: 100%;\n display: inline-block;\n position: absolute; }\n .rst__lineChildren::after {\n content: '';\n position: absolute;\n background-color: black;\n width: 1px;\n left: 50%;\n bottom: 0;\n height: 10px; }\n",""]),t.locals={rowWrapper:"rst__rowWrapper",row:"rst__row",rowLandingPad:"rst__rowLandingPad",rowCancelPad:"rst__rowCancelPad",rowSearchMatch:"rst__rowSearchMatch",rowSearchFocus:"rst__rowSearchFocus",rowContents:"rst__rowContents",rowLabel:"rst__rowLabel",rowToolbar:"rst__rowToolbar",moveHandle:"rst__moveHandle",loadingHandle:"rst__loadingHandle",toolbarButton:"rst__toolbarButton",rowLabel_NoFlex:"rst__rowLabel_NoFlex",rowToolbar_NoFlex:"rst__rowToolbar_NoFlex",rowContentsDragDisabled:"rst__rowContentsDragDisabled",loadingCircle:"rst__loadingCircle",loadingCirclePoint:"rst__loadingCirclePoint",pointFade:"rst__pointFade",rowTitle:"rst__rowTitle",rowTitleWithSubtitle:"rst__rowTitleWithSubtitle",rowSubtitle:"rst__rowSubtitle",collapseButton:"rst__collapseButton",expandButton:"rst__expandButton",row_NoFlex:"rst__row_NoFlex",rowContents_NoFlex:"rst__rowContents_NoFlex",lineChildren:"rst__lineChildren"}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(1),c=r(l),u=r(n(2)),d=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),s(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.connectDropTarget,r=(e.treeId,e.drop,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","connectDropTarget","treeId","drop"]));return n(c.default.createElement("div",null,l.Children.map(t,(function(e){return(0,l.cloneElement)(e,a({},r))}))))}}]),t}(l.Component);d.defaultProps={canDrop:!1,draggedNode:null},d.propTypes={children:u.default.node.isRequired,connectDropTarget:u.default.func.isRequired,isOver:u.default.bool.isRequired,canDrop:u.default.bool,draggedNode:u.default.shape({}),treeId:u.default.string.isRequired,drop:u.default.func.isRequired},t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(1)),i=r(n(2)),a=r(n(24)),s=function(e){var t=e.isOver,n=e.canDrop;return o.default.createElement("div",{className:a.default.placeholder+(n?" "+a.default.placeholderLandingPad:"")+(n&&!t?" "+a.default.placeholderCancelPad:"")})};s.defaultProps={isOver:!1,canDrop:!1},s.propTypes={isOver:i.default.bool,canDrop:i.default.bool},t.default=s},function(e,t,n){var r=n(25);"string"==typeof r&&(r=[[e.i,r,""]]);n(4)(r,{insertAt:"top",hmr:!0,transform:void 0}),r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(3)(!1)).push([e.i,".rst__placeholder {\n position: relative;\n height: 68px;\n max-width: 300px;\n padding: 10px; }\n .rst__placeholder,\n .rst__placeholder > * {\n -webkit-box-sizing: border-box;\n box-sizing: border-box; }\n .rst__placeholder::before {\n border: 3px dashed #d9d9d9;\n content: '';\n position: absolute;\n top: 5px;\n right: 5px;\n bottom: 5px;\n left: 5px;\n z-index: -1; }\n\n/**\n * The outline of where the element will go if dropped, displayed while dragging\n */\n.rst__placeholderLandingPad, .rst__placeholderCancelPad {\n border: none !important;\n -webkit-box-shadow: none !important;\n box-shadow: none !important;\n outline: none !important; }\n .rst__placeholderLandingPad *, .rst__placeholderCancelPad * {\n opacity: 0 !important; }\n .rst__placeholderLandingPad::before, .rst__placeholderCancelPad::before {\n background-color: lightblue;\n border-color: white; }\n\n/**\n * Alternate appearance of the landing pad when the dragged location is invalid\n */\n.rst__placeholderCancelPad::before {\n background-color: #e6a8ad; }\n",""]),t.locals={placeholder:"rst__placeholder",placeholderLandingPad:"rst__placeholderLandingPad",placeholderCancelPad:"rst__placeholderCancelPad"}},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.slideRows=function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,i=[].concat(r(e.slice(0,t)),r(e.slice(t+o)));return[].concat(r(i.slice(0,n)),r(e.slice(t,t+o)),r(i.slice(n)))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(28),a=(r=n(29))&&r.__esModule?r:{default:r},s=n(30),l=n(0),c=n(6),u=function(){function e(t){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.treeRef=t}return o(e,[{key:"getTargetDepth",value:function(e,t,n){var r=0,o=e.getPrevRow();o&&(r=Math.min(o.path.length,e.path.length));var i=void 0,a=(t.getItem().path||[]).length;if(t.getItem().treeId!==this.treeId)if(a=0,n){var c=(0,s.findDOMNode)(n).getBoundingClientRect(),u=t.getSourceClientOffset().x-c.left;i=Math.round(u/e.scaffoldBlockPxWidth)}else i=e.path.length;else i=Math.round(t.getDifferenceFromInitialOffset().x/e.scaffoldBlockPxWidth);var d=Math.min(r,Math.max(0,a+i-1));if(void 0!==this.maxDepth&&null!==this.maxDepth){var f=t.getItem().node,p=(0,l.getDepth)(f);d=Math.max(0,Math.min(d,this.maxDepth-p-1))}return d}},{key:"canDrop",value:function(e,t){if(!t.isOver())return!1;var n=e.getPrevRow(),r=n?n.path:[],o=n?n.node:{},i=this.getTargetDepth(e,t,null);if(i>=r.length&&"function"==typeof o.children)return!1;if("function"==typeof this.customCanDrop){var a=t.getItem().node,s=(0,c.memoizedInsertNode)({treeData:this.treeData,newNode:a,depth:i,getNodeKey:this.getNodeKey,minimumTreeIndex:e.listIndex,expandParent:!0});return this.customCanDrop({node:a,prevPath:t.getItem().path,prevParent:t.getItem().parentNode,prevTreeIndex:t.getItem().treeIndex,nextPath:s.path,nextParent:s.parentNode,nextTreeIndex:s.treeIndex})}return!0}},{key:"wrapSource",value:function(e){var t=this,n={beginDrag:function(e){return t.startDrag(e),{node:e.node,parentNode:e.parentNode,path:e.path,treeIndex:e.treeIndex,treeId:e.treeId}},endDrag:function(e,n){t.endDrag(n.getDropResult())},isDragging:function(e,t){var n=t.getItem().node;return e.node===n}};return(0,i.DragSource)(this.dndType,n,(function(e,t){return{connectDragSource:e.dragSource(),connectDragPreview:e.dragPreview(),isDragging:t.isDragging(),didDrop:t.didDrop()}}))(e)}},{key:"wrapTarget",value:function(e){var t=this,n={drop:function(e,n,r){var o={node:n.getItem().node,path:n.getItem().path,treeIndex:n.getItem().treeIndex,treeId:t.treeId,minimumTreeIndex:e.treeIndex,depth:t.getTargetDepth(e,n,r)};return t.drop(o),o},hover:function(e,n,r){var o=t.getTargetDepth(e,n,r),i=n.getItem().node;(e.node!==i||o!==e.path.length-1)&&t.dragHover({node:i,path:n.getItem().path,minimumTreeIndex:e.listIndex,depth:o})},canDrop:this.canDrop.bind(this)};return(0,i.DropTarget)(this.dndType,n,(function(e,t){var n=t.getItem();return{connectDropTarget:e.dropTarget(),isOver:t.isOver(),canDrop:t.canDrop(),draggedNode:n?n.node:null}}))(e)}},{key:"wrapPlaceholder",value:function(e){var t=this,n={drop:function(e,n){var r=n.getItem(),o={node:r.node,path:r.path,treeIndex:r.treeIndex,treeId:t.treeId,minimumTreeIndex:0,depth:0};return t.drop(o),o}};return(0,i.DropTarget)(this.dndType,n,(function(e,t){var n=t.getItem();return{connectDropTarget:e.dropTarget(),isOver:t.isOver(),canDrop:t.canDrop(),draggedNode:n?n.node:null}}))(e)}},{key:"startDrag",get:function(){return this.treeRef.startDrag}},{key:"dragHover",get:function(){return this.treeRef.dragHover}},{key:"endDrag",get:function(){return this.treeRef.endDrag}},{key:"drop",get:function(){return this.treeRef.drop}},{key:"treeId",get:function(){return this.treeRef.treeId}},{key:"dndType",get:function(){return this.treeRef.dndType}},{key:"treeData",get:function(){return this.treeRef.state.draggingTreeData||this.treeRef.props.treeData}},{key:"getNodeKey",get:function(){return this.treeRef.props.getNodeKey}},{key:"customCanDrop",get:function(){return this.treeRef.props.canDrop}},{key:"maxDepth",get:function(){return this.treeRef.props.maxDepth}}],[{key:"wrapRoot",value:function(e){return(0,i.DragDropContext)(a.default)(e)}}]),e}();t.default=u},function(e,t){e.exports=n(281)},function(e,t){e.exports=n(295)},function(e,t){e.exports=n(12)},function(e,t,n){var r=n(32);"string"==typeof r&&(r=[[e.i,r,""]]);n(4)(r,{insertAt:"top",hmr:!0,transform:void 0}),r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(3)(!1)).push([e.i,"/**\n * The container holding the VirtualScroll\n */\n.rst__tree {\n /*! This comment keeps Sass from deleting the empty rule */ }\n\n/**\n * Extra class applied to VirtualScroll through className prop\n */\n.rst__virtualScrollOverride {\n overflow: auto !important; }\n .rst__virtualScrollOverride * {\n -webkit-box-sizing: border-box;\n box-sizing: border-box; }\n\n.ReactVirtualized__Grid__innerScrollContainer {\n overflow: visible !important; }\n\n.ReactVirtualized__Grid {\n outline: none; }\n",""]),t.locals={tree:"rst__tree",virtualScrollOverride:"rst__virtualScrollOverride"}}])},function(e,t,n){"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function o(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function i(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,a=null,s=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?s="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==s){var l=e.displayName||e.name,c="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+l+" uses "+c+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==a?"\n "+a:"")+(null!==s?"\n "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=o),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=i;var u=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;u.call(this,e,t,r)}}return e}n.r(t),n.d(t,"polyfill",(function(){return a})),r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0},function(e,t,n){"use strict";var r=n(0),o=n(311);if(void 0===r)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var i=(new r.Component).updater;e.exports=o(r.Component,r.isValidElement,i)},function(e,t,n){var r=n(74),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){var r=n(80),o=n(154),i=n(156);e.exports=function(e,t){return i(o(e,t,r),e+"")}},function(e,t,n){"use strict";var r={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i=Object.defineProperty,a=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,l=Object.getOwnPropertyDescriptor,c=Object.getPrototypeOf,u=c&&c(Object);e.exports=function e(t,n,d){if("string"!=typeof n){if(u){var f=c(n);f&&f!==u&&e(t,f,d)}var p=a(n);s&&(p=p.concat(s(n)));for(var h=0;h<p.length;++h){var v=p[h];if(!(r[v]||o[v]||d&&d[v])){var g=l(n,v);try{i(t,v,g)}catch(e){}}}return t}return t}},function(e,t,n){"use strict";n.r(t),n.d(t,"cf7sRequest",(function(){return o}));var r=n(11);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text";e.nonce||(e.nonce=window.cf7svisual.nonce);var n=Object.keys(e).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&"),r={method:"POST",credentials:"same-origin",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},body:n},o=fetch(window.cf7svisual.ajaxurl,r).then((function(e){return"json"===t?e.json():e.text()})).then((function(e){if(e)return e;throw new Error("Error. Returned data: ".concat(e))})).catch((function(e){console.error("Error: ".concat(e))}));return Promise.resolve(o)}n.d(t,"defaultTreeData",(function(){return r.a}))},function(e,t,n){var r=n(50),o=n(116),i=n(117),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.END_DRAG=t.DROP=t.HOVER=t.PUBLISH_DRAG_SOURCE=t.BEGIN_DRAG=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.beginDrag=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{publishSource:!0,clientOffset:null},n=t.publishSource,r=t.clientOffset,s=t.getSourceClientOffset;(0,o.default)((0,i.default)(e),"Expected sourceIds to be an array.");var l=this.getMonitor(),u=this.getRegistry();(0,o.default)(!l.isDragging(),"Cannot call beginDrag while dragging.");for(var d=0;d<e.length;d++)(0,o.default)(u.getSource(e[d]),"Expected sourceIds to be registered.");for(var f=null,p=e.length-1;p>=0;p--)if(l.canDragSource(e[p])){f=e[p];break}if(null!==f){var h=null;r&&((0,o.default)("function"==typeof s,"When clientOffset is provided, getSourceClientOffset must be a function."),h=s(f));var v=u.getSource(f),g=v.beginDrag(l,f);(0,o.default)((0,a.default)(g),"Item must be an object."),u.pinSource(f);var m=u.getSourceType(f);return{type:c,itemType:m,item:g,sourceId:f,clientOffset:r,sourceClientOffset:h,isSourcePublic:n}}},t.publishDragSource=function(){if(this.getMonitor().isDragging())return{type:u}},t.hover=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.clientOffset,r=void 0===n?null:n;(0,o.default)((0,i.default)(e),"Expected targetIds to be an array.");var a=e.slice(0),l=this.getMonitor(),c=this.getRegistry();(0,o.default)(l.isDragging(),"Cannot call hover while not dragging."),(0,o.default)(!l.didDrop(),"Cannot call hover after drop.");for(var u=0;u<a.length;u++){var f=a[u];(0,o.default)(a.lastIndexOf(f)===u,"Expected targetIds to be unique in the passed array.");var p=c.getTarget(f);(0,o.default)(p,"Expected targetIds to be registered.")}for(var h=l.getItemType(),v=a.length-1;v>=0;v--){var g=a[v],m=c.getTargetType(g);(0,s.default)(m,h)||a.splice(v,1)}for(var y=0;y<a.length;y++){var b=a[y],_=c.getTarget(b);_.hover(l,b)}return{type:d,targetIds:a,clientOffset:r}},t.drop=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.getMonitor(),i=this.getRegistry();(0,o.default)(n.isDragging(),"Cannot call drop while not dragging."),(0,o.default)(!n.didDrop(),"Cannot call drop twice during one drag operation.");var s=n.getTargetIds().filter(n.canDropOnTarget,n);s.reverse(),s.forEach((function(s,l){var c=i.getTarget(s).drop(n,s);(0,o.default)(void 0===c||(0,a.default)(c),"Drop result must either be an object or undefined."),void 0===c&&(c=0===l?{}:n.getDropResult()),e.store.dispatch({type:f,dropResult:r({},t,c)})}))},t.endDrag=function(){var e=this.getMonitor(),t=this.getRegistry();(0,o.default)(e.isDragging(),"Cannot call endDrag while not dragging.");var n=e.getSourceId();return t.getSource(n,!0).endDrag(e,n),t.unpinSource(),{type:p}};var o=l(n(13)),i=l(n(20)),a=l(n(29)),s=l(n(76));function l(e){return e&&e.__esModule?e:{default:e}}var c=t.BEGIN_DRAG="dnd-core/BEGIN_DRAG",u=t.PUBLISH_DRAG_SOURCE="dnd-core/PUBLISH_DRAG_SOURCE",d=t.HOVER="dnd-core/HOVER",f=t.DROP="dnd-core/DROP",p=t.END_DRAG="dnd-core/END_DRAG"},function(e,t,n){var r=n(36)(Object,"create");e.exports=r},function(e,t,n){var r=n(127),o=n(131);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},function(e,t,n){var r=n(52);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(144);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var r=n(58),o=n(28);e.exports=function(e){return o(e)&&r(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addSource=function(e){return{type:r,sourceId:e}},t.addTarget=function(e){return{type:o,targetId:e}},t.removeSource=function(e){return{type:i,sourceId:e}},t.removeTarget=function(e){return{type:a,targetId:e}};var r=t.ADD_SOURCE="dnd-core/ADD_SOURCE",o=t.ADD_TARGET="dnd-core/ADD_TARGET",i=t.REMOVE_SOURCE="dnd-core/REMOVE_SOURCE",a=t.REMOVE_TARGET="dnd-core/REMOVE_TARGET"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.create=t.connect=t.Provider=void 0;var r=a(n(312)),o=a(n(313)),i=a(n(315));function a(e){return e&&e.__esModule?e:{default:e}}t.Provider=r.default,t.connect=o.default,t.create=i.default},function(e,t,n){var r=n(268);e.exports=function(e,t){if(null==e)return{};var n,o,i=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},function(e,t,n){e.exports=!n(96)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(73);Object.defineProperty(t,"DragDropContext",{enumerable:!0,get:function(){return l(r).default}});var o=n(182);Object.defineProperty(t,"DragDropContextProvider",{enumerable:!0,get:function(){return l(o).default}});var i=n(183);Object.defineProperty(t,"DragLayer",{enumerable:!0,get:function(){return l(i).default}});var a=n(184);Object.defineProperty(t,"DragSource",{enumerable:!0,get:function(){return l(a).default}});var s=n(193);function l(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"DropTarget",{enumerable:!0,get:function(){return l(s).default}})},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)){if(r.length){var a=o.apply(null,r);a&&e.push(a)}}else if("object"===i)if(r.toString===Object.prototype.toString)for(var s in r)n.call(r,s)&&r[s]&&e.push(s);else e.push(r.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,n(t,r)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(26).Symbol;e.exports=r},function(e,t,n){var r=n(78),o=n(148),i=n(149);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var r=n(150);e.exports=function(e,t){return!(null==e||!e.length)&&r(e,t,0)>-1}},function(e,t){e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,n){var r=n(79),o=n(81);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e===t)return!0;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty,i=0;i<n.length;i+=1){if(!o.call(t,n[i])||e[n[i]]!==t[n[i]])return!1;if(e[n[i]]!==t[n[i]])return!1}return!0}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return Boolean(e&&"function"==typeof e.dispose)},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FILE="__NATIVE_FILE__",t.URL="__NATIVE_URL__",t.TEXT="__NATIVE_TEXT__"},function(e,t,n){var r=n(95),o=n(242),i=n(219),a=Object.defineProperty;t.f=n(46)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){},function(e,t,n){var r=n(77),o=n(30),i=n(39),a=o((function(e,t){return i(e)?r(e,t):[]}));e.exports=a},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){var r=n(44),o=n(45),i=n(241),a=n(68),s=n(63),l=function(e,t,n){var c,u,d,f=e&l.F,p=e&l.G,h=e&l.S,v=e&l.P,g=e&l.B,m=e&l.W,y=p?o:o[t]||(o[t]={}),b=y.prototype,_=p?r:h?r[t]:(r[t]||{}).prototype;for(c in p&&(n=t),n)(u=!f&&_&&void 0!==_[c])&&s(y,c)||(d=u?_[c]:n[c],y[c]=p&&"function"!=typeof _[c]?n[c]:g&&u?i(d,r):m&&_[c]==d?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(d):v&&"function"==typeof d?i(Function.call,d):d,v&&((y.virtual||(y.virtual={}))[c]=d,e&l.R&&b&&!b[c]&&a(b,c,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){var r=n(62),o=n(105);e.exports=n(46)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(245),o=n(220);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(223)("wks"),o=n(108),i=n(44).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},function(e,t,n){"use strict";t.__esModule=!0;var r,o=(r=n(253))&&r.__esModule?r:{default:r};t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,o.default)(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unpackBackendForEs5Users=t.createChildContext=t.CHILD_CONTEXT_TYPES=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e){f.default.apply(void 0,["DragDropContext","backend"].concat(Array.prototype.slice.call(arguments)));var t=b(e),n=y(t);return function(e){var t,i,l=e.displayName||e.name||"Component",c=(i=t=function(t){function i(){return h(this,i),v(this,(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments))}return g(i,t),o(i,[{key:"getDecoratedComponentInstance",value:function(){return(0,u.default)(this.child,"In order to access an instance of the decorated component it can not be a stateless component."),this.child}},{key:"getManager",value:function(){return n.dragDropManager}},{key:"getChildContext",value:function(){return n}},{key:"render",value:function(){var t=this;return s.default.createElement(e,r({},this.props,{ref:function(e){t.child=e}}))}}]),i}(a.Component),t.DecoratedComponent=e,t.displayName="DragDropContext("+l+")",t.childContextTypes=m,i);return(0,d.default)(c,e)}};var a=n(0),s=p(a),l=p(n(1)),c=n(99),u=p(n(13)),d=p(n(31)),f=p(n(41));function p(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function g(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var m=t.CHILD_CONTEXT_TYPES={dragDropManager:l.default.object.isRequired},y=t.createChildContext=function(e,t){return{dragDropManager:new c.DragDropManager(e,t)}},b=t.unpackBackendForEs5Users=function(e){var t=e;return"object"===(void 0===t?"undefined":i(t))&&"function"==typeof t.default&&(t=t.default),(0,u.default)("function"==typeof t,"Expected the backend to be a function or an ES6 module exporting a default function. Read more: http://react-dnd.github.io/react-dnd/docs-drag-drop-context.html"),t}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(27))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=arguments[1];switch(t.type){case o.BEGIN_DRAG:return{initialSourceClientOffset:t.sourceClientOffset,initialClientOffset:t.clientOffset,clientOffset:t.clientOffset};case o.HOVER:return a(e.clientOffset,t.clientOffset)?e:r({},e,{clientOffset:t.clientOffset});case o.END_DRAG:case o.DROP:return i;default:return e}},t.getSourceClientOffset=function(e){var t=e.clientOffset,n=e.initialClientOffset,r=e.initialSourceClientOffset;return t&&n&&r?{x:t.x+r.x-n.x,y:t.y+r.y-n.y}:null},t.getDifferenceFromInitialOffset=function(e){var t=e.clientOffset,n=e.initialClientOffset;return t&&n?{x:t.x-n.x,y:t.y-n.y}:null};var o=n(34),i={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function a(e,t){return e===t||e&&t&&e.x===t.x&&e.y===t.y}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e)?e.some((function(e){return e===t})):e===t};var r,o=(r=n(20))&&r.__esModule?r:{default:r}},function(e,t,n){var r=n(51),o=n(53),i=n(54),a=n(55),s=n(56),l=n(57);e.exports=function(e,t,n,c){var u=-1,d=o,f=!0,p=e.length,h=[],v=t.length;if(!p)return h;n&&(t=a(t,s(n))),c?(d=i,f=!1):t.length>=200&&(d=l,f=!1,t=new r(t));e:for(;++u<p;){var g=e[u],m=null==n?g:n(g);if(g=c||0!==g?g:0,f&&m==m){for(var y=v;y--;)if(t[y]===m)continue e;h.push(g)}else d(t,m,c)||h.push(g)}return h}},function(e,t,n){var r=n(124),o=n(143),i=n(145),a=n(146),s=n(147);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},function(e,t,n){var r=n(33),o=n(29);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t){e.exports=function(e){return e}},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments[1],t=arguments[2];switch(e.type){case i.HOVER:break;case a.ADD_SOURCE:case a.ADD_TARGET:case a.REMOVE_TARGET:case a.REMOVE_SOURCE:return l;case i.BEGIN_DRAG:case i.PUBLISH_DRAG_SOURCE:case i.END_DRAG:case i.DROP:default:return c}var n=e.targetIds,o=t.targetIds,s=(0,r.default)(n,o),u=!1;if(0===s.length){for(var d=0;d<n.length;d++)if(n[d]!==o[d]){u=!0;break}}else u=!0;if(!u)return l;var f=o[o.length-1],p=n[n.length-1];return f!==p&&(f&&s.push(f),p&&s.push(p)),s},t.areDirty=function(e,t){return e!==l&&(e===c||void 0===t||(0,o.default)(t,e).length>0)};var r=s(n(162)),o=s(n(170)),i=n(34),a=n(40);function s(e){return e&&e.__esModule?e:{default:e}}var l=[],c=[]},function(e,t,n){var r=n(165),o=n(166);e.exports=function e(t,n,i,a,s){var l=-1,c=t.length;for(i||(i=o),s||(s=[]);++l<c;){var u=t[l];n>0&&i(u)?n>1?e(u,n-1,i,a,s):r(s,u):a||(s[s.length]=u)}return s}},function(e,t,n){var r=n(167),o=n(28),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},function(e,t,n){var r=n(51),o=n(53),i=n(54),a=n(57),s=n(168),l=n(87);e.exports=function(e,t,n){var c=-1,u=o,d=e.length,f=!0,p=[],h=p;if(n)f=!1,u=i;else if(d>=200){var v=t?null:s(e);if(v)return l(v);f=!1,u=a,h=new r}else h=t?[]:p;e:for(;++c<d;){var g=e[c],m=t?t(g):g;if(g=n||0!==g?g:0,f&&m==m){for(var y=h.length;y--;)if(h[y]===m)continue e;t&&h.push(m),p.push(g)}else u(h,m,n)||(h!==p&&h.push(m),p.push(g))}return p}},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e,t){if(e===t)return!0;if("object"!==(void 0===e?"undefined":r(e))||null===e||"object"!==(void 0===t?"undefined":r(t))||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var i=Object.prototype.hasOwnProperty,a=0;a<n.length;a+=1){if(!i.call(t,n[a]))return!1;var s=e[n[a]],l=t[n[a]];if(s!==l||"object"===(void 0===s?"undefined":r(s))||"object"===(void 0===l?"undefined":r(l)))return!1}return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){var t,n,h=e.DecoratedComponent,g=e.createHandler,m=e.createMonitor,y=e.createConnector,b=e.registerHandler,_=e.containerDisplayName,w=e.getType,S=e.collect,C=e.options.arePropsEqual,O=void 0===C?p.default:C,x=h.displayName||h.name||"Component",T=(n=t=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.handleChange=r.handleChange.bind(r),r.handleChildRef=r.handleChildRef.bind(r),(0,u.default)("object"===o(r.context.dragDropManager),"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context",x,x),r.manager=r.context.dragDropManager,r.handlerMonitor=m(r.manager),r.handlerConnector=y(r.manager.getBackend()),r.handler=g(r.handlerMonitor),r.disposable=new c.SerialDisposable,r.receiveProps(e),r.state=r.getCurrentState(),r.dispose(),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"getHandlerId",value:function(){return this.handlerId}},{key:"getDecoratedComponentInstance",value:function(){return this.decoratedComponentInstance}},{key:"shouldComponentUpdate",value:function(e,t){return!O(e,this.props)||!(0,f.default)(t,this.state)}}]),i(t,[{key:"componentDidMount",value:function(){this.isCurrentlyMounted=!0,this.disposable=new c.SerialDisposable,this.currentType=null,this.receiveProps(this.props),this.handleChange()}},{key:"componentWillReceiveProps",value:function(e){O(e,this.props)||(this.receiveProps(e),this.handleChange())}},{key:"componentWillUnmount",value:function(){this.dispose(),this.isCurrentlyMounted=!1}},{key:"receiveProps",value:function(e){this.handler.receiveProps(e),this.receiveType(w(e))}},{key:"receiveType",value:function(e){if(e!==this.currentType){this.currentType=e;var t=b(e,this.handler,this.manager),n=t.handlerId,r=t.unregister;this.handlerId=n,this.handlerMonitor.receiveHandlerId(n),this.handlerConnector.receiveHandlerId(n);var o=this.manager.getMonitor().subscribeToStateChange(this.handleChange,{handlerIds:[n]});this.disposable.setDisposable(new c.CompositeDisposable(new c.Disposable(o),new c.Disposable(r)))}}},{key:"handleChange",value:function(){if(this.isCurrentlyMounted){var e=this.getCurrentState();(0,f.default)(e,this.state)||this.setState(e)}}},{key:"dispose",value:function(){this.disposable.dispose(),this.handlerConnector.receiveHandlerId(null)}},{key:"handleChildRef",value:function(e){this.decoratedComponentInstance=e,this.handler.receiveComponent(e)}},{key:"getCurrentState",value:function(){return S(this.handlerConnector.hooks,this.handlerMonitor)}},{key:"render",value:function(){return s.default.createElement(h,r({},this.props,this.state,{ref:v(h)?this.handleChildRef:null}))}}]),t}(a.Component),t.DecoratedComponent=h,t.displayName=_+"("+x+")",t.contextTypes={dragDropManager:l.default.object.isRequired},n);return(0,d.default)(T,h)};var a=n(0),s=h(a),l=h(n(1)),c=n(100),u=(h(n(16)),h(n(13))),d=h(n(31)),f=h(n(59)),p=h(n(88));function h(e){return e&&e.__esModule?e:{default:e}}var v=function(e){return Boolean(e&&e.prototype&&"function"==typeof e.prototype.render)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t={};return Object.keys(e).forEach((function(n){var r,s=(r=e[n],function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if((0,o.isValidElement)(e)){var n=e;a(n);var s=t?function(e){return r(e,t)}:r;return(0,i.default)(n,s)}var l=e;r(l,t)});t[n]=function(){return s}})),t};var r,o=n(0),i=(r=n(192))&&r.__esModule?r:{default:r};function a(e){if("string"!=typeof e.type){var t=e.type.displayName||e.type.name||"the component";throw new Error("Only native element nodes can now be passed to React DnD connectors.You can either wrap "+t+" into a <div>, or turn it into a drag source or a drop target itself.")}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return t===e||null!==t&&null!==e&&(0,o.default)(t,e)};var r,o=(r=n(59))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function e(t,n){return"string"==typeof t||"symbol"===(void 0===t?"undefined":r(t))||n&&(0,i.default)(t)&&t.every((function(t){return e(t,!1)}))};var o,i=(o=n(20))&&o.__esModule?o:{default:o}},function(e,t){var n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSafari=t.isFirefox=void 0;var r,o=(r=n(103))&&r.__esModule?r:{default:r};t.isFirefox=(0,o.default)((function(){return/firefox/i.test(navigator.userAgent)})),t.isSafari=(0,o.default)((function(){return Boolean(window.safari)}))},function(e,t,n){var r=n(69);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEmptyImage=t.NativeTypes=void 0,t.default=function(e){return new r.default(e)};var r=a(n(198)),o=a(n(216)),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(61));function a(e){return e&&e.__esModule?e:{default:e}}t.NativeTypes=i,t.getEmptyImage=o.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(114);Object.defineProperty(t,"DragDropManager",{enumerable:!0,get:function(){return s(r).default}});var o=n(179);Object.defineProperty(t,"DragSource",{enumerable:!0,get:function(){return s(o).default}});var i=n(180);Object.defineProperty(t,"DropTarget",{enumerable:!0,get:function(){return s(i).default}});var a=n(181);function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"createTestBackend",{enumerable:!0,get:function(){return s(a).default}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=r(n(60));t.isDisposable=o.default;var i=r(n(185));t.Disposable=i.default;var a=r(n(186));t.CompositeDisposable=a.default;var s=r(n(187));t.SerialDisposable=s.default},function(e,t,n){var r=n(30),o=n(52),i=n(199),a=n(200),s=Object.prototype,l=s.hasOwnProperty,c=r((function(e,t){e=Object(e);var n=-1,r=t.length,c=r>2?t[2]:void 0;for(c&&i(t[0],t[1],c)&&(r=1);++n<r;)for(var u=t[n],d=a(u),f=-1,p=d.length;++f<p;){var h=d[f],v=e[h];(void 0===v||o(v,s[h])&&!l.call(e,h))&&(e[h]=u[h])}return e}));e.exports=c},function(e,t,n){var r=n(83),o=n(30),i=n(85),a=n(39),s=o((function(e){return i(r(e,1,a,!0))}));e.exports=s},function(e,t,n){var r=n(78);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(244),o=n(224);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports=!0},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(316)),o=a(n(328)),i="function"==typeof o.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof o.default&&"symbol"===i(r.default)?function(e){return void 0===e?"undefined":i(e)}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":void 0===e?"undefined":i(e)}},function(e,t,n){"use strict";(function(e){function r(t,n){var r,o,i,a=void 0!==(r=void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:e).document&&r.document.attachEvent;if(!a){var s=(i=r.requestAnimationFrame||r.mozRequestAnimationFrame||r.webkitRequestAnimationFrame||function(e){return r.setTimeout(e,20)},function(e){return i(e)}),l=(o=r.cancelAnimationFrame||r.mozCancelAnimationFrame||r.webkitCancelAnimationFrame||r.clearTimeout,function(e){return o(e)}),c=function(e){var t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,o=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=n.offsetWidth+1+"px",o.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},u=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var t=this;c(this),this.__resizeRAF__&&l(this.__resizeRAF__),this.__resizeRAF__=s((function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(n){n.call(t,e)})))}))}},d=!1,f="",p="animationstart",h="Webkit Moz O ms".split(" "),v="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),g=r.document.createElement("fakeelement");if(void 0!==g.style.animationName&&(d=!0),!1===d)for(var m=0;m<h.length;m++)if(void 0!==g.style[h[m]+"AnimationName"]){f="-"+h[m].toLowerCase()+"-",p=v[m],d=!0;break}var y="resizeanim",b="@"+f+"keyframes "+y+" { from { opacity: 0; } to { opacity: 0; } } ",_=f+"animation: 1ms "+y+"; "}return{addResizeListener:function(e,n){if(a)e.attachEvent("onresize",n);else{if(!e.__resizeTriggers__){var o=e.ownerDocument,i=r.getComputedStyle(e);i&&"static"==i.position&&(e.style.position="relative"),function(e){if(!e.getElementById("detectElementResize")){var n=(b||"")+".resize-triggers { "+(_||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',r=e.head||e.getElementsByTagName("head")[0],o=e.createElement("style");o.id="detectElementResize",o.type="text/css",null!=t&&o.setAttribute("nonce",t),o.styleSheet?o.styleSheet.cssText=n:o.appendChild(e.createTextNode(n)),r.appendChild(o)}}(o),e.__resizeLast__={},e.__resizeListeners__=[],(e.__resizeTriggers__=o.createElement("div")).className="resize-triggers";var s='<div class="expand-trigger"><div></div></div><div class="contract-trigger"></div>';if(window.trustedTypes){var l=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return s}});e.__resizeTriggers__.innerHTML=l.createHTML("")}else e.__resizeTriggers__.innerHTML=s;e.appendChild(e.__resizeTriggers__),c(e),e.addEventListener("scroll",u,!0),p&&(e.__resizeTriggers__.__animationListener__=function(t){t.animationName==y&&c(e)},e.__resizeTriggers__.addEventListener(p,e.__resizeTriggers__.__animationListener__))}e.__resizeListeners__.push(n)}},removeResizeListener:function(e,t){if(a)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",u,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(p,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}n.d(t,"a",(function(){return r}))}).call(this,n(27))},function(e,t,n){"use strict";var r=n(113);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=l(n(115)),i=l(n(122)),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(34)),s=l(n(174));function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var u=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};c(this,e);var r=(0,o.default)(i.default);this.context=n,this.store=r,this.monitor=new s.default(r),this.registry=this.monitor.registry,this.backend=t(this),r.subscribe(this.handleRefCountChange.bind(this))}return r(e,[{key:"handleRefCountChange",value:function(){var e=this.store.getState().refCount>0;e&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!e&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1)}},{key:"getContext",value:function(){return this.context}},{key:"getMonitor",value:function(){return this.monitor}},{key:"getBackend",value:function(){return this.backend}},{key:"getRegistry",value:function(){return this.registry}},{key:"getActions",value:function(){var e=this,t=this.store.dispatch;return Object.keys(a).filter((function(e){return"function"==typeof a[e]})).reduce((function(n,r){var o,i=a[r];return n[r]=(o=i,function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];var a=o.apply(e,r);void 0!==a&&t(a)}),n}),{})}}]),e}();t.default=u},function(e,t,n){"use strict";t.__esModule=!0,t.ActionTypes=void 0,t.default=function e(t,n,i){var s;if("function"==typeof n&&void 0===i&&(i=n,n=void 0),void 0!==i){if("function"!=typeof i)throw new Error("Expected the enhancer to be a function.");return i(e)(t,n)}if("function"!=typeof t)throw new Error("Expected the reducer to be a function.");var l=t,c=n,u=[],d=u,f=!1;function p(){d===u&&(d=u.slice())}function h(){return c}function v(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var t=!0;return p(),d.push(e),function(){if(t){t=!1,p();var n=d.indexOf(e);d.splice(n,1)}}}function g(e){if(!(0,r.default)(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(f)throw new Error("Reducers may not dispatch actions.");try{f=!0,c=l(c,e)}finally{f=!1}for(var t=u=d,n=0;n<t.length;n++)(0,t[n])();return e}return g({type:a.INIT}),(s={dispatch:g,subscribe:v,getState:h,replaceReducer:function(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");l=e,g({type:a.INIT})}})[o.default]=function(){var e,t=v;return(e={subscribe:function(e){if("object"!=typeof e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(h())}return n(),{unsubscribe:t(n)}}})[o.default]=function(){return this},e},s};var r=i(n(16)),o=i(n(120));function i(e){return e&&e.__esModule?e:{default:e}}var a=t.ActionTypes={INIT:"@@redux/INIT"}},function(e,t,n){var r=n(50),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r=n(119)(Object.getPrototypeOf,Object);e.exports=r},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){"use strict";n.r(t),function(e,r){var o,i=n(97);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var a=Object(i.a)(o);t.default=a}.call(this,n(27),n(121)(e))},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];return{dirtyHandlerIds:(0,a.default)(e.dirtyHandlerIds,t,e.dragOperation),dragOffset:(0,r.default)(e.dragOffset,t),refCount:(0,i.default)(e.refCount,t),dragOperation:(0,o.default)(e.dragOperation,t),stateId:(0,s.default)(e.stateId)}};var r=l(n(75)),o=l(n(123)),i=l(n(161)),a=l(n(82)),s=l(n(173));function l(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,t=arguments[1];switch(t.type){case a.BEGIN_DRAG:return r({},e,{itemType:t.itemType,item:t.item,sourceId:t.sourceId,isSourcePublic:t.isSourcePublic,dropResult:null,didDrop:!1});case a.PUBLISH_DRAG_SOURCE:return r({},e,{isSourcePublic:!0});case a.HOVER:return r({},e,{targetIds:t.targetIds});case s.REMOVE_TARGET:return-1===e.targetIds.indexOf(t.targetId)?e:r({},e,{targetIds:(0,i.default)(e.targetIds,t.targetId)});case a.DROP:return r({},e,{dropResult:t.dropResult,didDrop:!0,targetIds:[]});case a.END_DRAG:return r({},e,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}};var o,i=(o=n(65))&&o.__esModule?o:{default:o},a=n(34),s=n(40),l={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null}},function(e,t,n){var r=n(125),o=n(136),i=n(142);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},function(e,t,n){var r=n(126),o=n(132),i=n(133),a=n(134),s=n(135);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},function(e,t,n){var r=n(35);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t,n){var r=n(79),o=n(128),i=n(29),a=n(130),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,f=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?f:s).test(a(e))}},function(e,t,n){var r,o=n(129),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},function(e,t,n){var r=n(26)["__core-js_shared__"];e.exports=r},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var r=n(35),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(35),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},function(e,t,n){var r=n(35);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t,n){var r=n(137),o=n(138),i=n(139),a=n(140),s=n(141);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(37),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():o.call(t,n,1),--this.size,0))}},function(e,t,n){var r=n(37);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(37);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(37);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},function(e,t,n){var r=n(36)(n(26),"Map");e.exports=r},function(e,t,n){var r=n(38);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(38);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(38);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(38);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(151),o=n(152),i=n(153);e.exports=function(e,t,n){return t==t?i(e,t,n):r(e,o,n)}},function(e,t){e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},function(e,t){e.exports=function(e){return e!=e}},function(e,t){e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},function(e,t,n){var r=n(155),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=o(i.length-t,0),l=Array(s);++a<s;)l[a]=i[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=i[a];return c[t]=n(l),r(e,this,c)}}},function(e,t){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},function(e,t,n){var r=n(157),o=n(160)(r);e.exports=o},function(e,t,n){var r=n(158),o=n(159),i=n(80),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},function(e,t){e.exports=function(e){return function(){return e}}},function(e,t,n){var r=n(36),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},function(e,t){var n=Date.now;e.exports=function(e){var t=0,r=0;return function(){var o=n(),i=16-(o-r);if(r=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments[1];switch(t.type){case r.ADD_SOURCE:case r.ADD_TARGET:return e+1;case r.REMOVE_SOURCE:case r.REMOVE_TARGET:return e-1;default:return e}};var r=n(40)},function(e,t,n){var r=n(163),o=n(30),i=n(164),a=n(39),s=o((function(e){return i(r(e,a))}));e.exports=s},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}},function(e,t,n){var r=n(77),o=n(83),i=n(85);e.exports=function(e,t,n){var a=e.length;if(a<2)return a?i(e[0]):[];for(var s=-1,l=Array(a);++s<a;)for(var c=e[s],u=-1;++u<a;)u!=s&&(l[s]=r(l[s]||c,e[u],t,n));return i(o(l,1),t,n)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},function(e,t,n){var r=n(50),o=n(84),i=n(20),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},function(e,t,n){var r=n(33),o=n(28);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},function(e,t,n){var r=n(169),o=n(86),i=n(87),a=r&&1/i(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=a},function(e,t,n){var r=n(36)(n(26),"Set");e.exports=r},function(e,t,n){var r=n(55),o=n(171),i=n(30),a=n(172),s=i((function(e){var t=r(e,a);return t.length&&t[0]===e[0]?o(t):[]}));e.exports=s},function(e,t,n){var r=n(51),o=n(53),i=n(54),a=n(55),s=n(56),l=n(57),c=Math.min;e.exports=function(e,t,n){for(var u=n?i:o,d=e[0].length,f=e.length,p=f,h=Array(f),v=1/0,g=[];p--;){var m=e[p];p&&t&&(m=a(m,s(t))),v=c(m.length,v),h[p]=!n&&(t||d>=120&&m.length>=120)?new r(p&&m):void 0}m=e[0];var y=-1,b=h[0];e:for(;++y<d&&g.length<v;){var _=m[y],w=t?t(_):_;if(_=n||0!==_?_:0,!(b?l(b,w):u(g,w,n))){for(p=f;--p;){var S=h[p];if(!(S?l(S,w):u(e[p],w,n)))continue e}b&&b.push(w),g.push(_)}}return g}},function(e,t,n){var r=n(39);e.exports=function(e){return r(e)?e:[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return e+1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=u(n(13)),i=u(n(20)),a=u(n(76)),s=u(n(175)),l=n(75),c=n(82);function u(e){return e&&e.__esModule?e:{default:e}}var d=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.store=t,this.registry=new s.default(t)}return r(e,[{key:"subscribeToStateChange",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.handlerIds;(0,o.default)("function"==typeof e,"listener must be a function."),(0,o.default)(void 0===r||(0,i.default)(r),"handlerIds, when specified, must be an array of strings.");var a=this.store.getState().stateId,s=function(){var n=t.store.getState(),o=n.stateId;try{o===a||o===a+1&&!(0,c.areDirty)(n.dirtyHandlerIds,r)||e()}finally{a=o}};return this.store.subscribe(s)}},{key:"subscribeToOffsetChange",value:function(e){var t=this;(0,o.default)("function"==typeof e,"listener must be a function.");var n=this.store.getState().dragOffset;return this.store.subscribe((function(){var r=t.store.getState().dragOffset;r!==n&&(n=r,e())}))}},{key:"canDragSource",value:function(e){var t=this.registry.getSource(e);return(0,o.default)(t,"Expected to find a valid source."),!this.isDragging()&&t.canDrag(this,e)}},{key:"canDropOnTarget",value:function(e){var t=this.registry.getTarget(e);if((0,o.default)(t,"Expected to find a valid target."),!this.isDragging()||this.didDrop())return!1;var n=this.registry.getTargetType(e),r=this.getItemType();return(0,a.default)(n,r)&&t.canDrop(this,e)}},{key:"isDragging",value:function(){return Boolean(this.getItemType())}},{key:"isDraggingSource",value:function(e){var t=this.registry.getSource(e,!0);return(0,o.default)(t,"Expected to find a valid source."),!(!this.isDragging()||!this.isSourcePublic())&&this.registry.getSourceType(e)===this.getItemType()&&t.isDragging(this,e)}},{key:"isOverTarget",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{shallow:!1},n=t.shallow;if(!this.isDragging())return!1;var r=this.registry.getTargetType(e),o=this.getItemType();if(!(0,a.default)(r,o))return!1;var i=this.getTargetIds();if(!i.length)return!1;var s=i.indexOf(e);return n?s===i.length-1:s>-1}},{key:"getItemType",value:function(){return this.store.getState().dragOperation.itemType}},{key:"getItem",value:function(){return this.store.getState().dragOperation.item}},{key:"getSourceId",value:function(){return this.store.getState().dragOperation.sourceId}},{key:"getTargetIds",value:function(){return this.store.getState().dragOperation.targetIds}},{key:"getDropResult",value:function(){return this.store.getState().dragOperation.dropResult}},{key:"didDrop",value:function(){return this.store.getState().dragOperation.didDrop}},{key:"isSourcePublic",value:function(){return this.store.getState().dragOperation.isSourcePublic}},{key:"getInitialClientOffset",value:function(){return this.store.getState().dragOffset.initialClientOffset}},{key:"getInitialSourceClientOffset",value:function(){return this.store.getState().dragOffset.initialSourceClientOffset}},{key:"getClientOffset",value:function(){return this.store.getState().dragOffset.clientOffset}},{key:"getSourceClientOffset",value:function(){return(0,l.getSourceClientOffset)(this.store.getState().dragOffset)}},{key:"getDifferenceFromInitialOffset",value:function(){return(0,l.getDifferenceFromInitialOffset)(this.store.getState().dragOffset)}}]),e}();t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=u(n(13)),a=u(n(20)),s=u(n(176)),l=n(40),c=u(n(178));function u(e){return e&&e.__esModule?e:{default:e}}function d(e,t){t&&(0,a.default)(e)?e.forEach((function(e){return d(e,!1)})):(0,i.default)("string"==typeof e||"symbol"===(void 0===e?"undefined":o(e)),t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}function f(e){switch(e[0]){case"S":return"SOURCE";case"T":return"TARGET";default:(0,i.default)(!1,"Cannot parse handler ID: "+e)}}var p=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.store=t,this.types={},this.handlers={},this.pinnedSourceId=null,this.pinnedSource=null}return r(e,[{key:"addSource",value:function(e,t){d(e),function(e){(0,i.default)("function"==typeof e.canDrag,"Expected canDrag to be a function."),(0,i.default)("function"==typeof e.beginDrag,"Expected beginDrag to be a function."),(0,i.default)("function"==typeof e.endDrag,"Expected endDrag to be a function.")}(t);var n=this.addHandler("SOURCE",e,t);return this.store.dispatch((0,l.addSource)(n)),n}},{key:"addTarget",value:function(e,t){d(e,!0),function(e){(0,i.default)("function"==typeof e.canDrop,"Expected canDrop to be a function."),(0,i.default)("function"==typeof e.hover,"Expected hover to be a function."),(0,i.default)("function"==typeof e.drop,"Expected beginDrag to be a function.")}(t);var n=this.addHandler("TARGET",e,t);return this.store.dispatch((0,l.addTarget)(n)),n}},{key:"addHandler",value:function(e,t,n){var r=function(e){var t=(0,c.default)().toString();switch(e){case"SOURCE":return"S"+t;case"TARGET":return"T"+t;default:(0,i.default)(!1,"Unknown role: "+e)}}(e);return this.types[r]=t,this.handlers[r]=n,r}},{key:"containsHandler",value:function(e){var t=this;return Object.keys(this.handlers).some((function(n){return t.handlers[n]===e}))}},{key:"getSource",value:function(e,t){return(0,i.default)(this.isSourceId(e),"Expected a valid source ID."),t&&e===this.pinnedSourceId?this.pinnedSource:this.handlers[e]}},{key:"getTarget",value:function(e){return(0,i.default)(this.isTargetId(e),"Expected a valid target ID."),this.handlers[e]}},{key:"getSourceType",value:function(e){return(0,i.default)(this.isSourceId(e),"Expected a valid source ID."),this.types[e]}},{key:"getTargetType",value:function(e){return(0,i.default)(this.isTargetId(e),"Expected a valid target ID."),this.types[e]}},{key:"isSourceId",value:function(e){return"SOURCE"===f(e)}},{key:"isTargetId",value:function(e){return"TARGET"===f(e)}},{key:"removeSource",value:function(e){var t=this;(0,i.default)(this.getSource(e),"Expected an existing source."),this.store.dispatch((0,l.removeSource)(e)),(0,s.default)((function(){delete t.handlers[e],delete t.types[e]}))}},{key:"removeTarget",value:function(e){var t=this;(0,i.default)(this.getTarget(e),"Expected an existing target."),this.store.dispatch((0,l.removeTarget)(e)),(0,s.default)((function(){delete t.handlers[e],delete t.types[e]}))}},{key:"pinSource",value:function(e){var t=this.getSource(e);(0,i.default)(t,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=t}},{key:"unpinSource",value:function(){(0,i.default)(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}}]),e}();t.default=p},function(e,t,n){"use strict";var r=n(177),o=[],i=[],a=r.makeRequestCallFromTimer((function(){if(i.length)throw i.shift()}));function s(e){var t;(t=o.length?o.pop():new l).task=e,r(t)}function l(){this.task=null}e.exports=s,l.prototype.call=function(){try{this.task.call()}catch(e){s.onerror?s.onerror(e):(i.push(e),a())}finally{this.task=null,o[o.length]=this}}},function(e,t,n){"use strict";(function(t){function n(e){o.length||r(),o[o.length]=e}e.exports=n;var r,o=[],i=0;function a(){for(;i<o.length;){var e=i;if(i+=1,o[e].call(),i>1024){for(var t=0,n=o.length-i;t<n;t++)o[t]=o[t+i];o.length-=i,i=0}}o.length=0,i=0}var s,l,c,u=void 0!==t?t:self,d=u.MutationObserver||u.WebKitMutationObserver;function f(e){return function(){var t=setTimeout(r,0),n=setInterval(r,50);function r(){clearTimeout(t),clearInterval(n),e()}}}"function"==typeof d?(s=1,l=new d(a),c=document.createTextNode(""),l.observe(c,{characterData:!0}),r=function(){s=-s,c.data=s}):r=f(a),n.requestFlush=r,n.makeRequestCallFromTimer=f}).call(this,n(27))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return r++};var r=0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,[{key:"canDrag",value:function(){return!0}},{key:"isDragging",value:function(e,t){return t===e.getSourceId()}},{key:"endDrag",value:function(){}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,[{key:"canDrop",value:function(){return!0}},{key:"hover",value:function(){}},{key:"drop",value:function(){}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){return new a(e)};var o,i=(o=n(86))&&o.__esModule?o:{default:o},a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.actions=t.getActions()}return r(e,[{key:"setup",value:function(){this.didCallSetup=!0}},{key:"teardown",value:function(){this.didCallTeardown=!0}},{key:"connectDragSource",value:function(){return i.default}},{key:"connectDragPreview",value:function(){return i.default}},{key:"connectDropTarget",value:function(){return i.default}},{key:"simulateBeginDrag",value:function(e,t){this.actions.beginDrag(e,t)}},{key:"simulatePublishDragSource",value:function(){this.actions.publishDragSource()}},{key:"simulateHover",value:function(e,t){this.actions.hover(e,t)}},{key:"simulateDrop",value:function(){this.actions.drop()}},{key:"simulateEndDrag",value:function(){this.actions.endDrag()}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o,i,a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(0),l=(i=n(1))&&i.__esModule?i:{default:i},c=n(73),u=(o=r=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.backend=(0,c.unpackBackendForEs5Users)(e.backend),r.childContext=(0,c.createChildContext)(r.backend,{window:e&&e.window?e.window:n&&n.window?n.window:"undefined"!=typeof window?window:void 0}),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"componentWillReceiveProps",value:function(e){if(e.backend!==this.props.backend||e.window!==this.props.window)throw new Error("DragDropContextProvider backend and window props must not change.")}},{key:"getChildContext",value:function(){return this.childContext}},{key:"render",value:function(){return s.Children.only(this.props.children)}}]),t}(s.Component),r.propTypes={backend:l.default.oneOfType([l.default.func,l.default.object]).isRequired,children:l.default.element.isRequired,window:l.default.object},r.defaultProps={window:void 0},r.childContextTypes=c.CHILD_CONTEXT_TYPES,r.displayName="DragDropContextProvider",r.contextTypes={window:l.default.object},o);t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return h.default.apply(void 0,["DragLayer","collect[, options]"].concat(Array.prototype.slice.call(arguments))),(0,d.default)("function"==typeof e,'Expected "collect" provided as the first argument to DragLayer to be a function that collects props to inject into the component. ',"Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html",e),(0,d.default)((0,u.default)(t),'Expected "options" provided as the second argument to DragLayer to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html',t),function(n){var u,h,v=t.arePropsEqual,b=void 0===v?p.default:v,_=n.displayName||n.name||"Component",w=(h=u=function(t){function a(e,t){g(this,a);var n=m(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return n.handleChange=n.handleChange.bind(n),n.manager=t.dragDropManager,(0,d.default)("object"===o(n.manager),"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context",_,_),n.state=n.getCurrentState(),n}return y(a,t),i(a,[{key:"getDecoratedComponentInstance",value:function(){return(0,d.default)(this.child,"In order to access an instance of the decorated component it can not be a stateless component."),this.child}},{key:"shouldComponentUpdate",value:function(e,t){return!b(e,this.props)||!(0,f.default)(t,this.state)}}]),i(a,[{key:"componentDidMount",value:function(){this.isCurrentlyMounted=!0;var e=this.manager.getMonitor();this.unsubscribeFromOffsetChange=e.subscribeToOffsetChange(this.handleChange),this.unsubscribeFromStateChange=e.subscribeToStateChange(this.handleChange),this.handleChange()}},{key:"componentWillUnmount",value:function(){this.isCurrentlyMounted=!1,this.unsubscribeFromOffsetChange(),this.unsubscribeFromStateChange()}},{key:"handleChange",value:function(){if(this.isCurrentlyMounted){var e=this.getCurrentState();(0,f.default)(e,this.state)||this.setState(e)}}},{key:"getCurrentState",value:function(){var t=this.manager.getMonitor();return e(t,this.props)}},{key:"render",value:function(){var e=this;return s.default.createElement(n,r({},this.props,this.state,{ref:function(t){e.child=t}}))}}]),a}(a.Component),u.DecoratedComponent=n,u.displayName="DragLayer("+_+")",u.contextTypes={dragDropManager:l.default.object.isRequired},h);return(0,c.default)(w,n)}};var a=n(0),s=v(a),l=v(n(1)),c=v(n(31)),u=v(n(16)),d=v(n(13)),f=v(n(59)),p=v(n(88)),h=v(n(41));function v(e){return e&&e.__esModule?e:{default:e}}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function y(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var f=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};i.default.apply(void 0,["DragSource","type, spec, collect[, options]"].concat(Array.prototype.slice.call(arguments)));var p=e;"function"!=typeof e&&((0,r.default)((0,d.default)(e),'Expected "type" provided as the first argument to DragSource to be a string, or a function that returns a string given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',e),p=function(){return e}),(0,r.default)((0,o.default)(t),'Expected "spec" provided as the second argument to DragSource to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',t);var h=(0,l.default)(t);return(0,r.default)("function"==typeof n,'Expected "collect" provided as the third argument to DragSource to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',n),(0,r.default)((0,o.default)(f),'Expected "options" provided as the fourth argument to DragSource to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',n),function(e){return(0,a.default)({connectBackend:function(e,t){return e.connectDragSource(t)},containerDisplayName:"DragSource",createHandler:h,registerHandler:s.default,createMonitor:c.default,createConnector:u.default,DecoratedComponent:e,getType:p,collect:n,options:f})}};var r=f(n(13)),o=f(n(16)),i=f(n(41)),a=f(n(89)),s=f(n(188)),l=f(n(189)),c=f(n(190)),u=f(n(191)),d=f(n(92));function f(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";t.__esModule=!0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){},i=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.isDisposed=!1,this.action=t||o}return r(e,null,[{key:"empty",value:{dispose:o},enumerable:!0}]),e.prototype.dispose=function(){this.isDisposed||(this.action.call(null),this.isDisposed=!0)},e}();t.default=i,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var o,i=(o=n(60))&&o.__esModule?o:{default:o},a=function(){function e(){for(var t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];r(this,e),Array.isArray(n[0])&&1===n.length&&(n=n[0]);for(var a=0;a<n.length;a++)if(!i.default(n[a]))throw new Error("Expected a disposable");this.disposables=n,this.isDisposed=!1}return e.prototype.add=function(e){this.isDisposed?e.dispose():this.disposables.push(e)},e.prototype.remove=function(e){if(this.isDisposed)return!1;var t=this.disposables.indexOf(e);return-1!==t&&(this.disposables.splice(t,1),e.dispose(),!0)},e.prototype.dispose=function(){if(!this.isDisposed){for(var e=this.disposables.length,t=new Array(e),n=0;n<e;n++)t[n]=this.disposables[n];for(this.isDisposed=!0,this.disposables=[],this.length=0,n=0;n<e;n++)t[n].dispose()}},e}();t.default=a,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r,o=(r=n(60))&&r.__esModule?r:{default:r},i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.isDisposed=!1,this.current=null}return e.prototype.getDisposable=function(){return this.current},e.prototype.setDisposable=function(){var e=arguments.length<=0||void 0===arguments[0]?null:arguments[0];if(null!=e&&!o.default(e))throw new Error("Expected either an empty value or a valid disposable");var t=this.isDisposed,n=void 0;t||(n=this.current,this.current=e),n&&n.dispose(),t&&e&&e.dispose()},e.prototype.dispose=function(){if(!this.isDisposed){this.isDisposed=!0;var e=this.current;this.current=null,e&&e.dispose()}},e}();t.default=i,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=n.getRegistry(),o=r.addSource(e,t);return{handlerId:o,unregister:function(){r.removeSource(o)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){Object.keys(e).forEach((function(t){(0,o.default)(a.indexOf(t)>-1,'Expected the drag source specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',a.join(", "),t),(0,o.default)("function"==typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html",t,t,e[t])})),s.forEach((function(t){(0,o.default)("function"==typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html",t,t,e[t])}));var t=function(){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.monitor=e,this.props=null,this.component=null}return r(t,[{key:"receiveProps",value:function(e){this.props=e}},{key:"receiveComponent",value:function(e){this.component=e}},{key:"canDrag",value:function(){return!e.canDrag||e.canDrag(this.props,this.monitor)}},{key:"isDragging",value:function(t,n){return e.isDragging?e.isDragging(this.props,this.monitor):n===t.getSourceId()}},{key:"beginDrag",value:function(){return e.beginDrag(this.props,this.monitor,this.component)}},{key:"endDrag",value:function(){e.endDrag&&e.endDrag(this.props,this.monitor,this.component)}}]),t}();return function(e){return new t(e)}};var o=i(n(13));function i(e){return e&&e.__esModule?e:{default:e}}i(n(16));var a=["canDrag","beginDrag","isDragging","endDrag"],s=["beginDrag"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){return new l(e)};var o,i=(o=n(13))&&o.__esModule?o:{default:o},a=!1,s=!1,l=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.internalMonitor=t.getMonitor()}return r(e,[{key:"receiveHandlerId",value:function(e){this.sourceId=e}},{key:"canDrag",value:function(){(0,i.default)(!a,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source-monitor.html");try{return a=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{a=!1}}},{key:"isDragging",value:function(){(0,i.default)(!s,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source-monitor.html");try{return s=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{s=!1}}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=void 0,n=void 0,i=void 0,a=void 0,s=void 0,l=void 0,c=void 0;function u(){a&&(a(),a=null),t&&n&&(a=e.connectDragSource(t,n,i))}function d(){c&&(c(),c=null),t&&s&&(c=e.connectDragPreview(t,s,l))}return{receiveHandlerId:function(e){e!==t&&(t=e,u(),d())},hooks:(0,r.default)({dragSource:function(e,t){e===n&&(0,o.default)(t,i)||(n=e,i=t,u())},dragPreview:function(e,t){e===s&&(0,o.default)(t,l)||(s=e,l=t,d())}})}};var r=i(n(90)),o=i(n(91));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e.ref;return(0,o.default)("string"!=typeof n,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute"),n?(0,i.cloneElement)(e,{ref:function(e){t(e),n&&n(e)}}):(0,i.cloneElement)(e,{ref:t})};var r,o=(r=n(13))&&r.__esModule?r:{default:r},i=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var f=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};i.default.apply(void 0,["DropTarget","type, spec, collect[, options]"].concat(Array.prototype.slice.call(arguments)));var p=e;"function"!=typeof e&&((0,r.default)((0,d.default)(e,!0),'Expected "type" provided as the first argument to DropTarget to be a string, an array of strings, or a function that returns either given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',e),p=function(){return e}),(0,r.default)((0,o.default)(t),'Expected "spec" provided as the second argument to DropTarget to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',t);var h=(0,l.default)(t);return(0,r.default)("function"==typeof n,'Expected "collect" provided as the third argument to DropTarget to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',n),(0,r.default)((0,o.default)(f),'Expected "options" provided as the fourth argument to DropTarget to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',n),function(e){return(0,a.default)({connectBackend:function(e,t){return e.connectDropTarget(t)},containerDisplayName:"DropTarget",createHandler:h,registerHandler:s.default,createMonitor:c.default,createConnector:u.default,DecoratedComponent:e,getType:p,collect:n,options:f})}};var r=f(n(13)),o=f(n(16)),i=f(n(41)),a=f(n(89)),s=f(n(194)),l=f(n(195)),c=f(n(196)),u=f(n(197)),d=f(n(92));function f(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=n.getRegistry(),o=r.addTarget(e,t);return{handlerId:o,unregister:function(){r.removeTarget(o)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){Object.keys(e).forEach((function(t){(0,o.default)(a.indexOf(t)>-1,'Expected the drop target specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',a.join(", "),t),(0,o.default)("function"==typeof e[t],"Expected %s in the drop target specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html",t,t,e[t])}));var t=function(){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.monitor=e,this.props=null,this.component=null}return r(t,[{key:"receiveProps",value:function(e){this.props=e}},{key:"receiveMonitor",value:function(e){this.monitor=e}},{key:"receiveComponent",value:function(e){this.component=e}},{key:"canDrop",value:function(){return!e.canDrop||e.canDrop(this.props,this.monitor)}},{key:"hover",value:function(){e.hover&&e.hover(this.props,this.monitor,this.component)}},{key:"drop",value:function(){if(e.drop)return e.drop(this.props,this.monitor,this.component)}}]),t}();return function(e){return new t(e)}};var o=i(n(13));function i(e){return e&&e.__esModule?e:{default:e}}i(n(16));var a=["canDrop","hover","drop"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){return new s(e)};var o,i=(o=n(13))&&o.__esModule?o:{default:o},a=!1,s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.internalMonitor=t.getMonitor()}return r(e,[{key:"receiveHandlerId",value:function(e){this.targetId=e}},{key:"canDrop",value:function(){(0,i.default)(!a,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target-monitor.html");try{return a=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{a=!1}}},{key:"isOver",value:function(e){return this.internalMonitor.isOverTarget(this.targetId,e)}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=void 0,n=void 0,i=void 0,a=void 0;function s(){a&&(a(),a=null),t&&n&&(a=e.connectDropTarget(t,n,i))}return{receiveHandlerId:function(e){e!==t&&(t=e,s())},hooks:(0,r.default)({dropTarget:function(e,t){e===n&&(0,o.default)(t,i)||(n=e,i=t,s())}})}};var r=i(n(90)),o=i(n(91));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=d(n(101)),i=d(n(211)),a=d(n(212)),s=n(94),l=n(213),c=n(215),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(61));function d(e){return e&&e.__esModule?e:{default:e}}var f=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.registry=t.getRegistry(),this.context=t.getContext(),this.sourcePreviewNodes={},this.sourcePreviewNodeOptions={},this.sourceNodes={},this.sourceNodeOptions={},this.enterLeaveCounter=new a.default,this.dragStartSourceIds=[],this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.currentDragSourceNodeOffset=null,this.currentDragSourceNodeOffsetChanged=!1,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.getSourceClientOffset=this.getSourceClientOffset.bind(this),this.handleTopDragStart=this.handleTopDragStart.bind(this),this.handleTopDragStartCapture=this.handleTopDragStartCapture.bind(this),this.handleTopDragEndCapture=this.handleTopDragEndCapture.bind(this),this.handleTopDragEnter=this.handleTopDragEnter.bind(this),this.handleTopDragEnterCapture=this.handleTopDragEnterCapture.bind(this),this.handleTopDragLeaveCapture=this.handleTopDragLeaveCapture.bind(this),this.handleTopDragOver=this.handleTopDragOver.bind(this),this.handleTopDragOverCapture=this.handleTopDragOverCapture.bind(this),this.handleTopDrop=this.handleTopDrop.bind(this),this.handleTopDropCapture=this.handleTopDropCapture.bind(this),this.handleSelectStart=this.handleSelectStart.bind(this),this.endDragIfSourceWasRemovedFromDOM=this.endDragIfSourceWasRemovedFromDOM.bind(this),this.endDragNativeItem=this.endDragNativeItem.bind(this),this.asyncEndDragNativeItem=this.asyncEndDragNativeItem.bind(this),this.isNodeInDocument=this.isNodeInDocument.bind(this)}return r(e,[{key:"setup",value:function(){if(void 0!==this.window){if(this.window.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");this.window.__isReactDndBackendSetUp=!0,this.addEventListeners(this.window)}}},{key:"teardown",value:function(){void 0!==this.window&&(this.window.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.window),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId&&this.window.cancelAnimationFrame(this.asyncEndDragFrameId))}},{key:"addEventListeners",value:function(e){e.addEventListener&&(e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0))}},{key:"removeEventListeners",value:function(e){e.removeEventListener&&(e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0))}},{key:"connectDragPreview",value:function(e,t,n){var r=this;return this.sourcePreviewNodeOptions[e]=n,this.sourcePreviewNodes[e]=t,function(){delete r.sourcePreviewNodes[e],delete r.sourcePreviewNodeOptions[e]}}},{key:"connectDragSource",value:function(e,t,n){var r=this;this.sourceNodes[e]=t,this.sourceNodeOptions[e]=n;var o=function(t){return r.handleDragStart(t,e)},i=function(t){return r.handleSelectStart(t,e)};return t.setAttribute("draggable",!0),t.addEventListener("dragstart",o),t.addEventListener("selectstart",i),function(){delete r.sourceNodes[e],delete r.sourceNodeOptions[e],t.removeEventListener("dragstart",o),t.removeEventListener("selectstart",i),t.setAttribute("draggable",!1)}}},{key:"connectDropTarget",value:function(e,t){var n=this,r=function(t){return n.handleDragEnter(t,e)},o=function(t){return n.handleDragOver(t,e)},i=function(t){return n.handleDrop(t,e)};return t.addEventListener("dragenter",r),t.addEventListener("dragover",o),t.addEventListener("drop",i),function(){t.removeEventListener("dragenter",r),t.removeEventListener("dragover",o),t.removeEventListener("drop",i)}}},{key:"getCurrentSourceNodeOptions",value:function(){var e=this.monitor.getSourceId(),t=this.sourceNodeOptions[e];return(0,o.default)(t||{},{dropEffect:this.altKeyPressed?"copy":"move"})}},{key:"getCurrentDropEffect",value:function(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}},{key:"getCurrentSourcePreviewNodeOptions",value:function(){var e=this.monitor.getSourceId(),t=this.sourcePreviewNodeOptions[e];return(0,o.default)(t||{},{anchorX:.5,anchorY:.5,captureDraggingState:!1})}},{key:"getSourceClientOffset",value:function(e){return(0,l.getNodeClientOffset)(this.sourceNodes[e])}},{key:"isDraggingNativeItem",value:function(){var e=this.monitor.getItemType();return Object.keys(u).some((function(t){return u[t]===e}))}},{key:"beginDragNativeItem",value:function(e){this.clearCurrentDragSourceNode();var t=(0,c.createNativeDragSource)(e);this.currentNativeSource=new t,this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}},{key:"asyncEndDragNativeItem",value:function(){this.asyncEndDragFrameId=this.window.requestAnimationFrame(this.endDragNativeItem)}},{key:"endDragNativeItem",value:function(){this.isDraggingNativeItem()&&(this.actions.endDrag(),this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)}},{key:"isNodeInDocument",value:function(e){return!(!document.body.contains(e)&&!this.window)&&this.window.document.body.contains(e)}},{key:"endDragIfSourceWasRemovedFromDOM",value:function(){var e=this.currentDragSourceNode;this.isNodeInDocument(e)||this.clearCurrentDragSourceNode()&&this.actions.endDrag()}},{key:"setCurrentDragSourceNode",value:function(e){var t=this;this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e,this.currentDragSourceNodeOffset=(0,l.getNodeClientOffset)(e),this.currentDragSourceNodeOffsetChanged=!1,this.mouseMoveTimeoutTimer=setTimeout((function(){return t.mouseMoveTimeoutId=null,t.window.addEventListener("mousemove",t.endDragIfSourceWasRemovedFromDOM,!0)}),1e3)}},{key:"clearCurrentDragSourceNode",value:function(){return!!this.currentDragSourceNode&&(this.currentDragSourceNode=null,this.currentDragSourceNodeOffset=null,this.currentDragSourceNodeOffsetChanged=!1,this.window.clearTimeout(this.mouseMoveTimeoutTimer),this.window.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0),this.mouseMoveTimeoutTimer=null,!0)}},{key:"checkIfCurrentDragSourceRectChanged",value:function(){var e=this.currentDragSourceNode;return!!e&&(!!this.currentDragSourceNodeOffsetChanged||(this.currentDragSourceNodeOffsetChanged=!(0,i.default)((0,l.getNodeClientOffset)(e),this.currentDragSourceNodeOffset),this.currentDragSourceNodeOffsetChanged))}},{key:"handleTopDragStartCapture",value:function(){this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]}},{key:"handleDragStart",value:function(e,t){this.dragStartSourceIds.unshift(t)}},{key:"handleTopDragStart",value:function(e){var t=this,n=this.dragStartSourceIds;this.dragStartSourceIds=null;var r=(0,l.getEventClientOffset)(e);this.monitor.isDragging()&&this.actions.endDrag(),this.actions.beginDrag(n,{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:r});var o=e.dataTransfer,i=(0,c.matchNativeItemType)(o);if(this.monitor.isDragging()){if("function"==typeof o.setDragImage){var a=this.monitor.getSourceId(),s=this.sourceNodes[a],u=this.sourcePreviewNodes[a]||s,d=this.getCurrentSourcePreviewNodeOptions(),f={anchorX:d.anchorX,anchorY:d.anchorY},p={offsetX:d.offsetX,offsetY:d.offsetY},h=(0,l.getDragPreviewOffset)(s,u,r,f,p);o.setDragImage(u,h.x,h.y)}try{o.setData("application/json",{})}catch(e){}this.setCurrentDragSourceNode(e.target),this.getCurrentSourcePreviewNodeOptions().captureDraggingState?this.actions.publishDragSource():setTimeout((function(){return t.actions.publishDragSource()}))}else if(i)this.beginDragNativeItem(i);else{if(!(o.types||e.target.hasAttribute&&e.target.hasAttribute("draggable")))return;e.preventDefault()}}},{key:"handleTopDragEndCapture",value:function(){this.clearCurrentDragSourceNode()&&this.actions.endDrag()}},{key:"handleTopDragEnterCapture",value:function(e){if(this.dragEnterTargetIds=[],this.enterLeaveCounter.enter(e.target)&&!this.monitor.isDragging()){var t=e.dataTransfer,n=(0,c.matchNativeItemType)(t);n&&this.beginDragNativeItem(n)}}},{key:"handleDragEnter",value:function(e,t){this.dragEnterTargetIds.unshift(t)}},{key:"handleTopDragEnter",value:function(e){var t=this,n=this.dragEnterTargetIds;this.dragEnterTargetIds=[],this.monitor.isDragging()&&(this.altKeyPressed=e.altKey,(0,s.isFirefox)()||this.actions.hover(n,{clientOffset:(0,l.getEventClientOffset)(e)}),n.some((function(e){return t.monitor.canDropOnTarget(e)}))&&(e.preventDefault(),e.dataTransfer.dropEffect=this.getCurrentDropEffect()))}},{key:"handleTopDragOverCapture",value:function(){this.dragOverTargetIds=[]}},{key:"handleDragOver",value:function(e,t){this.dragOverTargetIds.unshift(t)}},{key:"handleTopDragOver",value:function(e){var t=this,n=this.dragOverTargetIds;if(this.dragOverTargetIds=[],!this.monitor.isDragging())return e.preventDefault(),void(e.dataTransfer.dropEffect="none");this.altKeyPressed=e.altKey,this.actions.hover(n,{clientOffset:(0,l.getEventClientOffset)(e)}),n.some((function(e){return t.monitor.canDropOnTarget(e)}))?(e.preventDefault(),e.dataTransfer.dropEffect=this.getCurrentDropEffect()):this.isDraggingNativeItem()?(e.preventDefault(),e.dataTransfer.dropEffect="none"):this.checkIfCurrentDragSourceRectChanged()&&(e.preventDefault(),e.dataTransfer.dropEffect="move")}},{key:"handleTopDragLeaveCapture",value:function(e){this.isDraggingNativeItem()&&e.preventDefault(),this.enterLeaveCounter.leave(e.target)&&this.isDraggingNativeItem()&&this.endDragNativeItem()}},{key:"handleTopDropCapture",value:function(e){this.dropTargetIds=[],e.preventDefault(),this.isDraggingNativeItem()&&this.currentNativeSource.mutateItemByReadingDataTransfer(e.dataTransfer),this.enterLeaveCounter.reset()}},{key:"handleDrop",value:function(e,t){this.dropTargetIds.unshift(t)}},{key:"handleTopDrop",value:function(e){var t=this.dropTargetIds;this.dropTargetIds=[],this.actions.hover(t,{clientOffset:(0,l.getEventClientOffset)(e)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.endDragIfSourceWasRemovedFromDOM()}},{key:"handleSelectStart",value:function(e){var t=e.target;"function"==typeof t.dragDrop&&("INPUT"===t.tagName||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable||(e.preventDefault(),t.dragDrop()))}},{key:"window",get:function(){return this.context&&this.context.window?this.context.window:"undefined"!=typeof window?window:void 0}}]),e}();t.default=f},function(e,t,n){var r=n(52),o=n(58),i=n(93),a=n(29);e.exports=function(e,t,n){if(!a(n))return!1;var s=typeof t;return!!("number"==s?o(n)&&i(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},function(e,t,n){var r=n(201),o=n(208),i=n(58);e.exports=function(e){return i(e)?r(e,!0):o(e)}},function(e,t,n){var r=n(202),o=n(84),i=n(20),a=n(203),s=n(93),l=n(205),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&o(e),d=!n&&!u&&a(e),f=!n&&!u&&!d&&l(e),p=n||u||d||f,h=p?r(e.length,String):[],v=h.length;for(var g in e)!t&&!c.call(e,g)||p&&("length"==g||d&&("offset"==g||"parent"==g)||f&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,v))||h.push(g);return h}},function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},function(e,t,n){(function(e){var r=n(26),o=n(204),i=t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;e.exports=l}).call(this,n(66)(e))},function(e,t){e.exports=function(){return!1}},function(e,t,n){var r=n(206),o=n(56),i=n(207),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},function(e,t,n){var r=n(33),o=n(81),i=n(28),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},function(e,t,n){(function(e){var r=n(74),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{return i&&i.require&&i.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s}).call(this,n(66)(e))},function(e,t,n){var r=n(29),o=n(209),i=n(210),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&n.push(s);return n}},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e===t)return!0;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty,i=0;i<n.length;i+=1){if(!o.call(t,n[i])||e[n[i]]!==t[n[i]])return!1;if(e[n[i]]!==t[n[i]])return!1}return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=a(n(102)),i=a(n(65));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.entered=[]}return r(e,[{key:"enter",value:function(e){var t=this.entered.length;return this.entered=(0,o.default)(this.entered.filter((function(t){return document.documentElement.contains(t)&&(!t.contains||t.contains(e))})),[e]),0===t&&this.entered.length>0}},{key:"leave",value:function(e){var t=this.entered.length;return this.entered=(0,i.default)(this.entered.filter((function(e){return document.documentElement.contains(e)})),e),t>0&&0===this.entered.length}},{key:"reset",value:function(){this.entered=[]}}]),e}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNodeClientOffset=a,t.getEventClientOffset=function(e){return{x:e.clientX,y:e.clientY}},t.getDragPreviewOffset=function(e,t,n,r,s){var l,c,u="IMG"===(l=t).nodeName&&((0,o.isFirefox)()||!document.documentElement.contains(l)),d=a(u?e:t),f={x:n.x-d.x,y:n.y-d.y},p=e.offsetWidth,h=e.offsetHeight,v=r.anchorX,g=r.anchorY,m=function(e,t,n,r){var i=e?t.width:n,a=e?t.height:r;return(0,o.isSafari)()&&e&&(a/=window.devicePixelRatio,i/=window.devicePixelRatio),{dragPreviewWidth:i,dragPreviewHeight:a}}(u,t,p,h),y=m.dragPreviewWidth,b=m.dragPreviewHeight,_=s.offsetX,w=s.offsetY,S=0===w||w;return{x:0===_||_?_:new i.default([0,.5,1],[f.x,f.x/p*y,f.x+y-p]).interpolate(v),y:S?w:(c=new i.default([0,.5,1],[f.y,f.y/h*b,f.y+b-h]).interpolate(g),(0,o.isSafari)()&&u&&(c+=(window.devicePixelRatio-1)*b),c)}};var r,o=n(94),i=(r=n(214))&&r.__esModule?r:{default:r};function a(e){var t=1===e.nodeType?e:e.parentElement;if(!t)return null;var n=t.getBoundingClientRect(),r=n.top;return{x:n.left,y:r}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);for(var r=t.length,o=[],i=0;i<r;i++)o.push(i);o.sort((function(e,n){return t[e]<t[n]?-1:1}));for(var a=[],s=[],l=[],c=void 0,u=void 0,d=0;d<r-1;d++)c=t[d+1]-t[d],u=n[d+1]-n[d],s.push(c),a.push(u),l.push(u/c);for(var f=[l[0]],p=0;p<s.length-1;p++){var h=l[p],v=l[p+1];if(h*v<=0)f.push(0);else{c=s[p];var g=s[p+1],m=c+g;f.push(3*m/((m+g)/h+(m+c)/v))}}f.push(l[l.length-1]);for(var y=[],b=[],_=void 0,w=0;w<f.length-1;w++){_=l[w];var S=f[w],C=1/s[w],O=S+f[w+1]-_-_;y.push((_-S-O)*C),b.push(O*C*C)}this.xs=t,this.ys=n,this.c1s=f,this.c2s=y,this.c3s=b}return r(e,[{key:"interpolate",value:function(e){var t=this.xs,n=this.ys,r=this.c1s,o=this.c2s,i=this.c3s,a=t.length-1;if(e===t[a])return n[a];for(var s=0,l=i.length-1,c=void 0;s<=l;){var u=t[c=Math.floor(.5*(s+l))];if(u<e)s=c+1;else{if(!(u>e))return n[c];l=c-1}}var d=e-t[a=Math.max(0,l)],f=d*d;return n[a]+r[a]*d+o[a]*f+i[a]*d*f}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.createNativeDragSource=function(e){var t=l[e],n=t.exposeProperty,r=t.matchesTypes,i=t.getData;return function(){function e(){var t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.item=(t={},(r={})[n]=r[n]||{},r[n].get=function(){return console.warn("Browser doesn't allow reading \""+n+'" until the drop event.'),null},function(e,t){for(var n in t){var r=t[n];r.configurable=r.enumerable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,n,r)}}(t,r),t)}return o(e,[{key:"mutateItemByReadingDataTransfer",value:function(e){delete this.item[n],this.item[n]=i(e,r)}},{key:"canDrag",value:function(){return!0}},{key:"beginDrag",value:function(){return this.item}},{key:"isDragging",value:function(e,t){return t===e.getSourceId()}},{key:"endDrag",value:function(){}}]),e}()},t.matchNativeItemType=function(e){var t=Array.prototype.slice.call(e.types||[]);return Object.keys(l).filter((function(e){return l[e].matchesTypes.some((function(e){return t.indexOf(e)>-1}))}))[0]||null};var i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(61));function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t,n){var r=t.reduce((function(t,n){return t||e.getData(n)}),null);return null!=r?r:n}var l=(a(r={},i.FILE,{exposeProperty:"files",matchesTypes:["Files"],getData:function(e){return Array.prototype.slice.call(e.files)}}),a(r,i.URL,{exposeProperty:"urls",matchesTypes:["Url","text/uri-list"],getData:function(e,t){return s(e,t,"").split("\n")}}),a(r,i.TEXT,{exposeProperty:"text",matchesTypes:["Text","text/plain"],getData:function(e,t){return s(e,t,"")}}),r)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return r||((r=new Image).src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),r};var r=void 0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e===t)return!0;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty,i=0;i<n.length;i+=1){if(!o.call(t,n[i])||e[n[i]]!==t[n[i]])return!1;if(e[n[i]]!==t[n[i]])return!1}return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FILE="__NATIVE_FILE__",t.URL="__NATIVE_URL__",t.TEXT="__NATIVE_TEXT__"},function(e,t,n){var r=n(69);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(223)("keys"),o=n(108);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(45),o=n(44),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(107)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(220);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports={}},function(e,t,n){var r=n(95),o=n(321),i=n(224),a=n(222)("IE_PROTO"),s=function(){},l=function(){var e,t=n(243)("iframe"),r=i.length;for(t.style.display="none",n(322).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[i[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(62).f,o=n(63),i=n(71)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){t.f=n(71)},function(e,t,n){var r=n(44),o=n(45),i=n(107),a=n(230),s=n(62).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(232);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unpackBackendForEs5Users=t.createChildContext=t.CHILD_CONTEXT_TYPES=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e){f.default.apply(void 0,["DragDropContext","backend"].concat(Array.prototype.slice.call(arguments)));var t=b(e),n=y(t);return function(e){var t,i,l=e.displayName||e.name||"Component",c=(i=t=function(t){function i(){return h(this,i),v(this,(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments))}return g(i,t),o(i,[{key:"getDecoratedComponentInstance",value:function(){return(0,u.default)(this.child,"In order to access an instance of the decorated component it can not be a stateless component."),this.child}},{key:"getManager",value:function(){return n.dragDropManager}},{key:"getChildContext",value:function(){return n}},{key:"render",value:function(){var t=this;return s.default.createElement(e,r({},this.props,{ref:function(e){t.child=e}}))}}]),i}(a.Component),t.DecoratedComponent=e,t.displayName="DragDropContext("+l+")",t.childContextTypes=m,i);return(0,d.default)(c,e)}};var a=n(0),s=p(a),l=p(n(1)),c=n(99),u=p(n(13)),d=p(n(31)),f=p(n(104));function p(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function g(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var m=t.CHILD_CONTEXT_TYPES={dragDropManager:l.default.object.isRequired},y=t.createChildContext=function(e,t){return{dragDropManager:new c.DragDropManager(e,t)}},b=t.unpackBackendForEs5Users=function(e){var t=e;return"object"===(void 0===t?"undefined":i(t))&&"function"==typeof t.default&&(t=t.default),(0,u.default)("function"==typeof t,"Expected the backend to be a function or an ES6 module exporting a default function. Read more: http://react-dnd.github.io/react-dnd/docs-drag-drop-context.html"),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e,t){if(e===t)return!0;if("object"!==(void 0===e?"undefined":r(e))||null===e||"object"!==(void 0===t?"undefined":r(t))||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var i=Object.prototype.hasOwnProperty,a=0;a<n.length;a+=1){if(!i.call(t,n[a]))return!1;var s=e[n[a]],l=t[n[a]];if(s!==l||"object"===(void 0===s?"undefined":r(s))||"object"===(void 0===l?"undefined":r(l)))return!1}return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){var t,n,h=e.DecoratedComponent,g=e.createHandler,m=e.createMonitor,y=e.createConnector,b=e.registerHandler,_=e.containerDisplayName,w=e.getType,S=e.collect,C=e.options.arePropsEqual,O=void 0===C?p.default:C,x=h.displayName||h.name||"Component",T=(n=t=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.handleChange=r.handleChange.bind(r),r.handleChildRef=r.handleChildRef.bind(r),(0,u.default)("object"===o(r.context.dragDropManager),"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context",x,x),r.manager=r.context.dragDropManager,r.handlerMonitor=m(r.manager),r.handlerConnector=y(r.manager.getBackend()),r.handler=g(r.handlerMonitor),r.disposable=new c.SerialDisposable,r.receiveProps(e),r.state=r.getCurrentState(),r.dispose(),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"getHandlerId",value:function(){return this.handlerId}},{key:"getDecoratedComponentInstance",value:function(){return this.decoratedComponentInstance}},{key:"shouldComponentUpdate",value:function(e,t){return!O(e,this.props)||!(0,f.default)(t,this.state)}}]),i(t,[{key:"componentDidMount",value:function(){this.isCurrentlyMounted=!0,this.disposable=new c.SerialDisposable,this.currentType=null,this.receiveProps(this.props),this.handleChange()}},{key:"componentWillReceiveProps",value:function(e){O(e,this.props)||(this.receiveProps(e),this.handleChange())}},{key:"componentWillUnmount",value:function(){this.dispose(),this.isCurrentlyMounted=!1}},{key:"receiveProps",value:function(e){this.handler.receiveProps(e),this.receiveType(w(e))}},{key:"receiveType",value:function(e){if(e!==this.currentType){this.currentType=e;var t=b(e,this.handler,this.manager),n=t.handlerId,r=t.unregister;this.handlerId=n,this.handlerMonitor.receiveHandlerId(n),this.handlerConnector.receiveHandlerId(n);var o=this.manager.getMonitor().subscribeToStateChange(this.handleChange,{handlerIds:[n]});this.disposable.setDisposable(new c.CompositeDisposable(new c.Disposable(o),new c.Disposable(r)))}}},{key:"handleChange",value:function(){if(this.isCurrentlyMounted){var e=this.getCurrentState();(0,f.default)(e,this.state)||this.setState(e)}}},{key:"dispose",value:function(){this.disposable.dispose(),this.handlerConnector.receiveHandlerId(null)}},{key:"handleChildRef",value:function(e){this.decoratedComponentInstance=e,this.handler.receiveComponent(e)}},{key:"getCurrentState",value:function(){return S(this.handlerConnector.hooks,this.handlerMonitor)}},{key:"render",value:function(){return s.default.createElement(h,r({},this.props,this.state,{ref:v(h)?this.handleChildRef:null}))}}]),t}(a.Component),t.DecoratedComponent=h,t.displayName=_+"("+x+")",t.contextTypes={dragDropManager:l.default.object.isRequired},n);return(0,d.default)(T,h)};var a=n(0),s=h(a),l=h(n(1)),c=n(100),u=(h(n(16)),h(n(13))),d=h(n(31)),f=h(n(217)),p=h(n(235));function h(e){return e&&e.__esModule?e:{default:e}}var v=function(e){return Boolean(e&&e.prototype&&"function"==typeof e.prototype.render)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t={};return Object.keys(e).forEach((function(n){var r,s=(r=e[n],function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if((0,o.isValidElement)(e)){var n=e;a(n);var s=t?function(e){return r(e,t)}:r;return(0,i.default)(n,s)}var l=e;r(l,t)});t[n]=function(){return s}})),t};var r,o=n(0),i=(r=n(289))&&r.__esModule?r:{default:r};function a(e){if("string"!=typeof e.type){var t=e.type.displayName||e.type.name||"the component";throw new Error("Only native element nodes can now be passed to React DnD connectors.You can either wrap "+t+" into a <div>, or turn it into a drag source or a drop target itself.")}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return t===e||null!==t&&null!==e&&(0,o.default)(t,e)};var r,o=(r=n(217))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function e(t,n){return"string"==typeof t||"symbol"===(void 0===t?"undefined":r(t))||n&&(0,i.default)(t)&&t.every((function(t){return e(t,!1)}))};var o,i=(o=n(20))&&o.__esModule?o:{default:o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSafari=t.isFirefox=void 0;var r,o=(r=n(103))&&r.__esModule?r:{default:r};t.isFirefox=(0,o.default)((function(){return/firefox/i.test(navigator.userAgent)})),t.isSafari=(0,o.default)((function(){return Boolean(window.safari)}))},function(e,t,n){var r=n(306);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){e.exports=!n(46)&&!n(96)((function(){return 7!=Object.defineProperty(n(243)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(69),o=n(44).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(63),o=n(70),i=n(308)(!1),a=n(222)("IE_PROTO");e.exports=function(e,t){var n,s=o(e),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~i(c,n)||c.push(n));return c}},function(e,t,n){var r=n(246);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,l=a(e),c=1;c<arguments.length;c++){for(var u in n=Object(arguments[c]))o.call(n,u)&&(l[u]=n[u]);if(r){s=r(n);for(var d=0;d<s.length;d++)i.call(n,s[d])&&(l[s[d]]=n[s[d]])}}return l}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.storeShape=void 0;var r,o=(r=n(1))&&r.__esModule?r:{default:r};t.storeShape=o.default.shape({subscribe:o.default.func.isRequired,setState:o.default.func.isRequired,getState:o.default.func.isRequired})},function(e,t,n){"use strict";var r=n(107),o=n(67),i=n(250),a=n(68),s=n(227),l=n(320),c=n(229),u=n(323),d=n(71)("iterator"),f=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,h,v,g,m){l(n,t,h);var y,b,_,w=function(e){if(!f&&e in x)return x[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},S=t+" Iterator",C="values"==v,O=!1,x=e.prototype,T=x[d]||x["@@iterator"]||v&&x[v],k=T||w(v),D=v?C?w("entries"):k:void 0,E="Array"==t&&x.entries||T;if(E&&(_=u(E.call(new e)))!==Object.prototype&&_.next&&(c(_,S,!0),r||"function"==typeof _[d]||a(_,d,p)),C&&T&&"values"!==T.name&&(O=!0,k=function(){return T.call(this)}),r&&!m||!f&&!O&&x[d]||a(x,d,k),s[t]=k,s[S]=p,v)if(y={values:C?k:w("values"),keys:g?k:w("keys"),entries:D},m)for(b in y)b in x||i(x,b,y[b]);else o(o.P+o.F*(f||O),t,y);return y}},function(e,t,n){e.exports=n(68)},function(e,t,n){var r=n(244),o=n(224).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(109),o=n(105),i=n(70),a=n(219),s=n(63),l=n(242),c=Object.getOwnPropertyDescriptor;t.f=n(46)?c:function(e,t){if(e=i(e),t=a(t,!0),l)try{return c(e,t)}catch(e){}if(s(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){e.exports={default:n(347),__esModule:!0}},function(e,t){e.exports=function(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0;n<e.length;++n)if(e[n]===t)return n;return-1}},function(e,t){e.exports=function(e){if(null==e)throw new TypeError("Cannot destructure undefined")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(269),o=n(270),i=n(233),a=n(271);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){function i(t){var r=new o.default(t);n.call(e,r)}if(e.addEventListener){var a=(s=!1,"object"==typeof r?s=r.capture||!1:"boolean"==typeof r&&(s=r),e.addEventListener(t,i,r||!1),{v:{remove:function(){e.removeEventListener(t,i,s)}}});if("object"==typeof a)return a.v}else if(e.attachEvent)return e.attachEvent("on"+t,i),{remove:function(){e.detachEvent("on"+t,i)}};var s};var r,o=(r=n(345))&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r,o=(r=n(253))&&r.__esModule?r:{default:r};t.default=function(e,t,n){return t in e?(0,o.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){try{var r=n(254)}catch(e){r=n(254)}var o=/\s+/,i=Object.prototype.toString;function a(e){if(!e||!e.nodeType)throw new Error("A DOM element reference is required");this.el=e,this.list=e.classList}e.exports=function(e){return new a(e)},a.prototype.add=function(e){if(this.list)return this.list.add(e),this;var t=this.array();return~r(t,e)||t.push(e),this.el.className=t.join(" "),this},a.prototype.remove=function(e){if("[object RegExp]"==i.call(e))return this.removeMatching(e);if(this.list)return this.list.remove(e),this;var t=this.array(),n=r(t,e);return~n&&t.splice(n,1),this.el.className=t.join(" "),this},a.prototype.removeMatching=function(e){for(var t=this.array(),n=0;n<t.length;n++)e.test(t[n])&&this.remove(t[n]);return this},a.prototype.toggle=function(e,t){return this.list?(void 0!==t?t!==this.list.toggle(e,t)&&this.list.toggle(e):this.list.toggle(e),this):(void 0!==t?t?this.add(e):this.remove(e):this.has(e)?this.remove(e):this.add(e),this)},a.prototype.array=function(){var e=(this.el.getAttribute("class")||"").replace(/^\s+|\s+$/g,"").split(o);return""===e[0]&&e.shift(),e},a.prototype.has=a.prototype.contains=function(e){return this.list?this.list.contains(e):!!~r(this.array(),e)}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){"use strict";e.exports=n(349)},,,,function(e,t,n){var r=n(232);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],_n=!0,a=!1;try{for(n=n.call(e);!(_n=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);_n=!0);}catch(e){a=!0,o=e}finally{try{_n||null==n.return||n.return()}finally{if(a)throw o}}return i}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){(function(e,n){var r="[object Arguments]",o="[object Map]",i="[object Object]",a="[object Set]",s=/^\[object .+?Constructor\]$/,l=/^(?:0|[1-9]\d*)$/,c={};c["[object Float32Array]"]=c["[object Float64Array]"]=c["[object Int8Array]"]=c["[object Int16Array]"]=c["[object Int32Array]"]=c["[object Uint8Array]"]=c["[object Uint8ClampedArray]"]=c["[object Uint16Array]"]=c["[object Uint32Array]"]=!0,c[r]=c["[object Array]"]=c["[object ArrayBuffer]"]=c["[object Boolean]"]=c["[object DataView]"]=c["[object Date]"]=c["[object Error]"]=c["[object Function]"]=c[o]=c["[object Number]"]=c[i]=c["[object RegExp]"]=c[a]=c["[object String]"]=c["[object WeakMap]"]=!1;var u="object"==typeof e&&e&&e.Object===Object&&e,d="object"==typeof self&&self&&self.Object===Object&&self,f=u||d||Function("return this")(),p=t&&!t.nodeType&&t,h=p&&"object"==typeof n&&n&&!n.nodeType&&n,v=h&&h.exports===p,g=v&&u.process,m=function(){try{return g&&g.binding&&g.binding("util")}catch(e){}}(),y=m&&m.isTypedArray;function b(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function _(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function w(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var S,C,O,x=Array.prototype,T=Function.prototype,k=Object.prototype,D=f["__core-js_shared__"],E=T.toString,I=k.hasOwnProperty,P=(S=/[^.]+$/.exec(D&&D.keys&&D.keys.IE_PROTO||""))?"Symbol(src)_1."+S:"",M=k.toString,R=RegExp("^"+E.call(I).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),N=v?f.Buffer:void 0,j=f.Symbol,A=f.Uint8Array,L=k.propertyIsEnumerable,z=x.splice,F=j?j.toStringTag:void 0,H=Object.getOwnPropertySymbols,W=N?N.isBuffer:void 0,G=(C=Object.keys,O=Object,function(e){return C(O(e))}),U=he(f,"DataView"),B=he(f,"Map"),V=he(f,"Promise"),K=he(f,"Set"),q=he(f,"WeakMap"),Y=he(Object,"create"),X=ye(U),Z=ye(B),$=ye(V),J=ye(K),Q=ye(q),ee=j?j.prototype:void 0,te=ee?ee.valueOf:void 0;function ne(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function re(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function oe(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ie(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new oe;++t<n;)this.add(e[t])}function ae(e){var t=this.__data__=new re(e);this.size=t.size}function se(e,t){for(var n=e.length;n--;)if(be(e[n][0],t))return n;return-1}function le(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":F&&F in Object(e)?function(e){var t=I.call(e,F),n=e[F];try{e[F]=void 0;var r=!0}catch(e){}var o=M.call(e);return r&&(t?e[F]=n:delete e[F]),o}(e):function(e){return M.call(e)}(e)}function ce(e){return Te(e)&&le(e)==r}function ue(e,t,n,s,l){return e===t||(null==e||null==t||!Te(e)&&!Te(t)?e!=e&&t!=t:function(e,t,n,s,l,c){var u=we(e),d=we(t),f=u?"[object Array]":ge(e),p=d?"[object Array]":ge(t),h=(f=f==r?i:f)==i,v=(p=p==r?i:p)==i,g=f==p;if(g&&Se(e)){if(!Se(t))return!1;u=!0,h=!1}if(g&&!h)return c||(c=new ae),u||ke(e)?de(e,t,n,s,l,c):function(e,t,n,r,i,s,l){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!s(new A(e),new A(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return be(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case o:var c=_;case a:var u=1&r;if(c||(c=w),e.size!=t.size&&!u)return!1;var d=l.get(e);if(d)return d==t;r|=2,l.set(e,t);var f=de(c(e),c(t),r,i,s,l);return l.delete(e),f;case"[object Symbol]":if(te)return te.call(e)==te.call(t)}return!1}(e,t,f,n,s,l,c);if(!(1&n)){var m=h&&I.call(e,"__wrapped__"),y=v&&I.call(t,"__wrapped__");if(m||y){var b=m?e.value():e,S=y?t.value():t;return c||(c=new ae),l(b,S,n,s,c)}}return!!g&&(c||(c=new ae),function(e,t,n,r,o,i){var a=1&n,s=fe(e),l=s.length;if(l!=fe(t).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in t:I.call(t,u)))return!1}var d=i.get(e);if(d&&i.get(t))return d==t;var f=!0;i.set(e,t),i.set(t,e);for(var p=a;++c<l;){var h=e[u=s[c]],v=t[u];if(r)var g=a?r(v,h,u,t,e,i):r(h,v,u,e,t,i);if(!(void 0===g?h===v||o(h,v,n,r,i):g)){f=!1;break}p||(p="constructor"==u)}if(f&&!p){var m=e.constructor,y=t.constructor;m==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof m&&m instanceof m&&"function"==typeof y&&y instanceof y||(f=!1)}return i.delete(e),i.delete(t),f}(e,t,n,s,l,c))}(e,t,n,s,ue,l))}function de(e,t,n,r,o,i){var a=1&n,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=i.get(e);if(c&&i.get(t))return c==t;var u=-1,d=!0,f=2&n?new ie:void 0;for(i.set(e,t),i.set(t,e);++u<s;){var p=e[u],h=t[u];if(r)var v=a?r(h,p,u,t,e,i):r(p,h,u,e,t,i);if(void 0!==v){if(v)continue;d=!1;break}if(f){if(!b(t,(function(e,t){if(a=t,!f.has(a)&&(p===e||o(p,e,n,r,i)))return f.push(t);var a}))){d=!1;break}}else if(p!==h&&!o(p,h,n,r,i)){d=!1;break}}return i.delete(e),i.delete(t),d}function fe(e){return function(e,t,n){var r=t(e);return we(e)?r:function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}(r,n(e))}(e,De,ve)}function pe(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function he(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!xe(e)||function(e){return!!P&&P in e}(e))&&(Ce(e)?R:s).test(ye(e))}(n)?n:void 0}ne.prototype.clear=function(){this.__data__=Y?Y(null):{},this.size=0},ne.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ne.prototype.get=function(e){var t=this.__data__;if(Y){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return I.call(t,e)?t[e]:void 0},ne.prototype.has=function(e){var t=this.__data__;return Y?void 0!==t[e]:I.call(t,e)},ne.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Y&&void 0===t?"__lodash_hash_undefined__":t,this},re.prototype.clear=function(){this.__data__=[],this.size=0},re.prototype.delete=function(e){var t=this.__data__,n=se(t,e);return!(n<0||(n==t.length-1?t.pop():z.call(t,n,1),--this.size,0))},re.prototype.get=function(e){var t=this.__data__,n=se(t,e);return n<0?void 0:t[n][1]},re.prototype.has=function(e){return se(this.__data__,e)>-1},re.prototype.set=function(e,t){var n=this.__data__,r=se(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},oe.prototype.clear=function(){this.size=0,this.__data__={hash:new ne,map:new(B||re),string:new ne}},oe.prototype.delete=function(e){var t=pe(this,e).delete(e);return this.size-=t?1:0,t},oe.prototype.get=function(e){return pe(this,e).get(e)},oe.prototype.has=function(e){return pe(this,e).has(e)},oe.prototype.set=function(e,t){var n=pe(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},ie.prototype.add=ie.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},ie.prototype.has=function(e){return this.__data__.has(e)},ae.prototype.clear=function(){this.__data__=new re,this.size=0},ae.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},ae.prototype.get=function(e){return this.__data__.get(e)},ae.prototype.has=function(e){return this.__data__.has(e)},ae.prototype.set=function(e,t){var n=this.__data__;if(n instanceof re){var r=n.__data__;if(!B||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new oe(r)}return n.set(e,t),this.size=n.size,this};var ve=H?function(e){return null==e?[]:(e=Object(e),function(t,n){for(var r=-1,o=null==t?0:t.length,i=0,a=[];++r<o;){var s=t[r];l=s,L.call(e,l)&&(a[i++]=s)}var l;return a}(H(e)))}:function(){return[]},ge=le;function me(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||l.test(e))&&e>-1&&e%1==0&&e<t}function ye(e){if(null!=e){try{return E.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function be(e,t){return e===t||e!=e&&t!=t}(U&&"[object DataView]"!=ge(new U(new ArrayBuffer(1)))||B&&ge(new B)!=o||V&&"[object Promise]"!=ge(V.resolve())||K&&ge(new K)!=a||q&&"[object WeakMap]"!=ge(new q))&&(ge=function(e){var t=le(e),n=t==i?e.constructor:void 0,r=n?ye(n):"";if(r)switch(r){case X:return"[object DataView]";case Z:return o;case $:return"[object Promise]";case J:return a;case Q:return"[object WeakMap]"}return t});var _e=ce(function(){return arguments}())?ce:function(e){return Te(e)&&I.call(e,"callee")&&!L.call(e,"callee")},we=Array.isArray,Se=W||function(){return!1};function Ce(e){if(!xe(e))return!1;var t=le(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Oe(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function xe(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Te(e){return null!=e&&"object"==typeof e}var ke=y?function(e){return function(t){return e(t)}}(y):function(e){return Te(e)&&Oe(e.length)&&!!c[le(e)]};function De(e){return null!=(t=e)&&Oe(t.length)&&!Ce(t)?function(e,t){var n=we(e),r=!n&&_e(e),o=!n&&!r&&Se(e),i=!n&&!r&&!o&&ke(e),a=n||r||o||i,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length;for(var c in e)!t&&!I.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||me(c,l))||s.push(c);return s}(e):function(e){if(n=(t=e)&&t.constructor,t!==("function"==typeof n&&n.prototype||k))return G(e);var t,n,r=[];for(var o in Object(e))I.call(e,o)&&"constructor"!=o&&r.push(o);return r}(e);var t}n.exports=function(e,t){return ue(e,t)}}).call(this,n(27),n(66)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultVerticalStrength=t.defaultHorizontalStrength=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.createHorizontalStrength=v,t.createVerticalStrength=g,t.default=function(e){var t=function(t){function n(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,t));return r.handleEvent=function(e){r.dragging&&!r.attached&&(r.attach(),r.updateScrolling(e))},r.updateScrolling=(0,c.default)((function(e){var t=r.container.getBoundingClientRect(),n={x:t.left,y:t.top,w:t.width,h:t.height},o=(0,p.getCoords)(e);r.scaleX=r.props.horizontalStrength(n,o),r.scaleY=r.props.verticalStrength(n,o),r.frame||!r.scaleX&&!r.scaleY||r.startScrolling()}),100,{trailing:!1}),r.scaleX=0,r.scaleY=0,r.frame=null,r.attached=!1,r.dragging=!1,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),o(n,[{key:"componentDidMount",value:function(){var e=this;this.container=(0,l.findDOMNode)(this.wrappedInstance),this.container.addEventListener("dragover",this.handleEvent),window.document.body.addEventListener("touchmove",this.handleEvent),this.clearMonitorSubscription=this.context.dragDropManager.getMonitor().subscribeToStateChange((function(){return e.handleMonitorChange()}))}},{key:"componentWillUnmount",value:function(){this.container.removeEventListener("dragover",this.handleEvent),window.document.body.removeEventListener("touchmove",this.handleEvent),this.clearMonitorSubscription(),this.stopScrolling()}},{key:"handleMonitorChange",value:function(){var e=this.context.dragDropManager.getMonitor().isDragging();!this.dragging&&e?this.dragging=!0:this.dragging&&!e&&(this.dragging=!1,this.stopScrolling())}},{key:"attach",value:function(){this.attached=!0,window.document.body.addEventListener("dragover",this.updateScrolling),window.document.body.addEventListener("touchmove",this.updateScrolling)}},{key:"detach",value:function(){this.attached=!1,window.document.body.removeEventListener("dragover",this.updateScrolling),window.document.body.removeEventListener("touchmove",this.updateScrolling)}},{key:"startScrolling",value:function(){var e=this,t=0;!function n(){var r=e.scaleX,o=e.scaleY,i=e.container,a=e.props,s=a.strengthMultiplier,l=a.onScrollChange;if(0!==s&&r+o!==0){if(t++%2){var c=i.scrollLeft,d=i.scrollTop,f=i.scrollWidth,h=i.scrollHeight,v=i.clientWidth,g=i.clientHeight;l(r?i.scrollLeft=(0,p.intBetween)(0,f-v,c+r*s):c,o?i.scrollTop=(0,p.intBetween)(0,h-g,d+o*s):d)}e.frame=(0,u.default)(n)}else e.stopScrolling()}()}},{key:"stopScrolling",value:function(){this.detach(),this.scaleX=0,this.scaleY=0,this.frame&&(u.default.cancel(this.frame),this.frame=null)}},{key:"render",value:function(){var t=this,n=this.props,o=(n.strengthMultiplier,n.verticalStrength,n.horizontalStrength,n.onScrollChange,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(n,["strengthMultiplier","verticalStrength","horizontalStrength","onScrollChange"]));return a.default.createElement(e,r({ref:function(e){t.wrappedInstance=e}},o))}}]),n}(i.Component);return t.displayName="Scrolling("+(0,d.default)(e)+")",t.propTypes={onScrollChange:s.default.func,verticalStrength:s.default.func,horizontalStrength:s.default.func,strengthMultiplier:s.default.number},t.defaultProps={onScrollChange:p.noop,verticalStrength:y,horizontalStrength:m,strengthMultiplier:30},t.contextTypes={dragDropManager:s.default.object},(0,f.default)(t,e)};var i=n(0),a=h(i),s=h(n(1)),l=n(12),c=h(n(274)),u=h(n(275)),d=h(n(278)),f=h(n(279)),p=n(280);function h(e){return e&&e.__esModule?e:{default:e}}function v(e){return function(t,n){var r=t.x,o=t.w,i=t.y,a=t.h,s=Math.min(o/2,e);if(n.x>=r&&n.x<=r+o&&n.y>=i&&n.y<=i+a){if(n.x<r+s)return(n.x-r-s)/s;if(n.x>r+o-s)return-(r+o-n.x-s)/s}return 0}}function g(e){return function(t,n){var r=t.y,o=t.h,i=t.x,a=t.w,s=Math.min(o/2,e);if(n.y>=r&&n.y<=r+o&&n.x>=i&&n.x<=i+a){if(n.y<r+s)return(n.y-r-s)/s;if(n.y>r+o-s)return-(r+o-n.y-s)/s}return 0}}var m=t.defaultHorizontalStrength=v(150),y=t.defaultVerticalStrength=g(150)},function(e,t,n){(function(t){var n=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,i=/^0o[0-7]+$/i,a=parseInt,s="object"==typeof t&&t&&t.Object===Object&&t,l="object"==typeof self&&self&&self.Object===Object&&self,c=s||l||Function("return this")(),u=Object.prototype.toString,d=Math.max,f=Math.min,p=function(){return c.Date.now()};function h(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==u.call(e)}(e))return NaN;if(h(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=h(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var s=o.test(e);return s||i.test(e)?a(e.slice(2),s?2:8):r.test(e)?NaN:+e}e.exports=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return h(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),function(e,t,n){var r,o,i,a,s,l,c=0,u=!1,g=!1,m=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=r,i=o;return r=o=void 0,c=t,a=e.apply(i,n)}function b(e){return c=e,s=setTimeout(w,t),u?y(e):a}function _(e){var n=e-l;return void 0===l||n>=t||n<0||g&&e-c>=i}function w(){var e=p();if(_(e))return S(e);s=setTimeout(w,function(e){var n=t-(e-l);return g?f(n,i-(e-c)):n}(e))}function S(e){return s=void 0,m&&r?y(e):(r=o=void 0,a)}function C(){var e=p(),n=_(e);if(r=arguments,o=this,l=e,n){if(void 0===s)return b(l);if(g)return s=setTimeout(w,t),y(l)}return void 0===s&&(s=setTimeout(w,t)),a}return t=v(t)||0,h(n)&&(u=!!n.leading,i=(g="maxWait"in n)?d(v(n.maxWait)||0,t):i,m="trailing"in n?!!n.trailing:m),C.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=o=s=void 0},C.flush=function(){return void 0===s?a:S(p())},C}(e,t,{leading:r,maxWait:t,trailing:o})}}).call(this,n(27))},function(e,t,n){(function(t){for(var r=n(276),o="undefined"==typeof window?t:window,i=["moz","webkit"],a="AnimationFrame",s=o["request"+a],l=o["cancel"+a]||o["cancelRequest"+a],c=0;!s&&c<i.length;c++)s=o[i[c]+"Request"+a],l=o[i[c]+"Cancel"+a]||o[i[c]+"CancelRequest"+a];if(!s||!l){var u=0,d=0,f=[];s=function(e){if(0===f.length){var t=r(),n=Math.max(0,1e3/60-(t-u));u=n+t,setTimeout((function(){var e=f.slice(0);f.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(u)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(n))}return f.push({handle:++d,callback:e,cancelled:!1}),d},l=function(e){for(var t=0;t<f.length;t++)f[t].handle===e&&(f[t].cancelled=!0)}}e.exports=function(e){return s.call(o,e)},e.exports.cancel=function(){l.apply(o,arguments)},e.exports.polyfill=function(e){e||(e=o),e.requestAnimationFrame=s,e.cancelAnimationFrame=l}}).call(this,n(27))},function(e,t,n){(function(t){(function(){var n,r,o,i,a,s;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:null!=t&&t.hrtime?(e.exports=function(){return(n()-a)/1e6},r=t.hrtime,i=(n=function(){var e;return 1e9*(e=r())[0]+e[1]})(),s=1e9*t.uptime(),a=i-s):Date.now?(e.exports=function(){return Date.now()-o},o=Date.now()):(e.exports=function(){return(new Date).getTime()-o},o=(new Date).getTime())}).call(this)}).call(this,n(277))},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var l,c=[],u=!1,d=-1;function f(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&p())}function p(){if(!u){var e=s(f);u=!0;for(var t=c.length;t;){for(l=c,c=[];++d<t;)l&&l[d].run();d=-1,t=c.length}l=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function v(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||u||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.displayName||e.name||("string"==typeof e&&e.length>0?e:"Unknown")}},function(e,t,n){"use strict";var r={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,arguments:!0,arity:!0},i="function"==typeof Object.getOwnPropertySymbols;e.exports=function(e,t,n){if("string"!=typeof t){var a=Object.getOwnPropertyNames(t);i&&(a=a.concat(Object.getOwnPropertySymbols(t)));for(var s=0;s<a.length;++s)if(!(r[a[s]]||o[a[s]]||n&&n[a[s]]))try{e[a[s]]=t[a[s]]}catch(e){}}return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.noop=function(){},t.intBetween=function(e,t,n){return Math.floor(Math.min(t,Math.max(e,n)))},t.getCoords=function(e){return"touchmove"===e.type?{x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY}:{x:e.clientX,y:e.clientY}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(234);Object.defineProperty(t,"DragDropContext",{enumerable:!0,get:function(){return l(r).default}});var o=n(282);Object.defineProperty(t,"DragDropContextProvider",{enumerable:!0,get:function(){return l(o).default}});var i=n(283);Object.defineProperty(t,"DragLayer",{enumerable:!0,get:function(){return l(i).default}});var a=n(284);Object.defineProperty(t,"DragSource",{enumerable:!0,get:function(){return l(a).default}});var s=n(290);function l(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"DropTarget",{enumerable:!0,get:function(){return l(s).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o,i,a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(0),l=(i=n(1))&&i.__esModule?i:{default:i},c=n(234),u=(o=r=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.backend=(0,c.unpackBackendForEs5Users)(e.backend),r.childContext=(0,c.createChildContext)(r.backend,{window:e&&e.window?e.window:n&&n.window?n.window:"undefined"!=typeof window?window:void 0}),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"componentWillReceiveProps",value:function(e){if(e.backend!==this.props.backend||e.window!==this.props.window)throw new Error("DragDropContextProvider backend and window props must not change.")}},{key:"getChildContext",value:function(){return this.childContext}},{key:"render",value:function(){return s.Children.only(this.props.children)}}]),t}(s.Component),r.propTypes={backend:l.default.oneOfType([l.default.func,l.default.object]).isRequired,children:l.default.element.isRequired,window:l.default.object},r.defaultProps={window:void 0},r.childContextTypes=c.CHILD_CONTEXT_TYPES,r.displayName="DragDropContextProvider",r.contextTypes={window:l.default.object},o);t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return h.default.apply(void 0,["DragLayer","collect[, options]"].concat(Array.prototype.slice.call(arguments))),(0,d.default)("function"==typeof e,'Expected "collect" provided as the first argument to DragLayer to be a function that collects props to inject into the component. ',"Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html",e),(0,d.default)((0,u.default)(t),'Expected "options" provided as the second argument to DragLayer to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html',t),function(n){var u,h,v=t.arePropsEqual,b=void 0===v?p.default:v,_=n.displayName||n.name||"Component",w=(h=u=function(t){function a(e,t){g(this,a);var n=m(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return n.handleChange=n.handleChange.bind(n),n.manager=t.dragDropManager,(0,d.default)("object"===o(n.manager),"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context",_,_),n.state=n.getCurrentState(),n}return y(a,t),i(a,[{key:"getDecoratedComponentInstance",value:function(){return(0,d.default)(this.child,"In order to access an instance of the decorated component it can not be a stateless component."),this.child}},{key:"shouldComponentUpdate",value:function(e,t){return!b(e,this.props)||!(0,f.default)(t,this.state)}}]),i(a,[{key:"componentDidMount",value:function(){this.isCurrentlyMounted=!0;var e=this.manager.getMonitor();this.unsubscribeFromOffsetChange=e.subscribeToOffsetChange(this.handleChange),this.unsubscribeFromStateChange=e.subscribeToStateChange(this.handleChange),this.handleChange()}},{key:"componentWillUnmount",value:function(){this.isCurrentlyMounted=!1,this.unsubscribeFromOffsetChange(),this.unsubscribeFromStateChange()}},{key:"handleChange",value:function(){if(this.isCurrentlyMounted){var e=this.getCurrentState();(0,f.default)(e,this.state)||this.setState(e)}}},{key:"getCurrentState",value:function(){var t=this.manager.getMonitor();return e(t)}},{key:"render",value:function(){var e=this;return s.default.createElement(n,r({},this.props,this.state,{ref:function(t){e.child=t}}))}}]),a}(a.Component),u.DecoratedComponent=n,u.displayName="DragLayer("+_+")",u.contextTypes={dragDropManager:l.default.object.isRequired},h);return(0,c.default)(w,n)}};var a=n(0),s=v(a),l=v(n(1)),c=v(n(31)),u=v(n(16)),d=v(n(13)),f=v(n(217)),p=v(n(235)),h=v(n(104));function v(e){return e&&e.__esModule?e:{default:e}}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function y(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var f=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};i.default.apply(void 0,["DragSource","type, spec, collect[, options]"].concat(Array.prototype.slice.call(arguments)));var p=e;"function"!=typeof e&&((0,r.default)((0,d.default)(e),'Expected "type" provided as the first argument to DragSource to be a string, or a function that returns a string given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',e),p=function(){return e}),(0,r.default)((0,o.default)(t),'Expected "spec" provided as the second argument to DragSource to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',t);var h=(0,l.default)(t);return(0,r.default)("function"==typeof n,'Expected "collect" provided as the third argument to DragSource to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',n),(0,r.default)((0,o.default)(f),'Expected "options" provided as the fourth argument to DragSource to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',n),function(e){return(0,a.default)({connectBackend:function(e,t){return e.connectDragSource(t)},containerDisplayName:"DragSource",createHandler:h,registerHandler:s.default,createMonitor:c.default,createConnector:u.default,DecoratedComponent:e,getType:p,collect:n,options:f})}};var r=f(n(13)),o=f(n(16)),i=f(n(104)),a=f(n(236)),s=f(n(285)),l=f(n(286)),c=f(n(287)),u=f(n(288)),d=f(n(239));function f(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=n.getRegistry(),o=r.addSource(e,t);return{handlerId:o,unregister:function(){r.removeSource(o)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){Object.keys(e).forEach((function(t){(0,o.default)(a.indexOf(t)>-1,'Expected the drag source specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',a.join(", "),t),(0,o.default)("function"==typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html",t,t,e[t])})),s.forEach((function(t){(0,o.default)("function"==typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html",t,t,e[t])}));var t=function(){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.monitor=e,this.props=null,this.component=null}return r(t,[{key:"receiveProps",value:function(e){this.props=e}},{key:"receiveComponent",value:function(e){this.component=e}},{key:"canDrag",value:function(){return!e.canDrag||e.canDrag(this.props,this.monitor)}},{key:"isDragging",value:function(t,n){return e.isDragging?e.isDragging(this.props,this.monitor):n===t.getSourceId()}},{key:"beginDrag",value:function(){return e.beginDrag(this.props,this.monitor,this.component)}},{key:"endDrag",value:function(){e.endDrag&&e.endDrag(this.props,this.monitor,this.component)}}]),t}();return function(e){return new t(e)}};var o=i(n(13));function i(e){return e&&e.__esModule?e:{default:e}}i(n(16));var a=["canDrag","beginDrag","isDragging","endDrag"],s=["beginDrag"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){return new l(e)};var o,i=(o=n(13))&&o.__esModule?o:{default:o},a=!1,s=!1,l=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.internalMonitor=t.getMonitor()}return r(e,[{key:"receiveHandlerId",value:function(e){this.sourceId=e}},{key:"canDrag",value:function(){(0,i.default)(!a,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source-monitor.html");try{return a=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{a=!1}}},{key:"isDragging",value:function(){(0,i.default)(!s,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source-monitor.html");try{return s=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{s=!1}}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=void 0,n=void 0,i=void 0,a=void 0,s=void 0,l=void 0,c=void 0;function u(){a&&(a(),a=null),t&&n&&(a=e.connectDragSource(t,n,i))}function d(){c&&(c(),c=null),t&&s&&(c=e.connectDragPreview(t,s,l))}return{receiveHandlerId:function(e){e!==t&&(t=e,u(),d())},hooks:(0,r.default)({dragSource:function(e,t){e===n&&(0,o.default)(t,i)||(n=e,i=t,u())},dragPreview:function(e,t){e===s&&(0,o.default)(t,l)||(s=e,l=t,d())}})}};var r=i(n(237)),o=i(n(238));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e.ref;return(0,o.default)("string"!=typeof n,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute"),n?(0,i.cloneElement)(e,{ref:function(e){t(e),n&&n(e)}}):(0,i.cloneElement)(e,{ref:t})};var r,o=(r=n(13))&&r.__esModule?r:{default:r},i=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var f=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};i.default.apply(void 0,["DropTarget","type, spec, collect[, options]"].concat(Array.prototype.slice.call(arguments)));var p=e;"function"!=typeof e&&((0,r.default)((0,d.default)(e,!0),'Expected "type" provided as the first argument to DropTarget to be a string, an array of strings, or a function that returns either given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',e),p=function(){return e}),(0,r.default)((0,o.default)(t),'Expected "spec" provided as the second argument to DropTarget to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',t);var h=(0,l.default)(t);return(0,r.default)("function"==typeof n,'Expected "collect" provided as the third argument to DropTarget to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',n),(0,r.default)((0,o.default)(f),'Expected "options" provided as the fourth argument to DropTarget to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',n),function(e){return(0,a.default)({connectBackend:function(e,t){return e.connectDropTarget(t)},containerDisplayName:"DropTarget",createHandler:h,registerHandler:s.default,createMonitor:c.default,createConnector:u.default,DecoratedComponent:e,getType:p,collect:n,options:f})}};var r=f(n(13)),o=f(n(16)),i=f(n(104)),a=f(n(236)),s=f(n(291)),l=f(n(292)),c=f(n(293)),u=f(n(294)),d=f(n(239));function f(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=n.getRegistry(),o=r.addTarget(e,t);return{handlerId:o,unregister:function(){r.removeTarget(o)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){Object.keys(e).forEach((function(t){(0,o.default)(a.indexOf(t)>-1,'Expected the drop target specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',a.join(", "),t),(0,o.default)("function"==typeof e[t],"Expected %s in the drop target specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html",t,t,e[t])}));var t=function(){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.monitor=e,this.props=null,this.component=null}return r(t,[{key:"receiveProps",value:function(e){this.props=e}},{key:"receiveMonitor",value:function(e){this.monitor=e}},{key:"receiveComponent",value:function(e){this.component=e}},{key:"canDrop",value:function(){return!e.canDrop||e.canDrop(this.props,this.monitor)}},{key:"hover",value:function(){e.hover&&e.hover(this.props,this.monitor,this.component)}},{key:"drop",value:function(){if(e.drop)return e.drop(this.props,this.monitor,this.component)}}]),t}();return function(e){return new t(e)}};var o=i(n(13));function i(e){return e&&e.__esModule?e:{default:e}}i(n(16));var a=["canDrop","hover","drop"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){return new s(e)};var o,i=(o=n(13))&&o.__esModule?o:{default:o},a=!1,s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.internalMonitor=t.getMonitor()}return r(e,[{key:"receiveHandlerId",value:function(e){this.targetId=e}},{key:"canDrop",value:function(){(0,i.default)(!a,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target-monitor.html");try{return a=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{a=!1}}},{key:"isOver",value:function(e){return this.internalMonitor.isOverTarget(this.targetId,e)}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=void 0,n=void 0,i=void 0,a=void 0;function s(){a&&(a(),a=null),t&&n&&(a=e.connectDropTarget(t,n,i))}return{receiveHandlerId:function(e){e!==t&&(t=e,s())},hooks:(0,r.default)({dropTarget:function(e,t){e===n&&(0,o.default)(t,i)||(n=e,i=t,s())}})}};var r=i(n(237)),o=i(n(238));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEmptyImage=t.NativeTypes=void 0,t.default=function(e){return new r.default(e)};var r=a(n(296)),o=a(n(302)),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(218));function a(e){return e&&e.__esModule?e:{default:e}}t.NativeTypes=i,t.getEmptyImage=o.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=d(n(101)),i=d(n(297)),a=d(n(298)),s=n(240),l=n(299),c=n(301),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(218));function d(e){return e&&e.__esModule?e:{default:e}}var f=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.registry=t.getRegistry(),this.context=t.getContext(),this.sourcePreviewNodes={},this.sourcePreviewNodeOptions={},this.sourceNodes={},this.sourceNodeOptions={},this.enterLeaveCounter=new a.default,this.dragStartSourceIds=[],this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.currentDragSourceNodeOffset=null,this.currentDragSourceNodeOffsetChanged=!1,this.altKeyPressed=!1,this.getSourceClientOffset=this.getSourceClientOffset.bind(this),this.handleTopDragStart=this.handleTopDragStart.bind(this),this.handleTopDragStartCapture=this.handleTopDragStartCapture.bind(this),this.handleTopDragEndCapture=this.handleTopDragEndCapture.bind(this),this.handleTopDragEnter=this.handleTopDragEnter.bind(this),this.handleTopDragEnterCapture=this.handleTopDragEnterCapture.bind(this),this.handleTopDragLeaveCapture=this.handleTopDragLeaveCapture.bind(this),this.handleTopDragOver=this.handleTopDragOver.bind(this),this.handleTopDragOverCapture=this.handleTopDragOverCapture.bind(this),this.handleTopDrop=this.handleTopDrop.bind(this),this.handleTopDropCapture=this.handleTopDropCapture.bind(this),this.handleSelectStart=this.handleSelectStart.bind(this),this.endDragIfSourceWasRemovedFromDOM=this.endDragIfSourceWasRemovedFromDOM.bind(this),this.endDragNativeItem=this.endDragNativeItem.bind(this),this.asyncEndDragNativeItem=this.asyncEndDragNativeItem.bind(this),this.isNodeInDocument=this.isNodeInDocument.bind(this)}return r(e,[{key:"setup",value:function(){if(void 0!==this.window){if(this.window.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");this.window.__isReactDndBackendSetUp=!0,this.addEventListeners(this.window)}}},{key:"teardown",value:function(){void 0!==this.window&&(this.window.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.window),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId&&this.window.cancelAnimationFrame(this.asyncEndDragFrameId))}},{key:"addEventListeners",value:function(e){e.addEventListener&&(e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0))}},{key:"removeEventListeners",value:function(e){e.removeEventListener&&(e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0))}},{key:"connectDragPreview",value:function(e,t,n){var r=this;return this.sourcePreviewNodeOptions[e]=n,this.sourcePreviewNodes[e]=t,function(){delete r.sourcePreviewNodes[e],delete r.sourcePreviewNodeOptions[e]}}},{key:"connectDragSource",value:function(e,t,n){var r=this;this.sourceNodes[e]=t,this.sourceNodeOptions[e]=n;var o=function(t){return r.handleDragStart(t,e)},i=function(t){return r.handleSelectStart(t,e)};return t.setAttribute("draggable",!0),t.addEventListener("dragstart",o),t.addEventListener("selectstart",i),function(){delete r.sourceNodes[e],delete r.sourceNodeOptions[e],t.removeEventListener("dragstart",o),t.removeEventListener("selectstart",i),t.setAttribute("draggable",!1)}}},{key:"connectDropTarget",value:function(e,t){var n=this,r=function(t){return n.handleDragEnter(t,e)},o=function(t){return n.handleDragOver(t,e)},i=function(t){return n.handleDrop(t,e)};return t.addEventListener("dragenter",r),t.addEventListener("dragover",o),t.addEventListener("drop",i),function(){t.removeEventListener("dragenter",r),t.removeEventListener("dragover",o),t.removeEventListener("drop",i)}}},{key:"getCurrentSourceNodeOptions",value:function(){var e=this.monitor.getSourceId(),t=this.sourceNodeOptions[e];return(0,o.default)(t||{},{dropEffect:this.altKeyPressed?"copy":"move"})}},{key:"getCurrentDropEffect",value:function(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}},{key:"getCurrentSourcePreviewNodeOptions",value:function(){var e=this.monitor.getSourceId(),t=this.sourcePreviewNodeOptions[e];return(0,o.default)(t||{},{anchorX:.5,anchorY:.5,captureDraggingState:!1})}},{key:"getSourceClientOffset",value:function(e){return(0,l.getNodeClientOffset)(this.sourceNodes[e])}},{key:"isDraggingNativeItem",value:function(){var e=this.monitor.getItemType();return Object.keys(u).some((function(t){return u[t]===e}))}},{key:"beginDragNativeItem",value:function(e){this.clearCurrentDragSourceNode();var t=(0,c.createNativeDragSource)(e);this.currentNativeSource=new t,this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle]),(0,s.isFirefox)()&&this.window.addEventListener("mouseover",this.asyncEndDragNativeItem,!0)}},{key:"asyncEndDragNativeItem",value:function(){this.asyncEndDragFrameId=this.window.requestAnimationFrame(this.endDragNativeItem),(0,s.isFirefox)()&&(this.window.removeEventListener("mouseover",this.asyncEndDragNativeItem,!0),this.enterLeaveCounter.reset())}},{key:"endDragNativeItem",value:function(){this.isDraggingNativeItem()&&(this.actions.endDrag(),this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)}},{key:"isNodeInDocument",value:function(e){return!(!document.body.contains(e)&&!this.window)&&this.window.document.body.contains(e)}},{key:"endDragIfSourceWasRemovedFromDOM",value:function(){var e=this.currentDragSourceNode;this.isNodeInDocument(e)||this.clearCurrentDragSourceNode()&&this.actions.endDrag()}},{key:"setCurrentDragSourceNode",value:function(e){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e,this.currentDragSourceNodeOffset=(0,l.getNodeClientOffset)(e),this.currentDragSourceNodeOffsetChanged=!1,this.window.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}},{key:"clearCurrentDragSourceNode",value:function(){return!!this.currentDragSourceNode&&(this.currentDragSourceNode=null,this.currentDragSourceNodeOffset=null,this.currentDragSourceNodeOffsetChanged=!1,this.window.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0),!0)}},{key:"checkIfCurrentDragSourceRectChanged",value:function(){var e=this.currentDragSourceNode;return!!e&&(!!this.currentDragSourceNodeOffsetChanged||(this.currentDragSourceNodeOffsetChanged=!(0,i.default)((0,l.getNodeClientOffset)(e),this.currentDragSourceNodeOffset),this.currentDragSourceNodeOffsetChanged))}},{key:"handleTopDragStartCapture",value:function(){this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]}},{key:"handleDragStart",value:function(e,t){this.dragStartSourceIds.unshift(t)}},{key:"handleTopDragStart",value:function(e){var t=this,n=this.dragStartSourceIds;this.dragStartSourceIds=null;var r=(0,l.getEventClientOffset)(e);this.monitor.isDragging()&&this.actions.endDrag(),this.actions.beginDrag(n,{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:r});var o=e.dataTransfer,i=(0,c.matchNativeItemType)(o);if(this.monitor.isDragging()){if("function"==typeof o.setDragImage){var a=this.monitor.getSourceId(),s=this.sourceNodes[a],u=this.sourcePreviewNodes[a]||s,d=this.getCurrentSourcePreviewNodeOptions(),f={anchorX:d.anchorX,anchorY:d.anchorY},p={offsetX:d.offsetX,offsetY:d.offsetY},h=(0,l.getDragPreviewOffset)(s,u,r,f,p);o.setDragImage(u,h.x,h.y)}try{o.setData("application/json",{})}catch(e){}this.setCurrentDragSourceNode(e.target),this.getCurrentSourcePreviewNodeOptions().captureDraggingState?this.actions.publishDragSource():setTimeout((function(){return t.actions.publishDragSource()}))}else if(i)this.beginDragNativeItem(i);else{if(!(o.types||e.target.hasAttribute&&e.target.hasAttribute("draggable")))return;e.preventDefault()}}},{key:"handleTopDragEndCapture",value:function(){this.clearCurrentDragSourceNode()&&this.actions.endDrag()}},{key:"handleTopDragEnterCapture",value:function(e){if(this.dragEnterTargetIds=[],this.enterLeaveCounter.enter(e.target)&&!this.monitor.isDragging()){var t=e.dataTransfer,n=(0,c.matchNativeItemType)(t);n&&this.beginDragNativeItem(n)}}},{key:"handleDragEnter",value:function(e,t){this.dragEnterTargetIds.unshift(t)}},{key:"handleTopDragEnter",value:function(e){var t=this,n=this.dragEnterTargetIds;this.dragEnterTargetIds=[],this.monitor.isDragging()&&(this.altKeyPressed=e.altKey,(0,s.isFirefox)()||this.actions.hover(n,{clientOffset:(0,l.getEventClientOffset)(e)}),n.some((function(e){return t.monitor.canDropOnTarget(e)}))&&(e.preventDefault(),e.dataTransfer.dropEffect=this.getCurrentDropEffect()))}},{key:"handleTopDragOverCapture",value:function(){this.dragOverTargetIds=[]}},{key:"handleDragOver",value:function(e,t){this.dragOverTargetIds.unshift(t)}},{key:"handleTopDragOver",value:function(e){var t=this,n=this.dragOverTargetIds;if(this.dragOverTargetIds=[],!this.monitor.isDragging())return e.preventDefault(),void(e.dataTransfer.dropEffect="none");this.altKeyPressed=e.altKey,this.actions.hover(n,{clientOffset:(0,l.getEventClientOffset)(e)}),n.some((function(e){return t.monitor.canDropOnTarget(e)}))?(e.preventDefault(),e.dataTransfer.dropEffect=this.getCurrentDropEffect()):this.isDraggingNativeItem()?(e.preventDefault(),e.dataTransfer.dropEffect="none"):this.checkIfCurrentDragSourceRectChanged()&&(e.preventDefault(),e.dataTransfer.dropEffect="move")}},{key:"handleTopDragLeaveCapture",value:function(e){this.isDraggingNativeItem()&&e.preventDefault(),this.enterLeaveCounter.leave(e.target)&&this.isDraggingNativeItem()&&this.endDragNativeItem()}},{key:"handleTopDropCapture",value:function(e){this.dropTargetIds=[],e.preventDefault(),this.isDraggingNativeItem()&&this.currentNativeSource.mutateItemByReadingDataTransfer(e.dataTransfer),this.enterLeaveCounter.reset()}},{key:"handleDrop",value:function(e,t){this.dropTargetIds.unshift(t)}},{key:"handleTopDrop",value:function(e){var t=this.dropTargetIds;this.dropTargetIds=[],this.actions.hover(t,{clientOffset:(0,l.getEventClientOffset)(e)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.endDragIfSourceWasRemovedFromDOM()}},{key:"handleSelectStart",value:function(e){var t=e.target;"function"==typeof t.dragDrop&&("INPUT"===t.tagName||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable||(e.preventDefault(),t.dragDrop()))}},{key:"window",get:function(){return this.context&&this.context.window?this.context.window:"undefined"!=typeof window?window:void 0}}]),e}();t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e===t)return!0;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty,i=0;i<n.length;i+=1){if(!o.call(t,n[i])||e[n[i]]!==t[n[i]])return!1;if(e[n[i]]!==t[n[i]])return!1}return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=a(n(102)),i=a(n(65));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.entered=[]}return r(e,[{key:"enter",value:function(e){var t=this.entered.length;return this.entered=(0,o.default)(this.entered.filter((function(t){return document.documentElement.contains(t)&&(!t.contains||t.contains(e))})),[e]),0===t&&this.entered.length>0}},{key:"leave",value:function(e){var t=this.entered.length;return this.entered=(0,i.default)(this.entered.filter((function(e){return document.documentElement.contains(e)})),e),t>0&&0===this.entered.length}},{key:"reset",value:function(){this.entered=[]}}]),e}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNodeClientOffset=a,t.getEventClientOffset=function(e){return{x:e.clientX,y:e.clientY}},t.getDragPreviewOffset=function(e,t,n,r,s){var l,c,u="IMG"===(l=t).nodeName&&((0,o.isFirefox)()||!document.documentElement.contains(l)),d=a(u?e:t),f={x:n.x-d.x,y:n.y-d.y},p=e.offsetWidth,h=e.offsetHeight,v=r.anchorX,g=r.anchorY,m=function(e,t,n,r){var i=e?t.width:n,a=e?t.height:r;return(0,o.isSafari)()&&e&&(a/=window.devicePixelRatio,i/=window.devicePixelRatio),{dragPreviewWidth:i,dragPreviewHeight:a}}(u,t,p,h),y=m.dragPreviewWidth,b=m.dragPreviewHeight,_=s.offsetX,w=s.offsetY,S=0===w||w;return{x:0===_||_?_:new i.default([0,.5,1],[f.x,f.x/p*y,f.x+y-p]).interpolate(v),y:S?w:(c=new i.default([0,.5,1],[f.y,f.y/h*b,f.y+b-h]).interpolate(g),(0,o.isSafari)()&&u&&(c+=(window.devicePixelRatio-1)*b),c)}};var r,o=n(240),i=(r=n(300))&&r.__esModule?r:{default:r};function a(e){var t=1===e.nodeType?e:e.parentElement;if(!t)return null;var n=t.getBoundingClientRect(),r=n.top;return{x:n.left,y:r}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);for(var r=t.length,o=[],i=0;i<r;i++)o.push(i);o.sort((function(e,n){return t[e]<t[n]?-1:1}));for(var a=[],s=[],l=[],c=void 0,u=void 0,d=0;d<r-1;d++)c=t[d+1]-t[d],u=n[d+1]-n[d],s.push(c),a.push(u),l.push(u/c);for(var f=[l[0]],p=0;p<s.length-1;p++){var h=l[p],v=l[p+1];if(h*v<=0)f.push(0);else{c=s[p];var g=s[p+1],m=c+g;f.push(3*m/((m+g)/h+(m+c)/v))}}f.push(l[l.length-1]);for(var y=[],b=[],_=void 0,w=0;w<f.length-1;w++){_=l[w];var S=f[w],C=1/s[w],O=S+f[w+1]-_-_;y.push((_-S-O)*C),b.push(O*C*C)}this.xs=t,this.ys=n,this.c1s=f,this.c2s=y,this.c3s=b}return r(e,[{key:"interpolate",value:function(e){var t=this.xs,n=this.ys,r=this.c1s,o=this.c2s,i=this.c3s,a=t.length-1;if(e===t[a])return n[a];for(var s=0,l=i.length-1,c=void 0;s<=l;){var u=t[c=Math.floor(.5*(s+l))];if(u<e)s=c+1;else{if(!(u>e))return n[c];l=c-1}}var d=e-t[a=Math.max(0,l)],f=d*d;return n[a]+r[a]*d+o[a]*f+i[a]*d*f}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.createNativeDragSource=function(e){var t=l[e],n=t.exposeProperty,r=t.matchesTypes,i=t.getData;return function(){function e(){var t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.item=(t={},(r={})[n]=r[n]||{},r[n].get=function(){return console.warn("Browser doesn't allow reading \""+n+'" until the drop event.'),null},function(e,t){for(var n in t){var r=t[n];r.configurable=r.enumerable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,n,r)}}(t,r),t)}return o(e,[{key:"mutateItemByReadingDataTransfer",value:function(e){delete this.item[n],this.item[n]=i(e,r)}},{key:"canDrag",value:function(){return!0}},{key:"beginDrag",value:function(){return this.item}},{key:"isDragging",value:function(e,t){return t===e.getSourceId()}},{key:"endDrag",value:function(){}}]),e}()},t.matchNativeItemType=function(e){var t=Array.prototype.slice.call(e.types||[]);return Object.keys(l).filter((function(e){return l[e].matchesTypes.some((function(e){return t.indexOf(e)>-1}))}))[0]||null};var i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(218));function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t,n){var r=t.reduce((function(t,n){return t||e.getData(n)}),null);return null!=r?r:n}var l=(a(r={},i.FILE,{exposeProperty:"files",matchesTypes:["Files"],getData:function(e){return Array.prototype.slice.call(e.files)}}),a(r,i.URL,{exposeProperty:"urls",matchesTypes:["Url","text/uri-list"],getData:function(e,t){return s(e,t,"").split("\n")}}),a(r,i.TEXT,{exposeProperty:"text",matchesTypes:["Text","text/plain"],getData:function(e,t){return s(e,t,"")}}),r)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return r||((r=new Image).src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),r};var r=void 0},function(e,t,n){e.exports={default:n(304),__esModule:!0}},function(e,t,n){n(305),e.exports=n(45).Object.assign},function(e,t,n){var r=n(67);r(r.S+r.F,"Object",{assign:n(307)})},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";var r=n(46),o=n(106),i=n(225),a=n(109),s=n(226),l=n(245),c=Object.assign;e.exports=!c||n(96)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=r}))?function(e,t){for(var n=s(e),c=arguments.length,u=1,d=i.f,f=a.f;c>u;)for(var p,h=l(arguments[u++]),v=d?o(h).concat(d(h)):o(h),g=v.length,m=0;g>m;)p=v[m++],r&&!f.call(h,p)||(n[p]=h[p]);return n}:c},function(e,t,n){var r=n(70),o=n(309),i=n(310);e.exports=function(e){return function(t,n,a){var s,l=r(t),c=o(l.length),u=i(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var r=n(221),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(221),o=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):i(e,t)}},function(e,t,n){"use strict";var r=n(247),o={};function i(e,t,n,r,o,i,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}e.exports=function(e,t,n){var a=[],s={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",UNSAFE_componentWillMount:"DEFINE_MANY",UNSAFE_componentWillReceiveProps:"DEFINE_MANY",UNSAFE_componentWillUpdate:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},l={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},c={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)d(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=r({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=r({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=p(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=r({},e.propTypes,t)},statics:function(e,t){!function(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){if(i(!(n in c),'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n),n in e)return i("DEFINE_MANY_MERGED"===(l.hasOwnProperty(n)?l[n]:null),"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),void(e[n]=p(e[n],r));e[n]=r}}}(e,t)},autobind:function(){}};function u(e,t){var n=s.hasOwnProperty(t)?s[t]:null;y.hasOwnProperty(t)&&i("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&i("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function d(e,n){if(n){i("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),i(!t(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var r=e.prototype,o=r.__reactAutoBindPairs;for(var a in n.hasOwnProperty("mixins")&&c.mixins(e,n.mixins),n)if(n.hasOwnProperty(a)&&"mixins"!==a){var l=n[a],d=r.hasOwnProperty(a);if(u(d,a),c.hasOwnProperty(a))c[a](e,l);else{var f=s.hasOwnProperty(a);if("function"!=typeof l||f||d||!1===n.autobind)if(d){var v=s[a];i(f&&("DEFINE_MANY_MERGED"===v||"DEFINE_MANY"===v),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",v,a),"DEFINE_MANY_MERGED"===v?r[a]=p(r[a],l):"DEFINE_MANY"===v&&(r[a]=h(r[a],l))}else r[a]=l;else o.push(a,l),r[a]=l}}}}function f(e,t){for(var n in i(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(n)&&(i(void 0===e[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),e[n]=t[n]);return e}function p(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return f(o,n),f(o,r),o}}function h(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function v(e,t){return t.bind(e)}var g={componentDidMount:function(){this.__isMounted=!0}},m={componentWillUnmount:function(){this.__isMounted=!1}},y={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},b=function(){};return r(b.prototype,e.prototype,y),function(e){var t=function(e,r,a){this.__reactAutoBindPairs.length&&function(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var r=t[n],o=t[n+1];e[r]=v(e,o)}}(this),this.props=e,this.context=r,this.refs=o,this.updater=a||n,this.state=null;var s=this.getInitialState?this.getInitialState():null;i("object"==typeof s&&!Array.isArray(s),"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),this.state=s};for(var r in t.prototype=new b,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],a.forEach(d.bind(null,t)),d(t,g),d(t,e),d(t,m),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),i(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),s)t.prototype[r]||(t.prototype[r]=null);return t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0),a=((r=i)&&r.__esModule,n(248));function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var c=function(e){function t(){return s(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"getChildContext",value:function(){return{miniStore:this.props.store}}},{key:"render",value:function(){return i.Children.only(this.props.children)}}]),t}(i.Component);c.propTypes={store:a.storeShape.isRequired},c.childContextTypes={miniStore:a.storeShape.isRequired},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){var t=!!e,n=e||f;return function(d){var f=function(i){function l(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,e,t));return r.handleChange=function(){if(r.unsubscribe){var e=n(r.store.getState(),r.props);(0,s.default)(r.state.subscribed,e)||r.setState({subscribed:e})}},r.store=t.miniStore,r.state={subscribed:n(r.store.getState(),e),store:r.store,props:e},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(l,i),o(l,null,[{key:"getDerivedStateFromProps",value:function(t,r){return e&&2===e.length&&t!==r.props?{subscribed:n(r.store.getState(),t),props:t}:{props:t}}}]),o(l,[{key:"componentDidMount",value:function(){this.trySubscribe()}},{key:"componentWillUnmount",value:function(){this.tryUnsubscribe()}},{key:"trySubscribe",value:function(){t&&(this.unsubscribe=this.store.subscribe(this.handleChange),this.handleChange())}},{key:"tryUnsubscribe",value:function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)}},{key:"getWrappedInstance",value:function(){return this.wrappedInstance}},{key:"render",value:function(){var e=this,t=r({},this.props,this.state.subscribed,{store:this.store});return d.prototype.render&&(t=r({},t,{ref:function(t){return e.wrappedInstance=t}})),a.default.createElement(d,t)}}]),l}(i.Component);return f.displayName="Connect("+function(e){return e.displayName||e.name||"Component"}(d)+")",f.contextTypes={miniStore:u.storeShape.isRequired},(0,c.polyfill)(f),(0,l.default)(f,d)}};var i=n(0),a=d(i),s=d(n(314)),l=d(n(31)),c=n(24),u=n(248);function d(e){return e&&e.__esModule?e:{default:e}}var f=function(){return{}}},function(e,t){e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<i.length;l++){var c=i[l];if(!s(c))return!1;var u=e[c],d=t[c];if(!1===(o=n?n.call(r,u,d,c):void 0)||void 0===o&&u!==d)return!1}return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(e){var t=e,n=[];return{setState:function(e){t=r({},t,e);for(var o=0;o<n.length;o++)n[o]()},getState:function(){return t},subscribe:function(e){return n.push(e),function(){var t=n.indexOf(e);n.splice(t,1)}}}}},function(e,t,n){e.exports={default:n(317),__esModule:!0}},function(e,t,n){n(318),n(324),e.exports=n(230).f("iterator")},function(e,t,n){"use strict";var r=n(319)(!0);n(249)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(221),o=n(220);e.exports=function(e){return function(t,n){var i,a,s=String(o(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(i=s.charCodeAt(l))<55296||i>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):i:e?s.slice(l,l+2):a-56320+(i-55296<<10)+65536}}},function(e,t,n){"use strict";var r=n(228),o=n(105),i=n(229),a={};n(68)(a,n(71)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(62),o=n(95),i=n(106);e.exports=n(46)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var r=n(44).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(63),o=n(226),i=n(222)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){n(325);for(var r=n(44),o=n(68),i=n(227),a=n(71)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var c=s[l],u=r[c],d=u&&u.prototype;d&&!d[a]&&o(d,a,c),i[c]=i.Array}},function(e,t,n){"use strict";var r=n(326),o=n(327),i=n(227),a=n(70);e.exports=n(249)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){e.exports={default:n(329),__esModule:!0}},function(e,t,n){n(330),n(335),n(336),n(337),e.exports=n(45).Symbol},function(e,t,n){"use strict";var r=n(44),o=n(63),i=n(46),a=n(67),s=n(250),l=n(331).KEY,c=n(96),u=n(223),d=n(229),f=n(108),p=n(71),h=n(230),v=n(231),g=n(332),m=n(333),y=n(95),b=n(69),_=n(226),w=n(70),S=n(219),C=n(105),O=n(228),x=n(334),T=n(252),k=n(225),D=n(62),E=n(106),I=T.f,P=D.f,M=x.f,R=r.Symbol,N=r.JSON,j=N&&N.stringify,A=p("_hidden"),L=p("toPrimitive"),z={}.propertyIsEnumerable,F=u("symbol-registry"),H=u("symbols"),W=u("op-symbols"),G=Object.prototype,U="function"==typeof R&&!!k.f,B=r.QObject,V=!B||!B.prototype||!B.prototype.findChild,K=i&&c((function(){return 7!=O(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=I(G,t);r&&delete G[t],P(e,t,n),r&&e!==G&&P(G,t,r)}:P,q=function(e){var t=H[e]=O(R.prototype);return t._k=e,t},Y=U&&"symbol"==typeof R.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof R},X=function(e,t,n){return e===G&&X(W,t,n),y(e),t=S(t,!0),y(n),o(H,t)?(n.enumerable?(o(e,A)&&e[A][t]&&(e[A][t]=!1),n=O(n,{enumerable:C(0,!1)})):(o(e,A)||P(e,A,C(1,{})),e[A][t]=!0),K(e,t,n)):P(e,t,n)},Z=function(e,t){y(e);for(var n,r=g(t=w(t)),o=0,i=r.length;i>o;)X(e,n=r[o++],t[n]);return e},$=function(e){var t=z.call(this,e=S(e,!0));return!(this===G&&o(H,e)&&!o(W,e))&&(!(t||!o(this,e)||!o(H,e)||o(this,A)&&this[A][e])||t)},J=function(e,t){if(e=w(e),t=S(t,!0),e!==G||!o(H,t)||o(W,t)){var n=I(e,t);return!n||!o(H,t)||o(e,A)&&e[A][t]||(n.enumerable=!0),n}},Q=function(e){for(var t,n=M(w(e)),r=[],i=0;n.length>i;)o(H,t=n[i++])||t==A||t==l||r.push(t);return r},ee=function(e){for(var t,n=e===G,r=M(n?W:w(e)),i=[],a=0;r.length>a;)!o(H,t=r[a++])||n&&!o(G,t)||i.push(H[t]);return i};U||(s((R=function(){if(this instanceof R)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===G&&t.call(W,n),o(this,A)&&o(this[A],e)&&(this[A][e]=!1),K(this,e,C(1,n))};return i&&V&&K(G,e,{configurable:!0,set:t}),q(e)}).prototype,"toString",(function(){return this._k})),T.f=J,D.f=X,n(251).f=x.f=Q,n(109).f=$,k.f=ee,i&&!n(107)&&s(G,"propertyIsEnumerable",$,!0),h.f=function(e){return q(p(e))}),a(a.G+a.W+a.F*!U,{Symbol:R});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)p(te[ne++]);for(var re=E(p.store),oe=0;re.length>oe;)v(re[oe++]);a(a.S+a.F*!U,"Symbol",{for:function(e){return o(F,e+="")?F[e]:F[e]=R(e)},keyFor:function(e){if(!Y(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){V=!0},useSimple:function(){V=!1}}),a(a.S+a.F*!U,"Object",{create:function(e,t){return void 0===t?O(e):Z(O(e),t)},defineProperty:X,defineProperties:Z,getOwnPropertyDescriptor:J,getOwnPropertyNames:Q,getOwnPropertySymbols:ee});var ie=c((function(){k.f(1)}));a(a.S+a.F*ie,"Object",{getOwnPropertySymbols:function(e){return k.f(_(e))}}),N&&a(a.S+a.F*(!U||c((function(){var e=R();return"[null]"!=j([e])||"{}"!=j({a:e})||"{}"!=j(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!Y(e))return m(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!Y(t))return t}),r[1]=t,j.apply(N,r)}}),R.prototype[L]||n(68)(R.prototype,L,R.prototype.valueOf),d(R,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(e,t,n){var r=n(108)("meta"),o=n(69),i=n(63),a=n(62).f,s=0,l=Object.isExtensible||function(){return!0},c=!n(96)((function(){return l(Object.preventExtensions({}))})),u=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},d=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[r].w},onFreeze:function(e){return c&&d.NEED&&l(e)&&!i(e,r)&&u(e),e}}},function(e,t,n){var r=n(106),o=n(225),i=n(109);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,s=n(e),l=i.f,c=0;s.length>c;)l.call(e,a=s[c++])&&t.push(a);return t}},function(e,t,n){var r=n(246);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(70),o=n(251).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t){},function(e,t,n){n(231)("asyncIterator")},function(e,t,n){n(231)("observable")},function(e,t,n){e.exports={default:n(339),__esModule:!0}},function(e,t,n){n(340),e.exports=n(45).Object.setPrototypeOf},function(e,t,n){var r=n(67);r(r.S,"Object",{setPrototypeOf:n(341).set})},function(e,t,n){var r=n(69),o=n(95),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(241)(Function.call,n(252).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t,n){e.exports={default:n(343),__esModule:!0}},function(e,t,n){n(344);var r=n(45).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){var r=n(67);r(r.S,"Object",{create:n(228)})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(346)),i=r(n(247)),a=["altKey","bubbles","cancelable","ctrlKey","currentTarget","eventPhase","metaKey","shiftKey","target","timeStamp","view","type"];function s(e){return null==e}var l=[{reg:/^key/,props:["char","charCode","key","keyCode","which"],fix:function(e,t){s(e.which)&&(e.which=s(t.charCode)?t.keyCode:t.charCode),void 0===e.metaKey&&(e.metaKey=e.ctrlKey)}},{reg:/^touch/,props:["touches","changedTouches","targetTouches"]},{reg:/^hashchange$/,props:["newURL","oldURL"]},{reg:/^gesturechange$/i,props:["rotation","scale"]},{reg:/^(mousewheel|DOMMouseScroll)$/,props:[],fix:function(e,t){var n=void 0,r=void 0,o=void 0,i=t.wheelDelta,a=t.axis,s=t.wheelDeltaY,l=t.wheelDeltaX,c=t.detail;i&&(o=i/120),c&&(o=0-(c%3==0?c/3:c)),void 0!==a&&(a===e.HORIZONTAL_AXIS?(r=0,n=0-o):a===e.VERTICAL_AXIS&&(n=0,r=o)),void 0!==s&&(r=s/120),void 0!==l&&(n=-1*l/120),n||r||(r=o),void 0!==n&&(e.deltaX=n),void 0!==r&&(e.deltaY=r),void 0!==o&&(e.delta=o)}},{reg:/^mouse|contextmenu|click|mspointer|(^DOMMouseScroll$)/i,props:["buttons","clientX","clientY","button","offsetX","relatedTarget","which","fromElement","toElement","offsetY","pageX","pageY","screenX","screenY"],fix:function(e,t){var n=void 0,r=void 0,o=void 0,i=e.target,a=t.button;return i&&s(e.pageX)&&!s(t.clientX)&&(r=(n=i.ownerDocument||document).documentElement,o=n.body,e.pageX=t.clientX+(r&&r.scrollLeft||o&&o.scrollLeft||0)-(r&&r.clientLeft||o&&o.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||o&&o.scrollTop||0)-(r&&r.clientTop||o&&o.clientTop||0)),e.which||void 0===a||(e.which=1&a?1:2&a?3:4&a?2:0),!e.relatedTarget&&e.fromElement&&(e.relatedTarget=e.fromElement===i?e.toElement:e.fromElement),e}}];function c(){return!0}function u(){return!1}function d(e){var t=e.type,n="function"==typeof e.stopPropagation||"boolean"==typeof e.cancelBubble;o.default.call(this),this.nativeEvent=e;var r=u;"defaultPrevented"in e?r=e.defaultPrevented?c:u:"getPreventDefault"in e?r=e.getPreventDefault()?c:u:"returnValue"in e&&(r=!1===e.returnValue?c:u),this.isDefaultPrevented=r;var i=[],s=void 0,d=void 0,f=a.concat();for(l.forEach((function(e){t.match(e.reg)&&(f=f.concat(e.props),e.fix&&i.push(e.fix))})),s=f.length;s;)this[d=f[--s]]=e[d];for(!this.target&&n&&(this.target=e.srcElement||document),this.target&&3===this.target.nodeType&&(this.target=this.target.parentNode),s=i.length;s;)(0,i[--s])(this,e);this.timeStamp=e.timeStamp||Date.now()}var f=o.default.prototype;(0,i.default)(d.prototype,f,{constructor:d,preventDefault:function(){var e=this.nativeEvent;e.preventDefault?e.preventDefault():e.returnValue=!1,f.preventDefault.call(this)},stopPropagation:function(){var e=this.nativeEvent;e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,f.stopPropagation.call(this)}}),t.default=d,e.exports=t.default},function(e,t,n){"use strict";function r(){return!1}function o(){return!0}function i(){this.timeStamp=Date.now(),this.target=void 0,this.currentTarget=void 0}Object.defineProperty(t,"__esModule",{value:!0}),i.prototype={isEventObject:1,constructor:i,isDefaultPrevented:r,isPropagationStopped:r,isImmediatePropagationStopped:r,preventDefault:function(){this.isDefaultPrevented=o},stopPropagation:function(){this.isPropagationStopped=o},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=o,this.stopPropagation()},halt:function(e){e?this.stopImmediatePropagation():this.stopPropagation(),this.preventDefault()}},t.default=i,e.exports=t.default},function(e,t,n){n(348);var r=n(45).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(67);r(r.S+r.F*!n(46),"Object",{defineProperty:n(62).f})},function(e,t,n){"use strict";var r=n(350);e.exports=function(e,t,n){n=n||{},9===t.nodeType&&(t=r.getWindow(t));var o=n.allowHorizontalScroll,i=n.onlyScrollIfNeeded,a=n.alignWithTop,s=n.alignWithLeft,l=n.offsetTop||0,c=n.offsetLeft||0,u=n.offsetBottom||0,d=n.offsetRight||0;o=void 0===o||o;var f=r.isWindow(t),p=r.offset(e),h=r.outerHeight(e),v=r.outerWidth(e),g=void 0,m=void 0,y=void 0,b=void 0,_=void 0,w=void 0,S=void 0,C=void 0,O=void 0,x=void 0;f?(S=t,x=r.height(S),O=r.width(S),C={left:r.scrollLeft(S),top:r.scrollTop(S)},_={left:p.left-C.left-c,top:p.top-C.top-l},w={left:p.left+v-(C.left+O)+d,top:p.top+h-(C.top+x)+u},b=C):(g=r.offset(t),m=t.clientHeight,y=t.clientWidth,b={left:t.scrollLeft,top:t.scrollTop},_={left:p.left-(g.left+(parseFloat(r.css(t,"borderLeftWidth"))||0))-c,top:p.top-(g.top+(parseFloat(r.css(t,"borderTopWidth"))||0))-l},w={left:p.left+v-(g.left+y+(parseFloat(r.css(t,"borderRightWidth"))||0))+d,top:p.top+h-(g.top+m+(parseFloat(r.css(t,"borderBottomWidth"))||0))+u}),_.top<0||w.top>0?!0===a?r.scrollTop(t,b.top+_.top):!1===a?r.scrollTop(t,b.top+w.top):_.top<0?r.scrollTop(t,b.top+_.top):r.scrollTop(t,b.top+w.top):i||((a=void 0===a||!!a)?r.scrollTop(t,b.top+_.top):r.scrollTop(t,b.top+w.top)),o&&(_.left<0||w.left>0?!0===s?r.scrollLeft(t,b.left+_.left):!1===s?r.scrollLeft(t,b.left+w.left):_.left<0?r.scrollLeft(t,b.left+_.left):r.scrollLeft(t,b.left+w.left):i||((s=void 0===s||!!s)?r.scrollLeft(t,b.left+_.left):r.scrollLeft(t,b.left+w.left)))}},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function i(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],r="scroll"+(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}function a(e){return i(e)}function s(e){return i(e,!0)}function l(e){var t=function(e){var t,n=void 0,r=void 0,o=e.ownerDocument,i=o.body,a=o&&o.documentElement;return n=(t=e.getBoundingClientRect()).left,r=t.top,{left:n-=a.clientLeft||i.clientLeft||0,top:r-=a.clientTop||i.clientTop||0}}(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=a(r),t.top+=s(r),t}var c=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),u=/^(top|right|bottom|left)$/,d="left",f=void 0;function p(e,t){for(var n=0;n<e.length;n++)t(e[n])}function h(e){return"border-box"===f(e,"boxSizing")}"undefined"!=typeof window&&(f=window.getComputedStyle?function(e,t,n){var r="",o=e.ownerDocument,i=n||o.defaultView.getComputedStyle(e,null);return i&&(r=i.getPropertyValue(t)||i[t]),r}:function(e,t){var n=e.currentStyle&&e.currentStyle[t];if(c.test(n)&&!u.test(t)){var r=e.style,o=r[d],i=e.runtimeStyle[d];e.runtimeStyle[d]=e.currentStyle[d],r[d]="fontSize"===t?"1em":n||0,n=r.pixelLeft+"px",r[d]=o,e.runtimeStyle[d]=i}return""===n?"auto":n});var v=["margin","border","padding"];function g(e,t,n){var r={},o=e.style,i=void 0;for(i in t)t.hasOwnProperty(i)&&(r[i]=o[i],o[i]=t[i]);for(i in n.call(e),t)t.hasOwnProperty(i)&&(o[i]=r[i])}function m(e,t,n){var r=0,o=void 0,i=void 0,a=void 0;for(i=0;i<t.length;i++)if(o=t[i])for(a=0;a<n.length;a++){var s;s="border"===o?o+n[a]+"Width":o+n[a],r+=parseFloat(f(e,s))||0}return r}function y(e){return null!=e&&e==e.window}var b={};function _(e,t,n){if(y(e))return"width"===t?b.viewportWidth(e):b.viewportHeight(e);if(9===e.nodeType)return"width"===t?b.docWidth(e):b.docHeight(e);var r="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.offsetWidth:e.offsetHeight,i=(f(e),h(e)),a=0;(null==o||o<=0)&&(o=void 0,(null==(a=f(e,t))||Number(a)<0)&&(a=e.style[t]||0),a=parseFloat(a)||0),void 0===n&&(n=i?1:-1);var s=void 0!==o||i,l=o||a;if(-1===n)return s?l-m(e,["border","padding"],r):a;if(s){var c=2===n?-m(e,["border"],r):m(e,["margin"],r);return l+(1===n?0:c)}return a+m(e,v.slice(n),r)}p(["Width","Height"],(function(e){b["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],b["viewport"+e](n))},b["viewport"+e]=function(t){var n="client"+e,r=t.document,o=r.body,i=r.documentElement[n];return"CSS1Compat"===r.compatMode&&i||o&&o[n]||i}}));var w={position:"absolute",visibility:"hidden",display:"block"};function S(e){var t=void 0,n=arguments;return 0!==e.offsetWidth?t=_.apply(void 0,n):g(e,w,(function(){t=_.apply(void 0,n)})),t}function C(e,t,n){var r=n;if("object"!==(void 0===t?"undefined":o(t)))return void 0!==r?("number"==typeof r&&(r+="px"),void(e.style[t]=r)):f(e,t);for(var i in t)t.hasOwnProperty(i)&&C(e,i,t[i])}p(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);b["outer"+t]=function(t,n){return t&&S(t,e,n?0:1)};var n="width"===e?["Left","Right"]:["Top","Bottom"];b[e]=function(t,r){return void 0===r?t&&S(t,e,-1):t?(f(t),h(t)&&(r+=m(t,["padding","border"],n)),C(t,e,r)):void 0}})),e.exports=r({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return l(e);!function(e,t){"static"===C(e,"position")&&(e.style.position="relative");var n=l(e),r={},o=void 0,i=void 0;for(i in t)t.hasOwnProperty(i)&&(o=parseFloat(C(e,i))||0,r[i]=o+t[i]-n[i]);C(e,r)}(e,t)},isWindow:y,each:p,css:C,clone:function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);if(e.overflow)for(var n in e)e.hasOwnProperty(n)&&(t.overflow[n]=e.overflow[n]);return t},scrollLeft:function(e,t){if(y(e)){if(void 0===t)return a(e);window.scrollTo(t,s(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(y(e)){if(void 0===t)return s(e);window.scrollTo(a(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},b)},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r),i=n(12),a=n.n(i),s=n(5),l=n.n(s),c=n(6),u=n.n(c),d=n(7),f=n.n(d),p=n(8),h=n.n(p),v=n(4),g=n.n(v),m=n(2),y=n.n(m),b=n(10),_=n(47),w=n(98),S=n.n(w),C=n(255),O=n.n(C),x=n(17),T=n.n(x),k=n(9);function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var __=E({},window.wp.i18n).__,I=E({},window.wp.data),P=(I.dispatch,I.select,function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(){return l()(this,i),r.apply(this,arguments)}return u()(i,[{key:"render",value:function(){return o.a.createElement("div",{className:"FormAction___1sP8u"},o.a.createElement("div",{className:"SaveVisualButton___21ieX"},o.a.createElement("button",{className:"button-primary",onClick:k.j},__("Save Visual","contact-form-7-skins"))," ",o.a.createElement("span",{className:"spinner cf7sSpinner ".concat("spinner___1Dvh1")})))}}]),i}(r.Component)),M=n(15),R=n.n(M),N={Toolbar:"Toolbar___2fibU",options:"options___ZXL8K"};function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var L=A({},window.wp.i18n),z=(L.sprintf,L.__),F=A({},window.wp.data),H=F.dispatch,W=F.select,G=function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(){return l()(this,i),r.apply(this,arguments)}return u()(i,[{key:"render",value:function(){A({},W("cf7svisual").getStates()).showTreeData;var e,t,n,r=H("cf7svisual"),i=r.clickVisualObject,a=r.clickFormOptions,s=A(A({},this.props),{},{styles:N});return o.a.createElement("div",{className:N.Toolbar},!(!(n=Object(k.g)("options"))||!n.showCopyPaste)&&o.a.createElement("span",{className:N.options,onClick:i,title:z("Visual Data","contact-form-7-skins"),"data-balloon":z("Copy & paste visual form data","contact-form-7-skins"),"data-balloon-pos":"up"},o.a.createElement("span",{className:"dashicons dashicons-media-code"}),z("Visual Data","contact-form-7-skins")),(t=!!(e=Object(k.g)("addons"))&&e.get("itemToolbar"),e&&t?t.map((function(e,t){return o.a.createElement(e,R()({key:t},s))})):""),function(){var e=!1;if(window.cf7svisual.addons){var t=window.cf7svisual.addons.get("edit");if(t)for(var n=0;n<t.length;++n)t[n].types&&t[n].types.indexOf("form-options")>-1&&(e=!0)}if(e)return o.a.createElement("span",{className:N.options,onClick:a,title:z("Form Options","contact-form-7-skins"),"data-balloon":z("Configure this forms options","contact-form-7-skins"),"data-balloon-pos":"up"},o.a.createElement("span",{className:"dashicons dashicons-admin-generic"}),z("Form Options","contact-form-7-skins"))}())}}]),i}(r.Component),U={Control:"Control___29PKf"};function B(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?B(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):B(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var K=V({},window.wp.i18n),q=(K.sprintf,K.__,V({},window.wp.data)),Y=(q.dispatch,q.select,function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(){return l()(this,i),r.apply(this,arguments)}return u()(i,[{key:"render",value:function(){return V(V({},this.props),{},{styles:U}),o.a.createElement("div",{className:U.Control},o.a.createElement(G,null))}}]),i}(r.Component)),X=n(19),Z=n.n(X),$=n(23);function J(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Q=function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(){return l()(this,i),r.apply(this,arguments)}return u()(i,[{key:"render",value:function(){var e=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?J(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):J(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},this.props),t=e.className,n=e.treeData,r=e.node,i=e.shortText,a=e.onChange,s=Z()(k.c).filter((function(e){return"cf7Tag"===e.cf7sSelectGroup})),l=[];Object($.walk)({treeData:n,getNodeKey:function(e){return e.treeIndex},callback:function(e){l.push(e.node.cf7sType)}});var c=s.map((function(e,t){var n=null;return["submit","recaptcha"].indexOf(e.cf7sType)>-1&&l.indexOf(e.cf7sType)>-1&&(n=!0),o.a.createElement("option",{key:t,disabled:n,value:e.cf7sType},i?e.cf7sType:e.cf7sSelectLabel)}));return o.a.createElement("select",{className:t,value:r.cf7sType,onChange:function(e){return a(e)}},c)}}]),i}(r.Component),ee={Edit:"Edit___2SinD",attribute:"attribute___EUiBx",row:"row___1pI2n",label:"label___16flW",value:"value___2de2H",control:"control___1gSJB",default:"default___1jdVv",range:"range___2wHRe",option:"option___1Wcks",description:"description___3W3aG",EditTypeSelect:"EditTypeSelect___o1X4F",visualData:"visualData___2DmGy"};function te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?te(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):te(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var re=ne({},window.wp.i18n).__,oe=ne({},window.wp.data),ie=oe.dispatch,ae=oe.select,se=function(e){f()(a,e);var t,n,i=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function a(){return l()(this,a),i.apply(this,arguments)}return u()(a,[{key:"render",value:function(){var e=ae("cf7svisual").getStates(),t=e.treeData,n=e.rowInfo,i=e.showTreeData,a=ie("cf7svisual"),s=a.closeEdit,l=a.changeNodeType,c=a.editAddOption,u=a.editOnChange,d=a.editRemoveOption,f=a.validateInput,p=a.validateVisualData,h=a.editOnKeyPress,v=ne({},n).node,g=void 0===v?{}:v,m=g.cf7sSelectLabel,y=void 0===m?"":m,_=g.cf7sSelectGroup,w=void 0===_?"":_,S=g.cf7sType,C=void 0===S?"":S,O=g.cf7Required,x=void 0!==O&&O,T=g.cf7Name,D=void 0===T?"":T,E=g.cf7TagType,I=void 0===E?"":E,P=g.cf7sLabel,M=void 0===P?"":P,N=g.cf7Values,j=void 0===N?"":N,A=g.cf7Min,L=void 0===A?"":A,z=g.cf7Max,F=void 0===z?"":z,H=g.cf7Limit,W=void 0===H?"":H,G=g.cf7FileTypes,U=void 0===G?"":G,B=g.cf7sContent,V=void 0===B?"":B,K=g.cf7Multiple,q=void 0===K?"":K,Y=g.cf7DefaultOn,X=void 0===Y?"":Y,$=g.cf7Exclusive,J=void 0===$?"":$,te=g.cf7sOther,oe=void 0!==te&&te,se=g.cf7Invert,le=void 0===se?"":se,ce=g.cf7IncludeBlank,ue=void 0===ce?"":ce,de=g.cf7Placeholder,fe=void 0===de?"":de,pe=g.cf7UseLabelElement,he=void 0===pe?"":pe,ve=g.cf7LabelFirst,ge=void 0===ve?"":ve,me=g.cf7AkismetAuthor,ye=void 0===me?"":me,be=g.cf7AkismetAuthorUrl,_e=void 0===be?"":be,we=g.cf7AkismetAuthorEmail,Se=void 0===we?"":we,Ce=g.cf7Content,Oe=void 0===Ce?"":Ce,xe=g.cf7Theme,Te=void 0===xe?"":xe,ke=g.cf7Size,De=void 0===ke?"":ke,Ee=g.cf7IdAttribute,Ie=void 0===Ee?"":Ee,Pe=g.cf7ClassAttribute,Me=void 0===Pe?"":Pe,Re=g.cf7Optional,Ne=void 0===Re?"":Re,je=g.cf7Options,Ae=void 0===je?null:je,Le=Object(k.g)("versions"),ze=Le&&Le.cf7?Le.cf7:"0",Fe=Object(k.g)("integration"),He=!(!Fe||!Fe.reCAPTCHA)&&Fe.reCAPTCHA,We=[];if(We.push("cf7Tag"===w&&["radio","acceptance","quiz","submit","recaptcha"].indexOf(C)<0&&o.a.createElement("div",{className:ee.attribute,key:"sectionTypeRequired"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"required"},re("Field Type","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},"number"===C&&o.a.createElement("select",{type:"text",id:"cf7TagType",name:"cf7TagType",value:I,onChange:u},o.a.createElement("option",{value:"number"},re("Spinbox","contact-form-7-skins")),o.a.createElement("option",{value:"range"},re("Slider","contact-form-7-skins"))),o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7Required",id:"cf7Required",value:x,checked:x,onChange:u})," ",re("Required","contact-form-7-skins")))),"cf7Tag"===w&&["submit","recaptcha"].indexOf(C)<0&&o.a.createElement("div",{className:ee.attribute,key:"sectionName"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"cf7Name"},re("Name","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},o.a.createElement("input",{type:"text",id:"cf7Name",name:"cf7Name",value:D,onBlur:f,onChange:u}))),["acceptance"].indexOf(C)>-1&&o.a.createElement("div",{className:ee.attribute,key:"sectionAcceptanceCondition"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"cf7AcceptanceContent"},re("Condition","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},o.a.createElement("input",{type:"text",id:"cf7AcceptanceContent",name:"cf7Content",value:Oe,onBlur:f,onChange:u}))),("fieldset"===C||"cf7Tag"===w)&&o.a.createElement("div",{className:ee.attribute,key:"sectionLabelLegend"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"cf7sLabel"},re("fieldset"===C?"Legend":"Label","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},o.a.createElement("input",{type:"text",id:"cf7sLabel",name:"cf7sLabel",value:M,onBlur:f,onChange:u}))),["text","email","url","tel","number","date","textarea"].indexOf(C)>-1&&o.a.createElement("div",{className:ee.attribute,key:"sectionValuesPlaceholder"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"cf7Values"},re("Default Value","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},o.a.createElement("input",{type:"text",id:"cf7Values",name:"cf7Values",value:j,onBlur:f,onChange:u}),o.a.createElement("br",null),o.a.createElement("br",null),o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7Placeholder",value:fe,checked:fe,onChange:u})," ",re("Use this text as the placeholder of the field","contact-form-7-skins")))),["text","email","url"].indexOf(C)>-1&&o.a.createElement("div",{className:ee.attribute,key:"sectionAkismet"},o.a.createElement("div",{className:ee.label},"Akismet"),o.a.createElement("div",{className:ee.value},"text"===C&&o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",id:"cf7AkismetAuthor",name:"cf7AkismetAuthor",checked:ye,value:ye,onChange:u})," ",re("This field requires author's name","contact-form-7-skins")),"email"===C&&o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",id:"cf7AkismetAuthorEmail",name:"cf7AkismetAuthorEmail",checked:Se,value:Se,onChange:u})," ",re("This field requires author's email address","contact-form-7-skins")),"url"===C&&o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",id:"cf7AkismetAuthorUrl",name:"cf7AkismetAuthorUrl",checked:_e,value:_e,onChange:u})," ",re("This field requires author's URL","contact-form-7-skins")))),("number"===C||"date"===C)&&o.a.createElement("div",{className:ee.attribute,key:"sectionRange"},o.a.createElement("div",{className:ee.label},re("Range","contact-form-7-skins")),o.a.createElement("div",{className:ee.value},o.a.createElement("div",{className:ee.row},o.a.createElement("label",{className:ee.range},re("Min","contact-form-7-skins"),o.a.createElement("input",{type:C,name:"cf7Min",value:L,onChange:u})),o.a.createElement("label",{className:ee.range},re("Max","contact-form-7-skins"),o.a.createElement("input",{type:C,name:"cf7Max",value:F,onChange:u}))))),"paragraph"===C&&o.a.createElement("div",{className:ee.attribute,key:"sectionParagraph"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"paragraph"},re("Content","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},o.a.createElement("textarea",{type:"text",id:"cf7sContent",name:"cf7sContent",value:V,onBlur:f,onChange:u,rows:"4"}),o.a.createElement("p",{className:ee.description},o.a.createElement("a",{href:"https://developer.mozilla.org/en-US/docs/Web/HTML/Content_categories#Phrasing_content",target:"_blank",rel:"noopener noreferrer"},re("See paragraph permitted phrasing content specification","contact-form-7-skins"))))),"acceptance"===C&&o.a.createElement("div",{className:ee.attribute,key:"sectionAcceptanceOptions"},o.a.createElement("div",{className:ee.label},re("Options","contact-form-7-skins")),o.a.createElement("div",{className:ee.value},!Object(k.k)(ze,"5.0.3")&&o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7DefaultOn",value:X,checked:X,onChange:u})," ",re("Make this checkbox checked by default","contact-form-7-skins"))),!Object(k.k)(ze,"5.0.3")&&o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7Invert",value:le,checked:le,onChange:u})," ",re("Make this work inversely","contact-form-7-skins"))),Object(k.k)(ze,"5.0.3")&&o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7Optional",value:Ne,checked:Ne,onChange:u})," ",re("Make this checkbox optional","contact-form-7-skins"))))),Ae&&o.a.createElement("div",{className:ee.attribute,key:"cf7Options"},o.a.createElement("div",{className:ee.label},re("Options","contact-form-7-skins")),o.a.createElement("div",{className:ee.value},o.a.createElement("div",{className:ee.row},o.a.createElement("div",{className:ee.option},("select"===C||"checkbox"===C||"radio"===C)&&"Option","quiz"===C&&"Question"),o.a.createElement("div",{className:ee.default},o.a.createElement("span",null,("select"===C||"checkbox"===C)&&"Checked","radio"===C&&re("Default","contact-form-7-skins"),"quiz"===C&&re("Answer","contact-form-7-skins"))),o.a.createElement("div",{className:ee.control},o.a.createElement("span",{className:"dashicons dashicons-plus",onClick:c}))),("radio"===C||"select"===C||"checkbox"===C||"quiz"===C)&&Ae&&Ae.map((function(e,t){return o.a.createElement("div",{className:ee.row,key:"option_".concat(t+1)},o.a.createElement("div",{className:ee.option},"quiz"!==C&&o.a.createElement("input",{type:"text",name:"value",value:e.value,onChange:function(e){u(e,"cf7Options",t)}}),"quiz"===C&&o.a.createElement("input",{type:"text",name:"question",value:e.question,onChange:function(e){u(e,"cf7Options",t)}})),o.a.createElement("div",{className:ee.default},"quiz"===C&&o.a.createElement("input",{name:"answer",type:"text",value:e.answer,onChange:function(e){u(e,"cf7Options",t)}}),"radio"===C&&o.a.createElement("input",{type:"radio",name:"isChecked",value:e.isChecked,checked:e.isChecked,onChange:function(e){u(e,"cf7Options",t)}}),("select"===C||"checkbox"===C)&&o.a.createElement("input",{type:"checkbox",name:"isChecked",value:e.isChecked,checked:e.isChecked,onChange:function(e){return function(e,t){if(J){var r=Ae.map((function(e,n){return e.isChecked=t===n,e}));n.node.cf7Options=r,u(null,null,null,n)}else u(e,"cf7Options",t)}(e,t)}})),o.a.createElement("div",{className:ee.control},o.a.createElement("span",{className:"dashicons dashicons-no",onClick:function(e){d(e,t)}})))})),o.a.createElement("br",null),("checkbox"===C||"radio"===C||"select"===C)&&o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7sOther",value:oe,checked:oe,onChange:function(e){return t=e.target.checked,r=Ae,t?r.push({value:re("Other","contact-form-7-skins"),isChecked:!1,other:!0}):r=Object(b.remove)(r,(function(e){return!e.other})),n.node.cf7sOther=t,n.node.cf7Options=r,void u(null,null,null,n);var t,r}})," ",re("Add Other as last option","contact-form-7-skins"))),"select"===C&&o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7Multiple",value:q,checked:q,onChange:u})," ",re("Allow multiple selections","contact-form-7-skins"))),"select"===C&&o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7IncludeBlank",value:ue,checked:ue,onChange:u})," ",re("Insert a blank item as the first option","contact-form-7-skins"))),("checkbox"===C||"radio"===C)&&o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7LabelFirst",value:ge,checked:ge,onChange:u})," ",re("Put a label first, a checkbox last","contact-form-7-skins"))),("checkbox"===C||"radio"===C)&&o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7UseLabelElement",value:he,checked:he,onChange:u})," ",re("Wrap each item with label element","contact-form-7-skins"))),"checkbox"===C&&o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7Exclusive",value:J,checked:J,onChange:function(e){return function(e){if(!1===J){var t=!1,r=Ae.map((function(e){return!0===e.isChecked&&(t?e.isChecked=!1:t=!0),e}));n.node.cf7Options=r,n.node.cf7Exclusive=!0,u(null,null,null,n)}else u(e)}(e)}})," ",re("Make checkboxes exclusive","contact-form-7-skins"))))),"file"===C&&o.a.createElement("div",{className:ee.attribute,key:"cf7Limit"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"cf7Limit"},re("File size limit (bytes)","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},o.a.createElement("input",{type:"text",id:"cf7Limit",name:"cf7Limit",value:W,onBlur:f,onChange:u}))),"file"===C&&o.a.createElement("div",{className:ee.attribute,key:"cf7FileTypes"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"cf7FileTypes"},re("Acceptable file types","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},o.a.createElement("input",{type:"text",id:"cf7FileTypes",name:"cf7FileTypes",value:U,onBlur:f,onChange:u}))),!!He&&"recaptcha"===C&&o.a.createElement("div",{key:"cf7reCAPTCHA"},o.a.createElement("div",{className:ee.attribute},o.a.createElement("div",{className:ee.label},re("Size","contact-form-7-skins")),o.a.createElement("div",{className:ee.value},o.a.createElement("label",null,o.a.createElement("input",{type:"radio",name:"cf7Size",value:"normal",checked:"normal"===De,onBlur:f,onChange:u})," ",re("Normal","contact-form-7-skins")),o.a.createElement("br",null),o.a.createElement("label",null,o.a.createElement("input",{type:"radio",name:"cf7Size",value:"compact",checked:"compact"===De,onBlur:f,onChange:u})," ",re("Compact","contact-form-7-skins")))),o.a.createElement("div",{className:ee.attribute},o.a.createElement("div",{className:ee.label},re("Theme","contact-form-7-skins")),o.a.createElement("div",{className:ee.value},o.a.createElement("label",null,o.a.createElement("input",{type:"radio",name:"cf7Theme",value:"light",checked:"light"===Te,onBlur:f,onChange:u})," ",re("Light","contact-form-7-skins")),o.a.createElement("br",null),o.a.createElement("label",null,o.a.createElement("input",{type:"radio",name:"cf7Theme",value:"dark",checked:"dark"===Te,onBlur:f,onChange:u})," ",re("Dark","contact-form-7-skins"))))),"cf7Tag"===w&&o.a.createElement("div",{className:ee.attribute,key:"cf7IdAttribute"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"cf7IdAttribute"},re("Id Attribute","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},o.a.createElement("input",{type:"text",id:"cf7IdAttribute",name:"cf7IdAttribute",value:Ie,onBlur:f,onChange:u}))),"cf7Tag"===w&&o.a.createElement("div",{className:ee.attribute,key:"cf7ClassAttribute"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"cf7ClassAttribute"},re("Class Attribute","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},o.a.createElement("input",{type:"text",id:"cf7ClassAttribute",name:"cf7ClassAttribute",value:Me,onBlur:f,onChange:u}))),"visual-data"===C&&o.a.createElement(r.Fragment,{key:"cf7sVisualData"},o.a.createElement("div",{className:ee.attribute},o.a.createElement("div",{className:ee.visualData},o.a.createElement("textarea",{id:"cf7sVisualContent",name:"cf7sVisualContent",onFocus:function(e){e.target.select()},onBlur:p,rows:"8",defaultValue:JSON.stringify(t)}))))),window.cf7svisual.addons){var Ge=window.cf7svisual.addons.get("edit");if(Ge)for(var Ue={editSections:We,styles:ee},Be=0;Be<Ge.length;++Be){var Ve=Ge[Be].callback;if(Ge[Be].types.indexOf(C)>-1)if(Ve.prototype.render){var Ke=Ve;We.push(o.a.createElement(Ke,R()({key:Be},Ue)))}else We=Ve(Ue)}}var qe=We.map((function(e){return e})),Ye=-1!==Z()(k.c).filter((function(e){return"cf7Tag"===e.cf7sSelectGroup})).map((function(e,t){return e.cf7sType})).indexOf(g.cf7sType);return o.a.createElement("div",{className:ee.Edit,onKeyPress:h},!Ye&&!!y&&o.a.createElement("h3",null,y),!!Ye&&o.a.createElement(Q,{className:ee.EditTypeSelect,treeData:window.cf7svisual.treeData||t,shortText:!1,node:g,onChange:function(e){return l(e,n)}}),qe,o.a.createElement("button",{onClick:s,className:"button-primary"},re(i?"Save":"Done","contact-form-7-skins")))}}]),a}(r.Component),le=n(43),ce=n.n(le),ue=n(1),de=n.n(ue),fe={rowContents:"rowContents___3iB2g",moveHandle:"moveHandle___2On_d",loadingHandle:"loadingHandle___uePqh",rowContentsStart:"rowContentsStart___2n85h",rowContentsEnd:"rowContentsEnd___oLTJa",InputItemIcon:"InputItemIcon___JxqHC",InputItemName:"InputItemName___HxQIb",InputItemLabel:"InputItemLabel___3dcB2",InputItemType:"InputItemType___2xtIK",InputItemToolbar:"InputItemToolbar___1ST1b",cf7Tag:"cf7Tag___3BY4n",cf7sItem:"cf7sItem___UAlIh",cf7Required:"cf7Required___1MQZO",edited:"edited___9Ghpt",acceptance:"acceptance___2vvco",checkbox:"checkbox___dphOv",date:"date___38wsY",email:"email___25IZy",file:"file___3y6lI",number:"number___1ii2H",quiz:"quiz___3z5td",radio:"radio___2Ehvs",select:"select___1UeCd",submit:"submit___31YyK",tel:"tel___1aHmy",text:"text___-_P4v",textarea:"textarea___2LMW1",url:"url___2cX9x",fieldset:"fieldset___2jlWN","list-ol":"list-ol___MMhKv","list-li":"list-li___vsxOd",paragraph:"paragraph___3XshD"},pe=["scaffoldBlockPxWidth","toggleChildrenVisibility","connectDragPreview","connectDragSource","isDragging","canDrop","canDrag","node","draggedNode","path","treeIndex","isSearchMatch","isSearchFocus","toolbar","className","style","didDrop","treeId","isOver","parentNode","rowDirection"];function he(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ve(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?he(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):he(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ge=ve({},window.wp.i18n).__,me=function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(){return l()(this,i),r.apply(this,arguments)}return u()(i,[{key:"render",value:function(){var e,t=this.props,n=t.scaffoldBlockPxWidth,r=t.toggleChildrenVisibility,i=t.connectDragPreview,a=t.connectDragSource,s=t.isDragging,l=t.canDrop,c=t.canDrag,u=t.node,d=t.draggedNode,f=t.path,p=t.treeIndex,h=t.isSearchMatch,v=t.isSearchFocus,g=t.toolbar,m=t.className,y=t.style,b=void 0===y?{}:y,_=t.didDrop,w=(t.treeId,t.isOver,t.parentNode,t.rowDirection),S=ce()(t,pe),C=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(" ")},O="rtl"===w?"rst__rtl":null,x=Object(k.g)("addons"),T=!!x&&x.get("beforeToolbar"),D=T?T.map((function(e){return e(u,fe)})):"",E=this.props.edited===u.cf7Name,I="paragraph"===u.cf7sType?u.cf7sContent:u.cf7sLabel,P=Object(k.g)("options"),M=!!P&&P.showName;c&&(e="function"==typeof u.children&&u.expanded?o.a.createElement("div",{className:C("rst__loadingHandle",fe.loadingHandle)},o.a.createElement("div",{className:"rst__loadingCircle"},Z()(new Array(12)).map((function(e,t){return o.a.createElement("div",{key:t,className:C("rst__loadingCirclePoint",O)})})))):a(o.a.createElement("div",{className:C("rst__moveHandle",fe.moveHandle),title:ge("Drag/Move","contact-form-7-skins")}),{dropEffect:"copy"}));var N=d&&Object($.isDescendant)(d,u),j=!_&&s;return o.a.createElement("div",R()({style:{height:"100%"}},S)," ",r&&!!u.children&&(u.children.length>0||"function"==typeof u.children)&&o.a.createElement("div",null,o.a.createElement("button",{type:"button","aria-label":u.expanded?ge("Collapse","contact-form-7-skins"):ge("Expand","contact-form-7-skins"),className:C(u.expanded?"rst__collapseButton":"rst__expandButton",O),style:{left:-.5*n},onClick:function(){return r({node:u,path:f,treeIndex:p})}}),u.expanded&&!s&&o.a.createElement("div",{style:{width:n},className:C("rst__lineChildren",O)})),o.a.createElement("div",{className:C("rst__rowWrapper",O)},i(o.a.createElement("div",{className:C("rst__row",j&&"rst__rowLandingPad",j&&!l&&"rst__rowCancelPad",h&&"rst__rowSearchMatch",v&&"rst__rowSearchFocus",O,m,fe.row,E?fe.edited:""),style:ve({opacity:N?.5:1},b)},e,o.a.createElement("div",{className:C("rst__rowContents",!c&&"rst__rowContentsDragDisabled",O,fe.rowContents,fe[u.cf7sType],fe[u.cf7sSelectGroup],u.cf7Required?fe.cf7Required:"")},o.a.createElement("div",{className:fe.rowContentsStart},o.a.createElement("span",{className:fe.InputItemIcon},o.a.createElement("span",{className:u.cf7sIcon})),!!M&&o.a.createElement("span",{className:fe.InputItemName},u.cf7Name),o.a.createElement("span",{className:fe.InputItemLabel},I)),o.a.createElement("div",{className:fe.rowContentsEnd},"cf7Tag"!==u.cf7sSelectGroup&&o.a.createElement("span",{className:fe.InputItemType},u.cf7sType+(u.cf7Required?"*":"")),D,g&&g.map((function(e,t){return o.a.createElement("div",{key:t,className:fe.InputItemToolbar},e)}))))))))}}]),i}(r.Component);me.propTypes={node:de.a.object.isRequired,path:de.a.arrayOf(de.a.oneOfType([de.a.string,de.a.number])).isRequired,treeIndex:de.a.number.isRequired,isSearchMatch:de.a.bool,isSearchFocus:de.a.bool,canDrag:de.a.bool,scaffoldBlockPxWidth:de.a.number.isRequired,toggleChildrenVisibility:de.a.func,buttons:de.a.arrayOf(de.a.node),className:de.a.string,style:de.a.object,connectDragPreview:de.a.func.isRequired,connectDragSource:de.a.func.isRequired,parentNode:de.a.shape({}),isDragging:de.a.bool.isRequired,didDrop:de.a.bool.isRequired,draggedNode:de.a.shape({}),isOver:de.a.bool.isRequired,canDrop:de.a.bool};var ye=me,be=n(14),_e=n.n(be),we=n(25),Se=n.n(we),Ce=n(42),Oe={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=Oe.F1&&t<=Oe.F12)return!1;switch(t){case Oe.ALT:case Oe.CAPS_LOCK:case Oe.CONTEXT_MENU:case Oe.CTRL:case Oe.DOWN:case Oe.END:case Oe.ESC:case Oe.HOME:case Oe.INSERT:case Oe.LEFT:case Oe.MAC_FF_META:case Oe.META:case Oe.NUMLOCK:case Oe.NUM_CENTER:case Oe.PAGE_DOWN:case Oe.PAGE_UP:case Oe.PAUSE:case Oe.PRINT_SCREEN:case Oe.RIGHT:case Oe.SHIFT:case Oe.UP:case Oe.WIN_KEY:case Oe.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=Oe.ZERO&&e<=Oe.NINE)return!0;if(e>=Oe.NUM_ZERO&&e<=Oe.NUM_MULTIPLY)return!0;if(e>=Oe.A&&e<=Oe.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case Oe.SPACE:case Oe.QUESTION_MARK:case Oe.NUM_PLUS:case Oe.NUM_MINUS:case Oe.NUM_PERIOD:case Oe.NUM_DIVISION:case Oe.SEMICOLON:case Oe.DASH:case Oe.EQUALS:case Oe.COMMA:case Oe.PERIOD:case Oe.SLASH:case Oe.APOSTROPHE:case Oe.SINGLE_QUOTE:case Oe.OPEN_SQUARE_BRACKET:case Oe.BACKSLASH:case Oe.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},xe=Oe;function Te(){var e=[].slice.call(arguments,0);return 1===e.length?e[0]:function(){for(var t=0;t<e.length;t++)e[t]&&e[t].apply&&e[t].apply(this,arguments)}}var ke=n(48),De=n.n(ke);function Ee(){}function Ie(e,t,n){var r=t||"";return e.key||r+"item_"+n}function Pe(e){return e+"-menu-"}function Me(e,t){var n=-1;o.a.Children.forEach(e,(function(e){n++,e&&e.type&&e.type.isMenuItemGroup?o.a.Children.forEach(e.props.children,(function(e){n++,t(e,n)})):t(e,n)}))}var Re=Se()({displayName:"DOMWrap",propTypes:{tag:de.a.string,hiddenClassName:de.a.string,visible:de.a.bool},getDefaultProps:function(){return{tag:"div"}},render:function(){var e=_e()({},this.props);e.visible||(e.className=e.className||"",e.className+=" "+e.hiddenClassName);var t=e.tag;return delete e.tag,delete e.hiddenClassName,delete e.visible,o.a.createElement(t,e)}});function Ne(e,t,n){var r,o=e.getState();e.setState({activeKey:_e()({},o.activeKey,(r={},r[t]=n,r))})}function je(e,t){var n=t,r=e.children,o=e.eventKey;if(n){var i=void 0;if(Me(r,(function(e,t){e&&!e.props.disabled&&n===Ie(e,o,t)&&(i=!0)})),i)return n}return n=null,e.defaultActiveFirst?(Me(r,(function(e,t){n||!e||e.props.disabled||(n=Ie(e,o,t))})),n):n}function Ae(e,t,n){n&&(void 0!==t?(this.instanceArray[e]=this.instanceArray[e]||[],this.instanceArray[e][t]=n):this.instanceArray[e]=n)}var Le={propTypes:{focusable:de.a.bool,multiple:de.a.bool,style:de.a.object,defaultActiveFirst:de.a.bool,visible:de.a.bool,activeKey:de.a.string,selectedKeys:de.a.arrayOf(de.a.string),defaultSelectedKeys:de.a.arrayOf(de.a.string),defaultOpenKeys:de.a.arrayOf(de.a.string),openKeys:de.a.arrayOf(de.a.string),children:de.a.any},getDefaultProps:function(){return{prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{}}},componentWillReceiveProps:function(e){var t="activeKey"in e?e.activeKey:this.getStore().getState().activeKey[this.getEventKey()],n=je(e,t);n!==t&&Ne(this.getStore(),this.getEventKey(),n)},shouldComponentUpdate:function(e){return this.props.visible||e.visible},componentWillMount:function(){this.instanceArray=[]},onKeyDown:function(e,t){var n=e.keyCode,r=void 0;if(this.getFlatInstanceArray().forEach((function(t){t&&t.props.active&&t.onKeyDown&&(r=t.onKeyDown(e))})),r)return 1;var o=null;return n!==xe.UP&&n!==xe.DOWN||(o=this.step(n===xe.UP?-1:1)),o?(e.preventDefault(),Ne(this.getStore(),this.getEventKey(),o.props.eventKey),"function"==typeof t&&t(o),1):void 0===o?(e.preventDefault(),Ne(this.getStore(),this.getEventKey(),null),1):void 0},onItemHover:function(e){var t=e.key,n=e.hover;Ne(this.getStore(),this.getEventKey(),n?t:null)},getEventKey:function(){return this.props.eventKey||"0-menu-"},getStore:function(){return this.store||this.props.store},getFlatInstanceArray:function(){var e=this.instanceArray;return e.some((function(e){return Array.isArray(e)}))&&(e=[],this.instanceArray.forEach((function(t){Array.isArray(t)?e.push.apply(e,t):e.push(t)})),this.instanceArray=e),e},renderCommonMenuItem:function(e,t,n,r){var i=this.getStore().getState(),a=this.props,s=Ie(e,a.eventKey,t),l=e.props,c=s===i.activeKey,u=_e()({mode:a.mode,level:a.level,inlineIndent:a.inlineIndent,renderMenuItem:this.renderMenuItem,rootPrefixCls:a.prefixCls,index:t,parentMenu:this,manualRef:l.disabled?void 0:Te(e.ref,Ae.bind(this,t,n)),eventKey:s,active:!l.disabled&&c,multiple:a.multiple,onClick:this.onClick,onItemHover:this.onItemHover,openTransitionName:this.getOpenTransitionName(),openAnimation:a.openAnimation,subMenuOpenDelay:a.subMenuOpenDelay,subMenuCloseDelay:a.subMenuCloseDelay,forceSubMenuRender:a.forceSubMenuRender,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect},r);return"inline"===a.mode&&(u.triggerSubMenuAction="click"),o.a.cloneElement(e,u)},renderRoot:function(e){var t=this;this.instanceArray=[];var n={className:De()(e.prefixCls,e.className,e.prefixCls+"-"+e.mode),role:"menu","aria-activedescendant":""};return e.id&&(n.id=e.id),e.focusable&&(n.tabIndex="0",n.onKeyDown=this.onKeyDown),o.a.createElement(Re,_e()({style:e.style,tag:"ul",hiddenClassName:e.prefixCls+"-hidden",visible:e.visible},n),o.a.Children.map(e.children,(function(n,r,o){return t.renderMenuItem(n,r,o,e.eventKey||"0-menu-")})))},step:function(e){var t=this.getFlatInstanceArray(),n=this.getStore().getState().activeKey[this.getEventKey()],r=t.length;if(!r)return null;e<0&&(t=t.concat().reverse());var o=-1;if(t.every((function(e,t){return!e||e.props.eventKey!==n||(o=t,!1)})),this.props.defaultActiveFirst||-1===o||(i=t.slice(o,r-1)).length&&!i.every((function(e){return!!e.props.disabled})))for(var i,a=(o+1)%r,s=a;;){var l=t[s];if(l&&!l.props.disabled)return l;if((s=(s+1+r)%r)===a)return null}}},ze=Se()({displayName:"Menu",propTypes:{defaultSelectedKeys:de.a.arrayOf(de.a.string),selectedKeys:de.a.arrayOf(de.a.string),defaultOpenKeys:de.a.arrayOf(de.a.string),openKeys:de.a.arrayOf(de.a.string),mode:de.a.oneOf(["horizontal","vertical","vertical-left","vertical-right","inline"]),getPopupContainer:de.a.func,onClick:de.a.func,onSelect:de.a.func,onDeselect:de.a.func,onDestroy:de.a.func,openTransitionName:de.a.string,openAnimation:de.a.oneOfType([de.a.string,de.a.object]),subMenuOpenDelay:de.a.number,subMenuCloseDelay:de.a.number,forceSubMenuRender:de.a.bool,triggerSubMenuAction:de.a.string,level:de.a.number,selectable:de.a.bool,multiple:de.a.bool,children:de.a.any},mixins:[Le],isRootMenu:!0,getDefaultProps:function(){return{selectable:!0,onClick:Ee,onSelect:Ee,onOpenChange:Ee,onDeselect:Ee,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover"}},getInitialState:function(){var e=this.props,t=e.defaultSelectedKeys,n=e.defaultOpenKeys;return"selectedKeys"in e&&(t=e.selectedKeys||[]),"openKeys"in e&&(n=e.openKeys||[]),this.store=Object(Ce.create)({selectedKeys:t,openKeys:n,activeKey:{"0-menu-":je(e,e.activeKey)}}),{}},componentWillReceiveProps:function(e){"selectedKeys"in e&&this.store.setState({selectedKeys:e.selectedKeys||[]}),"openKeys"in e&&this.store.setState({openKeys:e.openKeys||[]})},onSelect:function(e){var t=this.props;if(t.selectable){var n=this.store.getState().selectedKeys,r=e.key;n=t.multiple?n.concat([r]):[r],"selectedKeys"in t||this.store.setState({selectedKeys:n}),t.onSelect(_e()({},e,{selectedKeys:n}))}},onClick:function(e){this.props.onClick(e)},onOpenChange:function(e){var t=this.props,n=this.store.getState().openKeys.concat(),r=!1,o=function(e){var t=!1;if(e.open)(t=-1===n.indexOf(e.key))&&n.push(e.key);else{var o=n.indexOf(e.key);(t=-1!==o)&&n.splice(o,1)}r=r||t};Array.isArray(e)?e.forEach(o):o(e),r&&("openKeys"in this.props||this.store.setState({openKeys:n}),t.onOpenChange(n))},onDeselect:function(e){var t=this.props;if(t.selectable){var n=this.store.getState().selectedKeys.concat(),r=e.key,o=n.indexOf(r);-1!==o&&n.splice(o,1),"selectedKeys"in t||this.store.setState({selectedKeys:n}),t.onDeselect(_e()({},e,{selectedKeys:n}))}},getOpenTransitionName:function(){var e=this.props,t=e.openTransitionName,n=e.openAnimation;return t||"string"!=typeof n||(t=e.prefixCls+"-open-"+n),t},isInlineMode:function(){return"inline"===this.props.mode},lastOpenSubMenu:function(){var e=[],t=this.store.getState().openKeys;return t.length&&(e=this.getFlatInstanceArray().filter((function(e){return e&&-1!==t.indexOf(e.props.eventKey)}))),e[0]},renderMenuItem:function(e,t,n,r){if(!e)return null;var o=this.store.getState(),i={openKeys:o.openKeys,selectedKeys:o.selectedKeys,triggerSubMenuAction:this.props.triggerSubMenuAction,subMenuKey:r};return this.renderCommonMenuItem(e,t,n,i)},render:function(){var e=_e()({},this.props);return e.className+=" "+e.prefixCls+"-root",o.a.createElement(Ce.Provider,{store:this.store},this.renderRoot(e))}}),Fe=n(21),He=n.n(Fe),We=n(18),Ge=n.n(We),Ue=n(22),Be=n.n(Ue),Ve=n(24);function Ke(e,t){for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}var qe=n(257),Ye=n.n(qe);function Xe(e,t,n,r){var o=a.a.unstable_batchedUpdates?function(e){a.a.unstable_batchedUpdates(n,e)}:n;return Ye()(e,t,o,r)}function Ze(e){return(Ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Je(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Qe(e,t){return(Qe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function et(e,t){return!t||"object"!==Ze(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function tt(e){return(tt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var nt=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qe(e,t)}(s,e);var t,n,r,o,i=(r=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=tt(r);if(o){var n=tt(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return et(this,e)});function s(){var e;$e(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=i.call.apply(i,[this].concat(n))).removeContainer=function(){e.container&&(a.a.unmountComponentAtNode(e.container),e.container.parentNode.removeChild(e.container),e.container=null)},e.renderComponent=function(t,n){var r=e.props,o=r.visible,i=r.getComponent,s=r.forceRender,l=r.getContainer,c=r.parent;(o||c._component||s)&&(e.container||(e.container=l()),a.a.unstable_renderSubtreeIntoContainer(c,i(t),e.container,(function(){n&&n.call(this)})))},e}return t=s,(n=[{key:"componentDidMount",value:function(){this.props.autoMount&&this.renderComponent()}},{key:"componentDidUpdate",value:function(){this.props.autoMount&&this.renderComponent()}},{key:"componentWillUnmount",value:function(){this.props.autoDestroy&&this.removeContainer()}},{key:"render",value:function(){return this.props.children({renderComponent:this.renderComponent,removeContainer:this.removeContainer})}}])&&Je(t.prototype,n),s}(o.a.Component);function rt(e){return(rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ot(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function it(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function at(e,t){return(at=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function st(e,t){return!t||"object"!==rt(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function lt(e){return(lt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}nt.propTypes={autoMount:de.a.bool,autoDestroy:de.a.bool,visible:de.a.bool,forceRender:de.a.bool,parent:de.a.any,getComponent:de.a.func.isRequired,getContainer:de.a.func.isRequired,children:de.a.func.isRequired},nt.defaultProps={autoMount:!0,autoDestroy:!0,forceRender:!1};var ct=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&at(e,t)}(s,e);var t,n,r,o,i=(r=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=lt(r);if(o){var n=lt(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return st(this,e)});function s(){return ot(this,s),i.apply(this,arguments)}return t=s,(n=[{key:"componentDidMount",value:function(){this.createContainer()}},{key:"componentDidUpdate",value:function(e){var t=this.props.didUpdate;t&&t(e)}},{key:"componentWillUnmount",value:function(){this.removeContainer()}},{key:"createContainer",value:function(){this._container=this.props.getContainer(),this.forceUpdate()}},{key:"removeContainer",value:function(){this._container&&this._container.parentNode.removeChild(this._container)}},{key:"render",value:function(){return this._container?a.a.createPortal(this.props.children,this._container):null}}])&&it(t.prototype,n),s}(o.a.Component);function ut(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function dt(e,t){this[e]=t}ct.propTypes={getContainer:de.a.func.isRequired,children:de.a.node.isRequired,didUpdate:de.a.func};var ft,pt=n(72),ht=n.n(pt);function vt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function gt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vt(Object(n),!0).forEach((function(t){yt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function mt(e){return(mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function yt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var bt={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function _t(){if(void 0!==ft)return ft;ft="";var e=document.createElement("p").style;for(var t in bt)t+"Transform"in e&&(ft=t);return ft}function wt(){return _t()?"".concat(_t(),"TransitionProperty"):"transitionProperty"}function St(){return _t()?"".concat(_t(),"Transform"):"transform"}function Ct(e,t){var n=wt();n&&(e.style[n]=t,"transitionProperty"!==n&&(e.style.transitionProperty=t))}function Ot(e,t){var n=St();n&&(e.style[n]=t,"transform"!==n&&(e.style.transform=t))}var xt,Tt=/matrix\((.*)\)/,kt=/matrix3d\((.*)\)/;function Dt(e){var t=e.style.display;e.style.display="none",e.offsetHeight,e.style.display=t}function Et(e,t,n){var r=n;if("object"!==mt(t))return void 0!==r?("number"==typeof r&&(r="".concat(r,"px")),void(e.style[t]=r)):xt(e,t);for(var o in t)t.hasOwnProperty(o)&&Et(e,o,t[o])}function It(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}function Pt(e){return It(e)}function Mt(e){return It(e,!0)}function Rt(e){var t=function(e){var t,n,r,o=e.ownerDocument,i=o.body,a=o&&o.documentElement;return n=(t=e.getBoundingClientRect()).left,r=t.top,{left:n-=a.clientLeft||i.clientLeft||0,top:r-=a.clientTop||i.clientTop||0}}(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=Pt(r),t.top+=Mt(r),t}function Nt(e){return null!=e&&e==e.window}function jt(e){return Nt(e)?e.document:9===e.nodeType?e:e.ownerDocument}var At=new RegExp("^(".concat(/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,")(?!px)[a-z%]+$"),"i"),Lt=/^(top|right|bottom|left)$/,zt="left";function Ft(e,t){return"left"===e?t.useCssRight?"right":e:t.useCssBottom?"bottom":e}function Ht(e){return"left"===e?"right":"right"===e?"left":"top"===e?"bottom":"bottom"===e?"top":void 0}function Wt(e,t,n){"static"===Et(e,"position")&&(e.style.position="relative");var r=-999,o=-999,i=Ft("left",n),a=Ft("top",n),s=Ht(i),l=Ht(a);"left"!==i&&(r=999),"top"!==a&&(o=999);var c,u="",d=Rt(e);("left"in t||"top"in t)&&(u=(c=e).style.transitionProperty||c.style[wt()]||"",Ct(e,"none")),"left"in t&&(e.style[s]="",e.style[i]="".concat(r,"px")),"top"in t&&(e.style[l]="",e.style[a]="".concat(o,"px")),Dt(e);var f=Rt(e),p={};for(var h in t)if(t.hasOwnProperty(h)){var v=Ft(h,n),g="left"===h?r:o,m=d[h]-f[h];p[v]=v===h?g+m:g-m}Et(e,p),Dt(e),("left"in t||"top"in t)&&Ct(e,u);var y={};for(var b in t)if(t.hasOwnProperty(b)){var _=Ft(b,n),w=t[b]-d[b];y[_]=b===_?p[_]+w:p[_]-w}Et(e,y)}function Gt(e,t){for(var n=0;n<e.length;n++)t(e[n])}function Ut(e){return"border-box"===xt(e,"boxSizing")}"undefined"!=typeof window&&(xt=window.getComputedStyle?function(e,t,n){var r=n,o="",i=jt(e);return(r=r||i.defaultView.getComputedStyle(e,null))&&(o=r.getPropertyValue(t)||r[t]),o}:function(e,t){var n=e.currentStyle&&e.currentStyle[t];if(At.test(n)&&!Lt.test(t)){var r=e.style,o=r[zt],i=e.runtimeStyle[zt];e.runtimeStyle[zt]=e.currentStyle[zt],r[zt]="fontSize"===t?"1em":n||0,n=r.pixelLeft+"px",r[zt]=o,e.runtimeStyle[zt]=i}return""===n?"auto":n});var Bt=["margin","border","padding"];function Vt(e,t,n){var r,o={},i=e.style;for(r in t)t.hasOwnProperty(r)&&(o[r]=i[r],i[r]=t[r]);for(r in n.call(e),t)t.hasOwnProperty(r)&&(i[r]=o[r])}function Kt(e,t,n){var r,o,i,a=0;for(o=0;o<t.length;o++)if(r=t[o])for(i=0;i<n.length;i++){var s;s="border"===r?"".concat(r).concat(n[i],"Width"):r+n[i],a+=parseFloat(xt(e,s))||0}return a}var qt={getParent:function(e){var t=e;do{t=11===t.nodeType&&t.host?t.host:t.parentNode}while(t&&1!==t.nodeType&&9!==t.nodeType);return t}};function Yt(e,t,n){var r=n;if(Nt(e))return"width"===t?qt.viewportWidth(e):qt.viewportHeight(e);if(9===e.nodeType)return"width"===t?qt.docWidth(e):qt.docHeight(e);var o="width"===t?["Left","Right"]:["Top","Bottom"],i="width"===t?e.getBoundingClientRect().width:e.getBoundingClientRect().height,a=Ut(e),s=0;(null==i||i<=0)&&(i=void 0,(null==(s=xt(e,t))||Number(s)<0)&&(s=e.style[t]||0),s=parseFloat(s)||0),void 0===r&&(r=a?1:-1);var l=void 0!==i||a,c=i||s;return-1===r?l?c-Kt(e,["border","padding"],o):s:l?1===r?c:c+(2===r?-Kt(e,["border"],o):Kt(e,["margin"],o)):s+Kt(e,Bt.slice(r),o)}Gt(["Width","Height"],(function(e){qt["doc".concat(e)]=function(t){var n=t.document;return Math.max(n.documentElement["scroll".concat(e)],n.body["scroll".concat(e)],qt["viewport".concat(e)](n))},qt["viewport".concat(e)]=function(t){var n="client".concat(e),r=t.document,o=r.body,i=r.documentElement[n];return"CSS1Compat"===r.compatMode&&i||o&&o[n]||i}}));var Xt={position:"absolute",visibility:"hidden",display:"block"};function Zt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,o=t[0];return 0!==o.offsetWidth?r=Yt.apply(void 0,t):Vt(o,Xt,(function(){r=Yt.apply(void 0,t)})),r}function $t(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}Gt(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);qt["outer".concat(t)]=function(t,n){return t&&Zt(t,e,n?0:1)};var n="width"===e?["Left","Right"]:["Top","Bottom"];qt[e]=function(t,r){var o=r;return void 0!==o?t?(Ut(t)&&(o+=Kt(t,["padding","border"],n)),Et(t,e,o)):void 0:t&&Zt(t,e,-1)}}));var Jt={getWindow:function(e){if(e&&e.document&&e.setTimeout)return e;var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},getDocument:jt,offset:function(e,t,n){if(void 0===t)return Rt(e);!function(e,t,n){if(n.ignoreShake){var r=Rt(e),o=r.left.toFixed(0),i=r.top.toFixed(0),a=t.left.toFixed(0),s=t.top.toFixed(0);if(o===a&&i===s)return}n.useCssRight||n.useCssBottom?Wt(e,t,n):n.useCssTransform&&St()in document.body.style?function(e,t){var n=Rt(e),r=function(e){var t=window.getComputedStyle(e,null),n=t.getPropertyValue("transform")||t.getPropertyValue(St());if(n&&"none"!==n){var r=n.replace(/[^0-9\-.,]/g,"").split(",");return{x:parseFloat(r[12]||r[4],0),y:parseFloat(r[13]||r[5],0)}}return{x:0,y:0}}(e),o={x:r.x,y:r.y};"left"in t&&(o.x=r.x+t.left-n.left),"top"in t&&(o.y=r.y+t.top-n.top),function(e,t){var n=window.getComputedStyle(e,null),r=n.getPropertyValue("transform")||n.getPropertyValue(St());if(r&&"none"!==r){var o,i=r.match(Tt);i?((o=(i=i[1]).split(",").map((function(e){return parseFloat(e,10)})))[4]=t.x,o[5]=t.y,Ot(e,"matrix(".concat(o.join(","),")"))):((o=r.match(kt)[1].split(",").map((function(e){return parseFloat(e,10)})))[12]=t.x,o[13]=t.y,Ot(e,"matrix3d(".concat(o.join(","),")")))}else Ot(e,"translateX(".concat(t.x,"px) translateY(").concat(t.y,"px) translateZ(0)"))}(e,o)}(e,t):Wt(e,t,n)}(e,t,n||{})},isWindow:Nt,each:Gt,css:Et,clone:function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);if(e.overflow)for(t in e)e.hasOwnProperty(t)&&(n.overflow[t]=e.overflow[t]);return n},mix:$t,getWindowScrollLeft:function(e){return Pt(e)},getWindowScrollTop:function(e){return Mt(e)},merge:function(){for(var e={},t=0;t<arguments.length;t++)Jt.mix(e,t<0||arguments.length<=t?void 0:arguments[t]);return e},viewportWidth:0,viewportHeight:0};$t(Jt,qt);var Qt=Jt.getParent;function en(e){if(Jt.isWindow(e)||9===e.nodeType)return null;var t,n=Jt.getDocument(e).body,r=Jt.css(e,"position");if("fixed"!==r&&"absolute"!==r)return"html"===e.nodeName.toLowerCase()?null:Qt(e);for(t=Qt(e);t&&t!==n&&9!==t.nodeType;t=Qt(t))if("static"!==(r=Jt.css(t,"position")))return t;return null}var tn=Jt.getParent;function nn(e,t){for(var n={left:0,right:1/0,top:0,bottom:1/0},r=en(e),o=Jt.getDocument(e),i=o.defaultView||o.parentWindow,a=o.body,s=o.documentElement;r;){if(-1!==navigator.userAgent.indexOf("MSIE")&&0===r.clientWidth||r===a||r===s||"visible"===Jt.css(r,"overflow")){if(r===a||r===s)break}else{var l=Jt.offset(r);l.left+=r.clientLeft,l.top+=r.clientTop,n.top=Math.max(n.top,l.top),n.right=Math.min(n.right,l.left+r.clientWidth),n.bottom=Math.min(n.bottom,l.top+r.clientHeight),n.left=Math.max(n.left,l.left)}r=en(r)}var c=null;Jt.isWindow(e)||9===e.nodeType||(c=e.style.position,"absolute"===Jt.css(e,"position")&&(e.style.position="fixed"));var u=Jt.getWindowScrollLeft(i),d=Jt.getWindowScrollTop(i),f=Jt.viewportWidth(i),p=Jt.viewportHeight(i),h=s.scrollWidth,v=s.scrollHeight,g=window.getComputedStyle(a);if("hidden"===g.overflowX&&(h=i.innerWidth),"hidden"===g.overflowY&&(v=i.innerHeight),e.style&&(e.style.position=c),t||function(e){if(Jt.isWindow(e)||9===e.nodeType)return!1;var t=Jt.getDocument(e),n=t.body,r=null;for(r=tn(e);r&&r!==n&&r!==t;r=tn(r))if("fixed"===Jt.css(r,"position"))return!0;return!1}(e))n.left=Math.max(n.left,u),n.top=Math.max(n.top,d),n.right=Math.min(n.right,u+f),n.bottom=Math.min(n.bottom,d+p);else{var m=Math.max(h,u+f);n.right=Math.min(n.right,m);var y=Math.max(v,d+p);n.bottom=Math.min(n.bottom,y)}return n.top>=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function rn(e){var t,n,r;if(Jt.isWindow(e)||9===e.nodeType){var o=Jt.getWindow(e);t={left:Jt.getWindowScrollLeft(o),top:Jt.getWindowScrollTop(o)},n=Jt.viewportWidth(o),r=Jt.viewportHeight(o)}else t=Jt.offset(e),n=Jt.outerWidth(e),r=Jt.outerHeight(e);return t.width=n,t.height=r,t}function on(e,t){var n=t.charAt(0),r=t.charAt(1),o=e.width,i=e.height,a=e.left,s=e.top;return"c"===n?s+=i/2:"b"===n&&(s+=i),"c"===r?a+=o/2:"r"===r&&(a+=o),{left:a,top:s}}function an(e,t,n,r,o){var i=on(t,n[1]),a=on(e,n[0]),s=[a.left-i.left,a.top-i.top];return{left:Math.round(e.left-s[0]+r[0]-o[0]),top:Math.round(e.top-s[1]+r[1]-o[1])}}function sn(e,t,n){return e.left<n.left||e.left+t.width>n.right}function ln(e,t,n){return e.top<n.top||e.top+t.height>n.bottom}function cn(e,t,n){var r=[];return Jt.each(e,(function(e){r.push(e.replace(t,(function(e){return n[e]})))})),r}function un(e,t){return e[t]=-e[t],e}function dn(e,t){return(/%$/.test(e)?parseInt(e.substring(0,e.length-1),10)/100*t:parseInt(e,10))||0}function fn(e,t){e[0]=dn(e[0],t.width),e[1]=dn(e[1],t.height)}function pn(e,t,n,r){var o=n.points,i=n.offset||[0,0],a=n.targetOffset||[0,0],s=n.overflow,l=n.source||e;i=[].concat(i),a=[].concat(a);var c={},u=0,d=nn(l,!(!(s=s||{})||!s.alwaysByViewport)),f=rn(l);fn(i,f),fn(a,t);var p=an(f,t,o,i,a),h=Jt.merge(f,p);if(d&&(s.adjustX||s.adjustY)&&r){if(s.adjustX&&sn(p,f,d)){var v=cn(o,/[lr]/gi,{l:"r",r:"l"}),g=un(i,0),m=un(a,0);(function(e,t,n){return e.left>n.right||e.left+t.width<n.left})(an(f,t,v,g,m),f,d)||(u=1,o=v,i=g,a=m)}if(s.adjustY&&ln(p,f,d)){var y=cn(o,/[tb]/gi,{t:"b",b:"t"}),b=un(i,1),_=un(a,1);(function(e,t,n){return e.top>n.bottom||e.top+t.height<n.top})(an(f,t,y,b,_),f,d)||(u=1,o=y,i=b,a=_)}u&&(p=an(f,t,o,i,a),Jt.mix(h,p));var w=sn(p,f,d),S=ln(p,f,d);if(w||S){var C=o;w&&(C=cn(o,/[lr]/gi,{l:"r",r:"l"})),S&&(C=cn(o,/[tb]/gi,{t:"b",b:"t"})),o=C,i=n.offset||[0,0],a=n.targetOffset||[0,0]}c.adjustX=s.adjustX&&w,c.adjustY=s.adjustY&&S,(c.adjustX||c.adjustY)&&(h=function(e,t,n,r){var o=Jt.clone(e),i={width:t.width,height:t.height};return r.adjustX&&o.left<n.left&&(o.left=n.left),r.resizeWidth&&o.left>=n.left&&o.left+i.width>n.right&&(i.width-=o.left+i.width-n.right),r.adjustX&&o.left+i.width>n.right&&(o.left=Math.max(n.right-i.width,n.left)),r.adjustY&&o.top<n.top&&(o.top=n.top),r.resizeHeight&&o.top>=n.top&&o.top+i.height>n.bottom&&(i.height-=o.top+i.height-n.bottom),r.adjustY&&o.top+i.height>n.bottom&&(o.top=Math.max(n.bottom-i.height,n.top)),Jt.mix(o,i)}(p,f,d,c))}return h.width!==f.width&&Jt.css(l,"width",Jt.width(l)+h.width-f.width),h.height!==f.height&&Jt.css(l,"height",Jt.height(l)+h.height-f.height),Jt.offset(l,{left:h.left,top:h.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:o,offset:i,targetOffset:a,overflow:c}}function hn(e,t,n){var r=n.target||t;return pn(e,rn(r),n,!function(e,t){var n=nn(e,t),r=rn(e);return!n||r.left+r.width<=n.left||r.top+r.height<=n.top||r.left>=n.right||r.top>=n.bottom}(r,n.overflow&&n.overflow.alwaysByViewport))}function vn(e,t,n){var r,o,i=Jt.getDocument(e),a=i.defaultView||i.parentWindow,s=Jt.getWindowScrollLeft(a),l=Jt.getWindowScrollTop(a),c=Jt.viewportWidth(a),u=Jt.viewportHeight(a),d={left:r="pageX"in t?t.pageX:s+t.clientX,top:o="pageY"in t?t.pageY:l+t.clientY,width:0,height:0},f=r>=0&&r<=s+c&&o>=0&&o<=l+u,p=[n.points[0],"cc"];return pn(e,d,gt(gt({},n),{},{points:p}),f)}function gn(e){return e&&"object"==typeof e&&e.window===e}function mn(e,t){var n=Math.floor(e),r=Math.floor(t);return Math.abs(n-r)<=1}function yn(e,t){e!==document.activeElement&&Ke(t,e)&&e.focus()}function bn(e){return"function"==typeof e&&e?e():null}function wn(e){return"object"==typeof e&&e?e:null}hn.__getOffsetParent=en,hn.__getVisibleRectForElement=nn;var Sn=function(e){function t(){var e,n,r,o;He()(this,t);for(var i=arguments.length,s=Array(i),l=0;l<i;l++)s[l]=arguments[l];return n=r=Ge()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),r.forceAlign=function(){var e=r.props,t=e.disabled,n=e.target,o=e.align,i=e.onAlign;if(!t&&n){var s=a.a.findDOMNode(r),l=void 0,c=bn(n),u=wn(n),d=document.activeElement;c?l=hn(s,c,o):u&&(l=vn(s,u,o)),yn(d,s),i&&i(s,l)}},o=n,Ge()(r,o)}return Be()(t,e),ht()(t,[{key:"componentDidMount",value:function(){var e=this.props;this.forceAlign(),!e.disabled&&e.monitorWindowResize&&this.startMonitorWindowResize()}},{key:"componentDidUpdate",value:function(e){var t,n,r=!1,o=this.props;if(!o.disabled){var i=a.a.findDOMNode(this),s=i?i.getBoundingClientRect():null;if(e.disabled)r=!0;else{var l=bn(e.target),c=bn(o.target),u=wn(e.target),d=wn(o.target);gn(l)&&gn(c)?r=!1:(l!==c||l&&!c&&d||u&&d&&c||d&&!((t=u)===(n=d)||t&&n&&("pageX"in n&&"pageY"in n?t.pageX===n.pageX&&t.pageY===n.pageY:"clientX"in n&&"clientY"in n&&t.clientX===n.clientX&&t.clientY===n.clientY)))&&(r=!0);var f=this.sourceRect||{};r||!i||mn(f.width,s.width)&&mn(f.height,s.height)||(r=!0)}this.sourceRect=s}r&&this.forceAlign(),o.monitorWindowResize&&!o.disabled?this.startMonitorWindowResize():this.stopMonitorWindowResize()}},{key:"componentWillUnmount",value:function(){this.stopMonitorWindowResize()}},{key:"startMonitorWindowResize",value:function(){this.resizeHandler||(this.bufferMonitor=function(e,t){var n=void 0;function r(){n&&(clearTimeout(n),n=null)}function o(){r(),n=setTimeout(e,t)}return o.clear=r,o}(this.forceAlign,this.props.monitorBufferTime),this.resizeHandler=Xe(window,"resize",this.bufferMonitor))}},{key:"stopMonitorWindowResize",value:function(){this.resizeHandler&&(this.bufferMonitor.clear(),this.resizeHandler.remove(),this.resizeHandler=null)}},{key:"render",value:function(){var e=this,t=this.props,n=t.childrenProps,r=t.children,i=o.a.Children.only(r);if(n){var a={};return Object.keys(n).forEach((function(t){a[t]=e.props[n[t]]})),o.a.cloneElement(i,a)}return i}}]),t}(r.Component);Sn.propTypes={childrenProps:de.a.object,align:de.a.object.isRequired,target:de.a.oneOfType([de.a.func,de.a.shape({clientX:de.a.number,clientY:de.a.number,pageX:de.a.number,pageY:de.a.number})]),onAlign:de.a.func,monitorBufferTime:de.a.number,monitorWindowResize:de.a.bool,disabled:de.a.bool,children:de.a.any},Sn.defaultProps={target:function(){return window},monitorBufferTime:50,monitorWindowResize:!1,disabled:!1};var Cn=Sn,On=n(258),xn=n.n(On);function Tn(e){var t=[];return o.a.Children.forEach(e,(function(e){t.push(e)})),t}function kn(e,t){var n=null;return e&&e.forEach((function(e){n||e&&e.key===t&&(n=e)})),n}function Dn(e,t,n){var r=null;return e&&e.forEach((function(e){if(e&&e.key===t&&e.props[n]){if(r)throw new Error("two child with same key for <rc-animate> children");r=e}})),r}var En=n(110),In=n.n(En),Pn={transitionstart:{transition:"transitionstart",WebkitTransition:"webkitTransitionStart",MozTransition:"mozTransitionStart",OTransition:"oTransitionStart",msTransition:"MSTransitionStart"},animationstart:{animation:"animationstart",WebkitAnimation:"webkitAnimationStart",MozAnimation:"mozAnimationStart",OAnimation:"oAnimationStart",msAnimation:"MSAnimationStart"}},Mn={transitionend:{transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"mozTransitionEnd",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd"},animationend:{animation:"animationend",WebkitAnimation:"webkitAnimationEnd",MozAnimation:"mozAnimationEnd",OAnimation:"oAnimationEnd",msAnimation:"MSAnimationEnd"}},Rn=[],Nn=[];function jn(e,t,n){e.addEventListener(t,n,!1)}function An(e,t,n){e.removeEventListener(t,n,!1)}"undefined"!=typeof window&&"undefined"!=typeof document&&function(){var e=document.createElement("div").style;function t(t,n){for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];for(var i in o)if(i in e){n.push(o[i]);break}}}"AnimationEvent"in window||(delete Pn.animationstart.animation,delete Mn.animationend.animation),"TransitionEvent"in window||(delete Pn.transitionstart.transition,delete Mn.transitionend.transition),t(Pn,Rn),t(Mn,Nn)}();var Ln=Nn,zn=function(e,t){0!==Nn.length?Nn.forEach((function(n){jn(e,n,t)})):window.setTimeout(t,0)},Fn=function(e,t){0!==Nn.length&&Nn.forEach((function(n){An(e,n,t)}))},Hn=n(259),Wn=n.n(Hn),Gn=0!==Ln.length,Un=["Webkit","Moz","O","ms"],Bn=["-webkit-","-moz-","-o-","ms-",""];function Vn(e,t){for(var n=window.getComputedStyle(e,null),r="",o=0;o<Bn.length&&!(r=n.getPropertyValue(Bn[o]+t));o++);return r}function Kn(e){if(Gn){var t=parseFloat(Vn(e,"transition-delay"))||0,n=parseFloat(Vn(e,"transition-duration"))||0,r=parseFloat(Vn(e,"animation-delay"))||0,o=parseFloat(Vn(e,"animation-duration"))||0,i=Math.max(n+t,o+r);e.rcEndAnimTimeout=setTimeout((function(){e.rcEndAnimTimeout=null,e.rcEndListener&&e.rcEndListener()}),1e3*i+200)}}function qn(e){e.rcEndAnimTimeout&&(clearTimeout(e.rcEndAnimTimeout),e.rcEndAnimTimeout=null)}var Yn=function(e,t,n){var r="object"===(void 0===t?"undefined":In()(t)),o=r?t.name:t,i=r?t.active:t+"-active",a=n,s=void 0,l=void 0,c=Wn()(e);return n&&"[object Object]"===Object.prototype.toString.call(n)&&(a=n.end,s=n.start,l=n.active),e.rcEndListener&&e.rcEndListener(),e.rcEndListener=function(t){t&&t.target!==e||(e.rcAnimTimeout&&(clearTimeout(e.rcAnimTimeout),e.rcAnimTimeout=null),qn(e),c.remove(o),c.remove(i),Fn(e,e.rcEndListener),e.rcEndListener=null,a&&a())},zn(e,e.rcEndListener),s&&s(),c.add(o),e.rcAnimTimeout=setTimeout((function(){e.rcAnimTimeout=null,c.add(i),l&&setTimeout(l,0),Kn(e)}),30),{stop:function(){e.rcEndListener&&e.rcEndListener()}}};Yn.style=function(e,t,n){e.rcEndListener&&e.rcEndListener(),e.rcEndListener=function(t){t&&t.target!==e||(e.rcAnimTimeout&&(clearTimeout(e.rcAnimTimeout),e.rcAnimTimeout=null),qn(e),Fn(e,e.rcEndListener),e.rcEndListener=null,n&&n())},zn(e,e.rcEndListener),e.rcAnimTimeout=setTimeout((function(){for(var n in t)t.hasOwnProperty(n)&&(e.style[n]=t[n]);e.rcAnimTimeout=null,Kn(e)}),0)},Yn.setTransition=function(e,t,n){var r=t,o=n;void 0===n&&(o=r,r=""),r=r||"",Un.forEach((function(t){e.style[t+"Transition"+r]=o}))},Yn.isCssAnimationSupported=Gn;var Xn=Yn,Zn=function(e){return e.transitionName&&e.transitionAppear||e.animation.appear},$n=function(e){return e.transitionName&&e.transitionEnter||e.animation.enter},Jn=function(e){return e.transitionName&&e.transitionLeave||e.animation.leave},Qn=function(e){return e.transitionAppear||e.animation.appear},er=function(e){return e.transitionEnter||e.animation.enter},tr=function(e){return e.transitionLeave||e.animation.leave},nr={enter:"transitionEnter",appear:"transitionAppear",leave:"transitionLeave"},rr=function(e){function t(){return He()(this,t),Ge()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return Be()(t,e),ht()(t,[{key:"componentWillUnmount",value:function(){this.stop()}},{key:"componentWillEnter",value:function(e){$n(this.props)?this.transition("enter",e):e()}},{key:"componentWillAppear",value:function(e){Zn(this.props)?this.transition("appear",e):e()}},{key:"componentWillLeave",value:function(e){Jn(this.props)?this.transition("leave",e):e()}},{key:"transition",value:function(e,t){var n=this,r=a.a.findDOMNode(this),o=this.props,i=o.transitionName,s="object"==typeof i;this.stop();var l=function(){n.stopper=null,t()};if((Gn||!o.animation[e])&&i&&o[nr[e]]){var c=s?i[e]:i+"-"+e,u=c+"-active";s&&i[e+"Active"]&&(u=i[e+"Active"]),this.stopper=Xn(r,{name:c,active:u},l)}else this.stopper=o.animation[e](r,l)}},{key:"stop",value:function(){var e=this.stopper;e&&(this.stopper=null,e.stop())}},{key:"render",value:function(){return this.props.children}}]),t}(o.a.Component);rr.propTypes={children:de.a.any,animation:de.a.any,transitionName:de.a.any};var or=rr,ir="rc_animate_"+Date.now();function ar(e){var t=e.children;return o.a.isValidElement(t)&&!t.key?o.a.cloneElement(t,{key:ir}):t}function sr(){}var lr=function(e){function t(e){He()(this,t);var n=Ge()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return cr.call(n),n.currentlyAnimatingKeys={},n.keysToEnter=[],n.keysToLeave=[],n.state={children:Tn(ar(e))},n.childrenRefs={},n}return Be()(t,e),ht()(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props.showProp,n=this.state.children;t&&(n=n.filter((function(e){return!!e.props[t]}))),n.forEach((function(t){t&&e.performAppear(t.key)}))}},{key:"componentWillReceiveProps",value:function(e){var t=this;this.nextProps=e;var n=Tn(ar(e)),r=this.props;r.exclusive&&Object.keys(this.currentlyAnimatingKeys).forEach((function(e){t.stop(e)}));var i,a,s,l,c=r.showProp,u=this.currentlyAnimatingKeys,d=r.exclusive?Tn(ar(r)):this.state.children,f=[];c?(d.forEach((function(e){var t,r=e&&kn(n,e.key);(t=r&&r.props[c]||!e.props[c]?r:o.a.cloneElement(r||e,xn()({},c,!0)))&&f.push(t)})),n.forEach((function(e){e&&kn(d,e.key)||f.push(e)}))):(i=n,a=[],s={},l=[],d.forEach((function(e){e&&kn(i,e.key)?l.length&&(s[e.key]=l,l=[]):l.push(e)})),i.forEach((function(e){e&&Object.prototype.hasOwnProperty.call(s,e.key)&&(a=a.concat(s[e.key])),a.push(e)})),f=a=a.concat(l)),this.setState({children:f}),n.forEach((function(e){var n=e&&e.key;if(!e||!u[n]){var r=e&&kn(d,n);if(c){var o=e.props[c];r?!Dn(d,n,c)&&o&&t.keysToEnter.push(n):o&&t.keysToEnter.push(n)}else r||t.keysToEnter.push(n)}})),d.forEach((function(e){var r=e&&e.key;if(!e||!u[r]){var o=e&&kn(n,r);if(c){var i=e.props[c];o?!Dn(n,r,c)&&i&&t.keysToLeave.push(r):i&&t.keysToLeave.push(r)}else o||t.keysToLeave.push(r)}}))}},{key:"componentDidUpdate",value:function(){var e=this.keysToEnter;this.keysToEnter=[],e.forEach(this.performEnter);var t=this.keysToLeave;this.keysToLeave=[],t.forEach(this.performLeave)}},{key:"isValidChildByKey",value:function(e,t){var n=this.props.showProp;return n?Dn(e,t,n):kn(e,t)}},{key:"stop",value:function(e){delete this.currentlyAnimatingKeys[e];var t=this.childrenRefs[e];t&&t.stop()}},{key:"render",value:function(){var e=this,t=this.props;this.nextProps=t;var n=this.state.children,r=null;n&&(r=n.map((function(n){if(null==n)return n;if(!n.key)throw new Error("must set key for <rc-animate> children");return o.a.createElement(or,{key:n.key,ref:function(t){e.childrenRefs[n.key]=t},animation:t.animation,transitionName:t.transitionName,transitionEnter:t.transitionEnter,transitionAppear:t.transitionAppear,transitionLeave:t.transitionLeave},n)})));var i=t.component;if(i){var a=t;return"string"==typeof i&&(a=_e()({className:t.className,style:t.style},t.componentProps)),o.a.createElement(i,a,r)}return r[0]||null}}]),t}(o.a.Component);lr.isAnimate=!0,lr.propTypes={className:de.a.string,style:de.a.object,component:de.a.any,componentProps:de.a.object,animation:de.a.object,transitionName:de.a.oneOfType([de.a.string,de.a.object]),transitionEnter:de.a.bool,transitionAppear:de.a.bool,exclusive:de.a.bool,transitionLeave:de.a.bool,onEnd:de.a.func,onEnter:de.a.func,onLeave:de.a.func,onAppear:de.a.func,showProp:de.a.string,children:de.a.node},lr.defaultProps={animation:{},component:"span",componentProps:{},transitionEnter:!0,transitionLeave:!0,transitionAppear:!1,onEnd:sr,onEnter:sr,onLeave:sr,onAppear:sr};var cr=function(){var e=this;this.performEnter=function(t){e.childrenRefs[t]&&(e.currentlyAnimatingKeys[t]=!0,e.childrenRefs[t].componentWillEnter(e.handleDoneAdding.bind(e,t,"enter")))},this.performAppear=function(t){e.childrenRefs[t]&&(e.currentlyAnimatingKeys[t]=!0,e.childrenRefs[t].componentWillAppear(e.handleDoneAdding.bind(e,t,"appear")))},this.handleDoneAdding=function(t,n){var r=e.props;if(delete e.currentlyAnimatingKeys[t],!r.exclusive||r===e.nextProps){var o=Tn(ar(r));e.isValidChildByKey(o,t)?"appear"===n?Qn(r)&&(r.onAppear(t),r.onEnd(t,!0)):er(r)&&(r.onEnter(t),r.onEnd(t,!0)):e.performLeave(t)}},this.performLeave=function(t){e.childrenRefs[t]&&(e.currentlyAnimatingKeys[t]=!0,e.childrenRefs[t].componentWillLeave(e.handleDoneLeaving.bind(e,t)))},this.handleDoneLeaving=function(t){var n=e.props;if(delete e.currentlyAnimatingKeys[t],!n.exclusive||n===e.nextProps){var r,o,i,a,s=Tn(ar(n));if(e.isValidChildByKey(s,t))e.performEnter(t);else{var l=function(){tr(n)&&(n.onLeave(t),n.onEnd(t,!1))};r=e.state.children,o=s,i=n.showProp,(a=r.length===o.length)&&r.forEach((function(e,t){var n=o[t];e&&n&&(e&&!n||!e&&n||e.key!==n.key||i&&e.props[i]!==n.props[i])&&(a=!1)})),a?l():e.setState({children:s},l)}}}},ur=function(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");return"function"!=typeof t.componentWillReceiveProps?e:o.a.Profiler?(t.UNSAFE_componentWillReceiveProps=t.componentWillReceiveProps,delete t.componentWillReceiveProps,e):e}(lr),dr=n(260),fr=n.n(dr),pr=function(e){function t(){return He()(this,t),Ge()(this,e.apply(this,arguments))}return Be()(t,e),t.prototype.shouldComponentUpdate=function(e){return e.hiddenClassName||e.visible},t.prototype.render=function(){var e=this.props,t=e.hiddenClassName,n=e.visible,r=fr()(e,["hiddenClassName","visible"]);return t||o.a.Children.count(r.children)>1?(!n&&t&&(r.className+=" "+t),o.a.createElement("div",r)):o.a.Children.only(r.children)},t}(r.Component);pr.propTypes={children:de.a.any,className:de.a.string,visible:de.a.bool,hiddenClassName:de.a.string};var hr=pr,vr=function(e){function t(){return He()(this,t),Ge()(this,e.apply(this,arguments))}return Be()(t,e),t.prototype.render=function(){var e=this.props,t=e.className;return e.visible||(t+=" "+e.hiddenClassName),o.a.createElement("div",{className:t,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onMouseDown:e.onMouseDown,onTouchStart:e.onTouchStart,style:e.style},o.a.createElement(hr,{className:e.prefixCls+"-content",visible:e.visible},e.children))},t}(r.Component);vr.propTypes={hiddenClassName:de.a.string,className:de.a.string,prefixCls:de.a.string,onMouseEnter:de.a.func,onMouseLeave:de.a.func,onMouseDown:de.a.func,onTouchStart:de.a.func,children:de.a.any};var gr=vr,mr=function(e){function t(n){He()(this,t);var r=Ge()(this,e.call(this,n));return yr.call(r),r.state={stretchChecked:!1,targetWidth:void 0,targetHeight:void 0},r.savePopupRef=dt.bind(r,"popupInstance"),r.saveAlignRef=dt.bind(r,"alignInstance"),r}return Be()(t,e),t.prototype.componentDidMount=function(){this.rootNode=this.getPopupDomNode(),this.setStretchSize()},t.prototype.componentDidUpdate=function(){this.setStretchSize()},t.prototype.getPopupDomNode=function(){return a.a.findDOMNode(this.popupInstance)},t.prototype.getMaskTransitionName=function(){var e=this.props,t=e.maskTransitionName,n=e.maskAnimation;return!t&&n&&(t=e.prefixCls+"-"+n),t},t.prototype.getTransitionName=function(){var e=this.props,t=e.transitionName;return!t&&e.animation&&(t=e.prefixCls+"-"+e.animation),t},t.prototype.getClassName=function(e){return this.props.prefixCls+" "+this.props.className+" "+e},t.prototype.getPopupElement=function(){var e=this,t=this.savePopupRef,n=this.state,r=n.stretchChecked,i=n.targetHeight,a=n.targetWidth,s=this.props,l=s.align,c=s.visible,u=s.prefixCls,d=s.style,f=s.getClassNameFromAlign,p=s.destroyPopupOnHide,h=s.stretch,v=s.children,g=s.onMouseEnter,m=s.onMouseLeave,y=s.onMouseDown,b=s.onTouchStart,_=this.getClassName(this.currentAlignClassName||f(l)),w=u+"-hidden";c||(this.currentAlignClassName=null);var S={};h&&(-1!==h.indexOf("height")?S.height=i:-1!==h.indexOf("minHeight")&&(S.minHeight=i),-1!==h.indexOf("width")?S.width=a:-1!==h.indexOf("minWidth")&&(S.minWidth=a),r||(S.visibility="hidden",setTimeout((function(){e.alignInstance&&e.alignInstance.forceAlign()}),0)));var C={className:_,prefixCls:u,ref:t,onMouseEnter:g,onMouseLeave:m,onMouseDown:y,onTouchStart:b,style:_e()({},S,d,this.getZIndexStyle())};return p?o.a.createElement(ur,{component:"",exclusive:!0,transitionAppear:!0,transitionName:this.getTransitionName()},c?o.a.createElement(Cn,{target:this.getAlignTarget(),key:"popup",ref:this.saveAlignRef,monitorWindowResize:!0,align:l,onAlign:this.onAlign},o.a.createElement(gr,_e()({visible:!0},C),v)):null):o.a.createElement(ur,{component:"",exclusive:!0,transitionAppear:!0,transitionName:this.getTransitionName(),showProp:"xVisible"},o.a.createElement(Cn,{target:this.getAlignTarget(),key:"popup",ref:this.saveAlignRef,monitorWindowResize:!0,xVisible:c,childrenProps:{visible:"xVisible"},disabled:!c,align:l,onAlign:this.onAlign},o.a.createElement(gr,_e()({hiddenClassName:w},C),v)))},t.prototype.getZIndexStyle=function(){var e={},t=this.props;return void 0!==t.zIndex&&(e.zIndex=t.zIndex),e},t.prototype.getMaskElement=function(){var e=this.props,t=void 0;if(e.mask){var n=this.getMaskTransitionName();t=o.a.createElement(hr,{style:this.getZIndexStyle(),key:"mask",className:e.prefixCls+"-mask",hiddenClassName:e.prefixCls+"-mask-hidden",visible:e.visible}),n&&(t=o.a.createElement(ur,{key:"mask",showProp:"visible",transitionAppear:!0,component:"",transitionName:n},t))}return t},t.prototype.render=function(){return o.a.createElement("div",null,this.getMaskElement(),this.getPopupElement())},t}(r.Component);mr.propTypes={visible:de.a.bool,style:de.a.object,getClassNameFromAlign:de.a.func,onAlign:de.a.func,getRootDomNode:de.a.func,align:de.a.any,destroyPopupOnHide:de.a.bool,className:de.a.string,prefixCls:de.a.string,onMouseEnter:de.a.func,onMouseLeave:de.a.func,onMouseDown:de.a.func,onTouchStart:de.a.func,stretch:de.a.string,children:de.a.node,point:de.a.shape({pageX:de.a.number,pageY:de.a.number})};var yr=function(){var e=this;this.onAlign=function(t,n){var r=e.props,o=r.getClassNameFromAlign(n);e.currentAlignClassName!==o&&(e.currentAlignClassName=o,t.className=e.getClassName(o)),r.onAlign(t,n)},this.setStretchSize=function(){var t=e.props,n=t.stretch,r=t.getRootDomNode,o=t.visible,i=e.state,a=i.stretchChecked,s=i.targetHeight,l=i.targetWidth;if(n&&o){var c=r();if(c){var u=c.offsetHeight,d=c.offsetWidth;s===u&&l===d&&a||e.setState({stretchChecked:!0,targetHeight:u,targetWidth:d})}}else a&&e.setState({stretchChecked:!1})},this.getTargetElement=function(){return e.props.getRootDomNode()},this.getAlignTarget=function(){return e.props.point||e.getTargetElement}},br=mr;function _r(){}var wr=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"],Sr=!!i.createPortal,Cr={rcTrigger:de.a.shape({onPopupMouseDown:de.a.func})},Or=function(e){function t(n){He()(this,t);var r=Ge()(this,e.call(this,n));xr.call(r);var o;return o="popupVisible"in n?!!n.popupVisible:!!n.defaultPopupVisible,r.state={prevPopupVisible:o,popupVisible:o},wr.forEach((function(e){r["fire"+e]=function(t){r.fireEvents(e,t)}})),r}return Be()(t,e),t.prototype.getChildContext=function(){return{rcTrigger:{onPopupMouseDown:this.onPopupMouseDown}}},t.prototype.componentDidMount=function(){this.componentDidUpdate({},{popupVisible:this.state.popupVisible})},t.prototype.componentDidUpdate=function(e,t){var n=this.props,r=this.state;if(Sr||this.renderComponent(null,(function(){t.popupVisible!==r.popupVisible&&n.afterPopupVisibleChange(r.popupVisible)})),r.popupVisible){var o=void 0;return this.clickOutsideHandler||!this.isClickToHide()&&!this.isContextMenuToShow()||(o=n.getDocument(),this.clickOutsideHandler=Xe(o,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(o=o||n.getDocument(),this.touchOutsideHandler=Xe(o,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(o=o||n.getDocument(),this.contextMenuOutsideHandler1=Xe(o,"scroll",this.onContextMenuClose)),void(!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=Xe(window,"blur",this.onContextMenuClose)))}this.clearOutsideHandler()},t.prototype.componentWillUnmount=function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout)},t.getDerivedStateFromProps=function(e,t){var n=e.popupVisible,r={};return void 0!==n&&t.popupVisible!==n&&(r.popupVisible=n,r.prevPopupVisible=t.popupVisible),r},t.prototype.getPopupDomNode=function(){return this._component&&this._component.getPopupDomNode?this._component.getPopupDomNode():null},t.prototype.getPopupAlign=function(){var e=this.props,t=e.popupPlacement,n=e.popupAlign,r=e.builtinPlacements;return t&&r?function(e,t,n){var r=e[t]||{};return _e()({},r,n)}(r,t,n):n},t.prototype.setPopupVisible=function(e,t){var n=this.props.alignPoint,r=this.state.popupVisible;this.clearDelayTimer(),r!==e&&("popupVisible"in this.props||this.setState({popupVisible:e,prevPopupVisible:r}),this.props.onPopupVisibleChange(e)),n&&t&&this.setPoint(t)},t.prototype.delaySetPopupVisible=function(e,t,n){var r=this,o=1e3*t;if(this.clearDelayTimer(),o){var i=n?{pageX:n.pageX,pageY:n.pageY}:null;this.delayTimer=setTimeout((function(){r.setPopupVisible(e,i),r.clearDelayTimer()}),o)}else this.setPopupVisible(e,n)},t.prototype.clearDelayTimer=function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)},t.prototype.clearOutsideHandler=function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)},t.prototype.createTwoChains=function(e){var t=this.props.children.props,n=this.props;return t[e]&&n[e]?this["fire"+e]:t[e]||n[e]},t.prototype.isClickToShow=function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")},t.prototype.isContextMenuToShow=function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("contextMenu")||-1!==n.indexOf("contextMenu")},t.prototype.isClickToHide=function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")},t.prototype.isMouseEnterToShow=function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseEnter")},t.prototype.isMouseLeaveToHide=function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseLeave")},t.prototype.isFocusToShow=function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("focus")},t.prototype.isBlurToHide=function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("blur")},t.prototype.forcePopupAlign=function(){this.state.popupVisible&&this._component&&this._component.alignInstance&&this._component.alignInstance.forceAlign()},t.prototype.fireEvents=function(e,t){var n=this.props.children.props[e];n&&n(t);var r=this.props[e];r&&r(t)},t.prototype.close=function(){this.setPopupVisible(!1)},t.prototype.render=function(){var e=this,t=this.state.popupVisible,n=this.props,r=n.children,i=n.forceRender,a=n.alignPoint,s=n.className,l=o.a.Children.only(r),c={key:"trigger"};this.isContextMenuToShow()?c.onContextMenu=this.onContextMenu:c.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(c.onClick=this.onClick,c.onMouseDown=this.onMouseDown,c.onTouchStart=this.onTouchStart):(c.onClick=this.createTwoChains("onClick"),c.onMouseDown=this.createTwoChains("onMouseDown"),c.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(c.onMouseEnter=this.onMouseEnter,a&&(c.onMouseMove=this.onMouseMove)):c.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?c.onMouseLeave=this.onMouseLeave:c.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(c.onFocus=this.onFocus,c.onBlur=this.onBlur):(c.onFocus=this.createTwoChains("onFocus"),c.onBlur=this.createTwoChains("onBlur"));var u=De()(l&&l.props&&l.props.className,s);u&&(c.className=u);var d=o.a.cloneElement(l,c);if(!Sr)return o.a.createElement(nt,{parent:this,visible:t,autoMount:!1,forceRender:i,getComponent:this.getComponent,getContainer:this.getContainer},(function(t){var n=t.renderComponent;return e.renderComponent=n,d}));var f=void 0;return(t||this._component||i)&&(f=o.a.createElement(ct,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),[d,f]},t}(o.a.Component);Or.propTypes={children:de.a.any,action:de.a.oneOfType([de.a.string,de.a.arrayOf(de.a.string)]),showAction:de.a.any,hideAction:de.a.any,getPopupClassNameFromAlign:de.a.any,onPopupVisibleChange:de.a.func,afterPopupVisibleChange:de.a.func,popup:de.a.oneOfType([de.a.node,de.a.func]).isRequired,popupStyle:de.a.object,prefixCls:de.a.string,popupClassName:de.a.string,className:de.a.string,popupPlacement:de.a.string,builtinPlacements:de.a.object,popupTransitionName:de.a.oneOfType([de.a.string,de.a.object]),popupAnimation:de.a.any,mouseEnterDelay:de.a.number,mouseLeaveDelay:de.a.number,zIndex:de.a.number,focusDelay:de.a.number,blurDelay:de.a.number,getPopupContainer:de.a.func,getDocument:de.a.func,forceRender:de.a.bool,destroyPopupOnHide:de.a.bool,mask:de.a.bool,maskClosable:de.a.bool,onPopupAlign:de.a.func,popupAlign:de.a.object,popupVisible:de.a.bool,defaultPopupVisible:de.a.bool,maskTransitionName:de.a.oneOfType([de.a.string,de.a.object]),maskAnimation:de.a.string,stretch:de.a.string,alignPoint:de.a.bool},Or.contextTypes=Cr,Or.childContextTypes=Cr,Or.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:function(){return""},getDocument:function(){return window.document},onPopupVisibleChange:_r,afterPopupVisibleChange:_r,onPopupAlign:_r,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[]};var xr=function(){var e=this;this.onMouseEnter=function(t){var n=e.props.mouseEnterDelay;e.fireEvents("onMouseEnter",t),e.delaySetPopupVisible(!0,n,n?null:t)},this.onMouseMove=function(t){e.fireEvents("onMouseMove",t),e.setPoint(t)},this.onMouseLeave=function(t){e.fireEvents("onMouseLeave",t),e.delaySetPopupVisible(!1,e.props.mouseLeaveDelay)},this.onPopupMouseEnter=function(){e.clearDelayTimer()},this.onPopupMouseLeave=function(t){t.relatedTarget&&!t.relatedTarget.setTimeout&&e._component&&e._component.getPopupDomNode&&Ke(e._component.getPopupDomNode(),t.relatedTarget)||e.delaySetPopupVisible(!1,e.props.mouseLeaveDelay)},this.onFocus=function(t){e.fireEvents("onFocus",t),e.clearDelayTimer(),e.isFocusToShow()&&(e.focusTime=Date.now(),e.delaySetPopupVisible(!0,e.props.focusDelay))},this.onMouseDown=function(t){e.fireEvents("onMouseDown",t),e.preClickTime=Date.now()},this.onTouchStart=function(t){e.fireEvents("onTouchStart",t),e.preTouchTime=Date.now()},this.onBlur=function(t){e.fireEvents("onBlur",t),e.clearDelayTimer(),e.isBlurToHide()&&e.delaySetPopupVisible(!1,e.props.blurDelay)},this.onContextMenu=function(t){t.preventDefault(),e.fireEvents("onContextMenu",t),e.setPopupVisible(!0,t)},this.onContextMenuClose=function(){e.isContextMenuToShow()&&e.close()},this.onClick=function(t){if(e.fireEvents("onClick",t),e.focusTime){var n=void 0;if(e.preClickTime&&e.preTouchTime?n=Math.min(e.preClickTime,e.preTouchTime):e.preClickTime?n=e.preClickTime:e.preTouchTime&&(n=e.preTouchTime),Math.abs(n-e.focusTime)<20)return;e.focusTime=0}e.preClickTime=0,e.preTouchTime=0,e.isClickToShow()&&(e.isClickToHide()||e.isBlurToHide())&&t&&t.preventDefault&&t.preventDefault();var r=!e.state.popupVisible;(e.isClickToHide()&&!r||r&&e.isClickToShow())&&e.setPopupVisible(!e.state.popupVisible,t)},this.onPopupMouseDown=function(){var t=e.context.rcTrigger,n=void 0===t?{}:t;e.hasPopupMouseDown=!0,clearTimeout(e.mouseDownTimeout),e.mouseDownTimeout=setTimeout((function(){e.hasPopupMouseDown=!1}),0),n.onPopupMouseDown&&n.onPopupMouseDown.apply(n,arguments)},this.onDocumentClick=function(t){if(!e.props.mask||e.props.maskClosable){var n=t.target;Ke(Object(i.findDOMNode)(e),n)||e.hasPopupMouseDown||e.close()}},this.getRootDomNode=function(){return Object(i.findDOMNode)(e)},this.getPopupClassNameFromAlign=function(t){var n=[],r=e.props,o=r.popupPlacement,i=r.builtinPlacements,a=r.prefixCls,s=r.alignPoint,l=r.getPopupClassNameFromAlign;return o&&i&&n.push(function(e,t,n,r){var o=n.points;for(var i in e)if(e.hasOwnProperty(i)&&ut(e[i].points,o,r))return t+"-placement-"+i;return""}(i,a,t,s)),l&&n.push(l(t)),n.join(" ")},this.getComponent=function(){var t=e.props,n=t.prefixCls,r=t.destroyPopupOnHide,i=t.popupClassName,a=t.action,s=t.onPopupAlign,l=t.popupAnimation,c=t.popupTransitionName,u=t.popupStyle,d=t.mask,f=t.maskAnimation,p=t.maskTransitionName,h=t.zIndex,v=t.popup,g=t.stretch,m=t.alignPoint,y=e.state,b=y.popupVisible,_=y.point,w=e.getPopupAlign(),S={};return e.isMouseEnterToShow()&&(S.onMouseEnter=e.onPopupMouseEnter),e.isMouseLeaveToHide()&&(S.onMouseLeave=e.onPopupMouseLeave),S.onMouseDown=e.onPopupMouseDown,S.onTouchStart=e.onPopupMouseDown,o.a.createElement(br,_e()({prefixCls:n,destroyPopupOnHide:r,visible:b,point:m&&_,className:i,action:a,align:w,onAlign:s,animation:l,getClassNameFromAlign:e.getPopupClassNameFromAlign},S,{stretch:g,getRootDomNode:e.getRootDomNode,style:u,mask:d,zIndex:h,transitionName:c,maskAnimation:f,maskTransitionName:p,ref:e.savePopup}),"function"==typeof v?v():v)},this.getContainer=function(){var t=e.props,n=document.createElement("div");return n.style.position="absolute",n.style.top="0",n.style.left="0",n.style.width="100%",(t.getPopupContainer?t.getPopupContainer(Object(i.findDOMNode)(e)):t.getDocument().body).appendChild(n),n},this.setPoint=function(t){e.props.alignPoint&&t&&e.setState({point:{pageX:t.pageX,pageY:t.pageY}})},this.handlePortalUpdate=function(){e.state.prevPopupVisible!==e.state.popupVisible&&e.props.afterPopupVisibleChange(e.state.popupVisible)},this.savePopup=function(t){e._component=t}};Object(Ve.polyfill)(Or);var Tr=Or,kr=Se()({displayName:"SubPopupMenu",propTypes:{onSelect:de.a.func,onClick:de.a.func,onDeselect:de.a.func,onOpenChange:de.a.func,onDestroy:de.a.func,openTransitionName:de.a.string,openAnimation:de.a.oneOfType([de.a.string,de.a.object]),openKeys:de.a.arrayOf(de.a.string),visible:de.a.bool,children:de.a.any},mixins:[Le],getInitialState:function(){var e,t=this.props;return t.store.setState({activeKey:_e()({},t.store.getState().activeKey,(e={},e[t.eventKey]=je(t,t.activeKey),e))}),{}},componentDidMount:function(){this.props.manualRef&&this.props.manualRef(this)},onDeselect:function(e){this.props.onDeselect(e)},onSelect:function(e){this.props.onSelect(e)},onClick:function(e){this.props.onClick(e)},onOpenChange:function(e){this.props.onOpenChange(e)},onDestroy:function(e){this.props.onDestroy(e)},getOpenTransitionName:function(){return this.props.openTransitionName},renderMenuItem:function(e,t,n,r){if(!e)return null;var o=this.props,i={openKeys:o.openKeys,selectedKeys:o.selectedKeys,triggerSubMenuAction:o.triggerSubMenuAction,subMenuKey:r};return this.renderCommonMenuItem(e,t,n,i)},render:function(){var e=_e()({},this.props),t=this.haveRendered;if(this.haveRendered=!0,this.haveOpened=this.haveOpened||e.visible||e.forceSubMenuRender,!this.haveOpened)return null;var n=!(!t&&e.visible&&"inline"===e.mode);e.className+=" "+e.prefixCls+"-sub";var r={};return e.openTransitionName?r.transitionName=e.openTransitionName:"object"==typeof e.openAnimation&&(r.animation=_e()({},e.openAnimation),n||delete r.animation.appear),o.a.createElement(ur,_e()({},r,{showProp:"visible",component:"",transitionAppear:n}),this.renderRoot(e))}}),Dr=Object(Ce.connect)()(kr),Er={adjustX:1,adjustY:1},Ir={topLeft:{points:["bl","tl"],overflow:Er,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Er,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:Er,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:Er,offset:[4,0]}},Pr=0,Mr={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},Rr=function(e,t,n){var r,o=Pe(t),i=e.getState();e.setState({defaultActiveFirst:_e()({},i.defaultActiveFirst,(r={},r[o]=n,r))})},Nr=Se()({displayName:"SubMenu",propTypes:{parentMenu:de.a.object,title:de.a.node,children:de.a.any,selectedKeys:de.a.array,openKeys:de.a.array,onClick:de.a.func,onOpenChange:de.a.func,rootPrefixCls:de.a.string,eventKey:de.a.string,multiple:de.a.bool,active:de.a.bool,onItemHover:de.a.func,onSelect:de.a.func,triggerSubMenuAction:de.a.string,onDeselect:de.a.func,onDestroy:de.a.func,onMouseEnter:de.a.func,onMouseLeave:de.a.func,onTitleMouseEnter:de.a.func,onTitleMouseLeave:de.a.func,onTitleClick:de.a.func,isOpen:de.a.bool},isRootMenu:!1,getDefaultProps:function(){return{onMouseEnter:Ee,onMouseLeave:Ee,onTitleMouseEnter:Ee,onTitleMouseLeave:Ee,onTitleClick:Ee,title:""}},getInitialState:function(){this.isSubMenu=1;var e=this.props,t=e.store,n=e.eventKey,r=t.getState().defaultActiveFirst,o=!1;return r&&(o=r[n]),Rr(t,n,o),{}},componentDidMount:function(){this.componentDidUpdate(),this.props.manualRef&&this.props.manualRef(this)},componentDidUpdate:function(){var e=this,t=this.props,n=t.mode,r=t.parentMenu;"horizontal"===n&&r.isRootMenu&&this.props.isOpen&&(this.minWidthTimeout=setTimeout((function(){if(e.subMenuTitle&&e.menuInstance){var t=a.a.findDOMNode(e.menuInstance);t.offsetWidth>=e.subMenuTitle.offsetWidth||(t.style.minWidth=e.subMenuTitle.offsetWidth+"px")}}),0))},componentWillUnmount:function(){var e=this.props,t=e.onDestroy,n=e.eventKey;t&&t(n),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout)},onDestroy:function(e){this.props.onDestroy(e)},onKeyDown:function(e){var t=e.keyCode,n=this.menuInstance,r=this.props,o=r.isOpen,i=r.store;if(t===xe.ENTER)return this.onTitleClick(e),Rr(i,this.props.eventKey,!0),!0;if(t===xe.RIGHT)return o?n.onKeyDown(e):(this.triggerOpenChange(!0),Rr(i,this.props.eventKey,!0)),!0;if(t===xe.LEFT){var a=void 0;if(!o)return;return(a=n.onKeyDown(e))||(this.triggerOpenChange(!1),a=!0),a}return!o||t!==xe.UP&&t!==xe.DOWN?void 0:n.onKeyDown(e)},onOpenChange:function(e){this.props.onOpenChange(e)},onPopupVisibleChange:function(e){this.triggerOpenChange(e,e?"mouseenter":"mouseleave")},onMouseEnter:function(e){var t=this.props,n=t.eventKey,r=t.onMouseEnter,o=t.store;Rr(o,this.props.eventKey,!1),r({key:n,domEvent:e})},onMouseLeave:function(e){var t=this.props,n=t.parentMenu,r=t.eventKey,o=t.onMouseLeave;n.subMenuInstance=this,o({key:r,domEvent:e})},onTitleMouseEnter:function(e){var t=this.props,n=t.eventKey,r=t.onItemHover,o=t.onTitleMouseEnter;r({key:n,hover:!0}),o({key:n,domEvent:e})},onTitleMouseLeave:function(e){var t=this.props,n=t.parentMenu,r=t.eventKey,o=t.onItemHover,i=t.onTitleMouseLeave;n.subMenuInstance=this,o({key:r,hover:!1}),i({key:r,domEvent:e})},onTitleClick:function(e){var t=this.props;t.onTitleClick({key:t.eventKey,domEvent:e}),"hover"!==t.triggerSubMenuAction&&(this.triggerOpenChange(!t.isOpen,"click"),Rr(t.store,this.props.eventKey,!1))},onSubMenuClick:function(e){this.props.onClick(this.addKeyPath(e))},onSelect:function(e){this.props.onSelect(e)},onDeselect:function(e){this.props.onDeselect(e)},getPrefixCls:function(){return this.props.rootPrefixCls+"-submenu"},getActiveClassName:function(){return this.getPrefixCls()+"-active"},getDisabledClassName:function(){return this.getPrefixCls()+"-disabled"},getSelectedClassName:function(){return this.getPrefixCls()+"-selected"},getOpenClassName:function(){return this.props.rootPrefixCls+"-submenu-open"},saveMenuInstance:function(e){this.menuInstance=e},addKeyPath:function(e){return _e()({},e,{keyPath:(e.keyPath||[]).concat(this.props.eventKey)})},triggerOpenChange:function(e,t){var n=this,r=this.props.eventKey,o=function(){n.onOpenChange({key:r,item:n,trigger:t,open:e})};"mouseenter"===t?this.mouseenterTimeout=setTimeout((function(){o()}),0):o()},isChildrenSelected:function(){var e={find:!1};return function e(t,n,r){t&&!r.find&&o.a.Children.forEach(t,(function(t){if(!r.find&&t){var o=t.type;if(!o||!(o.isSubMenu||o.isMenuItem||o.isMenuItemGroup))return;-1!==n.indexOf(t.key)?r.find=!0:t.props.children&&e(t.props.children,n,r)}}))}(this.props.children,this.props.selectedKeys,e),e.find},isOpen:function(){return-1!==this.props.openKeys.indexOf(this.props.eventKey)},renderChildren:function(e){var t=this.props,n={mode:"horizontal"===t.mode?"vertical":t.mode,visible:this.props.isOpen,level:t.level+1,inlineIndent:t.inlineIndent,focusable:!1,onClick:this.onSubMenuClick,onSelect:this.onSelect,onDeselect:this.onDeselect,onDestroy:this.onDestroy,selectedKeys:t.selectedKeys,eventKey:t.eventKey+"-menu-",openKeys:t.openKeys,openTransitionName:t.openTransitionName,openAnimation:t.openAnimation,onOpenChange:this.onOpenChange,subMenuOpenDelay:t.subMenuOpenDelay,subMenuCloseDelay:t.subMenuCloseDelay,forceSubMenuRender:t.forceSubMenuRender,triggerSubMenuAction:t.triggerSubMenuAction,defaultActiveFirst:t.store.getState().defaultActiveFirst[Pe(t.eventKey)],multiple:t.multiple,prefixCls:t.rootPrefixCls,id:this._menuId,manualRef:this.saveMenuInstance};return o.a.createElement(Dr,n,e)},saveSubMenuTitle:function(e){this.subMenuTitle=e},render:function(){var e,t=this.props,n=t.isOpen,r=this.getPrefixCls(),i="inline"===t.mode,a=De()(r,r+"-"+t.mode,((e={})[t.className]=!!t.className,e[this.getOpenClassName()]=n,e[this.getActiveClassName()]=t.active||n&&!i,e[this.getDisabledClassName()]=t.disabled,e[this.getSelectedClassName()]=this.isChildrenSelected(),e));this._menuId||(t.eventKey?this._menuId=t.eventKey+"$Menu":this._menuId="$__$"+ ++Pr+"$Menu");var s={},l={},c={};t.disabled||(s={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},l={onClick:this.onTitleClick},c={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var u={};i&&(u.paddingLeft=t.inlineIndent*t.level);var d=o.a.createElement("div",_e()({ref:this.saveSubMenuTitle,style:u,className:r+"-title"},c,l,{"aria-expanded":n,"aria-owns":this._menuId,"aria-haspopup":"true",title:"string"==typeof t.title?t.title:void 0}),t.title,o.a.createElement("i",{className:r+"-arrow"})),f=this.renderChildren(t.children),p=t.parentMenu.isRootMenu?t.parentMenu.props.getPopupContainer:function(e){return e.parentNode},h=Mr[t.mode],v="inline"===t.mode?"":t.popupClassName;return o.a.createElement("li",_e()({},s,{className:a,style:t.style}),i&&d,i&&f,!i&&o.a.createElement(Tr,{prefixCls:r,popupClassName:r+"-popup "+v,getPopupContainer:p,builtinPlacements:Ir,popupPlacement:h,popupVisible:n,popup:f,action:t.disabled?[]:[t.triggerSubMenuAction],mouseEnterDelay:t.subMenuOpenDelay,mouseLeaveDelay:t.subMenuCloseDelay,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:t.forceSubMenuRender},d))}});Nr.isSubMenu=1;var jr=Object(Ce.connect)((function(e,t){var n=e.openKeys,r=e.activeKey,o=t.eventKey,i=t.subMenuKey;return{isOpen:n.indexOf(o)>-1,active:r[i]===o}}))(Nr),Ar=n(261),Lr=n.n(Ar),zr=Se()({displayName:"MenuItem",propTypes:{rootPrefixCls:de.a.string,eventKey:de.a.string,active:de.a.bool,children:de.a.any,selectedKeys:de.a.array,disabled:de.a.bool,title:de.a.string,onItemHover:de.a.func,onSelect:de.a.func,onClick:de.a.func,onDeselect:de.a.func,parentMenu:de.a.object,onDestroy:de.a.func,onMouseEnter:de.a.func,onMouseLeave:de.a.func},getDefaultProps:function(){return{onSelect:Ee,onMouseEnter:Ee,onMouseLeave:Ee}},componentWillUnmount:function(){var e=this.props;e.onDestroy&&e.onDestroy(e.eventKey)},componentDidMount:function(){this.callRef()},componentDidUpdate:function(){this.props.active&&Lr()(a.a.findDOMNode(this),a.a.findDOMNode(this.props.parentMenu),{onlyScrollIfNeeded:!0}),this.callRef()},onKeyDown:function(e){if(e.keyCode===xe.ENTER)return this.onClick(e),!0},onMouseLeave:function(e){var t=this.props,n=t.eventKey,r=t.onItemHover,o=t.onMouseLeave;r({key:n,hover:!1}),o({key:n,domEvent:e})},onMouseEnter:function(e){var t=this.props,n=t.eventKey,r=t.onItemHover,o=t.onMouseEnter;r({key:n,hover:!0}),o({key:n,domEvent:e})},onClick:function(e){var t=this.props,n=t.eventKey,r=t.multiple,o=t.onClick,i=t.onSelect,a=t.onDeselect,s=t.isSelected,l={key:n,keyPath:[n],item:this,domEvent:e};o(l),r?s?a(l):i(l):s||i(l)},getPrefixCls:function(){return this.props.rootPrefixCls+"-item"},getActiveClassName:function(){return this.getPrefixCls()+"-active"},getSelectedClassName:function(){return this.getPrefixCls()+"-selected"},getDisabledClassName:function(){return this.getPrefixCls()+"-disabled"},callRef:function(){this.props.manualRef&&this.props.manualRef(this)},render:function(){var e,t=this.props,n=De()(this.getPrefixCls(),t.className,((e={})[this.getActiveClassName()]=!t.disabled&&t.active,e[this.getSelectedClassName()]=t.isSelected,e[this.getDisabledClassName()]=t.disabled,e)),r=_e()({},t.attribute,{title:t.title,className:n,role:"menuitem","aria-selected":t.isSelected,"aria-disabled":t.disabled}),i={};t.disabled||(i={onClick:this.onClick,onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter});var a=_e()({},t.style);return"inline"===t.mode&&(a.paddingLeft=t.inlineIndent*t.level),o.a.createElement("li",_e()({},r,i,{style:a}),t.children)}});zr.isMenuItem=1;var Fr=Object(Ce.connect)((function(e,t){var n=e.activeKey,r=e.selectedKeys,o=t.eventKey;return{active:n[t.subMenuKey]===o,isSelected:-1!==r.indexOf(o)}}))(zr);Se()({displayName:"MenuItemGroup",propTypes:{renderMenuItem:de.a.func,index:de.a.number,className:de.a.string,rootPrefixCls:de.a.string},getDefaultProps:function(){return{disabled:!0}},renderInnerMenuItem:function(e,t){var n=this.props;return(0,n.renderMenuItem)(e,n.index,t,this.props.subMenuKey)},render:function(){var e=this.props,t=e.className,n=void 0===t?"":t,r=e.rootPrefixCls,i=r+"-item-group-title",a=r+"-item-group-list";return o.a.createElement("li",{className:n+" "+r+"-item-group"},o.a.createElement("div",{className:i,title:"string"==typeof e.title?e.title:void 0},e.title),o.a.createElement("ul",{className:a},o.a.Children.map(e.children,this.renderInnerMenuItem)))}}).isMenuItemGroup=!0;var Hr=function(e){function t(){return He()(this,t),Ge()(this,e.apply(this,arguments))}return Be()(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=void 0===t?"":t,r=e.rootPrefixCls;return o.a.createElement("li",{className:n+" "+r+"-item-divider"})},t}(o.a.Component);Hr.propTypes={className:de.a.string,rootPrefixCls:de.a.string},Hr.defaultProps={disabled:!0};var Wr=ze,Gr=(n(64),{InputItemOptions:"InputItemOptions___3qdF-",InputItemButtons:"InputItemButtons___2ShvA",InputItemButton:"InputItemButton___ilSUR",InputItemButtonDisabled:"InputItemButtonDisabled___2fePk",InputItemTypeSelect:"InputItemTypeSelect___2MpUZ","rc-menu":"rc-menu___3eKZA"});function Ur(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Br(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Vr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Br(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Br(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Kr=Vr({},window.wp.i18n).__,qr=Vr({},window.wp.data).dispatch,Yr=function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(e){var t;return l()(this,i),(t=r.call(this,e)).state={key:"",openKeys:[]},t}return u()(i,[{key:"renderMenuItem",value:function(e){for(var t=this,n=window.cf7svisual.addons?window.cf7svisual.addons.get("menu").map((function(t){return t(e)})):"",r=e.rowInfo.node.cf7sType,i=[],a=0;a<n.length;a++)n[a]&&n[a].types.indexOf(r)>-1&&i.push(n[a]);if(!i.length)return!1;for(var s=i.map((function(e,n){return o.a.createElement(jr,{key:e.key,title:e.title,onTitleClick:function(e){return t.onTitleClick(e)}},e.items.map((function(e,t){return o.a.createElement(Fr,{disabled:e.disabled,key:e.value},e.label)})))})),l={},c=0;c<i.length;c++)l[i[c].key]=i[c].multiple;var u=e.rowInfo.node[this.state.key],d=u instanceof Array?u:[u];return o.a.createElement(Wr,{multiple:!1,mode:"horizontal",triggerSubMenuAction:"click",className:Gr["rc-menu"],getPopupContainer:function(){return document.getElementById("tab-visual")},onClick:function(n){return t.onClick(n,l,e)},selectedKeys:d,onOpenChange:function(e){return t.onOpenChange(e)},openKeys:this.state.openKeys},o.a.createElement(jr,{className:Gr.InputItemMenu,key:"0"},s))}},{key:"onTitleClick",value:function(e){this.setState({key:e.key})}},{key:"onClick",value:function(e,t,n){var r=e.keyPath,o={};o.name=r[1],o.index=r[0],o.multiple=t[r[1]],(0,qr("cf7svisual").clickMenu)(n.rowInfo,o)}},{key:"onOpenChange",value:function(e){e.length?this.setState({openKeys:e}):this.setState({openKeys:[]})}},{key:"clickMenuButton",value:function(e){this.state.openKeys.length||this.setState({openKeys:["0"]}),(0,qr("cf7svisual").clickMenu)(e.rowInfo,null)}},{key:"hasEdit",value:function(e){if(["list-ol","list-li"].indexOf(e.cf7sType)>-1){if(window.cf7svisual.addons){var t=window.cf7svisual.addons.get("edit");if(t){var n,r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Ur(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ur(e,void 0):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(o.types&&o.types.indexOf(e.cf7sType)>-1)return Gr.InputItemButton}}catch(e){r.e(e)}finally{r.f()}}}return Gr.InputItemButtonDisabled}var i=!1;return k.c.forEach((function(t){t.cf7sType&&t.cf7sType===e.cf7sType&&(i=!0)})),i?Gr.InputItemButton:Gr.InputItemButtonDisabled}},{key:"hasDuplicate",value:function(e){if(["submit","recaptcha"].indexOf(e.cf7sType)>-1)return Gr.InputItemButtonDisabled;var t=!1;return k.c.forEach((function(n){n.cf7sType&&n.cf7sType===e.cf7sType&&(t=!0)})),t?Gr.InputItemButton:Gr.InputItemButtonDisabled}},{key:"render",value:function(){var e=this,t=this.props,n=Object(k.g)("versions"),r=n&&n.cf7?n.cf7:"0",i=!!this.renderMenuItem(t),a=-1!==Z()(k.c).filter((function(e){return"cf7Tag"===e.cf7sSelectGroup})).map((function(e,t){return e.cf7sType})).indexOf(t.rowInfo.node.cf7sType);"acceptance"===t.rowInfo.node.cf7sType&&Object(k.k)(r,"5.0.3")&&(t.rowInfo.node.cf7DefaultOn=!1,t.rowInfo.node.cf7Invert=!1);var s=qr("cf7svisual"),l=s.editNode,c=s.duplicateNode,u=s.deleteNode,d=s.changeNodeType;return o.a.createElement("div",{className:Gr.InputItemOptions},!!a&&o.a.createElement(Q,{className:Gr.InputItemTypeSelect,treeData:window.cf7svisual.treeData||t.treeData,shortText:!0,node:t.rowInfo.node,onChange:function(e){return d(e,t.rowInfo)}}),o.a.createElement("div",{className:Gr.InputItemButtons},o.a.createElement("button",{onClick:function(){return l(t.rowInfo)},className:this.hasEdit(t.rowInfo.node),"data-balloon":Kr("edit","contact-form-7-skins"),"data-balloon-pos":"up"},o.a.createElement("span",{className:"dashicons dashicons-welcome-write-blog"})),o.a.createElement("button",{onClick:function(){return c(t.rowInfo)},className:this.hasDuplicate(t.rowInfo.node),"data-balloon":Kr("duplicate","contact-form-7-skins"),"data-balloon-pos":"up"},o.a.createElement("span",{className:"dashicons dashicons-admin-page"})),o.a.createElement("button",{onClick:function(){return u(t.rowInfo)},className:Gr.InputItemButton,"data-balloon":Kr("delete","contact-form-7-skins"),"data-balloon-pos":"up"},o.a.createElement("span",{className:"dashicons dashicons-dismiss"})),i&&o.a.createElement("button",{onClick:function(){return e.clickMenuButton(t)},className:Gr.InputItemButton,"data-balloon":Kr("Add-on options","contact-form-7-skins"),"data-balloon-pos":"up"},o.a.createElement("span",{className:"dashicons dashicons-arrow-down-alt2"}),!!this.state.openKeys.length&&this.renderMenuItem(t))))}}]),i}(r.Component);function Xr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Zr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xr(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var $r=function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(){return l()(this,i),r.apply(this,arguments)}return u()(i,[{key:"render",value:function(){var e=Zr({},window.wp.data),t=e.dispatch,n=Zr({},(0,e.select)("cf7svisual").getStates()),r=n.treeData,i=n.rowInfo,a=t("cf7svisual").onChangeTreeData;return o.a.createElement("div",{className:"Items___1_GFj"},o.a.createElement($.SortableTreeWithoutDndContext,{dndType:"VisualFormDnD",treeData:r,onChange:a,canDrop:function(e){return Object(k.a)(Zr(Zr({},e),{},{treeData:r}))},innerStyle:{padding:20},nodeContentRenderer:ye,generateNodeProps:function(e){return{toolbar:[o.a.createElement(Yr,{treeData:r,rowInfo:Zr(Zr({},i),e)})],edited:i?i.node.cf7Name:null}}}))}}]),i}(r.Component);function Jr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jr(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var eo=Qr({},window.wp.data),to=eo.dispatch,no=eo.select,ro=Qr({},window.wp.i18n).__,oo=function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(){return l()(this,i),r.apply(this,arguments)}return u()(i,[{key:"render",value:function(){var e=Qr({},no("cf7svisual").getStates()).notice,t=e.status,n=e.content,r=e.isDismissible,i=to("cf7svisual").removeNotice,a="notice notice-alt notice-".concat(t," "),s=r?" is-dismissible":"";return o.a.createElement("div",{className:"FormNotice___2R6nx"},n&&o.a.createElement("div",{className:a+"notice___1EIDw"+s},o.a.createElement("p",{dangerouslySetInnerHTML:{__html:n}}),r&&o.a.createElement("button",{className:"notice-dismiss",type:"button",onClick:i},o.a.createElement("span",{className:"screen-reader-text"},ro("Dismiss this notice","contact-form-7-skins")))))}}]),i}(r.Component),io=n(3),ao=n.n(io);function so(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function lo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?so(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):so(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var co=function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(){return l()(this,i),r.apply(this,arguments)}return u()(i,[{key:"render",value:function(){var e=this,t=(0,window.wp.data.dispatch)("cf7svisual").addNode;return this.props.connectDragSource(o.a.createElement("div",{onClick:function(){return t(e.props.node)},className:"node___2sWKW",key:this.props.node.cf7sType},o.a.createElement("span",{className:this.props.node.cf7sIcon}),this.props.node.cf7sSelectLabel))}}]),i}(r.Component),uo={beginDrag:function(e,t,n){return Object(k.i)(e.node),{node:lo({},e.node)}}};co.propTypes={node:de.a.object};var fo=Object(_.DragSource)("VisualFormDnD",uo,(function(e,t){return{connectDragSource:e.dragSource()}}))(co),po={tipsContainer:"tipsContainer___n3NlV",tipIcon:"tipIcon___1Ab9T"};function ho(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var vo=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ho(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ho(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},window.wp.i18n).__,go=function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(e){var t;return l()(this,i),(t=r.call(this,e)).updateTipCounter=t.updateTipCounter.bind(ao()(t)),t.state={tipCounter:0},t}return u()(i,[{key:"componentDidMount",value:function(){this.tipRotation=!0,this.tipIntervalTime=2e4,this.timerHandle=setInterval(this.updateTipCounter,this.tipIntervalTime)}},{key:"componentWillUnmount",value:function(){this.timerHandle&&(clearInterval(this.timerHandle),this.timerHandle=0)}},{key:"updateTipCounter",value:function(){if(this.tipRotation){var e=this.state.tipCounter+1;this.setState({tipCounter:e})}}},{key:"tipOnMouseEnter",value:function(){this.tipRotation=!1}},{key:"tipOnMouseLeave",value:function(){var e=this;setTimeout((function(){e.tipRotation=!0}),this.tipIntervalTime)}},{key:"showTip",value:function(e){var t=e.length;return e[Math.floor(Math.random()*t)]}},{key:"render",value:function(){var e=this,t=[],n="https://cf7skins.com/add-ons/multi?utm_source=plugin&utm_medium=link&utm_campaign=pro-tip&utm_content=multi",r="https://cf7skins.com/add-ons/ready?utm_source=plugin&utm_medium=link&utm_campaign=pro-tip&utm_content=ready",i="https://cf7skins.com/add-ons/pro?utm_source=plugin&utm_medium=link&utm_campaign=pro-tip&utm_content=pro",a="https://cf7skins.com/add-ons/logic?utm_source=plugin&utm_medium=link&utm_campaign=pro-tip&utm_content=logic",s="https://cf7skins.com/add-ons?utm_source=plugin&utm_medium=link&utm_campaign=pro-tip&utm_content=pro",l=[o.a.createElement("span",null,vo("Forms are easier to follow along with when questions are on separate pages.","contact-form-7-skins"),"  ",o.a.createElement("a",{href:n,target:"_blank",rel:"noopener noreferrer"},vo("CF7 Skins Multi makes separate pages possible.","contact-form-7-skins"))),o.a.createElement("span",null,vo("Your form is less likely to be completed if it’s too long. Separate it using","contact-form-7-skins"),"  ",o.a.createElement("a",{href:n,target:"_blank",rel:"noopener noreferrer"},vo("CF7 Skins Multi.","contact-form-7-skins"))),o.a.createElement("span",null,vo("Progress bars make long forms feel less daunting. Add this in using ","contact-form-7-skins"),"  ",o.a.createElement("a",{href:n,target:"_blank",rel:"noopener noreferrer"},vo("CF7 Skins Multi.","contact-form-7-skins"))),o.a.createElement("span",null,vo("Emphasize privacy policy acceptance by putting them on a second page.","contact-form-7-skins"),"  ",o.a.createElement("a",{href:n,target:"_blank",rel:"noopener noreferrer"},vo("CF7 Skins Multi","contact-form-7-skins"))," ",vo(" makes this easy to do.","contact-form-7-skins")),o.a.createElement("span",null,vo("Your form is more likely to be completed if it isn’t cluttered. Separate information onto different pages using","contact-form-7-skins"),"  ",o.a.createElement("a",{href:n,target:"_blank",rel:"noopener noreferrer"},vo("CF7 Skins Multi.","contact-form-7-skins")))],c=[o.a.createElement("span",null,vo("Put name and email address fields beside each other easily using CF7 Skins Ready.","contact-form-7-skins"),"  ",o.a.createElement("a",{href:r,target:"_blank",rel:"noopener noreferrer"},vo("Read more about CF7 Skins Ready.","contact-form-7-skins"))),o.a.createElement("span",null,vo("Don’t forget that your form fields need to be mobile optimized, especially if fields are beside each other.","contact-form-7-skins"),"  ",o.a.createElement("a",{href:r,target:"_blank",rel:"noopener noreferrer"},vo("CF7 Skins Ready handles this for you.","contact-form-7-skins"))),o.a.createElement("span",null,vo("Make your form easier to read by grouping together similar fields.","contact-form-7-skins"),"  ",o.a.createElement("a",{href:r,target:"_blank",rel:"noopener noreferrer"},vo("CF7 Skins Ready makes this easy to do.","contact-form-7-skins"))),o.a.createElement("span",null,vo("Visually grouping similar fields together improves the flow of your form. A good way to do this is by drawing a box around the group using","contact-form-7-skins"),"  ",o.a.createElement("a",{href:r,target:"_blank",rel:"noopener noreferrer"},vo("CF7 Skins Ready.","contact-form-7-skins"))),o.a.createElement("span",null,vo("Separate cluttered form content into 2 columns or more using","contact-form-7-skins"),"  ",o.a.createElement("a",{href:r,target:"_blank",rel:"noopener noreferrer"},vo("CF7 Skins Ready.","contact-form-7-skins"))),o.a.createElement("span",null,vo("Looking to arrange your form fields into 2 or more columns?","contact-form-7-skins"),"  ",o.a.createElement("a",{href:r,target:"_blank",rel:"noopener noreferrer"},vo("CF7 Skins Ready ","contact-form-7-skins")),"  ",vo("makes this easy to do.","contact-form-7-skins")),o.a.createElement("span",null,vo("Increase the chances of your form being completed by aligning the fields. Use the grid structure in","contact-form-7-skins"),"  ",o.a.createElement("a",{href:r,target:"_blank",rel:"noopener noreferrer"},vo("CF7 Skins Ready","contact-form-7-skins")),"  ",vo("to get a head start.","contact-form-7-skins")),o.a.createElement("span",null,vo("More complex form layouts should follow a grid system.","contact-form-7-skins"),"  ",o.a.createElement("a",{href:r,target:"_blank",rel:"noopener noreferrer"},vo("CF7 Skins Ready makes this easy to do.","contact-form-7-skins"))),o.a.createElement("span",null,vo("You can align fields, put them side-by-side, and more with our easy-to-use","contact-form-7-skins"),"  ",o.a.createElement("a",{href:r,target:"_blank",rel:"noopener noreferrer"},vo("CF7 Skins Ready Add-on.","contact-form-7-skins"))),o.a.createElement("span",null,vo("Have a yes/no radio button field? Display them horizontally on the same line using","contact-form-7-skins"),"  ",o.a.createElement("a",{href:r,target:"_blank",rel:"noopener noreferrer"},vo("CF7 Skins Ready.","contact-form-7-skins"))),o.a.createElement("span",null,vo("Very good, good, neutral? For a survey form, put checkboxes or radio buttons on the same horizontal line.","contact-form-7-skins"),"  ",o.a.createElement("a",{href:r,target:"_blank",rel:"noopener noreferrer"},vo("CF7 Skins Ready makes this easy to do.","contact-form-7-skins")))],u=[o.a.createElement("span",null,vo("It is more professional looking to have a form style that matches your site.","contact-form-7-skins"),"  ",o.a.createElement("a",{href:i,target:"_blank",rel:"noopener noreferrer"},vo("Find a better fit in our CF7 Skins Pro Styles.","contact-form-7-skins"))),o.a.createElement("span",null,vo("Having more templates means you save time creating forms from scratch.","contact-form-7-skins"),"  ",o.a.createElement("a",{href:i,target:"_blank",rel:"noopener noreferrer"},vo("Get more templates to choose from.","contact-form-7-skins"))),o.a.createElement("span",null,vo("For custom style options, you can use CSS to adjust the form’s style.","contact-form-7-skins"),"  ",o.a.createElement("a",{href:i,rel:"noopener noreferrer"},vo("To get help, our premium email support team is available.","contact-form-7-skins"))),o.a.createElement("span",null,vo("Ensure error-free forms by using templates and the visual editor.","contact-form-7-skins"),"  ",o.a.createElement("a",{href:i,rel:"noopener noreferrer"},vo("Get more templates with the CF7 Skins Pro Add-on.","contact-form-7-skins")))],d=[o.a.createElement("span",null,vo("Show specific fields to customers based on their responses with","contact-form-7-skins"),"  ",o.a.createElement("a",{href:a,rel:"noopener noreferrer"},vo("CF7 Skins Logic.","contact-form-7-skins"))),o.a.createElement("span",null,vo("You may not need to show all of the possible fields to all of your customers.","contact-form-7-skins"),"  ",o.a.createElement("a",{href:a,rel:"noopener noreferrer"},vo("Keep forms short & relevant with CF7 Skins Logic.","contact-form-7-skins"))),o.a.createElement("span",null,vo("You can dynamically show and hide form fields using","contact-form-7-skins"),"  ",o.a.createElement("a",{href:a,rel:"noopener noreferrer"},vo("CF7 Skins Logic.","contact-form-7-skins"))),o.a.createElement("span",null,vo("Dynamic form fields are possibly when you add logic to the fields.","contact-form-7-skins"),"  ",o.a.createElement("a",{href:a,rel:"noopener noreferrer"},vo("CF7 Skins Logic makes dynamic forms possible.","contact-form-7-skins")))],f=[o.a.createElement("span",null,vo("Feeling frustrated? Get 1-1 personalized, real-human responses to your tough questions with any of our","contact-form-7-skins"),"  ",o.a.createElement("a",{href:s,rel:"noopener noreferrer"},vo("CF7 Skins Add-ons.","contact-form-7-skins"))),o.a.createElement("span",null,vo("Make sure your form is set up correctly the first time by talking to our trained support staff, available with our","contact-form-7-skins"),"  ",o.a.createElement("a",{href:s,rel:"noopener noreferrer"},vo("CF7 Skins Pro Add-on.","contact-form-7-skins"))),o.a.createElement("span",null,vo("The WordPress support community is available to answer questions. Or, save time searching & ask us directly with our ","contact-form-7-skins"),"  ",o.a.createElement("a",{href:s,rel:"noopener noreferrer"},vo("Premium Email support.","contact-form-7-skins"))),o.a.createElement("span",null,vo("Double check your mail settings to avoid problems sending & receiving forms. Set it up correctly from the start with our","contact-form-7-skins"),"  ",o.a.createElement("a",{href:s,rel:"noopener noreferrer"},vo("Premium Email support.","contact-form-7-skins")))],p=Object(k.g)("versions");return p&&(t=p.multi?t:[].concat(Z()(t),l),t=p.ready?t:[].concat(Z()(t),c),t=p.pro?t:[].concat(Z()(t),u,f),t=p.logic?t:[].concat(Z()(t),d)),0!==t.length&&o.a.createElement("div",{className:po.tipsContainer,onMouseEnter:function(){return e.tipOnMouseEnter()},onMouseLeave:function(){return e.tipOnMouseLeave()}},o.a.createElement("span",{className:"dashicons dashicons-lightbulb "+po.tipIcon}),o.a.createElement("span",{className:po.tip},o.a.createElement("strong",null,vo("Tip","contact-form-7-skins"),":- ")),o.a.createElement("span",null,this.showTip(t)))}}]),i}(r.Component);function mo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var yo=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mo(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},window.wp.i18n).__,bo=function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(e){var t;return l()(this,i),(t=r.call(this,e)).renderSelectItem=t.renderSelectItem.bind(ao()(t)),t}return u()(i,[{key:"renderSelectItem",value:function(e,t){return o.a.createElement("div",{className:"SelectItemContainer___1Jjgn",key:"nodeKey".concat(t+1)},o.a.createElement(fo,{node:e}))}},{key:"render",value:function(){return o.a.createElement("div",{className:"Select____6sjR"},o.a.createElement("div",{className:"SelectHeading___23q8X"},yo("FIELDS (CF7 TAGS)","contact-form-7-skins"),o.a.createElement("span",{className:"SelectHelpButton___2FEUf","data-balloon":yo("Drag and drop or click a Contact Form 7 Tag to add it to the visual form editor.","contact-form-7-skins")+" "+yo("To see how Fields are used, select a template it's a great way to get started quickly.","contact-form-7-skins")+" "+yo("Any field content can be changed by clicking Edit on the field.","contact-form-7-skins"),"data-balloon-pos":"left","data-balloon-length":"large"},"?")),o.a.createElement("div",{className:"SelectContainer___1I1FD"},o.a.createElement("div",{className:"SelectEven___1R4Zg"},k.c.filter((function(e,t){return"cf7Tag"===e.cf7sSelectGroup&&t%2==0})).map(this.renderSelectItem)),o.a.createElement("div",{className:"SelectOdd___2mHah"},k.c.filter((function(e,t){return"cf7Tag"===e.cf7sSelectGroup&&t%2!=0})).map(this.renderSelectItem))),o.a.createElement(go,null),o.a.createElement("div",{className:"SelectHeading___23q8X"},yo("FIELDS (CF7 SKINS ITEMS)","contact-form-7-skins"),o.a.createElement("span",{className:"SelectHelpButton___2FEUf","data-balloon":yo("Use CF7 Skins Fields for the layout of your form.","contact-form-7-skins")+" "+yo("Fieldsets, legends, and lists are used to group related fields, and allow for more detailed styling.","contact-form-7-skins"),"data-balloon-pos":"left","data-balloon-length":"large"},"?")),o.a.createElement("div",{className:"SelectContainer___1I1FD"},o.a.createElement("div",{className:"SelectEven___1R4Zg"},k.c.filter((function(e,t){return"cf7sItem"===e.cf7sSelectGroup&&t%2!=0})).map(this.renderSelectItem)),o.a.createElement("div",{className:"SelectOdd___2mHah"},k.c.filter((function(e,t){return"cf7sItem"===e.cf7sSelectGroup&&t%2==0})).map(this.renderSelectItem))))}}]),i}(r.Component);var _o=function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(){return l()(this,i),r.apply(this,arguments)}return u()(i,[{key:"render",value:function(){var e=this,t=Object(k.g)("addons"),n=!!t&&t.get("afterFormItems"),r=t&&n?n.map((function(t,n){return o.a.createElement(t,R()({key:n},e.props))})):"";return o.a.createElement("div",{className:"FormTopBar___Jiuzy"},r)}}]),i}(r.Component),wo={Form:"Form___1ygWS",Content:"Content___17UpB",Operate:"Operate___3NO-o"};function So(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Co(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?So(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):So(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Oo=Co({},window.wp.i18n).__,xo=Co({},window.wp.data),To=xo.dispatch,ko=xo.select,Do=function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(){return l()(this,i),r.apply(this,arguments)}return u()(i,[{key:"componentDidUpdate",value:function(e,t,n){e.notice.content&&this.props.notice.content&&(Object(b.isEqual)(e,this.props)||e.notice.content!==this.props.notice.content||(0,To("cf7svisual").removeNotice)())}},{key:"if",value:function(e){return e&&console.log("[saveVisualForm]\nPost data",postData),e&&console.log("[saveVisualForm]\nPost results: ",data),"object"!==("undefined"==typeof data?"undefined":T()(data))||"undefined"==typeof data?(spinner.style.visibility="hidden",void alert(Oo("Error, the result is not an object or null.","contact-form-7-skins"))):Object(b.has)(data,"treeData")&&Object(b.has)(data,"form")&&Object(b.has)(data,"callbacks")?void(e&&Object(b.isEqual)(data.treeData,treeData)&&console.log("[saveVisualForm]\nDatabase treeData === live treeData")):(spinner.style.visibility="hidden",void alert(Oo("Error: treeData, form or callbacks property is not available.","contact-form-7-skins")))}},{key:"render",value:function(){var e=Co({},ko("cf7svisual").getStates()),t=e.showEditModal,n=e.showTreeData,r=To("cf7svisual");O()(r);var i=!(!t&&!n);return Co(Co({},this.props),{},{styles:wo}),o.a.createElement("div",{className:wo.Form},o.a.createElement("div",{className:wo.Content},o.a.createElement(Y,null),o.a.createElement(_o,this.props),o.a.createElement(oo,null),o.a.createElement($r,null)),o.a.createElement("div",{className:wo.Operate},i&&o.a.createElement(se,null),o.a.createElement(bo,null)),o.a.createElement(P,null))}}]),i}(r.Component);function Eo(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Io(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Io(e,void 0):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Io(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Po(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Mo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Po(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Po(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ro={treeData:[],rowInfo:null,showEditModal:!1,notice:{status:"success",content:"",isDismissible:!0},showTreeData:!1,showRequired:!0},No=Mo({},window.wp.i18n).__;function jo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ao(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Lo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function zo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lo(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}(0,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jo(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},window.wp.data).registerStore)("cf7svisual",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ro,t=arguments.length>1?arguments[1]:void 0,n=function(t){if(t.path)return Object($.getNodeAtPath)({treeData:e.treeData.slice(),path:t.path.slice(0,1),getNodeKey:function(e){return e.treeIndex},ignoreCollapsed:!0}).node},r=function(e,t,n){return Object($.changeNodeAtPath)({treeData:e,getNodeKey:function(e){return e.treeIndex},path:t.path,newNode:n,ignoreCollapsed:!0})},o=function(n){var o=e.treeData.slice(),i=Mo({},e.rowInfo),a=t.event.target,s=a.name,l=void 0===s?"name is missing":s,c=a.type,u=void 0===c?"type is missing":c,d=a.value,f=void 0===d?"value is missing":d;"cf7Name"===l?i.node[l]=f.replace(/[^0-9a-zA-Z:._-]/g,"").replace(/^[^a-zA-Z]+/,""):"cf7sLabel"===l?i.node[l]=f.replace(/<(?:.|\n)*?>/gm,""):"cf7IdAttribute"===l?i.node[l]=f.replace(/[^-0-9a-zA-Z_]/g,""):"cf7FileTypes"===l?i.node[l]=f.replace(/[^0-9a-zA-Z.,|\s]/g,""):"cf7Limit"===l?i.node[l]=f.replace(/[^0-9kKmMbB]/g,""):"cf7ClassAttribute"===l?i.node[l]=f.replace(/[^-0-9a-zA-Z_ ]/g,""):"cf7Values"===l||"cf7sContent"===l?i.node[l]=f.trim():"number"===u?i.node[l]=f.replace(/[^0-9.-]/g,""):"date"===u&&(f.match(/^\d{4}-\d{2}-\d{2}$/)||(i.node[l]=""));var p=r(o,i,i.node);return Mo(Mo({},e),{},{treeData:p,rowInfo:i})};switch(t.type){case"UPDATE_TREEDATA":return Mo(Mo({},e),{},{treeData:t.treeData});case"UPDATE_VISUAL_STATE":return Mo(Mo({},e),t.state);case"ON_CHANGE_TREEDATA":var i=t.treeData.slice(),a=function(e){e.lowerSiblingCounts;var t=e.node,n=e.parentNode,r=e.path,o=(e.treeIndex,Object(k.e)(t,n));return o!==t?(i=Object($.changeNodeAtPath)({treeData:i,getNodeKey:function(e){return e.treeIndex},path:r,newNode:o,ignoreCollapsed:!0}),!1):i};return Object($.walk)({treeData:i,getNodeKey:function(e){return e.treeIndex},callback:a}),Mo(Mo({},e),{},{treeData:i});case"ADD_NODE":var s=e.treeData.slice(),l=Mo({},t.node),c=Object(k.a)({node:l,treeData:s});if(!c)return Mo(Mo({},e),{},{notice:{status:"error",content:No("Unable to add the item.","contact-form-7-skins"),isDismissible:!0}});var u=Object(k.e)(l,null);return Object(k.i)(u),s.push(Mo({},u)),Mo(Mo({},e),{},{treeData:s});case"EDIT_NODE":var d=!1,f=t.rowInfo;if(e.rowInfo&&e.rowInfo.node.cf7Name===f.node.cf7Name)return Mo(Mo({},e),{},{showEditModal:!1,rowInfo:null});if(["list-ol","list-li"].indexOf(f.node.cf7sType)>-1){var p=!!window.cf7svisual.addons&&window.cf7svisual.addons.get("edit"),h=function(){return Mo(Mo({},e),{},{showEditModal:!1,showTreeData:d,notice:Mo(Mo({},e.notice),{},{status:"error",content:No("There is no edit field available for this item.","contact-form-7-skins")})})};p||h();var v,g=!1,m=Eo(p);try{for(m.s();!(v=m.n()).done;){var y=v.value;y.types&&y.types.indexOf(f.node.cf7sType)>-1&&(g=!0)}}catch(e){m.e(e)}finally{m.f()}g||h()}return f.ancestorNode=n(f,e.treeData),Mo(Mo({},e),{},{showEditModal:!0,rowInfo:f,showTreeData:d});case"DUPLICATE_NODE":var _=Mo({},t.rowInfo);if("undefined"===_.treeIndex)return;var w=Object(b.clone)(_.node);Object(k.i)(w);var S=Object(k.b)(_);if("boolean"==typeof S){var C=Object($.insertNode)({treeData:e.treeData,newNode:w,depth:_.path.length-1,minimumTreeIndex:_.treeIndex+1,expandParent:!0,getNodeKey:function(e){return e.treeIndex}}),O=C.treeData;return Mo(Mo({},e),{},{treeData:O})}if("surrounding"===S){var x=Object(b.cloneDeep)(_.parentNode);(x=Object(k.i)(x)).children.forEach((function(e,t){Object(k.i)(x.children[t])}));var T=Object($.insertNode)({treeData:e.treeData,newNode:x,depth:_.path.length-2,minimumTreeIndex:_.treeIndex+1,expandParent:!0,getNodeKey:function(e){return e.treeIndex}}),D=T.treeData;return Mo(Mo({},e),{},{treeData:D})}return Mo(Mo({},e),{},{notice:Mo(Mo({},e.notice),{},{status:"error",content:"<strong>"+No("Unable to duplicate!","contact-form-7-skins")+"</strong><br /> "+S})});case"DELETE_NODE":var E=Object($.removeNodeAtPath)({treeData:e.treeData.slice(),path:t.rowInfo.path,getNodeKey:function(e){return e.treeIndex},ignoreCollapsed:!0}),I=e.showEditModal;return e.rowInfo&&(Object(b.isEqual)(t.rowInfo.path,e.rowInfo.path)&&(I=!1),e.rowInfo&&t.rowInfo.node.children&&Object($.isDescendant)(t.rowInfo.node,e.rowInfo.node)&&(I=!1)),Mo(Mo({},e),{},{treeData:E,showEditModal:I});case"CHANGE_NODE_TYPE":var P=e.treeData.slice(),M=Mo({},t.rowInfo),R=Object(b.clone)(M.node),N=t.element.target.value,j=Mo(Mo({},M.node),{cf7sType:N}),A=Object(k.a)({node:j,treeData:P}),L={};if(A){var z=Z()(k.c);z.forEach((function(e,t){e.cf7sType===N&&(M.node=Mo({},e))})),j=Object(k.e)(M.node,M.parentNode),Object(k.i)(M.node)}else j=R,L.content=No("Unable to change the item.","contact-form-7-skins"),L.status="error";var F=r(P,M,j);return Mo(Mo({},e),{},{treeData:F,rowInfo:M,showEditModal:!0,notice:Mo(Mo({},e.notice),L)});case"EDIT_ON_CHANGE":var H,W=e.treeData.slice(),G=Mo({},t),U=G.event,B=G.optionsArrayType,V=G.index;if(t.rowInfo)H=Mo({},t.rowInfo);else{var K;if(H=Mo({},e.rowInfo),"function"==typeof U.stopPropagation){U.stopPropagation();var q=U.target,Y=void 0===q?{error:"the event target is missing"}:q;K=Y}else K=U;var X=K,J=X.name,Q=void 0===J?"name is missing":J,ee=X.value,te=void 0===ee?"value is missing":ee,ne=X.checked,re=void 0===ne?"checked is missing":ne,oe=X.type,ie=void 0===oe?"type is missing":oe;if("checkbox"===ie)if(null===B&&null===V)H.node[Q]=re;else if(null==B&&null!==V){H.node[Q]||(H.node[Q]=[],H.node[Q].push());var ae=H.node[Q].indexOf(V);ae<0?H.node[Q].push(V):H.node[Q].splice(ae,1)}else null!==B&&null!==V&&(H.node[B][V].isChecked=re);else"radio"===ie&&null!==V?(H.node[B][V].isChecked=re,H.node[B].map((function(e,t){return t!==V&&(H.node[B][t].isChecked=!1),H.node[B][t]}))):"range"===ie||"number"===ie?H.node[Q]=parseInt(te,10):"text"===ie&&null!==V?H.node.cf7Options[V][Q]=te:H.node[Q]=te}var se=r(W,H,H.node);return Mo(Mo({},e),{},{treeData:se,rowInfo:H});case"EDIT_ON_KEY_PRESS":return"Enter"===t.event.key&&"textarea"!==t.event.target.type?(e.rowInfo.path&&o(t.event),Mo(Mo({},e),{},{showTreeData:!1,showEditModal:!1,rowInfo:null})):Mo({},e);case"EDIT_ADD_OPTION":var le=Mo({},e.rowInfo);return le.node.cf7Options.push({value:"Option "+(le.node.cf7Options.length+1),isChecked:!1}),Mo(Mo({},e),{},{rowInfo:le});case"EDIT_REMOVE_OPTION":var ce=Mo({},e.rowInfo),ue=t.index;return"radio"===ce.node.cf7sType&&!0===ce.node.cf7Options[ue].isChecked&&ce.node.cf7Options.length>1&&(0!==ue?ce.node.cf7Options[0].isChecked=!0:ce.node.cf7Options[ue+1].isChecked=!0),ce.node.cf7Options.splice(ue,1),Mo(Mo({},e),{},{rowInfo:ce});case"VALIDATE_INPUT":return o(t.event);case"VALIDATE_VISUAL_DATA":var de=e.treeData.slice(),fe=[];k.c.forEach((function(e,t){fe.push(e.cf7sType)}));var pe=function(n){return t.event.target.value=JSON.stringify(de),Mo(Mo({},e),{},{notice:Mo(Mo({},e.notice),{},{status:"error",content:n})})};try{JSON.parse(t.event.target.value)}catch(e){return pe(No("Visual Object Data is not valid ( JSON parse error )","contact-form-7-skins"))}var he=JSON.parse(t.event.target.value);if(Object(b.isPlainObject)(he)&&Object(b.isEmpty)(he))return pe(No("Visual data is empty.","contact-form-7-skins"));var ve=function e(t){var n,r=Eo(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;(Object(b.isEmpty)(o)||void 0===o.cf7sType||fe.indexOf(o.cf7sType)<0)&&pe(No("Visual data is not valid.","contact-form-7-skins")),o.children&&e(o.children)}}catch(e){r.e(e)}finally{r.f()}};return ve(he),Mo(Mo({},e),{},{treeData:he});case"SET_NOTICE":return Mo(Mo({},e),{},{notice:{status:t.status,content:t.content,isDismissible:t.isDismissible}});case"REMOVE_NOTICE":return Mo(Mo({},e),{},{notice:{status:"",content:"",isDismissible:!0}});case"CLICK_MENU":var ge=Mo({},t.rowInfo);if(!t.menu)return ge.ancestorNode=n(ge,e.treeData),Mo(Mo({},e),{},{rowInfo:ge});var me=Mo({},t.menu),ye=me.name,be=me.index,_e=me.multiple;if(!1===_e)ge.node[ye]=[],ge.node[ye].push(be);else{ge.node[ye]||(ge.node[ye]=[],ge.node[ye].push());var we=ge.node[ye].indexOf(be);we<0?ge.node[ye].push(be):ge.node[ye].splice(we,1)}return ge.ancestorNode=n(ge,e.treeData),Mo(Mo({},e),{},{rowInfo:ge});case"CLICK_VISUAL_OBJECT":if(e.showEditModal&&"visual-data"===e.rowInfo.node.cf7sType)return Mo(Mo({},e),{},{showEditModal:!1,rowInfo:null});var Se={node:{}};return Se.node.cf7sType="visual-data",Se.node.cf7sSelectLabel="Visual Data",Mo(Mo({},e),{},{showEditModal:!0,rowInfo:Se});case"CLICK_FORM_OPTIONS":if(e.showEditModal&&"form-options"===e.rowInfo.node.cf7sType)return Mo(Mo({},e),{},{showEditModal:!1,rowInfo:null});var Ce={node:{}};return Ce.node.cf7sType="form-options",Ce.node.cf7sSelectLabel="Form Options",Mo(Mo({},e),{},{showEditModal:!0,rowInfo:Ce});case"CLOSE_EDIT":return Mo(Mo({},e),{},{showEditModal:!1,showTreeData:!1,rowInfo:null});default:return Mo({},e)}},actions:{updateTreeData:function(e){return{type:"UPDATE_TREEDATA",treeData:e}},updateVisualState:function(e){return{type:"UPDATE_VISUAL_STATE",state:e}},onChangeTreeData:function(e){return{type:"ON_CHANGE_TREEDATA",treeData:e}},addNode:function(e){return{type:"ADD_NODE",node:e}},editNode:function(e){return{type:"EDIT_NODE",rowInfo:e}},duplicateNode:function(e){return{type:"DUPLICATE_NODE",rowInfo:e}},deleteNode:function(e){return{type:"DELETE_NODE",rowInfo:e}},changeNodeType:function(e,t){return{type:"CHANGE_NODE_TYPE",element:e,rowInfo:t}},editOnChange:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return{type:"EDIT_ON_CHANGE",event:e,optionsArrayType:t,index:n,rowInfo:r}},editOnKeyPress:function(e){return{type:"EDIT_ON_KEY_PRESS",event:e}},editAddOption:function(e){return{type:"EDIT_ADD_OPTION",event:e}},editRemoveOption:function(e,t){return{type:"EDIT_REMOVE_OPTION",event:e,index:t}},validateInput:function(e){return{type:"VALIDATE_INPUT",event:e}},validateVisualData:function(e){return{type:"VALIDATE_VISUAL_DATA",event:e}},setNotice:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"success",n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return{type:"SET_NOTICE",content:e,status:t,isDismissible:n}},removeNotice:function(){return{type:"REMOVE_NOTICE"}},clickMenu:function(e,t){return{type:"CLICK_MENU",rowInfo:e,menu:t}},clickVisualObject:function(){return{type:"CLICK_VISUAL_OBJECT"}},clickFormOptions:function(){return{type:"CLICK_FORM_OPTIONS"}},closeEdit:function(){return{type:"CLOSE_EDIT"}}},selectors:{getTreeData:function(e){return e.treeData},getRowInfo:function(e){return e.rowInfo},getStates:function(e){return e}},controls:{},resolvers:{}});var Fo=zo({},window.wp.i18n).__,Ho=zo({},window.wp.data),Wo=Ho.dispatch,Go=Ho.withSelect,Uo=function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(e){var t;return l()(this,i),(t=r.call(this,e)).state={treeData:[],showEditModal:!1,notice:{status:"success",content:"",isDismissible:!0},rowInfo:null,value:[],showTreeData:!1},t}return u()(i,[{key:"componentWillMount",value:function(){for(var e=document.getElementById("tab-template"),t=e?e.getElementsByClassName("select"):[],n=function(e){t[e].addEventListener("click",(function(n){var r=!!t[e].classList.contains("selected"),o={action:"visual_select_template",template:n.target.dataset.value,deselect:r};Object(k.d)(o,"json").then((function(e){if(Array.isArray(e)){if(0!==Object.keys(e).length){Object(k.h)(e);var t,n=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Ao(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ao(e,void 0):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;Object(k.i)(r)}}catch(e){n.e(e)}finally{n.f()}Wo("cf7svisual").updateVisualState({treeData:e,showEditModal:!1})}}else alert(Fo("Error, templateTree is not an array!","contact-form-7-skins"))})).catch((function(e){return console.error(e)}))}))},r=0;r<t.length;++r)n(r)}},{key:"componentDidUpdate",value:function(e,t){!Object(b.isEqual)(t,this.state)&&(t.notice.content,this.state.notice.content)}},{key:"componentDidMount",value:function(){var e,t=window.cf7svisual;e=t.items.length?t.items:Object(k.f)(),Wo("cf7svisual").updateTreeData(e)}},{key:"render",value:function(){var e=Go((function(e){return zo({},(0,e("cf7svisual").getStates)())}))(Do);return o.a.createElement(e,null)}}]),i}(r.Component),Bo=Object(_.DragDropContext)(S.a)(Uo);a.a.render(o.a.createElement(Bo,null),document.getElementById("tab-visual"))},function(e,t,n){"use strict";n.r(t),n.d(t,"ArrowKeyStepper",(function(){return te})),n.d(t,"AutoSizer",(function(){return ie})),n.d(t,"CellMeasurer",(function(){return ce})),n.d(t,"CellMeasurerCache",(function(){return ue})),n.d(t,"Collection",(function(){return be})),n.d(t,"ColumnSizer",(function(){return _e})),n.d(t,"accessibilityOverscanIndicesGetter",(function(){return Z})),n.d(t,"defaultCellRangeRenderer",(function(){return P})),n.d(t,"defaultOverscanIndicesGetter",(function(){return E})),n.d(t,"Grid",(function(){return X})),n.d(t,"InfiniteLoader",(function(){return Ce})),n.d(t,"List",(function(){return Te})),n.d(t,"createMasonryCellPositioner",(function(){return Qe})),n.d(t,"Masonry",(function(){return Je})),n.d(t,"MultiGrid",(function(){return ot})),n.d(t,"ScrollSync",(function(){return it})),n.d(t,"createTableMultiSort",(function(){return at})),n.d(t,"defaultTableCellDataGetter",(function(){return st})),n.d(t,"defaultTableCellRenderer",(function(){return lt})),n.d(t,"defaultTableHeaderRenderer",(function(){return ft})),n.d(t,"defaultTableHeaderRowRenderer",(function(){return ct})),n.d(t,"defaultTableRowRenderer",(function(){return pt})),n.d(t,"Table",(function(){return mt})),n.d(t,"Column",(function(){return ht})),n.d(t,"SortDirection",(function(){return ut})),n.d(t,"SortIndicator",(function(){return dt})),n.d(t,"WindowScroller",(function(){return At}));var r=n(5),o=n.n(r),i=n(6),a=n.n(i),s=n(8),l=n.n(s),c=n(4),u=n.n(c),d=n(3),f=n.n(d),p=n(7),h=n.n(p),v=n(2),g=n.n(v),m=n(0),y=n(24),b=n(15),_=n.n(b);function w(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=w(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}var S=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=w(e))&&(r&&(r+=" "),r+=t);return r};function C(e){var t=e.cellCount,n=e.cellSize,r=e.computeMetadataCallback,o=e.computeMetadataCallbackProps,i=e.nextCellsCount,a=e.nextCellSize,s=e.nextScrollToIndex,l=e.scrollToIndex,c=e.updateScrollOffsetForScrollToIndex;t===i&&("number"!=typeof n&&"number"!=typeof a||n===a)||(r(o),l>=0&&l===s&&c())}var O=n(43),x=n.n(O),T=(n(1),function(){function e(t){var n=t.cellCount,r=t.cellSizeGetter,i=t.estimatedCellSize;o()(this,e),g()(this,"_cellSizeAndPositionData",{}),g()(this,"_lastMeasuredIndex",-1),g()(this,"_lastBatchedIndex",-1),g()(this,"_cellCount",void 0),g()(this,"_cellSizeGetter",void 0),g()(this,"_estimatedCellSize",void 0),this._cellSizeGetter=r,this._cellCount=n,this._estimatedCellSize=i}return a()(e,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(e){var t=e.cellCount,n=e.estimatedCellSize,r=e.cellSizeGetter;this._cellCount=t,this._estimatedCellSize=n,this._cellSizeGetter=r}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(e){if(e<0||e>=this._cellCount)throw Error("Requested index ".concat(e," is outside of range 0..").concat(this._cellCount));if(e>this._lastMeasuredIndex)for(var t=this.getSizeAndPositionOfLastMeasuredCell(),n=t.offset+t.size,r=this._lastMeasuredIndex+1;r<=e;r++){var o=this._cellSizeGetter({index:r});if(void 0===o||isNaN(o))throw Error("Invalid size returned for cell ".concat(r," of value ").concat(o));null===o?(this._cellSizeAndPositionData[r]={offset:n,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[r]={offset:n,size:o},n+=o,this._lastMeasuredIndex=e)}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(e){var t=e.align,n=void 0===t?"auto":t,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;if(r<=0)return 0;var a,s=this.getSizeAndPositionOfCell(i),l=s.offset,c=l-r+s.size;switch(n){case"start":a=l;break;case"end":a=c;break;case"center":a=l-(r-s.size)/2;break;default:a=Math.max(c,Math.min(l,o))}var u=this.getTotalSize();return Math.max(0,Math.min(u-r,a))}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,n=e.offset;if(0===this.getTotalSize())return{};var r=n+t,o=this._findNearestCell(n),i=this.getSizeAndPositionOfCell(o);n=i.offset+i.size;for(var a=o;n<r&&a<this._cellCount-1;)a++,n+=this.getSizeAndPositionOfCell(a).size;return{start:o,stop:a}}},{key:"resetCell",value:function(e){this._lastMeasuredIndex=Math.min(this._lastMeasuredIndex,e-1)}},{key:"_binarySearch",value:function(e,t,n){for(;t<=e;){var r=t+Math.floor((e-t)/2),o=this.getSizeAndPositionOfCell(r).offset;if(o===n)return r;o<n?t=r+1:o>n&&(e=r-1)}return t>0?t-1:0}},{key:"_exponentialSearch",value:function(e,t){for(var n=1;e<this._cellCount&&this.getSizeAndPositionOfCell(e).offset<t;)e+=n,n*=2;return this._binarySearch(Math.min(e,this._cellCount-1),Math.floor(e/2),t)}},{key:"_findNearestCell",value:function(e){if(isNaN(e))throw Error("Invalid offset ".concat(e," specified"));e=Math.max(0,e);var t=this.getSizeAndPositionOfLastMeasuredCell(),n=Math.max(0,this._lastMeasuredIndex);return t.offset>=e?this._binarySearch(n,0,e):this._exponentialSearch(n,e)}}]),e}()),k=function(){function e(t){var n=t.maxScrollSize,r=void 0===n?"undefined"!=typeof window&&window.chrome?16777100:15e5:n,i=x()(t,["maxScrollSize"]);o()(this,e),g()(this,"_cellSizeAndPositionManager",void 0),g()(this,"_maxScrollSize",void 0),this._cellSizeAndPositionManager=new T(i),this._maxScrollSize=r}return a()(e,[{key:"areOffsetsAdjusted",value:function(){return this._cellSizeAndPositionManager.getTotalSize()>this._maxScrollSize}},{key:"configure",value:function(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(e){var t=e.containerSize,n=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize(),i=this._getOffsetPercentage({containerSize:t,offset:n,totalSize:o});return Math.round(i*(o-r))}},{key:"getSizeAndPositionOfCell",value:function(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(e){var t=e.align,n=void 0===t?"auto":t,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;o=this._safeOffsetToOffset({containerSize:r,offset:o});var a=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:n,containerSize:r,currentOffset:o,targetIndex:i});return this._offsetToSafeOffset({containerSize:r,offset:a})}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,n=e.offset;return n=this._safeOffsetToOffset({containerSize:t,offset:n}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:t,offset:n})}},{key:"resetCell",value:function(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function(e){var t=e.containerSize,n=e.offset,r=e.totalSize;return r<=t?0:n/(r-t)}},{key:"_offsetToSafeOffset",value:function(e){var t=e.containerSize,n=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return n;var i=this._getOffsetPercentage({containerSize:t,offset:n,totalSize:r});return Math.round(i*(o-t))}},{key:"_safeOffsetToOffset",value:function(e){var t=e.containerSize,n=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return n;var i=this._getOffsetPercentage({containerSize:t,offset:n,totalSize:o});return Math.round(i*(r-t))}}]),e}();function D(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t={};return function(n){var r=n.callback,o=n.indices,i=Object.keys(o),a=!e||i.every((function(e){var t=o[e];return Array.isArray(t)?t.length>0:t>=0})),s=i.length!==Object.keys(t).length||i.some((function(e){var n=t[e],r=o[e];return Array.isArray(r)?n.join(",")!==r.join(","):n!==r}));t=o,a&&s&&r(o)}}function E(e){var t=e.cellCount,n=e.overscanCellsCount,r=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return 1===r?{overscanStartIndex:Math.max(0,o),overscanStopIndex:Math.min(t-1,i+n)}:{overscanStartIndex:Math.max(0,o-n),overscanStopIndex:Math.min(t-1,i)}}function I(e){var t=e.cellSize,n=e.cellSizeAndPositionManager,r=e.previousCellsCount,o=e.previousCellSize,i=e.previousScrollToAlignment,a=e.previousScrollToIndex,s=e.previousSize,l=e.scrollOffset,c=e.scrollToAlignment,u=e.scrollToIndex,d=e.size,f=e.sizeJustIncreasedFromZero,p=e.updateScrollIndexCallback,h=n.getCellCount(),v=u>=0&&u<h;v&&(d!==s||f||!o||"number"==typeof t&&t!==o||c!==i||u!==a)?p(u):!v&&h>0&&(d<s||h<r)&&l>n.getTotalSize()-d&&p(h-1)}function P(e){for(var t=e.cellCache,n=e.cellRenderer,r=e.columnSizeAndPositionManager,o=e.columnStartIndex,i=e.columnStopIndex,a=e.deferredMeasurementCache,s=e.horizontalOffsetAdjustment,l=e.isScrolling,c=e.isScrollingOptOut,u=e.parent,d=e.rowSizeAndPositionManager,f=e.rowStartIndex,p=e.rowStopIndex,h=e.styleCache,v=e.verticalOffsetAdjustment,g=e.visibleColumnIndices,m=e.visibleRowIndices,y=[],b=r.areOffsetsAdjusted()||d.areOffsetsAdjusted(),_=!l&&!b,w=f;w<=p;w++)for(var S=d.getSizeAndPositionOfCell(w),C=o;C<=i;C++){var O=r.getSizeAndPositionOfCell(C),x=C>=g.start&&C<=g.stop&&w>=m.start&&w<=m.stop,T="".concat(w,"-").concat(C),k=void 0;_&&h[T]?k=h[T]:a&&!a.has(w,C)?k={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(k={height:S.size,left:O.offset+s,position:"absolute",top:S.offset+v,width:O.size},h[T]=k);var D={columnIndex:C,isScrolling:l,isVisible:x,key:T,parent:u,rowIndex:w,style:k},E=void 0;!c&&!l||s||v?E=n(D):(t[T]||(t[T]=n(D)),E=t[T]),null!=E&&!1!==E&&y.push(E)}return y}var M,R,N=!("undefined"==typeof window||!window.document||!window.document.createElement);function j(e){if((!M&&0!==M||e)&&N){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),M=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return M}var A,L,z=(R="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||R.webkitRequestAnimationFrame||R.mozRequestAnimationFrame||R.oRequestAnimationFrame||R.msRequestAnimationFrame||function(e){return R.setTimeout(e,1e3/60)},F=R.cancelAnimationFrame||R.webkitCancelAnimationFrame||R.mozCancelAnimationFrame||R.oCancelAnimationFrame||R.msCancelAnimationFrame||function(e){R.clearTimeout(e)},H=z,W=F,G=function(e){return W(e.id)},U=function(e,t){var n;Promise.resolve().then((function(){n=Date.now()}));var r={id:H((function o(){Date.now()-n>=t?e.call():r.id=H(o)}))};return r};function B(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?B(n,!0).forEach((function(t){g()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):B(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var K=(L=A=function(e){function t(e){var n;o()(this,t),n=l()(this,u()(t).call(this,e)),g()(f()(n),"_onGridRenderedMemoizer",D()),g()(f()(n),"_onScrollMemoizer",D(!1)),g()(f()(n),"_deferredInvalidateColumnIndex",null),g()(f()(n),"_deferredInvalidateRowIndex",null),g()(f()(n),"_recomputeScrollLeftFlag",!1),g()(f()(n),"_recomputeScrollTopFlag",!1),g()(f()(n),"_horizontalScrollBarSize",0),g()(f()(n),"_verticalScrollBarSize",0),g()(f()(n),"_scrollbarPresenceChanged",!1),g()(f()(n),"_scrollingContainer",void 0),g()(f()(n),"_childrenToDisplay",void 0),g()(f()(n),"_columnStartIndex",void 0),g()(f()(n),"_columnStopIndex",void 0),g()(f()(n),"_rowStartIndex",void 0),g()(f()(n),"_rowStopIndex",void 0),g()(f()(n),"_renderedColumnStartIndex",0),g()(f()(n),"_renderedColumnStopIndex",0),g()(f()(n),"_renderedRowStartIndex",0),g()(f()(n),"_renderedRowStopIndex",0),g()(f()(n),"_initialScrollTop",void 0),g()(f()(n),"_initialScrollLeft",void 0),g()(f()(n),"_disablePointerEventsTimeoutId",void 0),g()(f()(n),"_styleCache",{}),g()(f()(n),"_cellCache",{}),g()(f()(n),"_debounceScrollEndedCallback",(function(){n._disablePointerEventsTimeoutId=null,n.setState({isScrolling:!1,needToResetStyleCache:!1})})),g()(f()(n),"_invokeOnGridRenderedHelper",(function(){var e=n.props.onSectionRendered;n._onGridRenderedMemoizer({callback:e,indices:{columnOverscanStartIndex:n._columnStartIndex,columnOverscanStopIndex:n._columnStopIndex,columnStartIndex:n._renderedColumnStartIndex,columnStopIndex:n._renderedColumnStopIndex,rowOverscanStartIndex:n._rowStartIndex,rowOverscanStopIndex:n._rowStopIndex,rowStartIndex:n._renderedRowStartIndex,rowStopIndex:n._renderedRowStopIndex}})})),g()(f()(n),"_setScrollingContainerRef",(function(e){n._scrollingContainer=e})),g()(f()(n),"_onScroll",(function(e){e.target===n._scrollingContainer&&n.handleScrollEvent(e.target)}));var r=new k({cellCount:e.columnCount,cellSizeGetter:function(n){return t._wrapSizeGetter(e.columnWidth)(n)},estimatedCellSize:t._getEstimatedColumnSize(e)}),i=new k({cellCount:e.rowCount,cellSizeGetter:function(n){return t._wrapSizeGetter(e.rowHeight)(n)},estimatedCellSize:t._getEstimatedRowSize(e)});return n.state={instanceProps:{columnSizeAndPositionManager:r,rowSizeAndPositionManager:i,prevColumnWidth:e.columnWidth,prevRowHeight:e.rowHeight,prevColumnCount:e.columnCount,prevRowCount:e.rowCount,prevIsScrolling:!0===e.isScrolling,prevScrollToColumn:e.scrollToColumn,prevScrollToRow:e.scrollToRow,scrollbarSize:0,scrollbarSizeMeasured:!1},isScrolling:!1,scrollDirectionHorizontal:1,scrollDirectionVertical:1,scrollLeft:0,scrollTop:0,scrollPositionChangeReason:null,needToResetStyleCache:!1},e.scrollToRow>0&&(n._initialScrollTop=n._getCalculatedScrollTop(e,n.state)),e.scrollToColumn>0&&(n._initialScrollLeft=n._getCalculatedScrollLeft(e,n.state)),n}return h()(t,e),a()(t,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.alignment,n=void 0===t?this.props.scrollToAlignment:t,r=e.columnIndex,o=void 0===r?this.props.scrollToColumn:r,i=e.rowIndex,a=void 0===i?this.props.scrollToRow:i,s=V({},this.props,{scrollToAlignment:n,scrollToColumn:o,scrollToRow:a});return{scrollLeft:this._getCalculatedScrollLeft(s),scrollTop:this._getCalculatedScrollTop(s)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var t=e.scrollLeft,n=void 0===t?0:t,r=e.scrollTop,o=void 0===r?0:r;if(!(o<0)){this._debounceScrollEnded();var i=this.props,a=i.autoHeight,s=i.autoWidth,l=i.height,c=i.width,u=this.state.instanceProps,d=u.scrollbarSize,f=u.rowSizeAndPositionManager.getTotalSize(),p=u.columnSizeAndPositionManager.getTotalSize(),h=Math.min(Math.max(0,p-c+d),n),v=Math.min(Math.max(0,f-l+d),o);if(this.state.scrollLeft!==h||this.state.scrollTop!==v){var g={isScrolling:!0,scrollDirectionHorizontal:h!==this.state.scrollLeft?h>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:v!==this.state.scrollTop?v>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:"observed"};a||(g.scrollTop=v),s||(g.scrollLeft=h),g.needToResetStyleCache=!1,this.setState(g)}this._invokeOnScrollMemoizer({scrollLeft:h,scrollTop:v,totalColumnsWidth:p,totalRowsHeight:f})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.columnIndex,n=e.rowIndex;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,t):t,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,n):n}},{key:"measureAllCells",value:function(){var e=this.props,t=e.columnCount,n=e.rowCount,r=this.state.instanceProps;r.columnSizeAndPositionManager.getSizeAndPositionOfCell(t-1),r.rowSizeAndPositionManager.getSizeAndPositionOfCell(n-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,r=e.rowIndex,o=void 0===r?0:r,i=this.props,a=i.scrollToColumn,s=i.scrollToRow,l=this.state.instanceProps;l.columnSizeAndPositionManager.resetCell(n),l.rowSizeAndPositionManager.resetCell(o),this._recomputeScrollLeftFlag=a>=0&&(1===this.state.scrollDirectionHorizontal?n<=a:n>=a),this._recomputeScrollTopFlag=s>=0&&(1===this.state.scrollDirectionVertical?o<=s:o>=s),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var t=e.columnIndex,n=e.rowIndex,r=this.props.columnCount,o=this.props;r>1&&void 0!==t&&this._updateScrollLeftForScrollToColumn(V({},o,{scrollToColumn:t})),void 0!==n&&this._updateScrollTopForScrollToRow(V({},o,{scrollToRow:n}))}},{key:"componentDidMount",value:function(){var e=this.props,n=e.getScrollbarSize,r=e.height,o=e.scrollLeft,i=e.scrollToColumn,a=e.scrollTop,s=e.scrollToRow,l=e.width,c=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),c.scrollbarSizeMeasured||this.setState((function(e){var t=V({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=n(),t.instanceProps.scrollbarSizeMeasured=!0,t})),"number"==typeof o&&o>=0||"number"==typeof a&&a>=0){var u=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:a});u&&(u.needToResetStyleCache=!1,this.setState(u))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var d=r>0&&l>0;i>=0&&d&&this._updateScrollLeftForScrollToColumn(),s>=0&&d&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:o||0,scrollTop:a||0,totalColumnsWidth:c.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:c.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,t){var n=this,r=this.props,o=r.autoHeight,i=r.autoWidth,a=r.columnCount,s=r.height,l=r.rowCount,c=r.scrollToAlignment,u=r.scrollToColumn,d=r.scrollToRow,f=r.width,p=this.state,h=p.scrollLeft,v=p.scrollPositionChangeReason,g=p.scrollTop,m=p.instanceProps;this._handleInvalidatedGridSize();var y=a>0&&0===e.columnCount||l>0&&0===e.rowCount;"requested"===v&&(!i&&h>=0&&(h!==this._scrollingContainer.scrollLeft||y)&&(this._scrollingContainer.scrollLeft=h),!o&&g>=0&&(g!==this._scrollingContainer.scrollTop||y)&&(this._scrollingContainer.scrollTop=g));var b=(0===e.width||0===e.height)&&s>0&&f>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):I({cellSizeAndPositionManager:m.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:h,scrollToAlignment:c,scrollToIndex:u,size:f,sizeJustIncreasedFromZero:b,updateScrollIndexCallback:function(){return n._updateScrollLeftForScrollToColumn(n.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):I({cellSizeAndPositionManager:m.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:g,scrollToAlignment:c,scrollToIndex:d,size:s,sizeJustIncreasedFromZero:b,updateScrollIndexCallback:function(){return n._updateScrollTopForScrollToRow(n.props)}}),this._invokeOnGridRenderedHelper(),h!==t.scrollLeft||g!==t.scrollTop){var _=m.rowSizeAndPositionManager.getTotalSize(),w=m.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:h,scrollTop:g,totalColumnsWidth:w,totalRowsHeight:_})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&G(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,n=e.autoHeight,r=e.autoWidth,o=e.className,i=e.containerProps,a=e.containerRole,s=e.containerStyle,l=e.height,c=e.id,u=e.noContentRenderer,d=e.role,f=e.style,p=e.tabIndex,h=e.width,v=this.state,g=v.instanceProps,y=v.needToResetStyleCache,b=this._isScrolling(),w={boxSizing:"border-box",direction:"ltr",height:n?"auto":l,position:"relative",width:r?"auto":h,WebkitOverflowScrolling:"touch",willChange:"transform"};y&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var C=g.columnSizeAndPositionManager.getTotalSize(),O=g.rowSizeAndPositionManager.getTotalSize(),x=O>l?g.scrollbarSize:0,T=C>h?g.scrollbarSize:0;T===this._horizontalScrollBarSize&&x===this._verticalScrollBarSize||(this._horizontalScrollBarSize=T,this._verticalScrollBarSize=x,this._scrollbarPresenceChanged=!0),w.overflowX=C+x<=h?"hidden":"auto",w.overflowY=O+T<=l?"hidden":"auto";var k=this._childrenToDisplay,D=0===k.length&&l>0&&h>0;return m.createElement("div",_()({ref:this._setScrollingContainerRef},i,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:S("ReactVirtualized__Grid",o),id:c,onScroll:this._onScroll,role:d,style:V({},w,{},f),tabIndex:p}),k.length>0&&m.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:a,style:V({width:t?"auto":C,height:O,maxWidth:C,maxHeight:O,overflow:"hidden",pointerEvents:b?"none":"",position:"relative"},s)},k),D&&u())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,n=e.cellRenderer,r=e.cellRangeRenderer,o=e.columnCount,i=e.deferredMeasurementCache,a=e.height,s=e.overscanColumnCount,l=e.overscanIndicesGetter,c=e.overscanRowCount,u=e.rowCount,d=e.width,f=e.isScrollingOptOut,p=t.scrollDirectionHorizontal,h=t.scrollDirectionVertical,v=t.instanceProps,g=this._initialScrollTop>0?this._initialScrollTop:t.scrollTop,m=this._initialScrollLeft>0?this._initialScrollLeft:t.scrollLeft,y=this._isScrolling(e,t);if(this._childrenToDisplay=[],a>0&&d>0){var b=v.columnSizeAndPositionManager.getVisibleCellRange({containerSize:d,offset:m}),_=v.rowSizeAndPositionManager.getVisibleCellRange({containerSize:a,offset:g}),w=v.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:d,offset:m}),S=v.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:a,offset:g});this._renderedColumnStartIndex=b.start,this._renderedColumnStopIndex=b.stop,this._renderedRowStartIndex=_.start,this._renderedRowStopIndex=_.stop;var C=l({direction:"horizontal",cellCount:o,overscanCellsCount:s,scrollDirection:p,startIndex:"number"==typeof b.start?b.start:0,stopIndex:"number"==typeof b.stop?b.stop:-1}),O=l({direction:"vertical",cellCount:u,overscanCellsCount:c,scrollDirection:h,startIndex:"number"==typeof _.start?_.start:0,stopIndex:"number"==typeof _.stop?_.stop:-1}),x=C.overscanStartIndex,T=C.overscanStopIndex,k=O.overscanStartIndex,D=O.overscanStopIndex;if(i){if(!i.hasFixedHeight())for(var E=k;E<=D;E++)if(!i.has(E,0)){x=0,T=o-1;break}if(!i.hasFixedWidth())for(var I=x;I<=T;I++)if(!i.has(0,I)){k=0,D=u-1;break}}this._childrenToDisplay=r({cellCache:this._cellCache,cellRenderer:n,columnSizeAndPositionManager:v.columnSizeAndPositionManager,columnStartIndex:x,columnStopIndex:T,deferredMeasurementCache:i,horizontalOffsetAdjustment:w,isScrolling:y,isScrollingOptOut:f,parent:this,rowSizeAndPositionManager:v.rowSizeAndPositionManager,rowStartIndex:k,rowStopIndex:D,scrollLeft:m,scrollTop:g,styleCache:this._styleCache,verticalOffsetAdjustment:S,visibleColumnIndices:b,visibleRowIndices:_}),this._columnStartIndex=x,this._columnStopIndex=T,this._rowStartIndex=k,this._rowStopIndex=D}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&G(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=U(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex&&"number"==typeof this._deferredInvalidateRowIndex){var e=this._deferredInvalidateColumnIndex,t=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:t})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var t=this,n=e.scrollLeft,r=e.scrollTop,o=e.totalColumnsWidth,i=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var n=e.scrollLeft,r=e.scrollTop,a=t.props,s=a.height;(0,a.onScroll)({clientHeight:s,clientWidth:a.width,scrollHeight:i,scrollLeft:n,scrollTop:r,scrollWidth:o})},indices:{scrollLeft:n,scrollTop:r}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?Boolean(e.isScrolling):Boolean(t.isScrolling)}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var n=e.scrollLeft,r=e.scrollTop,o=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:n,scrollTop:r});o&&(o.needToResetStyleCache=!1,this.setState(o))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollLeft(e,n)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollLeftForScrollToColumnStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollTop(e,n)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,t=this._cellCache,n=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var r=this._rowStartIndex;r<=this._rowStopIndex;r++)for(var o=this._columnStartIndex;o<=this._columnStopIndex;o++){var i="".concat(r,"-").concat(o);this._styleCache[i]=e[i],n&&(this._cellCache[i]=t[i])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollTopForScrollToRowStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var r={};0===e.columnCount&&0!==n.scrollLeft||0===e.rowCount&&0!==n.scrollTop?(r.scrollLeft=0,r.scrollTop=0):(e.scrollLeft!==n.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==n.scrollTop&&e.scrollToRow<0)&&Object.assign(r,t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var o,i,a=n.instanceProps;return r.needToResetStyleCache=!1,e.columnWidth===a.prevColumnWidth&&e.rowHeight===a.prevRowHeight||(r.needToResetStyleCache=!0),a.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:t._getEstimatedColumnSize(e),cellSizeGetter:t._wrapSizeGetter(e.columnWidth)}),a.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:t._getEstimatedRowSize(e),cellSizeGetter:t._wrapSizeGetter(e.rowHeight)}),0!==a.prevColumnCount&&0!==a.prevRowCount||(a.prevColumnCount=0,a.prevRowCount=0),e.autoHeight&&!1===e.isScrolling&&!0===a.prevIsScrolling&&Object.assign(r,{isScrolling:!1}),C({cellCount:a.prevColumnCount,cellSize:"number"==typeof a.prevColumnWidth?a.prevColumnWidth:null,computeMetadataCallback:function(){return a.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:"number"==typeof e.columnWidth?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:a.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){o=t._getScrollLeftForScrollToColumnStateUpdate(e,n)}}),C({cellCount:a.prevRowCount,cellSize:"number"==typeof a.prevRowHeight?a.prevRowHeight:null,computeMetadataCallback:function(){return a.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:"number"==typeof e.rowHeight?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:a.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){i=t._getScrollTopForScrollToRowStateUpdate(e,n)}}),a.prevColumnCount=e.columnCount,a.prevColumnWidth=e.columnWidth,a.prevIsScrolling=!0===e.isScrolling,a.prevRowCount=e.rowCount,a.prevRowHeight=e.rowHeight,a.prevScrollToColumn=e.scrollToColumn,a.prevScrollToRow=e.scrollToRow,a.scrollbarSize=e.getScrollbarSize(),void 0===a.scrollbarSize?(a.scrollbarSizeMeasured=!1,a.scrollbarSize=0):a.scrollbarSizeMeasured=!0,r.instanceProps=a,V({},r,{},o,{},i)}},{key:"_getEstimatedColumnSize",value:function(e){return"number"==typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return"number"==typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var t=e.prevState,n=e.scrollLeft,r=e.scrollTop,o={scrollPositionChangeReason:"requested"};return"number"==typeof n&&n>=0&&(o.scrollDirectionHorizontal=n>t.scrollLeft?1:-1,o.scrollLeft=n),"number"==typeof r&&r>=0&&(o.scrollDirectionVertical=r>t.scrollTop?1:-1,o.scrollTop=r),"number"==typeof n&&n>=0&&n!==t.scrollLeft||"number"==typeof r&&r>=0&&r!==t.scrollTop?o:{}}},{key:"_wrapSizeGetter",value:function(e){return"function"==typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,t){var n=e.columnCount,r=e.height,o=e.scrollToAlignment,i=e.scrollToColumn,a=e.width,s=t.scrollLeft,l=t.instanceProps;if(n>0){var c=n-1,u=i<0?c:Math.min(c,i),d=l.rowSizeAndPositionManager.getTotalSize(),f=l.scrollbarSizeMeasured&&d>r?l.scrollbarSize:0;return l.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:a-f,currentOffset:s,targetIndex:u})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,n){var r=n.scrollLeft,o=t._getCalculatedScrollLeft(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:o,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,t){var n=e.height,r=e.rowCount,o=e.scrollToAlignment,i=e.scrollToRow,a=e.width,s=t.scrollTop,l=t.instanceProps;if(r>0){var c=r-1,u=i<0?c:Math.min(c,i),d=l.columnSizeAndPositionManager.getTotalSize(),f=l.scrollbarSizeMeasured&&d>a?l.scrollbarSize:0;return l.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:n-f,currentOffset:s,targetIndex:u})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,n){var r=n.scrollTop,o=t._getCalculatedScrollTop(e,n);return"number"==typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:-1,scrollTop:o}):{}}}]),t}(m.PureComponent),g()(A,"propTypes",null),L);g()(K,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:P,containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:j,noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:E,overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),Object(y.polyfill)(K);var q,Y,X=K;function Z(e){var t=e.cellCount,n=e.overscanCellsCount,r=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return n=Math.max(1,n),1===r?{overscanStartIndex:Math.max(0,o-1),overscanStopIndex:Math.min(t-1,i+n)}:{overscanStartIndex:Math.max(0,o-n),overscanStopIndex:Math.min(t-1,i+1)}}function $(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var J=(Y=q=function(e){function t(){var e,n;o()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=l()(this,(e=u()(t)).call.apply(e,[this].concat(i))),g()(f()(n),"state",{scrollToColumn:0,scrollToRow:0,instanceProps:{prevScrollToColumn:0,prevScrollToRow:0}}),g()(f()(n),"_columnStartIndex",0),g()(f()(n),"_columnStopIndex",0),g()(f()(n),"_rowStartIndex",0),g()(f()(n),"_rowStopIndex",0),g()(f()(n),"_onKeyDown",(function(e){var t=n.props,r=t.columnCount,o=t.disabled,i=t.mode,a=t.rowCount;if(!o){var s=n._getScrollState(),l=s.scrollToColumn,c=s.scrollToRow,u=n._getScrollState(),d=u.scrollToColumn,f=u.scrollToRow;switch(e.key){case"ArrowDown":f="cells"===i?Math.min(f+1,a-1):Math.min(n._rowStopIndex+1,a-1);break;case"ArrowLeft":d="cells"===i?Math.max(d-1,0):Math.max(n._columnStartIndex-1,0);break;case"ArrowRight":d="cells"===i?Math.min(d+1,r-1):Math.min(n._columnStopIndex+1,r-1);break;case"ArrowUp":f="cells"===i?Math.max(f-1,0):Math.max(n._rowStartIndex-1,0)}d===l&&f===c||(e.preventDefault(),n._updateScrollState({scrollToColumn:d,scrollToRow:f}))}})),g()(f()(n),"_onSectionRendered",(function(e){var t=e.columnStartIndex,r=e.columnStopIndex,o=e.rowStartIndex,i=e.rowStopIndex;n._columnStartIndex=t,n._columnStopIndex=r,n._rowStartIndex=o,n._rowStopIndex=i})),n}return h()(t,e),a()(t,[{key:"setScrollIndexes",value:function(e){var t=e.scrollToColumn,n=e.scrollToRow;this.setState({scrollToRow:n,scrollToColumn:t})}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.children,r=this._getScrollState(),o=r.scrollToColumn,i=r.scrollToRow;return m.createElement("div",{className:t,onKeyDown:this._onKeyDown},n({onSectionRendered:this._onSectionRendered,scrollToColumn:o,scrollToRow:i}))}},{key:"_getScrollState",value:function(){return this.props.isControlled?this.props:this.state}},{key:"_updateScrollState",value:function(e){var t=e.scrollToColumn,n=e.scrollToRow,r=this.props,o=r.isControlled,i=r.onScrollToChange;"function"==typeof i&&i({scrollToColumn:t,scrollToRow:n}),o||this.setState({scrollToColumn:t,scrollToRow:n})}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.isControlled?{}:e.scrollToColumn!==t.instanceProps.prevScrollToColumn||e.scrollToRow!==t.instanceProps.prevScrollToRow?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$(n,!0).forEach((function(t){g()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{scrollToColumn:e.scrollToColumn,scrollToRow:e.scrollToRow,instanceProps:{prevScrollToColumn:e.scrollToColumn,prevScrollToRow:e.scrollToRow}}):{}}}]),t}(m.PureComponent),g()(q,"propTypes",null),Y);g()(J,"defaultProps",{disabled:!1,isControlled:!1,mode:"edges",scrollToColumn:0,scrollToRow:0}),Object(y.polyfill)(J);var Q,ee,te=J,ne=n(111);function re(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function oe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?re(n,!0).forEach((function(t){g()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):re(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ie=(ee=Q=function(e){function t(){var e,n;o()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=l()(this,(e=u()(t)).call.apply(e,[this].concat(i))),g()(f()(n),"state",{height:n.props.defaultHeight||0,width:n.props.defaultWidth||0}),g()(f()(n),"_parentNode",void 0),g()(f()(n),"_autoSizer",void 0),g()(f()(n),"_window",void 0),g()(f()(n),"_detectElementResize",void 0),g()(f()(n),"_onResize",(function(){var e=n.props,t=e.disableHeight,r=e.disableWidth,o=e.onResize;if(n._parentNode){var i=n._parentNode.offsetHeight||0,a=n._parentNode.offsetWidth||0,s=(n._window||window).getComputedStyle(n._parentNode)||{},l=parseInt(s.paddingLeft,10)||0,c=parseInt(s.paddingRight,10)||0,u=parseInt(s.paddingTop,10)||0,d=parseInt(s.paddingBottom,10)||0,f=i-u-d,p=a-l-c;(!t&&n.state.height!==f||!r&&n.state.width!==p)&&(n.setState({height:i-u-d,width:a-l-c}),o({height:i,width:a}))}})),g()(f()(n),"_setRef",(function(e){n._autoSizer=e})),n}return h()(t,e),a()(t,[{key:"componentDidMount",value:function(){var e=this.props.nonce;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._window=this._autoSizer.parentNode.ownerDocument.defaultView,this._detectElementResize=Object(ne.a)(e,this._window),this._detectElementResize.addResizeListener(this._parentNode,this._onResize),this._onResize())}},{key:"componentWillUnmount",value:function(){this._detectElementResize&&this._parentNode&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,r=e.disableHeight,o=e.disableWidth,i=e.style,a=this.state,s=a.height,l=a.width,c={overflow:"visible"},u={};return r||(c.height=0,u.height=s),o||(c.width=0,u.width=l),m.createElement("div",{className:n,ref:this._setRef,style:oe({},c,{},i)},t(u))}}]),t}(m.Component),g()(Q,"propTypes",null),ee);g()(ie,"defaultProps",{onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}});var ae,se,le=n(12),ce=(se=ae=function(e){function t(){var e,n;o()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=l()(this,(e=u()(t)).call.apply(e,[this].concat(i))),g()(f()(n),"_child",void 0),g()(f()(n),"_measure",(function(){var e=n.props,t=e.cache,r=e.columnIndex,o=void 0===r?0:r,i=e.parent,a=e.rowIndex,s=void 0===a?n.props.index||0:a,l=n._getCellMeasurements(),c=l.height,u=l.width;c===t.getHeight(s,o)&&u===t.getWidth(s,o)||(t.set(s,o,u,c),i&&"function"==typeof i.recomputeGridSize&&i.recomputeGridSize({columnIndex:o,rowIndex:s}))})),g()(f()(n),"_registerChild",(function(e){!e||e instanceof Element||console.warn("CellMeasurer registerChild expects to be passed Element or null"),n._child=e,e&&n._maybeMeasureCell()})),n}return h()(t,e),a()(t,[{key:"componentDidMount",value:function(){this._maybeMeasureCell()}},{key:"componentDidUpdate",value:function(){this._maybeMeasureCell()}},{key:"render",value:function(){var e=this.props.children;return"function"==typeof e?e({measure:this._measure,registerChild:this._registerChild}):e}},{key:"_getCellMeasurements",value:function(){var e=this.props.cache,t=this._child||Object(le.findDOMNode)(this);if(t&&t.ownerDocument&&t.ownerDocument.defaultView&&t instanceof t.ownerDocument.defaultView.HTMLElement){var n=t.style.width,r=t.style.height;e.hasFixedWidth()||(t.style.width="auto"),e.hasFixedHeight()||(t.style.height="auto");var o=Math.ceil(t.offsetHeight),i=Math.ceil(t.offsetWidth);return n&&(t.style.width=n),r&&(t.style.height=r),{height:o,width:i}}return{height:0,width:0}}},{key:"_maybeMeasureCell",value:function(){var e=this.props,t=e.cache,n=e.columnIndex,r=void 0===n?0:n,o=e.parent,i=e.rowIndex,a=void 0===i?this.props.index||0:i;if(!t.has(a,r)){var s=this._getCellMeasurements(),l=s.height,c=s.width;t.set(a,r,c,l),o&&"function"==typeof o.invalidateCellSizeAfterRender&&o.invalidateCellSizeAfterRender({columnIndex:r,rowIndex:a})}}}]),t}(m.PureComponent),g()(ae,"propTypes",null),se);g()(ce,"__internalCellMeasurerFlag",!1);var ue=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o()(this,e),g()(this,"_cellHeightCache",{}),g()(this,"_cellWidthCache",{}),g()(this,"_columnWidthCache",{}),g()(this,"_rowHeightCache",{}),g()(this,"_defaultHeight",void 0),g()(this,"_defaultWidth",void 0),g()(this,"_minHeight",void 0),g()(this,"_minWidth",void 0),g()(this,"_keyMapper",void 0),g()(this,"_hasFixedHeight",void 0),g()(this,"_hasFixedWidth",void 0),g()(this,"_columnCount",0),g()(this,"_rowCount",0),g()(this,"columnWidth",(function(e){var n=e.index,r=t._keyMapper(0,n);return void 0!==t._columnWidthCache[r]?t._columnWidthCache[r]:t._defaultWidth})),g()(this,"rowHeight",(function(e){var n=e.index,r=t._keyMapper(n,0);return void 0!==t._rowHeightCache[r]?t._rowHeightCache[r]:t._defaultHeight}));var r=n.defaultHeight,i=n.defaultWidth,a=n.fixedHeight,s=n.fixedWidth,l=n.keyMapper,c=n.minHeight,u=n.minWidth;this._hasFixedHeight=!0===a,this._hasFixedWidth=!0===s,this._minHeight=c||0,this._minWidth=u||0,this._keyMapper=l||de,this._defaultHeight=Math.max(this._minHeight,"number"==typeof r?r:30),this._defaultWidth=Math.max(this._minWidth,"number"==typeof i?i:100)}return a()(e,[{key:"clear",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this._keyMapper(e,t);delete this._cellHeightCache[n],delete this._cellWidthCache[n],this._updateCachedColumnAndRowSizes(e,t)}},{key:"clearAll",value:function(){this._cellHeightCache={},this._cellWidthCache={},this._columnWidthCache={},this._rowHeightCache={},this._rowCount=0,this._columnCount=0}},{key:"hasFixedHeight",value:function(){return this._hasFixedHeight}},{key:"hasFixedWidth",value:function(){return this._hasFixedWidth}},{key:"getHeight",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedHeight)return this._defaultHeight;var n=this._keyMapper(e,t);return void 0!==this._cellHeightCache[n]?Math.max(this._minHeight,this._cellHeightCache[n]):this._defaultHeight}},{key:"getWidth",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedWidth)return this._defaultWidth;var n=this._keyMapper(e,t);return void 0!==this._cellWidthCache[n]?Math.max(this._minWidth,this._cellWidthCache[n]):this._defaultWidth}},{key:"has",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this._keyMapper(e,t);return void 0!==this._cellHeightCache[n]}},{key:"set",value:function(e,t,n,r){var o=this._keyMapper(e,t);t>=this._columnCount&&(this._columnCount=t+1),e>=this._rowCount&&(this._rowCount=e+1),this._cellHeightCache[o]=r,this._cellWidthCache[o]=n,this._updateCachedColumnAndRowSizes(e,t)}},{key:"_updateCachedColumnAndRowSizes",value:function(e,t){if(!this._hasFixedWidth){for(var n=0,r=0;r<this._rowCount;r++)n=Math.max(n,this.getWidth(r,t));var o=this._keyMapper(0,t);this._columnWidthCache[o]=n}if(!this._hasFixedHeight){for(var i=0,a=0;a<this._columnCount;a++)i=Math.max(i,this.getHeight(e,a));var s=this._keyMapper(e,0);this._rowHeightCache[s]=i}}},{key:"defaultHeight",get:function(){return this._defaultHeight}},{key:"defaultWidth",get:function(){return this._defaultWidth}}]),e}();function de(e,t){return"".concat(e,"-").concat(t)}function fe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fe(n,!0).forEach((function(t){g()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var he=function(e){function t(){var e,n;o()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=l()(this,(e=u()(t)).call.apply(e,[this].concat(i))),g()(f()(n),"state",{isScrolling:!1,scrollLeft:0,scrollTop:0}),g()(f()(n),"_calculateSizeAndPositionDataOnNextUpdate",!1),g()(f()(n),"_onSectionRenderedMemoizer",D()),g()(f()(n),"_onScrollMemoizer",D(!1)),g()(f()(n),"_invokeOnSectionRenderedHelper",(function(){var e=n.props,t=e.cellLayoutManager,r=e.onSectionRendered;n._onSectionRenderedMemoizer({callback:r,indices:{indices:t.getLastRenderedIndices()}})})),g()(f()(n),"_setScrollingContainerRef",(function(e){n._scrollingContainer=e})),g()(f()(n),"_updateScrollPositionForScrollToCell",(function(){var e=n.props,t=e.cellLayoutManager,r=e.height,o=e.scrollToAlignment,i=e.scrollToCell,a=e.width,s=n.state,l=s.scrollLeft,c=s.scrollTop;if(i>=0){var u=t.getScrollPositionForCell({align:o,cellIndex:i,height:r,scrollLeft:l,scrollTop:c,width:a});u.scrollLeft===l&&u.scrollTop===c||n._setScrollPosition(u)}})),g()(f()(n),"_onScroll",(function(e){if(e.target===n._scrollingContainer){n._enablePointerEventsAfterDelay();var t=n.props,r=t.cellLayoutManager,o=t.height,i=t.isScrollingChange,a=t.width,s=n._scrollbarSize,l=r.getTotalSize(),c=l.height,u=l.width,d=Math.max(0,Math.min(u-a+s,e.target.scrollLeft)),f=Math.max(0,Math.min(c-o+s,e.target.scrollTop));if(n.state.scrollLeft!==d||n.state.scrollTop!==f){var p=e.cancelable?"observed":"requested";n.state.isScrolling||i(!0),n.setState({isScrolling:!0,scrollLeft:d,scrollPositionChangeReason:p,scrollTop:f})}n._invokeOnScrollMemoizer({scrollLeft:d,scrollTop:f,totalWidth:u,totalHeight:c})}})),n._scrollbarSize=j(),void 0===n._scrollbarSize?(n._scrollbarSizeMeasured=!1,n._scrollbarSize=0):n._scrollbarSizeMeasured=!0,n}return h()(t,e),a()(t,[{key:"recomputeCellSizesAndPositions",value:function(){this._calculateSizeAndPositionDataOnNextUpdate=!0,this.forceUpdate()}},{key:"componentDidMount",value:function(){var e=this.props,t=e.cellLayoutManager,n=e.scrollLeft,r=e.scrollToCell,o=e.scrollTop;this._scrollbarSizeMeasured||(this._scrollbarSize=j(),this._scrollbarSizeMeasured=!0,this.setState({})),r>=0?this._updateScrollPositionForScrollToCell():(n>=0||o>=0)&&this._setScrollPosition({scrollLeft:n,scrollTop:o}),this._invokeOnSectionRenderedHelper();var i=t.getTotalSize(),a=i.height,s=i.width;this._invokeOnScrollMemoizer({scrollLeft:n||0,scrollTop:o||0,totalHeight:a,totalWidth:s})}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,r=n.height,o=n.scrollToAlignment,i=n.scrollToCell,a=n.width,s=this.state,l=s.scrollLeft,c=s.scrollPositionChangeReason,u=s.scrollTop;"requested"===c&&(l>=0&&l!==t.scrollLeft&&l!==this._scrollingContainer.scrollLeft&&(this._scrollingContainer.scrollLeft=l),u>=0&&u!==t.scrollTop&&u!==this._scrollingContainer.scrollTop&&(this._scrollingContainer.scrollTop=u)),r===e.height&&o===e.scrollToAlignment&&i===e.scrollToCell&&a===e.width||this._updateScrollPositionForScrollToCell(),this._invokeOnSectionRenderedHelper()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoHeight,n=e.cellCount,r=e.cellLayoutManager,o=e.className,i=e.height,a=e.horizontalOverscanSize,s=e.id,l=e.noContentRenderer,c=e.style,u=e.verticalOverscanSize,d=e.width,f=this.state,p=f.isScrolling,h=f.scrollLeft,v=f.scrollTop;(this._lastRenderedCellCount!==n||this._lastRenderedCellLayoutManager!==r||this._calculateSizeAndPositionDataOnNextUpdate)&&(this._lastRenderedCellCount=n,this._lastRenderedCellLayoutManager=r,this._calculateSizeAndPositionDataOnNextUpdate=!1,r.calculateSizeAndPositionData());var g=r.getTotalSize(),y=g.height,b=g.width,_=Math.max(0,h-a),w=Math.max(0,v-u),C=Math.min(b,h+d+a),O=Math.min(y,v+i+u),x=i>0&&d>0?r.cellRenderers({height:O-w,isScrolling:p,width:C-_,x:_,y:w}):[],T={boxSizing:"border-box",direction:"ltr",height:t?"auto":i,position:"relative",WebkitOverflowScrolling:"touch",width:d,willChange:"transform"},k=y>i?this._scrollbarSize:0,D=b>d?this._scrollbarSize:0;return T.overflowX=b+k<=d?"hidden":"auto",T.overflowY=y+D<=i?"hidden":"auto",m.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:S("ReactVirtualized__Collection",o),id:s,onScroll:this._onScroll,role:"grid",style:pe({},T,{},c),tabIndex:0},n>0&&m.createElement("div",{className:"ReactVirtualized__Collection__innerScrollContainer",style:{height:y,maxHeight:y,maxWidth:b,overflow:"hidden",pointerEvents:p?"none":"",width:b}},x),0===n&&l())}},{key:"_enablePointerEventsAfterDelay",value:function(){var e=this;this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=setTimeout((function(){(0,e.props.isScrollingChange)(!1),e._disablePointerEventsTimeoutId=null,e.setState({isScrolling:!1})}),150)}},{key:"_invokeOnScrollMemoizer",value:function(e){var t=this,n=e.scrollLeft,r=e.scrollTop,o=e.totalHeight,i=e.totalWidth;this._onScrollMemoizer({callback:function(e){var n=e.scrollLeft,r=e.scrollTop,a=t.props,s=a.height;(0,a.onScroll)({clientHeight:s,clientWidth:a.width,scrollHeight:o,scrollLeft:n,scrollTop:r,scrollWidth:i})},indices:{scrollLeft:n,scrollTop:r}})}},{key:"_setScrollPosition",value:function(e){var t=e.scrollLeft,n=e.scrollTop,r={scrollPositionChangeReason:"requested"};t>=0&&(r.scrollLeft=t),n>=0&&(r.scrollTop=n),(t>=0&&t!==this.state.scrollLeft||n>=0&&n!==this.state.scrollTop)&&this.setState(r)}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 0!==e.cellCount||0===t.scrollLeft&&0===t.scrollTop?e.scrollLeft!==t.scrollLeft||e.scrollTop!==t.scrollTop?{scrollLeft:null!=e.scrollLeft?e.scrollLeft:t.scrollLeft,scrollTop:null!=e.scrollTop?e.scrollTop:t.scrollTop,scrollPositionChangeReason:"requested"}:null:{scrollLeft:0,scrollTop:0,scrollPositionChangeReason:"requested"}}}]),t}(m.PureComponent);g()(he,"defaultProps",{"aria-label":"grid",horizontalOverscanSize:0,noContentRenderer:function(){return null},onScroll:function(){return null},onSectionRendered:function(){return null},scrollToAlignment:"auto",scrollToCell:-1,style:{},verticalOverscanSize:0}),he.propTypes={},Object(y.polyfill)(he);var ve=he,ge=function(){function e(t){var n=t.height,r=t.width,i=t.x,a=t.y;o()(this,e),this.height=n,this.width=r,this.x=i,this.y=a,this._indexMap={},this._indices=[]}return a()(e,[{key:"addCellIndex",value:function(e){var t=e.index;this._indexMap[t]||(this._indexMap[t]=!0,this._indices.push(t))}},{key:"getCellIndices",value:function(){return this._indices}},{key:"toString",value:function(){return"".concat(this.x,",").concat(this.y," ").concat(this.width,"x").concat(this.height)}}]),e}(),me=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;o()(this,e),this._sectionSize=t,this._cellMetadata=[],this._sections={}}return a()(e,[{key:"getCellIndices",value:function(e){var t=e.height,n=e.width,r=e.x,o=e.y,i={};return this.getSections({height:t,width:n,x:r,y:o}).forEach((function(e){return e.getCellIndices().forEach((function(e){i[e]=e}))})),Object.keys(i).map((function(e){return i[e]}))}},{key:"getCellMetadata",value:function(e){var t=e.index;return this._cellMetadata[t]}},{key:"getSections",value:function(e){for(var t=e.height,n=e.width,r=e.x,o=e.y,i=Math.floor(r/this._sectionSize),a=Math.floor((r+n-1)/this._sectionSize),s=Math.floor(o/this._sectionSize),l=Math.floor((o+t-1)/this._sectionSize),c=[],u=i;u<=a;u++)for(var d=s;d<=l;d++){var f="".concat(u,".").concat(d);this._sections[f]||(this._sections[f]=new ge({height:this._sectionSize,width:this._sectionSize,x:u*this._sectionSize,y:d*this._sectionSize})),c.push(this._sections[f])}return c}},{key:"getTotalSectionCount",value:function(){return Object.keys(this._sections).length}},{key:"toString",value:function(){var e=this;return Object.keys(this._sections).map((function(t){return e._sections[t].toString()}))}},{key:"registerCell",value:function(e){var t=e.cellMetadatum,n=e.index;this._cellMetadata[n]=t,this.getSections(t).forEach((function(e){return e.addCellIndex({index:n})}))}}]),e}();function ye(e){var t=e.align,n=void 0===t?"auto":t,r=e.cellOffset,o=e.cellSize,i=e.containerSize,a=e.currentOffset,s=r,l=s-i+o;switch(n){case"start":return s;case"end":return l;case"center":return s-(i-o)/2;default:return Math.max(l,Math.min(s,a))}}var be=function(e){function t(e,n){var r;return o()(this,t),(r=l()(this,u()(t).call(this,e,n)))._cellMetadata=[],r._lastRenderedCellIndices=[],r._cellCache=[],r._isScrollingChange=r._isScrollingChange.bind(f()(r)),r._setCollectionViewRef=r._setCollectionViewRef.bind(f()(r)),r}return h()(t,e),a()(t,[{key:"forceUpdate",value:function(){void 0!==this._collectionView&&this._collectionView.forceUpdate()}},{key:"recomputeCellSizesAndPositions",value:function(){this._cellCache=[],this._collectionView.recomputeCellSizesAndPositions()}},{key:"render",value:function(){var e=_()({},this.props);return m.createElement(ve,_()({cellLayoutManager:this,isScrollingChange:this._isScrollingChange,ref:this._setCollectionViewRef},e))}},{key:"calculateSizeAndPositionData",value:function(){var e=this.props,t=function(e){for(var t=e.cellCount,n=e.cellSizeAndPositionGetter,r=[],o=new me(e.sectionSize),i=0,a=0,s=0;s<t;s++){var l=n({index:s});if(null==l.height||isNaN(l.height)||null==l.width||isNaN(l.width)||null==l.x||isNaN(l.x)||null==l.y||isNaN(l.y))throw Error("Invalid metadata returned for cell ".concat(s,":\n x:").concat(l.x,", y:").concat(l.y,", width:").concat(l.width,", height:").concat(l.height));i=Math.max(i,l.y+l.height),a=Math.max(a,l.x+l.width),r[s]=l,o.registerCell({cellMetadatum:l,index:s})}return{cellMetadata:r,height:i,sectionManager:o,width:a}}({cellCount:e.cellCount,cellSizeAndPositionGetter:e.cellSizeAndPositionGetter,sectionSize:e.sectionSize});this._cellMetadata=t.cellMetadata,this._sectionManager=t.sectionManager,this._height=t.height,this._width=t.width}},{key:"getLastRenderedIndices",value:function(){return this._lastRenderedCellIndices}},{key:"getScrollPositionForCell",value:function(e){var t=e.align,n=e.cellIndex,r=e.height,o=e.scrollLeft,i=e.scrollTop,a=e.width,s=this.props.cellCount;if(n>=0&&n<s){var l=this._cellMetadata[n];o=ye({align:t,cellOffset:l.x,cellSize:l.width,containerSize:a,currentOffset:o,targetIndex:n}),i=ye({align:t,cellOffset:l.y,cellSize:l.height,containerSize:r,currentOffset:i,targetIndex:n})}return{scrollLeft:o,scrollTop:i}}},{key:"getTotalSize",value:function(){return{height:this._height,width:this._width}}},{key:"cellRenderers",value:function(e){var t=this,n=e.height,r=e.isScrolling,o=e.width,i=e.x,a=e.y,s=this.props,l=s.cellGroupRenderer,c=s.cellRenderer;return this._lastRenderedCellIndices=this._sectionManager.getCellIndices({height:n,width:o,x:i,y:a}),l({cellCache:this._cellCache,cellRenderer:c,cellSizeAndPositionGetter:function(e){var n=e.index;return t._sectionManager.getCellMetadata({index:n})},indices:this._lastRenderedCellIndices,isScrolling:r})}},{key:"_isScrollingChange",value:function(e){e||(this._cellCache=[])}},{key:"_setCollectionViewRef",value:function(e){this._collectionView=e}}]),t}(m.PureComponent);g()(be,"defaultProps",{"aria-label":"grid",cellGroupRenderer:function(e){var t=e.cellCache,n=e.cellRenderer,r=e.cellSizeAndPositionGetter,o=e.indices,i=e.isScrolling;return o.map((function(e){var o=r({index:e}),a={index:e,isScrolling:i,key:e,style:{height:o.height,left:o.x,position:"absolute",top:o.y,width:o.width}};return i?(e in t||(t[e]=n(a)),t[e]):n(a)})).filter((function(e){return!!e}))}}),be.propTypes={};var _e=function(e){function t(e,n){var r;return o()(this,t),(r=l()(this,u()(t).call(this,e,n)))._registerChild=r._registerChild.bind(f()(r)),r}return h()(t,e),a()(t,[{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.columnMaxWidth,r=t.columnMinWidth,o=t.columnCount,i=t.width;n===e.columnMaxWidth&&r===e.columnMinWidth&&o===e.columnCount&&i===e.width||this._registeredChild&&this._registeredChild.recomputeGridSize()}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.columnMaxWidth,r=e.columnMinWidth,o=e.columnCount,i=e.width,a=r||1,s=n?Math.min(n,i):i,l=i/o;return l=Math.max(a,l),l=Math.min(s,l),l=Math.floor(l),t({adjustedWidth:Math.min(i,l*o),columnWidth:l,getColumnWidth:function(){return l},registerChild:this._registerChild})}},{key:"_registerChild",value:function(e){if(e&&"function"!=typeof e.recomputeGridSize)throw Error("Unexpected child type registered; only Grid/MultiGrid children are supported.");this._registeredChild=e,this._registeredChild&&this._registeredChild.recomputeGridSize()}}]),t}(m.PureComponent);_e.propTypes={};var we=n(19),Se=n.n(we),Ce=function(e){function t(e,n){var r;return o()(this,t),(r=l()(this,u()(t).call(this,e,n)))._loadMoreRowsMemoizer=D(),r._onRowsRendered=r._onRowsRendered.bind(f()(r)),r._registerChild=r._registerChild.bind(f()(r)),r}return h()(t,e),a()(t,[{key:"resetLoadMoreRowsCache",value:function(e){this._loadMoreRowsMemoizer=D(),e&&this._doStuff(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"render",value:function(){return(0,this.props.children)({onRowsRendered:this._onRowsRendered,registerChild:this._registerChild})}},{key:"_loadUnloadedRanges",value:function(e){var t=this,n=this.props.loadMoreRows;e.forEach((function(e){var r=n(e);r&&r.then((function(){var n;(n={lastRenderedStartIndex:t._lastRenderedStartIndex,lastRenderedStopIndex:t._lastRenderedStopIndex,startIndex:e.startIndex,stopIndex:e.stopIndex}).startIndex>n.lastRenderedStopIndex||n.stopIndex<n.lastRenderedStartIndex||t._registeredChild&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n="function"==typeof e.recomputeGridSize?e.recomputeGridSize:e.recomputeRowHeights;n?n.call(e,t):e.forceUpdate()}(t._registeredChild,t._lastRenderedStartIndex)}))}))}},{key:"_onRowsRendered",value:function(e){var t=e.startIndex,n=e.stopIndex;this._lastRenderedStartIndex=t,this._lastRenderedStopIndex=n,this._doStuff(t,n)}},{key:"_doStuff",value:function(e,t){var n,r=this,o=this.props,i=o.isRowLoaded,a=o.minimumBatchSize,s=o.rowCount,l=o.threshold,c=function(e){for(var t=e.isRowLoaded,n=e.minimumBatchSize,r=e.rowCount,o=e.stopIndex,i=[],a=null,s=null,l=e.startIndex;l<=o;l++)t({index:l})?null!==s&&(i.push({startIndex:a,stopIndex:s}),a=s=null):(s=l,null===a&&(a=l));if(null!==s){for(var c=Math.min(Math.max(s,a+n-1),r-1),u=s+1;u<=c&&!t({index:u});u++)s=u;i.push({startIndex:a,stopIndex:s})}if(i.length)for(var d=i[0];d.stopIndex-d.startIndex+1<n&&d.startIndex>0;){var f=d.startIndex-1;if(t({index:f}))break;d.startIndex=f}return i}({isRowLoaded:i,minimumBatchSize:a,rowCount:s,startIndex:Math.max(0,e-l),stopIndex:Math.min(s-1,t+l)}),u=(n=[]).concat.apply(n,Se()(c.map((function(e){return[e.startIndex,e.stopIndex]}))));this._loadMoreRowsMemoizer({callback:function(){r._loadUnloadedRanges(c)},indices:{squashedUnloadedRanges:u}})}},{key:"_registerChild",value:function(e){this._registeredChild=e}}]),t}(m.PureComponent);g()(Ce,"defaultProps",{minimumBatchSize:10,rowCount:0,threshold:15}),Ce.propTypes={};var Oe,xe,Te=(xe=Oe=function(e){function t(){var e,n;o()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=l()(this,(e=u()(t)).call.apply(e,[this].concat(i))),g()(f()(n),"Grid",void 0),g()(f()(n),"_cellRenderer",(function(e){var t=e.parent,r=e.rowIndex,o=e.style,i=e.isScrolling,a=e.isVisible,s=e.key,l=n.props.rowRenderer,c=Object.getOwnPropertyDescriptor(o,"width");return c&&c.writable&&(o.width="100%"),l({index:r,style:o,isScrolling:i,isVisible:a,key:s,parent:t})})),g()(f()(n),"_setRef",(function(e){n.Grid=e})),g()(f()(n),"_onScroll",(function(e){var t=e.clientHeight,r=e.scrollHeight,o=e.scrollTop;(0,n.props.onScroll)({clientHeight:t,scrollHeight:r,scrollTop:o})})),g()(f()(n),"_onSectionRendered",(function(e){var t=e.rowOverscanStartIndex,r=e.rowOverscanStopIndex,o=e.rowStartIndex,i=e.rowStopIndex;(0,n.props.onRowsRendered)({overscanStartIndex:t,overscanStopIndex:r,startIndex:o,stopIndex:i})})),n}return h()(t,e),a()(t,[{key:"forceUpdateGrid",value:function(){this.Grid&&this.Grid.forceUpdate()}},{key:"getOffsetForRow",value:function(e){var t=e.alignment,n=e.index;return this.Grid?this.Grid.getOffsetForCell({alignment:t,rowIndex:n,columnIndex:0}).scrollTop:0}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.columnIndex,n=e.rowIndex;this.Grid&&this.Grid.invalidateCellSizeAfterRender({rowIndex:n,columnIndex:t})}},{key:"measureAllRows",value:function(){this.Grid&&this.Grid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,r=e.rowIndex,o=void 0===r?0:r;this.Grid&&this.Grid.recomputeGridSize({rowIndex:o,columnIndex:n})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.noRowsRenderer,r=e.scrollToIndex,o=e.width,i=S("ReactVirtualized__List",t);return m.createElement(X,_()({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:i,columnWidth:o,columnCount:1,noContentRenderer:n,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:r}))}}]),t}(m.PureComponent),g()(Oe,"propTypes",null),xe);g()(Te,"defaultProps",{autoHeight:!1,estimatedRowSize:30,onScroll:function(){},noRowsRenderer:function(){return null},onRowsRendered:function(){},overscanIndicesGetter:Z,overscanRowCount:10,scrollToAlignment:"auto",scrollToIndex:-1,style:{}});var ke=n(256),De=n.n(ke),Ee=function(e,t,n,r,o){return"function"==typeof n?function(e,t,n,r,o){for(var i=n+1;t<=n;){var a=t+n>>>1;o(e[a],r)>=0?(i=a,n=a-1):t=a+1}return i}(e,void 0===r?0:0|r,void 0===o?e.length-1:0|o,t,n):function(e,t,n,r){for(var o=n+1;t<=n;){var i=t+n>>>1;e[i]>=r?(o=i,n=i-1):t=i+1}return o}(e,void 0===n?0:0|n,void 0===r?e.length-1:0|r,t)};function Ie(e,t,n,r,o){this.mid=e,this.left=t,this.right=n,this.leftPoints=r,this.rightPoints=o,this.count=(t?t.count:0)+(n?n.count:0)+r.length}var Pe=Ie.prototype;function Me(e,t){e.mid=t.mid,e.left=t.left,e.right=t.right,e.leftPoints=t.leftPoints,e.rightPoints=t.rightPoints,e.count=t.count}function Re(e,t){var n=Ge(t);e.mid=n.mid,e.left=n.left,e.right=n.right,e.leftPoints=n.leftPoints,e.rightPoints=n.rightPoints,e.count=n.count}function Ne(e,t){var n=e.intervals([]);n.push(t),Re(e,n)}function je(e,t){var n=e.intervals([]),r=n.indexOf(t);return r<0?0:(n.splice(r,1),Re(e,n),1)}function Ae(e,t,n){for(var r=0;r<e.length&&e[r][0]<=t;++r){var o=n(e[r]);if(o)return o}}function Le(e,t,n){for(var r=e.length-1;r>=0&&e[r][1]>=t;--r){var o=n(e[r]);if(o)return o}}function ze(e,t){for(var n=0;n<e.length;++n){var r=t(e[n]);if(r)return r}}function Fe(e,t){return e-t}function He(e,t){return e[0]-t[0]||e[1]-t[1]}function We(e,t){return e[1]-t[1]||e[0]-t[0]}function Ge(e){if(0===e.length)return null;for(var t=[],n=0;n<e.length;++n)t.push(e[n][0],e[n][1]);t.sort(Fe);var r=t[t.length>>1],o=[],i=[],a=[];for(n=0;n<e.length;++n){var s=e[n];s[1]<r?o.push(s):r<s[0]?i.push(s):a.push(s)}var l=a,c=a.slice();return l.sort(He),c.sort(We),new Ie(r,Ge(o),Ge(i),l,c)}function Ue(e){this.root=e}Pe.intervals=function(e){return e.push.apply(e,this.leftPoints),this.left&&this.left.intervals(e),this.right&&this.right.intervals(e),e},Pe.insert=function(e){var t=this.count-this.leftPoints.length;if(this.count+=1,e[1]<this.mid)this.left?4*(this.left.count+1)>3*(t+1)?Ne(this,e):this.left.insert(e):this.left=Ge([e]);else if(e[0]>this.mid)this.right?4*(this.right.count+1)>3*(t+1)?Ne(this,e):this.right.insert(e):this.right=Ge([e]);else{var n=Ee(this.leftPoints,e,He),r=Ee(this.rightPoints,e,We);this.leftPoints.splice(n,0,e),this.rightPoints.splice(r,0,e)}},Pe.remove=function(e){var t=this.count-this.leftPoints;if(e[1]<this.mid)return this.left?4*(this.right?this.right.count:0)>3*(t-1)?je(this,e):2===(i=this.left.remove(e))?(this.left=null,this.count-=1,1):(1===i&&(this.count-=1),i):0;if(e[0]>this.mid)return this.right?4*(this.left?this.left.count:0)>3*(t-1)?je(this,e):2===(i=this.right.remove(e))?(this.right=null,this.count-=1,1):(1===i&&(this.count-=1),i):0;if(1===this.count)return this.leftPoints[0]===e?2:0;if(1===this.leftPoints.length&&this.leftPoints[0]===e){if(this.left&&this.right){for(var n=this,r=this.left;r.right;)n=r,r=r.right;if(n===this)r.right=this.right;else{var o=this.left,i=this.right;n.count-=r.count,n.right=r.left,r.left=o,r.right=i}Me(this,r),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?Me(this,this.left):Me(this,this.right);return 1}for(o=Ee(this.leftPoints,e,He);o<this.leftPoints.length&&this.leftPoints[o][0]===e[0];++o)if(this.leftPoints[o]===e)for(this.count-=1,this.leftPoints.splice(o,1),i=Ee(this.rightPoints,e,We);i<this.rightPoints.length&&this.rightPoints[i][1]===e[1];++i)if(this.rightPoints[i]===e)return this.rightPoints.splice(i,1),1;return 0},Pe.queryPoint=function(e,t){return e<this.mid?this.left&&(n=this.left.queryPoint(e,t))?n:Ae(this.leftPoints,e,t):e>this.mid?this.right&&(n=this.right.queryPoint(e,t))?n:Le(this.rightPoints,e,t):ze(this.leftPoints,t);var n},Pe.queryInterval=function(e,t,n){var r;return e<this.mid&&this.left&&(r=this.left.queryInterval(e,t,n))||t>this.mid&&this.right&&(r=this.right.queryInterval(e,t,n))?r:t<this.mid?Ae(this.leftPoints,t,n):e>this.mid?Le(this.rightPoints,e,n):ze(this.leftPoints,n)};var Be=Ue.prototype;Be.insert=function(e){this.root?this.root.insert(e):this.root=new Ie(e[0],null,null,[e],[e])},Be.remove=function(e){if(this.root){var t=this.root.remove(e);return 2===t&&(this.root=null),0!==t}return!1},Be.queryPoint=function(e,t){if(this.root)return this.root.queryPoint(e,t)},Be.queryInterval=function(e,t,n){if(e<=t&&this.root)return this.root.queryInterval(e,t,n)},Object.defineProperty(Be,"count",{get:function(){return this.root?this.root.count:0}}),Object.defineProperty(Be,"intervals",{get:function(){return this.root?this.root.intervals([]):[]}});var Ve,Ke,qe=function(){function e(){o()(this,e),g()(this,"_columnSizeMap",{}),g()(this,"_intervalTree",new Ue(null)),g()(this,"_leftMap",{})}return a()(e,[{key:"estimateTotalHeight",value:function(e,t,n){var r=e-this.count;return this.tallestColumnSize+Math.ceil(r/t)*n}},{key:"range",value:function(e,t,n){var r=this;this._intervalTree.queryInterval(e,e+t,(function(e){var t=De()(e,3),o=t[0],i=(t[1],t[2]);return n(i,r._leftMap[i],o)}))}},{key:"setPosition",value:function(e,t,n,r){this._intervalTree.insert([n,n+r,e]),this._leftMap[e]=t;var o=this._columnSizeMap,i=o[t];o[t]=void 0===i?n+r:Math.max(i,n+r)}},{key:"count",get:function(){return this._intervalTree.count}},{key:"shortestColumnSize",get:function(){var e=this._columnSizeMap,t=0;for(var n in e){var r=e[n];t=0===t?r:Math.min(t,r)}return t}},{key:"tallestColumnSize",get:function(){var e=this._columnSizeMap,t=0;for(var n in e){var r=e[n];t=Math.max(t,r)}return t}}]),e}();function Ye(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Xe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ye(n,!0).forEach((function(t){g()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ye(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ze=(Ke=Ve=function(e){function t(){var e,n;o()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=l()(this,(e=u()(t)).call.apply(e,[this].concat(i))),g()(f()(n),"state",{isScrolling:!1,scrollTop:0}),g()(f()(n),"_debounceResetIsScrollingId",void 0),g()(f()(n),"_invalidateOnUpdateStartIndex",null),g()(f()(n),"_invalidateOnUpdateStopIndex",null),g()(f()(n),"_positionCache",new qe),g()(f()(n),"_startIndex",null),g()(f()(n),"_startIndexMemoized",null),g()(f()(n),"_stopIndex",null),g()(f()(n),"_stopIndexMemoized",null),g()(f()(n),"_debounceResetIsScrollingCallback",(function(){n.setState({isScrolling:!1})})),g()(f()(n),"_setScrollingContainerRef",(function(e){n._scrollingContainer=e})),g()(f()(n),"_onScroll",(function(e){var t=n.props.height,r=e.currentTarget.scrollTop,o=Math.min(Math.max(0,n._getEstimatedTotalHeight()-t),r);r===o&&(n._debounceResetIsScrolling(),n.state.scrollTop!==o&&n.setState({isScrolling:!0,scrollTop:o}))})),n}return h()(t,e),a()(t,[{key:"clearCellPositions",value:function(){this._positionCache=new qe,this.forceUpdate()}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.rowIndex;null===this._invalidateOnUpdateStartIndex?(this._invalidateOnUpdateStartIndex=t,this._invalidateOnUpdateStopIndex=t):(this._invalidateOnUpdateStartIndex=Math.min(this._invalidateOnUpdateStartIndex,t),this._invalidateOnUpdateStopIndex=Math.max(this._invalidateOnUpdateStopIndex,t))}},{key:"recomputeCellPositions",value:function(){var e=this._positionCache.count-1;this._positionCache=new qe,this._populatePositionCache(0,e),this.forceUpdate()}},{key:"componentDidMount",value:function(){this._checkInvalidateOnUpdate(),this._invokeOnScrollCallback(),this._invokeOnCellsRenderedCallback()}},{key:"componentDidUpdate",value:function(e,t){this._checkInvalidateOnUpdate(),this._invokeOnScrollCallback(),this._invokeOnCellsRenderedCallback(),this.props.scrollTop!==e.scrollTop&&this._debounceResetIsScrolling()}},{key:"componentWillUnmount",value:function(){this._debounceResetIsScrollingId&&G(this._debounceResetIsScrollingId)}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.autoHeight,o=n.cellCount,i=n.cellMeasurerCache,a=n.cellRenderer,s=n.className,l=n.height,c=n.id,u=n.keyMapper,d=n.overscanByPixels,f=n.role,p=n.style,h=n.tabIndex,v=n.width,y=n.rowDirection,b=this.state,_=b.isScrolling,w=b.scrollTop,C=[],O=this._getEstimatedTotalHeight(),x=this._positionCache.shortestColumnSize,T=this._positionCache.count,k=0;if(this._positionCache.range(Math.max(0,w-d),l+2*d,(function(n,r,o){var s;void 0===e?(k=n,e=n):(k=Math.min(k,n),e=Math.max(e,n)),C.push(a({index:n,isScrolling:_,key:u(n),parent:t,style:(s={height:i.getHeight(n)},g()(s,"ltr"===y?"left":"right",r),g()(s,"position","absolute"),g()(s,"top",o),g()(s,"width",i.getWidth(n)),s)}))})),x<w+l+d&&T<o)for(var D=Math.min(o-T,Math.ceil((w+l+d-x)/i.defaultHeight*v/i.defaultWidth)),E=T;E<T+D;E++)e=E,C.push(a({index:E,isScrolling:_,key:u(E),parent:this,style:{width:i.getWidth(E)}}));return this._startIndex=k,this._stopIndex=e,m.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:S("ReactVirtualized__Masonry",s),id:c,onScroll:this._onScroll,role:f,style:Xe({boxSizing:"border-box",direction:"ltr",height:r?"auto":l,overflowX:"hidden",overflowY:O<l?"hidden":"auto",position:"relative",width:v,WebkitOverflowScrolling:"touch",willChange:"transform"},p),tabIndex:h},m.createElement("div",{className:"ReactVirtualized__Masonry__innerScrollContainer",style:{width:"100%",height:O,maxWidth:"100%",maxHeight:O,overflow:"hidden",pointerEvents:_?"none":"",position:"relative"}},C))}},{key:"_checkInvalidateOnUpdate",value:function(){if("number"==typeof this._invalidateOnUpdateStartIndex){var e=this._invalidateOnUpdateStartIndex,t=this._invalidateOnUpdateStopIndex;this._invalidateOnUpdateStartIndex=null,this._invalidateOnUpdateStopIndex=null,this._populatePositionCache(e,t),this.forceUpdate()}}},{key:"_debounceResetIsScrolling",value:function(){var e=this.props.scrollingResetTimeInterval;this._debounceResetIsScrollingId&&G(this._debounceResetIsScrollingId),this._debounceResetIsScrollingId=U(this._debounceResetIsScrollingCallback,e)}},{key:"_getEstimatedTotalHeight",value:function(){var e=this.props,t=e.cellCount,n=e.cellMeasurerCache,r=e.width,o=Math.max(1,Math.floor(r/n.defaultWidth));return this._positionCache.estimateTotalHeight(t,o,n.defaultHeight)}},{key:"_invokeOnScrollCallback",value:function(){var e=this.props,t=e.height,n=e.onScroll,r=this.state.scrollTop;this._onScrollMemoized!==r&&(n({clientHeight:t,scrollHeight:this._getEstimatedTotalHeight(),scrollTop:r}),this._onScrollMemoized=r)}},{key:"_invokeOnCellsRenderedCallback",value:function(){this._startIndexMemoized===this._startIndex&&this._stopIndexMemoized===this._stopIndex||((0,this.props.onCellsRendered)({startIndex:this._startIndex,stopIndex:this._stopIndex}),this._startIndexMemoized=this._startIndex,this._stopIndexMemoized=this._stopIndex)}},{key:"_populatePositionCache",value:function(e,t){for(var n=this.props,r=n.cellMeasurerCache,o=n.cellPositioner,i=e;i<=t;i++){var a=o(i),s=a.left,l=a.top;this._positionCache.setPosition(i,s,l,r.getHeight(i))}}}],[{key:"getDerivedStateFromProps",value:function(e,t){return void 0!==e.scrollTop&&t.scrollTop!==e.scrollTop?{isScrolling:!0,scrollTop:e.scrollTop}:null}}]),t}(m.PureComponent),g()(Ve,"propTypes",null),Ke);function $e(){}g()(Ze,"defaultProps",{autoHeight:!1,keyMapper:function(e){return e},onCellsRendered:$e,onScroll:$e,overscanByPixels:20,role:"grid",scrollingResetTimeInterval:150,style:{},tabIndex:0,rowDirection:"ltr"}),Object(y.polyfill)(Ze);var Je=Ze;function Qe(e){var t,n=e.cellMeasurerCache,r=e.columnCount,o=e.columnWidth,i=e.spacer,a=void 0===i?0:i;function s(e){for(var r=0,i=1;i<t.length;i++)t[i]<t[r]&&(r=i);var s=r*(o+a),l=t[r]||0;return t[r]=l+n.getHeight(e)+a,{left:s,top:l}}function l(){t=[];for(var e=0;e<r;e++)t[e]=0}return l(),s.reset=function(e){r=e.columnCount,o=e.columnWidth,a=e.spacer,l()},s}var et=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o()(this,e),g()(this,"_cellMeasurerCache",void 0),g()(this,"_columnIndexOffset",void 0),g()(this,"_rowIndexOffset",void 0),g()(this,"columnWidth",(function(e){var n=e.index;t._cellMeasurerCache.columnWidth({index:n+t._columnIndexOffset})})),g()(this,"rowHeight",(function(e){var n=e.index;t._cellMeasurerCache.rowHeight({index:n+t._rowIndexOffset})}));var r=n.cellMeasurerCache,i=n.columnIndexOffset,a=void 0===i?0:i,s=n.rowIndexOffset,l=void 0===s?0:s;this._cellMeasurerCache=r,this._columnIndexOffset=a,this._rowIndexOffset=l}return a()(e,[{key:"clear",value:function(e,t){this._cellMeasurerCache.clear(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"clearAll",value:function(){this._cellMeasurerCache.clearAll()}},{key:"hasFixedHeight",value:function(){return this._cellMeasurerCache.hasFixedHeight()}},{key:"hasFixedWidth",value:function(){return this._cellMeasurerCache.hasFixedWidth()}},{key:"getHeight",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.getHeight(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"getWidth",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.getWidth(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"has",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.has(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"set",value:function(e,t,n,r){this._cellMeasurerCache.set(e+this._rowIndexOffset,t+this._columnIndexOffset,n,r)}},{key:"defaultHeight",get:function(){return this._cellMeasurerCache.defaultHeight}},{key:"defaultWidth",get:function(){return this._cellMeasurerCache.defaultWidth}}]),e}();function tt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function nt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tt(n,!0).forEach((function(t){g()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tt(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var rt=function(e){function t(e,n){var r;o()(this,t),r=l()(this,u()(t).call(this,e,n)),g()(f()(r),"state",{scrollLeft:0,scrollTop:0,scrollbarSize:0,showHorizontalScrollbar:!1,showVerticalScrollbar:!1}),g()(f()(r),"_deferredInvalidateColumnIndex",null),g()(f()(r),"_deferredInvalidateRowIndex",null),g()(f()(r),"_bottomLeftGridRef",(function(e){r._bottomLeftGrid=e})),g()(f()(r),"_bottomRightGridRef",(function(e){r._bottomRightGrid=e})),g()(f()(r),"_cellRendererBottomLeftGrid",(function(e){var t=e.rowIndex,n=x()(e,["rowIndex"]),o=r.props,i=o.cellRenderer,a=o.fixedRowCount;return t===o.rowCount-a?m.createElement("div",{key:n.key,style:nt({},n.style,{height:20})}):i(nt({},n,{parent:f()(r),rowIndex:t+a}))})),g()(f()(r),"_cellRendererBottomRightGrid",(function(e){var t=e.columnIndex,n=e.rowIndex,o=x()(e,["columnIndex","rowIndex"]),i=r.props,a=i.cellRenderer,s=i.fixedColumnCount,l=i.fixedRowCount;return a(nt({},o,{columnIndex:t+s,parent:f()(r),rowIndex:n+l}))})),g()(f()(r),"_cellRendererTopRightGrid",(function(e){var t=e.columnIndex,n=x()(e,["columnIndex"]),o=r.props,i=o.cellRenderer,a=o.columnCount,s=o.fixedColumnCount;return t===a-s?m.createElement("div",{key:n.key,style:nt({},n.style,{width:20})}):i(nt({},n,{columnIndex:t+s,parent:f()(r)}))})),g()(f()(r),"_columnWidthRightGrid",(function(e){var t=e.index,n=r.props,o=n.columnCount,i=n.fixedColumnCount,a=n.columnWidth,s=r.state,l=s.scrollbarSize;return s.showHorizontalScrollbar&&t===o-i?l:"function"==typeof a?a({index:t+i}):a})),g()(f()(r),"_onScroll",(function(e){var t=e.scrollLeft,n=e.scrollTop;r.setState({scrollLeft:t,scrollTop:n});var o=r.props.onScroll;o&&o(e)})),g()(f()(r),"_onScrollbarPresenceChange",(function(e){var t=e.horizontal,n=e.size,o=e.vertical,i=r.state,a=i.showHorizontalScrollbar,s=i.showVerticalScrollbar;if(t!==a||o!==s){r.setState({scrollbarSize:n,showHorizontalScrollbar:t,showVerticalScrollbar:o});var l=r.props.onScrollbarPresenceChange;"function"==typeof l&&l({horizontal:t,size:n,vertical:o})}})),g()(f()(r),"_onScrollLeft",(function(e){var t=e.scrollLeft;r._onScroll({scrollLeft:t,scrollTop:r.state.scrollTop})})),g()(f()(r),"_onScrollTop",(function(e){var t=e.scrollTop;r._onScroll({scrollTop:t,scrollLeft:r.state.scrollLeft})})),g()(f()(r),"_rowHeightBottomGrid",(function(e){var t=e.index,n=r.props,o=n.fixedRowCount,i=n.rowCount,a=n.rowHeight,s=r.state,l=s.scrollbarSize;return s.showVerticalScrollbar&&t===i-o?l:"function"==typeof a?a({index:t+o}):a})),g()(f()(r),"_topLeftGridRef",(function(e){r._topLeftGrid=e})),g()(f()(r),"_topRightGridRef",(function(e){r._topRightGrid=e}));var i=e.deferredMeasurementCache,a=e.fixedColumnCount,s=e.fixedRowCount;return r._maybeCalculateCachedStyles(!0),i&&(r._deferredMeasurementCacheBottomLeftGrid=s>0?new et({cellMeasurerCache:i,columnIndexOffset:0,rowIndexOffset:s}):i,r._deferredMeasurementCacheBottomRightGrid=a>0||s>0?new et({cellMeasurerCache:i,columnIndexOffset:a,rowIndexOffset:s}):i,r._deferredMeasurementCacheTopRightGrid=a>0?new et({cellMeasurerCache:i,columnIndexOffset:a,rowIndexOffset:0}):i),r}return h()(t,e),a()(t,[{key:"forceUpdateGrids",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.forceUpdate(),this._bottomRightGrid&&this._bottomRightGrid.forceUpdate(),this._topLeftGrid&&this._topLeftGrid.forceUpdate(),this._topRightGrid&&this._topRightGrid.forceUpdate()}},{key:"invalidateCellSizeAfterRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,r=e.rowIndex,o=void 0===r?0:r;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,n):n,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,o):o}},{key:"measureAllCells",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.measureAllCells(),this._bottomRightGrid&&this._bottomRightGrid.measureAllCells(),this._topLeftGrid&&this._topLeftGrid.measureAllCells(),this._topRightGrid&&this._topRightGrid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,r=e.rowIndex,o=void 0===r?0:r,i=this.props,a=i.fixedColumnCount,s=i.fixedRowCount,l=Math.max(0,n-a),c=Math.max(0,o-s);this._bottomLeftGrid&&this._bottomLeftGrid.recomputeGridSize({columnIndex:n,rowIndex:c}),this._bottomRightGrid&&this._bottomRightGrid.recomputeGridSize({columnIndex:l,rowIndex:c}),this._topLeftGrid&&this._topLeftGrid.recomputeGridSize({columnIndex:n,rowIndex:o}),this._topRightGrid&&this._topRightGrid.recomputeGridSize({columnIndex:l,rowIndex:o}),this._leftGridWidth=null,this._topGridHeight=null,this._maybeCalculateCachedStyles(!0)}},{key:"componentDidMount",value:function(){var e=this.props,t=e.scrollLeft,n=e.scrollTop;if(t>0||n>0){var r={};t>0&&(r.scrollLeft=t),n>0&&(r.scrollTop=n),this.setState(r)}this._handleInvalidatedGridSize()}},{key:"componentDidUpdate",value:function(){this._handleInvalidatedGridSize()}},{key:"render",value:function(){var e=this.props,t=e.onScroll,n=e.onSectionRendered,r=(e.onScrollbarPresenceChange,e.scrollLeft,e.scrollToColumn),o=(e.scrollTop,e.scrollToRow),i=x()(e,["onScroll","onSectionRendered","onScrollbarPresenceChange","scrollLeft","scrollToColumn","scrollTop","scrollToRow"]);if(this._prepareForRender(),0===this.props.width||0===this.props.height)return null;var a=this.state,s=a.scrollLeft,l=a.scrollTop;return m.createElement("div",{style:this._containerOuterStyle},m.createElement("div",{style:this._containerTopStyle},this._renderTopLeftGrid(i),this._renderTopRightGrid(nt({},i,{onScroll:t,scrollLeft:s}))),m.createElement("div",{style:this._containerBottomStyle},this._renderBottomLeftGrid(nt({},i,{onScroll:t,scrollTop:l})),this._renderBottomRightGrid(nt({},i,{onScroll:t,onSectionRendered:n,scrollLeft:s,scrollToColumn:r,scrollToRow:o,scrollTop:l}))))}},{key:"_getBottomGridHeight",value:function(e){return e.height-this._getTopGridHeight(e)}},{key:"_getLeftGridWidth",value:function(e){var t=e.fixedColumnCount,n=e.columnWidth;if(null==this._leftGridWidth)if("function"==typeof n){for(var r=0,o=0;o<t;o++)r+=n({index:o});this._leftGridWidth=r}else this._leftGridWidth=n*t;return this._leftGridWidth}},{key:"_getRightGridWidth",value:function(e){return e.width-this._getLeftGridWidth(e)}},{key:"_getTopGridHeight",value:function(e){var t=e.fixedRowCount,n=e.rowHeight;if(null==this._topGridHeight)if("function"==typeof n){for(var r=0,o=0;o<t;o++)r+=n({index:o});this._topGridHeight=r}else this._topGridHeight=n*t;return this._topGridHeight}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex){var e=this._deferredInvalidateColumnIndex,t=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:t}),this.forceUpdate()}}},{key:"_maybeCalculateCachedStyles",value:function(e){var t=this.props,n=t.columnWidth,r=t.enableFixedColumnScroll,o=t.enableFixedRowScroll,i=t.height,a=t.fixedColumnCount,s=t.fixedRowCount,l=t.rowHeight,c=t.style,u=t.styleBottomLeftGrid,d=t.styleBottomRightGrid,f=t.styleTopLeftGrid,p=t.styleTopRightGrid,h=t.width,v=e||i!==this._lastRenderedHeight||h!==this._lastRenderedWidth,g=e||n!==this._lastRenderedColumnWidth||a!==this._lastRenderedFixedColumnCount,m=e||s!==this._lastRenderedFixedRowCount||l!==this._lastRenderedRowHeight;(e||v||c!==this._lastRenderedStyle)&&(this._containerOuterStyle=nt({height:i,overflow:"visible",width:h},c)),(e||v||m)&&(this._containerTopStyle={height:this._getTopGridHeight(this.props),position:"relative",width:h},this._containerBottomStyle={height:i-this._getTopGridHeight(this.props),overflow:"visible",position:"relative",width:h}),(e||u!==this._lastRenderedStyleBottomLeftGrid)&&(this._bottomLeftGridStyle=nt({left:0,overflowX:"hidden",overflowY:r?"auto":"hidden",position:"absolute"},u)),(e||g||d!==this._lastRenderedStyleBottomRightGrid)&&(this._bottomRightGridStyle=nt({left:this._getLeftGridWidth(this.props),position:"absolute"},d)),(e||f!==this._lastRenderedStyleTopLeftGrid)&&(this._topLeftGridStyle=nt({left:0,overflowX:"hidden",overflowY:"hidden",position:"absolute",top:0},f)),(e||g||p!==this._lastRenderedStyleTopRightGrid)&&(this._topRightGridStyle=nt({left:this._getLeftGridWidth(this.props),overflowX:o?"auto":"hidden",overflowY:"hidden",position:"absolute",top:0},p)),this._lastRenderedColumnWidth=n,this._lastRenderedFixedColumnCount=a,this._lastRenderedFixedRowCount=s,this._lastRenderedHeight=i,this._lastRenderedRowHeight=l,this._lastRenderedStyle=c,this._lastRenderedStyleBottomLeftGrid=u,this._lastRenderedStyleBottomRightGrid=d,this._lastRenderedStyleTopLeftGrid=f,this._lastRenderedStyleTopRightGrid=p,this._lastRenderedWidth=h}},{key:"_prepareForRender",value:function(){this._lastRenderedColumnWidth===this.props.columnWidth&&this._lastRenderedFixedColumnCount===this.props.fixedColumnCount||(this._leftGridWidth=null),this._lastRenderedFixedRowCount===this.props.fixedRowCount&&this._lastRenderedRowHeight===this.props.rowHeight||(this._topGridHeight=null),this._maybeCalculateCachedStyles(),this._lastRenderedColumnWidth=this.props.columnWidth,this._lastRenderedFixedColumnCount=this.props.fixedColumnCount,this._lastRenderedFixedRowCount=this.props.fixedRowCount,this._lastRenderedRowHeight=this.props.rowHeight}},{key:"_renderBottomLeftGrid",value:function(e){var t=e.enableFixedColumnScroll,n=e.fixedColumnCount,r=e.fixedRowCount,o=e.rowCount,i=e.hideBottomLeftGridScrollbar,a=this.state.showVerticalScrollbar;if(!n)return null;var s=a?1:0,l=this._getBottomGridHeight(e),c=this._getLeftGridWidth(e),u=this.state.showVerticalScrollbar?this.state.scrollbarSize:0,d=i?c+u:c,f=m.createElement(X,_()({},e,{cellRenderer:this._cellRendererBottomLeftGrid,className:this.props.classNameBottomLeftGrid,columnCount:n,deferredMeasurementCache:this._deferredMeasurementCacheBottomLeftGrid,height:l,onScroll:t?this._onScrollTop:void 0,ref:this._bottomLeftGridRef,rowCount:Math.max(0,o-r)+s,rowHeight:this._rowHeightBottomGrid,style:this._bottomLeftGridStyle,tabIndex:null,width:d}));return i?m.createElement("div",{className:"BottomLeftGrid_ScrollWrapper",style:nt({},this._bottomLeftGridStyle,{height:l,width:c,overflowY:"hidden"})},f):f}},{key:"_renderBottomRightGrid",value:function(e){var t=e.columnCount,n=e.fixedColumnCount,r=e.fixedRowCount,o=e.rowCount,i=e.scrollToColumn,a=e.scrollToRow;return m.createElement(X,_()({},e,{cellRenderer:this._cellRendererBottomRightGrid,className:this.props.classNameBottomRightGrid,columnCount:Math.max(0,t-n),columnWidth:this._columnWidthRightGrid,deferredMeasurementCache:this._deferredMeasurementCacheBottomRightGrid,height:this._getBottomGridHeight(e),onScroll:this._onScroll,onScrollbarPresenceChange:this._onScrollbarPresenceChange,ref:this._bottomRightGridRef,rowCount:Math.max(0,o-r),rowHeight:this._rowHeightBottomGrid,scrollToColumn:i-n,scrollToRow:a-r,style:this._bottomRightGridStyle,width:this._getRightGridWidth(e)}))}},{key:"_renderTopLeftGrid",value:function(e){var t=e.fixedColumnCount,n=e.fixedRowCount;return t&&n?m.createElement(X,_()({},e,{className:this.props.classNameTopLeftGrid,columnCount:t,height:this._getTopGridHeight(e),ref:this._topLeftGridRef,rowCount:n,style:this._topLeftGridStyle,tabIndex:null,width:this._getLeftGridWidth(e)})):null}},{key:"_renderTopRightGrid",value:function(e){var t=e.columnCount,n=e.enableFixedRowScroll,r=e.fixedColumnCount,o=e.fixedRowCount,i=e.scrollLeft,a=e.hideTopRightGridScrollbar,s=this.state,l=s.showHorizontalScrollbar,c=s.scrollbarSize;if(!o)return null;var u=l?1:0,d=this._getTopGridHeight(e),f=this._getRightGridWidth(e),p=l?c:0,h=d,v=this._topRightGridStyle;a&&(h=d+p,v=nt({},this._topRightGridStyle,{left:0}));var g=m.createElement(X,_()({},e,{cellRenderer:this._cellRendererTopRightGrid,className:this.props.classNameTopRightGrid,columnCount:Math.max(0,t-r)+u,columnWidth:this._columnWidthRightGrid,deferredMeasurementCache:this._deferredMeasurementCacheTopRightGrid,height:h,onScroll:n?this._onScrollLeft:void 0,ref:this._topRightGridRef,rowCount:o,scrollLeft:i,style:v,tabIndex:null,width:f}));return a?m.createElement("div",{className:"TopRightGrid_ScrollWrapper",style:nt({},this._topRightGridStyle,{height:d,width:f,overflowX:"hidden"})},g):g}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.scrollLeft!==t.scrollLeft||e.scrollTop!==t.scrollTop?{scrollLeft:null!=e.scrollLeft&&e.scrollLeft>=0?e.scrollLeft:t.scrollLeft,scrollTop:null!=e.scrollTop&&e.scrollTop>=0?e.scrollTop:t.scrollTop}:null}}]),t}(m.PureComponent);g()(rt,"defaultProps",{classNameBottomLeftGrid:"",classNameBottomRightGrid:"",classNameTopLeftGrid:"",classNameTopRightGrid:"",enableFixedColumnScroll:!1,enableFixedRowScroll:!1,fixedColumnCount:0,fixedRowCount:0,scrollToColumn:-1,scrollToRow:-1,style:{},styleBottomLeftGrid:{},styleBottomRightGrid:{},styleTopLeftGrid:{},styleTopRightGrid:{},hideTopRightGridScrollbar:!1,hideBottomLeftGridScrollbar:!1}),rt.propTypes={},Object(y.polyfill)(rt);var ot=rt,it=function(e){function t(e,n){var r;return o()(this,t),(r=l()(this,u()(t).call(this,e,n))).state={clientHeight:0,clientWidth:0,scrollHeight:0,scrollLeft:0,scrollTop:0,scrollWidth:0},r._onScroll=r._onScroll.bind(f()(r)),r}return h()(t,e),a()(t,[{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.clientHeight,r=t.clientWidth,o=t.scrollHeight,i=t.scrollLeft,a=t.scrollTop,s=t.scrollWidth;return e({clientHeight:n,clientWidth:r,onScroll:this._onScroll,scrollHeight:o,scrollLeft:i,scrollTop:a,scrollWidth:s})}},{key:"_onScroll",value:function(e){var t=e.clientHeight,n=e.clientWidth,r=e.scrollHeight,o=e.scrollLeft,i=e.scrollTop,a=e.scrollWidth;this.setState({clientHeight:t,clientWidth:n,scrollHeight:r,scrollLeft:o,scrollTop:i,scrollWidth:a})}}]),t}(m.PureComponent);function at(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.defaultSortBy,r=t.defaultSortDirection,o=void 0===r?{}:r;if(!e)throw Error('Required parameter "sortCallback" not specified');var i=n||[],a={};function s(t){var n=t.defaultSortDirection,r=t.event,o=t.sortBy;if(r.shiftKey)void 0!==a[o]?a[o]="ASC"===a[o]?"DESC":"ASC":(a[o]=n,i.push(o));else if(r.ctrlKey||r.metaKey){var s=i.indexOf(o);s>=0&&(i.splice(s,1),delete a[o])}else i.length=0,i.push(o),Object.keys(a).forEach((function(e){e!==o&&delete a[e]})),void 0!==a[o]?a[o]="ASC"===a[o]?"DESC":"ASC":a[o]=n;e({sortBy:i,sortDirection:a})}return i.forEach((function(e){a[e]=void 0!==o[e]?o[e]:"ASC"})),{sort:s,sortBy:i,sortDirection:a}}function st(e){var t=e.dataKey,n=e.rowData;return"function"==typeof n.get?n.get(t):n[t]}function lt(e){var t=e.cellData;return null==t?"":String(t)}function ct(e){var t=e.className,n=e.columns,r=e.style;return m.createElement("div",{className:t,role:"row",style:r},n)}it.propTypes={},ct.propTypes=null;var ut={ASC:"ASC",DESC:"DESC"};function dt(e){var t=e.sortDirection,n=S("ReactVirtualized__Table__sortableHeaderIcon",{"ReactVirtualized__Table__sortableHeaderIcon--ASC":t===ut.ASC,"ReactVirtualized__Table__sortableHeaderIcon--DESC":t===ut.DESC});return m.createElement("svg",{className:n,width:18,height:18,viewBox:"0 0 24 24"},t===ut.ASC?m.createElement("path",{d:"M7 14l5-5 5 5z"}):m.createElement("path",{d:"M7 10l5 5 5-5z"}),m.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))}function ft(e){var t=e.dataKey,n=e.label,r=e.sortBy,o=e.sortDirection,i=r===t,a=[m.createElement("span",{className:"ReactVirtualized__Table__headerTruncatedText",key:"label",title:"string"==typeof n?n:null},n)];return i&&a.push(m.createElement(dt,{key:"SortIndicator",sortDirection:o})),a}function pt(e){var t=e.className,n=e.columns,r=e.index,o=e.key,i=e.onRowClick,a=e.onRowDoubleClick,s=e.onRowMouseOut,l=e.onRowMouseOver,c=e.onRowRightClick,u=e.rowData,d=e.style,f={"aria-rowindex":r+1};return(i||a||s||l||c)&&(f["aria-label"]="row",f.tabIndex=0,i&&(f.onClick=function(e){return i({event:e,index:r,rowData:u})}),a&&(f.onDoubleClick=function(e){return a({event:e,index:r,rowData:u})}),s&&(f.onMouseOut=function(e){return s({event:e,index:r,rowData:u})}),l&&(f.onMouseOver=function(e){return l({event:e,index:r,rowData:u})}),c&&(f.onContextMenu=function(e){return c({event:e,index:r,rowData:u})})),m.createElement("div",_()({},f,{className:t,key:o,role:"row",style:d}),n)}dt.propTypes={},ft.propTypes=null,pt.propTypes=null;var ht=function(e){function t(){return o()(this,t),l()(this,u()(t).apply(this,arguments))}return h()(t,e),t}(m.Component);function vt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function gt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vt(n,!0).forEach((function(t){g()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vt(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}g()(ht,"defaultProps",{cellDataGetter:st,cellRenderer:lt,defaultSortDirection:ut.ASC,flexGrow:0,flexShrink:1,headerRenderer:ft,style:{}}),ht.propTypes={};var mt=function(e){function t(e){var n;return o()(this,t),(n=l()(this,u()(t).call(this,e))).state={scrollbarWidth:0},n._createColumn=n._createColumn.bind(f()(n)),n._createRow=n._createRow.bind(f()(n)),n._onScroll=n._onScroll.bind(f()(n)),n._onSectionRendered=n._onSectionRendered.bind(f()(n)),n._setRef=n._setRef.bind(f()(n)),n}return h()(t,e),a()(t,[{key:"forceUpdateGrid",value:function(){this.Grid&&this.Grid.forceUpdate()}},{key:"getOffsetForRow",value:function(e){var t=e.alignment,n=e.index;return this.Grid?this.Grid.getOffsetForCell({alignment:t,rowIndex:n}).scrollTop:0}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.columnIndex,n=e.rowIndex;this.Grid&&this.Grid.invalidateCellSizeAfterRender({rowIndex:n,columnIndex:t})}},{key:"measureAllRows",value:function(){this.Grid&&this.Grid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,r=e.rowIndex,o=void 0===r?0:r;this.Grid&&this.Grid.recomputeGridSize({rowIndex:o,columnIndex:n})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"getScrollbarWidth",value:function(){if(this.Grid){var e=Object(le.findDOMNode)(this.Grid),t=e.clientWidth||0;return(e.offsetWidth||0)-t}return 0}},{key:"componentDidMount",value:function(){this._setScrollbarWidth()}},{key:"componentDidUpdate",value:function(){this._setScrollbarWidth()}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.className,o=t.disableHeader,i=t.gridClassName,a=t.gridStyle,s=t.headerHeight,l=t.headerRowRenderer,c=t.height,u=t.id,d=t.noRowsRenderer,f=t.rowClassName,p=t.rowStyle,h=t.scrollToIndex,v=t.style,g=t.width,y=this.state.scrollbarWidth,b=o?c:c-s,w="function"==typeof f?f({index:-1}):f,C="function"==typeof p?p({index:-1}):p;return this._cachedColumnStyles=[],m.Children.toArray(n).forEach((function(t,n){var r=e._getFlexStyleForColumn(t,t.props.style);e._cachedColumnStyles[n]=gt({overflow:"hidden"},r)})),m.createElement("div",{"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-colcount":m.Children.toArray(n).length,"aria-rowcount":this.props.rowCount,className:S("ReactVirtualized__Table",r),id:u,role:"grid",style:v},!o&&l({className:S("ReactVirtualized__Table__headerRow",w),columns:this._getHeaderColumns(),style:gt({height:s,overflow:"hidden",paddingRight:y,width:g},C)}),m.createElement(X,_()({},this.props,{"aria-readonly":null,autoContainerWidth:!0,className:S("ReactVirtualized__Table__Grid",i),cellRenderer:this._createRow,columnWidth:g,columnCount:1,height:b,id:void 0,noContentRenderer:d,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,role:"rowgroup",scrollbarWidth:y,scrollToRow:h,style:gt({},a,{overflowX:"hidden"})})))}},{key:"_createColumn",value:function(e){var t=e.column,n=e.columnIndex,r=e.isScrolling,o=e.parent,i=e.rowData,a=e.rowIndex,s=this.props.onColumnClick,l=t.props,c=l.cellDataGetter,u=l.cellRenderer,d=l.className,f=l.columnData,p=l.dataKey,h=l.id,v=u({cellData:c({columnData:f,dataKey:p,rowData:i}),columnData:f,columnIndex:n,dataKey:p,isScrolling:r,parent:o,rowData:i,rowIndex:a}),g=this._cachedColumnStyles[n],y="string"==typeof v?v:null;return m.createElement("div",{"aria-colindex":n+1,"aria-describedby":h,className:S("ReactVirtualized__Table__rowColumn",d),key:"Row"+a+"-Col"+n,onClick:function(e){s&&s({columnData:f,dataKey:p,event:e})},role:"gridcell",style:g,title:y},v)}},{key:"_createHeader",value:function(e){var t,n,r,o,i,a=e.column,s=e.index,l=this.props,c=l.headerClassName,u=l.headerStyle,d=l.onHeaderClick,f=l.sort,p=l.sortBy,h=l.sortDirection,v=a.props,g=v.columnData,y=v.dataKey,b=v.defaultSortDirection,_=v.disableSort,w=v.headerRenderer,C=v.id,O=v.label,x=!_&&f,T=S("ReactVirtualized__Table__headerColumn",c,a.props.headerClassName,{ReactVirtualized__Table__sortableHeaderColumn:x}),k=this._getFlexStyleForColumn(a,gt({},u,{},a.props.headerStyle)),D=w({columnData:g,dataKey:y,disableSort:_,label:O,sortBy:p,sortDirection:h});if(x||d){var E=p!==y?b:h===ut.DESC?ut.ASC:ut.DESC,I=function(e){x&&f({defaultSortDirection:b,event:e,sortBy:y,sortDirection:E}),d&&d({columnData:g,dataKey:y,event:e})};i=a.props["aria-label"]||O||y,o="none",r=0,t=I,n=function(e){"Enter"!==e.key&&" "!==e.key||I(e)}}return p===y&&(o=h===ut.ASC?"ascending":"descending"),m.createElement("div",{"aria-label":i,"aria-sort":o,className:T,id:C,key:"Header-Col"+s,onClick:t,onKeyDown:n,role:"columnheader",style:k,tabIndex:r},D)}},{key:"_createRow",value:function(e){var t=this,n=e.rowIndex,r=e.isScrolling,o=e.key,i=e.parent,a=e.style,s=this.props,l=s.children,c=s.onRowClick,u=s.onRowDoubleClick,d=s.onRowRightClick,f=s.onRowMouseOver,p=s.onRowMouseOut,h=s.rowClassName,v=s.rowGetter,g=s.rowRenderer,y=s.rowStyle,b=this.state.scrollbarWidth,_="function"==typeof h?h({index:n}):h,w="function"==typeof y?y({index:n}):y,C=v({index:n}),O=m.Children.toArray(l).map((function(e,o){return t._createColumn({column:e,columnIndex:o,isScrolling:r,parent:i,rowData:C,rowIndex:n,scrollbarWidth:b})})),x=S("ReactVirtualized__Table__row",_),T=gt({},a,{height:this._getRowHeight(n),overflow:"hidden",paddingRight:b},w);return g({className:x,columns:O,index:n,isScrolling:r,key:o,onRowClick:c,onRowDoubleClick:u,onRowRightClick:d,onRowMouseOver:f,onRowMouseOut:p,rowData:C,style:T})}},{key:"_getFlexStyleForColumn",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="".concat(e.props.flexGrow," ").concat(e.props.flexShrink," ").concat(e.props.width,"px"),r=gt({},t,{flex:n,msFlex:n,WebkitFlex:n});return e.props.maxWidth&&(r.maxWidth=e.props.maxWidth),e.props.minWidth&&(r.minWidth=e.props.minWidth),r}},{key:"_getHeaderColumns",value:function(){var e=this,t=this.props,n=t.children;return(t.disableHeader?[]:m.Children.toArray(n)).map((function(t,n){return e._createHeader({column:t,index:n})}))}},{key:"_getRowHeight",value:function(e){var t=this.props.rowHeight;return"function"==typeof t?t({index:e}):t}},{key:"_onScroll",value:function(e){var t=e.clientHeight,n=e.scrollHeight,r=e.scrollTop;(0,this.props.onScroll)({clientHeight:t,scrollHeight:n,scrollTop:r})}},{key:"_onSectionRendered",value:function(e){var t=e.rowOverscanStartIndex,n=e.rowOverscanStopIndex,r=e.rowStartIndex,o=e.rowStopIndex;(0,this.props.onRowsRendered)({overscanStartIndex:t,overscanStopIndex:n,startIndex:r,stopIndex:o})}},{key:"_setRef",value:function(e){this.Grid=e}},{key:"_setScrollbarWidth",value:function(){var e=this.getScrollbarWidth();this.setState({scrollbarWidth:e})}}]),t}(m.PureComponent);g()(mt,"defaultProps",{disableHeader:!1,estimatedRowSize:30,headerHeight:0,headerStyle:{},noRowsRenderer:function(){return null},onRowsRendered:function(){return null},onScroll:function(){return null},overscanIndicesGetter:Z,overscanRowCount:10,rowRenderer:pt,headerRowRenderer:ct,rowStyle:{},scrollToAlignment:"auto",scrollToIndex:-1,style:{}}),mt.propTypes={};var yt=[],bt=null,_t=null;function wt(){_t&&(_t=null,document.body&&null!=bt&&(document.body.style.pointerEvents=bt),bt=null)}function St(){wt(),yt.forEach((function(e){return e.__resetIsScrolling()}))}function Ct(e){e.currentTarget===window&&null==bt&&document.body&&(bt=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),function(){_t&&G(_t);var e=0;yt.forEach((function(t){e=Math.max(e,t.props.scrollingResetTimeInterval)})),_t=U(St,e)}(),yt.forEach((function(t){t.props.scrollElement===e.currentTarget&&t.__handleWindowScrollEvent()}))}function Ot(e,t){yt.some((function(e){return e.props.scrollElement===t}))||t.addEventListener("scroll",Ct),yt.push(e)}function xt(e,t){(yt=yt.filter((function(t){return t!==e}))).length||(t.removeEventListener("scroll",Ct),_t&&(G(_t),wt()))}var Tt,kt,Dt=function(e){return e===window},Et=function(e){return e.getBoundingClientRect()};function It(e,t){if(e){if(Dt(e)){var n=window,r=n.innerHeight,o=n.innerWidth;return{height:"number"==typeof r?r:0,width:"number"==typeof o?o:0}}return Et(e)}return{height:t.serverHeight,width:t.serverWidth}}function Pt(e,t){if(Dt(t)&&document.documentElement){var n=document.documentElement,r=Et(e),o=Et(n);return{top:r.top-o.top,left:r.left-o.left}}var i=Mt(t),a=Et(e),s=Et(t);return{top:a.top+i.top-s.top,left:a.left+i.left-s.left}}function Mt(e){return Dt(e)&&document.documentElement?{top:"scrollY"in window?window.scrollY:document.documentElement.scrollTop,left:"scrollX"in window?window.scrollX:document.documentElement.scrollLeft}:{top:e.scrollTop,left:e.scrollLeft}}function Rt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Nt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rt(n,!0).forEach((function(t){g()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rt(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var jt=function(){return"undefined"!=typeof window?window:void 0},At=(kt=Tt=function(e){function t(){var e,n;o()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return n=l()(this,(e=u()(t)).call.apply(e,[this].concat(i))),g()(f()(n),"_window",jt()),g()(f()(n),"_isMounted",!1),g()(f()(n),"_positionFromTop",0),g()(f()(n),"_positionFromLeft",0),g()(f()(n),"_detectElementResize",void 0),g()(f()(n),"_child",void 0),g()(f()(n),"state",Nt({},It(n.props.scrollElement,n.props),{isScrolling:!1,scrollLeft:0,scrollTop:0})),g()(f()(n),"_registerChild",(function(e){!e||e instanceof Element||console.warn("WindowScroller registerChild expects to be passed Element or null"),n._child=e,n.updatePosition()})),g()(f()(n),"_onChildScroll",(function(e){var t=e.scrollTop;if(n.state.scrollTop!==t){var r=n.props.scrollElement;r&&("function"==typeof r.scrollTo?r.scrollTo(0,t+n._positionFromTop):r.scrollTop=t+n._positionFromTop)}})),g()(f()(n),"_registerResizeListener",(function(e){e===window?window.addEventListener("resize",n._onResize,!1):n._detectElementResize.addResizeListener(e,n._onResize)})),g()(f()(n),"_unregisterResizeListener",(function(e){e===window?window.removeEventListener("resize",n._onResize,!1):e&&n._detectElementResize.removeResizeListener(e,n._onResize)})),g()(f()(n),"_onResize",(function(){n.updatePosition()})),g()(f()(n),"__handleWindowScrollEvent",(function(){if(n._isMounted){var e=n.props.onScroll,t=n.props.scrollElement;if(t){var r=Mt(t),o=Math.max(0,r.left-n._positionFromLeft),i=Math.max(0,r.top-n._positionFromTop);n.setState({isScrolling:!0,scrollLeft:o,scrollTop:i}),e({scrollLeft:o,scrollTop:i})}}})),g()(f()(n),"__resetIsScrolling",(function(){n.setState({isScrolling:!1})})),n}return h()(t,e),a()(t,[{key:"updatePosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,t=this.props.onResize,n=this.state,r=n.height,o=n.width,i=this._child||le.findDOMNode(this);if(i instanceof Element&&e){var a=Pt(i,e);this._positionFromTop=a.top,this._positionFromLeft=a.left}var s=It(e,this.props);r===s.height&&o===s.width||(this.setState({height:s.height,width:s.width}),t({height:s.height,width:s.width}))}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=Object(ne.a)(),this.updatePosition(e),e&&(Ot(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,t){var n=this.props.scrollElement,r=e.scrollElement;r!==n&&null!=r&&null!=n&&(this.updatePosition(n),xt(this,r),Ot(this,n),this._unregisterResizeListener(r),this._registerResizeListener(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(xt(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.isScrolling,r=t.scrollTop,o=t.scrollLeft,i=t.height,a=t.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:i,isScrolling:n,scrollLeft:o,scrollTop:r,width:a})}}]),t}(m.PureComponent),g()(Tt,"propTypes",null),kt);g()(At,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:jt(),serverHeight:0,serverWidth:0})}]);
|
1 |
+
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=349)}([function(e,t){e.exports=React},function(e,t,n){e.exports=n(110)()},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.default=e.exports,e.exports.__esModule=!0,n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(47);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(16).default,o=n(3);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";n.r(t),n.d(t,"cf7sItems",(function(){return P})),n.d(t,"defaultTreeData",(function(){return w})),n.d(t,"randomizeName",(function(){return C})),n.d(t,"mergeDefault",(function(){return O})),n.d(t,"versionCompare",(function(){return x})),n.d(t,"saveVisualForm",(function(){return S})),n.d(t,"getVisualVar",(function(){return T})),n.d(t,"isDevelopment",(function(){return k})),n.d(t,"cf7sRequest",(function(){return d})),n.d(t,"cf7sDropRules",(function(){return K})),n.d(t,"cf7sSurroundingRules",(function(){return q})),n.d(t,"cf7sDuplicateRules",(function(){return Y}));var r=n(2),o=n.n(r),i=n(16),a=n.n(i),s=n(0),l=n.n(s),c=n(11),u=n.n(c);function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text";e.nonce||(e.nonce=window.cf7svisual.nonce);var n=Object.keys(e).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&"),r={method:"POST",credentials:"same-origin",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},body:n},o=fetch(window.cf7svisual.ajaxurl,r).then((function(e){return"json"===t?e.json():e.text()})).then((function(e){if(e)return e;throw new Error("Error. Returned data: ".concat(e))})).catch((function(e){console.error("Error: ".concat(e))}));return Promise.resolve(o)}function f(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return p(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,void 0):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var g=v({},window.wp.i18n),m=g.sprintf,__=g.__,y=v({},window.wp.data),b=y.dispatch,_=y.select;function w(){var e,t=[],n=[],r=f(P);try{for(r.s();!(e=r.n()).done;){var o=e.value;t[o.cf7sType]=C(o)}}catch(e){r.e(e)}finally{r.f()}return t.fieldset.expanded=!0,t.fieldset.cf7sLabel=__("Legend","contact-form-7-skins"),n.push(t.fieldset),t["list-ol"].expanded=!0,n[0].children=[v({},t["list-ol"])],t.text.cf7sLabel=__("Your Name (required)","contact-form-7-skins"),t.text.cf7Required=!0,t["list-li"].expanded=!0,t["list-li"].children=[v({},t.text)],n[0].children[0].children=[v({},t["list-li"])],t.email.cf7sLabel=__("Email Address (required)","contact-form-7-skins"),t.email.cf7Required=!0,t["list-li"]=C(t["list-li"]),t["list-li"].children=[v({},t.email)],n[0].children[0].children[1]=v({},t["list-li"]),t.textarea.cf7sLabel=__("Your Message","contact-form-7-skins"),t["list-li"]=C(t["list-li"]),t["list-li"].children=[v({},t.textarea)],n[0].children[0].children[2]=v({},t["list-li"]),t.paragraph.cf7sContent=__("* Required","contact-form-7-skins"),n[0].children[1]=v({},t.paragraph),t.submit.cf7sLabel=__("Send","contact-form-7-skins"),n.push(t.submit),n}function S(e){var t=b("cf7svisual").setNotice,n=v({},_("cf7svisual").getStates()),r=window.cf7svisual.treeData||n.treeData.slice(),o=window.cf7svisual;if("development"===o.environment&&(console.log("on save:",r),console.log(JSON.stringify(r))),o&&document.getElementById("post_ID")){var i=document.getElementById("post_ID").getAttribute("value"),s=document.getElementById("wpcf7-admin-form-element"),c=document.createElement("input");if(!i||i<0)c.setAttribute("type","hidden"),c.setAttribute("name","cf7s-visual"),c.setAttribute("value",JSON.stringify(r)),s.appendChild(c),s.submit();else{var p=document.getElementsByClassName("cf7sSpinner")[0];p.style.visibility="visible";var h={action:"cf7skins_visual_update",form_id:i,visual:JSON.stringify(r),template:document.getElementById("cf7s-template").value,style:document.getElementById("cf7s-style").value},g=document.getElementById("title").value;o.title!==g&&(h.title=g),d(h,"json").then((function(e){window.cf7sAdmin.getTextarea().value=e.form,window.onbeforeunload=null,"function"==typeof Event?new Event("change",{bubbles:!0}):document.createEvent("Event").initEvent("change",!0,!0),window.cf7sAdmin.getTextarea().dispatchEvent(new Event("change",{bubbles:!0})),p.style.visibility="hidden";var n=l.a.createElement("div",{className:"notice notice-success is-dismissible"},l.a.createElement("p",null,"Visual saved!"),l.a.createElement("button",{type:"button",className:"notice-dismiss",onClick:function(){return u.a.unmountComponentAtNode(document.getElementById("cf7s-visual-notice"))}},l.a.createElement("span",{className:"screen-reader-text"},__("Dismiss this notice.","contact-form-7-skins"))));if(u.a.render(n,document.getElementById("cf7s-visual-notice")),t(__("Visual saved!","contact-form-7-skins"),"success"),e.callbacks){var r,o=f(e.callbacks);try{for(o.s();!(r=o.n()).done;){var i=r.value;if("object"===a()(i)){var s=Object.keys(i)[0];if(void 0===window[s]){console.warn(m(__("Namespace %s is undefined!","contact-form-7-skins"),s));continue}var c=i[s];void 0!==window[s][c]?window[s][c].apply():console.warn(m(__("Function %1$s.%2$s is undefined!","contact-form-7-skins"),s,"".concat(c,"()")))}else void 0!==window[i]?window[i].apply():console.warn(m(__("Function %s is undefined!","contact-form-7-skins"),"".concat(i,"()")))}}catch(e){o.e(e)}finally{o.f()}}})).catch((function(e){return console.error(e)}))}}else t(__("Can not save! window.cf7svisual or post ID does not exist.","contact-form-7-skins"),"error")}function C(e){var t=Math.floor(899*Math.random()+100);if(e.cf7Name="".concat(e.cf7sType,"-").concat(t),e.children){var n,r=f(e.children);try{for(r.s();!(n=r.n()).done;)C(n.value)}catch(e){r.e(e)}finally{r.f()}}return e}function O(e){var t=function(t){var n=P.filter((function(n){return n.cf7sType===e[t].cf7sType}))[0];e[t]=v(v({},n),e[t]),e[t].children&&O(e[t].children)};for(var n in e)t(n);return e}function x(e,t,n){var r=n&&n.lexicographical||!1,o=n&&n.zeroExtend||!0,i=(e||"0").split("."),a=(t||"0").split(".");function s(e){return(r?/^\d+[A-Za-zαß]*$/:/^\d+[A-Za-zαß]?$/).test(e)}if(!i.every(s)||!a.every(s))return NaN;if(o){for(;i.length<a.length;)i.push("0");for(;a.length<i.length;)a.push("0")}r||(i=i.map((function(e){var t=/[A-Za-zαß]/.exec(e);return Number(t?e.replace(t[0],"."+e.charCodeAt(t.index)):e)})),a=a.map((function(e){var t=/[A-Za-zαß]/.exec(e);return Number(t?e.replace(t[0],"."+e.charCodeAt(t.index)):e)})));for(var l=0;l<i.length;++l){if(a.length===l)return!0;if(i[l]!==a[l])return i[l]>a[l]}return i.length===a.length}function T(e){var t=window.cf7svisual;if(null==t)return console.log("window.cf7svisual does not exist!"),!1;if(!t.hasOwnProperty(e))return!1;var n={addons:{},environment:"",options:{},items:[],integration:{},title:"",treeData:[],versions:{}};return!(!n.hasOwnProperty(e)||a()(t[e])!==a()(n[e]))&&t[e]}function k(){return"development"===window.cf7svisual.environment}function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var E=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},window.wp.i18n).__,I=[{cf7sType:"acceptance",cf7sSelectLabel:E("Acceptance (confirm)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"acceptance",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"default_on",isChecked:!1,optionLabel:E("Make this checkbox checked by default","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"invert",isChecked:!1,optionLabel:E("Make this work inversely","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"optional",isChecked:!0,optionLabel:E("Make this checkbox optional","contact-form-7-skins"),optionType:"checkbox"}],cf7DefaultOn:!1,cf7Invert:!1,cf7Optional:!0,cf7Content:"",cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-thumbs-ok",noChildren:!0},{cf7sType:"checkbox",cf7sSelectLabel:E("Checkbox (option)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"checkbox",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"label_first",isChecked:!1,optionLabel:E("Put a label first, a checkbox last","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"use_label_element",isChecked:!1,optionLabel:E("Wrap each item with label element","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"exclusive",isChecked:!1,optionLabel:E("Make checkboxes exclusive","contact-form-7-skins"),optionType:"checkbox"}],cf7Options:[{value:"Option 1",isChecked:!0},{value:"Option 2",isChecked:!1}],cf7LabelFirst:!1,cf7UseLabelElement:!1,cf7Exclusive:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-input-checked",noChildren:!0},{cf7sType:"date",cf7sSelectLabel:E("Date","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"date",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",optionLabel:E("Default value","contact-form-7-skins"),optionType:"input"},{cf7Option:"placeholder",isChecked:!1,optionLabel:E("Use this text as the placeholder of the field","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"",optionLabel:E("Range - min","contact-form-7-skins"),optionType:"input"},{cf7Option:"",optionLabel:E("Range - max","contact-form-7-skins"),optionType:"input"}],cf7Values:"",cf7Placeholder:!1,cf7Min:"",cf7Max:"",cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-calendar",noChildren:!0},{cf7sType:"email",cf7sSelectLabel:E("Email","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"email",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",optionLabel:"Default value",optionType:"input"},{cf7Option:"placeholder",isChecked:!1,optionLabel:E("Use this text as the placeholder of the field","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"akismet_author_email",isChecked:!1,optionLabel:E("Akismet - this field requires author's email address","contact-form-7-skins"),optionType:"checkbox"}],cf7Values:"",cf7Placeholder:!1,cf7AkismetAuthorEmail:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-mail",noChildren:!0},{cf7sType:"file",cf7sSelectLabel:E("File (upload)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"file",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"limit",optionLabel:E("File size limit (bytes)","contact-form-7-skins"),optionType:"input"},{cf7Option:"",optionLabel:E("Acceptable file types","contact-form-7-skins"),optionType:"select"}],cf7Limit:"",cf7FileTypes:"",cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-attachment",noChildren:!0},{cf7sType:"number",cf7sSelectLabel:E("Number","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"number",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",optionLabel:"Field Type",optionType:"select"},{cf7Option:"",optionLabel:E("Default value","contact-form-7-skins"),optionType:"input"},{cf7Option:"placeholder",isChecked:!1,optionLabel:E("Use this text as the placeholder of the field","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"",optionLabel:E("Range - min","contact-form-7-skins"),optionType:"input"},{cf7Option:"",optionLabel:E("Range - max","contact-form-7-skins"),optionType:"input"}],cf7TagType:"number",cf7Values:"",cf7Placeholder:"",cf7Min:"",cf7Max:"",cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-sort-alphabetically",noChildren:!0},{cf7sType:"quiz",cf7sSelectLabel:E("Quiz","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"quiz",cf7sLabel:"",cf7Required:!1,cf7Options:[{question:E("Question 1","contact-form-7-skins"),answer:E("Answer 1","contact-form-7-skins")},{question:E("Question 2","contact-form-7-skins"),answer:E("Answer 2","contact-form-7-skins")}],cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-lightbulb",noChildren:!0},{cf7sType:"radio",cf7sSelectLabel:E("Radio Button (option)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"radio",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"label_first",isChecked:!1,optionLabel:E("Put a label first, a checkbox last","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"use_label_element",isChecked:!1,optionLabel:E("Wrap each item with label element","contact-form-7-skins"),optionType:"checkbox"}],cf7Options:[{value:E("Option 1","contact-form-7-skins"),isChecked:!0},{value:E("Option 2","contact-form-7-skins"),isChecked:!1}],cf7LabelFirst:!1,cf7UseLabelElement:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-media-record-outline",noChildren:!0},{cf7sType:"select",cf7sSelectLabel:E("Select (dropdown)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"select",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",isChecked:!1,optionLabel:E("Allow multiple selections","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"",isChecked:!1,optionLabel:E("Insert a blank item as the first option","contact-form-7-skins"),optionType:"checkbox"}],cf7Options:[{value:E("Option 1","contact-form-7-skins"),isChecked:!0},{value:E("Option 2","contact-form-7-skins"),isChecked:!1}],cf7Multiple:!1,cf7IncludeBlank:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-th-menu",noChildren:!0},{cf7sType:"submit",cf7sSelectLabel:E("Submit","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"submit",cf7sLabel:"Submit",cf7Values:"",cf7Required:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-mail",noChildren:!0},{cf7sType:"tel",cf7sSelectLabel:E("Telephone","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"tel",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",optionLabel:E("Default value","contact-form-7-skins"),optionType:"input"},{cf7Option:"placeholder",isChecked:!1,optionLabel:E("Use this text as the placeholder of the field","contact-form-7-skins"),optionType:"checkbox"}],cf7Values:"",cf7Placeholder:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-phone",noChildren:!0},{cf7sType:"text",cf7sSelectLabel:E("Text (short text)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"text",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",optionLabel:E("Default value","contact-form-7-skins"),optionType:"input"},{cf7Option:"placeholder",isChecked:!1,optionLabel:E("Use this text as the placeholder of the field","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"akismet_author_email",isChecked:!1,optionLabel:E("Akismet - this field requires author's email address","contact-form-7-skins"),optionType:"checkbox"}],cf7Values:"",cf7Placeholder:!1,cf7AkismetAuthor:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-sort-alphabetically",noChildren:!0},{cf7sType:"textarea",cf7sSelectLabel:E("Textarea (long text)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"textarea",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",optionLabel:E("Default value","contact-form-7-skins"),optionType:"input"},{cf7Option:"placeholder",isChecked:!1,optionLabel:E("Use this text as the placeholder of the field","contact-form-7-skins"),optionType:"checkbox"}],cf7Values:"",cf7Placeholder:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-document-text",noChildren:!0},{cf7sType:"url",cf7sSelectLabel:E("URL (website link)","contact-form-7-skins"),cf7sSelectGroup:"cf7Tag",cf7Name:"url",cf7sLabel:"",cf7Required:!1,cf7TagOptions:[{cf7Option:"",optionLabel:E("Default value","contact-form-7-skins"),optionType:"input"},{cf7Option:"placeholder",isChecked:!1,optionLabel:E("Use this text as the placeholder of the field","contact-form-7-skins"),optionType:"checkbox"},{cf7Option:"akismet_author_email",isChecked:!1,optionLabel:E("Akismet - this field requires author's email address","contact-form-7-skins"),optionType:"checkbox"}],cf7Values:"",cf7Placeholder:!1,cf7AkismetAuthorUrl:!1,cf7IdAttribute:"",cf7ClassAttribute:"",cf7sIcon:"typcn typcn-link",noChildren:!0},{cf7sType:"recaptcha",cf7sSelectLabel:"reCAPTCHA",cf7sSelectGroup:"cf7Tag",cf7Name:"recaptcha",cf7sLabel:"",cf7IdAttribute:"",cf7Size:"",cf7Theme:"",cf7ClassAttribute:"",cf7sIcon:"dashicons dashicons-update",noChildren:!0},{cf7sType:"fieldset",cf7sSelectLabel:E("Fieldset (with legend)","contact-form-7-skins"),cf7sSelectGroup:"cf7sItem",cf7Name:"fieldset",cf7sLabel:E("Legend ..","contact-form-7-skins"),cf7sIcon:"typcn typcn-folder"},{cf7sType:"list-ol",cf7sSelectLabel:E("List - ol","contact-form-7-skins"),cf7sSelectGroup:"cf7sItem",cf7Name:"listol",cf7sLabel:"",cf7sIcon:"dashicons dashicons-editor-ol",noChildren:!1},{cf7sType:"list-li",cf7sSelectLabel:E("List Item - li","contact-form-7-skins"),cf7sSelectGroup:"cf7sItem",cf7Name:"listli",cf7sLabel:"",cf7sIcon:"dashicons dashicons-editor-ul",noChildren:!1},{cf7sType:"paragraph",cf7sSelectLabel:E("Paragraph - p","contact-form-7-skins"),cf7sSelectGroup:"cf7sItem",cf7Name:"paragraph",cf7sContent:"",cf7sIcon:"dashicons dashicons-editor-paragraph",noChildren:!0}],P=[].concat(I),M=T("addons"),R=!!M&&M.get("addCf7sItems");if(R)for(var N=0;N<R.length;++N)R[N](P);var j=n(10);function A(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return L(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?L(e,void 0):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?z(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var H=F({},window.wp.i18n),W=H.sprintf,G=H.__,U=Object(j.cloneDeep)(P).filter((function(e){return"list-ol"===e.cf7sType}))[0],B=Object(j.cloneDeep)(P).filter((function(e){return"list-li"===e.cf7sType}))[0];function V(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"drop",t={},n=T("addons"),r=!!n&&n.get("cf7sRules");if(r)for(var o=0;o<r.length;++o)for(var i in r[o])t[i]||(t[i]=[]),t[i].push(r[o][i]);if(t&&t[e])return t[e]}function K(e){var t=F({},e),n=t.node,r=t.prevTreeIndex,o=t.nextParent,i=T("treeData")||e.treeData;if(o&&"list-li"===o.cf7sType&&o.children){var a,s=0,l=A(o.children);try{for(l.s();!(a=l.n()).done;){var c,u=a.value,d=A(P);try{for(d.s();!(c=d.n()).done;){var f=c.value;u.cf7sType===f.cf7sType&&"cf7Tag"===f.cf7sSelectGroup&&s++}}catch(e){d.e(e)}finally{d.f()}}}catch(e){l.e(e)}finally{l.f()}if(s>1)return console.warn("Only one CF7 tag for each list"),!1}if(n&&null==r&&"recaptcha"===n.cf7sType&&X(n.cf7sType,i)>0&&null==r)return console.warn(G("Only one reCAPTCHA per form allowed.","contact-form-7-skins")),!1;if(n&&null==r&&"submit"===n.cf7sType&&X(n.cf7sType,i)>0)return console.warn(G("Only one submit for each form.","contact-form-7-skins")),!1;if(n.cf7sRoot&&o)return console.warn("Root node can not be dragged to other node."),!1;var p=V("drop");if(p&&p.length)for(var h=0;h<p.length;++h)if(!p[h](e))return!1;return!o||!o.noChildren}function q(e,t){if("list-ol"===e.cf7sType&&!e.children){var n=C(Object(j.cloneDeep)(B));n.children=[],e.children=[F({},n)],e.expanded=!0}if(!(t&&"fieldset"!==t.cf7sType||e.children||"fieldset"!==e.cf7sType)){var r=C(Object(j.cloneDeep)(U)),o=C(Object(j.cloneDeep)(B));return r.children=[F({},o)],r.expanded=!0,e.children=[F({},r)],e.expanded=!0,e}if((!t||"fieldset"===t.cf7sType||!1===t.noChildren&&["list-ol","list-li"].indexOf(t.cf7sType)<0)&&"cf7Tag"===e.cf7sSelectGroup&&["recaptcha","submit"].indexOf(e.cf7sType)<0){var i=C(Object(j.cloneDeep)(U)),a=C(Object(j.cloneDeep)(B));return a.children=[F({},e)],a.expanded=!0,i.children=[F({},a)],i.expanded=!0,i}if(t&&"list-ol"===t.cf7sType&&"list-li"!==e.cf7sType){var s=C(Object(j.cloneDeep)(B));return s.expanded=!0,s.children=[F({},e)],s}if("list-li"===e.cf7sType&&null===t||"list-li"===e.cf7sType&&"list-ol"!==t.cf7sType){var l=C(Object(j.cloneDeep)(U));return l.children=[F({},e)],l.expanded=!0,l}var c=V("surround");if(c&&c.length)for(var u=0;u<c.length;++u)e=c[u]({node:e,parentNode:t,nodeOL:U,nodeLI:B,randomizeName:C});return e}function Y(e){var t=F({},e),n=t.node,r=t.parentNode;if("recaptcha"===n.cf7sType||"submit"===n.cf7sType)return W(G("Only one %s allowed in a form.","contact-form-7-skins"),n.cf7sType);if(Z(n,"recaptcha"))return G("Node has recaptcha children. Only one recaptcha allowed in a form.","contact-form-7-skins");if(Z(n,"submit"))return G("Node has submit children. Only one submit allowed in a form.","contact-form-7-skins");if(r&&"list-li"===r.cf7sType&&"cf7Tag"===n.cf7sSelectGroup)return"surrounding";var o=V("duplicate");if(o&&o.length)for(var i=0;i<o.length;++i)o[i](e);return!0}function X(e,t){var n=0;return function t(r){var o,i=A(r);try{for(i.s();!(o=i.n()).done;){var a=o.value;e===a.cf7sType&&n++,a.children&&t(a.children)}}catch(e){i.e(e)}finally{i.f()}}(t),n}function Z(e,t){if(!e.children)return!1;var n,r=A(e.children);try{for(r.s();!(n=r.n()).done;){var o=n.value;return t===o.cf7sType||Z(o,t)}}catch(e){r.e(e)}finally{r.f()}}},function(e,t){e.exports=lodash},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},function(e,t,n){"use strict";t.__esModule=!0;var r,o=(r=n(301))&&r.__esModule?r:{default:r};t.default=o.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,n.apply(this,arguments)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(31),o=n(116),i=n(27),a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,u=l.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==u}},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=n=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";t.__esModule=!0;var r,o=(r=n(108))&&r.__esModule?r:{default:r};t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,o.default)(t))&&"function"!=typeof t?e:t}},function(e,t,n){var r=n(263),o=n(264),i=n(231),a=n(265);e.exports=function(e){return r(e)||o(e)||i(e)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(336)),o=a(n(340)),i=a(n(108));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,i.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},function(e,t,n){"undefined"!=typeof self&&self,e.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=7)}([function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function o(e){var t=e.targetIndex,n=e.node,i=e.currentIndex,a=e.getNodeKey,s=e.path,l=void 0===s?[]:s,c=e.lowerSiblingCounts,u=void 0===c?[]:c,d=e.ignoreCollapsed,f=void 0===d||d,p=e.isPseudoRoot,h=void 0!==p&&p?[]:[].concat(r(l),[a({node:n,treeIndex:i})]);if(i===t)return{node:n,lowerSiblingCounts:u,path:h};if(!n.children||f&&!0!==n.expanded)return{nextIndex:i+1};for(var v=i+1,g=n.children.length,m=0;m<g;m+=1){var y=o({ignoreCollapsed:f,getNodeKey:a,targetIndex:t,node:n.children[m],currentIndex:v,lowerSiblingCounts:[].concat(r(u),[g-m-1]),path:h});if(y.node)return y;v=y.nextIndex}return{nextIndex:v}}function i(e){var t=e.node,n=e.ignoreCollapsed;return o({getNodeKey:function(){},ignoreCollapsed:void 0===n||n,node:t,currentIndex:0,targetIndex:-1}).nextIndex-1}function a(e){var t=e.treeData,n=e.getNodeKey,o=e.callback,i=e.ignoreCollapsed,a=void 0===i||i;!t||t.length<1||function e(t){var n=t.callback,o=t.getNodeKey,i=t.ignoreCollapsed,a=t.isPseudoRoot,s=void 0!==a&&a,l=t.node,c=t.parentNode,u=void 0===c?null:c,d=t.currentIndex,f=t.path,p=void 0===f?[]:f,h=t.lowerSiblingCounts,v=void 0===h?[]:h,g=s?[]:[].concat(r(p),[o({node:l,treeIndex:d})]);if(!s&&!1===n(s?null:{node:l,parentNode:u,path:g,lowerSiblingCounts:v,treeIndex:d}))return!1;if(!l.children||!0!==l.expanded&&i&&!s)return d;var m=d,y=l.children.length;if("function"!=typeof l.children)for(var b=0;b<y;b+=1)if(!1===(m=e({callback:n,getNodeKey:o,ignoreCollapsed:i,node:l.children[b],parentNode:s?null:l,currentIndex:m+1,lowerSiblingCounts:[].concat(r(v),[y-b-1]),path:g})))return!1;return m}({callback:o,getNodeKey:n,ignoreCollapsed:a,isPseudoRoot:!0,node:{children:t},currentIndex:-1,path:[],lowerSiblingCounts:[]})}function s(e){var t=e.treeData,n=e.getNodeKey,o=e.callback,i=e.ignoreCollapsed,a=void 0===i||i;return!t||t.length<1?[]:function e(t){var n=t.callback,o=t.getNodeKey,i=t.ignoreCollapsed,a=t.isPseudoRoot,s=void 0!==a&&a,l=t.node,u=t.parentNode,d=void 0===u?null:u,f=t.currentIndex,p=t.path,h=void 0===p?[]:p,v=t.lowerSiblingCounts,g=void 0===v?[]:v,m=c({},l),y=s?[]:[].concat(r(h),[o({node:m,treeIndex:f})]),b={node:m,parentNode:d,path:y,lowerSiblingCounts:g,treeIndex:f};if(!m.children||!0!==m.expanded&&i&&!s)return{treeIndex:f,node:n(b)};var _=f,w=m.children.length;return"function"!=typeof m.children&&(m.children=m.children.map((function(t,a){var l=e({callback:n,getNodeKey:o,ignoreCollapsed:i,node:t,parentNode:s?null:m,currentIndex:_+1,lowerSiblingCounts:[].concat(r(g),[w-a-1]),path:y});return _=l.treeIndex,l.node}))),{node:n(b),treeIndex:_}}({callback:o,getNodeKey:n,ignoreCollapsed:a,isPseudoRoot:!0,node:{children:t},currentIndex:-1,path:[],lowerSiblingCounts:[]}).node.children}function l(e){var t=e.treeData,n=e.path,o=e.newNode,a=e.getNodeKey,s=e.ignoreCollapsed,l=void 0===s||s,u=function e(t){var s=t.isPseudoRoot,u=void 0!==s&&s,d=t.node,f=t.currentTreeIndex,p=t.pathIndex;if(!u&&a({node:d,treeIndex:f})!==n[p])return"RESULT_MISS";if(p>=n.length-1)return"function"==typeof o?o({node:d,treeIndex:f}):o;if(!d.children)throw new Error("Path referenced children of node with no children.");for(var h=f+1,v=0;v<d.children.length;v+=1){var g=e({node:d.children[v],currentTreeIndex:h,pathIndex:p+1});if("RESULT_MISS"!==g)return c({},d,g?{children:[].concat(r(d.children.slice(0,v)),[g],r(d.children.slice(v+1)))}:{children:[].concat(r(d.children.slice(0,v)),r(d.children.slice(v+1)))});h+=1+i({node:d.children[v],ignoreCollapsed:l})}return"RESULT_MISS"}({node:{children:t},currentTreeIndex:-1,pathIndex:-1,isPseudoRoot:!0});if("RESULT_MISS"===u)throw new Error("No node found at the given path.");return u.children}Object.defineProperty(t,"__esModule",{value:!0});var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.getDescendantCount=i,t.getVisibleNodeCount=function(e){return e.treeData.reduce((function(e,t){return e+function e(t){return t.children&&!0===t.expanded&&"function"!=typeof t.children?1+t.children.reduce((function(t,n){return t+e(n)}),0):1}(t)}),0)},t.getVisibleNodeInfoAtIndex=function(e){var t=e.treeData,n=e.index,r=e.getNodeKey;if(!t||t.length<1)return null;var i=o({targetIndex:n,getNodeKey:r,node:{children:t,expanded:!0},currentIndex:-1,path:[],lowerSiblingCounts:[],isPseudoRoot:!0});return i.node?i:null},t.walk=a,t.map=s,t.toggleExpandedForAll=function(e){var t=e.treeData,n=e.expanded,r=void 0===n||n;return s({treeData:t,callback:function(e){var t=e.node;return c({},t,{expanded:r})},getNodeKey:function(e){return e.treeIndex},ignoreCollapsed:!1})},t.changeNodeAtPath=l,t.removeNodeAtPath=function(e){var t=e.treeData,n=e.path,r=e.getNodeKey,o=e.ignoreCollapsed;return l({treeData:t,path:n,getNodeKey:r,ignoreCollapsed:void 0===o||o,newNode:null})},t.removeNode=function(e){var t=e.treeData,n=e.path,r=e.getNodeKey,o=e.ignoreCollapsed,i=null,a=null;return{treeData:l({treeData:t,path:n,getNodeKey:r,ignoreCollapsed:void 0===o||o,newNode:function(e){var t=e.node,n=e.treeIndex;return i=t,a=n,null}}),node:i,treeIndex:a}},t.getNodeAtPath=function(e){var t=e.treeData,n=e.path,r=e.getNodeKey,o=e.ignoreCollapsed,i=void 0===o||o,a=null;try{l({treeData:t,path:n,getNodeKey:r,ignoreCollapsed:i,newNode:function(e){var t=e.node,n=e.treeIndex;return a={node:t,treeIndex:n},t}})}catch(e){}return a},t.addNodeUnderParent=function(e){var t=e.treeData,n=e.newNode,o=e.parentKey,a=void 0===o?null:o,l=e.getNodeKey,u=e.ignoreCollapsed,d=void 0===u||u,f=e.expandParent,p=void 0!==f&&f;if(null===a)return{treeData:[].concat(r(t||[]),[n]),treeIndex:(t||[]).length};var h=null,v=!1,g=s({treeData:t,getNodeKey:l,ignoreCollapsed:d,callback:function(e){var t=e.node,o=e.treeIndex,s=e.path,l=s?s[s.length-1]:null;if(v||l!==a)return t;v=!0;var u=c({},t);if(p&&(u.expanded=!0),!u.children)return h=o+1,c({},u,{children:[n]});if("function"==typeof u.children)throw new Error("Cannot add to children defined by a function");for(var f=o+1,g=0;g<u.children.length;g+=1)f+=1+i({node:u.children[g],ignoreCollapsed:d});return h=f,c({},u,{children:[].concat(r(u.children),[n])})}});if(!v)throw new Error("No node found with the given key.");return{treeData:g,treeIndex:h}},t.insertNode=function(e){var t=e.treeData,n=e.depth,o=e.minimumTreeIndex,a=e.newNode,s=e.getNodeKey,l=void 0===s?function(){}:s,u=e.ignoreCollapsed,d=void 0===u||u,f=e.expandParent,p=void 0!==f&&f;if(!t&&0===n)return{treeData:[a],treeIndex:0,path:[l({node:a,treeIndex:0})],parentNode:null};var h=function e(t){var n=t.targetDepth,o=t.minimumTreeIndex,a=t.newNode,s=t.ignoreCollapsed,l=t.expandParent,u=t.isPseudoRoot,d=void 0!==u&&u,f=t.isLastChild,p=t.node,h=t.currentIndex,v=t.currentDepth,g=t.getNodeKey,m=t.path,y=void 0===m?[]:m,b=function(e){return d?[]:[].concat(r(y),[g({node:e,treeIndex:h})])};if(h>=o-1||f&&(!p.children||!p.children.length)){if("function"==typeof p.children)throw new Error("Cannot add to children defined by a function");var _=c({},p,l?{expanded:!0}:{},{children:p.children?[a].concat(r(p.children)):[a]});return{node:_,nextIndex:h+2,insertedTreeIndex:h+1,parentPath:b(_),parentNode:d?null:_}}if(v>=n-1){if(!p.children||"function"==typeof p.children||!0!==p.expanded&&s&&!d)return{node:p,nextIndex:h+1};for(var w=h+1,S=null,C=null,O=0;O<p.children.length;O+=1){if(w>=o){S=w,C=O;break}w+=1+i({node:p.children[O],ignoreCollapsed:s})}if(null===C){if(w<o&&!f)return{node:p,nextIndex:w};S=w,C=p.children.length}var x=c({},p,{children:[].concat(r(p.children.slice(0,C)),[a],r(p.children.slice(C)))});return{node:x,nextIndex:w,insertedTreeIndex:S,parentPath:b(x),parentNode:d?null:x}}if(!p.children||"function"==typeof p.children||!0!==p.expanded&&s&&!d)return{node:p,nextIndex:h+1};var T=null,k=null,D=null,E=h+1,I=p.children;"function"!=typeof I&&(I=I.map((function(t,r){if(null!==T)return t;var i=e({targetDepth:n,minimumTreeIndex:o,newNode:a,ignoreCollapsed:s,expandParent:l,isLastChild:f&&r===I.length-1,node:t,currentIndex:E,currentDepth:v+1,getNodeKey:g,path:[]});return"insertedTreeIndex"in i&&(T=i.insertedTreeIndex,D=i.parentNode,k=i.parentPath),E=i.nextIndex,i.node})));var P=c({},p,{children:I}),M={node:P,nextIndex:E};return null!==T&&(M.insertedTreeIndex=T,M.parentPath=[].concat(r(b(P)),r(k)),M.parentNode=D),M}({targetDepth:n,minimumTreeIndex:o,newNode:a,ignoreCollapsed:d,expandParent:p,getNodeKey:l,isPseudoRoot:!0,isLastChild:!0,node:{children:t},currentIndex:-1,currentDepth:-1});if(!("insertedTreeIndex"in h))throw new Error("No suitable position found to insert.");var v=h.insertedTreeIndex;return{treeData:h.node.children,treeIndex:v,path:[].concat(r(h.parentPath),[l({node:a,treeIndex:v})]),parentNode:h.parentNode}},t.getFlatDataFromTree=function(e){var t=e.treeData,n=e.getNodeKey,r=e.ignoreCollapsed,o=void 0===r||r;if(!t||t.length<1)return[];var i=[];return a({treeData:t,getNodeKey:n,ignoreCollapsed:o,callback:function(e){i.push(e)}}),i},t.getTreeFromFlatData=function(e){var t=e.flatData,n=e.getKey,r=void 0===n?function(e){return e.id}:n,o=e.getParentKey,i=void 0===o?function(e){return e.parentId}:o,a=e.rootKey,s=void 0===a?"0":a;if(!t)return[];var l={};return t.forEach((function(e){var t=i(e);t in l?l[t].push(e):l[t]=[e]})),s in l?l[s].map((function(e){return function e(t){var n=r(t);return n in l?c({},t,{children:l[n].map((function(t){return e(t)}))}):c({},t)}(e)})):[]},t.isDescendant=function e(t,n){return!!t.children&&"function"!=typeof t.children&&t.children.some((function(t){return t===n||e(t,n)}))},t.getDepth=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t.children?"function"==typeof t.children?n+1:t.children.reduce((function(t,r){return Math.max(t,e(r,n+1))}),n):n},t.find=function(e){var t=e.getNodeKey,n=e.treeData,o=e.searchQuery,i=e.searchMethod,a=e.searchFocusOffset,s=e.expandAllMatchPaths,l=void 0!==s&&s,u=e.expandFocusMatchPaths,d=void 0===u||u,f=0,p=function e(n){var s=n.isPseudoRoot,u=void 0!==s&&s,p=n.node,h=n.currentIndex,v=n.path,g=[],m=!1,y=!1,b=u?[]:[].concat(r(void 0===v?[]:v),[t({node:p,treeIndex:h})]),_=u?null:{path:b,treeIndex:h},w=p.children&&"function"!=typeof p.children&&p.children.length>0;!u&&i(c({},_,{node:p,searchQuery:o}))&&(f===a&&(y=!0),f+=1,m=!0);var S=h,C=c({},p);return w&&(C.children=C.children.map((function(t){var n=e({node:t,currentIndex:S+1,path:b});return n.node.expanded?S=n.treeIndex:S+=1,(n.matches.length>0||n.hasFocusMatch)&&(g=[].concat(r(g),r(n.matches)),n.hasFocusMatch&&(y=!0),(l&&n.matches.length>0||(l||d)&&n.hasFocusMatch)&&(C.expanded=!0)),n.node}))),u||C.expanded||(g=g.map((function(e){return c({},e,{treeIndex:null})}))),m&&(g=[c({},_,{node:C})].concat(r(g))),{node:g.length>0?C:p,matches:g,hasFocusMatch:y,treeIndex:S}}({node:{children:n},isPseudoRoot:!0,currentIndex:-1});return{matches:p.matches,treeData:p.node.children}}},function(e,t){e.exports=n(0)},function(e,t){e.exports=n(1)},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n,r=e[1]||"",o=e[3];if(!o)return r;if(t&&"function"==typeof btoa){var i=(n=o,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");return[r].concat(o.sources.map((function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"}))).concat([i]).join("\n")}return[r].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<e.length;o++){var a=e[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){function r(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=v[r.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](r.parts[i]);for(;i<r.parts.length;i++)o.parts.push(c(r.parts[i],t))}else{var a=[];for(i=0;i<r.parts.length;i++)a.push(c(r.parts[i],t));v[r.id]={id:r.id,refs:1,parts:a}}}}function o(e,t){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],a=t.base?i[0]+t.base:i[0],s={css:i[1],media:i[2],sourceMap:i[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}function i(e,t){var n=m(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=_[_.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),_.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=m(e.insertInto+" "+e.insertAt.before);n.insertBefore(t,o)}}function a(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=_.indexOf(e);t>=0&&_.splice(t,1)}function s(e){var t=document.createElement("style");return e.attrs.type="text/css",l(t,e.attrs),i(e,t),t}function l(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function c(e,t){var n,r,o,c;if(t.transform&&e.css){if(!(c=t.transform(e.css)))return function(){};e.css=c}if(t.singleton){var p=b++;n=y||(y=s(t)),r=u.bind(null,n,p,!1),o=u.bind(null,n,p,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",l(t,e.attrs),i(e,t),t}(t),r=f.bind(null,n,t),o=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=d.bind(null,n),o=function(){a(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}function u(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=C(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function d(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function f(e,t,n){var r=n.css,o=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||i)&&(r=w(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}var p,h,v={},g=(p=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===h&&(h=p.apply(this,arguments)),h}),m=function(e){var t={};return function(n){if(void 0===t[n]){var r=e.call(this,n);if(r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[n]=r}return t[n]}}((function(e){return document.querySelector(e)})),y=null,b=0,_=[],w=n(14);e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=g()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=o(e,t);return r(n,t),function(e){for(var i=[],a=0;a<n.length;a++){var s=n[a];(l=v[s.id]).refs--,i.push(l)}for(e&&r(o(e,t),t),a=0;a<i.length;a++){var l;if(0===(l=i[a]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete v[l.id]}}}};var S,C=(S=[],function(e,t){return S[e]=t,S.filter(Boolean).join("\n")})},function(e,t,n){"use strict";function r(e,t,n,r,i){return"function"==typeof n[e]?String(n[e]({node:n,path:r,treeIndex:i})).indexOf(t)>-1:"object"===o(n[e])?function e(t){return"string"==typeof t?t:"object"!==(void 0===t?"undefined":o(t))||!t.props||!t.props.children||"string"!=typeof t.props.children&&"object"!==o(t.props.children)?"":"string"==typeof t.props.children?t.props.children:t.props.children.map((function(t){return e(t)})).join("")}(n[e]).indexOf(t)>-1:n[e]&&String(n[e]).indexOf(t)>-1}Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.defaultGetNodeKey=function(e){return e.treeIndex},t.defaultSearchMethod=function(e){var t=e.node,n=e.path,o=e.treeIndex,i=e.searchQuery;return r("title",i,t,n,o)||r("subtitle",i,t,n,o)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.memoizedGetDescendantCount=t.memoizedGetFlatDataFromTree=t.memoizedInsertNode=void 0;var r=n(0),o=function(e){var t=[],n=[],r=null;return function(o){var i=Object.keys(o).sort(),a=i.map((function(e){return o[e]}));return(a.length!==t.length||a.some((function(e,n){return e!==t[n]}))||i.some((function(e,t){return e!==n[t]})))&&(t=a,n=i,r=e(o)),r}};t.memoizedInsertNode=o(r.insertNode),t.memoizedGetFlatDataFromTree=o(r.getFlatDataFromTree),t.memoizedGetDescendantCount=o(r.getDescendantCount)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SortableTreeWithoutDndContext=void 0;var r=n(5);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})}));var o=n(0);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})}));var i,a=n(8),s=(i=a)&&i.__esModule?i:{default:i};t.default=s.default,t.SortableTreeWithoutDndContext=a.SortableTreeWithoutDndContext},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SortableTreeWithoutDndContext=void 0;var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(1),s=r(a),l=r(n(2)),c=n(9),u=r(n(10)),d=n(11),f=r(d);n(12);var p=r(n(15)),h=r(n(18)),v=r(n(22)),g=r(n(23)),m=n(0),y=n(6),b=n(26),_=n(5),w=r(n(27)),S=r(n(31)),C=1,O=function(e){var t=i({},e,{style:i({},e.theme.style,e.style),innerStyle:i({},e.theme.innerStyle,e.innerStyle),reactVirtualizedListProps:i({},e.theme.reactVirtualizedListProps,e.reactVirtualizedListProps)}),n={nodeContentRenderer:h.default,placeholderRenderer:g.default,rowHeight:62,scaffoldBlockPxWidth:44,slideRegionSize:100,treeNodeRenderer:p.default};return Object.keys(n).forEach((function(r){null===e[r]&&(t[r]=void 0!==e.theme[r]?e.theme[r]:n[r])})),t},x=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),r=O(e),o=r.dndType,i=r.nodeContentRenderer,a=r.treeNodeRenderer,s=r.isVirtualized,l=r.slideRegionSize;return n.dndManager=new w.default(n),n.treeId="rst__"+C,C+=1,n.dndType=o||n.treeId,n.nodeContentRenderer=n.dndManager.wrapSource(i),n.treePlaceholderRenderer=n.dndManager.wrapPlaceholder(v.default),n.treeNodeRenderer=n.dndManager.wrapTarget(a),s&&(n.scrollZoneVirtualList=(0,f.default)(c.List),n.vStrength=(0,d.createVerticalStrength)(l),n.hStrength=(0,d.createHorizontalStrength)(l)),n.state={draggingTreeData:null,draggedNode:null,draggedMinimumTreeIndex:null,draggedDepth:null,searchMatches:[],searchFocusTreeIndex:null,dragging:!1},n.toggleChildrenVisibility=n.toggleChildrenVisibility.bind(n),n.moveNode=n.moveNode.bind(n),n.startDrag=n.startDrag.bind(n),n.dragHover=n.dragHover.bind(n),n.endDrag=n.endDrag.bind(n),n.drop=n.drop.bind(n),n.handleDndMonitorChange=n.handleDndMonitorChange.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){this.loadLazyChildren(),this.search(this.props),this.clearMonitorSubscription=this.context.dragDropManager.getMonitor().subscribeToStateChange(this.handleDndMonitorChange)}},{key:"componentWillReceiveProps",value:function(e){this.props.treeData!==e.treeData?(this.ignoreOneTreeUpdate?this.ignoreOneTreeUpdate=!1:(this.setState({searchFocusTreeIndex:null}),this.loadLazyChildren(e),this.search(e,!1,!1)),this.setState({draggingTreeData:null,draggedNode:null,draggedMinimumTreeIndex:null,draggedDepth:null,dragging:!1})):(0,u.default)(this.props.searchQuery,e.searchQuery)?this.props.searchFocusOffset!==e.searchFocusOffset&&this.search(e,!0,!0,!0):this.search(e)}},{key:"componentDidUpdate",value:function(e,t){this.state.dragging!==t.dragging&&this.props.onDragStateChanged&&this.props.onDragStateChanged({isDragging:this.state.dragging,draggedNode:this.state.draggedNode})}},{key:"componentWillUnmount",value:function(){this.clearMonitorSubscription()}},{key:"getRows",value:function(e){return(0,y.memoizedGetFlatDataFromTree)({ignoreCollapsed:!0,getNodeKey:this.props.getNodeKey,treeData:e})}},{key:"handleDndMonitorChange",value:function(){!this.context.dragDropManager.getMonitor().isDragging()&&this.state.draggingTreeData&&this.endDrag()}},{key:"toggleChildrenVisibility",value:function(e){var t=e.node,n=e.path,r=(0,m.changeNodeAtPath)({treeData:this.props.treeData,path:n,newNode:function(e){var t=e.node;return i({},t,{expanded:!t.expanded})},getNodeKey:this.props.getNodeKey});this.props.onChange(r),this.props.onVisibilityToggle({treeData:r,node:t,expanded:!t.expanded,path:n})}},{key:"moveNode",value:function(e){var t=e.node,n=e.path,r=e.treeIndex,o=e.depth,i=e.minimumTreeIndex,a=(0,m.insertNode)({treeData:this.state.draggingTreeData,newNode:t,depth:o,minimumTreeIndex:i,expandParent:!0,getNodeKey:this.props.getNodeKey}),s=a.treeData,l=a.treeIndex,c=a.path,u=a.parentNode;this.props.onChange(s),this.props.onMoveNode({treeData:s,node:t,treeIndex:l,path:c,nextPath:c,nextTreeIndex:l,prevPath:n,prevTreeIndex:r,nextParentNode:u})}},{key:"search",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=e.treeData,i=e.onChange,a=e.searchFinishCallback,s=e.searchQuery,l=e.searchMethod,c=e.searchFocusOffset;if((null==s||""===String(s))&&!l)return this.setState({searchMatches:[]}),void(a&&a([]));var u=(0,m.find)({getNodeKey:this.props.getNodeKey,treeData:o,searchQuery:s,searchMethod:l||_.defaultSearchMethod,searchFocusOffset:c,expandAllMatchPaths:n&&!r,expandFocusMatchPaths:!!n}),d=u.treeData,f=u.matches;n&&(this.ignoreOneTreeUpdate=!0,i(d)),a&&a(f);var p=null;t&&null!==c&&c<f.length&&(p=f[c].treeIndex),this.setState({searchMatches:f,searchFocusTreeIndex:p})}},{key:"startDrag",value:function(e){var t=this,n=e.path;this.setState((function(){var e=(0,m.removeNode)({treeData:t.props.treeData,path:n,getNodeKey:t.props.getNodeKey}),r=e.treeData,o=e.node,i=e.treeIndex;return{draggingTreeData:r,draggedNode:o,draggedDepth:n.length-1,draggedMinimumTreeIndex:i,dragging:!0}}))}},{key:"dragHover",value:function(e){var t=e.node,n=e.depth,r=e.minimumTreeIndex;if(this.state.draggedDepth!==n||this.state.draggedMinimumTreeIndex!==r){var o=this.state.draggingTreeData||this.props.treeData,a=(0,y.memoizedInsertNode)({treeData:o,newNode:t,depth:n,minimumTreeIndex:r,expandParent:!0,getNodeKey:this.props.getNodeKey}),s=this.getRows(a.treeData)[a.treeIndex].path;this.setState({draggedNode:t,draggedDepth:n,draggedMinimumTreeIndex:r,draggingTreeData:(0,m.changeNodeAtPath)({treeData:o,path:s.slice(0,-1),newNode:function(e){var t=e.node;return i({},t,{expanded:!0})},getNodeKey:this.props.getNodeKey}),searchFocusTreeIndex:null,dragging:!0})}}},{key:"endDrag",value:function(e){if(e){if(e.treeId!==this.treeId){var t=e.node,n=e.path,r=e.treeIndex,o=this.props.shouldCopyOnOutsideDrop;"function"==typeof o&&(o=o({node:t,prevTreeIndex:r,prevPath:n}));var a=this.state.draggingTreeData||this.props.treeData;o&&(a=(0,m.changeNodeAtPath)({treeData:this.props.treeData,path:n,newNode:function(e){var t=e.node;return i({},t)},getNodeKey:this.props.getNodeKey})),this.props.onChange(a),this.props.onMoveNode({treeData:a,node:t,treeIndex:null,path:null,nextPath:null,nextTreeIndex:null,prevPath:n,prevTreeIndex:r})}}else this.setState({draggingTreeData:null,draggedNode:null,draggedMinimumTreeIndex:null,draggedDepth:null,dragging:!1})}},{key:"drop",value:function(e){this.moveNode(e)}},{key:"loadLazyChildren",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props;(0,m.walk)({treeData:t.treeData,getNodeKey:this.props.getNodeKey,callback:function(n){var r=n.node,o=n.path,a=n.lowerSiblingCounts,s=n.treeIndex;r.children&&"function"==typeof r.children&&(r.expanded||t.loadCollapsedLazyChildren)&&r.children({node:r,path:o,lowerSiblingCounts:a,treeIndex:s,done:function(t){return e.props.onChange((0,m.changeNodeAtPath)({treeData:e.props.treeData,path:o,newNode:function(e){var n=e.node;return n===r?i({},n,{children:t}):n},getNodeKey:e.props.getNodeKey}))}})}})}},{key:"renderRow",value:function(e,t){var n=e.node,r=e.parentNode,o=e.path,a=e.lowerSiblingCounts,l=e.treeIndex,c=t.listIndex,u=t.style,d=t.getPrevRow,f=t.matchKeys,p=t.swapFrom,h=t.swapDepth,v=t.swapLength,g=O(this.props),m=g.canDrag,y=g.generateNodeProps,b=g.scaffoldBlockPxWidth,_=g.searchFocusOffset,w=this.treeNodeRenderer,S=this.nodeContentRenderer,C=o[o.length-1],x=C in f,T=x&&f[C]===_,k={node:n,parentNode:r,path:o,lowerSiblingCounts:a,treeIndex:l,isSearchMatch:x,isSearchFocus:T},D=y?y(k):{},E="function"!=typeof m?m:m(k),I={treeIndex:l,scaffoldBlockPxWidth:b,node:n,path:o,treeId:this.treeId};return s.default.createElement(w,i({style:u,key:C,listIndex:c,getPrevRow:d,lowerSiblingCounts:a,swapFrom:p,swapLength:v,swapDepth:h},I),s.default.createElement(S,i({parentNode:r,isSearchMatch:x,isSearchFocus:T,canDrag:E,toggleChildrenVisibility:this.toggleChildrenVisibility},I,D)))}},{key:"render",value:function(){var e=this,t=O(this.props),n=t.style,r=t.className,o=t.innerStyle,a=t.rowHeight,l=t.isVirtualized,u=t.placeholderRenderer,d=t.reactVirtualizedListProps,f=t.getNodeKey,p=this.state,h=p.searchMatches,v=p.searchFocusTreeIndex,g=p.draggedNode,m=p.draggedDepth,_=p.draggedMinimumTreeIndex,w=this.state.draggingTreeData||this.props.treeData,C=void 0,x=null,T=null;if(g&&null!==_){var k=(0,y.memoizedInsertNode)({treeData:w,newNode:g,depth:m,minimumTreeIndex:_,expandParent:!0,getNodeKey:f}),D=_;x=k.treeIndex,T=1+(0,y.memoizedGetDescendantCount)({node:g}),C=(0,b.slideRows)(this.getRows(k.treeData),x,D,T)}else C=this.getRows(w);var E={};h.forEach((function(e,t){var n=e.path;E[n[n.length-1]]=t}));var I=null!==v?{scrollToIndex:v}:{},P=n,M=void 0;if(C.length<1){var R=this.treePlaceholderRenderer,N=u;M=s.default.createElement(R,{treeId:this.treeId,drop:this.drop},s.default.createElement(N,null))}else if(l){P=i({height:"100%"},P);var j=this.scrollZoneVirtualList;M=s.default.createElement(c.AutoSizer,null,(function(t){var n=t.height,r=t.width;return s.default.createElement(j,i({},I,{verticalStrength:e.vStrength,horizontalStrength:e.hStrength,speed:30,scrollToAlignment:"start",className:S.default.virtualScrollOverride,width:r,onScroll:function(t){var n=t.scrollTop;e.scrollTop=n},height:n,style:o,rowCount:C.length,estimatedRowSize:"function"!=typeof a?a:void 0,rowHeight:"function"!=typeof a?a:function(e){var t=e.index;return a({index:t,treeIndex:t,node:C[t].node,path:C[t].path})},rowRenderer:function(t){var n=t.index,r=t.style;return e.renderRow(C[n],{listIndex:n,style:r,getPrevRow:function(){return C[n-1]||null},matchKeys:E,swapFrom:x,swapDepth:m,swapLength:T})}},d))}))}else M=C.map((function(t,n){return e.renderRow(t,{listIndex:n,style:{height:"function"!=typeof a?a:a({index:n,treeIndex:n,node:t.node,path:t.path})},getPrevRow:function(){return C[n-1]||null},matchKeys:E,swapFrom:x,swapDepth:m,swapLength:T})}));return s.default.createElement("div",{className:S.default.tree+(r?" "+r:""),style:P},M)}}]),t}(a.Component);x.propTypes={treeData:l.default.arrayOf(l.default.object).isRequired,style:l.default.shape({}),className:l.default.string,innerStyle:l.default.shape({}),rowHeight:l.default.oneOfType([l.default.number,l.default.func]),slideRegionSize:l.default.number,reactVirtualizedListProps:l.default.shape({}),scaffoldBlockPxWidth:l.default.number,maxDepth:l.default.number,searchMethod:l.default.func,searchQuery:l.default.any,searchFocusOffset:l.default.number,searchFinishCallback:l.default.func,generateNodeProps:l.default.func,isVirtualized:l.default.bool,treeNodeRenderer:l.default.func,nodeContentRenderer:l.default.func,placeholderRenderer:l.default.func,theme:l.default.shape({style:l.default.shape({}),innerStyle:l.default.shape({}),reactVirtualizedListProps:l.default.shape({}),scaffoldBlockPxWidth:l.default.number,slideRegionSize:l.default.number,rowHeight:l.default.oneOfType([l.default.number,l.default.func]),treeNodeRenderer:l.default.func,nodeContentRenderer:l.default.func,placeholderRenderer:l.default.func}),getNodeKey:l.default.func,onChange:l.default.func.isRequired,onMoveNode:l.default.func,canDrag:l.default.oneOfType([l.default.func,l.default.bool]),canDrop:l.default.func,shouldCopyOnOutsideDrop:l.default.oneOfType([l.default.func,l.default.bool]),onVisibilityToggle:l.default.func,dndType:l.default.string,onDragStateChanged:l.default.func},x.defaultProps={canDrag:!0,canDrop:null,className:"",dndType:null,generateNodeProps:null,getNodeKey:_.defaultGetNodeKey,innerStyle:{},isVirtualized:!0,maxDepth:null,treeNodeRenderer:null,nodeContentRenderer:null,onMoveNode:function(){},onVisibilityToggle:function(){},placeholderRenderer:null,reactVirtualizedListProps:{},rowHeight:null,scaffoldBlockPxWidth:null,searchFinishCallback:null,searchFocusOffset:null,searchMethod:null,searchQuery:null,shouldCopyOnOutsideDrop:!1,slideRegionSize:null,style:{},theme:{},onDragStateChanged:function(){}},x.contextTypes={dragDropManager:l.default.shape({})},t.SortableTreeWithoutDndContext=x,t.default=w.default.wrapRoot(x)},function(e,t){e.exports=n(350)},function(e,t){e.exports=n(270)},function(e,t){e.exports=n(271)},function(e,t,n){var r=n(13);"string"==typeof r&&(r=[[e.i,r,""]]);n(4)(r,{insertAt:"top",hmr:!0,transform:void 0}),r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(3)(!1)).push([e.i,"/* Collection default theme */\n\n._2Ys25aFCIH7ZWp76lcHbjs {\n}\n\n._1wpSOFYFr7x9PMM0KcYTxm {\n}\n\n/* Grid default theme */\n\n._2SUC15-WVgF4XhvHuU81GS {\n}\n\n._3q1PBGJ8fGciELoHlm7I3C {\n}\n\n/* Table default theme */\n\n._1yPBpbwEbdtD7UxLvhZhM {\n}\n\n._1itUjAnMCYR-25x1rmTdtF {\n}\n\n._33g8s-zht4xwLlXSWWWwa3 {\n font-weight: 700;\n text-transform: uppercase;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n._3ZiV_g6aRjm62hwIWbJU38 {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n\n._3eKreK7WxwxtZyKjYLiygd {\n display: inline-block;\n max-width: 100%;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n._19Z4wAfIa_DTwtOUYjz8t,\n._2TseG-JCD0K5o_VT5VIN_w {\n margin-right: 10px;\n min-width: 0px;\n}\n._2TseG-JCD0K5o_VT5VIN_w {\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n._19Z4wAfIa_DTwtOUYjz8t:first-of-type,\n._2TseG-JCD0K5o_VT5VIN_w:first-of-type {\n margin-left: 10px;\n}\n._1RR8EsDxozD7xvl8boaBiB {\n cursor: pointer;\n}\n\n._1u1DZQe3YaUugu3cLrtqng {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n._15mdGqvC02VcdkTaoIuS06 {\n -webkit-box-flex: 0;\n -ms-flex: 0 0 24px;\n flex: 0 0 24px;\n height: 1em;\n width: 1em;\n fill: currentColor;\n}\n\n/* List default theme */\n\n._3HeSXQaspPzpYJlLHQlyit {\n}",""]),t.locals={ReactVirtualized__Collection:"_2Ys25aFCIH7ZWp76lcHbjs",ReactVirtualized__Collection__innerScrollContainer:"_1wpSOFYFr7x9PMM0KcYTxm",ReactVirtualized__Grid:"_2SUC15-WVgF4XhvHuU81GS",ReactVirtualized__Grid__innerScrollContainer:"_3q1PBGJ8fGciELoHlm7I3C",ReactVirtualized__Table:"_1yPBpbwEbdtD7UxLvhZhM",ReactVirtualized__Table__Grid:"_1itUjAnMCYR-25x1rmTdtF",ReactVirtualized__Table__headerRow:"_33g8s-zht4xwLlXSWWWwa3",ReactVirtualized__Table__row:"_3ZiV_g6aRjm62hwIWbJU38",ReactVirtualized__Table__headerTruncatedText:"_3eKreK7WxwxtZyKjYLiygd",ReactVirtualized__Table__headerColumn:"_19Z4wAfIa_DTwtOUYjz8t",ReactVirtualized__Table__rowColumn:"_2TseG-JCD0K5o_VT5VIN_w",ReactVirtualized__Table__sortableHeaderColumn:"_1RR8EsDxozD7xvl8boaBiB",ReactVirtualized__Table__sortableHeaderIconContainer:"_1u1DZQe3YaUugu3cLrtqng",ReactVirtualized__Table__sortableHeaderIcon:"_15mdGqvC02VcdkTaoIuS06",ReactVirtualized__List:"_3HeSXQaspPzpYJlLHQlyit"}},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var o,i=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(i)?e:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")}))}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(1),c=r(l),u=r(n(2)),d=r(n(16)),f=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),s(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.listIndex,r=e.swapFrom,o=e.swapLength,i=e.swapDepth,s=e.scaffoldBlockPxWidth,u=e.lowerSiblingCounts,f=e.connectDropTarget,p=e.isOver,h=e.draggedNode,v=e.canDrop,g=e.treeIndex,m=(e.treeId,e.getPrevRow,e.node,e.path,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","listIndex","swapFrom","swapLength","swapDepth","scaffoldBlockPxWidth","lowerSiblingCounts","connectDropTarget","isOver","draggedNode","canDrop","treeIndex","treeId","getPrevRow","node","path"])),y=u.length,b=[];return u.forEach((function(e,t){var a,l="";e>0?l=0===n?d.default.lineHalfHorizontalRight+" "+d.default.lineHalfVerticalBottom:t===y-1?d.default.lineHalfHorizontalRight+" "+d.default.lineFullVertical:d.default.lineFullVertical:0===n?l=d.default.lineHalfHorizontalRight:t===y-1&&(l=d.default.lineHalfVerticalTop+" "+d.default.lineHalfHorizontalRight),b.push(c.default.createElement("div",{key:"pre_"+(1+t),style:{width:s},className:d.default.lineBlock+" "+l})),g!==n&&t===i&&(a=n===r+o-1?d.default.highlightBottomLeftCorner:g===r?d.default.highlightTopLeftCorner:d.default.highlightLineVertical,b.push(c.default.createElement("div",{key:t,style:{width:s,left:s*t},className:d.default.absoluteLineBlock+" "+a})))})),f(c.default.createElement("div",a({},m,{className:d.default.node}),b,c.default.createElement("div",{className:d.default.nodeContent,style:{left:s*y}},l.Children.map(t,(function(e){return(0,l.cloneElement)(e,{isOver:p,canDrop:v,draggedNode:h})})))))}}]),t}(l.Component);f.defaultProps={swapFrom:null,swapDepth:null,swapLength:null,canDrop:!1,draggedNode:null},f.propTypes={treeIndex:u.default.number.isRequired,treeId:u.default.string.isRequired,swapFrom:u.default.number,swapDepth:u.default.number,swapLength:u.default.number,scaffoldBlockPxWidth:u.default.number.isRequired,lowerSiblingCounts:u.default.arrayOf(u.default.number).isRequired,listIndex:u.default.number.isRequired,children:u.default.node.isRequired,connectDropTarget:u.default.func.isRequired,isOver:u.default.bool.isRequired,canDrop:u.default.bool,draggedNode:u.default.shape({}),getPrevRow:u.default.func.isRequired,node:u.default.shape({}).isRequired,path:u.default.arrayOf(u.default.oneOfType([u.default.string,u.default.number])).isRequired},t.default=f},function(e,t,n){var r=n(17);"string"==typeof r&&(r=[[e.i,r,""]]);n(4)(r,{insertAt:"top",hmr:!0,transform:void 0}),r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(3)(!1)).push([e.i,".rst__node {\n min-width: 100%;\n white-space: nowrap;\n position: relative;\n text-align: left; }\n\n.rst__nodeContent {\n position: absolute;\n top: 0;\n bottom: 0; }\n\n/* ==========================================================================\n Scaffold\n\n Line-overlaid blocks used for showing the tree structure\n ========================================================================== */\n.rst__lineBlock, .rst__absoluteLineBlock {\n height: 100%;\n position: relative;\n display: inline-block; }\n\n.rst__absoluteLineBlock {\n position: absolute;\n top: 0; }\n\n.rst__lineHalfHorizontalRight::before, .rst__lineFullVertical::after, .rst__lineHalfVerticalTop::after, .rst__lineHalfVerticalBottom::after {\n position: absolute;\n content: '';\n background-color: black; }\n\n/**\n * +-----+\n * | |\n * | +--+\n * | |\n * +-----+\n */\n.rst__lineHalfHorizontalRight::before {\n height: 1px;\n top: 50%;\n right: 0;\n width: 50%; }\n\n/**\n * +--+--+\n * | | |\n * | | |\n * | | |\n * +--+--+\n */\n.rst__lineFullVertical::after, .rst__lineHalfVerticalTop::after, .rst__lineHalfVerticalBottom::after {\n width: 1px;\n left: 50%;\n top: 0;\n height: 100%; }\n\n/**\n * +-----+\n * | | |\n * | + |\n * | |\n * +-----+\n */\n.rst__lineHalfVerticalTop::after, .rst__lineHalfVerticalBottom::after {\n top: 0;\n height: 50%; }\n\n/**\n * +-----+\n * | |\n * | + |\n * | | |\n * +-----+\n */\n.rst__lineHalfVerticalBottom::after {\n top: auto;\n bottom: 0; }\n\n/* Highlight line for pointing to dragged row destination\n ========================================================================== */\n/**\n * +--+--+\n * | | |\n * | | |\n * | | |\n * +--+--+\n */\n.rst__highlightLineVertical {\n z-index: 3; }\n .rst__highlightLineVertical::before {\n position: absolute;\n content: '';\n background-color: #36c2f6;\n width: 8px;\n margin-left: -4px;\n left: 50%;\n top: 0;\n height: 100%; }\n\n@-webkit-keyframes rst__arrow-pulse {\n 0% {\n -webkit-transform: translate(0, 0);\n transform: translate(0, 0);\n opacity: 0; }\n 30% {\n -webkit-transform: translate(0, 300%);\n transform: translate(0, 300%);\n opacity: 1; }\n 70% {\n -webkit-transform: translate(0, 700%);\n transform: translate(0, 700%);\n opacity: 1; }\n 100% {\n -webkit-transform: translate(0, 1000%);\n transform: translate(0, 1000%);\n opacity: 0; } }\n\n@keyframes rst__arrow-pulse {\n 0% {\n -webkit-transform: translate(0, 0);\n transform: translate(0, 0);\n opacity: 0; }\n 30% {\n -webkit-transform: translate(0, 300%);\n transform: translate(0, 300%);\n opacity: 1; }\n 70% {\n -webkit-transform: translate(0, 700%);\n transform: translate(0, 700%);\n opacity: 1; }\n 100% {\n -webkit-transform: translate(0, 1000%);\n transform: translate(0, 1000%);\n opacity: 0; } }\n .rst__highlightLineVertical::after {\n content: '';\n position: absolute;\n height: 0;\n margin-left: -4px;\n left: 50%;\n top: 0;\n border-left: 4px solid transparent;\n border-right: 4px solid transparent;\n border-top: 4px solid white;\n -webkit-animation: rst__arrow-pulse 1s infinite linear both;\n animation: rst__arrow-pulse 1s infinite linear both; }\n\n/**\n * +-----+\n * | |\n * | +--+\n * | | |\n * +--+--+\n */\n.rst__highlightTopLeftCorner::before {\n z-index: 3;\n content: '';\n position: absolute;\n border-top: solid 8px #36c2f6;\n border-left: solid 8px #36c2f6;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n height: calc(50% + 4px);\n top: 50%;\n margin-top: -4px;\n right: 0;\n width: calc(50% + 4px); }\n\n/**\n * +--+--+\n * | | |\n * | | |\n * | +->|\n * +-----+\n */\n.rst__highlightBottomLeftCorner {\n z-index: 3; }\n .rst__highlightBottomLeftCorner::before {\n content: '';\n position: absolute;\n border-bottom: solid 8px #36c2f6;\n border-left: solid 8px #36c2f6;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n height: calc(100% + 4px);\n top: 0;\n right: 12px;\n width: calc(50% - 8px); }\n .rst__highlightBottomLeftCorner::after {\n content: '';\n position: absolute;\n height: 0;\n right: 0;\n top: 100%;\n margin-top: -12px;\n border-top: 12px solid transparent;\n border-bottom: 12px solid transparent;\n border-left: 12px solid #36c2f6; }\n",""]),t.locals={node:"rst__node",nodeContent:"rst__nodeContent",lineBlock:"rst__lineBlock",absoluteLineBlock:"rst__absoluteLineBlock",lineHalfHorizontalRight:"rst__lineHalfHorizontalRight",lineFullVertical:"rst__lineFullVertical",lineHalfVerticalTop:"rst__lineHalfVerticalTop",lineHalfVerticalBottom:"rst__lineHalfVerticalBottom",highlightLineVertical:"rst__highlightLineVertical","arrow-pulse":"rst__arrow-pulse",highlightTopLeftCorner:"rst__highlightTopLeftCorner",highlightBottomLeftCorner:"rst__highlightBottomLeftCorner"}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(1),c=r(l),u=r(n(2)),d=n(19),f=r(n(20)),p=n(0),h=f.default;d.getIEVersion<10&&(h=s({},f.default,{row:h.row+" "+h.row_NoFlex,rowContents:h.rowContents+" "+h.rowContents_NoFlex,rowLabel:h.rowLabel+" "+h.rowLabel_NoFlex,rowToolbar:h.rowToolbar+" "+h.rowToolbar_NoFlex}));var v=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"render",value:function(){var e=this.props,t=e.scaffoldBlockPxWidth,n=e.toggleChildrenVisibility,r=e.connectDragPreview,o=e.connectDragSource,i=e.isDragging,a=e.canDrop,l=e.canDrag,u=e.node,d=e.title,f=e.subtitle,v=e.draggedNode,g=e.path,m=e.treeIndex,y=e.isSearchMatch,b=e.isSearchFocus,_=e.buttons,w=e.className,S=e.style,C=e.didDrop,O=(e.treeId,e.isOver,e.parentNode,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["scaffoldBlockPxWidth","toggleChildrenVisibility","connectDragPreview","connectDragSource","isDragging","canDrop","canDrag","node","title","subtitle","draggedNode","path","treeIndex","isSearchMatch","isSearchFocus","buttons","className","style","didDrop","treeId","isOver","parentNode"])),x=d||u.title,T=f||u.subtitle,k=void 0;l&&(k="function"==typeof u.children&&u.expanded?c.default.createElement("div",{className:h.loadingHandle},c.default.createElement("div",{className:h.loadingCircle},c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}),c.default.createElement("div",{className:h.loadingCirclePoint}))):o(c.default.createElement("div",{className:h.moveHandle}),{dropEffect:"copy"}));var D=v&&(0,p.isDescendant)(v,u),E=!C&&i;return c.default.createElement("div",s({style:{height:"100%"}},O),n&&u.children&&(u.children.length>0||"function"==typeof u.children)&&c.default.createElement("div",null,c.default.createElement("button",{type:"button","aria-label":u.expanded?"Collapse":"Expand",className:u.expanded?h.collapseButton:h.expandButton,style:{left:-.5*t},onClick:function(){return n({node:u,path:g,treeIndex:m})}}),u.expanded&&!i&&c.default.createElement("div",{style:{width:t},className:h.lineChildren})),c.default.createElement("div",{className:h.rowWrapper},r(c.default.createElement("div",{className:h.row+(E?" "+h.rowLandingPad:"")+(E&&!a?" "+h.rowCancelPad:"")+(y?" "+h.rowSearchMatch:"")+(b?" "+h.rowSearchFocus:"")+(w?" "+w:""),style:s({opacity:D?.5:1},S)},k,c.default.createElement("div",{className:h.rowContents+(l?"":" "+h.rowContentsDragDisabled)},c.default.createElement("div",{className:h.rowLabel},c.default.createElement("span",{className:h.rowTitle+(u.subtitle?" "+h.rowTitleWithSubtitle:"")},"function"==typeof x?x({node:u,path:g,treeIndex:m}):x),T&&c.default.createElement("span",{className:h.rowSubtitle},"function"==typeof T?T({node:u,path:g,treeIndex:m}):T)),c.default.createElement("div",{className:h.rowToolbar},_.map((function(e,t){return c.default.createElement("div",{key:t,className:h.toolbarButton},e)}))))))))}}]),t}(l.Component);v.defaultProps={isSearchMatch:!1,isSearchFocus:!1,canDrag:!1,toggleChildrenVisibility:null,buttons:[],className:"",style:{},parentNode:null,draggedNode:null,canDrop:!1,title:null,subtitle:null},v.propTypes={node:u.default.shape({}).isRequired,title:u.default.oneOfType([u.default.func,u.default.node]),subtitle:u.default.oneOfType([u.default.func,u.default.node]),path:u.default.arrayOf(u.default.oneOfType([u.default.string,u.default.number])).isRequired,treeIndex:u.default.number.isRequired,treeId:u.default.string.isRequired,isSearchMatch:u.default.bool,isSearchFocus:u.default.bool,canDrag:u.default.bool,scaffoldBlockPxWidth:u.default.number.isRequired,toggleChildrenVisibility:u.default.func,buttons:u.default.arrayOf(u.default.node),className:u.default.string,style:u.default.shape({}),connectDragPreview:u.default.func.isRequired,connectDragSource:u.default.func.isRequired,parentNode:u.default.shape({}),isDragging:u.default.bool.isRequired,didDrop:u.default.bool.isRequired,draggedNode:u.default.shape({}),isOver:u.default.bool.isRequired,canDrop:u.default.bool},t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIEVersion=function(){var e=navigator.userAgent.match(/(?:MSIE |Trident\/.*; rv:)(\d+)/);return e?parseInt(e[1],10):void 0}},function(e,t,n){var r=n(21);"string"==typeof r&&(r=[[e.i,r,""]]);n(4)(r,{insertAt:"top",hmr:!0,transform:void 0}),r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(3)(!1)).push([e.i,".rst__rowWrapper {\n padding: 10px 10px 10px 0;\n height: 100%;\n -webkit-box-sizing: border-box;\n box-sizing: border-box; }\n\n.rst__row {\n height: 100%;\n white-space: nowrap;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex; }\n .rst__row > * {\n -webkit-box-sizing: border-box;\n box-sizing: border-box; }\n\n/**\n * The outline of where the element will go if dropped, displayed while dragging\n */\n.rst__rowLandingPad, .rst__rowCancelPad {\n border: none !important;\n -webkit-box-shadow: none !important;\n box-shadow: none !important;\n outline: none !important; }\n .rst__rowLandingPad > *, .rst__rowCancelPad > * {\n opacity: 0 !important; }\n .rst__rowLandingPad::before, .rst__rowCancelPad::before {\n background-color: lightblue;\n border: 3px dashed white;\n content: '';\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: -1; }\n\n/**\n * Alternate appearance of the landing pad when the dragged location is invalid\n */\n.rst__rowCancelPad::before {\n background-color: #e6a8ad; }\n\n/**\n * Nodes matching the search conditions are highlighted\n */\n.rst__rowSearchMatch {\n outline: solid 3px #0080ff; }\n\n/**\n * The node that matches the search conditions and is currently focused\n */\n.rst__rowSearchFocus {\n outline: solid 3px #fc6421; }\n\n.rst__rowContents, .rst__rowLabel, .rst__rowToolbar, .rst__moveHandle, .rst__loadingHandle, .rst__toolbarButton, .rst__rowLabel_NoFlex, .rst__rowToolbar_NoFlex {\n display: inline-block;\n vertical-align: middle; }\n\n.rst__rowContents {\n position: relative;\n height: 100%;\n border: solid #bbb 1px;\n border-left: none;\n -webkit-box-shadow: 0 2px 2px -2px;\n box-shadow: 0 2px 2px -2px;\n padding: 0 5px 0 10px;\n border-radius: 2px;\n min-width: 230px;\n -webkit-box-flex: 1;\n -ms-flex: 1 0 auto;\n flex: 1 0 auto;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n background-color: white; }\n\n.rst__rowContentsDragDisabled {\n border-left: solid #bbb 1px; }\n\n.rst__rowLabel {\n -webkit-box-flex: 0;\n -ms-flex: 0 1 auto;\n flex: 0 1 auto;\n padding-right: 20px; }\n\n.rst__rowToolbar {\n -webkit-box-flex: 0;\n -ms-flex: 0 1 auto;\n flex: 0 1 auto;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex; }\n\n.rst__moveHandle, .rst__loadingHandle {\n height: 100%;\n width: 44px;\n background: #d9d9d9 url(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MiIgaGVpZ2h0PSI0MiI+PGcgc3Ryb2tlPSIjRkZGIiBzdHJva2Utd2lkdGg9IjIuOSIgPjxwYXRoIGQ9Ik0xNCAxNS43aDE0LjQiLz48cGF0aCBkPSJNMTQgMjEuNGgxNC40Ii8+PHBhdGggZD0iTTE0IDI3LjFoMTQuNCIvPjwvZz4KPC9zdmc+\") no-repeat center;\n border: solid #aaa 1px;\n -webkit-box-shadow: 0 2px 2px -2px;\n box-shadow: 0 2px 2px -2px;\n cursor: move;\n border-radius: 1px;\n z-index: 1; }\n\n.rst__loadingHandle {\n cursor: default;\n background: #d9d9d9; }\n\n@-webkit-keyframes rst__pointFade {\n 0%,\n 19.999%,\n 100% {\n opacity: 0; }\n 20% {\n opacity: 1; } }\n\n@keyframes rst__pointFade {\n 0%,\n 19.999%,\n 100% {\n opacity: 0; }\n 20% {\n opacity: 1; } }\n\n.rst__loadingCircle {\n width: 80%;\n height: 80%;\n margin: 10%;\n position: relative; }\n\n.rst__loadingCirclePoint {\n width: 100%;\n height: 100%;\n position: absolute;\n left: 0;\n top: 0; }\n .rst__loadingCirclePoint:before {\n content: '';\n display: block;\n margin: 0 auto;\n width: 11%;\n height: 30%;\n background-color: #fff;\n border-radius: 30%;\n -webkit-animation: rst__pointFade 800ms infinite ease-in-out both;\n animation: rst__pointFade 800ms infinite ease-in-out both; }\n .rst__loadingCirclePoint:nth-of-type(1) {\n -webkit-transform: rotate(0deg);\n -ms-transform: rotate(0deg);\n transform: rotate(0deg); }\n .rst__loadingCirclePoint:nth-of-type(7) {\n -webkit-transform: rotate(180deg);\n -ms-transform: rotate(180deg);\n transform: rotate(180deg); }\n .rst__loadingCirclePoint:nth-of-type(1):before, .rst__loadingCirclePoint:nth-of-type(7):before {\n -webkit-animation-delay: -800ms;\n animation-delay: -800ms; }\n .rst__loadingCirclePoint:nth-of-type(2) {\n -webkit-transform: rotate(30deg);\n -ms-transform: rotate(30deg);\n transform: rotate(30deg); }\n .rst__loadingCirclePoint:nth-of-type(8) {\n -webkit-transform: rotate(210deg);\n -ms-transform: rotate(210deg);\n transform: rotate(210deg); }\n .rst__loadingCirclePoint:nth-of-type(2):before, .rst__loadingCirclePoint:nth-of-type(8):before {\n -webkit-animation-delay: -666.66667ms;\n animation-delay: -666.66667ms; }\n .rst__loadingCirclePoint:nth-of-type(3) {\n -webkit-transform: rotate(60deg);\n -ms-transform: rotate(60deg);\n transform: rotate(60deg); }\n .rst__loadingCirclePoint:nth-of-type(9) {\n -webkit-transform: rotate(240deg);\n -ms-transform: rotate(240deg);\n transform: rotate(240deg); }\n .rst__loadingCirclePoint:nth-of-type(3):before, .rst__loadingCirclePoint:nth-of-type(9):before {\n -webkit-animation-delay: -533.33333ms;\n animation-delay: -533.33333ms; }\n .rst__loadingCirclePoint:nth-of-type(4) {\n -webkit-transform: rotate(90deg);\n -ms-transform: rotate(90deg);\n transform: rotate(90deg); }\n .rst__loadingCirclePoint:nth-of-type(10) {\n -webkit-transform: rotate(270deg);\n -ms-transform: rotate(270deg);\n transform: rotate(270deg); }\n .rst__loadingCirclePoint:nth-of-type(4):before, .rst__loadingCirclePoint:nth-of-type(10):before {\n -webkit-animation-delay: -400ms;\n animation-delay: -400ms; }\n .rst__loadingCirclePoint:nth-of-type(5) {\n -webkit-transform: rotate(120deg);\n -ms-transform: rotate(120deg);\n transform: rotate(120deg); }\n .rst__loadingCirclePoint:nth-of-type(11) {\n -webkit-transform: rotate(300deg);\n -ms-transform: rotate(300deg);\n transform: rotate(300deg); }\n .rst__loadingCirclePoint:nth-of-type(5):before, .rst__loadingCirclePoint:nth-of-type(11):before {\n -webkit-animation-delay: -266.66667ms;\n animation-delay: -266.66667ms; }\n .rst__loadingCirclePoint:nth-of-type(6) {\n -webkit-transform: rotate(150deg);\n -ms-transform: rotate(150deg);\n transform: rotate(150deg); }\n .rst__loadingCirclePoint:nth-of-type(12) {\n -webkit-transform: rotate(330deg);\n -ms-transform: rotate(330deg);\n transform: rotate(330deg); }\n .rst__loadingCirclePoint:nth-of-type(6):before, .rst__loadingCirclePoint:nth-of-type(12):before {\n -webkit-animation-delay: -133.33333ms;\n animation-delay: -133.33333ms; }\n .rst__loadingCirclePoint:nth-of-type(7) {\n -webkit-transform: rotate(180deg);\n -ms-transform: rotate(180deg);\n transform: rotate(180deg); }\n .rst__loadingCirclePoint:nth-of-type(13) {\n -webkit-transform: rotate(360deg);\n -ms-transform: rotate(360deg);\n transform: rotate(360deg); }\n .rst__loadingCirclePoint:nth-of-type(7):before, .rst__loadingCirclePoint:nth-of-type(13):before {\n -webkit-animation-delay: 0ms;\n animation-delay: 0ms; }\n\n.rst__rowTitle {\n font-weight: bold; }\n\n.rst__rowTitleWithSubtitle {\n font-size: 85%;\n display: block;\n height: 0.8rem; }\n\n.rst__rowSubtitle {\n font-size: 70%;\n line-height: 1; }\n\n.rst__collapseButton,\n.rst__expandButton {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n border: none;\n position: absolute;\n border-radius: 100%;\n -webkit-box-shadow: 0 0 0 1px #000;\n box-shadow: 0 0 0 1px #000;\n width: 16px;\n height: 16px;\n padding: 0;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n -ms-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n cursor: pointer; }\n .rst__collapseButton:focus,\n .rst__expandButton:focus {\n outline: none;\n -webkit-box-shadow: 0 0 0 1px #000, 0 0 1px 3px #83bef9;\n box-shadow: 0 0 0 1px #000, 0 0 1px 3px #83bef9; }\n .rst__collapseButton:hover:not(:active),\n .rst__expandButton:hover:not(:active) {\n background-size: 24px;\n height: 20px;\n width: 20px; }\n\n.rst__collapseButton {\n background: #fff url(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCI+PGNpcmNsZSBjeD0iOSIgY3k9IjkiIHI9IjgiIGZpbGw9IiNGRkYiLz48ZyBzdHJva2U9IiM5ODk4OTgiIHN0cm9rZS13aWR0aD0iMS45IiA+PHBhdGggZD0iTTQuNSA5aDkiLz48L2c+Cjwvc3ZnPg==\") no-repeat center; }\n\n.rst__expandButton {\n background: #fff url(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCI+PGNpcmNsZSBjeD0iOSIgY3k9IjkiIHI9IjgiIGZpbGw9IiNGRkYiLz48ZyBzdHJva2U9IiM5ODk4OTgiIHN0cm9rZS13aWR0aD0iMS45IiA+PHBhdGggZD0iTTQuNSA5aDkiLz48cGF0aCBkPSJNOSA0LjV2OSIvPjwvZz4KPC9zdmc+\") no-repeat center; }\n\n/**\n * Classes for IE9 and below\n */\n.rst__row_NoFlex::before, .rst__rowContents_NoFlex::before {\n content: '';\n display: inline-block;\n vertical-align: middle;\n height: 100%; }\n\n.rst__rowContents_NoFlex {\n display: inline-block; }\n .rst__rowContents_NoFlex::after {\n content: '';\n display: inline-block;\n width: 100%; }\n\n.rst__rowLabel_NoFlex {\n width: 50%; }\n\n.rst__rowToolbar_NoFlex {\n text-align: right;\n width: 50%; }\n\n/**\n * Line for under a node with children\n */\n.rst__lineChildren {\n height: 100%;\n display: inline-block;\n position: absolute; }\n .rst__lineChildren::after {\n content: '';\n position: absolute;\n background-color: black;\n width: 1px;\n left: 50%;\n bottom: 0;\n height: 10px; }\n",""]),t.locals={rowWrapper:"rst__rowWrapper",row:"rst__row",rowLandingPad:"rst__rowLandingPad",rowCancelPad:"rst__rowCancelPad",rowSearchMatch:"rst__rowSearchMatch",rowSearchFocus:"rst__rowSearchFocus",rowContents:"rst__rowContents",rowLabel:"rst__rowLabel",rowToolbar:"rst__rowToolbar",moveHandle:"rst__moveHandle",loadingHandle:"rst__loadingHandle",toolbarButton:"rst__toolbarButton",rowLabel_NoFlex:"rst__rowLabel_NoFlex",rowToolbar_NoFlex:"rst__rowToolbar_NoFlex",rowContentsDragDisabled:"rst__rowContentsDragDisabled",loadingCircle:"rst__loadingCircle",loadingCirclePoint:"rst__loadingCirclePoint",pointFade:"rst__pointFade",rowTitle:"rst__rowTitle",rowTitleWithSubtitle:"rst__rowTitleWithSubtitle",rowSubtitle:"rst__rowSubtitle",collapseButton:"rst__collapseButton",expandButton:"rst__expandButton",row_NoFlex:"rst__row_NoFlex",rowContents_NoFlex:"rst__rowContents_NoFlex",lineChildren:"rst__lineChildren"}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(1),c=r(l),u=r(n(2)),d=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),s(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.connectDropTarget,r=(e.treeId,e.drop,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children","connectDropTarget","treeId","drop"]));return n(c.default.createElement("div",null,l.Children.map(t,(function(e){return(0,l.cloneElement)(e,a({},r))}))))}}]),t}(l.Component);d.defaultProps={canDrop:!1,draggedNode:null},d.propTypes={children:u.default.node.isRequired,connectDropTarget:u.default.func.isRequired,isOver:u.default.bool.isRequired,canDrop:u.default.bool,draggedNode:u.default.shape({}),treeId:u.default.string.isRequired,drop:u.default.func.isRequired},t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(1)),i=r(n(2)),a=r(n(24)),s=function(e){var t=e.isOver,n=e.canDrop;return o.default.createElement("div",{className:a.default.placeholder+(n?" "+a.default.placeholderLandingPad:"")+(n&&!t?" "+a.default.placeholderCancelPad:"")})};s.defaultProps={isOver:!1,canDrop:!1},s.propTypes={isOver:i.default.bool,canDrop:i.default.bool},t.default=s},function(e,t,n){var r=n(25);"string"==typeof r&&(r=[[e.i,r,""]]);n(4)(r,{insertAt:"top",hmr:!0,transform:void 0}),r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(3)(!1)).push([e.i,".rst__placeholder {\n position: relative;\n height: 68px;\n max-width: 300px;\n padding: 10px; }\n .rst__placeholder,\n .rst__placeholder > * {\n -webkit-box-sizing: border-box;\n box-sizing: border-box; }\n .rst__placeholder::before {\n border: 3px dashed #d9d9d9;\n content: '';\n position: absolute;\n top: 5px;\n right: 5px;\n bottom: 5px;\n left: 5px;\n z-index: -1; }\n\n/**\n * The outline of where the element will go if dropped, displayed while dragging\n */\n.rst__placeholderLandingPad, .rst__placeholderCancelPad {\n border: none !important;\n -webkit-box-shadow: none !important;\n box-shadow: none !important;\n outline: none !important; }\n .rst__placeholderLandingPad *, .rst__placeholderCancelPad * {\n opacity: 0 !important; }\n .rst__placeholderLandingPad::before, .rst__placeholderCancelPad::before {\n background-color: lightblue;\n border-color: white; }\n\n/**\n * Alternate appearance of the landing pad when the dragged location is invalid\n */\n.rst__placeholderCancelPad::before {\n background-color: #e6a8ad; }\n",""]),t.locals={placeholder:"rst__placeholder",placeholderLandingPad:"rst__placeholderLandingPad",placeholderCancelPad:"rst__placeholderCancelPad"}},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.slideRows=function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,i=[].concat(r(e.slice(0,t)),r(e.slice(t+o)));return[].concat(r(i.slice(0,n)),r(e.slice(t,t+o)),r(i.slice(n)))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(28),a=(r=n(29))&&r.__esModule?r:{default:r},s=n(30),l=n(0),c=n(6),u=function(){function e(t){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.treeRef=t}return o(e,[{key:"getTargetDepth",value:function(e,t,n){var r=0,o=e.getPrevRow();o&&(r=Math.min(o.path.length,e.path.length));var i=void 0,a=(t.getItem().path||[]).length;if(t.getItem().treeId!==this.treeId)if(a=0,n){var c=(0,s.findDOMNode)(n).getBoundingClientRect(),u=t.getSourceClientOffset().x-c.left;i=Math.round(u/e.scaffoldBlockPxWidth)}else i=e.path.length;else i=Math.round(t.getDifferenceFromInitialOffset().x/e.scaffoldBlockPxWidth);var d=Math.min(r,Math.max(0,a+i-1));if(void 0!==this.maxDepth&&null!==this.maxDepth){var f=t.getItem().node,p=(0,l.getDepth)(f);d=Math.max(0,Math.min(d,this.maxDepth-p-1))}return d}},{key:"canDrop",value:function(e,t){if(!t.isOver())return!1;var n=e.getPrevRow(),r=n?n.path:[],o=n?n.node:{},i=this.getTargetDepth(e,t,null);if(i>=r.length&&"function"==typeof o.children)return!1;if("function"==typeof this.customCanDrop){var a=t.getItem().node,s=(0,c.memoizedInsertNode)({treeData:this.treeData,newNode:a,depth:i,getNodeKey:this.getNodeKey,minimumTreeIndex:e.listIndex,expandParent:!0});return this.customCanDrop({node:a,prevPath:t.getItem().path,prevParent:t.getItem().parentNode,prevTreeIndex:t.getItem().treeIndex,nextPath:s.path,nextParent:s.parentNode,nextTreeIndex:s.treeIndex})}return!0}},{key:"wrapSource",value:function(e){var t=this,n={beginDrag:function(e){return t.startDrag(e),{node:e.node,parentNode:e.parentNode,path:e.path,treeIndex:e.treeIndex,treeId:e.treeId}},endDrag:function(e,n){t.endDrag(n.getDropResult())},isDragging:function(e,t){var n=t.getItem().node;return e.node===n}};return(0,i.DragSource)(this.dndType,n,(function(e,t){return{connectDragSource:e.dragSource(),connectDragPreview:e.dragPreview(),isDragging:t.isDragging(),didDrop:t.didDrop()}}))(e)}},{key:"wrapTarget",value:function(e){var t=this,n={drop:function(e,n,r){var o={node:n.getItem().node,path:n.getItem().path,treeIndex:n.getItem().treeIndex,treeId:t.treeId,minimumTreeIndex:e.treeIndex,depth:t.getTargetDepth(e,n,r)};return t.drop(o),o},hover:function(e,n,r){var o=t.getTargetDepth(e,n,r),i=n.getItem().node;(e.node!==i||o!==e.path.length-1)&&t.dragHover({node:i,path:n.getItem().path,minimumTreeIndex:e.listIndex,depth:o})},canDrop:this.canDrop.bind(this)};return(0,i.DropTarget)(this.dndType,n,(function(e,t){var n=t.getItem();return{connectDropTarget:e.dropTarget(),isOver:t.isOver(),canDrop:t.canDrop(),draggedNode:n?n.node:null}}))(e)}},{key:"wrapPlaceholder",value:function(e){var t=this,n={drop:function(e,n){var r=n.getItem(),o={node:r.node,path:r.path,treeIndex:r.treeIndex,treeId:t.treeId,minimumTreeIndex:0,depth:0};return t.drop(o),o}};return(0,i.DropTarget)(this.dndType,n,(function(e,t){var n=t.getItem();return{connectDropTarget:e.dropTarget(),isOver:t.isOver(),canDrop:t.canDrop(),draggedNode:n?n.node:null}}))(e)}},{key:"startDrag",get:function(){return this.treeRef.startDrag}},{key:"dragHover",get:function(){return this.treeRef.dragHover}},{key:"endDrag",get:function(){return this.treeRef.endDrag}},{key:"drop",get:function(){return this.treeRef.drop}},{key:"treeId",get:function(){return this.treeRef.treeId}},{key:"dndType",get:function(){return this.treeRef.dndType}},{key:"treeData",get:function(){return this.treeRef.state.draggingTreeData||this.treeRef.props.treeData}},{key:"getNodeKey",get:function(){return this.treeRef.props.getNodeKey}},{key:"customCanDrop",get:function(){return this.treeRef.props.canDrop}},{key:"maxDepth",get:function(){return this.treeRef.props.maxDepth}}],[{key:"wrapRoot",value:function(e){return(0,i.DragDropContext)(a.default)(e)}}]),e}();t.default=u},function(e,t){e.exports=n(279)},function(e,t){e.exports=n(293)},function(e,t){e.exports=n(11)},function(e,t,n){var r=n(32);"string"==typeof r&&(r=[[e.i,r,""]]);n(4)(r,{insertAt:"top",hmr:!0,transform:void 0}),r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(3)(!1)).push([e.i,"/**\n * The container holding the VirtualScroll\n */\n.rst__tree {\n /*! This comment keeps Sass from deleting the empty rule */ }\n\n/**\n * Extra class applied to VirtualScroll through className prop\n */\n.rst__virtualScrollOverride {\n overflow: auto !important; }\n .rst__virtualScrollOverride * {\n -webkit-box-sizing: border-box;\n box-sizing: border-box; }\n\n.ReactVirtualized__Grid__innerScrollContainer {\n overflow: visible !important; }\n\n.ReactVirtualized__Grid {\n outline: none; }\n",""]),t.locals={tree:"rst__tree",virtualScrollOverride:"rst__virtualScrollOverride"}}])},function(e,t,n){"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function o(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function i(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,a=null,s=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?s="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==s){var l=e.displayName||e.name,c="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+l+" uses "+c+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==a?"\n "+a:"")+(null!==s?"\n "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=o),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=i;var u=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;u.call(this,e,t,r)}}return e}n.r(t),n.d(t,"polyfill",(function(){return a})),r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0},function(e,t,n){"use strict";var r=n(0),o=n(309);if(void 0===r)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var i=(new r.Component).updater;e.exports=o(r.Component,r.isValidElement,i)},function(e,t,n){var r=n(72),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){var r=n(78),o=n(152),i=n(154);e.exports=function(e,t){return i(o(e,t,r),e+"")}},function(e,t,n){"use strict";var r={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i=Object.defineProperty,a=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,l=Object.getOwnPropertyDescriptor,c=Object.getPrototypeOf,u=c&&c(Object);e.exports=function e(t,n,d){if("string"!=typeof n){if(u){var f=c(n);f&&f!==u&&e(t,f,d)}var p=a(n);s&&(p=p.concat(s(n)));for(var h=0;h<p.length;++h){var v=p[h];if(!(r[v]||o[v]||d&&d[v])){var g=l(n,v);try{i(t,v,g)}catch(e){}}}return t}return t}},function(e,t,n){var r=n(48),o=n(114),i=n(115),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.END_DRAG=t.DROP=t.HOVER=t.PUBLISH_DRAG_SOURCE=t.BEGIN_DRAG=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.beginDrag=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{publishSource:!0,clientOffset:null},n=t.publishSource,r=t.clientOffset,s=t.getSourceClientOffset;(0,o.default)((0,i.default)(e),"Expected sourceIds to be an array.");var l=this.getMonitor(),u=this.getRegistry();(0,o.default)(!l.isDragging(),"Cannot call beginDrag while dragging.");for(var d=0;d<e.length;d++)(0,o.default)(u.getSource(e[d]),"Expected sourceIds to be registered.");for(var f=null,p=e.length-1;p>=0;p--)if(l.canDragSource(e[p])){f=e[p];break}if(null!==f){var h=null;r&&((0,o.default)("function"==typeof s,"When clientOffset is provided, getSourceClientOffset must be a function."),h=s(f));var v=u.getSource(f),g=v.beginDrag(l,f);(0,o.default)((0,a.default)(g),"Item must be an object."),u.pinSource(f);var m=u.getSourceType(f);return{type:c,itemType:m,item:g,sourceId:f,clientOffset:r,sourceClientOffset:h,isSourcePublic:n}}},t.publishDragSource=function(){if(this.getMonitor().isDragging())return{type:u}},t.hover=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.clientOffset,r=void 0===n?null:n;(0,o.default)((0,i.default)(e),"Expected targetIds to be an array.");var a=e.slice(0),l=this.getMonitor(),c=this.getRegistry();(0,o.default)(l.isDragging(),"Cannot call hover while not dragging."),(0,o.default)(!l.didDrop(),"Cannot call hover after drop.");for(var u=0;u<a.length;u++){var f=a[u];(0,o.default)(a.lastIndexOf(f)===u,"Expected targetIds to be unique in the passed array.");var p=c.getTarget(f);(0,o.default)(p,"Expected targetIds to be registered.")}for(var h=l.getItemType(),v=a.length-1;v>=0;v--){var g=a[v],m=c.getTargetType(g);(0,s.default)(m,h)||a.splice(v,1)}for(var y=0;y<a.length;y++){var b=a[y],_=c.getTarget(b);_.hover(l,b)}return{type:d,targetIds:a,clientOffset:r}},t.drop=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.getMonitor(),i=this.getRegistry();(0,o.default)(n.isDragging(),"Cannot call drop while not dragging."),(0,o.default)(!n.didDrop(),"Cannot call drop twice during one drag operation.");var s=n.getTargetIds().filter(n.canDropOnTarget,n);s.reverse(),s.forEach((function(s,l){var c=i.getTarget(s).drop(n,s);(0,o.default)(void 0===c||(0,a.default)(c),"Drop result must either be an object or undefined."),void 0===c&&(c=0===l?{}:n.getDropResult()),e.store.dispatch({type:f,dropResult:r({},t,c)})}))},t.endDrag=function(){var e=this.getMonitor(),t=this.getRegistry();(0,o.default)(e.isDragging(),"Cannot call endDrag while not dragging.");var n=e.getSourceId();return t.getSource(n,!0).endDrag(e,n),t.unpinSource(),{type:p}};var o=l(n(12)),i=l(n(19)),a=l(n(28)),s=l(n(74));function l(e){return e&&e.__esModule?e:{default:e}}var c=t.BEGIN_DRAG="dnd-core/BEGIN_DRAG",u=t.PUBLISH_DRAG_SOURCE="dnd-core/PUBLISH_DRAG_SOURCE",d=t.HOVER="dnd-core/HOVER",f=t.DROP="dnd-core/DROP",p=t.END_DRAG="dnd-core/END_DRAG"},function(e,t,n){var r=n(34)(Object,"create");e.exports=r},function(e,t,n){var r=n(125),o=n(129);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},function(e,t,n){var r=n(50);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(142);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var r=n(56),o=n(27);e.exports=function(e){return o(e)&&r(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addSource=function(e){return{type:r,sourceId:e}},t.addTarget=function(e){return{type:o,targetId:e}},t.removeSource=function(e){return{type:i,sourceId:e}},t.removeTarget=function(e){return{type:a,targetId:e}};var r=t.ADD_SOURCE="dnd-core/ADD_SOURCE",o=t.ADD_TARGET="dnd-core/ADD_TARGET",i=t.REMOVE_SOURCE="dnd-core/REMOVE_SOURCE",a=t.REMOVE_TARGET="dnd-core/REMOVE_TARGET"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.create=t.connect=t.Provider=void 0;var r=a(n(310)),o=a(n(311)),i=a(n(313));function a(e){return e&&e.__esModule?e:{default:e}}t.Provider=r.default,t.connect=o.default,t.create=i.default},function(e,t,n){var r=n(266);e.exports=function(e,t){if(null==e)return{};var n,o,i=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},function(e,t,n){e.exports=!n(94)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(71);Object.defineProperty(t,"DragDropContext",{enumerable:!0,get:function(){return l(r).default}});var o=n(180);Object.defineProperty(t,"DragDropContextProvider",{enumerable:!0,get:function(){return l(o).default}});var i=n(181);Object.defineProperty(t,"DragLayer",{enumerable:!0,get:function(){return l(i).default}});var a=n(182);Object.defineProperty(t,"DragSource",{enumerable:!0,get:function(){return l(a).default}});var s=n(191);function l(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"DropTarget",{enumerable:!0,get:function(){return l(s).default}})},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)){if(r.length){var a=o.apply(null,r);a&&e.push(a)}}else if("object"===i)if(r.toString===Object.prototype.toString)for(var s in r)n.call(r,s)&&r[s]&&e.push(s);else e.push(r.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,n(t,r)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(25).Symbol;e.exports=r},function(e,t,n){var r=n(76),o=n(146),i=n(147);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var r=n(148);e.exports=function(e,t){return!(null==e||!e.length)&&r(e,t,0)>-1}},function(e,t){e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,n){var r=n(77),o=n(79);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e===t)return!0;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty,i=0;i<n.length;i+=1){if(!o.call(t,n[i])||e[n[i]]!==t[n[i]])return!1;if(e[n[i]]!==t[n[i]])return!1}return!0}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return Boolean(e&&"function"==typeof e.dispose)},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FILE="__NATIVE_FILE__",t.URL="__NATIVE_URL__",t.TEXT="__NATIVE_TEXT__"},function(e,t,n){var r=n(93),o=n(240),i=n(217),a=Object.defineProperty;t.f=n(44)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){},function(e,t,n){var r=n(75),o=n(29),i=n(37),a=o((function(e,t){return i(e)?r(e,t):[]}));e.exports=a},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){var r=n(42),o=n(43),i=n(239),a=n(66),s=n(61),l=function(e,t,n){var c,u,d,f=e&l.F,p=e&l.G,h=e&l.S,v=e&l.P,g=e&l.B,m=e&l.W,y=p?o:o[t]||(o[t]={}),b=y.prototype,_=p?r:h?r[t]:(r[t]||{}).prototype;for(c in p&&(n=t),n)(u=!f&&_&&void 0!==_[c])&&s(y,c)||(d=u?_[c]:n[c],y[c]=p&&"function"!=typeof _[c]?n[c]:g&&u?i(d,r):m&&_[c]==d?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(d):v&&"function"==typeof d?i(Function.call,d):d,v&&((y.virtual||(y.virtual={}))[c]=d,e&l.R&&b&&!b[c]&&a(b,c,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){var r=n(60),o=n(103);e.exports=n(44)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(243),o=n(218);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(221)("wks"),o=n(106),i=n(42).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},function(e,t,n){"use strict";t.__esModule=!0;var r,o=(r=n(251))&&r.__esModule?r:{default:r};t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,o.default)(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unpackBackendForEs5Users=t.createChildContext=t.CHILD_CONTEXT_TYPES=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e){f.default.apply(void 0,["DragDropContext","backend"].concat(Array.prototype.slice.call(arguments)));var t=b(e),n=y(t);return function(e){var t,i,l=e.displayName||e.name||"Component",c=(i=t=function(t){function i(){return h(this,i),v(this,(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments))}return g(i,t),o(i,[{key:"getDecoratedComponentInstance",value:function(){return(0,u.default)(this.child,"In order to access an instance of the decorated component it can not be a stateless component."),this.child}},{key:"getManager",value:function(){return n.dragDropManager}},{key:"getChildContext",value:function(){return n}},{key:"render",value:function(){var t=this;return s.default.createElement(e,r({},this.props,{ref:function(e){t.child=e}}))}}]),i}(a.Component),t.DecoratedComponent=e,t.displayName="DragDropContext("+l+")",t.childContextTypes=m,i);return(0,d.default)(c,e)}};var a=n(0),s=p(a),l=p(n(1)),c=n(97),u=p(n(12)),d=p(n(30)),f=p(n(39));function p(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function g(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var m=t.CHILD_CONTEXT_TYPES={dragDropManager:l.default.object.isRequired},y=t.createChildContext=function(e,t){return{dragDropManager:new c.DragDropManager(e,t)}},b=t.unpackBackendForEs5Users=function(e){var t=e;return"object"===(void 0===t?"undefined":i(t))&&"function"==typeof t.default&&(t=t.default),(0,u.default)("function"==typeof t,"Expected the backend to be a function or an ES6 module exporting a default function. Read more: http://react-dnd.github.io/react-dnd/docs-drag-drop-context.html"),t}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(26))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=arguments[1];switch(t.type){case o.BEGIN_DRAG:return{initialSourceClientOffset:t.sourceClientOffset,initialClientOffset:t.clientOffset,clientOffset:t.clientOffset};case o.HOVER:return a(e.clientOffset,t.clientOffset)?e:r({},e,{clientOffset:t.clientOffset});case o.END_DRAG:case o.DROP:return i;default:return e}},t.getSourceClientOffset=function(e){var t=e.clientOffset,n=e.initialClientOffset,r=e.initialSourceClientOffset;return t&&n&&r?{x:t.x+r.x-n.x,y:t.y+r.y-n.y}:null},t.getDifferenceFromInitialOffset=function(e){var t=e.clientOffset,n=e.initialClientOffset;return t&&n?{x:t.x-n.x,y:t.y-n.y}:null};var o=n(32),i={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function a(e,t){return e===t||e&&t&&e.x===t.x&&e.y===t.y}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e)?e.some((function(e){return e===t})):e===t};var r,o=(r=n(19))&&r.__esModule?r:{default:r}},function(e,t,n){var r=n(49),o=n(51),i=n(52),a=n(53),s=n(54),l=n(55);e.exports=function(e,t,n,c){var u=-1,d=o,f=!0,p=e.length,h=[],v=t.length;if(!p)return h;n&&(t=a(t,s(n))),c?(d=i,f=!1):t.length>=200&&(d=l,f=!1,t=new r(t));e:for(;++u<p;){var g=e[u],m=null==n?g:n(g);if(g=c||0!==g?g:0,f&&m==m){for(var y=v;y--;)if(t[y]===m)continue e;h.push(g)}else d(t,m,c)||h.push(g)}return h}},function(e,t,n){var r=n(122),o=n(141),i=n(143),a=n(144),s=n(145);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},function(e,t,n){var r=n(31),o=n(28);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t){e.exports=function(e){return e}},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments[1],t=arguments[2];switch(e.type){case i.HOVER:break;case a.ADD_SOURCE:case a.ADD_TARGET:case a.REMOVE_TARGET:case a.REMOVE_SOURCE:return l;case i.BEGIN_DRAG:case i.PUBLISH_DRAG_SOURCE:case i.END_DRAG:case i.DROP:default:return c}var n=e.targetIds,o=t.targetIds,s=(0,r.default)(n,o),u=!1;if(0===s.length){for(var d=0;d<n.length;d++)if(n[d]!==o[d]){u=!0;break}}else u=!0;if(!u)return l;var f=o[o.length-1],p=n[n.length-1];return f!==p&&(f&&s.push(f),p&&s.push(p)),s},t.areDirty=function(e,t){return e!==l&&(e===c||void 0===t||(0,o.default)(t,e).length>0)};var r=s(n(160)),o=s(n(168)),i=n(32),a=n(38);function s(e){return e&&e.__esModule?e:{default:e}}var l=[],c=[]},function(e,t,n){var r=n(163),o=n(164);e.exports=function e(t,n,i,a,s){var l=-1,c=t.length;for(i||(i=o),s||(s=[]);++l<c;){var u=t[l];n>0&&i(u)?n>1?e(u,n-1,i,a,s):r(s,u):a||(s[s.length]=u)}return s}},function(e,t,n){var r=n(165),o=n(27),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},function(e,t,n){var r=n(49),o=n(51),i=n(52),a=n(55),s=n(166),l=n(85);e.exports=function(e,t,n){var c=-1,u=o,d=e.length,f=!0,p=[],h=p;if(n)f=!1,u=i;else if(d>=200){var v=t?null:s(e);if(v)return l(v);f=!1,u=a,h=new r}else h=t?[]:p;e:for(;++c<d;){var g=e[c],m=t?t(g):g;if(g=n||0!==g?g:0,f&&m==m){for(var y=h.length;y--;)if(h[y]===m)continue e;t&&h.push(m),p.push(g)}else u(h,m,n)||(h!==p&&h.push(m),p.push(g))}return p}},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e,t){if(e===t)return!0;if("object"!==(void 0===e?"undefined":r(e))||null===e||"object"!==(void 0===t?"undefined":r(t))||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var i=Object.prototype.hasOwnProperty,a=0;a<n.length;a+=1){if(!i.call(t,n[a]))return!1;var s=e[n[a]],l=t[n[a]];if(s!==l||"object"===(void 0===s?"undefined":r(s))||"object"===(void 0===l?"undefined":r(l)))return!1}return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){var t,n,h=e.DecoratedComponent,g=e.createHandler,m=e.createMonitor,y=e.createConnector,b=e.registerHandler,_=e.containerDisplayName,w=e.getType,S=e.collect,C=e.options.arePropsEqual,O=void 0===C?p.default:C,x=h.displayName||h.name||"Component",T=(n=t=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.handleChange=r.handleChange.bind(r),r.handleChildRef=r.handleChildRef.bind(r),(0,u.default)("object"===o(r.context.dragDropManager),"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context",x,x),r.manager=r.context.dragDropManager,r.handlerMonitor=m(r.manager),r.handlerConnector=y(r.manager.getBackend()),r.handler=g(r.handlerMonitor),r.disposable=new c.SerialDisposable,r.receiveProps(e),r.state=r.getCurrentState(),r.dispose(),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"getHandlerId",value:function(){return this.handlerId}},{key:"getDecoratedComponentInstance",value:function(){return this.decoratedComponentInstance}},{key:"shouldComponentUpdate",value:function(e,t){return!O(e,this.props)||!(0,f.default)(t,this.state)}}]),i(t,[{key:"componentDidMount",value:function(){this.isCurrentlyMounted=!0,this.disposable=new c.SerialDisposable,this.currentType=null,this.receiveProps(this.props),this.handleChange()}},{key:"componentWillReceiveProps",value:function(e){O(e,this.props)||(this.receiveProps(e),this.handleChange())}},{key:"componentWillUnmount",value:function(){this.dispose(),this.isCurrentlyMounted=!1}},{key:"receiveProps",value:function(e){this.handler.receiveProps(e),this.receiveType(w(e))}},{key:"receiveType",value:function(e){if(e!==this.currentType){this.currentType=e;var t=b(e,this.handler,this.manager),n=t.handlerId,r=t.unregister;this.handlerId=n,this.handlerMonitor.receiveHandlerId(n),this.handlerConnector.receiveHandlerId(n);var o=this.manager.getMonitor().subscribeToStateChange(this.handleChange,{handlerIds:[n]});this.disposable.setDisposable(new c.CompositeDisposable(new c.Disposable(o),new c.Disposable(r)))}}},{key:"handleChange",value:function(){if(this.isCurrentlyMounted){var e=this.getCurrentState();(0,f.default)(e,this.state)||this.setState(e)}}},{key:"dispose",value:function(){this.disposable.dispose(),this.handlerConnector.receiveHandlerId(null)}},{key:"handleChildRef",value:function(e){this.decoratedComponentInstance=e,this.handler.receiveComponent(e)}},{key:"getCurrentState",value:function(){return S(this.handlerConnector.hooks,this.handlerMonitor)}},{key:"render",value:function(){return s.default.createElement(h,r({},this.props,this.state,{ref:v(h)?this.handleChildRef:null}))}}]),t}(a.Component),t.DecoratedComponent=h,t.displayName=_+"("+x+")",t.contextTypes={dragDropManager:l.default.object.isRequired},n);return(0,d.default)(T,h)};var a=n(0),s=h(a),l=h(n(1)),c=n(98),u=(h(n(15)),h(n(12))),d=h(n(30)),f=h(n(57)),p=h(n(86));function h(e){return e&&e.__esModule?e:{default:e}}var v=function(e){return Boolean(e&&e.prototype&&"function"==typeof e.prototype.render)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t={};return Object.keys(e).forEach((function(n){var r,s=(r=e[n],function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if((0,o.isValidElement)(e)){var n=e;a(n);var s=t?function(e){return r(e,t)}:r;return(0,i.default)(n,s)}var l=e;r(l,t)});t[n]=function(){return s}})),t};var r,o=n(0),i=(r=n(190))&&r.__esModule?r:{default:r};function a(e){if("string"!=typeof e.type){var t=e.type.displayName||e.type.name||"the component";throw new Error("Only native element nodes can now be passed to React DnD connectors.You can either wrap "+t+" into a <div>, or turn it into a drag source or a drop target itself.")}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return t===e||null!==t&&null!==e&&(0,o.default)(t,e)};var r,o=(r=n(57))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function e(t,n){return"string"==typeof t||"symbol"===(void 0===t?"undefined":r(t))||n&&(0,i.default)(t)&&t.every((function(t){return e(t,!1)}))};var o,i=(o=n(19))&&o.__esModule?o:{default:o}},function(e,t){var n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSafari=t.isFirefox=void 0;var r,o=(r=n(101))&&r.__esModule?r:{default:r};t.isFirefox=(0,o.default)((function(){return/firefox/i.test(navigator.userAgent)})),t.isSafari=(0,o.default)((function(){return Boolean(window.safari)}))},function(e,t,n){var r=n(67);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEmptyImage=t.NativeTypes=void 0,t.default=function(e){return new r.default(e)};var r=a(n(196)),o=a(n(214)),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(59));function a(e){return e&&e.__esModule?e:{default:e}}t.NativeTypes=i,t.getEmptyImage=o.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(112);Object.defineProperty(t,"DragDropManager",{enumerable:!0,get:function(){return s(r).default}});var o=n(177);Object.defineProperty(t,"DragSource",{enumerable:!0,get:function(){return s(o).default}});var i=n(178);Object.defineProperty(t,"DropTarget",{enumerable:!0,get:function(){return s(i).default}});var a=n(179);function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"createTestBackend",{enumerable:!0,get:function(){return s(a).default}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=r(n(58));t.isDisposable=o.default;var i=r(n(183));t.Disposable=i.default;var a=r(n(184));t.CompositeDisposable=a.default;var s=r(n(185));t.SerialDisposable=s.default},function(e,t,n){var r=n(29),o=n(50),i=n(197),a=n(198),s=Object.prototype,l=s.hasOwnProperty,c=r((function(e,t){e=Object(e);var n=-1,r=t.length,c=r>2?t[2]:void 0;for(c&&i(t[0],t[1],c)&&(r=1);++n<r;)for(var u=t[n],d=a(u),f=-1,p=d.length;++f<p;){var h=d[f],v=e[h];(void 0===v||o(v,s[h])&&!l.call(e,h))&&(e[h]=u[h])}return e}));e.exports=c},function(e,t,n){var r=n(81),o=n(29),i=n(83),a=n(37),s=o((function(e){return i(r(e,1,a,!0))}));e.exports=s},function(e,t,n){var r=n(76);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(242),o=n(222);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports=!0},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(314)),o=a(n(326)),i="function"==typeof o.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof o.default&&"symbol"===i(r.default)?function(e){return void 0===e?"undefined":i(e)}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":void 0===e?"undefined":i(e)}},function(e,t,n){"use strict";(function(e){function r(t,n){var r,o,i,a=void 0!==(r=void 0!==n?n:"undefined"!=typeof window?window:"undefined"!=typeof self?self:e).document&&r.document.attachEvent;if(!a){var s=(i=r.requestAnimationFrame||r.mozRequestAnimationFrame||r.webkitRequestAnimationFrame||function(e){return r.setTimeout(e,20)},function(e){return i(e)}),l=(o=r.cancelAnimationFrame||r.mozCancelAnimationFrame||r.webkitCancelAnimationFrame||r.clearTimeout,function(e){return o(e)}),c=function(e){var t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,o=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=n.offsetWidth+1+"px",o.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},u=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var t=this;c(this),this.__resizeRAF__&&l(this.__resizeRAF__),this.__resizeRAF__=s((function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(n){n.call(t,e)})))}))}},d=!1,f="",p="animationstart",h="Webkit Moz O ms".split(" "),v="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),g=r.document.createElement("fakeelement");if(void 0!==g.style.animationName&&(d=!0),!1===d)for(var m=0;m<h.length;m++)if(void 0!==g.style[h[m]+"AnimationName"]){f="-"+h[m].toLowerCase()+"-",p=v[m],d=!0;break}var y="resizeanim",b="@"+f+"keyframes "+y+" { from { opacity: 0; } to { opacity: 0; } } ",_=f+"animation: 1ms "+y+"; "}return{addResizeListener:function(e,n){if(a)e.attachEvent("onresize",n);else{if(!e.__resizeTriggers__){var o=e.ownerDocument,i=r.getComputedStyle(e);i&&"static"==i.position&&(e.style.position="relative"),function(e){if(!e.getElementById("detectElementResize")){var n=(b||"")+".resize-triggers { "+(_||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',r=e.head||e.getElementsByTagName("head")[0],o=e.createElement("style");o.id="detectElementResize",o.type="text/css",null!=t&&o.setAttribute("nonce",t),o.styleSheet?o.styleSheet.cssText=n:o.appendChild(e.createTextNode(n)),r.appendChild(o)}}(o),e.__resizeLast__={},e.__resizeListeners__=[],(e.__resizeTriggers__=o.createElement("div")).className="resize-triggers";var s='<div class="expand-trigger"><div></div></div><div class="contract-trigger"></div>';if(window.trustedTypes){var l=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return s}});e.__resizeTriggers__.innerHTML=l.createHTML("")}else e.__resizeTriggers__.innerHTML=s;e.appendChild(e.__resizeTriggers__),c(e),e.addEventListener("scroll",u,!0),p&&(e.__resizeTriggers__.__animationListener__=function(t){t.animationName==y&&c(e)},e.__resizeTriggers__.addEventListener(p,e.__resizeTriggers__.__animationListener__))}e.__resizeListeners__.push(n)}},removeResizeListener:function(e,t){if(a)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",u,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(p,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}n.d(t,"a",(function(){return r}))}).call(this,n(26))},function(e,t,n){"use strict";var r=n(111);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=l(n(113)),i=l(n(120)),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(32)),s=l(n(172));function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var u=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};c(this,e);var r=(0,o.default)(i.default);this.context=n,this.store=r,this.monitor=new s.default(r),this.registry=this.monitor.registry,this.backend=t(this),r.subscribe(this.handleRefCountChange.bind(this))}return r(e,[{key:"handleRefCountChange",value:function(){var e=this.store.getState().refCount>0;e&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!e&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1)}},{key:"getContext",value:function(){return this.context}},{key:"getMonitor",value:function(){return this.monitor}},{key:"getBackend",value:function(){return this.backend}},{key:"getRegistry",value:function(){return this.registry}},{key:"getActions",value:function(){var e=this,t=this.store.dispatch;return Object.keys(a).filter((function(e){return"function"==typeof a[e]})).reduce((function(n,r){var o,i=a[r];return n[r]=(o=i,function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];var a=o.apply(e,r);void 0!==a&&t(a)}),n}),{})}}]),e}();t.default=u},function(e,t,n){"use strict";t.__esModule=!0,t.ActionTypes=void 0,t.default=function e(t,n,i){var s;if("function"==typeof n&&void 0===i&&(i=n,n=void 0),void 0!==i){if("function"!=typeof i)throw new Error("Expected the enhancer to be a function.");return i(e)(t,n)}if("function"!=typeof t)throw new Error("Expected the reducer to be a function.");var l=t,c=n,u=[],d=u,f=!1;function p(){d===u&&(d=u.slice())}function h(){return c}function v(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var t=!0;return p(),d.push(e),function(){if(t){t=!1,p();var n=d.indexOf(e);d.splice(n,1)}}}function g(e){if(!(0,r.default)(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(f)throw new Error("Reducers may not dispatch actions.");try{f=!0,c=l(c,e)}finally{f=!1}for(var t=u=d,n=0;n<t.length;n++)(0,t[n])();return e}return g({type:a.INIT}),(s={dispatch:g,subscribe:v,getState:h,replaceReducer:function(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");l=e,g({type:a.INIT})}})[o.default]=function(){var e,t=v;return(e={subscribe:function(e){if("object"!=typeof e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(h())}return n(),{unsubscribe:t(n)}}})[o.default]=function(){return this},e},s};var r=i(n(15)),o=i(n(118));function i(e){return e&&e.__esModule?e:{default:e}}var a=t.ActionTypes={INIT:"@@redux/INIT"}},function(e,t,n){var r=n(48),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r=n(117)(Object.getPrototypeOf,Object);e.exports=r},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){"use strict";n.r(t),function(e,r){var o,i=n(95);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var a=Object(i.a)(o);t.default=a}.call(this,n(26),n(119)(e))},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];return{dirtyHandlerIds:(0,a.default)(e.dirtyHandlerIds,t,e.dragOperation),dragOffset:(0,r.default)(e.dragOffset,t),refCount:(0,i.default)(e.refCount,t),dragOperation:(0,o.default)(e.dragOperation,t),stateId:(0,s.default)(e.stateId)}};var r=l(n(73)),o=l(n(121)),i=l(n(159)),a=l(n(80)),s=l(n(171));function l(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,t=arguments[1];switch(t.type){case a.BEGIN_DRAG:return r({},e,{itemType:t.itemType,item:t.item,sourceId:t.sourceId,isSourcePublic:t.isSourcePublic,dropResult:null,didDrop:!1});case a.PUBLISH_DRAG_SOURCE:return r({},e,{isSourcePublic:!0});case a.HOVER:return r({},e,{targetIds:t.targetIds});case s.REMOVE_TARGET:return-1===e.targetIds.indexOf(t.targetId)?e:r({},e,{targetIds:(0,i.default)(e.targetIds,t.targetId)});case a.DROP:return r({},e,{dropResult:t.dropResult,didDrop:!0,targetIds:[]});case a.END_DRAG:return r({},e,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}};var o,i=(o=n(63))&&o.__esModule?o:{default:o},a=n(32),s=n(38),l={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null}},function(e,t,n){var r=n(123),o=n(134),i=n(140);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},function(e,t,n){var r=n(124),o=n(130),i=n(131),a=n(132),s=n(133);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},function(e,t,n){var r=n(33);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t,n){var r=n(77),o=n(126),i=n(28),a=n(128),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,f=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?f:s).test(a(e))}},function(e,t,n){var r,o=n(127),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},function(e,t,n){var r=n(25)["__core-js_shared__"];e.exports=r},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var r=n(33),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(33),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},function(e,t,n){var r=n(33);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t,n){var r=n(135),o=n(136),i=n(137),a=n(138),s=n(139);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(35),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():o.call(t,n,1),--this.size,0))}},function(e,t,n){var r=n(35);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(35);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(35);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},function(e,t,n){var r=n(34)(n(25),"Map");e.exports=r},function(e,t,n){var r=n(36);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(36);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(36);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(36);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(149),o=n(150),i=n(151);e.exports=function(e,t,n){return t==t?i(e,t,n):r(e,o,n)}},function(e,t){e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},function(e,t){e.exports=function(e){return e!=e}},function(e,t){e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},function(e,t,n){var r=n(153),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=o(i.length-t,0),l=Array(s);++a<s;)l[a]=i[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=i[a];return c[t]=n(l),r(e,this,c)}}},function(e,t){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},function(e,t,n){var r=n(155),o=n(158)(r);e.exports=o},function(e,t,n){var r=n(156),o=n(157),i=n(78),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},function(e,t){e.exports=function(e){return function(){return e}}},function(e,t,n){var r=n(34),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},function(e,t){var n=Date.now;e.exports=function(e){var t=0,r=0;return function(){var o=n(),i=16-(o-r);if(r=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments[1];switch(t.type){case r.ADD_SOURCE:case r.ADD_TARGET:return e+1;case r.REMOVE_SOURCE:case r.REMOVE_TARGET:return e-1;default:return e}};var r=n(38)},function(e,t,n){var r=n(161),o=n(29),i=n(162),a=n(37),s=o((function(e){return i(r(e,a))}));e.exports=s},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}},function(e,t,n){var r=n(75),o=n(81),i=n(83);e.exports=function(e,t,n){var a=e.length;if(a<2)return a?i(e[0]):[];for(var s=-1,l=Array(a);++s<a;)for(var c=e[s],u=-1;++u<a;)u!=s&&(l[s]=r(l[s]||c,e[u],t,n));return i(o(l,1),t,n)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},function(e,t,n){var r=n(48),o=n(82),i=n(19),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},function(e,t,n){var r=n(31),o=n(27);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},function(e,t,n){var r=n(167),o=n(84),i=n(85),a=r&&1/i(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=a},function(e,t,n){var r=n(34)(n(25),"Set");e.exports=r},function(e,t,n){var r=n(53),o=n(169),i=n(29),a=n(170),s=i((function(e){var t=r(e,a);return t.length&&t[0]===e[0]?o(t):[]}));e.exports=s},function(e,t,n){var r=n(49),o=n(51),i=n(52),a=n(53),s=n(54),l=n(55),c=Math.min;e.exports=function(e,t,n){for(var u=n?i:o,d=e[0].length,f=e.length,p=f,h=Array(f),v=1/0,g=[];p--;){var m=e[p];p&&t&&(m=a(m,s(t))),v=c(m.length,v),h[p]=!n&&(t||d>=120&&m.length>=120)?new r(p&&m):void 0}m=e[0];var y=-1,b=h[0];e:for(;++y<d&&g.length<v;){var _=m[y],w=t?t(_):_;if(_=n||0!==_?_:0,!(b?l(b,w):u(g,w,n))){for(p=f;--p;){var S=h[p];if(!(S?l(S,w):u(e[p],w,n)))continue e}b&&b.push(w),g.push(_)}}return g}},function(e,t,n){var r=n(37);e.exports=function(e){return r(e)?e:[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return e+1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=u(n(12)),i=u(n(19)),a=u(n(74)),s=u(n(173)),l=n(73),c=n(80);function u(e){return e&&e.__esModule?e:{default:e}}var d=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.store=t,this.registry=new s.default(t)}return r(e,[{key:"subscribeToStateChange",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.handlerIds;(0,o.default)("function"==typeof e,"listener must be a function."),(0,o.default)(void 0===r||(0,i.default)(r),"handlerIds, when specified, must be an array of strings.");var a=this.store.getState().stateId,s=function(){var n=t.store.getState(),o=n.stateId;try{o===a||o===a+1&&!(0,c.areDirty)(n.dirtyHandlerIds,r)||e()}finally{a=o}};return this.store.subscribe(s)}},{key:"subscribeToOffsetChange",value:function(e){var t=this;(0,o.default)("function"==typeof e,"listener must be a function.");var n=this.store.getState().dragOffset;return this.store.subscribe((function(){var r=t.store.getState().dragOffset;r!==n&&(n=r,e())}))}},{key:"canDragSource",value:function(e){var t=this.registry.getSource(e);return(0,o.default)(t,"Expected to find a valid source."),!this.isDragging()&&t.canDrag(this,e)}},{key:"canDropOnTarget",value:function(e){var t=this.registry.getTarget(e);if((0,o.default)(t,"Expected to find a valid target."),!this.isDragging()||this.didDrop())return!1;var n=this.registry.getTargetType(e),r=this.getItemType();return(0,a.default)(n,r)&&t.canDrop(this,e)}},{key:"isDragging",value:function(){return Boolean(this.getItemType())}},{key:"isDraggingSource",value:function(e){var t=this.registry.getSource(e,!0);return(0,o.default)(t,"Expected to find a valid source."),!(!this.isDragging()||!this.isSourcePublic())&&this.registry.getSourceType(e)===this.getItemType()&&t.isDragging(this,e)}},{key:"isOverTarget",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{shallow:!1},n=t.shallow;if(!this.isDragging())return!1;var r=this.registry.getTargetType(e),o=this.getItemType();if(!(0,a.default)(r,o))return!1;var i=this.getTargetIds();if(!i.length)return!1;var s=i.indexOf(e);return n?s===i.length-1:s>-1}},{key:"getItemType",value:function(){return this.store.getState().dragOperation.itemType}},{key:"getItem",value:function(){return this.store.getState().dragOperation.item}},{key:"getSourceId",value:function(){return this.store.getState().dragOperation.sourceId}},{key:"getTargetIds",value:function(){return this.store.getState().dragOperation.targetIds}},{key:"getDropResult",value:function(){return this.store.getState().dragOperation.dropResult}},{key:"didDrop",value:function(){return this.store.getState().dragOperation.didDrop}},{key:"isSourcePublic",value:function(){return this.store.getState().dragOperation.isSourcePublic}},{key:"getInitialClientOffset",value:function(){return this.store.getState().dragOffset.initialClientOffset}},{key:"getInitialSourceClientOffset",value:function(){return this.store.getState().dragOffset.initialSourceClientOffset}},{key:"getClientOffset",value:function(){return this.store.getState().dragOffset.clientOffset}},{key:"getSourceClientOffset",value:function(){return(0,l.getSourceClientOffset)(this.store.getState().dragOffset)}},{key:"getDifferenceFromInitialOffset",value:function(){return(0,l.getDifferenceFromInitialOffset)(this.store.getState().dragOffset)}}]),e}();t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=u(n(12)),a=u(n(19)),s=u(n(174)),l=n(38),c=u(n(176));function u(e){return e&&e.__esModule?e:{default:e}}function d(e,t){t&&(0,a.default)(e)?e.forEach((function(e){return d(e,!1)})):(0,i.default)("string"==typeof e||"symbol"===(void 0===e?"undefined":o(e)),t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}function f(e){switch(e[0]){case"S":return"SOURCE";case"T":return"TARGET";default:(0,i.default)(!1,"Cannot parse handler ID: "+e)}}var p=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.store=t,this.types={},this.handlers={},this.pinnedSourceId=null,this.pinnedSource=null}return r(e,[{key:"addSource",value:function(e,t){d(e),function(e){(0,i.default)("function"==typeof e.canDrag,"Expected canDrag to be a function."),(0,i.default)("function"==typeof e.beginDrag,"Expected beginDrag to be a function."),(0,i.default)("function"==typeof e.endDrag,"Expected endDrag to be a function.")}(t);var n=this.addHandler("SOURCE",e,t);return this.store.dispatch((0,l.addSource)(n)),n}},{key:"addTarget",value:function(e,t){d(e,!0),function(e){(0,i.default)("function"==typeof e.canDrop,"Expected canDrop to be a function."),(0,i.default)("function"==typeof e.hover,"Expected hover to be a function."),(0,i.default)("function"==typeof e.drop,"Expected beginDrag to be a function.")}(t);var n=this.addHandler("TARGET",e,t);return this.store.dispatch((0,l.addTarget)(n)),n}},{key:"addHandler",value:function(e,t,n){var r=function(e){var t=(0,c.default)().toString();switch(e){case"SOURCE":return"S"+t;case"TARGET":return"T"+t;default:(0,i.default)(!1,"Unknown role: "+e)}}(e);return this.types[r]=t,this.handlers[r]=n,r}},{key:"containsHandler",value:function(e){var t=this;return Object.keys(this.handlers).some((function(n){return t.handlers[n]===e}))}},{key:"getSource",value:function(e,t){return(0,i.default)(this.isSourceId(e),"Expected a valid source ID."),t&&e===this.pinnedSourceId?this.pinnedSource:this.handlers[e]}},{key:"getTarget",value:function(e){return(0,i.default)(this.isTargetId(e),"Expected a valid target ID."),this.handlers[e]}},{key:"getSourceType",value:function(e){return(0,i.default)(this.isSourceId(e),"Expected a valid source ID."),this.types[e]}},{key:"getTargetType",value:function(e){return(0,i.default)(this.isTargetId(e),"Expected a valid target ID."),this.types[e]}},{key:"isSourceId",value:function(e){return"SOURCE"===f(e)}},{key:"isTargetId",value:function(e){return"TARGET"===f(e)}},{key:"removeSource",value:function(e){var t=this;(0,i.default)(this.getSource(e),"Expected an existing source."),this.store.dispatch((0,l.removeSource)(e)),(0,s.default)((function(){delete t.handlers[e],delete t.types[e]}))}},{key:"removeTarget",value:function(e){var t=this;(0,i.default)(this.getTarget(e),"Expected an existing target."),this.store.dispatch((0,l.removeTarget)(e)),(0,s.default)((function(){delete t.handlers[e],delete t.types[e]}))}},{key:"pinSource",value:function(e){var t=this.getSource(e);(0,i.default)(t,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=t}},{key:"unpinSource",value:function(){(0,i.default)(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}}]),e}();t.default=p},function(e,t,n){"use strict";var r=n(175),o=[],i=[],a=r.makeRequestCallFromTimer((function(){if(i.length)throw i.shift()}));function s(e){var t;(t=o.length?o.pop():new l).task=e,r(t)}function l(){this.task=null}e.exports=s,l.prototype.call=function(){try{this.task.call()}catch(e){s.onerror?s.onerror(e):(i.push(e),a())}finally{this.task=null,o[o.length]=this}}},function(e,t,n){"use strict";(function(t){function n(e){o.length||r(),o[o.length]=e}e.exports=n;var r,o=[],i=0;function a(){for(;i<o.length;){var e=i;if(i+=1,o[e].call(),i>1024){for(var t=0,n=o.length-i;t<n;t++)o[t]=o[t+i];o.length-=i,i=0}}o.length=0,i=0}var s,l,c,u=void 0!==t?t:self,d=u.MutationObserver||u.WebKitMutationObserver;function f(e){return function(){var t=setTimeout(r,0),n=setInterval(r,50);function r(){clearTimeout(t),clearInterval(n),e()}}}"function"==typeof d?(s=1,l=new d(a),c=document.createTextNode(""),l.observe(c,{characterData:!0}),r=function(){s=-s,c.data=s}):r=f(a),n.requestFlush=r,n.makeRequestCallFromTimer=f}).call(this,n(26))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return r++};var r=0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,[{key:"canDrag",value:function(){return!0}},{key:"isDragging",value:function(e,t){return t===e.getSourceId()}},{key:"endDrag",value:function(){}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,[{key:"canDrop",value:function(){return!0}},{key:"hover",value:function(){}},{key:"drop",value:function(){}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){return new a(e)};var o,i=(o=n(84))&&o.__esModule?o:{default:o},a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.actions=t.getActions()}return r(e,[{key:"setup",value:function(){this.didCallSetup=!0}},{key:"teardown",value:function(){this.didCallTeardown=!0}},{key:"connectDragSource",value:function(){return i.default}},{key:"connectDragPreview",value:function(){return i.default}},{key:"connectDropTarget",value:function(){return i.default}},{key:"simulateBeginDrag",value:function(e,t){this.actions.beginDrag(e,t)}},{key:"simulatePublishDragSource",value:function(){this.actions.publishDragSource()}},{key:"simulateHover",value:function(e,t){this.actions.hover(e,t)}},{key:"simulateDrop",value:function(){this.actions.drop()}},{key:"simulateEndDrag",value:function(){this.actions.endDrag()}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o,i,a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(0),l=(i=n(1))&&i.__esModule?i:{default:i},c=n(71),u=(o=r=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.backend=(0,c.unpackBackendForEs5Users)(e.backend),r.childContext=(0,c.createChildContext)(r.backend,{window:e&&e.window?e.window:n&&n.window?n.window:"undefined"!=typeof window?window:void 0}),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"componentWillReceiveProps",value:function(e){if(e.backend!==this.props.backend||e.window!==this.props.window)throw new Error("DragDropContextProvider backend and window props must not change.")}},{key:"getChildContext",value:function(){return this.childContext}},{key:"render",value:function(){return s.Children.only(this.props.children)}}]),t}(s.Component),r.propTypes={backend:l.default.oneOfType([l.default.func,l.default.object]).isRequired,children:l.default.element.isRequired,window:l.default.object},r.defaultProps={window:void 0},r.childContextTypes=c.CHILD_CONTEXT_TYPES,r.displayName="DragDropContextProvider",r.contextTypes={window:l.default.object},o);t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return h.default.apply(void 0,["DragLayer","collect[, options]"].concat(Array.prototype.slice.call(arguments))),(0,d.default)("function"==typeof e,'Expected "collect" provided as the first argument to DragLayer to be a function that collects props to inject into the component. ',"Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html",e),(0,d.default)((0,u.default)(t),'Expected "options" provided as the second argument to DragLayer to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html',t),function(n){var u,h,v=t.arePropsEqual,b=void 0===v?p.default:v,_=n.displayName||n.name||"Component",w=(h=u=function(t){function a(e,t){g(this,a);var n=m(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return n.handleChange=n.handleChange.bind(n),n.manager=t.dragDropManager,(0,d.default)("object"===o(n.manager),"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context",_,_),n.state=n.getCurrentState(),n}return y(a,t),i(a,[{key:"getDecoratedComponentInstance",value:function(){return(0,d.default)(this.child,"In order to access an instance of the decorated component it can not be a stateless component."),this.child}},{key:"shouldComponentUpdate",value:function(e,t){return!b(e,this.props)||!(0,f.default)(t,this.state)}}]),i(a,[{key:"componentDidMount",value:function(){this.isCurrentlyMounted=!0;var e=this.manager.getMonitor();this.unsubscribeFromOffsetChange=e.subscribeToOffsetChange(this.handleChange),this.unsubscribeFromStateChange=e.subscribeToStateChange(this.handleChange),this.handleChange()}},{key:"componentWillUnmount",value:function(){this.isCurrentlyMounted=!1,this.unsubscribeFromOffsetChange(),this.unsubscribeFromStateChange()}},{key:"handleChange",value:function(){if(this.isCurrentlyMounted){var e=this.getCurrentState();(0,f.default)(e,this.state)||this.setState(e)}}},{key:"getCurrentState",value:function(){var t=this.manager.getMonitor();return e(t,this.props)}},{key:"render",value:function(){var e=this;return s.default.createElement(n,r({},this.props,this.state,{ref:function(t){e.child=t}}))}}]),a}(a.Component),u.DecoratedComponent=n,u.displayName="DragLayer("+_+")",u.contextTypes={dragDropManager:l.default.object.isRequired},h);return(0,c.default)(w,n)}};var a=n(0),s=v(a),l=v(n(1)),c=v(n(30)),u=v(n(15)),d=v(n(12)),f=v(n(57)),p=v(n(86)),h=v(n(39));function v(e){return e&&e.__esModule?e:{default:e}}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function y(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var f=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};i.default.apply(void 0,["DragSource","type, spec, collect[, options]"].concat(Array.prototype.slice.call(arguments)));var p=e;"function"!=typeof e&&((0,r.default)((0,d.default)(e),'Expected "type" provided as the first argument to DragSource to be a string, or a function that returns a string given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',e),p=function(){return e}),(0,r.default)((0,o.default)(t),'Expected "spec" provided as the second argument to DragSource to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',t);var h=(0,l.default)(t);return(0,r.default)("function"==typeof n,'Expected "collect" provided as the third argument to DragSource to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',n),(0,r.default)((0,o.default)(f),'Expected "options" provided as the fourth argument to DragSource to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',n),function(e){return(0,a.default)({connectBackend:function(e,t){return e.connectDragSource(t)},containerDisplayName:"DragSource",createHandler:h,registerHandler:s.default,createMonitor:c.default,createConnector:u.default,DecoratedComponent:e,getType:p,collect:n,options:f})}};var r=f(n(12)),o=f(n(15)),i=f(n(39)),a=f(n(87)),s=f(n(186)),l=f(n(187)),c=f(n(188)),u=f(n(189)),d=f(n(90));function f(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";t.__esModule=!0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){},i=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.isDisposed=!1,this.action=t||o}return r(e,null,[{key:"empty",value:{dispose:o},enumerable:!0}]),e.prototype.dispose=function(){this.isDisposed||(this.action.call(null),this.isDisposed=!0)},e}();t.default=i,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var o,i=(o=n(58))&&o.__esModule?o:{default:o},a=function(){function e(){for(var t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];r(this,e),Array.isArray(n[0])&&1===n.length&&(n=n[0]);for(var a=0;a<n.length;a++)if(!i.default(n[a]))throw new Error("Expected a disposable");this.disposables=n,this.isDisposed=!1}return e.prototype.add=function(e){this.isDisposed?e.dispose():this.disposables.push(e)},e.prototype.remove=function(e){if(this.isDisposed)return!1;var t=this.disposables.indexOf(e);return-1!==t&&(this.disposables.splice(t,1),e.dispose(),!0)},e.prototype.dispose=function(){if(!this.isDisposed){for(var e=this.disposables.length,t=new Array(e),n=0;n<e;n++)t[n]=this.disposables[n];for(this.isDisposed=!0,this.disposables=[],this.length=0,n=0;n<e;n++)t[n].dispose()}},e}();t.default=a,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r,o=(r=n(58))&&r.__esModule?r:{default:r},i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.isDisposed=!1,this.current=null}return e.prototype.getDisposable=function(){return this.current},e.prototype.setDisposable=function(){var e=arguments.length<=0||void 0===arguments[0]?null:arguments[0];if(null!=e&&!o.default(e))throw new Error("Expected either an empty value or a valid disposable");var t=this.isDisposed,n=void 0;t||(n=this.current,this.current=e),n&&n.dispose(),t&&e&&e.dispose()},e.prototype.dispose=function(){if(!this.isDisposed){this.isDisposed=!0;var e=this.current;this.current=null,e&&e.dispose()}},e}();t.default=i,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=n.getRegistry(),o=r.addSource(e,t);return{handlerId:o,unregister:function(){r.removeSource(o)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){Object.keys(e).forEach((function(t){(0,o.default)(a.indexOf(t)>-1,'Expected the drag source specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',a.join(", "),t),(0,o.default)("function"==typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html",t,t,e[t])})),s.forEach((function(t){(0,o.default)("function"==typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html",t,t,e[t])}));var t=function(){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.monitor=e,this.props=null,this.component=null}return r(t,[{key:"receiveProps",value:function(e){this.props=e}},{key:"receiveComponent",value:function(e){this.component=e}},{key:"canDrag",value:function(){return!e.canDrag||e.canDrag(this.props,this.monitor)}},{key:"isDragging",value:function(t,n){return e.isDragging?e.isDragging(this.props,this.monitor):n===t.getSourceId()}},{key:"beginDrag",value:function(){return e.beginDrag(this.props,this.monitor,this.component)}},{key:"endDrag",value:function(){e.endDrag&&e.endDrag(this.props,this.monitor,this.component)}}]),t}();return function(e){return new t(e)}};var o=i(n(12));function i(e){return e&&e.__esModule?e:{default:e}}i(n(15));var a=["canDrag","beginDrag","isDragging","endDrag"],s=["beginDrag"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){return new l(e)};var o,i=(o=n(12))&&o.__esModule?o:{default:o},a=!1,s=!1,l=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.internalMonitor=t.getMonitor()}return r(e,[{key:"receiveHandlerId",value:function(e){this.sourceId=e}},{key:"canDrag",value:function(){(0,i.default)(!a,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source-monitor.html");try{return a=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{a=!1}}},{key:"isDragging",value:function(){(0,i.default)(!s,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source-monitor.html");try{return s=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{s=!1}}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=void 0,n=void 0,i=void 0,a=void 0,s=void 0,l=void 0,c=void 0;function u(){a&&(a(),a=null),t&&n&&(a=e.connectDragSource(t,n,i))}function d(){c&&(c(),c=null),t&&s&&(c=e.connectDragPreview(t,s,l))}return{receiveHandlerId:function(e){e!==t&&(t=e,u(),d())},hooks:(0,r.default)({dragSource:function(e,t){e===n&&(0,o.default)(t,i)||(n=e,i=t,u())},dragPreview:function(e,t){e===s&&(0,o.default)(t,l)||(s=e,l=t,d())}})}};var r=i(n(88)),o=i(n(89));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e.ref;return(0,o.default)("string"!=typeof n,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute"),n?(0,i.cloneElement)(e,{ref:function(e){t(e),n&&n(e)}}):(0,i.cloneElement)(e,{ref:t})};var r,o=(r=n(12))&&r.__esModule?r:{default:r},i=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var f=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};i.default.apply(void 0,["DropTarget","type, spec, collect[, options]"].concat(Array.prototype.slice.call(arguments)));var p=e;"function"!=typeof e&&((0,r.default)((0,d.default)(e,!0),'Expected "type" provided as the first argument to DropTarget to be a string, an array of strings, or a function that returns either given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',e),p=function(){return e}),(0,r.default)((0,o.default)(t),'Expected "spec" provided as the second argument to DropTarget to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',t);var h=(0,l.default)(t);return(0,r.default)("function"==typeof n,'Expected "collect" provided as the third argument to DropTarget to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',n),(0,r.default)((0,o.default)(f),'Expected "options" provided as the fourth argument to DropTarget to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',n),function(e){return(0,a.default)({connectBackend:function(e,t){return e.connectDropTarget(t)},containerDisplayName:"DropTarget",createHandler:h,registerHandler:s.default,createMonitor:c.default,createConnector:u.default,DecoratedComponent:e,getType:p,collect:n,options:f})}};var r=f(n(12)),o=f(n(15)),i=f(n(39)),a=f(n(87)),s=f(n(192)),l=f(n(193)),c=f(n(194)),u=f(n(195)),d=f(n(90));function f(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=n.getRegistry(),o=r.addTarget(e,t);return{handlerId:o,unregister:function(){r.removeTarget(o)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){Object.keys(e).forEach((function(t){(0,o.default)(a.indexOf(t)>-1,'Expected the drop target specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',a.join(", "),t),(0,o.default)("function"==typeof e[t],"Expected %s in the drop target specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html",t,t,e[t])}));var t=function(){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.monitor=e,this.props=null,this.component=null}return r(t,[{key:"receiveProps",value:function(e){this.props=e}},{key:"receiveMonitor",value:function(e){this.monitor=e}},{key:"receiveComponent",value:function(e){this.component=e}},{key:"canDrop",value:function(){return!e.canDrop||e.canDrop(this.props,this.monitor)}},{key:"hover",value:function(){e.hover&&e.hover(this.props,this.monitor,this.component)}},{key:"drop",value:function(){if(e.drop)return e.drop(this.props,this.monitor,this.component)}}]),t}();return function(e){return new t(e)}};var o=i(n(12));function i(e){return e&&e.__esModule?e:{default:e}}i(n(15));var a=["canDrop","hover","drop"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){return new s(e)};var o,i=(o=n(12))&&o.__esModule?o:{default:o},a=!1,s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.internalMonitor=t.getMonitor()}return r(e,[{key:"receiveHandlerId",value:function(e){this.targetId=e}},{key:"canDrop",value:function(){(0,i.default)(!a,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target-monitor.html");try{return a=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{a=!1}}},{key:"isOver",value:function(e){return this.internalMonitor.isOverTarget(this.targetId,e)}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=void 0,n=void 0,i=void 0,a=void 0;function s(){a&&(a(),a=null),t&&n&&(a=e.connectDropTarget(t,n,i))}return{receiveHandlerId:function(e){e!==t&&(t=e,s())},hooks:(0,r.default)({dropTarget:function(e,t){e===n&&(0,o.default)(t,i)||(n=e,i=t,s())}})}};var r=i(n(88)),o=i(n(89));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=d(n(99)),i=d(n(209)),a=d(n(210)),s=n(92),l=n(211),c=n(213),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(59));function d(e){return e&&e.__esModule?e:{default:e}}var f=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.registry=t.getRegistry(),this.context=t.getContext(),this.sourcePreviewNodes={},this.sourcePreviewNodeOptions={},this.sourceNodes={},this.sourceNodeOptions={},this.enterLeaveCounter=new a.default,this.dragStartSourceIds=[],this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.currentDragSourceNodeOffset=null,this.currentDragSourceNodeOffsetChanged=!1,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.getSourceClientOffset=this.getSourceClientOffset.bind(this),this.handleTopDragStart=this.handleTopDragStart.bind(this),this.handleTopDragStartCapture=this.handleTopDragStartCapture.bind(this),this.handleTopDragEndCapture=this.handleTopDragEndCapture.bind(this),this.handleTopDragEnter=this.handleTopDragEnter.bind(this),this.handleTopDragEnterCapture=this.handleTopDragEnterCapture.bind(this),this.handleTopDragLeaveCapture=this.handleTopDragLeaveCapture.bind(this),this.handleTopDragOver=this.handleTopDragOver.bind(this),this.handleTopDragOverCapture=this.handleTopDragOverCapture.bind(this),this.handleTopDrop=this.handleTopDrop.bind(this),this.handleTopDropCapture=this.handleTopDropCapture.bind(this),this.handleSelectStart=this.handleSelectStart.bind(this),this.endDragIfSourceWasRemovedFromDOM=this.endDragIfSourceWasRemovedFromDOM.bind(this),this.endDragNativeItem=this.endDragNativeItem.bind(this),this.asyncEndDragNativeItem=this.asyncEndDragNativeItem.bind(this),this.isNodeInDocument=this.isNodeInDocument.bind(this)}return r(e,[{key:"setup",value:function(){if(void 0!==this.window){if(this.window.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");this.window.__isReactDndBackendSetUp=!0,this.addEventListeners(this.window)}}},{key:"teardown",value:function(){void 0!==this.window&&(this.window.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.window),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId&&this.window.cancelAnimationFrame(this.asyncEndDragFrameId))}},{key:"addEventListeners",value:function(e){e.addEventListener&&(e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0))}},{key:"removeEventListeners",value:function(e){e.removeEventListener&&(e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0))}},{key:"connectDragPreview",value:function(e,t,n){var r=this;return this.sourcePreviewNodeOptions[e]=n,this.sourcePreviewNodes[e]=t,function(){delete r.sourcePreviewNodes[e],delete r.sourcePreviewNodeOptions[e]}}},{key:"connectDragSource",value:function(e,t,n){var r=this;this.sourceNodes[e]=t,this.sourceNodeOptions[e]=n;var o=function(t){return r.handleDragStart(t,e)},i=function(t){return r.handleSelectStart(t,e)};return t.setAttribute("draggable",!0),t.addEventListener("dragstart",o),t.addEventListener("selectstart",i),function(){delete r.sourceNodes[e],delete r.sourceNodeOptions[e],t.removeEventListener("dragstart",o),t.removeEventListener("selectstart",i),t.setAttribute("draggable",!1)}}},{key:"connectDropTarget",value:function(e,t){var n=this,r=function(t){return n.handleDragEnter(t,e)},o=function(t){return n.handleDragOver(t,e)},i=function(t){return n.handleDrop(t,e)};return t.addEventListener("dragenter",r),t.addEventListener("dragover",o),t.addEventListener("drop",i),function(){t.removeEventListener("dragenter",r),t.removeEventListener("dragover",o),t.removeEventListener("drop",i)}}},{key:"getCurrentSourceNodeOptions",value:function(){var e=this.monitor.getSourceId(),t=this.sourceNodeOptions[e];return(0,o.default)(t||{},{dropEffect:this.altKeyPressed?"copy":"move"})}},{key:"getCurrentDropEffect",value:function(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}},{key:"getCurrentSourcePreviewNodeOptions",value:function(){var e=this.monitor.getSourceId(),t=this.sourcePreviewNodeOptions[e];return(0,o.default)(t||{},{anchorX:.5,anchorY:.5,captureDraggingState:!1})}},{key:"getSourceClientOffset",value:function(e){return(0,l.getNodeClientOffset)(this.sourceNodes[e])}},{key:"isDraggingNativeItem",value:function(){var e=this.monitor.getItemType();return Object.keys(u).some((function(t){return u[t]===e}))}},{key:"beginDragNativeItem",value:function(e){this.clearCurrentDragSourceNode();var t=(0,c.createNativeDragSource)(e);this.currentNativeSource=new t,this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}},{key:"asyncEndDragNativeItem",value:function(){this.asyncEndDragFrameId=this.window.requestAnimationFrame(this.endDragNativeItem)}},{key:"endDragNativeItem",value:function(){this.isDraggingNativeItem()&&(this.actions.endDrag(),this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)}},{key:"isNodeInDocument",value:function(e){return!(!document.body.contains(e)&&!this.window)&&this.window.document.body.contains(e)}},{key:"endDragIfSourceWasRemovedFromDOM",value:function(){var e=this.currentDragSourceNode;this.isNodeInDocument(e)||this.clearCurrentDragSourceNode()&&this.actions.endDrag()}},{key:"setCurrentDragSourceNode",value:function(e){var t=this;this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e,this.currentDragSourceNodeOffset=(0,l.getNodeClientOffset)(e),this.currentDragSourceNodeOffsetChanged=!1,this.mouseMoveTimeoutTimer=setTimeout((function(){return t.mouseMoveTimeoutId=null,t.window.addEventListener("mousemove",t.endDragIfSourceWasRemovedFromDOM,!0)}),1e3)}},{key:"clearCurrentDragSourceNode",value:function(){return!!this.currentDragSourceNode&&(this.currentDragSourceNode=null,this.currentDragSourceNodeOffset=null,this.currentDragSourceNodeOffsetChanged=!1,this.window.clearTimeout(this.mouseMoveTimeoutTimer),this.window.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0),this.mouseMoveTimeoutTimer=null,!0)}},{key:"checkIfCurrentDragSourceRectChanged",value:function(){var e=this.currentDragSourceNode;return!!e&&(!!this.currentDragSourceNodeOffsetChanged||(this.currentDragSourceNodeOffsetChanged=!(0,i.default)((0,l.getNodeClientOffset)(e),this.currentDragSourceNodeOffset),this.currentDragSourceNodeOffsetChanged))}},{key:"handleTopDragStartCapture",value:function(){this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]}},{key:"handleDragStart",value:function(e,t){this.dragStartSourceIds.unshift(t)}},{key:"handleTopDragStart",value:function(e){var t=this,n=this.dragStartSourceIds;this.dragStartSourceIds=null;var r=(0,l.getEventClientOffset)(e);this.monitor.isDragging()&&this.actions.endDrag(),this.actions.beginDrag(n,{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:r});var o=e.dataTransfer,i=(0,c.matchNativeItemType)(o);if(this.monitor.isDragging()){if("function"==typeof o.setDragImage){var a=this.monitor.getSourceId(),s=this.sourceNodes[a],u=this.sourcePreviewNodes[a]||s,d=this.getCurrentSourcePreviewNodeOptions(),f={anchorX:d.anchorX,anchorY:d.anchorY},p={offsetX:d.offsetX,offsetY:d.offsetY},h=(0,l.getDragPreviewOffset)(s,u,r,f,p);o.setDragImage(u,h.x,h.y)}try{o.setData("application/json",{})}catch(e){}this.setCurrentDragSourceNode(e.target),this.getCurrentSourcePreviewNodeOptions().captureDraggingState?this.actions.publishDragSource():setTimeout((function(){return t.actions.publishDragSource()}))}else if(i)this.beginDragNativeItem(i);else{if(!(o.types||e.target.hasAttribute&&e.target.hasAttribute("draggable")))return;e.preventDefault()}}},{key:"handleTopDragEndCapture",value:function(){this.clearCurrentDragSourceNode()&&this.actions.endDrag()}},{key:"handleTopDragEnterCapture",value:function(e){if(this.dragEnterTargetIds=[],this.enterLeaveCounter.enter(e.target)&&!this.monitor.isDragging()){var t=e.dataTransfer,n=(0,c.matchNativeItemType)(t);n&&this.beginDragNativeItem(n)}}},{key:"handleDragEnter",value:function(e,t){this.dragEnterTargetIds.unshift(t)}},{key:"handleTopDragEnter",value:function(e){var t=this,n=this.dragEnterTargetIds;this.dragEnterTargetIds=[],this.monitor.isDragging()&&(this.altKeyPressed=e.altKey,(0,s.isFirefox)()||this.actions.hover(n,{clientOffset:(0,l.getEventClientOffset)(e)}),n.some((function(e){return t.monitor.canDropOnTarget(e)}))&&(e.preventDefault(),e.dataTransfer.dropEffect=this.getCurrentDropEffect()))}},{key:"handleTopDragOverCapture",value:function(){this.dragOverTargetIds=[]}},{key:"handleDragOver",value:function(e,t){this.dragOverTargetIds.unshift(t)}},{key:"handleTopDragOver",value:function(e){var t=this,n=this.dragOverTargetIds;if(this.dragOverTargetIds=[],!this.monitor.isDragging())return e.preventDefault(),void(e.dataTransfer.dropEffect="none");this.altKeyPressed=e.altKey,this.actions.hover(n,{clientOffset:(0,l.getEventClientOffset)(e)}),n.some((function(e){return t.monitor.canDropOnTarget(e)}))?(e.preventDefault(),e.dataTransfer.dropEffect=this.getCurrentDropEffect()):this.isDraggingNativeItem()?(e.preventDefault(),e.dataTransfer.dropEffect="none"):this.checkIfCurrentDragSourceRectChanged()&&(e.preventDefault(),e.dataTransfer.dropEffect="move")}},{key:"handleTopDragLeaveCapture",value:function(e){this.isDraggingNativeItem()&&e.preventDefault(),this.enterLeaveCounter.leave(e.target)&&this.isDraggingNativeItem()&&this.endDragNativeItem()}},{key:"handleTopDropCapture",value:function(e){this.dropTargetIds=[],e.preventDefault(),this.isDraggingNativeItem()&&this.currentNativeSource.mutateItemByReadingDataTransfer(e.dataTransfer),this.enterLeaveCounter.reset()}},{key:"handleDrop",value:function(e,t){this.dropTargetIds.unshift(t)}},{key:"handleTopDrop",value:function(e){var t=this.dropTargetIds;this.dropTargetIds=[],this.actions.hover(t,{clientOffset:(0,l.getEventClientOffset)(e)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.endDragIfSourceWasRemovedFromDOM()}},{key:"handleSelectStart",value:function(e){var t=e.target;"function"==typeof t.dragDrop&&("INPUT"===t.tagName||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable||(e.preventDefault(),t.dragDrop()))}},{key:"window",get:function(){return this.context&&this.context.window?this.context.window:"undefined"!=typeof window?window:void 0}}]),e}();t.default=f},function(e,t,n){var r=n(50),o=n(56),i=n(91),a=n(28);e.exports=function(e,t,n){if(!a(n))return!1;var s=typeof t;return!!("number"==s?o(n)&&i(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},function(e,t,n){var r=n(199),o=n(206),i=n(56);e.exports=function(e){return i(e)?r(e,!0):o(e)}},function(e,t,n){var r=n(200),o=n(82),i=n(19),a=n(201),s=n(91),l=n(203),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&o(e),d=!n&&!u&&a(e),f=!n&&!u&&!d&&l(e),p=n||u||d||f,h=p?r(e.length,String):[],v=h.length;for(var g in e)!t&&!c.call(e,g)||p&&("length"==g||d&&("offset"==g||"parent"==g)||f&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,v))||h.push(g);return h}},function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},function(e,t,n){(function(e){var r=n(25),o=n(202),i=t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;e.exports=l}).call(this,n(64)(e))},function(e,t){e.exports=function(){return!1}},function(e,t,n){var r=n(204),o=n(54),i=n(205),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},function(e,t,n){var r=n(31),o=n(79),i=n(27),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},function(e,t,n){(function(e){var r=n(72),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{return i&&i.require&&i.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s}).call(this,n(64)(e))},function(e,t,n){var r=n(28),o=n(207),i=n(208),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&n.push(s);return n}},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e===t)return!0;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty,i=0;i<n.length;i+=1){if(!o.call(t,n[i])||e[n[i]]!==t[n[i]])return!1;if(e[n[i]]!==t[n[i]])return!1}return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=a(n(100)),i=a(n(63));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.entered=[]}return r(e,[{key:"enter",value:function(e){var t=this.entered.length;return this.entered=(0,o.default)(this.entered.filter((function(t){return document.documentElement.contains(t)&&(!t.contains||t.contains(e))})),[e]),0===t&&this.entered.length>0}},{key:"leave",value:function(e){var t=this.entered.length;return this.entered=(0,i.default)(this.entered.filter((function(e){return document.documentElement.contains(e)})),e),t>0&&0===this.entered.length}},{key:"reset",value:function(){this.entered=[]}}]),e}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNodeClientOffset=a,t.getEventClientOffset=function(e){return{x:e.clientX,y:e.clientY}},t.getDragPreviewOffset=function(e,t,n,r,s){var l,c,u="IMG"===(l=t).nodeName&&((0,o.isFirefox)()||!document.documentElement.contains(l)),d=a(u?e:t),f={x:n.x-d.x,y:n.y-d.y},p=e.offsetWidth,h=e.offsetHeight,v=r.anchorX,g=r.anchorY,m=function(e,t,n,r){var i=e?t.width:n,a=e?t.height:r;return(0,o.isSafari)()&&e&&(a/=window.devicePixelRatio,i/=window.devicePixelRatio),{dragPreviewWidth:i,dragPreviewHeight:a}}(u,t,p,h),y=m.dragPreviewWidth,b=m.dragPreviewHeight,_=s.offsetX,w=s.offsetY,S=0===w||w;return{x:0===_||_?_:new i.default([0,.5,1],[f.x,f.x/p*y,f.x+y-p]).interpolate(v),y:S?w:(c=new i.default([0,.5,1],[f.y,f.y/h*b,f.y+b-h]).interpolate(g),(0,o.isSafari)()&&u&&(c+=(window.devicePixelRatio-1)*b),c)}};var r,o=n(92),i=(r=n(212))&&r.__esModule?r:{default:r};function a(e){var t=1===e.nodeType?e:e.parentElement;if(!t)return null;var n=t.getBoundingClientRect(),r=n.top;return{x:n.left,y:r}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);for(var r=t.length,o=[],i=0;i<r;i++)o.push(i);o.sort((function(e,n){return t[e]<t[n]?-1:1}));for(var a=[],s=[],l=[],c=void 0,u=void 0,d=0;d<r-1;d++)c=t[d+1]-t[d],u=n[d+1]-n[d],s.push(c),a.push(u),l.push(u/c);for(var f=[l[0]],p=0;p<s.length-1;p++){var h=l[p],v=l[p+1];if(h*v<=0)f.push(0);else{c=s[p];var g=s[p+1],m=c+g;f.push(3*m/((m+g)/h+(m+c)/v))}}f.push(l[l.length-1]);for(var y=[],b=[],_=void 0,w=0;w<f.length-1;w++){_=l[w];var S=f[w],C=1/s[w],O=S+f[w+1]-_-_;y.push((_-S-O)*C),b.push(O*C*C)}this.xs=t,this.ys=n,this.c1s=f,this.c2s=y,this.c3s=b}return r(e,[{key:"interpolate",value:function(e){var t=this.xs,n=this.ys,r=this.c1s,o=this.c2s,i=this.c3s,a=t.length-1;if(e===t[a])return n[a];for(var s=0,l=i.length-1,c=void 0;s<=l;){var u=t[c=Math.floor(.5*(s+l))];if(u<e)s=c+1;else{if(!(u>e))return n[c];l=c-1}}var d=e-t[a=Math.max(0,l)],f=d*d;return n[a]+r[a]*d+o[a]*f+i[a]*d*f}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.createNativeDragSource=function(e){var t=l[e],n=t.exposeProperty,r=t.matchesTypes,i=t.getData;return function(){function e(){var t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.item=(t={},(r={})[n]=r[n]||{},r[n].get=function(){return console.warn("Browser doesn't allow reading \""+n+'" until the drop event.'),null},function(e,t){for(var n in t){var r=t[n];r.configurable=r.enumerable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,n,r)}}(t,r),t)}return o(e,[{key:"mutateItemByReadingDataTransfer",value:function(e){delete this.item[n],this.item[n]=i(e,r)}},{key:"canDrag",value:function(){return!0}},{key:"beginDrag",value:function(){return this.item}},{key:"isDragging",value:function(e,t){return t===e.getSourceId()}},{key:"endDrag",value:function(){}}]),e}()},t.matchNativeItemType=function(e){var t=Array.prototype.slice.call(e.types||[]);return Object.keys(l).filter((function(e){return l[e].matchesTypes.some((function(e){return t.indexOf(e)>-1}))}))[0]||null};var i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(59));function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t,n){var r=t.reduce((function(t,n){return t||e.getData(n)}),null);return null!=r?r:n}var l=(a(r={},i.FILE,{exposeProperty:"files",matchesTypes:["Files"],getData:function(e){return Array.prototype.slice.call(e.files)}}),a(r,i.URL,{exposeProperty:"urls",matchesTypes:["Url","text/uri-list"],getData:function(e,t){return s(e,t,"").split("\n")}}),a(r,i.TEXT,{exposeProperty:"text",matchesTypes:["Text","text/plain"],getData:function(e,t){return s(e,t,"")}}),r)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return r||((r=new Image).src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),r};var r=void 0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e===t)return!0;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty,i=0;i<n.length;i+=1){if(!o.call(t,n[i])||e[n[i]]!==t[n[i]])return!1;if(e[n[i]]!==t[n[i]])return!1}return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FILE="__NATIVE_FILE__",t.URL="__NATIVE_URL__",t.TEXT="__NATIVE_TEXT__"},function(e,t,n){var r=n(67);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(221)("keys"),o=n(106);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(43),o=n(42),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(105)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(218);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports={}},function(e,t,n){var r=n(93),o=n(319),i=n(222),a=n(220)("IE_PROTO"),s=function(){},l=function(){var e,t=n(241)("iframe"),r=i.length;for(t.style.display="none",n(320).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[i[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(60).f,o=n(61),i=n(69)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){t.f=n(69)},function(e,t,n){var r=n(42),o=n(43),i=n(105),a=n(228),s=n(60).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(230);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unpackBackendForEs5Users=t.createChildContext=t.CHILD_CONTEXT_TYPES=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e){f.default.apply(void 0,["DragDropContext","backend"].concat(Array.prototype.slice.call(arguments)));var t=b(e),n=y(t);return function(e){var t,i,l=e.displayName||e.name||"Component",c=(i=t=function(t){function i(){return h(this,i),v(this,(i.__proto__||Object.getPrototypeOf(i)).apply(this,arguments))}return g(i,t),o(i,[{key:"getDecoratedComponentInstance",value:function(){return(0,u.default)(this.child,"In order to access an instance of the decorated component it can not be a stateless component."),this.child}},{key:"getManager",value:function(){return n.dragDropManager}},{key:"getChildContext",value:function(){return n}},{key:"render",value:function(){var t=this;return s.default.createElement(e,r({},this.props,{ref:function(e){t.child=e}}))}}]),i}(a.Component),t.DecoratedComponent=e,t.displayName="DragDropContext("+l+")",t.childContextTypes=m,i);return(0,d.default)(c,e)}};var a=n(0),s=p(a),l=p(n(1)),c=n(97),u=p(n(12)),d=p(n(30)),f=p(n(102));function p(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function g(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var m=t.CHILD_CONTEXT_TYPES={dragDropManager:l.default.object.isRequired},y=t.createChildContext=function(e,t){return{dragDropManager:new c.DragDropManager(e,t)}},b=t.unpackBackendForEs5Users=function(e){var t=e;return"object"===(void 0===t?"undefined":i(t))&&"function"==typeof t.default&&(t=t.default),(0,u.default)("function"==typeof t,"Expected the backend to be a function or an ES6 module exporting a default function. Read more: http://react-dnd.github.io/react-dnd/docs-drag-drop-context.html"),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e,t){if(e===t)return!0;if("object"!==(void 0===e?"undefined":r(e))||null===e||"object"!==(void 0===t?"undefined":r(t))||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var i=Object.prototype.hasOwnProperty,a=0;a<n.length;a+=1){if(!i.call(t,n[a]))return!1;var s=e[n[a]],l=t[n[a]];if(s!==l||"object"===(void 0===s?"undefined":r(s))||"object"===(void 0===l?"undefined":r(l)))return!1}return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){var t,n,h=e.DecoratedComponent,g=e.createHandler,m=e.createMonitor,y=e.createConnector,b=e.registerHandler,_=e.containerDisplayName,w=e.getType,S=e.collect,C=e.options.arePropsEqual,O=void 0===C?p.default:C,x=h.displayName||h.name||"Component",T=(n=t=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.handleChange=r.handleChange.bind(r),r.handleChildRef=r.handleChildRef.bind(r),(0,u.default)("object"===o(r.context.dragDropManager),"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context",x,x),r.manager=r.context.dragDropManager,r.handlerMonitor=m(r.manager),r.handlerConnector=y(r.manager.getBackend()),r.handler=g(r.handlerMonitor),r.disposable=new c.SerialDisposable,r.receiveProps(e),r.state=r.getCurrentState(),r.dispose(),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"getHandlerId",value:function(){return this.handlerId}},{key:"getDecoratedComponentInstance",value:function(){return this.decoratedComponentInstance}},{key:"shouldComponentUpdate",value:function(e,t){return!O(e,this.props)||!(0,f.default)(t,this.state)}}]),i(t,[{key:"componentDidMount",value:function(){this.isCurrentlyMounted=!0,this.disposable=new c.SerialDisposable,this.currentType=null,this.receiveProps(this.props),this.handleChange()}},{key:"componentWillReceiveProps",value:function(e){O(e,this.props)||(this.receiveProps(e),this.handleChange())}},{key:"componentWillUnmount",value:function(){this.dispose(),this.isCurrentlyMounted=!1}},{key:"receiveProps",value:function(e){this.handler.receiveProps(e),this.receiveType(w(e))}},{key:"receiveType",value:function(e){if(e!==this.currentType){this.currentType=e;var t=b(e,this.handler,this.manager),n=t.handlerId,r=t.unregister;this.handlerId=n,this.handlerMonitor.receiveHandlerId(n),this.handlerConnector.receiveHandlerId(n);var o=this.manager.getMonitor().subscribeToStateChange(this.handleChange,{handlerIds:[n]});this.disposable.setDisposable(new c.CompositeDisposable(new c.Disposable(o),new c.Disposable(r)))}}},{key:"handleChange",value:function(){if(this.isCurrentlyMounted){var e=this.getCurrentState();(0,f.default)(e,this.state)||this.setState(e)}}},{key:"dispose",value:function(){this.disposable.dispose(),this.handlerConnector.receiveHandlerId(null)}},{key:"handleChildRef",value:function(e){this.decoratedComponentInstance=e,this.handler.receiveComponent(e)}},{key:"getCurrentState",value:function(){return S(this.handlerConnector.hooks,this.handlerMonitor)}},{key:"render",value:function(){return s.default.createElement(h,r({},this.props,this.state,{ref:v(h)?this.handleChildRef:null}))}}]),t}(a.Component),t.DecoratedComponent=h,t.displayName=_+"("+x+")",t.contextTypes={dragDropManager:l.default.object.isRequired},n);return(0,d.default)(T,h)};var a=n(0),s=h(a),l=h(n(1)),c=n(98),u=(h(n(15)),h(n(12))),d=h(n(30)),f=h(n(215)),p=h(n(233));function h(e){return e&&e.__esModule?e:{default:e}}var v=function(e){return Boolean(e&&e.prototype&&"function"==typeof e.prototype.render)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t={};return Object.keys(e).forEach((function(n){var r,s=(r=e[n],function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if((0,o.isValidElement)(e)){var n=e;a(n);var s=t?function(e){return r(e,t)}:r;return(0,i.default)(n,s)}var l=e;r(l,t)});t[n]=function(){return s}})),t};var r,o=n(0),i=(r=n(287))&&r.__esModule?r:{default:r};function a(e){if("string"!=typeof e.type){var t=e.type.displayName||e.type.name||"the component";throw new Error("Only native element nodes can now be passed to React DnD connectors.You can either wrap "+t+" into a <div>, or turn it into a drag source or a drop target itself.")}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return t===e||null!==t&&null!==e&&(0,o.default)(t,e)};var r,o=(r=n(215))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function e(t,n){return"string"==typeof t||"symbol"===(void 0===t?"undefined":r(t))||n&&(0,i.default)(t)&&t.every((function(t){return e(t,!1)}))};var o,i=(o=n(19))&&o.__esModule?o:{default:o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSafari=t.isFirefox=void 0;var r,o=(r=n(101))&&r.__esModule?r:{default:r};t.isFirefox=(0,o.default)((function(){return/firefox/i.test(navigator.userAgent)})),t.isSafari=(0,o.default)((function(){return Boolean(window.safari)}))},function(e,t,n){var r=n(304);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){e.exports=!n(44)&&!n(94)((function(){return 7!=Object.defineProperty(n(241)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(67),o=n(42).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(61),o=n(68),i=n(306)(!1),a=n(220)("IE_PROTO");e.exports=function(e,t){var n,s=o(e),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~i(c,n)||c.push(n));return c}},function(e,t,n){var r=n(244);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,l=a(e),c=1;c<arguments.length;c++){for(var u in n=Object(arguments[c]))o.call(n,u)&&(l[u]=n[u]);if(r){s=r(n);for(var d=0;d<s.length;d++)i.call(n,s[d])&&(l[s[d]]=n[s[d]])}}return l}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.storeShape=void 0;var r,o=(r=n(1))&&r.__esModule?r:{default:r};t.storeShape=o.default.shape({subscribe:o.default.func.isRequired,setState:o.default.func.isRequired,getState:o.default.func.isRequired})},function(e,t,n){"use strict";var r=n(105),o=n(65),i=n(248),a=n(66),s=n(225),l=n(318),c=n(227),u=n(321),d=n(69)("iterator"),f=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,h,v,g,m){l(n,t,h);var y,b,_,w=function(e){if(!f&&e in x)return x[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},S=t+" Iterator",C="values"==v,O=!1,x=e.prototype,T=x[d]||x["@@iterator"]||v&&x[v],k=T||w(v),D=v?C?w("entries"):k:void 0,E="Array"==t&&x.entries||T;if(E&&(_=u(E.call(new e)))!==Object.prototype&&_.next&&(c(_,S,!0),r||"function"==typeof _[d]||a(_,d,p)),C&&T&&"values"!==T.name&&(O=!0,k=function(){return T.call(this)}),r&&!m||!f&&!O&&x[d]||a(x,d,k),s[t]=k,s[S]=p,v)if(y={values:C?k:w("values"),keys:g?k:w("keys"),entries:D},m)for(b in y)b in x||i(x,b,y[b]);else o(o.P+o.F*(f||O),t,y);return y}},function(e,t,n){e.exports=n(66)},function(e,t,n){var r=n(242),o=n(222).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(107),o=n(103),i=n(68),a=n(217),s=n(61),l=n(240),c=Object.getOwnPropertyDescriptor;t.f=n(44)?c:function(e,t){if(e=i(e),t=a(t,!0),l)try{return c(e,t)}catch(e){}if(s(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){e.exports={default:n(345),__esModule:!0}},function(e,t){e.exports=function(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0;n<e.length;++n)if(e[n]===t)return n;return-1}},function(e,t){e.exports=function(e){if(null==e)throw new TypeError("Cannot destructure undefined")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(267),o=n(268),i=n(231),a=n(269);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){function i(t){var r=new o.default(t);n.call(e,r)}if(e.addEventListener){var a=(s=!1,"object"==typeof r?s=r.capture||!1:"boolean"==typeof r&&(s=r),e.addEventListener(t,i,r||!1),{v:{remove:function(){e.removeEventListener(t,i,s)}}});if("object"==typeof a)return a.v}else if(e.attachEvent)return e.attachEvent("on"+t,i),{remove:function(){e.detachEvent("on"+t,i)}};var s};var r,o=(r=n(343))&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r,o=(r=n(251))&&r.__esModule?r:{default:r};t.default=function(e,t,n){return t in e?(0,o.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){try{var r=n(252)}catch(e){r=n(252)}var o=/\s+/,i=Object.prototype.toString;function a(e){if(!e||!e.nodeType)throw new Error("A DOM element reference is required");this.el=e,this.list=e.classList}e.exports=function(e){return new a(e)},a.prototype.add=function(e){if(this.list)return this.list.add(e),this;var t=this.array();return~r(t,e)||t.push(e),this.el.className=t.join(" "),this},a.prototype.remove=function(e){if("[object RegExp]"==i.call(e))return this.removeMatching(e);if(this.list)return this.list.remove(e),this;var t=this.array(),n=r(t,e);return~n&&t.splice(n,1),this.el.className=t.join(" "),this},a.prototype.removeMatching=function(e){for(var t=this.array(),n=0;n<t.length;n++)e.test(t[n])&&this.remove(t[n]);return this},a.prototype.toggle=function(e,t){return this.list?(void 0!==t?t!==this.list.toggle(e,t)&&this.list.toggle(e):this.list.toggle(e),this):(void 0!==t?t?this.add(e):this.remove(e):this.has(e)?this.remove(e):this.add(e),this)},a.prototype.array=function(){var e=(this.el.getAttribute("class")||"").replace(/^\s+|\s+$/g,"").split(o);return""===e[0]&&e.shift(),e},a.prototype.has=a.prototype.contains=function(e){return this.list?this.list.contains(e):!!~r(this.array(),e)}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){"use strict";e.exports=n(347)},,,,function(e,t,n){var r=n(230);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,o,i=[],_n=!0,a=!1;try{for(n=n.call(e);!(_n=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);_n=!0);}catch(e){a=!0,o=e}finally{try{_n||null==n.return||n.return()}finally{if(a)throw o}}return i}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){(function(e,n){var r="[object Arguments]",o="[object Map]",i="[object Object]",a="[object Set]",s=/^\[object .+?Constructor\]$/,l=/^(?:0|[1-9]\d*)$/,c={};c["[object Float32Array]"]=c["[object Float64Array]"]=c["[object Int8Array]"]=c["[object Int16Array]"]=c["[object Int32Array]"]=c["[object Uint8Array]"]=c["[object Uint8ClampedArray]"]=c["[object Uint16Array]"]=c["[object Uint32Array]"]=!0,c[r]=c["[object Array]"]=c["[object ArrayBuffer]"]=c["[object Boolean]"]=c["[object DataView]"]=c["[object Date]"]=c["[object Error]"]=c["[object Function]"]=c[o]=c["[object Number]"]=c[i]=c["[object RegExp]"]=c[a]=c["[object String]"]=c["[object WeakMap]"]=!1;var u="object"==typeof e&&e&&e.Object===Object&&e,d="object"==typeof self&&self&&self.Object===Object&&self,f=u||d||Function("return this")(),p=t&&!t.nodeType&&t,h=p&&"object"==typeof n&&n&&!n.nodeType&&n,v=h&&h.exports===p,g=v&&u.process,m=function(){try{return g&&g.binding&&g.binding("util")}catch(e){}}(),y=m&&m.isTypedArray;function b(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function _(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function w(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var S,C,O,x=Array.prototype,T=Function.prototype,k=Object.prototype,D=f["__core-js_shared__"],E=T.toString,I=k.hasOwnProperty,P=(S=/[^.]+$/.exec(D&&D.keys&&D.keys.IE_PROTO||""))?"Symbol(src)_1."+S:"",M=k.toString,R=RegExp("^"+E.call(I).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),N=v?f.Buffer:void 0,j=f.Symbol,A=f.Uint8Array,L=k.propertyIsEnumerable,z=x.splice,F=j?j.toStringTag:void 0,H=Object.getOwnPropertySymbols,W=N?N.isBuffer:void 0,G=(C=Object.keys,O=Object,function(e){return C(O(e))}),U=he(f,"DataView"),B=he(f,"Map"),V=he(f,"Promise"),K=he(f,"Set"),q=he(f,"WeakMap"),Y=he(Object,"create"),X=ye(U),Z=ye(B),$=ye(V),J=ye(K),Q=ye(q),ee=j?j.prototype:void 0,te=ee?ee.valueOf:void 0;function ne(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function re(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function oe(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ie(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new oe;++t<n;)this.add(e[t])}function ae(e){var t=this.__data__=new re(e);this.size=t.size}function se(e,t){for(var n=e.length;n--;)if(be(e[n][0],t))return n;return-1}function le(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":F&&F in Object(e)?function(e){var t=I.call(e,F),n=e[F];try{e[F]=void 0;var r=!0}catch(e){}var o=M.call(e);return r&&(t?e[F]=n:delete e[F]),o}(e):function(e){return M.call(e)}(e)}function ce(e){return Te(e)&&le(e)==r}function ue(e,t,n,s,l){return e===t||(null==e||null==t||!Te(e)&&!Te(t)?e!=e&&t!=t:function(e,t,n,s,l,c){var u=we(e),d=we(t),f=u?"[object Array]":ge(e),p=d?"[object Array]":ge(t),h=(f=f==r?i:f)==i,v=(p=p==r?i:p)==i,g=f==p;if(g&&Se(e)){if(!Se(t))return!1;u=!0,h=!1}if(g&&!h)return c||(c=new ae),u||ke(e)?de(e,t,n,s,l,c):function(e,t,n,r,i,s,l){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!s(new A(e),new A(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return be(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case o:var c=_;case a:var u=1&r;if(c||(c=w),e.size!=t.size&&!u)return!1;var d=l.get(e);if(d)return d==t;r|=2,l.set(e,t);var f=de(c(e),c(t),r,i,s,l);return l.delete(e),f;case"[object Symbol]":if(te)return te.call(e)==te.call(t)}return!1}(e,t,f,n,s,l,c);if(!(1&n)){var m=h&&I.call(e,"__wrapped__"),y=v&&I.call(t,"__wrapped__");if(m||y){var b=m?e.value():e,S=y?t.value():t;return c||(c=new ae),l(b,S,n,s,c)}}return!!g&&(c||(c=new ae),function(e,t,n,r,o,i){var a=1&n,s=fe(e),l=s.length;if(l!=fe(t).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in t:I.call(t,u)))return!1}var d=i.get(e);if(d&&i.get(t))return d==t;var f=!0;i.set(e,t),i.set(t,e);for(var p=a;++c<l;){var h=e[u=s[c]],v=t[u];if(r)var g=a?r(v,h,u,t,e,i):r(h,v,u,e,t,i);if(!(void 0===g?h===v||o(h,v,n,r,i):g)){f=!1;break}p||(p="constructor"==u)}if(f&&!p){var m=e.constructor,y=t.constructor;m==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof m&&m instanceof m&&"function"==typeof y&&y instanceof y||(f=!1)}return i.delete(e),i.delete(t),f}(e,t,n,s,l,c))}(e,t,n,s,ue,l))}function de(e,t,n,r,o,i){var a=1&n,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=i.get(e);if(c&&i.get(t))return c==t;var u=-1,d=!0,f=2&n?new ie:void 0;for(i.set(e,t),i.set(t,e);++u<s;){var p=e[u],h=t[u];if(r)var v=a?r(h,p,u,t,e,i):r(p,h,u,e,t,i);if(void 0!==v){if(v)continue;d=!1;break}if(f){if(!b(t,(function(e,t){if(a=t,!f.has(a)&&(p===e||o(p,e,n,r,i)))return f.push(t);var a}))){d=!1;break}}else if(p!==h&&!o(p,h,n,r,i)){d=!1;break}}return i.delete(e),i.delete(t),d}function fe(e){return function(e,t,n){var r=t(e);return we(e)?r:function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}(r,n(e))}(e,De,ve)}function pe(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function he(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!xe(e)||function(e){return!!P&&P in e}(e))&&(Ce(e)?R:s).test(ye(e))}(n)?n:void 0}ne.prototype.clear=function(){this.__data__=Y?Y(null):{},this.size=0},ne.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ne.prototype.get=function(e){var t=this.__data__;if(Y){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return I.call(t,e)?t[e]:void 0},ne.prototype.has=function(e){var t=this.__data__;return Y?void 0!==t[e]:I.call(t,e)},ne.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Y&&void 0===t?"__lodash_hash_undefined__":t,this},re.prototype.clear=function(){this.__data__=[],this.size=0},re.prototype.delete=function(e){var t=this.__data__,n=se(t,e);return!(n<0||(n==t.length-1?t.pop():z.call(t,n,1),--this.size,0))},re.prototype.get=function(e){var t=this.__data__,n=se(t,e);return n<0?void 0:t[n][1]},re.prototype.has=function(e){return se(this.__data__,e)>-1},re.prototype.set=function(e,t){var n=this.__data__,r=se(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},oe.prototype.clear=function(){this.size=0,this.__data__={hash:new ne,map:new(B||re),string:new ne}},oe.prototype.delete=function(e){var t=pe(this,e).delete(e);return this.size-=t?1:0,t},oe.prototype.get=function(e){return pe(this,e).get(e)},oe.prototype.has=function(e){return pe(this,e).has(e)},oe.prototype.set=function(e,t){var n=pe(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},ie.prototype.add=ie.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},ie.prototype.has=function(e){return this.__data__.has(e)},ae.prototype.clear=function(){this.__data__=new re,this.size=0},ae.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},ae.prototype.get=function(e){return this.__data__.get(e)},ae.prototype.has=function(e){return this.__data__.has(e)},ae.prototype.set=function(e,t){var n=this.__data__;if(n instanceof re){var r=n.__data__;if(!B||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new oe(r)}return n.set(e,t),this.size=n.size,this};var ve=H?function(e){return null==e?[]:(e=Object(e),function(t,n){for(var r=-1,o=null==t?0:t.length,i=0,a=[];++r<o;){var s=t[r];l=s,L.call(e,l)&&(a[i++]=s)}var l;return a}(H(e)))}:function(){return[]},ge=le;function me(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||l.test(e))&&e>-1&&e%1==0&&e<t}function ye(e){if(null!=e){try{return E.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function be(e,t){return e===t||e!=e&&t!=t}(U&&"[object DataView]"!=ge(new U(new ArrayBuffer(1)))||B&&ge(new B)!=o||V&&"[object Promise]"!=ge(V.resolve())||K&&ge(new K)!=a||q&&"[object WeakMap]"!=ge(new q))&&(ge=function(e){var t=le(e),n=t==i?e.constructor:void 0,r=n?ye(n):"";if(r)switch(r){case X:return"[object DataView]";case Z:return o;case $:return"[object Promise]";case J:return a;case Q:return"[object WeakMap]"}return t});var _e=ce(function(){return arguments}())?ce:function(e){return Te(e)&&I.call(e,"callee")&&!L.call(e,"callee")},we=Array.isArray,Se=W||function(){return!1};function Ce(e){if(!xe(e))return!1;var t=le(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Oe(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function xe(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Te(e){return null!=e&&"object"==typeof e}var ke=y?function(e){return function(t){return e(t)}}(y):function(e){return Te(e)&&Oe(e.length)&&!!c[le(e)]};function De(e){return null!=(t=e)&&Oe(t.length)&&!Ce(t)?function(e,t){var n=we(e),r=!n&&_e(e),o=!n&&!r&&Se(e),i=!n&&!r&&!o&&ke(e),a=n||r||o||i,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length;for(var c in e)!t&&!I.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||me(c,l))||s.push(c);return s}(e):function(e){if(n=(t=e)&&t.constructor,t!==("function"==typeof n&&n.prototype||k))return G(e);var t,n,r=[];for(var o in Object(e))I.call(e,o)&&"constructor"!=o&&r.push(o);return r}(e);var t}n.exports=function(e,t){return ue(e,t)}}).call(this,n(26),n(64)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultVerticalStrength=t.defaultHorizontalStrength=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.createHorizontalStrength=v,t.createVerticalStrength=g,t.default=function(e){var t=function(t){function n(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,t));return r.handleEvent=function(e){r.dragging&&!r.attached&&(r.attach(),r.updateScrolling(e))},r.updateScrolling=(0,c.default)((function(e){var t=r.container.getBoundingClientRect(),n={x:t.left,y:t.top,w:t.width,h:t.height},o=(0,p.getCoords)(e);r.scaleX=r.props.horizontalStrength(n,o),r.scaleY=r.props.verticalStrength(n,o),r.frame||!r.scaleX&&!r.scaleY||r.startScrolling()}),100,{trailing:!1}),r.scaleX=0,r.scaleY=0,r.frame=null,r.attached=!1,r.dragging=!1,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),o(n,[{key:"componentDidMount",value:function(){var e=this;this.container=(0,l.findDOMNode)(this.wrappedInstance),this.container.addEventListener("dragover",this.handleEvent),window.document.body.addEventListener("touchmove",this.handleEvent),this.clearMonitorSubscription=this.context.dragDropManager.getMonitor().subscribeToStateChange((function(){return e.handleMonitorChange()}))}},{key:"componentWillUnmount",value:function(){this.container.removeEventListener("dragover",this.handleEvent),window.document.body.removeEventListener("touchmove",this.handleEvent),this.clearMonitorSubscription(),this.stopScrolling()}},{key:"handleMonitorChange",value:function(){var e=this.context.dragDropManager.getMonitor().isDragging();!this.dragging&&e?this.dragging=!0:this.dragging&&!e&&(this.dragging=!1,this.stopScrolling())}},{key:"attach",value:function(){this.attached=!0,window.document.body.addEventListener("dragover",this.updateScrolling),window.document.body.addEventListener("touchmove",this.updateScrolling)}},{key:"detach",value:function(){this.attached=!1,window.document.body.removeEventListener("dragover",this.updateScrolling),window.document.body.removeEventListener("touchmove",this.updateScrolling)}},{key:"startScrolling",value:function(){var e=this,t=0;!function n(){var r=e.scaleX,o=e.scaleY,i=e.container,a=e.props,s=a.strengthMultiplier,l=a.onScrollChange;if(0!==s&&r+o!==0){if(t++%2){var c=i.scrollLeft,d=i.scrollTop,f=i.scrollWidth,h=i.scrollHeight,v=i.clientWidth,g=i.clientHeight;l(r?i.scrollLeft=(0,p.intBetween)(0,f-v,c+r*s):c,o?i.scrollTop=(0,p.intBetween)(0,h-g,d+o*s):d)}e.frame=(0,u.default)(n)}else e.stopScrolling()}()}},{key:"stopScrolling",value:function(){this.detach(),this.scaleX=0,this.scaleY=0,this.frame&&(u.default.cancel(this.frame),this.frame=null)}},{key:"render",value:function(){var t=this,n=this.props,o=(n.strengthMultiplier,n.verticalStrength,n.horizontalStrength,n.onScrollChange,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(n,["strengthMultiplier","verticalStrength","horizontalStrength","onScrollChange"]));return a.default.createElement(e,r({ref:function(e){t.wrappedInstance=e}},o))}}]),n}(i.Component);return t.displayName="Scrolling("+(0,d.default)(e)+")",t.propTypes={onScrollChange:s.default.func,verticalStrength:s.default.func,horizontalStrength:s.default.func,strengthMultiplier:s.default.number},t.defaultProps={onScrollChange:p.noop,verticalStrength:y,horizontalStrength:m,strengthMultiplier:30},t.contextTypes={dragDropManager:s.default.object},(0,f.default)(t,e)};var i=n(0),a=h(i),s=h(n(1)),l=n(11),c=h(n(272)),u=h(n(273)),d=h(n(276)),f=h(n(277)),p=n(278);function h(e){return e&&e.__esModule?e:{default:e}}function v(e){return function(t,n){var r=t.x,o=t.w,i=t.y,a=t.h,s=Math.min(o/2,e);if(n.x>=r&&n.x<=r+o&&n.y>=i&&n.y<=i+a){if(n.x<r+s)return(n.x-r-s)/s;if(n.x>r+o-s)return-(r+o-n.x-s)/s}return 0}}function g(e){return function(t,n){var r=t.y,o=t.h,i=t.x,a=t.w,s=Math.min(o/2,e);if(n.y>=r&&n.y<=r+o&&n.x>=i&&n.x<=i+a){if(n.y<r+s)return(n.y-r-s)/s;if(n.y>r+o-s)return-(r+o-n.y-s)/s}return 0}}var m=t.defaultHorizontalStrength=v(150),y=t.defaultVerticalStrength=g(150)},function(e,t,n){(function(t){var n=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,i=/^0o[0-7]+$/i,a=parseInt,s="object"==typeof t&&t&&t.Object===Object&&t,l="object"==typeof self&&self&&self.Object===Object&&self,c=s||l||Function("return this")(),u=Object.prototype.toString,d=Math.max,f=Math.min,p=function(){return c.Date.now()};function h(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==u.call(e)}(e))return NaN;if(h(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=h(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var s=o.test(e);return s||i.test(e)?a(e.slice(2),s?2:8):r.test(e)?NaN:+e}e.exports=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return h(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),function(e,t,n){var r,o,i,a,s,l,c=0,u=!1,g=!1,m=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=r,i=o;return r=o=void 0,c=t,a=e.apply(i,n)}function b(e){return c=e,s=setTimeout(w,t),u?y(e):a}function _(e){var n=e-l;return void 0===l||n>=t||n<0||g&&e-c>=i}function w(){var e=p();if(_(e))return S(e);s=setTimeout(w,function(e){var n=t-(e-l);return g?f(n,i-(e-c)):n}(e))}function S(e){return s=void 0,m&&r?y(e):(r=o=void 0,a)}function C(){var e=p(),n=_(e);if(r=arguments,o=this,l=e,n){if(void 0===s)return b(l);if(g)return s=setTimeout(w,t),y(l)}return void 0===s&&(s=setTimeout(w,t)),a}return t=v(t)||0,h(n)&&(u=!!n.leading,i=(g="maxWait"in n)?d(v(n.maxWait)||0,t):i,m="trailing"in n?!!n.trailing:m),C.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=o=s=void 0},C.flush=function(){return void 0===s?a:S(p())},C}(e,t,{leading:r,maxWait:t,trailing:o})}}).call(this,n(26))},function(e,t,n){(function(t){for(var r=n(274),o="undefined"==typeof window?t:window,i=["moz","webkit"],a="AnimationFrame",s=o["request"+a],l=o["cancel"+a]||o["cancelRequest"+a],c=0;!s&&c<i.length;c++)s=o[i[c]+"Request"+a],l=o[i[c]+"Cancel"+a]||o[i[c]+"CancelRequest"+a];if(!s||!l){var u=0,d=0,f=[];s=function(e){if(0===f.length){var t=r(),n=Math.max(0,1e3/60-(t-u));u=n+t,setTimeout((function(){var e=f.slice(0);f.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(u)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(n))}return f.push({handle:++d,callback:e,cancelled:!1}),d},l=function(e){for(var t=0;t<f.length;t++)f[t].handle===e&&(f[t].cancelled=!0)}}e.exports=function(e){return s.call(o,e)},e.exports.cancel=function(){l.apply(o,arguments)},e.exports.polyfill=function(e){e||(e=o),e.requestAnimationFrame=s,e.cancelAnimationFrame=l}}).call(this,n(26))},function(e,t,n){(function(t){(function(){var n,r,o,i,a,s;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:null!=t&&t.hrtime?(e.exports=function(){return(n()-a)/1e6},r=t.hrtime,i=(n=function(){var e;return 1e9*(e=r())[0]+e[1]})(),s=1e9*t.uptime(),a=i-s):Date.now?(e.exports=function(){return Date.now()-o},o=Date.now()):(e.exports=function(){return(new Date).getTime()-o},o=(new Date).getTime())}).call(this)}).call(this,n(275))},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var l,c=[],u=!1,d=-1;function f(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&p())}function p(){if(!u){var e=s(f);u=!0;for(var t=c.length;t;){for(l=c,c=[];++d<t;)l&&l[d].run();d=-1,t=c.length}l=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function v(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||u||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.displayName||e.name||("string"==typeof e&&e.length>0?e:"Unknown")}},function(e,t,n){"use strict";var r={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,arguments:!0,arity:!0},i="function"==typeof Object.getOwnPropertySymbols;e.exports=function(e,t,n){if("string"!=typeof t){var a=Object.getOwnPropertyNames(t);i&&(a=a.concat(Object.getOwnPropertySymbols(t)));for(var s=0;s<a.length;++s)if(!(r[a[s]]||o[a[s]]||n&&n[a[s]]))try{e[a[s]]=t[a[s]]}catch(e){}}return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.noop=function(){},t.intBetween=function(e,t,n){return Math.floor(Math.min(t,Math.max(e,n)))},t.getCoords=function(e){return"touchmove"===e.type?{x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY}:{x:e.clientX,y:e.clientY}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(232);Object.defineProperty(t,"DragDropContext",{enumerable:!0,get:function(){return l(r).default}});var o=n(280);Object.defineProperty(t,"DragDropContextProvider",{enumerable:!0,get:function(){return l(o).default}});var i=n(281);Object.defineProperty(t,"DragLayer",{enumerable:!0,get:function(){return l(i).default}});var a=n(282);Object.defineProperty(t,"DragSource",{enumerable:!0,get:function(){return l(a).default}});var s=n(288);function l(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"DropTarget",{enumerable:!0,get:function(){return l(s).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o,i,a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(0),l=(i=n(1))&&i.__esModule?i:{default:i},c=n(232),u=(o=r=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.backend=(0,c.unpackBackendForEs5Users)(e.backend),r.childContext=(0,c.createChildContext)(r.backend,{window:e&&e.window?e.window:n&&n.window?n.window:"undefined"!=typeof window?window:void 0}),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"componentWillReceiveProps",value:function(e){if(e.backend!==this.props.backend||e.window!==this.props.window)throw new Error("DragDropContextProvider backend and window props must not change.")}},{key:"getChildContext",value:function(){return this.childContext}},{key:"render",value:function(){return s.Children.only(this.props.children)}}]),t}(s.Component),r.propTypes={backend:l.default.oneOfType([l.default.func,l.default.object]).isRequired,children:l.default.element.isRequired,window:l.default.object},r.defaultProps={window:void 0},r.childContextTypes=c.CHILD_CONTEXT_TYPES,r.displayName="DragDropContextProvider",r.contextTypes={window:l.default.object},o);t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return h.default.apply(void 0,["DragLayer","collect[, options]"].concat(Array.prototype.slice.call(arguments))),(0,d.default)("function"==typeof e,'Expected "collect" provided as the first argument to DragLayer to be a function that collects props to inject into the component. ',"Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html",e),(0,d.default)((0,u.default)(t),'Expected "options" provided as the second argument to DragLayer to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-layer.html',t),function(n){var u,h,v=t.arePropsEqual,b=void 0===v?p.default:v,_=n.displayName||n.name||"Component",w=(h=u=function(t){function a(e,t){g(this,a);var n=m(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return n.handleChange=n.handleChange.bind(n),n.manager=t.dragDropManager,(0,d.default)("object"===o(n.manager),"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://react-dnd.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context",_,_),n.state=n.getCurrentState(),n}return y(a,t),i(a,[{key:"getDecoratedComponentInstance",value:function(){return(0,d.default)(this.child,"In order to access an instance of the decorated component it can not be a stateless component."),this.child}},{key:"shouldComponentUpdate",value:function(e,t){return!b(e,this.props)||!(0,f.default)(t,this.state)}}]),i(a,[{key:"componentDidMount",value:function(){this.isCurrentlyMounted=!0;var e=this.manager.getMonitor();this.unsubscribeFromOffsetChange=e.subscribeToOffsetChange(this.handleChange),this.unsubscribeFromStateChange=e.subscribeToStateChange(this.handleChange),this.handleChange()}},{key:"componentWillUnmount",value:function(){this.isCurrentlyMounted=!1,this.unsubscribeFromOffsetChange(),this.unsubscribeFromStateChange()}},{key:"handleChange",value:function(){if(this.isCurrentlyMounted){var e=this.getCurrentState();(0,f.default)(e,this.state)||this.setState(e)}}},{key:"getCurrentState",value:function(){var t=this.manager.getMonitor();return e(t)}},{key:"render",value:function(){var e=this;return s.default.createElement(n,r({},this.props,this.state,{ref:function(t){e.child=t}}))}}]),a}(a.Component),u.DecoratedComponent=n,u.displayName="DragLayer("+_+")",u.contextTypes={dragDropManager:l.default.object.isRequired},h);return(0,c.default)(w,n)}};var a=n(0),s=v(a),l=v(n(1)),c=v(n(30)),u=v(n(15)),d=v(n(12)),f=v(n(215)),p=v(n(233)),h=v(n(102));function v(e){return e&&e.__esModule?e:{default:e}}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function y(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var f=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};i.default.apply(void 0,["DragSource","type, spec, collect[, options]"].concat(Array.prototype.slice.call(arguments)));var p=e;"function"!=typeof e&&((0,r.default)((0,d.default)(e),'Expected "type" provided as the first argument to DragSource to be a string, or a function that returns a string given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',e),p=function(){return e}),(0,r.default)((0,o.default)(t),'Expected "spec" provided as the second argument to DragSource to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',t);var h=(0,l.default)(t);return(0,r.default)("function"==typeof n,'Expected "collect" provided as the third argument to DragSource to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',n),(0,r.default)((0,o.default)(f),'Expected "options" provided as the fourth argument to DragSource to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',n),function(e){return(0,a.default)({connectBackend:function(e,t){return e.connectDragSource(t)},containerDisplayName:"DragSource",createHandler:h,registerHandler:s.default,createMonitor:c.default,createConnector:u.default,DecoratedComponent:e,getType:p,collect:n,options:f})}};var r=f(n(12)),o=f(n(15)),i=f(n(102)),a=f(n(234)),s=f(n(283)),l=f(n(284)),c=f(n(285)),u=f(n(286)),d=f(n(237));function f(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=n.getRegistry(),o=r.addSource(e,t);return{handlerId:o,unregister:function(){r.removeSource(o)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){Object.keys(e).forEach((function(t){(0,o.default)(a.indexOf(t)>-1,'Expected the drag source specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html',a.join(", "),t),(0,o.default)("function"==typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html",t,t,e[t])})),s.forEach((function(t){(0,o.default)("function"==typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source.html",t,t,e[t])}));var t=function(){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.monitor=e,this.props=null,this.component=null}return r(t,[{key:"receiveProps",value:function(e){this.props=e}},{key:"receiveComponent",value:function(e){this.component=e}},{key:"canDrag",value:function(){return!e.canDrag||e.canDrag(this.props,this.monitor)}},{key:"isDragging",value:function(t,n){return e.isDragging?e.isDragging(this.props,this.monitor):n===t.getSourceId()}},{key:"beginDrag",value:function(){return e.beginDrag(this.props,this.monitor,this.component)}},{key:"endDrag",value:function(){e.endDrag&&e.endDrag(this.props,this.monitor,this.component)}}]),t}();return function(e){return new t(e)}};var o=i(n(12));function i(e){return e&&e.__esModule?e:{default:e}}i(n(15));var a=["canDrag","beginDrag","isDragging","endDrag"],s=["beginDrag"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){return new l(e)};var o,i=(o=n(12))&&o.__esModule?o:{default:o},a=!1,s=!1,l=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.internalMonitor=t.getMonitor()}return r(e,[{key:"receiveHandlerId",value:function(e){this.sourceId=e}},{key:"canDrag",value:function(){(0,i.default)(!a,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source-monitor.html");try{return a=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{a=!1}}},{key:"isDragging",value:function(){(0,i.default)(!s,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drag-source-monitor.html");try{return s=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{s=!1}}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=void 0,n=void 0,i=void 0,a=void 0,s=void 0,l=void 0,c=void 0;function u(){a&&(a(),a=null),t&&n&&(a=e.connectDragSource(t,n,i))}function d(){c&&(c(),c=null),t&&s&&(c=e.connectDragPreview(t,s,l))}return{receiveHandlerId:function(e){e!==t&&(t=e,u(),d())},hooks:(0,r.default)({dragSource:function(e,t){e===n&&(0,o.default)(t,i)||(n=e,i=t,u())},dragPreview:function(e,t){e===s&&(0,o.default)(t,l)||(s=e,l=t,d())}})}};var r=i(n(235)),o=i(n(236));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e.ref;return(0,o.default)("string"!=typeof n,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute"),n?(0,i.cloneElement)(e,{ref:function(e){t(e),n&&n(e)}}):(0,i.cloneElement)(e,{ref:t})};var r,o=(r=n(12))&&r.__esModule?r:{default:r},i=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var f=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};i.default.apply(void 0,["DropTarget","type, spec, collect[, options]"].concat(Array.prototype.slice.call(arguments)));var p=e;"function"!=typeof e&&((0,r.default)((0,d.default)(e,!0),'Expected "type" provided as the first argument to DropTarget to be a string, an array of strings, or a function that returns either given the current props. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',e),p=function(){return e}),(0,r.default)((0,o.default)(t),'Expected "spec" provided as the second argument to DropTarget to be a plain object. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',t);var h=(0,l.default)(t);return(0,r.default)("function"==typeof n,'Expected "collect" provided as the third argument to DropTarget to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',n),(0,r.default)((0,o.default)(f),'Expected "options" provided as the fourth argument to DropTarget to be a plain object when specified. Instead, received %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',n),function(e){return(0,a.default)({connectBackend:function(e,t){return e.connectDropTarget(t)},containerDisplayName:"DropTarget",createHandler:h,registerHandler:s.default,createMonitor:c.default,createConnector:u.default,DecoratedComponent:e,getType:p,collect:n,options:f})}};var r=f(n(12)),o=f(n(15)),i=f(n(102)),a=f(n(234)),s=f(n(289)),l=f(n(290)),c=f(n(291)),u=f(n(292)),d=f(n(237));function f(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=n.getRegistry(),o=r.addTarget(e,t);return{handlerId:o,unregister:function(){r.removeTarget(o)}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){Object.keys(e).forEach((function(t){(0,o.default)(a.indexOf(t)>-1,'Expected the drop target specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html',a.join(", "),t),(0,o.default)("function"==typeof e[t],"Expected %s in the drop target specification to be a function. Instead received a specification with %s: %s. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target.html",t,t,e[t])}));var t=function(){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.monitor=e,this.props=null,this.component=null}return r(t,[{key:"receiveProps",value:function(e){this.props=e}},{key:"receiveMonitor",value:function(e){this.monitor=e}},{key:"receiveComponent",value:function(e){this.component=e}},{key:"canDrop",value:function(){return!e.canDrop||e.canDrop(this.props,this.monitor)}},{key:"hover",value:function(){e.hover&&e.hover(this.props,this.monitor,this.component)}},{key:"drop",value:function(){if(e.drop)return e.drop(this.props,this.monitor,this.component)}}]),t}();return function(e){return new t(e)}};var o=i(n(12));function i(e){return e&&e.__esModule?e:{default:e}}i(n(15));var a=["canDrop","hover","drop"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){return new s(e)};var o,i=(o=n(12))&&o.__esModule?o:{default:o},a=!1,s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.internalMonitor=t.getMonitor()}return r(e,[{key:"receiveHandlerId",value:function(e){this.targetId=e}},{key:"canDrop",value:function(){(0,i.default)(!a,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs-drop-target-monitor.html");try{return a=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{a=!1}}},{key:"isOver",value:function(e){return this.internalMonitor.isOverTarget(this.targetId,e)}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=void 0,n=void 0,i=void 0,a=void 0;function s(){a&&(a(),a=null),t&&n&&(a=e.connectDropTarget(t,n,i))}return{receiveHandlerId:function(e){e!==t&&(t=e,s())},hooks:(0,r.default)({dropTarget:function(e,t){e===n&&(0,o.default)(t,i)||(n=e,i=t,s())}})}};var r=i(n(235)),o=i(n(236));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEmptyImage=t.NativeTypes=void 0,t.default=function(e){return new r.default(e)};var r=a(n(294)),o=a(n(300)),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(216));function a(e){return e&&e.__esModule?e:{default:e}}t.NativeTypes=i,t.getEmptyImage=o.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=d(n(99)),i=d(n(295)),a=d(n(296)),s=n(238),l=n(297),c=n(299),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(216));function d(e){return e&&e.__esModule?e:{default:e}}var f=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.registry=t.getRegistry(),this.context=t.getContext(),this.sourcePreviewNodes={},this.sourcePreviewNodeOptions={},this.sourceNodes={},this.sourceNodeOptions={},this.enterLeaveCounter=new a.default,this.dragStartSourceIds=[],this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.currentDragSourceNodeOffset=null,this.currentDragSourceNodeOffsetChanged=!1,this.altKeyPressed=!1,this.getSourceClientOffset=this.getSourceClientOffset.bind(this),this.handleTopDragStart=this.handleTopDragStart.bind(this),this.handleTopDragStartCapture=this.handleTopDragStartCapture.bind(this),this.handleTopDragEndCapture=this.handleTopDragEndCapture.bind(this),this.handleTopDragEnter=this.handleTopDragEnter.bind(this),this.handleTopDragEnterCapture=this.handleTopDragEnterCapture.bind(this),this.handleTopDragLeaveCapture=this.handleTopDragLeaveCapture.bind(this),this.handleTopDragOver=this.handleTopDragOver.bind(this),this.handleTopDragOverCapture=this.handleTopDragOverCapture.bind(this),this.handleTopDrop=this.handleTopDrop.bind(this),this.handleTopDropCapture=this.handleTopDropCapture.bind(this),this.handleSelectStart=this.handleSelectStart.bind(this),this.endDragIfSourceWasRemovedFromDOM=this.endDragIfSourceWasRemovedFromDOM.bind(this),this.endDragNativeItem=this.endDragNativeItem.bind(this),this.asyncEndDragNativeItem=this.asyncEndDragNativeItem.bind(this),this.isNodeInDocument=this.isNodeInDocument.bind(this)}return r(e,[{key:"setup",value:function(){if(void 0!==this.window){if(this.window.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");this.window.__isReactDndBackendSetUp=!0,this.addEventListeners(this.window)}}},{key:"teardown",value:function(){void 0!==this.window&&(this.window.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.window),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId&&this.window.cancelAnimationFrame(this.asyncEndDragFrameId))}},{key:"addEventListeners",value:function(e){e.addEventListener&&(e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0))}},{key:"removeEventListeners",value:function(e){e.removeEventListener&&(e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0))}},{key:"connectDragPreview",value:function(e,t,n){var r=this;return this.sourcePreviewNodeOptions[e]=n,this.sourcePreviewNodes[e]=t,function(){delete r.sourcePreviewNodes[e],delete r.sourcePreviewNodeOptions[e]}}},{key:"connectDragSource",value:function(e,t,n){var r=this;this.sourceNodes[e]=t,this.sourceNodeOptions[e]=n;var o=function(t){return r.handleDragStart(t,e)},i=function(t){return r.handleSelectStart(t,e)};return t.setAttribute("draggable",!0),t.addEventListener("dragstart",o),t.addEventListener("selectstart",i),function(){delete r.sourceNodes[e],delete r.sourceNodeOptions[e],t.removeEventListener("dragstart",o),t.removeEventListener("selectstart",i),t.setAttribute("draggable",!1)}}},{key:"connectDropTarget",value:function(e,t){var n=this,r=function(t){return n.handleDragEnter(t,e)},o=function(t){return n.handleDragOver(t,e)},i=function(t){return n.handleDrop(t,e)};return t.addEventListener("dragenter",r),t.addEventListener("dragover",o),t.addEventListener("drop",i),function(){t.removeEventListener("dragenter",r),t.removeEventListener("dragover",o),t.removeEventListener("drop",i)}}},{key:"getCurrentSourceNodeOptions",value:function(){var e=this.monitor.getSourceId(),t=this.sourceNodeOptions[e];return(0,o.default)(t||{},{dropEffect:this.altKeyPressed?"copy":"move"})}},{key:"getCurrentDropEffect",value:function(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}},{key:"getCurrentSourcePreviewNodeOptions",value:function(){var e=this.monitor.getSourceId(),t=this.sourcePreviewNodeOptions[e];return(0,o.default)(t||{},{anchorX:.5,anchorY:.5,captureDraggingState:!1})}},{key:"getSourceClientOffset",value:function(e){return(0,l.getNodeClientOffset)(this.sourceNodes[e])}},{key:"isDraggingNativeItem",value:function(){var e=this.monitor.getItemType();return Object.keys(u).some((function(t){return u[t]===e}))}},{key:"beginDragNativeItem",value:function(e){this.clearCurrentDragSourceNode();var t=(0,c.createNativeDragSource)(e);this.currentNativeSource=new t,this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle]),(0,s.isFirefox)()&&this.window.addEventListener("mouseover",this.asyncEndDragNativeItem,!0)}},{key:"asyncEndDragNativeItem",value:function(){this.asyncEndDragFrameId=this.window.requestAnimationFrame(this.endDragNativeItem),(0,s.isFirefox)()&&(this.window.removeEventListener("mouseover",this.asyncEndDragNativeItem,!0),this.enterLeaveCounter.reset())}},{key:"endDragNativeItem",value:function(){this.isDraggingNativeItem()&&(this.actions.endDrag(),this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)}},{key:"isNodeInDocument",value:function(e){return!(!document.body.contains(e)&&!this.window)&&this.window.document.body.contains(e)}},{key:"endDragIfSourceWasRemovedFromDOM",value:function(){var e=this.currentDragSourceNode;this.isNodeInDocument(e)||this.clearCurrentDragSourceNode()&&this.actions.endDrag()}},{key:"setCurrentDragSourceNode",value:function(e){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e,this.currentDragSourceNodeOffset=(0,l.getNodeClientOffset)(e),this.currentDragSourceNodeOffsetChanged=!1,this.window.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}},{key:"clearCurrentDragSourceNode",value:function(){return!!this.currentDragSourceNode&&(this.currentDragSourceNode=null,this.currentDragSourceNodeOffset=null,this.currentDragSourceNodeOffsetChanged=!1,this.window.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0),!0)}},{key:"checkIfCurrentDragSourceRectChanged",value:function(){var e=this.currentDragSourceNode;return!!e&&(!!this.currentDragSourceNodeOffsetChanged||(this.currentDragSourceNodeOffsetChanged=!(0,i.default)((0,l.getNodeClientOffset)(e),this.currentDragSourceNodeOffset),this.currentDragSourceNodeOffsetChanged))}},{key:"handleTopDragStartCapture",value:function(){this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]}},{key:"handleDragStart",value:function(e,t){this.dragStartSourceIds.unshift(t)}},{key:"handleTopDragStart",value:function(e){var t=this,n=this.dragStartSourceIds;this.dragStartSourceIds=null;var r=(0,l.getEventClientOffset)(e);this.monitor.isDragging()&&this.actions.endDrag(),this.actions.beginDrag(n,{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:r});var o=e.dataTransfer,i=(0,c.matchNativeItemType)(o);if(this.monitor.isDragging()){if("function"==typeof o.setDragImage){var a=this.monitor.getSourceId(),s=this.sourceNodes[a],u=this.sourcePreviewNodes[a]||s,d=this.getCurrentSourcePreviewNodeOptions(),f={anchorX:d.anchorX,anchorY:d.anchorY},p={offsetX:d.offsetX,offsetY:d.offsetY},h=(0,l.getDragPreviewOffset)(s,u,r,f,p);o.setDragImage(u,h.x,h.y)}try{o.setData("application/json",{})}catch(e){}this.setCurrentDragSourceNode(e.target),this.getCurrentSourcePreviewNodeOptions().captureDraggingState?this.actions.publishDragSource():setTimeout((function(){return t.actions.publishDragSource()}))}else if(i)this.beginDragNativeItem(i);else{if(!(o.types||e.target.hasAttribute&&e.target.hasAttribute("draggable")))return;e.preventDefault()}}},{key:"handleTopDragEndCapture",value:function(){this.clearCurrentDragSourceNode()&&this.actions.endDrag()}},{key:"handleTopDragEnterCapture",value:function(e){if(this.dragEnterTargetIds=[],this.enterLeaveCounter.enter(e.target)&&!this.monitor.isDragging()){var t=e.dataTransfer,n=(0,c.matchNativeItemType)(t);n&&this.beginDragNativeItem(n)}}},{key:"handleDragEnter",value:function(e,t){this.dragEnterTargetIds.unshift(t)}},{key:"handleTopDragEnter",value:function(e){var t=this,n=this.dragEnterTargetIds;this.dragEnterTargetIds=[],this.monitor.isDragging()&&(this.altKeyPressed=e.altKey,(0,s.isFirefox)()||this.actions.hover(n,{clientOffset:(0,l.getEventClientOffset)(e)}),n.some((function(e){return t.monitor.canDropOnTarget(e)}))&&(e.preventDefault(),e.dataTransfer.dropEffect=this.getCurrentDropEffect()))}},{key:"handleTopDragOverCapture",value:function(){this.dragOverTargetIds=[]}},{key:"handleDragOver",value:function(e,t){this.dragOverTargetIds.unshift(t)}},{key:"handleTopDragOver",value:function(e){var t=this,n=this.dragOverTargetIds;if(this.dragOverTargetIds=[],!this.monitor.isDragging())return e.preventDefault(),void(e.dataTransfer.dropEffect="none");this.altKeyPressed=e.altKey,this.actions.hover(n,{clientOffset:(0,l.getEventClientOffset)(e)}),n.some((function(e){return t.monitor.canDropOnTarget(e)}))?(e.preventDefault(),e.dataTransfer.dropEffect=this.getCurrentDropEffect()):this.isDraggingNativeItem()?(e.preventDefault(),e.dataTransfer.dropEffect="none"):this.checkIfCurrentDragSourceRectChanged()&&(e.preventDefault(),e.dataTransfer.dropEffect="move")}},{key:"handleTopDragLeaveCapture",value:function(e){this.isDraggingNativeItem()&&e.preventDefault(),this.enterLeaveCounter.leave(e.target)&&this.isDraggingNativeItem()&&this.endDragNativeItem()}},{key:"handleTopDropCapture",value:function(e){this.dropTargetIds=[],e.preventDefault(),this.isDraggingNativeItem()&&this.currentNativeSource.mutateItemByReadingDataTransfer(e.dataTransfer),this.enterLeaveCounter.reset()}},{key:"handleDrop",value:function(e,t){this.dropTargetIds.unshift(t)}},{key:"handleTopDrop",value:function(e){var t=this.dropTargetIds;this.dropTargetIds=[],this.actions.hover(t,{clientOffset:(0,l.getEventClientOffset)(e)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.endDragIfSourceWasRemovedFromDOM()}},{key:"handleSelectStart",value:function(e){var t=e.target;"function"==typeof t.dragDrop&&("INPUT"===t.tagName||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable||(e.preventDefault(),t.dragDrop()))}},{key:"window",get:function(){return this.context&&this.context.window?this.context.window:"undefined"!=typeof window?window:void 0}}]),e}();t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e===t)return!0;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty,i=0;i<n.length;i+=1){if(!o.call(t,n[i])||e[n[i]]!==t[n[i]])return!1;if(e[n[i]]!==t[n[i]])return!1}return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=a(n(100)),i=a(n(63));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.entered=[]}return r(e,[{key:"enter",value:function(e){var t=this.entered.length;return this.entered=(0,o.default)(this.entered.filter((function(t){return document.documentElement.contains(t)&&(!t.contains||t.contains(e))})),[e]),0===t&&this.entered.length>0}},{key:"leave",value:function(e){var t=this.entered.length;return this.entered=(0,i.default)(this.entered.filter((function(e){return document.documentElement.contains(e)})),e),t>0&&0===this.entered.length}},{key:"reset",value:function(){this.entered=[]}}]),e}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNodeClientOffset=a,t.getEventClientOffset=function(e){return{x:e.clientX,y:e.clientY}},t.getDragPreviewOffset=function(e,t,n,r,s){var l,c,u="IMG"===(l=t).nodeName&&((0,o.isFirefox)()||!document.documentElement.contains(l)),d=a(u?e:t),f={x:n.x-d.x,y:n.y-d.y},p=e.offsetWidth,h=e.offsetHeight,v=r.anchorX,g=r.anchorY,m=function(e,t,n,r){var i=e?t.width:n,a=e?t.height:r;return(0,o.isSafari)()&&e&&(a/=window.devicePixelRatio,i/=window.devicePixelRatio),{dragPreviewWidth:i,dragPreviewHeight:a}}(u,t,p,h),y=m.dragPreviewWidth,b=m.dragPreviewHeight,_=s.offsetX,w=s.offsetY,S=0===w||w;return{x:0===_||_?_:new i.default([0,.5,1],[f.x,f.x/p*y,f.x+y-p]).interpolate(v),y:S?w:(c=new i.default([0,.5,1],[f.y,f.y/h*b,f.y+b-h]).interpolate(g),(0,o.isSafari)()&&u&&(c+=(window.devicePixelRatio-1)*b),c)}};var r,o=n(238),i=(r=n(298))&&r.__esModule?r:{default:r};function a(e){var t=1===e.nodeType?e:e.parentElement;if(!t)return null;var n=t.getBoundingClientRect(),r=n.top;return{x:n.left,y:r}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);for(var r=t.length,o=[],i=0;i<r;i++)o.push(i);o.sort((function(e,n){return t[e]<t[n]?-1:1}));for(var a=[],s=[],l=[],c=void 0,u=void 0,d=0;d<r-1;d++)c=t[d+1]-t[d],u=n[d+1]-n[d],s.push(c),a.push(u),l.push(u/c);for(var f=[l[0]],p=0;p<s.length-1;p++){var h=l[p],v=l[p+1];if(h*v<=0)f.push(0);else{c=s[p];var g=s[p+1],m=c+g;f.push(3*m/((m+g)/h+(m+c)/v))}}f.push(l[l.length-1]);for(var y=[],b=[],_=void 0,w=0;w<f.length-1;w++){_=l[w];var S=f[w],C=1/s[w],O=S+f[w+1]-_-_;y.push((_-S-O)*C),b.push(O*C*C)}this.xs=t,this.ys=n,this.c1s=f,this.c2s=y,this.c3s=b}return r(e,[{key:"interpolate",value:function(e){var t=this.xs,n=this.ys,r=this.c1s,o=this.c2s,i=this.c3s,a=t.length-1;if(e===t[a])return n[a];for(var s=0,l=i.length-1,c=void 0;s<=l;){var u=t[c=Math.floor(.5*(s+l))];if(u<e)s=c+1;else{if(!(u>e))return n[c];l=c-1}}var d=e-t[a=Math.max(0,l)],f=d*d;return n[a]+r[a]*d+o[a]*f+i[a]*d*f}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.createNativeDragSource=function(e){var t=l[e],n=t.exposeProperty,r=t.matchesTypes,i=t.getData;return function(){function e(){var t,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.item=(t={},(r={})[n]=r[n]||{},r[n].get=function(){return console.warn("Browser doesn't allow reading \""+n+'" until the drop event.'),null},function(e,t){for(var n in t){var r=t[n];r.configurable=r.enumerable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,n,r)}}(t,r),t)}return o(e,[{key:"mutateItemByReadingDataTransfer",value:function(e){delete this.item[n],this.item[n]=i(e,r)}},{key:"canDrag",value:function(){return!0}},{key:"beginDrag",value:function(){return this.item}},{key:"isDragging",value:function(e,t){return t===e.getSourceId()}},{key:"endDrag",value:function(){}}]),e}()},t.matchNativeItemType=function(e){var t=Array.prototype.slice.call(e.types||[]);return Object.keys(l).filter((function(e){return l[e].matchesTypes.some((function(e){return t.indexOf(e)>-1}))}))[0]||null};var i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(216));function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t,n){var r=t.reduce((function(t,n){return t||e.getData(n)}),null);return null!=r?r:n}var l=(a(r={},i.FILE,{exposeProperty:"files",matchesTypes:["Files"],getData:function(e){return Array.prototype.slice.call(e.files)}}),a(r,i.URL,{exposeProperty:"urls",matchesTypes:["Url","text/uri-list"],getData:function(e,t){return s(e,t,"").split("\n")}}),a(r,i.TEXT,{exposeProperty:"text",matchesTypes:["Text","text/plain"],getData:function(e,t){return s(e,t,"")}}),r)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return r||((r=new Image).src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),r};var r=void 0},function(e,t,n){e.exports={default:n(302),__esModule:!0}},function(e,t,n){n(303),e.exports=n(43).Object.assign},function(e,t,n){var r=n(65);r(r.S+r.F,"Object",{assign:n(305)})},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";var r=n(44),o=n(104),i=n(223),a=n(107),s=n(224),l=n(243),c=Object.assign;e.exports=!c||n(94)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=r}))?function(e,t){for(var n=s(e),c=arguments.length,u=1,d=i.f,f=a.f;c>u;)for(var p,h=l(arguments[u++]),v=d?o(h).concat(d(h)):o(h),g=v.length,m=0;g>m;)p=v[m++],r&&!f.call(h,p)||(n[p]=h[p]);return n}:c},function(e,t,n){var r=n(68),o=n(307),i=n(308);e.exports=function(e){return function(t,n,a){var s,l=r(t),c=o(l.length),u=i(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},function(e,t,n){var r=n(219),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(219),o=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):i(e,t)}},function(e,t,n){"use strict";var r=n(245),o={};function i(e,t,n,r,o,i,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}e.exports=function(e,t,n){var a=[],s={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",UNSAFE_componentWillMount:"DEFINE_MANY",UNSAFE_componentWillReceiveProps:"DEFINE_MANY",UNSAFE_componentWillUpdate:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},l={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},c={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)d(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=r({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=r({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=p(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=r({},e.propTypes,t)},statics:function(e,t){!function(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){if(i(!(n in c),'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n),n in e)return i("DEFINE_MANY_MERGED"===(l.hasOwnProperty(n)?l[n]:null),"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),void(e[n]=p(e[n],r));e[n]=r}}}(e,t)},autobind:function(){}};function u(e,t){var n=s.hasOwnProperty(t)?s[t]:null;y.hasOwnProperty(t)&&i("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&i("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function d(e,n){if(n){i("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),i(!t(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var r=e.prototype,o=r.__reactAutoBindPairs;for(var a in n.hasOwnProperty("mixins")&&c.mixins(e,n.mixins),n)if(n.hasOwnProperty(a)&&"mixins"!==a){var l=n[a],d=r.hasOwnProperty(a);if(u(d,a),c.hasOwnProperty(a))c[a](e,l);else{var f=s.hasOwnProperty(a);if("function"!=typeof l||f||d||!1===n.autobind)if(d){var v=s[a];i(f&&("DEFINE_MANY_MERGED"===v||"DEFINE_MANY"===v),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",v,a),"DEFINE_MANY_MERGED"===v?r[a]=p(r[a],l):"DEFINE_MANY"===v&&(r[a]=h(r[a],l))}else r[a]=l;else o.push(a,l),r[a]=l}}}}function f(e,t){for(var n in i(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(n)&&(i(void 0===e[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),e[n]=t[n]);return e}function p(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return f(o,n),f(o,r),o}}function h(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function v(e,t){return t.bind(e)}var g={componentDidMount:function(){this.__isMounted=!0}},m={componentWillUnmount:function(){this.__isMounted=!1}},y={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},b=function(){};return r(b.prototype,e.prototype,y),function(e){var t=function(e,r,a){this.__reactAutoBindPairs.length&&function(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var r=t[n],o=t[n+1];e[r]=v(e,o)}}(this),this.props=e,this.context=r,this.refs=o,this.updater=a||n,this.state=null;var s=this.getInitialState?this.getInitialState():null;i("object"==typeof s&&!Array.isArray(s),"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),this.state=s};for(var r in t.prototype=new b,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],a.forEach(d.bind(null,t)),d(t,g),d(t,e),d(t,m),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),i(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),s)t.prototype[r]||(t.prototype[r]=null);return t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0),a=((r=i)&&r.__esModule,n(246));function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var c=function(e){function t(){return s(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"getChildContext",value:function(){return{miniStore:this.props.store}}},{key:"render",value:function(){return i.Children.only(this.props.children)}}]),t}(i.Component);c.propTypes={store:a.storeShape.isRequired},c.childContextTypes={miniStore:a.storeShape.isRequired},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){var t=!!e,n=e||f;return function(d){var f=function(i){function l(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,e,t));return r.handleChange=function(){if(r.unsubscribe){var e=n(r.store.getState(),r.props);(0,s.default)(r.state.subscribed,e)||r.setState({subscribed:e})}},r.store=t.miniStore,r.state={subscribed:n(r.store.getState(),e),store:r.store,props:e},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(l,i),o(l,null,[{key:"getDerivedStateFromProps",value:function(t,r){return e&&2===e.length&&t!==r.props?{subscribed:n(r.store.getState(),t),props:t}:{props:t}}}]),o(l,[{key:"componentDidMount",value:function(){this.trySubscribe()}},{key:"componentWillUnmount",value:function(){this.tryUnsubscribe()}},{key:"trySubscribe",value:function(){t&&(this.unsubscribe=this.store.subscribe(this.handleChange),this.handleChange())}},{key:"tryUnsubscribe",value:function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)}},{key:"getWrappedInstance",value:function(){return this.wrappedInstance}},{key:"render",value:function(){var e=this,t=r({},this.props,this.state.subscribed,{store:this.store});return d.prototype.render&&(t=r({},t,{ref:function(t){return e.wrappedInstance=t}})),a.default.createElement(d,t)}}]),l}(i.Component);return f.displayName="Connect("+function(e){return e.displayName||e.name||"Component"}(d)+")",f.contextTypes={miniStore:u.storeShape.isRequired},(0,c.polyfill)(f),(0,l.default)(f,d)}};var i=n(0),a=d(i),s=d(n(312)),l=d(n(30)),c=n(23),u=n(246);function d(e){return e&&e.__esModule?e:{default:e}}var f=function(){return{}}},function(e,t){e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<i.length;l++){var c=i[l];if(!s(c))return!1;var u=e[c],d=t[c];if(!1===(o=n?n.call(r,u,d,c):void 0)||void 0===o&&u!==d)return!1}return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(e){var t=e,n=[];return{setState:function(e){t=r({},t,e);for(var o=0;o<n.length;o++)n[o]()},getState:function(){return t},subscribe:function(e){return n.push(e),function(){var t=n.indexOf(e);n.splice(t,1)}}}}},function(e,t,n){e.exports={default:n(315),__esModule:!0}},function(e,t,n){n(316),n(322),e.exports=n(228).f("iterator")},function(e,t,n){"use strict";var r=n(317)(!0);n(247)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(219),o=n(218);e.exports=function(e){return function(t,n){var i,a,s=String(o(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(i=s.charCodeAt(l))<55296||i>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):i:e?s.slice(l,l+2):a-56320+(i-55296<<10)+65536}}},function(e,t,n){"use strict";var r=n(226),o=n(103),i=n(227),a={};n(66)(a,n(69)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(60),o=n(93),i=n(104);e.exports=n(44)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var r=n(42).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(61),o=n(224),i=n(220)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){n(323);for(var r=n(42),o=n(66),i=n(225),a=n(69)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var c=s[l],u=r[c],d=u&&u.prototype;d&&!d[a]&&o(d,a,c),i[c]=i.Array}},function(e,t,n){"use strict";var r=n(324),o=n(325),i=n(225),a=n(68);e.exports=n(247)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){e.exports={default:n(327),__esModule:!0}},function(e,t,n){n(328),n(333),n(334),n(335),e.exports=n(43).Symbol},function(e,t,n){"use strict";var r=n(42),o=n(61),i=n(44),a=n(65),s=n(248),l=n(329).KEY,c=n(94),u=n(221),d=n(227),f=n(106),p=n(69),h=n(228),v=n(229),g=n(330),m=n(331),y=n(93),b=n(67),_=n(224),w=n(68),S=n(217),C=n(103),O=n(226),x=n(332),T=n(250),k=n(223),D=n(60),E=n(104),I=T.f,P=D.f,M=x.f,R=r.Symbol,N=r.JSON,j=N&&N.stringify,A=p("_hidden"),L=p("toPrimitive"),z={}.propertyIsEnumerable,F=u("symbol-registry"),H=u("symbols"),W=u("op-symbols"),G=Object.prototype,U="function"==typeof R&&!!k.f,B=r.QObject,V=!B||!B.prototype||!B.prototype.findChild,K=i&&c((function(){return 7!=O(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=I(G,t);r&&delete G[t],P(e,t,n),r&&e!==G&&P(G,t,r)}:P,q=function(e){var t=H[e]=O(R.prototype);return t._k=e,t},Y=U&&"symbol"==typeof R.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof R},X=function(e,t,n){return e===G&&X(W,t,n),y(e),t=S(t,!0),y(n),o(H,t)?(n.enumerable?(o(e,A)&&e[A][t]&&(e[A][t]=!1),n=O(n,{enumerable:C(0,!1)})):(o(e,A)||P(e,A,C(1,{})),e[A][t]=!0),K(e,t,n)):P(e,t,n)},Z=function(e,t){y(e);for(var n,r=g(t=w(t)),o=0,i=r.length;i>o;)X(e,n=r[o++],t[n]);return e},$=function(e){var t=z.call(this,e=S(e,!0));return!(this===G&&o(H,e)&&!o(W,e))&&(!(t||!o(this,e)||!o(H,e)||o(this,A)&&this[A][e])||t)},J=function(e,t){if(e=w(e),t=S(t,!0),e!==G||!o(H,t)||o(W,t)){var n=I(e,t);return!n||!o(H,t)||o(e,A)&&e[A][t]||(n.enumerable=!0),n}},Q=function(e){for(var t,n=M(w(e)),r=[],i=0;n.length>i;)o(H,t=n[i++])||t==A||t==l||r.push(t);return r},ee=function(e){for(var t,n=e===G,r=M(n?W:w(e)),i=[],a=0;r.length>a;)!o(H,t=r[a++])||n&&!o(G,t)||i.push(H[t]);return i};U||(s((R=function(){if(this instanceof R)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===G&&t.call(W,n),o(this,A)&&o(this[A],e)&&(this[A][e]=!1),K(this,e,C(1,n))};return i&&V&&K(G,e,{configurable:!0,set:t}),q(e)}).prototype,"toString",(function(){return this._k})),T.f=J,D.f=X,n(249).f=x.f=Q,n(107).f=$,k.f=ee,i&&!n(105)&&s(G,"propertyIsEnumerable",$,!0),h.f=function(e){return q(p(e))}),a(a.G+a.W+a.F*!U,{Symbol:R});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)p(te[ne++]);for(var re=E(p.store),oe=0;re.length>oe;)v(re[oe++]);a(a.S+a.F*!U,"Symbol",{for:function(e){return o(F,e+="")?F[e]:F[e]=R(e)},keyFor:function(e){if(!Y(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){V=!0},useSimple:function(){V=!1}}),a(a.S+a.F*!U,"Object",{create:function(e,t){return void 0===t?O(e):Z(O(e),t)},defineProperty:X,defineProperties:Z,getOwnPropertyDescriptor:J,getOwnPropertyNames:Q,getOwnPropertySymbols:ee});var ie=c((function(){k.f(1)}));a(a.S+a.F*ie,"Object",{getOwnPropertySymbols:function(e){return k.f(_(e))}}),N&&a(a.S+a.F*(!U||c((function(){var e=R();return"[null]"!=j([e])||"{}"!=j({a:e})||"{}"!=j(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!Y(e))return m(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!Y(t))return t}),r[1]=t,j.apply(N,r)}}),R.prototype[L]||n(66)(R.prototype,L,R.prototype.valueOf),d(R,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(e,t,n){var r=n(106)("meta"),o=n(67),i=n(61),a=n(60).f,s=0,l=Object.isExtensible||function(){return!0},c=!n(94)((function(){return l(Object.preventExtensions({}))})),u=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},d=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[r].w},onFreeze:function(e){return c&&d.NEED&&l(e)&&!i(e,r)&&u(e),e}}},function(e,t,n){var r=n(104),o=n(223),i=n(107);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,s=n(e),l=i.f,c=0;s.length>c;)l.call(e,a=s[c++])&&t.push(a);return t}},function(e,t,n){var r=n(244);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(68),o=n(249).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t){},function(e,t,n){n(229)("asyncIterator")},function(e,t,n){n(229)("observable")},function(e,t,n){e.exports={default:n(337),__esModule:!0}},function(e,t,n){n(338),e.exports=n(43).Object.setPrototypeOf},function(e,t,n){var r=n(65);r(r.S,"Object",{setPrototypeOf:n(339).set})},function(e,t,n){var r=n(67),o=n(93),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(239)(Function.call,n(250).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t,n){e.exports={default:n(341),__esModule:!0}},function(e,t,n){n(342);var r=n(43).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){var r=n(65);r(r.S,"Object",{create:n(226)})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(344)),i=r(n(245)),a=["altKey","bubbles","cancelable","ctrlKey","currentTarget","eventPhase","metaKey","shiftKey","target","timeStamp","view","type"];function s(e){return null==e}var l=[{reg:/^key/,props:["char","charCode","key","keyCode","which"],fix:function(e,t){s(e.which)&&(e.which=s(t.charCode)?t.keyCode:t.charCode),void 0===e.metaKey&&(e.metaKey=e.ctrlKey)}},{reg:/^touch/,props:["touches","changedTouches","targetTouches"]},{reg:/^hashchange$/,props:["newURL","oldURL"]},{reg:/^gesturechange$/i,props:["rotation","scale"]},{reg:/^(mousewheel|DOMMouseScroll)$/,props:[],fix:function(e,t){var n=void 0,r=void 0,o=void 0,i=t.wheelDelta,a=t.axis,s=t.wheelDeltaY,l=t.wheelDeltaX,c=t.detail;i&&(o=i/120),c&&(o=0-(c%3==0?c/3:c)),void 0!==a&&(a===e.HORIZONTAL_AXIS?(r=0,n=0-o):a===e.VERTICAL_AXIS&&(n=0,r=o)),void 0!==s&&(r=s/120),void 0!==l&&(n=-1*l/120),n||r||(r=o),void 0!==n&&(e.deltaX=n),void 0!==r&&(e.deltaY=r),void 0!==o&&(e.delta=o)}},{reg:/^mouse|contextmenu|click|mspointer|(^DOMMouseScroll$)/i,props:["buttons","clientX","clientY","button","offsetX","relatedTarget","which","fromElement","toElement","offsetY","pageX","pageY","screenX","screenY"],fix:function(e,t){var n=void 0,r=void 0,o=void 0,i=e.target,a=t.button;return i&&s(e.pageX)&&!s(t.clientX)&&(r=(n=i.ownerDocument||document).documentElement,o=n.body,e.pageX=t.clientX+(r&&r.scrollLeft||o&&o.scrollLeft||0)-(r&&r.clientLeft||o&&o.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||o&&o.scrollTop||0)-(r&&r.clientTop||o&&o.clientTop||0)),e.which||void 0===a||(e.which=1&a?1:2&a?3:4&a?2:0),!e.relatedTarget&&e.fromElement&&(e.relatedTarget=e.fromElement===i?e.toElement:e.fromElement),e}}];function c(){return!0}function u(){return!1}function d(e){var t=e.type,n="function"==typeof e.stopPropagation||"boolean"==typeof e.cancelBubble;o.default.call(this),this.nativeEvent=e;var r=u;"defaultPrevented"in e?r=e.defaultPrevented?c:u:"getPreventDefault"in e?r=e.getPreventDefault()?c:u:"returnValue"in e&&(r=!1===e.returnValue?c:u),this.isDefaultPrevented=r;var i=[],s=void 0,d=void 0,f=a.concat();for(l.forEach((function(e){t.match(e.reg)&&(f=f.concat(e.props),e.fix&&i.push(e.fix))})),s=f.length;s;)this[d=f[--s]]=e[d];for(!this.target&&n&&(this.target=e.srcElement||document),this.target&&3===this.target.nodeType&&(this.target=this.target.parentNode),s=i.length;s;)(0,i[--s])(this,e);this.timeStamp=e.timeStamp||Date.now()}var f=o.default.prototype;(0,i.default)(d.prototype,f,{constructor:d,preventDefault:function(){var e=this.nativeEvent;e.preventDefault?e.preventDefault():e.returnValue=!1,f.preventDefault.call(this)},stopPropagation:function(){var e=this.nativeEvent;e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,f.stopPropagation.call(this)}}),t.default=d,e.exports=t.default},function(e,t,n){"use strict";function r(){return!1}function o(){return!0}function i(){this.timeStamp=Date.now(),this.target=void 0,this.currentTarget=void 0}Object.defineProperty(t,"__esModule",{value:!0}),i.prototype={isEventObject:1,constructor:i,isDefaultPrevented:r,isPropagationStopped:r,isImmediatePropagationStopped:r,preventDefault:function(){this.isDefaultPrevented=o},stopPropagation:function(){this.isPropagationStopped=o},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=o,this.stopPropagation()},halt:function(e){e?this.stopImmediatePropagation():this.stopPropagation(),this.preventDefault()}},t.default=i,e.exports=t.default},function(e,t,n){n(346);var r=n(43).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(65);r(r.S+r.F*!n(44),"Object",{defineProperty:n(60).f})},function(e,t,n){"use strict";var r=n(348);e.exports=function(e,t,n){n=n||{},9===t.nodeType&&(t=r.getWindow(t));var o=n.allowHorizontalScroll,i=n.onlyScrollIfNeeded,a=n.alignWithTop,s=n.alignWithLeft,l=n.offsetTop||0,c=n.offsetLeft||0,u=n.offsetBottom||0,d=n.offsetRight||0;o=void 0===o||o;var f=r.isWindow(t),p=r.offset(e),h=r.outerHeight(e),v=r.outerWidth(e),g=void 0,m=void 0,y=void 0,b=void 0,_=void 0,w=void 0,S=void 0,C=void 0,O=void 0,x=void 0;f?(S=t,x=r.height(S),O=r.width(S),C={left:r.scrollLeft(S),top:r.scrollTop(S)},_={left:p.left-C.left-c,top:p.top-C.top-l},w={left:p.left+v-(C.left+O)+d,top:p.top+h-(C.top+x)+u},b=C):(g=r.offset(t),m=t.clientHeight,y=t.clientWidth,b={left:t.scrollLeft,top:t.scrollTop},_={left:p.left-(g.left+(parseFloat(r.css(t,"borderLeftWidth"))||0))-c,top:p.top-(g.top+(parseFloat(r.css(t,"borderTopWidth"))||0))-l},w={left:p.left+v-(g.left+y+(parseFloat(r.css(t,"borderRightWidth"))||0))+d,top:p.top+h-(g.top+m+(parseFloat(r.css(t,"borderBottomWidth"))||0))+u}),_.top<0||w.top>0?!0===a?r.scrollTop(t,b.top+_.top):!1===a?r.scrollTop(t,b.top+w.top):_.top<0?r.scrollTop(t,b.top+_.top):r.scrollTop(t,b.top+w.top):i||((a=void 0===a||!!a)?r.scrollTop(t,b.top+_.top):r.scrollTop(t,b.top+w.top)),o&&(_.left<0||w.left>0?!0===s?r.scrollLeft(t,b.left+_.left):!1===s?r.scrollLeft(t,b.left+w.left):_.left<0?r.scrollLeft(t,b.left+_.left):r.scrollLeft(t,b.left+w.left):i||((s=void 0===s||!!s)?r.scrollLeft(t,b.left+_.left):r.scrollLeft(t,b.left+w.left)))}},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function i(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],r="scroll"+(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}function a(e){return i(e)}function s(e){return i(e,!0)}function l(e){var t=function(e){var t,n=void 0,r=void 0,o=e.ownerDocument,i=o.body,a=o&&o.documentElement;return n=(t=e.getBoundingClientRect()).left,r=t.top,{left:n-=a.clientLeft||i.clientLeft||0,top:r-=a.clientTop||i.clientTop||0}}(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=a(r),t.top+=s(r),t}var c=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),u=/^(top|right|bottom|left)$/,d="left",f=void 0;function p(e,t){for(var n=0;n<e.length;n++)t(e[n])}function h(e){return"border-box"===f(e,"boxSizing")}"undefined"!=typeof window&&(f=window.getComputedStyle?function(e,t,n){var r="",o=e.ownerDocument,i=n||o.defaultView.getComputedStyle(e,null);return i&&(r=i.getPropertyValue(t)||i[t]),r}:function(e,t){var n=e.currentStyle&&e.currentStyle[t];if(c.test(n)&&!u.test(t)){var r=e.style,o=r[d],i=e.runtimeStyle[d];e.runtimeStyle[d]=e.currentStyle[d],r[d]="fontSize"===t?"1em":n||0,n=r.pixelLeft+"px",r[d]=o,e.runtimeStyle[d]=i}return""===n?"auto":n});var v=["margin","border","padding"];function g(e,t,n){var r={},o=e.style,i=void 0;for(i in t)t.hasOwnProperty(i)&&(r[i]=o[i],o[i]=t[i]);for(i in n.call(e),t)t.hasOwnProperty(i)&&(o[i]=r[i])}function m(e,t,n){var r=0,o=void 0,i=void 0,a=void 0;for(i=0;i<t.length;i++)if(o=t[i])for(a=0;a<n.length;a++){var s;s="border"===o?o+n[a]+"Width":o+n[a],r+=parseFloat(f(e,s))||0}return r}function y(e){return null!=e&&e==e.window}var b={};function _(e,t,n){if(y(e))return"width"===t?b.viewportWidth(e):b.viewportHeight(e);if(9===e.nodeType)return"width"===t?b.docWidth(e):b.docHeight(e);var r="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.offsetWidth:e.offsetHeight,i=(f(e),h(e)),a=0;(null==o||o<=0)&&(o=void 0,(null==(a=f(e,t))||Number(a)<0)&&(a=e.style[t]||0),a=parseFloat(a)||0),void 0===n&&(n=i?1:-1);var s=void 0!==o||i,l=o||a;if(-1===n)return s?l-m(e,["border","padding"],r):a;if(s){var c=2===n?-m(e,["border"],r):m(e,["margin"],r);return l+(1===n?0:c)}return a+m(e,v.slice(n),r)}p(["Width","Height"],(function(e){b["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],b["viewport"+e](n))},b["viewport"+e]=function(t){var n="client"+e,r=t.document,o=r.body,i=r.documentElement[n];return"CSS1Compat"===r.compatMode&&i||o&&o[n]||i}}));var w={position:"absolute",visibility:"hidden",display:"block"};function S(e){var t=void 0,n=arguments;return 0!==e.offsetWidth?t=_.apply(void 0,n):g(e,w,(function(){t=_.apply(void 0,n)})),t}function C(e,t,n){var r=n;if("object"!==(void 0===t?"undefined":o(t)))return void 0!==r?("number"==typeof r&&(r+="px"),void(e.style[t]=r)):f(e,t);for(var i in t)t.hasOwnProperty(i)&&C(e,i,t[i])}p(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);b["outer"+t]=function(t,n){return t&&S(t,e,n?0:1)};var n="width"===e?["Left","Right"]:["Top","Bottom"];b[e]=function(t,r){return void 0===r?t&&S(t,e,-1):t?(f(t),h(t)&&(r+=m(t,["padding","border"],n)),C(t,e,r)):void 0}})),e.exports=r({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return l(e);!function(e,t){"static"===C(e,"position")&&(e.style.position="relative");var n=l(e),r={},o=void 0,i=void 0;for(i in t)t.hasOwnProperty(i)&&(o=parseFloat(C(e,i))||0,r[i]=o+t[i]-n[i]);C(e,r)}(e,t)},isWindow:y,each:p,css:C,clone:function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);if(e.overflow)for(var n in e)e.hasOwnProperty(n)&&(t.overflow[n]=e.overflow[n]);return t},scrollLeft:function(e,t){if(y(e)){if(void 0===t)return a(e);window.scrollTo(t,s(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(y(e)){if(void 0===t)return s(e);window.scrollTo(a(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},b)},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r),i=n(11),a=n.n(i),s=n(5),l=n.n(s),c=n(6),u=n.n(c),d=n(7),f=n.n(d),p=n(8),h=n.n(p),v=n(4),g=n.n(v),m=n(2),y=n.n(m),b=n(10),_=n(45),w=n(96),S=n.n(w),C=n(253),O=n.n(C),x=n(16),T=n.n(x),k=n(9);function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var __=E({},window.wp.i18n).__,I=E({},window.wp.data),P=(I.dispatch,I.select,function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(){return l()(this,i),r.apply(this,arguments)}return u()(i,[{key:"render",value:function(){return o.a.createElement("div",{className:"FormAction___yp587"},o.a.createElement("div",{className:"SaveVisualButton___5cEkm"},o.a.createElement("button",{className:"button-primary",onClick:k.saveVisualForm},__("Save Visual","contact-form-7-skins"))," ",o.a.createElement("span",{className:"spinner cf7sSpinner ".concat("spinner___0AIlq")})))}}]),i}(r.Component)),M=n(14),R=n.n(M),N={Toolbar:"Toolbar___bIAvc",options:"options___deJZ5"};function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var L=A({},window.wp.i18n),z=(L.sprintf,L.__),F=A({},window.wp.data),H=F.dispatch,W=F.select,G=function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(){return l()(this,i),r.apply(this,arguments)}return u()(i,[{key:"render",value:function(){A({},W("cf7svisual").getStates()).showTreeData;var e,t,n,r=H("cf7svisual"),i=r.clickVisualObject,a=r.clickFormOptions,s=A(A({},this.props),{},{styles:N});return o.a.createElement("div",{className:N.Toolbar},!(!(n=Object(k.getVisualVar)("options"))||!n.showCopyPaste)&&o.a.createElement("span",{className:N.options,onClick:i,title:z("Visual Data","contact-form-7-skins"),"data-balloon":z("Copy & paste visual form data","contact-form-7-skins"),"data-balloon-pos":"up"},o.a.createElement("span",{className:"dashicons dashicons-media-code"}),z("Visual Data","contact-form-7-skins")),(t=!!(e=Object(k.getVisualVar)("addons"))&&e.get("itemToolbar"),e&&t?t.map((function(e,t){return o.a.createElement(e,R()({key:t},s))})):""),function(){var e=!1;if(window.cf7svisual.addons){var t=window.cf7svisual.addons.get("edit");if(t)for(var n=0;n<t.length;++n)t[n].types&&t[n].types.indexOf("form-options")>-1&&(e=!0)}if(e)return o.a.createElement("span",{className:N.options,onClick:a,title:z("Form Options","contact-form-7-skins"),"data-balloon":z("Configure this forms options","contact-form-7-skins"),"data-balloon-pos":"up"},o.a.createElement("span",{className:"dashicons dashicons-admin-generic"}),z("Form Options","contact-form-7-skins"))}())}}]),i}(r.Component),U={Control:"Control___6zWdj"};function B(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?B(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):B(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var K=V({},window.wp.i18n),q=(K.sprintf,K.__,V({},window.wp.data)),Y=(q.dispatch,q.select,function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(){return l()(this,i),r.apply(this,arguments)}return u()(i,[{key:"render",value:function(){return V(V({},this.props),{},{styles:U}),o.a.createElement("div",{className:U.Control},o.a.createElement(G,null))}}]),i}(r.Component)),X=n(18),Z=n.n(X),$=n(22);function J(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Q=function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(){return l()(this,i),r.apply(this,arguments)}return u()(i,[{key:"render",value:function(){var e=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?J(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):J(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},this.props),t=e.className,n=e.treeData,r=e.node,i=e.shortText,a=e.onChange,s=Z()(k.cf7sItems).filter((function(e){return"cf7Tag"===e.cf7sSelectGroup})),l=[];Object($.walk)({treeData:n,getNodeKey:function(e){return e.treeIndex},callback:function(e){l.push(e.node.cf7sType)}});var c=s.map((function(e,t){var n=null;return["submit","recaptcha"].indexOf(e.cf7sType)>-1&&l.indexOf(e.cf7sType)>-1&&(n=!0),o.a.createElement("option",{key:t,disabled:n,value:e.cf7sType},i?e.cf7sType:e.cf7sSelectLabel)}));return o.a.createElement("select",{className:t,value:r.cf7sType,onChange:function(e){return a(e)}},c)}}]),i}(r.Component),ee={Edit:"Edit___DsDI3",attribute:"attribute___ouspy",row:"row___I0yGU",label:"label___mfZTQ",value:"value___Z--gA",control:"control___+YNEW",default:"default___cYs1M",range:"range___wsPe8",option:"option___+t59z",description:"description___CvqdB",EditTypeSelect:"EditTypeSelect___rae3d",visualData:"visualData___oRYfW"};function te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?te(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):te(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var re=ne({},window.wp.i18n).__,oe=ne({},window.wp.data),ie=oe.dispatch,ae=oe.select,se=function(e){f()(a,e);var t,n,i=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function a(){return l()(this,a),i.apply(this,arguments)}return u()(a,[{key:"render",value:function(){var e=ae("cf7svisual").getStates(),t=e.treeData,n=e.rowInfo,i=e.showTreeData,a=ie("cf7svisual"),s=a.closeEdit,l=a.changeNodeType,c=a.editAddOption,u=a.editOnChange,d=a.editRemoveOption,f=a.validateInput,p=a.validateVisualData,h=a.editOnKeyPress,v=ne({},n).node,g=void 0===v?{}:v,m=g.cf7sSelectLabel,y=void 0===m?"":m,_=g.cf7sSelectGroup,w=void 0===_?"":_,S=g.cf7sType,C=void 0===S?"":S,O=g.cf7Required,x=void 0!==O&&O,T=g.cf7Name,D=void 0===T?"":T,E=g.cf7TagType,I=void 0===E?"":E,P=g.cf7sLabel,M=void 0===P?"":P,N=g.cf7Values,j=void 0===N?"":N,A=g.cf7Min,L=void 0===A?"":A,z=g.cf7Max,F=void 0===z?"":z,H=g.cf7Limit,W=void 0===H?"":H,G=g.cf7FileTypes,U=void 0===G?"":G,B=g.cf7sContent,V=void 0===B?"":B,K=g.cf7Multiple,q=void 0===K?"":K,Y=g.cf7DefaultOn,X=void 0===Y?"":Y,$=g.cf7Exclusive,J=void 0===$?"":$,te=g.cf7sOther,oe=void 0!==te&&te,se=g.cf7Invert,le=void 0===se?"":se,ce=g.cf7IncludeBlank,ue=void 0===ce?"":ce,de=g.cf7Placeholder,fe=void 0===de?"":de,pe=g.cf7UseLabelElement,he=void 0===pe?"":pe,ve=g.cf7LabelFirst,ge=void 0===ve?"":ve,me=g.cf7AkismetAuthor,ye=void 0===me?"":me,be=g.cf7AkismetAuthorUrl,_e=void 0===be?"":be,we=g.cf7AkismetAuthorEmail,Se=void 0===we?"":we,Ce=g.cf7Content,Oe=void 0===Ce?"":Ce,xe=g.cf7Theme,Te=void 0===xe?"":xe,ke=g.cf7Size,De=void 0===ke?"":ke,Ee=g.cf7IdAttribute,Ie=void 0===Ee?"":Ee,Pe=g.cf7ClassAttribute,Me=void 0===Pe?"":Pe,Re=g.cf7Optional,Ne=void 0===Re?"":Re,je=g.cf7Options,Ae=void 0===je?null:je,Le=Object(k.getVisualVar)("versions"),ze=Le&&Le.cf7?Le.cf7:"0",Fe=Object(k.getVisualVar)("integration"),He=!(!Fe||!Fe.reCAPTCHA)&&Fe.reCAPTCHA,We=[];if(We.push("cf7Tag"===w&&["radio","acceptance","quiz","submit","recaptcha"].indexOf(C)<0&&o.a.createElement("div",{className:ee.attribute,key:"sectionTypeRequired"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"required"},re("Field Type","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},"number"===C&&o.a.createElement("select",{type:"text",id:"cf7TagType",name:"cf7TagType",value:I,onChange:u},o.a.createElement("option",{value:"number"},re("Spinbox","contact-form-7-skins")),o.a.createElement("option",{value:"range"},re("Slider","contact-form-7-skins"))),o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7Required",id:"cf7Required",value:x,checked:x,onChange:u})," ",re("Required","contact-form-7-skins")))),"cf7Tag"===w&&["submit","recaptcha"].indexOf(C)<0&&o.a.createElement("div",{className:ee.attribute,key:"sectionName"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"cf7Name"},re("Name","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},o.a.createElement("input",{type:"text",id:"cf7Name",name:"cf7Name",value:D,onBlur:f,onChange:u}))),["acceptance"].indexOf(C)>-1&&o.a.createElement("div",{className:ee.attribute,key:"sectionAcceptanceCondition"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"cf7AcceptanceContent"},re("Condition","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},o.a.createElement("input",{type:"text",id:"cf7AcceptanceContent",name:"cf7Content",value:Oe,onBlur:f,onChange:u}))),("fieldset"===C||"cf7Tag"===w)&&o.a.createElement("div",{className:ee.attribute,key:"sectionLabelLegend"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"cf7sLabel"},re("fieldset"===C?"Legend":"Label","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},o.a.createElement("input",{type:"text",id:"cf7sLabel",name:"cf7sLabel",value:M,onBlur:f,onChange:u}))),["text","email","url","tel","number","date","textarea"].indexOf(C)>-1&&o.a.createElement("div",{className:ee.attribute,key:"sectionValuesPlaceholder"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"cf7Values"},re("Default Value","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},o.a.createElement("input",{type:"text",id:"cf7Values",name:"cf7Values",value:j,onBlur:f,onChange:u}),o.a.createElement("br",null),o.a.createElement("br",null),o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7Placeholder",value:fe,checked:fe,onChange:u})," ",re("Use this text as the placeholder of the field","contact-form-7-skins")))),["text","email","url"].indexOf(C)>-1&&o.a.createElement("div",{className:ee.attribute,key:"sectionAkismet"},o.a.createElement("div",{className:ee.label},"Akismet"),o.a.createElement("div",{className:ee.value},"text"===C&&o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",id:"cf7AkismetAuthor",name:"cf7AkismetAuthor",checked:ye,value:ye,onChange:u})," ",re("This field requires author's name","contact-form-7-skins")),"email"===C&&o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",id:"cf7AkismetAuthorEmail",name:"cf7AkismetAuthorEmail",checked:Se,value:Se,onChange:u})," ",re("This field requires author's email address","contact-form-7-skins")),"url"===C&&o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",id:"cf7AkismetAuthorUrl",name:"cf7AkismetAuthorUrl",checked:_e,value:_e,onChange:u})," ",re("This field requires author's URL","contact-form-7-skins")))),("number"===C||"date"===C)&&o.a.createElement("div",{className:ee.attribute,key:"sectionRange"},o.a.createElement("div",{className:ee.label},re("Range","contact-form-7-skins")),o.a.createElement("div",{className:ee.value},o.a.createElement("div",{className:ee.row},o.a.createElement("label",{className:ee.range},re("Min","contact-form-7-skins"),o.a.createElement("input",{type:C,name:"cf7Min",value:L,onChange:u})),o.a.createElement("label",{className:ee.range},re("Max","contact-form-7-skins"),o.a.createElement("input",{type:C,name:"cf7Max",value:F,onChange:u}))))),"paragraph"===C&&o.a.createElement("div",{className:ee.attribute,key:"sectionParagraph"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"paragraph"},re("Content","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},o.a.createElement("textarea",{type:"text",id:"cf7sContent",name:"cf7sContent",value:V,onBlur:f,onChange:u,rows:"4"}),o.a.createElement("p",{className:ee.description},o.a.createElement("a",{href:"https://developer.mozilla.org/en-US/docs/Web/HTML/Content_categories#Phrasing_content",target:"_blank",rel:"noopener noreferrer"},re("See paragraph permitted phrasing content specification","contact-form-7-skins"))))),"acceptance"===C&&o.a.createElement("div",{className:ee.attribute,key:"sectionAcceptanceOptions"},o.a.createElement("div",{className:ee.label},re("Options","contact-form-7-skins")),o.a.createElement("div",{className:ee.value},!Object(k.versionCompare)(ze,"5.0.3")&&o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7DefaultOn",value:X,checked:X,onChange:u})," ",re("Make this checkbox checked by default","contact-form-7-skins"))),!Object(k.versionCompare)(ze,"5.0.3")&&o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7Invert",value:le,checked:le,onChange:u})," ",re("Make this work inversely","contact-form-7-skins"))),Object(k.versionCompare)(ze,"5.0.3")&&o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7Optional",value:Ne,checked:Ne,onChange:u})," ",re("Make this checkbox optional","contact-form-7-skins"))))),Ae&&o.a.createElement("div",{className:ee.attribute,key:"cf7Options"},o.a.createElement("div",{className:ee.label},re("Options","contact-form-7-skins")),o.a.createElement("div",{className:ee.value},o.a.createElement("div",{className:ee.row},o.a.createElement("div",{className:ee.option},("select"===C||"checkbox"===C||"radio"===C)&&"Option","quiz"===C&&"Question"),o.a.createElement("div",{className:ee.default},o.a.createElement("span",null,("select"===C||"checkbox"===C)&&"Checked","radio"===C&&re("Default","contact-form-7-skins"),"quiz"===C&&re("Answer","contact-form-7-skins"))),o.a.createElement("div",{className:ee.control},o.a.createElement("span",{className:"dashicons dashicons-plus",onClick:c}))),("radio"===C||"select"===C||"checkbox"===C||"quiz"===C)&&Ae&&Ae.map((function(e,t){return o.a.createElement("div",{className:ee.row,key:"option_".concat(t+1)},o.a.createElement("div",{className:ee.option},"quiz"!==C&&o.a.createElement("input",{type:"text",name:"value",value:e.value,onChange:function(e){u(e,"cf7Options",t)}}),"quiz"===C&&o.a.createElement("input",{type:"text",name:"question",value:e.question,onChange:function(e){u(e,"cf7Options",t)}})),o.a.createElement("div",{className:ee.default},"quiz"===C&&o.a.createElement("input",{name:"answer",type:"text",value:e.answer,onChange:function(e){u(e,"cf7Options",t)}}),"radio"===C&&o.a.createElement("input",{type:"radio",name:"isChecked",value:e.isChecked,checked:e.isChecked,onChange:function(e){u(e,"cf7Options",t)}}),("select"===C||"checkbox"===C)&&o.a.createElement("input",{type:"checkbox",name:"isChecked",value:e.isChecked,checked:e.isChecked,onChange:function(e){return function(e,t){if(J){var r=Ae.map((function(e,n){return e.isChecked=t===n,e}));n.node.cf7Options=r,u(null,null,null,n)}else u(e,"cf7Options",t)}(e,t)}})),o.a.createElement("div",{className:ee.control},o.a.createElement("span",{className:"dashicons dashicons-no",onClick:function(e){d(e,t)}})))})),o.a.createElement("br",null),("checkbox"===C||"radio"===C||"select"===C)&&o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7sOther",value:oe,checked:oe,onChange:function(e){return t=e.target.checked,r=Ae,t?r.push({value:re("Other","contact-form-7-skins"),isChecked:!1,other:!0}):r=Object(b.remove)(r,(function(e){return!e.other})),n.node.cf7sOther=t,n.node.cf7Options=r,void u(null,null,null,n);var t,r}})," ",re("Add Other as last option","contact-form-7-skins"))),"select"===C&&o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7Multiple",value:q,checked:q,onChange:u})," ",re("Allow multiple selections","contact-form-7-skins"))),"select"===C&&o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7IncludeBlank",value:ue,checked:ue,onChange:u})," ",re("Insert a blank item as the first option","contact-form-7-skins"))),("checkbox"===C||"radio"===C)&&o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7LabelFirst",value:ge,checked:ge,onChange:u})," ",re("Put a label first, a checkbox last","contact-form-7-skins"))),("checkbox"===C||"radio"===C)&&o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7UseLabelElement",value:he,checked:he,onChange:u})," ",re("Wrap each item with label element","contact-form-7-skins"))),"checkbox"===C&&o.a.createElement("div",null,o.a.createElement("label",null,o.a.createElement("input",{type:"checkbox",name:"cf7Exclusive",value:J,checked:J,onChange:function(e){return function(e){if(!1===J){var t=!1,r=Ae.map((function(e){return!0===e.isChecked&&(t?e.isChecked=!1:t=!0),e}));n.node.cf7Options=r,n.node.cf7Exclusive=!0,u(null,null,null,n)}else u(e)}(e)}})," ",re("Make checkboxes exclusive","contact-form-7-skins"))))),"file"===C&&o.a.createElement("div",{className:ee.attribute,key:"cf7Limit"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"cf7Limit"},re("File size limit (bytes)","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},o.a.createElement("input",{type:"text",id:"cf7Limit",name:"cf7Limit",value:W,onBlur:f,onChange:u}))),"file"===C&&o.a.createElement("div",{className:ee.attribute,key:"cf7FileTypes"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"cf7FileTypes"},re("Acceptable file types","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},o.a.createElement("input",{type:"text",id:"cf7FileTypes",name:"cf7FileTypes",value:U,onBlur:f,onChange:u}))),!!He&&"recaptcha"===C&&o.a.createElement("div",{key:"cf7reCAPTCHA"},o.a.createElement("div",{className:ee.attribute},o.a.createElement("div",{className:ee.label},re("Size","contact-form-7-skins")),o.a.createElement("div",{className:ee.value},o.a.createElement("label",null,o.a.createElement("input",{type:"radio",name:"cf7Size",value:"normal",checked:"normal"===De,onBlur:f,onChange:u})," ",re("Normal","contact-form-7-skins")),o.a.createElement("br",null),o.a.createElement("label",null,o.a.createElement("input",{type:"radio",name:"cf7Size",value:"compact",checked:"compact"===De,onBlur:f,onChange:u})," ",re("Compact","contact-form-7-skins")))),o.a.createElement("div",{className:ee.attribute},o.a.createElement("div",{className:ee.label},re("Theme","contact-form-7-skins")),o.a.createElement("div",{className:ee.value},o.a.createElement("label",null,o.a.createElement("input",{type:"radio",name:"cf7Theme",value:"light",checked:"light"===Te,onBlur:f,onChange:u})," ",re("Light","contact-form-7-skins")),o.a.createElement("br",null),o.a.createElement("label",null,o.a.createElement("input",{type:"radio",name:"cf7Theme",value:"dark",checked:"dark"===Te,onBlur:f,onChange:u})," ",re("Dark","contact-form-7-skins"))))),"cf7Tag"===w&&o.a.createElement("div",{className:ee.attribute,key:"cf7IdAttribute"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"cf7IdAttribute"},re("Id Attribute","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},o.a.createElement("input",{type:"text",id:"cf7IdAttribute",name:"cf7IdAttribute",value:Ie,onBlur:f,onChange:u}))),"cf7Tag"===w&&o.a.createElement("div",{className:ee.attribute,key:"cf7ClassAttribute"},o.a.createElement("div",{className:ee.label},o.a.createElement("label",{htmlFor:"cf7ClassAttribute"},re("Class Attribute","contact-form-7-skins"))),o.a.createElement("div",{className:ee.value},o.a.createElement("input",{type:"text",id:"cf7ClassAttribute",name:"cf7ClassAttribute",value:Me,onBlur:f,onChange:u}))),"visual-data"===C&&o.a.createElement(r.Fragment,{key:"cf7sVisualData"},o.a.createElement("div",{className:ee.attribute},o.a.createElement("div",{className:ee.visualData},o.a.createElement("textarea",{id:"cf7sVisualContent",name:"cf7sVisualContent",onFocus:function(e){e.target.select()},onBlur:p,rows:"8",defaultValue:JSON.stringify(t)}))))),window.cf7svisual.addons){var Ge=window.cf7svisual.addons.get("edit");if(Ge)for(var Ue={editSections:We,styles:ee},Be=0;Be<Ge.length;++Be){var Ve=Ge[Be].callback;if(Ge[Be].types.indexOf(C)>-1)if(Ve.prototype.render){var Ke=Ve;We.push(o.a.createElement(Ke,R()({key:Be},Ue)))}else We=Ve(Ue)}}var qe=We.map((function(e){return e})),Ye=-1!==Z()(k.cf7sItems).filter((function(e){return"cf7Tag"===e.cf7sSelectGroup})).map((function(e,t){return e.cf7sType})).indexOf(g.cf7sType);return o.a.createElement("div",{className:ee.Edit,onKeyPress:h},!Ye&&!!y&&o.a.createElement("h3",null,y),!!Ye&&o.a.createElement(Q,{className:ee.EditTypeSelect,treeData:window.cf7svisual.treeData||t,shortText:!1,node:g,onChange:function(e){return l(e,n)}}),qe,o.a.createElement("button",{onClick:s,className:"button-primary"},re(i?"Save":"Done","contact-form-7-skins")))}}]),a}(r.Component),le=n(41),ce=n.n(le),ue=n(1),de=n.n(ue),fe={rowContents:"rowContents___n3Hfc",moveHandle:"moveHandle___iq9iV",loadingHandle:"loadingHandle___7lJ9+",rowContentsStart:"rowContentsStart___xKXUl",rowContentsEnd:"rowContentsEnd___717WE",InputItemIcon:"InputItemIcon___6rLo6",InputItemName:"InputItemName___LV0vC",InputItemLabel:"InputItemLabel___vS7k-",InputItemType:"InputItemType___c6Uhz",InputItemToolbar:"InputItemToolbar___I1cHV",cf7Tag:"cf7Tag___kKQ5h",cf7sItem:"cf7sItem___u3JfG",cf7Required:"cf7Required___zp8gT",edited:"edited___eOPso",acceptance:"acceptance___O7dS5",checkbox:"checkbox___KlhTb",date:"date___mTwBm",email:"email___y1pJT",file:"file___A3fuW",number:"number___HZT6t",quiz:"quiz___Rc6bG",radio:"radio___t+Whk",select:"select___iuGie",submit:"submit___VTyrW",tel:"tel___rFz5H",text:"text___blbox",textarea:"textarea___yy-44",url:"url___iUggZ",fieldset:"fieldset___HKwZd","list-ol":"list-ol___3+sLz","list-li":"list-li___KA089",paragraph:"paragraph___2tWIA"},pe=["scaffoldBlockPxWidth","toggleChildrenVisibility","connectDragPreview","connectDragSource","isDragging","canDrop","canDrag","node","draggedNode","path","treeIndex","isSearchMatch","isSearchFocus","toolbar","className","style","didDrop","treeId","isOver","parentNode","rowDirection"];function he(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ve(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?he(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):he(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ge=ve({},window.wp.i18n).__,me=function(e){f()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function i(){return l()(this,i),r.apply(this,arguments)}return u()(i,[{key:"render",value:function(){var e,t=this.props,n=t.scaffoldBlockPxWidth,r=t.toggleChildrenVisibility,i=t.connectDragPreview,a=t.connectDragSource,s=t.isDragging,l=t.canDrop,c=t.canDrag,u=t.node,d=t.draggedNode,f=t.path,p=t.treeIndex,h=t.isSearchMatch,v=t.isSearchFocus,g=t.toolbar,m=t.className,y=t.style,b=void 0===y?{}:y,_=t.didDrop,w=(t.treeId,t.isOver,t.parentNode,t.rowDirection),S=ce()(t,pe),C=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(" ")},O="rtl"===w?"rst__rtl":null,x=Object(k.getVisualVar)("addons"),T=!!x&&x.get("beforeToolbar"),D=T?T.map((function(e){return e(u,fe)})):"",E=this.props.edited===u.cf7Name,I="paragraph"===u.cf7sType?u.cf7sContent:u.cf7sLabel,P=Object(k.getVisualVar)("options"),M=!!P&&P.showName;c&&(e="function"==typeof u.children&&u.expanded?o.a.createElement("div",{className:C("rst__loadingHandle",fe.loadingHandle)},o.a.createElement("div",{className:"rst__loadingCircle"},Z()(new Array(12)).map((function(e,t){return o.a.createElement("div",{key:t,className:C("rst__loadingCirclePoint",O)})})))):a(o.a.createElement("div",{className:C("rst__moveHandle",fe.moveHandle),title:ge("Drag/Move","contact-form-7-skins")}),{dropEffect:"copy"}));var N=d&&Object($.isDescendant)(d,u),j=!_&&s;return o.a.createElement("div",R()({style:{height:"100%"}},S)," ",r&&!!u.children&&(u.children.length>0||"function"==typeof u.children)&&o.a.createElement("div",null,o.a.createElement("button",{type:"button","aria-label":u.expanded?ge("Collapse","contact-form-7-skins"):ge("Expand","contact-form-7-skins"),className:C(u.expanded?"rst__collapseButton":"rst__expandButton",O),style:{left:-.5*n},onClick:function(){return r({node:u,path:f,treeIndex:p})}}),u.expanded&&!s&&o.a.createElement("div",{style:{width:n},className:C("rst__lineChildren",O)})),o.a.createElement("div",{className:C("rst__rowWrapper",O)},i(o.a.createElement("div",{className:C("rst__row",j&&"rst__rowLandingPad",j&&!l&&"rst__rowCancelPad",h&&"rst__rowSearchMatch",v&&"rst__rowSearchFocus",O,m,fe.row,E?fe.edited:""),style:ve({opacity:N?.5:1},b)},e,o.a.createElement("div",{className:C("rst__rowContents",!c&&"rst__rowContentsDragDisabled",O,fe.rowContents,fe[u.cf7sType],fe[u.cf7sSelectGroup],u.cf7Required?fe.cf7Required:"")},o.a.createElement("div",{className:fe.rowContentsStart},o.a.createElement("span",{className:fe.InputItemIcon},o.a.createElement("span",{className:u.cf7sIcon})),!!M&&o.a.createElement("span",{className:fe.InputItemName},u.cf7Name),o.a.createElement("span",{className:fe.InputItemLabel},I)),o.a.createElement("div",{className:fe.rowContentsEnd},"cf7Tag"!==u.cf7sSelectGroup&&o.a.createElement("span",{className:fe.InputItemType},u.cf7sType+(u.cf7Required?"*":"")),D,g&&g.map((function(e,t){return o.a.createElement("div",{key:t,className:fe.InputItemToolbar},e)}))))))))}}]),i}(r.Component);me.propTypes={node:de.a.object.isRequired,path:de.a.arrayOf(de.a.oneOfType([de.a.string,de.a.number])).isRequired,treeIndex:de.a.number.isRequired,isSearchMatch:de.a.bool,isSearchFocus:de.a.bool,canDrag:de.a.bool,scaffoldBlockPxWidth:de.a.number.isRequired,toggleChildrenVisibility:de.a.func,buttons:de.a.arrayOf(de.a.node),className:de.a.string,style:de.a.object,connectDragPreview:de.a.func.isRequired,connectDragSource:de.a.func.isRequired,parentNode:de.a.shape({}),isDragging:de.a.bool.isRequired,didDrop:de.a.bool.isRequired,draggedNode:de.a.shape({}),isOver:de.a.bool.isRequired,canDrop:de.a.bool};var ye=me,be=n(13),_e=n.n(be),we=n(24),Se=n.n(we),Ce=n(40),Oe={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=Oe.F1&&t<=Oe.F12)return!1;switch(t){case Oe.ALT:case Oe.CAPS_LOCK:case Oe.CONTEXT_MENU:case Oe.CTRL:case Oe.DOWN:case Oe.END:case Oe.ESC:case Oe.HOME:case Oe.INSERT:case Oe.LEFT:case Oe.MAC_FF_META:case Oe.META:case Oe.NUMLOCK:case Oe.NUM_CENTER:case Oe.PAGE_DOWN:case Oe.PAGE_UP:case Oe.PAUSE:case Oe.PRINT_SCREEN:case Oe.RIGHT:case Oe.SHIFT:case Oe.UP:case Oe.WIN_KEY:case Oe.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=Oe.ZERO&&e<=Oe.NINE)return!0;if(e>=Oe.NUM_ZERO&&e<=Oe.NUM_MULTIPLY)return!0;if(e>=Oe.A&&e<=Oe.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case Oe.SPACE:case Oe.QUESTION_MARK:case Oe.NUM_PLUS:case Oe.NUM_MINUS:case Oe.NUM_PERIOD:case Oe.NUM_DIVISION:case Oe.SEMICOLON:case Oe.DASH:case Oe.EQUALS:case Oe.COMMA:case Oe.PERIOD:case Oe.SLASH:case Oe.APOSTROPHE:case Oe.SINGLE_QUOTE:case Oe.OPEN_SQUARE_BRACKET:case Oe.BACKSLASH:case Oe.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},xe=Oe;function Te(){var e=[].slice.call(arguments,0);return 1===e.length?e[0]:function(){for(var t=0;t<e.length;t++)e[t]&&e[t].apply&&e[t].apply(this,arguments)}}var ke=n(46),De=n.n(ke);function Ee(){}function Ie(e,t,n){var r=t||"";return e.key||r+"item_"+n}function Pe(e){return e+"-menu-"}function Me(e,t){var n=-1;o.a.Children.forEach(e,(function(e){n++,e&&e.type&&e.type.isMenuItemGroup?o.a.Children.forEach(e.props.children,(function(e){n++,t(e,n)})):t(e,n)}))}var Re=Se()({displayName:"DOMWrap",propTypes:{tag:de.a.string,hiddenClassName:de.a.string,visible:de.a.bool},getDefaultProps:function(){return{tag:"div"}},render:function(){var e=_e()({},this.props);e.visible||(e.className=e.className||"",e.className+=" "+e.hiddenClassName);var t=e.tag;return delete e.tag,delete e.hiddenClassName,delete e.visible,o.a.createElement(t,e)}});function Ne(e,t,n){var r,o=e.getState();e.setState({activeKey:_e()({},o.activeKey,(r={},r[t]=n,r))})}function je(e,t){var n=t,r=e.children,o=e.eventKey;if(n){var i=void 0;if(Me(r,(function(e,t){e&&!e.props.disabled&&n===Ie(e,o,t)&&(i=!0)})),i)return n}return n=null,e.defaultActiveFirst?(Me(r,(function(e,t){n||!e||e.props.disabled||(n=Ie(e,o,t))})),n):n}function Ae(e,t,n){n&&(void 0!==t?(this.instanceArray[e]=this.instanceArray[e]||[],this.instanceArray[e][t]=n):this.instanceArray[e]=n)}var Le={propTypes:{focusable:de.a.bool,multiple:de.a.bool,style:de.a.object,defaultActiveFirst:de.a.bool,visible:de.a.bool,activeKey:de.a.string,selectedKeys:de.a.arrayOf(de.a.string),defaultSelectedKeys:de.a.arrayOf(de.a.string),defaultOpenKeys:de.a.arrayOf(de.a.string),openKeys:de.a.arrayOf(de.a.string),children:de.a.any},getDefaultProps:function(){return{prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{}}},componentWillReceiveProps:function(e){var t="activeKey"in e?e.activeKey:this.getStore().getState().activeKey[this.getEventKey()],n=je(e,t);n!==t&&Ne(this.getStore(),this.getEventKey(),n)},shouldComponentUpdate:function(e){return this.props.visible||e.visible},componentWillMount:function(){this.instanceArray=[]},onKeyDown:function(e,t){var n=e.keyCode,r=void 0;if(this.getFlatInstanceArray().forEach((function(t){t&&t.props.active&&t.onKeyDown&&(r=t.onKeyDown(e))})),r)return 1;var o=null;return n!==xe.UP&&n!==xe.DOWN||(o=this.step(n===xe.UP?-1:1)),o?(e.preventDefault(),Ne(this.getStore(),this.getEventKey(),o.props.eventKey),"function"==typeof t&&t(o),1):void 0===o?(e.preventDefault(),Ne(this.getStore(),this.getEventKey(),null),1):void 0},onItemHover:function(e){var t=e.key,n=e.hover;Ne(this.getStore(),this.getEventKey(),n?t:null)},getEventKey:function(){return this.props.eventKey||"0-menu-"},getStore:function(){return this.store||this.props.store},getFlatInstanceArray:function(){var e=this.instanceArray;return e.some((function(e){return Array.isArray(e)}))&&(e=[],this.instanceArray.forEach((function(t){Array.isArray(t)?e.push.apply(e,t):e.push(t)})),this.instanceArray=e),e},renderCommonMenuItem:function(e,t,n,r){var i=this.getStore().getState(),a=this.props,s=Ie(e,a.eventKey,t),l=e.props,c=s===i.activeKey,u=_e()({mode:a.mode,level:a.level,inlineIndent:a.inlineIndent,renderMenuItem:this.renderMenuItem,rootPrefixCls:a.prefixCls,index:t,parentMenu:this,manualRef:l.disabled?void 0:Te(e.ref,Ae.bind(this,t,n)),eventKey:s,active:!l.disabled&&c,multiple:a.multiple,onClick:this.onClick,onItemHover:this.onItemHover,openTransitionName:this.getOpenTransitionName(),openAnimation:a.openAnimation,subMenuOpenDelay:a.subMenuOpenDelay,subMenuCloseDelay:a.subMenuCloseDelay,forceSubMenuRender:a.forceSubMenuRender,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect},r);return"inline"===a.mode&&(u.triggerSubMenuAction="click"),o.a.cloneElement(e,u)},renderRoot:function(e){var t=this;this.instanceArray=[];var n={className:De()(e.prefixCls,e.className,e.prefixCls+"-"+e.mode),role:"menu","aria-activedescendant":""};return e.id&&(n.id=e.id),e.focusable&&(n.tabIndex="0",n.onKeyDown=this.onKeyDown),o.a.createElement(Re,_e()({style:e.style,tag:"ul",hiddenClassName:e.prefixCls+"-hidden",visible:e.visible},n),o.a.Children.map(e.children,(function(n,r,o){return t.renderMenuItem(n,r,o,e.eventKey||"0-menu-")})))},step:function(e){var t=this.getFlatInstanceArray(),n=this.getStore().getState().activeKey[this.getEventKey()],r=t.length;if(!r)return null;e<0&&(t=t.concat().reverse());var o=-1;if(t.every((function(e,t){return!e||e.props.eventKey!==n||(o=t,!1)})),this.props.defaultActiveFirst||-1===o||(i=t.slice(o,r-1)).length&&!i.every((function(e){return!!e.props.disabled})))for(var i,a=(o+1)%r,s=a;;){var l=t[s];if(l&&!l.props.disabled)return l;if((s=(s+1+r)%r)===a)return null}}},ze=Se()({displayName:"Menu",propTypes:{defaultSelectedKeys:de.a.arrayOf(de.a.string),selectedKeys:de.a.arrayOf(de.a.string),defaultOpenKeys:de.a.arrayOf(de.a.string),openKeys:de.a.arrayOf(de.a.string),mode:de.a.oneOf(["horizontal","vertical","vertical-left","vertical-right","inline"]),getPopupContainer:de.a.func,onClick:de.a.func,onSelect:de.a.func,onDeselect:de.a.func,onDestroy:de.a.func,openTransitionName:de.a.string,openAnimation:de.a.oneOfType([de.a.string,de.a.object]),subMenuOpenDelay:de.a.number,subMenuCloseDelay:de.a.number,forceSubMenuRender:de.a.bool,triggerSubMenuAction:de.a.string,level:de.a.number,selectable:de.a.bool,multiple:de.a.bool,children:de.a.any},mixins:[Le],isRootMenu:!0,getDefaultProps:function(){return{selectable:!0,onClick:Ee,onSelect:Ee,onOpenChange:Ee,onDeselect:Ee,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover"}},getInitialState:function(){var e=this.props,t=e.defaultSelectedKeys,n=e.defaultOpenKeys;return"selectedKeys"in e&&(t=e.selectedKeys||[]),"openKeys"in e&&(n=e.openKeys||[]),this.store=Object(Ce.create)({selectedKeys:t,openKeys:n,activeKey:{"0-menu-":je(e,e.activeKey)}}),{}},componentWillReceiveProps:function(e){"selectedKeys"in e&&this.store.setState({selectedKeys:e.selectedKeys||[]}),"openKeys"in e&&this.store.setState({openKeys:e.openKeys||[]})},onSelect:function(e){var t=this.props;if(t.selectable){var n=this.store.getState().selectedKeys,r=e.key;n=t.multiple?n.concat([r]):[r],"selectedKeys"in t||this.store.setState({selectedKeys:n}),t.onSelect(_e()({},e,{selectedKeys:n}))}},onClick:function(e){this.props.onClick(e)},onOpenChange:function(e){var t=this.props,n=this.store.getState().openKeys.concat(),r=!1,o=function(e){var t=!1;if(e.open)(t=-1===n.indexOf(e.key))&&n.push(e.key);else{var o=n.indexOf(e.key);(t=-1!==o)&&n.splice(o,1)}r=r||t};Array.isArray(e)?e.forEach(o):o(e),r&&("openKeys"in this.props||this.store.setState({openKeys:n}),t.onOpenChange(n))},onDeselect:function(e){var t=this.props;if(t.selectable){var n=this.store.getState().selectedKeys.concat(),r=e.key,o=n.indexOf(r);-1!==o&&n.splice(o,1),"selectedKeys"in t||this.store.setState({selectedKeys:n}),t.onDeselect(_e()({},e,{selectedKeys:n}))}},getOpenTransitionName:function(){var e=this.props,t=e.openTransitionName,n=e.openAnimation;return t||"string"!=typeof n||(t=e.prefixCls+"-open-"+n),t},isInlineMode:function(){return"inline"===this.props.mode},lastOpenSubMenu:function(){var e=[],t=this.store.getState().openKeys;return t.length&&(e=this.getFlatInstanceArray().filter((function(e){return e&&-1!==t.indexOf(e.props.eventKey)}))),e[0]},renderMenuItem:function(e,t,n,r){if(!e)return null;var o=this.store.getState(),i={openKeys:o.openKeys,selectedKeys:o.selectedKeys,triggerSubMenuAction:this.props.triggerSubMenuAction,subMenuKey:r};return this.renderCommonMenuItem(e,t,n,i)},render:function(){var e=_e()({},this.props);return e.className+=" "+e.prefixCls+"-root",o.a.createElement(Ce.Provider,{store:this.store},this.renderRoot(e))}}),Fe=n(20),He=n.n(Fe),We=n(17),Ge=n.n(We),Ue=n(21),Be=n.n(Ue),Ve=n(23);function Ke(e,t){for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}var qe=n(255),Ye=n.n(qe);function Xe(e,t,n,r){var o=a.a.unstable_batchedUpdates?function(e){a.a.unstable_batchedUpdates(n,e)}:n;return Ye()(e,t,o,r)}function Ze(e){return(Ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Je(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Qe(e,t){return(Qe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function et(e,t){return!t||"object"!==Ze(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function tt(e){return(tt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var nt=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qe(e,t)}(s,e);var t,n,r,o,i=(r=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=tt(r);if(o){var n=tt(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return et(this,e)});function s(){var e;$e(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=i.call.apply(i,[this].concat(n))).removeContainer=function(){e.container&&(a.a.unmountComponentAtNode(e.container),e.container.parentNode.removeChild(e.container),e.container=null)},e.renderComponent=function(t,n){var r=e.props,o=r.visible,i=r.getComponent,s=r.forceRender,l=r.getContainer,c=r.parent;(o||c._component||s)&&(e.container||(e.container=l()),a.a.unstable_renderSubtreeIntoContainer(c,i(t),e.container,(function(){n&&n.call(this)})))},e}return t=s,(n=[{key:"componentDidMount",value:function(){this.props.autoMount&&this.renderComponent()}},{key:"componentDidUpdate",value:function(){this.props.autoMount&&this.renderComponent()}},{key:"componentWillUnmount",value:function(){this.props.autoDestroy&&this.removeContainer()}},{key:"render",value:function(){return this.props.children({renderComponent:this.renderComponent,removeContainer:this.removeContainer})}}])&&Je(t.prototype,n),s}(o.a.Component);function rt(e){return(rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ot(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function it(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function at(e,t){return(at=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function st(e,t){return!t||"object"!==rt(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function lt(e){return(lt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}nt.propTypes={autoMount:de.a.bool,autoDestroy:de.a.bool,visible:de.a.bool,forceRender:de.a.bool,parent:de.a.any,getComponent:de.a.func.isRequired,getContainer:de.a.func.isRequired,children:de.a.func.isRequired},nt.defaultProps={autoMount:!0,autoDestroy:!0,forceRender:!1};var ct=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&at(e,t)}(s,e);var t,n,r,o,i=(r=s,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=lt(r);if(o){var n=lt(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return st(this,e)});function s(){return ot(this,s),i.apply(this,arguments)}return t=s,(n=[{key:"componentDidMount",value:function(){this.createContainer()}},{key:"componentDidUpdate",value:function(e){var t=this.props.didUpdate;t&&t(e)}},{key:"componentWillUnmount",value:function(){this.removeContainer()}},{key:"createContainer",value:function(){this._container=this.props.getContainer(),this.forceUpdate()}},{key:"removeContainer",value:function(){this._container&&this._container.parentNode.removeChild(this._container)}},{key:"render",value:function(){return this._container?a.a.createPortal(this.props.children,this._container):null}}])&&it(t.prototype,n),s}(o.a.Component);function ut(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function dt(e,t){this[e]=t}ct.propTypes={getContainer:de.a.func.isRequired,children:de.a.node.isRequired,didUpdate:de.a.func};var ft,pt=n(70),ht=n.n(pt);function vt(e){return(vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function gt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var yt={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function bt(){if(void 0!==ft)return ft;ft="";var e=document.createElement("p").style;for(var t in yt)t+"Transform"in e&&(ft=t);return ft}function _t(){return bt()?"".concat(bt(),"TransitionProperty"):"transitionProperty"}function wt(){return bt()?"".concat(bt(),"Transform"):"transform"}function St(e,t){var n=_t();n&&(e.style[n]=t,"transitionProperty"!==n&&(e.style.transitionProperty=t))}function Ct(e,t){var n=wt();n&&(e.style[n]=t,"transform"!==n&&(e.style.transform=t))}var Ot,xt=/matrix\((.*)\)/,Tt=/matrix3d\((.*)\)/;function kt(e){var t=e.style.display;e.style.display="none",e.offsetHeight,e.style.display=t}function Dt(e,t,n){var r=n;if("object"!==vt(t))return void 0!==r?("number"==typeof r&&(r="".concat(r,"px")),void(e.style[t]=r)):Ot(e,t);for(var o in t)t.hasOwnProperty(o)&&Dt(e,o,t[o])}function Et(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}function It(e){return Et(e)}function Pt(e){return Et(e,!0)}function Mt(e){var t=function(e){var t,n,r,o=e.ownerDocument,i=o.body,a=o&&o.documentElement;return n=(t=e.getBoundingClientRect()).left,r=t.top,{left:n-=a.clientLeft||i.clientLeft||0,top:r-=a.clientTop||i.clientTop||0}}(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=It(r),t.top+=Pt(r),t}function Rt(e){return null!=e&&e==e.window}function Nt(e){return Rt(e)?e.document:9===e.nodeType?e:e.ownerDocument}var jt=new RegExp("^(".concat(/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,")(?!px)[a-z%]+$"),"i"),At=/^(top|right|bottom|left)$/,Lt="left";function zt(e,t){return"left"===e?t.useCssRight?"right":e:t.useCssBottom?"bottom":e}function Ft(e){return"left"===e?"right":"right"===e?"left":"top"===e?"bottom":"bottom"===e?"top":void 0}function Ht(e,t,n){"static"===Dt(e,"position")&&(e.style.position="relative");var r=-999,o=-999,i=zt("left",n),a=zt("top",n),s=Ft(i),l=Ft(a);"left"!==i&&(r=999),"top"!==a&&(o=999);var c,u="",d=Mt(e);("left"in t||"top"in t)&&(u=(c=e).style.transitionProperty||c.style[_t()]||"",St(e,"none")),"left"in t&&(e.style[s]="",e.style[i]="".concat(r,"px")),"top"in t&&(e.style[l]="",e.style[a]="".concat(o,"px")),kt(e);var f=Mt(e),p={};for(var h in t)if(t.hasOwnProperty(h)){var v=zt(h,n),g="left"===h?r:o,m=d[h]-f[h];p[v]=v===h?g+m:g-m}Dt(e,p),kt(e),("left"in t||"top"in t)&&St(e,u);var y={};for(var b in t)if(t.hasOwnProperty(b)){var _=zt(b,n),w=t[b]-d[b];y[_]=b===_?p[_]+w:p[_]-w}Dt(e,y)}function Wt(e,t){for(var n=0;n<e.length;n++)t(e[n])}function Gt(e){return"border-box"===Ot(e,"boxSizing")}"undefined"!=typeof window&&(Ot=window.getComputedStyle?function(e,t,n){var r=n,o="",i=Nt(e);return(r=r||i.defaultView.getComputedStyle(e,null))&&(o=r.getPropertyValue(t)||r[t]),o}:function(e,t){var n=e.currentStyle&&e.currentStyle[t];if(jt.test(n)&&!At.test(t)){var r=e.style,o=r[Lt],i=e.runtimeStyle[Lt];e.runtimeStyle[Lt]=e.currentStyle[Lt],r[Lt]="fontSize"===t?"1em":n||0,n=r.pixelLeft+"px",r[Lt]=o,e.runtimeStyle[Lt]=i}return""===n?"auto":n});var Ut=["margin","border","padding"];function Bt(e,t,n){var r,o={},i=e.style;for(r in t)t.hasOwnProperty(r)&&(o[r]=i[r],i[r]=t[r]);for(r in n.call(e),t)t.hasOwnProperty(r)&&(i[r]=o[r])}function Vt(e,t,n){var r,o,i,a=0;for(o=0;o<t.length;o++)if(r=t[o])for(i=0;i<n.length;i++){var s;s="border"===r?"".concat(r).concat(n[i],"Width"):r+n[i],a+=parseFloat(Ot(e,s))||0}return a}var Kt={getParent:function(e){var t=e;do{t=11===t.nodeType&&t.host?t.host:t.parentNode}while(t&&1!==t.nodeType&&9!==t.nodeType);return t}};function qt(e,t,n){var r=n;if(Rt(e))return"width"===t?Kt.viewportWidth(e):Kt.viewportHeight(e);if(9===e.nodeType)return"width"===t?Kt.docWidth(e):Kt.docHeight(e);var o="width"===t?["Left","Right"]:["Top","Bottom"],i="width"===t?e.getBoundingClientRect().width:e.getBoundingClientRect().height,a=(Ot(e),Gt(e)),s=0;(null==i||i<=0)&&(i=void 0,(null==(s=Ot(e,t))||Number(s)<0)&&(s=e.style[t]||0),s=parseFloat(s)||0),void 0===r&&(r=a?1:-1);var l=void 0!==i||a,c=i||s;return-1===r?l?c-Vt(e,["border","padding"],o):s:l?1===r?c:c+(2===r?-Vt(e,["border"],o):Vt(e,["margin"],o)):s+Vt(e,Ut.slice(r),o)}Wt(["Width","Height"],(function(e){Kt["doc".concat(e)]=function(t){var n=t.document;return Math.max(n.documentElement["scroll".concat(e)],n.body["scroll".concat(e)],Kt["viewport".concat(e)](n))},Kt["viewport".concat(e)]=function(t){var n="client".concat(e),r=t.document,o=r.body,i=r.documentElement[n];return"CSS1Compat"===r.compatMode&&i||o&&o[n]||i}}));var Yt={position:"absolute",visibility:"hidden",display:"block"};function Xt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,o=t[0];return 0!==o.offsetWidth?r=qt.apply(void 0,t):Bt(o,Yt,(function(){r=qt.apply(void 0,t)})),r}function Zt(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}Wt(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);Kt["outer".concat(t)]=function(t,n){return t&&Xt(t,e,n?0:1)};var n="width"===e?["Left","Right"]:["Top","Bottom"];Kt[e]=function(t,r){var o=r;return void 0===o?t&&Xt(t,e,-1):t?(Ot(t),Gt(t)&&(o+=Vt(t,["padding","border"],n)),Dt(t,e,o)):void 0}}));var $t={getWindow:function(e){if(e&&e.document&&e.setTimeout)return e;var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},getDocument:Nt,offset:function(e,t,n){if(void 0===t)return Mt(e);!function(e,t,n){if(n.ignoreShake){var r=Mt(e),o=r.left.toFixed(0),i=r.top.toFixed(0),a=t.left.toFixed(0),s=t.top.toFixed(0);if(o===a&&i===s)return}n.useCssRight||n.useCssBottom?Ht(e,t,n):n.useCssTransform&&wt()in document.body.style?function(e,t){var n=Mt(e),r=function(e){var t=window.getComputedStyle(e,null),n=t.getPropertyValue("transform")||t.getPropertyValue(wt());if(n&&"none"!==n){var r=n.replace(/[^0-9\-.,]/g,"").split(",");return{x:parseFloat(r[12]||r[4],0),y:parseFloat(r[13]||r[5],0)}}return{x:0,y:0}}(e),o={x:r.x,y:r.y};"left"in t&&(o.x=r.x+t.left-n.left),"top"in t&&(o.y=r.y+t.top-n.top),function(e,t){var n=window.getComputedStyle(e,null),r=n.getPropertyValue("transform")||n.getPropertyValue(wt());if(r&&"none"!==r){var o,i=r.match(xt);i?((o=(i=i[1]).split(",").map((function(e){return parseFloat(e,10)})))[4]=t.x,o[5]=t.y,Ct(e,"matrix(".concat(o.join(","),")"))):((o=r.match(Tt)[1].split(",").map((function(e){return parseFloat(e,10)})))[12]=t.x,o[13]=t.y,Ct(e,"matrix3d(".concat(o.join(","),")")))}else Ct(e,"translateX(".concat(t.x,"px) translateY(").concat(t.y,"px) translateZ(0)"))}(e,o)}(e,t):Ht(e,t,n)}(e,t,n||{})},isWindow:Rt,each:Wt,css:Dt,clone:function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);if(e.overflow)for(t in e)e.hasOwnProperty(t)&&(n.overflow[t]=e.overflow[t]);return n},mix:Zt,getWindowScrollLeft:function(e){return It(e)},getWindowScrollTop:function(e){return Pt(e)},merge:function(){for(var e={},t=0;t<arguments.length;t++)$t.mix(e,t<0||arguments.length<=t?void 0:arguments[t]);return e},viewportWidth:0,viewportHeight:0};Zt($t,Kt);var Jt=$t.getParent;function Qt(e){if($t.isWindow(e)||9===e.nodeType)return null;var t,n=$t.getDocument(e).body,r=$t.css(e,"position");if("fixed"!==r&&"absolute"!==r)return"html"===e.nodeName.toLowerCase()?null:Jt(e);for(t=Jt(e);t&&t!==n&&9!==t.nodeType;t=Jt(t))if("static"!==(r=$t.css(t,"position")))return t;return null}var en=$t.getParent;function tn(e,t){for(var n={left:0,right:1/0,top:0,bottom:1/0},r=Qt(e),o=$t.getDocument(e),i=o.defaultView||o.parentWindow,a=o.body,s=o.documentElement;r;){if(-1!==navigator.userAgent.indexOf("MSIE")&&0===r.clientWidth||r===a||r===s||"visible"===$t.css(r,"overflow")){if(r===a||r===s)break}else{var l=$t.offset(r);l.left+=r.clientLeft,l.top+=r.clientTop,n.top=Math.max(n.top,l.top),n.right=Math.min(n.right,l.left+r.clientWidth),n.bottom=Math.min(n.bottom,l.top+r.clientHeight),n.left=Math.max(n.left,l.left)}r=Qt(r)}var c=null;$t.isWindow(e)||9===e.nodeType||(c=e.style.position,"absolute"===$t.css(e,"position")&&(e.style.position="fixed"));var u=$t.getWindowScrollLeft(i),d=$t.getWindowScrollTop(i),f=$t.viewportWidth(i),p=$t.viewportHeight(i),h=s.scrollWidth,v=s.scrollHeight,g=window.getComputedStyle(a);if("hidden"===g.overflowX&&(h=i.innerWidth),"hidden"===g.overflowY&&(v=i.innerHeight),e.style&&(e.style.position=c),t||function(e){if($t.isWindow(e)||9===e.nodeType)return!1;var t=$t.getDocument(e).body,n=null;for(n=en(e);n&&n!==t;n=en(n))if("fixed"===$t.css(n,"position"))return!0;return!1}(e))n.left=Math.max(n.left,u),n.top=Math.max(n.top,d),n.right=Math.min(n.right,u+f),n.bottom=Math.min(n.bottom,d+p);else{var m=Math.max(h,u+f);n.right=Math.min(n.right,m);var y=Math.max(v,d+p);n.bottom=Math.min(n.bottom,y)}return n.top>=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function nn(e){var t,n,r;if($t.isWindow(e)||9===e.nodeType){var o=$t.getWindow(e);t={left:$t.getWindowScrollLeft(o),top:$t.getWindowScrollTop(o)},n=$t.viewportWidth(o),r=$t.viewportHeight(o)}else t=$t.offset(e),n=$t.outerWidth(e),r=$t.outerHeight(e);return t.width=n,t.height=r,t}function rn(e,t){var n=t.charAt(0),r=t.charAt(1),o=e.width,i=e.height,a=e.left,s=e.top;return"c"===n?s+=i/2:"b"===n&&(s+=i),"c"===r?a+=o/2:"r"===r&&(a+=o),{left:a,top:s}}function on(e,t,n,r,o){var i=rn(t,n[1]),a=rn(e,n[0]),s=[a.left-i.left,a.top-i.top];return{left:Math.round(e.left-s[0]+r[0]-o[0]),top:Math.round(e.top-s[1]+r[1]-o[1])}}function an(e,t,n){return e.left<n.left||e.left+t.width>n.right}function sn(e,t,n){return e.top<n.top||e.top+t.height>n.bottom}function ln(e,t,n){var r=[];return $t.each(e,(function(e){r.push(e.replace(t,(function(e){return n[e]})))})),r}function cn(e,t){return e[t]=-e[t],e}function un(e,t){return(/%$/.test(e)?parseInt(e.substring(0,e.length-1),10)/100*t:parseInt(e,10))||0}function dn(e,t){e[0]=un(e[0],t.width),e[1]=un(e[1],t.height)}function fn(e,t,n,r){var o=n.points,i=n.offset||[0,0],a=n.targetOffset||[0,0],s=n.overflow,l=n.source||e;i=[].concat(i),a=[].concat(a);var c={},u=0,d=tn(l,!(!(s=s||{})||!s.alwaysByViewport)),f=nn(l);dn(i,f),dn(a,t);var p=on(f,t,o,i,a),h=$t.merge(f,p);if(d&&(s.adjustX||s.adjustY)&&r){if(s.adjustX&&an(p,f,d)){var v=ln(o,/[lr]/gi,{l:"r",r:"l"}),g=cn(i,0),m=cn(a,0);(function(e,t,n){return e.left>n.right||e.left+t.width<n.left})(on(f,t,v,g,m),f,d)||(u=1,o=v,i=g,a=m)}if(s.adjustY&&sn(p,f,d)){var y=ln(o,/[tb]/gi,{t:"b",b:"t"}),b=cn(i,1),_=cn(a,1);(function(e,t,n){return e.top>n.bottom||e.top+t.height<n.top})(on(f,t,y,b,_),f,d)||(u=1,o=y,i=b,a=_)}u&&(p=on(f,t,o,i,a),$t.mix(h,p));var w=an(p,f,d),S=sn(p,f,d);if(w||S){var C=o;w&&(C=ln(o,/[lr]/gi,{l:"r",r:"l"})),S&&(C=ln(o,/[tb]/gi,{t:"b",b:"t"})),o=C,i=n.offset||[0,0],a=n.targetOffset||[0,0]}c.adjustX=s.adjustX&&w,c.adjustY=s.adjustY&&S,(c.adjustX||c.adjustY)&&(h=function(e,t,n,r){var o=$t.clone(e),i={width:t.width,height:t.height};return r.adjustX&&o.left<n.left&&(o.left=n.left),r.resizeWidth&&o.left>=n.left&&o.left+i.width>n.right&&(i.width-=o.left+i.width-n.right),r.adjustX&&o.left+i.width>n.right&&(o.left=Math.max(n.right-i.width,n.left)),r.adjustY&&o.top<n.top&&(o.top=n.top),r.resizeHeight&&o.top>=n.top&&o.top+i.height>n.bottom&&(i.height-=o.top+i.height-n.bottom),r.adjustY&&o.top+i.height>n.bottom&&(o.top=Math.max(n.bottom-i.height,n.top)),$t.mix(o,i)}(p,f,d,c))}return h.width!==f.width&&$t.css(l,"width",$t.width(l)+h.width-f.width),h.height!==f.height&&$t.css(l,"height",$t.height(l)+h.height-f.height),$t.offset(l,{left:h.left,top:h.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:o,offset:i,targetOffset:a,overflow:c}}function pn(e,t,n){var r=n.target||t;return fn(e,nn(r),n,!function(e,t){var n=tn(e,t),r=nn(e);return!n||r.left+r.width<=n.left||r.top+r.height<=n.top||r.left>=n.right||r.top>=n.bottom}(r,n.overflow&&n.overflow.alwaysByViewport))}function hn(e,t,n){var r,o,i=$t.getDocument(e),a=i.defaultView||i.parentWindow,s=$t.getWindowScrollLeft(a),l=$t.getWindowScrollTop(a),c=$t.viewportWidth(a),u=$t.viewportHeight(a);r="pageX"in t?t.pageX:s+t.clientX,o="pageY"in t?t.pageY:l+t.clientY;var d=r>=0&&r<=s+c&&o>=0&&o<=l+u;return fn(e,{left:r,top:o,width:0,height:0},function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mt(n,!0).forEach((function(t){gt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mt(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},n,{points:[n.points[0],"cc"]}),d)}function vn(e){return e&&"object"==typeof e&&e.window===e}function gn(e,t){var n=Math.floor(e),r=Math.floor(t);return Math.abs(n-r)<=1}function mn(e,t){e!==document.activeElement&&Ke(t,e)&&e.focus()}function yn(e){return"function"==typeof e&&e?e():null}function bn(e){return"object"==typeof e&&e?e:null}pn.__getOffsetParent=Qt,pn.__getVisibleRectForElement=tn;var wn=function(e){function t(){var e,n,r,o;He()(this,t);for(var i=arguments.length,s=Array(i),l=0;l<i;l++)s[l]=arguments[l];return n=r=Ge()(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),r.forceAlign=function(){var e=r.props,t=e.disabled,n=e.target,o=e.align,i=e.onAlign;if(!t&&n){var s=a.a.findDOMNode(r),l=void 0,c=yn(n),u=bn(n),d=document.activeElement;c?l=pn(s,c,o):u&&(l=hn(s,u,o)),mn(d,s),i&&i(s,l)}},o=n,Ge()(r,o)}return Be()(t,e),ht()(t,[{key:"componentDidMount",value:function(){var e=this.props;this.forceAlign(),!e.disabled&&e.monitorWindowResize&&this.startMonitorWindowResize()}},{key:"componentDidUpdate",value:function(e){var t,n,r=!1,o=this.props;if(!o.disabled){var i=a.a.findDOMNode(this),s=i?i.getBoundingClientRect():null;if(e.disabled)r=!0;else{var l=yn(e.target),c=yn(o.target),u=bn(e.target),d=bn(o.target);vn(l)&&vn(c)?r=!1:(l!==c||l&&!c&&d||u&&d&&c||d&&!((t=u)===(n=d)||t&&n&&("pageX"in n&&"pageY"in n?t.pageX===n.pageX&&t.pageY===n.pageY:"clientX"in n&&"clientY"in n&&t.clientX===n.clientX&&t.clientY===n.clientY)))&&(r=!0);var f=this.sourceRect||{};r||!i||gn(f.width,s.width)&&gn(f.height,s.height)||(r=!0)}this.sourceRect=s}r&&this.forceAlign(),o.monitorWindowResize&&!o.disabled?this.startMonitorWindowResize():this.stopMonitorWindowResize()}},{key:"componentWillUnmount",value:function(){this.stopMonitorWindowResize()}},{key:"startMonitorWindowResize",value:function(){this.resizeHandler||(this.bufferMonitor=function(e,t){var n=void 0;function r(){n&&(clearTimeout(n),n=null)}function o(){r(),n=setTimeout(e,t)}return o.clear=r,o}(this.forceAlign,this.props.monitorBufferTime),this.resizeHandler=Xe(window,"resize",this.bufferMonitor))}},{key:"stopMonitorWindowResize",value:function(){this.resizeHandler&&(this.bufferMonitor.clear(),this.resizeHandler.remove(),this.resizeHandler=null)}},{key:"render",value:function(){var e=this,t=this.props,n=t.childrenProps,r=t.children,i=o.a.Children.only(r);if(n){var a={};return Object.keys(n).forEach((function(t){a[t]=e.props[n[t]]})),o.a.cloneElement(i,a)}return i}}]),t}(r.Component);wn.propTypes={childrenProps:de.a.object,align:de.a.object.isRequired,target:de.a.oneOfType([de.a.func,de.a.shape({clientX:de.a.number,clientY:de.a.number,pageX:de.a.number,pageY:de.a.number})]),onAlign:de.a.func,monitorBufferTime:de.a.number,monitorWindowResize:de.a.bool,disabled:de.a.bool,children:de.a.any},wn.defaultProps={target:function(){return window},monitorBufferTime:50,monitorWindowResize:!1,disabled:!1};var Sn=wn,Cn=n(256),On=n.n(Cn);function xn(e){var t=[];return o.a.Children.forEach(e,(function(e){t.push(e)})),t}function Tn(e,t){var n=null;return e&&e.forEach((function(e){n||e&&e.key===t&&(n=e)})),n}function kn(e,t,n){var r=null;return e&&e.forEach((function(e){if(e&&e.key===t&&e.props[n]){if(r)throw new Error("two child with same key for <rc-animate> children");r=e}})),r}var Dn=n(108),En=n.n(Dn),In={transitionstart:{transition:"transitionstart",WebkitTransition:"webkitTransitionStart",MozTransition:"mozTransitionStart",OTransition:"oTransitionStart",msTransition:"MSTransitionStart"},animationstart:{animation:"animationstart",WebkitAnimation:"webkitAnimationStart",MozAnimation:"mozAnimationStart",OAnimation:"oAnimationStart",msAnimation:"MSAnimationStart"}},Pn={transitionend:{transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"mozTransitionEnd",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd"},animationend:{animation:"animationend",WebkitAnimation:"webkitAnimationEnd",MozAnimation:"mozAnimationEnd",OAnimation:"oAnimationEnd",msAnimation:"MSAnimationEnd"}},Mn=[],Rn=[];function Nn(e,t,n){e.addEventListener(t,n,!1)}function jn(e,t,n){e.removeEventListener(t,n,!1)}"undefined"!=typeof window&&"undefined"!=typeof document&&function(){var e=document.createElement("div").style;function t(t,n){for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];for(var i in o)if(i in e){n.push(o[i]);break}}}"AnimationEvent"in window||(delete In.animationstart.animation,delete Pn.animationend.animation),"TransitionEvent"in window||(delete In.transitionstart.transition,delete Pn.transitionend.transition),t(In,Mn),t(Pn,Rn)}();var An=Rn,Ln=function(e,t){0!==Rn.length?Rn.forEach((function(n){Nn(e,n,t)})):window.setTimeout(t,0)},zn=function(e,t){0!==Rn.length&&Rn.forEach((function(n){jn(e,n,t)}))},Fn=n(257),Hn=n.n(Fn),Wn=0!==An.length,Gn=["Webkit","Moz","O","ms"],Un=["-webkit-","-moz-","-o-","ms-",""];function Bn(e,t){for(var n=window.getComputedStyle(e,null),r="",o=0;o<Un.length&&!(r=n.getPropertyValue(Un[o]+t));o++);return r}function Vn(e){if(Wn){var t=parseFloat(Bn(e,"transition-delay"))||0,n=parseFloat(Bn(e,"transition-duration"))||0,r=parseFloat(Bn(e,"animation-delay"))||0,o=parseFloat(Bn(e,"animation-duration"))||0,i=Math.max(n+t,o+r);e.rcEndAnimTimeout=setTimeout((function(){e.rcEndAnimTimeout=null,e.rcEndListener&&e.rcEndListener()}),1e3*i+200)}}function Kn(e){e.rcEndAnimTimeout&&(clearTimeout(e.rcEndAnimTimeout),e.rcEndAnimTimeout=null)}var qn=function(e,t,n){var r="object"===(void 0===t?"undefined":En()(t)),o=r?t.name:t,i=r?t.active:t+"-active",a=n,s=void 0,l=void 0,c=Hn()(e);return n&&"[object Object]"===Object.prototype.toString.call(n)&&(a=n.end,s=n.start,l=n.active),e.rcEndListener&&e.rcEndListener(),e.rcEndListener=function(t){t&&t.target!==e||(e.rcAnimTimeout&&(clearTimeout(e.rcAnimTimeout),e.rcAnimTimeout=null),Kn(e),c.remove(o),c.remove(i),zn(e,e.rcEndListener),e.rcEndListener=null,a&&a())},Ln(e,e.rcEndListener),s&&s(),c.add(o),e.rcAnimTimeout=setTimeout((function(){e.rcAnimTimeout=null,c.add(i),l&&setTimeout(l,0),Vn(e)}),30),{stop:function(){e.rcEndListener&&e.rcEndListener()}}};qn.style=function(e,t,n){e.rcEndListener&&e.rcEndListener(),e.rcEndListener=function(t){t&&t.target!==e||(e.rcAnimTimeout&&(clearTimeout(e.rcAnimTimeout),e.rcAnimTimeout=null),Kn(e),zn(e,e.rcEndListener),e.rcEndListener=null,n&&n())},Ln(e,e.rcEndListener),e.rcAnimTimeout=setTimeout((function(){for(var n in t)t.hasOwnProperty(n)&&(e.style[n]=t[n]);e.rcAnimTimeout=null,Vn(e)}),0)},qn.setTransition=function(e,t,n){var r=t,o=n;void 0===n&&(o=r,r=""),r=r||"",Gn.forEach((function(t){e.style[t+"Transition"+r]=o}))},qn.isCssAnimationSupported=Wn;var Yn=qn,Xn=function(e){return e.transitionName&&e.transitionAppear||e.animation.appear},Zn=function(e){return e.transitionName&&e.transitionEnter||e.animation.enter},$n=function(e){return e.transitionName&&e.transitionLeave||e.animation.leave},Jn=function(e){return e.transitionAppear||e.animation.appear},Qn=function(e){return e.transitionEnter||e.animation.enter},er=function(e){return e.transitionLeave||e.animation.leave},tr={enter:"transitionEnter",appear:"transitionAppear",leave:"transitionLeave"},nr=function(e){function t(){return He()(this,t),Ge()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return Be()(t,e),ht()(t,[{key:"componentWillUnmount",value:function(){this.stop()}},{key:"componentWillEnter",value:function(e){Zn(this.props)?this.transition("enter",e):e()}},{key:"componentWillAppear",value:function(e){Xn(this.props)?this.transition("appear",e):e()}},{key:"componentWillLeave",value:function(e){$n(this.props)?this.transition("leave",e):e()}},{key:"transition",value:function(e,t){var n=this,r=a.a.findDOMNode(this),o=this.props,i=o.transitionName,s="object"==typeof i;this.stop();var l=function(){n.stopper=null,t()};if((Wn||!o.animation[e])&&i&&o[tr[e]]){var c=s?i[e]:i+"-"+e,u=c+"-active";s&&i[e+"Active"]&&(u=i[e+"Active"]),this.stopper=Yn(r,{name:c,active:u},l)}else this.stopper=o.animation[e](r,l)}},{key:"stop",value:function(){var e=this.stopper;e&&(this.stopper=null,e.stop())}},{key:"render",value:function(){return this.props.children}}]),t}(o.a.Component);nr.propTypes={children:de.a.any,animation:de.a.any,transitionName:de.a.any};var rr=nr,or="rc_animate_"+Date.now();function ir(e){var t=e.children;return o.a.isValidElement(t)&&!t.key?o.a.cloneElement(t,{key:or}):t}function ar(){}var sr=function(e){function t(e){He()(this,t);var n=Ge()(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return lr.call(n),n.currentlyAnimatingKeys={},n.keysToEnter=[],n.keysToLeave=[],n.state={children:xn(ir(e))},n.childrenRefs={},n}return Be()(t,e),ht()(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props.showProp,n=this.state.children;t&&(n=n.filter((function(e){return!!e.props[t]}))),n.forEach((function(t){t&&e.performAppear(t.key)}))}},{key:"componentWillReceiveProps",value:function(e){var t=this;this.nextProps=e;var n=xn(ir(e)),r=this.props;r.exclusive&&Object.keys(this.currentlyAnimatingKeys).forEach((function(e){t.stop(e)}));var i,a,s,l,c=r.showProp,u=this.currentlyAnimatingKeys,d=r.exclusive?xn(ir(r)):this.state.children,f=[];c?(d.forEach((function(e){var t,r=e&&Tn(n,e.key);(t=r&&r.props[c]||!e.props[c]?r:o.a.cloneElement(r||e,On()({},c,!0)))&&f.push(t)})),n.forEach((function(e){e&&Tn(d,e.key)||f.push(e)}))):(i=n,a=[],s={},l=[],d.forEach((function(e){e&&Tn(i,e.key)?l.length&&(s[e.key]=l,l=[]):l.push(e)})),i.forEach((function(e){e&&Object.prototype.hasOwnProperty.call(s,e.key)&&(a=a.concat(s[e.key])),a.push(e)})),f=a=a.concat(l)),this.setState({children:f}),n.forEach((function(e){var n=e&&e.key;if(!e||!u[n]){var r=e&&Tn(d,n);if(c){var o=e.props[c];r?!kn(d,n,c)&&o&&t.keysToEnter.push(n):o&&t.keysToEnter.push(n)}else r||t.keysToEnter.push(n)}})),d.forEach((function(e){var r=e&&e.key;if(!e||!u[r]){var o=e&&Tn(n,r);if(c){var i=e.props[c];o?!kn(n,r,c)&&i&&t.keysToLeave.push(r):i&&t.keysToLeave.push(r)}else o||t.keysToLeave.push(r)}}))}},{key:"componentDidUpdate",value:function(){var e=this.keysToEnter;this.keysToEnter=[],e.forEach(this.performEnter);var t=this.keysToLeave;this.keysToLeave=[],t.forEach(this.performLeave)}},{key:"isValidChildByKey",value:function(e,t){var n=this.props.showProp;return n?kn(e,t,n):Tn(e,t)}},{key:"stop",value:function(e){delete this.currentlyAnimatingKeys[e];var t=this.childrenRefs[e];t&&t.stop()}},{key:"render",value:function(){var e=this,t=this.props;this.nextProps=t;var n=this.state.children,r=null;n&&(r=n.map((function(n){if(null==n)return n;if(!n.key)throw new Error("must set key for <rc-animate> children");return o.a.createElement(rr,{key:n.key,ref:function(t){e.childrenRefs[n.key]=t},animation:t.animation,transitionName:t.transitionName,transitionEnter:t.transitionEnter,transitionAppear:t.transitionAppear,transitionLeave:t.transitionLeave},n)})));var i=t.component;if(i){var a=t;return"string"==typeof i&&(a=_e()({className:t.className,style:t.style},t.componentProps)),o.a.createElement(i,a,r)}return r[0]||null}}]),t}(o.a.Component);sr.isAnimate=!0,sr.propTypes={className:de.a.string,style:de.a.object,component:de.a.any,componentProps:de.a.object,animation:de.a.object,transitionName:de.a.oneOfType([de.a.string,de.a.object]),transitionEnter:de.a.bool,transitionAppear:de.a.bool,exclusive:de.a.bool,transitionLeave:de.a.bool,onEnd:de.a.func,onEnter:de.a.func,onLeave:de.a.func,onAppear:de.a.func,showProp:de.a.string,children:de.a.node},sr.defaultProps={animation:{},component:"span",componentProps:{},transitionEnter:!0,transitionLeave:!0,transitionAppear:!1,onEnd:ar,onEnter:ar,onLeave:ar,onAppear:ar};var lr=function(){var e=this;this.performEnter=function(t){e.childrenRefs[t]&&(e.currentlyAnimatingKeys[t]=!0,e.childrenRefs[t].componentWillEnter(e.handleDoneAdding.bind(e,t,"enter")))},this.performAppear=function(t){e.childrenRefs[t]&&(e.currentlyAnimatingKeys[t]=!0,e.childrenRefs[t].componentWillAppear(e.handleDoneAdding.bind(e,t,"appear")))},this.handleDoneAdding=function(t,n){var r=e.props;if(delete e.currentlyAnimatingKeys[t],!r.exclusive||r===e.nextProps){var o=xn(ir(r));e.isValidChildByKey(o,t)?"appear"===n?Jn(r)&&(r.onAppear(t),r.onEnd(t,!0)):Qn(r)&&(r.onEnter(t),r.onEnd(t,!0)):e.performLeave(t)}},this.performLeave=function(t){e.childrenRefs[t]&&(e.currentlyAnimatingKeys[t]=!0,e.childrenRefs[t].componentWillLeave(e.handleDoneLeaving.bind(e,t)))},this.handleDoneLeaving=function(t){var n=e.props;if(delete e.currentlyAnimatingKeys[t],!n.exclusive||n===e.nextProps){var r,o,i,a,s=xn(ir(n));if(e.isValidChildByKey(s,t))e.performEnter(t);else{var l=function(){er(n)&&(n.onLeave(t),n.onEnd(t,!1))};r=e.state.children,o=s,i=n.showProp,(a=r.length===o.length)&&r.forEach((function(e,t){var n=o[t];e&&n&&(e&&!n||!e&&n||e.key!==n.key||i&&e.props[i]!==n.props[i])&&(a=!1)})),a?l():e.setState({children:s},l)}}}},cr=function(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");return"function"!=typeof t.componentWillReceiveProps?e:o.a.Profiler?(t.UNSAFE_componentWillReceiveProps=t.componentWillReceiveProps,delete t.componentWillReceiveProps,e):e}(sr),ur=n(258),dr=n.n(ur),fr=function(e){function t(){return He()(this,t),Ge()(this,e.apply(this,arguments))}return Be()(t,e),t.prototype.shouldComponentUpdate=function(e){return e.hiddenClassName||e.visible},t.prototype.render=function(){var e=this.props,t=e.hiddenClassName,n=e.visible,r=dr()(e,["hiddenClassName","visible"]);return t||o.a.Children.count(r.children)>1?(!n&&t&&(r.className+=" "+t),o.a.createElement("div",r)):o.a.Children.only(r.children)},t}(r.Component);fr.propTypes={children:de.a.any,className:de.a.string,visible:de.a.bool,hiddenClassName:de.a.string};var pr=fr,hr=function(e){function t(){return He()(this,t),Ge()(this,e.apply(this,arguments))}return Be()(t,e),t.prototype.render=function(){var e=this.props,t=e.className;return e.visible||(t+=" "+e.hiddenClassName),o.a.createElement("div",{className:t,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onMouseDown:e.onMouseDown,onTouchStart:e.onTouchStart,style:e.style},o.a.createElement(pr,{className:e.prefixCls+"-content",visible:e.visible},e.children))},t}(r.Component);hr.propTypes={hiddenClassName:de.a.string,className:de.a.string,prefixCls:de.a.string,onMouseEnter:de.a.func,onMouseLeave:de.a.func,onMouseDown:de.a.func,onTouchStart:de.a.func,children:de.a.any};var vr=hr,gr=function(e){function t(n){He()(this,t);var r=Ge()(this,e.call(this,n));return mr.call(r),r.state={stretchChecked:!1,targetWidth:void 0,targetHeight:void 0},r.savePopupRef=dt.bind(r,"popupInstance"),r.saveAlignRef=dt.bind(r,"alignInstance"),r}return Be()(t,e),t.prototype.componentDidMount=function(){this.rootNode=this.getPopupDomNode(),this.setStretchSize()},t.prototype.componentDidUpdate=function(){this.setStretchSize()},t.prototype.getPopupDomNode=function(){return a.a.findDOMNode(this.popupInstance)},t.
|