@wandelbots/wandelbots-js-react-components 1.24.0 → 1.24.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/jogging/JoggingStore.d.ts +2 -0
- package/dist/components/jogging/JoggingStore.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +16 -23
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/jogging/JoggingPanel.tsx +2 -2
- package/src/components/jogging/JoggingStore.ts +14 -20
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=Br(i);r[l]||(ag(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 Na(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 og(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function sg(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 v=d&&c-d;return v?Math.round(m*1e3/v):void 0}}function ig(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=sg(50,250);return ig(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)),lg=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}}(),ug=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 cg(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function dg(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ll(e,t){return e&&!cg(t)?dg(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=Ml(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&&lg(t.url))){const c=a&&s&&ug.read(s);c&&i.set(a,c)}return t},mg=typeof XMLHttpRequest<"u",hg=mg&&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,v,_;function y(){v&&v(),_&&_(),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 P=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:P,config:e,request:p};El(function(I){n(I),y()},function(I){r(I),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 C=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const w=a.transitional||Tl;a.timeoutErrorMessage&&(C=a.timeoutErrorMessage),r(new J(C,w.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,e,p)),p=null},s===void 0&&i.setContentType(null),"setRequestHeader"in p&&S.forEach(i.toJSON(),function(C,w){p.setRequestHeader(w,C)}),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,v]=Jn(u),p.upload.addEventListener("progress",h),p.upload.addEventListener("loadend",v)),(a.cancelToken||a.signal)&&(d=P=>{p&&(r(!P||P.type?new jr(null,e,p):P),p.abort(),p=null)},a.cancelToken&&a.cancelToken.subscribe(d),a.signal&&(a.signal.aborted?d():a.signal.addEventListener("abort",d)));const j=og(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)})},fg=(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}]},gg=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},pg=async function*(e,t,n){for await(const r of e)yield*gg(ArrayBuffer.isView(r)?r:await n(String(r)),t)},zs=(e,t,n,r,a)=>{const s=pg(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 v=i+=m;n(v)}c.enqueue(new Uint8Array(h))}catch(d){throw u(d),d}},cancel(c){return u(c),s.return()}},{highWaterMark:2})},ma=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Nl=ma&&typeof ReadableStream=="function",ro=ma&&(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}},yg=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,no=Nl&&Fl(()=>S.isReadableStream(new Response("").body)),Vn={stream:no&&(e=>e.body)};ma&&(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 _g=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 ro(e)).byteLength},vg=async(e,t)=>{const n=S.toFiniteNumber(e.getContentLength());return n??_g(t)},bg=ma&&(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[v,_]=a||s||i?fg([a,s],i):[],y,p;const x=()=>{!y&&setTimeout(()=>{v&&v.unsubscribe()}),y=!0};let j;try{if(u&&yg&&n!=="get"&&n!=="head"&&(j=await vg(d,r))!==0){let A=new Request(t,{method:"POST",body:r,duplex:"half"}),I;if(S.isFormData(r)&&(I=A.headers.get("content-type"))&&d.setContentType(I),A.body){const[z,le]=Js(j,Jn(Vs(u)));r=zs(A.body,Ks,z,le,ro)}}S.isString(h)||(h=h?"include":"omit"),p=new Request(t,{...m,signal:v,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:h});let P=await fetch(p);const C=no&&(c==="stream"||c==="response");if(no&&(l||C)){const A={};["status","statusText","headers"].forEach(ce=>{A[ce]=P[ce]});const I=S.toFiniteNumber(P.headers.get("content-length")),[z,le]=l&&Js(I,Jn(Vs(l),!0))||[];P=new Response(zs(P.body,Ks,z,()=>{le&&le(),C&&x()},ro),A)}c=c||"text";let w=await Vn[S.findKey(Vn,c)||"text"](P,e);return!C&&x(),_&&_(),await new Promise((A,I)=>{El(A,I,{data:w,headers:Fe.from(P.headers),status:P.status,statusText:P.statusText,config:e,request:p})})}catch(P){throw x(),P&&P.name==="TypeError"&&/fetch/i.test(P.message)?Object.assign(new J("Network Error",J.ERR_NETWORK,e,p),{cause:P.cause||P}):J.from(P,P&&P.code,e,p)}}),ao={http:N0,xhr:hg,fetch:bg};S.forEach(ao,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ws=e=>`- ${e}`,Sg=e=>S.isFunction(e)||e===null||e===!1,Bl={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,!Sg(n)&&(r=ao[(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:ao};function Fa(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new jr(null,e)}function Hs(e){return Fa(e),e.headers=Fe.from(e.headers),e.data=Na.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Bl.getAdapter(e.adapter||ln.adapter)(e).then(function(r){return Fa(e),r.data=Na.call(e,e.transformResponse,r),r.headers=Fe.from(r.headers),r},function(r){return Ol(r)||(Fa(e),r&&r.response&&(r.response.data=Na.call(e,e.transformResponse,r.response),r.response.headers=Fe.from(r.response.headers))),Promise.reject(r)})}const Dl="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 qs={};No.transitional=function(t,n,r){function a(s,i){return"[Axios v"+Dl+"] 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&&!qs[i]&&(qs[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 xg(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 oo={assertOptions:xg,validators:No},Ot=oo.validators;let Gt=class{constructor(t){this.defaults=t,this.interceptors={request:new Ds,response:new Ds}}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&&oo.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}:oo.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 v=n;for(h=0;h<m;){const _=l[h++],y=l[h++];try{v=_(v)}catch(p){y.call(this,p);break}}try{d=Hs.call(this,v)}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 Ml(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 wg=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 jg(e){return function(n){return e.apply(null,n)}}function Rg(e){return S.isObject(e)&&e.isAxiosError===!0}const so={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(so).forEach(([e,t])=>{so[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=wg;Se.isCancel=Ol;Se.VERSION=Dl;Se.toFormData=da;Se.AxiosError=J;Se.Cancel=Se.CanceledError;Se.all=function(t){return Promise.all(t)};Se.spread=jg;Se.isAxiosError=Rg;Se.mergeConfig=Ht;Se.AxiosHeaders=Fe;Se.formToJSON=e=>kl(S.isHTMLForm(e)?new FormData(e):e);Se.getAdapter=Bl.getAdapter;Se.HttpStatusCode=so;Se.default=Se;const{Axios:nv,AxiosError:Xs,CanceledError:av,isCancel:ov,CancelToken:sv,VERSION:iv,all:lv,Cancel:uv,isAxiosError:cv,spread:dv,toFormData:mv,AxiosHeaders:hv,HttpStatusCode:fv,formToJSON:gv,getAdapter:pv,mergeConfig:yv}=Se;function Cg(e){try{return JSON.stringify(e)}catch{return}}function Ag(e){var t,n,r,a;return e instanceof Xs&&e.code==="ERR_NETWORK"?"Failed to connect to the server. Please check your internet connection.":e instanceof Xs&&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: ${Cg(e)||e}`}const ha=e=>{const t=e.softTimeout||3e3,[n,r]=Q.useState(!1);return Q.useEffect(()=>{const a=setTimeout(()=>{r(!0)},t);return()=>clearTimeout(a)}),o.jsx(k.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(k.CircularProgress,{sx:{marginBottom:"24px"}}),!!e.message&&o.jsx("div",{children:e.message}),o.jsx(k.Stack,{sx:{visibility:n?"visible":"hidden",marginTop:"1rem",color:"gray"},children:"This is taking longer than expected..."})]})})},Vl=e=>{const t=Ag(e.error),n=e.error instanceof Error?e.error.stack:null,r=k.useTheme();return o.jsxs(k.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 ${po.lowerFirst(k.capitalize(e.loadingMessage))} - `:"")+t,o.jsx("br",{}),n&&o.jsx("pre",{children:n})]})},Pg=({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"})),Ig=Q.forwardRef(Pg),Mg=({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=Q.forwardRef(Mg),kg=({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"})),Og=Q.forwardRef(kg),Eg=({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"})),Lg=Q.forwardRef(Eg),Ys=e=>o.jsx(k.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||{}},...po.omit(e,"sx")}),Gl=ke.observer(({store:e,children:t})=>{const{t:n}=Xt.useTranslation(),r=k.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(k.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(ha,{message:n("Jogging.Activating.lb"),error:e.activationError})})}return o.jsxs(k.Stack,{sx:{position:"relative",padding:"6px"},children:[a(),t]})}),zl=Q.forwardRef(({label:e,value:t},n)=>o.jsxs(o.Fragment,{children:[e&&o.jsx(k.InputLabel,{children:e}),o.jsx(k.Chip,{ref:n,sx:{fontSize:"14px",opacity:.8,marginTop:"4px !important"},value:t})]})),$g=ke.observer(({store:e})=>{const t=Q.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(k.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 Ng(){this.__data__=[],this.size=0}function Kl(e,t){return e===t||e!==e&&t!==t}function fa(e,t){for(var n=e.length;n--;)if(Kl(e[n][0],t))return n;return-1}var Fg=Array.prototype,Bg=Fg.splice;function Dg(e){var t=this.__data__,n=fa(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Bg.call(t,n,1),--this.size,!0}function Ug(e){var t=this.__data__,n=fa(t,e);return n<0?void 0:t[n][1]}function Jg(e){return fa(this.__data__,e)>-1}function Vg(e,t){var n=this.__data__,r=fa(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Ct(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])}}Ct.prototype.clear=Ng;Ct.prototype.delete=Dg;Ct.prototype.get=Ug;Ct.prototype.has=Jg;Ct.prototype.set=Vg;function Gg(){this.__data__=new Ct,this.size=0}function zg(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function Kg(e){return this.__data__.get(e)}function Wg(e){return this.__data__.has(e)}var Hg="[object AsyncFunction]",qg="[object Function]",Xg="[object GeneratorFunction]",Yg="[object Proxy]";function Wl(e){if(!Kt(e))return!1;var t=Yt(e);return t==qg||t==Xg||t==Hg||t==Yg}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 Zg(e){return!!Zs&&Zs in e}var Qg=Function.prototype,ep=Qg.toString;function Zt(e){if(e!=null){try{return ep.call(e)}catch{}try{return e+""}catch{}}return""}var tp=/[\\^$.*+?()[\]{}|]/g,rp=/^\[object .+?Constructor\]$/,np=Function.prototype,ap=Object.prototype,op=np.toString,sp=ap.hasOwnProperty,ip=RegExp("^"+op.call(sp).replace(tp,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function lp(e){if(!Kt(e)||Zg(e))return!1;var t=Wl(e)?ip:rp;return t.test(Zt(e))}function up(e,t){return e==null?void 0:e[t]}function Qt(e,t){var n=up(e,t);return lp(n)?n:void 0}var Xr=Qt(yt,"Map"),Yr=Qt(Object,"create");function cp(){this.__data__=Yr?Yr(null):{},this.size=0}function dp(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var mp="__lodash_hash_undefined__",hp=Object.prototype,fp=hp.hasOwnProperty;function gp(e){var t=this.__data__;if(Yr){var n=t[e];return n===mp?void 0:n}return fp.call(t,e)?t[e]:void 0}var pp=Object.prototype,yp=pp.hasOwnProperty;function _p(e){var t=this.__data__;return Yr?t[e]!==void 0:yp.call(t,e)}var vp="__lodash_hash_undefined__";function bp(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Yr&&t===void 0?vp:t,this}function qt(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])}}qt.prototype.clear=cp;qt.prototype.delete=dp;qt.prototype.get=gp;qt.prototype.has=_p;qt.prototype.set=bp;function Sp(){this.size=0,this.__data__={hash:new qt,map:new(Xr||Ct),string:new qt}}function xp(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function ga(e,t){var n=e.__data__;return xp(t)?n[typeof t=="string"?"string":"hash"]:n.map}function wp(e){var t=ga(this,e).delete(e);return this.size-=t?1:0,t}function jp(e){return ga(this,e).get(e)}function Rp(e){return ga(this,e).has(e)}function Cp(e,t){var n=ga(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,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=Sp;At.prototype.delete=wp;At.prototype.get=jp;At.prototype.has=Rp;At.prototype.set=Cp;var Ap=200;function Pp(e,t){var n=this.__data__;if(n instanceof Ct){var r=n.__data__;if(!Xr||r.length<Ap-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new At(r)}return n.set(e,t),this.size=n.size,this}function wt(e){var t=this.__data__=new Ct(e);this.size=t.size}wt.prototype.clear=Gg;wt.prototype.delete=zg;wt.prototype.get=Kg;wt.prototype.has=Wg;wt.prototype.set=Pp;var Ip="__lodash_hash_undefined__";function Mp(e){return this.__data__.set(e,Ip),this}function Tp(e){return this.__data__.has(e)}function Gn(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new At;++t<n;)this.add(e[t])}Gn.prototype.add=Gn.prototype.push=Mp;Gn.prototype.has=Tp;function kp(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 Op(e,t){return e.has(t)}var Ep=1,Lp=2;function Hl(e,t,n,r,a,s){var i=n&Ep,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,v=n&Lp?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(v){if(!kp(t,function(x,j){if(!Op(v,j)&&(_===x||a(_,x,n,r,s)))return v.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 $p(e){var t=-1,n=Array(e.size);return e.forEach(function(r,a){n[++t]=[a,r]}),n}function Np(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var Fp=1,Bp=2,Dp="[object Boolean]",Up="[object Date]",Jp="[object Error]",Vp="[object Map]",Gp="[object Number]",zp="[object RegExp]",Kp="[object Set]",Wp="[object String]",Hp="[object Symbol]",qp="[object ArrayBuffer]",Xp="[object DataView]",ei=$t?$t.prototype:void 0,Da=ei?ei.valueOf:void 0;function Yp(e,t,n,r,a,s,i){switch(n){case Xp:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case qp:return!(e.byteLength!=t.byteLength||!s(new Qs(e),new Qs(t)));case Dp:case Up:case Gp:return Kl(+e,+t);case Jp:return e.name==t.name&&e.message==t.message;case zp:case Wp:return e==t+"";case Vp:var l=$p;case Kp:var u=r&Fp;if(l||(l=Np),e.size!=t.size&&!u)return!1;var c=i.get(e);if(c)return c==t;r|=Bp,i.set(e,t);var d=Hl(l(e),l(t),r,a,s,i);return i.delete(e),d;case Hp:if(Da)return Da.call(e)==Da.call(t)}return!1}function Zp(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 Qp(e,t,n){var r=t(e);return pt(e)?r:Zp(r,n(e))}function ey(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 ty(){return[]}var ry=Object.prototype,ny=ry.propertyIsEnumerable,ti=Object.getOwnPropertySymbols,ay=ti?function(e){return e==null?[]:(e=Object(e),ey(ti(e),function(t){return ny.call(e,t)}))}:ty;function oy(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var sy="[object Arguments]";function ri(e){return Wt(e)&&Yt(e)==sy}var ql=Object.prototype,iy=ql.hasOwnProperty,ly=ql.propertyIsEnumerable,Xl=ri(function(){return arguments}())?ri:function(e){return Wt(e)&&iy.call(e,"callee")&&!ly.call(e,"callee")};function uy(){return!1}var Yl=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ni=Yl&&typeof module=="object"&&module&&!module.nodeType&&module,cy=ni&&ni.exports===Yl,ai=cy?yt.Buffer:void 0,dy=ai?ai.isBuffer:void 0,io=dy||uy,my=9007199254740991,hy=/^(?:0|[1-9]\d*)$/;function Zl(e,t){var n=typeof e;return t=t??my,!!t&&(n=="number"||n!="symbol"&&hy.test(e))&&e>-1&&e%1==0&&e<t}var fy=9007199254740991;function Fo(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=fy}var gy="[object Arguments]",py="[object Array]",yy="[object Boolean]",_y="[object Date]",vy="[object Error]",by="[object Function]",Sy="[object Map]",xy="[object Number]",wy="[object Object]",jy="[object RegExp]",Ry="[object Set]",Cy="[object String]",Ay="[object WeakMap]",Py="[object ArrayBuffer]",Iy="[object DataView]",My="[object Float32Array]",Ty="[object Float64Array]",ky="[object Int8Array]",Oy="[object Int16Array]",Ey="[object Int32Array]",Ly="[object Uint8Array]",$y="[object Uint8ClampedArray]",Ny="[object Uint16Array]",Fy="[object Uint32Array]",de={};de[My]=de[Ty]=de[ky]=de[Oy]=de[Ey]=de[Ly]=de[$y]=de[Ny]=de[Fy]=!0;de[gy]=de[py]=de[Py]=de[yy]=de[Iy]=de[_y]=de[vy]=de[by]=de[Sy]=de[xy]=de[wy]=de[jy]=de[Ry]=de[Cy]=de[Ay]=!1;function By(e){return Wt(e)&&Fo(e.length)&&!!de[Yt(e)]}function Dy(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,Uy=Vr&&Vr.exports===Ql,Ua=Uy&&gl.process,oi=function(){try{var e=Vr&&Vr.require&&Vr.require("util").types;return e||Ua&&Ua.binding&&Ua.binding("util")}catch{}}(),si=oi&&oi.isTypedArray,eu=si?Dy(si):By,Jy=Object.prototype,Vy=Jy.hasOwnProperty;function Gy(e,t){var n=pt(e),r=!n&&Xl(e),a=!n&&!r&&io(e),s=!n&&!r&&!a&&eu(e),i=n||r||a||s,l=i?oy(e.length,String):[],u=l.length;for(var c in e)Vy.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 zy=Object.prototype;function Ky(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||zy;return e===n}function Wy(e,t){return function(n){return e(t(n))}}var Hy=Wy(Object.keys,Object),qy=Object.prototype,Xy=qy.hasOwnProperty;function Yy(e){if(!Ky(e))return Hy(e);var t=[];for(var n in Object(e))Xy.call(e,n)&&n!="constructor"&&t.push(n);return t}function tu(e){return e!=null&&Fo(e.length)&&!Wl(e)}function Bo(e){return tu(e)?Gy(e):Yy(e)}function ii(e){return Qp(e,Bo,ay)}var Zy=1,Qy=Object.prototype,e_=Qy.hasOwnProperty;function t_(e,t,n,r,a,s){var i=n&Zy,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:e_.call(t,m)))return!1}var v=s.get(e),_=s.get(t);if(v&&_)return v==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 P=i?r(j,x,m,t,e,s):r(x,j,m,e,t,s);if(!(P===void 0?x===j||a(x,j,n,r,s):P)){y=!1;break}p||(p=m=="constructor")}if(y&&!p){var C=e.constructor,w=t.constructor;C!=w&&"constructor"in e&&"constructor"in t&&!(typeof C=="function"&&C instanceof C&&typeof w=="function"&&w instanceof w)&&(y=!1)}return s.delete(e),s.delete(t),y}var lo=Qt(yt,"DataView"),uo=Qt(yt,"Promise"),co=Qt(yt,"Set"),mo=Qt(yt,"WeakMap"),li="[object Map]",r_="[object Object]",ui="[object Promise]",ci="[object Set]",di="[object WeakMap]",mi="[object DataView]",n_=Zt(lo),a_=Zt(Xr),o_=Zt(uo),s_=Zt(co),i_=Zt(mo),Et=Yt;(lo&&Et(new lo(new ArrayBuffer(1)))!=mi||Xr&&Et(new Xr)!=li||uo&&Et(uo.resolve())!=ui||co&&Et(new co)!=ci||mo&&Et(new mo)!=di)&&(Et=function(e){var t=Yt(e),n=t==r_?e.constructor:void 0,r=n?Zt(n):"";if(r)switch(r){case n_:return mi;case a_:return li;case o_:return ui;case s_:return ci;case i_:return di}return t});var l_=1,hi="[object Arguments]",fi="[object Array]",pn="[object Object]",u_=Object.prototype,gi=u_.hasOwnProperty;function c_(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&&io(e)){if(!io(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):Yp(e,t,u,n,r,a,s);if(!(n&l_)){var v=d&&gi.call(e,"__wrapped__"),_=h&&gi.call(t,"__wrapped__");if(v||_){var y=v?e.value():e,p=_?t.value():t;return s||(s=new wt),a(y,p,n,r,s)}}return m?(s||(s=new wt),t_(e,t,n,r,a,s)):!1}function pa(e,t,n,r,a){return e===t?!0:e==null||t==null||!Wt(e)&&!Wt(t)?e!==e&&t!==t:c_(e,t,n,r,pa,a)}function d_(e,t){return pa(e,t)}const ru=({store:e})=>{const{t}=Xt.useTranslation(),[n,r]=Q.useState(e.jogger.motionStream.rapidlyChangingMotionState.state.joint_limit_reached.limit_reached),a=Q.useRef(n);xr(()=>{const i=e.jogger.motionStream.rapidlyChangingMotionState.state.joint_limit_reached.limit_reached;d_(a.current,i)||(a.current=i,r(i))});const s=[];for(const[i,l]of n.entries())l&&s.push(i);return o.jsx(k.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(", ")})})},m_=({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"})),h_=Q.forwardRef(m_),f_=({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"})),g_=Q.forwardRef(f_),p_=ke.observer(({store:e})=>{var r;const{t}=Xt.useTranslation();function n(a,s){(s==="coordsys"||s==="tool")&&e.setSelectedOrientation(s)}return o.jsxs(o.Fragment,{children:[o.jsxs(k.Stack,{direction:"row",alignItems:"center",spacing:2,sx:{padding:"6px 16px","& label":{opacity:.7,fontSize:"12px",marginBottom:"4px"}},children:[o.jsxs(k.Stack,{width:"50%",children:[o.jsx(k.InputLabel,{id:"jogging-coord-select",children:"Coordinate Sys."}),o.jsx(k.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(k.MenuItem,{value:a.coordinate_system,children:a.name||a.coordinate_system},a.coordinate_system))})]}),o.jsxs(k.Stack,{width:"50%",children:[o.jsx(k.InputLabel,{id:"jogging-tcp-select",children:"TCP"}),o.jsx(k.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(k.MenuItem,{value:a.id,children:a.id},a.id))})]})]}),o.jsxs(k.Stack,{direction:"row",alignItems:"center",spacing:2,sx:{padding:"6px 16px","& label":{opacity:.7,fontSize:"12px",marginBottom:"4px"}},children:[o.jsxs(k.Stack,{width:"50%",children:[o.jsx(k.InputLabel,{id:"orientation-select",children:t("Jogging.Cartesian.Orientation.lb")}),o.jsxs(k.ToggleButtonGroup,{value:e.selectedOrientation,onChange:n,exclusive:!0,"aria-labelledby":"orientation-select",disabled:e.isLocked,children:[o.jsx(k.ToggleButton,{value:"coordsys",sx:{flexGrow:1},children:o.jsx(h_,{})}),o.jsx(k.ToggleButton,{value:"tool",sx:{flexGrow:1},children:o.jsx(g_,{})})]})]}),o.jsxs(k.Stack,{width:"50%",children:[o.jsx(k.InputLabel,{id:"jogging-increment-select",children:"Increment"}),o.jsxs(k.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(k.MenuItem,{value:"continuous",children:t("Jogging.Increment.Continuous.dd")},"continuous"),e.selectedOrientation==="tool"?null:e.discreteIncrementOptions.map(a=>o.jsx(k.MenuItem,{value:a.id,children:e.currentMotionType==="translate"?`${a.mm}mm`:`${a.degrees}°`},a.id))]})]})]})]})});function y_(e,t,n=(r,a)=>r===a){return e.length===t.length&&e.every((r,a)=>n(r,t[a]))}const __=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 v_(e,t,n){return(n-t)*e+t}function b_(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 S_(e,t,n){const r=Math.round((e-n)/t)*t+n;return Number(r.toFixed(b_(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"?y_(e,t):!1}const x_={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}%`})}},w_=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 j_(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:v,scale:_=w_,step:y=1,shiftStep:p=10,tabIndex:x,value:j}=e,P=N.useRef(),[C,w]=N.useState(-1),[A,I]=N.useState(-1),[z,le]=N.useState(!1),ce=N.useRef(0),[B,q]=Zi({controlled:j,default:n??u,name:"Slider"}),G=d&&((T,L,F)=>{const K=T.nativeEvent||T,Z=new K.constructor(K.type,K);Object.defineProperty(Z,"target",{writable:!0,value:{value:L,name:c}}),d(Z,L,F)}),Y=Array.isArray(B);let H=Y?B.slice().sort(nu):[B];H=H.map(T=>T==null?u:mr(T,u,l));const xe=i===!0&&y!==null?[...Array(Math.floor((l-u)/y)+1)].map((T,L)=>({value:u+y*L})):i||[],ue=xe.map(T=>T.value),{isFocusVisibleRef:ee,onBlur:Re,onFocus:Oe,ref:nt}=Qi(),[_t,We]=N.useState(-1),we=N.useRef(),Pt=Ln(nt,we),lt=Ln(v,Pt),He=T=>L=>{var F;const K=Number(L.currentTarget.getAttribute("data-index"));Oe(L),ee.current===!0&&We(K),I(K),T==null||(F=T.onFocus)==null||F.call(T,L)},Ue=T=>L=>{var F;Re(L),ee.current===!1&&We(-1),I(-1),T==null||(F=T.onBlur)==null||F.call(T,L)},ut=(T,L)=>{const F=Number(T.currentTarget.getAttribute("data-index")),K=H[F],Z=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[Z-1]:ue[Z+1]}if(W=mr(W,u,l),Y){a&&(W=mr(W,H[F-1]||-1/0,H[F+1]||1/0));const Ve=W;W=yi({values:H,newValue:W,index:F});let qe=F;a||(qe=W.indexOf(Ve)),_n({sliderRef:we,activeIndex:qe})}q(W),We(F),G&&!vn(W,B)&&G(T,W,F),h&&h(T,W)},ct=T=>L=>{var F;if(y!==null){const K=Number(L.currentTarget.getAttribute("data-index")),Z=H[K];let W=null;(L.key==="ArrowLeft"||L.key==="ArrowDown")&&L.shiftKey||L.key==="PageDown"?W=Math.max(Z-p,u):((L.key==="ArrowRight"||L.key==="ArrowUp")&&L.shiftKey||L.key==="PageUp")&&(W=Math.min(Z+p,l)),W!==null&&(ut(L,W),L.preventDefault())}T==null||(F=T.onKeyDown)==null||F.call(T,L)};wo(()=>{if(r&&we.current.contains(document.activeElement)){var T;(T=document.activeElement)==null||T.blur()}},[r]),r&&C!==-1&&w(-1),r&&_t!==-1&&We(-1);const Ft=T=>L=>{var F;(F=T.onChange)==null||F.call(T,L),ut(L,L.target.valueAsNumber)},vt=N.useRef();let Je=m;s&&m==="horizontal"&&(Je+="-reverse");const O=({finger:T,move:L=!1})=>{const{current:F}=we,{width:K,height:Z,bottom:W,left:Ve}=F.getBoundingClientRect();let qe;Je.indexOf("vertical")===0?qe=(W-T.y)/Z:qe=(T.x-Ve)/K,Je.indexOf("-reverse")!==-1&&(qe=1-qe);let re;if(re=v_(qe,u,l),y)re=S_(re,y,u);else{const Tt=pi(ue,re);re=ue[Tt]}re=mr(re,u,l);let $e=0;if(Y){L?$e=vt.current:$e=pi(H,re),a&&(re=mr(re,H[$e-1]||-1/0,H[$e+1]||1/0));const Tt=re;re=yi({values:H,newValue:re,index:$e}),a&&L||($e=re.indexOf(Tt),vt.current=$e)}return{newValue:re,activeIndex:$e}},te=Cn(T=>{const L=yn(T,P);if(!L)return;if(ce.current+=1,T.type==="mousemove"&&T.buttons===0){he(T);return}const{newValue:F,activeIndex:K}=O({finger:L,move:!0});_n({sliderRef:we,activeIndex:K,setActive:w}),q(F),!z&&ce.current>__&&le(!0),G&&!vn(F,B)&&G(T,F,K)}),he=Cn(T=>{const L=yn(T,P);if(le(!1),!L)return;const{newValue:F}=O({finger:L,move:!0});w(-1),T.type==="touchend"&&I(-1),h&&h(T,F),P.current=void 0,Le()}),Ee=Cn(T=>{if(r)return;_i()||T.preventDefault();const L=T.changedTouches[0];L!=null&&(P.current=L.identifier);const F=yn(T,P);if(F!==!1){const{newValue:Z,activeIndex:W}=O({finger:F});_n({sliderRef:we,activeIndex:W,setActive:w}),q(Z),G&&!vn(Z,B)&&G(T,Z,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 T=pr(we.current);T.removeEventListener("mousemove",te),T.removeEventListener("mouseup",he),T.removeEventListener("touchmove",te),T.removeEventListener("touchend",he)},[he,te]);N.useEffect(()=>{const{current:T}=we;return T.addEventListener("touchstart",Ee,{passive:_i()}),()=>{T.removeEventListener("touchstart",Ee),Le()}},[Le,Ee]),N.useEffect(()=>{r&&Le()},[r,Le]);const It=T=>L=>{var F;if((F=T.onMouseDown)==null||F.call(T,L),r||L.defaultPrevented||L.button!==0)return;L.preventDefault();const K=yn(L,P);if(K!==!1){const{newValue:W,activeIndex:Ve}=O({finger:K});_n({sliderRef:we,activeIndex:Ve,setActive:w}),q(W),G&&!vn(W,B)&&G(L,W,Ve)}ce.current=0;const Z=pr(we.current);Z.addEventListener("mousemove",te,{passive:!0}),Z.addEventListener("mouseup",he)},je=zn(Y?H[0]:u,u,l),Mt=zn(H[H.length-1],u,l)-je,Bt=(T={})=>{const L=An(T),F={onMouseDown:It(L||{})},K=M({},L,F);return M({},T,{ref:lt},K)},Rr=T=>L=>{var F;(F=T.onMouseOver)==null||F.call(T,L);const K=Number(L.currentTarget.getAttribute("data-index"));I(K)},Cr=T=>L=>{var F;(F=T.onMouseLeave)==null||F.call(T,L),I(-1)};return{active:C,axis:Je,axisProps:x_,dragging:z,focusedThumbIndex:_t,getHiddenInputProps:(T={})=>{var L;const F=An(T),K={onChange:Ft(F||{}),onFocus:He(F||{}),onBlur:Ue(F||{}),onKeyDown:ct(F||{})},Z=M({},F,K);return M({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},T,Z,{style:M({},fm,{direction:s?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:Bt,getThumbProps:(T={})=>{const L=An(T),F={onMouseOver:Rr(L||{}),onMouseLeave:Cr(L||{})};return M({},T,L,F)},marks:xe,open:A,range:Y,rootRef:lt,trackLeap:Mt,trackOffset:je,values:H,getThumbStyle:T=>({pointerEvents:C!==-1&&C!==T?"none":void 0})}}const R_=e=>!e||!Ur(e);function C_(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"]),A_=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=A_(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 P_=["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 I_=Rt("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${Ae(n.color)}`],n.size!=="medium"&&t[`size${Ae(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}}]}}),M_=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}}]}),T_=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:M({},e.vars?{backgroundColor:e.vars.palette.Slider[`${n}Track`],borderColor:e.vars.palette.Slider[`${n}Track`]}:M({backgroundColor:Ya(e.palette[n].main,.62),borderColor:Ya(e.palette[n].main,.62)},e.applyStyles("dark",{backgroundColor:Xa(e.palette[n].main,.5)}),e.applyStyles("dark",{borderColor:Xa(e.palette[n].main,.5)})))}))]}}),k_=Rt("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.thumb,t[`thumbColor${Ae(n.color)}`],n.size!=="medium"&&t[`thumbSize${Ae(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}`]:M({},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}`]:M({},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)}`})}}))]}}),O_=Rt(au,{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})(({theme:e})=>M({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"}}]})),E_=Rt("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>Io(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}}]})),L_=Rt("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>Io(e)&&e!=="markLabelActive",overridesResolver:(e,t)=>t.markLabel})(({theme:e})=>M({},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}}]})),$_=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${Ae(l)}`,u&&`size${Ae(u)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",u&&`thumbSize${Ae(u)}`,l&&`thumbColor${Ae(l)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return Ro(c,C_,i)},N_=({children:e})=>e,ou=N.forwardRef(function(t,n){var r,a,s,i,l,u,c,d,h,m,v,_,y,p,x,j,P,C,w,A,I,z,le,ce;const B=Mo({props:t,name:"MuiSlider"}),q=bm(),{"aria-label":G,"aria-valuetext":Y,"aria-labelledby":H,component:xe="span",components:ue={},componentsProps:ee={},color:Re="primary",classes:Oe,className:nt,disableSwap:_t=!1,disabled:We=!1,getAriaLabel:we,getAriaValueText:Pt,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}=B,It=De(B,P_),je=M({},B,{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:Mt,getRootProps:Bt,getHiddenInputProps:Rr,getThumbProps:Cr,open:Ar,active:er,axis:at,focusedThumbIndex:T,range:L,dragging:F,marks:K,values:Z,trackOffset:W,trackLeap:Ve,getThumbStyle:qe}=j_(M({},je,{rootRef:n}));je.marked=K.length>0&&K.some($=>$.label),je.dragging=F,je.focusedThumbIndex=T;const re=$_(je),$e=(r=(a=te==null?void 0:te.root)!=null?a:ue.Root)!=null?r:I_,Tt=(s=(i=te==null?void 0:te.rail)!=null?i:ue.Rail)!=null?s:M_,tr=(l=(u=te==null?void 0:te.track)!=null?u:ue.Track)!=null?l:T_,Pr=(c=(d=te==null?void 0:te.thumb)!=null?d:ue.Thumb)!=null?c:k_,bt=(h=(m=te==null?void 0:te.valueLabel)!=null?m:ue.ValueLabel)!=null?h:O_,Dt=(v=(_=te==null?void 0:te.mark)!=null?_:ue.Mark)!=null?v:E_,Ut=(y=(p=te==null?void 0:te.markLabel)!=null?p:ue.MarkLabel)!=null?y:L_,Ir=(x=(j=te==null?void 0:te.input)!=null?j:ue.Input)!=null?x:"input",Mr=(P=O==null?void 0:O.root)!=null?P:ee.root,un=(C=O==null?void 0:O.rail)!=null?C:ee.rail,Tr=(w=O==null?void 0:O.track)!=null?w:ee.track,rr=(A=O==null?void 0:O.thumb)!=null?A:ee.thumb,nr=(I=O==null?void 0:O.valueLabel)!=null?I:ee.valueLabel,_a=(z=O==null?void 0:O.mark)!=null?z:ee.mark,va=(le=O==null?void 0:O.markLabel)!=null?le:ee.markLabel,cn=(ce=O==null?void 0:O.input)!=null?ce:ee.input,dn=kt({elementType:$e,getSlotProps:Bt,externalSlotProps:Mr,externalForwardedProps:It,additionalProps:M({},R_($e)&&{as:xe}),ownerState:M({},je,Mr==null?void 0:Mr.ownerState),className:[re.root,nt]}),ba=kt({elementType:Tt,externalSlotProps:un,ownerState:je,className:re.rail}),Sa=kt({elementType:tr,externalSlotProps:Tr,additionalProps:{style:M({},Mt[at].offset(W),Mt[at].leap(Ve))},ownerState:M({},je,Tr==null?void 0:Tr.ownerState),className:re.track}),kr=kt({elementType:Pr,getSlotProps:Cr,externalSlotProps:rr,ownerState:M({},je,rr==null?void 0:rr.ownerState),className:re.thumb}),xa=kt({elementType:bt,externalSlotProps:nr,ownerState:M({},je,nr==null?void 0:nr.ownerState),className:re.valueLabel}),g=kt({elementType:Dt,externalSlotProps:_a,ownerState:je,className:re.mark}),R=kt({elementType:Ut,externalSlotProps:va,ownerState:je,className:re.markLabel}),E=kt({elementType:Ir,getSlotProps:Rr,externalSlotProps:cn,ownerState:je});return o.jsxs($e,M({},dn,{children:[o.jsx(Tt,M({},ba)),o.jsx(tr,M({},Sa)),K.filter($=>$.value>=Ue&&$.value<=He).map(($,D)=>{const ne=zn($.value,Ue,He),V=Mt[at].offset(ne);let U;return he===!1?U=Z.indexOf($.value)!==-1:U=he==="normal"&&(L?$.value>=Z[0]&&$.value<=Z[Z.length-1]:$.value<=Z[0])||he==="inverted"&&(L?$.value<=Z[0]||$.value>=Z[Z.length-1]:$.value>=Z[0]),o.jsxs(N.Fragment,{children:[o.jsx(Dt,M({"data-index":D},g,!Ur(Dt)&&{markActive:U},{style:M({},V,g.style),className:gt(g.className,U&&re.markActive)})),$.label!=null?o.jsx(Ut,M({"aria-hidden":!0,"data-index":D},R,!Ur(Ut)&&{markLabelActive:U},{style:M({},V,R.style),className:gt(re.markLabel,R.className,U&&re.markLabelActive),children:$.label})):null]},D)}),Z.map(($,D)=>{const ne=zn($,Ue,He),V=Mt[at].offset(ne),U=Ee==="off"?N_:bt;return o.jsx(U,M({},!Ur(U)&&{valueLabelFormat:Le,valueLabelDisplay:Ee,value:typeof Le=="function"?Le(Je($),D):Le,index:D,open:Ar===D||er===D||Ee==="on",disabled:We},xa,{children:o.jsx(Pr,M({"data-index":D},kr,{className:gt(re.thumb,kr.className,er===D&&re.active,T===D&&re.focusVisible),style:M({},V,qe(D),kr.style),children:o.jsx(Ir,M({"data-index":D,"aria-label":we?we(D):G,"aria-valuenow":Je($),"aria-labelledby":H,"aria-valuetext":Pt?Pt(Je($),D):Y,value:Z[D]},E))}))}),D)})]}))});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 F_="[object Number]";function B_(e){return typeof e=="number"||Wt(e)&&Yt(e)==F_}const su=ke.observer(e=>{const t=k.useTheme(),n=e.valueLabelFormat||(a=>`${a}`);function r(a,s){s===e.velocity||!B_(s)||e.onVelocityChange(s)}return o.jsxs(o.Fragment,{children:[o.jsx(k.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=ke.observer(({store:e})=>{const{t}=Xt.useTranslation(),n=ke.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(k.Stack,{sx:{margin:"0px 20px",marginBottom:"6px"},children:o.jsx(k.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})})})}),D_=ke.observer(({store:e,children:t})=>{var h,m,v,_,y,p,x,j,P;const{t:n}=Xt.useTranslation(),r=k.useTheme();function a(C,w){(w==="translate"||w==="rotate")&&e.setSelectedCartesianMotionType(w)}To(()=>[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(C,w){const A=e.jogger.motionStream.rapidlyChangingMotionState.tcp_pose,I=e.jogger.motionStream.rapidlyChangingMotionState.state.joint_position;A&&await e.withMotionLock(async()=>{await e.jogger.runIncrementalCartesianMotion({currentTcpPose:A,currentJoints:I,coordSystemId:e.activeCoordSystemId,velocityInRelevantUnits:e.velocityInCurrentUnits,axis:C.axis,direction:C.direction,motion:e.selectedCartesianMotionType==="translate"?{type:"translate",distanceMm:w.mm}:{type:"rotate",distanceRads:Lt.degreesToRadians(w.degrees)}})})}async function i(C){if(!e.isLocked){if(e.activeDiscreteIncrement)return s(C,e.activeDiscreteIncrement);C.motionType==="translate"?await e.jogger.startTCPTranslation({axis:C.axis,direction:C.direction,velocityMmPerSec:e.translationVelocityMmPerSec}):await e.jogger.startTCPRotation({axis:C.axis,direction:C.direction,velocityRadsPerSec:e.rotationVelocityRadsPerSec})}}async function l(){e.isLocked||e.activeDiscreteIncrement||await e.jogger.stop()}const u=[{id:"x",colors:(v=(m=(h=r.componentsExt)==null?void 0:h.JoggingCartesian)==null?void 0:m.Axis)==null?void 0:v.X,icon:o.jsx(Ig,{})},{id:"y",colors:(p=(y=(_=r.componentsExt)==null?void 0:_.JoggingCartesian)==null?void 0:y.Axis)==null?void 0:p.Y,icon:o.jsx(Tg,{})},{id:"z",colors:(P=(j=(x=r.componentsExt)==null?void 0:x.JoggingCartesian)==null?void 0:j.Axis)==null?void 0:P.Z,icon:o.jsx(Og,{})}];function c(C){return n("General.mm.variable",{amount:C.toFixed(1)})}function d(C){return n("General.degree.variable",{amount:Lt.radiansToDegrees(C).toFixed(1)})}return o.jsxs(k.Stack,{flexGrow:1,gap:4,children:[o.jsxs(k.Stack,{children:[o.jsx($g,{store:e}),o.jsx(p_,{store:e})]}),o.jsx(k.Stack,{width:"80%",maxWidth:"296px",marginLeft:"auto",marginRight:"auto",marginTop:"8px",marginBottom:"8px",gap:"12px",children:o.jsxs(k.ToggleButtonGroup,{value:e.selectedCartesianMotionType,onChange:a,exclusive:!0,"aria-label":n("Jogging.Cartesian.MotionType.lb"),sx:{justifyContent:"center"},children:[o.jsx(k.ToggleButton,{value:"translate",children:n("Jogging.Cartesian.Translation.bt")}),o.jsx(k.ToggleButton,{value:"rotate",children:n("Jogging.Cartesian.Rotation.bt")})]})}),o.jsx(Gl,{store:e,children:o.jsxs(k.Stack,{width:"80%",maxWidth:"296px",marginLeft:"auto",marginRight:"auto",marginTop:"8px",marginBottom:"8px",gap:"12px",children:[e.selectedCartesianMotionType==="translate"&&u.map(C=>o.jsx(Qa,{colors:C.colors,disabled:e.isLocked,label:o.jsxs(o.Fragment,{children:[C.icon,o.jsx(k.Typography,{sx:{fontSize:"24px",color:"white"},children:C.id.toUpperCase()})]}),getDisplayedValue:()=>{var w;return c(((w=e.jogger.motionStream.rapidlyChangingMotionState.tcp_pose)==null?void 0:w.position[C.id])||0)},startJogging:w=>i({axis:C.id,motionType:"translate",direction:w}),stopJogging:l},C.id)),e.selectedCartesianMotionType==="rotate"&&u.map(C=>o.jsx(Qa,{colors:C.colors,disabled:e.isLocked,label:o.jsxs(o.Fragment,{children:[o.jsx(Lg,{}),o.jsx(k.Typography,{sx:{fontSize:"24px",color:"white"},children:C.id.toUpperCase()})]}),getDisplayedValue:()=>{var w,A;return d(((A=(w=e.jogger.motionStream.rapidlyChangingMotionState.tcp_pose)==null?void 0:w.orientation)==null?void 0:A[C.id])||0)},startJogging:w=>i({axis:C.id,motionType:"rotate",direction:w}),stopJogging:l},C.id))]})}),o.jsxs(k.Stack,{children:[o.jsx(ru,{store:e}),o.jsx(iu,{store:e}),t]})]})}),U_=ke.observer(({store:e})=>{const t=Q.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(k.Stack,{alignItems:"left",spacing:2,sx:{padding:"16px","& label":{opacity:.7,fontSize:"12px",marginBottom:"4px"}},children:o.jsx(zl,{value:n(),ref:t})})}),J_=ke.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(k.Stack,{flexGrow:1,justifyContent:"space-between",children:[o.jsx(U_,{store:e}),o.jsx(Gl,{store:e,children:o.jsx(k.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(k.Stack,{direction:"row",alignItems:"center",gap:2,children:[o.jsx(k.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(k.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 V_(e,t,n){t=="__proto__"&&bi?bi(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function G_(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 z_(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 K_=z_();function W_(e,t){return e&&K_(e,t,Bo)}function H_(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 q_=H_(W_);function X_(e,t,n,r){return q_(e,function(a,s,i){t(r,a,n(a),i)}),r}var Y_=1,Z_=2;function Q_(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?pa(c,u,Y_|Z_,r,d):h))return!1}}return!0}function lu(e){return e===e&&!Kt(e)}function e1(e){for(var t=Bo(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 t1(e){var t=e1(e);return t.length==1&&t[0][2]?uu(t[0][0],t[0][1]):function(n){return n===e||Q_(n,e,t)}}var r1=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n1=/^\w*$/;function Do(e,t){if(pt(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||ia(e)?!0:n1.test(e)||!r1.test(e)||t!=null&&e in Object(t)}var a1="Expected a function";function Uo(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(a1);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||At),n}Uo.Cache=At;var o1=500;function s1(e){var t=Uo(e,function(r){return n.size===o1&&n.clear(),r}),n=t.cache;return t}var i1=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,l1=/\\(\\)?/g,u1=s1(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(i1,function(n,r,a,s){t.push(a?s.replace(l1,"$1"):r||n)}),t});function c1(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 d1=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 c1(e,cu)+"";if(ia(e))return xi?xi.call(e):"";var t=e+"";return t=="0"&&1/e==-d1?"-0":t}function du(e){return e==null?"":cu(e)}function mu(e,t){return pt(e)?e:Do(e,t)?[e]:u1(du(e))}var m1=1/0;function ya(e){if(typeof e=="string"||ia(e))return e;var t=e+"";return t=="0"&&1/e==-m1?"-0":t}function hu(e,t){t=mu(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[ya(t[n++])];return n&&n==r?e:void 0}function h1(e,t,n){var r=e==null?void 0:hu(e,t);return r===void 0?n:r}function f1(e,t){return e!=null&&t in Object(e)}function g1(e,t,n){t=mu(t,e);for(var r=-1,a=t.length,s=!1;++r<a;){var i=ya(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)||Xl(e)))}function p1(e,t){return e!=null&&g1(e,t,f1)}var y1=1,_1=2;function v1(e,t){return Do(e)&&lu(t)?uu(ya(e),t):function(n){var r=h1(n,e);return r===void 0&&r===t?p1(n,e):pa(t,r,y1|_1)}}function b1(e){return e}function S1(e){return function(t){return t==null?void 0:t[e]}}function x1(e){return function(t){return hu(t,e)}}function w1(e){return Do(e)?S1(ya(e)):x1(e)}function j1(e){return typeof e=="function"?e:e==null?b1:typeof e=="object"?pt(e)?v1(e[0],e[1]):t1(e):w1(e)}function R1(e,t){return function(n,r){var a=pt(n)?G_:X_,s={};return a(n,e,j1(r),s)}}var Sn=R1(function(e,t,n){V_(e,n,t)}),C1=0;function A1(e){var t=++C1;return du(e)+t}const ho=[{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}],P1=[{id:"continuous"},...ho];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.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()}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={}){const{currentTab:n,selectedTcpId:r,activeCoordSystemId:a,activeDiscreteIncrement:s,jogger:i}=this;if(this.activationState!=="loading"&&!(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(l){console.error(l)}if(n.id==="cartesian"){const l={tcpId:r,coordSystemId:a};s?i.setJoggingMode("increment",l):i.setJoggingMode("cartesian",l)}else i.setJoggingMode("joint");if(i.activeWebsocket)try{i.stop(),await i.activeWebsocket.nextMessage()}catch(l){dt.runInAction(()=>{this.activationState="inactive",this.activationError=l});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 P1}get discreteIncrementOptions(){return ho}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:ho.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=A1();this.locks.add(n);try{return await t()}finally{this.locks.delete(n)}}}const I1=on(ke.observer(e=>{const t=po.isString(e.nova)?new Lt.NovaClient({instanceUrl:e.nova}):e.nova,n=ke.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 Q.useEffect(()=>(r(),()=>{var a;(a=n.joggingStore)==null||a.dispose()}),[e.nova,e.motionGroupId]),Q.useEffect(()=>{const a=n.joggingStore;a&&(e.locked?a.locks.add("external"):a.locks.delete("external"))},[e.locked]),o.jsx(k.Stack,{sx:{maxWidth:"460px",minWidth:"350px",overflowY:"auto",position:"relative",height:"100%"},children:n.joggingStore?o.jsx(M1,{store:n.joggingStore,children:e.children}):o.jsx(ha,{message:"Loading jogging",error:n.loadingError})})})),M1=ke.observer(({store:e,children:t})=>{Q.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)}}),To(()=>[e.currentTab,e.selectedTcpId,e.activeCoordSystemId,e.activeDiscreteIncrement],()=>{e.activationState==="active"&&e.activate()});function n(){if(e.currentTab.id==="cartesian")return o.jsx(o.Fragment,{children:o.jsx(D_,{store:e,children:t})});if(e.currentTab.id==="joint")return o.jsx(o.Fragment,{children:o.jsx(J_,{store:e,children:t})})}return o.jsxs(k.Stack,{flexGrow:1,height:"100%",children:[o.jsx(k.Tabs,{value:e.tabIndex,onChange:e.onTabChange,variant:"fullWidth",children:e.tabs.map(r=>o.jsx(k.Tab,{label:r.label,id:`jogging-tab-${r.id}`,"aria-controls":`jogging-tab-${r.id}`},r.id))}),o.jsx(k.Stack,{flexGrow:1,position:"relative",children:n()})]})});function T1(){const e=window.location.href;return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function k1({baseUrl:e=T1(),...t}){return o.jsxs(k.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(k.DialogTitle,{id:"no-motion-group-modal-title",children:"No motion group found"}),o.jsxs(k.DialogContent,{sx:{marginTop:"3rem",marginBottom:"1.5rem",textAlign:"center"},children:[o.jsx(k.Typography,{color:"#fff",children:"Found no devices to connect to."}),o.jsx(k.Typography,{color:"#fff",children:"Please ensure a motion group has been created."})]}),o.jsx(k.DialogActions,{children:o.jsxs(k.Stack,{width:"100%",maxWidth:"300px",margin:"auto",marginBottom:"2rem",children:[o.jsx(k.Button,{href:`${e}/settings`,variant:"contained",sx:{borderRadius:"8px",width:"100%"},children:"Go to settings app"}),o.jsx(k.Button,{href:`${e}`,variant:"text",sx:{marginTop:"1rem",color:"#fff",textDecoration:"underline",fontSize:"0.75rem"},children:"Back to Homescreen"})]})})]})}const O1=Array(6).fill(2*Math.PI);fu.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0]};function fu({modelURL:e,...t}){const n=X.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:"IRB1200_7_70_IRC5",rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"IRB1200_7_70_IRC5_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"IRB1200_7_70_IRC5_J02",position:[0,.399,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"IRB1200_7_70_IRC5_J03",position:[.35,0,0],children:[o.jsxs(b.animated.group,{name:"IRB1200_7_70_IRC5_J04",position:[.042,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"IRB1200_7_70_IRC5_J05",position:[0,.351,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"IRB1200_7_70_IRC5_J06",rotation:[Math.PI/2,0,-Math.PI],children:[o.jsx("group",{name:"IRB1200_7_70_IRC5_FLG",position:[0,.082,0]}),o.jsx("mesh",{name:"IRB1200_7_70_IRC5_L06",castShadow:!0,receiveShadow:!0,geometry:r.IRB1200_7_70_IRC5_L06.geometry,material:a["IRB1200_7-70_IRC5.003_Bake"]})]}),o.jsx("mesh",{name:"IRB1200_7_70_IRC5_L05",castShadow:!0,receiveShadow:!0,geometry:r.IRB1200_7_70_IRC5_L05.geometry,material:a["IRB1200_7-70_IRC5.003_Bake"]})]}),o.jsx("mesh",{name:"IRB1200_7_70_IRC5_L04",castShadow:!0,receiveShadow:!0,geometry:r.IRB1200_7_70_IRC5_L04.geometry,material:a["IRB1200_7-70_IRC5.003_Bake"]})]}),o.jsx("mesh",{name:"IRB1200_7_70_IRC5_L03",castShadow:!0,receiveShadow:!0,geometry:r.IRB1200_7_70_IRC5_L03.geometry,material:a["IRB1200_7-70_IRC5.003_Bake"]})]}),o.jsx("mesh",{name:"IRB1200_7_70_IRC5_L02",castShadow:!0,receiveShadow:!0,geometry:r.IRB1200_7_70_IRC5_L02.geometry,material:a["IRB1200_7-70_IRC5.003_Bake"]})]}),o.jsx("mesh",{name:"IRB1200_7_70_IRC5_L01",castShadow:!0,receiveShadow:!0,geometry:r.IRB1200_7_70_IRC5_L01.geometry,material:a["IRB1200_7-70_IRC5.003_Bake"],rotation:[Math.PI/2,0,0]})]}),o.jsx("mesh",{name:"IRB1200_7_70_IRC5_L00",castShadow:!0,receiveShadow:!0,geometry:r.IRB1200_7_70_IRC5_L00.geometry,material:a["IRB1200_7-70_IRC5.003_Bake"],rotation:[-Math.PI/2,0,0]})]})})})})}gu.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0]};function gu({modelURL:e,...t}){const n=X.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(b.animated.group,{name:"ABB_IRB_1300_115_10_J00",children:[o.jsxs(b.animated.group,{name:"ABB_IRB_1300_115_10_J01",position:[.15,.544,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"ABB_IRB_1300_115_10_J02",position:[.575,0,0],children:[o.jsxs(b.animated.group,{name:"ABB_IRB_1300_115_10_J03",position:[.04,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"ABB_IRB_1300_115_10_J04",position:[0,.425,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.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=X.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(b.animated.group,{name:"M10iD_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"M10iD_J02",position:[.075,0,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"M10iD_J03",position:[.64,0,0],children:[o.jsxs(b.animated.group,{name:"M10iD_J04",position:[.195,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"M10iD_J05",position:[0,-.7,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.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]})]})})})})}fo.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function fo({modelURL:e,...t}){const n=X.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(b.animated.group,{name:"M20iD25_J00",children:[o.jsxs(b.animated.group,{name:"M20iD25_J01",position:[.075,0,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"M20iD25_J02",position:[.84,0,0],children:[o.jsxs(b.animated.group,{name:"M20iD25_J03",position:[.215,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"M20iD25_J04",position:[0,-.89,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.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=X.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(b.animated.group,{name:"CRX10iA_J00",children:[o.jsxs(b.animated.group,{name:"CRX10iA_J01",rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"CRX10iA_J02",position:[.54,0,0],children:[o.jsxs(b.animated.group,{name:"CRX10iA_J03",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"CRX10iA_J04",position:[0,-.54,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.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=X.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(b.animated.group,{name:"FANUC_CRX20iAL_J00",position:[0,-.245,0],children:[o.jsxs(b.animated.group,{name:"FANUC_CRX20iAL_J01",position:[0,.245,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"FANUC_CRX20iAL_J02",position:[.71,0,0],children:[o.jsxs(b.animated.group,{name:"FANUC_CRX20iAL_J03",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"FANUC_CRX20iAL_J04",position:[0,-.54,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"FANUC_CRX20iAL_J05",position:[0,.15,0],rotation:[-Math.PI/2,0,0],children:[o.jsx(b.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(b.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(b.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(b.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=X.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(b.animated.group,{name:"CRX25iA_J00",children:[o.jsxs(b.animated.group,{name:"CRX25iA_J01",position:[0,.37,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"CRX25iA_J02",position:[.95,0,0],children:[o.jsxs(b.animated.group,{name:"CRX25iA_J03",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"CRX25iA_J04",position:[0,-.75,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.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=X.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(b.animated.group,{name:"CRX10iA_J00",children:[o.jsxs(b.animated.group,{name:"CRX10iA_J01",position:[0,.245,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"CRX10iA_J02",position:[.71,0,0],children:[o.jsxs(b.animated.group,{name:"CRX10iA_J03",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"CRX10iA_J04",position:[0,-.54,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.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"]})]})})})}function E1({modelURL:e,...t}){const{nodes:n,materials:r}=X.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(b.animated.group,{name:"FANUC_LRMATE-200ID_J00",children:[o.jsxs(b.animated.group,{name:"FANUC_LRMATE-200ID_J01",position:[.05,0,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"FANUC_LRMATE-200ID_J02",position:[.33,0,0],children:[o.jsxs(b.animated.group,{name:"FANUC_LRMATE-200ID_J03",position:[.035,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"FANUC_LRMATE-200ID_J04",position:[0,-.335,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.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})]})]})})}Su.config={rotationOffsets:[0,0,-Math.PI/2,0,0,0]};function Su({modelURL:e,...t}){const{nodes:n,materials:r}=X.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(b.animated.group,{name:"KUKA_KR16R2010_2_J00",children:[o.jsxs(b.animated.group,{name:"KUKA_KR16R2010_2_J01",position:[.16,.52,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"KUKA_KR16R2010_2_J02",position:[.98,0,0],rotation:[0,-Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"KUKA_KR16R2010_2_J03",position:[.15,0,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"KUKA_KR16R2010_2_J04",position:[0,-.86,0],rotation:[-Math.PI/2,0,0],children:[o.jsx(b.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})]})]})]})})})}xu.config={rotationOffsets:[0,0,-Math.PI/2,0,0,0]};function xu({modelURL:e,...t}){const n=X.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(b.animated.group,{name:"joint_01",children:[o.jsxs(b.animated.group,{name:"joint_02",position:[.33,.645,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"joint_03",position:[1.15,0,0],rotation:[0,-Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"joint_04",position:[.115,0,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"joint_05",position:[0,-1.22,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.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})]})})]})})})})}wu.config={rotationOffsets:[0,0,-Math.PI/2,0,0,0]};function wu({modelURL:e,...t}){const n=X.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(b.animated.group,{name:"joint_01",children:[o.jsxs(b.animated.group,{name:"joint_02",position:[.35,.675,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"joint_03",position:[1.15,0,0],rotation:[0,-Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"joint_04",position:[-.041,0,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"joint_05",position:[0,-1.2,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.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_})]})})]})})})}function L1({modelURL:e,...t}){const{nodes:n,materials:r}=X.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(b.animated.group,{name:"KUKA_KR6R700-2_J00",children:[o.jsxs(b.animated.group,{name:"KUKA_KR6R700-2_J01",position:[.025,.4,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"KUKA_KR6R700-2_J02",position:[.335,0,0],rotation:[0,-Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"KUKA_KR6R700-2_J03",position:[.025,0,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"KUKA_KR6R700-2_J04",position:[0,-.365,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.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 $1({modelURL:e,...t}){const n=X.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs(b.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(b.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(b.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(b.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(b.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(b.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 N1({modelURL:e,...t}){const n=X.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(b.animated.group,{name:"UR10e_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"UR10e_J02",position:[0,.181,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"UR10e_J03",position:[-.613,0,0],children:[o.jsxs(b.animated.group,{name:"UR10e_J04",position:[-.572,0,0],children:[o.jsxs(b.animated.group,{name:"UR10e_J05",position:[0,.174,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"UR10e_J06",position:[0,.12,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.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(b.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 F1({modelURL:e,...t}){const n=X.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(b.animated.group,{name:"UR3_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"UR3_J02",position:[0,.152,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"UR3_J03",position:[-.244,0,0],children:[o.jsxs(b.animated.group,{name:"UR3_J04",position:[-.213,0,0],children:[o.jsxs(b.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(b.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 B1({modelURL:e,...t}){const n=X.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(b.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(b.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(b.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(b.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(b.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(b.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 D1({modelURL:e,...t}){const n=X.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs(b.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(b.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(b.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(b.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(b.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(b.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 U1({modelURL:e,...t}){const n=X.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(b.animated.group,{name:"UR5e_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"UR5e_J02",position:[0,.162,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"UR5e_J03",position:[-.425,0,0],children:[o.jsxs(b.animated.group,{name:"UR5e_J04",position:[-.392,0,0],children:[o.jsxs(b.animated.group,{name:"UR5e_J05",position:[0,.133,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.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})]})})]})})})})}ju.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0],rotationSign:[1,-1,1,1,1,1]};function ju({modelURL:e,...t}){const n=X.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(b.animated.group,{name:"AR1440_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"AR1440_J02",position:[.155,0,0],rotation:[Math.PI/2,0,Math.PI],children:[o.jsxs(b.animated.group,{name:"AR1440_J03",position:[.614,0,0],rotation:[Math.PI,0,0],children:[o.jsxs(b.animated.group,{name:"AR1440_J04",position:[.2,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"AR1440_J05",position:[0,-.64,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.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]})]})})})})}Ru.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0],rotationSign:[1,-1,1,1,1,1]};function Ru({modelURL:e,...t}){const n=X.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(b.animated.group,{name:"AR1730_J00",children:[o.jsxs(b.animated.group,{name:"AR1730_J01",position:[.15,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"AR1730_J02",position:[.76,0,0],rotation:[-Math.PI,0,0],children:[o.jsxs(b.animated.group,{name:"AR1730_J03",position:[.2,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"AR1730_J04",position:[0,-.795,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.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=X.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(b.animated.group,{name:"AR2010_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"AR2010_J02",position:[.15,0,0],rotation:[Math.PI/2,0,Math.PI],children:[o.jsxs(b.animated.group,{name:"AR2010_J03",position:[.76,0,0],rotation:[Math.PI,0,0],children:[o.jsxs(b.animated.group,{name:"AR2010_J04",position:[.2,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"AR2010_J05",position:[0,-1.082,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.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]})]})})})})}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=X.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(b.animated.group,{name:"AR3120_J00",children:[o.jsxs(b.animated.group,{name:"AR3120_J01",position:[.145,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"AR3120_J02",position:[1.15,0,0],rotation:[-Math.PI,0,0],children:[o.jsxs(b.animated.group,{name:"AR3120_J03",position:[.25,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"AR3120_J04",position:[0,-1.812,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.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]})]})})})}go.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0]};function go({modelURL:e,...t}){const n=X.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(b.animated.group,{name:"AR900_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"AR900_J02",position:[.04,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"AR900_J03",position:[.445,0,0],rotation:[-Math.PI,0,0],children:[o.jsxs(b.animated.group,{name:"AR900_J04",position:[.04,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"AR900_J05",position:[0,-.44,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.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]})]})})})})}Pu.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0]};function Pu({modelURL:e,...t}){const n=X.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(b.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(b.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(b.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(b.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(b.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(b.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 J1="(^joint_[0-9]+$)|(_J[0-9]+$)";function Iu(e){return e.children.length===0?[e]:[e,...e.children.flatMap(t=>Iu(t))]}function V1(e,t){return new RegExp(t??J1).test(e)}function Mu(e,t){return Iu(e).filter(n=>V1(n.name,t))}function Tu({rapidlyChangingMotionState:e,jointCollector:t,onRotationChanged:n,robotConfig:r,children:a}){b.Globals.assign({frameLoop:"always"});const s=Q.useRef([]),i=Q.useRef([]),{invalidate:l}=Vu.useThree();function u(y){y&&(i.current=t?t(y):Mu(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)=>v[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[v,_]=b.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 Ja({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 v=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:v,b:d}}function s(u,c,d,h){if(!t)return;const m=t[u];if(!m)return;const{a:v,b:_}=a(m,h);c.geometry.setPositions([v.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 Mu(u,"^group_[0-9]+$")}return o.jsx(o.Fragment,{children:o.jsx(Tu,{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(X.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 G1=console.warn;function z1(){return Q.useEffect(()=>{console.warn=e=>{e!=="Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"&&G1(e)}},[]),o.jsx(o.Fragment,{})}function Vo(e){return`https://cdn.jsdelivr.net/gh/wandelbotsgmbh/wandelbots-js-react-components/public/models/${e}.glb`}const ku=on(({rapidlyChangingMotionState:e,modelFromController:t,dhParameters:n,getModel:r=Vo,isGhost:a=!1,...s})=>{let i=null;const l=Q.useRef(),u=Q.useCallback(h=>{h&&(l.current=h,a&&c())},[a]),c=()=>{!l.current||l.current.userData.isGhost||(l.current.traverse(h=>{if(h instanceof Ie.Mesh){h.material instanceof Ie.Material&&(h.material.colorWrite=!0);const m=h.clone(),v=h.clone();m.material=new Ie.MeshStandardMaterial({depthTest:!0,depthWrite:!0,colorWrite:!1,polygonOffset:!0,polygonOffsetFactor:1}),m.userData.isGhost=!0,v.material=new Ie.MeshStandardMaterial({color:"#D91433",opacity:.3,depthTest:!0,depthWrite:!1,transparent:!0,polygonOffset:!0,polygonOffsetFactor:-1}),v.userData.isGhost=!0,h.parent&&(h.parent.add(m),h.parent.add(v))}}),l.current.userData.isGhost=!0)},d=()=>{if(!l.current||!l.current.userData.isGhost)return;const h=[];l.current.traverse(m=>{var v;m instanceof Ie.Mesh&&((v=m.userData)!=null&&v.isGhost?h.push(m):m.material instanceof Ie.Material&&(m.material.colorWrite=!0))}),h.forEach(m=>{m.parent&&m.parent.remove(m)}),l.current.userData.isGhost=!0};switch(Q.useEffect(()=>{a?c():d()},[a]),t){case"UniversalRobots_UR3CB":i=F1;break;case"UniversalRobots_UR3e":i=B1;break;case"UniversalRobots_UR5CB":i=D1;break;case"UniversalRobots_UR5e":i=U1;break;case"UniversalRobots_UR10CB":i=$1;break;case"UniversalRobots_UR10e":i=N1;break;case"Yaskawa_AR900":i=go;break;case"Yaskawa_GP7":i=go;break;case"Yaskawa_AR1440":i=ju;break;case"Yaskawa_AR1730":i=Ru;break;case"Yaskawa_AR2010":i=Cu;break;case"Yaskawa_AR3120":i=Au;break;case"Yaskawa_GP50":i=Pu;break;case"FANUC_CRX10iA":i=yu;break;case"FANUC_CRX20iAL":i=_u;break;case"FANUC_CRX25iA":i=vu;break;case"FANUC_CRX25iAL":i=bu;break;case"FANUC_LRMATE_200ID":i=E1;break;case"FANUC_ARC_Mate_120iD":i=fo;break;case"FANUC_ARC_Mate_120iD35":i=fo;break;case"FANUC_ARC_Mate_100iD":i=pu;break;case"KUKA_KR210_R2700":i=xu;break;case"KUKA_KR270_R2700":i=wu;break;case"KUKA_KR16_R2010_2":i=Su;break;case"KUKA_KR6_R700_2":i=L1;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(Ku.ErrorBoundary,{fallback:o.jsx(Ja,{rapidlyChangingMotionState:e,dhParameters:n,...s}),children:[o.jsx(Q.Suspense,{fallback:o.jsx(Ja,{rapidlyChangingMotionState:e,dhParameters:n,...s}),children:o.jsx("group",{ref:u,children:i?o.jsx(Tu,{rapidlyChangingMotionState:e,robotConfig:i.config,children:o.jsx(i,{modelURL:r(t),...s})}):o.jsx(Ja,{rapidlyChangingMotionState:e,dhParameters:n})})}),o.jsx(z1,{})]})});function K1({connectedMotionGroup:e,getModel:t=Vo,isGhost:n=!1,...r}){return e.dhParameters?o.jsx(ku,{rapidlyChangingMotionState:e.rapidlyChangingMotionState,modelFromController:e.modelFromController||"",dhParameters:e.dhParameters,getModel:t,isGhost:n,...r}):null}const W1=k.styled(k.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}}]}});function H1({selected:e,...t}){return o.jsx(W1,{selected:e,...t,color:"secondary",variant:"circular"})}const q1={$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"},X1=Q.lazy(()=>import("@monaco-editor/react")),Y1=on(e=>{const t=k.useTheme(),n=Q.useRef(null),[r,a]=Q.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:[q1],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(Q.Suspense,{fallback:o.jsx(ha,{}),children:o.jsx(X1,{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 Ou(){var t,n,r,a,s,i;const e=k.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 Z1(){const e=Ou();return e.palette.mode="light",e}function Q1(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?Ou():Z1()}exports.JoggingCartesianAxisControl=Qa;exports.JoggingJointRotationControl=yl;exports.JoggingPanel=I1;exports.LoadingCover=ha;exports.LoadingErrorMessage=Vl;exports.NoMotionGroupModal=k1;exports.PresetEnvironment=qu;exports.Robot=K1;exports.SafetyZonesRenderer=Zu;exports.SelectableFab=H1;exports.SupportedRobot=ku;exports.VelocitySlider=su;exports.WandelscriptEditor=Y1;exports.createNovaMuiTheme=Q1;exports.defaultAxisConfig=O1;exports.defaultGetModel=Vo;exports.useAnimationFrame=xr;exports.useAutorun=dl;exports.useMounted=sa;exports.useReaction=To;
|
|
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&&oo.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}:oo.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 v=n;for(h=0;h<m;){const _=l[h++],y=l[h++];try{v=_(v)}catch(p){y.call(this,p);break}}try{d=Hs.call(this,v)}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 Ml(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 wg=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 jg(e){return function(n){return e.apply(null,n)}}function Rg(e){return S.isObject(e)&&e.isAxiosError===!0}const so={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(so).forEach(([e,t])=>{so[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=wg;Se.isCancel=Ol;Se.VERSION=Dl;Se.toFormData=da;Se.AxiosError=J;Se.Cancel=Se.CanceledError;Se.all=function(t){return Promise.all(t)};Se.spread=jg;Se.isAxiosError=Rg;Se.mergeConfig=Ht;Se.AxiosHeaders=Fe;Se.formToJSON=e=>kl(S.isHTMLForm(e)?new FormData(e):e);Se.getAdapter=Bl.getAdapter;Se.HttpStatusCode=so;Se.default=Se;const{Axios:nv,AxiosError:Xs,CanceledError:av,isCancel:ov,CancelToken:sv,VERSION:iv,all:lv,Cancel:uv,isAxiosError:cv,spread:dv,toFormData:mv,AxiosHeaders:hv,HttpStatusCode:fv,formToJSON:gv,getAdapter:pv,mergeConfig:yv}=Se;function Cg(e){try{return JSON.stringify(e)}catch{return}}function Ag(e){var t,n,r,a;return e instanceof Xs&&e.code==="ERR_NETWORK"?"Failed to connect to the server. Please check your internet connection.":e instanceof Xs&&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: ${Cg(e)||e}`}const ha=e=>{const t=e.softTimeout||3e3,[n,r]=Q.useState(!1);return Q.useEffect(()=>{const a=setTimeout(()=>{r(!0)},t);return()=>clearTimeout(a)}),o.jsx(k.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(k.CircularProgress,{sx:{marginBottom:"24px"}}),!!e.message&&o.jsx("div",{children:e.message}),o.jsx(k.Stack,{sx:{visibility:n?"visible":"hidden",marginTop:"1rem",color:"gray"},children:"This is taking longer than expected..."})]})})},Vl=e=>{const t=Ag(e.error),n=e.error instanceof Error?e.error.stack:null,r=k.useTheme();return o.jsxs(k.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 ${po.lowerFirst(k.capitalize(e.loadingMessage))} - `:"")+t,o.jsx("br",{}),n&&o.jsx("pre",{children:n})]})},Pg=({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"})),Ig=Q.forwardRef(Pg),Mg=({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=Q.forwardRef(Mg),kg=({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"})),Og=Q.forwardRef(kg),Eg=({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"})),Lg=Q.forwardRef(Eg),Ys=e=>o.jsx(k.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||{}},...po.omit(e,"sx")}),Gl=ke.observer(({store:e,children:t})=>{const{t:n}=Xt.useTranslation(),r=k.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(k.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(ha,{message:n("Jogging.Activating.lb"),error:e.activationError})})}return o.jsxs(k.Stack,{sx:{position:"relative",padding:"6px"},children:[a(),t]})}),zl=Q.forwardRef(({label:e,value:t},n)=>o.jsxs(o.Fragment,{children:[e&&o.jsx(k.InputLabel,{children:e}),o.jsx(k.Chip,{ref:n,sx:{fontSize:"14px",opacity:.8,marginTop:"4px !important"},value:t})]})),$g=ke.observer(({store:e})=>{const t=Q.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(k.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 Ng(){this.__data__=[],this.size=0}function Kl(e,t){return e===t||e!==e&&t!==t}function fa(e,t){for(var n=e.length;n--;)if(Kl(e[n][0],t))return n;return-1}var Fg=Array.prototype,Bg=Fg.splice;function Dg(e){var t=this.__data__,n=fa(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Bg.call(t,n,1),--this.size,!0}function Ug(e){var t=this.__data__,n=fa(t,e);return n<0?void 0:t[n][1]}function Jg(e){return fa(this.__data__,e)>-1}function Vg(e,t){var n=this.__data__,r=fa(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Ct(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])}}Ct.prototype.clear=Ng;Ct.prototype.delete=Dg;Ct.prototype.get=Ug;Ct.prototype.has=Jg;Ct.prototype.set=Vg;function Gg(){this.__data__=new Ct,this.size=0}function zg(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function Kg(e){return this.__data__.get(e)}function Wg(e){return this.__data__.has(e)}var Hg="[object AsyncFunction]",qg="[object Function]",Xg="[object GeneratorFunction]",Yg="[object Proxy]";function Wl(e){if(!Kt(e))return!1;var t=Yt(e);return t==qg||t==Xg||t==Hg||t==Yg}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 Zg(e){return!!Zs&&Zs in e}var Qg=Function.prototype,ep=Qg.toString;function Zt(e){if(e!=null){try{return ep.call(e)}catch{}try{return e+""}catch{}}return""}var tp=/[\\^$.*+?()[\]{}|]/g,rp=/^\[object .+?Constructor\]$/,np=Function.prototype,ap=Object.prototype,op=np.toString,sp=ap.hasOwnProperty,ip=RegExp("^"+op.call(sp).replace(tp,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function lp(e){if(!Kt(e)||Zg(e))return!1;var t=Wl(e)?ip:rp;return t.test(Zt(e))}function up(e,t){return e==null?void 0:e[t]}function Qt(e,t){var n=up(e,t);return lp(n)?n:void 0}var Xr=Qt(yt,"Map"),Yr=Qt(Object,"create");function cp(){this.__data__=Yr?Yr(null):{},this.size=0}function dp(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var mp="__lodash_hash_undefined__",hp=Object.prototype,fp=hp.hasOwnProperty;function gp(e){var t=this.__data__;if(Yr){var n=t[e];return n===mp?void 0:n}return fp.call(t,e)?t[e]:void 0}var pp=Object.prototype,yp=pp.hasOwnProperty;function _p(e){var t=this.__data__;return Yr?t[e]!==void 0:yp.call(t,e)}var vp="__lodash_hash_undefined__";function bp(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Yr&&t===void 0?vp:t,this}function qt(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])}}qt.prototype.clear=cp;qt.prototype.delete=dp;qt.prototype.get=gp;qt.prototype.has=_p;qt.prototype.set=bp;function Sp(){this.size=0,this.__data__={hash:new qt,map:new(Xr||Ct),string:new qt}}function xp(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function ga(e,t){var n=e.__data__;return xp(t)?n[typeof t=="string"?"string":"hash"]:n.map}function wp(e){var t=ga(this,e).delete(e);return this.size-=t?1:0,t}function jp(e){return ga(this,e).get(e)}function Rp(e){return ga(this,e).has(e)}function Cp(e,t){var n=ga(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,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=Sp;At.prototype.delete=wp;At.prototype.get=jp;At.prototype.has=Rp;At.prototype.set=Cp;var Ap=200;function Pp(e,t){var n=this.__data__;if(n instanceof Ct){var r=n.__data__;if(!Xr||r.length<Ap-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new At(r)}return n.set(e,t),this.size=n.size,this}function wt(e){var t=this.__data__=new Ct(e);this.size=t.size}wt.prototype.clear=Gg;wt.prototype.delete=zg;wt.prototype.get=Kg;wt.prototype.has=Wg;wt.prototype.set=Pp;var Ip="__lodash_hash_undefined__";function Mp(e){return this.__data__.set(e,Ip),this}function Tp(e){return this.__data__.has(e)}function Gn(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new At;++t<n;)this.add(e[t])}Gn.prototype.add=Gn.prototype.push=Mp;Gn.prototype.has=Tp;function kp(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 Op(e,t){return e.has(t)}var Ep=1,Lp=2;function Hl(e,t,n,r,a,s){var i=n&Ep,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,v=n&Lp?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(v){if(!kp(t,function(x,j){if(!Op(v,j)&&(_===x||a(_,x,n,r,s)))return v.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 $p(e){var t=-1,n=Array(e.size);return e.forEach(function(r,a){n[++t]=[a,r]}),n}function Np(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var Fp=1,Bp=2,Dp="[object Boolean]",Up="[object Date]",Jp="[object Error]",Vp="[object Map]",Gp="[object Number]",zp="[object RegExp]",Kp="[object Set]",Wp="[object String]",Hp="[object Symbol]",qp="[object ArrayBuffer]",Xp="[object DataView]",ei=$t?$t.prototype:void 0,Da=ei?ei.valueOf:void 0;function Yp(e,t,n,r,a,s,i){switch(n){case Xp:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case qp:return!(e.byteLength!=t.byteLength||!s(new Qs(e),new Qs(t)));case Dp:case Up:case Gp:return Kl(+e,+t);case Jp:return e.name==t.name&&e.message==t.message;case zp:case Wp:return e==t+"";case Vp:var l=$p;case Kp:var u=r&Fp;if(l||(l=Np),e.size!=t.size&&!u)return!1;var c=i.get(e);if(c)return c==t;r|=Bp,i.set(e,t);var d=Hl(l(e),l(t),r,a,s,i);return i.delete(e),d;case Hp:if(Da)return Da.call(e)==Da.call(t)}return!1}function Zp(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 Qp(e,t,n){var r=t(e);return pt(e)?r:Zp(r,n(e))}function ey(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 ty(){return[]}var ry=Object.prototype,ny=ry.propertyIsEnumerable,ti=Object.getOwnPropertySymbols,ay=ti?function(e){return e==null?[]:(e=Object(e),ey(ti(e),function(t){return ny.call(e,t)}))}:ty;function oy(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var sy="[object Arguments]";function ri(e){return Wt(e)&&Yt(e)==sy}var ql=Object.prototype,iy=ql.hasOwnProperty,ly=ql.propertyIsEnumerable,Xl=ri(function(){return arguments}())?ri:function(e){return Wt(e)&&iy.call(e,"callee")&&!ly.call(e,"callee")};function uy(){return!1}var Yl=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ni=Yl&&typeof module=="object"&&module&&!module.nodeType&&module,cy=ni&&ni.exports===Yl,ai=cy?yt.Buffer:void 0,dy=ai?ai.isBuffer:void 0,io=dy||uy,my=9007199254740991,hy=/^(?:0|[1-9]\d*)$/;function Zl(e,t){var n=typeof e;return t=t??my,!!t&&(n=="number"||n!="symbol"&&hy.test(e))&&e>-1&&e%1==0&&e<t}var fy=9007199254740991;function Fo(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=fy}var gy="[object Arguments]",py="[object Array]",yy="[object Boolean]",_y="[object Date]",vy="[object Error]",by="[object Function]",Sy="[object Map]",xy="[object Number]",wy="[object Object]",jy="[object RegExp]",Ry="[object Set]",Cy="[object String]",Ay="[object WeakMap]",Py="[object ArrayBuffer]",Iy="[object DataView]",My="[object Float32Array]",Ty="[object Float64Array]",ky="[object Int8Array]",Oy="[object Int16Array]",Ey="[object Int32Array]",Ly="[object Uint8Array]",$y="[object Uint8ClampedArray]",Ny="[object Uint16Array]",Fy="[object Uint32Array]",de={};de[My]=de[Ty]=de[ky]=de[Oy]=de[Ey]=de[Ly]=de[$y]=de[Ny]=de[Fy]=!0;de[gy]=de[py]=de[Py]=de[yy]=de[Iy]=de[_y]=de[vy]=de[by]=de[Sy]=de[xy]=de[wy]=de[jy]=de[Ry]=de[Cy]=de[Ay]=!1;function By(e){return Wt(e)&&Fo(e.length)&&!!de[Yt(e)]}function Dy(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,Uy=Vr&&Vr.exports===Ql,Ua=Uy&&gl.process,oi=function(){try{var e=Vr&&Vr.require&&Vr.require("util").types;return e||Ua&&Ua.binding&&Ua.binding("util")}catch{}}(),si=oi&&oi.isTypedArray,eu=si?Dy(si):By,Jy=Object.prototype,Vy=Jy.hasOwnProperty;function Gy(e,t){var n=pt(e),r=!n&&Xl(e),a=!n&&!r&&io(e),s=!n&&!r&&!a&&eu(e),i=n||r||a||s,l=i?oy(e.length,String):[],u=l.length;for(var c in e)Vy.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 zy=Object.prototype;function Ky(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||zy;return e===n}function Wy(e,t){return function(n){return e(t(n))}}var Hy=Wy(Object.keys,Object),qy=Object.prototype,Xy=qy.hasOwnProperty;function Yy(e){if(!Ky(e))return Hy(e);var t=[];for(var n in Object(e))Xy.call(e,n)&&n!="constructor"&&t.push(n);return t}function tu(e){return e!=null&&Fo(e.length)&&!Wl(e)}function Bo(e){return tu(e)?Gy(e):Yy(e)}function ii(e){return Qp(e,Bo,ay)}var Zy=1,Qy=Object.prototype,e_=Qy.hasOwnProperty;function t_(e,t,n,r,a,s){var i=n&Zy,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:e_.call(t,m)))return!1}var v=s.get(e),_=s.get(t);if(v&&_)return v==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 P=i?r(j,x,m,t,e,s):r(x,j,m,e,t,s);if(!(P===void 0?x===j||a(x,j,n,r,s):P)){y=!1;break}p||(p=m=="constructor")}if(y&&!p){var C=e.constructor,w=t.constructor;C!=w&&"constructor"in e&&"constructor"in t&&!(typeof C=="function"&&C instanceof C&&typeof w=="function"&&w instanceof w)&&(y=!1)}return s.delete(e),s.delete(t),y}var lo=Qt(yt,"DataView"),uo=Qt(yt,"Promise"),co=Qt(yt,"Set"),mo=Qt(yt,"WeakMap"),li="[object Map]",r_="[object Object]",ui="[object Promise]",ci="[object Set]",di="[object WeakMap]",mi="[object DataView]",n_=Zt(lo),a_=Zt(Xr),o_=Zt(uo),s_=Zt(co),i_=Zt(mo),Et=Yt;(lo&&Et(new lo(new ArrayBuffer(1)))!=mi||Xr&&Et(new Xr)!=li||uo&&Et(uo.resolve())!=ui||co&&Et(new co)!=ci||mo&&Et(new mo)!=di)&&(Et=function(e){var t=Yt(e),n=t==r_?e.constructor:void 0,r=n?Zt(n):"";if(r)switch(r){case n_:return mi;case a_:return li;case o_:return ui;case s_:return ci;case i_:return di}return t});var l_=1,hi="[object Arguments]",fi="[object Array]",pn="[object Object]",u_=Object.prototype,gi=u_.hasOwnProperty;function c_(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&&io(e)){if(!io(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):Yp(e,t,u,n,r,a,s);if(!(n&l_)){var v=d&&gi.call(e,"__wrapped__"),_=h&&gi.call(t,"__wrapped__");if(v||_){var y=v?e.value():e,p=_?t.value():t;return s||(s=new wt),a(y,p,n,r,s)}}return m?(s||(s=new wt),t_(e,t,n,r,a,s)):!1}function pa(e,t,n,r,a){return e===t?!0:e==null||t==null||!Wt(e)&&!Wt(t)?e!==e&&t!==t:c_(e,t,n,r,pa,a)}function d_(e,t){return pa(e,t)}const ru=({store:e})=>{const{t}=Xt.useTranslation(),[n,r]=Q.useState(e.jogger.motionStream.rapidlyChangingMotionState.state.joint_limit_reached.limit_reached),a=Q.useRef(n);xr(()=>{const i=e.jogger.motionStream.rapidlyChangingMotionState.state.joint_limit_reached.limit_reached;d_(a.current,i)||(a.current=i,r(i))});const s=[];for(const[i,l]of n.entries())l&&s.push(i);return o.jsx(k.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(", ")})})},m_=({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"})),h_=Q.forwardRef(m_),f_=({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"})),g_=Q.forwardRef(f_),p_=ke.observer(({store:e})=>{var r;const{t}=Xt.useTranslation();function n(a,s){(s==="coordsys"||s==="tool")&&e.setSelectedOrientation(s)}return o.jsxs(o.Fragment,{children:[o.jsxs(k.Stack,{direction:"row",alignItems:"center",spacing:2,sx:{padding:"6px 16px","& label":{opacity:.7,fontSize:"12px",marginBottom:"4px"}},children:[o.jsxs(k.Stack,{width:"50%",children:[o.jsx(k.InputLabel,{id:"jogging-coord-select",children:"Coordinate Sys."}),o.jsx(k.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(k.MenuItem,{value:a.coordinate_system,children:a.name||a.coordinate_system},a.coordinate_system))})]}),o.jsxs(k.Stack,{width:"50%",children:[o.jsx(k.InputLabel,{id:"jogging-tcp-select",children:"TCP"}),o.jsx(k.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(k.MenuItem,{value:a.id,children:a.id},a.id))})]})]}),o.jsxs(k.Stack,{direction:"row",alignItems:"center",spacing:2,sx:{padding:"6px 16px","& label":{opacity:.7,fontSize:"12px",marginBottom:"4px"}},children:[o.jsxs(k.Stack,{width:"50%",children:[o.jsx(k.InputLabel,{id:"orientation-select",children:t("Jogging.Cartesian.Orientation.lb")}),o.jsxs(k.ToggleButtonGroup,{value:e.selectedOrientation,onChange:n,exclusive:!0,"aria-labelledby":"orientation-select",disabled:e.isLocked,children:[o.jsx(k.ToggleButton,{value:"coordsys",sx:{flexGrow:1},children:o.jsx(h_,{})}),o.jsx(k.ToggleButton,{value:"tool",sx:{flexGrow:1},children:o.jsx(g_,{})})]})]}),o.jsxs(k.Stack,{width:"50%",children:[o.jsx(k.InputLabel,{id:"jogging-increment-select",children:"Increment"}),o.jsxs(k.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(k.MenuItem,{value:"continuous",children:t("Jogging.Increment.Continuous.dd")},"continuous"),e.selectedOrientation==="tool"?null:e.discreteIncrementOptions.map(a=>o.jsx(k.MenuItem,{value:a.id,children:e.currentMotionType==="translate"?`${a.mm}mm`:`${a.degrees}°`},a.id))]})]})]})]})});function y_(e,t,n=(r,a)=>r===a){return e.length===t.length&&e.every((r,a)=>n(r,t[a]))}const __=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 v_(e,t,n){return(n-t)*e+t}function b_(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 S_(e,t,n){const r=Math.round((e-n)/t)*t+n;return Number(r.toFixed(b_(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"?y_(e,t):!1}const x_={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}%`})}},w_=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 j_(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:v,scale:_=w_,step:y=1,shiftStep:p=10,tabIndex:x,value:j}=e,P=N.useRef(),[C,w]=N.useState(-1),[A,I]=N.useState(-1),[z,le]=N.useState(!1),ce=N.useRef(0),[B,q]=Zi({controlled:j,default:n??u,name:"Slider"}),G=d&&((T,L,F)=>{const K=T.nativeEvent||T,Z=new K.constructor(K.type,K);Object.defineProperty(Z,"target",{writable:!0,value:{value:L,name:c}}),d(Z,L,F)}),Y=Array.isArray(B);let H=Y?B.slice().sort(nu):[B];H=H.map(T=>T==null?u:mr(T,u,l));const xe=i===!0&&y!==null?[...Array(Math.floor((l-u)/y)+1)].map((T,L)=>({value:u+y*L})):i||[],ue=xe.map(T=>T.value),{isFocusVisibleRef:ee,onBlur:Re,onFocus:Oe,ref:nt}=Qi(),[_t,We]=N.useState(-1),we=N.useRef(),Pt=Ln(nt,we),lt=Ln(v,Pt),He=T=>L=>{var F;const K=Number(L.currentTarget.getAttribute("data-index"));Oe(L),ee.current===!0&&We(K),I(K),T==null||(F=T.onFocus)==null||F.call(T,L)},Ue=T=>L=>{var F;Re(L),ee.current===!1&&We(-1),I(-1),T==null||(F=T.onBlur)==null||F.call(T,L)},ut=(T,L)=>{const F=Number(T.currentTarget.getAttribute("data-index")),K=H[F],Z=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[Z-1]:ue[Z+1]}if(W=mr(W,u,l),Y){a&&(W=mr(W,H[F-1]||-1/0,H[F+1]||1/0));const Ve=W;W=yi({values:H,newValue:W,index:F});let qe=F;a||(qe=W.indexOf(Ve)),_n({sliderRef:we,activeIndex:qe})}q(W),We(F),G&&!vn(W,B)&&G(T,W,F),h&&h(T,W)},ct=T=>L=>{var F;if(y!==null){const K=Number(L.currentTarget.getAttribute("data-index")),Z=H[K];let W=null;(L.key==="ArrowLeft"||L.key==="ArrowDown")&&L.shiftKey||L.key==="PageDown"?W=Math.max(Z-p,u):((L.key==="ArrowRight"||L.key==="ArrowUp")&&L.shiftKey||L.key==="PageUp")&&(W=Math.min(Z+p,l)),W!==null&&(ut(L,W),L.preventDefault())}T==null||(F=T.onKeyDown)==null||F.call(T,L)};wo(()=>{if(r&&we.current.contains(document.activeElement)){var T;(T=document.activeElement)==null||T.blur()}},[r]),r&&C!==-1&&w(-1),r&&_t!==-1&&We(-1);const Ft=T=>L=>{var F;(F=T.onChange)==null||F.call(T,L),ut(L,L.target.valueAsNumber)},vt=N.useRef();let Je=m;s&&m==="horizontal"&&(Je+="-reverse");const O=({finger:T,move:L=!1})=>{const{current:F}=we,{width:K,height:Z,bottom:W,left:Ve}=F.getBoundingClientRect();let qe;Je.indexOf("vertical")===0?qe=(W-T.y)/Z:qe=(T.x-Ve)/K,Je.indexOf("-reverse")!==-1&&(qe=1-qe);let re;if(re=v_(qe,u,l),y)re=S_(re,y,u);else{const Tt=pi(ue,re);re=ue[Tt]}re=mr(re,u,l);let $e=0;if(Y){L?$e=vt.current:$e=pi(H,re),a&&(re=mr(re,H[$e-1]||-1/0,H[$e+1]||1/0));const Tt=re;re=yi({values:H,newValue:re,index:$e}),a&&L||($e=re.indexOf(Tt),vt.current=$e)}return{newValue:re,activeIndex:$e}},te=Cn(T=>{const L=yn(T,P);if(!L)return;if(ce.current+=1,T.type==="mousemove"&&T.buttons===0){he(T);return}const{newValue:F,activeIndex:K}=O({finger:L,move:!0});_n({sliderRef:we,activeIndex:K,setActive:w}),q(F),!z&&ce.current>__&&le(!0),G&&!vn(F,B)&&G(T,F,K)}),he=Cn(T=>{const L=yn(T,P);if(le(!1),!L)return;const{newValue:F}=O({finger:L,move:!0});w(-1),T.type==="touchend"&&I(-1),h&&h(T,F),P.current=void 0,Le()}),Ee=Cn(T=>{if(r)return;_i()||T.preventDefault();const L=T.changedTouches[0];L!=null&&(P.current=L.identifier);const F=yn(T,P);if(F!==!1){const{newValue:Z,activeIndex:W}=O({finger:F});_n({sliderRef:we,activeIndex:W,setActive:w}),q(Z),G&&!vn(Z,B)&&G(T,Z,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 T=pr(we.current);T.removeEventListener("mousemove",te),T.removeEventListener("mouseup",he),T.removeEventListener("touchmove",te),T.removeEventListener("touchend",he)},[he,te]);N.useEffect(()=>{const{current:T}=we;return T.addEventListener("touchstart",Ee,{passive:_i()}),()=>{T.removeEventListener("touchstart",Ee),Le()}},[Le,Ee]),N.useEffect(()=>{r&&Le()},[r,Le]);const It=T=>L=>{var F;if((F=T.onMouseDown)==null||F.call(T,L),r||L.defaultPrevented||L.button!==0)return;L.preventDefault();const K=yn(L,P);if(K!==!1){const{newValue:W,activeIndex:Ve}=O({finger:K});_n({sliderRef:we,activeIndex:Ve,setActive:w}),q(W),G&&!vn(W,B)&&G(L,W,Ve)}ce.current=0;const Z=pr(we.current);Z.addEventListener("mousemove",te,{passive:!0}),Z.addEventListener("mouseup",he)},je=zn(Y?H[0]:u,u,l),Mt=zn(H[H.length-1],u,l)-je,Bt=(T={})=>{const L=An(T),F={onMouseDown:It(L||{})},K=M({},L,F);return M({},T,{ref:lt},K)},Rr=T=>L=>{var F;(F=T.onMouseOver)==null||F.call(T,L);const K=Number(L.currentTarget.getAttribute("data-index"));I(K)},Cr=T=>L=>{var F;(F=T.onMouseLeave)==null||F.call(T,L),I(-1)};return{active:C,axis:Je,axisProps:x_,dragging:z,focusedThumbIndex:_t,getHiddenInputProps:(T={})=>{var L;const F=An(T),K={onChange:Ft(F||{}),onFocus:He(F||{}),onBlur:Ue(F||{}),onKeyDown:ct(F||{})},Z=M({},F,K);return M({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},T,Z,{style:M({},fm,{direction:s?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:Bt,getThumbProps:(T={})=>{const L=An(T),F={onMouseOver:Rr(L||{}),onMouseLeave:Cr(L||{})};return M({},T,L,F)},marks:xe,open:A,range:Y,rootRef:lt,trackLeap:Mt,trackOffset:je,values:H,getThumbStyle:T=>({pointerEvents:C!==-1&&C!==T?"none":void 0})}}const R_=e=>!e||!Ur(e);function C_(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"]),A_=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=A_(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 P_=["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 I_=Rt("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${Ae(n.color)}`],n.size!=="medium"&&t[`size${Ae(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}}]}}),M_=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}}]}),T_=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:M({},e.vars?{backgroundColor:e.vars.palette.Slider[`${n}Track`],borderColor:e.vars.palette.Slider[`${n}Track`]}:M({backgroundColor:Ya(e.palette[n].main,.62),borderColor:Ya(e.palette[n].main,.62)},e.applyStyles("dark",{backgroundColor:Xa(e.palette[n].main,.5)}),e.applyStyles("dark",{borderColor:Xa(e.palette[n].main,.5)})))}))]}}),k_=Rt("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.thumb,t[`thumbColor${Ae(n.color)}`],n.size!=="medium"&&t[`thumbSize${Ae(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}`]:M({},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}`]:M({},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)}`})}}))]}}),O_=Rt(au,{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})(({theme:e})=>M({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"}}]})),E_=Rt("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>Io(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}}]})),L_=Rt("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>Io(e)&&e!=="markLabelActive",overridesResolver:(e,t)=>t.markLabel})(({theme:e})=>M({},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}}]})),$_=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${Ae(l)}`,u&&`size${Ae(u)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",u&&`thumbSize${Ae(u)}`,l&&`thumbColor${Ae(l)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return Ro(c,C_,i)},N_=({children:e})=>e,ou=N.forwardRef(function(t,n){var r,a,s,i,l,u,c,d,h,m,v,_,y,p,x,j,P,C,w,A,I,z,le,ce;const B=Mo({props:t,name:"MuiSlider"}),q=bm(),{"aria-label":G,"aria-valuetext":Y,"aria-labelledby":H,component:xe="span",components:ue={},componentsProps:ee={},color:Re="primary",classes:Oe,className:nt,disableSwap:_t=!1,disabled:We=!1,getAriaLabel:we,getAriaValueText:Pt,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}=B,It=De(B,P_),je=M({},B,{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:Mt,getRootProps:Bt,getHiddenInputProps:Rr,getThumbProps:Cr,open:Ar,active:er,axis:at,focusedThumbIndex:T,range:L,dragging:F,marks:K,values:Z,trackOffset:W,trackLeap:Ve,getThumbStyle:qe}=j_(M({},je,{rootRef:n}));je.marked=K.length>0&&K.some($=>$.label),je.dragging=F,je.focusedThumbIndex=T;const re=$_(je),$e=(r=(a=te==null?void 0:te.root)!=null?a:ue.Root)!=null?r:I_,Tt=(s=(i=te==null?void 0:te.rail)!=null?i:ue.Rail)!=null?s:M_,tr=(l=(u=te==null?void 0:te.track)!=null?u:ue.Track)!=null?l:T_,Pr=(c=(d=te==null?void 0:te.thumb)!=null?d:ue.Thumb)!=null?c:k_,bt=(h=(m=te==null?void 0:te.valueLabel)!=null?m:ue.ValueLabel)!=null?h:O_,Dt=(v=(_=te==null?void 0:te.mark)!=null?_:ue.Mark)!=null?v:E_,Ut=(y=(p=te==null?void 0:te.markLabel)!=null?p:ue.MarkLabel)!=null?y:L_,Ir=(x=(j=te==null?void 0:te.input)!=null?j:ue.Input)!=null?x:"input",Mr=(P=O==null?void 0:O.root)!=null?P:ee.root,un=(C=O==null?void 0:O.rail)!=null?C:ee.rail,Tr=(w=O==null?void 0:O.track)!=null?w:ee.track,rr=(A=O==null?void 0:O.thumb)!=null?A:ee.thumb,nr=(I=O==null?void 0:O.valueLabel)!=null?I:ee.valueLabel,_a=(z=O==null?void 0:O.mark)!=null?z:ee.mark,va=(le=O==null?void 0:O.markLabel)!=null?le:ee.markLabel,cn=(ce=O==null?void 0:O.input)!=null?ce:ee.input,dn=kt({elementType:$e,getSlotProps:Bt,externalSlotProps:Mr,externalForwardedProps:It,additionalProps:M({},R_($e)&&{as:xe}),ownerState:M({},je,Mr==null?void 0:Mr.ownerState),className:[re.root,nt]}),ba=kt({elementType:Tt,externalSlotProps:un,ownerState:je,className:re.rail}),Sa=kt({elementType:tr,externalSlotProps:Tr,additionalProps:{style:M({},Mt[at].offset(W),Mt[at].leap(Ve))},ownerState:M({},je,Tr==null?void 0:Tr.ownerState),className:re.track}),kr=kt({elementType:Pr,getSlotProps:Cr,externalSlotProps:rr,ownerState:M({},je,rr==null?void 0:rr.ownerState),className:re.thumb}),xa=kt({elementType:bt,externalSlotProps:nr,ownerState:M({},je,nr==null?void 0:nr.ownerState),className:re.valueLabel}),g=kt({elementType:Dt,externalSlotProps:_a,ownerState:je,className:re.mark}),R=kt({elementType:Ut,externalSlotProps:va,ownerState:je,className:re.markLabel}),E=kt({elementType:Ir,getSlotProps:Rr,externalSlotProps:cn,ownerState:je});return o.jsxs($e,M({},dn,{children:[o.jsx(Tt,M({},ba)),o.jsx(tr,M({},Sa)),K.filter($=>$.value>=Ue&&$.value<=He).map(($,D)=>{const ne=zn($.value,Ue,He),V=Mt[at].offset(ne);let U;return he===!1?U=Z.indexOf($.value)!==-1:U=he==="normal"&&(L?$.value>=Z[0]&&$.value<=Z[Z.length-1]:$.value<=Z[0])||he==="inverted"&&(L?$.value<=Z[0]||$.value>=Z[Z.length-1]:$.value>=Z[0]),o.jsxs(N.Fragment,{children:[o.jsx(Dt,M({"data-index":D},g,!Ur(Dt)&&{markActive:U},{style:M({},V,g.style),className:gt(g.className,U&&re.markActive)})),$.label!=null?o.jsx(Ut,M({"aria-hidden":!0,"data-index":D},R,!Ur(Ut)&&{markLabelActive:U},{style:M({},V,R.style),className:gt(re.markLabel,R.className,U&&re.markLabelActive),children:$.label})):null]},D)}),Z.map(($,D)=>{const ne=zn($,Ue,He),V=Mt[at].offset(ne),U=Ee==="off"?N_:bt;return o.jsx(U,M({},!Ur(U)&&{valueLabelFormat:Le,valueLabelDisplay:Ee,value:typeof Le=="function"?Le(Je($),D):Le,index:D,open:Ar===D||er===D||Ee==="on",disabled:We},xa,{children:o.jsx(Pr,M({"data-index":D},kr,{className:gt(re.thumb,kr.className,er===D&&re.active,T===D&&re.focusVisible),style:M({},V,qe(D),kr.style),children:o.jsx(Ir,M({"data-index":D,"aria-label":we?we(D):G,"aria-valuenow":Je($),"aria-labelledby":H,"aria-valuetext":Pt?Pt(Je($),D):Y,value:Z[D]},E))}))}),D)})]}))});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 F_="[object Number]";function B_(e){return typeof e=="number"||Wt(e)&&Yt(e)==F_}const su=ke.observer(e=>{const t=k.useTheme(),n=e.valueLabelFormat||(a=>`${a}`);function r(a,s){s===e.velocity||!B_(s)||e.onVelocityChange(s)}return o.jsxs(o.Fragment,{children:[o.jsx(k.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=ke.observer(({store:e})=>{const{t}=Xt.useTranslation(),n=ke.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(k.Stack,{sx:{margin:"0px 20px",marginBottom:"6px"},children:o.jsx(k.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})})})}),D_=ke.observer(({store:e,children:t})=>{var h,m,v,_,y,p,x,j,P;const{t:n}=Xt.useTranslation(),r=k.useTheme();function a(C,w){(w==="translate"||w==="rotate")&&e.setSelectedCartesianMotionType(w)}To(()=>[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(C,w){const A=e.jogger.motionStream.rapidlyChangingMotionState.tcp_pose,I=e.jogger.motionStream.rapidlyChangingMotionState.state.joint_position;A&&await e.withMotionLock(async()=>{await e.jogger.runIncrementalCartesianMotion({currentTcpPose:A,currentJoints:I,coordSystemId:e.activeCoordSystemId,velocityInRelevantUnits:e.velocityInCurrentUnits,axis:C.axis,direction:C.direction,motion:e.selectedCartesianMotionType==="translate"?{type:"translate",distanceMm:w.mm}:{type:"rotate",distanceRads:Lt.degreesToRadians(w.degrees)}})})}async function i(C){if(!e.isLocked){if(e.activeDiscreteIncrement)return s(C,e.activeDiscreteIncrement);C.motionType==="translate"?await e.jogger.startTCPTranslation({axis:C.axis,direction:C.direction,velocityMmPerSec:e.translationVelocityMmPerSec}):await e.jogger.startTCPRotation({axis:C.axis,direction:C.direction,velocityRadsPerSec:e.rotationVelocityRadsPerSec})}}async function l(){e.isLocked||e.activeDiscreteIncrement||await e.jogger.stop()}const u=[{id:"x",colors:(v=(m=(h=r.componentsExt)==null?void 0:h.JoggingCartesian)==null?void 0:m.Axis)==null?void 0:v.X,icon:o.jsx(Ig,{})},{id:"y",colors:(p=(y=(_=r.componentsExt)==null?void 0:_.JoggingCartesian)==null?void 0:y.Axis)==null?void 0:p.Y,icon:o.jsx(Tg,{})},{id:"z",colors:(P=(j=(x=r.componentsExt)==null?void 0:x.JoggingCartesian)==null?void 0:j.Axis)==null?void 0:P.Z,icon:o.jsx(Og,{})}];function c(C){return n("General.mm.variable",{amount:C.toFixed(1)})}function d(C){return n("General.degree.variable",{amount:Lt.radiansToDegrees(C).toFixed(1)})}return o.jsxs(k.Stack,{flexGrow:1,gap:4,children:[o.jsxs(k.Stack,{children:[o.jsx($g,{store:e}),o.jsx(p_,{store:e})]}),o.jsx(k.Stack,{width:"80%",maxWidth:"296px",marginLeft:"auto",marginRight:"auto",marginTop:"8px",marginBottom:"8px",gap:"12px",children:o.jsxs(k.ToggleButtonGroup,{value:e.selectedCartesianMotionType,onChange:a,exclusive:!0,"aria-label":n("Jogging.Cartesian.MotionType.lb"),sx:{justifyContent:"center"},children:[o.jsx(k.ToggleButton,{value:"translate",children:n("Jogging.Cartesian.Translation.bt")}),o.jsx(k.ToggleButton,{value:"rotate",children:n("Jogging.Cartesian.Rotation.bt")})]})}),o.jsx(Gl,{store:e,children:o.jsxs(k.Stack,{width:"80%",maxWidth:"296px",marginLeft:"auto",marginRight:"auto",marginTop:"8px",marginBottom:"8px",gap:"12px",children:[e.selectedCartesianMotionType==="translate"&&u.map(C=>o.jsx(Qa,{colors:C.colors,disabled:e.isLocked,label:o.jsxs(o.Fragment,{children:[C.icon,o.jsx(k.Typography,{sx:{fontSize:"24px",color:"white"},children:C.id.toUpperCase()})]}),getDisplayedValue:()=>{var w;return c(((w=e.jogger.motionStream.rapidlyChangingMotionState.tcp_pose)==null?void 0:w.position[C.id])||0)},startJogging:w=>i({axis:C.id,motionType:"translate",direction:w}),stopJogging:l},C.id)),e.selectedCartesianMotionType==="rotate"&&u.map(C=>o.jsx(Qa,{colors:C.colors,disabled:e.isLocked,label:o.jsxs(o.Fragment,{children:[o.jsx(Lg,{}),o.jsx(k.Typography,{sx:{fontSize:"24px",color:"white"},children:C.id.toUpperCase()})]}),getDisplayedValue:()=>{var w,A;return d(((A=(w=e.jogger.motionStream.rapidlyChangingMotionState.tcp_pose)==null?void 0:w.orientation)==null?void 0:A[C.id])||0)},startJogging:w=>i({axis:C.id,motionType:"rotate",direction:w}),stopJogging:l},C.id))]})}),o.jsxs(k.Stack,{children:[o.jsx(ru,{store:e}),o.jsx(iu,{store:e}),t]})]})}),U_=ke.observer(({store:e})=>{const t=Q.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(k.Stack,{alignItems:"left",spacing:2,sx:{padding:"16px","& label":{opacity:.7,fontSize:"12px",marginBottom:"4px"}},children:o.jsx(zl,{value:n(),ref:t})})}),J_=ke.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(k.Stack,{flexGrow:1,justifyContent:"space-between",children:[o.jsx(U_,{store:e}),o.jsx(Gl,{store:e,children:o.jsx(k.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(k.Stack,{direction:"row",alignItems:"center",gap:2,children:[o.jsx(k.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(k.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 V_(e,t,n){t=="__proto__"&&bi?bi(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function G_(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 z_(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 K_=z_();function W_(e,t){return e&&K_(e,t,Bo)}function H_(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 q_=H_(W_);function X_(e,t,n,r){return q_(e,function(a,s,i){t(r,a,n(a),i)}),r}var Y_=1,Z_=2;function Q_(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?pa(c,u,Y_|Z_,r,d):h))return!1}}return!0}function lu(e){return e===e&&!Kt(e)}function e1(e){for(var t=Bo(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 t1(e){var t=e1(e);return t.length==1&&t[0][2]?uu(t[0][0],t[0][1]):function(n){return n===e||Q_(n,e,t)}}var r1=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n1=/^\w*$/;function Do(e,t){if(pt(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||ia(e)?!0:n1.test(e)||!r1.test(e)||t!=null&&e in Object(t)}var a1="Expected a function";function Uo(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(a1);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||At),n}Uo.Cache=At;var o1=500;function s1(e){var t=Uo(e,function(r){return n.size===o1&&n.clear(),r}),n=t.cache;return t}var i1=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,l1=/\\(\\)?/g,u1=s1(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(i1,function(n,r,a,s){t.push(a?s.replace(l1,"$1"):r||n)}),t});function c1(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 d1=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 c1(e,cu)+"";if(ia(e))return xi?xi.call(e):"";var t=e+"";return t=="0"&&1/e==-d1?"-0":t}function du(e){return e==null?"":cu(e)}function mu(e,t){return pt(e)?e:Do(e,t)?[e]:u1(du(e))}var m1=1/0;function ya(e){if(typeof e=="string"||ia(e))return e;var t=e+"";return t=="0"&&1/e==-m1?"-0":t}function hu(e,t){t=mu(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[ya(t[n++])];return n&&n==r?e:void 0}function h1(e,t,n){var r=e==null?void 0:hu(e,t);return r===void 0?n:r}function f1(e,t){return e!=null&&t in Object(e)}function g1(e,t,n){t=mu(t,e);for(var r=-1,a=t.length,s=!1;++r<a;){var i=ya(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)||Xl(e)))}function p1(e,t){return e!=null&&g1(e,t,f1)}var y1=1,_1=2;function v1(e,t){return Do(e)&&lu(t)?uu(ya(e),t):function(n){var r=h1(n,e);return r===void 0&&r===t?p1(n,e):pa(t,r,y1|_1)}}function b1(e){return e}function S1(e){return function(t){return t==null?void 0:t[e]}}function x1(e){return function(t){return hu(t,e)}}function w1(e){return Do(e)?S1(ya(e)):x1(e)}function j1(e){return typeof e=="function"?e:e==null?b1:typeof e=="object"?pt(e)?v1(e[0],e[1]):t1(e):w1(e)}function R1(e,t){return function(n,r){var a=pt(n)?G_:X_,s={};return a(n,e,j1(r),s)}}var Sn=R1(function(e,t,n){V_(e,n,t)}),C1=0;function A1(e){var t=++C1;return du(e)+t}const ho=[{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}],P1=[{id:"continuous"},...ho];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()}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(console.log("activate!!"),!(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 P1}get discreteIncrementOptions(){return ho}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:ho.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=A1();this.locks.add(n);try{return await t()}finally{this.locks.delete(n)}}}const I1=on(ke.observer(e=>{const t=po.isString(e.nova)?new Lt.NovaClient({instanceUrl:e.nova}):e.nova,n=ke.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 Q.useEffect(()=>(r(),()=>{var a;(a=n.joggingStore)==null||a.dispose()}),[e.nova,e.motionGroupId]),Q.useEffect(()=>{const a=n.joggingStore;a&&(e.locked?a.locks.add("external"):a.locks.delete("external"))},[e.locked]),o.jsx(k.Stack,{sx:{maxWidth:"460px",minWidth:"350px",overflowY:"auto",position:"relative",height:"100%"},children:n.joggingStore?o.jsx(M1,{store:n.joggingStore,children:e.children}):o.jsx(ha,{message:"Loading jogging",error:n.loadingError})})})),M1=ke.observer(({store:e,children:t})=>{Q.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)}}),To(()=>[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(D_,{store:e,children:t})});if(e.currentTab.id==="joint")return o.jsx(o.Fragment,{children:o.jsx(J_,{store:e,children:t})})}return o.jsxs(k.Stack,{flexGrow:1,height:"100%",children:[o.jsx(k.Tabs,{value:e.tabIndex,onChange:e.onTabChange,variant:"fullWidth",children:e.tabs.map(r=>o.jsx(k.Tab,{label:r.label,id:`jogging-tab-${r.id}`,"aria-controls":`jogging-tab-${r.id}`},r.id))}),o.jsx(k.Stack,{flexGrow:1,position:"relative",children:n()})]})});function T1(){const e=window.location.href;return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function k1({baseUrl:e=T1(),...t}){return o.jsxs(k.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(k.DialogTitle,{id:"no-motion-group-modal-title",children:"No motion group found"}),o.jsxs(k.DialogContent,{sx:{marginTop:"3rem",marginBottom:"1.5rem",textAlign:"center"},children:[o.jsx(k.Typography,{color:"#fff",children:"Found no devices to connect to."}),o.jsx(k.Typography,{color:"#fff",children:"Please ensure a motion group has been created."})]}),o.jsx(k.DialogActions,{children:o.jsxs(k.Stack,{width:"100%",maxWidth:"300px",margin:"auto",marginBottom:"2rem",children:[o.jsx(k.Button,{href:`${e}/settings`,variant:"contained",sx:{borderRadius:"8px",width:"100%"},children:"Go to settings app"}),o.jsx(k.Button,{href:`${e}`,variant:"text",sx:{marginTop:"1rem",color:"#fff",textDecoration:"underline",fontSize:"0.75rem"},children:"Back to Homescreen"})]})})]})}const O1=Array(6).fill(2*Math.PI);fu.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0]};function fu({modelURL:e,...t}){const n=X.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:"IRB1200_7_70_IRC5",rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"IRB1200_7_70_IRC5_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"IRB1200_7_70_IRC5_J02",position:[0,.399,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"IRB1200_7_70_IRC5_J03",position:[.35,0,0],children:[o.jsxs(b.animated.group,{name:"IRB1200_7_70_IRC5_J04",position:[.042,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"IRB1200_7_70_IRC5_J05",position:[0,.351,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"IRB1200_7_70_IRC5_J06",rotation:[Math.PI/2,0,-Math.PI],children:[o.jsx("group",{name:"IRB1200_7_70_IRC5_FLG",position:[0,.082,0]}),o.jsx("mesh",{name:"IRB1200_7_70_IRC5_L06",castShadow:!0,receiveShadow:!0,geometry:r.IRB1200_7_70_IRC5_L06.geometry,material:a["IRB1200_7-70_IRC5.003_Bake"]})]}),o.jsx("mesh",{name:"IRB1200_7_70_IRC5_L05",castShadow:!0,receiveShadow:!0,geometry:r.IRB1200_7_70_IRC5_L05.geometry,material:a["IRB1200_7-70_IRC5.003_Bake"]})]}),o.jsx("mesh",{name:"IRB1200_7_70_IRC5_L04",castShadow:!0,receiveShadow:!0,geometry:r.IRB1200_7_70_IRC5_L04.geometry,material:a["IRB1200_7-70_IRC5.003_Bake"]})]}),o.jsx("mesh",{name:"IRB1200_7_70_IRC5_L03",castShadow:!0,receiveShadow:!0,geometry:r.IRB1200_7_70_IRC5_L03.geometry,material:a["IRB1200_7-70_IRC5.003_Bake"]})]}),o.jsx("mesh",{name:"IRB1200_7_70_IRC5_L02",castShadow:!0,receiveShadow:!0,geometry:r.IRB1200_7_70_IRC5_L02.geometry,material:a["IRB1200_7-70_IRC5.003_Bake"]})]}),o.jsx("mesh",{name:"IRB1200_7_70_IRC5_L01",castShadow:!0,receiveShadow:!0,geometry:r.IRB1200_7_70_IRC5_L01.geometry,material:a["IRB1200_7-70_IRC5.003_Bake"],rotation:[Math.PI/2,0,0]})]}),o.jsx("mesh",{name:"IRB1200_7_70_IRC5_L00",castShadow:!0,receiveShadow:!0,geometry:r.IRB1200_7_70_IRC5_L00.geometry,material:a["IRB1200_7-70_IRC5.003_Bake"],rotation:[-Math.PI/2,0,0]})]})})})})}gu.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0]};function gu({modelURL:e,...t}){const n=X.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(b.animated.group,{name:"ABB_IRB_1300_115_10_J00",children:[o.jsxs(b.animated.group,{name:"ABB_IRB_1300_115_10_J01",position:[.15,.544,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"ABB_IRB_1300_115_10_J02",position:[.575,0,0],children:[o.jsxs(b.animated.group,{name:"ABB_IRB_1300_115_10_J03",position:[.04,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"ABB_IRB_1300_115_10_J04",position:[0,.425,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.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=X.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(b.animated.group,{name:"M10iD_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"M10iD_J02",position:[.075,0,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"M10iD_J03",position:[.64,0,0],children:[o.jsxs(b.animated.group,{name:"M10iD_J04",position:[.195,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"M10iD_J05",position:[0,-.7,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.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]})]})})})})}fo.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function fo({modelURL:e,...t}){const n=X.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(b.animated.group,{name:"M20iD25_J00",children:[o.jsxs(b.animated.group,{name:"M20iD25_J01",position:[.075,0,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"M20iD25_J02",position:[.84,0,0],children:[o.jsxs(b.animated.group,{name:"M20iD25_J03",position:[.215,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"M20iD25_J04",position:[0,-.89,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.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=X.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(b.animated.group,{name:"CRX10iA_J00",children:[o.jsxs(b.animated.group,{name:"CRX10iA_J01",rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"CRX10iA_J02",position:[.54,0,0],children:[o.jsxs(b.animated.group,{name:"CRX10iA_J03",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"CRX10iA_J04",position:[0,-.54,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.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=X.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(b.animated.group,{name:"FANUC_CRX20iAL_J00",position:[0,-.245,0],children:[o.jsxs(b.animated.group,{name:"FANUC_CRX20iAL_J01",position:[0,.245,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"FANUC_CRX20iAL_J02",position:[.71,0,0],children:[o.jsxs(b.animated.group,{name:"FANUC_CRX20iAL_J03",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"FANUC_CRX20iAL_J04",position:[0,-.54,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"FANUC_CRX20iAL_J05",position:[0,.15,0],rotation:[-Math.PI/2,0,0],children:[o.jsx(b.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(b.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(b.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(b.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=X.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(b.animated.group,{name:"CRX25iA_J00",children:[o.jsxs(b.animated.group,{name:"CRX25iA_J01",position:[0,.37,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"CRX25iA_J02",position:[.95,0,0],children:[o.jsxs(b.animated.group,{name:"CRX25iA_J03",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"CRX25iA_J04",position:[0,-.75,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.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=X.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(b.animated.group,{name:"CRX10iA_J00",children:[o.jsxs(b.animated.group,{name:"CRX10iA_J01",position:[0,.245,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"CRX10iA_J02",position:[.71,0,0],children:[o.jsxs(b.animated.group,{name:"CRX10iA_J03",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"CRX10iA_J04",position:[0,-.54,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.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"]})]})})})}function E1({modelURL:e,...t}){const{nodes:n,materials:r}=X.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(b.animated.group,{name:"FANUC_LRMATE-200ID_J00",children:[o.jsxs(b.animated.group,{name:"FANUC_LRMATE-200ID_J01",position:[.05,0,0],rotation:[Math.PI/2,Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"FANUC_LRMATE-200ID_J02",position:[.33,0,0],children:[o.jsxs(b.animated.group,{name:"FANUC_LRMATE-200ID_J03",position:[.035,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"FANUC_LRMATE-200ID_J04",position:[0,-.335,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.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})]})]})})}Su.config={rotationOffsets:[0,0,-Math.PI/2,0,0,0]};function Su({modelURL:e,...t}){const{nodes:n,materials:r}=X.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(b.animated.group,{name:"KUKA_KR16R2010_2_J00",children:[o.jsxs(b.animated.group,{name:"KUKA_KR16R2010_2_J01",position:[.16,.52,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"KUKA_KR16R2010_2_J02",position:[.98,0,0],rotation:[0,-Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"KUKA_KR16R2010_2_J03",position:[.15,0,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"KUKA_KR16R2010_2_J04",position:[0,-.86,0],rotation:[-Math.PI/2,0,0],children:[o.jsx(b.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})]})]})]})})})}xu.config={rotationOffsets:[0,0,-Math.PI/2,0,0,0]};function xu({modelURL:e,...t}){const n=X.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(b.animated.group,{name:"joint_01",children:[o.jsxs(b.animated.group,{name:"joint_02",position:[.33,.645,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"joint_03",position:[1.15,0,0],rotation:[0,-Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"joint_04",position:[.115,0,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"joint_05",position:[0,-1.22,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.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})]})})]})})})})}wu.config={rotationOffsets:[0,0,-Math.PI/2,0,0,0]};function wu({modelURL:e,...t}){const n=X.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(b.animated.group,{name:"joint_01",children:[o.jsxs(b.animated.group,{name:"joint_02",position:[.35,.675,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"joint_03",position:[1.15,0,0],rotation:[0,-Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"joint_04",position:[-.041,0,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"joint_05",position:[0,-1.2,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.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_})]})})]})})})}function L1({modelURL:e,...t}){const{nodes:n,materials:r}=X.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(b.animated.group,{name:"KUKA_KR6R700-2_J00",children:[o.jsxs(b.animated.group,{name:"KUKA_KR6R700-2_J01",position:[.025,.4,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"KUKA_KR6R700-2_J02",position:[.335,0,0],rotation:[0,-Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"KUKA_KR6R700-2_J03",position:[.025,0,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"KUKA_KR6R700-2_J04",position:[0,-.365,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.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 $1({modelURL:e,...t}){const n=X.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx("group",{...t,dispose:null,children:o.jsx("group",{name:"Scene",children:o.jsxs(b.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(b.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(b.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(b.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(b.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(b.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 N1({modelURL:e,...t}){const n=X.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(b.animated.group,{name:"UR10e_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"UR10e_J02",position:[0,.181,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"UR10e_J03",position:[-.613,0,0],children:[o.jsxs(b.animated.group,{name:"UR10e_J04",position:[-.572,0,0],children:[o.jsxs(b.animated.group,{name:"UR10e_J05",position:[0,.174,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"UR10e_J06",position:[0,.12,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.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(b.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 F1({modelURL:e,...t}){const n=X.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(b.animated.group,{name:"UR3_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"UR3_J02",position:[0,.152,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"UR3_J03",position:[-.244,0,0],children:[o.jsxs(b.animated.group,{name:"UR3_J04",position:[-.213,0,0],children:[o.jsxs(b.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(b.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 B1({modelURL:e,...t}){const n=X.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(b.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(b.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(b.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(b.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(b.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(b.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 D1({modelURL:e,...t}){const n=X.useGLTF(e),r=n.nodes,a=n.materials;return o.jsx("group",{...t,dispose:null,children:o.jsxs("group",{name:"Scene",children:[o.jsxs(b.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(b.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(b.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(b.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(b.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(b.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 U1({modelURL:e,...t}){const n=X.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(b.animated.group,{name:"UR5e_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"UR5e_J02",position:[0,.162,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"UR5e_J03",position:[-.425,0,0],children:[o.jsxs(b.animated.group,{name:"UR5e_J04",position:[-.392,0,0],children:[o.jsxs(b.animated.group,{name:"UR5e_J05",position:[0,.133,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.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})]})})]})})})})}ju.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0],rotationSign:[1,-1,1,1,1,1]};function ju({modelURL:e,...t}){const n=X.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(b.animated.group,{name:"AR1440_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"AR1440_J02",position:[.155,0,0],rotation:[Math.PI/2,0,Math.PI],children:[o.jsxs(b.animated.group,{name:"AR1440_J03",position:[.614,0,0],rotation:[Math.PI,0,0],children:[o.jsxs(b.animated.group,{name:"AR1440_J04",position:[.2,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"AR1440_J05",position:[0,-.64,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.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]})]})})})})}Ru.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0],rotationSign:[1,-1,1,1,1,1]};function Ru({modelURL:e,...t}){const n=X.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(b.animated.group,{name:"AR1730_J00",children:[o.jsxs(b.animated.group,{name:"AR1730_J01",position:[.15,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"AR1730_J02",position:[.76,0,0],rotation:[-Math.PI,0,0],children:[o.jsxs(b.animated.group,{name:"AR1730_J03",position:[.2,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"AR1730_J04",position:[0,-.795,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.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=X.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(b.animated.group,{name:"AR2010_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"AR2010_J02",position:[.15,0,0],rotation:[Math.PI/2,0,Math.PI],children:[o.jsxs(b.animated.group,{name:"AR2010_J03",position:[.76,0,0],rotation:[Math.PI,0,0],children:[o.jsxs(b.animated.group,{name:"AR2010_J04",position:[.2,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"AR2010_J05",position:[0,-1.082,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.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]})]})})})})}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=X.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(b.animated.group,{name:"AR3120_J00",children:[o.jsxs(b.animated.group,{name:"AR3120_J01",position:[.145,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"AR3120_J02",position:[1.15,0,0],rotation:[-Math.PI,0,0],children:[o.jsxs(b.animated.group,{name:"AR3120_J03",position:[.25,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"AR3120_J04",position:[0,-1.812,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.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]})]})})})}go.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0]};function go({modelURL:e,...t}){const n=X.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(b.animated.group,{name:"AR900_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"AR900_J02",position:[.04,0,0],rotation:[-Math.PI/2,-Math.PI/2,0],children:[o.jsxs(b.animated.group,{name:"AR900_J03",position:[.445,0,0],rotation:[-Math.PI,0,0],children:[o.jsxs(b.animated.group,{name:"AR900_J04",position:[.04,0,0],rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"AR900_J05",position:[0,-.44,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.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]})]})})})})}Pu.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0]};function Pu({modelURL:e,...t}){const n=X.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(b.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(b.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(b.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(b.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(b.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(b.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 J1="(^joint_[0-9]+$)|(_J[0-9]+$)";function Iu(e){return e.children.length===0?[e]:[e,...e.children.flatMap(t=>Iu(t))]}function V1(e,t){return new RegExp(t??J1).test(e)}function Mu(e,t){return Iu(e).filter(n=>V1(n.name,t))}function Tu({rapidlyChangingMotionState:e,jointCollector:t,onRotationChanged:n,robotConfig:r,children:a}){b.Globals.assign({frameLoop:"always"});const s=Q.useRef([]),i=Q.useRef([]),{invalidate:l}=Vu.useThree();function u(y){y&&(i.current=t?t(y):Mu(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)=>v[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[v,_]=b.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 Ja({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 v=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:v,b:d}}function s(u,c,d,h){if(!t)return;const m=t[u];if(!m)return;const{a:v,b:_}=a(m,h);c.geometry.setPositions([v.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 Mu(u,"^group_[0-9]+$")}return o.jsx(o.Fragment,{children:o.jsx(Tu,{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(X.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 G1=console.warn;function z1(){return Q.useEffect(()=>{console.warn=e=>{e!=="Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"&&G1(e)}},[]),o.jsx(o.Fragment,{})}function Vo(e){return`https://cdn.jsdelivr.net/gh/wandelbotsgmbh/wandelbots-js-react-components/public/models/${e}.glb`}const ku=on(({rapidlyChangingMotionState:e,modelFromController:t,dhParameters:n,getModel:r=Vo,isGhost:a=!1,...s})=>{let i=null;const l=Q.useRef(),u=Q.useCallback(h=>{h&&(l.current=h,a&&c())},[a]),c=()=>{!l.current||l.current.userData.isGhost||(l.current.traverse(h=>{if(h instanceof Ie.Mesh){h.material instanceof Ie.Material&&(h.material.colorWrite=!0);const m=h.clone(),v=h.clone();m.material=new Ie.MeshStandardMaterial({depthTest:!0,depthWrite:!0,colorWrite:!1,polygonOffset:!0,polygonOffsetFactor:1}),m.userData.isGhost=!0,v.material=new Ie.MeshStandardMaterial({color:"#D91433",opacity:.3,depthTest:!0,depthWrite:!1,transparent:!0,polygonOffset:!0,polygonOffsetFactor:-1}),v.userData.isGhost=!0,h.parent&&(h.parent.add(m),h.parent.add(v))}}),l.current.userData.isGhost=!0)},d=()=>{if(!l.current||!l.current.userData.isGhost)return;const h=[];l.current.traverse(m=>{var v;m instanceof Ie.Mesh&&((v=m.userData)!=null&&v.isGhost?h.push(m):m.material instanceof Ie.Material&&(m.material.colorWrite=!0))}),h.forEach(m=>{m.parent&&m.parent.remove(m)}),l.current.userData.isGhost=!0};switch(Q.useEffect(()=>{a?c():d()},[a]),t){case"UniversalRobots_UR3CB":i=F1;break;case"UniversalRobots_UR3e":i=B1;break;case"UniversalRobots_UR5CB":i=D1;break;case"UniversalRobots_UR5e":i=U1;break;case"UniversalRobots_UR10CB":i=$1;break;case"UniversalRobots_UR10e":i=N1;break;case"Yaskawa_AR900":i=go;break;case"Yaskawa_GP7":i=go;break;case"Yaskawa_AR1440":i=ju;break;case"Yaskawa_AR1730":i=Ru;break;case"Yaskawa_AR2010":i=Cu;break;case"Yaskawa_AR3120":i=Au;break;case"Yaskawa_GP50":i=Pu;break;case"FANUC_CRX10iA":i=yu;break;case"FANUC_CRX20iAL":i=_u;break;case"FANUC_CRX25iA":i=vu;break;case"FANUC_CRX25iAL":i=bu;break;case"FANUC_LRMATE_200ID":i=E1;break;case"FANUC_ARC_Mate_120iD":i=fo;break;case"FANUC_ARC_Mate_120iD35":i=fo;break;case"FANUC_ARC_Mate_100iD":i=pu;break;case"KUKA_KR210_R2700":i=xu;break;case"KUKA_KR270_R2700":i=wu;break;case"KUKA_KR16_R2010_2":i=Su;break;case"KUKA_KR6_R700_2":i=L1;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(Ku.ErrorBoundary,{fallback:o.jsx(Ja,{rapidlyChangingMotionState:e,dhParameters:n,...s}),children:[o.jsx(Q.Suspense,{fallback:o.jsx(Ja,{rapidlyChangingMotionState:e,dhParameters:n,...s}),children:o.jsx("group",{ref:u,children:i?o.jsx(Tu,{rapidlyChangingMotionState:e,robotConfig:i.config,children:o.jsx(i,{modelURL:r(t),...s})}):o.jsx(Ja,{rapidlyChangingMotionState:e,dhParameters:n})})}),o.jsx(z1,{})]})});function K1({connectedMotionGroup:e,getModel:t=Vo,isGhost:n=!1,...r}){return e.dhParameters?o.jsx(ku,{rapidlyChangingMotionState:e.rapidlyChangingMotionState,modelFromController:e.modelFromController||"",dhParameters:e.dhParameters,getModel:t,isGhost:n,...r}):null}const W1=k.styled(k.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}}]}});function H1({selected:e,...t}){return o.jsx(W1,{selected:e,...t,color:"secondary",variant:"circular"})}const q1={$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"},X1=Q.lazy(()=>import("@monaco-editor/react")),Y1=on(e=>{const t=k.useTheme(),n=Q.useRef(null),[r,a]=Q.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:[q1],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(Q.Suspense,{fallback:o.jsx(ha,{}),children:o.jsx(X1,{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 Ou(){var t,n,r,a,s,i;const e=k.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 Z1(){const e=Ou();return e.palette.mode="light",e}function Q1(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?Ou():Z1()}exports.JoggingCartesianAxisControl=Qa;exports.JoggingJointRotationControl=yl;exports.JoggingPanel=I1;exports.LoadingCover=ha;exports.LoadingErrorMessage=Vl;exports.NoMotionGroupModal=k1;exports.PresetEnvironment=qu;exports.Robot=K1;exports.SafetyZonesRenderer=Zu;exports.SelectableFab=H1;exports.SupportedRobot=ku;exports.VelocitySlider=su;exports.WandelscriptEditor=Y1;exports.createNovaMuiTheme=Q1;exports.defaultAxisConfig=O1;exports.defaultGetModel=Vo;exports.useAnimationFrame=xr;exports.useAutorun=dl;exports.useMounted=sa;exports.useReaction=To;
|
|
84
84
|
//# sourceMappingURL=index.cjs.map
|