-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDistribution.htm
More file actions
279 lines (245 loc) · 749 KB
/
Distribution.htm
File metadata and controls
279 lines (245 loc) · 749 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
<!DOCTYPE html>
<!-- saved from url=(0017)http://localhost/ -->
<!-- (c) 2016, SAS Institute Inc. -->
<html><head><title>Distribution</title><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><meta name="viewport" content="initial-scale=1.0"><meta name="format-detection" content="telephone=no">
<style>
/* HTML Elements */
* { -webkit-tap-highlight-color:rgba( 0, 0, 0, 0 ); } /* Prevents flicker on mobile Safari */
header { position: fixed; z-index: 1000; top: 0px; left: 0px; background-color: #ebeeef; width: 100%; box-shadow: 0 1px 5px #616466; padding: 5px 10px; border: solid #dbe0e3; border-width: 0 0 1px 0; white-space: nowrap; }
body { background-color: #dbe0e3; font-family: Arial, sans-serif; font-size: 12px; padding: 0; margin: 0 auto; }
fieldset { margin-top: 3px; margin-bottom: 4px; border: 1px solid #939ba1; border-radius: 3px; width: -moz-fit-content; width: -webkit-fit-content; width: fit-content; }
img { border: 0; }
progress { display: block; margin-top: 25%; margin-left: auto; margin-right: auto; }
table { border-collapse: collapse; }
td,th { text-align: right; vertical-align: top; }
input { font-family: Arial, sans-serif; font-size: 12px; }
select { display: block; font-family: Arial, sans-serif; font-size: 12px; }
button { cursor: inherit; vertical-align: middle; font-family: Arial, sans-serif; font-size: 12px; padding: 8px 16px; margin: 3px 0; border: 1px solid #939ba1; border-radius: 8px; }
button::-moz-focus-inner { padding: 0; border: 0; } /* Prevents extra button padding on Firefox */
/* Sliders. Require browser specific CSS */
input[type=range] { height: 36px; padding: 0px; margin: 0px; background: transparent; vertical-align: middle; -webkit-appearance: none; border: 0px; box-sizing: border-box; }
input[type=range]::-moz-range-track { -moz-appearance: none; height: 6px; margin: 0px; padding: 0px; border: 1px solid #939ba1; border-radius: 8px; background-image: -moz-linear-gradient( top, #cbd2d7, #ebeeef ); }
input[type=range]::-moz-range-thumb { -moz-appearance: none; width: 30px; height: 30px; margin: 0px; padding: 0px; border: 1px solid #939ba1; border-radius: 30px; background-image: -moz-linear-gradient( top, #ebeeef, #cbd2d7 ); }
input[type=range]::-webkit-slider-runnable-track { height: 7px; margin: 0px; border: 1px solid #939ba1; padding: 0px; background-color: transparent; -webkit-border-radius: 3px; background-image: -webkit-linear-gradient( top, #cbd2d7, #ebeeef ); }
input[type=range]::-webkit-slider-thumb {-webkit-appearance: none; width: 30px; height: 30px; margin-top: -13px; margin-left: 0px; margin-right: 0px; padding: 0px; border: 1px solid #939ba1; border-radius: 20px; background-image: -webkit-linear-gradient( top, #ebeeef, #cbd2d7 ); }
input[type=range]::-ms-tooltip { display: none; }
input[type=range]::-ms-track { height: 6px; border: 0px; padding:10px; margin-left: 0px; color: transparent; background-color: transparent; }
input[type=range]::-ms-fill-upper, input[type=range]::-ms-fill-lower { height: 5px; margin: 0px; border: 1px solid #939ba1; padding: 0px; border-radius: 8px; background-image: linear-gradient( to bottom, #cbd2d7, #ebeeef ); }
input[type=range]::-ms-thumb { width: 24px; height: 24px; margin: 5px; border: 1px solid #939ba1; outline:none; border-radius: 30px; padding: 0px; background-image: linear-gradient( to top, #cbd2d7, #ebeeef ); }
/* Disabled Sliders */
input[type=range]:disabled::-moz-range-track { -moz-appearance: none; height: 6px; margin: 0px; padding: 0px; border: 1px dotted #939ba1; border-radius: 8px; background-image: -moz-linear-gradient( top, #ffffff, #ffffff ); }
input[type=range]:disabled::-moz-range-thumb { -moz-appearance: none; width: 30px; height: 30px; margin: 0px; padding: 0px; border: 1px dotted #939ba1; border-radius: 30px; background-image: none; background-color: #ffffff; }
input[type=range]:disabled::-webkit-slider-runnable-track { height: 7px; margin: 0px; border: 1px dotted #939ba1; padding: 0px; background-color: transparent; -webkit-border-radius: 3px; background-image: none; background-color: #ffffff; }
input[type=range]:disabled::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -13px; margin-left: 0px; margin-right: 0px; padding: 0px; border: 1px dotted #939ba1; border-radius: 20px; background-image: none; background-color: #ffffff; }
input[type=range]:disabled::-ms-track { height: 6px; border: 0px; padding: 10px; margin-left: 0px; color: transparent; background-color: transparent; }
input[type=range]:disabled::-ms-fill-upper, input[type=range]:disabled::-ms-fill-lower { height: 5px; margin: 0px; border: 1px dotted #939ba1; padding: 0px; border-radius: 8px; background-image: none; background-color: #ffffff; }
input[type=range]:disabled::-ms-thumb { width: 24px; height: 24px; margin: 5px; border: 1px dotted #939ba1; outline: none; border-radius: 30px; padding: 0px; background-image: none; background-color: #ffffff; }
/* Pass events to parent element for disabled range inputs */
input[type=range]:disabled { pointer-events: none; }
.parentEventHandler { pointer-events: none; }
.elementEventHandler { pointer-events: auto; }
/* Unique elements */
#body { padding: 55px 10px 10px 5px; margin: 0 auto; }
#menu0, #menu1 { position: absolute; z-index: 100; border: 1px solid #939ba1; padding:0; box-shadow: 2px 2px 5px #616466; }
#progressLabel { display: block; margin-top: 2px; margin-left: auto; margin-right: auto; text-align: center; }
/* Edit fields */
.editBox { position: absolute; padding: 2px 0; }
.editField { position: relative; }
/* Menus and tooltips */
.menuRow { background-color: #ffffff; }
.menuRow:hover { background-color: #c2ddfe; outline-width: 0; }
.menuCell { padding: 10px; text-align: left; }
.menuLeft { padding-left: 5px; }
.menuRight { padding-right: 5px; }
.tooltip { z-index: 1004; padding: 2px 4px; position: absolute; background-color: #ebeeef; border: 1px solid #939ba1; border-radius: 3px; }
.tipShadow { box-shadow: 2px 2px 3px #939ba1; }
.tipClose { padding: 0px 0px 16px 16px; }
.tipPinned { z-index: 99; }
.tip th, .tip td { white-space: nowrap; font-weight: normal; padding: 2px; }
/* Button states and sizes */
.buttonUp { border-color: #939ba1; background-image: -webkit-linear-gradient( top, #ebeeef, #cbd2d7 ); background-image: linear-gradient( to bottom, #ebeeef, #cbd2d7 ); }
.buttonDown { border-color: #626466; background-image: -webkit-linear-gradient( top, #a7b0b5, #cbd2d7 ); background-image: linear-gradient( to bottom, #a7b0b5, #cbd2d7 ); }
.buttonSponsor { padding: 7px 2px; margin: 0; }
.buttonSquare { padding: 8px; margin: 0; }
.buttonText { padding: 9px; margin: 0; }
.buttonLargeSquare { padding: 9px 8px 7px 8px; margin: 0; border-radius: 12px; }
.segmentFirst { border-radius: 0; border-top-left-radius: 8px; border-bottom-left-radius: 8px; }
.segmentMiddle { border-radius: 0; }
.segmentLast { border-radius: 0; border-top-right-radius: 8px; border-bottom-right-radius: 8px; }
.verticallyCentered { vertical-align: middle; }
/* Positioning and padding for images */
.buttonImage { vertical-align: middle; padding: 0; margin: 0; }
.staticImage { border: 1px dotted #939ba1; position: relative; top: -1px; }
/* Layouts and collapsible outlines */
.layoutTable { display: table; }
.layoutRow { display: table-row; }
.layoutCell { display: table-cell; vertical-align: top; }
.layoutCellMiddle { display: table-cell; vertical-align: middle; }
.outline { position: relative; left: -5px; top: 2px; margin: -2px -1px -1px -1px; }
.lineUpBoxRow { vertical-align: text-top; }
.lineUpBoxRow td, input { margin-top: 0px !important; padding-top: 0px !important; }
.spaceLeft { margin-left: 10px; }
.spaceTop { margin-top: 5px; }
.scrollable { overflow: auto; resize: both; -webkit-overflow-scrolling: touch; }
/* Note that using "display: block" results in border-collapse not fully collapsing adjacent borders. */
table.scrollableTable tbody,
table.scrollableTable thead { display: block; overflow-y: scroll; overflow-x: hidden; }
table.scrollableTable tbody { border: 0px; }
table.scrollableTable thead { border-width: 0px 0px 1px 0px; }
/* Match "darkBackground" class so borders are not apparent unless th element is a member of border class */
table.scrollableTable th { border-style: solid; border-color: #ebeeef; border-width: 0px 1px 1px 0px; }
table.scrollableTable th.border { border-color: #939ba1; }
/* Avoid double border resulting from both head and the last row of th cells having a bottom border */
table.scrollableTable thead tr:last-child th { border-width: 0px 1px 0px 0px; }
/* Match lightBackground of body cells. Using border to remove browser dependent issues
related to determining programmatically determining cell size when corresponding header has a border. */
table.scrollableTable td { border: solid #ffffff; border-width: 0px 1px 0px 0px; }
table.scrollableTable { width: 100%; }
/* IE specific code. Effectively, hide the scrollbar in the header */
table.scrollableTable thead {
scrollbar-base-color: #ebeeef;
scrollbar-base-color: #ebeeef;
scrollbar-3dlight-color: #ebeeef;
scrollbar-highlight-color: #ebeeef;
scrollbar-track-color: #ebeeef;
scrollbar-arrow-color: #ebeeef;
scrollbar-shadow-color: #ebeeef;
scrollbar-dark-shadow-color: #ebeeef;
}
/* Force scrollbars to appear on the iPad by disabling "touch" scrolling. For iOS devices touch scrolling provides
inertial scrolling where scrollable content can continue to scroll after the user touches the screen.
In addition, it is necessary to create a custom scrollbar. */
table.scrollableTable tbody { -webkit-overflow-scrolling: auto; }
table.scrollableTable ::-webkit-scrollbar {
-webkit-appearance: none;
width: 10px;
}
table.scrollableTable ::-webkit-scrollbar-track {
border-radius: 10px;
background-color: #E5E5E5;
}
table.scrollableTable ::-webkit-scrollbar-thumb {
border-radius: 10px;
background-color: #BBB;
-webkit-box-shadow: inset 0 0 1px rgba(0,0,0,0.3);
}
/* Make child fill the space provided by the parent. */
.fullWidth { width: 100%; }
/* Text and element visibility, selection, keyboard accessibility */
.title { display: inline; vertical-align: middle; padding-left: 10px; padding-right: 4px; }
.revealed { }
.permanentlyConcealed, .concealed { display: none !important; }
.hidden { visibility: hidden !important; }
.text { padding: 2px 6px; font-weight: normal; white-space:nowrap; }
.header { vertical-align: bottom; }
.wrap { white-space: pre-wrap; }
.nowrap { white-space: nowrap; }
.disabledText { color: grey; }
.emphasized { font-weight: bold; }
.selected { background-color: #c2ddfe; }
.border { border: 1px solid #939ba1; }
.borderTop { border: 1px solid #939ba1; border-width: 1px 0 0 0; }
.borderTopBottom { border: 1px solid #939ba1; border-width: 1px 0 1px 0; }
.borderTopBottomLeft { border: 1px solid #939ba1; border-width: 1px 0 1px 1px; }
.borderTopBottomRight { border: 1px solid #939ba1; border-width: 1px 1px 1px 0; }
.noBorderTop { border-top-width: 0px; }
.noBorderRight { border-right-width: 0px; }
.noBorderBottom { border-bottom-width: 0px; }
.noBorderLeft { border-left-width: 0px; }
.left { text-align: left; }
.center { text-align: center; }
.indent { padding-left: 15px; }
a:focus { outline-width: 0; }
select:focus, textarea:focus, button:focus, input:focus { outline-width: 0; box-shadow: 0 0 6px 3px #60a0e0; }
img.tipClose:focus { outline-width: 0; background-position: right top; background-repeat: no-repeat; background-image: url( "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAKMGlDQ1BJQ0NQcm9maWxlAAB4nJ2Wd1RT2RaHz703vVCSEIqU0GtoUgJIDb1IkS4qMQkQSsCQACI2RFRwRFGRpggyKOCAo0ORsSKKhQFRsesEGUTUcXAUG5ZJZK0Z37x5782b3x/3fmufvc/dZ+991roAkPyDBcJMWAmADKFYFOHnxYiNi2dgBwEM8AADbADgcLOzQhb4RgKZAnzYjGyZE/gXvboOIPn7KtM/jMEA/5+UuVkiMQBQmIzn8vjZXBkXyTg9V5wlt0/JmLY0Tc4wSs4iWYIyVpNz8ixbfPaZZQ858zKEPBnLc87iZfDk3CfjjTkSvoyRYBkX5wj4uTK+JmODdEmGQMZv5LEZfE42ACiS3C7mc1NkbC1jkigygi3jeQDgSMlf8NIvWMzPE8sPxc7MWi4SJKeIGSZcU4aNkxOL4c/PTeeLxcwwDjeNI+Ix2JkZWRzhcgBmz/xZFHltGbIiO9g4OTgwbS1tvijUf138m5L3dpZehH/uGUQf+MP2V36ZDQCwpmW12fqHbWkVAF3rAVC7/YfNYC8AirK+dQ59cR66fF5SxOIsZyur3NxcSwGfaykv6O/6nw5/Q198z1K+3e/lYXjzkziSdDFDXjduZnqmRMTIzuJw+Qzmn4f4Hwf+dR4WEfwkvogvlEVEy6ZMIEyWtVvIE4gFmUKGQPifmvgPw/6k2bmWidr4EdCWWAKlIRpAfh4AKCoRIAl7ZCvQ730LxkcD+c2L0ZmYnfvPgv59V7hM/sgWJH+OY0dEMrgSUc7smvxaAjQgAEVAA+pAG+gDE8AEtsARuAAP4AMCQSiIBHFgMeCCFJABRCAXFIC1oBiUgq1gJ6gGdaARNIM2cBh0gWPgNDgHLoHLYATcAVIwDp6AKfAKzEAQhIXIEBVSh3QgQ8gcsoVYkBvkAwVDEVAclAglQ0JIAhVA66BSqByqhuqhZuhb6Ch0GroADUO3oFFoEvoVegcjMAmmwVqwEWwFs2BPOAiOhBfByfAyOB8ugrfAlXADfBDuhE/Dl+ARWAo/gacRgBAROqKLMBEWwkZCkXgkCREhq5ASpAJpQNqQHqQfuYpIkafIWxQGRUUxUEyUC8ofFYXiopahVqE2o6pRB1CdqD7UVdQoagr1EU1Ga6LN0c7oAHQsOhmdiy5GV6Cb0B3os+gR9Dj6FQaDoWOMMY4Yf0wcJhWzArMZsxvTjjmFGcaMYaaxWKw61hzrig3FcrBibDG2CnsQexJ7BTuOfYMj4nRwtjhfXDxOiCvEVeBacCdwV3ATuBm8Et4Q74wPxfPwy/Fl+EZ8D34IP46fISgTjAmuhEhCKmEtoZLQRjhLuEt4QSQS9YhOxHCigLiGWEk8RDxPHCW+JVFIZiQ2KYEkIW0h7SedIt0ivSCTyUZkD3I8WUzeQm4mnyHfJ79RoCpYKgQo8BRWK9QodCpcUXimiFc0VPRUXKyYr1iheERxSPGpEl7JSImtxFFapVSjdFTphtK0MlXZRjlUOUN5s3KL8gXlRxQsxYjiQ+FRiij7KGcoY1SEqk9lU7nUddRG6lnqOA1DM6YF0FJppbRvaIO0KRWKip1KtEqeSo3KcRUpHaEb0QPo6fQy+mH6dfo7VS1VT1W+6ibVNtUrqq/V5qh5qPHVStTa1UbU3qkz1H3U09S3qXep39NAaZhphGvkauzROKvxdA5tjssc7pySOYfn3NaENc00IzRXaO7THNCc1tLW8tPK0qrSOqP1VJuu7aGdqr1D+4T2pA5Vx01HoLND56TOY4YKw5ORzqhk9DGmdDV1/XUluvW6g7ozesZ6UXqFeu169/QJ+iz9JP0d+r36UwY6BiEGBQatBrcN8YYswxTDXYb9hq+NjI1ijDYYdRk9MlYzDjDON241vmtCNnE3WWbSYHLNFGPKMk0z3W162Qw2szdLMasxGzKHzR3MBea7zYct0BZOFkKLBosbTBLTk5nDbGWOWtItgy0LLbssn1kZWMVbbbPqt/pobW+dbt1ofceGYhNoU2jTY/OrrZkt17bG9tpc8lzfuavnds99bmdux7fbY3fTnmofYr/Bvtf+g4Ojg8ihzWHS0cAx0bHW8QaLxgpjbWadd0I7eTmtdjrm9NbZwVnsfNj5FxemS5pLi8ujecbz+PMa54256rlyXOtdpW4Mt0S3vW5Sd113jnuD+wMPfQ+eR5PHhKepZ6rnQc9nXtZeIq8Or9dsZ/ZK9ilvxNvPu8R70IfiE+VT7XPfV8832bfVd8rP3m+F3yl/tH+Q/zb/GwFaAdyA5oCpQMfAlYF9QaSgBUHVQQ+CzYJFwT0hcEhgyPaQu/MN5wvnd4WC0IDQ7aH3wozDloV9H44JDwuvCX8YYRNRENG/gLpgyYKWBa8ivSLLIu9EmURJonqjFaMTopujX8d4x5THSGOtYlfGXorTiBPEdcdj46Pjm+KnF/os3LlwPME+oTjh+iLjRXmLLizWWJy++PgSxSWcJUcS0YkxiS2J7zmhnAbO9NKApbVLp7hs7i7uE54Hbwdvku/KL+dPJLkmlSc9SnZN3p48meKeUpHyVMAWVAuep/qn1qW+TgtN25/2KT0mvT0Dl5GYcVRIEaYJ+zK1M/Myh7PMs4qzpMucl+1cNiUKEjVlQ9mLsrvFNNnP1IDERLJeMprjllOT8yY3OvdInnKeMG9gudnyTcsn8n3zv16BWsFd0VugW7C2YHSl58r6VdCqpat6V+uvLlo9vsZvzYG1hLVpa38otC4sL3y5LmZdT5FW0ZqisfV+61uLFYpFxTc2uGyo24jaKNg4uGnupqpNH0t4JRdLrUsrSt9v5m6++JXNV5VffdqStGWwzKFsz1bMVuHW69vctx0oVy7PLx/bHrK9cwdjR8mOlzuX7LxQYVdRt4uwS7JLWhlc2V1lULW16n11SvVIjVdNe61m7aba17t5u6/s8djTVqdVV1r3bq9g7816v/rOBqOGin2YfTn7HjZGN/Z/zfq6uUmjqbTpw37hfumBiAN9zY7NzS2aLWWtcKukdfJgwsHL33h/093GbKtvp7eXHgKHJIcef5v47fXDQYd7j7COtH1n+F1tB7WjpBPqXN451ZXSJe2O6x4+Gni0t8elp+N7y+/3H9M9VnNc5XjZCcKJohOfTuafnD6Vderp6eTTY71Leu+ciT1zrS+8b/Bs0Nnz53zPnen37D953vX8sQvOF45eZF3suuRwqXPAfqDjB/sfOgYdBjuHHIe6Lztd7hmeN3ziivuV01e9r567FnDt0sj8keHrUddv3ki4Ib3Ju/noVvqt57dzbs/cWXMXfbfkntK9ivua9xt+NP2xXeogPT7qPTrwYMGDO2PcsSc/Zf/0frzoIflhxYTORPMj20fHJn0nLz9e+Hj8SdaTmafFPyv/XPvM5Nl3v3j8MjAVOzX+XPT806+bX6i/2P/S7mXvdNj0/VcZr2Zel7xRf3PgLett/7uYdxMzue+x7ys/mH7o+Rj08e6njE+ffgP3hPP7GgT44wAACSNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+Cjx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IlhNUCBDb3JlIDUuMS4yIj4KICAgPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIvPgogICA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz4s45Y3AAAAIXRFWHRTb2Z0d2FyZQBHcmFwaGljQ29udmVydGVyIChJbnRlbCl3h/oZAAAAi0lEQVR4nGJ4/e49AwwfuPn6Pwwji+OTQ1Gw+MS9/927roFpZIX45DAUwDBMIT45sAHoCpwTelEU4pMD6QUbgKxA2r7sv65PA4qNIAwSA8khGwI3ANkWmEJkQ7CJwV2ALQyQNeDTjDMWkA3Bp5l6BlDkBYoDkerRSHJCojgpUyUzUZKdAQAAAP//AwCK/u2vFwMtHQAAAABJRU5ErkJggg==" ); }
/* Slider focus needs special browser dependent treatment */
input[type=range]:focus { outline-width: 0px; outline-style: none; outline-color: #60a0e0; box-shadow: none; }
input[type=range]:focus::-webkit-slider-thumb { outline-width: 1px; box-shadow: 0 0 6px 3px #60a0e0; }
input[type=range]:focus::-moz-range-thumb { outline-width: 0px; box-shadow: 0 0 6px 3px #60a0e0; }
input[type=range]:focus::-ms-thumb { outline-width: 0px; box-shadow: 0 0 6px 3px #60a0e0; }
/* Background colors */
.lightBackground { background-color: #ffffff; }
.darkBackground { background-color: #ebeeef; }
.transparentBackground { background-color: transparent; }
/* Legends */
.lineLegendCell { margin: 9px 2px; width: 16px; height: 2px; }
.filledLegendCell { width: 16px; height: 19px; margin-top: -2px; margin-bottom: -2px; }
/* Sliders */
.sliderRange { height: 5px; background-color: #dbe0e3; margin-top: -6px; }
.sliderThumb { height: 15px; border: 1px solid #bbc4cb; background-color: #ffffff; }
.sliderTrack { width: 100px; height: 5px; border: 1px solid #bbc4cb; border-radius:3px; background-color: #ffffff; margin-top: 5px; }
/* Cursors */
.cursorArrow { cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAAAXNSR0IArs4c6QAAAAZ0Uk5TAIIAkQC0lV1BMQAAACF0RVh0U29mdHdhcmUAR3JhcGhpY0NvbnZlcnRlciAoSW50ZWwpd4f6GQAAAF1JREFUeJyk0cEJACAIBdA/exu0S/vZQRBR8xeFF9EHqRhzWYiIT8uA7wZATQTUFKA3NWjMEZxMB0pDQDYcBENm0Mfv8DC0NjUGPrHyLQiYbOkXqMlf2gAAAP//AwBrUpPkK+TKcQAAAABJRU5ErkJggg==) 4 1, auto; }
.cursorHandClosed { cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo3OEIyNUZGMEYwNDdFNDExQUYyREE3OTg3OTk1NTgwNSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDowRTRCOTE1QzRFMkQxMUU0OEI0RkZCMEVCQUQyNzU1NCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDowRTRCOTE1QjRFMkQxMUU0OEI0RkZCMEVCQUQyNzU1NCIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjhDMDVFQkFBMjU0RUU0MTFBODA1ODMwNTIwRTNBQjYxIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjc4QjI1RkYwRjA0N0U0MTFBRjJEQTc5ODc5OTU1ODA1Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+3KlXHwAAAIZJREFUeNqkUwEOgCAI9Bj//zLFEiOWIvM2y5Dj4GYQkXYCaoc4LsD6ANDiKHfMB+DPNFc5nw4soEQja2IvLGENQY6qdmAFvarFXXegoLQFy9U3ZUlxH3wQOENkRfiD8ujl1MaY3oOK+jDx+ca2ar83iCaWisxGSIuY+upfKHXCiUkpLgEGAKQLURzmPE5oAAAAAElFTkSuQmCC) 7 7, auto; }
.cursorHandOpen { cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo3OEIyNUZGMEYwNDdFNDExQUYyREE3OTg3OTk1NTgwNSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo3RDlEQUJEMzRFMkIxMUU0ODIyOEM5RDhCQjlFMzA5RiIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo3RDlEQUJEMjRFMkIxMUU0ODIyOEM5RDhCQjlFMzA5RiIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjg5MDVFQkFBMjU0RUU0MTFBODA1ODMwNTIwRTNBQjYxIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjc4QjI1RkYwRjA0N0U0MTFBRjJEQTc5ODc5OTU1ODA1Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+vJF1RAAAAIVJREFUeNqck4sNwCAIRIUF2H9aKlYSonzUS0xbzXEPYlvLxXOFAseg+9z1fwCEHrRmMUzTlhqdYXsXrwVAURU9MyvNE4ENwGXaLkVGhNXwsvRtiAe924GNB1rs2yKWAJbLcl3gShJGROBe5ZMWtH+PoGxFznsIRj9TSWLT0wJVF/ryCTAA2kBHMLZVxIkAAAAASUVORK5CYII=) 7 7, auto; }
.cursorNWSE { cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAACSNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+Cjx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IlhNUCBDb3JlIDUuMS4yIj4KICAgPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIvPgogICA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz4s45Y3AAAAIXRFWHRTb2Z0d2FyZQBHcmFwaGljQ29udmVydGVyIChJbnRlbCl3h/oZAAAAYklEQVR4nKST2woAIAhD/f+f7vLgg8l0s0gJZAeZaas4di4RN1uKL4AgzgBRHAH+HnXgogEkOy5BUIGGVEUECV13LbYeMUYF0Ttudlzwv0zEEqDdFQZQbivrAYoNAAD//wMA7m884Lzn6F4AAAAASUVORK5CYII=) 7 7, auto; }
.cursorNESW { cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAACF0RVh0U29mdHdhcmUAR3JhcGhpY0NvbnZlcnRlciAoSW50ZWwpd4f6GQAAAGJJREFUeJykk1sKACAIBL3/pY2CwHyvBfsROJMWETFTFk7WqekIdpVOWxBJIIEnGXUgJfAdXEDvIVi/TCqIYCfsntCEqZ6xK5C3DMCvYABbwXcHA0nx26qA85osAAAA//8DAO5vPOBuDpPUAAAAAElFTkSuQmCC) 7 7, auto; }
.cursorText { cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAACF0RVh0U29mdHdhcmUAR3JhcGhpY0NvbnZlcnRlciAoSW50ZWwpd4f6GQAAAElJREFUeJxiYPj/nwGG//8HMRjAGMzGIYaC0QX+QwFcAwNcCFMzNgPQXYNT46gBNDYAOe4JGjI4vTDEDaAoM5GTnQEAAAD//wMAH1A35QeFbcAAAAAASUVORK5CYII=) 7 8, auto; }
/* Annotations */
.annotation { z-index: 10; position:absolute; }
.annotationWrapper { position:relative; width: 100%; height: 100%; }
/* Table plot elements, using box-shadow for printing */
.barBox { box-shadow: inset 0 0 0 2000px #bbc4cb; }
.barBoxSmall { box-shadow: inset 0 0 0 2000px #939ba1; }
.barBoxBound { box-shadow: inset 0 0 0 2000px #3479ee; border: solid #ffffff; border-width: 0px 1px; }
/* Role names for bubble plot */
.roleName { margin-left: 5px; margin-right: 2px; font-weight:bold; }
/* Tab controls */
.tabBox { padding-top: 28px; }
ul.tabs { list-style-type: none; text-align: left; padding:0; margin:0; position: relative; top: -16px; cursor: default; height: 14px;}
ul.tabs>li { border-color: #939ba1; background-image: -webkit-linear-gradient( top, #ebeeef, #cbd2d7 ); background-image: linear-gradient( to bottom, #ebeeef, #cbd2d7 ); border: solid #939BA1; border-width: 1px; -webkit-border-top-right-radius: 8px; -moz-border-radius-topright: 8px; border-top-right-radius: 8px; -webkit-border-top-left-radius: 8px; -moz-border-radius-topleft: 8px; border-top-left-radius: 8px; display:inline; cursor: inherit; font-family: Arial, sans-serif; font-size: 12px; padding: 9px 14px 8px; margin: 3px 0; height: 14px; z-index: 0; position:relative;}
ul.tabs>li.selectedTab { background-color: #dbe0e3; background-image: none; border-bottom-color: #DBE0E3; z-index: 2;}
ul.tabs>li:focus { outline-width: 0px; box-shadow: 0 0 6px 3px #60a0e0; }
.tabContentContainer { margin-right: -5px; position: relative; z-index: 1; }
.tabContent { padding: 16px 10px 10px; margin-top: -8px; margin-bottom: 4px; border: 1px solid #939ba1; border-radius: 0px 3px 3px 3px; background-color: #DBE0E3;}
/* Profiler controls */
.profilerInputContainer { padding: 0px 0px 0px 3px; }
.profilerInput { height: 10px; font-size: 10px; position: relative; color: #880114; text-align: right; }
.profilerInputError { border: 2px solid #ff0000; }
.profilerSelect { padding: 0; margin: 0; font-size: 10px; position: relative; color: #880114; display: inline; }
.profilerSettingButton { margin: 0; }
.profilerLockButton { position: relative; top: 32px; left: 2px;}
.profilerEditButton { position: relative; color: #880114; }
/* Dialog */
#dialogOverlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1002; background: rgba(0, 0, 0, 0.2); }
#dialog { position: absolute; z-index: 1003; padding: 11px; border-radius: 8px; background-color: #ebeeef; border: 1px solid #939ba1; box-shadow: 4px 4px 5px #939ba1; }
#dialogContent>form>table { margin-left: auto; margin-right: auto; }
#dialogContent>form>table>tr:first-child>td { padding-top: 0; }
#dialogButtonBar { float: right; padding-top: 16px }
.dialogButtonTable { border-collapse:separate; border-spacing: 7px; }
.dialogButton { margin: 0 0 0 7px; }
.dialogButton:first-child { margin: 0; }
.dialogInput { float: left; margin: 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.dialogContentLeft { text-align: right; vertical-align: middle; padding: 6px 6px 0 0; margin: 0; }
.dialogContentRight { text-align: left; vertical-align: middle; padding: 6px 0 0; margin: 0; }
.dialogInputError { float: left; outline-width: 0; border: 2px solid #ff0000; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.dialogInputErrorCell { background-color: #ffcccc; }
.dialogInputErrorText { background-color: #ffcccc; height: 10px; font-size: 10px; font-weight: bold; text-align:left; padding: 6px 0 0; }
/* Printing.*/
hr { page-break-after: always; }
@media print {
header { display: none; }
#body { padding: 0; }
hr { color: transparent; }
table.scrollableTable tbody { height: auto !important; overflow-y: visible; }
}
</style>
<script>var JMP=function(){"use strict";var e={};return e.EPOCH=1904,e.LOCALE="en",e.SEPARATOR="\b",e.LARGE_FONT_SIZE=12,e.SMALL_FONT_SIZE=10,e.FONT="Arial",e.COLOR_BACK="#ebeeef",e.COLOR_FILL="#dbe0e3",e.COLOR_SELECT="#c2ddfe",e.COLOR_DESELECT="#caccce",e.COLOR_LINE="#939ba1",e.COLOR_BAR="#bbc4cb",e.COLOR_BLACK="#000000",e.COLOR_WHITE="#ffffff",e.SQRT2PI=Math.sqrt(2*Math.PI),e.R_SQRT2PI=1/e.SQRT2PI,e.R_SQRT2=1/Math.SQRT2,e.LN_R2PI=Math.log(e.SQRT2PI),e.TD_SQRT_PI=2/Math.sqrt(Math.PI),e.TWO_PI=2*Math.PI,e.HALF_PI=Math.PI/2,e.DEG2RAD=.0174532925199433,e.RAD2DEG=57.29577951308232,e.R_LN2=1/Math.LN2,e.SQRT3=1.7320508075688772,e.GAMMA=.5772156649015329,e.MAC_INT=2147483647,e.MAC_UINT=4294967295,e.MAC_NINT=-214783648,e.SINGULAR=1e-12,e.MAC_BITS=8,e.MAC_MIN_DBL_LNG=3,e.MAC_MAX_DBL_LNG=8,e.MAC_SMALL_RECIP=2.225073858507202e-308,e.MAC_INT_DOUB=9007199254740992,e.MAC_ADD_BIG=Number.MAX_VALUE/2,e.MAC_SUM_BIG=Number.MAX_VALUE/1e3,e.MAC_CUBE_BIG=Math.pow(Number.MAX_VALUE,1/3),e.MAC_SWCP_BIG=Math.pow(e.MAC_SUM_BIG,1/3),e.MAC_CUBE_SMALL=Math.pow(Number.MIN_VALUE,1/3),e.MAC_EPS=1.110223024625157e-16,e.MAC_SQRT_BIG=Math.sqrt(Number.MAX_VALUE),e.MAC_SQRT_SMALL=Math.sqrt(Number.MIN_VALUE),e.MAC_SSCP_BIG=e.MAC_SQRT_BIG/100,e.MAC_SQRT_EPS=Math.sqrt(e.MAC_EPS),e.MAC_LOG_BIG=Math.log(Number.MAX_VALUE),e.MAC_LOG_SMALL=Math.log(Number.MIN_VALUE),e.MAC_L2EPS=Math.floor(-Math.log(e.MAC_EPS)/Math.LN2),e.MAC_L2BIG=Math.floor(e.MAC_LOG_BIG/Math.LN2),e.MAC_L2SML=Math.floor(-e.MAC_LOG_SMALL/Math.LN2),e.MAC_TEN_BIG=Math.floor(Math.log(Number.MAX_VALUE)/Math.LN10),e.MAC_TEN_SMALL=Math.floor(Math.log(Number.MIN_VALUE)/Math.LN10),e.EPSILON=1e3*e.MAC_EPS,e.SMALL_LOG_VALUE=1e-4,e.GOLDEN=(1+Math.sqrt(5))/2,e.isAsianLocale=function(){var t=e.LOCALE.slice(0,2);return t==="ja"||t==="ko"||t==="zh"},e}();JMP.EventDispatcher=function(){"use strict";var e={};return e.eventListeners=[],e.addEventListener=function(t){e.eventListeners.indexOf(t)<0&&e.eventListeners.push(t)},e.removeEventListener=function(t){var n=e.eventListeners.indexOf(t);n>=0&&e.eventListeners.splice(n,1)},e.dispatchEvent=function(t){var n,r=e.eventListeners,i=r.length,s=t.type;for(n=0;n<i;n++)t.type=s,r[n](t)},e},JMP.VariableStatic=function(){"use strict";var e={};return e.TYPE_NUMBER=0,e.TYPE_STRING=1,e.LEVEL_CONTINUOUS=0,e.LEVEL_NOMINAL=1,e.LEVEL_ORDINAL=2,e}(),JMP.Variable=function(e,t,n){"use strict";var r={};return r.name=e||"",r.type=t!==undefined?t:JMP.VariableStatic.TYPE_NUMBER,r.format=n,r},JMP.ScalarStatic=function(){"use strict";var e={};return e.EVENT_VALUE_CHANGED=0,e.event={type:e.EVENT_VALUE_CHANGED},e}(),JMP.Scalar=function(e,t,n,r){"use strict";var i=JMP.Variable(t,n,r),s=JMP.EventDispatcher();return i.value=e,i.setValue=function(e){e!==i.value&&(i.value=e,i.sendEvent(JMP.ScalarStatic.EVENT_VALUE_CHANGED))},i.addEventListener=s.addEventListener,i.removeEventListener=s.removeEventListener,i.sendEvent=function(e){JMP.ScalarStatic.event.type=e,s.dispatchEvent(JMP.ScalarStatic.event)},i},JMP.ColumnStatic=function(){"use strict";var e={},t=function(e,t){var n=!1,r=t.lo,i=t.hi,s=t.cond,o;if(e===null)return r===undefined&&s==="eq"?t.label:undefined;switch(s){case"lt":n=r===undefined?e<i:r<e;break;case"leq":n=r===undefined?e<=i:r<=e;break;case"ltlt":n=r<e&&e<i;break;case"leqlt":n=r<=e&&e<i;break;case"ltleq":n=r<e&&e<=i;break;case"leqleq":n=r<=e&&e<=i;break;default:n=r===e}return n&&(o=t.label),o},n=function(e,n){var r,i=n.length,s;for(r=0;r<i&&!s;r++)s=t(e,n[r]);return s};return e.EVENT_VALUE_CHANGED=0,e.event={type:e.EVENT_VALUE_CHANGED},e.isIntegral=function(e){var t,n,r,i,s=!1;if(e.type===JMP.VariableStatic.TYPE_NUMBER){s=!0,t=e.data,i=t.length;for(r=0;r<i&&s;r++)n=t[r],s=n===null||n===n>>0}return s},e.getValueString=function(e,t,r){var i;return r===undefined&&e.type===JMP.VariableStatic.TYPE_NUMBER&&(r=e.format),e.valueLabels&&(e.valueLabels.ranges?i=n(t,e.valueLabels.ranges):i=e.valueLabels[t]),i===undefined&&(i=e.type===JMP.VariableStatic.TYPE_STRING||typeof t=="string"?t:JMP.FormatStatic.formatNumber(t,r)),i},e.setValueAt=function(e,t,n){var r,i,s=t;t!==null&&(e.type===JMP.VariableStatic.TYPE_NUMBER?typeof t!="number"&&(s=parseFloat(t)):typeof t!="string"&&(s=t.toString()));if(e.data.length<n+1){i=e.data.length,e.data.length=n+1;for(r=i;r<n+1;r++)e.data[r]=null}e.data[n]!==s&&(e.data[n]=s,e.sendEvent(JMP.ColumnStatic.EVENT_VALUE_CHANGED))},e}(),JMP.Column=function(e,t,n,r,i,s,o,u){"use strict";var a=JMP.Variable(t,n,i),f,l=JMP.EventDispatcher();return a.dataLevel=r!==undefined?r:JMP.VariableStatic.LEVEL_CONTINUOUS,a.valueLabels=s,a.valueOrdering=o,a.isInformativeMissing=u?!0:!1,a.data=[],e&&(a.data=e),a.isIntegral=function(){return f===undefined&&(f=JMP.ColumnStatic.isIntegral(a)),f},a.getValueString=function(e,t){return JMP.ColumnStatic.getValueString(a,e,t)},a.setData=function(e){e&&(a.data=e,a.sendEvent(JMP.ColumnStatic.EVENT_VALUE_CHANGED))},a.setValueAt=function(e,t){JMP.ColumnStatic.setValueAt(a,e,t)},a.addEventListener=l.addEventListener,a.removeEventListener=l.removeEventListener,a.sendEvent=function(e){JMP.ColumnStatic.event.type=e,l.dispatchEvent(JMP.ColumnStatic.event)},a},JMP.ColumnsStatic=function(){"use strict";var e={};return e.ROLE_X=0,e.ROLE_Y=1,e.ROLE_Z=2,e.ROLE_FREQ=3,e.ROLE_WEIGHT=4,e.ROLE_LABEL=5,e.ROLE_GROUP=6,e.ROLE_COLOR=7,e.ROLE_SIZE=8,e.ROLE_TIME=9,e.ROLE_ID=10,e.ROLE_ID2=11,e.getColumns=function(e,t,n){var r,i,s=[];i=t.length;for(r=0;r<i;r++)t[r]===n&&s.push(e[r]);return s},e.removeColumns=function(e,t,n){var r,i,s=[];if(n===undefined)s=e.concat(),e.length=0,t.length=0;else{i=t.length;for(r=i-1;r>=0;r--)t[r]===n&&(s.push(e[r]),e.splice(r,1),t.splice(r,1))}return s},e.setRowStates=function(e,t,n){e.rowStates&&n&&e.rowStates.removeEventListener(n),e.rowStates=t,e.rowStates&&n&&e.rowStates.addEventListener(n)},e}(),JMP.Columns=function(){"use strict";var e={},t=[],n=[];return e.rowStates=undefined,e.addColumn=function(e,r){t.push(e),n.push(r)},e.getColumn=function(e){var r=n.indexOf(e);return r>=0?t[r]:null},e.getColumns=function(e){return JMP.ColumnsStatic.getColumns(t,n,e)},e.removeColumns=function(e){return JMP.ColumnsStatic.removeColumns(t,n,e)},e.setRowStates=function(t,n){JMP.ColumnsStatic.setRowStates(e,t,n)},e},JMP.FormatStatic=function(){"use strict";var e={},t=16,n=Date.UTC(JMP.EPOCH,0,1),r=new RegExp("\\.","g"),i=new RegExp("\\|","g"),s=695420,o=7,u=365,a=4*u+1,f=25*a,l=4*f,c=10*l,h=60,p=60*h,d=24*p,v=[31,28,31,30,31,30,31,31,30,31,30,31],m=[31,29,31,30,31,30,31,31,30,31,30,31],g=[0,31,59,90,120,151,181,212,243,273,304,334],y=3600,b=function(e){var t=e-1,n=t/100>>0,r=(t/4>>0)-n+(n/4>>0)-(t/4e3>>0);return e*u+r},w=function(e){return e%4!==0?!1:e%100!==0?!0:e%4e3===0?!1:e%400===0?!0:!1},E=function(e,t,n,r){var i=e,s,o,u,a;if(e.indexOf&&e.indexOf("e")<0){a=e.indexOf(t),a<=0&&(a=e.length),u=e[0]==="-"?1:0,o=(a-u-1)/3>>0;if(e.length+o>r)return e;i=e.slice(a),s=a;while(s>3+u)s-=3,i=e.slice(s,s+3)+(s<a-3?n:"")+i;i=e.slice(0,s)+(s<a?n:"")+i}return i},S=function(e,t,n){var r=e,i=e[0]==="-",s,o,u=".",a=",";return t.decimalSeparator&&(u=t.decimalSeparator),t.thousandsSeparator&&(a=t.thousandsSeparator),i&&(r=e.slice(1)),s=i?t.negativePrefix:t.positivePrefix,o=i?t.negativeSuffix:t.positiveSuffix,r=r.replace(".",u),t.showThousands&&e.indexOf("e")<0&&(r=E(r,u,a,n)),s+r+o},x=function(e,t){var n=0,r=e<0,i,s;return i=r?t.negativePrefix:t.positivePrefix,s=r?t.negativeSuffix:t.positiveSuffix,n+=i.length+s.length,n+=t.decimalSeparator.length-1,n},T=function(e){var t="";return e<10?t+="0"+e:t+=e,t},N=function(e){var t="";return e<10?t+="000"+e:e<100?t+="00"+e:e<1e3?t+="0"+e:t+=e,t},C=function(t,r){var i=r.dateTimePattern,s,o,u,a,f,l,c,h=e.isDuration(r),p=t<0&&h,d=r.use24HourClock||h;return p&&(t=-t),h&&i.indexOf("%ss%")<0?t+=30:t=e.roundUp(t,Math.max(0,r.nDecimals)),o=new Date(n+t*1e3),u=o.getUTCHours(),a=u,d||(a%=12,a===0&&(a=12)),u===0&&r.useZeroForMidnight&&(a=0),s=i,p&&(r.useMinusSignForNegativeDateTime?i.indexOf(":%Day%")>=0?s=s.replace(":%Day%","-%Day%"):i.indexOf("%Day%")>=0?s=s.replace("%Day%","-%Day%"):i.indexOf(":%Hour%")>=0?s=s.replace(":%Hour%","-:%Hour%"):i.indexOf("%Hour%")>=0?s=s.replace("%Hour%","-%Hour%"):i.indexOf(":%Minute%")>=0?s=s.replace(":%Minute%","-:%Minute%"):i.indexOf("%Minute%")>=0?s=s.replace("%Minute%","-%Minute%"):s="-"+s:(i.indexOf(":%Day%")>=0?s=s.replace(":%Day%","(:%Day%"):i.indexOf("%Day%")>=0?s=s.replace("%Day%","(%Day%"):i.indexOf("%Hour%")>=0?s=s.replace("%Hour%","(%Hour%"):i.indexOf("%Minute%")>=0?s=s.replace("%Minute%","(%Minute%"):i.indexOf("%ss%")>=0?s=s.replace("%ss%","(%ss%"):s="("+s,i.indexOf("%ss%")>=0?s=s.replace("%ss%","%ss%)"):i.indexOf("%mm%")>=0?s=s.replace("%mm%","%mm%)"):i.indexOf("%hh%")>=0?s=s.replace("%hh%","%hh%)"):i.indexOf("%Minute%")>=0?s=s.replace("%Minute%","%Minute%)"):i.indexOf("%Hour%")>=0?s=s.replace("%Hour%","%Hour%)"):i.indexOf("%Day%")>=0?s=s.replace("%Day%","%Day%)"):s+=")")),s=s.replace("%DayOfWeek%",e.DAY_NAMES[o.getUTCDay()]),s=s.replace("%Day%",t/86400>>0),s=s.replace("%Hour%",t/3600>>0),s=s.replace("%Minute%",t/60>>0),s=s.replace("%DD%",T(o.getUTCDate())),s=s.replace("%D%",o.getUTCDate()),s=s.replace("%Month%",e.MONTH_NAMES_LONG[o.getUTCMonth()]),s=s.replace("%Mmm%",e.MONTH_NAMES_SHORT[o.getUTCMonth()]),s=s.replace("%MMM%",e.MONTH_NAMES_INLINE[o.getUTCMonth()]),s=s.replace("%MM%",T(o.getUTCMonth()+1)),s=s.replace("%M%",o.getUTCMonth()+1),s=s.replace("%YYYY%",N(o.getUTCFullYear())),s=s.replace("%Q%",(o.getUTCMonth()/3>>0)+1),r.useAMPM&&!d&&s.indexOf("%ampm%")>=0&&(u<12?r.useAMPMInFront?s=s.replace("%hh%",r.AMDesignator+"%hh%"):s=s.replace("%ampm%",r.AMDesignator):r.useAMPMInFront?s=s.replace("%hh%",r.PMDesignator+"%hh%"):s=s.replace("%ampm%",r.PMDesignator)),s=s.replace("%ampm%",""),s=s.replace("%hh%",r.useLeadingZeroForHour?T(a):a),s=s.replace("%zhh%",T(a)),s=s.replace("%hh24%",T(u)),s=s.replace("%mm%",T(o.getUTCMinutes())),c=T(o.getUTCSeconds()),r.nDecimals>0&&(f=t-Math.floor(t),l=JMP.FormatStatic.formatNumber(f,JMP.Format(JMP.FormatStatic.FORMAT_FIXED,!1,r.nDecimals,-1,"",r.decimalSeparator)),l=l.slice(1),c+=l),s=s.replace("%ss%",c),r.dateSeparator!=="/"&&(s=s.replace(/\//g,r.dateSeparator)),r.timeSeparator!==":"&&(s=s.replace(/:/g,r.timeSeparator)),s},k=function(t,n,r){var i,s,o,u,a,f,l,c,h=n.formatCode.indexOf("DIR")>=0,p=n.formatCode.indexOf("PUN")>=0,d=e.isLatitude(n),v=t<0,m=Math.abs(t),g=h?2:v?1:0,y=g+(p?1:0),b;n.nDecimals<0?b=JMP.Format(e.FORMAT_BEST):b=JMP.Format(e.FORMAT_FIXED,!1,n.nDecimals,n.fieldWidth,"",n.decimalSeparator);if(n.formatName===e.FORMAT_LATITUDE_DDD||n.formatName===e.FORMAT_LONGITUDE_DDD)b.fieldWidth=r-y,i=e.formatNumber(m,b),p&&(i+=e.DEGREE_SYMBOL);else{s=m+1e-6>>0;if(s<0)return i="##############################".slice(0,r),i;o=Math.max(0,(m-s)*60),i=String(s),y=g+i.length+1,p?i+=e.DEGREE_SYMBOL:i+=" ";if(n.formatName===e.FORMAT_LATITUDE_DMM||n.formatName===e.FORMAT_LONGITUDE_DMM){p&&(y+=1),u=e.roundUp(o,b.formatName===e.FORMAT_BEST?r-y:b.nDecimals);if(u<10)y+=1,i+="0";else if(u>=60)return k(v?-s-1:s+1,n,r);b.fieldWidth=r-y,i+=e.formatNumber(o,b),p&&(i+=e.MINUTE_SYMBOL)}else{a=o+1e-6>>0,f=Math.max(0,(o-a)*60),l=e.roundUp(f,b.formatName===e.FORMAT_BEST?r-y:b.nDecimals);if(l>=60)return k((v?-1:1)*(s+(a+1)/60),n,r);a<10&&(i+="0"),i+=String(a),y=g+i.length+1,p?(i+=e.MINUTE_SYMBOL,y+=1):i+=" ",l<10&&(y+=1,i+="0"),b.fieldWidth=r-y,i+=e.formatNumber(f,b),p&&(i+=e.SECOND_SYMBOL)}}h?(i+=" ",c=(d?0:2)+(v?1:0),i+=e.GEOGRAPHIC_DIRECTION_INDICATORS[c]):v&&(i="-"+i);if(i.length>r||r<=y||i.indexOf("#")>=0)i="##############################".slice(0,r);return i};return e.MONTH_NAMES_LONG=["January","February","March","April","May","June","July","August","September","October","November","December"],e.MONTH_NAMES_SHORT=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],e.MONTH_NAMES_INLINE=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],e.DAY_NAMES=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],e.GEOGRAPHIC_DIRECTION_INDICATORS=["N","S","E","W"],e.INFINITY="Infinity",e.FORMAT_LOG_WORTH=69,e.FORMAT_PERCENT_FIXED0=70,e.FORMAT_PERCENT_FIXED1=71,e.FORMAT_PERCENT_FIXED2=72,e.FORMAT_PERCENT_FIXED3=73,e.FORMAT_PERCENT_FIXED4=74,e.FORMAT_PERCENT_FIXED5=75,e.FORMAT_PERCENT_FIXED6=76,e.FORMAT_PERCENT_FIXED7=77,e.FORMAT_PERCENT_FIXED8=78,e.FORMAT_PERCENT_FIXED9=79,e.FORMAT_GEOGRAPHIC=80,e.FORMAT_LATITUDE_DDD=81,e.FORMAT_LATITUDE_DMM=82,e.FORMAT_LATITUDE_DMS=83,e.FORMAT_LONGITUDE_DDD=84,e.FORMAT_LONGITUDE_DMM=85,e.FORMAT_LONGITUDE_DMS=86,e.FORMAT_PERCENT=89,e.FORMAT_NONE=90,e.FORMAT_NUMERIC=91,e.FORMAT_DATE=92,e.FORMAT_TIME=93,e.FORMAT_FIXED=94,e.FORMAT_CURRENCY=95,e.FORMAT_SCIENTIFIC=96,e.FORMAT_PROBABILITY=97,e.FORMAT_BEST3=98,e.FORMAT_BEST=99,e.FORMAT_DURATION=100,e.FORMAT_MM_DD_YYYY=101,e.FORMAT_LONG_DATE=102,e.FORMAT_ABBREV_DATE=103,e.FORMAT_M_D_Y=104,e.FORMAT_MM_DD_YYYYHH_MM=105,e.FORMAT_MM_DD_YYYYHH_MM_SS=106,e.FORMAT_M_D_YHH_MM=107,e.FORMAT_DDHHMM=108,e.FORMAT_DDHHMMSS=109,e.FORMAT_MMDDYYYY=110,e.FORMAT_MM_YYYY=111,e.FORMAT_DD_MM_YYYY=112,e.FORMAT_DDMMYYYY=113,e.FORMAT_DDMMMYYYY=114,e.FORMAT_DD_MM_YYYYHH_MM=115,e.FORMAT_DD_MM_YYYYHH_MM_SS=116,e.FORMAT_YYYY_MM_DD=117,e.FORMAT_YYYYMMDD=118,e.FORMAT_DDMMMYYYYHH_MM=119,e.FORMAT_DDMMMYYYYHH_MM_SS=120,e.FORMAT_HHMMSS=121,e.FORMAT_MMMDDYYYY=122,e.FORMAT_MMMDDYYYYHH_MM=123,e.FORMAT_MMMDDYYYYHH_MM_SS=124,e.FORMAT_YYYY_MM_DDHH_MM=125,e.FORMAT_YYYY_MM_DDHH_MM_SS=126,e.FORMAT_YYYY_MM_DDT=127,e.FORMAT_YYYY_MM_DDTHH_MM=128,e.FORMAT_YYYY_MM_DDTHH_MM_SS=129,e.FORMAT_HH_MM=130,e.FORMAT_H_MM=131,e.FORMAT_H_MM_SS=132,e.FORMAT_M_SS=133,e.FORMAT_DDMMMYYYYCHH_MM=134,e.FORMAT_DDMMMYYYYCHH_MM_SS=135,e.FORMAT_LOCALE_DATE=136,e.FORMAT_LOCALE_DATE_TIME=137,e.FORMAT_LOCALE_TIME_STAMP=138,e.FORMAT_YYYYQQ=139,e.DEGREE_SYMBOL="°",e.MINUTE_SYMBOL="′",e.SECOND_SYMBOL="″",e.isPercent=function(t){var n=t?t.formatName:e.FORMAT_BEST;return n===e.FORMAT_PERCENT||e.FORMAT_PERCENT_FIXED0<=n&&n<=e.FORMAT_PERCENT_FIXED9},e.isCurrency=function(t){var n=t?t.formatName:e.FORMAT_BEST;return n===e.FORMAT_CURRENCY},e.isDateTime=function(t){var n=t?t.formatName:e.FORMAT_BEST;return e.FORMAT_DURATION<=n},e.isDuration=function(t){var n=t?t.formatName:e.FORMAT_BEST;switch(n){case e.FORMAT_DDHHMM:case e.FORMAT_DDHHMMSS:case e.FORMAT_H_MM:case e.FORMAT_H_MM_SS:case e.FORMAT_M_SS:return!0;default:}return!1},e.isLatitude=function(t){var n=t?t.formatName:e.FORMAT_BEST;return n>=e.FORMAT_LATITUDE_DDD&&n<=e.FORMAT_LATITUDE_DMS},e.isGeographic=function(t){var n=t?t.formatName:e.FORMAT_BEST;return e.FORMAT_GEOGRAPHIC<=n&&n<=e.FORMAT_LONGITUDE_DMS},e.isFixed=function(t){var n=t?t.formatName:e.FORMAT_BEST;return n===e.FORMAT_FIXED},e.isDecimal=function(t){var n=t?t.formatName:e.FORMAT_BEST;if(e.isFixed(t))return!0;if(e.isCurrency(t))return!0;if(e.isPercent(t))return!0;if(e.isGeographic(t))return!0;switch(n){case e.FORMAT_MM_DD_YYYYHH_MM_SS:case e.FORMAT_DD_MM_YYYYHH_MM_SS:case e.FORMAT_DDMMMYYYYHH_MM_SS:case e.FORMAT_HH_MM_SS:case e.FORMAT_MMMDDYYYYHH_MM_SS:case e.FORMAT_YYYY_MM_DDHH_MM_SS:case e.FORMAT_YYYY_MM_DDTHH_MM_SS:case e.FORMAT_ShortLocaleTimeStamp:case e.FORMAT_DDMMMYYYYCHH_MM_SS:case e.FORMAT_DDHHMMSS:case e.FORMAT_H_MM_SS:case e.FORMAT_M_SS:return!0;default:}return!1},e.addEpsilon=function(e){var t,n;return t=Math.floor(Math.log(e)*Math.LOG2E),n=JMP.MAC_EPS*Math.pow(2,t),e+=n,e},e.roundUp=function(t,n){var r,i,s,o,u;return t===0?0:(r=t<0,r&&(t=-t),i=Math.pow(10,n),s=t*i,s>1e15?(o=Math.pow(10,-n),u=t%o,u>=.5*o?t=t-u+o:t-=u):(s=e.addEpsilon(s),s=Math.floor(s+.5),t=s/i),r&&(t=-t),t)},e.roundHalfUp=function(e){var t=!1;return e<0&&(e=-e,t=!0),e=Math.floor(e+.5),t&&e!==0&&(e=-e),e},e.formatNumber=function(n,s){var o=n,u=s?s.fieldWidth:-1,a=!1,f,l,c,h,p,d,v,m,g,y,b,w,T,N,L,A,O,M,_,D,P,H,B,j,F,I,q,R,U,z,W,X,V,$,J;if(n===null)return".";if(n===Infinity)return e.INFINITY;if(n===-Infinity)return"-"+e.INFINITY;u<0&&(u=99),f="";if(e.isDateTime(s))f=C(o,s);else if(e.isGeographic(s))f=k(o,s,u);else{u===2&&0<o&&o<.95?(a=!0,u=3):u===3&&0>o&&o>-0.95&&(a=!0,u=4),l=99,e.isDecimal(s)&&(l=s?Math.min(s.nDecimals,95):-1),e.isPercent(s)&&(o*=100),c=Math.abs(o),h=!0,p=o<0?1:0,d=p,v=c===0?0:Math.log(c)*Math.LOG10E,m=Math.floor(v),g=c<1?1:m+1;if(s)if(e.isPercent(s))h=c<1e15;else switch(s.formatName){case e.FORMAT_FIXED:case e.FORMAT_NONE:case e.FORMAT_NUMERIC:case e.FORMAT_LOG_WORTH:case e.FORMAT_BEST3:case e.FORMAT_BEST:break;case e.FORMAT_CURRENCY:l=s?s.nDecimals>=0?s.nDecimals:0:0,d=x(o,s),I=s&&s.nDecimals>0?s.nDecimals+1:0,g+I>u-d?h=!1:h=c===0||c<1e15;break;case e.FORMAT_SCIENTIFIC:h=!1;break;case e.FORMAT_PROBABILITY:h=c===0||c<1e15,o>=0&&c<1e-4?f="<.0001":l=4;break;default:h=c===0||c<1e15,l===99&&(l=s?Math.min(s.nDecimals,95):-1)}y=u,u>t&&l===99&&(y=t+d,0<c&&c<1&&(y=Math.min(u,y-Math.max(-5,m))));if(f===""){g>y-d&&(h=!1,l=98),h||(b=m===0?0:Math.log(Math.abs(m))/Math.LN10,w=Math.max(1,Math.floor(b)+1),d+=w+2,g=1,u>t&&(y=Math.min(u,t+d))),T=l===99;if(!e.isCurrency(s)||!h)l=Math.max(0,Math.min(l,y-g-d-1));l>10&&(l=10),c<.01&&h&&T&&c!==0&&(y>4||y===4&&c>=9.5e-10)&&(q=Math.pow(10,l),R=1/q,R/=2,c<R?h=!1:c<Math.sqrt(1/q)&&(U=e.roundHalfUp(c*q),z=Math.max(1,Math.floor(Math.log(U)*Math.LOG10E)+1),W=Math.max(0,l-z),X=Math.abs(c*q-U),X>1/Math.pow(10,W-3)&&(h=!1)),h||(b=m===0?0:Math.log(Math.abs(m))*Math.LOG10E,w=Math.max(1,Math.floor(b)+1),d+=w+2,g=1,u>t&&(y=Math.min(u,t+d)),l=Math.max(0,Math.min(l,y-g-d-1)))),h&&c/Math.pow(10,m)>9&&(D=e.roundUp(c,l),P=D===0?0:Math.log(D)*Math.LOG10E,H=Math.floor(P),B=D<1?1:H+1,g!==B&&(g=B,g>y-d&&(h=!1),h||(j=H===0?0:Math.log(Math.abs(H)*Math.LOG10E),F=Math.max(1,Math.floor(j)+1),d+=F+2,g=1,u>t&&(y=Math.min(u,t+d))),l=Math.max(0,Math.min(l,y-g-d-1)))),h&&(o=e.roundUp(o,l)),N=h?o.toFixed(l):o.toExponential(l),A=N.indexOf("."),O=N.indexOf("e");if(T&&A>=0){M=O>=0?O:N.length,V=M-1;while(V>A&&N.charAt(V)==="0")V--;N=N.slice(0,V+1)+N.slice(M,N.length),O>=0&&(O=V+1)}if(!h||T&&A>=0){h?M=N.length:M=O,_=M,V=M,u<99?h?V=u:(V=u-(N.length-O),V>O&&(V=O),V<0&&(V=0)):s&&s.nDecimals>=0&&(h?V=Math.min(A+s.nDecimals+1,N.length):V=Math.min(A+s.nDecimals+1,O)),e.isPercent(s)&&M--;do M--;while(N.charAt(M)==="0"&&M>=V);M>A&&M++,f=N.slice(0,M>0?M:_);if(!h){f+=N.slice(_,_+2),_+=2;while(_<N.length&&N.charAt(_)==="0")_++;_<N.length?f+=N.slice(_,N.length):f+="0"}}else f=N;!e.isCurrency(s)&&s&&s.showThousands&&(f=E(f,".","|",u)),e.isCurrency(s)?f=S(f,s,u):e.isPercent(s)&&(f+="%"),a&&u===3&&f.length===3&&f.slice(0,2)==="0."?(f=f.slice(1,3),u=2):a&&u===4&&f.length===4&&f.slice(0,3)==="-0."&&(f="-."+f.charAt(3),u=3)}}return e.isCurrency(s)||(s&&s.decimalSeparator!=="."&&($=".",s.decimalSeparator&&($=s.decimalSeparator),f=f.replace(r,$)),s&&s.showThousands&&(J=",",s.thousandsSeparator&&(J=s.thousandsSeparator),f=f.replace(i,J))),f.length>u?L="##############################".slice(0,u):L=f,L},e.formattedStringToNumber=function(t,n){var r,i=t,s=!1,o=!1,u,a=/^-?\d*\.?\d*$/,f=/^-?\d*\.?\d*e|E[\+\-]?\d+/;n.thousandsSeparator==="."?u=new RegExp("\\.","g"):u=new RegExp(n.thousandsSeparator,"g");if(e.isGeographic(n)||e.isDateTime(n))return undefined;if(t===".")return null;if(t===e.INFINITY)return Infinity;if(t==="-"+e.INFINITY)return-Infinity;i=t.replace(u,""),i=i.replace(n.decimalSeparator,"."),JMP.FormatStatic.isCurrency(n)&&(o=i.indexOf(n.negativePrefix)>=0,o?(i=i.replace(n.negativePrefix,""),i=i.replace(n.negativeSuffix,"")):(i=i.replace(n.positivePrefix,""),i=i.replace(n.positiveSuffix,""))),JMP.FormatStatic.isPercent(n)&&(s=i.indexOf("%")>=0,i=i.replace("%",""));if(a.test(i)||f.test(i))r=parseFloat(i),isNaN(r)&&(r=undefined);return s?r/=100:o&&(r*=-1),r},e.toFields=function(t){var n=t?t.formatName:e.FORMAT_BEST,r={hasMonth:!1,hasDay:!1,hasYear:!1,hasDegrees:!1,hasHours:!1,hasMinutes:!1,hasSeconds:!1,hasAMPM:!1,isDuration:e.isDuration(t)};switch(n){case e.FORMAT_MM_DD_YYYY:case e.FORMAT_MMDDYYYY:case e.FORMAT_DD_MM_YYYY:case e.FORMAT_DDMMYYYY:case e.FORMAT_YYYYMMDD:case e.FORMAT_YYYY_MM_DD:case e.FORMAT_DDMMMYYYY:case e.FORMAT_MMMDDYYYY:case e.FORMAT_LONG_DATE:case e.FORMAT_ABBREV_DATE:case e.FORMAT_M_D_Y:case e.FORMAT_LOCALE_DATE:case e.FORMAT_YYYY_MM_DDT:r.hasMonth=!0,r.hasDay=!0,r.hasYear=!0;break;case e.FORMAT_MM_YYYY:r.hasMonth=!0,r.hasYear=!0;break;case e.FORMAT_MM_DD_YYYYHH_MM:case e.FORMAT_DD_MM_YYYYHH_MM:case e.FORMAT_DDMMMYYYYHH_MM:case e.FORMAT_MMMDDYYYYHH_MM:case e.FORMAT_YYYY_MM_DDHH_MM:case e.FORMAT_YYYY_MM_DDTHH_MM:case e.FORMAT_M_D_YHH_MM:case e.FORMAT_LOCALE_DATE_TIME:case e.FORMAT_DDMMMYYYYCHH_MM:r.hasMonth=!0,r.hasDay=!0,r.hasYear=!0,r.hasHours=!0,r.hasMinutes=!0,r.hasAMPM=t.useAMPM;break;case e.FORMAT_DD_MM_YYYYHH_MM_SS:case e.FORMAT_MM_DD_YYYYHH_MM_SS:case e.FORMAT_DDMMMYYYYHH_MM_SS:case e.FORMAT_MMMDDYYYYHH_MM_SS:case e.FORMAT_YYYY_MM_DDHH_MM_SS:case e.FORMAT_YYYY_MM_DDTHH_MM_SS:case e.FORMAT_LOCALE_TIME_STAMP:case e.FORMAT_DDMMMYYYYCHH_MM_SS:r.hasMonth=!0,r.hasDay=!0,r.hasYear=!0,r.hasHours=!0,r.hasMinutes=!0,r.hasSeconds=!0,r.hasAMPM=t.useAMPM;break;case e.FORMAT_HHMMSS:r.hasHours=!0,r.hasMinutes=!0,r.hasSeconds=!0,r.hasAMPM=t.useAMPM;break;case e.FORMAT_HH_MM:r.hasHours=!0,r.hasMinutes=!0,r.hasAMPM=t.useAMPM;break;case e.FORMAT_H_MM_SS:r.hasHours=!0,r.hasMinutes=!0,r.hasSeconds=!0;break;case e.FORMAT_H_MM:r.hasHours=!0,r.hasMinutes=!0;break;case e.FORMAT_DDHHMM:r.hasDay=!0,r.hasHours=!0,r.hasMinutes=!0;break;case e.FORMAT_DDHHMMSS:r.hasDay=!0,r.hasHours=!0,r.hasMinutes=!0,r.hasSeconds=!0;break;case e.FORMAT_M_SS:r.hasMinutes=!0,r.hasSeconds=!0;break;case e.FORMAT_LATITUDE_DDD:r.hasDegrees=!0;break;case e.FORMAT_LATITUDE_DMM:r.hasDegrees=!0,r.hasMinutes=!0;break;case e.FORMAT_LATITUDE_DMS:r.hasDegrees=!0,r.hasMinutes=!0,r.hasSeconds=!0;break;case e.FORMAT_LONGITUDE_DDD:r.hasDegrees=!0;break;case e.FORMAT_LONGITUDE_DMM:r.hasDegrees=!0,r.hasMinutes=!0;break;case e.FORMAT_LONGITUDE_DMS:r.hasDegrees=!0,r.hasMinutes=!0,r.hasSeconds=!0;break;default:r=null}return r},e.valueToDateTime=function(e){var t,n,r,i,g,y,E=!1,S,x,T,N,C,k,L,A;n=e+s*d,n<0&&(n=0),r=n%d>>0,i=r,g=n/d>>0,N=g%o+1,y=g,y-=g/a>>0,y+=g/f>>0,y-=g/l>>0,y+=g/c>>0,S=y/u>>0,C=g-b(S)>>0,C++,C<=0&&--S,E=w(S),C<=0&&(C+=u+E),T=C,t=E?m:v;for(x=0;T>t[x];x++)T-=t[x];return k=i/p>>0,i-=k*p,L=i/h>>0,i-=L*h,A=i,{seconds:A,minutes:L,hours:k,day:T,month:x,year:S,dayOfWeek:N-1,dayOfYear:C-1}},e.dateTimeToValue=function(e){var t,n,r=e.year,i=e.month;return n=b(r),n-=s,n+=g[i],i>=2&&w(r)&&++n,n+=e.day-1,t=n*d,t+=e.hours*p+e.minutes*h+e.seconds,t},e.daysInMonth=function(e,t){var n=w(t)?m:v;return n[e]},e.valueToDuration=function(e,t,n){var r,i,s=0,o=0,u=Math.abs(e);return t&&(o=u/d>>0,u-=o*d),n&&(s=u/p>>0,u-=s*p),i=u/h>>0,u-=i*h,r=u,{seconds:r,minutes:i,hours:s,day:o}},e.durationToValue=function(e){return e.day*d+e.hours*p+e.minutes*h+e.seconds},e.valueToGeographic=function(e,t,n){var r=0,i=0,s=0,o=0;t?(o=e+1e-10>>0,r=Math.max(0,(Math.abs(e)-o)*60)%60,i=r+1e-10>>0,n&&(s=Math.max(0,(r-i)*60))):(o=e,i=0,s=0);while(o>360)o-=360;while(o<0)o+=360;return{seconds:s,minutes:n?i:r,degree:o}},e.geographicToValue=function(e){return e.degree+e.minutes/h+e.seconds/y},e}(),JMP.Format=function(e,t,n,r,i,s,o,u,a,f,l,c,h,p,d,v,m,g,y,b,w,E){"use strict";var S={};return S.formatName=e!==undefined?e:JMP.FormatStatic.FORMAT_BEST,S.showThousands=t!==undefined?t:!1,S.nDecimals=n!==undefined?n:-1,S.fieldWidth=r!==undefined?r:-1,S.formatCode=i!==undefined?i:"",S.decimalSeparator=s!==undefined?s:".",S.thousandsSeparator=o!==undefined?o:",",S.positivePrefix=u!==undefined?u:"",S.positiveSuffix=a!==undefined?a:"",S.negativePrefix=f!==undefined?f:"",S.negativeSuffix=l!==undefined?l:"",S.dateTimePattern=c!==undefined?c:"",S.dateSeparator=h!==undefined?h:"/",S.timeSeparator=p!==undefined?p:":",S.AMDesignator=d!==undefined?d:"",S.PMDesignator=v!==undefined?v:"",S.useAMPM=m!==undefined?m:!1,S.useAMPMInFront=g!==undefined?g:!1,S.use24HourClock=y!==undefined?y:!1,S.useZeroForMidnight=b!==undefined?b:!1,S.useMinusForNegativeDateTime=w!==undefined?w:!1,S.useLeadingZeroForHour=E!==undefined?E:!1,S},JMP.Marker=function(){"use strict";var e={};return e.DOT=0,e.PLUS=1,e.X=2,e.SQUARE=3,e.DIAMOND=4,e.TRIANGLE_UP=5,e.Y=6,e.Z=7,e.CIRCLE=8,e.WIDE=9,e.TALL=10,e.STAR=11,e.CIRCLE_FILLED=12,e.WIDE_FILLED=13,e.TALL_FILLED=14,e.SQUARE_FILLED=15,e.DIAMOND_FILLED=16,e.TRIANGLE_DOWN=17,e.TRIANGLE_LEFT=18,e.TRIANGLE_RIGHT=19,e.TRIANGLE_UP_FILLED=20,e.TRIANGLE_DOWN_FILLED=21,e.TRIANGLE_LEFT_FILLED=22,e.TRIANGLE_RIGHT_FILLED=23,e.ARROW_UP=24,e.ARROW_DOWN=25,e.ARROW_LEFT=26,e.ARROW_RIGHT=27,e.PIPE=28,e.MINUS=29,e.SLASH=30,e.BACKSLASH=31,e}(),JMP.RowStatesStatic=function(){"use strict";var e={};return e.EVENT_SELECTED=0,e.EVENT_HIDDEN=1,e.EVENT_EXCLUDED=2,e.EVENT_LABELED=3,e.EVENT_MARKER=4,e.EVENT_COLOR=5,e.event={type:e.EVENT_SELECTED},e.selectAll=function(t,n){var r=n===!1?!1:!0,i=t.selected,s,o=i.length;for(s=0;s<o;s++)i[s]=r;t.syncIndices=!0,t.sendEvent(e.EVENT_SELECTED)},e.select=function(t,n,r){var i=r===!1?!1:!0,s=t.selected,o,u=n?n.length:0;for(o=0;o<u;o++)s[n[o]]=i;t.syncIndices=!0,t.sendEvent(e.EVENT_SELECTED)},e.selectOnly=function(t,n,r){var i=r===!1?!1:!0,s=t.selected,o,u=s.length;for(o=0;o<u;o++)s[o]=!i;e.select(t,n,i)},e}(),JMP.RowStates=function(){"use strict";var e={},t=JMP.EventDispatcher();return e.nSelectedIndices=0,e.selectedIndices=[],e.selected=[],e.hidden=[],e.excluded=[],e.labeled=[],e.marker=[],e.color=[],e.syncIndices=!1,e.addEventListener=t.addEventListener,e.removeEventListener=t.removeEventListener,e.sendEvent=function(n){var r,i,s,o,u;if(n===JMP.RowStatesStatic.EVENT_SELECTED){u=e.selectedIndices,o=e.selected,s=o.length;if(e.syncIndices){i=0;for(r=0;r<s;r++)o[r]&&(u[i]=r,i++);e.nSelectedIndices=i}else{for(r=0;r<s;r++)o[r]=!1;s=e.nSelectedIndices;for(r=0;r<s;r++)o[u[r]]=!0}e.syncIndices=!1}JMP.RowStatesStatic.event.type=n,t.dispatchEvent(JMP.RowStatesStatic.event)},e.selectAll=function(t){JMP.RowStatesStatic.selectAll(e,t)},e.select=function(t,n){JMP.RowStatesStatic.select(e,t,n)},e.selectOnly=function(t,n){JMP.RowStatesStatic.selectOnly(e,t,n)},e},JMP.CalculationStatic=function(){"use strict";var e={};return e.EVENT_VALUE_CHANGE=0,e.EVENT_RANGE_CHANGE=1,e.event={type:e.EVENT_VALUE_CHANGE},e.setInputVariables=function(e,t,n){var r=e.inputVariables?e.inputVariables.length:0,i;for(i=0;i<r;i++)e.inputVariables[i]&&e.inputVariables[i].removeEventListener(n);r=t?t.length:0,e.inputVariables=[];for(i=0;i<r;i++)t[i]&&(e.inputVariables[i]=t[i],e.inputVariables[i].addEventListener(n));e.needCalculation=!0},e.setOptions=function(e,t){e.options=t,e.needCalculation=!0},e.calculate=function(e){e.result=[],e.needCalculation=!1},e.getResult=function(e){return e.needCalculation&&e.calculate(),e.result},e}(),JMP.Calculation=function(e,t){"use strict";var n={},r=JMP.EventDispatcher(),i=function(e){n.needCalculation=!0,n.sendEvent(JMP.CalculationStatic.EVENT_VALUE_CHANGE);if(e.type===JMP.ScalarStatic.EVENT_VALUE_CHANGED)return};return n.result=undefined,n.inputVariables=undefined,n.needCalculation=!0,n.defaultOptions=undefined,n.options=t||n.defaultOptions,n.getInputVariables=function(){return n.inputVariables},n.setInputVariables=function(e){JMP.CalculationStatic.setInputVariables(n,e,i)},e&&n.setInputVariables(e),n.setOptions=function(e){JMP.CalculationStatic.setOptions(n,e)},n.calculate=function(){JMP.CalculationStatic.calculate(n)},n.getResult=function(){return JMP.CalculationStatic.getResult(n)},n.addEventListener=r.addEventListener,n.removeEventListener=r.removeEventListener,n.sendEvent=function(e){JMP.CalculationStatic.event.type=e,r.dispatchEvent(JMP.CalculationStatic.event)},n},JMP.ConstraintStatic=function(){"use strict";var e={};return e.repairMixture=function(e,t,n,r,i,s,o,u,a){var f=0,l=0,c=0,h=[],p=0,d=1,v,m,g,y;for(c=0;c<e;c++){h[c]=!1;if(!t[c])continue;l=n[c],r&&l<r[c]&&(l=r[c]),i&&l>i[c]&&(l=i[c]);if(c!==u&&c!==a&&(!o||!o[c]))n[c]=l,h[c]=!0;else{p+=n[c];if(Math.abs(l-n[c])>1e-8)return-1}f+=n[c]}if(Math.abs(f-s)<1e-9)return 0;s-=p,f-=p;if(s<0){if(s<-0.0001)return-1;s=0}if(Math.abs(f)<1e-6)for(c=0;c<e;c++)h[c]&&(f-=n[c]-1e-5,n[c]=1e-5);v=!0;while(v){m=f>0?s/f:0,f=0,v=!1;for(c=0;c<e;c++){if(!h[c])continue;g=n[c]*m,y=!1,r&&g<r[c]&&(g=r[c],y=!0),i&&g>i[c]&&(g=i[c],y=!0),n[c]=g,y?(h[c]=!1,s-=g,v=!0,d=2):f+=g}if(s<-0.000001||f<=-0.000001)return-1;if(!v&&Math.abs(s-f)>1e-8)return-1}return d},e.constrainReference=function(t,n,r,i,s,o,u,a){var f,l,c=n.length,h=a.fixed,p=[];for(f=0;f<c;f++)t[f]&&(p[f]=t[f].value);l=e.repairMixture(c,r,p,i,s,o,u,h,-1);if(l>=0)for(f=0;f<c;f++)f!==h&&r[f]&&(n[f].setData?n[f].data[0]=p[f]:n[f].value=p[f],t[f].value=p[f])},e.constrain=function(t,n,r,i,s,o,u,a){var f,l,c,h,p=n.length,d,v=a.fixed,m=n[v],g=m.data.length,y=[];for(f=0;f<p;f++)f!==v&&n[f]&&t[f]&&(n[f].setValue?n[f].value=t[f].value:n[f].data[0]=t[f].value);for(l=0;l<g;l++){for(f=0;f<p;f++)c=n[f],c&&(c.setValue?y[f]=c.value!==undefined?c.value:0:y[f]=f===v?c.data[l]!==undefined?c.data[l]:c.data[0]:c.data[0]);h=e.repairMixture(p,r,y,i,s,o,u,v,-1);for(f=0;f<p;f++)f!==v&&r[f]&&n[f]&&(d=h>=0?y[f]:null,n[f].setValue?n[f].value=d:n[f].data[l]=d)}},e}(),JMP.Constraint=function(e,t){"use strict";var n=JMP.Calculation(e,t),r,i,s,o,u,a,f=0;return n.defaultOptions={fixed:-1},t?n.options=t:n.options=n.defaultOptions,n.setOptions=function(e){n.options=e,e&&e.fixed!==undefined&&(n.needCalculation=!0)},n.getReferenceVariables=function(){return r},n.setReferenceVariables=function(e){e&&(r=e)},n.constrain=function(){JMP.ConstraintStatic.constrain(r,n.inputVariables,s,o,u,f,a,n.options)},n.constrainReference=function(){JMP.ConstraintStatic.constrainReference(r,n.inputVariables,s,o,u,f,a,n.options)},n.setMixture=function(e,t,n,r,l){var c,h=e?e.length:0;s=e,i=[];for(c=0;c<h;c++)i[c]=0;o=t,u=n,a=r,f=l},n.getLocks=function(){return a},n.setLocks=function(e){var t,r=!a||!e||a.length!==e.length;for(t=0;t<a.length&&!r;t++)r=a[t]!==e[t];r&&(a=e,n.needCalculation=!0,n.sendEvent(JMP.CalculationStatic.EVENT_VALUE_CHANGE))},n.getLockAt=function(e){return a[e]},n.setLockAt=function(e,t){a[e]!==t&&(a[e]=t,n.needCalculation=!0,n.sendEvent(JMP.CalculationStatic.EVENT_VALUE_CHANGE))},n},JMP.DescriptiveStatic=function(){"use strict";var e={},t=function(e,t,n,r,i){var s,o,u,a,f,l,c,h,p=n.length,d=r.length,v,m=[],g=function(e,t){var n,r,i;if(e){i=0;for(r=0;r<t.length;r++)n=e[t[r]],n!==null&&n>0&&(i+=n)}else i=t.length;return i};v=0;for(s=0;s<p;s++)m[s]=g(t,n[s]),v+=m[s];s=0,u=m[0];for(f=0;f<d;f++){l=(v+1)*r[f],a=l>>0;while((u<a||m[s]<=0)&&s<p-1)s++,u+=m[s];while(s>0&&m[s]<=0)s--;h=e[n[s][0]];if(u===a){c=l-a,o=s+1;while(o<p&&m[o]<=0)o++;o>=p&&(o=s),h=(1-c)*h+c*e[n[o][0]]}i[f]=h}},n=function(t,n,r,i,s,o,u){var a=t?t.data:undefined,f,l,c,h,p,d,v,m=i?i.length:a?a.length:n?n.length:0,g,y=0,b=0,w=0,E=0,S=Infinity,x=0,T=0,N,C,k,L,A,O=0,M,_=t?t.isInformativeMissing:!1;r&&(k=r.excluded,s&&(L=r.selected));for(N=1;N<=3;N++){for(d=0;d<m;d++){g=i?i[d]:d,C=a?a[g]:1,C===null&&(o||_)&&(C=1);if(C===null)continue;if(r&&k[g])continue;A=s&&L&&L[g],C-=x,p=C,f=1,v=1;if(n){v=n[g],v===null&&(o||_)&&(v=1);if(v===null||v<=0)continue;f*=v,p=f*C}N===1?(E=Math.max(E,C),S=Math.min(S,C),A&&(O+=v),w+=v,y+=p,b+=f):N===2?y+=p:N===3&&Math.abs(C/x)>=1e-14&&(T+=C*C*f)}if(N===1){if(b<=0)break;x=y/b,T=0,E>S&&E-S<Math.abs(x)/1e3?y=0:N++}else N===2&&(x+=y/b)}return l=null,c=null,h=null,b>0?Math.abs(w-1)>JMP.MAC_EPS&&(l=T/(w-1),c=l>0?Math.sqrt(l):0,h=c/Math.sqrt(b)):(x=null,y=null),u[e.STAT_N]=w,u[e.STAT_SUM]=y,u[e.STAT_MEAN]=x,u[e.STAT_VARIANCE]=l,u[e.STAT_STD]=c,u[e.STAT_SEM]=h,s&&(M=w>0?O/w:0,u[e.STAT_N]=O,u[e.STAT_SUM]*=M,u[e.STAT_MEAN]*=M,u[e.STAT_VARIANCE]*=M,u[e.STAT_STD]*=M,u[e.STAT_SEM]*=M),M},r=function(n,r,i,s,o,u){var a,f,l=[],c=n?n.data:undefined,h,p,d,v,m=s?s.length:c?c.length:r?r.length:0,g,y=0,b=0,w=!0,E,S,x;i&&(S=i.excluded),u[e.STAT_MIN]=null,u[e.STAT_MAX]=null,u[e.STAT_RANGE]=null,u[e.STAT_IQR]=null,u[e.STAT_MEDIAN]=null,u[e.STAT_GEOMETRIC_MEAN]=null;if(u[e.STAT_MEAN]===null)return;p=0;for(g=0;g<m;g++){h=s?s[g]:g,d=1,v=1;if(S&&S[h])continue;if(r){d=r[h];if(d===null||d<=0)continue}x=c[h],x!==null&&(x===0&&(w=!1,y=0),x<0&&(w=!1,y=null),w&&(b+=v*d,y+=v*d*Math.log(x)),p++)}E=p,w&&E>0&&(y/=b,y=Math.exp(y)),u[e.STAT_GEOMETRIC_MEAN]=y,o!==undefined&&(u[e.STAT_GEOMETRIC_MEAN]*=o),a=JMP.UniqueStatic.getValues([n],i),f=JMP.FrequencyStatic.getRows([n],a,i,s),f=f.filter(function(e){return e.length>0}),f.length&&(t(c,r,f,[0,.25,.5,.75,1],l),u[e.STAT_MIN]=l[0],u[e.STAT_MAX]=l[4],u[e.STAT_RANGE]=l[4]-l[0],u[e.STAT_IQR]=l[3]-l[1],u[e.STAT_MEDIAN]=l[2],o!==undefined&&(u[e.STAT_MIN]*=o,u[e.STAT_MAX]*=o,u[e.STAT_RANGE]*=o,u[e.STAT_IQR]*=o,u[e.STAT_MEDIAN]*=o))};return e.STAT_NONE=-1,e.STAT_PERCENT=0,e.STAT_N=1,e.STAT_SUM=2,e.STAT_MEAN=3,e.STAT_VARIANCE=4,e.STAT_STD=5,e.STAT_SEM=6,e.STAT_MIN=7,e.STAT_MAX=8,e.STAT_RANGE=9,e.STAT_IQR=10,e.STAT_MEDIAN=11,e.STAT_CONFIDENCE=12,e.STAT_GEOMETRIC_MEAN=13,e.NAMES=["% of Total","Count","Sum","Mean","Variance","Standard Deviation","Standard Error","Minimum","Maximum","Range","Interquartile Range","Median"
,"95% Confidence","Geometric Mean"],e.requiresPrecision=function(t){return t===e.STAT_PERCENT||t===e.STAT_MEAN||t===e.STAT_VARIANCE||t===e.STAT_STD||t===e.STAT_SEM||t===e.STAT_IQR||t===e.STAT_CONFIDENCE||t===e.STAT_GEOMETRIC_MEAN},e.getValue=function(t,i,s,o,u,a,f,l){var c=a!==undefined?a:e.STAT_N,h,p,d=null,v,m,g,y,b,w,E,S,x=0,T=[],N,C=t?t.isInformativeMissing:!1;t&&(h=t.data),i&&(p=i.data),s&&(g=s.excluded,f&&(y=s.selected)),w=o?o.length:s?s.selected.length:h?h.length:0,E=u?u.length:s?s.selected.length:h?h.length:0;switch(c){case e.STAT_NONE:break;case e.STAT_N:case e.STAT_SUM:case e.STAT_MEAN:case e.STAT_VARIANCE:case e.STAT_STD:case e.STAT_SEM:N=n(t,p,s,o,f,(l||C)&&c===e.STAT_N,T),d=T[c];break;case e.STAT_MIN:case e.STAT_MAX:case e.STAT_RANGE:case e.STAT_IQR:case e.STAT_MEDIAN:case e.STAT_GEOMETRIC_MEAN:t&&(N=n(t,p,s,o,f,!1,T),r(t,p,s,o,N,T),d=T[c]);break;default:d=0;for(v=0;v<w;v++){m=o?o[v]:v,S=h?h[m]:1;if((!g||!g[m])&&S!==null){if(!f||y&&y[m])i&&(p[m]!==null&&p[m]>0?S*=p[m]:S=0),d+=S;i?p[m]!==null&&p[m]>0&&(x+=p[m]):x++}}if(x>0){b=0;for(v=0;v<E;v++)m=u?u[v]:v,S=h?h[m]:1,(!g||!g[m])&&S!==null&&(i&&(p[m]!==null&&p[m]>0?S*=p[m]:S=0),b+=S);b&&(d/=b)}else d=null}return d},e.getRange=function(e,t){var n,r,i=0,s={};if(!e||!e.length)return null;r=e.length,s.min=t?JMP.MAC_LOG_BIG:Number.MAX_VALUE,s.max=t?0:-Number.MAX_VALUE;for(n=0;n<r;n++)e[n]!==undefined&&e[n]!==null&&isFinite(e[n])&&(!t||t&&e[n]>0)&&(i++,e[n]<s.min&&(s.min=e[n]),e[n]>s.max&&(s.max=e[n]));return i<2?null:(s.range=s.max-s.min,s)},e}(),JMP.FrequencyStatic=function(){"use strict";var e={};return e.setValues=function(e,t){e.values=t,e.needCalculation=!0},e.getRows=function(e,t,n,r,i){var s,o,u,a,f=e?e.length:0,l,c,h,p,d=[],v,m,g,y,b="#####";n&&(m=n.excluded,i&&(g=n.selected));if(f&&t){s=[],c=r?r.length:e[0].data.length;for(o=0;o<c;o++){l=r?r[o]:o;if(!m||!m[l])if(!i||g&&g[l]){h="";for(u=0;u<f;u++)h+=e[u].data[l],u<f-1&&(h+=",");y=b+h,d[y]!==undefined?d[y].push(l):d[y]=[l]}}v=1;for(u=0;u<f;u++)v*=t[u].length;for(o=0;o<v;o++){a=1,h="";for(u=f-1;u>=0;u--)u<f-1&&(h=","+h),p=t[u].length,h=t[u][(o/a>>0)%p]+h,a*=p;y=b+h,d[y]?s[o]=d[y]:s[o]=[]}}return s},e.calculate=function(t){t.result=[],t.inputVariables.length>0&&(t.result=e.getRows(t.inputVariables,t.values)),t.needCalculation=!1},e}(),JMP.Frequency=function(e,t,n){"use strict";var r=JMP.Calculation(e,t);return r.defaultOptions={},r.values=n,r.setValues=function(e){JMP.FrequencyStatic.setValues(r,e)},r.calculate=function(){JMP.FrequencyStatic.calculate(r)},r},JMP.GroupStatic=function(){"use strict";var e={};return e.getRows=function(e,t,n,r,i,s,o){var u,a,f,l,c=e?e.length:0,h,p,d,v=0,m,g,y,b,w,E,S,x,T,N,C;r&&(w=r.excluded,o&&(E=r.selected));if(c&&t){N=[],S=1;for(u=0;u<c;u++)N[u]=t[u].length,S*=N[u];for(u=0;u<c;u++){l=1;for(a=u+1;a<c;a++)l*=N[a];N[u]=l}C=[];for(u=0;u<S;u++)C[u]=[];v=i?i.length:e[0].data.length;for(u=0;u<v;u++){p=i?i[u]:u;if(!w||!w[p])if(!o||E&&E[p]){m=0;for(a=0;a<c&&m>=0;a++){h=e[a],d=h.data[p],g=t[a];if(!n||!n[a])d!==null||s||h.isInformativeMissing?T=g.indexOf(d):T=-1;else{T=-1,S=g.length;for(f=0;f<S&&T<0;f++)y=g[f][0],b=g[f][1],d===null?x=y===null&&(s||h.isInformativeMissing):x=(y===null||y<=d)&&(d<b||b===Infinity),x&&(T=f)}T>=0?m+=T*N[a]:m=-1}m>=0&&C[m].push(p)}}}return C},e.calculate=function(t){t.result=e.getRows(t.inputVariables,t.comparators,t.isRanges,undefined,undefined,t.options&&t.options.includeMissing),t.needCalculation=!1},e}(),JMP.Group=function(e,t,n,r){"use strict";var i=JMP.Calculation(e,t);return i.defaultOptions={includeMissing:!1},t||(i.options=i.defaultOptions),i.comparators=n,i.isRanges=r,i.calculate=function(){JMP.GroupStatic.calculate(i)},i},JMP.MathParserStatic=function(){"use strict";var e={},t=null,n=[],r=[],i=0,s=[],o=[],u=[],a=[],f=[],l=[],c=function(e){var n,r,i=e?e.length:0;t||(t=[]);for(n=0;n<i;n++)e[n]&&(r=e[n],r.setValue?t[n]=r.value:t[n]=r);return t},h=function(){var e=n.length,t;for(t=0;t<e;t++)r[t]=!0;i=0},p=function(){var e=null;return i<n.length?(e=n[i],e.data=[]):(e=JMP.Column(null,"",JMP.VariableStatic.TYPE_NUMBER),n[i]=e),r[i++]=!1,e},d=function(t,n,r){var i=!0,s=!0,o=!0,u=typeof t=="number"||t===null,a=typeof n=="number"||n===null,f,l,c=0,h=0,d=null,v=null,m=0,g=0,y,b,w,E=!1,S=!1;u?(i=t!==null,E=isNaN(t),c=t):(f=t,d=f.data,m=f.data.length);if(a)s=n!==null,S=isNaN(n),h=n;else{l=n,v=l.data,g=l.data.length;if(u||m>g)m=g}y=p(),b=y.data;for(w=0;w<m;w++){u||(c=d[w],i=c!==null,E=isNaN(c)),a||(h=v[w],s=h!==null,S=isNaN(h));if(E||S)b[w]=NaN;else{o=i&&s;switch(r){case e.PLUS:b[w]=o?c+h:null;break;case e.TIMES:b[w]=o?c*h:null;break;case e.DIVIDE:b[w]=o?c/h:null;break;case e.POWER:b[w]=o?c===0&&h<0?NaN:Math.pow(c,h):null;break;case e.ROOT:b[w]=o?h!==-Infinity||c!==2?Math.pow(h,1/c):NaN:null;break;case e.MINUS:b[w]=o?-c-h:null;break;case e.MIN:b[w]=o?c<h?c:h:null;break;case e.MAX:b[w]=o?c>h?c:h:i?c:h;break;case e.AND:b[w]=i&&c!==0&&s&&h!==0?1:0;break;case e.OR:b[w]=i&&c!==0||s&&h!==0?1:0}}}return y},v=function(e,t){var n,r=!1,i=e.data.length,s,o,u,a,f;if(e.type===JMP.VariableStatic.TYPE_NUMBER){o=e.data,n=i>0?o[0]:null;for(s=0;s<i&&!r;s++)u=o[s],isNaN(u)?(n=NaN,r=!0):u===null?t&&(n=null):t?n>u&&(n=u):n<u&&(n=u)}else{a=e.data,n=i>0?a[0]:null;for(s=0;s<i&&!r;s++)f=a[s],f===null?t&&(n=null,r=!0):n===null?n=f:t?n>f&&(n=f):n<f&&(n=f)}return n},m=function(t,n){var r=!0,i=0,s=t.data,o=t.data.length,u,a,f;u=p(),a=u.data;for(f=0;f<o;f++){i=s[f];if(isNaN(i))a[f]=NaN;else{r=i!==null;switch(n){case e.MINUS:a[f]=r?-i:i;break;case e.ABS:a[f]=r?i>=0?i:-i:i;break;case e.FLOOR:a[f]=r?Math.floor(i):i;break;case e.CEILING:a[f]=r?Math.ceil(i):i;break;case e.NOT:a[f]=r?i!==0?0:1:1;break;case e.EXP:a[f]=r?Math.exp(i):i;break;case e.LN:a[f]=r?Math.log(i):i;break;case e.LOG:a[f]=r?Math.log(i)*Math.LOG10E:i;break;case e.SIN:a[f]=r?Math.sin(i):i;break;case e.COS:a[f]=r?Math.cos(i):i;break;case e.TAN:a[f]=r?Math.tan(i):i;break;case e.SINH:a[f]=r?(Math.exp(i)-Math.exp(-i))/2:i;break;case e.COSH:a[f]=r?(Math.exp(i)+Math.exp(-i))/2:i;break;case e.TANH:a[f]=r?(Math.exp(i)-Math.exp(-i))/(Math.exp(i)+Math.exp(-i)):i;break;case e.ARCSIN:a[f]=r?Math.asin(i):i;break;case e.ARCCOS:a[f]=r?Math.acos(i):i;break;case e.ARCTAN:a[f]=r?Math.atan(i):i;break;case e.ARCSINH:a[f]=r?Math.log(i+Math.sqrt(1+i*i)):i;break;case e.ARCCOSH:a[f]=r?2*Math.log(Math.sqrt((i+1)/2)+Math.sqrt((i-1)/2)):i;break;case e.ARCTANH:a[f]=r?(Math.log(1+i)-Math.log(1-i))/2:i}}}return u},g=function(t,n,r){var i=!0,s=!0,o=!0,u=typeof t=="number"||typeof t=="string"||t===null,a=typeof n=="number"||typeof n=="string"||n===null,f,l,c=!0,h=!0,d=t,v=n,m,g,y=0,b=0,w,E,S,x=!1,T=!1;u?(c=typeof t=="number",t===null?i=!1:c?isNaN(d)&&(x=!0):(i=t.trim()!=="",i||(d=null))):(f=t,c=f.type===JMP.VariableStatic.TYPE_NUMBER,m=f.data,y=f.data.length);if(a)h=typeof n=="number",n===null?s=!1:h?isNaN(v)&&(T=!0):(s=n.trim()!=="",s||(v=null));else{l=n,h=l.type===JMP.VariableStatic.TYPE_NUMBER,g=l.data,b=l.data.length;if(u||y>b)y=b}w=p(),E=w.data;for(S=0;S<y;S++){u||(d=m[S],x=!1,c?(i=d!==null,x=isNaN(d)):(i=d!==null&&d.trim()!=="",i||(d=null))),a||(v=g[S],T=!1,h?(s=v!==null,T=isNaN(v)):(s=v!==null&&v.trim()!=="",s||(v=null)));if(x||T)E[S]=NaN;else{o=i&&s;switch(r){case e.EQ:E[S]=o?d===v?1:0:i===s?1:0;break;case e.NEQ:E[S]=o?d!==v?1:0:i!==s?1:0;break;case e.GT:E[S]=o?d>v?1:0:i?1:0;break;case e.LT:E[S]=o?d<v?1:0:s?1:0;break;case e.GEQ:E[S]=o?d>=v?1:0:s?0:1;break;case e.LEQ:E[S]=o?d<=v?1:0:i?0:1}}}return w},y=function(t,n,r,i,s,o,u,a){var f=!0,l=typeof t=="string"||typeof t=="number"||t===null,c,h=!0,p=t,d=null,v=!0,m=typeof i=="string"||typeof i=="number"||i===null,g,y=!0,b=i,w=null,E,S,x,T=!1,N=!1;l?(h=typeof t=="number",t===null?f=!1:h?N=isNaN(p):(f=p.trim()!=="",f||(p=null))):(c=t,h=c.type===JMP.VariableStatic.TYPE_NUMBER,d=c.data),m?(y=typeof i=="number",i===null?v=!1:y?T=isNaN(b):(v=b.trim()!=="",v||(b=null))):(g=i,y=g.type===JMP.VariableStatic.TYPE_NUMBER,w=g.data),E=a.data,S=E?E.length:0,c&&S>d.length&&(S=d.length),g&&S>w.length&&(S=w.length);for(x=0;x<S;x++)o[x]<2&&(c&&(p=d[x],h?(f=p!==null,N=isNaN(p)):(p&&p.trim()===""&&(p=null),f=p?!0:!1)),g&&(b=w[x],y?(v=b!==null,T=isNaN(b)):v=!!b&&b.trim()!==""),s===e.IF?(n%2===0?r?isNaN(u[x])?E[x]=NaN:(u[x]=!0,E[x]=b):y?T?u[x]=NaN:u[x]=v&&b!==0:u[x]=v:isNaN(u[x])?E[x]=NaN:u[x]&&(E[x]=b),u[x]&&o[x]++):s===e.MATCH?0<n&&(n%2===0?isNaN(u[x])?E[x]=NaN:u[x]&&(E[x]=b):r?isNaN(u[x])?E[x]=NaN:(u[x]=!0,E[x]=b):T||N?u[x]=NaN:f&&v?u[x]=p===b:u[x]=f===v,u[x]&&o[x]++):0<n&&(N?E[x]=NaN:p===n?(u[x]=!0,o[x]=2,E[x]=b):r&&(u[x]=!0,o[x]=2,E[x]=null)))},b=function(e){var t=e.data,n=e.data,r=0,i=null,s=0,o=0,u=0,a=e.data.length;if(e.type===JMP.VariableStatic.TYPE_NUMBER)for(u=0;u<a;u++){r=t[u];if(!!isNaN(r))return[NaN,NaN];r!==null&&(s+=r,o++)}else for(u=0;u<a;u++)i=n[u],i!==null&&i.trim()!==""&&o++;return[s,o]},w=function(e){return e<-0.01||.01<e?Math.exp(e)-1:e*(1+e/2*(1+e/3*(1+e/4*(1+e/5*(1+e/6)))))},E=function(e,t){return e>-1?Math.exp(Math.log(1+e)*t):Math.pow(1+e,t)},S=function(e,t){return e>-1?w(Math.log(1+e)*t):Math.pow(1+e,t)-1},x=function(e,t,n,r,i){var s,o,u;i===undefined&&(i=2);if(r<=0||n<r)return NaN;if(e<t)return 0;if(r<1){r=1;if(r>n)return e-t}return s=-e*S(-i/n,r-1),o=(1+S(-i/n,r-1))*i/n*e,u=e-t-s,u<0&&(u=0),o>u&&(o=u),o},T=function(e,t,n,r,i){var s;return r===undefined&&(r=0),i===undefined&&(i=0),e===0?s=r+n*t:s=n*S(e,t)*(i!==0?1+e:1)/e+r*E(e,t),-s},N=function(e,t,n,r,i){return r===undefined&&(r=0),i===undefined&&(i=0),t<=0?NaN:e===0?-(n+r)/t:-(n*E(e,t)+r)/S(e,t)*e/(i!==0?1+e:1)},C=function(e,t,n,r,i,s){var o,u,a;return i===undefined&&(i=0),s===undefined&&(s=0),n<=0||t<1||n+1<=t?NaN:s!==0&&t===1?0:(u=N(e,n,r,i,0),a=r*E(e,t-1)*e+u*S(e,t-1),o=s===1?a/(1+e):a,-o)},k=function(e,t,n,r,i,s){var o;return i===undefined&&(i=0),s===undefined&&(s=0),n<=0||t<1||n+1<=t?NaN:(o=N(e,n,r,i,s),o-C(e,t,n,r,i,s))},L=function(e){var t=0,n=e[0],r,i=e.length;for(r=1;r<i;r++)t+=e[r]/E(n,r);return t},A=function(e){var t=0,n=e[0],r=e.length-1,i;for(i=0;i<r-1;i++)t+=(r-1-i)*e[i+1]*E(n,r-1-i-1);return t},O=function(e){var t=e.length,n=250,r=JMP.MAC_SQRT_EPS,i=e[0],s=i,o=L(e)*E(s,t-1),u=A(e),a=s-o/u,f=0;while((a-s>=r||s-a>=r)&&f<=n)s=a,e[0]=s,o=L(e)*E(s,t-1),u=A(e),a=s-o/u,++f;return e[0]=i,a-s>=r||s-a>=r?NaN:a},M=function(e){var t,n=e.length,r=e[0],i=e[1],s=[],o=[];s[0]=i,o[0]=r;for(t=2;t<n;t++)e[t]>0?(s[t-1]=e[t],o[t-1]=0):(s[t-1]=0,o[t-1]=e[t]);return Math.pow(-L(s)*E(i,n-2)/(L(o)*(1+r)),1/(n-3))-1},_=function(e,t,n,r,i){var s,o;return r===undefined&&(r=0),i===undefined&&(i=0),e===0&&t===0?NaN:e===0?-(r+n)/t:(s=(i!==0?1+e:1)*t/e,n+s===0?NaN:(o=(s-r)/(n+s),o<=0?NaN:Math.log(o)/Math.log(1+e)))},D=function(e,t,n,r,i){return r===undefined&&(r=0),i===undefined&&(i=0),t<=0?NaN:e===0?-n*t-r:(-n*S(e,t)/e*(i!==0?1+e:1)-r)/E(e,t)},P=function(e,t,n,r,i,s){return e*E(t,n)+r*S(t,n)/t*(s!==0?1+t:1)+i},H=function(e,t,n,r,i,s){return s!==0?(n+1)*(e+r)*E(t,n)-n*e*E(t,n-1)-(r-i):(n+1)*e*E(t,n)+n*(r-e)*E(t,n-1)+i},B=function(e,t,n,r,i,s){var o=50,u=JMP.MAC_SQRT_EPS,a,f,l,c,h=0;r===undefined&&(r=0),i===undefined&&(i=0),s===undefined&&(s=.1),a=s;if(e<=0)return NaN;if(t*e+n+r===0)return 0;f=P(n,a,e,t,r,i),l=(H(n,a,e,t,r,i)-f)/a,c=a-f/l;while((c-a>=u||a-c>=u)&&h<=o)a=c,f=P(n,a,e,t,r,i),l=(H(n,a,e,t,r,i)-f)/a,c=a-f/l,++h;return c-a>=u||a-c>=u?NaN:c},j=function(e,t,n){return n===0?NaN:(e-t)/n},F=function(e,t,n,r){return r<=0||n<r?NaN:(e-t)*(n-r+1)*2/(n*(n+1))},I=function(t,n,r){var i=n.length,s=[],o,u,a,f,l,c=!1,h=!1;for(o=0;o<i;o++)typeof n[o]=="number"&&(s[o]=n[o]);a=p(),f=a.data;for(o=0;o<r;o++){for(u=0;u<i&&!c;u++)n[u]&&n[u].setData&&(l=n[u],s[u]=l.data[o]),isNaN(s[u])?c=!0:s[u]===null&&(h=!0);if(c)f[o]=NaN;else if(h)f[o]=null;else switch(t){case e.IRR:f[o]=O(s);break;case e.MIRR:f[o]=M(s);break;case e.NPV:f[o]=L(s);break;default:}c=!1,h=!1}return a},q=function(t,n,r){var i=n.length,s=0,o=0,u=0,a=0,f=0,l=0,c,h,d,v,m,g,y,b,w,E,S,L,A,O,M;i>0&&(typeof n[0]=="number"||n[0]===null?s=n[0]:(c=n[0],y=c.data)),i>1&&(n[1]&&n[1].setData?(h=n[1],b=h.data):o=n[1]),i>2&&(n[2]&&n[2].setData?(d=n[2],w=d.data):u=n[2]),i>3&&(n[3]&&n[3].setData?(v=n[3],E=v.data):a=n[3]),i>4&&(n[4]&&n[4].setData?(m=n[4],S=m.data):f=n[4]),i>5&&(n[5]&&n[5].setData?(g=n[5],L=g.data):l=n[5]),A=p(),O=A.data;for(M=0;M<r;M++){c&&(s=y[M]),h&&(o=b[M]),d&&(u=w[M]),v&&(a=E[M]),m&&(f=S[M]),g&&(l=L[M]);if(isNaN(s)||isNaN(o)||isNaN(u)||isNaN(a)||isNaN(f)||isNaN(l))O[M]=NaN;else if(s===null||o===null||u===null||a===null||f===null||l===null)O[M]=null;else switch(t){case e.DDB:O[M]=i>4?x(s,o,u,a,f):x(s,o,u,a);break;case e.FV:O[M]=i>4?T(s,o,u,a,f):i>3?T(s,o,u,a):T(s,o,u);break;case e.IPMT:O[M]=i>5?C(s,o,u,a,f,l):i>4?C(s,o,u,a,f):C(s,o,u,a);break;case e.NPER:O[M]=i>4?_(s,o,u,a,f):i>3?_(s,o,u,a):_(s,o,u);break;case e.PMT:O[M]=i>4?N(s,o,u,a,f):i>3?N(s,o,u,a):N(s,o,u);break;case e.PPMT:O[M]=i>5?k(s,o,u,a,f,l):i>4?k(s,o,u,a,f):k(s,o,u,a);break;case e.PV:O[M]=i>4?D(s,o,u,a,f):i>3?D(s,o,u,a):D(s,o,u);break;case e.RATE:O[M]=i>5?B(s,o,u,a,f,l):i>4?B(s,o,u,a,f):i>3?B(s,o,u,a):B(s,o,u);break;case e.SLN:O[M]=j(s,o,u);break;case e.SYD:O[M]=F(s,o,u,a);break;default:}}return A},R=function(t,n){var r=Infinity,i,s=n.length,o,u=[];for(i=0;i<s;i++)n[i]&&n[i].setData&&r>n[i].data.length&&(r=n[i].data.length);r===Infinity&&(r=1);if(r>1)t===e.IRR||t===e.MIRR||t===e.NPV?o=I(t,n,r):o=q(t,n,r);else{for(i=0;i<s;i++){if(isNaN(n[i]))return NaN;if(n[i]===null)return null;u[i]=n[i]}switch(t){case e.DDB:o=s>4?x(u[0],u[1],u[2],u[3],u[4]):x(u[0],u[1],u[2],u[3]);break;case e.FV:o=s>4?T(u[0],u[1],u[2],u[3],u[4]):s>3?T(u[0],u[1],u[2],u[3]):T(u[0],u[1],u[2]);break;case e.IPMT:o=s>5?C(u[0],u[1],u[2],u[3],u[4],u[5]):s>4?C(u[0],u[1],u[2],u[3],u[4]):C(u[0],u[1],u[2],u[3]);break;case e.IRR:o=O(u);break;case e.MIRR:o=M(u);break;case e.NPER:o=s>4?_(u[0],u[1],u[2],u[3],u[4]):s>3?_(u[0],u[1],u[2],u[3]):_(u[0],u[1],u[2]);break;case e.NPV:o=L(u);break;case e.PMT:o=s>4?N(u[0],u[1],u[2],u[3],u[4]):s>3?N(u[0],u[1],u[2],u[3]):N(u[0],u[1],u[2]);break;case e.PPMT:o=s>5?k(u[0],u[1],u[2],u[3],u[4],u[5]):s>4?k(u[0],u[1],u[2],u[3],u[4]):k(u[0],u[1],u[2],u[3]);break;case e.PV:o=s>4?D(u[0],u[1],u[2],u[3],u[4]):s>3?D(u[0],u[1],u[2],u[3]):D(u[0],u[1],u[2]);break;case e.RATE:o=s>5?B(u[0],u[1],u[2],u[3],u[4],u[5]):s>4?B(u[0],u[1],u[2],u[3],u[4]):s>3?B(u[0],u[1],u[2],u[3]):B(u[0],u[1],u[2]);break;case e.SLN:o=j(u[0],u[1],u[2]);break;case e.SYD:o=F(u[0],u[1],u[2],u[3]);break;default:}}return o};return e.NOOP=0,e.END=1,e.CI=2,e.CC=3,e.CN=4,e.CS=5,e.PLUS=6,e.TIMES=7,e.DIVIDE=8,e.POWER=9,e.ROOT=10,e.MINUS=11,e.MIN=12,e.MAX=13,e.ABS=14,e.FLOOR=15,e.CEILING=16,e.NOT=17,e.AND=18,e.OR=19,e.EQ=20,e.NEQ=21,e.GT=22,e.LT=23,e.GEQ=24,e.LEQ=25,e.EXP=26,e.LN=27,e.LOG=28,e.SIN=29,e.COS=30,e.TAN=31,e.SINH=32,e.COSH=33,e.TANH=34,e.ARCSIN=35,e.ARCCOS=36,e.ARCTAN=37,e.ARCSINH=38,e.ARCCOSH=39,e.ARCTANH=40,e.SUM=41,e.MEAN=42,e.N=43,e.IF=44,e.MATCH=45,e.CHOOSE=46,e.DDB=47,e.FV=48,e.IPMT=49,e.IRR=50,e.MIRR=51,e.NPER=52,e.NPV=53,e.PMT=54,e.PPMT=55,e.PV=56,e.RATE=57,e.SLN=58,e.SYD=59,e.EVENT_MATH_PARSER_RESULT=0,e.string2Operator=function(t){var n=e.NOOP;switch(t){case"apply":n=e.END;break;case"ci":n=e.CI;break;case"cc":n=e.CC;break;case"cn":n=e.CN;break;case"cs":n=e.CS;break;case"plus":n=e.PLUS;break;case"times":n=e.TIMES;break;case"divide":n=e.DIVIDE;break;case"power":n=e.POWER;break;case"root":n=e.ROOT;break;case"minus":n=e.MINUS;break;case"min":n=e.MIN;break;case"max":n=e.MAX;break;case"abs":n=e.ABS;break;case"floor":n=e.FLOOR;break;case"ceiling":n=e.CEILING;break;case"not":n=e.NOT;break;case"and":n=e.AND;break;case"or":n=e.OR;break;case"eq":n=e.EQ;break;case"neq":n=e.NEQ;break;case"gt":n=e.GT;break;case"lt":n=e.LT;break;case"geq":n=e.GEQ;break;case"leq":n=e.LEQ;break;case"exp":n=e.EXP;break;case"ln":n=e.LN;break;case"log":n=e.LOG;break;case"sin":n=e.SIN;break;case"cos":n=e.COS;break;case"tan":n=e.TAN;break;case"sinh":n=e.SINH;break;case"cosh":n=e.COSH;break;case"tanh":n=e.TANH;break;case"arcsin":n=e.ARCSIN;break;case"arccos":n=e.ARCCOS;break;case"arctan":n=e.ARCTAN;break;case"arcsinh":n=e.ARCSINH;break;case"arccosh":n=e.ARCCOSH;break;case"arctanh":n=e.ARCTANH;break;case"sum":n=e.SUM;break;case"mean":n=e.MEAN;break;case"n":n=e.N;break;case"if":n=e.IF;break;case"match":n=e.MATCH;break;case"choose":n=e.CHOOSE;break;case"ddb":n=e.DDB;break;case"fv":n=e.FV;break;case"ipmt":n=e.IPMT;break;case"irr":n=e.IRR;break;case"mirr":n=e.MIRR;break;case"nper":n=e.NPER;break;case"npv":n=e.NPV;break;case"pmt":n=e.PMT;break;case"ppmt":n=e.PPMT;break;case"pv":n=e.PV;break;case"rate":n=e.RATE;break;case"sln":n=e.SLN;break;case"syd":n=e.SYD;break;default:n=e.NOOP}return n},e.cacheXML=function(t,n,r,i){var s=t.childNodes,o,u,a,f,l,c,h,p,d,v=n,m,g=i.length;o=s.length;for(u=0;u<o;u++){l=s[u];if(l.nodeName==="degree"){a=0,c=l.childNodes,l=c[a];while(l.nodeType===window.Node.TEXT_NODE)a++,l=c[a]}c=l.childNodes,h=l.nodeName;if(l.nodeType!==window.Node.TEXT_NODE)switch(h){case"apply":e.cacheXML(l,n,r,i),g=i.length;break;case"ci":p=null,d=c[0].nodeValue,m=v.length;for(a=0;a<m&&!p;a++)v[a]&&v[a].name===d&&(p=v[a]);i[g]=l.getAttribute("type")==="column"?JMP.MathParserStatic.CC:JMP.MathParserStatic.CI,r[g]=p,g++;break;case"cn":f=c[0].nodeValue,i[g]=JMP.MathParserStatic.CN,r[g]=f==="."?null:parseFloat(f),g++;break;case"cs":i[g]=JMP.MathParserStatic.CS,r[g]=c.length>0?c[0].nodeValue:null,g++;break;default:i[g]=JMP.MathParserStatic.string2Operator(h),r[g]=null,g++,h==="root"&&l.parentNode.childNodes.length<3&&(i[g]=JMP.MathParserStatic.CN,r[g]=2,g++)}}i[g]=JMP.MathParserStatic.END,r[g]=null,g++},e.calculateResult=function(t,n,r){h();var i=c(t),w=-1,E=e.PLUS,S=!0,x=!1,T=!1,N=!1,C=!1,k=!1,L=!1,A=!1,O=!1,M=null,_=0,D=null,P=0,H,B,j,F=!0,I=!0,q=!0,U=!1,z=!1,W=!1,X=!0,V=!0,$=!0,J=!0,K=[],Q=0,G=!1,Y=0,Z=null,et=null,tt=!1,nt=0,rt=null,it,st,ot,ut=s.length,at=n.length,ft,lt,ct,ht;for(it=0;it<at;it++){ct=r[it];if(ct<=e.CS){ct===e.NOOP?M=NaN:ct===e.END?(E===e.MEAN&&(_=+_/nt),M=_,O&&(M=R(E,_)),E=s[w],S=e.PLUS<=E&&E<=e.ROOT,x=e.MINUS<=E&&E<=e.MAX,T=e.ABS<=E&&E<=e.NOT,N=e.AND<=E&&E<=e.OR,C=e.EQ<=E&&E<=e.LEQ,k=e.EXP<=E&&E<=e.ARCTANH,L=e.SUM<=E&&E<=e.N,A=e.IF<=E&&E<=e.CHOOSE,O=e.DDB<=E&&E<=e.SYD,_=o[w],ft=u[w],Q=ft>>4,Y=(ft&12)>>2,G=(ft&2)>0,tt=(ft&1)>0,et=f[w]||null,Z=a[w]||null,rt=l[w],E===e.MATCH&&(W=!1,rt===null?q=!1:typeof rt=="number"?(W=isNaN(rt),q=!0):typeof rt=="string"&&(q=rt.trim()!=="",q||(rt=null))),w--):ct===e.CI?(lt=n[it],M=i[t.indexOf(lt)],M===undefined&&(M=null)):M=n[it],D=M,U=!1,typeof M=="number"?(V=!0,U=isNaN(D),F=!0):typeof M=="string"?(V=!0,F=M.trim()!=="",F||(D=null)):M===null?(V=!0,F=!1):(V=!1,F=!0,H=M);if(!tt)if(x||T||k||L){if(F&&!U)if(V)switch(E){case e.MINUS:_=-D;break;case e.MIN:_=D;break;case e.MAX:_=D;break;case e.ABS:_=D>=0?D:-D;break;case e.FLOOR:_=Math.floor(D);break;case e.CEILING:_=Math.ceil(D);break;case e.NOT:_=D!==0?0:1;break;case e.EXP:_=Math.exp(D);break;case e.LN:_=Math.log(D);break;case e.LOG:_=Math.log(D)*Math.LOG10E;break;case e.SIN:_=Math.sin(D);break;case e.COS:_=Math.cos(D);break;case e.TAN:_=Math.tan(D);break;case e.SINH:_=(Math.exp(D)-Math.exp(-D))/2;break;case e.COSH:_=(Math.exp(D)+Math.exp(-D))/2;break;case e.TANH:_=(Math.exp(D)-Math.exp(-D))/(Math.exp(D)+Math.exp(-D));break;case e.ARCSIN:_=Math.asin(D);break;case e.ARCCOS:_=Math.acos(D);break;case e.ARCTAN:_=Math.atan(D);break;case e.ARCSINH:_=Math.log(D+Math.sqrt(1+D*D));break;case e.ARCCOSH:_=2*Math.log(Math.sqrt((D+1)/2)+Math.sqrt((D-1)/2));break;case e.ARCTANH:_=(Math.log(1+D)-Math.log(1-D))/2;break;case e.SUM:_=D;break;case e.MEAN:_=D,nt++;break;case e.N:_=1}else e.MIN<=E&&E<=e.MAX?r[it+1]===e.END?_=v(H,E===e.MIN):_=M:x||T||k?_=m(H,E):(K=b(H),E===e.SUM?_=K[0]:E===e.MEAN?(_=K[0],nt=K[1]):_=K[1]);else U?_=NaN:_=E===e.NOT?1:E===e.N?0:null;tt=!0}else!A&&!O&&(_=M,tt=!0);else if(S||x||N||C||L){P=_,z=!1,typeof _=="number"?($=!0,z=isNaN(P),I=!0):typeof _=="string"?($=!0,I=_.trim()!==""):_===null?($=!0,I=!1):($=!1,I=!0),X=F&&I,J=V&&$;if(J)if(z||U)_=NaN;else switch(E){case e.PLUS:_=X?P+D:null;break;case e.TIMES:_=X?P*D:null;break;case e.DIVIDE:_=X?P/D:null;break;case e.POWER:_=X?P===0&&D<0?NaN:Math.pow(P,D):null;break;case e.ROOT:_=X?D!==-Infinity||P!==2?Math.pow(D,1/P):NaN:null;break;case e.MINUS:_=X?-P-D:null;break;case e.MIN:_=X?P<D?P:D:null;break;case e.MAX:_=!I&&!F?null:X?P>D?P:D:I?P:D;break;case e.AND:_=I&&P!==0&&F&&D!==0?1:0;break;case e.OR:_=I&&P!==0||F&&D!==0?1:0;break;case e.EQ:_=X?_===M?1:0:I===F?1:0;break;case e.NEQ:_=X?_!==M?1:0:I!==F?1:0;break;case e.GT:_=X?_>M?1:0:I?1:0;break;case e.LT:_=X?_<M?1:0:F?1:0;break;case e.GEQ:_=X?_>=M?1:0:F?0:1;break;case e.LEQ:_=X?_<=M?1:0:I?0:1;break;case e.SUM:_=X?P+D:I?P:F?D:0;break;case e.MEAN:_=X?P+D:I?P:F?D:0,F&&nt++;break;case e.N:_=X?P+1:I?P:F?1:0}else S||x||N?_=d(_,M,E):C&&(_=g(_,M,E))}if(A){r[it-1]===E&&(rt=M,W=!1,typeof rt=="number"?(W=isNaN(rt),q=!0):typeof rt=="string"?(q=rt.trim()!=="",q||(rt=null)):rt===null&&(q=!1)),j=typeof rt=="number"||typeof rt=="string"||rt===null?null:rt,H=typeof M=="number"||typeof M=="string"||M===null?null:M,B=typeof _=="number"||typeof _=="string"||_===null?null:_,$=!j&&!H&&!B;if(typeof _=="number"||_===null){P=_,z=!1;if($)z=isNaN(P),I=_!==null;else{I=!1,ot=j?j.data.length:H?H.data.length:B.data.length;if(!B||B.data.length!==ot)_=p(),B=_;Z=[],et=[],ht=B.data;for(st=0;st<ot;st++)ht[st]=P,Z[st]=G,et[st]=Y}}else if($)I=!0;else{I=!0,z=!1,ht=B.data;for(st=0;st<ot&&!z;st++)z=isNaN(ht[st]),ht[st]===null&&(I=!1)}if($){if(Y<2)if(E===e.IF){if(Q%2===0)if(r[it+1]===e.END)G=!0,_=M;else{if(U)return NaN;G=F&&M!==0}else G&&(_=M);G&&Y++}else if(E===e.MATCH){if(0<Q){if(Q%2===0)G&&(_=M);else if(r[it+1]===e.END)G=!0,_=M;else{if(W)return NaN;G=q&&F?rt===M:q===F}G&&Y++}}else if(0<Q){if(W)return NaN;rt===Q?(G=!0,Y=2,_=M):r[it+1]===e.END&&(G=!0,Y=2,_=W?NaN:null)}}else y(rt,Q,r[it+1]===e.END,M,E,et,Z,_);Q++}else O&&_.push(M)}else w++,ft=(Q<<4)+(Y<<2)+(G?2:0)+(tt?1:0),s[w]=E,o[w]=_,u[w]=ft,f[w]=et,a[w]=Z,l[w]=rt,w>ut&&ut++,E=ct,S=e.PLUS<=E&&E<=e.ROOT,x=e.MINUS<=E&&E<=e.MAX,T=e.ABS<=E&&E<=e.NOT,N=e.AND<=E&&E<=e.OR,C=e.EQ<=E&&E<=e.LEQ,k=e.EXP<=E&&E<=e.ARCTANH,L=e.SUM<=E&&E<=e.N,A=e.IF<=E&&E<=e.CHOOSE,O=e.DDB<=E&&E<=e.SYD,_=null,O&&(_=[]),Q=0,Y=0,G=!1,tt=!1,et=null,Z=null,rt=null,nt=0,q=!1}return _&&_.data&&(_=_.data),_},e}(),JMP.MathParser=function(e){"use strict";var t=JMP.Calculation(e),n=null,r=null,i=!0,s=[],o=[],u=function(){var e,i=new window.DOMParser;o=[],s=[],r||(n.substr(0,7)!=="<apply>"&&(n="<apply>"+n+"</apply>"),e=i.parseFromString(n,"text/xml"),r=e.documentElement),JMP.MathParserStatic.cacheXML(r,t.inputVariables,s,o)};return t.setVariables=function(e){t.setInputVariables(e),i=!0},e&&t.setVariables(e),t.setMath=function(e){n=e,r=null,i=!0,t.needCalculation=!0},t.setMathDOM=function(e){r=e,i=!0,t.needCalculation=!0},t.calculate=function(){i&&(i=!1,u()),t.needCalculation=!1,t.result=JMP.MathParserStatic.calculateResult(t.inputVariables,s,o)},t},JMP.ProbitStatic=function(){"use strict";var e={};return e.zcnfmill=function(e,t){var n=100,r,i,s,o,u,a,f,l,c,h,p,d,v;r=5*JMP.MAC_EPS,o=1/e,i=o,v=0,a=0,f=o,c=h=1,d=o*=o;do l=f+a*d,p=h+c*d,s=i,i=l/p,u=i-s,a=f,f=l,c=h,h=p,d+=o;while(Math.abs(u)>r*i&&v++<n);return t.value=i,v>=n?1:0},e.zmillsr=function(t,n){return e.zcnfmill(t,n)},e.zln1px=function(e){var t,n=.08333333333333427,r=-0.0023812878804825234,i=-0.178575454351365;return Math.abs(e)>.03125?Math.log(1+e):(e/=1+.5*e,t=e*e,e+e*t*((n+r*t)/(1+i*t)))},e.zlognrm=function(t,n,r,i){var s,o={},u,a,f,l;return a=-0.5*t*t-JMP.LN_R2PI,i.value=a,u=Math.abs(t),e.zmillsr(u,o)?1:(s=Math.log(o.value)+a,t<=0?(f=s,l=e.zln1px(-Math.exp(f))):(l=s,f=e.zln1px(-Math.exp(l))),n.value=f,r.value=l,0)},e.szprobit=function(t){var n,r,i,s,o,u,a=0,f,l=0,c,h,p,d;i=100*Number.MIN_VALUE,r=-Math.sqrt(-2*Math.log(i)),u=Math.log(t),n=-Math.sqrt(-2*u),s=JMP.MAC_SQRT_BIG,d=r;while(Math.abs(s-u)>=JMP.SINGULAR*Math.abs(u)&&l++<30){c={value:s},p={value:a},h={value:o};if(e.zlognrm(n,c,p,h))return r;s=c.value,o=h.value,f=s-u,f*=Math.exp(s-o),n-=f,Math.abs(s-u)<JMP.SINGULAR*Math.abs(u)&&(d=n)}return d},e.zprobit=function(t){var n=1.1774100225154747,r=7.941345326170997,i=1.4756646266356057,s=3.827787912267809,o=3.926527220876258,u=2.0524292014826053,a=.5906175347671243,f=.09433047102597236,l=.007748014532123519,c=.00023850990628812184,h=2.757985744718407,p=3.0193046324086072,d=1.6853868285749263,v=.5155497927835685,m=.08675117268832777,g=.007472090148248392,y=.00023846672191006805,b=2.2366406817573622e-7,w=1.4756630668977935,E=2.9349133839409465,S=2.302486886454419,x=.9208235553699621,T=.1971184884114817,N=.021322238814693088,C=.0009933095513250212,k=13896718225467155e-21,L=2.152916059924272,A=1.8195065884540687,O=.7785719242838022,M=.1775558927085442,_=.020255719894916695,D=.000977052221781334,P=1389640654034189e-20,H,B;return H=t,t===0?-Math.sqrt(-2*JMP.MAC_LOG_SMALL):t===1?r:t<1e-5?e.szprobit(t):(t=t>.5?1-t:t,t>.01?(t=Math.sqrt(-2*Math.log(t))-n,t*=(((((((c*t+l)*t+f)*t+a)*t+u)*t+o)*t+s)*t+i)/(((((((y*t+g)*t+m)*t+v)*t+d)*t+p)*t+h)*t+1)):(B=Math.sqrt(-2*Math.log(t))-n,t=1/B,t=B*(k+t*(C+t*(N+t*(T+t*(x+t*(S+t*(E+t*(w+b*t))))))))/(P+t*(D+t*(_+t*(M+t*(O+t*(A+t*(L+t)))))))),H>.5?t:-t)},e}(),JMP.TermStatic=function(){"use strict";var e={},t=function(e,t,n){var r;if(!t)return-1;for(r=0;r<e;r++)if(t[r]!==null)if(n===null||n<t[r])return r-1;return n!==null&&t[e-1]!==null&&t[e-1]<=n?e-1:-1};return e.findLevel=function(e,n){var r;if(n===null&&!e.isMissingScored)return-1;if(e.nRanges!==0)return t(e.nLevels,e.rangeMin,n);if(n===null){for(r=0;r<e.nLevels;r++)if(e.numLevels[r]===null)return r;return-1}return e.numLevels.indexOf(n)},e.getScore=function(e,t){var n=-1,r,i;return e.score&&t>=0&&t<e.score.length?e.score[t]:(e.column&&e.column.data&&(r=e.column.data.length,t>=0&&t<r&&(e.numLevels?n=e.findLevelOfNumber(e.column.data[t]):(i=e.column.data[t],n=e.findValue(i)))),n)},e.splitIndices=function(e,t){var n=t,r,i,s,o,u,a,f,l,c,h,p;if(e){n=[],o=e.nLevels,u=e.column,a=u.data,f=u.type===JMP.VariableStatic.TYPE_NUMBER,s=t?t.length:1;for(r=0;r<s;r++){p=[];for(l=0;l<o;l++)p[l]=[];c=t&&t[r]?t[r].length:a.length;for(i=0;i<c;i++)h=t&&t[r]?t[r][i]:i,l=f?e.findLevelOfNumber(a[h]):e.findLevelOfString(a[h]),0<=l&&l<o&&p[l].push(h);for(l=0;l<o;l++)n[r*o+l]=p[l]}}return n},e.getValueString=function(e,t,n){var r=null;return n===undefined&&e.column.type===JMP.VariableStatic.TYPE_NUMBER&&(n=e.column.format),t!==null&&e.column.dataLevel!==JMP.VariableStatic.LEVEL_CONTINUOUS?(t<0?t=0:t>=e.nLevels&&(t=e.nLevels-1),e.charLevels&&(r=e.charLevels[t>>0])):r=t,e.column.getValueString(r,n)},e}(),JMP.Term=function(e,t){"use strict";var n={};return n.column=e,n.min=0,n.max=0,n.isTrimmed=!1,n.isMissingScored=!1,n.nLevels=t?t.length:0,n.score=undefined,n.rowColor=undefined,n.rowValue=undefined,n.colorLevels=undefined,n.charLevels=undefined,n.numLevels=undefined,n.charValues=undefined,n.nRanges=0,n.rangeMin=undefined,e&&t&&(e.type===JMP.VariableStatic.TYPE_NUMBER?e.dataLevel===JMP.VariableStatic.LEVEL_CONTINUOUS?(n.nRanges=n.nLevels,n.rangeMin=t):n.numLevels=t:n.charLevels=t),n.getScore=function(e){return JMP.TermStatic.getScore(n,e)},n.findValue=function(e){return n.charValues?n.charValues.indexOf(e):n.charLevels?n.charLevels.indexOf(e):-1},n.findLevelOfString=function(e){var t=n.charLevels?n.charLevels.indexOf(e):-1;return t<0?n.findValue(e):t},n.findLevelOfNumber=function(e,t){return JMP.TermStatic.findLevel(n,e,t)},n.getValueString=function(e,t){return JMP.TermStatic.getValueString(n,e,t)},n},JMP.UniqueStatic=function(){"use strict";var e={};return e.getValues=function(e,t,n,r){var i=e?e.length:0,s,o,u=0,a,f,l,c,h,p,d,v,m,g,y,b,w,E=!1,S=[],x=t?t.excluded:undefined,T=function(e,t){var n=0,r,i;return e.toLowerCase&&t.toLowerCase?(r=e.toLowerCase(),i=t.toLowerCase(),r<i?n=-1:r>i?n=1:e<t?n=-1:e>t&&(n=1)):e<t?n=-1:e>t&&(n=1),n};for(h=0;h<i;h++){s=e[h],o=s.data,a=[],w={},u=o.length;for(p=0;p<u;p++)if(!x||!x[p]){l=o[p];if(l===null)E=!0;else if(w[l]===undefined){v=a.length;if(v===0)a.push(l);else{g=0,y=v-1;while(g<=y)b=g+y>>1,c=a[b],T(l,c)>0?g=b+1:y=b-1;T(l,c)>0&&b++,a.splice(b,0,l)}w[l]=l}}E&&(n||s.isInformativeMissing)&&a.unshift(null);if(r&&s.valueOrdering){v=a.length,f=s.valueOrdering.concat(),m=f.length;for(p=m-1;p>=0;p--)d=a.indexOf(f[p]),d>=0?a.splice(d,1):f.splice(p,1);a=f.concat(a)}S[h]=a}return S},e.calculate=function(t){t.result=e.getValues(t.inputVariables,undefined,t.options&&t.options.includeMissing,t.options&&t.options.orderValues),t.needCalculation=!1},e}(),JMP.Unique=function(e,t){"use strict";var n=JMP.Calculation(e,t);return n.defaultOptions={includeMissing:!1,orderValues:!1},t||(n.options=n.defaultOptions),n.calculate=function(){JMP.UniqueStatic.calculate(n)},n},JMP.ViewStatic=function(){"use strict";var e={},t=[],n=[],r,i,s={x:0,y:0},o=!1,u={lines:[],pointerTarget:undefined,x:undefined,y:undefined},a={x:-1,y:-1},f=JMP.Format(JMP.FormatStatic.FORMAT_FIXED,!1,6),l=JMP.Format(JMP.FormatStatic.FORMAT_BEST),c=3,h=20,p=6,d=4,v=function(e,t){var n=0,r=e.length;while(n<r&&e[n]===t[n])n++;return e[n]===t[n]?0:e[n]>t[n]?1:-1},m=function(){return["\\u0030","\\u0031","\\u0032","\\u0033","\\u0034","\\u0035","\\u0036","\\u0037","\\u0038","\\u0039","\\u0028","\\u005B","\\u007B","\\u2018","\\u201C","\\u3014","\\u3008","\\u300A","\\u300C","\\u300E","\\u3016","\\u3010","\\uFF08","\\uFF0E","\\uFF10","\\uFF11","\\uFF12","\\uFF13","\\uFF14","\\uFF15","\\uFF16","\\uFF17","\\uFF18","\\uFF19","\\uFF3B","\\uFF5B"]},g=function(){return["\\u0021","\\u0029","\\u002C","\\u002E","\\u003A","\\u003B","\\u003F","\\u005D","\\u007D","\\u3001","\\u3002","\\u00B7","\\u02C9","\\u02C7","\\u00A8","\\u3003","\\u3005","\\u2014","\\uFF5E","\\u2016","\\u2026","\\u2019","\\u201D","\\u3015","\\u3009","\\u300B","\\u300D","\\u300F","\\u3017","\\u3011","\\u2236","\\uFF01","\\uFF02","\\uFF07","\\uFF09","\\uFF0C","\\uFF0E","\\uFF1A","\\uFF1B","\\uFF1F","\\uFF3D","\\uFF40","\\uFF5C","\\uFF5D"]},y=function(){return["\\u0030","\\u0031","\\u0032","\\u0033","\\u0034","\\u0035","\\u0036","\\u0037","\\u0038","\\u0039","\\u0024","\\u0028","\\u005B","\\u00A5","\\u007B","\\uFF62","\\u2018","\\u201C","\\uFF08","\\u3014","\\uFF3B","\\uFF5B","\\u3008","\\u300A","\\u300C","\\u300E","\\u3010","\\uFFE5","\\uFF04","\\u00A3"]},b=function(){return["\\u0021","\\u0025","\\u0029","\\u002C","\\u002E","\\u003F","\\u005D","\\u007D","\\uFF61","\\uFF63","\\uFF64","\\uFF65","\\uFF67","\\uFF68","\\uFF69","\\uFF6A","\\uFF6B","\\uFF6C","\\uFF6D","\\uFF6E","\\uFF6F","\\uFF70","\\uFF9E","\\uFF9F","\\u3001","\\u3002","\\uFF0C","\\uFF0E","\\u30FB","\\uFF1A","\\uFF1B","\\uFF1F","\\uFF01","\\u309B","\\u309C","\\u30FD","\\u30FE","\\u309D","\\u309E","\\u3005","\\u30FC","\\u2019","\\u201D","\\uFF09","\\u3015","\\uFF3D","\\uFF5D","\\u3009","\\u300B","\\u300D","\\u300F","\\u3011","\\u00B0","\\u2032","\\u2033","\\u2103","\\u00A2","\\uFF05","\\u2030","\\u3041","\\u3043","\\u3045","\\u3047","\\u3049","\\u3063","\\u3083","\\u3085","\\u3087","\\u308E","\\u30A1","\\u30A3","\\u30A5","\\u30A7","\\u30A9","\\u30C3","\\u30E3","\\u30E5","\\u30E7","\\u30EE","\\u30F5","\\u30F6"]},w=function(){return["\\u0030","\\u0031","\\u0032","\\u0033","\\u0034","\\u0035","\\u0036","\\u0037","\\u0038","\\u0039","\\u0028","\\u005B","\\u005C","\\u007B","\\u2018","\\u201C","\\u3014","\\u3008","\\u300A","\\u300C","\\u300E","\\u3010","\\uFF04","\\uFF08","\\uFF3B","\\uFFE6","\\uFF5B"]},E=function(){return["\\u0021","\\u0025","\\u0029","\\u002C","\\u002E","\\u003A","\\u003B","\\u003F","\\u005D","\\u007D","\\u3001","\\u2019","\\u201D","\\u3015","\\u3009","\\u300B","\\u300D","\\u300F","\\u3011","\\u00B0","\\u2032","\\u2033","\\u2103","\\uFFE0","\\uFF01","\\uFF05","\\uFF09","\\uFF0C","\\uFF0E","\\uFF1A","\\uFF1B","\\uFF1F","\\uFFE6","\\uFF3D","\\uFF5D"]},S=function(){return["\\u0028","\\u005B","\\u007B"]},x=function(){return["\\u0021","\\u0025","\\u0029","\\u002C","\\u002E","\\u003A","\\u003B","\\u003F","\\u005D","\\u007D"]},T=function(t,n,r,i,s,o,u){var a=!1,f,l=r,c=n.length-1;t?(f=e.getLastCharIndex(t,n,l,c,u),o=f-l+1):f=l+o-1;if(f<c){do n.charAt(f).search(i)>=0||n.charAt(f+1).search(s)>=0?f-=1:a=!0;while(!a&&f>=l)}else f=c,a=!0;return a||(f=l+o-1),f},N=function(e,t,n,r,i,s,o,u){var a,f,l,c;a=new RegExp("("+i.join("|")+")"),f=new RegExp("("+s.join("|")+")");for(l=0;l<r.length;l=c+1)c=T(e,r,l,a,f,o,u),t.splice(n,0,r.slice(l,c+1)),n++},C=function(t,n,r,i,s,o){var u,a,f,l,c,h,p,d,v,m,g;for(u=0;u<i.length;u=a+1){t?(a=e.getLastCharIndex(t,i,u,i.length-1,o),f=a+1,s=f-u):(a=u+s-1,f=a+1),p=/(?:\u0020|\u00A0)/,l=f>i.length-1?a:f;do{if(i.charAt(l).search(p)>=0)break;l-=1}while(l>=u);c=l;if(l===u)a=u;else{h=/(?:\-|\)|\])/;do{if(i.charAt(a).search(h)>=0)break;a-=1}while(a>=u);f=a+1,l>a&&(a=l,f=c),i.length<=u+s?(a=i.length-1,f=a+1):a<u&&(d=S(),v=x(),m=new RegExp("("+d.join("|")+")"),g=new RegExp("("+v.join("|")+")"),a=T(t,i,u,m,g,s,o),f=a+1),n.splice(r,0,i.slice(u,f)),r++}}},k=function(e){var t,n=!0;for(t=0;t<e.length;t++)if(e.charCodeAt(t)>255){n=!1;break}return n},L=function(e,t){var n,r,i=!1;if(JMP.EventFacadeStatic.isTouch&&
e&&e.type==="pointermove"){n=e.pointerTarget,n||(n=e.target),r=n;while(r){if(r.nodeName==="TABLE"&&r.className.indexOf("scrollableTable")>=0){t.className=t.className.replace("revealed","concealed"),i=!0;break}r=r.parentNode}}return i};return e.FUZZ_PIXELS=15,e.FUZZ_PIXELS_SQUARED=e.FUZZ_PIXELS*e.FUZZ_PIXELS,e.MIN_SQUARED_TOOLTIP_DISTANCE=64,e.WHICH_NONE=0,e.WHICH_SELECTED=1,e.WHICH_ALL=2,e.FOCUS_REPORT=0,e.FOCUS_GRAPH=1,e.FOCUS_DATA=2,e.SELECT_ONLY=0,e.SELECT_TOGGLE=1,e.SELECT_EXTEND=2,e.SELECT_REDUCE=3,e.focusMode=e.FOCUS_REPORT,e.selectMode=e.SELECT_ONLY,e.TIP_LOWER_BOUND="Lower bound",e.TIP_UPPER_BOUND="Upper bound",e.TIP_VALUE="Value",e.TIP_SHARE="Share",e.TIP_ROWS="Rows",e.TIP_ROW="Row",e.TIP_SUM="Sum",e.TIP_MISSING="Missing",e.COLON=":",e.OPEN_PAREN="(",e.CLOSE_PAREN=")",e.NESTED_AXIS_DELIMITER=" / ",e.MIN_NORMAL=Math.pow(2,-1022),e.getLastCharIndex=function(e,t,n,r,i){var s,o=n,u;n-=1,r+=1;while(n+1!==r)u=n+r>>1,s=e.measureText(t.slice(o,u+1)).width,s>i?r=u:n=u;return n<o?o:n},e.reset=function(e){e.lineWidth=1,e.lineCap="butt",e.lineJoin="miter",e.miterLimit=10,e.font=JMP.LARGE_FONT_SIZE+"px "+JMP.FONT,e.textAlign="start",e.textBaseline="alphabetic",e.fillStyle="#000000",e.strokeStyle="#000000",e.globalAlpha=1,e.globalCompositeOperation="source-over"},e.stringTorgb=function(e){var t=[],n=parseInt(e,16);return t[0]=n>>16&255,t[1]=n>>8&255,t[2]=n&255,t},e.rgbToString=function(e){return e[0]===0&&e[1]===0&&e[2]===0?JMP.COLOR_BLACK:"rgb("+(e[0]>>0)+", "+(e[1]>>0)+", "+(e[2]>>0)+")"},e.rgbToHexString=function(e){var t=function(e){var t=Number(e).toString(16);return t.length===1?"0"+t:t};return"#"+t(e[0])+t(e[1])+t(e[2])},e.darkenColor=function(t,n){var r=e.stringTorgb(t.substr(1,7));return r=e.interpolateColor(r,[0,0,0],n),e.rgbToString(r)},e.rectanglesIntersect=function(e,t,n){return n?e.x+n<=t.x+t.w&&t.x+n<=e.x+e.w&&e.y+n<=t.y+t.h&&t.y+n<=e.y+e.h:e.x<=t.x+t.w&&t.x<=e.x+e.w&&e.y<=t.y+t.h&&t.y<=e.y+e.h},e.pointInRect=function(e,t,n){return n?t.x+n<=e.x&&t.y+n<=e.y&&e.x+n<=t.x+t.w&&e.y+n<=t.y+t.h:t.x<=e.x&&t.y<=e.y&&e.x<=t.x+t.w&&e.y<=t.y+t.h},e.normalizeRect=function(e){e.w<0&&(e.x+=e.w,e.w=-e.w),e.h<0&&(e.y+=e.h,e.h=-e.h)},e.roundRect=function(e,t,n){var r=e.x+.5>>0,i=e.y+.5>>0,s=e.w+e.x-r+(e.w>=0?.5:-0.5)>>0,o=e.h+e.y-i+(e.h>=0?.5:-0.5)>>0;t!==undefined&&Math.abs(s)<t+.5>>0&&(s=t+.5>>0,e.w<0&&(s=-s),r=e.x+(e.w-s)/2+.5>>0),n!==undefined&&Math.abs(o)<n+.5>>0&&(o=n+.5>>0,e.h<0&&(o=-o),i=e.y+(e.h-o)/2+.5>>0),e.x=r,e.y=i,e.w=s,e.h=o},e.log10=function(e){return Math.log(e)/Math.LN10},e.nearlyEqual=function(t,n,r){var i=Math.abs(t),s=Math.abs(n),o=Math.abs(t-n),u=!1;return t===n?u=!0:r===0?u=!1:t===0||n===0||o<e.MIN_NORMAL?u=o<r*e.MIN_NORMAL:u=o/Math.min(i+s,Number.MAX_VALUE)<r,u},e.lowerBound=function(t,n,r){var i=-1,s=n.length,o;while(i+1!==s)o=(i+s)/2>>0,!e.nearlyEqual(n[o],t,r)&&n[o]<t?i=o:s=o;return s},e.upperBound=function(t,n,r){var i=-1,s=n.length,o;while(i+1!==s)o=(i+s)/2>>0,!e.nearlyEqual(n[o],t,r)&&n[o]>t?s=o:i=o;return s},e.distanceFromCircle=function(e,t,n){var r=e.x-t.x,i=e.y-t.y,s,o;return s=Math.sqrt(r*r+i*i)-n,o=s*s,s<0?-o:o},e.rectangleIntersectsCircle=function(e,t,n,r,i,s,o){var u=i>t?t-i:i<e?e-i:0,a=s>r?r-s:s<n?n-s:0;return u*u+a*a<o*o},e.findShortestDistanceToLine=function(e,t,n,r,i){var s=0,o=Math.min(n.length,r.length),u,a,f,l,c,h,p={shortestSquaredLength:Infinity,nearestPoint:{x:null,y:null}};while(s<o-1)n[s]!==null&&r[s]!==null&&n[s+1]!==null&&r[s+1]!==null&&(a=n[s+1]-n[s],f=r[s+1]-r[s],u=((t-r[s])*f+(e-n[s])*a)/(a*a+f*f),u>1?u=1:u<0&&(u=0),c=n[s]+u*a,h=r[s]+u*f,a=c-e,f=h-t,l=a*a+f*f,l<p.shortestSquaredLength&&(p.shortestSquaredLength=l,p.nearestIndex=s+u+.5>>0,p.nearestPoint.x=c,p.nearestPoint.y=h)),i?s++:s+=2;return p},e.distance=function(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)},e.pointAtPositionAlongLine=function(e,t,n){return{x:t.x*(1-e)+n.x*e,y:t.y*(1-e)+n.y*e}},e.pointAtDistanceAlongLine=function(t,n,r){return e.pointAtPositionAlongLine(t/e.distance(n,r),n,r)},e.toLon360=function(e){var t=e%360;return t<0&&(t+=360),t},e.toLon180=function(t){var n=e.toLon360(t);return n>180&&(n-=360),n},e.isBetween=function(e,t,n){return t<=e&&e<=n||n<=e&&e<=t},e.calculateYIntercept=function(e,t,n,r,i){return t===r?n:n+(i-n)*(e-t)/(r-t)},e.getValueFromArray=function(e,t,n){var r;return!t||!t.length?null:n&&(e<0||e>=t.length)?null:(r=e+.5>>0,r<0?r=0:r>=t.length&&(r=t.length-1),t[r])},e.drawCommand=function(e,t,n,r,i){var s,o;r?(s=(t+JMP.EPSILON>>0)+.5,o=(n+JMP.EPSILON>>0)+.5):(s=t+JMP.EPSILON+.5>>0,o=n+JMP.EPSILON+.5>>0),e[i](s,o)},e.areAllTheSame=function(e){var t=null,n,r;if(!e||!e.length)return!1;r=e.length;for(n=0;n<r;n++)if(t===null)e[n]!==null&&e[n]!==undefined&&(t=e[n]);else if(e[n]!==null&&e[n]!==undefined&&e[n]!==t)return!1;return!0},e.isParallel=function(e){var t,n=null,r=e.length,i=!0;if(r%2!==0)return!1;for(t=0;t<r&&i;t++)t%2===0?n=e[t]:e[t]!==n&&(i=!1);return i},e.blend=function(e,t,n){return e===null||t===null?null:e*(1-n)+t*n},e.fillArray=function(e,t,n){var r;for(r=0;r<t;r++)e[r]=n},e.allocate=function(t,n,r){t.length=n,r===undefined&&(r=0),e.fillArray(t,n,r)},e.interpolateColor=function(t,n,r){var i=[];return i[0]=e.blend(t[0],n[0],r)>>0,i[1]=e.blend(t[1],n[1],r)>>0,i[2]=e.blend(t[2],n[2],r)>>0,i},e.debug=function(e){var t=document.getElementById("debug");t||(t=document.createElement("DIV"),t.id="debug",t.style.margin="20px",t.style.width="500px",t.style.height="300px",t.style.overflow="scroll",t.style.border="solid black 1px",document.getElementById("body").appendChild(t)),t.innerHTML+=e+"<br/>"},e.getPosition=function(e,t){var n=e;t.x=0,t.y=0;while(n)t.x+=n.offsetLeft||0,t.y+=n.offsetTop||0,n=n.offsetParent;t.x+=document.body.parentNode.offsetLeft||0,t.y+=document.body.parentNode.offsetTop||0,n=e;while(n&&n!==document.body)t.x-=n.scrollLeft||0,t.y-=n.scrollTop||0,n=n.parentNode},e.tooltipListener=function(e){var t=e.pointerTarget,n=!1,i;t||(t=e.target),t&&t.nodeName==="IMG"&&t.parentNode.nodeName==="BUTTON"&&(t=t.parentNode),i=t;while(i&&!n)i.nodeName==="HEADER"&&(n=!0),i=i.parentNode;if(n||JMP.ViewStatic.focusMode===JMP.ViewStatic.FOCUS_REPORT&&(!t||t.nodeName!=="BUTTON"||!JMP.EventFacadeStatic.isTouch))switch(e.type){case"click":case"focus":case"pointerdown":JMP.ViewStatic.updateTooltip(e,JMP.ViewStatic.getTooltip(t));break;case"pointerup":n&&t&&t.nodeName==="BUTTON"&&JMP.EventFacadeStatic.isTouch&&JMP.ViewStatic.updateTooltip(e,JMP.ViewStatic.getTooltip(t));break;case"pointermove":case"pointerover":a.x=e.clientX,a.y=e.clientY,JMP.ViewStatic.updateTooltip(e,JMP.ViewStatic.getTooltip(t));break;case"blur":JMP.ViewStatic.updateTooltip();break;case"pointerout":(e.clientX!==a.x||e.clientY!==a.y)&&JMP.ViewStatic.updateTooltip();break;default:}if(t&&t.nodeName==="BUTTON")switch(e.type){case"pointerdown":case"keydown":if(e.type==="pointerdown"||e.keyCode===32||e.keyCode===13)t.className.indexOf("buttonUp")>=0&&(r=t),t.className=t.className.replace("buttonUp","buttonDown");break;case"click":case"pointerup":case"pointerout":t===r&&(t.className=t.className.replace("buttonDown","buttonUp"));if(e.type==="pointerup"||e.type==="click")r=undefined;break;default:}},e.isControl=function(e){var t=!1;if(e)switch(e.nodeName){case"A":case"BUTTON":case"INPUT":case"LI":case"SELECT":t=!0;break;case"DIV":t=e.className.indexOf("scrollable")>=0;break;case"IMG":t=e.parentNode.nodeName==="BUTTON";break;default:}return t},e.isPinnedTip=function(e){var t=!1,n;if(e)switch(e.nodeName){case"DIV":e.className.indexOf("tipPinned")>=0&&(t=!0);break;case"TD":case"TH":case"IMG":n=e.parentNode;if(e.nodeName!=="IMG"||n&&n.nodeName==="TD"){while(n&&n.nodeName!=="DIV")n=n.parentNode;n&&n.className.indexOf("tipPinned")>=0&&(t=!0)}break;default:}return t},e.fillTooltip=function(t,n,r,i,s,o,u){var a=n.length,f,l,c,v,m,g,y,b=window.innerWidth-h-p-2*d,w,E,S,x,T,N,C,k,L,A,O,M,_,D,P,H,B,j,F={},I=document.getElementById("sizingCanvas"),q=I.getContext("2d"),R="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo1ODA2RDMyOUNDNDRFNDExQUY0MEQzQzIyMDRDOTdDMSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo0MDQwMDI1ODRBMzMxMUU0QkFFNEE2NjFENTNBNUI0RiIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo0MDQwMDI1NzRBMzMxMUU0QkFFNEE2NjFENTNBNUI0RiIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjg1QTZFMURDN0I0NUU0MTE5QUNFRTgyREE1N0RCNjdCIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjU4MDZEMzI5Q0M0NEU0MTFBRjQwRDNDMjIwNEM5N0MxIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Dvr02QAAALBJREFUeNpi/P//PwMlgImBQkCxASzIHDm7UhUgtRqI4x4f7rmMLCdrW6ILpBYBceijQ913cLkApNkAiPdBNSBr3geVW43TBSCboQpFoIY4QcVhYm+gauCAETkWGBkZkW2DaWBAYjuBvIaiB90ANCeLQKXgmkEcZD3Uj0YsXniDFCa6eA3AotkJinEagu6CRegBBvU3siGL8BkQCsQXkAMMBJAMuQBVgz0WhmZmAggwAEBVUWnU+UR5AAAAAElFTkSuQmCC";q.font=JMP.LARGE_FONT_SIZE+"px "+JMP.FONT,y=!0;if(!s)for(l=0;l<a&&y;l++)y=n[l].indexOf(":")<0;f="<table class='tip'>",C=0,v=0;for(l=0;l<a;l++){w="",E=n[l],s||(c=E.indexOf(":"),w=E.slice(0,c+1),E=E.slice(c+1)),S=e.wrap(q,Math.min(200,.3*b),[w]),x=e.wrap(q,Math.min(400,.7*b),[E]),T=S.length,N=x.length;for(c=0;c<T-1;c++)f+="<tr><th>",f+=S[c],f+="</th><td></td></tr>",C++,v=Math.max(v,e.getApproximateWidth(S[c]));for(c=0;c<N;c++)f+="<tr>",y||w===""&&l===0?(f+="<td colspan='2' class=",f+=!y&&N===1?"'center'>":"'left'>"):c===0?(f+="<th>",f+=S[T-1],f+="</th><td class='left'>"):f+="<th></th><td class='left'>",f+=x[c],f+="</td></tr>",C++,v=Math.max(v,e.getApproximateWidth(S[T-1]+x[c]))}f+="</table>",o||r||i?(t.innerHTML="",k=JMP.ParserStatic.createElement("TABLE","",t),L=JMP.ParserStatic.createElement("TR","",k),A=JMP.ParserStatic.createElement("TD","",L),A.innerHTML=f,o&&(O=JMP.ParserStatic.createElement("TD","",L),M=JMP.ParserStatic.createElement("IMG","tipClose",O),M.setAttribute("src",R),M.tabIndex=0,JMP.EventFacadeStatic.addEventListener(M,o)),r&&(_=JMP.ParserStatic.createElement("TR","",k),D=JMP.ParserStatic.createElement("TD","left",_),P=document.createTextNode(r),D.appendChild(P),o&&(D.colSpan=2)),i&&(H=JMP.ParserStatic.createElement("TR","",k),B=JMP.ParserStatic.createElement("TD","left",H),j=JMP.ParserStatic.createElement("IMG","",B),F=JSON.parse(i.replace(/\\"/g,'"')),j.setAttribute("src",F.imageSrc),o&&(B.colSpan=2))):t.innerHTML=f,u&&(u.x=0,u.y=0,C&&(u.x=v,o&&(u.x+=32)),r&&(u.x=Math.max(u.x,e.getApproximateWidth(r)),a++),u.y=p+C*(JMP.LARGE_FONT_SIZE+(C>1?6:4)),i&&(m=F.width,g=F.height,u.x=Math.max(u.x,m),u.y+=g))},e.hidePinnedTip=function(e){JMP.ViewStatic.updateTooltip(),e.className=e.className.replace("revealed","permanentlyConcealed"),e.tagNode.className=e.tagNode.className.replace("revealed","permanentlyConcealed")},e.hidePinnedTips=function(t){var n,r,i=t.parentNode.querySelectorAll(".tipPinned");r=i.length;for(n=0;n<r;n++)e.hidePinnedTip(i[n])},e.updateTooltip=function(t,n,r){var a,f,l,c,p,v,m=!1,g=!1,y=null,b=!1,w=!1,E,S=document.getElementById("tooltip"),x=[],T,N,C=30,k,A={x:0,y:0};t&&(k=t.pointerTarget),n&&(x=n.lines.concat(),T=n.x,N=n.y),f=x.length,v=f!==u.lines.length||k!==u.pointerTarget||T!==u.x||N!==u.y;for(a=0;a<f&&!v;a++)v=x[a]!==u.lines[a];if(!L(t,S)&&(v||o)){v&&(t||f<=0)&&(S.className=S.className.replace("revealed","concealed"),i&&(clearTimeout(i),i=undefined));if(t){p=t.pointerTarget,p||(p=t.target),E=p;if(E){g=e.isControl(E),E.nodeName==="IMG"?E.parentNode.nodeName==="BUTTON"?p=p.parentNode:m=!0:E.nodeName==="INPUT"&&E.hasAttribute("type")&&E.getAttribute("type")==="range"&&(y=E);if(E.nodeName!=="CANVAS")while(E){if(E.nodeName==="HEADER")w=!0;else if(E.nodeName==="TD"||E.nodeName==="TH")b=!0;E=E.parentNode}}}v&&(u.lines=x,u.pointerTarget=k,u.x=T,u.y=N,e.fillTooltip(S,x,undefined,n?n.imageSrc:undefined,r,undefined,s)),l=s.x,c=s.y,o=!0,S.clientWidth>0&&S.clientHeight>0&&(l=S.clientWidth,c=S.clientHeight,o=!1),t&&f>0&&(e.getPosition(p,A),T!==undefined&&N!==undefined?(A.x+=T-window.pageXOffset,A.y+=N-c-window.pageYOffset):m||g||b?(y&&(A.x+=(y.value-y.getAttribute("min"))*(y.offsetWidth-C)/(y.getAttribute("max")-y.getAttribute("min"))),w?A.y+=p.offsetHeight+1:(A.y-=c+2,A.x-=window.pageXOffset,A.y-=window.pageYOffset)):(A.x=t.clientX,A.y=t.clientY-c),A.x=Math.max(d,Math.min(A.x,window.innerWidth-h-d-l)),A.y=Math.max(d,Math.min(A.y,window.innerHeight-h-d-c)),S.style.left=window.pageXOffset+A.x+"px",S.style.top=window.pageYOffset+A.y+"px",v&&(t.type==="pointerover"||t.type==="pointermove"&&!y?i=setTimeout(function(){S.className=S.className.replace("concealed","revealed")},300):S.className=S.className.replace("concealed","revealed")))}},e.getTooltip=function(e){var r=t.indexOf(e);return r>=0?n[r]:undefined},e.setTooltip=function(r,i,s,o,u){var a,f;if(!i||i.search(/\S/)<0)return;f={lines:u?[i]:i.split("|"),distance:0,area:0,hasNoLabel:o},a=t.indexOf(r),a>=0?n[a]=f:(t.push(r),n.push(f),s||JMP.EventFacadeStatic.addEventListener(r,e.tooltipListener))},e.updateSliderTooltip=function(e,t,n){var r,i=0,s={},o=document.getElementById("tooltip");o.className.indexOf("revealed")>-1&&(s=o.getBoundingClientRect(),r=s.left,i=s.bottom,s=e.getBoundingClientRect(),JMP.ViewStatic.pointInRect({x:r,y:i},{x:s.left,y:s.top-10,w:s.width+10,h:s.height+10})&&(n&&(r=(e.value-e.getAttribute("min"))*e.offsetWidth/(e.getAttribute("max")-e.getAttribute("min")),r+=s.left,i=s.top,n.clientX=r,n.clientY=i),JMP.ViewStatic.updateTooltip(n,{lines:[t]},!0))),JMP.ViewStatic.setTooltip(e,t,undefined,!0)},e.addTooltipLine=function(t,n,r,i){var s="";r===null&&(i=undefined,r=e.TIP_MISSING),n===undefined?s+=r:n!==""&&n!==null&&(n!==e.TIP_ROWS&&n.indexOf(e.TIP_ROW)===0&&(n=e.TIP_ROW),s+=n+e.COLON+" ",i?(n===e.TIP_ROW&&(i=JMP.Format(JMP.FormatStatic.FORMAT_FIXED,!1,0)),s+=JMP.FormatStatic.formatNumber(r,i)):s+=r),s&&t.lines.indexOf(s)<0&&t.lines.push(s)},e.addTooltipLineFromValues=function(t,n,r,i){var s,o,u="",a=Math.min(r.length,c),f=!0,l=function(t,n){var r="";return t===null?r+=e.TIP_MISSING:n?r+=JMP.FormatStatic.formatNumber(t,n):r+=t,r};o=r[0];for(s=1;s<r.length&&f;s++)r[s]!==o&&(f=!1);if(f)u+=l(o,i);else{for(s=0;s<a;s++)o=r[s],u+=l(o,i),s<a-1&&(u+=", ");r.length>c&&(u+=", ...")}e.addTooltipLine(t,n,u)},e.getLabel=function(e,t,n){var r=e?e.name||n||null:n||null;return r&&t!==undefined&&t!==JMP.DescriptiveStatic.STAT_NONE&&(r=JMP.DescriptiveStatic.NAMES[t]+"("+r+")"),r},e.formatTooltipRange=function(e,t,n,r,i){var s=JMP.FormatStatic.formatNumber(t,e);return n!==undefined&&n!==null&&(s=(r?"(":"[")+s+", "+JMP.FormatStatic.formatNumber(n,e)+(i?")":"]")),s},e.formatValueFixedBest=function(e){var t=JMP.FormatStatic.formatNumber(e,f),n=JMP.FormatStatic.formatNumber(e,l);return t.length<n.length?t:n},e.createLabels=function(t,n,r,i,s){var o,u,a,f,l,c,h,p,d,m;l=n.length,f=r?r.length:t;if(l===0)i.push(e.TIP_ROW);else for(o=0;o<l;o++)i.push(n[o].name);for(o=0;o<f;o++){c=r?r[o].length:1,d=[];for(u=0;u<c;u++){h=r?r[o][u]:o,d[u]=[];if(l===0)d[u][0]=h+1;else for(a=0;a<l;a++)p=n[a].data[h],d[u][a]=n[a].valueLabels?n[a].getValueString(p):p}m=c>1?d.sort(v):d.concat();for(u=0;u<c;u++)if(l===0)m[u][0]=String(m[u][0]);else for(a=0;a<l;a++)n[a].type===JMP.VariableStatic.TYPE_NUMBER&&!n[a].valueLabels&&(p=m[u][a],m[u][a]=JMP.FormatStatic.formatNumber(p,n[a].format));s.push(m)}},e.addLabeledColumnsToTooltip=function(t,n,r){var i,s,o=[],u,a,f=null,l,c;i=t.length,s=i,a=n?n.length:0,l=t[0]?t[0].length:0;for(c=0;c<l;c++){f=c<a?n[c]:undefined,o=[];for(u=0;u<s;u++)t[u][c]&&t[u][c].length>0?o[u]=t[u][c]:o[u]=null;e.addTooltipLineFromValues(r,f,o)}},e.addBullet=function(e){var t="• ";return e!==undefined&&e!==null&&(t+=e),t},e.getApproximateWidth=function(e,t){var n=document.getElementById("sizingCanvas"),r=n.getContext("2d");return r.font=(t!==undefined?t:JMP.LARGE_FONT_SIZE)+"px "+JMP.FONT,e!==undefined?r.measureText(e).width:0},e.mapFontSize=function(e){var t=JMP.SMALL_FONT_SIZE;return e<=t-2||e>JMP.LARGE_FONT_SIZE+2?t=e:Math.abs(JMP.LARGE_FONT_SIZE-e)<Math.abs(JMP.SMALL_FONT_SIZE-e)&&(t=JMP.LARGE_FONT_SIZE),t},e.wrap=function(t,n,r){var i,s,o,u,a,f,l,c,h=[],p=[],d=r.concat();a=d.length;for(i=a-1;i>=0;i--){l=d[i],l||(l=""),u=l.length,s=0;while(s<u&&l.charAt(s)===" ")s++;o=u-1;while(o>=0&&l.charAt(o)===" ")o--;l=l.slice(s,o+1),d[i]=l,t?c=t.measureText(l).width:c=e.getApproximateWidth(l),c>n&&(d.splice(i,1),u=l.length,f=u*n/c>>0,f+2>=u&&l.indexOf(" ")<0&&(f=u),JMP.isAsianLocale()&&!k(l)?(JMP.LOCALE==="zh-CN"?(h=m(),p=g()):JMP.LOCALE==="ja"?(h=y(),p=b()):(h=w(),p=E()),N(t,d,i,l,h,p,f,n)):C(t,d,i,l,f,n))}return d},e.removeMissing=function(e,t){var n,r,i,s=e.length;for(n=0;n<s;n++){i=e[n].length;for(r=i-1;r>=0;r--)t[e[n][r]]===null&&e[n].splice(r,1)}},e.setSelectedAggregates=function(e,t,n,r){var i=t.selectedIndices,s=t.nSelectedIndices,o=t.excluded,u,a,f,l,c,h;f=e.length;for(u=0;u<f;u++){c=!1;if(s>0){l=e[u]?e[u].length:0;if(r&&l){h=0;for(a=0;a<l;a++)!o[e[u][a]]&&i.lastIndexOf(e[u][a],s-1)!==-1&&h++;r[u]=h/l,c=h>0}else for(a=0;a<l&&!c;a++)c=!o[e[u][a]]&&i.lastIndexOf(e[u][a],s-1)!==-1}n[u]=c}},e.setHiddenAggregates=function(e,t,n,r){var i=t.hidden,s=t.excluded,o,u,a,f,l,c;a=e.length,c=r?!0:!1;for(o=0;o<a;o++){l=c,f=e[o]?e[o].length:0;for(u=0;u<f&&l===c;u++)l=s[e[o][u]]||i[e[o][u]];n[o]=l}},e.getScaledValues=function(e,t){var n,r,i,s=[],o=e.scale;if(o&&o.labels){i=o.labels.length;for(r=0;r<i;r++)n=JMP.ScalingStatic.pixelToValue(e,t),s[r]=o.getAxisValue(n,r),r===0&&(t=JMP.ScalingStatic.valueToPixel(e,o.getCategoryIndex(n,0))+.5)}else s[0]=JMP.ScalingStatic.pixelToValue(e,t);return s},e.permuteUniqueValues=function(e,t){var n,r,i,s,o,u,a=t.length,f,l,c,h,p,d,v=e.tickSpans,m,g,y;f=e.labels;if(f){h=f.length;for(r=0;r<a;r++){c=t[r].concat(),d=c.length,n=!1;for(i=0;i<h&&!n;i++){l=f[i],p=l.length;if(i<h-1){n=!1,y=0,m=v?v[i+1]:[d],g=m.length;for(s=0;s<g&&!n;s++){n=m[s]===d;for(o=0;o<d&&n;o++)u=l.indexOf(c[o],y),n=y<=u&&u<y+d;n||(y+=m[s])}}else{n=p===d;for(o=0;o<d&&n;o++)n=0<=l.indexOf(c[o]);y=0}}if(n)for(o=0;o<d;o++)t[r][l.indexOf(c[o],y)-y]=c[o]}}},e.addAxisValuesToTooltip=function(t,n,r,i){var s,o,u,a,f,l;if(!r||!r.scale)return;l=r.scale,f=e.getScaledValues(r,n),l.axisLabel?l.labels&&l.labels.length>1?a=l.axisLabel.split(e.NESTED_AXIS_DELIMITER):u=l.axisLabel:u=null;if(a){f.reverse(),o=f.length;for(s=0;s<o;s++)e.addTooltipLine(t,a[s],f[s])}else e.addTooltipLine(t,u,f[0],i||l.getFormat())},e.isTooltipCloser=function(e,t,n,r){var i=n<e&&r<t||(n===e||n>JMP.ViewStatic.MIN_SQUARED_TOOLTIP_DISTANCE&&e>JMP.ViewStatic.MIN_SQUARED_TOOLTIP_DISTANCE)&&r<t||Math.abs(r-t)<JMP.ViewStatic.MIN_SQUARED_TOOLTIP_DISTANCE&&n<e;return i},e.getPreciseFormat=function(e,t,n,r,i,s){var o=n||JMP.Format(),u,a,f,l,c,h,p,d=JMP.FormatStatic.isCurrency(o)?2:3,v=o.formatName,m=o.fieldWidth,g=o.nDecimals;if(s===JMP.DescriptiveStatic.STAT_N||i&&!JMP.DescriptiveStatic.requiresPrecision(s)){if(v===JMP.FormatStatic.FORMAT_FIXED||v===JMP.FormatStatic.FORMAT_BEST)v=JMP.FormatStatic.FORMAT_FIXED;g=s===JMP.DescriptiveStatic.STAT_MEDIAN?1:0}else!JMP.FormatStatic.isDateTime(o)&&!JMP.FormatStatic.isGeographic(o)&&(o.nDecimals>=0?g+=d:(u=Math.abs(e),c=u<JMP.SINGULAR?0:Math.floor(Math.LOG10E*Math.log(u)),a=Math.abs(e+t),h=a<JMP.SINGULAR?0:Math.floor(Math.LOG10E*Math.log(a)),f=Math.abs(t),p=f<JMP.SINGULAR?0:Math.floor(Math.LOG10E*Math.log(f)),l=Math.abs(c-p)<Math.abs(h-p)?c:h,g=Math.max(d-l,0)),v!==JMP.FormatStatic.FORMAT_BEST&&m>=0&&(m+=d),v===JMP.FormatStatic.FORMAT_BEST&&r&&(v=JMP.FormatStatic.FORMAT_FIXED),s===JMP.DescriptiveStatic.STAT_PERCENT&&(v=JMP.FormatStatic.FORMAT_PERCENT_FIXED0));return JMP.Format(v,o.showThousands,g,m,o.formatCode,o.decimalSeparator,o.thousandsSeparator,o.positivePrefix,o.positiveSuffix,o.negativePrefix,o.negativeSuffix,o.dateTimePattern,o.dateSeparator,o.timeSeparator,o.AMDesignator,o.PMDesignator,o.useAMPM,o.useAMPMInFront,o.use24HourClock,o.useZeroForMidnight,o.useMinusForNegativeDateTime,o.useLeadingZeroForHour)},e}(),JMP.ColorThemeStatic=function(){"use strict";var e={};return e.getCache=function(e,t){var n,r,i,s,o=[],u=[],a=JMP.ViewStatic.stringTorgb;if(e.positions&&e.colors){s=e.positions[0],r=e.positions.length;for(n=0;n<r;n++)o[n]=a(e.colors[n].substr(1,7)),n>0&&(i=e.positions[n],u[n]=1/(i-s),s=i)}t.rgb=o,t.inversePositionDeltas=u},e.getColor=function(e,t,n){var r=Math.min(1,Math.max(0,n)),i=e.positions,s,o,u=t.inversePositionDeltas,a=t.rgb,f=a?a.length:0;if(f===0)return[0,0,0];s=1;while(s<f&&r>=i[s])s++;return s===f?a[f-1]:(o=(r-i[s-1])*u[s],o=Math.min(1,Math.max(0,o)),JMP.ViewStatic.interpolateColor(a[s-1],a[s],o))},e}(),JMP.ColorTheme=function(e,t){"use strict";var n={},r,i=function(){return r||(r={},JMP.ColorThemeStatic.getCache(n,r)),r};return n.positions=e,n.colors=t,n.getColor=function(e){return JMP.ColorThemeStatic.getColor(n,i(),e)},n},JMP.ScaleStatic=function(){"use strict";var e={},t=function(e,t){var n,r,i,s,o,u=1,a=0,f,l;if(e.isOrdinal||e.labels){n={},l=e.labels[t]?e.labels[t].length:0,e.isOrdinal?n.valueMultiplier=0:n.valueMultiplier=Math.abs(e.range/l);if(e.tickSpans&&e.tickTotals){r=e.tickSpans[t],s=e.tickTotals[t];if(r&&s){i=r&&r.length===l?r:null,o=i&&s?s:l,u=o/e.range,n.endPositions=[];for(f=0;f<l;f++)a+=r[f],n.endPositions[f]=a*u}}}return n};return e.SCALE_LINEAR=0,e.SCALE_LOG=1,e.SCALE_NORMAL=2,e.SCALE_GEODESIC=3,e.SCALE_GEODESIC_US=4,e.SCALE_POWER=5,e.EVENT_RANGE_CHANGED=0,e.EVENT_REFERENCE_VALUE_CHANGED=1,e.event={type:e.EVENT_RANGE_CHANGED},e.convertToValue=function(e,t,n,r){var i=0;switch(e){case JMP.ScaleStatic.SCALE_LOG:i=Math.pow(n!==undefined?n:10,t);break;case JMP.ScaleStatic.SCALE_POWER:r=r!==undefined?r:2,i=t?t/Math.abs(t)*Math.abs(Math.pow(Math.abs(t),1/r)):0;break;default:i=t}return i},e.convertFromValue=function(e,t,n,r){var i=0;switch(e){case JMP.ScaleStatic.SCALE_LOG:t>0&&(i=Math.log(t)/Math.log(n!==undefined?n:10));break;case JMP.ScaleStatic.SCALE_POWER:r=r!==undefined?r:2,i=t?t/Math.abs(t)*Math.abs(Math.pow(Math.abs(t),r)):0;break;default:i=t}return i},e.getFormat=function(t){var n;return t.type===e.SCALE_LINEAR?t.labels||(n=JMP.ViewStatic.getPreciseFormat(t.origin,t.range,t.format,!1)):n=t.format,n},e.getCategoryIndex=function(e,n,r){var i,s,o=-1,u,a,f,l,c,h=0;e.axisInfo[r]||(e.axisInfo[r]=t(e,r)),i=e.axisInfo[r];if(i){s=e.labels[r];if(s&&i.endPositions){a=i.endPositions.length,o=0;while(o<a&&n>i.endPositions[o])o++}else if(s){f=0,a=e.tickSpans?e.tickSpans[r].length:0;for(u=0;u<a;u++)f+=e.tickSpans[r][u];l=e.tickOrigins?e.tickOrigins[r]:0,c=f>0?f-l:e.range,e.labels.length>1?(r===0&&e.tickOrigins&&e.tickOrigins[r]===e.tickOrigins[r]>>0&&(h=.5),o=(n-l+h)*s.length/c):o=n-l+.5*i.valueMultiplier}}return o>>0},e.getAxisValue=function(t,n,r){var i="",s,o;return t.labels&&(s=t.labels[r]),s?(o=e.getCategoryIndex(t,n,r),i=JMP.ViewStatic.getValueFromArray(o,s)):i=n,i},e.updateRange=function(t,n,r){var i=n+r;t.origin=e.convertFromValue(t.type,n,t.base,t.power),i=e.convertFromValue(t.type,i,t.base,t.power),t.range=i-t.origin,t.sendEvent(JMP.ScaleStatic.EVENT_RANGE_CHANGED)},e.updateReferenceLine=function(e,t,n,r,i){e.refValues[t]=n,e.refLabels[t]=r,i!==undefined&&(e.refStyles[t]=i),e.sendEvent(JMP.ScaleStatic.EVENT_REFERENCE_VALUE_CHANGED)},e.isGeodesic=function(e,t){var n=e.type===JMP.ScaleStatic.SCALE_GEODESIC||e.type===JMP.ScaleStatic.SCALE_GEODESIC_US;return n&&t&&(n=t.type===JMP.ScaleStatic.SCALE_GEODESIC||t.type===JMP.ScaleStatic.SCALE_GEODESIC_US),n},e}(),JMP.Scale=function(e,t,n,r,i,s,o,u,a,f,l,c,h,p,d,v,m,g,y,b,w,E,S){"use strict";var x={},T=JMP.EventDispatcher();return x.origin=e!==undefined?e:0,x.range=t!==undefined?t:1,x.type=n!==undefined?n:JMP.ScaleStatic.SCALE_LINEAR,x.format=r,x.widthMajor=i!==undefined?i:1,x.nMinor=s!==undefined?s:0,x.nMinorInit=o!==undefined?o:0,x.refValues=u!==undefined?u.slice(0):undefined,x.refMaxValues=a!==undefined?a.slice(0):undefined,x.refColors=f!==undefined?f.slice(0):undefined,x.refStyles=l!==undefined?l.slice(0):undefined,x.refWidths=c!==undefined?c.slice(0):undefined,x.refLabels=h!==undefined?h.slice(0):undefined,x.refAlphas=p!==undefined?p.slice(0):undefined,x.base=d!==undefined?d:10,x.power=v!==undefined?v:2,x.labels=m!==undefined?m.slice(0):undefined,x.tickLabels=g!==undefined?g.slice(0):undefined,x.tickOrigins=y!==undefined?y.slice(0):undefined,x.tickSpans=b!==undefined?b.slice(0):undefined,x.tickTotals=w!==undefined?w.slice(0):undefined,x.axisLabel=E!==undefined?E:undefined,x.isOrdinal=S!==undefined?S:undefined,x.refFormat=JMP.ViewStatic.getPreciseFormat(x.origin,x.range,x.format,!0),x.refIsEditable=undefined,x.axisInfo=[],x.getFormat=function(){return JMP.ScaleStatic.getFormat(x)},x.getAxisValue=function(e,t){return JMP.ScaleStatic.getAxisValue(x,e,t)},x.getCategoryIndex=function(e,t){return JMP.ScaleStatic.getCategoryIndex(x,e,t)},x.addEventListener=T.addEventListener,x.removeEventListener=T.removeEventListener,x.sendEvent=function(e){JMP.ScaleStatic.event.type=e,T.dispatchEvent(JMP.ScaleStatic.event)},x},JMP.ScalingStatic=function(){"use strict";var e={},t=8,n={x:-125,y:21.8,w:20,h:10},r={x:-172,y:52,w:43,h:20},i={x:-120.375,y:22.3,w:10.75,h:9},s={x:-160,y:18,w:6,h:5},o={x:-109,y:24.5,w:6,h:5},u=function(e,t,n,r){var i=0,s;switch(e){case JMP.ScaleStatic.SCALE_LOG:i=t/Math.log(n);break;case JMP.ScaleStatic.SCALE_POWER:s=n/Math.abs(n)*Math.abs(Math.pow(Math.abs(n),r)),i=t/s;break;default:i=t/n}return i},a=function(e,t){var r={x:e.origin,y:t.origin,w:e.range,h:t.range};return JMP.ViewStatic.rectanglesIntersect(r,n)||JMP.ViewStatic.rectanglesIntersect(r,o)},f=function(e,n){return e&&n&&Math.abs(e)<t&&Math.abs(n)<t};return e.CANVAS_MAX_INT=2e4,e.updateScale=function(e,t){var n=JMP.ScaleStatic.convertToValue(t.type,t.range,t.base,t.power);e.scale=t,e.pixelPerValueScale=u(t.type,e.pixelRange,n,t.power),e.valuePerPixelScale=1/e.pixelPerValueScale},e.updateOrigin=function(e,t){e.scale=t,e.valueOrigin=JMP.ScaleStatic.convertToValue(t.type,t.origin,t.base,t.power)},e.valueToPixel=function(t,n,r){var i=0,s,o,u;switch(t.scale.type){case JMP.ScaleStatic.SCALE_LOG:n<=0?r?i=null:t.pixelRange>0?i=t.pixelPerValueScale<0?e.CANVAS_MAX_INT:-e.CANVAS_MAX_INT:i=t.pixelPerValueScale>0?-e.CANVAS_MAX_INT:e.CANVAS_MAX_INT:i=t.pixelOrigin+t.pixelPerValueScale*(Math.log(n)-Math.log(t.valueOrigin));break;case JMP.ScaleStatic.SCALE_NORMAL:n===0?i=t.pixelOrigin:n===1?i=t.pixelOrigin+t.pixelRange:i=t.pixelOrigin+t.pixelPerValueScale*(JMP.ProbitStatic.zprobit(n)-t.valueOrigin);break;case JMP.ScaleStatic.SCALE_POWER:s=t.scale.power,o=n?n/Math.abs(n)*Math.abs(Math.pow(Math.abs(n),s)):0,u=t.valueOrigin,u=u?u/Math.abs(u)*Math.abs(Math.pow(Math.abs(u),s)):0,i=t.pixelOrigin+t.pixelPerValueScale*(o-u);break;default:i=t.pixelOrigin+t.pixelPerValueScale*(n-t.valueOrigin)}return i},e.pixelToValue=function(e,t){var n=0,r,i,s;switch(e.scale.type){case JMP.ScaleStatic.SCALE_LOG:n=Math.exp(Math.log(e.valueOrigin)+(t-e.pixelOrigin)*e.valuePerPixelScale);break;case JMP.ScaleStatic.SCALE_NORMAL:n=e.valueOrigin+(t-e.pixelOrigin)*e.valuePerPixelScale;break;case JMP.ScaleStatic.SCALE_POWER:r=e.scale.power,i=e.valueOrigin,i=i?i/Math.abs(i)*Math.pow(Math.abs(i),1/r):0,s=i+(t-e.pixelOrigin)*e.valuePerPixelScale,n=s?s/Math.abs(s)*Math.pow(Math.abs(s),1/r):0;break;default:n=e.valueOrigin+(t-e.pixelOrigin)*e.valuePerPixelScale}return n},e.albersValuesToInternals=function(e,t,n,r){var i,s,o,u,a,f,l,c,h,p,d,v,m,g,y,b,w,E,S,x,T,N,C,k,L,A,O,M;return i=e.scale.origin+e.scale.range/2,s=n-i,f=n,s>180&&(f-=((s+180)/360>>0)*360),s<-180&&(f+=((-s+180)/360>>0)*360),l=t.scale.origin,c=t.scale.range,h=l+c,d=l*JMP.DEG2RAD,v=h*JMP.DEG2RAD,o=i*JMP.DEG2RAD,g=(d*3+v)/4,y=(d+v*3)/4,h>90?(b=Math.max(0,Math.min(1,(h-90)/(c/4))),y=y*(1-b)+90*JMP.DEG2RAD*b,g=g*(1-b)+89*JMP.DEG2RAD*b):l<-90&&(b=Math.max(0,Math.min(1,(h-90)/(c/4))),y=y*(1-b)+ -89*JMP.DEG2RAD*b,g=g*(1-b)+ -90*JMP.DEG2RAD*b),m=(g+y)/2,w=m<0,w?(m=-m,g=-g,y=-y,E=-r):E=r,g<0&&(g=0),S=Math.sin(g),x=1-S*S,T=S+Math.sin(y),N=T/2,C=1/N,k=x+T*S,L=k-T*Math.sin(m),L=L<=0?0:Math.sqrt(L)*C,A=f*JMP.DEG2RAD,p=E*JMP.DEG2RAD,O=N*(A-o),M=k-T*Math.sin(p),M=M<=0?0:Math.sqrt(M)*C,u=M*Math.sin(O),a=L-M*Math.cos(O),u+=o,a+=m,u*=JMP.RAD2DEG,a*=JMP.RAD2DEG,w&&(a=-a),{x:u,y:a}},e.albersInternalsToValues=function(e,t,n,r){var i,s,o,u,a,f,l,c,h,p,d,v,m,g,y,b,w,E,S,x,T,N,C,k,L,A,O,M,_;return n===null||r===null?{x:null,y:null}:(i=e.scale.origin+e.scale.range/2,a=t.scale.origin,f=t.scale.range,l=a+f,h=a*JMP.DEG2RAD,p=l*JMP.DEG2RAD,s=i*JMP.DEG2RAD,v=(h*3+p)/4,m=(h+p*3)/4,l>90?(g=Math.max(0,Math.min(1,(l-90)/(f/4))),m=m*(1-g)+90*JMP.DEG2RAD*g,v=v*(1-g)+89*JMP.DEG2RAD*g):a<-90&&(g=Math.max(0,Math.min(1,(l-90)/(f/4))),m=m*(1-g)+ -89*JMP.DEG2RAD*g,v=v*(1-g)+ -90*JMP.DEG2RAD*g),d=(v+m)/2,y=d<0,y?(d=-d,v=-v,m=-m,b=-r):b=r,v<0&&(v=0),w=Math.sin(v),E=1-w*w,S=w+Math.sin(m),x=S/2,T=1/x,N=E+S*w,C=Math.sqrt(N-S*Math.sin(d))*T,o=n*JMP.DEG2RAD,u=b*JMP.DEG2RAD,o-=s,u-=d,_=C-u,A=Math.sqrt(Math.max(0,o*o+_*_)),L=Math.atan2(o,_),c=Math.asin(Math.min(1,Math.max(-1,(N-A*A*x*x)/S))),k=s+L*T,O=k*JMP.RAD2DEG,M=c*JMP.RAD2DEG,M=Math.min(90,Math.max(-90,M)),y&&(M=-M),O>i+180&&(O-=((O-i+180)/360>>0)*360),O<i-180&&(O+=((-(O-i)+180)/360>>0)*360),{x:O,y:M})},e.kavrayskiy7ValuesToInternals=function(e,t,n){var r,i,s,o,u,a;return r=e.scale.origin+e.scale.range/2,a=t-r,a>180&&(a-=((a+180)/360>>0)*360),a<-180&&(a+=((-a+180)/360>>0)*360),i=a*JMP.DEG2RAD,s=n*JMP.DEG2RAD,o=3*i/2*Math.sqrt(1/3-s/Math.PI*(s/Math.PI)),o*=2/JMP.SQRT3,u=s,o*=JMP.RAD2DEG,u*=JMP.RAD2DEG,o+=r,{x:o,y:u}},e.kavrayskiy7InternalsToValues=function(e,t,n){var r,i,s,o,u,a,f;return r=e.scale.origin+e.scale.range/2,a=t-r,a>180&&(a<180.0000001?a=180:a-=((a+180)/360>>0)*360),a<-180&&(a>-180.0000001?a=-180:a+=((-a+180)/360>>0)*360),a*=JMP.DEG2RAD,f=n*JMP.DEG2RAD,a/=2/JMP.SQRT3,s=f,i=2*a/3/Math.sqrt(1/3-s/Math.PI*(s/Math.PI)),isFinite(i)?o=i*JMP.RAD2DEG:o=a*JMP.RAD2DEG,u=s*JMP.RAD2DEG,o=Math.max(Math.min(o,180),-180),o+=r,{x:o,y:u}},e.mercatorValuesToInternals=function(e,t,n){var r,i,s,o,u;return r=e.scale.origin+e.scale.range/2,i=(2*Math.atan(Math.exp(r*JMP.DEG2RAD))-JMP.HALF_PI)*JMP.RAD2DEG,u=n-r+i,s=u*JMP.DEG2RAD,o=Math.log(Math.tan(Math.PI/4+s/2)),o*=JMP.RAD2DEG,{x:t,y:o}},e.mercatorInternalsToValues=function(e,t,n){var r,i,s,o,u;return s=n*JMP.DEG2RAD,o=Math.exp(s),u=2*Math.atan(o)-JMP.HALF_PI,u*=JMP.RAD2DEG,r=e.scale.origin+e.scale.range/2,i=(2*Math.atan(Math.exp(r*JMP.DEG2RAD))-JMP.HALF_PI)*JMP.RAD2DEG,u+=r-i,{x:t,y:u}},e.getCompactUSInset=function(e,t,n,u){var a=function(e,t){t.x=e.x,t.y=e.y,t.w=e.w,t.h=e.h};return a(r,t),a(i,n),JMP.ViewStatic.pointInRect(e,u?t:n)?1:(a(s,t),a(o,n),JMP.ViewStatic.pointInRect(e,u?t:n)?2:0)},e.mapInsetValuesToInternals=function(t,n,r,i,s,o){var u=s.x+s.w/2,a=s.y+s.h/2,f=o.x+o.w/2,l=o.y+o.h/2,c=(r-u)*o.w/s.w+f,h=(i-a)*o.h/s.h+l;return e.albersValuesToInternals(t,n,c,h)},e.mapInsetInternalsToValues=function(e,t,n,r){var i=n.x+n.w/2,s=n.y+n.h/2,o=r.x+r.w/2,u=r.y+r.h/2,a=(e-i)*r.w/n.w+o,f=(t-s)*r.h/n.h+u,l=r.x,c=r.x+r.w;return a<l&&(a=l),a>c&&(a=c),l=r.y,c=r.y+r.h,f<l&&(f=l),f>c&&(f=c),{x:a,y:f}},e.compactUSValuesToInternals=function(t,n,r,i){var s={},o={},u=e.getCompactUSInset({x:r,y:i},s,o,!0);return u===0?e.albersValuesToInternals(t,n,r,i):e.mapInsetValuesToInternals(t,n,r,i,s,o)},e.compactUSInternalsToValues=function(t,n,r,i){var s={},o={},u,a=e.albersInternalsToValues(t,n,r,i);return u=e.getCompactUSInset(a,s,o,!1),u===0?a:e.mapInsetInternalsToValues(a.x,a.y,o,s)},e.geodesicValuesToPixel=function(t,n,r,i){var s=t.scale.range,o=n.scale.range,u={};return r===null||i===null?{x:null,y:null}:(s>150||o>100?u=e.kavrayskiy7ValuesToInternals(t,r,i):f(s,o)?u=e.mercatorValuesToInternals(n,r,i):t.scale.type===JMP.ScaleStatic.SCALE_GEODESIC_US&&(s>20||o>20||a(t.scale,n.scale))?u=e.compactUSValuesToInternals(t,n,r,i):u=e.albersValuesToInternals(t,n,r,i),{x:e.valueToPixel(t,u.x),y:e.valueToPixel(n,u.y)})},e.geodesicPixelToValues=function(t,n,r,i){var s=t.scale.range,o=n.scale.range,u,l,c={};return r===null||i===null?{x:null,y:null}:(u=e.pixelToValue(t,r),l=e.pixelToValue(n,i),s>150||o>100?c=e.kavrayskiy7InternalsToValues(t,u,l):f(s,o)?c=e.mercatorInternalsToValues(n,u,l):t.scale.type===JMP.ScaleStatic.SCALE_GEODESIC_US&&(s>20||o>20||a(t.scale,n.scale))?c=e.compactUSInternalsToValues(t,n,u,l):c=e.albersInternalsToValues(t,n,u,l),{x:c.x,y:c.y})},e.valuesToPixel=function(t,n,r,i,s){return JMP.ScaleStatic.isGeodesic(t.scale,n.scale)?e.geodesicValuesToPixel
(t,n,r,i):{x:e.valueToPixel(t,r,s),y:e.valueToPixel(n,i,s)}},e.pixelToValues=function(t,n,r,i){return JMP.ScaleStatic.isGeodesic(t.scale,n.scale)?e.geodesicPixelToValues(t,n,r,i):{x:e.pixelToValue(t,r),y:e.pixelToValue(n,i)}},e.ensureValid=function(e,t,n){return e===null||isFinite(e)?(e>JMP.ScalingStatic.CANVAS_MAX_INT?e=JMP.ScalingStatic.CANVAS_MAX_INT:e<-JMP.ScalingStatic.CANVAS_MAX_INT&&(e=-JMP.ScalingStatic.CANVAS_MAX_INT),e):isNaN(e)?null:e>0?t+n:t},e}(),JMP.Scaling=function(e,t,n){"use strict";var r={};return r.scale=e,r.pixelOrigin=t!==undefined?t:0,r.pixelRange=n!==undefined?n:1,r.valueOrigin=0,r.pixelPerValueScale=1,r.valuePerPixelScale=1,r.getValueRange=function(){var e=JMP.ScaleStatic.convertToValue(r.scale.type,r.scale.origin+r.scale.range,r.scale.base,r.scale.power);return e-r.valueOrigin},JMP.ScalingStatic.updateScale(r,e),JMP.ScalingStatic.updateOrigin(r,e),e.addEventListener(function(e){e.type===JMP.ScaleStatic.EVENT_RANGE_CHANGED&&(JMP.ScalingStatic.updateScale(r,r.scale),JMP.ScalingStatic.updateOrigin(r,r.scale))}),r},JMP.SegmentStatic=function(){"use strict";var e={};return e.EVENT_SEGMENT_CHANGED=0,e.EVENT_DRAWING_COMPLETE=1,e.event={type:e.EVENT_SEGMENT_CHANGED},e.isVisible=function(e){var t=!0,n=e.canvas,r;for(r=n.parentNode;r&&t;r=r.parentNode)r.className&&(t=r.className.indexOf("concealed")<0);return t&&(e.offset||(e.offset=JMP.SegmentStatic.updateOffset(n)),JMP.ViewStatic.rectanglesIntersect({x:e.offset.x,y:e.offset.y,w:e.width,h:e.height},{x:window.pageXOffset,y:window.pageYOffset,w:window.innerWidth,h:window.innerHeight})||(t=!1)),t},e.updateOffset=function(e){var t={x:0,y:0},n,r,i,s,o,u;n=document.body.parentNode,r=n.offsetLeft,i=n.offsetTop,s=e;while(s)r+=s.offsetLeft||0,i+=s.offsetTop||0,s=s.offsetParent;return o=window.getComputedStyle(e),u=o.paddingLeft,r+=+u.slice(0,u.indexOf("px")),u=o.borderLeftWidth,r+=+u.slice(0,u.indexOf("px")),u=o.paddingTop,i+=+u.slice(0,u.indexOf("px")),u=o.borderTopWidth,i+=+u.slice(0,u.indexOf("px")),t.x=r,t.y=i,t},e.convertToSegmentCoordinates=function(t,n){var r;t.offset||(t.offset=e.updateOffset(t.canvas)),n.x+=window.pageXOffset-t.offset.x,n.y+=window.pageYOffset-t.offset.y,r=t.canvas;while(r&&r!==document.body)n.x+=r.scrollLeft||0,n.y+=r.scrollTop||0,r=r.parentNode;n.x-=t.x,n.y-=t.y},e.isInBounds=function(e,t){var n=!1;return n=-e.padLeft<=t.x&&t.x<=e.width+e.padRight&&-e.padTop<=t.y&&t.y<=e.height+e.padBottom,n},e}(),JMP.Segment=function(e){"use strict";var t={},n=JMP.EventDispatcher();return t.canvas=e,t.g=e.getContext("2d"),t.x=0,t.y=0,t.width=0,t.height=0,t.padTop=0,t.padBottom=0,t.padLeft=0,t.padRight=0,t.scale=[],t.offset=undefined,t.columns=undefined,t.isHorizontal=!1,t.contents=[],t.groupCalculation=undefined,t.groupIndex=undefined,t.statistic=JMP.DescriptiveStatic.STAT_NONE,t.overlayTerm=undefined,t.shapeTerm=undefined,t.hasMissingLevels=!1,t.legend=undefined,t.legendOffset=undefined,t.legendModelID=undefined,t.onRowStatesEvent=function(e){if(e)return},t.onPointerEvent=function(e){if(e)return},t.getTooltip=function(e,t){return e+t?null:null},t.draw=function(){return},t.select=function(e,t){if(e===undefined&&t===undefined)return},t.addEventListener=n.addEventListener,t.removeEventListener=n.removeEventListener,t.sendEvent=function(e){JMP.SegmentStatic.event.type=e,n.dispatchEvent(JMP.SegmentStatic.event)},t.menuProvider=function(){return undefined},t.menuHandler=function(e){if(e)return},t.isEmpty=function(){return!1},t.areAllVisibleSelected=function(){var e=t.columns?t.columns.rowStates:undefined;return e?e.nSelectedIndices===e.selected.length:!0},t},JMP.TextBoxStatic=function(){"use strict";var e={},t=4,n=2;return e.ORIENTATION_HORIZONTAL=0,e.ORIENTATION_VERTICAL_LEFT=1,e.ORIENTATION_VERTICAL_RIGHT=2,e.ORIENTATION_SLANT=3,e.ALIGNMENT_LEFT=0,e.ALIGNMENT_RIGHT=1,e.ALIGNMENT_CENTER=2,e.ALIGNMENT_TOP=0,e.ALIGNMENT_BOTTOM=1,e.ALIGNMENT_MIDDLE=2,e.draw=function(t,n,r,i,s,o){e.drawWrappedText(t,n,r,JMP.LARGE_FONT_SIZE,i,s,e.ALIGNMENT_CENTER,e.ALIGNMENT_MIDDLE,o)},e.drawWrappedText=function(r,i,s,o,u,a,f,l,c){var h,p,d,v,m=i.x+i.w/2,g=i.y+i.h/2,y,b,w,E=u===undefined||u===e.ORIENTATION_HORIZONTAL,S=l,x=u===e.ORIENTATION_VERTICAL_LEFT?-JMP.HALF_PI:u===e.ORIENTATION_VERTICAL_RIGHT?JMP.HALF_PI:-JMP.HALF_PI/2,T,N,C=!1,k=3,L={width:r.canvas.clientWidth,height:r.canvas.clientHeight};r.save(),r.beginPath(),r.fillStyle=a!==undefined?a:JMP.COLOR_BLACK,r.alignText="start",r.font=JMP.ViewStatic.mapFontSize(o)+"px "+JMP.FONT,r.rect(i.x,i.y,i.w,i.h),r.clip(),w=E?i.w:u===e.ORIENTATION_SLANT?i.w*Math.SQRT2:i.h;if(s!==undefined&&s!==null){c&&(s=JMP.ViewStatic.addBullet(s)),d=s.split("|"),d=JMP.ViewStatic.wrap(r,w,d),p=d.length,T=E?i.h:i.w,N=T/o>>0,N=N>0?N:1;if(p>N){d.splice(N,p-N),p=d.length,C=d[N-1].length>k;while(C&&r.measureText(d[N-1]+String.fromCharCode(8230)).width>w)d[N-1]=d[N-1].substr(0,d[N-1].length-1);C&&(d[N-1]=d[N-1]+String.fromCharCode(8230))}r.textBaseline=S===e.ALIGNMENT_MIDDLE?"middle":"alphabetic",S===e.ALIGNMENT_TOP?b=E?i.y-g+n+o:n:S===e.ALIGNMENT_MIDDLE?b=o*(1-p)/2:b=(E?i.y+i.h-g:i.x+i.w-m)-n-o*(p-1),E&&(L.width=0);for(h=0;h<p;h++)v=r.measureText(d[h]).width,f===e.ALIGNMENT_LEFT?y=i.x-m+t:f===e.ALIGNMENT_CENTER?y=-v/2:y=i.x+i.w-m-t-v,E?(r.fillText(d[h],m+y,g+b),v+2*t>L.width&&(L.width=v+2*t)):(r.translate(m,g),r.rotate(x),r.fillText(d[h],y,b),r.rotate(-x),r.translate(-m,-g)),b+=o;E&&(L.height=p*o+2*n)}return r.restore(),L},e.drawBox=function(e,t,n,r,i,s,o){var u=t.x>>0,a=t.y>>0,f=t.w>>0,l=t.h>>0,c=n!==undefined,h=i!==undefined,p;if(h){o!==undefined&&e.lineWidth!==o&&(e.lineWidth=o);if(e.lineWidth&1||e.lineWidth===0)u+=.5,a-=.5}if(c||h)e.beginPath(),e.rect(u,a,f,l),c&&(r!==1&&(p=e.globalAlpha,e.globalAlpha=r),e.fillStyle=n,e.fill(),r!==1&&(e.globalAlpha=p)),h&&(s!==1&&(p=e.globalAlpha,e.globalAlpha=s),e.strokeStyle=i,e.stroke(),s!==1&&(e.globalAlpha=p))},e.drawBoxedText=function(r,i,s,o,u,a,f,l,c){var h=r.measureText(a).width+t*2,p=JMP.LARGE_FONT_SIZE+n*2,d=i-h*.5,v=s-p*.5;o!==0&&u!==0?(d=i-o*.5,v=s-u*.5,e.drawWrappedText(r,{x:d,y:v,w:o,h:u},a,JMP.LARGE_FONT_SIZE,e.ORIENTATION_HORIZONTAL,JMP.COLOR_BLACK,e.ALIGNMENT_CENTER,e.ALIGNMENT_TOP,!1)):(e.drawBox(r,{x:d,y:v,w:h,h:p},l,1,c,1),r.textBaseline="middle",r.textAlign="center",r.fillStyle=JMP.COLOR_BLACK,f&&(r.fillStyle=f),r.fillText(a,i,s))},e.drawOffsetText=function(e,t,n,r,i,s,o,u,a){var f,l,c,h,p,d=1,v=2,m=!0,g,y,b=t,w=n,E={},S;e.font=o+"px "+JMP.FONT,e.textBaseline="alphabetic",e.textAlign="start",c=e.measureText(s).width,f=t+r-d,l=n+i+v,a&&(f-=c/2,l+=o/2-v),h=f+c+2*d,p=l-o-2*v,b>h?g=h:b<f?g=f:(b=(b>>0)+.5,g=b),w<p?y=p:w>l?y=l:(w=(w>>0)+.5,y=w),S=(b-g)*(b-g)+(w-y)*(w-y),u&&(S>u*u?(E=JMP.ViewStatic.pointAtDistanceAlongLine(u,{x:b,y:w},{x:g,y:y}),b=E.x,w=E.y,S=(b-g)*(b-g)+(w-y)*(w-y)):m=!1),m&&S>100&&(e.lineWidth=1,e.beginPath(),e.moveTo(b,w),e.lineTo(g,y),e.stroke(),e.closePath()),e.fillText(s,f+d,l-v)},e}(),JMP.TextBox=function(e){"use strict";var t=JMP.Segment(e);return t.text="",t.orientation=JMP.TextBoxStatic.ORIENTATION_HORIZONTAL,t.color=JMP.COLOR_BLACK,t.isBulleted=!1,t.isHidden=!1,t.isEditable=!1,t.draw=function(){t.isHidden||JMP.TextBoxStatic.draw(t.g,{x:t.x,y:t.y,w:t.width,h:t.height},t.text,t.orientation,t.color,t.isBulleted)},t},JMP.TextSegmentStatic=function(){"use strict";var e={};return e.getCache=function(e,t){var n,r,i,s;!e.isPercent&&e.scale&&(i=e.scale[JMP.ColumnsStatic.ROLE_X],i&&(n=e.isHorizontal?JMP.Scaling(i,(e.y+e.height-1>>0)+.5,1-e.height):JMP.Scaling(i,(e.x>>0)+.5,e.width-1)),s=e.scale[JMP.ColumnsStatic.ROLE_Y],s&&(r=e.isHorizontal?JMP.Scaling(s,(e.x>>0)+.5,e.width-1):JMP.Scaling(s,(e.y+e.height-1>>0)+.5,1-e.height))),t.xScaling=n,t.yScaling=r},e.draw=function(e,t){var n=e.g,r=e.xValue,i=e.yValue,s=e.isPercent,o=e.text,u=e.fontSize,a=e.textAlign,f=e.textBaseline,l=e.color,c=e.fillColor,h=e.fillAlpha,p=e.lineColor,d=e.lineAlpha,v=e.isFilled,m=e.isFramed,g=t?t.xScaling:undefined,y=t?t.yScaling:undefined,b=g?JMP.ScalingStatic.valueToPixel(g,r):0,w=y?JMP.ScalingStatic.valueToPixel(y,i):1,E=l!==undefined?l:JMP.COLOR_BLACK,S=c!==undefined?c:JMP.COLOR_WHITE,x=p!==undefined?p:JMP.COLOR_BLACK,T,N,C,k=5,L=4,A=2,O,M,_,D,P,H=JMP.ViewStatic.mapFontSize(u),B=e.x+k,j=e.x+e.width-k,F=e.y+k+1,I=e.y+e.height-k;JMP.ViewStatic.reset(n),n.font=H+"px "+JMP.FONT,O=n.measureText("M").width,M=H-O;if(!a||s)a="start";if(!f||s)f="alphabetic";n.textAlign=a,n.textBaseline=f,D=o.length;for(_=0;_<D;_++)P=o[_],T=n.measureText(P).width,N=T+2*L,C=H+2*A,s&&(b=Math.max(B,Math.min(j-N,B+r*(j-B-N)))+L,w=Math.max(F+C,Math.min(I,F+i*(I-F-D*C))+(_+1)*C)-A-M),(v||m)&&JMP.TextBoxStatic.drawBox(n,{x:b-L,y:w-A-O,w:N,h:C},v?S:undefined,h,m?x:undefined,d,1),n.fillStyle=E,n.fillText(P,b,w)},e}(),JMP.TextSegment=function(e){"use strict";var t=JMP.Segment(e),n,r=function(){return n||(n={},JMP.TextSegmentStatic.getCache(t,n)),n};return t.xValue=0,t.yValue=0,t.isPercent=!1,t.text=[],t.fontSize=JMP.SMALL_FONT_SIZE,t.textAlign=undefined,t.textBaseline=undefined,t.color=JMP.COLOR_BLACK,t.fillColor=JMP.COLOR_WHITE,t.fillAlpha=1,t.lineColor=JMP.COLOR_BLACK,t.lineAlpha=1,t.isFilled=!1,t.isFramed=!1,t.draw=function(){JMP.TextSegmentStatic.draw(t,r())},t},JMP.AnnotationStatic=function(){"use strict";var e={};return e.measure=function(t){return e.draw(t)},e.draw=function(e){var t=e.g,n=e.text,r=e.fontSize,i=e.isFilled,s=e.isFramed,o=e.isTip,u=e.triangleSize,a=e.xValue,f=e.yValue,l=e.xTarget,c=e.yTarget,h=e.width,p=e.height,d=e.color!==undefined?e.color:JMP.COLOR_BLACK,v=e.fillColor!==undefined?e.fillColor:JMP.COLOR_WHITE,m,g,y,b,w,E,S,x=JMP.ViewStatic.mapFontSize(r),T=2,N="#ebeeef",C="#939ba1",k={width:e.canvas.width,height:e.canvas.height};return n&&(m={x:0,y:1,w:e.canvas.width-1,h:e.canvas.height-1},e.canvasNode?(t=e.canvasNode.getContext("2d"),JMP.ViewStatic.reset(t),m.w=e.canvasNode.width-1,m.h=e.canvasNode.height-1,u?(g=m.x,b=g+u,y=(m.y>>0)+.5,w=(y+m.h-1>>0)+.5,S=(y+w)/2,t.beginPath(),t.moveTo(g,S),t.lineTo(b,S-u),t.lineTo(b,S+u),t.closePath(),t.globalAlpha=.7,t.strokeStyle=C,t.fillStyle=N,t.stroke(),t.fill(),t.globalAlpha=1):l!==undefined&&(t.beginPath(),g=m.x,b=g+m.w,y=m.y,w=y+m.h,E=a+h/2,S=f+p/2,(c-S)*(l-E)>0?(t.moveTo(b,w),t.lineTo(g,y)):(t.moveTo(g,w),t.lineTo(b,y)),t.strokeStyle=C,t.stroke()),e.x>0&&(e.htmlNode.className=e.htmlNode.className.replace("concealed","revealed"),e.htmlNode.style.left=e.x+a+"px",e.htmlNode.style.top=e.y+f+"px")):o||(JMP.ViewStatic.reset(t),(i||s)&&JMP.TextBoxStatic.drawBox(t,m,i?v:undefined,1,s?d:undefined,1),t.font=x+"px "+JMP.FONT,m.x+=T,m.w-=2*T,k=JMP.TextBoxStatic.drawWrappedText(t,m,n,x,JMP.TextBoxStatic.ORIENTATION_HORIZONTAL,d,JMP.TextBoxStatic.ALIGNMENT_LEFT,JMP.TextBoxStatic.ALIGNMENT_MIDDLE))),k},e}(),JMP.Annotation=function(e){"use strict";var t=JMP.Segment(e);return t.xValue=0,t.yValue=0,t.text=undefined,t.fontSize=JMP.SMALL_FONT_SIZE,t.color=JMP.COLOR_BLACK,t.fillColor=JMP.COLOR_WHITE,t.isFilled=!1,t.isFramed=!1,t.isTip=!1,t.triangleSize=undefined,t.xTarget=undefined,t.yTarget=undefined,t.customText=undefined,t.image=undefined,t.htmlNode=undefined,t.canvasNode=undefined,t.draw=function(){JMP.AnnotationStatic.draw(t)},t.measure=function(){return JMP.AnnotationStatic.measure(t)},t.onPointerEvent=function(e){return JMP.AnnotationStatic.onPointerEvent(t,e)},t},JMP.AxisBoxStatic=function(){"use strict";var e={},t=100,n=4,r=function(e,t,n,r,i,s){var o,u,a,f,l,c,h,p,d=r!==undefined?r:0;if(i){l=0,a=i.length;for(u=0;u<a;u++)l+=i[u];c=JMP.ScalingStatic.valueToPixel(e,d),h=JMP.ScalingStatic.valueToPixel(e,d+l)-c,h<0&&(c+=h,h=-h),p=e.scale.range>0?-1:1,f=0,a=s.length;for(u=0;u<a;u++)n?o=f/l:o=(f+(i[u]+p)/2)/l,t?s[u].x=c+h*o:s[u].y=c+h*(1-o),f+=i[u]}},i=function(e,t,n,r,i,s){var o,u,a,f,l,c,h,p,d=5,v=10,m=e.x+.5,g=e.x+e.w-.5,y=e.y+.5,b=e.y+e.h-.5;u=s.length;for(o=u-1;o>=0;o--)s[o].isMajor||s.splice(o,1);if(i)for(o=0;o<3;o++)s.unshift({value:s[0].value-t.scale.widthMajor,isMajor:!0}),s.push({value:s[s.length-1].value+t.scale.widthMajor,isMajor:!0});u=s.length;if(r)for(o=0;o<u;o++)s[o].value<-180?s[o].value+=360:180<s[o].value&&(s[o].value-=360);else for(o=u-1;o>=0;o--)(s[o].value<-90||90<s[o].value)&&s.splice(o,1);u=s.length;if(r)for(o=u-1;o>=0;o--){a=s[o].value,f=s[o].value,Math.abs(n.getValueRange())>10?(l=90,c=-90):(l=JMP.ScalingStatic.geodesicPixelToValues(t,n,m,b).y,c=JMP.ScalingStatic.geodesicPixelToValues(t,n,g,b).y),h=JMP.ScalingStatic.geodesicValuesToPixel(t,n,a,l),p=JMP.ScalingStatic.geodesicValuesToPixel(t,n,f,c);if(h.y<b+v&&b<p.y+v||p.y<b+v&&b<h.y+v){while(Math.abs(p.x-h.x)>2||Math.abs(p.y-h.y)>20)Math.abs(p.y-b)<Math.abs(h.y-b)?l=((d-1)*l+c)/d:c=((d-1)*c+l)/d,h=JMP.ScalingStatic.geodesicValuesToPixel(t,n,a,l),p=JMP.ScalingStatic.geodesicValuesToPixel(t,n,f,c);s[o].x=(h.x+p.x)/2,s[o].y=y}else s.splice(o,1)}else for(o=u-1;o>=0;o--){l=s[o].value,c=s[o].value,a=JMP.ScalingStatic.geodesicPixelToValues(n,t,g,y).x,f=JMP.ScalingStatic.geodesicPixelToValues(n,t,g,b).x,h=JMP.ScalingStatic.geodesicValuesToPixel(n,t,a,l),p=JMP.ScalingStatic.geodesicValuesToPixel(n,t,f,c);if(Math.abs(p.x-h.x)<v||h.x<g+v&&g<p.x+v||p.x<g+v&&g<h.x+v){while(Math.abs(p.y-h.y)>2||Math.abs(p.x-h.x)>20)Math.abs(p.x-g)<Math.abs(h.x-g)?a=((d-1)*a+f)/d:f=((d-1)*f+a)/d,h=JMP.ScalingStatic.geodesicValuesToPixel(n,t,a,l),p=JMP.ScalingStatic.geodesicValuesToPixel(n,t,f,c);s[o].x=g,s[o].y=(h.y+p.y)/2}else s.splice(o,1)}return s},s=function(e,t,n,r,i,s,o,u,a,f,l,c,h,p,d,v,m,g,y,b,w,E,S,x){var T,N,C,k,L,A,O,M,_,D,P,H,B=w?o.scale.refFormat:o.scale.format,j,F,I=g===undefined||g===JMP.TextBoxStatic.ORIENTATION_HORIZONTAL,q=g===JMP.TextBoxStatic.ORIENTATION_SLANT,R;C=c,k=h,n?C=E%2===1?(c>>0)+.5:c+.5>>0:k=E%2===1?(h>>0)+.5:h+.5>>0,!y&&JMP.ViewStatic.pointInRect({x:c,y:h},t,-S)&&(e.lineWidth=E,e.moveTo(C,k),n?e.lineTo(C,k+f):e.lineTo(C-f,k)),O=[],m?O=m:m===undefined&&(o.scale.type===JMP.ScaleStatic.SCALE_NORMAL&&B&&B.formatName===JMP.FormatStatic.FORMAT_FIXED&&B.nDecimals<2&&(B.nDecimals=2),O=[JMP.FormatStatic.formatNumber(v,B)],O[0].charAt(0)==="#"&&B&&B.fieldWidth>5&&(B.formatName===JMP.FormatStatic.FORMAT_BEST||B.formatName===JMP.FormatStatic.FORMAT_SCIENTIFIC)&&(O=[JMP.FormatStatic.formatNumber(JMP.FormatStatic.roundUp(v[0],B.fieldWidth-5),B)])),j=O.length,M=0;for(T=0;T<j;T++)M<e.measureText(O[T]).width&&(M=e.measureText(O[T]).width);L=p===undefined?C:(C+p)/2,A=d===undefined?k:(k+d)/2,I?(n?(C=L-M/2,k=r?t.y+t.h-f-u-2:t.y+f-1):(C=r?t.x+f+1:t.x+t.w-f-M-1,k=A-u/2-2),k-=(j-1)*u):q?(P=M*JMP.R_SQRT2,H=u/3,n?r?(C=L-u+H,k=t.y+t.h-f-u+1):(C=L-P-H,k=t.y+f+P-2):r?(C=t.x+f,k=A-H):(C=t.x+t.w-f-P-u+1,k=A+P-u+H),C-=(j-1)*u,k-=(j-1)*u):(n?(C=L-u/2-1,k=r?t.y+t.h-f-M-1:t.y+f+1):(C=r?t.x+f:t.x+t.w-f-u,k=A-M/2),C+=g===JMP.TextBoxStatic.ORIENTATION_VERTICAL_LEFT?-1:2,C-=(j-1)*u),!n&&b&&(r?C++:C--),I?(_=M,D=j*u):q?(_=M,D=j*u):(_=j*u,D=M);if(!q&&n!==I){F=!1,j=O.length;for(T=0;T<j;T++)M=I?t.w:t.h,M<e.measureText(O[T]).width&&(M-=e.measureText("...").width+5,F=!0,N=JMP.ViewStatic.getLastCharIndex(e,O[T],0,O[T].length-1,M),O[T]=O[T].slice(0,N+1)+"...");if(F){M=0;for(T=0;T<j;T++)M<e.measureText(O[T]).width&&(M=e.measureText(O[T]).width);I?(C<t.x&&(C=t.x),_>t.w&&(_=t.w),C+=r?0:t.w-M-f,_=M):(k<t.y&&(k=t.y),D>t.h&&(D=t.h),k+=r?t.h-M-f:0,D=M)}}if(i>0||s>0)R=I||q?0:u/6,n?(l.x-a<C&&C<l.x&&(C=l.x),l.x+l.w-_<C&&C<l.x+l.w-_+a&&(C=l.x+l.w-_+R)):(l.y-a<k&&k<l.y&&(k=l.y),l.y+l.h-D<k&&k<l.y+l.h-D+a&&(k=l.y+l.h-D+R));x.push(_*D<=0?null:{label:O,x:C,y:k,w:_,h:D})},o=function(e,t,n){var r,i,s=1/n;return i=e+t>0?Math.pow(e+t,s):-Math.pow(-(e+t),s),r=e>0?Math.pow(e,s):-Math.pow(-e,s),i-=r,[r,i]},u=function(t,n,u,a,f,l,c,h,p,d,v,m,g,y,b,w,E,S,x,T,N,C){var k=d!==undefined?d:0,L=k>0,A=JMP.SMALL_FONT_SIZE,O,M,_,D,P,H,B,j,F,I,q,R,U=[],z=[],W,X,V,$,J,K,Q,G,Y,Z,et,tt,nt,rt,it,st,ot,ut,at,ft=[],lt,ct,ht,pt,dt=h.scale.origin,vt=h.scale.range,mt=h.scale.base!==undefined?h.scale.base:10,gt=h.scale.power!==undefined?h.scale.power:2,yt=vt>0?vt:-vt,bt=vt<0,wt=h.scale.type===JMP.ScaleStatic.SCALE_LINEAR,Et=h.scale.type===JMP.ScaleStatic.SCALE_POWER,St=h.scale.type===JMP.ScaleStatic.SCALE_LOG,xt=h.scale.type===JMP.ScaleStatic.SCALE_NORMAL,Tt=JMP.ScaleStatic.isGeodesic(h.scale),Nt,Ct,kt=wt?Math.abs(h.scale.widthMajor):St?1:.1,Lt=xt?null:v,At,Ot,Mt,_t,Dt=y===undefined||y===JMP.TextBoxStatic.ORIENTATION_HORIZONTAL,Pt=y===JMP.TextBoxStatic.ORIENTATION_VERTICAL_LEFT||y===JMP.TextBoxStatic.ORIENTATION_VERTICAL_RIGHT,Ht=y===JMP.TextBoxStatic.ORIENTATION_SLANT,Bt=w?Dt&&!u?2:1:3,jt=b&&!L?Bt:5,Ft=y===JMP.TextBoxStatic.ORIENTATION_VERTICAL_LEFT?-JMP.HALF_PI:y===JMP.TextBoxStatic.ORIENTATION_VERTICAL_RIGHT?JMP.HALF_PI:-JMP.HALF_PI/2,It,qt,Rt,Ut,zt,Wt=u&&Pt||!u&&Dt?0:-3,Xt,Vt={x:0,y:0,w:0,h:0},$t={x:0,y:0,w:0,h:0},Jt=.025,Kt=Math.cos(Math.PI/4),Qt=Math.sin(Math.PI/4),Gt=t.measureText("M").width,Yt=A-Gt,Zt,en,tn=function(e,t,n,r,i){var s,o=e.length,u,a,f,l,c=r?0:2,h=r?2:0,p=t.x-c,d=t.x+t.w+c,v=t.y-h,m=t.y+t.h+h,g,y;for(s=0;s<o;s++){u=e[s];if(u){g=u.x<p||u.x>d-u.w,y=u.y<v||u.y>m-u.h;if(i)u.x<p+1&&(u.x=p+1),u.x>d-1-u.w&&(u.x=d-1-u.w),u.y<v+2&&(u.y=v+2),u.y>m-2-u.h&&(u.y=m-2-u.h);else if(g||y)l=JMP.SMALL_FONT_SIZE/2,a=e[s-1],f=e[s+1],n&&g?u.x<p&&p<u.x+u.w/2&&(a&&a.x>u.x&&a.x>p+u.w+l||f&&f.x>u.x&&f.x>p+u.w+l)?u.x=p:u.x>d-u.w&&u.x+u.w/2<d&&(a&&a.x<u.x&&a.x+a.w+l<d-u.w||f&&f.x<u.x&&f.x+f.w+l<d-u.w)?u.x=d-u.w:e[s]=null:!n&&y&&(u.y<v&&v<u.y+u.h/2&&(a&&a.y>u.y&&a.y>v+u.h+l||f&&f.y>u.y&&f.y>v+u.h+l)?u.y=v:u.y>m-u.h&&u.y+u.h/2<m&&(a&&a.y<u.y&&a.y+a.h+l<m-u.h||f&&f.y<u.y&&f.y+f.h+l<m-u.h)?u.y=m-u.h:e[s]=null)}}};Et&&(ht=o(dt,vt,gt),dt=ht[0],vt=ht[1],yt=vt>0?vt:-vt),t.font=A+"px "+JMP.FONT,t.textBaseline="alphabetic",tt=f,tt===undefined&&(tt=JMP.COLOR_LINE),t.fillStyle=tt,t.strokeStyle=tt;if(kt<=0)return[];if(!Lt)while(yt/kt>1e3)kt*=10;a&&(t.save(),t.translate(n.x,n.y),u?(t.scale(1,-1),t.translate(0,-n.h)):(t.scale(-1,1),t.translate(-n.w,0)),t.translate(-n.x,-n.y)),t.beginPath(),u?(K=(n.y+(L?jt:0)>>0)+.5,t.moveTo(n.x,K),t.lineTo(n.x+n.w,K)):(J=(n.x-(L?jt:0)>>0)+.5,t.moveTo(J+n.w-1,n.y),t.lineTo(J+n.w-1,n.y+n.h)),at={x:n.x,y:n.y,w:n.w,h:n.h},u?(at.x=at.x-(bt?c:l)+1,at.w=at.w+l+c-2,at.x<1&&(at.x=1),T!==undefined&&at.w>T-at.x-1&&(at.w=T-at.x-1)):(at.y=at.y-(bt?l:c)-1,at.h=at.h+l+c+2,at.y<1&&(at.y=1),N!==undefined&&at.h>N-at.y-1&&(at.h=N-at.y-1)),_=t.measureText("M").width*.6,M=Math.round(dt/kt),Lt&&(M=(g!==undefined?g:0)/kt,L&&(M=Math.round(M)),bt&&(M+=Lt.length-1)),ct=1e3*JMP.MAC_EPS,R=Lt?Lt.length:yt/kt+1+ct>>0,O=dt>>0===dt+vt>>0,D=R/(u?n.w:n.h);if(St&&O)D=0;else if(!xt&&R<=4)if(R<3)D=0;else{B=(dt+vt)/kt>>0,ct=.1*kt;if(dt-M*kt<ct||dt+vt-B*kt<ct)D=0}Lt||(R+=2),ft=e.getTickValuesAndPositions(n,h,p,u,x,k,L,g,m),q=ft.length,ct=1e3*JMP.MAC_EPS*(n.w+n.h),B=0;for(P=0;P<q;P++){lt=ft[P].value,Q=ft[P].x,G=ft[P].y,nt=ft[P].isMajor;if(x||L||JMP.ViewStatic.pointInRect({x:Q,y:G},n,-ct))nt||!Lt&&St&&D<Jt&&!x?(Xt=Lt?[Lt[bt?R-1-B:B]]:undefined,!Xt&&Tt&&x&&(Zt=h.scale.format,JMP.FormatStatic.isGeographic(Zt)||(Zt=JMP.Format(u?JMP.FormatStatic.FORMAT_LONGITUDE_DMM:JMP.FormatStatic.FORMAT_LATITUDE_DMM,undefined,0,undefined,"PUNDIR")),en=p.scale.format,JMP.FormatStatic.isGeographic(en)||(en=JMP.Format(u?JMP.FormatStatic.FORMAT_LATITUDE_DMM:JMP.FormatStatic.FORMAT_LONGITUDE_DMM,undefined,0,undefined,"PUNDIR")),Xt=[JMP.FormatStatic.formatNumber(u?lt.x:lt.y,Zt),JMP.FormatStatic.formatNumber(u?lt.y:lt.x,en)]),s(t,n,u,a,l,c,h,A,_,nt||St&&O?jt:Bt,at,Q,G,undefined,undefined,lt,Xt,y,L?!0:b,L,x,1,ct,U),nt&&(V=U.length-1)):w||(t.moveTo(Q,G),t.lineTo(u?Q:Q-Bt,u?G+Bt:G));nt&&(B++,v&&x&&(B+=v.length-2))}if(L){ft=[];for(P=0;P<q+1;P++)B=M+(bt?-P:P),lt=St?Math.pow(mt,B):B*kt,Q=u?JMP.ScalingStatic.valueToPixel(h,lt-.5):n.x+n.w,G=u?n.y:JMP.ScalingStatic.valueToPixel(h,lt-.5),ft[P]={},ft[P].x=Q,ft[P].y=G;r(h,u,!0,g,m,ft);for(P=0;P<q+1;P++)Q=ft[P].x,G=ft[P].y,u?Q=(Q>>0)+.5:G=(G>>0)+.5,JMP.ViewStatic.pointInRect({x:Q,y:G},n,-ct)&&(t.moveTo(Q,G),t.lineTo(u?Q:Q-jt,u?G+jt:G)),U[P]&&P<q&&(u?(U[P].x=(ft[P].x+ft[P+1].x-U[P].w)/2,Dt||(U[P].y+=Yt)):(U[P].y=(ft[P].y+ft[P+1].y-U[P].h)/2,Dt&&(U[P].y-=Yt)))}t.stroke(),t.closePath(),It=h.scale.refValues,qt=h.scale.refMaxValues,Rt=h.scale.refLabels,Ut=h.scale.refColors,zt=h.scale.refWidths;if(It&&!S){I=It.length;for(P=0;P<I;P++)lt=It[P],isNaN(lt)||(Y=undefined,Z=undefined,Ct=qt&&qt[P]!==undefined,p?(pt=i(n,h,p,u,!1,[{value:lt,isMajor:!0}]),Q=pt.length?pt[0].x:Infinity,G=pt.length?pt[0].y:Infinity):(Q=u?JMP.ScalingStatic.valueToPixel(h,lt):n.x+n.w,G=u?n.y:JMP.ScalingStatic.valueToPixel(h,lt),Ct&&(Y=u?JMP.ScalingStatic.valueToPixel(h,qt[P]):n.x+n.w,Z=u?n.y:JMP.ScalingStatic.valueToPixel(h,qt[P]))),Nt=JMP.ViewStatic.pointInRect({x:Q,y:G},n,-ct),Nt&&(t.beginPath(),Ut&&Ut[P]&&(t.strokeStyle=Ut[P])),s(t,n,u,a,l,c,h,A,Nt?Infinity:_,jt,at,Q,G,Y,Z,lt,Rt?[Rt[P]]:undefined,y,Ct,L,x,zt&&zt[P]?zt[P]:1,ct,z),Nt&&(t.stroke(),t.closePath()))}a&&t.restore(),!Ht&&!L&&(It&&!S&&tn(z,at,u,Dt,x),tn(U,at,u,Dt,x));if(E){q=U.length;for(P=0;P<q;P++)U[P]=null}if(It&&!S){I=It.length,q=U.length;for(P=0;P<I;P++){W=z[P];if(W&&W.label!==""){for(B=P+1;B<I;B++)X=z[B],X&&JMP.ViewStatic.rectanglesIntersect(W,X,Wt)&&(z[B]=null);for(B=0;B<q;B++)X=U[B],X&&JMP.ViewStatic.rectanglesIntersect(W,X,Wt)&&(U[B]=null)}}}q=U.length;if(!m&&(wt||St&&O)){B=1;do{et=!1;for(P=0;P+B<q&&!et;P+=B)W=U[P],X=U[P+B],W&&X&&(Ht?(Vt.x=W.x*Kt-W.y*Qt,Vt.y=W.x*Qt+W.y*Kt,Vt.w=W.w,Vt.h=W.h,$t.x=X.x*Kt-X.y*Qt,$t.y=X.x*Qt+X.y*Kt,$t.w=X.w,$t.h=X.h,et=JMP.ViewStatic.rectanglesIntersect(Vt,$t,Wt)):et=JMP.ViewStatic.rectanglesIntersect(W,X,Wt));B*=2;if(et)for(P=0;P<q;P++)P%B>0&&(U[P]=null)}while(B<q&&et)}else if(!m&&!Ht&&St&&D<Jt){$=(V>0?V%9:0)-9,At=[[0,9],bt?[0,5,9]:[0,4,9],bt?[0,5,8,9]:[0,1,4,9],bt?[0,4,6,8,9]:[0,1,3,5,9],bt?[0,2,4,6,8,9]:[0,1,3,5,7,9],[0,1,2,3,4,5,6,7,8,9]],et=!1;for(Ot=0;Ot<At.length&&!et;Ot++){Mt=At[Ot],_t=Mt.length;for(P=$;P<q&&!et;P+=9)for(H=0;H<_t-1&&!et;H++)j=P+Mt[H],F=P+Mt[H+1],0<=j&&F<q&&(W=U[j],X=U[F],W&&X&&(et=JMP.ViewStatic.rectanglesIntersect(W,X,Wt)))}if(et){Mt=At[Ot>=2?Ot-2:0],_t=Mt.length;for(P=$;P<q;P+=9){B=0;for(H=0;H<9;H++)B<_t&&H>=Mt[B]?B++:0<=P+H&&P+H<q&&(U[P+H]=null)}}}else{q=U.length;for(P=0;P<q;P++){W=U[P];if(W)for(B=0;B<q;B++)X=U[B],X&&B!==P&&JMP.ViewStatic.rectanglesIntersect(W,X,Wt)&&(U[B]=null)}}for(P=q-1;P>=0;P--)U[P]||U.splice(P,1);Dt||t.save(),it=C.x,st=C.x+C.w,ot=C.y,ut=C.y+C.h,q=U.length;for(P=0;P<q;P++)W=U[P],W&&(it>W.x&&(it=W.x),st<W.x+W.w&&(st=W.x+W.w),ot>W.y&&(ot=W.y),ut<W.y+W.h&&(ut=W.y+W.h));I=z.length,U=U.concat(z),q+=I,Ut=h.scale.refColors,t.fillStyle=JMP.COLOR_BLACK,t.strokeStyle=JMP.COLOR_BLACK;for(P=0;P<q;P++){W=U[P];if(W){Ut&&P>=q-I&&(t.fillStyle=Ut[P-q+I],t.strokeStyle=Ut[P-q+I]),rt=W.label.length,M=0;if(Dt){rt>1&&(M=a?jt-2:2);for(H=0;H<rt;H++)W.label[H]!==null&&t.fillText(W.label[H],W.x,W.y+(H+1)*A+M)}else if(Ht){J=W.x,K=W.y,t.translate(J,K),t.rotate(Ft);for(H=0;H<rt;H++)W.label[H]!==null&&t.fillText(W.label[H],0,(H+1)*A);t.rotate(-Ft),t.translate(-J,-K)}else{J=W.x+W.w/2,K=W.y+W.h/2,t.translate(J,K),t.rotate(Ft),rt>1&&(M=(a?-jt:0)-A);for(H=0;H<rt;H++)W.label[H]!==null&&t.fillText(W.label[H],-W.h/2,W.w/2+H*A+M);t.rotate(-Ft),t.translate(-J,-K)}P>=q-I&&(it>W.x&&(it=W.x),st<W.x+W.w&&(st=W.x+W.w),ot>W.y&&(ot=W.y),ut<W.y+W.h&&(ut=W.y+W.h))}}return Dt||t.restore(),it>>=0,st=st+1-JMP.EPSILON>>0,ot>>=0,ut=ut+1-JMP.EPSILON>>0,C.x=it,C.y=ot,C.w=st-it,C.h=ut-ot,U},a=function(e,t,r,i,s,o,u,a,f){var l=JMP.LARGE_FONT_SIZE,c,h,p,d,v,m,g,y,b,w,E,S,x,T,N,C,k,L,A=e.measureText("M").width,O=l-A,M,_,D,P,H,B=[],j=[],F;e.font=l+"px "+JMP.FONT;if(!s)return;g=s.length,c=undefined;for(d=0;d<g&&c===undefined;d++)s[d]&&(c=s[d].orientation);c===undefined&&(c=JMP.TextBoxStatic.ORIENTATION_HORIZONTAL),h=c!==JMP.TextBoxStatic.ORIENTATION_HORIZONTAL,o&&(r?(i&&(f.y-=o),f.h+=o):(i||(f.x-=o),f.w+=o)),r?(T=t.x+t.w/2,N=i?(f.y+t.y)/2:(f.y+f.h+t.y+t.h)/2):(T=i?(f.x+f.w+t.x+t.w)/2:(f.x+t.x)/2,N=t.y+t.h/2),w=0,j=[];for(d=0;d<g;d++)F=s[d],H=F.isHidden?"":F.isBulleted?JMP.ViewStatic.addBullet(F.text):F.text,j.push(H),w<e.measureText(H).width&&(w=e.measureText(H).width);r?E=t.w-n:h&&!a?E=t.h-n:E=t.w-f.w-2*n,E<w&&w<=E+2*n&&(E+=2*n),y=0;for(d=0;d<g;d++)B[d]=JMP.ViewStatic.wrap(e,E,[j[d]]),y+=B[d].length;if(h&&a){w=0;for(d=0;d<g;d++){m=B[d].length;for(v=0;v<m;v++)H=B[d][v],w<e.measureText(H).width&&(w=e.measureText(H).width)}w<=(r?t.w:t.w-f.w)&&(h=!1,c=JMP.TextBoxStatic.ORIENTATION_HORIZONTAL)}p=(y+1)*l/2,r&&c===JMP.TextBoxStatic.ORIENTATION_HORIZONTAL?i?N<t.y+p&&(N=t.y+p):N>t.y+t.h-p&&(N=t.y+t.h-p):!r&&c!==JMP.TextBoxStatic.ORIENTATION_HORIZONTAL&&(p-=A,i?T>t.x+t.w-p&&(T=t.x+t.w-p):T<t.x+p&&(T=t.x+p)),h?(e.save(),e.translate(T,N),e.rotate(c===JMP.TextBoxStatic.ORIENTATION_VERTICAL_LEFT?-JMP.HALF_PI:JMP.HALF_PI),S=0,x=0):(S=T,x=N),M=Infinity,D=Infinity,_=-Infinity,P=-Infinity,m=u.length,b=0;for(d=0;d<g;d++){m=B[d].length;for(v=0;v<m;v++)H=B[d][v],e.fillStyle=s[d].color!==undefined?s[d].color:JMP.COLOR_BLACK,e.strokeStyle=e.fillStyle,C=e.measureText(H).width/2,k=(b+1-y/2)*l-A,L=y*l-O,h?(M>T+k&&(M=T+k),D>N-C&&(D=N-C),_<T+L&&(_=T+L),P<N+C&&(P=N+C)):(M>T-C&&(M=T-C),D>N+k&&(D=N+k),_<T+C&&(_=T+C),P<N+L&&(P=N+L)),e.fillText(H,S-C,x+k+A),b++}h&&e.restore(),M>>=0,_=_+1-JMP.EPSILON>>0,D>>=0,P=P+1-JMP.EPSILON>>0,f.x>M&&(f.x=M),f.w<_-f.x&&(f.w=_-f.x),f.y>D&&(f.y=D),f.h<P-f.y&&(f.h=P-f.y)},f=function(t,n,r,i){var s,o,u,a,f,l=0;a=JMP.SMALL_FONT_SIZE,t.font=a+"px "+JMP.FONT;if(i){if(n){n.tickLabels?o=n.tickLabels[0].length:(f=e.getTickValues(n,r),o=f.length);for(s=0;s<o;s++)n.tickLabels?u=n.tickLabels[0][s]:u=JMP.FormatStatic.formatNumber(f[s].value,r?n.refFormat:n.format),l<t.measureText(u).width&&(l=t.measureText(u).width);o=0,n.refValues&&(o=n.refValues.length);for(s=0;s<o;s++)u=n.refLabels[s],l<t.measureText(u).width&&(l=t.measureText(u).width)}}else l+=a;return l},l=function(e,t,r,i){var s=0,o=JMP.LARGE_FONT_SIZE,u,a,f,l,c=r.length,h,p=[],d=[],v=0;for(u=0;u<c;u++)h=r[u],p.push(!h||h.isHidden?"":h.isBulleted?JMP.ViewStatic.addBullet(h.text):h.text);for(u=0;u<c;u++)d[u]=JMP.ViewStatic.wrap(e,t-2*n,[p[u]]),v+=d[u].length;if(i){e.font=o+"px "+JMP.FONT;for(u=0;u<c;u++){f=d[u].length;for(a=0;a<f;a++)l=d[u][a],s<e.measureText(l).width&&(s=e.measureText(l).width)}}else s+=o*v;return s};return e.getCache=function(e,t){var n,r,i;e.scale&&(i=e.scale[e.isHorizontal?JMP.ColumnsStatic.ROLE_X:JMP.ColumnsStatic.ROLE_Y],i&&(n=e.isHorizontal?JMP.Scaling(i,(e.x>>0)+.5,e.width-1):JMP.Scaling(i,(e.y+e.height-1>>0)+.5,1-e.height)),i=e.scale[e.isHorizontal?JMP.ColumnsStatic.ROLE_Y:JMP.ColumnsStatic.ROLE_X],i&&(r=e.isHorizontal?JMP.Scaling(i,(e.y+e.height-1>>0)+.5,1-e.height):JMP.Scaling(i,(e.x>>0)+.5,e.width-1))),t.scaling=n,t.otherScaling=r,t.drawingBounds={x:0,y:0,w:-1,h:-1}},e.getTickValues=function(e,t,n,r){var i=n!==undefined?n:0,s=e.origin,u=e.range,a=e.base!==undefined?e.base:10,f=e.power!==undefined?e.power:2,l=u>0?u:-u,c=u<0,h=e.type===JMP.ScaleStatic.SCALE_LINEAR,p=e.type===JMP.ScaleStatic.SCALE_LOG,d=e.type===JMP.ScaleStatic.SCALE_NORMAL,v=e.type===JMP.ScaleStatic.SCALE_POWER,m=JMP.ScaleStatic.isGeodesic(e),g=h||v||m?Math.abs(e.widthMajor):p?1:.1,y=h||v||m?e.nMinor:p&&a===10?8:0,b,w,E=e.tickLabels,S=e.tickOrigins,x=[],T=[],N=[],C,k,L,A,O,M,_,D,P,H,B,j,F,I,q,R=!1,U=86400;JMP.FormatStatic.isDateTime(e.format)&&(y=0,30*U<g&&g<31*U&&(R=!0)),v&&(H=o(s,u,f),s=H[0],u=H[1],l=u>0?u:-u);if(d){Math.abs(e.origin+2)<.08&&Math.abs(e.range-4)<.16||Math.abs(e.origin-2)<.08&&Math.abs(e.range+4)<.16?x=[.03,.06,.09,.14,.2,.35,.5,.65,.8,.86,.91,.94,.97]:x=[1e-8,2e-8,3e-8,5e-8,1e-7,2e-7,3e-7,5e-7,1e-6,2e-6,3e-6,5e-6,1e-5,12e-6,14e-6,16e-6,18e-6,2e-5,25e-6,3e-5,35e-6,4e-5,45e-6,5e-5,6e-5,7e-5,8e-5,9e-5,1e-4,2e-4,3e-4,4e-4,5e-4,6e-4,7e-4,8e-4,9e-4,.001,.0015,.002,.003,.004,.005,.0075,.01,.015,.02,.03,.04,.05,.06,.07,.08,.09,.1,.12,.14,.16,.18,.2,.25,.3,.35,.4,.45,.5,.55,.6,.65,.7,.75,.8,.82,.84,.86,.88,.9,.91,.92,.93,.94,.95,.96,.97,.98,.985,.99,.9925,.995,.996,.997,.998,.9985,.999,.9991,.9992,.9993,.9994,.9995,.9996,.9997,.9998,.9999,.99991,.99992,.99993,.99994,.99995,.999955,.99996,.999965,.99997,.999975,.99998,.999982,.999984,.999986,.999988,.99999,.999995,.999997,.999998,.999999,.9999995,.9999997,.9999998,.9999999,.99999995,.99999997,.99999998,.99999999],t&&(x=[0,1]),L=x.length;for(C=0;C<L;C++)T.push(!0)}else if(g>0){if(!E)while(l/g>1e3)g*=10;g<1&&(b=1/g,w=b%1,w=Math.min(w,1-w),w<b*1e3*JMP.MAC_EPS&&(b=Math.round(b))),A=Math.round(s/g),E&&E[i]&&(A=(S!==undefined?S[i]:0)/g,i>0&&(A+=.5),c&&(A+=E[i].length-1)),E&&E[i]?L=E[i].length:r?L=r.length:(O=1e3*JMP.MAC_EPS,L=l/g+1+O>>0,L+=2),M=s>>0===s+u>>0;for(C=0;C<L;C++){k=A+(c?-C:C-1);for(_=1;_<=y;_++){D=c?y+1-_:_,p?(I=k+Math.log(D+1)*Math.LOG10E,j=Math.pow(a,I),I=j>1?0:Math.floor(Math.abs(I)+1),j=JMP.FormatStatic.roundUp(j,I)):j=(k+D/(y+1))*g;if(p&&M){F=Math.pow(a,Math.floor(Math.log(j)*Math.LOG10E));for(P=9;P>0;P--)x.push(JMP.FormatStatic.roundUp(j-F*P/10,I+1)),T.push(!1)}x.push(j),T.push(!1)}if(p&&M){j+=F;for(P=9;P>0;P--)x.push(JMP.FormatStatic.roundUp(j-F*P/10,I+1)),T.push(!1)}k=A+(c?-C:C),B=p?Math.pow(a,k):g>=1?k*g:k/b;if(R){q=JMP.FormatStatic.valueToDateTime(B),1<q.day&&q.day<5&&(B-=(q.day-1)*U,q=JMP.FormatStatic.valueToDateTime(B));while(27<=q.day&&q.day<=31)B+=U,q=JMP.FormatStatic.valueToDateTime(B)}x.push(B),T.push(!0)}if(t)if(h)x=[s,s+u],T=[!0,!0];else{L=x.length;for(C=0;C<L;C++)T[C]=!1;B=u<0?s:s+u,p&&(B=Math.pow(a,B));while(B<x[L-1])x.pop(),T.pop(),L--;B!==x[L-1]?(x.push(B),T.push(!0)):T[L-1]=!0,B=u<0?s+u:s,p&&(B=Math.pow(a,B));while(B>x[0])x.shift(),T.shift(),L--;B!==x[0]?(x.unshift(B),T.unshift(!0)):T[0]=!0}}L=x.length;for(C=0;C<L;C++)N[C]={value:x[C],isMajor:T[C]};return N},e.getTickValuesAndPositions=function(t,n,s,o,u,a,f,l,c){var h,p,d,v,m,g,y,b,w,E,S,x=a!==undefined?a:0,T=e.getTickValues(n.scale,u,x,c),N,C=n.scale.type===JMP.ScaleStatic.SCALE_LOG;if(s){if(!u)return i(t,n,s,o,!0,T);T=[{isMajor:!0},{isMajor:!0}],N=[n.pixelOrigin,n.pixelOrigin+n.pixelRange],o?(T[0].value=JMP.ScalingStatic.geodesicPixelToValues(n,s,N[0],s.pixelOrigin),T[1].value=JMP.ScalingStatic.geodesicPixelToValues(n,s,N[1],s.pixelOrigin)):(T[0].value=JMP.ScalingStatic.geodesicPixelToValues(s,n,s.pixelOrigin,N[0]),T[1].value=JMP.ScalingStatic.geodesicPixelToValues(s,n,s.pixelOrigin,N[1]))}d=T.length;for(h=0;h<d;h++)s?o?m=JMP.ScalingStatic.geodesicValuesToPixel(n,s,T[h].value.x,T[h].value.y).x:m=JMP.ScalingStatic.geodesicValuesToPixel(s,n,T[h].value.x,T[h].value.y).y:m=JMP.ScalingStatic.valueToPixel(n,T[h].value),o?(w=N?N[h]:(m>>0)+.5,E=t.y):(w=t.x+t.w,E=N?N[h]:(m>>0)+.5),T[h].x=w,T[h].y=E;r(n,o,f,l,c,T);if(n.scale.type===JMP.ScaleStatic.SCALE_NORMAL){v=2*JMP.SMALL_FONT_SIZE,d=T.length,h=d/2>>0;while(h<d){g=JMP.ScalingStatic.valueToPixel(n,T[h].value),b=!0;for(p=h+1;p<d&&b;p++)y=JMP.ScalingStatic.valueToPixel(n,T[p].value),b=Math.abs(y-g)<v,b&&(T[p]=null,T[d-1-p]=null);h=b?p:p-1}}else if(!n.scale.tickLabels){p=0,u&&(p++,d--);while(p<d-1){h=p;while(h<d-1&&(!T[h]||!T[h].isMajor))h++;p=h,S=!0;while(p<d-1&&(!T[p]||S))p++,S=!1,T[p]&&(!C||!T[p].isMajor)&&Math.abs(o?T[h].x-T[p].x:T[h].y-T[p].y)<3&&(T[p]=null,S=!0)}}d=T.length;for(h=d-1;h>=0;h--)T[h]||T.splice(h,1);return T},e.getNiceTickIncrement=function(e,t){var n,r,i,s;return t===undefined&&(t=20),n=Math.abs(e)/t,r=Math.log(n)/Math.LN10>>0,i=n/Math.pow(10,r),i<1.5?s=1:i<3?s=2:i<7?s=5:s=10,s*Math.pow(10,r)},e.draw=function(e,t){var n=e.g,r=e.x,i=e.y,s=e.width,o=e.height,f=e.isHorizontal,l=e.isFlipped,c=e.lineColor,h=e.contents,p=e.padBefore,d=e.padAfter,v=e.padBetween,m=e.tickSizes,g=e.tickOrientations,y=e.hideMajorTicks,b=e.hideMinorTicks,w=e.hideTickLabels,E=e.hideReferenceTicks,S=e.isRange,x=e.tryHorizontalAxisLabel,T=e.tryHorizontalTickLabels,N=t.scaling,C=t.otherScaling,k=t.drawingBounds,L=N.scale.tickLabels,A=N.scale.tickOrigins,O=N.scale.tickSpans,M,_,D,P,H,B,j,F,I,q,R,U,z,W,X,V,$=f?o:s,J=7;k||(k={x:0,y:0,w:-1,h:-1}),f?(k.x=r+s,k.w=-s,k.y=l?i+o:i,k.h=0):(k.y=i+o,k.h=-o,k.x=l?r:r+s,k.w=0),JMP.ViewStatic.reset(n),P=L?L.length:1,B=$,h&&P>1&&(B=(B-h.length*JMP.LARGE_FONT_SIZE)/P>>0),F=r,I=i,q=s,R=o,j=P>1&&m&&0<m[0]&&m[0]<$?m[0]:B,f?I+=l?o-j:0:F+=l?0:s-j;for(M=0;M<P;M++){j=P>1&&m&&0<m[M]&&m[M]<$?m[M]:B,f?R=j:q=j,U=!1,X=g?g[M]:undefined;if(X===undefined||T&&(X===JMP.TextBoxStatic.ORIENTATION_VERTICAL_LEFT||X===JMP.TextBoxStatic.ORIENTATION_VERTICAL_RIGHT)){if(L&&L[M]){V=0,D=L[M].length;for(_=0;_<D&&V<J;_++)L[M][_]&&(V=L[M][_].length)}else z=Math.max(N.scale.origin,N.scale.origin+N.scale.range),W=JMP.FormatStatic.formatNumber(z,S?N.scale.refFormat:N.scale.format),V=W.length;V<J&&(U=!0)}H=u(n,{x:F,y:I,w:q,h:R},f,l,c,p,d,N,C,M,L?L[M]:undefined,O?O[M]:undefined,A?A[M]:undefined,g&&!U?g[M]:undefined,y?y[M]:undefined,b?b[M]:undefined,w?w[M]:undefined,E,S,e.canvas.width,e.canvas.height,k),M<P-1&&(f?I+=l?-(m?m[M+1]:B):j:F+=l?j:-(m?m[M+1]:B))}a(n,{x:r,y:i,w:s,h:o},f,l,h,v,H,x,k),f?l?k.h=i+o-k.y:(k.h=k.y+k.h-i,k.y=i):l?(k.w=k.x+k.w-r,k.x=r):k.w=r+s-k.x},e.getPreferredWidth=function(e){var n=e.contents,r=e.tickOrientations,i=t;return e.isHorizontal||(i=15+(e.padBetween!==undefined?e.padBetween:0)+f(e.g,e.scale[JMP.ColumnsStatic.ROLE_Y],e.isRange,r===undefined||r[0]===undefined||
r[0]===JMP.TextBoxStatic.ORIENTATION_HORIZONTAL||e.tryHorizontalTickLabels)+l(e.g,e.height!==undefined?e.height:t,n,n.length<=0||n[0]===undefined||n[0].orientation===undefined||n[0].orientation===JMP.TextBoxStatic.ORIENTATION_HORIZONTAL||e.tryHorizontalAxisLabel)),i},e.getPreferredHeight=function(e){var n=e.contents,r=e.tickOrientations,i=t;return e.isHorizontal&&(i=15+(e.padBetween!==undefined?e.padBetween:0)+f(e.g,e.scale[JMP.ColumnsStatic.ROLE_X],e.isRange,r!==undefined&&r[0]!==undefined&&r[0]!==JMP.TextBoxStatic.ORIENTATION_HORIZONTAL&&!e.tryHorizontalTickLabels)+l(e.g,e.width!==undefined?e.width:t,n,n.length>0&&n[0]!==undefined&&n[0].orientation!==undefined&&n[0].orientation!==JMP.TextBoxStatic.ORIENTATION_HORIZONTAL&&!e.tryHorizontalAxisLabel)),i},e}(),JMP.AxisBox=function(e){"use strict";var t=JMP.Segment(e),n,r=function(e){var r;e.type===JMP.ScaleStatic.EVENT_RANGE_CHANGED&&(r=t.scale[t.isHorizontal?JMP.ColumnsStatic.ROLE_X:JMP.ColumnsStatic.ROLE_Y],r.type===JMP.ScaleStatic.SCALE_LINEAR&&(r.widthMajor=JMP.AxisBoxStatic.getNiceTickIncrement(r.range)),r.nMinor=0,n=undefined);if(e.type===JMP.ScaleStatic.EVENT_RANGE_CHANGED||e.type===JMP.ScaleStatic.EVENT_REFERENCE_VALUE_CHANGED)t.g.clearRect(t.x-(t.isHorizontal?t.padBefore+2:0)>>0,t.y-(t.isHorizontal?0:t.padBefore+2)>>0,t.width+(t.isHorizontal?t.padBefore+t.padAfter+4:0)>>0,t.height+(t.isHorizontal?0:t.padBefore+t.padAfter+4)>>0),t.draw()},i=function(){return n||(n={},JMP.AxisBoxStatic.getCache(t,n),n.scaling&&n.scaling.scale.addEventListener(r),n.otherScaling&&n.otherScaling.scale.addEventListener(r)),n};return t.lineColor=JMP.COLOR_LINE,t.isFlipped=!1,t.padBefore=0,t.padAfter=0,t.padBetween=0,t.tickSizes=undefined,t.tickOrientations=undefined,t.hideMajorTicks=undefined,t.hideMinorTicks=undefined,t.hideTickLabels=undefined,t.isRange=!1,t.tryHorizontalAxisLabel=!1,t.tryHorizontalTickLabels=!1,t.hideReferenceTicks=!1,t.draw=function(){i(),n.scaling&&(JMP.AxisBoxStatic.draw(t,n),t.sendEvent(JMP.SegmentStatic.EVENT_DRAWING_COMPLETE))},t.getPreferredWidth=function(){return JMP.AxisBoxStatic.getPreferredWidth(t)},t.getPreferredHeight=function(){return JMP.AxisBoxStatic.getPreferredHeight(t)},t},JMP.BarSegmentStatic=function(){"use strict";var e={},t=JMP.SMALL_FONT_SIZE,n=2,r=JMP.Format(JMP.FormatStatic.FORMAT_PERCENT,!1,0),i=function(e,t,n,r,i){var s=i;return e&&n&&n.length!==2*i*(t?1:r)&&(s=1),s},s=function(t,n,i,s,o,u,a,f,l,c,h,p,d,v){var m,g,y,b=v.iY,w=v.nY,E,S,x,T;y=v.iX*v.nOverlay+v.iOverlay+d,v.indices=f[y]!==undefined||c?f[y]:[a],v.label=undefined;if(h)switch(t.labeling){case e.LABELING_VALUE:u!==0&&(v.label=JMP.FormatStatic.formatNumber(u,t.statistic===JMP.DescriptiveStatic.STAT_N?o.scale.format:o.scale.refFormat));break;case e.LABELING_PERCENT:t.groupCalculation&&(g=t.groupCalculation.getResult()[t.groupIndex]);if(t.statistic===JMP.DescriptiveStatic.STAT_MEDIAN||t.statistic===JMP.DescriptiveStatic.STAT_RANGE)m=JMP.DescriptiveStatic.getValue(n[b],i,s,v.indices,g,t.statistic,!1,t.hasMissingLevels),m/=p;else if(w<2)m=JMP.DescriptiveStatic.getValue(n[b],i,s,v.indices,g,JMP.DescriptiveStatic.STAT_PERCENT,!1,t.hasMissingLevels);else{S=JMP.DescriptiveStatic.getValue(n[b],i,s,v.indices,g,t.statistic,!1,t.hasMissingLevels),x=0;for(T=0;T<w;T++)x+=JMP.DescriptiveStatic.getValue(n[T],i,s,undefined,g,t.statistic,!1,t.hasMissingLevels);m=S/x}t.overlayTerm&&(x=JMP.DescriptiveStatic.getValue(t.overlayTerm.column,i,s,undefined,g,JMP.DescriptiveStatic.STAT_N,!1,!0),S=JMP.DescriptiveStatic.getValue(t.overlayTerm.column,i,s,undefined,g,JMP.DescriptiveStatic.STAT_N,!1,t.hasMissingLevels),S&&(m*=x/S)),m!==0&&m!==null&&(v.label=JMP.FormatStatic.formatNumber(m,r));break;case e.LABELING_ROW_LABEL:E=!t.groupCalculation&&l&&f[y]!==undefined?f[y][0]:c?b:y,t.style===JMP.BarSegmentStatic.STYLE_RANGE&&b<2&&(E*=2),t.rowLabels[E]&&t.rowLabels[E].length>0&&(v.label=t.rowLabels[E]);break;default:}},o=function(r,i,s,o,u,a,f,l,c,h,p,d,v,m){var g=m.r,y=m.rSelected,b=m.rLabel,w=r.g,E=r.isHorizontal,S,x,T=m.iOverlay,N=m.iY,C=m.nX,k=m.nOverlay,L=m.nY,A=m.iYInterval,O,M,_=!!s,D=r.yInterval?r.yInterval.length:0,P=r.style===JMP.BarSegmentStatic.STYLE_STACK,H=r.style===JMP.BarSegmentStatic.STYLE_BULLET,B=r.style===JMP.BarSegmentStatic.STYLE_NESTED,j=r.style===JMP.BarSegmentStatic.STYLE_RANGE,F=r.style===JMP.BarSegmentStatic.STYLE_INTERVAL,I=2;O=o*.8,F||(L>1?O*=L:O*=k);if(E){g.h=o,g.y=c.y-g.h*(-k*L/2+T*L+N+1),g.x=Math.max(r.x,p.x),g.w=c.x-g.x;if(P)l||(g.h=O),i>=0?d.x!==undefined&&(g.x-=p.x-d.x):v.x!==undefined&&(g.x-=p.x-v.x),L>1?g.y=c.y-g.h*(-k/2+T+1):g.y=c.y-g.h/2;else if(H){g.h=o;if(L>1&&N>0||L<=1&&T>0)g.h=O;g.h%2!==O%2&&g.h--,L>1?g.y=c.y-O*(-k/2+T+1)+(O-g.h)/2:g.y=c.y-g.h/2}else if(B)L>1?g.h=O*(2*N+1)/(2*L-1):g.h=O*(2*T+1)/(2*k-1),g.h%2!==O%2&&g.h--,L>1?g.y=c.y-O*(-k/2+T+1)+(O-g.h)/2:g.y=c.y-g.h/2;else if(j||F){d.x!==undefined?(g.x=Math.min(c.x,d.x),g.w=Math.abs(c.x-d.x)):(g.x=Math.min(v.x,c.x),g.w=Math.abs(v.x-c.x));if(j&&(L>1&&N>1||L<=1&&T>1)||F&&A>1)g.x-=I/2,g.w=I;g.h=O,j?L<=1?g.y=c.y-O/2:g.y=c.y-O*(-k/2+T+1):(g.h<3&&(g.h=3),L<=1&&C>1&&D<2*k?g.y=(c.y>>0)+.5-g.h/2:g.y=(g.y+o/2>>0)+.5-g.h/2)}u&&(M=g.h,H?M=O:B&&(M=o*L*.3),g.y-=T*M/2-(k%2===0?M/4:0)-(k>2?M:0)),-1<g.w&&g.w<1&&i!==0&&(i<0?g.w=-1:g.w=1);if(f){y.x=g.x,y.y=g.y,y.w=_?h.x-g.x:0,y.h=g.h;if(_)if(P)i>=0?y.w-=p.x-d.x:y.w-=p.x-v.x;else if(j||F)y.w=g.w*s/i}m.label&&(r.labeling===e.LABELING_ROW_LABEL?(b.w=Math.min(w.measureText(m.label).width,r.x+r.width-g.x-g.w-2*n),m.label=JMP.ViewStatic.wrap(w,b.w,[m.label])):(b.w=w.measureText(m.label).width,m.label=[m.label]),g.w>=0?b.x=g.x+g.w+n:b.x=Math.max(r.x+n,g.x+g.w-b.w-2*n),b.h=Math.min(m.label.length*t,Math.max(t,g.h)),b.y=g.y+(g.h-b.h)/2,P||j||F?((j||F)&&g.w<=I?b.x=g.x+g.w+2:b.x=g.x+(g.w-b.w)/2,b.y=g.y+(g.h-t)/2):(H||B)&&N===0&&(b.x=g.x+(g.w-b.w)/2))}else{g.w=o,g.x=c.x+g.w*(-k*L/2+T*L+N),g.y=c.y,g.h=p.y-c.y;if(P)l||(g.w=O),i>=0?d.y!==undefined&&(g.y-=p.y-d.y):v.y!==undefined&&(g.y-=p.y-v.y),L>1?g.x=c.x+g.w*(-k/2+T):g.x=c.x-g.w/2;else if(H){g.w=o;if(L>1&&N>0||L<=1&&T>0)g.w=O;g.w%2!==O%2&&g.w--,L>1?g.x=c.x+O*(-k/2+T)+(O-g.w)/2:g.x=c.x-g.w/2}else if(B)L>1?g.w=O*(2*N+1)/(2*L-1):g.w=O*(2*T+1)/(2*k-1),g.w%2!==O%2&&g.w--,L>1?g.x=c.x+O*(-k/2+T)+(O-g.w)/2:g.x=c.x-g.w/2;else if(j||F){d.y!==undefined?(g.y=Math.min(d.y,c.y),g.h=Math.abs(d.y-c.y)):(g.y=Math.min(c.y,v.y),g.h=Math.abs(c.y-v.y));if(j&&(L>1&&N>1||L<=1&&T>1)||F&&A>1)g.y-=I/2,g.h=I;g.w=O,j?L<=1?g.x=c.x-O/2:g.x=c.x+O*(-k/2+T):(g.w<3&&(g.w=3),L<=1&&C>1&&D<2*k?g.x=(c.x>>0)+.5-g.w/2:g.x=(g.x+o/2>>0)+.5-g.w/2)}u&&(M=g.w,H?M=O:B&&(M=o*L*.3),g.x+=T*M/2-(k%2===0?M/4:0)-(k>2?M:0)),-1<g.h&&g.h<1&&i!==0&&(i<0?g.h=-1:g.h=1,!j&&!F&&(g.y=p.y-g.h));if(f){y.x=g.x,y.y=_?h.y:p.y,y.w=g.w,y.h=_?p.y-h.y:0;if(_)if(P)i>=0?y.y-=p.y-d.y:y.y-=p.y-v.y;else if(j||F)y.h=g.h*s/i,y.y=g.y+g.h-y.h}m.label&&(r.labeling===e.LABELING_ROW_LABEL?(b.w=Math.min(w.measureText(m.label).width,g.w),m.label=JMP.ViewStatic.wrap(w,b.w,[m.label])):(b.w=w.measureText(m.label).width,m.label=[m.label]),b.x=g.x+(g.w-b.w)/2,g.h>=0?(b.h=Math.min(m.label.length*t,Math.max(t,g.y-r.y-2*n)),b.h-=b.h%t,b.y=g.y-b.h-n):(b.h=Math.min(m.label.length*t,Math.max(t,r.y+r.height-g.y-2*n)),b.h-=b.h%t,b.y=g.y+n),j||P||F?(j||F)&&g.h<=I?b.y=g.y-t-1:b.y=g.y+(g.h-t)/2:(H||B)&&N===0&&(b.y=g.y+(g.h-t)/2))}Math.abs(g.w)<JMP.SINGULAR&&(g.w=0),Math.abs(g.h)<JMP.SINGULAR&&(g.h=0),S=E?0:1,x=E?1:0,JMP.ViewStatic.roundRect(g,S,x),JMP.ViewStatic.normalizeRect(g),f&&(JMP.ViewStatic.roundRect(y,S,x),JMP.ViewStatic.normalizeRect(y)),a&&(JMP.ViewStatic.roundRect(b,S,x),JMP.ViewStatic.normalizeRect(b),b.x<r.x+n&&(b.x=r.x+n),b.x>r.x+r.width-b.w-n&&(b.x=r.x+r.width-b.w-n),b.y<r.y+n&&(b.y=r.y+n),b.y>r.y+r.height-b.h-n&&(b.y=r.y+r.height-b.h-n))},u=function(e,t,n,r,u){var a,f,l,c,h,p={r:{x:0,y:0,w:-1,h:-1},rSelected:{x:0,y:0,w:-1,h:-1},rLabel:{x:0,y:0,w:-1,h:-1}},d,v,m,g,y,b,w,E,S,x,T,N,C,k=e.isHorizontal,L,A,O,M,_,D,P={x:0,y:0},H={x:0,y:0},B,j,F,I,q,R,U,z,W,X,V,$,J,K,Q,G,Y,Z=0,et=e.style===JMP.BarSegmentStatic.STYLE_STACK,tt=e.style===JMP.BarSegmentStatic.STYLE_BULLET,nt=e.style===JMP.BarSegmentStatic.STYLE_NESTED,rt=e.style===JMP.BarSegmentStatic.STYLE_RANGE,it=e.style===JMP.BarSegmentStatic.STYLE_INTERVAL,st=e.yInterval?e.yInterval.length:1;if(!t)return;a=t.yColumns,f=t.freqColumn,l=t.rowStates,c=t.xScaling,h=t.yScaling,x=t.nX,T=i(it,t.isOverlayColor,e.yInterval,t.nOverlay,t.nY),$=t.nOverlay,S=t.nRows,J=t.dataRowIndices,U=t.rawIndices,I=t.xData,q=t.yData,R=t.ySelectedData,A=t.isNoX,O=t.isContinuous,V=t.isGap,Y=t.sumYValues,d=t.barWidth,D=t.pZero,l&&(L=l.excluded);for(g=0;g<x&&!N;g++)for(y=0;y<$&&!N;y++){b=(tt||nt)&&T<=1?$-y-1:y;if(b===0||T>1)P.x=D.x,P.y=D.y,H.x=D.x,H.y=D.y;w=g*$+b,z=J[w],X=z?z.length:S;for(W=0;W<X&&!N;W++){E=z?z[W]:W;if(!O||!L||!L[E])if(I[w]){B=I[w][E];if(B!==null)for(v=0;v<T&&!N;v++){m=tt||nt?T-v-1:v;for(C=0;C<st;C++){j=q[w][m][it?C:E],F=r?R[w][m][it?C:E]:0;if(j!==null){k?(M=JMP.ScalingStatic.valuesToPixel(c,h,j,B,!0),F&&(_=JMP.ScalingStatic.valuesToPixel(c,h,F,B,!0))):(M=JMP.ScalingStatic.valuesToPixel(c,h,B,j,!0),F&&(_=JMP.ScalingStatic.valuesToPixel(c,h,B,F,!0)));if(M&&M.x!==null&&isFinite(M.x)&&M.y!==null&&isFinite(M.y)){p.iX=g,p.nX=x,p.iOverlay=b,p.nOverlay=$,p.iY=m,p.nY=T,p.iYInterval=C,K=j,G=n;if(rt){G=!1;if(T>1&&m>0||T<=1&&b>0){T>1&&m>0?m<=1?Q=q[w][m-1][E]:(Q=K,P.x=M.x,P.y=M.y):b<=1?Q=q[w-1][m][E]:(Q=K,P.x=M.x,P.y=M.y);if(Q!==null){if(T>1&&m===1||T<=1&&b===1)K-=Q;G=!0}}}else it&&(G=!1,C===1?(Q=q[w][m][0],k?P=JMP.ScalingStatic.valuesToPixel(c,h,Q,B,!0):P=JMP.ScalingStatic.valuesToPixel(c,h,B,Q,!0)):C>1&&(Q=K,P.x=M.x,P.y=M.y));it&&U[w+Z]&&U[w+Z].length===0&&Z++,s(e,a,f,l,k?c:h,K,W,U,O,A,G,Y,Z,p),o(e,j,F,d,V,n,r,O,M,_,D,P,H,p);if(et||rt)k?j>=0?(P.x=p.r.x+p.r.w,H.x=undefined):(P.x=undefined,H.x=p.r.x):j>=0?(P.y=p.r.y,H.y=undefined):(P.y=undefined,H.y=p.r.y+p.r.h);rt?(T>1&&m>0||T<=1&&b>0)&&Q!==null&&(N=u(p)):it?C>0&&Q!==null&&(N=u(p)):N=u(p)}}}}}}}return N},a=function(e,t,n){var r=0,i=t.isOverlayColor,s,o=e.overlayTerm,u=e.style===JMP.BarSegmentStatic.STYLE_RANGE,a=e.style===JMP.BarSegmentStatic.STYLE_INTERVAL;return i&&(s=JMP.UniqueStatic.getValues([o.column],undefined,e.hasMissingLevels,!0)[0]),!u&&!a&&(n.nY>1?r=n.iOverlay*n.nY+n.iY:n.nOverlay>1?r=n.iOverlay:i&&(r=Math.max(0,s.indexOf(o.column.data[n.indices[0]])))),r};return e.STYLE_SIDE_BY_SIDE=0,e.STYLE_BOX_PLOT=1,e.STYLE_BULLET=2,e.STYLE_FLOAT=3,e.STYLE_INTERVAL=4,e.STYLE_NEEDLE=5,e.STYLE_NESTED=6,e.STYLE_RANGE=7,e.STYLE_STACK=8,e.STYLE_STOCK=9,e.STYLE_TICKED=10,e.LABELING_NONE=0,e.LABELING_VALUE=1,e.LABELING_PERCENT=2,e.LABELING_ROW_LABEL=3,e.getCache=function(e,t){var n,r,s,o,u,a,f,l,c,h,p,d,v,m,g,y,b,w,E,S,x,T=e.yInterval,N=e.isHorizontal,C=!1,k=!1,L,A,O=[],M=[],_=[],D,P,H,B,j=e.statistic,F=e.hasMissingLevels,I=[],q,R=!1,U=j===JMP.DescriptiveStatic.STAT_PERCENT,z=0,W,X=e.overlayTerm,V,$,J,K,Q=0,G=e.style===JMP.BarSegmentStatic.STYLE_SIDE_BY_SIDE,Y=e.style===JMP.BarSegmentStatic.STYLE_NESTED,Z=e.style===JMP.BarSegmentStatic.STYLE_INTERVAL,et=function(t,n,r,s,o,u,a,f,l,c,h,p,d,v,m,g,y,b,w){var E,S,x=i(a,b,m,o,u),T=0,N,C=a?m.length===2*u*o?2:m.length:0,k=function(t,n){var i,s=d;return v===JMP.DescriptiveStatic.STAT_PERCENT&&X&&!b&&!e.groupCalculation&&i!==null&&i!==0&&l.length>0&&(u===0||w)&&(s=JMP.TermStatic.splitIndices(X)[r]),i=JMP.DescriptiveStatic.getValue(t,c,h,p,s,v,n),i};for(E=0;E<x;E++){if(a){S=2*(x>1?r*x+E:s>1&&m.length<2*o?0:r),g[t][E]=[];for(N=0;N<C;N++)g[t][E].push(m[S+N][n]);y[t][E]=g[t][E]}else g[t][E]=[k(f[E])],y[t][E]=[k(f[E],!0)];T+=g[t][E][0]}return T},tt=function(e,t,n,r){var i=0,s,o,u=e.length,a,f,l,c=r?r.length:e[0].data.length;n&&(l=n.excluded);for(s=0;s<c;s++){o=r?r[s]:s,f=!1;for(a=0;a<u&&!f;a++)f=e[a].data[o]===null;(!l||!l[o])&&!f&&(t&&t.data[o]!==null&&t.data[o]>0?i+=t.data[o]:i++)}return i};n=e.columns.getColumns(JMP.ColumnsStatic.ROLE_LABEL),r=e.columns.getColumns(JMP.ColumnsStatic.ROLE_Y),s=e.columns.getColumns(JMP.ColumnsStatic.ROLE_X),o=e.columns.getColumn(JMP.ColumnsStatic.ROLE_COLOR),u=e.columns.getColumn(JMP.ColumnsStatic.ROLE_FREQ),a=e.columns.rowStates,S=r.length,E=s.length,C=!1,S>0&&E>0&&(s[0].dataLevel===JMP.VariableStatic.LEVEL_CONTINUOUS?C=!0:s[0].type===JMP.VariableStatic.TYPE_NUMBER&&(f=JMP.UniqueStatic.getValues(s,a,F,!0),f[0].length>Math.max(20,r[0].data.length/2)&&(C=!0)),C&&(s=[s[0]],E=1)),H=!0;for(x=0;x<S&&H;x++)H=r[x].isIntegral();B=!0;for(x=0;x<E&&B;x++)B=s[x].isIntegral();V=1,X&&(s.indexOf(X.column)>=0||e.groupCalculation&&e.groupCalculation.inputVariables.indexOf(X.column)>=0?k=!0:V=X.nLevels),l=JMP.Scaling(e.scale[JMP.ColumnsStatic.ROLE_X],e.x+.5,e.width-1),c=JMP.Scaling(e.scale[JMP.ColumnsStatic.ROLE_Y],e.y+e.height-.5,1-e.height),w=r[0]?r[0].data.length:s[0].data.length,e.groupCalculation&&(q=e.groupCalculation.getResult()[e.groupIndex],w=q.length),f=JMP.UniqueStatic.getValues(s,a,F,!0),JMP.ViewStatic.permuteUniqueValues(N?c.scale:l.scale,f),h=JMP.FrequencyStatic.getRows(s,f,a,q),s&&s[0]&&s[0].data.length===1&&1<w&&(h=[q]),X&&!k&&(h=JMP.TermStatic.splitIndices(X,h)),h||(h=[]),D=s.length<=0&&(!X||k);if(D)E=1,h[0]=undefined,I[0]=q,w=1,O[0]=[],O[0][0]=0,M[0]=[],_[0]=[],Q+=et(0,0,0,E,V,S,Z,r,s,u,a,q,q,j,T,M,_,k,C);else if(C){E=h.length,w=E;for(d=0;d<E;d++)for(v=0;v<V;v++)m=d*V+v,O[m]=[],O[m][0]=f[0][d],s[0]&&s[0].valueOrdering&&(O[m][0]=s[0].valueOrdering.indexOf(f[0][d])),M[m]=[],_[m]=[],Q+=et(m,d,v,E,V,S,Z,r,s,u,a,h[m],q,j,T,M,_,k,C),I[m]=h[m],h[m]=[0]}else{U&&(X&&!k&&(W=JMP.TermStatic.splitIndices(X,[q])),S<=0&&(z=tt(s,u,a,q))),$=JMP.FrequencyStatic.getRows(s,f,a),E=h.length/V,w=1,g=0;for(d=0;d<E;d++){y=0;for(v=0;v<V;v++){b=g*V+y,$&&$[d].length<=0?O[b]=null:(O[b]=[],O[b][0]=g,W&&(q=W[y],z=tt(s,u,a,q)),M[b]=[],_[b]=[],S>0?Q+=et(b,g,y,E,V,S,Z,r,s,u,a,h[b],q,j,T,M,_,k,C):(M[b][0]=[JMP.DescriptiveStatic.getValue(s[0],u,a,h[b],q,JMP.DescriptiveStatic.STAT_N,!1,F)],z>0&&(M[b][0][0]/=z),_[b][0]=[JMP.DescriptiveStatic.getValue(s[0],u,a,h[b],q,JMP.DescriptiveStatic.STAT_N,!0,F)],z>0&&(_[b][0][0]/=z),Q+=M[b][0][0])),I[b]=h[b];if(!Z||O[b])h[b]=[0],y++}(!Z||O[b])&&g++}if(Z)for(b++;b<E*V;b++)I[b]=h[b];else for(d=E-1;d>=0;d--)if(O[d*V]===null||O[d*V]===undefined){E--,h.splice(d*V,V),I.splice(d*V,V),_.splice(d*V,V),M.splice(d*V,V),O.splice(d*V,V);for(x=d;x<E;x++)for(v=0;v<V;v++)O[x*V+v][0]--}S<=0&&(S=1)}p=Math.abs(N?c.pixelPerValueScale:l.pixelPerValueScale),Y&&(p*=.9*2*S/(2*S-1)),J=Math.abs(N?c.pixelRange:l.pixelRange);if(C)if(1<w&&w===f[0].length||S*E*V>J/2)p*=Math.abs(f[0][w-1]-f[0][0]),p/=2*E*V,G&&(p/=S);else{P=1;for(d=0;d<f.length;d++)P*=f[d].length;p*=P+1,p/=(P+2)*V+1}else p*=E,S>1&&V>1?(R=!0,E===1?p/=V*S+(V+1)/2:p/=E*V*S+E+E*(V-1)/2):p/=E*V*S+E;p=p+.5>>0,K=J/E,G&&(K*=V),K>>=0,p>K&&(p=K),p<1&&(p=1),L=JMP.ScalingStatic.valuesToPixel(l,c,l.scale.type===JMP.ScaleStatic.SCALE_LOG?1:0,c.scale.type===JMP.ScaleStatic.SCALE_LOG?1:0,!0),A=1e3*JMP.MAC_EPS,N?Math.abs(e.x+.5-L.x)<A*e.width&&(L.x=e.x+.5+A):Math.abs(e.y+e.height-.5-L.y)<A*e.height&&(L.y=e.y+e.height-.5-A),t.labelColumns=n,t.yColumns=r,t.xColumns=s,t.colorColumn=o,t.freqColumn=u,t.rowStates=a,t.xScaling=l,t.yScaling=c,t.xValues=f,t.nX=E,t.nY=S,t.nOverlay=V,t.nRows=w,t.dataRowIndices=h,t.rawIndices=I,t.xData=O,t.yData=M,t.ySelectedData=_,t.isNoX=D,t.isContinuous=C,t.isYIntegral=H,t.isXIntegral=B,t.isGap=R,t.isOverlayColor=k,t.sumYValues=Q,t.barWidth=p,t.pZero=L},e.draw=function(e,n){var r=e.g,i=e.overlayTerm,s=e.lineColor,o=e.lineWidth,f=e.isHorizontal,l=e.style===JMP.BarSegmentStatic.STYLE_STACK,c=e.style===JMP.BarSegmentStatic.STYLE_BULLET,h=e.style===JMP.BarSegmentStatic.STYLE_NESTED,p=e.style===JMP.BarSegmentStatic.STYLE_RANGE,d=e.style===JMP.BarSegmentStatic.STYLE_INTERVAL;JMP.ViewStatic.reset(r),r.font=t+"px "+JMP.FONT,u(e,n,!0,!0,function(t){var u=t.r,v=t.rSelected,m,y,b,w,E,S,x=e.fillColors,T=e.legend,N=n.isOverlayColor,C=r.globalAlpha;w=0,p?t.nY>2&&t.iY>0?w=t.iY-1:t.nY<=1&&t.iOverlay>0?w=t.iOverlay-1:t.nOverlay<=1&&e.colorTerm&&(w=t.iX*2):d&&t.iYInterval>1&&(w=t.iYInterval-1),T?(!p&&!d&&(w=a(e,n,t)),E=T.getColor(w,e.legendOffset,e.legendModelID),S=T.getAlpha(w,e.legendOffset,e.legendModelID)):(!p&&!d&&(w=t.iX*t.nY*t.nOverlay+t.iOverlay*t.nY+t.iY,e.colorTerm||(t.nY>1&&(l||c||h)&&(w=t.iY),t.nY===1&&t.nOverlay>1&&(w=t.iOverlay)),N&&(w*=i.nLevels+1)),E=x[Math.min(x.length-1,w)],S=1),r.globalAlpha=S,d?(r.fillStyle=T?E:s,f?(y=u.h,y%2!==o%2&&y--,r.fillRect(u.x,u.y,o,y),r.fillRect(u.x,u.y+(y-o)/2>>0,u.w,o),r.fillRect(u.x+u.w-o,u.y,o,y)):(m=u.w,m%2!==o%2&&m--,r.fillRect(u.x,u.y,m,o),r.fillRect(u.x+(m-o)/2>>0,u.y,o,u.h),r.fillRect(u.x,u.y+u.h-o,m,o))):(r.fillStyle=E,r.fillRect(u.x,u.y,u.w,u.h)),!d&&v.w!==0&&v.h!==0&&(b=JMP.ViewStatic.stringTorgb(E.substr(1,7)),b=JMP.ViewStatic.interpolateColor(b,[0,0,0],.5),r.fillStyle=JMP.ViewStatic.rgbToString(b),r.fillRect(v.x,v.y,v.w,v.h)),r.globalAlpha=C}),e.labeling!==JMP.BarSegmentStatic.LABELING_NONE&&u(e,n,!0,!0,function(e){var n=e.r,i=e.label,s=e.rLabel,o,u,a;if(i){JMP.ViewStatic.rectanglesIntersect(n,s)&&(r.fillStyle=JMP.COLOR_WHITE,r.fillRect(s.x-1,s.y-1,s.w+2,s.h+2)),r.fillStyle=JMP.COLOR_BLACK,a=s.y+t-2,u=i.length;for(o=0;o<u&&a<s.y+s.h;o++)r.fillText(i[o],s.x,a),a+=t}})},e.select=function(e,t,n,r){var i=[],s=!1,o,a,f=Infinity,l=Infinity,c=Infinity,h=e.style===JMP.BarSegmentStatic.STYLE_BULLET,p=e.style===JMP.BarSegmentStatic.STYLE_NESTED;if(!t||!t.rowStates)return;o=t.rowStates,u(e,t,!1,!0,function(t){var r=t.r,o=t.rSelected,u=t.indices,d;return n.w<=0&&n.h<=0?JMP.ViewStatic.pointInRect({x:n.x,y:n.y},r,-JMP.ViewStatic.FUZZ_PIXELS)&&(JMP.ViewStatic.pointInRect({x:n.x,y:n.y},r)?d=0:e.isHorizontal?d=Math.min(Math.abs(n.y-r.y),Math.abs(r.y+r.h-n.y)):d=Math.min(Math.abs(n.x-r.x),Math.abs(r.x+r.w-n.x)),a=f>d,(h||p)&&f===d&&(a=l>t.iY||c>t.iOverlay),a&&(f=d,l=t.iY,c=t.iOverlay,i=u,s=o.w<=0||o.h<=0)):JMP.ViewStatic.rectanglesIntersect(r,n)&&(u===undefined?i=undefined:i=i.concat(u)),!1});if(i===undefined)switch(r){case JMP.ViewStatic.SELECT_ONLY:case JMP.ViewStatic.SELECT_EXTEND:o.selectAll();break;case JMP.ViewStatic.SELECT_REDUCE:o.selectAll(!1);break;default:o.selectAll(s)}else if(i.length>0)switch(r){case JMP.ViewStatic.SELECT_ONLY:o.selectOnly(i,!0);break;case JMP.ViewStatic.SELECT_EXTEND:o.select(i,!0);break;case JMP.ViewStatic.SELECT_REDUCE:o.select(i,!1);break;default:o.select(i,s)}},e.getTooltip=function(e,t,n,r){var s=null,o,f=Infinity,l=Infinity,c=Infinity,h=e.isHorizontal,p,d,v,m,g,y,b,w,E,S,x,T=e.legend,N=e.style===JMP.BarSegmentStatic.STYLE_BULLET,C=e.style===JMP.BarSegmentStatic.STYLE_NESTED,k=e.style===JMP.BarSegmentStatic.STYLE_RANGE,L=e.style===JMP.BarSegmentStatic.STYLE_INTERVAL;return t?(p=t.isContinuous,d=t.isYIntegral,v=t.isXIntegral,m=t.labelColumns,g=t.yColumns,y=t.xColumns,b=t.colorColumn,w=t.freqColumn,E=t.rowStates,x=h?t.xScaling.scale:t.yScaling.scale,S=h?t.yScaling.scale:t.xScaling.scale,u(e,t,!1,!1,function(u){var A=u.r,O=u.indices?u.indices[0]:0,M,_,D,P,H=g[0]?g[0].data.length:y[0].data.length,B=u.indices?u.indices.length:H,j,F,I=function(e,t,n,r,i){var s=n.data[r],o=i;n.valueLabels&&(s=n.getValueString(s),o=undefined),JMP.ViewStatic.addTooltipLine(e,t,s,o)};if(B>0&&A.w>0&&A.h>0&&JMP.ViewStatic.pointInRect({x:n,y:r},A,-JMP.ViewStatic.FUZZ_PIXELS)){JMP.ViewStatic.pointInRect({x:n,y:r},A)?F=0:h?F=Math.min(Math.abs(r-A.y),Math.abs(A.y+A.h-r)):F=Math.min(Math.abs(n-A.x),Math.abs(A.x+A.w-n)),o=f>F,(N||C)&&f===F&&(o=l>u.iY||c>u.iOverlay);if(o){f=F,l=u.iY,c=u.iOverlay,s={lines:[],distance:0,area:A.w*A.h,x:A.x,y:A.y},A.h<5&&(s.y-=2);if(p){D=m.length;for(_=0;_<D;_++)j=m[_],M=j.type===JMP.VariableStatic.TYPE_NUMBER?j.format:undefined,I(s,j.name,j,O,M)}M=JMP.ViewStatic.getPreciseFormat(x.origin,x.range,x.format,!1,d,e.statistic),D=i(L,t.isOverlayColor,e.yInterval,t.nOverlay,t.nY);if(!L&&!k&&g.length>0)j=g[u.iY],JMP.ViewStatic.addTooltipLine(s,JMP.ViewStatic.getLabel(j,e.statistic,x.axisLabel),t.yData[u.iX*u.nOverlay+u.iOverlay][u.iY][0],M);else if(L&&e.errorStatistic!==JMP.DescriptiveStatic.STAT_NONE)JMP.ViewStatic.addTooltipLine(s,JMP.ViewStatic.getLabel(g[u.iY],e.errorStatistic,x.axisLabel),JMP.ViewStatic.formatTooltipRange(x.refFormat,t.yData[u.iX*u.nOverlay+u.iOverlay][u.iY][0],t.yData[u.iX*u.nOverlay+u.iOverlay][u.iY][1]));else if(L&&e.errorStatistic===JMP.DescriptiveStatic.STAT_NONE&&g.length>1)for(_=0;_<2;_++)j=g[_],JMP.ViewStatic.addTooltipLine(s,JMP.ViewStatic.getLabel(j,e.errorStatistic),t.yData[u.iX*u.nOverlay+u.iOverlay][0][_],M);else if(k&&g.length===1&&e.overlayTerm)JMP.ViewStatic.addTooltipLine(s,JMP.ViewStatic.getLabel(g[0],e.statistic,x.axisLabel),JMP.ViewStatic.formatTooltipRange(x.refFormat,t.yData[u.iX*u.nOverlay][0][0],t.yData[u.iX*u.nOverlay+1][0][0]));else{D=g.length;for(_=0;_<D;_++)j=g[_],JMP.ViewStatic.addTooltipLine(s,JMP.ViewStatic.getLabel(j,e.statistic,x.axisLabel),t.yData[u.iX*u.nOverlay+u.iOverlay][_][0],M)}D=y.length;for(_=0;_<D;_++)j=y[_],M=undefined,j.type===JMP.VariableStatic.TYPE_NUMBER&&(M=j.format,p&&(M=JMP.ViewStatic.getPreciseFormat(S.origin,S.range,S.format,!1,v))),I(s,JMP.ViewStatic.getLabel(j,undefined,S.axisLabel),j,O,M);b&&b.type===JMP.VariableStatic.TYPE_NUMBER&&g.length&&g.indexOf(b)<0&&y.indexOf(b)<0&&(!e.overlayTerm||e.overlayTerm.column!==b)&&(j=b,P=JMP.DescriptiveStatic.getValue(j,w,E,u.indices,undefined,e.statistic),M=JMP.ViewStatic.getPreciseFormat(P,0,j.format,!0,j.isIntegral(),e.statistic),JMP.ViewStatic.addTooltipLine(s,JMP.ViewStatic.getLabel(j,e.statistic),P,M)),e.overlayTerm&&(j=e.overlayTerm.column,M=j.type===JMP.VariableStatic.TYPE_NUMBER?j.format:undefined,j.dataLevel===JMP.VariableStatic.LEVEL_CONTINUOUS||(L||k)&&g.length===1?T&&JMP.ViewStatic.addTooltipLine(s,j.name,T.getLabel(a(e,t,u),e.legendOffset,e.legendModelID)):I(s,j.name,j,O,M)),JMP.ViewStatic.addTooltipLine(s,JMP.ViewStatic.TIP_ROWS,B)}}return!1}),s):null},e}(),JMP.BarSegment=function(e){"use strict";var t=JMP.Segment(e),n,r=function(){return!n&&t.columns&&t.scale[JMP.ColumnsStatic.ROLE_X]&&t.scale[JMP.ColumnsStatic.ROLE_Y]&&(n={},JMP.BarSegmentStatic.getCache(t,n)),n};return t.statistic=JMP.DescriptiveStatic.STAT_MEAN,t.fillColors=["#678bc9"],t.lineColor=JMP.COLOR_BLACK,t.lineWidth=1,t.style=JMP.BarSegmentStatic.STYLE_SIDE_BY_SIDE,t.errorStatistic=JMP.DescriptiveStatic.STAT_NONE,t.labeling=JMP.BarSegmentStatic.LABELING_NONE,t.rowLabels=undefined,t.yInterval=undefined,t.draw=function(){n=undefined,JMP.BarSegmentStatic.draw(t,r())},t.select=function(e,n){JMP.BarSegmentStatic.select(t,r(),e,n)},t.getTooltip=function(e,n){return JMP.BarSegmentStatic.getTooltip(t,r(),e,n)},t},JMP.BoxPlotSegmentStatic=function(){"use strict";var e={},t=0,n=4,r=5,i=6,s=10,o=t,u=s,a=["100%","99.5%","97.5%","90%","75%","50%","25%","10%","2.5%","0.5%","0%"],f=[1,.7,.5,.3,.2,.2,.2,.3,.5,.7,1],l=0,c=3,h=4,p=l,d=[l,c,h],v=[JMP.DescriptiveStatic.NAMES[JMP.DescriptiveStatic.STAT_MEAN],"+95%","-95%"],m=0,g=1,y=2,b=3,w=m,E=b,S=5,x=3,T=S+x,N=1/9,C=JMP.ScalingStatic.valueToPixel,k=function(e,t,n,r){t?(e.x=n,e.y=r-2):(e.x=r,e.y=n-2)},L=function(e,o,u){switch(u){case s:case t:return e===JMP.BoxPlotSegmentStatic.TYPE_QUANTILE;case i:case r:case n:return!0;default:return e===JMP.BoxPlotSegmentStatic.TYPE_QUANTILE&&o}},A=function(e){return e>>0},O=function(e){return(e>>0)+.5};return e.TYPE_OUTLIER=0,e.TYPE_QUANTILE=1,e.TYPE_SOLID=2,e.TYPE_THIN=3,e.DEFAULT_SHORTEST_HALF_COLOR="#f03246",e.ADJACENTS_NAMES=["Minimum, excluding outliers","Maximum, excluding outliers","Shortest half minimum","Shortest half maximum"],e.convertComponents=function(e,t,n,r,i,s,a,f){var l,c=!0,d,v,m=f&1?O:A;d=e[0];for(l=o;l<=u;l++)v=e[l],c=c&&v===d,e[l]!==null&&isFinite(e[l])?r[l]=m(C(a,e[l])):r[l]=null;for(l=p;l<=h;l++)t[l]!==null&&isFinite(t[l])?i[l]=m(C(a,t[l])):i[l]=null;for(l=w;l<=E;l++)n[l]!==null&&isFinite(n[l])?s[l]=m(C(a,n[l])):s[l]=null;return c},e.canDrawMeansDiamond=function(e){return e[c]>e[h]},e.canDrawShortestHalf=function(e){return e[b]&&isFinite(e[b])&&e[b]>e[y]},e.getCache=function(e,t,n,r,i){var s=e.quantiles,o=e.moments,u=e.adjacents,a=e.isHorizontal,f=e.width-1,l=e.height-1,c=(e.x>>0)+.5,h=(e.y>>0)+.5,p=e.lineWidth,d=e.lineStyle,v,m,g,y,b,w,E=[],S=[],x=[],T=0,k=0,L=!1,A=[];r&&(y=JMP.Scaling(e.scale[JMP.ColumnsStatic.ROLE_X],c,f)),i&&(b=JMP.Scaling(e.scale[JMP.ColumnsStatic.ROLE_Y],h+l,-l)),v=a?y:b,L=JMP.BoxPlotSegmentStatic.convertComponents(s,o,u,E,S,x,v,p),m=v.scale,w=m.type===JMP.ScaleStatic.SCALE_LINEAR?JMP.ViewStatic.getPreciseFormat(m.origin,m.range,m.format,!1):m.format,n?(v=a?b:y,T=C(v,v.valueOrigin+e.boxWidth/4),a?T=h+l-T:T-=c,k=C(v,e.position)):(T=a?l/4:f/4,k=a?h+l/2:c+f/2),k>>=0,p&1&&(k+=.5),g=a?f*N:l*N,T>g&&(T=g),T>>=0,e.showMeansDiamond=e.showMeansDiamond&&JMP.BoxPlotSegmentStatic.canDrawMeansDiamond(o),e.showShortestHalf=e.showShortestHalf&&JMP.BoxPlotSegmentStatic.canDrawShortestHalf(u),A=JMP.LineSegmentStatic.getLineDash(d,p),t.xScaling=y,t.yScaling=b,t.format=w,t.quantilePositions=E,t.momentPositions=S,t.adjacentPositions=x,t.pixelHalfBoxWidth=T,t.pixelBoxCenter=k,t.isOnlyOneValue=L,t.lineDash=A},e.draw=function(a,p){var d=a.g,v=a.graphType,w=a.isHorizontal,E=a.showFences,T=a.showFill,N=a.showMeansDiamond,C=a.showShortestHalf,k=a.lineWidth,L=a.lineColor!==undefined?a.lineColor:JMP.COLOR_BLACK,A=a.fillColor!==undefined?a.fillColor:JMP.COLOR_FILL,O=a.shortestHalfLineColor!==undefined?a.shortestHalfLineColor:e.DEFAULT_SHORTEST_HALF_COLOR,M=a.alpha,_,D,P,H,B=0,j,F,I,q,R,U,z,W,X,V,$,J,K,Q,G=0,Y=d.globalAlpha,Z,et,tt,nt,rt,it,st,ot,ut,at,ft;if(!p)return;it=p.pixelBoxCenter,st=p.pixelHalfBoxWidth,ot=p.quantilePositions,ut=p.momentPositions,at=p.adjacentPositions,ft=p.lineDash,_=it-st,D=it+st,P=it,j=at[y],F=at[b],I=at[m],q=at[g],w?(Z=function(e,t,n){d.lineCap="butt",d.strokeStyle=L,d.lineWidth=k,d.setLineDash(ft),d.beginPath(),d.moveTo(n,t),d.lineTo(n,e),d.stroke(),d.setLineDash([])},et=function(e,t,n){d.lineCap="butt",d.strokeStyle=L,d.lineWidth=k,d.setLineDash(ft),d.beginPath(),d.moveTo(t+.5,e),d.lineTo(n+.5,e),d.stroke(),d.setLineDash([])},tt=function(e,t,n,r){T&&(d.fillStyle=A,d.fillRect(n,e,r-n,t-e)),d.strokeStyle=L,d.lineWidth=k,d.setLineDash(ft),d.strokeRect(n,e,r-n,t-e),d.setLineDash([])},nt=function(e,t,n,r,i,s){d.lineJoin="miter",d.miterLimit=k*5,d.strokeStyle=L,d.lineWidth=k,d.beginPath(),d.moveTo(i,e),d.lineTo(r,t),d.lineTo(i,n),d.lineTo(s,t),d.closePath(),d.stroke()},rt=function(e,t,n,r){d.lineWidth=k,d.lineJoin="miter",d.miterLimit=k*5,d.strokeStyle=O,d.beginPath(),d.moveTo(n,t),d.lineTo(n,e),d.lineTo(r,e),d.lineTo(r,t),d.stroke()}):(Z=function(e,t,n){d.lineCap="butt",d.strokeStyle=L,d.lineWidth=k,d.setLineDash(ft),d.beginPath(),d.moveTo(e,n),d.lineTo(t,n),d.stroke(),d.setLineDash([])},et=function(e,t,n){d.lineCap="butt",d.strokeStyle=L,d.lineWidth=k,d.setLineDash(ft),d.beginPath(),d.moveTo(e,t),d.lineTo(e,n),d.stroke(),d.setLineDash([])},tt=function(e,t,n,r){T&&(d.fillStyle=A,d.fillRect(e,n,t-e,r-n)),d.strokeStyle=L,d.lineWidth=k,d.setLineDash(ft),d.strokeRect(e,n,t-e,r-n),d.setLineDash([])},nt=function(e,t,n,r,i,s){d.lineJoin="miter",d.miterLimit=k*5,d.strokeStyle=L,d.lineWidth=k,d.beginPath(),d.moveTo(e,i),d.lineTo(t,r),d.lineTo(n,i),d.lineTo(t,s),d.closePath(),d.stroke()},rt=function(e,t,n,r){d.lineWidth=k,d.lineJoin="miter",d.miterLimit=k*5,d.strokeStyle=O,d.beginPath(),d.moveTo(t,n),d.lineTo(e,n),d.lineTo(e,r),d.lineTo(t,r),d.stroke()}),JMP.ViewStatic.reset(d),M<1&&(d.globalAlpha=M),ot[n]===ot[i]?Z(_,D,ot[n]):tt(_,D,ot[n],ot[i]),B=v===JMP.BoxPlotSegmentStatic.TYPE_OUTLIER?q:ot[t],ot[n]!==B&&et(P,B,ot[n]),B=v===JMP.BoxPlotSegmentStatic.TYPE_OUTLIER?I:ot[s],ot[i]!==B&&et(P,B,ot[i]),N&&ut&&(R=ut[l],z=ut[c],z===null&&(z=R),U=ut[h],U===null&&(U=R),G=k&1?.5:0,H=(P>>0)+G,W=(.9*st>>0)-3+G,X=H-W,V=H+W,nt(X,H,V,z,R,U)),G=k/2;if(E)if(v===JMP.BoxPlotSegmentStatic.TYPE_OUTLIER)$=(f[s]*st>>0)+G,J=P-$,K=P+$,Z(J,K,I),Z(J,K,q);else for(Q=o;Q<=u;Q++)(Q>i||Q<n)&&ot[Q]&&($=(f[Q]*st>>0)+G,J=P-$,K=P+$,Z(J,K,ot[Q]));Z(_,D,ot[r]),C&&F!==j&&(K=_-S+G>>0,J=K-x-G,rt(J,K,F,j)),M<1&&(d.globalAlpha=Y)},e.getTooltip=function(t,r,s){var c=t.graphType,h=t.isHorizontal,p=t.showFences,w=t.showMeansDiamond,E=t.showShortestHalf,S=t.quantiles,x=t.moments,N=t.adjacents,C=t.lineWidth,A=s.x,O=s.y,M={lines:[],distance:0,area:1},_,D=null,P=100,H=20+C,B,j=-1,F,I,q=Number.MAX_VALUE,R,U,z,W,X,V,$,J,K,Q,G,Y=!1,Z,et,tt,nt,rt,it,st;if(!r)return null;Z=r.pixelBoxCenter,et=r.pixelHalfBoxWidth,tt=r.quantilePositions,nt=r.momentPositions,rt=r.adjacentPositions,it=r.format,st=r.isOnlyOneValue;if(!S||!x||!N||!tt||!nt||!rt)return null;z=h?A:O,W=h?O:A,R=Z-et,U=Z+et;if(E){X=rt[y],V=rt[b],X<V?(J=X,K=V):(J=V,K=X);if(W<R&&z>J-H&&z<K+H){I=W-(R-T),I*=I,I<H*H&&(q=I),J=z-H,K=z+H,$=X,$>J&&$<K&&(I=(z-$)*(z-$),I<q&&(q=I)),$=V,$>J&&$<K&&(I=(z-$)*(z-$),I<q&&(q=I));if(q!==Number.MAX_VALUE)return JMP.ViewStatic.addTooltipLine(M,e.ADJACENTS_NAMES[y],N[y],it),JMP.ViewStatic.addTooltipLine(M,e.ADJACENTS_NAMES[b],N[b],it),M.distance=q,k(M,h,Math.min(rt[y],rt[b]),R-T),M}}if(W<R-H||W>U+H)return null;R=z-P,U=z+P,Q=st?o:u;for(B=o;B<=Q;B++)if(st||L(c,p,B))F=tt[B],F>R&&F<U&&(I=(z-F)*(z-F),I<q&&(q=I,j=B));q!==Number.MAX_VALUE&&(_=S[j],D=a[j],G=0,j<=i&&j>=n?G=et:p&&(G=f[j]*et),k(M,h,tt[j],Z-G));if(c!==JMP.BoxPlotSegmentStatic.TYPE_QUANTILE){for(B=m;B<=g;B++)F=rt[B],F>R&&F<U&&(I=(z-F)*(z-F),I<=q&&(Y=!0,q=I,j=B));Y&&(_=N[j],D=e.ADJACENTS_NAMES[j],k(M,h,rt[j],Z-(p?et:0)))}Y=!1;if(w){for(B=0;B<3;B++)F=nt[d[B]],F&&F>R&&F<U&&(I=(z-F)*(z-F),I<q&&(Y=!0,q=I,j=B));Y&&(_=x[d[j]],D=v[j],k(M,h,nt[d[j]],Z-(j===l?et*.9-3:0)))}return q===Number.MAX_VALUE?null:(st&&(D=JMP.ViewStatic.TIP_VALUE),JMP.ViewStatic.addTooltipLine(M,D,_,it),M.distance=q,M)},e}(),JMP.BoxPlotSegment=function(e){"use strict";var t=JMP.Segment(e),n,r=function(){var e=t.boxWidth!==0,r=t.isHorizontal||e,i=!t.isHorizontal||e;return!n&&t.quantiles&&t.moments&&t.adjacents&&(r&&t.scale[JMP.ColumnsStatic.ROLE_X]||i&&t.scale[JMP.ColumnsStatic.ROLE_Y])&&(n={},JMP.BoxPlotSegmentStatic.getCache(t,n,e,r,i)),n};return t.fillColor=JMP.COLOR_FILL,t.lineColor=JMP.COLOR_LINE,t.lineWidth=1,t.graphType=JMP.BoxPlotSegmentStatic.TYPE_OUTLIER,t.position=.5,t.boxWidth=1,t.lineStyle=JMP.LineSegmentStatic.PATTERN_SOLID,t.shortestHalfLineColor=JMP.BoxPlotSegmentStatic.DEFAULT_SHORTEST_HALF_COLOR,t.alpha=1,t.showFences=!0,t.showFill=!1,t.showMeansDiamond=!0,t.showShortestHalf=!0,t.quantiles=[],t.moments=[],t.adjacents=[],t.draw=function(){n=undefined,JMP.BoxPlotSegmentStatic.draw(t,r())},t.getTooltip=function(e,n){return JMP.BoxPlotSegmentStatic.getTooltip(t,r(),{x:e,y:n})},t},JMP.BubbleGroupStatic=function(){"use strict";var e={},t=JMP.ScalingStatic.valuesToPixel,n=JMP.ViewStatic.rectangleIntersectsCircle,r=JMP.ViewStatic.stringTorgb,i=JMP.ViewStatic.rgbToString,s=JMP.ViewStatic.interpolateColor,o=JMP.ViewStatic.allocate,u=JMP.ViewStatic.blend,a=JMP.ViewStatic.fillArray,f=function(e,t,n,r){var i,o,a,f,l,c=e.segment;return c.colorTerm&&c.colorTerm.rowValue?(i=c.colorTheme,o=c.colorTerm.min,a=c.colorTerm.max-o,f=u(e.gridValue[t],e.gridValue[n],r),f===null||a<=0?l=[0,0,0]:(f=(f-o)/a,l=i.getColor(f))):l=s(e.gridColor[t],e.gridColor[n],r),l},l=function(e,t,n,r){return s(e.RSGridColor[t],e.RSGridColor[n],r)},c=function(e,t,n){var r=null;return isFinite(e)&&(r=e/t,r=Math.sqrt(r),r*=n,r=Math.max(r,2)),r};return e.COLOR_BLUE="#2867fd",e.TIP_ESTIMATED="(estimated)",e.drawBubble=function(e,t,n,r,i,s,o){var u,a,f,l;e.beginPath(),e.arc(t,n,r,0,JMP.TWO_PI),i&&(e.fillStyle=i,o?(l=e.globalAlpha,e.globalAlpha*=.4,e.fill(),e.globalAlpha=l):e.fill());if(s){e.strokeStyle=s;if(o){r<5?a=.2:r>20?a=.05:a=1/(r>>0),f=a/2;for(u=f;u<1;u+=a)e.beginPath(),e.arc(t,n,r,u*JMP.TWO_PI,(u+f)*JMP.TWO_PI),e.stroke()}else e.stroke()}},e.shouldDrawLabeled=function(e,t,n){return e===JMP.ViewStatic.WHICH_ALL||(t||n)&&e===JMP.ViewStatic.WHICH_SELECTED},e.drawLabel=function(e,t,n,r,i,s,o,u,a){e.fillStyle=u,r||i?(e.strokeStyle=a,JMP.TextBoxStatic.drawOffsetText(e,t,n,r,i,o,JMP.LARGE_FONT_SIZE,s+1,!0)):(e.font=JMP.LARGE_FONT_SIZE+"px "+JMP.FONT,e.textBaseline="middle",e.textAlign="center",e.fillText(o,t,n))},e.setupGrid=function(e,t,n,r,i){var s=e.segment,u=i||0,f,l,c,h,p,d,v,m,g,y,b,w=s.NTime,E=s.gridTimeRow,S=[],x,T,N,C,k,L,A,O;if(r){y=e.IDTerm.nLevels,e.levels=[],a(e.levels,y,-1),b=e.levels;for(m=0;m<w;m++){p=t[u+m];if(p===0)continue;g=n[u+m];for(f=0;f<p;f++)l=E[g+f],v=e.IDTerm.getScore(l),b[v]=1}e.NID=0;for(v=0;v<y;v++)b[v]>=0&&(b[v]=e.NID++);e.IDScore.length=e.NID,e.NID=0;for(v=0;v<y;v++)b[v]>=0&&(e.IDScore[e.NID++]=v)}else e.NID=e.IDTerm?Math.max(e.IDTerm.nLevels,1):1;d=e.NID*w,a(S,w,0),o(e.gridCounts,d),o(e.gridCountNonmiss,d);for(m=0;m<w;m++){p=t[u+m];if(p===0)continue;g=n[u+m];for(f=0;f<p;f++){l=E[g+f],c=e.IDTerm?e.IDTerm.getScore(l):0,x=!r&&s.ID2Term?s.ID2Term.getScore(l):0;if(c<0||x<0){S[m]++;continue}b&&(c=b[c]),h=c*w+m,e.gridCounts[h]++}}T=0,e.gridPos.length=d;for(m=0;m<w;m++){T=0;for(c=0;c<e.NID;c++)h=c*w+m,e.gridPos[h]=n[u+m]+T,T+=e.gridCounts[h],e.gridCounts[h]=0}k=s.columns.rowStates,k&&(L=k.excluded,A=k.hidden,O=k.labeled),o(e.IDNRow,e.NID),o(e.IDNExcluded,e.NID),o(e.IDNLabeled,d),o(e.IDNHidden,d),s.gridRowTemp
.length<s.NRow&&(s.gridRowTemp.length=s.NRow),N=s.gridRowTemp;for(m=0;m<w;m++){p=t[u+m];if(p===0)continue;g=n[u+m];for(f=0;f<p;f++)N[f]=E[g+f];for(f=0;f<p;f++){l=N[f],c=e.IDTerm?e.IDTerm.getScore(l):0,x=!r&&s.ID2Term?s.ID2Term.getScore(l):0;if(c<0||x<0){E[n[u+m]+p-S[m]]=l,S[m]--;continue}b&&(c=b[c]),h=c*w+m,C=e.gridCounts[h],T=e.gridPos[h],E[T+C]=l,e.gridCounts[h]++,e.IDNRow[c]++,k&&(A[l]&&e.IDNHidden[h]++,O[l]&&e.IDNLabeled[h]++,L[l]&&e.IDNExcluded[c]++)}}e.gridSize.length=d,e.gridX.length=d,e.gridY.length=d,s.colorTerm&&s.colorTerm.rowValue?e.gridValue.length=d:e.gridValue.length=0,e.gridColor.length=d,e.RSGridColor.length=d,e.gridAge.length=d,e.subBubble.length=e.NID,o(e.selected,e.NID)},e.fillGrid=function(e,t,n,i,s){var o=e.segment,c=o.columns.rowStates,h,p,d,v,m,g,y,b,w,E,S,x=0,T,N,C,k,L,A,O,M,_,D,P=1,H=1,B,j,F,I,q,R=o.isXMean,U=o.isYMean,z=o.isSizeMean,W=o.isColorMean,X,V=0,$=1,J=o.NTime,K=o.gridTimeRow,Q,G=null,Y=null,Z;a(e.gridX,e.NID*J,null),a(e.gridY,e.NID*J,null),c&&(h=c.excluded,p=c.color),o.colorTerm&&o.colorTerm.rowValue&&(Y=o.colorTerm.rowValue,X=o.colorTheme,V=o.colorTerm.min,$=o.colorTerm.max-V),o.colorTerm&&o.colorTerm.rowColor&&(G=o.colorTerm.rowColor);for(d=0;d<e.NID;d++)for(v=0;v<J;v++){m=d*J+v,e.gridColor[m]=[0,0,0],e.RSGridColor[m]=[0,0,0],e.gridAge[m]=-1,S=e.gridCounts[m];if(S===0)continue;w=e.gridPos[m],A=O=M=B=C=k=L=q=0,I=null;for(E=0;E<S;E++){x=K[w+E];if(c&&h[x])continue;_=t[x];if(_===null||o.isXCategorical&&_<0)continue;D=n[x];if(D===null||o.isYCategorical&&D<0)continue;P=1,H=1;if(i){P=i[x];if(P===null)continue;P-=o.sizeMin}if(s){H=s[x];if(H===null)continue}A+=_*H,O+=D*H,M+=P*H,B+=H,Y?(F=Y[x],F!==null&&(I===null?I=F*H:I+=F*H,q+=H)):G?(T=G[x],N=r(T.substr(1,7)),C+=N[0]*H,k+=N[1]*H,L+=N[2]*H):c&&(N=p[x],C+=N[0]*H,k+=N[1]*H,L+=N[2]*H)}Y?(q===0?e.gridValue[m]=null:e.gridValue[m]=W?I/q:I,Q=e.gridValue[m],Q===null||$<=0?(T=JMP.COLOR_BLACK,C=0,k=0,L=0):(Q=(Q-V)/$,N=X.getColor(Q),C=N[0],k=N[1],L=N[2])):(C=C/B>>0,k=k/B>>0,L=L/B>>0),e.gridCountNonmiss[m]=B,e.gridColor[m]=[C,k,L],e.RSGridColor[m]=p?p[x]:[0,0,0],B===0?(R&&(A=null),U&&(O=null),z&&(M=null)):(R&&(A/=B),U&&(O/=B),z&&(M/=B),o.xMin=Math.min(o.xMin,A),o.xMax=Math.max(o.xMax,A),o.yMin=Math.min(o.yMin,O),o.yMax=Math.max(o.yMax,O),o.sizeMax=Math.max(o.sizeMax,M),e.gridAge[m]=0),e.gridX[m]=A,e.gridY[m]=O,e.gridSize[m]=M}for(d=0;d<e.NID;d++){Z=-1,y=d*J;for(v=0;v<J;v++){m=y+v;if(e.gridAge[m]<0)continue;if(v===Z+1){Z=v;continue}if(Z<0)for(g=0;g<v;g++)b=y+g,e.gridX[b]=e.gridY[b]=e.gridSize[b]=null;else for(g=Z+1;g<v;g++)j=(g-Z)/(v-Z),b=y+g,e.gridAge[b]=g-Z,e.gridX[b]=u(e.gridX[y+Z],e.gridX[m],j),e.gridY[b]=u(e.gridY[y+Z],e.gridY[m],j),e.gridSize[b]=u(e.gridSize[y+Z],e.gridSize[m],j),e.gridValue[b]=u(e.gridValue[y+Z],e.gridValue[m],j),e.gridColor[b]=f(e,y+Z,m,j),e.RSGridColor[b]=p?l(e,y+Z,m,j):[0,0,0],e.IDNHidden[y+Z]>=e.gridCounts[y+Z]&&e.IDNHidden[m]>=e.gridCounts[m]?e.IDNHidden[b]=1:e.IDNHidden[b]=-1,e.IDNLabeled[y+Z]>0||e.IDNLabeled[m]>0?e.IDNLabeled[b]=1:e.IDNLabeled[b]=0;Z=v}if(Z<J-1)for(g=Z+1;g<J;g++)b=y+g,e.gridX[b]=e.gridY[b]=e.gridSize[b]=null,e.gridAge[b]=-1}},e.calculateGridExtents=function(t){var n=t.segment,r=n.NTime,i,s,o,u,a,f;for(i=0;i<t.NID;i++){if(t.subBubble[i]){e.calculateGridExtents(t.subBubble[i]);continue}for(s=0;s<r;s++){o=i*r+s,u=t.gridCounts[o];if(u===0)continue;a=t.gridX[o],f=t.gridY[o],n.xMin=Math.min(n.xMin,a),n.xMax=Math.max(n.xMax,a),n.yMin=Math.min(n.yMin,f),n.yMax=Math.max(n.yMax,f)}}},e.drawBubbleGroup=function(n,r,s,o,a,h,p,d,v,m,g,y,b,w){var E,S,x,T,N,C,k,L,A,O,M,_=!1,D,P,H={},B,j,F,I,q,R,U,z,W,X=[],V=n.segment,$=V.isFilled,J=V.isOutlined,K=V.whichLabeled,Q=1,G,Y,Z,et,tt,nt=V.NTime,rt,it;p>1?h===0?(Q=.25*a,$&&J&&(J=!1)):(Q=a,J=!0,$=!0):Q=.7*a,r.globalAlpha=Q;for(k=0;k<n.NID;k++){M=0;if(n.subBubble[k]){Z=V.IDModulus*(k+1),e.drawBubbleGroup(n.subBubble[k],r,s,o,a,h,p,Z,v,m,g,y,b,w);continue}if(n.IDNExcluded[k]>=n.IDNRow[k])continue;L=k*nt+s;if(n.IDNHidden[L]>=n.gridCounts[L])continue;if(p===2&&n.selected[k]!==h)continue;et=n.selected[k]!==0,tt=n.IDNLabeled[L]>0,_=(h===1&&et&&(V.trailBubbles===JMP.ViewStatic.WHICH_SELECTED||V.trailLines===JMP.ViewStatic.WHICH_SELECTED)||V.trailBubbles===JMP.ViewStatic.WHICH_ALL||V.trailLines===JMP.ViewStatic.WHICH_ALL)&&V.timeTerm!==undefined;if(_){G=.1,Y=Q*2/7;for(O=0;O<=s;O++){L=k*nt+O;if(n.gridAge[L]!==0)continue;D=n.gridX[L],P=n.gridY[L],E=n.gridColor[L],x=null,$&&(x=i(E)),T=null,J&&($?E[0]===0&&E[1]===0&&E[2]===0?T=e.COLOR_BLUE:T=JMP.COLOR_BLACK:T=i(E));if(V.trailBubbles===JMP.ViewStatic.WHICH_ALL||V.trailBubbles===JMP.ViewStatic.WHICH_SELECTED){q=c(n.gridSize[L],b,w),H=t(g,y,D,P,!0),F=H.x,I=H.y;if(F===null||I===null||q===null)continue;r.globalAlpha=u(G,Y,O/s),e.drawBubble(r,F,I,q,x,T)}V.xTrail[M]=D,V.yTrail[M]=P,X[M]=$?x:T,M++}r.globalAlpha=Q}L=k*nt+s,A=o<JMP.EPSILON?L:L+1,s>=nt-1?A=L:o>0&&o<.5&&n.gridX[A]===null&&s>1&&n.gridX[L-1]===null&&(A=L);if(n.gridAge[L]<0)continue;if(n.gridX[A]===null)continue;D=u(n.gridX[L],n.gridX[A],o),P=u(n.gridY[L],n.gridY[A],o),n.parent&&V.splitPart<1&&(rt=n.parentID*nt+s,n.parent.bubbleAnim&&n.parent.bubbleAnim[n.parentID]&&(D=u(n.parent.gridX[rt],D,V.splitPart),P=u(n.parent.gridY[rt],P,V.splitPart))),q=u(n.gridSize[L],n.gridSize[A],o),q=c(q,b,w),et&&!n.parent&&(q*=V.inflate),H=t(g,y,D,P,!0),B=H.x,j=H.y;if(B===null||j===null)continue;E=f(n,L,A,o),S=l(n,L,A,o,S),x=null,E=i(E),$&&(x=E),T=null,J&&($?E===JMP.COLOR_BLACK?T=e.COLOR_BLUE:T=JMP.COLOR_BLACK:T=E),e.drawBubble(r,B,j,q,x,T,n.gridAge[L]);if(_&&V.trailLines!==JMP.ViewStatic.WHICH_NONE){V.xTrail[M]=D,V.yTrail[M]=P,M++,G=.1,Y=Q*5/7,R=null,U=null,r.lineWidth=2*V.lineWidthScale;for(O=0;O<M;O++){if(R===null||U===null)D=V.xTrail[O],P=V.yTrail[O],D!==null&&P!==null&&(H=t(g,y,D,P,!0),R=H.x,U=H.y,R!==null&&U!==null&&(r.strokeStyle=X[O],O++));R!==null&&U!==null&&(D=V.xTrail[O],P=V.yTrail[O],D!==null&&P!==null&&(H=t(g,y,D,P,!0),z=H.x,W=H.y,z!==null&&W!==null&&(r.beginPath(),r.moveTo(R,U),r.lineTo(z,W),r.globalAlpha=u(G,Y,O/s),r.stroke(),r.strokeStyle=X[O],R=z,U=W)))}r.globalAlpha=Q,r.lineWidth=1}e.shouldDrawLabeled(K,tt,et)&&(it=k,n.levels&&(it=n.IDScore[k]),n.IDTerm&&(($||_)&&E===JMP.COLOR_BLACK?(N=e.COLOR_BLUE,C=e.COLOR_BLUE):!$&&(!_||!et)?(N=i(S),C=N):(N=JMP.COLOR_BLACK,C=E),e.drawLabel(r,B,j,v?v[d+k]:0,m?m[d+k]:0,q,n.IDTerm.charLevels[it],N,C)))}},e.checkSelected=function(t,n){var r=t.segment,i=t.NID,s=r.NTime,o=r.gridTimeRow,u=!1,a,f,l,c,h,p,d,v,m,g;if(i===0)return!1;v=r.columns.rowStates;if(!v)return!1;m=v.selectedIndices,g=v.nSelectedIndices;if(i>1&&r.isSelectableAcrossGaps)for(a=0;a<i;a++)f=t.IDScore.length>0?t.IDScore[a]:a,t.parent?t.parent.selected[t.parentID]&&t.IDTerm===r.ID2Term?t.selected[a]=r.ID2SelectedCount&&r.ID2SelectedCount[f]>0?1:0:t.selected[a]=0:t.IDTerm===r.IDTerm&&(t.selected[a]=r.IDSelectedCount&&r.IDSelectedCount[f]>0?1:0),t.selected[a]&&(u=!0),t.subBubble[a]&&e.checkSelected(t.subBubble[a],n);else for(a=0;a<i;a++){t.selected[a]=0;if(t.subBubble[a])e.checkSelected(t.subBubble[a],n)&&(t.selected[a]=1,u=!0);else{l=a*s+n,c=t.gridCounts[l];if(c<=0)continue;h=t.gridPos[l];for(d=0;d<c;d++)p=o[h+d],g&&m.lastIndexOf(p,g-1)!==-1&&(t.selected[a]=1,u=!0)}}return u},e.split=function(t,n,r,i,s,u,a){var f=t.segment,l=f.timePos-1>>0,c=!1,h=0,p=t.NID-1,d;l<1&&(l=0),!n&&r!==undefined?h=p=r:(e.checkSelected(t,l),f.resetGridExtents()),o(t.bubbleAnim,t.NID);for(d=h;d<=p;d++){if(t.subBubble[d])continue;if(!n&&r===undefined&&t.selected[d]===0)continue;c=!0,t.subBubble[d]=new JMP.BubbleGroup(f,f.ID2Term,t,d),e.setupGrid(t.subBubble[d],t.gridCounts,t.gridPos,!0,d*f.NTime),e.fillGrid(t.subBubble[d],i,s,u,a),t.bubbleAnim[d]=!0}return c},e.isCombinable=function(e){var t;for(t=0;t<e.NID;t++)if(e.selected[t]&&e.subBubble[t])return!0;return!1},e.isSplitable=function(e){var t;for(t=0;t<e.NID;t++)if(e.selected[t]&&!e.subBubble[t])return!0;return!1},e.canCombine=function(e,t,n){var r,i=!1;o(e.bubbleAnim,e.NID);if(!t&&n!==undefined)return e.bubbleAnim[n]=!0,e.subBubble[n]!==null;for(r=0;r<e.NID;r++)(e.selected[r]||t)&&e.subBubble[r]!==null&&(e.bubbleAnim[r]=i=!0);return i},e.combine=function(e,t,n){var r,i=!1;o(e.bubbleAnim,e.NID);if(!t&&n!==undefined)return e.subBubble[n]=null,!0;for(r=0;r<e.NID;r++)(e.selected[r]||t)&&e.subBubble[r]!==null&&(e.subBubble[r]=null,i=!0);return i},e.findClosestBubble=function(n,r,i,s,o,a,f,l,h,p,d,v,m,g){var y=n.segment,b,w=n.NID,E=y.sizeMax,S,x,T,N,C={dataIndex:-1,distance:0,area:0},k,L=-1,A,O,M,_,D=n,P={},H,B,j,F,I,q=y.timePos-(m+1);q=Math.min(1,Math.max(0,q));for(b=0;b<w;b++){if(n.subBubble[b]){k=e.findClosestBubble(n.subBubble[b],r,i,s,o,a,f,l,h,p,d,v,m,g),k&&(A=k.dataIndex,L=A+y.IDModulus*(b+1),g=k.distance,O=k.area,D=n.subBubble[b],M=k.x,_=k.y);continue}if(n.IDNExcluded[b]===n.IDNRow[b])continue;T=b*y.NTime+m;if(n.IDNHidden[T]>=n.gridCounts[T])continue;if(n.gridAge[T]<0)continue;N=q===0?T:T+1,m>=y.NTime-1?N=T:q>0&&q<.5&&n.gridX[N]===null&&m>1&&n.gridX[T-1]===null&&(N=T),T===N?(S=n.gridX[T],x=n.gridY[T]):(S=u(n.gridX[T],n.gridX[N],q),x=u(n.gridY[T],n.gridY[N],q));if(!isFinite(S)||!isFinite(x))continue;P=t(a,f,S,x),H=P.x-r,B=P.y-i,j=H*H+B*B,F=u(n.gridSize[T],n.gridSize[N],q),F=Math.max(5,c(F,E,v)),I=Math.max(F,JMP.ViewStatic.FUZZ_PIXELS),I*=I,j<g&&j<I&&(g=j,L=b,O=Math.PI*F*F,D=n,M=P.x-F,_=P.y-F)}return L<0?null:(C.bubbleGroup=D,C.distance=g,C.dataIndex=L,C.area=O,C.x=M,C.y=_,C.iTime=m,C)},e.createTooltip=function(t,n,r,i,s){var o=t.bubbleGroup,a=o.segment,f,l,c,h,p,d=t.dataIndex,v=t.iTime,m={lines:[],distance:0,area:0},g,y,b,w,E,S;return a.IDModulus&&(d%=a.IDModulus),S=o.parent,S&&S.IDTerm&&(f=S.IDScore.length>0?S.IDScore[o.parentID]:o.parentID,p=S.IDTerm.charLevels[f],JMP.ViewStatic.addTooltipLine(m,S.IDTerm.column.name,p)),f=o.IDScore.length>0?o.IDScore[d]:d,o.IDTerm&&(p=o.IDTerm.charLevels[f],JMP.ViewStatic.addTooltipLine(m,o.IDTerm.column.name,p)),h=a.timePos-(v+1),l=d*a.NTime+v,c=h===0?l:l+1,v>=a.NTime-1?c=l:h>0&&h<.5&&o.gridX[c]===null&&v>1&&o.gridX[l-1]===null&&(c=l),r.dataLevel===JMP.VariableStatic.LEVEL_CONTINUOUS&&(c===l?p=o.gridY[l]:p=u(o.gridY[l],o.gridY[c],h),g=JMP.ViewStatic.getLabel(r,a.isYMean?JMP.DescriptiveStatic.STAT_MEAN:JMP.DescriptiveStatic.STAT_SUM),JMP.ViewStatic.addTooltipLine(m,g,p,r.format)),n.dataLevel===JMP.VariableStatic.LEVEL_CONTINUOUS&&(c===l?p=o.gridX[l]:p=u(o.gridX[l],o.gridX[c],h),g=JMP.ViewStatic.getLabel(n,a.isXMean?JMP.DescriptiveStatic.STAT_MEAN:JMP.DescriptiveStatic.STAT_SUM),JMP.ViewStatic.addTooltipLine(m,g,p,n.format)),i&&(w=a.isSizeMean?1:o.gridCountNonmiss[l],y=o.gridSize[l]+a.sizeMin*w,w=a.isSizeMean?1:o.gridCountNonmiss[c],b=o.gridSize[c]+a.sizeMin*w,p=u(y,b,h),g=JMP.ViewStatic.getLabel(i,a.isSizeMean?JMP.DescriptiveStatic.STAT_MEAN:JMP.DescriptiveStatic.STAT_SUM),JMP.ViewStatic.addTooltipLine(m,g,p,i.format)),s&&s.dataLevel===JMP.VariableStatic.LEVEL_CONTINUOUS&&(p=u(o.gridValue[l],o.gridValue[c],h),g=JMP.ViewStatic.getLabel(s,a.isColorMean?JMP.DescriptiveStatic.STAT_MEAN:JMP.DescriptiveStatic.STAT_SUM),JMP.ViewStatic.addTooltipLine(m,g,p,s.format)),E=o.gridCountNonmiss[l],E>1&&JMP.ViewStatic.addTooltipLine(m,JMP.ViewStatic.TIP_ROWS,E),o.gridAge[l]&&JMP.ViewStatic.addTooltipLine(m,undefined,e.TIP_ESTIMATED),m.distance=t.distance,m.area=t.area,m.x=t.x,m.y=t.y,m},e.select=function(t,n,r,i,s){var o=t.bubbleGroup,u=o.segment,a,f,l=t.dataIndex,c=t.iTime,h,p,d,v,m,g,y,b;if(l>=u.IDModulus){a=l/u.IDModulus>>0,l-=a*u.IDModulus,a--;if(o.subBubble[a]){t.dataIndex=l,t.bubbleGroup=o.subBubble[a],e.select(t,n,r,i,s);return}}h=r.selectedIndices,p=!s&&n===JMP.ViewStatic.SELECT_ONLY?0:r.nSelectedIndices;for(c=0;c<i;c++){f=l*i+c,g=o.gridCounts[f];if(g){y=o.gridPos[f];for(m=0;m<g;m++)v=u.gridTimeRow[y+m],d=p?h.lastIndexOf(v,p-1):-1,n===JMP.ViewStatic.SELECT_TOGGLE&&d!==-1?(h.splice(d,1),p--,u.IDSelectedCount&&u.IDTerm&&(b=u.IDTerm.getScore(v),b>=0&&u.IDSelectedCount[b]--),u.ID2SelectedCount&&u.ID2Term&&(b=u.ID2Term.getScore(v),b>=0&&u.ID2SelectedCount[b]--)):d===-1&&(h[p]=v,p++,u.IDSelectedCount.length>0&&u.IDTerm&&(b=u.IDTerm.getScore(v),b>=0&&u.IDSelectedCount[b]++),u.ID2SelectedCount.length>0&&u.ID2Term&&(b=u.ID2Term.getScore(v),b>=0&&u.ID2SelectedCount[b]++))}}r.nSelectedIndices=p,s||(p===0&&(r.selectedIndices=[]),r.sendEvent(JMP.RowStatesStatic.EVENT_SELECTED))},e.brush=function(r,i,s,o,a,f,l,h,p,d,v,m,g){var y=r.segment,b,w=r.NID,E,S,x,T,N={},C=y.timePos-(m+1),k=i.x,L=i.y,A=i.x+i.w,O=i.y+i.h,M,_=y.sizeMax;C=Math.min(1,Math.max(0,C));for(b=0;b<=w;b++){if(r.subBubble[b]){e.brush(r.subBubble[b],i,s,o,a,f,l,h,p,d,v,m,g);continue}if(r.IDNExcluded[b]===r.IDNRow[b])continue;x=b*y.NTime+m;if(r.IDNHidden[x]>=r.gridCounts[x])continue;if(r.gridAge[x]<0)continue;T=C===0?x:x+1,m>=y.NTime-1&&(T=x),E=u(r.gridX[x],r.gridX[T],C),S=u(r.gridY[x],r.gridY[T],C),N=t(f,l,E,S),M=u(r.gridSize[x],r.gridSize[T],C),M=c(M,_,v),n(k,A,L,O,N.x,N.y,M)&&e.select({bubbleGroup:r,dataIndex:b,iTime:m},s,h,g,!0)}h.sendEvent(JMP.RowStatesStatic.EVENT_SELECTED)},e}(),JMP.BubbleGroup=function(e,t,n,r){"use strict";var i={};return i.segment=e,i.IDTerm=t,i.parent=n,i.parentID=r,i.NID=0,i.levels=null,i.IDScore=[],i.IDNRow=[],i.IDNExcluded=[],i.IDNLabeled=[],i.IDNHidden=[],i.gridCounts=[],i.gridCountNonmiss=[],i.gridPos=[],i.gridSize=[],i.gridX=[],i.gridY=[],i.gridColor=[],i.RSGridColor=[],i.gridValue=[],i.gridAge=[],i.selected=[],i.subBubble=[],i.bubbleAnim=[],i.setupGrid=function(e,t,n){return JMP.BubbleGroupStatic.setupGrid(i,e,t,n)},i.fillGrid=function(e,t,n,r){JMP.BubbleGroupStatic.fillGrid(i,e,t,n,r)},i},JMP.BubblePlotSegmentStatic=function(){"use strict";var e={},t=.5,n=.1,r=1,i=2,s=3,o=28,u=8,a=JMP.ScalingStatic.valuesToPixel,f=JMP.ViewStatic.rectangleIntersectsCircle,l=JMP.ViewStatic.rgbToString,c=JMP.ViewStatic.allocate,h=JMP.BubbleGroupStatic.drawBubble,p=JMP.BubbleGroupStatic.drawBubbleGroup,d=JMP.BubbleGroupStatic.drawLabel,v=JMP.BubbleGroupStatic.shouldDrawLabeled,m=JMP.BubbleGroupStatic.COLOR_BLUE,g=function(e,t){t.scale.addEventListener(function(t){t.type===JMP.ScaleStatic.EVENT_RANGE_CHANGED&&e.sendEvent(JMP.SegmentStatic.EVENT_SEGMENT_CHANGED)})},y=function(e,t,n,r,i){var s,o=null;if(e){s=e[t];if(s===null)return null;o=(s-n)/r,o=Math.sqrt(o),o*=i}else o=i/2;return o=Math.max(o,2),o},b=function(e,t,r,i){var s=r.valueOrigin,o=r.getValueRange(),u=(t-e)*n,a;o>0?(a=Math.min(e-u,s),r.scale.type===JMP.ScaleStatic.SCALE_LOG&&a<0?i.origin=0:i.origin=a,i.range=Math.max(t+u,s+o)-i.origin):(i.origin=Math.max(t+u,s),a=e-u,r.scale.type===JMP.ScaleStatic.SCALE_LOG&&a<0&&(a=0),i.range=Math.min(a,s+o)-i.origin)},w=function(e,t){var n=.1,r=1,i=40;return t<i?r=i/t:(n=.1/i*t,n>.51&&(n=1)),e.delay=r,n},E=function(e,t,n){var r=null;return e.dataLevel===JMP.VariableStatic.LEVEL_CONTINUOUS?r=e.getValueString(e.data[t]):r=n?n[e.data[t]]:e.getValueString(e.data[t]),r},S=function(e){return e==="pointerdown"||e==="input"||e==="change"},x=function(e,t,n,r,i,s,o,u,f,l,c,h,p){var d={dataIndex:-1,distance:0,area:0},v,m,g,b,w,E,S=Number.MAX_VALUE,x,T,N,C,k,L=-1,A,O,M,_;o&&(v=o.hidden),k=n.length;if(p)return _=h-1>>0,_<0&&(_=0),JMP.BubbleGroupStatic.findClosestBubble(p,e,t,n,r,i,s,o,u,f,l,c,_,S);for(C=0;C<k;C++)(!o||!v[C])&&n[C]!==null&&r[C]!==null&&(x=a(i,s,n[C],r[C],!0),m=x.x,g=x.y,m!==null&&isFinite(m)&&g!==null&&isFinite(g)&&(T=y(u,C,f,l,c),T!==null&&(N=Math.max(T,JMP.ViewStatic.FUZZ_PIXELS),N*=N,b=m-e,w=g-t,E=b*b+w*w,E<S&&E<N&&(S=E,L=C,A=Math.PI*T*T,O=m-T,M=g-T))));return S===Number.MAX_VALUE?null:(d.distance=S,d.dataIndex=L,d.area=A,d.iTime=_,d.x=O,d.y=M,d)};return e.ID_BACK_BUTTON=1,e.ID_STEP_BUTTON=2,e.ID_PLAY_BUTTON=3,e.ID_SPLIT_BUTTON=4,e.ID_COMBINE_BUTTON=5,e.SRC_BACK_BUTTON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo1MjYyRjg0MDJDNEVFNDExQTgwNTgzMDUyMEUzQUI2MSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo4ODc1MTc1NDRFRkIxMUU0Qjk4NEU5Q0RGRjBEQTExOCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo4ODc1MTc1MzRFRkIxMUU0Qjk4NEU5Q0RGRjBEQTExOCIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjU0NjJGODQwMkM0RUU0MTFBODA1ODMwNTIwRTNBQjYxIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjUyNjJGODQwMkM0RUU0MTFBODA1ODMwNTIwRTNBQjYxIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+LpbIjwAAACF0RVh0U29mdHdhcmUAR3JhcGhpY0NvbnZlcnRlciAoSW50ZWwpd4f6GQAAAJdJREFUeJxi+P//PwMlGKvg37//GGYdeBkN40dMv/0fGeM14PeffwwTdj0vQFZItAE/fv1laNv8tAVdIVEGfP3xh6F23eMZ2BQSNOD9199MpSsfrsGlEK8BLz/+Yslben8vuiKiDahZ+2gONs1EG/CCUhfAwqBkxcN1ZBuAFAszyTaA4nRAlZRIlbxAKqbYAAAAAAD//wMAgoLl7wXtXDQAAAAASUVORK5CYII=",e.SRC_STEP_BUTTON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo1MjYyRjg0MDJDNEVFNDExQTgwNTgzMDUyMEUzQUI2MSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo4MEZBQkFEQjRFRkIxMUU0QjUzM0QyM0EzMTI1RjRFQiIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo4MEZBQkFEQTRFRkIxMUU0QjUzM0QyM0EzMTI1RjRFQiIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjU0NjJGODQwMkM0RUU0MTFBODA1ODMwNTIwRTNBQjYxIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjUyNjJGODQwMkM0RUU0MTFBODA1ODMwNTIwRTNBQjYxIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+VCQwWQAAACF0RVh0U29mdHdhcmUAR3JhcGhpY0NvbnZlcnRlciAoSW50ZWwpd4f6GQAAAJZJREFUeJxi+P//PwMlGIUTMf32f2QME5914OXMv3//MZNtAIg9Ydfzlb///GMj2wAQbtv8dMePX3+5yDYAhGvXPT769ccffrINAOHSlQ8vvf/6W5xsA0A4b+n9Oy8//lIk2wAQrln76ARFLnjx8ZcSWQaUrHh4GRgGEuTGwjGyY4GidEBRSiQ6L1CcG8nBAAAAAP//AwBT/ej+raKbFAAAAABJRU5ErkJggg==",e.SRC_PLAY_BUTTON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo0RjYyRjg0MDJDNEVFNDExQTgwNTgzMDUyMEUzQUI2MSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoxREZBMTI5MzRFRkIxMUU0QUEzNTkyNkQ1QkQxNDgzQSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoxREZBMTI5MjRFRkIxMUU0QUEzNTkyNkQ1QkQxNDgzQSIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjUwNjJGODQwMkM0RUU0MTFBODA1ODMwNTIwRTNBQjYxIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjRGNjJGODQwMkM0RUU0MTFBODA1ODMwNTIwRTNBQjYxIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+QS1IGwAAACF0RVh0U29mdHdhcmUAR3JhcGhpY0NvbnZlcnRlciAoSW50ZWwpd4f6GQAAAMdJREFUeJzM0i0OwkAQhuH2dsjKXoMTMA5btzjugUDjOACeVDVp0mCa7BJETctmZ2fnp+LT75PMVABQWc40vi9ACEF1SUB3ez+HaW6897UJoHWv8JsUBA2QgmQDuCFkABekGFAKYQNQIeyAXIgYAAsRB6QgaoAYRB2whpwAahPAsuP56kwAl3v/GD/zQf0ES1j9CddhNUAsLA5IhcUA2DA7IDfMBqCGiwGlYTKAK5wN4A6jAVJhNEB6G4A24i/AYl8AAAD//wMAsu5Y4lP++H0AAAAASUVORK5CYII=",e.SRC_PAUSE_BUTTON="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo0RjYyRjg0MDJDNEVFNDExQTgwNTgzMDUyMEUzQUI2MSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoyNjY0MDlCNTRFRkIxMUU0QkEwQ0Y3Qjc5MDUwNUNBQiIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoyNjY0MDlCNDRFRkIxMUU0QkEwQ0Y3Qjc5MDUwNUNBQiIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjUwNjJGODQwMkM0RUU0MTFBODA1ODMwNTIwRTNBQjYxIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjRGNjJGODQwMkM0RUU0MTFBODA1ODMwNTIwRTNBQjYxIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8++zUiBAAAAE9JREFUeNpi/P//P8NAAiaGAQYD7gAWfJKRM+7gjJ/lGSqMlKofjYJRB4w6YNQBow4YdcCoA0YdMOqAUQeMOmDUAYPCAYyjndOBdgBAgAEA0oEOOwcTwA8AAAAASUVORK5CYII=",e.MENU_DRAW="Draw",e.MENU_LABEL="Label",e.MENU_TRAIL_BUBBLES="Trail Bubbles",e.MENU_TRAIL_LINES="Trail Lines",e.MENU_FILLED="Filled",e.MENU_OUTLINED="Outlined",e.MENU_FILLED_AND_OUTLINED="Filled and Outlined",e.MENU_ALL="All",e.MENU_SELECTED="Selected",e.MENU_NONE="None",e.MENU_AGGREGATE="Aggregate",e.MENU_X_SUM="X as Sum",e.MENU_Y_SUM="Y as Sum",e.MENU_SIZE_SUM="Size as Sum",e.MENU_COLOR_SUM="Color as Sum",e.MENU_SELECTABLE_ACROSS_GAPS="Selectable Across Gaps",e.MENU_SELECT_ALL="Select All",e.MENU_SHOW_TIME_LABEL="Show Time Label",e.TIP_ROLES="Variable roles",e.TIP_START_ANIMATION="Start animation",e.TIP_PAUSE_ANIMATION="Pause animation",e.TIP_FORWARD_ANIMATION="Step forward",e.TIP_BACKWARD_ANIMATION="Step backward",e.TIP_TIME_SLIDER="Time position",e.TIP_SPEED_SLIDER="Animation speed",e.TIP_SPLIT="Split selected bubbles",e.TIP_COMBINE="Combine selected bubbles",e.TIP_SIZE_SLIDER="Bubble size",e.ROLE_SUM_SUFFIX="Sum",e.ROLE_MEAN_SUFFIX="Mean",e.ROLE_X_NAME="X",e.ROLE_Y_NAME="Y",e.ROLE_SIZE_NAME="Sizes",e.ROLE_COLOR_NAME="Coloring",e.ROLE_X_NAME_INDEX=0,e.ROLE_Y_NAME_INDEX=1,e.ROLE_COLOR_NAME_INDEX=5,e.ROLE_SIZE_NAME_INDEX=6,e.ID_MENU_DRAW=0,e.ID_MENU_LABEL=1,e.ID_MENU_TRAIL_BUBBLES=2,e.ID_MENU_TRAIL_LINES=3,e.ID_MENU_FILLED=4,e.ID_MENU_OUTLINED=5,e.ID_MENU_FILLED_AND_OUTLINED=6,e.ID_MENU_LABEL_ALL=7,e.ID_MENU_LABEL_SELECTED=8,e.ID_MENU_LABEL_NONE=9,e.ID_MENU_TRAIL_BUBBLES_ALL=10,e.ID_MENU_TRAIL_BUBBLES_SELECTED=11,e.ID_MENU_TRAIL_BUBBLES_NONE=12,e.ID_MENU_TRAIL_LINES_ALL=13,e.ID_MENU_TRAIL_LINES_SELECTED=14,e.ID_MENU_TRAIL_LINES_NONE=15,e.ID_MENU_AGGREGATE=16,e.ID_MENU_X_SUM=17,e.ID_MENU_Y_SUM=18,e.ID_MENU_SIZE_SUM=19,e.ID_MENU_COLOR_SUM=20,e.ID_MENU_SELECTABLE_ACROSS_GAPS=21,e.ID_MENU_SELECT_ALL=22,e.ID_MENU_SHOW_TIME_LABEL=23,e.getCache=function(t,n){var r,i,s=t.columns,o,u,a,f,l,c,h,p,d,v,m,y,b,w,E,S,x,T,N,C,k=[],L=[],A=[];s&&(u=s.getColumn(JMP.ColumnsStatic.ROLE_X),u&&(a=u.data,t.isXCategorical=u.dataLevel!==JMP.VariableStatic.LEVEL_CONTINUOUS),l=s.getColumn(JMP.ColumnsStatic.ROLE_Y),l&&(c=l.data,t.isYCategorical=l.dataLevel!==JMP.VariableStatic.LEVEL_CONTINUOUS),C=s.rowStates,o=s.getColumns(JMP.ColumnsStatic.ROLE_LABEL));if(!a||!c)return;f=JMP.Scaling(t.scale[JMP.ColumnsStatic.ROLE_X],t.x+.5>>0,t.width-1),h=JMP.Scaling(t.scale[JMP.ColumnsStatic.ROLE_Y],t.y+t.height-.5>>0,1-t.height),g(t,f),g(t,h),t.timeLabelOffset=JMP.ScalingStatic.valuesToPixel(f,h,t.timeLabelXOffset,t.timeLabelYOffset),t.isTimeLabelVisible=JMP.ViewStatic.pointInRect(t.timeLabelOffset,{x:t.x,y:t.y,w:t.width,h:t.height}),t.colorTerm&&(p=t.colorTerm.column,d=p.data),t.timeTerm&&(y=t.timeTerm.column,b=y.data),t.IDTerm&&(w=t.IDTerm.column,E=w.data),t.ID2Term&&(S=t.ID2Term.column,x=S.data);if(t.colorTerm&&t.colorTerm.colorLevels&&t.colorTerm.charValues){i=t.colorTerm.colorLevels.length;for(r=0;r<i;r++)k[t.colorTerm.charValues[r]]=t.colorTerm.colorLevels[r]}v=s.getColumn(JMP.ColumnsStatic.ROLE_SIZE),v&&(m=v.data),T=s.getColumn(JMP.ColumnsStatic.ROLE_FREQ),T&&(N=T.data),e.initializeTerms(t,u,l,v,T),JMP.ViewStatic.createLabels(a.length,o,undefined,L,A),n.isInitialized=!0,n.xColumn=u,n.xData=a,n.xScaling=f,n.yColumn=l,n.yData=c,n.yScaling=h,n.colorColumn=p,n.colorData=d,n.sizeColumn=v,n.sizeData=m,n.timeColumn=y,n.timeData=b,n.idColumn=w,n.idData=E,n.id2Column=S,n.id2Data=x,n.freqColumn=T,n.freqData=N,n.rowStates=C,n.colorMap=k,n.labeledColumnNames=L,n.labelValues=A,t.splitPart=1,t.splitBubbles&&t.split(t.splitBubbles),e.initializeControls(t)},e.draw=function(e,n){var r=e.g,i=e.timePos,s=e.timeLabelOffset,f=e.timeLabels,c=e.timeValues,g=e.xOffset,b=e.yOffset,w=e.sizeMin,E=e.sizeMax,S=e.sizeScale,x=e.isFilled,T=e.isOutlined,N=e.whichLabeled,C=e.IDBubble,k=e.timeLabelBounds,L=e.isDragging,A=e.isXCategorical,O=e.isYCategorical,M=e.isTimeLabelVisible,_,D,P,H,B,j,F,I,q,R={},U=r.globalAlpha,z=JMP.COLOR_BLACK,W=null,X=null,V,$,J,K,Q=1,G,Y,Z,et,tt=x,nt=T,rt,it,st,ot=0,ut,at,ft,lt,ct,ht,pt,dt,vt,mt,gt,yt,bt,wt,Et;if(!n||!n.isInitialized)return;ht=n.xData,pt=n.yData,dt=n.timeData,vt=n.colorData,mt=n.sizeData,gt=n.xScaling,yt=n.yScaling,bt=n.rowStates,wt=n.colorMap,Et=n.labelValues,JMP.ViewStatic.reset(r),r.lineWidth=1,bt&&(_=bt.excluded,D=bt.hidden,P=bt.color,H=bt.selectedIndices,B=bt.labeled),c?ot=c.length:f&&(ot=f.length),i>ot&&(Q=Math.max(0,Math.min(1,1-(i-ot-t)*t)));if(C)G=i-1>>0,G<0?G=0:G>=ot&&(G=ot-1),Y=i-(G+1),Y=Math.min(1,Math.max(0,Y)),J=JMP.BubbleGroupStatic.checkSelected(C,G)?2:1,p(C,r,G,Y,Q,0,J,0,g,b,gt,yt,E,S),J>1&&p(C,r,G,Y,Q,1,J,0,g,b,gt,yt,E,S),dt&&dt.length>G&&(r.globalAlpha=.8*Q,r.fillStyle=JMP.COLOR_BLACK,r.font=o+"px "+JMP.FONT,r.textBaseline="alphabetic",r.textAlign="center",L&&(r.save(),r.shadowBlur=4,r.shadowColor=JMP.COLOR_BLACK,r.shadowOffsetX=2,r.shadowOffsetY=2,r.globalAlpha=.9),M&&(ut=r.measureText(f[G]).width+u,at=gt.pixelOrigin,lt=at+gt.pixelRange,ct=yt.pixelOrigin,ft=ct+yt.pixelRange,at>s.x-ut/2?s.x=at+ut/2:s.x+ut/2>lt&&(s.x=lt-ut/2),ft>s.y-o?s.y=ft+o:s.y>ct-u&&(s.y=ct-u),k.x=s.x-ut/2,k.y=s.y-o+u,k.w=ut,k.h=o+u,r.fillText(f[G],s.x,s.y),L&&r.restore()));else{st=E-w,et=ht.length,J=1;if(bt)for(Z=0;Z<et;Z++)if(H.lastIndexOf(Z,bt.nSelectedIndices-1)!==-1&&!_[Z]&&!D[Z]){J=2;break}for(K=0;K<J;K++){Y=1,J>1?K===0?(Y=.25,x&&T&&(nt=!1)):(Y=1,tt=!0,nt=!0):Y=.7,r.globalAlpha=Y*Q;for(Z=0;Z<et;Z++){if(bt){if(_[Z]||D[Z])continue;rt=bt.nSelectedIndices&&H.lastIndexOf(Z,bt.nSelectedIndices-1)!==-1;if(J===2)if(K===0){if(rt)continue}else if(!rt)continue}I=ht[Z];if(I===null||A&&I<0)continue;q=pt[Z];if(q===null||O&&q<0)continue;R=a(gt,yt,I,q,!0),j=R.x;if(j===null||!isFinite(j))continue;F=R.y;if(F===null||!isFinite(F))continue;it=y(mt,Z,w,st,S);if(it===null||!isFinite(it))continue;vt&&wt?vt[Z]===null?z=JMP.COLOR_BLACK:z=wt[vt[Z]]:bt&&(z=l(P[Z])),W=null,tt&&(W=z),X=null,nt&&(tt?z===JMP.COLOR_BLACK?X=m:X=JMP.COLOR_BLACK:X=z),h(r,j,F,it,W,X),bt&&v(N,B[Z],rt)&&(!tt&&bt?(V=l(P[Z]),$=JMP.COLOR_BLACK):rt&&tt&&z===JMP.COLOR_BLACK?(V=m,$=m):(V=JMP.COLOR_BLACK,$=z),d(r,j,F,g?g[Z]:0,b?b[Z]:0,it,Et[Z][0].join(", "),V,$))}}}r.globalAlpha=U},e.select=function(e,t,n,r){var i=e.sizeMin,s=e.sizeMax,o=e.sizeScale,u=e.NTime,l=e.timePos,c=e.IDBubble,h=n.x,p=n.y,d=n.w,v=n.h,m,g,b,w,E,S,T,N,C={},k,L,A,O,M,_,D,P,H,B,j,F,I,q;if(!t||!t.isInitialized||!t.rowStates)return;H=t.xData,B=t.yData,j=t.xScaling,F=t.yScaling,I=t.rowStates,q=t.sizeData,b=h-1,E=b+d+1,w=p-1,S=w+v+1,g=I.hidden,m=I.selectedIndices,L=r===JMP.ViewStatic.SELECT_ONLY?0:I.nSelectedIndices,k=function(){return r===JMP.ViewStatic.SELECT_EXTEND?function(){m.lastIndexOf(A,L-1)===-1&&(m[L]=A,L++)}:r===JMP.ViewStatic.SELECT_REDUCE?function(){_=m.lastIndexOf(A,L-1),_!==-1&&(m.splice(_,1),L--)}:function(){m[L]=A,L++}}(),O=H.length;if(d||v){if(c){P=l-1>>0,P<0&&(P=0),JMP.BubbleGroupStatic.brush(c,n,r,H,B,j,F,I,i,s,o,P,u);return}for(A=0;A<O;A++)!g[A]&&H[A]!==null&&B[A]!==null&&(D=y(q,A,i,s,o),D!==null&&(C=a(j,F,H[A],B[A],!0),T=C.x,N=C.y,T!==null&&isFinite(T)&&N!==null&&isFinite(N)&&f(b,E,w,S,T,N,D)&&k()))}else{M=x(h,p,H,B,j,F,I,q,i,s,o,l,c);if(M){if(c){JMP.BubbleGroupStatic.select(M,r,I,u);return}A=M.dataIndex,_=L?m.lastIndexOf(A,L-1):-1,r===JMP.ViewStatic.SELECT_TOGGLE&&_!==-1?(m.splice(_,1),L--):_===-1&&(m[L]=A,L++)}else L=0}I.nSelectedIndices=L,L===0&&(I.selectedIndices=[]),I.sendEvent(JMP.RowStatesStatic.EVENT_SELECTED)},e.updateUI=function(e){e.splitButton&&(e.splitButton.disabled=!JMP.BubbleGroupStatic.isSplitable(e.IDBubble)),e.combineButton&&(e.combineButton.disabled=!JMP.BubbleGroupStatic.isCombinable(e.IDBubble))},e.getTooltip=function(e,t,n){var r=e.sizeMin,i=e.sizeMax,s=e.sizeScale,o=e.timePos,u=e.IDBubble,a=n.x,f=n.y,l={lines:[],distance:0,area:0},c,h,p,d=0,v=null,m,g=null,y,b,w,S,T=[],N=[],C,k,L,A,O,M,_,D,P,H,B,j,F,I,q;if(!t||!t.isInitialized)return;L=t.xColumn,A=t.yColumn,O=t.xScaling,M=t.yScaling,_=t.xData,D=t.yData,P=t.rowStates,H=t.timeColumn,B=t.colorColumn,j=t.sizeColumn,F=t.sizeData,I=t.labeledColumnNames,q=t.labelValues,b=O.scale.labels?O.scale.labels[0]:null,w=M.scale.labels?M.scale.labels[0]:null,T=[A,L,j,B],N=[w,b,null,null],C=T.length;if(H&&JMP.ViewStatic.pointInRect({x:a,y:f},e.timeLabelBounds))return JMP.ViewStatic.addTooltipLine(l,H.name,e.timeLabels[e.timePos-1>>0]),l.x=e.timeLabelBounds.x+4,l.y=e.timeLabelBounds.y-4,l;c=x(a,f,_,D,O,M,P,F,r,i,s,o,u);if(c){if(u)return JMP.BubbleGroupStatic.createTooltip(c,L,A,j,B);h=c.dataIndex,y=q?q[h]:null,g=y?y[0]:String(h+1),m=g?g.length:0;for(d=0;d<m;d++)v=I[d],JMP.ViewStatic.addTooltipLine(l,v,g[d]);for(p=0;p<C;p++)S=T[p],S&&(k=E(S,h,N[p]),JMP.ViewStatic.addTooltipLine(l,S.name,k));return l.distance=c.distance,l.area=c.area,l.x=c.x,l.y=c.y,l}return null},e.menuProvider=function(t){var n,r,i,s,o,u,a,f,l=[],c=0,h=2,p=[{id:e.ID_MENU_DRAW,label:e.MENU_DRAW,type:JMP.MenuStatic.MENU_ITEM,menuItems:[{id:e.ID_MENU_FILLED,label:e.MENU_FILLED,type:JMP.MenuStatic.MENU_RADIO,isChecked:t.isFilled&&!t.isOutlined},{id:e.ID_MENU_OUTLINED,label:e.MENU_OUTLINED,type:JMP.MenuStatic.MENU_RADIO,isChecked:t.isOutlined&&!t.isFilled},{id:e.ID_MENU_FILLED_AND_OUTLINED,label:e.MENU_FILLED_AND_OUTLINED,type:JMP.MenuStatic.MENU_RADIO,isChecked:t.isOutlined&&t.isFilled}]},{id:e.ID_MENU_LABEL,label:e.MENU_LABEL,type:JMP.MenuStatic.MENU_ITEM,menuItems:[{id:e.ID_MENU_LABEL_NONE,label:e.MENU_NONE,type:JMP.MenuStatic.MENU_RADIO,isChecked:t.whichLabeled===JMP.ViewStatic.WHICH_NONE},{id:e.ID_MENU_LABEL_SELECTED,label:e.MENU_SELECTED,type:JMP.MenuStatic.MENU_RADIO,isChecked:t.whichLabeled===JMP.ViewStatic.WHICH_SELECTED},{id:e.ID_MENU_LABEL_ALL,label:e.MENU_ALL,type:JMP.MenuStatic.MENU_RADIO,isChecked:t.whichLabeled===JMP.ViewStatic.WHICH_ALL}]}],d=function(){var e,n=t.IDBubble.gridCountNonmiss,r=n.length,i=!0;for(e=0;e<r&&i;e++)i=n[e]===1;return i};t.timeTerm&&(p[h]={id:e.ID_MENU_TRAIL_BUBBLES,label:e.MENU_TRAIL_BUBBLES,type:JMP.MenuStatic.MENU_ITEM,menuItems:[{id:e.ID_MENU_TRAIL_BUBBLES_NONE,label:e.MENU_NONE,type:JMP.MenuStatic.MENU_RADIO,isChecked:t.trailBubbles===JMP.ViewStatic.WHICH_NONE},{id:e.ID_MENU_TRAIL_BUBBLES_SELECTED,label:e.MENU_SELECTED,type:JMP.MenuStatic.MENU_RADIO,isChecked:t.trailBubbles===JMP.ViewStatic.WHICH_SELECTED},{id:e.ID_MENU_TRAIL_BUBBLES_ALL,label:e.MENU_ALL,type:JMP.MenuStatic.MENU_RADIO,isChecked:t.trailBubbles===JMP.ViewStatic.WHICH_ALL}]},h++,p[h]={id:e.ID_MENU_TRAIL_LINES,label:e.MENU_TRAIL_LINES,type:JMP.MenuStatic.MENU_ITEM,menuItems:[{id:e.ID_MENU_TRAIL_LINES_NONE,label:e.MENU_NONE,type:JMP.MenuStatic.MENU_RADIO,isChecked:t.trailLines===JMP.ViewStatic.WHICH_NONE},{id:e.ID_MENU_TRAIL_LINES_SELECTED,label:e.MENU_SELECTED,type:JMP.MenuStatic.MENU_RADIO,isChecked:t.trailLines===JMP.ViewStatic.WHICH_SELECTED},{id:e.ID_MENU_TRAIL_LINES_ALL,label:e.MENU_ALL,type:JMP.MenuStatic.MENU_RADIO,isChecked:t.trailLines===JMP.ViewStatic.WHICH_ALL}]},h++,p[h]={id:e.ID_MENU_SHOW_TIME_LABEL,label:e.MENU_SHOW_TIME_LABEL,type:JMP.MenuStatic.MENU_CHECK,isChecked:t.isTimeLabelVisible},h++),t.IDTerm&&!d()&&(n=t.scale[JMP.ColumnsStatic.ROLE_X],r=t.scale[JMP.ColumnsStatic.ROLE_Y],!JMP.ScaleStatic.isGeodesic(n)&&!JMP.ScaleStatic.isGeodesic(r)&&(t.columns.getColumn(JMP.ColumnsStatic.ROLE_X).dataLevel===
JMP.VariableStatic.LEVEL_CONTINUOUS&&(l[c]={id:e.ID_MENU_X_SUM,label:e.MENU_X_SUM,type:JMP.MenuStatic.MENU_CHECK,isChecked:!t.isXMean},c++),t.columns.getColumn(JMP.ColumnsStatic.ROLE_Y).dataLevel===JMP.VariableStatic.LEVEL_CONTINUOUS&&(l[c]={id:e.ID_MENU_Y_SUM,label:e.MENU_Y_SUM,type:JMP.MenuStatic.MENU_CHECK,isChecked:!t.isYMean},c++)),t.colorTerm&&t.colorTerm.column.dataLevel===JMP.VariableStatic.LEVEL_CONTINUOUS&&(l[c]={id:e.ID_MENU_COLOR_SUM,label:e.MENU_COLOR_SUM,type:JMP.MenuStatic.MENU_CHECK,isChecked:!t.isColorMean},c++),l[c]={id:e.ID_MENU_SIZE_SUM,label:e.MENU_SIZE_SUM,type:JMP.MenuStatic.MENU_CHECK,isChecked:!t.isSizeMean},p[h]={id:e.ID_MENU_AGGREGATE,label:e.MENU_AGGREGATE,type:JMP.MenuStatic.MENU_ITEM,menuItems:l},h++),o=t.columns.rowStates;if(o){a=o.hidden,u=o.selected,s=t.columns.getColumn(JMP.ColumnsStatic.ROLE_X).data.length,f=o.nSelectedIndices!==0;for(i=0;i<s&&f;i++)!a[i]&&!u[i]&&(f=!1);p[h]={id:e.ID_MENU_SELECT_ALL,label:e.MENU_SELECT_ALL,isDisabled:f}}return p},e.menuHandler=function(t,n){var r=!1;switch(n){case e.ID_MENU_FILLED:if(!t.isFilled||t.isOutlined)t.isFilled=!0,t.isOutlined=!1,r=!0;break;case e.ID_MENU_OUTLINED:if(t.isFilled||!t.isOutlined)t.isFilled=!1,t.isOutlined=!0,r=!0;break;case e.ID_MENU_FILLED_AND_OUTLINED:if(!t.isFilled||!t.isOutlined)t.isFilled=!0,t.isOutlined=!0,r=!0;break;case e.ID_MENU_LABEL_ALL:t.whichLabeled!==JMP.ViewStatic.WHICH_ALL&&(t.whichLabeled=JMP.ViewStatic.WHICH_ALL,r=!0);break;case e.ID_MENU_LABEL_SELECTED:t.whichLabeled!==JMP.ViewStatic.WHICH_SELECTED&&(t.whichLabeled=JMP.ViewStatic.WHICH_SELECTED,r=!0);break;case e.ID_MENU_LABEL_NONE:t.whichLabeled!==JMP.ViewStatic.WHICH_NONE&&(t.whichLabeled=JMP.ViewStatic.WHICH_NONE,r=!0);break;case e.ID_MENU_TRAIL_BUBBLES_ALL:t.trailBubbles!==JMP.ViewStatic.WHICH_ALL&&(t.trailBubbles=JMP.ViewStatic.WHICH_ALL,r=!0);break;case e.ID_MENU_TRAIL_BUBBLES_SELECTED:t.trailBubbles!==JMP.ViewStatic.WHICH_SELECTED&&(t.trailBubbles=JMP.ViewStatic.WHICH_SELECTED,r=!0);break;case e.ID_MENU_TRAIL_BUBBLES_NONE:t.trailBubbles!==JMP.ViewStatic.WHICH_NONE&&(t.trailBubbles=JMP.ViewStatic.WHICH_NONE,r=!0);break;case e.ID_MENU_TRAIL_LINES_ALL:t.trailLines!==JMP.ViewStatic.WHICH_ALL&&(t.trailLines=JMP.ViewStatic.WHICH_ALL,r=!0);break;case e.ID_MENU_TRAIL_LINES_SELECTED:t.trailLines!==JMP.ViewStatic.WHICH_SELECTED&&(t.trailLines=JMP.ViewStatic.WHICH_SELECTED,r=!0);break;case e.ID_MENU_TRAIL_LINES_NONE:t.trailLines!==JMP.ViewStatic.WHICH_NONE&&(t.trailLines=JMP.ViewStatic.WHICH_NONE,r=!0);break;case e.ID_MENU_SHOW_TIME_LABEL:t.isTimeLabelVisible=!t.isTimeLabelVisible,r=!0;break;case e.ID_MENU_SELECT_ALL:t.selectAll(),r=!0;break;case e.ID_MENU_X_SUM:t.isXMean=!t.isXMean,t.aggregateChanged(e.ROLE_X_NAME_INDEX);break;case e.ID_MENU_Y_SUM:t.isYMean=!t.isYMean,t.aggregateChanged(e.ROLE_Y_NAME_INDEX);break;case e.ID_MENU_COLOR_SUM:t.isColorMean=!t.isColorMean,t.aggregateChanged(e.ROLE_COLOR_NAME_INDEX);break;case e.ID_MENU_SIZE_SUM:t.isSizeMean=!t.isSizeMean,t.aggregateChanged(e.ROLE_SIZE_NAME_INDEX);break;default:r=!1}r&&t.sendEvent(JMP.SegmentStatic.EVENT_SEGMENT_CHANGED)},e.initializeTerms=function(e,t,n,r,i){var s,o,u,a,f,l,h,p,d,v=t.data,m=n.data;e.IDTerm&&(e.NID=Math.max(e.IDTerm.nLevels,1),e.IDModulus=e.NID,c(e.IDSelectedCount,e.NID)),e.ID2Term&&(f=e.ID2Term.nLevels,f>e.IDModulus&&(e.IDModulus=f),c(e.ID2SelectedCount,f)),e.timeMin=1,e.timeTerm?(e.NTime=e.timeTerm.nLevels,e.timeMax=e.NTime,e.xTrail.length=e.NTime+3,e.yTrail.length=e.NTime+3):(e.NTime=1,e.timeMax=1),e.NRow=v.length,a=e.NRow;if(e.IDTerm&&e.columns.rowStates){d=e.columns.rowStates.selectedIndices,a=e.columns.rowStates.nSelectedIndices;for(s=0;s<a;s++)u=d[s],o=e.IDTerm.getScore(u),o>=0&&e.IDSelectedCount[o]++,e.ID2Term&&(o=e.ID2Term.getScore(u),o>=0&&e.ID2SelectedCount[o]++)}if(e.timeTerm){a=e.NTime,c(e.gridTimeCount,a),e.gridTimePos.length=a,a=e.NRow,e.gridTimeRow.length=a;for(s=0;s<a;s++)o=e.timeTerm.getScore(s),o>=0&&e.gridTimeCount[o]++;l=0,a=e.NTime;for(s=0;s<a;s++)e.gridTimePos[s]=l,l+=e.gridTimeCount[s],e.gridTimeCount[s]=0;a=e.NRow;for(s=0;s<a;s++)o=e.timeTerm.getScore(s),o>=0&&(l=e.gridTimePos[o]+e.gridTimeCount[o],e.gridTimeRow[l]=s,e.gridTimeCount[o]++)}else if(e.IDTerm){a=e.NRow,e.gridTimeCount.length=1,e.gridTimePos.length=1,e.gridTimeCount[0]=a,e.gridTimePos[0]=0;for(s=0;s<a;s++)e.gridTimeRow[s]=s}if(e.IDTerm||e.timeTerm)e.IDBubble=new JMP.BubbleGroup(e,e.IDTerm,null,0),e.IDBubble.setupGrid(e.gridTimeCount,e.gridTimePos,!1),r&&(h=r.data),i&&(p=i.data),e.resetGridExtents(),e.IDBubble.fillGrid(v,m,h,p)},function(){var e=0,t,n=["ms","moz","webkit","o"];for(t=0;t<n.length&&!window.requestAnimationFrame;++t)window.requestAnimationFrame=window[n[t]+"RequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(t){var n=(new Date).getTime(),r=Math.max(0,16-(n-e)),i=window.setTimeout(function(){t(n+r)},r);return e=n+r,i})}(),e.play=function(e){var t=e.timePos,n=2,r=.5;t+=e.timeStep,t>e.NTime+n+r&&(t=1),e.timePos=t,e.timeSlider.value=t,e.sendEvent(JMP.SegmentStatic.EVENT_SEGMENT_CHANGED),e.timePos<e.NTime&&JMP.ViewStatic.updateSliderTooltip(e.timeSlider,e.timeLabels[e.timePos-1>>0])},e.initializeControls=function(t){var n,o,u,a,f,l,c,h=null,p=null,d=null,v=null,m=null,g,y,b=null,E=null,x,T,N,C,k=JMP.ViewStatic.setTooltip,L=function(n){var r;if(n.type==="pointerup"||n.type==="click")JMP.ViewStatic.hidePinnedTips(t.canvas),t.isPlaying&&(t.isPlaying=!1,N.src=e.SRC_PLAY_BUTTON,k(E,JMP.BubblePlotSegmentStatic.TIP_START_ANIMATION)),t.timePos++,t.timePos>t.NTime?t.timePos=1:t.timePos=t.timePos>>0,r=document.createEvent("Event"),t.timeSlider.value=t.timePos,r.initEvent("change",!0,!1),JMP.ViewStatic.updateSliderTooltip(t.timeSlider,t.timeLabels[t.timePos-1>>0],r),t.sendEvent(JMP.SegmentStatic.EVENT_SEGMENT_CHANGED)},A=function(n){var r;if(n.type==="pointerup"||n.type==="click")JMP.ViewStatic.hidePinnedTips(t.canvas),t.isPlaying&&(t.isPlaying=!1,N.src=e.SRC_PLAY_BUTTON,k(E,JMP.BubblePlotSegmentStatic.TIP_START_ANIMATION)),t.timePos--,t.timePos<1?t.timePos=t.NTime:t.timePos=t.timePos>>0,r=document.createEvent("Event"),t.timeSlider.value=t.timePos,r.initEvent("change",!0,!1),JMP.ViewStatic.updateSliderTooltip(t.timeSlider,t.timeLabels[t.timePos-1>>0],r),t.sendEvent(JMP.SegmentStatic.EVENT_SEGMENT_CHANGED)},O=function(n){if(n.type==="pointerup"||n.type==="click")t.isPlaying?(t.isPlaying=!1,N.src=e.SRC_PLAY_BUTTON,k(E,JMP.BubblePlotSegmentStatic.TIP_START_ANIMATION)):(JMP.ViewStatic.hidePinnedTips(t.canvas),t.isPlaying=!0,N.src=e.SRC_PAUSE_BUTTON,k(E,JMP.BubblePlotSegmentStatic.TIP_PAUSE_ANIMATION),t.play())},M=function(e,t){JMP.EventFacadeStatic.addEventListener(e,t,undefined,!0)};a=document.getElementsByTagName("input"),o=a.length;for(n=0;n<o;n++){f=a[n];if(f.hasAttribute("type")&&f.getAttribute("type")==="range"&&f.hasAttribute("ownerID")&&+f.getAttribute("ownerID")===t.id&&f.hasAttribute("id")){l=+f.getAttribute("id");switch(l){case r:h=f;break;case i:t.timeSlider=f;break;case s:p=f;break;default:}}}h&&(d=function(e){var n;S(e.type)&&(e.type==="pointerdown"&&(n=h.getBoundingClientRect(),h.value=h.max*(e.clientX-n.left)/(n.right-n.left)),t.sizeScale=+h.value,t.sendEvent(JMP.SegmentStatic.EVENT_SEGMENT_CHANGED),JMP.ViewStatic.updateSliderTooltip(h,(h.value*100/h.max>>0)+"%",e))},JMP.EventFacadeStatic.addEventListener(h,d),k(h,(h.value*100/h.max>>0)+"%"),h.style.width="100%",h.parentNode.parentNode.parentNode.parentNode.style.width="100%",f=h.parentNode.parentNode,f.style.width="100%",f=f.previousSibling.firstChild,k(f,e.TIP_SIZE_SLIDER),f=f.firstChild,c=f.textContent.slice(0,-1)+JMP.ViewStatic.COLON,f.textContent=c),t.timeSlider&&t.timeSlider.addEventListener&&(m=function(e){var n;S(e.type)&&(e.type==="pointerdown"&&(JMP.ViewStatic.hidePinnedTips(t.canvas),n=t.timeSlider.getBoundingClientRect(),t.timeSlider.value=t.timeSlider.max*(e.clientX-n.left)/(n.right-n.left)),t.timePos=+t.timeSlider.value,t.sendEvent(JMP.SegmentStatic.EVENT_SEGMENT_CHANGED),JMP.ViewStatic.updateSliderTooltip(t.timeSlider,t.timeLabels[t.timePos-1>>0],e))},JMP.EventFacadeStatic.addEventListener(t.timeSlider,m),t.timeLabels&&k(t.timeSlider,t.timeLabels[t.timePos-1>>0],undefined,!0),t.timeSlider.style.width="100%",f=t.timeSlider.parentNode.parentNode,f.style.width="100%",f=f.previousSibling.firstChild,k(f,JMP.BubblePlotSegmentStatic.TIP_TIME_SLIDER),f=f.firstChild,c=f.textContent.slice(0,-1)+JMP.ViewStatic.COLON,f.textContent=c),p&&(v=function(e){var n;S(e.type)&&(e.type==="pointerdown"&&(n=p.getBoundingClientRect(),p.value=p.max*(e.clientX-n.left)/(n.right-n.left)),t.timeStep=w(t,+p.value),JMP.ViewStatic.updateSliderTooltip(p,(p.value*100/p.max>>0)+"%",e))},JMP.EventFacadeStatic.addEventListener(p,v),t.timeStep=w(t,+p.value),k(p,(p.value*100/p.max>>0)+"%"),p.style.width="100%",p.parentNode.parentNode.style.width="100%",f=p.parentNode.parentNode,f.style.width="100%",f=f.previousSibling.firstChild,k(f,JMP.BubblePlotSegmentStatic.TIP_SPEED_SLIDER),f=f.firstChild,c=f.textContent.slice(0,-1)+JMP.ViewStatic.COLON,f.textContent=c),g=document.getElementsByTagName("button"),o=g.length;for(n=0;n<o;n++){f=g[n];if(f.hasAttribute("ownerID")&&+f.getAttribute("ownerID")===t.id&&f.hasAttribute("id")){y=+f.getAttribute("id");switch(y){case e.ID_BACK_BUTTON:f.className=f.className.replace("buttonSquare","buttonSquare verticallyCentered"),b=f,f=f.parentNode,f.className=f.className.replace("layoutCell","layoutCellMiddle"),T=document.createElement("IMG"),T.className+=" verticallyCentered",T.src=e.SRC_BACK_BUTTON,b.appendChild(T),k(b,JMP.BubblePlotSegmentStatic.TIP_BACKWARD_ANIMATION);break;case e.ID_PLAY_BUTTON:f.className=f.className.replace("buttonSquare","buttonLargeSquare verticallyCentered spaceLeft"),E=f,f=f.parentNode,f.className=f.className.replace("layoutCell","layoutCellMiddle"),N=document.createElement("IMG"),N.src=e.SRC_PLAY_BUTTON,E.appendChild(N),k(E,JMP.BubblePlotSegmentStatic.TIP_START_ANIMATION);break;case e.ID_STEP_BUTTON:f.className=f.className.replace("buttonSquare","buttonSquare verticallyCentered spaceLeft"),x=f,f=f.parentNode.parentNode,f.className=f.className.replace("layoutCell","layoutCellMiddle"),C=document.createElement("IMG"),C.className+=" verticallyCentered",C.src=e.SRC_STEP_BUTTON,x.appendChild(C),k(x,JMP.BubblePlotSegmentStatic.TIP_FORWARD_ANIMATION);break;case e.ID_SPLIT_BUTTON:f.className=f.className.replace("buttonSquare","buttonText verticallyCentered spaceLeft"),t.splitButton=f,f=f.parentNode,f.className=f.className.replace("layoutCell","layoutCellMiddle"),k(t.splitButton,e.TIP_SPLIT);break;case e.ID_COMBINE_BUTTON:f.className=f.className.replace("buttonSquare","buttonText verticallyCentered spaceLeft"),t.combineButton=f,f=f.parentNode,f.className=f.className.replace("layoutCell","layoutCellMiddle"),k(t.combineButton,e.TIP_COMBINE);break;default:}}}b&&M(b,A),E&&M(E,O),x&&M(x,L),t.splitButton&&t.splitButton.addEventListener("click",function(){JMP.ViewStatic.hidePinnedTips(t.canvas),t.animateSplit()},!1),t.combineButton&&t.combineButton.addEventListener("click",function(){JMP.BubbleGroupStatic.canCombine(t.IDBubble,!1)&&(JMP.ViewStatic.hidePinnedTips(t.canvas),t.animateCombine())},!1),t.IDBubble&&(u=t.timePos-1>>0,u<0?u=0:u>=t.NTime&&(u=t.NTime-1),JMP.BubbleGroupStatic.checkSelected(t.IDBubble,u)),e.updateUI(t)},e.onPointerEvent=function(e,t){var n={},r=!1,i=function(){return e.offset||(e.offset=JMP.SegmentStatic.updateOffset(e.canvas)),{x:t.clientX+window.pageXOffset-e.offset.x,y:t.clientY+window.pageYOffset-e.offset.y}},s=function(t){e.timeLabelOffset.x=t.x+e.dragOffset.x,e.timeLabelOffset.y=t.y+e.dragOffset.y};switch(t.type){case"pointerdown":n=i(),JMP.ViewStatic.pointInRect(n,e.timeLabelBounds)&&(e.dragOffset.x=e.timeLabelOffset.x-n.x,e.dragOffset.y=e.timeLabelOffset.y-n.y,e.isDragging=!0,document.body.className="cursorHandClosed",JMP.EventFacadeStatic.setPreventDefault(e.canvas,e.onPointerEvent,!0),r=!0,e.sendEvent(JMP.SegmentStatic.EVENT_SEGMENT_CHANGED));break;case"pointermove":case"pointerover":n=i(),e.isDragging?(s(n),document.body.className="cursorHandClosed",e.sendEvent(JMP.SegmentStatic.EVENT_SEGMENT_CHANGED)):JMP.ViewStatic.pointInRect(n,e.timeLabelBounds)?document.body.className="cursorHandOpen":document.body.className="cursorArrow";break;case"pointerout":case"pointerup":e.isDragging&&(n=i(),s(n),e.isDragging=!1,document.body.className=t.type==="pointerout"?"cursorArrow":"cursorHandOpen",e.sendEvent(JMP.SegmentStatic.EVENT_SEGMENT_CHANGED),JMP.EventFacadeStatic.setPreventDefault(e.canvas,e.onPointerEvent,!1));break;default:}return r},e.aggregateChanged=function(t,r,i){var s,o,u,a=[],f=t.IDBubble,l,c,h,p,d,v,m;if(!r||!r.isInitialized)return;p=r.xColumn,d=r.yColumn,v=r.sizeColumn,m=r.freqColumn,c=r.xScaling,h=r.yScaling;for(l=0;l<f.NID;l++)f.subBubble[l]&&a.push(l);e.initializeTerms(t,p,d,v,m),a.length>0&&(t.resetGridExtents(),t.split(a),JMP.BubbleGroupStatic.calculateGridExtents(t.IDBubble));switch(i){case e.ROLE_X_NAME_INDEX:t.roleNames.length>0&&(t.roleNames[i].innerHTML=e.ROLE_X_NAME+(t.isXMean?"":" "+e.ROLE_SUM_SUFFIX)),o=t.xMax-t.xMin,o===0?(s=1,u=t.xMin):(s=o*n,u=t.xMin-s),c.scale.type===JMP.ScaleStatic.SCALE_LOG&&u<JMP.SMALL_LOG_VALUE&&(u=Math.max(JMP.SMALL_LOG_VALUE,t.xMin)),o=t.xMax+s-u,JMP.ScaleStatic.updateRange(c.scale,u,o);break;case e.ROLE_Y_NAME_INDEX:t.roleNames.length>0&&(t.roleNames[i].innerHTML=e.ROLE_Y_NAME+(t.isYMean?"":" "+e.ROLE_SUM_SUFFIX)),o=t.yMax-t.yMin,o===0?(s=1,u=t.yMin):(s=o*n,u=t.yMin-s),h.scale.type===JMP.ScaleStatic.SCALE_LOG&&u<JMP.SMALL_LOG_VALUE&&(u=Math.max(JMP.SMALL_LOG_VALUE,t.yMin)),o=t.yMax+s-u,JMP.ScaleStatic.updateRange(h.scale,u,o);break;case e.ROLE_COLOR_NAME_INDEX:t.roleNames.length>0&&(t.roleNames[i].innerHTML=e.ROLE_COLOR_NAME+(t.isColorMean?"":" "+e.ROLE_SUM_SUFFIX)),t.sendEvent(JMP.SegmentStatic.EVENT_SEGMENT_CHANGED);break;case e.ROLE_SIZE_NAME_INDEX:t.roleNames.length>0&&(t.roleNames[i].innerHTML=e.ROLE_SIZE_NAME+(t.isSizeMean?" "+e.ROLE_MEAN_SUFFIX:"")),t.sendEvent(JMP.SegmentStatic.EVENT_SEGMENT_CHANGED);break;default:}},e.animateSplit=function(e){var t=function(){if(e.inflate<.7){e.animateSplitApart(),e.inflate=1;return}e.sendEvent(JMP.SegmentStatic.EVENT_SEGMENT_CHANGED),e.inflate-=.005+(1-e.inflate)*.2,window.requestAnimationFrame(t)};e.inflate=.98,t()},e.animateSplitApart=function(e,t){var n,r,i,s,o,u,a,f,l,c,h,p,d,v,m,g={},y=JMP.ViewStatic.blend,w,E,S=function(){if(e.splitPart>1){e.splitPart=1,e.sendEvent(JMP.SegmentStatic.EVENT_SEGMENT_CHANGED),e.combineButton.disabled=!1,e.splitButton.disabled=!0,e.splitButton.className=e.splitButton.className.replace("buttonDown","buttonUp");return}m=e.splitPart,a&&(u=y(n,i,m),o=y(r,s,m),JMP.ScaleStatic.updateRange(w.scale,o,u)),v&&(d=y(f,c,m),p=y(l,h,m),JMP.ScaleStatic.updateRange(E.scale,p,d)),e.sendEvent(JMP.SegmentStatic.EVENT_SEGMENT_CHANGED),e.splitPart+=.01+(1-e.splitPart)*.05,window.requestAnimationFrame(S)};if(!t)return;w=t.xScaling,E=t.yScaling,e.split(),JMP.ScaleStatic.isGeodesic(w.scale)||JMP.ScaleStatic.isGeodesic(E.scale)?(a=!1,v=!1):(e.isXCategorical?a=!1:(r=w.valueOrigin,n=w.getValueRange(),b(e.xMin,e.xMax,w,g),s=g.origin,i=g.range,a=n>0?s<r||i>n:s>r||i<n),e.isYCategorical?v=!1:(l=E.valueOrigin,f=E.getValueRange(),b(e.yMin,e.yMax,E,g),h=g.origin,c=g.range,v=f>0?h<l||c>f:h>l||c<f)),e.splitPart=0,S()},e.animateCombine=function(e){var t=function(){if(e.splitPart<0){e.splitPart=1,e.combine(),e.pulseCombined();return}e.sendEvent(JMP.SegmentStatic.EVENT_SEGMENT_CHANGED),e.splitPart-=.01+(1-e.splitPart)*.06,window.requestAnimationFrame(t)};e.splitPart=.95,t()},e.shrinkRange=function(e,t){var r,i,s,o,u,a,f,l,c,h,p,d,v,m,g,y,b=JMP.ViewStatic.blend,w,E,S=function(){if(g>=1){g=1,e.sendEvent(JMP.SegmentStatic.EVENT_SEGMENT_CHANGED),e.combineButton.disabled=!0,e.combineButton.className=e.combineButton.className.replace("buttonDown","buttonUp"),e.splitButton.disabled=!1;return}g+=.01+(1-g)*.08,g>1&&(g=1),f&&(a=b(r,s,g),u=b(i,o,g),JMP.ScaleStatic.updateRange(w.scale,u,a)),m&&(v=b(l,h,g),d=b(c,p,g),JMP.ScaleStatic.updateRange(E.scale,d,v)),e.sendEvent(JMP.SegmentStatic.EVENT_SEGMENT_CHANGED),window.requestAnimationFrame(S)};if(!t)return;w=t.xScaling,E=t.yScaling,JMP.ScaleStatic.isGeodesic(w.scale)||JMP.ScaleStatic.isGeodesic(E.scale)?(f=!1,m=!1):(e.isXCategorical?f=!1:(i=w.valueOrigin,r=w.getValueRange(),y=(e.xMax-e.xMin)*n,o=Math.max(e.xMin-y,i),w.scale.type===JMP.ScaleStatic.SCALE_LOG&&o<0&&(o=0),s=Math.min(e.xMax+y,i+r)-o,f=o>i||s<r),e.isYCategorical?m=!1:(c=E.valueOrigin,l=E.getValueRange(),y=(e.yMax-e.yMin)*n,p=Math.max(e.yMin-y,c),E.scale.type===JMP.ScaleStatic.SCALE_LOG&&p<0&&(p=0),h=Math.min(e.yMax+y,c+l)-p,m=p>c||h<l)),g=f||m?0:1,S()},e.pulseCombined=function(e){var t=.03,n=function(){if(e.inflate<1){e.inflate=1,e.sendEvent(JMP.SegmentStatic.EVENT_SEGMENT_CHANGED),e.shrinkRange();return}e.sendEvent(JMP.SegmentStatic.EVENT_SEGMENT_CHANGED),e.inflate+=t,e.inflate>1.14&&(t=-t),window.requestAnimationFrame(n)};e.inflate=1.03,n()},e}(),JMP.BubblePlotSegment=function(e){"use strict";var t=JMP.Segment(e),n,r=function(){return!n&&t.scale[JMP.ColumnsStatic.ROLE_X]&&t.scale[JMP.ColumnsStatic.ROLE_Y]&&(n={isInitialized:!1},JMP.BubblePlotSegmentStatic.getCache(t,n)),n};return t.id=-1,t.colorTerm=undefined,t.IDTerm=undefined,t.timeTerm=undefined,t.NTime=1,t.timePos=0,t.timeMin=1,t.timeMax=1,t.NID=0,t.NIDModulus=1,t.gridTimeCount=[],t.gridTimePos=[],t.gridTimeRow=[],t.gridRow=[],t.gridRowTemp=[],t.IDSelectedCount=[],t.ID2SelectedCount=[],t.IDBubble=undefined,t.sizeMin=0,t.sizeMax=0,t.sizeScale=1,t.timeLabels=undefined,t.timeLabelXOffset=undefined,t.timeLabelYOffset=undefined,t.isTimeLabelVisible=!0,t.timeLabelOffset={x:0,y:0},t.timeLabelBounds={x:0,y:0,w:-1,h:-1},t.isDragging=!1,t.dragOffset={x:0,y:0},t.xOffset=undefined,t.yOffset=undefined,t.isFilled=!0,t.isOutlined=!1,t.isXMean=!0,t.isYMean=!0,t.isSizeMean=!0,t.isColorMean=!0,t.isSelectableAcrossGaps=!1,t.whichLabeled=JMP.ViewStatic.WHICH_SELECTED,t.trailBubbles=JMP.ViewStatic.WHICH_NONE,t.trailLines=JMP.ViewStatic.WHICH_NONE,t.xTrail=[],t.yTrail=[],t.lineWidthScale=1,t.timeSlider=undefined,t.isPlaying=!1,t.timeStep=.1,t.delay=1,t.splitBubbles=undefined,t.splitButton=undefined,t.combineButton=undefined,t.roleNames=[],t.isRoleDirty=!1,t.xMin=0,t.xMax=0,t.yMin=0,t.yMax=0,t.splitPart=1,t.inflate=1,t.isXCategorical=!1,t.isYCategorical=!1,t.draw=function(){JMP.BubblePlotSegmentStatic.draw(t,r())},t.aggregateChanged=function(e){JMP.BubblePlotSegmentStatic.aggregateChanged(t,r(),e)},t.play=function(){setTimeout(function(){window.requestAnimationFrame(t.play),t.isPlaying&&JMP.BubblePlotSegmentStatic.play(t)},t.delay*20)},t.select=function(e,n){JMP.BubblePlotSegmentStatic.select(t,r(),e,n),JMP.BubblePlotSegmentStatic.updateUI(t)},t.selectAll=function(){n=r(),n&&n.rowStates&&n.rowStates.selectAll(),JMP.BubblePlotSegmentStatic.updateUI(t)},t.getTooltip=function(e,n){return t.isPlaying?null:JMP.BubblePlotSegmentStatic.getTooltip(t,r(),{x:e,y:n})},t.animateSplit=function(){JMP.BubblePlotSegmentStatic.animateSplit(t)},t.animateSplitApart=function(){JMP.BubblePlotSegmentStatic.animateSplitApart(t,r())},t.animateCombine=function(){JMP.BubblePlotSegmentStatic.animateCombine(t)},t.shrinkRange=function(){JMP.BubblePlotSegmentStatic.shrinkRange(t,r())},t.pulseCombined=function(){JMP.BubblePlotSegmentStatic.pulseCombined(t)},t.resetGridExtents=function(){t.xMin=Number.MAX_VALUE,t.yMin=Number.MAX_VALUE,t.xMax=-Number.MAX_VALUE,t.yMax=-Number.MAX_VALUE},t.split=function(e){var r,i,s,o,u,a;if(!n||!n.isInitialized)return;s=n.xData,o=n.yData,u=n.sizeData,a=n.freqData;if(e){i=e.length;if(i===t.NID)JMP.BubbleGroupStatic.split(t.IDBubble,!0,undefined,s,o,u,a);else for(r=0;r<i;r++)JMP.BubbleGroupStatic.split(t.IDBubble,!1,e[r],s,o,u,a)}else JMP.BubbleGroupStatic.split(t.IDBubble,!1,undefined,s,o,u,a)},t.combine=function(e){var n,r;if(e){r=e.length;if(r===t.NID)JMP.BubbleGroupStatic.combine(t.IDBubble,!0);else for(n=0;n<r;n++)JMP.BubbleGroupStatic.combine(t.IDBubble,!1,e[n])}else JMP.BubbleGroupStatic.combine(t.IDBubble,!1);t.resetGridExtents(),JMP.BubbleGroupStatic.calculateGridExtents(t.IDBubble)},t.menuProvider=function(){return JMP.BubblePlotSegmentStatic.menuProvider(t)},t.menuHandler=function(e){n=r(),n&&n.isInitialized&&JMP.BubblePlotSegmentStatic.menuHandler(t,e)},t.onPointerEvent=function(e){return JMP.BubblePlotSegmentStatic.onPointerEvent(t,e)},JMP.EventFacadeStatic.addEventListener(e,t.onPointerEvent),t},JMP.EventFacadeStatic=function(){"use strict";var e={},t=[],n=[],r=[],i=[],s=!1,o,u;return e.isTouch=!1,e.isIOS=function(){return navigator.userAgent.match(/iPad/i)!==null||navigator.userAgent.match(/iPhone/i)!==null},e.getEventParameter=function(e,n){var i=t.indexOf(e),s=n!==undefined?n:0;return i>=0?r[i][s]:undefined},e.addEventListener=function(s,o,u,a){var f,l,c,h=t.indexOf(s);h>=0?(f=n[h],l=r[h],c=i[h],h=f.indexOf(o),h<0&&(f.push(o),l.push(u),c.push(a))):(t.push(s),n.push([o]),r.push([u]),i.push([a]),s.addEventListener("mousedown",e.dispatchEvent),s.addEventListener("mouseup",e.dispatchEvent),s.addEventListener("mousemove",e.dispatchEvent),s.addEventListener("mouseover",e.dispatchEvent),s.addEventListener("mouseout",e.dispatchEvent),s.addEventListener("touchstart",e.dispatchEvent),s.addEventListener("touchmove",e.dispatchEvent),s.addEventListener("touchend",e.dispatchEvent),s.addEventListener("touchcancel",e.dispatchEvent),s.addEventListener("focus",e.dispatchEvent),s.addEventListener("blur",e.dispatchEvent),s.addEventListener("input",e.dispatchEvent),s.addEventListener("change",e.dispatchEvent),s.addEventListener("keydown",e.dispatchEvent),s.addEventListener("click",e.dispatchEvent))},e.removeEventListener=function(s,o){var u,a,f,l=t.indexOf(s);l>=0&&(u=n[l],a=r[l],f=i[l],l=u.indexOf(o),l>=0&&(u.splice(l,1),a.splice(l,1),f.splice(l,1),u.length<=0&&(t.splice(l,1),n.splice(l,1),s.removeEventListener("mousedown",e.dispatchEvent),s.removeEventListener("mouseup",e.dispatchEvent),s.removeEventListener("mousemove",e.dispatchEvent),s.removeEventListener("mouseover",e.dispatchEvent),s.removeEventListener("mouseout",e.dispatchEvent),s.removeEventListener("touchstart",e.dispatchEvent),s.removeEventListener("touchmove",e.dispatchEvent),s.removeEventListener("touchend",e.dispatchEvent),s.removeEventListener("touchcancel",e.dispatchEvent),s.removeEventListener("focus",e.dispatchEvent),s.removeEventListener("blur",e.dispatchEvent),s.removeEventListener("input",e.dispatchEvent),s.removeEventListener("change",e.dispatchEvent),s.removeEventListener("keydown",e.dispatchEvent),s.removeEventListener("click",e.dispatchEvent))))},e.dispatchEvent=function(a){var f,l,c,h,p,d,v,m,g,y=a.type,b,w=!1,E=!1;d=t.indexOf(a.currentTarget);if(!a.button&&d>=0){y==="touchstart"&&(e.isTouch=!0);switch(y){case"mousedown":case"touchstart":b="pointerdown";break;case"mouseup":case"touchend":b="pointerup";break;case"mousemove":case"touchmove":b="pointermove";break;case"mouseover":b="pointerover";break;case"mouseout":b="pointerout";break;case"touchcancel":b="pointercancel";break;default:}E=JMP.ViewStatic.isControl(a.target),c=n[d],h=r[d],p=i[d],l=c.length;for(f=0;f<l&&!w;f++){o=document.createEvent("Event"),o.ctrlKey=a.ctrlKey,o.metaKey=a.metaKey,o.shiftKey=a.shiftKey,o.preventDefault=a.preventDefault,o.pointerTarget=a.target;switch(y){case"mousedown":case"mouseup":case"mousemove":case"mouseover":case"mouseout":s||(o.initEvent(b,!0,!0),o.identifier=0,o.clientX=a.clientX,o.clientY=a.clientY,w=c[f](o,h[f]));break;case"touchstart":case"touchmove":case"touchend":case"touchcancel":s=!0,(p[f]||!E&&JMP.ViewStatic.focusMode!==JMP.ViewStatic.FOCUS_REPORT)&&a.preventDefault(),o.initEvent(b,!0,!0),m=a.changedTouches.length;for(v=0;v<m;v++)g=a.changedTouches[v],o.identifier=g.identifier,o.clientX=g.clientX,o.clientY=g.clientY,w=c[f](o,h[f]);break;case"focus":case"blur":case"input":case"change":case"keydown":w=c[f](a,h[f]);break;case"click":u!=="mouseup"&&(w=c[f](a,h[f]));break;default:}}u=y}},e.setPreventDefault=function(e,r,s){var o,u,a=t.indexOf(e);a>=0&&(o=n[a],u=i[a],a=o.indexOf(r),a>=0&&(u[a]=s))},e}(),JMP.FrameBoxStatic=function(){"use strict";var e={},t={},n=64;return e.isBrushExtending=!0,e.HANDLE_SIZE=5,e.nHandles=function(){var e=0;return t.NE!==undefined&&e++,t.SE!==undefined&&e++,t.NW!==undefined&&e++,t.SW!==undefined&&e++,e},e.getHandleById=function(e){var n;return e!==undefined&&(t.NE===e?n="NE":t.SE===e?n="SE":t.NW===e?n="NW":t.SW===e&&(n="SW")),n},e.setHandleId=function(e,n){e&&(t[e]=n)},e.setOppositeHandleIds=function(e,n,r){e.x<n.x?e.y<n.y?t.NW=r:(t.SW=r,t.NE=t.SE,t.SE=undefined):e.y<n.y?(t.NE=r,t.SW=t.SE,t.SE=undefined):(t.NW=t.SE,t.SE=r)},e.isValidBrush=function(e){return e.w*e.w>=n&&e.h*e.h>=n},e.whichHandle=function(e,t){var n,r=JMP.FrameBoxStatic.HANDLE_SIZE/2,i,s,o,u,a=t.x,f=t.y,l=t.w,c=t.h;return i=JMP.ViewStatic.FUZZ_PIXELS,JMP.ViewStatic.pointInRect(e,t)&&(i=Math.min(i,Math.min(l,c)/2-r)),s=i*i,e.x-a<a+l-e.x?(o=a+r-e.x,e.y-f<f+c-e.y?(u=f+r-e.y,n="NW"):(u=f+c-r-e.y,n="SW")):(o=a+l-r-e.x,e.y-f<f+c-e.y?(u=f+r-e.y,n="NE"):(u=f+c-r-e.y,n="SE")),o*o+u*u<s?n:undefined},e.draw=function(t){var n=t.g,r=t.padTop,i=t.padBottom,s=t.padLeft,o=t.padRight,u=t.fillColor,a=t.lineColor,f=t.contents,l=t.isBorderTop,c=t.isBorderBottom,h=t.isBorderLeft,p=t.isBorderRight,d=t.isTransparent,v={x:(t.x>>0)+.5,y:(t.y>>0)+.5,w:t.width-1,h:t.height-1},m={x:(t.x+t.brush.x>>0)+.5,y:(t.y+t.brush.y>>0)+.5,w:t.brush.w,h:t.brush.h},g,y,b,w=v.y-r,E=v.y+v.h+i,S=v.x-s,x=v.x+v.w+o,T,N,C,k,L,A;if(!f||f.length===0)return;n.lineWidth=1;if(d){b=!0,y=f.length;for(g=0;g<y&&b;g++)b=f[g].isEmpty();b||n.clearRect(S+.5,w+.5,x-S-1,E-w-1)}else n.fillStyle=u!==undefined?u:JMP.COLOR_WHITE,n.fillRect(S,w,x-S,E-w);l=l!==undefined?l:!0,c=c!==undefined?c:!0,h=h!==undefined?h:!0,p=p!==undefined?p:!0,!d&&(l||c||h||p)&&(n.strokeStyle=a!==undefined?a:JMP.COLOR_LINE,l&&c&&h&&p?n.strokeRect(S,w,x-S,E-w):(n.beginPath(),l&&(n.moveTo(S,w),n.lineTo(x,w)),c&&(n.moveTo(S,E),n.lineTo(x,E)),h&&(n.moveTo(S,E),n.lineTo(S,w)),p&&(n.moveTo(x,E),n.lineTo(x,w)),n.stroke())),n.save(),n.beginPath(),n.rect(S+.5,w+.5,x-S-1,E-w-1),n.clip(),y=f.length;for(g=0;g<y;g++)f[g].draw();e.isValidBrush(m)&&(A=n.globalAlpha,n.globalAlpha=.5,n.lineWidth=1,n.strokeStyle="#2070a0",T=m.w>0?m.x:m.x+m.w,N=m.h>0?m.y:m.y+m.h,C=(m.w>0?m.w:-m.w)-1,k=(m.h>0?m.h:-m.h)-1,n.strokeRect(T,N,C,k),n.fillStyle=n.strokeStyle,L=e.HANDLE_SIZE-1,n.fillRect(T+.5,N+.5,L,L),n.fillRect(T+C-.5-L,N+.5,L,L),n.fillRect(T+.5,N+k-.5-L,L,L),n.fillRect(T+C-.5-L,N+k-.5-L,L,L),n.globalAlpha=A),n.restore(),t.sendEvent(JMP.SegmentStatic.EVENT_DRAWING_COMPLETE)},e.onPointerDown=function(e,t,n){var r=!1,i=JMP.ViewStatic.FUZZ_PIXELS,s={},o={};return s.x=t.x,s.y=t.y-i/2,s.w=t.w,s.h=t.h+i,o.x=t.x-i/2,o.y=t.y,o.w=t.w+i,o.h=t.h,t.w!==0&&t.h!==0&&(JMP.ViewStatic.pointInRect(e,s)||JMP.ViewStatic.pointInRect(e,o))?(n.x=e.x-t.x,n.y=e.y-t.y):(t.x=e.x,t.y=e.y,t.w=0,t.h=0,r=!0),r},e.onPointerMove=function(e,t,r,i,s,o){var u=!1;if(s){switch(e){case"NW":r.w+=r.x-t.x,r.x=t.x,r.h+=r.y-t.y,r.y=t.y;break;case"SW":r.w+=r.x-t.x,r.x=t.x,r.h=t.y-r.y;break;case"NE":r.w=t.x-r.x,r.h+=r.y-t.y,r.y=t.y;break;case"SE":r.w=t.x-r.x,r.h=t.y-r.y;break;default:}r.w*r.w>=n&&r.h*r.h>=n&&(u=!0)}else o&&(r.x=t.x-i.x,r.y=t.y-i.y,u=!0);return u},e.getTooltip=function(e,t){var n,r,i,s=null,o=Number.MAX_VALUE,u=Number.MAX_VALUE,a=e.x,f=e.y,l;r=t?t.length:0;for(n=0;n<r;n++)l=t[n],i=l.getTooltip(a+l.x,f+l.y),i&&JMP.ViewStatic.isTooltipCloser(u,o,i.area,i.distance)&&(o=i.distance,u=i.area,s=i);return s},e}(),JMP.FrameBox=function(e){"use strict";var t=JMP.Segment(e),n={x:-1,y:-1};return t.fillColor=JMP.COLOR_WHITE,t.lineColor=JMP.COLOR_LINE,t.isTransparent=!1,t.isBorderTop=!1,t.isBorderBottom=!1,t.isBorderLeft=!1,t.isBorderRight=!1,t.isButtonDown=!1,t.isSizing=!1,t.isMoving=!1,t.xAddend=0,t.yAddend=0,t.brush={x:-1,y:-1,w:0,h:0},t.brushOffset={x:0,y:0},t.isSelectionChanged=!1,t.isBrushingEnabled=!0,t.onRowStatesEvent=function(e){var n=e;n=t.brush,(!t.columns.rowStates||t.columns.rowStates.nSelectedIndices===0)&&!t.isButtonDown&&!t.isSizing&&(n.x=-1,n.y=-1,n.w=0,n.h=0,t.isSizing=!1,t.isMoving=!1),t.draw()},t.draw=function(){JMP.FrameBoxStatic.draw(t)},t.onPointerEvent=function(e){var r,i=t.brush,s=t.brushOffset,o=t.columns.rowStates,u=t.isSizing||t.isMoving,a=!1,f=!1,l,c,h,p,d={x:e.clientX,y:e.clientY},v,m,g,y,b;JMP.SegmentStatic.convertToSegmentCoordinates(t,d),r=JMP.SegmentStatic.isInBounds(t,d),l=JMP.FrameBoxStatic.getHandleById(e.identifier),c=JMP.FrameBoxStatic.whichHandle(d,i);switch(e.type){case"pointerdown":t.isButtonDown=!0,JMP.ViewStatic.focusMode===JMP.ViewStatic.FOCUS_REPORT&&(f=!0),r?(o&&JMP.ViewStatic.selectMode!==JMP.ViewStatic.SELECT_TOGGLE&&!JMP.ViewStatic.pointInRect(d,i)&&(o.nSelectedIndices=0,o.sendEvent(JMP.RowStatesStatic.EVENT_SELECTED)),JMP.ViewStatic.focusMode===JMP.ViewStatic.FOCUS_DATA?(l=c,l?(t.isSizing=!0,JMP.FrameBoxStatic.setHandleId(l,e.identifier)):t.isSizing&&(i.w=d.x-i.x,i.h=d.y-i.y,JMP.FrameBoxStatic.setOppositeHandleIds(d,i,e.identifier)),t.isSizing||(a=JMP.FrameBoxStatic.onPointerDown(d,i,s),a?(t.isSizing=!0,JMP.FrameBoxStatic.setHandleId("SE",e.identifier)):t.isMoving=!0)):a=JMP.FrameBoxStatic.onPointerDown(d,i,s)):(i.x=-1,i.y=-1,i.w=0,i.h=0,t.isSizing=!1,t.isMoving=!1);break;case"pointermove":if(JMP.ViewStatic.focusMode===JMP.ViewStatic.FOCUS_REPORT)f=!0,n.x=d.x,n.y=d.y;else if(r){t.isSizing&&JMP.FrameBoxStatic.nHandles()===1&&c?(JMP.FrameBoxStatic.setHandleId(l,undefined),l=c,JMP.FrameBoxStatic.setHandleId(l,e.identifier)):u||(l=c);if(t.isBrushingEnabled&&o){switch(l){case"NW":case"SE":h="cursorNWSE";break;case"NE":case"SW":h="cursorNESW";break;default:h="cursorArrow"}document.body.className=h}u&&(a=JMP.FrameBoxStatic.onPointerMove(l,d,i,s,t.isSizing,t.isMoving))}break;case"pointerup":t.isButtonDown=!1,JMP.FrameBoxStatic.setHandleId(l,undefined),u&&(a=JMP.FrameBoxStatic.onPointerMove(l,d,i,s,t.isSizing,t.isMoving),JMP.FrameBoxStatic.isValidBrush(i)?a=!0:(i.x=-1,i.y=-1,i.w=0,i.h=0),t.isSizing=!1,t.isMoving=!1),r&&o&&JMP.ViewStatic.selectMode===JMP.ViewStatic.SELECT_TOGGLE&&!t.isSelectionChanged&&!JMP.FrameBoxStatic.isValidBrush(i)&&(o.nSelectedIndices=0,o.sendEvent(JMP.RowStatesStatic.EVENT_SELECTED));break;case"pointerout":t.isButtonDown=!1,JMP.FrameBoxStatic.setHandleId(l,undefined);if(JMP.ViewStatic.focusMode===JMP.ViewStatic.FOCUS_REPORT){if(d.x!==n.x||d.y!==n.y)f=!0}else u&&(a=JMP.FrameBoxStatic.onPointerMove(l,d,i,s,t.isSizing,t.isMoving),JMP.FrameBoxStatic.isValidBrush(i)?a=!0:(i.x=-1,i.y=-1,i.w=0,i.h=0),t.isSizing=!1,t.isMoving=!1);break;case"pointerover":JMP.ViewStatic.focusMode===JMP.ViewStatic.FOCUS_REPORT&&(f=!0,n.x=d.x,n.y=d.y);break;case"pointercancel":t.isButtonDown=!1,JMP.FrameBoxStatic.setHandleId(l,undefined);break;default:}a&&(o&&(p=o.nSelectedIndices),JMP.ViewStatic.normalizeRect(i),JMP.ViewStatic.selectMode===JMP.ViewStatic.SELECT_TOGGLE?JMP.FrameBoxStatic.isValidBrush(i)?t.select(i,JMP.FrameBoxStatic.isBrushExtending?JMP.ViewStatic.SELECT_EXTEND:JMP.ViewStatic.SELECT_REDUCE):t.select(i,JMP.ViewStatic.SELECT_TOGGLE):t.select(i,JMP.ViewStatic.SELECT_ONLY),o&&(t.isSelectionChanged=p!==o.nSelectedIndices));if(o&&e.type==="pointerup")if(JMP.FrameBoxStatic.isBrushExtending){b=!0,g=t.contents,m=g.length;for(v=0;v<m&&b;v++)y=g[v],b=y.areAllVisibleSelected();b&&(JMP.FrameBoxStatic.isBrushExtending=!1)}else o.nSelectedIndices===0&&(JMP.FrameBoxStatic.isBrushExtending=!0);f&&(e.type==="pointerout"?JMP.ViewStatic.updateTooltip():r&&!u&&(d.x-=t.xAddend/2,d.y-=t.yAddend/2,JMP.ViewStatic.updateTooltip(e,JMP.FrameBoxStatic.getTooltip(d,t.contents))))},t.onSegmentEvent=function(e){switch(e.type){case JMP.SegmentStatic.EVENT_SEGMENT_CHANGED:t.draw();break;default:}},t.select=function(e,n){var r,i,s=t.contents,o,u={x:0,y:0,w:0,h:0},a=n!==undefined?n:JMP.ViewStatic.SELECT_ONLY,f,l,c,h=t.columns.rowStates,p,d=a===JMP.ViewStatic.SELECT_ONLY&&h;if(!e){t.brush.x=-1,t.brush.y=-1,t.brush.w=0,t.brush.h=0,t.isSizing=!1,t.isMoving=!1,t.isBrushingEnabled&&t.draw();return}t.brush.x=e.x<1-t.padLeft?1-t.padLeft:e.x>t.width+t.padRight-1-e.w?t.width+t.padRight-1-e.w:e.x,t.brush.y=e.y<1-t.padTop?1-t.padTop:e.y>t.height+t.padBottom-1-e.h?t.height+t.padBottom-1-e.h:e.y,t.brush.w=e.w,t.brush.h=e.h,o=t.isSizing,t.isSizing=!0,p=h?h.nSelectedIndices:0,d&&(h.nSelectedIndices=0),l=t.brush.x-t.xAddend/2,c=t.brush.y-t.yAddend/2,u.w=e.w,u.h=e.h,i=s.length;for(r=0;r<i;r++)f=s[r],u.x=l+f.x,u.y=c+f.y,f.select(u,a);(t.isSizing||t.isMoving)&&(!h||h.nSelectedIndices===p)&&t.draw(),t.isSizing=o},t.getTooltip=function(e,n){return JMP.FrameBoxStatic.getTooltip({x:e,y:n},t.contents)},t},JMP.GridReferenceSegmentStatic=function(){"use strict";var e={},t=.25,n=10,r=80,i=JMP.ViewStatic.isBetween,s=JMP.ScalingStatic.geodesicValuesToPixel,o=JMP.ScalingStatic.geodesicPixelToValues,u=function(e){return i(e.origin,-r,r)&&i(e.origin+e.range,-r,r)},a=function(e
,t,n,r,i,s){var o,u;if(r===undefined){u=t.length,e.moveTo(t[0],n[0]);for(o=1;o<u;o++)e.lineTo(t[o],n[o])}else JMP.LineSegmentStatic.drawLine(e,t,n,r,i,s)},f=function(e,n,r,i,o,u,f,l){var c,h,p,d,v,m,g,y,b=[],w=[],E={},S={},x=!1,T;if(n){c=r,v=i.pixelRange*t>>0,h=-90,m=180/v,d=0;for(p=0;p<v;p++)JMP.ScalingStatic.getCompactUSInset({x:c,y:h},E,S,!0)!==0?(x?y=s(i,o,c,h):(T=E.y+E.h,y=s(i,o,c,E.y),x=!0),b[d]=y.x,w[d]=y.y,d++):x&&d>0&&(y=s(i,o,c,T),b[d]=y.x,w[d]=y.y,x=!1,a(e,b,w,u,f,l),d=0,b.length=0,w.length=0),h+=m}else{h=r,v=o.pixelRange*t>>0,c=-180,g=360/v,d=0;for(p=0;p<v;p++)JMP.ScalingStatic.getCompactUSInset({x:c,y:h},E,S,!0)!==0?(y=s(o,i,x?c:E.x,h),x=!0,b[d]=y.x,w[d]=y.y,d++):x&&d>0&&(y=s(o,i,E.x+E.w,h),x=!1,b[d]=y.x,w[d]=y.y,a(e,b,w,u,f,l),d=0,b.length=0,w.length=0),c+=g}},l=function(e,o,l,c,h,p,d,v){var m,g,y,b,w,E,S,x,T,N,C,k,L=[],A=[],O={},M={},_=!1,D,P=c.scale.type===JMP.ScaleStatic.SCALE_GEODESIC_US&&h&&h.scale.type===JMP.ScaleStatic.SCALE_GEODESIC_US,H=!1,B=!1,j=!1;if(o){m=l,w=Math.abs(h.pixelRange*t)>>0,N=h.scale.range,Math.abs(N)<n&&u(h.scale)?(x=2*N/w,g=h.scale.origin-N/2,j=!0):(g=-90,x=180/w),w++,b=0;for(y=0;y<w;y++)k=s(c,h,m,g),P&&(H=JMP.ScalingStatic.getCompactUSInset({x:m,y:g},O,M,!0)!==0,B=JMP.ScalingStatic.getCompactUSInset({x:m,y:g},O,M,!1)!==0,H||B?_||(B&&(k=s(c,h,m,M.y),L[b]=k.x,A[b]=k.y),a(e,L,A,p,d,v),_=!0):_&&(b=0,L.length=0,A.length=0,_=!1)),L[b]=k.x,A[b]=k.y,b++,g+=x}else{g=l,w=Math.abs(h.pixelRange*t)>>0,C=h.scale.range,Math.abs(C)<n&&i(g,-r,r)?(T=2*C/w,m=h.scale.origin-C/2,j=!0):(D=h.scale.origin+C/2,m=D-180+1e-4,T=359.9998/w),w++,b=0;for(y=0;y<w;y++)k=s(h,c,m,g),P&&(H=JMP.ScalingStatic.getCompactUSInset({x:m,y:g},O,M,!0)!==0,B=JMP.ScalingStatic.getCompactUSInset({x:m,y:g},O,M,!1)!==0,H||B?_||(B&&(k=s(h,c,M.x,g),L[b]=k.x,A[b]=k.y),a(e,L,A,p,d,v),_=!0):(_&&(b=0,L.length=0,A.length=0,_=!1),y===0&&(E=k.x,S=k.y))),L[b]=k.x,A[b]=k.y,b++,m+=T;j||(L[b]=E,A[b]=S)}a(e,L,A,p,d,v),P&&f(e,o,l,c,h,p,d,v)},c=function(e,t,r,s,o,a,f,c,h,p,d,v,m){var g,y,b,w,E=t+.5>>0,S=r+.5>>0,x=s-1>>0,T=o-1>>0,N,C,k,L=1e3*JMP.MAC_EPS*(s+o),A=e.globalAlpha,O=h===undefined,M=p===undefined,_=O?JMP.COLOR_LINE:h,D=M?JMP.COLOR_LINE:p,P,H,B,j,F,I,q,R,U=v&&JMP.ScaleStatic.isGeodesic(d.scale,v.scale);e.lineWidth=1;if(U){H=a?180:90,P=d.scale.widthMajor,Math.abs(d.scale.range)<n&&Math.abs(v.scale.range)<n&&(!a||u(v.scale))?(b=d.scale.origin,w=b+d.scale.range):(b=a?-180:-90,w=a?180:90);if(c){M&&(e.globalAlpha=.16),e.beginPath(),e.strokeStyle=D,j=d.scale.nMinor+1,F=P/j;for(B=0;B<=H;B+=P){if(i(B,b,w))for(g=1;g<j;g++)l(e,a,B+F*g,d,v);if(i(-B,b,w))for(g=1;g<j;g++)l(e,a,-B-F*g,d,v)}e.stroke(),e.closePath(),M&&(e.globalAlpha=A)}if(f){O&&(e.globalAlpha=.32),e.beginPath(),e.strokeStyle=_;for(B=0;B<=H;B+=P)i(B,b,w)&&l(e,a,B,d,v),i(B*-1,b,w)&&l(e,a,-B,d,v);e.stroke(),e.closePath(),O&&(e.globalAlpha=A)}}else{I=m>0,d.scale.tickOrigins&&(q=d.scale.tickOrigins[m]),d.scale.tickSpans&&(R=d.scale.tickSpans[m]),k=JMP.AxisBoxStatic.getTickValuesAndPositions({x:E,y:S,w:x,h:T},d,undefined,a,!1,m,I,q,R),y=k.length;if(a)for(g=0;g<y;g++)k[g].x=(k[g].x>>0)+.5;else for(g=0;g<y;g++)k[g].y=(k[g].y>>0)+.5;if(c){M&&(e.globalAlpha=.16),e.beginPath(),e.strokeStyle=D;for(g=0;g<y;g++)k[g].isMajor||(N=k[g].x,C=k[g].y,JMP.ViewStatic.pointInRect({x:N,y:C},{x:t,y:r,w:s,h:o},-L)&&(e.moveTo(N,C),e.lineTo(a?N:N-x,a?C+T:C)));e.stroke(),e.closePath(),M&&(e.globalAlpha=A)}if(f){O&&(e.globalAlpha=.32),e.beginPath(),e.strokeStyle=_;for(g=0;g<y;g++)k[g].isMajor&&(N=k[g].x,C=k[g].y,JMP.ViewStatic.pointInRect({x:N,y:C},{x:t,y:r,w:s,h:o},-L)&&(e.moveTo(N,C),e.lineTo(a?N:N-x,a?C+T:C)));e.stroke(),e.closePath(),O&&(e.globalAlpha=A)}}},h=function(e,t,n,r,i,s,o,u){var a=t+.5>>0,f=n+.5>>0,c=r-1>>0,h=i-1>>0,p,d,v,m=o.scale.refValues,g=o.scale.refMaxValues,y=o.scale.refColors,b=o.scale.refStyles,w=o.scale.refWidths,E=o.scale.refAlphas,S=o.scale.refIsEditable,x,T=m?m.length:0,N=e.globalAlpha,C=1,k,L,A,O;if(u&&JMP.ScaleStatic.isGeodesic(o.scale,u.scale))for(x=0;x<T;x++)l(e,s,+m[x],o,u,w?w[x]:1,y?y[x]:JMP.COLOR_BLACK,b?b[x]:JMP.LineSegmentStatic.PATTERN_SOLID);else for(x=0;x<T;x++)isNaN(m[x])||(C=1,E&&E[x]&&(C=E[x]),C<1&&(e.globalAlpha=C),p=s?JMP.ScalingStatic.valueToPixel(o,m[x]):a+c,d=s?f:JMP.ScalingStatic.valueToPixel(o,m[x]),v=w?w[x]:1,S&&S[x]!==undefined&&b[x]===JMP.LineSegmentStatic.PATTERN_DOT?(e.setLineDash([1,1]),e.strokeStyle=y[x],e.beginPath(),s?(e.moveTo((p>>0)+.5,d),e.lineTo((p>>0)+.5,d+h)):(e.moveTo(p-c,(d>>0)+.5),e.lineTo(p,(d>>0)+.5)),e.stroke(),e.setLineDash([])):g&&g[x]!==undefined?(s?(p>>=0,k=JMP.ScalingStatic.valueToPixel(o,g[x])>>0,O=k-p+1,A=h):(p-=c,d>>=0,L=JMP.ScalingStatic.valueToPixel(o,g[x])>>0,O=c,A=d-L+1,d=L),e.fillStyle=y[x],e.fillRect(p,d,O,A)):(s?p=v%2===1?(p>>0)+.5:p+.5>>0:d=v%2===1?(d>>0)+.5:d+.5>>0,JMP.LineSegmentStatic.drawLine(e,[p,s?p:p-c],[d,s?d+h:d],v,y?y[x]:JMP.COLOR_BLACK,b?b[x]:JMP.LineSegmentStatic.PATTERN_SOLID,C,JMP.LineSegmentStatic.TYPE_LINE,JMP.LineSegmentStatic.CONNECT_NONE,!s,s)),C<1&&(e.globalAlpha=N))};return e.getCache=function(e,t){var n=[],r;e.scale&&(r=e.scale[JMP.ColumnsStatic.ROLE_X],r&&(n[JMP.ColumnsStatic.ROLE_X]=e.isHorizontal?JMP.Scaling(r,(e.y+e.height-1>>0)+.5,1-e.height):JMP.Scaling(r,(e.x>>0)+.5,e.width-1)),r=e.scale[JMP.ColumnsStatic.ROLE_Y],r&&(n[JMP.ColumnsStatic.ROLE_Y]=e.isHorizontal?JMP.Scaling(r,(e.x>>0)+.5,e.width-1):JMP.Scaling(r,(e.y+e.height-1>>0)+.5,1-e.height))),t.scaling=n},e.draw=function(e,t){var n=e.g,r=e.x,i=e.y,s=e.width,o=e.height,u=e.isHorizontal,a=e.showReference,f=e.showMajorGridsX,l=e.showMinorGridsX,p=e.majorGridColorsX,d=e.minorGridColorsX,v=e.showMajorGridsY,m=e.showMinorGridsY,g=e.majorGridColorsY,y=e.minorGridColorsY,b=e.xAddend,w=e.yAddend,E=t.scaling[JMP.ColumnsStatic.ROLE_X],S=t.scaling[JMP.ColumnsStatic.ROLE_Y],x,T;if(E&&E.scale){T=f?f.length:0;for(x=0;x<T;x++)c(n,r,i-w/2,s,o+w,!u,f[x],l[x],p[x],d[x],E,S,x);a&&h(n,r,i-w/2,s,o+w,!u,E,S)}if(S&&S.scale){T=v?v.length:0;for(x=0;x<T;x++)c(n,r-b/2,i,s+b,o,u,v[x],m[x],g[x],y[x],S,E,x);a&&h(n,r-b/2,i,s+b,o,u,S,E)}},e.getTooltip=function(e,t,n,r){var i,u,a,f,l,c,h,p,d,v=6,m={lines:[],distance:v,area:2},g={lines:[],distance:v,area:2},y,b,w,E,S,x,T,N,C,k,L,A,O,M,_,D,P=e.isHorizontal,H=t.scaling,B=!1,j=[];y=function(){var e=JMP.ScalingStatic.valueToPixel(h,l[i])-n;return e*e},b=function(){var e=JMP.ScalingStatic.valueToPixel(h,l[i])-r;return e*e},w=function(){var e=o(h,x,n,r),t=s(h,x,+l[i],e.y);return(t.x-n)*(t.x-n)+(t.y-r)*(t.y-r)},E=function(){var e=o(x,h,n,r),t=s(x,h,e.x,+l[i]);return(t.x-n)*(t.x-n)+(t.y-r)*(t.y-r)};for(u=0;u<2;u++){a=u===0?JMP.ColumnsStatic.ROLE_Y:JMP.ColumnsStatic.ROLE_X,g.lines.length=0,h=H[a],j[a]=Number.MAX_VALUE;if(h){p=h.scale,l=p.refValues,c=p.refMaxValues,k=p.axisLabel||null;if(l&&k){x=H[a===JMP.ColumnsStatic.ROLE_Y?JMP.ColumnsStatic.ROLE_X:JMP.ColumnsStatic.ROLE_Y],x&&JMP.ScaleStatic.isGeodesic(p,x.scale)?S=a===JMP.ColumnsStatic.ROLE_Y?E:w:a===JMP.ColumnsStatic.ROLE_Y?S=P?y:b:S=P?b:y,f=l.length;for(i=0;i<f;i++)c&&c[i]!==undefined?(M=JMP.ScalingStatic.valueToPixel(h,l[i]),_=JMP.ScalingStatic.valueToPixel(h,c[i]),JMP.ViewStatic.isBetween(a===JMP.ColumnsStatic.ROLE_Y?r:n,M,_)&&(O=(M+_)/2,D=O-(a===JMP.ColumnsStatic.ROLE_Y?r:n),d=D*D,!B&&d<j[a]&&(g.lines.length=0,p.type===JMP.ScaleStatic.SCALE_LINEAR&&p.labels?(L=k,p.axisLabel&&p.labels.length>1&&(A=p.axisLabel.split(JMP.ViewStatic.NESTED_AXIS_DELIMITER),L=A[A.length-1]),N=p.getAxisValue(l[i],0),C=p.getAxisValue(c[i],0),JMP.ViewStatic.addTooltipLine(g,L,N+" - "+C)):JMP.ViewStatic.addTooltipLine(g,k,JMP.ViewStatic.formatTooltipRange(p.refFormat,l[i],c[i])),j[a]=d,m.area=e.width*e.height))):(d=S(),d<v&&(g.lines.length=0,p.type===JMP.ScaleStatic.SCALE_LINEAR&&p.labels?(T=JMP.ScalingStatic.valueToPixel(h,l[i]),JMP.ViewStatic.addAxisValuesToTooltip(g,T,h)):JMP.ViewStatic.addTooltipLine(g,k,l[i],p.refFormat),j[a]=d,m.area=2,B=!0));f=g.lines.length;for(i=0;i<f;i++)JMP.ViewStatic.addTooltipLine(m,undefined,g.lines[i])}}}return m.distance=Math.min(j[JMP.ColumnsStatic.ROLE_Y],j[JMP.ColumnsStatic.ROLE_X]),m.lines.length>0?m:null},e.isEmpty=function(e){var t=!0;return e.showMajorGridsX||e.showMajorGridsY||e.showMinorGridsX||e.showMinorGridsY?t=!1:e.showReference===!0&&(e.scale[JMP.ColumnsStatic.ROLE_X]&&e.scale[JMP.ColumnsStatic.ROLE_X].refValues||e.scale[JMP.ColumnsStatic.ROLE_Y]&&e.scale[JMP.ColumnsStatic.ROLE_Y].refValues)&&(t=!1),t},e}(),JMP.GridReferenceSegment=function(e){"use strict";var t=JMP.Segment(e),n,r=function(){return n||(n={},JMP.GridReferenceSegmentStatic.getCache(t,n)),n};return t.showReference=!1,t.showMajorGridsX=undefined,t.showMinorGridsX=undefined,t.majorGridColorsX=undefined,t.minorGridColorsX=undefined,t.showMajorGridsY=undefined,t.showMinorGridsY=undefined,t.majorGridColorsY=undefined,t.minorGridColorsY=undefined,t.xAddend=0,t.yAddend=0,t.draw=function(){n=undefined,JMP.GridReferenceSegmentStatic.draw(t,r())},t.getTooltip=function(e,n){return t.showReference?JMP.GridReferenceSegmentStatic.getTooltip(t,r(),e,n):null},t.isEmpty=function(){return JMP.GridReferenceSegmentStatic.isEmpty(t)},t},JMP.GroupBoxStatic=function(){"use strict";var e={};return e.LAYOUT_NONE=0,e.LAYOUT_PAGE=1,e.LAYOUT_WRAP=2,e.draw=function(t){var n=t.g,r=t.isHorizontal,i=t.isFlipped,s=t.levels?t.levels.length:0,o=t.x,u=t.y,a=t.width-1,f=t.height-1,l=(o>>0)+.5,c=(o+a>>0)+.5,h=(u>>0)+.5,p=(u+f>>0)+.5,d,v,m,g,y,b,w,E=0,S,x=JMP.LARGE_FONT_SIZE/(JMP.LARGE_FONT_SIZE+JMP.SMALL_FONT_SIZE),T=t.layout===e.LAYOUT_NONE&&t.spacing>=1?t.spacing-1:0;t.title&&t.levels?r?i?v=(u+f*(1-x)>>0)+.5:v=(u+f*x>>0)+.5:i?d=(o+a*x>>0)+.5:d=(o+a*(1-x)>>0)+.5:t.title?r?i?v=h:v=p:i?d=c:d=l:r?i?v=p:v=h:i?d=l:d=c,JMP.ViewStatic.reset(n),n.beginPath(),n.strokeStyle=JMP.COLOR_LINE,T||n.rect(l,h,a>>0,f>>0),r?(n.moveTo(l,v),n.lineTo(c,v),T&&(n.moveTo(l,i?p:h),n.lineTo(c,i?p:h),n.moveTo(l,h),n.lineTo(l,p),n.moveTo(c,h),n.lineTo(c,p)),E=s?(a-(s-1)*T)/s:0):(n.moveTo(d,h),n.lineTo(d,p),T&&(n.moveTo(i?l:c,h),n.lineTo(i?l:c,p),n.moveTo(l,h),n.lineTo(c,h),n.moveTo(l,p),n.lineTo(c,p)),E=s?(f-(s-1)*T)/s:0),y=l,b=h;for(w=1;w<=s;w++)r?(m=(l+w*(E+T)>>0)+.5,w<s&&(n.moveTo(m,v),n.lineTo(m,i?h:p)),T&&(m-=T,n.moveTo(y,i?h:p),n.lineTo(m,i?h:p),w<s&&(n.moveTo(m,v),n.lineTo(m,i?h:p))),y=m+T):(g=(h+w*(E+T)>>0)+.5,w<s&&(n.moveTo(d,g),n.lineTo(i?c:l,g)),T&&(g-=T,n.moveTo(i?c:l,b),n.lineTo(i?c:l,g),w<s&&(n.moveTo(d,g),n.lineTo(i?c:l,g))),b=g+T);n.stroke(),t.title&&(r?i?S={x:l,y:v,w:a,h:p-v}:S={x:l,y:h,w:a,h:v-h}:i?S={x:l,y:h,w:d-l,h:f}:S={x:d,y:h,w:c-d,h:f},JMP.TextBoxStatic.drawWrappedText(n,S,t.title,JMP.LARGE_FONT_SIZE,t.titleOrientation,JMP.COLOR_BLACK,JMP.TextBoxStatic.ALIGNMENT_CENTER,JMP.TextBoxStatic.ALIGNMENT_MIDDLE,!1));if(t.levels){r?i?S={x:l,y:h,w:E,h:v-h}:S={x:l,y:v,w:E,h:p-v}:i?S={x:d,y:h,w:c-d,h:E}:S={x:l,y:h,w:d-l,h:E};for(w=0;w<s;w++)r?S.x=(l+w*(E+T)>>0)+.5:S.y=(h+w*(E+T)>>0)+.5,JMP.TextBoxStatic.drawWrappedText(n,S,t.formattedLevels?t.formattedLevels[w]:t.levels[w],JMP.SMALL_FONT_SIZE,t.levelOrientation,JMP.COLOR_BLACK,JMP.TextBoxStatic.ALIGNMENT_CENTER,JMP.TextBoxStatic.ALIGNMENT_MIDDLE,!1)}},e}(),JMP.GroupBox=function(e){"use strict";var t=JMP.Segment(e);return t.isFlipped=!1,t.title=undefined,t.levels=undefined,t.formattedLevels=undefined,t.titleOrientation=JMP.TextBoxStatic.ORIENTATION_HORIZONTAL,t.levelOrientation=JMP.TextBoxStatic.ORIENTATION_HORIZONTAL,t.layout=JMP.GroupBoxStatic.LAYOUT_NONE,t.spacing=1,t.draw=function(){JMP.GroupBoxStatic.draw(t)},t},JMP.HistogramSegmentStatic=function(){"use strict";var e={},t=3,n=30,r=3,i=JMP.Format(JMP.FormatStatic.FORMAT_PERCENT,!1,0),s=function(e,t){return e?e[t]&&e[t]>0?e[t]:0:1},o=function(e,t,n,r){var i=e,s,o;return s=(i-n)/r,o=s*t,o>0?o+=.5:o<0&&(o-=.5),o>>0},u=function(e,t){return t?t[e]:e},a=function(e,t,n,r){var i=e.x,s=e.y,o=e.isHorizontal?e.width-1:e.height-1,u=e.nBins,a=e.binOrigin,f=e.binSpan,l=e.binSpanDif,c=e.binWidth,h=e.isHorizontal,p,d=t.scale.type===JMP.ScaleStatic.SCALE_LOG,v,m,g=t.scale.base!==undefined?t.scale.base:10;if(r)for(p=0;p<=u;p++)h?n[p]=(p*o/u>>0)+.5:n[p]=(o-p*o/u>>0)+.5;else{d?v=(JMP.ScalingStatic.valueToPixel(t,100)-JMP.ScalingStatic.valueToPixel(t,10))*(c*l/f)+.5>>0:v=c*l/f*t.pixelPerValueScale>>0;for(p=0;p<=u;p++)d?n[p]=Math.pow(g,a+p*c):n[p]=a+p*c,h?m=JMP.ScalingStatic.valueToPixel(t,n[p])-v-i:m=JMP.ScalingStatic.valueToPixel(t,n[p])-v+o-s,n[p]=(m+m*JMP.EPSILON>>0)+.5}},f=function(e,t,n,r){var i,s=t,o=e,u,a,f,l,c;return o>0?(i=Math.abs(o),u=Math.sqrt(o*(s-o)/s),a=(n+r)/2,a=(a+a*JMP.EPSILON>>0)+.5,f=i-u,l=i+u,c=Math.max(Math.abs(r-n)/6,2),[f,l,a,c]):null},l=function(e,t,n,r,i,s,u,a,f){var l=null,c,h,p,d,v,m=!a&&!f?1:0;return s[e]>0&&(v=o(s[e]*r,t,n,i),a?(c=f?u[e+1]:u[e],h=f?u[e]:u[e+1],p=t,d=t-v):(c=0,h=v,p=f?u[e+1]:u[e],d=u[e+m]),l={x:c,y:d,w:Math.abs(c-h),h:Math.abs(d-p)}),l},c=function(e,t){var n=e.yData,r=t.rowStates,i=t.frequencyData,o=t.weightData,a=e.nBins,f=e.binSpan,l=e.binSpanDif,c=t.rowStateIndices,h=e.rowIndices,p,d,v=n.length,m=0,g,y,b=1,w=r&&r.nSelectedIndices>0;y=i||o,t.selectedFreq=[];for(p=0;p<a;p++)e.freq[p]=0,t.selectedFreq[p]=0,c[p]=[];for(p=0;p<v;p++)g=n[p],g!==null&&g>=0&&(g+=l,d=g/f>>0,d<a&&(c[d].push(u(p,h)),y&&(b=s(i,p)*s(o,p)),e.freq[d]+=b,w&&r.selected[u(p,h)]&&(t.selectedFreq[d]+=b),m+=b));t.totalFreq=m},h=function(e,t,r){var i=e.isHorizontal?e.height-1:e.width-1,s=e.maximumDensity,o=e.nBins,u=e.freq,a=t.origin,f=t.countToDensity,c=t.bins,h=e.isHorizontal,p=[],d,v,m,g,y,b,w,E,S=!1,x,T;v=r.x-e.x,g=v+r.w,m=r.y-e.y,y=m+r.h,b={x:v,y:m},w={x:g,y:y},E=r.w!==0||r.h!==0,E&&(x={x:v,y:m,w:r.w,h:r.h});for(d=0;d<o;d++){T=l(d,i,a,f,s,u,c,h,e.isFlipped);if(T){E||(h?T.h<n&&(T.y-=n-T.h,T.h=n):T.w<n&&(T.w=n));if(E){if(!S&&JMP.ViewStatic.pointInRect(b,T)&&JMP.ViewStatic.pointInRect(w,T)){p[0]=d;break}JMP.ViewStatic.rectanglesIntersect(x,T)&&(p.push(d),S=!0)}else if(JMP.ViewStatic.pointInRect(b,T)){p[0]=d;break}}}t.selectedBins=p},p=function(e){var t=e===e>>0;return t?JMP.Format(JMP.FormatStatic.FORMAT_BEST):JMP.Format(JMP.FormatStatic.FORMAT_FIXED,!1,3)};return e.getCache=function(e,t){var n,r,i,s,o,u,l,h,p,d=[],v=[],m=[],g,y,b=!1,w=!1,E=8;e.columns&&(e.yData=e.columns.getColumn(JMP.ColumnsStatic.ROLE_Y),g=e.columns.getColumn(JMP.ColumnsStatic.ROLE_FREQ),y=e.columns.getColumn(JMP.ColumnsStatic.ROLE_WEIGHT),o=e.columns.rowStates),e.adjustPadding&&(E=((e.isHorizontal?e.height-1:e.width-1)/10>>0)-1);for(n=0;n<e.nBins;n++)v[n]=[];t.rowStateIndices=v,t.rowStates=o,g&&(t.frequencyData=g),y&&(t.weightData=y),c(e,t),u=e.freq[0];for(n=1;n<e.nBins;n++)u<e.freq[n]&&(u=e.freq[n]);e.scale[JMP.ColumnsStatic.ROLE_X]&&(i=JMP.Scaling(e.scale[JMP.ColumnsStatic.ROLE_X],(e.x>>0)+.5,e.width-1)),i||(e.isHorizontal?(i=JMP.Scaling(JMP.Scale(1,e.width-1),(e.x>>0)+.5,(e.width-1)*t.totalFreq),w=!0):i=JMP.Scaling(JMP.Scale(1,u),(e.x>>0)+.5,(e.width-1-E)*e.binWidth*t.totalFreq)),e.scale[JMP.ColumnsStatic.ROLE_Y]&&(s=JMP.Scaling(e.scale[JMP.ColumnsStatic.ROLE_Y],(e.y>>0)+.5,1-e.height)),s||(e.isHorizontal?s=JMP.Scaling(JMP.Scale(1,u),(e.y>>0)+.5,(E+(1-e.height))*e.binWidth*t.totalFreq):(s=JMP.Scaling(JMP.Scale(1,e.height-1),(e.y>>0)+.5,(1-e.height)*t.totalFreq),w=!0)),e.isHorizontal?r=i:r=s,b=e.size!==undefined,b&&(p={x:e.x,y:e.y,w:e.width,h:e.height},e.isHorizontal?(e.height=JMP.ScalingStatic.valueToPixel(s,e.position)-JMP.ScalingStatic.valueToPixel(s,e.position+e.size)>>0,e.y=JMP.ScalingStatic.valueToPixel(s,e.position)+p.h-e.height>>0):(e.x=JMP.ScalingStatic.valueToPixel(i,e.position)>>0,e.width=JMP.ScalingStatic.valueToPixel(i,e.position+e.size)-e.x-1>>0)),l=1/(e.binWidth*t.totalFreq),h=r.pixelOrigin-(e.isHorizontal?e.x:e.y)-.5,e.isHorizontal?r.pixelPerValueScale<0&&(e.isFlipped=!0):r.pixelPerValueScale>0&&(e.isFlipped=!0),a(e,r,d,w);if(e.showErrorBar)for(n=0;n<e.nBins;n++)m[n]=f(e.freq[n],t.totalFreq,d[n],d[n+1]);e.fillColor||(e.fillColor=JMP.COLOR_WHITE),e.selectedFillColor||(e.selectedFillColor=JMP.COLOR_FILL),e.lineColor||(e.lineColor=JMP.COLOR_LINE),t.scaling=r,t.bins=d,t.countToDensity=l,t.origin=h,t.isOffset=b,t.containerRect=p,t.errorBars=m},e.draw=function(e,t){var n=e.g,r=e.x,s=e.y,u=e.maximumDensity,a=e.freq,f=e.fillColor,l=e.selectedFillColor,h=e.lineColor,d=e.alpha,v=e.isHorizontal?e.height-1:e.width-1,m=e.isHorizontal,g=e.isFlipped,y,b,w=[],E,S=a.length,x=[],T=1,N=0,C=n.globalAlpha,k,L,A,O,M,_,D,P=e.showCounts,H=e.showPercents,B=e.showErrorBar,j=P||H||B,F="",I={},q=2,R=e.size!==undefined,U,z,W,X,V,$;if(!t)return;c(e,t),V=t.rowStates&&t.rowStates.nSelectedIndices>0,W=t.selectedFreq,U=t.origin,z=t.countToDensity,X=t.bins,$=t.errorBars,n.save(),R&&(n.beginPath(),n.rect(r+.5,s+.5,e.width-1,e.height-(m?0:1)),n.clip()),n.translate(r,s),h||(h=JMP.COLOR_LINE),f||(f=JMP.COLOR_WHITE),l||(l=JMP.COLOR_FILL),n.strokeStyle=h,n.fillStyle=f,n.lineWidth=1,d<1&&(n.globalAlpha=d),y=-1,T=m&&g?-1:1,N=!m&&!g?1:0;for(b=0;b<S;b++)a[b]>0&&(w[b]=o(a[b]*z,v,U,u),x[b]=Math.abs(X[b+1]-X[b]),m?n.fillRect(X[b],v-w[b]-.5,x[b]*T,w[b]+2):n.fillRect(y,X[b+N],w[b]+1.5,x[b]),V||(m?n.strokeRect(X[b],v-w[b]-.5,x[b]*T,w[b]+2):n.strokeRect(y,X[b+N],w[b]+1.5,x[b])));if(V){n.fillStyle=l;for(b=0;b<S;b++)W[b]>0&&(E=o(W[b]*z,v,U,u),E!==0&&(m?n.fillRect(X[b],v-E-1,x[b]*T,E+2):n.fillRect(y,X[b+N],E+2,x[b]))),a[b]>0&&(m?n.strokeRect(X[b],v-w[b]-.5,x[b]*T,w[b]+2):n.strokeRect(y,X[b+N],w[b]+1.5,x[b]))}if(j){n.textAlign="left",n.textBaseline="top",n.strokeStyle=h,n.lineWidth=1;for(b=0;b<S;b++)k=$[b],O=m?v:0,k&&(n.beginPath(),A=o(k[0]*z,v,U,u)+.5,O=o(k[1]*z,v,U,u)+.5,L=k[2],M=k[3],_=L-M>>0,D=L+M+1-JMP.EPSILON>>0,m?(A=v-A+1,O=v-O+1,n.moveTo(_,A),n.lineTo(D,A),n.moveTo(L,A),n.lineTo(L,O),n.moveTo(_,O),n.lineTo(D,O)):(n.moveTo(A,_),n.lineTo(A,D),n.moveTo(A,L),n.lineTo(O,L),n.moveTo(O,_),n.lineTo(O,D)),n.stroke(),n.closePath()),F="",P&&(F+=JMP.FormatStatic.formatNumber(a[b],p(a[b])),H&&(F+=", ")),H&&(F+=JMP.FormatStatic.formatNumber(a[b]/t.totalFreq,i)),F!==""&&(n.font=JMP.SMALL_FONT_SIZE+"px "+JMP.FONT,I.w=n.measureText(F).width,I.h=JMP.SMALL_FONT_SIZE,m?(I.x=X[b]+x[b]*T*.5-I.w*.5,I.y=Math.min(O,v-w[b]-.5)-I.h-q,I.y-I.h<0&&(I.y=5,n.fillStyle=JMP.COLOR_WHITE,n.fillRect(I.x-1,I.y-1,I.w+2,I.h+2))):(I.x=Math.max(O,w[b]+1.5)+q,I.y=X[b+N]+x[b]*.5-I.h*.5,I.x+I.w>e.width&&(I.x=e.width-I.w-5,n.fillStyle=JMP.COLOR_WHITE,n.fillRect(I.x-1,I.y-1,I.w+2,I.h+2))),n.fillStyle=JMP.COLOR_BLACK,n.fillText(F,I.x,I.y))}n.restore(),R&&(n.strokeStyle=JMP.COLOR_LINE,n.lineWidth=1,n.beginPath(),m?(n.moveTo(e.x,e.y+e.height+.5),n.lineTo(e.x+e.width,e.y+e.height+.5)):(n.moveTo(e.x+.5,0),n.lineTo(e.x+.5,e.y+e.height)),n.stroke()),d<1&&(n.globalAlpha=C)},e.select=function(e,t,n,r){var i=n.w!==0||n.h!==0,s,o,u,a=[],f=!1,l,c,p;if(!t||!t.rowStates)return;if(t.isOffset){n.y-=e.y-t.containerRect.y,n.x-=e.x-t.containerRect.x;if(!JMP.ViewStatic.pointInRect({x:n.x,y:n.y},{x:e.x,y:e.y,w:e.width,h:e.height}))return}s=t.rowStateIndices,o=t.rowStates,h(e,t,n),u=t.selectedBins,p=u.length;for(l=0;l<p;l++){a=a.concat(s[u[l]]);if(!i&&r===JMP.ViewStatic.SELECT_TOGGLE){f=!1;for(c=0;c<a.length&&!f;c++)o.selected[a[c]]&&(f=!0)}}if(a.length>0)switch(r){case JMP.ViewStatic.SELECT_ONLY:o.selectOnly(a,!0);break;case JMP.ViewStatic.SELECT_EXTEND:o.select(a,!0);break;case JMP.ViewStatic.SELECT_REDUCE:o.select(a,!1);break;default:o.select(a,!f)}else switch(r){case JMP.ViewStatic.SELECT_ONLY:case JMP.ViewStatic.SELECT_TOGGLE:o.selectAll(!1);break;default:}},e.getTooltip=function(e,n,s,u){var a=null,f,c,d,v,m=0,g=e.isHorizontal?e.height-1:e.width-1,y,b,w,E,S,x;if(!n)return null;n.isOffset&&(u-=e.y-n.containerRect.y,s-=e.x-n.containerRect.x),y=n.origin,b=n.countToDensity,w=n.bins,E=n.totalFreq,x=n.errorBars,h(e,n,{x:s,y:u,w:0,h:0}),S=n.selectedBins,S.length>0&&(c=S[0],a={lines:[],distance:0});if(e.showErrorBar){s-=e.x,u-=e.y;if(!a)for(f=0;f<e.nBins&&!v;f++)e.freq[f]>0&&(e.isHorizontal?s<w[f+1]&&s>w[f]&&(v=x[f]):u<w[f]&&u>w[f+1]&&(v=x[f])),v&&(c=f);else f=c,v=x[f];v&&(e.isHorizontal?(m=g-o(v[1]*b,g,y,e.maximumDensity),u>=m-t&&(a={lines:[],distance:0})):(m=o(v[1]*b,g,y,e.maximumDensity),s<=m+t&&(a={lines:[],distance:0})))}return a&&(JMP.ViewStatic.addTooltipLine(a,JMP.ViewStatic.TIP_ROWS,e.freq[c],p(e.freq[c])),JMP.ViewStatic.addTooltipLine(a,JMP.ViewStatic.TIP_SHARE,e.freq[c]/E,i),a.distance=Number.MAX_VALUE,a.area=e.height*e.width,v&&(JMP.ViewStatic.addTooltipLine(a,JMP.ViewStatic.TIP_UPPER_BOUND,v[1],JMP.Format(JMP.FormatStatic.FORMAT_FIXED,!1,r)),JMP.ViewStatic.addTooltipLine(a,JMP.ViewStatic.TIP_LOWER_BOUND,v[0],JMP.Format(JMP.FormatStatic.FORMAT_FIXED,!1,r))),d=l(c,g,y,b,e.maximumDensity,e.freq,w,e.isHorizontal,e.isFlipped),d&&(e.isHorizontal?(a.x=e.x+d.x,a.y=e.y+(m===0?d.y:m-t)):(a.x=e.x,a.y=e.y+d.y))),a},e}(),JMP.HistogramSegment=function(e){"use strict";var t=JMP.Segment(e),n,r=function(){return!n&&t.columns&&t.columns.getColumn(JMP.ColumnsStatic.ROLE_Y)&&(n={},JMP.HistogramSegmentStatic.getCache(t,n)),n};return t.fillColor=JMP.COLOR_WHITE,t.lineColor=JMP.COLOR_LINE,t.yData=undefined,t.binWidth=0,t.binOrigin=0,t.binSpanDif=0,t.binSpan=1,t.nBins=0,t.maximumDensity=1,t.selectedFillColor=JMP.COLOR_FILL,t.freq=[],t.rowIndices=undefined,t.alpha=1,t.showErrorBar=!1,t.showPercents=!1,t.showCounts=!1,t.adjustPadding=!1,t.isFlipped=!1,t.position=undefined,t.size=undefined,t.draw=function(){JMP.HistogramSegmentStatic.draw(t,r())},t.select=function(e,n){JMP.HistogramSegmentStatic.select(t,r(),e,n)},t.getTooltip=function(e,n){return JMP.HistogramSegmentStatic.getTooltip(t,r(),e,n)},t},JMP.ImageStatic=function(){"use strict";var e={};return e.getCache=function(e,t){var n,r,i,s,o,u,a=JMP.ScalingStatic.valuesToPixel,f={};n=e.x,r=e.y,e.scale[JMP.ColumnsStatic.ROLE_X]&&e.scale[JMP.ColumnsStatic.ROLE_Y]&&(o=JMP.Scaling(e.scale[JMP.ColumnsStatic.ROLE_X],e.x+.5>>0,e.width-1),u=JMP.Scaling(e.scale[JMP.ColumnsStatic.ROLE_Y],e.y+e.height-.5>>0,1-e.height),e.left!==undefined&&e.top!==undefined&&(f=a(o,u,e.left,e.top),n=f.x,r=f.y),e.right!==undefined&&e.bottom!==undefined&&(f=a(o,u,e.right,e.bottom),i=f.x-n,s=f.y-r)),t.xPos=n,t.yPos=r,t.width=i,t.height=s},e.draw=function(e,t){var n=e.g,r=e.image,i=e.alpha,s=t.xPos,o=t.yPos,u=t.width,a=t.height,f;r&&(i<1&&(f=n.globalAlpha,n.globalAlpha=i),u===undefined||a===undefined?n.drawImage(r,s,o):n.drawImage(r,s,o,u,a),i<1&&(n.globalAlpha=f))},e}(),JMP.Image=function(e){"use strict";var t=JMP.Segment(e),n,r=function(){return n||(n={},JMP.ImageStatic.getCache(t,n)),n};return t.image=undefined,t.alpha=1,t.left=undefined,t.top=undefined,t.right=undefined,t.bottom=undefined,t.draw=function(){JMP.ImageStatic.draw(t,r())},t},JMP.InputStatic=function(){"use strict";var e={};return e.TYPE_CHECKBOX=0,e.TYPE_RADIO=1,e.draw=function(t){var n=t.g,r=t.x,i=t.y,s=t.type,o=t.text,u=t.checked,a=JMP.LARGE_FONT_SIZE-1,f=i-a+1,l=a*.5;if(s!==e.TYPE_CHECKBOX&&s!==e.TYPE_RADIO)return;n.strokeStyle=JMP.COLOR_LINE,n.lineWidth=1,n.lineJoin="bevel",n.lineCap="butt",n.beginPath();switch(s){case e.TYPE_RADIO:n.arc(r+l,f+l,l,0,JMP.TWO_PI);break;default:n.rect(r+.5,f+.5,a,a)}n.stroke();if(u)switch(s){case e.TYPE_RADIO:n.fillStyle=JMP.COLOR_LINE,n.beginPath(),n.arc(r+l,f+l,l*.5,0,JMP.TWO_PI),n.fill();break;default:n.lineWidth=3,n.beginPath(),n.moveTo(r+3,f+5),n.lineTo(r+6,f+10),n.lineTo(r+10,f-2),n.stroke()}n.textBaseline="alphabetic",n.textAlign="start",n.fillStyle=JMP.COLOR_BLACK,n.font=JMP.LARGE_FONT_SIZE+"px "+JMP.FONT,n.fillText(o,r+JMP.LARGE_FONT_SIZE+2,i)},e}(),JMP.Input=function(e){"use strict";var t=JMP.Segment(e);return t.text="",t.type=JMP.InputStatic.TYPE_CHECKBOX,t.checked=!1,t.draw=function(){JMP.InputStatic.draw(t)},t},JMP.LabelSegmentStatic=function(){"use strict";var e={},t=2,n=4,r=3;return e.getCache=function(e,t){var n,r,i,s,o=e.columns,u,a,f,l=(e.x>>0)+.5;o&&(u=o.getColumn(JMP.ColumnsStatic.ROLE_X),a=o.getColumn(JMP.ColumnsStatic.ROLE_Y),f=o.getColumn(JMP.ColumnsStatic.ROLE_LABEL)),n=e.scale[JMP.ColumnsStatic.ROLE_X],r=e.scale[JMP.ColumnsStatic.ROLE_Y];if(!u&&!a||!f||!n&&!r)return;n||(n=JMP.Scale(0,e.width-1)),r||(r=JMP.Scale(0,1-e.height)),i=e.isHorizontal?JMP.Scaling(n,(e.y+e.height-1>>0)+.5,1-e.height):JMP.Scaling(n,l,e.width-1),s=e.isHorizontal?JMP.Scaling(r,l,e.width-1):JMP.Scaling(r,(e.y+e.height-1>>0)+.5,1-e.height),t.xScaling=i,t.yScaling=s,t.xValues=u,t.yValues=a,t.labels=f},e.draw=function(e,i){var s=e.g,o=(e.x>>0)+.5,u=(e.y>>0)+.5,a=e.width-1,f=e.height-1,l=e.showTicks,c=i.xScaling,h=i.yScaling,p=i.xValues,d=i.yValues,v=i.labels,m,g,y,b,w,E,S=Infinity,x=-Infinity,T,N=p&&p.length>0,C=d&&d.length>0,k=JMP.SMALL_FONT_SIZE;if(!c&&!h)return;if(N)b=p.length;else{if(!C)return;b=d.length}s.strokeStyle=JMP.COLOR_BLACK,s.lineWidth=1,s.fillStyle=JMP.COLOR_BLACK,s.textBaseline="alphabetic",s.textAlign="start",s.font=JMP.SMALL_FONT_SIZE+"px "+JMP.FONT;for(m=0;m<b;m++)N?(w=p[m],g=JMP.ScalingStatic.valueToPixel(c,w,!1)):(w=c.pixelOrigin+c.pixelRange,g=w),g=(g>>0)+.5,C?(E=d[m],y=JMP.ScalingStatic.valueToPixel(h,E,!1)):(E=h.pixelOrigin+h.pixelRange,y=E),y=(y>>0)+.5,N||(g=o+a),C||(y=u),g<o||g>o+a||y>u+f||y<u||(C?N?v&&v[m]&&s.fillText(v[m],g+2,y):(y<S&&(S=y),y>x&&(x=y),l&&(s.beginPath(),s.moveTo(g,y),s.lineTo(g-n,y),s.stroke()),v&&v[m]&&s.fillText(v[m],g-s.measureText(v[m]).width-(r+2),y+n-1)):(g<S&&(S=g),g>x&&(x=g),l&&(s.beginPath(),s.moveTo(g,y),s.lineTo(g,y+t),s.stroke()),v&&v[m]&&(T=s.measureText(v[m]).width,s.fillText(v[m],g-T/2,y+t+k))));C||(s.beginPath(),s.moveTo(S,0),s.lineTo(x,0),s.stroke()),N||(s.beginPath(),s.moveTo(o+a,S),s.lineTo(o+a,x),s.stroke())},e}(),JMP.LabelSegment=function(e){"use strict";var t=JMP.Segment(e),n,r=function(){return n||(n={},JMP.LabelSegmentStatic.getCache(t,n)),n};return t.showTicks=!1,t.draw=function(){JMP.LabelSegmentStatic.draw(t,r())},t},JMP.LegendBoxStatic=function(){"use strict";var e={},t=function(e){var t=e.colorTheme,n=e.colorValues,r,i=n.length-1,s,o=[];for(r=0;r<i;r++)s=r/(i-1),o[r]=JMP.ViewStatic.rgbToHexString(t.getColor(s));e.discreteColors=o},n=function(e,t,n){var r=0,i;return n!==undefined&&(r=e.modelOffsetMap[n]),r=t?t+r:r,i=e.items[r],i.isLinked&&(r=e.modelOffsetMap[i.baseModelID]+i.baseItemIndex),r},r=function(e){switch(e){case JMP.LineSegmentStatic.PATTERN_DASH:return[6,3];case JMP.LineSegmentStatic.PATTERN_DOT:return[2,4];case JMP.LineSegmentStatic.PATTERN_DASHDOT:return[5,2,2,2];case JMP.LineSegmentStatic.PATTERN_DASHDOTDOT:return[5,3,2,3,2,3];default:return[]}},i=function(e,t,n,r){var i,s=1.2,o=e.font.match(/([0-9]+)px/i),u=o.length>1?o[1]*s:parseInt(e.measureText("M").width*s,10),a=t.split("\n"),f=a.length;for(i=0;i<f;i++)e.fillText(a[i],n,r),r+=u},s=function(e){var t=e.h;e.h=e.w/JMP.GOLDEN,e.y+=(t-e.h)/2},o=function(t,n,o){var u=1,a=2,f=4,l=6,c=o.fillColor!==undefined?o.fillColor:JMP.COLOR_BLACK,h=o.lineColor!==undefined?o.lineColor:JMP.COLOR_BLACK,p=o.lineWidth!==undefined?o.lineWidth:1,d=o.lineStyle!==undefined?o.lineStyle:JMP.LineSegmentStatic.PATTERN_SOLID,v=o.alpha!==undefined?o.alpha:1,m,g,y=o.types.length,b,w=2,E=20,S=6,x=n.w/y-w,T=n.h>>0,N,C=n.y>>0,k,L=C+T/2>>0,A=T/4>>0,O=x/4>>0,M,_,D,P,H,B,j,F,I,q,R,U=0,z=[],W,X,V=t.g,$,J,K=[0,.2,.4,.6,.8,1],Q=K.length,G,Y;V.fillStyle=c,V.strokeStyle=h,v!==1&&(_=V.globalAlpha,V.globalAlpha=v);for(m=0;m<y;m++){N=n.x+m*(x+w)>>0,k=N+x/2>>0,V.lineWidth=p;switch(o.types[m]){case e.TYPE_BAR:M={x:N,y:C,w:x,h:T},s(M),V.fillRect(M.x,M.y>>0,M.w,M.h+.5>>0);break;case e.TYPE_MARKER:Y=o.markerShape===undefined||o.markerShape===JMP.Marker.DOT?4.909090909090909:4,JMP.MarkerSegmentStatic.drawMarker(V,k,L,Y,o.markerShape,c);break;case e.TYPE_HLINE:p&1&&(L+=.5),d!==JMP.LineSegmentStatic.PATTERN_SOLID&&V.setLineDash(r(d)),V.lineCap="butt",V.beginPath(),V.moveTo(N,L),V.lineTo(N+x,L),V.stroke(),V.setLineDash([]);break;case e.TYPE_VLINE:p&1&&(k+=.5),d!==JMP.LineSegmentStatic.PATTERN_SOLID&&V.setLineDash(r(d)),V.lineCap="butt",V.beginPath(),V.moveTo(k,C),V.lineTo(k,C+T),V.stroke(),V.setLineDash([]);break;case e.TYPE_LINE_SIZE:M={x:N,y:C,w:x,h:T},s(M),M.h=M.h+.5>>0,M.y>>=0,V.fillRect(M.x,M.y,u,M.h),M.x+=u+1,V.fillRect(M.x,M.y,a,M.h),M.x+=a+1,V.fillRect(M.x,M.y,f,M.h),M.x+=f+1,V.fillRect(M.x,M.y,l,M.h);break;case e.TYPE_HBOXPLOT:L=C+2*A,p&1&&(L+=.5,O+=.5),V.beginPath(),V.moveTo(N,L),V.lineTo(N+O,L),V.moveTo(N+3*O,L),V.lineTo(N+4*O,L),V.stroke(),o.fillColor!==undefined&&V.fillRect(N+O,L-A,2*O,2*A),V.strokeRect(N+O,L-A,2*O,2*A);break;case e.TYPE_VBOXPLOT:k=N+2*O,p&1&&(A+=.5,k+=.5),V.beginPath(),V.moveTo(k,C),V.lineTo(k,C+A),V.moveTo(k,C+3*A),V.lineTo(k,C+4*A),V.stroke(),o.fillColor!==undefined&&V.fillRect(k-O,C+A,2*O,2*A),V.strokeRect(k-O,C+A,2*O,2*A);break;case e.TYPE_HINTERVAL:L=C+2*A,p&1&&(L+=.5,N+=.5,A+=.5),V.beginPath(),V.moveTo(N,L-A),V.lineTo(N,L+A),V.moveTo(N,L),V.lineTo(N+x-1,L),V.moveTo(N+x-1,L-A),V.lineTo(N+x-1,L+A),V.stroke();break;case e.TYPE_VINTERVAL:k=N+2*O,p&1&&(O+=.5,k+=.5,C+=.5),V.beginPath(),V.moveTo(k-O,C),V.lineTo(k+O,C),V.moveTo(k,C),V.lineTo(k,C+T-2),V.moveTo(k-O,C+T-2),V.lineTo(k+O,C+T-2),V.stroke();break;case e.TYPE_FILL_LINE:V.lineWidth=1,M={x:N+.5,y:C,w:x,h:T},s(M),M.w-=1,M.h-=1,V.fillRect(M.x,(M.y>>0)+.5,M.w,M.h+.5>>0),V.strokeRect(M.x,(M.y>>0)+.5,M.w,M.h+.5>>0);break;case e.TYPE_STEP:p&1&&(C+=.5,k+=.5),p>1&&(p--,C+=p,T-=2*p),V.beginPath(),V.moveTo(N,C+T-2),V.lineTo(k,C+T-2),V.lineTo(k,C),V.lineTo(N+x,C),V.stroke();break;case e.TYPE_MARKER_SIZE:V.beginPath(),V.arc(N+O+2,C+T-2,O,0,Math.PI,!0),V.arc(k,C+T-2,2*O,Math.PI,0,!1),V.lineWidth=1,V.strokeStyle=JMP.COLOR_BLACK,V.stroke();break;case e.TYPE_DENSITY_GRADIENT:M={x:N,y:C,w:x,h:T},s(M),D=V.createLinearGradient(M.x,M.y>>0,M.x+M.w,M.y>>0);for(g=0;g<Q;g++)$=JMP.ViewStatic.stringTorgb(c.substr(1,7)),J=JMP.ViewStatic.interpolateColor([255,255,255],$,K[g]),G=JMP.ViewStatic.rgbToHexString(J),D.addColorStop(K[g],G),g<Q-1&&D.addColorStop(K[g+1],G);V.globalAlpha=v,V.fillStyle=D,V.fillRect(M.x,M.y>>0,M.w,M.h+.5>>0);break;case e.TYPE_GRADIENT:P=o.gradientSettings,H=P.colorTheme.positions.concat(),B=P.colorTheme.colors.concat(),j=P.colorValues.concat(),z=P.labels,P.isDiscreteColors&&(F=P.discreteColors.concat());if(P.isReverseLabels){j.reverse(),z.reverse(),B.reverse(),H.reverse();for(g=0;g<H.length;g++)H[g]=1-H[g];P.isDiscreteColors&&F.reverse()}if(P.isHorizontal){if(j&&j.length>0){b=j.length,V.font=JMP.SMALL_FONT_SIZE+"px "+JMP.FONT,V.textBaseline="top",V.textAlign="center",V.strokeStyle=JMP.COLOR_BLACK;for(g=0;g<b;g++)I=z[g].slice(z[g].lastIndexOf("\n")+1),U=Math.max(U,V.measureText(I).width)+.5>>0;U+=10,x=U*(b-1),N+=U/2>>0;for(g=0;g<b;g++)q=N+g*U,P.isDiscreteColors&&g<b-1&&(V.globalAlpha=v,V.fillStyle=F[g],V.fillRect(q,C,g<b-2?U:U+1,E)),P.showLabels&&(V.globalAlpha=1,V.fillStyle=JMP.COLOR_BLACK,V.lineWidth=1,q+=.5,V.beginPath(),V.moveTo(q,C+E),V.lineTo(q,C+E+S),V.stroke(),i(V,z[g],q,C+E+S))}x++;if(!P.isDiscreteColors){D=V.createLinearGradient(N,C,N+x,C),b=B.length;for(g=0;g<b;g++)D.addColorStop(H[g],B[g]);V.globalAlpha=v,V.fillStyle=D,V.fillRect(N,C,x,E)}}else{C+=JMP.LARGE_FONT_SIZE;if(j&&j.length>0){b=j.length,W=1.5*JMP.LARGE_FONT_SIZE>>0,T=(b-1)*W,V.font=JMP.SMALL_FONT_SIZE+"px "+JMP.FONT,V.textBaseline="middle",V.textAlign="end",V.strokeStyle=JMP.COLOR_BLACK;for(g=0;g<b;g++)R=C+T-g*W>>0,P.isDiscreteColors&&g>0&&(V.globalAlpha=v,X=R+1,g===b-1&&(W++,X=R),V.fillStyle=F[g-1],V.fillRect(N,X,E,W)),P.showLabels&&(V.globalAlpha=1,V.fillStyle=JMP.COLOR_BLACK,V.lineWidth=1,R+=.5,V.beginPath(),V.moveTo(N+E,R),V.lineTo(N+E+S,R),V.stroke(),V.fillText(z[g],N+x,R));T++;if(!P.isDiscreteColors){D=V.createLinearGradient(N,C+T,N,C),b=B.length;for(g=0;g<b;g++)D.addColorStop(H[g],B[g]);V.globalAlpha=v,V.fillStyle=D,V.fillRect(N,C,E,T)}}}break;default:}}v!==1&&(V.globalAlpha=_)},u=function(e,t){var n=1e3*JMP.MAC_EPS,r=JMP.ViewStatic.lowerBound(e,t,n),i,s=t.length,o;return r===s?o=s-1:r<=0?o=0:JMP.ViewStatic.nearlyEqual(t[r],e,n)?(i=JMP.ViewStatic.upperBound(e,t,n),o=(r+i-1)/2):o=r-1+(e-t[r-1])/(t[r]-t[r-1]),o},a=function(e,t){var n=t.colorValues,r=n.length,i,s,o,a,f,l,c;if(r>1){i=u(e,n);if(t.isDiscreteColors)c=Math.min(i>>0,r-2)/(r-2);else{s=i>>0,o=Math.ceil(i);switch(t.scaleType){case JMP.LegendBoxStatic.GRADIENT_SCALE_LINEAR:break;case JMP.LegendBoxStatic.GRADIENT_SCALE_LOG:o===s?i=s:i=s+JMP.ViewStatic.log10(e/n[s])/JMP.ViewStatic.log10(n[o]/n[s]);break;case JMP.LegendBoxStatic.GRADIENT_SCALE_QUANTILE:f=u(n[s],t.percentiles),l=u(n[o],t.percentiles),f===l?i=s:(a=u(e,t.percentiles),i=s+(a-f)/(l-f));break;case JMP.LegendBoxStatic.GRADIENT_SCALE_STANDARD_DEVIATION:}c=i/(r-1)}return JMP.ViewStatic.rgbToHexString(t.colorTheme.getColor(c))}return JMP.ViewStatic.rgbToHexString(t.colorTheme.getColor(1))},f=function(t,n){var r=t.g,i=t.x,s=t.y,u=t.width,a=t.height,f,l=t.isHorizontal,c=t.isFramed,h=t.title,p=t.isTitleHorizontal,d=t.nWrap,v=n.positions,m=n.positionedItems,g=v.length,y=l?1:g,b=l?g:1,w,E,S,x,T,N,C=0,k,L,A,O=16,M=4,_,D=1.5,P=JMP.LARGE_FONT_SIZE+M,H,B,j={width:0,height:0},F=0,I;JMP.ViewStatic.reset(r),r.lineWidth=1,r.textAlign="start",r.textBaseline="middle",r.font=JMP.LARGE_FONT_SIZE+"px "+JMP.FONT;if(!t.isVisible)return j;c&&(r.strokeStyle=JMP.COLOR_BLACK,r.strokeRect((i>>0)+.5,(s>>0)+.5,u,a),s+=2,a-=2,i+=2),h&&(r.fillStyle=JMP.COLOR_BLACK,i+=2,r.fillText(h,i,s+P/2
),C=r.measureText(h).width,p?(i+=C+4,u-=C+4):(s+=JMP.LARGE_FONT_SIZE*1.5,a-=JMP.LARGE_FONT_SIZE*1.5)),d&&(l?(b=d,y=Math.ceil(g/b)):(y=d,b=Math.ceil(g/y))),A=s,S=0;for(w=0;w<b;w++){s=A,N=0;for(E=0;E<y;E++,S++)T=l?w+E*b:S,T<g&&(x=m[v[T]],x.types.indexOf(e.TYPE_GRADIENT)!==-1?H=x.gradientSettings:H=undefined,H&&H.colorValues?(H.isHorizontal?!H.scaleType||H.scaleType===JMP.LegendBoxStatic.GRADIENT_SCALE_LINEAR?_=2:_=3:_=H.colorValues.length,P=_*D*JMP.LARGE_FONT_SIZE,L=H.isHorizontal?O:4):(P=JMP.LARGE_FONT_SIZE+M,L=4),f={x:i+2,y:s,w:x.width,h:P-2},o(t,f,x),I=0,H&&g===1&&t.title&&t.title.length>0||(r.fillStyle=JMP.COLOR_BLACK,r.textAlign="start",r.textBaseline="middle",B=s+P/2,x.label!==undefined&&(r.fillText(x.label,i+f.w+L,B),I=r.measureText(x.label).width)),k=x?I+x.width+O:0,k>N&&(N=k)),s+=P,F=s>F?s:F;i+=N}return j.width=Math.max(i,C)+.5>>0,j.height=F+.5>>0,j};return e.TYPE_MARKER=0,e.TYPE_HLINE=1,e.TYPE_VLINE=2,e.TYPE_LINE_SIZE=3,e.TYPE_STEP=4,e.TYPE_BAR=5,e.TYPE_HBOXPLOT=6,e.TYPE_VBOXPLOT=7,e.TYPE_FILL_LINE=8,e.TYPE_MARKER_SIZE=9,e.TYPE_GRADIENT=10,e.TYPE_DENSITY_GRADIENT=11,e.TYPE_HINTERVAL=12,e.TYPE_VINTERVAL=13,e.GRADIENT_SCALE_LINEAR=14,e.GRADIENT_SCALE_QUANTILE=15,e.GRADIENT_SCALE_STANDARD_DEVIATION=16,e.GRADIENT_SCALE_LOG=17,e.TIP_LEGEND="Legend",e.getCache=function(n,r){var i,s,o=n.items,u=o.length,a,f=[],l,c,h=[],p={},d;for(i=0;i<u;i++){a=o[i];if(a.isVisible){a.position===undefined&&(a.position=i),d=0;while(h.indexOf(a.position)>=0&&d<100)a.position=a.position+.01,d++;h.push(a.position),p[a.position]=a}f[i]=JMP.ViewStatic.stringTorgb(a.fillColor?a.fillColor.substr(1,7):[0,0,0]);if(a.types.indexOf(e.TYPE_GRADIENT)!==-1){l=a.gradientSettings.colorTheme.colors,c=a.gradientSettings.colorTheme.positions;if(a.gradientSettings.isReverseColors&&!a.gradientSettings.isReverseLabels||!a.gradientSettings.isReverseColors&&a.gradientSettings.isReverseLabels){l.reverse(),c.reverse();for(s=0;s<c.length;s++)c[s]=1-c[s]}a.gradientSettings.isDiscreteColors&&t(a.gradientSettings)}}r.rgb=f,r.positions=h.sort(function(e,t){return e-t}),r.positionedItems=p},e.measure=function(e,t){var n=document.getElementById("sizingCanvas"),r=n.getContext("2d"),i=e.g;return t.legendSize||(e.g=r,t.legendSize=f(e,t),e.g=i),t.legendSize},e.draw=function(e,t){f(e,t)},e.getColor=function(e,t,r,i,s){var o=n(e,i,s),u,f,l,c=t.rgb;return r===null?JMP.COLOR_BLACK:(u=e.items[o].gradientSettings,u?a(r,u):(f=r>>0,l=r-f,l===0?e.items[o+r]?e.items[o+r].fillColor:JMP.COLOR_BLACK:JMP.ViewStatic.rgbToHexString(JMP.ViewStatic.interpolateColor(c[o+f],c[o+f+1],l))))},e.getAlpha=function(e,t,r,i){var s=n(e,r,i);return e.items[s].gradientSettings?e.items[s].alpha:e.items[s+t>>0]?e.items[s+t>>0].alpha:1},e.getLabel=function(e,t,r,i){var s=n(e,r,i);return t||(t=0),e.items[s+t>>0].label},e.getMarkerShape=function(e,t,r,i){var s=n(e,r,i);return e.items[s].gradientSettings?JMP.Marker.DOT:e.items[s+t>>0].markerShape},e.getLineWidth=function(e,t,r,i){var s=n(e,r,i),o=e.items[s+t>>0].lineWidth;return o!==undefined?o:1},e.isGradient=function(e,t,r){var i=n(e,t,r);return e.items[i].gradientSettings?!0:!1},e.onPointerEvent=function(t,n){var r,i,s,o;return i={x:t.x,y:t.y,w:t.width,h:t.height},s=n.pointerTarget.getBoundingClientRect(),o={x:n.clientX-s.left,y:n.clientY-s.top},r=JMP.ViewStatic.pointInRect(o,i),n.type==="pointerout"?JMP.ViewStatic.updateTooltip():r&&JMP.ViewStatic.updateTooltip(n,{lines:[e.TIP_LEGEND]},!0),!1},e}(),JMP.LegendBox=function(e){"use strict";var t=JMP.Segment(e),n,r=function(){return n||(n={},JMP.LegendBoxStatic.getCache(t,n)),n};return t.title=undefined,t.isVisible=!0,t.isFramed=!1,t.isHorizontal=!1,t.isTitleHorizontal=!1,t.nWrap=0,t.modelOffsetMap={},t.items=[],t.measure=function(){return JMP.LegendBoxStatic.measure(t,r())},t.draw=function(){JMP.LegendBoxStatic.draw(t,r())},t.getColor=function(e,n,i){return JMP.LegendBoxStatic.getColor(t,r(),e,n,i)},t.getAlpha=function(e,n,r){return JMP.LegendBoxStatic.getAlpha(t,e,n,r)},t.getLabel=function(e,n,r){return JMP.LegendBoxStatic.getLabel(t,e,n,r)},t.getMarkerShape=function(e,n,r){return JMP.LegendBoxStatic.getMarkerShape(t,e,n,r)},t.getLineWidth=function(e,n,r){return JMP.LegendBoxStatic.getLineWidth(t,e,n,r)},t.isGradient=function(e,n){return JMP.LegendBoxStatic.isGradient(t,e,n)},t.onPointerEvent=function(e){return JMP.LegendBoxStatic.onPointerEvent(t,e)},JMP.EventFacadeStatic.addEventListener(e,t.onPointerEvent),t},JMP.LineSegmentStatic=function(){"use strict";var e={},t=function(e,t,n,r,i,s){var o,u,a={},f={},l,c,h,p,d={x:t,y:n},v={x:r,y:i},m,g,y,b;o=JMP.ViewStatic.distance(d,v),u=.5*Math.min(s,o*.5),a=JMP.ViewStatic.pointAtDistanceAlongLine(u,v,d),f=JMP.ViewStatic.pointAtDistanceAlongLine(-u,v,d),l=f.x-a.x,c=f.y-a.y,h=c*-0.5,p=l*.5,m=a.x+h,g=a.y+p,y=a.x-h,b=a.y-p,e.beginPath(),e.moveTo(f.x,f.y),e.lineTo(m,g),e.lineTo(y,b),e.closePath(),e.fill()},n=function(n,r,i,s,o){var u=Math.min(r.length,i.length),a=o*4+4;(s===e.ARROW_HEAD_START||s===e.ARROW_HEAD_BOTH)&&t(n,r[1],i[1],r[0],i[0],a),(s===e.ARROW_HEAD_END||s===e.ARROW_HEAD_BOTH)&&t(n,r[u-2],i[u-2],r[u-1],i[u-1],a)},r=function(e,t,n,r,i){var s,o=e.length,u,a,f=[],l=[],c=[],h=[],p=[],d=[];if(o<2){r.length=0,i.length=0;return}u=2,a=u/2,n*=.6;for(s=1;s<o-1;s++)f[s]=(e[s+1]-e[s-1])/u,l[s]=(t[s+1]-t[s-1])/u;o===2?(f[0]=(e[1]-e[0])/u,l[0]=(t[1]-t[0])/u,f[1]=f[0],l[1]=l[0]):(f[0]=(e[1]-f[1]/3-e[0])/a,l[0]=(t[1]-l[1]/3-t[0])/a,f[o-1]=(e[o-1]-(e[o-2]+f[o-2]/3))/a,l[o-1]=(t[o-1]-(t[o-2]+l[o-2]/3))/a);for(s=1;s<o;s++)c[s]=e[s-1]+f[s-1]*n,h[s]=t[s-1]+l[s-1]*n,p[s]=e[s]-f[s]*n,d[s]=t[s]-l[s]*n;r.push(e[0]),i.push(t[0]);for(s=1;s<o;s++)r.push(c[s]),i.push(h[s]),r.push(p[s]),i.push(d[s]),r.push(e[s]),i.push(t[s])},i=function(e,t,n,r,i){return e===null||t===null||e===undefined||t===undefined||r&&r[n]||!r&&i&&i[n]?!0:!1};return e.PATTERN_SOLID=0,e.PATTERN_DASH=1,e.PATTERN_DOT=2,e.PATTERN_DASHDOT=3,e.PATTERN_DASHDOTDOT=4,e.PATTERN_SMOOTH=5,e.TYPE_LINE=0,e.TYPE_STEP=1,e.TYPE_POLYGON=2,e.TYPE_LINES=3,e.ARROW_HEAD_NONE=0,e.ARROW_HEAD_START=1,e.ARROW_HEAD_END=2,e.ARROW_HEAD_BOTH=3,e.CONNECT_NONE=0,e.CONNECT_FADED=1,e.CONNECT_DASHED=2,e.CONNECT_THROUGH=3,e.getCache=function(t,n){var r,i,s,o=[],u,a=[],f,l,c,h,p,d=t.columns,v,m,g=[],y=!1,b=t.columns.rowStates,w,E,S,x=t.type,T=t.x,N=t.y,C=t.width,k=t.height,L,A,O=t.scale[JMP.ColumnsStatic.ROLE_X],M=t.scale[JMP.ColumnsStatic.ROLE_Y],_=[],D=[],P=300,H=!1,B=!1,j=!0,F=[],I=[],q=[],R=t.isStatisticForY,U={},z={},W,X,V=!1;f=d.getColumn(JMP.ColumnsStatic.ROLE_X),f&&(l=f.data),c=d.getColumn(JMP.ColumnsStatic.ROLE_Y),c&&(h=c.data),F=d.getColumns(JMP.ColumnsStatic.ROLE_LABEL),t.colorData&&(n.colorData=t.colorData);if(!l||!h)return;l.length===1&&l[0]===null?(l=[O.origin,O.origin+O.range],h[1]=h[0],V=!0):h.length===1&&h[0]===null&&(h=[M.origin,M.origin+M.range],l[1]=l[0],V=!0),s=l.length,h.length>s?h.length=s:h.length<s&&(s=l.length=h.length),L=JMP.Scaling(O,(T>>0)+.5,C-1),A=JMP.Scaling(M,(N+k-1>>0)+.5,1-k);if(t.smoothness>0&&JMP.ScaleStatic.isGeodesic(L.scale,A.scale)){r=0;while(r<s)l[r]!==null&&h[r]!==null?(W=JMP.ScalingStatic.getCompactUSInset({x:l[r],y:h[r]},U,z,!0),X=JMP.ScalingStatic.getCompactUSInset({x:l[r],y:h[r]},U,z,!1),W!==X?(l.length=0,h.length=0,s=0):r++):r++}s===2&&(L.scale.type!==JMP.ScaleStatic.SCALE_LINEAR||A.scale.type!==JMP.ScaleStatic.SCALE_LINEAR)&&L.scale.type!==JMP.ScaleStatic.SCALE_NORMAL&&A.scale.type!==JMP.ScaleStatic.SCALE_NORMAL&&(l=l.slice(),h=h.slice(),JMP.LineSegmentStatic.interpolateLine(l,h,P)),JMP.LineSegmentStatic.scaleData(l,_,L,T,C,h,D,A,N,k,x);if(s>1)if(JMP.ViewStatic.areAllTheSame(D)||x===JMP.LineSegmentStatic.TYPE_LINES&&JMP.ViewStatic.isParallel(D))H=!0;else if(JMP.ViewStatic.areAllTheSame(_)||x===JMP.LineSegmentStatic.TYPE_LINES&&JMP.ViewStatic.isParallel(_))B=!0;t.groupCalculation&&(S=t.groupCalculation.getResult()[t.groupIndex]);if(t.statistic!==JMP.DescriptiveStatic.STAT_NONE&&!V&&(t.XColumns.length>0||t.YColumns.length>0)){d=R?t.XColumns:t.YColumns;if(d){v=d.length,y=!0;for(i=0;i<v&&y;i++)p=d[i],y=p.dataLevel!==JMP.VariableStatic.LEVEL_CONTINUOUS;y||(v=1);for(i=0;i<v;i++)p=d[i],m=JMP.UniqueStatic.getValues([p],b,t.hasMissingLevels,!0),JMP.ViewStatic.permuteUniqueValues(R?O:M,m),a.push(m[0]),g.push(p)}w=JMP.FrequencyStatic.getRows(g,a,b,S)}else if(l&&h&&b){w=[];if(S)w[0]=S;else{w[0]=[],s=b.excluded.length;for(r=0;r<s;r++)b.excluded[r]||w[0].push(r)}}if(w){if(t.type===e.TYPE_STEP){E=[],i=0,s=1+(w.length-1)*2;for(r=0;r<s;r++)r%2===0?E[r]=w[i++]:E[r]=[];w=E}if(t.overlayIndex!==undefined){u=t.overlayTerm.nLevels,s=w.length;for(r=0;r<s;r++)o.push(JMP.TermStatic.splitIndices(t.overlayTerm,[w[r]])[t.overlayIndex%u]);w=o}n.hiddenAggregates=[],JMP.ViewStatic.setHiddenAggregates(w,b,n.hiddenAggregates,!1)}JMP.ViewStatic.createLabels(b?s:0,F,w,I,q),t.legend&&(n.alpha=t.legend.getAlpha(0,t.legendOffset,t.legendModelID),n.colorData&&(n.getColorFunc=function(e){return t.legend.getColor(n.colorData[e],t.legendOffset,t.legendModelID)}),t.overlayTerm&&(n.getLabelFunc=function(e){return t.legend.getLabel(e,t.legendOffset,t.legendModelID)})),s=t.XColumns.length;for(r=0;r<s&&j;r++)j=t.XColumns[r].dataLevel===JMP.VariableStatic.LEVEL_CONTINUOUS;s=t.YColumns.length;for(r=0;r<s&&j;r++)j=t.YColumns[r].dataLevel===JMP.VariableStatic.LEVEL_CONTINUOUS;n.rowStates=b,n.markerIndices=[],n.aggregatedRowIndices=w,n.xData=l,n.yData=h,n.xScaled=_,n.yScaled=D,n.xScaling=L,n.yScaling=A,n.xColumns=t.XColumns,n.yColumns=t.YColumns,n.xPosColumn=f,n.yPosColumn=c,n.nAggregateColumns=v,n.isHorizontal=H,n.isVertical=B,n.lineWidth=(t.lineWidth!==undefined?t.lineWidth:1)*(t.lineWidthScale!==undefined?t.lineWidthScale:1),n.lineColor=t.lineColor!==undefined?t.lineColor:JMP.COLOR_LINE,n.smoothness=t.style===e.PATTERN_SMOOTH?t.smoothness:undefined,n.labeledColumnNames=I,n.labelValues=q,n.isContinuous=j,n.statistic=t.statistic,n.isStatisticForY=R,n.isSingleValue=V,n.colorTerm=t.colorTerm,n.overlayTerm=t.overlayTerm},e.getLineDash=function(t,n){var r=n*6,i=n*2+2,s=n+1,o=n*4;t===e.PATTERN_DASHDOT&&(r--,o--),t===e.PATTERN_DASHDOTDOT&&(r--,i-=2);switch(t){case e.PATTERN_DASH:return[r,i];case e.PATTERN_DOT:return[s,o];case e.PATTERN_DASHDOT:return[r,o,s,o];case e.PATTERN_DASHDOTDOT:return[r,i,s,i,s,i];default:return[]}},e.draw=function(t,r){var i=t.arrowhead,s=t.g,o,u,a,f;if(!r)return;o=r.xScaled,u=r.yScaled,a=r.lineWidth,f=r.lineColor,e.drawLine(s,o,u,a,f,t.style,r.alpha,t.type,t.connectMissing,r.isHorizontal,r.isVertical,r.smoothness,r.rowStates,r.hiddenAggregates,r.markerIndices,r.getColorFunc),i!==e.ARROW_HEAD_NONE&&o&&o.length>=2&&(s.fillStyle=f,n(s,o,u,i,a))},e.drawLine=function(t,n,s,o,u,a,f,l,c,h,p,d,v,m,g,y){var b=0,w,E,S,x,T=Math.min(n?n.length:0,s?s.length:0),N,C="moveTo",k,L=0,A,O=!1,M=!1,_,D,P=-1,H=t.globalAlpha,B=[],j=[],F,I=function(e){g&&g.push(e)};v&&(F=v.hidden),g!==undefined&&(g.length=0),u||(u=JMP.COLOR_BLACK),t.strokeStyle=u,o<=0&&(o=1),t.lineWidth=o,N=o%2===1,f===undefined&&(f=1),t.globalAlpha=f,a===undefined&&(a=e.PATTERN_SOLID),l===undefined&&(l=e.TYPE_LINE),c===undefined&&(c=e.CONNECT_NONE),k=l===e.TYPE_STEP||l===e.TYPE_LINE||l===e.TYPE_POLYGON,A=l===e.TYPE_STEP||l===e.TYPE_POLYGON||h||p,t.beginPath(),t.lineCap=y?"round":"butt",t.lineJoin="miter",t.miterLimit=3,t.setLineDash(e.getLineDash(a,o));if(a===e.PATTERN_SMOOTH){r(n,s,d,B,j),T=B.length,t.moveTo(B[0],j[0]);for(b=3;b<T;b+=3)t.bezierCurveTo(B[b-2],j[b-2],B[b-1],j[b-1],B[b],j[b]),y&&(t.strokeStyle=y(b/3),t.stroke(),b<T-1&&(t.beginPath(),t.moveTo(B[b],j[b])))}else{while(b<T)w=n[b],E=s[b],S=n[b+1],x=s[b+1],i(w,E,b,m,F)?c===e.CONNECT_THROUGH?b++:c===e.CONNECT_NONE?(O=!1,C="moveTo",l===e.TYPE_STEP||l===e.TYPE_LINES?b+=2:b++,L=b):T===2&&P===0?(I(0),b++):(O=!1,C="lineTo",t.stroke(),t.beginPath(),c===e.CONNECT_DASHED?t.setLineDash(e.getLineDash(a===e.PATTERN_SOLID?e.PATTERN_DASH:e.PATTERN_DOT,o)):t.globalAlpha=.4*f,A?JMP.ViewStatic.drawCommand(t,_,D,N,C):t[C](_,D),b++,L=P,M=!0):(_=w,D=E,P=b,i(S,x,b+1,m,F)?(!!O||c!==e.CONNECT_NONE&&T!==1?!O&&c===e.CONNECT_THROUGH?(O=!0,L=b,b<T-1?A?JMP.ViewStatic.drawCommand(t,w,E,N,"moveTo"):t.moveTo(w,E):I(b)):T===2&&b===1&&P===1?I(1):(A?JMP.ViewStatic.drawCommand(t,w,E,N,"lineTo"):t.lineTo(w,E),y&&(t.strokeStyle=y(b),t.stroke())):I(b),b++):(k&&b>L&&(C="lineTo"),C==="moveTo"||c===e.CONNECT_NONE||c===e.CONNECT_THROUGH?(O=!0,A?(JMP.ViewStatic.drawCommand(t,w,E,N,C),JMP.ViewStatic.drawCommand(t,S,x,N,"lineTo")):(t[C](w,E),t.lineTo(S,x)),y?(b++,t.strokeStyle=y(b),t.stroke(),b<T-1&&t.beginPath()):(_=S,D=x,P=b+1,b+=2)):C==="lineTo"&&(c===e.CONNECT_DASHED||c===e.CONNECT_FADED)&&(A?JMP.ViewStatic.drawCommand(t,w,E,N,"lineTo"):t.lineTo(w,E),y&&M&&(t.strokeStyle=y(b)),t.stroke(),M=!1,t.beginPath(),c===e.CONNECT_DASHED?t.setLineDash(e.getLineDash(a,o)):t.globalAlpha=f,A?(JMP.ViewStatic.drawCommand(t,w,E,N,"moveTo"),JMP.ViewStatic.drawCommand(t,S,x,N,"lineTo")):(t.moveTo(w,E),t.lineTo(S,x)),y?(_=w,D=E,P=b,b++,t.strokeStyle=y(b),t.stroke(),b<T-1&&t.beginPath()):(_=S,D=x,P=b+1,b+=2))));l===e.TYPE_POLYGON&&t.closePath()}t.stroke(),t.lineCap="butt",t.setLineDash([]),T=g?g.length:0;for(b=0;b<T;b++)JMP.MarkerSegmentStatic.drawMarker(t,n[g[b]],s[g[b]],o+2,JMP.Marker.DOT,y?y(g[b]):u);t.globalAlpha=H},e.scaleData=function(t,n,r,i,s,o,u,a,f,l,c){var h,p=Math.min(t.length,o.length),d=JMP.ScalingStatic.valuesToPixel,v=c===e.TYPE_STEP,m,g=JMP.ScalingStatic.ensureValid;for(h=0;h<p;h++)t[h]===null||o[h]===null?(n[h]=null,u[h]=null):(m=d(r,a,t[h],o[h],v),n[h]=g(m.x,i,s),u[h]=g(m.y,f,l))},e.interpolateLine=function(e,t,n){var r,i,s,o,u,a,f;if(!e||!t||e.length!==2||t.length!==2||n<3)return;i=e[1]-e[0],s=t[1]-t[0],a=Math.sqrt(i*i+s*s);if(isFinite(a)){e[n]=e[1],t[n]=t[1],f=a/n,o=f*i/a,u=f*s/a;for(r=1;r<n;r++)e[r]=e[r-1]+o,t[r]=t[r-1]+u}},e.getTooltip=function(t,n,r,s,o,u,a,f,l,c,h,p){var d,v,m,g=null,y,b,w,E,S=null,x=a===e.TYPE_STEP||a===e.TYPE_LINE||a===e.TYPE_POLYGON,T=a===e.TYPE_STEP,N,C={shortestSquaredLength:Infinity,nearestPoint:{x:null,y:null}},k,L,A,O,M,_=JMP.ViewStatic.FUZZ_PIXELS,D,P,H,B,j,F,I,q,R,U,z,W,X,V,$,J,K,Q=JMP.ViewStatic.FUZZ_PIXELS_SQUARED,G=4,Y,Z,et,tt=!1,nt=u.scale.axisLabel||null,rt=o.scale.axisLabel||null,it,st;p&&(P=p.rowStates,P&&(H=p.rowStates.hidden),D=p.aggregatedRowIndices,B=p.hiddenAggregates,q=p.colorData,R=p.colorTerm,U=p.overlayTerm,W=p.labeledColumnNames,X=p.labelValues,J=p.xPosColumn,K=p.yPosColumn,F=p.xColumns,I=p.yColumns,V=p.statistic,$=p.isStatisticForY,et=p.nAggregateColumns,st=p.isSingleValue);if(H){if(st)$?(L=s[0],n>L-_&&n<L+_&&(O=L-n,C.shortestSquaredLength=O*O,C.nearestIndex=0,j=0,C.nearestPoint.x=t,C.nearestPoint.y=L)):(k=r[0],t>k-_&&t<k+_&&(A=k-t,C.shortestSquaredLength=A*A,C.nearestIndex=0,j=0,C.nearestPoint.x=k,C.nearestPoint.y=n));else{m=r.length;for(d=0;d<m;d++){k=r[d],L=s[d];if(isFinite(k)&&isFinite(L)&&t>k-_&&t<k+_&&n>L-_&&n<L+_){A=k-t,O=L-n,M=A*A+O*O;if(M<C.shortestSquaredLength){C.shortestSquaredLength=M,C.nearestIndex=d;if(D){j=-1;for(v=0;v<D.length;v++){(D[v].length>0||a===e.TYPE_STEP)&&j++;if(j===d){j=v;break}}}C.nearestPoint.x=k,C.nearestPoint.y=L}}}}d=C.nearestIndex;if(d!==undefined&&!i(t,n,d,B,H)&&D[j].length>0){g={lines:[],distance:C.shortestSquaredLength,area:1,x:C.nearestPoint.x,y:C.nearestPoint.y-G},z=X?X[j]:null,z&&JMP.ViewStatic.addLabeledColumnsToTooltip(z,W,g);if($){S=u.scale,b=JMP.ViewStatic.getLabel(K,V),it=K.dataLevel===JMP.VariableStatic.LEVEL_CONTINUOUS?JMP.ViewStatic.getPreciseFormat(S.origin,S.range,K.format,!1,K.isIntegral(),V):undefined,JMP.ViewStatic.addTooltipLine(g,b,K.getValueString(K.data[d],it)),S=o.scale;for(v=0;v<et;v++)b=JMP.ViewStatic.getLabel(F[v]),it=F[v].type===JMP.VariableStatic.TYPE_NUMBER?F[v].format:undefined,JMP.ViewStatic.addTooltipLine(g,b,F[v].getValueString(F[v].data[D[j][0]],it))}else{S=u.scale;for(v=0;v<et;v++)b=JMP.ViewStatic.getLabel(I[v]),it=I[v].type===JMP.VariableStatic.TYPE_NUMBER?I[v].format:undefined,JMP.ViewStatic.addTooltipLine(g,b,I[v].getValueString(I[v].data[D[j][0]],it));S=o.scale,b=JMP.ViewStatic.getLabel(J,V),it=J.dataLevel===JMP.VariableStatic.LEVEL_CONTINUOUS?JMP.ViewStatic.getPreciseFormat(S.origin,S.range,J.format,!1,J.isIntegral(),V):undefined,JMP.ViewStatic.addTooltipLine(g,b,J.getValueString(J.data[d],it))}R&&q&&R.column.dataLevel===JMP.VariableStatic.LEVEL_CONTINUOUS&&(b=JMP.ViewStatic.getLabel(R.column,V),it=JMP.ViewStatic.getPreciseFormat(0,0,R.column.format,!1,R.column.isIntegral(),V),JMP.ViewStatic.addTooltipLine(g,b,R.getValueString(q[d],it))),U&&(U.column.dataLevel===JMP.VariableStatic.LEVEL_CONTINUOUS?!R&&p.getLabelFunc&&JMP.ViewStatic.addTooltipLine(g,U.column.name,p.getLabelFunc()):JMP.ViewStatic.addTooltipLine(g,U.column.name,U.column.getValueString(U.column.data[D[j][0]]))),D&&JMP.ViewStatic.addTooltipLine(g,JMP.ViewStatic.TIP_ROWS,D[j].length)}}else y=JMP.ViewStatic.findShortestDistanceToLine(t,n,r,s,x),y.shortestSquaredLength<Q&&(d=y.nearestIndex,g={lines:[],distance:y.shortestSquaredLength,area:1},c?nt?JMP.ViewStatic.addAxisValuesToTooltip(g,s[d],u):(S=u.scale,E=JMP.ScalingStatic.pixelToValue(u,s[d]),JMP.ViewStatic.addTooltipLine(g,f,E,S?S.refFormat:undefined)):h?rt?JMP.ViewStatic.addAxisValuesToTooltip(g,r[d],o):(S=o.scale,w=JMP.ScalingStatic.pixelToValue(o,r[d]),JMP.ViewStatic.addTooltipLine(g,f,w,S?S.refFormat:undefined)):(Y=o.scale.type===JMP.ScaleStatic.SCALE_LINEAR&&o.scale.labels,Z=u.scale.type===JMP.ScaleStatic.SCALE_LINEAR&&u.scale.labels,f&&(l||!nt&&!rt)&&JMP.ViewStatic.addTooltipLine(g,undefined,f),Y&&Z?(w=JMP.ScalingStatic.pixelToValue(o,t),N=o.scale.getCategoryIndex(w,0),y=JMP.ViewStatic.findShortestDistanceToLine(JMP.ScalingStatic.valueToPixel(o,N),n,r,s,x),JMP.ViewStatic.addAxisValuesToTooltip(g,y.nearestPoint.y,u),JMP.ViewStatic.addAxisValuesToTooltip(g,y.nearestPoint.x,o),tt=!0):Y?(w=JMP.ScalingStatic.pixelToValue(o,t),N=o.scale.getCategoryIndex(w,0),T?E=JMP.ScalingStatic.pixelToValue(u,y.nearestPoint.y):E=JMP.ScalingStatic.pixelToValue(u,s[d]),JMP.ViewStatic.addTooltipLine(g,nt,E,u.scale.getFormat()),JMP.ViewStatic.addAxisValuesToTooltip(g,t,o)):Z?(E=JMP.ScalingStatic.pixelToValue(u,n),N=u.scale.getCategoryIndex(E,0),JMP.ViewStatic.addAxisValuesToTooltip(g,n,u),w=JMP.ScalingStatic.pixelToValue(o,r[d]),JMP.ViewStatic.addTooltipLine(g,rt,w,o.scale.getFormat())):(tt=!0,E=JMP.ScalingStatic.pixelToValue(u,y.nearestPoint.y),JMP.ViewStatic.addTooltipLine(g,nt,E,u.scale.getFormat()),w=JMP.ScalingStatic.pixelToValue(o,y.nearestPoint.x),JMP.ViewStatic.addTooltipLine(g,rt,w,o.scale.getFormat())),T||tt?g.x=y.nearestPoint.x:g.x=r[N],T||tt?g.y=y.nearestPoint.y-G:g.y=s[N]-G));return g},e}(),JMP.LineSegment=function(e){"use strict";var t=JMP.Segment(e),n,r=function(){return!n&&t.columns&&t.scale[JMP.ColumnsStatic.ROLE_X]&&t.scale[JMP.ColumnsStatic.ROLE_Y]&&(n={},JMP.LineSegmentStatic.getCache(t,n)),n};return t.lineColor=JMP.COLOR_LINE,t.lineWidth=1,t.lineWidthScale=1,t.style=JMP.LineSegmentStatic.PATTERN_SOLID,t.type=JMP.LineSegmentStatic.TYPE_LINE,t.smoothness=0,t.arrowhead=JMP.LineSegmentStatic.ARROW_HEAD_NONE,t.useDescriptionTooltip=undefined,t.connectMissing=JMP.LineSegmentStatic.CONNECT_NONE,t.XColumns=[],t.YColumns=[],t.colorData=undefined,t.isStatisticForY=!0,t.draw=function(){n=undefined,JMP.LineSegmentStatic.draw(t,r())},t.getTooltip=function(e,i){return r()?JMP.LineSegmentStatic.getTooltip(e,i,n.xScaled,n.yScaled,n.xScaling,n.yScaling,t.type,t.description,t.useDescriptionTooltip,n.isHorizontal,n.isVertical,n):null},t},JMP.MarkerSegmentStatic=function(){"use strict";var e={},t=[1,3,5,7,10,12,13],n=[1,2,2,3,4,5,5],r=[1,1,1,1,2,2,2],i=[1,2,2,2,2,3,3],s=JMP.ScalingStatic.valuesToPixel,o=JMP.ScalingStatic.pixelToValue,u=JMP.ViewStatic.stringTorgb,a=3,f=1/255,l=u(JMP.COLOR_DESELECT.substr(1,7)),c=function(e,t,n){var r=n?n[e]:e;return t?r<t.length?t[r]:-1:r},h=function(e,t,n,r,i,s,o,u){var f=e.width,l=e.xOffset,c=e.yOffset,h=e.showLabels,p=e.labelValues,d=e.isLabelDataIndexed,v,m=!1,g=4,y,b,w,E,S,x,T,N,C,k,L;k=t.rowStates,L=t.aggregatedRowIndices;if(!h||!h[s])return;v=k.labeled;if(L&&L[s]){y=L[s].length;for(b=0;b<y&&!m;b++)T=L[s][b],m=v[T]}else m=v[o];if(!m)return;S=d?s:o,E=p?p[S]:null,w=E?E.length:0,C=Math.min(w,a),N="";for(T=0;T<C;T++)N+=E[T].join(", "),N=N.replace(/,\s*$/,""),T<C-1&&(N+="; ");w>a&&(N+="; ..."),u&&(n.font=JMP.LARGE_FONT_SIZE+"px "+JMP.FONT,S=d?s:o,x=n.measureText(N).width+g,x<f&&r+l[s]+x>f&&(l[s]=f-r-x)),JMP.TextBoxStatic.drawOffsetText(n,r,i,l[s],c[s],N,JMP.LARGE_FONT_SIZE)},p=function(e,t,n,r){return n&&(r?e>=0&&r[e]:n[t])},d=function(e,t,n,r,i,o,u,a,f,l){var h={dataIndex:-1,rowIndex:-1,distance:0},d,v,m,g={},y,b,w,E=Number.MAX_VALUE,S,x,T,N=-1,C=-1,k=JMP.ViewStatic.FUZZ_PIXELS;if(!n||!r)return null;f&&(d=f.hidden),T=n.length;for(S=0;S<T;S++)x=c(S,u,a),!p(S,x,d,l)&&n[S]!==null&&r[S]!==null&&(g=s(i,o,n[S],r[S]),v=g.x,m=g.y,isFinite(v)&&isFinite(m)&&e>v-k&&e<v+k&&t>m-k&&t<m+k&&(y=v-e,b=m-t,w=y*y+b*b,w<=E&&(E=w,N=S,C=x)));return E===Number.MAX_VALUE?null:(h.distance=E,h.dataIndex=N,h.rowIndex=C,h)},v=function(e,s,o,u,a){var f,l=0,c="lines",h=0,p=[0,0,0,0,0,0,0,0],d=[0,0,0,0,0,0,0,0],v,m,g,y,b,w,E,S,x,T,N,C,k,L,A,O=!1,M=!1;if(a===null||a===undefined)a=JMP.Marker.DOT;if(u===0||u===1&&a===JMP.Marker.DOT){e.fillRect(s-.5>>0,o-.5>>0,1,1);return}if(a>31){g=e.font,y=e.textBaseline,b=e.textAlign,m=String.fromCharCode(a),v=1+u*3,e.font=v+"px "+JMP.FONT,e.textBaseline="middle",e.textAlign="center",e.fillText(m,s,o),e.font=g,e.textBaseline=y,e.textAlign=b;return}M=a===JMP.Marker.DOT||a>JMP.Marker.STAR&&a<JMP.Marker.TRIANGLE_DOWN||a>JMP.Marker.TRIANGLE_RIGHT&&a<JMP.Marker.ARROW_UP,w=e.lineWidth,e.lineWidth=u>5?3:u>3?2:1,x=u,M&&a!==JMP.Marker.DOT&&a!==JMP.Marker.DIAMOND_FILLED&&a<JMP.Marker.TRIANGLE_RIGHT&&(x*=.9),T=(x+1)/2,N=(x*Math.SQRT2+1)/2,C=(x*JMP.SQRT3+1)/2,h=M||e.lineWidth===2?0:.5,l=p.length;for(f=0;f<l;f++)p[f]=(s+.5>>0)+h,d[f]=(o+.5>>0)+h;switch(a){case JMP.Marker.PLUS:x=(x>>0)+h,p[0]-=x,p[1]+=x,d[2]-=x,d[3]+=x,l=4;break;case JMP.Marker.X:p[0]-=N,d[0]-=N,p[1]+=N,d[1]+=N,p[2]-=N,d[2]+=N,p[3]+=N,d[3]-=N,l=4;break;case JMP.Marker.SQUARE:L=u*2-e.lineWidth+1,x=L*.5>>0,p[0]-=x+1,d[0]-=x,A=L,c="rect";break;case JMP.Marker.SQUARE_FILLED:L=u*2,p[0]-=u,d[0]-=u,p[0]=p[0]>>0,d[0]=d[0]>>0,A=L,c="rect";break;case JMP.Marker.Y:d[0]+=x,p[2]-=N,d[2]-=N,p[4]+=N,d[4]-=N,l=5;break;case JMP.Marker.DIAMOND:case JMP.Marker.DIAMOND_FILLED:d[0]-=x,p[1]+=x,d[2]+=x,p[3]-=x,l=4,O=!0,c="polyline";break;case JMP.Marker.TRIANGLE_UP:case JMP.Marker.TRIANGLE_UP_FILLED:if(u<2||!M)x*=.9,C=C*.9+h>>0;d[0]-=x,p[1]+=C,d[1]+=C,p[2]-=C,d[2]+=C,l=3,O=!0,c="polyline";break;case JMP.Marker.TRIANGLE_DOWN:case JMP.Marker.TRIANGLE_DOWN_FILLED:if(u<2||!M)x*=.9,C=C*.9+h>>0;d[0]+=x,p[1]+=C,d[1]-=C,p[2]-=C,d[2]-=C,l=3,O=!0,c="polyline";break;case JMP.Marker.TRIANGLE_LEFT:case JMP.Marker.TRIANGLE_LEFT_FILLED:if(u<2||!M)x*=.9,C=C*.9+h>>0;p[0]-=x,p[1]+=C,d[1]-=C,p[2]+=C,d[2]+=C,l=3,O=!0,c="polyline";break;case JMP.Marker.TRIANGLE_RIGHT:case JMP.Marker.TRIANGLE_RIGHT_FILLED:if(u<2||!M)x*=.9,C=C*.9+h>>0;p[0]+=x,p[1]-=C,d[1]-=C,p[2]-=C,d[2]+=C,l=3,O=!0,c="polyline";break;case JMP.Marker.ARROW_UP:x*=.9,d[1]-=x,p[0]+=x,d[0]+=x,p[2]-=x,d[2]+=x,l=3,c="polyline";break;case JMP.Marker.ARROW_DOWN:x*=.9,d[1]+=x,p[2]+=x,d[2]-=x,p[0]-=x,d[0]-=x,l=3,c="polyline";break;case JMP.Marker.ARROW_LEFT:x*=.9,p[1]-=x,p[0]+=x,d[0]-=x,p[2]+=x,d[2]+=x,l=3,c="polyline";break;case JMP.Marker.ARROW_RIGHT:x*=.9,p[1]+=x,p[0]-=x,d[0]-=x,p[2]-=x,d[2]+=x,l=3,c="polyline";break;case JMP.Marker.Z:p[0]-=N,d[0]-=N,p[1]+=N,d[1]-=N,p[2]-=N,d[2]+=N,p[3]+=N,d[3]+=N,l=4,c="polyline";break;case JMP.Marker.CIRCLE_FILLED:case JMP.Marker.CIRCLE:k=x,c="circle";break;case JMP.Marker.WIDE:p[0]-=u+1,d[0]-=r[u],L=t[u],A=n[u],c="rect";break;case JMP.Marker.WIDE_FILLED:p[0]=p[0]-u>>0,d[0]=d[0]-u*.5>>0,L=u*2,A=u,c="rect";break;case JMP.Marker.TALL:p[0]-=i[u],d[0]-=u+1,L=n[u],A=t[u],c="rect";break;case JMP.Marker.TALL_FILLED:p[0]=p[0]-u*.5>>0,d[0]=d[0]-u>>0,L=u,A=u*2,c="rect";break;case JMP.Marker.STAR:d[0]-=x,d[1]+=x,p[2]-=C,d[2]-=T,p[3]+=C,d[3]+=T,p[4]-=C,d[4]+=T,p[5]+=C,d[5]-=T,l=6;break;case JMP.Marker.PIPE:e.lineWidth&1&&(x+=.5),d[0]-=x,d[1]+=x,l=2;break;case JMP.Marker.MINUS:e.lineWidth&1&&(x+=.5),p[0]-=x,p[1]+=x,l=2;break;case JMP.Marker.SLASH:p[0]-=N,d[0]+=N,p[1]+=N,d[1]-=N,l=2;break;case JMP.Marker.BACKSLASH:p[0]-=N,d[0]-=N,p[1]+=N,d[1]+=N,l=2;break;default:k=x*.55,c="circle"}e.beginPath(),e.miterLimit=10;switch(c){case"lines":a===JMP.Marker.Y&&(E=e.lineCap,e.lineCap="square");for(f=0;f<l;f+=2)e.moveTo(p[f],d[f]),e.lineTo(p[f+1],d[f+1]);e.stroke(),a===JMP.Marker.Y&&(e.lineCap=E);break;case"polyline":M||(S=e.lineJoin,E=e.linecap,e.lineJoin=a===JMP.Marker.Z?"bevel":"miter",e.lineCap=a===JMP.Marker.Z?"butt":"square"),e.moveTo(p[0],d[0]);for(f=1;f<l;f++)e.lineTo(p[f],d[f]);M?e.fill():(O&&e.closePath(),e.stroke(),e.lineJoin=S,e.lineCap=E);break;case"rect":e.lineJoin="miter",M?e.fillRect(p[0],d[0],L,A):e.strokeRect(p[0],d[0],L,A);break;default:e.arc(p[0],d[0],k,0,2*Math.PI),M?e.fill():e.stroke()}e.closePath(),e.lineWidth=w},m=function(e,t,n,r,i,s){var o=e[t],u=e[t+1],a=e[t+2],l=e[t+3],c,h,p,d,v;v=l*f*(1-s),c=n*s+o*v>>0,h=r*s+u*v>>0,p=i*s+a*v>>0,d=s+v,d=d>=1?255:d*255>>0,o!==c&&(e[t]=c),u!==h&&(e[t+1]=h),a!==p&&(e[t+2]=p),l!==d&&(e[t+3]=d)},g=function(e,t,n,r,i,s,o,u){var a=(r*t+n)*4;if(u<JMP.SINGULAR)return;m(e,a,i,s,o,u)},y=function(e,t,n,r,i,s,o){var u=(r*t+n)*4;e[u]=i,e[u+1]=s,e[u+2]=o,e[u+3]=255},b=function(e,t,n){return e.legend.getAlpha(t.colorData[n],e.legendOffset,e.legendModelID)},w=function(e){return e.color},E=function(){return JMP.COLOR_BLACK},S=function(e,t,n){return e.legend.getColor(t.colorData[n],e.legendOffset,e.legendModelID)},x=function(e,t,n,r){return t.aggregatedRowIndices?JMP.ViewStatic.rgbToString(t.aggregateColors[n]):JMP.ViewStatic.rgbToString(t.rowStatesColor[r])},T=function(e,t,n){return JMP.ViewStatic.stringTorgb(e.legend.getColor(t.colorData[n],e.legendOffset,e.legendModelID).substr(1,7))},N=function(e,t,n,r){return t.rowStatesColor[r]},C=function(e){return JMP.ViewStatic.stringTorgb(e.color.substr(1,7))},k=function(){return[0,0,0]},L=function(e){return e.size},A=function(){return 1},O=function(e,t,n){var r=null,i=t.sizeData[n];return isFinite(i)&&(r=(i-t.adjMin)*t.sizeRatio,r=Math.sqrt(r),r=Math.max(0,r*e.size+.5>>0)),r},M=function(e){return e.shape},_=function(e){return e.preferredShape},D=function(e,t,n,r){var i=t.aggregatedRowIndices?t.aggregateShapes[n]:t.rowStatesMarker[r];return i===0?e.preferredShape:i},P=function(e,t,n,r){var i=t.aggregatedRowIndices?t.aggregateShapes[n]:t.rowStatesMarker[r];return i===0?JMP.Marker.DOT:i},H=function(e,t,n){var r=t.colorData[n],i=JMP.Marker.DOT;return r!==null&&(i=e.legend.getMarkerShape(r,e.legendOffset,e.legendModelID)),i!==JMP.Marker.DOT?i:e.shape>0?e.shape:JMP.Marker.DOT},B=function(){return JMP.Marker.DOT},j=function(e,t,n){var r=t.color,i,s,o,u,a,f,l;o=e.length;for(i=0;i<o;i++){a=!1,u=e[i]?e[i].length:0,f=r[e[i][0]];for(s=1;s<u&&!a;s++)l=r[e[i][s]],a=l[0]!==f[0]||l[1]!==f[1]||l[2]!==f[2];a&&(f=[0,0,0]),n[i]=f}},F=function(e,t,n,r){var i=t.marker,s,o,u,a,f,l,c=n>0?n:JMP.Marker.DOT;u=e.length;for(s=0;s<u;s++){f=!1,a=e[s]?e[s].length:0,l=i[e[s][0]];for(o=1;o<a&&!f;o++)f=i[e[s][o]]!==l;f&&(l=c),r[s]=l}},I=function(e,t,n,r,i,s,o,u,a){var f,l,c,h,p,d=n.scale,v,m;f=t.length;if(!d.labels||d.labels.length===f)if(f===1)c=t[0],p=JMP.ViewStatic.getLabel(c,a,r),c.dataLevel!==JMP.VariableStatic.LEVEL_CONTINUOUS&&!d.labels?h=c.getValueString(c.data[u]):(h=d.getAxisValue(s[o],0),v=d.labels?undefined:JMP.ViewStatic.getPreciseFormat(d.origin,d.range,d.format,!1,c.isIntegral(),a)),JMP.ViewStatic.addTooltipLine(e,p,h,v);else for(l=0;l<f;l++)c=t[l],p=JMP.ViewStatic.getLabel(c,a,r),h=c.getValueString(c.data[u]),JMP.ViewStatic.addTooltipLine(e,p,h);else m=JMP.ScalingStatic.valueToPixel(n,s[o]),JMP.ViewStatic.addAxisValuesToTooltip(e,m,n)},q=function(e,t){var n,r=t.length,i=!1;for(n=0;n<r&&!i;n++)i=e[t[n]]!==null;return i};return e.MENU_LARGER_MARKERS="Increase Marker Size",e.MENU_SMALLER_MARKERS="Decrease Marker Size",e.MIN_MARKER_SIZE=0,e.MAX_MARKER_SIZE=6,e.getCache=function(e,t){var n=e.columns,r,i,s,o,u,a,f,l=[],c=[],h=[],p,d,v,m,g,y,I,R,U,z,W,X,V,$,J,K,Q,G,Y,Z,et=!1,tt=1,nt=1,rt,it=E,st=k,ot=L,ut=B,at,ft,lt,ct,ht;g=e.XPos,v=g.data,y=e.YPos,m=y.data,I=n.getColumns(JMP.ColumnsStatic.ROLE_X),R=n.getColumns(JMP.ColumnsStatic.ROLE_Y),K=e.sizeData,Q=e.colorData,U=n.rowStates,U&&(G=U.color,Y=U.marker,d=U.excluded),i=e.scale[JMP.ColumnsStatic.ROLE_X],s=e.scale[JMP.ColumnsStatic.ROLE_Y],$=JMP.Scaling(i,0,e.width-1),J=JMP.Scaling(s,e.height-1,1-e.height),Q&&e.legend&&(rt=b),Q&&e.legend&&(!e.overlayTerm||!e.color||e.color===JMP.COLOR_BLACK)?(it=S,st=T):e.color?(it=w,st=C):U&&G&&(it=x,st=N),K&&e.sizeMin!==e.sizeMax&&(nt=Math.min(0,e.sizeMin),nt===e.sizeMax?ot=A:(ot=O,tt=9/(e.sizeMax-nt))),Q&&e.legend&&!e.legend.isGradient(e.legendOffset,e.legendModelID)&&!e.overlayTerm?ut=H:e.shape>0?ut=M:U&&U.marker&&e.preferredShape>0?ut=D:U&&U.marker?ut=P:e.preferredShape>0&&(ut=_),Z=document.createElement("canvas"),X=JMP.Scaling(i,e.x+.5>>0,e.width-1),V=JMP.Scaling(s,e.y+e.height-.5>>0,1-e.height),I.length===1&&!i.labels?z=I[0].name:I.length===0&&g.name?z=g.name:i.axisLabel&&(z=i.axisLabel),R.length===1&&!s.labels?W=R[0].name:R.length===0&&y.name?W=y.name:s.axisLabel&&(W=s.axisLabel);if(!e.groupRowIndices&&e.groupCalculation&&(e.overlayIndex!==undefined||e.statistic!==JMP.DescriptiveStatic.STAT_NONE)){l=e.groupCalculation.getResult()[e.groupIndex],a=l.length;for(o=a-1;o>=0;o--)d[l[o]]&&l.splice(o,1);e.groupRowIndices=l}if(e.statistic!==JMP.DescriptiveStatic.STAT_NONE&&(I.length>0||R.length>0)){if(I.length+R.length===1)if(e.groupRowIndices)at=[e.groupRowIndices];else{a=d.length,at=[],at[0]=[];for(o=0;o<a;o++)(!d||!d[o])&&at[0].push(o)}else{n=e.isStatisticForY?I:R;if(n.length>0){r=JMP.UniqueStatic.getValues(n,U,e.hasMissingLevels,!0),at=JMP.FrequencyStatic.getRows(n,r,U,e.groupRowIndices),a=at.length;for(o=0,u=0;o<a;o++)at[o].length!==0&&(u!==o&&(at[u]=at[o]),u++);u<o&&(at.length=u),n=e.isStatisticForY?R:I,f=n[0].data,a=at.length;for(o=a-1;o>=0;o--)q(f,at[o])||at.splice(o,1)}}if(e.overlayIndex!==undefined){p=e.overlayTerm.nLevels,a=at.length;for(o=0;o<a;o++)h=JMP.TermStatic.splitIndices(e.overlayTerm,[at[o]])[e.overlayIndex%p],h&&h.length>0&&c.push(h);at=c}}at&&(ft=[],lt=[],ct=[],ht=[],JMP.ViewStatic.setSelectedAggregates(at,U,ft),JMP.ViewStatic.setHiddenAggregates(at,U,lt),j(at,U,ct),F(at,U,e.preferredShape,ht));if(e.groupRowIndices||at)e.isLabelDataIndexed=!0;t.xData=v,t.yData=m,t.xColumn=g,t.yColumn=y,t.XColumns=I,t.YColumns=R,t.rowStates=U,t.xTooltipLabel=z,t.yTooltipLabel=W,t.xScaling=X,t.yScaling=V,t.xScalingForImage=$,t.yScalingForImage=J,t.sizeData=K,t.colorData=Q,t.rowStatesColor=G,t.rowStatesMarker=Y,t.bgCanvas=Z,t.smallDots=et,t.sizeRatio=tt,t.adjMin=nt,t.getAlphaFunc=rt,t.getColorFunc=it,t.getRGBColorFunc=st,t.getSizeFunc=ot,t.getShapeFunc=ut,t.aggregatedRowIndices=at,t.selectedAggregates=ft,t.hiddenAggregates=lt,t.aggregateColors=ct,t.aggregateShapes=ht},e.drawBackground=function(e,t){var n=e.width,r=e.height,i=e.groupRowIndices,o=e.rowIndices,u=e.alpha,a,f,d=u,m,y,b,w,E,S,x={},T,N,C=0,k,L,A,O=!0,M=!1,_=!1,D,P,H,B,j,F,I,q,R,U,z,W;P=t.bg,D=t.bgImage.data,H=t.xData,B=t.yData,j=t.xScalingForImage,F=t.yScalingForImage,I=t.rowStates,q=t.getShapeFunc,R=t.getSizeFunc,U=t.getAlphaFunc,z=t.aggregatedRowIndices,W=t.hiddenAggregates,a=P.globalAlpha,L=R(e,t,0),A=L===0&&e.sizeMax===0,I&&(m=I.hidden,y=I.labeled),C=H.length,P.strokeStyle=JMP.COLOR_DESELECT,P.fillStyle=JMP.COLOR_DESELECT;for(T=0;T<C;T++)N=c(T,i,o),p(T,N,m,W)||(E=H[T],S=B[T],E!==null&&S!==null&&(x=s(j,F,E,S),b=x.x,w=x.y,isFinite(b)&&isFinite(w)&&(L=R(e,t,T),k=q(e,t,T,N),A||L===1&&k===JMP.Marker.DOT?(U&&(d=u*U(e,t,T)),b>0&&b<n&&w>0&&w<r&&g(D,n,b+.5>>0,w-.5>>0,l[0],l[1],l[2],d)):O=!1,I&&N>=0&&y[N]&&(M=!0))));_=O&&!M&&!z;if(!_){u<1&&(P.globalAlpha=u);for(T=0;T<C;T++)N=c(T,i,o),p(T,N,m,W)||(E=H[T],S=B[T],E!==null&&S!==null&&(x=s(j,F,E,S),b=x.x,w=x.y,isFinite(b)&&isFinite(w)&&(U&&(f=d,d=U(e,t,T),d!==f&&(P.globalAlpha=u*d)),L=R(e,t,T),k=N<0?JMP.Marker.DOT:q(e,t,T,N),v(P,b,w,L,k),I&&N>=0&&h(e,t,P,b,w,T,N,!0))));u<1&&(P.globalAlpha=a)}return _},e.draw=function(e,t){var n=e.g,r=e.groupRowIndices,i=e.rowIndices,o=e.size,u=e.alpha,a,f,l,d,m,g,y={},b,w,E,S=0,x,T=!1,N,C,k,L,A=n.globalAlpha,O,M,_,D,P,H,B,j,F,I,q,R;O=t.xData,M=t.yData,_=t.xScaling,D=t.yScaling,P=t.rowStates,H=t.getShapeFunc,B=t.getSizeFunc,j=t.getColorFunc,F=t.getAlphaFunc,I=t.aggregatedRowIndices,q=t.selectedAggregates,R=t.hiddenAggregates,P&&(a=P.hidden,f=P.selectedIndices,T=P.nSelectedIndices>0),u<1&&(n.globalAlpha=u),I&&JMP.ViewStatic.setSelectedAggregates(I,P,q),S=!I&&T?P.nSelectedIndices:O.length;for(E=0;E<S;E++)T?I?q[E]?(b=E,w=E):b=-1:(w=f[E],b=r?r.indexOf(w):w,i&&(b=i.indexOf(b))):(w=c(E,r,i),b=E),p(b,w,a,R)||(m=O[b],g=M[b],m!==null&&g!==null&&(y=s(_,D,m,g),l=y.x,d=y.y,isFinite(l)&&isFinite(d)&&(F&&(k=L,L=F(e,t,b),L!==k&&(n.globalAlpha=u*L)),N=C,C=j(e,t,b,w),C!==N&&(n.strokeStyle=C,n.fillStyle=
C),o=B(e,t,b),x=w<0?JMP.Marker.DOT:H(e,t,b,w),v(n,l,d,o,x),P&&w>=0&&h(e,t,n,l,d,b,w))));u<1&&(n.globalAlpha=A)},e.drawDots=function(e,t){var n=e.g,r=e.x,i=e.y,o=e.width,u=e.height,a=e.groupRowIndices,f=e.rowIndices,l=e.alpha,h=l,p,d,v,m,b,w,E={},S,x,T,N=0,C=!1,k,L,A,O,M,_,D,P,H,B,j,F;M=t.xData,_=t.yData,D=t.xScalingForImage,P=t.yScalingForImage,H=t.rowStates,B=t.allSelectedImage,j=t.getRGBColorFunc,F=t.getAlphaFunc,H&&(p=H.hidden,d=H.selectedIndices,C=H.nSelectedIndices>0),k=n.getImageData(r,i,o,u),L=k.data,N=C?H.nSelectedIndices:M.length;if(N===M.length&&B)return n.putImageData(B,r,i),B;A=l===1&&!F?y:g;for(T=0;T<N;T++)C?(x=d[T],S=a?a.indexOf(x):x,f&&(S=f.indexOf(S))):(x=c(T,a,f),S=T),S>=0&&(!H||x<0||!p[x])&&(b=M[S],w=_[S],b!==null&&w!==null&&(E=s(D,P,b,w),v=E.x,m=E.y,isFinite(v)&&isFinite(m)&&v>0&&v<o&&m>0&&m<u&&(h=l,F&&(h*=F(e,t,S)),O=j(e,t,S,x),A(L,o,v+.5>>0,m-.5>>0,O[0],O[1],O[2],h))));return n.putImageData(k,r,i),!B&&N===M.length?n.getImageData(r,i,o,u):B},e.select=function(e,t,n,r){var i=e.groupRowIndices,u=e.rowIndices,a=n.x,f=n.y,l=n.w,h=n.h,p,v,m,g,y,b,w,E,S,x,T,N,C={},k,L,A,O,M,_,D,P,H,B,j,F,I,q,R,U=function(e,t,n){var i,s,o,u=t[n],a=k>0;u=r===JMP.ViewStatic.SELECT_TOGGLE?!u:r===JMP.ViewStatic.SELECT_REDUCE?!1:!0,t[n]=u;if(u||a){s=e[n]?e[n].length:0;for(i=0;i<s;i++)o=e[n][i],_=a?v.lastIndexOf(o,k-1):-1,u&&_===-1?(v[k]=o,k++):!u&&_!==-1&&(v.splice(_,1),k--)}};P=t.xData,H=t.yData,B=t.xScaling,j=t.yScaling,F=t.rowStates,I=t.aggregatedRowIndices,q=t.hiddenAggregates,R=t.selectedAggregates,m=a-1,y=m+l+1,g=f-1,b=g+h+1,B.pixelPerValueScale>0?(w=o(B,m),S=o(B,y)):(w=o(B,y),S=o(B,m)),j.pixelPerValueScale>0?(E=o(j,g),x=o(j,b)):(E=o(j,b),x=o(j,g)),p=F.hidden,v=F.selectedIndices,k=F.nSelectedIndices,I&&r===JMP.ViewStatic.SELECT_ONLY&&(R=[]),D=function(){return B.scale.type===JMP.ScaleStatic.SCALE_LINEAR&&j.scale.type===JMP.ScaleStatic.SCALE_LINEAR?I?function(){T=P[L],N=H[L],T>w&&T<S&&N>E&&N<x&&U(I,R,L)}:r===JMP.ViewStatic.SELECT_EXTEND?function(){v.lastIndexOf(A,k-1)===-1&&(T=P[L],N=H[L],T>w&&T<S&&N>E&&N<x&&(v[k]=A,k++))}:r===JMP.ViewStatic.SELECT_REDUCE?function(){T=P[L],N=H[L],T>w&&T<S&&N>E&&N<x&&(_=v.lastIndexOf(A,k-1),_!==-1&&(v.splice(_,1),k--))}:function(){T=P[L],N=H[L],T>w&&T<S&&N>E&&N<x&&(v[k]=A,k++)}:I?function(){C=s(B,j,P[L],H[L]),T=C.x,N=C.y,isFinite(T)&&isFinite(N)&&T>m&&T<y&&N>g&&N<b&&U(I,R,L)}:r===JMP.ViewStatic.SELECT_EXTEND?function(){v.lastIndexOf(A,k-1)===-1&&(C=s(B,j,P[L],H[L]),T=C.x,N=C.y,isFinite(T)&&isFinite(N)&&T>m&&T<y&&N>g&&N<b&&(v[k]=A,k++))}:r===JMP.ViewStatic.SELECT_REDUCE?function(){C=s(B,j,P[L],H[L]),T=C.x,N=C.y,isFinite(T)&&isFinite(N)&&T>m&&T<y&&N>g&&N<b&&(_=v.lastIndexOf(A,k-1),_!==-1&&(v.splice(_,1),k--))}:function(){C=s(B,j,P[L],H[L]),T=C.x,N=C.y,isFinite(T)&&isFinite(N)&&T>m&&T<y&&N>g&&N<b&&(v[k]=A,k++)}}(),O=P.length;if(l||h)for(L=0;L<O;L++)A=c(L,i,u),A>=0&&!p[A]&&P[L]!==null&&H[L]!==null&&D();else M=d(a,f,P,H,B,j,i,u,F,q),M&&(L=M.dataIndex,A=M.rowIndex,I?U(I,R,L):(_=k?v.lastIndexOf(A,k-1):-1,r===JMP.ViewStatic.SELECT_TOGGLE&&_!==-1?(v.splice(_,1),k--):_===-1&&(v[k]=A,k++)));F.nSelectedIndices=k,F.sendEvent(JMP.RowStatesStatic.EVENT_SELECTED)},e.areAllVisibleSelected=function(e,t){var n=e.groupRowIndices,r=e.rowIndices,i,o,u,a=!0,f,l,h,d,v={},m,g,y,b,w,E,S,x,T;if(!t||!t.rowStates)return!0;b=t.xData,w=t.yData,E=t.xScaling,S=t.yScaling,x=t.rowStates,T=t.hiddenAggregates,m=x.hidden,g=x.selectedIndices,y=x.nSelectedIndices,u=b.length;for(i=0;i<u&&a;i++)o=c(i,n,r),p(i,o,m,T)||(h=b[i],d=w[i],h!==null&&d!==null&&(v=s(E,S,h,d),f=v.x,l=v.y,isFinite(f)&&isFinite(l)&&(a=g.lastIndexOf(o,y-1)>-1)));return a},e.getTooltip=function(e,t,n){var r=e.labelValues,i=e.labeledColumnNames,o=e.groupRowIndices,u=e.rowIndices,a=e.isLabelDataIndexed,f=e.overlayTerm?e.overlayTerm.column:undefined,l=e.columns.getColumn(JMP.ColumnsStatic.ROLE_COLOR),c=e.colorData,h=e.columns.getColumn(JMP.ColumnsStatic.ROLE_SIZE),p=e.sizeData,v=e.statistic,m=e.isStatisticForY,g=n.x,y=n.y,b={lines:[],distance:0,area:0},w,E,S,x,T,N,C,k,L,A,O,M,_,D,P,H,B,j,F,q,R,U,z,W,X,V;return t?(D=t.xColumn,P=t.yColumn,H=t.xData,B=t.yData,j=t.XColumns,F=t.YColumns,q=t.xScaling,R=t.yScaling,U=t.rowStates,z=t.xTooltipLabel,W=t.yTooltipLabel,X=t.aggregatedRowIndices,V=t.hiddenAggregates,w=d(g,y,H,B,q,R,o,u,U,V),w?(E=w.dataIndex,S=w.rowIndex,T=a?E:S,N=r&&T>=0?r[T]:null,N&&JMP.ViewStatic.addLabeledColumnsToTooltip(N,i,b),A=q.scale.labels&&q.scale.labels.length>1?!0:!1,x=X&&X[E]&&!A?X[E][0]:S,C=W,C||(C=null),F.length>0||O?I(b,F,R,C,P,B,E,x,m?v:undefined):(_=R.scale,_.labels&&_.type===JMP.ScaleStatic.SCALE_LINEAR?(k=_.getAxisValue(B[E],0),M=undefined):(M=JMP.ViewStatic.getPreciseFormat(_.origin,_.range,_.format,!1,P.isIntegral()),k=B[E]),JMP.ViewStatic.addTooltipLine(b,C,k,M)),O=R.scale.labels&&R.scale.labels.length>1?!0:!1,x=X&&X[E]&&!O?X[E][0]:S,C=z,C||(C=null),j.length>0||A?I(b,j,q,C,D,H,E,x,m?undefined:v):(_=q.scale,_.labels&&_.type===JMP.ScaleStatic.SCALE_LINEAR?(k=_.getAxisValue(H[E],0),M=undefined):(k=H[E],M=JMP.ViewStatic.getPreciseFormat(_.origin,_.range,_.format,!1,D.isIntegral())),JMP.ViewStatic.addTooltipLine(b,C,k,M)),l&&c&&(!X||l.dataLevel===JMP.VariableStatic.LEVEL_CONTINUOUS)&&(C=JMP.ViewStatic.getLabel(l,v),JMP.ViewStatic.addTooltipLine(b,C,e.colorTerm.getValueString(c[E]))),h&&p&&(C=JMP.ViewStatic.getLabel(h,v),JMP.ViewStatic.addTooltipLine(b,C,h.getValueString(p[E]))),f&&(C=f.name,JMP.ViewStatic.addTooltipLine(b,C,f.getValueString(f.data[x]))),X&&X[E]&&JMP.ViewStatic.addTooltipLine(b,JMP.ViewStatic.TIP_ROWS,X[E].length),e.tipImages&&e.tipImages.data[x]&&(b.imageSrc=e.tipImages.data[x]),b.distance=w.distance,L=s(q,R,H[E],B[E]),b.x=L.x-e.size*.5,b.y=L.y-Math.max(2,e.size*.5)-2,b):null):null},e.drawMarker=function(e,t,n,r,i,s){e.fillStyle=s!==undefined?s:JMP.COLOR_BLACK,e.strokeStyle=e.fillStyle,v(e,t,n,r,i)},e.menuProvider=function(t){var n=[{id:0,label:e.MENU_LARGER_MARKERS},{id:1,label:e.MENU_SMALLER_MARKERS}];return t.size===e.MAX_MARKER_SIZE?n[0].isDisabled=!0:t.size===e.MIN_MARKER_SIZE&&(n[1].isDisabled=!0),n},e.menuHandler=function(t,n){var r=!1;switch(n){case 0:t.size<e.MAX_MARKER_SIZE&&(t.size++,r=!0);break;default:t.size>e.MIN_MARKER_SIZE&&(t.size--,r=!0)}r&&(t.isBackgroundDirty=!0,t.sendEvent(JMP.SegmentStatic.EVENT_SEGMENT_CHANGED))},e}(),JMP.MarkerSegment=function(e){"use strict";var t=JMP.Segment(e),n,r=function(){var e,r;return e=t.YPos,r=t.YPos,!n&&e&&e.data&&t.scale[JMP.ColumnsStatic.ROLE_X]&&r&&r.data&&t.scale[JMP.ColumnsStatic.ROLE_Y]&&(n={},JMP.MarkerSegmentStatic.getCache(t,n)),n};return t.color=undefined,t.shape=-1,t.size=4,t.alpha=1,t.preferredShape=-1,t.showLabels=undefined,t.xOffset=undefined,t.yOffset=undefined,t.isLabelDataIndexed=!1,t.rowIndices=undefined,t.groupRowIndices=undefined,t.aggregatedRowIndices=undefined,t.overlayIndex=undefined,t.labeledColumnNames=undefined,t.labelValues=undefined,t.tipImages=undefined,t.isBackgroundDirty=!0,t.sizeMin=0,t.sizeMax=0,t.XPos=undefined,t.YPos=undefined,t.colorData=undefined,t.sizeData=undefined,t.isStatisticForY=!0,t.draw=function(){var e=t.g,i=t.x,s=t.y;n=r(),n&&(t.isBackgroundDirty&&t.drawBackground(n),n.smallDots?(e.putImageData(n.bgImage,i,s),n.allSelectedImage=JMP.MarkerSegmentStatic.drawDots(t,n)):(e.drawImage(n.bgCanvas,i,s),JMP.MarkerSegmentStatic.draw(t,n)))},t.drawBackground=function(e){e.bgCanvas.setAttribute("width",t.width),e.bgCanvas.setAttribute("height",t.height),e.bg=e.bgCanvas.getContext("2d"),e.bgImage=t.g.getImageData(t.x,t.y,t.width,t.height),e.smallDots=JMP.MarkerSegmentStatic.drawBackground(t,e),t.isBackgroundDirty=!1},t.select=function(e,i){n=r(),n&&n.rowStates&&JMP.MarkerSegmentStatic.select(t,n,e,i)},t.areAllVisibleSelected=function(){return n=r(),n&&n.rowStates?JMP.MarkerSegmentStatic.areAllVisibleSelected(t,n):!0},t.getTooltip=function(e,n){return JMP.MarkerSegmentStatic.getTooltip(t,r(),{x:e,y:n})},t.menuProvider=function(){return JMP.MarkerSegmentStatic.menuProvider(t)},t.menuHandler=function(e){JMP.MarkerSegmentStatic.menuHandler(t,e)},t},JMP.MosaicSegmentStatic=function(){"use strict";var e={},t=JMP.ViewStatic.rectanglesIntersect,n=JMP.ViewStatic.pointInRect,r=JMP.Format(JMP.FormatStatic.FORMAT_PERCENT,!1,0),i=function(e,t,n){var r=t?t.legendIndices[n]:n;return e.legend?e.legend.getColor(r,e.legendOffset,e.legendModelID):e.fillColors[r]},s=function(e,t,n){var r=t?t.legendIndices[n]:n;return e.legend?e.legend.getAlpha(r,e.legendOffset,e.legendModelID):1},o=function(e){var t=e.nX,n=e.nY,r=e.freqColumn,i=e.rowStates,s=e.aggregatedRowIndices,o=0,u=[],a=[],f,l,c,h=0,p,d=[];for(f=0;f<t;f++){u[f]=0,d[f]=[];for(l=0;l<n;l++)c=JMP.DescriptiveStatic.getValue(undefined,r,i,s[f*n+l],undefined,JMP.DescriptiveStatic.STAT_N),u[f]+=c,o+=c,d[f][l]=c}for(f=0;f<t;f++){p=0;for(l=0;l<n;l++)p+=d[f][l],a[h++]=p/u[f]}e.crossTabs=a,e.totals=u,e.sumWeight=o,e.freq=d},u=function(e,t){var n=[],r=[],o=[],u=e.width-3,a=e.height-3,f=e.x+1,l=e.y+1,c=a,h=t.totals,p=t.crossTabs,d=t.sumWeight,v=t.freq,m=t.nX,g=t.nY,y,b,w,E=0,S=0,x,T,N,C,k,L=0,A=0,O=1,M={x:0,y:0,w:0,h:0};e.isHorizontal&&(w=u,u=a,a=w);for(y=0;y<m;y++){O=h[y]/d,L+=O,C=L*u+.5>>0,x=C,x===S&&h[y]>0&&(x=S+1),N=0;for(b=0;b<g;b++,E++){A=p[E];if(v[y][b]===0)continue;A>.9999&&(A=1),k=-(A*a+.5>>0),T=k,N===T&&(T=N-1),e.isHorizontal?M={x:-N,y:c-x,w:N-T,h:x-S}:M={x:S,y:c+T,w:x-S,h:N-T},M.x+=f,M.y+=l,n[E]=M,r[E]=i(e,t,b),o[E]=s(e,t,b),N=T}S=x}t.cells=n,t.fillColors=r,t.alphas=o};return e.getCache=function(e,t){var n=e.columns.getColumns(JMP.ColumnsStatic.ROLE_X),r=e.columns.getColumns(JMP.ColumnsStatic.ROLE_Y),i=e.columns.getColumn(JMP.ColumnsStatic.ROLE_FREQ),s=e.scale[JMP.ColumnsStatic.ROLE_X],a=e.scale[JMP.ColumnsStatic.ROLE_Y],f=e.columns.rowStates,l=1,c=1,h,p,d=[],v,m,g=[],y=[],b=[],w,E,S,x=[],T=[],N,C=0,k=[];e.groupCalculation&&(w=e.groupCalculation.getResult()[e.groupIndex]);for(h=0;h<2;h++){d=h===0?n:r;if(d){v=d.length,S=!0;for(p=0;p<v&&S;p++)m=d[p],S=m.dataLevel!==JMP.VariableStatic.LEVEL_CONTINUOUS;S||(v=1,d.length=1);for(p=0;p<v;p++)m=d[p],y.push(m),g=JMP.UniqueStatic.getValues([m],f,m.dataLevel!==JMP.VariableStatic.LEVEL_CONTINUOUS&&e.hasMissingLevels,!0),JMP.ViewStatic.permuteUniqueValues(e.isHorizontal?s:a,g),h===0?(l*=g[0].length,e.xCharLevels[p]&&m.type===JMP.VariableStatic.TYPE_STRING&&(g[0]=e.xCharLevels[p])):(e.yCharLevels[p]&&m.type===JMP.VariableStatic.TYPE_STRING&&(g[0]=e.yCharLevels[p]),c*=g[0].length,x.push(g[0]),T.push(m)),b.push(g[0])}}if(y.length>0){E=JMP.GroupStatic.getRows(y,b,undefined,f,w,e.hasMissingLevels),e.overlayTerm&&JMP.ViewStatic.removeMissing(E,e.overlayTerm.column.data),N=JMP.FrequencyStatic.getRows(T,x,f);for(h=0;h<N.length;h++)N[h].length>0&&(k[h]=C++)}t.rowStates=f,t.xColumns=n,t.yColumns=r,t.freqColumn=i,t.nX=l,t.nY=c,t.aggregatedRowIndices=E,t.legendIndices=k,s&&(t.xScaling=JMP.Scaling(s,e.x+.5>>0,e.width-1)),a&&(t.yScaling=JMP.Scaling(a,e.y+e.height-.5>>0,1-e.height)),o(t),u(e,t)},e.draw=function(e,t){var n=e.g,r,i,s,o,u,a,f,l={x:0,y:0,w:0,h:0},c,h,p,d,v,m,g,y=!1,b=3,w=!1,E=!1,S,x,T,N,C,k;if(!t)return;f=t.cells,a=t.fillColors,C=t.alphas,h=t.aggregatedRowIndices,u=t.nY,p=t.freq,d=t.freqColumn,c=t.rowStates,JMP.ViewStatic.reset(n),k=n.globalAlpha,n.lineWidth=1,n.strokeStyle=JMP.COLOR_LINE,i=f.length;for(r=0;r<i;r++)l=f[r],l&&(w=!1,E=!1,s=r/u>>0,o=r%u,y=!1,l.w<=b&&(w=!0),l.h<=b&&(E=!0),!w&&!E&&(y=!0),n.fillStyle=a[r],n.globalAlpha=C[r],S=l.x+1,x=l.y+1,N=l.w-1,T=l.h-1,y?n.fillRect(S,x,N,T):(S=Math.min(S,e.x+e.width-3),x=Math.min(x,e.y+e.height-3),N<1&&(N=1),T<1&&(T=1),n.fillRect(S,x,N,T)),v=p[s][o],m=JMP.DescriptiveStatic.getValue(undefined,d,c,h[r],undefined,JMP.DescriptiveStatic.STAT_N,!0),n.fillStyle=JMP.ViewStatic.darkenColor(a[r],.5),g=T*(m/v)>>0,n.fillRect(S,x+(T-g),N,g),y&&(n.globalAlpha=1,n.strokeRect(S+.5,x+.5,N-1,T-1)));n.globalAlpha=k},e.select=function(e,r,i){var s,o,u,a,f=null,l=r.w||r.h,c=!1,h,p,d=[];if(!e||!e.rowStates)return null;h=e.rowStates,a=e.cells,u=a.length,p=e.aggregatedRowIndices;for(s=0;s<u&&f===null;s++)if(a[s]!==undefined)if(l)t(r,a[s])&&(d=d.concat(p[s]));else if(n({x:r.x,y:r.y},a[s])){d=p[s],f=s;if(i===JMP.ViewStatic.SELECT_TOGGLE){c=!1;for(o=0;o<d.length&&!c;o++)h.selected[d[o]]&&(c=!0)}}if(d.length>0)switch(i){case JMP.ViewStatic.SELECT_ONLY:h.selectOnly(d,!0);break;case JMP.ViewStatic.SELECT_EXTEND:h.select(d,!0);break;case JMP.ViewStatic.SELECT_REDUCE:h.select(d,!1);break;default:h.select(d,!c)}else switch(i){case JMP.ViewStatic.SELECT_ONLY:case JMP.ViewStatic.SELECT_TOGGLE:h.selectAll(!1);break;default:}},e.getTooltip=function(e,t){var i,s,o,u,a,f,l,c,h=null,p,d,v,m=null;if(!e)return null;u=e.cells,o=u.length,a=e.nY,f=e.aggregatedRowIndices,l=e.xColumns,c=e.yColumns,v=e.crossTabs;for(i=0;i<o&&h===null;i++)if(u[i]!==undefined&&n(t,u[i])){h=i,p=f[h],d=p[0],m={lines:[],distance:0,area:0};for(s=0;s<c.length;s++)JMP.ViewStatic.addTooltipLine(m,c[s].name,c[s].getValueString(c[s].data[d]));for(s=0;s<l.length;s++)JMP.ViewStatic.addTooltipLine(m,l[s].name,l[s].getValueString(l[s].data[d]));JMP.ViewStatic.addTooltipLine(m,JMP.ViewStatic.TIP_ROWS,p.length),JMP.ViewStatic.addTooltipLine(m,JMP.ViewStatic.TIP_SHARE,v[i]-(i%a===0?0:v[i-1]),r),m.area=u[h].w*u[h].h,m.x=u[h].x,m.y=u[h].y-2}return m},e}(),JMP.MosaicSegment=function(e){"use strict";var t=JMP.Segment(e),n,r=function(){return!n&&(t.isHorizontal&&t.scale[JMP.ColumnsStatic.ROLE_X]||!t.isHorizontal&&t.scale[JMP.ColumnsStatic.ROLE_Y])&&(n={},JMP.MosaicSegmentStatic.getCache(t,n)),n};return t.fillColors=undefined,t.xCharLevels=[],t.yCharLevels=[],t.draw=function(){JMP.MosaicSegmentStatic.draw(t,r())},t.select=function(e,t){JMP.MosaicSegmentStatic.select(r(),e,t)},t.getTooltip=function(e,t){return JMP.MosaicSegmentStatic.getTooltip(r(),{x:e,y:t})},t},JMP.NominalAxisBoxStatic=function(){"use strict";var e={},t=5,n=function(e,n,r,i,s){var o=i.x,u=i.y;n?o=(i.x>>0)+.5:u=(i.y>>0)+.5,r||(e.moveTo(o,u),n?e.lineTo(o,u+t):e.lineTo(o-t,u)),s.push({x:o,y:u})},r=function(e,t,n){var r="",i;if(t){r=t,i=t.length;while(i>0&&e.measureText(r).width>n)i--,r=t.slice(0,i)}return r};return e.draw=function(e){var i=e.g,s={x:e.x,y:e.y,w:e.width,h:e.height},o=e.isHorizontal,u=e.isFlipped,a=e.lineColor,f=e.hideTicks,l=e.ticksRotated,c=e.labelColors,h=e.labelWeights,p=e.labelStyles,d=e.scale[o?JMP.ColumnsStatic.ROLE_X:JMP.ColumnsStatic.ROLE_Y],v,m,g,y,b,w,E,S=[],x,T,N,C,k,L,A,O,M,_,D,P,H,B,j=d&&d.tickLabels?d.tickLabels[0]:undefined,F=d&&d.tickSpans?d.tickSpans[0]:undefined,I=d&&d.tickTotals?d.tickTotals[0]:undefined,q=JMP.SMALL_FONT_SIZE,R=q-2;u&&(i.save(),i.translate(s.x,s.y),o?(i.scale(1,-1),i.translate(0,-s.h)):(i.scale(-1,1),i.translate(-s.w,0)),i.translate(-s.x,-s.y)),JMP.ViewStatic.reset(i),i.strokeStyle=JMP.COLOR_LINE,a!==undefined&&(i.strokeStyle=a),i.beginPath(),o?(A=(s.y>>0)+.5,i.moveTo(s.x,A),i.lineTo(s.x+s.w,A)):(L=(s.x+s.w-1>>0)+.5,i.moveTo(L,s.y),i.lineTo(L,s.y+s.h)),E=j?j.length:0,m=F&&F.length===E?F:null,g=m&&I?I:E,O=(s.y+s.h)*1e3*JMP.MAC_EPS,v=0,L=o?s.x+.5:s.x+s.w,A=o?s.y:s.y+s.h-.5-O,n(i,o,f,{x:L,y:A},S);for(b=0;b<E;b++)v+=m?m[b]:1,L=o?s.x+.5+(s.w-1)*v/g:s.x+s.w,A=o?s.y:s.y+s.h-.5-(s.h-1)*v/g-O,n(i,o,f,{x:L,y:A},S);i.stroke(),i.closePath(),u&&i.restore(),w=1;if(!m&&l===o){_=E/4;do{M=0;for(b=0;b+w<E&&M<=_;b+=w)x=S[b],N=S[b+w],Math.abs(o?N.x-x.x:N.y-x.y)<R&&M++;M>_&&(w*=2)}while(w<E&&M>_)}y=q+"px "+JMP.FONT,i.font=y,i.textBaseline="middle",i.textAlign="start",i.fillStyle=JMP.COLOR_BLACK;for(b=0;b<E;b+=w){c&&(i.fillStyle=c[b]);if(h||p)i.font=(p?p[b]+" ":"")+(h?h[b]+" ":"")+y;x=S[b],T=S[b+1],N=S[b+w],H=o?N?Math.abs(N.x-x.x):Infinity:s.w-t,B=o?s.h-t:N?Math.abs(N.y-x.y):Infinity,D=r(i,j[b],l?B:H),P=i.measureText(D).width,k=P>0,l?(o?(L=x.x+(T.x-x.x-q)/2,A=u?s.y+s.h-t-P/2:s.y+t+P/2,k=C===undefined||Math.abs(C-L)>=R,k&&(C=L)):(L=u?s.x+t:s.x+s.w-q-t,A=(x.y+T.y)/2),k&&(i.translate(L,A),i.rotate(-JMP.HALF_PI),i.fillText(D,-P/2,q/2),i.rotate(JMP.HALF_PI),i.translate(-L,-A))):(o?(L=x.x+(T.x-x.x-P)/2,A=u?s.y+s.h-t-q/2:s.y+t+q/2):(L=u?s.x+t:s.x+s.w-P-t,A=(x.y+T.y)/2,k=C===undefined||Math.abs(C-A)>=R,k&&(C=A)),k&&i.fillText(D,L,A))}},e}(),JMP.NominalAxisBox=function(e){"use strict";var t=JMP.Segment(e);return t.lineColor=JMP.COLOR_LINE,t.isFlipped=!1,t.hideTicks=!1,t.ticksRotated=!1,t.labelColors=undefined,t.labelWeights=undefined,t.labelStyles=undefined,t.draw=function(){JMP.NominalAxisBoxStatic.draw(t)},t},JMP.NumberBoxStatic=function(){"use strict";var e={};return e.draw=function(e){var t=e.g,n=JMP.FormatStatic.formatNumber(e.value,e.format);JMP.ViewStatic.reset(t),t.textBaseline="middle",t.fillText(n,e.x+e.width-t.measureText(n).width-1,e.y+e.height/2)},e}(),JMP.NumberBox=function(e){"use strict";var t=JMP.Segment(e);return t.value=0,t.format=undefined,t.isEditable=!1,t.draw=function(){JMP.NumberBoxStatic.draw(t)},t},JMP.PolySegmentStatic=function(){"use strict";var e={},t=function(e,t,n,r){return e>n?t>r?1:4:t>r?2:3},n=function(e,t,n,r,i){return n-(r-i)*(e-n)/(t-r)},r=function(e,t,n,r){var i,s,o=null,u,a=e.isStatisticForY;return i=t.xScaling,s=t.yScaling,u=t.bounds,JMP.ViewStatic.pointInRect({x:n,y:r},u)&&(o={lines:[],distance:0},JMP.ViewStatic.addAxisValuesToTooltip(o,r,s,s.scale.getFormat()),JMP.ViewStatic.addAxisValuesToTooltip(o,n,i,i.scale.getFormat()),a?(o.x=u.x+u.w*.5,o.y=u.y-4):(o.x=u.x,o.y=u.y+u.h*.5-4)),o};return e.getCache=function(e,t){var n,r,i,s,o=[],u=[],a=e.x,f=e.y,l=e.width,c=e.height,h,p,d,v;e.columns.getColumn(JMP.ColumnsStatic.ROLE_X)&&(n=e.columns.getColumn(JMP.ColumnsStatic.ROLE_X)),e.columns.getColumn(JMP.ColumnsStatic.ROLE_Y)&&(r=e.columns.getColumn(JMP.ColumnsStatic.ROLE_Y));if(!n||!r)return;i=JMP.Scaling(e.scale[JMP.ColumnsStatic.ROLE_X],a+.5,l-1),s=JMP.Scaling(e.scale[JMP.ColumnsStatic.ROLE_Y],f+c-.5,1-c),JMP.LineSegmentStatic.scaleData(n,o,i,a,l,r,u,s,f,c,JMP.LineSegmentStatic.TYPE_POLYGON),h=JMP.DescriptiveStatic.getRange(o),p=JMP.DescriptiveStatic.getRange(u);if(h.range*p.range===0)return;d={x:h.min,y:p.min,w:h.range,h:p.range},e.isViolinPlot&&(d.w*.5<JMP.ViewStatic.FUZZ_PIXELS&&(v=JMP.ViewStatic.FUZZ_PIXELS-d.w*.5,d.x-=v,d.w+=2*v),d.h*.5<JMP.ViewStatic.FUZZ_PIXELS&&(v=JMP.ViewStatic.FUZZ_PIXELS-d.h*.5,d.y-=v,d.h+=2*v)),t.xData=n,t.yData=r,t.xScaled=o,t.yScaled=u,t.xScaling=i,t.yScaling=s,t.bounds=d},e.draw=function(e,t){var n,r,i=e.g,s=e.fillColor,o=e.alpha,u=e.outlineLength,a=0,f,l=i.globalAlpha;if(!t||!t.xScaled||!t.yScaled)return;n=t.xScaled,r=t.yScaled,f=Math.min(n.length,r.length),s||(s=JMP.COLOR_FILL),i.fillStyle=s,o<1&&(i.globalAlpha=o),i.beginPath(),i.moveTo(n[a],r[a]),a=1;while(a<f)i.lineTo(n[a],r[a]),a++;i.closePath(),i.fill(),u>1&&JMP.LineSegmentStatic.drawLine(i,n.slice(0,u),r.slice(0,u),e.outlineWidth,e.outlineColor,e.outlineStyle,o),o<1&&(i.globalAlpha=l)},e.pointInPolygon=function(e,r,i,s){var o=0,u,a,f,l,c,h,p,d=0,v=!1;if(i.length<3||s.length<3)return!1;f=i[o],l=s[o],c=t(f,l,e,r);do{o++,o===i.length&&(o=0,v=!0),u=i[o],a=s[o],h=t(u,a,e,r),p=h-c;switch(p){case 2:case-2:n(f,l,u,a,r)>e&&(p=-p);break;case 3:p=-1;break;case-3:p=1;break;default:}d+=p,c=h,f=u,l=a}while(o!==0&&!v);return d===4||d===-4},e.getTooltip=function(t,n,i,s){var o,u,a,f,l,c=!1,h=t.description,p=t.legend,d=null,v;return!n||!n.xScaled||!n.yScaled?null:(l=n.bounds,t.isViolinPlot?d=r(t,n,i,s):(o=n.xScaled,u=n.yScaled,a=n.xScaling,f=n.yScaling,d=JMP.LineSegmentStatic.getTooltip(i,s,o,u,a,f,JMP.LineSegmentStatic.TYPE_LINE),v=t.isStatisticForY?s-f.pixelOrigin:i-a.pixelOrigin,d&&(d.lines.length===0?d=null:v*v<JMP.ViewStatic.FUZZ_PIXELS_SQUARED&&(d=null)),d||(c=e.pointInPolygon(i,s,o,u),c&&(d={lines:[],distance:0},t.overlayTerm||(p?JMP.ViewStatic.addTooltipLine(d,p.title,p.getLabel(undefined,t.legendOffset,t.legendModelID)):JMP.ViewStatic.addTooltipLine(d,undefined,h))))),d&&(d.distance=0,d.area=l.w*l.h,t.overlayTerm&&JMP.ViewStatic.addTooltipLine(d,t.overlayTerm.column.name,p.getLabel(undefined,t.legendOffset,t.legendModelID))),d)},e}(),JMP.PolySegment=function(e){"use strict";var t=JMP.Segment(e),n,r=function(){return!n&&t.columns&&t.scale[JMP.ColumnsStatic.ROLE_X]&&t.scale[JMP.ColumnsStatic.ROLE_Y]&&(n={},JMP.PolySegmentStatic.getCache(t,n)),n};return t.fillColor=JMP.COLOR_FILL,t.alpha=1,t.outlineLength=0,t.outlineColor=JMP.COLOR_BLACK,t.outlineWidth=1,t.outlineStyle=JMP.LineSegmentStatic.PATTERN_SOLID,t.isStatisticForY=!0,t.isViolinPlot=!1,t.draw=function(){n=undefined,JMP.PolySegmentStatic.draw(t,r())},t.getTooltip=function(e,n){return JMP.PolySegmentStatic.getTooltip(t,r(),e,n)},t},JMP.ProfileControllerStatic=function(){"use strict";var e={},t=16,n=10,r=new Image,i=new Image,s=function(e){var t;e&&(e.className=e.className.replace("buttonUp","buttonDown"),e.id.indexOf("profileUnlocked")===0?t=e.parentNode.childNodes[2]:t=e.parentNode.childNodes[1],t.className=t.className.replace("buttonDown","buttonUp"))},o=function(e){var t,n,r=document.getElementsByClassName("profilerSettingButton buttonDown");for(t=r.length-1;t>=0;t--)r[t].hasAttribute("ownerid")&&(n=+r[t].getAttribute("ownerid"),n===e&&(r[t].className=r[t].className.replace("buttonDown","buttonUp")))},u=function(){var e,t=document.getElementsByClassName("profilerInput profilerInputError");for(e=t.length-1;e>=0;e--)t[e].className="profilerInput"},a=function(e,t){var n,r=e.profiles.length,i=null;for(n=0;n<r&&!i;n++)e.profiles[n].getXReferenceVariable()===t&&(i=e.profiles[n]);return i},f=function(e,t){var n,r=e.xRefVars.length,i,s,o=null,u=[];for(n=0;n<r;n++)e.xRefVars[n]!==undefined&&(o===null&&(o=n),i=a(e,e.xRefVars[n]),i&&(s=i.scale[JMP.ColumnsStatic.ROLE_X].refFormat,u[n-o]=e.xRefVars[n].type===JMP.VariableStatic.TYPE_NUMBER?t?JMP.FormatStatic.formatNumber(e.xRefVars[n].value,s):e.xRefVars[n].value.toString():e.xRefVars[n].value));return u},l=function(e){var t,n,r=e.variableSettings.length,i,s,u,a=-1,l;o(e.id),u=f(e,!1);for(t=0;t<r&&a<0;t++){s=e.variableSettings[t],i=s.length,a=t;for(n=0;n<i&&a>=0;n++)s[n]!==u[n]&&(a=-1)}a>=0&&(l=document.getElementById("profilerSetting_"+e.id+"_"+a),l&&(l.className=l.className.replace("buttonUp","buttonDown")))},c=function(e,t){var n=!1,r=/#+/g;while(e&&JMP.ViewStatic.getApproximateWidth(e,JMP.SMALL_FONT_SIZE)>t)e=e.substr(0,e.length-1),n=!0;return r.test(e)?e=e.substr(0,e.length-2):n&&(e=e.substr(0,e.length-3)+"..."),e},h=function(t){var n,r=t.xRefVars.length,i,s,o,u,a,f={setting:[],formats:[]};for(n=0;n<r;n++)t.xRefVars[n]!==undefined&&(i="input_"+t.id+"_"+n,s=document.getElementById(i),o=e.getProfileSegmentFromControl(t,i),o&&(u=o.scale[JMP.ColumnsStatic.ROLE_X].refFormat,o.isCategorical()&&t.xRefVars[n].type===JMP.VariableStatic.TYPE_STRING?a=s.firstChild.value:(a=JMP.FormatStatic.formattedStringToNumber(s.firstChild.value,u),a=o.validateXReferenceValue(a),a===undefined?f.firstInvalidInput||(f.firstInvalidInput=s.firstChild):s.firstChild.className="profilerInput"),f.setting.push(a),f.formats.push(u)));return f},p=function(e){var t,n,r=h(e),i,s,o=!0;i=f(e,!0);if(r.setting.length===i.length){n=r.setting.length;for(t=0;t<n;t++){typeof r.setting[t]=="number"?s=JMP.FormatStatic.formatNumber(r.setting[t],r.formats[t]):s=r.setting[t];if(s!==i[t]){o=!1;break}}}document.getElementById("profileMixtureApply_"+e.id).disabled=o},d=function(e,t){var n,r=e.xRefVars.length,i=e.xRefVars,s=null,o,f,l=null;for(n=0;n<r;n++)e.xRefVars[n]!==undefined&&(l===null&&(l=n),f=t[n-l],e.xRefVars[n].type===JMP.VariableStatic.TYPE_NUMBER&&(f=parseFloat(f)),e.xRefVars[n].value!==f&&(e.xRefVars[n].value=f,s||(s=e.xRefVars[n])));e.isConstrained&&(o=a(e,s),o.getConstraint().constrainReference(),i=o.getConstraint().getReferenceVariables(),r=i.length);for(n=0;n<r;n++)i[n]&&i[n].sendEvent(JMP.ScalarStatic.EVENT_VALUE_CHANGED);u()},v=function(e,t,n){var r=!1,i,s,o=n.profiles.length,u,a=-1;for(s=0;s<o&&!r;s++)i={x:e,y:t},u=n.profiles[s],JMP.SegmentStatic.convertToSegmentCoordinates(u,i),r=-(u.xAddend/2)<=i.x&&i.x<=u.width+u.xAddend&&-(u.yAddend/2)<=i.y&&i.y<=u.height+u.yAddend/2,r&&(a=s);return a},m=function(t,n,r){var i=!1,s,o,u=r.profiles.length,a,f=r.nyVars;for(o=0;o<u&&!i;o++)s={x:t,y:n},a=r.profiles[o],JMP.SegmentStatic.convertToSegmentCoordinates(a,s),o%f===0&&-a.xAddend/2<=s.x&&s.x<=a.width+a.xAddend&&-a.yAddend/2-e.PROFILE_CANVAS_PADDING<=s.y&&s.y<=-a.yAddend/2+e.PROFILE_CANVAS_PADDING&&(i=!0),!i&&(o+1)%f===0&&-a.xAddend/2<=s.x&&s.x<=a.width+a.xAddend&&a.height+a.yAddend/2-e.PROFILE_CANVAS_PADDING<=s.y&&s.y<=a.height+a.yAddend/2+e.PROFILE_CANVAS_PADDING&&(i=!0);return i};return e.PROFILE_CANVAS_PADDING=10,e.PROFILE_CANVAS_BOTTOM_PADDING=3,e.PROFILE_CANVAS_CONSTRAINT_PADDING=50,e.PROFILE_CANVAS_ARRANGE_IN_ROWS_PADDING=10,e.MENU_RESET="Reset",e.MENU_ADAPT_Y_AXIS="Adapt Y Axis",e.WARNING_CURVE="Not all curves in this Profiler could be created as interactive HTML. See JMP to explore these curves.",e.WARNING_NUMERIC_VARIABLE="The text entered is not a valid number.",e.TIP_LOCK="Lock constrained mixture variable",e.TIP_UNLOCK="Unlock constrained mixture variable",e.TIP_SETTING="Apply setting to the profiler",e.TIP_EDIT="Edit X value",e.TIP_DROPDOWN="Select X value",e.TIP_CONTROL="To change the X value, click or drag anywhere in the graph",e.BUTTON_APPLY="Apply",e.TIP_APPLY_MIXTURE="Apply all changes to X values. Constrained values will be automatically adjusted if they do not sum to ^SUM.",e.ID_MENU_RESET=0,e.ID_MENU_ADAPT_Y_AXIS=1,e.SRC_TOP_SLIDER="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAGCAYAAAARx7TFAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDozNjVDRTI1NzRCNEVFNDExQTgwNTgzMDUyMEUzQUI2MSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo5RkM2QTBERjU0NjkxMUU0QTMzMTg4NjQyRjNCNzlFMSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo5RkM2QTBERTU0NjkxMUU0QTMzMTg4NjQyRjNCNzlFMSIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjFDRDk4Qjc1Njk1NEU0MTE4OTRDRUY5RDcyMzRCMDQzIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjM2NUNFMjU3NEI0RUU0MTFBODA1ODMwNTIwRTNBQjYxIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+HbaTMQAAALtJREFUeNo8jMsKgmAUhEfNhRiUiav0BcRFvVK9Rt57CXslF15a29oQ0yBBvPb/Lhw4zHDmY5hHEMwHWYYkSdiKInieR9/3+DUNqqrCpyyxqesahmHgqKoQBAEcx6HrOjQEmucZrywDOwzDJQxDJEmCtm0xjuOyEEURnmkK0l8ZSt99/0QWIlXToOs64jjGO88xTdP5ZprxAlG5jrMjViuKgqIo6GtvO86XhhWisi2LITaRY13PW4u/AAMAMVJbCz8XD70AAAAASUVORK5CYII=",e.SRC_BOTTOM_SLIDER="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAGCAYAAAARx7TFAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDozNjVDRTI1NzRCNEVFNDExQTgwNTgzMDUyMEUzQUI2MSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpBRjEyQTczQzU0NjkxMUU0OUU2Q0EwQjYzNTJBNEM0QyIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpBRjEyQTczQjU0NjkxMUU0OUU2Q0EwQjYzNTJBNEM0QyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjFDRDk4Qjc1Njk1NEU0MTE4OTRDRUY5RDcyMzRCMDQzIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjM2NUNFMjU3NEI0RUU0MTFBODA1ODMwNTIwRTNBQjYxIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+8pB8LQAAAKRJREFUeNp8jjsOgkAYhGdfbIKFmxAKad2WxCvZeSlN8BKWGAqosOEI22AjD8sli2yBiY3TzD/zTfGTeZ6xqmkaIoRw1lqapukX0PUoimK7QBcEAbz7/DO6ZtnhPY69lBJxHIMzhnEYet97zjZheGSM3XZJAq01KKXgQuDVdXi27eme54ZP03TZL1ApBWMMCCHwf0ZRBOccHnV99iNUZYl/+ggwAPybRCnW5JD/AAAAAElFTkSuQmCC",e.SRC_LOCKED="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2RpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDoxRUQ5OEI3NTY5NTRFNDExODk0Q0VGOUQ3MjM0QjA0MyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpFRTNFREI2MTU0OUQxMUU0OTZDRTlDMDFDNkZBNjhBMCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpFRTNFREI2MDU0OUQxMUU0OTZDRTlDMDFDNkZBNjhBMCIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IFdpbmRvd3MiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpCOTIyQjE3RDg2NTRFNDExODk0Q0VGOUQ3MjM0QjA0MyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDoxRUQ5OEI3NTY5NTRFNDExODk0Q0VGOUQ3MjM0QjA0MyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PmLXpi4AAAFfSURBVHjaYvz//z8DJYAFm+DUmXMUmZmYJvz7/98dxGdiZNz599+/guz0lPvoahnRXdDZO1GKgZHh7OfPXyTevH4NFhMRFWXg5eV5wfCfwbi8OP8ZXhd8//696eu3bxLPnj658ub1qzCQ2OfPn1ZJScvocHNxNQG5KcjqmdANAGr2//njBwMXN3fezm1broMwFxd3HkgMJIeuHsWA1s5eRl5eXhEgYFBWVr4IEweyT4HE+Ph4RYBqOHF64devX59h7P///r/tnzwNGEqMDKBw+vv3L8P/v2ApUMDwYDXg9fPH3C/evANpZmBhZWVgBWIQ+P37N8OfP7+BZjEySIgIcWdlZeEORBVVdUF88f7l/ev3eGNBXEz0PQED8CekU6dOMeBKnSAvCPPz4Ddg5dJFjNg0I/n7P14D+iZNBSrANENFQwes986Nq4S9gA8I8XHjzwu4AHLU4U3KpAKAAAMAycmM7GWyLCsAAAAASUVORK5CYII=",e.SRC_UNLOCKED="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2RpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDoxRUQ5OEI3NTY5NTRFNDExODk0Q0VGOUQ3MjM0QjA0MyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpGRDYzQ0RGMjU0OUQxMUU0QjQyMUFCNzRGNjc4NzYxRCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpGRDYzQ0RGMTU0OUQxMUU0QjQyMUFCNzRGNjc4NzYxRCIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IFdpbmRvd3MiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpCOTIyQjE3RDg2NTRFNDExODk0Q0VGOUQ3MjM0QjA0MyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDoxRUQ5OEI3NTY5NTRFNDExODk0Q0VGOUQ3MjM0QjA0MyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pu15SLMAAAFgSURBVHjaYvz//z8DJYCFGEVTZ85RZGZimvDv/393EJ+JkXHn33//CrLTU+4zEnJBZ+9EKQZGhrOfP3+RePP6NVhMRFSUgZeX5wXDfwZjgi74/v1709dv3ySePX1y5c3rV2Egsc+fP62SkpbR4ebiamIiZABQs//PHz8Y2NjY8nZu23IdhIHCeT+AYiA5vC7onzyNkY+PV+QfDw+DgIDARZg4Dy/vKWZmZoZ/f/+KgMMA6M8vbOxs3OgG/Pzxk+E70CYGSDh9BQaiaHNd1XcQJy4p9T8DIyMDS1ZWFojP/fHrDxTNIIP//PnN8Pv3H5A6BgkRIe5f/5nYQcECkn/x/LkgSjRKy8gK4vPOl/ev37Mx/vsA4+/avuUDigHiYqLvCRiAPyGdOnWKAVeaYAT6QZifB78BQAWMBGL0P14DVDS0gQoYceq9c+MqYS/gA0J83HgNYMSlgBBgYqAQAAQYAEzqjn4zp6KHAAAAAElFTkSuQmCC",r.src=e.SRC_TOP_SLIDER,i.src=e.SRC_BOTTOM_SLIDER,e.getReferenceValue=function(e,t){return e.xRefVars[t]?e.xRefVars[t].value:null},e.getVariableFormat=function(e,t){var n=e.profiles[t]?e.profiles[t].xAxis:null;return n?n.scale[JMP.ColumnsStatic.ROLE_X]?n.scale[JMP.ColumnsStatic.ROLE_X].refFormat:n.scale.format:null},e.getProfileSegmentFromControl=function(e,t){var n,r;return r=t.lastIndexOf("_"),n=+t.substr(r+1),a(e,e.xRefVars[n])},e.layoutAxes=function(n){var r,i=n.yAxes.length,s,o,u,a=0,f=0,l=!0,c=30,h=2,p=0;for(r=0;r<i;r++)s=n.yAxes[r],s.padBefore=h,s.padAfter=h,s.padBetween=0,s.tryHorizontalAxisLabel=!0,s.tryHorizontalTickLabels=!0,u=s.getPreferredWidth(),u>s.width+c&&(l=!1);for(r=0;r<i;r++)s=n.yAxes[r],l||(s.tryHorizontalAxisLabel=!1),u=s.getPreferredWidth(),u>a&&(a=u);n.isConstrained&&(p=(JMP.ViewStatic.getApproximateWidth(e.BUTTON_APPLY,JMP.SMALL_FONT_SIZE)+t+.5>>0)+e.PROFILE_CANVAS_PADDING,a<p&&(a=p))
,a=a+5.5>>0;for(r=0;r<i;r++)s=n.yAxes[r],s.width=a,u=s.getPreferredWidth()+.5>>0,s.padBetween+=a-u;n.xTermsPerRow===undefined&&(n.xTermsPerRow=n.nxVars),n.wrapRows=Math.ceil(n.nxVars/n.xTermsPerRow),i=n.profiles.length;for(r=0;r<i;r+=n.nyVars)s=n.profiles[r].xAxis,s&&(s.padBefore=h,s.padAfter=h,s.padBetween=JMP.SMALL_FONT_SIZE+10,JMP.FormatStatic.toFields(e.getVariableFormat(n,r))&&(s.padBetween+=10),s.tryHorizontalTickLabels=!0,o=s.getPreferredHeight(),o>f&&(f=o));f=f+3.5>>0;for(r=0;r<i;r+=n.nyVars)s=n.profiles[r].xAxis,s&&(s.height=f,n.profiles[r].getConstraint()&&(n.isConstrained=!0),o=s.getPreferredHeight()+.5>>0,s.padBetween+=f-o,s.addEventListener(n.onSegmentEvent))},e.initializeControls=function(r){var i,s,o,u,a,f,l,h,p,d,v,m,g,y,b,w,E,S="profilerSetting_",x=S.length,T;r.canvas.parentNode.style.padding=0,d=document.getElementsByTagName("BUTTON");for(i=0;i<d.length;i++)w=d[i],h=w.id,h&&h.indexOf(S)===0&&(JMP.ViewStatic.setTooltip(w,e.TIP_SETTING),p=+h.substr(x,h.lastIndexOf("_")-x),p===r.id&&(JMP.EventFacadeStatic.addEventListener(d[i],r.onApplySetting),w.className="profilerSettingButton buttonUp",w.disabled=!1));u=r.profiles.length,l=document.getElementById("profileMixtureApply_"+r.id),l&&(l.innerHTML=e.BUTTON_APPLY,E=l.offsetWidth,l.parentNode.style.left=r.profiles[0].x-E-5+"px",y=r.nyVars*r.wrapRows,r.nxVars%r.wrapRows===0&&y--,l.parentNode.style.top=r.profiles[y].y+r.profiles[y].height+16+"px");for(i=0;i<u;i+=r.nyVars)a=r.profiles[i],v=a.xAxis,a&&v&&(a.offset===null&&(a.offset=JMP.SegmentStatic.updateOffset(r.canvas)),f=a.getXReferenceVariable(),b=r.xRefVars.indexOf(f),l=document.getElementById("input_"+r.id+"_"+b),l&&(m=l.firstChild,a.isCategorical()||(m.style.width=a.getPreferredTextWidth()+"px"),E=m.offsetWidth,T=a.isCategorical()?f.value:JMP.FormatStatic.formatNumber(f.value,a.scale[JMP.ColumnsStatic.ROLE_X].refFormat),g=JMP.FormatStatic.toFields(e.getVariableFormat(r,i)),w=document.getElementById("profileEdit_"+r.id+"_"+b),g?(l.removeChild(m),w.className=w.className.replace("hidden","revealed"),w.style.fontSize=JMP.SMALL_FONT_SIZE+"px",E=a.getPreferredTextWidth(),w.style.width=E+t+"px",w.innerHTML=c(T,E-n),E=w.offsetWidth,m=w):(l.removeChild(w),m.value=T),E>a.width&&(m.style.width=a.width-1+"px"),s=a.x-1,o=v.y+20,l.parentNode.style.left=s+"px",l.parentNode.style.top=o+"px",l.parentNode.style.width=a.width+"px",l.parentNode.style.textAlign="center"),r.xMixtures[b]&&(w=document.getElementById("profileUnlocked_"+r.id+"_"+b),JMP.ViewStatic.setTooltip(w,e.TIP_UNLOCK,!0),JMP.EventFacadeStatic.addEventListener(w,r.onReferenceVariableLockToggle),r.xLocks[b]&&(w.className=w.className.replace("buttonDown","buttonUp")),w.className=w.className.replace("hidden","revealed"),w=document.getElementById("profileLocked_"+r.id+"_"+b),JMP.ViewStatic.setTooltip(w,e.TIP_LOCK,!0),JMP.EventFacadeStatic.addEventListener(w,r.onReferenceVariableLockToggle),r.xLocks[b]&&(w.className=w.className.replace("buttonUp","buttonDown")),w.className=w.className.replace("hidden","revealed")))},e.draw=function(e){var t,s,o=e.g,u,a,f,h,p,d,v,m,g,y=JMP.ViewStatic.isBetween,b=4.5;o.lineWidth=1,o.strokeStyle=JMP.COLOR_LINE,s=e.profiles.length;for(t=0;t<s;t++)h=e.profiles[t],o.strokeRect((h.x-h.xAddend/2>>0)+.5,(h.y-h.yAddend/2>>0)+.5,(h.width+h.xAddend>>0)-1,(h.height+h.yAddend>>0)-1);for(t=0;t<s;t+=e.nyVars)h=e.profiles[t],p=h.getXReferenceLinePosition(),v=h.xAxis,p&&v&&(a=h.y-h.yAddend/2,o.clearRect(h.x-b,a-5,h.width+2*b,5),o.clearRect(v.x-b,v.y+1,b,2),o.clearRect(v.x+v.width,v.y+1,b,2),y(p,h.x,h.x+h.width)&&(u=(p>>0)+.5,o.drawImage(r,u-b,a-1),a=v.y-4>>0,o.drawImage(i,u-b,a)),d=h.getXReferenceVariable(),m=document.getElementById("input_"+e.id+"_"+e.xRefVars.indexOf(d)),m&&(g=m.firstChild,f=h.isCategorical()?d.value:JMP.FormatStatic.formatNumber(d.value,h.scale[JMP.ColumnsStatic.ROLE_X].refFormat),g.tagName==="INPUT"||g.tagName==="SELECT"?g.value=f:g.innerHTML=c(f,g.clientWidth-n)));l(e)},e.onPointerEvent=function(t,n){var r=!1,i=!1,s=!1,o=15,a,f=t.profiles.length,l={x:n.clientX,y:n.clientY},c=!1,h,p=function(r){var i,s=null,o=r>=0;return o&&(i={x:n.clientX,y:n.clientY},JMP.SegmentStatic.convertToSegmentCoordinates(t.profiles[r],i),s=t.profiles[r].getTooltip(i.x+t.profiles[r].x,i.y+t.profiles[r].y)),s?!1:(JMP.ViewStatic.updateTooltip(n,{lines:[e.TIP_CONTROL]},!0),!0)};JMP.SegmentStatic.convertToSegmentCoordinates(t,l),t.offset.x<=window.pageXOffset+o&&t.offset.y<=window.pageYOffset+o&&t.canvas.width>=window.innerWidth-2*o&&t.canvas.height>=window.innerHeight-2*o&&(s=!0),JMP.EventFacadeStatic.setPreventDefault(t.canvas,t.onPointerEvent,!s),h=v(n.clientX,n.clientY,t),r=h>=0,c=m(n.clientX,n.clientY,t);if(r)switch(n.type){case"pointerdown":t.isXMoving=!0,u();break;case"pointerup":case"pointerout":t.isXMoving=!1,JMP.ViewStatic.updateTooltip();break;default:}else{t.isXMoving=!1;for(a=0;a<f;a++)t.profiles[a].isXMoving=!1}return c&&!t.isXMoving&&(i=p(h)),i},e.onReferenceVariableEdit=function(t,n){var r,i,s,o,u=n.pointerTarget,a=document.activeElement,f,l=!1,c=!1,h=!1;u||(u=n.target);if(u){u.nodeName==="OPTION"&&(u=u.parentNode),f=e.getProfileSegmentFromControl(t,u.parentNode.id),f&&(o=f.isCategorical(),i=f.scale[JMP.ColumnsStatic.ROLE_X].refFormat,s=f.getXReferenceVariable());switch(n.type){case"keydown":!t.isConstrained&&n.keyCode===13&&(c=!0,h=!0);break;case"pointermove":case"pointerover":JMP.ViewStatic.updateTooltip(n,{lines:[u.nodeName==="SELECT"?e.TIP_DROPDOWN:e.TIP_EDIT]});break;case"pointerout":JMP.ViewStatic.updateTooltip();break;case"input":t.isConstrained&&p(t);break;case"pointerup":t.isConstrained&&n.preventDefault();break;case"focus":o||(r=JMP.FormatStatic.formattedStringToNumber(u.value,i),r!==undefined&&r!==null&&(u.value=r.toString(),i.decimalSeparator!=="."&&(u.value=u.value.replace(".",i.decimalSeparator))));break;case"change":case"blur":case"click":t.isConstrained?p(t):h=!0;break;default:}h&&(o&&s.type===JMP.VariableStatic.TYPE_STRING?r=u.value:r=JMP.FormatStatic.formattedStringToNumber(u.value,i),l=f.setXReferenceValue(r),l?(c&&a.blur(),u.tagName==="INPUT"&&(u.className="profilerInput"),o||(u.value=JMP.FormatStatic.formatNumber(r,f.scale[JMP.ColumnsStatic.ROLE_X].refFormat))):(u.className="profilerInput profilerInputError",JMP.DialogStatic.showMessage(u,e.WARNING_NUMERIC_VARIABLE),n.preventDefault()))}},e.onReferenceVariableLockToggle=function(t,n){var r=!1,i,o=n.pointerTarget;o||(o=n.target),JMP.ViewStatic.tooltipListener(n),o&&JMP.ControlStatic.isButtonActionEvent(n)&&(o.nodeName==="IMG"&&(o=o.parentNode),o.id.substr(0,13)==="profileLocked"&&(r=!0),i=e.getProfileSegmentFromControl(t,o.id),i&&(i.setLocked(r),s(o)))},e.onApplyMixtureVariables=function(t,n){var r,i=n.pointerTarget;i||(i=n.target),n.type==="pointerdown"?i.className=i.className.replace("buttonUp","buttonDown"):n.type==="pointerout"?i.className=i.className.replace("buttonDown","buttonUp"):JMP.ControlStatic.isButtonActionEvent(n)&&(r=h(t),r.firstInvalidInput?(r.firstInvalidInput.className="profilerInput profilerInputError",JMP.DialogStatic.showMessage(r.firstInvalidInput,e.WARNING_NUMERIC_VARIABLE)):(d(t,r.setting),i.disabled=!0),i.className=i.className.replace("buttonDown","buttonUp"),JMP.ViewStatic.updateTooltip())},e.onApplySetting=function(e,t){var n,r,i,s,u=t.pointerTarget;u||(u=t.target);if(u&&JMP.ControlStatic.isButtonActionEvent(t)){i=+u.getAttribute("ownerid");if(i!==e.id)return;r=u.id.lastIndexOf("_"),n=+u.id.substr(r+1),s=e.variableSettings[n],d(e,s),o(i),u.className=u.className.replace("buttonUp","buttonDown")}},e.menuProvider=function(t){var n,r,i,s;if(!t)return null;s=[{id:e.ID_MENU_RESET,label:e.MENU_RESET,type:JMP.MenuStatic.MENU_ITEM},{id:e.ID_MENU_ADAPT_Y_AXIS,label:e.MENU_ADAPT_Y_AXIS,type:JMP.MenuStatic.MENU_CHECK,isChecked:t.isAdaptYAxis}],i=document.getElementsByClassName("profilerInput profilerInputError").length>0;if(i)s[0].isDisabled=!1;else{s[0].isDisabled=!0,r=t.profiles.length;for(n=0;n<r;n++)if(!t.profiles[n].isReset()){s[0].isDisabled=!1;break}}return s},e.menuHandler=function(t,n){var r,i=t?t.profiles.length:0,o,a;switch(n){case e.ID_MENU_RESET:t.isAdaptYAxis=t.resetAdaptYAxis;for(r=0;r<i;r++)o=t.profiles[r],o.reset(),a=o.getConstraint(),a&&s(document.getElementById((o.getLocked()?"profileLocked":"profileUnlocked")+"_"+t.id+"_"+a.options.fixed));i=t.xRefVars.length;for(r=0;r<i;r++)t.xRefVars[r]&&t.xRefVars[r].sendEvent(JMP.ScalarStatic.EVENT_VALUE_CHANGED);u(),t.isConstrained&&(document.getElementById("profileMixtureApply_"+t.id).disabled=!0);break;case e.ID_MENU_ADAPT_Y_AXIS:t.isAdaptYAxis=!t.isAdaptYAxis;for(r=0;r<i;r++)t.profiles[r].setAdaptYAxis(t.isAdaptYAxis);break;default:}},e}(),JMP.ProfileController=function(e){"use strict";var t=JMP.Segment(e),n=!1,r=function(){return JMP.ProfileControllerStatic.initializeControls(t),n=!0,!0};return t.reset=[],t.resetAdaptYAxis=undefined,t.xRefVars=[],t.yRefVars=[],t.nyVars=0,t.nxVars=0,t.xMixtures=[],t.xLocks=[],t.xFirsts=[],t.xLasts=[],t.profiles=[],t.yAxes=[],t.isConstrained=!1,t.isXMoving=!1,t.variableSettings=[],t.isAdaptYAxis=!1,t.xTermsPerRow=undefined,t.wrapRows=1,t.draw=function(){n||r(),JMP.ProfileControllerStatic.draw(t)},t.onReferenceVariableEdit=function(e){JMP.ProfileControllerStatic.onReferenceVariableEdit(t,e)},t.onReferenceVariableLockToggle=function(e){JMP.ProfileControllerStatic.onReferenceVariableLockToggle(t,e)},t.onApplyMixtureVariables=function(e){JMP.ProfileControllerStatic.onApplyMixtureVariables(t,e)},t.onApplySetting=function(e){JMP.ProfileControllerStatic.onApplySetting(t,e)},t.onSegmentEvent=function(e){switch(e.type){case JMP.SegmentStatic.EVENT_DRAWING_COMPLETE:t.draw();break;default:}},t.onPointerEvent=function(e){return n||r(),JMP.ProfileControllerStatic.onPointerEvent(t,e)},t.addSetting=function(e){t.variableSettings.push(e)},t.setAdaptYAxis=function(e){t.isAdaptYAxis=e,t.resetAdaptYAxis===undefined&&(t.resetAdaptYAxis=e)},t.menuProvider=function(){return JMP.ProfileControllerStatic.menuProvider(t)},t.menuHandler=function(e){JMP.ProfileControllerStatic.menuHandler(t,e)},t},JMP.ProfileSegmentStatic=function(){"use strict";var e={};return e.initializeReferenceLine=function(e,t,n,r){var i,s,o=-1,u=typeof t.value=="string";return e&&(e.refIsEditable?o=e.refIsEditable.length-1:(e.refValues?o=e.refValues.length:(e.refValues=[],o=0),e.refLabels||(e.refLabels=[]),e.refColors||(e.refColors=[]),e.refStyles||(e.refStyles=[]),e.refAlphas||(e.refAlphas=[]),e.refIsEditable=[],u?(i=r.indexOf(t.value),s=t.value):(i=t.value,s=JMP.FormatStatic.formatNumber(t.value,e.refFormat)),e.refValues[o]=i,e.refLabels[o]=s,e.refColors[o]="#880114",e.refStyles[o]=JMP.LineSegmentStatic.PATTERN_DOT,e.refAlphas[o]=.6,e.refIsEditable[o]=n)),o},e.draw=function(e,t,n,r,i){JMP.LineSegmentStatic.drawLine(e,t,n,r,JMP.COLOR_BLACK,JMP.LineSegmentStatic.PATTERN_SOLID,i,JMP.LineSegmentStatic.TYPE_LINE)},e.validateXReferenceValue=function(e,t,n,r,i,s){var o=!0;return e===undefined||e===null?undefined:(r?o=r.indexOf(e)>=0:(i&&(e<t&&(e=t),e>n&&(e=n)),s&&e<JMP.SMALL_LOG_VALUE&&(e=JMP.SMALL_LOG_VALUE),isNaN(e)&&(o=!1)),o||(e=undefined),e)},e.setXReferenceValue=function(t,n,r,i,s,o,u){var a=!0,f,l;t=e.validateXReferenceValue(t,n,r,s,o,u),a=t!==undefined;if(a)if(o){i.value=t,o.constrainReference(),l=o.getReferenceVariables();for(f=0;f<l.length;f++)l[f]&&l[f].sendEvent(JMP.ScalarStatic.EVENT_VALUE_CHANGED)}else i.setValue(t);return a},e.setLocked=function(e,t){var n,r;t.setLockAt(t.options.fixed,e),t.constrainReference(),r=t.getReferenceVariables();for(n=0;n<r.length;n++)r[n]&&r[n].sendEvent(JMP.ScalarStatic.EVENT_VALUE_CHANGED)},e.moveLine=function(e,t,n,r,i,s,o){var u=JMP.ScalingStatic.pixelToValue(t,e),a=t.scale.type===JMP.ScaleStatic.SCALE_LOG;s&&(u=JMP.ViewStatic.getValueFromArray(u,s)),JMP.ProfileSegmentStatic.setXReferenceValue(u,n,r,i,s,o,a)},e.getTooltip=function(e,t,n,r,i,s,o){var u,a,f,l=null,c=4,h=i.scale.axisLabel||null,p=s.scale.axisLabel||null;return u=JMP.ViewStatic.findShortestDistanceToLine(e,t,o?n:n.slice(1),o?r:r.slice(1),!0),u.shortestSquaredLength<JMP.ViewStatic.FUZZ_PIXELS_SQUARED&&(l={lines:[],distance:u.shortestSquaredLength,area:1},o?(a=JMP.ScalingStatic.pixelToValue(i,e),f=a+.5>>0,JMP.ViewStatic.addTooltipLine(l,p,JMP.ScalingStatic.pixelToValue(s,r[f]),s.scale.refFormat),JMP.ViewStatic.addTooltipLine(l,h,JMP.ViewStatic.getValueFromArray(a,o)),l.x=n[f],l.y=r[f]-c):(a=JMP.ScalingStatic.pixelToValue(s,u.nearestPoint.y),JMP.ViewStatic.addTooltipLine(l,p,a,s.scale.refFormat),a=JMP.ScalingStatic.pixelToValue(i,u.nearestPoint.x),JMP.ViewStatic.addTooltipLine(l,h,a,i.scale.refFormat),l.x=u.nearestPoint.x,l.y=u.nearestPoint.y-c)),l},e.onPointerEvent=function(t,n,r,i,s,o,u,a){var f=!1,l=!1,c={x:n.clientX,y:n.clientY};JMP.SegmentStatic.convertToSegmentCoordinates(t,c),f=-5<c.x&&c.x<t.width+5&&-5<=c.y&&c.y<=t.height+5,c.x<.5?c.x=.5:c.x>t.width-.5&&(c.x=t.width-.5);if(f)switch(n.type){case"pointerdown":t.isXMoving=!0,l=!0,e.moveLine(t.x+c.x,r,i,s,o,u,a),JMP.ViewStatic.updateTooltip();break;case"pointerover":case"pointermove":document.body.className="cursorArrow",t.isXMoving?(l=!0,e.moveLine(t.x+c.x,r,i,s,o,u,a),JMP.ViewStatic.updateTooltip()):JMP.ViewStatic.focusMode!==JMP.ViewStatic.FOCUS_REPORT&&(l=!0);break;case"pointerup":t.isXMoving&&(l=!0,e.moveLine(t.x+c.x,r,i,s,o,u,a),JMP.ViewStatic.updateTooltip(),t.isXMoving=!1);break;case"pointerout":t.isXMoving=!1,JMP.ViewStatic.updateTooltip();break;default:}else n.type==="pointerup"&&t.isXMoving&&(t.isXMoving=!1,JMP.ViewStatic.updateTooltip());return l},e.calculateSize=function(e,t,n,r){var i,s,o=n.data.length-1,u=e*t,a,f=1,l;u<5e3?o=20:u<15e3?o=40:u<25e3?o=60:o=80;if(!r)n.data.length=o+2;else{a=r.getInputVariables(),l=a.length;for(i=0;i<l;i++)s=a[i],s&&s.data&&f<s.data.length&&(f=s.data.length);f<o+2&&(f=o+2);for(i=0;i<l;i++)s=a[i],s&&s.data&&(s.data.length=f)}return o},e.getPreferredTextWidth=function(e,t,n){var r,i=e.width-JMP.SMALL_FONT_SIZE,s=JMP.SMALL_FONT_SIZE,o,u,a=e.scale[JMP.ColumnsStatic.ROLE_X].refFormat,f;return f=JMP.FormatStatic.formatNumber(t,a),o=JMP.ViewStatic.getApproximateWidth(f,JMP.SMALL_FONT_SIZE)+s,f=JMP.FormatStatic.formatNumber(n,a),u=JMP.ViewStatic.getApproximateWidth(f,JMP.SMALL_FONT_SIZE)+s,r=Math.min(i,Math.max(o,u))+.5>>0,r},e}(),JMP.ProfileSegment=function(e){"use strict";var t=JMP.Segment(e),n=!1,r,i,s,o,u=[],a=[],f=!1,l,c,h=[],p,d=-1,v,m=!1,g=-1,y=-1,b=-1,w=-1,E,S=-1,x=-1,T=-1,N=-1,C,k=-1,L=1,A=!0,O=!0,M=!0,_=!0,D,P,H,B,j=function(e,t,n,r){var i,s=!1,o,u,a=t.type===JMP.ScaleStatic.SCALE_LOG;return i=JMP.DescriptiveStatic.getRange(e,a),i&&(n>i.min||r<i.max)&&(o=Math.min(i.min,n),u=Math.max(i.max,r),a&&o<JMP.SMALL_LOG_VALUE&&(o=JMP.SMALL_LOG_VALUE),JMP.ScaleStatic.updateRange(t,o,u-o),s=!0),s},F=function(){var e=!1,n,f,v,m,g,y,b;A&&(L=l.data.length-1,c||(L=JMP.ProfileSegmentStatic.calculateSize(t.width,t.height,l,P)));if(A||O){if(!c){l.setValueAt(p.value,0),g=r.range/L;for(n=1;n<=L+1;n++)l.data[n]=JMP.ScaleStatic.convertToValue(r.type,r.origin+(n-1)*g,r.base,r.power)}P&&(P.constrain(),m=t.getLocked()?JMP.LineSegmentStatic.PATTERN_SOLID:JMP.LineSegmentStatic.PATTERN_DOT,E.needCalculation=!0),y=E.getResult();if(y===null){t.isInvalid=!0;return}if(typeof y=="number"){D=[];for(n=0;n<L+(c?1:2);n++)D[n]=y}else D=y;B&&_&&(j(D,i,T,N),_=!1);if(!c){if(P){g=r.range/L,h[0]=p.value;for(n=1;n<=L+1;n++)l.data[n]=JMP.ScaleStatic.convertToValue(r.type,r.origin+(n-1)*g,r.base,r.power)}h=l.data.slice(0)}v=h.length,S=Infinity,x=-Infinity;for(n=0;n<v;n++)D[n]===null||!isFinite(D[n])?(u[n]=null,a[n]=null):(f=JMP.ScalingStatic.valuesToPixel(s,o,h[n],D[n],!0),u[n]=JMP.ScalingStatic.ensureValid(f.x,r.origin,r.range),a[n]=JMP.ScalingStatic.ensureValid(f.y,r.origin,r.range)),u[n]!==null&&h[n]<S&&(S=h[n]),u[n]!==null&&h[n]>x&&(x=h[n]),B&&a[n]!==null&&(D[n]<T&&(T=D[n]),D[n]>N&&(N=D[n]));if(c){b=!1,v=D.length;for(n=0;n<v&&!b;n++)c[n]===p.value&&(C.value=D[n],b=!0)}else C.value=D[0];JMP.ScaleStatic.updateReferenceLine(i,k,C.value,JMP.FormatStatic.formatNumber(C.value,o.scale.refFormat)),c?JMP.ScaleStatic.updateReferenceLine(r,d,c.indexOf(p.value),p.value,m):JMP.ScaleStatic.updateReferenceLine(r,d,p.value,JMP.FormatStatic.formatNumber(p.value,s.scale.refFormat),m),e=!0}return A=!1,M=!1,_=!1,O=!1,e},I=function(e){O=!0,M&&(l&&r&&(l.setValueAt(p.value,0),j(l.data,r,S,x)),M=!1),B&&(_=!0),t.isInvalid?t.sendEvent(JMP.SegmentStatic.EVENT_SEGMENT_CHANGED):n&&F()&&t.sendEvent(JMP.SegmentStatic.EVENT_SEGMENT_CHANGED);if(e.type===JMP.ColumnStatic.EVENT_VALUE_CHANGED)return},q=function(e){e.type===JMP.ScaleStatic.EVENT_RANGE_CHANGED&&(i=t.scale[JMP.ColumnsStatic.ROLE_Y],o=JMP.Scaling(i,(t.y+t.height-1>>0)+.5,1-t.height),T=JMP.ScaleStatic.convertToValue(i.type,i.origin,i.base,i.power),N=JMP.ScaleStatic.convertToValue(i.type,i.origin+i.range,i.base,i.power),O=!0,_=!1,F(),t.sendEvent(JMP.SegmentStatic.EVENT_SEGMENT_CHANGED))},R=function(){var e;if(t.columns){l=t.columns.getColumn(JMP.ColumnsStatic.ROLE_X);if(!l)return t.isInvalid=!0,!1;if(l.dataLevel===JMP.VariableStatic.LEVEL_NOMINAL||l.dataLevel===JMP.VariableStatic.LEVEL_ORDINAL){c=l.data.slice(0);for(e=0;e<c.length;e++)h[e]=e}}return r=t.scale[JMP.ColumnsStatic.ROLE_X],r&&(f=r.type===JMP.ScaleStatic.SCALE_LOG,s=JMP.Scaling(r,(t.x>>0)+.5,t.width-1),S=JMP.ScaleStatic.convertToValue(r.type,r.origin,r.base,r.power),x=JMP.ScaleStatic.convertToValue(r.type,r.origin+r.range,r.base,r.power),g=r.origin,y=r.range),i=t.scale[JMP.ColumnsStatic.ROLE_Y],i&&(o=JMP.Scaling(i,(t.y+t.height-1>>0)+.5,1-t.height),T=JMP.ScaleStatic.convertToValue(i.type,i.origin,i.base,i.power),N=JMP.ScaleStatic.convertToValue(i.type,i.origin+i.range,i.base,i.power),b=i.origin,w=i.range,o.scale.addEventListener(q)),!s||!o?!1:(t.isInvalid||F(),n=!0,!0)};return t.lineWidthScale=1,t.alpha=1,t.xAxis=undefined,t.yAxis=undefined,t.isInvalid=!1,t.isXMoving=!1,t.addColumn=function(e,n){t.columns.addColumn(e,n),n===JMP.ColumnsStatic.ROLE_X&&(e.setData?l=e:l=JMP.Column([e.value],e.name,e.type))},t.setYFunction=function(e){E!==undefined&&E.removeEventListener(I),E=e,E.addEventListener(I)},t.reset=function(){var e,n;B=H,e=JMP.ScaleStatic.convertToValue(r.type,g,r.base,r.power),n=JMP.ScaleStatic.convertToValue(r.type,g+y,r.base,r.power),JMP.ScaleStatic.updateRange(r,e,n-e),T=JMP.ScaleStatic.convertToValue(i.type,b,i.base,i.power),N=JMP.ScaleStatic.convertToValue(i.type,b+w,i.base,i.power),JMP.ScaleStatic.updateRange(i,T,N-T),!c&&(e!==S||x!==n-e)&&(JMP.ScaleStatic.updateRange(r,e,n-e),S=e,x=n-e,l.data=[]),P?(p.value=v,t.getLocked()!==m&&P.setLockAt(P.options.fixed,m)):p.setValue(v),O=!0},t.isReset=function(){return v===p.value&&H===B&&m===t.getLocked()},t.getLocked=function(){return P?P.getLockAt(P.options.fixed):!1},t.setLocked=function(e){P&&t.getLocked()!==e&&(O=!0,JMP.ProfileSegmentStatic.setLocked(e,P))},t.draw=function(){var e=!1;n||(e=R()),t.isInvalid||(JMP.ProfileSegmentStatic.draw(t.g,c?u:u.slice(1),c?a:a.slice(1),t.lineWidthScale,t.alpha),e&&t.sendEvent(JMP.SegmentStatic.EVENT_SEGMENT_CHANGED))},t.getTooltip=function(e,t){return n||R()?JMP.ProfileSegmentStatic.getTooltip(e,t,u,a,s,o,c):null},t.onPointerEvent=function(e){return n||R()?JMP.ProfileSegmentStatic.onPointerEvent(t,e,s,S,x,p,c,P):!1},t.setYReferenceVariable=function(e){C===undefined?k=JMP.ProfileSegmentStatic.initializeReferenceLine(t.scale[JMP.ColumnsStatic.ROLE_Y],e,!1):C.removeEventListener(I),C=e,C.addEventListener(I)},t.setXReferenceVariable=function(e,n,r){p===undefined?(d=JMP.ProfileSegmentStatic.initializeReferenceLine(t.scale[JMP.ColumnsStatic.ROLE_X],e,!0,r),v=e.value,m=n!==undefined?n:!1):p.removeEventListener(I),p=e,p.addEventListener(I)},t.getXReferenceVariable=function(){return p},t.validateXReferenceValue=function(e){return JMP.ProfileSegmentStatic.validateXReferenceValue(e,S,x,c,P,f)},t.setXReferenceValue=function(e){return B&&(_=!0),c||(M=!0),JMP.ProfileSegmentStatic.setXReferenceValue(e,S,x,p,c,P,f)},t.getXReferenceLinePosition=function(){var e=null,t=p?p.value:null;return c&&(t=c.indexOf(t)),s&&t!==null&&(e=JMP.ScalingStatic.valueToPixel(s,t)),e},t.isCategorical=function(){return l&&l.dataLevel!==JMP.VariableStatic.LEVEL_CONTINUOUS},t.getConstraint=function(){return P},t.setConstraint=function(e){P&&P.removeEventListener(I),P=e,P&&P.addEventListener(I)},t.setAdaptYAxis=function(e){B=e,H===undefined&&(H=e),e&&n&&j(D,i,T,N)},t.getPreferredTextWidth=function(){return n||R(),JMP.ProfileSegmentStatic.getPreferredTextWidth(t,S,x)},JMP.EventFacadeStatic.addEventListener(e,t.onPointerEvent),t},JMP.RectSegmentStatic=function(){"use strict";var e={},t=[],n=JMP.ViewStatic.rectanglesIntersect,r=JMP.ViewStatic.pointInRect,i=function(e,t){var n,r=!0,i,s;i=e.getColumns(JMP.ColumnsStatic.ROLE_X),s=t.getColumns(JMP.ColumnsStatic.ROLE_X),r=i.length===s.length;for(n=0;n<i.length&&r;n++)r=i[n].name===s[n].name;i=e.getColumns(JMP.ColumnsStatic.ROLE_Y),s=t.getColumns(JMP.ColumnsStatic.ROLE_Y),r=r&&i.length===s.length;for(n=0;n<i.length&&r;n++)r=i[n].name===s[n].name;return r},s=function(e,t){return e.scale.type===JMP.ScaleStatic.SCALE_LOG&&(t=Math.pow(e.scale.base,t)),JMP.ScalingStatic.valueToPixel(e,t)},o=function(e,t,n,r,i,s){var o,u,a,f,l,c;t.type===JMP.ScaleStatic.SCALE_LOG&&(i=Math.pow(t.base,i),s=Math.pow(t.base,s)),o=n.length;if(o)for(u=0;u<o;u++)a=n[u],a.dataLevel===JMP.VariableStatic.LEVEL_CONTINUOUS?(f=JMP.ViewStatic.getLabel(a,JMP.DescriptiveStatic.STAT_RANGE),l=JMP.ViewStatic.formatTooltipRange(a.format,Math.min(i,s),Math.max(i,s)),JMP.ViewStatic.addTooltipLine(e,f,l)):JMP.ViewStatic.addTooltipLine(e,a.name,a.getValueString(a.data[r]));else f=JMP.ViewStatic.getLabel(undefined,JMP.DescriptiveStatic.STAT_RANGE,t.axisLabel),c=JMP.ViewStatic.getPreciseFormat(t.origin,t.range,t.format),l=JMP.ViewStatic.formatTooltipRange(c,Math.min(i,s),Math.max(i,s)),JMP.ViewStatic.addTooltipLine(e,f,l)},u=function(e,t,n){return t&&(n?n[e]:t.hidden[e])},a=function(e,t,n,r){var i={dataIndex:-1,distance:0,area:0},o,a,f,l,c,h,p,d,v,m=Number.MAX_VALUE,g={x:n,y:r},y={},b,w,E=-1,S,x,T,N,C,k,L,A,O;if(!t)return;N=t.rowStates,C=t.xScaling,k=t.yScaling,L=t.nRects,A=t.hiddenAggregates,O=t.colorData;for(w=0;w<L;w++)b=w*4,!u(w,N,A)&&O[w]!==null&&e[b]!==null&&e[b+1]!==null&&e[b+2]!==null&&e[b+3]!==null&&(o=s(C,e[b]),a=s(k,e[b+1]),f=s(C,e[b+2]),l=s(k,e[b+3]),y.x=Math.min(o,f)>>0,y.y=Math.min(a,l)>>0,y.w=Math.abs(f-o)>>0,y.h=Math.abs(l-a)>>0,JMP.ViewStatic.pointInRect(g,y,-JMP.ViewStatic.FUZZ_PIXELS)&&(c=(o+f)/2,h=(a+l)/2,p=c-n,d=h-r,v=p*p+d*d,v<m&&(m=v,E=w,S=y.w*y.h,x=y.x,T=y.y,y.h<5&&(T-=2))));return m===Number.MAX_VALUE?null:(i.distance=m,i.dataIndex=E,i.area=S,i.x=x,i.y=T,i)};return e.getCache=function(e,n){var r=e.columns.getColumns(JMP.ColumnsStatic.ROLE_LABEL),s=e.columns.getColumns(JMP.ColumnsStatic.ROLE_X),o=e.columns.getColumns(JMP.ColumnsStatic.ROLE_Y),u=e.scale[JMP.ColumnsStatic.ROLE_X],a=e.scale[JMP.ColumnsStatic.ROLE_Y],f=e.heatmapScalesMap,l=e.groupRowIndices,c,h,p,d,v,m,g,y,b=[],w,E,S,x,T=[],N=[],C,k,L,A=[],O=[],M=[],_=[],D=[],P=[],H=[],B=[],j=[],F=[],I=[],q=[],R=e.rects.length/4,U=[],z=[],W=[],X=e.columns.rowStates,V,$,J,K,Q=[],G=[],Y,Z,et,tt,nt,rt,it=function(e,t,n,r,i,s,o,u){var a,f,l,c,h,p=[],d,v=[],m=r.type===JMP.ScaleStatic.SCALE_LOG;if(e.length===0){o.push([r.origin,r.origin+r.range]);return}if(n[0]){h=t[0].length;for(a=0;a<h;a++)d=t[0][a],l=d[0],c=d[1],m?(l=JMP.ScaleStatic.convertFromValue(r.type,d[0],r.base),c=JMP.ScaleStatic.convertFromValue(r.type,d[1],r.base),o.push([l,c])):o.push(d);return}v=t.length<e.length?[e[0]]:e,p=JMP.GroupStatic.getRows(v,t,n,i,undefined,s),f=p.length,h=0;for(a=0;a<f;a++)p[a].length>0?(l=-0.5+h,o.push([l,l+1]),h++):u.push(a);return},st=function(e,t){var n,r,i;if(t[0])return e[0].length;r=e.length,i=1;for(n=0;n<r;n++)i*=e[n].length;return i},ot=function(e,t,n){var r=[],i,s,o,u,a,f=Infinity,l=-Infinity,c,h,p,d=t.type===JMP.ScaleStatic.SCALE_LOG,v=n.nMinor,m=d?n.widthMajor:n.widthMajor/(v+1);u=e.length;for(s=0;s<u;s++)p=e[s],p!==null&&(f=Math.min(f,p),l=Math.max(l,p));d?(f=Math.floor(JMP.ScaleStatic.convertFromValue(t.type,f,t.base)),l=Math.floor(JMP.ScaleStatic.convertFromValue(t.type,l,t.base))):f=Math.floor(f/m)*m,a=1,c=f,h=f+m;while(h<=l)r.push([c,h]),a++,c=h,h=f+m*a;c<=l&&r.push([c,h]);if(d){a=r.length;for(s=0;s<a;s++){i=r[s];for(o=0;o<2;o++)i[o]=JMP.ScaleStatic.convertToValue(t.type,i[o],t.base)}}return r},ut=function(e,t){var n,r=t.length,i=!1;for(n=0;n<r&&!i;n++)i=e[t[n]]!==null;return i};if(f){t=undefined;for(c=0;c<f.length&&!t;c++)i(e.columns,f[c].columns)&&(t=f[c]);t||(f.push({columns:e.columns,scale:e.scale.concat()}),t=f[f.length-1]),e.scalesForBinWidth=t.scale.concat(),nt=t.scale[JMP.ColumnsStatic.ROLE_X],rt=t.scale[JMP.ColumnsStatic.ROLE_Y]}if(s.length>0||o.length>0||l&&l.length>0){for(c=0;c<2;c++){c===0?(b=s,A=O,_=D,S=u,x=nt,H=B,F=I):(b=o,A=M,_=P,S=a,x=rt,H=j,F=q);if(b){w=b.length,C=!0;for(h=0;h<w&&C;h++)E=b[h],C=E.dataLevel!==JMP.VariableStatic.LEVEL_CONTINUOUS;C||(w=1,b.length=1);for(h=0;h<w;h++)E=b[h],N.push(E),E.dataLevel===JMP.VariableStatic.LEVEL_CONTINUOUS?(A.push(ot(E.data,S,x)),_.push(!0)):(T=JMP.UniqueStatic.getValues([E],X,e.hasMissingLevels,!0),JMP.ViewStatic.permuteUniqueValues(S,T),A.push(T[0]),_.push(!1));it(b,A,_,S,X,e.hasMissingLevels,H,F)}}A=O.concat(M),_=D.concat(P);if(N.length>0){V=JMP.GroupStatic.getRows(N,A,_,X,l,e.hasMissingLevels),e.colorTerm&&!e.hasMissingLevels&&JMP.ViewStatic.removeMissing(V,e.colorTerm.column.data),k=!D[0]&&O.length>1,L=!P[0]&&M.length>1;if(k||L){if(k){p=I.length,m=st(M,P);for(c=0;c<p;c++)for(h=0;h<m;h++)V[I[c]*m+h]=undefined}if(L){p=q.length,v=st(O,D),m=st(M,P);for(c=0;c<p;c++)for(h=0;h<v;h++)V[h*m+q[c]]=undefined}p=V.length;for(c=p-1;c>=0;c--)V[c]||V.splice(c,1)}}else l&&(V=[l]);m=j.length,v=B.length;for(g=0;g<v;g++)for(y=0;y<m;y++)Q.push(B[g][0]),Q.push(j[y][1]),Q.push(B[g][1]),Q.push(j[y][0]);e.rects=Q;if(V){Y=e.columns.getColumn(JMP.ColumnsStatic.ROLE_FREQ),Y&&(Z=Y.data),p=V.length;for(c=0;c<p;c++){d=V[c].length;if(e.colorTerm)if(d===0)et=null;else{et=0,tt=e.colorTerm.column.dataLevel===JMP.VariableStatic.LEVEL_CONTINUOUS?e.colorTerm.column.data:e.colorTerm.score;for(h=0;h<d;h++)et+=tt[V[c][h]];et/=d}else!Z||ut(Z,V[c])?et=JMP.DescriptiveStatic.getValue(undefined,Y,undefined,V[c]):et=null;W[c]=et,G[c]=et===null?null:e.legend.getColor(et,e.legendOffset,e.legendModelID)}e.colorData=W,e.fillColors=G}}JMP.ViewStatic.createLabels(X?R:0,r,V,U,z),X&&V&&($=[],J=[],K=[],JMP.ViewStatic.setSelectedAggregates(V,X,$,J),JMP.ViewStatic.setHiddenAggregates(V,X,K,!0)),n.rowStates=X,n.xColumns=s,n.yColumns=o,n.xScaling=JMP.Scaling(u,e.x+.5>>0,e.width-1),n.yScaling=JMP.Scaling(a,e.y+e.height-.5>>0,1-e.height),n.nRects=R,n.labeledColumnNames=U,n.labelValues=z,n.colorData=W,n.aggregatedRowIndices=V,n.selectedAggregates=$,n.selectedPortions=J,n.hiddenAggregates=K},e.draw=function(e,t){var n=e.g,r=e.rects,i=e.fillColors,o,a,f,l,c,h,p,d,v,m,g,y,b,w,E=1,S,x,T,N,C,k,L,A;if(!t)return;S=t.rowStates,x=t.xScaling,T=t.yScaling,N=t.nRects,C=t.aggregatedRowIndices,k=t.selectedAggregates,L=t.selectedPortions,A=t.hiddenAggregates,JMP.ViewStatic.reset(n),w=n.globalAlpha,y=x.scale.range>0?.5:1,b=T.scale.range>0?1:.5,S&&(v=S.selectedIndices,m=S.nSelectedIndices,C&&JMP.ViewStatic.setSelectedAggregates(C,S,k,L));for(h=0;h<N;h++){o=h*4;if(C&&!C[h])continue;if(u(h,S,A))continue;p=i[h];if(p===null)continue;r[o]!==null&&r[o+1]!==null&&r[o+2]!==null&&r[o+3]!==null&&(a=s(x,r[o])+y>>0,f=s(T,r[o+1])+b>>0,l=s(x,r[o+2])+y>>0,c=s(T,r[o+3])+b>>0,S&&(g=C?k[h]:v.lastIndexOf(h,m-1)>=0),e.legend&&(E=e.legend.getAlpha(0,e.legendOffset,e.legendModelID),E!==1&&(n.globalAlpha=E)),g&&(n.fillStyle=JMP.ViewStatic.darkenColor(p,.5),d=(c-f)*(L?L[h]:1)>>0,n.fillRect(a,c-d,l-a,d),c-=d),c!==f&&(n.fillStyle=p,n.fillRect(a,f,l-a,c-f)))}E!==1&&(n.globalAlpha=w)},e.select=function(e,t,i,o){var a=e.rects,f,l,c,h,p,d={},v,m,g=[],y=i.w||i.h,b=!1,w=!1,E,S,x,T,N,C,k,L;if(!t||!t.rowStates)return;E=t.rowStates,S=t.xScaling,x=t.yScaling,T=t.nRects,N=t.aggregatedRowIndices,C=t.selectedAggregates,k=t.selectedPortions,L=t.hiddenAggregates,f=E.selected,N&&o===JMP.ViewStatic.SELECT_ONLY&&(C.length=0);for(m=0;m<T&&!b;m++){v=m*4;if(u(m,E,L))continue;l=s(S,a[v]),c=s(x,a[v+1]),h=s(S,a[v+2]),p=s(x,a[v+3]),d.x=Math.min(l,h)>>0,d.y=Math.min(c,p)>>0,d.w=Math.abs(h-l)>>0,d.h=Math.abs(p-c)>>0,y?n(i,d)&&(N?g=g.concat(N[m]):g.push(m)):r({x:i.x,y:i.y},d)&&(N?(g=g.concat(N[m]),w=C[m]):(g.push(m),w=f[m]),b=!0)}if(g.length===0)switch(o){case JMP.ViewStatic.SELECT_ONLY:case JMP.ViewStatic.SELECT_TOGGLE:E.selectAll(!1);break;default:}else if(g.length>0)switch(o){case JMP.ViewStatic.SELECT_ONLY:E.selectOnly(g,!0);break;case JMP.ViewStatic.SELECT_EXTEND:E.select(g,!0);break;case JMP.ViewStatic.SELECT_REDUCE:E.select(g,!1);break;default:E.select(g,!w)}N&&JMP.ViewStatic.setSelectedAggregates(N,E,C,k)},e.getTooltip=function(e,t,n){var r=e.rects,i=e.labels,s=n.x,u=n.y,f={lines:[],distance:0,area:0},l,c,h,p,d,v,m,g,y,b,w,E,S,x,T,N,C,k,L;return t?(E=t.xScaling,S=t.yScaling,x=t.labeledColumnNames,T=t.labelValues,N=t.xColumns,C=t.yColumns,k=t.colorData,L=t.aggregatedRowIndices,l=a(r,t,s,u),l?(c=l.dataIndex,i&&JMP.ViewStatic.addTooltipLine(f,undefined,i[c]),h=T?T[c]:null,h&&x&&JMP.ViewStatic.addLabeledColumnsToTooltip(h,x,f),p=L?L[c][0]:c,d=c*4+1,g=r[d],y=r[d+2],(!L||C.length>0)&&o(f,S.scale,C,p,g,y),d--,g=r[d],y=r[d+2],(!L||N.length>0)&&o(f,E.scale,N,p,g,y),k&&e.columns&&(v=e.columns.getColumn(JMP.ColumnsStatic.ROLE_COLOR),v&&v.dataLevel===JMP.VariableStatic.LEVEL_CONTINUOUS&&(b=JMP.ViewStatic.getLabel(v,L?JMP.DescriptiveStatic.STAT_MEAN:JMP.DescriptiveStatic.STAT_NONE),w=e.colorTerm.getValueString(k[c]),JMP.ViewStatic.addTooltipLine(f,b,w))),e.columns&&!v&&(m=e.columns.getColumn(JMP.ColumnsStatic.ROLE_FREQ),m&&L&&(b=JMP.DescriptiveStatic.NAMES[JMP.DescriptiveStatic.STAT_N],w=JMP.DescriptiveStatic.getValue(undefined,m,undefined,L[c]),JMP.ViewStatic.addTooltipLine(f,b,w))),L&&JMP.ViewStatic.addTooltipLine(f,JMP.ViewStatic.TIP_ROWS,L[c].length),f.distance=l.distance,f.area=l.area,f.x=l.x,f.y=l.y,f):null):null},e}(),JMP.RectSegment=function(e){"use strict";var t=JMP.Segment(e),n,r=function(){return!n&&t.rects&&t.scale[JMP.ColumnsStatic.ROLE_X]&&t.scale[JMP.ColumnsStatic.ROLE_Y]&&(n={},JMP.RectSegmentStatic.getCache(t,n)),n};return t.rects=[],t.labels=undefined,t.groupRowIndices=undefined,t.fillColors=[],t.colorData=undefined,t.alpha=1,t.heatmapScalesMap=undefined,t.scalesForBinWidth=[],t.draw=function(){JMP.RectSegmentStatic.draw(t,r())},t.select=function(e,n){JMP.RectSegmentStatic.select(t,r(),e,n)},t.getTooltip=function(e,n){return JMP.RectSegmentStatic.getTooltip(t,r(),{x:e,y:n})},t},JMP.ScriptSegmentStatic=function(){"use strict";var e={},t=0,n=1,r=2,i=3,s=4,o=5,u=6,a=7,f=8,l=9,c=10,h=11,p=12,d=13,v=14,m=15,g=16,y=17,b=18,w=19,E=20,S=21,x=22,T=23,N=24,C=25,k=26,L=27,A=28,O=29,M=30,_=31,D=32,P=33,H=34,B=35;return e.getCache=function(e,t){var n,r,i=e.scale[JMP.ColumnsStatic.ROLE_X],s=e.scale[JMP.ColumnsStatic.ROLE_Y];i&&(n=JMP.Scaling(i,0,e.width-1)),s=e.scale[JMP.ColumnsStatic.ROLE_Y],s&&(r=JMP.Scaling(s,e.height-1,1-e.height)),t.xScaling=n,t.yScaling=r},e.draw=function(e,j){var F=e.g,I=e.x,q=e.y,R=e.width,U=e.height,z=e.script,W=e.lineWidthScale,X,V,$,J,K,Q,G,Y,Z,et,tt=!1,nt=!1,rt,it,st,ot,ut=0,at=0,ft,lt,ct,ht,pt,dt,vt=0,mt,gt,yt,bt,wt,Et=null,St=null,xt=null,Tt=null,Nt=JMP.MarkerSegmentStatic.MAX_MARKER_SIZE,Ct=JMP.MarkerSegmentStatic.MIN_MARKER_SIZE,kt=function(){var e,j,F,I=et,q,R=z.length,U=null,W=-1,X=0;while(I<R&&W<0)if(tt&&z.charAt(I)!=='"')q=z.indexOf('"',I),W=f,X=z.slice(I,q),I=q;else switch(z.charAt(I)){case"g":e=z.slice(I,I+3);if(e==="g.m")W=t,I+=8;else if(e==="g.l")e=z.slice(I,I+8),e==="g.lineTo"?(W=n,I+=8):e==="g.lineWi"?(W=y,I+=11):I++;else if(e==="g.s")e=z.slice(I,I+9),e==="g.stroke("?(W=u,I+=8):e==="g.strokeS"?(W=r,I+=13):e==="g.setLine"?(W=P,I+=13):I++;else if(e==="g.b")W=i,I+=11;else if(e==="g.a")W=o,I+=5;else if(e==="g.c")W=s,I+=11;else if(e==="g.f")e=z.slice(I,I+4),e==="g.fi"?(e=z.slice(I,I+7),e==="g.fill("?(W=N,I+=6):e==="g.fillT"?(W=g,I+=10):e==="g.fillS"?(W=w,I+=11):I++):e==="g.fo"?(W=b,I+=6):I++;else if(e==="g.g")W=k,I+=13;else if(e==="g.r")e=z.slice(I,I+4),e==="g.re"?(W=C,I+=6):e==="g.ro"?(W=O,I+=8):I++;else if(e==="g.t")e=z.slice(I,I+7),e==="g.trans"?(W=T,I+=11):e==="g.textA"?(W=L,I+=11):e==="g.textB"?(W=A,I+=14):I++;else if(" , \n".indexOf(e.charAt(1))>-1)W=E,I++;else{while(z.charAt(I)!==";")I++;I++}break;case"J":e=z.slice(I,I+11),e==="JMP.TextBox"?(W=M,I+=31):e==="JMP.Marker."?(W=S,I+=11,q=z.indexOf(",",I),X=z.slice(I,q),I=q):(W=x,I+=34);break;case'"':W=v,tt=!tt,I++;break;case"f":e=z.slice(I,I+5),e==="false"?(W=m,X=!1,I+=5):I++;break;case"t":e=z.slice(I,I+4),e==="true"?(W=m,X=!0,I+=4):I++;break;case"n":e=z.slice(I,I+4),e==="null"?(W=_,X=null,I+=4):I++;break;case"u":e=z.slice(I,I+9),e==="undefined"?(W=B,X=undefined,I+=4):I++;break;case"-":case"+":case".":case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7"
:case"8":case"9":W=a,F=!0;for(q=I+1;q<R&&F;q++)j=z.charAt(q),F=j==="e"||j==="E"||j==="-"||j==="+"||j==="."||"0"<=j&&j<="9";e=z.substring(I,q),X=parseFloat(e),I=q-1;break;case"(":W=h,I++;break;case")":W=p,I++;break;case",":W=c,I++;break;case";":W=l,I++;break;case"=":W=d,I++;break;case"/":I+1<R?(j=z.charAt(I+1),j==="*"&&I+2<R?(q=z.indexOf("*/",I+2),W=D,X=z.slice(I+2,q),I=q+2):I++):I++;break;case"[":q=z.indexOf("]",I+1),W=H,X=JSON.parse(z.slice(I,q+1)),I=q+1;break;default:I++}return et=I,W>=0&&(U={code:W,value:X}),U},Lt=function(e){var t=JMP.Marker.DOT;switch(e){case"DOT":t=JMP.Marker.DOT;break;case"X":t=JMP.Marker.X;break;case"Y":t=JMP.Marker.Y;break;case"Z":t=JMP.Marker.Z;break;case"PLUS":t=JMP.Marker.PLUS;break;case"MINUS":t=JMP.Marker.MINUS;break;case"PIPE":t=JMP.Marker.PIPE;break;case"SLASH":t=JMP.Marker.SLASH;break;case"BACKSLASH":t=JMP.Marker.BACKSLASH;break;case"ARROW_UP":t=JMP.Marker.ARROW_UP;break;case"ARROW_DOWN":t=JMP.Marker.ARROW_DOWN;break;case"ARROW_LEFT":t=JMP.Marker.ARROW_LEFT;break;case"ARROW_RIGHT":t=JMP.Marker.ARROW_RIGHT;break;case"STAR":t=JMP.Marker.STAR;break;case"CIRCLE":t=JMP.Marker.CIRCLE;break;case"WIDE":t=JMP.Marker.WIDE;break;case"TALL":t=JMP.Marker.TALL;break;case"SQUARE":t=JMP.Marker.SQUARE;break;case"DIAMOND":t=JMP.Marker.DIAMOND;break;case"TRIANGLE_UP":t=JMP.Marker.TRIANGLE_UP;break;case"TRIANGLE_DOWN":t=JMP.Marker.TRIANGLE_DOWN;break;case"TRIANGLE_LEFT":t=JMP.Marker.TRIANGLE_LEFT;break;case"TRIANGLE_RIGHT":t=JMP.Marker.TRIANGLE_RIGHT;break;case"CIRCLE_FILLED":t=JMP.Marker.CIRCLE_FILLED;break;case"WIDE_FILLED":t=JMP.Marker.WIDE_FILLED;break;case"TALL_FILLED":t=JMP.Marker.TALL_FILLED;break;case"SQUARE_FILLED":t=JMP.Marker.SQUARE_FILLED;break;case"DIAMOND_FILLED":t=JMP.Marker.DIAMOND_FILLED;break;case"TRIANGLE_UP_FILLED":t=JMP.Marker.TRIANGLE_UP_FILLED;break;case"TRIANGLE_DOWN_FILLED":t=JMP.Marker.TRIANGLE_DOWN_FILLED;break;case"TRIANGLE_LEFT_FILLED":t=JMP.Marker.TRIANGLE_LEFT_FILLED;break;case"TRIANGLE_RIGHT_FILLED":t=JMP.Marker.TRIANGLE_RIGHT_FILLED;break;default:t=e}return t};if(!j)return;nt=j.tooltipLocations===undefined,nt&&(j.tooltipLocations=[]),X=j.tooltipLocations;if(z){et=0,rt=0,JMP.ViewStatic.reset(F),F.lineWidth=W;for(V=kt();V;V=kt()){$=V.code;switch($){case t:case n:V=kt(),V=kt(),J=V?V.value:0,V=kt(),V=kt(),K=V?V.value:0,V=kt(),V=kt(),$===t?(Et=J+I,St=K+q,nt&&(X[rt]=[ut+J,at+K])):(Et!==null?(xt=J+I,Tt=K+q,Et===xt&&(St<=q+.5&&Tt>=q+U-1.5||St>=q+U-1.5&&Tt<=q+.5)||St===Tt&&(Et<=I+.5&&xt>=I+R-1.5||Et>=I+R-1.5&&xt<=I+.5)?(JMP.ViewStatic.drawCommand(F,Et,St,F.lineWidth%2===1,"moveTo"),JMP.ViewStatic.drawCommand(F,xt,Tt,F.lineWidth%2===1,"lineTo")):(F.moveTo(Et,St),F.lineTo(xt,Tt)),Et=St=xt=Tt=null):F.lineTo(J+I,K+q),nt&&(X[rt]?(X[rt][2]=ut+J,X[rt][3]=at+K,rt++):rt>0?(X[rt]=[ut+X[rt-1][X[rt-1].length-2],at+X[rt-1][X[rt-1].length-1],ut+J,at+K],rt++):(X[rt]=[ut+J,at+K],rt++)));break;case r:V=kt(),V=kt(),V=kt(),gt=V?V.value:JMP.COLOR_LINE,V=kt(),V=kt(),F.strokeStyle=gt;break;case u:case N:case i:case s:V=kt(),V=kt(),V=kt(),$===u?F.stroke():$===N?F.fill():$===i?F.beginPath():F.closePath();break;case o:V=kt(),V=kt(),J=V?V.value:0,V=kt(),V=kt(),K=V?V.value:0,V=kt(),V=kt(),Q=V?V.value:0,V=kt(),V=kt(),G=V?V.value:0,V=kt(),V=kt(),Y=V?V.value:0,V=kt(),V=kt(),Z=V?V.value:!1,V=kt(),V=kt(),F.lineWidth%2===1?F.arc((J+I+JMP.EPSILON>>0)+.5,(K+q+JMP.EPSILON>>0)+.5,Q,G,Y,Z):F.arc(J+I+JMP.EPSILON+.5>>0,K+q+JMP.EPSILON+.5>>0,Q,G,Y,Z),nt&&(X[rt]=[ut+J,at+K,Q],rt++);break;case C:V=kt(),V=kt(),J=V?V.value:0,V=kt(),V=kt(),K=V?V.value:0,V=kt(),V=kt(),pt=V?V.value:0,V=kt(),V=kt(),dt=V?V.value:0,V=kt(),V=kt(),F.lineWidth%2===1?F.rect((J+I+JMP.EPSILON>>0)+.5,(K+q+JMP.EPSILON>>0)+.5,pt+(pt>0?.5:-0.5)>>0,dt+(dt>0?.5:-0.5)>>0):F.rect(J+I+JMP.EPSILON+.5>>0,K+q+JMP.EPSILON+.5>>0,pt+(pt>0?.5:-0.5)>>0,dt+(dt>0?.5:-0.5)>>0),nt&&(J+=ut,K+=at,X[rt]=[J,K,J+pt,K],X[rt+1]=[J,K+dt,J+pt,K+dt],X[rt+2]=[J,K,J,K+dt],X[rt+3]=[J+pt,K,J+pt,K+dt],rt+=4);break;case k:V=kt(),V=kt(),J=V?V.value:1,V=kt(),F.globalAlpha=J;break;case g:V=kt(),V=kt(),V=kt(),gt=V?V.value:"",V=kt(),V=kt(),V=kt(),J=V?V.value:0,V=kt(),V=kt(),K=V?V.value:0,V=kt(),V=kt(),vt===0?F.fillText(gt,J+I,K+q):vt<0?F.fillText(gt,J-q,K+I):F.fillText(gt,J+q,K-I);break;case y:V=kt(),V=kt(),J=V?V.value:0,V=kt(),F.lineWidth=J*W;break;case b:V=kt(),V=kt(),V=kt(),gt=V?V.value:"",V=kt(),V=kt(),ct=JMP.SMALL_FONT_SIZE,ft=gt.search(/\d/),ft>=0&&(lt=gt.search(/\D/),gt.indexOf("px")>=0&&(gt=+gt.slice(ft,lt),ct=JMP.ViewStatic.mapFontSize(gt))),F.font=ct+"px "+JMP.FONT;break;case w:V=kt(),V=kt(),V=kt(),gt=V?V.value:JMP.COLOR_FILL,V=kt(),V=kt(),F.fillStyle=gt;break;case x:V=kt(),V=kt(),V=kt(),V=kt(),J=V?V.value:0,V=kt(),V=kt(),K=V?V.value:0,V=kt(),V=kt(),it=V?V.value:1,V=kt(),V=kt(),ot=V?Lt(V.value):JMP.Marker.DOT,V=kt(),V=kt(),V=kt(),st=V?V.value:JMP.COLOR_LINE,V=kt(),V=kt(),V=kt(),e.markerSizeAddend===undefined&&(e.markerSizeAddend=0),it<Nt&&(Nt=it),it>Ct&&(Ct=it),it=Math.max(JMP.MarkerSegmentStatic.MIN_MARKER_SIZE,it+e.markerSizeAddend),JMP.MarkerSegmentStatic.drawMarker(F,J+I,K+q,it,ot,st),nt&&(X[rt]=[ut+J,at+K,it*-2],rt++);break;case M:V=kt(),V=kt(),V=kt(),V=kt(),J=V?V.value:0,V=kt(),V=kt(),K=V?V.value:0,V=kt(),V=kt(),pt=V?V.value:0,V=kt(),V=kt(),dt=V?V.value:0,V=kt(),V=kt(),V=kt(),gt=V?V.value:"",V=kt(),V=kt(),V=kt(),V&&V.code===v?(V=kt(),yt=V?V.value:JMP.COLOR_LINE,V=kt()):yt=undefined,V=kt(),V=kt(),V&&V.code===v?(V=kt(),bt=V?V.value:undefined,V=kt()):bt=undefined,V=kt(),V=kt(),V&&V.code===v?(V=kt(),wt=V?V.value:undefined,V=kt()):wt=undefined,V=kt(),V=kt(),JMP.TextBoxStatic.drawBoxedText(F,J+I,K+q,pt,dt,gt,yt,bt,wt);break;case T:V=kt(),V=kt(),J=V?V.value:0,V=kt(),V=kt(),K=V?V.value:0,V=kt(),V=kt(),F.translate(J>>0,K>>0),nt&&(ut+=J,at+=K);break;case L:V=kt(),V=kt(),V=kt(),gt=V?V.value:"start",V=kt(),V=kt(),F.textAlign=gt;break;case A:V=kt(),V=kt(),V=kt(),gt=V?V.value:"alphabetic",V=kt(),V=kt(),F.textBaseline=gt;break;case O:V=kt(),V=kt(),ht=V?V.value:0,V=kt(),V=kt(),F.rotate(ht),vt+=ht;break;case P:V=kt(),V=kt(),mt=V?V.value:[],V=kt(),V=kt(),F.setLineDash(mt);break;default:}}}e.markerSizeAddend!==undefined&&(e.minMarkerSize=Nt,e.maxMarkerSize=Ct),F.setLineDash([])},e.getTooltip=function(e,t,n,r){var i=n-e.x,s=r-e.y,o=e.description,u,a,f,l=null,c=null,h=Number.MAX_VALUE,p=Number.MAX_VALUE,d,v,m,g={x:i,y:s},y,b,w,E,S=!1,x=!1,T=!0,N,C,k,L,A=JMP.ViewStatic.FUZZ_PIXELS,O=A*A;if(!t)return;u=t.tooltipLocations,a=t.xScaling,f=t.yScaling;if(u){E=u.length;for(w=0;w<E;w++)m=u[w],l=null,m.length===4?(d=[m[0],m[2]],v=[m[1],m[3]],y=JMP.ViewStatic.findShortestDistanceToLine(i,s,d,v,T),b=y.shortestSquaredLength,b<O&&(l={lines:[],distance:b,area:1},o&&JMP.ViewStatic.addTooltipLine(l,undefined,o),S=JMP.ViewStatic.areAllTheSame(v),x=JMP.ViewStatic.areAllTheSame(d),S?JMP.ViewStatic.addAxisValuesToTooltip(l,v[0],f):x&&JMP.ViewStatic.addAxisValuesToTooltip(l,d[0],a))):m.length===3&&(N=m[2],N>0?(b=Math.abs(JMP.ViewStatic.distanceFromCircle(g,{x:m[0],y:m[1]},N)),b<O&&(l={lines:[],distance:b,area:Math.PI*N*N},o&&JMP.ViewStatic.addTooltipLine(l,undefined,o),l.x=e.x+m[0]-N,l.y=e.y+m[1]-N)):(C=m[0]-i,k=m[1]-s,b=C*C+k*k,L=A-N,b<L*L&&(l={lines:[],distance:b,area:0},JMP.ViewStatic.addAxisValuesToTooltip(l,m[1],f),JMP.ViewStatic.addAxisValuesToTooltip(l,m[0],a),l.x=e.x+m[0],l.y=e.y+m[1]-4))),l&&JMP.ViewStatic.isTooltipCloser(p,h,l.area,l.distance)&&(p=l.area,h=l.distance,c=l)}return c},e.menuProvider=function(e){var t;return e.markerSizeAddend!==undefined&&(t=[{id:0,label:JMP.MarkerSegmentStatic.MENU_LARGER_MARKERS},{id:1,label:JMP.MarkerSegmentStatic.MENU_SMALLER_MARKERS}],e.minMarkerSize+e.markerSizeAddend===JMP.MarkerSegmentStatic.MAX_MARKER_SIZE?t[0].isDisabled=!0:e.maxMarkerSize+e.markerSizeAddend===JMP.MarkerSegmentStatic.MIN_MARKER_SIZE&&(t[1].isDisabled=!0)),t},e.menuHandler=function(e,t){var n=!1;if(e.markerSizeAddend!==undefined){switch(t){case 0:e.minMarkerSize+e.markerSizeAddend<JMP.MarkerSegmentStatic.MAX_MARKER_SIZE&&(e.markerSizeAddend++,n=!0);break;default:e.maxMarkerSize+e.markerSizeAddend>JMP.MarkerSegmentStatic.MIN_MARKER_SIZE&&(e.markerSizeAddend--,n=!0)}n&&e.sendEvent(JMP.SegmentStatic.EVENT_SEGMENT_CHANGED)}},e.hasMenu=function(e){return e.indexOf("JMP.MarkerSegmentStatic.drawMarker")>=0},e}(),JMP.ScriptSegment=function(e){"use strict";var t=JMP.Segment(e),n,r=function(){return n||(n={},JMP.ScriptSegmentStatic.getCache(t,n)),n};return t.script="",t.lineWidthScale=1,t.markerSizeAddend=undefined,t.minMarkerSize=undefined,t.maxMarkerSize=undefined,t.draw=function(){JMP.ScriptSegmentStatic.draw(t,r())},t.getTooltip=function(e,n){return JMP.ScriptSegmentStatic.getTooltip(t,r(),e,n)},t.menuProvider=function(){return JMP.ScriptSegmentStatic.menuProvider(t)},t.menuHandler=function(e){JMP.ScriptSegmentStatic.menuHandler(t,e)},t},JMP.ShapeSegmentStatic=function(){"use strict";var e={},t=JMP.ScalingStatic.valuesToPixel,n=JMP.ViewStatic.isBetween,r=JMP.ViewStatic.calculateYIntercept,i=["moveTo","moveTo","lineTo","lineTo"],s=1e-6,o=3,u=function(e,t,n,r){var i;return t?r?!r[e]:(i=n?n[e]:e,!t.hidden[i]):!0},a=function(e,t){var n,r=e.length;for(n=0;n<r;n++)if(e[n].y>=t)return e[n].n;return-1},f=function(e,t,i,o){var u=[],f=[],l=t.length,c,h,p,d,v,m,g,y,b,w,E,S=e-s,x=e+s;for(c=0;c<l;c++)p=t[c],d=i[c],h=(c+1)%l,v=t[h],m=i[h],n(e,p,v)&&u.push({y:r(e,p,d,v,m),n:h});u.sort(function(e,t){return e.y-t.y});for(c=0;c<u.length;c+=2)g=u[c].n,u[c].n=u[c+1].n,u[c+1].n=g;o.length=0,o.push({x:[],y:[]}),y=0;for(c=0;c<l;c++)p=t[c],d=i[c],h=(c+1)%l,v=t[h],m=i[h],o[y].x.push(p),o[y].y.push(d),n(e,p,v)&&(b=r(e,p,d,v,m),o[y].x.push(p<=e?S:x),o[y].y.push(b),w=a(u,b),f[y]=w,E=f.indexOf(h),E!==-1?y=E:(y=f.length,f.push(-1),o.push({x:[],y:[]})),o[y].x.push(v<=e?S:x),o[y].y.push(b))},l=function(e,t,n,r){var i=0,s=e,o,u=n[s],a=r[s],f,l;while(s<t)s++,o=s===t?e:s,f=n[o],l=r[o],i+=u*l-a*f,u=f,a=l;return i/2},c=function(e,t,n,r,i,s){var o=e,u,a=n[o],f=r[o],l,c,h,p=1/(6*i),d=0,v=0;while(o<t)o++,u=o===t?e:o,l=n[u],c=r[u],h=(a*c-f*l)*p,d+=(a+l)*h,v+=(f+c)*h,a=l,f=c;s.x=d,s.y=v},h=function(t,n,r,i,o,u,a){var l,c,h,p,d,v=[],m=[],g,y=[],b,w={};a.x.length=0,a.y.length=0,a.cmds.length=0,h=n;while(h<r){u[h]===e.POINT_TYPE_MOVE_TO&&(v.length=0,m.length=0),p=i[h],d=o[h],p===t&&(p-=s),v.push(p),m.push(d);if(u[h]===e.POINT_TYPE_MOVE_TO_CLOSE||u[h]===e.POINT_TYPE_LINE_TO_CLOSE){f(t,v,m,y),b=y.length;for(l=0;l<b;l++){w=y[l],g=w.x.length;if(g>1){a.x=a.x.concat(w.x),a.y=a.y.concat(w.y),a.cmds.push(e.POINT_TYPE_MOVE_TO),g--;for(c=1;c<g;c++)a.cmds.push(e.POINT_TYPE_LINE_TO);a.cmds.push(e.POINT_TYPE_LINE_TO_CLOSE)}}}h++}},p=function(e,n,r,i,s,o,u,a){var f,l,c,h={},p,d,v={},m=Infinity,g=Infinity,y=-Infinity,b=-Infinity;f=e;while(f<n)l=r[f],c=i[f],l!==null&&c!==null&&(s&&o?(h=t(s,o,l,c),p=h.x,d=h.y):(p=l,d=c),isFinite(p)&&isFinite(d)&&(m=Math.min(m,p),y=Math.max(y,p),g=Math.min(g,d),b=Math.max(b,d))),f++;v.x=m,v.w=y-m,v.y=g,v.h=b-g,u[a]=v},d=function(t){return t===e.POINT_TYPE_LINE_TO_CLOSE||t===e.POINT_TYPE_MOVE_TO_CLOSE},v=function(t){return t===e.POINT_TYPE_MOVE_TO||t===e.POINT_TYPE_MOVE_TO_CLOSE},m=function(e,t,n,r,i,s,o){var u=0,a,f,h,m,g=[],y,b,w={};f=e;while(f<t){v(i[f])&&(y=f);if(d(i[f])||v(i[f+1]))b=f+1,m=l(y,b,n,r),p(y,b,n,r,undefined,undefined,g,0),h===0?(a=g[0],w.x=a.x+a.w/2,w.y=a.y+a.h/2,u=1e-20):(h=Math.abs(m),h>u&&(a=g[0],c(y,b,n,r,m,w),u=h)),y=b;f++}u===0&&(a=s,w.x=a.x+a.w/2,w.y=a.y+a.h/2),o.x=w.x,o.y=w.y},g=function(e,n,r,i,s,o,u,a,f){var l=e.xValues,c=e.yValues,h=e.pointTypes,p=e.sizeFactors,d=e.sizeXOffsets,v=e.sizeYOffsets,g={},y,b,w,E,S=0,x=0,T,N,C,k={},L,A,O={},M=[],_=[],D=[],P,H=Infinity,B=Infinity,j=-Infinity,F=-Infinity;E=p?!0:!1,E&&(w=p[f]&&p[f]>0?Math.sqrt(p[f]):0,S=d[f],x=v[f]),m(n,r,l,c,h,o[f],g),g=t(i,s,g.x+S,g.y+x),y=g.x,b=g.y,P=0,T=n;while(T<r)N=l[T],C=c[T],N!==null&&C!==null&&(k=t(i,s,N+S,C+x),L=k.x,A=k.y,isFinite(L)&&isFinite(A)&&(E&&(L-=y,A-=b,L*=w,A*=w,L+=y,A+=b),H=Math.min(H,L),j=Math.max(j,L),B=Math.min(B,A),F=Math.max(F,A))),M[P]=L,_[P]=A,D[P]=h[T],P++,T++;u[f]={x:M,y:_,pointTypes:D,cx:y,cy:b},O.x=H,O.w=j-H,O.y=B,O.h=F-B,a[f]=O},y=function(e,n,r,i,s,o,u,a){var f,l,c,h={},p,d;if(!JMP.ViewStatic.rectanglesIntersect(e,a))return!1;f=n;while(f<r){l=i[f],c=s[f];if(l!==null&&c!==null){h=t(o,u,l,c),p=h.x,d=h.y;if(isFinite(p)&&isFinite(d)&&JMP.ViewStatic.pointInRect(h,e))return!0}f++}return h.x=e.x+e.w/2,h.y=e.y+e.h/2,JMP.ViewStatic.pointInRect(h,a)?!0:!1},b=function(e,t,n,r){var i=!1,s=!1,o=!1,u,a=t;while(a<n&&o===!1)u=r[a],u!==null&&(i=i||u<e,s=s||u>e,o=i&&s),a++;return o},w=function(e,n,r,s,o,u,a,f,l,c){var h,p,v,m,g={},y,b,w,E,S,x,T,N=JMP.ViewStatic.blend,C=n,k,L=function(e,n,r,i,s,o){var u=0,a=!1,f,l,c={},h={},p,d;c=t(e,n,r,i);while(!a)f=(r+s)/2,l=(i+o)/2,h=t(e,n,f,l),p=h.x-c.x,d=h.y-c.y,p*p+d*d<4?a=!0:(u++,s=f,o=l);return Math.pow(2,u)};e.beginPath();while(C<r){h=u[C],p=i[h];if(p==="lineTo"){w=v,S=m,E=s[C],x=o[C],k=L(a,f,w,S,E,x);for(T=0;T<k;T++)v=N(w,E,(T+1)/k),m=N(S,x,(T+1)/k),g=t(a,f,v,m),y=g.x,b=g.y,e.lineTo(y,b)}else v=s[C],m=o[C],v!==null&&m!==null&&(g=t(a,f,v,m),y=g.x,b=g.y,e[p](y,b));d(h)&&e.closePath(),C++}l&&e.fill(),c&&e.stroke()},E=function(e,t,n,r){var s=t.pointTypes,o=t.x,u=t.y,a,f=o.length,l,c;e.beginPath();for(a=0;a<f;a++)l=s[a],c=i[l],e[c](o[a],u[a]),d(l)&&e.closePath();n&&e.fill(),r&&e.stroke()},S=function(e,t,n){var r=e.g,i=e.showLabels,s=e.rowIndices,u,a,f,l,c,h,p,d,v,m,g,y,b,w;g=t.scaledPaths,y=t.rowStates,b=t.labelOffsets,w=t.labelValues,l=s?s[n]:n;if(!y||y.hidden[l]||!y.labeled[l]||!i[n])return;f=n,a=w&&f>=0?w[f]:null,u=a?a.length:0,h=Math.min(u,o),c="";for(l=0;l<h;l++)c+=a[l].join(", "),l<h-1&&(c+="; ");u>o&&(c+="; ..."),p=g[n].cx,d=g[n].cy,v=b[n]?b[n].x:0,m=b[n]?b[n].y:0,r.fillStyle=JMP.COLOR_BLACK,r.textAlign="center",JMP.TextBoxStatic.drawOffsetText(r,p,d,v,m,c,JMP.LARGE_FONT_SIZE,0,!0)},x=function(e,t,n,r,i,s){var o,u;return n<e&&i<e||r>t&&s>t||r<t&&s<t?0:r===s?0:(o=(r-t)/(r-s),u=n+o*(i-n),u<e?0:r>t?s<t?2:1:r<t?s>t?-2:-1:s>t?-1:s>t?1:0)},T=function(t,n,r){var i=0,s=r.x.length,o=r.x,u=r.y,a=r.pointTypes,f=s,l,c,h;for(l=0;l<s;l++){c=a[l],c===e.POINT_TYPE_MOVE_TO?f=l:i+=x(t,n,o[l-1],u[l-1],o[l],u[l]);if(c===e.POINT_TYPE_MOVE_TO_CLOSE||c===e.POINT_TYPE_LINE_TO_CLOSE)i+=x(t,n,o[l],u[l],o[f],u[f])}return(i&1)!==0?!0:(h=i/2>>0,(h&1)!==0)};return e.POINT_TYPE_MOVE_TO=0,e.POINT_TYPE_MOVE_TO_CLOSE=1,e.POINT_TYPE_LINE_TO=2,e.POINT_TYPE_LINE_TO_CLOSE=3,e.getCache=function(e,n){var r=e.xValues,i=e.yValues,s=e.pathLengths,o=e.sizeFactors,a=e.labelXPos,f=e.labelYPos,l=e.shapeTerm,c=e.rowIndices,h=e.colorData,d=e.sizeData,v=e.columns.getColumns(JMP.ColumnsStatic.ROLE_LABEL),m,y,b=0,w=0,E,S,x,T,N=JMP.ViewStatic.rgbToHexString,C,k,L=[],A=[],O=[],M=[],_,D,P,H,B,j=[],F=[],I=[],q,R,U,z=[],W=[],X;_=JMP.Scaling(e.scale[JMP.ColumnsStatic.ROLE_X],e.x+.5>>0,e.width-1),D=JMP.Scaling(e.scale[JMP.ColumnsStatic.ROLE_Y],e.y+e.height-.5>>0,1-e.height),P=JMP.ScaleStatic.isGeodesic(_.scale,D.scale),H=o&&o.length>0,k=s.length,e.groupCalculation&&(C=e.groupCalculation.getResult()[e.groupIndex]),B=e.columns.rowStates,l&&B&&(q=JMP.FrequencyStatic.getRows([l.column],[l.charLevels],B,C),JMP.ViewStatic.createLabels(k,v,q,j,F),q&&(R=[],U=[],JMP.ViewStatic.setSelectedAggregates(q,B,R),JMP.ViewStatic.setHiddenAggregates(q,B,U,!1)));for(m=0;m<k;m++)w+=s[m],L[m]=w,u(m,B,c,U)&&(p(b,w,r,i,_,D,A,m),g(e,b,w,_,D,A,O,M,m),a&&(a[m]||f[m])&&(E=t(_,D,a[m],f[m]),E.x-=O[m].cx,E.y-=O[m].cy,I[m]=E)),b=w;if(e.absentXValues){r=e.absentXValues,i=e.absentYValues,s=e.absentPathLengths,X=s.length,b=0,w=0;for(m=0;m<X;m++)w+=s[m],z[m]=w,p(b,w,r,i,_,D,W,m),b=w}if(B&&!e.fillColors){x=[],S=B.color,y=S.length;for(m=0;m<y;m++){T=S[m];if(T[0]!==0||T[1]!==0||T[2]!==0)x[m]=N(T)}e.fillColors=x}n.nPaths=k,n.offsets=L,n.bounds=A,n.scaledPaths=O,n.scaledBounds=M,n.absentOffsets=z,n.absentBounds=W,n.xScaling=_,n.yScaling=D,n.isGeodesic=P,n.isSized=H,n.rowStates=B,n.labeledColumnNames=j,n.labelValues=F,n.labelOffsets=I,n.aggregatedRowIndices=q,n.selectedAggregates=R,n.hiddenAggregates=U,n.colorData=h,n.sizeData=d},e.draw=function(e,t){var n=e.g,r=e.xValues,i=e.yValues,s=e.pointTypes,o=e.lineWidth,a=e.outlineColor,f=e.fillColors,l=e.rowIndices,c,p=0,d,v=a!==undefined,m=f!==undefined&&f.length>0,g,x,T,N={},C={x:[],y:[],cmds:[]},k,L,A,O,M,_,D,P,H,B,j,F,I,q,R,U,z,W,X;if(!t)return;M=t.nPaths,_=t.offsets,D=t.bounds,P=t.scaledPaths,H=t.scaledBounds,B=t.xScaling,j=t.yScaling,F=t.isGeodesic,I=t.isSized,q=t.rowStates,R=t.aggregatedRowIndices,U=t.selectedAggregates,z=t.hiddenAggregates,JMP.ViewStatic.reset(n),v&&(n.strokeStyle=a,o===undefined&&(o=1),n.lineWidth=o,n.lineJoin="bevel"),N.x=B.pixelOrigin,N.w=B.pixelRange,N.y=j.pixelOrigin+j.pixelRange,N.h=-j.pixelRange,F&&(k=JMP.ViewStatic.toLon180(B.valueOrigin+B.getValueRange()/2+180)),q&&(L=q.selectedIndices,A=q.nSelectedIndices,R&&JMP.ViewStatic.setSelectedAggregates(R,q,U));for(c=0;c<M;c++)d=_[c],u(c,q,l,z)&&y(N,p,d,r,i,B,j,D[c])&&(q&&(O=R?U[c]:L.lastIndexOf(c,A-1)>=0),g=f!==undefined?f[c]:undefined,m&&g?n.fillStyle=O?JMP.ViewStatic.darkenColor(g,.5):g:O&&(g=JMP.COLOR_BLACK,n.fillStyle=JMP.COLOR_BLACK),W=!I&&(m||O)&&g,X=v&&(!I||m||!q),F&&b(k,p,d,r)?(h(k,p,d,r,i,s,C),w(n,0,C.x.length,C.x,C.y,C.cmds,B,j,W,X)):w(n,p,d,r,i,s,B,j,W,X)),p=d;if(I){p=0;for(c=0;c<M;c++)d=_[c],u(c,q,l,z)&&y(N,p,d,r,i,B,j,H[c])&&(q&&(O=R?U[c]:L.lastIndexOf(c,A-1)>=0),g=f!==undefined?f[c]:undefined,m&&g?n.fillStyle=O?JMP.ViewStatic.darkenColor(g,.5):g:O&&(g=JMP.COLOR_BLACK,n.fillStyle=JMP.COLOR_BLACK),E(n,P[c],m||O,!m&&v)),p=d}if(e.absentXValues){r=e.absentXValues,i=e.absentYValues,s=e.absentPointTypes,x=e.absentFillColor,_=t.absentOffsets,D=t.absentBounds,p=0,T=_.length;for(c=0;c<T;c++)d=_[c],y(N,p,d,r,i,B,j,D[c])&&(x&&(n.fillStyle=x),F&&b(k,p,d,r)?(h(k,p,d,r,i,s,C),w(n,0,C.x.length,C.x,C.y,C.cmds,B,j,x,v)):w(n,p,d,r,i,s,B,j,x,v)),p=d}for(c=0;c<M;c++)S(e,t,c)},e.select=function(e,t,n,r){var i=e.xValues,s=e.yValues,o=e.rowIndices,a=[],f,l=0,c,h,p=n.w||n.h,d=!1,v=!1,m,g,b,w,E,S,x,N,C,k,L;if(!t||!t.rowStates)return;m=t.nPaths,g=t.offsets,b=t.bounds,w=t.scaledPaths,E=t.scaledBounds,S=t.xScaling,x=t.yScaling,N=t.rowStates,C=t.aggregatedRowIndices,k=t.selectedAggregates,L=t.hiddenAggregates,h=N.selected,C&&r===JMP.ViewStatic.SELECT_ONLY&&(k.length=0);for(f=0;f<m&&!d;f++)c=g[f],u(f,N,o,L)&&(p?y(n,l,c,i,s,S,x,b[f])&&(C?a=a.concat(C[f]):a.push(f)):JMP.ViewStatic.pointInRect({x:n.x,y:n.y},E[f])&&T(n.x,n.y,w[f])&&(C?(a=a.concat(C[f]),v=k[f]):(a.push(f),v=h[f]),d=!0));if(a.length===0)switch(r){case JMP.ViewStatic.SELECT_ONLY:case JMP.ViewStatic.SELECT_TOGGLE:N.selectAll(!1);break;default:}else if(a.length>0)switch(r){case JMP.ViewStatic.SELECT_ONLY:N.selectOnly(a,!0);break;case JMP.ViewStatic.SELECT_EXTEND:N.select(a,!0);break;case JMP.ViewStatic.SELECT_REDUCE:N.select(a,!1);break;default:N.select(a,!v)}C&&JMP.ViewStatic.setSelectedAggregates(C,N,k)},e.getTooltip=function(e,t,n,r){var i=e.rowIndices,s=e.columns.getColumn(JMP.ColumnsStatic.ROLE_COLOR),o=e.columns.getColumn(JMP.ColumnsStatic.ROLE_SIZE),a=e.statistic,f,l,c,h,p,d=Number.MAX_VALUE,v,m,g={lines:[],distance:0,area:0},y,b,w,E,S,x,N,C,k,L;if(!t||!t.rowStates)return null;y=t.nPaths,b=t.scaledPaths,w=t.scaledBounds,E=t.rowStates,S=t.aggregatedRowIndices,x=t.hiddenAggregates,N=t.labeledColumnNames,C=t.labelValues,k=t.colorData,L=t.sizeData;for(f=0;f<y;f++)u(f,E,i,x)&&JMP.ViewStatic.pointInRect({x:n,y:r},w[f])&&T(n,r,b[f])&&(c=b[f].cx-n,h=b[f].cy-r,p=c*c+h*h,p<d&&(d=p,l=f));return d===Number.MAX_VALUE?null:(v=C?C[l]:null,v&&N&&JMP.ViewStatic.addLabeledColumnsToTooltip(v,N,g),k&&(m=JMP.ViewStatic.getLabel(s,a),JMP.ViewStatic.addTooltipLine(g,m,e.colorTerm.getValueString(k[l]))),L&&(m=JMP.ViewStatic.getLabel(o,a),JMP.ViewStatic.addTooltipLine(g,m,e.sizeTerm.getValueString(L[l]))),S&&JMP.ViewStatic.addTooltipLine(g,JMP.ViewStatic.TIP_ROWS,S[l].length),e.tipImages&&e.tipImages.data[l]&&(g.imageSrc=e.tipImages.data[l]),g.x=n+3,g.y=r-3,g)},e}(),JMP.ShapeSegment=function(e){"use strict";var t=JMP.Segment(e),n,r=function(){return!n&&t.pathLengths&&t.scale[JMP.ColumnsStatic.ROLE_X]&&t.scale[JMP.ColumnsStatic.ROLE_Y]&&(n={},JMP.ShapeSegmentStatic.getCache(t,n)),n};return t.rowIndices=undefined,t.fillColors=undefined,t.absentFillColor=undefined,t.outlineColor=undefined,t.lineWidth=1,t.pathLengths=undefined,t.xValues=undefined,t.yValues=undefined,t.pointTypes=undefined,t.absentPathLengths=undefined,t.absentXValues=undefined,t.absentYValues=undefined,t.absentPointTypes=undefined,t.labeledColumnNames=undefined,t.labelValues=undefined,t.tipImages=undefined,t.showLabels=undefined,t.labelXPos=undefined,t.labelYPos=undefined,t.sizeFactors=undefined,t.sizeXOffsets=undefined,t.sizeYOffsets=undefined,t.sizeData=undefined,t.colorData=undefined,t.draw=function(){JMP.ShapeSegmentStatic.draw(t,r())},t.select=function(e,n){JMP.ShapeSegmentStatic.select(t,r(),e,n)},t.getTooltip=function(e,n){return JMP.ShapeSegmentStatic.getTooltip(t,r(),e,n)},t},JMP.SpacerBoxStatic=function(){"use strict";var e={};return e.draw=function(e){var t=e.g;e.fillColor!==undefined&&(t.fillStyle=e.fillColor,t.fillRect(e.x,e.y,e.width,e.height))},e}(),JMP.SpacerBox=function(e){"use strict";var t=JMP.Segment(e);return t.fillColor=undefined,t.draw=function(){JMP.SpacerBoxStatic.draw(t)},t},JMP.TableBoxStatic=function(){"use strict";var e={},t=2,n=14,r=function(e,t,n,r,i,s){var o,u,a={lines:[]};return o=n,o<e&&(o=e),o>e+t&&(o=e+t),JMP.ViewStatic.addTooltipLine(a,JMP.ViewStatic.TIP_VALUE,JMP.ViewStatic.formatValueFixedBest(n)),r!==undefined&&(u=r,u<e&&(u=e),u>e+t&&(u=e+t),u!==o&&JMP.ViewStatic.addTooltipLine(a,JMP.TableBoxStatic.TIP_CUMULATIVE_VALUE,JMP.ViewStatic.formatValueFixedBest(r))),i!==undefined&&JMP.ViewStatic.addTooltipLine(a,i!==s?JMP.ViewStatic.TIP_UPPER_BOUND:JMP.TableBoxStatic.TIP_REFERENCE_VALUE,i),s!==undefined&&s!==i&&JMP.ViewStatic.addTooltipLine(a,JMP.ViewStatic.TIP_LOWER_BOUND,s),a.lines};return e.TIP_CUMULATIVE_VALUE="Cumulative value",e.TIP_REFERENCE_VALUE="Reference value",e.hasType=function(e,t){var n,r,i=e.length,s,o,u=!1;for(n=0;n<i&&!u;n++){s=e[n].length;for(r=0;r<s&&!u;r++)o=e[n][r],o&&o.type===t&&(u=!0)}return u},e.getCache=function(e,r){var i=e.g,s={x:e.x,y:e.y,w:e.width,h:e.height},o=e.cells,u=e.colSpan,a,f,l,c=0,h=o.length,p=!1,d=JMP.LARGE_FONT_SIZE,v=0,m,g,y=1,b,w,E,S;JMP.ViewStatic.reset(i),w=[];for(a=0;a<h;a++){m=o[a].length,v<m&&(v=m);for(f=0;f<m;f++){l=0,g=o[a][f];if(g)switch(g.type){case"LegendCell":l=g.width,l===-1&&(l=n+t,c=g.size*3+2),p=p||g.showMarker,p&&d<c&&(d=c);break;case"BarBox":l=g.width;break;case"TextBox":l=g.width,d<g.height&&(d=g.height);break;default:l=i.measureText(g.text).width+t}u&&u[a]&&(y=u[a][f]),y===1&&(w[f]===undefined||w[f]<l)&&(w[f]=l)}}E=0;for(f=0;f<v;f++)w[f]+=t,E+=w[f];S=s.w||E;if(S<E)for(f=0;f<v;f++)w[f]*=S/E;b=[S<=E?s.x:s.x+(S-E)/2+t];for(f=1;f<=v;f++)b[f]=w[f-1]+b[f-1];r.xCol=b,r.rowHeight=d},e.draw=function(r,i){var s=r.g,o={x:r.x,y:r.y,w:r.width,h:r.height},u=r.cells,a,f,l,c,h,p,d,v,m,g,y,b,w,E,S,x=u.length,T=0,N=1,C,k,L=[],A,O,M=e.hasType(u,"LegendCell"),_=i.xCol,D=i.rowHeight;s.textBaseline="middle",T=o.y+o.h/2+(1-x)/2*D;for(a=0;a<x;a++){C=u[a].length;for(f=0;f<C;f++){k=u[a][f];if(k)switch(k.type){case"LegendCell":k.width!==-1&&(s.fillStyle=k.color,k.showFill?s.fillRect(_[f]+.5>>0,T-D/2+.5>>0,D,D):s.fillRect(_[f],T-2>>0,_[f+1]-_[f]-4,2)),k.showMarker&&JMP.MarkerSegmentStatic.drawMarker(s,_[f]+2*t+(_[f+1]-_[f]-n)/2,T-1>>0,k.size,k.shape,k.color);break;case"BarBox":m=k.origin,g=k.range,y=k.width/g,v=k.value,E=k.cumulativeValue,w=v,w<m&&(w=m),w>m+g&&(w=m+g),b=y*(m>=0?w-m:v>=0?w:-w),s.fillStyle=JMP.COLOR_BAR,s.strokeStyle=JMP.COLOR_LINE,s.lineWidth=1,s.beginPath(),h=(_[f]>>0)+.5,p=(T-D/2>>0)+.5,d=(D>>0)-t,s.rect(h,p,b>>0,d),s.fill(),E!==undefined&&(S=E,S<m&&(S=m),S>m+g&&(S=m+g),S!==w&&(h+=y*(S-m)>>0,s.moveTo(h,p),s.lineTo(h,p+d))),s.stroke();break;case"TextBox":JMP.TextBoxStatic.draw(s,{x:(_[f]>>0)+.5,y:(T-D/2>>0)+.5,w:k.width,h:k.height},k.text,k.orientation,k.color,k.isBulleted);break;default:s.fillStyle=JMP.COLOR_BLACK;if(a===0&&M){L=JMP.ViewStatic.wrap(s,C===1?o.w-2*(_[f]-o.x):_[f+1]-_[f],[k.text]),c=L.length;for(l=0;l<c;l++)s.fillText(L[l],_[f],T+D*(l-(c-1)/2));N<c&&(N=c)}else A="",k.style&&(A=k.style),O=k.text,A.indexOf("left")>=0?h=_[f]:A.indexOf("center")>=0?h=_[f]+(_[f+1]-_[f]-s.measureText(O).width)/2:h=_[f+1]-s.measureText(O).width-2*t,s.fillText(O,h,T)}}T+=D,N>1&&(T+=D*(N-1)/2,N=1)}},e.onPointerEvent=function(e,t,n){var i,s,o,u,a,f=e.cells,l=f.length,c,h,p,d,v=t.xCol,m=t.rowHeight;e.offset||(e.offset=JMP.SegmentStatic.updateOffset(e.canvas)),p=n.clientX+window.pageXOffset-e.offset.x,d=n.clientY+window.pageYOffset-e.offset.y,o=e.y+e.height/2+(1-l)/2*m,a=(o-m/2>>0)+.5,i=(d-a)/m>>0,h=undefined,c=0<=i&&i<l?f[i].length:0;for(s=0;s<c&&!h;s++)f[i][s]&&f[i][s].type==="BarBox"&&v[s]<=p&&p<=v[s+1]&&(h=f[i][s],u=v[s],a=o-m/2+i*m-2);if(h)switch(n.type){case"pointerdown":case"pointermove":case"pointerover":JMP.ViewStatic.updateTooltip(n,{lines:r(h.origin,h.range,h.value,h.cumulativeValue),x:u,y:a});break;default:}else e.x<=p&&p<e.x+e.width&&e.y<=d&&d<e.y+e.height&&JMP.ViewStatic.updateTooltip();return!1},e.onPointerEventTable=function(e,t){var n=e.pointerTarget;return n||(n=e.target),JMP.ViewStatic.getTooltip(n)===undefined&&JMP.ViewStatic.setTooltip(n,r(t.origin,t.range,t.value,t.cumulativeValue,t.upper,t.lower).join("|")),JMP.ViewStatic.tooltipListener(e),!1},e}(),JMP.TableBox=function(e){"use strict";var t=JMP.Segment(e),n,r=function(){return n||(n={},JMP.TableBoxStatic.getCache(t,n),JMP.TableBoxStatic.hasType(t.cells,"BarBox")&&JMP.EventFacadeStatic.addEventListener(e,t.onPointerEvent)),n};return t.cells=[],t.colSpan=[],t.rowSpan=[],t.draw=function(){n=undefined,JMP.TableBoxStatic.draw(t,r())},t.onPointerEvent=function(e){return JMP.TableBoxStatic.onPointerEvent(t,r(),e)},t},JMP.DialogStatic=function(){"use strict";var e={};return e.TIP_CLOSE="Close message",e.BUTTON_CLOSE="Close",e.initializeControls=function(e){var t;e.setAttribute("role","dialog"),t=document.createElement("DIV"),t.id="dialogContent",e.appendChild(t),t=document.createElement("DIV"),t.id="dialogButtonBar",e.appendChild(t)},e.validateField=function(e){var t=!0,n=document.getElementById(e.id+"_Error"),r=/^\d+$/,i=/^\d*\.?\d*$/;return e.willValidate&&(e.checkValidity(),t=e.validity.valid,t&&e.tagName==="INPUT"&&e.getAttribute("type")==="number"&&(e.hasAttribute("step")?t=i.test(e.value):t=r.test(e.value)),t?(e.className="dialogInput",e.parentNode.parentNode.className="",n&&(n.className="concealed",n.parentNode.className="")):(e.className="dialogInputError",e.parentNode.parentNode.className="dialogInputErrorCell",n&&(n.className="dialogInputErrorText revealed",n.parentNode.className="dialogInputErrorCell"))),t},e.createField=function(e,t,n,r,i,s,o,u,a,f,l){var c,h,p,d,v,m=20;return c=document.createElement("TR"),h=document.createElement("TD"),d=document.createElement("LABEL"),d.innerHTML=r+(i==="checkbox"?"":JMP.ViewStatic.COLON),d.setAttribute("for",n),h.appendChild(d),p=document.createElement("TD"),i?(v=document.createElement("INPUT"),v.setAttribute("type",i),i==="number"?(a!==undefined&&(v.setAttribute("min",a.toString()),v.style.width=a.toFixed(l).length*JMP.ViewStatic.getApproximateWidth("0")+m+"px"),f!==undefined&&(v.setAttribute("max",f.toString()),v.style.width=f.toFixed(l).length*JMP.ViewStatic.getApproximateWidth("0")+m+"px"),v.setAttribute("required","true"),v.value=s,v.defaultValue=s):(v.checked=s,v.defaultChecked=s,v.style.cssFloat="right",v.style.padding="0px"),v.id=n):(v=document.createElement("SELECT"),v.id=n,v.setAttribute("required","true")),v.className="dialogInput",v.setAttribute("tabindex",t),v.onblur=o,v.onkeyup=o,v.onclick=o,p.appendChild(v),i==="checkbox"?(p.className="dialogContentLeft",h.className="dialogContentRight",c.appendChild(p),c.appendChild(h)):(h.className="dialogContentLeft",p.className="dialogContentRight",c.appendChild(h),c.appendChild(p)),e.appendChild(c),u&&(c=document.createElement("TR"),h=document.createElement("TD"),c.appendChild(h),h=document.createElement("TD"),h.id=n+"_Error",h.appendChild(document.createTextNode(u)),h.className="concealed",c.appendChild(h),e.appendChild(c)),v},e.getSelectedRadioValue=function(e){var t,n=document.getElementsByName(e);for(t=0;t<n.length;t++)if(n[t].checked)return n[t].value;return null},e.createRadioButtonGroup=function(e,t,n,r,i,s,o,u){var a,f,l,c,h,p,d,v=s.length;for(d=0;d<v;d++)a=document.createElement("TR"),f=document.createElement("TD"),f.className="dialogContentLeft",f.style.cssFloat="right",d===0&&f.appendChild(document.createTextNode(i+JMP.ViewStatic.COLON)),a.appendChild(f),l=document.createElement("TD"),l.className="dialogContentRight",h=document.createElement("INPUT"),h.setAttribute("type","radio"),h.className="dialogInput",h.id=n+"_"+d,h.name=r,h.style.padding="0px",h.value=s[d],s[d]===o&&(h.checked=!0,h.defaultChecked=!0,p=h),h.onclick=u,h.setAttribute("tabindex",t),t++,l.appendChild(h),c=document.createElement("LABEL"),c.innerHTML=s[d],c.setAttribute("for",n),c.style.paddingLeft="5px",l.appendChild(c),a.appendChild(l),e.appendChild(a);return p},e.onKey=function(e){var t,n,r=document.activeElement,i,s=[],o,u=null,a=null,f=!1;if(e.keyCode===9){if(r){i=r;while(i&&!f)f=i.id==="dialog",f||(i=i.parentNode)}o=document.querySelectorAll(".dialogInput, .dialogInputError, .dialogButton");for(t=0;t<o.length;t++)o[t].hasAttribute("tabindex")&&!o[t].hasAttribute("disabled")&&(s.push(o[t]),u||(u=s[s.length-1]),a=s[s.length-1]);i?r===a&&!e.shiftKey?(u.focus(),e.preventDefault()):r===u&&e.shiftKey?(a.focus(),e.preventDefault()):(n=s.indexOf(r),n>=0&&(s[n+(e.shiftKey?-1:1)].focus(),e.preventDefault())):(u.focus(),e.preventDefault())}else e.keyCode===27&&JMP.DialogStatic.onCancel(e)},e.createButton=function(e,t,n){var r=document.createElement("BUTTON");return r.id=t,r.className="dialogButton buttonUp",r.innerHTML=n,e.appendChild(r),r},e.onShow=function(t,n,r){var i=document.getElementById("dialogOverlay"),s=document.getElementById("dialog"),o,u,a=10,f=t.pointerTarget,l={x:0,y:0};f||(f=t.target);if(t.type==="click"||t.type==="pointerup"||t.type==="keydown"&&t.keyCode===13){while(s.firstChild)s.removeChild(s.firstChild);e.initializeControls(s,""),i.className=i.className.replace("concealed","revealed"),s.className=s.className.replace("concealed","revealed"),document.body.setAttribute("aria-hidden","true"),s.setAttribute("aria-hidden","false"),r(n),o=s.clientWidth>0?s.clientWidth:200,u=s.clientHeight>0?s.clientHeight:20+JMP.LARGE_FONT_SIZE*1.4,f?(JMP.ViewStatic.getPosition(f,l),l.y+=f.clientHeight+2,l.x-=window.pageXOffset,l.y-=window.pageYOffset,l.x=Math.max(a,Math.min(l.x,window.innerWidth-o-a)),l.y=Math.max(a,Math.min(l.y,window.innerHeight-u-2*a))):(l.x=20,l.y=60),s.style.left=window.pageXOffset+l.x+"px",s.style.top=window.pageYOffset+l.y+"px",JMP.EventFacadeStatic.isIOS()||document.querySelectorAll(".dialogInput, .dialogInputError, .dialogButton")[0].focus()}},e.onCancel=function(e){var t=document.getElementById("dialog"),n=document.getElementById("dialogOverlay"),r=e.pointerTarget;r||(r=e.target);if(e.type==="pointerdown")r.className="dialogButton buttonDown";else if(e.type==="pointerout")r.className="dialogButton buttonUp";else if(e.type==="click"||e.type==="pointerup"||e.type==="keydown"&&(e.keyCode===13||e.keyCode===27))r.className==="dialogButton buttonDown"&&(r.className="dialogButton buttonUp"),t.className=t.className.replace("revealed","concealed"),n.className=n.className.replace("revealed","concealed"),document.body.setAttribute("aria-hidden","false"),t.setAttribute("aria-hidden","true")},e.showMessage=function(t,n){e.onShow({pointerTarget:t,type:"click"},n,function(t){var n;document.getElementById("dialogContent").innerHTML=t,n=e.createButton(document.getElementById("dialogButtonBar"),"dialogCloseButton",e.BUTTON_CLOSE),n.setAttribute("tabindex",1),JMP.ViewStatic.setTooltip(n,e.TIP_CLOSE),JMP.EventFacadeStatic.addEventListener(n,e.onCancel)}),document.getElementById("dialogCloseButton").focus(),JMP.ViewStatic.updateTooltip()},e}(),JMP.ControlStatic=function(){"use strict";var e={},t,n,r,i=4;return e.TIP_DISABLED_CONTROL="Disabled control",e.segments=[],e.invalidateOffsets=function(){var e,t=JMP.ControlStatic.segments.length;for(e=0;e<t;e++)JMP.ControlStatic.segments[e].offset=null},e.onPointerEvent=function(s){var o=JMP.MenuStatic.button,u=document.getElementById("menu0"),a=document.getElementById("menu1"),f=document.getElementById("dialog"),l,c,h,p,d,v,m,g=!1,y,b,w,E,S={},x,T=s.clientX+window.pageXOffset,N=s.clientY+window.pageYOffset,C={x:T,y:N},k=e.segments.length,L,A=!0;if(s.type==="pointerdown")t=s.clientX,n=s.clientY,r=s.identifier;else{if(!(s.type==="pointerup"&&s.identifier===r&&Math.abs(s.clientX-t)<=i&&Math.abs(s.clientY-n)<=i)){f.className==="revealed"&&s.type==="keydown"&&JMP.DialogStatic.onKey(s);return}A=!1}L=s.pointerTarget;while(L&&L!==document.body)C.x+=L.scrollLeft||0,C.y+=L.scrollTop||0,L=L.parentNode;c=null,h=null,p=null,d=null,v=null;for(l=s.pointerTarget
;l;l=l.parentNode)switch(l.nodeName){case"TD":case"TH":h=l;break;case"CANVAS":d=l;break;default:JMP.ViewStatic.isControl(l)?(c=l,g=l.disabled):l.nodeName==="IMG"&&(p=l),JMP.ViewStatic.isPinnedTip(l)&&(m=l);if(l===u||l===a)v=l}if(A)v||(o&&o!==c&&(o.className=o.className.replace("buttonDown","buttonUp")),u.className=u.className.replace("revealed","concealed"),a.className=a.className.replace("revealed","concealed")),(c&&!g||!c&&!h&&!p&&!d)&&JMP.ViewStatic.updateTooltip();else if(!c&&!v&&!m){b=!1;if(d)for(w=0;w<k;w++)y=!1,E=e.segments[w],E.offset&&E.canvas===d&&(S.x=E.offset.x+E.x,S.y=E.offset.y+E.y,S.w=E.width,S.h=E.height,y=JMP.ViewStatic.pointInRect(C,S)),y?b=!0:E.brush&&E.select();if(!b)for(w=0;w<k;w++)E=e.segments[w],E.columns&&(x=E.columns.rowStates,x&&x.nSelectedIndices>0&&(x.nSelectedIndices=0,x.sendEvent(JMP.RowStatesStatic.EVENT_SELECTED)));window.getSelection().removeAllRanges()}},e.isButtonActionEvent=function(e){var t=e.type==="click"||e.type==="pointerup"||e.type==="keydown"&&e.keyCode===13;return t},e}(),JMP.FormatDialogStatic=function(){"use strict";var e={},t=1,n="inputMonth",r="inputDay",i="inputYear",s="inputDegrees",o="inputIsNegative",u="inputHours",a="inputMinutes",f="inputSeconds",l="inputAMPM",c="amPMRadio",h="inputDirection",p="directionRadio",d=function(){var e,t,n=!0,r=!1,i=document.getElementById("dialogContent").firstChild,s,o;for(e=0;e<i.elements.length;e++)t=i.elements[e],JMP.DialogStatic.validateField(t)||(n=!1),t.tagName==="INPUT"?t.getAttribute("type")==="checkbox"||t.getAttribute("type")==="radio"?t.checked!==t.defaultChecked&&(r=!0):+t.value!==+t.defaultValue&&(r=!0):t.tagName==="SELECT"&&(t.options[t.selectedIndex].defaultSelected||(r=!0));return s=!n||!r,o=document.getElementById("formatDialogApplyButton"),s?o.className=o.className.replace(" elementEventHandler"," parentEventHandler"):o.className=o.className.replace(" parentEventHandler"," elementEventHandler"),document.getElementById("formatDialogApplyButton").disabled=s,n},v=function(){var e,t,s,o,u,a=document.getElementById(r);if(a){s=+document.getElementById(n).value-1,o=+document.getElementById(i).value,u=JMP.FormatStatic.daysInMonth(s,o),t=a.options.length;if(t>u){do a.remove(t-1),t=a.options.length;while(t>u)}else for(e=t;e<u;e++)a.add(new Option(e+1,e+1))}d()},m=function(m){var g=document.getElementById("dialogContent"),y=m.value<0&&(m.isDuration||m.hasDegrees),b=m.use24HourClock||m.isDuration,w,E,S,x,T,N,C,k,L,A,O,M,_,D,P=0,H,B,j,F=1440,I=8736;t=1,L=document.createElement("FORM"),k=document.createElement("TABLE"),y&&(m.value=-m.value),m.isDuration?(E=JMP.DialogStatic.createField(k,t++,o,e.NEGATIVE_DURATION_LABEL,"checkbox",y,d),E.onchange=d,w=JMP.FormatStatic.valueToDuration(m.value,m.hasDay,m.hasHours)):m.hasDegrees?(w=JMP.FormatStatic.valueToGeographic(m.value,m.hasMinutes,m.hasSeconds),M=1/Math.pow(10,m.nDecimals)):w=JMP.FormatStatic.valueToDateTime(m.value);if(m.hasMonth){E=JMP.DialogStatic.createField(k,t++,n,e.MONTH_LABEL);for(N=0;N<12;N++)O=new Option(JMP.FormatStatic.MONTH_NAMES_LONG[N],N+1),E.add(O),N===w.month&&O.setAttribute("selected","selected");E.onchange=v}if(m.hasDay)if(m.isDuration)E=JMP.DialogStatic.createField(k,t++,r,e.DAYS_LABEL,"number",w.day,d,e.ERROR_DAYS_DURATION_FORMAT,0,365e4,0);else{E=JMP.DialogStatic.createField(k,t++,r,e.DAY_LABEL),C=JMP.FormatStatic.daysInMonth(w.month,w.year);for(N=1;N<=C;N++)O=new Option(N,N),E.add(O),N===w.day&&O.setAttribute("selected","selected");E.onchange=v}m.hasYear&&(E=JMP.DialogStatic.createField(k,t++,i,e.YEAR_LABEL,"number",w.year,d,e.ERROR_YEAR_FORMAT,0,9999),E.onchange=v);if(m.hasHours){if(m.isDuration&&!m.hasDay)E=JMP.DialogStatic.createField(k,t++,u,e.HOURS_LABEL,"number",w.hours,d,e.ERROR_HOURS_DURATION_FORMAT,0,I,0),E.removeAttribute("max");else{S=w.hours,b||(S%=12,S===0&&(S=12)),N=b?0:1,C=b?23:12,E=JMP.DialogStatic.createField(k,t++,u,m.isDuration?e.HOURS_LABEL:e.HOUR_LABEL);while(N<=C)O=new Option(N,N),E.add(O),N===S&&O.setAttribute("selected","selected"),N++}E.onchange=d}m.hasDegrees&&(T=m.hasMinutes?w.degree:w.degree.toFixed(m.nDecimals),m.isLatitude?E=JMP.DialogStatic.createField(k,t++,s,e.DEGREE_LABEL,"number",T,d,e.ERROR_DEGREES_GEOGRAPHIC_FORMAT.replace("^MAX","90"),0,90,m.nDecimals):E=JMP.DialogStatic.createField(k,t++,s,e.DEGREE_LABEL,"number",T,d,e.ERROR_DEGREES_GEOGRAPHIC_FORMAT.replace("^MAX","180"),0,180,m.nDecimals),m.hasMinutes||E.setAttribute("step",M),E.onchange=d),m.hasMinutes&&(m.isDuration&&!m.hasDay&&!m.hasHours?(E=JMP.DialogStatic.createField(k,t++,a,e.MINUTES_LABEL,"number",w.minutes,d,e.ERROR_MINUTES_DURATION_FORMAT,0,F,0),E.removeAttribute("max")):m.hasDegrees&&!m.hasSeconds?(E=JMP.DialogStatic.createField(k,t++,a,e.MINUTES_LABEL,"number",w.minutes.toFixed(m.nDecimals),d,e.ERROR_GEOGRAPHIC_FORMAT.replace("^FIELD",e.MINUTES_LABEL),0,60-M,m.nDecimals),E.setAttribute("step",M)):E=JMP.DialogStatic.createField(k,t++,a,m.isDuration?e.MINUTES_LABEL:e.MINUTE_LABEL,"number",w.minutes,d,e.ERROR_MINUTE_FORMAT,0,59,m.hasDegrees?m.nDecimals:0),E.onchange=d),m.hasSeconds&&(m.hasDegrees?(E=JMP.DialogStatic.createField(k,t++,f,e.SECONDS_LABEL,"number",w.seconds.toFixed(m.nDecimals),d,e.ERROR_GEOGRAPHIC_FORMAT.replace("^FIELD",e.SECONDS_LABEL),0,60-M,m.nDecimals),E.setAttribute("step",M)):E=JMP.DialogStatic.createField(k,t++,f,m.isDuration?e.SECONDS_LABEL:e.SECOND_LABEL,"number",w.seconds>>0,d,e.ERROR_SECOND_FORMAT,0,59),E.onchange=d),m.hasHours&&!b&&(A=w.hours<12,JMP.DialogStatic.createRadioButtonGroup(k,t,l,c,e.AM_PM_LABEL,[m.AMDesignator,m.PMDesignator],A?m.AMDesignator:m.PMDesignator,d),t+=2),m.hasDegrees&&(_=m.isLatitude?e.GEOGRAPHIC_DIRECTION_NAMES[0]:e.GEOGRAPHIC_DIRECTION_NAMES[2],D=m.isLatitude?e.GEOGRAPHIC_DIRECTION_NAMES[1]:e.GEOGRAPHIC_DIRECTION_NAMES[3],JMP.DialogStatic.createRadioButtonGroup(k,t,h,p,e.DIRECTION_LABEL,[_,D],y?D:_,d),t+=2),L.appendChild(k),g.appendChild(L);for(N=0;N<L.elements.length;N++)L.elements[N].getAttribute("type")!=="radio"&&L.elements[N].getAttribute("type")!=="checkbox"&&L.elements[N].offsetWidth>P&&(P=L.elements[N].offsetWidth);for(N=0;N<L.elements.length;N++)L.elements[N].getAttribute("type")!=="radio"&&L.elements[N].getAttribute("type")!=="checkbox"&&(L.elements[N].style.width=P+"px");H=document.getElementById("dialogButtonBar"),H.className=H.className+" layoutTable dialogButtonTable",B=document.createElement("DIV"),B.className="layoutRow",H.appendChild(B),j=document.createElement("DIV"),j.className="layoutCell",B.appendChild(j),x=JMP.DialogStatic.createButton(j,"formatDialogCancelButton",e.BUTTON_CANCEL),x.setAttribute("tabindex",t),JMP.ViewStatic.setTooltip(x,e.TIP_CANCEL),JMP.EventFacadeStatic.addEventListener(x,JMP.DialogStatic.onCancel),t++,j=document.createElement("DIV"),j.className="layoutCell",B.appendChild(j),x=JMP.DialogStatic.createButton(j,"formatDialogApplyButton",e.BUTTON_APPLY),x.setAttribute("tabindex",t),x.setAttribute("disabled","true"),x.className=x.className+" parentEventHandler",JMP.ViewStatic.setTooltip(x,e.TIP_APPLY),JMP.ViewStatic.setTooltip(j,e.TIP_APPLY),H.style.textAlign="center"};return e.BUTTON_APPLY="Apply",e.TIP_APPLY="Apply these values and return",e.BUTTON_CANCEL="Cancel",e.TIP_CANCEL="Do nothing and return",e.NEGATIVE_DURATION_LABEL="Duration is negative",e.MONTH_LABEL="Month",e.DAY_LABEL="Day",e.HOUR_LABEL="Hour",e.MINUTE_LABEL="Minute",e.SECOND_LABEL="Second",e.YEAR_LABEL="Year",e.DEGREE_LABEL="Degree",e.DAYS_LABEL="Days",e.HOURS_LABEL="Hours",e.MINUTES_LABEL="Minutes",e.SECONDS_LABEL="Seconds",e.AM_PM_LABEL="AM / PM",e.DIRECTION_LABEL="Direction",e.GEOGRAPHIC_DIRECTION_NAMES=["North","South","East","West"],e.ERROR_YEAR_FORMAT="Year must be a number between 0 and 9999.",e.ERROR_MINUTE_FORMAT="Minute must be a number between 0 and 59.",e.ERROR_SECOND_FORMAT="Second must be a number between 0 and 59.",e.ERROR_DAYS_DURATION_FORMAT="Days must be a number between 0 and 3650000.",e.ERROR_HOURS_DURATION_FORMAT="Hours must be a number 0 or greater.",e.ERROR_MINUTES_DURATION_FORMAT="Minutes must be a number 0 or greater.",e.ERROR_DEGREES_GEOGRAPHIC_FORMAT="Degrees must be a number between 0 and ^MAX.",e.ERROR_GEOGRAPHIC_FORMAT="^FIELD must be a number 0 or greater and less than 60.",e.onShow=function(t,n,r){var i=t.pointerTarget;i||(i=t.target);if(t.type==="click"||t.type==="pointerup"||t.type==="keydown"&&t.keyCode===13)JMP.DialogStatic.onShow(t,n,m),JMP.EventFacadeStatic.addEventListener(document.getElementById("formatDialogApplyButton"),e.onSubmit,{id:i.id,options:n,handler:r})},e.onSubmit=function(t,l){var h=document.getElementById("dialog"),v=document.getElementById("dialogOverlay"),m,g=!0,y,b=!1,w,E=t.pointerTarget;E||(E=t.target);if(!E.disabled)if(t.type==="pointerdown")E.className="dialogButton buttonDown";else if(t.type==="pointerout")E.className="dialogButton buttonUp";else if(t.type==="click"||t.type==="pointerup"||t.type==="keydown"&&t.keyCode===13)E.className="dialogButton buttonUp",g=d(),g&&(m={seconds:document.getElementById(f)?+document.getElementById(f).value:0,minutes:document.getElementById(a)?+document.getElementById(a).value:0,hours:document.getElementById(u)?+document.getElementById(u).value:0,day:document.getElementById(r)?+document.getElementById(r).value:1,month:document.getElementById(n)?+document.getElementById(n).value-1:0,year:document.getElementById(i)?+document.getElementById(i).value:JMP.EPOCH,degree:document.getElementById(s)?+document.getElementById(s).value:0},l.options.isDuration?(b=document.getElementById(o).checked,l.options.hasDay||(m.day=0),y=JMP.FormatStatic.durationToValue(m,l.options.hasDay,l.options.hasHours),b&&(y=-y)):l.options.hasDegrees?(w=l.options.isLatitude?e.GEOGRAPHIC_DIRECTION_NAMES[1]:e.GEOGRAPHIC_DIRECTION_NAMES[3],b=JMP.DialogStatic.getSelectedRadioValue(p)===w,y=JMP.FormatStatic.geographicToValue(m),b&&(y=-y)):(l.options.hasHours&&!l.options.use24HourClock&&(JMP.DialogStatic.getSelectedRadioValue(c)===l.options.PMDesignator?m.hours=m.hours%12+12:m.hours===12&&(m.hours=0)),y=JMP.FormatStatic.dateTimeToValue(m)),l.handler(y,l),h.className=h.className.replace("revealed","concealed"),v.className=v.className.replace("revealed","concealed"),document.body.setAttribute("aria-hidden","false"),h.setAttribute("aria-hidden","true"),JMP.ViewStatic.updateTooltip())},e}(),JMP.MenuStatic=function(){"use strict";var e={},t=[],n=-1,r=-1,i=!1,s="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDozM0MzQjZGMkY5NEVFNDExODExQ0MxNzMxODA4OTI5OCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpGRERBQ0RFMjRFRjkxMUU0OUY1ODlEQTREMTQ4OThBQyIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpGRERBQ0RFMTRFRjkxMUU0OUY1ODlEQTREMTQ4OThBQyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjM0QzNCNkYyRjk0RUU0MTE4MTFDQzE3MzE4MDg5Mjk4IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjMzQzNCNkYyRjk0RUU0MTE4MTFDQzE3MzE4MDg5Mjk4Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+AloLEAAAALVJREFUeNpi/P//PwNFAGQACYbIAPF3iDaoPhINWADSDMSfyDFAH4j/QQ0oJ8eAXVDN94GYg1QD3KCaQTgcJeyIMIAJiC9CNR8DYkZcBrADMScWAxKQbDfHiD0kA0DEEyBWQdLMCRUDyS3DGv1IBrzGYkgVVAwU9/KEDNBFMuQhEBsC8UcovxVnAkQLRGRD/kDpF0DMS6wB6IaAcCreLIAjGmGGXAJiZnwGMFKaG5kYKAQAAQYA+gvNSVBZbCoAAAAASUVORK5CYII=",o="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDozM0MzQjZGMkY5NEVFNDExODExQ0MxNzMxODA4OTI5OCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDowNTg2QkFDQjRFRkExMUU0OUUwMEY5NDBBMDYxNUFBOSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDowNTg2QkFDQTRFRkExMUU0OUUwMEY5NDBBMDYxNUFBOSIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjM0QzNCNkYyRjk0RUU0MTE4MTFDQzE3MzE4MDg5Mjk4IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjMzQzNCNkYyRjk0RUU0MTE4MTFDQzE3MzE4MDg5Mjk4Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+WtvwsAAAAOhJREFUeNpi/P//PwMlgJEUA/bt3SsDpG4DMYeTszMjSIyJRAtbQJqB+DNMgIkE2/WBVByU20qyAUDQDfIyED8A4okkhQHQdjcgtRPKjQD6fyXRLgBqZoLaDgLHgXgVsjwTkkJ2IObEYgbI33pQdiHQ9v9YDQCCH6AoAhqigmQoJzTkQWA5UPNJdNORDXgDxNJAfADJkEKoGMjwSrwJCahJF0QBsQgQPwLiAJBhQMwHxG1A26sJpkQ0Q/4CMTMQvwRiVaABn4lKymiGgEAaUPNsXLGEEY1AxZdBFDRMQOx5VMtMNDEAIMAAZPlZx/g9yAoAAAAASUVORK5CYII=",u="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpFOUNDNEEwQTgzNDVFNDExOUFDRUU4MkRBNTdEQjY3QiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo5ODBDNDEwQzRBNDQxMUU0OUJBNkExNDlBMEYzNThCNSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo5ODBDNDEwQjRBNDQxMUU0OUJBNkExNDlBMEYzNThCNSIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkVEQ0M0QTBBODM0NUU0MTE5QUNFRTgyREE1N0RCNjdCIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkU5Q0M0QTBBODM0NUU0MTE5QUNFRTgyREE1N0RCNjdCIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+3l0upAAAAGdJREFUeNpi/P//PwMlgImBQjDwBjCAwgAZQ4EBEO8E4l9QvBMqhqkeiwEghd9AatEwSMyAGAN2YtEMwzvR1TOiRyMjIyPIyaw4fPwbqJ6N5rGwH4/6/cTEAsWBSFI0Mo7mBQaAAAMA72Gimb3jq3EAAAAASUVORK5CYII=",a="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpFOUNDNEEwQTgzNDVFNDExOUFDRUU4MkRBNTdEQjY3QiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo0RTc0RkEwNDRFRjgxMUU0ODA3QkYwRUI4NzA4OTE4NSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo0RTc0RkEwMzRFRjgxMUU0ODA3QkYwRUI4NzA4OTE4NSIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjBBOEZGREJFMzg0QUU0MTFCRUE2RTdFNUZCNkJBQzk2IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkU5Q0M0QTBBODM0NUU0MTE5QUNFRTgyREE1N0RCNjdCIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+OQ8d2wAAAHpJREFUeNpi/P//PwMlgImBQjDwBrBgE9y3d68BkOoEYkeo0H4gLndydr6ArpYRPRChmo8BMSea2u9AbIVuCDYvdGLRzAAV6yQmDBzxeNmRLrGwH4/6/cQYUA4NMAYsgVhO0ABoKFsB8S4g/g3Fu7DFANZoHIF5ASDAAIZHIiVbu2QkAAAAAElFTkSuQmCC",f="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo0RTZDQTkzNTQ3NEFFNDExQkVBNkU3RTVGQjZCQUM5NiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo5REE3QzRDMzRFRjgxMUU0ODBEMkJGOUMxNDdFQUE0RiIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo5REE3QzRDMjRFRjgxMUU0ODBEMkJGOUMxNDdFQUE0RiIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjMyNjM2MDAyMjA0RUU0MTFBODA1ODMwNTIwRTNBQjYxIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjRFNkNBOTM1NDc0QUU0MTFCRUE2RTdFNUZCNkJBQzk2Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+C12UDwAAAHxJREFUeNpi/P//PwMlgImBQkB9AxgZGacD8X8g/gXEzgRNAIUBMgaZAcQLQFJA/A2IbdHVoKjHKsjAwAzEK6CGfARic5IMgBrCBsSboIa8AWJdkgyAGsIHxF+ghlyjnwsoCgOKYwEIpkM1/wJiZ3yaQZhxGOYFUgFAgAEAFHcsfbcratkAAAAASUVORK5CYII=",l="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo0RTZDQTkzNTQ3NEFFNDExQkVBNkU3RTVGQjZCQUM5NiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo4OTAxNDgwNzRFRjgxMUU0QTFGREI0QTJFOEEwMDI0RiIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo4OTAxNDgwNjRFRjgxMUU0QTFGREI0QTJFOEEwMDI0RiIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjMyNjM2MDAyMjA0RUU0MTFBODA1ODMwNTIwRTNBQjYxIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjRFNkNBOTM1NDc0QUU0MTFCRUE2RTdFNUZCNkJBQzk2Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+fH84OAAAALRJREFUeNpi/P//PwMlgImBQkCxASzoAvv27p0OpDKA+DcQezo5O+8l1QVZQLwQiFmBeDPQQFt8BjBiC0SgJmYgtRSIw4H4ExC7AV1ykmgDoIawAak1QOwLxG+B2BFoyGWiAxGo+BeQigHir0AsDMQrSYoFqAuWADE31AXhRBsADYNFUOeDwsAbm/OxGgDUzAik5kJt/A7EPrgCEJcLpgFxPDQd+AI1HyY5GodWXqDYAIAAAwBI/ToW/KiPFgAAAABJRU5ErkJggg==",c=function(e,i,c,h,p,d,v,m){var g,y,b,w,E,S,x,T=!1,N=!1,C=!1,k,L,A,O,M,_,D;e.style.left=i+"px",e.style.top=c+"px",b=e.childNodes[0],y=b.childNodes.length;for(g=y-1;g>=0;g--)b.removeChild(b.childNodes[g]);y=h?h.length:0;for(g=0;g<y;g++){x=h[g];if(x.type===JMP.MenuStatic.MENU_CHECK||x.type===JMP.MenuStatic.MENU_RADIO)T=!0;x.icon&&(N=!0),x.menuItems&&(C=!0)}L=0;if(C)for(g=0;g<y;g++)h[g].type===JMP.MenuStatic.MENU_SEPARATOR&&L++;M=!1,O=function(e,t){JMP.MenuStatic.onMenuItem(e,t.x,t.y,t.yFrac,t.handler,t.itemId,t.menuId)},k=0;for(g=0;g<y;g++)x=h[g],x.type===JMP.MenuStatic.MENU_SEPARATOR?k++:(A=x.isDisabled,t[x.id]=x.menuItems,w=document.createElement("TR"),w.className="menuRow",g>0&&h[g-1].type===JMP.MenuStatic.MENU_SEPARATOR&&(w.className+=" borderTop"),JMP.EventFacadeStatic.addEventListener(w,O,{x:i,y:c,yFrac:(g-k)/(y-L),handler:A?undefined:p,itemId:x.id,menuId:d}),v&&!A&&!M&&(M=!0,w.className+=" selected",m?r=g-k:n=g-k),T&&(E=document.createElement("TD"),E.className="menuLeft verticallyCentered",x.isChecked&&(S=document.createElement("IMG"),S.className="verticallyCentered",x.type===JMP.MenuStatic.MENU_CHECK?S.src=A?o:s:S.src=A?a:u,E.appendChild(S)),w.appendChild(E)),E=document.createElement("TD"),E.className="menuCell nowrap verticallyCentered",T&&(E.className+=" menuLeft"),A&&(E.className+=" disabledText"),S=document.createTextNode(x.label),E.appendChild(S),w.appendChild(E),N&&(E=document.createElement("TD"),E.className="menuLeft menuRight verticallyCentered",x.icon&&(S=document.createElement("IMG"),S.className="verticallyCentered",S.src=x.icon,E.appendChild(S)),w.appendChild(E)),C&&(E=document.createElement("TD"),E.className="menuCell menuLeft menuRight verticallyCentered",x.menuItems&&(S=document.createElement("IMG"),S.className="verticallyCentered",S.src=A?l:f,E.appendChild(S)),w.appendChild(E)),b.appendChild(w));e.className=e.className.replace("concealed","revealed"),_=window.pageXOffset+window.innerWidth-e.offsetWidth-(m?60:0),i>_&&(e.style.left=_+"px"),D=window.pageYOffset+window.innerHeight-e.offsetHeight,c>D&&(e.style.top=D+"px")};return e.MENU_ITEM=0,e.MENU_CHECK=1,e.MENU_RADIO=2,e.MENU_SEPARATOR=3,e.TIP_MENU="Display a menu of commands",e.SRC_MENU="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo1RjA2RDMyOUNDNDRFNDExQUY0MEQzQzIyMDRDOTdDMSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo1QUZCOEI0RDRFRkMxMUU0OTU5MEVCM0UwMzNERkRCNiIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo1QUZCOEI0QzRFRkMxMUU0OTU5MEVCM0UwMzNERkRCNiIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjgzMDVFQkFBMjU0RUU0MTFBODA1ODMwNTIwRTNBQjYxIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjVGMDZEMzI5Q0M0NEU0MTFBRjQwRDNDMjIwNEM5N0MxIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+M5N3/AAAACdJREFUeNpiLK2s/c9AAWBioBBQbAALEDMOfS+MxsJoLAx8LAAEGACnIgSV7+76pgAAAABJRU5ErkJggg==",e.button=undefined,e.onMenuItem=function(n,r,s,o,u,a,f){var l=document.getElementById("menu0"),h=document.getElementById("menu1"),p,d,v=n.pointerTarget;v||(v=n.target),document.body.className="cursorArrow",n.type==="pointerdown"?i=!0:n.type==="pointerout"&&(i=!1);if(n.type==="pointerover"){d=v;while(d&&d!==l)d=d.parentNode;d===l&&(h.className=h.className.replace("revealed","concealed"))}if(n.type!=="pointermove"&&n.type!=="pointerout"&&t[a])r+=l.offsetWidth-1,s+=o*l.offsetHeight-1,c(h,r,s,t[a],u,f,n.type==="click",!0);else if(n.type==="click"||n.type==="pointerup"){p=v;while(p.nodeName!=="TR")p=p.parentNode;p.style.backgroundColor=JMP.COLOR_WHITE,setTimeout(function(){p.style.backgroundColor=JMP.COLOR_SELECT,setTimeout(function(){h.className=h.className.replace("revealed","concealed"),e.button.className=e.button.className.replace("buttonDown","buttonUp"),u&&(l=document.getElementById("menu0"),l.className=l.className.replace("revealed","concealed"),u(a,f))},100)},100)}},e.onMenuButton=function(t,s,o,u){var a=document.getElementById("menu0"),f=document.getElementById("menu1"),l=a.childNodes[0].childNodes,h=f.childNodes[0].childNodes,p=a.className.indexOf("revealed")>=0,d=f.className.indexOf("revealed")>=0,v,m=s(u),g=t.pointerTarget,y={x:0,y:0};g||(g=t.target),g.childNodes.length===0&&(g=g.parentNode),JMP.ViewStatic.getTooltip(g)===undefined&&JMP.ViewStatic.setTooltip(g,e.TIP_MENU,!0),JMP.ViewStatic.tooltipListener(t);if(t.type==="blur"&&!i)a.className=a.className.replace("revealed","concealed"),f.className=f.className.replace("revealed","concealed"),g.className=g.className.replace("buttonDown","buttonUp");else if(t.type==="pointercancel")a.className=a.className.replace("revealed","concealed"),f.className=f.className.replace("revealed","concealed"),g.className=g.className.replace("buttonDown","buttonUp");else if(t.type==="click"||t.type==="pointerup")e.button=g,p?t.type==="click"&&(d?t.pointerTarget=h[r]:t.pointerTarget=l[n],v=JMP.EventFacadeStatic.getEventParameter(t.pointerTarget),v&&JMP.MenuStatic.onMenuItem(t,v.x,v.y,v.yFrac,v.handler,v.itemId,v.menuId)):(g.className=g.className.replace("buttonUp","buttonDown"),m&&(JMP.ViewStatic.getPosition(g,y),y.y+=g.offsetHeight-1,c(a,y.x,y.y,m,o,u,t.type==="click")));else if(t.type==="keydown")switch(t.keyCode){case 27:d?(f.className=f.className.replace("revealed","concealed"),r=-1):(a.className=a.className.replace("revealed","concealed"),n=-1);break;case 38:case 40:d?(h[r].className=h[r].className.replace(" selected",""),r=(t.keyCode===38?r-1+h.length:r+1)%h.length,h[r].className+=" selected"):(l[n].className=l[n].className.replace(" selected",""),n=(t.keyCode===38?n-1+l.length:n+1)%l.length,l[n].className+=" selected"),t.preventDefault();break;default:}},e}(),JMP.ModeStatic=function(){"use strict";var e={},t=JMP.ViewStatic.SELECT_ONLY,n=-1;return e.isShiftDown=!1,e.isCtrlDown=!1,e.isMetaDown=!1,e.ID_FOCUS_REPORT="ID_FOCUS_REPORT",e.ID_FOCUS_GRAPH="ID_FOCUS_GRAPH",e.ID_FOCUS_DATA="ID_FOCUS_DATA",e.ID_SELECT_ONLY="ID_SELECT_ONLY",e.ID_SELECT_TOGGLE="ID_SELECT_TOGGLE",e.TIP_FOCUS_REPORT="Identify objects. Zoom the report.",e.TIP_FOCUS_GRAPH="Zoom the graphs.",e.TIP_FOCUS_DATA="Drag a rectangle to select rows.",e.TIP_SELECT_ONLY="Select one object.",e.TIP_SELECT_TOGGLE="Select multiple objects.",e.SRC_FOCUS_REPORT="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDoxNzcyMEIwMkJFNDRFNDExQjFDREQzQ0REN0IyRTg0RSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoxMUZCMTA3RjRBMzcxMUU0QkM4OEE4RDExNkFFRjk4QSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoxMUZCMTA3RTRBMzcxMUU0QkM4OEE4RDExNkFFRjk4QSIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjI2OUUzOEFEMzY0QUU0MTFCRUE2RTdFNUZCNkJBQzk2IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjE3NzIwQjAyQkU0NEU0MTFCMUNERDNDREQ3QjJFODRFIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+rR9QHQAAAMZJREFUeNpi/P//PwMlgImBQsCCTbCoqIgoZ7198wa7ASDQ19dH0ID4uDjcBoAAIyMjTjlY2OE1gJgAHk4ukPBZowGk1IH4ZpQaiS6QDtpQxsnPbcUlzCv77e3nx7AoIgYwinuv1uQU4G6XNlD0hwk+u/hg07f3X6pebAm5SkxSVuMS4pVFFgS6RAFIaRCbF259ewdxNgwAvfEASN0gyguggAKFARsXOzwMfn/7eeLJuoAOog2AxoImyDsgFwH9fp3Y3AgQYACAn1O8nyif/gAAAABJRU5ErkJggg==",e.SRC_FOCUS_GRAPH="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAACSNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+Cjx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IlhNUCBDb3JlIDUuMS4yIj4KICAgPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIvPgogICA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz4s45Y3AAAAIXRFWHRTb2Z0d2FyZQBHcmFwaGljQ29udmVydGVyIChJbnRlbCl3h/oZAAAAWElEQVR4nGJg+P+fAYYtLCz+I/OJwhQbANKEjGnigoyNN//rTjz+H0STbABMMwxjGELIAGTNMExdFxATiBSFAe3TwcAbgB6IpGKCLiAoNuAGAAAAAP//AwA1IP3ZXu0dWAAAAABJRU5ErkJggg==",e.SRC_FOCUS_DATA="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDoxODcyMEIwMkJFNDRFNDExQjFDREQzQ0REN0IyRTg0RSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo0Qzc3OTk0MDRBMzcxMUU0QUUwMUFERDBBRjAzNzZEMyIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo0Qzc3OTkzRjRBMzcxMUU0QUUwMUFERDBBRjAzNzZEMyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjRCQkJDMzRGMzI0QUU0MTFCRUE2RTdFNUZCNkJBQzk2IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjE4NzIwQjAyQkU0NEU0MTFCMUNERDNDREQ3QjJFODRFIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+5uUK0gAAAPlJREFUeNpi/P//PwMyyJi7G1WAAGDBJjgj2ZURXUzUc1Xp928/TEFsTi6O06+3h3WDLGMixhYJnzWmIM1KFuqhIAxig8RAckwMpAJGRgZkPxJlwIstIaeBzj5z98TN1feO31jJBWSDxHCGATYA9HMX1Nn/gJrP4g1EZL/DXIBMMxDjBVCof/n8DYxBbFzqmEgNdaJdgCvUiUpIIL8CnQ0KdQZgivoHDPVzMP+jhwsLIyOjLJC2h+o9mD5nF85QR06NQPbp4BBBsAtAmrmgBtijuwRbuID494CuIy8looULyAWHgNgOiEFih/GlRvRwAQqHMlKanQECDAAQd40hB2UOuAAAAABJRU5ErkJggg=="
,e.SRC_SELECT_ONLY="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDoyOTlFMzhBRDM2NEFFNDExQkVBNkU3RTVGQjZCQUM5NiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpEMEIyRTNBMjRBMzcxMUU0QkVDOUY2QjlBMUM2NDFBRiIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpEMEIyRTNBMTRBMzcxMUU0QkVDOUY2QjlBMUM2NDFBRiIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjI5OUUzOEFEMzY0QUU0MTFCRUE2RTdFNUZCNkJBQzk2IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjI5OUUzOEFEMzY0QUU0MTFCRUE2RTdFNUZCNkJBQzk2Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+GiRLXQAAAPVJREFUeNpi/P//PwMlgAWXBCMjIxeQMgdiESB+A8QngZZ9Q1fHhMdwkGYJqCUg2hKbInwGiBDgEzTgDQE+QQNOAvELIP4DpU9gDStKY4GJgUJAsQHwdCDhs0YDSKkD8c0XW0JuEGsAOAykgzaUsXGyW3EJ88p+e/v58a/vP489XRfQRUziYhT3Xq3JKcDdLm2g6A9T+Ozig03f3n+pArrkKpoBjtBEBQOvQGGgxiXEK4usEOgSBSClQUziAhlw69u7z4+RRYHeeACkbhCTuBBhwIUIg9/ffp54si6gg4gwOAVPSMBY0AR5B+QioN+vExsLAAEGAECAW296jyirAAAAAElFTkSuQmCC",e.SRC_SELECT_TOGGLE="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDoyOTlFMzhBRDM2NEFFNDExQkVBNkU3RTVGQjZCQUM5NiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoxNUMxN0M3ODRBMzgxMUU0QkYwRkI2MTVGREQwQ0Y4MCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoxNUMxN0M3NzRBMzgxMUU0QkYwRkI2MTVGREQwQ0Y4MCIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjI5OUUzOEFEMzY0QUU0MTFCRUE2RTdFNUZCNkJBQzk2IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjI5OUUzOEFEMzY0QUU0MTFCRUE2RTdFNUZCNkJBQzk2Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+LOMwdAAAAN1JREFUeNpiFPdezYADaACxOhDfBOIbuBSxYBNkZmMpY+Nkt+IS5pX99vbz41/ffx77++tPF7EGaLJxsVtJGyj6gziCciJGzy4+YPz264s2kHsVXTETFgPUuIR4ZZEFgC5RgHqJgRgDbn179/kxsgDQGw9whQM2L1z/9e3nsacX7jPAwuD3t58nsDkfZyCCAuz7rz+a3z98VQO5CGQoSbEAcwk+jfjCgCTAQmLCwVDDQmzCwaWGhciEg1MNE5EJB6caJiITDk41LEQmHJxqGJGysybIqQQSDoYagAADAOLbob975QrkAAAAAElFTkSuQmCC",e.onMode=function(e){var t,n,r,i,s;JMP.ViewStatic.tooltipListener(e);if(e.type==="click"||e.type==="pointerup"||e.type==="pointercancel"){i=e.pointerTarget,i||(i=e.target),i.childNodes.length===0&&(i=i.parentNode);if(e.type==="pointercancel"){switch(i.id){case JMP.ModeStatic.ID_FOCUS_REPORT:s=document.getElementById(JMP.ModeStatic.ID_FOCUS_DATA);break;case JMP.ModeStatic.ID_FOCUS_DATA:s=document.getElementById(JMP.ModeStatic.ID_FOCUS_REPORT);break;case JMP.ModeStatic.ID_SELECT_ONLY:s=document.getElementById(JMP.ModeStatic.ID_SELECT_TOGGLE);break;case JMP.ModeStatic.ID_SELECT_TOGGLE:s=document.getElementById(JMP.ModeStatic.ID_SELECT_ONLY);break;default:}s&&s.className.indexOf("buttonDown")>=0&&(i.className=i.className.replace("buttonDown","buttonUp"))}else{i.className=i.className.replace("buttonUp","buttonDown");switch(i.id){case JMP.ModeStatic.ID_FOCUS_REPORT:JMP.ViewStatic.focusMode=JMP.ViewStatic.FOCUS_REPORT,n=JMP.ControlStatic.segments.length;for(t=0;t<n;t++)r=JMP.ControlStatic.segments[t],r&&r.brush&&r.select();i=document.getElementById(JMP.ModeStatic.ID_FOCUS_DATA);break;case JMP.ModeStatic.ID_FOCUS_DATA:JMP.ViewStatic.focusMode=JMP.ViewStatic.FOCUS_DATA,i=document.getElementById(JMP.ModeStatic.ID_FOCUS_REPORT);break;case JMP.ModeStatic.ID_SELECT_ONLY:JMP.ModeStatic.isCtrlDown||JMP.ModeStatic.isShiftDown?JMP.ViewStatic.selectMode=JMP.ViewStatic.SELECT_TOGGLE:JMP.ViewStatic.selectMode=JMP.ViewStatic.SELECT_ONLY,i=document.getElementById(JMP.ModeStatic.ID_SELECT_TOGGLE);break;case JMP.ModeStatic.ID_SELECT_TOGGLE:JMP.ViewStatic.selectMode=JMP.ViewStatic.SELECT_TOGGLE,i=document.getElementById(JMP.ModeStatic.ID_SELECT_ONLY);break;default:}i.className=i.className.replace("buttonDown","buttonUp")}}},e.onKey=function(r){var i=document.getElementById("dialog"),s=r.keyCode===16,o=r.keyCode===17,u=r.keyCode===n,a=r.type==="keydown",f=document.getElementById(JMP.ModeStatic.ID_SELECT_ONLY),l=document.getElementById(JMP.ModeStatic.ID_SELECT_TOGGLE);if(!(i.className.indexOf("revealed")>=0&&a&&(s||o))){n<0&&r.metaKey&&(n=r.keyCode,u=!0),a&&(o||s)&&!e.isCtrlDown&&!e.isShiftDown&&(t=JMP.ViewStatic.selectMode),s?e.isShiftDown=a:o?e.isCtrlDown=a:u&&(e.isMetaDown=a);if(o||s)JMP.ViewStatic.selectMode=a||e.isCtrlDown||e.isShiftDown?JMP.ViewStatic.SELECT_TOGGLE:t;JMP.ViewStatic.selectMode===JMP.ViewStatic.SELECT_ONLY?(f.className=f.className.replace("buttonUp","buttonDown"),l.className=l.className.replace("buttonDown","buttonUp")):(f.className=f.className.replace("buttonDown","buttonUp"),l.className=l.className.replace("buttonUp","buttonDown")),u=e.isMetaDown}},e}(),JMP.OutlineStatic=function(){"use strict";var e={},t=!1,n,r;return e.TIP_REVEAL="Reveal contents",e.TIP_CONCEAL="Conceal contents",e.SRC_CONCEALED="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo4NTA1RUJBQTI1NEVFNDExQTgwNTgzMDUyMEUzQUI2MSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoxQjk1MDlFMjRFRkMxMUU0QjA1MkVFQkRENThCMTJDNSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoxQjk1MDlFMTRFRkMxMUU0QjA1MkVFQkRENThCMTJDNSIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjg3MDVFQkFBMjU0RUU0MTFBODA1ODMwNTIwRTNBQjYxIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjg1MDVFQkFBMjU0RUU0MTFBODA1ODMwNTIwRTNBQjYxIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+ZdGZJwAAAJVJREFUeNpi/P//PwMlgImBQoBhwNSZc/YBsQYlLnAE4ktAQ1qBmItcL7ACcRUQXwUa4kNJGCgA8WagIRuAWJ6SQPQH4mtAQ8qBmJXcWACFRwcQLyfXgO9AXAnEkciCLERq3gTEednpKQ/RJQgZANKQC9S4mdRY+A3E7UCshU8zLhfsB+JsoMbrxPiNcfBlJlIBQIABAGd1LeBLRGf4AAAAAElFTkSuQmCC",e.SRC_REVEALED="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo4NTA1RUJBQTI1NEVFNDExQTgwNTgzMDUyMEUzQUI2MSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoyNzBBQzdEQTRFRkMxMUU0ODYxNUM4QTM0QzA0NTBFRCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoyNzBBQzdEOTRFRkMxMUU0ODYxNUM4QTM0QzA0NTBFRCIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjg3MDVFQkFBMjU0RUU0MTFBODA1ODMwNTIwRTNBQjYxIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjg1MDVFQkFBMjU0RUU0MTFBODA1ODMwNTIwRTNBQjYxIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+UKwabQAAAJVJREFUeNpi/P//PwMlgImBQjDwBrAgc6bOnLMPSDkSoW9/dnqKEzYXZAPxbwKaQfJZWL0ANPU6kOohYEA3UN0NfGHQAsQPcWh+AMSteAMRaPo3IJWLw4BcqDz+WAAq2gykNqEJbwSKbyElGvOA+DuUDbI1n6R0ALQNFA5NUG4TlI8/HWABvUBsAsR9uBQwDv3MBBBgAGdjKZfp6tlNAAAAAElFTkSuQmCC",e.onOutline=function(i,s){var o,u,a,f,l,c=i.pointerTarget,h,p;c||(c=i.target),c.firstChild||(c=c.parentNode),l=c.firstChild,o=c.parentNode.parentNode.nextSibling,u=o.className.indexOf("revealed")>=0;if(i.type==="pointerdown")t=!0;else if(i.type==="pointerout")t=!1;else if(i.type==="pointercancel")c.className=c.className.replace("buttonDown","buttonUp"),t=!1;else if(i.type==="click"||i.type==="pointerup"&&t)c.className=c.className.replace("buttonDown","buttonUp"),t=!1,l.src=u?e.SRC_CONCEALED:e.SRC_REVEALED,a=u?"revealed":"concealed",f=u?"concealed":"revealed",o.className=o.className.replace(a,f),h=c.nextSibling,h&&(h.className=h.className.replace(a,f)),JMP.ControlStatic.invalidateOffsets();return o=c.parentNode.parentNode.nextSibling,u=o.className.indexOf("revealed")>=0,p=s?s.lines[0]:undefined,p||(n||(n=e.TIP_REVEAL),r||(r=e.TIP_CONCEAL)),p=u?r:n,JMP.ViewStatic.setTooltip(c,p,!0),JMP.ViewStatic.tooltipListener(i),!0},e}(),JMP.TabStatic=function(){"use strict";var e={};return e.BOTTOM_PADDING=20,e.TIP_DEFAULT_TAB="Reveal contents",e.onTab=function(t){var n,r,i,s,o,u,a,f,l=t.pointerTarget,c;l||(l=t.target),c=l.id,JMP.ViewStatic.getTooltip(l)===undefined&&JMP.ViewStatic.setTooltip(l,e.TIP_DEFAULT_TAB,!0),JMP.ViewStatic.tooltipListener(t);if(t.type==="pointerdown"||t.type==="keydown"&&(t.keyCode===13||t.keyCode===32)){f=c.lastIndexOf("_"),n=c.substr(f+1),s=c.substr(0,f),r=document.getElementById(c),u=r.parentNode.childNodes;for(a=0;a<u.length;a++)u[a].className="",i=document.getElementById(s+"_"+a+"Content"),i.style.display="none";r.className="selectedTab",o=document.getElementById(s+"_"+n+"Content"),o.style.display=""}},e}(),JMP.ParserStatic=function(){"use strict";var e={},t=[];return e.STORAGE_NAME="data",e.createElement=function(e,t,n,r){var i=document.createElement(e);return t&&i.setAttribute("class",t),n&&n.appendChild(i),r&&(i.id=r),i},e.getAncestor=function(e,t,n,r){var i=e,s=!1;while(i&&!s)s=i.nodeName===t&&(n===undefined||i.getAttribute(n)===r),s||(i=i.parentNode);return i},e.getDescendant=function(t,n,r){var i,s,o=null;if(!t)return null;if(r&&t.nodeName.slice(0,2).toUpperCase()==="IF"&&t.hasAttribute("condition")&&t.getAttribute("condition")==="false")return null;t.nodeName===n&&(o=t),s=t.childNodes.length;for(i=0;i<s&&!o;i++)o=e.getDescendant(t.childNodes[i],n,r);return o},e.getDescendants=function(t,n,r){var i,s,o=[];if(!t)return[];if(r&&t.nodeName.slice(0,2).toUpperCase()==="IF"&&t.hasAttribute("condition")&&t.getAttribute("condition")==="false")return[];(n===undefined||n===t.nodeName)&&o.push(t),s=t.childNodes.length;for(i=0;i<s;i++)o=o.concat(e.getDescendants(t.childNodes[i],n,r));return o},e.getSibling=function(e,t,n){var r,i,s,o=null;if(!e||!e.parentNode)return null;s=e.parentNode.childNodes,i=s.length;for(r=0;r<i&&!o;r++){if(n&&s[r]===e)return null;s[r]!==e&&s[r].nodeName===t&&(o=s[r])}return o},e.clearStorage=function(e){t[e]=undefined},e.getStorage=function(e){return t[e]===undefined?null:t[e]},e.getStored=function(e,n){return n===null||t[e]===undefined?null:t[e][n]},e.setStored=function(e,n){return t[e]||(t[e]=[]),t[e].push(n),t[e].length-1},e.getLinked=function(t,n){return e.getStored(n,t.getAttribute?t.getAttribute(n):null)},e.setLinked=function(t,n,r){t.setAttribute&&t.setAttribute(n,e.setStored(n,r))},e.getNearestDescription=function(e){var t=e,n=null;while(t&&!n)t.hasAttribute&&(t.hasAttribute("description")?n=t.getAttribute("description"):t.hasAttribute("title")&&(n=t.getAttribute("title"))),t=t.parentNode;return n},e.getFormatName=function(e){var t=JMP.FormatStatic.FORMAT_BEST;switch(e){case"logWorth":t=JMP.FormatStatic.FORMAT_LOG_WORTH;break;case"percentFixed0":t=JMP.FormatStatic.FORMAT_PERCENT_FIXED0;break;case"percentFixed1":t=JMP.FormatStatic.FORMAT_PERCENT_FIXED1;break;case"percentFixed2":t=JMP.FormatStatic.FORMAT_PERCENT_FIXED2;break;case"percentFixed3":t=JMP.FormatStatic.FORMAT_PERCENT_FIXED3;break;case"percentFixed4":t=JMP.FormatStatic.FORMAT_PERCENT_FIXED4;break;case"percentFixed5":t=JMP.FormatStatic.FORMAT_PERCENT_FIXED5;break;case"percentFixed6":t=JMP.FormatStatic.FORMAT_PERCENT_FIXED6;break;case"percentFixed7":t=JMP.FormatStatic.FORMAT_PERCENT_FIXED7;break;case"percentFixed8":t=JMP.FormatStatic.FORMAT_PERCENT_FIXED8;break;case"percentFixed9":t=JMP.FormatStatic.FORMAT_PERCENT_FIXED9;break;case"geographic":t=JMP.FormatStatic.FORMAT_GEOGRAPHIC;break;case"latitudeDDD":t=JMP.FormatStatic.FORMAT_LATITUDE_DDD;break;case"latitudeDMM":t=JMP.FormatStatic.FORMAT_LATITUDE_DMM;break;case"latitudeDMS":t=JMP.FormatStatic.FORMAT_LATITUDE_DMS;break;case"longitudeDDD":t=JMP.FormatStatic.FORMAT_LONGITUDE_DDD;break;case"longitudeDMM":t=JMP.FormatStatic.FORMAT_LONGITUDE_DMM;break;case"longitudeDMS":t=JMP.FormatStatic.FORMAT_LONGITUDE_DMS;break;case"percent":t=JMP.FormatStatic.FORMAT_PERCENT;break;case"none":t=JMP.FormatStatic.FORMAT_NONE;break;case"numeric":t=JMP.FormatStatic.FORMAT_NUMERIC;break;case"date":t=JMP.FormatStatic.FORMAT_DATE;break;case"time":t=JMP.FormatStatic.FORMAT_TIME;break;case"fixed":t=JMP.FormatStatic.FORMAT_FIXED;break;case"currency":t=JMP.FormatStatic.FORMAT_CURRENCY;break;case"scientific":t=JMP.FormatStatic.FORMAT_SCIENTIFIC;break;case"probability":t=JMP.FormatStatic.FORMAT_PROBABILITY;break;case"best3":t=JMP.FormatStatic.FORMAT_BEST3;break;case"best":t=JMP.FormatStatic.FORMAT_BEST;break;case"duration":t=JMP.FormatStatic.FORMAT_DURATION;break;case"MM_DD_YYYY":t=JMP.FormatStatic.FORMAT_MM_DD_YYYY;break;case"longDate":t=JMP.FormatStatic.FORMAT_LONG_DATE;break;case"abbrevDate":t=JMP.FormatStatic.FORMAT_ABBREV_DATE;break;case"M_D_Y":t=JMP.FormatStatic.FORMAT_M_D_Y;break;case"MM_DD_YYYYHH_MM":t=JMP.FormatStatic.FORMAT_MM_DD_YYYYHH_MM;break;case"MM_DD_YYYYHH_MM_SS":t=JMP.FormatStatic.FORMAT_MM_DD_YYYYHH_MM_SS;break;case"M_D_YHH_MM":t=JMP.FormatStatic.FORMAT_M_D_YHH_MM;break;case"DDHHMM":t=JMP.FormatStatic.FORMAT_DDHHMM;break;case"DDHHMMSS":t=JMP.FormatStatic.FORMAT_DDHHMMSS;break;case"MMDDYYYY":t=JMP.FormatStatic.FORMAT_MMDDYYYY;break;case"MM_YYYY":t=JMP.FormatStatic.FORMAT_MM_YYYY;break;case"DD_MM_YYYY":t=JMP.FormatStatic.FORMAT_DD_MM_YYYY;break;case"DDMMYYYY":t=JMP.FormatStatic.FORMAT_DDMMYYYY;break;case"DDMMMYYYY":t=JMP.FormatStatic.FORMAT_DDMMMYYYY;break;case"DD_MM_YYYYHH_MM":t=JMP.FormatStatic.FORMAT_DD_MM_YYYYHH_MM;break;case"DD_MM_YYYYHH_MM_SS":t=JMP.FormatStatic.FORMAT_DD_MM_YYYYHH_MM_SS;break;case"YYYY_MM_DD":t=JMP.FormatStatic.FORMAT_YYYY_MM_DD;break;case"YYYYMMDD":t=JMP.FormatStatic.FORMAT_YYYYMMDD;break;case"DDMMMYYYYHH_MM":t=JMP.FormatStatic.FORMAT_DDMMMYYYYHH_MM;break;case"DDMMMYYYYHH_MM_SS":t=JMP.FormatStatic.FORMAT_DDMMMYYYYHH_MM_SS;break;case"HHMMSS":t=JMP.FormatStatic.FORMAT_HHMMSS;break;case"MMMDDYYYY":t=JMP.FormatStatic.FORMAT_MMMDDYYYY;break;case"MMMDDYYYYHH_MM":t=JMP.FormatStatic.FORMAT_MMMDDYYYYHH_MM;break;case"MMMDDYYYYHH_MM_SS":t=JMP.FormatStatic.FORMAT_MMMDDYYYYHH_MM_SS;break;case"YYYY_MM_DDHH_MM":t=JMP.FormatStatic.FORMAT_YYYY_MM_DDHH_MM;break;case"YYYY_MM_DDHH_MM_SS":t=JMP.FormatStatic.FORMAT_YYYY_MM_DDHH_MM_SS;break;case"YYYY_MM_DDT":t=JMP.FormatStatic.FORMAT_YYYY_MM_DDT;break;case"YYYY_MM_DDTHH_MM":t=JMP.FormatStatic.FORMAT_YYYY_MM_DDTHH_MM;break;case"YYYY_MM_DDTHH_MM_SS":t=JMP.FormatStatic.FORMAT_YYYY_MM_DDTHH_MM_SS;break;case"HH_MM":t=JMP.FormatStatic.FORMAT_HH_MM;break;case"H_MM":t=JMP.FormatStatic.FORMAT_H_MM;break;case"H_MM_SS":t=JMP.FormatStatic.FORMAT_H_MM_SS;break;case"M_SS":t=JMP.FormatStatic.FORMAT_M_SS;break;case"DDMMMYYYYCHH_MM":t=JMP.FormatStatic.FORMAT_DDMMMYYYYCHH_MM;break;case"DDMMMYYYYCHH_MM_SS":t=JMP.FormatStatic.FORMAT_DDMMMYYYYCHH_MM_SS;break;case"localeDate":t=JMP.FormatStatic.FORMAT_LOCALE_DATE;break;case"localeDateTime":t=JMP.FormatStatic.FORMAT_LOCALE_DATE_TIME;break;case"localeTimeStamp":t=JMP.FormatStatic.FORMAT_LOCALE_TIME_STAMP;break;case"YYYYQQ":t=JMP.FormatStatic.FORMAT_YYYYQQ;break;default:t=JMP.FormatStatic.FORMAT_BEST}return t},e.getFormat=function(t){return JMP.Format(e.getFormatName(t.getAttribute("formatName")),t.hasAttribute("showThousands")?t.getAttribute("showThousands")==="true":!1,t.hasAttribute("nDecimals")?+t.getAttribute("nDecimals"):-1,t.hasAttribute("fieldWidth")?+t.getAttribute("fieldWidth"):-1,t.hasAttribute("formatCode")?t.getAttribute("formatCode"):"",t.hasAttribute("decimalSeparator")?t.getAttribute("decimalSeparator"):".",t.hasAttribute("thousandsSeparator")?t.getAttribute("thousandsSeparator"):",",t.hasAttribute("positivePrefix")?t.getAttribute("positivePrefix"):"",t.hasAttribute("positiveSuffix")?t.getAttribute("positiveSuffix"):"",t.hasAttribute("negativePrefix")?t.getAttribute("negativePrefix"):"",t.hasAttribute("negativeSuffix")?t.getAttribute("negativeSuffix"):"",t.hasAttribute("dateTimePattern")?t.getAttribute("dateTimePattern"):"",t.hasAttribute("dateSeparator")?t.getAttribute("dateSeparator"):"/",t.hasAttribute("timeSeparator")?t.getAttribute("timeSeparator"):":",t.hasAttribute("AMDesignator")?t.getAttribute("AMDesignator"):"",t.hasAttribute("PMDesignator")?t.getAttribute("PMDesignator"):"",t.hasAttribute("useAMPM")?t.getAttribute("useAMPM")==="true":!1,t.hasAttribute("useAMPMInFront")?t.getAttribute("useAMPMInFront")==="true":!1,t.hasAttribute("use24HourClock")?t.getAttribute("use24HourClock")==="true":!1,t.hasAttribute("useZeroForMidnight")?t.getAttribute("useZeroForMidnight")==="true":!1,t.hasAttribute("useMinusForNegativeDateTime")?t.getAttribute("useMinusForNegativeDateTime")==="true":!1,t.hasAttribute("useLeadingZeroForHour")?t.getAttribute("useLeadingZeroForHour")==="true":!1)},e.arraysEqual=function(e,t){var n,r=e?e.length:t?t.length:0,i=e===undefined&&t===undefined||e===null&&t===null||e!==undefined&&t!==undefined&&e!==null&&t!==null&&e.length===t.length;for(n=0;n<r&&i;n++)i=e[n]===t[n];return i},e}(),JMP.CanvasStatic=function(){"use strict";var e={},t=[],n=[],r,i=[],s=0,o="#EB2544",u="#F03246",a=.06,f=function(e,t){var n=!1,r,i=e.getAttribute("YScaleID");return i==="0"&&(i=e.getAttribute("XScaleID")),r=JMP.ParserStatic.getAncestor(e,"ScaleBox","id",i),r&&JMP.ParserStatic.getDescendant(r,t,!0)!==null&&(n=!0),n},l=function(e){var t=!0;if(!e||e.nodeName==="MosaicSegment"||e.nodeName==="FrameBox"&&JMP.ParserStatic.getDescendants(e,"MosaicSegment").length>0)t=!1;return t};return e.create=function(a,l){var c,h,p,d,v,m,g,y,b,w,E,S,x,T,N,C,k,L,A,O,M,_,D,P,H,B,j,F,I,q,R,U,z,W,X,V,$,J,K,Q,G,Y,Z,et=[],tt,nt,rt,it,st,ot,ut,at,ft,lt,ct,ht,pt,dt=!1,vt=function(e,t,n){var r,i,s;if(e.hasAttribute(t)){r=e.getAttribute(t).split(",");if(n){s=r.length;for(i=0;i<s;i++)r[i]=r[i]==="true"}}return r},mt=function(e){var t=[],n=e.split(","),r,i=n.length;for(r=0;r<i;r++)switch(n[r]){case"bar":t.push(JMP.LegendBoxStatic.TYPE_BAR);break;case"marker":t.push(JMP.LegendBoxStatic.TYPE_MARKER);break;case"hLine":t.push(JMP.LegendBoxStatic.TYPE_HLINE);break;case"vLine":t.push(JMP.LegendBoxStatic.TYPE_VLINE);break;case"lineSize":t.push(JMP.LegendBoxStatic.TYPE_LINE_SIZE);break;case"hBoxPlot":t.push(JMP.LegendBoxStatic.TYPE_HBOXPLOT);break;case"vBoxPlot":t.push(JMP.LegendBoxStatic.TYPE_VBOXPLOT);break;case"hInterval":t.push(JMP.LegendBoxStatic.TYPE_HINTERVAL);break;case"vInterval":t.push(JMP.LegendBoxStatic.TYPE_VINTERVAL);break;case"step":t.push(JMP.LegendBoxStatic.TYPE_STEP);break;case"fillAndLine":t.push(JMP.LegendBoxStatic.TYPE_FILL_LINE);break;case"markerSize":t.push(JMP.LegendBoxStatic.TYPE_MARKER_SIZE);break;case"gradient":t.push(JMP.LegendBoxStatic.TYPE_GRADIENT);break;case"densityGradient":t.push(JMP.LegendBoxStatic.TYPE_DENSITY_GRADIENT);break;default:}return t.length===0&&t.push(JMP.LegendBoxStatic.TYPE_BAR),t},gt=function(e){var t;switch(e){case"dot":t=JMP.LineSegmentStatic.PATTERN_DOT;break;case"dash":t=JMP.LineSegmentStatic.PATTERN_DASH;break;case"dashDot":t=JMP.LineSegmentStatic.PATTERN_DASHDOT;break;case"dashDotDot":t=JMP.LineSegmentStatic.PATTERN_DASHDOTDOT;break;case"smooth":t=JMP.LineSegmentStatic.PATTERN_SMOOTH;break;default:t=JMP.LineSegmentStatic.PATTERN_SOLID}return t},yt=function(e){var t=JMP.Marker.DOT;switch(e){case"dot":t=JMP.Marker.DOT;break;case"x":t=JMP.Marker.X;break;case"y":t=JMP.Marker.Y;break;case"z":t=JMP.Marker.Z;break;case"plus":t=JMP.Marker.PLUS;break;case"minus":t=JMP.Marker.MINUS;break;case"pipe":t=JMP.Marker.PIPE;break;case"slash":t=JMP.Marker.SLASH;break;case"backslash":t=JMP.Marker.BACKSLASH;break;case"arrowUp":t=JMP.Marker.ARROW_UP;break;case"arrowDown":t=JMP.Marker.ARROW_DOWN;break;case"arrowLeft":t=JMP.Marker.ARROW_LEFT;break;case"arrowRight":t=JMP.Marker.ARROW_RIGHT;break;case"star":t=JMP.Marker.STAR;break;case"circle":t=JMP.Marker.CIRCLE;break;case"wide":t=JMP.Marker.WIDE;break;case"tall":t=JMP.Marker.TALL;break;case"square":t=JMP.Marker.SQUARE;break;case"diamond":t=JMP.Marker.DIAMOND;break;case"triangleUp":t=JMP.Marker.TRIANGLE_UP;break;case"triangleDown":t=JMP.Marker.TRIANGLE_DOWN;break;case"triangleLeft":t=JMP.Marker.TRIANGLE_LEFT;break;case"triangleRight":t=JMP.Marker.TRIANGLE_RIGHT;break;case"circleFilled":t=JMP.Marker.CIRCLE_FILLED;break;case"wideFilled":t=JMP.Marker.WIDE_FILLED;break;case"tallFilled":t=JMP.Marker.TALL_FILLED;break;case"squareFilled":t=JMP.Marker.SQUARE_FILLED;break;case"diamondFilled":t=JMP.Marker.DIAMOND_FILLED;break;case"triangleUpFilled":t=JMP.Marker.TRIANGLE_UP_FILLED;break;case"triangleDownFilled":t=JMP.Marker.TRIANGLE_DOWN_FILLED;break;case"triangleLeftFilled":t=JMP.Marker.TRIANGLE_LEFT_FILLED;break;case"triangleRightFilled":t=JMP.Marker.TRIANGLE_RIGHT_FILLED;break;default:t=e}return t},bt=function(e){var t=JMP.ViewStatic.WHICH_NONE;switch(e){case"selected":t=JMP.ViewStatic.WHICH_SELECTED;break;case"all":t=JMP.ViewStatic.WHICH_ALL;break;default:t=JMP.ViewStatic.WHICH_NONE}return t},wt=function(e){var t=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,e.getAttribute("index"));return t&&t.name===undefined?JMP.Column(t):t},Et=function(e,r,i,s,o,u,a,f,l,c,h){var p,d,v,m,g,y,b=null,w=JMP.ScaleStatic.SCALE_LINEAR,E,S;if(!s)return;y=n.indexOf(s),y>=0&&(b=t[y],o&&b.labels&&!JMP.ParserStatic.arraysEqual(o,b.labels)||u&&b.tickLabels&&!JMP.ParserStatic.arraysEqual(u,b.tickLabels)||a&&b.tickOrigins&&!JMP.ParserStatic.arraysEqual(a,b.tickOrigins)||f&&b.tickSpans&&!JMP.ParserStatic.arraysEqual(f,b.tickSpans)||l&&b.tickTotals&&!JMP.ParserStatic.arraysEqual(l,b.tickTotals)||c&&b.axisLabel&&c!==b.axisLabel||h!==undefined&&b.isOrdinal!==undefined&&h!==b.isOrdinal?b=null:(o&&(b.labels=o.slice(0)),u&&(b.tickLabels=u.slice(0)),a&&(b.tickOrigins=a.slice(0)),f&&(b.tickSpans=f.slice(0)),l&&(b.tickTotals=l.slice(0)),c&&(b.axisLabel=c),h!==undefined&&(b.isOrdinal=h)));if(b===null){if(s.hasAttribute("type"))switch(s.getAttribute("type")){case"log":w=JMP.ScaleStatic.SCALE_LOG;break;case"normal":w=JMP.ScaleStatic.SCALE_NORMAL;break;case"geodesic":w=JMP.ScaleStatic.SCALE_GEODESIC;break;case"geodesicUS":w=JMP.ScaleStatic.SCALE_GEODESIC_US;break;case"power":w=JMP.ScaleStatic.SCALE_POWER;break;default:w=JMP.ScaleStatic.SCALE_LINEAR}if(s.hasAttribute("refStyles")){p=s.getAttribute("refStyles").split(","),g=p.length,d=[];for(m=0;m<g;m++)d.push(gt(p[m]))}if(s.hasAttribute("refMaxValues")){E=s.getAttribute("refMaxValues").split(","),S=E.length,v=[];for(m=0;m<S;m++)E[m]!==""&&(v[m]=+E[m])}b=JMP.Scale(s.hasAttribute("origin")?+s.getAttribute("origin"):undefined,s.hasAttribute("width")?+s.getAttribute("width"):s.hasAttribute("length")?+s.getAttribute("length"):undefined,w,JMP.ParserStatic.getFormat(s),s.hasAttribute("widthMajor")?+s.getAttribute("widthMajor"):undefined,s.hasAttribute("nMinor")?+s.getAttribute("nMinor"):undefined,s.hasAttribute("nMinorInit")?+s.getAttribute("nMinorInit"):undefined,s.hasAttribute("refValues")?s.getAttribute("refValues").split(",").map(Number):undefined,v,s.hasAttribute("refColors")?s.getAttribute("refColors").split(","):undefined,d,s.hasAttribute("refWidths")?s.getAttribute("refWidths").split(",").map(Number):undefined,s.hasAttribute("refLabels")?s.getAttribute("refLabels").split("|"):undefined,s.hasAttribute("refAlphas")?s.getAttribute("refAlphas").split(",").map(Number):undefined,s.hasAttribute("base")?+s.getAttribute("base"):undefined,s.hasAttribute("power")?+s.getAttribute("power"):undefined,o?o.slice(0):undefined,u?u.slice(0):undefined,a?a.slice(0):undefined,f?f.slice(0):undefined,l?l.slice(0):undefined,c,h),t.push(b),n.push(s)}!s.hasAttribute("origin")&&!s.hasAttribute("width")&&s.hasAttribute("length")?r||(i.scale[e]=b):i.scale[e]=b},St=function(e,t,n){var r,i,s,o=0,u=0,a,f;if(!e)return;r=JMP.ParserStatic.getAncestor(t,"FrameBox"),s=JMP.ParserStatic.getNearestDescription(t),s&&(e.description=s),e.isHorizontal=t.hasAttribute("isHorizontal")?t.getAttribute("isHorizontal")==="true":!1,r&&(o=r.getAttribute("XScaleID"),a=r.hasAttribute("rightYScaleID")&&t.hasAttribute("isScaledByRightYAxis")&&t.getAttribute("isScaledByRightYAxis")==="true",u=r.getAttribute(a?"rightYScaleID":"YScaleID"),u==="0"&&o==="0"&&(r.hasAttribute("YSizeID")&&(u=r.getAttribute("YSizeID")),r.hasAttribute("XSizeID")&&(o=r.getAttribute("XSizeID")))),n&&(o===u&&(e.adjustPadding=!0),e.isHorizontal?r&&r.hasAttribute("YSizeID")&&(u=r.getAttribute("YSizeID")):r&&r.hasAttribute("XSizeID")&&(o=r.getAttribute("XSizeID"))),o!=="0"&&(i=JMP.ParserStatic.getAncestor(t,"ScaleBox","id",o),Et(JMP.ColumnsStatic.ROLE_X,n,e,i)),u!=="0"&&(i=JMP.ParserStatic.getAncestor(t,"ScaleBox","id",u),Et(JMP.ColumnsStatic.ROLE_Y,n,e,i)),f=JMP.ParserStatic.getAncestor(t,"GraphBuilderComponentBox"),f&&(e.x=f.hasAttribute("x")?+f.getAttribute("x"):0,e.y=f.hasAttribute("y")?+f.getAttribute("y"):0,e.width=f.hasAttribute("width")?+f.getAttribute("width"):0,e.height=f.hasAttribute("height")?+f.getAttribute("height"):0);if(t.hasAttribute("legendModelID")){e.legendModelID=+t.getAttribute("legendModelID"),ft=JMP.ParserStatic.getStorage("legends");if(ft){d=ft.length,I=!1;for(c=0;c<d&&!I;c++)ft[c].modelOffsetMap[e.legendModelID]!==undefined&&(e.legend=ft[c],I=!0)}}t.hasAttribute("legendOffset")&&(e.legendOffset=+t.getAttribute("legendOffset"))},xt=function(e){var t,n=[],r=[];r=JMP.ParserStatic.getDescendants(e,"TextBox");for(t=0;t<r.length;t++)r[t].hasAttribute("text")&&(n[t]=r[t].getAttribute("text"));return n.join(" ")},Tt=function(e,t){var n,r,i;t.hasAttribute("rowStatesIndex")&&(i=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,t.getAttribute("rowStatesIndex")),e.setRowStates(i),n=JMP.ParserStatic.getAncestor(t,"FrameBox"),r=JMP.ParserStatic.getLinked(n,"segments"),r.columns.setRowStates(i,r.onRowStatesEvent))},Nt=function(e){return{type:"LegendCell",showFill:e.hasAttribute("showFill")?e.getAttribute("showFill")==="true":!1,width:e.hasAttribute("width")?+e.getAttribute("width"):-1,showMarker:e.hasAttribute("showMarker")?e.getAttribute("showMarker")==="true":!1,size:e.hasAttribute("size")?+e.getAttribute("size"):1,shape:e.hasAttribute("shape")?yt(e.getAttribute("shape")):JMP.Marker.DOT,color:e.hasAttribute("color")?e.getAttribute("color"):JMP.COLOR_BLACK}},Ct=function(e){return{type:"BarBox",origin:e.hasAttribute("origin")?+e.getAttribute("origin"):0,range:e.hasAttribute("range")?+e.getAttribute("range"):1,value:e.hasAttribute("value")?+e.getAttribute("value"):.5,lower:e.hasAttribute("lower")?+e.getAttribute("lower"):undefined,upper:e.hasAttribute("upper")?+e.getAttribute("upper"):undefined,width:e.hasAttribute("width")?+e.getAttribute("width"):0,cumulativeValue:e.hasAttribute("cumulativeValue")?+e.getAttribute("cumulativeValue"):undefined}},kt=function(e){var t=JMP.TextBoxStatic.ORIENTATION_HORIZONTAL;return e.hasAttribute("orientation")&&(e.getAttribute("orientation")==="left"?t=JMP.TextBoxStatic.ORIENTATION_VERTICAL_LEFT:e.getAttribute("orientation")==="right"?t=JMP.TextBoxStatic.ORIENTATION_VERTICAL_RIGHT:e.getAttribute("orientation")==="slant"?t=JMP.TextBoxStatic.ORIENTATION_SLANT:t=JMP.TextBoxStatic.ORIENTATION_HORIZONTAL),{type:"TextBox",text:e.getAttribute("text"),height:e.hasAttribute("height")?+e.getAttribute("height"):0,width:e.hasAttribute("width")?+e.getAttribute("width"):0,orientation:t,color:e.hasAttribute("color")?e.getAttribute("color"):"#000000",isBulleted:e.hasAttribute("isBulleted")?e.getAttribute("isBulleted")==="true":!1,align:e.hasAttribute("align")?e.getAttribute("align"):"right",isHidden:e.hasAttribute("isHidden")?e.getAttribute("isHidden")==="true":!1}},Lt=function(e){return{type:e.nodeName,text:e.childNodes[0]?e.childNodes[0].nodeValue:"",style:e.hasAttribute("style")?e.getAttribute("style"):""}},At=function(e,t,n,r){var i,s,o,u,a,f,l,c,h,p;o=e.childNodes.length,t.splice(0,t.length),n.splice(0,n.length),r.splice(0,r.length);for(i=0;i<o;i++){a=e.childNodes[i],l=[],c=[],u=a.childNodes.length;for(s=0;s<u;s++)f=a.childNodes[s],c[s]=f.hasAttribute&&f.hasAttribute("colspan")?+f.getAttribute("colspan"):1,h=f.childNodes[0],p=h?h.nodeName:"",p==="LegendCell"?l.push(Nt(h)):p==="BarBox"?l.push(Ct(h)):p==="TextBox"?l.push(kt(h)):l.push(Lt(f));t.push(l),n[i]=c}},Ot=function(e,t,n,r){var i,s,o,u,a=e.nodeName,f=n;f||(f=e.childNodes);if(a==="IfBox"||a==="IfSegment")if(e.hasAttribute("condition")&&e.getAttribute("condition")==="false")return;s=f.length;for(i=0;i<s;i++)u=f[i],a=u.nodeName,a==="Annotation"&&u.hasAttribute("isTip")||a==="BarSegment"||a==="BoxPlotSegment"||a==="BubblePlotSegment"||a==="GridReferenceSegment"||a==="HistogramSegment"||a==="IMG"||a==="INPUT"||a==="LabelSegment"||a==="LegendBox"||a==="LineSegment"||a==="MarkerSegment"||a==="MosaicSegment"||a==="NumberBox"||a==="PictSegment"||a==="PolySegment"||a==="ProfileSegment"||a==="RectSegment"||a==="ScriptSegment"||a==="ShapeSegment"||a==="SpacerBox"||a==="TABLE"||a==="TextBox"||a==="TextSegment"?(o=JMP.ParserStatic.getLinked(u,"segments"),t.contents.push(o),(a==="BubblePlotSegment"||a==="MarkerSegment"||a==="ScriptSegment")&&o.addEventListener(t.onSegmentEvent),a==="ProfileSegment"&&(o.addEventListener(t.onSegmentEvent),t.isBrushingEnabled=!1,o.id===0&&(o.menuHandler=r.menuHandler,o.menuProvider=r.menuProvider),o.setAdaptYAxis(r.isAdaptYAxis),r.profiles.push(o))):Ot(u,t)},Mt=function(e){return e===null?null:+e},_t=function(e,t){var n=JMP.Term(),r;return e.hasAttribute("columnIndex")&&(r=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,e.getAttribute("columnIndex")),n.column=r),e.hasAttribute("nLevels")&&(n.nLevels=+e.getAttribute("nLevels")),e.hasAttribute("scoreIndex")&&(n.score=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,e.getAttribute("scoreIndex"))),e.hasAttribute("charLevelsIndex")&&(n.charLevels=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,e.getAttribute("charLevelsIndex"))),e.hasAttribute("numLevelsIndex")&&(n.numLevels=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,e.getAttribute("numLevelsIndex"))),e.hasAttribute("charValuesIndex")&&(n.charValues=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,e.getAttribute("charValuesIndex"))),e.hasAttribute("rowColorIndex")&&(n.rowColor=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,e.getAttribute("rowColorIndex"))),e.hasAttribute("rowValueIndex")&&(n.rowValue=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,e.getAttribute("rowValueIndex"))),e.hasAttribute("colorLevelsIndex")&&(n.colorLevels=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,e.getAttribute("colorLevelsIndex"))),e.hasAttribute("min")&&(n.min=+e.getAttribute("min")),e.hasAttribute("max")&&(n.max=+e.getAttribute("max")),n.numLevels&&r.type===JMP.VariableStatic.TYPE_NUMBER&&(n.nRanges=n.nLevels,n.rangeMin=n.numLevels.map(Mt)),n.isMissingScored=t!==undefined?t:!1,n},Dt=function(e,t,n){var r,i,s,o,u,a=[];i=JMP.ParserStatic.getDescendants(e,"Term"),o=i.length;for(s=0;s<o;s++)r=i[s],r.hasAttribute("role")&&r.getAttribute("role")===t&&(u=_t(r,n),a.push(u));return a},Pt=function(e,t,n){var r=Dt(e,t,n);return r.length>0?r[0]:undefined
},Ht=function(t){var n=new window.DOMParser,r,i={},s,o,u=new RegExp(JMP.SEPARATOR,"g"),a="__SSSSSSSSSSSSSSSSSSSS__";t=t.replace(u,a),r=n.parseFromString(t,"text/xml").firstChild,i.name=r.getAttribute("name"),i.min=+r.getAttribute("min"),i.max=+r.getAttribute("max"),i.dataLevel=e.getDataLevel(r.getAttribute("dataLevel")),i.isStringData=r.getAttribute("type")==="character";if(r.nodeName==="XTerm"){if(r.firstChild){i.levels=r.firstChild.childNodes[0].nodeValue.split(a);if(!i.isStringData)for(s=0;s<i.levels.length;s++)i.levels[s]=+i.levels[s]}r.childNodes[1]&&(i.valueLabels=r.childNodes[1].childNodes[0].nodeValue.split(a)),i.isStringData?i.initialValue=r.getAttribute("initialValue"):i.initialValue=+r.getAttribute("initialValue"),i.locked=r.getAttribute("locked")==="true",r.hasAttribute("mixtureSum")&&(i.mixtureSum=+r.getAttribute("mixtureSum"),i.mixtureLower=+r.getAttribute("mixtureLower"),i.mixtureUpper=+r.getAttribute("mixtureUpper"))}else{o=r.firstChild.childNodes;for(s=0;s<o.length&&!i.formulaDOM;s++)o[s].nodeType!==window.Node.TEXT_NODE&&(o[s].nodeName!=="apply"?(i.formulaDOM=document.createElement("apply"),i.formulaDOM.appendChild(o[s])):i.formulaDOM=o[s])}return i},Bt=function(e){var t,n,r,i,s,o=[],u=[],a=[],f=[],l,h,p,v,g,y,b,w,E,S,x,T,N,C,L,A,O,M,_,D=[],P=[],H=[],B,j,F,I,q,R,U,z,W,X,V,$=0,J=0,K,Q,G,Y,Z,et,tt,nt,rt,it=[],st,ot,ut={},at=[],ft,lt={},ct,ht,pt,dt,vt,mt,gt,yt=[],bt=function(e){var t,n=e?e.length:0,r=!1;for(t=0;t<n&&!r;t++)r=e[t].indexOf(" - ")>=0;return r},Et=function(e,t){var n=!1;if(t)switch(e){case"BarSegment":n=t.kind==="bar";break;case"BoxPlotSegment":n=t.kind==="boxplot";break;case"HistogramSegment":n=t.kind==="histogram";break;case"LineSegment":n=t.kind==="line"||t.kind==="regression"||t.kind==="smoother";break;case"MarkerSegment":n=t.kind==="points";break;case"MosaicSegment":n=t.kind==="mosaic";break;case"PolySegment":n=t.kind==="area"||t.kind==="contour";break;case"RectSegment":n=t.kind==="heatmap";break;case"ShapeSegment":n=t.kind==="shapes";break;case"TextSegment":n=t.kind==="caption";break;default:}return n};m=JMP.ParserStatic.getDescendants(e,"GraphBuilderGroupBox"),x=m.length;for(t=0;t<x;t++){y=JMP.ParserStatic.getLinked(m[t],"segments"),ct=!1;for(n=0;n<o.length&&!ct;n++)ct=y.title===o[n].title&&y.isHorizontal===o[n].isHorizontal&&JMP.ParserStatic.arraysEqual(y.formattedLevels,o[n].formattedLevels)&&JMP.ParserStatic.arraysEqual(y.levels,o[n].levels);ct||o.push(y)}x=o.length,N=1,C=1;for(t=0;t<x;t++)y=o[t],b=y.columns.getColumn(JMP.ColumnsStatic.ROLE_GROUP),y.layout===JMP.GroupBoxStatic.LAYOUT_PAGE?(j=!0,y.title&&f.push(y)):y.layout===JMP.GroupBoxStatic.LAYOUT_WRAP?(F=!0,y.levels&&f.push(y)):y.isHorizontal?(u.push(y),N*=y.levels?y.levels.length:1):(a.push(y),C*=y.levels?y.levels.length:1);o=u.concat(a),x=o.length,j?C*=f.length:F&&(N=f.length);if(j){p=!1,b=undefined,B=[],T=f.length;for(t=0;t<T;t++){y=f[t],w=y.title.slice(y.title.indexOf("=")+2),n=w.indexOf(" - "),n>=0&&(w=w.slice(0,n),p=!0),b=y.columns.getColumn(JMP.ColumnsStatic.ROLE_GROUP);if(p)t<T-1?(h=f[t+1].title.slice(f[t+1].title.indexOf("=")+2),n=h.indexOf(" - "),n>=0&&(h=h.slice(0,n))):h="Infinity",B.push([+w,+h]);else{r=-1;if(b.valueLabels){G=JMP.UniqueStatic.getValues([b])[0],Y=G.length;for(n=0;n<Y&&r<0;n++)b.valueLabels[G[n]]===w&&(r=n)}r>=0?B.push(G[r]):b.type===JMP.VariableStatic.TYPE_NUMBER?B.push(Mt(w)):B.push(w)}}D.push(b),P.push(B),H.push(p)}for(t=0;t<x;t++){B=[],y=o[t],b=y.columns.getColumn(JMP.ColumnsStatic.ROLE_GROUP),p=b.type===JMP.VariableStatic.TYPE_NUMBER&&bt(y.formattedLevels),T=y.levels?y.levels.length:0;for(n=0;n<T;n++)w=y.levels[n],p?B.push([+w,n<T-1?+y.levels[n+1]:Infinity]):b.type===JMP.VariableStatic.TYPE_NUMBER?B.push(Mt(w)):B.push(w);D.push(b),P.push(B),H.push(p)}if(F){p=!1,b=undefined,B=[],T=f.length;for(t=0;t<T;t++)y=f[t],w=y.levels[0],y.formattedLevels&&(p=bt(y.formattedLevels)),b=y.columns.getColumn(JMP.ColumnsStatic.ROLE_GROUP),p?(t<T-1&&f[t+1].formattedLevels?h=f[t+1].levels[0]:h="Infinity",B.push([+w,+h])):b.type===JMP.VariableStatic.TYPE_NUMBER?B.push(Mt(w)):B.push(w);D.push(b),P.push(B),H.push(p)}I=e.hasAttribute("hasMissingLevels")&&e.getAttribute("hasMissingLevels")==="true",D.length>0&&(S=JMP.Group(D,{includeMissing:I},P,H)),W=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,e.getAttribute("freqIndex")),X=Pt(e,"Overlay",I),V=Pt(e,"Shape",I),it=JMP.ParserStatic.getDescendants(e,"GraphBuilderElement"),st=it.length;for(t=0;t<st;t++){ot=it[t],ut={},ut.kind=ot.getAttribute("kind"),ot.hasAttribute("statistic")&&(ut.statistic=ot.getAttribute("statistic")),ot.hasAttribute("errorStatistic")&&(ut.errorStatistic=ot.getAttribute("errorStatistic")),ot.hasAttribute("responseAxis")&&(ut.responseAxis=ot.getAttribute("responseAxis")),ut.colorTerm=Pt(ot,"Color",I),ut.sizeTerm=Pt(ot,"Size",I),ut.columns=JMP.Columns(),ut.xCharLevels=[],ut.yCharLevels=[],m=ot.childNodes,d=m.length;for(c=0;c<d;c++)m[c].nodeName==="X"?(ut.columns.addColumn(wt(m[c]),JMP.ColumnsStatic.ROLE_X),$++):m[c].nodeName==="Y"?(ut.columns.addColumn(wt(m[c]),JMP.ColumnsStatic.ROLE_Y),J++):m[c].nodeName==="Term"&&(m[c].getAttribute("role")==="X"?(K=_t(m[c],I),K.charLevels&&(ut.xCharLevels[$]=K.charLevels),ut.columns.addColumn(K.column,JMP.ColumnsStatic.ROLE_X),$++):m[c].getAttribute("role")==="Y"&&(Q=_t(m[c],I),Q.charLevels&&(ut.yCharLevels[J]=Q.charLevels),ut.columns.addColumn(Q.column,JMP.ColumnsStatic.ROLE_Y),J++));at.push(ut)}i=JMP.ParserStatic.getDescendants(e,"FrameBox"),L=i.length,E=JMP.ParserStatic.getLinked(i[0],"segments");if(E.width<10||E.height<10)for(t=0;t<L;t++)E=JMP.ParserStatic.getLinked(i[t],"segments"),E.lineColor="#b8c2c9";if(F)O=C,A=L/O;else{E=JMP.ParserStatic.getLinked(i[0],"segments"),l=E.y,A=0;for(t=0;t<L;t++)E=JMP.ParserStatic.getLinked(i[t],"segments"),E.y===l&&A++;O=L/A}M=A/N>>0,_=O/C>>0,R=[],m=JMP.ParserStatic.getDescendants(e,"GraphBuilderElement"),s=m.length;for(n=0;n<s;n++)g=m[n],g.hasAttribute("responseAxis")&&g.getAttribute("responseAxis")==="X"?g=JMP.ParserStatic.getDescendant(g,"Y"):g=JMP.ParserStatic.getDescendant(g,"X"),g&&(r=+g.getAttribute("index"),R.indexOf(r)<0&&R.push(r));U=R.length;if(U>1&&!F&&!j){v=i.concat(),i=[],t=0;while(t<L){E=JMP.ParserStatic.getLinked(v[0],"segments"),l=E.x,i.push(v[0]),v.splice(0,1),t++,n=0;while(n<v.length)E=JMP.ParserStatic.getLinked(v[n],"segments"),E.x===l?(i.push(v[n]),v.splice(n,1),t++):n++}}for(t=0;t<L;t++){F||j?(ht=(t/(A*_)>>0)*N+(t%A/M>>0),pt=t%M):N>1||C>1?(ht=(t/(O*M)>>0)*C+(t%O/_>>0),pt=t%_):(ht=0,pt=t),q=U>1?(N>1?t%M:t)/(O*_)>>0:0,!F&&!j&&N===1&&C===1&&L===U&&(q=0),pt===0&&(vt=[]),vt[pt]=[],dt=0,m=i[t].childNodes,s=m.length;for(n=0;n<s;n++){g=m[n],E=JMP.ParserStatic.getLinked(g,"segments");switch(g.nodeName){case"BarSegment":case"BoxPlotSegment":case"HistogramSegment":case"LineSegment":case"MarkerSegment":case"MosaicSegment":case"PolySegment":case"RectSegment":case"ShapeSegment":case"TextSegment":E.groupCalculation=S,E.groupIndex=ht,mt=g.nodeName,g.hasAttribute("isScaledByRightYAxis")&&g.getAttribute("isScaledByRightYAxis")==="true"&&(mt+="scaledByRightYAxis"),lt[mt]?lt[mt]++:lt[mt]=1,dt=vt[pt].indexOf(mt),dt<0&&(g.nodeName==="MarkerSegment"&&vt[pt].indexOf("BoxPlotSegment")>=0?dt=vt[pt].indexOf("BoxPlotSegment"):g.nodeName==="BarSegment"&&g.getAttribute("style")==="interval"&&JMP.ParserStatic.getDescendants(g,"Y").length===1&>?dt=vt[pt].indexOf(gt):(vt[pt].push(mt),dt=vt[pt].length-1));for(r=0;r<pt;r++)dt+=vt[r].length;ft=vt[pt].length*q+dt,(F||j)&&g.nodeName==="RectSegment"&&(ft=dt),ut=at[ft];if(!Et(mt,ut)){ft=0;for(r=0;r<st&&ft<lt[mt];r++)Et(mt,at[r])&&(ut=at[r],ft++)}if(ut&&ut.statistic){switch(ut.statistic){case"sum":z=JMP.DescriptiveStatic.STAT_SUM;break;case"mean":z=JMP.DescriptiveStatic.STAT_MEAN;break;case"min":z=JMP.DescriptiveStatic.STAT_MIN;break;case"max":z=JMP.DescriptiveStatic.STAT_MAX;break;case"range":z=JMP.DescriptiveStatic.STAT_RANGE;break;case"percent":z=JMP.DescriptiveStatic.STAT_PERCENT;break;case"median":z=JMP.DescriptiveStatic.STAT_MEDIAN;break;case"iqr":z=JMP.DescriptiveStatic.STAT_IQR;break;case"std":z=JMP.DescriptiveStatic.STAT_STD;break;case"sem":z=JMP.DescriptiveStatic.STAT_SEM;break;case"variance":z=JMP.DescriptiveStatic.STAT_VARIANCE;break;case"n":z=JMP.DescriptiveStatic.STAT_N;break;case"geometricMean":z=JMP.DescriptiveStatic.STAT_GEOMETRIC_MEAN;break;default:z=JMP.DescriptiveStatic.STAT_NONE}E.statistic=z}if(ut&&ut.errorStatistic&&g.nodeName==="BarSegment"){switch(ut.errorStatistic){case"range":z=JMP.DescriptiveStatic.STAT_RANGE;break;case"std":z=JMP.DescriptiveStatic.STAT_STD;break;case"sem":z=JMP.DescriptiveStatic.STAT_SEM;break;case"confidence":z=JMP.DescriptiveStatic.STAT_CONFIDENCE;break;default:z=JMP.DescriptiveStatic.STAT_NONE}E.errorStatistic=z}ut&&(g.nodeName==="LineSegment"||g.nodeName==="MarkerSegment"||g.nodeName==="PolySegment")&&(E.isStatisticForY=ut.responseAxis?ut.responseAxis==="Y":!0),ut&&g.nodeName==="PolySegment"&&ut.kind==="contour"&&(E.isViolinPlot=!0);if(ut){et=ut.kind==="bar"&&g.nodeName==="BarSegment",tt=ut.kind==="points"&&g.nodeName==="MarkerSegment",nt=ut.kind==="mosaic"&&g.nodeName==="MosaicSegment",rt=ut.kind==="heatmap"&&g.nodeName==="RectSegment";if((et||tt||nt||rt)&&E.columns){Z=JMP.ColumnsStatic.ROLE_X,k=ut.columns.getColumns(Z),d=k.length;if(d>0){(et||nt)&&E.isHorizontal&&(Z=JMP.ColumnsStatic.ROLE_Y);if(E.columns.getColumns(Z).length!==1){E.columns.removeColumns(Z);for(c=0;c<d;c++)E.columns.addColumn(k[c],Z)}}Z=JMP.ColumnsStatic.ROLE_Y,k=ut.columns.getColumns(Z),d=k.length;if(d>0){(et||nt)&&E.isHorizontal&&(Z=JMP.ColumnsStatic.ROLE_X);if(E.columns.getColumns(Z).length!==1){E.columns.removeColumns(Z);for(c=0;c<d;c++)E.columns.addColumn(k[c],Z)}}nt&&(E.xCharLevels=E.isHorizontal?ut.yCharLevels:ut.xCharLevels,E.yCharLevels=E.isHorizontal?ut.xCharLevels:ut.yCharLevels)}}ut&&rt&&(E.heatmapScalesMap=yt),E.hasMissingLevels=I,W&&E.columns&&E.columns.addColumn(W,JMP.ColumnsStatic.ROLE_FREQ),X&&(E.overlayTerm=X),V&&(E.shapeTerm=V),ut&&ut.colorTerm&&(E.colorTerm=ut.colorTerm,E.columns&&E.columns.addColumn(E.colorTerm.column,JMP.ColumnsStatic.ROLE_COLOR)),ut&&ut.sizeTerm&&(E.sizeTerm=ut.sizeTerm,E.columns&&E.columns.addColumn(E.sizeTerm.column,JMP.ColumnsStatic.ROLE_SIZE)),gt=mt;break;default:}}}},jt=function(e,t){var n,r=t.length,i,s,o;if(e.parentNode.nodeName!=="LineUpBox")for(n=0;n<r;n++)i=t[n],s=JMP.ParserStatic.getLinked(i,"segments"),e.hasAttribute("isHorizontal")&&e.getAttribute("isHorizontal")==="true"?(o=Math.max(+e.getAttribute("width"),+i.getAttribute("width")),i.setAttribute("width",o),s&&(s.width=o)):(o=Math.max(+e.getAttribute("height"),+i.getAttribute("height")),i.setAttribute("height",o),s&&(s.height=o))};b=null;if(l){switch(l.nodeName){case"AxisBox":case"NominalAxisBox":b=l.nodeName==="AxisBox"?JMP.AxisBox(a):JMP.NominalAxisBox(a),St(b,l,!1),l.hasAttribute("isFlipped")&&l.getAttribute("isFlipped")==="true"&&(b.isFlipped=!0);if(l.nodeName==="AxisBox"){b.padBefore=+l.getAttribute("padBefore")||0,b.padAfter=+l.getAttribute("padAfter")||0,m=[],j=JMP.ParserStatic.getDescendants(l,"TextBox"),d=j.length;for(c=0;c<d;c++)(j[c].parentNode.nodeName!=="IfBox"||j[c].parentNode.getAttribute("condition")==="true")&&m.push(j[c]);d=m.length;for(c=0;c<d;c++)e.create(a,m[c]);Ot(l,b,m),d=b.contents.length;if(d>0){V="";for(c=0;c<d;c++)b.contents[c].text&&(!f(l,"ProfileSegment")||b.contents[c].color!==o&&b.contents[c].color!==u)&&(c>0&&V!==""&&(V+=" "),V+=b.contents[c].text)}V||(A=JMP.ParserStatic.getSibling(l,"CenterBox"),!A&&l.parentNode.nodeName==="BorderBox"&&(A=JMP.ParserStatic.getSibling(l.parentNode,"CenterBox")),A&&(V=xt(A),jt(l,JMP.ParserStatic.getDescendants(A,"TextBox")))),V||(M=JMP.ParserStatic.getSibling(l,"DropBox",!0),M&&(O=JMP.ParserStatic.getDescendant(M,"BorderBox"),O&&(D=JMP.ParserStatic.getDescendant(O,"TextBox"),D&&(V=xt(D))))),V||l.parentNode.nodeName==="ListBox"&&(_=l.parentNode,O=JMP.ParserStatic.getSibling(_,"BorderBox",!0),O&&O.firstChild&&O.firstChild.nodeName==="TextBox"&&(D=O.firstChild,V=xt(D)));if(!V){_=JMP.ParserStatic.getSibling(l,"ListBox",!1),_||(_=l.parentNode);if(_.childNodes){m=_.childNodes,d=m.length;for(c=d-1;c>=0;c--)m[c].nodeName==="BorderBox"&&(O=m[c],O.firstChild&&O.firstChild.nodeName==="MouseBox"&&O.firstChild.firstChild&&O.firstChild.firstChild.nodeName==="DropBox"&&O.firstChild.firstChild.firstChild&&O.firstChild.firstChild.firstChild.nodeName==="TextBox"?D=O.firstChild.firstChild.firstChild:O.firstChild&&O.firstChild.nodeName==="TextBox"?D=O.firstChild:D=undefined,D&&(V?V+=JMP.ViewStatic.NESTED_AXIS_DELIMITER+xt(D):V=xt(D)))}}V||(D=JMP.ParserStatic.getSibling(l,"TextBox",!0),!D&&l.nextSibling&&l.nextSibling.nodeName==="TextBox"&&(D=l.nextSibling),D&&(V=xt(D))),V||l.parentNode.nodeName==="GraphBuilderAxisBox"&&(P=l.parentNode.parentNode.previousSibling,P&&P.firstChild&&P.firstChild.nodeName==="GraphBuilderTitleBox"&&(A=P.firstChild.firstChild,A&&(V=xt(A)))),S=JMP.ParserStatic.getAncestor(l,"ScaleBox","id",l.getAttribute("XScaleID")),S&&S.hasAttribute("origin")&&S.hasAttribute("width")?E=S:E=JMP.ParserStatic.getAncestor(l,"ScaleBox","id",l.getAttribute("YScaleID"));if(E.hasAttribute("labelIndices")){q=[],v=E.getAttribute("labelIndices").split(","),d=v.length;for(c=0;c<d;c++)q.push(JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,+v[c]))}if(E.hasAttribute("tickLabelIndices")){U=[],v=E.getAttribute("tickLabelIndices").split(","),d=v.length;for(c=0;c<d;c++)U.push(JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,+v[c]))}E.hasAttribute("tickOrigins")&&(z=E.getAttribute("tickOrigins").split(",").map(Number)),W=E.hasAttribute("tickSpans")?JSON.parse(E.getAttribute("tickSpans")):undefined;if(W){ht=!1,X=[];for(c=0;c<W.length;c++){d=0,pt=W[c][0];for(h=0;h<W[c].length;h++)d+=W[c][h],W[c][h]!==pt&&(ht=!0);X.push(d)}ht||(X=undefined)}Et(E===S?JMP.ColumnsStatic.ROLE_X:JMP.ColumnsStatic.ROLE_Y,!1,b,E,q,U,z,W,X,V,!1),E.hasAttribute("type")&&(E.getAttribute("type")==="geodesic"||E.getAttribute("type")==="geodesicUS")&&(x=JMP.ParserStatic.getAncestor(E.parentNode,"ScaleBox","type","geodesic"),x||(x=JMP.ParserStatic.getAncestor(E.parentNode,"ScaleBox","type","geodesicUS")),x||(x=JMP.ParserStatic.getAncestor(l,"ScaleBox","type","geodesic")),x||(x=JMP.ParserStatic.getAncestor(l,"ScaleBox","type","geodesicUS")),x===E&&(x=undefined),x&&Et(E===S?JMP.ColumnsStatic.ROLE_Y:JMP.ColumnsStatic.ROLE_X,!1,b,x)),E.hasAttribute("tickSizes")&&(b.tickSizes=E.getAttribute("tickSizes").split(",").map(Number));if(E.hasAttribute("tickOrientations")){b.tickOrientations=[],v=E.getAttribute("tickOrientations").split(","),d=v.length;for(c=0;c<d;c++){if(f(l,"ProfileSegment"))h=undefined;else switch(v[c]){case"left":h=JMP.TextBoxStatic.ORIENTATION_VERTICAL_LEFT;break;case"right":h=JMP.TextBoxStatic.ORIENTATION_VERTICAL_RIGHT;break;case"horizontal":h=JMP.TextBoxStatic.ORIENTATION_HORIZONTAL;break;case"slant":h=JMP.TextBoxStatic.ORIENTATION_SLANT;break;case"parallel":h=b.isHorizontal?JMP.TextBoxStatic.ORIENTATION_HORIZONTAL:JMP.TextBoxStatic.ORIENTATION_VERTICAL_LEFT;break;case"perpendicular":h=b.isHorizontal?JMP.TextBoxStatic.ORIENTATION_VERTICAL_LEFT:JMP.TextBoxStatic.ORIENTATION_HORIZONTAL;break;default:h=undefined}b.tickOrientations.push(h)}}if(E.hasAttribute("hideMajorTicks")){b.hideMajorTicks=[],v=E.getAttribute("hideMajorTicks").split(","),d=v.length;for(c=0;c<d;c++)b.hideMajorTicks.push(v[c]==="true")}if(E.hasAttribute("hideMinorTicks")){b.hideMinorTicks=[],v=E.getAttribute("hideMinorTicks").split(","),d=v.length;for(c=0;c<d;c++)b.hideMinorTicks.push(v[c]==="true")}if(E.hasAttribute("hideTickLabels")){b.hideTickLabels=[],v=E.getAttribute("hideTickLabels").split(","),d=v.length;for(c=0;c<d;c++)b.hideTickLabels.push(v[c]==="true")}if(E.hasAttribute("type")&&(E.getAttribute("type")==="geodesic"||E.getAttribute("type")==="geodesicUS")&&x&&x.hasAttribute("type")&&(x.getAttribute("type")==="geodesic"||x.getAttribute("type")==="geodesicUS")){I=!1,E.hasAttribute("width")&&E.hasAttribute("length")&&x&&x.hasAttribute("width")&&x.hasAttribute("length")&&Math.abs(+E.getAttribute("width")/+E.getAttribute("length"))<.01&&Math.abs(+x.getAttribute("width")/+x.getAttribute("length"))<.01&&(I=!0);if(!I){m=JMP.ParserStatic.getDescendants(E,"GridReferenceSegment",!0),d=m.length;for(c=0;c<d&&!I;c++)if(E===S&&m[c].getAttribute("showMajorGridsX")==="true"||E!==S&&m[c].getAttribute("showMajorGridsY")==="true")I=!0}I||(b.isRange=!0,b.padBefore=0,b.padAfter=0,b.tickOrientations=[b.isHorizontal?JMP.TextBoxStatic.ORIENTATION_HORIZONTAL:JMP.TextBoxStatic.ORIENTATION_VERTICAL_LEFT])}E!==S&&f(l,"BubblePlotSegment")&&(d=3,b.padBefore>d&&(b.padBefore=d),b.padAfter>d&&(b.padAfter=d));if(f(l,"ProfileSegment")){b.width=+l.getAttribute("width"),b.height=+l.getAttribute("height"),tt=b.scale[JMP.ColumnsStatic.ROLE_X],rt=JMP.ParserStatic.getStorage("segments"),d=rt.length;for(h=0;h<d;h++)if(rt[h].getXReferenceVariable&&rt[h].scale[JMP.ColumnsStatic.ROLE_X]===tt){b.isRange=!rt[h].isCategorical(),b.hideReferenceTicks=!0,rt[h].xAxis=b;for(p=0;p<b.contents.length;p++){it=b.contents[p];if(it.text&&it.color&&(it.color===o||it.color===u)){b.contents.splice(p,1);break}}break}}}else q=l.hasAttribute("labelIndex")?[JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,l.getAttribute("labelIndex"))]:undefined,U=q,W=l.hasAttribute("weightIndex")?[JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,l.getAttribute("weightIndex"))]:undefined,X=[l.hasAttribute("total")?+l.getAttribute("total"):0],V=xt(l),V||(A=JMP.ParserStatic.getSibling(l,"CenterBox"),!A&&l.parentNode.nodeName==="BorderBox"&&(A=JMP.ParserStatic.getSibling(l.parentNode,"CenterBox")),A&&(V=xt(A),jt(l,JMP.ParserStatic.getDescendants(A,"TextBox")))),V||(D=JMP.ParserStatic.getSibling(l,"TextBox",!1),D&&(V=xt(D))),L=l.hasAttribute("XScaleID")?l.getAttribute("XScaleID"):l.hasAttribute("XSizeID")?l.getAttribute("XSizeID"):"0",E=JMP.ParserStatic.getAncestor(l,"ScaleBox","id",L),Et(JMP.ColumnsStatic.ROLE_X,!1,b,E,q,U,undefined,W,X,V,!0),E=JMP.ParserStatic.getAncestor(l,"ScaleBox","id",l.hasAttribute("YScaleID")?l.getAttribute("YScaleID"):l.hasAttribute("YSizeID")?l.getAttribute("YSizeID"):"0"),Et(JMP.ColumnsStatic.ROLE_Y,!1,b,E,q,U,undefined,W,X,V,!0),b.hideTicks=l.hasAttribute("hideTicks")&&l.getAttribute("hideTicks")==="true",l.hasAttribute("tickOrientation")&&(b.ticksRotated=l.getAttribute("tickOrientation")==="vertical"),l.hasAttribute("labelColors")&&(b.labelColors=l.getAttribute("labelColors").split(",")),l.hasAttribute("labelWeights")&&(b.labelWeights=l.getAttribute("labelWeights").split(",")),l.hasAttribute("labelStyles")&&(b.labelStyles=l.getAttribute("labelStyles").split(","));break;case"BarSegment":b=JMP.BarSegment(a),St(b,l,!1),k=JMP.Columns(),m=JMP.ParserStatic.getDescendants(l,"X"),d=m.length;for(c=0;c<d;c++)k.addColumn(wt(m[c]),JMP.ColumnsStatic.ROLE_X);m=JMP.ParserStatic.getDescendants(l,"Y"),d=m.length;for(c=0;c<d;c++)k.addColumn(wt(m[c]),JMP.ColumnsStatic.ROLE_Y);m=JMP.ParserStatic.getDescendants(l,"LabeledColumn"),d=m.length;for(c=0;c<d;c++)k.addColumn(wt(m[c]),JMP.ColumnsStatic.ROLE_LABEL);m=JMP.ParserStatic.getDescendants(l,"YInterval"),d=m.length,d>0&&(b.yInterval=[]);for(c=0;c<d;c++)b.yInterval.push(JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,m[c].getAttribute("index")));Tt(k,l),b.columns=k,l.hasAttribute("fillColors")&&(b.fillColors=l.getAttribute("fillColors").split(","));switch(l.getAttribute("style")){case"bullet":b.style=JMP.BarSegmentStatic.STYLE_BULLET;break;case"interval":b.style=JMP.BarSegmentStatic.STYLE_INTERVAL;break;case"nested":b.style=JMP.BarSegmentStatic.STYLE_NESTED;break;case"range":b.style=JMP.BarSegmentStatic.STYLE_RANGE;break;case"stack":b.style=JMP.BarSegmentStatic.STYLE_STACK;break;default:b.style=JMP.BarSegmentStatic.STYLE_SIDE_BY_SIDE}switch(l.getAttribute("labeling")){case"value":b.labeling=JMP.BarSegmentStatic.LABELING_VALUE;break;case"percent":b.labeling=JMP.BarSegmentStatic.LABELING_PERCENT;break;case"rowLabel":b.labeling=JMP.BarSegmentStatic.LABELING_ROW_LABEL,b.rowLabels=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,l.getAttribute("rowLabelIndex"));break;default:b.labeling=JMP.BarSegmentStatic.LABELING_NONE}break;case"BoxPlotSegment":b=JMP.BoxPlotSegment(a),St(b,l,!1);switch(l.getAttribute("graphType")){case"quantile":b.graphType=JMP.BoxPlotSegmentStatic.TYPE_QUANTILE;break;case"solid":b.graphType=JMP.BoxPlotSegmentStatic.TYPE_SOLID;break;case"thin":b.graphType=JMP.BoxPlotSegmentStatic.TYPE_THIN;break;default:b.graphType=JMP.BoxPlotSegmentStatic.TYPE_OUTLIER}b.lineStyle=l.hasAttribute("lineStyle")?gt(l.getAttribute("lineStyle")):JMP.LineSegmentStatic.PATTERN_SOLID,b.boxWidth=+l.getAttribute("width"),b.position=+l.getAttribute("position"),b.lineColor=l.getAttribute("lineColor"),l.hasAttribute("shortestHalfLineColor")&&(b.shortestHalfLineColor=l.getAttribute("shortestHalfLineColor")),l.hasAttribute("showFences")&&(b.showFences=l.getAttribute("showFences")==="true"),l.hasAttribute("showFill")&&(b.showFill=l.getAttribute("showFill")==="true"),l.hasAttribute("showMeansDiamond")&&(b.showMeansDiamond=l.getAttribute("showMeansDiamond")==="true"),l.hasAttribute("showShortestHalf")&&(b.showShortestHalf=l.getAttribute("showShortestHalf")==="true"),l.hasAttribute("alpha")&&(b.alpha=+l.getAttribute("alpha")),l.hasAttribute("lineWidth")&&(b.lineWidth=+l.getAttribute("lineWidth")),l.hasAttribute("fillColor")&&(b.fillColor=l.getAttribute("fillColor")),b.quantiles=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,l.childNodes[0].getAttribute("index")),b.moments=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,l.childNodes[1].getAttribute("index")),b.adjacents=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,l.childNodes[2].getAttribute("index"));break;case"BubblePlotSegment":b=JMP.BubblePlotSegment(a),St(b,l,!1),l.hasAttribute("id")&&(b.id=+l.getAttribute("id")),l.hasAttribute("sizeMin")&&(b.sizeMin=+l.getAttribute("sizeMin")),l.hasAttribute("sizeMax")&&(b.sizeMax=+l.getAttribute("sizeMax")),l.hasAttribute("sizeScale")&&(b.sizeScale=+l.getAttribute("sizeScale")),l.hasAttribute("timePos")&&(b.timePos=+l.getAttribute("timePos")),l.hasAttribute("timeLabelXOffset")&&(b.timeLabelXOffset=+l.getAttribute("timeLabelXOffset")),l.hasAttribute("timeLabelYOffset")&&(b.timeLabelYOffset=+l.getAttribute("timeLabelYOffset")),l.hasAttribute("isTimeLabelVisible")&&(b.isTimeLabelVisible=l.getAttribute("isTimeLabelVisible")==="true"),b.whichLabeled=bt(l.getAttribute("whichLabeled")),b.trailBubbles=bt(l.getAttribute("trailBubbles")),b.trailLines=bt(l.getAttribute("trailLines")),l.hasAttribute("isFilled")&&(b.isFilled=l.getAttribute("isFilled")==="true"),l.hasAttribute("isOutlined")&&(b.isOutlined=l.getAttribute("isOutlined")==="true"),l.hasAttribute("isXMean")&&(b.isXMean=l.getAttribute("isXMean")==="true"),l.hasAttribute("isYMean")&&(b.isYMean=l.getAttribute("isYMean")==="true"),l.hasAttribute("isSizeMean")&&(b.isSizeMean=l.getAttribute("isSizeMean")==="true"),l.hasAttribute("isColorMean")&&(b.isColorMean=l.getAttribute("isColorMean")==="true"),l.hasAttribute("isSelectableAcrossGaps")&&(b.isSelectableAcrossGaps=l.getAttribute("isSelectableAcrossGaps")==="true");if(l.hasAttribute("splitBubbles")){v=l.getAttribute("splitBubbles").split(","),d=v.length,b.splitBubbles=[];for(c=0;c<d;c++)b.splitBubbles.push(+v[c])}w=JMP.ParserStatic.getAncestor(l,"FrameBox"),w&&w.hasAttribute("lineWidthScale")&&(b.lineWidthScale=+w.getAttribute("lineWidthScale")),k=JMP.Columns(),g=JMP.ParserStatic.getDescendant(l,"X"),g&&k.addColumn(wt(g),JMP.ColumnsStatic.ROLE_X),g=JMP.ParserStatic.getDescendant(l,"Y"),g&&k.addColumn(wt(g),JMP.ColumnsStatic.ROLE_Y),g=JMP.ParserStatic.getDescendant(l,"Size"),g&&k.addColumn(wt(g),JMP.ColumnsStatic.ROLE_SIZE),b.IDTerm=Pt(l,"ID"),b.ID2Term=Pt(l,"ID2"),b.timeTerm=Pt(l,"Time"),b.colorTerm=Pt(l,"Color"),g=JMP.ParserStatic.getDescendant(l,"Freq"),g&&k.addColumn(wt(g),JMP.ColumnsStatic.ROLE_FREQ),g=JMP.ParserStatic.getDescendant(l,"TimeLabels"),g&&(b.timeLabels=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("index"))),g=JMP.ParserStatic.getDescendant(l,"TimeValues"),g&&(b.timeValues=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("index"))),m=JMP.ParserStatic.getDescendants(l,"LabeledColumn"),d=m.length;for(c=0;c<d;c++)k.addColumn(wt(m[c]),JMP.ColumnsStatic.ROLE_LABEL);g=JMP.ParserStatic.getDescendant(l,"LabelXOffset"),g&&(b.xOffset=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("index"))),g=JMP.ParserStatic.getDescendant(l,"LabelYOffset"),g&&(b.yOffset=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("index"))),g=JMP.ParserStatic.getDescendant(l,"ColorTheme"),g&&(b.colorTheme=JMP.ColorTheme(g.getAttribute("positions").split(","),g.getAttribute("colors").split(","))),H=JMP.ParserStatic.getAncestor(l,"OutlineBox");if(H){B=H.firstChild;if(!B.hasAttribute("condition")||l.getAttribute("condition")==="true"){j=JMP.ParserStatic.getDescendants(B,"TextBox"),d=j.length;for(c=0;c<d;c++)D=j[c],D.hasAttribute("id")&&(F=JMP.ParserStatic.getLinked(D,"htmlNode"),F&&(F.className="roleName",b.roleNames[+D.getAttribute("id")-1]=F,JMP.ViewStatic.setTooltip(F,JMP.BubblePlotSegmentStatic.TIP_ROLES),F=JMP.ParserStatic.getAncestor(F,"DIV","class","layoutCell"),F&&(F=F.nextSibling.firstChild.firstChild.firstChild.firstChild,JMP.ViewStatic.setTooltip(F,JMP.BubblePlotSegmentStatic.TIP_ROLES))))}}Tt(k,l),b.columns=k;break;case"GraphBuilderGroupBox":b=JMP.GroupBox(a),St(b,l,!1),l.hasAttribute("title")&&(b.title=l.getAttribute("title")),l.hasAttribute("levelsIndex")&&(b.levels=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,l.getAttribute("levelsIndex")),l.hasAttribute("level")&&(c=+l.getAttribute("level"),0<=c&&c<b.levels.length?b.levels=[b.levels[c]]:b.levels=[])),l.hasAttribute("formattedLevels")&&l.getAttribute("formattedLevels")!==""&&(b.formattedLevels=l.getAttribute("formattedLevels").split("|")),l.hasAttribute("isFlipped")&&l.getAttribute("isFlipped")==="true"&&(b.isFlipped=!0),l.hasAttribute("isTitleRotated")&&l.getAttribute("isTitleRotated")==="true"&&(b.titleOrientation=b.isFlipped?JMP.TextBoxStatic.ORIENTATION_VERTICAL_LEFT:JMP.TextBoxStatic.ORIENTATION_VERTICAL_RIGHT),l.hasAttribute("isLevelRotated")&&l.getAttribute("isLevelRotated")==="true"&&(b.levelOrientation=b.isFlipped?JMP.TextBoxStatic.ORIENTATION_VERTICAL_LEFT:JMP.TextBoxStatic.ORIENTATION_VERTICAL_RIGHT),l.hasAttribute("layout")&&(l.getAttribute("layout")==="page"?b.layout=JMP.GroupBoxStatic.LAYOUT_PAGE:l.getAttribute("layout")==="wrap"&&(b.layout=JMP.GroupBoxStatic.LAYOUT_WRAP)),k=JMP.Columns(),k.addColumn(JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,l.getAttribute("index")),JMP.ColumnsStatic.ROLE_GROUP),b.columns=k,l.hasAttribute("spacing")&&(b.spacing=+l.getAttribute("spacing"));break;case"GridReferenceSegment":b=JMP.GridReferenceSegment(a),St(b,l,!1),l.hasAttribute("showReference")&&(b.showReference=l.getAttribute("showReference")==="true"),b.showMajorGridsX=vt(l,"showMajorGridsX",!0),b.showMinorGridsX=vt(l,"showMinorGridsX",!0),b.majorGridColorsX=vt(l,"majorGridColorsX",!1),b.minorGridColorsX=vt(l,"minorGridColorsX",!1),b.showMajorGridsY=vt(l,"showMajorGridsY",!0),b.showMinorGridsY=vt(l,"showMinorGridsY",!0),b.majorGridColorsY=vt(l,"majorGridColorsY",!1),b.minorGridColorsY=vt(l,"minorGridColorsY",!1);break;case"HistogramSegment":b=JMP.HistogramSegment(a),St(b,l,!l.hasAttribute("position")),b.binOrigin=+l.getAttribute("binOrigin"),b.binSpan=+l.getAttribute("binSpan"),l.hasAttribute("binSpanDif")&&(b.binSpanDif=+l.getAttribute("binSpanDif")),b.binWidth=+l.getAttribute("binWidth"),b.nBins=+l.getAttribute("nBins"),b.maximumDensity=+l.getAttribute("maximumDensity"),b.selectedFillColor=l.getAttribute("selectedFillColor"),b.fillColor=l.getAttribute("fillColor"),b.lineColor=l.getAttribute("lineColor"),w=JMP.ParserStatic.getAncestor(l,"FrameBox"),b.alpha=w.hasAttribute("alpha")?+w.getAttribute("alpha"):1,l.hasAttribute("alpha")&&(b.alpha*=+l.getAttribute("alpha")),l.hasAttribute("showErrorBar")&&(b.showErrorBar=l.getAttribute("showErrorBar")==="true"),l.hasAttribute("showPercents")&&(b.showPercents=l.getAttribute("showPercents")==="true"),l.hasAttribute("showCounts")&&(b.showCounts=l.getAttribute("showCounts")==="true"),k=JMP.Columns(),g=JMP.ParserStatic.getDescendant(l,"Score"),g&&k.addColumn(JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("index")),JMP.ColumnsStatic.ROLE_Y),g=JMP.ParserStatic.getDescendant(l,"Freq"),g&&k.addColumn(JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("index")),JMP.ColumnsStatic.ROLE_FREQ),g=JMP.ParserStatic.getDescendant(l,"Weight"),g&&k.addColumn(JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("index")),JMP.ColumnsStatic.ROLE_WEIGHT),l.hasAttribute("position")&&(b.position=+l.getAttribute("position")),l.hasAttribute("size")&&(b.size=+l.getAttribute("size")),l.hasAttribute("rowIndices")&&(b.rowIndices=l.getAttribute("rowIndices").split(",").map(Number)),Tt(k,l),b.columns=k;break;case"IMG":b=JMP.Image(a),St(b,l,!1),b.image=new Image;try{b.image.complete=!1}catch(Ft){}b.image.onload=function(){w=JMP.ParserStatic.getAncestor(l,"FrameBox"),w&&JMP.ParserStatic.getLinked(w,"segments")&&JMP.ParserStatic.getLinked(w,"segments").draw()},b.image.src=l.getAttribute("src");break;case"INPUT":b=JMP.Input(a);switch(l.getAttribute("type")){case"radio":b.type=JMP.InputStatic.TYPE_RADIO;break;default:b.type=JMP.InputStatic.TYPE_CHECKBOX}b.text=l.firstChild?l.firstChild.nodeValue:"",b.checked=l.hasAttribute("checked")&&l.getAttribute("checked")==="true";break;case"LabelSegment":b=JMP.LabelSegment(a),St(b,l,!1),l.hasAttribute("showTicks")&&(b.showTicks=l.getAttribute("showTicks")==="true"),k=JMP.Columns(),g=JMP.ParserStatic.getDescendant(l,"X"),g&&k.addColumn(JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("index")),JMP.ColumnsStatic.ROLE_X),g=JMP.ParserStatic.getDescendant(l,"Y"),g&&k.addColumn(JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("index")),JMP.ColumnsStatic.ROLE_Y),g=JMP.ParserStatic.getDescendant(l,"Label"),g&&k.addColumn(JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("index")),JMP.ColumnsStatic.ROLE_LABEL),b.columns=k;break;case"LegendBox":b=JMP.LegendBox(a),St(b,l,!1),!b.width&&l.hasAttribute("width")&&(b.width=+l.getAttribute("width")),!b.height&&l.hasAttribute("height")&&(b.height=+l.getAttribute("height")),l.hasAttribute("title")&&(b.title=l.getAttribute("title")),l.hasAttribute("isVisible")&&(b.isVisible=l.getAttribute("isVisible")==="true"),l.hasAttribute("isFramed")&&(b.isFramed=l.getAttribute("isFramed")==="true"),l.hasAttribute("isHorizontal")&&(b.isHorizontal=l.getAttribute("isHorizontal")==="true"),l.hasAttribute("isTitleHorizontal")&&(b.isTitleHorizontal=l.getAttribute("isTitleHorizontal")==="true"),l.hasAttribute("nWrap")&&(b.nWrap=+l.getAttribute("nWrap"));if(l.hasAttribute("modelOffsetMap")){v=l.getAttribute("modelOffsetMap").split(",").map(Number),d=v.length/2;for(c=0;c<d;c++)b.modelOffsetMap[v[2*c]]=v[2*c+1]}rt=JMP.ParserStatic.getStorage("segments");if(rt){d=rt.length;for(c=0;c<d;c++)rt[c].legend===undefined&&b.modelOffsetMap[rt[c].legendModelID]!==undefined&&(rt[c].legend=b)}JMP.ParserStatic.setStored("legends",b),m=JMP.ParserStatic.getDescendants(l,"LegendItem"),d=m.length;for(c=0;c<d;c++){g=m[c],y=JMP.ParserStatic.getDescendant(g,"GradientSettings");if(y){v=y.getAttribute("colorValues").split(",").map(Number),q=y.hasAttribute("labels")?y.getAttribute("labels").split(";"):undefined;if(q){R=q.length;for(h=0;h<R;h++)q[h]=q[h].replace("|","\n")}else{ct=JMP.ParserStatic.getFormat(y),q=[];for(h=0;h<v.length;h++)q[h]=JMP.FormatStatic.formatNumber(v[h],ct)}lt={labels:q,showLabels:y.hasAttribute("showLabels")?y.getAttribute("showLabels")!=="false":!0,colorValues:v,colorMin:v[0],format:JMP.ParserStatic.getFormat(y),isHorizontal:y.hasAttribute("isHorizontal")?y.getAttribute("isHorizontal")==="true":!1,isReverseColors:y.hasAttribute("isReverseColors")?y.getAttribute("isReverseColors")==="true":!1,isReverseLabels:y.hasAttribute("isReverseLabels")?y.getAttribute("isReverseLabels")==="true":!1,isDiscreteColors:y.hasAttribute("isDiscreteColors")?y.getAttribute("isDiscreteColors")==="true":!1,percentiles:y.hasAttribute("percentiles")?y.getAttribute("percentiles").split(",").map(Number):undefined};if(y.hasAttribute("scaleType"))switch(y.getAttribute("scaleType")){case"quantile":lt.scaleType=JMP.LegendBoxStatic.GRADIENT_SCALE_QUANTILE;break;case"standard deviation":lt.scaleType=JMP.LegendBoxStatic.GRADIENT_SCALE_STANDARD_DEVIATION;break;case"log":lt.scaleType=JMP.LegendBoxStatic.GRADIENT_SCALE_LOG;break;default:lt.scaleType=JMP.LegendBoxStatic.GRADIENT_SCALE_LINEAR}y=JMP.ParserStatic.getDescendant(g,"ColorTheme"
),lt.colorTheme=JMP.ColorTheme(y.getAttribute("positions").split(",").map(Number),y.getAttribute("colors").split(","))}else lt=undefined;b.items.push({types:g.hasAttribute("types")?mt(g.getAttribute("types")):[],width:g.hasAttribute("width")?+g.getAttribute("width"):0,fillColor:g.hasAttribute("fillColor")?g.getAttribute("fillColor"):undefined,lineColor:g.hasAttribute("lineColor")?g.getAttribute("lineColor"):undefined,lineWidth:g.hasAttribute("lineWidth")?+g.getAttribute("lineWidth"):1,lineStyle:g.hasAttribute("lineStyle")?gt(g.getAttribute("lineStyle")):JMP.LineSegmentStatic.PATTERN_SOLID,alpha:g.hasAttribute("alpha")?+g.getAttribute("alpha"):1,label:g.hasAttribute("label")?g.getAttribute("label"):undefined,markerShape:g.hasAttribute("markerShape")?yt(g.getAttribute("markerShape")):JMP.Marker.DOT,isVisible:g.hasAttribute("isVisible")?g.getAttribute("isVisible")==="true":!0,isLinked:g.hasAttribute("isLinked")?g.getAttribute("isLinked")==="true":!1,baseModelID:g.hasAttribute("baseModelID")?+g.getAttribute("baseModelID"):0,baseItemIndex:g.hasAttribute("baseItemIndex")?+g.getAttribute("baseItemIndex"):0,position:g.hasAttribute("position")?+g.getAttribute("position"):c,gradientSettings:lt})}break;case"LineSegment":b=JMP.LineSegment(a),St(b,l,!1),w=JMP.ParserStatic.getAncestor(l,"FrameBox");switch(l.getAttribute("type")){case"step":b.type=JMP.LineSegmentStatic.TYPE_STEP;break;case"lines":b.type=JMP.LineSegmentStatic.TYPE_LINES;break;default:b.type=JMP.LineSegmentStatic.TYPE_LINE}l.hasAttribute("smoothness")&&(b.smoothness=+l.getAttribute("smoothness")),b.style=l.hasAttribute("style")?gt(l.getAttribute("style")):JMP.LineSegmentStatic.PATTERN_SOLID,l.hasAttribute("lineWidth")&&(b.lineWidth=+l.getAttribute("lineWidth")),w&&w.hasAttribute("lineWidthScale")&&(b.lineWidthScale=+w.getAttribute("lineWidthScale")),b.lineColor=l.getAttribute("lineColor"),l.hasAttribute("arrowhead")&&(b.arrowhead=+l.getAttribute("arrowhead"));switch(l.getAttribute("connectMissing")){case"faded":b.connectMissing=JMP.LineSegmentStatic.CONNECT_FADED;break;case"dashed":b.connectMissing=JMP.LineSegmentStatic.CONNECT_DASHED;break;case"through":b.connectMissing=JMP.LineSegmentStatic.CONNECT_THROUGH;break;default:b.connectMissing=JMP.LineSegmentStatic.CONNECT_NONE}H=JMP.ParserStatic.getAncestor(l,"OutlineBox"),JMP.ParserStatic.getDescendants(w,"LineSegment",!0).length>1&&(!H||b.description!==H.getAttribute("title"))&&(b.useDescriptionTooltip=!0),l.hasAttribute("overlayIndex")&&(b.overlayIndex=+l.getAttribute("overlayIndex")),k=JMP.Columns(),g=JMP.ParserStatic.getDescendant(l,"XPos"),g&&k.addColumn(wt(g),JMP.ColumnsStatic.ROLE_X),m=JMP.ParserStatic.getDescendants(l,"X"),d=m.length;for(c=0;c<d;c++)b.XColumns[c]=wt(m[c]);g=JMP.ParserStatic.getDescendant(l,"YPos"),g&&k.addColumn(wt(g),JMP.ColumnsStatic.ROLE_Y),m=JMP.ParserStatic.getDescendants(l,"Y"),d=m.length;for(c=0;c<d;c++)b.YColumns[c]=wt(m[c]);m=JMP.ParserStatic.getDescendants(l,"LabeledColumn"),d=m.length;for(c=0;c<d;c++)k.addColumn(wt(m[c]),JMP.ColumnsStatic.ROLE_LABEL);g=JMP.ParserStatic.getDescendant(l,"Color"),g&&(b.colorData=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("index"))),Tt(k,l),b.columns=k;break;case"MarkerSegment":b=JMP.MarkerSegment(a),St(b,l,!1),l.hasAttribute("color")&&(b.color=l.getAttribute("color")),l.hasAttribute("shape")&&(b.shape=yt(l.getAttribute("shape"))),b.size=+l.getAttribute("size"),l.hasAttribute("sizeMin")&&(b.sizeMin=+l.getAttribute("sizeMin")),l.hasAttribute("sizeMax")&&(b.sizeMax=+l.getAttribute("sizeMax")),l.hasAttribute("isLabelDataIndexed")&&(b.isLabelDataIndexed=l.getAttribute("isLabelDataIndexed")==="true"),l.hasAttribute("rowIndices")&&(b.rowIndices=l.getAttribute("rowIndices").split(",").map(Number)),l.hasAttribute("groupRowIndices")&&(b.groupRowIndices=l.getAttribute("groupRowIndices").split(",").map(Number)),l.hasAttribute("overlayIndex")&&(b.overlayIndex=+l.getAttribute("overlayIndex")),w=JMP.ParserStatic.getAncestor(l,"FrameBox"),b.alpha=w.hasAttribute("alpha")?+w.getAttribute("alpha"):1,l.hasAttribute("alpha")&&(b.alpha*=+l.getAttribute("alpha")),l.hasAttribute("preferredShape")&&(b.preferredShape=yt(l.getAttribute("preferredShape"))),k=JMP.Columns(),g=JMP.ParserStatic.getDescendant(l,"XPos"),g&&(b.XPos=wt(g)),g=JMP.ParserStatic.getDescendant(l,"YPos"),g&&(b.YPos=wt(g)),m=JMP.ParserStatic.getDescendants(l,"X"),d=m.length;for(c=0;c<d;c++)k.addColumn(wt(m[c]),JMP.ColumnsStatic.ROLE_X);m=JMP.ParserStatic.getDescendants(l,"Y"),d=m.length;for(c=0;c<d;c++)k.addColumn(wt(m[c]),JMP.ColumnsStatic.ROLE_Y);Tt(k,l),b.columns=k,g=JMP.ParserStatic.getDescendant(l,"Size"),g&&(b.sizeData=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("index"))),g=JMP.ParserStatic.getDescendant(l,"Color"),g&&(b.colorData=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("index"))),g=JMP.ParserStatic.getDescendant(l,"LabeledColumnNames"),g&&(b.labeledColumnNames=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("index"))),g=JMP.ParserStatic.getDescendant(l,"LabelValues"),g&&(b.labelValues=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("index"))),g=JMP.ParserStatic.getDescendant(l,"TipImages"),g&&(b.tipImages=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("index"))),g=JMP.ParserStatic.getDescendant(l,"ShowLabels");if(g){b.showLabels=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("index")),d=b.showLabels?b.showLabels.length:0;for(c=0;c<d;c++)b.showLabels[c]=b.showLabels[c]===1||b.showLabels[c]===!0}g=JMP.ParserStatic.getDescendant(l,"LabelXOffset"),g&&(b.xOffset=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("index"))),g=JMP.ParserStatic.getDescendant(l,"LabelYOffset"),g&&(b.yOffset=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("index")));break;case"MosaicSegment":b=JMP.MosaicSegment(a),St(b,l,!1),l.hasAttribute("fillColors")&&(b.fillColors=l.getAttribute("fillColors").split(",")),k=JMP.Columns(),Tt(k,l),m=JMP.ParserStatic.getDescendants(l,"X"),d=m.length;for(c=0;c<d;c++)k.addColumn(wt(m[c]),JMP.ColumnsStatic.ROLE_X);m=JMP.ParserStatic.getDescendants(l,"Y"),d=m.length;for(c=0;c<d;c++)k.addColumn(wt(m[c]),JMP.ColumnsStatic.ROLE_Y);g=JMP.ParserStatic.getDescendant(l,"Freq"),g&&k.addColumn(JMP.Column(JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("index"))),JMP.ColumnsStatic.ROLE_FREQ),b.columns=k;break;case"NumberBox":b=JMP.NumberBox(a),St(b,l,!1),b.value=+l.getAttribute("value"),b.format=JMP.ParserStatic.getFormat(l);break;case"PictSegment":b=JMP.Image(a),St(b,l,!1),l.hasAttribute("alpha")&&(b.alpha=+l.getAttribute("alpha")),l.hasAttribute("left")&&(b.left=+l.getAttribute("left")),l.hasAttribute("top")&&(b.top=+l.getAttribute("top")),l.hasAttribute("right")&&(b.right=+l.getAttribute("right")),l.hasAttribute("bottom")&&(b.bottom=+l.getAttribute("bottom")),b.image=new Image;try{b.image.complete=!1}catch(Ft){}b.image.onload=function(){w=JMP.ParserStatic.getAncestor(l,"FrameBox"),w&&JMP.ParserStatic.getLinked(w,"segments")&&JMP.ParserStatic.getLinked(w,"segments").draw()},b.image.src=l.getAttribute("src");break;case"PolySegment":b=JMP.PolySegment(a),St(b,l,!1),b.fillColor=l.getAttribute("fillColor"),b.alpha*=+l.getAttribute("alpha"),l.hasAttribute("outlineLength")&&(b.outlineLength=+l.getAttribute("outlineLength"),b.outlineColor=l.getAttribute("outlineColor"),b.outlineWidth=l.hasAttribute("outlineWidth")?+l.getAttribute("outlineWidth"):1,b.outlineStyle=l.hasAttribute("outlineStyle")?gt(l.getAttribute("outlineStyle")):JMP.LineSegmentStatic.PATTERN_SOLID),k=JMP.Columns(),k.addColumn(JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,l.childNodes[0].getAttribute("index")),JMP.ColumnsStatic.ROLE_X),k.addColumn(JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,l.childNodes[1].getAttribute("index")),JMP.ColumnsStatic.ROLE_Y),Tt(k,l),b.columns=k;break;case"ProfileSegment":b=JMP.ProfileSegment(a),b.id=s,St(b,l,!1),w=JMP.ParserStatic.getAncestor(l,"FrameBox"),w&&w.hasAttribute("lineWidthScale")&&(b.lineWidthScale=+w.getAttribute("lineWidthScale")),et=[],Q=+l.getAttribute("xDrawIndex");if(Q>-1){i[Q]||(i[Q]=Ht(JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,Q))),G=i[Q],et[Q]||(et[Q]=JMP.Column(G.levels||[G.initialValue],G.name,G.isStringData?JMP.VariableStatic.TYPE_STRING:JMP.VariableStatic.TYPE_NUMBER,G.dataLevel)),r.xRefVars[Q]?J=r.xRefVars[Q]:(J=JMP.Scalar(G.initialValue,G.name,G.isStringData?JMP.VariableStatic.TYPE_STRING:JMP.VariableStatic.TYPE_NUMBER),r.xRefVars[Q]=J,r.reset[Q]=G.initialValue),b.setXReferenceVariable(J,G.locked,G.levels),G.mixtureSum?(Y=G.mixtureSum,r.xMixtures[Q]=!0):r.xMixtures[Q]=!1,r.xLocks[Q]=G.locked,r.xFirsts[Q]=G.mixtureLower,r.xLasts[Q]=G.mixtureUpper,ot=document.getElementById("input_"+r.id+"_"+Q);if(G.levels){ot.removeChild(ot.firstChild),ut=document.createElement("SELECT"),ut.className="profilerSelect",ot.insertBefore(ut,ot.firstChild);for(c=0;c<G.levels.length;c++)ot.firstChild.add(new Option(G.valueLabels?G.valueLabels[c]:G.levels[c],G.levels[c],G.levels[c]===G.initialValue))}}else b.isInvalid=!0;v=l.getAttribute("xTermIndices").split(","),d=v.length;for(c=0;c<d;c++)v[c]!==""&&(K=+v[c],K>=0?(i[K]||(i[K]=Ht(JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,K))),G=i[K],G.mixtureSum?(Y=G.mixtureSum,r.xMixtures[K]=!0):r.xMixtures[K]=!1,r.xLocks[K]=G.locked,r.xFirsts[K]=G.mixtureLower,r.xLasts[K]=G.mixtureUpper,r.xRefVars[K]?J=r.xRefVars[K]:(J=JMP.Scalar(G.initialValue,G.name,G.isStringData?JMP.VariableStatic.TYPE_STRING:JMP.VariableStatic.TYPE_NUMBER),r.xRefVars[K]=J,r.reset[K]=G.initialValue),et[K]||(r.xMixtures[K]?et[K]=JMP.Column(G.levels||[G.initialValue],G.name,G.isStringData?JMP.VariableStatic.TYPE_STRING:JMP.VariableStatic.TYPE_NUMBER,G.dataLevel):et[K]=J)):b.isInvalid=!0);K=+l.getAttribute("yDrawIndices"),K>-1?(i[K]||(i[K]=Ht(JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,K))),G=i[K],$=JMP.MathParser(et),$.setMathDOM(G.formulaDOM),$.id=s,b.setYFunction($),r.yRefVars[K]?J=r.yRefVars[K]:(J=JMP.Scalar(G.initialValue!==undefined?G.initialValue:0,G.name,JMP.VariableStatic.TYPE_NUMBER),r.yRefVars[K]=J),b.setYReferenceVariable(J),b.columns=JMP.Columns(),et[Q]&&b.addColumn(et[Q],JMP.ColumnsStatic.ROLE_X)):b.isInvalid=!0,r.xMixtures.indexOf(!0)>-1&&(Z=new JMP.Constraint(et,{fixed:Q}),Z.setReferenceVariables(r.xRefVars),Z.setMixture(r.xMixtures,r.xFirsts,r.xLasts,r.xLocks,Y),b.setConstraint(Z),at="profileMixtureApply_"+r.id,document.getElementById(at).disabled||(document.getElementById(at).disabled=!0,JMP.EventFacadeStatic.addEventListener(document.getElementById(at),r.onApplyMixtureVariables,undefined,!1),JMP.ViewStatic.setTooltip(document.getElementById(at),JMP.ProfileControllerStatic.TIP_APPLY_MIXTURE.replace("^SUM",Y.toString())))),nt=b.scale[JMP.ColumnsStatic.ROLE_Y],rt=JMP.ParserStatic.getStorage("segments"),d=rt.length;for(h=0;h<d;h++)if(rt[h].isRange!==undefined&&rt[h].scale[JMP.ColumnsStatic.ROLE_Y]===nt){rt[h].isRange=!0,r.yAxes.indexOf(rt[h])<0&&r.yAxes.push(rt[h]),_=JMP.ParserStatic.getAncestor(l,"ListBox","isHorizontal","true");if(_){st=JMP.ParserStatic.getDescendants(_,"ProfileSegment",!0);for(c=0;c<st.length;c++)st[c]===l&&(b.yAxis=rt[h])}for(p=0;p<rt[h].contents.length;p++){it=rt[h].contents[p];if(it.text&&it.color&&(it.color===o||it.color===u)){rt[h].contents.splice(p,1);break}}}ot&&(JMP.EventFacadeStatic.addEventListener(ot.firstChild,r.onReferenceVariableEdit,undefined,!1),at="profileEdit_"+r.id+"_"+Q,JMP.ViewStatic.setTooltip(document.getElementById(at),JMP.ProfileControllerStatic.TIP_EDIT),JMP.EventFacadeStatic.addEventListener(document.getElementById(at),function(e){var t,n,i=JMP.ProfileControllerStatic.getProfileSegmentFromControl(r,at);if(JMP.ControlStatic.isButtonActionEvent(e)){n=e.pointerTarget||e.target,n.className=n.className.replace("buttonDown","buttonUp"),ct=JMP.ProfileControllerStatic.getVariableFormat(r,r.profiles.indexOf(i)),t=JMP.FormatStatic.toFields(ct);if(t){t.value=JMP.ProfileControllerStatic.getReferenceValue(r,Q),t.use24HourClock=JMP.FormatStatic.isDateTime(ct)?ct.use24HourClock:!0;if(t.hasAMPM||!t.use24HourClock)t.AMDesignator=ct.AMDesignator,t.PMDesignator=ct.PMDesignator;t.hasDegrees&&(t.isLatitude=JMP.FormatStatic.isLatitude(ct),t.nDecimals=ct.nDecimals)}JMP.FormatDialogStatic.onShow(e,t,function(e,t){var n=JMP.ProfileControllerStatic.getProfileSegmentFromControl(r,t.id);n.setXReferenceValue(e)})}},undefined,!1)),b.isInvalid&&JMP.DialogStatic.showMessage(a,JMP.ProfileControllerStatic.WARNING_CURVE),s++;break;case"RectSegment":b=JMP.RectSegment(a),St(b,l,!1),b.rects=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,l.getAttribute("rectsIndex")),b.labels=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,l.getAttribute("labelsIndex")),b.fillColors=l.getAttribute("fillColors").split(","),l.hasAttribute("groupRowIndices")&&(v=l.getAttribute("groupRowIndices"),b.groupRowIndices=v.length===0?[]:v.split(",").map(Number)),k=JMP.Columns(),m=JMP.ParserStatic.getDescendants(l,"X"),d=m.length;for(c=0;c<d;c++)k.addColumn(wt(m[c]),JMP.ColumnsStatic.ROLE_X);m=JMP.ParserStatic.getDescendants(l,"Y"),d=m.length;for(c=0;c<d;c++)k.addColumn(wt(m[c]),JMP.ColumnsStatic.ROLE_Y);m=JMP.ParserStatic.getDescendants(l,"LabeledColumn"),d=m.length;for(c=0;c<d;c++)k.addColumn(wt(m[c]),JMP.ColumnsStatic.ROLE_LABEL);g=JMP.ParserStatic.getDescendant(l,"Color"),g&&(b.colorData=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("index"))),Tt(k,l),b.columns=k;break;case"ScriptSegment":b=JMP.ScriptSegment(a),St(b,l,!1),w=JMP.ParserStatic.getAncestor(l,"FrameBox"),l.normalize(),b.script=l.childNodes[0]?l.childNodes[0].nodeValue:"",H=JMP.ParserStatic.getAncestor(l,"OutlineBox"),H&&b.description===H.getAttribute("title")&&(b.description=undefined),w&&w.hasAttribute("lineWidthScale")&&(b.lineWidthScale=+w.getAttribute("lineWidthScale"));break;case"ShapeSegment":b=JMP.ShapeSegment(a),St(b,l,!1),l.hasAttribute("outlineColor")&&(b.outlineColor=l.getAttribute("outlineColor")),l.hasAttribute("lineWidth")&&(b.lineWidth=+l.getAttribute("lineWidth")),l.hasAttribute("absentFillColor")&&(b.absentFillColor=l.getAttribute("absentFillColor")),l.hasAttribute("rowIndices")&&(b.rowIndices=l.getAttribute("rowIndices").split(",").map(Number)),g=JMP.ParserStatic.getDescendant(l,"AbsentShapes"),g&&(b.absentPathLengths=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("pathLengthsIndex")),b.absentXValues=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("xValuesIndex")),b.absentYValues=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("yValuesIndex")),b.absentPointTypes=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("pointTypesIndex"))),g=JMP.ParserStatic.getDescendant(l,"Shapes"),b.pathLengths=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("pathLengthsIndex")),b.xValues=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("xValuesIndex")),b.yValues=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("yValuesIndex")),b.pointTypes=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("pointTypesIndex")),k=JMP.Columns(),Tt(k,l),b.columns=k,l.hasAttribute("fillColors")&&(b.fillColors=l.getAttribute("fillColors").split(",")),g=JMP.ParserStatic.getDescendant(l,"Color"),g&&(b.colorData=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("index"))),m=JMP.ParserStatic.getDescendants(l,"LabeledColumn"),d=m.length;for(c=0;c<d;c++)k.addColumn(wt(m[c]),JMP.ColumnsStatic.ROLE_LABEL);g=JMP.ParserStatic.getDescendant(l,"TipImages"),g&&(b.tipImages=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("index"))),g=JMP.ParserStatic.getDescendant(l,"ShowLabels");if(g){b.showLabels=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("index")),d=b.showLabels?b.showLabels.length:0;for(c=0;c<d;c++)b.showLabels[c]=b.showLabels[c]===1||b.showLabels[c]===!0}g=JMP.ParserStatic.getDescendant(l,"LabelXPos"),g&&(b.labelXPos=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("index"))),g=JMP.ParserStatic.getDescendant(l,"LabelYPos"),g&&(b.labelYPos=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("index"))),g=JMP.ParserStatic.getDescendant(l,"SizeFactors"),g&&(b.sizeFactors=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("index"))),g=JMP.ParserStatic.getDescendant(l,"SizeXOffsets"),g&&(b.sizeXOffsets=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("index"))),g=JMP.ParserStatic.getDescendant(l,"SizeYOffsets"),g&&(b.sizeYOffsets=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("index"))),g=JMP.ParserStatic.getDescendant(l,"Size"),g&&(b.sizeData=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,g.getAttribute("index")));break;case"SpacerBox":b=JMP.SpacerBox(a),St(b,l,!1),l.hasAttribute("fillColor")&&(b.fillColor=l.getAttribute("fillColor"));break;case"TextBox":b=JMP.TextBox(a),St(b,l,!1),b.text=l.getAttribute("text"),l.hasAttribute("color")&&(b.color=l.getAttribute("color")),l.hasAttribute("isBulleted")&&(b.isBulleted=l.getAttribute("isBulleted")==="true"),l.hasAttribute("isHidden")&&(b.isHidden=l.getAttribute("isHidden")==="true"),l.hasAttribute("orientation")&&(l.getAttribute("orientation")==="left"?b.orientation=JMP.TextBoxStatic.ORIENTATION_VERTICAL_LEFT:b.orientation=JMP.TextBoxStatic.ORIENTATION_VERTICAL_RIGHT),l.hasAttribute("isEditable")&&(b.isEditable=l.getAttribute("isEditable")==="true");break;case"Annotation":b=JMP.Annotation(a),St(b,l,!1),b.xValue=+l.getAttribute("xValue"),b.yValue=+l.getAttribute("yValue"),b.width=+l.getAttribute("width"),b.height=+l.getAttribute("height"),b.text=l.getAttribute("text"),l.hasAttribute("fontSize")&&(b.fontSize=+l.getAttribute("fontSize")),l.hasAttribute("color")&&(b.color=l.getAttribute("color")),l.hasAttribute("fillColor")&&(b.fillColor=l.getAttribute("fillColor")),l.hasAttribute("isFilled")&&(b.isFilled=l.getAttribute("isFilled")==="true"),l.hasAttribute("isFramed")&&(b.isFramed=l.getAttribute("isFramed")==="true"),l.hasAttribute("isTip")&&(b.isTip=l.getAttribute("isTip")==="true",b.htmlNode=JMP.ParserStatic.getLinked(l,"htmlNode"),b.canvasNode=JMP.ParserStatic.getLinked(l,"canvasNode")),l.hasAttribute("triangleSize")&&(b.triangleSize=+l.getAttribute("triangleSize")),l.hasAttribute("xTarget")&&(b.xTarget=+l.getAttribute("xTarget")),l.hasAttribute("yTarget")&&(b.yTarget=+l.getAttribute("yTarget")),l.hasAttribute("customText")&&(b.customText=l.getAttribute("customText")),l.hasAttribute("image")&&(b.image=l.getAttribute("image"));break;case"TextSegment":b=JMP.TextSegment(a),St(b,l,!1),b.xValue=+l.getAttribute("xValue"),b.yValue=+l.getAttribute("yValue"),l.hasAttribute("isPercent")&&(b.isPercent=l.getAttribute("isPercent")==="true"),b.text=l.getAttribute("text").split("|"),l.hasAttribute("fontSize")&&(b.fontSize=+l.getAttribute("fontSize")),l.hasAttribute("align")&&(b.textAlign=l.getAttribute("align")),l.hasAttribute("baseline")&&(b.textBaseline=l.getAttribute("baseline")),l.hasAttribute("color")&&(b.color=l.getAttribute("color")),l.hasAttribute("fillColor")&&(b.fillColor=l.getAttribute("fillColor")),l.hasAttribute("fillAlpha")&&(b.fillAlpha=l.getAttribute("fillAlpha")),l.hasAttribute("lineColor")&&(b.lineColor=l.getAttribute("lineColor")),l.hasAttribute("lineAlpha")&&(b.lineAlpha=l.getAttribute("lineAlpha")),l.hasAttribute("isFilled")&&(b.isFilled=l.getAttribute("isFilled")==="true"),l.hasAttribute("isFramed")&&(b.isFramed=l.getAttribute("isFramed")==="true");break;default:if(l.nodeName==="IfBox"||l.nodeName==="IfSegment"){if(l.hasAttribute("condition")&&l.getAttribute("condition")==="false")return}else if(l.nodeName==="TABLE"){if(!JMP.ParserStatic.getDescendant(l,"FrameBox")){b=JMP.TableBox(a),St(b,l,!1),T=[],N=[],C=[],At(l,T,N,C),b.cells=T,b.colSpan=N,b.rowSpan=C,JMP.ParserStatic.setLinked(l,"segments",b);return}}else if(l.nodeName==="PictureBox"&&l.firstChild.nodeName==="ProfileController"){s=0,b=JMP.ProfileController(a),b.id=+l.firstChild.getAttribute("id"),b.setAdaptYAxis(l.firstChild.getAttribute("adaptYAxis")==="true"),l.firstChild.hasAttribute("xTermsPerRow")&&(b.xTermsPerRow=+l.firstChild.getAttribute("xTermsPerRow")),b.nyVars=+l.firstChild.getAttribute("nYTerms"),b.nxVars=+l.firstChild.getAttribute("nXTerms"),g=JMP.ParserStatic.getDescendant(l,"RememberedSettings");if(g){m=g.childNodes,d=m.length;for(c=0;c<d;c++)v=m[c].getAttribute("values").split(","),b.addSetting(v)}JMP.EventFacadeStatic.addEventListener(a,b.onPointerEvent),r=b,JMP.ParserStatic.setLinked(l.childNodes[1],"segments",b)}else if(l.nodeName==="FrameBox"){b=JMP.FrameBox(a),St(b,l,!1),b.columns=JMP.Columns(),l.hasAttribute("lineColor")&&(b.lineColor=l.getAttribute("lineColor")),l.hasAttribute("isTransparent")&&(b.isTransparent=l.getAttribute("isTransparent")==="true"),l.hasAttribute("fillColor")&&(b.fillColor=l.getAttribute("fillColor")),b.isBorderTop=!0,b.isBorderBottom=!0,b.isBorderLeft=!0,b.isBorderRight=!0;if(l.parentNode.nodeName==="PictureBox")for(c=0;c<l.childNodes.length;c++)if(l.childNodes[c].nodeName==="ScriptSegment"){dt=!0;break}if(l.parentNode.parentNode.nodeName==="CustomBox"||l.parentNode.nodeName==="PictureBox"&&l.childNodes.length===1&&l.childNodes[0].nodeName==="TextBox"||dt)b.isBorderTop=!l.hasAttribute("borderTop")||l.getAttribute("borderTop")!=="false",b.isBorderBottom=!l.hasAttribute("borderBottom")||l.getAttribute("borderBottom")!=="false",b.isBorderLeft=!l.hasAttribute("borderLeft")||l.getAttribute("borderLeft")!=="false",b.isBorderRight=!l.hasAttribute("borderRight")||l.getAttribute("borderRight")!=="false";JMP.ParserStatic.setLinked(l,"segments",b)}m=l.childNodes,d=m.length;for(c=0;c<d;c++)g=m[c],e.create(a,g);l.nodeName==="FrameBox"?(JMP.ParserStatic.getDescendant(l,"ProfileSegment")?(Ot(l,b,undefined,r),b.addEventListener(r.onSegmentEvent),r.contents.push(b)):Ot(l,b),JMP.EventFacadeStatic.addEventListener(a,b.onPointerEvent)):l.nodeName==="GraphBuilderBox"&&Bt(l)}b&&JMP.ParserStatic.setLinked(l,"segments",b)}},e.measure=function(t){var n={width:0,height:0},r,i,s,o,u,c,h,p=0,d=0,v,m,g,y,b=function(e,t){var n;t&&t.parentNode&&(n=t.parentNode,n.nodeName==="BorderBox"&&(n.hasAttribute("padLeft")&&(e.width+=+n.getAttribute("padLeft")),n.hasAttribute("padRight")&&(e.width+=+n.getAttribute("padRight")),n.hasAttribute("padTop")&&(e.height+=+n.getAttribute("padTop")),n.hasAttribute("padBottom")&&(e.height+=+n.getAttribute("padBottom"))))},w=function(e,t){var n,r,i,s,o=+t.getAttribute("width"),u=+t.getAttribute("height"),a={width:o,height:u},f={width:0,height:0},l={width:0,height:0};t.hasAttribute("isTip")&&t.getAttribute("isTip")==="true"?t.hasAttribute("triangleSize")?(s=+t.getAttribute("triangleSize"),o=s,u=2*s):t.hasAttribute("xTarget")&&t.hasAttribute("yTarget")&&(n=+t.getAttribute("xTarget"),r=+t.getAttribute("xValue"),i=r+o/2,o=Math.abs(i-n),n=+t.getAttribute("yTarget"),r=+t.getAttribute("yValue"),i=r+u/2,u=Math.abs(i-n)):(v=JMP.ParserStatic.getLinked(t,"segments"),l.width=v.canvas.width,l.height=v.canvas.height,v.g.canvas.width=o,v.g.canvas.height=u,f.width=o-v.canvas.clientWidth,f.height=u-v.canvas.clientHeight,a=v.measure(),v.g.canvas.width=l.width,v.g.canvas.height=l.height,a.width+=f.width,a.height+=f.height,a.height<u&&(u=a.height+.5>>0),a.width<o&&(o=a.width+.5>>0)),e.width=o,e.height=u},E=function(e,t){var n,r=0,i=0;if(!e)return;t.nodeName!=="SpacerBox"&&(n=JMP.ParserStatic.getAncestor(t,"FrameBox")),n&&(n.hasAttribute("XAddend")&&(n===t?e.xAddend=+n.getAttribute("XAddend"):r=+n.getAttribute("XAddend")),n.hasAttribute("YAddend")&&(n===t?e.yAddend=+n.getAttribute("YAddend"):i=+n.getAttribute("YAddend"))),t.nodeName==="GridReferenceSegment"&&(e.xAddend=r,e.yAddend=i),t.nodeName==="ProfileSegment"&&(e.xAddend=r,e.yAddend=i);if(!(t.nodeName==="AxisBox"&&f(t,"ProfileSegment")||t.nodeName==="Annotation")||e.width===0&&e.height===0)e.width=+(n?n.getAttribute("width"):t.getAttribute("width"))-r,e.height=+(n?n.getAttribute("height"):t.getAttribute("height"))-i;t.nodeName==="TextBox"&&JMP.ParserStatic.getDescendant(t.parentNode.parentNode,"AxisBox")&&(e.orientation===JMP.TextBoxStatic.ORIENTATION_HORIZONTAL?e.width*=1+2*a:e.height*=1+2*a)};if(t&&t.nodeName==="GraphBuilderBox")return n.width=+t.getAttribute("width"),n.height=+t.getAttribute("height"),n;if(t)switch(t.nodeName){case"AxisBox":f(t,"ProfileSegment")?(v=JMP.ParserStatic.getLinked(t,"segments"),v&&(n.width=v.width===0?+t.getAttribute("width"):v.width,n.height=v.height===0?+t.getAttribute("height"):v.height)):(n.width=+t.getAttribute("width"),n.height=+t.getAttribute("height"));break;case"LegendBox":n.width=+t.getAttribute("width"),n.height=+t.getAttribute("height"),v=JMP.ParserStatic.getLinked(t,"segments"),y=v.measure(),y.height>n.height&&(n.height=y.height),y.width>n.width&&(n.width=y.width),t.parentNode.nodeName==="IfBox"&&(g=t.parentNode,g.hasAttribute("condition")&&g.getAttribute("condition")==="false"&&(n.width=0,n.height=0));break;case"Annotation":w(n,t);break;case"NominalAxisBox":case"NumberBox":case"SpacerBox":case"TextBox":n.width=+t.getAttribute("width"),n.height=+t.getAttribute("height");break;case"INPUT":m=t.childNodes[0]?t.childNodes[0].nodeValue:t.hasAttribute("value")?t.getAttribute("value"):"",v=JMP.ParserStatic.getLinked(t,"segments"),v&&v.g&&(v.g.font=JMP.LARGE_FONT_SIZE+"px "+JMP.FONT,n.width=v.g.measureText(m).width+20),n.height=JMP.LARGE_FONT_SIZE;break;case"BarSegment":case"BoxPlotSegment":case"HistogramSegment":case"LabelSegment":case"LineSegment":case"MarkerSegment":case"MosaicSegment":case"PictSegment":case"PolySegment":case"ProfileSegment":case"RectSegment":case"ScriptSegment":case"ShapeSegment":case"TextSegment":break;default:if(t.nodeName==="IfBox"||t.nodeName==="IfSegment"){if(t.hasAttribute("condition")&&t.getAttribute("condition")==="false")return n}else if(t.nodeName==="TABLE"){if(!JMP.ParserStatic.getDescendant(t,"FrameBox"))return n.width=+t.getAttribute("width"),n.height=+t.getAttribute("height"),b(n,t),n}else t.nodeName==="FrameBox"?(n.width=+t.getAttribute("width"),n.height=+t.getAttribute("height")):t.nodeName==="PictureBox"&&t.firstChild.nodeName==="ProfileController"&&(v=JMP.ParserStatic.getLinked(t,"segments"),v&&JMP.ProfileControllerStatic.layoutAxes(v));r=!1,h=0,t.nodeName==="CenterBox"||t.nodeName==="ListBox"||t.nodeName==="WrapListBox"?t.hasAttribute("isHorizontal")&&t.getAttribute("isHorizontal")==="true"&&(r=!0):t.nodeName==="LineUpBox"&&t.hasAttribute("nColumns")&&(h=+t.getAttribute("nColumns")),o=t.childNodes,s=o.length;for(i=0;i<s;i++)u=o[i],E(JMP.ParserStatic.getLinked(u,"segments"),u),c=e.measure(u),i<s-1&&(r?c.width>0&&c.width--:c.height>0&&c.height--),t.nodeName!=="FrameBox"&&(h>0?(p+=c.width,d<c.height&&(d=c.height),(i+1)%h===0&&(n.width<p&&(n.width=p),n.height+=d,p=0,d=0)):r?(n.width+=c.width,n.height<c.height&&(n.height=c.height)):(n.width<c.width&&(n.width=c.width),n.height+=c.height));t.nodeName==="PictureBox"&&t.firstChild.nodeName==="ProfileController"&&(n.width+=1.5*JMP.ProfileControllerStatic.PROFILE_CANVAS_PADDING,v.isConstrained?n.height+=JMP.ProfileControllerStatic.PROFILE_CANVAS_CONSTRAINT_PADDING:n.height+=JMP.ProfileControllerStatic.PROFILE_CANVAS_BOTTOM_PADDING,v.wrapRows>1&&(n.height+=(JMP.ProfileControllerStatic.PROFILE_CANVAS_ARRANGE_IN_ROWS_PADDING+(v.isConstrained?JMP.ProfileControllerStatic.PROFILE_CANVAS_CONSTRAINT_PADDING:0))*(v.wrapRows-1)))}return l(t)&&b(n,t),n},e.layout=function(t,n,r,i){var s,o,u,f,c,h,p,d,v,m,g,y,b,w,E,S,x,T=[],N=0,C=0,k=0,L,A,O,M=3,_=function(e,t){var n,r=0,i=0,s,o,u,f,c,h,p,d,v,m;if(!e)return;n=JMP.ParserStatic.getAncestor(t,"FrameBox"),n&&(n.hasAttribute("XAddend")&&(n===t?e.xAddend=+n.getAttribute("XAddend"):r=+n.getAttribute("XAddend")),n.hasAttribute("YAddend")&&(n===t?e.yAddend=+n.getAttribute("YAddend"):i=+n.getAttribute("YAddend"))),t.nodeName==="GridReferenceSegment"&&(e.xAddend=r,e.yAddend=i),t.nodeName==="ProfileSegment"&&(e.xAddend=r,e.yAddend=i),e.x=+t.getAttribute("x")+r/2,e.y=+t.getAttribute("y")+i/2;if(t.nodeName==="AxisBox"){v=JMP.ParserStatic.getAncestor(t,"BorderBox"),m=v&&v!==t.parentNode&&!e.isFlipped,s=t.parentNode;while(m&&s!==v)m=s.nodeName==="ListBox"||s.nodeName==="ScaleBox",s=s.parentNode;m&&(e.isHorizontal?v.hasAttribute("padBottom")&&(e.height+=+v.getAttribute("padBottom")):v.hasAttribute("padLeft")&&(e.x-=+v.getAttribute("padLeft"),e.width+=+v.getAttribute("padLeft")))}t.nodeName==="Annotation"&&(o=JMP.ParserStatic.getLinked(t.parentNode,"segments"),u=e.xValue+1,f=e.yValue+1,t.hasAttribute("isTip")&&t.getAttribute("isTip")==="true"&&(e.triangleSize?(u-=e.triangleSize,d=f+e.height/2,f=d-e.triangleSize):e.xTarget&&(c=u+e.width,h=f+e.height,p=(u+c)/2,d=(f+h)/2,u=Math.min(p,e.xTarget),f=Math.min(d,e.yTarget))),o&&(u+=o.x,f+=o.y),e.canvas.style.left=u+"px",e.canvas.style.top=f+"px"),l(t)&&(s=t.parentNode,s.nodeName==="BorderBox"&&(s.hasAttribute("padTop")&&(e.padTop+=+s.getAttribute("padTop")),s.hasAttribute("padBottom")&&(e.padBottom+=+s.getAttribute("padBottom")),s.hasAttribute("padLeft")&&(e.padLeft+=+s.getAttribute("padLeft")),s.hasAttribute("padRight")&&(e.padRight+=+s.getAttribute("padRight")))),t.nodeName==="TextBox"&&JMP.ParserStatic.getDescendant(t.parentNode.parentNode,"AxisBox")&&(e.orientation===JMP.TextBoxStatic.ORIENTATION_HORIZONTAL?e.x-=a*e.width:e.y-=a*e.height)},D=function(e,t){var n,r,i,s,o,u;if(t.nodeName==="FrameBox"){r=JMP.ParserStatic.getAncestor(t,"PictureBox");if(r&&r.firstChild.nodeName==="ProfileController"){i=+r.firstChild.getAttribute("nYTerms"),s=r.firstChild.hasAttribute("xTermsPerRow")?+r.firstChild.getAttribute("xTermsPerRow"):+r.firstChild.getAttribute("nXTerms");for(n=0;n<S.contents.length;n++)if(S.contents[n].yAxis){o=Math.floor(S.contents[n].id/(s*i));if(o>0){if(i===1||S.contents[n].id%i===0)u=(JMP.ProfileControllerStatic.PROFILE_CANVAS_ARRANGE_IN_ROWS_PADDING+(S.contents[n].getConstraint()!==undefined?JMP.ProfileControllerStatic.PROFILE_CANVAS_CONSTRAINT_PADDING:0))*o-1,S.y+=u,e+=u;S.contents[n].yAxis.y=S.y+S.contents[n].yAxis.padTop}}}}return e};if(t&&t.nodeName==="GraphBuilderBox"){y=JMP.ParserStatic.getDescendants(t,"Annotation"),p=y.length;for(h=0;h<p;h++)b=y[h],S=JMP.ParserStatic.getLinked(b,"segments"),S&&(_(S,b),S.x+=n,S.y+=r);return}if(t)switch(t.nodeName){case"Annotation":case"BarSegment":case"BoxPlotSegment":case"HistogramSegment":case"INPUT":case"LabelSegment":case"LegendBox":case"LineSegment":case"MarkerSegment":case"MosaicSegment":case"NominalAxisBox":case"NumberBox":case"PictSegment":case"PolySegment":case"ProfileSegment":case"RectSegment":case"ScriptSegment":case"SpacerBox":case"TextBox":case"TextSegment":break;default:if(t.nodeName==="IfBox"||t.nodeName==="IfSegment"){if(t.hasAttribute("condition")&&t.getAttribute("condition")==="false")return}else if(t.nodeName==="TABLE"&&!JMP.ParserStatic.getDescendant(t,"FrameBox"))return;y=t.childNodes,p=y.length,s=!1,x=0;if(t.nodeName==="CenterBox"||t.nodeName==="ListBox"||t.nodeName==="WrapListBox")t.hasAttribute("isHorizontal")&&t.getAttribute("isHorizontal")==="true"&&(s=!0);else if(t.nodeName==="LineUpBox"&&t.hasAttribute("nColumns")){x=+t.getAttribute("nColumns");for(h=0;h<x;h++)T[h]=0;for(h=0;h<p;h++)b=y[h],w=e.measure(b),T[h%x]<w.width&&(T[h%x]=w.width)}u=n,c=r,l(t)&&t.nodeName==="BorderBox"&&(t.hasAttribute("padLeft")&&(u+=+t.getAttribute("padLeft")),t.hasAttribute("padTop")&&(c+=+t.getAttribute("padTop"))),t.nodeName==="PictureBox"&&t.firstChild.nodeName==="ProfileController"&&(u=JMP.ProfileControllerStatic.PROFILE_CANVAS_PADDING/2,c=JMP.ProfileControllerStatic.PROFILE_CANVAS_PADDING),C=u,k=c;for(h=0;h<p;h++){b=y[h],w=e.measure(b);if(t.nodeName==="CenterBox"){A=JMP.ParserStatic.getAncestor(t,"ScaleBox","id",t.getAttribute(s?"XSizeID":"YSizeID"));if(A&&A.hasAttribute("length"))L=+A.getAttribute("length");else{L=0,m=t.parentNode,v=m.childNodes.length,o=m.hasAttribute("isHorizontal")&&m.getAttribute("isHorizontal")==="true";for(d=0;d<v;d++)g=m.childNodes[d],E=e.measure(g),o?L<E.height&&(L=E.height):L<E.width&&(L=E.width)}s?u+=(L-w.width)/2:c+=(L-w.height)/2}else t.nodeName==="ListBox"&&t.hasAttribute("align")&&(s?(L=e.measure(t).height,t.getAttribute("align")==="far"?(c+=L-w.height,t.parentNode.hasAttribute("padTop")&&(c-=t.parentNode.getAttribute("padTop"))):t.getAttribute("align")==="center"&&(c+=(L-w.height)/2)):(L=e.measure(t).width,t.getAttribute("align")==="far"?(u+=L-w.width,t.parentNode.hasAttribute("padLeft")&&(u-=t.parentNode.getAttribute("padLeft"))):t.getAttribute("align")==="center"&&(u+=(L-w.width)/2)));S=JMP.ParserStatic.getLinked(b,"segments"),S&&(
_(S,b),S.x+=u,S.y+=c,c=D(c,b),b.nodeName==="FrameBox"&&JMP.ParserStatic.getDescendant(t.parentNode,"AxisBox")&&(O=S.canvas.width-S.x-S.width-S.padRight,M>O&&(i.x=M-O),O=c-S.padTop,M>O&&(i.y=M-O))),e.layout(b,u,c,i),h<p-1&&(s?w.width>0&&w.width--:w.height>0&&w.height--),t.nodeName!=="FrameBox"&&(f=undefined,x>0?(u+=T[h%x],N<w.height&&(N=w.height),(h+1)%x===0&&(f=C,u=C,c+=N,N=0)):s?u+=w.width:c+=w.height,f!==undefined&&(u=f)),t.nodeName==="ListBox"&&t.hasAttribute("align")&&(s?c=k:u=C)}}},e.adjustLayoutPadding=function(t,n,r){var i=t?t.childNodes:undefined,s,o=i?i.length:0,u,a;for(s=0;s<o;s++)u=i[s],a=JMP.ParserStatic.getLinked(u,"segments"),a&&(a.x-=n,a.y+=r),e.adjustLayoutPadding(u,n,r)},e.adjustLayoutAxes=function(t){var n=t?t.childNodes:undefined,r,i,s,o=n?n.length:0,u,a,f,l,c;for(r=0;r<o;r++){u=n[r],a=JMP.ParserStatic.getLinked(u,"segments");if((u.nodeName==="AxisBox"||u.nodeName==="NominalAxisBox")&&a&&!a.isHorizontal){f=JMP.ParserStatic.getAncestor(u,"PictureBox");if(f){l=JMP.ParserStatic.getDescendants(f,"FrameBox"),s=l.length;for(i=0;i<s;i++)c=JMP.ParserStatic.getLinked(l[i],"segments"),c&&a.height===c.height&&a.x+a.width===c.x&&a.x++}}e.adjustLayoutAxes(u)}},e.drawGraph=function(t){var n,r,i,s;if(t){s=t.nodeName;switch(s){case"Annotation":case"AxisBox":case"INPUT":case"FrameBox":case"GraphBuilderGroupBox":case"HistogramSegment":case"LabelSegment":case"LegendBox":case"LineSegment":case"MarkerSegment":case"MosaicSegment":case"NominalAxisBox":case"NumberBox":case"PictSegment":case"PolySegment":case"RectSegment":case"ScriptSegment":case"SpacerBox":case"TextBox":case"TextSegment":JMP.ParserStatic.getLinked(t,"segments").draw();break;default:if(s==="IfBox"||s==="IfSegment"){if(t.hasAttribute("condition")&&t.getAttribute("condition")==="false")return}else if(s==="TABLE"&&!JMP.ParserStatic.getDescendant(t,"FrameBox")){JMP.ParserStatic.getLinked(t,"segments").draw();return}i=t.childNodes,r=i.length;for(n=0;n<r;n++)JMP.ParserStatic.getDescendant(i[n],"FrameBox")&&e.drawGraph(i[n]);for(n=0;n<r;n++)JMP.ParserStatic.getDescendant(i[n],"FrameBox")||e.drawGraph(i[n])}}},e.createAll=function(t){var n,r,s,o,u=t.length,a,f,l,c=[];i=[];for(n=0;n<u;n++){o=t[n],a=JMP.ParserStatic.getLinked(o,"subTrees"),e.create(o,a),f=JMP.ParserStatic.getDescendants(a),s=f.length;for(r=0;r<s;r++)l=JMP.ParserStatic.getLinked(f[r],"segments"),l&&c.push(l)}JMP.ControlStatic.segments=c,i=null},e.drawAll=function(){var t,n,r,i=document.getElementsByTagName("canvas"),s,o,u={x:0,y:0};n=i.length;for(t=0;t<n;t++)r=i[t],s=JMP.ParserStatic.getLinked(r,"subTrees"),o=e.measure(s),r.width=o.width,r.height=o.height,u.x=0,u.y=0,e.layout(s,0,0,u),(u.x!==0||u.y!==0)&&e.adjustLayoutPadding(s,u.x,u.y),e.adjustLayoutAxes(s),e.drawGraph(s)},e.getDataLevel=function(e){var t;switch(e){case"nominal":t=JMP.VariableStatic.LEVEL_NOMINAL;break;case"ordinal":t=JMP.VariableStatic.LEVEL_ORDINAL;break;default:t=JMP.VariableStatic.LEVEL_CONTINUOUS}return t},e}(),JMP.DocumentStatic=function(){"use strict";var e={},t="13.0",n="Close",r=0,i=0,s=JMP.ViewStatic.setTooltip,o,u=function(e,t){var n,r,i,o,u,a,f,l,c=null,h=!1;if(e.childNodes.length>0&&e.childNodes[0].nodeName==="BarBox")return;if(e.hasAttribute("description"))c=e.getAttribute("description");else{h=!0,r=e.parentNode,a=r.parentNode,n=-1,i=0;for(o=r.firstChild;o;o=o.nextSibling)e===o&&(n=i),i+=o.hasAttribute("colspan")?+o.getAttribute("colspan"):1;l=null;for(u=a.firstChild;u!==r;u=u.nextSibling){i=0;for(o=u.firstChild;o;o=o.nextSibling)i===n&&o.nodeName==="TH"&&o.childNodes&&o.childNodes[0]&&(l=o),i+=o.hasAttribute("colspan")?+o.getAttribute("colspan"):1}f=null;if(l===null){i=0;for(o=r.firstChild;o&&i<n;o=o.nextSibling)o.nodeName==="TH"&&o.childNodes&&o.childNodes[0]&&(f=o),i+=o.hasAttribute("colspan")?+o.getAttribute("colspan"):1}l?c=l.childNodes[0].nodeValue:f?c=f.childNodes[0].nodeValue:e.childNodes&&e.childNodes[0]&&(c=e.childNodes[0].nodeValue)}s(t,c,undefined,undefined,h)},a=function(t){var n=["BubblePlotSegment","MarkerSegment","ProfileSegment","ScriptSegment"],r=[],i,s=n.length,o=[];for(i=0;i<s;i++)r=r.concat(JMP.ParserStatic.getDescendants(t,n[i],!0));s=r.length;for(i=0;i<s;i++)(r[i].nodeName!=="ScriptSegment"||JMP.ScriptSegmentStatic.hasMenu(r[i].textContent))&&t===JMP.ParserStatic.getAncestor(r[i],"OutlineBox")&&o.push(r[i]);return i=-1,o.length>0&&(e.nodeDisplays.push(o),i=e.nodeDisplays.length-1),i},f=function(e){var t,n;t=JMP.ParserStatic.createElement("TABLE","",e),n=JMP.ParserStatic.createElement("TR","",t),JMP.ParserStatic.createElement("TD","",n)},l=function(e,t,n,r,i,s,o){var u,a,f;t&&(u=JMP.ParserStatic.createElement("A",n,e),u.target="_blank",u.href=t,u.tabIndex=-1),a=JMP.ParserStatic.createElement("BUTTON",r,t?u:e),i&&(a.id=i),s&&(f=JMP.ParserStatic.createElement("IMG","buttonImage",a),f.setAttribute("src",s)),o&&JMP.EventFacadeStatic.addEventListener(a,o)},c=function(e,t){var r,i=e.getAttribute("text"),s,o="";return e.hasAttribute("customText")&&(s=e.getAttribute("customText")),e.hasAttribute("image")&&(o=e.getAttribute("image")),r=JMP.ParserStatic.createElement("DIV","border concealed tooltip tipPinned",document.body),r.tagNode=t,JMP.ViewStatic.fillTooltip(r,i.split("|"),s,o,!1,function(e){switch(e.type){case"keydown":case"pointerdown":(e.type==="pointerdown"||e.keyCode===13||e.keyCode===32)&&JMP.ViewStatic.hidePinnedTip(r);break;case"pointermove":case"pointerover":JMP.ViewStatic.updateTooltip(e,{lines:[n]});break;default:}}),JMP.EventFacadeStatic.addEventListener(r,function(e){switch(e.type){case"pointerdown":r.classList.add("tipShadow"),r.parentNode.appendChild(r);break;case"pointerout":case"pointerup":r.classList.remove("tipShadow");break;default:}}),r},h=function(){var e,t=document.getElementsByTagName("TBODY"),n,r,i=1.3;for(e=0;e<t.length;e++)n=t[e].parentNode,r=n.getBoundingClientRect().height,t[e].hasAttribute("jmpHeight")&&Number(t[e].getAttribute("jmpHeight"))*i<r&&(n.className=n.className+" scrollableTable",t[e].style.height=t[e].getAttribute("jmpHeight")+"px")},p=function(e){return String(e).replace(/<b>/g,"<b>").replace(/<\/b>/g,"</b>").replace(/<i>/g,"<i>").replace(/<\/i>/g,"</i>").replace(/<u>/g,"<u>").replace(/<\/u>/g,"</u>")},d=function(e){return String(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")};return e.nodeDisplays=[],e.progress=undefined,e.XMLLength=undefined,e.menuProvider=function(e){var t=[],n,r=JMP.DocumentStatic.nodeDisplays[e],i,s,o,u,a,f;if(r){u=r.length;for(s=0;s<u;s++){i=r[s],n=JMP.ParserStatic.getLinked(i,"segments");if(n){f=n.menuProvider();if(f!==undefined){a=t.length;if(a===0)t=f;else for(o=0;o<a;o++)t[o].isDisabled===undefined&&(t[o].isDisabled=!1),t[o].isDisabled=t[o].isDisabled&&(f[o].isDisabled!==undefined?f[o].isDisabled:!1)}}}}return t},e.menuHandler=function(e,t){var n,r,i,s=JMP.DocumentStatic.nodeDisplays[t];if(s){i=s.length;for(r=0;r<i;r++)n=JMP.ParserStatic.getLinked(s[r],"segments"),n&&n.menuHandler(e)}},e.assignLabels=function(e,r){var i,o=r.fontFamily,u,a,f,l;i=o.indexOf(","),i>=0&&(o=o.slice(0,i)),JMP.FONT=o,o=r.fontSize,i=o.indexOf("px"),o=o.slice(0,i),JMP.LARGE_FONT_SIZE=+o,JMP.SMALL_FONT_SIZE=JMP.LARGE_FONT_SIZE-2,e.hasAttribute("closeTipTip")&&(n=e.getAttribute("closeTipTip"));switch(JMP.LOCALE){case"de":l="de_de/";break;case"es":l="es_es/";break;case"fr":l="fr_fr/";break;case"it":l="it_it/";break;case"ja":l="ja_jp/";break;case"ko":l="ko_kr/";break;case"zh-CN":l="zh_cn/";break;default:l=""}document.getElementById("help").parentNode.href=document.getElementById("help").parentNode.href+l,document.getElementById("sponsor").parentNode.href=document.getElementById("sponsor").parentNode.href+l,e.hasAttribute("monthNamesLong")&&(JMP.FormatStatic.MONTH_NAMES_LONG=e.getAttribute("monthNamesLong").split(",")),e.hasAttribute("monthNamesShort")&&(JMP.FormatStatic.MONTH_NAMES_SHORT=e.getAttribute("monthNamesShort").split(",")),e.hasAttribute("monthNamesInline")&&(JMP.FormatStatic.MONTH_NAMES_INLINE=e.getAttribute("monthNamesInline").split(",")),e.hasAttribute("dayNames")&&(JMP.FormatStatic.DAY_NAMES=e.getAttribute("dayNames").split(",")),e.hasAttribute("geographicDirectionIndicators")&&(JMP.FormatStatic.GEOGRAPHIC_DIRECTION_INDICATORS=e.getAttribute("geographicDirectionIndicators").split(",")),e.hasAttribute("infinity")&&(JMP.FormatStatic.INFINITY=e.getAttribute("infinity")),e.hasAttribute("disabledControlTip")&&(JMP.ControlStatic.TIP_DISABLED_CONTROL=e.getAttribute("disabledControlTip")),e.hasAttribute("outlineRevealTooltip")&&(JMP.OutlineStatic.TIP_REVEAL=e.getAttribute("outlineRevealTooltip")),e.hasAttribute("outlineConcealTooltip")&&(JMP.OutlineStatic.TIP_CONCEAL=e.getAttribute("outlineConcealTooltip")),e.hasAttribute("focusReport")&&(JMP.ModeStatic.TIP_FOCUS_REPORT=e.getAttribute("focusReport")),e.hasAttribute("focusGraph")&&(JMP.ModeStatic.TIP_FOCUS_GRAPH=e.getAttribute("focusGraph")),e.hasAttribute("focusData")&&(JMP.ModeStatic.TIP_FOCUS_DATA=e.getAttribute("focusData")),e.hasAttribute("selectOnly")&&(JMP.ModeStatic.TIP_SELECT_ONLY=e.getAttribute("selectOnly")),e.hasAttribute("selectToggle")&&(JMP.ModeStatic.TIP_SELECT_TOGGLE=e.getAttribute("selectToggle")),e.hasAttribute("menuTip")&&(JMP.MenuStatic.TIP_MENU=e.getAttribute("menuTip")),e.hasAttribute("defaultTabTooltip")&&(JMP.TabStatic.TIP_DEFAULT_TAB=e.getAttribute("defaultTabTooltip")),e.hasAttribute("closeButton")&&(JMP.DialogStatic.BUTTON_CLOSE=e.getAttribute("closeButton")),e.hasAttribute("closeTip")&&(JMP.DialogStatic.TIP_CLOSE=e.getAttribute("closeTip")),e.hasAttribute("lowerBoundTip")&&(JMP.ViewStatic.TIP_LOWER_BOUND=e.getAttribute("lowerBoundTip")),e.hasAttribute("upperBoundTip")&&(JMP.ViewStatic.TIP_UPPER_BOUND=e.getAttribute("upperBoundTip")),e.hasAttribute("missingTip")&&(JMP.ViewStatic.TIP_MISSING=e.getAttribute("missingTip")),e.hasAttribute("valueTip")&&(JMP.ViewStatic.TIP_VALUE=e.getAttribute("valueTip")),e.hasAttribute("share")&&(JMP.ViewStatic.TIP_SHARE=e.getAttribute("share")),e.hasAttribute("rows")&&(JMP.ViewStatic.TIP_ROWS=e.getAttribute("rows")),e.hasAttribute("rowLabel")&&(JMP.ViewStatic.TIP_ROW=e.getAttribute("rowLabel")),e.hasAttribute("sumLabel")&&(JMP.ViewStatic.TIP_SUM=e.getAttribute("sumLabel")),e.hasAttribute("colon")&&(JMP.ViewStatic.COLON=e.getAttribute("colon").slice(2)),e.hasAttribute("openParen")&&(u=e.getAttribute("openParen"),JMP.ViewStatic.OPEN_PAREN=u.slice(0,u.length-2)),e.hasAttribute("closeParen")&&(JMP.ViewStatic.CLOSE_PAREN=e.getAttribute("closeParen").slice(2)),e.hasAttribute("minWhiskerTip")&&(JMP.BoxPlotSegmentStatic.ADJACENTS_NAMES[0]=e.getAttribute("minWhiskerTip")),e.hasAttribute("maxWhiskerTip")&&(JMP.BoxPlotSegmentStatic.ADJACENTS_NAMES[1]=e.getAttribute("maxWhiskerTip")),e.hasAttribute("minShortestHalfTip")&&(JMP.BoxPlotSegmentStatic.ADJACENTS_NAMES[2]=e.getAttribute("minShortestHalfTip")),e.hasAttribute("maxShortestHalfTip")&&(JMP.BoxPlotSegmentStatic.ADJACENTS_NAMES[3]=e.getAttribute("maxShortestHalfTip")),e.hasAttribute("drawMenu")&&(JMP.BubblePlotSegmentStatic.MENU_DRAW=e.getAttribute("drawMenu")),e.hasAttribute("labelMenu")&&(JMP.BubblePlotSegmentStatic.MENU_LABEL=e.getAttribute("labelMenu")),e.hasAttribute("selectAll")&&(JMP.BubblePlotSegmentStatic.MENU_SELECT_ALL=e.getAttribute("selectAll")),e.hasAttribute("showTimeLabel")&&(JMP.BubblePlotSegmentStatic.MENU_SHOW_TIME_LABEL=e.getAttribute("showTimeLabel")),e.hasAttribute("trailBubblesMenu")&&(JMP.BubblePlotSegmentStatic.MENU_TRAIL_BUBBLES=e.getAttribute("trailBubblesMenu")),e.hasAttribute("trailLinesMenu")&&(JMP.BubblePlotSegmentStatic.MENU_TRAIL_LINES=e.getAttribute("trailLinesMenu")),e.hasAttribute("aggregateMenu")&&(JMP.BubblePlotSegmentStatic.MENU_AGGREGATE=e.getAttribute("aggregateMenu")),e.hasAttribute("selectableAcrossGaps")&&(JMP.BubblePlotSegmentStatic.MENU_SELECTABLE_ACROSS_GAPS=e.getAttribute("selectableAcrossGaps")),e.hasAttribute("drawFilled")&&(JMP.BubblePlotSegmentStatic.MENU_FILLED=e.getAttribute("drawFilled")),e.hasAttribute("drawOutlined")&&(JMP.BubblePlotSegmentStatic.MENU_OUTLINED=e.getAttribute("drawOutlined")),e.hasAttribute("drawFilledAndOutlined")&&(JMP.BubblePlotSegmentStatic.MENU_FILLED_AND_OUTLINED=e.getAttribute("drawFilledAndOutlined")),e.hasAttribute("whichNone")&&(JMP.BubblePlotSegmentStatic.MENU_NONE=e.getAttribute("whichNone")),e.hasAttribute("whichSelected")&&(JMP.BubblePlotSegmentStatic.MENU_SELECTED=e.getAttribute("whichSelected")),e.hasAttribute("whichAll")&&(JMP.BubblePlotSegmentStatic.MENU_ALL=e.getAttribute("whichAll")),e.hasAttribute("aggregateXSum")&&(JMP.BubblePlotSegmentStatic.MENU_X_SUM=e.getAttribute("aggregateXSum")),e.hasAttribute("aggregateYSum")&&(JMP.BubblePlotSegmentStatic.MENU_Y_SUM=e.getAttribute("aggregateYSum")),e.hasAttribute("aggregateSizeSum")&&(JMP.BubblePlotSegmentStatic.MENU_SIZE_SUM=e.getAttribute("aggregateSizeSum")),e.hasAttribute("aggregateColorSum")&&(JMP.BubblePlotSegmentStatic.MENU_COLOR_SUM=e.getAttribute("aggregateColorSum")),e.hasAttribute("variableRolesTip")&&(JMP.BubblePlotSegmentStatic.TIP_ROLES=e.getAttribute("variableRolesTip")),e.hasAttribute("roleSum")&&(JMP.BubblePlotSegmentStatic.ROLE_SUM_SUFFIX=e.getAttribute("roleSum")),e.hasAttribute("roleMean")&&(JMP.BubblePlotSegmentStatic.ROLE_MEAN_SUFFIX=e.getAttribute("roleMean")),e.hasAttribute("roleX")&&(JMP.BubblePlotSegmentStatic.ROLE_X_NAME=e.getAttribute("roleX")),e.hasAttribute("roleY")&&(JMP.BubblePlotSegmentStatic.ROLE_Y_NAME=e.getAttribute("roleY")),e.hasAttribute("roleSize")&&(JMP.BubblePlotSegmentStatic.ROLE_SIZE_NAME=e.getAttribute("roleSize")),e.hasAttribute("roleColor")&&(JMP.BubblePlotSegmentStatic.ROLE_COLOR_NAME=e.getAttribute("roleColor")),e.hasAttribute("startAnimationTip")&&(JMP.BubblePlotSegmentStatic.TIP_START_ANIMATION=e.getAttribute("startAnimationTip")),e.hasAttribute("pauseAnimationTip")&&(JMP.BubblePlotSegmentStatic.TIP_PAUSE_ANIMATION=e.getAttribute("pauseAnimationTip")),e.hasAttribute("forwardAnimationTip")&&(JMP.BubblePlotSegmentStatic.TIP_FORWARD_ANIMATION=e.getAttribute("forwardAnimationTip")),e.hasAttribute("backwardAnimationTip")&&(JMP.BubblePlotSegmentStatic.TIP_BACKWARD_ANIMATION=e.getAttribute("backwardAnimationTip")),e.hasAttribute("timeSliderTip")&&(JMP.BubblePlotSegmentStatic.TIP_TIME_SLIDER=e.getAttribute("timeSliderTip")),e.hasAttribute("speedSliderTip")&&(JMP.BubblePlotSegmentStatic.TIP_SPEED_SLIDER=e.getAttribute("speedSliderTip")),e.hasAttribute("splitBubblesTip")&&(JMP.BubblePlotSegmentStatic.TIP_SPLIT=e.getAttribute("splitBubblesTip")),e.hasAttribute("combineBubblesTip")&&(JMP.BubblePlotSegmentStatic.TIP_COMBINE=e.getAttribute("combineBubblesTip")),e.hasAttribute("sizeSliderTip")&&(JMP.BubblePlotSegmentStatic.TIP_SIZE_SLIDER=e.getAttribute("sizeSliderTip")),e.hasAttribute("estimatedTip")&&(JMP.BubbleGroupStatic.TIP_ESTIMATED=e.getAttribute("estimatedTip")),e.hasAttribute("backButtonID")&&(JMP.BubblePlotSegmentStatic.ID_BACK_BUTTON=+e.getAttribute("backButtonID")),e.hasAttribute("stepButtonID")&&(JMP.BubblePlotSegmentStatic.ID_STEP_BUTTON=+e.getAttribute("stepButtonID")),e.hasAttribute("playButtonID")&&(JMP.BubblePlotSegmentStatic.ID_PLAY_BUTTON=+e.getAttribute("playButtonID")),e.hasAttribute("splitButtonID")&&(JMP.BubblePlotSegmentStatic.ID_SPLIT_BUTTON=+e.getAttribute("splitButtonID")),e.hasAttribute("combineButtonID")&&(JMP.BubblePlotSegmentStatic.ID_COMBINE_BUTTON=+e.getAttribute("combineButtonID")),e.hasAttribute("largerMarkers")&&(JMP.MarkerSegmentStatic.MENU_LARGER_MARKERS=e.getAttribute("largerMarkers")),e.hasAttribute("smallerMarkers")&&(JMP.MarkerSegmentStatic.MENU_SMALLER_MARKERS=e.getAttribute("smallerMarkers")),e.hasAttribute("reset")&&(JMP.ProfileControllerStatic.MENU_RESET=e.getAttribute("reset")),e.hasAttribute("adaptYAxis")&&(JMP.ProfileControllerStatic.MENU_ADAPT_Y_AXIS=e.getAttribute("adaptYAxis")),e.hasAttribute("warningProfilerCurve")&&(JMP.ProfileControllerStatic.WARNING_CURVE=e.getAttribute("warningProfilerCurve")),e.hasAttribute("warningProfilerVariableNumeric")&&(JMP.ProfileControllerStatic.WARNING_NUMERIC_VARIABLE=e.getAttribute("warningProfilerVariableNumeric")),e.hasAttribute("profilerLockTip")&&(JMP.ProfileControllerStatic.TIP_LOCK=e.getAttribute("profilerLockTip")),e.hasAttribute("profilerUnlockTip")&&(JMP.ProfileControllerStatic.TIP_UNLOCK=e.getAttribute("profilerUnlockTip")),e.hasAttribute("profilerApplySettingTip")&&(JMP.ProfileControllerStatic.TIP_SETTING=e.getAttribute("profilerApplySettingTip")),e.hasAttribute("profilerEditTip")&&(JMP.ProfileControllerStatic.TIP_EDIT=e.getAttribute("profilerEditTip")),e.hasAttribute("profilerDropdownTip")&&(JMP.ProfileControllerStatic.TIP_DROPDOWN=e.getAttribute("profilerDropdownTip")),e.hasAttribute("profilerControlTip")&&(JMP.ProfileControllerStatic.TIP_CONTROL=e.getAttribute("profilerControlTip")),e.hasAttribute("applyMixture")&&(JMP.ProfileControllerStatic.BUTTON_APPLY=e.getAttribute("applyMixture")),e.hasAttribute("applyMixtureTip")&&(JMP.ProfileControllerStatic.TIP_APPLY_MIXTURE=e.getAttribute("applyMixtureTip")),e.hasAttribute("applyButton")&&(JMP.FormatDialogStatic.BUTTON_APPLY=e.getAttribute("applyButton")),e.hasAttribute("applyTip")&&(JMP.FormatDialogStatic.TIP_APPLY=e.getAttribute("applyTip")),e.hasAttribute("cancelButton")&&(JMP.FormatDialogStatic.BUTTON_CANCEL=e.getAttribute("cancelButton")),e.hasAttribute("cancelTip")&&(JMP.FormatDialogStatic.TIP_CANCEL=e.getAttribute("cancelTip")),e.hasAttribute("negativeDurationLabel")&&(JMP.FormatDialogStatic.NEGATIVE_DURATION_LABEL=e.getAttribute("negativeDurationLabel")),e.hasAttribute("monthLabel")&&(JMP.FormatDialogStatic.MONTH_LABEL=e.getAttribute("monthLabel")),e.hasAttribute("dayLabel")&&(JMP.FormatDialogStatic.DAY_LABEL=e.getAttribute("dayLabel")),e.hasAttribute("yearLabel")&&(JMP.FormatDialogStatic.YEAR_LABEL=e.getAttribute("yearLabel")),e.hasAttribute("hourLabel")&&(JMP.FormatDialogStatic.HOUR_LABEL=e.getAttribute("hourLabel")),e.hasAttribute("minuteLabel")&&(JMP.FormatDialogStatic.MINUTE_LABEL=e.getAttribute("minuteLabel")),e.hasAttribute("secondLabel")&&(JMP.FormatDialogStatic.SECOND_LABEL=e.getAttribute("secondLabel")),e.hasAttribute("degreeLabel")&&(JMP.FormatDialogStatic.DEGREE_LABEL=e.getAttribute("degreeLabel")),e.hasAttribute("daysLabel")&&(JMP.FormatDialogStatic.DAYS_LABEL=e.getAttribute("daysLabel")),e.hasAttribute("hoursLabel")&&(JMP.FormatDialogStatic.HOURS_LABEL=e.getAttribute("hoursLabel")),e.hasAttribute("minutesLabel")&&(JMP.FormatDialogStatic.MINUTES_LABEL=e.getAttribute("minutesLabel")),e.hasAttribute("secondsLabel")&&(JMP.FormatDialogStatic.SECONDS_LABEL=e.getAttribute("secondsLabel")),e.hasAttribute("amPmLabel")&&(JMP.FormatDialogStatic.AM_PM_LABEL=e.getAttribute("amPmLabel")),e.hasAttribute("directionLabel")&&(JMP.FormatDialogStatic.DIRECTION_LABEL=e.getAttribute("directionLabel")),e.hasAttribute("geographicDirectionNames")&&(JMP.FormatDialogStatic.GEOGRAPHIC_DIRECTION_NAMES=e.getAttribute("geographicDirectionNames").split(",")),e.hasAttribute("errorYearFormat")&&(JMP.FormatDialogStatic.ERROR_YEAR_FORMAT=e.getAttribute("errorYearFormat")),e.hasAttribute("errorMinuteFormat")&&(JMP.FormatDialogStatic.ERROR_MINUTE_FORMAT=e.getAttribute("errorMinuteFormat")),e.hasAttribute("errorSecondFormat")&&(JMP.FormatDialogStatic.ERROR_SECOND_FORMAT=e.getAttribute("errorSecondFormat")),e.hasAttribute("errorDaysDurationFormat")&&(JMP.FormatDialogStatic.ERROR_DAYS_DURATION_FORMAT=e.getAttribute("errorDaysDurationFormat")),e.hasAttribute("errorHoursDurationFormat")&&(JMP.FormatDialogStatic.ERROR_HOURS_DURATION_FORMAT=e.getAttribute("errorHoursDurationFormat")),e.hasAttribute("errorMinutesDurationFormat")&&(JMP.FormatDialogStatic.ERROR_MINUTES_DURATION_FORMAT=e.getAttribute("errorMinutesDurationFormat")),e.hasAttribute("errorDegreesGeographicFormat")&&(JMP.FormatDialogStatic.ERROR_DEGREES_GEOGRAPHIC_FORMAT=e.getAttribute("errorDegreesGeographicFormat")),e.hasAttribute("errorGeographicFormat")&&(JMP.FormatDialogStatic.ERROR_GEOGRAPHIC_FORMAT=e.getAttribute("errorGeographicFormat")),e.hasAttribute("cumulativeValueTip")&&(JMP.TableBoxStatic.TIP_CUMULATIVE_VALUE=e.getAttribute("cumulativeValueTip")),e.hasAttribute("referenceValueTip")&&(JMP.TableBoxStatic.TIP_REFERENCE_VALUE=e.getAttribute("referenceValueTip")),e.hasAttribute("statisticNamePercentOfTotal")&&(JMP.DescriptiveStatic.NAMES[JMP.DescriptiveStatic.STAT_PERCENT]=e.getAttribute("statisticNamePercentOfTotal")),e.hasAttribute("statisticNameN")&&(JMP.DescriptiveStatic.NAMES[JMP.DescriptiveStatic.STAT_N]=e.getAttribute("statisticNameN")),e.hasAttribute("statisticNameSum")&&(JMP.DescriptiveStatic.NAMES[JMP.DescriptiveStatic.STAT_SUM]=e.getAttribute("statisticNameSum")),e.hasAttribute("statisticNameMean")&&(JMP.DescriptiveStatic.NAMES[JMP.DescriptiveStatic.STAT_MEAN]=e.getAttribute("statisticNameMean")),e.hasAttribute("statisticNameVariance")&&(JMP.DescriptiveStatic.NAMES[JMP.DescriptiveStatic.STAT_VARIANCE]=e.getAttribute("statisticNameVariance")),e.hasAttribute("statisticNameStdDev")&&(JMP.DescriptiveStatic.NAMES[JMP.DescriptiveStatic.STAT_STD]=e.getAttribute("statisticNameStdDev")),e.hasAttribute("statisticNameStdErr")&&(JMP.DescriptiveStatic.NAMES[JMP.DescriptiveStatic.STAT_SEM]=e.getAttribute("statisticNameStdErr")),e.hasAttribute("statisticNameMin")&&(JMP.DescriptiveStatic.NAMES[JMP.DescriptiveStatic.STAT_MIN]=e.getAttribute("statisticNameMin")),e.hasAttribute("statisticNameMax")&&(JMP.DescriptiveStatic.NAMES[JMP.DescriptiveStatic.STAT_MAX]=e.getAttribute("statisticNameMax")),e.hasAttribute("statisticNameRange")&&(JMP.DescriptiveStatic.NAMES[JMP.DescriptiveStatic.STAT_RANGE]=e.getAttribute("statisticNameRange")),e.hasAttribute("statisticNameInterquartileRange")&&(JMP.DescriptiveStatic.NAMES[JMP.DescriptiveStatic.STAT_IQR]=e.getAttribute("statisticNameInterquartileRange")),e.hasAttribute("statisticNameMedian")&&(JMP.DescriptiveStatic.NAMES[JMP.DescriptiveStatic.STAT_MEDIAN]=e.getAttribute("statisticNameMedian")),e.hasAttribute("statisticNameConfidence")&&(JMP.DescriptiveStatic.NAMES[JMP.DescriptiveStatic.STAT_CONFIDENCE]=e.getAttribute("statisticNameConfidence")),e.hasAttribute("statisticNameGeometricMean")&&(JMP.DescriptiveStatic.NAMES[JMP.DescriptiveStatic.STAT_GEOMETRIC_MEAN]=e.getAttribute("statisticNameGeometricMean")),e.hasAttribute("legendTip")&&(JMP.LegendBoxStatic.TIP_LEGEND=e.getAttribute("legendTip")),a=e.hasAttribute("openTip")?e.getAttribute("openTip")+" ":"",f=e.hasAttribute("helpTip")?e.getAttribute("helpTip")+" ":"",s(document.getElementById("sponsor"),a+"www.jmp.com"),s(document.getElementById(JMP.ModeStatic.ID_SELECT_ONLY),JMP.ModeStatic.TIP_SELECT_ONLY,!0),s(document.getElementById(JMP.ModeStatic.ID_SELECT_TOGGLE),JMP.ModeStatic.TIP_SELECT_TOGGLE,!0),s(document.getElementById(JMP.ModeStatic.ID_FOCUS_REPORT),JMP.ModeStatic.TIP_FOCUS_REPORT,!0),s(document.getElementById(JMP.ModeStatic.ID_FOCUS_DATA),JMP.ModeStatic.TIP_FOCUS_DATA,!0),s(document.getElementById("help"),f+" ("+t+")")},e.adjustDocumentSize=function(){var e=1.25;if(JMP.EventFacadeStatic.isIOS())while(document.body.scrollHeight/document.body.scrollWidth<e)document.body.appendChild(document.createElement("BR"));document.body.scrollWidth<2e3&&document.body.scrollHeight<2e3&&(document.body.style.minWidth=Math.max(document.body.scrollWidth,Math.ceil(document.body.scrollHeight*window.innerWidth/window.innerHeight))+40+"px")},e.adjustScrollableTableCellSize=function(){var e,t,n,r,i,s,o,u,a,f,l,c,h,p,d,v,m,g,y=document.querySelectorAll("table.scrollableTable");for(e=0;e<y.length;e++){i=y[e].getElementsByTagName("thead")[0],s=y[e].getElementsByTagName("tbody")[0],o=i.getElementsByTagName("tr")[i.getElementsByTagName("tr").length-1],a=s.getElementsByTagName("tr")[0],u=o.cells.length;for(t=0,n=0;t<u;t++){f=window.getComputedStyle(o.cells[t]).width,f=Number(f.replace("px","")),v=o.cells[t].hasAttribute("colspan")?Number(o.cells[t].getAttribute("colspan")):1,d=0,g=n+v;for(r=0;r<v;r++,n++)m=window.getComputedStyle(a.cells[n]),c=Number(m.width.replace("px","")),d+=c,r>0&&(h=Number(m.paddingLeft.replace("px","")),d+=h),r<v-1&&(p=Math.ceil(Number(m.borderRightWidth.replace("px",""))),d+=p,h=Number(m.paddingRight.replace("px","")),d+=h);n-=v,l=(f-d)/v;while(n<g)m=window.getComputedStyle(a.cells[n]),c=Number(m.width.replace("px","")),f>d?(a.cells[n].style.minWidth=c+l+"px",a.cells[n].style.maxWidth=c+l+"px"):(a.cells[n].style.minWidth=c+"px",a.cells[n].style.maxWidth=c+"px"),n++;f<d?(o.cells[t].style.minWidth=d+"px",o.cells[t].style.maxWidth=d+"px"):(o.cells[t].style.minWidth=f+"px",o.cells[t].style.maxWidth=f+"px")}}},e.createElements=function(){o=JMP.ParserStatic.createElement("HEADER","",document.body),JMP.EventFacadeStatic.isIOS()&&JMP.EventFacadeStatic.addEventListener(document.body,function(){var e=(Math.abs(window.orientation)===90?screen.height:screen.width)/window.innerWidth;o.style.position=e>1?"absolute":"fixed"}),f(JMP.ParserStatic.createElement("DIV","menu lightBackground concealed",document.body,"menu0")),f(JMP.ParserStatic.createElement("DIV","menu lightBackground concealed",document.body,"menu1")),f(JMP.ParserStatic.createElement("DIV","border concealed tooltip tipShadow",document.body,"tooltip")),JMP.ParserStatic.createElement("DIV","concealed",document.body,"dialogOverlay"),JMP.ParserStatic.createElement("DIV","concealed",document.body,"dialog"),l(o,"http://www.jmp.com/","spaceLeft","buttonSponsor buttonUp","sponsor","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAASCAYAAABIB77kAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDoxQ0FEQzE1RjA0NDhFNDExOTc3RUU0NkNCQjU0M0E1NyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpCQ0REOTk3ODRBMzgxMUU0OUFFNUUyQUY2QTA3MTY3QSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpCQ0REOTk3NzRBMzgxMUU0OUFFNUUyQUY2QTA3MTY3QSIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjJGOUUzOEFEMzY0QUU0MTFCRUE2RTdFNUZCNkJBQzk2IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjFDQURDMTVGMDQ0OEU0MTE5NzdFRTQ2Q0JCNTQzQTU3Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+vFx3PAAAAoVJREFUeNq8lctL1FEUx+eXM01WlL2I0GroORE9zGhRSUFDmygiiEBalUH/gEEPssBFUS160aqgooVQEVGLAaVw0cIcnECll6UTDJELScg0/TV9jnx/cRvGIpi68OHcOfeee86559zfeLlcLmTD87xQ/gjW/umIRCLZSdHoyOKFsbklJ5pWFvNsS2BCAe0I+lFmxtFiJ+QVUpJZKeIY1MBBeOc3JDLFyNBznExGHIYdsAGmaqkTnsAjnCaL5tAGdStHzMnuPFX6raziGfO6int1V8OD/dWmh3R3b08n+6Yw3wJl8BzdG9mvRgzDe9gIMchCC3uGzGE4L4gLsM/zR08j78Ru17Yi7bByJ6gbiF0wWyofXS3yIbyAV2AlWeCc28OeBLI7v2nWQN/wrFho2svmRuaPYboCuaY9B6wCcAZuaX4W1ml9ud0EbIetkFSmF20x7ERuNVwGzZCZ0daYUB33ch13tadK9d2NrkW6TYhFUKmjHsAe1nNab0d8BDvvl2exSr8tupte7rvVzVeWwZgH/Y6zEulew1rtOR44s8F8APEJJuY7DAzS1M709ui7MPiqw61p5kPKsYmD3Uy7rjTD/q68Royo4T6M61DZWkRtznqVZKqArkPl6CvwGrYpqGQhh0Pqst8dnioQ5GedFSejmU521gPnVJpLP5uGBdtsb6iDK/HVHOM5TDu69ZJRSXufTdhf19M4pMzrodfNcIVTi+BwX+/KPdwa4K0TZKV+x7XnJCyBK8rMAtmvIDePZYjhEWtzGdx37t0LGkbDbsB3OjCnJrKP/FMF0wDnYSkMWpO6HTv28cbhgIwus1j/t99H7K0sX6AV++o/fkv/y5+sM34IMACxmd+fZPUn0AAAAABJRU5ErkJggg=="),l(o,undefined,undefined,"buttonSquare segmentFirst buttonDown spaceLeft",JMP.ModeStatic.ID_SELECT_ONLY,JMP.ModeStatic.SRC_SELECT_ONLY,JMP.ModeStatic.onMode),l(o,undefined,undefined,"buttonSquare segmentLast buttonUp",JMP.ModeStatic.ID_SELECT_TOGGLE,JMP.ModeStatic.SRC_SELECT_TOGGLE,JMP.ModeStatic.onMode),l(o,undefined,undefined,"buttonSquare segmentFirst buttonDown spaceLeft",JMP.ModeStatic.ID_FOCUS_REPORT,JMP.ModeStatic.SRC_FOCUS_REPORT,JMP.ModeStatic.onMode),l(o,undefined,undefined,"buttonSquare segmentLast buttonUp",JMP.ModeStatic.ID_FOCUS_DATA,JMP.ModeStatic.SRC_FOCUS_DATA,JMP.ModeStatic.onMode),document.body.setAttribute("onkeydown","JMP.ModeStatic.onKey( event );"),document.body.setAttribute("onkeyup","JMP.ModeStatic.onKey( event );"),l(o,"http://www.jmp.com/support/help/InteractiveHTML/"+t.slice(0,2)+"/","spaceLeft","buttonSquare buttonUp","help","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDoyQjlFMzhBRDM2NEFFNDExQkVBNkU3RTVGQjZCQUM5NiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo3MkI2QkI2QzRBMzgxMUU0ODY3RUY4MzA3MTUxQUUwMCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo3MkI2QkI2QjRBMzgxMUU0ODY3RUY4MzA3MTUxQUUwMCIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjJCOUUzOEFEMzY0QUU0MTFCRUE2RTdFNUZCNkJBQzk2IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjJCOUUzOEFEMzY0QUU0MTFCRUE2RTdFNUZCNkJBQzk2Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+OhUAqwAAAPNJREFUeNpi/P//PwMyMK09Yw+kCoDYAoglgPgzEF8D4lVAPPV0s8lPZPWMyAYANdcAqSaQOAN2cA6InYCGfIQJMCFpdgFSzUiaDwNxHRDPBOJvUDEjIG5ANpEFiV2IxAY5NQfJ8A1AajuUG4SsFtmAX0B8FIg5oS5BBvuQ2OJYXQC0MZABN7BEYt9GlmBiIACAzlcBUouRhCYQbQBQsxvIcUAsCxVqBbp0Lq5ARNfsBaQ2QtV8BeI0oOZl6OoY0RMSVDML1K8K0MB1AGo+js0iXF4whGoGgXW4NON0ASmAiYFCgC8Q/yOlEUaauYBiAwACDABvU0fz37wMOwAAAABJRU5ErkJggg=="),JMP.ParserStatic.createElement("PROGRESS","concealed",document.body,"progress"),JMP.ParserStatic.createElement("SPAN","concealed",document.body,"progressLabel"),JMP.ParserStatic.createElement("CANVAS","concealed",document.body,"sizingCanvas")},e.createProfilerControls=function(e,t,n){var r,i,s,o=-1,u=[],a,f,c,h=JMP.ParserStatic.getDescendants(e,"ProfileSegment",!0),p=!1;i=h.length,t.parentNode.style.position="relative";for(r=0;r<i;r++)o=+h[r].getAttribute("xDrawIndex"),o!==-1&&u.indexOf(o)===-1&&(s=JMP.ParserStatic.getStored(JMP.ParserStatic.STORAGE_NAME,o),s&&(s.indexOf('hideTerm="true"')===-1&&u.push(o),s.indexOf("mixtureSum")>=0&&(p=!0)));p&&(a=JMP.ParserStatic.createElement("DIV","",t.parentNode),a.style.position="absolute",l(a,undefined,undefined,"buttonSquare buttonUp","profileMixtureApply_"+n));for(r=0;r<u.length;r++)a=JMP.ParserStatic.createElement("DIV","",t.parentNode),a.style.position="absolute",f=JMP.ParserStatic.createElement("DIV","profilerInputContainer darkBackground text",a,"input_"+n+"_"+u[r]),f.setAttribute("variableIndex",u[r]),c=JMP.ParserStatic.createElement("INPUT","profilerInput",f),c.setAttribute("type","text"),l(f,undefined,undefined,"buttonSquare buttonUp profilerEditButton hidden","profileEdit_"+n+"_"+u[r]),l(a,undefined,undefined,"buttonSquare segmentFirst buttonDown profilerLockButton hidden","profileUnlocked_"+n+"_"+u[r],JMP.ProfileControllerStatic.SRC_UNLOCKED),l(a,undefined,undefined,"buttonSquare segmentLast buttonUp profilerLockButton hidden","profileLocked_"+n+"_"+u[r],JMP.ProfileControllerStatic.SRC_LOCKED)},e.parse=function(t){var n,o,f,l,v,m,g,y,b,w,E,S,x,T,N,C,k,L,A=!1,O,M,_,D={},P=JMP.ViewStatic.stringTorgb,H="",B=".",j=",",F="",I="",q="",R="",U="",z="/",W=":",X="",V="",$=function(e){var t;return e.getContext&&e.getContext("2d").setLineDash?!0:(e.getContext&&(t=e.getContext("2d"),t.setLineDash=function(){return}),!1)},J=function(e,t){var n,r,i=2,o=2,u,a,f,l,c=100,h=JMP.LARGE_FONT_SIZE,p,d,v,m="",g="",y,b,w,E=6;d=e.hasAttribute("value")?+e.getAttribute("value"):.5,n=e.hasAttribute("min")?+e.getAttribute("min"):0,r=e.hasAttribute("max")?+e.getAttribute("max"):.1,c=e.hasAttribute("width")?+e.getAttribute("width"):c,p=c/(r-n),a=e.hasAttribute("id")?+e.getAttribute("id"):-1,f=e.hasAttribute("ownerID")?+e.getAttribute("ownerID"):-1,l=e.hasAttribute("disabled"),e.hasAttribute("upperValue")?(t.style.width=c+"px",u=JMP.ParserStatic.createElement("DIV","sliderTrack",t),h=JMP.LARGE_FONT_SIZE,v=(d-n)*p,e.hasAttribute("upperValue")&&(y=+e.getAttribute("upperValue"),b=(y-n)*p,w=JMP.FormatStatic.formatNumber(y),u=JMP.ParserStatic.createElement("DIV","sliderRange",t),i=v,o=c-b,u.style.marginLeft=i+"px",u.style.marginRight=o+"px",s(u
,"["+m+", "+w+"]"),u=JMP.ParserStatic.createElement("DIV","sliderThumb",t),i=b-E,o=c-i-E,u.style.marginLeft=i+"px",u.style.marginRight=o+"px",u.style.marginTop=-h+"px",h+=5,s(u,w)),u=JMP.ParserStatic.createElement("DIV","sliderThumb",t),i=v-E,o=c-i-E,u.style.marginLeft=i+"px",u.style.marginRight=o+"px",u.style.marginTop=-h+"px"):(u=JMP.ParserStatic.createElement("input","range",t),u.setAttribute("min",n),u.setAttribute("max",r),u.setAttribute("value",d),u.setAttribute("step",(r-n)/200),u.style.width=c+"px",u.style.padding="0",u.setAttribute("type","range"),u.type!=="range"&&(A=!0),u.setAttribute("ownerID",f),u.setAttribute("id",a),l&&u.setAttribute("disabled","true")),m=JMP.FormatStatic.formatNumber(d),l&&(g=JMP.ControlStatic.TIP_DISABLED_CONTROL+"|"+JMP.ViewStatic.TIP_VALUE+JMP.ViewStatic.COLON+" ",u=t),g+=m,s(u,g)},K=function(e){var t,n,r,i,o,a,f,l,c,h,v,m,g,y,b,w,E,S,x,T,N,C,k,L,O,M,_,D,P,H=function(e,t){var n,r=t.length,i;for(n=0;n<r&&!i;n++)i=JMP.ParserStatic.getDescendant(e,t[n]);return i};switch(e.nodeName){case"BUTTON":f=JMP.ParserStatic.createElement(e.nodeName,"buttonUp buttonSquare"),e.hasAttribute("id")&&f.setAttribute("id",e.getAttribute("id")),e.hasAttribute("ownerID")&&f.setAttribute("ownerID",e.getAttribute("ownerID")),e.hasAttribute("disabled")&&f.setAttribute("disabled",e.getAttribute("disabled")==="true");break;case"IMG":f=JMP.ParserStatic.createElement(e.nodeName),e.hasAttribute("isStatic")&&f.setAttribute("class","staticImage"),e.hasAttribute("src")&&f.setAttribute("src",e.getAttribute("src")),e.hasAttribute("width")&&f.setAttribute("width",e.getAttribute("width")),e.hasAttribute("height")&&f.setAttribute("height",e.getAttribute("height")),s(f,JMP.ParserStatic.getNearestDescription(e));break;case"TABLE":f=JMP.ParserStatic.createElement(e.nodeName,"border");break;case"TR":f=JMP.ParserStatic.createElement(e.nodeName,"text darkBackground");break;case"TH":v=e.parentNode,a=v.childNodes.length,h=v.parentNode,o=h.childNodes.length,l=0,c=0;for(k=0;k<a;k++)m=v.childNodes[k],m.nodeName==="TD"?l++:c++;g=l>1&&c===1;for(C=0;C<o&&!g;C++){v=h.childNodes[C],a=v.childNodes.length;for(k=0;k<a&&!g;k++)m=v.childNodes[k],m.nodeName==="TH"&&(g=m.hasAttribute("colspan"))}y=e===v.childNodes[0];for(C=0;C<o&&y;C++)y=h.childNodes[C].childNodes[0].nodeName==="TH";b="text header",e.hasAttribute("isSelected")&&e.getAttribute("isSelected")==="true"?b+=" selected":b+=" darkBackground",g&&(b+=" border"),y||(b+=" wrap"),f=JMP.ParserStatic.createElement(e.nodeName,b),e.hasAttribute("rowspan")&&f.setAttribute("rowspan",e.getAttribute("rowspan")),e.hasAttribute("colspan")&&(f.setAttribute("colspan",e.getAttribute("colspan")),f.setAttribute("class",f.getAttribute("class")+" center")),e.hasAttribute("style")&&f.setAttribute("style",e.getAttribute("style")),s(f,JMP.ParserStatic.getNearestDescription(e));break;case"TD":f=JMP.ParserStatic.createElement(e.nodeName,e.parentNode.getAttribute("class")==="alt"?"text":"text lightBackground"),e.childNodes[0]&&(e.childNodes[0].nodeValue&&e.childNodes[0].nodeValue.length>40||e.childNodes[0].nodeName==="TextBox"&&e.childNodes[0].hasAttribute("width"))&&(f.className+=" wrap"),e.hasAttribute("isSelected")&&e.getAttribute("isSelected")==="true"&&f.setAttribute("class","text selected"),e.hasAttribute("rowspan")&&f.setAttribute("rowspan",e.getAttribute("rowspan")),e.hasAttribute("colspan")&&f.setAttribute("colspan",e.getAttribute("colspan")),e.hasAttribute("style")&&f.setAttribute("style",e.getAttribute("style")),u(e,f),e.hasAttribute("emphasis")&&0<+e.getAttribute("emphasis")&&f.setAttribute("class",f.getAttribute("class")+" emphasized");break;case"BorderBox":f=JMP.ParserStatic.createElement("DIV"),e.hasAttribute("padLeft")&&(f.style.paddingLeft=e.getAttribute("padLeft")+"px"),e.hasAttribute("padRight")&&(f.style.paddingRight=e.getAttribute("padRight")+"px"),e.hasAttribute("padTop")&&(f.style.paddingTop=e.getAttribute("padTop")+"px"),e.hasAttribute("padBottom")&&(f.style.paddingBottom=e.getAttribute("padBottom")+"px");break;case"SpacerBox":f=JMP.ParserStatic.createElement("DIV"),f.style.width=e.getAttribute("width")+"px",f.style.height=e.getAttribute("height")+"px",e.hasAttribute("fillColor")&&(f.style.backgroundColor=e.getAttribute("fillColor"));break;case"ScrollBox":f=JMP.ParserStatic.createElement("DIV","border scrollable"),f.style.width=e.getAttribute("width")+"px",f.style.height=e.getAttribute("height")+"px";break;case"#text":b=e.nodeValue,e.parentNode.nodeName==="TH"&&b.length>25&&(i=b.length/2,t=b.indexOf(" ",i),n=b.lastIndexOf(" ",i),r=-1,t>=0&&n>=0?r=t-i<i-n?t:n:t>=0?r=t:n>=0&&(r=n),r>=0&&(b=b.substring(0,r)+"\n"+b.substring(r+1))),f=document.createTextNode(b);break;case"Annotation":P=e.hasAttribute("isFilled")&&e.getAttribute("isFilled")==="true",f=JMP.ParserStatic.createElement("CANVAS",P?"lightBackground ":"transparentBackground "),A=!$(f);break;case"TextBox":case"TextSegment":b="",e.hasAttribute("text")&&(b=e.getAttribute("text")+" "),e.hasAttribute("isBulleted")&&e.getAttribute("isBulleted")==="true"&&(b=JMP.ViewStatic.addBullet(b)),e.hasAttribute("color")||e.hasAttribute("align")||e.hasAttribute("isFilled")||e.hasAttribute("isFramed")?(f=JMP.ParserStatic.createElement("DIV"),e.hasAttribute("color")&&(f.style.color=e.getAttribute("color")),e.hasAttribute("align")&&(f.style.textAlign=e.getAttribute("align")),e.hasAttribute("isFilled")&&(f.style.backgroundColor=e.hasAttribute("fillColor")?e.getAttribute("fillColor"):"white"),e.hasAttribute("isFramed")&&(f.style.borderWidth="1px",f.style.borderColor=e.hasAttribute("color")?e.getAttribute("color"):"black",f.style.borderStyle="solid"),e.hasAttribute("width")&&(f.style.width=1.1*e.getAttribute("width")+"px"),e.hasAttribute("hasMarkup")&&e.getAttribute("hasMarkup")==="true"?(b=d(b),b=p(b),f.innerHTML=b):(m=document.createTextNode(b),f.appendChild(m))):e.hasAttribute("disabled")?(f=JMP.ParserStatic.createElement("DIV"),m=document.createTextNode(b),f.setAttribute("class","disabledText"),f.appendChild(m)):f=document.createTextNode(b),e.hasAttribute("id")&&(f.setAttribute("id",e.getAttribute("id")),JMP.ParserStatic.setLinked(e,"htmlNode",f)),s(f,JMP.ParserStatic.getNearestDescription(e));break;case"NumberBox":M=e.getAttribute("value"),M==="."?f=document.createTextNode(M):(_=JMP.ParserStatic.getFormat(e),f=document.createTextNode(JMP.FormatStatic.formatNumber(+M,_)));break;case"A":f=JMP.ParserStatic.createElement(e.nodeName),e.hasAttribute("href")&&f.setAttribute("href",e.getAttribute("href")),f.setAttribute("target","_blank"),s(f,JMP.ParserStatic.getNearestDescription(e));break;case"FIELDSET":case"LEGEND":f=JMP.ParserStatic.createElement(e.nodeName);break;case"LegendBox":f=JMP.ParserStatic.createElement("CANVAS"),A=!$(f);break;case"INPUT":w=0,f=JMP.ParserStatic.createElement("DIV","left"),e.getAttribute("type")==="range"?J(e,f):(m=JMP.ParserStatic.createElement(e.nodeName),m.setAttribute("type",e.getAttribute("type")),e.hasAttribute("checked")&&e.getAttribute("checked")==="true"&&m.setAttribute("checked","true"),e.getAttribute("type")==="button"?(e.hasAttribute("value")&&(m.setAttribute("value",e.getAttribute("value")),w=JMP.ViewStatic.getApproximateWidth(m.getAttribute("value")+" ")),e.hasAttribute("disabled")&&m.setAttribute("disabled","true")):(m.setAttribute("disabled","true"),f.setAttribute("class","left disabledText"),s(f,JMP.ParserStatic.getNearestDescription(e))),e.hasAttribute("width")&&(w=Math.max(w,1.1*e.getAttribute("width")),m.style.width=w+"px"),f.appendChild(m),s(m,JMP.ParserStatic.getNearestDescription(e)));break;case"SELECT":f=JMP.ParserStatic.createElement(e.nodeName),f.setAttribute("disabled","true"),s(f,JMP.ParserStatic.getNearestDescription(e)),e.hasAttribute("width")&&(D=e.firstChild,D&&D.firstChild&&(D=D.firstChild,D&&D.nodeName==="#text"&&(w=JMP.ViewStatic.getApproximateWidth(D.nodeValue+" "),w=Math.max(w,1.1*e.getAttribute("width")),f.style.width=w+"px")));break;case"OPTION":f=JMP.ParserStatic.createElement(e.nodeName);break;case"OutlineBox":f=JMP.ParserStatic.createElement("DIV","layoutTable spaceTop");break;case"PageBreakBox":f=JMP.ParserStatic.createElement("HR");break;case"PictureBox":E=JMP.ParserStatic.getDescendants(e,"FrameBox"),S=JMP.ParserStatic.getDescendants(e,"TABLE"),x=[],T=!1,N=!1,r=S.length;for(t=0;t<r;t++){x=x.concat(JMP.ParserStatic.getDescendants(S[t],"FrameBox")),o=S[t].childNodes.length;for(C=0;C<o&&(!T||!N);C++){L=S[t].childNodes[C],a=L.childNodes.length;for(k=0;k<a&&(!T||!N);k++)if(L.childNodes[k].childNodes[0]){O=L.childNodes[k].childNodes[0].nodeName;if(O==="#text"||O==="TextBox"||O==="TextSegment")T=!0;O==="LegendCell"&&(N=!0)}}}E.length>x.length||S.length&&(!T||N)?(O=e.parentNode.nodeName,f=JMP.ParserStatic.createElement("CANVAS",O==="CustomBox"?"lightBackground":"border darkBackground"),E.length===1&&(E[0].hasAttribute("borderTop")&&E[0].getAttribute("borderTop")==="false"&&(f.className=f.className+" noBorderTop"),E[0].hasAttribute("borderRight")&&E[0].getAttribute("borderRight")==="false"&&(f.className=f.className+" noBorderRight"),E[0].hasAttribute("borderBottom")&&E[0].getAttribute("borderBottom")==="false"&&(f.className=f.className+" noBorderBottom"),E[0].hasAttribute("borderLeft")&&E[0].getAttribute("borderLeft")==="false"&&(f.className=f.className+" noBorderLeft")),A=!$(f)):f=JMP.ParserStatic.createElement("DIV");break;case"ScaleBox":JMP.ParserStatic.getDescendant(e,"PictureBox")===null&&H(e,["AxisBox","NominalAxisBox","BoxPlotSegment","BubblePlotSegment","GridReferenceSegment","HistogramSegment","LabelSegment","LineSegment","MarkerSegment","MosaicSegment","PictSegment","PolySegment","ProfileSegment","RectSegment","ScriptSegment","ShapeSegment","TextSegment"])?(f=JMP.ParserStatic.createElement("CANVAS","border darkBackground"),A=!$(f)):f=JMP.ParserStatic.createElement("DIV");break;default:f=JMP.ParserStatic.createElement("DIV"),e.hasAttribute&&e.hasAttribute("width")&&(f.style.width=e.getAttribute("width")+"px"),e.hasAttribute&&e.hasAttribute("height")&&(f.style.height=e.getAttribute("height")+"px")}return f},Q=function(e){var t,n,r=e.childNodes.length-1,i=!0,s=0;for(t=0;t<r&&i;t++)n=e.childNodes[t],i=n.nodeName==="Annotation",i&&s++;for(t=r;t>s;t--)n=e.childNodes[t],n.nodeName==="Annotation"&&(e.removeChild(e.childNodes[t]),e.insertBefore(n,e.firstChild),t++,s++)},G=function(e,t){var n,r,i,s,o,u,a,f;if(e.nodeName==="Annotation"){f=e.hasAttribute("isTip")&&e.getAttribute("isTip")==="true",f?(r=JMP.ParserStatic.createElement("CANVAS","annotation revealed"),JMP.ParserStatic.setLinked(r,"subTrees",e),JMP.ParserStatic.setLinked(e,"canvasNode",r),n=c(e,r),JMP.ParserStatic.setLinked(e,"htmlNode",n)):(a=e.hasAttribute("isFilled")&&e.getAttribute("isFilled")==="true",n=JMP.ParserStatic.createElement("CANVAS",(a?"lightBackground ":"")+"annotation"),JMP.ParserStatic.setLinked(n,"subTrees",e)),t.parentNode.className==="annotationWrapper"?(i=t.parentNode,i.appendChild(n)):(i=JMP.ParserStatic.createElement("DIV","annotationWrapper"),s=t.parentNode,s.removeChild(t),i.appendChild(t),i.appendChild(n),s.appendChild(i)),r&&i.appendChild(r);return}if(e.nodeName==="AxisBox"||e.nodeName==="BorderBox"||e.nodeName==="CenterBox"||e.nodeName==="FrameBox"||e.nodeName==="GraphBuilderBox"||e.nodeName==="GraphBuilderAxisBox"||e.nodeName==="GraphBuilderComponentBox"||e.nodeName==="GraphBuilderContainerBox"||e.nodeName==="GraphBuilderGroupBox"||e.nodeName==="GraphBuilderTitleBox"||e.nodeName==="IfBox"||e.nodeName==="IfSegment"||e.nodeName==="LineUpBox"||e.nodeName==="ListBox"||e.nodeName==="SplitterBox"||e.nodeName==="OutlineBox"||e.nodeName==="PictureBox"||e.nodeName==="ScaleBox"||e.nodeName==="TextBox"){u=e.childNodes.length;for(o=0;o<u;o++)G(e.childNodes[o],t)}},Y=function(t,n,o){var u=n,f=n,l,c,h,p,d,v,m,g,y,b,w,E,S,x,T,N,C,k,L,A,O,M,_,D,P,H,B,j,F,I,q,R,U,z,W,X,V,$,J,Z,et,tt,nt,rt,it,st,ot,ut,at=[],ft,lt,ct=0,ht,pt,dt=!1,vt,mt;o==="tab"&&(ct=r,r++);if(n.nodeName==="CANVAS"){t.nodeName!=="Annotation"&&G(t,n),t.firstChild&&t.firstChild.nodeName==="ProfileController"&&e.createProfilerControls(t,n,+t.firstChild.getAttribute("id")),JMP.ParserStatic.setLinked(n,"subTrees",t);return}switch(t.nodeName){case"IfBox":if(t.hasAttribute("condition")&&t.getAttribute("condition")==="false"&&(!t.childNodes||t.childNodes.length!==1||t.childNodes[0].nodeName!=="LegendBox"))return;break;case"TABLE":if(t.childNodes.length>0){E=0,S=0,h=t.childNodes[0],w=h.childNodes.length;for(b=0;b<w;b++)p=h.childNodes[b],p.nodeName==="TD"?E++:S++;if(E===0)u=JMP.ParserStatic.createElement("THEAD","border darkBackground",n),t.childNodes.length>20&&(f=JMP.ParserStatic.createElement("TBODY","border darkBackground",n),f.setAttribute("jmpHeight",t.getAttribute("height")));else if(S>=1){N=JMP.ParserStatic.createElement("COLGROUP",null,n),V=!1,$=h.childNodes[0].nodeName==="TH";for(b=0;b<w;b++)J=b<w-1&&h.childNodes[b+1].nodeName==="TH",V&&$&&J?Z="borderTopBottom darkBackground":V&&$?Z="borderTopBottomRight darkBackground":$&&J?Z="borderTopBottomLeft darkBackground":$?Z="border darkBackground":Z=null,T=JMP.ParserStatic.createElement("COL",Z,N),h.childNodes[b].hasAttribute("colspan")&&T.setAttribute("span",h.childNodes[b].getAttribute("colspan")),V=$,$=J;p=T}}break;case"LineUpBox":if(!JMP.ParserStatic.getAncestor(t,"PictureBox")&&t.hasAttribute("nColumns")){R=+t.getAttribute("nColumns"),q=JMP.ParserStatic.createElement("TABLE",null,n),N=JMP.ParserStatic.createElement("COLGROUP",null,q);for(b=0;b<R;b++)JMP.ParserStatic.createElement("COL",null,N)}break;case"OutlineBox":case"TabPageBox":case"ListBox":case"WrapListBox":case"SplitterBox":Q(t);if(t.nodeName==="OutlineBox"&&t.getAttribute("title")!==""&&t.getAttribute("isSuppressed")!=="true"||t.nodeName==="TabPageBox"&&t.parentNode.nodeName!=="TabBox"){ht=t.hasAttribute("isRevealed")&&t.getAttribute("isRevealed")==="false",h=JMP.ParserStatic.createElement("DIV","layoutRow",n),p=JMP.ParserStatic.createElement("DIV","layoutCell left indent nowrap",h),d=JMP.ParserStatic.createElement("BUTTON","buttonUp",p),v=JMP.ParserStatic.createElement("IMG","outline",d),v.setAttribute("src",ht?JMP.OutlineStatic.SRC_CONCEALED:JMP.OutlineStatic.SRC_REVEALED),t.hasAttribute("isSelected")&&t.getAttribute("isSelected")==="true"&&d.setAttribute("class",d.getAttribute("class")+" selected"),pt=JMP.ViewStatic.wrap(null,600,[t.getAttribute("title")]);for(b=0;b<pt.length;b++)b>0&&d.appendChild(document.createElement("BR")),m=document.createTextNode(pt[b]),d.appendChild(m);t.hasAttribute("description")||t.setAttribute("description",t.getAttribute("title")),Z=t.getAttribute("description"),JMP.EventFacadeStatic.addEventListener(d,function(e){JMP.OutlineStatic.onOutline(e,Z!==t.getAttribute("title")?{lines:[Z]}:undefined)}),t.nodeName==="TabPageBox"&&JMP.ParserStatic.getDescendants(t,"TabPageBox").length===1&&JMP.ParserStatic.getDescendants(t,"OutlineBox").length===1?x=a(JMP.ParserStatic.getDescendant(t,"OutlineBox")):x=a(t),x>=0&&(d=JMP.ParserStatic.createElement("BUTTON",ht?"buttonSquare buttonUp spaceLeft concealed":"buttonSquare buttonUp spaceLeft revealed",p),v=JMP.ParserStatic.createElement("IMG","buttonImage",d),v.setAttribute("src",JMP.MenuStatic.SRC_MENU),JMP.EventFacadeStatic.addEventListener(d,function(e,t){JMP.MenuStatic.onMenuButton(e,JMP.DocumentStatic.menuProvider,JMP.DocumentStatic.menuHandler,t.menuId)},{menuId:x})),h=JMP.ParserStatic.createElement("DIV",ht?"layoutRow concealed":"layoutRow revealed",n),p=JMP.ParserStatic.createElement("DIV","layoutCell left indent",h),u=p,f=p}if(t.hasAttribute("isHorizontal")&&t.getAttribute("isHorizontal")==="true"){c=JMP.ParserStatic.createElement("DIV","layoutTable",f),h=JMP.ParserStatic.createElement("DIV","layoutRow",c),x=t.childNodes.length;for(b=0;b<x;b++)g=t.childNodes[b],y=K(g),p=JMP.ParserStatic.createElement("DIV","layoutCell",h),p.appendChild(y),Y(g,y,o);return}if(t.nodeName==="OutlineBox"){x=t.childNodes.length,nt=x>0;for(b=0;b<x&&nt;b++)g=t.childNodes[b],nt=g.nodeName==="PictureBox";nt&&(R=1,q=JMP.ParserStatic.createElement("TABLE",null,f),N=JMP.ParserStatic.createElement("COLGROUP",null,q),JMP.ParserStatic.createElement("COL",null,N))}break;case"TabBox":o+="_"+i,i++,f.style.width="auto",f.style.height="auto",f.style.paddingBottom=JMP.TabStatic.BOTTOM_PADDING+"px",rt=JMP.ParserStatic.createElement("DIV","tabBox",f),it=JMP.ParserStatic.createElement("UL","tabs",rt),st=JMP.ParserStatic.createElement("DIV","tabContentContainer",rt),ot=t.getAttribute("tabTitles").split(","),ut=t.getAttribute("tabTooltips").split(","),x=t.childNodes.length;for(b=0;b<x;b++)g=t.childNodes[b],y=K(g),lt=JMP.ParserStatic.createElement("LI",b===0?"selectedTab":null,it),lt.id=o+"_"+ct+"_"+b,lt.innerHTML=ot[b],lt.tabIndex=0,ut[b]!==""&&s(lt,ut[b]),JMP.EventFacadeStatic.addEventListener(lt,JMP.TabStatic.onTab),ft=JMP.ParserStatic.createElement("DIV","tabContent",st),ft.id=o+"_"+ct+"_"+b+"Content",ft.appendChild(y),ft.style.display=b===0?"":"none",Y(g,y,lt.id),at[b]=ft;ct++;return;case"LegendCell":t.hasAttribute("color")&&(t.hasAttribute("showFill")?(d=JMP.ParserStatic.createElement("DIV","filledLegendCell border",n),d.style.backgroundColor=t.getAttribute("color"),t.hasAttribute("width")&&(d.style.width=t.getAttribute("width")+"px"),t.hasAttribute("height")&&(d.style.height=t.getAttribute("height")+"px")):(d=JMP.ParserStatic.createElement("DIV","lineLegendCell",n),d.style.backgroundColor=t.getAttribute("color")));break;case"BarBox":C=t.hasAttribute("origin")?+t.getAttribute("origin"):0,k=t.hasAttribute("range")?+t.getAttribute("range"):1,L=t.hasAttribute("value")?+t.getAttribute("value"):.5,A=t.hasAttribute("lower")?+t.getAttribute("lower"):undefined,O=t.hasAttribute("upper")?+t.getAttribute("upper"):undefined,M=t.hasAttribute("width")?+t.getAttribute("width")/k:0,F=t.hasAttribute("cumulativeValue")?+t.getAttribute("cumulativeValue"):undefined,A!==undefined&&O===undefined&&(O=A,A=-A,A<C&&(A=C)),B=L,B<C&&(B=C),B>C+k&&(B=C+k),C>=0?(_=0,D=M*(B-C),P=M*(C+k-B)):L>=0?(_=M*-C,D=M*B,P=M*(C+k-B)):(_=M*(B-C)+1,D=M*-B,P=M*(C+k)),H=JMP.LARGE_FONT_SIZE,D>=1.5?(d=JMP.ParserStatic.createElement("DIV","barBox border",n),d.style.marginLeft=_+"px",d.style.width=(D>2?D-2:0)+"px",d.style.height=H+"px",d.style.marginRight=P+"px"):D>=.5?(d=JMP.ParserStatic.createElement("DIV","barBoxSmall",n),d.style.marginLeft=_+"px",d.style.width="1px",d.style.height=H+2+"px",d.style.marginRight=P+"px"):(d=JMP.ParserStatic.createElement("DIV","",n),d.style.height=H+2+"px"),et=[d],H+=2,D>4&&Math.abs(L-B)>Math.abs(k*1e3*JMP.MAC_EPS)&&(j=H/JMP.GOLDEN,_+=(L>=C?D-2-j:j)-3,d=JMP.ParserStatic.createElement("DIV","lightBackground",n),d.style.marginLeft=_+"px",d.style.width="4px",d.style.height=H+"px",d.style.marginTop=-H+"px",et.push(d)),F!==undefined&&(I=F,I<C&&(I=C),I>C+k&&(I=C+k),I!==B&&(_=M*(I-C),d=JMP.ParserStatic.createElement("DIV","barBoxSmall",n),d.style.marginLeft=_+"px",d.style.width="1px",d.style.height=H+"px",d.style.marginTop=-H+"px",et.push(d))),A!==undefined&&(_=M*(A-C)+(A<0?1:0),d=JMP.ParserStatic.createElement("DIV","barBoxBound",n),d.style.marginLeft=_+"px",d.style.width="1px",d.style.height=H+"px",d.style.marginTop=-H+"px",et.push(d)),O!==undefined&&O!==A&&(_=M*(O-C),d=JMP.ParserStatic.createElement("DIV","barBoxBound",n),d.style.marginLeft=_+"px",d.style.width="1px",d.style.height=H+"px",d.style.marginTop=-H+"px",et.push(d)),et.push(n),tt=et.length;for(b=0;b<tt;b++)JMP.EventFacadeStatic.addEventListener(et[b],JMP.TableBoxStatic.onPointerEventTable,{origin:C,range:k,value:L,cumulativeValue:F,upper:O,lower:A});break;default:}x=t.childNodes.length,l=t.hasAttribute&&t.hasAttribute("isHorizontal")&&t.getAttribute("isHorizontal")==="true";if(q){for(b=0;b<x;b++){g=t.childNodes[b];if(g.nodeName==="INPUT"&&g.hasAttribute("type")&&g.getAttribute("type")==="range"){dt=!0;break}}X=0;for(b=0;b<x;b++){g=t.childNodes[b],y=K(g),X%R===0&&(U=JMP.ParserStatic.createElement("TR","text lineUpBoxRow",q));if(g.nodeName==="UnlineUpBox"){if(g.childNodes.length!==1||g.firstChild.nodeName!=="IfBox"||!g.firstChild.hasAttribute("condition")||g.firstChild.getAttribute("condition")==="true"){W=JMP.ParserStatic.getDescendant(g,"TextBox");if(W&&W.hasAttribute("width")&&+W.getAttribute("width")>1||g.firstChild.nodeName==="IfBox")W&&(z=JMP.ParserStatic.createElement("TD","text verticallyCentered border",U),z.width=W.getAttribute("width")+"px"),z.appendChild(y),z.setAttribute("colspan",R),z.style.whiteSpace="pre-wrap",U.appendChild(z),X=0}}else z=JMP.ParserStatic.createElement("TD",dt?"text verticallyCentered":"text",U),z.appendChild(y),U.appendChild(z),X++;Y(g,y,o)}}else for(b=0;b<x;b++){g=t.childNodes[b],y=K(g);if(!!l||g.nodeName!=="IMG"&&g.nodeName!=="INPUT"&&g.nodeName!=="TextBox"&&g.nodeName!=="TextSegment"&&g.nodeName!=="NumberBox"){vt=!1;if(u.nodeName==="THEAD"&&g.nodeName==="TR"&&g.childNodes){vt=!0;for(mt=0;mt<g.childNodes.length;mt++)if(g.childNodes[mt].nodeName!=="TH"){vt=!1;break}}b===0||vt?u.appendChild(y):f.appendChild(y)}else d=JMP.ParserStatic.createElement("DIV",null,b===0?u:f),d.appendChild(y);Y(g,y,o)}if(t.nodeName==="TABLE"&&(JMP.ParserStatic.getDescendant(n,"BUTTON")||JMP.ParserStatic.getDescendant(n,"INPUT"))){et=JMP.ParserStatic.getDescendants(n,"TR"),tt=et.length;if(tt===1){n.className=n.className.replace("border",""),h=et[0],h.className=h.className.replace("darkBackground",""),et=JMP.ParserStatic.getDescendants(h,"TD"),tt=et.length;for(b=0;b<tt;b++)et[b].className=et[b].className.replace("lightBackground",""),et[b].className=et[b].className.replace("text","")}else{et=JMP.ParserStatic.getDescendants(n,"TD"),tt=et.length;for(b=0;b<tt;b++)et[b].className+=" verticallyCentered"}}},Z=function(e){var t={};return e.replace(new RegExp('(\\w+)=(".*?")',"g"),function(e,n,r){e&&(t[n]=r.slice(1,r.length-1))}),t};JMP.lastTarget=null,O=JMP.ParserStatic.createElement("DIV","",document.body,"body"),JMP.EventFacadeStatic.addEventListener(O,JMP.ControlStatic.onPointerEvent),JMP.EventFacadeStatic.addEventListener(document,JMP.ControlStatic.onPointerEvent),t=t.replace(/'/g,"'"),t=t.replace(/ /g," "),t=t.replace(/ /g," "),t=t.replace(/	/g,""),e.XMLLength=t.length,f=t.indexOf("<Data>"),f<0&&(f=t.indexOf("<Data/>")),l=t.indexOf("</Data",f),b=t.slice(0,f)+"</JMPReport>",w=f+6<=l?t.slice(f+6,l):"",f=0,y=0,m=w.length;while(f<m){y=w.indexOf("Term",f),f=w.indexOf("Array",f),M=w.slice(f-6,f);if(y>0&&(f<0||y<f))f=y,l=w.indexOf(">",f+1),w.charAt(f-1)==="X"?(w.charAt(l-1)!=="/"&&(l=w.indexOf("</XTerm>",l+1)+7),o=w.slice(f-2,l+1),JMP.ParserStatic.setStored(JMP.ParserStatic.STORAGE_NAME,o),f=l+1):(l=w.indexOf("</YTerm>",f+1),o=w.slice(f-2,l+8),JMP.ParserStatic.setStored(JMP.ParserStatic.STORAGE_NAME,o),f=l+8);else{f+=6;if(w.charAt(f)===">")JMP.ParserStatic.setStored(JMP.ParserStatic.STORAGE_NAME,w.slice(f-14,f-6)==="RowState"?JMP.RowStates():[]),f++;else if(w.charAt(f-1)===" ")T=w.slice(f-12,f-6)==="String",l=w.indexOf(">",f+1),o=w.slice(f,l),D=Z(o),D.formatCode&&(H=D.formatCode),D.decimalSeparator&&(B=D.decimalSeparator),D.thousandsSeparator&&(j=D.thousandsSeparator),D.positivePrefix&&(F=D.positivePrefix),D.positiveSuffix&&(I=D.positiveSuffix),D.negativePrefix&&(q=D.negativePrefix),D.negativeSuffix&&(R=D.negativeSuffix),D.dateTimePattern&&(U=D.dateTimePattern),D.dateSeparator&&(z=D.dateSeparator),D.timeSeparator&&(W=D.timeSeparator),D.AMDesignator&&(X=D.AMDesignator),D.PMDesignator&&(V=D.PMDesignator),o=w.slice(l-1,l),o==="/"?E=[]:(f=l+1,l=w.indexOf(M+"Array",f)-2,o=w.slice(f,l),o=o.replace(/&/g,"&"),o=o.replace(/</g,"<"),o=o.replace(/>/g,">"),E=JSON.parse("["+o+"]")),_=undefined,D.valueOrdering&&(_=D.valueOrdering.split("|"),T||(_=_.map(Number))),E=JMP.Column(E,D.name,T?JMP.VariableStatic.TYPE_STRING:JMP.VariableStatic.TYPE_NUMBER,T?JMP.VariableStatic.LEVEL_ORDINAL:JMP.CanvasStatic.getDataLevel(D.dataLevel),JMP.Format(JMP.ParserStatic.getFormatName(D.formatName),D.showThousands==="true",D.nDecimals?+D.nDecimals:-1,D.fieldWidth?+D.fieldWidth:-1,H,B,j,F,I,q,R,U,z,W,X,V,D.useAMPM==="true",D.useAMPMInFront==="true",D.use24HourClock==="true",D.useZeroForMidnight==="true",D.useMinusForNegativeDateTime==="true",D.useLeadingZeroForHour==="true"),D.valueLabels?JSON.parse(D.valueLabels.replace(/"/g,'"')):undefined,_,D.isInformativeMissing==="true"),JMP.ParserStatic.setStored(JMP.ParserStatic.STORAGE_NAME,E),o==="/"?f=l+1:f=l+14;else{l=w.indexOf(M+"Array",f)-2,x=w.slice(l,l+8)==="RowState",o=w.slice(f,x?l-2:l),o=o.replace(/&/g,"&"),o=o.replace(/</g,"<"),o=o.replace(/>/g,">"),E=JSON.parse("["+o+"]"),S=null;if(x){S=JMP.RowStates(),g=E.length;for(v=0;v<g;v++)o=E[v],n=parseInt(o.substr(1,1),16),n&1&&(S.selectedIndices[S.nSelectedIndices]=v,S.nSelectedIndices++),S.selected[v]=n&1?!0:!1,S.hidden[v]=n&2?!0:!1,S.excluded[v]=n&4?!0:!1,S.labeled[v]=n&8?!0:!1,S.color[v]=P(o.substr(2,6)),S.marker[v]=parseInt(o.substr(8),16)}JMP.ParserStatic.setStored(JMP.ParserStatic.STORAGE_NAME,x?S:E),f=l+14}}}return N=new window.DOMParser,C=N.parseFromString(b,"text/xml"),k=C.childNodes[0],k.hasAttribute("epoch")&&(JMP.EPOCH=+k.getAttribute("epoch")),k.hasAttribute("locale")&&(JMP.LOCALE=k.getAttribute("locale")),L=document.createDocumentFragment(),Y(C,L,"tab"),document.getElementById("body").className="hidden",document.getElementById("body").appendChild(L),h(),document.getElementById("progressLabel").innerHTML=k.getAttribute("messageLoading"),A&&JMP.DialogStatic.showMessage(undefined,k.getAttribute("warningUnsupported")),k},e}(),window.onresize=function(){"use strict";JMP.ControlStatic.invalidateOffsets(),JMP.DocumentStatic.adjustScrollableTableCellSize()},window.onscroll=function(){"use strict";JMP.ViewStatic.updateTooltip()},window.onload=function(){"use strict";var e,t;JMP.DocumentStatic.createElements(),JMP.DocumentStatic.progress=document.getElementsByTagName("progress")[0],JMP.DocumentStatic.progress.className="hidden",e='<JMPReport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="JMPWeb.xml" epoch="1904" locale="en" monthNamesLong="januar,februar,marts,april,maj,juni,juli,august,september,oktober,november,december" monthNamesShort="jan,feb,mar,apr,maj,jun,jul,aug,sep,okt,nov,dec" monthNamesInline="jan,feb,mar,apr,maj,jun,jul,aug,sep,okt,nov,dec" dayNames="søndag,mandag,tirsdag,onsdag,torsdag,fredag,lørdag" infinity="Infinity" colon="^X:" openParen="(^X" closeParen="^X)" geographicDirectionIndicators="N,S,E,W" outlineRevealTooltip="Reveal contents" outlineConcealTooltip="Conceal contents" defaultTabTooltip="Reveal contents" openTip="Made with JMP Statistical Discovery Software.|Open" helpTip="Open Help" closeButton="Close" closeTip="Close message" closeTipTip="Close" menuTip="Display a menu of commands" rowLabel="Row" rows="Rows" share="Share" sumLabel="Sum" selectOnly="Select one object" selectToggle="Select multiple objects" focusReport="Identify objects" focusGraph="Zoom the graphs" focusData="Drag a rectangle to select objects" messageLoading="Loading..." warningUnsupported="This JMP report is not fully supported by your web browser. For best results, please use a newer browser." disabledControlTip="Disabled control" valueTip="Value" missingTip="Missing" cumulativeValueTip="Cumulative value" referenceValueTip="Reference value" lowerBoundTip="Lower bound" upperBoundTip="Upper bound" minWhiskerTip="Minimum, excluding outliers" maxWhiskerTip="Maximum, excluding outliers" minShortestHalfTip="Shortest half minimum" maxShortestHalfTip="Shortest half maximum" largerMarkers="Increase Marker Size" smallerMarkers="Decrease Marker Size" startAnimationTip="Start animation" pauseAnimationTip="Pause animation" forwardAnimationTip="Step forward" backwardAnimationTip="Step backward" timeSliderTip="Time position" speedSliderTip="Animation speed" drawMenu="Draw" labelMenu="Label" selectAll="Select All" showTimeLabel="Show Time Label" trailBubblesMenu="Trail Bubbles" trailLinesMenu="Trail Lines" aggregateMenu="Aggregate" selectableAcrossGaps="Selectable Across Gaps" drawFilled="Filled" drawOutlined="Outlined" drawFilledAndOutlined="Filled and Outlined" whichNone="None" whichSelected="Selected" whichAll="All" aggregateXSum="X as Sum" aggregateYSum="Y as Sum" aggregateSizeSum="Size as Sum" aggregateColorSum="Color as Sum" variableRolesTip="Variable roles" roleSum="Sum" roleMean="Mean" roleX="X" roleY="Y" roleColor="Coloring" roleSize="Sizes" splitBubblesTip="Split selected bubbles" combineBubblesTip="Combine selected bubbles" sizeSliderTip="Bubble size" estimatedTip="(estimated)" backButtonID="39" stepButtonID="38" playButtonID="44" splitButtonID="42" combineButtonID="43" reset="Reset" adaptYAxis="Adapt Y Axis" warningProfilerCurve="Not all curves in this Profiler could be created as interactive HTML. See JMP to explore these curves." warningProfilerVariableNumeric="The text entered is not a valid number." profilerLockTip="Lock constrained mixture variable" profilerUnlockTip="Unlock constrained mixture variable" profilerApplySettingTip="Apply setting to the profiler" profilerEditTip="Edit X value" profilerDropdownTip="Select X value" profilerControlTip="To change the X value, click or drag anywhere in the graph" applyMixture="Apply" applyMixtureTip="Apply all changes to X values. Constrained values will be automatically adjusted if they do not sum to ^SUM." legendTip="Legend" applyButton="Apply" applyTip="Apply these values and return" cancelButton="Cancel" cancelTip="Do nothing and return" negativeDurationLabel="Duration is negative" monthLabel="Month" dayLabel="Day" yearLabel="Year" hourLabel="Hour" minuteLabel="Minute" secondLabel="Second" degreeLabel="Degree" daysLabel="Days" hoursLabel="Hours" minutesLabel="Minutes" secondsLabel="Seconds" amPmLabel="AM / PM" directionLabel="Direction" geographicDirectionNames="North,South,East,West" errorYearFormat="Year must be a number between 0 and 9999." errorMinuteFormat="Minutes must be a number between 0 and 59." errorSecondFormat="Seconds must be a number between 0 and 59." errorDaysDurationFormat="Days must be a number between 0 and 3650000." errorHoursDurationFormat="Hours must be a number 0 or greater." errorMinutesDurationFormat="Minutes must be a number 0 or greater." errorDegreesGeographicFormat="Degrees must be a number between 0 and ^MAX." errorGeographicFormat="^FIELD must be a number 0 or greater and less than 60." statisticNamePercentOfTotal="Percent of Total" statisticNameN="Count" statisticNameSum="Sum" statisticNameMean="Mean" statisticNameVariance="Variance" statisticNameStdDev="Standard Deviation" statisticNameStdErr="Standard Error" statisticNameMin="Minimum" statisticNameMax="Maximum" statisticNameRange="Range" statisticNameInterquartileRange="Interquartile Range" statisticNameMedian="Median" statisticNameConfidence="95% Confidence" statisticNameGeometricMean="Geometric Mean"><Display><OutlineBox title="Distributions"><WrapListBox isHorizontal="true"><DropBox><SpacerBox width="6" height="91"/></DropBox><OutlineBox title="Tidsstempel"><ListBox><ListBox><IfBox><PictureBox><BorderBox padTop="2" padLeft="2" padBottom="5" padRight="2"><ScaleBox id="1" origin="3571586044.76534" width="984710.469313622" nMinor="0" formatName="MM_DD_YYYYHH_MM" fieldWidth="19" decimalSeparator="," thousandsSeparator="." dateTimePattern="%MM%/%DD%/%YYYY% %hh%:%mm%%ampm%" dateSeparator="-" use24HourClock="true" useLeadingZeroForHour="true" timeCode="5" nBins="5" minInit="3571586044.76534" maxInit="3572570755.23466" typeInit="linearInit" widthMajorInit="172800" nMinorInit="0" nObsInit="100" widthMajor="172800" tickOrientations="horizontal" length="277" baselength="277"><ScaleBox id="2" origin="0" width="125.4" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="0" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="5" minInit="0" maxInit="125.4" typeInit="linearInit" widthMajorInit="25" nMinorInit="0" nObsInit="10" widthMajor="25" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="3" origin="0" width="1.045" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="5" minInit="0" maxInit="1.045" typeInit="linearInit" widthMajorInit="0.2" nMinorInit="0" nObsInit="20" widthMajor="0.2" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="4" origin="0" width="0.0000060474537037037" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="6" minInit="0" maxInit="0.0000060474537037037" typeInit="linearInit" widthMajorInit="0.000001" nMinorInit="0" nObsInit="20" widthMajor="0.000001" tickOrientations="horizontal" length="110" baselength="110"><BorderBox padTop="5" padLeft="15" padBottom="5" padRight="15"><ListBox isHorizontal="true"><DropBox><BorderBox padLeft="5"><AxisBox width="108" height="278" padBefore="10" padAfter="10" XSizeID="0" YSizeID="1" XScaleID="0" YScaleID="1"/></BorderBox></DropBox><IfBox><ListBox><PictureBox><BorderBox padRight="4"><FrameBox width="111" height="278" borderTop="false" borderBottom="false" borderLeft="false" borderRight="false" fillColor="#FFFFFF" XSizeID="4" YSizeID="1" XScaleID="4" YScaleID="1"><GridReferenceSegment showMajorGridsX="false" showMinorGridsX="false" majorGridColorsX="#D7D7D7" minorGridColorsX="#F0F0F0" showMajorGridsY="false" showMinorGridsY="false" majorGridColorsY="#D7D7D7" minorGridColorsY="#F0F0F0"/><GridReferenceSegment showReference="true"/><HistogramSegment binOrigin="3571516800" binSpan="12" binWidth="172800" nBins="6" maximumDensity="0.0000060474537037037" fillColor="#BACABA" lineColor="#515851" selectedFillColor="#5D795D" rowStatesIndex="0"><Score index="1"/></HistogramSegment></FrameBox></BorderBox></PictureBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="2" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Count" width="35" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="3" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Probability" width="59" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="4" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Density" width="42" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox></ListBox></IfBox><IfBox condition="false"><PictureBox><FrameBox width="47" height="278" fillColor="#FFFFFF" XSizeID="0" YSizeID="1" XScaleID="0" YScaleID="1" XMultiplier="1" YMultiplier="1" XAddend="10" YAddend="0"><GridReferenceSegment showMajorGridsY="false" showMinorGridsY="false" majorGridColorsY="#D7D7D7" minorGridColorsY="#F0F0F0"/><GridReferenceSegment showReference="true"/><BoxPlotSegment graphType="quantile" position="0" width="0" showFences="true" lineColor="#000000" lineWidth="1"><Quantiles index="2"/><Moments index="3"/><Adjacents index="4"/></BoxPlotSegment></FrameBox></PictureBox></IfBox><IfBox><PictureBox><ScaleBox id="6" origin="0" width="1" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="4" minInit="0" maxInit="1" typeInit="linearInit" widthMajorInit="0.25" nMinorInit="0" nObsInit="0" widthMajor="0.25" tickOrientations="horizontal" length="36" baselength="36"><FrameBox width="47" height="278" fillColor="#FFFFFF" XSizeID="6" YSizeID="1" XScaleID="6" YScaleID="1" XMultiplier="1" YMultiplier="1" XAddend="10" YAddend="0"><GridReferenceSegment showMajorGridsX="false" showMinorGridsX="false" majorGridColorsX="#D7D7D7" minorGridColorsX="#F0F0F0" showMajorGridsY="false" showMinorGridsY="false" majorGridColorsY="#D7D7D7" minorGridColorsY="#F0F0F0"/><GridReferenceSegment showReference="true"/><BoxPlotSegment graphType="outlier" position="0" width="0" showFences="true" lineColor="#000000" lineWidth="1"><Quantiles index="2"/><Moments index="3"/><Adjacents index="5"/></BoxPlotSegment><MarkerSegment size="3" preferredShape="dot" rowStatesIndex="0" rowIndices="0,1,2,3,4,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121"><MarkerData><XPos index="6"/><Y index="7"/><YPos index="8"/></MarkerData><LabeledColumnNames index="9"/><LabelValues index="10"/><ShowLabels index="11"/><LabelXOffset index="12"/><LabelYOffset index="12"/></MarkerSegment></FrameBox></ScaleBox></PictureBox></IfBox></ListBox></BorderBox></ScaleBox></ScaleBox></ScaleBox></ScaleBox></BorderBox></PictureBox></IfBox><ListBox/></ListBox><ListBox><IfBox><OutlineBox title="Quantiles"><TABLE width="235" height="146"><TR><TH style="text-align: left;">100.0%</TH><TH style="text-align: left;">maximum</TH><TD description="Quantiles: The value such that a given percentage of the data points in the sample are less than that value.">03-16-2017 21:33</TD></TR><TR><TH style="text-align: left;">99.5%</TH><TH style="text-align: left;"/><TD description="Quantiles: The value such that a given percentage of the data points in the sample are less than that value.">03-16-2017 21:33</TD></TR><TR><TH style="text-align: left;">97.5%</TH><TH style="text-align: left;"/><TD description="Quantiles: The value such that a given percentage of the data points in the sample are less than that value.">03-08-2017 14:34</TD></TR><TR><TH style="text-align: left;">90.0%</TH><TH style="text-align: left;"/><TD description="Quantiles: The value such that a given percentage of the data points in the sample are less than that value.">03-08-2017 10:33</TD></TR><TR><TH style="text-align: left;">75.0%</TH><TH style="text-align: left;">quartile</TH><TD description="Quantiles: The value such that a given percentage of the data points in the sample are less than that value.">03-07-2017 20:40</TD></TR><TR><TH style="text-align: left;">50.0%</TH><TH style="text-align: left;">median</TH><TD description="Quantiles: The value such that a given percentage of the data points in the sample are less than that value.">03-07-2017 15:29</TD></TR><TR><TH style="text-align: left;">25.0%</TH><TH style="text-align: left;">quartile</TH><TD description="Quantiles: The value such that a given percentage of the data points in the sample are less than that value.">03-07-2017 13:51</TD></TR><TR><TH style="text-align: left;">10.0%</TH><TH style="text-align: left;"/><TD description="Quantiles: The value such that a given percentage of the data points in the sample are less than that value.">03-07-2017 13:12</TD></TR><TR><TH style="text-align: left;">2.5%</TH><TH style="text-align: left;"/><TD description="Quantiles: The value such that a given percentage of the data points in the sample are less than that value.">03-06-2017 12:17</TD></TR><TR><TH style="text-align: left;">0.5%</TH><TH style="text-align: left;"/><TD description="Quantiles: The value such that a given percentage of the data points in the sample are less than that value.">03-06-2017 10:37</TD></TR><TR><TH style="text-align: left;">0.0%</TH><TH style="text-align: left;">minimum</TH><TD description="Quantiles: The value such that a given percentage of the data points in the sample are less than that value.">03-06-2017 10:37</TD></TR></TABLE></OutlineBox></IfBox><IfBox><OutlineBox title="Summary Statistics"><TABLE width="166" height="81"><TR><TH description="Mean: The average value." style="text-align: left;">Mean</TH><TD description="Mean: The average value.">3,5718e+9</TD></TR><TR><TH description="Std Dev: The standard deviation, a standard measure of dispersion. It is the square root of variance, which is the averaged squared distance of each value from the mean." style="text-align: left;">Std Dev</TH><TD description="Std Dev: The standard deviation, a standard measure of dispersion. It is the square root of variance, which is the averaged squared distance of each value from the mean.">80145,065</TD></TR><TR><TH description="Std Err Mean: The standard error of the mean is the estimated standard deviation of the estimator of the mean. It is calculated as the standard deviation of the data divided by sqrt(n)." style="text-align: left;">Std Err Mean</TH><TD description="Std Err Mean: The standard error of the mean is the estimated standard deviation of the estimator of the mean. It is calculated as the standard deviation of the data divided by sqrt(n).">7316,21</TD></TR><TR><TH description="upper 95% Mean: The upper end of a two-sided 95% confidence interval for the mean." style="text-align: left;">Upper 95% Mean</TH><TD description="upper 95% Mean: The upper end of a two-sided 95% confidence interval for the mean.">3,5718e+9</TD></TR><TR><TH description="lower 95% Mean: The lower end of a two-sided 95% confidence interval for the mean." style="text-align: left;">Lower 95% Mean</TH><TD description="lower 95% Mean: The lower end of a two-sided 95% confidence interval for the mean.">3,5717e+9</TD></TR><TR><TH description="N: The total count of nonmissing values." style="text-align: left;">N</TH><TD description="N: The total count of nonmissing values.">120</TD></TR></TABLE></OutlineBox></IfBox></ListBox></ListBox></OutlineBox><DropBox><SpacerBox width="6" height="91"/></DropBox><OutlineBox title="Your age"><ListBox><IfBox><PictureBox><BorderBox padTop="2" padLeft="2" padBottom="5" padRight="2"><ScaleBox id="1" origin="-0.5" width="6" nMinor="0" formatName="best" fieldWidth="9" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="6" minInit="-0.5" maxInit="5.5" typeInit="linearInit" widthMajorInit="1" nMinorInit="0" nObsInit="0" widthMajor="1" tickOrigins="0" tickSizes="37" tickOrientations="horizontal" hideMajorTicks="true" hideMinorTicks="true" hideTickLabels="false" labelIndices="13" tickLabelIndices="14" length="267" baselength="267"><ScaleBox id="2" origin="0" width="58.3" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="0" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="5" minInit="0" maxInit="58.3" typeInit="linearInit" widthMajorInit="10" nMinorInit="0" nObsInit="10" widthMajor="10" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="3" origin="0" width="0.485833333333333" nMinor="1" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="9" minInit="0" maxInit="0.485833333333333" typeInit="linearInit" widthMajorInit="0.1" nMinorInit="1" nObsInit="20" widthMajor="0.1" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="4" origin="0" width="0.485833333333333" nMinor="1" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="9" minInit="0" maxInit="0.485833333333333" typeInit="linearInit" widthMajorInit="0.1" nMinorInit="1" nObsInit="20" widthMajor="0.1" tickOrientations="horizontal" length="110" baselength="110"><BorderBox padTop="5" padLeft="5" padBottom="5" padRight="5"><IfBox><ListBox isHorizontal="true"><BorderBox padTop="5" padLeft="5" padBottom="5"><DropBox><AxisBox width="43" height="268" padBefore="10" padAfter="10" XSizeID="0" YSizeID="1" XScaleID="0" YScaleID="1"/></DropBox></BorderBox><IfBox><ListBox><PictureBox><BorderBox padRight="5"><FrameBox width="111" height="278" borderTop="false" borderBottom="false" borderLeft="false" borderRight="false" fillColor="#FFFFFF" XSizeID="4" YSizeID="1" XScaleID="4" YScaleID="1" XMultiplier="1" YMultiplier="1" XAddend="0" YAddend="10"><GridReferenceSegment showMajorGridsX="false" showMinorGridsX="false" majorGridColorsX="#D7D7D7" minorGridColorsX="#F0F0F0" showMajorGridsY="false" showMinorGridsY="false" majorGridColorsY="#D7D7D7" minorGridColorsY="0xFFFFFF"/><GridReferenceSegment showReference="true"/><HistogramSegment binOrigin="-0.5" binSpan="1" binWidth="1" nBins="6" maximumDensity="0.485833333333333" fillColor="#BACABA" lineColor="#515851" selectedFillColor="#5D795D" rowStatesIndex="0"><Score index="15"/></HistogramSegment></FrameBox></BorderBox></PictureBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="2" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Count" width="35" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="3" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Probability" width="59" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="4" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Density" width="42" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox></ListBox></IfBox></ListBox></IfBox></BorderBox></ScaleBox></ScaleBox></ScaleBox></ScaleBox></BorderBox></PictureBox></IfBox><IfBox><OutlineBox title="Frequencies"><BorderBox padTop="2" padLeft="2" padBottom="2" padRight="2"><ListBox><TABLE width="142" height="111"><TR><TH style="text-align: left;">Level </TH><TH>Count</TH><TH description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">Prob</TH></TR><TR><TD style="text-align: left;">16-25</TD><TD>25</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,20833</TD></TR><TR><TD style="text-align: left;">26-35</TD><TD>53</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,44167</TD></TR><TR><TD style="text-align: left;">36-45</TD><TD>27</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,22500</TD></TR><TR><TD style="text-align: left;">46-55</TD><TD>8</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,06667</TD></TR><TR><TD style="text-align: left;">56-65</TD><TD>3</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,02500</TD></TR><TR><TD style="text-align: left;">66<</TD><TD>4</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,03333</TD></TR><TR><TD style="text-align: left;">Total</TD><TD>120</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">1,00000</TD></TR></TABLE><TABLE><TR><TD style="text-align: left;"><TextBox text=" N Missing" width="59" height="17" align="left"/></TD><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="2" width="42" height="17"/></TD></TR></TABLE><TABLE><TR><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="6" width="42" height="17"/></TD><TD style="text-align: left;"><TextBox text=" Levels" width="38" height="17" align="left"/></TD></TR></TABLE></ListBox></BorderBox></OutlineBox></IfBox></ListBox></OutlineBox><DropBox><SpacerBox width="6" height="91"/></DropBox><OutlineBox title="What kind of residence do you live in?"><ListBox><IfBox><PictureBox><BorderBox padTop="2" padLeft="2" padBottom="5" padRight="2"><ScaleBox id="1" origin="-0.5" width="3" nMinor="0" formatName="best" fieldWidth="9" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="3" minInit="-0.5" maxInit="2.5" typeInit="linearInit" widthMajorInit="1" nMinorInit="0" nObsInit="0" widthMajor="1" tickOrigins="0" tickSizes="119" tickOrientations="horizontal" hideMajorTicks="true" hideMinorTicks="true" hideTickLabels="false" labelIndices="16" tickLabelIndices="17" length="267" baselength="267"><ScaleBox id="2" origin="0" width="64.9" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="0" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="6" minInit="0" maxInit="64.9" typeInit="linearInit" widthMajorInit="10" nMinorInit="0" nObsInit="10" widthMajor="10" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="3" origin="0" width="0.540833333333333" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="5" minInit="0" maxInit="0.540833333333333" typeInit="linearInit" widthMajorInit="0.1" nMinorInit="0" nObsInit="20" widthMajor="0.1" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="4" origin="0" width="0.540833333333333" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="5" minInit="0" maxInit="0.540833333333333" typeInit="linearInit" widthMajorInit="0.1" nMinorInit="0" nObsInit="20" widthMajor="0.1" tickOrientations="horizontal" length="110" baselength="110"><BorderBox padTop="5" padLeft="5" padBottom="5" padRight="5"><IfBox><ListBox isHorizontal="true"><BorderBox padTop="5" padLeft="5" padBottom="5"><DropBox><AxisBox width="125" height="268" padBefore="10" padAfter="10" XSizeID="0" YSizeID="1" XScaleID="0" YScaleID="1"/></DropBox></BorderBox><IfBox><ListBox><PictureBox><BorderBox padRight="5"><FrameBox width="111" height="278" borderTop="false" borderBottom="false" borderLeft="false" borderRight="false" fillColor="#FFFFFF" XSizeID="4" YSizeID="1" XScaleID="4" YScaleID="1" XMultiplier="1" YMultiplier="1" XAddend="0" YAddend="10"><GridReferenceSegment showMajorGridsX="false" showMinorGridsX="false" majorGridColorsX="#D7D7D7" minorGridColorsX="#F0F0F0" showMajorGridsY="false" showMinorGridsY="false" majorGridColorsY="#D7D7D7" minorGridColorsY="0xFFFFFF"/><GridReferenceSegment showReference="true"/><HistogramSegment binOrigin="-0.5" binSpan="1" binWidth="1" nBins="3" maximumDensity="0.540833333333333" fillColor="#BACABA" lineColor="#515851" selectedFillColor="#5D795D" rowStatesIndex="0"><Score index="18"/></HistogramSegment></FrameBox></BorderBox></PictureBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="2" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Count" width="35" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="3" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Probability" width="59" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="4" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Density" width="42" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox></ListBox></IfBox></ListBox></IfBox></BorderBox></ScaleBox></ScaleBox></ScaleBox></ScaleBox></BorderBox></PictureBox></IfBox><IfBox><OutlineBox title="Frequencies"><BorderBox padTop="2" padLeft="2" padBottom="2" padRight="2"><ListBox><TABLE width="218" height="72"><TR><TH style="text-align: left;">Level </TH><TH>Count</TH><TH description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">Prob</TH></TR><TR><TD style="text-align: left;">Landejendom</TD><TD>5</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,04167</TD></TR><TR><TD style="text-align: left;">Lejlighed</TD><TD>56</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,46667</TD></TR><TR><TD style="text-align: left;">Parcelhus / rækkehus</TD><TD>59</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,49167</TD></TR><TR><TD style="text-align: left;">Total</TD><TD>120</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">1,00000</TD></TR></TABLE><TABLE><TR><TD style="text-align: left;"><TextBox text=" N Missing" width="59" height="17" align="left"/></TD><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="2" width="42" height="17"/></TD></TR></TABLE><TABLE><TR><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="3" width="42" height="17"/></TD><TD style="text-align: left;"><TextBox text=" Levels" width="38" height="17" align="left"/></TD></TR></TABLE></ListBox></BorderBox></OutlineBox></IfBox></ListBox></OutlineBox><DropBox><SpacerBox width="6" height="91"/></DropBox><OutlineBox title="Do you own a source of electrical energy (such as solar panels or wind turbines)?"><ListBox><IfBox><PictureBox><BorderBox padTop="2" padLeft="2" padBottom="5" padRight="2"><ScaleBox id="1" origin="-0.5" width="2" nMinor="0" formatName="best" fieldWidth="9" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="2" minInit="-0.5" maxInit="1.5" typeInit="linearInit" widthMajorInit="1" nMinorInit="0" nObsInit="0" widthMajor="1" tickOrigins="0" tickSizes="24" tickOrientations="horizontal" hideMajorTicks="true" hideMinorTicks="true" hideTickLabels="false" labelIndices="19" tickLabelIndices="20" length="267" baselength="267"><ScaleBox id="2" origin="0" width="127.6" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="0" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="5" minInit="0" maxInit="127.6" typeInit="linearInit" widthMajorInit="25" nMinorInit="0" nObsInit="10" widthMajor="25" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="3" origin="0" width="1.06333333333333" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="5" minInit="0" maxInit="1.06333333333333" typeInit="linearInit" widthMajorInit="0.2" nMinorInit="0" nObsInit="20" widthMajor="0.2" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="4" origin="0" width="1.06333333333333" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="5" minInit="0" maxInit="1.06333333333333" typeInit="linearInit" widthMajorInit="0.2" nMinorInit="0" nObsInit="20" widthMajor="0.2" tickOrientations="horizontal" length="110" baselength="110"><BorderBox padTop="5" padLeft="5" padBottom="5" padRight="5"><IfBox><ListBox isHorizontal="true"><BorderBox padTop="5" padLeft="5" padBottom="5"><DropBox><AxisBox width="31" height="268" padBefore="10" padAfter="10" XSizeID="0" YSizeID="1" XScaleID="0" YScaleID="1"/></DropBox></BorderBox><IfBox><ListBox><PictureBox><BorderBox padRight="5"><FrameBox width="111" height="278" borderTop="false" borderBottom="false" borderLeft="false" borderRight="false" fillColor="#FFFFFF" XSizeID="4" YSizeID="1" XScaleID="4" YScaleID="1" XMultiplier="1" YMultiplier="1" XAddend="0" YAddend="10"><GridReferenceSegment showMajorGridsX="false" showMinorGridsX="false" majorGridColorsX="#D7D7D7" minorGridColorsX="#F0F0F0" showMajorGridsY="false" showMinorGridsY="false" majorGridColorsY="#D7D7D7" minorGridColorsY="0xFFFFFF"/><GridReferenceSegment showReference="true"/><HistogramSegment binOrigin="-0.5" binSpan="1" binWidth="1" nBins="2" maximumDensity="1.06333333333333" fillColor="#BACABA" lineColor="#515851" selectedFillColor="#5D795D" rowStatesIndex="0"><Score index="21"/></HistogramSegment></FrameBox></BorderBox></PictureBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="2" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Count" width="35" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="3" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Probability" width="59" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="4" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Density" width="42" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox></ListBox></IfBox></ListBox></IfBox></BorderBox></ScaleBox></ScaleBox></ScaleBox></ScaleBox></BorderBox></PictureBox></IfBox><IfBox><OutlineBox title="Frequencies"><BorderBox padTop="2" padLeft="2" padBottom="2" padRight="2"><ListBox><TABLE width="142" height="59"><TR><TH style="text-align: left;">Level </TH><TH>Count</TH><TH description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">Prob</TH></TR><TR><TD style="text-align: left;">Ja</TD><TD>4</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,03333</TD></TR><TR><TD style="text-align: left;">Nej</TD><TD>116</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,96667</TD></TR><TR><TD style="text-align: left;">Total</TD><TD>120</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">1,00000</TD></TR></TABLE><TABLE><TR><TD style="text-align: left;"><TextBox text=" N Missing" width="59" height="17" align="left"/></TD><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="2" width="42" height="17"/></TD></TR></TABLE><TABLE><TR><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="2" width="42" height="17"/></TD><TD style="text-align: left;"><TextBox text=" Levels" width="38" height="17" align="left"/></TD></TR></TABLE></ListBox></BorderBox></OutlineBox></IfBox></ListBox></OutlineBox><DropBox><SpacerBox width="6" height="91"/></DropBox><OutlineBox title="What type of electrical energy source do you own?"><ListBox><IfBox><PictureBox><BorderBox padTop="2" padLeft="2" padBottom="5" padRight="2"><ScaleBox id="1" origin="-0.5" width="1" nMinor="0" formatName="best" fieldWidth="9" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="1" minInit="-0.5" maxInit="0.5" typeInit="linearInit" widthMajorInit="1" nMinorInit="0" nObsInit="0" widthMajor="1" tickOrigins="0" tickSizes="51" tickOrientations="horizontal" hideMajorTicks="true" hideMinorTicks="true" hideTickLabels="false" labelIndices="22" tickLabelIndices="23" length="267" baselength="267"><ScaleBox id="2" origin="0" width="4.4" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="0" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="4" minInit="0" maxInit="4.4" typeInit="linearInit" widthMajorInit="1" nMinorInit="0" nObsInit="10" widthMajor="1" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="3" origin="0" width="1.1" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="5" minInit="0" maxInit="1.1" typeInit="linearInit" widthMajorInit="0.2" nMinorInit="0" nObsInit="20" widthMajor="0.2" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="4" origin="0" width="1.1" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="5" minInit="0" maxInit="1.1" typeInit="linearInit" widthMajorInit="0.2" nMinorInit="0" nObsInit="20" widthMajor="0.2" tickOrientations="horizontal" length="110" baselength="110"><BorderBox padTop="5" padLeft="5" padBottom="5" padRight="5"><IfBox><ListBox isHorizontal="true"><BorderBox padTop="5" padLeft="5" padBottom="5"><DropBox><AxisBox width="57" height="268" padBefore="10" padAfter="10" XSizeID="0" YSizeID="1" XScaleID="0" YScaleID="1"/></DropBox></BorderBox><IfBox><ListBox><PictureBox><BorderBox padRight="5"><FrameBox width="111" height="278" borderTop="false" borderBottom="false" borderLeft="false" borderRight="false" fillColor="#FFFFFF" XSizeID="4" YSizeID="1" XScaleID="4" YScaleID="1" XMultiplier="1" YMultiplier="1" XAddend="0" YAddend="10"><GridReferenceSegment showMajorGridsX="false" showMinorGridsX="false" majorGridColorsX="#D7D7D7" minorGridColorsX="#F0F0F0" showMajorGridsY="false" showMinorGridsY="false" majorGridColorsY="#D7D7D7" minorGridColorsY="0xFFFFFF"/><GridReferenceSegment showReference="true"/><HistogramSegment binOrigin="-0.5" binSpan="1" binWidth="1" nBins="1" maximumDensity="1.1" fillColor="#BACABA" lineColor="#515851" selectedFillColor="#5D795D" rowStatesIndex="0"><Score index="24"/></HistogramSegment></FrameBox></BorderBox></PictureBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="2" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Count" width="35" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="3" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Probability" width="59" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="4" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Density" width="42" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox></ListBox></IfBox></ListBox></IfBox></BorderBox></ScaleBox></ScaleBox></ScaleBox></ScaleBox></BorderBox></PictureBox></IfBox><IfBox><OutlineBox title="Frequencies"><BorderBox padTop="2" padLeft="2" padBottom="2" padRight="2"><ListBox><TABLE width="150" height="46"><TR><TH style="text-align: left;">Level </TH><TH>Count</TH><TH description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">Prob</TH></TR><TR><TD style="text-align: left;">Solceller</TD><TD>4</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">1,00000</TD></TR><TR><TD style="text-align: left;">Total</TD><TD>4</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">1,00000</TD></TR></TABLE><TABLE><TR><TD style="text-align: left;"><TextBox text=" N Missing" width="59" height="17" align="left"/></TD><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="118" width="42" height="17"/></TD></TR></TABLE><TABLE><TR><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="1" width="42" height="17"/></TD><TD style="text-align: left;"><TextBox text=" Levels" width="38" height="17" align="left"/></TD></TR></TABLE></ListBox></BorderBox></OutlineBox></IfBox></ListBox></OutlineBox><DropBox><SpacerBox width="6" height="91"/></DropBox><OutlineBox title="Do you know about Power Quality?"><ListBox><IfBox><PictureBox><BorderBox padTop="2" padLeft="2" padBottom="5" padRight="2"><ScaleBox id="1" origin="-0.5" width="2" nMinor="0" formatName="best" fieldWidth="9" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="2" minInit="-0.5" maxInit="1.5" typeInit="linearInit" widthMajorInit="1" nMinorInit="0" nObsInit="0" widthMajor="1" tickOrigins="0" tickSizes="24" tickOrientations="horizontal" hideMajorTicks="true" hideMinorTicks="true" hideTickLabels="false" labelIndices="25" tickLabelIndices="26" length="267" baselength="267"><ScaleBox id="2" origin="0" width="123.2" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="0" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="6" minInit="0" maxInit="123.2" typeInit="linearInit" widthMajorInit="20" nMinorInit="0" nObsInit="10" widthMajor="20" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="3" origin="0" width="1.02666666666667" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="5" minInit="0" maxInit="1.02666666666667" typeInit="linearInit" widthMajorInit="0.2" nMinorInit="0" nObsInit="20" widthMajor="0.2" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="4" origin="0" width="1.02666666666667" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="5" minInit="0" maxInit="1.02666666666667" typeInit="linearInit" widthMajorInit="0.2" nMinorInit="0" nObsInit="20" widthMajor="0.2" tickOrientations="horizontal" length="110" baselength="110"><BorderBox padTop="5" padLeft="5" padBottom="5" padRight="5"><IfBox><ListBox isHorizontal="true"><BorderBox padTop="5" padLeft="5" padBottom="5"><DropBox><AxisBox width="31" height="268" padBefore="10" padAfter="10" XSizeID="0" YSizeID="1" XScaleID="0" YScaleID="1"/></DropBox></BorderBox><IfBox><ListBox><PictureBox><BorderBox padRight="5"><FrameBox width="111" height="278" borderTop="false" borderBottom="false" borderLeft="false" borderRight="false" fillColor="#FFFFFF" XSizeID="4" YSizeID="1" XScaleID="4" YScaleID="1" XMultiplier="1" YMultiplier="1" XAddend="0" YAddend="10"><GridReferenceSegment showMajorGridsX="false" showMinorGridsX="false" majorGridColorsX="#D7D7D7" minorGridColorsX="#F0F0F0" showMajorGridsY="false" showMinorGridsY="false" majorGridColorsY="#D7D7D7" minorGridColorsY="0xFFFFFF"/><GridReferenceSegment showReference="true"/><HistogramSegment binOrigin="-0.5" binSpan="1" binWidth="1" nBins="2" maximumDensity="1.02666666666667" fillColor="#BACABA" lineColor="#515851" selectedFillColor="#5D795D" rowStatesIndex="0"><Score index="27"/></HistogramSegment></FrameBox></BorderBox></PictureBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="2" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Count" width="35" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="3" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Probability" width="59" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="4" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Density" width="42" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox></ListBox></IfBox></ListBox></IfBox></BorderBox></ScaleBox></ScaleBox></ScaleBox></ScaleBox></BorderBox></PictureBox></IfBox><IfBox><OutlineBox title="Frequencies"><BorderBox padTop="2" padLeft="2" padBottom="2" padRight="2"><ListBox><TABLE width="142" height="59"><TR><TH style="text-align: left;">Level </TH><TH>Count</TH><TH description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">Prob</TH></TR><TR><TD style="text-align: left;">Ja</TD><TD>8</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,06667</TD></TR><TR><TD style="text-align: left;">Nej</TD><TD>112</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,93333</TD></TR><TR><TD style="text-align: left;">Total</TD><TD>120</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">1,00000</TD></TR></TABLE><TABLE><TR><TD style="text-align: left;"><TextBox text=" N Missing" width="59" height="17" align="left"/></TD><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="2" width="42" height="17"/></TD></TR></TABLE><TABLE><TR><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="2" width="42" height="17"/></TD><TD style="text-align: left;"><TextBox text=" Levels" width="38" height="17" align="left"/></TD></TR></TABLE></ListBox></BorderBox></OutlineBox></IfBox></ListBox></OutlineBox><DropBox><SpacerBox width="6" height="91"/></DropBox><OutlineBox title="Hvor relevant vil du vurdere visning af Power Quality til at være i forhold til en App eller en hjemmeside? [Power Quality]"><ListBox><IfBox><PictureBox><BorderBox padTop="2" padLeft="2" padBottom="5" padRight="2"><ScaleBox id="1" origin="-0.5" width="4" nMinor="0" formatName="best" fieldWidth="9" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="4" minInit="-0.5" maxInit="3.5" typeInit="linearInit" widthMajorInit="1" nMinorInit="0" nObsInit="0" widthMajor="1" tickOrigins="0" tickSizes="96" tickOrientations="horizontal" hideMajorTicks="true" hideMinorTicks="true" hideTickLabels="false" labelIndices="28" tickLabelIndices="29" length="267" baselength="267"><ScaleBox id="2" origin="0" width="3.3" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="0" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="3" minInit="0" maxInit="3.3" typeInit="linearInit" widthMajorInit="1" nMinorInit="0" nObsInit="10" widthMajor="1" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="3" origin="0" width="0.4125" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="8" minInit="0" maxInit="0.4125" typeInit="linearInit" widthMajorInit="0.05" nMinorInit="0" nObsInit="20" widthMajor="0.05" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="4" origin="0" width="0.4125" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="8" minInit="0" maxInit="0.4125" typeInit="linearInit" widthMajorInit="0.05" nMinorInit="0" nObsInit="20" widthMajor="0.05" tickOrientations="horizontal" length="110" baselength="110"><BorderBox padTop="5" padLeft="5" padBottom="5" padRight="5"><IfBox><ListBox isHorizontal="true"><BorderBox padTop="5" padLeft="5" padBottom="5"><DropBox><AxisBox width="102" height="268" padBefore="10" padAfter="10" XSizeID="0" YSizeID="1" XScaleID="0" YScaleID="1"/></DropBox></BorderBox><IfBox><ListBox><PictureBox><BorderBox padRight="5"><FrameBox width="111" height="278" borderTop="false" borderBottom="false" borderLeft="false" borderRight="false" fillColor="#FFFFFF" XSizeID="4" YSizeID="1" XScaleID="4" YScaleID="1" XMultiplier="1" YMultiplier="1" XAddend="0" YAddend="10"><GridReferenceSegment showMajorGridsX="false" showMinorGridsX="false" majorGridColorsX="#D7D7D7" minorGridColorsX="#F0F0F0" showMajorGridsY="false" showMinorGridsY="false" majorGridColorsY="#D7D7D7" minorGridColorsY="0xFFFFFF"/><GridReferenceSegment showReference="true"/><HistogramSegment binOrigin="-0.5" binSpan="1" binWidth="1" nBins="4" maximumDensity="0.4125" fillColor="#BACABA" lineColor="#515851" selectedFillColor="#5D795D" rowStatesIndex="0"><Score index="30"/></HistogramSegment></FrameBox></BorderBox></PictureBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="2" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Count" width="35" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="3" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Probability" width="59" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="4" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Density" width="42" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox></ListBox></IfBox></ListBox></IfBox></BorderBox></ScaleBox></ScaleBox></ScaleBox></ScaleBox></BorderBox></PictureBox></IfBox><IfBox><OutlineBox title="Frequencies"><BorderBox padTop="2" padLeft="2" padBottom="2" padRight="2"><ListBox><TABLE width="195" height="85"><TR><TH style="text-align: left;">Level </TH><TH>Count</TH><TH description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">Prob</TH></TR><TR><TD style="text-align: left;">Slet ikke brugbar</TD><TD>2</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,25000</TD></TR><TR><TD style="text-align: left;">Ikke brugbar</TD><TD>3</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,37500</TD></TR><TR><TD style="text-align: left;">Neutral</TD><TD>1</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,12500</TD></TR><TR><TD style="text-align: left;">Meget brugbar</TD><TD>2</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,25000</TD></TR><TR><TD style="text-align: left;">Total</TD><TD>8</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">1,00000</TD></TR></TABLE><TABLE><TR><TD style="text-align: left;"><TextBox text=" N Missing" width="59" height="17" align="left"/></TD><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="114" width="42" height="17"/></TD></TR></TABLE><TABLE><TR><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="4" width="42" height="17"/></TD><TD style="text-align: left;"><TextBox text=" Levels" width="38" height="17" align="left"/></TD></TR></TABLE></ListBox></BorderBox></OutlineBox></IfBox></ListBox></OutlineBox><DropBox><SpacerBox width="6" height="91"/></DropBox><OutlineBox title="Do you know about usage in kWh?"><ListBox><IfBox><PictureBox><BorderBox padTop="2" padLeft="2" padBottom="5" padRight="2"><ScaleBox id="1" origin="-0.5" width="2" nMinor="0" formatName="best" fieldWidth="9" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="2" minInit="-0.5" maxInit="1.5" typeInit="linearInit" widthMajorInit="1" nMinorInit="0" nObsInit="0" widthMajor="1" tickOrigins="0" tickSizes="24" tickOrientations="horizontal" hideMajorTicks="true" hideMinorTicks="true" hideTickLabels="false" labelIndices="31" tickLabelIndices="32" length="267" baselength="267"><ScaleBox id="2" origin="0" width="122.1" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="0" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="6" minInit="0" maxInit="122.1" typeInit="linearInit" widthMajorInit="20" nMinorInit="0" nObsInit="10" widthMajor="20" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="3" origin="0" width="1.02605042016807" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="5" minInit="0" maxInit="1.02605042016807" typeInit="linearInit" widthMajorInit="0.2" nMinorInit="0" nObsInit="20" widthMajor="0.2" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="4" origin="0" width="1.02605042016807" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="5" minInit="0" maxInit="1.02605042016807" typeInit="linearInit" widthMajorInit="0.2" nMinorInit="0" nObsInit="20" widthMajor="0.2" tickOrientations="horizontal" length="110" baselength="110"><BorderBox padTop="5" padLeft="5" padBottom="5" padRight="5"><IfBox><ListBox isHorizontal="true"><BorderBox padTop="5" padLeft="5" padBottom="5"><DropBox><AxisBox width="31" height="268" padBefore="10" padAfter="10" XSizeID="0" YSizeID="1" XScaleID="0" YScaleID="1"/></DropBox></BorderBox><IfBox><ListBox><PictureBox><BorderBox padRight="5"><FrameBox width="111" height="278" borderTop="false" borderBottom="false" borderLeft="false" borderRight="false" fillColor="#FFFFFF" XSizeID="4" YSizeID="1" XScaleID="4" YScaleID="1" XMultiplier="1" YMultiplier="1" XAddend="0" YAddend="10"><GridReferenceSegment showMajorGridsX="false" showMinorGridsX="false" majorGridColorsX="#D7D7D7" minorGridColorsX="#F0F0F0" showMajorGridsY="false" showMinorGridsY="false" majorGridColorsY="#D7D7D7" minorGridColorsY="0xFFFFFF"/><GridReferenceSegment showReference="true"/><HistogramSegment binOrigin="-0.5" binSpan="1" binWidth="1" nBins="2" maximumDensity="1.02605042016807" fillColor="#BACABA" lineColor="#515851" selectedFillColor="#5D795D" rowStatesIndex="0"><Score index="33"/></HistogramSegment></FrameBox></BorderBox></PictureBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="2" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Count" width="35" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="3" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Probability" width="59" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="4" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Density" width="42" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox></ListBox></IfBox></ListBox></IfBox></BorderBox></ScaleBox></ScaleBox></ScaleBox></ScaleBox></BorderBox></PictureBox></IfBox><IfBox><OutlineBox title="Frequencies"><BorderBox padTop="2" padLeft="2" padBottom="2" padRight="2"><ListBox><TABLE width="142" height="59"><TR><TH style="text-align: left;">Level </TH><TH>Count</TH><TH description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">Prob</TH></TR><TR><TD style="text-align: left;">Ja</TD><TD>111</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,93277</TD></TR><TR><TD style="text-align: left;">Nej</TD><TD>8</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,06723</TD></TR><TR><TD style="text-align: left;">Total</TD><TD>119</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">1,00000</TD></TR></TABLE><TABLE><TR><TD style="text-align: left;"><TextBox text=" N Missing" width="59" height="17" align="left"/></TD><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="3" width="42" height="17"/></TD></TR></TABLE><TABLE><TR><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="2" width="42" height="17"/></TD><TD style="text-align: left;"><TextBox text=" Levels" width="38" height="17" align="left"/></TD></TR></TABLE></ListBox></BorderBox></OutlineBox></IfBox></ListBox></OutlineBox><DropBox><SpacerBox width="6" height="91"/></DropBox><OutlineBox title="Hvor relevant vil du vurdere visning af kWh til at være i forhold til en App eller en hjemmeside? [Forbrug i kWh]"><ListBox><IfBox><PictureBox><BorderBox padTop="2" padLeft="2" padBottom="5" padRight="2"><ScaleBox id="1" origin="-0.5" width="5" nMinor="0" formatName="best" fieldWidth="9" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="5" minInit="-0.5" maxInit="4.5" typeInit="linearInit" widthMajorInit="1" nMinorInit="0" nObsInit="0" widthMajor="1" tickOrigins="0" tickSizes="96" tickOrientations="horizontal" hideMajorTicks="true" hideMinorTicks="true" hideTickLabels="false" labelIndices="34" tickLabelIndices="35" length="267" baselength="267"><ScaleBox id="2" origin="0" width="40.7" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="0" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="8" minInit="0" maxInit="40.7" typeInit="linearInit" widthMajorInit="5" nMinorInit="0" nObsInit="10" widthMajor="5" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="3" origin="0" width="0.363392857142857" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="7" minInit="0" maxInit="0.363392857142857" typeInit="linearInit" widthMajorInit="0.05" nMinorInit="0" nObsInit="20" widthMajor="0.05" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="4" origin="0" width="0.363392857142857" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="7" minInit="0" maxInit="0.363392857142857" typeInit="linearInit" widthMajorInit="0.05" nMinorInit="0" nObsInit="20" widthMajor="0.05" tickOrientations="horizontal" length="110" baselength="110"><BorderBox padTop="5" padLeft="5" padBottom="5" padRight="5"><IfBox><ListBox isHorizontal="true"><BorderBox padTop="5" padLeft="5" padBottom="5"><DropBox><AxisBox width="102" height="268" padBefore="10" padAfter="10" XSizeID="0" YSizeID="1" XScaleID="0" YScaleID="1"/></DropBox></BorderBox><IfBox><ListBox><PictureBox><BorderBox padRight="5"><FrameBox width="111" height="278" borderTop="false" borderBottom="false" borderLeft="false" borderRight="false" fillColor="#FFFFFF" XSizeID="4" YSizeID="1" XScaleID="4" YScaleID="1" XMultiplier="1" YMultiplier="1" XAddend="0" YAddend="10"><GridReferenceSegment showMajorGridsX="false" showMinorGridsX="false" majorGridColorsX="#D7D7D7" minorGridColorsX="#F0F0F0" showMajorGridsY="false" showMinorGridsY="false" majorGridColorsY="#D7D7D7" minorGridColorsY="0xFFFFFF"/><GridReferenceSegment showReference="true"/><HistogramSegment binOrigin="-0.5" binSpan="1" binWidth="1" nBins="5" maximumDensity="0.363392857142857" fillColor="#BACABA" lineColor="#515851" selectedFillColor="#5D795D" rowStatesIndex="0"><Score index="36"/></HistogramSegment></FrameBox></BorderBox></PictureBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="2" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Count" width="35" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="3" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Probability" width="59" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="4" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Density" width="42" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox></ListBox></IfBox></ListBox></IfBox></BorderBox></ScaleBox></ScaleBox></ScaleBox></ScaleBox></BorderBox></PictureBox></IfBox><IfBox><OutlineBox title="Frequencies"><BorderBox padTop="2" padLeft="2" padBottom="2" padRight="2"><ListBox><TABLE width="195" height="98"><TR><TH style="text-align: left;">Level </TH><TH>Count</TH><TH description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">Prob</TH></TR><TR><TD style="text-align: left;">Slet ikke brugbar</TD><TD>6</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,05357</TD></TR><TR><TD style="text-align: left;">Ikke brugbar</TD><TD>8</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,07143</TD></TR><TR><TD style="text-align: left;">Neutral</TD><TD>24</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,21429</TD></TR><TR><TD style="text-align: left;">Brugbar</TD><TD>37</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,33036</TD></TR><TR><TD style="text-align: left;">Meget brugbar</TD><TD>37</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,33036</TD></TR><TR><TD style="text-align: left;">Total</TD><TD>112</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">1,00000</TD></TR></TABLE><TABLE><TR><TD style="text-align: left;"><TextBox text=" N Missing" width="59" height="17" align="left"/></TD><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="10" width="42" height="17"/></TD></TR></TABLE><TABLE><TR><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="5" width="42" height="17"/></TD><TD style="text-align: left;"><TextBox text=" Levels" width="38" height="17" align="left"/></TD></TR></TABLE></ListBox></BorderBox></OutlineBox></IfBox></ListBox></OutlineBox><DropBox><SpacerBox width="6" height="91"/></DropBox><OutlineBox title="Do you know about potential in voltage?"><ListBox><IfBox><PictureBox><BorderBox padTop="2" padLeft="2" padBottom="5" padRight="2"><ScaleBox id="1" origin="-0.5" width="2" nMinor="0" formatName="best" fieldWidth="9" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="2" minInit="-0.5" maxInit="1.5" typeInit="linearInit" widthMajorInit="1" nMinorInit="0" nObsInit="0" widthMajor="1" tickOrigins="0" tickSizes="24" tickOrientations="horizontal" hideMajorTicks="true" hideMinorTicks="true" hideTickLabels="false" labelIndices="37" tickLabelIndices="38" length="267" baselength="267"><ScaleBox id="2" origin="0" width="115.5" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="0" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="5" minInit="0" maxInit="115.5" typeInit="linearInit" widthMajorInit="20" nMinorInit="0" nObsInit="10" widthMajor="20" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="3" origin="0" width="0.9625" nMinor="1" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="9" minInit="0" maxInit="0.9625" typeInit="linearInit" widthMajorInit="0.2" nMinorInit="1" nObsInit="20" widthMajor="0.2" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="4" origin="0" width="0.9625" nMinor="1" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="9" minInit="0" maxInit="0.9625" typeInit="linearInit" widthMajorInit="0.2" nMinorInit="1" nObsInit="20" widthMajor="0.2" tickOrientations="horizontal" length="110" baselength="110"><BorderBox padTop="5" padLeft="5" padBottom="5" padRight="5"><IfBox><ListBox isHorizontal="true"><BorderBox padTop="5" padLeft="5" padBottom="5"><DropBox><AxisBox width="31" height="268" padBefore="10" padAfter="10" XSizeID="0" YSizeID="1" XScaleID="0" YScaleID="1"/></DropBox></BorderBox><IfBox><ListBox><PictureBox><BorderBox padRight="5"><FrameBox width="111" height="278" borderTop="false" borderBottom="false" borderLeft="false" borderRight="false" fillColor="#FFFFFF" XSizeID="4" YSizeID="1" XScaleID="4" YScaleID="1" XMultiplier="1" YMultiplier="1" XAddend="0" YAddend="10"><GridReferenceSegment showMajorGridsX="false" showMinorGridsX="false" majorGridColorsX="#D7D7D7" minorGridColorsX="#F0F0F0" showMajorGridsY="false" showMinorGridsY="false" majorGridColorsY="#D7D7D7" minorGridColorsY="0xFFFFFF"/><GridReferenceSegment showReference="true"/><HistogramSegment binOrigin="-0.5" binSpan="1" binWidth="1" nBins="2" maximumDensity="0.9625" fillColor="#BACABA" lineColor="#515851" selectedFillColor="#5D795D" rowStatesIndex="0"><Score index="39"/></HistogramSegment></FrameBox></BorderBox></PictureBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="2" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Count" width="35" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="3" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Probability" width="59" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="4" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Density" width="42" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox></ListBox></IfBox></ListBox></IfBox></BorderBox></ScaleBox></ScaleBox></ScaleBox></ScaleBox></BorderBox></PictureBox></IfBox><IfBox><OutlineBox title="Frequencies"><BorderBox padTop="2" padLeft="2" padBottom="2" padRight="2"><ListBox><TABLE width="142" height="59"><TR><TH style="text-align: left;">Level </TH><TH>Count</TH><TH description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">Prob</TH></TR><TR><TD style="text-align: left;">Ja</TD><TD>105</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,87500</TD></TR><TR><TD style="text-align: left;">Nej</TD><TD>15</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,12500</TD></TR><TR><TD style="text-align: left;">Total</TD><TD>120</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">1,00000</TD></TR></TABLE><TABLE><TR><TD style="text-align: left;"><TextBox text=" N Missing" width="59" height="17" align="left"/></TD><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="2" width="42" height="17"/></TD></TR></TABLE><TABLE><TR><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="2" width="42" height="17"/></TD><TD style="text-align: left;"><TextBox text=" Levels" width="38" height="17" align="left"/></TD></TR></TABLE></ListBox></BorderBox></OutlineBox></IfBox></ListBox></OutlineBox><DropBox><SpacerBox width="6" height="91"/></DropBox><OutlineBox title="Hvor relevant vil du vurdere visning af spænding i volt til at være i forhold til en App eller en hjemmeside? [Spænding i volt]"><ListBox><IfBox><PictureBox><BorderBox padTop="2" padLeft="2" padBottom="5" padRight="2"><ScaleBox id="1" origin="-0.5" width="5" nMinor="0" formatName="best" fieldWidth="9" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="5" minInit="-0.5" maxInit="4.5" typeInit="linearInit" widthMajorInit="1" nMinorInit="0" nObsInit="0" widthMajor="1" tickOrigins="0" tickSizes="96" tickOrientations="horizontal" hideMajorTicks="true" hideMinorTicks="true" hideTickLabels="false" labelIndices="40" tickLabelIndices="41" length="267" baselength="267"><ScaleBox id="2" origin="0" width="38.5" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="0" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="7" minInit="0" maxInit="38.5" typeInit="linearInit" widthMajorInit="5" nMinorInit="0" nObsInit="10" widthMajor="5" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="3" origin="0" width="0.366666666666667" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="7" minInit="0" maxInit="0.366666666666667" typeInit="linearInit" widthMajorInit="0.05" nMinorInit="0" nObsInit="20" widthMajor="0.05" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="4" origin="0" width="0.366666666666667" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="7" minInit="0" maxInit="0.366666666666667" typeInit="linearInit" widthMajorInit="0.05" nMinorInit="0" nObsInit="20" widthMajor="0.05" tickOrientations="horizontal" length="110" baselength="110"><BorderBox padTop="5" padLeft="5" padBottom="5" padRight="5"><IfBox><ListBox isHorizontal="true"><BorderBox padTop="5" padLeft="5" padBottom="5"><DropBox><AxisBox width="102" height="268" padBefore="10" padAfter="10" XSizeID="0" YSizeID="1" XScaleID="0" YScaleID="1"/></DropBox></BorderBox><IfBox><ListBox><PictureBox><BorderBox padRight="5"><FrameBox width="111" height="278" borderTop="false" borderBottom="false" borderLeft="false" borderRight="false" fillColor="#FFFFFF" XSizeID="4" YSizeID="1" XScaleID="4" YScaleID="1" XMultiplier="1" YMultiplier="1" XAddend="0" YAddend="10"><GridReferenceSegment showMajorGridsX="false" showMinorGridsX="false" majorGridColorsX="#D7D7D7" minorGridColorsX="#F0F0F0" showMajorGridsY="false" showMinorGridsY="false" majorGridColorsY="#D7D7D7" minorGridColorsY="0xFFFFFF"/><GridReferenceSegment showReference="true"/><HistogramSegment binOrigin="-0.5" binSpan="1" binWidth="1" nBins="5" maximumDensity="0.366666666666667" fillColor="#BACABA" lineColor="#515851" selectedFillColor="#5D795D" rowStatesIndex="0"><Score index="42"/></HistogramSegment></FrameBox></BorderBox></PictureBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="2" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Count" width="35" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="3" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Probability" width="59" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="4" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Density" width="42" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox></ListBox></IfBox></ListBox></IfBox></BorderBox></ScaleBox></ScaleBox></ScaleBox></ScaleBox></BorderBox></PictureBox></IfBox><IfBox><OutlineBox title="Frequencies"><BorderBox padTop="2" padLeft="2" padBottom="2" padRight="2"><ListBox><TABLE width="195" height="98"><TR><TH style="text-align: left;">Level </TH><TH>Count</TH><TH description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">Prob</TH></TR><TR><TD style="text-align: left;">Slet ikke brugbar</TD><TD>34</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,32381</TD></TR><TR><TD style="text-align: left;">Ikke brugbar</TD><TD>35</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,33333</TD></TR><TR><TD style="text-align: left;">Neutral</TD><TD>21</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,20000</TD></TR><TR><TD style="text-align: left;">Brugbar</TD><TD>11</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,10476</TD></TR><TR><TD style="text-align: left;">Meget brugbar</TD><TD>4</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,03810</TD></TR><TR><TD style="text-align: left;">Total</TD><TD>105</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">1,00000</TD></TR></TABLE><TABLE><TR><TD style="text-align: left;"><TextBox text=" N Missing" width="59" height="17" align="left"/></TD><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="17" width="42" height="17"/></TD></TR></TABLE><TABLE><TR><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="5" width="42" height="17"/></TD><TD style="text-align: left;"><TextBox text=" Levels" width="38" height="17" align="left"/></TD></TR></TABLE></ListBox></BorderBox></OutlineBox></IfBox></ListBox></OutlineBox><DropBox><SpacerBox width="6" height="91"/></DropBox><OutlineBox title="Do you know about current usage in kW?"><ListBox><IfBox><PictureBox><BorderBox padTop="2" padLeft="2" padBottom="5" padRight="2"><ScaleBox id="1" origin="-0.5" width="2" nMinor="0" formatName="best" fieldWidth="9" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="2" minInit="-0.5" maxInit="1.5" typeInit="linearInit" widthMajorInit="1" nMinorInit="0" nObsInit="0" widthMajor="1" tickOrigins="0" tickSizes="24" tickOrientations="horizontal" hideMajorTicks="true" hideMinorTicks="true" hideTickLabels="false" labelIndices="43" tickLabelIndices="44" length="267" baselength="267"><ScaleBox id="2" origin="0" width="106.7" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="0" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="5" minInit="0" maxInit="106.7" typeInit="linearInit" widthMajorInit="20" nMinorInit="0" nObsInit="10" widthMajor="20" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="3" origin="0" width="0.889166666666667" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="8" minInit="0" maxInit="0.889166666666667" typeInit="linearInit" widthMajorInit="0.1" nMinorInit="0" nObsInit="20" widthMajor="0.1" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="4" origin="0" width="0.889166666666667" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="8" minInit="0" maxInit="0.889166666666667" typeInit="linearInit" widthMajorInit="0.1" nMinorInit="0" nObsInit="20" widthMajor="0.1" tickOrientations="horizontal" length="110" baselength="110"><BorderBox padTop="5" padLeft="5" padBottom="5" padRight="5"><IfBox><ListBox isHorizontal="true"><BorderBox padTop="5" padLeft="5" padBottom="5"><DropBox><AxisBox width="31" height="268" padBefore="10" padAfter="10" XSizeID="0" YSizeID="1" XScaleID="0" YScaleID="1"/></DropBox></BorderBox><IfBox><ListBox><PictureBox><BorderBox padRight="5"><FrameBox width="111" height="278" borderTop="false" borderBottom="false" borderLeft="false" borderRight="false" fillColor="#FFFFFF" XSizeID="4" YSizeID="1" XScaleID="4" YScaleID="1" XMultiplier="1" YMultiplier="1" XAddend="0" YAddend="10"><GridReferenceSegment showMajorGridsX="false" showMinorGridsX="false" majorGridColorsX="#D7D7D7" minorGridColorsX="#F0F0F0" showMajorGridsY="false" showMinorGridsY="false" majorGridColorsY="#D7D7D7" minorGridColorsY="0xFFFFFF"/><GridReferenceSegment showReference="true"/><HistogramSegment binOrigin="-0.5" binSpan="1" binWidth="1" nBins="2" maximumDensity="0.889166666666667" fillColor="#BACABA" lineColor="#515851" selectedFillColor="#5D795D" rowStatesIndex="0"><Score index="45"/></HistogramSegment></FrameBox></BorderBox></PictureBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="2" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Count" width="35" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="3" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Probability" width="59" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="4" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Density" width="42" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox></ListBox></IfBox></ListBox></IfBox></BorderBox></ScaleBox></ScaleBox></ScaleBox></ScaleBox></BorderBox></PictureBox></IfBox><IfBox><OutlineBox title="Frequencies"><BorderBox padTop="2" padLeft="2" padBottom="2" padRight="2"><ListBox><TABLE width="142" height="59"><TR><TH style="text-align: left;">Level </TH><TH>Count</TH><TH description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">Prob</TH></TR><TR><TD style="text-align: left;">Ja</TD><TD>97</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,80833</TD></TR><TR><TD style="text-align: left;">Nej</TD><TD>23</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,19167</TD></TR><TR><TD style="text-align: left;">Total</TD><TD>120</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">1,00000</TD></TR></TABLE><TABLE><TR><TD style="text-align: left;"><TextBox text=" N Missing" width="59" height="17" align="left"/></TD><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="2" width="42" height="17"/></TD></TR></TABLE><TABLE><TR><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="2" width="42" height="17"/></TD><TD style="text-align: left;"><TextBox text=" Levels" width="38" height="17" align="left"/></TD></TR></TABLE></ListBox></BorderBox></OutlineBox></IfBox></ListBox></OutlineBox><DropBox><SpacerBox width="6" height="91"/></DropBox><OutlineBox title="Hvor relevant vil du vurdere visning af kW til at være i forhold til en App eller en hjemmeside? [Forbrug i kWh]"><ListBox><IfBox><PictureBox><BorderBox padTop="2" padLeft="2" padBottom="5" padRight="2"><ScaleBox id="1" origin="-0.5" width="5" nMinor="0" formatName="best" fieldWidth="9" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="5" minInit="-0.5" maxInit="4.5" typeInit="linearInit" widthMajorInit="1" nMinorInit="0" nObsInit="0" widthMajor="1" tickOrigins="0" tickSizes="96" tickOrientations="horizontal" hideMajorTicks="true" hideMinorTicks="true" hideTickLabels="false" labelIndices="46" tickLabelIndices="47" length="267" baselength="267"><ScaleBox id="2" origin="0" width="33" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="0" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="6" minInit="0" maxInit="33" typeInit="linearInit" widthMajorInit="5" nMinorInit="0" nObsInit="10" widthMajor="5" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="3" origin="0" width="0.34020618556701" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="6" minInit="0" maxInit="0.34020618556701" typeInit="linearInit" widthMajorInit="0.05" nMinorInit="0" nObsInit="20" widthMajor="0.05" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="4" origin="0" width="0.34020618556701" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="6" minInit="0" maxInit="0.34020618556701" typeInit="linearInit" widthMajorInit="0.05" nMinorInit="0" nObsInit="20" widthMajor="0.05" tickOrientations="horizontal" length="110" baselength="110"><BorderBox padTop="5" padLeft="5" padBottom="5" padRight="5"><IfBox><ListBox isHorizontal="true"><BorderBox padTop="5" padLeft="5" padBottom="5"><DropBox><AxisBox width="102" height="268" padBefore="10" padAfter="10" XSizeID="0" YSizeID="1" XScaleID="0" YScaleID="1"/></DropBox></BorderBox><IfBox><ListBox><PictureBox><BorderBox padRight="5"><FrameBox width="111" height="278" borderTop="false" borderBottom="false" borderLeft="false" borderRight="false" fillColor="#FFFFFF" XSizeID="4" YSizeID="1" XScaleID="4" YScaleID="1" XMultiplier="1" YMultiplier="1" XAddend="0" YAddend="10"><GridReferenceSegment showMajorGridsX="false" showMinorGridsX="false" majorGridColorsX="#D7D7D7" minorGridColorsX="#F0F0F0" showMajorGridsY="false" showMinorGridsY="false" majorGridColorsY="#D7D7D7" minorGridColorsY="0xFFFFFF"/><GridReferenceSegment showReference="true"/><HistogramSegment binOrigin="-0.5" binSpan="1" binWidth="1" nBins="5" maximumDensity="0.34020618556701" fillColor="#BACABA" lineColor="#515851" selectedFillColor="#5D795D" rowStatesIndex="0"><Score index="48"/></HistogramSegment></FrameBox></BorderBox></PictureBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="2" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Count" width="35" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="3" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Probability" width="59" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="4" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Density" width="42" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox></ListBox></IfBox></ListBox></IfBox></BorderBox></ScaleBox></ScaleBox></ScaleBox></ScaleBox></BorderBox></PictureBox></IfBox><IfBox><OutlineBox title="Frequencies"><BorderBox padTop="2" padLeft="2" padBottom="2" padRight="2"><ListBox><TABLE width="195" height="98"><TR><TH style="text-align: left;">Level </TH><TH>Count</TH><TH description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">Prob</TH></TR><TR><TD style="text-align: left;">Slet ikke brugbar</TD><TD>5</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,05155</TD></TR><TR><TD style="text-align: left;">Ikke brugbar</TD><TD>11</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,11340</TD></TR><TR><TD style="text-align: left;">Neutral</TD><TD>24</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,24742</TD></TR><TR><TD style="text-align: left;">Brugbar</TD><TD>30</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,30928</TD></TR><TR><TD style="text-align: left;">Meget brugbar</TD><TD>27</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,27835</TD></TR><TR><TD style="text-align: left;">Total</TD><TD>97</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">1,00000</TD></TR></TABLE><TABLE><TR><TD style="text-align: left;"><TextBox text=" N Missing" width="59" height="17" align="left"/></TD><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="25" width="42" height="17"/></TD></TR></TABLE><TABLE><TR><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="5" width="42" height="17"/></TD><TD style="text-align: left;"><TextBox text=" Levels" width="38" height="17" align="left"/></TD></TR></TABLE></ListBox></BorderBox></OutlineBox></IfBox></ListBox></OutlineBox><DropBox><SpacerBox width="6" height="91"/></DropBox><OutlineBox title="Do you know about current in amperes?"><ListBox><IfBox><PictureBox><BorderBox padTop="2" padLeft="2" padBottom="5" padRight="2"><ScaleBox id="1" origin="-0.5" width="2" nMinor="0" formatName="best" fieldWidth="9" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="2" minInit="-0.5" maxInit="1.5" typeInit="linearInit" widthMajorInit="1" nMinorInit="0" nObsInit="0" widthMajor="1" tickOrigins="0" tickSizes="24" tickOrientations="horizontal" hideMajorTicks="true" hideMinorTicks="true" hideTickLabels="false" labelIndices="49" tickLabelIndices="50" length="267" baselength="267"><ScaleBox id="2" origin="0" width="112.2" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="0" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="5" minInit="0" maxInit="112.2" typeInit="linearInit" widthMajorInit="20" nMinorInit="0" nObsInit="10" widthMajor="20" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="3" origin="0" width="0.942857142857143" nMinor="1" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="9" minInit="0" maxInit="0.942857142857143" typeInit="linearInit" widthMajorInit="0.2" nMinorInit="1" nObsInit="20" widthMajor="0.2" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="4" origin="0" width="0.942857142857143" nMinor="1" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="9" minInit="0" maxInit="0.942857142857143" typeInit="linearInit" widthMajorInit="0.2" nMinorInit="1" nObsInit="20" widthMajor="0.2" tickOrientations="horizontal" length="110" baselength="110"><BorderBox padTop="5" padLeft="5" padBottom="5" padRight="5"><IfBox><ListBox isHorizontal="true"><BorderBox padTop="5" padLeft="5" padBottom="5"><DropBox><AxisBox width="31" height="268" padBefore="10" padAfter="10" XSizeID="0" YSizeID="1" XScaleID="0" YScaleID="1"/></DropBox></BorderBox><IfBox><ListBox><PictureBox><BorderBox padRight="5"><FrameBox width="111" height="278" borderTop="false" borderBottom="false" borderLeft="false" borderRight="false" fillColor="#FFFFFF" XSizeID="4" YSizeID="1" XScaleID="4" YScaleID="1" XMultiplier="1" YMultiplier="1" XAddend="0" YAddend="10"><GridReferenceSegment showMajorGridsX="false" showMinorGridsX="false" majorGridColorsX="#D7D7D7" minorGridColorsX="#F0F0F0" showMajorGridsY="false" showMinorGridsY="false" majorGridColorsY="#D7D7D7" minorGridColorsY="0xFFFFFF"/><GridReferenceSegment showReference="true"/><HistogramSegment binOrigin="-0.5" binSpan="1" binWidth="1" nBins="2" maximumDensity="0.942857142857143" fillColor="#BACABA" lineColor="#515851" selectedFillColor="#5D795D" rowStatesIndex="0"><Score index="51"/></HistogramSegment></FrameBox></BorderBox></PictureBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="2" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Count" width="35" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="3" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Probability" width="59" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="4" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Density" width="42" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox></ListBox></IfBox></ListBox></IfBox></BorderBox></ScaleBox></ScaleBox></ScaleBox></ScaleBox></BorderBox></PictureBox></IfBox><IfBox><OutlineBox title="Frequencies"><BorderBox padTop="2" padLeft="2" padBottom="2" padRight="2"><ListBox><TABLE width="142" height="59"><TR><TH style="text-align: left;">Level </TH><TH>Count</TH><TH description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">Prob</TH></TR><TR><TD style="text-align: left;">Ja</TD><TD>102</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,85714</TD></TR><TR><TD style="text-align: left;">Nej</TD><TD>17</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,14286</TD></TR><TR><TD style="text-align: left;">Total</TD><TD>119</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">1,00000</TD></TR></TABLE><TABLE><TR><TD style="text-align: left;"><TextBox text=" N Missing" width="59" height="17" align="left"/></TD><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="3" width="42" height="17"/></TD></TR></TABLE><TABLE><TR><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="2" width="42" height="17"/></TD><TD style="text-align: left;"><TextBox text=" Levels" width="38" height="17" align="left"/></TD></TR></TABLE></ListBox></BorderBox></OutlineBox></IfBox></ListBox></OutlineBox><DropBox><SpacerBox width="6" height="91"/></DropBox><OutlineBox title="Hvor relevant vil du vurdere visning af strøm i ampere til at være i forhold til en App eller en hjemmeside? [Forbrug i kWh]"><ListBox><IfBox><PictureBox><BorderBox padTop="2" padLeft="2" padBottom="5" padRight="2"><ScaleBox id="1" origin="-0.5" width="5" nMinor="0" formatName="best" fieldWidth="9" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="5" minInit="-0.5" maxInit="4.5" typeInit="linearInit" widthMajorInit="1" nMinorInit="0" nObsInit="0" widthMajor="1" tickOrigins="0" tickSizes="96" tickOrientations="horizontal" hideMajorTicks="true" hideMinorTicks="true" hideTickLabels="false" labelIndices="52" tickLabelIndices="53" length="267" baselength="267"><ScaleBox id="2" origin="0" width="38.5" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="0" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="7" minInit="0" maxInit="38.5" typeInit="linearInit" widthMajorInit="5" nMinorInit="0" nObsInit="10" widthMajor="5" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="3" origin="0" width="0.37378640776699" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="7" minInit="0" maxInit="0.37378640776699" typeInit="linearInit" widthMajorInit="0.05" nMinorInit="0" nObsInit="20" widthMajor="0.05" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="4" origin="0" width="0.37378640776699" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="7" minInit="0" maxInit="0.37378640776699" typeInit="linearInit" widthMajorInit="0.05" nMinorInit="0" nObsInit="20" widthMajor="0.05" tickOrientations="horizontal" length="110" baselength="110"><BorderBox padTop="5" padLeft="5" padBottom="5" padRight="5"><IfBox><ListBox isHorizontal="true"><BorderBox padTop="5" padLeft="5" padBottom="5"><DropBox><AxisBox width="102" height="268" padBefore="10" padAfter="10" XSizeID="0" YSizeID="1" XScaleID="0" YScaleID="1"/></DropBox></BorderBox><IfBox><ListBox><PictureBox><BorderBox padRight="5"><FrameBox width="111" height="278" borderTop="false" borderBottom="false" borderLeft="false" borderRight="false" fillColor="#FFFFFF" XSizeID="4" YSizeID="1" XScaleID="4" YScaleID="1" XMultiplier="1" YMultiplier="1" XAddend="0" YAddend="10"><GridReferenceSegment showMajorGridsX="false" showMinorGridsX="false" majorGridColorsX="#D7D7D7" minorGridColorsX="#F0F0F0" showMajorGridsY="false" showMinorGridsY="false" majorGridColorsY="#D7D7D7" minorGridColorsY="0xFFFFFF"/><GridReferenceSegment showReference="true"/><HistogramSegment binOrigin="-0.5" binSpan="1" binWidth="1" nBins="5" maximumDensity="0.37378640776699" fillColor="#BACABA" lineColor="#515851" selectedFillColor="#5D795D" rowStatesIndex="0"><Score index="54"/></HistogramSegment></FrameBox></BorderBox></PictureBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="2" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Count" width="35" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="3" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Probability" width="59" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="4" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Density" width="42" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox></ListBox></IfBox></ListBox></IfBox></BorderBox></ScaleBox></ScaleBox></ScaleBox></ScaleBox></BorderBox></PictureBox></IfBox><IfBox><OutlineBox title="Frequencies"><BorderBox padTop="2" padLeft="2" padBottom="2" padRight="2"><ListBox><TABLE width="195" height="98"><TR><TH style="text-align: left;">Level </TH><TH>Count</TH><TH description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">Prob</TH></TR><TR><TD style="text-align: left;">Slet ikke brugbar</TD><TD>23</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,22330</TD></TR><TR><TD style="text-align: left;">Ikke brugbar</TD><TD>35</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,33981</TD></TR><TR><TD style="text-align: left;">Neutral</TD><TD>20</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,19417</TD></TR><TR><TD style="text-align: left;">Brugbar</TD><TD>19</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,18447</TD></TR><TR><TD style="text-align: left;">Meget brugbar</TD><TD>6</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,05825</TD></TR><TR><TD style="text-align: left;">Total</TD><TD>103</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">1,00000</TD></TR></TABLE><TABLE><TR><TD style="text-align: left;"><TextBox text=" N Missing" width="59" height="17" align="left"/></TD><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="19" width="42" height="17"/></TD></TR></TABLE><TABLE><TR><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="5" width="42" height="17"/></TD><TD style="text-align: left;"><TextBox text=" Levels" width="38" height="17" align="left"/></TD></TR></TABLE></ListBox></BorderBox></OutlineBox></IfBox></ListBox></OutlineBox><DropBox><SpacerBox width="6" height="91"/></DropBox><OutlineBox title="Do you know about frequency in Hz?"><ListBox><IfBox><PictureBox><BorderBox padTop="2" padLeft="2" padBottom="5" padRight="2"><ScaleBox id="1" origin="-0.5" width="2" nMinor="0" formatName="best" fieldWidth="9" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="2" minInit="-0.5" maxInit="1.5" typeInit="linearInit" widthMajorInit="1" nMinorInit="0" nObsInit="0" widthMajor="1" tickOrigins="0" tickSizes="24" tickOrientations="horizontal" hideMajorTicks="true" hideMinorTicks="true" hideTickLabels="false" labelIndices="55" tickLabelIndices="56" length="267" baselength="267"><ScaleBox id="2" origin="0" width="113.3" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="0" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="5" minInit="0" maxInit="113.3" typeInit="linearInit" widthMajorInit="20" nMinorInit="0" nObsInit="10" widthMajor="20" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="3" origin="0" width="0.944166666666667" nMinor="1" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="9" minInit="0" maxInit="0.944166666666667" typeInit="linearInit" widthMajorInit="0.2" nMinorInit="1" nObsInit="20" widthMajor="0.2" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="4" origin="0" width="0.944166666666667" nMinor="1" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="9" minInit="0" maxInit="0.944166666666667" typeInit="linearInit" widthMajorInit="0.2" nMinorInit="1" nObsInit="20" widthMajor="0.2" tickOrientations="horizontal" length="110" baselength="110"><BorderBox padTop="5" padLeft="5" padBottom="5" padRight="5"><IfBox><ListBox isHorizontal="true"><BorderBox padTop="5" padLeft="5" padBottom="5"><DropBox><AxisBox width="31" height="268" padBefore="10" padAfter="10" XSizeID="0" YSizeID="1" XScaleID="0" YScaleID="1"/></DropBox></BorderBox><IfBox><ListBox><PictureBox><BorderBox padRight="5"><FrameBox width="111" height="278" borderTop="false" borderBottom="false" borderLeft="false" borderRight="false" fillColor="#FFFFFF" XSizeID="4" YSizeID="1" XScaleID="4" YScaleID="1" XMultiplier="1" YMultiplier="1" XAddend="0" YAddend="10"><GridReferenceSegment showMajorGridsX="false" showMinorGridsX="false" majorGridColorsX="#D7D7D7" minorGridColorsX="#F0F0F0" showMajorGridsY="false" showMinorGridsY="false" majorGridColorsY="#D7D7D7" minorGridColorsY="0xFFFFFF"/><GridReferenceSegment showReference="true"/><HistogramSegment binOrigin="-0.5" binSpan="1" binWidth="1" nBins="2" maximumDensity="0.944166666666667" fillColor="#BACABA" lineColor="#515851" selectedFillColor="#5D795D" rowStatesIndex="0"><Score index="57"/></HistogramSegment></FrameBox></BorderBox></PictureBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="2" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Count" width="35" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="3" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Probability" width="59" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="4" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Density" width="42" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox></ListBox></IfBox></ListBox></IfBox></BorderBox></ScaleBox></ScaleBox></ScaleBox></ScaleBox></BorderBox></PictureBox></IfBox><IfBox><OutlineBox title="Frequencies"><BorderBox padTop="2" padLeft="2" padBottom="2" padRight="2"><ListBox><TABLE width="142" height="59"><TR><TH style="text-align: left;">Level </TH><TH>Count</TH><TH description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">Prob</TH></TR><TR><TD style="text-align: left;">Ja</TD><TD>103</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,85833</TD></TR><TR><TD style="text-align: left;">Nej</TD><TD>17</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,14167</TD></TR><TR><TD style="text-align: left;">Total</TD><TD>120</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">1,00000</TD></TR></TABLE><TABLE><TR><TD style="text-align: left;"><TextBox text=" N Missing" width="59" height="17" align="left"/></TD><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="2" width="42" height="17"/></TD></TR></TABLE><TABLE><TR><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="2" width="42" height="17"/></TD><TD style="text-align: left;"><TextBox text=" Levels" width="38" height="17" align="left"/></TD></TR></TABLE></ListBox></BorderBox></OutlineBox></IfBox></ListBox></OutlineBox><DropBox><SpacerBox width="6" height="91"/></DropBox><OutlineBox title="Hvor relevant vil du vurdere visning af frekvens i Hz til at være i forhold til en App eller en hjemmeside? [Frekvens i Hz]"><ListBox><IfBox><PictureBox><BorderBox padTop="2" padLeft="2" padBottom="5" padRight="2"><ScaleBox id="1" origin="-0.5" width="5" nMinor="0" formatName="best" fieldWidth="9" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="5" minInit="-0.5" maxInit="4.5" typeInit="linearInit" widthMajorInit="1" nMinorInit="0" nObsInit="0" widthMajor="1" tickOrigins="0" tickSizes="96" tickOrientations="horizontal" hideMajorTicks="true" hideMinorTicks="true" hideTickLabels="false" labelIndices="58" tickLabelIndices="59" length="267" baselength="267"><ScaleBox id="2" origin="0" width="37.4" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="0" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="7" minInit="0" maxInit="37.4" typeInit="linearInit" widthMajorInit="5" nMinorInit="0" nObsInit="10" widthMajor="5" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="3" origin="0" width="0.363106796116505" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="7" minInit="0" maxInit="0.363106796116505" typeInit="linearInit" widthMajorInit="0.05" nMinorInit="0" nObsInit="20" widthMajor="0.05" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="4" origin="0" width="0.363106796116505" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="7" minInit="0" maxInit="0.363106796116505" typeInit="linearInit" widthMajorInit="0.05" nMinorInit="0" nObsInit="20" widthMajor="0.05" tickOrientations="horizontal" length="110" baselength="110"><BorderBox padTop="5" padLeft="5" padBottom="5" padRight="5"><IfBox><ListBox isHorizontal="true"><BorderBox padTop="5" padLeft="5" padBottom="5"><DropBox><AxisBox width="102" height="268" padBefore="10" padAfter="10" XSizeID="0" YSizeID="1" XScaleID="0" YScaleID="1"/></DropBox></BorderBox><IfBox><ListBox><PictureBox><BorderBox padRight="5"><FrameBox width="111" height="278" borderTop="false" borderBottom="false" borderLeft="false" borderRight="false" fillColor="#FFFFFF" XSizeID="4" YSizeID="1" XScaleID="4" YScaleID="1" XMultiplier="1" YMultiplier="1" XAddend="0" YAddend="10"><GridReferenceSegment showMajorGridsX="false" showMinorGridsX="false" majorGridColorsX="#D7D7D7" minorGridColorsX="#F0F0F0" showMajorGridsY="false" showMinorGridsY="false" majorGridColorsY="#D7D7D7" minorGridColorsY="0xFFFFFF"/><GridReferenceSegment showReference="true"/><HistogramSegment binOrigin="-0.5" binSpan="1" binWidth="1" nBins="5" maximumDensity="0.363106796116505" fillColor="#BACABA" lineColor="#515851" selectedFillColor="#5D795D" rowStatesIndex="0"><Score index="60"/></HistogramSegment></FrameBox></BorderBox></PictureBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="2" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Count" width="35" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="3" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Probability" width="59" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="4" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Density" width="42" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox></ListBox></IfBox></ListBox></IfBox></BorderBox></ScaleBox></ScaleBox></ScaleBox></ScaleBox></BorderBox></PictureBox></IfBox><IfBox><OutlineBox title="Frequencies"><BorderBox padTop="2" padLeft="2" padBottom="2" padRight="2"><ListBox><TABLE width="195" height="98"><TR><TH style="text-align: left;">Level </TH><TH>Count</TH><TH description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">Prob</TH></TR><TR><TD style="text-align: left;">Slet ikke brugbar</TD><TD>34</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,33010</TD></TR><TR><TD style="text-align: left;">Ikke brugbar</TD><TD>33</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,32039</TD></TR><TR><TD style="text-align: left;">Neutral</TD><TD>24</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,23301</TD></TR><TR><TD style="text-align: left;">Brugbar</TD><TD>9</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,08738</TD></TR><TR><TD style="text-align: left;">Meget brugbar</TD><TD>3</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,02913</TD></TR><TR><TD style="text-align: left;">Total</TD><TD>103</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">1,00000</TD></TR></TABLE><TABLE><TR><TD style="text-align: left;"><TextBox text=" N Missing" width="59" height="17" align="left"/></TD><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="19" width="42" height="17"/></TD></TR></TABLE><TABLE><TR><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="5" width="42" height="17"/></TD><TD style="text-align: left;"><TextBox text=" Levels" width="38" height="17" align="left"/></TD></TR></TABLE></ListBox></BorderBox></OutlineBox></IfBox></ListBox></OutlineBox><DropBox><SpacerBox width="6" height="91"/></DropBox><OutlineBox title="Do you know about Fase Indikator?"><ListBox><IfBox><PictureBox><BorderBox padTop="2" padLeft="2" padBottom="5" padRight="2"><ScaleBox id="1" origin="-0.5" width="2" nMinor="0" formatName="best" fieldWidth="9" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="2" minInit="-0.5" maxInit="1.5" typeInit="linearInit" widthMajorInit="1" nMinorInit="0" nObsInit="0" widthMajor="1" tickOrigins="0" tickSizes="24" tickOrientations="horizontal" hideMajorTicks="true" hideMinorTicks="true" hideTickLabels="false" labelIndices="61" tickLabelIndices="62" length="267" baselength="267"><ScaleBox id="2" origin="0" width="79.2" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="0" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="7" minInit="0" maxInit="79.2" typeInit="linearInit" widthMajorInit="10" nMinorInit="0" nObsInit="10" widthMajor="10" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="3" origin="0" width="0.66" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="6" minInit="0" maxInit="0.66" typeInit="linearInit" widthMajorInit="0.1" nMinorInit="0" nObsInit="20" widthMajor="0.1" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="4" origin="0" width="0.66" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="6" minInit="0" maxInit="0.66" typeInit="linearInit" widthMajorInit="0.1" nMinorInit="0" nObsInit="20" widthMajor="0.1" tickOrientations="horizontal" length="110" baselength="110"><BorderBox padTop="5" padLeft="5" padBottom="5" padRight="5"><IfBox><ListBox isHorizontal="true"><BorderBox padTop="5" padLeft="5" padBottom="5"><DropBox><AxisBox width="31" height="268" padBefore="10" padAfter="10" XSizeID="0" YSizeID="1" XScaleID="0" YScaleID="1"/></DropBox></BorderBox><IfBox><ListBox><PictureBox><BorderBox padRight="5"><FrameBox width="111" height="278" borderTop="false" borderBottom="false" borderLeft="false" borderRight="false" fillColor="#FFFFFF" XSizeID="4" YSizeID="1" XScaleID="4" YScaleID="1" XMultiplier="1" YMultiplier="1" XAddend="0" YAddend="10"><GridReferenceSegment showMajorGridsX="false" showMinorGridsX="false" majorGridColorsX="#D7D7D7" minorGridColorsX="#F0F0F0" showMajorGridsY="false" showMinorGridsY="false" majorGridColorsY="#D7D7D7" minorGridColorsY="0xFFFFFF"/><GridReferenceSegment showReference="true"/><HistogramSegment binOrigin="-0.5" binSpan="1" binWidth="1" nBins="2" maximumDensity="0.66" fillColor="#BACABA" lineColor="#515851" selectedFillColor="#5D795D" rowStatesIndex="0"><Score index="63"/></HistogramSegment></FrameBox></BorderBox></PictureBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="2" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Count" width="35" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="3" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Probability" width="59" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="4" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Density" width="42" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox></ListBox></IfBox></ListBox></IfBox></BorderBox></ScaleBox></ScaleBox></ScaleBox></ScaleBox></BorderBox></PictureBox></IfBox><IfBox><OutlineBox title="Frequencies"><BorderBox padTop="2" padLeft="2" padBottom="2" padRight="2"><ListBox><TABLE width="142" height="59"><TR><TH style="text-align: left;">Level </TH><TH>Count</TH><TH description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">Prob</TH></TR><TR><TD style="text-align: left;">Ja</TD><TD>48</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,40000</TD></TR><TR><TD style="text-align: left;">Nej</TD><TD>72</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,60000</TD></TR><TR><TD style="text-align: left;">Total</TD><TD>120</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">1,00000</TD></TR></TABLE><TABLE><TR><TD style="text-align: left;"><TextBox text=" N Missing" width="59" height="17" align="left"/></TD><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="2" width="42" height="17"/></TD></TR></TABLE><TABLE><TR><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="2" width="42" height="17"/></TD><TD style="text-align: left;"><TextBox text=" Levels" width="38" height="17" align="left"/></TD></TR></TABLE></ListBox></BorderBox></OutlineBox></IfBox></ListBox></OutlineBox><DropBox><SpacerBox width="6" height="91"/></DropBox><OutlineBox title="Hvor relevant vil du vurdere visning af Fase Indikator til at være i forhold til en App eller en hjemmeside? [Fase Indikator]"><ListBox><IfBox><PictureBox><BorderBox padTop="2" padLeft="2" padBottom="5" padRight="2"><ScaleBox id="1" origin="-0.5" width="5" nMinor="0" formatName="best" fieldWidth="9" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="5" minInit="-0.5" maxInit="4.5" typeInit="linearInit" widthMajorInit="1" nMinorInit="0" nObsInit="0" widthMajor="1" tickOrigins="0" tickSizes="96" tickOrientations="horizontal" hideMajorTicks="true" hideMinorTicks="true" hideTickLabels="false" labelIndices="64" tickLabelIndices="65" length="267" baselength="267"><ScaleBox id="2" origin="0" width="16.5" nMinor="1" formatName="fixed" fieldWidth="12" nDecimals="0" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="6" minInit="0" maxInit="16.5" typeInit="linearInit" widthMajorInit="5" nMinorInit="1" nObsInit="10" widthMajor="5" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="3" origin="0" width="0.34375" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="6" minInit="0" maxInit="0.34375" typeInit="linearInit" widthMajorInit="0.05" nMinorInit="0" nObsInit="20" widthMajor="0.05" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="4" origin="0" width="0.34375" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="6" minInit="0" maxInit="0.34375" typeInit="linearInit" widthMajorInit="0.05" nMinorInit="0" nObsInit="20" widthMajor="0.05" tickOrientations="horizontal" length="110" baselength="110"><BorderBox padTop="5" padLeft="5" padBottom="5" padRight="5"><IfBox><ListBox isHorizontal="true"><BorderBox padTop="5" padLeft="5" padBottom="5"><DropBox><AxisBox width="102" height="268" padBefore="10" padAfter="10" XSizeID="0" YSizeID="1" XScaleID="0" YScaleID="1"/></DropBox></BorderBox><IfBox><ListBox><PictureBox><BorderBox padRight="5"><FrameBox width="111" height="278" borderTop="false" borderBottom="false" borderLeft="false" borderRight="false" fillColor="#FFFFFF" XSizeID="4" YSizeID="1" XScaleID="4" YScaleID="1" XMultiplier="1" YMultiplier="1" XAddend="0" YAddend="10"><GridReferenceSegment showMajorGridsX="false" showMinorGridsX="false" majorGridColorsX="#D7D7D7" minorGridColorsX="#F0F0F0" showMajorGridsY="false" showMinorGridsY="false" majorGridColorsY="#D7D7D7" minorGridColorsY="0xFFFFFF"/><GridReferenceSegment showReference="true"/><HistogramSegment binOrigin="-0.5" binSpan="1" binWidth="1" nBins="5" maximumDensity="0.34375" fillColor="#BACABA" lineColor="#515851" selectedFillColor="#5D795D" rowStatesIndex="0"><Score index="66"/></HistogramSegment></FrameBox></BorderBox></PictureBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="2" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Count" width="35" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="3" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Probability" width="59" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="4" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Density" width="42" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox></ListBox></IfBox></ListBox></IfBox></BorderBox></ScaleBox></ScaleBox></ScaleBox></ScaleBox></BorderBox></PictureBox></IfBox><IfBox><OutlineBox title="Frequencies"><BorderBox padTop="2" padLeft="2" padBottom="2" padRight="2"><ListBox><TABLE width="195" height="98"><TR><TH style="text-align: left;">Level </TH><TH>Count</TH><TH description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">Prob</TH></TR><TR><TD style="text-align: left;">Slet ikke brugbar</TD><TD>12</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,25000</TD></TR><TR><TD style="text-align: left;">Ikke brugbar</TD><TD>14</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,29167</TD></TR><TR><TD style="text-align: left;">Neutral</TD><TD>15</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,31250</TD></TR><TR><TD style="text-align: left;">Brugbar</TD><TD>5</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,10417</TD></TR><TR><TD style="text-align: left;">Meget brugbar</TD><TD>2</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,04167</TD></TR><TR><TD style="text-align: left;">Total</TD><TD>48</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">1,00000</TD></TR></TABLE><TABLE><TR><TD style="text-align: left;"><TextBox text=" N Missing" width="59" height="17" align="left"/></TD><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="74" width="42" height="17"/></TD></TR></TABLE><TABLE><TR><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="5" width="42" height="17"/></TD><TD style="text-align: left;"><TextBox text=" Levels" width="38" height="17" align="left"/></TD></TR></TABLE></ListBox></BorderBox></OutlineBox></IfBox></ListBox></OutlineBox><DropBox><SpacerBox width="6" height="91"/></DropBox><OutlineBox title="Do you know about usage in DKK?"><ListBox><IfBox><PictureBox><BorderBox padTop="2" padLeft="2" padBottom="5" padRight="2"><ScaleBox id="1" origin="-0.5" width="2" nMinor="0" formatName="best" fieldWidth="9" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="2" minInit="-0.5" maxInit="1.5" typeInit="linearInit" widthMajorInit="1" nMinorInit="0" nObsInit="0" widthMajor="1" tickOrigins="0" tickSizes="24" tickOrientations="horizontal" hideMajorTicks="true" hideMinorTicks="true" hideTickLabels="false" labelIndices="67" tickLabelIndices="68" length="267" baselength="267"><ScaleBox id="2" origin="0" width="117.7" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="0" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="5" minInit="0" maxInit="117.7" typeInit="linearInit" widthMajorInit="20" nMinorInit="0" nObsInit="10" widthMajor="20" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="3" origin="0" width="0.980833333333334" nMinor="1" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="9" minInit="0" maxInit="0.980833333333334" typeInit="linearInit" widthMajorInit="0.2" nMinorInit="1" nObsInit="20" widthMajor="0.2" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="4" origin="0" width="0.980833333333334" nMinor="1" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="9" minInit="0" maxInit="0.980833333333334" typeInit="linearInit" widthMajorInit="0.2" nMinorInit="1" nObsInit="20" widthMajor="0.2" tickOrientations="horizontal" length="110" baselength="110"><BorderBox padTop="5" padLeft="5" padBottom="5" padRight="5"><IfBox><ListBox isHorizontal="true"><BorderBox padTop="5" padLeft="5" padBottom="5"><DropBox><AxisBox width="31" height="268" padBefore="10" padAfter="10" XSizeID="0" YSizeID="1" XScaleID="0" YScaleID="1"/></DropBox></BorderBox><IfBox><ListBox><PictureBox><BorderBox padRight="5"><FrameBox width="111" height="278" borderTop="false" borderBottom="false" borderLeft="false" borderRight="false" fillColor="#FFFFFF" XSizeID="4" YSizeID="1" XScaleID="4" YScaleID="1" XMultiplier="1" YMultiplier="1" XAddend="0" YAddend="10"><GridReferenceSegment showMajorGridsX="false" showMinorGridsX="false" majorGridColorsX="#D7D7D7" minorGridColorsX="#F0F0F0" showMajorGridsY="false" showMinorGridsY="false" majorGridColorsY="#D7D7D7" minorGridColorsY="0xFFFFFF"/><GridReferenceSegment showReference="true"/><HistogramSegment binOrigin="-0.5" binSpan="1" binWidth="1" nBins="2" maximumDensity="0.980833333333334" fillColor="#BACABA" lineColor="#515851" selectedFillColor="#5D795D" rowStatesIndex="0"><Score index="69"/></HistogramSegment></FrameBox></BorderBox></PictureBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="2" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Count" width="35" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="3" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Probability" width="59" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="4" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Density" width="42" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox></ListBox></IfBox></ListBox></IfBox></BorderBox></ScaleBox></ScaleBox></ScaleBox></ScaleBox></BorderBox></PictureBox></IfBox><IfBox><OutlineBox title="Frequencies"><BorderBox padTop="2" padLeft="2" padBottom="2" padRight="2"><ListBox><TABLE width="142" height="59"><TR><TH style="text-align: left;">Level </TH><TH>Count</TH><TH description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">Prob</TH></TR><TR><TD style="text-align: left;">Ja</TD><TD>107</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,89167</TD></TR><TR><TD style="text-align: left;">Nej</TD><TD>13</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,10833</TD></TR><TR><TD style="text-align: left;">Total</TD><TD>120</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">1,00000</TD></TR></TABLE><TABLE><TR><TD style="text-align: left;"><TextBox text=" N Missing" width="59" height="17" align="left"/></TD><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="2" width="42" height="17"/></TD></TR></TABLE><TABLE><TR><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="2" width="42" height="17"/></TD><TD style="text-align: left;"><TextBox text=" Levels" width="38" height="17" align="left"/></TD></TR></TABLE></ListBox></BorderBox></OutlineBox></IfBox></ListBox></OutlineBox><DropBox><SpacerBox width="6" height="91"/></DropBox><OutlineBox title="Hvor relevant vil du vurdere visning af forbrug i DKK til at være i forhold til en App eller en hjemmeside? [Forbrug i DKK]"><ListBox><IfBox><PictureBox><BorderBox padTop="2" padLeft="2" padBottom="5" padRight="2"><ScaleBox id="1" origin="-0.5" width="5" nMinor="0" formatName="best" fieldWidth="9" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="5" minInit="-0.5" maxInit="4.5" typeInit="linearInit" widthMajorInit="1" nMinorInit="0" nObsInit="0" widthMajor="1" tickOrigins="0" tickSizes="96" tickOrientations="horizontal" hideMajorTicks="true" hideMinorTicks="true" hideTickLabels="false" labelIndices="70" tickLabelIndices="71" length="267" baselength="267"><ScaleBox id="2" origin="0" width="46.2" nMinor="1" formatName="fixed" fieldWidth="12" nDecimals="0" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="9" minInit="0" maxInit="46.2" typeInit="linearInit" widthMajorInit="10" nMinorInit="1" nObsInit="10" widthMajor="10" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="3" origin="0" width="0.4125" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="8" minInit="0" maxInit="0.4125" typeInit="linearInit" widthMajorInit="0.05" nMinorInit="0" nObsInit="20" widthMajor="0.05" tickOrientations="horizontal" length="110" baselength="110"><ScaleBox id="4" origin="0" width="0.4125" nMinor="0" formatName="fixed" fieldWidth="12" nDecimals="2" decimalSeparator="," thousandsSeparator="." timeCode="0" nBins="8" minInit="0" maxInit="0.4125" typeInit="linearInit" widthMajorInit="0.05" nMinorInit="0" nObsInit="20" widthMajor="0.05" tickOrientations="horizontal" length="110" baselength="110"><BorderBox padTop="5" padLeft="5" padBottom="5" padRight="5"><IfBox><ListBox isHorizontal="true"><BorderBox padTop="5" padLeft="5" padBottom="5"><DropBox><AxisBox width="102" height="268" padBefore="10" padAfter="10" XSizeID="0" YSizeID="1" XScaleID="0" YScaleID="1"/></DropBox></BorderBox><IfBox><ListBox><PictureBox><BorderBox padRight="5"><FrameBox width="111" height="278" borderTop="false" borderBottom="false" borderLeft="false" borderRight="false" fillColor="#FFFFFF" XSizeID="4" YSizeID="1" XScaleID="4" YScaleID="1" XMultiplier="1" YMultiplier="1" XAddend="0" YAddend="10"><GridReferenceSegment showMajorGridsX="false" showMinorGridsX="false" majorGridColorsX="#D7D7D7" minorGridColorsX="#F0F0F0" showMajorGridsY="false" showMinorGridsY="false" majorGridColorsY="#D7D7D7" minorGridColorsY="0xFFFFFF"/><GridReferenceSegment showReference="true"/><HistogramSegment binOrigin="-0.5" binSpan="1" binWidth="1" nBins="5" maximumDensity="0.4125" fillColor="#BACABA" lineColor="#515851" selectedFillColor="#5D795D" rowStatesIndex="0"><Score index="72"/></HistogramSegment></FrameBox></BorderBox></PictureBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="2" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Count" width="35" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="3" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Probability" width="59" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox><IfBox condition="false"><BorderBox padRight="4"><ListBox><AxisBox width="111" height="23" isHorizontal="true" padBefore="10" padAfter="10" XSizeID="4" YSizeID="0" XScaleID="4" YScaleID="0"/><CenterBox isHorizontal="true"><TextBox text="Density" width="42" height="17" align="left" isEditable="true"/></CenterBox></ListBox></BorderBox></IfBox></ListBox></IfBox></ListBox></IfBox></BorderBox></ScaleBox></ScaleBox></ScaleBox></ScaleBox></BorderBox></PictureBox></IfBox><IfBox><OutlineBox title="Frequencies"><BorderBox padTop="2" padLeft="2" padBottom="2" padRight="2"><ListBox><TABLE width="195" height="98"><TR><TH style="text-align: left;">Level </TH><TH>Count</TH><TH description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">Prob</TH></TR><TR><TD style="text-align: left;">Slet ikke brugbar</TD><TD>7</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,06250</TD></TR><TR><TD style="text-align: left;">Ikke brugbar</TD><TD>6</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,05357</TD></TR><TR><TD style="text-align: left;">Neutral</TD><TD>18</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,16071</TD></TR><TR><TD style="text-align: left;">Brugbar</TD><TD>42</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,37500</TD></TR><TR><TD style="text-align: left;">Meget brugbar</TD><TD>39</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">0,34821</TD></TR><TR><TD style="text-align: left;">Total</TD><TD>112</TD><TD description="Prob: the proportion of the sample that has this category, estimating the probability for this category under a simple categorical response model.">1,00000</TD></TR></TABLE><TABLE><TR><TD style="text-align: left;"><TextBox text=" N Missing" width="59" height="17" align="left"/></TD><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="10" width="42" height="17"/></TD></TR></TABLE><TABLE><TR><TD><NumberBox formatName="fixed" fieldWidth="6" nDecimals="0" decimalSeparator="," thousandsSeparator="." value="5" width="42" height="17"/></TD><TD style="text-align: left;"><TextBox text=" Levels" width="38" height="17" align="left"/></TD></TR></TABLE></ListBox></BorderBox></OutlineBox></IfBox></ListBox></OutlineBox><DropBox><SpacerBox width="6" height="91"/></DropBox></WrapListBox></OutlineBox></Display><Data><RowStateArray>"#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#60000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#60000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000","#00000000"</RowStateArray><DoubleArray>8,8,9,10,11,14,14,15,15,15,15,15,15,15,15,15,15,15,15,15,15,-1,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,-1,17,17,17,17,17,17,17,17,17,18,18,18,19,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,22,71</DoubleArray><DoubleArray>3572544782,3572544782,3571828456.75,3571814020.6,3571764020,3571745363,3571739487.25,3571737127.3,3571647455.975,3571641471,3571641471</DoubleArray><DoubleArray>3571761758.50833,80145.0646645442,7316.20996491351,3571776245.33478,3571747271.68189,120,120</DoubleArray><DoubleArray>0,0,0,0</DoubleArray><DoubleArray>3571722356,3571789161,3571737032,3571748747</DoubleArray><DoubleArray>0.5,0.546234382163377,0.503853812175269,0.598523952403816,0.376856634394199,0.5,0.407437033384311,0.582462830914866,0.417214395614441,0.388791506301515,0.390388387378952,0.591977550632776,0.542430739811357,0.439519598993715,0.48854176391081,0.590355323145797,0.393203591237871,0.590184804035902,0.504648155360319,0.463666669600022,0.541474214832519,0.551912182791583,0.408293245492174,0.53703853344174,0.5</DoubleArray><DoubleArray name="Tidsstempel" dataLevel="continuous" formatName="MM_DD_YYYYHH_MM" fieldWidth="19" decimalSeparator="," thousandsSeparator="." dateTimePattern="%MM%/%DD%/%YYYY% %hh%:%mm%%ampm%" dateSeparator="-" use24HourClock="true" useLeadingZeroForHour="true">3571641471,3571641477,3571647029,3571664108,3571677113,3571722356,3571729928,3571736653,3571736894,3571736902,3571737032,3571737112,3571737265,3571737473,3571737564,3571737654,3571737703,3571737724,3571737742,3571737755,3571737958,3571738015,3571738216,3571738410,3571738696,3571738818,3571738953,3571739136,3571739168,3571739323,3571739388,3571739785,3571740369,3571740492,3571740543,3571740656,3571740717,3571741128,3571741356,3571741537,3571741582,3571741916,3571742533,3571742542,3571742545,3571742630,3571742645,3571743330,3571743491,3571743798,3571743857,3571744148,3571744214,3571744241,3571744252,3571744588,3571744631,3571744923,3571744925,3571744977,3571745113,3571745613,3571745779,3571745953,3571746065,3571746679,3571747911,3571748638,3571748662,3571748745,3571748747,3571750051,3571750360,3571751253,3571752888,3571753522,3571754144,3571754758,3571756487,3571758092,3571759609,3571760115,3571760279,3571760356,3571760433,3571760662,3571760693,3571760956,3571761071,3571762620,3571762693,3571763225,3571764285,3571765412,3571766103,3571766673,3571768508,3571769040,3571771253,3571778164,3571784275,3571789161,3571803579,3571805084,3571806761,3571807250,3571807817,3571808408,3571812240,3571812739,3571814163,3571818792,3571822276,3571822828,3571825364,3571826311,3571826695,3571827511,3571828291,3571828461,3571833871,3572544782</DoubleArray><DoubleArray name="Tidsstempel" dataLevel="continuous" formatName="MM_DD_YYYYHH_MM" fieldWidth="19" decimalSeparator="," thousandsSeparator="." dateTimePattern="%MM%/%DD%/%YYYY% %hh%:%mm%%ampm%" dateSeparator="-" use24HourClock="true" useLeadingZeroForHour="true">3571641471,3571641477,3571647029,3571664108,3571677113,3571803579,3571805084,3571806761,3571807250,3571807817,3571808408,3571812240,3571812739,3571814163,3571818792,3571822276,3571822828,3571825364,3571826311,3571826695,3571827511,3571828291,3571828461,3571833871,3572544782</DoubleArray><StringArray>"Row"</StringArray><StringArray>[["1"]],[["2"]],[["3"]],[["4"]],[["5"]],[["6"]],[["7"]],[["8"]],[["9"]],[["10"]],[["11"]],[["12"]],[["13"]],[["14"]],[["15"]],[["16"]],[["17"]],[["18"]],[["19"]],[["20"]],[["21"]],[["22"]],[["23"]],[["24"]],[["25"]],[["26"]],[["27"]],[["28"]],[["29"]],[["30"]],[["31"]],[["32"]],[["33"]],[["34"]],[["35"]],[["36"]],[["37"]],[["38"]],[["39"]],[["40"]],[["41"]],[["42"]],[["43"]],[["44"]],[["45"]],[["46"]],[["47"]],[["48"]],[["49"]],[["50"]],[["51"]],[["52"]],[["53"]],[["54"]],[["55"]],[["56"]],[["57"]],[["58"]],[["59"]],[["60"]],[["61"]],[["62"]],[["63"]],[["64"]],[["65"]],[["66"]],[["67"]],[["68"]],[["69"]],[["70"]],[["71"]],[["72"]],[["73"]],[["74"]],[["75"]],[["76"]],[["77"]],[["78"]],[["79"]],[["80"]],[["81"]],[["82"]],[["83"]],[["84"]],[["85"]],[["86"]],[["87"]],[["88"]],[["89"]],[["90"]],[["91"]],[["92"]],[["93"]],[["94"]],[["95"]],[["96"]],[["97"]],[["98"]],[["99"]],[["100"]],[["101"]],[["102"]],[["103"]],[["104"]],[["105"]],[["106"]],[["107"]],[["108"]],[["109"]],[["110"]],[["111"]],[["112"]],[["113"]],[["114"]],[["115"]],[["116"]],[["117"]],[["118"]],[["119"]],[["120"]],[["121"]],[["122"]]</StringArray><DoubleArray>1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1</DoubleArray><DoubleArray>5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5</DoubleArray><StringArray>"16-25","26-35","36-45","46-55","56-65","66<"</StringArray><StringArray>"16-25","26-35","36-45","46-55","56-65","66<"</StringArray><DoubleArray>0,1,1,1,3,0,1,0,1,0,1,2,2,1,2,0,1,0,1,1,1,-1,1,3,2,0,1,3,3,2,2,0,1,1,3,1,1,1,1,1,1,3,1,1,2,1,2,0,1,1,1,2,2,0,2,4,1,1,1,1,2,1,1,0,1,0,2,5,1,1,0,2,2,2,1,3,0,1,2,2,1,1,0,4,0,1,1,2,2,-1,0,2,0,0,1,2,2,1,5,0,2,2,3,1,1,1,2,2,1,5,1,0,4,1,0,0,0,0,5,1,1,1</DoubleArray><StringArray>"Landejendom","Lejlighed","Parcelhus / rækkehus"</StringArray><StringArray>"Landejendom","Lejlighed","Parcelhus / rækkehus"</StringArray><DoubleArray>2,0,2,1,1,1,1,1,1,1,1,2,2,2,2,1,2,1,2,2,2,-1,2,2,2,1,1,2,0,2,2,1,1,2,2,1,2,2,1,1,1,0,1,1,2,1,2,1,1,2,2,1,1,2,1,2,1,1,1,2,1,2,2,2,1,1,1,2,1,2,2,2,1,2,0,2,2,1,2,1,2,2,1,0,2,2,2,1,2,-1,1,2,2,1,1,2,1,1,2,1,1,1,2,2,1,1,1,2,2,2,1,1,2,1,2,2,2,1,2,2,1,1</DoubleArray><StringArray>"Ja","Nej"</StringArray><StringArray>"Ja","Nej"</StringArray><DoubleArray>1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,-1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,-1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1</DoubleArray><StringArray>"Solceller"</StringArray><StringArray>"Solceller"</StringArray><DoubleArray>-1,-1,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,-1,-1,-1,-1,-1,-1,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1</DoubleArray><StringArray>"Ja","Nej"</StringArray><StringArray>"Ja","Nej"</StringArray><DoubleArray>0,0,0,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,-1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,-1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1</DoubleArray><StringArray>"Slet ikke brugbar","Ikke brugbar","Neutral","Meget brugbar"</StringArray><StringArray>"Slet ikke brugbar","Ikke brugbar","Neutral","Meget brugbar"</StringArray><DoubleArray>3,3,1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,-1,-1,-1,-1,-1,-1,-1,2,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,-1,-1,-1,-1,-1,1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1</DoubleArray><StringArray>"Ja","Nej"</StringArray><StringArray>"Ja","Nej"</StringArray><DoubleArray>1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,-1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,-1,1,0,0,0,0,0,0,0,1,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0</DoubleArray><StringArray>"Slet ikke brugbar","Ikke brugbar","Neutral","Brugbar","Meget brugbar"</StringArray><StringArray>"Slet ikke brugbar","Ikke brugbar","Neutral","Brugbar","Meget brugbar"</StringArray><DoubleArray>-1,-1,1,4,3,0,4,2,4,2,1,3,4,3,4,3,-1,3,4,4,3,-1,4,-1,3,3,2,3,0,4,3,2,3,2,3,4,1,4,2,4,3,3,2,4,3,4,3,1,4,4,3,2,3,3,-1,2,4,3,3,2,4,2,4,4,4,4,2,2,2,4,4,-1,4,2,3,3,-1,2,3,2,3,4,3,3,-1,4,3,4,4,-1,4,2,2,1,3,4,4,4,0,2,1,3,4,2,4,3,2,3,4,3,0,3,4,2,3,1,1,3,2,3,0,0</DoubleArray><StringArray>"Ja","Nej"</StringArray><StringArray>"Ja","Nej"</StringArray><DoubleArray>1,1,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,0,0,0,1,0,1,1,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,-1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0</DoubleArray><StringArray>"Slet ikke brugbar","Ikke brugbar","Neutral","Brugbar","Meget brugbar"</StringArray><StringArray>"Slet ikke brugbar","Ikke brugbar","Neutral","Brugbar","Meget brugbar"</StringArray><DoubleArray>-1,-1,1,2,-1,0,4,1,1,-1,1,0,4,1,1,0,0,3,4,0,0,-1,2,1,3,3,0,-1,0,-1,-1,2,0,2,1,2,1,-1,2,2,1,3,-1,3,0,1,0,0,2,2,1,2,2,2,-1,2,0,1,1,1,1,0,1,3,2,1,2,0,1,1,3,1,-1,0,2,0,1,2,1,0,0,1,1,2,3,2,1,-1,1,-1,0,0,2,1,-1,3,4,0,0,-1,1,0,3,0,1,0,2,0,0,1,0,1,0,0,3,1,1,1,0,-1,0,0</DoubleArray><StringArray>"Ja","Nej"</StringArray><StringArray>"Ja","Nej"</StringArray><DoubleArray>0,1,0,0,1,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,-1,0,1,0,0,0,0,0,0,1,1,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,1,0,1,0,0,-1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,1,0,0,0,1,0,0,0,1,0,0,0,0,1,0,0</DoubleArray><StringArray>"Slet ikke brugbar","Ikke brugbar","Neutral","Brugbar","Meget brugbar"</StringArray><StringArray>"Slet ikke brugbar","Ikke brugbar","Neutral","Brugbar","Meget brugbar"</StringArray><DoubleArray>4,-1,1,3,-1,0,4,-1,4,-1,1,3,4,2,3,2,4,3,4,4,3,-1,3,-1,3,3,3,3,0,3,-1,-1,-1,2,3,4,2,-1,3,2,3,3,2,3,3,3,2,1,2,4,-1,2,2,3,-1,-1,3,3,2,3,2,2,4,4,4,1,2,1,-1,4,4,-1,4,2,3,3,-1,2,3,2,1,4,3,2,-1,4,-1,3,4,-1,4,2,2,1,3,4,4,4,0,-1,1,4,4,2,-1,4,-1,0,4,1,-1,3,4,2,-1,1,2,3,2,-1,1,0</DoubleArray><StringArray>"Ja","Nej"</StringArray><StringArray>"Ja","Nej"</StringArray><DoubleArray>0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,0,0,0,1,0,0,1,1,0,0,0,0,0,1,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,1,0,0,0,-1,0,0,0,0,0,0,1,0,-1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0</DoubleArray><StringArray>"Slet ikke brugbar","Ikke brugbar","Neutral","Brugbar","Meget brugbar"</StringArray><StringArray>"Slet ikke brugbar","Ikke brugbar","Neutral","Brugbar","Meget brugbar"</StringArray><DoubleArray>2,3,1,2,-1,0,4,0,1,-1,1,0,4,1,1,0,0,3,4,0,0,-1,2,1,3,3,0,-1,0,1,-1,-1,4,2,1,3,1,-1,-1,2,2,3,-1,3,0,3,3,0,3,2,1,2,2,3,-1,3,0,1,1,2,2,2,1,0,3,1,2,0,1,1,2,-1,-1,0,2,1,-1,2,1,0,1,1,1,1,3,2,1,-1,1,-1,3,0,2,1,-1,3,4,1,0,-1,1,3,3,0,1,1,2,0,4,1,-1,2,1,0,1,1,1,3,1,-1,0,0</DoubleArray><StringArray>"Ja","Nej"</StringArray><StringArray>"Ja","Nej"</StringArray><DoubleArray>1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,-1,0,1,0,0,1,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0</DoubleArray><StringArray>"Slet ikke brugbar","Ikke brugbar","Neutral","Brugbar","Meget brugbar"</StringArray><StringArray>"Slet ikke brugbar","Ikke brugbar","Neutral","Brugbar","Meget brugbar"</StringArray><DoubleArray>-1,-1,2,3,1,0,4,0,1,2,1,0,4,1,1,0,0,3,4,0,0,-1,2,1,3,3,0,-1,0,-1,2,0,0,2,3,2,1,-1,2,1,1,3,-1,0,0,1,0,0,2,2,-1,2,2,2,-1,2,0,1,1,1,1,2,1,2,2,0,2,0,0,0,1,-1,-1,0,2,1,2,2,1,0,0,3,1,1,3,2,1,-1,1,-1,0,-1,2,1,-1,3,1,1,-1,-1,1,0,2,0,1,0,2,0,0,1,-1,1,1,0,1,1,0,0,1,-1,0,0</DoubleArray><StringArray>"Ja","Nej"</StringArray><StringArray>"Ja","Nej"</StringArray><DoubleArray>0,0,1,1,1,1,1,1,1,1,1,0,1,0,0,0,0,0,0,0,1,-1,0,1,1,1,1,1,1,1,1,1,0,1,0,0,1,1,1,0,0,0,1,1,1,1,1,1,0,1,1,0,1,1,1,0,0,0,1,1,0,1,0,1,0,1,0,0,1,1,0,1,1,1,0,1,1,0,1,0,0,0,0,0,1,1,1,1,1,-1,0,0,0,1,1,0,0,0,1,1,0,0,0,0,1,0,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1</DoubleArray><StringArray>"Slet ikke brugbar","Ikke brugbar","Neutral","Brugbar","Meget brugbar"</StringArray><StringArray>"Slet ikke brugbar","Ikke brugbar","Neutral","Brugbar","Meget brugbar"</StringArray><DoubleArray>3,4,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,-1,2,1,0,0,2,4,1,-1,-1,2,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,-1,1,2,-1,-1,-1,2,1,3,-1,-1,-1,-1,-1,-1,3,-1,-1,2,-1,-1,-1,2,0,1,-1,-1,3,-1,1,-1,1,-1,2,0,-1,-1,2,-1,-1,-1,2,-1,-1,2,-1,0,0,2,1,1,-1,-1,-1,-1,-1,-1,2,0,2,-1,-1,3,1,1,-1,-1,1,0,2,0,-1,0,-1,-1,-1,-1,-1,1,-1,-1,-1,-1,-1,-1,1,-1,-1,-1</DoubleArray><StringArray>"Ja","Nej"</StringArray><StringArray>"Ja","Nej"</StringArray><DoubleArray>1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0</DoubleArray><StringArray>"Slet ikke brugbar","Ikke brugbar","Neutral","Brugbar","Meget brugbar"</StringArray><StringArray>"Slet ikke brugbar","Ikke brugbar","Neutral","Brugbar","Meget brugbar"</StringArray><DoubleArray>4,4,3,3,3,0,4,4,4,3,1,3,4,2,4,0,4,3,4,4,3,-1,3,1,3,2,3,3,0,3,2,3,4,2,2,3,1,4,2,4,3,3,4,4,3,3,3,4,4,3,3,3,-1,3,-1,3,4,4,4,3,4,3,3,4,4,-1,2,1,2,4,2,-1,4,0,2,3,0,2,3,2,3,3,3,3,3,4,3,4,4,-1,4,-1,2,2,4,2,4,3,-1,4,1,4,2,3,4,4,3,3,4,4,0,4,2,3,3,-1,4,3,2,-1,1,0</DoubleArray></Data></JMPReport>',t=JMP.DocumentStatic.parse(e),JMP.DocumentStatic.XMLLength>1e5&&(JMP.DocumentStatic.progress.value=.4,JMP.DocumentStatic.progress.className="revealed",document.getElementById("progressLabel").className="revealed"),setTimeout(function(){JMP.DocumentStatic.assignLabels(t,window.getComputedStyle(document.body)),JMP.DocumentStatic.progress.value=.6,setTimeout(function(){JMP.CanvasStatic.createAll(document.getElementsByTagName("canvas")),JMP.DocumentStatic.progress.value=.8,JMP.CanvasStatic.drawAll(),JMP.DocumentStatic.progress.value=1,setTimeout(function(){JMP.DocumentStatic.progress.className="concealed",document.getElementById("progressLabel").className="concealed",document.getElementById("body").className="revealed",JMP.DocumentStatic.adjustDocumentSize(),window.onresize()},1)},1)},1)};
</script></head><body></body></html>