@wandelbots/wandelbots-js-react-components 1.20.2 → 1.20.3
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/index.cjs
CHANGED
|
@@ -80,5 +80,5 @@ const theme2 = createTheme({ palette: {
|
|
|
80
80
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(a=>r.set(a)),r}static accessor(t){const r=(this[Us]=this[Us]={accessors:{}}).accessors,a=this.prototype;function s(i){const l=Dr(i);r[l]||(ng(a,i),r[l]=!0)}return x.isArray(t)?t.forEach(s):s(t),this}};Fe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);x.reduceDescriptors(Fe.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});x.freezeMethods(Fe);function Na(e,t){const n=this||ln,r=t||n,a=Fe.from(r.headers);let s=r.data;return x.forEach(e,function(l){s=l.call(n,s,a.normalize(),t?t.status:void 0)}),a.normalize(),s}function kl(e){return!!(e&&e.__CANCEL__)}function jr(e,t,n){J.call(this,e??"canceled",J.ERR_CANCELED,t,n),this.name="CanceledError"}x.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 ag(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function og(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 sg(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=og(50,250);return sg(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)=>x.asap(()=>e(...t)),ig=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=x.isString(i)?a(i):i;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}(),lg=ot.hasStandardBrowserEnv?{write(e,t,n,r,a,s){const i=[e+"="+encodeURIComponent(t)];x.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),x.isString(r)&&i.push("path="+r),x.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 ug(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function cg(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ll(e,t){return e&&!ug(t)?cg(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 x.isPlainObject(c)&&x.isPlainObject(d)?x.merge.call({caseless:h},c,d):x.isPlainObject(d)?x.merge({},d):x.isArray(d)?d.slice():d}function a(c,d,h){if(x.isUndefined(d)){if(!x.isUndefined(c))return r(void 0,c,h)}else return r(c,d,h)}function s(c,d){if(!x.isUndefined(d))return r(void 0,d)}function i(c,d){if(x.isUndefined(d)){if(!x.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 x.forEach(Object.keys(Object.assign({},e,t)),function(d){const h=u[d]||a,m=h(e[d],t[d],d);x.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(x.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&&x.isFunction(r)&&(r=r(t)),r||r!==!1&&ig(t.url))){const c=a&&s&&lg.read(s);c&&i.set(a,c)}return t},dg=typeof XMLHttpRequest<"u",mg=dg&&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 S(){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(T){n(T),y()},function(T){r(T),y()},w),p=null}"onloadend"in p?p.onloadend=S:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(S)},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||Il;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&&x.forEach(i.toJSON(),function(C,w){p.setRequestHeader(w,C)}),x.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=ag(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)})},hg=(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}]},fg=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},gg=async function*(e,t,n){for await(const r of e)yield*fg(ArrayBuffer.isView(r)?r:await n(String(r)),t)},zs=(e,t,n,r,a)=>{const s=gg(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}},pg=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}),Ws=64*1024,no=Nl&&Fl(()=>x.isReadableStream(new Response("").body)),Vn={stream:no&&(e=>e.body)};ma&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Vn[t]&&(Vn[t]=x.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 yg=async e=>{if(e==null)return 0;if(x.isBlob(e))return e.size;if(x.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(x.isArrayBufferView(e)||x.isArrayBuffer(e))return e.byteLength;if(x.isURLSearchParams(e)&&(e=e+""),x.isString(e))return(await ro(e)).byteLength},_g=async(e,t)=>{const n=x.toFiniteNumber(e.getContentLength());return n??yg(t)},vg=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?hg([a,s],i):[],y,p;const S=()=>{!y&&setTimeout(()=>{v&&v.unsubscribe()}),y=!0};let j;try{if(u&&pg&&n!=="get"&&n!=="head"&&(j=await _g(d,r))!==0){let A=new Request(t,{method:"POST",body:r,duplex:"half"}),T;if(x.isFormData(r)&&(T=A.headers.get("content-type"))&&d.setContentType(T),A.body){const[z,le]=Js(j,Jn(Vs(u)));r=zs(A.body,Ws,z,le,ro)}}x.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 T=x.toFiniteNumber(P.headers.get("content-length")),[z,le]=l&&Js(T,Jn(Vs(l),!0))||[];P=new Response(zs(P.body,Ws,z,()=>{le&&le(),C&&S()},ro),A)}c=c||"text";let w=await Vn[x.findKey(Vn,c)||"text"](P,e);return!C&&S(),_&&_(),await new Promise((A,T)=>{El(A,T,{data:w,headers:Fe.from(P.headers),status:P.status,statusText:P.statusText,config:e,request:p})})}catch(P){throw S(),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:$0,xhr:mg,fetch:vg};x.forEach(ao,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ks=e=>`- ${e}`,bg=e=>x.isFunction(e)||e===null||e===!1,Dl={getAdapter:e=>{e=x.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,!bg(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(Ks).join(`
|
|
82
82
|
`):" "+Ks(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),Dl.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 kl(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 Bl="1.7.4",No={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{No[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const qs={};No.transitional=function(t,n,r){function a(s,i){return"[Axios v"+Bl+"] Transitional option '"+s+"'"+i+(r?". "+r:"")}return(s,i,l)=>{if(t===!1)throw new J(a(i," has been removed"+(n?" in "+n:"")),J.ERR_DEPRECATED);return n&&!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},kt=oo.validators;let Gt=class{constructor(t){this.defaults=t,this.interceptors={request:new Bs,response:new Bs}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let a;Error.captureStackTrace?Error.captureStackTrace(a={}):a=new Error;const s=a.stack?a.stack.replace(/^.+\n/,""):"";try{r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
|
83
|
-
`+s):r.stack=s}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ht(this.defaults,n);const{transitional:r,paramsSerializer:a,headers:s}=n;r!==void 0&&oo.assertOptions(r,{silentJSONParsing:kt.transitional(kt.boolean),forcedJSONParsing:kt.transitional(kt.boolean),clarifyTimeoutError:kt.transitional(kt.boolean)},!1),a!=null&&(x.isFunction(a)?n.paramsSerializer={serialize:a}:oo.assertOptions(a,{encode:kt.function,serialize:kt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&x.merge(s.common,s[n.method]);s&&x.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)}};x.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}))}});x.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 Sg=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 wg(e){return function(n){return e.apply(null,n)}}function jg(e){return x.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 x.extend(n,Gt.prototype,t,{allOwnKeys:!0}),x.extend(n,t,null,{allOwnKeys:!0}),n.create=function(a){return Jl(Ht(e,a))},n}const xe=Jl(ln);xe.Axios=Gt;xe.CanceledError=jr;xe.CancelToken=Sg;xe.isCancel=kl;xe.VERSION=Bl;xe.toFormData=da;xe.AxiosError=J;xe.Cancel=xe.CanceledError;xe.all=function(t){return Promise.all(t)};xe.spread=wg;xe.isAxiosError=jg;xe.mergeConfig=Ht;xe.AxiosHeaders=Fe;xe.formToJSON=e=>Ol(x.isHTMLForm(e)?new FormData(e):e);xe.getAdapter=Dl.getAdapter;xe.HttpStatusCode=so;xe.default=xe;const{Axios:tv,AxiosError:Xs,CanceledError:rv,isCancel:nv,CancelToken:av,VERSION:ov,all:sv,Cancel:iv,isAxiosError:lv,spread:uv,toFormData:cv,AxiosHeaders:dv,HttpStatusCode:mv,formToJSON:hv,getAdapter:fv,mergeConfig:gv}=xe;function Rg(e){try{return JSON.stringify(e)}catch{return}}function Cg(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: ${Rg(e)||e}`}const ha=e=>{const t=e.softTimeout||3e3,[n,r]=Z.useState(!1);return Z.useEffect(()=>{const a=setTimeout(()=>{r(!0)},t);return()=>clearTimeout(a)}),o.jsx(O.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(O.CircularProgress,{sx:{marginBottom:"24px"}}),!!e.message&&o.jsx("div",{children:e.message}),o.jsx(O.Stack,{sx:{visibility:n?"visible":"hidden",marginTop:"1rem",color:"gray"},children:"This is taking longer than expected..."})]})})},Vl=e=>{const t=Cg(e.error),n=e.error instanceof Error?e.error.stack:null,r=O.useTheme();return o.jsxs(O.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(O.capitalize(e.loadingMessage))} - `:"")+t,o.jsx("br",{}),n&&o.jsx("pre",{children:n})]})},Ag=({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"})),Pg=Z.forwardRef(Ag),Tg=({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"})),Mg=Z.forwardRef(Tg),Ig=({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=Z.forwardRef(Ig),kg=({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"})),Eg=Z.forwardRef(kg),Ys=e=>o.jsx(O.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=Oe.observer(({store:e,children:t})=>{const{t:n}=Xt.useTranslation(),r=O.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(O.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(O.Stack,{sx:{position:"relative",padding:"6px"},children:[a(),t]})}),zl=Z.forwardRef(({label:e,value:t},n)=>o.jsxs(o.Fragment,{children:[e&&o.jsx(O.InputLabel,{children:e}),o.jsx(O.Chip,{ref:n,sx:{fontSize:"14px",opacity:.8,marginTop:"4px !important"},value:t})]})),Lg=Oe.observer(({store:e})=>{const t=Z.useRef(null);function n(){const r=e.jogger.motionStream.rapidlyChangingMotionState.tcp_pose;return r?Lt.poseToWandelscriptString(r):""}return Sr(()=>{t.current&&(t.current.textContent=n())}),o.jsx(O.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 $g(){this.__data__=[],this.size=0}function Wl(e,t){return e===t||e!==e&&t!==t}function fa(e,t){for(var n=e.length;n--;)if(Wl(e[n][0],t))return n;return-1}var Ng=Array.prototype,Fg=Ng.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():Fg.call(t,n,1),--this.size,!0}function Bg(e){var t=this.__data__,n=fa(t,e);return n<0?void 0:t[n][1]}function Ug(e){return fa(this.__data__,e)>-1}function Jg(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=$g;Ct.prototype.delete=Dg;Ct.prototype.get=Bg;Ct.prototype.has=Ug;Ct.prototype.set=Jg;function Vg(){this.__data__=new Ct,this.size=0}function Gg(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function zg(e){return this.__data__.get(e)}function Wg(e){return this.__data__.has(e)}var Kg="[object AsyncFunction]",Hg="[object Function]",qg="[object GeneratorFunction]",Xg="[object Proxy]";function Kl(e){if(!Wt(e))return!1;var t=Yt(e);return t==Hg||t==qg||t==Kg||t==Xg}var Da=yt["__core-js_shared__"],Zs=function(){var e=/[^.]+$/.exec(Da&&Da.keys&&Da.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Yg(e){return!!Zs&&Zs in e}var Zg=Function.prototype,Qg=Zg.toString;function Zt(e){if(e!=null){try{return Qg.call(e)}catch{}try{return e+""}catch{}}return""}var ep=/[\\^$.*+?()[\]{}|]/g,tp=/^\[object .+?Constructor\]$/,rp=Function.prototype,np=Object.prototype,ap=rp.toString,op=np.hasOwnProperty,sp=RegExp("^"+ap.call(op).replace(ep,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ip(e){if(!Wt(e)||Yg(e))return!1;var t=Kl(e)?sp:tp;return t.test(Zt(e))}function lp(e,t){return e==null?void 0:e[t]}function Qt(e,t){var n=lp(e,t);return ip(n)?n:void 0}var Xr=Qt(yt,"Map"),Yr=Qt(Object,"create");function up(){this.__data__=Yr?Yr(null):{},this.size=0}function cp(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var dp="__lodash_hash_undefined__",mp=Object.prototype,hp=mp.hasOwnProperty;function fp(e){var t=this.__data__;if(Yr){var n=t[e];return n===dp?void 0:n}return hp.call(t,e)?t[e]:void 0}var gp=Object.prototype,pp=gp.hasOwnProperty;function yp(e){var t=this.__data__;return Yr?t[e]!==void 0:pp.call(t,e)}var _p="__lodash_hash_undefined__";function vp(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Yr&&t===void 0?_p: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=up;qt.prototype.delete=cp;qt.prototype.get=fp;qt.prototype.has=yp;qt.prototype.set=vp;function bp(){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 Sp(e){var t=ga(this,e).delete(e);return this.size-=t?1:0,t}function wp(e){return ga(this,e).get(e)}function jp(e){return ga(this,e).has(e)}function Rp(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=bp;At.prototype.delete=Sp;At.prototype.get=wp;At.prototype.has=jp;At.prototype.set=Rp;var Cp=200;function Ap(e,t){var n=this.__data__;if(n instanceof Ct){var r=n.__data__;if(!Xr||r.length<Cp-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=Vg;wt.prototype.delete=Gg;wt.prototype.get=zg;wt.prototype.has=Wg;wt.prototype.set=Ap;var Pp="__lodash_hash_undefined__";function Tp(e){return this.__data__.set(e,Pp),this}function Mp(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=Tp;Gn.prototype.has=Mp;function Ip(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 kp=1,Ep=2;function Hl(e,t,n,r,a,s){var i=n&kp,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&Ep?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(!Ip(t,function(S,j){if(!Op(v,j)&&(_===S||a(_,S,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 Lp(e){var t=-1,n=Array(e.size);return e.forEach(function(r,a){n[++t]=[a,r]}),n}function $p(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var Np=1,Fp=2,Dp="[object Boolean]",Bp="[object Date]",Up="[object Error]",Jp="[object Map]",Vp="[object Number]",Gp="[object RegExp]",zp="[object Set]",Wp="[object String]",Kp="[object Symbol]",Hp="[object ArrayBuffer]",qp="[object DataView]",ei=$t?$t.prototype:void 0,Ba=ei?ei.valueOf:void 0;function Xp(e,t,n,r,a,s,i){switch(n){case qp:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Hp:return!(e.byteLength!=t.byteLength||!s(new Qs(e),new Qs(t)));case Dp:case Bp:case Vp:return Wl(+e,+t);case Up:return e.name==t.name&&e.message==t.message;case Gp:case Wp:return e==t+"";case Jp:var l=Lp;case zp:var u=r&Np;if(l||(l=$p),e.size!=t.size&&!u)return!1;var c=i.get(e);if(c)return c==t;r|=Fp,i.set(e,t);var d=Hl(l(e),l(t),r,a,s,i);return i.delete(e),d;case Kp:if(Ba)return Ba.call(e)==Ba.call(t)}return!1}function Yp(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 Zp(e,t,n){var r=t(e);return pt(e)?r:Yp(r,n(e))}function Qp(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 ey(){return[]}var ty=Object.prototype,ry=ty.propertyIsEnumerable,ti=Object.getOwnPropertySymbols,ny=ti?function(e){return e==null?[]:(e=Object(e),Qp(ti(e),function(t){return ry.call(e,t)}))}:ey;function ay(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var oy="[object Arguments]";function ri(e){return Kt(e)&&Yt(e)==oy}var ql=Object.prototype,sy=ql.hasOwnProperty,iy=ql.propertyIsEnumerable,Xl=ri(function(){return arguments}())?ri:function(e){return Kt(e)&&sy.call(e,"callee")&&!iy.call(e,"callee")};function ly(){return!1}var Yl=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ni=Yl&&typeof module=="object"&&module&&!module.nodeType&&module,uy=ni&&ni.exports===Yl,ai=uy?yt.Buffer:void 0,cy=ai?ai.isBuffer:void 0,io=cy||ly,dy=9007199254740991,my=/^(?:0|[1-9]\d*)$/;function Zl(e,t){var n=typeof e;return t=t??dy,!!t&&(n=="number"||n!="symbol"&&my.test(e))&&e>-1&&e%1==0&&e<t}var hy=9007199254740991;function Fo(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=hy}var fy="[object Arguments]",gy="[object Array]",py="[object Boolean]",yy="[object Date]",_y="[object Error]",vy="[object Function]",by="[object Map]",xy="[object Number]",Sy="[object Object]",wy="[object RegExp]",jy="[object Set]",Ry="[object String]",Cy="[object WeakMap]",Ay="[object ArrayBuffer]",Py="[object DataView]",Ty="[object Float32Array]",My="[object Float64Array]",Iy="[object Int8Array]",Oy="[object Int16Array]",ky="[object Int32Array]",Ey="[object Uint8Array]",Ly="[object Uint8ClampedArray]",$y="[object Uint16Array]",Ny="[object Uint32Array]",de={};de[Ty]=de[My]=de[Iy]=de[Oy]=de[ky]=de[Ey]=de[Ly]=de[$y]=de[Ny]=!0;de[fy]=de[gy]=de[Ay]=de[py]=de[Py]=de[yy]=de[_y]=de[vy]=de[by]=de[xy]=de[Sy]=de[wy]=de[jy]=de[Ry]=de[Cy]=!1;function Fy(e){return Kt(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,By=Vr&&Vr.exports===Ql,Ua=By&&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):Fy,Uy=Object.prototype,Jy=Uy.hasOwnProperty;function Vy(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?ay(e.length,String):[],u=l.length;for(var c in e)Jy.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 Gy=Object.prototype;function zy(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Gy;return e===n}function Wy(e,t){return function(n){return e(t(n))}}var Ky=Wy(Object.keys,Object),Hy=Object.prototype,qy=Hy.hasOwnProperty;function Xy(e){if(!zy(e))return Ky(e);var t=[];for(var n in Object(e))qy.call(e,n)&&n!="constructor"&&t.push(n);return t}function tu(e){return e!=null&&Fo(e.length)&&!Kl(e)}function Do(e){return tu(e)?Vy(e):Xy(e)}function ii(e){return Zp(e,Do,ny)}var Yy=1,Zy=Object.prototype,Qy=Zy.hasOwnProperty;function e1(e,t,n,r,a,s){var i=n&Yy,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:Qy.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 S=e[m],j=t[m];if(r)var P=i?r(j,S,m,t,e,s):r(S,j,m,e,t,s);if(!(P===void 0?S===j||a(S,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]",t1="[object Object]",ui="[object Promise]",ci="[object Set]",di="[object WeakMap]",mi="[object DataView]",r1=Zt(lo),n1=Zt(Xr),a1=Zt(uo),o1=Zt(co),s1=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==t1?e.constructor:void 0,r=n?Zt(n):"";if(r)switch(r){case r1:return mi;case n1:return li;case a1:return ui;case o1:return ci;case s1:return di}return t});var i1=1,hi="[object Arguments]",fi="[object Array]",pn="[object Object]",l1=Object.prototype,gi=l1.hasOwnProperty;function u1(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):Xp(e,t,u,n,r,a,s);if(!(n&i1)){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),e1(e,t,n,r,a,s)):!1}function pa(e,t,n,r,a){return e===t?!0:e==null||t==null||!Kt(e)&&!Kt(t)?e!==e&&t!==t:u1(e,t,n,r,pa,a)}function c1(e,t){return pa(e,t)}const ru=({store:e})=>{const{t}=Xt.useTranslation(),[n,r]=Z.useState(e.jogger.motionStream.rapidlyChangingMotionState.state.joint_limit_reached.limit_reached),a=Z.useRef(n);Sr(()=>{const i=e.jogger.motionStream.rapidlyChangingMotionState.state.joint_limit_reached.limit_reached;c1(a.current,i)||(a.current=i,r(i))});const s=[];for(const[i,l]of n.entries())l&&s.push(i);return o.jsx(O.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(", ")})})},d1=({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"})),m1=Z.forwardRef(d1),h1=({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"})),f1=Z.forwardRef(h1),g1=Oe.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(O.Stack,{direction:"row",alignItems:"center",spacing:2,sx:{padding:"6px 16px","& label":{opacity:.7,fontSize:"12px",marginBottom:"4px"}},children:[o.jsxs(O.Stack,{width:"50%",children:[o.jsx(O.InputLabel,{id:"jogging-coord-select",children:"Coordinate Sys."}),o.jsx(O.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(O.MenuItem,{value:a.coordinate_system,children:a.name||a.coordinate_system},a.coordinate_system))})]}),o.jsxs(O.Stack,{width:"50%",children:[o.jsx(O.InputLabel,{id:"jogging-tcp-select",children:"TCP"}),o.jsx(O.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(O.MenuItem,{value:a.id,children:a.id},a.id))})]})]}),o.jsxs(O.Stack,{direction:"row",alignItems:"center",spacing:2,sx:{padding:"6px 16px","& label":{opacity:.7,fontSize:"12px",marginBottom:"4px"}},children:[o.jsxs(O.Stack,{width:"50%",children:[o.jsx(O.InputLabel,{id:"orientation-select",children:t("Jogging.Cartesian.Orientation.lb")}),o.jsxs(O.ToggleButtonGroup,{value:e.selectedOrientation,onChange:n,exclusive:!0,"aria-labelledby":"orientation-select",disabled:e.isLocked,children:[o.jsx(O.ToggleButton,{value:"coordsys",sx:{flexGrow:1},children:o.jsx(m1,{})}),o.jsx(O.ToggleButton,{value:"tool",sx:{flexGrow:1},children:o.jsx(f1,{})})]})]}),o.jsxs(O.Stack,{width:"50%",children:[o.jsx(O.InputLabel,{id:"jogging-increment-select",children:"Increment"}),o.jsxs(O.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(O.MenuItem,{value:"continuous",children:t("Jogging.Increment.Continuous.dd")},"continuous"),e.selectedOrientation==="tool"?null:e.discreteIncrementOptions.map(a=>o.jsx(O.MenuItem,{value:a.id,children:e.currentMotionType==="translate"?`${a.mm}mm`:`${a.degrees}°`},a.id))]})]})]})]})});function p1(e,t,n=(r,a)=>r===a){return e.length===t.length&&e.every((r,a)=>n(r,t[a]))}const y1=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 _1(e,t,n){return(n-t)*e+t}function v1(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 b1(e,t,n){const r=Math.round((e-n)/t)*t+n;return Number(r.toFixed(v1(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"?p1(e,t):!1}const x1={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}%`})}},S1=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 w1(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:_=S1,step:y=1,shiftStep:p=10,tabIndex:S,value:j}=e,P=N.useRef(),[C,w]=N.useState(-1),[A,T]=N.useState(-1),[z,le]=N.useState(!1),ce=N.useRef(0),[D,q]=Zi({controlled:j,default:n??u,name:"Slider"}),G=d&&((I,L,F)=>{const W=I.nativeEvent||I,Y=new W.constructor(W.type,W);Object.defineProperty(Y,"target",{writable:!0,value:{value:L,name:c}}),d(Y,L,F)}),X=Array.isArray(D);let H=X?D.slice().sort(nu):[D];H=H.map(I=>I==null?u:mr(I,u,l));const Se=i===!0&&y!==null?[...Array(Math.floor((l-u)/y)+1)].map((I,L)=>({value:u+y*L})):i||[],ue=Se.map(I=>I.value),{isFocusVisibleRef:ee,onBlur:Re,onFocus:ke,ref:nt}=Qi(),[_t,Ke]=N.useState(-1),we=N.useRef(),Pt=Ln(nt,we),lt=Ln(v,Pt),He=I=>L=>{var F;const W=Number(L.currentTarget.getAttribute("data-index"));ke(L),ee.current===!0&&Ke(W),T(W),I==null||(F=I.onFocus)==null||F.call(I,L)},Ue=I=>L=>{var F;Re(L),ee.current===!1&&Ke(-1),T(-1),I==null||(F=I.onBlur)==null||F.call(I,L)},ut=(I,L)=>{const F=Number(I.currentTarget.getAttribute("data-index")),W=H[F],Y=ue.indexOf(W);let K=L;if(Se&&y==null){const Ve=ue[ue.length-1];K>Ve?K=Ve:K<ue[0]?K=ue[0]:K=K<W?ue[Y-1]:ue[Y+1]}if(K=mr(K,u,l),X){a&&(K=mr(K,H[F-1]||-1/0,H[F+1]||1/0));const Ve=K;K=yi({values:H,newValue:K,index:F});let qe=F;a||(qe=K.indexOf(Ve)),_n({sliderRef:we,activeIndex:qe})}q(K),Ke(F),G&&!vn(K,D)&&G(I,K,F),h&&h(I,K)},ct=I=>L=>{var F;if(y!==null){const W=Number(L.currentTarget.getAttribute("data-index")),Y=H[W];let K=null;(L.key==="ArrowLeft"||L.key==="ArrowDown")&&L.shiftKey||L.key==="PageDown"?K=Math.max(Y-p,u):((L.key==="ArrowRight"||L.key==="ArrowUp")&&L.shiftKey||L.key==="PageUp")&&(K=Math.min(Y+p,l)),K!==null&&(ut(L,K),L.preventDefault())}I==null||(F=I.onKeyDown)==null||F.call(I,L)};wo(()=>{if(r&&we.current.contains(document.activeElement)){var I;(I=document.activeElement)==null||I.blur()}},[r]),r&&C!==-1&&w(-1),r&&_t!==-1&&Ke(-1);const Ft=I=>L=>{var F;(F=I.onChange)==null||F.call(I,L),ut(L,L.target.valueAsNumber)},vt=N.useRef();let Je=m;s&&m==="horizontal"&&(Je+="-reverse");const k=({finger:I,move:L=!1})=>{const{current:F}=we,{width:W,height:Y,bottom:K,left:Ve}=F.getBoundingClientRect();let qe;Je.indexOf("vertical")===0?qe=(K-I.y)/Y:qe=(I.x-Ve)/W,Je.indexOf("-reverse")!==-1&&(qe=1-qe);let re;if(re=_1(qe,u,l),y)re=b1(re,y,u);else{const It=pi(ue,re);re=ue[It]}re=mr(re,u,l);let $e=0;if(X){L?$e=vt.current:$e=pi(H,re),a&&(re=mr(re,H[$e-1]||-1/0,H[$e+1]||1/0));const It=re;re=yi({values:H,newValue:re,index:$e}),a&&L||($e=re.indexOf(It),vt.current=$e)}return{newValue:re,activeIndex:$e}},te=Cn(I=>{const L=yn(I,P);if(!L)return;if(ce.current+=1,I.type==="mousemove"&&I.buttons===0){he(I);return}const{newValue:F,activeIndex:W}=k({finger:L,move:!0});_n({sliderRef:we,activeIndex:W,setActive:w}),q(F),!z&&ce.current>y1&&le(!0),G&&!vn(F,D)&&G(I,F,W)}),he=Cn(I=>{const L=yn(I,P);if(le(!1),!L)return;const{newValue:F}=k({finger:L,move:!0});w(-1),I.type==="touchend"&&T(-1),h&&h(I,F),P.current=void 0,Le()}),Ee=Cn(I=>{if(r)return;_i()||I.preventDefault();const L=I.changedTouches[0];L!=null&&(P.current=L.identifier);const F=yn(I,P);if(F!==!1){const{newValue:Y,activeIndex:K}=k({finger:F});_n({sliderRef:we,activeIndex:K,setActive:w}),q(Y),G&&!vn(Y,D)&&G(I,Y,K)}ce.current=0;const W=pr(we.current);W.addEventListener("touchmove",te,{passive:!0}),W.addEventListener("touchend",he,{passive:!0})}),Le=N.useCallback(()=>{const I=pr(we.current);I.removeEventListener("mousemove",te),I.removeEventListener("mouseup",he),I.removeEventListener("touchmove",te),I.removeEventListener("touchend",he)},[he,te]);N.useEffect(()=>{const{current:I}=we;return I.addEventListener("touchstart",Ee,{passive:_i()}),()=>{I.removeEventListener("touchstart",Ee),Le()}},[Le,Ee]),N.useEffect(()=>{r&&Le()},[r,Le]);const Tt=I=>L=>{var F;if((F=I.onMouseDown)==null||F.call(I,L),r||L.defaultPrevented||L.button!==0)return;L.preventDefault();const W=yn(L,P);if(W!==!1){const{newValue:K,activeIndex:Ve}=k({finger:W});_n({sliderRef:we,activeIndex:Ve,setActive:w}),q(K),G&&!vn(K,D)&&G(L,K,Ve)}ce.current=0;const Y=pr(we.current);Y.addEventListener("mousemove",te,{passive:!0}),Y.addEventListener("mouseup",he)},je=zn(X?H[0]:u,u,l),Mt=zn(H[H.length-1],u,l)-je,Dt=(I={})=>{const L=An(I),F={onMouseDown:Tt(L||{})},W=M({},L,F);return M({},I,{ref:lt},W)},Rr=I=>L=>{var F;(F=I.onMouseOver)==null||F.call(I,L);const W=Number(L.currentTarget.getAttribute("data-index"));T(W)},Cr=I=>L=>{var F;(F=I.onMouseLeave)==null||F.call(I,L),T(-1)};return{active:C,axis:Je,axisProps:x1,dragging:z,focusedThumbIndex:_t,getHiddenInputProps:(I={})=>{var L;const F=An(I),W={onChange:Ft(F||{}),onFocus:He(F||{}),onBlur:Ue(F||{}),onKeyDown:ct(F||{})},Y=M({},F,W);return M({tabIndex:S,"aria-labelledby":t,"aria-orientation":m,"aria-valuemax":_(l),"aria-valuemin":_(u),name:c,type:"range",min:e.min,max:e.max,step:e.step===null&&e.marks?"any":(L=e.step)!=null?L:void 0,disabled:r},I,Y,{style:M({},hm,{direction:s?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:Dt,getThumbProps:(I={})=>{const L=An(I),F={onMouseOver:Rr(L||{}),onMouseLeave:Cr(L||{})};return M({},I,L,F)},marks:Se,open:A,range:X,rootRef:lt,trackLeap:Mt,trackOffset:je,values:H,getThumbStyle:I=>({pointerEvents:C!==-1&&C!==I?"none":void 0})}}const j1=e=>!e||!Ur(e);function R1(e){return nn("MuiSlider",e)}const Qe=Ki("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"]),C1=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=C1(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 A1=["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 P1=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}}]}}),T1=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}}]}),M1=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)})))}))]}}),I1=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)}`})}}))]}}),O1=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"}}]})),k1=Rt("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>To(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}}]})),E1=Rt("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>To(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}}]})),L1=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,R1,i)},$1=({children:e})=>e,ou=N.forwardRef(function(t,n){var r,a,s,i,l,u,c,d,h,m,v,_,y,p,S,j,P,C,w,A,T,z,le,ce;const D=Mo({props:t,name:"MuiSlider"}),q=vm(),{"aria-label":G,"aria-valuetext":X,"aria-labelledby":H,component:Se="span",components:ue={},componentsProps:ee={},color:Re="primary",classes:ke,className:nt,disableSwap:_t=!1,disabled:Ke=!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:k,slots:te,track:he="normal",valueLabelDisplay:Ee="off",valueLabelFormat:Le=vi}=D,Tt=Be(D,A1),je=M({},D,{isRtl:q,max:He,min:Ue,classes:ke,disabled:Ke,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:Dt,getHiddenInputProps:Rr,getThumbProps:Cr,open:Ar,active:er,axis:at,focusedThumbIndex:I,range:L,dragging:F,marks:W,values:Y,trackOffset:K,trackLeap:Ve,getThumbStyle:qe}=w1(M({},je,{rootRef:n}));je.marked=W.length>0&&W.some($=>$.label),je.dragging=F,je.focusedThumbIndex=I;const re=L1(je),$e=(r=(a=te==null?void 0:te.root)!=null?a:ue.Root)!=null?r:P1,It=(s=(i=te==null?void 0:te.rail)!=null?i:ue.Rail)!=null?s:T1,tr=(l=(u=te==null?void 0:te.track)!=null?u:ue.Track)!=null?l:M1,Pr=(c=(d=te==null?void 0:te.thumb)!=null?d:ue.Thumb)!=null?c:I1,bt=(h=(m=te==null?void 0:te.valueLabel)!=null?m:ue.ValueLabel)!=null?h:O1,Bt=(v=(_=te==null?void 0:te.mark)!=null?_:ue.Mark)!=null?v:k1,Ut=(y=(p=te==null?void 0:te.markLabel)!=null?p:ue.MarkLabel)!=null?y:E1,Tr=(S=(j=te==null?void 0:te.input)!=null?j:ue.Input)!=null?S:"input",Mr=(P=k==null?void 0:k.root)!=null?P:ee.root,un=(C=k==null?void 0:k.rail)!=null?C:ee.rail,Ir=(w=k==null?void 0:k.track)!=null?w:ee.track,rr=(A=k==null?void 0:k.thumb)!=null?A:ee.thumb,nr=(T=k==null?void 0:k.valueLabel)!=null?T:ee.valueLabel,_a=(z=k==null?void 0:k.mark)!=null?z:ee.mark,va=(le=k==null?void 0:k.markLabel)!=null?le:ee.markLabel,cn=(ce=k==null?void 0:k.input)!=null?ce:ee.input,dn=Ot({elementType:$e,getSlotProps:Dt,externalSlotProps:Mr,externalForwardedProps:Tt,additionalProps:M({},j1($e)&&{as:Se}),ownerState:M({},je,Mr==null?void 0:Mr.ownerState),className:[re.root,nt]}),ba=Ot({elementType:It,externalSlotProps:un,ownerState:je,className:re.rail}),xa=Ot({elementType:tr,externalSlotProps:Ir,additionalProps:{style:M({},Mt[at].offset(K),Mt[at].leap(Ve))},ownerState:M({},je,Ir==null?void 0:Ir.ownerState),className:re.track}),Or=Ot({elementType:Pr,getSlotProps:Cr,externalSlotProps:rr,ownerState:M({},je,rr==null?void 0:rr.ownerState),className:re.thumb}),Sa=Ot({elementType:bt,externalSlotProps:nr,ownerState:M({},je,nr==null?void 0:nr.ownerState),className:re.valueLabel}),g=Ot({elementType:Bt,externalSlotProps:_a,ownerState:je,className:re.mark}),R=Ot({elementType:Ut,externalSlotProps:va,ownerState:je,className:re.markLabel}),E=Ot({elementType:Tr,getSlotProps:Rr,externalSlotProps:cn,ownerState:je});return o.jsxs($e,M({},dn,{children:[o.jsx(It,M({},ba)),o.jsx(tr,M({},xa)),W.filter($=>$.value>=Ue&&$.value<=He).map(($,B)=>{const ne=zn($.value,Ue,He),V=Mt[at].offset(ne);let U;return he===!1?U=Y.indexOf($.value)!==-1:U=he==="normal"&&(L?$.value>=Y[0]&&$.value<=Y[Y.length-1]:$.value<=Y[0])||he==="inverted"&&(L?$.value<=Y[0]||$.value>=Y[Y.length-1]:$.value>=Y[0]),o.jsxs(N.Fragment,{children:[o.jsx(Bt,M({"data-index":B},g,!Ur(Bt)&&{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":B},R,!Ur(Ut)&&{markLabelActive:U},{style:M({},V,R.style),className:gt(re.markLabel,R.className,U&&re.markLabelActive),children:$.label})):null]},B)}),Y.map(($,B)=>{const ne=zn($,Ue,He),V=Mt[at].offset(ne),U=Ee==="off"?$1:bt;return o.jsx(U,M({},!Ur(U)&&{valueLabelFormat:Le,valueLabelDisplay:Ee,value:typeof Le=="function"?Le(Je($),B):Le,index:B,open:Ar===B||er===B||Ee==="on",disabled:Ke},Sa,{children:o.jsx(Pr,M({"data-index":B},Or,{className:gt(re.thumb,Or.className,er===B&&re.active,I===B&&re.focusVisible),style:M({},V,qe(B),Or.style),children:o.jsx(Tr,M({"data-index":B,"aria-label":we?we(B):G,"aria-valuenow":Je($),"aria-labelledby":H,"aria-valuetext":Pt?Pt(Je($),B):X,value:Y[B]},E))}))}),B)})]}))});process.env.NODE_ENV!=="production"&&(ou.propTypes={"aria-label":os(f.string,e=>Array.isArray(e.value||e.defaultValue)&&e["aria-label"]!=null?new Error("MUI: You need to use the `getAriaLabel` prop instead of `aria-label` when using a range slider."):null),"aria-labelledby":f.string,"aria-valuetext":os(f.string,e=>Array.isArray(e.value||e.defaultValue)&&e["aria-valuetext"]!=null?new Error("MUI: You need to use the `getAriaValueText` prop instead of `aria-valuetext` when using a range slider."):null),children:f.node,classes:f.object,className:f.string,color:f.oneOfType([f.oneOf(["primary","secondary","error","info","success","warning"]),f.string]),components:f.shape({Input:f.elementType,Mark:f.elementType,MarkLabel:f.elementType,Rail:f.elementType,Root:f.elementType,Thumb:f.elementType,Track:f.elementType,ValueLabel:f.elementType}),componentsProps:f.shape({input:f.oneOfType([f.func,f.object]),mark:f.oneOfType([f.func,f.object]),markLabel:f.oneOfType([f.func,f.object]),rail:f.oneOfType([f.func,f.object]),root:f.oneOfType([f.func,f.object]),thumb:f.oneOfType([f.func,f.object]),track:f.oneOfType([f.func,f.object]),valueLabel:f.oneOfType([f.func,f.shape({children:f.element,className:f.string,open:f.bool,style:f.object,value:f.number,valueLabelDisplay:f.oneOf(["auto","off","on"])})])}),defaultValue:f.oneOfType([f.arrayOf(f.number),f.number]),disabled:f.bool,disableSwap:f.bool,getAriaLabel:f.func,getAriaValueText:f.func,marks:f.oneOfType([f.arrayOf(f.shape({label:f.node,value:f.number.isRequired})),f.bool]),max:f.number,min:f.number,name:f.string,onChange:f.func,onChangeCommitted:f.func,orientation:f.oneOf(["horizontal","vertical"]),scale:f.func,shiftStep:f.number,size:f.oneOfType([f.oneOf(["small","medium"]),f.string]),slotProps:f.shape({input:f.oneOfType([f.func,f.object]),mark:f.oneOfType([f.func,f.object]),markLabel:f.oneOfType([f.func,f.object]),rail:f.oneOfType([f.func,f.object]),root:f.oneOfType([f.func,f.object]),thumb:f.oneOfType([f.func,f.object]),track:f.oneOfType([f.func,f.object]),valueLabel:f.oneOfType([f.func,f.shape({children:f.element,className:f.string,open:f.bool,style:f.object,value:f.number,valueLabelDisplay:f.oneOf(["auto","off","on"])})])}),slots:f.shape({input:f.elementType,mark:f.elementType,markLabel:f.elementType,rail:f.elementType,root:f.elementType,thumb:f.elementType,track:f.elementType,valueLabel:f.elementType}),step:f.number,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),tabIndex:f.number,track:f.oneOf(["inverted","normal",!1]),value:f.oneOfType([f.arrayOf(f.number),f.number]),valueLabelDisplay:f.oneOf(["auto","off","on"]),valueLabelFormat:f.oneOfType([f.func,f.string])});var N1="[object Number]";function F1(e){return typeof e=="number"||Kt(e)&&Yt(e)==N1}const su=Oe.observer(e=>{const t=O.useTheme(),n=e.valueLabelFormat||(a=>`${a}`);function r(a,s){s===e.velocity||!F1(s)||e.onVelocityChange(s)}return o.jsxs(o.Fragment,{children:[o.jsx(O.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=Oe.observer(({store:e})=>{const{t}=Xt.useTranslation(),n=Oe.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(O.Stack,{sx:{margin:"0px 20px",marginBottom:"6px"},children:o.jsx(O.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})})})}),D1=Oe.observer(({store:e,children:t})=>{var h,m,v,_,y,p,S,j,P;const{t:n}=Xt.useTranslation(),r=O.useTheme();function a(C,w){(w==="translate"||w==="rotate")&&e.setSelectedCartesianMotionType(w)}Io(()=>[e.selectedCoordSystemId,e.selectedTcpId],()=>{e.jogger.motionStream.motionStateSocket.changeUrl(e.jogger.nova.makeWebsocketURL(`/motion-groups/${e.jogger.motionGroupId}/state-stream?tcp=${e.selectedTcpId}&response_coordinate_system=${e.selectedCoordSystemId}`))},{fireImmediately:!0});async function s(C,w){const A=e.jogger.motionStream.rapidlyChangingMotionState.tcp_pose,T=e.jogger.motionStream.rapidlyChangingMotionState.state.joint_position;A&&await e.withMotionLock(async()=>{await e.jogger.runIncrementalCartesianMotion({currentTcpPose:A,currentJoints:T,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(Pg,{})},{id:"y",colors:(p=(y=(_=r.componentsExt)==null?void 0:_.JoggingCartesian)==null?void 0:y.Axis)==null?void 0:p.Y,icon:o.jsx(Mg,{})},{id:"z",colors:(P=(j=(S=r.componentsExt)==null?void 0:S.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(O.Stack,{flexGrow:1,gap:4,children:[o.jsxs(O.Stack,{children:[o.jsx(Lg,{store:e}),o.jsx(g1,{store:e})]}),o.jsx(O.Stack,{width:"80%",maxWidth:"296px",marginLeft:"auto",marginRight:"auto",marginTop:"8px",marginBottom:"8px",gap:"12px",children:o.jsxs(O.ToggleButtonGroup,{value:e.selectedCartesianMotionType,onChange:a,exclusive:!0,"aria-label":n("Jogging.Cartesian.MotionType.lb"),sx:{justifyContent:"center"},children:[o.jsx(O.ToggleButton,{value:"translate",children:n("Jogging.Cartesian.Translation.bt")}),o.jsx(O.ToggleButton,{value:"rotate",children:n("Jogging.Cartesian.Rotation.bt")})]})}),o.jsx(Gl,{store:e,children:o.jsxs(O.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(O.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(Eg,{}),o.jsx(O.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(O.Stack,{children:[o.jsx(ru,{store:e}),o.jsx(iu,{store:e}),t]})]})}),B1=Oe.observer(({store:e})=>{const t=Z.useRef(null);function n(){const{joints:r}=e.jogger.motionStream.rapidlyChangingMotionState.state.joint_position;return`[${r.map(a=>parseFloat(a.toFixed(4))).join(", ")}]`}return Sr(()=>{t.current&&(t.current.textContent=n())}),o.jsx(O.Stack,{alignItems:"left",spacing:2,sx:{padding:"16px","& label":{opacity:.7,fontSize:"12px",marginBottom:"4px"}},children:o.jsx(zl,{value:n(),ref:t})})}),U1=Oe.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(O.Stack,{flexGrow:1,justifyContent:"space-between",children:[o.jsx(B1,{store:e}),o.jsx(Gl,{store:e,children:o.jsx(O.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(O.Stack,{direction:"row",alignItems:"center",gap:2,children:[o.jsx(O.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(O.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 J1(e,t,n){t=="__proto__"&&bi?bi(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function V1(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 G1(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 z1=G1();function W1(e,t){return e&&z1(e,t,Do)}function K1(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 H1=K1(W1);function q1(e,t,n,r){return H1(e,function(a,s,i){t(r,a,n(a),i)}),r}var X1=1,Y1=2;function Z1(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,X1|Y1,r,d):h))return!1}}return!0}function lu(e){return e===e&&!Wt(e)}function Q1(e){for(var t=Do(e),n=t.length;n--;){var r=t[n],a=e[r];t[n]=[r,a,lu(a)]}return t}function uu(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function e_(e){var t=Q1(e);return t.length==1&&t[0][2]?uu(t[0][0],t[0][1]):function(n){return n===e||Z1(n,e,t)}}var t_=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r_=/^\w*$/;function Bo(e,t){if(pt(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||ia(e)?!0:r_.test(e)||!t_.test(e)||t!=null&&e in Object(t)}var n_="Expected a function";function Uo(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(n_);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 a_=500;function o_(e){var t=Uo(e,function(r){return n.size===a_&&n.clear(),r}),n=t.cache;return t}var s_=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i_=/\\(\\)?/g,l_=o_(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(s_,function(n,r,a,s){t.push(a?s.replace(i_,"$1"):r||n)}),t});function u_(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 c_=1/0,xi=$t?$t.prototype:void 0,Si=xi?xi.toString:void 0;function cu(e){if(typeof e=="string")return e;if(pt(e))return u_(e,cu)+"";if(ia(e))return Si?Si.call(e):"";var t=e+"";return t=="0"&&1/e==-c_?"-0":t}function du(e){return e==null?"":cu(e)}function mu(e,t){return pt(e)?e:Bo(e,t)?[e]:l_(du(e))}var d_=1/0;function ya(e){if(typeof e=="string"||ia(e))return e;var t=e+"";return t=="0"&&1/e==-d_?"-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 m_(e,t,n){var r=e==null?void 0:hu(e,t);return r===void 0?n:r}function h_(e,t){return e!=null&&t in Object(e)}function f_(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 g_(e,t){return e!=null&&f_(e,t,h_)}var p_=1,y_=2;function __(e,t){return Bo(e)&&lu(t)?uu(ya(e),t):function(n){var r=m_(n,e);return r===void 0&&r===t?g_(n,e):pa(t,r,p_|y_)}}function v_(e){return e}function b_(e){return function(t){return t==null?void 0:t[e]}}function x_(e){return function(t){return hu(t,e)}}function S_(e){return Bo(e)?b_(ya(e)):x_(e)}function w_(e){return typeof e=="function"?e:e==null?v_:typeof e=="object"?pt(e)?__(e[0],e[1]):e_(e):S_(e)}function j_(e,t){return function(n,r){var a=pt(n)?V1:q1,s={};return a(n,e,w_(r),s)}}var xn=j_(function(e,t,n){J1(e,n,t)}),R_=0;function C_(e){var t=++R_;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}],A_=[{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 A_}get discreteIncrementOptions(){return ho}get incrementOptionsById(){return xn(this.incrementOptions,t=>t.id)}get tabsById(){return xn(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 xn(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 xn(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=C_();this.locks.add(n);try{return await t()}finally{this.locks.delete(n)}}}const P_=on(Oe.observer(e=>{const t=po.isString(e.nova)?new Lt.NovaClient({instanceUrl:e.nova}):e.nova,n=Oe.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 Z.useEffect(()=>(r(),()=>{var a;(a=n.joggingStore)==null||a.dispose()}),[e.nova,e.motionGroupId]),Z.useEffect(()=>{const a=n.joggingStore;a&&(e.locked?a.locks.add("external"):a.locks.delete("external"))},[e.locked]),o.jsx(O.Stack,{sx:{maxWidth:"460px",minWidth:"350px",overflowY:"auto",position:"relative",height:"100%"},children:n.joggingStore?o.jsx(T_,{store:n.joggingStore,children:e.children}):o.jsx(ha,{message:"Loading jogging",error:n.loadingError})})})),T_=Oe.observer(({store:e,children:t})=>{Z.useEffect(()=>{function r(){e.deactivate()}function a(){e.activate()}return window.addEventListener("blur",r),window.addEventListener("focus",a),()=>{window.removeEventListener("blur",r),window.removeEventListener("focus",a)}}),Io(()=>[e.currentTab,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(D1,{store:e,children:t})});if(e.currentTab.id==="joint")return o.jsx(o.Fragment,{children:o.jsx(U1,{store:e,children:t})})}return o.jsxs(O.Stack,{flexGrow:1,height:"100%",children:[o.jsx(O.Tabs,{value:e.tabIndex,onChange:e.onTabChange,variant:"fullWidth",children:e.tabs.map(r=>o.jsx(O.Tab,{label:r.label,id:`jogging-tab-${r.id}`,"aria-controls":`jogging-tab-${r.id}`},r.id))}),o.jsx(O.Stack,{flexGrow:1,position:"relative",children:n()})]})});function M_(){const e=window.location.href;return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function I_({baseUrl:e=M_(),...t}){return o.jsxs(O.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(O.DialogTitle,{id:"no-motion-group-modal-title",children:"No motion group found"}),o.jsxs(O.DialogContent,{sx:{marginTop:"3rem",marginBottom:"1.5rem",textAlign:"center"},children:[o.jsx(O.Typography,{color:"#fff",children:"Found no devices to connect to."}),o.jsx(O.Typography,{color:"#fff",children:"Please ensure a motion group has been created."})]}),o.jsx(O.DialogActions,{children:o.jsxs(O.Stack,{width:"100%",maxWidth:"300px",margin:"auto",marginBottom:"2rem",children:[o.jsx(O.Button,{href:`${e}/settings`,variant:"contained",sx:{borderRadius:"8px",width:"100%"},children:"Go to settings app"}),o.jsx(O.Button,{href:`${e}`,variant:"text",sx:{marginTop:"1rem",color:"#fff",textDecoration:"underline",fontSize:"0.75rem"},children:"Back to Homescreen"})]})})]})}const O_=Array(6).fill(2*Math.PI);fu.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0]};function fu({modelURL:e,...t}){const n=Q.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=Q.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=Q.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]})]})})})})}pu.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function pu({modelURL:e,...t}){const n=Q.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]})]})})})}yu.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function yu({modelURL:e,...t}){const n=Q.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})]})]})]})})})}_u.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function _u({modelURL:e,...t}){const n=Q.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})]})]})]})})})}vu.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function vu({modelURL:e,...t}){const n=Q.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 k_({modelURL:e,...t}){const{nodes:n,materials:r}=Q.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})]})]})})}bu.config={rotationOffsets:[0,0,-Math.PI/2,0,0,0]};function bu({modelURL:e,...t}){const{nodes:n,materials:r}=Q.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=Q.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})]})})]})})})})}Su.config={rotationOffsets:[0,0,-Math.PI/2,0,0,0]};function Su({modelURL:e,...t}){const n=Q.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 E_({modelURL:e,...t}){const n=Q.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(b.animated.group,{name:"UNIVERSALROBOTS_UR10CB3_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_UR10CB3_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_UR10CB3_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_UR10CB3_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_UR10CB3_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_UR10CB3_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_UR10CB3_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 L_({modelURL:e,...t}){const n=Q.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 $_({modelURL:e,...t}){const n=Q.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 N_({modelURL:e,...t}){const n=Q.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(b.animated.group,{name:"UR3e",rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"UR3e_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"UR3e_J02",position:[0,.152,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"UR3e_J03",position:[-.244,0,0],children:[o.jsxs(b.animated.group,{name:"UR3e_J04",position:[-.213,0,0],children:[o.jsxs(b.animated.group,{name:"UR3e_J05",position:[0,.131,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"UR3e_J06",position:[0,.085,0],rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"UR3e_FLG",position:[0,.092,0]}),o.jsx("mesh",{name:"UR3e_L06",castShadow:!0,receiveShadow:!0,geometry:r.UR3e_L06.geometry,material:a.Standard})]}),o.jsx("mesh",{name:"UR3e_L05",castShadow:!0,receiveShadow:!0,geometry:r.UR3e_L05.geometry,material:a.Standard})]}),o.jsx("mesh",{name:"UR3e_L04",castShadow:!0,receiveShadow:!0,geometry:r.UR3e_L04.geometry,material:a.Standard})]}),o.jsx("mesh",{name:"UR3e_L03",castShadow:!0,receiveShadow:!0,geometry:r.UR3e_L03.geometry,material:a.Standard})]}),o.jsx("mesh",{name:"UR3e_L02",castShadow:!0,receiveShadow:!0,geometry:r.UR3e_L02.geometry,material:a.Standard})]}),o.jsx("mesh",{name:"UR3e_L01",castShadow:!0,receiveShadow:!0,geometry:r.UR3e_L01.geometry,material:a.Standard})]}),o.jsx("mesh",{name:"UR3e_L00",castShadow:!0,receiveShadow:!0,geometry:r.UR3e_L00.geometry,material:a.Standard,rotation:[-Math.PI/2,0,0]})]})})})})}function F_({modelURL:e,...t}){const n=Q.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:"UNIVERSALROBOTS_UR5CB3_J00",children:[o.jsxs(b.animated.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_UR5CB3_J01",position:[0,.089,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.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_UR5CB3_J02",position:[-.425,0,0],children:[o.jsxs(b.animated.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_UR5CB3_J03",position:[-.392,0,0],children:[o.jsxs(b.animated.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_UR5CB3_J04",position:[0,.109,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.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_UR5CB3_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(b.animated.group,{name:"UNIVERSALROBOTS_UR5CB3_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 D_({modelURL:e,...t}){const n=Q.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})]})})]})})})})}wu.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0],rotationSign:[1,-1,1,1,1,1]};function wu({modelURL:e,...t}){const n=Q.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]})]})})})})}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=Q.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]})]})})})}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=Q.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]})]})})})})}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=Q.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=Q.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]})]})})})})}Au.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0]};function Au({modelURL:e,...t}){const n=Q.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 B_="(^joint_[0-9]+$)|(_J[0-9]+$)";function Pu(e){return e.children.length===0?[e]:[e,...e.children.flatMap(t=>Pu(t))]}function U_(e,t){return new RegExp(t??B_).test(e)}function Tu(e,t){return Pu(e).filter(n=>U_(n.name,t))}function Mu({rapidlyChangingMotionState:e,jointCollector:t,onRotationChanged:n,robotConfig:r,children:a}){b.Globals.assign({frameLoop:"always"});const s=Z.useRef([]),i=Z.useRef([]),{invalidate:l}=Ju.useThree();function u(y){y&&(i.current=t?t(y):Tu(y),m(),l())}function c(y){s.current=y,_.start(Object.assign({},s.current))}const d=(r==null?void 0:r.rotationSign)||[1,1,1,1,1,1],h=(r==null?void 0:r.rotationOffsets)||[0,0,0,0,0,0];function m(){const y=i.current.map((p,S)=>v[S].get());if(n)n(i.current,y);else for(const[p,S]of i.current.entries())S.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 xt.Matrix4;function a(u,c){const d=new xt.Vector3,h=new xt.Quaternion,m=new xt.Vector3;r.decompose(d,h,m);const v=d.clone(),_=new xt.Matrix4().makeRotationY(u.theta+c*(u.reverse_rotation_direction?-1:1)).multiply(new xt.Matrix4().makeTranslation(0,u.d/1e3,0)).multiply(new xt.Matrix4().makeTranslation(u.a/1e3,0,0)).multiply(new xt.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 Tu(u,"^group_[0-9]+$")}return o.jsx(o.Fragment,{children:o.jsx(Mu,{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(Q.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 J_=console.warn;function V_(){return Z.useEffect(()=>{console.warn=e=>{e!=="Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"&&J_(e)}},[]),o.jsx(o.Fragment,{})}function Vo(e){return`https://cdn.jsdelivr.net/gh/wandelbotsgmbh/wandelbots-js-react-components/public/models/${e}.glb`}const Iu=on(({rapidlyChangingMotionState:e,modelFromController:t,dhParameters:n,getModel:r=Vo,isGhost:a=!1,...s})=>{let i=null;const l=Z.useRef(),u=Z.useCallback(h=>{h&&(l.current=h,a&&c())},[a]),c=()=>{!l.current||l.current.userData.isGhost||(l.current.traverse(h=>{if(h instanceof Te.Mesh){h.material instanceof Te.Material&&(h.material.colorWrite=!0);const m=h.clone(),v=h.clone();m.material=new Te.MeshStandardMaterial({depthTest:!0,depthWrite:!0,colorWrite:!1,polygonOffset:!0,polygonOffsetFactor:1}),m.userData.isGhost=!0,v.material=new Te.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 Te.Mesh&&((v=m.userData)!=null&&v.isGhost?h.push(m):m.material instanceof Te.Material&&(m.material.colorWrite=!0))}),h.forEach(m=>{m.parent&&m.parent.remove(m)}),l.current.userData.isGhost=!0};switch(Z.useEffect(()=>{a?c():d()},[a]),t){case"UniversalRobots_UR3":i=$_;break;case"UniversalRobots_UR3e":i=N_;break;case"UniversalRobots_UR5":i=F_;break;case"UniversalRobots_UR5e":i=D_;break;case"UniversalRobots_UR10":i=E_;break;case"UniversalRobots_UR10e":i=L_;break;case"Yaskawa_AR900":i=go;break;case"Yaskawa_GP7":i=go;break;case"Yaskawa_AR1440":i=wu;break;case"Yaskawa_AR1730":i=ju;break;case"Yaskawa_AR2010":i=Ru;break;case"Yaskawa_AR3120":i=Cu;break;case"Yaskawa_GP50":i=Au;break;case"FANUC_CRX10iA":i=pu;break;case"FANUC_CRX20iAL":i=yu;break;case"FANUC_CRX25iA":i=_u;break;case"FANUC_CRX25iAL":i=vu;break;case"FANUC_LRMATE_200ID":i=k_;break;case"FANUC_ARC_Mate_120iD":i=fo;break;case"FANUC_ARC_Mate_120iD35":i=fo;break;case"FANUC_ARC_Mate_100iD":i=gu;break;case"KUKA_KR210_R2700":i=xu;break;case"KUKA_KR270_R2700":i=Su;break;case"KUKA_KR16_R2010_2":i=bu;break;case"ABB_1200_07_7":i=fu;break;default:console.warn(`Unknown robot type: ${t}`),i=null}return o.jsxs(zu.ErrorBoundary,{fallback:o.jsx(Ja,{rapidlyChangingMotionState:e,dhParameters:n,...s}),children:[o.jsx(Z.Suspense,{fallback:o.jsx(Ja,{rapidlyChangingMotionState:e,dhParameters:n,...s}),children:o.jsx("group",{ref:u,children:i?o.jsx(Mu,{rapidlyChangingMotionState:e,robotConfig:i.config,children:o.jsx(i,{modelURL:r(t),...s})}):o.jsx(Ja,{rapidlyChangingMotionState:e,dhParameters:n})})}),o.jsx(V_,{})]})});function G_({connectedMotionGroup:e,getModel:t=Vo,isGhost:n=!1,...r}){return e.dhParameters?o.jsx(Iu,{rapidlyChangingMotionState:e.rapidlyChangingMotionState,modelFromController:e.modelFromController||"",dhParameters:e.dhParameters,getModel:t,isGhost:n,...r}):null}const z_=O.styled(O.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 W_({selected:e,...t}){return o.jsx(z_,{selected:e,...t,color:"secondary",variant:"circular"})}const K_={$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"},H_=Z.lazy(()=>import("@monaco-editor/react")),q_=on(e=>{const t=O.useTheme(),n=Z.useRef(null),[r,a]=Z.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:[K_],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(Z.Suspense,{fallback:o.jsx(ha,{}),children:o.jsx(H_,{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=O.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, 255, 255, 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()}}]},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 X_(){const e=Ou();return e.palette.mode="light",e}function Y_(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():X_()}exports.JoggingCartesianAxisControl=Qa;exports.JoggingJointRotationControl=yl;exports.JoggingPanel=P_;exports.LoadingCover=ha;exports.LoadingErrorMessage=Vl;exports.NoMotionGroupModal=I_;exports.PresetEnvironment=Hu;exports.Robot=G_;exports.SafetyZonesRenderer=Yu;exports.SelectableFab=W_;exports.SupportedRobot=Iu;exports.VelocitySlider=su;exports.WandelscriptEditor=q_;exports.createNovaMuiTheme=Y_;exports.defaultAxisConfig=O_;exports.defaultGetModel=Vo;exports.useAnimationFrame=Sr;exports.useAutorun=dl;exports.useMounted=sa;exports.useReaction=Io;
|
|
83
|
+
`+s):r.stack=s}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ht(this.defaults,n);const{transitional:r,paramsSerializer:a,headers:s}=n;r!==void 0&&oo.assertOptions(r,{silentJSONParsing:kt.transitional(kt.boolean),forcedJSONParsing:kt.transitional(kt.boolean),clarifyTimeoutError:kt.transitional(kt.boolean)},!1),a!=null&&(x.isFunction(a)?n.paramsSerializer={serialize:a}:oo.assertOptions(a,{encode:kt.function,serialize:kt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&x.merge(s.common,s[n.method]);s&&x.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)}};x.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}))}});x.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 Sg=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 wg(e){return function(n){return e.apply(null,n)}}function jg(e){return x.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 x.extend(n,Gt.prototype,t,{allOwnKeys:!0}),x.extend(n,t,null,{allOwnKeys:!0}),n.create=function(a){return Jl(Ht(e,a))},n}const xe=Jl(ln);xe.Axios=Gt;xe.CanceledError=jr;xe.CancelToken=Sg;xe.isCancel=kl;xe.VERSION=Bl;xe.toFormData=da;xe.AxiosError=J;xe.Cancel=xe.CanceledError;xe.all=function(t){return Promise.all(t)};xe.spread=wg;xe.isAxiosError=jg;xe.mergeConfig=Ht;xe.AxiosHeaders=Fe;xe.formToJSON=e=>Ol(x.isHTMLForm(e)?new FormData(e):e);xe.getAdapter=Dl.getAdapter;xe.HttpStatusCode=so;xe.default=xe;const{Axios:tv,AxiosError:Xs,CanceledError:rv,isCancel:nv,CancelToken:av,VERSION:ov,all:sv,Cancel:iv,isAxiosError:lv,spread:uv,toFormData:cv,AxiosHeaders:dv,HttpStatusCode:mv,formToJSON:hv,getAdapter:fv,mergeConfig:gv}=xe;function Rg(e){try{return JSON.stringify(e)}catch{return}}function Cg(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: ${Rg(e)||e}`}const ha=e=>{const t=e.softTimeout||3e3,[n,r]=Z.useState(!1);return Z.useEffect(()=>{const a=setTimeout(()=>{r(!0)},t);return()=>clearTimeout(a)}),o.jsx(O.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(O.CircularProgress,{sx:{marginBottom:"24px"}}),!!e.message&&o.jsx("div",{children:e.message}),o.jsx(O.Stack,{sx:{visibility:n?"visible":"hidden",marginTop:"1rem",color:"gray"},children:"This is taking longer than expected..."})]})})},Vl=e=>{const t=Cg(e.error),n=e.error instanceof Error?e.error.stack:null,r=O.useTheme();return o.jsxs(O.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(O.capitalize(e.loadingMessage))} - `:"")+t,o.jsx("br",{}),n&&o.jsx("pre",{children:n})]})},Ag=({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"})),Pg=Z.forwardRef(Ag),Tg=({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"})),Mg=Z.forwardRef(Tg),Ig=({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=Z.forwardRef(Ig),kg=({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"})),Eg=Z.forwardRef(kg),Ys=e=>o.jsx(O.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=Oe.observer(({store:e,children:t})=>{const{t:n}=Xt.useTranslation(),r=O.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(O.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(O.Stack,{sx:{position:"relative",padding:"6px"},children:[a(),t]})}),zl=Z.forwardRef(({label:e,value:t},n)=>o.jsxs(o.Fragment,{children:[e&&o.jsx(O.InputLabel,{children:e}),o.jsx(O.Chip,{ref:n,sx:{fontSize:"14px",opacity:.8,marginTop:"4px !important"},value:t})]})),Lg=Oe.observer(({store:e})=>{const t=Z.useRef(null);function n(){const r=e.jogger.motionStream.rapidlyChangingMotionState.tcp_pose;return r?Lt.poseToWandelscriptString(r):""}return Sr(()=>{t.current&&(t.current.textContent=n())}),o.jsx(O.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 $g(){this.__data__=[],this.size=0}function Wl(e,t){return e===t||e!==e&&t!==t}function fa(e,t){for(var n=e.length;n--;)if(Wl(e[n][0],t))return n;return-1}var Ng=Array.prototype,Fg=Ng.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():Fg.call(t,n,1),--this.size,!0}function Bg(e){var t=this.__data__,n=fa(t,e);return n<0?void 0:t[n][1]}function Ug(e){return fa(this.__data__,e)>-1}function Jg(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=$g;Ct.prototype.delete=Dg;Ct.prototype.get=Bg;Ct.prototype.has=Ug;Ct.prototype.set=Jg;function Vg(){this.__data__=new Ct,this.size=0}function Gg(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function zg(e){return this.__data__.get(e)}function Wg(e){return this.__data__.has(e)}var Kg="[object AsyncFunction]",Hg="[object Function]",qg="[object GeneratorFunction]",Xg="[object Proxy]";function Kl(e){if(!Wt(e))return!1;var t=Yt(e);return t==Hg||t==qg||t==Kg||t==Xg}var Da=yt["__core-js_shared__"],Zs=function(){var e=/[^.]+$/.exec(Da&&Da.keys&&Da.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Yg(e){return!!Zs&&Zs in e}var Zg=Function.prototype,Qg=Zg.toString;function Zt(e){if(e!=null){try{return Qg.call(e)}catch{}try{return e+""}catch{}}return""}var ep=/[\\^$.*+?()[\]{}|]/g,tp=/^\[object .+?Constructor\]$/,rp=Function.prototype,np=Object.prototype,ap=rp.toString,op=np.hasOwnProperty,sp=RegExp("^"+ap.call(op).replace(ep,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ip(e){if(!Wt(e)||Yg(e))return!1;var t=Kl(e)?sp:tp;return t.test(Zt(e))}function lp(e,t){return e==null?void 0:e[t]}function Qt(e,t){var n=lp(e,t);return ip(n)?n:void 0}var Xr=Qt(yt,"Map"),Yr=Qt(Object,"create");function up(){this.__data__=Yr?Yr(null):{},this.size=0}function cp(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var dp="__lodash_hash_undefined__",mp=Object.prototype,hp=mp.hasOwnProperty;function fp(e){var t=this.__data__;if(Yr){var n=t[e];return n===dp?void 0:n}return hp.call(t,e)?t[e]:void 0}var gp=Object.prototype,pp=gp.hasOwnProperty;function yp(e){var t=this.__data__;return Yr?t[e]!==void 0:pp.call(t,e)}var _p="__lodash_hash_undefined__";function vp(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Yr&&t===void 0?_p: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=up;qt.prototype.delete=cp;qt.prototype.get=fp;qt.prototype.has=yp;qt.prototype.set=vp;function bp(){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 Sp(e){var t=ga(this,e).delete(e);return this.size-=t?1:0,t}function wp(e){return ga(this,e).get(e)}function jp(e){return ga(this,e).has(e)}function Rp(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=bp;At.prototype.delete=Sp;At.prototype.get=wp;At.prototype.has=jp;At.prototype.set=Rp;var Cp=200;function Ap(e,t){var n=this.__data__;if(n instanceof Ct){var r=n.__data__;if(!Xr||r.length<Cp-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=Vg;wt.prototype.delete=Gg;wt.prototype.get=zg;wt.prototype.has=Wg;wt.prototype.set=Ap;var Pp="__lodash_hash_undefined__";function Tp(e){return this.__data__.set(e,Pp),this}function Mp(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=Tp;Gn.prototype.has=Mp;function Ip(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 kp=1,Ep=2;function Hl(e,t,n,r,a,s){var i=n&kp,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&Ep?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(!Ip(t,function(S,j){if(!Op(v,j)&&(_===S||a(_,S,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 Lp(e){var t=-1,n=Array(e.size);return e.forEach(function(r,a){n[++t]=[a,r]}),n}function $p(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var Np=1,Fp=2,Dp="[object Boolean]",Bp="[object Date]",Up="[object Error]",Jp="[object Map]",Vp="[object Number]",Gp="[object RegExp]",zp="[object Set]",Wp="[object String]",Kp="[object Symbol]",Hp="[object ArrayBuffer]",qp="[object DataView]",ei=$t?$t.prototype:void 0,Ba=ei?ei.valueOf:void 0;function Xp(e,t,n,r,a,s,i){switch(n){case qp:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Hp:return!(e.byteLength!=t.byteLength||!s(new Qs(e),new Qs(t)));case Dp:case Bp:case Vp:return Wl(+e,+t);case Up:return e.name==t.name&&e.message==t.message;case Gp:case Wp:return e==t+"";case Jp:var l=Lp;case zp:var u=r&Np;if(l||(l=$p),e.size!=t.size&&!u)return!1;var c=i.get(e);if(c)return c==t;r|=Fp,i.set(e,t);var d=Hl(l(e),l(t),r,a,s,i);return i.delete(e),d;case Kp:if(Ba)return Ba.call(e)==Ba.call(t)}return!1}function Yp(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 Zp(e,t,n){var r=t(e);return pt(e)?r:Yp(r,n(e))}function Qp(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 ey(){return[]}var ty=Object.prototype,ry=ty.propertyIsEnumerable,ti=Object.getOwnPropertySymbols,ny=ti?function(e){return e==null?[]:(e=Object(e),Qp(ti(e),function(t){return ry.call(e,t)}))}:ey;function ay(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var oy="[object Arguments]";function ri(e){return Kt(e)&&Yt(e)==oy}var ql=Object.prototype,sy=ql.hasOwnProperty,iy=ql.propertyIsEnumerable,Xl=ri(function(){return arguments}())?ri:function(e){return Kt(e)&&sy.call(e,"callee")&&!iy.call(e,"callee")};function ly(){return!1}var Yl=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ni=Yl&&typeof module=="object"&&module&&!module.nodeType&&module,uy=ni&&ni.exports===Yl,ai=uy?yt.Buffer:void 0,cy=ai?ai.isBuffer:void 0,io=cy||ly,dy=9007199254740991,my=/^(?:0|[1-9]\d*)$/;function Zl(e,t){var n=typeof e;return t=t??dy,!!t&&(n=="number"||n!="symbol"&&my.test(e))&&e>-1&&e%1==0&&e<t}var hy=9007199254740991;function Fo(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=hy}var fy="[object Arguments]",gy="[object Array]",py="[object Boolean]",yy="[object Date]",_y="[object Error]",vy="[object Function]",by="[object Map]",xy="[object Number]",Sy="[object Object]",wy="[object RegExp]",jy="[object Set]",Ry="[object String]",Cy="[object WeakMap]",Ay="[object ArrayBuffer]",Py="[object DataView]",Ty="[object Float32Array]",My="[object Float64Array]",Iy="[object Int8Array]",Oy="[object Int16Array]",ky="[object Int32Array]",Ey="[object Uint8Array]",Ly="[object Uint8ClampedArray]",$y="[object Uint16Array]",Ny="[object Uint32Array]",de={};de[Ty]=de[My]=de[Iy]=de[Oy]=de[ky]=de[Ey]=de[Ly]=de[$y]=de[Ny]=!0;de[fy]=de[gy]=de[Ay]=de[py]=de[Py]=de[yy]=de[_y]=de[vy]=de[by]=de[xy]=de[Sy]=de[wy]=de[jy]=de[Ry]=de[Cy]=!1;function Fy(e){return Kt(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,By=Vr&&Vr.exports===Ql,Ua=By&&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):Fy,Uy=Object.prototype,Jy=Uy.hasOwnProperty;function Vy(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?ay(e.length,String):[],u=l.length;for(var c in e)Jy.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 Gy=Object.prototype;function zy(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Gy;return e===n}function Wy(e,t){return function(n){return e(t(n))}}var Ky=Wy(Object.keys,Object),Hy=Object.prototype,qy=Hy.hasOwnProperty;function Xy(e){if(!zy(e))return Ky(e);var t=[];for(var n in Object(e))qy.call(e,n)&&n!="constructor"&&t.push(n);return t}function tu(e){return e!=null&&Fo(e.length)&&!Kl(e)}function Do(e){return tu(e)?Vy(e):Xy(e)}function ii(e){return Zp(e,Do,ny)}var Yy=1,Zy=Object.prototype,Qy=Zy.hasOwnProperty;function e1(e,t,n,r,a,s){var i=n&Yy,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:Qy.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 S=e[m],j=t[m];if(r)var P=i?r(j,S,m,t,e,s):r(S,j,m,e,t,s);if(!(P===void 0?S===j||a(S,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]",t1="[object Object]",ui="[object Promise]",ci="[object Set]",di="[object WeakMap]",mi="[object DataView]",r1=Zt(lo),n1=Zt(Xr),a1=Zt(uo),o1=Zt(co),s1=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==t1?e.constructor:void 0,r=n?Zt(n):"";if(r)switch(r){case r1:return mi;case n1:return li;case a1:return ui;case o1:return ci;case s1:return di}return t});var i1=1,hi="[object Arguments]",fi="[object Array]",pn="[object Object]",l1=Object.prototype,gi=l1.hasOwnProperty;function u1(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):Xp(e,t,u,n,r,a,s);if(!(n&i1)){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),e1(e,t,n,r,a,s)):!1}function pa(e,t,n,r,a){return e===t?!0:e==null||t==null||!Kt(e)&&!Kt(t)?e!==e&&t!==t:u1(e,t,n,r,pa,a)}function c1(e,t){return pa(e,t)}const ru=({store:e})=>{const{t}=Xt.useTranslation(),[n,r]=Z.useState(e.jogger.motionStream.rapidlyChangingMotionState.state.joint_limit_reached.limit_reached),a=Z.useRef(n);Sr(()=>{const i=e.jogger.motionStream.rapidlyChangingMotionState.state.joint_limit_reached.limit_reached;c1(a.current,i)||(a.current=i,r(i))});const s=[];for(const[i,l]of n.entries())l&&s.push(i);return o.jsx(O.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(", ")})})},d1=({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"})),m1=Z.forwardRef(d1),h1=({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"})),f1=Z.forwardRef(h1),g1=Oe.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(O.Stack,{direction:"row",alignItems:"center",spacing:2,sx:{padding:"6px 16px","& label":{opacity:.7,fontSize:"12px",marginBottom:"4px"}},children:[o.jsxs(O.Stack,{width:"50%",children:[o.jsx(O.InputLabel,{id:"jogging-coord-select",children:"Coordinate Sys."}),o.jsx(O.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(O.MenuItem,{value:a.coordinate_system,children:a.name||a.coordinate_system},a.coordinate_system))})]}),o.jsxs(O.Stack,{width:"50%",children:[o.jsx(O.InputLabel,{id:"jogging-tcp-select",children:"TCP"}),o.jsx(O.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(O.MenuItem,{value:a.id,children:a.id},a.id))})]})]}),o.jsxs(O.Stack,{direction:"row",alignItems:"center",spacing:2,sx:{padding:"6px 16px","& label":{opacity:.7,fontSize:"12px",marginBottom:"4px"}},children:[o.jsxs(O.Stack,{width:"50%",children:[o.jsx(O.InputLabel,{id:"orientation-select",children:t("Jogging.Cartesian.Orientation.lb")}),o.jsxs(O.ToggleButtonGroup,{value:e.selectedOrientation,onChange:n,exclusive:!0,"aria-labelledby":"orientation-select",disabled:e.isLocked,children:[o.jsx(O.ToggleButton,{value:"coordsys",sx:{flexGrow:1},children:o.jsx(m1,{})}),o.jsx(O.ToggleButton,{value:"tool",sx:{flexGrow:1},children:o.jsx(f1,{})})]})]}),o.jsxs(O.Stack,{width:"50%",children:[o.jsx(O.InputLabel,{id:"jogging-increment-select",children:"Increment"}),o.jsxs(O.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(O.MenuItem,{value:"continuous",children:t("Jogging.Increment.Continuous.dd")},"continuous"),e.selectedOrientation==="tool"?null:e.discreteIncrementOptions.map(a=>o.jsx(O.MenuItem,{value:a.id,children:e.currentMotionType==="translate"?`${a.mm}mm`:`${a.degrees}°`},a.id))]})]})]})]})});function p1(e,t,n=(r,a)=>r===a){return e.length===t.length&&e.every((r,a)=>n(r,t[a]))}const y1=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 _1(e,t,n){return(n-t)*e+t}function v1(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 b1(e,t,n){const r=Math.round((e-n)/t)*t+n;return Number(r.toFixed(v1(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"?p1(e,t):!1}const x1={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}%`})}},S1=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 w1(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:_=S1,step:y=1,shiftStep:p=10,tabIndex:S,value:j}=e,P=N.useRef(),[C,w]=N.useState(-1),[A,T]=N.useState(-1),[z,le]=N.useState(!1),ce=N.useRef(0),[D,q]=Zi({controlled:j,default:n??u,name:"Slider"}),G=d&&((I,L,F)=>{const W=I.nativeEvent||I,Y=new W.constructor(W.type,W);Object.defineProperty(Y,"target",{writable:!0,value:{value:L,name:c}}),d(Y,L,F)}),X=Array.isArray(D);let H=X?D.slice().sort(nu):[D];H=H.map(I=>I==null?u:mr(I,u,l));const Se=i===!0&&y!==null?[...Array(Math.floor((l-u)/y)+1)].map((I,L)=>({value:u+y*L})):i||[],ue=Se.map(I=>I.value),{isFocusVisibleRef:ee,onBlur:Re,onFocus:ke,ref:nt}=Qi(),[_t,Ke]=N.useState(-1),we=N.useRef(),Pt=Ln(nt,we),lt=Ln(v,Pt),He=I=>L=>{var F;const W=Number(L.currentTarget.getAttribute("data-index"));ke(L),ee.current===!0&&Ke(W),T(W),I==null||(F=I.onFocus)==null||F.call(I,L)},Ue=I=>L=>{var F;Re(L),ee.current===!1&&Ke(-1),T(-1),I==null||(F=I.onBlur)==null||F.call(I,L)},ut=(I,L)=>{const F=Number(I.currentTarget.getAttribute("data-index")),W=H[F],Y=ue.indexOf(W);let K=L;if(Se&&y==null){const Ve=ue[ue.length-1];K>Ve?K=Ve:K<ue[0]?K=ue[0]:K=K<W?ue[Y-1]:ue[Y+1]}if(K=mr(K,u,l),X){a&&(K=mr(K,H[F-1]||-1/0,H[F+1]||1/0));const Ve=K;K=yi({values:H,newValue:K,index:F});let qe=F;a||(qe=K.indexOf(Ve)),_n({sliderRef:we,activeIndex:qe})}q(K),Ke(F),G&&!vn(K,D)&&G(I,K,F),h&&h(I,K)},ct=I=>L=>{var F;if(y!==null){const W=Number(L.currentTarget.getAttribute("data-index")),Y=H[W];let K=null;(L.key==="ArrowLeft"||L.key==="ArrowDown")&&L.shiftKey||L.key==="PageDown"?K=Math.max(Y-p,u):((L.key==="ArrowRight"||L.key==="ArrowUp")&&L.shiftKey||L.key==="PageUp")&&(K=Math.min(Y+p,l)),K!==null&&(ut(L,K),L.preventDefault())}I==null||(F=I.onKeyDown)==null||F.call(I,L)};wo(()=>{if(r&&we.current.contains(document.activeElement)){var I;(I=document.activeElement)==null||I.blur()}},[r]),r&&C!==-1&&w(-1),r&&_t!==-1&&Ke(-1);const Ft=I=>L=>{var F;(F=I.onChange)==null||F.call(I,L),ut(L,L.target.valueAsNumber)},vt=N.useRef();let Je=m;s&&m==="horizontal"&&(Je+="-reverse");const k=({finger:I,move:L=!1})=>{const{current:F}=we,{width:W,height:Y,bottom:K,left:Ve}=F.getBoundingClientRect();let qe;Je.indexOf("vertical")===0?qe=(K-I.y)/Y:qe=(I.x-Ve)/W,Je.indexOf("-reverse")!==-1&&(qe=1-qe);let re;if(re=_1(qe,u,l),y)re=b1(re,y,u);else{const It=pi(ue,re);re=ue[It]}re=mr(re,u,l);let $e=0;if(X){L?$e=vt.current:$e=pi(H,re),a&&(re=mr(re,H[$e-1]||-1/0,H[$e+1]||1/0));const It=re;re=yi({values:H,newValue:re,index:$e}),a&&L||($e=re.indexOf(It),vt.current=$e)}return{newValue:re,activeIndex:$e}},te=Cn(I=>{const L=yn(I,P);if(!L)return;if(ce.current+=1,I.type==="mousemove"&&I.buttons===0){he(I);return}const{newValue:F,activeIndex:W}=k({finger:L,move:!0});_n({sliderRef:we,activeIndex:W,setActive:w}),q(F),!z&&ce.current>y1&&le(!0),G&&!vn(F,D)&&G(I,F,W)}),he=Cn(I=>{const L=yn(I,P);if(le(!1),!L)return;const{newValue:F}=k({finger:L,move:!0});w(-1),I.type==="touchend"&&T(-1),h&&h(I,F),P.current=void 0,Le()}),Ee=Cn(I=>{if(r)return;_i()||I.preventDefault();const L=I.changedTouches[0];L!=null&&(P.current=L.identifier);const F=yn(I,P);if(F!==!1){const{newValue:Y,activeIndex:K}=k({finger:F});_n({sliderRef:we,activeIndex:K,setActive:w}),q(Y),G&&!vn(Y,D)&&G(I,Y,K)}ce.current=0;const W=pr(we.current);W.addEventListener("touchmove",te,{passive:!0}),W.addEventListener("touchend",he,{passive:!0})}),Le=N.useCallback(()=>{const I=pr(we.current);I.removeEventListener("mousemove",te),I.removeEventListener("mouseup",he),I.removeEventListener("touchmove",te),I.removeEventListener("touchend",he)},[he,te]);N.useEffect(()=>{const{current:I}=we;return I.addEventListener("touchstart",Ee,{passive:_i()}),()=>{I.removeEventListener("touchstart",Ee),Le()}},[Le,Ee]),N.useEffect(()=>{r&&Le()},[r,Le]);const Tt=I=>L=>{var F;if((F=I.onMouseDown)==null||F.call(I,L),r||L.defaultPrevented||L.button!==0)return;L.preventDefault();const W=yn(L,P);if(W!==!1){const{newValue:K,activeIndex:Ve}=k({finger:W});_n({sliderRef:we,activeIndex:Ve,setActive:w}),q(K),G&&!vn(K,D)&&G(L,K,Ve)}ce.current=0;const Y=pr(we.current);Y.addEventListener("mousemove",te,{passive:!0}),Y.addEventListener("mouseup",he)},je=zn(X?H[0]:u,u,l),Mt=zn(H[H.length-1],u,l)-je,Dt=(I={})=>{const L=An(I),F={onMouseDown:Tt(L||{})},W=M({},L,F);return M({},I,{ref:lt},W)},Rr=I=>L=>{var F;(F=I.onMouseOver)==null||F.call(I,L);const W=Number(L.currentTarget.getAttribute("data-index"));T(W)},Cr=I=>L=>{var F;(F=I.onMouseLeave)==null||F.call(I,L),T(-1)};return{active:C,axis:Je,axisProps:x1,dragging:z,focusedThumbIndex:_t,getHiddenInputProps:(I={})=>{var L;const F=An(I),W={onChange:Ft(F||{}),onFocus:He(F||{}),onBlur:Ue(F||{}),onKeyDown:ct(F||{})},Y=M({},F,W);return M({tabIndex:S,"aria-labelledby":t,"aria-orientation":m,"aria-valuemax":_(l),"aria-valuemin":_(u),name:c,type:"range",min:e.min,max:e.max,step:e.step===null&&e.marks?"any":(L=e.step)!=null?L:void 0,disabled:r},I,Y,{style:M({},hm,{direction:s?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:Dt,getThumbProps:(I={})=>{const L=An(I),F={onMouseOver:Rr(L||{}),onMouseLeave:Cr(L||{})};return M({},I,L,F)},marks:Se,open:A,range:X,rootRef:lt,trackLeap:Mt,trackOffset:je,values:H,getThumbStyle:I=>({pointerEvents:C!==-1&&C!==I?"none":void 0})}}const j1=e=>!e||!Ur(e);function R1(e){return nn("MuiSlider",e)}const Qe=Ki("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"]),C1=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=C1(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 A1=["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 P1=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}}]}}),T1=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}}]}),M1=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)})))}))]}}),I1=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)}`})}}))]}}),O1=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"}}]})),k1=Rt("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>To(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}}]})),E1=Rt("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>To(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}}]})),L1=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,R1,i)},$1=({children:e})=>e,ou=N.forwardRef(function(t,n){var r,a,s,i,l,u,c,d,h,m,v,_,y,p,S,j,P,C,w,A,T,z,le,ce;const D=Mo({props:t,name:"MuiSlider"}),q=vm(),{"aria-label":G,"aria-valuetext":X,"aria-labelledby":H,component:Se="span",components:ue={},componentsProps:ee={},color:Re="primary",classes:ke,className:nt,disableSwap:_t=!1,disabled:Ke=!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:k,slots:te,track:he="normal",valueLabelDisplay:Ee="off",valueLabelFormat:Le=vi}=D,Tt=Be(D,A1),je=M({},D,{isRtl:q,max:He,min:Ue,classes:ke,disabled:Ke,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:Dt,getHiddenInputProps:Rr,getThumbProps:Cr,open:Ar,active:er,axis:at,focusedThumbIndex:I,range:L,dragging:F,marks:W,values:Y,trackOffset:K,trackLeap:Ve,getThumbStyle:qe}=w1(M({},je,{rootRef:n}));je.marked=W.length>0&&W.some($=>$.label),je.dragging=F,je.focusedThumbIndex=I;const re=L1(je),$e=(r=(a=te==null?void 0:te.root)!=null?a:ue.Root)!=null?r:P1,It=(s=(i=te==null?void 0:te.rail)!=null?i:ue.Rail)!=null?s:T1,tr=(l=(u=te==null?void 0:te.track)!=null?u:ue.Track)!=null?l:M1,Pr=(c=(d=te==null?void 0:te.thumb)!=null?d:ue.Thumb)!=null?c:I1,bt=(h=(m=te==null?void 0:te.valueLabel)!=null?m:ue.ValueLabel)!=null?h:O1,Bt=(v=(_=te==null?void 0:te.mark)!=null?_:ue.Mark)!=null?v:k1,Ut=(y=(p=te==null?void 0:te.markLabel)!=null?p:ue.MarkLabel)!=null?y:E1,Tr=(S=(j=te==null?void 0:te.input)!=null?j:ue.Input)!=null?S:"input",Mr=(P=k==null?void 0:k.root)!=null?P:ee.root,un=(C=k==null?void 0:k.rail)!=null?C:ee.rail,Ir=(w=k==null?void 0:k.track)!=null?w:ee.track,rr=(A=k==null?void 0:k.thumb)!=null?A:ee.thumb,nr=(T=k==null?void 0:k.valueLabel)!=null?T:ee.valueLabel,_a=(z=k==null?void 0:k.mark)!=null?z:ee.mark,va=(le=k==null?void 0:k.markLabel)!=null?le:ee.markLabel,cn=(ce=k==null?void 0:k.input)!=null?ce:ee.input,dn=Ot({elementType:$e,getSlotProps:Dt,externalSlotProps:Mr,externalForwardedProps:Tt,additionalProps:M({},j1($e)&&{as:Se}),ownerState:M({},je,Mr==null?void 0:Mr.ownerState),className:[re.root,nt]}),ba=Ot({elementType:It,externalSlotProps:un,ownerState:je,className:re.rail}),xa=Ot({elementType:tr,externalSlotProps:Ir,additionalProps:{style:M({},Mt[at].offset(K),Mt[at].leap(Ve))},ownerState:M({},je,Ir==null?void 0:Ir.ownerState),className:re.track}),Or=Ot({elementType:Pr,getSlotProps:Cr,externalSlotProps:rr,ownerState:M({},je,rr==null?void 0:rr.ownerState),className:re.thumb}),Sa=Ot({elementType:bt,externalSlotProps:nr,ownerState:M({},je,nr==null?void 0:nr.ownerState),className:re.valueLabel}),g=Ot({elementType:Bt,externalSlotProps:_a,ownerState:je,className:re.mark}),R=Ot({elementType:Ut,externalSlotProps:va,ownerState:je,className:re.markLabel}),E=Ot({elementType:Tr,getSlotProps:Rr,externalSlotProps:cn,ownerState:je});return o.jsxs($e,M({},dn,{children:[o.jsx(It,M({},ba)),o.jsx(tr,M({},xa)),W.filter($=>$.value>=Ue&&$.value<=He).map(($,B)=>{const ne=zn($.value,Ue,He),V=Mt[at].offset(ne);let U;return he===!1?U=Y.indexOf($.value)!==-1:U=he==="normal"&&(L?$.value>=Y[0]&&$.value<=Y[Y.length-1]:$.value<=Y[0])||he==="inverted"&&(L?$.value<=Y[0]||$.value>=Y[Y.length-1]:$.value>=Y[0]),o.jsxs(N.Fragment,{children:[o.jsx(Bt,M({"data-index":B},g,!Ur(Bt)&&{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":B},R,!Ur(Ut)&&{markLabelActive:U},{style:M({},V,R.style),className:gt(re.markLabel,R.className,U&&re.markLabelActive),children:$.label})):null]},B)}),Y.map(($,B)=>{const ne=zn($,Ue,He),V=Mt[at].offset(ne),U=Ee==="off"?$1:bt;return o.jsx(U,M({},!Ur(U)&&{valueLabelFormat:Le,valueLabelDisplay:Ee,value:typeof Le=="function"?Le(Je($),B):Le,index:B,open:Ar===B||er===B||Ee==="on",disabled:Ke},Sa,{children:o.jsx(Pr,M({"data-index":B},Or,{className:gt(re.thumb,Or.className,er===B&&re.active,I===B&&re.focusVisible),style:M({},V,qe(B),Or.style),children:o.jsx(Tr,M({"data-index":B,"aria-label":we?we(B):G,"aria-valuenow":Je($),"aria-labelledby":H,"aria-valuetext":Pt?Pt(Je($),B):X,value:Y[B]},E))}))}),B)})]}))});process.env.NODE_ENV!=="production"&&(ou.propTypes={"aria-label":os(f.string,e=>Array.isArray(e.value||e.defaultValue)&&e["aria-label"]!=null?new Error("MUI: You need to use the `getAriaLabel` prop instead of `aria-label` when using a range slider."):null),"aria-labelledby":f.string,"aria-valuetext":os(f.string,e=>Array.isArray(e.value||e.defaultValue)&&e["aria-valuetext"]!=null?new Error("MUI: You need to use the `getAriaValueText` prop instead of `aria-valuetext` when using a range slider."):null),children:f.node,classes:f.object,className:f.string,color:f.oneOfType([f.oneOf(["primary","secondary","error","info","success","warning"]),f.string]),components:f.shape({Input:f.elementType,Mark:f.elementType,MarkLabel:f.elementType,Rail:f.elementType,Root:f.elementType,Thumb:f.elementType,Track:f.elementType,ValueLabel:f.elementType}),componentsProps:f.shape({input:f.oneOfType([f.func,f.object]),mark:f.oneOfType([f.func,f.object]),markLabel:f.oneOfType([f.func,f.object]),rail:f.oneOfType([f.func,f.object]),root:f.oneOfType([f.func,f.object]),thumb:f.oneOfType([f.func,f.object]),track:f.oneOfType([f.func,f.object]),valueLabel:f.oneOfType([f.func,f.shape({children:f.element,className:f.string,open:f.bool,style:f.object,value:f.number,valueLabelDisplay:f.oneOf(["auto","off","on"])})])}),defaultValue:f.oneOfType([f.arrayOf(f.number),f.number]),disabled:f.bool,disableSwap:f.bool,getAriaLabel:f.func,getAriaValueText:f.func,marks:f.oneOfType([f.arrayOf(f.shape({label:f.node,value:f.number.isRequired})),f.bool]),max:f.number,min:f.number,name:f.string,onChange:f.func,onChangeCommitted:f.func,orientation:f.oneOf(["horizontal","vertical"]),scale:f.func,shiftStep:f.number,size:f.oneOfType([f.oneOf(["small","medium"]),f.string]),slotProps:f.shape({input:f.oneOfType([f.func,f.object]),mark:f.oneOfType([f.func,f.object]),markLabel:f.oneOfType([f.func,f.object]),rail:f.oneOfType([f.func,f.object]),root:f.oneOfType([f.func,f.object]),thumb:f.oneOfType([f.func,f.object]),track:f.oneOfType([f.func,f.object]),valueLabel:f.oneOfType([f.func,f.shape({children:f.element,className:f.string,open:f.bool,style:f.object,value:f.number,valueLabelDisplay:f.oneOf(["auto","off","on"])})])}),slots:f.shape({input:f.elementType,mark:f.elementType,markLabel:f.elementType,rail:f.elementType,root:f.elementType,thumb:f.elementType,track:f.elementType,valueLabel:f.elementType}),step:f.number,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),tabIndex:f.number,track:f.oneOf(["inverted","normal",!1]),value:f.oneOfType([f.arrayOf(f.number),f.number]),valueLabelDisplay:f.oneOf(["auto","off","on"]),valueLabelFormat:f.oneOfType([f.func,f.string])});var N1="[object Number]";function F1(e){return typeof e=="number"||Kt(e)&&Yt(e)==N1}const su=Oe.observer(e=>{const t=O.useTheme(),n=e.valueLabelFormat||(a=>`${a}`);function r(a,s){s===e.velocity||!F1(s)||e.onVelocityChange(s)}return o.jsxs(o.Fragment,{children:[o.jsx(O.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=Oe.observer(({store:e})=>{const{t}=Xt.useTranslation(),n=Oe.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(O.Stack,{sx:{margin:"0px 20px",marginBottom:"6px"},children:o.jsx(O.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})})})}),D1=Oe.observer(({store:e,children:t})=>{var h,m,v,_,y,p,S,j,P;const{t:n}=Xt.useTranslation(),r=O.useTheme();function a(C,w){(w==="translate"||w==="rotate")&&e.setSelectedCartesianMotionType(w)}Io(()=>[e.selectedCoordSystemId,e.selectedTcpId],()=>{e.jogger.motionStream.motionStateSocket.changeUrl(e.jogger.nova.makeWebsocketURL(`/motion-groups/${e.jogger.motionGroupId}/state-stream?tcp=${e.selectedTcpId}&response_coordinate_system=${e.selectedCoordSystemId}`))},{fireImmediately:!0});async function s(C,w){const A=e.jogger.motionStream.rapidlyChangingMotionState.tcp_pose,T=e.jogger.motionStream.rapidlyChangingMotionState.state.joint_position;A&&await e.withMotionLock(async()=>{await e.jogger.runIncrementalCartesianMotion({currentTcpPose:A,currentJoints:T,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(Pg,{})},{id:"y",colors:(p=(y=(_=r.componentsExt)==null?void 0:_.JoggingCartesian)==null?void 0:y.Axis)==null?void 0:p.Y,icon:o.jsx(Mg,{})},{id:"z",colors:(P=(j=(S=r.componentsExt)==null?void 0:S.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(O.Stack,{flexGrow:1,gap:4,children:[o.jsxs(O.Stack,{children:[o.jsx(Lg,{store:e}),o.jsx(g1,{store:e})]}),o.jsx(O.Stack,{width:"80%",maxWidth:"296px",marginLeft:"auto",marginRight:"auto",marginTop:"8px",marginBottom:"8px",gap:"12px",children:o.jsxs(O.ToggleButtonGroup,{value:e.selectedCartesianMotionType,onChange:a,exclusive:!0,"aria-label":n("Jogging.Cartesian.MotionType.lb"),sx:{justifyContent:"center"},children:[o.jsx(O.ToggleButton,{value:"translate",children:n("Jogging.Cartesian.Translation.bt")}),o.jsx(O.ToggleButton,{value:"rotate",children:n("Jogging.Cartesian.Rotation.bt")})]})}),o.jsx(Gl,{store:e,children:o.jsxs(O.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(O.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(Eg,{}),o.jsx(O.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(O.Stack,{children:[o.jsx(ru,{store:e}),o.jsx(iu,{store:e}),t]})]})}),B1=Oe.observer(({store:e})=>{const t=Z.useRef(null);function n(){const{joints:r}=e.jogger.motionStream.rapidlyChangingMotionState.state.joint_position;return`[${r.map(a=>parseFloat(a.toFixed(4))).join(", ")}]`}return Sr(()=>{t.current&&(t.current.textContent=n())}),o.jsx(O.Stack,{alignItems:"left",spacing:2,sx:{padding:"16px","& label":{opacity:.7,fontSize:"12px",marginBottom:"4px"}},children:o.jsx(zl,{value:n(),ref:t})})}),U1=Oe.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(O.Stack,{flexGrow:1,justifyContent:"space-between",children:[o.jsx(B1,{store:e}),o.jsx(Gl,{store:e,children:o.jsx(O.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(O.Stack,{direction:"row",alignItems:"center",gap:2,children:[o.jsx(O.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(O.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 J1(e,t,n){t=="__proto__"&&bi?bi(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function V1(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 G1(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 z1=G1();function W1(e,t){return e&&z1(e,t,Do)}function K1(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 H1=K1(W1);function q1(e,t,n,r){return H1(e,function(a,s,i){t(r,a,n(a),i)}),r}var X1=1,Y1=2;function Z1(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,X1|Y1,r,d):h))return!1}}return!0}function lu(e){return e===e&&!Wt(e)}function Q1(e){for(var t=Do(e),n=t.length;n--;){var r=t[n],a=e[r];t[n]=[r,a,lu(a)]}return t}function uu(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function e_(e){var t=Q1(e);return t.length==1&&t[0][2]?uu(t[0][0],t[0][1]):function(n){return n===e||Z1(n,e,t)}}var t_=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r_=/^\w*$/;function Bo(e,t){if(pt(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||ia(e)?!0:r_.test(e)||!t_.test(e)||t!=null&&e in Object(t)}var n_="Expected a function";function Uo(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(n_);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 a_=500;function o_(e){var t=Uo(e,function(r){return n.size===a_&&n.clear(),r}),n=t.cache;return t}var s_=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i_=/\\(\\)?/g,l_=o_(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(s_,function(n,r,a,s){t.push(a?s.replace(i_,"$1"):r||n)}),t});function u_(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 c_=1/0,xi=$t?$t.prototype:void 0,Si=xi?xi.toString:void 0;function cu(e){if(typeof e=="string")return e;if(pt(e))return u_(e,cu)+"";if(ia(e))return Si?Si.call(e):"";var t=e+"";return t=="0"&&1/e==-c_?"-0":t}function du(e){return e==null?"":cu(e)}function mu(e,t){return pt(e)?e:Bo(e,t)?[e]:l_(du(e))}var d_=1/0;function ya(e){if(typeof e=="string"||ia(e))return e;var t=e+"";return t=="0"&&1/e==-d_?"-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 m_(e,t,n){var r=e==null?void 0:hu(e,t);return r===void 0?n:r}function h_(e,t){return e!=null&&t in Object(e)}function f_(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 g_(e,t){return e!=null&&f_(e,t,h_)}var p_=1,y_=2;function __(e,t){return Bo(e)&&lu(t)?uu(ya(e),t):function(n){var r=m_(n,e);return r===void 0&&r===t?g_(n,e):pa(t,r,p_|y_)}}function v_(e){return e}function b_(e){return function(t){return t==null?void 0:t[e]}}function x_(e){return function(t){return hu(t,e)}}function S_(e){return Bo(e)?b_(ya(e)):x_(e)}function w_(e){return typeof e=="function"?e:e==null?v_:typeof e=="object"?pt(e)?__(e[0],e[1]):e_(e):S_(e)}function j_(e,t){return function(n,r){var a=pt(n)?V1:q1,s={};return a(n,e,w_(r),s)}}var xn=j_(function(e,t,n){J1(e,n,t)}),R_=0;function C_(e){var t=++R_;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}],A_=[{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 A_}get discreteIncrementOptions(){return ho}get incrementOptionsById(){return xn(this.incrementOptions,t=>t.id)}get tabsById(){return xn(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 xn(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 xn(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=C_();this.locks.add(n);try{return await t()}finally{this.locks.delete(n)}}}const P_=on(Oe.observer(e=>{const t=po.isString(e.nova)?new Lt.NovaClient({instanceUrl:e.nova}):e.nova,n=Oe.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 Z.useEffect(()=>(r(),()=>{var a;(a=n.joggingStore)==null||a.dispose()}),[e.nova,e.motionGroupId]),Z.useEffect(()=>{const a=n.joggingStore;a&&(e.locked?a.locks.add("external"):a.locks.delete("external"))},[e.locked]),o.jsx(O.Stack,{sx:{maxWidth:"460px",minWidth:"350px",overflowY:"auto",position:"relative",height:"100%"},children:n.joggingStore?o.jsx(T_,{store:n.joggingStore,children:e.children}):o.jsx(ha,{message:"Loading jogging",error:n.loadingError})})})),T_=Oe.observer(({store:e,children:t})=>{Z.useEffect(()=>{function r(){e.deactivate()}function a(){e.activate()}return window.addEventListener("blur",r),window.addEventListener("focus",a),()=>{window.removeEventListener("blur",r),window.removeEventListener("focus",a)}}),Io(()=>[e.currentTab,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(D1,{store:e,children:t})});if(e.currentTab.id==="joint")return o.jsx(o.Fragment,{children:o.jsx(U1,{store:e,children:t})})}return o.jsxs(O.Stack,{flexGrow:1,height:"100%",children:[o.jsx(O.Tabs,{value:e.tabIndex,onChange:e.onTabChange,variant:"fullWidth",children:e.tabs.map(r=>o.jsx(O.Tab,{label:r.label,id:`jogging-tab-${r.id}`,"aria-controls":`jogging-tab-${r.id}`},r.id))}),o.jsx(O.Stack,{flexGrow:1,position:"relative",children:n()})]})});function M_(){const e=window.location.href;return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function I_({baseUrl:e=M_(),...t}){return o.jsxs(O.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(O.DialogTitle,{id:"no-motion-group-modal-title",children:"No motion group found"}),o.jsxs(O.DialogContent,{sx:{marginTop:"3rem",marginBottom:"1.5rem",textAlign:"center"},children:[o.jsx(O.Typography,{color:"#fff",children:"Found no devices to connect to."}),o.jsx(O.Typography,{color:"#fff",children:"Please ensure a motion group has been created."})]}),o.jsx(O.DialogActions,{children:o.jsxs(O.Stack,{width:"100%",maxWidth:"300px",margin:"auto",marginBottom:"2rem",children:[o.jsx(O.Button,{href:`${e}/settings`,variant:"contained",sx:{borderRadius:"8px",width:"100%"},children:"Go to settings app"}),o.jsx(O.Button,{href:`${e}`,variant:"text",sx:{marginTop:"1rem",color:"#fff",textDecoration:"underline",fontSize:"0.75rem"},children:"Back to Homescreen"})]})})]})}const O_=Array(6).fill(2*Math.PI);fu.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0]};function fu({modelURL:e,...t}){const n=Q.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=Q.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=Q.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]})]})})})})}pu.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function pu({modelURL:e,...t}){const n=Q.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]})]})})})}yu.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function yu({modelURL:e,...t}){const n=Q.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})]})]})]})})})}_u.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function _u({modelURL:e,...t}){const n=Q.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})]})]})]})})})}vu.config={rotationOffsets:[0,Math.PI/2,0,0,0,0]};function vu({modelURL:e,...t}){const n=Q.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 k_({modelURL:e,...t}){const{nodes:n,materials:r}=Q.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})]})]})})}bu.config={rotationOffsets:[0,0,-Math.PI/2,0,0,0]};function bu({modelURL:e,...t}){const{nodes:n,materials:r}=Q.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=Q.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})]})})]})})})})}Su.config={rotationOffsets:[0,0,-Math.PI/2,0,0,0]};function Su({modelURL:e,...t}){const n=Q.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 E_({modelURL:e,...t}){const n=Q.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(b.animated.group,{name:"UNIVERSALROBOTS_UR10CB3_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_UR10CB3_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_UR10CB3_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_UR10CB3_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_UR10CB3_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_UR10CB3_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_UR10CB3_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 L_({modelURL:e,...t}){const n=Q.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 $_({modelURL:e,...t}){const n=Q.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 N_({modelURL:e,...t}){const n=Q.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(b.animated.group,{name:"UR3e",rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"UR3e_J01",rotation:[-Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"UR3e_J02",position:[0,.152,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"UR3e_J03",position:[-.244,0,0],children:[o.jsxs(b.animated.group,{name:"UR3e_J04",position:[-.213,0,0],children:[o.jsxs(b.animated.group,{name:"UR3e_J05",position:[0,.131,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.group,{name:"UR3e_J06",position:[0,.085,0],rotation:[-Math.PI/2,0,0],children:[o.jsx("group",{name:"UR3e_FLG",position:[0,.092,0]}),o.jsx("mesh",{name:"UR3e_L06",castShadow:!0,receiveShadow:!0,geometry:r.UR3e_L06.geometry,material:a.Standard})]}),o.jsx("mesh",{name:"UR3e_L05",castShadow:!0,receiveShadow:!0,geometry:r.UR3e_L05.geometry,material:a.Standard})]}),o.jsx("mesh",{name:"UR3e_L04",castShadow:!0,receiveShadow:!0,geometry:r.UR3e_L04.geometry,material:a.Standard})]}),o.jsx("mesh",{name:"UR3e_L03",castShadow:!0,receiveShadow:!0,geometry:r.UR3e_L03.geometry,material:a.Standard})]}),o.jsx("mesh",{name:"UR3e_L02",castShadow:!0,receiveShadow:!0,geometry:r.UR3e_L02.geometry,material:a.Standard})]}),o.jsx("mesh",{name:"UR3e_L01",castShadow:!0,receiveShadow:!0,geometry:r.UR3e_L01.geometry,material:a.Standard})]}),o.jsx("mesh",{name:"UR3e_L00",castShadow:!0,receiveShadow:!0,geometry:r.UR3e_L00.geometry,material:a.Standard,rotation:[-Math.PI/2,0,0]})]})})})})}function F_({modelURL:e,...t}){const n=Q.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:"UNIVERSALROBOTS_UR5CB3_J00",children:[o.jsxs(b.animated.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_UR5CB3_J01",position:[0,.089,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.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_UR5CB3_J02",position:[-.425,0,0],children:[o.jsxs(b.animated.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_UR5CB3_J03",position:[-.392,0,0],children:[o.jsxs(b.animated.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_UR5CB3_J04",position:[0,.109,0],rotation:[Math.PI/2,0,0],children:[o.jsxs(b.animated.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_UR5CB3_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(b.animated.group,{name:"UNIVERSALROBOTS_UR5CB3_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 D_({modelURL:e,...t}){const n=Q.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})]})})]})})})})}wu.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0],rotationSign:[1,-1,1,1,1,1]};function wu({modelURL:e,...t}){const n=Q.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]})]})})})})}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=Q.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]})]})})})}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=Q.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]})]})})})})}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=Q.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=Q.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]})]})})})})}Au.config={rotationOffsets:[0,-Math.PI/2,0,0,0,0]};function Au({modelURL:e,...t}){const n=Q.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 B_="(^joint_[0-9]+$)|(_J[0-9]+$)";function Pu(e){return e.children.length===0?[e]:[e,...e.children.flatMap(t=>Pu(t))]}function U_(e,t){return new RegExp(t??B_).test(e)}function Tu(e,t){return Pu(e).filter(n=>U_(n.name,t))}function Mu({rapidlyChangingMotionState:e,jointCollector:t,onRotationChanged:n,robotConfig:r,children:a}){b.Globals.assign({frameLoop:"always"});const s=Z.useRef([]),i=Z.useRef([]),{invalidate:l}=Ju.useThree();function u(y){y&&(i.current=t?t(y):Tu(y),m(),l())}function c(y){s.current=y,_.start(Object.assign({},s.current))}const d=(r==null?void 0:r.rotationSign)||[1,1,1,1,1,1],h=(r==null?void 0:r.rotationOffsets)||[0,0,0,0,0,0];function m(){const y=i.current.map((p,S)=>v[S].get());if(n)n(i.current,y);else for(const[p,S]of i.current.entries())S.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 xt.Matrix4;function a(u,c){const d=new xt.Vector3,h=new xt.Quaternion,m=new xt.Vector3;r.decompose(d,h,m);const v=d.clone(),_=new xt.Matrix4().makeRotationY(u.theta+c*(u.reverse_rotation_direction?-1:1)).multiply(new xt.Matrix4().makeTranslation(0,u.d/1e3,0)).multiply(new xt.Matrix4().makeTranslation(u.a/1e3,0,0)).multiply(new xt.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 Tu(u,"^group_[0-9]+$")}return o.jsx(o.Fragment,{children:o.jsx(Mu,{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(Q.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 J_=console.warn;function V_(){return Z.useEffect(()=>{console.warn=e=>{e!=="Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"&&J_(e)}},[]),o.jsx(o.Fragment,{})}function Vo(e){return`https://cdn.jsdelivr.net/gh/wandelbotsgmbh/wandelbots-js-react-components/public/models/${e}.glb`}const Iu=on(({rapidlyChangingMotionState:e,modelFromController:t,dhParameters:n,getModel:r=Vo,isGhost:a=!1,...s})=>{let i=null;const l=Z.useRef(),u=Z.useCallback(h=>{h&&(l.current=h,a&&c())},[a]),c=()=>{!l.current||l.current.userData.isGhost||(l.current.traverse(h=>{if(h instanceof Te.Mesh){h.material instanceof Te.Material&&(h.material.colorWrite=!0);const m=h.clone(),v=h.clone();m.material=new Te.MeshStandardMaterial({depthTest:!0,depthWrite:!0,colorWrite:!1,polygonOffset:!0,polygonOffsetFactor:1}),m.userData.isGhost=!0,v.material=new Te.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 Te.Mesh&&((v=m.userData)!=null&&v.isGhost?h.push(m):m.material instanceof Te.Material&&(m.material.colorWrite=!0))}),h.forEach(m=>{m.parent&&m.parent.remove(m)}),l.current.userData.isGhost=!0};switch(Z.useEffect(()=>{a?c():d()},[a]),t){case"UniversalRobots_UR3":i=$_;break;case"UniversalRobots_UR3e":i=N_;break;case"UniversalRobots_UR5":i=F_;break;case"UniversalRobots_UR5e":i=D_;break;case"UniversalRobots_UR10":i=E_;break;case"UniversalRobots_UR10e":i=L_;break;case"Yaskawa_AR900":i=go;break;case"Yaskawa_GP7":i=go;break;case"Yaskawa_AR1440":i=wu;break;case"Yaskawa_AR1730":i=ju;break;case"Yaskawa_AR2010":i=Ru;break;case"Yaskawa_AR3120":i=Cu;break;case"Yaskawa_GP50":i=Au;break;case"FANUC_CRX10iA":i=pu;break;case"FANUC_CRX20iAL":i=yu;break;case"FANUC_CRX25iA":i=_u;break;case"FANUC_CRX25iAL":i=vu;break;case"FANUC_LRMATE_200ID":i=k_;break;case"FANUC_ARC_Mate_120iD":i=fo;break;case"FANUC_ARC_Mate_120iD35":i=fo;break;case"FANUC_ARC_Mate_100iD":i=gu;break;case"KUKA_KR210_R2700":i=xu;break;case"KUKA_KR270_R2700":i=Su;break;case"KUKA_KR16_R2010_2":i=bu;break;case"ABB_1200_07_7":i=fu;break;default:console.warn(`Unknown robot type: ${t}`),i=null}return o.jsxs(zu.ErrorBoundary,{fallback:o.jsx(Ja,{rapidlyChangingMotionState:e,dhParameters:n,...s}),children:[o.jsx(Z.Suspense,{fallback:o.jsx(Ja,{rapidlyChangingMotionState:e,dhParameters:n,...s}),children:o.jsx("group",{ref:u,children:i?o.jsx(Mu,{rapidlyChangingMotionState:e,robotConfig:i.config,children:o.jsx(i,{modelURL:r(t),...s})}):o.jsx(Ja,{rapidlyChangingMotionState:e,dhParameters:n})})}),o.jsx(V_,{})]})});function G_({connectedMotionGroup:e,getModel:t=Vo,isGhost:n=!1,...r}){return e.dhParameters?o.jsx(Iu,{rapidlyChangingMotionState:e.rapidlyChangingMotionState,modelFromController:e.modelFromController||"",dhParameters:e.dhParameters,getModel:t,isGhost:n,...r}):null}const z_=O.styled(O.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 W_({selected:e,...t}){return o.jsx(z_,{selected:e,...t,color:"secondary",variant:"circular"})}const K_={$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"},H_=Z.lazy(()=>import("@monaco-editor/react")),q_=on(e=>{const t=O.useTheme(),n=Z.useRef(null),[r,a]=Z.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:[K_],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(Z.Suspense,{fallback:o.jsx(ha,{}),children:o.jsx(H_,{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=O.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 X_(){const e=Ou();return e.palette.mode="light",e}function Y_(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():X_()}exports.JoggingCartesianAxisControl=Qa;exports.JoggingJointRotationControl=yl;exports.JoggingPanel=P_;exports.LoadingCover=ha;exports.LoadingErrorMessage=Vl;exports.NoMotionGroupModal=I_;exports.PresetEnvironment=Hu;exports.Robot=G_;exports.SafetyZonesRenderer=Yu;exports.SelectableFab=W_;exports.SupportedRobot=Iu;exports.VelocitySlider=su;exports.WandelscriptEditor=q_;exports.createNovaMuiTheme=Y_;exports.defaultAxisConfig=O_;exports.defaultGetModel=Vo;exports.useAnimationFrame=Sr;exports.useAutorun=dl;exports.useMounted=sa;exports.useReaction=Io;
|
|
84
84
|
//# sourceMappingURL=index.cjs.map
|