@wandelbots/wandelbots-js-react-components 0.0.0-semantically-released
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +90 -0
- package/dist/cjs/index.js +1 -0
- package/dist/esm/index.js +1 -0
- package/package.json +89 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2024 Wandelbots GmbH
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
package/README.md
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
# WandelUI
|
|
2
|
+
|
|
3
|
+
A growing collection of ready-made React UI components for use with the Wandelbots Nova platform.
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npm install @wandelbots/wandelui
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
### Basic usage:
|
|
10
|
+
|
|
11
|
+
Import your desired components or functions from the package:
|
|
12
|
+
|
|
13
|
+
```jsx
|
|
14
|
+
import { WandelscriptEditor, ... } from '@wandelbots/wandelui'
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
### Index
|
|
18
|
+
|
|
19
|
+
<table>
|
|
20
|
+
<tr>
|
|
21
|
+
<td valign="top">
|
|
22
|
+
<ul>
|
|
23
|
+
<li><a href="#wandelscript">Wandelscript</a></li>
|
|
24
|
+
<ul>
|
|
25
|
+
<li><a href="#wandelscripteditor">WandelscriptEditor</a></li>
|
|
26
|
+
</ul>
|
|
27
|
+
<li><a href="#materialui">Material UI</a></li>
|
|
28
|
+
<ul>
|
|
29
|
+
<li><a href="#novatheme">getNovaThemeOptionsForMui</a></li>
|
|
30
|
+
</ul>
|
|
31
|
+
</ul>
|
|
32
|
+
</td>
|
|
33
|
+
</tr>
|
|
34
|
+
</table>
|
|
35
|
+
|
|
36
|
+
# Wandelscript
|
|
37
|
+
|
|
38
|
+
#### WandelscriptEditor
|
|
39
|
+
|
|
40
|
+
```tsx
|
|
41
|
+
type WandelscriptEditorProps = {
|
|
42
|
+
/** The current Wandelscript content of the code editor (controlled component) */
|
|
43
|
+
code?: string
|
|
44
|
+
/** What to do when the user edits the code */
|
|
45
|
+
onChange?: (code: string|undefined, ev: editor.IModelContentChangedEvent) => void
|
|
46
|
+
/** Callback to further configure monaco on startup if needed */
|
|
47
|
+
monacoSetup?: (monaco: Monaco) => void
|
|
48
|
+
}
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
The WandelscriptEditor provides an interface for editing snippets of Wandelscript code with the appropriate syntax highlighting. It uses the [Monaco](https://microsoft.github.io/monaco-editor/) editor under the hood.
|
|
52
|
+
|
|
53
|
+
# Material UI
|
|
54
|
+
|
|
55
|
+
#### createNovaMuiTheme
|
|
56
|
+
|
|
57
|
+
```tsx
|
|
58
|
+
declare function createNovaMuiTheme(mode: 'dark'|'light' = 'dark'): Theme
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
This function creates a [Material UI theme](https://mui.com/material-ui/customization/theming/) with the default Nova colors, typography, and MUI component configuration.
|
|
62
|
+
|
|
63
|
+
Example use in a MUI application:
|
|
64
|
+
|
|
65
|
+
```tsx
|
|
66
|
+
import { ThemeProvider } from "@mui/system"
|
|
67
|
+
import { createNovaMuiTheme } from "@wandelbots/wandelui"
|
|
68
|
+
|
|
69
|
+
const novaDarkTheme = createNovaMuiTheme('dark')
|
|
70
|
+
|
|
71
|
+
export const Layout = ({ children }: { children: React.ReactNode }) => {
|
|
72
|
+
return <ThemeProvider theme={novaDarkTheme}>
|
|
73
|
+
{children}
|
|
74
|
+
</ThemeProvider>
|
|
75
|
+
}
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## Contributing
|
|
79
|
+
|
|
80
|
+
To set up wandelui for development, first clone the repo and run:
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
npm install
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
Then you can run the storybook to develop the components:
|
|
87
|
+
|
|
88
|
+
```bash
|
|
89
|
+
npm run dev
|
|
90
|
+
```
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("@react-spring/three"),a=require("@react-three/drei"),o=require("@react-three/fiber"),r=require("three");var i=function(){return i=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function s(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(a=Object.getOwnPropertySymbols(e);o<a.length;o++)t.indexOf(a[o])<0&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]])}return n}function c(e,t,n,a){return new(n||(n=Promise))((function(o,r){function i(e){try{c(a.next(e))}catch(e){r(e)}}function s(e){try{c(a.throw(e))}catch(e){r(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}c((a=a.apply(e,t||[])).next())}))}function u(e,t){var n,a,o,r,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(i=0)),i;)try{if(n=1,a&&(o=2&s[0]?a.return:s[0]?a.throw||((o=a.return)&&o.call(a),0):a.next)&&!(o=o.call(a,s[1])).done)return o;switch(a=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,a=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],a=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}"function"==typeof SuppressedError&&SuppressedError;var l="(^joint_[0-9]+$)|(_J[0-9]+$)";function h(e){return 0===e.children.length?[e]:function(e,t,n){if(n||2===arguments.length)for(var a,o=0,r=t.length;o<r;o++)!a&&o in t||(a||(a=Array.prototype.slice.call(t,0,o)),a[o]=t[o]);return e.concat(a||Array.prototype.slice.call(t))}([e],e.children.flatMap((function(e){return h(e)})),!0)}function d(e,t){return h(e).filter((function(e){return function(e,t){return new RegExp(null!=t?t:l).test(e)}(e.name,t)}))}var m="production"!==process.env.NODE_ENV?{0:"Invalid value for configuration 'enforceActions', expected 'never', 'always' or 'observed'",1:function(e,t){return"Cannot apply '"+e+"' to '"+t.toString()+"': Field not found."},5:"'keys()' can only be used on observable objects, arrays, sets and maps",6:"'values()' can only be used on observable objects, arrays, sets and maps",7:"'entries()' can only be used on observable objects, arrays and maps",8:"'set()' can only be used on observable objects, arrays and maps",9:"'remove()' can only be used on observable objects, arrays and maps",10:"'has()' can only be used on observable objects, arrays and maps",11:"'get()' can only be used on observable objects, arrays and maps",12:"Invalid annotation",13:"Dynamic observable objects cannot be frozen. If you're passing observables to 3rd party component/function that calls Object.freeze, pass copy instead: toJS(observable)",14:"Intercept handlers should return nothing or a change object",15:"Observable arrays cannot be frozen. If you're passing observables to 3rd party component/function that calls Object.freeze, pass copy instead: toJS(observable)",16:"Modification exception: the internal structure of an observable array was changed.",17:function(e,t){return"[mobx.array] Index out of bounds, "+e+" is larger than "+t},18:"mobx.map requires Map polyfill for the current browser. Check babel-polyfill or core-js/es6/map.js",19:function(e){return"Cannot initialize from classes that inherit from Map: "+e.constructor.name},20:function(e){return"Cannot initialize map from "+e},21:function(e){return"Cannot convert to map from '"+e+"'"},22:"mobx.set requires Set polyfill for the current browser. Check babel-polyfill or core-js/es6/set.js",23:"It is not possible to get index atoms from arrays",24:function(e){return"Cannot obtain administration from "+e},25:function(e,t){return"the entry '"+e+"' does not exist in the observable map '"+t+"'"},26:"please specify a property",27:function(e,t){return"no observable property '"+e.toString()+"' found on the observable object '"+t+"'"},28:function(e){return"Cannot obtain atom from "+e},29:"Expecting some object",30:"invalid action stack. did you forget to finish an action?",31:"missing option for computed: get",32:function(e,t){return"Cycle detected in computation "+e+": "+t},33:function(e){return"The setter of computed value '"+e+"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?"},34:function(e){return"[ComputedValue '"+e+"'] It is not possible to assign a new value to a computed value."},35:"There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`",36:"isolateGlobalState should be called before MobX is running any reactions",37:function(e){return"[mobx] `observableArray."+e+"()` mutates the array in-place, which is not allowed inside a derivation. Use `array.slice()."+e+"()` instead"},38:"'ownKeys()' can only be used on observable objects",39:"'defineProperty()' can only be used on observable objects"}:{};function _(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];if("production"!==process.env.NODE_ENV){var o="string"==typeof e?e:m[e];throw"function"==typeof o&&(o=o.apply(null,n)),new Error("[MobX] "+o)}throw new Error("number"==typeof e?"[MobX] minified error nr: "+e+(n.length?" "+n.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+e)}var p={};function v(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:p}var g=Object.assign,f=Object.getOwnPropertyDescriptor,y=Object.defineProperty,b=Object.prototype,S=[];Object.freeze(S);var w={};Object.freeze(w);var j="undefined"!=typeof Proxy,x=Object.toString();function M(){j||_("production"!==process.env.NODE_ENV?"`Proxy` objects are not available in the current environment. Please configure MobX to enable a fallback implementation.`":"Proxy not available")}function R(e){"production"!==process.env.NODE_ENV&&Ot.verifyProxies&&_("MobX is currently configured to be able to run in ES5 mode, but in ES5 MobX won't be able to "+e)}function A(){return++Ot.mobxGuid}function O(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var L=function(){};function N(e){return"function"==typeof e}function I(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function E(e){return null!==e&&"object"==typeof e}function C(e){if(!E(e))return!1;var t=Object.getPrototypeOf(e);if(null==t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n.toString()===x}function P(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function k(e,t,n){y(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function D(e,t,n){y(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function U(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return E(e)&&!0===e[n]}}function V(e){return null!=e&&"[object Map]"===Object.prototype.toString.call(e)}function B(e){return null!=e&&"[object Set]"===Object.prototype.toString.call(e)}var G=void 0!==Object.getOwnPropertySymbols;var T="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:G?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function F(e){return"string"==typeof e?e:"symbol"==typeof e?e.toString():new String(e).toString()}function J(e){return null===e?null:"object"==typeof e?""+e:e}function X(e,t){return b.hasOwnProperty.call(e,t)}var K=Object.getOwnPropertyDescriptors||function(e){var t={};return T(e).forEach((function(n){t[n]=f(e,n)})),t};function W(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}function H(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,Q(a.key),a)}}function q(e,t,n){return t&&H(e.prototype,t),n&&H(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function z(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return W(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?W(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var a=0;return function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Y.apply(null,arguments)}function Z(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,$(e,t)}function $(e,t){return $=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$(e,t)}function Q(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}var ee=Symbol("mobx-stored-annotations");function te(e){return Object.assign((function(t,n){if(ae(n))return e.decorate_20223_(t,n);ne(t,n,e)}),e)}function ne(e,t,n){(X(e,ee)||k(e,ee,Y({},e[ee])),"production"!==process.env.NODE_ENV&&me(n)&&!X(e[ee],t))&&_("'"+(e.constructor.name+".prototype."+t.toString())+"' is decorated with 'override', but no such decorated member was found on prototype.");!function(e,t,n){if("production"!==process.env.NODE_ENV&&!me(t)&&X(e[ee],n)){var a=e.constructor.name+".prototype."+n.toString(),o=e[ee][n].annotationType_;_("Cannot apply '@"+t.annotationType_+"' to '"+a+"':\nThe field is already decorated with '@"+o+"'.\nRe-decorating fields is not allowed.\nUse '@override' decorator for methods overridden by subclass.")}}(e,n,t),me(n)||(e[ee][t]=n)}function ae(e){return"object"==typeof e&&"string"==typeof e.kind}function oe(e,t){"production"===process.env.NODE_ENV||t.includes(e.kind)||_("The decorator applied to '"+String(e.name)+"' cannot be used on a "+e.kind+" element")}var re=Symbol("mobx administration"),ie=function(){function e(e){void 0===e&&(e="production"!==process.env.NODE_ENV?"Atom@"+A():"Atom"),this.name_=void 0,this.isPendingUnobservation=!1,this.isBeingObserved=!1,this.observers_=new Set,this.diffValue_=0,this.lastAccessedBy_=0,this.lowestObserverState_=ht.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.reportObserved=function(){return Pt(this)},t.reportChanged=function(){Et(),kt(this),Ct()},t.toString=function(){return this.name_},e}(),se=U("Atom",ie);function ce(e,t,n){void 0===t&&(t=L),void 0===n&&(n=L);var a,o=new ie(e);return t!==L&&hn(cn,o,t,a),n!==L&&ln(o,n),o}var ue={identity:function(e,t){return e===t},structural:function(e,t){return Sa(e,t)},default:function(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t},shallow:function(e,t){return Sa(e,t,1)}};function le(e,t,n){return bn(e)?e:Array.isArray(e)?ze.array(e,{name:n}):C(e)?ze.object(e,void 0,{name:n}):V(e)?ze.map(e,{name:n}):B(e)?ze.set(e,{name:n}):"function"!=typeof e||on(e)||yn(e)?e:P(e)?gn(e):an(n,e)}function he(e){return e}var de="override";function me(e){return e.annotationType_===de}function _e(e,t){return{annotationType_:e,options_:t,make_:pe,extend_:ve,decorate_20223_:ge}}function pe(e,t,n,a){var o;if(null!=(o=this.options_)&&o.bound)return null===this.extend_(e,t,n,!1)?0:1;if(a===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(on(n.value))return 1;var r=fe(e,this,t,n,!1);return y(a,t,r),2}function ve(e,t,n,a){var o=fe(e,this,t,n);return e.defineProperty_(t,o,a)}function ge(e,t){"production"!==process.env.NODE_ENV&&oe(t,["method","field"]);var n=t.kind,a=t.name,o=t.addInitializer,r=this;if("field"!=n){var i,s,c,u,l,h;if("method"==n)return on(e)||(s=e,e=ot(null!=(c=null==(u=r.options_)?void 0:u.name)?c:a.toString(),s,null!=(l=null==(h=r.options_)?void 0:h.autoAction)&&l)),null!=(i=this.options_)&&i.bound&&o((function(){var e=this,t=e[a].bind(e);t.isMobxAction=!0,e[a]=t})),e;_("Cannot apply '"+r.annotationType_+"' to '"+String(a)+"' (kind: "+n+"):\n'"+r.annotationType_+"' can only be used on properties with a function value.")}else o((function(){ne(this,a,r)}))}function fe(e,t,n,a,o){var r,i,s,c,u,l,h;void 0===o&&(o=Ot.safeDescriptors),function(e,t,n,a){var o=t.annotationType_,r=a.value;"production"===process.env.NODE_ENV||N(r)||_("Cannot apply '"+o+"' to '"+e.name_+"."+n.toString()+"':\n'"+o+"' can only be used on properties with a function value.")}(e,t,n,a);var d,m=a.value;null!=(r=t.options_)&&r.bound&&(m=m.bind(null!=(d=e.proxy_)?d:e.target_));return{value:ot(null!=(i=null==(s=t.options_)?void 0:s.name)?i:n.toString(),m,null!=(c=null==(u=t.options_)?void 0:u.autoAction)&&c,null!=(l=t.options_)&&l.bound?null!=(h=e.proxy_)?h:e.target_:void 0),configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function ye(e,t){return{annotationType_:e,options_:t,make_:be,extend_:Se,decorate_20223_:we}}function be(e,t,n,a){var o;if(a===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(o=this.options_)&&o.bound&&(!X(e.target_,t)||!yn(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(yn(n.value))return 1;var r=je(e,this,t,n,!1,!1);return y(a,t,r),2}function Se(e,t,n,a){var o,r=je(e,this,t,n,null==(o=this.options_)?void 0:o.bound);return e.defineProperty_(t,r,a)}function we(e,t){var n;"production"!==process.env.NODE_ENV&&oe(t,["method"]);var a=t.name,o=t.addInitializer;return yn(e)||(e=gn(e)),null!=(n=this.options_)&&n.bound&&o((function(){var e=this,t=e[a].bind(e);t.isMobXFlow=!0,e[a]=t})),e}function je(e,t,n,a,o,r){void 0===r&&(r=Ot.safeDescriptors),function(e,t,n,a){var o=t.annotationType_,r=a.value;"production"===process.env.NODE_ENV||N(r)||_("Cannot apply '"+o+"' to '"+e.name_+"."+n.toString()+"':\n'"+o+"' can only be used on properties with a generator function value.")}(e,t,n,a);var i,s=a.value;(yn(s)||(s=gn(s)),o)&&((s=s.bind(null!=(i=e.proxy_)?i:e.target_)).isMobXFlow=!0);return{value:s,configurable:!r||e.isPlainObject_,enumerable:!1,writable:!r}}function xe(e,t){return{annotationType_:e,options_:t,make_:Me,extend_:Re,decorate_20223_:Ae}}function Me(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function Re(e,t,n,a){return function(e,t,n,a){var o=t.annotationType_,r=a.get;"production"===process.env.NODE_ENV||r||_("Cannot apply '"+o+"' to '"+e.name_+"."+n.toString()+"':\n'"+o+"' can only be used on getter(+setter) properties.")}(e,this,t,n),e.defineComputedProperty_(t,Y({},this.options_,{get:n.get,set:n.set}),a)}function Ae(e,t){"production"!==process.env.NODE_ENV&&oe(t,["getter"]);var n=this,a=t.name;return(0,t.addInitializer)((function(){var t=Qn(this)[re],o=Y({},n.options_,{get:e,context:this});o.name||(o.name="production"!==process.env.NODE_ENV?t.name_+"."+a.toString():"ObservableObject."+a.toString()),t.values_.set(a,new lt(o))})),function(){return this[re].getObservablePropValue_(a)}}function Oe(e,t){return{annotationType_:e,options_:t,make_:Le,extend_:Ne,decorate_20223_:Ie}}function Le(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function Ne(e,t,n,a){var o,r;return function(e,t,n,a){var o=t.annotationType_;"production"===process.env.NODE_ENV||"value"in a||_("Cannot apply '"+o+"' to '"+e.name_+"."+n.toString()+"':\n'"+o+"' cannot be used on getter/setter properties")}(e,this,t,n),e.defineObservableProperty_(t,n.value,null!=(o=null==(r=this.options_)?void 0:r.enhancer)?o:le,a)}function Ie(e,t){if("production"!==process.env.NODE_ENV){if("field"===t.kind)throw _("Please use `@observable accessor "+String(t.name)+"` instead of `@observable "+String(t.name)+"`");oe(t,["accessor"])}var n=this,a=t.kind,o=t.name,r=new WeakSet;function i(e,t){var a,i,s=Qn(e)[re],c=new st(t,null!=(a=null==(i=n.options_)?void 0:i.enhancer)?a:le,"production"!==process.env.NODE_ENV?s.name_+"."+o.toString():"ObservableObject."+o.toString(),!1);s.values_.set(o,c),r.add(e)}if("accessor"==a)return{get:function(){return r.has(this)||i(this,e.get.call(this)),this[re].getObservablePropValue_(o)},set:function(e){return r.has(this)||i(this,e),this[re].setObservablePropValue_(o,e)},init:function(e){return r.has(this)||i(this,e),e}}}var Ee="true",Ce=Pe();function Pe(e){return{annotationType_:Ee,options_:e,make_:ke,extend_:De,decorate_20223_:Ue}}function ke(e,t,n,a){var o,r,i,s;if(n.get)return Qe.make_(e,t,n,a);if(n.set){var c=ot(t.toString(),n.set);return a===e.target_?null===e.defineProperty_(t,{configurable:!Ot.safeDescriptors||e.isPlainObject_,set:c})?0:2:(y(a,t,{configurable:!0,set:c}),2)}if(a!==e.target_&&"function"==typeof n.value)return P(n.value)?(null!=(s=this.options_)&&s.autoBind?gn.bound:gn).make_(e,t,n,a):(null!=(i=this.options_)&&i.autoBind?an.bound:an).make_(e,t,n,a);var u,l=!1===(null==(o=this.options_)?void 0:o.deep)?ze.ref:ze;"function"==typeof n.value&&null!=(r=this.options_)&&r.autoBind&&(n.value=n.value.bind(null!=(u=e.proxy_)?u:e.target_));return l.make_(e,t,n,a)}function De(e,t,n,a){var o,r,i;if(n.get)return Qe.extend_(e,t,n,a);if(n.set)return e.defineProperty_(t,{configurable:!Ot.safeDescriptors||e.isPlainObject_,set:ot(t.toString(),n.set)},a);"function"==typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(i=e.proxy_)?i:e.target_));return(!1===(null==(r=this.options_)?void 0:r.deep)?ze.ref:ze).extend_(e,t,n,a)}function Ue(e,t){_("'"+this.annotationType_+"' cannot be used as a decorator")}var Ve={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function Be(e){return e||Ve}Object.freeze(Ve);var Ge=Oe("observable"),Te=Oe("observable.ref",{enhancer:he}),Fe=Oe("observable.shallow",{enhancer:function(e,t,n){return null==e||na(e)||Tn(e)||Wn(e)||zn(e)?e:Array.isArray(e)?ze.array(e,{name:n,deep:!1}):C(e)?ze.object(e,void 0,{name:n,deep:!1}):V(e)?ze.map(e,{name:n,deep:!1}):B(e)?ze.set(e,{name:n,deep:!1}):void("production"!==process.env.NODE_ENV&&_("The shallow modifier / decorator can only used in combination with arrays, objects, maps and sets"))}}),Je=Oe("observable.struct",{enhancer:function(e,t){return"production"!==process.env.NODE_ENV&&bn(e)&&_("observable.struct should not be used with observable values"),Sa(e,t)?t:e}}),Xe=te(Ge);function Ke(e){return!0===e.deep?le:!1===e.deep?he:(t=e.defaultDecorator)&&null!=(n=null==(a=t.options_)?void 0:a.enhancer)?n:le;var t,n,a}function We(e,t,n){return ae(t)?Ge.decorate_20223_(e,t):I(t)?void ne(e,t,Ge):bn(e)?e:C(e)?ze.object(e,t,n):Array.isArray(e)?ze.array(e,t):V(e)?ze.map(e,t):B(e)?ze.set(e,t):"object"==typeof e&&null!==e?e:ze.box(e,t)}g(We,Xe);var He,qe,ze=g(We,{box:function(e,t){var n=Be(t);return new st(e,Ke(n),n.name,!0,n.equals)},array:function(e,t){var n=Be(t);return(!1===Ot.useProxies||!1===n.proxy?pa:Pn)(e,Ke(n),n.name)},map:function(e,t){var n=Be(t);return new Kn(e,Ke(n),n.name)},set:function(e,t){var n=Be(t);return new qn(e,Ke(n),n.name)},object:function(e,t,n){return ya((function(){return function(e,t,n,a){"production"!==process.env.NODE_ENV&&(arguments.length>4&&_("'extendObservable' expected 2-4 arguments"),"object"!=typeof e&&_("'extendObservable' expects an object as first argument"),Wn(e)&&_("'extendObservable' should not be used on maps, use map.merge instead"),C(t)||_("'extendObservable' only accepts plain objects as second argument"),(bn(t)||bn(n))&&_("Extending an object with another observable (object) is not supported"));var o=K(t);return ya((function(){var t=Qn(e,a)[re];T(o).forEach((function(e){t.extend_(e,o[e],!n||(!(e in n)||n[e]))}))})),e}(!1===Ot.useProxies||!1===(null==n?void 0:n.proxy)?Qn({},n):function(e,t){var n,a;return M(),e=Qn(e,t),null!=(a=(n=e[re]).proxy_)?a:n.proxy_=new Proxy(e,jn)}({},n),e,t)}))},ref:te(Te),shallow:te(Fe),deep:Xe,struct:te(Je)}),Ye="computed",Ze=xe(Ye),$e=xe("computed.struct",{equals:ue.structural}),Qe=function(e,t){if(ae(t))return Ze.decorate_20223_(e,t);if(I(t))return ne(e,t,Ze);if(C(e))return te(xe(Ye,e));"production"!==process.env.NODE_ENV&&(N(e)||_("First argument to `computed` should be an expression."),N(t)&&_("A setter as second argument is no longer supported, use `{ set: fn }` option instead"));var n=C(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new lt(n)};Object.assign(Qe,Ze),Qe.struct=te($e);var et=0,tt=1,nt=null!=(He=null==(qe=f((function(){}),"name"))?void 0:qe.configurable)&&He,at={value:"action",configurable:!0,writable:!1,enumerable:!1};function ot(e,t,n,a){function o(){return function(e,t,n,a,o){var r=function(e,t,n,a){var o="production"!==process.env.NODE_ENV&&Xt()&&!!e,r=0;if("production"!==process.env.NODE_ENV&&o){r=Date.now();var i=a?Array.from(a):S;Wt({type:zt,name:e,object:n,arguments:i})}var s=Ot.trackingDerivation,c=!t||!s;Et();var u=Ot.allowStateChanges;c&&(St(),u=rt(!0));var l=jt(!0),h={runAsAction_:c,prevDerivation_:s,prevAllowStateChanges_:u,prevAllowStateReads_:l,notifySpy_:o,startTime_:r,actionId_:tt++,parentActionId_:et};return et=h.actionId_,h}(e,t,a,o);try{return n.apply(a,o)}catch(e){throw r.error_=e,e}finally{!function(e){et!==e.actionId_&&_(30);et=e.parentActionId_,void 0!==e.error_&&(Ot.suppressReactionErrors=!0);it(e.prevAllowStateChanges_),xt(e.prevAllowStateReads_),Ct(),e.runAsAction_&&wt(e.prevDerivation_);"production"!==process.env.NODE_ENV&&e.notifySpy_&&qt({time:Date.now()-e.startTime_});Ot.suppressReactionErrors=!1}(r)}}(e,n,t,a||this,arguments)}return void 0===n&&(n=!1),"production"!==process.env.NODE_ENV&&(N(t)||_("`action` can only be invoked on functions"),"string"==typeof e&&e||_("actions should have valid names, got: '"+e+"'")),o.isMobxAction=!0,o.toString=function(){return t.toString()},nt&&(at.value=e,y(o,"name",at)),o}function rt(e){var t=Ot.allowStateChanges;return Ot.allowStateChanges=e,t}function it(e){Ot.allowStateChanges=e}var st=function(e){function t(t,n,a,o,r){var i;return void 0===a&&(a="production"!==process.env.NODE_ENV?"ObservableValue@"+A():"ObservableValue"),void 0===o&&(o=!0),void 0===r&&(r=ue.default),(i=e.call(this,a)||this).enhancer=void 0,i.name_=void 0,i.equals=void 0,i.hasUnreportedChange_=!1,i.interceptors_=void 0,i.changeListeners_=void 0,i.value_=void 0,i.dehancer=void 0,i.enhancer=n,i.name_=a,i.equals=r,i.value_=n(t,void 0,a),"production"!==process.env.NODE_ENV&&o&&Xt()&&Kt({type:"create",object:i,observableKind:"value",debugObjectName:i.name_,newValue:""+i.value_}),i}Z(t,e);var n=t.prototype;return n.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.set=function(e){var t=this.value_;if((e=this.prepareNewValue_(e))!==Ot.UNCHANGED){var n=Xt();"production"!==process.env.NODE_ENV&&n&&Wt({type:In,object:this,observableKind:"value",debugObjectName:this.name_,newValue:e,oldValue:t}),this.setNewValue_(e),"production"!==process.env.NODE_ENV&&n&&qt()}},n.prepareNewValue_=function(e){if(gt(this),xn(this)){var t=Rn(this,{object:this,type:In,newValue:e});if(!t)return Ot.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?Ot.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),An(this)&&Ln(this,{type:In,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return Mn(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:In,newValue:this.value_,oldValue:void 0}),On(this,e)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return J(this.get())},n[Symbol.toPrimitive]=function(){return this.valueOf()},t}(ie);function ct(e,t){return!!(e&t)}function ut(e,t,n){return n?e|=t:e&=~t,e}var lt=function(){function e(e){this.dependenciesState_=ht.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.observers_=new Set,this.diffValue_=0,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=ht.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new _t(null),this.name_=void 0,this.triggeredBy_=void 0,this.flags_=0,this.derivation=void 0,this.setter_=void 0,this.isTracing_=dt.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,e.get||_(31),this.derivation=e.get,this.name_=e.name||("production"!==process.env.NODE_ENV?"ComputedValue@"+A():"ComputedValue"),e.set&&(this.setter_=ot("production"!==process.env.NODE_ENV?this.name_+"-setter":"ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?ue.structural:ue.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){!function(e){if(e.lowestObserverState_!==ht.UP_TO_DATE_)return;e.lowestObserverState_=ht.POSSIBLY_STALE_,e.observers_.forEach((function(e){e.dependenciesState_===ht.UP_TO_DATE_&&(e.dependenciesState_=ht.POSSIBLY_STALE_,e.onBecomeStale_())}))}(this)},t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.get=function(){if(this.isComputing&&_(32,this.name_,this.derivation),0!==Ot.inBatch||0!==this.observers_.size||this.keepAlive_){if(Pt(this),vt(this)){var e=Ot.trackingContext;this.keepAlive_&&!e&&(Ot.trackingContext=this),this.trackAndCompute()&&function(e){if(e.lowestObserverState_===ht.STALE_)return;e.lowestObserverState_=ht.STALE_,e.observers_.forEach((function(t){t.dependenciesState_===ht.POSSIBLY_STALE_?(t.dependenciesState_=ht.STALE_,"production"!==process.env.NODE_ENV&&t.isTracing_!==dt.NONE&&Dt(t,e)):t.dependenciesState_===ht.UP_TO_DATE_&&(e.lowestObserverState_=ht.UP_TO_DATE_)}))}(this),Ot.trackingContext=e}}else vt(this)&&(this.warnAboutUntrackedRead_(),Et(),this.value_=this.computeValue_(!1),Ct());var t=this.value_;if(pt(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter&&_(33,this.name_),this.isRunningSetter=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter=!1}}else _(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===ht.NOT_TRACKING_,n=this.computeValue_(!0),a=t||pt(e)||pt(n)||!this.equals_(e,n);return a&&(this.value_=n,"production"!==process.env.NODE_ENV&&Xt()&&Kt({observableKind:"computed",debugObjectName:this.name_,object:this.scope_,type:"update",oldValue:e,newValue:n})),a},t.computeValue_=function(e){this.isComputing=!0;var t,n=rt(!1);if(e)t=ft(this,this.derivation,this.scope_);else if(!0===Ot.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(e){t=new _t(e)}return it(n),this.isComputing=!1,t},t.suspend_=function(){this.keepAlive_||(yt(this),this.value_=void 0,"production"!==process.env.NODE_ENV&&this.isTracing_!==dt.NONE&&console.log("[mobx.trace] Computed value '"+this.name_+"' was suspended and it will recompute on the next access."))},t.observe_=function(e,t){var n=this,a=!0,o=void 0;return rn((function(){var r=n.get();if(!a||t){var i=St();e({observableKind:"computed",debugObjectName:n.name_,type:In,object:n,newValue:r,oldValue:o}),wt(i)}a=!1,o=r}))},t.warnAboutUntrackedRead_=function(){"production"!==process.env.NODE_ENV&&(this.isTracing_!==dt.NONE&&console.log("[mobx.trace] Computed value '"+this.name_+"' is being read outside a reactive context. Doing a full recompute."),("boolean"==typeof this.requiresReaction_?this.requiresReaction_:Ot.computedRequiresReaction)&&console.warn("[mobx] Computed value '"+this.name_+"' is being read outside a reactive context. Doing a full recompute."))},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return J(this.get())},t[Symbol.toPrimitive]=function(){return this.valueOf()},q(e,[{key:"isComputing",get:function(){return ct(this.flags_,e.isComputingMask_)},set:function(t){this.flags_=ut(this.flags_,e.isComputingMask_,t)}},{key:"isRunningSetter",get:function(){return ct(this.flags_,e.isRunningSetterMask_)},set:function(t){this.flags_=ut(this.flags_,e.isRunningSetterMask_,t)}},{key:"isBeingObserved",get:function(){return ct(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=ut(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return ct(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=ut(this.flags_,e.isPendingUnobservationMask_,t)}}])}();lt.isComputingMask_=1,lt.isRunningSetterMask_=2,lt.isBeingObservedMask_=4,lt.isPendingUnobservationMask_=8;var ht,dt,mt=U("ComputedValue",lt);!function(e){e[e.NOT_TRACKING_=-1]="NOT_TRACKING_",e[e.UP_TO_DATE_=0]="UP_TO_DATE_",e[e.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",e[e.STALE_=2]="STALE_"}(ht||(ht={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(dt||(dt={}));var _t=function(e){this.cause=void 0,this.cause=e};function pt(e){return e instanceof _t}function vt(e){switch(e.dependenciesState_){case ht.UP_TO_DATE_:return!1;case ht.NOT_TRACKING_:case ht.STALE_:return!0;case ht.POSSIBLY_STALE_:for(var t=jt(!0),n=St(),a=e.observing_,o=a.length,r=0;r<o;r++){var i=a[r];if(mt(i)){if(Ot.disableErrorBoundaries)i.get();else try{i.get()}catch(e){return wt(n),xt(t),!0}if(e.dependenciesState_===ht.STALE_)return wt(n),xt(t),!0}}return Mt(e),wt(n),xt(t),!1}}function gt(e){if("production"!==process.env.NODE_ENV){var t=e.observers_.size>0;Ot.allowStateChanges||!t&&"always"!==Ot.enforceActions||console.warn("[MobX] "+(Ot.enforceActions?"Since strict-mode is enabled, changing (observed) observable values without using an action is not allowed. Tried to modify: ":"Side effects like changing state are not allowed at this point. Are you trying to modify state from, for example, a computed value or the render function of a React component? You can wrap side effects in 'runInAction' (or decorate functions with 'action') if needed. Tried to modify: ")+e.name_)}}function ft(e,t,n){var a=jt(!0);Mt(e),e.newObserving_=new Array(0===e.runId_?100:e.observing_.length),e.unboundDepsCount_=0,e.runId_=++Ot.runId;var o,r=Ot.trackingDerivation;if(Ot.trackingDerivation=e,Ot.inBatch++,!0===Ot.disableErrorBoundaries)o=t.call(n);else try{o=t.call(n)}catch(e){o=new _t(e)}return Ot.inBatch--,Ot.trackingDerivation=r,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,a=ht.UP_TO_DATE_,o=0,r=e.unboundDepsCount_,i=0;i<r;i++){var s=n[i];0===s.diffValue_&&(s.diffValue_=1,o!==i&&(n[o]=s),o++),s.dependenciesState_>a&&(a=s.dependenciesState_)}n.length=o,e.newObserving_=null,r=t.length;for(;r--;){var c=t[r];0===c.diffValue_&&Nt(c,e),c.diffValue_=0}for(;o--;){var u=n[o];1===u.diffValue_&&(u.diffValue_=0,Lt(u,e))}a!==ht.UP_TO_DATE_&&(e.dependenciesState_=a,e.onBecomeStale_())}(e),function(e){if("production"===process.env.NODE_ENV)return;if(0!==e.observing_.length)return;("boolean"==typeof e.requiresObservable_?e.requiresObservable_:Ot.reactionRequiresObservable)&&console.warn("[mobx] Derivation '"+e.name_+"' is created/updated without reading any observable value.")}(e),xt(a),o}function yt(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)Nt(t[n],e);e.dependenciesState_=ht.NOT_TRACKING_}function bt(e){var t=St();try{return e()}finally{wt(t)}}function St(){var e=Ot.trackingDerivation;return Ot.trackingDerivation=null,e}function wt(e){Ot.trackingDerivation=e}function jt(e){var t=Ot.allowStateReads;return Ot.allowStateReads=e,t}function xt(e){Ot.allowStateReads=e}function Mt(e){if(e.dependenciesState_!==ht.UP_TO_DATE_){e.dependenciesState_=ht.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=ht.UP_TO_DATE_}}var Rt=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},At=!0,Ot=function(){var e=v();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(At=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new Rt).version&&(At=!1),At?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new Rt):(setTimeout((function(){_(35)}),1),new Rt)}();function Lt(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function Nt(e,t){e.observers_.delete(t),0===e.observers_.size&&It(e)}function It(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,Ot.pendingUnobservations.push(e))}function Et(){Ot.inBatch++}function Ct(){if(0==--Ot.inBatch){Tt();for(var e=Ot.pendingUnobservations,t=0;t<e.length;t++){var n=e[t];n.isPendingUnobservation=!1,0===n.observers_.size&&(n.isBeingObserved&&(n.isBeingObserved=!1,n.onBUO()),n instanceof lt&&n.suspend_())}Ot.pendingUnobservations=[]}}function Pt(e){!function(e){"production"!==process.env.NODE_ENV&&!Ot.allowStateReads&&Ot.observableRequiresReaction&&console.warn("[mobx] Observable '"+e.name_+"' being read outside a reactive context.")}(e);var t=Ot.trackingDerivation;return null!==t?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved&&Ot.trackingContext&&(e.isBeingObserved=!0,e.onBO())),e.isBeingObserved):(0===e.observers_.size&&Ot.inBatch>0&&It(e),!1)}function kt(e){e.lowestObserverState_!==ht.STALE_&&(e.lowestObserverState_=ht.STALE_,e.observers_.forEach((function(t){t.dependenciesState_===ht.UP_TO_DATE_&&("production"!==process.env.NODE_ENV&&t.isTracing_!==dt.NONE&&Dt(t,e),t.onBecomeStale_()),t.dependenciesState_=ht.STALE_})))}function Dt(e,t){if(console.log("[mobx.trace] '"+e.name_+"' is invalidated due to a change in: '"+t.name_+"'"),e.isTracing_===dt.BREAK){var n=[];Ut(dn(va(e,a)),n,1),new Function("debugger;\n/*\nTracing '"+e.name_+"'\n\nYou are entering this break point because derivation '"+e.name_+"' is being traced and '"+t.name_+"' is now forcing it to update.\nJust follow the stacktrace you should now see in the devtools to see precisely what piece of your code is causing this update\nThe stackframe you are looking for is at least ~6-8 stack-frames up.\n\n"+(e instanceof lt?e.derivation.toString().replace(/[*]\//g,"/"):"")+"\n\nThe dependencies for this derivation are:\n\n"+n.join("\n")+"\n*/\n ")()}var a}function Ut(e,t,n){t.length>=1e3?t.push("(and many more)"):(t.push(""+"\t".repeat(n-1)+e.name),e.dependencies&&e.dependencies.forEach((function(e){return Ut(e,t,n+1)})))}var Vt=function(){function e(e,t,n,a){void 0===e&&(e="production"!==process.env.NODE_ENV?"Reaction@"+A():"Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=ht.NOT_TRACKING_,this.diffValue_=0,this.runId_=0,this.unboundDepsCount_=0,this.isDisposed_=!1,this.isScheduled_=!1,this.isTrackPending_=!1,this.isRunning_=!1,this.isTracing_=dt.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=a}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled_||(this.isScheduled_=!0,Ot.pendingReactions.push(this),Tt())},t.isScheduled=function(){return this.isScheduled_},t.runReaction_=function(){if(!this.isDisposed_){Et(),this.isScheduled_=!1;var e=Ot.trackingContext;if(Ot.trackingContext=this,vt(this)){this.isTrackPending_=!0;try{this.onInvalidate_(),"production"!==process.env.NODE_ENV&&this.isTrackPending_&&Xt()&&Kt({name:this.name_,type:"scheduled-reaction"})}catch(e){this.reportExceptionInDerivation_(e)}}Ot.trackingContext=e,Ct()}},t.track=function(e){if(!this.isDisposed_){Et();var t,n=Xt();"production"!==process.env.NODE_ENV&&n&&(t=Date.now(),Wt({name:this.name_,type:"reaction"})),this.isRunning_=!0;var a=Ot.trackingContext;Ot.trackingContext=this;var o=ft(this,e,void 0);Ot.trackingContext=a,this.isRunning_=!1,this.isTrackPending_=!1,this.isDisposed_&&yt(this),pt(o)&&this.reportExceptionInDerivation_(o.cause),"production"!==process.env.NODE_ENV&&n&&qt({time:Date.now()-t}),Ct()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)this.errorHandler_(e,this);else{if(Ot.disableErrorBoundaries)throw e;var n="production"!==process.env.NODE_ENV?"[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '"+this+"'":"[mobx] uncaught error in '"+this+"'";Ot.suppressReactionErrors?"production"!==process.env.NODE_ENV&&console.warn("[mobx] (error in reaction '"+this.name_+"' suppressed, fix error of causing action below)"):console.error(n,e),"production"!==process.env.NODE_ENV&&Xt()&&Kt({type:"error",name:this.name_,message:n,error:""+e}),Ot.globalReactionErrorHandlers.forEach((function(n){return n(e,t)}))}},t.dispose=function(){this.isDisposed_||(this.isDisposed_=!0,this.isRunning_||(Et(),yt(this),Ct()))},t.getDisposer_=function(e){var t=this,n=function n(){t.dispose(),null==e||null==e.removeEventListener||e.removeEventListener("abort",n)};return null==e||null==e.addEventListener||e.addEventListener("abort",n),n[re]=this,n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1),function(){if("production"===process.env.NODE_ENV)return;for(var e=!1,t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];"boolean"==typeof n[n.length-1]&&(e=n.pop());var o=function(e){switch(e.length){case 0:return Ot.trackingDerivation;case 1:return va(e[0]);case 2:return va(e[0],e[1])}}(n);if(!o)return _("'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly");o.isTracing_===dt.NONE&&console.log("[mobx.trace] '"+o.name_+"' tracing enabled");o.isTracing_=e?dt.BREAK:dt.LOG}(this,e)},e}(),Bt=100,Gt=function(e){return e()};function Tt(){Ot.inBatch>0||Ot.isRunningReactions||Gt(Ft)}function Ft(){Ot.isRunningReactions=!0;for(var e=Ot.pendingReactions,t=0;e.length>0;){++t===Bt&&(console.error("production"!==process.env.NODE_ENV?"Reaction doesn't converge to a stable state after "+Bt+" iterations. Probably there is a cycle in the reactive function: "+e[0]:"[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),a=0,o=n.length;a<o;a++)n[a].runReaction_()}Ot.isRunningReactions=!1}var Jt=U("Reaction",Vt);function Xt(){return"production"!==process.env.NODE_ENV&&!!Ot.spyListeners.length}function Kt(e){if("production"!==process.env.NODE_ENV&&Ot.spyListeners.length)for(var t=Ot.spyListeners,n=0,a=t.length;n<a;n++)t[n](e)}function Wt(e){"production"!==process.env.NODE_ENV&&Kt(Y({},e,{spyReportStart:!0}))}var Ht={type:"report-end",spyReportEnd:!0};function qt(e){"production"!==process.env.NODE_ENV&&Kt(e?Y({},e,{type:"report-end",spyReportEnd:!0}):Ht)}var zt="action",Yt="autoAction",Zt=_e(zt),$t=_e("action.bound",{bound:!0}),Qt=_e(Yt,{autoAction:!0}),en=_e("autoAction.bound",{autoAction:!0,bound:!0});function tn(e){return function(t,n){return N(t)?ot(t.name||"<unnamed action>",t,e):N(n)?ot(t,n,e):ae(n)?(e?Qt:Zt).decorate_20223_(t,n):I(n)?ne(t,n,e?Qt:Zt):I(t)?te(_e(e?Yt:zt,{name:t,autoAction:e})):void("production"!==process.env.NODE_ENV&&_("Invalid arguments for `action`"))}}var nn=tn(!1);Object.assign(nn,Zt);var an=tn(!0);function on(e){return N(e)&&!0===e.isMobxAction}function rn(e,t){var n,a,o,r;void 0===t&&(t=w),"production"!==process.env.NODE_ENV&&(N(e)||_("Autorun expects a function as first argument"),on(e)&&_("Autorun does not accept actions since actions are untrackable"));var i,s=null!=(n=null==(a=t)?void 0:a.name)?n:"production"!==process.env.NODE_ENV?e.name||"Autorun@"+A():"Autorun";if(!t.scheduler&&!t.delay)i=new Vt(s,(function(){this.track(l)}),t.onError,t.requiresObservable);else{var c=function(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:sn}(t),u=!1;i=new Vt(s,(function(){u||(u=!0,c((function(){u=!1,i.isDisposed_||i.track(l)})))}),t.onError,t.requiresObservable)}function l(){e(i)}return null!=(o=t)&&null!=(o=o.signal)&&o.aborted||i.schedule_(),i.getDisposer_(null==(r=t)?void 0:r.signal)}Object.assign(an,Qt),nn.bound=te($t),an.bound=te(en);var sn=function(e){return e()};var cn="onBO",un="onBUO";function ln(e,t,n){return hn(un,e,t,n)}function hn(e,t,n,a){var o="function"==typeof a?va(t,n):va(t),r=N(a)?a:n,i=e+"L";return o[i]?o[i].add(r):o[i]=new Set([r]),function(){var e=o[i];e&&(e.delete(r),0===e.size&&delete o[i])}}function dn(e){var t,n={name:e.name_};return e.observing_&&e.observing_.length>0&&(n.dependencies=(t=e.observing_,Array.from(new Set(t))).map(dn)),n}var mn=0;function _n(){this.message="FLOW_CANCELLED"}_n.prototype=Object.create(Error.prototype);var pn=ye("flow"),vn=ye("flow.bound",{bound:!0}),gn=Object.assign((function(e,t){if(ae(t))return pn.decorate_20223_(e,t);if(I(t))return ne(e,t,pn);"production"!==process.env.NODE_ENV&&1!==arguments.length&&_("Flow expects single argument with generator function");var n=e,a=n.name||"<unnamed flow>",o=function(){var e,t=arguments,o=++mn,r=nn(a+" - runid: "+o+" - init",n).apply(this,t),i=void 0,s=new Promise((function(t,n){var s=0;function c(e){var t;i=void 0;try{t=nn(a+" - runid: "+o+" - yield "+s++,r.next).call(r,e)}catch(e){return n(e)}l(t)}function u(e){var t;i=void 0;try{t=nn(a+" - runid: "+o+" - yield "+s++,r.throw).call(r,e)}catch(e){return n(e)}l(t)}function l(e){if(!N(null==e?void 0:e.then))return e.done?t(e.value):(i=Promise.resolve(e.value)).then(c,u);e.then(l,n)}e=n,c(void 0)}));return s.cancel=nn(a+" - runid: "+o+" - cancel",(function(){try{i&&fn(i);var t=r.return(void 0),n=Promise.resolve(t.value);n.then(L,L),fn(n),e(new _n)}catch(t){e(t)}})),s};return o.isMobXFlow=!0,o}),pn);function fn(e){N(e.cancel)&&e.cancel()}function yn(e){return!0===(null==e?void 0:e.isMobXFlow)}function bn(e){return"production"!==process.env.NODE_ENV&&1!==arguments.length&&_("isObservable expects only 1 argument. Use isObservableProp to inspect the observability of a property"),function(e,t){return!!e&&(void 0!==t?"production"!==process.env.NODE_ENV&&(Wn(e)||Tn(e))?_("isObservable(object, propertyName) is not supported for arrays and maps. Use map.has or array.length instead."):!!na(e)&&e[re].values_.has(t):na(e)||!!e[re]||se(e)||Jt(e)||mt(e))}(e)}function Sn(e,t){void 0===t&&(t=void 0),Et();try{return e.apply(t)}finally{Ct()}}function wn(e){return e[re]}gn.bound=te(vn);var jn={has:function(e,t){return"production"!==process.env.NODE_ENV&&Ot.trackingDerivation&&R("detect new properties using the 'in' operator. Use 'has' from 'mobx' instead."),wn(e).has_(t)},get:function(e,t){return wn(e).get_(t)},set:function(e,t,n){var a;return!!I(t)&&("production"===process.env.NODE_ENV||wn(e).values_.has(t)||R("add a new observable property through direct assignment. Use 'set' from 'mobx' instead."),null==(a=wn(e).set_(t,n,!0))||a)},deleteProperty:function(e,t){var n;return"production"!==process.env.NODE_ENV&&R("delete properties from an observable object. Use 'remove' from 'mobx' instead."),!!I(t)&&(null==(n=wn(e).delete_(t,!0))||n)},defineProperty:function(e,t,n){var a;return"production"!==process.env.NODE_ENV&&R("define property on an observable object. Use 'defineProperty' from 'mobx' instead."),null==(a=wn(e).defineProperty_(t,n))||a},ownKeys:function(e){return"production"!==process.env.NODE_ENV&&Ot.trackingDerivation&&R("iterate keys to detect added / removed properties. Use 'keys' from 'mobx' instead."),wn(e).ownKeys_()},preventExtensions:function(e){_(13)}};function xn(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function Mn(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),O((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function Rn(e,t){var n=St();try{for(var a=[].concat(e.interceptors_||[]),o=0,r=a.length;o<r&&((t=a[o](t))&&!t.type&&_(14),t);o++);return t}finally{wt(n)}}function An(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function On(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),O((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function Ln(e,t){var n=St(),a=e.changeListeners_;if(a){for(var o=0,r=(a=a.slice()).length;o<r;o++)a[o](t);wt(n)}}var Nn="splice",In="update",En={get:function(e,t){var n=e[re];return t===re?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?X(kn,t)?kn[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var a=e[re];return"length"===t&&a.setArrayLength_(n),"symbol"==typeof t||isNaN(t)?e[t]=n:a.set_(parseInt(t),n),!0},preventExtensions:function(){_(15)}},Cn=function(){function e(e,t,n,a){void 0===e&&(e="production"!==process.env.NODE_ENV?"ObservableArray@"+A():"ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=n,this.legacyMode_=a,this.atom_=new ie(e),this.enhancer_=function(n,a){return t(n,a,"production"!==process.env.NODE_ENV?e+"[..]":"ObservableArray[..]")}}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.dehanceValues_=function(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e},t.intercept_=function(e){return Mn(this,e)},t.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),On(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!=typeof e||isNaN(e)||e<0)&&_("Out of range: "+e);var t=this.values_.length;if(e!==t)if(e>t){for(var n=new Array(e-t),a=0;a<e-t;a++)n[a]=void 0;this.spliceWithArray_(t,0,n)}else this.spliceWithArray_(e,t-e)},t.updateArrayLength_=function(e,t){e!==this.lastKnownLength_&&_(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&_a(e+t+1)},t.spliceWithArray_=function(e,t,n){var a=this;gt(this.atom_);var o=this.values_.length;if(void 0===e?e=0:e>o?e=o:e<0&&(e=Math.max(0,o+e)),t=1===arguments.length?o-e:null==t?0:Math.max(0,Math.min(t,o-e)),void 0===n&&(n=S),xn(this)){var r=Rn(this,{object:this.proxy_,type:Nn,index:e,removedCount:t,added:n});if(!r)return S;t=r.removedCount,n=r.added}if(n=0===n.length?n:n.map((function(e){return a.enhancer_(e,void 0)})),this.legacyMode_||"production"!==process.env.NODE_ENV){var i=n.length-t;this.updateArrayLength_(o,i)}var s=this.spliceItemsIntoValues_(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice_(e,n,s),this.dehanceValues_(s)},t.spliceItemsIntoValues_=function(e,t,n){var a;if(n.length<1e4)return(a=this.values_).splice.apply(a,[e,t].concat(n));var o=this.values_.slice(e,e+t),r=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var i=0;i<n.length;i++)this.values_[e+i]=n[i];for(var s=0;s<r.length;s++)this.values_[e+n.length+s]=r[s];return o},t.notifyArrayChildUpdate_=function(e,t,n){var a=!this.owned_&&Xt(),o=An(this),r=o||a?{observableKind:"array",object:this.proxy_,type:In,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;"production"!==process.env.NODE_ENV&&a&&Wt(r),this.atom_.reportChanged(),o&&Ln(this,r),"production"!==process.env.NODE_ENV&&a&&qt()},t.notifyArraySplice_=function(e,t,n){var a=!this.owned_&&Xt(),o=An(this),r=o||a?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:Nn,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;"production"!==process.env.NODE_ENV&&a&&Wt(r),this.atom_.reportChanged(),o&&Ln(this,r),"production"!==process.env.NODE_ENV&&a&&qt()},t.get_=function(e){if(!(this.legacyMode_&&e>=this.values_.length))return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e]);console.warn("production"!==process.env.NODE_ENV?"[mobx.array] Attempt to read an array index ("+e+") that is out of bounds ("+this.values_.length+"). Please check length first. Out of bound indices will not be tracked by MobX":"[mobx] Out of bounds read: "+e)},t.set_=function(e,t){var n=this.values_;if(this.legacyMode_&&e>n.length&&_(17,e,n.length),e<n.length){gt(this.atom_);var a=n[e];if(xn(this)){var o=Rn(this,{type:In,object:this.proxy_,index:e,newValue:t});if(!o)return;t=o.newValue}(t=this.enhancer_(t,a))!==a&&(n[e]=t,this.notifyArrayChildUpdate_(e,t,a))}else{for(var r=new Array(e+1-n.length),i=0;i<r.length-1;i++)r[i]=void 0;r[r.length-1]=t,this.spliceWithArray_(n.length,0,r)}},e}();function Pn(e,t,n,a){return void 0===n&&(n="production"!==process.env.NODE_ENV?"ObservableArray@"+A():"ObservableArray"),void 0===a&&(a=!1),M(),ya((function(){var o=new Cn(n,t,a,!1);D(o.values_,re,o);var r=new Proxy(o.values_,En);return o.proxy_=r,e&&e.length&&o.spliceWithArray_(0,0,e),r}))}var kn={clear:function(){return this.splice(0)},replace:function(e){var t=this[re];return t.spliceWithArray_(0,t.values_.length,e)},toJSON:function(){return this.slice()},splice:function(e,t){for(var n=arguments.length,a=new Array(n>2?n-2:0),o=2;o<n;o++)a[o-2]=arguments[o];var r=this[re];switch(arguments.length){case 0:return[];case 1:return r.spliceWithArray_(e);case 2:return r.spliceWithArray_(e,t)}return r.spliceWithArray_(e,t,a)},spliceWithArray:function(e,t,n){return this[re].spliceWithArray_(e,t,n)},push:function(){for(var e=this[re],t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];return e.spliceWithArray_(e.values_.length,0,n),e.values_.length},pop:function(){return this.splice(Math.max(this[re].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[re],t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];return e.spliceWithArray_(0,0,n),e.values_.length},reverse:function(){return Ot.trackingDerivation&&_(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){Ot.trackingDerivation&&_(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[re],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function Dn(e,t){"function"==typeof Array.prototype[e]&&(kn[e]=t(e))}function Un(e){return function(){var t=this[re];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function Vn(e){return function(t,n){var a=this,o=this[re];return o.atom_.reportObserved(),o.dehanceValues_(o.values_)[e]((function(e,o){return t.call(n,e,o,a)}))}}function Bn(e){return function(){var t=this,n=this[re];n.atom_.reportObserved();var a=n.dehanceValues_(n.values_),o=arguments[0];return arguments[0]=function(e,n,a){return o(e,n,a,t)},a[e].apply(a,arguments)}}Dn("at",Un),Dn("concat",Un),Dn("flat",Un),Dn("includes",Un),Dn("indexOf",Un),Dn("join",Un),Dn("lastIndexOf",Un),Dn("slice",Un),Dn("toString",Un),Dn("toLocaleString",Un),Dn("toSorted",Un),Dn("toSpliced",Un),Dn("with",Un),Dn("every",Vn),Dn("filter",Vn),Dn("find",Vn),Dn("findIndex",Vn),Dn("findLast",Vn),Dn("findLastIndex",Vn),Dn("flatMap",Vn),Dn("forEach",Vn),Dn("map",Vn),Dn("some",Vn),Dn("toReversed",Vn),Dn("reduce",Bn),Dn("reduceRight",Bn);var Gn=U("ObservableArrayAdministration",Cn);function Tn(e){return E(e)&&Gn(e[re])}var Fn={},Jn="add",Xn="delete",Kn=function(){function e(e,t,n){var a=this;void 0===t&&(t=le),void 0===n&&(n="production"!==process.env.NODE_ENV?"ObservableMap@"+A():"ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[re]=Fn,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=t,this.name_=n,N(Map)||_(18),ya((function(){a.keysAtom_=ce("production"!==process.env.NODE_ENV?a.name_+".keys()":"ObservableMap.keys()"),a.data_=new Map,a.hasMap_=new Map,e&&a.merge(e)}))}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!Ot.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var a=n=new st(this.has_(e),he,"production"!==process.env.NODE_ENV?this.name_+"."+F(e)+"?":"ObservableMap.key?",!1);this.hasMap_.set(e,a),ln(a,(function(){return t.hasMap_.delete(e)}))}return n.get()},t.set=function(e,t){var n=this.has_(e);if(xn(this)){var a=Rn(this,{type:n?In:Jn,object:this,newValue:t,name:e});if(!a)return this;t=a.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},t.delete=function(e){var t=this;if((gt(this.keysAtom_),xn(this))&&!Rn(this,{type:Xn,object:this,name:e}))return!1;if(this.has_(e)){var n=Xt(),a=An(this),o=a||n?{observableKind:"map",debugObjectName:this.name_,type:Xn,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return"production"!==process.env.NODE_ENV&&n&&Wt(o),Sn((function(){var n;t.keysAtom_.reportChanged(),null==(n=t.hasMap_.get(e))||n.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)})),a&&Ln(this,o),"production"!==process.env.NODE_ENV&&n&&qt(),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==Ot.UNCHANGED){var a=Xt(),o=An(this),r=o||a?{observableKind:"map",debugObjectName:this.name_,type:In,object:this,oldValue:n.value_,name:e,newValue:t}:null;"production"!==process.env.NODE_ENV&&a&&Wt(r),n.setNewValue_(t),o&&Ln(this,r),"production"!==process.env.NODE_ENV&&a&&qt()}},t.addValue_=function(e,t){var n=this;gt(this.keysAtom_),Sn((function(){var a,o=new st(t,n.enhancer_,"production"!==process.env.NODE_ENV?n.name_+"."+F(e):"ObservableMap.key",!1);n.data_.set(e,o),t=o.value_,null==(a=n.hasMap_.get(e))||a.setNewValue_(!0),n.keysAtom_.reportChanged()}));var a=Xt(),o=An(this),r=o||a?{observableKind:"map",debugObjectName:this.name_,type:Jn,object:this,name:e,newValue:t}:null;"production"!==process.env.NODE_ENV&&a&&Wt(r),o&&Ln(this,r),"production"!==process.env.NODE_ENV&&a&&qt()},t.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var e=this,t=this.keys();return xa({next:function(){var n=t.next(),a=n.done,o=n.value;return{done:a,value:a?void 0:e.get(o)}}})},t.entries=function(){var e=this,t=this.keys();return xa({next:function(){var n=t.next(),a=n.done,o=n.value;return{done:a,value:a?void 0:[o,e.get(o)]}}})},t[Symbol.iterator]=function(){return this.entries()},t.forEach=function(e,t){for(var n,a=z(this);!(n=a()).done;){var o=n.value,r=o[0],i=o[1];e.call(t,i,r,this)}},t.merge=function(e){var t=this;return Wn(e)&&(e=new Map(e)),Sn((function(){var n,a,o;C(e)?function(e){var t=Object.keys(e);if(!G)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter((function(t){return b.propertyIsEnumerable.call(e,t)}))):t}(e).forEach((function(n){return t.set(n,e[n])})):Array.isArray(e)?e.forEach((function(e){var n=e[0],a=e[1];return t.set(n,a)})):V(e)?(n=e,a=Object.getPrototypeOf(n),o=Object.getPrototypeOf(a),null!==Object.getPrototypeOf(o)&&_(19,e),e.forEach((function(e,n){return t.set(n,e)}))):null!=e&&_(20,e)})),this},t.clear=function(){var e=this;Sn((function(){bt((function(){for(var t,n=z(e.keys());!(t=n()).done;){var a=t.value;e.delete(a)}}))}))},t.replace=function(e){var t=this;return Sn((function(){for(var n,a=function(e){if(V(e)||Wn(e))return e;if(Array.isArray(e))return new Map(e);if(C(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return _(21,e)}(e),o=new Map,r=!1,i=z(t.data_.keys());!(n=i()).done;){var s=n.value;if(!a.has(s))if(t.delete(s))r=!0;else{var c=t.data_.get(s);o.set(s,c)}}for(var u,l=z(a.entries());!(u=l()).done;){var h=u.value,d=h[0],m=h[1],p=t.data_.has(d);if(t.set(d,m),t.data_.has(d)){var v=t.data_.get(d);o.set(d,v),p||(r=!0)}}if(!r)if(t.data_.size!==o.size)t.keysAtom_.reportChanged();else for(var g=t.data_.keys(),f=o.keys(),y=g.next(),b=f.next();!y.done;){if(y.value!==b.value){t.keysAtom_.reportChanged();break}y=g.next(),b=f.next()}t.data_=o})),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return"production"!==process.env.NODE_ENV&&!0===t&&_("`observe` doesn't support fireImmediately=true in combination with maps."),On(this,e)},t.intercept_=function(e){return Mn(this,e)},q(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])}(),Wn=U("ObservableMap",Kn);var Hn={},qn=function(){function e(e,t,n){var a=this;void 0===t&&(t=le),void 0===n&&(n="production"!==process.env.NODE_ENV?"ObservableSet@"+A():"ObservableSet"),this.name_=void 0,this[re]=Hn,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=n,N(Set)||_(22),this.enhancer_=function(e,a){return t(e,a,n)},ya((function(){a.atom_=ce(a.name_),e&&a.replace(e)}))}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.clear=function(){var e=this;Sn((function(){bt((function(){for(var t,n=z(e.data_.values());!(t=n()).done;){var a=t.value;e.delete(a)}}))}))},t.forEach=function(e,t){for(var n,a=z(this);!(n=a()).done;){var o=n.value;e.call(t,o,o,this)}},t.add=function(e){var t=this;if((gt(this.atom_),xn(this))&&!Rn(this,{type:Jn,object:this,newValue:e}))return this;if(!this.has(e)){Sn((function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()}));var n="production"!==process.env.NODE_ENV&&Xt(),a=An(this),o=a||n?{observableKind:"set",debugObjectName:this.name_,type:Jn,object:this,newValue:e}:null;n&&"production"!==process.env.NODE_ENV&&Wt(o),a&&Ln(this,o),n&&"production"!==process.env.NODE_ENV&&qt()}return this},t.delete=function(e){var t=this;if(xn(this)&&!Rn(this,{type:Xn,object:this,oldValue:e}))return!1;if(this.has(e)){var n="production"!==process.env.NODE_ENV&&Xt(),a=An(this),o=a||n?{observableKind:"set",debugObjectName:this.name_,type:Xn,object:this,oldValue:e}:null;return n&&"production"!==process.env.NODE_ENV&&Wt(o),Sn((function(){t.atom_.reportChanged(),t.data_.delete(e)})),a&&Ln(this,o),n&&"production"!==process.env.NODE_ENV&&qt(),!0}return!1},t.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},t.entries=function(){var e=0,t=Array.from(this.keys()),n=Array.from(this.values());return xa({next:function(){var a=e;return e+=1,a<n.length?{value:[t[a],n[a]],done:!1}:{done:!0}}})},t.keys=function(){return this.values()},t.values=function(){this.atom_.reportObserved();var e=this,t=0,n=Array.from(this.data_.values());return xa({next:function(){return t<n.length?{value:e.dehanceValue_(n[t++]),done:!1}:{done:!0}}})},t.intersection=function(e){return B(e)?e.intersection(this):new Set(this).intersection(e)},t.union=function(e){return B(e)?e.union(this):new Set(this).union(e)},t.difference=function(e){return new Set(this).difference(e)},t.symmetricDifference=function(e){return B(e)?e.symmetricDifference(this):new Set(this).symmetricDifference(e)},t.isSubsetOf=function(e){return new Set(this).isSubsetOf(e)},t.isSupersetOf=function(e){return new Set(this).isSupersetOf(e)},t.isDisjointFrom=function(e){return B(e)?e.isDisjointFrom(this):new Set(this).isDisjointFrom(e)},t.replace=function(e){var t=this;return zn(e)&&(e=new Set(e)),Sn((function(){Array.isArray(e)||B(e)?(t.clear(),e.forEach((function(e){return t.add(e)}))):null!=e&&_("Cannot initialize set from "+e)})),this},t.observe_=function(e,t){return"production"!==process.env.NODE_ENV&&!0===t&&_("`observe` doesn't support fireImmediately=true in combination with sets."),On(this,e)},t.intercept_=function(e){return Mn(this,e)},t.toJSON=function(){return Array.from(this)},t.toString=function(){return"[object ObservableSet]"},t[Symbol.iterator]=function(){return this.values()},q(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])}(),zn=U("ObservableSet",qn),Yn=Object.create(null),Zn="remove",$n=function(){function e(e,t,n,a){void 0===t&&(t=new Map),void 0===a&&(a=Ce),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=e,this.values_=t,this.name_=n,this.defaultAnnotation_=a,this.keysAtom_=new ie("production"!==process.env.NODE_ENV?this.name_+".keys":"ObservableObject.keys"),this.isPlainObject_=C(this.target_),"production"===process.env.NODE_ENV||Ra(this.defaultAnnotation_)||_("defaultAnnotation must be valid annotation"),"production"!==process.env.NODE_ENV&&(this.appliedAnnotations_={})}var t=e.prototype;return t.getObservablePropValue_=function(e){return this.values_.get(e).get()},t.setObservablePropValue_=function(e,t){var n=this.values_.get(e);if(n instanceof lt)return n.set(t),!0;if(xn(this)){var a=Rn(this,{type:In,object:this.proxy_||this.target_,name:e,newValue:t});if(!a)return null;t=a.newValue}if((t=n.prepareNewValue_(t))!==Ot.UNCHANGED){var o=An(this),r="production"!==process.env.NODE_ENV&&Xt(),i=o||r?{type:In,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;"production"!==process.env.NODE_ENV&&r&&Wt(i),n.setNewValue_(t),o&&Ln(this,i),"production"!==process.env.NODE_ENV&&r&&qt()}return!0},t.get_=function(e){return Ot.trackingDerivation&&!X(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,n){return void 0===n&&(n=!1),X(this.target_,e)?this.values_.has(e)?this.setObservablePropValue_(e,t):n?Reflect.set(this.target_,e,t):(this.target_[e]=t,!0):this.extend_(e,{value:t,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,n)},t.has_=function(e){if(!Ot.trackingDerivation)return e in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var t=this.pendingKeys_.get(e);return t||(t=new st(e in this.target_,he,"production"!==process.env.NODE_ENV?this.name_+"."+F(e)+"?":"ObservableObject.key?",!1),this.pendingKeys_.set(e,t)),t.get()},t.make_=function(e,t){if(!0===t&&(t=this.defaultAnnotation_),!1!==t){if(oa(this,t,e),!(e in this.target_)){var n;if(null!=(n=this.target_[ee])&&n[e])return;_(1,t.annotationType_,this.name_+"."+e.toString())}for(var a=this.target_;a&&a!==b;){var o=f(a,e);if(o){var r=t.make_(this,e,o,a);if(0===r)return;if(1===r)break}a=Object.getPrototypeOf(a)}aa(this,t,e)}},t.extend_=function(e,t,n,a){if(void 0===a&&(a=!1),!0===n&&(n=this.defaultAnnotation_),!1===n)return this.defineProperty_(e,t,a);oa(this,n,e);var o=n.extend_(this,e,t,a);return o&&aa(this,n,e),o},t.defineProperty_=function(e,t,n){void 0===n&&(n=!1),gt(this.keysAtom_);try{Et();var a=this.delete_(e);if(!a)return a;if(xn(this)){var o=Rn(this,{object:this.proxy_||this.target_,name:e,type:Jn,newValue:t.value});if(!o)return null;var r=o.newValue;t.value!==r&&(t=Y({},t,{value:r}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else y(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{Ct()}return!0},t.defineObservableProperty_=function(e,t,n,a){void 0===a&&(a=!1),gt(this.keysAtom_);try{Et();var o=this.delete_(e);if(!o)return o;if(xn(this)){var r=Rn(this,{object:this.proxy_||this.target_,name:e,type:Jn,newValue:t});if(!r)return null;t=r.newValue}var i=ta(e),s={configurable:!Ot.safeDescriptors||this.isPlainObject_,enumerable:!0,get:i.get,set:i.set};if(a){if(!Reflect.defineProperty(this.target_,e,s))return!1}else y(this.target_,e,s);var c=new st(t,n,"production"!==process.env.NODE_ENV?this.name_+"."+e.toString():"ObservableObject.key",!1);this.values_.set(e,c),this.notifyPropertyAddition_(e,c.value_)}finally{Ct()}return!0},t.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1),gt(this.keysAtom_);try{Et();var a=this.delete_(e);if(!a)return a;if(xn(this))if(!Rn(this,{object:this.proxy_||this.target_,name:e,type:Jn,newValue:void 0}))return null;t.name||(t.name="production"!==process.env.NODE_ENV?this.name_+"."+e.toString():"ObservableObject.key"),t.context=this.proxy_||this.target_;var o=ta(e),r={configurable:!Ot.safeDescriptors||this.isPlainObject_,enumerable:!1,get:o.get,set:o.set};if(n){if(!Reflect.defineProperty(this.target_,e,r))return!1}else y(this.target_,e,r);this.values_.set(e,new lt(t)),this.notifyPropertyAddition_(e,void 0)}finally{Ct()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),gt(this.keysAtom_),!X(this.target_,e))return!0;if(xn(this)&&!Rn(this,{object:this.proxy_||this.target_,name:e,type:Zn}))return null;try{var n;Et();var a,o=An(this),r="production"!==process.env.NODE_ENV&&Xt(),i=this.values_.get(e),s=void 0;if(!i&&(o||r))s=null==(a=f(this.target_,e))?void 0:a.value;if(t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if("production"!==process.env.NODE_ENV&&delete this.appliedAnnotations_[e],i&&(this.values_.delete(e),i instanceof st&&(s=i.value_),kt(i)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(e in this.target_),o||r){var c={type:Zn,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:s,name:e};"production"!==process.env.NODE_ENV&&r&&Wt(c),o&&Ln(this,c),"production"!==process.env.NODE_ENV&&r&&qt()}}finally{Ct()}return!0},t.observe_=function(e,t){return"production"!==process.env.NODE_ENV&&!0===t&&_("`observe` doesn't support the fire immediately property for observable objects."),On(this,e)},t.intercept_=function(e){return Mn(this,e)},t.notifyPropertyAddition_=function(e,t){var n,a=An(this),o="production"!==process.env.NODE_ENV&&Xt();if(a||o){var r=a||o?{type:Jn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;"production"!==process.env.NODE_ENV&&o&&Wt(r),a&&Ln(this,r),"production"!==process.env.NODE_ENV&&o&&qt()}null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),T(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function Qn(e,t){var n;if("production"!==process.env.NODE_ENV&&t&&na(e)&&_("Options can't be provided for already observable objects."),X(e,re))return"production"===process.env.NODE_ENV||ga(e)instanceof $n||_("Cannot convert '"+fa(e)+"' into observable object:\nThe target is already observable of different type.\nExtending builtins is not supported."),e;"production"===process.env.NODE_ENV||Object.isExtensible(e)||_("Cannot make the designated object observable; it is not extensible");var a=null!=(n=null==t?void 0:t.name)?n:"production"!==process.env.NODE_ENV?(C(e)?"ObservableObject":e.constructor.name)+"@"+A():"ObservableObject",o=new $n(e,new Map,String(a),function(e){var t;return e?null!=(t=e.defaultDecorator)?t:Pe(e):void 0}(t));return k(e,re,o),e}var ea=U("ObservableObjectAdministration",$n);function ta(e){return Yn[e]||(Yn[e]={get:function(){return this[re].getObservablePropValue_(e)},set:function(t){return this[re].setObservablePropValue_(e,t)}})}function na(e){return!!E(e)&&ea(e[re])}function aa(e,t,n){var a;"production"!==process.env.NODE_ENV&&(e.appliedAnnotations_[n]=t),null==(a=e.target_[ee])||delete a[n]}function oa(e,t,n){if("production"===process.env.NODE_ENV||Ra(t)||_("Cannot annotate '"+e.name_+"."+n.toString()+"': Invalid annotation."),"production"!==process.env.NODE_ENV&&!me(t)&&X(e.appliedAnnotations_,n)){var a=e.name_+"."+n.toString(),o=e.appliedAnnotations_[n].annotationType_;_("Cannot apply '"+t.annotationType_+"' to '"+a+"':\nThe field is already annotated with '"+o+"'.\nRe-annotating fields is not allowed.\nUse 'override' annotation for methods overridden by subclass.")}}var ra,ia,sa=da(0),ca=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),ua=0,la=function(){};ra=la,ia=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(ra.prototype,ia):void 0!==ra.prototype.__proto__?ra.prototype.__proto__=ia:ra.prototype=ia;var ha=function(e){function t(t,n,a,o){var r;return void 0===a&&(a="production"!==process.env.NODE_ENV?"ObservableArray@"+A():"ObservableArray"),void 0===o&&(o=!1),r=e.call(this)||this,ya((function(){var e=new Cn(a,n,o,!0);e.proxy_=r,D(r,re,e),t&&t.length&&r.spliceWithArray(0,0,t),ca&&Object.defineProperty(r,"0",sa)})),r}Z(t,e);var n=t.prototype;return n.concat=function(){this[re].atom_.reportObserved();for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.prototype.concat.apply(this.slice(),t.map((function(e){return Tn(e)?e.slice():e})))},n[Symbol.iterator]=function(){var e=this,t=0;return xa({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},q(t,[{key:"length",get:function(){return this[re].getArrayLength_()},set:function(e){this[re].setArrayLength_(e)}},{key:Symbol.toStringTag,get:function(){return"Array"}}])}(la);function da(e){return{enumerable:!1,configurable:!0,get:function(){return this[re].get_(e)},set:function(t){this[re].set_(e,t)}}}function ma(e){y(ha.prototype,""+e,da(e))}function _a(e){if(e>ua){for(var t=ua;t<e+100;t++)ma(t);ua=e}}function pa(e,t,n){return new ha(e,t,n)}function va(e,t){if("object"==typeof e&&null!==e){if(Tn(e))return void 0!==t&&_(23),e[re].atom_;if(zn(e))return e.atom_;if(Wn(e)){if(void 0===t)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return n||_(25,t,fa(e)),n}if(na(e)){if(!t)return _(26);var a=e[re].values_.get(t);return a||_(27,t,fa(e)),a}if(se(e)||mt(e)||Jt(e))return e}else if(N(e)&&Jt(e[re]))return e[re];_(28)}function ga(e,t){return e||_(29),void 0!==t?ga(va(e,t)):se(e)||mt(e)||Jt(e)||Wn(e)||zn(e)?e:e[re]?e[re]:void _(24,e)}function fa(e,t){var n;if(void 0!==t)n=va(e,t);else{if(on(e))return e.name;n=na(e)||Wn(e)||zn(e)?ga(e):va(e)}return n.name_}function ya(e){var t=St(),n=rt(!0);Et();try{return e()}finally{Ct(),it(n),wt(t)}}Object.entries(kn).forEach((function(e){var t=e[0],n=e[1];"concat"!==t&&k(ha.prototype,t,n)})),_a(1e3);var ba=b.toString;function Sa(e,t,n){return void 0===n&&(n=-1),wa(e,t,n)}function wa(e,t,n,a,o){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var r=typeof e;if("function"!==r&&"object"!==r&&"object"!=typeof t)return!1;var i=ba.call(e);if(i!==ba.call(t))return!1;switch(i){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t);case"[object Map]":case"[object Set]":n>=0&&n++}e=ja(e),t=ja(t);var s="[object Array]"===i;if(!s){if("object"!=typeof e||"object"!=typeof t)return!1;var c=e.constructor,u=t.constructor;if(c!==u&&!(N(c)&&c instanceof c&&N(u)&&u instanceof u)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),o=o||[];for(var l=(a=a||[]).length;l--;)if(a[l]===e)return o[l]===t;if(a.push(e),o.push(t),s){if((l=e.length)!==t.length)return!1;for(;l--;)if(!wa(e[l],t[l],n-1,a,o))return!1}else{var h,d=Object.keys(e);if(l=d.length,Object.keys(t).length!==l)return!1;for(;l--;)if(!X(t,h=d[l])||!wa(e[h],t[h],n-1,a,o))return!1}return a.pop(),o.pop(),!0}function ja(e){return Tn(e)?e.slice():V(e)||Wn(e)||B(e)||zn(e)?Array.from(e.entries()):e}function xa(e){return e[Symbol.iterator]=Ma,e}function Ma(){return this}function Ra(e){return e instanceof Object&&"string"==typeof e.annotationType_&&N(e.make_)&&N(e.extend_)}function Aa(e){var n;n=function(){return rn(e)},t.useEffect(n,[])}function Oa(e){var a=e.connectedMotionGroup,r=e.robotRootObjectName,s=e.onRotationChanged,c=e.jointCollector;n.Globals.assign({frameLoop:"always"});var u=t.useRef([]),l=t.useRef([]),h=o.useThree(),m=h.scene,_=h.invalidate;function p(){var e=l.current.map((function(e,t){return g[t].get()}));s(l.current,e)}t.useEffect((function(){var e=m.getObjectByName(r);e&&(l.current=c?c(e):d(e),p(),_())}),[]),Aa((function(){var e=a.rapidlyChangingMotionState.state.joint_position.joints.filter((function(e){return void 0!==e}));requestAnimationFrame((function(){return function(e){u.current=e,f.start(Object.assign({},u.current))}(e)}))}));var v=n.useSpring((function(){return i(i({},Object.assign({},a.rapidlyChangingMotionState.state.joint_position.joints)),{onChange:function(){p(),_()},onResolve:function(){p()}})})),g=v[0],f=v[1];return null}function La(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials;return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"UR3",rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR3_J01",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR3_J02",position:[0,.152,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR3_J03",position:[-.244,0,0],children:[e.jsxs(n.animated.group,{name:"UR3_J04",position:[-.213,0,0],children:[e.jsxs(n.animated.group,{name:"UR3_J05",position:[0,.112,0],rotation:[Math.PI/2,0,0],children:[e.jsx("mesh",{name:"UR3_05",castShadow:!0,receiveShadow:!0,geometry:l.UR3_05.geometry,material:h.Standard}),e.jsxs(n.animated.group,{name:"UR3_J06",position:[0,.085,0],rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"UR3_FLG",position:[0,.082,0]}),e.jsx("mesh",{name:"UR3_L06",castShadow:!0,receiveShadow:!0,geometry:l.UR3_L06.geometry,material:h.Standard})]})]}),e.jsx("mesh",{name:"UR3_L04",castShadow:!0,receiveShadow:!0,geometry:l.UR3_L04.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR3_L03",castShadow:!0,receiveShadow:!0,geometry:l.UR3_L03.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR3_L02",castShadow:!0,receiveShadow:!0,geometry:l.UR3_L02.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR3_L01",castShadow:!0,receiveShadow:!0,geometry:l.UR3_L01.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR3_L00",castShadow:!0,receiveShadow:!0,geometry:l.UR3_L00.geometry,material:h.Standard,rotation:[-Math.PI/2,0,0]})]})})}))]})}function Na(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials;return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs(n.animated.group,{name:"UR3e",rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR3e_J01",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR3e_J02",position:[0,.152,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR3e_J03",position:[-.244,0,0],children:[e.jsxs(n.animated.group,{name:"UR3e_J04",position:[-.213,0,0],children:[e.jsxs(n.animated.group,{name:"UR3e_J05",position:[0,.131,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR3e_J06",position:[0,.085,0],rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"UR3e_FLG",position:[0,.092,0]}),e.jsx("mesh",{name:"UR3e_L06",castShadow:!0,receiveShadow:!0,geometry:l.UR3e_L06.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR3e_L05",castShadow:!0,receiveShadow:!0,geometry:l.UR3e_L05.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR3e_L04",castShadow:!0,receiveShadow:!0,geometry:l.UR3e_L04.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR3e_L03",castShadow:!0,receiveShadow:!0,geometry:l.UR3e_L03.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR3e_L02",castShadow:!0,receiveShadow:!0,geometry:l.UR3e_L02.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR3e_L01",castShadow:!0,receiveShadow:!0,geometry:l.UR3e_L01.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR3e_L00",castShadow:!0,receiveShadow:!0,geometry:l.UR3e_L00.geometry,material:h.Standard,rotation:[-Math.PI/2,0,0]})]})})}))]})}function Ia(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o).nodes;return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"UR5",rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR5_J01",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR5_J02",position:[0,.089,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR5_J03",position:[-.425,0,0],children:[e.jsxs(n.animated.group,{name:"UR5_J04",position:[-.392,0,0],children:[e.jsxs(n.animated.group,{name:"UR5_J05",position:[0,.109,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR5_J06",position:[0,.095,0],rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"UR5_FLG",position:[0,.082,0]}),e.jsx("mesh",{name:"UR5_L06",castShadow:!0,receiveShadow:!0,geometry:u.UR5_L06.geometry,material:u.UR5_L06.material})]}),e.jsx("mesh",{name:"UR5_L05",castShadow:!0,receiveShadow:!0,geometry:u.UR5_L05.geometry,material:u.UR5_L05.material})]}),e.jsx("mesh",{name:"UR5_L04",castShadow:!0,receiveShadow:!0,geometry:u.UR5_L04.geometry,material:u.UR5_L04.material})]}),e.jsx("mesh",{name:"UR5_L03",castShadow:!0,receiveShadow:!0,geometry:u.UR5_L03.geometry,material:u.UR5_L03.material})]}),e.jsx("mesh",{name:"UR5_L02",castShadow:!0,receiveShadow:!0,geometry:u.UR5_L02.geometry,material:u.UR5_L02.material})]}),e.jsx("mesh",{name:"UR5_L01",castShadow:!0,receiveShadow:!0,geometry:u.UR5_L01.geometry,material:u.UR5_L01.material})]}),e.jsx("mesh",{name:"UR5_L00",castShadow:!0,receiveShadow:!0,geometry:u.UR5_L00.geometry,material:u.UR5_L00.material,rotation:[-Math.PI/2,0,0]})]})})}))]})}function Ea(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials;return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"UR5e",rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR5e_J01",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR5e_J02",position:[0,.162,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR5e_J03",position:[-.425,0,0],children:[e.jsxs(n.animated.group,{name:"UR5e_J04",position:[-.392,0,0],children:[e.jsxs(n.animated.group,{name:"UR5e_J05",position:[0,.133,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR5e_J06",position:[0,.1,0],rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"UR5e_FLG",position:[0,.1,0]}),e.jsx("group",{name:"UR5e_L06",position:[0,.1,0],rotation:[0,0,-Math.PI],children:e.jsxs(e.Fragment,{children:[e.jsx("mesh",{name:"C-1000255",castShadow:!0,receiveShadow:!0,geometry:l["C-1000255"].geometry,material:h.Black}),e.jsx("mesh",{name:"C-1000255_1",castShadow:!0,receiveShadow:!0,geometry:l["C-1000255_1"].geometry,material:h.Metal})]})})]}),e.jsx("group",{name:"UR5e_L05",rotation:[-Math.PI/2,-Math.PI/3,0],children:e.jsxs(e.Fragment,{children:[e.jsx("mesh",{name:"C-1000253",castShadow:!0,receiveShadow:!0,geometry:l["C-1000253"].geometry,material:h.Blue}),e.jsx("mesh",{name:"C-1000253_1",castShadow:!0,receiveShadow:!0,geometry:l["C-1000253_1"].geometry,material:h.Black}),e.jsx("mesh",{name:"C-1000253_2",castShadow:!0,receiveShadow:!0,geometry:l["C-1000253_2"].geometry,material:h.Metal}),e.jsx("mesh",{name:"C-1000253_3",castShadow:!0,receiveShadow:!0,geometry:l["C-1000253_3"].geometry,material:h.DarkGray})]})})]}),e.jsx("group",{name:"UR5e_L04",rotation:[0,-Math.PI/3,0],children:e.jsxs(e.Fragment,{children:[e.jsx("mesh",{name:"C-1000251",castShadow:!0,receiveShadow:!0,geometry:l["C-1000251"].geometry,material:h.Blue}),e.jsx("mesh",{name:"C-1000251_1",castShadow:!0,receiveShadow:!0,geometry:l["C-1000251_1"].geometry,material:h.Black}),e.jsx("mesh",{name:"C-1000251_2",castShadow:!0,receiveShadow:!0,geometry:l["C-1000251_2"].geometry,material:h.Metal}),e.jsx("mesh",{name:"C-1000251_3",castShadow:!0,receiveShadow:!0,geometry:l["C-1000251_3"].geometry,material:h.DarkGray})]})})]}),e.jsx("group",{name:"UR5e_L03",children:e.jsxs(e.Fragment,{children:[e.jsx("mesh",{name:"C-1000250",castShadow:!0,receiveShadow:!0,geometry:l["C-1000250"].geometry,material:h.Black}),e.jsx("mesh",{name:"C-1000250_1",castShadow:!0,receiveShadow:!0,geometry:l["C-1000250_1"].geometry,material:h.DarkGray}),e.jsx("mesh",{name:"C-1000250_2",castShadow:!0,receiveShadow:!0,geometry:l["C-1000250_2"].geometry,material:h.Blue}),e.jsx("mesh",{name:"C-1000250_3",castShadow:!0,receiveShadow:!0,geometry:l["C-1000250_3"].geometry,material:h.Metal}),e.jsx("mesh",{name:"C-1000250_4",castShadow:!0,receiveShadow:!0,geometry:l["C-1000250_4"].geometry,material:h.Metal})]})})]}),e.jsx("group",{name:"UR5e_L02",rotation:[0,-Math.PI/2,0],children:e.jsxs(e.Fragment,{children:[e.jsx("mesh",{name:"C-1000249",castShadow:!0,receiveShadow:!0,geometry:l["C-1000249"].geometry,material:h.Metal}),e.jsx("mesh",{name:"C-1000249_1",castShadow:!0,receiveShadow:!0,geometry:l["C-1000249_1"].geometry,material:h.Black}),e.jsx("mesh",{name:"C-1000249_2",castShadow:!0,receiveShadow:!0,geometry:l["C-1000249_2"].geometry,material:h.DarkGray}),e.jsx("mesh",{name:"C-1000249_3",castShadow:!0,receiveShadow:!0,geometry:l["C-1000249_3"].geometry,material:h.Blue}),e.jsx("mesh",{name:"C-1000249_4",castShadow:!0,receiveShadow:!0,geometry:l["C-1000249_4"].geometry,material:h.Metal})]})})]}),e.jsx("group",{name:"UR5e_L01",rotation:[Math.PI/2,0,0],children:e.jsxs(e.Fragment,{children:[e.jsx("mesh",{name:"C-1000248",castShadow:!0,receiveShadow:!0,geometry:l["C-1000248"].geometry,material:h.DarkGray}),e.jsx("mesh",{name:"C-1000248_1",castShadow:!0,receiveShadow:!0,geometry:l["C-1000248_1"].geometry,material:h.Black}),e.jsx("mesh",{name:"C-1000248_2",castShadow:!0,receiveShadow:!0,geometry:l["C-1000248_2"].geometry,material:h.Blue}),e.jsx("mesh",{name:"C-1000248_3",castShadow:!0,receiveShadow:!0,geometry:l["C-1000248_3"].geometry,material:h.Metal})]})})]}),e.jsx("group",{name:"UR5e_L00",children:e.jsxs(e.Fragment,{children:[e.jsx("mesh",{name:"C-1000257",castShadow:!0,receiveShadow:!0,geometry:l["C-1000257"].geometry,material:h.Black}),e.jsx("mesh",{name:"C-1000257_1",castShadow:!0,receiveShadow:!0,geometry:l["C-1000257_1"].geometry,material:h.Metal})]})})]})})}))]})}function Ca(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials;return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"UR10",rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR10_J01",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR10_J02",position:[0,.126,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR10_J03",position:[-.612,0,0],children:[e.jsxs(n.animated.group,{name:"UR10_J04",position:[-.572,0,0],children:[e.jsxs(n.animated.group,{name:"UR10_J05",position:[0,.164,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR10_J06",position:[0,.116,0],rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"UR10_FLG",position:[0,.092,0]}),e.jsx("mesh",{name:"UR10_L06",castShadow:!0,receiveShadow:!0,geometry:l.UR10_L06.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR10_L05",castShadow:!0,receiveShadow:!0,geometry:l.UR10_L05.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR10_L04",castShadow:!0,receiveShadow:!0,geometry:l.UR10_L04.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR10_L03",castShadow:!0,receiveShadow:!0,geometry:l.UR10_L03.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR10_L02",castShadow:!0,receiveShadow:!0,geometry:l.UR10_L02.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR10_L01",castShadow:!0,receiveShadow:!0,geometry:l.UR10_L01.geometry,material:h.Standard})]}),e.jsx("mesh",{name:"UR10_L00",castShadow:!0,receiveShadow:!0,geometry:l.UR10_L00.geometry,material:h.Standard,rotation:[-Math.PI/2,0,0]})]})})}))]})}function Pa(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials;return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"UR10e",rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR10e_J01",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR10e_J02",position:[0,.181,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR10e_J03",position:[-.613,0,0],children:[e.jsxs(n.animated.group,{name:"UR10e_J04",position:[-.572,0,0],children:[e.jsxs(n.animated.group,{name:"UR10e_J05",position:[0,.174,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR10e_J06",position:[0,.12,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"UR10e_FLG",position:[1.184,-.174,.061],rotation:[-Math.PI/2,0,0],children:[e.jsx("mesh",{name:"C-1000493",geometry:l["C-1000493"].geometry,material:h.Black,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000493_1",geometry:l["C-1000493_1"].geometry,material:h.Metal,castShadow:!0,receiveShadow:!0})]}),e.jsx("group",{name:"UR10e_L07",position:[0,.117,0]})]}),e.jsxs("group",{name:"UR10e_L06",position:[1.184,.181,.174],rotation:[Math.PI,0,0],children:[e.jsx("mesh",{name:"C-1000492",geometry:l["C-1000492"].geometry,material:h.DarkGray,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000492_1",geometry:l["C-1000492_1"].geometry,material:h.Black,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000492_2",geometry:l["C-1000492_2"].geometry,material:h.Blue,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000492_3",geometry:l["C-1000492_3"].geometry,material:h.Screw,castShadow:!0,receiveShadow:!0})]})]}),e.jsxs("group",{name:"UR10e_L05",position:[1.184,0,.181],rotation:[-Math.PI/2,0,0],children:[e.jsx("mesh",{name:"C-1000491",geometry:l["C-1000491"].geometry,material:h.DarkGray,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000491_1",geometry:l["C-1000491_1"].geometry,material:h.Blue,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000491_2",geometry:l["C-1000491_2"].geometry,material:h.Black,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000491_3",geometry:l["C-1000491_3"].geometry,material:h.Screw,castShadow:!0,receiveShadow:!0})]})]}),e.jsxs("group",{name:"UR10e_L04",position:[.613,0,.181],rotation:[-Math.PI/2,0,0],children:[e.jsx("mesh",{name:"C-1000490",geometry:l["C-1000490"].geometry,material:h.Metal,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000490_1",geometry:l["C-1000490_1"].geometry,material:h.Black,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000490_2",geometry:l["C-1000490_2"].geometry,material:h.DarkGray,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000490_3",geometry:l["C-1000490_3"].geometry,material:h.Blue,castShadow:!0,receiveShadow:!0})]})]}),e.jsxs(n.animated.group,{name:"UR10e_L03",position:[0,0,.181],rotation:[-Math.PI/2,0,0],children:[e.jsx("mesh",{name:"C-1000489",geometry:l["C-1000489"].geometry,material:h.Blue,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000489_1",geometry:l["C-1000489_1"].geometry,material:h.Black,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000489_2",geometry:l["C-1000489_2"].geometry,material:h.DarkGray,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000489_3",geometry:l["C-1000489_3"].geometry,material:h.Screw,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000489_4",geometry:l["C-1000489_4"].geometry,material:h.Metal,castShadow:!0,receiveShadow:!0})]})]}),e.jsxs("group",{name:"UR10e_L02",children:[e.jsx("mesh",{name:"C-1000488",geometry:l["C-1000488"].geometry,material:h.Black,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000488_1",geometry:l["C-1000488_1"].geometry,material:h.Blue,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000488_2",geometry:l["C-1000488_2"].geometry,material:h.Screw,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000488_3",geometry:l["C-1000488_3"].geometry,material:h.DarkGray,castShadow:!0,receiveShadow:!0})]})]}),e.jsxs("group",{name:"UR10e_L01",rotation:[-Math.PI/2,0,0],children:[e.jsx("mesh",{name:"C-1000487",geometry:l["C-1000487"].geometry,material:h.Black,castShadow:!0,receiveShadow:!0}),e.jsx("mesh",{name:"C-1000487_1",geometry:l["C-1000487_1"].geometry,material:h.Metal,castShadow:!0,receiveShadow:!0})]})]})})}))]})}function ka(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,-Math.PI/2,0,0,0,0];return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"AR900",rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR900_J01",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR900_J02",position:[.04,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[e.jsxs(n.animated.group,{name:"AR900_J03",position:[.445,0,0],rotation:[-Math.PI,0,0],children:[e.jsxs(n.animated.group,{name:"AR900_J04",position:[.04,0,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR900_J05",position:[0,-.44,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR900_J06",rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"AR900_FLG",position:[0,-.08,0],rotation:[-Math.PI,0,0]}),e.jsx("mesh",{name:"AR900_L06",castShadow:!0,receiveShadow:!0,geometry:l.AR900_L06.geometry,material:h["#BBA474.001"]})]}),e.jsx("mesh",{name:"AR900_L05",castShadow:!0,receiveShadow:!0,geometry:l.AR900_L05.geometry,material:h["#0056b9.001"]})]}),e.jsx("mesh",{name:"AR900_L04",castShadow:!0,receiveShadow:!0,geometry:l.AR900_L04.geometry,material:h["#0056b9.001"]})]}),e.jsx("mesh",{name:"AR900_L03",castShadow:!0,receiveShadow:!0,geometry:l.AR900_L03.geometry,material:h["#0056b9.001"]})]}),e.jsx("mesh",{name:"AR900_L02",castShadow:!0,receiveShadow:!0,geometry:l.AR900_L02.geometry,material:h["#0056b9.001"]})]}),e.jsx("mesh",{name:"AR900_L01",castShadow:!0,receiveShadow:!0,geometry:l.AR900_L01.geometry,material:h["#0056b9.001"]})]}),e.jsx("mesh",{name:"AR900_L00",castShadow:!0,receiveShadow:!0,geometry:l.AR900_L00.geometry,material:h["#0056b9.001"],rotation:[-Math.PI/2,0,0]})]})})}))]})}function Da(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,-Math.PI/2,0,0,0,0],m=[1,-1,1,1,1,1];return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=m[n]*t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"AR1440",rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR1440_J01",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR1440_J02",position:[.155,0,0],rotation:[Math.PI/2,0,Math.PI],children:[e.jsxs(n.animated.group,{name:"AR1440_J03",position:[.614,0,0],rotation:[Math.PI,0,0],children:[e.jsxs(n.animated.group,{name:"AR1440_J04",position:[.2,0,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR1440_J05",position:[0,-.64,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR1440_J06",rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"AR1440_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),e.jsx("mesh",{name:"AR1440_L06_CAD",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L06_CAD.geometry,material:h.metall})]}),e.jsx("mesh",{name:"AR1440_L05_CAD",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L05_CAD.geometry,material:h.yaskawaBlueMetall})]}),e.jsxs("group",{name:"AR1440_L04_CAD",children:[e.jsx("mesh",{name:"AR1440_L04_CAD001",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L04_CAD001.geometry,material:h.yaskawaBlueMetall}),e.jsx("mesh",{name:"AR1440_L04_CAD001_1",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L04_CAD001_1.geometry,material:h.white})]})]}),e.jsxs("group",{name:"AR1440_L03_CAD",children:[e.jsx("mesh",{name:"AR1440_L03_CAD001",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L03_CAD001.geometry,material:h.yaskawaBlueMetall}),e.jsx("mesh",{name:"AR1440_L03_CAD001_1",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L03_CAD001_1.geometry,material:h.blackMetall})]})]}),e.jsx("mesh",{name:"AR1440_L02_CAD",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L02_CAD.geometry,material:h.yaskawaBlueMetall})]}),e.jsxs("group",{name:"AR1440_L01_CAD",children:[e.jsx("mesh",{name:"AR1440_L01_CAD001",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L01_CAD001.geometry,material:h.yaskawaBlueMetall}),e.jsx("mesh",{name:"AR1440_L01_CAD001_1",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L01_CAD001_1.geometry,material:h.blackMetall})]})]}),e.jsx("mesh",{name:"AR1440_L00_CAD",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L00_CAD.geometry,material:h.yaskawaBlueMetall,position:[0,0,.45],rotation:[-Math.PI/2,0,0]})]})})}))]})}function Ua(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,-Math.PI/2,0,0,0,0],m=[1,-1,1,1,1,1];return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=m[n]*t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsxs("group",{name:"Scene",children:[e.jsxs(n.animated.group,{name:"AR1730_J00",children:[e.jsxs(n.animated.group,{name:"AR1730_J01",position:[.15,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[e.jsxs(n.animated.group,{name:"AR1730_J02",position:[.76,0,0],rotation:[-Math.PI,0,0],children:[e.jsxs(n.animated.group,{name:"AR1730_J03",position:[.2,0,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR1730_J04",position:[0,-.795,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR1730_J05",rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"AR1730_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),e.jsx("mesh",{name:"AR1730_L06",castShadow:!0,receiveShadow:!0,geometry:l.AR1730_L06.geometry,material:h.Metal,rotation:[Math.PI/2,-Math.PI/2,0]})]}),e.jsx("mesh",{name:"AR1730_L05",castShadow:!0,receiveShadow:!0,geometry:l.AR1730_L05.geometry,material:h.Blue,rotation:[Math.PI/2,0,Math.PI/2]})]}),e.jsxs("group",{name:"AR1730_L04",position:[0,-.302,0],rotation:[0,0,-Math.PI/2],children:[e.jsx("mesh",{name:"_R_AXIS_SW0001002",castShadow:!0,receiveShadow:!0,geometry:l._R_AXIS_SW0001002.geometry,material:h.Blue}),e.jsx("mesh",{name:"_R_AXIS_SW0001002_1",castShadow:!0,receiveShadow:!0,geometry:l._R_AXIS_SW0001002_1.geometry,material:h.White})]})]}),e.jsxs("group",{name:"AR1730_L03",rotation:[Math.PI/2,0,-Math.PI/2],children:[e.jsx("mesh",{name:"_U_AXIS_SW0001002",castShadow:!0,receiveShadow:!0,geometry:l._U_AXIS_SW0001002.geometry,material:h.Blue}),e.jsx("mesh",{name:"_U_AXIS_SW0001002_1",castShadow:!0,receiveShadow:!0,geometry:l._U_AXIS_SW0001002_1.geometry,material:h.Black})]})]}),e.jsx("mesh",{name:"AR1730_L02",castShadow:!0,receiveShadow:!0,geometry:l.AR1730_L02.geometry,material:h.Blue,position:[0,-.157,0],rotation:[-Math.PI,-1.571,0]})]}),e.jsxs("group",{name:"AR1730_L01",position:[0,-.336,0],rotation:[Math.PI/2,0,-Math.PI/2],children:[e.jsx("mesh",{name:"_S_AXIS_SW0001002",castShadow:!0,receiveShadow:!0,geometry:l._S_AXIS_SW0001002.geometry,material:h.Blue}),e.jsx("mesh",{name:"_S_AXIS_SW0001002_1",castShadow:!0,receiveShadow:!0,geometry:l._S_AXIS_SW0001002_1.geometry,material:h.Black})]})]}),e.jsx("mesh",{name:"AR1730_L00",castShadow:!0,receiveShadow:!0,geometry:l.AR1730_L00.geometry,material:h.Blue,position:[0,-.505,0],rotation:[Math.PI/2,0,-Math.PI/2]})]})}))]})}function Va(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,-Math.PI/2,0,0,0,0],m=[1,-1,1,1,1,1];return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=m[n]*t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"AR2010",rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR2010_J01",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR2010_J02",position:[.15,0,0],rotation:[Math.PI/2,0,Math.PI],children:[e.jsxs(n.animated.group,{name:"AR2010_J03",position:[.76,0,0],rotation:[Math.PI,0,0],children:[e.jsxs(n.animated.group,{name:"AR2010_J04",position:[.2,0,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR2010_J05",position:[0,-1.082,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR2010_J06",rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"AR2010_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),e.jsxs("group",{name:"AR2010_L06",children:[e.jsx("mesh",{name:"AR2010_06001",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_06001.geometry,material:h.yaskawaBlueMetall}),e.jsx("mesh",{name:"AR2010_06001_1",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_06001_1.geometry,material:h.metall})]})]}),e.jsx("mesh",{name:"AR2010_L05",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_L05.geometry,material:h.yaskawaBlueMetall})]}),e.jsxs("group",{name:"AR2010_L04",children:[e.jsx("mesh",{name:"AR2010_04001",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_04001.geometry,material:h.yaskawaBlueMetall}),e.jsx("mesh",{name:"AR2010_04001_1",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_04001_1.geometry,material:h.white})]})]}),e.jsxs("group",{name:"AR2010_L03",children:[e.jsx("mesh",{name:"AR2010_03001",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_03001.geometry,material:h.yaskawaBlueMetall}),e.jsx("mesh",{name:"AR2010_03001_1",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_03001_1.geometry,material:h.blackMetall})]})]}),e.jsx("mesh",{name:"AR2010_L02",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_L02.geometry,material:h.yaskawaBlueMetall})]}),e.jsxs("group",{name:"AR2010_L01",children:[e.jsx("mesh",{name:"AR2010_01001",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_01001.geometry,material:h.yaskawaBlueMetall}),e.jsx("mesh",{name:"AR2010_01001_1",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_01001_1.geometry,material:h.blackMetall})]})]}),e.jsx("mesh",{name:"AR2010_L00",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_L00.geometry,material:h.yaskawaBlueMetall,rotation:[-Math.PI/2,0,0]})]})})}))]})}function Ba(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,-Math.PI/2,0,0,0,0],m=[1,-1,1,1,1,1];return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=m[n]*t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsxs("group",{name:"Scene",children:[e.jsxs(n.animated.group,{name:"AR3120_J00",children:[e.jsxs(n.animated.group,{name:"AR3120_J01",position:[.145,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[e.jsxs(n.animated.group,{name:"AR3120_J02",position:[1.15,0,0],rotation:[-Math.PI,0,0],children:[e.jsxs(n.animated.group,{name:"AR3120_J03",position:[.25,0,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR3120_J04",position:[0,-1.812,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"AR3120_J05",rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"AR3120_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),e.jsx("mesh",{name:"AR3120_L06",castShadow:!0,receiveShadow:!0,geometry:l.AR3120_L06.geometry,material:h["Metal.001"],rotation:[Math.PI/2,-Math.PI/2,0]})]}),e.jsx("mesh",{name:"AR3120_L05",castShadow:!0,receiveShadow:!0,geometry:l.AR3120_L05.geometry,material:h["Blue.001"],rotation:[Math.PI/2,0,Math.PI/2]})]}),e.jsxs("group",{name:"AR3120_L04",rotation:[Math.PI/2,-Math.PI/2,0],children:[e.jsx("mesh",{name:"R_AXIS_GP20HL001",castShadow:!0,receiveShadow:!0,geometry:l.R_AXIS_GP20HL001.geometry,material:h["Blue.001"]}),e.jsx("mesh",{name:"R_AXIS_GP20HL001_1",castShadow:!0,receiveShadow:!0,geometry:l.R_AXIS_GP20HL001_1.geometry,material:h["White.001"]})]})]}),e.jsxs("group",{name:"AR3120_L03",rotation:[Math.PI,0,-Math.PI/2],children:[e.jsx("mesh",{name:"Mesh_3001",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_3001.geometry,material:h["Blue.001"]}),e.jsx("mesh",{name:"Mesh_3001_1",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_3001_1.geometry,material:h["Black.001"]})]})]}),e.jsx("mesh",{name:"AR3120_L02",castShadow:!0,receiveShadow:!0,geometry:l.AR3120_L02.geometry,material:h["Blue.001"],position:[0,-.146,0],rotation:[Math.PI,0,0]})]}),e.jsxs("group",{name:"AR3120_L01",position:[0,-.228,0],rotation:[0,-1.571,0],children:[e.jsx("mesh",{name:"S_AXIS_GP20HL001",castShadow:!0,receiveShadow:!0,geometry:l.S_AXIS_GP20HL001.geometry,material:h["Blue.001"]}),e.jsx("mesh",{name:"S_AXIS_GP20HL001_1",castShadow:!0,receiveShadow:!0,geometry:l.S_AXIS_GP20HL001_1.geometry,material:h["Black.001"]})]})]}),e.jsx("mesh",{name:"AR3120_L00",castShadow:!0,receiveShadow:!0,geometry:l.AR3120_L00.geometry,material:h["Blue.001"],position:[0,-.54,0]})]})}))]})}function Ga(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,Math.PI/2,0,0,0,0];return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsxs("group",{name:"Scene",children:[e.jsxs(n.animated.group,{name:"CRX10iA_J00",children:[e.jsxs(n.animated.group,{name:"CRX10iA_J01",rotation:[Math.PI/2,Math.PI/2,0],children:[e.jsxs(n.animated.group,{name:"CRX10iA_J02",position:[.54,0,0],children:[e.jsxs(n.animated.group,{name:"CRX10iA_J03",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"CRX10iA_J04",position:[0,-.54,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"CRX10iA_J05",position:[0,.15,0],rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"CRX10iA_FLG",position:[0,-.16,0],rotation:[-Math.PI,0,0]}),e.jsx("mesh",{name:"CRX10iA_L06",castShadow:!0,receiveShadow:!0,geometry:l.CRX10iA_L06.geometry,material:h.Fanuc_BlackMetal,position:[0,-.16,0],rotation:[0,0,-Math.PI/2]})]}),e.jsxs("group",{name:"CRX10iA_L05",position:[0,.15,0],rotation:[-Math.PI/2,0,-Math.PI/2],children:[e.jsx("mesh",{name:"J5CASING_UNIT001",castShadow:!0,receiveShadow:!0,geometry:l.J5CASING_UNIT001.geometry,material:h.Fanuc_WhitePlastic}),e.jsx("mesh",{name:"J5CASING_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:l.J5CASING_UNIT001_1.geometry,material:h.Fanuc_Green})]})]}),e.jsxs("group",{name:"CRX10iA_L04",position:[0,-.54,0],rotation:[0,0,-Math.PI/2],children:[e.jsx("mesh",{name:"NAME_LABEL_CRX_10iA",castShadow:!0,receiveShadow:!0,geometry:l.NAME_LABEL_CRX_10iA.geometry,material:h.Fanuc_RedPlastic}),e.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_1",castShadow:!0,receiveShadow:!0,geometry:l.NAME_LABEL_CRX_10iA_1.geometry,material:h.Fanuc_BlackPlastic}),e.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_2",castShadow:!0,receiveShadow:!0,geometry:l.NAME_LABEL_CRX_10iA_2.geometry,material:h.Fanuc_WhitePlastic})]})]}),e.jsx("mesh",{name:"CRX10iA_L03",castShadow:!0,receiveShadow:!0,geometry:l.CRX10iA_L03.geometry,material:h.Fanuc_WhitePlastic,rotation:[-Math.PI/2,0,-Math.PI/2]})]}),e.jsx("mesh",{name:"CRX10iA_L02",castShadow:!0,receiveShadow:!0,geometry:l.CRX10iA_L02.geometry,material:h.Fanuc_WhitePlastic,rotation:[-Math.PI/2,0,-Math.PI/2]})]}),e.jsxs("group",{name:"CRX10iA_L01",position:[0,-.117,0],children:[e.jsx("mesh",{name:"J2BASE_UNIT001",castShadow:!0,receiveShadow:!0,geometry:l.J2BASE_UNIT001.geometry,material:h.Fanuc_Green}),e.jsx("mesh",{name:"J2BASE_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:l.J2BASE_UNIT001_1.geometry,material:h.Fanuc_WhitePlastic}),e.jsx("mesh",{name:"J2BASE_UNIT001_2",castShadow:!0,receiveShadow:!0,geometry:l.J2BASE_UNIT001_2.geometry,material:h.Fanuc_GreenLED})]})]}),e.jsx("mesh",{name:"CRX10iA_L00",castShadow:!0,receiveShadow:!0,geometry:l.CRX10iA_L00.geometry,material:h.Fanuc_BlackMetal,position:[0,-.245,0]})]})}))]})}function Ta(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,Math.PI/2,0,0,0,0];return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsxs("group",{name:"Scene",position:[0,-.37,0],children:[e.jsxs("group",{name:"CRX25iA_L00",children:[e.jsx("mesh",{name:"J1BASE_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:l.J1BASE_NetGen_Coarse.geometry,material:h.Fanuc_BlackMetal}),e.jsx("mesh",{name:"J1BASE_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:l.J1BASE_NetGen_Coarse_1.geometry,material:h.Fanuc_GreenPlastic})]}),e.jsxs(n.animated.group,{name:"CRX25iA_J00",children:[e.jsxs(n.animated.group,{name:"CRX25iA_J01",position:[0,.37,0],rotation:[Math.PI/2,Math.PI/2,0],children:[e.jsxs(n.animated.group,{name:"CRX25iA_J02",position:[.95,0,0],children:[e.jsxs(n.animated.group,{name:"CRX25iA_J03",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"CRX25iA_J04",position:[0,-.75,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"CRX25iA_J05",position:[0,.185,0],rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"CRX25iA_FLG",position:[0,-.18,0],rotation:[-Math.PI,0,0]}),e.jsx("mesh",{name:"CRX25iA_L06",castShadow:!0,receiveShadow:!0,geometry:l.CRX25iA_L06.geometry,material:h.Fanuc_BlackMetal,position:[0,-.18,0]})]}),e.jsxs("group",{name:"CRX25iA_L05",position:[0,.185,0],children:[e.jsx("mesh",{name:"J6CASING_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:l.J6CASING_NetGen_Coarse.geometry,material:h.Fanuc_WhitePlastic}),e.jsx("mesh",{name:"J6CASING_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:l.J6CASING_NetGen_Coarse_1.geometry,material:h.Fanuc_GreenPlastic})]})]}),e.jsxs("group",{name:"CRX25iA_L04",position:[0,-.75,0],children:[e.jsx("mesh",{name:"J3ARM_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:l.J3ARM_NetGen_Coarse.geometry,material:h.Fanuc_WhitePlastic}),e.jsx("mesh",{name:"J3ARM_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:l.J3ARM_NetGen_Coarse_1.geometry,material:h.Fanuc_RedPlastic}),e.jsx("mesh",{name:"J3ARM_NetGen_Coarse_2",castShadow:!0,receiveShadow:!0,geometry:l.J3ARM_NetGen_Coarse_2.geometry,material:h.Fanuc_BlackPlastic})]})]}),e.jsxs("group",{name:"CRX25iA_L03",children:[e.jsx("mesh",{name:"J3CASING_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:l.J3CASING_NetGen_Coarse.geometry,material:h.Fanuc_WhitePlastic}),e.jsx("mesh",{name:"J3CASING_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:l.J3CASING_NetGen_Coarse_1.geometry,material:h.Fanuc_GreenPlastic})]})]}),e.jsx("mesh",{name:"CRX25iA_L02",castShadow:!0,receiveShadow:!0,geometry:l.CRX25iA_L02.geometry,material:h.Fanuc_WhitePlastic})]}),e.jsxs("group",{name:"CRX25iA_L01",position:[0,.18,0],children:[e.jsx("mesh",{name:"J2BASE_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:l.J2BASE_NetGen_Coarse.geometry,material:h.Fanuc_WhitePlastic}),e.jsx("mesh",{name:"J2BASE_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:l.J2BASE_NetGen_Coarse_1.geometry,material:h.Fanuc_GreenLED})]})]})]})}))]})}function Fa(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,Math.PI/2,0,0,0,0];return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsxs("group",{name:"Scene",children:[e.jsxs(n.animated.group,{name:"CRX10iA_J00",children:[e.jsxs(n.animated.group,{name:"CRX10iA_J01",position:[0,.245,0],rotation:[Math.PI/2,Math.PI/2,0],children:[e.jsxs(n.animated.group,{name:"CRX10iA_J02",position:[.71,0,0],children:[e.jsxs(n.animated.group,{name:"CRX10iA_J03",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"CRX10iA_J04",position:[0,-.54,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"CRX10iA_J05",position:[0,.15,0],rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"CRX10iA_FLG",position:[0,-.16,0],rotation:[-Math.PI,0,0]}),e.jsx("mesh",{name:"CRX10iA_L06",castShadow:!0,receiveShadow:!0,geometry:l.CRX10iA_L06.geometry,material:h["Fanuc_BlackMetal.001"],position:[0,-.16,0],rotation:[0,0,-Math.PI/2]})]}),e.jsxs("group",{name:"CRX10iA_L05",position:[0,.15,0],rotation:[-Math.PI/2,0,-Math.PI/2],children:[e.jsx("mesh",{name:"J5CASING_UNIT001",castShadow:!0,receiveShadow:!0,geometry:l.J5CASING_UNIT001.geometry,material:h["Fanuc_WhitePlastic.001"]}),e.jsx("mesh",{name:"J5CASING_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:l.J5CASING_UNIT001_1.geometry,material:h["Fanuc_Green.001"]})]})]}),e.jsxs("group",{name:"CRX10iA_L04",position:[0,-.54,0],rotation:[0,0,-Math.PI/2],children:[e.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_L001",castShadow:!0,receiveShadow:!0,geometry:l.NAME_LABEL_CRX_10iA_L001.geometry,material:h["Fanuc_WhitePlastic.001"]}),e.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_L001_1",castShadow:!0,receiveShadow:!0,geometry:l.NAME_LABEL_CRX_10iA_L001_1.geometry,material:h["Fanuc_RedPlastic.001"]}),e.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_L001_2",castShadow:!0,receiveShadow:!0,geometry:l.NAME_LABEL_CRX_10iA_L001_2.geometry,material:h["Fanuc_BlackPlastic.001"]})]})]}),e.jsxs("group",{name:"CRX10iA_L03",rotation:[-Math.PI/2,0,-Math.PI/2],children:[e.jsx("mesh",{name:"J3CASING_UNIT001",castShadow:!0,receiveShadow:!0,geometry:l.J3CASING_UNIT001.geometry,material:h["Fanuc_WhitePlastic.001"]}),e.jsx("mesh",{name:"J3CASING_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:l.J3CASING_UNIT001_1.geometry,material:h["Fanuc_Green.001"]})]})]}),e.jsx("mesh",{name:"CRX10iA_L02",castShadow:!0,receiveShadow:!0,geometry:l.CRX10iA_L02.geometry,material:h["Fanuc_WhitePlastic.001"],rotation:[-Math.PI/2,0,-Math.PI/2]})]}),e.jsxs("group",{name:"CRX10iA_L01",position:[0,.128,0],children:[e.jsx("mesh",{name:"J2BASE_UNIT001",castShadow:!0,receiveShadow:!0,geometry:l.J2BASE_UNIT001.geometry,material:h["Fanuc_WhitePlastic.001"]}),e.jsx("mesh",{name:"J2BASE_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:l.J2BASE_UNIT001_1.geometry,material:h["Fanuc_Green.001"]}),e.jsx("mesh",{name:"J2BASE_UNIT001_2",castShadow:!0,receiveShadow:!0,geometry:l.J2BASE_UNIT001_2.geometry,material:h["Fanuc_GreenLED.001"]})]})]}),e.jsx("mesh",{name:"CRX10iA_L00",castShadow:!0,receiveShadow:!0,geometry:l.CRX10iA_L00.geometry,material:h["Fanuc_BlackMetal.001"]})]})}))]})}function Ja(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,0,-Math.PI/2,0,0,0];return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"kuka_kr210_2700",children:[e.jsxs(n.animated.group,{name:"joint_01",children:[e.jsxs(n.animated.group,{name:"joint_02",position:[.33,.645,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"joint_03",position:[1.15,0,0],rotation:[0,-Math.PI/2,0],children:[e.jsxs(n.animated.group,{name:"joint_04",position:[.115,0,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"joint_05",position:[0,-1.22,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"joint_06",rotation:[Math.PI/2,0,0],children:[e.jsx("group",{name:"flange",position:[0,-.215,0],rotation:[-Math.PI,0,0]}),e.jsx("group",{name:"link_6",position:[0,-.17,0],rotation:[0,0,-Math.PI/2],children:e.jsx("mesh",{name:"visuals006",castShadow:!0,receiveShadow:!0,geometry:l.visuals006.geometry,material:h.material_Material_Metall_black})})]}),e.jsx("group",{name:"link_5",position:[0,.059,0],rotation:[Math.PI/2,0,-Math.PI/2],children:e.jsxs("group",{name:"visuals005",children:[e.jsx("mesh",{name:"visuals005_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals005_1.geometry,material:h.material_Material_metal_black}),e.jsx("mesh",{name:"visuals005_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals005_2.geometry,material:h.material_Material_kuka_orange})]})})]}),e.jsx("group",{name:"link_4",position:[0,-.869,0],rotation:[0,0,-Math.PI/2],children:e.jsxs("group",{name:"visuals004",children:[e.jsx("mesh",{name:"visuals004_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals004_1.geometry,material:h.material_Material_metal_black}),e.jsx("mesh",{name:"visuals004_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals004_2.geometry,material:h.material_Material_kuka_orange})]})})]}),e.jsx("group",{name:"link_3",position:[0,-.105,0],rotation:[Math.PI/2,0,-Math.PI/2],children:e.jsxs("group",{name:"visuals003",children:[e.jsx("mesh",{name:"visuals003_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_1.geometry,material:h.material_Material_rubber}),e.jsx("mesh",{name:"visuals003_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_2.geometry,material:h.material_Material_aluminium}),e.jsx("mesh",{name:"visuals003_3",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_3.geometry,material:h.material_Material_metal_black}),e.jsx("mesh",{name:"visuals003_4",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_4.geometry,material:h.material_Material_kuka_black}),e.jsx("mesh",{name:"visuals003_5",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_5.geometry,material:h.material_Material_Rubber_black}),e.jsx("mesh",{name:"visuals003_6",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_6.geometry,material:h.material_Material_kuka_orange}),e.jsx("mesh",{name:"visuals003_7",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_7.geometry,material:h.material_Material_stainless_steel})]})})]}),e.jsx("group",{name:"link_2",position:[0,.009,0],rotation:[Math.PI/2,0,0],children:e.jsxs("group",{name:"visuals002",children:[e.jsx("mesh",{name:"visuals002_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals002_1.geometry,material:h.material_Material_metal_black}),e.jsx("mesh",{name:"visuals002_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals002_2.geometry,material:h.material_Material_Rubber_black}),e.jsx("mesh",{name:"visuals002_3",castShadow:!0,receiveShadow:!0,geometry:l.visuals002_3.geometry,material:h.material_Material_kuka_orange})]})})]}),e.jsx("group",{name:"link_1",position:[0,.236,0],children:e.jsxs("group",{name:"visuals001",children:[e.jsx("mesh",{name:"visuals001_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_1.geometry,material:h.material_Material_kuka_black}),e.jsx("mesh",{name:"visuals001_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_2.geometry,material:h.material_Material_kuka_orange}),e.jsx("mesh",{name:"visuals001_3",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_3.geometry,material:h.material_Material_rubber}),e.jsx("mesh",{name:"visuals001_4",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_4.geometry,material:h.material_Material_metal_black}),e.jsx("mesh",{name:"visuals001_5",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_5.geometry,material:h.material_Material_aluminium}),e.jsx("mesh",{name:"visuals001_6",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_6.geometry,material:h.material_Material_rubber_black}),e.jsx("mesh",{name:"visuals001_7",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_7.geometry,material:h.material_Material_stainless_steel})]})})]}),e.jsx("group",{name:"link_0",children:e.jsxs("group",{name:"visuals",children:[e.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals_1.geometry,material:h.material_Material_kuka_black}),e.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals_2.geometry,material:h.material_Material_metal_black})]})})]})})}))]})}function Xa(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,0,-Math.PI/2,0,0,0];return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"kuka_kr270_2700_ultra",children:[e.jsxs(n.animated.group,{name:"joint_01",children:[e.jsxs(n.animated.group,{name:"joint_02",position:[.35,.675,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"joint_03",position:[1.15,0,0],rotation:[0,-Math.PI/2,0],children:[e.jsxs(n.animated.group,{name:"joint_04",position:[-.041,0,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"joint_05",position:[0,-1.2,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"joint_06",rotation:[Math.PI/2,0,0],children:[e.jsx("group",{name:"flange",position:[0,-.24,0],rotation:[-Math.PI,0,0]}),e.jsx("group",{name:"link_6",position:[0,-.213,0],rotation:[0,0,-Math.PI/2],children:e.jsxs("group",{name:"visuals006",children:[e.jsx("mesh",{name:"visuals006_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals006_1.geometry,material:h.material_Material_Farbe__1_}),e.jsx("mesh",{name:"visuals006_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals006_2.geometry,material:h.material_Material_Metall})]})})]}),e.jsx("group",{name:"link_5",position:[0,.044,0],rotation:[Math.PI/2,0,-Math.PI/2],children:e.jsx("mesh",{name:"visuals005",castShadow:!0,receiveShadow:!0,geometry:l.visuals005.geometry,material:h.material_Material_Farbe})})]}),e.jsx("group",{name:"link_4",position:[0,-.954,0],rotation:[0,0,-Math.PI/2],children:e.jsx("mesh",{name:"visuals004",castShadow:!0,receiveShadow:!0,geometry:l.visuals004.geometry,material:h.material_Material_Farbe})})]}),e.jsx("group",{name:"link_3",position:[0,-.178,0],rotation:[Math.PI/2,0,-Math.PI/2],children:e.jsxs("group",{name:"visuals003",children:[e.jsx("mesh",{name:"visuals003_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_1.geometry,material:h.material_Material_Farbe__1_}),e.jsx("mesh",{name:"visuals003_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_2.geometry,material:h.material_Material_Farbe__2_}),e.jsx("mesh",{name:"visuals003_3",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_3.geometry,material:h.material_Material_Metall}),e.jsx("mesh",{name:"visuals003_4",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_4.geometry,material:h.material_Material_Farbe})]})})]}),e.jsx("group",{name:"link_2",rotation:[Math.PI/2,0,0],children:e.jsxs("group",{name:"visuals002",children:[e.jsx("mesh",{name:"visuals002_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals002_1.geometry,material:h.material_Material_Farbe}),e.jsx("mesh",{name:"visuals002_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals002_2.geometry,material:h.material_Material_Farbe__1_}),e.jsx("mesh",{name:"visuals002_3",castShadow:!0,receiveShadow:!0,geometry:l.visuals002_3.geometry,material:h.material_Material_Metall}),e.jsx("mesh",{name:"visuals002_4",castShadow:!0,receiveShadow:!0,geometry:l.visuals002_4.geometry,material:h.material_Material_Farbe__2_})]})})]}),e.jsx("group",{name:"link_1",position:[0,.226,0],children:e.jsxs("group",{name:"visuals001",children:[e.jsx("mesh",{name:"visuals001_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_1.geometry,material:h.material_Material_Metall}),e.jsx("mesh",{name:"visuals001_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_2.geometry,material:h.material_Material_Farbe__1_}),e.jsx("mesh",{name:"visuals001_3",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_3.geometry,material:h.material_Material_Farbe__2_}),e.jsx("mesh",{name:"visuals001_4",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_4.geometry,material:h.material_Material_Farbe})]})})]}),e.jsxs("group",{name:"link_0-base",children:[e.jsx("group",{name:"joint_1"}),e.jsxs("group",{name:"visuals",children:[e.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals_1.geometry,material:h.material_Material_Metall}),e.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals_2.geometry,material:h.material_Material_Farbe__1_})]})]})]})})}))]})}function Ka(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,Math.PI/2,0,0,0,0];return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"M10iD",rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"M10iD_J01",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"M10iD_J02",position:[.075,0,0],rotation:[Math.PI/2,Math.PI/2,0],children:[e.jsxs(n.animated.group,{name:"M10iD_J03",position:[.64,0,0],children:[e.jsxs(n.animated.group,{name:"M10iD_J04",position:[.195,0,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"M10iD_J05",position:[0,-.7,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"M10iD_J06",rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"M10iD_FLG",position:[0,-.075,0],rotation:[-Math.PI,0,0]}),e.jsx("mesh",{name:"M10iD_L06",castShadow:!0,receiveShadow:!0,geometry:l.M10iD_L06.geometry,material:h.Fanuc_BlackMetal_AO,position:[-.835,.775,0],rotation:[0,0,-Math.PI/2]})]}),e.jsx("mesh",{name:"M10iD_L05",castShadow:!0,receiveShadow:!0,geometry:l.M10iD_L05.geometry,material:h.Fanuc_BlackMetal_AO,position:[-.835,0,-.775],rotation:[-Math.PI/2,0,-Math.PI/2]})]}),e.jsxs("group",{name:"M10iD_L04",position:[-.835,.075,0],rotation:[0,0,-Math.PI/2],children:[e.jsx("mesh",{name:"Mesh_654",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_654.geometry,material:h.Fanuc_Yellow_Textured_AO}),e.jsx("mesh",{name:"Mesh_654_1",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_654_1.geometry,material:h.Fanuc_BlackMetal_AO})]})]}),e.jsxs("group",{name:"M10iD_L03",position:[-.64,0,-.075],rotation:[-Math.PI/2,0,-Math.PI/2],children:[e.jsx("mesh",{name:"Mesh_378",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_378.geometry,material:h.Material_1_AO}),e.jsx("mesh",{name:"Mesh_378_1",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_378_1.geometry,material:h.Fanuc_Yellow_Textured_AO}),e.jsx("mesh",{name:"Mesh_378_2",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_378_2.geometry,material:h.Fanuc_BlackMetal_AO})]})]}),e.jsxs("group",{name:"M10iD_L02",position:[0,0,-.075],rotation:[-Math.PI/2,0,-Math.PI/2],children:[e.jsx("mesh",{name:"Mesh_358",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_358.geometry,material:h.Fanuc_Yellow_Textured_AO}),e.jsx("mesh",{name:"Mesh_358_1",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_358_1.geometry,material:h.Fanuc_BlackMetal_AO})]})]}),e.jsxs("group",{name:"M10iD_L01",children:[e.jsx("mesh",{name:"Mesh_356",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_356.geometry,material:h.Fanuc_Yellow_Textured_AO}),e.jsx("mesh",{name:"Mesh_356_1",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_356_1.geometry,material:h.Material_1_AO}),e.jsx("mesh",{name:"Mesh_356_2",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_356_2.geometry,material:h.Fanuc_BlackMetal_AO})]})]}),e.jsx("mesh",{name:"M10iD_L00",castShadow:!0,receiveShadow:!0,geometry:l.M10iD_L00.geometry,material:h.Fanuc_BlackMetal_AO,rotation:[-Math.PI/2,0,0]})]})})}))]})}function Wa(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,Math.PI/2,0,0,0,0];return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"M10iD",rotation:[0,0,0],children:[e.jsxs(n.animated.group,{name:"M20iD25_J00",children:[e.jsxs(n.animated.group,{name:"M20iD25_J01",position:[.075,0,0],rotation:[Math.PI/2,Math.PI/2,0],children:[e.jsxs(n.animated.group,{name:"M20iD25_J02",position:[.84,0,0],children:[e.jsxs(n.animated.group,{name:"M20iD25_J03",position:[.215,0,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"M20iD25_J04",position:[0,-.89,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"M20iD25_J05",rotation:[-Math.PI/2,0,0],children:[e.jsx("group",{name:"M20iD25_FLG",position:[0,-.09,0],rotation:[-Math.PI,0,0]}),e.jsx("mesh",{name:"M20iD25_L06",castShadow:!0,receiveShadow:!0,geometry:l.M20iD25_L06.geometry,material:h.Fanuc_BlackMetal_AO,position:[0,-.09,0],rotation:[Math.PI/2,0,Math.PI]})]}),e.jsx("mesh",{name:"M20iD25_L05",castShadow:!0,receiveShadow:!0,geometry:l.M20iD25_L05.geometry,material:h.Fanuc_BlackMetal_AO,rotation:[Math.PI,Math.PI/2,0]})]}),e.jsxs("group",{name:"M20iD25_L04",position:[0,-.286,0],rotation:[-Math.PI/2,Math.PI/2,0],children:[e.jsx("mesh",{name:"Mesh_2",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_2.geometry,material:h.Fanuc_Yellow_Textured_AO}),e.jsx("mesh",{name:"Mesh_2_1",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_2_1.geometry,material:h.Fanuc_BlackMetal_AO})]})]}),e.jsxs("group",{name:"M20iD25_L03",position:[0,.406,0],rotation:[Math.PI,Math.PI/2,0],children:[e.jsx("mesh",{name:"Mesh_15",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_15.geometry,material:h.Fanuc_BlackMetal_AO}),e.jsx("mesh",{name:"Mesh_15_1",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_15_1.geometry,material:h.Fanuc_Yellow_Textured_AO}),e.jsx("mesh",{name:"Mesh_15_2",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_15_2.geometry,material:h.Material_9_AO})]})]}),e.jsxs("group",{name:"M20iD25_L02",position:[0,.505,-.055],rotation:[-Math.PI,Math.PI/2,0],children:[e.jsx("mesh",{name:"Mesh_37",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_37.geometry,material:h.Fanuc_BlackMetal_AO}),e.jsx("mesh",{name:"Mesh_37_1",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_37_1.geometry,material:h.Fanuc_Yellow_Textured_AO})]})]}),e.jsxs("group",{name:"M20iD25_L01",rotation:[-Math.PI/2,0,0],children:[e.jsx("mesh",{name:"Mesh_45",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_45.geometry,material:h.Material_9_AO}),e.jsx("mesh",{name:"Mesh_45_1",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_45_1.geometry,material:h.Fanuc_Yellow_Textured_AO}),e.jsx("mesh",{name:"Mesh_45_2",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_45_2.geometry,material:h.Fanuc_BlackMetal_AO})]})]}),e.jsx("mesh",{name:"M20iD25_L00",castShadow:!0,receiveShadow:!0,geometry:l.M20iD25_L00.geometry,material:h.Fanuc_BlackMetal_AO,position:[0,-.425,0],rotation:[-Math.PI/2,0,0]})]})})}))]})}function Ha(t){var o=t.modelURL,r=t.connectedMotionGroup,c=s(t,["modelURL","connectedMotionGroup"]),u=a.useGLTF(o),l=u.nodes,h=u.materials,d=[0,-Math.PI/2,0,0,0,0];return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]+d[n]}))}}),e.jsx("group",i({},c,{dispose:null,children:e.jsx("group",{name:"Scene",children:e.jsxs("group",{name:"IRB1200_7_70_IRC5",rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"IRB1200_7_70_IRC5_J01",rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"IRB1200_7_70_IRC5_J02",position:[0,.399,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[e.jsxs(n.animated.group,{name:"IRB1200_7_70_IRC5_J03",position:[.35,0,0],children:[e.jsxs(n.animated.group,{name:"IRB1200_7_70_IRC5_J04",position:[.042,0,0],rotation:[-Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"IRB1200_7_70_IRC5_J05",position:[0,.351,0],rotation:[Math.PI/2,0,0],children:[e.jsxs(n.animated.group,{name:"IRB1200_7_70_IRC5_J06",rotation:[Math.PI/2,0,-Math.PI],children:[e.jsx("group",{name:"IRB1200_7_70_IRC5_FLG",position:[0,.082,0]}),e.jsx("mesh",{name:"IRB1200_7_70_IRC5_L06",castShadow:!0,receiveShadow:!0,geometry:l.IRB1200_7_70_IRC5_L06.geometry,material:h["IRB1200_7-70_IRC5.003_Bake"]})]}),e.jsx("mesh",{name:"IRB1200_7_70_IRC5_L05",castShadow:!0,receiveShadow:!0,geometry:l.IRB1200_7_70_IRC5_L05.geometry,material:h["IRB1200_7-70_IRC5.003_Bake"]})]}),e.jsx("mesh",{name:"IRB1200_7_70_IRC5_L04",castShadow:!0,receiveShadow:!0,geometry:l.IRB1200_7_70_IRC5_L04.geometry,material:h["IRB1200_7-70_IRC5.003_Bake"]})]}),e.jsx("mesh",{name:"IRB1200_7_70_IRC5_L03",castShadow:!0,receiveShadow:!0,geometry:l.IRB1200_7_70_IRC5_L03.geometry,material:h["IRB1200_7-70_IRC5.003_Bake"]})]}),e.jsx("mesh",{name:"IRB1200_7_70_IRC5_L02",castShadow:!0,receiveShadow:!0,geometry:l.IRB1200_7_70_IRC5_L02.geometry,material:h["IRB1200_7-70_IRC5.003_Bake"]})]}),e.jsx("mesh",{name:"IRB1200_7_70_IRC5_L01",castShadow:!0,receiveShadow:!0,geometry:l.IRB1200_7_70_IRC5_L01.geometry,material:h["IRB1200_7-70_IRC5.003_Bake"],rotation:[Math.PI/2,0,0]})]}),e.jsx("mesh",{name:"IRB1200_7_70_IRC5_L00",castShadow:!0,receiveShadow:!0,geometry:l.IRB1200_7_70_IRC5_L00.geometry,material:h["IRB1200_7-70_IRC5.003_Bake"],rotation:[-Math.PI/2,0,0]})]})})}))]})}["Symbol","Map","Set"].forEach((function(e){void 0===v()[e]&&_("MobX requires global '"+e+"' to be available or polyfilled")})),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return"production"===process.env.NODE_ENV?(console.warn("[mobx.spy] Is a no-op in production builds"),function(){}):(Ot.spyListeners.push(e),O((function(){Ot.spyListeners=Ot.spyListeners.filter((function(t){return t!==e}))})))},extras:{getDebugName:fa},$mobx:re});var qa="line",za="mesh";function Ya(t){var n=t.connectedMotionGroup,o=s(t,["connectedMotionGroup"]),c=new r.Matrix4;function u(e,t){var n=new r.Vector3,a=new r.Quaternion,o=new r.Vector3;c.decompose(n,a,o);var i=n.clone(),s=(new r.Matrix4).makeRotationY(e.theta+t*(e.reverse_rotation_direction?-1:1)).multiply((new r.Matrix4).makeTranslation(0,e.d/1e3,0)).multiply((new r.Matrix4).makeTranslation(e.a/1e3,0,0)).multiply((new r.Matrix4).makeRotationX(e.alpha));return c.multiply(s),c.decompose(n,a,o),{a:i,b:n}}return e.jsxs(e.Fragment,{children:[e.jsx(Oa,{connectedMotionGroup:n,robotRootObjectName:"Scene",onRotationChanged:function(e,t){c.identity(),e.forEach((function(e,a){!function(e,t,a,o){var r=n.motionGroupSpecification.dh_parameters;if(r){var i=r[e];if(i){var s=u(i,o),c=s.a,l=s.b;t.geometry.setPositions([c.toArray(),l.toArray()].flat()),a.position.set(l.x,l.y,l.z)}}}(a,e.getObjectByName(qa),e.getObjectByName(za),t[a])}))},jointCollector:function(e){return d(e,"^group_[0-9]+$")}}),e.jsxs("group",i({},o,{name:"Scene",children:[e.jsxs("mesh",{children:[e.jsx("sphereGeometry",{args:[.01,32,32]}),e.jsx("meshStandardMaterial",{color:"black",depthTest:!0})]}),n.motionGroupSpecification.dh_parameters.map((function(t,o){var r,i=u(t,null!==(r=n.rapidlyChangingMotionState.state.joint_position.joints[o])&&void 0!==r?r:0),s=i.a,c=i.b;return e.jsxs("group",{name:"group_".concat(o),children:[e.jsx(a.Line,{name:qa,points:[s,c],color:"white",lineWidth:5}),e.jsxs("mesh",{name:za,position:c,children:[e.jsx("sphereGeometry",{args:[.01,32,32]}),e.jsx("meshStandardMaterial",{color:"black",depthTest:!0})]},"mesh_"+o)]},"group_"+o)}))]}))]})}var Za=function(e){return c(void 0,void 0,void 0,(function(){return u(this,(function(t){return[2,"https://cdn.jsdelivr.net/gh/wandelbotsgmbh/wandelbots-js-react-components/public/models/".concat(e,".glb")]}))}))};var $a=Array(6).fill(2*Math.PI);function Qa(t){var n=t.positions,o=void 0===n?[2,0,2,0,2,0,2,0]:n;return e.jsxs(e.Fragment,{children:[e.jsx(a.Lightformer,{intensity:5,"rotation-x":Math.PI/2,position:[0,5,-9],scale:[10,10,1]}),e.jsx("group",{rotation:[0,.5,0],children:e.jsx("group",{children:o.map((function(t,n){return e.jsx(a.Lightformer,{form:"circle",intensity:5,rotation:[Math.PI/2,0,0],position:[t,4,4*n],scale:[3,1,1]},n)}))})}),e.jsx(a.Lightformer,{intensity:40,"rotation-y":Math.PI/2,position:[-5,1,-1],scale:[20,.1,1]}),e.jsx(a.Lightformer,{intensity:20,"rotation-y":-Math.PI,position:[-5,-2,-1],scale:[20,.1,1]}),e.jsx(a.Lightformer,{"rotation-y":Math.PI/2,position:[-5,-1,-1],scale:[20,.5,1],intensity:5}),e.jsx(a.Lightformer,{"rotation-y":-Math.PI/2,position:[10,1,0],scale:[20,1,1],intensity:10}),e.jsx(a.Lightformer,{form:"ring",color:"white",intensity:5,scale:10,position:[-15,4,-18],target:[0,0,0]})]})}exports.ArrowForwardFilledIcon=function(){return e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M12 4L10.59 5.41L16.17 11H4V13H16.17L10.59 18.59L12 20L20 12L12 4Z",fill:"white"})})},exports.ExpandFilledIcon=function(){return e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M16.59 8.29492L12 12.8749L7.41 8.29492L6 9.70492L12 15.7049L18 9.70492L16.59 8.29492Z",fill:"white","fill-opacity":"0.8"})})},exports.HomeIcon=function(){return e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5 22C3.34315 22 2 20.6569 2 19V11.9225C2 10.7074 2.55236 9.55811 3.50122 8.79902L12 2L20.4988 8.79902C21.4476 9.55811 22 10.7074 22 11.9225V19C22 20.6569 20.6569 22 19 22H5ZM20.5 11.9225V19C20.5 19.8284 19.8284 20.5 19 20.5H16V14C16 12.8954 15.1046 12 14 12H10C8.89543 12 8 12.8954 8 14V20.5H5C4.17157 20.5 3.5 19.8284 3.5 19V11.9225C3.5 11.163 3.84522 10.4448 4.43826 9.97033L12 3.92094L19.5617 9.97033C20.1548 10.4448 20.5 11.163 20.5 11.9225Z",fill:"white"})})},exports.InfoOutlinedIcon=function(){return e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M11 7H13V9H11V7ZM11 11H13V17H11V11ZM12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20Z",fill:"white"})})},exports.PresetEnvironment=function(){return e.jsx(a.Environment,{children:e.jsx(Qa,{})})},exports.RobotIcon=function(){return e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.47826 18.9999V21.2219V22.913H10.1694H16.961H18.6522V21.2219V18.2174L13.1958 12.761L12 11.5652L13.1958 10.3694L13.5433 10.0219L14.7391 8.82609L15.8911 9.9781L15.9349 10.0219L17.087 11.1739L18.2828 9.9781L19.8042 8.45668L21 7.26087L19.8042 6.06506L15.9349 2.19581L14.7391 1L13.5433 2.19581L4.19581 11.5433L3 12.7391L4.19581 13.9349L8.47817 18.2173V18.9999H8.47826ZM10.1694 18.9999V21.2219H16.961V18.9179L10.8042 12.761L9.60839 11.5652L10.8042 10.3694L13.5433 7.63028L13.5534 7.62018L12.032 6.09875L5.39161 12.7391L9.67407 17.0216L10.0872 17.4347H13.5651L15.1303 18.9999H10.1694ZM18.6084 7.26087L17.093 8.7763L13.2237 4.90705L14.7391 3.39161L18.6084 7.26087Z",fill:"white"})})},exports.SupportedRobot=function(n){var a,o=n.getModel,r=void 0===o?Za:o,c=s(n,["getModel"]),u=c.connectedMotionGroup.modelFromController;switch(u){case"UniversalRobots_UR3":a=La;break;case"UniversalRobots_UR3e":a=Na;break;case"UniversalRobots_UR5":a=Ia;break;case"UniversalRobots_UR5e":a=Ea;break;case"UniversalRobots_UR10":a=Ca;break;case"UniversalRobots_UR10e":a=Pa;break;case"Yaskawa_AR900":case"Yaskawa_GP7":a=ka;break;case"Yaskawa_AR1440":a=Da;break;case"Yaskawa_AR1730":a=Ua;break;case"Yaskawa_AR2010":a=Va;break;case"Yaskawa_AR3120":a=Ba;break;case"FANUC_CRX10iA":a=Ga;break;case"FANUC_CRX25iA":a=Ta;break;case"FANUC_CRX25iAL":a=Fa;break;case"FANUC_ARC_Mate_120iD":a=Wa;break;case"FANUC_ARC_Mate_100iD":a=Ka;break;case"KUKA_KR210_R2700":a=Ja;break;case"KUKA_KR270_R2700":a=Xa;break;case"ABB_1200_07_7":a=Ha;break;default:console.warn("Unknown robot type: ".concat(u)),a=Ya}return e.jsx(t.Suspense,{fallback:e.jsx(Ya,i({},c)),children:e.jsx(a,i({modelURL:r(u)},c))})},exports.WBLogoIcon=function(t){var n=t.width,a=void 0===n?21:n,o=t.fillColor,r=void 0===o?"white":o;return e.jsxs("svg",{width:"".concat(a),height:"".concat(1.19*a),viewBox:"0 0 21 25",fill:r,style:{transition:"fill 2s ease"},xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M0 8.25553V14.2168L17.0228 4.47097L14.4197 0L0 8.25553Z"}),e.jsx("path",{d:"M9.70299 11.6758L0 17.2112V23.1846L9.70299 17.6492V11.6758Z"}),e.jsx("path",{d:"M11.8886 19.4131L2.22571 24.993H15.5035V19.4131H11.8886Z"})]})},exports.defaultAxisConfig=$a;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import{useEffect as o,useRef as r,Suspense as a}from"react";import{Globals as i,useSpring as s,animated as c}from"@react-spring/three";import{useGLTF as u,Line as l,Environment as h,Lightformer as _}from"@react-three/drei";import{useThree as d}from"@react-three/fiber";import{Matrix4 as m,Vector3 as p,Quaternion as v}from"three";function g(){return e("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M12 4L10.59 5.41L16.17 11H4V13H16.17L10.59 18.59L12 20L20 12L12 4Z",fill:"white"})})}function f(){return e("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M16.59 8.29492L12 12.8749L7.41 8.29492L6 9.70492L12 15.7049L18 9.70492L16.59 8.29492Z",fill:"white","fill-opacity":"0.8"})})}function y(){return e("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5 22C3.34315 22 2 20.6569 2 19V11.9225C2 10.7074 2.55236 9.55811 3.50122 8.79902L12 2L20.4988 8.79902C21.4476 9.55811 22 10.7074 22 11.9225V19C22 20.6569 20.6569 22 19 22H5ZM20.5 11.9225V19C20.5 19.8284 19.8284 20.5 19 20.5H16V14C16 12.8954 15.1046 12 14 12H10C8.89543 12 8 12.8954 8 14V20.5H5C4.17157 20.5 3.5 19.8284 3.5 19V11.9225C3.5 11.163 3.84522 10.4448 4.43826 9.97033L12 3.92094L19.5617 9.97033C20.1548 10.4448 20.5 11.163 20.5 11.9225Z",fill:"white"})})}function b(){return e("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M11 7H13V9H11V7ZM11 11H13V17H11V11ZM12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20Z",fill:"white"})})}function S(){return e("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.47826 18.9999V21.2219V22.913H10.1694H16.961H18.6522V21.2219V18.2174L13.1958 12.761L12 11.5652L13.1958 10.3694L13.5433 10.0219L14.7391 8.82609L15.8911 9.9781L15.9349 10.0219L17.087 11.1739L18.2828 9.9781L19.8042 8.45668L21 7.26087L19.8042 6.06506L15.9349 2.19581L14.7391 1L13.5433 2.19581L4.19581 11.5433L3 12.7391L4.19581 13.9349L8.47817 18.2173V18.9999H8.47826ZM10.1694 18.9999V21.2219H16.961V18.9179L10.8042 12.761L9.60839 11.5652L10.8042 10.3694L13.5433 7.63028L13.5534 7.62018L12.032 6.09875L5.39161 12.7391L9.67407 17.0216L10.0872 17.4347H13.5651L15.1303 18.9999H10.1694ZM18.6084 7.26087L17.093 8.7763L13.2237 4.90705L14.7391 3.39161L18.6084 7.26087Z",fill:"white"})})}function w(n){var o=n.width,r=void 0===o?21:o,a=n.fillColor,i=void 0===a?"white":a;return t("svg",{width:"".concat(r),height:"".concat(1.19*r),viewBox:"0 0 21 25",fill:i,style:{transition:"fill 2s ease"},xmlns:"http://www.w3.org/2000/svg",children:[e("path",{d:"M0 8.25553V14.2168L17.0228 4.47097L14.4197 0L0 8.25553Z"}),e("path",{d:"M9.70299 11.6758L0 17.2112V23.1846L9.70299 17.6492V11.6758Z"}),e("path",{d:"M11.8886 19.4131L2.22571 24.993H15.5035V19.4131H11.8886Z"})]})}var M=function(){return M=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},M.apply(this,arguments)};function R(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n}function A(e,t,n,o){return new(n||(n=Promise))((function(r,a){function i(e){try{c(o.next(e))}catch(e){a(e)}}function s(e){try{c(o.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}c((o=o.apply(e,t||[])).next())}))}function O(e,t){var n,o,r,a,i={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(n=1,o&&(r=2&s[0]?o.return:s[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,s[1])).done)return r;switch(o=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,o=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(r=i.trys,(r=r.length>0&&r[r.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]<r[3])){i.label=s[1];break}if(6===s[0]&&i.label<r[1]){i.label=r[1],r=s;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(s);break}r[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],o=0}finally{n=r=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}"function"==typeof SuppressedError&&SuppressedError;var L="(^joint_[0-9]+$)|(_J[0-9]+$)";function N(e){return 0===e.children.length?[e]:function(e,t,n){if(n||2===arguments.length)for(var o,r=0,a=t.length;r<a;r++)!o&&r in t||(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}([e],e.children.flatMap((function(e){return N(e)})),!0)}function I(e,t){return N(e).filter((function(e){return function(e,t){return new RegExp(null!=t?t:L).test(e)}(e.name,t)}))}var C="production"!==process.env.NODE_ENV?{0:"Invalid value for configuration 'enforceActions', expected 'never', 'always' or 'observed'",1:function(e,t){return"Cannot apply '"+e+"' to '"+t.toString()+"': Field not found."},5:"'keys()' can only be used on observable objects, arrays, sets and maps",6:"'values()' can only be used on observable objects, arrays, sets and maps",7:"'entries()' can only be used on observable objects, arrays and maps",8:"'set()' can only be used on observable objects, arrays and maps",9:"'remove()' can only be used on observable objects, arrays and maps",10:"'has()' can only be used on observable objects, arrays and maps",11:"'get()' can only be used on observable objects, arrays and maps",12:"Invalid annotation",13:"Dynamic observable objects cannot be frozen. If you're passing observables to 3rd party component/function that calls Object.freeze, pass copy instead: toJS(observable)",14:"Intercept handlers should return nothing or a change object",15:"Observable arrays cannot be frozen. If you're passing observables to 3rd party component/function that calls Object.freeze, pass copy instead: toJS(observable)",16:"Modification exception: the internal structure of an observable array was changed.",17:function(e,t){return"[mobx.array] Index out of bounds, "+e+" is larger than "+t},18:"mobx.map requires Map polyfill for the current browser. Check babel-polyfill or core-js/es6/map.js",19:function(e){return"Cannot initialize from classes that inherit from Map: "+e.constructor.name},20:function(e){return"Cannot initialize map from "+e},21:function(e){return"Cannot convert to map from '"+e+"'"},22:"mobx.set requires Set polyfill for the current browser. Check babel-polyfill or core-js/es6/set.js",23:"It is not possible to get index atoms from arrays",24:function(e){return"Cannot obtain administration from "+e},25:function(e,t){return"the entry '"+e+"' does not exist in the observable map '"+t+"'"},26:"please specify a property",27:function(e,t){return"no observable property '"+e.toString()+"' found on the observable object '"+t+"'"},28:function(e){return"Cannot obtain atom from "+e},29:"Expecting some object",30:"invalid action stack. did you forget to finish an action?",31:"missing option for computed: get",32:function(e,t){return"Cycle detected in computation "+e+": "+t},33:function(e){return"The setter of computed value '"+e+"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?"},34:function(e){return"[ComputedValue '"+e+"'] It is not possible to assign a new value to a computed value."},35:"There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`",36:"isolateGlobalState should be called before MobX is running any reactions",37:function(e){return"[mobx] `observableArray."+e+"()` mutates the array in-place, which is not allowed inside a derivation. Use `array.slice()."+e+"()` instead"},38:"'ownKeys()' can only be used on observable objects",39:"'defineProperty()' can only be used on observable objects"}:{};function E(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];if("production"!==process.env.NODE_ENV){var r="string"==typeof e?e:C[e];throw"function"==typeof r&&(r=r.apply(null,n)),new Error("[MobX] "+r)}throw new Error("number"==typeof e?"[MobX] minified error nr: "+e+(n.length?" "+n.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+e)}var P={};function k(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:P}var D=Object.assign,U=Object.getOwnPropertyDescriptor,j=Object.defineProperty,V=Object.prototype,B=[];Object.freeze(B);var x={};Object.freeze(x);var G="undefined"!=typeof Proxy,J=Object.toString();function T(){G||E("production"!==process.env.NODE_ENV?"`Proxy` objects are not available in the current environment. Please configure MobX to enable a fallback implementation.`":"Proxy not available")}function F(e){"production"!==process.env.NODE_ENV&&Kt.verifyProxies&&E("MobX is currently configured to be able to run in ES5 mode, but in ES5 MobX won't be able to "+e)}function X(){return++Kt.mobxGuid}function K(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var W=function(){};function H(e){return"function"==typeof e}function q(e){switch(typeof e){case"string":case"symbol":case"number":return!0}return!1}function z(e){return null!==e&&"object"==typeof e}function Y(e){if(!z(e))return!1;var t=Object.getPrototypeOf(e);if(null==t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n.toString()===J}function Z(e){var t=null==e?void 0:e.constructor;return!!t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName)}function $(e,t,n){j(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function Q(e,t,n){j(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function ee(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return z(e)&&!0===e[n]}}function te(e){return null!=e&&"[object Map]"===Object.prototype.toString.call(e)}function ne(e){return null!=e&&"[object Set]"===Object.prototype.toString.call(e)}var oe=void 0!==Object.getOwnPropertySymbols;var re="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:oe?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function ae(e){return"string"==typeof e?e:"symbol"==typeof e?e.toString():new String(e).toString()}function ie(e){return null===e?null:"object"==typeof e?""+e:e}function se(e,t){return V.hasOwnProperty.call(e,t)}var ce=Object.getOwnPropertyDescriptors||function(e){var t={};return re(e).forEach((function(n){t[n]=U(e,n)})),t};function ue(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function le(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,ve(o.key),o)}}function he(e,t,n){return t&&le(e.prototype,t),n&&le(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function _e(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return ue(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ue(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function de(){return de=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},de.apply(null,arguments)}function me(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,pe(e,t)}function pe(e,t){return pe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},pe(e,t)}function ve(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}var ge=Symbol("mobx-stored-annotations");function fe(e){return Object.assign((function(t,n){if(be(n))return e.decorate_20223_(t,n);ye(t,n,e)}),e)}function ye(e,t,n){(se(e,ge)||$(e,ge,de({},e[ge])),"production"!==process.env.NODE_ENV&&Ce(n)&&!se(e[ge],t))&&E("'"+(e.constructor.name+".prototype."+t.toString())+"' is decorated with 'override', but no such decorated member was found on prototype.");!function(e,t,n){if("production"!==process.env.NODE_ENV&&!Ce(t)&&se(e[ge],n)){var o=e.constructor.name+".prototype."+n.toString(),r=e[ge][n].annotationType_;E("Cannot apply '@"+t.annotationType_+"' to '"+o+"':\nThe field is already decorated with '@"+r+"'.\nRe-decorating fields is not allowed.\nUse '@override' decorator for methods overridden by subclass.")}}(e,n,t),Ce(n)||(e[ge][t]=n)}function be(e){return"object"==typeof e&&"string"==typeof e.kind}function Se(e,t){"production"===process.env.NODE_ENV||t.includes(e.kind)||E("The decorator applied to '"+String(e.name)+"' cannot be used on a "+e.kind+" element")}var we=Symbol("mobx administration"),Me=function(){function e(e){void 0===e&&(e="production"!==process.env.NODE_ENV?"Atom@"+X():"Atom"),this.name_=void 0,this.isPendingUnobservation=!1,this.isBeingObserved=!1,this.observers_=new Set,this.diffValue_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Nt.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.reportObserved=function(){return Zt(this)},t.reportChanged=function(){zt(),$t(this),Yt()},t.toString=function(){return this.name_},e}(),Re=ee("Atom",Me);function Ae(e,t,n){void 0===t&&(t=W),void 0===n&&(n=W);var o,r=new Me(e);return t!==W&&Nn(An,r,t,o),n!==W&&Ln(r,n),r}var Oe={identity:function(e,t){return e===t},structural:function(e,t){return xo(e,t)},default:function(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t},shallow:function(e,t){return xo(e,t,1)}};function Le(e,t,n){return Vn(e)?e:Array.isArray(e)?_t.array(e,{name:n}):Y(e)?_t.object(e,void 0,{name:n}):te(e)?_t.map(e,{name:n}):ne(e)?_t.set(e,{name:n}):"function"!=typeof e||wn(e)||jn(e)?e:Z(e)?Dn(e):Sn(n,e)}function Ne(e){return e}var Ie="override";function Ce(e){return e.annotationType_===Ie}function Ee(e,t){return{annotationType_:e,options_:t,make_:Pe,extend_:ke,decorate_20223_:De}}function Pe(e,t,n,o){var r;if(null!=(r=this.options_)&&r.bound)return null===this.extend_(e,t,n,!1)?0:1;if(o===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(wn(n.value))return 1;var a=Ue(e,this,t,n,!1);return j(o,t,a),2}function ke(e,t,n,o){var r=Ue(e,this,t,n);return e.defineProperty_(t,r,o)}function De(e,t){"production"!==process.env.NODE_ENV&&Se(t,["method","field"]);var n=t.kind,o=t.name,r=t.addInitializer,a=this;if("field"!=n){var i,s,c,u,l,h;if("method"==n)return wn(e)||(s=e,e=St(null!=(c=null==(u=a.options_)?void 0:u.name)?c:o.toString(),s,null!=(l=null==(h=a.options_)?void 0:h.autoAction)&&l)),null!=(i=this.options_)&&i.bound&&r((function(){var e=this,t=e[o].bind(e);t.isMobxAction=!0,e[o]=t})),e;E("Cannot apply '"+a.annotationType_+"' to '"+String(o)+"' (kind: "+n+"):\n'"+a.annotationType_+"' can only be used on properties with a function value.")}else r((function(){ye(this,o,a)}))}function Ue(e,t,n,o,r){var a,i,s,c,u,l,h;void 0===r&&(r=Kt.safeDescriptors),function(e,t,n,o){var r=t.annotationType_,a=o.value;"production"===process.env.NODE_ENV||H(a)||E("Cannot apply '"+r+"' to '"+e.name_+"."+n.toString()+"':\n'"+r+"' can only be used on properties with a function value.")}(e,t,n,o);var _,d=o.value;null!=(a=t.options_)&&a.bound&&(d=d.bind(null!=(_=e.proxy_)?_:e.target_));return{value:St(null!=(i=null==(s=t.options_)?void 0:s.name)?i:n.toString(),d,null!=(c=null==(u=t.options_)?void 0:u.autoAction)&&c,null!=(l=t.options_)&&l.bound?null!=(h=e.proxy_)?h:e.target_:void 0),configurable:!r||e.isPlainObject_,enumerable:!1,writable:!r}}function je(e,t){return{annotationType_:e,options_:t,make_:Ve,extend_:Be,decorate_20223_:xe}}function Ve(e,t,n,o){var r;if(o===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(r=this.options_)&&r.bound&&(!se(e.target_,t)||!jn(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(jn(n.value))return 1;var a=Ge(e,this,t,n,!1,!1);return j(o,t,a),2}function Be(e,t,n,o){var r,a=Ge(e,this,t,n,null==(r=this.options_)?void 0:r.bound);return e.defineProperty_(t,a,o)}function xe(e,t){var n;"production"!==process.env.NODE_ENV&&Se(t,["method"]);var o=t.name,r=t.addInitializer;return jn(e)||(e=Dn(e)),null!=(n=this.options_)&&n.bound&&r((function(){var e=this,t=e[o].bind(e);t.isMobXFlow=!0,e[o]=t})),e}function Ge(e,t,n,o,r,a){void 0===a&&(a=Kt.safeDescriptors),function(e,t,n,o){var r=t.annotationType_,a=o.value;"production"===process.env.NODE_ENV||H(a)||E("Cannot apply '"+r+"' to '"+e.name_+"."+n.toString()+"':\n'"+r+"' can only be used on properties with a generator function value.")}(e,t,n,o);var i,s=o.value;(jn(s)||(s=Dn(s)),r)&&((s=s.bind(null!=(i=e.proxy_)?i:e.target_)).isMobXFlow=!0);return{value:s,configurable:!a||e.isPlainObject_,enumerable:!1,writable:!a}}function Je(e,t){return{annotationType_:e,options_:t,make_:Te,extend_:Fe,decorate_20223_:Xe}}function Te(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function Fe(e,t,n,o){return function(e,t,n,o){var r=t.annotationType_,a=o.get;"production"===process.env.NODE_ENV||a||E("Cannot apply '"+r+"' to '"+e.name_+"."+n.toString()+"':\n'"+r+"' can only be used on getter(+setter) properties.")}(e,this,t,n),e.defineComputedProperty_(t,de({},this.options_,{get:n.get,set:n.set}),o)}function Xe(e,t){"production"!==process.env.NODE_ENV&&Se(t,["getter"]);var n=this,o=t.name;return(0,t.addInitializer)((function(){var t=go(this)[we],r=de({},n.options_,{get:e,context:this});r.name||(r.name="production"!==process.env.NODE_ENV?t.name_+"."+o.toString():"ObservableObject."+o.toString()),t.values_.set(o,new Lt(r))})),function(){return this[we].getObservablePropValue_(o)}}function Ke(e,t){return{annotationType_:e,options_:t,make_:We,extend_:He,decorate_20223_:qe}}function We(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function He(e,t,n,o){var r,a;return function(e,t,n,o){var r=t.annotationType_;"production"===process.env.NODE_ENV||"value"in o||E("Cannot apply '"+r+"' to '"+e.name_+"."+n.toString()+"':\n'"+r+"' cannot be used on getter/setter properties")}(e,this,t,n),e.defineObservableProperty_(t,n.value,null!=(r=null==(a=this.options_)?void 0:a.enhancer)?r:Le,o)}function qe(e,t){if("production"!==process.env.NODE_ENV){if("field"===t.kind)throw E("Please use `@observable accessor "+String(t.name)+"` instead of `@observable "+String(t.name)+"`");Se(t,["accessor"])}var n=this,o=t.kind,r=t.name,a=new WeakSet;function i(e,t){var o,i,s=go(e)[we],c=new Rt(t,null!=(o=null==(i=n.options_)?void 0:i.enhancer)?o:Le,"production"!==process.env.NODE_ENV?s.name_+"."+r.toString():"ObservableObject."+r.toString(),!1);s.values_.set(r,c),a.add(e)}if("accessor"==o)return{get:function(){return a.has(this)||i(this,e.get.call(this)),this[we].getObservablePropValue_(r)},set:function(e){return a.has(this)||i(this,e),this[we].setObservablePropValue_(r,e)},init:function(e){return a.has(this)||i(this,e),e}}}var ze="true",Ye=Ze();function Ze(e){return{annotationType_:ze,options_:e,make_:$e,extend_:Qe,decorate_20223_:et}}function $e(e,t,n,o){var r,a,i,s;if(n.get)return vt.make_(e,t,n,o);if(n.set){var c=St(t.toString(),n.set);return o===e.target_?null===e.defineProperty_(t,{configurable:!Kt.safeDescriptors||e.isPlainObject_,set:c})?0:2:(j(o,t,{configurable:!0,set:c}),2)}if(o!==e.target_&&"function"==typeof n.value)return Z(n.value)?(null!=(s=this.options_)&&s.autoBind?Dn.bound:Dn).make_(e,t,n,o):(null!=(i=this.options_)&&i.autoBind?Sn.bound:Sn).make_(e,t,n,o);var u,l=!1===(null==(r=this.options_)?void 0:r.deep)?_t.ref:_t;"function"==typeof n.value&&null!=(a=this.options_)&&a.autoBind&&(n.value=n.value.bind(null!=(u=e.proxy_)?u:e.target_));return l.make_(e,t,n,o)}function Qe(e,t,n,o){var r,a,i;if(n.get)return vt.extend_(e,t,n,o);if(n.set)return e.defineProperty_(t,{configurable:!Kt.safeDescriptors||e.isPlainObject_,set:St(t.toString(),n.set)},o);"function"==typeof n.value&&null!=(r=this.options_)&&r.autoBind&&(n.value=n.value.bind(null!=(i=e.proxy_)?i:e.target_));return(!1===(null==(a=this.options_)?void 0:a.deep)?_t.ref:_t).extend_(e,t,n,o)}function et(e,t){E("'"+this.annotationType_+"' cannot be used as a decorator")}var tt={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function nt(e){return e||tt}Object.freeze(tt);var ot=Ke("observable"),rt=Ke("observable.ref",{enhancer:Ne}),at=Ke("observable.shallow",{enhancer:function(e,t,n){return null==e||bo(e)||ro(e)||uo(e)||_o(e)?e:Array.isArray(e)?_t.array(e,{name:n,deep:!1}):Y(e)?_t.object(e,void 0,{name:n,deep:!1}):te(e)?_t.map(e,{name:n,deep:!1}):ne(e)?_t.set(e,{name:n,deep:!1}):void("production"!==process.env.NODE_ENV&&E("The shallow modifier / decorator can only used in combination with arrays, objects, maps and sets"))}}),it=Ke("observable.struct",{enhancer:function(e,t){return"production"!==process.env.NODE_ENV&&Vn(e)&&E("observable.struct should not be used with observable values"),xo(e,t)?t:e}}),st=fe(ot);function ct(e){return!0===e.deep?Le:!1===e.deep?Ne:(t=e.defaultDecorator)&&null!=(n=null==(o=t.options_)?void 0:o.enhancer)?n:Le;var t,n,o}function ut(e,t,n){return be(t)?ot.decorate_20223_(e,t):q(t)?void ye(e,t,ot):Vn(e)?e:Y(e)?_t.object(e,t,n):Array.isArray(e)?_t.array(e,t):te(e)?_t.map(e,t):ne(e)?_t.set(e,t):"object"==typeof e&&null!==e?e:_t.box(e,t)}D(ut,st);var lt,ht,_t=D(ut,{box:function(e,t){var n=nt(t);return new Rt(e,ct(n),n.name,!0,n.equals)},array:function(e,t){var n=nt(t);return(!1===Kt.useProxies||!1===n.proxy?ko:Zn)(e,ct(n),n.name)},map:function(e,t){var n=nt(t);return new co(e,ct(n),n.name)},set:function(e,t){var n=nt(t);return new ho(e,ct(n),n.name)},object:function(e,t,n){return Vo((function(){return function(e,t,n,o){"production"!==process.env.NODE_ENV&&(arguments.length>4&&E("'extendObservable' expected 2-4 arguments"),"object"!=typeof e&&E("'extendObservable' expects an object as first argument"),uo(e)&&E("'extendObservable' should not be used on maps, use map.merge instead"),Y(t)||E("'extendObservable' only accepts plain objects as second argument"),(Vn(t)||Vn(n))&&E("Extending an object with another observable (object) is not supported"));var r=ce(t);return Vo((function(){var t=go(e,o)[we];re(r).forEach((function(e){t.extend_(e,r[e],!n||(!(e in n)||n[e]))}))})),e}(!1===Kt.useProxies||!1===(null==n?void 0:n.proxy)?go({},n):function(e,t){var n,o;return T(),e=go(e,t),null!=(o=(n=e[we]).proxy_)?o:n.proxy_=new Proxy(e,Gn)}({},n),e,t)}))},ref:fe(rt),shallow:fe(at),deep:st,struct:fe(it)}),dt="computed",mt=Je(dt),pt=Je("computed.struct",{equals:Oe.structural}),vt=function(e,t){if(be(t))return mt.decorate_20223_(e,t);if(q(t))return ye(e,t,mt);if(Y(e))return fe(Je(dt,e));"production"!==process.env.NODE_ENV&&(H(e)||E("First argument to `computed` should be an expression."),H(t)&&E("A setter as second argument is no longer supported, use `{ set: fn }` option instead"));var n=Y(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new Lt(n)};Object.assign(vt,mt),vt.struct=fe(pt);var gt=0,ft=1,yt=null!=(lt=null==(ht=U((function(){}),"name"))?void 0:ht.configurable)&<,bt={value:"action",configurable:!0,writable:!1,enumerable:!1};function St(e,t,n,o){function r(){return function(e,t,n,o,r){var a=function(e,t,n,o){var r="production"!==process.env.NODE_ENV&&cn()&&!!e,a=0;if("production"!==process.env.NODE_ENV&&r){a=Date.now();var i=o?Array.from(o):B;ln({type:dn,name:e,object:n,arguments:i})}var s=Kt.trackingDerivation,c=!t||!s;zt();var u=Kt.allowStateChanges;c&&(Bt(),u=wt(!0));var l=Gt(!0),h={runAsAction_:c,prevDerivation_:s,prevAllowStateChanges_:u,prevAllowStateReads_:l,notifySpy_:r,startTime_:a,actionId_:ft++,parentActionId_:gt};return gt=h.actionId_,h}(e,t,o,r);try{return n.apply(o,r)}catch(e){throw a.error_=e,e}finally{!function(e){gt!==e.actionId_&&E(30);gt=e.parentActionId_,void 0!==e.error_&&(Kt.suppressReactionErrors=!0);Mt(e.prevAllowStateChanges_),Jt(e.prevAllowStateReads_),Yt(),e.runAsAction_&&xt(e.prevDerivation_);"production"!==process.env.NODE_ENV&&e.notifySpy_&&_n({time:Date.now()-e.startTime_});Kt.suppressReactionErrors=!1}(a)}}(e,n,t,o||this,arguments)}return void 0===n&&(n=!1),"production"!==process.env.NODE_ENV&&(H(t)||E("`action` can only be invoked on functions"),"string"==typeof e&&e||E("actions should have valid names, got: '"+e+"'")),r.isMobxAction=!0,r.toString=function(){return t.toString()},yt&&(bt.value=e,j(r,"name",bt)),r}function wt(e){var t=Kt.allowStateChanges;return Kt.allowStateChanges=e,t}function Mt(e){Kt.allowStateChanges=e}var Rt=function(e){function t(t,n,o,r,a){var i;return void 0===o&&(o="production"!==process.env.NODE_ENV?"ObservableValue@"+X():"ObservableValue"),void 0===r&&(r=!0),void 0===a&&(a=Oe.default),(i=e.call(this,o)||this).enhancer=void 0,i.name_=void 0,i.equals=void 0,i.hasUnreportedChange_=!1,i.interceptors_=void 0,i.changeListeners_=void 0,i.value_=void 0,i.dehancer=void 0,i.enhancer=n,i.name_=o,i.equals=a,i.value_=n(t,void 0,o),"production"!==process.env.NODE_ENV&&r&&cn()&&un({type:"create",object:i,observableKind:"value",debugObjectName:i.name_,newValue:""+i.value_}),i}me(t,e);var n=t.prototype;return n.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.set=function(e){var t=this.value_;if((e=this.prepareNewValue_(e))!==Kt.UNCHANGED){var n=cn();"production"!==process.env.NODE_ENV&&n&&ln({type:qn,object:this,observableKind:"value",debugObjectName:this.name_,newValue:e,oldValue:t}),this.setNewValue_(e),"production"!==process.env.NODE_ENV&&n&&_n()}},n.prepareNewValue_=function(e){if(Dt(this),Jn(this)){var t=Fn(this,{object:this,type:qn,newValue:e});if(!t)return Kt.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?Kt.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),Xn(this)&&Wn(this,{type:qn,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return Tn(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:qn,newValue:this.value_,oldValue:void 0}),Kn(this,e)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return ie(this.get())},n[Symbol.toPrimitive]=function(){return this.valueOf()},t}(Me);function At(e,t){return!!(e&t)}function Ot(e,t,n){return n?e|=t:e&=~t,e}var Lt=function(){function e(e){this.dependenciesState_=Nt.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.observers_=new Set,this.diffValue_=0,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Nt.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new Et(null),this.name_=void 0,this.triggeredBy_=void 0,this.flags_=0,this.derivation=void 0,this.setter_=void 0,this.isTracing_=It.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,e.get||E(31),this.derivation=e.get,this.name_=e.name||("production"!==process.env.NODE_ENV?"ComputedValue@"+X():"ComputedValue"),e.set&&(this.setter_=St("production"!==process.env.NODE_ENV?this.name_+"-setter":"ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?Oe.structural:Oe.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){!function(e){if(e.lowestObserverState_!==Nt.UP_TO_DATE_)return;e.lowestObserverState_=Nt.POSSIBLY_STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Nt.UP_TO_DATE_&&(e.dependenciesState_=Nt.POSSIBLY_STALE_,e.onBecomeStale_())}))}(this)},t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.get=function(){if(this.isComputing&&E(32,this.name_,this.derivation),0!==Kt.inBatch||0!==this.observers_.size||this.keepAlive_){if(Zt(this),kt(this)){var e=Kt.trackingContext;this.keepAlive_&&!e&&(Kt.trackingContext=this),this.trackAndCompute()&&function(e){if(e.lowestObserverState_===Nt.STALE_)return;e.lowestObserverState_=Nt.STALE_,e.observers_.forEach((function(t){t.dependenciesState_===Nt.POSSIBLY_STALE_?(t.dependenciesState_=Nt.STALE_,"production"!==process.env.NODE_ENV&&t.isTracing_!==It.NONE&&Qt(t,e)):t.dependenciesState_===Nt.UP_TO_DATE_&&(e.lowestObserverState_=Nt.UP_TO_DATE_)}))}(this),Kt.trackingContext=e}}else kt(this)&&(this.warnAboutUntrackedRead_(),zt(),this.value_=this.computeValue_(!1),Yt());var t=this.value_;if(Pt(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter&&E(33,this.name_),this.isRunningSetter=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter=!1}}else E(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===Nt.NOT_TRACKING_,n=this.computeValue_(!0),o=t||Pt(e)||Pt(n)||!this.equals_(e,n);return o&&(this.value_=n,"production"!==process.env.NODE_ENV&&cn()&&un({observableKind:"computed",debugObjectName:this.name_,object:this.scope_,type:"update",oldValue:e,newValue:n})),o},t.computeValue_=function(e){this.isComputing=!0;var t,n=wt(!1);if(e)t=Ut(this,this.derivation,this.scope_);else if(!0===Kt.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(e){t=new Et(e)}return Mt(n),this.isComputing=!1,t},t.suspend_=function(){this.keepAlive_||(jt(this),this.value_=void 0,"production"!==process.env.NODE_ENV&&this.isTracing_!==It.NONE&&console.log("[mobx.trace] Computed value '"+this.name_+"' was suspended and it will recompute on the next access."))},t.observe_=function(e,t){var n=this,o=!0,r=void 0;return Mn((function(){var a=n.get();if(!o||t){var i=Bt();e({observableKind:"computed",debugObjectName:n.name_,type:qn,object:n,newValue:a,oldValue:r}),xt(i)}o=!1,r=a}))},t.warnAboutUntrackedRead_=function(){"production"!==process.env.NODE_ENV&&(this.isTracing_!==It.NONE&&console.log("[mobx.trace] Computed value '"+this.name_+"' is being read outside a reactive context. Doing a full recompute."),("boolean"==typeof this.requiresReaction_?this.requiresReaction_:Kt.computedRequiresReaction)&&console.warn("[mobx] Computed value '"+this.name_+"' is being read outside a reactive context. Doing a full recompute."))},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return ie(this.get())},t[Symbol.toPrimitive]=function(){return this.valueOf()},he(e,[{key:"isComputing",get:function(){return At(this.flags_,e.isComputingMask_)},set:function(t){this.flags_=Ot(this.flags_,e.isComputingMask_,t)}},{key:"isRunningSetter",get:function(){return At(this.flags_,e.isRunningSetterMask_)},set:function(t){this.flags_=Ot(this.flags_,e.isRunningSetterMask_,t)}},{key:"isBeingObserved",get:function(){return At(this.flags_,e.isBeingObservedMask_)},set:function(t){this.flags_=Ot(this.flags_,e.isBeingObservedMask_,t)}},{key:"isPendingUnobservation",get:function(){return At(this.flags_,e.isPendingUnobservationMask_)},set:function(t){this.flags_=Ot(this.flags_,e.isPendingUnobservationMask_,t)}}])}();Lt.isComputingMask_=1,Lt.isRunningSetterMask_=2,Lt.isBeingObservedMask_=4,Lt.isPendingUnobservationMask_=8;var Nt,It,Ct=ee("ComputedValue",Lt);!function(e){e[e.NOT_TRACKING_=-1]="NOT_TRACKING_",e[e.UP_TO_DATE_=0]="UP_TO_DATE_",e[e.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",e[e.STALE_=2]="STALE_"}(Nt||(Nt={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(It||(It={}));var Et=function(e){this.cause=void 0,this.cause=e};function Pt(e){return e instanceof Et}function kt(e){switch(e.dependenciesState_){case Nt.UP_TO_DATE_:return!1;case Nt.NOT_TRACKING_:case Nt.STALE_:return!0;case Nt.POSSIBLY_STALE_:for(var t=Gt(!0),n=Bt(),o=e.observing_,r=o.length,a=0;a<r;a++){var i=o[a];if(Ct(i)){if(Kt.disableErrorBoundaries)i.get();else try{i.get()}catch(e){return xt(n),Jt(t),!0}if(e.dependenciesState_===Nt.STALE_)return xt(n),Jt(t),!0}}return Tt(e),xt(n),Jt(t),!1}}function Dt(e){if("production"!==process.env.NODE_ENV){var t=e.observers_.size>0;Kt.allowStateChanges||!t&&"always"!==Kt.enforceActions||console.warn("[MobX] "+(Kt.enforceActions?"Since strict-mode is enabled, changing (observed) observable values without using an action is not allowed. Tried to modify: ":"Side effects like changing state are not allowed at this point. Are you trying to modify state from, for example, a computed value or the render function of a React component? You can wrap side effects in 'runInAction' (or decorate functions with 'action') if needed. Tried to modify: ")+e.name_)}}function Ut(e,t,n){var o=Gt(!0);Tt(e),e.newObserving_=new Array(0===e.runId_?100:e.observing_.length),e.unboundDepsCount_=0,e.runId_=++Kt.runId;var r,a=Kt.trackingDerivation;if(Kt.trackingDerivation=e,Kt.inBatch++,!0===Kt.disableErrorBoundaries)r=t.call(n);else try{r=t.call(n)}catch(e){r=new Et(e)}return Kt.inBatch--,Kt.trackingDerivation=a,function(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,o=Nt.UP_TO_DATE_,r=0,a=e.unboundDepsCount_,i=0;i<a;i++){var s=n[i];0===s.diffValue_&&(s.diffValue_=1,r!==i&&(n[r]=s),r++),s.dependenciesState_>o&&(o=s.dependenciesState_)}n.length=r,e.newObserving_=null,a=t.length;for(;a--;){var c=t[a];0===c.diffValue_&&Ht(c,e),c.diffValue_=0}for(;r--;){var u=n[r];1===u.diffValue_&&(u.diffValue_=0,Wt(u,e))}o!==Nt.UP_TO_DATE_&&(e.dependenciesState_=o,e.onBecomeStale_())}(e),function(e){if("production"===process.env.NODE_ENV)return;if(0!==e.observing_.length)return;("boolean"==typeof e.requiresObservable_?e.requiresObservable_:Kt.reactionRequiresObservable)&&console.warn("[mobx] Derivation '"+e.name_+"' is created/updated without reading any observable value.")}(e),Jt(o),r}function jt(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)Ht(t[n],e);e.dependenciesState_=Nt.NOT_TRACKING_}function Vt(e){var t=Bt();try{return e()}finally{xt(t)}}function Bt(){var e=Kt.trackingDerivation;return Kt.trackingDerivation=null,e}function xt(e){Kt.trackingDerivation=e}function Gt(e){var t=Kt.allowStateReads;return Kt.allowStateReads=e,t}function Jt(e){Kt.allowStateReads=e}function Tt(e){if(e.dependenciesState_!==Nt.UP_TO_DATE_){e.dependenciesState_=Nt.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=Nt.UP_TO_DATE_}}var Ft=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},Xt=!0,Kt=function(){var e=k();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(Xt=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new Ft).version&&(Xt=!1),Xt?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new Ft):(setTimeout((function(){E(35)}),1),new Ft)}();function Wt(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function Ht(e,t){e.observers_.delete(t),0===e.observers_.size&&qt(e)}function qt(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,Kt.pendingUnobservations.push(e))}function zt(){Kt.inBatch++}function Yt(){if(0==--Kt.inBatch){rn();for(var e=Kt.pendingUnobservations,t=0;t<e.length;t++){var n=e[t];n.isPendingUnobservation=!1,0===n.observers_.size&&(n.isBeingObserved&&(n.isBeingObserved=!1,n.onBUO()),n instanceof Lt&&n.suspend_())}Kt.pendingUnobservations=[]}}function Zt(e){!function(e){"production"!==process.env.NODE_ENV&&!Kt.allowStateReads&&Kt.observableRequiresReaction&&console.warn("[mobx] Observable '"+e.name_+"' being read outside a reactive context.")}(e);var t=Kt.trackingDerivation;return null!==t?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved&&Kt.trackingContext&&(e.isBeingObserved=!0,e.onBO())),e.isBeingObserved):(0===e.observers_.size&&Kt.inBatch>0&&qt(e),!1)}function $t(e){e.lowestObserverState_!==Nt.STALE_&&(e.lowestObserverState_=Nt.STALE_,e.observers_.forEach((function(t){t.dependenciesState_===Nt.UP_TO_DATE_&&("production"!==process.env.NODE_ENV&&t.isTracing_!==It.NONE&&Qt(t,e),t.onBecomeStale_()),t.dependenciesState_=Nt.STALE_})))}function Qt(e,t){if(console.log("[mobx.trace] '"+e.name_+"' is invalidated due to a change in: '"+t.name_+"'"),e.isTracing_===It.BREAK){var n=[];en(In(Do(e,o)),n,1),new Function("debugger;\n/*\nTracing '"+e.name_+"'\n\nYou are entering this break point because derivation '"+e.name_+"' is being traced and '"+t.name_+"' is now forcing it to update.\nJust follow the stacktrace you should now see in the devtools to see precisely what piece of your code is causing this update\nThe stackframe you are looking for is at least ~6-8 stack-frames up.\n\n"+(e instanceof Lt?e.derivation.toString().replace(/[*]\//g,"/"):"")+"\n\nThe dependencies for this derivation are:\n\n"+n.join("\n")+"\n*/\n ")()}var o}function en(e,t,n){t.length>=1e3?t.push("(and many more)"):(t.push(""+"\t".repeat(n-1)+e.name),e.dependencies&&e.dependencies.forEach((function(e){return en(e,t,n+1)})))}var tn=function(){function e(e,t,n,o){void 0===e&&(e="production"!==process.env.NODE_ENV?"Reaction@"+X():"Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=Nt.NOT_TRACKING_,this.diffValue_=0,this.runId_=0,this.unboundDepsCount_=0,this.isDisposed_=!1,this.isScheduled_=!1,this.isTrackPending_=!1,this.isRunning_=!1,this.isTracing_=It.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=o}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled_||(this.isScheduled_=!0,Kt.pendingReactions.push(this),rn())},t.isScheduled=function(){return this.isScheduled_},t.runReaction_=function(){if(!this.isDisposed_){zt(),this.isScheduled_=!1;var e=Kt.trackingContext;if(Kt.trackingContext=this,kt(this)){this.isTrackPending_=!0;try{this.onInvalidate_(),"production"!==process.env.NODE_ENV&&this.isTrackPending_&&cn()&&un({name:this.name_,type:"scheduled-reaction"})}catch(e){this.reportExceptionInDerivation_(e)}}Kt.trackingContext=e,Yt()}},t.track=function(e){if(!this.isDisposed_){zt();var t,n=cn();"production"!==process.env.NODE_ENV&&n&&(t=Date.now(),ln({name:this.name_,type:"reaction"})),this.isRunning_=!0;var o=Kt.trackingContext;Kt.trackingContext=this;var r=Ut(this,e,void 0);Kt.trackingContext=o,this.isRunning_=!1,this.isTrackPending_=!1,this.isDisposed_&&jt(this),Pt(r)&&this.reportExceptionInDerivation_(r.cause),"production"!==process.env.NODE_ENV&&n&&_n({time:Date.now()-t}),Yt()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)this.errorHandler_(e,this);else{if(Kt.disableErrorBoundaries)throw e;var n="production"!==process.env.NODE_ENV?"[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '"+this+"'":"[mobx] uncaught error in '"+this+"'";Kt.suppressReactionErrors?"production"!==process.env.NODE_ENV&&console.warn("[mobx] (error in reaction '"+this.name_+"' suppressed, fix error of causing action below)"):console.error(n,e),"production"!==process.env.NODE_ENV&&cn()&&un({type:"error",name:this.name_,message:n,error:""+e}),Kt.globalReactionErrorHandlers.forEach((function(n){return n(e,t)}))}},t.dispose=function(){this.isDisposed_||(this.isDisposed_=!0,this.isRunning_||(zt(),jt(this),Yt()))},t.getDisposer_=function(e){var t=this,n=function n(){t.dispose(),null==e||null==e.removeEventListener||e.removeEventListener("abort",n)};return null==e||null==e.addEventListener||e.addEventListener("abort",n),n[we]=this,n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1),function(){if("production"===process.env.NODE_ENV)return;for(var e=!1,t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];"boolean"==typeof n[n.length-1]&&(e=n.pop());var r=function(e){switch(e.length){case 0:return Kt.trackingDerivation;case 1:return Do(e[0]);case 2:return Do(e[0],e[1])}}(n);if(!r)return E("'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly");r.isTracing_===It.NONE&&console.log("[mobx.trace] '"+r.name_+"' tracing enabled");r.isTracing_=e?It.BREAK:It.LOG}(this,e)},e}(),nn=100,on=function(e){return e()};function rn(){Kt.inBatch>0||Kt.isRunningReactions||on(an)}function an(){Kt.isRunningReactions=!0;for(var e=Kt.pendingReactions,t=0;e.length>0;){++t===nn&&(console.error("production"!==process.env.NODE_ENV?"Reaction doesn't converge to a stable state after "+nn+" iterations. Probably there is a cycle in the reactive function: "+e[0]:"[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),o=0,r=n.length;o<r;o++)n[o].runReaction_()}Kt.isRunningReactions=!1}var sn=ee("Reaction",tn);function cn(){return"production"!==process.env.NODE_ENV&&!!Kt.spyListeners.length}function un(e){if("production"!==process.env.NODE_ENV&&Kt.spyListeners.length)for(var t=Kt.spyListeners,n=0,o=t.length;n<o;n++)t[n](e)}function ln(e){"production"!==process.env.NODE_ENV&&un(de({},e,{spyReportStart:!0}))}var hn={type:"report-end",spyReportEnd:!0};function _n(e){"production"!==process.env.NODE_ENV&&un(e?de({},e,{type:"report-end",spyReportEnd:!0}):hn)}var dn="action",mn="autoAction",pn=Ee(dn),vn=Ee("action.bound",{bound:!0}),gn=Ee(mn,{autoAction:!0}),fn=Ee("autoAction.bound",{autoAction:!0,bound:!0});function yn(e){return function(t,n){return H(t)?St(t.name||"<unnamed action>",t,e):H(n)?St(t,n,e):be(n)?(e?gn:pn).decorate_20223_(t,n):q(n)?ye(t,n,e?gn:pn):q(t)?fe(Ee(e?mn:dn,{name:t,autoAction:e})):void("production"!==process.env.NODE_ENV&&E("Invalid arguments for `action`"))}}var bn=yn(!1);Object.assign(bn,pn);var Sn=yn(!0);function wn(e){return H(e)&&!0===e.isMobxAction}function Mn(e,t){var n,o,r,a;void 0===t&&(t=x),"production"!==process.env.NODE_ENV&&(H(e)||E("Autorun expects a function as first argument"),wn(e)&&E("Autorun does not accept actions since actions are untrackable"));var i,s=null!=(n=null==(o=t)?void 0:o.name)?n:"production"!==process.env.NODE_ENV?e.name||"Autorun@"+X():"Autorun";if(!t.scheduler&&!t.delay)i=new tn(s,(function(){this.track(l)}),t.onError,t.requiresObservable);else{var c=function(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:Rn}(t),u=!1;i=new tn(s,(function(){u||(u=!0,c((function(){u=!1,i.isDisposed_||i.track(l)})))}),t.onError,t.requiresObservable)}function l(){e(i)}return null!=(r=t)&&null!=(r=r.signal)&&r.aborted||i.schedule_(),i.getDisposer_(null==(a=t)?void 0:a.signal)}Object.assign(Sn,gn),bn.bound=fe(vn),Sn.bound=fe(fn);var Rn=function(e){return e()};var An="onBO",On="onBUO";function Ln(e,t,n){return Nn(On,e,t,n)}function Nn(e,t,n,o){var r="function"==typeof o?Do(t,n):Do(t),a=H(o)?o:n,i=e+"L";return r[i]?r[i].add(a):r[i]=new Set([a]),function(){var e=r[i];e&&(e.delete(a),0===e.size&&delete r[i])}}function In(e){var t,n={name:e.name_};return e.observing_&&e.observing_.length>0&&(n.dependencies=(t=e.observing_,Array.from(new Set(t))).map(In)),n}var Cn=0;function En(){this.message="FLOW_CANCELLED"}En.prototype=Object.create(Error.prototype);var Pn=je("flow"),kn=je("flow.bound",{bound:!0}),Dn=Object.assign((function(e,t){if(be(t))return Pn.decorate_20223_(e,t);if(q(t))return ye(e,t,Pn);"production"!==process.env.NODE_ENV&&1!==arguments.length&&E("Flow expects single argument with generator function");var n=e,o=n.name||"<unnamed flow>",r=function(){var e,t=arguments,r=++Cn,a=bn(o+" - runid: "+r+" - init",n).apply(this,t),i=void 0,s=new Promise((function(t,n){var s=0;function c(e){var t;i=void 0;try{t=bn(o+" - runid: "+r+" - yield "+s++,a.next).call(a,e)}catch(e){return n(e)}l(t)}function u(e){var t;i=void 0;try{t=bn(o+" - runid: "+r+" - yield "+s++,a.throw).call(a,e)}catch(e){return n(e)}l(t)}function l(e){if(!H(null==e?void 0:e.then))return e.done?t(e.value):(i=Promise.resolve(e.value)).then(c,u);e.then(l,n)}e=n,c(void 0)}));return s.cancel=bn(o+" - runid: "+r+" - cancel",(function(){try{i&&Un(i);var t=a.return(void 0),n=Promise.resolve(t.value);n.then(W,W),Un(n),e(new En)}catch(t){e(t)}})),s};return r.isMobXFlow=!0,r}),Pn);function Un(e){H(e.cancel)&&e.cancel()}function jn(e){return!0===(null==e?void 0:e.isMobXFlow)}function Vn(e){return"production"!==process.env.NODE_ENV&&1!==arguments.length&&E("isObservable expects only 1 argument. Use isObservableProp to inspect the observability of a property"),function(e,t){return!!e&&(void 0!==t?"production"!==process.env.NODE_ENV&&(uo(e)||ro(e))?E("isObservable(object, propertyName) is not supported for arrays and maps. Use map.has or array.length instead."):!!bo(e)&&e[we].values_.has(t):bo(e)||!!e[we]||Re(e)||sn(e)||Ct(e))}(e)}function Bn(e,t){void 0===t&&(t=void 0),zt();try{return e.apply(t)}finally{Yt()}}function xn(e){return e[we]}Dn.bound=fe(kn);var Gn={has:function(e,t){return"production"!==process.env.NODE_ENV&&Kt.trackingDerivation&&F("detect new properties using the 'in' operator. Use 'has' from 'mobx' instead."),xn(e).has_(t)},get:function(e,t){return xn(e).get_(t)},set:function(e,t,n){var o;return!!q(t)&&("production"===process.env.NODE_ENV||xn(e).values_.has(t)||F("add a new observable property through direct assignment. Use 'set' from 'mobx' instead."),null==(o=xn(e).set_(t,n,!0))||o)},deleteProperty:function(e,t){var n;return"production"!==process.env.NODE_ENV&&F("delete properties from an observable object. Use 'remove' from 'mobx' instead."),!!q(t)&&(null==(n=xn(e).delete_(t,!0))||n)},defineProperty:function(e,t,n){var o;return"production"!==process.env.NODE_ENV&&F("define property on an observable object. Use 'defineProperty' from 'mobx' instead."),null==(o=xn(e).defineProperty_(t,n))||o},ownKeys:function(e){return"production"!==process.env.NODE_ENV&&Kt.trackingDerivation&&F("iterate keys to detect added / removed properties. Use 'keys' from 'mobx' instead."),xn(e).ownKeys_()},preventExtensions:function(e){E(13)}};function Jn(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function Tn(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),K((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function Fn(e,t){var n=Bt();try{for(var o=[].concat(e.interceptors_||[]),r=0,a=o.length;r<a&&((t=o[r](t))&&!t.type&&E(14),t);r++);return t}finally{xt(n)}}function Xn(e){return void 0!==e.changeListeners_&&e.changeListeners_.length>0}function Kn(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),K((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function Wn(e,t){var n=Bt(),o=e.changeListeners_;if(o){for(var r=0,a=(o=o.slice()).length;r<a;r++)o[r](t);xt(n)}}var Hn="splice",qn="update",zn={get:function(e,t){var n=e[we];return t===we?n:"length"===t?n.getArrayLength_():"string"!=typeof t||isNaN(t)?se($n,t)?$n[t]:e[t]:n.get_(parseInt(t))},set:function(e,t,n){var o=e[we];return"length"===t&&o.setArrayLength_(n),"symbol"==typeof t||isNaN(t)?e[t]=n:o.set_(parseInt(t),n),!0},preventExtensions:function(){E(15)}},Yn=function(){function e(e,t,n,o){void 0===e&&(e="production"!==process.env.NODE_ENV?"ObservableArray@"+X():"ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=n,this.legacyMode_=o,this.atom_=new Me(e),this.enhancer_=function(n,o){return t(n,o,"production"!==process.env.NODE_ENV?e+"[..]":"ObservableArray[..]")}}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.dehanceValues_=function(e){return void 0!==this.dehancer&&e.length>0?e.map(this.dehancer):e},t.intercept_=function(e){return Tn(this,e)},t.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),Kn(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!=typeof e||isNaN(e)||e<0)&&E("Out of range: "+e);var t=this.values_.length;if(e!==t)if(e>t){for(var n=new Array(e-t),o=0;o<e-t;o++)n[o]=void 0;this.spliceWithArray_(t,0,n)}else this.spliceWithArray_(e,t-e)},t.updateArrayLength_=function(e,t){e!==this.lastKnownLength_&&E(16),this.lastKnownLength_+=t,this.legacyMode_&&t>0&&Po(e+t+1)},t.spliceWithArray_=function(e,t,n){var o=this;Dt(this.atom_);var r=this.values_.length;if(void 0===e?e=0:e>r?e=r:e<0&&(e=Math.max(0,r+e)),t=1===arguments.length?r-e:null==t?0:Math.max(0,Math.min(t,r-e)),void 0===n&&(n=B),Jn(this)){var a=Fn(this,{object:this.proxy_,type:Hn,index:e,removedCount:t,added:n});if(!a)return B;t=a.removedCount,n=a.added}if(n=0===n.length?n:n.map((function(e){return o.enhancer_(e,void 0)})),this.legacyMode_||"production"!==process.env.NODE_ENV){var i=n.length-t;this.updateArrayLength_(r,i)}var s=this.spliceItemsIntoValues_(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice_(e,n,s),this.dehanceValues_(s)},t.spliceItemsIntoValues_=function(e,t,n){var o;if(n.length<1e4)return(o=this.values_).splice.apply(o,[e,t].concat(n));var r=this.values_.slice(e,e+t),a=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var i=0;i<n.length;i++)this.values_[e+i]=n[i];for(var s=0;s<a.length;s++)this.values_[e+n.length+s]=a[s];return r},t.notifyArrayChildUpdate_=function(e,t,n){var o=!this.owned_&&cn(),r=Xn(this),a=r||o?{observableKind:"array",object:this.proxy_,type:qn,debugObjectName:this.atom_.name_,index:e,newValue:t,oldValue:n}:null;"production"!==process.env.NODE_ENV&&o&&ln(a),this.atom_.reportChanged(),r&&Wn(this,a),"production"!==process.env.NODE_ENV&&o&&_n()},t.notifyArraySplice_=function(e,t,n){var o=!this.owned_&&cn(),r=Xn(this),a=r||o?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:Hn,index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;"production"!==process.env.NODE_ENV&&o&&ln(a),this.atom_.reportChanged(),r&&Wn(this,a),"production"!==process.env.NODE_ENV&&o&&_n()},t.get_=function(e){if(!(this.legacyMode_&&e>=this.values_.length))return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e]);console.warn("production"!==process.env.NODE_ENV?"[mobx.array] Attempt to read an array index ("+e+") that is out of bounds ("+this.values_.length+"). Please check length first. Out of bound indices will not be tracked by MobX":"[mobx] Out of bounds read: "+e)},t.set_=function(e,t){var n=this.values_;if(this.legacyMode_&&e>n.length&&E(17,e,n.length),e<n.length){Dt(this.atom_);var o=n[e];if(Jn(this)){var r=Fn(this,{type:qn,object:this.proxy_,index:e,newValue:t});if(!r)return;t=r.newValue}(t=this.enhancer_(t,o))!==o&&(n[e]=t,this.notifyArrayChildUpdate_(e,t,o))}else{for(var a=new Array(e+1-n.length),i=0;i<a.length-1;i++)a[i]=void 0;a[a.length-1]=t,this.spliceWithArray_(n.length,0,a)}},e}();function Zn(e,t,n,o){return void 0===n&&(n="production"!==process.env.NODE_ENV?"ObservableArray@"+X():"ObservableArray"),void 0===o&&(o=!1),T(),Vo((function(){var r=new Yn(n,t,o,!1);Q(r.values_,we,r);var a=new Proxy(r.values_,zn);return r.proxy_=a,e&&e.length&&r.spliceWithArray_(0,0,e),a}))}var $n={clear:function(){return this.splice(0)},replace:function(e){var t=this[we];return t.spliceWithArray_(0,t.values_.length,e)},toJSON:function(){return this.slice()},splice:function(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];var a=this[we];switch(arguments.length){case 0:return[];case 1:return a.spliceWithArray_(e);case 2:return a.spliceWithArray_(e,t)}return a.spliceWithArray_(e,t,o)},spliceWithArray:function(e,t,n){return this[we].spliceWithArray_(e,t,n)},push:function(){for(var e=this[we],t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return e.spliceWithArray_(e.values_.length,0,n),e.values_.length},pop:function(){return this.splice(Math.max(this[we].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var e=this[we],t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return e.spliceWithArray_(0,0,n),e.values_.length},reverse:function(){return Kt.trackingDerivation&&E(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){Kt.trackingDerivation&&E(37,"sort");var e=this.slice();return e.sort.apply(e,arguments),this.replace(e),this},remove:function(e){var t=this[we],n=t.dehanceValues_(t.values_).indexOf(e);return n>-1&&(this.splice(n,1),!0)}};function Qn(e,t){"function"==typeof Array.prototype[e]&&($n[e]=t(e))}function eo(e){return function(){var t=this[we];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function to(e){return function(t,n){var o=this,r=this[we];return r.atom_.reportObserved(),r.dehanceValues_(r.values_)[e]((function(e,r){return t.call(n,e,r,o)}))}}function no(e){return function(){var t=this,n=this[we];n.atom_.reportObserved();var o=n.dehanceValues_(n.values_),r=arguments[0];return arguments[0]=function(e,n,o){return r(e,n,o,t)},o[e].apply(o,arguments)}}Qn("at",eo),Qn("concat",eo),Qn("flat",eo),Qn("includes",eo),Qn("indexOf",eo),Qn("join",eo),Qn("lastIndexOf",eo),Qn("slice",eo),Qn("toString",eo),Qn("toLocaleString",eo),Qn("toSorted",eo),Qn("toSpliced",eo),Qn("with",eo),Qn("every",to),Qn("filter",to),Qn("find",to),Qn("findIndex",to),Qn("findLast",to),Qn("findLastIndex",to),Qn("flatMap",to),Qn("forEach",to),Qn("map",to),Qn("some",to),Qn("toReversed",to),Qn("reduce",no),Qn("reduceRight",no);var oo=ee("ObservableArrayAdministration",Yn);function ro(e){return z(e)&&oo(e[we])}var ao={},io="add",so="delete",co=function(){function e(e,t,n){var o=this;void 0===t&&(t=Le),void 0===n&&(n="production"!==process.env.NODE_ENV?"ObservableMap@"+X():"ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[we]=ao,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=t,this.name_=n,H(Map)||E(18),Vo((function(){o.keysAtom_=Ae("production"!==process.env.NODE_ENV?o.name_+".keys()":"ObservableMap.keys()"),o.data_=new Map,o.hasMap_=new Map,e&&o.merge(e)}))}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!Kt.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var o=n=new Rt(this.has_(e),Ne,"production"!==process.env.NODE_ENV?this.name_+"."+ae(e)+"?":"ObservableMap.key?",!1);this.hasMap_.set(e,o),Ln(o,(function(){return t.hasMap_.delete(e)}))}return n.get()},t.set=function(e,t){var n=this.has_(e);if(Jn(this)){var o=Fn(this,{type:n?qn:io,object:this,newValue:t,name:e});if(!o)return this;t=o.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},t.delete=function(e){var t=this;if((Dt(this.keysAtom_),Jn(this))&&!Fn(this,{type:so,object:this,name:e}))return!1;if(this.has_(e)){var n=cn(),o=Xn(this),r=o||n?{observableKind:"map",debugObjectName:this.name_,type:so,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return"production"!==process.env.NODE_ENV&&n&&ln(r),Bn((function(){var n;t.keysAtom_.reportChanged(),null==(n=t.hasMap_.get(e))||n.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)})),o&&Wn(this,r),"production"!==process.env.NODE_ENV&&n&&_n(),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==Kt.UNCHANGED){var o=cn(),r=Xn(this),a=r||o?{observableKind:"map",debugObjectName:this.name_,type:qn,object:this,oldValue:n.value_,name:e,newValue:t}:null;"production"!==process.env.NODE_ENV&&o&&ln(a),n.setNewValue_(t),r&&Wn(this,a),"production"!==process.env.NODE_ENV&&o&&_n()}},t.addValue_=function(e,t){var n=this;Dt(this.keysAtom_),Bn((function(){var o,r=new Rt(t,n.enhancer_,"production"!==process.env.NODE_ENV?n.name_+"."+ae(e):"ObservableMap.key",!1);n.data_.set(e,r),t=r.value_,null==(o=n.hasMap_.get(e))||o.setNewValue_(!0),n.keysAtom_.reportChanged()}));var o=cn(),r=Xn(this),a=r||o?{observableKind:"map",debugObjectName:this.name_,type:io,object:this,name:e,newValue:t}:null;"production"!==process.env.NODE_ENV&&o&&ln(a),r&&Wn(this,a),"production"!==process.env.NODE_ENV&&o&&_n()},t.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var e=this,t=this.keys();return To({next:function(){var n=t.next(),o=n.done,r=n.value;return{done:o,value:o?void 0:e.get(r)}}})},t.entries=function(){var e=this,t=this.keys();return To({next:function(){var n=t.next(),o=n.done,r=n.value;return{done:o,value:o?void 0:[r,e.get(r)]}}})},t[Symbol.iterator]=function(){return this.entries()},t.forEach=function(e,t){for(var n,o=_e(this);!(n=o()).done;){var r=n.value,a=r[0],i=r[1];e.call(t,i,a,this)}},t.merge=function(e){var t=this;return uo(e)&&(e=new Map(e)),Bn((function(){var n,o,r;Y(e)?function(e){var t=Object.keys(e);if(!oe)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter((function(t){return V.propertyIsEnumerable.call(e,t)}))):t}(e).forEach((function(n){return t.set(n,e[n])})):Array.isArray(e)?e.forEach((function(e){var n=e[0],o=e[1];return t.set(n,o)})):te(e)?(n=e,o=Object.getPrototypeOf(n),r=Object.getPrototypeOf(o),null!==Object.getPrototypeOf(r)&&E(19,e),e.forEach((function(e,n){return t.set(n,e)}))):null!=e&&E(20,e)})),this},t.clear=function(){var e=this;Bn((function(){Vt((function(){for(var t,n=_e(e.keys());!(t=n()).done;){var o=t.value;e.delete(o)}}))}))},t.replace=function(e){var t=this;return Bn((function(){for(var n,o=function(e){if(te(e)||uo(e))return e;if(Array.isArray(e))return new Map(e);if(Y(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return E(21,e)}(e),r=new Map,a=!1,i=_e(t.data_.keys());!(n=i()).done;){var s=n.value;if(!o.has(s))if(t.delete(s))a=!0;else{var c=t.data_.get(s);r.set(s,c)}}for(var u,l=_e(o.entries());!(u=l()).done;){var h=u.value,_=h[0],d=h[1],m=t.data_.has(_);if(t.set(_,d),t.data_.has(_)){var p=t.data_.get(_);r.set(_,p),m||(a=!0)}}if(!a)if(t.data_.size!==r.size)t.keysAtom_.reportChanged();else for(var v=t.data_.keys(),g=r.keys(),f=v.next(),y=g.next();!f.done;){if(f.value!==y.value){t.keysAtom_.reportChanged();break}f=v.next(),y=g.next()}t.data_=r})),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return"production"!==process.env.NODE_ENV&&!0===t&&E("`observe` doesn't support fireImmediately=true in combination with maps."),Kn(this,e)},t.intercept_=function(e){return Tn(this,e)},he(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])}(),uo=ee("ObservableMap",co);var lo={},ho=function(){function e(e,t,n){var o=this;void 0===t&&(t=Le),void 0===n&&(n="production"!==process.env.NODE_ENV?"ObservableSet@"+X():"ObservableSet"),this.name_=void 0,this[we]=lo,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=n,H(Set)||E(22),this.enhancer_=function(e,o){return t(e,o,n)},Vo((function(){o.atom_=Ae(o.name_),e&&o.replace(e)}))}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.clear=function(){var e=this;Bn((function(){Vt((function(){for(var t,n=_e(e.data_.values());!(t=n()).done;){var o=t.value;e.delete(o)}}))}))},t.forEach=function(e,t){for(var n,o=_e(this);!(n=o()).done;){var r=n.value;e.call(t,r,r,this)}},t.add=function(e){var t=this;if((Dt(this.atom_),Jn(this))&&!Fn(this,{type:io,object:this,newValue:e}))return this;if(!this.has(e)){Bn((function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()}));var n="production"!==process.env.NODE_ENV&&cn(),o=Xn(this),r=o||n?{observableKind:"set",debugObjectName:this.name_,type:io,object:this,newValue:e}:null;n&&"production"!==process.env.NODE_ENV&&ln(r),o&&Wn(this,r),n&&"production"!==process.env.NODE_ENV&&_n()}return this},t.delete=function(e){var t=this;if(Jn(this)&&!Fn(this,{type:so,object:this,oldValue:e}))return!1;if(this.has(e)){var n="production"!==process.env.NODE_ENV&&cn(),o=Xn(this),r=o||n?{observableKind:"set",debugObjectName:this.name_,type:so,object:this,oldValue:e}:null;return n&&"production"!==process.env.NODE_ENV&&ln(r),Bn((function(){t.atom_.reportChanged(),t.data_.delete(e)})),o&&Wn(this,r),n&&"production"!==process.env.NODE_ENV&&_n(),!0}return!1},t.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},t.entries=function(){var e=0,t=Array.from(this.keys()),n=Array.from(this.values());return To({next:function(){var o=e;return e+=1,o<n.length?{value:[t[o],n[o]],done:!1}:{done:!0}}})},t.keys=function(){return this.values()},t.values=function(){this.atom_.reportObserved();var e=this,t=0,n=Array.from(this.data_.values());return To({next:function(){return t<n.length?{value:e.dehanceValue_(n[t++]),done:!1}:{done:!0}}})},t.intersection=function(e){return ne(e)?e.intersection(this):new Set(this).intersection(e)},t.union=function(e){return ne(e)?e.union(this):new Set(this).union(e)},t.difference=function(e){return new Set(this).difference(e)},t.symmetricDifference=function(e){return ne(e)?e.symmetricDifference(this):new Set(this).symmetricDifference(e)},t.isSubsetOf=function(e){return new Set(this).isSubsetOf(e)},t.isSupersetOf=function(e){return new Set(this).isSupersetOf(e)},t.isDisjointFrom=function(e){return ne(e)?e.isDisjointFrom(this):new Set(this).isDisjointFrom(e)},t.replace=function(e){var t=this;return _o(e)&&(e=new Set(e)),Bn((function(){Array.isArray(e)||ne(e)?(t.clear(),e.forEach((function(e){return t.add(e)}))):null!=e&&E("Cannot initialize set from "+e)})),this},t.observe_=function(e,t){return"production"!==process.env.NODE_ENV&&!0===t&&E("`observe` doesn't support fireImmediately=true in combination with sets."),Kn(this,e)},t.intercept_=function(e){return Tn(this,e)},t.toJSON=function(){return Array.from(this)},t.toString=function(){return"[object ObservableSet]"},t[Symbol.iterator]=function(){return this.values()},he(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])}(),_o=ee("ObservableSet",ho),mo=Object.create(null),po="remove",vo=function(){function e(e,t,n,o){void 0===t&&(t=new Map),void 0===o&&(o=Ye),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=e,this.values_=t,this.name_=n,this.defaultAnnotation_=o,this.keysAtom_=new Me("production"!==process.env.NODE_ENV?this.name_+".keys":"ObservableObject.keys"),this.isPlainObject_=Y(this.target_),"production"===process.env.NODE_ENV||Xo(this.defaultAnnotation_)||E("defaultAnnotation must be valid annotation"),"production"!==process.env.NODE_ENV&&(this.appliedAnnotations_={})}var t=e.prototype;return t.getObservablePropValue_=function(e){return this.values_.get(e).get()},t.setObservablePropValue_=function(e,t){var n=this.values_.get(e);if(n instanceof Lt)return n.set(t),!0;if(Jn(this)){var o=Fn(this,{type:qn,object:this.proxy_||this.target_,name:e,newValue:t});if(!o)return null;t=o.newValue}if((t=n.prepareNewValue_(t))!==Kt.UNCHANGED){var r=Xn(this),a="production"!==process.env.NODE_ENV&&cn(),i=r||a?{type:qn,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:n.value_,name:e,newValue:t}:null;"production"!==process.env.NODE_ENV&&a&&ln(i),n.setNewValue_(t),r&&Wn(this,i),"production"!==process.env.NODE_ENV&&a&&_n()}return!0},t.get_=function(e){return Kt.trackingDerivation&&!se(this.target_,e)&&this.has_(e),this.target_[e]},t.set_=function(e,t,n){return void 0===n&&(n=!1),se(this.target_,e)?this.values_.has(e)?this.setObservablePropValue_(e,t):n?Reflect.set(this.target_,e,t):(this.target_[e]=t,!0):this.extend_(e,{value:t,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,n)},t.has_=function(e){if(!Kt.trackingDerivation)return e in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var t=this.pendingKeys_.get(e);return t||(t=new Rt(e in this.target_,Ne,"production"!==process.env.NODE_ENV?this.name_+"."+ae(e)+"?":"ObservableObject.key?",!1),this.pendingKeys_.set(e,t)),t.get()},t.make_=function(e,t){if(!0===t&&(t=this.defaultAnnotation_),!1!==t){if(wo(this,t,e),!(e in this.target_)){var n;if(null!=(n=this.target_[ge])&&n[e])return;E(1,t.annotationType_,this.name_+"."+e.toString())}for(var o=this.target_;o&&o!==V;){var r=U(o,e);if(r){var a=t.make_(this,e,r,o);if(0===a)return;if(1===a)break}o=Object.getPrototypeOf(o)}So(this,t,e)}},t.extend_=function(e,t,n,o){if(void 0===o&&(o=!1),!0===n&&(n=this.defaultAnnotation_),!1===n)return this.defineProperty_(e,t,o);wo(this,n,e);var r=n.extend_(this,e,t,o);return r&&So(this,n,e),r},t.defineProperty_=function(e,t,n){void 0===n&&(n=!1),Dt(this.keysAtom_);try{zt();var o=this.delete_(e);if(!o)return o;if(Jn(this)){var r=Fn(this,{object:this.proxy_||this.target_,name:e,type:io,newValue:t.value});if(!r)return null;var a=r.newValue;t.value!==a&&(t=de({},t,{value:a}))}if(n){if(!Reflect.defineProperty(this.target_,e,t))return!1}else j(this.target_,e,t);this.notifyPropertyAddition_(e,t.value)}finally{Yt()}return!0},t.defineObservableProperty_=function(e,t,n,o){void 0===o&&(o=!1),Dt(this.keysAtom_);try{zt();var r=this.delete_(e);if(!r)return r;if(Jn(this)){var a=Fn(this,{object:this.proxy_||this.target_,name:e,type:io,newValue:t});if(!a)return null;t=a.newValue}var i=yo(e),s={configurable:!Kt.safeDescriptors||this.isPlainObject_,enumerable:!0,get:i.get,set:i.set};if(o){if(!Reflect.defineProperty(this.target_,e,s))return!1}else j(this.target_,e,s);var c=new Rt(t,n,"production"!==process.env.NODE_ENV?this.name_+"."+e.toString():"ObservableObject.key",!1);this.values_.set(e,c),this.notifyPropertyAddition_(e,c.value_)}finally{Yt()}return!0},t.defineComputedProperty_=function(e,t,n){void 0===n&&(n=!1),Dt(this.keysAtom_);try{zt();var o=this.delete_(e);if(!o)return o;if(Jn(this))if(!Fn(this,{object:this.proxy_||this.target_,name:e,type:io,newValue:void 0}))return null;t.name||(t.name="production"!==process.env.NODE_ENV?this.name_+"."+e.toString():"ObservableObject.key"),t.context=this.proxy_||this.target_;var r=yo(e),a={configurable:!Kt.safeDescriptors||this.isPlainObject_,enumerable:!1,get:r.get,set:r.set};if(n){if(!Reflect.defineProperty(this.target_,e,a))return!1}else j(this.target_,e,a);this.values_.set(e,new Lt(t)),this.notifyPropertyAddition_(e,void 0)}finally{Yt()}return!0},t.delete_=function(e,t){if(void 0===t&&(t=!1),Dt(this.keysAtom_),!se(this.target_,e))return!0;if(Jn(this)&&!Fn(this,{object:this.proxy_||this.target_,name:e,type:po}))return null;try{var n;zt();var o,r=Xn(this),a="production"!==process.env.NODE_ENV&&cn(),i=this.values_.get(e),s=void 0;if(!i&&(r||a))s=null==(o=U(this.target_,e))?void 0:o.value;if(t){if(!Reflect.deleteProperty(this.target_,e))return!1}else delete this.target_[e];if("production"!==process.env.NODE_ENV&&delete this.appliedAnnotations_[e],i&&(this.values_.delete(e),i instanceof Rt&&(s=i.value_),$t(i)),this.keysAtom_.reportChanged(),null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(e in this.target_),r||a){var c={type:po,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:s,name:e};"production"!==process.env.NODE_ENV&&a&&ln(c),r&&Wn(this,c),"production"!==process.env.NODE_ENV&&a&&_n()}}finally{Yt()}return!0},t.observe_=function(e,t){return"production"!==process.env.NODE_ENV&&!0===t&&E("`observe` doesn't support the fire immediately property for observable objects."),Kn(this,e)},t.intercept_=function(e){return Tn(this,e)},t.notifyPropertyAddition_=function(e,t){var n,o=Xn(this),r="production"!==process.env.NODE_ENV&&cn();if(o||r){var a=o||r?{type:io,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:e,newValue:t}:null;"production"!==process.env.NODE_ENV&&r&&ln(a),o&&Wn(this,a),"production"!==process.env.NODE_ENV&&r&&_n()}null==(n=this.pendingKeys_)||null==(n=n.get(e))||n.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),re(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function go(e,t){var n;if("production"!==process.env.NODE_ENV&&t&&bo(e)&&E("Options can't be provided for already observable objects."),se(e,we))return"production"===process.env.NODE_ENV||Uo(e)instanceof vo||E("Cannot convert '"+jo(e)+"' into observable object:\nThe target is already observable of different type.\nExtending builtins is not supported."),e;"production"===process.env.NODE_ENV||Object.isExtensible(e)||E("Cannot make the designated object observable; it is not extensible");var o=null!=(n=null==t?void 0:t.name)?n:"production"!==process.env.NODE_ENV?(Y(e)?"ObservableObject":e.constructor.name)+"@"+X():"ObservableObject",r=new vo(e,new Map,String(o),function(e){var t;return e?null!=(t=e.defaultDecorator)?t:Ze(e):void 0}(t));return $(e,we,r),e}var fo=ee("ObservableObjectAdministration",vo);function yo(e){return mo[e]||(mo[e]={get:function(){return this[we].getObservablePropValue_(e)},set:function(t){return this[we].setObservablePropValue_(e,t)}})}function bo(e){return!!z(e)&&fo(e[we])}function So(e,t,n){var o;"production"!==process.env.NODE_ENV&&(e.appliedAnnotations_[n]=t),null==(o=e.target_[ge])||delete o[n]}function wo(e,t,n){if("production"===process.env.NODE_ENV||Xo(t)||E("Cannot annotate '"+e.name_+"."+n.toString()+"': Invalid annotation."),"production"!==process.env.NODE_ENV&&!Ce(t)&&se(e.appliedAnnotations_,n)){var o=e.name_+"."+n.toString(),r=e.appliedAnnotations_[n].annotationType_;E("Cannot apply '"+t.annotationType_+"' to '"+o+"':\nThe field is already annotated with '"+r+"'.\nRe-annotating fields is not allowed.\nUse 'override' annotation for methods overridden by subclass.")}}var Mo,Ro,Ao=Co(0),Oo=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),Lo=0,No=function(){};Mo=No,Ro=Array.prototype,Object.setPrototypeOf?Object.setPrototypeOf(Mo.prototype,Ro):void 0!==Mo.prototype.__proto__?Mo.prototype.__proto__=Ro:Mo.prototype=Ro;var Io=function(e){function t(t,n,o,r){var a;return void 0===o&&(o="production"!==process.env.NODE_ENV?"ObservableArray@"+X():"ObservableArray"),void 0===r&&(r=!1),a=e.call(this)||this,Vo((function(){var e=new Yn(o,n,r,!0);e.proxy_=a,Q(a,we,e),t&&t.length&&a.spliceWithArray(0,0,t),Oo&&Object.defineProperty(a,"0",Ao)})),a}me(t,e);var n=t.prototype;return n.concat=function(){this[we].atom_.reportObserved();for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.prototype.concat.apply(this.slice(),t.map((function(e){return ro(e)?e.slice():e})))},n[Symbol.iterator]=function(){var e=this,t=0;return To({next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0,value:void 0}}})},he(t,[{key:"length",get:function(){return this[we].getArrayLength_()},set:function(e){this[we].setArrayLength_(e)}},{key:Symbol.toStringTag,get:function(){return"Array"}}])}(No);function Co(e){return{enumerable:!1,configurable:!0,get:function(){return this[we].get_(e)},set:function(t){this[we].set_(e,t)}}}function Eo(e){j(Io.prototype,""+e,Co(e))}function Po(e){if(e>Lo){for(var t=Lo;t<e+100;t++)Eo(t);Lo=e}}function ko(e,t,n){return new Io(e,t,n)}function Do(e,t){if("object"==typeof e&&null!==e){if(ro(e))return void 0!==t&&E(23),e[we].atom_;if(_o(e))return e.atom_;if(uo(e)){if(void 0===t)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return n||E(25,t,jo(e)),n}if(bo(e)){if(!t)return E(26);var o=e[we].values_.get(t);return o||E(27,t,jo(e)),o}if(Re(e)||Ct(e)||sn(e))return e}else if(H(e)&&sn(e[we]))return e[we];E(28)}function Uo(e,t){return e||E(29),void 0!==t?Uo(Do(e,t)):Re(e)||Ct(e)||sn(e)||uo(e)||_o(e)?e:e[we]?e[we]:void E(24,e)}function jo(e,t){var n;if(void 0!==t)n=Do(e,t);else{if(wn(e))return e.name;n=bo(e)||uo(e)||_o(e)?Uo(e):Do(e)}return n.name_}function Vo(e){var t=Bt(),n=wt(!0);zt();try{return e()}finally{Yt(),Mt(n),xt(t)}}Object.entries($n).forEach((function(e){var t=e[0],n=e[1];"concat"!==t&&$(Io.prototype,t,n)})),Po(1e3);var Bo=V.toString;function xo(e,t,n){return void 0===n&&(n=-1),Go(e,t,n)}function Go(e,t,n,o,r){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var a=typeof e;if("function"!==a&&"object"!==a&&"object"!=typeof t)return!1;var i=Bo.call(e);if(i!==Bo.call(t))return!1;switch(i){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t);case"[object Map]":case"[object Set]":n>=0&&n++}e=Jo(e),t=Jo(t);var s="[object Array]"===i;if(!s){if("object"!=typeof e||"object"!=typeof t)return!1;var c=e.constructor,u=t.constructor;if(c!==u&&!(H(c)&&c instanceof c&&H(u)&&u instanceof u)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),r=r||[];for(var l=(o=o||[]).length;l--;)if(o[l]===e)return r[l]===t;if(o.push(e),r.push(t),s){if((l=e.length)!==t.length)return!1;for(;l--;)if(!Go(e[l],t[l],n-1,o,r))return!1}else{var h,_=Object.keys(e);if(l=_.length,Object.keys(t).length!==l)return!1;for(;l--;)if(!se(t,h=_[l])||!Go(e[h],t[h],n-1,o,r))return!1}return o.pop(),r.pop(),!0}function Jo(e){return ro(e)?e.slice():te(e)||uo(e)||ne(e)||_o(e)?Array.from(e.entries()):e}function To(e){return e[Symbol.iterator]=Fo,e}function Fo(){return this}function Xo(e){return e instanceof Object&&"string"==typeof e.annotationType_&&H(e.make_)&&H(e.extend_)}function Ko(e){o((function(){return Mn(e)}),[])}function Wo(e){var t=e.connectedMotionGroup,n=e.robotRootObjectName,a=e.onRotationChanged,c=e.jointCollector;i.assign({frameLoop:"always"});var u=r([]),l=r([]),h=d(),_=h.scene,m=h.invalidate;function p(){var e=l.current.map((function(e,t){return g[t].get()}));a(l.current,e)}o((function(){var e=_.getObjectByName(n);e&&(l.current=c?c(e):I(e),p(),m())}),[]),Ko((function(){var e=t.rapidlyChangingMotionState.state.joint_position.joints.filter((function(e){return void 0!==e}));requestAnimationFrame((function(){return function(e){u.current=e,f.start(Object.assign({},u.current))}(e)}))}));var v=s((function(){return M(M({},Object.assign({},t.rapidlyChangingMotionState.state.joint_position.joints)),{onChange:function(){p(),m()},onResolve:function(){p()}})})),g=v[0],f=v[1];return null}function Ho(o){var r=o.modelURL,a=o.connectedMotionGroup,i=R(o,["modelURL","connectedMotionGroup"]),s=u(r),l=s.nodes,h=s.materials;return t(n,{children:[e(Wo,{connectedMotionGroup:a,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]}))}}),e("group",M({},i,{dispose:null,children:e("group",{name:"Scene",children:t("group",{name:"UR3",rotation:[Math.PI/2,0,0],children:[t(c.group,{name:"UR3_J01",rotation:[-Math.PI/2,0,0],children:[t(c.group,{name:"UR3_J02",position:[0,.152,0],rotation:[Math.PI/2,0,0],children:[t(c.group,{name:"UR3_J03",position:[-.244,0,0],children:[t(c.group,{name:"UR3_J04",position:[-.213,0,0],children:[t(c.group,{name:"UR3_J05",position:[0,.112,0],rotation:[Math.PI/2,0,0],children:[e("mesh",{name:"UR3_05",castShadow:!0,receiveShadow:!0,geometry:l.UR3_05.geometry,material:h.Standard}),t(c.group,{name:"UR3_J06",position:[0,.085,0],rotation:[-Math.PI/2,0,0],children:[e("group",{name:"UR3_FLG",position:[0,.082,0]}),e("mesh",{name:"UR3_L06",castShadow:!0,receiveShadow:!0,geometry:l.UR3_L06.geometry,material:h.Standard})]})]}),e("mesh",{name:"UR3_L04",castShadow:!0,receiveShadow:!0,geometry:l.UR3_L04.geometry,material:h.Standard})]}),e("mesh",{name:"UR3_L03",castShadow:!0,receiveShadow:!0,geometry:l.UR3_L03.geometry,material:h.Standard})]}),e("mesh",{name:"UR3_L02",castShadow:!0,receiveShadow:!0,geometry:l.UR3_L02.geometry,material:h.Standard})]}),e("mesh",{name:"UR3_L01",castShadow:!0,receiveShadow:!0,geometry:l.UR3_L01.geometry,material:h.Standard})]}),e("mesh",{name:"UR3_L00",castShadow:!0,receiveShadow:!0,geometry:l.UR3_L00.geometry,material:h.Standard,rotation:[-Math.PI/2,0,0]})]})})}))]})}function qo(o){var r=o.modelURL,a=o.connectedMotionGroup,i=R(o,["modelURL","connectedMotionGroup"]),s=u(r),l=s.nodes,h=s.materials;return t(n,{children:[e(Wo,{connectedMotionGroup:a,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]}))}}),e("group",M({},i,{dispose:null,children:e("group",{name:"Scene",children:t(c.group,{name:"UR3e",rotation:[Math.PI/2,0,0],children:[t(c.group,{name:"UR3e_J01",rotation:[-Math.PI/2,0,0],children:[t(c.group,{name:"UR3e_J02",position:[0,.152,0],rotation:[Math.PI/2,0,0],children:[t(c.group,{name:"UR3e_J03",position:[-.244,0,0],children:[t(c.group,{name:"UR3e_J04",position:[-.213,0,0],children:[t(c.group,{name:"UR3e_J05",position:[0,.131,0],rotation:[Math.PI/2,0,0],children:[t(c.group,{name:"UR3e_J06",position:[0,.085,0],rotation:[-Math.PI/2,0,0],children:[e("group",{name:"UR3e_FLG",position:[0,.092,0]}),e("mesh",{name:"UR3e_L06",castShadow:!0,receiveShadow:!0,geometry:l.UR3e_L06.geometry,material:h.Standard})]}),e("mesh",{name:"UR3e_L05",castShadow:!0,receiveShadow:!0,geometry:l.UR3e_L05.geometry,material:h.Standard})]}),e("mesh",{name:"UR3e_L04",castShadow:!0,receiveShadow:!0,geometry:l.UR3e_L04.geometry,material:h.Standard})]}),e("mesh",{name:"UR3e_L03",castShadow:!0,receiveShadow:!0,geometry:l.UR3e_L03.geometry,material:h.Standard})]}),e("mesh",{name:"UR3e_L02",castShadow:!0,receiveShadow:!0,geometry:l.UR3e_L02.geometry,material:h.Standard})]}),e("mesh",{name:"UR3e_L01",castShadow:!0,receiveShadow:!0,geometry:l.UR3e_L01.geometry,material:h.Standard})]}),e("mesh",{name:"UR3e_L00",castShadow:!0,receiveShadow:!0,geometry:l.UR3e_L00.geometry,material:h.Standard,rotation:[-Math.PI/2,0,0]})]})})}))]})}function zo(o){var r=o.modelURL,a=o.connectedMotionGroup,i=R(o,["modelURL","connectedMotionGroup"]),s=u(r).nodes;return t(n,{children:[e(Wo,{connectedMotionGroup:a,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]}))}}),e("group",M({},i,{dispose:null,children:e("group",{name:"Scene",children:t("group",{name:"UR5",rotation:[Math.PI/2,0,0],children:[t(c.group,{name:"UR5_J01",rotation:[-Math.PI/2,0,0],children:[t(c.group,{name:"UR5_J02",position:[0,.089,0],rotation:[Math.PI/2,0,0],children:[t(c.group,{name:"UR5_J03",position:[-.425,0,0],children:[t(c.group,{name:"UR5_J04",position:[-.392,0,0],children:[t(c.group,{name:"UR5_J05",position:[0,.109,0],rotation:[Math.PI/2,0,0],children:[t(c.group,{name:"UR5_J06",position:[0,.095,0],rotation:[-Math.PI/2,0,0],children:[e("group",{name:"UR5_FLG",position:[0,.082,0]}),e("mesh",{name:"UR5_L06",castShadow:!0,receiveShadow:!0,geometry:s.UR5_L06.geometry,material:s.UR5_L06.material})]}),e("mesh",{name:"UR5_L05",castShadow:!0,receiveShadow:!0,geometry:s.UR5_L05.geometry,material:s.UR5_L05.material})]}),e("mesh",{name:"UR5_L04",castShadow:!0,receiveShadow:!0,geometry:s.UR5_L04.geometry,material:s.UR5_L04.material})]}),e("mesh",{name:"UR5_L03",castShadow:!0,receiveShadow:!0,geometry:s.UR5_L03.geometry,material:s.UR5_L03.material})]}),e("mesh",{name:"UR5_L02",castShadow:!0,receiveShadow:!0,geometry:s.UR5_L02.geometry,material:s.UR5_L02.material})]}),e("mesh",{name:"UR5_L01",castShadow:!0,receiveShadow:!0,geometry:s.UR5_L01.geometry,material:s.UR5_L01.material})]}),e("mesh",{name:"UR5_L00",castShadow:!0,receiveShadow:!0,geometry:s.UR5_L00.geometry,material:s.UR5_L00.material,rotation:[-Math.PI/2,0,0]})]})})}))]})}function Yo(o){var r=o.modelURL,a=o.connectedMotionGroup,i=R(o,["modelURL","connectedMotionGroup"]),s=u(r),l=s.nodes,h=s.materials;return t(n,{children:[e(Wo,{connectedMotionGroup:a,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]}))}}),e("group",M({},i,{dispose:null,children:e("group",{name:"Scene",children:t("group",{name:"UR5e",rotation:[Math.PI/2,0,0],children:[t(c.group,{name:"UR5e_J01",rotation:[-Math.PI/2,0,0],children:[t(c.group,{name:"UR5e_J02",position:[0,.162,0],rotation:[Math.PI/2,0,0],children:[t(c.group,{name:"UR5e_J03",position:[-.425,0,0],children:[t(c.group,{name:"UR5e_J04",position:[-.392,0,0],children:[t(c.group,{name:"UR5e_J05",position:[0,.133,0],rotation:[Math.PI/2,0,0],children:[t(c.group,{name:"UR5e_J06",position:[0,.1,0],rotation:[-Math.PI/2,0,0],children:[e("group",{name:"UR5e_FLG",position:[0,.1,0]}),e("group",{name:"UR5e_L06",position:[0,.1,0],rotation:[0,0,-Math.PI],children:t(n,{children:[e("mesh",{name:"C-1000255",castShadow:!0,receiveShadow:!0,geometry:l["C-1000255"].geometry,material:h.Black}),e("mesh",{name:"C-1000255_1",castShadow:!0,receiveShadow:!0,geometry:l["C-1000255_1"].geometry,material:h.Metal})]})})]}),e("group",{name:"UR5e_L05",rotation:[-Math.PI/2,-Math.PI/3,0],children:t(n,{children:[e("mesh",{name:"C-1000253",castShadow:!0,receiveShadow:!0,geometry:l["C-1000253"].geometry,material:h.Blue}),e("mesh",{name:"C-1000253_1",castShadow:!0,receiveShadow:!0,geometry:l["C-1000253_1"].geometry,material:h.Black}),e("mesh",{name:"C-1000253_2",castShadow:!0,receiveShadow:!0,geometry:l["C-1000253_2"].geometry,material:h.Metal}),e("mesh",{name:"C-1000253_3",castShadow:!0,receiveShadow:!0,geometry:l["C-1000253_3"].geometry,material:h.DarkGray})]})})]}),e("group",{name:"UR5e_L04",rotation:[0,-Math.PI/3,0],children:t(n,{children:[e("mesh",{name:"C-1000251",castShadow:!0,receiveShadow:!0,geometry:l["C-1000251"].geometry,material:h.Blue}),e("mesh",{name:"C-1000251_1",castShadow:!0,receiveShadow:!0,geometry:l["C-1000251_1"].geometry,material:h.Black}),e("mesh",{name:"C-1000251_2",castShadow:!0,receiveShadow:!0,geometry:l["C-1000251_2"].geometry,material:h.Metal}),e("mesh",{name:"C-1000251_3",castShadow:!0,receiveShadow:!0,geometry:l["C-1000251_3"].geometry,material:h.DarkGray})]})})]}),e("group",{name:"UR5e_L03",children:t(n,{children:[e("mesh",{name:"C-1000250",castShadow:!0,receiveShadow:!0,geometry:l["C-1000250"].geometry,material:h.Black}),e("mesh",{name:"C-1000250_1",castShadow:!0,receiveShadow:!0,geometry:l["C-1000250_1"].geometry,material:h.DarkGray}),e("mesh",{name:"C-1000250_2",castShadow:!0,receiveShadow:!0,geometry:l["C-1000250_2"].geometry,material:h.Blue}),e("mesh",{name:"C-1000250_3",castShadow:!0,receiveShadow:!0,geometry:l["C-1000250_3"].geometry,material:h.Metal}),e("mesh",{name:"C-1000250_4",castShadow:!0,receiveShadow:!0,geometry:l["C-1000250_4"].geometry,material:h.Metal})]})})]}),e("group",{name:"UR5e_L02",rotation:[0,-Math.PI/2,0],children:t(n,{children:[e("mesh",{name:"C-1000249",castShadow:!0,receiveShadow:!0,geometry:l["C-1000249"].geometry,material:h.Metal}),e("mesh",{name:"C-1000249_1",castShadow:!0,receiveShadow:!0,geometry:l["C-1000249_1"].geometry,material:h.Black}),e("mesh",{name:"C-1000249_2",castShadow:!0,receiveShadow:!0,geometry:l["C-1000249_2"].geometry,material:h.DarkGray}),e("mesh",{name:"C-1000249_3",castShadow:!0,receiveShadow:!0,geometry:l["C-1000249_3"].geometry,material:h.Blue}),e("mesh",{name:"C-1000249_4",castShadow:!0,receiveShadow:!0,geometry:l["C-1000249_4"].geometry,material:h.Metal})]})})]}),e("group",{name:"UR5e_L01",rotation:[Math.PI/2,0,0],children:t(n,{children:[e("mesh",{name:"C-1000248",castShadow:!0,receiveShadow:!0,geometry:l["C-1000248"].geometry,material:h.DarkGray}),e("mesh",{name:"C-1000248_1",castShadow:!0,receiveShadow:!0,geometry:l["C-1000248_1"].geometry,material:h.Black}),e("mesh",{name:"C-1000248_2",castShadow:!0,receiveShadow:!0,geometry:l["C-1000248_2"].geometry,material:h.Blue}),e("mesh",{name:"C-1000248_3",castShadow:!0,receiveShadow:!0,geometry:l["C-1000248_3"].geometry,material:h.Metal})]})})]}),e("group",{name:"UR5e_L00",children:t(n,{children:[e("mesh",{name:"C-1000257",castShadow:!0,receiveShadow:!0,geometry:l["C-1000257"].geometry,material:h.Black}),e("mesh",{name:"C-1000257_1",castShadow:!0,receiveShadow:!0,geometry:l["C-1000257_1"].geometry,material:h.Metal})]})})]})})}))]})}function Zo(o){var r=o.modelURL,a=o.connectedMotionGroup,i=R(o,["modelURL","connectedMotionGroup"]),s=u(r),l=s.nodes,h=s.materials;return t(n,{children:[e(Wo,{connectedMotionGroup:a,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]}))}}),e("group",M({},i,{dispose:null,children:e("group",{name:"Scene",children:t("group",{name:"UR10",rotation:[Math.PI/2,0,0],children:[t(c.group,{name:"UR10_J01",rotation:[-Math.PI/2,0,0],children:[t(c.group,{name:"UR10_J02",position:[0,.126,0],rotation:[Math.PI/2,0,0],children:[t(c.group,{name:"UR10_J03",position:[-.612,0,0],children:[t(c.group,{name:"UR10_J04",position:[-.572,0,0],children:[t(c.group,{name:"UR10_J05",position:[0,.164,0],rotation:[Math.PI/2,0,0],children:[t(c.group,{name:"UR10_J06",position:[0,.116,0],rotation:[-Math.PI/2,0,0],children:[e("group",{name:"UR10_FLG",position:[0,.092,0]}),e("mesh",{name:"UR10_L06",castShadow:!0,receiveShadow:!0,geometry:l.UR10_L06.geometry,material:h.Standard})]}),e("mesh",{name:"UR10_L05",castShadow:!0,receiveShadow:!0,geometry:l.UR10_L05.geometry,material:h.Standard})]}),e("mesh",{name:"UR10_L04",castShadow:!0,receiveShadow:!0,geometry:l.UR10_L04.geometry,material:h.Standard})]}),e("mesh",{name:"UR10_L03",castShadow:!0,receiveShadow:!0,geometry:l.UR10_L03.geometry,material:h.Standard})]}),e("mesh",{name:"UR10_L02",castShadow:!0,receiveShadow:!0,geometry:l.UR10_L02.geometry,material:h.Standard})]}),e("mesh",{name:"UR10_L01",castShadow:!0,receiveShadow:!0,geometry:l.UR10_L01.geometry,material:h.Standard})]}),e("mesh",{name:"UR10_L00",castShadow:!0,receiveShadow:!0,geometry:l.UR10_L00.geometry,material:h.Standard,rotation:[-Math.PI/2,0,0]})]})})}))]})}function $o(o){var r=o.modelURL,a=o.connectedMotionGroup,i=R(o,["modelURL","connectedMotionGroup"]),s=u(r),l=s.nodes,h=s.materials;return t(n,{children:[e(Wo,{connectedMotionGroup:a,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]}))}}),e("group",M({},i,{dispose:null,children:e("group",{name:"Scene",children:t("group",{name:"UR10e",rotation:[Math.PI/2,0,0],children:[t(c.group,{name:"UR10e_J01",rotation:[-Math.PI/2,0,0],children:[t(c.group,{name:"UR10e_J02",position:[0,.181,0],rotation:[Math.PI/2,0,0],children:[t(c.group,{name:"UR10e_J03",position:[-.613,0,0],children:[t(c.group,{name:"UR10e_J04",position:[-.572,0,0],children:[t(c.group,{name:"UR10e_J05",position:[0,.174,0],rotation:[Math.PI/2,0,0],children:[t(c.group,{name:"UR10e_J06",position:[0,.12,0],rotation:[-Math.PI/2,0,0],children:[t(c.group,{name:"UR10e_FLG",position:[1.184,-.174,.061],rotation:[-Math.PI/2,0,0],children:[e("mesh",{name:"C-1000493",geometry:l["C-1000493"].geometry,material:h.Black,castShadow:!0,receiveShadow:!0}),e("mesh",{name:"C-1000493_1",geometry:l["C-1000493_1"].geometry,material:h.Metal,castShadow:!0,receiveShadow:!0})]}),e("group",{name:"UR10e_L07",position:[0,.117,0]})]}),t("group",{name:"UR10e_L06",position:[1.184,.181,.174],rotation:[Math.PI,0,0],children:[e("mesh",{name:"C-1000492",geometry:l["C-1000492"].geometry,material:h.DarkGray,castShadow:!0,receiveShadow:!0}),e("mesh",{name:"C-1000492_1",geometry:l["C-1000492_1"].geometry,material:h.Black,castShadow:!0,receiveShadow:!0}),e("mesh",{name:"C-1000492_2",geometry:l["C-1000492_2"].geometry,material:h.Blue,castShadow:!0,receiveShadow:!0}),e("mesh",{name:"C-1000492_3",geometry:l["C-1000492_3"].geometry,material:h.Screw,castShadow:!0,receiveShadow:!0})]})]}),t("group",{name:"UR10e_L05",position:[1.184,0,.181],rotation:[-Math.PI/2,0,0],children:[e("mesh",{name:"C-1000491",geometry:l["C-1000491"].geometry,material:h.DarkGray,castShadow:!0,receiveShadow:!0}),e("mesh",{name:"C-1000491_1",geometry:l["C-1000491_1"].geometry,material:h.Blue,castShadow:!0,receiveShadow:!0}),e("mesh",{name:"C-1000491_2",geometry:l["C-1000491_2"].geometry,material:h.Black,castShadow:!0,receiveShadow:!0}),e("mesh",{name:"C-1000491_3",geometry:l["C-1000491_3"].geometry,material:h.Screw,castShadow:!0,receiveShadow:!0})]})]}),t("group",{name:"UR10e_L04",position:[.613,0,.181],rotation:[-Math.PI/2,0,0],children:[e("mesh",{name:"C-1000490",geometry:l["C-1000490"].geometry,material:h.Metal,castShadow:!0,receiveShadow:!0}),e("mesh",{name:"C-1000490_1",geometry:l["C-1000490_1"].geometry,material:h.Black,castShadow:!0,receiveShadow:!0}),e("mesh",{name:"C-1000490_2",geometry:l["C-1000490_2"].geometry,material:h.DarkGray,castShadow:!0,receiveShadow:!0}),e("mesh",{name:"C-1000490_3",geometry:l["C-1000490_3"].geometry,material:h.Blue,castShadow:!0,receiveShadow:!0})]})]}),t(c.group,{name:"UR10e_L03",position:[0,0,.181],rotation:[-Math.PI/2,0,0],children:[e("mesh",{name:"C-1000489",geometry:l["C-1000489"].geometry,material:h.Blue,castShadow:!0,receiveShadow:!0}),e("mesh",{name:"C-1000489_1",geometry:l["C-1000489_1"].geometry,material:h.Black,castShadow:!0,receiveShadow:!0}),e("mesh",{name:"C-1000489_2",geometry:l["C-1000489_2"].geometry,material:h.DarkGray,castShadow:!0,receiveShadow:!0}),e("mesh",{name:"C-1000489_3",geometry:l["C-1000489_3"].geometry,material:h.Screw,castShadow:!0,receiveShadow:!0}),e("mesh",{name:"C-1000489_4",geometry:l["C-1000489_4"].geometry,material:h.Metal,castShadow:!0,receiveShadow:!0})]})]}),t("group",{name:"UR10e_L02",children:[e("mesh",{name:"C-1000488",geometry:l["C-1000488"].geometry,material:h.Black,castShadow:!0,receiveShadow:!0}),e("mesh",{name:"C-1000488_1",geometry:l["C-1000488_1"].geometry,material:h.Blue,castShadow:!0,receiveShadow:!0}),e("mesh",{name:"C-1000488_2",geometry:l["C-1000488_2"].geometry,material:h.Screw,castShadow:!0,receiveShadow:!0}),e("mesh",{name:"C-1000488_3",geometry:l["C-1000488_3"].geometry,material:h.DarkGray,castShadow:!0,receiveShadow:!0})]})]}),t("group",{name:"UR10e_L01",rotation:[-Math.PI/2,0,0],children:[e("mesh",{name:"C-1000487",geometry:l["C-1000487"].geometry,material:h.Black,castShadow:!0,receiveShadow:!0}),e("mesh",{name:"C-1000487_1",geometry:l["C-1000487_1"].geometry,material:h.Metal,castShadow:!0,receiveShadow:!0})]})]})})}))]})}function Qo(o){var r=o.modelURL,a=o.connectedMotionGroup,i=R(o,["modelURL","connectedMotionGroup"]),s=u(r),l=s.nodes,h=s.materials,_=[0,-Math.PI/2,0,0,0,0];return t(n,{children:[e(Wo,{connectedMotionGroup:a,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]+_[n]}))}}),e("group",M({},i,{dispose:null,children:e("group",{name:"Scene",children:t("group",{name:"AR900",rotation:[Math.PI/2,0,0],children:[t(c.group,{name:"AR900_J01",rotation:[-Math.PI/2,0,0],children:[t(c.group,{name:"AR900_J02",position:[.04,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[t(c.group,{name:"AR900_J03",position:[.445,0,0],rotation:[-Math.PI,0,0],children:[t(c.group,{name:"AR900_J04",position:[.04,0,0],rotation:[-Math.PI/2,0,0],children:[t(c.group,{name:"AR900_J05",position:[0,-.44,0],rotation:[Math.PI/2,0,0],children:[t(c.group,{name:"AR900_J06",rotation:[-Math.PI/2,0,0],children:[e("group",{name:"AR900_FLG",position:[0,-.08,0],rotation:[-Math.PI,0,0]}),e("mesh",{name:"AR900_L06",castShadow:!0,receiveShadow:!0,geometry:l.AR900_L06.geometry,material:h["#BBA474.001"]})]}),e("mesh",{name:"AR900_L05",castShadow:!0,receiveShadow:!0,geometry:l.AR900_L05.geometry,material:h["#0056b9.001"]})]}),e("mesh",{name:"AR900_L04",castShadow:!0,receiveShadow:!0,geometry:l.AR900_L04.geometry,material:h["#0056b9.001"]})]}),e("mesh",{name:"AR900_L03",castShadow:!0,receiveShadow:!0,geometry:l.AR900_L03.geometry,material:h["#0056b9.001"]})]}),e("mesh",{name:"AR900_L02",castShadow:!0,receiveShadow:!0,geometry:l.AR900_L02.geometry,material:h["#0056b9.001"]})]}),e("mesh",{name:"AR900_L01",castShadow:!0,receiveShadow:!0,geometry:l.AR900_L01.geometry,material:h["#0056b9.001"]})]}),e("mesh",{name:"AR900_L00",castShadow:!0,receiveShadow:!0,geometry:l.AR900_L00.geometry,material:h["#0056b9.001"],rotation:[-Math.PI/2,0,0]})]})})}))]})}function er(o){var r=o.modelURL,a=o.connectedMotionGroup,i=R(o,["modelURL","connectedMotionGroup"]),s=u(r),l=s.nodes,h=s.materials,_=[0,-Math.PI/2,0,0,0,0],d=[1,-1,1,1,1,1];return t(n,{children:[e(Wo,{connectedMotionGroup:a,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=d[n]*t[n]+_[n]}))}}),e("group",M({},i,{dispose:null,children:e("group",{name:"Scene",children:t("group",{name:"AR1440",rotation:[Math.PI/2,0,0],children:[t(c.group,{name:"AR1440_J01",rotation:[-Math.PI/2,0,0],children:[t(c.group,{name:"AR1440_J02",position:[.155,0,0],rotation:[Math.PI/2,0,Math.PI],children:[t(c.group,{name:"AR1440_J03",position:[.614,0,0],rotation:[Math.PI,0,0],children:[t(c.group,{name:"AR1440_J04",position:[.2,0,0],rotation:[-Math.PI/2,0,0],children:[t(c.group,{name:"AR1440_J05",position:[0,-.64,0],rotation:[Math.PI/2,0,0],children:[t(c.group,{name:"AR1440_J06",rotation:[-Math.PI/2,0,0],children:[e("group",{name:"AR1440_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),e("mesh",{name:"AR1440_L06_CAD",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L06_CAD.geometry,material:h.metall})]}),e("mesh",{name:"AR1440_L05_CAD",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L05_CAD.geometry,material:h.yaskawaBlueMetall})]}),t("group",{name:"AR1440_L04_CAD",children:[e("mesh",{name:"AR1440_L04_CAD001",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L04_CAD001.geometry,material:h.yaskawaBlueMetall}),e("mesh",{name:"AR1440_L04_CAD001_1",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L04_CAD001_1.geometry,material:h.white})]})]}),t("group",{name:"AR1440_L03_CAD",children:[e("mesh",{name:"AR1440_L03_CAD001",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L03_CAD001.geometry,material:h.yaskawaBlueMetall}),e("mesh",{name:"AR1440_L03_CAD001_1",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L03_CAD001_1.geometry,material:h.blackMetall})]})]}),e("mesh",{name:"AR1440_L02_CAD",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L02_CAD.geometry,material:h.yaskawaBlueMetall})]}),t("group",{name:"AR1440_L01_CAD",children:[e("mesh",{name:"AR1440_L01_CAD001",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L01_CAD001.geometry,material:h.yaskawaBlueMetall}),e("mesh",{name:"AR1440_L01_CAD001_1",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L01_CAD001_1.geometry,material:h.blackMetall})]})]}),e("mesh",{name:"AR1440_L00_CAD",castShadow:!0,receiveShadow:!0,geometry:l.AR1440_L00_CAD.geometry,material:h.yaskawaBlueMetall,position:[0,0,.45],rotation:[-Math.PI/2,0,0]})]})})}))]})}function tr(o){var r=o.modelURL,a=o.connectedMotionGroup,i=R(o,["modelURL","connectedMotionGroup"]),s=u(r),l=s.nodes,h=s.materials,_=[0,-Math.PI/2,0,0,0,0],d=[1,-1,1,1,1,1];return t(n,{children:[e(Wo,{connectedMotionGroup:a,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=d[n]*t[n]+_[n]}))}}),e("group",M({},i,{dispose:null,children:t("group",{name:"Scene",children:[t(c.group,{name:"AR1730_J00",children:[t(c.group,{name:"AR1730_J01",position:[.15,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[t(c.group,{name:"AR1730_J02",position:[.76,0,0],rotation:[-Math.PI,0,0],children:[t(c.group,{name:"AR1730_J03",position:[.2,0,0],rotation:[-Math.PI/2,0,0],children:[t(c.group,{name:"AR1730_J04",position:[0,-.795,0],rotation:[Math.PI/2,0,0],children:[t(c.group,{name:"AR1730_J05",rotation:[-Math.PI/2,0,0],children:[e("group",{name:"AR1730_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),e("mesh",{name:"AR1730_L06",castShadow:!0,receiveShadow:!0,geometry:l.AR1730_L06.geometry,material:h.Metal,rotation:[Math.PI/2,-Math.PI/2,0]})]}),e("mesh",{name:"AR1730_L05",castShadow:!0,receiveShadow:!0,geometry:l.AR1730_L05.geometry,material:h.Blue,rotation:[Math.PI/2,0,Math.PI/2]})]}),t("group",{name:"AR1730_L04",position:[0,-.302,0],rotation:[0,0,-Math.PI/2],children:[e("mesh",{name:"_R_AXIS_SW0001002",castShadow:!0,receiveShadow:!0,geometry:l._R_AXIS_SW0001002.geometry,material:h.Blue}),e("mesh",{name:"_R_AXIS_SW0001002_1",castShadow:!0,receiveShadow:!0,geometry:l._R_AXIS_SW0001002_1.geometry,material:h.White})]})]}),t("group",{name:"AR1730_L03",rotation:[Math.PI/2,0,-Math.PI/2],children:[e("mesh",{name:"_U_AXIS_SW0001002",castShadow:!0,receiveShadow:!0,geometry:l._U_AXIS_SW0001002.geometry,material:h.Blue}),e("mesh",{name:"_U_AXIS_SW0001002_1",castShadow:!0,receiveShadow:!0,geometry:l._U_AXIS_SW0001002_1.geometry,material:h.Black})]})]}),e("mesh",{name:"AR1730_L02",castShadow:!0,receiveShadow:!0,geometry:l.AR1730_L02.geometry,material:h.Blue,position:[0,-.157,0],rotation:[-Math.PI,-1.571,0]})]}),t("group",{name:"AR1730_L01",position:[0,-.336,0],rotation:[Math.PI/2,0,-Math.PI/2],children:[e("mesh",{name:"_S_AXIS_SW0001002",castShadow:!0,receiveShadow:!0,geometry:l._S_AXIS_SW0001002.geometry,material:h.Blue}),e("mesh",{name:"_S_AXIS_SW0001002_1",castShadow:!0,receiveShadow:!0,geometry:l._S_AXIS_SW0001002_1.geometry,material:h.Black})]})]}),e("mesh",{name:"AR1730_L00",castShadow:!0,receiveShadow:!0,geometry:l.AR1730_L00.geometry,material:h.Blue,position:[0,-.505,0],rotation:[Math.PI/2,0,-Math.PI/2]})]})}))]})}function nr(o){var r=o.modelURL,a=o.connectedMotionGroup,i=R(o,["modelURL","connectedMotionGroup"]),s=u(r),l=s.nodes,h=s.materials,_=[0,-Math.PI/2,0,0,0,0],d=[1,-1,1,1,1,1];return t(n,{children:[e(Wo,{connectedMotionGroup:a,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=d[n]*t[n]+_[n]}))}}),e("group",M({},i,{dispose:null,children:e("group",{name:"Scene",children:t("group",{name:"AR2010",rotation:[Math.PI/2,0,0],children:[t(c.group,{name:"AR2010_J01",rotation:[-Math.PI/2,0,0],children:[t(c.group,{name:"AR2010_J02",position:[.15,0,0],rotation:[Math.PI/2,0,Math.PI],children:[t(c.group,{name:"AR2010_J03",position:[.76,0,0],rotation:[Math.PI,0,0],children:[t(c.group,{name:"AR2010_J04",position:[.2,0,0],rotation:[-Math.PI/2,0,0],children:[t(c.group,{name:"AR2010_J05",position:[0,-1.082,0],rotation:[Math.PI/2,0,0],children:[t(c.group,{name:"AR2010_J06",rotation:[-Math.PI/2,0,0],children:[e("group",{name:"AR2010_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),t("group",{name:"AR2010_L06",children:[e("mesh",{name:"AR2010_06001",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_06001.geometry,material:h.yaskawaBlueMetall}),e("mesh",{name:"AR2010_06001_1",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_06001_1.geometry,material:h.metall})]})]}),e("mesh",{name:"AR2010_L05",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_L05.geometry,material:h.yaskawaBlueMetall})]}),t("group",{name:"AR2010_L04",children:[e("mesh",{name:"AR2010_04001",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_04001.geometry,material:h.yaskawaBlueMetall}),e("mesh",{name:"AR2010_04001_1",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_04001_1.geometry,material:h.white})]})]}),t("group",{name:"AR2010_L03",children:[e("mesh",{name:"AR2010_03001",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_03001.geometry,material:h.yaskawaBlueMetall}),e("mesh",{name:"AR2010_03001_1",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_03001_1.geometry,material:h.blackMetall})]})]}),e("mesh",{name:"AR2010_L02",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_L02.geometry,material:h.yaskawaBlueMetall})]}),t("group",{name:"AR2010_L01",children:[e("mesh",{name:"AR2010_01001",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_01001.geometry,material:h.yaskawaBlueMetall}),e("mesh",{name:"AR2010_01001_1",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_01001_1.geometry,material:h.blackMetall})]})]}),e("mesh",{name:"AR2010_L00",castShadow:!0,receiveShadow:!0,geometry:l.AR2010_L00.geometry,material:h.yaskawaBlueMetall,rotation:[-Math.PI/2,0,0]})]})})}))]})}function or(o){var r=o.modelURL,a=o.connectedMotionGroup,i=R(o,["modelURL","connectedMotionGroup"]),s=u(r),l=s.nodes,h=s.materials,_=[0,-Math.PI/2,0,0,0,0],d=[1,-1,1,1,1,1];return t(n,{children:[e(Wo,{connectedMotionGroup:a,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=d[n]*t[n]+_[n]}))}}),e("group",M({},i,{dispose:null,children:t("group",{name:"Scene",children:[t(c.group,{name:"AR3120_J00",children:[t(c.group,{name:"AR3120_J01",position:[.145,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[t(c.group,{name:"AR3120_J02",position:[1.15,0,0],rotation:[-Math.PI,0,0],children:[t(c.group,{name:"AR3120_J03",position:[.25,0,0],rotation:[-Math.PI/2,0,0],children:[t(c.group,{name:"AR3120_J04",position:[0,-1.812,0],rotation:[Math.PI/2,0,0],children:[t(c.group,{name:"AR3120_J05",rotation:[-Math.PI/2,0,0],children:[e("group",{name:"AR3120_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),e("mesh",{name:"AR3120_L06",castShadow:!0,receiveShadow:!0,geometry:l.AR3120_L06.geometry,material:h["Metal.001"],rotation:[Math.PI/2,-Math.PI/2,0]})]}),e("mesh",{name:"AR3120_L05",castShadow:!0,receiveShadow:!0,geometry:l.AR3120_L05.geometry,material:h["Blue.001"],rotation:[Math.PI/2,0,Math.PI/2]})]}),t("group",{name:"AR3120_L04",rotation:[Math.PI/2,-Math.PI/2,0],children:[e("mesh",{name:"R_AXIS_GP20HL001",castShadow:!0,receiveShadow:!0,geometry:l.R_AXIS_GP20HL001.geometry,material:h["Blue.001"]}),e("mesh",{name:"R_AXIS_GP20HL001_1",castShadow:!0,receiveShadow:!0,geometry:l.R_AXIS_GP20HL001_1.geometry,material:h["White.001"]})]})]}),t("group",{name:"AR3120_L03",rotation:[Math.PI,0,-Math.PI/2],children:[e("mesh",{name:"Mesh_3001",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_3001.geometry,material:h["Blue.001"]}),e("mesh",{name:"Mesh_3001_1",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_3001_1.geometry,material:h["Black.001"]})]})]}),e("mesh",{name:"AR3120_L02",castShadow:!0,receiveShadow:!0,geometry:l.AR3120_L02.geometry,material:h["Blue.001"],position:[0,-.146,0],rotation:[Math.PI,0,0]})]}),t("group",{name:"AR3120_L01",position:[0,-.228,0],rotation:[0,-1.571,0],children:[e("mesh",{name:"S_AXIS_GP20HL001",castShadow:!0,receiveShadow:!0,geometry:l.S_AXIS_GP20HL001.geometry,material:h["Blue.001"]}),e("mesh",{name:"S_AXIS_GP20HL001_1",castShadow:!0,receiveShadow:!0,geometry:l.S_AXIS_GP20HL001_1.geometry,material:h["Black.001"]})]})]}),e("mesh",{name:"AR3120_L00",castShadow:!0,receiveShadow:!0,geometry:l.AR3120_L00.geometry,material:h["Blue.001"],position:[0,-.54,0]})]})}))]})}function rr(o){var r=o.modelURL,a=o.connectedMotionGroup,i=R(o,["modelURL","connectedMotionGroup"]),s=u(r),l=s.nodes,h=s.materials,_=[0,Math.PI/2,0,0,0,0];return t(n,{children:[e(Wo,{connectedMotionGroup:a,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]+_[n]}))}}),e("group",M({},i,{dispose:null,children:t("group",{name:"Scene",children:[t(c.group,{name:"CRX10iA_J00",children:[t(c.group,{name:"CRX10iA_J01",rotation:[Math.PI/2,Math.PI/2,0],children:[t(c.group,{name:"CRX10iA_J02",position:[.54,0,0],children:[t(c.group,{name:"CRX10iA_J03",rotation:[-Math.PI/2,0,0],children:[t(c.group,{name:"CRX10iA_J04",position:[0,-.54,0],rotation:[Math.PI/2,0,0],children:[t(c.group,{name:"CRX10iA_J05",position:[0,.15,0],rotation:[-Math.PI/2,0,0],children:[e("group",{name:"CRX10iA_FLG",position:[0,-.16,0],rotation:[-Math.PI,0,0]}),e("mesh",{name:"CRX10iA_L06",castShadow:!0,receiveShadow:!0,geometry:l.CRX10iA_L06.geometry,material:h.Fanuc_BlackMetal,position:[0,-.16,0],rotation:[0,0,-Math.PI/2]})]}),t("group",{name:"CRX10iA_L05",position:[0,.15,0],rotation:[-Math.PI/2,0,-Math.PI/2],children:[e("mesh",{name:"J5CASING_UNIT001",castShadow:!0,receiveShadow:!0,geometry:l.J5CASING_UNIT001.geometry,material:h.Fanuc_WhitePlastic}),e("mesh",{name:"J5CASING_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:l.J5CASING_UNIT001_1.geometry,material:h.Fanuc_Green})]})]}),t("group",{name:"CRX10iA_L04",position:[0,-.54,0],rotation:[0,0,-Math.PI/2],children:[e("mesh",{name:"NAME_LABEL_CRX_10iA",castShadow:!0,receiveShadow:!0,geometry:l.NAME_LABEL_CRX_10iA.geometry,material:h.Fanuc_RedPlastic}),e("mesh",{name:"NAME_LABEL_CRX_10iA_1",castShadow:!0,receiveShadow:!0,geometry:l.NAME_LABEL_CRX_10iA_1.geometry,material:h.Fanuc_BlackPlastic}),e("mesh",{name:"NAME_LABEL_CRX_10iA_2",castShadow:!0,receiveShadow:!0,geometry:l.NAME_LABEL_CRX_10iA_2.geometry,material:h.Fanuc_WhitePlastic})]})]}),e("mesh",{name:"CRX10iA_L03",castShadow:!0,receiveShadow:!0,geometry:l.CRX10iA_L03.geometry,material:h.Fanuc_WhitePlastic,rotation:[-Math.PI/2,0,-Math.PI/2]})]}),e("mesh",{name:"CRX10iA_L02",castShadow:!0,receiveShadow:!0,geometry:l.CRX10iA_L02.geometry,material:h.Fanuc_WhitePlastic,rotation:[-Math.PI/2,0,-Math.PI/2]})]}),t("group",{name:"CRX10iA_L01",position:[0,-.117,0],children:[e("mesh",{name:"J2BASE_UNIT001",castShadow:!0,receiveShadow:!0,geometry:l.J2BASE_UNIT001.geometry,material:h.Fanuc_Green}),e("mesh",{name:"J2BASE_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:l.J2BASE_UNIT001_1.geometry,material:h.Fanuc_WhitePlastic}),e("mesh",{name:"J2BASE_UNIT001_2",castShadow:!0,receiveShadow:!0,geometry:l.J2BASE_UNIT001_2.geometry,material:h.Fanuc_GreenLED})]})]}),e("mesh",{name:"CRX10iA_L00",castShadow:!0,receiveShadow:!0,geometry:l.CRX10iA_L00.geometry,material:h.Fanuc_BlackMetal,position:[0,-.245,0]})]})}))]})}function ar(o){var r=o.modelURL,a=o.connectedMotionGroup,i=R(o,["modelURL","connectedMotionGroup"]),s=u(r),l=s.nodes,h=s.materials,_=[0,Math.PI/2,0,0,0,0];return t(n,{children:[e(Wo,{connectedMotionGroup:a,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]+_[n]}))}}),e("group",M({},i,{dispose:null,children:t("group",{name:"Scene",position:[0,-.37,0],children:[t("group",{name:"CRX25iA_L00",children:[e("mesh",{name:"J1BASE_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:l.J1BASE_NetGen_Coarse.geometry,material:h.Fanuc_BlackMetal}),e("mesh",{name:"J1BASE_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:l.J1BASE_NetGen_Coarse_1.geometry,material:h.Fanuc_GreenPlastic})]}),t(c.group,{name:"CRX25iA_J00",children:[t(c.group,{name:"CRX25iA_J01",position:[0,.37,0],rotation:[Math.PI/2,Math.PI/2,0],children:[t(c.group,{name:"CRX25iA_J02",position:[.95,0,0],children:[t(c.group,{name:"CRX25iA_J03",rotation:[-Math.PI/2,0,0],children:[t(c.group,{name:"CRX25iA_J04",position:[0,-.75,0],rotation:[Math.PI/2,0,0],children:[t(c.group,{name:"CRX25iA_J05",position:[0,.185,0],rotation:[-Math.PI/2,0,0],children:[e("group",{name:"CRX25iA_FLG",position:[0,-.18,0],rotation:[-Math.PI,0,0]}),e("mesh",{name:"CRX25iA_L06",castShadow:!0,receiveShadow:!0,geometry:l.CRX25iA_L06.geometry,material:h.Fanuc_BlackMetal,position:[0,-.18,0]})]}),t("group",{name:"CRX25iA_L05",position:[0,.185,0],children:[e("mesh",{name:"J6CASING_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:l.J6CASING_NetGen_Coarse.geometry,material:h.Fanuc_WhitePlastic}),e("mesh",{name:"J6CASING_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:l.J6CASING_NetGen_Coarse_1.geometry,material:h.Fanuc_GreenPlastic})]})]}),t("group",{name:"CRX25iA_L04",position:[0,-.75,0],children:[e("mesh",{name:"J3ARM_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:l.J3ARM_NetGen_Coarse.geometry,material:h.Fanuc_WhitePlastic}),e("mesh",{name:"J3ARM_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:l.J3ARM_NetGen_Coarse_1.geometry,material:h.Fanuc_RedPlastic}),e("mesh",{name:"J3ARM_NetGen_Coarse_2",castShadow:!0,receiveShadow:!0,geometry:l.J3ARM_NetGen_Coarse_2.geometry,material:h.Fanuc_BlackPlastic})]})]}),t("group",{name:"CRX25iA_L03",children:[e("mesh",{name:"J3CASING_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:l.J3CASING_NetGen_Coarse.geometry,material:h.Fanuc_WhitePlastic}),e("mesh",{name:"J3CASING_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:l.J3CASING_NetGen_Coarse_1.geometry,material:h.Fanuc_GreenPlastic})]})]}),e("mesh",{name:"CRX25iA_L02",castShadow:!0,receiveShadow:!0,geometry:l.CRX25iA_L02.geometry,material:h.Fanuc_WhitePlastic})]}),t("group",{name:"CRX25iA_L01",position:[0,.18,0],children:[e("mesh",{name:"J2BASE_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:l.J2BASE_NetGen_Coarse.geometry,material:h.Fanuc_WhitePlastic}),e("mesh",{name:"J2BASE_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:l.J2BASE_NetGen_Coarse_1.geometry,material:h.Fanuc_GreenLED})]})]})]})}))]})}function ir(o){var r=o.modelURL,a=o.connectedMotionGroup,i=R(o,["modelURL","connectedMotionGroup"]),s=u(r),l=s.nodes,h=s.materials,_=[0,Math.PI/2,0,0,0,0];return t(n,{children:[e(Wo,{connectedMotionGroup:a,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]+_[n]}))}}),e("group",M({},i,{dispose:null,children:t("group",{name:"Scene",children:[t(c.group,{name:"CRX10iA_J00",children:[t(c.group,{name:"CRX10iA_J01",position:[0,.245,0],rotation:[Math.PI/2,Math.PI/2,0],children:[t(c.group,{name:"CRX10iA_J02",position:[.71,0,0],children:[t(c.group,{name:"CRX10iA_J03",rotation:[-Math.PI/2,0,0],children:[t(c.group,{name:"CRX10iA_J04",position:[0,-.54,0],rotation:[Math.PI/2,0,0],children:[t(c.group,{name:"CRX10iA_J05",position:[0,.15,0],rotation:[-Math.PI/2,0,0],children:[e("group",{name:"CRX10iA_FLG",position:[0,-.16,0],rotation:[-Math.PI,0,0]}),e("mesh",{name:"CRX10iA_L06",castShadow:!0,receiveShadow:!0,geometry:l.CRX10iA_L06.geometry,material:h["Fanuc_BlackMetal.001"],position:[0,-.16,0],rotation:[0,0,-Math.PI/2]})]}),t("group",{name:"CRX10iA_L05",position:[0,.15,0],rotation:[-Math.PI/2,0,-Math.PI/2],children:[e("mesh",{name:"J5CASING_UNIT001",castShadow:!0,receiveShadow:!0,geometry:l.J5CASING_UNIT001.geometry,material:h["Fanuc_WhitePlastic.001"]}),e("mesh",{name:"J5CASING_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:l.J5CASING_UNIT001_1.geometry,material:h["Fanuc_Green.001"]})]})]}),t("group",{name:"CRX10iA_L04",position:[0,-.54,0],rotation:[0,0,-Math.PI/2],children:[e("mesh",{name:"NAME_LABEL_CRX_10iA_L001",castShadow:!0,receiveShadow:!0,geometry:l.NAME_LABEL_CRX_10iA_L001.geometry,material:h["Fanuc_WhitePlastic.001"]}),e("mesh",{name:"NAME_LABEL_CRX_10iA_L001_1",castShadow:!0,receiveShadow:!0,geometry:l.NAME_LABEL_CRX_10iA_L001_1.geometry,material:h["Fanuc_RedPlastic.001"]}),e("mesh",{name:"NAME_LABEL_CRX_10iA_L001_2",castShadow:!0,receiveShadow:!0,geometry:l.NAME_LABEL_CRX_10iA_L001_2.geometry,material:h["Fanuc_BlackPlastic.001"]})]})]}),t("group",{name:"CRX10iA_L03",rotation:[-Math.PI/2,0,-Math.PI/2],children:[e("mesh",{name:"J3CASING_UNIT001",castShadow:!0,receiveShadow:!0,geometry:l.J3CASING_UNIT001.geometry,material:h["Fanuc_WhitePlastic.001"]}),e("mesh",{name:"J3CASING_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:l.J3CASING_UNIT001_1.geometry,material:h["Fanuc_Green.001"]})]})]}),e("mesh",{name:"CRX10iA_L02",castShadow:!0,receiveShadow:!0,geometry:l.CRX10iA_L02.geometry,material:h["Fanuc_WhitePlastic.001"],rotation:[-Math.PI/2,0,-Math.PI/2]})]}),t("group",{name:"CRX10iA_L01",position:[0,.128,0],children:[e("mesh",{name:"J2BASE_UNIT001",castShadow:!0,receiveShadow:!0,geometry:l.J2BASE_UNIT001.geometry,material:h["Fanuc_WhitePlastic.001"]}),e("mesh",{name:"J2BASE_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:l.J2BASE_UNIT001_1.geometry,material:h["Fanuc_Green.001"]}),e("mesh",{name:"J2BASE_UNIT001_2",castShadow:!0,receiveShadow:!0,geometry:l.J2BASE_UNIT001_2.geometry,material:h["Fanuc_GreenLED.001"]})]})]}),e("mesh",{name:"CRX10iA_L00",castShadow:!0,receiveShadow:!0,geometry:l.CRX10iA_L00.geometry,material:h["Fanuc_BlackMetal.001"]})]})}))]})}function sr(o){var r=o.modelURL,a=o.connectedMotionGroup,i=R(o,["modelURL","connectedMotionGroup"]),s=u(r),l=s.nodes,h=s.materials,_=[0,0,-Math.PI/2,0,0,0];return t(n,{children:[e(Wo,{connectedMotionGroup:a,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]+_[n]}))}}),e("group",M({},i,{dispose:null,children:e("group",{name:"Scene",children:t("group",{name:"kuka_kr210_2700",children:[t(c.group,{name:"joint_01",children:[t(c.group,{name:"joint_02",position:[.33,.645,0],rotation:[-Math.PI/2,0,0],children:[t(c.group,{name:"joint_03",position:[1.15,0,0],rotation:[0,-Math.PI/2,0],children:[t(c.group,{name:"joint_04",position:[.115,0,0],rotation:[Math.PI/2,0,0],children:[t(c.group,{name:"joint_05",position:[0,-1.22,0],rotation:[-Math.PI/2,0,0],children:[t(c.group,{name:"joint_06",rotation:[Math.PI/2,0,0],children:[e("group",{name:"flange",position:[0,-.215,0],rotation:[-Math.PI,0,0]}),e("group",{name:"link_6",position:[0,-.17,0],rotation:[0,0,-Math.PI/2],children:e("mesh",{name:"visuals006",castShadow:!0,receiveShadow:!0,geometry:l.visuals006.geometry,material:h.material_Material_Metall_black})})]}),e("group",{name:"link_5",position:[0,.059,0],rotation:[Math.PI/2,0,-Math.PI/2],children:t("group",{name:"visuals005",children:[e("mesh",{name:"visuals005_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals005_1.geometry,material:h.material_Material_metal_black}),e("mesh",{name:"visuals005_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals005_2.geometry,material:h.material_Material_kuka_orange})]})})]}),e("group",{name:"link_4",position:[0,-.869,0],rotation:[0,0,-Math.PI/2],children:t("group",{name:"visuals004",children:[e("mesh",{name:"visuals004_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals004_1.geometry,material:h.material_Material_metal_black}),e("mesh",{name:"visuals004_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals004_2.geometry,material:h.material_Material_kuka_orange})]})})]}),e("group",{name:"link_3",position:[0,-.105,0],rotation:[Math.PI/2,0,-Math.PI/2],children:t("group",{name:"visuals003",children:[e("mesh",{name:"visuals003_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_1.geometry,material:h.material_Material_rubber}),e("mesh",{name:"visuals003_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_2.geometry,material:h.material_Material_aluminium}),e("mesh",{name:"visuals003_3",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_3.geometry,material:h.material_Material_metal_black}),e("mesh",{name:"visuals003_4",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_4.geometry,material:h.material_Material_kuka_black}),e("mesh",{name:"visuals003_5",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_5.geometry,material:h.material_Material_Rubber_black}),e("mesh",{name:"visuals003_6",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_6.geometry,material:h.material_Material_kuka_orange}),e("mesh",{name:"visuals003_7",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_7.geometry,material:h.material_Material_stainless_steel})]})})]}),e("group",{name:"link_2",position:[0,.009,0],rotation:[Math.PI/2,0,0],children:t("group",{name:"visuals002",children:[e("mesh",{name:"visuals002_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals002_1.geometry,material:h.material_Material_metal_black}),e("mesh",{name:"visuals002_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals002_2.geometry,material:h.material_Material_Rubber_black}),e("mesh",{name:"visuals002_3",castShadow:!0,receiveShadow:!0,geometry:l.visuals002_3.geometry,material:h.material_Material_kuka_orange})]})})]}),e("group",{name:"link_1",position:[0,.236,0],children:t("group",{name:"visuals001",children:[e("mesh",{name:"visuals001_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_1.geometry,material:h.material_Material_kuka_black}),e("mesh",{name:"visuals001_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_2.geometry,material:h.material_Material_kuka_orange}),e("mesh",{name:"visuals001_3",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_3.geometry,material:h.material_Material_rubber}),e("mesh",{name:"visuals001_4",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_4.geometry,material:h.material_Material_metal_black}),e("mesh",{name:"visuals001_5",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_5.geometry,material:h.material_Material_aluminium}),e("mesh",{name:"visuals001_6",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_6.geometry,material:h.material_Material_rubber_black}),e("mesh",{name:"visuals001_7",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_7.geometry,material:h.material_Material_stainless_steel})]})})]}),e("group",{name:"link_0",children:t("group",{name:"visuals",children:[e("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals_1.geometry,material:h.material_Material_kuka_black}),e("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals_2.geometry,material:h.material_Material_metal_black})]})})]})})}))]})}function cr(o){var r=o.modelURL,a=o.connectedMotionGroup,i=R(o,["modelURL","connectedMotionGroup"]),s=u(r),l=s.nodes,h=s.materials,_=[0,0,-Math.PI/2,0,0,0];return t(n,{children:[e(Wo,{connectedMotionGroup:a,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]+_[n]}))}}),e("group",M({},i,{dispose:null,children:e("group",{name:"Scene",children:t("group",{name:"kuka_kr270_2700_ultra",children:[t(c.group,{name:"joint_01",children:[t(c.group,{name:"joint_02",position:[.35,.675,0],rotation:[-Math.PI/2,0,0],children:[t(c.group,{name:"joint_03",position:[1.15,0,0],rotation:[0,-Math.PI/2,0],children:[t(c.group,{name:"joint_04",position:[-.041,0,0],rotation:[Math.PI/2,0,0],children:[t(c.group,{name:"joint_05",position:[0,-1.2,0],rotation:[-Math.PI/2,0,0],children:[t(c.group,{name:"joint_06",rotation:[Math.PI/2,0,0],children:[e("group",{name:"flange",position:[0,-.24,0],rotation:[-Math.PI,0,0]}),e("group",{name:"link_6",position:[0,-.213,0],rotation:[0,0,-Math.PI/2],children:t("group",{name:"visuals006",children:[e("mesh",{name:"visuals006_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals006_1.geometry,material:h.material_Material_Farbe__1_}),e("mesh",{name:"visuals006_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals006_2.geometry,material:h.material_Material_Metall})]})})]}),e("group",{name:"link_5",position:[0,.044,0],rotation:[Math.PI/2,0,-Math.PI/2],children:e("mesh",{name:"visuals005",castShadow:!0,receiveShadow:!0,geometry:l.visuals005.geometry,material:h.material_Material_Farbe})})]}),e("group",{name:"link_4",position:[0,-.954,0],rotation:[0,0,-Math.PI/2],children:e("mesh",{name:"visuals004",castShadow:!0,receiveShadow:!0,geometry:l.visuals004.geometry,material:h.material_Material_Farbe})})]}),e("group",{name:"link_3",position:[0,-.178,0],rotation:[Math.PI/2,0,-Math.PI/2],children:t("group",{name:"visuals003",children:[e("mesh",{name:"visuals003_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_1.geometry,material:h.material_Material_Farbe__1_}),e("mesh",{name:"visuals003_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_2.geometry,material:h.material_Material_Farbe__2_}),e("mesh",{name:"visuals003_3",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_3.geometry,material:h.material_Material_Metall}),e("mesh",{name:"visuals003_4",castShadow:!0,receiveShadow:!0,geometry:l.visuals003_4.geometry,material:h.material_Material_Farbe})]})})]}),e("group",{name:"link_2",rotation:[Math.PI/2,0,0],children:t("group",{name:"visuals002",children:[e("mesh",{name:"visuals002_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals002_1.geometry,material:h.material_Material_Farbe}),e("mesh",{name:"visuals002_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals002_2.geometry,material:h.material_Material_Farbe__1_}),e("mesh",{name:"visuals002_3",castShadow:!0,receiveShadow:!0,geometry:l.visuals002_3.geometry,material:h.material_Material_Metall}),e("mesh",{name:"visuals002_4",castShadow:!0,receiveShadow:!0,geometry:l.visuals002_4.geometry,material:h.material_Material_Farbe__2_})]})})]}),e("group",{name:"link_1",position:[0,.226,0],children:t("group",{name:"visuals001",children:[e("mesh",{name:"visuals001_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_1.geometry,material:h.material_Material_Metall}),e("mesh",{name:"visuals001_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_2.geometry,material:h.material_Material_Farbe__1_}),e("mesh",{name:"visuals001_3",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_3.geometry,material:h.material_Material_Farbe__2_}),e("mesh",{name:"visuals001_4",castShadow:!0,receiveShadow:!0,geometry:l.visuals001_4.geometry,material:h.material_Material_Farbe})]})})]}),t("group",{name:"link_0-base",children:[e("group",{name:"joint_1"}),t("group",{name:"visuals",children:[e("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:l.visuals_1.geometry,material:h.material_Material_Metall}),e("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:l.visuals_2.geometry,material:h.material_Material_Farbe__1_})]})]})]})})}))]})}function ur(o){var r=o.modelURL,a=o.connectedMotionGroup,i=R(o,["modelURL","connectedMotionGroup"]),s=u(r),l=s.nodes,h=s.materials,_=[0,Math.PI/2,0,0,0,0];return t(n,{children:[e(Wo,{connectedMotionGroup:a,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]+_[n]}))}}),e("group",M({},i,{dispose:null,children:e("group",{name:"Scene",children:t("group",{name:"M10iD",rotation:[Math.PI/2,0,0],children:[t(c.group,{name:"M10iD_J01",rotation:[-Math.PI/2,0,0],children:[t(c.group,{name:"M10iD_J02",position:[.075,0,0],rotation:[Math.PI/2,Math.PI/2,0],children:[t(c.group,{name:"M10iD_J03",position:[.64,0,0],children:[t(c.group,{name:"M10iD_J04",position:[.195,0,0],rotation:[-Math.PI/2,0,0],children:[t(c.group,{name:"M10iD_J05",position:[0,-.7,0],rotation:[Math.PI/2,0,0],children:[t(c.group,{name:"M10iD_J06",rotation:[-Math.PI/2,0,0],children:[e("group",{name:"M10iD_FLG",position:[0,-.075,0],rotation:[-Math.PI,0,0]}),e("mesh",{name:"M10iD_L06",castShadow:!0,receiveShadow:!0,geometry:l.M10iD_L06.geometry,material:h.Fanuc_BlackMetal_AO,position:[-.835,.775,0],rotation:[0,0,-Math.PI/2]})]}),e("mesh",{name:"M10iD_L05",castShadow:!0,receiveShadow:!0,geometry:l.M10iD_L05.geometry,material:h.Fanuc_BlackMetal_AO,position:[-.835,0,-.775],rotation:[-Math.PI/2,0,-Math.PI/2]})]}),t("group",{name:"M10iD_L04",position:[-.835,.075,0],rotation:[0,0,-Math.PI/2],children:[e("mesh",{name:"Mesh_654",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_654.geometry,material:h.Fanuc_Yellow_Textured_AO}),e("mesh",{name:"Mesh_654_1",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_654_1.geometry,material:h.Fanuc_BlackMetal_AO})]})]}),t("group",{name:"M10iD_L03",position:[-.64,0,-.075],rotation:[-Math.PI/2,0,-Math.PI/2],children:[e("mesh",{name:"Mesh_378",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_378.geometry,material:h.Material_1_AO}),e("mesh",{name:"Mesh_378_1",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_378_1.geometry,material:h.Fanuc_Yellow_Textured_AO}),e("mesh",{name:"Mesh_378_2",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_378_2.geometry,material:h.Fanuc_BlackMetal_AO})]})]}),t("group",{name:"M10iD_L02",position:[0,0,-.075],rotation:[-Math.PI/2,0,-Math.PI/2],children:[e("mesh",{name:"Mesh_358",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_358.geometry,material:h.Fanuc_Yellow_Textured_AO}),e("mesh",{name:"Mesh_358_1",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_358_1.geometry,material:h.Fanuc_BlackMetal_AO})]})]}),t("group",{name:"M10iD_L01",children:[e("mesh",{name:"Mesh_356",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_356.geometry,material:h.Fanuc_Yellow_Textured_AO}),e("mesh",{name:"Mesh_356_1",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_356_1.geometry,material:h.Material_1_AO}),e("mesh",{name:"Mesh_356_2",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_356_2.geometry,material:h.Fanuc_BlackMetal_AO})]})]}),e("mesh",{name:"M10iD_L00",castShadow:!0,receiveShadow:!0,geometry:l.M10iD_L00.geometry,material:h.Fanuc_BlackMetal_AO,rotation:[-Math.PI/2,0,0]})]})})}))]})}function lr(o){var r=o.modelURL,a=o.connectedMotionGroup,i=R(o,["modelURL","connectedMotionGroup"]),s=u(r),l=s.nodes,h=s.materials,_=[0,Math.PI/2,0,0,0,0];return t(n,{children:[e(Wo,{connectedMotionGroup:a,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]+_[n]}))}}),e("group",M({},i,{dispose:null,children:e("group",{name:"Scene",children:t("group",{name:"M10iD",rotation:[0,0,0],children:[t(c.group,{name:"M20iD25_J00",children:[t(c.group,{name:"M20iD25_J01",position:[.075,0,0],rotation:[Math.PI/2,Math.PI/2,0],children:[t(c.group,{name:"M20iD25_J02",position:[.84,0,0],children:[t(c.group,{name:"M20iD25_J03",position:[.215,0,0],rotation:[-Math.PI/2,0,0],children:[t(c.group,{name:"M20iD25_J04",position:[0,-.89,0],rotation:[Math.PI/2,0,0],children:[t(c.group,{name:"M20iD25_J05",rotation:[-Math.PI/2,0,0],children:[e("group",{name:"M20iD25_FLG",position:[0,-.09,0],rotation:[-Math.PI,0,0]}),e("mesh",{name:"M20iD25_L06",castShadow:!0,receiveShadow:!0,geometry:l.M20iD25_L06.geometry,material:h.Fanuc_BlackMetal_AO,position:[0,-.09,0],rotation:[Math.PI/2,0,Math.PI]})]}),e("mesh",{name:"M20iD25_L05",castShadow:!0,receiveShadow:!0,geometry:l.M20iD25_L05.geometry,material:h.Fanuc_BlackMetal_AO,rotation:[Math.PI,Math.PI/2,0]})]}),t("group",{name:"M20iD25_L04",position:[0,-.286,0],rotation:[-Math.PI/2,Math.PI/2,0],children:[e("mesh",{name:"Mesh_2",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_2.geometry,material:h.Fanuc_Yellow_Textured_AO}),e("mesh",{name:"Mesh_2_1",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_2_1.geometry,material:h.Fanuc_BlackMetal_AO})]})]}),t("group",{name:"M20iD25_L03",position:[0,.406,0],rotation:[Math.PI,Math.PI/2,0],children:[e("mesh",{name:"Mesh_15",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_15.geometry,material:h.Fanuc_BlackMetal_AO}),e("mesh",{name:"Mesh_15_1",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_15_1.geometry,material:h.Fanuc_Yellow_Textured_AO}),e("mesh",{name:"Mesh_15_2",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_15_2.geometry,material:h.Material_9_AO})]})]}),t("group",{name:"M20iD25_L02",position:[0,.505,-.055],rotation:[-Math.PI,Math.PI/2,0],children:[e("mesh",{name:"Mesh_37",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_37.geometry,material:h.Fanuc_BlackMetal_AO}),e("mesh",{name:"Mesh_37_1",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_37_1.geometry,material:h.Fanuc_Yellow_Textured_AO})]})]}),t("group",{name:"M20iD25_L01",rotation:[-Math.PI/2,0,0],children:[e("mesh",{name:"Mesh_45",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_45.geometry,material:h.Material_9_AO}),e("mesh",{name:"Mesh_45_1",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_45_1.geometry,material:h.Fanuc_Yellow_Textured_AO}),e("mesh",{name:"Mesh_45_2",castShadow:!0,receiveShadow:!0,geometry:l.Mesh_45_2.geometry,material:h.Fanuc_BlackMetal_AO})]})]}),e("mesh",{name:"M20iD25_L00",castShadow:!0,receiveShadow:!0,geometry:l.M20iD25_L00.geometry,material:h.Fanuc_BlackMetal_AO,position:[0,-.425,0],rotation:[-Math.PI/2,0,0]})]})})}))]})}function hr(o){var r=o.modelURL,a=o.connectedMotionGroup,i=R(o,["modelURL","connectedMotionGroup"]),s=u(r),l=s.nodes,h=s.materials,_=[0,-Math.PI/2,0,0,0,0];return t(n,{children:[e(Wo,{connectedMotionGroup:a,robotRootObjectName:"Scene",onRotationChanged:function(e,t){e.forEach((function(e,n){return e.rotation.y=t[n]+_[n]}))}}),e("group",M({},i,{dispose:null,children:e("group",{name:"Scene",children:t("group",{name:"IRB1200_7_70_IRC5",rotation:[Math.PI/2,0,0],children:[t(c.group,{name:"IRB1200_7_70_IRC5_J01",rotation:[-Math.PI/2,0,0],children:[t(c.group,{name:"IRB1200_7_70_IRC5_J02",position:[0,.399,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[t(c.group,{name:"IRB1200_7_70_IRC5_J03",position:[.35,0,0],children:[t(c.group,{name:"IRB1200_7_70_IRC5_J04",position:[.042,0,0],rotation:[-Math.PI/2,0,0],children:[t(c.group,{name:"IRB1200_7_70_IRC5_J05",position:[0,.351,0],rotation:[Math.PI/2,0,0],children:[t(c.group,{name:"IRB1200_7_70_IRC5_J06",rotation:[Math.PI/2,0,-Math.PI],children:[e("group",{name:"IRB1200_7_70_IRC5_FLG",position:[0,.082,0]}),e("mesh",{name:"IRB1200_7_70_IRC5_L06",castShadow:!0,receiveShadow:!0,geometry:l.IRB1200_7_70_IRC5_L06.geometry,material:h["IRB1200_7-70_IRC5.003_Bake"]})]}),e("mesh",{name:"IRB1200_7_70_IRC5_L05",castShadow:!0,receiveShadow:!0,geometry:l.IRB1200_7_70_IRC5_L05.geometry,material:h["IRB1200_7-70_IRC5.003_Bake"]})]}),e("mesh",{name:"IRB1200_7_70_IRC5_L04",castShadow:!0,receiveShadow:!0,geometry:l.IRB1200_7_70_IRC5_L04.geometry,material:h["IRB1200_7-70_IRC5.003_Bake"]})]}),e("mesh",{name:"IRB1200_7_70_IRC5_L03",castShadow:!0,receiveShadow:!0,geometry:l.IRB1200_7_70_IRC5_L03.geometry,material:h["IRB1200_7-70_IRC5.003_Bake"]})]}),e("mesh",{name:"IRB1200_7_70_IRC5_L02",castShadow:!0,receiveShadow:!0,geometry:l.IRB1200_7_70_IRC5_L02.geometry,material:h["IRB1200_7-70_IRC5.003_Bake"]})]}),e("mesh",{name:"IRB1200_7_70_IRC5_L01",castShadow:!0,receiveShadow:!0,geometry:l.IRB1200_7_70_IRC5_L01.geometry,material:h["IRB1200_7-70_IRC5.003_Bake"],rotation:[Math.PI/2,0,0]})]}),e("mesh",{name:"IRB1200_7_70_IRC5_L00",castShadow:!0,receiveShadow:!0,geometry:l.IRB1200_7_70_IRC5_L00.geometry,material:h["IRB1200_7-70_IRC5.003_Bake"],rotation:[-Math.PI/2,0,0]})]})})}))]})}["Symbol","Map","Set"].forEach((function(e){void 0===k()[e]&&E("MobX requires global '"+e+"' to be available or polyfilled")})),"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return"production"===process.env.NODE_ENV?(console.warn("[mobx.spy] Is a no-op in production builds"),function(){}):(Kt.spyListeners.push(e),K((function(){Kt.spyListeners=Kt.spyListeners.filter((function(t){return t!==e}))})))},extras:{getDebugName:jo},$mobx:we});var _r="line",dr="mesh";function mr(o){var r=o.connectedMotionGroup,a=R(o,["connectedMotionGroup"]),i=new m;function s(e,t){var n=new p,o=new v,r=new p;i.decompose(n,o,r);var a=n.clone(),s=(new m).makeRotationY(e.theta+t*(e.reverse_rotation_direction?-1:1)).multiply((new m).makeTranslation(0,e.d/1e3,0)).multiply((new m).makeTranslation(e.a/1e3,0,0)).multiply((new m).makeRotationX(e.alpha));return i.multiply(s),i.decompose(n,o,r),{a:a,b:n}}return t(n,{children:[e(Wo,{connectedMotionGroup:r,robotRootObjectName:"Scene",onRotationChanged:function(e,t){i.identity(),e.forEach((function(e,n){!function(e,t,n,o){var a=r.motionGroupSpecification.dh_parameters;if(a){var i=a[e];if(i){var c=s(i,o),u=c.a,l=c.b;t.geometry.setPositions([u.toArray(),l.toArray()].flat()),n.position.set(l.x,l.y,l.z)}}}(n,e.getObjectByName(_r),e.getObjectByName(dr),t[n])}))},jointCollector:function(e){return I(e,"^group_[0-9]+$")}}),t("group",M({},a,{name:"Scene",children:[t("mesh",{children:[e("sphereGeometry",{args:[.01,32,32]}),e("meshStandardMaterial",{color:"black",depthTest:!0})]}),r.motionGroupSpecification.dh_parameters.map((function(n,o){var a,i=s(n,null!==(a=r.rapidlyChangingMotionState.state.joint_position.joints[o])&&void 0!==a?a:0),c=i.a,u=i.b;return t("group",{name:"group_".concat(o),children:[e(l,{name:_r,points:[c,u],color:"white",lineWidth:5}),t("mesh",{name:dr,position:u,children:[e("sphereGeometry",{args:[.01,32,32]}),e("meshStandardMaterial",{color:"black",depthTest:!0})]},"mesh_"+o)]},"group_"+o)}))]}))]})}var pr=function(e){return A(void 0,void 0,void 0,(function(){return O(this,(function(t){return[2,"https://cdn.jsdelivr.net/gh/wandelbotsgmbh/wandelbots-js-react-components/public/models/".concat(e,".glb")]}))}))};function vr(t){var n,o=t.getModel,r=void 0===o?pr:o,i=R(t,["getModel"]),s=i.connectedMotionGroup.modelFromController;switch(s){case"UniversalRobots_UR3":n=Ho;break;case"UniversalRobots_UR3e":n=qo;break;case"UniversalRobots_UR5":n=zo;break;case"UniversalRobots_UR5e":n=Yo;break;case"UniversalRobots_UR10":n=Zo;break;case"UniversalRobots_UR10e":n=$o;break;case"Yaskawa_AR900":case"Yaskawa_GP7":n=Qo;break;case"Yaskawa_AR1440":n=er;break;case"Yaskawa_AR1730":n=tr;break;case"Yaskawa_AR2010":n=nr;break;case"Yaskawa_AR3120":n=or;break;case"FANUC_CRX10iA":n=rr;break;case"FANUC_CRX25iA":n=ar;break;case"FANUC_CRX25iAL":n=ir;break;case"FANUC_ARC_Mate_120iD":n=lr;break;case"FANUC_ARC_Mate_100iD":n=ur;break;case"KUKA_KR210_R2700":n=sr;break;case"KUKA_KR270_R2700":n=cr;break;case"ABB_1200_07_7":n=hr;break;default:console.warn("Unknown robot type: ".concat(s)),n=mr}return e(a,{fallback:e(mr,M({},i)),children:e(n,M({modelURL:r(s)},i))})}var gr=Array(6).fill(2*Math.PI);function fr(){return e(h,{children:e(yr,{})})}function yr(o){var r=o.positions,a=void 0===r?[2,0,2,0,2,0,2,0]:r;return t(n,{children:[e(_,{intensity:5,"rotation-x":Math.PI/2,position:[0,5,-9],scale:[10,10,1]}),e("group",{rotation:[0,.5,0],children:e("group",{children:a.map((function(t,n){return e(_,{form:"circle",intensity:5,rotation:[Math.PI/2,0,0],position:[t,4,4*n],scale:[3,1,1]},n)}))})}),e(_,{intensity:40,"rotation-y":Math.PI/2,position:[-5,1,-1],scale:[20,.1,1]}),e(_,{intensity:20,"rotation-y":-Math.PI,position:[-5,-2,-1],scale:[20,.1,1]}),e(_,{"rotation-y":Math.PI/2,position:[-5,-1,-1],scale:[20,.5,1],intensity:5}),e(_,{"rotation-y":-Math.PI/2,position:[10,1,0],scale:[20,1,1],intensity:10}),e(_,{form:"ring",color:"white",intensity:5,scale:10,position:[-15,4,-18],target:[0,0,0]})]})}export{g as ArrowForwardFilledIcon,f as ExpandFilledIcon,y as HomeIcon,b as InfoOutlinedIcon,fr as PresetEnvironment,S as RobotIcon,vr as SupportedRobot,w as WBLogoIcon,gr as defaultAxisConfig};
|
package/package.json
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@wandelbots/wandelbots-js-react-components",
|
|
3
|
+
"version": "0.0.0-semantically-released",
|
|
4
|
+
"description": "React UI toolkit for building applications on top of the Wandelbots platform",
|
|
5
|
+
"main": "dist/cjs/index.js",
|
|
6
|
+
"module": "dist/esm/index.js",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist",
|
|
9
|
+
"assets"
|
|
10
|
+
],
|
|
11
|
+
"types": "dist/index.d.ts",
|
|
12
|
+
"scripts": {
|
|
13
|
+
"dev": "storybook dev -p 6006",
|
|
14
|
+
"test": "vitest",
|
|
15
|
+
"build": "rollup -c",
|
|
16
|
+
"build-storybook": "storybook build"
|
|
17
|
+
},
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "https://github.com/wandelbotsgmbh/wandelui.git"
|
|
21
|
+
},
|
|
22
|
+
"keywords": [
|
|
23
|
+
"ui",
|
|
24
|
+
"toolkit",
|
|
25
|
+
"wandelbots"
|
|
26
|
+
],
|
|
27
|
+
"author": "Wandelbots",
|
|
28
|
+
"license": "Apache-2.0",
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"@babel/preset-env": "^7.22.5",
|
|
31
|
+
"@babel/preset-react": "^7.22.5",
|
|
32
|
+
"@babel/preset-typescript": "^7.22.5",
|
|
33
|
+
"@emotion/react": "^11.11.1",
|
|
34
|
+
"@emotion/styled": "^11.11.0",
|
|
35
|
+
"@mui/material": "^5.13.6",
|
|
36
|
+
"@rollup/plugin-commonjs": "^25.0.2",
|
|
37
|
+
"@rollup/plugin-node-resolve": "^15.1.0",
|
|
38
|
+
"@rollup/plugin-terser": "^0.4.3",
|
|
39
|
+
"@rollup/plugin-typescript": "^11.1.2",
|
|
40
|
+
"@storybook/addon-essentials": "^8.1.11",
|
|
41
|
+
"@storybook/addon-interactions": "^8.1.11",
|
|
42
|
+
"@storybook/addon-links": "^8.1.11",
|
|
43
|
+
"@storybook/blocks": "^8.1.11",
|
|
44
|
+
"@storybook/react": "^8.1.11",
|
|
45
|
+
"@storybook/react-vite": "^8.1.11",
|
|
46
|
+
"@storybook/test": "^8.1.11",
|
|
47
|
+
"@storybook/test-runner": "^0.19.0",
|
|
48
|
+
"@types/react": "^18.2.14",
|
|
49
|
+
"@vitejs/plugin-react": "^4.3.1",
|
|
50
|
+
"postcss": "^8.4.24",
|
|
51
|
+
"prop-types": "^15.8.1",
|
|
52
|
+
"react": "^18.2.0",
|
|
53
|
+
"react-dom": "^18.2.0",
|
|
54
|
+
"rollup": "^3.25.3",
|
|
55
|
+
"rollup-plugin-dts": "^5.3.0",
|
|
56
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
57
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
58
|
+
"rollup-plugin-gltf": "^4.0.0",
|
|
59
|
+
"semantic-release": "^24.0.0",
|
|
60
|
+
"storybook": "^8.1.11",
|
|
61
|
+
"tslib": "^2.6.0",
|
|
62
|
+
"typescript": "^5.5.3",
|
|
63
|
+
"vite": "^5.3.3",
|
|
64
|
+
"vitest": "^1.6.0"
|
|
65
|
+
},
|
|
66
|
+
"peerDependencies": {
|
|
67
|
+
"@emotion/react": "^11.11.1",
|
|
68
|
+
"@emotion/styled": "^11.11.0",
|
|
69
|
+
"@mui/material": "^5.13.6",
|
|
70
|
+
"@react-spring/three": "^9.7.3",
|
|
71
|
+
"@react-three/drei": "^9.105.4",
|
|
72
|
+
"@react-three/fiber": ">=8.0",
|
|
73
|
+
"@wandelbots/nova-js": "^1.1.0",
|
|
74
|
+
"react": "^18.2.0",
|
|
75
|
+
"react-dom": "^18.2.0",
|
|
76
|
+
"three": ">=0.137"
|
|
77
|
+
},
|
|
78
|
+
"peerDependenciesMeta": {
|
|
79
|
+
"react-dom": {
|
|
80
|
+
"optional": true
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"dependencies": {
|
|
84
|
+
"@monaco-editor/react": "^4.6.0",
|
|
85
|
+
"@shikijs/monaco": "^1.10.1",
|
|
86
|
+
"lodash-es": "^4.17.21",
|
|
87
|
+
"shiki": "^1.10.1"
|
|
88
|
+
}
|
|
89
|
+
}
|