@wandelbots/wandelbots-js-react-components 1.27.0 → 1.27.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/robots/Yaskawa_AR2010.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +572 -549
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/robots/Yaskawa_AR2010.tsx +126 -114
package/dist/index.cjs
CHANGED
|
@@ -80,5 +80,5 @@ const theme2 = createTheme({ palette: {
|
|
|
80
80
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(a=>r.set(a)),r}static accessor(t){const r=(this[Us]=this[Us]={accessors:{}}).accessors,a=this.prototype;function s(i){const l=Dr(i);r[l]||(ig(a,i),r[l]=!0)}return S.isArray(t)?t.forEach(s):s(t),this}};Fe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);S.reduceDescriptors(Fe.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});S.freezeMethods(Fe);function Fa(e,t){const n=this||ln,r=t||n,a=Fe.from(r.headers);let s=r.data;return S.forEach(e,function(l){s=l.call(n,s,a.normalize(),t?t.status:void 0)}),a.normalize(),s}function Ol(e){return!!(e&&e.__CANCEL__)}function jr(e,t,n){J.call(this,e??"canceled",J.ERR_CANCELED,t,n),this.name="CanceledError"}S.inherits(jr,J,{__CANCEL__:!0});function El(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new J("Request failed with status code "+n.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function lg(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function ug(e,t){e=e||10;const n=new Array(e),r=new Array(e);let a=0,s=0,i;return t=t!==void 0?t:1e3,function(u){const c=Date.now(),d=r[s];i||(i=c),n[a]=u,r[a]=c;let h=s,m=0;for(;h!==a;)m+=n[h++],h=h%e;if(a=(a+1)%e,a===s&&(s=(s+1)%e),c-i<t)return;const b=d&&c-d;return b?Math.round(m*1e3/b):void 0}}function cg(e,t){let n=0,r=1e3/t,a,s;const i=(c,d=Date.now())=>{n=d,a=null,s&&(clearTimeout(s),s=null),e.apply(null,c)};return[(...c)=>{const d=Date.now(),h=d-n;h>=r?i(c,d):(a=c,s||(s=setTimeout(()=>{s=null,i(a)},r-h)))},()=>a&&i(a)]}const Jn=(e,t,n=3)=>{let r=0;const a=ug(50,250);return cg(s=>{const i=s.loaded,l=s.lengthComputable?s.total:void 0,u=i-r,c=a(u),d=i<=l;r=i;const h={loaded:i,total:l,progress:l?i/l:void 0,bytes:u,rate:c||void 0,estimated:c&&l&&d?(l-i)/c:void 0,event:s,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(h)},n)},Js=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Vs=e=>(...t)=>S.asap(()=>e(...t)),dg=ot.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function a(s){let i=s;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=a(window.location.href),function(i){const l=S.isString(i)?a(i):i;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}(),mg=ot.hasStandardBrowserEnv?{write(e,t,n,r,a,s){const i=[e+"="+encodeURIComponent(t)];S.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),S.isString(r)&&i.push("path="+r),S.isString(a)&&i.push("domain="+a),s===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function hg(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function fg(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ll(e,t){return e&&!hg(t)?fg(e,t):t}const Gs=e=>e instanceof Fe?{...e}:e;function Ht(e,t){t=t||{};const n={};function r(c,d,h){return S.isPlainObject(c)&&S.isPlainObject(d)?S.merge.call({caseless:h},c,d):S.isPlainObject(d)?S.merge({},d):S.isArray(d)?d.slice():d}function a(c,d,h){if(S.isUndefined(d)){if(!S.isUndefined(c))return r(void 0,c,h)}else return r(c,d,h)}function s(c,d){if(!S.isUndefined(d))return r(void 0,d)}function i(c,d){if(S.isUndefined(d)){if(!S.isUndefined(c))return r(void 0,c)}else return r(void 0,d)}function l(c,d,h){if(h in t)return r(c,d);if(h in e)return r(void 0,c)}const u={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(c,d)=>a(Gs(c),Gs(d),!0)};return S.forEach(Object.keys(Object.assign({},e,t)),function(d){const h=u[d]||a,m=h(e[d],t[d],d);S.isUndefined(m)&&h!==l||(n[d]=m)}),n}const $l=e=>{const t=Ht({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:a,xsrfCookieName:s,headers:i,auth:l}=t;t.headers=i=Fe.from(i),t.url=kl(Ll(t.baseURL,t.url),e.params,e.paramsSerializer),l&&i.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let u;if(S.isFormData(n)){if(ot.hasStandardBrowserEnv||ot.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((u=i.getContentType())!==!1){const[c,...d]=u?u.split(";").map(h=>h.trim()).filter(Boolean):[];i.setContentType([c||"multipart/form-data",...d].join("; "))}}if(ot.hasStandardBrowserEnv&&(r&&S.isFunction(r)&&(r=r(t)),r||r!==!1&&dg(t.url))){const c=a&&s&&mg.read(s);c&&i.set(a,c)}return t},gg=typeof XMLHttpRequest<"u",pg=gg&&function(e){return new Promise(function(n,r){const a=$l(e);let s=a.data;const i=Fe.from(a.headers).normalize();let{responseType:l,onUploadProgress:u,onDownloadProgress:c}=a,d,h,m,b,_;function y(){b&&b(),_&&_(),a.cancelToken&&a.cancelToken.unsubscribe(d),a.signal&&a.signal.removeEventListener("abort",d)}let p=new XMLHttpRequest;p.open(a.method.toUpperCase(),a.url,!0),p.timeout=a.timeout;function x(){if(!p)return;const C=Fe.from("getAllResponseHeaders"in p&&p.getAllResponseHeaders()),w={data:!l||l==="text"||l==="json"?p.responseText:p.response,status:p.status,statusText:p.statusText,headers:C,config:e,request:p};El(function(M){n(M),y()},function(M){r(M),y()},w),p=null}"onloadend"in p?p.onloadend=x:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(x)},p.onabort=function(){p&&(r(new J("Request aborted",J.ECONNABORTED,e,p)),p=null)},p.onerror=function(){r(new J("Network Error",J.ERR_NETWORK,e,p)),p=null},p.ontimeout=function(){let A=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const w=a.transitional||Il;a.timeoutErrorMessage&&(A=a.timeoutErrorMessage),r(new J(A,w.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,e,p)),p=null},s===void 0&&i.setContentType(null),"setRequestHeader"in p&&S.forEach(i.toJSON(),function(A,w){p.setRequestHeader(w,A)}),S.isUndefined(a.withCredentials)||(p.withCredentials=!!a.withCredentials),l&&l!=="json"&&(p.responseType=a.responseType),c&&([m,_]=Jn(c,!0),p.addEventListener("progress",m)),u&&p.upload&&([h,b]=Jn(u),p.upload.addEventListener("progress",h),p.upload.addEventListener("loadend",b)),(a.cancelToken||a.signal)&&(d=C=>{p&&(r(!C||C.type?new jr(null,e,p):C),p.abort(),p=null)},a.cancelToken&&a.cancelToken.subscribe(d),a.signal&&(a.signal.aborted?d():a.signal.addEventListener("abort",d)));const j=lg(a.url);if(j&&ot.protocols.indexOf(j)===-1){r(new J("Unsupported protocol "+j+":",J.ERR_BAD_REQUEST,e));return}p.send(s||null)})},yg=(e,t)=>{let n=new AbortController,r;const a=function(u){if(!r){r=!0,i();const c=u instanceof Error?u:this.reason;n.abort(c instanceof J?c:new jr(c instanceof Error?c.message:c))}};let s=t&&setTimeout(()=>{a(new J(`timeout ${t} of ms exceeded`,J.ETIMEDOUT))},t);const i=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(u=>{u&&(u.removeEventListener?u.removeEventListener("abort",a):u.unsubscribe(a))}),e=null)};e.forEach(u=>u&&u.addEventListener&&u.addEventListener("abort",a));const{signal:l}=n;return l.unsubscribe=i,[l,()=>{s&&clearTimeout(s),s=null}]},_g=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,a;for(;r<n;)a=r+t,yield e.slice(r,a),r=a},vg=async function*(e,t,n){for await(const r of e)yield*_g(ArrayBuffer.isView(r)?r:await n(String(r)),t)},zs=(e,t,n,r,a)=>{const s=vg(e,t,a);let i=0,l,u=c=>{l||(l=!0,r&&r(c))};return new ReadableStream({async pull(c){try{const{done:d,value:h}=await s.next();if(d){u(),c.close();return}let m=h.byteLength;if(n){let b=i+=m;n(b)}c.enqueue(new Uint8Array(h))}catch(d){throw u(d),d}},cancel(c){return u(c),s.return()}},{highWaterMark:2})},ha=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Nl=ha&&typeof ReadableStream=="function",no=ha&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Fl=(e,...t)=>{try{return!!e(...t)}catch{return!1}},bg=Nl&&Fl(()=>{let e=!1;const t=new Request(ot.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Ks=64*1024,ao=Nl&&Fl(()=>S.isReadableStream(new Response("").body)),Vn={stream:ao&&(e=>e.body)};ha&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Vn[t]&&(Vn[t]=S.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new J(`Response type '${t}' is not supported`,J.ERR_NOT_SUPPORT,r)})})})(new Response);const Sg=async e=>{if(e==null)return 0;if(S.isBlob(e))return e.size;if(S.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(S.isArrayBufferView(e)||S.isArrayBuffer(e))return e.byteLength;if(S.isURLSearchParams(e)&&(e=e+""),S.isString(e))return(await no(e)).byteLength},xg=async(e,t)=>{const n=S.toFiniteNumber(e.getContentLength());return n??Sg(t)},wg=ha&&(async e=>{let{url:t,method:n,data:r,signal:a,cancelToken:s,timeout:i,onDownloadProgress:l,onUploadProgress:u,responseType:c,headers:d,withCredentials:h="same-origin",fetchOptions:m}=$l(e);c=c?(c+"").toLowerCase():"text";let[b,_]=a||s||i?yg([a,s],i):[],y,p;const x=()=>{!y&&setTimeout(()=>{b&&b.unsubscribe()}),y=!0};let j;try{if(u&&bg&&n!=="get"&&n!=="head"&&(j=await xg(d,r))!==0){let P=new Request(t,{method:"POST",body:r,duplex:"half"}),M;if(S.isFormData(r)&&(M=P.headers.get("content-type"))&&d.setContentType(M),P.body){const[z,le]=Js(j,Jn(Vs(u)));r=zs(P.body,Ks,z,le,no)}}S.isString(h)||(h=h?"include":"omit"),p=new Request(t,{...m,signal:b,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:h});let C=await fetch(p);const A=ao&&(c==="stream"||c==="response");if(ao&&(l||A)){const P={};["status","statusText","headers"].forEach(ce=>{P[ce]=C[ce]});const M=S.toFiniteNumber(C.headers.get("content-length")),[z,le]=l&&Js(M,Jn(Vs(l),!0))||[];C=new Response(zs(C.body,Ks,z,()=>{le&&le(),A&&x()},no),P)}c=c||"text";let w=await Vn[S.findKey(Vn,c)||"text"](C,e);return!A&&x(),_&&_(),await new Promise((P,M)=>{El(P,M,{data:w,headers:Fe.from(C.headers),status:C.status,statusText:C.statusText,config:e,request:p})})}catch(C){throw x(),C&&C.name==="TypeError"&&/fetch/i.test(C.message)?Object.assign(new J("Network Error",J.ERR_NETWORK,e,p),{cause:C.cause||C}):J.from(C,C&&C.code,e,p)}}),oo={http:B0,xhr:pg,fetch:wg};S.forEach(oo,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ws=e=>`- ${e}`,jg=e=>S.isFunction(e)||e===null||e===!1,Dl={getAdapter:e=>{e=S.isArray(e)?e:[e];const{length:t}=e;let n,r;const a={};for(let s=0;s<t;s++){n=e[s];let i;if(r=n,!jg(n)&&(r=oo[(i=String(n)).toLowerCase()],r===void 0))throw new J(`Unknown adapter '${i}'`);if(r)break;a[i||"#"+s]=r}if(!r){const s=Object.entries(a).map(([l,u])=>`adapter ${l} `+(u===!1?"is not supported by the environment":"is not available in the build"));let i=t?s.length>1?`since :
|
|
81
81
|
`+s.map(Ws).join(`
|
|
82
82
|
`):" "+Ws(s[0]):"as no adapter specified";throw new J("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:oo};function Da(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new jr(null,e)}function Hs(e){return Da(e),e.headers=Fe.from(e.headers),e.data=Fa.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Dl.getAdapter(e.adapter||ln.adapter)(e).then(function(r){return Da(e),r.data=Fa.call(e,e.transformResponse,r),r.headers=Fe.from(r.headers),r},function(r){return Ol(r)||(Da(e),r&&r.response&&(r.response.data=Fa.call(e,e.transformResponse,r.response),r.response.headers=Fe.from(r.response.headers))),Promise.reject(r)})}const Bl="1.7.4",No={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{No[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Xs={};No.transitional=function(t,n,r){function a(s,i){return"[Axios v"+Bl+"] Transitional option '"+s+"'"+i+(r?". "+r:"")}return(s,i,l)=>{if(t===!1)throw new J(a(i," has been removed"+(n?" in "+n:"")),J.ERR_DEPRECATED);return n&&!Xs[i]&&(Xs[i]=!0,console.warn(a(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,i,l):!0}};function Rg(e,t,n){if(typeof e!="object")throw new J("options must be an object",J.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let a=r.length;for(;a-- >0;){const s=r[a],i=t[s];if(i){const l=e[s],u=l===void 0||i(l,s,e);if(u!==!0)throw new J("option "+s+" must be "+u,J.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new J("Unknown option "+s,J.ERR_BAD_OPTION)}}const so={assertOptions:Rg,validators:No},Ot=so.validators;let Gt=class{constructor(t){this.defaults=t,this.interceptors={request:new Bs,response:new Bs}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let a;Error.captureStackTrace?Error.captureStackTrace(a={}):a=new Error;const s=a.stack?a.stack.replace(/^.+\n/,""):"";try{r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
|
83
|
-
`+s):r.stack=s}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ht(this.defaults,n);const{transitional:r,paramsSerializer:a,headers:s}=n;r!==void 0&&so.assertOptions(r,{silentJSONParsing:Ot.transitional(Ot.boolean),forcedJSONParsing:Ot.transitional(Ot.boolean),clarifyTimeoutError:Ot.transitional(Ot.boolean)},!1),a!=null&&(S.isFunction(a)?n.paramsSerializer={serialize:a}:so.assertOptions(a,{encode:Ot.function,serialize:Ot.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&S.merge(s.common,s[n.method]);s&&S.forEach(["delete","get","head","post","put","patch","common"],_=>{delete s[_]}),n.headers=Fe.concat(i,s);const l=[];let u=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(n)===!1||(u=u&&y.synchronous,l.unshift(y.fulfilled,y.rejected))});const c=[];this.interceptors.response.forEach(function(y){c.push(y.fulfilled,y.rejected)});let d,h=0,m;if(!u){const _=[Hs.bind(this),void 0];for(_.unshift.apply(_,l),_.push.apply(_,c),m=_.length,d=Promise.resolve(n);h<m;)d=d.then(_[h++],_[h++]);return d}m=l.length;let b=n;for(h=0;h<m;){const _=l[h++],y=l[h++];try{b=_(b)}catch(p){y.call(this,p);break}}try{d=Hs.call(this,b)}catch(_){return Promise.reject(_)}for(h=0,m=c.length;h<m;)d=d.then(c[h++],c[h++]);return d}getUri(t){t=Ht(this.defaults,t);const n=Ll(t.baseURL,t.url);return kl(n,t.params,t.paramsSerializer)}};S.forEach(["delete","get","head","options"],function(t){Gt.prototype[t]=function(n,r){return this.request(Ht(r||{},{method:t,url:n,data:(r||{}).data}))}});S.forEach(["post","put","patch"],function(t){function n(r){return function(s,i,l){return this.request(Ht(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}Gt.prototype[t]=n(),Gt.prototype[t+"Form"]=n(!0)});let Ag=class Ul{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(a=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](a);r._listeners=null}),this.promise.then=a=>{let s;const i=new Promise(l=>{r.subscribe(l),s=l}).then(a);return i.cancel=function(){r.unsubscribe(s)},i},t(function(s,i,l){r.reason||(r.reason=new jr(s,i,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Ul(function(a){t=a}),cancel:t}}};function Pg(e){return function(n){return e.apply(null,n)}}function Cg(e){return S.isObject(e)&&e.isAxiosError===!0}const io={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(io).forEach(([e,t])=>{io[t]=e});function Jl(e){const t=new Gt(e),n=_l(Gt.prototype.request,t);return S.extend(n,Gt.prototype,t,{allOwnKeys:!0}),S.extend(n,t,null,{allOwnKeys:!0}),n.create=function(a){return Jl(Ht(e,a))},n}const Se=Jl(ln);Se.Axios=Gt;Se.CanceledError=jr;Se.CancelToken=Ag;Se.isCancel=Ol;Se.VERSION=Bl;Se.toFormData=ma;Se.AxiosError=J;Se.Cancel=Se.CanceledError;Se.all=function(t){return Promise.all(t)};Se.spread=Pg;Se.isAxiosError=Cg;Se.mergeConfig=Ht;Se.AxiosHeaders=Fe;Se.formToJSON=e=>Tl(S.isHTMLForm(e)?new FormData(e):e);Se.getAdapter=Dl.getAdapter;Se.HttpStatusCode=io;Se.default=Se;const{Axios:ov,AxiosError:qs,CanceledError:sv,isCancel:iv,CancelToken:lv,VERSION:uv,all:cv,Cancel:dv,isAxiosError:mv,spread:hv,toFormData:fv,AxiosHeaders:gv,HttpStatusCode:pv,formToJSON:yv,getAdapter:_v,mergeConfig:vv}=Se;function Mg(e){try{return JSON.stringify(e)}catch{return}}function kg(e){var t,n,r,a;return e instanceof qs&&e.code==="ERR_NETWORK"?"Failed to connect to the server. Please check your internet connection.":e instanceof qs&&e.response?`${(t=e.response)==null?void 0:t.status} ${(n=e.response)==null?void 0:n.statusText} from ${(r=e.response)==null?void 0:r.config.url}: ${JSON.stringify((a=e.response)==null?void 0:a.data)}`:e instanceof Error?e.message:`Unexpected error: ${Mg(e)||e}`}const fa=e=>{const t=e.softTimeout||3e3,[n,r]=Y.useState(!1);return Y.useEffect(()=>{const a=setTimeout(()=>{r(!0)},t);return()=>clearTimeout(a)}),o.jsx(T.Stack,{width:"100%",height:"100%",alignItems:"center",justifyContent:"center",children:e.error?o.jsx(Vl,{loadingMessage:e.message,error:e.error}):o.jsxs(o.Fragment,{children:[o.jsx(T.CircularProgress,{sx:{marginBottom:"24px"}}),!!e.message&&o.jsx("div",{children:e.message}),o.jsx(T.Stack,{sx:{visibility:n?"visible":"hidden",marginTop:"1rem",color:"gray"},children:"This is taking longer than expected..."})]})})},Vl=e=>{const t=kg(e.error),n=e.error instanceof Error?e.error.stack:null,r=T.useTheme();return o.jsxs(T.Stack,{sx:{maxHeight:"100%",maxWidth:"min(100%, 800px)",padding:2,overflow:"auto",color:r.palette.error.main,"& pre":{whiteSpace:"pre-wrap",wordBreak:"break-word",paddingBottom:"3rem"}},children:[(e.loadingMessage?`Error while ${Kn.lowerFirst(T.capitalize(e.loadingMessage))} - `:"")+t,o.jsx("br",{}),n&&o.jsx("pre",{children:n})]})},Ig=({title:e,titleId:t,...n},r)=>N.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:19,height:10,fill:"none",ref:r,"aria-labelledby":t,...n},e?N.createElement("title",{id:t},e):null,N.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M5.131.312a.9.9 0 0 1 0 1.272L3.07 3.645h12.44l-2.06-2.061A.9.9 0 0 1 14.72.313l3.596 3.596a.9.9 0 0 1 0 1.271l-3.596 3.597a.9.9 0 0 1-1.271-1.272l2.061-2.062H3.07L5.13 7.505A.9.9 0 0 1 3.86 8.777L.263 5.18a.9.9 0 0 1 0-1.271L3.86.312a.9.9 0 0 1 1.271 0",clipRule:"evenodd"})),Tg=Y.forwardRef(Ig),Og=({title:e,titleId:t,...n},r)=>N.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:19,height:10,fill:"none",ref:r,"aria-labelledby":t,...n},e?N.createElement("title",{id:t},e):null,N.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M5.131.312a.9.9 0 0 1 0 1.272L3.07 3.645h12.44l-2.06-2.061A.9.9 0 0 1 14.72.313l3.596 3.596a.9.9 0 0 1 0 1.271l-3.596 3.597a.9.9 0 0 1-1.271-1.272l2.061-2.062H3.07L5.13 7.505A.9.9 0 0 1 3.86 8.777L.263 5.18a.9.9 0 0 1 0-1.271L3.86.312a.9.9 0 0 1 1.271 0",clipRule:"evenodd"})),Eg=Y.forwardRef(Og),Lg=({title:e,titleId:t,...n},r)=>N.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:10,height:19,fill:"none",ref:r,"aria-labelledby":t,...n},e?N.createElement("title",{id:t},e):null,N.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M9.522 14.811A.899.899 0 1 0 8.25 13.54L6.19 15.601V3.16L8.25 5.221A.9.9 0 0 0 9.522 3.95L5.926.354a.9.9 0 0 0-1.272 0L1.058 3.95a.9.9 0 1 0 1.271 1.271L4.391 3.16v12.442L2.329 13.54a.899.899 0 1 0-1.271 1.271l3.596 3.597a.9.9 0 0 0 1.272 0z",clipRule:"evenodd"})),$g=Y.forwardRef(Lg),Ng=({title:e,titleId:t,...n},r)=>N.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none",ref:r,"aria-labelledby":t,...n},e?N.createElement("title",{id:t},e):null,N.createElement("path",{stroke:"#fff",strokeLinecap:"round",strokeWidth:1.5,d:"M18.5 12a6 6 0 1 0-6 6"}),N.createElement("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m16.5 11 2 2.5 2-2.5"})),Fg=Y.forwardRef(Ng),Ys=e=>o.jsx(T.Stack,{position:"absolute",left:0,top:0,width:"100%",height:"100%",alignItems:"center",justifyContent:"center",sx:{backgroundColor:"rgba(0, 0, 0, 0.6)",backdropFilter:"blur(2px)",zIndex:100,...e.sx||{}},...Kn.omit(e,"sx")}),Gl=Te.observer(({store:e,children:t})=>{const{t:n}=qt.useTranslation(),r=T.useTheme();function a(){var s,i;if(e.activationState==="inactive"&&!e.activationError)return o.jsx(Ys,{sx:{borderRadius:"6px",backgroundColor:`color-mix(in srgb, ${(s=r.palette.backgroundPaperElevation)==null?void 0:s[5]}, transparent)`},children:o.jsx(T.Button,{color:"primary",variant:"contained",onClick:()=>e.activate({manual:!0}),disabled:e.isLocked,children:n("Jogging.Activate.bt")})});if(e.activationState==="loading"||e.activationError)return o.jsx(Ys,{sx:{backgroundColor:`color-mix(in srgb, ${(i=r.palette.backgroundPaperElevation)==null?void 0:i[5]}, transparent)`},children:o.jsx(fa,{message:n("Jogging.Activating.lb"),error:e.activationError})})}return o.jsxs(T.Stack,{sx:{position:"relative",padding:"6px"},children:[a(),t]})}),zl=Y.forwardRef(({label:e,value:t},n)=>o.jsxs(o.Fragment,{children:[e&&o.jsx(T.InputLabel,{children:e}),o.jsx(T.Chip,{ref:n,sx:{fontSize:"14px",opacity:.8,marginTop:"4px !important"},value:t})]})),Dg=Te.observer(({store:e})=>{const t=Y.useRef(null);function n(){const r=e.jogger.motionStream.rapidlyChangingMotionState.tcp_pose;return r?Lt.poseToWandelscriptString(r):""}return xr(()=>{t.current&&(t.current.textContent=n())}),o.jsx(T.Stack,{alignItems:"left",spacing:2,sx:{padding:"8px 16px",paddingTop:"16px","& label":{opacity:.7,fontSize:"12px",marginBottom:"4px"}},children:o.jsx(zl,{label:"Pose",value:n(),ref:t})})});function Bg(){this.__data__=[],this.size=0}function Kl(e,t){return e===t||e!==e&&t!==t}function ga(e,t){for(var n=e.length;n--;)if(Kl(e[n][0],t))return n;return-1}var Ug=Array.prototype,Jg=Ug.splice;function Vg(e){var t=this.__data__,n=ga(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Jg.call(t,n,1),--this.size,!0}function Gg(e){var t=this.__data__,n=ga(t,e);return n<0?void 0:t[n][1]}function zg(e){return ga(this.__data__,e)>-1}function Kg(e,t){var n=this.__data__,r=ga(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function At(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}At.prototype.clear=Bg;At.prototype.delete=Vg;At.prototype.get=Gg;At.prototype.has=zg;At.prototype.set=Kg;function Wg(){this.__data__=new At,this.size=0}function Hg(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function Xg(e){return this.__data__.get(e)}function qg(e){return this.__data__.has(e)}var Yg="[object AsyncFunction]",Zg="[object Function]",Qg="[object GeneratorFunction]",ep="[object Proxy]";function Wl(e){if(!Kt(e))return!1;var t=Yt(e);return t==Zg||t==Qg||t==Yg||t==ep}var Ba=yt["__core-js_shared__"],Zs=function(){var e=/[^.]+$/.exec(Ba&&Ba.keys&&Ba.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function tp(e){return!!Zs&&Zs in e}var rp=Function.prototype,np=rp.toString;function Zt(e){if(e!=null){try{return np.call(e)}catch{}try{return e+""}catch{}}return""}var ap=/[\\^$.*+?()[\]{}|]/g,op=/^\[object .+?Constructor\]$/,sp=Function.prototype,ip=Object.prototype,lp=sp.toString,up=ip.hasOwnProperty,cp=RegExp("^"+lp.call(up).replace(ap,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function dp(e){if(!Kt(e)||tp(e))return!1;var t=Wl(e)?cp:op;return t.test(Zt(e))}function mp(e,t){return e==null?void 0:e[t]}function Qt(e,t){var n=mp(e,t);return dp(n)?n:void 0}var qr=Qt(yt,"Map"),Yr=Qt(Object,"create");function hp(){this.__data__=Yr?Yr(null):{},this.size=0}function fp(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var gp="__lodash_hash_undefined__",pp=Object.prototype,yp=pp.hasOwnProperty;function _p(e){var t=this.__data__;if(Yr){var n=t[e];return n===gp?void 0:n}return yp.call(t,e)?t[e]:void 0}var vp=Object.prototype,bp=vp.hasOwnProperty;function Sp(e){var t=this.__data__;return Yr?t[e]!==void 0:bp.call(t,e)}var xp="__lodash_hash_undefined__";function wp(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Yr&&t===void 0?xp:t,this}function Xt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Xt.prototype.clear=hp;Xt.prototype.delete=fp;Xt.prototype.get=_p;Xt.prototype.has=Sp;Xt.prototype.set=wp;function jp(){this.size=0,this.__data__={hash:new Xt,map:new(qr||At),string:new Xt}}function Rp(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function pa(e,t){var n=e.__data__;return Rp(t)?n[typeof t=="string"?"string":"hash"]:n.map}function Ap(e){var t=pa(this,e).delete(e);return this.size-=t?1:0,t}function Pp(e){return pa(this,e).get(e)}function Cp(e){return pa(this,e).has(e)}function Mp(e,t){var n=pa(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Pt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Pt.prototype.clear=jp;Pt.prototype.delete=Ap;Pt.prototype.get=Pp;Pt.prototype.has=Cp;Pt.prototype.set=Mp;var kp=200;function Ip(e,t){var n=this.__data__;if(n instanceof At){var r=n.__data__;if(!qr||r.length<kp-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Pt(r)}return n.set(e,t),this.size=n.size,this}function wt(e){var t=this.__data__=new At(e);this.size=t.size}wt.prototype.clear=Wg;wt.prototype.delete=Hg;wt.prototype.get=Xg;wt.prototype.has=qg;wt.prototype.set=Ip;var Tp="__lodash_hash_undefined__";function Op(e){return this.__data__.set(e,Tp),this}function Ep(e){return this.__data__.has(e)}function Gn(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Pt;++t<n;)this.add(e[t])}Gn.prototype.add=Gn.prototype.push=Op;Gn.prototype.has=Ep;function Lp(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function $p(e,t){return e.has(t)}var Np=1,Fp=2;function Hl(e,t,n,r,a,s){var i=n&Np,l=e.length,u=t.length;if(l!=u&&!(i&&u>l))return!1;var c=s.get(e),d=s.get(t);if(c&&d)return c==t&&d==e;var h=-1,m=!0,b=n&Fp?new Gn:void 0;for(s.set(e,t),s.set(t,e);++h<l;){var _=e[h],y=t[h];if(r)var p=i?r(y,_,h,t,e,s):r(_,y,h,e,t,s);if(p!==void 0){if(p)continue;m=!1;break}if(b){if(!Lp(t,function(x,j){if(!$p(b,j)&&(_===x||a(_,x,n,r,s)))return b.push(j)})){m=!1;break}}else if(!(_===y||a(_,y,n,r,s))){m=!1;break}}return s.delete(e),s.delete(t),m}var Qs=yt.Uint8Array;function Dp(e){var t=-1,n=Array(e.size);return e.forEach(function(r,a){n[++t]=[a,r]}),n}function Bp(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var Up=1,Jp=2,Vp="[object Boolean]",Gp="[object Date]",zp="[object Error]",Kp="[object Map]",Wp="[object Number]",Hp="[object RegExp]",Xp="[object Set]",qp="[object String]",Yp="[object Symbol]",Zp="[object ArrayBuffer]",Qp="[object DataView]",ei=$t?$t.prototype:void 0,Ua=ei?ei.valueOf:void 0;function ey(e,t,n,r,a,s,i){switch(n){case Qp:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Zp:return!(e.byteLength!=t.byteLength||!s(new Qs(e),new Qs(t)));case Vp:case Gp:case Wp:return Kl(+e,+t);case zp:return e.name==t.name&&e.message==t.message;case Hp:case qp:return e==t+"";case Kp:var l=Dp;case Xp:var u=r&Up;if(l||(l=Bp),e.size!=t.size&&!u)return!1;var c=i.get(e);if(c)return c==t;r|=Jp,i.set(e,t);var d=Hl(l(e),l(t),r,a,s,i);return i.delete(e),d;case Yp:if(Ua)return Ua.call(e)==Ua.call(t)}return!1}function ty(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e}var pt=Array.isArray;function ry(e,t,n){var r=t(e);return pt(e)?r:ty(r,n(e))}function ny(e,t){for(var n=-1,r=e==null?0:e.length,a=0,s=[];++n<r;){var i=e[n];t(i,n,e)&&(s[a++]=i)}return s}function ay(){return[]}var oy=Object.prototype,sy=oy.propertyIsEnumerable,ti=Object.getOwnPropertySymbols,iy=ti?function(e){return e==null?[]:(e=Object(e),ny(ti(e),function(t){return sy.call(e,t)}))}:ay;function ly(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var uy="[object Arguments]";function ri(e){return Wt(e)&&Yt(e)==uy}var Xl=Object.prototype,cy=Xl.hasOwnProperty,dy=Xl.propertyIsEnumerable,ql=ri(function(){return arguments}())?ri:function(e){return Wt(e)&&cy.call(e,"callee")&&!dy.call(e,"callee")};function my(){return!1}var Yl=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ni=Yl&&typeof module=="object"&&module&&!module.nodeType&&module,hy=ni&&ni.exports===Yl,ai=hy?yt.Buffer:void 0,fy=ai?ai.isBuffer:void 0,lo=fy||my,gy=9007199254740991,py=/^(?:0|[1-9]\d*)$/;function Zl(e,t){var n=typeof e;return t=t??gy,!!t&&(n=="number"||n!="symbol"&&py.test(e))&&e>-1&&e%1==0&&e<t}var yy=9007199254740991;function Fo(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=yy}var _y="[object Arguments]",vy="[object Array]",by="[object Boolean]",Sy="[object Date]",xy="[object Error]",wy="[object Function]",jy="[object Map]",Ry="[object Number]",Ay="[object Object]",Py="[object RegExp]",Cy="[object Set]",My="[object String]",ky="[object WeakMap]",Iy="[object ArrayBuffer]",Ty="[object DataView]",Oy="[object Float32Array]",Ey="[object Float64Array]",Ly="[object Int8Array]",$y="[object Int16Array]",Ny="[object Int32Array]",Fy="[object Uint8Array]",Dy="[object Uint8ClampedArray]",By="[object Uint16Array]",Uy="[object Uint32Array]",de={};de[Oy]=de[Ey]=de[Ly]=de[$y]=de[Ny]=de[Fy]=de[Dy]=de[By]=de[Uy]=!0;de[_y]=de[vy]=de[Iy]=de[by]=de[Ty]=de[Sy]=de[xy]=de[wy]=de[jy]=de[Ry]=de[Ay]=de[Py]=de[Cy]=de[My]=de[ky]=!1;function Jy(e){return Wt(e)&&Fo(e.length)&&!!de[Yt(e)]}function Vy(e){return function(t){return e(t)}}var Ql=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Vr=Ql&&typeof module=="object"&&module&&!module.nodeType&&module,Gy=Vr&&Vr.exports===Ql,Ja=Gy&&gl.process,oi=function(){try{var e=Vr&&Vr.require&&Vr.require("util").types;return e||Ja&&Ja.binding&&Ja.binding("util")}catch{}}(),si=oi&&oi.isTypedArray,eu=si?Vy(si):Jy,zy=Object.prototype,Ky=zy.hasOwnProperty;function Wy(e,t){var n=pt(e),r=!n&&ql(e),a=!n&&!r&&lo(e),s=!n&&!r&&!a&&eu(e),i=n||r||a||s,l=i?ly(e.length,String):[],u=l.length;for(var c in e)Ky.call(e,c)&&!(i&&(c=="length"||a&&(c=="offset"||c=="parent")||s&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||Zl(c,u)))&&l.push(c);return l}var Hy=Object.prototype;function Xy(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Hy;return e===n}function qy(e,t){return function(n){return e(t(n))}}var Yy=qy(Object.keys,Object),Zy=Object.prototype,Qy=Zy.hasOwnProperty;function e_(e){if(!Xy(e))return Yy(e);var t=[];for(var n in Object(e))Qy.call(e,n)&&n!="constructor"&&t.push(n);return t}function tu(e){return e!=null&&Fo(e.length)&&!Wl(e)}function Do(e){return tu(e)?Wy(e):e_(e)}function ii(e){return ry(e,Do,iy)}var t_=1,r_=Object.prototype,n_=r_.hasOwnProperty;function a_(e,t,n,r,a,s){var i=n&t_,l=ii(e),u=l.length,c=ii(t),d=c.length;if(u!=d&&!i)return!1;for(var h=u;h--;){var m=l[h];if(!(i?m in t:n_.call(t,m)))return!1}var b=s.get(e),_=s.get(t);if(b&&_)return b==t&&_==e;var y=!0;s.set(e,t),s.set(t,e);for(var p=i;++h<u;){m=l[h];var x=e[m],j=t[m];if(r)var C=i?r(j,x,m,t,e,s):r(x,j,m,e,t,s);if(!(C===void 0?x===j||a(x,j,n,r,s):C)){y=!1;break}p||(p=m=="constructor")}if(y&&!p){var A=e.constructor,w=t.constructor;A!=w&&"constructor"in e&&"constructor"in t&&!(typeof A=="function"&&A instanceof A&&typeof w=="function"&&w instanceof w)&&(y=!1)}return s.delete(e),s.delete(t),y}var uo=Qt(yt,"DataView"),co=Qt(yt,"Promise"),mo=Qt(yt,"Set"),ho=Qt(yt,"WeakMap"),li="[object Map]",o_="[object Object]",ui="[object Promise]",ci="[object Set]",di="[object WeakMap]",mi="[object DataView]",s_=Zt(uo),i_=Zt(qr),l_=Zt(co),u_=Zt(mo),c_=Zt(ho),Et=Yt;(uo&&Et(new uo(new ArrayBuffer(1)))!=mi||qr&&Et(new qr)!=li||co&&Et(co.resolve())!=ui||mo&&Et(new mo)!=ci||ho&&Et(new ho)!=di)&&(Et=function(e){var t=Yt(e),n=t==o_?e.constructor:void 0,r=n?Zt(n):"";if(r)switch(r){case s_:return mi;case i_:return li;case l_:return ui;case u_:return ci;case c_:return di}return t});var d_=1,hi="[object Arguments]",fi="[object Array]",pn="[object Object]",m_=Object.prototype,gi=m_.hasOwnProperty;function h_(e,t,n,r,a,s){var i=pt(e),l=pt(t),u=i?fi:Et(e),c=l?fi:Et(t);u=u==hi?pn:u,c=c==hi?pn:c;var d=u==pn,h=c==pn,m=u==c;if(m&&lo(e)){if(!lo(t))return!1;i=!0,d=!1}if(m&&!d)return s||(s=new wt),i||eu(e)?Hl(e,t,n,r,a,s):ey(e,t,u,n,r,a,s);if(!(n&d_)){var b=d&&gi.call(e,"__wrapped__"),_=h&&gi.call(t,"__wrapped__");if(b||_){var y=b?e.value():e,p=_?t.value():t;return s||(s=new wt),a(y,p,n,r,s)}}return m?(s||(s=new wt),a_(e,t,n,r,a,s)):!1}function ya(e,t,n,r,a){return e===t?!0:e==null||t==null||!Wt(e)&&!Wt(t)?e!==e&&t!==t:h_(e,t,n,r,ya,a)}function f_(e,t){return ya(e,t)}const ru=({store:e})=>{const{t}=qt.useTranslation(),[n,r]=Y.useState(e.jogger.motionStream.rapidlyChangingMotionState.state.joint_limit_reached.limit_reached),a=Y.useRef(n);xr(()=>{const i=e.jogger.motionStream.rapidlyChangingMotionState.state.joint_limit_reached.limit_reached;f_(a.current,i)||(a.current=i,r(i))});const s=[];for(const[i,l]of n.entries())l&&s.push(i);return o.jsx(T.Typography,{color:"error",sx:{margin:"0.5rem 1rem",textAlign:"center",visibility:s.length?"visible":"hidden"},children:t("Jogging.JointLimitsReached.lb",{jointNumbers:s.map(i=>i+1).join(", ")})})},g_=({title:e,titleId:t,...n},r)=>N.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:21,height:21,fill:"none",viewBox:"0 0 23 22",ref:r,"aria-labelledby":t,...n},e?N.createElement("title",{id:t},e):null,N.createElement("path",{fill:"currentColor",d:"m21.71 16.262-1.09.346.66 2.071-2.923-1.461V9.857l-6.285-3.143V2.893L13.38 4.21l.812-.806-2.674-2.69-2.706 2.687.805.812L10.93 2.91v3.803L4.643 9.857v7.36l-2.914 1.458.657-2.067-1.09-.346-1.225 3.88 3.826 1.144.346-1.09-1.836-.583 2.874-1.436 6.22 3.109 6.217-3.11 2.877 1.439-1.831.581.345 1.09 3.82-1.143zM11.5 12.646l-4.94-2.47 4.94-2.47 4.94 2.47zm.572.993 5.143-2.572v6.083l-5.143 2.572zm-6.286-2.572 5.143 2.572v6.083L5.786 17.15z"})),p_=Y.forwardRef(g_),y_=({title:e,titleId:t,...n},r)=>N.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:15,height:17,fill:"none",ref:r,"aria-labelledby":t,...n},e?N.createElement("title",{id:t},e):null,N.createElement("path",{fill:"currentColor",d:"M12.9 7.667c-.133-.534-.533-1-1-1.134L10.367 6l-.4 1.267L11.5 7.8c.067 0 .133.067.133.2l1.067 4.867a.32.32 0 0 1-.133.4l-2.267 1.8c-.267.2-.333.666-.133.933s.666.333.933.133l2.267-1.8c.533-.4.733-1.133.6-1.733zM12.5 0H1.833A1.65 1.65 0 0 0 .167 1.667v1.4c0 .866.733 1.6 1.666 1.6h10.734c.866 0 1.6-.734 1.6-1.667V1.667A1.65 1.65 0 0 0 12.5 0M1.633 12.8 2.7 8c0-.067.067-.133.133-.2l1.534-.533-.4-1.2-1.534.466c-.533.2-.933.6-1 1.134L.367 12.533c-.134.667.066 1.334.6 1.734l2.266 1.8c.267.266.734.2.934-.067s.2-.733-.134-.933l-2.266-1.8c-.134-.134-.2-.267-.134-.467"})),__=Y.forwardRef(y_),v_=Te.observer(({store:e})=>{var r;const{t}=qt.useTranslation();function n(a,s){(s==="coordsys"||s==="tool")&&e.setSelectedOrientation(s)}return o.jsxs(o.Fragment,{children:[o.jsxs(T.Stack,{direction:"row",alignItems:"center",spacing:2,sx:{padding:"6px 16px","& label":{opacity:.7,fontSize:"12px",marginBottom:"4px"}},children:[o.jsxs(T.Stack,{width:"50%",children:[o.jsx(T.InputLabel,{id:"jogging-coord-select",children:"Coordinate Sys."}),o.jsx(T.Select,{labelId:"jogging-coord-select",value:e.selectedCoordSystemId,size:"small",variant:"filled",displayEmpty:!0,onChange:a=>{e.setSelectedCoordSystemId(a.target.value)},disabled:e.isLocked,children:e.coordSystems.map(a=>o.jsx(T.MenuItem,{value:a.coordinate_system,children:a.name&&e.coordSystemCountByName[a.name]>1?`${a.name} / ${a.coordinate_system}`:a.name||a.coordinate_system},a.coordinate_system))})]}),o.jsxs(T.Stack,{width:"50%",children:[o.jsx(T.InputLabel,{id:"jogging-tcp-select",children:"TCP"}),o.jsx(T.Select,{labelId:"jogging-tcp-select",value:e.selectedTcpId,size:"small",variant:"filled",onChange:a=>{e.setSelectedTcpId(a.target.value)},disabled:e.isLocked,children:e.tcps.map(a=>o.jsx(T.MenuItem,{value:a.id,children:a.id},a.id))})]})]}),o.jsxs(T.Stack,{direction:"row",alignItems:"center",spacing:2,sx:{padding:"6px 16px","& label":{opacity:.7,fontSize:"12px",marginBottom:"4px"}},children:[o.jsxs(T.Stack,{width:"50%",children:[o.jsx(T.InputLabel,{id:"orientation-select",children:t("Jogging.Cartesian.Orientation.lb")}),o.jsxs(T.ToggleButtonGroup,{value:e.selectedOrientation,onChange:n,exclusive:!0,"aria-labelledby":"orientation-select",disabled:e.isLocked,children:[o.jsx(T.ToggleButton,{value:"coordsys",sx:{flexGrow:1},children:o.jsx(p_,{})}),o.jsx(T.ToggleButton,{value:"tool",sx:{flexGrow:1},children:o.jsx(__,{})})]})]}),o.jsxs(T.Stack,{width:"50%",children:[o.jsx(T.InputLabel,{id:"jogging-increment-select",children:"Increment"}),o.jsxs(T.Select,{labelId:"jogging-increment-select",size:"small",variant:"filled",value:((r=e.activeDiscreteIncrement)==null?void 0:r.id)||"continuous",onChange:a=>{e.setSelectedIncrementId(a.target.value)},disabled:e.isLocked,children:[o.jsx(T.MenuItem,{value:"continuous",children:t("Jogging.Increment.Continuous.dd")},"continuous"),e.selectedOrientation==="tool"?null:e.discreteIncrementOptions.map(a=>o.jsx(T.MenuItem,{value:a.id,children:e.currentMotionType==="translate"?`${a.mm}mm`:`${a.degrees}°`},a.id))]})]})]})]})});function b_(e,t,n=(r,a)=>r===a){return e.length===t.length&&e.every((r,a)=>n(r,t[a]))}const S_=2;function nu(e,t){return e-t}function pi(e,t){var n;const{index:r}=(n=e.reduce((a,s,i)=>{const l=Math.abs(t-s);return a===null||l<a.distance||l===a.distance?{distance:l,index:i}:a},null))!=null?n:{};return r}function yn(e,t){if(t.current!==void 0&&e.changedTouches){const n=e;for(let r=0;r<n.changedTouches.length;r+=1){const a=n.changedTouches[r];if(a.identifier===t.current)return{x:a.clientX,y:a.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function zn(e,t,n){return(e-t)*100/(n-t)}function x_(e,t,n){return(n-t)*e+t}function w_(e){if(Math.abs(e)<1){const n=e.toExponential().split("e-"),r=n[0].split(".")[1];return(r?r.length:0)+parseInt(n[1],10)}const t=e.toString().split(".")[1];return t?t.length:0}function j_(e,t,n){const r=Math.round((e-n)/t)*t+n;return Number(r.toFixed(w_(t)))}function yi({values:e,newValue:t,index:n}){const r=e.slice();return r[n]=t,r.sort(nu)}function _n({sliderRef:e,activeIndex:t,setActive:n}){var r,a;const s=pr(e.current);if(!((r=e.current)!=null&&r.contains(s.activeElement))||Number(s==null||(a=s.activeElement)==null?void 0:a.getAttribute("data-index"))!==t){var i;(i=e.current)==null||i.querySelector(`[type="range"][data-index="${t}"]`).focus()}n&&n(t)}function vn(e,t){return typeof e=="number"&&typeof t=="number"?e===t:typeof e=="object"&&typeof t=="object"?b_(e,t):!1}const R_={horizontal:{offset:e=>({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},A_=e=>e;let bn;function _i(){return bn===void 0&&(typeof CSS<"u"&&typeof CSS.supports=="function"?bn=CSS.supports("touch-action","none"):bn=!0),bn}function P_(e){const{"aria-labelledby":t,defaultValue:n,disabled:r=!1,disableSwap:a=!1,isRtl:s=!1,marks:i=!1,max:l=100,min:u=0,name:c,onChange:d,onChangeCommitted:h,orientation:m="horizontal",rootRef:b,scale:_=A_,step:y=1,shiftStep:p=10,tabIndex:x,value:j}=e,C=N.useRef(),[A,w]=N.useState(-1),[P,M]=N.useState(-1),[z,le]=N.useState(!1),ce=N.useRef(0),[D,q]=Zi({controlled:j,default:n??u,name:"Slider"}),G=d&&((I,L,F)=>{const K=I.nativeEvent||I,Q=new K.constructor(K.type,K);Object.defineProperty(Q,"target",{writable:!0,value:{value:L,name:c}}),d(Q,L,F)}),Z=Array.isArray(D);let X=Z?D.slice().sort(nu):[D];X=X.map(I=>I==null?u:mr(I,u,l));const xe=i===!0&&y!==null?[...Array(Math.floor((l-u)/y)+1)].map((I,L)=>({value:u+y*L})):i||[],ue=xe.map(I=>I.value),{isFocusVisibleRef:ee,onBlur:Re,onFocus:Oe,ref:nt}=Qi(),[_t,We]=N.useState(-1),we=N.useRef(),Ct=Ln(nt,we),lt=Ln(b,Ct),He=I=>L=>{var F;const K=Number(L.currentTarget.getAttribute("data-index"));Oe(L),ee.current===!0&&We(K),M(K),I==null||(F=I.onFocus)==null||F.call(I,L)},Ue=I=>L=>{var F;Re(L),ee.current===!1&&We(-1),M(-1),I==null||(F=I.onBlur)==null||F.call(I,L)},ut=(I,L)=>{const F=Number(I.currentTarget.getAttribute("data-index")),K=X[F],Q=ue.indexOf(K);let W=L;if(xe&&y==null){const Ve=ue[ue.length-1];W>Ve?W=Ve:W<ue[0]?W=ue[0]:W=W<K?ue[Q-1]:ue[Q+1]}if(W=mr(W,u,l),Z){a&&(W=mr(W,X[F-1]||-1/0,X[F+1]||1/0));const Ve=W;W=yi({values:X,newValue:W,index:F});let Xe=F;a||(Xe=W.indexOf(Ve)),_n({sliderRef:we,activeIndex:Xe})}q(W),We(F),G&&!vn(W,D)&&G(I,W,F),h&&h(I,W)},ct=I=>L=>{var F;if(y!==null){const K=Number(L.currentTarget.getAttribute("data-index")),Q=X[K];let W=null;(L.key==="ArrowLeft"||L.key==="ArrowDown")&&L.shiftKey||L.key==="PageDown"?W=Math.max(Q-p,u):((L.key==="ArrowRight"||L.key==="ArrowUp")&&L.shiftKey||L.key==="PageUp")&&(W=Math.min(Q+p,l)),W!==null&&(ut(L,W),L.preventDefault())}I==null||(F=I.onKeyDown)==null||F.call(I,L)};wo(()=>{if(r&&we.current.contains(document.activeElement)){var I;(I=document.activeElement)==null||I.blur()}},[r]),r&&A!==-1&&w(-1),r&&_t!==-1&&We(-1);const Ft=I=>L=>{var F;(F=I.onChange)==null||F.call(I,L),ut(L,L.target.valueAsNumber)},vt=N.useRef();let Je=m;s&&m==="horizontal"&&(Je+="-reverse");const O=({finger:I,move:L=!1})=>{const{current:F}=we,{width:K,height:Q,bottom:W,left:Ve}=F.getBoundingClientRect();let Xe;Je.indexOf("vertical")===0?Xe=(W-I.y)/Q:Xe=(I.x-Ve)/K,Je.indexOf("-reverse")!==-1&&(Xe=1-Xe);let re;if(re=x_(Xe,u,l),y)re=j_(re,y,u);else{const It=pi(ue,re);re=ue[It]}re=mr(re,u,l);let $e=0;if(Z){L?$e=vt.current:$e=pi(X,re),a&&(re=mr(re,X[$e-1]||-1/0,X[$e+1]||1/0));const It=re;re=yi({values:X,newValue:re,index:$e}),a&&L||($e=re.indexOf(It),vt.current=$e)}return{newValue:re,activeIndex:$e}},te=An(I=>{const L=yn(I,C);if(!L)return;if(ce.current+=1,I.type==="mousemove"&&I.buttons===0){he(I);return}const{newValue:F,activeIndex:K}=O({finger:L,move:!0});_n({sliderRef:we,activeIndex:K,setActive:w}),q(F),!z&&ce.current>S_&&le(!0),G&&!vn(F,D)&&G(I,F,K)}),he=An(I=>{const L=yn(I,C);if(le(!1),!L)return;const{newValue:F}=O({finger:L,move:!0});w(-1),I.type==="touchend"&&M(-1),h&&h(I,F),C.current=void 0,Le()}),Ee=An(I=>{if(r)return;_i()||I.preventDefault();const L=I.changedTouches[0];L!=null&&(C.current=L.identifier);const F=yn(I,C);if(F!==!1){const{newValue:Q,activeIndex:W}=O({finger:F});_n({sliderRef:we,activeIndex:W,setActive:w}),q(Q),G&&!vn(Q,D)&&G(I,Q,W)}ce.current=0;const K=pr(we.current);K.addEventListener("touchmove",te,{passive:!0}),K.addEventListener("touchend",he,{passive:!0})}),Le=N.useCallback(()=>{const I=pr(we.current);I.removeEventListener("mousemove",te),I.removeEventListener("mouseup",he),I.removeEventListener("touchmove",te),I.removeEventListener("touchend",he)},[he,te]);N.useEffect(()=>{const{current:I}=we;return I.addEventListener("touchstart",Ee,{passive:_i()}),()=>{I.removeEventListener("touchstart",Ee),Le()}},[Le,Ee]),N.useEffect(()=>{r&&Le()},[r,Le]);const Mt=I=>L=>{var F;if((F=I.onMouseDown)==null||F.call(I,L),r||L.defaultPrevented||L.button!==0)return;L.preventDefault();const K=yn(L,C);if(K!==!1){const{newValue:W,activeIndex:Ve}=O({finger:K});_n({sliderRef:we,activeIndex:Ve,setActive:w}),q(W),G&&!vn(W,D)&&G(L,W,Ve)}ce.current=0;const Q=pr(we.current);Q.addEventListener("mousemove",te,{passive:!0}),Q.addEventListener("mouseup",he)},je=zn(Z?X[0]:u,u,l),kt=zn(X[X.length-1],u,l)-je,Dt=(I={})=>{const L=Pn(I),F={onMouseDown:Mt(L||{})},K=k({},L,F);return k({},I,{ref:lt},K)},Rr=I=>L=>{var F;(F=I.onMouseOver)==null||F.call(I,L);const K=Number(L.currentTarget.getAttribute("data-index"));M(K)},Ar=I=>L=>{var F;(F=I.onMouseLeave)==null||F.call(I,L),M(-1)};return{active:A,axis:Je,axisProps:R_,dragging:z,focusedThumbIndex:_t,getHiddenInputProps:(I={})=>{var L;const F=Pn(I),K={onChange:Ft(F||{}),onFocus:He(F||{}),onBlur:Ue(F||{}),onKeyDown:ct(F||{})},Q=k({},F,K);return k({tabIndex:x,"aria-labelledby":t,"aria-orientation":m,"aria-valuemax":_(l),"aria-valuemin":_(u),name:c,type:"range",min:e.min,max:e.max,step:e.step===null&&e.marks?"any":(L=e.step)!=null?L:void 0,disabled:r},I,Q,{style:k({},ym,{direction:s?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:Dt,getThumbProps:(I={})=>{const L=Pn(I),F={onMouseOver:Rr(L||{}),onMouseLeave:Ar(L||{})};return k({},I,L,F)},marks:xe,open:P,range:Z,rootRef:lt,trackLeap:kt,trackOffset:je,values:X,getThumbStyle:I=>({pointerEvents:A!==-1&&A!==I?"none":void 0})}}const C_=e=>!e||!Ur(e);function M_(e){return nn("MuiSlider",e)}const Qe=Wi("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]),k_=e=>{const{open:t}=e;return{offset:gt(t&&Qe.valueLabelOpen),circle:Qe.valueLabelCircle,label:Qe.valueLabelLabel}};function au(e){const{children:t,className:n,value:r}=e,a=k_(e);return t?N.cloneElement(t,{className:gt(t.props.className)},o.jsxs(N.Fragment,{children:[t.props.children,o.jsx("span",{className:gt(a.offset,n),"aria-hidden":!0,children:o.jsx("span",{className:a.circle,children:o.jsx("span",{className:a.label,children:r})})})]})):null}process.env.NODE_ENV!=="production"&&(au.propTypes={children:f.element.isRequired,className:f.string,value:f.node});const I_=["aria-label","aria-valuetext","aria-labelledby","component","components","componentsProps","color","classes","className","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","orientation","shiftStep","size","step","scale","slotProps","slots","tabIndex","track","value","valueLabelDisplay","valueLabelFormat"];function vi(e){return e}const T_=Rt("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${Pe(n.color)}`],n.size!=="medium"&&t[`size${Pe(n.size)}`],n.marked&&t.marked,n.orientation==="vertical"&&t.vertical,n.track==="inverted"&&t.trackInverted,n.track===!1&&t.trackFalse]}})(({theme:e})=>{var t;return{borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${Qe.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${Qe.dragging}`]:{[`& .${Qe.thumb}, & .${Qe.track}`]:{transition:"none"}},variants:[...Object.keys(((t=e.vars)!=null?t:e).palette).filter(n=>{var r;return((r=e.vars)!=null?r:e).palette[n].main}).map(n=>({props:{color:n},style:{color:(e.vars||e).palette[n].main}})),{props:{orientation:"horizontal"},style:{height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}}},{props:{orientation:"horizontal",size:"small"},style:{height:2}},{props:{orientation:"horizontal",marked:!0},style:{marginBottom:20}},{props:{orientation:"vertical"},style:{height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}}},{props:{orientation:"vertical",size:"small"},style:{width:2}},{props:{orientation:"vertical",marked:!0},style:{marginRight:44}}]}}),O_=Rt("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38,variants:[{props:{orientation:"horizontal"},style:{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:"inverted"},style:{opacity:1}}]}),E_=Rt("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>{var t;return{display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest}),variants:[{props:{size:"small"},style:{border:"none"}},{props:{orientation:"horizontal"},style:{height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:!1},style:{display:"none"}},...Object.keys(((t=e.vars)!=null?t:e).palette).filter(n=>{var r;return((r=e.vars)!=null?r:e).palette[n].main}).map(n=>({props:{color:n,track:"inverted"},style:k({},e.vars?{backgroundColor:e.vars.palette.Slider[`${n}Track`],borderColor:e.vars.palette.Slider[`${n}Track`]}:k({backgroundColor:Za(e.palette[n].main,.62),borderColor:Za(e.palette[n].main,.62)},e.applyStyles("dark",{backgroundColor:Ya(e.palette[n].main,.5)}),e.applyStyles("dark",{borderColor:Ya(e.palette[n].main,.5)})))}))]}}),L_=Rt("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.thumb,t[`thumbColor${Pe(n.color)}`],n.size!=="medium"&&t[`thumbSize${Pe(n.size)}`]]}})(({theme:e})=>{var t;return{position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest}),"&::before":{position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&.${Qe.disabled}`]:{"&:hover":{boxShadow:"none"}},variants:[{props:{size:"small"},style:{width:12,height:12,"&::before":{boxShadow:"none"}}},{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-50%, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 50%)"}},...Object.keys(((t=e.vars)!=null?t:e).palette).filter(n=>{var r;return((r=e.vars)!=null?r:e).palette[n].main}).map(n=>({props:{color:n},style:{[`&:hover, &.${Qe.focusVisible}`]:k({},e.vars?{boxShadow:`0px 0px 0px 8px rgba(${e.vars.palette[n].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 8px ${hs(e.palette[n].main,.16)}`},{"@media (hover: none)":{boxShadow:"none"}}),[`&.${Qe.active}`]:k({},e.vars?{boxShadow:`0px 0px 0px 14px rgba(${e.vars.palette[n].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 14px ${hs(e.palette[n].main,.16)}`})}}))]}}),$_=Rt(au,{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})(({theme:e})=>k({zIndex:1,whiteSpace:"nowrap"},e.typography.body2,{fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem",variants:[{props:{orientation:"horizontal"},style:{transform:"translateY(-100%) scale(0)",top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"},[`&.${Qe.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"}}},{props:{orientation:"vertical"},style:{transform:"translateY(-50%) scale(0)",right:"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"},[`&.${Qe.valueLabelOpen}`]:{transform:"translateY(-50%) scale(1)"}}},{props:{size:"small"},style:{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}},{props:{orientation:"vertical",size:"small"},style:{right:"20px"}}]})),N_=Rt("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>Mo(e)&&e!=="markActive",overridesResolver:(e,t)=>{const{markActive:n}=e;return[t.mark,n&&t.markActive]}})(({theme:e})=>({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor",variants:[{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-1px, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 1px)"}},{props:{markActive:!0},style:{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}}]})),F_=Rt("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>Mo(e)&&e!=="markLabelActive",overridesResolver:(e,t)=>t.markLabel})(({theme:e})=>k({},e.typography.body2,{color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap",variants:[{props:{orientation:"horizontal"},style:{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}}},{props:{orientation:"vertical"},style:{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}}},{props:{markLabelActive:!0},style:{color:(e.vars||e).palette.text.primary}}]})),D_=e=>{const{disabled:t,dragging:n,marked:r,orientation:a,track:s,classes:i,color:l,size:u}=e,c={root:["root",t&&"disabled",n&&"dragging",r&&"marked",a==="vertical"&&"vertical",s==="inverted"&&"trackInverted",s===!1&&"trackFalse",l&&`color${Pe(l)}`,u&&`size${Pe(u)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",u&&`thumbSize${Pe(u)}`,l&&`thumbColor${Pe(l)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return Ro(c,M_,i)},B_=({children:e})=>e,ou=N.forwardRef(function(t,n){var r,a,s,i,l,u,c,d,h,m,b,_,y,p,x,j,C,A,w,P,M,z,le,ce;const D=ko({props:t,name:"MuiSlider"}),q=wm(),{"aria-label":G,"aria-valuetext":Z,"aria-labelledby":X,component:xe="span",components:ue={},componentsProps:ee={},color:Re="primary",classes:Oe,className:nt,disableSwap:_t=!1,disabled:We=!1,getAriaLabel:we,getAriaValueText:Ct,marks:lt=!1,max:He=100,min:Ue=0,orientation:ut="horizontal",shiftStep:ct=10,size:Ft="medium",step:vt=1,scale:Je=vi,slotProps:O,slots:te,track:he="normal",valueLabelDisplay:Ee="off",valueLabelFormat:Le=vi}=D,Mt=Be(D,I_),je=k({},D,{isRtl:q,max:He,min:Ue,classes:Oe,disabled:We,disableSwap:_t,orientation:ut,marks:lt,color:Re,size:Ft,step:vt,shiftStep:ct,scale:Je,track:he,valueLabelDisplay:Ee,valueLabelFormat:Le}),{axisProps:kt,getRootProps:Dt,getHiddenInputProps:Rr,getThumbProps:Ar,open:Pr,active:er,axis:at,focusedThumbIndex:I,range:L,dragging:F,marks:K,values:Q,trackOffset:W,trackLeap:Ve,getThumbStyle:Xe}=P_(k({},je,{rootRef:n}));je.marked=K.length>0&&K.some($=>$.label),je.dragging=F,je.focusedThumbIndex=I;const re=D_(je),$e=(r=(a=te==null?void 0:te.root)!=null?a:ue.Root)!=null?r:T_,It=(s=(i=te==null?void 0:te.rail)!=null?i:ue.Rail)!=null?s:O_,tr=(l=(u=te==null?void 0:te.track)!=null?u:ue.Track)!=null?l:E_,Cr=(c=(d=te==null?void 0:te.thumb)!=null?d:ue.Thumb)!=null?c:L_,bt=(h=(m=te==null?void 0:te.valueLabel)!=null?m:ue.ValueLabel)!=null?h:$_,Bt=(b=(_=te==null?void 0:te.mark)!=null?_:ue.Mark)!=null?b:N_,Ut=(y=(p=te==null?void 0:te.markLabel)!=null?p:ue.MarkLabel)!=null?y:F_,Mr=(x=(j=te==null?void 0:te.input)!=null?j:ue.Input)!=null?x:"input",kr=(C=O==null?void 0:O.root)!=null?C:ee.root,un=(A=O==null?void 0:O.rail)!=null?A:ee.rail,Ir=(w=O==null?void 0:O.track)!=null?w:ee.track,rr=(P=O==null?void 0:O.thumb)!=null?P:ee.thumb,nr=(M=O==null?void 0:O.valueLabel)!=null?M:ee.valueLabel,va=(z=O==null?void 0:O.mark)!=null?z:ee.mark,ba=(le=O==null?void 0:O.markLabel)!=null?le:ee.markLabel,cn=(ce=O==null?void 0:O.input)!=null?ce:ee.input,dn=Tt({elementType:$e,getSlotProps:Dt,externalSlotProps:kr,externalForwardedProps:Mt,additionalProps:k({},C_($e)&&{as:xe}),ownerState:k({},je,kr==null?void 0:kr.ownerState),className:[re.root,nt]}),Sa=Tt({elementType:It,externalSlotProps:un,ownerState:je,className:re.rail}),xa=Tt({elementType:tr,externalSlotProps:Ir,additionalProps:{style:k({},kt[at].offset(W),kt[at].leap(Ve))},ownerState:k({},je,Ir==null?void 0:Ir.ownerState),className:re.track}),Tr=Tt({elementType:Cr,getSlotProps:Ar,externalSlotProps:rr,ownerState:k({},je,rr==null?void 0:rr.ownerState),className:re.thumb}),wa=Tt({elementType:bt,externalSlotProps:nr,ownerState:k({},je,nr==null?void 0:nr.ownerState),className:re.valueLabel}),g=Tt({elementType:Bt,externalSlotProps:va,ownerState:je,className:re.mark}),R=Tt({elementType:Ut,externalSlotProps:ba,ownerState:je,className:re.markLabel}),E=Tt({elementType:Mr,getSlotProps:Rr,externalSlotProps:cn,ownerState:je});return o.jsxs($e,k({},dn,{children:[o.jsx(It,k({},Sa)),o.jsx(tr,k({},xa)),K.filter($=>$.value>=Ue&&$.value<=He).map(($,B)=>{const ne=zn($.value,Ue,He),V=kt[at].offset(ne);let U;return he===!1?U=Q.indexOf($.value)!==-1:U=he==="normal"&&(L?$.value>=Q[0]&&$.value<=Q[Q.length-1]:$.value<=Q[0])||he==="inverted"&&(L?$.value<=Q[0]||$.value>=Q[Q.length-1]:$.value>=Q[0]),o.jsxs(N.Fragment,{children:[o.jsx(Bt,k({"data-index":B},g,!Ur(Bt)&&{markActive:U},{style:k({},V,g.style),className:gt(g.className,U&&re.markActive)})),$.label!=null?o.jsx(Ut,k({"aria-hidden":!0,"data-index":B},R,!Ur(Ut)&&{markLabelActive:U},{style:k({},V,R.style),className:gt(re.markLabel,R.className,U&&re.markLabelActive),children:$.label})):null]},B)}),Q.map(($,B)=>{const ne=zn($,Ue,He),V=kt[at].offset(ne),U=Ee==="off"?B_:bt;return o.jsx(U,k({},!Ur(U)&&{valueLabelFormat:Le,valueLabelDisplay:Ee,value:typeof Le=="function"?Le(Je($),B):Le,index:B,open:Pr===B||er===B||Ee==="on",disabled:We},wa,{children:o.jsx(Cr,k({"data-index":B},Tr,{className:gt(re.thumb,Tr.className,er===B&&re.active,I===B&&re.focusVisible),style:k({},V,Xe(B),Tr.style),children:o.jsx(Mr,k({"data-index":B,"aria-label":we?we(B):G,"aria-valuenow":Je($),"aria-labelledby":X,"aria-valuetext":Ct?Ct(Je($),B):Z,value:Q[B]},E))}))}),B)})]}))});process.env.NODE_ENV!=="production"&&(ou.propTypes={"aria-label":os(f.string,e=>Array.isArray(e.value||e.defaultValue)&&e["aria-label"]!=null?new Error("MUI: You need to use the `getAriaLabel` prop instead of `aria-label` when using a range slider."):null),"aria-labelledby":f.string,"aria-valuetext":os(f.string,e=>Array.isArray(e.value||e.defaultValue)&&e["aria-valuetext"]!=null?new Error("MUI: You need to use the `getAriaValueText` prop instead of `aria-valuetext` when using a range slider."):null),children:f.node,classes:f.object,className:f.string,color:f.oneOfType([f.oneOf(["primary","secondary","error","info","success","warning"]),f.string]),components:f.shape({Input:f.elementType,Mark:f.elementType,MarkLabel:f.elementType,Rail:f.elementType,Root:f.elementType,Thumb:f.elementType,Track:f.elementType,ValueLabel:f.elementType}),componentsProps:f.shape({input:f.oneOfType([f.func,f.object]),mark:f.oneOfType([f.func,f.object]),markLabel:f.oneOfType([f.func,f.object]),rail:f.oneOfType([f.func,f.object]),root:f.oneOfType([f.func,f.object]),thumb:f.oneOfType([f.func,f.object]),track:f.oneOfType([f.func,f.object]),valueLabel:f.oneOfType([f.func,f.shape({children:f.element,className:f.string,open:f.bool,style:f.object,value:f.number,valueLabelDisplay:f.oneOf(["auto","off","on"])})])}),defaultValue:f.oneOfType([f.arrayOf(f.number),f.number]),disabled:f.bool,disableSwap:f.bool,getAriaLabel:f.func,getAriaValueText:f.func,marks:f.oneOfType([f.arrayOf(f.shape({label:f.node,value:f.number.isRequired})),f.bool]),max:f.number,min:f.number,name:f.string,onChange:f.func,onChangeCommitted:f.func,orientation:f.oneOf(["horizontal","vertical"]),scale:f.func,shiftStep:f.number,size:f.oneOfType([f.oneOf(["small","medium"]),f.string]),slotProps:f.shape({input:f.oneOfType([f.func,f.object]),mark:f.oneOfType([f.func,f.object]),markLabel:f.oneOfType([f.func,f.object]),rail:f.oneOfType([f.func,f.object]),root:f.oneOfType([f.func,f.object]),thumb:f.oneOfType([f.func,f.object]),track:f.oneOfType([f.func,f.object]),valueLabel:f.oneOfType([f.func,f.shape({children:f.element,className:f.string,open:f.bool,style:f.object,value:f.number,valueLabelDisplay:f.oneOf(["auto","off","on"])})])}),slots:f.shape({input:f.elementType,mark:f.elementType,markLabel:f.elementType,rail:f.elementType,root:f.elementType,thumb:f.elementType,track:f.elementType,valueLabel:f.elementType}),step:f.number,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),tabIndex:f.number,track:f.oneOf(["inverted","normal",!1]),value:f.oneOfType([f.arrayOf(f.number),f.number]),valueLabelDisplay:f.oneOf(["auto","off","on"]),valueLabelFormat:f.oneOfType([f.func,f.string])});var U_="[object Number]";function J_(e){return typeof e=="number"||Wt(e)&&Yt(e)==U_}const su=Te.observer(e=>{const t=T.useTheme(),n=e.valueLabelFormat||(a=>`${a}`);function r(a,s){s===e.velocity||!J_(s)||e.onVelocityChange(s)}return o.jsxs(o.Fragment,{children:[o.jsx(T.Typography,{sx:{textAlign:"center",fontSize:"14px",opacity:.8,lineHeight:1,color:t.palette.text.primary},children:n(e.velocity)}),o.jsx(ou,{value:e.velocity,color:"secondary",onChange:r,min:e.min,max:e.max,"aria-labelledby":"input-slider",disabled:e.disabled,sx:{"& .MuiSlider-valueLabelOpen":{zIndex:100,backgroundColor:"transparent",top:"0px"}}})]})}),iu=Te.observer(({store:e})=>{const{t}=qt.useTranslation(),n=Te.useLocalObservable(()=>({get valueLabelFormat(){return e.currentMotionType==="translate"?r=>`v=${t("Jogging.Cartesian.Translation.velocityMmPerSec.lb",{amount:r})}`:r=>`v=${t("Jogging.Cartesian.Rotation.velocityDegPerSec.lb",{amount:r})}`}}));return o.jsx(T.Stack,{sx:{margin:"0px 20px",marginBottom:"6px"},children:o.jsx(T.Stack,{sx:{width:"380px",maxWidth:"90%",margin:"auto"},children:o.jsx(su,{velocity:e.velocityInCurrentUnits,min:e.minVelocityInCurrentUnits,max:e.maxVelocityInCurrentUnits,onVelocityChange:e.setVelocityFromSlider,disabled:e.isLocked,valueLabelFormat:n.valueLabelFormat})})})}),V_=Te.observer(({store:e,children:t})=>{var h,m,b,_,y,p,x,j,C;const{t:n}=qt.useTranslation(),r=T.useTheme();function a(A,w){(w==="translate"||w==="rotate")&&e.setSelectedCartesianMotionType(w)}Io(()=>[e.selectedCoordSystemId,e.selectedTcpId],()=>{e.jogger.motionStream.motionStateSocket.changeUrl(e.jogger.nova.makeWebsocketURL(`/motion-groups/${e.jogger.motionGroupId}/state-stream?tcp=${e.selectedTcpId}&response_coordinate_system=${e.selectedCoordSystemId}`))},{fireImmediately:!0});async function s(A,w){const P=e.jogger.motionStream.rapidlyChangingMotionState.tcp_pose,M=e.jogger.motionStream.rapidlyChangingMotionState.state.joint_position;P&&await e.withMotionLock(async()=>{await e.jogger.runIncrementalCartesianMotion({currentTcpPose:P,currentJoints:M,coordSystemId:e.activeCoordSystemId,velocityInRelevantUnits:e.velocityInCurrentUnits,axis:A.axis,direction:A.direction,motion:e.selectedCartesianMotionType==="translate"?{type:"translate",distanceMm:w.mm}:{type:"rotate",distanceRads:Lt.degreesToRadians(w.degrees)}})})}async function i(A){if(!e.isLocked){if(e.activeDiscreteIncrement)return s(A,e.activeDiscreteIncrement);A.motionType==="translate"?await e.jogger.startTCPTranslation({axis:A.axis,direction:A.direction,velocityMmPerSec:e.translationVelocityMmPerSec}):await e.jogger.startTCPRotation({axis:A.axis,direction:A.direction,velocityRadsPerSec:e.rotationVelocityRadsPerSec})}}async function l(){e.isLocked||e.activeDiscreteIncrement||await e.jogger.stop()}const u=[{id:"x",colors:(b=(m=(h=r.componentsExt)==null?void 0:h.JoggingCartesian)==null?void 0:m.Axis)==null?void 0:b.X,icon:o.jsx(Tg,{})},{id:"y",colors:(p=(y=(_=r.componentsExt)==null?void 0:_.JoggingCartesian)==null?void 0:y.Axis)==null?void 0:p.Y,icon:o.jsx(Eg,{})},{id:"z",colors:(C=(j=(x=r.componentsExt)==null?void 0:x.JoggingCartesian)==null?void 0:j.Axis)==null?void 0:C.Z,icon:o.jsx($g,{})}];function c(A){return n("General.mm.variable",{amount:A.toFixed(1)})}function d(A){return n("General.degree.variable",{amount:Lt.radiansToDegrees(A).toFixed(1)})}return o.jsxs(T.Stack,{flexGrow:1,gap:4,children:[o.jsxs(T.Stack,{children:[o.jsx(Dg,{store:e}),o.jsx(v_,{store:e})]}),o.jsx(T.Stack,{width:"80%",maxWidth:"296px",marginLeft:"auto",marginRight:"auto",marginTop:"8px",marginBottom:"8px",gap:"12px",children:o.jsxs(T.ToggleButtonGroup,{value:e.selectedCartesianMotionType,onChange:a,exclusive:!0,"aria-label":n("Jogging.Cartesian.MotionType.lb"),sx:{justifyContent:"center"},children:[o.jsx(T.ToggleButton,{value:"translate",children:n("Jogging.Cartesian.Translation.bt")}),o.jsx(T.ToggleButton,{value:"rotate",children:n("Jogging.Cartesian.Rotation.bt")})]})}),o.jsx(Gl,{store:e,children:o.jsxs(T.Stack,{width:"80%",maxWidth:"296px",marginLeft:"auto",marginRight:"auto",marginTop:"8px",marginBottom:"8px",gap:"12px",children:[e.selectedCartesianMotionType==="translate"&&u.map(A=>o.jsx(eo,{colors:A.colors,disabled:e.isLocked,label:o.jsxs(o.Fragment,{children:[A.icon,o.jsx(T.Typography,{sx:{fontSize:"24px",color:"white"},children:A.id.toUpperCase()})]}),getDisplayedValue:()=>{var w;return c(((w=e.jogger.motionStream.rapidlyChangingMotionState.tcp_pose)==null?void 0:w.position[A.id])||0)},startJogging:w=>i({axis:A.id,motionType:"translate",direction:w}),stopJogging:l},A.id)),e.selectedCartesianMotionType==="rotate"&&u.map(A=>o.jsx(eo,{colors:A.colors,disabled:e.isLocked,label:o.jsxs(o.Fragment,{children:[o.jsx(Fg,{}),o.jsx(T.Typography,{sx:{fontSize:"24px",color:"white"},children:A.id.toUpperCase()})]}),getDisplayedValue:()=>{var w,P;return d(((P=(w=e.jogger.motionStream.rapidlyChangingMotionState.tcp_pose)==null?void 0:w.orientation)==null?void 0:P[A.id])||0)},startJogging:w=>i({axis:A.id,motionType:"rotate",direction:w}),stopJogging:l},A.id))]})}),o.jsxs(T.Stack,{children:[o.jsx(ru,{store:e}),o.jsx(iu,{store:e}),t]})]})}),G_=Te.observer(({store:e})=>{const t=Y.useRef(null);function n(){const{joints:r}=e.jogger.motionStream.rapidlyChangingMotionState.state.joint_position;return`[${r.map(a=>parseFloat(a.toFixed(4))).join(", ")}]`}return xr(()=>{t.current&&(t.current.textContent=n())}),o.jsx(T.Stack,{alignItems:"left",spacing:2,sx:{padding:"16px","& label":{opacity:.7,fontSize:"12px",marginBottom:"4px"}},children:o.jsx(zl,{value:n(),ref:t})})}),z_=Te.observer(({store:e,children:t})=>{async function n(a){await e.jogger.startJointRotation({joint:a.joint,direction:a.direction,velocityRadsPerSec:e.rotationVelocityRadsPerSec})}async function r(){await e.jogger.stop()}return o.jsxs(T.Stack,{flexGrow:1,justifyContent:"space-between",children:[o.jsx(G_,{store:e}),o.jsx(Gl,{store:e,children:o.jsx(T.Stack,{gap:"0.8rem",children:e.jogger.motionStream.joints.map(a=>{var u;const s=(u=e.motionGroupSpec.mechanical_joint_limits)==null?void 0:u[a.index],i=(s==null?void 0:s.lower_limit)!==void 0?Lt.radiansToDegrees(s.lower_limit):void 0,l=(s==null?void 0:s.upper_limit)!==void 0?Lt.radiansToDegrees(s.upper_limit):void 0;return o.jsxs(T.Stack,{direction:"row",alignItems:"center",gap:2,children:[o.jsx(T.Typography,{sx:{flexGrow:1,textAlign:"right"},children:`J${a.index+1}`}),o.jsx(yl,{disabled:e.isLocked,lowerLimitDegs:i,upperLimitDegs:l,getValueDegs:()=>{const c=e.jogger.motionStream.rapidlyChangingMotionState.state.joint_position.joints[a.index];return c!==void 0?Lt.radiansToDegrees(c):void 0},startJogging:c=>n({joint:a.index,direction:c}),stopJogging:r},a.index),o.jsx(T.Typography,{sx:{flexGrow:1}})]},`joint-${a.index}`)})})}),o.jsx(ru,{store:e}),o.jsx(iu,{store:e}),t]})});var bi=function(){try{var e=Qt(Object,"defineProperty");return e({},"",{}),e}catch{}}();function K_(e,t,n){t=="__proto__"&&bi?bi(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function W_(e,t,n,r){for(var a=-1,s=e==null?0:e.length;++a<s;){var i=e[a];t(r,i,n(i),e)}return r}function H_(e){return function(t,n,r){for(var a=-1,s=Object(t),i=r(t),l=i.length;l--;){var u=i[++a];if(n(s[u],u,s)===!1)break}return t}}var X_=H_();function q_(e,t){return e&&X_(e,t,Do)}function Y_(e,t){return function(n,r){if(n==null)return n;if(!tu(n))return e(n,r);for(var a=n.length,s=-1,i=Object(n);++s<a&&r(i[s],s,i)!==!1;);return n}}var Z_=Y_(q_);function Q_(e,t,n,r){return Z_(e,function(a,s,i){t(r,a,n(a),i)}),r}var e1=1,t1=2;function r1(e,t,n,r){var a=n.length,s=a;if(e==null)return!s;for(e=Object(e);a--;){var i=n[a];if(i[2]?i[1]!==e[i[0]]:!(i[0]in e))return!1}for(;++a<s;){i=n[a];var l=i[0],u=e[l],c=i[1];if(i[2]){if(u===void 0&&!(l in e))return!1}else{var d=new wt,h;if(!(h===void 0?ya(c,u,e1|t1,r,d):h))return!1}}return!0}function lu(e){return e===e&&!Kt(e)}function n1(e){for(var t=Do(e),n=t.length;n--;){var r=t[n],a=e[r];t[n]=[r,a,lu(a)]}return t}function uu(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function a1(e){var t=n1(e);return t.length==1&&t[0][2]?uu(t[0][0],t[0][1]):function(n){return n===e||r1(n,e,t)}}var o1=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s1=/^\w*$/;function Bo(e,t){if(pt(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||la(e)?!0:s1.test(e)||!o1.test(e)||t!=null&&e in Object(t)}var i1="Expected a function";function Uo(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(i1);var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],s=n.cache;if(s.has(a))return s.get(a);var i=e.apply(this,r);return n.cache=s.set(a,i)||s,i};return n.cache=new(Uo.Cache||Pt),n}Uo.Cache=Pt;var l1=500;function u1(e){var t=Uo(e,function(r){return n.size===l1&&n.clear(),r}),n=t.cache;return t}var c1=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,d1=/\\(\\)?/g,m1=u1(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(c1,function(n,r,a,s){t.push(a?s.replace(d1,"$1"):r||n)}),t});function h1(e,t){for(var n=-1,r=e==null?0:e.length,a=Array(r);++n<r;)a[n]=t(e[n],n,e);return a}var f1=1/0,Si=$t?$t.prototype:void 0,xi=Si?Si.toString:void 0;function cu(e){if(typeof e=="string")return e;if(pt(e))return h1(e,cu)+"";if(la(e))return xi?xi.call(e):"";var t=e+"";return t=="0"&&1/e==-f1?"-0":t}function du(e){return e==null?"":cu(e)}function mu(e,t){return pt(e)?e:Bo(e,t)?[e]:m1(du(e))}var g1=1/0;function _a(e){if(typeof e=="string"||la(e))return e;var t=e+"";return t=="0"&&1/e==-g1?"-0":t}function hu(e,t){t=mu(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[_a(t[n++])];return n&&n==r?e:void 0}function p1(e,t,n){var r=e==null?void 0:hu(e,t);return r===void 0?n:r}function y1(e,t){return e!=null&&t in Object(e)}function _1(e,t,n){t=mu(t,e);for(var r=-1,a=t.length,s=!1;++r<a;){var i=_a(t[r]);if(!(s=e!=null&&n(e,i)))break;e=e[i]}return s||++r!=a?s:(a=e==null?0:e.length,!!a&&Fo(a)&&Zl(i,a)&&(pt(e)||ql(e)))}function v1(e,t){return e!=null&&_1(e,t,y1)}var b1=1,S1=2;function x1(e,t){return Bo(e)&&lu(t)?uu(_a(e),t):function(n){var r=p1(n,e);return r===void 0&&r===t?v1(n,e):ya(t,r,b1|S1)}}function w1(e){return e}function j1(e){return function(t){return t==null?void 0:t[e]}}function R1(e){return function(t){return hu(t,e)}}function A1(e){return Bo(e)?j1(_a(e)):R1(e)}function P1(e){return typeof e=="function"?e:e==null?w1:typeof e=="object"?pt(e)?x1(e[0],e[1]):a1(e):A1(e)}function C1(e,t){return function(n,r){var a=pt(n)?W_:Q_,s={};return a(n,e,P1(r),s)}}var Sn=C1(function(e,t,n){K_(e,n,t)}),M1=0;function k1(e){var t=++M1;return du(e)+t}const fo=[{id:"0.1",mm:.1,degrees:.05},{id:"1",mm:1,degrees:.5},{id:"5",mm:5,degrees:2.5},{id:"10",mm:10,degrees:5}],I1=[{id:"continuous"},...fo];class Jo{constructor(t,n,r,a){var s,i;this.jogger=t,this.motionGroupSpec=n,this.coordSystems=r,this.tcps=a,this.selectedTabId="cartesian",this.manualActivationRequired=!0,this.activationState="inactive",this.activationError=null,this.activationCounter=0,this.locks=new Set,this.selectedCoordSystemId="world",this.selectedTcpId="",this.selectedOrientation="coordsys",this.selectedIncrementId="continuous",this.selectedCartesianMotionType="translate",this.incrementJoggingInProgress=!1,this.translationVelocityMmPerSec=10,this.rotationVelocityDegPerSec=1,this.minTranslationVelocityMmPerSec=5,this.maxTranslationVelocityMmPerSec=250,this.minRotationVelocityDegPerSec=1,this.maxRotationVelocityDegPerSec=60,this.disposers=[];for(const l of r)if(l.coordinate_system===""){l.coordinate_system="world";break}this.selectedCoordSystemId=((s=r[0])==null?void 0:s.coordinate_system)||"world",this.selectedTcpId=((i=a[0])==null?void 0:i.id)||"",dt.makeAutoObservable(this,{},{autoBind:!0}),this.loadFromLocalStorage(),this.disposers.push(dt.autorun(()=>this.saveToLocalStorage())),window.joggingStore=this}static async loadFor(t){const{nova:n}=t,[r,{coordinatesystems:a},{tcps:s}]=await Promise.all([n.api.motionGroupInfos.getMotionGroupSpecification(t.motionGroupId),n.api.coordinateSystems.listCoordinateSystems("ROTATION_VECTOR"),n.api.motionGroupInfos.listTcps(t.motionGroupId,"ROTATION_VECTOR")]);return new Jo(t,r,a||[],s||[])}dispose(){for(const t of this.disposers)t();this.jogger.dispose()}get coordSystemCountByName(){return Kn.countBy(this.coordSystems,t=>t.name)}async deactivate(t={}){if(this.activationState==="inactive")return;const n=this.jogger.activeWebsocket;this.activationState="inactive",this.jogger.setJoggingMode("increment"),n&&await n.closed();try{await this.jogger.nova.api.motionGroupJogging.stopJogging(this.jogger.motionGroupId)}catch(r){console.error(r)}t.requireManualReactivation&&dt.runInAction(()=>{this.manualActivationRequired=!0})}async activate(t={}){if(!(this.manualActivationRequired&&!t.manual)){dt.runInAction(()=>{this.activationState="loading",this.activationError=null});try{await this.jogger.nova.api.controller.setDefaultMode(this.jogger.motionStream.controllerId,"MODE_CONTROL")}catch(n){console.error(n)}if(this.currentTab.id==="cartesian"){const n={tcpId:this.selectedTcpId,coordSystemId:this.activeCoordSystemId};this.activeDiscreteIncrement?this.jogger.setJoggingMode("increment",n):this.jogger.setJoggingMode("cartesian",n)}else this.jogger.setJoggingMode("joint");if(this.jogger.activeWebsocket)try{this.jogger.stop(),await this.jogger.activeWebsocket.nextMessage()}catch(n){dt.runInAction(()=>{this.activationState="inactive",this.activationError=n});return}dt.runInAction(()=>{this.activationState="active",t.manual&&(this.manualActivationRequired=!1)})}}loadFromLocalStorage(){const t=Lt.tryParseJson(localStorage.getItem("joggingToolStore"));t&&(this.tabsById[t.selectedTabId]&&(this.selectedTabId=t.selectedTabId),this.coordSystemsById[t.selectedCoordSystemId]&&(this.selectedCoordSystemId=t.selectedCoordSystemId),this.tcpsById[t.selectedTcpId]&&(this.selectedTcpId=t.selectedTcpId),this.incrementOptionsById[t.selectedIncrementId]&&(this.selectedIncrementId=t.selectedIncrementId),["translate","rotate"].includes(t.selectedCartesianMotionType)&&(this.selectedCartesianMotionType=t.selectedCartesianMotionType),["coordsys","tool"].includes(t.selectedOrientation)&&(this.selectedOrientation=t.selectedOrientation))}saveToLocalStorage(){localStorage.setItem("joggingToolStore",JSON.stringify(this.localStorageSave))}get isLocked(){return this.locks.size>0}get localStorageSave(){return{selectedTabId:this.selectedTabId,selectedCoordSystemId:this.selectedCoordSystemId,selectedTcpId:this.selectedTcpId,selectedOrientation:this.selectedOrientation,selectedIncrementId:this.selectedIncrementId,selectedCartesianMotionType:this.selectedCartesianMotionType}}get tabs(){return[{id:"cartesian",label:"Cartesian"},{id:"joint",label:"Joint"}]}get incrementOptions(){return I1}get discreteIncrementOptions(){return fo}get incrementOptionsById(){return Sn(this.incrementOptions,t=>t.id)}get tabsById(){return Sn(this.tabs,t=>t.id)}get currentTab(){return this.tabsById[this.selectedTabId]||this.tabs[0]}get tabIndex(){return this.tabs.indexOf(this.currentTab)}get coordSystemsById(){return Sn(this.coordSystems,t=>t.coordinate_system)}get selectedCoordSystem(){return this.coordSystemsById[this.selectedCoordSystemId]}get activeCoordSystemId(){return this.selectedOrientation==="tool"?"tool":this.selectedCoordSystemId}get tcpsById(){return Sn(this.tcps,t=>t.id)}get activeDiscreteIncrement(){return this.selectedOrientation==="tool"?void 0:fo.find(t=>t.id===this.selectedIncrementId)}get rotationVelocityRadsPerSec(){return this.rotationVelocityDegPerSec*Math.PI/180}get velocityInCurrentUnits(){return this.currentMotionType==="translate"?this.translationVelocityMmPerSec:this.rotationVelocityDegPerSec}get minVelocityInCurrentUnits(){return this.currentMotionType==="translate"?this.minTranslationVelocityMmPerSec:this.minRotationVelocityDegPerSec}get maxVelocityInCurrentUnits(){return this.currentMotionType==="translate"?this.maxTranslationVelocityMmPerSec:this.maxRotationVelocityDegPerSec}get currentMotionType(){return this.selectedTabId==="cartesian"&&this.selectedCartesianMotionType==="translate"?"translate":"rotate"}onTabChange(t,n){const r=this.tabs[n]||this.tabs[0];this.selectedTabId=r.id}setSelectedCoordSystemId(t){this.selectedCoordSystemId=t}setSelectedTcpId(t){this.selectedTcpId=t}setSelectedOrientation(t){this.selectedOrientation=t}setSelectedIncrementId(t){this.selectedIncrementId=t}setIncrementJoggingInProgress(t){this.incrementJoggingInProgress=t}setVelocityFromSlider(t){this.currentMotionType==="translate"?this.translationVelocityMmPerSec=t:this.rotationVelocityDegPerSec=t}setSelectedCartesianMotionType(t){this.selectedCartesianMotionType=t}async withMotionLock(t){const n=k1();this.locks.add(n);try{return await t()}finally{this.locks.delete(n)}}}const T1=on(Te.observer(e=>{const t=Kn.isString(e.nova)?new Lt.NovaClient({instanceUrl:e.nova}):e.nova,n=Te.useLocalObservable(()=>({joggingStore:null,loadingError:null}));async function r(){dt.runInAction(()=>{n.loadingError=null,n.joggingStore=null});try{const a=await t.connectJogger(e.motionGroupId),s=await Jo.loadFor(a);dt.runInAction(()=>{n.joggingStore=s}),e.onSetup&&e.onSetup(s)}catch(a){n.loadingError=a}}return Y.useEffect(()=>(r(),()=>{var a;(a=n.joggingStore)==null||a.dispose()}),[e.nova,e.motionGroupId]),Y.useEffect(()=>{const a=n.joggingStore;a&&(e.locked?a.locks.add("external"):a.locks.delete("external"))},[e.locked]),o.jsx(T.Stack,{sx:{maxWidth:"460px",minWidth:"350px",overflowY:"auto",position:"relative",height:"100%"},children:n.joggingStore?o.jsx(O1,{store:n.joggingStore,children:e.children}):o.jsx(fa,{message:"Loading jogging",error:n.loadingError})})})),O1=Te.observer(({store:e,children:t})=>{Y.useEffect(()=>{function r(){e.deactivate()}function a(){e.activate()}return window.addEventListener("blur",r),window.addEventListener("focus",a),()=>{window.removeEventListener("blur",r),window.removeEventListener("focus",a)}}),Io(()=>[e.currentTab.id,e.selectedTcpId,e.activeCoordSystemId,e.activeDiscreteIncrement],()=>{e.activationState!=="inactive"&&e.activate()});function n(){if(e.currentTab.id==="cartesian")return o.jsx(o.Fragment,{children:o.jsx(V_,{store:e,children:t})});if(e.currentTab.id==="joint")return o.jsx(o.Fragment,{children:o.jsx(z_,{store:e,children:t})})}return o.jsxs(T.Stack,{flexGrow:1,height:"100%",children:[o.jsx(T.Tabs,{value:e.tabIndex,onChange:e.onTabChange,variant:"fullWidth",children:e.tabs.map(r=>o.jsx(T.Tab,{label:r.label,id:`jogging-tab-${r.id}`,"aria-controls":`jogging-tab-${r.id}`},r.id))}),o.jsx(T.Stack,{flexGrow:1,position:"relative",children:n()})]})});function E1(){const e=window.location.href;return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function L1({baseUrl:e=E1(),...t}){return o.jsxs(T.Dialog,{"aria-labelledby":"no-motion-group-modal-title",open:!0,fullWidth:!0,sx:{"& .MuiModal-backdrop":{backdropFilter:"blur(10px)"},"& .MuiDialog-paper":{"::before":{content:'""',height:"8px",width:"100%",background:"linear-gradient(90deg, #FF0E65 0%, #47D3FF 100%)"},background:"#101629"}},children:[o.jsx(T.DialogTitle,{id:"no-motion-group-modal-title",children:"No motion group found"}),o.jsxs(T.DialogContent,{sx:{marginTop:"3rem",marginBottom:"1.5rem",textAlign:"center"},children:[o.jsx(T.Typography,{color:"#fff",children:"Found no devices to connect to."}),o.jsx(T.Typography,{color:"#fff",children:"Please ensure a motion group has been created."})]}),o.jsx(T.DialogActions,{children:o.jsxs(T.Stack,{width:"100%",maxWidth:"300px",margin:"auto",marginBottom:"2rem",children:[o.jsx(T.Button,{href:`${e}/settings`,variant:"contained",sx:{borderRadius:"8px",width:"100%"},children:"Go to settings app"}),o.jsx(T.Button,{href:`${e}`,variant:"text",sx:{marginTop:"1rem",color:"#fff",textDecoration:"underline",fontSize:"0.75rem"},children:"Back to Homescreen"})]})})]})}const $1=Array(6).fill(2*Math.PI);fu.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0]};function fu({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Empty",children:[o.jsxs("group",{name:"visuals",children:[o.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1.geometry,material:a.abb_metal_polished}),o.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2.geometry,material:a.abb_white})]}),o.jsxs(v.animated.group,{name:"ABB_IRB1200_J00",children:[o.jsxs(v.animated.group,{name:"ABB_IRB1200_J01",position:[0,.399,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"ABB_IRB1200_J02",position:[.35,0,0],children:[o.jsxs(v.animated.group,{name:"ABB_IRB1200_J03",position:[.042,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"ABB_IRB1200_J04",position:[0,.351,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"ABB_IRB1200_J05",rotation:[Math.PI/2,0,-Math.PI],children:[o.jsx("group",{name:"ABB_IRB1200_FLG",position:[0,.082,0]}),o.jsx("mesh",{name:"visuals006",castShadow:!0,receiveShadow:!0,geometry:r.visuals006.geometry,material:a.abb_metal_black,position:[.791,-.351,0],rotation:[0,0,Math.PI/2]})]}),o.jsxs("group",{name:"visuals005",position:[-.791,0,.351],rotation:[Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals005_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals005_1.geometry,material:a.abb_metal_polished}),o.jsx("mesh",{name:"visuals005_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals005_2.geometry,material:a.abb_white})]})]}),o.jsxs("group",{name:"visuals004",position:[-.791,0,0],rotation:[-Math.PI,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals004_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals004_1.geometry,material:a.abb_metal_polished}),o.jsx("mesh",{name:"visuals004_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals004_2.geometry,material:a.abb_white}),o.jsx("mesh",{name:"visuals004_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals004_3.geometry,material:a.abb_red})]})]}),o.jsxs("group",{name:"visuals003",position:[-.749,0,0],rotation:[Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals003_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_1.geometry,material:a.abb_white}),o.jsx("mesh",{name:"visuals003_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_2.geometry,material:a.abb_red}),o.jsx("mesh",{name:"visuals003_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_3.geometry,material:a.abb_metal_polished})]})]}),o.jsxs("group",{name:"visuals002",position:[-.399,0,0],rotation:[Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals002_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals002_1.geometry,material:a.abb_white}),o.jsx("mesh",{name:"visuals002_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals002_2.geometry,material:a.abb_metal_polished})]})]}),o.jsxs("group",{name:"visuals001",children:[o.jsx("mesh",{name:"visuals001_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_1.geometry,material:a.abb_white}),o.jsx("mesh",{name:"visuals001_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_2.geometry,material:a.abb_metal_polished})]})]})]})})}gu.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0]};function gu({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsx("mesh",{name:"link_0",castShadow:!0,receiveShadow:!0,geometry:r.link_0.geometry,material:a.Plastic}),o.jsxs(v.animated.group,{name:"ABB_IRB_1300_115_10_J00",children:[o.jsxs(v.animated.group,{name:"ABB_IRB_1300_115_10_J01",position:[.15,.544,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"ABB_IRB_1300_115_10_J02",position:[.575,0,0],children:[o.jsxs(v.animated.group,{name:"ABB_IRB_1300_115_10_J03",position:[.04,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"ABB_IRB_1300_115_10_J04",position:[0,.425,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"ABB_IRB_1300_115_10_J05",rotation:[Math.PI/2,0,-Math.PI],children:[o.jsx("group",{name:"ABB_IRB_1300_115_10_FLG",position:[0,.092,0]}),o.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:r.link_6.geometry,material:a.Metal,position:[1.159,-.575,0],rotation:[0,0,Math.PI/2]})]}),o.jsx("mesh",{name:"link_5",castShadow:!0,receiveShadow:!0,geometry:r.link_5.geometry,material:a.Plastic,position:[-1.159,0,.575],rotation:[Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"link_4",position:[-1.159,-.15,0],rotation:[-Math.PI,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals004",castShadow:!0,receiveShadow:!0,geometry:r.visuals004.geometry,material:a.Plastic}),o.jsx("mesh",{name:"visuals004_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals004_1.geometry,material:a.PlasticRed})]})]}),o.jsxs("group",{name:"link_3",position:[-1.119,0,.15],rotation:[Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals003",castShadow:!0,receiveShadow:!0,geometry:r.visuals003.geometry,material:a.Plastic}),o.jsx("mesh",{name:"visuals003_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_1.geometry,material:a.PlasticRed}),o.jsx("mesh",{name:"visuals003_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_2.geometry,material:a.Plastic})]})]}),o.jsx("mesh",{name:"link_2",castShadow:!0,receiveShadow:!0,geometry:r.link_2.geometry,material:a.Plastic,position:[-.544,0,.15],rotation:[Math.PI/2,0,-Math.PI/2]})]}),o.jsx("mesh",{name:"link_1",castShadow:!0,receiveShadow:!0,geometry:r.link_1.geometry,material:a.Plastic})]})]})})}pu.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function pu({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs("group",{name:"M10iD",rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"M10iD_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"M10iD_J02",position:[.075,0,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"M10iD_J03",position:[.64,0,0],children:[o.jsxs(v.animated.group,{name:"M10iD_J04",position:[.195,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"M10iD_J05",position:[0,-.7,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"M10iD_J06",rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"M10iD_FLG",position:[0,-.075,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"M10iD_L06",castShadow:!0,receiveShadow:!0,geometry:r.M10iD_L06.geometry,material:a.Fanuc_BlackMetal_AO,position:[-.835,.775,0],rotation:[0,0,-Math.PI/2]})]}),o.jsx("mesh",{name:"M10iD_L05",castShadow:!0,receiveShadow:!0,geometry:r.M10iD_L05.geometry,material:a.Fanuc_BlackMetal_AO,position:[-.835,0,-.775],rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"M10iD_L04",position:[-.835,.075,0],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"Mesh_654",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_654.geometry,material:a.Fanuc_Yellow_Textured_AO}),o.jsx("mesh",{name:"Mesh_654_1",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_654_1.geometry,material:a.Fanuc_BlackMetal_AO})]})]}),o.jsxs("group",{name:"M10iD_L03",position:[-.64,0,-.075],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"Mesh_378",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_378.geometry,material:a.Material_1_AO}),o.jsx("mesh",{name:"Mesh_378_1",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_378_1.geometry,material:a.Fanuc_Yellow_Textured_AO}),o.jsx("mesh",{name:"Mesh_378_2",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_378_2.geometry,material:a.Fanuc_BlackMetal_AO})]})]}),o.jsxs("group",{name:"M10iD_L02",position:[0,0,-.075],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"Mesh_358",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_358.geometry,material:a.Fanuc_Yellow_Textured_AO}),o.jsx("mesh",{name:"Mesh_358_1",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_358_1.geometry,material:a.Fanuc_BlackMetal_AO})]})]}),o.jsxs("group",{name:"M10iD_L01",children:[o.jsx("mesh",{name:"Mesh_356",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_356.geometry,material:a.Fanuc_Yellow_Textured_AO}),o.jsx("mesh",{name:"Mesh_356_1",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_356_1.geometry,material:a.Material_1_AO}),o.jsx("mesh",{name:"Mesh_356_2",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_356_2.geometry,material:a.Fanuc_BlackMetal_AO})]})]}),o.jsx("mesh",{name:"M10iD_L00",castShadow:!0,receiveShadow:!0,geometry:r.M10iD_L00.geometry,material:a.Fanuc_BlackMetal_AO,rotation:[-Math.PI/2,0,0]})]})})})})}go.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function go({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs("group",{name:"M10iD",rotation:[0,0,0],children:[o.jsxs(v.animated.group,{name:"M20iD25_J00",children:[o.jsxs(v.animated.group,{name:"M20iD25_J01",position:[.075,0,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"M20iD25_J02",position:[.84,0,0],children:[o.jsxs(v.animated.group,{name:"M20iD25_J03",position:[.215,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"M20iD25_J04",position:[0,-.89,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"M20iD25_J05",rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"M20iD25_FLG",position:[0,-.09,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"M20iD25_L06",castShadow:!0,receiveShadow:!0,geometry:r.M20iD25_L06.geometry,material:a.Fanuc_BlackMetal_AO,position:[0,-.09,0],rotation:[Math.PI/2,0,Math.PI]})]}),o.jsx("mesh",{name:"M20iD25_L05",castShadow:!0,receiveShadow:!0,geometry:r.M20iD25_L05.geometry,material:a.Fanuc_BlackMetal_AO,rotation:[Math.PI,Math.PI/2,0]})]}),o.jsxs("group",{name:"M20iD25_L04",position:[0,-.286,0],rotation:[-Math.PI/2,Math.PI/2,0],children:[o.jsx("mesh",{name:"Mesh_2",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_2.geometry,material:a.Fanuc_Yellow_Textured_AO}),o.jsx("mesh",{name:"Mesh_2_1",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_2_1.geometry,material:a.Fanuc_BlackMetal_AO})]})]}),o.jsxs("group",{name:"M20iD25_L03",position:[0,.406,0],rotation:[Math.PI,Math.PI/2,0],children:[o.jsx("mesh",{name:"Mesh_15",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_15.geometry,material:a.Fanuc_BlackMetal_AO}),o.jsx("mesh",{name:"Mesh_15_1",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_15_1.geometry,material:a.Fanuc_Yellow_Textured_AO}),o.jsx("mesh",{name:"Mesh_15_2",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_15_2.geometry,material:a.Material_9_AO})]})]}),o.jsxs("group",{name:"M20iD25_L02",position:[0,.505,-.055],rotation:[-Math.PI,Math.PI/2,0],children:[o.jsx("mesh",{name:"Mesh_37",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_37.geometry,material:a.Fanuc_BlackMetal_AO}),o.jsx("mesh",{name:"Mesh_37_1",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_37_1.geometry,material:a.Fanuc_Yellow_Textured_AO})]})]}),o.jsxs("group",{name:"M20iD25_L01",rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"Mesh_45",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_45.geometry,material:a.Material_9_AO}),o.jsx("mesh",{name:"Mesh_45_1",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_45_1.geometry,material:a.Fanuc_Yellow_Textured_AO}),o.jsx("mesh",{name:"Mesh_45_2",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_45_2.geometry,material:a.Fanuc_BlackMetal_AO})]})]}),o.jsx("mesh",{name:"M20iD25_L00",castShadow:!0,receiveShadow:!0,geometry:r.M20iD25_L00.geometry,material:a.Fanuc_BlackMetal_AO,position:[0,-.425,0],rotation:[-Math.PI/2,0,0]})]})})})})}yu.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function yu({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs(v.animated.group,{name:"CRX10iA_J00",children:[o.jsxs(v.animated.group,{name:"CRX10iA_J01",rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"CRX10iA_J02",position:[.54,0,0],children:[o.jsxs(v.animated.group,{name:"CRX10iA_J03",rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"CRX10iA_J04",position:[0,-.54,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"CRX10iA_J05",position:[0,.15,0],rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"CRX10iA_FLG",position:[0,-.16,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"CRX10iA_L06",castShadow:!0,receiveShadow:!0,geometry:r.CRX10iA_L06.geometry,material:a.Fanuc_BlackMetal,position:[0,-.16,0],rotation:[0,0,-Math.PI/2]})]}),o.jsxs("group",{name:"CRX10iA_L05",position:[0,.15,0],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"J5CASING_UNIT001",castShadow:!0,receiveShadow:!0,geometry:r.J5CASING_UNIT001.geometry,material:a.Fanuc_WhitePlastic}),o.jsx("mesh",{name:"J5CASING_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:r.J5CASING_UNIT001_1.geometry,material:a.Fanuc_Green})]})]}),o.jsxs("group",{name:"CRX10iA_L04",position:[0,-.54,0],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"NAME_LABEL_CRX_10iA",castShadow:!0,receiveShadow:!0,geometry:r.NAME_LABEL_CRX_10iA.geometry,material:a.Fanuc_RedPlastic}),o.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_1",castShadow:!0,receiveShadow:!0,geometry:r.NAME_LABEL_CRX_10iA_1.geometry,material:a.Fanuc_BlackPlastic}),o.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_2",castShadow:!0,receiveShadow:!0,geometry:r.NAME_LABEL_CRX_10iA_2.geometry,material:a.Fanuc_WhitePlastic})]})]}),o.jsx("mesh",{name:"CRX10iA_L03",castShadow:!0,receiveShadow:!0,geometry:r.CRX10iA_L03.geometry,material:a.Fanuc_WhitePlastic,rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsx("mesh",{name:"CRX10iA_L02",castShadow:!0,receiveShadow:!0,geometry:r.CRX10iA_L02.geometry,material:a.Fanuc_WhitePlastic,rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"CRX10iA_L01",position:[0,-.117,0],children:[o.jsx("mesh",{name:"J2BASE_UNIT001",castShadow:!0,receiveShadow:!0,geometry:r.J2BASE_UNIT001.geometry,material:a.Fanuc_Green}),o.jsx("mesh",{name:"J2BASE_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:r.J2BASE_UNIT001_1.geometry,material:a.Fanuc_WhitePlastic}),o.jsx("mesh",{name:"J2BASE_UNIT001_2",castShadow:!0,receiveShadow:!0,geometry:r.J2BASE_UNIT001_2.geometry,material:a.Fanuc_GreenLED})]})]}),o.jsx("mesh",{name:"CRX10iA_L00",castShadow:!0,receiveShadow:!0,geometry:r.CRX10iA_L00.geometry,material:a.Fanuc_BlackMetal,position:[0,-.245,0]})]})})})}_u.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function _u({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsx("mesh",{name:"link_0",castShadow:!0,receiveShadow:!0,geometry:r.link_0.geometry,material:a.fanuc_metal_black}),o.jsxs(v.animated.group,{name:"FANUC_CRX20iAL_J00",position:[0,-.245,0],children:[o.jsxs(v.animated.group,{name:"FANUC_CRX20iAL_J01",position:[0,.245,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"FANUC_CRX20iAL_J02",position:[.71,0,0],children:[o.jsxs(v.animated.group,{name:"FANUC_CRX20iAL_J03",rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"FANUC_CRX20iAL_J04",position:[0,-.54,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"FANUC_CRX20iAL_J05",position:[0,.15,0],rotation:[-Math.PI/2,0,0],children:[o.jsx(v.animated.group,{name:"FANUC_CRX20iAL_FLG",position:[0,-.16,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:r.link_6.geometry,material:a.fanuc_metal_black,position:[-.71,.54,-.15],rotation:[0,0,-Math.PI/2]})]}),o.jsxs(v.animated.group,{name:"link_5",position:[-.71,0,-.54],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"shape053",castShadow:!0,receiveShadow:!0,geometry:r.shape053.geometry,material:a.fanuc_white}),o.jsx("mesh",{name:"shape053_1",castShadow:!0,receiveShadow:!0,geometry:r.shape053_1.geometry,material:a.fanuc_green})]})]}),o.jsxs(v.animated.group,{name:"link_4",position:[-.71,0,0],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"shape054",castShadow:!0,receiveShadow:!0,geometry:r.shape054.geometry,material:a.fanuc_white}),o.jsx("mesh",{name:"shape054_1",castShadow:!0,receiveShadow:!0,geometry:r.shape054_1.geometry,material:a.fanuc_red}),o.jsx("mesh",{name:"shape054_2",castShadow:!0,receiveShadow:!0,geometry:r.shape054_2.geometry,material:a.fanuc_metal_black})]})]}),o.jsxs(v.animated.group,{name:"link_3",position:[-.71,0,0],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"shape009",castShadow:!0,receiveShadow:!0,geometry:r.shape009.geometry,material:a.fanuc_green}),o.jsx("mesh",{name:"shape009_1",castShadow:!0,receiveShadow:!0,geometry:r.shape009_1.geometry,material:a.fanuc_white})]})]}),o.jsx("mesh",{name:"link_2",castShadow:!0,receiveShadow:!0,geometry:r.link_2.geometry,material:a.fanuc_white,rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"link_1",position:[0,.245,0],children:[o.jsx("mesh",{name:"shape005",castShadow:!0,receiveShadow:!0,geometry:r.shape005.geometry,material:a.fanuc_white}),o.jsx("mesh",{name:"shape005_1",castShadow:!0,receiveShadow:!0,geometry:r.shape005_1.geometry,material:a.fanuc_green})]})]})]})})})}vu.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function vu({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",position:[0,-.37,0],children:[o.jsxs("group",{name:"CRX25iA_L00",children:[o.jsx("mesh",{name:"J1BASE_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:r.J1BASE_NetGen_Coarse.geometry,material:a.Fanuc_BlackMetal}),o.jsx("mesh",{name:"J1BASE_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:r.J1BASE_NetGen_Coarse_1.geometry,material:a.Fanuc_GreenPlastic})]}),o.jsxs(v.animated.group,{name:"CRX25iA_J00",children:[o.jsxs(v.animated.group,{name:"CRX25iA_J01",position:[0,.37,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"CRX25iA_J02",position:[.95,0,0],children:[o.jsxs(v.animated.group,{name:"CRX25iA_J03",rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"CRX25iA_J04",position:[0,-.75,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"CRX25iA_J05",position:[0,.185,0],rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"CRX25iA_FLG",position:[0,-.18,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"CRX25iA_L06",castShadow:!0,receiveShadow:!0,geometry:r.CRX25iA_L06.geometry,material:a.Fanuc_BlackMetal,position:[0,-.18,0]})]}),o.jsxs("group",{name:"CRX25iA_L05",position:[0,.185,0],children:[o.jsx("mesh",{name:"J6CASING_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:r.J6CASING_NetGen_Coarse.geometry,material:a.Fanuc_WhitePlastic}),o.jsx("mesh",{name:"J6CASING_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:r.J6CASING_NetGen_Coarse_1.geometry,material:a.Fanuc_GreenPlastic})]})]}),o.jsxs("group",{name:"CRX25iA_L04",position:[0,-.75,0],children:[o.jsx("mesh",{name:"J3ARM_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:r.J3ARM_NetGen_Coarse.geometry,material:a.Fanuc_WhitePlastic}),o.jsx("mesh",{name:"J3ARM_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:r.J3ARM_NetGen_Coarse_1.geometry,material:a.Fanuc_RedPlastic}),o.jsx("mesh",{name:"J3ARM_NetGen_Coarse_2",castShadow:!0,receiveShadow:!0,geometry:r.J3ARM_NetGen_Coarse_2.geometry,material:a.Fanuc_BlackPlastic})]})]}),o.jsxs("group",{name:"CRX25iA_L03",children:[o.jsx("mesh",{name:"J3CASING_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:r.J3CASING_NetGen_Coarse.geometry,material:a.Fanuc_WhitePlastic}),o.jsx("mesh",{name:"J3CASING_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:r.J3CASING_NetGen_Coarse_1.geometry,material:a.Fanuc_GreenPlastic})]})]}),o.jsx("mesh",{name:"CRX25iA_L02",castShadow:!0,receiveShadow:!0,geometry:r.CRX25iA_L02.geometry,material:a.Fanuc_WhitePlastic})]}),o.jsxs("group",{name:"CRX25iA_L01",position:[0,.18,0],children:[o.jsx("mesh",{name:"J2BASE_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:r.J2BASE_NetGen_Coarse.geometry,material:a.Fanuc_WhitePlastic}),o.jsx("mesh",{name:"J2BASE_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:r.J2BASE_NetGen_Coarse_1.geometry,material:a.Fanuc_GreenLED})]})]})]})})})}bu.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function bu({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs(v.animated.group,{name:"CRX10iA_J00",children:[o.jsxs(v.animated.group,{name:"CRX10iA_J01",position:[0,.245,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"CRX10iA_J02",position:[.71,0,0],children:[o.jsxs(v.animated.group,{name:"CRX10iA_J03",rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"CRX10iA_J04",position:[0,-.54,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"CRX10iA_J05",position:[0,.15,0],rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"CRX10iA_FLG",position:[0,-.16,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"CRX10iA_L06",castShadow:!0,receiveShadow:!0,geometry:r.CRX10iA_L06.geometry,material:a["Fanuc_BlackMetal.001"],position:[0,-.16,0],rotation:[0,0,-Math.PI/2]})]}),o.jsxs("group",{name:"CRX10iA_L05",position:[0,.15,0],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"J5CASING_UNIT001",castShadow:!0,receiveShadow:!0,geometry:r.J5CASING_UNIT001.geometry,material:a["Fanuc_WhitePlastic.001"]}),o.jsx("mesh",{name:"J5CASING_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:r.J5CASING_UNIT001_1.geometry,material:a["Fanuc_Green.001"]})]})]}),o.jsxs("group",{name:"CRX10iA_L04",position:[0,-.54,0],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_L001",castShadow:!0,receiveShadow:!0,geometry:r.NAME_LABEL_CRX_10iA_L001.geometry,material:a["Fanuc_WhitePlastic.001"]}),o.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_L001_1",castShadow:!0,receiveShadow:!0,geometry:r.NAME_LABEL_CRX_10iA_L001_1.geometry,material:a["Fanuc_RedPlastic.001"]}),o.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_L001_2",castShadow:!0,receiveShadow:!0,geometry:r.NAME_LABEL_CRX_10iA_L001_2.geometry,material:a["Fanuc_BlackPlastic.001"]})]})]}),o.jsxs("group",{name:"CRX10iA_L03",rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"J3CASING_UNIT001",castShadow:!0,receiveShadow:!0,geometry:r.J3CASING_UNIT001.geometry,material:a["Fanuc_WhitePlastic.001"]}),o.jsx("mesh",{name:"J3CASING_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:r.J3CASING_UNIT001_1.geometry,material:a["Fanuc_Green.001"]})]})]}),o.jsx("mesh",{name:"CRX10iA_L02",castShadow:!0,receiveShadow:!0,geometry:r.CRX10iA_L02.geometry,material:a["Fanuc_WhitePlastic.001"],rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"CRX10iA_L01",position:[0,.128,0],children:[o.jsx("mesh",{name:"J2BASE_UNIT001",castShadow:!0,receiveShadow:!0,geometry:r.J2BASE_UNIT001.geometry,material:a["Fanuc_WhitePlastic.001"]}),o.jsx("mesh",{name:"J2BASE_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:r.J2BASE_UNIT001_1.geometry,material:a["Fanuc_Green.001"]}),o.jsx("mesh",{name:"J2BASE_UNIT001_2",castShadow:!0,receiveShadow:!0,geometry:r.J2BASE_UNIT001_2.geometry,material:a["Fanuc_GreenLED.001"]})]})]}),o.jsx("mesh",{name:"CRX10iA_L00",castShadow:!0,receiveShadow:!0,geometry:r.CRX10iA_L00.geometry,material:a["Fanuc_BlackMetal.001"]})]})})})}Su.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function Su({modelURL:e,...t}){const{nodes:n,materials:r}=H.useGLTF(e);return o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Empty",children:[o.jsxs("group",{name:"link_0",children:[o.jsx("mesh",{name:"shape002",castShadow:!0,receiveShadow:!0,geometry:n.shape002.geometry,material:r.fanuc_metal_black_AO}),o.jsx("mesh",{name:"shape002_1",castShadow:!0,receiveShadow:!0,geometry:n.shape002_1.geometry,material:r.fanuc_stainless_steel_AO})]}),o.jsxs(v.animated.group,{name:"FANUC_LRMATE-200ID_J00",children:[o.jsxs(v.animated.group,{name:"FANUC_LRMATE-200ID_J01",position:[.05,0,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"FANUC_LRMATE-200ID_J02",position:[.33,0,0],children:[o.jsxs(v.animated.group,{name:"FANUC_LRMATE-200ID_J03",position:[.035,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"FANUC_LRMATE-200ID_J04",position:[0,-.335,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"FANUC_LRMATE-200ID_J05",rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"FANUC_LRMATE-200ID_FLG",position:[0,-.08,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:n.link_6.geometry,material:r.fanuc_metal_black_AO,position:[-.365,.385,0],rotation:[0,0,-Math.PI/2]})]}),o.jsx("mesh",{name:"link_5",castShadow:!0,receiveShadow:!0,geometry:n.link_5.geometry,material:r.fanuc_yellow_AO,position:[-.365,0,-.385],rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"link_4",position:[-.365,.05,0],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"shape010",castShadow:!0,receiveShadow:!0,geometry:n.shape010.geometry,material:r.fanuc_yellow_AO}),o.jsx("mesh",{name:"shape010_1",castShadow:!0,receiveShadow:!0,geometry:n.shape010_1.geometry,material:r.fanuc_aluminium_black_AO})]})]}),o.jsx("mesh",{name:"link_3",castShadow:!0,receiveShadow:!0,geometry:n.link_3.geometry,material:r.fanuc_yellow_AO,position:[-.33,0,-.05],rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsx("mesh",{name:"link_2",castShadow:!0,receiveShadow:!0,geometry:n.link_2.geometry,material:r.fanuc_yellow_AO,position:[0,0,-.05],rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsx("mesh",{name:"link_1",castShadow:!0,receiveShadow:!0,geometry:n.link_1.geometry,material:r.fanuc_yellow_AO})]})]})})}function N1({modelURL:e,...t}){const{nodes:n,materials:r}=H.useGLTF(e);return o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs("group",{name:"link_0",children:[o.jsx("mesh",{name:"visuals_0",castShadow:!0,receiveShadow:!0,geometry:n.visuals_0.geometry,material:r.fanuc_metal_black}),o.jsx("mesh",{name:"visuals_0_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_0_1.geometry,material:r.fanuc_metal_black}),o.jsx("mesh",{name:"visuals_0_2",castShadow:!0,receiveShadow:!0,geometry:n.visuals_0_2.geometry,material:r.fanuc_aluminium_black})]}),o.jsxs(v.animated.group,{name:"FANUC_LRMATE200ID7L_J00",children:[o.jsxs(v.animated.group,{name:"FANUC_LRMATE200ID7L_J01",position:[.05,0,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"FANUC_LRMATE200ID7L_J02",position:[.44,0,0],children:[o.jsxs(v.animated.group,{name:"FANUC_LRMATE200ID7L_J03",position:[.035,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"FANUC_LRMATE200ID7L_J04",position:[0,-.42,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"FANUC_LRMATE200ID7L_J05",rotation:[-Math.PI/2,0,0],children:[o.jsx(v.animated.group,{name:"FANUC_LRMATE200ID7L_FLG",position:[0,-.08,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:n.link_6.geometry,material:r.fanuc_metal_black,position:[-.475,.47,0],rotation:[0,0,-Math.PI/2]})]}),o.jsxs("group",{name:"link_5",position:[-.475,0,-.47],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals_5",castShadow:!0,receiveShadow:!0,geometry:n.visuals_5.geometry,material:r.fanuc_yellow}),o.jsx("mesh",{name:"visuals_5_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_5_1.geometry,material:r.fanuc_stainless_steel}),o.jsx("mesh",{name:"visuals_5_2",castShadow:!0,receiveShadow:!0,geometry:n.visuals_5_2.geometry,material:r.fanuc_metal_black})]})]}),o.jsxs("group",{name:"link_4",position:[-.475,.05,0],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals_4",castShadow:!0,receiveShadow:!0,geometry:n.visuals_4.geometry,material:r.fanuc_yellow}),o.jsx("mesh",{name:"visuals_4_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_4_1.geometry,material:r.fanuc_aluminium_black})]})]}),o.jsxs("group",{name:"link_3",position:[-.44,0,-.05],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals_3",castShadow:!0,receiveShadow:!0,geometry:n.visuals_3.geometry,material:r.fanuc_yellow}),o.jsx("mesh",{name:"visuals_3_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_3_1.geometry,material:r.fanuc_stainless_steel})]})]}),o.jsx("mesh",{name:"link_2",castShadow:!0,receiveShadow:!0,geometry:n.link_2.geometry,material:r.fanuc_yellow,position:[0,0,-.05],rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"link_1",children:[o.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_1.geometry,material:r.fanuc_yellow}),o.jsx("mesh",{name:"visuals_1_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_1_1.geometry,material:r.fanuc_stainless_steel})]})]})]})})}xu.config={rotationOffsets:[0,0,-Math.PI/2,0,0,0]};function xu({modelURL:e,...t}){const{nodes:n,materials:r}=H.useGLTF(e);return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs("group",{name:"link_0",children:[o.jsx("mesh",{name:"visuals_0",castShadow:!0,receiveShadow:!0,geometry:n.visuals_0.geometry,material:r.material_Material_Metall}),o.jsx("mesh",{name:"visuals_0_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_0_1.geometry,material:r.material_Material_Farbe__2_}),o.jsx("mesh",{name:"visuals_0_2",castShadow:!0,receiveShadow:!0,geometry:n.visuals_0_2.geometry,material:r.material_Material_Metall})]}),o.jsxs(v.animated.group,{name:"KUKA_KR16R2010_2_J00",children:[o.jsxs(v.animated.group,{name:"KUKA_KR16R2010_2_J01",position:[.16,.52,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"KUKA_KR16R2010_2_J02",position:[.98,0,0],rotation:[0,-Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"KUKA_KR16R2010_2_J03",position:[.15,0,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"KUKA_KR16R2010_2_J04",position:[0,-.86,0],rotation:[-Math.PI/2,0,0],children:[o.jsx(v.animated.group,{name:"KUKA_KR16R2010_2_J05",rotation:[-Math.PI/2,0,-Math.PI],children:o.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:n.link_6.geometry,material:r.material_Material_Farbe__2_,position:[.67,2,0],rotation:[-Math.PI,0,Math.PI/2]})}),o.jsx("mesh",{name:"link_5",castShadow:!0,receiveShadow:!0,geometry:n.link_5.geometry,material:r.material_Material_Farbe,position:[-.67,0,2],rotation:[Math.PI/2,0,-Math.PI/2]})]}),o.jsx("mesh",{name:"link_4",castShadow:!0,receiveShadow:!0,geometry:n.link_4.geometry,material:r.material_Material_Farbe,position:[-.67,1.14,0],rotation:[0,0,-Math.PI/2]})]}),o.jsxs("group",{name:"link_3",position:[-.52,0,1.14],rotation:[Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals_3",castShadow:!0,receiveShadow:!0,geometry:n.visuals_3.geometry,material:r.material_Material_Farbe}),o.jsx("mesh",{name:"visuals_3_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_3_1.geometry,material:r.material_Material_Metall}),o.jsx("mesh",{name:"visuals_3_2",castShadow:!0,receiveShadow:!0,geometry:n.visuals_3_2.geometry,material:r.material_Material_Farbe__2_})]})]}),o.jsxs("group",{name:"link_2",position:[-.16,0,-.52],rotation:[Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:n.visuals_2.geometry,material:r.material_Material_Farbe}),o.jsx("mesh",{name:"visuals_2_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_2_1.geometry,material:r.material_Material_Metall})]})]}),o.jsxs("group",{name:"link_1",children:[o.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_1.geometry,material:r.material_Material_Farbe}),o.jsx("mesh",{name:"visuals_1_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_1_1.geometry,material:r.material_Material_Farbe__2_}),o.jsx("mesh",{name:"visuals_1_2",castShadow:!0,receiveShadow:!0,geometry:n.visuals_1_2.geometry,material:r.material_Material_Metall})]})]})]})})})}wu.config={rotationOffsets:[0,0,-Math.PI/2,0,0,0]};function wu({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs("group",{name:"kuka_kr210_2700",children:[o.jsxs(v.animated.group,{name:"joint_01",children:[o.jsxs(v.animated.group,{name:"joint_02",position:[.33,.645,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"joint_03",position:[1.15,0,0],rotation:[0,-Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"joint_04",position:[.115,0,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"joint_05",position:[0,-1.22,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"joint_06",rotation:[Math.PI/2,0,0],children:[o.jsx("group",{name:"flange",position:[0,-.215,0],rotation:[-Math.PI,0,0]}),o.jsx("group",{name:"link_6",position:[0,-.17,0],rotation:[0,0,-Math.PI/2],children:o.jsx("mesh",{name:"visuals006",castShadow:!0,receiveShadow:!0,geometry:r.visuals006.geometry,material:a.material_Material_Metall_black})})]}),o.jsx("group",{name:"link_5",position:[0,.059,0],rotation:[Math.PI/2,0,-Math.PI/2],children:o.jsxs("group",{name:"visuals005",children:[o.jsx("mesh",{name:"visuals005_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals005_1.geometry,material:a.material_Material_metal_black}),o.jsx("mesh",{name:"visuals005_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals005_2.geometry,material:a.material_Material_kuka_orange})]})})]}),o.jsx("group",{name:"link_4",position:[0,-.869,0],rotation:[0,0,-Math.PI/2],children:o.jsxs("group",{name:"visuals004",children:[o.jsx("mesh",{name:"visuals004_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals004_1.geometry,material:a.material_Material_metal_black}),o.jsx("mesh",{name:"visuals004_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals004_2.geometry,material:a.material_Material_kuka_orange})]})})]}),o.jsx("group",{name:"link_3",position:[0,-.105,0],rotation:[Math.PI/2,0,-Math.PI/2],children:o.jsxs("group",{name:"visuals003",children:[o.jsx("mesh",{name:"visuals003_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_1.geometry,material:a.material_Material_rubber}),o.jsx("mesh",{name:"visuals003_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_2.geometry,material:a.material_Material_aluminium}),o.jsx("mesh",{name:"visuals003_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_3.geometry,material:a.material_Material_metal_black}),o.jsx("mesh",{name:"visuals003_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_4.geometry,material:a.material_Material_kuka_black}),o.jsx("mesh",{name:"visuals003_5",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_5.geometry,material:a.material_Material_Rubber_black}),o.jsx("mesh",{name:"visuals003_6",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_6.geometry,material:a.material_Material_kuka_orange}),o.jsx("mesh",{name:"visuals003_7",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_7.geometry,material:a.material_Material_stainless_steel})]})})]}),o.jsx("group",{name:"link_2",position:[0,.009,0],rotation:[Math.PI/2,0,0],children:o.jsxs("group",{name:"visuals002",children:[o.jsx("mesh",{name:"visuals002_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals002_1.geometry,material:a.material_Material_metal_black}),o.jsx("mesh",{name:"visuals002_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals002_2.geometry,material:a.material_Material_Rubber_black}),o.jsx("mesh",{name:"visuals002_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals002_3.geometry,material:a.material_Material_kuka_orange})]})})]}),o.jsx("group",{name:"link_1",position:[0,.236,0],children:o.jsxs("group",{name:"visuals001",children:[o.jsx("mesh",{name:"visuals001_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_1.geometry,material:a.material_Material_kuka_black}),o.jsx("mesh",{name:"visuals001_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_2.geometry,material:a.material_Material_kuka_orange}),o.jsx("mesh",{name:"visuals001_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_3.geometry,material:a.material_Material_rubber}),o.jsx("mesh",{name:"visuals001_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_4.geometry,material:a.material_Material_metal_black}),o.jsx("mesh",{name:"visuals001_5",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_5.geometry,material:a.material_Material_aluminium}),o.jsx("mesh",{name:"visuals001_6",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_6.geometry,material:a.material_Material_rubber_black}),o.jsx("mesh",{name:"visuals001_7",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_7.geometry,material:a.material_Material_stainless_steel})]})})]}),o.jsx("group",{name:"link_0",children:o.jsxs("group",{name:"visuals",children:[o.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1.geometry,material:a.material_Material_kuka_black}),o.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2.geometry,material:a.material_Material_metal_black})]})})]})})})})}ju.config={rotationOffsets:[0,0,-Math.PI/2,0,0,0]};function ju({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs(v.animated.group,{name:"joint_01",children:[o.jsxs(v.animated.group,{name:"joint_02",position:[.35,.675,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"joint_03",position:[1.15,0,0],rotation:[0,-Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"joint_04",position:[-.041,0,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"joint_05",position:[0,-1.2,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"joint_06",rotation:[Math.PI/2,0,0],children:[o.jsx("group",{name:"flange",position:[0,-.24,0],rotation:[-Math.PI,0,0]}),o.jsx("group",{name:"link_6",position:[0,-.213,0],rotation:[0,0,-Math.PI/2],children:o.jsxs("group",{name:"visuals006",children:[o.jsx("mesh",{name:"visuals006_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals006_1.geometry,material:a.material_Material_Farbe__1_}),o.jsx("mesh",{name:"visuals006_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals006_2.geometry,material:a.material_Material_Metall})]})})]}),o.jsx("group",{name:"link_5",position:[0,.044,0],rotation:[Math.PI/2,0,-Math.PI/2],children:o.jsx("mesh",{name:"visuals005",castShadow:!0,receiveShadow:!0,geometry:r.visuals005.geometry,material:a.material_Material_Farbe})})]}),o.jsx("group",{name:"link_4",position:[0,-.954,0],rotation:[0,0,-Math.PI/2],children:o.jsx("mesh",{name:"visuals004",castShadow:!0,receiveShadow:!0,geometry:r.visuals004.geometry,material:a.material_Material_Farbe})})]}),o.jsx("group",{name:"link_3",position:[0,-.178,0],rotation:[Math.PI/2,0,-Math.PI/2],children:o.jsxs("group",{name:"visuals003",children:[o.jsx("mesh",{name:"visuals003_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_1.geometry,material:a.material_Material_Farbe__1_}),o.jsx("mesh",{name:"visuals003_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_2.geometry,material:a.material_Material_Farbe__2_}),o.jsx("mesh",{name:"visuals003_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_3.geometry,material:a.material_Material_Metall}),o.jsx("mesh",{name:"visuals003_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_4.geometry,material:a.material_Material_Farbe})]})})]}),o.jsx("group",{name:"link_2",rotation:[Math.PI/2,0,0],children:o.jsxs("group",{name:"visuals002",children:[o.jsx("mesh",{name:"visuals002_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals002_1.geometry,material:a.material_Material_Farbe}),o.jsx("mesh",{name:"visuals002_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals002_2.geometry,material:a.material_Material_Farbe__1_}),o.jsx("mesh",{name:"visuals002_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals002_3.geometry,material:a.material_Material_Metall}),o.jsx("mesh",{name:"visuals002_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals002_4.geometry,material:a.material_Material_Farbe__2_})]})})]}),o.jsx("group",{name:"link_1",position:[0,.226,0],children:o.jsxs("group",{name:"visuals001",children:[o.jsx("mesh",{name:"visuals001_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_1.geometry,material:a.material_Material_Metall}),o.jsx("mesh",{name:"visuals001_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_2.geometry,material:a.material_Material_Farbe__1_}),o.jsx("mesh",{name:"visuals001_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_3.geometry,material:a.material_Material_Farbe__2_}),o.jsx("mesh",{name:"visuals001_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_4.geometry,material:a.material_Material_Farbe})]})})]}),o.jsx("group",{name:"link_0-base",children:o.jsxs("group",{name:"visuals",children:[o.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1.geometry,material:a.material_Material_Metall}),o.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2.geometry,material:a.material_Material_Farbe__1_})]})})]})})})}Ru.config={rotationOffsets:[0,0,-Math.PI/2,0,0,0],rotationSign:[-1,1,1,1,1,1]};function Ru({modelURL:e,...t}){const{nodes:n,materials:r}=H.useGLTF(e);return o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs("group",{name:"link_0",children:[o.jsx("mesh",{name:"visuals_0",castShadow:!0,receiveShadow:!0,geometry:n.visuals_0.geometry,material:r.kuka_metal}),o.jsx("mesh",{name:"visuals_0_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_0_1.geometry,material:r.kuka_black})]}),o.jsxs(v.animated.group,{name:"KUKA_KR6R700-2_J00",children:[o.jsxs(v.animated.group,{name:"KUKA_KR6R700-2_J01",position:[.025,.4,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"KUKA_KR6R700-2_J02",position:[.335,0,0],rotation:[0,-Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"KUKA_KR6R700-2_J03",position:[.025,0,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"KUKA_KR6R700-2_J04",position:[0,-.365,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"KUKA_KR6R700-2_J05",rotation:[-Math.PI/2,0,-Math.PI],children:[o.jsx("group",{name:"KUKA_KR6R700-2_FLG",position:[0,-.09,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:n.link_6.geometry,material:r.kuka_black,position:[.425,.725,0],rotation:[-Math.PI,0,Math.PI/2]})]}),o.jsx("mesh",{name:"link_5",castShadow:!0,receiveShadow:!0,geometry:n.link_5.geometry,material:r.kuka_white,position:[-.425,0,.725],rotation:[Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"link_4",position:[-.425,.36,0],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals_4",castShadow:!0,receiveShadow:!0,geometry:n.visuals_4.geometry,material:r.kuka_white}),o.jsx("mesh",{name:"visuals_4_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_4_1.geometry,material:r.kuka_orange})]})]}),o.jsx("mesh",{name:"link_3",castShadow:!0,receiveShadow:!0,geometry:n.link_3.geometry,material:r.kuka_white,position:[-.4,0,.36],rotation:[Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"link_2",position:[-.025,0,-.4],rotation:[Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:n.visuals_2.geometry,material:r.kuka_white}),o.jsx("mesh",{name:"visuals_2_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_2_1.geometry,material:r.kuka_orange})]})]}),o.jsx("mesh",{name:"link_1",castShadow:!0,receiveShadow:!0,geometry:n.link_1.geometry,material:r.kuka_white})]})]})})}function F1({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR10CB_J00",children:[o.jsxs("group",{name:"link_0",children:[o.jsx("mesh",{name:"visuals_0",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_0_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0_1.geometry,material:a.universalrobots_aluminum})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR10CB_J01",position:[0,.127,0],rotation:[Math.PI/2,0,0],children:[o.jsxs("group",{name:"link_1",position:[0,0,.127],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_1_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_1.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_1_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_2.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_1_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_3.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_1_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_4.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_1_5",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_5.geometry,material:a.universalrobots_lightblue})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR10CB_J02",position:[-.612,0,0],children:[o.jsxs("group",{name:"link_2",position:[.612,0,.127],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_2_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_1.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_2_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_2.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_2_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_3.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_2_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_4.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_2_5",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_5.geometry,material:a.universalrobots_lightblue})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR10CB_J03",position:[-.572,0,0],children:[o.jsxs("group",{name:"link_3",position:[1.184,0,.127],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_3_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_1.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_3_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_2.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_3_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_3.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_3_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_4.geometry,material:a.universalrobots_lightblue})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR10CB_J04",position:[0,.164,0],rotation:[Math.PI/2,0,0],children:[o.jsxs("group",{name:"link_4",position:[1.184,.127,.164],rotation:[Math.PI,0,0],children:[o.jsx("mesh",{name:"visuals_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_4_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_1.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_4_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_2.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_4_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_3.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_4_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_4.geometry,material:a.universalrobots_lightblue})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR10CB_J05",position:[0,.116,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs("group",{name:"link_5",position:[1.184,-.164,.012],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_5",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_5_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_1.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_5_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_2.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_5_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_3.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_5_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_4.geometry,material:a.universalrobots_lightblue})]}),o.jsx("group",{name:"UNIVERSALROBOTS_UR10CB_FLG",position:[0,.116,0],rotation:[-Math.PI/2,0,0],children:o.jsxs("group",{name:"link_6",position:[1.184,-.012,-.28],children:[o.jsx("mesh",{name:"visuals_6",castShadow:!0,receiveShadow:!0,geometry:r.visuals_6.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_6_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_6_1.geometry,material:a.universalrobots_aluminum})]})})]})]})]})]})]})]})})})}function D1({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs("group",{name:"UR10e",rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"UR10e_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"UR10e_J02",position:[0,.181,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"UR10e_J03",position:[-.613,0,0],children:[o.jsxs(v.animated.group,{name:"UR10e_J04",position:[-.572,0,0],children:[o.jsxs(v.animated.group,{name:"UR10e_J05",position:[0,.174,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"UR10e_J06",position:[0,.12,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"UR10e_FLG",position:[1.184,-.174,.061],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"C-1000493",geometry:r["C-1000493"].geometry,material:a.Black,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000493_1",geometry:r["C-1000493_1"].geometry,material:a.Metal,castShadow:!0,receiveShadow:!0})]}),o.jsx("group",{name:"UR10e_L07",position:[0,.117,0]})]}),o.jsxs("group",{name:"UR10e_L06",position:[1.184,.181,.174],rotation:[Math.PI,0,0],children:[o.jsx("mesh",{name:"C-1000492",geometry:r["C-1000492"].geometry,material:a.DarkGray,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000492_1",geometry:r["C-1000492_1"].geometry,material:a.Black,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000492_2",geometry:r["C-1000492_2"].geometry,material:a.Blue,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000492_3",geometry:r["C-1000492_3"].geometry,material:a.Screw,castShadow:!0,receiveShadow:!0})]})]}),o.jsxs("group",{name:"UR10e_L05",position:[1.184,0,.181],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"C-1000491",geometry:r["C-1000491"].geometry,material:a.DarkGray,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000491_1",geometry:r["C-1000491_1"].geometry,material:a.Blue,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000491_2",geometry:r["C-1000491_2"].geometry,material:a.Black,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000491_3",geometry:r["C-1000491_3"].geometry,material:a.Screw,castShadow:!0,receiveShadow:!0})]})]}),o.jsxs("group",{name:"UR10e_L04",position:[.613,0,.181],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"C-1000490",geometry:r["C-1000490"].geometry,material:a.Metal,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000490_1",geometry:r["C-1000490_1"].geometry,material:a.Black,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000490_2",geometry:r["C-1000490_2"].geometry,material:a.DarkGray,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000490_3",geometry:r["C-1000490_3"].geometry,material:a.Blue,castShadow:!0,receiveShadow:!0})]})]}),o.jsxs(v.animated.group,{name:"UR10e_L03",position:[0,0,.181],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"C-1000489",geometry:r["C-1000489"].geometry,material:a.Blue,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000489_1",geometry:r["C-1000489_1"].geometry,material:a.Black,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000489_2",geometry:r["C-1000489_2"].geometry,material:a.DarkGray,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000489_3",geometry:r["C-1000489_3"].geometry,material:a.Screw,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000489_4",geometry:r["C-1000489_4"].geometry,material:a.Metal,castShadow:!0,receiveShadow:!0})]})]}),o.jsxs("group",{name:"UR10e_L02",children:[o.jsx("mesh",{name:"C-1000488",geometry:r["C-1000488"].geometry,material:a.Black,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000488_1",geometry:r["C-1000488_1"].geometry,material:a.Blue,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000488_2",geometry:r["C-1000488_2"].geometry,material:a.Screw,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000488_3",geometry:r["C-1000488_3"].geometry,material:a.DarkGray,castShadow:!0,receiveShadow:!0})]})]}),o.jsxs("group",{name:"UR10e_L01",rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"C-1000487",geometry:r["C-1000487"].geometry,material:a.Black,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000487_1",geometry:r["C-1000487_1"].geometry,material:a.Metal,castShadow:!0,receiveShadow:!0})]})]})})})})}function B1({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs("group",{name:"UR3",rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"UR3_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"UR3_J02",position:[0,.152,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"UR3_J03",position:[-.244,0,0],children:[o.jsxs(v.animated.group,{name:"UR3_J04",position:[-.213,0,0],children:[o.jsxs(v.animated.group,{name:"UR3_J05",position:[0,.112,0],rotation:[Math.PI/2,0,0],children:[o.jsx("mesh",{name:"UR3_05",castShadow:!0,receiveShadow:!0,geometry:r.UR3_05.geometry,material:a.Standard}),o.jsxs(v.animated.group,{name:"UR3_J06",position:[0,.085,0],rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"UR3_FLG",position:[0,.082,0]}),o.jsx("mesh",{name:"UR3_L06",castShadow:!0,receiveShadow:!0,geometry:r.UR3_L06.geometry,material:a.Standard})]})]}),o.jsx("mesh",{name:"UR3_L04",castShadow:!0,receiveShadow:!0,geometry:r.UR3_L04.geometry,material:a.Standard})]}),o.jsx("mesh",{name:"UR3_L03",castShadow:!0,receiveShadow:!0,geometry:r.UR3_L03.geometry,material:a.Standard})]}),o.jsx("mesh",{name:"UR3_L02",castShadow:!0,receiveShadow:!0,geometry:r.UR3_L02.geometry,material:a.Standard})]}),o.jsx("mesh",{name:"UR3_L01",castShadow:!0,receiveShadow:!0,geometry:r.UR3_L01.geometry,material:a.Standard})]}),o.jsx("mesh",{name:"UR3_L00",castShadow:!0,receiveShadow:!0,geometry:r.UR3_L00.geometry,material:a.Standard,rotation:[-Math.PI/2,0,0]})]})})})})}function U1({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Empty",children:[o.jsxs("group",{name:"link_0",children:[o.jsx("mesh",{name:"visuals_0",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_0_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0_1.geometry,material:a.universalrobots_aluminum})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR3E_J00",children:[o.jsxs("group",{name:"link_1",children:[o.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_1_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_1.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_1_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_2.geometry,material:a.universalrobots_lightblue}),o.jsx("mesh",{name:"visuals_1_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_3.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_1_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_4.geometry,material:a.universalrobots_stainlesssteel})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR3E_J01",position:[0,.152,0],rotation:[Math.PI/2,0,0],children:[o.jsxs("group",{name:"link_2",position:[0,0,.152],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_2_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_1.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_2_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_2.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_2_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_3.geometry,material:a.universalrobots_lightblue})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR3E_J02",position:[-.244,0,0],children:[o.jsxs("group",{name:"link_3",position:[.244,0,.152],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_3_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_1.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_3_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_2.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_3_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_3.geometry,material:a.universalrobots_lightblue})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR3E_J03",position:[-.213,0,0],children:[o.jsxs("group",{name:"link_4",position:[.457,0,.152],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_4_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_1.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_4_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_2.geometry,material:a.universalrobots_lightblue})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR3E_J04",position:[0,.131,0],rotation:[Math.PI/2,0,0],children:[o.jsxs("group",{name:"link_5",position:[.457,.152,.131],rotation:[Math.PI,0,0],children:[o.jsx("mesh",{name:"visuals_5",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_5_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_1.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_5_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_2.geometry,material:a.universalrobots_lightblue})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR3E_J05",position:[0,.085,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs("group",{name:"link_6",position:[.457,-.131,.067],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_6",castShadow:!0,receiveShadow:!0,geometry:r.visuals_6.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_6_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_6_1.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_6_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_6_2.geometry,material:a.universalrobots_aluminum})]}),o.jsx("group",{name:"UNIVERSALROBOTS_UR3E_FLG",position:[0,.092,0]})]})]})]})]})]})]})]})})}function J1({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR5CB_J00",children:[o.jsxs("group",{name:"link_1",children:[o.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_1_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_1.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_1_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_2.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_1_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_3.geometry,material:a.universalrobots_lightblue})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR5CB_J01",position:[0,.089,0],rotation:[Math.PI/2,0,0],children:[o.jsxs("group",{name:"link_2",position:[0,0,.089],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_2_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_1.geometry,material:a.universalrobots_lightblue}),o.jsx("mesh",{name:"visuals_2_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_2.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_2_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_3.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_2_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_4.geometry,material:a.universalrobots_darkgrey})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR5CB_J02",position:[-.425,0,0],children:[o.jsxs("group",{name:"link_3",position:[.425,0,.089],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3.geometry,material:a.universalrobots_lightblue}),o.jsx("mesh",{name:"visuals_3_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_1.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_3_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_2.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_3_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_3.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_3_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_4.geometry,material:a.universalrobots_stainlesssteel})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR5CB_J03",position:[-.392,0,0],children:[o.jsxs("group",{name:"link_4",position:[.817,0,.089],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_4_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_1.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_4_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_2.geometry,material:a.universalrobots_lightblue}),o.jsx("mesh",{name:"visuals_4_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_3.geometry,material:a.universalrobots_black})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR5CB_J04",position:[0,.109,0],rotation:[Math.PI/2,0,0],children:[o.jsxs("group",{name:"link_5",position:[.817,.089,.109],rotation:[Math.PI,0,0],children:[o.jsx("mesh",{name:"visuals_5",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_5_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_1.geometry,material:a.universalrobots_lightblue}),o.jsx("mesh",{name:"visuals_5_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_2.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_5_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_3.geometry,material:a.universalrobots_black})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR5CB_J05",position:[0,.095,0],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:r.link_6.geometry,material:a.universalrobots_stainlesssteel,position:[.817,-.109,-.005],rotation:[-Math.PI/2,0,0]}),o.jsx("group",{name:"UNIVERSALROBOTS_UR5CB_FLG",position:[0,.082,0]})]})]})]})]})]})]}),o.jsx("mesh",{name:"link_0",castShadow:!0,receiveShadow:!0,geometry:r.link_0.geometry,material:a.universalrobots_aluminum})]})})}function V1({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs("group",{name:"UR5e",rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"UR5e_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"UR5e_J02",position:[0,.162,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"UR5e_J03",position:[-.425,0,0],children:[o.jsxs(v.animated.group,{name:"UR5e_J04",position:[-.392,0,0],children:[o.jsxs(v.animated.group,{name:"UR5e_J05",position:[0,.133,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"UR5e_J06",position:[0,.1,0],rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"UR5e_FLG",position:[0,.1,0]}),o.jsx("group",{name:"UR5e_L06",position:[0,.1,0],rotation:[0,0,-Math.PI],children:o.jsxs(o.Fragment,{children:[o.jsx("mesh",{name:"C-1000255",castShadow:!0,receiveShadow:!0,geometry:r["C-1000255"].geometry,material:a.Black}),o.jsx("mesh",{name:"C-1000255_1",castShadow:!0,receiveShadow:!0,geometry:r["C-1000255_1"].geometry,material:a.Metal})]})})]}),o.jsx("group",{name:"UR5e_L05",rotation:[-Math.PI/2,-Math.PI/3,0],children:o.jsxs(o.Fragment,{children:[o.jsx("mesh",{name:"C-1000253",castShadow:!0,receiveShadow:!0,geometry:r["C-1000253"].geometry,material:a.Blue}),o.jsx("mesh",{name:"C-1000253_1",castShadow:!0,receiveShadow:!0,geometry:r["C-1000253_1"].geometry,material:a.Black}),o.jsx("mesh",{name:"C-1000253_2",castShadow:!0,receiveShadow:!0,geometry:r["C-1000253_2"].geometry,material:a.Metal}),o.jsx("mesh",{name:"C-1000253_3",castShadow:!0,receiveShadow:!0,geometry:r["C-1000253_3"].geometry,material:a.DarkGray})]})})]}),o.jsx("group",{name:"UR5e_L04",rotation:[0,-Math.PI/3,0],children:o.jsxs(o.Fragment,{children:[o.jsx("mesh",{name:"C-1000251",castShadow:!0,receiveShadow:!0,geometry:r["C-1000251"].geometry,material:a.Blue}),o.jsx("mesh",{name:"C-1000251_1",castShadow:!0,receiveShadow:!0,geometry:r["C-1000251_1"].geometry,material:a.Black}),o.jsx("mesh",{name:"C-1000251_2",castShadow:!0,receiveShadow:!0,geometry:r["C-1000251_2"].geometry,material:a.Metal}),o.jsx("mesh",{name:"C-1000251_3",castShadow:!0,receiveShadow:!0,geometry:r["C-1000251_3"].geometry,material:a.DarkGray})]})})]}),o.jsx("group",{name:"UR5e_L03",children:o.jsxs(o.Fragment,{children:[o.jsx("mesh",{name:"C-1000250",castShadow:!0,receiveShadow:!0,geometry:r["C-1000250"].geometry,material:a.Black}),o.jsx("mesh",{name:"C-1000250_1",castShadow:!0,receiveShadow:!0,geometry:r["C-1000250_1"].geometry,material:a.DarkGray}),o.jsx("mesh",{name:"C-1000250_2",castShadow:!0,receiveShadow:!0,geometry:r["C-1000250_2"].geometry,material:a.Blue}),o.jsx("mesh",{name:"C-1000250_3",castShadow:!0,receiveShadow:!0,geometry:r["C-1000250_3"].geometry,material:a.Metal}),o.jsx("mesh",{name:"C-1000250_4",castShadow:!0,receiveShadow:!0,geometry:r["C-1000250_4"].geometry,material:a.Metal})]})})]}),o.jsx("group",{name:"UR5e_L02",rotation:[0,-Math.PI/2,0],children:o.jsxs(o.Fragment,{children:[o.jsx("mesh",{name:"C-1000249",castShadow:!0,receiveShadow:!0,geometry:r["C-1000249"].geometry,material:a.Metal}),o.jsx("mesh",{name:"C-1000249_1",castShadow:!0,receiveShadow:!0,geometry:r["C-1000249_1"].geometry,material:a.Black}),o.jsx("mesh",{name:"C-1000249_2",castShadow:!0,receiveShadow:!0,geometry:r["C-1000249_2"].geometry,material:a.DarkGray}),o.jsx("mesh",{name:"C-1000249_3",castShadow:!0,receiveShadow:!0,geometry:r["C-1000249_3"].geometry,material:a.Blue}),o.jsx("mesh",{name:"C-1000249_4",castShadow:!0,receiveShadow:!0,geometry:r["C-1000249_4"].geometry,material:a.Metal})]})})]}),o.jsx("group",{name:"UR5e_L01",rotation:[Math.PI/2,0,0],children:o.jsxs(o.Fragment,{children:[o.jsx("mesh",{name:"C-1000248",castShadow:!0,receiveShadow:!0,geometry:r["C-1000248"].geometry,material:a.DarkGray}),o.jsx("mesh",{name:"C-1000248_1",castShadow:!0,receiveShadow:!0,geometry:r["C-1000248_1"].geometry,material:a.Black}),o.jsx("mesh",{name:"C-1000248_2",castShadow:!0,receiveShadow:!0,geometry:r["C-1000248_2"].geometry,material:a.Blue}),o.jsx("mesh",{name:"C-1000248_3",castShadow:!0,receiveShadow:!0,geometry:r["C-1000248_3"].geometry,material:a.Metal})]})})]}),o.jsx("group",{name:"UR5e_L00",children:o.jsxs(o.Fragment,{children:[o.jsx("mesh",{name:"C-1000257",castShadow:!0,receiveShadow:!0,geometry:r["C-1000257"].geometry,material:a.Black}),o.jsx("mesh",{name:"C-1000257_1",castShadow:!0,receiveShadow:!0,geometry:r["C-1000257_1"].geometry,material:a.Metal})]})})]})})})})}Au.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0],rotationSign:[1,-1,1,1,1,1]};function Au({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs("group",{name:"AR1440",rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR1440_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR1440_J02",position:[.155,0,0],rotation:[Math.PI/2,0,Math.PI],children:[o.jsxs(v.animated.group,{name:"AR1440_J03",position:[.614,0,0],rotation:[Math.PI,0,0],children:[o.jsxs(v.animated.group,{name:"AR1440_J04",position:[.2,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR1440_J05",position:[0,-.64,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR1440_J06",rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"AR1440_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"AR1440_L06_CAD",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L06_CAD.geometry,material:a.metall})]}),o.jsx("mesh",{name:"AR1440_L05_CAD",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L05_CAD.geometry,material:a.yaskawaBlueMetall})]}),o.jsxs("group",{name:"AR1440_L04_CAD",children:[o.jsx("mesh",{name:"AR1440_L04_CAD001",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L04_CAD001.geometry,material:a.yaskawaBlueMetall}),o.jsx("mesh",{name:"AR1440_L04_CAD001_1",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L04_CAD001_1.geometry,material:a.white})]})]}),o.jsxs("group",{name:"AR1440_L03_CAD",children:[o.jsx("mesh",{name:"AR1440_L03_CAD001",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L03_CAD001.geometry,material:a.yaskawaBlueMetall}),o.jsx("mesh",{name:"AR1440_L03_CAD001_1",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L03_CAD001_1.geometry,material:a.blackMetall})]})]}),o.jsx("mesh",{name:"AR1440_L02_CAD",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L02_CAD.geometry,material:a.yaskawaBlueMetall})]}),o.jsxs("group",{name:"AR1440_L01_CAD",children:[o.jsx("mesh",{name:"AR1440_L01_CAD001",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L01_CAD001.geometry,material:a.yaskawaBlueMetall}),o.jsx("mesh",{name:"AR1440_L01_CAD001_1",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L01_CAD001_1.geometry,material:a.blackMetall})]})]}),o.jsx("mesh",{name:"AR1440_L00_CAD",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L00_CAD.geometry,material:a.yaskawaBlueMetall,position:[0,0,.45],rotation:[-Math.PI/2,0,0]})]})})})})}Pu.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0],rotationSign:[1,-1,1,1,1,1]};function Pu({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs(v.animated.group,{name:"AR1730_J00",children:[o.jsxs(v.animated.group,{name:"AR1730_J01",position:[.15,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"AR1730_J02",position:[.76,0,0],rotation:[-Math.PI,0,0],children:[o.jsxs(v.animated.group,{name:"AR1730_J03",position:[.2,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR1730_J04",position:[0,-.795,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR1730_J05",rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"AR1730_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"AR1730_L06",castShadow:!0,receiveShadow:!0,geometry:r.AR1730_L06.geometry,material:a.Metal,rotation:[Math.PI/2,-Math.PI/2,0]})]}),o.jsx("mesh",{name:"AR1730_L05",castShadow:!0,receiveShadow:!0,geometry:r.AR1730_L05.geometry,material:a.Blue,rotation:[Math.PI/2,0,Math.PI/2]})]}),o.jsxs("group",{name:"AR1730_L04",position:[0,-.302,0],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"_R_AXIS_SW0001002",castShadow:!0,receiveShadow:!0,geometry:r._R_AXIS_SW0001002.geometry,material:a.Blue}),o.jsx("mesh",{name:"_R_AXIS_SW0001002_1",castShadow:!0,receiveShadow:!0,geometry:r._R_AXIS_SW0001002_1.geometry,material:a.White})]})]}),o.jsxs("group",{name:"AR1730_L03",rotation:[Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"_U_AXIS_SW0001002",castShadow:!0,receiveShadow:!0,geometry:r._U_AXIS_SW0001002.geometry,material:a.Blue}),o.jsx("mesh",{name:"_U_AXIS_SW0001002_1",castShadow:!0,receiveShadow:!0,geometry:r._U_AXIS_SW0001002_1.geometry,material:a.Black})]})]}),o.jsx("mesh",{name:"AR1730_L02",castShadow:!0,receiveShadow:!0,geometry:r.AR1730_L02.geometry,material:a.Blue,position:[0,-.157,0],rotation:[-Math.PI,-1.571,0]})]}),o.jsxs("group",{name:"AR1730_L01",position:[0,-.336,0],rotation:[Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"_S_AXIS_SW0001002",castShadow:!0,receiveShadow:!0,geometry:r._S_AXIS_SW0001002.geometry,material:a.Blue}),o.jsx("mesh",{name:"_S_AXIS_SW0001002_1",castShadow:!0,receiveShadow:!0,geometry:r._S_AXIS_SW0001002_1.geometry,material:a.Black})]})]}),o.jsx("mesh",{name:"AR1730_L00",castShadow:!0,receiveShadow:!0,geometry:r.AR1730_L00.geometry,material:a.Blue,position:[0,-.505,0],rotation:[Math.PI/2,0,-Math.PI/2]})]})})})}Cu.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0],rotationSign:[1,-1,1,1,1,1]};function Cu({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs("group",{name:"AR2010",rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR2010_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR2010_J02",position:[.15,0,0],rotation:[Math.PI/2,0,Math.PI],children:[o.jsxs(v.animated.group,{name:"AR2010_J03",position:[.76,0,0],rotation:[Math.PI,0,0],children:[o.jsxs(v.animated.group,{name:"AR2010_J04",position:[.2,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR2010_J05",position:[0,-1.082,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR2010_J06",rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"AR2010_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),o.jsxs("group",{name:"AR2010_L06",children:[o.jsx("mesh",{name:"AR2010_06001",castShadow:!0,receiveShadow:!0,geometry:r.AR2010_06001.geometry,material:a.yaskawaBlueMetall}),o.jsx("mesh",{name:"AR2010_06001_1",castShadow:!0,receiveShadow:!0,geometry:r.AR2010_06001_1.geometry,material:a.metall})]})]}),o.jsx("mesh",{name:"AR2010_L05",castShadow:!0,receiveShadow:!0,geometry:r.AR2010_L05.geometry,material:a.yaskawaBlueMetall})]}),o.jsxs("group",{name:"AR2010_L04",children:[o.jsx("mesh",{name:"AR2010_04001",castShadow:!0,receiveShadow:!0,geometry:r.AR2010_04001.geometry,material:a.yaskawaBlueMetall}),o.jsx("mesh",{name:"AR2010_04001_1",castShadow:!0,receiveShadow:!0,geometry:r.AR2010_04001_1.geometry,material:a.white})]})]}),o.jsxs("group",{name:"AR2010_L03",children:[o.jsx("mesh",{name:"AR2010_03001",castShadow:!0,receiveShadow:!0,geometry:r.AR2010_03001.geometry,material:a.yaskawaBlueMetall}),o.jsx("mesh",{name:"AR2010_03001_1",castShadow:!0,receiveShadow:!0,geometry:r.AR2010_03001_1.geometry,material:a.blackMetall})]})]}),o.jsx("mesh",{name:"AR2010_L02",castShadow:!0,receiveShadow:!0,geometry:r.AR2010_L02.geometry,material:a.yaskawaBlueMetall})]}),o.jsxs("group",{name:"AR2010_L01",children:[o.jsx("mesh",{name:"AR2010_01001",castShadow:!0,receiveShadow:!0,geometry:r.AR2010_01001.geometry,material:a.yaskawaBlueMetall}),o.jsx("mesh",{name:"AR2010_01001_1",castShadow:!0,receiveShadow:!0,geometry:r.AR2010_01001_1.geometry,material:a.blackMetall})]})]}),o.jsx("mesh",{name:"AR2010_L00",castShadow:!0,receiveShadow:!0,geometry:r.AR2010_L00.geometry,material:a.yaskawaBlueMetall,rotation:[-Math.PI/2,0,0]})]})})})})}Mu.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0],rotationSign:[1,-1,1,1,1,1]};function Mu({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs(v.animated.group,{name:"AR3120_J00",children:[o.jsxs(v.animated.group,{name:"AR3120_J01",position:[.145,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"AR3120_J02",position:[1.15,0,0],rotation:[-Math.PI,0,0],children:[o.jsxs(v.animated.group,{name:"AR3120_J03",position:[.25,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR3120_J04",position:[0,-1.812,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR3120_J05",rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"AR3120_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"AR3120_L06",castShadow:!0,receiveShadow:!0,geometry:r.AR3120_L06.geometry,material:a["Metal.001"],rotation:[Math.PI/2,-Math.PI/2,0]})]}),o.jsx("mesh",{name:"AR3120_L05",castShadow:!0,receiveShadow:!0,geometry:r.AR3120_L05.geometry,material:a["Blue.001"],rotation:[Math.PI/2,0,Math.PI/2]})]}),o.jsxs("group",{name:"AR3120_L04",rotation:[Math.PI/2,-Math.PI/2,0],children:[o.jsx("mesh",{name:"R_AXIS_GP20HL001",castShadow:!0,receiveShadow:!0,geometry:r.R_AXIS_GP20HL001.geometry,material:a["Blue.001"]}),o.jsx("mesh",{name:"R_AXIS_GP20HL001_1",castShadow:!0,receiveShadow:!0,geometry:r.R_AXIS_GP20HL001_1.geometry,material:a["White.001"]})]})]}),o.jsxs("group",{name:"AR3120_L03",rotation:[Math.PI,0,-Math.PI/2],children:[o.jsx("mesh",{name:"Mesh_3001",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_3001.geometry,material:a["Blue.001"]}),o.jsx("mesh",{name:"Mesh_3001_1",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_3001_1.geometry,material:a["Black.001"]})]})]}),o.jsx("mesh",{name:"AR3120_L02",castShadow:!0,receiveShadow:!0,geometry:r.AR3120_L02.geometry,material:a["Blue.001"],position:[0,-.146,0],rotation:[Math.PI,0,0]})]}),o.jsxs("group",{name:"AR3120_L01",position:[0,-.228,0],rotation:[0,-1.571,0],children:[o.jsx("mesh",{name:"S_AXIS_GP20HL001",castShadow:!0,receiveShadow:!0,geometry:r.S_AXIS_GP20HL001.geometry,material:a["Blue.001"]}),o.jsx("mesh",{name:"S_AXIS_GP20HL001_1",castShadow:!0,receiveShadow:!0,geometry:r.S_AXIS_GP20HL001_1.geometry,material:a["Black.001"]})]})]}),o.jsx("mesh",{name:"AR3120_L00",castShadow:!0,receiveShadow:!0,geometry:r.AR3120_L00.geometry,material:a["Blue.001"],position:[0,-.54,0]})]})})})}po.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0]};function po({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs("group",{name:"AR900",rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR900_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR900_J02",position:[.04,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"AR900_J03",position:[.445,0,0],rotation:[-Math.PI,0,0],children:[o.jsxs(v.animated.group,{name:"AR900_J04",position:[.04,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR900_J05",position:[0,-.44,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR900_J06",rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"AR900_FLG",position:[0,-.08,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"AR900_L06",castShadow:!0,receiveShadow:!0,geometry:r.AR900_L06.geometry,material:a["#BBA474.001"]})]}),o.jsx("mesh",{name:"AR900_L05",castShadow:!0,receiveShadow:!0,geometry:r.AR900_L05.geometry,material:a["#0056b9.001"]})]}),o.jsx("mesh",{name:"AR900_L04",castShadow:!0,receiveShadow:!0,geometry:r.AR900_L04.geometry,material:a["#0056b9.001"]})]}),o.jsx("mesh",{name:"AR900_L03",castShadow:!0,receiveShadow:!0,geometry:r.AR900_L03.geometry,material:a["#0056b9.001"]})]}),o.jsx("mesh",{name:"AR900_L02",castShadow:!0,receiveShadow:!0,geometry:r.AR900_L02.geometry,material:a["#0056b9.001"]})]}),o.jsx("mesh",{name:"AR900_L01",castShadow:!0,receiveShadow:!0,geometry:r.AR900_L01.geometry,material:a["#0056b9.001"]})]}),o.jsx("mesh",{name:"AR900_L00",castShadow:!0,receiveShadow:!0,geometry:r.AR900_L00.geometry,material:a["#0056b9.001"],rotation:[-Math.PI/2,0,0]})]})})})})}ku.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0]};function ku({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs("group",{name:"link_0",children:[o.jsx("mesh",{name:"shape439",castShadow:!0,receiveShadow:!0,geometry:r.shape439.geometry,material:a.yaskawa_blue}),o.jsx("mesh",{name:"shape439_1",castShadow:!0,receiveShadow:!0,geometry:r.shape439_1.geometry,material:a.yaskawa_metalsilver}),o.jsx("mesh",{name:"shape439_2",castShadow:!0,receiveShadow:!0,geometry:r.shape439_2.geometry,material:a.yaskawa_black})]}),o.jsxs(v.animated.group,{name:"YASKAWA_GP50_J00",position:[0,-.54,0],children:[o.jsxs("group",{name:"link_1",position:[0,.54,0],children:[o.jsx("mesh",{name:"shape320",castShadow:!0,receiveShadow:!0,geometry:r.shape320.geometry,material:a.yaskawa_blue}),o.jsx("mesh",{name:"shape320_1",castShadow:!0,receiveShadow:!0,geometry:r.shape320_1.geometry,material:a.yaskawa_black}),o.jsx("mesh",{name:"shape320_2",castShadow:!0,receiveShadow:!0,geometry:r.shape320_2.geometry,material:a.yaskawa_metalsilver}),o.jsx("mesh",{name:"shape320_3",castShadow:!0,receiveShadow:!0,geometry:r.shape320_3.geometry,material:a.yaskawa_black}),o.jsx("mesh",{name:"shape320_4",castShadow:!0,receiveShadow:!0,geometry:r.shape320_4.geometry,material:a.yaskawa_white}),o.jsx("mesh",{name:"shape320_5",castShadow:!0,receiveShadow:!0,geometry:r.shape320_5.geometry,material:a.yaskawa_black})]}),o.jsxs(v.animated.group,{name:"YASKAWA_GP50_J01",position:[.145,.54,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[o.jsxs("group",{name:"link_2",position:[0,0,.145],rotation:[Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"shape440",castShadow:!0,receiveShadow:!0,geometry:r.shape440.geometry,material:a.yaskawa_blue}),o.jsx("mesh",{name:"shape440_1",castShadow:!0,receiveShadow:!0,geometry:r.shape440_1.geometry,material:a.yaskawa_white}),o.jsx("mesh",{name:"shape440_2",castShadow:!0,receiveShadow:!0,geometry:r.shape440_2.geometry,material:a.yaskawa_metalsilver}),o.jsx("mesh",{name:"shape440_3",castShadow:!0,receiveShadow:!0,geometry:r.shape440_3.geometry,material:a.yaskawa_black})]}),o.jsxs(v.animated.group,{name:"YASKAWA_GP50_J02",position:[.87,0,0],rotation:[-Math.PI,0,0],children:[o.jsxs("group",{name:"link_3",position:[-.87,0,-.145],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"shape341",castShadow:!0,receiveShadow:!0,geometry:r.shape341.geometry,material:a.yaskawa_blue}),o.jsx("mesh",{name:"shape341_1",castShadow:!0,receiveShadow:!0,geometry:r.shape341_1.geometry,material:a.yaskawa_white}),o.jsx("mesh",{name:"shape341_2",castShadow:!0,receiveShadow:!0,geometry:r.shape341_2.geometry,material:a.yaskawa_black}),o.jsx("mesh",{name:"shape341_3",castShadow:!0,receiveShadow:!0,geometry:r.shape341_3.geometry,material:a.yaskawa_black}),o.jsx("mesh",{name:"shape341_4",castShadow:!0,receiveShadow:!0,geometry:r.shape341_4.geometry,material:a.yaskawa_metalsilver}),o.jsx("mesh",{name:"shape341_5",castShadow:!0,receiveShadow:!0,geometry:r.shape341_5.geometry,material:a.yaskawa_metalsilver})]}),o.jsxs(v.animated.group,{name:"YASKAWA_GP50_J03",position:[.21,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"link_4",castShadow:!0,receiveShadow:!0,geometry:r.link_4.geometry,material:a.yaskawa_blue,position:[-1.08,.145,0],rotation:[0,0,-Math.PI/2]}),o.jsxs(v.animated.group,{name:"YASKAWA_GP50_J04",position:[0,-1.025,0],rotation:[Math.PI/2,0,0],children:[o.jsx("mesh",{name:"link_5",castShadow:!0,receiveShadow:!0,geometry:r.link_5.geometry,material:a.yaskawa_blue,position:[-1.08,0,-1.17],rotation:[-Math.PI/2,0,-Math.PI/2]}),o.jsxs(v.animated.group,{name:"YASKAWA_GP50_J05",rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:r.link_6.geometry,material:a.yaskawa_metalsilver,position:[-1.08,1.17,0],rotation:[0,0,-Math.PI/2]}),o.jsx("group",{name:"YASKAWA_GP50_FLG",position:[0,-.175,0],rotation:[-Math.PI,0,0]})]})]})]})]})]})]})]})})})}const G1="(^joint_[0-9]+$)|(_J[0-9]+$)";function Iu(e){return e.children.length===0?[e]:[e,...e.children.flatMap(t=>Iu(t))]}function z1(e,t){return new RegExp(t??G1).test(e)}function Tu(e,t){return Iu(e).filter(n=>z1(n.name,t))}function Ou({rapidlyChangingMotionState:e,jointCollector:t,onRotationChanged:n,robotConfig:r,children:a}){v.Globals.assign({frameLoop:"always"});const s=Y.useRef([]),i=Y.useRef([]),{invalidate:l}=Ku.useThree();function u(y){y&&(i.current=t?t(y):Tu(y),m(),l())}function c(y){s.current=y,_.start(Object.assign({},s.current))}const d=(r==null?void 0:r.rotationSign)||[1,1,1,1,1,1],h=(r==null?void 0:r.rotationOffsets)||[0,0,0,0,0,0];function m(){const y=i.current.map((p,x)=>b[x].get());if(n)n(i.current,y);else for(const[p,x]of i.current.entries())x.rotation.y=d[p]*y[p]+h[p]}dl(()=>{const y=e.state.joint_position.joints.filter(p=>p!==void 0);requestAnimationFrame(()=>c(y))});const[b,_]=v.useSpring(()=>({...Object.assign({},e.state.joint_position.joints),onChange:()=>{m(),l()},onResolve:()=>{m()}}));return o.jsx("group",{ref:u,children:a})}const wi="line",ji="mesh";function Va({rapidlyChangingMotionState:e,dhParameters:t,...n}){const r=new St.Matrix4;function a(u,c){const d=new St.Vector3,h=new St.Quaternion,m=new St.Vector3;r.decompose(d,h,m);const b=d.clone(),_=new St.Matrix4().makeRotationY(u.theta+c*(u.reverse_rotation_direction?-1:1)).multiply(new St.Matrix4().makeTranslation(0,u.d/1e3,0)).multiply(new St.Matrix4().makeTranslation(u.a/1e3,0,0)).multiply(new St.Matrix4().makeRotationX(u.alpha));return r.multiply(_),r.decompose(d,h,m),{a:b,b:d}}function s(u,c,d,h){if(!t)return;const m=t[u];if(!m)return;const{a:b,b:_}=a(m,h);c.geometry.setPositions([b.toArray(),_.toArray()].flat()),d.position.set(_.x,_.y,_.z)}function i(u,c){r.identity(),u.forEach((d,h)=>{s(h,d.getObjectByName(wi),d.getObjectByName(ji),c[h])})}function l(u){return Tu(u,"^group_[0-9]+$")}return o.jsx(o.Fragment,{children:o.jsx(Ou,{rapidlyChangingMotionState:e,jointCollector:l,onRotationChanged:i,children:o.jsxs("group",{...n,name:"Scene",children:[o.jsxs("mesh",{children:[o.jsx("sphereGeometry",{args:[.01,32,32]}),o.jsx("meshStandardMaterial",{color:"black",depthTest:!0})]}),t.map((u,c)=>{const{a:d,b:h}=a(u,e.state.joint_position.joints[c]??0);return o.jsxs("group",{name:`group_${c}`,children:[o.jsx(H.Line,{name:wi,points:[d,h],color:"white",lineWidth:5}),o.jsxs("mesh",{name:ji,position:h,children:[o.jsx("sphereGeometry",{args:[.01,32,32]}),o.jsx("meshStandardMaterial",{color:"black",depthTest:!0})]},"mesh_"+c)]},"group_"+c)})]})})})}const K1=console.warn;function W1(){return Y.useEffect(()=>{console.warn=e=>{e!=="Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"&&K1(e)}},[]),o.jsx(o.Fragment,{})}Eu.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function Eu({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs("group",{name:"link_0",children:[o.jsx("mesh",{name:"visuals_0",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0.geometry,material:a.fanuc_metal_black}),o.jsx("mesh",{name:"visuals_0_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0_1.geometry,material:a.fanuc_stainless_steel}),o.jsx("mesh",{name:"visuals_0_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0_2.geometry,material:a.fanuc_metal_black}),o.jsx("mesh",{name:"visuals_0_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0_3.geometry,material:a.fanuc_stainless_steel}),o.jsx("mesh",{name:"visuals_0_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0_4.geometry,material:a.fanuc_aluminium_black}),o.jsx("mesh",{name:"visuals_0_5",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0_5.geometry,material:a.fanuc_aluminium_black}),o.jsx("mesh",{name:"visuals_0_6",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0_6.geometry,material:a.fanuc_rubber})]}),o.jsxs(v.animated.group,{name:"FANUC_CRX10IAL_J00",children:[o.jsxs(v.animated.group,{name:"FANUC_CRX10IAL_J01",rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"FANUC_CRX10IAL_J02",position:[.71,0,0],children:[o.jsxs(v.animated.group,{name:"FANUC_CRX10IAL_J03",rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"FANUC_CRX10IAL_J04",position:[0,-.54,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"FANUC_CRX10IAL_J05",position:[0,.15,0],rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"FANUC_CRX10IAL_FLG",position:[0,-.16,0],rotation:[-Math.PI,0,0]}),o.jsxs("group",{name:"link_6",position:[-.71,.54,-.15],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals_6",castShadow:!0,receiveShadow:!0,geometry:r.visuals_6.geometry,material:a.fanuc_metal_black}),o.jsx("mesh",{name:"visuals_6_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_6_1.geometry,material:a.fanuc_stainless_steel}),o.jsx("mesh",{name:"visuals_6_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_6_2.geometry,material:a.fanuc_aluminium_black}),o.jsx("mesh",{name:"visuals_6_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_6_3.geometry,material:a.fanuc_aluminium_black})]})]}),o.jsxs("group",{name:"link_5",position:[-.71,0,-.54],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals_5",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5.geometry,material:a.fanuc_white}),o.jsx("mesh",{name:"visuals_5_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_1.geometry,material:a.fanuc_green}),o.jsx("mesh",{name:"visuals_5_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_2.geometry,material:a.fanuc_stainless_steel})]})]}),o.jsxs("group",{name:"link_4",position:[-.71,0,0],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4.geometry,material:a.fanuc_white}),o.jsx("mesh",{name:"visuals_4_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_1.geometry,material:a.fanuc_white}),o.jsx("mesh",{name:"visuals_4_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_2.geometry,material:a.fanuc_metal_black}),o.jsx("mesh",{name:"visuals_4_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_3.geometry,material:a.fanuc_red})]})]}),o.jsxs("group",{name:"link_3",position:[-.71,0,0],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3.geometry,material:a.fanuc_white}),o.jsx("mesh",{name:"visuals_3_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_1.geometry,material:a.fanuc_green})]})]}),o.jsx("mesh",{name:"link_2",castShadow:!0,receiveShadow:!0,geometry:r.link_2.geometry,material:a.fanuc_white,rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"link_1",children:[o.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1.geometry,material:a.fanuc_green}),o.jsx("mesh",{name:"visuals_1_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_1.geometry,material:a.fanuc_white}),o.jsx("mesh",{name:"visuals_1_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_2.geometry,material:a.fanuc_green})]})]})]})})}function Vo(e){return`https://cdn.jsdelivr.net/gh/wandelbotsgmbh/wandelbots-js-react-components/public/models/${e}.glb`}const Lu=on(({rapidlyChangingMotionState:e,modelFromController:t,dhParameters:n,getModel:r=Vo,isGhost:a=!1,...s})=>{let i=null;const l=Y.useRef(),u=Y.useCallback(h=>{h&&(l.current=h,a&&c())},[a]),c=()=>{!l.current||l.current.userData.isGhost||(l.current.traverse(h=>{if(h instanceof Me.Mesh){h.material instanceof Me.Material&&(h.material.colorWrite=!0);const m=h.clone(),b=h.clone();m.material=new Me.MeshStandardMaterial({depthTest:!0,depthWrite:!0,colorWrite:!1,polygonOffset:!0,polygonOffsetFactor:1}),m.userData.isGhost=!0,b.material=new Me.MeshStandardMaterial({color:"#D91433",opacity:.3,depthTest:!0,depthWrite:!1,transparent:!0,polygonOffset:!0,polygonOffsetFactor:-1}),b.userData.isGhost=!0,h.parent&&(h.parent.add(m),h.parent.add(b))}}),l.current.userData.isGhost=!0)},d=()=>{if(!l.current||!l.current.userData.isGhost)return;const h=[];l.current.traverse(m=>{var b;m instanceof Me.Mesh&&((b=m.userData)!=null&&b.isGhost?h.push(m):m.material instanceof Me.Material&&(m.material.colorWrite=!0))}),h.forEach(m=>{m.parent&&m.parent.remove(m)}),l.current.userData.isGhost=!0};switch(Y.useEffect(()=>{a?c():d()},[a]),t){case"UniversalRobots_UR3":i=B1;break;case"UniversalRobots_UR3e":i=U1;break;case"UniversalRobots_UR5":i=J1;break;case"UniversalRobots_UR5e":i=V1;break;case"UniversalRobots_UR10":i=F1;break;case"UniversalRobots_UR10e":i=D1;break;case"Yaskawa_AR900":i=po;break;case"Yaskawa_GP7":i=po;break;case"Yaskawa_AR1440":i=Au;break;case"Yaskawa_AR1730":i=Pu;break;case"Yaskawa_AR2010":i=Cu;break;case"Yaskawa_AR3120":i=Mu;break;case"Yaskawa_GP50":i=ku;break;case"FANUC_CRX10iA":i=yu;break;case"FANUC_CRX10iAL":i=Eu;break;case"FANUC_CRX20iAL":i=_u;break;case"FANUC_CRX25iA":i=vu;break;case"FANUC_CRX25iAL":i=bu;break;case"FANUC_LR_Mate_200iD":i=Su;break;case"FANUC_LR_Mate_200iD7L":i=N1;break;case"FANUC_ARC_Mate_120iD":i=go;break;case"FANUC_ARC_Mate_120iD35":i=go;break;case"FANUC_ARC_Mate_100iD":i=pu;break;case"KUKA_KR210_R2700":i=wu;break;case"KUKA_KR270_R2700":i=ju;break;case"KUKA_KR16_R2010_2":i=xu;break;case"KUKA_KR6_R700_2":i=Ru;break;case"ABB_1200_07_7":i=fu;break;case"ABB_1300_115_10":i=gu;break;default:console.warn(`Unknown robot type: ${t}`),i=null}return o.jsxs(Xu.ErrorBoundary,{fallback:o.jsx(Va,{rapidlyChangingMotionState:e,dhParameters:n,...s}),children:[o.jsx(Y.Suspense,{fallback:o.jsx(Va,{rapidlyChangingMotionState:e,dhParameters:n,...s}),children:o.jsx("group",{ref:u,children:i?o.jsx(Ou,{rapidlyChangingMotionState:e,robotConfig:i.config,children:o.jsx(i,{modelURL:r(t),...s})}):o.jsx(Va,{rapidlyChangingMotionState:e,dhParameters:n})})}),o.jsx(W1,{})]})});function H1({connectedMotionGroup:e,getModel:t=Vo,isGhost:n=!1,...r}){return e.dhParameters?o.jsx(Lu,{rapidlyChangingMotionState:e.rapidlyChangingMotionState,modelFromController:e.modelFromController||"",dhParameters:e.dhParameters,getModel:t,isGhost:n,...r}):null}const X1=T.styled(T.Fab,{shouldForwardProp:e=>e!=="selected"})(({theme:e})=>{var t,n,r;return{borderRadius:"20px","&:hover":{background:(t=e.palette.backgroundPaperElevation)==null?void 0:t[7]},variants:[{props:({selected:a})=>!a,style:{background:(n=e.palette.backgroundPaperElevation)==null?void 0:n[0],color:e.palette.action.disabled,"> img":{opacity:.4}}},{props:({selected:a})=>a,style:{background:(r=e.palette.backgroundPaperElevation)==null?void 0:r[11],border:`1px solid ${e.palette.divider}`,color:e.palette.primary.contrastText}}]}}),q1=Y.forwardRef((e,t)=>o.jsx(X1,{ref:t,selected:e.selected,...e,color:"secondary",variant:"circular"})),Y1={$schema:"https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",name:"wandelscript",patterns:[{include:"#keywords"},{include:"#strings"},{include:"#comments"},{include:"#functions"}],repository:{keywords:{patterns:[{name:"keyword.control.flow.wandelscript",match:"\\b(move|via|to|interrupt|def|False|True|for|if|else|elif|while|return|switch|activate|deactivate|print)\\b"}]},strings:{name:"string.quoted.double.wandelscript",begin:'"',end:'"',patterns:[{name:"constant.character.escape.wandelscript",match:"\\\\."}]},comments:{patterns:[{begin:"#",beginCaptures:{0:{name:"punctuation.definition.comment.wandelscript"}},end:"$",name:"comment.line.number-sign.wandelscript"}]},functions:{patterns:[{match:"[a-zA-Z_-]+\\(",name:"entity.name.function.wandelscript"}]}},scopeName:"source.wandelscript"},Z1=Y.lazy(()=>import("@monaco-editor/react")),Q1=on(e=>{const t=T.useTheme(),n=Y.useRef(null),[r,a]=Y.useState("dark-plus"),s=t.palette.mode==="dark"?"dark-plus":"light-plus";async function i(l){const[{createHighlighter:u},{shikiToMonaco:c}]=await Promise.all([import("shiki"),import("@shikijs/monaco")]);l.languages.register({id:"wandelscript"}),l.languages.setLanguageConfiguration("wandelscript",{comments:{lineComment:"#"},brackets:[["(",")"],["[","]"]],autoClosingPairs:[{open:"[",close:"]"},{open:"(",close:")"}],surroundingPairs:[{open:"[",close:"]"},{open:"(",close:")"}]}),n.current||(n.current=await u({langs:[Y1],themes:["dark-plus","light-plus"]})),c(n.current,l),l.editor.defineTheme(s,{base:t.palette.mode==="dark"?"vs-dark":"vs",inherit:!0,rules:[],colors:t.palette.mode==="dark"?{"editor.background":"#262F42","editorLineNumber.foreground":"#797979","editorLineNumber.activeForeground":"#e9e9e9","editor.lineHighlightBorder":"#494949"}:{}}),e.monacoSetup&&e.monacoSetup(l),a(s)}return o.jsx(Y.Suspense,{fallback:o.jsx(fa,{}),children:o.jsx(Z1,{value:e.code,onMount:(l,u)=>{i(u)},onChange:e.onChange,defaultLanguage:"wandelscript",theme:r,options:{minimap:{enabled:!1},wordWrap:"on",automaticLayout:!0,...e.monacoOptions}})})});function $u(){var t,n,r,a,s,i;const e=T.createTheme({palette:{mode:"dark",text:{primary:"rgba(255, 255, 255, 1)",secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.38)"},primary:{main:"rgba(142, 86, 252, 1)",dark:"rgba(136, 58, 255, 1)",light:"rgba(157, 131, 246, 1)",contrastText:"rgba(255, 255, 255, 0.87)"},secondary:{main:"rgba(255, 255, 255, 1)",dark:"rgba(255, 255, 255, 0.06)",contrastText:"rgba(255, 255, 255, 0.87)"},tertiary:{main:"rgba(100, 255, 218, 1)",dark:"rgba(38, 166, 154, 1)",light:"rgba(167, 255, 235, 1)",contrastText:"rgba(0, 0, 0, 1)"},error:{main:"rgba(239, 83, 80, 1)",dark:"rgba(229, 57, 53, 1)",light:"rgba(239, 154, 154, 1)",contrastText:"rgba(255, 255, 255, 1)"},warning:{main:"rgba(255, 171, 64, 1)",dark:"rgba(255, 145, 0, 1)",light:"rgba(255, 209, 128, 1)",contrastText:"rgba(0, 0, 0, 0.87)"},success:{main:"rgba(38, 166, 154, 1)",dark:"rgba(0, 121, 107, 1)",light:"rgba(128, 203, 196, 1)",contrastText:"rgba(255, 255, 255, 0.87)"},background:{default:"rgba(2, 6, 23, 1)",paper:"rgba(17, 19, 31, 1)"},action:{active:"rgba(255, 255, 255, 0.56)",hover:"rgba(255, 255, 255, 0.08)",selected:"rgba(255, 255, 255, 0.16)",disabledBackground:"rgba(255, 255, 255, 0.12)",focus:"rgba(255, 255, 255, 0.12)",disabled:"rgba(255, 255, 255, 0.38)"},common:{white:"rgba(255, 255, 255, 1)",black:"rgba(0, 0, 0, 1)"},divider:"rgba(255, 255, 255, 0.12)",backgroundPaperElevation:{0:"rgba(17,19,31,1.0)",1:"rgba(20,22,35,1.0)",2:"rgba(23,25,39,1.0)",3:"rgba(26,28,43,1.0)",4:"rgba(29,31,47,1.0)",5:"rgba(32,34,51,1.0)",6:"rgba(35,37,55,1.0)",7:"rgba(38,40,59,1.0)",8:"rgba(41,43,63,1.0)",9:"rgba(44,46,67,1.0)",10:"rgba(47,49,71,1.0)",11:"rgba(50,52,75,1.0)",12:"rgba(53,55,79,1.0)",13:"rgba(56,58,83,1.0)",14:"rgba(59,61,87,1.0)",15:"rgba(62,64,91,1.0)",16:"rgba(57,63,87,1.0)"}},paletteExt:{primary:{hover:"rgba(142, 86, 252, 0.08)",selected:"rgba(142, 86, 252, 0.16)",focus:"rgba(142, 86, 252, 0.12)",focusVisible:"rgba(142, 86, 252, 0.3)",outlineBorder:"rgba(142, 86, 252, 0.5)"},secondary:{tonal:"rgba(255,255,255,0.1)"}}});return{...e,components:{MuiButton:{styleOverrides:{root:{textTransform:"none",borderRadius:"10px"}},variants:[{props:{color:"secondary",variant:"contained"},style:{border:`1px solid ${e.palette.divider}`,background:(r=(n=(t=e.paletteExt)==null?void 0:t.secondary)==null?void 0:n.tonal)==null?void 0:r.toString()}},{props:{color:"secondary",variant:"outlined"},style:{border:`1px solid ${e.palette.divider}`}}]},MuiDivider:{styleOverrides:{root:{border:"1px solid"}}},MuiTab:{styleOverrides:{root:{textTransform:"none",color:e.palette.text.secondary,"&.Mui-selected":{color:e.palette.text.primary}}}},MuiTabs:{styleOverrides:{root:{background:(a=e.palette.backgroundPaperElevation)==null?void 0:a[1]}}},MuiToggleButtonGroup:{styleOverrides:{root:{".MuiToggleButtonGroup-firstButton":{borderRadius:"10px 0 0 10px"},".MuiToggleButtonGroup-lastButton":{borderRadius:"0 10px 10px 0"}}}},MuiToggleButton:{styleOverrides:{root:{textTransform:"none",padding:"6px 16px"}}},MuiSelect:{variants:[{props:{variant:"filled"},style:{borderRadius:"10px","::before, ::after":{visibility:"collapse"},".MuiInputBase-input":{padding:"6px 16px",borderRadius:"10px"}}}]},MuiFab:{styleOverrides:{root:{background:(i=(s=e.paletteExt)==null?void 0:s.secondary)==null?void 0:i.tonal}},variants:[{props:{color:"primary"},style:{background:e.palette.primary.main}}]}},componentsExt:{JoggingCartesian:{Axis:{X:{backgroundColor:"rgba(215, 66, 56, 1)",borderColor:"rgba(215, 66, 56, 1)",buttonBackgroundColor:"rgba(241, 77, 66, 1)",color:"rgba(255, 255, 255, 1)"},Y:{backgroundColor:"rgba(20, 151, 108, 1)",borderColor:"rgba(20, 151, 108, 1)",buttonBackgroundColor:"rgba(28, 188, 135, 1)",color:"rgba(255, 255, 255, 1)"},Z:{backgroundColor:"rgba(1, 87, 155, 1)",borderColor:"rgba(1, 87, 155, 1)",buttonBackgroundColor:"rgba(2, 136, 209, 1)",color:"rgba(255, 255, 255, 1)"}}}}}}function ev(){const e=$u();return e.palette.mode="light",e}function tv(e){var n,r,a,s;let t=!0;return((n=e.palette)==null?void 0:n.mode)==="light"?t=!1:((r=e.palette)==null?void 0:r.mode)!=="dark"&&(t=!(typeof window<"u"&&((s=(a=window.matchMedia)==null?void 0:a.call(window,"(prefers-color-scheme: light)"))==null?void 0:s.matches))),t?$u():ev()}exports.JoggingCartesianAxisControl=eo;exports.JoggingJointRotationControl=yl;exports.JoggingPanel=T1;exports.LoadingCover=fa;exports.LoadingErrorMessage=Vl;exports.NoMotionGroupModal=L1;exports.PresetEnvironment=Zu;exports.Robot=H1;exports.SafetyZonesRenderer=tc;exports.SelectableFab=q1;exports.SupportedRobot=Lu;exports.VelocitySlider=su;exports.WandelscriptEditor=Q1;exports.createNovaMuiTheme=tv;exports.defaultAxisConfig=$1;exports.defaultGetModel=Vo;exports.useAnimationFrame=xr;exports.useAutorun=dl;exports.useMounted=ia;exports.useReaction=Io;
|
|
83
|
+
`+s):r.stack=s}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ht(this.defaults,n);const{transitional:r,paramsSerializer:a,headers:s}=n;r!==void 0&&so.assertOptions(r,{silentJSONParsing:Ot.transitional(Ot.boolean),forcedJSONParsing:Ot.transitional(Ot.boolean),clarifyTimeoutError:Ot.transitional(Ot.boolean)},!1),a!=null&&(S.isFunction(a)?n.paramsSerializer={serialize:a}:so.assertOptions(a,{encode:Ot.function,serialize:Ot.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&S.merge(s.common,s[n.method]);s&&S.forEach(["delete","get","head","post","put","patch","common"],_=>{delete s[_]}),n.headers=Fe.concat(i,s);const l=[];let u=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(n)===!1||(u=u&&y.synchronous,l.unshift(y.fulfilled,y.rejected))});const c=[];this.interceptors.response.forEach(function(y){c.push(y.fulfilled,y.rejected)});let d,h=0,m;if(!u){const _=[Hs.bind(this),void 0];for(_.unshift.apply(_,l),_.push.apply(_,c),m=_.length,d=Promise.resolve(n);h<m;)d=d.then(_[h++],_[h++]);return d}m=l.length;let b=n;for(h=0;h<m;){const _=l[h++],y=l[h++];try{b=_(b)}catch(p){y.call(this,p);break}}try{d=Hs.call(this,b)}catch(_){return Promise.reject(_)}for(h=0,m=c.length;h<m;)d=d.then(c[h++],c[h++]);return d}getUri(t){t=Ht(this.defaults,t);const n=Ll(t.baseURL,t.url);return kl(n,t.params,t.paramsSerializer)}};S.forEach(["delete","get","head","options"],function(t){Gt.prototype[t]=function(n,r){return this.request(Ht(r||{},{method:t,url:n,data:(r||{}).data}))}});S.forEach(["post","put","patch"],function(t){function n(r){return function(s,i,l){return this.request(Ht(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}Gt.prototype[t]=n(),Gt.prototype[t+"Form"]=n(!0)});let Ag=class Ul{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(a=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](a);r._listeners=null}),this.promise.then=a=>{let s;const i=new Promise(l=>{r.subscribe(l),s=l}).then(a);return i.cancel=function(){r.unsubscribe(s)},i},t(function(s,i,l){r.reason||(r.reason=new jr(s,i,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Ul(function(a){t=a}),cancel:t}}};function Pg(e){return function(n){return e.apply(null,n)}}function Cg(e){return S.isObject(e)&&e.isAxiosError===!0}const io={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(io).forEach(([e,t])=>{io[t]=e});function Jl(e){const t=new Gt(e),n=_l(Gt.prototype.request,t);return S.extend(n,Gt.prototype,t,{allOwnKeys:!0}),S.extend(n,t,null,{allOwnKeys:!0}),n.create=function(a){return Jl(Ht(e,a))},n}const Se=Jl(ln);Se.Axios=Gt;Se.CanceledError=jr;Se.CancelToken=Ag;Se.isCancel=Ol;Se.VERSION=Bl;Se.toFormData=ma;Se.AxiosError=J;Se.Cancel=Se.CanceledError;Se.all=function(t){return Promise.all(t)};Se.spread=Pg;Se.isAxiosError=Cg;Se.mergeConfig=Ht;Se.AxiosHeaders=Fe;Se.formToJSON=e=>Tl(S.isHTMLForm(e)?new FormData(e):e);Se.getAdapter=Dl.getAdapter;Se.HttpStatusCode=io;Se.default=Se;const{Axios:ov,AxiosError:qs,CanceledError:sv,isCancel:iv,CancelToken:lv,VERSION:uv,all:cv,Cancel:dv,isAxiosError:mv,spread:hv,toFormData:fv,AxiosHeaders:gv,HttpStatusCode:pv,formToJSON:yv,getAdapter:_v,mergeConfig:vv}=Se;function Mg(e){try{return JSON.stringify(e)}catch{return}}function kg(e){var t,n,r,a;return e instanceof qs&&e.code==="ERR_NETWORK"?"Failed to connect to the server. Please check your internet connection.":e instanceof qs&&e.response?`${(t=e.response)==null?void 0:t.status} ${(n=e.response)==null?void 0:n.statusText} from ${(r=e.response)==null?void 0:r.config.url}: ${JSON.stringify((a=e.response)==null?void 0:a.data)}`:e instanceof Error?e.message:`Unexpected error: ${Mg(e)||e}`}const fa=e=>{const t=e.softTimeout||3e3,[n,r]=Y.useState(!1);return Y.useEffect(()=>{const a=setTimeout(()=>{r(!0)},t);return()=>clearTimeout(a)}),o.jsx(T.Stack,{width:"100%",height:"100%",alignItems:"center",justifyContent:"center",children:e.error?o.jsx(Vl,{loadingMessage:e.message,error:e.error}):o.jsxs(o.Fragment,{children:[o.jsx(T.CircularProgress,{sx:{marginBottom:"24px"}}),!!e.message&&o.jsx("div",{children:e.message}),o.jsx(T.Stack,{sx:{visibility:n?"visible":"hidden",marginTop:"1rem",color:"gray"},children:"This is taking longer than expected..."})]})})},Vl=e=>{const t=kg(e.error),n=e.error instanceof Error?e.error.stack:null,r=T.useTheme();return o.jsxs(T.Stack,{sx:{maxHeight:"100%",maxWidth:"min(100%, 800px)",padding:2,overflow:"auto",color:r.palette.error.main,"& pre":{whiteSpace:"pre-wrap",wordBreak:"break-word",paddingBottom:"3rem"}},children:[(e.loadingMessage?`Error while ${Kn.lowerFirst(T.capitalize(e.loadingMessage))} - `:"")+t,o.jsx("br",{}),n&&o.jsx("pre",{children:n})]})},Ig=({title:e,titleId:t,...n},r)=>N.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:19,height:10,fill:"none",ref:r,"aria-labelledby":t,...n},e?N.createElement("title",{id:t},e):null,N.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M5.131.312a.9.9 0 0 1 0 1.272L3.07 3.645h12.44l-2.06-2.061A.9.9 0 0 1 14.72.313l3.596 3.596a.9.9 0 0 1 0 1.271l-3.596 3.597a.9.9 0 0 1-1.271-1.272l2.061-2.062H3.07L5.13 7.505A.9.9 0 0 1 3.86 8.777L.263 5.18a.9.9 0 0 1 0-1.271L3.86.312a.9.9 0 0 1 1.271 0",clipRule:"evenodd"})),Tg=Y.forwardRef(Ig),Og=({title:e,titleId:t,...n},r)=>N.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:19,height:10,fill:"none",ref:r,"aria-labelledby":t,...n},e?N.createElement("title",{id:t},e):null,N.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M5.131.312a.9.9 0 0 1 0 1.272L3.07 3.645h12.44l-2.06-2.061A.9.9 0 0 1 14.72.313l3.596 3.596a.9.9 0 0 1 0 1.271l-3.596 3.597a.9.9 0 0 1-1.271-1.272l2.061-2.062H3.07L5.13 7.505A.9.9 0 0 1 3.86 8.777L.263 5.18a.9.9 0 0 1 0-1.271L3.86.312a.9.9 0 0 1 1.271 0",clipRule:"evenodd"})),Eg=Y.forwardRef(Og),Lg=({title:e,titleId:t,...n},r)=>N.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:10,height:19,fill:"none",ref:r,"aria-labelledby":t,...n},e?N.createElement("title",{id:t},e):null,N.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M9.522 14.811A.899.899 0 1 0 8.25 13.54L6.19 15.601V3.16L8.25 5.221A.9.9 0 0 0 9.522 3.95L5.926.354a.9.9 0 0 0-1.272 0L1.058 3.95a.9.9 0 1 0 1.271 1.271L4.391 3.16v12.442L2.329 13.54a.899.899 0 1 0-1.271 1.271l3.596 3.597a.9.9 0 0 0 1.272 0z",clipRule:"evenodd"})),$g=Y.forwardRef(Lg),Ng=({title:e,titleId:t,...n},r)=>N.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:25,height:24,fill:"none",ref:r,"aria-labelledby":t,...n},e?N.createElement("title",{id:t},e):null,N.createElement("path",{stroke:"#fff",strokeLinecap:"round",strokeWidth:1.5,d:"M18.5 12a6 6 0 1 0-6 6"}),N.createElement("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m16.5 11 2 2.5 2-2.5"})),Fg=Y.forwardRef(Ng),Ys=e=>o.jsx(T.Stack,{position:"absolute",left:0,top:0,width:"100%",height:"100%",alignItems:"center",justifyContent:"center",sx:{backgroundColor:"rgba(0, 0, 0, 0.6)",backdropFilter:"blur(2px)",zIndex:100,...e.sx||{}},...Kn.omit(e,"sx")}),Gl=Te.observer(({store:e,children:t})=>{const{t:n}=qt.useTranslation(),r=T.useTheme();function a(){var s,i;if(e.activationState==="inactive"&&!e.activationError)return o.jsx(Ys,{sx:{borderRadius:"6px",backgroundColor:`color-mix(in srgb, ${(s=r.palette.backgroundPaperElevation)==null?void 0:s[5]}, transparent)`},children:o.jsx(T.Button,{color:"primary",variant:"contained",onClick:()=>e.activate({manual:!0}),disabled:e.isLocked,children:n("Jogging.Activate.bt")})});if(e.activationState==="loading"||e.activationError)return o.jsx(Ys,{sx:{backgroundColor:`color-mix(in srgb, ${(i=r.palette.backgroundPaperElevation)==null?void 0:i[5]}, transparent)`},children:o.jsx(fa,{message:n("Jogging.Activating.lb"),error:e.activationError})})}return o.jsxs(T.Stack,{sx:{position:"relative",padding:"6px"},children:[a(),t]})}),zl=Y.forwardRef(({label:e,value:t},n)=>o.jsxs(o.Fragment,{children:[e&&o.jsx(T.InputLabel,{children:e}),o.jsx(T.Chip,{ref:n,sx:{fontSize:"14px",opacity:.8,marginTop:"4px !important"},value:t})]})),Dg=Te.observer(({store:e})=>{const t=Y.useRef(null);function n(){const r=e.jogger.motionStream.rapidlyChangingMotionState.tcp_pose;return r?Lt.poseToWandelscriptString(r):""}return xr(()=>{t.current&&(t.current.textContent=n())}),o.jsx(T.Stack,{alignItems:"left",spacing:2,sx:{padding:"8px 16px",paddingTop:"16px","& label":{opacity:.7,fontSize:"12px",marginBottom:"4px"}},children:o.jsx(zl,{label:"Pose",value:n(),ref:t})})});function Bg(){this.__data__=[],this.size=0}function Kl(e,t){return e===t||e!==e&&t!==t}function ga(e,t){for(var n=e.length;n--;)if(Kl(e[n][0],t))return n;return-1}var Ug=Array.prototype,Jg=Ug.splice;function Vg(e){var t=this.__data__,n=ga(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Jg.call(t,n,1),--this.size,!0}function Gg(e){var t=this.__data__,n=ga(t,e);return n<0?void 0:t[n][1]}function zg(e){return ga(this.__data__,e)>-1}function Kg(e,t){var n=this.__data__,r=ga(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function At(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}At.prototype.clear=Bg;At.prototype.delete=Vg;At.prototype.get=Gg;At.prototype.has=zg;At.prototype.set=Kg;function Wg(){this.__data__=new At,this.size=0}function Hg(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function Xg(e){return this.__data__.get(e)}function qg(e){return this.__data__.has(e)}var Yg="[object AsyncFunction]",Zg="[object Function]",Qg="[object GeneratorFunction]",ep="[object Proxy]";function Wl(e){if(!Kt(e))return!1;var t=Yt(e);return t==Zg||t==Qg||t==Yg||t==ep}var Ba=yt["__core-js_shared__"],Zs=function(){var e=/[^.]+$/.exec(Ba&&Ba.keys&&Ba.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function tp(e){return!!Zs&&Zs in e}var rp=Function.prototype,np=rp.toString;function Zt(e){if(e!=null){try{return np.call(e)}catch{}try{return e+""}catch{}}return""}var ap=/[\\^$.*+?()[\]{}|]/g,op=/^\[object .+?Constructor\]$/,sp=Function.prototype,ip=Object.prototype,lp=sp.toString,up=ip.hasOwnProperty,cp=RegExp("^"+lp.call(up).replace(ap,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function dp(e){if(!Kt(e)||tp(e))return!1;var t=Wl(e)?cp:op;return t.test(Zt(e))}function mp(e,t){return e==null?void 0:e[t]}function Qt(e,t){var n=mp(e,t);return dp(n)?n:void 0}var qr=Qt(yt,"Map"),Yr=Qt(Object,"create");function hp(){this.__data__=Yr?Yr(null):{},this.size=0}function fp(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var gp="__lodash_hash_undefined__",pp=Object.prototype,yp=pp.hasOwnProperty;function _p(e){var t=this.__data__;if(Yr){var n=t[e];return n===gp?void 0:n}return yp.call(t,e)?t[e]:void 0}var vp=Object.prototype,bp=vp.hasOwnProperty;function Sp(e){var t=this.__data__;return Yr?t[e]!==void 0:bp.call(t,e)}var xp="__lodash_hash_undefined__";function wp(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Yr&&t===void 0?xp:t,this}function Xt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Xt.prototype.clear=hp;Xt.prototype.delete=fp;Xt.prototype.get=_p;Xt.prototype.has=Sp;Xt.prototype.set=wp;function jp(){this.size=0,this.__data__={hash:new Xt,map:new(qr||At),string:new Xt}}function Rp(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function pa(e,t){var n=e.__data__;return Rp(t)?n[typeof t=="string"?"string":"hash"]:n.map}function Ap(e){var t=pa(this,e).delete(e);return this.size-=t?1:0,t}function Pp(e){return pa(this,e).get(e)}function Cp(e){return pa(this,e).has(e)}function Mp(e,t){var n=pa(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Pt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Pt.prototype.clear=jp;Pt.prototype.delete=Ap;Pt.prototype.get=Pp;Pt.prototype.has=Cp;Pt.prototype.set=Mp;var kp=200;function Ip(e,t){var n=this.__data__;if(n instanceof At){var r=n.__data__;if(!qr||r.length<kp-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Pt(r)}return n.set(e,t),this.size=n.size,this}function wt(e){var t=this.__data__=new At(e);this.size=t.size}wt.prototype.clear=Wg;wt.prototype.delete=Hg;wt.prototype.get=Xg;wt.prototype.has=qg;wt.prototype.set=Ip;var Tp="__lodash_hash_undefined__";function Op(e){return this.__data__.set(e,Tp),this}function Ep(e){return this.__data__.has(e)}function Gn(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Pt;++t<n;)this.add(e[t])}Gn.prototype.add=Gn.prototype.push=Op;Gn.prototype.has=Ep;function Lp(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function $p(e,t){return e.has(t)}var Np=1,Fp=2;function Hl(e,t,n,r,a,s){var i=n&Np,l=e.length,u=t.length;if(l!=u&&!(i&&u>l))return!1;var c=s.get(e),d=s.get(t);if(c&&d)return c==t&&d==e;var h=-1,m=!0,b=n&Fp?new Gn:void 0;for(s.set(e,t),s.set(t,e);++h<l;){var _=e[h],y=t[h];if(r)var p=i?r(y,_,h,t,e,s):r(_,y,h,e,t,s);if(p!==void 0){if(p)continue;m=!1;break}if(b){if(!Lp(t,function(x,j){if(!$p(b,j)&&(_===x||a(_,x,n,r,s)))return b.push(j)})){m=!1;break}}else if(!(_===y||a(_,y,n,r,s))){m=!1;break}}return s.delete(e),s.delete(t),m}var Qs=yt.Uint8Array;function Dp(e){var t=-1,n=Array(e.size);return e.forEach(function(r,a){n[++t]=[a,r]}),n}function Bp(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var Up=1,Jp=2,Vp="[object Boolean]",Gp="[object Date]",zp="[object Error]",Kp="[object Map]",Wp="[object Number]",Hp="[object RegExp]",Xp="[object Set]",qp="[object String]",Yp="[object Symbol]",Zp="[object ArrayBuffer]",Qp="[object DataView]",ei=$t?$t.prototype:void 0,Ua=ei?ei.valueOf:void 0;function ey(e,t,n,r,a,s,i){switch(n){case Qp:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Zp:return!(e.byteLength!=t.byteLength||!s(new Qs(e),new Qs(t)));case Vp:case Gp:case Wp:return Kl(+e,+t);case zp:return e.name==t.name&&e.message==t.message;case Hp:case qp:return e==t+"";case Kp:var l=Dp;case Xp:var u=r&Up;if(l||(l=Bp),e.size!=t.size&&!u)return!1;var c=i.get(e);if(c)return c==t;r|=Jp,i.set(e,t);var d=Hl(l(e),l(t),r,a,s,i);return i.delete(e),d;case Yp:if(Ua)return Ua.call(e)==Ua.call(t)}return!1}function ty(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e}var pt=Array.isArray;function ry(e,t,n){var r=t(e);return pt(e)?r:ty(r,n(e))}function ny(e,t){for(var n=-1,r=e==null?0:e.length,a=0,s=[];++n<r;){var i=e[n];t(i,n,e)&&(s[a++]=i)}return s}function ay(){return[]}var oy=Object.prototype,sy=oy.propertyIsEnumerable,ti=Object.getOwnPropertySymbols,iy=ti?function(e){return e==null?[]:(e=Object(e),ny(ti(e),function(t){return sy.call(e,t)}))}:ay;function ly(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var uy="[object Arguments]";function ri(e){return Wt(e)&&Yt(e)==uy}var Xl=Object.prototype,cy=Xl.hasOwnProperty,dy=Xl.propertyIsEnumerable,ql=ri(function(){return arguments}())?ri:function(e){return Wt(e)&&cy.call(e,"callee")&&!dy.call(e,"callee")};function my(){return!1}var Yl=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ni=Yl&&typeof module=="object"&&module&&!module.nodeType&&module,hy=ni&&ni.exports===Yl,ai=hy?yt.Buffer:void 0,fy=ai?ai.isBuffer:void 0,lo=fy||my,gy=9007199254740991,py=/^(?:0|[1-9]\d*)$/;function Zl(e,t){var n=typeof e;return t=t??gy,!!t&&(n=="number"||n!="symbol"&&py.test(e))&&e>-1&&e%1==0&&e<t}var yy=9007199254740991;function Fo(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=yy}var _y="[object Arguments]",vy="[object Array]",by="[object Boolean]",Sy="[object Date]",xy="[object Error]",wy="[object Function]",jy="[object Map]",Ry="[object Number]",Ay="[object Object]",Py="[object RegExp]",Cy="[object Set]",My="[object String]",ky="[object WeakMap]",Iy="[object ArrayBuffer]",Ty="[object DataView]",Oy="[object Float32Array]",Ey="[object Float64Array]",Ly="[object Int8Array]",$y="[object Int16Array]",Ny="[object Int32Array]",Fy="[object Uint8Array]",Dy="[object Uint8ClampedArray]",By="[object Uint16Array]",Uy="[object Uint32Array]",de={};de[Oy]=de[Ey]=de[Ly]=de[$y]=de[Ny]=de[Fy]=de[Dy]=de[By]=de[Uy]=!0;de[_y]=de[vy]=de[Iy]=de[by]=de[Ty]=de[Sy]=de[xy]=de[wy]=de[jy]=de[Ry]=de[Ay]=de[Py]=de[Cy]=de[My]=de[ky]=!1;function Jy(e){return Wt(e)&&Fo(e.length)&&!!de[Yt(e)]}function Vy(e){return function(t){return e(t)}}var Ql=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Vr=Ql&&typeof module=="object"&&module&&!module.nodeType&&module,Gy=Vr&&Vr.exports===Ql,Ja=Gy&&gl.process,oi=function(){try{var e=Vr&&Vr.require&&Vr.require("util").types;return e||Ja&&Ja.binding&&Ja.binding("util")}catch{}}(),si=oi&&oi.isTypedArray,eu=si?Vy(si):Jy,zy=Object.prototype,Ky=zy.hasOwnProperty;function Wy(e,t){var n=pt(e),r=!n&&ql(e),a=!n&&!r&&lo(e),s=!n&&!r&&!a&&eu(e),i=n||r||a||s,l=i?ly(e.length,String):[],u=l.length;for(var c in e)Ky.call(e,c)&&!(i&&(c=="length"||a&&(c=="offset"||c=="parent")||s&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||Zl(c,u)))&&l.push(c);return l}var Hy=Object.prototype;function Xy(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Hy;return e===n}function qy(e,t){return function(n){return e(t(n))}}var Yy=qy(Object.keys,Object),Zy=Object.prototype,Qy=Zy.hasOwnProperty;function e_(e){if(!Xy(e))return Yy(e);var t=[];for(var n in Object(e))Qy.call(e,n)&&n!="constructor"&&t.push(n);return t}function tu(e){return e!=null&&Fo(e.length)&&!Wl(e)}function Do(e){return tu(e)?Wy(e):e_(e)}function ii(e){return ry(e,Do,iy)}var t_=1,r_=Object.prototype,n_=r_.hasOwnProperty;function a_(e,t,n,r,a,s){var i=n&t_,l=ii(e),u=l.length,c=ii(t),d=c.length;if(u!=d&&!i)return!1;for(var h=u;h--;){var m=l[h];if(!(i?m in t:n_.call(t,m)))return!1}var b=s.get(e),_=s.get(t);if(b&&_)return b==t&&_==e;var y=!0;s.set(e,t),s.set(t,e);for(var p=i;++h<u;){m=l[h];var x=e[m],j=t[m];if(r)var C=i?r(j,x,m,t,e,s):r(x,j,m,e,t,s);if(!(C===void 0?x===j||a(x,j,n,r,s):C)){y=!1;break}p||(p=m=="constructor")}if(y&&!p){var A=e.constructor,w=t.constructor;A!=w&&"constructor"in e&&"constructor"in t&&!(typeof A=="function"&&A instanceof A&&typeof w=="function"&&w instanceof w)&&(y=!1)}return s.delete(e),s.delete(t),y}var uo=Qt(yt,"DataView"),co=Qt(yt,"Promise"),mo=Qt(yt,"Set"),ho=Qt(yt,"WeakMap"),li="[object Map]",o_="[object Object]",ui="[object Promise]",ci="[object Set]",di="[object WeakMap]",mi="[object DataView]",s_=Zt(uo),i_=Zt(qr),l_=Zt(co),u_=Zt(mo),c_=Zt(ho),Et=Yt;(uo&&Et(new uo(new ArrayBuffer(1)))!=mi||qr&&Et(new qr)!=li||co&&Et(co.resolve())!=ui||mo&&Et(new mo)!=ci||ho&&Et(new ho)!=di)&&(Et=function(e){var t=Yt(e),n=t==o_?e.constructor:void 0,r=n?Zt(n):"";if(r)switch(r){case s_:return mi;case i_:return li;case l_:return ui;case u_:return ci;case c_:return di}return t});var d_=1,hi="[object Arguments]",fi="[object Array]",pn="[object Object]",m_=Object.prototype,gi=m_.hasOwnProperty;function h_(e,t,n,r,a,s){var i=pt(e),l=pt(t),u=i?fi:Et(e),c=l?fi:Et(t);u=u==hi?pn:u,c=c==hi?pn:c;var d=u==pn,h=c==pn,m=u==c;if(m&&lo(e)){if(!lo(t))return!1;i=!0,d=!1}if(m&&!d)return s||(s=new wt),i||eu(e)?Hl(e,t,n,r,a,s):ey(e,t,u,n,r,a,s);if(!(n&d_)){var b=d&&gi.call(e,"__wrapped__"),_=h&&gi.call(t,"__wrapped__");if(b||_){var y=b?e.value():e,p=_?t.value():t;return s||(s=new wt),a(y,p,n,r,s)}}return m?(s||(s=new wt),a_(e,t,n,r,a,s)):!1}function ya(e,t,n,r,a){return e===t?!0:e==null||t==null||!Wt(e)&&!Wt(t)?e!==e&&t!==t:h_(e,t,n,r,ya,a)}function f_(e,t){return ya(e,t)}const ru=({store:e})=>{const{t}=qt.useTranslation(),[n,r]=Y.useState(e.jogger.motionStream.rapidlyChangingMotionState.state.joint_limit_reached.limit_reached),a=Y.useRef(n);xr(()=>{const i=e.jogger.motionStream.rapidlyChangingMotionState.state.joint_limit_reached.limit_reached;f_(a.current,i)||(a.current=i,r(i))});const s=[];for(const[i,l]of n.entries())l&&s.push(i);return o.jsx(T.Typography,{color:"error",sx:{margin:"0.5rem 1rem",textAlign:"center",visibility:s.length?"visible":"hidden"},children:t("Jogging.JointLimitsReached.lb",{jointNumbers:s.map(i=>i+1).join(", ")})})},g_=({title:e,titleId:t,...n},r)=>N.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:21,height:21,fill:"none",viewBox:"0 0 23 22",ref:r,"aria-labelledby":t,...n},e?N.createElement("title",{id:t},e):null,N.createElement("path",{fill:"currentColor",d:"m21.71 16.262-1.09.346.66 2.071-2.923-1.461V9.857l-6.285-3.143V2.893L13.38 4.21l.812-.806-2.674-2.69-2.706 2.687.805.812L10.93 2.91v3.803L4.643 9.857v7.36l-2.914 1.458.657-2.067-1.09-.346-1.225 3.88 3.826 1.144.346-1.09-1.836-.583 2.874-1.436 6.22 3.109 6.217-3.11 2.877 1.439-1.831.581.345 1.09 3.82-1.143zM11.5 12.646l-4.94-2.47 4.94-2.47 4.94 2.47zm.572.993 5.143-2.572v6.083l-5.143 2.572zm-6.286-2.572 5.143 2.572v6.083L5.786 17.15z"})),p_=Y.forwardRef(g_),y_=({title:e,titleId:t,...n},r)=>N.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:15,height:17,fill:"none",ref:r,"aria-labelledby":t,...n},e?N.createElement("title",{id:t},e):null,N.createElement("path",{fill:"currentColor",d:"M12.9 7.667c-.133-.534-.533-1-1-1.134L10.367 6l-.4 1.267L11.5 7.8c.067 0 .133.067.133.2l1.067 4.867a.32.32 0 0 1-.133.4l-2.267 1.8c-.267.2-.333.666-.133.933s.666.333.933.133l2.267-1.8c.533-.4.733-1.133.6-1.733zM12.5 0H1.833A1.65 1.65 0 0 0 .167 1.667v1.4c0 .866.733 1.6 1.666 1.6h10.734c.866 0 1.6-.734 1.6-1.667V1.667A1.65 1.65 0 0 0 12.5 0M1.633 12.8 2.7 8c0-.067.067-.133.133-.2l1.534-.533-.4-1.2-1.534.466c-.533.2-.933.6-1 1.134L.367 12.533c-.134.667.066 1.334.6 1.734l2.266 1.8c.267.266.734.2.934-.067s.2-.733-.134-.933l-2.266-1.8c-.134-.134-.2-.267-.134-.467"})),__=Y.forwardRef(y_),v_=Te.observer(({store:e})=>{var r;const{t}=qt.useTranslation();function n(a,s){(s==="coordsys"||s==="tool")&&e.setSelectedOrientation(s)}return o.jsxs(o.Fragment,{children:[o.jsxs(T.Stack,{direction:"row",alignItems:"center",spacing:2,sx:{padding:"6px 16px","& label":{opacity:.7,fontSize:"12px",marginBottom:"4px"}},children:[o.jsxs(T.Stack,{width:"50%",children:[o.jsx(T.InputLabel,{id:"jogging-coord-select",children:"Coordinate Sys."}),o.jsx(T.Select,{labelId:"jogging-coord-select",value:e.selectedCoordSystemId,size:"small",variant:"filled",displayEmpty:!0,onChange:a=>{e.setSelectedCoordSystemId(a.target.value)},disabled:e.isLocked,children:e.coordSystems.map(a=>o.jsx(T.MenuItem,{value:a.coordinate_system,children:a.name&&e.coordSystemCountByName[a.name]>1?`${a.name} / ${a.coordinate_system}`:a.name||a.coordinate_system},a.coordinate_system))})]}),o.jsxs(T.Stack,{width:"50%",children:[o.jsx(T.InputLabel,{id:"jogging-tcp-select",children:"TCP"}),o.jsx(T.Select,{labelId:"jogging-tcp-select",value:e.selectedTcpId,size:"small",variant:"filled",onChange:a=>{e.setSelectedTcpId(a.target.value)},disabled:e.isLocked,children:e.tcps.map(a=>o.jsx(T.MenuItem,{value:a.id,children:a.id},a.id))})]})]}),o.jsxs(T.Stack,{direction:"row",alignItems:"center",spacing:2,sx:{padding:"6px 16px","& label":{opacity:.7,fontSize:"12px",marginBottom:"4px"}},children:[o.jsxs(T.Stack,{width:"50%",children:[o.jsx(T.InputLabel,{id:"orientation-select",children:t("Jogging.Cartesian.Orientation.lb")}),o.jsxs(T.ToggleButtonGroup,{value:e.selectedOrientation,onChange:n,exclusive:!0,"aria-labelledby":"orientation-select",disabled:e.isLocked,children:[o.jsx(T.ToggleButton,{value:"coordsys",sx:{flexGrow:1},children:o.jsx(p_,{})}),o.jsx(T.ToggleButton,{value:"tool",sx:{flexGrow:1},children:o.jsx(__,{})})]})]}),o.jsxs(T.Stack,{width:"50%",children:[o.jsx(T.InputLabel,{id:"jogging-increment-select",children:"Increment"}),o.jsxs(T.Select,{labelId:"jogging-increment-select",size:"small",variant:"filled",value:((r=e.activeDiscreteIncrement)==null?void 0:r.id)||"continuous",onChange:a=>{e.setSelectedIncrementId(a.target.value)},disabled:e.isLocked,children:[o.jsx(T.MenuItem,{value:"continuous",children:t("Jogging.Increment.Continuous.dd")},"continuous"),e.selectedOrientation==="tool"?null:e.discreteIncrementOptions.map(a=>o.jsx(T.MenuItem,{value:a.id,children:e.currentMotionType==="translate"?`${a.mm}mm`:`${a.degrees}°`},a.id))]})]})]})]})});function b_(e,t,n=(r,a)=>r===a){return e.length===t.length&&e.every((r,a)=>n(r,t[a]))}const S_=2;function nu(e,t){return e-t}function pi(e,t){var n;const{index:r}=(n=e.reduce((a,s,i)=>{const l=Math.abs(t-s);return a===null||l<a.distance||l===a.distance?{distance:l,index:i}:a},null))!=null?n:{};return r}function yn(e,t){if(t.current!==void 0&&e.changedTouches){const n=e;for(let r=0;r<n.changedTouches.length;r+=1){const a=n.changedTouches[r];if(a.identifier===t.current)return{x:a.clientX,y:a.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function zn(e,t,n){return(e-t)*100/(n-t)}function x_(e,t,n){return(n-t)*e+t}function w_(e){if(Math.abs(e)<1){const n=e.toExponential().split("e-"),r=n[0].split(".")[1];return(r?r.length:0)+parseInt(n[1],10)}const t=e.toString().split(".")[1];return t?t.length:0}function j_(e,t,n){const r=Math.round((e-n)/t)*t+n;return Number(r.toFixed(w_(t)))}function yi({values:e,newValue:t,index:n}){const r=e.slice();return r[n]=t,r.sort(nu)}function _n({sliderRef:e,activeIndex:t,setActive:n}){var r,a;const s=pr(e.current);if(!((r=e.current)!=null&&r.contains(s.activeElement))||Number(s==null||(a=s.activeElement)==null?void 0:a.getAttribute("data-index"))!==t){var i;(i=e.current)==null||i.querySelector(`[type="range"][data-index="${t}"]`).focus()}n&&n(t)}function vn(e,t){return typeof e=="number"&&typeof t=="number"?e===t:typeof e=="object"&&typeof t=="object"?b_(e,t):!1}const R_={horizontal:{offset:e=>({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},A_=e=>e;let bn;function _i(){return bn===void 0&&(typeof CSS<"u"&&typeof CSS.supports=="function"?bn=CSS.supports("touch-action","none"):bn=!0),bn}function P_(e){const{"aria-labelledby":t,defaultValue:n,disabled:r=!1,disableSwap:a=!1,isRtl:s=!1,marks:i=!1,max:l=100,min:u=0,name:c,onChange:d,onChangeCommitted:h,orientation:m="horizontal",rootRef:b,scale:_=A_,step:y=1,shiftStep:p=10,tabIndex:x,value:j}=e,C=N.useRef(),[A,w]=N.useState(-1),[P,M]=N.useState(-1),[z,le]=N.useState(!1),ce=N.useRef(0),[D,q]=Zi({controlled:j,default:n??u,name:"Slider"}),G=d&&((I,L,F)=>{const K=I.nativeEvent||I,Q=new K.constructor(K.type,K);Object.defineProperty(Q,"target",{writable:!0,value:{value:L,name:c}}),d(Q,L,F)}),Z=Array.isArray(D);let X=Z?D.slice().sort(nu):[D];X=X.map(I=>I==null?u:mr(I,u,l));const xe=i===!0&&y!==null?[...Array(Math.floor((l-u)/y)+1)].map((I,L)=>({value:u+y*L})):i||[],ue=xe.map(I=>I.value),{isFocusVisibleRef:ee,onBlur:Re,onFocus:Oe,ref:nt}=Qi(),[_t,We]=N.useState(-1),we=N.useRef(),Ct=Ln(nt,we),lt=Ln(b,Ct),He=I=>L=>{var F;const K=Number(L.currentTarget.getAttribute("data-index"));Oe(L),ee.current===!0&&We(K),M(K),I==null||(F=I.onFocus)==null||F.call(I,L)},Ue=I=>L=>{var F;Re(L),ee.current===!1&&We(-1),M(-1),I==null||(F=I.onBlur)==null||F.call(I,L)},ut=(I,L)=>{const F=Number(I.currentTarget.getAttribute("data-index")),K=X[F],Q=ue.indexOf(K);let W=L;if(xe&&y==null){const Ve=ue[ue.length-1];W>Ve?W=Ve:W<ue[0]?W=ue[0]:W=W<K?ue[Q-1]:ue[Q+1]}if(W=mr(W,u,l),Z){a&&(W=mr(W,X[F-1]||-1/0,X[F+1]||1/0));const Ve=W;W=yi({values:X,newValue:W,index:F});let Xe=F;a||(Xe=W.indexOf(Ve)),_n({sliderRef:we,activeIndex:Xe})}q(W),We(F),G&&!vn(W,D)&&G(I,W,F),h&&h(I,W)},ct=I=>L=>{var F;if(y!==null){const K=Number(L.currentTarget.getAttribute("data-index")),Q=X[K];let W=null;(L.key==="ArrowLeft"||L.key==="ArrowDown")&&L.shiftKey||L.key==="PageDown"?W=Math.max(Q-p,u):((L.key==="ArrowRight"||L.key==="ArrowUp")&&L.shiftKey||L.key==="PageUp")&&(W=Math.min(Q+p,l)),W!==null&&(ut(L,W),L.preventDefault())}I==null||(F=I.onKeyDown)==null||F.call(I,L)};wo(()=>{if(r&&we.current.contains(document.activeElement)){var I;(I=document.activeElement)==null||I.blur()}},[r]),r&&A!==-1&&w(-1),r&&_t!==-1&&We(-1);const Ft=I=>L=>{var F;(F=I.onChange)==null||F.call(I,L),ut(L,L.target.valueAsNumber)},vt=N.useRef();let Je=m;s&&m==="horizontal"&&(Je+="-reverse");const O=({finger:I,move:L=!1})=>{const{current:F}=we,{width:K,height:Q,bottom:W,left:Ve}=F.getBoundingClientRect();let Xe;Je.indexOf("vertical")===0?Xe=(W-I.y)/Q:Xe=(I.x-Ve)/K,Je.indexOf("-reverse")!==-1&&(Xe=1-Xe);let re;if(re=x_(Xe,u,l),y)re=j_(re,y,u);else{const It=pi(ue,re);re=ue[It]}re=mr(re,u,l);let $e=0;if(Z){L?$e=vt.current:$e=pi(X,re),a&&(re=mr(re,X[$e-1]||-1/0,X[$e+1]||1/0));const It=re;re=yi({values:X,newValue:re,index:$e}),a&&L||($e=re.indexOf(It),vt.current=$e)}return{newValue:re,activeIndex:$e}},te=An(I=>{const L=yn(I,C);if(!L)return;if(ce.current+=1,I.type==="mousemove"&&I.buttons===0){he(I);return}const{newValue:F,activeIndex:K}=O({finger:L,move:!0});_n({sliderRef:we,activeIndex:K,setActive:w}),q(F),!z&&ce.current>S_&&le(!0),G&&!vn(F,D)&&G(I,F,K)}),he=An(I=>{const L=yn(I,C);if(le(!1),!L)return;const{newValue:F}=O({finger:L,move:!0});w(-1),I.type==="touchend"&&M(-1),h&&h(I,F),C.current=void 0,Le()}),Ee=An(I=>{if(r)return;_i()||I.preventDefault();const L=I.changedTouches[0];L!=null&&(C.current=L.identifier);const F=yn(I,C);if(F!==!1){const{newValue:Q,activeIndex:W}=O({finger:F});_n({sliderRef:we,activeIndex:W,setActive:w}),q(Q),G&&!vn(Q,D)&&G(I,Q,W)}ce.current=0;const K=pr(we.current);K.addEventListener("touchmove",te,{passive:!0}),K.addEventListener("touchend",he,{passive:!0})}),Le=N.useCallback(()=>{const I=pr(we.current);I.removeEventListener("mousemove",te),I.removeEventListener("mouseup",he),I.removeEventListener("touchmove",te),I.removeEventListener("touchend",he)},[he,te]);N.useEffect(()=>{const{current:I}=we;return I.addEventListener("touchstart",Ee,{passive:_i()}),()=>{I.removeEventListener("touchstart",Ee),Le()}},[Le,Ee]),N.useEffect(()=>{r&&Le()},[r,Le]);const Mt=I=>L=>{var F;if((F=I.onMouseDown)==null||F.call(I,L),r||L.defaultPrevented||L.button!==0)return;L.preventDefault();const K=yn(L,C);if(K!==!1){const{newValue:W,activeIndex:Ve}=O({finger:K});_n({sliderRef:we,activeIndex:Ve,setActive:w}),q(W),G&&!vn(W,D)&&G(L,W,Ve)}ce.current=0;const Q=pr(we.current);Q.addEventListener("mousemove",te,{passive:!0}),Q.addEventListener("mouseup",he)},je=zn(Z?X[0]:u,u,l),kt=zn(X[X.length-1],u,l)-je,Dt=(I={})=>{const L=Pn(I),F={onMouseDown:Mt(L||{})},K=k({},L,F);return k({},I,{ref:lt},K)},Rr=I=>L=>{var F;(F=I.onMouseOver)==null||F.call(I,L);const K=Number(L.currentTarget.getAttribute("data-index"));M(K)},Ar=I=>L=>{var F;(F=I.onMouseLeave)==null||F.call(I,L),M(-1)};return{active:A,axis:Je,axisProps:R_,dragging:z,focusedThumbIndex:_t,getHiddenInputProps:(I={})=>{var L;const F=Pn(I),K={onChange:Ft(F||{}),onFocus:He(F||{}),onBlur:Ue(F||{}),onKeyDown:ct(F||{})},Q=k({},F,K);return k({tabIndex:x,"aria-labelledby":t,"aria-orientation":m,"aria-valuemax":_(l),"aria-valuemin":_(u),name:c,type:"range",min:e.min,max:e.max,step:e.step===null&&e.marks?"any":(L=e.step)!=null?L:void 0,disabled:r},I,Q,{style:k({},ym,{direction:s?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:Dt,getThumbProps:(I={})=>{const L=Pn(I),F={onMouseOver:Rr(L||{}),onMouseLeave:Ar(L||{})};return k({},I,L,F)},marks:xe,open:P,range:Z,rootRef:lt,trackLeap:kt,trackOffset:je,values:X,getThumbStyle:I=>({pointerEvents:A!==-1&&A!==I?"none":void 0})}}const C_=e=>!e||!Ur(e);function M_(e){return nn("MuiSlider",e)}const Qe=Wi("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]),k_=e=>{const{open:t}=e;return{offset:gt(t&&Qe.valueLabelOpen),circle:Qe.valueLabelCircle,label:Qe.valueLabelLabel}};function au(e){const{children:t,className:n,value:r}=e,a=k_(e);return t?N.cloneElement(t,{className:gt(t.props.className)},o.jsxs(N.Fragment,{children:[t.props.children,o.jsx("span",{className:gt(a.offset,n),"aria-hidden":!0,children:o.jsx("span",{className:a.circle,children:o.jsx("span",{className:a.label,children:r})})})]})):null}process.env.NODE_ENV!=="production"&&(au.propTypes={children:f.element.isRequired,className:f.string,value:f.node});const I_=["aria-label","aria-valuetext","aria-labelledby","component","components","componentsProps","color","classes","className","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","orientation","shiftStep","size","step","scale","slotProps","slots","tabIndex","track","value","valueLabelDisplay","valueLabelFormat"];function vi(e){return e}const T_=Rt("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${Pe(n.color)}`],n.size!=="medium"&&t[`size${Pe(n.size)}`],n.marked&&t.marked,n.orientation==="vertical"&&t.vertical,n.track==="inverted"&&t.trackInverted,n.track===!1&&t.trackFalse]}})(({theme:e})=>{var t;return{borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${Qe.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${Qe.dragging}`]:{[`& .${Qe.thumb}, & .${Qe.track}`]:{transition:"none"}},variants:[...Object.keys(((t=e.vars)!=null?t:e).palette).filter(n=>{var r;return((r=e.vars)!=null?r:e).palette[n].main}).map(n=>({props:{color:n},style:{color:(e.vars||e).palette[n].main}})),{props:{orientation:"horizontal"},style:{height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}}},{props:{orientation:"horizontal",size:"small"},style:{height:2}},{props:{orientation:"horizontal",marked:!0},style:{marginBottom:20}},{props:{orientation:"vertical"},style:{height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}}},{props:{orientation:"vertical",size:"small"},style:{width:2}},{props:{orientation:"vertical",marked:!0},style:{marginRight:44}}]}}),O_=Rt("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38,variants:[{props:{orientation:"horizontal"},style:{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:"inverted"},style:{opacity:1}}]}),E_=Rt("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>{var t;return{display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest}),variants:[{props:{size:"small"},style:{border:"none"}},{props:{orientation:"horizontal"},style:{height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:!1},style:{display:"none"}},...Object.keys(((t=e.vars)!=null?t:e).palette).filter(n=>{var r;return((r=e.vars)!=null?r:e).palette[n].main}).map(n=>({props:{color:n,track:"inverted"},style:k({},e.vars?{backgroundColor:e.vars.palette.Slider[`${n}Track`],borderColor:e.vars.palette.Slider[`${n}Track`]}:k({backgroundColor:Za(e.palette[n].main,.62),borderColor:Za(e.palette[n].main,.62)},e.applyStyles("dark",{backgroundColor:Ya(e.palette[n].main,.5)}),e.applyStyles("dark",{borderColor:Ya(e.palette[n].main,.5)})))}))]}}),L_=Rt("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.thumb,t[`thumbColor${Pe(n.color)}`],n.size!=="medium"&&t[`thumbSize${Pe(n.size)}`]]}})(({theme:e})=>{var t;return{position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest}),"&::before":{position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&.${Qe.disabled}`]:{"&:hover":{boxShadow:"none"}},variants:[{props:{size:"small"},style:{width:12,height:12,"&::before":{boxShadow:"none"}}},{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-50%, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 50%)"}},...Object.keys(((t=e.vars)!=null?t:e).palette).filter(n=>{var r;return((r=e.vars)!=null?r:e).palette[n].main}).map(n=>({props:{color:n},style:{[`&:hover, &.${Qe.focusVisible}`]:k({},e.vars?{boxShadow:`0px 0px 0px 8px rgba(${e.vars.palette[n].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 8px ${hs(e.palette[n].main,.16)}`},{"@media (hover: none)":{boxShadow:"none"}}),[`&.${Qe.active}`]:k({},e.vars?{boxShadow:`0px 0px 0px 14px rgba(${e.vars.palette[n].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 14px ${hs(e.palette[n].main,.16)}`})}}))]}}),$_=Rt(au,{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})(({theme:e})=>k({zIndex:1,whiteSpace:"nowrap"},e.typography.body2,{fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem",variants:[{props:{orientation:"horizontal"},style:{transform:"translateY(-100%) scale(0)",top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"},[`&.${Qe.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"}}},{props:{orientation:"vertical"},style:{transform:"translateY(-50%) scale(0)",right:"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"},[`&.${Qe.valueLabelOpen}`]:{transform:"translateY(-50%) scale(1)"}}},{props:{size:"small"},style:{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}},{props:{orientation:"vertical",size:"small"},style:{right:"20px"}}]})),N_=Rt("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>Mo(e)&&e!=="markActive",overridesResolver:(e,t)=>{const{markActive:n}=e;return[t.mark,n&&t.markActive]}})(({theme:e})=>({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor",variants:[{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-1px, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 1px)"}},{props:{markActive:!0},style:{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}}]})),F_=Rt("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>Mo(e)&&e!=="markLabelActive",overridesResolver:(e,t)=>t.markLabel})(({theme:e})=>k({},e.typography.body2,{color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap",variants:[{props:{orientation:"horizontal"},style:{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}}},{props:{orientation:"vertical"},style:{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}}},{props:{markLabelActive:!0},style:{color:(e.vars||e).palette.text.primary}}]})),D_=e=>{const{disabled:t,dragging:n,marked:r,orientation:a,track:s,classes:i,color:l,size:u}=e,c={root:["root",t&&"disabled",n&&"dragging",r&&"marked",a==="vertical"&&"vertical",s==="inverted"&&"trackInverted",s===!1&&"trackFalse",l&&`color${Pe(l)}`,u&&`size${Pe(u)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",u&&`thumbSize${Pe(u)}`,l&&`thumbColor${Pe(l)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return Ro(c,M_,i)},B_=({children:e})=>e,ou=N.forwardRef(function(t,n){var r,a,s,i,l,u,c,d,h,m,b,_,y,p,x,j,C,A,w,P,M,z,le,ce;const D=ko({props:t,name:"MuiSlider"}),q=wm(),{"aria-label":G,"aria-valuetext":Z,"aria-labelledby":X,component:xe="span",components:ue={},componentsProps:ee={},color:Re="primary",classes:Oe,className:nt,disableSwap:_t=!1,disabled:We=!1,getAriaLabel:we,getAriaValueText:Ct,marks:lt=!1,max:He=100,min:Ue=0,orientation:ut="horizontal",shiftStep:ct=10,size:Ft="medium",step:vt=1,scale:Je=vi,slotProps:O,slots:te,track:he="normal",valueLabelDisplay:Ee="off",valueLabelFormat:Le=vi}=D,Mt=Be(D,I_),je=k({},D,{isRtl:q,max:He,min:Ue,classes:Oe,disabled:We,disableSwap:_t,orientation:ut,marks:lt,color:Re,size:Ft,step:vt,shiftStep:ct,scale:Je,track:he,valueLabelDisplay:Ee,valueLabelFormat:Le}),{axisProps:kt,getRootProps:Dt,getHiddenInputProps:Rr,getThumbProps:Ar,open:Pr,active:er,axis:at,focusedThumbIndex:I,range:L,dragging:F,marks:K,values:Q,trackOffset:W,trackLeap:Ve,getThumbStyle:Xe}=P_(k({},je,{rootRef:n}));je.marked=K.length>0&&K.some($=>$.label),je.dragging=F,je.focusedThumbIndex=I;const re=D_(je),$e=(r=(a=te==null?void 0:te.root)!=null?a:ue.Root)!=null?r:T_,It=(s=(i=te==null?void 0:te.rail)!=null?i:ue.Rail)!=null?s:O_,tr=(l=(u=te==null?void 0:te.track)!=null?u:ue.Track)!=null?l:E_,Cr=(c=(d=te==null?void 0:te.thumb)!=null?d:ue.Thumb)!=null?c:L_,bt=(h=(m=te==null?void 0:te.valueLabel)!=null?m:ue.ValueLabel)!=null?h:$_,Bt=(b=(_=te==null?void 0:te.mark)!=null?_:ue.Mark)!=null?b:N_,Ut=(y=(p=te==null?void 0:te.markLabel)!=null?p:ue.MarkLabel)!=null?y:F_,Mr=(x=(j=te==null?void 0:te.input)!=null?j:ue.Input)!=null?x:"input",kr=(C=O==null?void 0:O.root)!=null?C:ee.root,un=(A=O==null?void 0:O.rail)!=null?A:ee.rail,Ir=(w=O==null?void 0:O.track)!=null?w:ee.track,rr=(P=O==null?void 0:O.thumb)!=null?P:ee.thumb,nr=(M=O==null?void 0:O.valueLabel)!=null?M:ee.valueLabel,va=(z=O==null?void 0:O.mark)!=null?z:ee.mark,ba=(le=O==null?void 0:O.markLabel)!=null?le:ee.markLabel,cn=(ce=O==null?void 0:O.input)!=null?ce:ee.input,dn=Tt({elementType:$e,getSlotProps:Dt,externalSlotProps:kr,externalForwardedProps:Mt,additionalProps:k({},C_($e)&&{as:xe}),ownerState:k({},je,kr==null?void 0:kr.ownerState),className:[re.root,nt]}),Sa=Tt({elementType:It,externalSlotProps:un,ownerState:je,className:re.rail}),xa=Tt({elementType:tr,externalSlotProps:Ir,additionalProps:{style:k({},kt[at].offset(W),kt[at].leap(Ve))},ownerState:k({},je,Ir==null?void 0:Ir.ownerState),className:re.track}),Tr=Tt({elementType:Cr,getSlotProps:Ar,externalSlotProps:rr,ownerState:k({},je,rr==null?void 0:rr.ownerState),className:re.thumb}),wa=Tt({elementType:bt,externalSlotProps:nr,ownerState:k({},je,nr==null?void 0:nr.ownerState),className:re.valueLabel}),g=Tt({elementType:Bt,externalSlotProps:va,ownerState:je,className:re.mark}),R=Tt({elementType:Ut,externalSlotProps:ba,ownerState:je,className:re.markLabel}),E=Tt({elementType:Mr,getSlotProps:Rr,externalSlotProps:cn,ownerState:je});return o.jsxs($e,k({},dn,{children:[o.jsx(It,k({},Sa)),o.jsx(tr,k({},xa)),K.filter($=>$.value>=Ue&&$.value<=He).map(($,B)=>{const ne=zn($.value,Ue,He),V=kt[at].offset(ne);let U;return he===!1?U=Q.indexOf($.value)!==-1:U=he==="normal"&&(L?$.value>=Q[0]&&$.value<=Q[Q.length-1]:$.value<=Q[0])||he==="inverted"&&(L?$.value<=Q[0]||$.value>=Q[Q.length-1]:$.value>=Q[0]),o.jsxs(N.Fragment,{children:[o.jsx(Bt,k({"data-index":B},g,!Ur(Bt)&&{markActive:U},{style:k({},V,g.style),className:gt(g.className,U&&re.markActive)})),$.label!=null?o.jsx(Ut,k({"aria-hidden":!0,"data-index":B},R,!Ur(Ut)&&{markLabelActive:U},{style:k({},V,R.style),className:gt(re.markLabel,R.className,U&&re.markLabelActive),children:$.label})):null]},B)}),Q.map(($,B)=>{const ne=zn($,Ue,He),V=kt[at].offset(ne),U=Ee==="off"?B_:bt;return o.jsx(U,k({},!Ur(U)&&{valueLabelFormat:Le,valueLabelDisplay:Ee,value:typeof Le=="function"?Le(Je($),B):Le,index:B,open:Pr===B||er===B||Ee==="on",disabled:We},wa,{children:o.jsx(Cr,k({"data-index":B},Tr,{className:gt(re.thumb,Tr.className,er===B&&re.active,I===B&&re.focusVisible),style:k({},V,Xe(B),Tr.style),children:o.jsx(Mr,k({"data-index":B,"aria-label":we?we(B):G,"aria-valuenow":Je($),"aria-labelledby":X,"aria-valuetext":Ct?Ct(Je($),B):Z,value:Q[B]},E))}))}),B)})]}))});process.env.NODE_ENV!=="production"&&(ou.propTypes={"aria-label":os(f.string,e=>Array.isArray(e.value||e.defaultValue)&&e["aria-label"]!=null?new Error("MUI: You need to use the `getAriaLabel` prop instead of `aria-label` when using a range slider."):null),"aria-labelledby":f.string,"aria-valuetext":os(f.string,e=>Array.isArray(e.value||e.defaultValue)&&e["aria-valuetext"]!=null?new Error("MUI: You need to use the `getAriaValueText` prop instead of `aria-valuetext` when using a range slider."):null),children:f.node,classes:f.object,className:f.string,color:f.oneOfType([f.oneOf(["primary","secondary","error","info","success","warning"]),f.string]),components:f.shape({Input:f.elementType,Mark:f.elementType,MarkLabel:f.elementType,Rail:f.elementType,Root:f.elementType,Thumb:f.elementType,Track:f.elementType,ValueLabel:f.elementType}),componentsProps:f.shape({input:f.oneOfType([f.func,f.object]),mark:f.oneOfType([f.func,f.object]),markLabel:f.oneOfType([f.func,f.object]),rail:f.oneOfType([f.func,f.object]),root:f.oneOfType([f.func,f.object]),thumb:f.oneOfType([f.func,f.object]),track:f.oneOfType([f.func,f.object]),valueLabel:f.oneOfType([f.func,f.shape({children:f.element,className:f.string,open:f.bool,style:f.object,value:f.number,valueLabelDisplay:f.oneOf(["auto","off","on"])})])}),defaultValue:f.oneOfType([f.arrayOf(f.number),f.number]),disabled:f.bool,disableSwap:f.bool,getAriaLabel:f.func,getAriaValueText:f.func,marks:f.oneOfType([f.arrayOf(f.shape({label:f.node,value:f.number.isRequired})),f.bool]),max:f.number,min:f.number,name:f.string,onChange:f.func,onChangeCommitted:f.func,orientation:f.oneOf(["horizontal","vertical"]),scale:f.func,shiftStep:f.number,size:f.oneOfType([f.oneOf(["small","medium"]),f.string]),slotProps:f.shape({input:f.oneOfType([f.func,f.object]),mark:f.oneOfType([f.func,f.object]),markLabel:f.oneOfType([f.func,f.object]),rail:f.oneOfType([f.func,f.object]),root:f.oneOfType([f.func,f.object]),thumb:f.oneOfType([f.func,f.object]),track:f.oneOfType([f.func,f.object]),valueLabel:f.oneOfType([f.func,f.shape({children:f.element,className:f.string,open:f.bool,style:f.object,value:f.number,valueLabelDisplay:f.oneOf(["auto","off","on"])})])}),slots:f.shape({input:f.elementType,mark:f.elementType,markLabel:f.elementType,rail:f.elementType,root:f.elementType,thumb:f.elementType,track:f.elementType,valueLabel:f.elementType}),step:f.number,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),tabIndex:f.number,track:f.oneOf(["inverted","normal",!1]),value:f.oneOfType([f.arrayOf(f.number),f.number]),valueLabelDisplay:f.oneOf(["auto","off","on"]),valueLabelFormat:f.oneOfType([f.func,f.string])});var U_="[object Number]";function J_(e){return typeof e=="number"||Wt(e)&&Yt(e)==U_}const su=Te.observer(e=>{const t=T.useTheme(),n=e.valueLabelFormat||(a=>`${a}`);function r(a,s){s===e.velocity||!J_(s)||e.onVelocityChange(s)}return o.jsxs(o.Fragment,{children:[o.jsx(T.Typography,{sx:{textAlign:"center",fontSize:"14px",opacity:.8,lineHeight:1,color:t.palette.text.primary},children:n(e.velocity)}),o.jsx(ou,{value:e.velocity,color:"secondary",onChange:r,min:e.min,max:e.max,"aria-labelledby":"input-slider",disabled:e.disabled,sx:{"& .MuiSlider-valueLabelOpen":{zIndex:100,backgroundColor:"transparent",top:"0px"}}})]})}),iu=Te.observer(({store:e})=>{const{t}=qt.useTranslation(),n=Te.useLocalObservable(()=>({get valueLabelFormat(){return e.currentMotionType==="translate"?r=>`v=${t("Jogging.Cartesian.Translation.velocityMmPerSec.lb",{amount:r})}`:r=>`v=${t("Jogging.Cartesian.Rotation.velocityDegPerSec.lb",{amount:r})}`}}));return o.jsx(T.Stack,{sx:{margin:"0px 20px",marginBottom:"6px"},children:o.jsx(T.Stack,{sx:{width:"380px",maxWidth:"90%",margin:"auto"},children:o.jsx(su,{velocity:e.velocityInCurrentUnits,min:e.minVelocityInCurrentUnits,max:e.maxVelocityInCurrentUnits,onVelocityChange:e.setVelocityFromSlider,disabled:e.isLocked,valueLabelFormat:n.valueLabelFormat})})})}),V_=Te.observer(({store:e,children:t})=>{var h,m,b,_,y,p,x,j,C;const{t:n}=qt.useTranslation(),r=T.useTheme();function a(A,w){(w==="translate"||w==="rotate")&&e.setSelectedCartesianMotionType(w)}Io(()=>[e.selectedCoordSystemId,e.selectedTcpId],()=>{e.jogger.motionStream.motionStateSocket.changeUrl(e.jogger.nova.makeWebsocketURL(`/motion-groups/${e.jogger.motionGroupId}/state-stream?tcp=${e.selectedTcpId}&response_coordinate_system=${e.selectedCoordSystemId}`))},{fireImmediately:!0});async function s(A,w){const P=e.jogger.motionStream.rapidlyChangingMotionState.tcp_pose,M=e.jogger.motionStream.rapidlyChangingMotionState.state.joint_position;P&&await e.withMotionLock(async()=>{await e.jogger.runIncrementalCartesianMotion({currentTcpPose:P,currentJoints:M,coordSystemId:e.activeCoordSystemId,velocityInRelevantUnits:e.velocityInCurrentUnits,axis:A.axis,direction:A.direction,motion:e.selectedCartesianMotionType==="translate"?{type:"translate",distanceMm:w.mm}:{type:"rotate",distanceRads:Lt.degreesToRadians(w.degrees)}})})}async function i(A){if(!e.isLocked){if(e.activeDiscreteIncrement)return s(A,e.activeDiscreteIncrement);A.motionType==="translate"?await e.jogger.startTCPTranslation({axis:A.axis,direction:A.direction,velocityMmPerSec:e.translationVelocityMmPerSec}):await e.jogger.startTCPRotation({axis:A.axis,direction:A.direction,velocityRadsPerSec:e.rotationVelocityRadsPerSec})}}async function l(){e.isLocked||e.activeDiscreteIncrement||await e.jogger.stop()}const u=[{id:"x",colors:(b=(m=(h=r.componentsExt)==null?void 0:h.JoggingCartesian)==null?void 0:m.Axis)==null?void 0:b.X,icon:o.jsx(Tg,{})},{id:"y",colors:(p=(y=(_=r.componentsExt)==null?void 0:_.JoggingCartesian)==null?void 0:y.Axis)==null?void 0:p.Y,icon:o.jsx(Eg,{})},{id:"z",colors:(C=(j=(x=r.componentsExt)==null?void 0:x.JoggingCartesian)==null?void 0:j.Axis)==null?void 0:C.Z,icon:o.jsx($g,{})}];function c(A){return n("General.mm.variable",{amount:A.toFixed(1)})}function d(A){return n("General.degree.variable",{amount:Lt.radiansToDegrees(A).toFixed(1)})}return o.jsxs(T.Stack,{flexGrow:1,gap:4,children:[o.jsxs(T.Stack,{children:[o.jsx(Dg,{store:e}),o.jsx(v_,{store:e})]}),o.jsx(T.Stack,{width:"80%",maxWidth:"296px",marginLeft:"auto",marginRight:"auto",marginTop:"8px",marginBottom:"8px",gap:"12px",children:o.jsxs(T.ToggleButtonGroup,{value:e.selectedCartesianMotionType,onChange:a,exclusive:!0,"aria-label":n("Jogging.Cartesian.MotionType.lb"),sx:{justifyContent:"center"},children:[o.jsx(T.ToggleButton,{value:"translate",children:n("Jogging.Cartesian.Translation.bt")}),o.jsx(T.ToggleButton,{value:"rotate",children:n("Jogging.Cartesian.Rotation.bt")})]})}),o.jsx(Gl,{store:e,children:o.jsxs(T.Stack,{width:"80%",maxWidth:"296px",marginLeft:"auto",marginRight:"auto",marginTop:"8px",marginBottom:"8px",gap:"12px",children:[e.selectedCartesianMotionType==="translate"&&u.map(A=>o.jsx(eo,{colors:A.colors,disabled:e.isLocked,label:o.jsxs(o.Fragment,{children:[A.icon,o.jsx(T.Typography,{sx:{fontSize:"24px",color:"white"},children:A.id.toUpperCase()})]}),getDisplayedValue:()=>{var w;return c(((w=e.jogger.motionStream.rapidlyChangingMotionState.tcp_pose)==null?void 0:w.position[A.id])||0)},startJogging:w=>i({axis:A.id,motionType:"translate",direction:w}),stopJogging:l},A.id)),e.selectedCartesianMotionType==="rotate"&&u.map(A=>o.jsx(eo,{colors:A.colors,disabled:e.isLocked,label:o.jsxs(o.Fragment,{children:[o.jsx(Fg,{}),o.jsx(T.Typography,{sx:{fontSize:"24px",color:"white"},children:A.id.toUpperCase()})]}),getDisplayedValue:()=>{var w,P;return d(((P=(w=e.jogger.motionStream.rapidlyChangingMotionState.tcp_pose)==null?void 0:w.orientation)==null?void 0:P[A.id])||0)},startJogging:w=>i({axis:A.id,motionType:"rotate",direction:w}),stopJogging:l},A.id))]})}),o.jsxs(T.Stack,{children:[o.jsx(ru,{store:e}),o.jsx(iu,{store:e}),t]})]})}),G_=Te.observer(({store:e})=>{const t=Y.useRef(null);function n(){const{joints:r}=e.jogger.motionStream.rapidlyChangingMotionState.state.joint_position;return`[${r.map(a=>parseFloat(a.toFixed(4))).join(", ")}]`}return xr(()=>{t.current&&(t.current.textContent=n())}),o.jsx(T.Stack,{alignItems:"left",spacing:2,sx:{padding:"16px","& label":{opacity:.7,fontSize:"12px",marginBottom:"4px"}},children:o.jsx(zl,{value:n(),ref:t})})}),z_=Te.observer(({store:e,children:t})=>{async function n(a){await e.jogger.startJointRotation({joint:a.joint,direction:a.direction,velocityRadsPerSec:e.rotationVelocityRadsPerSec})}async function r(){await e.jogger.stop()}return o.jsxs(T.Stack,{flexGrow:1,justifyContent:"space-between",children:[o.jsx(G_,{store:e}),o.jsx(Gl,{store:e,children:o.jsx(T.Stack,{gap:"0.8rem",children:e.jogger.motionStream.joints.map(a=>{var u;const s=(u=e.motionGroupSpec.mechanical_joint_limits)==null?void 0:u[a.index],i=(s==null?void 0:s.lower_limit)!==void 0?Lt.radiansToDegrees(s.lower_limit):void 0,l=(s==null?void 0:s.upper_limit)!==void 0?Lt.radiansToDegrees(s.upper_limit):void 0;return o.jsxs(T.Stack,{direction:"row",alignItems:"center",gap:2,children:[o.jsx(T.Typography,{sx:{flexGrow:1,textAlign:"right"},children:`J${a.index+1}`}),o.jsx(yl,{disabled:e.isLocked,lowerLimitDegs:i,upperLimitDegs:l,getValueDegs:()=>{const c=e.jogger.motionStream.rapidlyChangingMotionState.state.joint_position.joints[a.index];return c!==void 0?Lt.radiansToDegrees(c):void 0},startJogging:c=>n({joint:a.index,direction:c}),stopJogging:r},a.index),o.jsx(T.Typography,{sx:{flexGrow:1}})]},`joint-${a.index}`)})})}),o.jsx(ru,{store:e}),o.jsx(iu,{store:e}),t]})});var bi=function(){try{var e=Qt(Object,"defineProperty");return e({},"",{}),e}catch{}}();function K_(e,t,n){t=="__proto__"&&bi?bi(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function W_(e,t,n,r){for(var a=-1,s=e==null?0:e.length;++a<s;){var i=e[a];t(r,i,n(i),e)}return r}function H_(e){return function(t,n,r){for(var a=-1,s=Object(t),i=r(t),l=i.length;l--;){var u=i[++a];if(n(s[u],u,s)===!1)break}return t}}var X_=H_();function q_(e,t){return e&&X_(e,t,Do)}function Y_(e,t){return function(n,r){if(n==null)return n;if(!tu(n))return e(n,r);for(var a=n.length,s=-1,i=Object(n);++s<a&&r(i[s],s,i)!==!1;);return n}}var Z_=Y_(q_);function Q_(e,t,n,r){return Z_(e,function(a,s,i){t(r,a,n(a),i)}),r}var e1=1,t1=2;function r1(e,t,n,r){var a=n.length,s=a;if(e==null)return!s;for(e=Object(e);a--;){var i=n[a];if(i[2]?i[1]!==e[i[0]]:!(i[0]in e))return!1}for(;++a<s;){i=n[a];var l=i[0],u=e[l],c=i[1];if(i[2]){if(u===void 0&&!(l in e))return!1}else{var d=new wt,h;if(!(h===void 0?ya(c,u,e1|t1,r,d):h))return!1}}return!0}function lu(e){return e===e&&!Kt(e)}function n1(e){for(var t=Do(e),n=t.length;n--;){var r=t[n],a=e[r];t[n]=[r,a,lu(a)]}return t}function uu(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function a1(e){var t=n1(e);return t.length==1&&t[0][2]?uu(t[0][0],t[0][1]):function(n){return n===e||r1(n,e,t)}}var o1=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s1=/^\w*$/;function Bo(e,t){if(pt(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||la(e)?!0:s1.test(e)||!o1.test(e)||t!=null&&e in Object(t)}var i1="Expected a function";function Uo(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(i1);var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],s=n.cache;if(s.has(a))return s.get(a);var i=e.apply(this,r);return n.cache=s.set(a,i)||s,i};return n.cache=new(Uo.Cache||Pt),n}Uo.Cache=Pt;var l1=500;function u1(e){var t=Uo(e,function(r){return n.size===l1&&n.clear(),r}),n=t.cache;return t}var c1=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,d1=/\\(\\)?/g,m1=u1(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(c1,function(n,r,a,s){t.push(a?s.replace(d1,"$1"):r||n)}),t});function h1(e,t){for(var n=-1,r=e==null?0:e.length,a=Array(r);++n<r;)a[n]=t(e[n],n,e);return a}var f1=1/0,Si=$t?$t.prototype:void 0,xi=Si?Si.toString:void 0;function cu(e){if(typeof e=="string")return e;if(pt(e))return h1(e,cu)+"";if(la(e))return xi?xi.call(e):"";var t=e+"";return t=="0"&&1/e==-f1?"-0":t}function du(e){return e==null?"":cu(e)}function mu(e,t){return pt(e)?e:Bo(e,t)?[e]:m1(du(e))}var g1=1/0;function _a(e){if(typeof e=="string"||la(e))return e;var t=e+"";return t=="0"&&1/e==-g1?"-0":t}function hu(e,t){t=mu(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[_a(t[n++])];return n&&n==r?e:void 0}function p1(e,t,n){var r=e==null?void 0:hu(e,t);return r===void 0?n:r}function y1(e,t){return e!=null&&t in Object(e)}function _1(e,t,n){t=mu(t,e);for(var r=-1,a=t.length,s=!1;++r<a;){var i=_a(t[r]);if(!(s=e!=null&&n(e,i)))break;e=e[i]}return s||++r!=a?s:(a=e==null?0:e.length,!!a&&Fo(a)&&Zl(i,a)&&(pt(e)||ql(e)))}function v1(e,t){return e!=null&&_1(e,t,y1)}var b1=1,S1=2;function x1(e,t){return Bo(e)&&lu(t)?uu(_a(e),t):function(n){var r=p1(n,e);return r===void 0&&r===t?v1(n,e):ya(t,r,b1|S1)}}function w1(e){return e}function j1(e){return function(t){return t==null?void 0:t[e]}}function R1(e){return function(t){return hu(t,e)}}function A1(e){return Bo(e)?j1(_a(e)):R1(e)}function P1(e){return typeof e=="function"?e:e==null?w1:typeof e=="object"?pt(e)?x1(e[0],e[1]):a1(e):A1(e)}function C1(e,t){return function(n,r){var a=pt(n)?W_:Q_,s={};return a(n,e,P1(r),s)}}var Sn=C1(function(e,t,n){K_(e,n,t)}),M1=0;function k1(e){var t=++M1;return du(e)+t}const fo=[{id:"0.1",mm:.1,degrees:.05},{id:"1",mm:1,degrees:.5},{id:"5",mm:5,degrees:2.5},{id:"10",mm:10,degrees:5}],I1=[{id:"continuous"},...fo];class Jo{constructor(t,n,r,a){var s,i;this.jogger=t,this.motionGroupSpec=n,this.coordSystems=r,this.tcps=a,this.selectedTabId="cartesian",this.manualActivationRequired=!0,this.activationState="inactive",this.activationError=null,this.activationCounter=0,this.locks=new Set,this.selectedCoordSystemId="world",this.selectedTcpId="",this.selectedOrientation="coordsys",this.selectedIncrementId="continuous",this.selectedCartesianMotionType="translate",this.incrementJoggingInProgress=!1,this.translationVelocityMmPerSec=10,this.rotationVelocityDegPerSec=1,this.minTranslationVelocityMmPerSec=5,this.maxTranslationVelocityMmPerSec=250,this.minRotationVelocityDegPerSec=1,this.maxRotationVelocityDegPerSec=60,this.disposers=[];for(const l of r)if(l.coordinate_system===""){l.coordinate_system="world";break}this.selectedCoordSystemId=((s=r[0])==null?void 0:s.coordinate_system)||"world",this.selectedTcpId=((i=a[0])==null?void 0:i.id)||"",dt.makeAutoObservable(this,{},{autoBind:!0}),this.loadFromLocalStorage(),this.disposers.push(dt.autorun(()=>this.saveToLocalStorage())),window.joggingStore=this}static async loadFor(t){const{nova:n}=t,[r,{coordinatesystems:a},{tcps:s}]=await Promise.all([n.api.motionGroupInfos.getMotionGroupSpecification(t.motionGroupId),n.api.coordinateSystems.listCoordinateSystems("ROTATION_VECTOR"),n.api.motionGroupInfos.listTcps(t.motionGroupId,"ROTATION_VECTOR")]);return new Jo(t,r,a||[],s||[])}dispose(){for(const t of this.disposers)t();this.jogger.dispose()}get coordSystemCountByName(){return Kn.countBy(this.coordSystems,t=>t.name)}async deactivate(t={}){if(this.activationState==="inactive")return;const n=this.jogger.activeWebsocket;this.activationState="inactive",this.jogger.setJoggingMode("increment"),n&&await n.closed();try{await this.jogger.nova.api.motionGroupJogging.stopJogging(this.jogger.motionGroupId)}catch(r){console.error(r)}t.requireManualReactivation&&dt.runInAction(()=>{this.manualActivationRequired=!0})}async activate(t={}){if(!(this.manualActivationRequired&&!t.manual)){dt.runInAction(()=>{this.activationState="loading",this.activationError=null});try{await this.jogger.nova.api.controller.setDefaultMode(this.jogger.motionStream.controllerId,"MODE_CONTROL")}catch(n){console.error(n)}if(this.currentTab.id==="cartesian"){const n={tcpId:this.selectedTcpId,coordSystemId:this.activeCoordSystemId};this.activeDiscreteIncrement?this.jogger.setJoggingMode("increment",n):this.jogger.setJoggingMode("cartesian",n)}else this.jogger.setJoggingMode("joint");if(this.jogger.activeWebsocket)try{this.jogger.stop(),await this.jogger.activeWebsocket.nextMessage()}catch(n){dt.runInAction(()=>{this.activationState="inactive",this.activationError=n});return}dt.runInAction(()=>{this.activationState="active",t.manual&&(this.manualActivationRequired=!1)})}}loadFromLocalStorage(){const t=Lt.tryParseJson(localStorage.getItem("joggingToolStore"));t&&(this.tabsById[t.selectedTabId]&&(this.selectedTabId=t.selectedTabId),this.coordSystemsById[t.selectedCoordSystemId]&&(this.selectedCoordSystemId=t.selectedCoordSystemId),this.tcpsById[t.selectedTcpId]&&(this.selectedTcpId=t.selectedTcpId),this.incrementOptionsById[t.selectedIncrementId]&&(this.selectedIncrementId=t.selectedIncrementId),["translate","rotate"].includes(t.selectedCartesianMotionType)&&(this.selectedCartesianMotionType=t.selectedCartesianMotionType),["coordsys","tool"].includes(t.selectedOrientation)&&(this.selectedOrientation=t.selectedOrientation))}saveToLocalStorage(){localStorage.setItem("joggingToolStore",JSON.stringify(this.localStorageSave))}get isLocked(){return this.locks.size>0}get localStorageSave(){return{selectedTabId:this.selectedTabId,selectedCoordSystemId:this.selectedCoordSystemId,selectedTcpId:this.selectedTcpId,selectedOrientation:this.selectedOrientation,selectedIncrementId:this.selectedIncrementId,selectedCartesianMotionType:this.selectedCartesianMotionType}}get tabs(){return[{id:"cartesian",label:"Cartesian"},{id:"joint",label:"Joint"}]}get incrementOptions(){return I1}get discreteIncrementOptions(){return fo}get incrementOptionsById(){return Sn(this.incrementOptions,t=>t.id)}get tabsById(){return Sn(this.tabs,t=>t.id)}get currentTab(){return this.tabsById[this.selectedTabId]||this.tabs[0]}get tabIndex(){return this.tabs.indexOf(this.currentTab)}get coordSystemsById(){return Sn(this.coordSystems,t=>t.coordinate_system)}get selectedCoordSystem(){return this.coordSystemsById[this.selectedCoordSystemId]}get activeCoordSystemId(){return this.selectedOrientation==="tool"?"tool":this.selectedCoordSystemId}get tcpsById(){return Sn(this.tcps,t=>t.id)}get activeDiscreteIncrement(){return this.selectedOrientation==="tool"?void 0:fo.find(t=>t.id===this.selectedIncrementId)}get rotationVelocityRadsPerSec(){return this.rotationVelocityDegPerSec*Math.PI/180}get velocityInCurrentUnits(){return this.currentMotionType==="translate"?this.translationVelocityMmPerSec:this.rotationVelocityDegPerSec}get minVelocityInCurrentUnits(){return this.currentMotionType==="translate"?this.minTranslationVelocityMmPerSec:this.minRotationVelocityDegPerSec}get maxVelocityInCurrentUnits(){return this.currentMotionType==="translate"?this.maxTranslationVelocityMmPerSec:this.maxRotationVelocityDegPerSec}get currentMotionType(){return this.selectedTabId==="cartesian"&&this.selectedCartesianMotionType==="translate"?"translate":"rotate"}onTabChange(t,n){const r=this.tabs[n]||this.tabs[0];this.selectedTabId=r.id}setSelectedCoordSystemId(t){this.selectedCoordSystemId=t}setSelectedTcpId(t){this.selectedTcpId=t}setSelectedOrientation(t){this.selectedOrientation=t}setSelectedIncrementId(t){this.selectedIncrementId=t}setIncrementJoggingInProgress(t){this.incrementJoggingInProgress=t}setVelocityFromSlider(t){this.currentMotionType==="translate"?this.translationVelocityMmPerSec=t:this.rotationVelocityDegPerSec=t}setSelectedCartesianMotionType(t){this.selectedCartesianMotionType=t}async withMotionLock(t){const n=k1();this.locks.add(n);try{return await t()}finally{this.locks.delete(n)}}}const T1=on(Te.observer(e=>{const t=Kn.isString(e.nova)?new Lt.NovaClient({instanceUrl:e.nova}):e.nova,n=Te.useLocalObservable(()=>({joggingStore:null,loadingError:null}));async function r(){dt.runInAction(()=>{n.loadingError=null,n.joggingStore=null});try{const a=await t.connectJogger(e.motionGroupId),s=await Jo.loadFor(a);dt.runInAction(()=>{n.joggingStore=s}),e.onSetup&&e.onSetup(s)}catch(a){n.loadingError=a}}return Y.useEffect(()=>(r(),()=>{var a;(a=n.joggingStore)==null||a.dispose()}),[e.nova,e.motionGroupId]),Y.useEffect(()=>{const a=n.joggingStore;a&&(e.locked?a.locks.add("external"):a.locks.delete("external"))},[e.locked]),o.jsx(T.Stack,{sx:{maxWidth:"460px",minWidth:"350px",overflowY:"auto",position:"relative",height:"100%"},children:n.joggingStore?o.jsx(O1,{store:n.joggingStore,children:e.children}):o.jsx(fa,{message:"Loading jogging",error:n.loadingError})})})),O1=Te.observer(({store:e,children:t})=>{Y.useEffect(()=>{function r(){e.deactivate()}function a(){e.activate()}return window.addEventListener("blur",r),window.addEventListener("focus",a),()=>{window.removeEventListener("blur",r),window.removeEventListener("focus",a)}}),Io(()=>[e.currentTab.id,e.selectedTcpId,e.activeCoordSystemId,e.activeDiscreteIncrement],()=>{e.activationState!=="inactive"&&e.activate()});function n(){if(e.currentTab.id==="cartesian")return o.jsx(o.Fragment,{children:o.jsx(V_,{store:e,children:t})});if(e.currentTab.id==="joint")return o.jsx(o.Fragment,{children:o.jsx(z_,{store:e,children:t})})}return o.jsxs(T.Stack,{flexGrow:1,height:"100%",children:[o.jsx(T.Tabs,{value:e.tabIndex,onChange:e.onTabChange,variant:"fullWidth",children:e.tabs.map(r=>o.jsx(T.Tab,{label:r.label,id:`jogging-tab-${r.id}`,"aria-controls":`jogging-tab-${r.id}`},r.id))}),o.jsx(T.Stack,{flexGrow:1,position:"relative",children:n()})]})});function E1(){const e=window.location.href;return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function L1({baseUrl:e=E1(),...t}){return o.jsxs(T.Dialog,{"aria-labelledby":"no-motion-group-modal-title",open:!0,fullWidth:!0,sx:{"& .MuiModal-backdrop":{backdropFilter:"blur(10px)"},"& .MuiDialog-paper":{"::before":{content:'""',height:"8px",width:"100%",background:"linear-gradient(90deg, #FF0E65 0%, #47D3FF 100%)"},background:"#101629"}},children:[o.jsx(T.DialogTitle,{id:"no-motion-group-modal-title",children:"No motion group found"}),o.jsxs(T.DialogContent,{sx:{marginTop:"3rem",marginBottom:"1.5rem",textAlign:"center"},children:[o.jsx(T.Typography,{color:"#fff",children:"Found no devices to connect to."}),o.jsx(T.Typography,{color:"#fff",children:"Please ensure a motion group has been created."})]}),o.jsx(T.DialogActions,{children:o.jsxs(T.Stack,{width:"100%",maxWidth:"300px",margin:"auto",marginBottom:"2rem",children:[o.jsx(T.Button,{href:`${e}/settings`,variant:"contained",sx:{borderRadius:"8px",width:"100%"},children:"Go to settings app"}),o.jsx(T.Button,{href:`${e}`,variant:"text",sx:{marginTop:"1rem",color:"#fff",textDecoration:"underline",fontSize:"0.75rem"},children:"Back to Homescreen"})]})})]})}const $1=Array(6).fill(2*Math.PI);fu.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0]};function fu({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Empty",children:[o.jsxs("group",{name:"visuals",children:[o.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1.geometry,material:a.abb_metal_polished}),o.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2.geometry,material:a.abb_white})]}),o.jsxs(v.animated.group,{name:"ABB_IRB1200_J00",children:[o.jsxs(v.animated.group,{name:"ABB_IRB1200_J01",position:[0,.399,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"ABB_IRB1200_J02",position:[.35,0,0],children:[o.jsxs(v.animated.group,{name:"ABB_IRB1200_J03",position:[.042,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"ABB_IRB1200_J04",position:[0,.351,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"ABB_IRB1200_J05",rotation:[Math.PI/2,0,-Math.PI],children:[o.jsx("group",{name:"ABB_IRB1200_FLG",position:[0,.082,0]}),o.jsx("mesh",{name:"visuals006",castShadow:!0,receiveShadow:!0,geometry:r.visuals006.geometry,material:a.abb_metal_black,position:[.791,-.351,0],rotation:[0,0,Math.PI/2]})]}),o.jsxs("group",{name:"visuals005",position:[-.791,0,.351],rotation:[Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals005_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals005_1.geometry,material:a.abb_metal_polished}),o.jsx("mesh",{name:"visuals005_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals005_2.geometry,material:a.abb_white})]})]}),o.jsxs("group",{name:"visuals004",position:[-.791,0,0],rotation:[-Math.PI,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals004_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals004_1.geometry,material:a.abb_metal_polished}),o.jsx("mesh",{name:"visuals004_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals004_2.geometry,material:a.abb_white}),o.jsx("mesh",{name:"visuals004_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals004_3.geometry,material:a.abb_red})]})]}),o.jsxs("group",{name:"visuals003",position:[-.749,0,0],rotation:[Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals003_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_1.geometry,material:a.abb_white}),o.jsx("mesh",{name:"visuals003_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_2.geometry,material:a.abb_red}),o.jsx("mesh",{name:"visuals003_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_3.geometry,material:a.abb_metal_polished})]})]}),o.jsxs("group",{name:"visuals002",position:[-.399,0,0],rotation:[Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals002_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals002_1.geometry,material:a.abb_white}),o.jsx("mesh",{name:"visuals002_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals002_2.geometry,material:a.abb_metal_polished})]})]}),o.jsxs("group",{name:"visuals001",children:[o.jsx("mesh",{name:"visuals001_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_1.geometry,material:a.abb_white}),o.jsx("mesh",{name:"visuals001_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_2.geometry,material:a.abb_metal_polished})]})]})]})})}gu.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0]};function gu({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsx("mesh",{name:"link_0",castShadow:!0,receiveShadow:!0,geometry:r.link_0.geometry,material:a.Plastic}),o.jsxs(v.animated.group,{name:"ABB_IRB_1300_115_10_J00",children:[o.jsxs(v.animated.group,{name:"ABB_IRB_1300_115_10_J01",position:[.15,.544,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"ABB_IRB_1300_115_10_J02",position:[.575,0,0],children:[o.jsxs(v.animated.group,{name:"ABB_IRB_1300_115_10_J03",position:[.04,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"ABB_IRB_1300_115_10_J04",position:[0,.425,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"ABB_IRB_1300_115_10_J05",rotation:[Math.PI/2,0,-Math.PI],children:[o.jsx("group",{name:"ABB_IRB_1300_115_10_FLG",position:[0,.092,0]}),o.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:r.link_6.geometry,material:a.Metal,position:[1.159,-.575,0],rotation:[0,0,Math.PI/2]})]}),o.jsx("mesh",{name:"link_5",castShadow:!0,receiveShadow:!0,geometry:r.link_5.geometry,material:a.Plastic,position:[-1.159,0,.575],rotation:[Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"link_4",position:[-1.159,-.15,0],rotation:[-Math.PI,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals004",castShadow:!0,receiveShadow:!0,geometry:r.visuals004.geometry,material:a.Plastic}),o.jsx("mesh",{name:"visuals004_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals004_1.geometry,material:a.PlasticRed})]})]}),o.jsxs("group",{name:"link_3",position:[-1.119,0,.15],rotation:[Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals003",castShadow:!0,receiveShadow:!0,geometry:r.visuals003.geometry,material:a.Plastic}),o.jsx("mesh",{name:"visuals003_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_1.geometry,material:a.PlasticRed}),o.jsx("mesh",{name:"visuals003_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_2.geometry,material:a.Plastic})]})]}),o.jsx("mesh",{name:"link_2",castShadow:!0,receiveShadow:!0,geometry:r.link_2.geometry,material:a.Plastic,position:[-.544,0,.15],rotation:[Math.PI/2,0,-Math.PI/2]})]}),o.jsx("mesh",{name:"link_1",castShadow:!0,receiveShadow:!0,geometry:r.link_1.geometry,material:a.Plastic})]})]})})}pu.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function pu({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs("group",{name:"M10iD",rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"M10iD_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"M10iD_J02",position:[.075,0,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"M10iD_J03",position:[.64,0,0],children:[o.jsxs(v.animated.group,{name:"M10iD_J04",position:[.195,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"M10iD_J05",position:[0,-.7,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"M10iD_J06",rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"M10iD_FLG",position:[0,-.075,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"M10iD_L06",castShadow:!0,receiveShadow:!0,geometry:r.M10iD_L06.geometry,material:a.Fanuc_BlackMetal_AO,position:[-.835,.775,0],rotation:[0,0,-Math.PI/2]})]}),o.jsx("mesh",{name:"M10iD_L05",castShadow:!0,receiveShadow:!0,geometry:r.M10iD_L05.geometry,material:a.Fanuc_BlackMetal_AO,position:[-.835,0,-.775],rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"M10iD_L04",position:[-.835,.075,0],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"Mesh_654",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_654.geometry,material:a.Fanuc_Yellow_Textured_AO}),o.jsx("mesh",{name:"Mesh_654_1",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_654_1.geometry,material:a.Fanuc_BlackMetal_AO})]})]}),o.jsxs("group",{name:"M10iD_L03",position:[-.64,0,-.075],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"Mesh_378",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_378.geometry,material:a.Material_1_AO}),o.jsx("mesh",{name:"Mesh_378_1",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_378_1.geometry,material:a.Fanuc_Yellow_Textured_AO}),o.jsx("mesh",{name:"Mesh_378_2",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_378_2.geometry,material:a.Fanuc_BlackMetal_AO})]})]}),o.jsxs("group",{name:"M10iD_L02",position:[0,0,-.075],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"Mesh_358",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_358.geometry,material:a.Fanuc_Yellow_Textured_AO}),o.jsx("mesh",{name:"Mesh_358_1",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_358_1.geometry,material:a.Fanuc_BlackMetal_AO})]})]}),o.jsxs("group",{name:"M10iD_L01",children:[o.jsx("mesh",{name:"Mesh_356",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_356.geometry,material:a.Fanuc_Yellow_Textured_AO}),o.jsx("mesh",{name:"Mesh_356_1",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_356_1.geometry,material:a.Material_1_AO}),o.jsx("mesh",{name:"Mesh_356_2",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_356_2.geometry,material:a.Fanuc_BlackMetal_AO})]})]}),o.jsx("mesh",{name:"M10iD_L00",castShadow:!0,receiveShadow:!0,geometry:r.M10iD_L00.geometry,material:a.Fanuc_BlackMetal_AO,rotation:[-Math.PI/2,0,0]})]})})})})}go.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function go({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs("group",{name:"M10iD",rotation:[0,0,0],children:[o.jsxs(v.animated.group,{name:"M20iD25_J00",children:[o.jsxs(v.animated.group,{name:"M20iD25_J01",position:[.075,0,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"M20iD25_J02",position:[.84,0,0],children:[o.jsxs(v.animated.group,{name:"M20iD25_J03",position:[.215,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"M20iD25_J04",position:[0,-.89,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"M20iD25_J05",rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"M20iD25_FLG",position:[0,-.09,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"M20iD25_L06",castShadow:!0,receiveShadow:!0,geometry:r.M20iD25_L06.geometry,material:a.Fanuc_BlackMetal_AO,position:[0,-.09,0],rotation:[Math.PI/2,0,Math.PI]})]}),o.jsx("mesh",{name:"M20iD25_L05",castShadow:!0,receiveShadow:!0,geometry:r.M20iD25_L05.geometry,material:a.Fanuc_BlackMetal_AO,rotation:[Math.PI,Math.PI/2,0]})]}),o.jsxs("group",{name:"M20iD25_L04",position:[0,-.286,0],rotation:[-Math.PI/2,Math.PI/2,0],children:[o.jsx("mesh",{name:"Mesh_2",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_2.geometry,material:a.Fanuc_Yellow_Textured_AO}),o.jsx("mesh",{name:"Mesh_2_1",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_2_1.geometry,material:a.Fanuc_BlackMetal_AO})]})]}),o.jsxs("group",{name:"M20iD25_L03",position:[0,.406,0],rotation:[Math.PI,Math.PI/2,0],children:[o.jsx("mesh",{name:"Mesh_15",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_15.geometry,material:a.Fanuc_BlackMetal_AO}),o.jsx("mesh",{name:"Mesh_15_1",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_15_1.geometry,material:a.Fanuc_Yellow_Textured_AO}),o.jsx("mesh",{name:"Mesh_15_2",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_15_2.geometry,material:a.Material_9_AO})]})]}),o.jsxs("group",{name:"M20iD25_L02",position:[0,.505,-.055],rotation:[-Math.PI,Math.PI/2,0],children:[o.jsx("mesh",{name:"Mesh_37",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_37.geometry,material:a.Fanuc_BlackMetal_AO}),o.jsx("mesh",{name:"Mesh_37_1",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_37_1.geometry,material:a.Fanuc_Yellow_Textured_AO})]})]}),o.jsxs("group",{name:"M20iD25_L01",rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"Mesh_45",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_45.geometry,material:a.Material_9_AO}),o.jsx("mesh",{name:"Mesh_45_1",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_45_1.geometry,material:a.Fanuc_Yellow_Textured_AO}),o.jsx("mesh",{name:"Mesh_45_2",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_45_2.geometry,material:a.Fanuc_BlackMetal_AO})]})]}),o.jsx("mesh",{name:"M20iD25_L00",castShadow:!0,receiveShadow:!0,geometry:r.M20iD25_L00.geometry,material:a.Fanuc_BlackMetal_AO,position:[0,-.425,0],rotation:[-Math.PI/2,0,0]})]})})})})}yu.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function yu({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs(v.animated.group,{name:"CRX10iA_J00",children:[o.jsxs(v.animated.group,{name:"CRX10iA_J01",rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"CRX10iA_J02",position:[.54,0,0],children:[o.jsxs(v.animated.group,{name:"CRX10iA_J03",rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"CRX10iA_J04",position:[0,-.54,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"CRX10iA_J05",position:[0,.15,0],rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"CRX10iA_FLG",position:[0,-.16,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"CRX10iA_L06",castShadow:!0,receiveShadow:!0,geometry:r.CRX10iA_L06.geometry,material:a.Fanuc_BlackMetal,position:[0,-.16,0],rotation:[0,0,-Math.PI/2]})]}),o.jsxs("group",{name:"CRX10iA_L05",position:[0,.15,0],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"J5CASING_UNIT001",castShadow:!0,receiveShadow:!0,geometry:r.J5CASING_UNIT001.geometry,material:a.Fanuc_WhitePlastic}),o.jsx("mesh",{name:"J5CASING_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:r.J5CASING_UNIT001_1.geometry,material:a.Fanuc_Green})]})]}),o.jsxs("group",{name:"CRX10iA_L04",position:[0,-.54,0],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"NAME_LABEL_CRX_10iA",castShadow:!0,receiveShadow:!0,geometry:r.NAME_LABEL_CRX_10iA.geometry,material:a.Fanuc_RedPlastic}),o.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_1",castShadow:!0,receiveShadow:!0,geometry:r.NAME_LABEL_CRX_10iA_1.geometry,material:a.Fanuc_BlackPlastic}),o.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_2",castShadow:!0,receiveShadow:!0,geometry:r.NAME_LABEL_CRX_10iA_2.geometry,material:a.Fanuc_WhitePlastic})]})]}),o.jsx("mesh",{name:"CRX10iA_L03",castShadow:!0,receiveShadow:!0,geometry:r.CRX10iA_L03.geometry,material:a.Fanuc_WhitePlastic,rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsx("mesh",{name:"CRX10iA_L02",castShadow:!0,receiveShadow:!0,geometry:r.CRX10iA_L02.geometry,material:a.Fanuc_WhitePlastic,rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"CRX10iA_L01",position:[0,-.117,0],children:[o.jsx("mesh",{name:"J2BASE_UNIT001",castShadow:!0,receiveShadow:!0,geometry:r.J2BASE_UNIT001.geometry,material:a.Fanuc_Green}),o.jsx("mesh",{name:"J2BASE_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:r.J2BASE_UNIT001_1.geometry,material:a.Fanuc_WhitePlastic}),o.jsx("mesh",{name:"J2BASE_UNIT001_2",castShadow:!0,receiveShadow:!0,geometry:r.J2BASE_UNIT001_2.geometry,material:a.Fanuc_GreenLED})]})]}),o.jsx("mesh",{name:"CRX10iA_L00",castShadow:!0,receiveShadow:!0,geometry:r.CRX10iA_L00.geometry,material:a.Fanuc_BlackMetal,position:[0,-.245,0]})]})})})}_u.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function _u({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsx("mesh",{name:"link_0",castShadow:!0,receiveShadow:!0,geometry:r.link_0.geometry,material:a.fanuc_metal_black}),o.jsxs(v.animated.group,{name:"FANUC_CRX20iAL_J00",position:[0,-.245,0],children:[o.jsxs(v.animated.group,{name:"FANUC_CRX20iAL_J01",position:[0,.245,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"FANUC_CRX20iAL_J02",position:[.71,0,0],children:[o.jsxs(v.animated.group,{name:"FANUC_CRX20iAL_J03",rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"FANUC_CRX20iAL_J04",position:[0,-.54,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"FANUC_CRX20iAL_J05",position:[0,.15,0],rotation:[-Math.PI/2,0,0],children:[o.jsx(v.animated.group,{name:"FANUC_CRX20iAL_FLG",position:[0,-.16,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:r.link_6.geometry,material:a.fanuc_metal_black,position:[-.71,.54,-.15],rotation:[0,0,-Math.PI/2]})]}),o.jsxs(v.animated.group,{name:"link_5",position:[-.71,0,-.54],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"shape053",castShadow:!0,receiveShadow:!0,geometry:r.shape053.geometry,material:a.fanuc_white}),o.jsx("mesh",{name:"shape053_1",castShadow:!0,receiveShadow:!0,geometry:r.shape053_1.geometry,material:a.fanuc_green})]})]}),o.jsxs(v.animated.group,{name:"link_4",position:[-.71,0,0],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"shape054",castShadow:!0,receiveShadow:!0,geometry:r.shape054.geometry,material:a.fanuc_white}),o.jsx("mesh",{name:"shape054_1",castShadow:!0,receiveShadow:!0,geometry:r.shape054_1.geometry,material:a.fanuc_red}),o.jsx("mesh",{name:"shape054_2",castShadow:!0,receiveShadow:!0,geometry:r.shape054_2.geometry,material:a.fanuc_metal_black})]})]}),o.jsxs(v.animated.group,{name:"link_3",position:[-.71,0,0],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"shape009",castShadow:!0,receiveShadow:!0,geometry:r.shape009.geometry,material:a.fanuc_green}),o.jsx("mesh",{name:"shape009_1",castShadow:!0,receiveShadow:!0,geometry:r.shape009_1.geometry,material:a.fanuc_white})]})]}),o.jsx("mesh",{name:"link_2",castShadow:!0,receiveShadow:!0,geometry:r.link_2.geometry,material:a.fanuc_white,rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"link_1",position:[0,.245,0],children:[o.jsx("mesh",{name:"shape005",castShadow:!0,receiveShadow:!0,geometry:r.shape005.geometry,material:a.fanuc_white}),o.jsx("mesh",{name:"shape005_1",castShadow:!0,receiveShadow:!0,geometry:r.shape005_1.geometry,material:a.fanuc_green})]})]})]})})})}vu.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function vu({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",position:[0,-.37,0],children:[o.jsxs("group",{name:"CRX25iA_L00",children:[o.jsx("mesh",{name:"J1BASE_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:r.J1BASE_NetGen_Coarse.geometry,material:a.Fanuc_BlackMetal}),o.jsx("mesh",{name:"J1BASE_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:r.J1BASE_NetGen_Coarse_1.geometry,material:a.Fanuc_GreenPlastic})]}),o.jsxs(v.animated.group,{name:"CRX25iA_J00",children:[o.jsxs(v.animated.group,{name:"CRX25iA_J01",position:[0,.37,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"CRX25iA_J02",position:[.95,0,0],children:[o.jsxs(v.animated.group,{name:"CRX25iA_J03",rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"CRX25iA_J04",position:[0,-.75,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"CRX25iA_J05",position:[0,.185,0],rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"CRX25iA_FLG",position:[0,-.18,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"CRX25iA_L06",castShadow:!0,receiveShadow:!0,geometry:r.CRX25iA_L06.geometry,material:a.Fanuc_BlackMetal,position:[0,-.18,0]})]}),o.jsxs("group",{name:"CRX25iA_L05",position:[0,.185,0],children:[o.jsx("mesh",{name:"J6CASING_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:r.J6CASING_NetGen_Coarse.geometry,material:a.Fanuc_WhitePlastic}),o.jsx("mesh",{name:"J6CASING_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:r.J6CASING_NetGen_Coarse_1.geometry,material:a.Fanuc_GreenPlastic})]})]}),o.jsxs("group",{name:"CRX25iA_L04",position:[0,-.75,0],children:[o.jsx("mesh",{name:"J3ARM_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:r.J3ARM_NetGen_Coarse.geometry,material:a.Fanuc_WhitePlastic}),o.jsx("mesh",{name:"J3ARM_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:r.J3ARM_NetGen_Coarse_1.geometry,material:a.Fanuc_RedPlastic}),o.jsx("mesh",{name:"J3ARM_NetGen_Coarse_2",castShadow:!0,receiveShadow:!0,geometry:r.J3ARM_NetGen_Coarse_2.geometry,material:a.Fanuc_BlackPlastic})]})]}),o.jsxs("group",{name:"CRX25iA_L03",children:[o.jsx("mesh",{name:"J3CASING_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:r.J3CASING_NetGen_Coarse.geometry,material:a.Fanuc_WhitePlastic}),o.jsx("mesh",{name:"J3CASING_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:r.J3CASING_NetGen_Coarse_1.geometry,material:a.Fanuc_GreenPlastic})]})]}),o.jsx("mesh",{name:"CRX25iA_L02",castShadow:!0,receiveShadow:!0,geometry:r.CRX25iA_L02.geometry,material:a.Fanuc_WhitePlastic})]}),o.jsxs("group",{name:"CRX25iA_L01",position:[0,.18,0],children:[o.jsx("mesh",{name:"J2BASE_NetGen_Coarse",castShadow:!0,receiveShadow:!0,geometry:r.J2BASE_NetGen_Coarse.geometry,material:a.Fanuc_WhitePlastic}),o.jsx("mesh",{name:"J2BASE_NetGen_Coarse_1",castShadow:!0,receiveShadow:!0,geometry:r.J2BASE_NetGen_Coarse_1.geometry,material:a.Fanuc_GreenLED})]})]})]})})})}bu.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function bu({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs(v.animated.group,{name:"CRX10iA_J00",children:[o.jsxs(v.animated.group,{name:"CRX10iA_J01",position:[0,.245,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"CRX10iA_J02",position:[.71,0,0],children:[o.jsxs(v.animated.group,{name:"CRX10iA_J03",rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"CRX10iA_J04",position:[0,-.54,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"CRX10iA_J05",position:[0,.15,0],rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"CRX10iA_FLG",position:[0,-.16,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"CRX10iA_L06",castShadow:!0,receiveShadow:!0,geometry:r.CRX10iA_L06.geometry,material:a["Fanuc_BlackMetal.001"],position:[0,-.16,0],rotation:[0,0,-Math.PI/2]})]}),o.jsxs("group",{name:"CRX10iA_L05",position:[0,.15,0],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"J5CASING_UNIT001",castShadow:!0,receiveShadow:!0,geometry:r.J5CASING_UNIT001.geometry,material:a["Fanuc_WhitePlastic.001"]}),o.jsx("mesh",{name:"J5CASING_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:r.J5CASING_UNIT001_1.geometry,material:a["Fanuc_Green.001"]})]})]}),o.jsxs("group",{name:"CRX10iA_L04",position:[0,-.54,0],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_L001",castShadow:!0,receiveShadow:!0,geometry:r.NAME_LABEL_CRX_10iA_L001.geometry,material:a["Fanuc_WhitePlastic.001"]}),o.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_L001_1",castShadow:!0,receiveShadow:!0,geometry:r.NAME_LABEL_CRX_10iA_L001_1.geometry,material:a["Fanuc_RedPlastic.001"]}),o.jsx("mesh",{name:"NAME_LABEL_CRX_10iA_L001_2",castShadow:!0,receiveShadow:!0,geometry:r.NAME_LABEL_CRX_10iA_L001_2.geometry,material:a["Fanuc_BlackPlastic.001"]})]})]}),o.jsxs("group",{name:"CRX10iA_L03",rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"J3CASING_UNIT001",castShadow:!0,receiveShadow:!0,geometry:r.J3CASING_UNIT001.geometry,material:a["Fanuc_WhitePlastic.001"]}),o.jsx("mesh",{name:"J3CASING_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:r.J3CASING_UNIT001_1.geometry,material:a["Fanuc_Green.001"]})]})]}),o.jsx("mesh",{name:"CRX10iA_L02",castShadow:!0,receiveShadow:!0,geometry:r.CRX10iA_L02.geometry,material:a["Fanuc_WhitePlastic.001"],rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"CRX10iA_L01",position:[0,.128,0],children:[o.jsx("mesh",{name:"J2BASE_UNIT001",castShadow:!0,receiveShadow:!0,geometry:r.J2BASE_UNIT001.geometry,material:a["Fanuc_WhitePlastic.001"]}),o.jsx("mesh",{name:"J2BASE_UNIT001_1",castShadow:!0,receiveShadow:!0,geometry:r.J2BASE_UNIT001_1.geometry,material:a["Fanuc_Green.001"]}),o.jsx("mesh",{name:"J2BASE_UNIT001_2",castShadow:!0,receiveShadow:!0,geometry:r.J2BASE_UNIT001_2.geometry,material:a["Fanuc_GreenLED.001"]})]})]}),o.jsx("mesh",{name:"CRX10iA_L00",castShadow:!0,receiveShadow:!0,geometry:r.CRX10iA_L00.geometry,material:a["Fanuc_BlackMetal.001"]})]})})})}Su.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function Su({modelURL:e,...t}){const{nodes:n,materials:r}=H.useGLTF(e);return o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Empty",children:[o.jsxs("group",{name:"link_0",children:[o.jsx("mesh",{name:"shape002",castShadow:!0,receiveShadow:!0,geometry:n.shape002.geometry,material:r.fanuc_metal_black_AO}),o.jsx("mesh",{name:"shape002_1",castShadow:!0,receiveShadow:!0,geometry:n.shape002_1.geometry,material:r.fanuc_stainless_steel_AO})]}),o.jsxs(v.animated.group,{name:"FANUC_LRMATE-200ID_J00",children:[o.jsxs(v.animated.group,{name:"FANUC_LRMATE-200ID_J01",position:[.05,0,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"FANUC_LRMATE-200ID_J02",position:[.33,0,0],children:[o.jsxs(v.animated.group,{name:"FANUC_LRMATE-200ID_J03",position:[.035,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"FANUC_LRMATE-200ID_J04",position:[0,-.335,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"FANUC_LRMATE-200ID_J05",rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"FANUC_LRMATE-200ID_FLG",position:[0,-.08,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:n.link_6.geometry,material:r.fanuc_metal_black_AO,position:[-.365,.385,0],rotation:[0,0,-Math.PI/2]})]}),o.jsx("mesh",{name:"link_5",castShadow:!0,receiveShadow:!0,geometry:n.link_5.geometry,material:r.fanuc_yellow_AO,position:[-.365,0,-.385],rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"link_4",position:[-.365,.05,0],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"shape010",castShadow:!0,receiveShadow:!0,geometry:n.shape010.geometry,material:r.fanuc_yellow_AO}),o.jsx("mesh",{name:"shape010_1",castShadow:!0,receiveShadow:!0,geometry:n.shape010_1.geometry,material:r.fanuc_aluminium_black_AO})]})]}),o.jsx("mesh",{name:"link_3",castShadow:!0,receiveShadow:!0,geometry:n.link_3.geometry,material:r.fanuc_yellow_AO,position:[-.33,0,-.05],rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsx("mesh",{name:"link_2",castShadow:!0,receiveShadow:!0,geometry:n.link_2.geometry,material:r.fanuc_yellow_AO,position:[0,0,-.05],rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsx("mesh",{name:"link_1",castShadow:!0,receiveShadow:!0,geometry:n.link_1.geometry,material:r.fanuc_yellow_AO})]})]})})}function N1({modelURL:e,...t}){const{nodes:n,materials:r}=H.useGLTF(e);return o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs("group",{name:"link_0",children:[o.jsx("mesh",{name:"visuals_0",castShadow:!0,receiveShadow:!0,geometry:n.visuals_0.geometry,material:r.fanuc_metal_black}),o.jsx("mesh",{name:"visuals_0_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_0_1.geometry,material:r.fanuc_metal_black}),o.jsx("mesh",{name:"visuals_0_2",castShadow:!0,receiveShadow:!0,geometry:n.visuals_0_2.geometry,material:r.fanuc_aluminium_black})]}),o.jsxs(v.animated.group,{name:"FANUC_LRMATE200ID7L_J00",children:[o.jsxs(v.animated.group,{name:"FANUC_LRMATE200ID7L_J01",position:[.05,0,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"FANUC_LRMATE200ID7L_J02",position:[.44,0,0],children:[o.jsxs(v.animated.group,{name:"FANUC_LRMATE200ID7L_J03",position:[.035,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"FANUC_LRMATE200ID7L_J04",position:[0,-.42,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"FANUC_LRMATE200ID7L_J05",rotation:[-Math.PI/2,0,0],children:[o.jsx(v.animated.group,{name:"FANUC_LRMATE200ID7L_FLG",position:[0,-.08,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:n.link_6.geometry,material:r.fanuc_metal_black,position:[-.475,.47,0],rotation:[0,0,-Math.PI/2]})]}),o.jsxs("group",{name:"link_5",position:[-.475,0,-.47],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals_5",castShadow:!0,receiveShadow:!0,geometry:n.visuals_5.geometry,material:r.fanuc_yellow}),o.jsx("mesh",{name:"visuals_5_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_5_1.geometry,material:r.fanuc_stainless_steel}),o.jsx("mesh",{name:"visuals_5_2",castShadow:!0,receiveShadow:!0,geometry:n.visuals_5_2.geometry,material:r.fanuc_metal_black})]})]}),o.jsxs("group",{name:"link_4",position:[-.475,.05,0],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals_4",castShadow:!0,receiveShadow:!0,geometry:n.visuals_4.geometry,material:r.fanuc_yellow}),o.jsx("mesh",{name:"visuals_4_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_4_1.geometry,material:r.fanuc_aluminium_black})]})]}),o.jsxs("group",{name:"link_3",position:[-.44,0,-.05],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals_3",castShadow:!0,receiveShadow:!0,geometry:n.visuals_3.geometry,material:r.fanuc_yellow}),o.jsx("mesh",{name:"visuals_3_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_3_1.geometry,material:r.fanuc_stainless_steel})]})]}),o.jsx("mesh",{name:"link_2",castShadow:!0,receiveShadow:!0,geometry:n.link_2.geometry,material:r.fanuc_yellow,position:[0,0,-.05],rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"link_1",children:[o.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_1.geometry,material:r.fanuc_yellow}),o.jsx("mesh",{name:"visuals_1_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_1_1.geometry,material:r.fanuc_stainless_steel})]})]})]})})}xu.config={rotationOffsets:[0,0,-Math.PI/2,0,0,0]};function xu({modelURL:e,...t}){const{nodes:n,materials:r}=H.useGLTF(e);return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs("group",{name:"link_0",children:[o.jsx("mesh",{name:"visuals_0",castShadow:!0,receiveShadow:!0,geometry:n.visuals_0.geometry,material:r.material_Material_Metall}),o.jsx("mesh",{name:"visuals_0_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_0_1.geometry,material:r.material_Material_Farbe__2_}),o.jsx("mesh",{name:"visuals_0_2",castShadow:!0,receiveShadow:!0,geometry:n.visuals_0_2.geometry,material:r.material_Material_Metall})]}),o.jsxs(v.animated.group,{name:"KUKA_KR16R2010_2_J00",children:[o.jsxs(v.animated.group,{name:"KUKA_KR16R2010_2_J01",position:[.16,.52,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"KUKA_KR16R2010_2_J02",position:[.98,0,0],rotation:[0,-Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"KUKA_KR16R2010_2_J03",position:[.15,0,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"KUKA_KR16R2010_2_J04",position:[0,-.86,0],rotation:[-Math.PI/2,0,0],children:[o.jsx(v.animated.group,{name:"KUKA_KR16R2010_2_J05",rotation:[-Math.PI/2,0,-Math.PI],children:o.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:n.link_6.geometry,material:r.material_Material_Farbe__2_,position:[.67,2,0],rotation:[-Math.PI,0,Math.PI/2]})}),o.jsx("mesh",{name:"link_5",castShadow:!0,receiveShadow:!0,geometry:n.link_5.geometry,material:r.material_Material_Farbe,position:[-.67,0,2],rotation:[Math.PI/2,0,-Math.PI/2]})]}),o.jsx("mesh",{name:"link_4",castShadow:!0,receiveShadow:!0,geometry:n.link_4.geometry,material:r.material_Material_Farbe,position:[-.67,1.14,0],rotation:[0,0,-Math.PI/2]})]}),o.jsxs("group",{name:"link_3",position:[-.52,0,1.14],rotation:[Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals_3",castShadow:!0,receiveShadow:!0,geometry:n.visuals_3.geometry,material:r.material_Material_Farbe}),o.jsx("mesh",{name:"visuals_3_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_3_1.geometry,material:r.material_Material_Metall}),o.jsx("mesh",{name:"visuals_3_2",castShadow:!0,receiveShadow:!0,geometry:n.visuals_3_2.geometry,material:r.material_Material_Farbe__2_})]})]}),o.jsxs("group",{name:"link_2",position:[-.16,0,-.52],rotation:[Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:n.visuals_2.geometry,material:r.material_Material_Farbe}),o.jsx("mesh",{name:"visuals_2_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_2_1.geometry,material:r.material_Material_Metall})]})]}),o.jsxs("group",{name:"link_1",children:[o.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_1.geometry,material:r.material_Material_Farbe}),o.jsx("mesh",{name:"visuals_1_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_1_1.geometry,material:r.material_Material_Farbe__2_}),o.jsx("mesh",{name:"visuals_1_2",castShadow:!0,receiveShadow:!0,geometry:n.visuals_1_2.geometry,material:r.material_Material_Metall})]})]})]})})})}wu.config={rotationOffsets:[0,0,-Math.PI/2,0,0,0]};function wu({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs("group",{name:"kuka_kr210_2700",children:[o.jsxs(v.animated.group,{name:"joint_01",children:[o.jsxs(v.animated.group,{name:"joint_02",position:[.33,.645,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"joint_03",position:[1.15,0,0],rotation:[0,-Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"joint_04",position:[.115,0,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"joint_05",position:[0,-1.22,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"joint_06",rotation:[Math.PI/2,0,0],children:[o.jsx("group",{name:"flange",position:[0,-.215,0],rotation:[-Math.PI,0,0]}),o.jsx("group",{name:"link_6",position:[0,-.17,0],rotation:[0,0,-Math.PI/2],children:o.jsx("mesh",{name:"visuals006",castShadow:!0,receiveShadow:!0,geometry:r.visuals006.geometry,material:a.material_Material_Metall_black})})]}),o.jsx("group",{name:"link_5",position:[0,.059,0],rotation:[Math.PI/2,0,-Math.PI/2],children:o.jsxs("group",{name:"visuals005",children:[o.jsx("mesh",{name:"visuals005_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals005_1.geometry,material:a.material_Material_metal_black}),o.jsx("mesh",{name:"visuals005_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals005_2.geometry,material:a.material_Material_kuka_orange})]})})]}),o.jsx("group",{name:"link_4",position:[0,-.869,0],rotation:[0,0,-Math.PI/2],children:o.jsxs("group",{name:"visuals004",children:[o.jsx("mesh",{name:"visuals004_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals004_1.geometry,material:a.material_Material_metal_black}),o.jsx("mesh",{name:"visuals004_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals004_2.geometry,material:a.material_Material_kuka_orange})]})})]}),o.jsx("group",{name:"link_3",position:[0,-.105,0],rotation:[Math.PI/2,0,-Math.PI/2],children:o.jsxs("group",{name:"visuals003",children:[o.jsx("mesh",{name:"visuals003_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_1.geometry,material:a.material_Material_rubber}),o.jsx("mesh",{name:"visuals003_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_2.geometry,material:a.material_Material_aluminium}),o.jsx("mesh",{name:"visuals003_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_3.geometry,material:a.material_Material_metal_black}),o.jsx("mesh",{name:"visuals003_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_4.geometry,material:a.material_Material_kuka_black}),o.jsx("mesh",{name:"visuals003_5",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_5.geometry,material:a.material_Material_Rubber_black}),o.jsx("mesh",{name:"visuals003_6",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_6.geometry,material:a.material_Material_kuka_orange}),o.jsx("mesh",{name:"visuals003_7",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_7.geometry,material:a.material_Material_stainless_steel})]})})]}),o.jsx("group",{name:"link_2",position:[0,.009,0],rotation:[Math.PI/2,0,0],children:o.jsxs("group",{name:"visuals002",children:[o.jsx("mesh",{name:"visuals002_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals002_1.geometry,material:a.material_Material_metal_black}),o.jsx("mesh",{name:"visuals002_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals002_2.geometry,material:a.material_Material_Rubber_black}),o.jsx("mesh",{name:"visuals002_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals002_3.geometry,material:a.material_Material_kuka_orange})]})})]}),o.jsx("group",{name:"link_1",position:[0,.236,0],children:o.jsxs("group",{name:"visuals001",children:[o.jsx("mesh",{name:"visuals001_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_1.geometry,material:a.material_Material_kuka_black}),o.jsx("mesh",{name:"visuals001_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_2.geometry,material:a.material_Material_kuka_orange}),o.jsx("mesh",{name:"visuals001_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_3.geometry,material:a.material_Material_rubber}),o.jsx("mesh",{name:"visuals001_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_4.geometry,material:a.material_Material_metal_black}),o.jsx("mesh",{name:"visuals001_5",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_5.geometry,material:a.material_Material_aluminium}),o.jsx("mesh",{name:"visuals001_6",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_6.geometry,material:a.material_Material_rubber_black}),o.jsx("mesh",{name:"visuals001_7",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_7.geometry,material:a.material_Material_stainless_steel})]})})]}),o.jsx("group",{name:"link_0",children:o.jsxs("group",{name:"visuals",children:[o.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1.geometry,material:a.material_Material_kuka_black}),o.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2.geometry,material:a.material_Material_metal_black})]})})]})})})})}ju.config={rotationOffsets:[0,0,-Math.PI/2,0,0,0]};function ju({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs(v.animated.group,{name:"joint_01",children:[o.jsxs(v.animated.group,{name:"joint_02",position:[.35,.675,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"joint_03",position:[1.15,0,0],rotation:[0,-Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"joint_04",position:[-.041,0,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"joint_05",position:[0,-1.2,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"joint_06",rotation:[Math.PI/2,0,0],children:[o.jsx("group",{name:"flange",position:[0,-.24,0],rotation:[-Math.PI,0,0]}),o.jsx("group",{name:"link_6",position:[0,-.213,0],rotation:[0,0,-Math.PI/2],children:o.jsxs("group",{name:"visuals006",children:[o.jsx("mesh",{name:"visuals006_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals006_1.geometry,material:a.material_Material_Farbe__1_}),o.jsx("mesh",{name:"visuals006_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals006_2.geometry,material:a.material_Material_Metall})]})})]}),o.jsx("group",{name:"link_5",position:[0,.044,0],rotation:[Math.PI/2,0,-Math.PI/2],children:o.jsx("mesh",{name:"visuals005",castShadow:!0,receiveShadow:!0,geometry:r.visuals005.geometry,material:a.material_Material_Farbe})})]}),o.jsx("group",{name:"link_4",position:[0,-.954,0],rotation:[0,0,-Math.PI/2],children:o.jsx("mesh",{name:"visuals004",castShadow:!0,receiveShadow:!0,geometry:r.visuals004.geometry,material:a.material_Material_Farbe})})]}),o.jsx("group",{name:"link_3",position:[0,-.178,0],rotation:[Math.PI/2,0,-Math.PI/2],children:o.jsxs("group",{name:"visuals003",children:[o.jsx("mesh",{name:"visuals003_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_1.geometry,material:a.material_Material_Farbe__1_}),o.jsx("mesh",{name:"visuals003_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_2.geometry,material:a.material_Material_Farbe__2_}),o.jsx("mesh",{name:"visuals003_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_3.geometry,material:a.material_Material_Metall}),o.jsx("mesh",{name:"visuals003_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals003_4.geometry,material:a.material_Material_Farbe})]})})]}),o.jsx("group",{name:"link_2",rotation:[Math.PI/2,0,0],children:o.jsxs("group",{name:"visuals002",children:[o.jsx("mesh",{name:"visuals002_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals002_1.geometry,material:a.material_Material_Farbe}),o.jsx("mesh",{name:"visuals002_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals002_2.geometry,material:a.material_Material_Farbe__1_}),o.jsx("mesh",{name:"visuals002_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals002_3.geometry,material:a.material_Material_Metall}),o.jsx("mesh",{name:"visuals002_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals002_4.geometry,material:a.material_Material_Farbe__2_})]})})]}),o.jsx("group",{name:"link_1",position:[0,.226,0],children:o.jsxs("group",{name:"visuals001",children:[o.jsx("mesh",{name:"visuals001_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_1.geometry,material:a.material_Material_Metall}),o.jsx("mesh",{name:"visuals001_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_2.geometry,material:a.material_Material_Farbe__1_}),o.jsx("mesh",{name:"visuals001_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_3.geometry,material:a.material_Material_Farbe__2_}),o.jsx("mesh",{name:"visuals001_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals001_4.geometry,material:a.material_Material_Farbe})]})})]}),o.jsx("group",{name:"link_0-base",children:o.jsxs("group",{name:"visuals",children:[o.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1.geometry,material:a.material_Material_Metall}),o.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2.geometry,material:a.material_Material_Farbe__1_})]})})]})})})}Ru.config={rotationOffsets:[0,0,-Math.PI/2,0,0,0],rotationSign:[-1,1,1,1,1,1]};function Ru({modelURL:e,...t}){const{nodes:n,materials:r}=H.useGLTF(e);return o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs("group",{name:"link_0",children:[o.jsx("mesh",{name:"visuals_0",castShadow:!0,receiveShadow:!0,geometry:n.visuals_0.geometry,material:r.kuka_metal}),o.jsx("mesh",{name:"visuals_0_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_0_1.geometry,material:r.kuka_black})]}),o.jsxs(v.animated.group,{name:"KUKA_KR6R700-2_J00",children:[o.jsxs(v.animated.group,{name:"KUKA_KR6R700-2_J01",position:[.025,.4,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"KUKA_KR6R700-2_J02",position:[.335,0,0],rotation:[0,-Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"KUKA_KR6R700-2_J03",position:[.025,0,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"KUKA_KR6R700-2_J04",position:[0,-.365,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"KUKA_KR6R700-2_J05",rotation:[-Math.PI/2,0,-Math.PI],children:[o.jsx("group",{name:"KUKA_KR6R700-2_FLG",position:[0,-.09,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:n.link_6.geometry,material:r.kuka_black,position:[.425,.725,0],rotation:[-Math.PI,0,Math.PI/2]})]}),o.jsx("mesh",{name:"link_5",castShadow:!0,receiveShadow:!0,geometry:n.link_5.geometry,material:r.kuka_white,position:[-.425,0,.725],rotation:[Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"link_4",position:[-.425,.36,0],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals_4",castShadow:!0,receiveShadow:!0,geometry:n.visuals_4.geometry,material:r.kuka_white}),o.jsx("mesh",{name:"visuals_4_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_4_1.geometry,material:r.kuka_orange})]})]}),o.jsx("mesh",{name:"link_3",castShadow:!0,receiveShadow:!0,geometry:n.link_3.geometry,material:r.kuka_white,position:[-.4,0,.36],rotation:[Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"link_2",position:[-.025,0,-.4],rotation:[Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:n.visuals_2.geometry,material:r.kuka_white}),o.jsx("mesh",{name:"visuals_2_1",castShadow:!0,receiveShadow:!0,geometry:n.visuals_2_1.geometry,material:r.kuka_orange})]})]}),o.jsx("mesh",{name:"link_1",castShadow:!0,receiveShadow:!0,geometry:n.link_1.geometry,material:r.kuka_white})]})]})})}function F1({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR10CB_J00",children:[o.jsxs("group",{name:"link_0",children:[o.jsx("mesh",{name:"visuals_0",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_0_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0_1.geometry,material:a.universalrobots_aluminum})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR10CB_J01",position:[0,.127,0],rotation:[Math.PI/2,0,0],children:[o.jsxs("group",{name:"link_1",position:[0,0,.127],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_1_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_1.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_1_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_2.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_1_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_3.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_1_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_4.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_1_5",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_5.geometry,material:a.universalrobots_lightblue})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR10CB_J02",position:[-.612,0,0],children:[o.jsxs("group",{name:"link_2",position:[.612,0,.127],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_2_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_1.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_2_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_2.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_2_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_3.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_2_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_4.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_2_5",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_5.geometry,material:a.universalrobots_lightblue})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR10CB_J03",position:[-.572,0,0],children:[o.jsxs("group",{name:"link_3",position:[1.184,0,.127],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_3_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_1.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_3_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_2.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_3_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_3.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_3_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_4.geometry,material:a.universalrobots_lightblue})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR10CB_J04",position:[0,.164,0],rotation:[Math.PI/2,0,0],children:[o.jsxs("group",{name:"link_4",position:[1.184,.127,.164],rotation:[Math.PI,0,0],children:[o.jsx("mesh",{name:"visuals_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_4_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_1.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_4_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_2.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_4_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_3.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_4_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_4.geometry,material:a.universalrobots_lightblue})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR10CB_J05",position:[0,.116,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs("group",{name:"link_5",position:[1.184,-.164,.012],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_5",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_5_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_1.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_5_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_2.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_5_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_3.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_5_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_4.geometry,material:a.universalrobots_lightblue})]}),o.jsx("group",{name:"UNIVERSALROBOTS_UR10CB_FLG",position:[0,.116,0],rotation:[-Math.PI/2,0,0],children:o.jsxs("group",{name:"link_6",position:[1.184,-.012,-.28],children:[o.jsx("mesh",{name:"visuals_6",castShadow:!0,receiveShadow:!0,geometry:r.visuals_6.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_6_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_6_1.geometry,material:a.universalrobots_aluminum})]})})]})]})]})]})]})]})})})}function D1({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs("group",{name:"UR10e",rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"UR10e_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"UR10e_J02",position:[0,.181,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"UR10e_J03",position:[-.613,0,0],children:[o.jsxs(v.animated.group,{name:"UR10e_J04",position:[-.572,0,0],children:[o.jsxs(v.animated.group,{name:"UR10e_J05",position:[0,.174,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"UR10e_J06",position:[0,.12,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"UR10e_FLG",position:[1.184,-.174,.061],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"C-1000493",geometry:r["C-1000493"].geometry,material:a.Black,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000493_1",geometry:r["C-1000493_1"].geometry,material:a.Metal,castShadow:!0,receiveShadow:!0})]}),o.jsx("group",{name:"UR10e_L07",position:[0,.117,0]})]}),o.jsxs("group",{name:"UR10e_L06",position:[1.184,.181,.174],rotation:[Math.PI,0,0],children:[o.jsx("mesh",{name:"C-1000492",geometry:r["C-1000492"].geometry,material:a.DarkGray,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000492_1",geometry:r["C-1000492_1"].geometry,material:a.Black,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000492_2",geometry:r["C-1000492_2"].geometry,material:a.Blue,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000492_3",geometry:r["C-1000492_3"].geometry,material:a.Screw,castShadow:!0,receiveShadow:!0})]})]}),o.jsxs("group",{name:"UR10e_L05",position:[1.184,0,.181],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"C-1000491",geometry:r["C-1000491"].geometry,material:a.DarkGray,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000491_1",geometry:r["C-1000491_1"].geometry,material:a.Blue,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000491_2",geometry:r["C-1000491_2"].geometry,material:a.Black,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000491_3",geometry:r["C-1000491_3"].geometry,material:a.Screw,castShadow:!0,receiveShadow:!0})]})]}),o.jsxs("group",{name:"UR10e_L04",position:[.613,0,.181],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"C-1000490",geometry:r["C-1000490"].geometry,material:a.Metal,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000490_1",geometry:r["C-1000490_1"].geometry,material:a.Black,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000490_2",geometry:r["C-1000490_2"].geometry,material:a.DarkGray,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000490_3",geometry:r["C-1000490_3"].geometry,material:a.Blue,castShadow:!0,receiveShadow:!0})]})]}),o.jsxs(v.animated.group,{name:"UR10e_L03",position:[0,0,.181],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"C-1000489",geometry:r["C-1000489"].geometry,material:a.Blue,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000489_1",geometry:r["C-1000489_1"].geometry,material:a.Black,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000489_2",geometry:r["C-1000489_2"].geometry,material:a.DarkGray,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000489_3",geometry:r["C-1000489_3"].geometry,material:a.Screw,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000489_4",geometry:r["C-1000489_4"].geometry,material:a.Metal,castShadow:!0,receiveShadow:!0})]})]}),o.jsxs("group",{name:"UR10e_L02",children:[o.jsx("mesh",{name:"C-1000488",geometry:r["C-1000488"].geometry,material:a.Black,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000488_1",geometry:r["C-1000488_1"].geometry,material:a.Blue,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000488_2",geometry:r["C-1000488_2"].geometry,material:a.Screw,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000488_3",geometry:r["C-1000488_3"].geometry,material:a.DarkGray,castShadow:!0,receiveShadow:!0})]})]}),o.jsxs("group",{name:"UR10e_L01",rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"C-1000487",geometry:r["C-1000487"].geometry,material:a.Black,castShadow:!0,receiveShadow:!0}),o.jsx("mesh",{name:"C-1000487_1",geometry:r["C-1000487_1"].geometry,material:a.Metal,castShadow:!0,receiveShadow:!0})]})]})})})})}function B1({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs("group",{name:"UR3",rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"UR3_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"UR3_J02",position:[0,.152,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"UR3_J03",position:[-.244,0,0],children:[o.jsxs(v.animated.group,{name:"UR3_J04",position:[-.213,0,0],children:[o.jsxs(v.animated.group,{name:"UR3_J05",position:[0,.112,0],rotation:[Math.PI/2,0,0],children:[o.jsx("mesh",{name:"UR3_05",castShadow:!0,receiveShadow:!0,geometry:r.UR3_05.geometry,material:a.Standard}),o.jsxs(v.animated.group,{name:"UR3_J06",position:[0,.085,0],rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"UR3_FLG",position:[0,.082,0]}),o.jsx("mesh",{name:"UR3_L06",castShadow:!0,receiveShadow:!0,geometry:r.UR3_L06.geometry,material:a.Standard})]})]}),o.jsx("mesh",{name:"UR3_L04",castShadow:!0,receiveShadow:!0,geometry:r.UR3_L04.geometry,material:a.Standard})]}),o.jsx("mesh",{name:"UR3_L03",castShadow:!0,receiveShadow:!0,geometry:r.UR3_L03.geometry,material:a.Standard})]}),o.jsx("mesh",{name:"UR3_L02",castShadow:!0,receiveShadow:!0,geometry:r.UR3_L02.geometry,material:a.Standard})]}),o.jsx("mesh",{name:"UR3_L01",castShadow:!0,receiveShadow:!0,geometry:r.UR3_L01.geometry,material:a.Standard})]}),o.jsx("mesh",{name:"UR3_L00",castShadow:!0,receiveShadow:!0,geometry:r.UR3_L00.geometry,material:a.Standard,rotation:[-Math.PI/2,0,0]})]})})})})}function U1({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Empty",children:[o.jsxs("group",{name:"link_0",children:[o.jsx("mesh",{name:"visuals_0",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_0_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0_1.geometry,material:a.universalrobots_aluminum})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR3E_J00",children:[o.jsxs("group",{name:"link_1",children:[o.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_1_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_1.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_1_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_2.geometry,material:a.universalrobots_lightblue}),o.jsx("mesh",{name:"visuals_1_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_3.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_1_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_4.geometry,material:a.universalrobots_stainlesssteel})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR3E_J01",position:[0,.152,0],rotation:[Math.PI/2,0,0],children:[o.jsxs("group",{name:"link_2",position:[0,0,.152],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_2_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_1.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_2_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_2.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_2_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_3.geometry,material:a.universalrobots_lightblue})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR3E_J02",position:[-.244,0,0],children:[o.jsxs("group",{name:"link_3",position:[.244,0,.152],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_3_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_1.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_3_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_2.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_3_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_3.geometry,material:a.universalrobots_lightblue})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR3E_J03",position:[-.213,0,0],children:[o.jsxs("group",{name:"link_4",position:[.457,0,.152],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_4_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_1.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_4_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_2.geometry,material:a.universalrobots_lightblue})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR3E_J04",position:[0,.131,0],rotation:[Math.PI/2,0,0],children:[o.jsxs("group",{name:"link_5",position:[.457,.152,.131],rotation:[Math.PI,0,0],children:[o.jsx("mesh",{name:"visuals_5",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_5_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_1.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_5_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_2.geometry,material:a.universalrobots_lightblue})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR3E_J05",position:[0,.085,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs("group",{name:"link_6",position:[.457,-.131,.067],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_6",castShadow:!0,receiveShadow:!0,geometry:r.visuals_6.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_6_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_6_1.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_6_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_6_2.geometry,material:a.universalrobots_aluminum})]}),o.jsx("group",{name:"UNIVERSALROBOTS_UR3E_FLG",position:[0,.092,0]})]})]})]})]})]})]})]})})}function J1({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR5CB_J00",children:[o.jsxs("group",{name:"link_1",children:[o.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_1_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_1.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_1_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_2.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_1_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_3.geometry,material:a.universalrobots_lightblue})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR5CB_J01",position:[0,.089,0],rotation:[Math.PI/2,0,0],children:[o.jsxs("group",{name:"link_2",position:[0,0,.089],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2.geometry,material:a.universalrobots_stainlesssteel}),o.jsx("mesh",{name:"visuals_2_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_1.geometry,material:a.universalrobots_lightblue}),o.jsx("mesh",{name:"visuals_2_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_2.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_2_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_3.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_2_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_2_4.geometry,material:a.universalrobots_darkgrey})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR5CB_J02",position:[-.425,0,0],children:[o.jsxs("group",{name:"link_3",position:[.425,0,.089],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3.geometry,material:a.universalrobots_lightblue}),o.jsx("mesh",{name:"visuals_3_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_1.geometry,material:a.universalrobots_black}),o.jsx("mesh",{name:"visuals_3_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_2.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_3_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_3.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_3_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_4.geometry,material:a.universalrobots_stainlesssteel})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR5CB_J03",position:[-.392,0,0],children:[o.jsxs("group",{name:"link_4",position:[.817,0,.089],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"visuals_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_4_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_1.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_4_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_2.geometry,material:a.universalrobots_lightblue}),o.jsx("mesh",{name:"visuals_4_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_3.geometry,material:a.universalrobots_black})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR5CB_J04",position:[0,.109,0],rotation:[Math.PI/2,0,0],children:[o.jsxs("group",{name:"link_5",position:[.817,.089,.109],rotation:[Math.PI,0,0],children:[o.jsx("mesh",{name:"visuals_5",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5.geometry,material:a.universalrobots_darkgrey}),o.jsx("mesh",{name:"visuals_5_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_1.geometry,material:a.universalrobots_lightblue}),o.jsx("mesh",{name:"visuals_5_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_2.geometry,material:a.universalrobots_aluminum}),o.jsx("mesh",{name:"visuals_5_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_3.geometry,material:a.universalrobots_black})]}),o.jsxs(v.animated.group,{name:"UNIVERSALROBOTS_UR5CB_J05",position:[0,.095,0],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:r.link_6.geometry,material:a.universalrobots_stainlesssteel,position:[.817,-.109,-.005],rotation:[-Math.PI/2,0,0]}),o.jsx("group",{name:"UNIVERSALROBOTS_UR5CB_FLG",position:[0,.082,0]})]})]})]})]})]})]}),o.jsx("mesh",{name:"link_0",castShadow:!0,receiveShadow:!0,geometry:r.link_0.geometry,material:a.universalrobots_aluminum})]})})}function V1({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs("group",{name:"UR5e",rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"UR5e_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"UR5e_J02",position:[0,.162,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"UR5e_J03",position:[-.425,0,0],children:[o.jsxs(v.animated.group,{name:"UR5e_J04",position:[-.392,0,0],children:[o.jsxs(v.animated.group,{name:"UR5e_J05",position:[0,.133,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"UR5e_J06",position:[0,.1,0],rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"UR5e_FLG",position:[0,.1,0]}),o.jsx("group",{name:"UR5e_L06",position:[0,.1,0],rotation:[0,0,-Math.PI],children:o.jsxs(o.Fragment,{children:[o.jsx("mesh",{name:"C-1000255",castShadow:!0,receiveShadow:!0,geometry:r["C-1000255"].geometry,material:a.Black}),o.jsx("mesh",{name:"C-1000255_1",castShadow:!0,receiveShadow:!0,geometry:r["C-1000255_1"].geometry,material:a.Metal})]})})]}),o.jsx("group",{name:"UR5e_L05",rotation:[-Math.PI/2,-Math.PI/3,0],children:o.jsxs(o.Fragment,{children:[o.jsx("mesh",{name:"C-1000253",castShadow:!0,receiveShadow:!0,geometry:r["C-1000253"].geometry,material:a.Blue}),o.jsx("mesh",{name:"C-1000253_1",castShadow:!0,receiveShadow:!0,geometry:r["C-1000253_1"].geometry,material:a.Black}),o.jsx("mesh",{name:"C-1000253_2",castShadow:!0,receiveShadow:!0,geometry:r["C-1000253_2"].geometry,material:a.Metal}),o.jsx("mesh",{name:"C-1000253_3",castShadow:!0,receiveShadow:!0,geometry:r["C-1000253_3"].geometry,material:a.DarkGray})]})})]}),o.jsx("group",{name:"UR5e_L04",rotation:[0,-Math.PI/3,0],children:o.jsxs(o.Fragment,{children:[o.jsx("mesh",{name:"C-1000251",castShadow:!0,receiveShadow:!0,geometry:r["C-1000251"].geometry,material:a.Blue}),o.jsx("mesh",{name:"C-1000251_1",castShadow:!0,receiveShadow:!0,geometry:r["C-1000251_1"].geometry,material:a.Black}),o.jsx("mesh",{name:"C-1000251_2",castShadow:!0,receiveShadow:!0,geometry:r["C-1000251_2"].geometry,material:a.Metal}),o.jsx("mesh",{name:"C-1000251_3",castShadow:!0,receiveShadow:!0,geometry:r["C-1000251_3"].geometry,material:a.DarkGray})]})})]}),o.jsx("group",{name:"UR5e_L03",children:o.jsxs(o.Fragment,{children:[o.jsx("mesh",{name:"C-1000250",castShadow:!0,receiveShadow:!0,geometry:r["C-1000250"].geometry,material:a.Black}),o.jsx("mesh",{name:"C-1000250_1",castShadow:!0,receiveShadow:!0,geometry:r["C-1000250_1"].geometry,material:a.DarkGray}),o.jsx("mesh",{name:"C-1000250_2",castShadow:!0,receiveShadow:!0,geometry:r["C-1000250_2"].geometry,material:a.Blue}),o.jsx("mesh",{name:"C-1000250_3",castShadow:!0,receiveShadow:!0,geometry:r["C-1000250_3"].geometry,material:a.Metal}),o.jsx("mesh",{name:"C-1000250_4",castShadow:!0,receiveShadow:!0,geometry:r["C-1000250_4"].geometry,material:a.Metal})]})})]}),o.jsx("group",{name:"UR5e_L02",rotation:[0,-Math.PI/2,0],children:o.jsxs(o.Fragment,{children:[o.jsx("mesh",{name:"C-1000249",castShadow:!0,receiveShadow:!0,geometry:r["C-1000249"].geometry,material:a.Metal}),o.jsx("mesh",{name:"C-1000249_1",castShadow:!0,receiveShadow:!0,geometry:r["C-1000249_1"].geometry,material:a.Black}),o.jsx("mesh",{name:"C-1000249_2",castShadow:!0,receiveShadow:!0,geometry:r["C-1000249_2"].geometry,material:a.DarkGray}),o.jsx("mesh",{name:"C-1000249_3",castShadow:!0,receiveShadow:!0,geometry:r["C-1000249_3"].geometry,material:a.Blue}),o.jsx("mesh",{name:"C-1000249_4",castShadow:!0,receiveShadow:!0,geometry:r["C-1000249_4"].geometry,material:a.Metal})]})})]}),o.jsx("group",{name:"UR5e_L01",rotation:[Math.PI/2,0,0],children:o.jsxs(o.Fragment,{children:[o.jsx("mesh",{name:"C-1000248",castShadow:!0,receiveShadow:!0,geometry:r["C-1000248"].geometry,material:a.DarkGray}),o.jsx("mesh",{name:"C-1000248_1",castShadow:!0,receiveShadow:!0,geometry:r["C-1000248_1"].geometry,material:a.Black}),o.jsx("mesh",{name:"C-1000248_2",castShadow:!0,receiveShadow:!0,geometry:r["C-1000248_2"].geometry,material:a.Blue}),o.jsx("mesh",{name:"C-1000248_3",castShadow:!0,receiveShadow:!0,geometry:r["C-1000248_3"].geometry,material:a.Metal})]})})]}),o.jsx("group",{name:"UR5e_L00",children:o.jsxs(o.Fragment,{children:[o.jsx("mesh",{name:"C-1000257",castShadow:!0,receiveShadow:!0,geometry:r["C-1000257"].geometry,material:a.Black}),o.jsx("mesh",{name:"C-1000257_1",castShadow:!0,receiveShadow:!0,geometry:r["C-1000257_1"].geometry,material:a.Metal})]})})]})})})})}Au.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0],rotationSign:[1,-1,1,1,1,1]};function Au({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs("group",{name:"AR1440",rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR1440_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR1440_J02",position:[.155,0,0],rotation:[Math.PI/2,0,Math.PI],children:[o.jsxs(v.animated.group,{name:"AR1440_J03",position:[.614,0,0],rotation:[Math.PI,0,0],children:[o.jsxs(v.animated.group,{name:"AR1440_J04",position:[.2,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR1440_J05",position:[0,-.64,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR1440_J06",rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"AR1440_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"AR1440_L06_CAD",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L06_CAD.geometry,material:a.metall})]}),o.jsx("mesh",{name:"AR1440_L05_CAD",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L05_CAD.geometry,material:a.yaskawaBlueMetall})]}),o.jsxs("group",{name:"AR1440_L04_CAD",children:[o.jsx("mesh",{name:"AR1440_L04_CAD001",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L04_CAD001.geometry,material:a.yaskawaBlueMetall}),o.jsx("mesh",{name:"AR1440_L04_CAD001_1",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L04_CAD001_1.geometry,material:a.white})]})]}),o.jsxs("group",{name:"AR1440_L03_CAD",children:[o.jsx("mesh",{name:"AR1440_L03_CAD001",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L03_CAD001.geometry,material:a.yaskawaBlueMetall}),o.jsx("mesh",{name:"AR1440_L03_CAD001_1",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L03_CAD001_1.geometry,material:a.blackMetall})]})]}),o.jsx("mesh",{name:"AR1440_L02_CAD",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L02_CAD.geometry,material:a.yaskawaBlueMetall})]}),o.jsxs("group",{name:"AR1440_L01_CAD",children:[o.jsx("mesh",{name:"AR1440_L01_CAD001",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L01_CAD001.geometry,material:a.yaskawaBlueMetall}),o.jsx("mesh",{name:"AR1440_L01_CAD001_1",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L01_CAD001_1.geometry,material:a.blackMetall})]})]}),o.jsx("mesh",{name:"AR1440_L00_CAD",castShadow:!0,receiveShadow:!0,geometry:r.AR1440_L00_CAD.geometry,material:a.yaskawaBlueMetall,position:[0,0,.45],rotation:[-Math.PI/2,0,0]})]})})})})}Pu.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0],rotationSign:[1,-1,1,1,1,1]};function Pu({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs(v.animated.group,{name:"AR1730_J00",children:[o.jsxs(v.animated.group,{name:"AR1730_J01",position:[.15,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"AR1730_J02",position:[.76,0,0],rotation:[-Math.PI,0,0],children:[o.jsxs(v.animated.group,{name:"AR1730_J03",position:[.2,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR1730_J04",position:[0,-.795,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR1730_J05",rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"AR1730_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"AR1730_L06",castShadow:!0,receiveShadow:!0,geometry:r.AR1730_L06.geometry,material:a.Metal,rotation:[Math.PI/2,-Math.PI/2,0]})]}),o.jsx("mesh",{name:"AR1730_L05",castShadow:!0,receiveShadow:!0,geometry:r.AR1730_L05.geometry,material:a.Blue,rotation:[Math.PI/2,0,Math.PI/2]})]}),o.jsxs("group",{name:"AR1730_L04",position:[0,-.302,0],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"_R_AXIS_SW0001002",castShadow:!0,receiveShadow:!0,geometry:r._R_AXIS_SW0001002.geometry,material:a.Blue}),o.jsx("mesh",{name:"_R_AXIS_SW0001002_1",castShadow:!0,receiveShadow:!0,geometry:r._R_AXIS_SW0001002_1.geometry,material:a.White})]})]}),o.jsxs("group",{name:"AR1730_L03",rotation:[Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"_U_AXIS_SW0001002",castShadow:!0,receiveShadow:!0,geometry:r._U_AXIS_SW0001002.geometry,material:a.Blue}),o.jsx("mesh",{name:"_U_AXIS_SW0001002_1",castShadow:!0,receiveShadow:!0,geometry:r._U_AXIS_SW0001002_1.geometry,material:a.Black})]})]}),o.jsx("mesh",{name:"AR1730_L02",castShadow:!0,receiveShadow:!0,geometry:r.AR1730_L02.geometry,material:a.Blue,position:[0,-.157,0],rotation:[-Math.PI,-1.571,0]})]}),o.jsxs("group",{name:"AR1730_L01",position:[0,-.336,0],rotation:[Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"_S_AXIS_SW0001002",castShadow:!0,receiveShadow:!0,geometry:r._S_AXIS_SW0001002.geometry,material:a.Blue}),o.jsx("mesh",{name:"_S_AXIS_SW0001002_1",castShadow:!0,receiveShadow:!0,geometry:r._S_AXIS_SW0001002_1.geometry,material:a.Black})]})]}),o.jsx("mesh",{name:"AR1730_L00",castShadow:!0,receiveShadow:!0,geometry:r.AR1730_L00.geometry,material:a.Blue,position:[0,-.505,0],rotation:[Math.PI/2,0,-Math.PI/2]})]})})})}Cu.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0],rotationSign:[1,-1,1,1,1,1]};function Cu({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs("group",{name:"link_0",children:[o.jsx("mesh",{name:"shape",castShadow:!0,receiveShadow:!0,geometry:r.shape.geometry,material:a.yaskawa_black}),o.jsx("mesh",{name:"shape_1",castShadow:!0,receiveShadow:!0,geometry:r.shape_1.geometry,material:a.yaskawa_metalsilver}),o.jsx("mesh",{name:"shape_2",castShadow:!0,receiveShadow:!0,geometry:r.shape_2.geometry,material:a.yaskawa_blue}),o.jsx("mesh",{name:"shape_3",castShadow:!0,receiveShadow:!0,geometry:r.shape_3.geometry,material:a.yaskawa_metalsilver})]}),o.jsxs(v.animated.group,{name:"YASKAWA_AR2010_J00",children:[o.jsxs("group",{name:"link_1",children:[o.jsx("mesh",{name:"shape001",castShadow:!0,receiveShadow:!0,geometry:r.shape001.geometry,material:a.yaskawa_black}),o.jsx("mesh",{name:"shape001_1",castShadow:!0,receiveShadow:!0,geometry:r.shape001_1.geometry,material:a.yaskawa_blue})]}),o.jsxs(v.animated.group,{name:"YASKAWA_AR2010_J01",position:[.15,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[o.jsx("mesh",{name:"link_2",castShadow:!0,receiveShadow:!0,geometry:r.link_2.geometry,material:a.yaskawa_blue,position:[0,0,.15],rotation:[Math.PI/2,0,-Math.PI/2]}),o.jsxs(v.animated.group,{name:"YASKAWA_AR2010_J02",position:[.76,0,0],rotation:[-Math.PI,0,0],children:[o.jsxs("group",{name:"link_3",position:[-.76,0,-.15],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"shape003",castShadow:!0,receiveShadow:!0,geometry:r.shape003.geometry,material:a.yaskawa_black}),o.jsx("mesh",{name:"shape003_1",castShadow:!0,receiveShadow:!0,geometry:r.shape003_1.geometry,material:a.yaskawa_blue})]}),o.jsxs(v.animated.group,{name:"YASKAWA_AR2010_J03",position:[.2,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"link_4",castShadow:!0,receiveShadow:!0,geometry:r.link_4.geometry,material:a.yaskawa_blue,position:[-.96,.15,0],rotation:[0,0,-Math.PI/2]}),o.jsxs(v.animated.group,{name:"YASKAWA_AR2010_J04",position:[0,-1.082,0],rotation:[Math.PI/2,0,0],children:[o.jsx("mesh",{name:"link_5",castShadow:!0,receiveShadow:!0,geometry:r.link_5.geometry,material:a.yaskawa_blue,position:[-.96,0,-1.232],rotation:[-Math.PI/2,0,-Math.PI/2]}),o.jsxs(v.animated.group,{name:"YASKAWA_AR2010_J05",rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:r.link_6.geometry,material:a.yaskawa_metalsilver,position:[-.96,1.232,0],rotation:[0,0,-Math.PI/2]}),o.jsx("group",{name:"YASKAWA_AR2010_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]})]})]})]})]})]})]})]})})}Mu.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0],rotationSign:[1,-1,1,1,1,1]};function Mu({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs(v.animated.group,{name:"AR3120_J00",children:[o.jsxs(v.animated.group,{name:"AR3120_J01",position:[.145,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"AR3120_J02",position:[1.15,0,0],rotation:[-Math.PI,0,0],children:[o.jsxs(v.animated.group,{name:"AR3120_J03",position:[.25,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR3120_J04",position:[0,-1.812,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR3120_J05",rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"AR3120_FLG",position:[0,-.1,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"AR3120_L06",castShadow:!0,receiveShadow:!0,geometry:r.AR3120_L06.geometry,material:a["Metal.001"],rotation:[Math.PI/2,-Math.PI/2,0]})]}),o.jsx("mesh",{name:"AR3120_L05",castShadow:!0,receiveShadow:!0,geometry:r.AR3120_L05.geometry,material:a["Blue.001"],rotation:[Math.PI/2,0,Math.PI/2]})]}),o.jsxs("group",{name:"AR3120_L04",rotation:[Math.PI/2,-Math.PI/2,0],children:[o.jsx("mesh",{name:"R_AXIS_GP20HL001",castShadow:!0,receiveShadow:!0,geometry:r.R_AXIS_GP20HL001.geometry,material:a["Blue.001"]}),o.jsx("mesh",{name:"R_AXIS_GP20HL001_1",castShadow:!0,receiveShadow:!0,geometry:r.R_AXIS_GP20HL001_1.geometry,material:a["White.001"]})]})]}),o.jsxs("group",{name:"AR3120_L03",rotation:[Math.PI,0,-Math.PI/2],children:[o.jsx("mesh",{name:"Mesh_3001",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_3001.geometry,material:a["Blue.001"]}),o.jsx("mesh",{name:"Mesh_3001_1",castShadow:!0,receiveShadow:!0,geometry:r.Mesh_3001_1.geometry,material:a["Black.001"]})]})]}),o.jsx("mesh",{name:"AR3120_L02",castShadow:!0,receiveShadow:!0,geometry:r.AR3120_L02.geometry,material:a["Blue.001"],position:[0,-.146,0],rotation:[Math.PI,0,0]})]}),o.jsxs("group",{name:"AR3120_L01",position:[0,-.228,0],rotation:[0,-1.571,0],children:[o.jsx("mesh",{name:"S_AXIS_GP20HL001",castShadow:!0,receiveShadow:!0,geometry:r.S_AXIS_GP20HL001.geometry,material:a["Blue.001"]}),o.jsx("mesh",{name:"S_AXIS_GP20HL001_1",castShadow:!0,receiveShadow:!0,geometry:r.S_AXIS_GP20HL001_1.geometry,material:a["Black.001"]})]})]}),o.jsx("mesh",{name:"AR3120_L00",castShadow:!0,receiveShadow:!0,geometry:r.AR3120_L00.geometry,material:a["Blue.001"],position:[0,-.54,0]})]})})})}po.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0]};function po({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs("group",{name:"AR900",rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR900_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR900_J02",position:[.04,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"AR900_J03",position:[.445,0,0],rotation:[-Math.PI,0,0],children:[o.jsxs(v.animated.group,{name:"AR900_J04",position:[.04,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR900_J05",position:[0,-.44,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"AR900_J06",rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"AR900_FLG",position:[0,-.08,0],rotation:[-Math.PI,0,0]}),o.jsx("mesh",{name:"AR900_L06",castShadow:!0,receiveShadow:!0,geometry:r.AR900_L06.geometry,material:a["#BBA474.001"]})]}),o.jsx("mesh",{name:"AR900_L05",castShadow:!0,receiveShadow:!0,geometry:r.AR900_L05.geometry,material:a["#0056b9.001"]})]}),o.jsx("mesh",{name:"AR900_L04",castShadow:!0,receiveShadow:!0,geometry:r.AR900_L04.geometry,material:a["#0056b9.001"]})]}),o.jsx("mesh",{name:"AR900_L03",castShadow:!0,receiveShadow:!0,geometry:r.AR900_L03.geometry,material:a["#0056b9.001"]})]}),o.jsx("mesh",{name:"AR900_L02",castShadow:!0,receiveShadow:!0,geometry:r.AR900_L02.geometry,material:a["#0056b9.001"]})]}),o.jsx("mesh",{name:"AR900_L01",castShadow:!0,receiveShadow:!0,geometry:r.AR900_L01.geometry,material:a["#0056b9.001"]})]}),o.jsx("mesh",{name:"AR900_L00",castShadow:!0,receiveShadow:!0,geometry:r.AR900_L00.geometry,material:a["#0056b9.001"],rotation:[-Math.PI/2,0,0]})]})})})})}ku.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0]};function ku({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx(o.Fragment,{children:o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs("group",{name:"link_0",children:[o.jsx("mesh",{name:"shape439",castShadow:!0,receiveShadow:!0,geometry:r.shape439.geometry,material:a.yaskawa_blue}),o.jsx("mesh",{name:"shape439_1",castShadow:!0,receiveShadow:!0,geometry:r.shape439_1.geometry,material:a.yaskawa_metalsilver}),o.jsx("mesh",{name:"shape439_2",castShadow:!0,receiveShadow:!0,geometry:r.shape439_2.geometry,material:a.yaskawa_black})]}),o.jsxs(v.animated.group,{name:"YASKAWA_GP50_J00",position:[0,-.54,0],children:[o.jsxs("group",{name:"link_1",position:[0,.54,0],children:[o.jsx("mesh",{name:"shape320",castShadow:!0,receiveShadow:!0,geometry:r.shape320.geometry,material:a.yaskawa_blue}),o.jsx("mesh",{name:"shape320_1",castShadow:!0,receiveShadow:!0,geometry:r.shape320_1.geometry,material:a.yaskawa_black}),o.jsx("mesh",{name:"shape320_2",castShadow:!0,receiveShadow:!0,geometry:r.shape320_2.geometry,material:a.yaskawa_metalsilver}),o.jsx("mesh",{name:"shape320_3",castShadow:!0,receiveShadow:!0,geometry:r.shape320_3.geometry,material:a.yaskawa_black}),o.jsx("mesh",{name:"shape320_4",castShadow:!0,receiveShadow:!0,geometry:r.shape320_4.geometry,material:a.yaskawa_white}),o.jsx("mesh",{name:"shape320_5",castShadow:!0,receiveShadow:!0,geometry:r.shape320_5.geometry,material:a.yaskawa_black})]}),o.jsxs(v.animated.group,{name:"YASKAWA_GP50_J01",position:[.145,.54,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[o.jsxs("group",{name:"link_2",position:[0,0,.145],rotation:[Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"shape440",castShadow:!0,receiveShadow:!0,geometry:r.shape440.geometry,material:a.yaskawa_blue}),o.jsx("mesh",{name:"shape440_1",castShadow:!0,receiveShadow:!0,geometry:r.shape440_1.geometry,material:a.yaskawa_white}),o.jsx("mesh",{name:"shape440_2",castShadow:!0,receiveShadow:!0,geometry:r.shape440_2.geometry,material:a.yaskawa_metalsilver}),o.jsx("mesh",{name:"shape440_3",castShadow:!0,receiveShadow:!0,geometry:r.shape440_3.geometry,material:a.yaskawa_black})]}),o.jsxs(v.animated.group,{name:"YASKAWA_GP50_J02",position:[.87,0,0],rotation:[-Math.PI,0,0],children:[o.jsxs("group",{name:"link_3",position:[-.87,0,-.145],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"shape341",castShadow:!0,receiveShadow:!0,geometry:r.shape341.geometry,material:a.yaskawa_blue}),o.jsx("mesh",{name:"shape341_1",castShadow:!0,receiveShadow:!0,geometry:r.shape341_1.geometry,material:a.yaskawa_white}),o.jsx("mesh",{name:"shape341_2",castShadow:!0,receiveShadow:!0,geometry:r.shape341_2.geometry,material:a.yaskawa_black}),o.jsx("mesh",{name:"shape341_3",castShadow:!0,receiveShadow:!0,geometry:r.shape341_3.geometry,material:a.yaskawa_black}),o.jsx("mesh",{name:"shape341_4",castShadow:!0,receiveShadow:!0,geometry:r.shape341_4.geometry,material:a.yaskawa_metalsilver}),o.jsx("mesh",{name:"shape341_5",castShadow:!0,receiveShadow:!0,geometry:r.shape341_5.geometry,material:a.yaskawa_metalsilver})]}),o.jsxs(v.animated.group,{name:"YASKAWA_GP50_J03",position:[.21,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"link_4",castShadow:!0,receiveShadow:!0,geometry:r.link_4.geometry,material:a.yaskawa_blue,position:[-1.08,.145,0],rotation:[0,0,-Math.PI/2]}),o.jsxs(v.animated.group,{name:"YASKAWA_GP50_J04",position:[0,-1.025,0],rotation:[Math.PI/2,0,0],children:[o.jsx("mesh",{name:"link_5",castShadow:!0,receiveShadow:!0,geometry:r.link_5.geometry,material:a.yaskawa_blue,position:[-1.08,0,-1.17],rotation:[-Math.PI/2,0,-Math.PI/2]}),o.jsxs(v.animated.group,{name:"YASKAWA_GP50_J05",rotation:[-Math.PI/2,0,0],children:[o.jsx("mesh",{name:"link_6",castShadow:!0,receiveShadow:!0,geometry:r.link_6.geometry,material:a.yaskawa_metalsilver,position:[-1.08,1.17,0],rotation:[0,0,-Math.PI/2]}),o.jsx("group",{name:"YASKAWA_GP50_FLG",position:[0,-.175,0],rotation:[-Math.PI,0,0]})]})]})]})]})]})]})]})})})}const G1="(^joint_[0-9]+$)|(_J[0-9]+$)";function Iu(e){return e.children.length===0?[e]:[e,...e.children.flatMap(t=>Iu(t))]}function z1(e,t){return new RegExp(t??G1).test(e)}function Tu(e,t){return Iu(e).filter(n=>z1(n.name,t))}function Ou({rapidlyChangingMotionState:e,jointCollector:t,onRotationChanged:n,robotConfig:r,children:a}){v.Globals.assign({frameLoop:"always"});const s=Y.useRef([]),i=Y.useRef([]),{invalidate:l}=Ku.useThree();function u(y){y&&(i.current=t?t(y):Tu(y),m(),l())}function c(y){s.current=y,_.start(Object.assign({},s.current))}const d=(r==null?void 0:r.rotationSign)||[1,1,1,1,1,1],h=(r==null?void 0:r.rotationOffsets)||[0,0,0,0,0,0];function m(){const y=i.current.map((p,x)=>b[x].get());if(n)n(i.current,y);else for(const[p,x]of i.current.entries())x.rotation.y=d[p]*y[p]+h[p]}dl(()=>{const y=e.state.joint_position.joints.filter(p=>p!==void 0);requestAnimationFrame(()=>c(y))});const[b,_]=v.useSpring(()=>({...Object.assign({},e.state.joint_position.joints),onChange:()=>{m(),l()},onResolve:()=>{m()}}));return o.jsx("group",{ref:u,children:a})}const wi="line",ji="mesh";function Va({rapidlyChangingMotionState:e,dhParameters:t,...n}){const r=new St.Matrix4;function a(u,c){const d=new St.Vector3,h=new St.Quaternion,m=new St.Vector3;r.decompose(d,h,m);const b=d.clone(),_=new St.Matrix4().makeRotationY(u.theta+c*(u.reverse_rotation_direction?-1:1)).multiply(new St.Matrix4().makeTranslation(0,u.d/1e3,0)).multiply(new St.Matrix4().makeTranslation(u.a/1e3,0,0)).multiply(new St.Matrix4().makeRotationX(u.alpha));return r.multiply(_),r.decompose(d,h,m),{a:b,b:d}}function s(u,c,d,h){if(!t)return;const m=t[u];if(!m)return;const{a:b,b:_}=a(m,h);c.geometry.setPositions([b.toArray(),_.toArray()].flat()),d.position.set(_.x,_.y,_.z)}function i(u,c){r.identity(),u.forEach((d,h)=>{s(h,d.getObjectByName(wi),d.getObjectByName(ji),c[h])})}function l(u){return Tu(u,"^group_[0-9]+$")}return o.jsx(o.Fragment,{children:o.jsx(Ou,{rapidlyChangingMotionState:e,jointCollector:l,onRotationChanged:i,children:o.jsxs("group",{...n,name:"Scene",children:[o.jsxs("mesh",{children:[o.jsx("sphereGeometry",{args:[.01,32,32]}),o.jsx("meshStandardMaterial",{color:"black",depthTest:!0})]}),t.map((u,c)=>{const{a:d,b:h}=a(u,e.state.joint_position.joints[c]??0);return o.jsxs("group",{name:`group_${c}`,children:[o.jsx(H.Line,{name:wi,points:[d,h],color:"white",lineWidth:5}),o.jsxs("mesh",{name:ji,position:h,children:[o.jsx("sphereGeometry",{args:[.01,32,32]}),o.jsx("meshStandardMaterial",{color:"black",depthTest:!0})]},"mesh_"+c)]},"group_"+c)})]})})})}const K1=console.warn;function W1(){return Y.useEffect(()=>{console.warn=e=>{e!=="Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"&&K1(e)}},[]),o.jsx(o.Fragment,{})}Eu.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function Eu({modelURL:e,...t}){const n=H.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs("group",{name:"link_0",children:[o.jsx("mesh",{name:"visuals_0",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0.geometry,material:a.fanuc_metal_black}),o.jsx("mesh",{name:"visuals_0_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0_1.geometry,material:a.fanuc_stainless_steel}),o.jsx("mesh",{name:"visuals_0_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0_2.geometry,material:a.fanuc_metal_black}),o.jsx("mesh",{name:"visuals_0_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0_3.geometry,material:a.fanuc_stainless_steel}),o.jsx("mesh",{name:"visuals_0_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0_4.geometry,material:a.fanuc_aluminium_black}),o.jsx("mesh",{name:"visuals_0_5",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0_5.geometry,material:a.fanuc_aluminium_black}),o.jsx("mesh",{name:"visuals_0_6",castShadow:!0,receiveShadow:!0,geometry:r.visuals_0_6.geometry,material:a.fanuc_rubber})]}),o.jsxs(v.animated.group,{name:"FANUC_CRX10IAL_J00",children:[o.jsxs(v.animated.group,{name:"FANUC_CRX10IAL_J01",rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(v.animated.group,{name:"FANUC_CRX10IAL_J02",position:[.71,0,0],children:[o.jsxs(v.animated.group,{name:"FANUC_CRX10IAL_J03",rotation:[-Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"FANUC_CRX10IAL_J04",position:[0,-.54,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(v.animated.group,{name:"FANUC_CRX10IAL_J05",position:[0,.15,0],rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"FANUC_CRX10IAL_FLG",position:[0,-.16,0],rotation:[-Math.PI,0,0]}),o.jsxs("group",{name:"link_6",position:[-.71,.54,-.15],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals_6",castShadow:!0,receiveShadow:!0,geometry:r.visuals_6.geometry,material:a.fanuc_metal_black}),o.jsx("mesh",{name:"visuals_6_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_6_1.geometry,material:a.fanuc_stainless_steel}),o.jsx("mesh",{name:"visuals_6_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_6_2.geometry,material:a.fanuc_aluminium_black}),o.jsx("mesh",{name:"visuals_6_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_6_3.geometry,material:a.fanuc_aluminium_black})]})]}),o.jsxs("group",{name:"link_5",position:[-.71,0,-.54],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals_5",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5.geometry,material:a.fanuc_white}),o.jsx("mesh",{name:"visuals_5_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_1.geometry,material:a.fanuc_green}),o.jsx("mesh",{name:"visuals_5_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_5_2.geometry,material:a.fanuc_stainless_steel})]})]}),o.jsxs("group",{name:"link_4",position:[-.71,0,0],rotation:[0,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals_4",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4.geometry,material:a.fanuc_white}),o.jsx("mesh",{name:"visuals_4_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_1.geometry,material:a.fanuc_white}),o.jsx("mesh",{name:"visuals_4_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_2.geometry,material:a.fanuc_metal_black}),o.jsx("mesh",{name:"visuals_4_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_4_3.geometry,material:a.fanuc_red})]})]}),o.jsxs("group",{name:"link_3",position:[-.71,0,0],rotation:[-Math.PI/2,0,-Math.PI/2],children:[o.jsx("mesh",{name:"visuals_3",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3.geometry,material:a.fanuc_white}),o.jsx("mesh",{name:"visuals_3_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_3_1.geometry,material:a.fanuc_green})]})]}),o.jsx("mesh",{name:"link_2",castShadow:!0,receiveShadow:!0,geometry:r.link_2.geometry,material:a.fanuc_white,rotation:[-Math.PI/2,0,-Math.PI/2]})]}),o.jsxs("group",{name:"link_1",children:[o.jsx("mesh",{name:"visuals_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1.geometry,material:a.fanuc_green}),o.jsx("mesh",{name:"visuals_1_1",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_1.geometry,material:a.fanuc_white}),o.jsx("mesh",{name:"visuals_1_2",castShadow:!0,receiveShadow:!0,geometry:r.visuals_1_2.geometry,material:a.fanuc_green})]})]})]})})}function Vo(e){return`https://cdn.jsdelivr.net/gh/wandelbotsgmbh/wandelbots-js-react-components/public/models/${e}.glb`}const Lu=on(({rapidlyChangingMotionState:e,modelFromController:t,dhParameters:n,getModel:r=Vo,isGhost:a=!1,...s})=>{let i=null;const l=Y.useRef(),u=Y.useCallback(h=>{h&&(l.current=h,a&&c())},[a]),c=()=>{!l.current||l.current.userData.isGhost||(l.current.traverse(h=>{if(h instanceof Me.Mesh){h.material instanceof Me.Material&&(h.material.colorWrite=!0);const m=h.clone(),b=h.clone();m.material=new Me.MeshStandardMaterial({depthTest:!0,depthWrite:!0,colorWrite:!1,polygonOffset:!0,polygonOffsetFactor:1}),m.userData.isGhost=!0,b.material=new Me.MeshStandardMaterial({color:"#D91433",opacity:.3,depthTest:!0,depthWrite:!1,transparent:!0,polygonOffset:!0,polygonOffsetFactor:-1}),b.userData.isGhost=!0,h.parent&&(h.parent.add(m),h.parent.add(b))}}),l.current.userData.isGhost=!0)},d=()=>{if(!l.current||!l.current.userData.isGhost)return;const h=[];l.current.traverse(m=>{var b;m instanceof Me.Mesh&&((b=m.userData)!=null&&b.isGhost?h.push(m):m.material instanceof Me.Material&&(m.material.colorWrite=!0))}),h.forEach(m=>{m.parent&&m.parent.remove(m)}),l.current.userData.isGhost=!0};switch(Y.useEffect(()=>{a?c():d()},[a]),t){case"UniversalRobots_UR3":i=B1;break;case"UniversalRobots_UR3e":i=U1;break;case"UniversalRobots_UR5":i=J1;break;case"UniversalRobots_UR5e":i=V1;break;case"UniversalRobots_UR10":i=F1;break;case"UniversalRobots_UR10e":i=D1;break;case"Yaskawa_AR900":i=po;break;case"Yaskawa_GP7":i=po;break;case"Yaskawa_AR1440":i=Au;break;case"Yaskawa_AR1730":i=Pu;break;case"Yaskawa_AR2010":i=Cu;break;case"Yaskawa_AR3120":i=Mu;break;case"Yaskawa_GP50":i=ku;break;case"FANUC_CRX10iA":i=yu;break;case"FANUC_CRX10iAL":i=Eu;break;case"FANUC_CRX20iAL":i=_u;break;case"FANUC_CRX25iA":i=vu;break;case"FANUC_CRX25iAL":i=bu;break;case"FANUC_LR_Mate_200iD":i=Su;break;case"FANUC_LR_Mate_200iD7L":i=N1;break;case"FANUC_ARC_Mate_120iD":i=go;break;case"FANUC_ARC_Mate_120iD35":i=go;break;case"FANUC_ARC_Mate_100iD":i=pu;break;case"KUKA_KR210_R2700":i=wu;break;case"KUKA_KR270_R2700":i=ju;break;case"KUKA_KR16_R2010_2":i=xu;break;case"KUKA_KR6_R700_2":i=Ru;break;case"ABB_1200_07_7":i=fu;break;case"ABB_1300_115_10":i=gu;break;default:console.warn(`Unknown robot type: ${t}`),i=null}return o.jsxs(Xu.ErrorBoundary,{fallback:o.jsx(Va,{rapidlyChangingMotionState:e,dhParameters:n,...s}),children:[o.jsx(Y.Suspense,{fallback:o.jsx(Va,{rapidlyChangingMotionState:e,dhParameters:n,...s}),children:o.jsx("group",{ref:u,children:i?o.jsx(Ou,{rapidlyChangingMotionState:e,robotConfig:i.config,children:o.jsx(i,{modelURL:r(t),...s})}):o.jsx(Va,{rapidlyChangingMotionState:e,dhParameters:n})})}),o.jsx(W1,{})]})});function H1({connectedMotionGroup:e,getModel:t=Vo,isGhost:n=!1,...r}){return e.dhParameters?o.jsx(Lu,{rapidlyChangingMotionState:e.rapidlyChangingMotionState,modelFromController:e.modelFromController||"",dhParameters:e.dhParameters,getModel:t,isGhost:n,...r}):null}const X1=T.styled(T.Fab,{shouldForwardProp:e=>e!=="selected"})(({theme:e})=>{var t,n,r;return{borderRadius:"20px","&:hover":{background:(t=e.palette.backgroundPaperElevation)==null?void 0:t[7]},variants:[{props:({selected:a})=>!a,style:{background:(n=e.palette.backgroundPaperElevation)==null?void 0:n[0],color:e.palette.action.disabled,"> img":{opacity:.4}}},{props:({selected:a})=>a,style:{background:(r=e.palette.backgroundPaperElevation)==null?void 0:r[11],border:`1px solid ${e.palette.divider}`,color:e.palette.primary.contrastText}}]}}),q1=Y.forwardRef((e,t)=>o.jsx(X1,{ref:t,selected:e.selected,...e,color:"secondary",variant:"circular"})),Y1={$schema:"https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",name:"wandelscript",patterns:[{include:"#keywords"},{include:"#strings"},{include:"#comments"},{include:"#functions"}],repository:{keywords:{patterns:[{name:"keyword.control.flow.wandelscript",match:"\\b(move|via|to|interrupt|def|False|True|for|if|else|elif|while|return|switch|activate|deactivate|print)\\b"}]},strings:{name:"string.quoted.double.wandelscript",begin:'"',end:'"',patterns:[{name:"constant.character.escape.wandelscript",match:"\\\\."}]},comments:{patterns:[{begin:"#",beginCaptures:{0:{name:"punctuation.definition.comment.wandelscript"}},end:"$",name:"comment.line.number-sign.wandelscript"}]},functions:{patterns:[{match:"[a-zA-Z_-]+\\(",name:"entity.name.function.wandelscript"}]}},scopeName:"source.wandelscript"},Z1=Y.lazy(()=>import("@monaco-editor/react")),Q1=on(e=>{const t=T.useTheme(),n=Y.useRef(null),[r,a]=Y.useState("dark-plus"),s=t.palette.mode==="dark"?"dark-plus":"light-plus";async function i(l){const[{createHighlighter:u},{shikiToMonaco:c}]=await Promise.all([import("shiki"),import("@shikijs/monaco")]);l.languages.register({id:"wandelscript"}),l.languages.setLanguageConfiguration("wandelscript",{comments:{lineComment:"#"},brackets:[["(",")"],["[","]"]],autoClosingPairs:[{open:"[",close:"]"},{open:"(",close:")"}],surroundingPairs:[{open:"[",close:"]"},{open:"(",close:")"}]}),n.current||(n.current=await u({langs:[Y1],themes:["dark-plus","light-plus"]})),c(n.current,l),l.editor.defineTheme(s,{base:t.palette.mode==="dark"?"vs-dark":"vs",inherit:!0,rules:[],colors:t.palette.mode==="dark"?{"editor.background":"#262F42","editorLineNumber.foreground":"#797979","editorLineNumber.activeForeground":"#e9e9e9","editor.lineHighlightBorder":"#494949"}:{}}),e.monacoSetup&&e.monacoSetup(l),a(s)}return o.jsx(Y.Suspense,{fallback:o.jsx(fa,{}),children:o.jsx(Z1,{value:e.code,onMount:(l,u)=>{i(u)},onChange:e.onChange,defaultLanguage:"wandelscript",theme:r,options:{minimap:{enabled:!1},wordWrap:"on",automaticLayout:!0,...e.monacoOptions}})})});function $u(){var t,n,r,a,s,i;const e=T.createTheme({palette:{mode:"dark",text:{primary:"rgba(255, 255, 255, 1)",secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.38)"},primary:{main:"rgba(142, 86, 252, 1)",dark:"rgba(136, 58, 255, 1)",light:"rgba(157, 131, 246, 1)",contrastText:"rgba(255, 255, 255, 0.87)"},secondary:{main:"rgba(255, 255, 255, 1)",dark:"rgba(255, 255, 255, 0.06)",contrastText:"rgba(255, 255, 255, 0.87)"},tertiary:{main:"rgba(100, 255, 218, 1)",dark:"rgba(38, 166, 154, 1)",light:"rgba(167, 255, 235, 1)",contrastText:"rgba(0, 0, 0, 1)"},error:{main:"rgba(239, 83, 80, 1)",dark:"rgba(229, 57, 53, 1)",light:"rgba(239, 154, 154, 1)",contrastText:"rgba(255, 255, 255, 1)"},warning:{main:"rgba(255, 171, 64, 1)",dark:"rgba(255, 145, 0, 1)",light:"rgba(255, 209, 128, 1)",contrastText:"rgba(0, 0, 0, 0.87)"},success:{main:"rgba(38, 166, 154, 1)",dark:"rgba(0, 121, 107, 1)",light:"rgba(128, 203, 196, 1)",contrastText:"rgba(255, 255, 255, 0.87)"},background:{default:"rgba(2, 6, 23, 1)",paper:"rgba(17, 19, 31, 1)"},action:{active:"rgba(255, 255, 255, 0.56)",hover:"rgba(255, 255, 255, 0.08)",selected:"rgba(255, 255, 255, 0.16)",disabledBackground:"rgba(255, 255, 255, 0.12)",focus:"rgba(255, 255, 255, 0.12)",disabled:"rgba(255, 255, 255, 0.38)"},common:{white:"rgba(255, 255, 255, 1)",black:"rgba(0, 0, 0, 1)"},divider:"rgba(255, 255, 255, 0.12)",backgroundPaperElevation:{0:"rgba(17,19,31,1.0)",1:"rgba(20,22,35,1.0)",2:"rgba(23,25,39,1.0)",3:"rgba(26,28,43,1.0)",4:"rgba(29,31,47,1.0)",5:"rgba(32,34,51,1.0)",6:"rgba(35,37,55,1.0)",7:"rgba(38,40,59,1.0)",8:"rgba(41,43,63,1.0)",9:"rgba(44,46,67,1.0)",10:"rgba(47,49,71,1.0)",11:"rgba(50,52,75,1.0)",12:"rgba(53,55,79,1.0)",13:"rgba(56,58,83,1.0)",14:"rgba(59,61,87,1.0)",15:"rgba(62,64,91,1.0)",16:"rgba(57,63,87,1.0)"}},paletteExt:{primary:{hover:"rgba(142, 86, 252, 0.08)",selected:"rgba(142, 86, 252, 0.16)",focus:"rgba(142, 86, 252, 0.12)",focusVisible:"rgba(142, 86, 252, 0.3)",outlineBorder:"rgba(142, 86, 252, 0.5)"},secondary:{tonal:"rgba(255,255,255,0.1)"}}});return{...e,components:{MuiButton:{styleOverrides:{root:{textTransform:"none",borderRadius:"10px"}},variants:[{props:{color:"secondary",variant:"contained"},style:{border:`1px solid ${e.palette.divider}`,background:(r=(n=(t=e.paletteExt)==null?void 0:t.secondary)==null?void 0:n.tonal)==null?void 0:r.toString()}},{props:{color:"secondary",variant:"outlined"},style:{border:`1px solid ${e.palette.divider}`}}]},MuiDivider:{styleOverrides:{root:{border:"1px solid"}}},MuiTab:{styleOverrides:{root:{textTransform:"none",color:e.palette.text.secondary,"&.Mui-selected":{color:e.palette.text.primary}}}},MuiTabs:{styleOverrides:{root:{background:(a=e.palette.backgroundPaperElevation)==null?void 0:a[1]}}},MuiToggleButtonGroup:{styleOverrides:{root:{".MuiToggleButtonGroup-firstButton":{borderRadius:"10px 0 0 10px"},".MuiToggleButtonGroup-lastButton":{borderRadius:"0 10px 10px 0"}}}},MuiToggleButton:{styleOverrides:{root:{textTransform:"none",padding:"6px 16px"}}},MuiSelect:{variants:[{props:{variant:"filled"},style:{borderRadius:"10px","::before, ::after":{visibility:"collapse"},".MuiInputBase-input":{padding:"6px 16px",borderRadius:"10px"}}}]},MuiFab:{styleOverrides:{root:{background:(i=(s=e.paletteExt)==null?void 0:s.secondary)==null?void 0:i.tonal}},variants:[{props:{color:"primary"},style:{background:e.palette.primary.main}}]}},componentsExt:{JoggingCartesian:{Axis:{X:{backgroundColor:"rgba(215, 66, 56, 1)",borderColor:"rgba(215, 66, 56, 1)",buttonBackgroundColor:"rgba(241, 77, 66, 1)",color:"rgba(255, 255, 255, 1)"},Y:{backgroundColor:"rgba(20, 151, 108, 1)",borderColor:"rgba(20, 151, 108, 1)",buttonBackgroundColor:"rgba(28, 188, 135, 1)",color:"rgba(255, 255, 255, 1)"},Z:{backgroundColor:"rgba(1, 87, 155, 1)",borderColor:"rgba(1, 87, 155, 1)",buttonBackgroundColor:"rgba(2, 136, 209, 1)",color:"rgba(255, 255, 255, 1)"}}}}}}function ev(){const e=$u();return e.palette.mode="light",e}function tv(e){var n,r,a,s;let t=!0;return((n=e.palette)==null?void 0:n.mode)==="light"?t=!1:((r=e.palette)==null?void 0:r.mode)!=="dark"&&(t=!(typeof window<"u"&&((s=(a=window.matchMedia)==null?void 0:a.call(window,"(prefers-color-scheme: light)"))==null?void 0:s.matches))),t?$u():ev()}exports.JoggingCartesianAxisControl=eo;exports.JoggingJointRotationControl=yl;exports.JoggingPanel=T1;exports.LoadingCover=fa;exports.LoadingErrorMessage=Vl;exports.NoMotionGroupModal=L1;exports.PresetEnvironment=Zu;exports.Robot=H1;exports.SafetyZonesRenderer=tc;exports.SelectableFab=q1;exports.SupportedRobot=Lu;exports.VelocitySlider=su;exports.WandelscriptEditor=Q1;exports.createNovaMuiTheme=tv;exports.defaultAxisConfig=$1;exports.defaultGetModel=Vo;exports.useAnimationFrame=xr;exports.useAutorun=dl;exports.useMounted=ia;exports.useReaction=Io;
|
|
84
84
|
//# sourceMappingURL=index.cjs.map
|