PageSourceSearch

https://app.foxglove.dev/.assets/2432.7205cfedcb320e8400ba.js

js foxglove.dev collected 2026-09-24 15:29:44 UTC 58,804 bytes, 11 lines download raw bytes

1(()=>{(function(){try{var ne=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};ne.SENTRY_RELEASE={id:"61452baeb3a610d0c12922600661bb5199f4e61a"}}catch{}})();(self.webpackChunk=self.webpackChunk||[]).push([[2432],{3644(ne,D,j){"use strict";j.d(D,{A:()=>_});function z(d,g,a){var b=-1,v=d.length;g<0&&(g=-g>v?0:v+g),a=a>v?v:a,a<0&&(a+=v),v=g>a?0:a-g>>>0,g>>>=0;for(var h=Array(v);++b<v;)h[b]=d[b+g];return h}const _=z},6859(ne,D){"use strict";Object.defineProperty(D,"__esModule",{value:!0}),D.isMsgDefFieldEqual=z,D.isMsgDefEqual=_;function j(d,g){if(Array.isArray(d)&&Array.isArray(g)){if(d.length!==g.length)return!1;for(let a=0;a<d.length;a++)if(d[a]!==g[a])return!1;return!0}return d===g}function z(d,g){return d.type===g.type&&d.name===g.name&&(d.isComplex??!1)===(g.isComplex??!1)&&d.enumType===g.enumType&&(d.isArray??!1)===(g.isArray??!1)&&d.arrayLength===g.arrayLength&&(d.isConstant??!1)===(g.isConstant??!1)&&d.value===g.value&&d.valueText===g.valueText&&d.upperBound===g.upperBound&&d.arrayUpperBound===g.arrayUpperBound&&(d.deprecated??!1)===(g.deprecated??!1)&&j(d.defaultValue,g.defaultValue)}function _(d,g){return(d.name==null||g.name==null||d.name===g.name)&&d.definitions.length===g.definitions.length&&d.definitions.every((a,b)=>z(a,g.definitions[b]))}},7964(ne,D,j){"use strict";j.d(D,{A:()=>y});var z=j(12533),_=j(51332),d=j(84949),g=j(92181),a=j(13875),b=j(74637),v=j(73060),h=j(54750),s=j(40345),m=j(34609);function L(r,n,f){var u=(0,b.A)(r),c=u||(0,v.A)(r)||(0,m.A)(r);if(n=(0,g.A)(n,4),f==null){var w=r&&r.constructor;c?f=u?new w:[]:(0,s.A)(r)?f=(0,h.A)(w)?(0,_.A)((0,a.A)(r)):{}:f={}}return(c?z.A:d.A)(r,function(F,R,I){return n(f,F,R,I)}),f}const y=L},12533(ne,D,j){"use strict";j.d(D,{A:()=>_});function z(d,g){for(var a=-1,b=d==null?0:d.length;++a<b&&g(d[a],a,d)!==!1;);return d}const _=z},30981(ne,D){"use strict";Object.defineProperty(D,"__esModule",{value:!0})},46459(ne,D,j){"use strict";j.d(D,{A:()=>d});var z=j(95223);function _(g,a){return a=typeof a=="function"?a:void 0,g&&g.length?(0,z.A)(g,void 0,a):[]}const d=_},55788(ne){(function(D){if(1)ne.exports=D();else var j})(function(){var D,j,z;return(function(){function _(d,g,a){function b(s,m){if(!g[s]){if(!d[s]){var L=void 0;if(!m&&L)return require(s,!0);if(v)return v(s,!0);var y=new Error("Cannot find module '"+s+"'");throw y.code="MODULE_NOT_FOUND",y}var r=g[s]={exports:{}};d[s][0].call(r.exports,function(n){var f=d[s][1][n];return b(f||n)},r,r.exports,_,d,g,a)}return g[s].exports}for(var v=void 0,h=0;h<a.length;h++)b(a[h]);return b}return _})()({1:[function(_,d,g){(function(a,b){"use strict";var v=Math.pow(2,-24),h=Math.pow(2,32),s=Math.pow(2,53);function m(r){var n=new ArrayBuffer(256),f=new DataView(n),u,c=0;function w(C){for(var N=n.byteLength,M=c+C;N<M;)N*=2;if(N!==n.byteLength){var U=f;n=new ArrayBuffer(N),f=new DataView(n);for(var Y=c+3>>2,x=0;x<Y;++x)f.setUint32(x*4,U.getUint32(x*4))}return u=C,f}function F(){c+=u}function R(C){F(w(8).setFloat64(c,C))}function I(C){F(w(1).setUint8(c,C))}function k(C){for(var N=w(C.length),M=0;M<C.length;++M)N.setUint8(c+M,C[M]);F()}function W(C){F(w(2).setUint16(c,C))}function $(C){F(w(4).setUint32(c,C))}function ee(C){var N=C%h,M=(C-N)/h,U=w(8);U.setUint32(c,M),U.setUint32(c+4,N),F()}function q(C,N){N<24?I(C<<5|N):N<256?(I(C<<5|24),I(N)):N<65536?(I(C<<5|25),W(N)):N<4294967296?(I(C<<5|26),$(N)):(I(C<<5|27),ee(N))}function H(C){var N;if(C===!1)return I(244);if(C===!0)return I(245);if(C===null)return I(246);if(C===b)return I(247);switch(typeof C){case"number":if(Math.floor(C)===C){if(0<=C&&C<=s)return q(0,C);if(-s<=C&&C<0)return q(1,-(C+1))}return I(251),R(C);case"string":var M=[];for(N=0;N<C.length;++N){var U=C.charCodeAt(N);U<128?M.push(U):U<2048?(M.push(192|U>>6),M.push(128|U&63)):U<55296?(M.push(224|U>>12),M.push(128|U>>6&63),M.push(128|U&63)):(U=(U&1023)<<10,U|=C.charCodeAt(++N)&1023,U+=65536,M.push(240|U>>18),M.push(128|U>>12&63),M.push(128|U>>6&63),M.push(128|U&63))}return q(3,M.length),k(M);default:var Y;if(Array.isArray(C))for(Y=C.length,q(4,Y),N=0;N<Y;++N)H(C[N]);else if(C instanceof Uint8Array)q(2,C.length),k(C);else{var x=Object.keys(C);for(Y=x.length,q(5,Y),N=0;N<Y;++N){var B=x[N];H(B),H(C[B])}}}}if(H(r),"slice"in n)return n.slice(0,c);for(var ae=new ArrayBuffer(c),ce=new DataView(ae),K=0;K<c;++K)ce.setUint8(K,f.getUint8(K));return ae}function L(r,n,f){var u=new DataView(r),c=0;typeof n!="function"&&(n=function(M){return M}),typeof f!="function"&&(f=function(){return b});function w(M,U){return c+=U,M}function F(M){return w(new Uint8Array(r,c,M),M)}function R(){var M=new ArrayBuffer(4),U=new DataView(M),Y=$(),x=Y&32768,B=Y&31744,se=Y&1023;if(B===31744)B=261120;else if(B!==0)B+=114688;else if(se!==0)return se*v;return U.setUint32(0,x<<16|B<<13|se<<13),U.getFloat32(0)}function I(){return w(u.getFloat32(c),4)}function k(){return w(u.getFloat64(c),8)}function W(){return w(u.getUint8(c),1)}function $(){return w(u.getUint16(c),2)}function ee(){return w(u.getUint32(c),4)}function q(){return ee()*h+ee()}function H(){return u.getUint8(c)!==255?!1:(c+=1,!0)}function ae(M){if(M<24)return M;if(M===24)return W();if(M===25)return $();if(M===26)return ee();if(M===27)return q();if(M===31)return-1;throw"Invalid length encoding"}
1function ce(M){var U=W();if(U===255)return-1;var Y=ae(U&31);if(Y<0||U>>5!==M)throw"Invalid indefinite length element";return Y}function K(M,U){for(var Y=0;Y<U;++Y){var x=W();x&128&&(x<224?(x=(x&31)<<6|W()&63,U-=1):x<240?(x=(x&15)<<12|(W()&63)<<6|W()&63,U-=2):(x=(x&15)<<18|(W()&63)<<12|(W()&63)<<6|W()&63,U-=3)),x<65536?M.push(x):(x-=65536,M.push(55296|x>>10),M.push(56320|x&1023))}}function C(){var M=W(),U=M>>5,Y=M&31,x,B;if(U===7)switch(Y){case 25:return R();case 26:return I();case 27:return k()}if(B=ae(Y),B<0&&(U<2||6<U))throw"Invalid length";switch(U){case 0:return B;case 1:return-1-B;case 2:if(B<0){for(var se=[],pe=0;(B=ce(U))>=0;)pe+=B,se.push(F(B));var e=new Uint8Array(pe),t=0;for(x=0;x<se.length;++x)e.set(se[x],t),t+=se[x].length;return e}return F(B);case 3:var i=[];if(B<0)for(;(B=ce(U))>=0;)K(i,B);else K(i,B);return String.fromCharCode.apply(null,i);case 4:var o;if(B<0)for(o=[];!H();)o.push(C());else for(o=new Array(B),x=0;x<B;++x)o[x]=C();return o;case 5:var l={};for(x=0;x<B||B<0&&!H();++x){var p=C();l[p]=C()}return l;case 6:return n(C(),B);case 7:switch(B){case 20:return!1;case 21:return!0;case 22:return null;case 23:return b;default:return f(B)}}}var N=C();if(c!==r.byteLength)throw"Remaining bytes";return N}var y={encode:m,decode:L};typeof D=="function"&&D.amd?D("cbor/cbor",y):typeof d<"u"&&d.exports?d.exports=y:a.CBOR||(a.CBOR=y)})(this)},{}],2:[function(_,d,g){(function(a,b){(function(){/*!
2 * EventEmitter2
3 * https://github.com/hij1nx/EventEmitter2
4 *
5 * Copyright (c) 2013 hij1nx
6 * Licensed under the MIT license.
7 */(function(v){var h=Object.hasOwnProperty,s=Array.isArray?Array.isArray:function(t){return Object.prototype.toString.call(t)==="[object Array]"},m=10,L=typeof a=="object"&&typeof a.nextTick=="function",y=typeof Symbol=="function",r=typeof Reflect=="object",n=typeof b=="function",f=n?b:setTimeout,u=y?r&&typeof Reflect.ownKeys=="function"?Reflect.ownKeys:function(e){var t=Object.getOwnPropertyNames(e);return t.push.apply(t,Object.getOwnPropertySymbols(e)),t}:Object.keys;function c(){this._events={},this._conf&&w.call(this,this._conf)}function w(e){e&&(this._conf=e,e.delimiter&&(this.delimiter=e.delimiter),e.maxListeners!==v&&(this._maxListeners=e.maxListeners),e.wildcard&&(this.wildcard=e.wildcard),e.newListener&&(this._newListener=e.newListener),e.removeListener&&(this._removeListener=e.removeListener),e.verboseMemoryLeak&&(this.verboseMemoryLeak=e.verboseMemoryLeak),e.ignoreErrors&&(this.ignoreErrors=e.ignoreErrors),this.wildcard&&(this.listenerTree={}))}function F(e,t){var i="(node) warning: possible EventEmitter memory leak detected. "+e+" listeners added. Use emitter.setMaxListeners() to increase limit.";if(this.verboseMemoryLeak&&(i+=" Event name: "+t+"."),typeof a<"u"&&a.emitWarning){var o=new Error(i);o.name="MaxListenersExceededWarning",o.emitter=this,o.count=e,a.emitWarning(o)}else console.error(i),console.trace&&console.trace()}var R=function(e,t,i){var o=arguments.length;switch(o){case 0:return[];case 1:return[e];case 2:return[e,t];case 3:return[e,t,i];default:for(var l=new Array(o);o--;)l[o]=arguments[o];return l}};function I(e,t){for(var i={},o,l=e.length,p=t?value.length:0,T=0;T<l;T++)o=e[T],i[o]=T<p?t[T]:v;return i}function k(e,t,i){this._emitter=e,this._target=t,this._listeners={},this._listenersCount=0;var o,l;if((i.on||i.off)&&(o=i.on,l=i.off),t.addEventListener?(o=t.addEventListener,l=t.removeEventListener):t.addListener?(o=t.addListener,l=t.removeListener):t.on&&(o=t.on,l=t.off),!o&&!l)throw Error("target does not implement any known event API");if(typeof o!="function")throw TypeError("on method must be a function");if(typeof l!="function")throw TypeError("off method must be a function");this._on=o,this._off=l;var p=e._observers;p?p.push(this):e._observers=[this]}Object.assign(k.prototype,{subscribe:function(e,t,i){var o=this,l=this._target,p=this._emitter,T=this._listeners,E=function(){var A=R.apply(null,arguments),S={data:A,name:t,original:e};if(i){var P=i.call(l,S);P!==!1&&p.emit.apply(p,[S.name].concat(A));return}p.emit.apply(p,[t].concat(A))};if(T[e])throw Error("Event '"+e+"' is already listening");this._listenersCount++,p._newListener&&p._removeListener&&!o._onNewListener?(this._onNewListener=function(A){A===t&&T[e]===null&&(T[e]=E,o._on.call(l,e,E))},p.on("newListener",this._onNewListener),this._onRemoveListener=function(A){A===t&&!p.hasListeners(A)&&T[e]&&(T[e]=null,o._off.call(l,e,E))},T[e]=null,p.on("removeListener",this._onRemoveListener)):(T[e]=E,o._on.call(l,e,E))},unsubscribe:function(e){var t=this,i=this._listeners,o=this._emitter,l,p,T=this._off,E=this._target,A;if(e&&typeof e!="string")throw TypeError("event must be a string");function S(){t._onNewListener&&(o.off("newListener",t._onNewListener),o.off("removeListener",t._onRemoveListener),t._onNewListener=null,t._onRemoveListener=null);var P=ce.call(o,t);o._observers.splice(P,1)}if(e){if(l=i[e],!l)return;T.call(E,e,l),delete i[e],--this._listenersCount||S()}else{for(p=u(i),A=p.length;A-- >0;)e=p[A],T.call(E,e,i[e]);this._listeners={},this._listenersCount=0,S()}}});function W(e,t,i,o){var l=Object.assign({},t);if(!e)return l;if(typeof e!="object")throw TypeError("options must be an object");var p=Object.keys(e),T=p.length,E,A,S;function P(V){throw Error('Invalid "'+E+'" option value'+(V?". Reason: "+V:""))}for(var Z=0;Z<T;Z++){if(E=p[Z],!o&&!h.call(t,E))throw Error('Unknown "'+E+'" option');A=e[E],A!==v&&(S=i[E],l[E]=S?S(A,P):A)}return l}function $(e,t){return(typeof e!="function"||!e.hasOwnProperty("prototype"))&&t("value must be a constructor"),e}function ee(e){var t="value must be type of "+e.join("|"),i=e.length,o=e[0],l=e[1];return i===1?function(p,T){if(typeof p===o)return p;T(t)}:i===2?function(p,T){var E=typeof p;if(E===o||E===l)return p;T(t)}:function(p,T){for(var E=typeof p,A=i;A-- >0;)if(E===e[A])return p;T(t)}}var q=ee(["function"]),H=ee(["object","function"]);function ae(e,t,i){var o,l,p=0,T,E=new e(function(A,S,P){i=W(i,{timeout:0,overload:!1},{timeout:function(Q,te){return Q*=1,(typeof Q!="number"||Q<0||!Number.isFinite(Q))&&te("timeout must be a positive number"),Q}}),o=!i.overload&&typeof e.prototype.cancel=="function"&&typeof P=="function";function Z(){l&&(l=null),p&&(clearTimeout(p),p=0)}var V=function(Q){Z(),A(Q)},G=function(Q){Z(),S(Q)};o?t(V,G,P):(l=[function(Q){G(Q||Error("canceled"))}],t(V,G,function(Q){if(T)throw Error("Unable to subscribe on cancel event asynchronously");if(typeof Q!="function")throw TypeError("onCancel callback must be a function");l.push(Q)}),T=!0),i.timeout>0&&(p=setTimeout(function(){var Q=Error("timeout");Q.code="ETIMEDOUT",p=0,E.cancel(Q),S(Q)},i.timeout))});return o||(E.cancel=function(A){if(l){for(var S=l.length,P=1;P<S;P++)l[P](A);l[0](A),l=null}}),E}function ce(e){var t=this._observers;if(!t)return-1;for(var i=t.length,o=0;o<i;o++)if(t[o]._target===e)return o;return-1}function K(e,t,i,o,l){if(!i)return null;if(o===0){var p=typeof t;
7if(p==="string"){var T,E,A=0,S=0,P=this.delimiter,Z=P.length;if((E=t.indexOf(P))!==-1){T=new Array(5);do T[A++]=t.slice(S,E),S=E+Z;while((E=t.indexOf(P,S))!==-1);T[A++]=t.slice(S),t=T,l=A}else t=[t],l=1}else p==="object"?l=t.length:(t=[t],l=1)}var V=null,G,Q,te,ye,_e,he=t[o],ge=t[o+1],ue,re;if(o===l&&i._listeners)return typeof i._listeners=="function"?(e&&e.push(i._listeners),[i]):(e&&e.push.apply(e,i._listeners),[i]);if(he==="*"){for(ue=u(i),E=ue.length;E-- >0;)G=ue[E],G!=="_listeners"&&(re=K(e,t,i[G],o+1,l),re&&(V?V.push.apply(V,re):V=re));return V}else if(he==="**"){for(_e=o+1===l||o+2===l&&ge==="*",_e&&i._listeners&&(V=K(e,t,i,l,l)),ue=u(i),E=ue.length;E-- >0;)G=ue[E],G!=="_listeners"&&(G==="*"||G==="**"?(i[G]._listeners&&!_e&&(re=K(e,t,i[G],l,l),re&&(V?V.push.apply(V,re):V=re)),re=K(e,t,i[G],o,l)):G===ge?re=K(e,t,i[G],o+2,l):re=K(e,t,i[G],o,l),re&&(V?V.push.apply(V,re):V=re));return V}else i[he]&&(V=K(e,t,i[he],o+1,l));if(Q=i["*"],Q&&K(e,t,Q,o+1,l),te=i["**"],te)if(o<l)for(te._listeners&&K(e,t,te,l,l),ue=u(te),E=ue.length;E-- >0;)G=ue[E],G!=="_listeners"&&(G===ge?K(e,t,te[G],o+2,l):G===he?K(e,t,te[G],o+1,l):(ye={},ye[G]=te[G],K(e,t,{"**":ye},o+1,l)));else te._listeners?K(e,t,te,l,l):te["*"]&&te["*"]._listeners&&K(e,t,te["*"],l,l);return V}function C(e,t,i){var o=0,l=0,p,T=this.delimiter,E=T.length,A;if(typeof e=="string")if((p=e.indexOf(T))!==-1){A=new Array(5);do A[o++]=e.slice(l,p),l=p+E;while((p=e.indexOf(T,l))!==-1);A[o++]=e.slice(l)}else A=[e],o=1;else A=e,o=e.length;if(o>1){for(p=0;p+1<o;p++)if(A[p]==="**"&&A[p+1]==="**")return}var S=this.listenerTree,P;for(p=0;p<o;p++)if(P=A[p],S=S[P]||(S[P]={}),p===o-1)return S._listeners?(typeof S._listeners=="function"&&(S._listeners=[S._listeners]),i?S._listeners.unshift(t):S._listeners.push(t),!S._listeners.warned&&this._maxListeners>0&&S._listeners.length>this._maxListeners&&(S._listeners.warned=!0,F.call(this,S._listeners.length,P))):S._listeners=t,!0;return!0}function N(e,t,i,o){for(var l=u(e),p=l.length,T,E,A,S=e._listeners,P;p-- >0;)E=l[p],T=e[E],E==="_listeners"?A=i:A=i?i.concat(E):[E],P=o||typeof E=="symbol",S&&t.push(P?A:A.join(this.delimiter)),typeof T=="object"&&N.call(this,T,t,A,P);return t}function M(e){for(var t=u(e),i=t.length,o,l,p;i-- >0;)l=t[i],o=e[l],o&&(p=!0,l!=="_listeners"&&!M(o)&&delete e[l]);return p}function U(e,t,i){this.emitter=e,this.event=t,this.listener=i}U.prototype.off=function(){return this.emitter.off(this.event,this.listener),this};function Y(e,t,i){if(i===!0)l=!0;else if(i===!1)o=!0;else{if(!i||typeof i!="object")throw TypeError("options should be an object or true");var o=i.async,l=i.promisify,p=i.nextTick,T=i.objectify}if(o||p||l){var E=t,A=t._origin||t;if(p&&!L)throw Error("process.nextTick is not supported");l===v&&(l=t.constructor.name==="AsyncFunction"),t=function(){var S=arguments,P=this,Z=this.event;return l?p?Promise.resolve():new Promise(function(V){f(V)}).then(function(){return P.event=Z,E.apply(P,S)}):(p?a.nextTick:f)(function(){P.event=Z,E.apply(P,S)})},t._async=!0,t._origin=A}return[t,T?new U(this,e,t):this]}function x(e){this._events={},this._newListener=!1,this._removeListener=!1,this.verboseMemoryLeak=!1,w.call(this,e)}x.EventEmitter2=x,x.prototype.listenTo=function(e,t,i){if(typeof e!="object")throw TypeError("target musts be an object");var o=this;i=W(i,{on:v,off:v,reducers:v},{on:q,off:q,reducers:H});function l(p){if(typeof p!="object")throw TypeError("events must be an object");var T=i.reducers,E=ce.call(o,e),A;E===-1?A=new k(o,e,i):A=o._observers[E];for(var S=u(p),P=S.length,Z,V=typeof T=="function",G=0;G<P;G++)Z=S[G],A.subscribe(Z,p[Z]||Z,V?T:T&&T[Z])}return s(t)?l(I(t)):l(typeof t=="string"?I(t.split(/\s+/)):t),this},x.prototype.stopListeningTo=function(e,t){var i=this._observers;if(!i)return!1;var o=i.length,l,p=!1;if(e&&typeof e!="object")throw TypeError("target should be an object");for(;o-- >0;)l=i[o],(!e||l._target===e)&&(l.unsubscribe(t),p=!0);return p},x.prototype.delimiter=".",x.prototype.setMaxListeners=function(e){e!==v&&(this._maxListeners=e,this._conf||(this._conf={}),this._conf.maxListeners=e)},x.prototype.getMaxListeners=function(){return this._maxListeners},x.prototype.event="",x.prototype.once=function(e,t,i){return this._once(e,t,!1,i)},x.prototype.prependOnceListener=function(e,t,i){return this._once(e,t,!0,i)},x.prototype._once=function(e,t,i,o){return this._many(e,1,t,i,o)},x.prototype.many=function(e,t,i,o){return this._many(e,t,i,!1,o)}
7,x.prototype.prependMany=function(e,t,i,o){return this._many(e,t,i,!0,o)},x.prototype._many=function(e,t,i,o,l){var p=this;if(typeof i!="function")throw new Error("many only accepts instances of Function");function T(){return--t===0&&p.off(e,T),i.apply(this,arguments)}return T._origin=i,this._on(e,T,o,l)},x.prototype.emit=function(){if(!this._events&&!this._all)return!1;this._events||c.call(this);var e=arguments[0],t,i=this.wildcard,o,l,p,T,E;if(e==="newListener"&&!this._newListener&&!this._events.newListener)return!1;if(i&&(t=e,e!=="newListener"&&e!=="removeListener"&&typeof e=="object")){if(l=e.length,y){for(p=0;p<l;p++)if(typeof e[p]=="symbol"){E=!0;break}}E||(e=e.join(this.delimiter))}var A=arguments.length,S;if(this._all&&this._all.length)for(S=this._all.slice(),p=0,l=S.length;p<l;p++)switch(this.event=e,A){case 1:S[p].call(this,e);break;case 2:S[p].call(this,e,arguments[1]);break;case 3:S[p].call(this,e,arguments[1],arguments[2]);break;default:S[p].apply(this,arguments)}if(i)S=[],K.call(this,S,t,this.listenerTree,0,l);else if(S=this._events[e],typeof S=="function"){switch(this.event=e,A){case 1:S.call(this);break;case 2:S.call(this,arguments[1]);break;case 3:S.call(this,arguments[1],arguments[2]);break;default:for(o=new Array(A-1),T=1;T<A;T++)o[T-1]=arguments[T];S.apply(this,o)}return!0}else S&&(S=S.slice());if(S&&S.length){if(A>3)for(o=new Array(A-1),T=1;T<A;T++)o[T-1]=arguments[T];for(p=0,l=S.length;p<l;p++)switch(this.event=e,A){case 1:S[p].call(this);break;case 2:S[p].call(this,arguments[1]);break;case 3:S[p].call(this,arguments[1],arguments[2]);break;default:S[p].apply(this,o)}return!0}else if(!this.ignoreErrors&&!this._all&&e==="error")throw arguments[1]instanceof Error?arguments[1]:new Error("Uncaught, unspecified 'error' event.");return!!this._all},x.prototype.emitAsync=function(){if(!this._events&&!this._all)return!1;this._events||c.call(this);var e=arguments[0],t=this.wildcard,i,o,l,p,T,E;if(e==="newListener"&&!this._newListener&&!this._events.newListener)return Promise.resolve([!1]);if(t&&(i=e,e!=="newListener"&&e!=="removeListener"&&typeof e=="object")){if(p=e.length,y){for(T=0;T<p;T++)if(typeof e[T]=="symbol"){o=!0;break}}o||(e=e.join(this.delimiter))}var A=[],S=arguments.length,P;if(this._all)for(T=0,p=this._all.length;T<p;T++)switch(this.event=e,S){case 1:A.push(this._all[T].call(this,e));break;case 2:A.push(this._all[T].call(this,e,arguments[1]));break;case 3:A.push(this._all[T].call(this,e,arguments[1],arguments[2]));break;default:A.push(this._all[T].apply(this,arguments))}if(t?(P=[],K.call(this,P,i,this.listenerTree,0)):P=this._events[e],typeof P=="function")switch(this.event=e,S){case 1:A.push(P.call(this));break;case 2:A.push(P.call(this,arguments[1]));break;case 3:A.push(P.call(this,arguments[1],arguments[2]));break;default:for(l=new Array(S-1),E=1;E<S;E++)l[E-1]=arguments[E];A.push(P.apply(this,l))}else if(P&&P.length){if(P=P.slice(),S>3)for(l=new Array(S-1),E=1;E<S;E++)l[E-1]=arguments[E];for(T=0,p=P.length;T<p;T++)switch(this.event=e,S){case 1:A.push(P[T].call(this));break;case 2:A.push(P[T].call(this,arguments[1]));break;case 3:A.push(P[T].call(this,arguments[1],arguments[2]));break;default:A.push(P[T].apply(this,l))}}else if(!this.ignoreErrors&&!this._all&&e==="error")return arguments[1]instanceof Error?Promise.reject(arguments[1]):Promise.reject("Uncaught, unspecified 'error' event.");return Promise.all(A)},x.prototype.on=function(e,t,i){return this._on(e,t,!1,i)},x.prototype.prependListener=function(e,t,i){return this._on(e,t,!0,i)},x.prototype.onAny=function(e){return this._onAny(e,!1)},x.prototype.prependAny=function(e){return this._onAny(e,!0)},x.prototype.addListener=x.prototype.on,x.prototype._onAny=function(e,t){if(typeof e!="function")throw new Error("onAny only accepts instances of Function");return this._all||(this._all=[]),t?this._all.unshift(e):this._all.push(e),this},x.prototype._on=function(e,t,i,o){if(typeof e=="function")return this._onAny(e,t),this;if(typeof t!="function")throw new Error("on only accepts instances of Function");this._events||c.call(this);var l=this,p;return o!==v&&(p=Y.call(this,e,t,o),t=p[0],l=p[1]),this._newListener&&this.emit
7("newListener",e,t),this.wildcard?(C.call(this,e,t,i),l):(this._events[e]?(typeof this._events[e]=="function"&&(this._events[e]=[this._events[e]]),i?this._events[e].unshift(t):this._events[e].push(t),!this._events[e].warned&&this._maxListeners>0&&this._events[e].length>this._maxListeners&&(this._events[e].warned=!0,F.call(this,this._events[e].length,e))):this._events[e]=t,l)},x.prototype.off=function(e,t){if(typeof t!="function")throw new Error("removeListener only takes instances of Function");var i,o=[];if(this.wildcard){var l=typeof e=="string"?e.split(this.delimiter):e.slice();if(o=K.call(this,null,l,this.listenerTree,0),!o)return this}else{if(!this._events[e])return this;i=this._events[e],o.push({_listeners:i})}for(var p=0;p<o.length;p++){var T=o[p];if(i=T._listeners,s(i)){for(var E=-1,A=0,S=i.length;A<S;A++)if(i[A]===t||i[A].listener&&i[A].listener===t||i[A]._origin&&i[A]._origin===t){E=A;break}if(E<0)continue;return this.wildcard?T._listeners.splice(E,1):this._events[e].splice(E,1),i.length===0&&(this.wildcard?delete T._listeners:delete this._events[e]),this._removeListener&&this.emit("removeListener",e,t),this}else(i===t||i.listener&&i.listener===t||i._origin&&i._origin===t)&&(this.wildcard?delete T._listeners:delete this._events[e],this._removeListener&&this.emit("removeListener",e,t))}return this.listenerTree&&M(this.listenerTree),this},x.prototype.offAny=function(e){var t=0,i=0,o;if(e&&this._all&&this._all.length>0){for(o=this._all,t=0,i=o.length;t<i;t++)if(e===o[t])return o.splice(t,1),this._removeListener&&this.emit("removeListenerAny",e),this}else{if(o=this._all,this._removeListener)for(t=0,i=o.length;t<i;t++)this.emit("removeListenerAny",o[t]);this._all=[]}return this},x.prototype.removeListener=x.prototype.off,x.prototype.removeAllListeners=function(e){if(e===v)return!this._events||c.call(this),this;if(this.wildcard){var t=K.call(this,null,e,this.listenerTree,0),i,o;if(!t)return this;for(o=0;o<t.length;o++)i=t[o],i._listeners=null;this.listenerTree&&M(this.listenerTree)}else this._events&&(this._events[e]=null);return this},x.prototype.listeners=function(e){var t=this._events,i,o,l,p,T;if(e===v){if(this.wildcard)throw Error("event name required for wildcard emitter");if(!t)return[];for(i=u(t),p=i.length,l=[];p-- >0;)o=t[i[p]],typeof o=="function"?l.push(o):l.push.apply(l,o);return l}else{if(this.wildcard){if(T=this.listenerTree,!T)return[];var E=[],A=typeof e=="string"?e.split(this.delimiter):e.slice();return K.call(this,E,A,T,0),E}return t?(o=t[e],o?typeof o=="function"?[o]:o:[]):[]}},x.prototype.eventNames=function(e){var t=this._events;return this.wildcard?N.call(this,this.listenerTree,[],null,e):t?u(t):[]},x.prototype.listenerCount=function(e){return this.listeners(e).length},x.prototype.hasListeners=function(e){if(this.wildcard){var t=[],i=typeof e=="string"?e.split(this.delimiter):e.slice();return K.call(this,t,i,this.listenerTree,0),t.length>0}var o=this._events,l=this._all;return!!(l&&l.length||o&&(e===v?u(o).length:o[e]))},x.prototype.listenersAny=function(){return this._all?this._all:[]},x.prototype.waitFor=function(e,t){var i=this,o=typeof t;return o==="number"?t={timeout:t}:o==="function"&&(t={filter:t}),t=W(t,{timeout:0,filter:v,handleError:!1,Promise,overload:!1},{filter:q,Promise:$}),ae(t.Promise,function(l,p,T){function E(){var A=t.filter;if(!(A&&!A.apply(i,arguments)))if(i.off(e,E),t.handleError){var S=arguments[0];S?p(S):l(R.apply(null,arguments).slice(1))}else l(R.apply(null,arguments))}T(function(){i.off(e,E)}),i._on(e,E,!1)},{timeout:t.timeout,overload:t.overload})};function B(e,t,i){i=W(i,{Promise,timeout:0,overload:!1},{Promise:$});var o=i.Promise;return ae(o,function(l,p,T){var E;if(typeof e.addEventListener=="function"){E=function(){l(R.apply(null,arguments))},T(function(){e.removeEventListener(t,E)}),e.addEventListener(t,E,{once:!0});return}var A=function(){S&&e.removeListener("error",S),l(R.apply(null,arguments))},S;t!=="error"&&(S=function(P){e.removeListener(t,A),p(P)},e.once("error",S)),T(function(){S&&e.removeListener("error",S),e.removeListener(t,A)}),e.once(t,A)},{timeout:i.timeout,overload:i.overload})}var se=x.prototype;if(Object.defineProperties(x,{defaultMaxListeners:{get:function(){return se._maxListeners},set:function(e){if(typeof e!="number"||e<0||Number.isNaN(e))throw TypeError("n must be a non-negative number");se._maxListeners=e},enumerable:!0}
7,once:{value:B,writable:!0,configurable:!0}}),Object.defineProperties(se,{_maxListeners:{value:m,writable:!0,configurable:!0},_observers:{value:null,writable:!0,configurable:!0}}),typeof D=="function"&&D.amd)D(function(){return x});else if(typeof g=="object")d.exports=x;else{var pe=new Function("","return this")();pe.EventEmitter2=x}})()}).call(this)}).call(this,_("_process"),_("timers").setImmediate)},{_process:4,timers:5}],3:[function(_,d,g){/*
8object-assign
9(c) Sindre Sorhus
10@license MIT
11*/"use strict";var a=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable;function h(m){if(m==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(m)}function s(){try{if(!Object.assign)return!1;var m=new String("abc");if(m[5]="de",Object.getOwnPropertyNames(m)[0]==="5")return!1;for(var L={},y=0;y<10;y++)L["_"+String.fromCharCode(y)]=y;var r=Object.getOwnPropertyNames(L).map(function(f){return L[f]});if(r.join("")!=="0123456789")return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(f){n[f]=f}),Object.keys(Object.assign({},n)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}d.exports=s()?Object.assign:function(m,L){for(var y,r=h(m),n,f=1;f<arguments.length;f++){y=Object(arguments[f]);for(var u in y)b.call(y,u)&&(r[u]=y[u]);if(a){n=a(y);for(var c=0;c<n.length;c++)v.call(y,n[c])&&(r[n[c]]=y[n[c]])}}return r}},{}],4:[function(_,d,g){var a=d.exports={},b,v;function h(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?b=setTimeout:b=h}catch{b=h}try{typeof clearTimeout=="function"?v=clearTimeout:v=s}catch{v=s}})();function m(R){if(b===setTimeout)return setTimeout(R,0);if((b===h||!b)&&setTimeout)return b=setTimeout,setTimeout(R,0);try{return b(R,0)}catch{try{return b.call(null,R,0)}catch{return b.call(this,R,0)}}}function L(R){if(v===clearTimeout)return clearTimeout(R);if((v===s||!v)&&clearTimeout)return v=clearTimeout,clearTimeout(R);try{return v(R)}catch{try{return v.call(null,R)}catch{return v.call(this,R)}}}var y=[],r=!1,n,f=-1;function u(){!r||!n||(r=!1,n.length?y=n.concat(y):f=-1,y.length&&c())}function c(){if(!r){var R=m(u);r=!0;for(var I=y.length;I;){for(n=y,y=[];++f<I;)n&&n[f].run();f=-1,I=y.length}n=null,r=!1,L(R)}}a.nextTick=function(R){var I=new Array(arguments.length-1);if(arguments.length>1)for(var k=1;k<arguments.length;k++)I[k-1]=arguments[k];y.push(new w(R,I)),y.length===1&&!r&&m(c)};function w(R,I){this.fun=R,this.array=I}w.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={};function F(){}a.on=F,a.addListener=F,a.once=F,a.off=F,a.removeListener=F,a.removeAllListeners=F,a.emit=F,a.prependListener=F,a.prependOnceListener=F,a.listeners=function(R){return[]},a.binding=function(R){throw new Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(R){throw new Error("process.chdir is not supported")},a.umask=function(){return 0}},{}],5:[function(_,d,g){(function(a,b){(function(){var v=_("process/browser.js").nextTick,h=Function.prototype.apply,s=Array.prototype.slice,m={},L=0;g.setTimeout=function(){return new y(h.call(setTimeout,window,arguments),clearTimeout)},g.setInterval=function(){return new y(h.call(setInterval,window,arguments),clearInterval)},g.clearTimeout=g.clearInterval=function(r){r.close()};function y(r,n){this._id=r,this._clearFn=n}y.prototype.unref=y.prototype.ref=function(){},y.prototype.close=function(){this._clearFn.call(window,this._id)},g.enroll=function(r,n){clearTimeout(r._idleTimeoutId),r._idleTimeout=n},g.unenroll=function(r){clearTimeout(r._idleTimeoutId),r._idleTimeout=-1},g._unrefActive=g.active=function(r){clearTimeout(r._idleTimeoutId);var n=r._idleTimeout;n>=0&&(r._idleTimeoutId=setTimeout(function(){r._onTimeout&&r._onTimeout()},n))},g.setImmediate=typeof a=="function"?a:function(r){var n=L++,f=arguments.length<2?!1:s.call(arguments,1);return m[n]=!0,v(function(){m[n]&&(f?r.apply(null,f):r.call(null),g.clearImmediate(n))}),n},g.clearImmediate=typeof b=="function"?b:function(r){delete m[r]}}).call(this)}).call(this,_("timers").setImmediate,_("timers").clearImmediate)},{"process/browser.js":4,timers:5}],6:[function(_,d,g){var a=arguments[3],b=arguments[4],v=arguments[5],h=JSON.stringify;d.exports=function(s,m){for(var L,y=Object.keys(v),r=0,n=y.length;r<n;r++){var f=y[r],u=v[f].exports;if(u===s||u&&u.default===s){L=f;break}}if(!L){L=Math.floor(Math.pow(16,8)*Math.random()).toString(16);for(var c={},r=0,n=y.length;r<n;r++){var f=y[r];c[f]=f}b[L]=["function(require,module,exports){"+s+"(self); }",c]}var w=Math.floor(Math.pow(16,8)*Math.random()).toString(16),F={};F[L]=L,b[w]=["function(require,module,exports){var f = require("+h(L)+");(f.default ? f.default : f)(self);}",F];var R={};I(w);function I(H){R[H]=!0;for(var ae in b[H][1]){var ce=b[H][1][ae];R[ce]||I(ce)}}var k="("+a+")({"+Object.keys(R).map(function(H){return h(H)+":["+b[H][0]+","+h(b[H][1])+"]"}).join(",")+"},{},["+h(w)+"])",W=window.URL||window.webkitURL||window.mozURL||window.msURL,$=new Blob([k],{type:"text/javascript"});if(m&&m.bare)return $;var ee=W.createObjectURL($),q=new Worker(ee);return q.objectURL=ee,q}},{}],7:[function(_,d,g){var a=this.ROSLIB||{REVISION:"1.1.0"},b=_("object-assign");b(a,_("./core")),b(a,_("./actionlib")),d.exports=a},{"./actionlib":13,"./core":22,"object-assign":3}],8:[function(_,d,g){d.exports=_("./RosLib")},{"./RosLib":7}],9:[function(_,d,g){var a=_("../core/Topic"),b=_("../core/Message"),v=_("eventemitter2").EventEmitter2;function h(s){var m=this;s=s||{},this.ros=s.ros,this.serverName=s.serverName,this.actionName=s.actionName,this.timeout=s.timeout,this.omitFeedback=s.omitFeedback,this.omitStatus=s.omitStatus,this.omitResult=s.omitResult,this.goals={};var L=!1;this.feedbackListener=new a({ros:this.ros,name:this.serverName+"/feedback",messageType:this.actionName+"Feedback"}),this.statusListener=new a({ros:this.ros,name:this.serverName+"/status",messageType:"actionlib_msgs/GoalStatusArray"}),this.resultListener=new a({ros:this.ros,name:this.serverName+"/result",messageType:this.actionName+"Result"}),this.goalTopic=new a({ros:this.ros,name:this.serverName+"/goal",messageType:this.actionName+"Goal"}),this.cancelTopic=new a({ros:this.ros,name:this.serverName+"/cancel",messageType:"actionlib_msgs/GoalID"}),this.goalTopic.advertise(),this.cancelTopic.advertise(),this.omitStatus||this.statusListener.subscribe(function(y){L=!0,y.status_list.forEach(function(r){var n=m.goals[r.goal_id.id];n&&n.emit("status",r)})}),this.omitFeedback||this.feedbackListener.subscribe(function(y){var r=m.goals[y.status.goal_id.id];r&&(r.emit("status",y.status),r.emit("feedback",y.feedback))}),this.omitResult||this.resultListener.subscribe(function(y){var r=m.goals[y.status.goal_id.id];r&&(r.emit("status",y.status),r.emit("result",y.result))}),this.timeout&&setTimeout(function(){L||m.emit("timeout")},this.timeout)}h.prototype.__proto__=v.prototype,h.prototype.cancel=function(){var s=new b;this.cancelTopic.publish(s)},h.prototype.dispose=function(){this.goalTopic.unadvertise(),this.cancelTopic.unadvertise(),this.omitStatus||this.statusListener.unsubscribe(),this.omitFeedback||this.feedbackListener.unsubscribe(),this.omitResult||this.resultListener.unsubscribe()},d.exports=h},{"../core/Message":14,"../core/Topic":21,eventemitter2:2}],10:[function(_,d,g){var a=_("../core/Topic"),b=_("../core/Message"),v=_("eventemitter2").EventEmitter2;function h(s){var m=this;s=s||{},this.ros=s.ros,this.serverName=s.serverName,this.actionName=s.actionName,this.timeout=s.timeout,this.omitFeedback=s.omitFeedback,this.omitStatus=s.omitStatus,this.omitResult=s.omitResult;var L=new a({ros:this.ros,name:this.serverName+"/goal",messageType:this.actionName+"Goal"}),y=new a({ros:this.ros,name:this.serverName+"/feedback",messageType:this.actionName+"Feedback"}),r=new a({ros:this.ros,name:this.serverName+"/status",messageType:"actionlib_msgs/GoalStatusArray"}),n=new a({ros:this.ros,name:this.serverName+"/result",messageType:this.actionName+"Result"});L.subscribe(function(f){m.emit("goal",f)}),r.subscribe(function(f){f.status_list.forEach(function(u){m.emit("status",u)})}),y.subscribe(function(f){m.emit("status",f.status),m.emit("feedback",f.feedback)}),n.subscribe(function(f){m.emit("status",f.status),m.emit("result",f.result)})}h.prototype.__proto__=v.prototype,d.exports=h},{"../core/Message":14,"../core/Topic":21,eventemitter2:2}],11:[function(_,d,g){var a=_("../core/Message"),b=_("eventemitter2").EventEmitter2;function v(h){var s=this;this.actionClient=h.actionClient,this.goalMessage=h.goalMessage,this.isFinished=!1;var m=new Date;this.goalID="goal_"+Math.random()+"_"+m.getTime(),this.goalMessage=new a({goal_id:{stamp:{secs:0,nsecs:0},id:this.goalID},goal:this.goalMessage}),this.on("status",function(L){s.status=L}),this.on("result",function(L){s.isFinished=!0,s.result=L}),this.on("feedback",function(L){s.feedback=L}),this.actionClient.goals[this.goalID]=this}v.prototype.__proto__=b.prototype,v.prototype.send=function(h){var s=this;s.actionClient.goalTopic.publish(s.goalMessage),h&&setTimeout(function(){s.isFinished||s.emit("timeout")},h)},v.prototype.cancel=function(){var h=new a({id:this.goalID});this.actionClient.cancelTopic.publish(h)},d.exports=v},{"../core/Message":14,eventemitter2:2}],12:[function(_,d,g){var a=_("../core/Topic"),b=_("../core/Message"),v=_("eventemitter2").EventEmitter2;function h(s){var m=this;s=s||{},this.ros=s.ros,this.serverName=s.serverName,this.actionName=s.actionName,this.feedbackPublisher=new a({ros:this.ros,name:this.serverName+"/feedback",messageType:this.actionName+"Feedback"}),this.feedbackPublisher.advertise();var L=new a({ros:this.ros,name:this.serverName+"/status",messageType:"actionlib_msgs/GoalStatusArray"});L.advertise(),this.resultPublisher=new a({ros:this.ros,name:this.serverName+"/result",messageType:this.actionName+"Result"}),this.resultPublisher.advertise();var y=new a({ros:this.ros,name:this.serverName+"/goal",messageType:this.actionName+"Goal"}),r=new a({ros:this.ros,name:this.serverName+"/cancel",messageType:"actionlib_msgs/GoalID"});this.statusMessage=new b({header:{stamp:{secs:0,nsecs:100},frame_id:""},status_list:[]}),this.currentGoal=null,this.nextGoal=null,y.subscribe(function(u){m.currentGoal?(m.nextGoal=u,m.emit("cancel")):(m.statusMessage.status_list=[{goal_id:u.goal_id,status:1}],m.currentGoal=u,m.emit("goal",u.goal))});var n=function(u,c){return u.secs>c.secs?!1:u.secs<c.secs?!0:u.nsecs<c.nsecs};r.subscribe(function(u){u.stamp.secs===0&&u.stamp.secs===0&&u.id===""?(m.nextGoal=null,m.currentGoal&&m.emit("cancel")):(m.currentGoal&&u.id===m.currentGoal.goal_id.id?m.emit("cancel"):m.nextGoal&&u.id===m.nextGoal.goal_id.id&&(m.nextGoal=null),m.nextGoal&&n(m.nextGoal.goal_id.stamp,u.stamp)&&(m.nextGoal=null),m.currentGoal&&n(m.currentGoal.goal_id.stamp,u.stamp)&&m.emit("cancel"))});var f=setInterval(function(){var u=new Date,c=Math.floor(u.getTime()/1e3),w=Math.round(1e9*(u.getTime()/1e3-c));m.statusMessage.header.stamp.secs=c,m.statusMessage.header.stamp.nsecs=w,L.publish(m.statusMessage)},500)}h.prototype.__proto__=v.prototype,h.prototype.setSucceeded=function(s){var m=new b({status:{goal_id:this.currentGoal.goal_id,status:3},result:s});this.resultPublisher.publish(m),this.statusMessage.status_list=[],this.nextGoal?(this.currentGoal=this.nextGoal,this.nextGoal=null,this.emit
11("goal",this.currentGoal.goal)):this.currentGoal=null},h.prototype.setAborted=function(s){var m=new b({status:{goal_id:this.currentGoal.goal_id,status:4},result:s});this.resultPublisher.publish(m),this.statusMessage.status_list=[],this.nextGoal?(this.currentGoal=this.nextGoal,this.nextGoal=null,this.emit("goal",this.currentGoal.goal)):this.currentGoal=null},h.prototype.sendFeedback=function(s){var m=new b({status:{goal_id:this.currentGoal.goal_id,status:1},feedback:s});this.feedbackPublisher.publish(m)},h.prototype.setPreempted=function(){this.statusMessage.status_list=[];var s=new b({status:{goal_id:this.currentGoal.goal_id,status:2}});this.resultPublisher.publish(s),this.nextGoal?(this.currentGoal=this.nextGoal,this.nextGoal=null,this.emit("goal",this.currentGoal.goal)):this.currentGoal=null},d.exports=h},{"../core/Message":14,"../core/Topic":21,eventemitter2:2}],13:[function(_,d,g){var a=_("../core/Ros"),b=_("../mixin"),v=d.exports={ActionClient:_("./ActionClient"),ActionListener:_("./ActionListener"),Goal:_("./Goal"),SimpleActionServer:_("./SimpleActionServer")};b(a,["ActionClient","SimpleActionServer"],v)},{"../core/Ros":16,"../mixin":23,"./ActionClient":9,"./ActionListener":10,"./Goal":11,"./SimpleActionServer":12}],14:[function(_,d,g){var a=_("object-assign");function b(v){a(this,v)}d.exports=b},{"object-assign":3}],15:[function(_,d,g){var a=_("./Service"),b=_("./ServiceRequest");function v(h){h=h||{},this.ros=h.ros,this.name=h.name}v.prototype.get=function(h){var s=this.ros,m=new a({ros:s,name:"/rosapi/get_param",serviceType:"rosapi/GetParam"}),L=new b({name:this.name});m.callService(L,function(y){try{var r=JSON.parse(y.value);h(r)}catch(n){s.emit("error","Failed to parse JSON param value: "+n.message)}})},v.prototype.set=function(h,s){var m=new a({ros:this.ros,name:"/rosapi/set_param",serviceType:"rosapi/SetParam"}),L=new b({name:this.name,value:JSON.stringify(h)});m.callService(L,s)},v.prototype.delete=function(h){var s=new a({ros:this.ros,name:"/rosapi/delete_param",serviceType:"rosapi/DeleteParam"}),m=new b({name:this.name});s.callService(m,h)},d.exports=v},{"./Service":17,"./ServiceRequest":18}],16:[function(_,d,g){var a=_("ws"),b=_("../util/workerSocket"),v=_("./SocketAdapter.js"),h=_("./Service"),s=_("./ServiceRequest"),m=_("object-assign"),L=_("eventemitter2").EventEmitter2;function y(r){r=r||{};var n=this;this.socket=null,this.idCounter=0,this.isConnected=!1,this.transportLibrary=r.transportLibrary||"websocket",this.transportOptions=r.transportOptions||{},this._sendFunc=function(f){n.sendEncodedMessage(f)},typeof r.groovyCompatibility>"u"?this.groovyCompatibility=!0:this.groovyCompatibility=r.groovyCompatibility,this.setMaxListeners(0),r.url&&this.connect(r.url)}y.prototype.__proto__=L.prototype,y.prototype.connect=function(r){if(this.transportLibrary==="websocket"){if(!this.socket||this.socket.readyState===a.CLOSED){var n=new a(r);n.binaryType="arraybuffer",this.socket=m(n,v(this))}}else if(this.transportLibrary==="workersocket")this.socket=m(new b(r),v(this));else throw"Unknown transportLibrary: "+this.transportLibrary.toString()},y.prototype.close=function(){this.socket&&this.socket.close()},y.prototype.authenticate=function(r,n,f,u,c,w,F){var R={op:"auth",mac:r,client:n,dest:f,rand:u,t:c,level:w,end:F};this.callOnConnection(R)},y.prototype.sendEncodedMessage=function(r){var n=null,f=this;this.transportLibrary==="socket.io"?n=function(u){f.socket.emit("operation",u)}:n=function(u){f.socket.send(u)},this.isConnected?n(r):f.once("connection",function(){n(r)})},y.prototype.callOnConnection=function(r){if(this.transportOptions.encoder)this.transportOptions.encoder(r,this._sendFunc);else{const n=(f,u)=>ArrayBuffer.isView(u)?Array.from(u):u;this._sendFunc(JSON.stringify(r),n)}},y.prototype.setStatusLevel=function(r,n){var f={op:"set_level",level:r,id:n};this.callOnConnection(f)},y.prototype.getActionServers=function(r,n){var f=new h({ros:this,name:"/rosapi/action_servers",serviceType:"rosapi/GetActionServers"}),u=new s({});typeof n=="function"?f.callService(u,function(c){r(c.action_servers)},function(c){n(c)}):f.callService(u,function(c){r(c.action_servers)})},y.prototype.getTopics=function(r,n){var f=new h({ros:this,name:"/rosapi/topics",serviceType:"rosapi/Topics"}),u=new s;typeof n=="function"?f.callService(u,function(c){r(c)},function(c){n(c)}):f.callService(u,function(c){r(c)})},y.prototype.getTopicsForType=function(r,n,f){var u=new h({ros:this,name:"/rosapi/topics_for_type",serviceType:"rosapi/TopicsForType"}),c=new s({type:r});typeof f=="function"?u.callService(c,function(w){n(w.topics)},function(w){f(w)}):u.callService(c,function(w){n(w.topics)})},y.prototype.getServices=function(r,n){var f=new h({ros:this,name:"/rosapi/services",serviceType:"rosapi/Services"}),u=new s;typeof n=="function"?f.callService(u,function(c){r(c.services)},function(c){n(c)}):f.callService(u,function(c){r(c.services)})},y.prototype.getServicesForType=function(r,n,f){var u=new h({ros:this,name:"/rosapi/services_for_type",serviceType:"rosapi/ServicesForType"}),c=new s({type:r});typeof f=="function"?u.callService(c,function(w){n(w.services)},function(w){f(w)}):u.callService(c,function(w){n(w.services)})},y.prototype.getServiceRequestDetails=function(r,n,f){var u=new h({ros:this,name:"/rosapi/service_request_details",serviceType:"rosapi/ServiceRequestDetails"}),c=new s({type:r});typeof f=="function"?u.callService(c,function(w){n(w)},function(w){f(w)}):u.callService(c,function(w){n(w)})},y.prototype.getServiceResponseDetails=function(r,n,f){var u=new h({ros:this,name:"/rosapi/service_response_details",serviceType:"rosapi/ServiceResponseDetails"}),c=new s({type:r});typeof f=="function"?u.callService(c,function(w){n(w)},function(w){f(w)}):u.callService(c,function(w){n(w)})},y.prototype.getNodes=function(r,n){var f=new h({ros:this,name:"/rosapi/nodes",serviceType:"rosapi/Nodes"}),u=new s;typeof n=="function"?f.callService(u,function(c){r(c.nodes)},function(c){n(c)}):f.callService(u,function(c){r(c.nodes)})},y.prototype.getNodeDetails=function(r,n,f){var u=new h({ros:this,name:"/rosapi/node_details",serviceType:"rosapi/NodeDetails"}
11),c=new s({node:r});typeof f=="function"?u.callService(c,function(w){n(w.subscribing,w.publishing,w.services)},function(w){f(w)}):u.callService(c,function(w){n(w)})},y.prototype.getParams=function(r,n){var f=new h({ros:this,name:"/rosapi/get_param_names",serviceType:"rosapi/GetParamNames"}),u=new s;typeof n=="function"?f.callService(u,function(c){r(c.names)},function(c){n(c)}):f.callService(u,function(c){r(c.names)})},y.prototype.getTopicType=function(r,n,f){var u=new h({ros:this,name:"/rosapi/topic_type",serviceType:"rosapi/TopicType"}),c=new s({topic:r});typeof f=="function"?u.callService(c,function(w){n(w.type)},function(w){f(w)}):u.callService(c,function(w){n(w.type)})},y.prototype.getServiceType=function(r,n,f){var u=new h({ros:this,name:"/rosapi/service_type",serviceType:"rosapi/ServiceType"}),c=new s({service:r});typeof f=="function"?u.callService(c,function(w){n(w.type)},function(w){f(w)}):u.callService(c,function(w){n(w.type)})},y.prototype.getMessageDetails=function(r,n,f){var u=new h({ros:this,name:"/rosapi/message_details",serviceType:"rosapi/MessageDetails"}),c=new s({type:r});typeof f=="function"?u.callService(c,function(w){n(w.typedefs)},function(w){f(w)}):u.callService(c,function(w){n(w.typedefs)})},y.prototype.decodeTypeDefs=function(r){var n=this,f=function(u,c){for(var w={},F=0;F<u.fieldnames.length;F++){var R=u.fieldarraylen[F],I=u.fieldnames[F],k=u.fieldtypes[F];if(k.indexOf("/")===-1)R===-1?w[I]=k:w[I]=[k];else{for(var W=!1,$=0;$<c.length;$++)if(c[$].type.toString()===k.toString()){W=c[$];break}if(W){var ee=f(W,c);R===-1||(w[I]=[ee])}else n.emit("error","Cannot find "+k+" in decodeTypeDefs")}}return w};return f(r[0],r)},y.prototype.getTopicsAndRawTypes=function(r,n){var f=new h({ros:this,name:"/rosapi/topics_and_raw_types",serviceType:"rosapi/TopicsAndRawTypes"}),u=new s;typeof n=="function"?f.callService(u,function(c){r(c)},function(c){n(c)}):f.callService(u,function(c){r(c)})},d.exports=y},{"../util/workerSocket":26,"./Service":17,"./ServiceRequest":18,"./SocketAdapter.js":20,eventemitter2:2,"object-assign":3,ws:25}],17:[function(_,d,g){var a=_("./ServiceResponse"),b=_("./ServiceRequest"),v=_("eventemitter2").EventEmitter2;function h(s){s=s||{},this.ros=s.ros,this.name=s.name,this.serviceType=s.serviceType,this.isAdvertised=!1,this._serviceCallback=null}h.prototype.__proto__=v.prototype,h.prototype.callService=function(s,m,L){if(!this.isAdvertised){var y="call_service:"+this.name+":"+ ++this.ros.idCounter;(m||L)&&this.ros.once(y,function(n){n.result!==void 0&&n.result===!1?typeof L=="function"&&L(n.values):typeof m=="function"&&m(new a(n.values))});var r={op:"call_service",id:y,service:this.name,type:this.serviceType,args:s};this.ros.callOnConnection(r)}},h.prototype.advertise=function(s){this.isAdvertised||typeof s!="function"||(this._serviceCallback=s,this.ros.on(this.name,this._serviceResponse.bind(this)),this.ros.callOnConnection({op:"advertise_service",type:this.serviceType,service:this.name}),this.isAdvertised=!0)},h.prototype.unadvertise=function(){this.isAdvertised&&(this.ros.callOnConnection({op:"unadvertise_service",service:this.name}),this.isAdvertised=!1)},h.prototype._serviceResponse=function(s){var m={},L=this._serviceCallback(s.args,m),y={op:"service_response",service:this.name,values:new a(m),result:L};s.id&&(y.id=s.id),this.ros.callOnConnection(y)},d.exports=h},{"./ServiceRequest":18,"./ServiceResponse":19,eventemitter2:2}],18:[function(_,d,g){var a=_("object-assign");function b(v){a(this,v)}d.exports=b},{"object-assign":3}],19:[function(_,d,g){var a=_("object-assign");function b(v){a(this,v)}d.exports=b},{"object-assign":3}],20:[function(_,d,g){"use strict";var a=_("cbor-js"),b=_("../util/cborTypedArrayTags"),v=null;typeof bson<"u"&&(v=bson().BSON);function h(s){var m=null;s.transportOptions.decoder&&(m=s.transportOptions.decoder);function L(r){r.op==="publish"?s.emit(r.topic,r.msg):r.op==="service_response"?s.emit(r.id,r):r.op==="call_service"?s.emit(r.service,r):r.op==="status"&&(r.id?s.emit("status:"+r.id,r):s.emit("status",r))}function y(r,n){if(!v)throw"Cannot process BSON encoded message without BSON header.";var f=new FileReader;f.onload=function(){var u=new Uint8Array(this.result),c=v.deserialize(u);n(c)},f.readAsArrayBuffer(r)}return{onopen:function(n){s.isConnected=!0,s.emit("connection",n)},onclose:function(n){s.isConnected=!1,s.emit("close",n)},onerror:function(n){s.emit("error",n)},onmessage:function(n){if(m)m(n.data,function(c){L(c)});else if(typeof Blob<"u"&&n.data instanceof Blob)y(n.data,L);else if(n.data instanceof ArrayBuffer){var f=a.decode(n.data,b);L(f)}else try{var u=JSON.parse(typeof n=="string"?n:n.data);L(u)}catch(c){s.emit("error","Failed to parse JSON rosbridge message: "+c.message)}}}}d.exports=h},{"../util/cborTypedArrayTags":24,"cbor-js":1}],21:[function(_,d,g){var a=_("eventemitter2").EventEmitter2,b=_("./Message");function v(h){h=h||{},this.ros=h.ros,this.name=h.name,this.messageType=h.messageType,this.isAdvertised=!1,this.compression=h.compression||"none",this.throttle_rate=h.throttle_rate||0,this.latch=h.latch||!1,this.queue_size=h.queue_size||100,this.queue_length=h.queue_length||0,this.reconnect_on_close=h.reconnect_on_close!==void 0?h.reconnect_on_close:!0,this.compression&&this.compression!=="cbor"&&this.compression!=="cbor-raw"&&this.compression!=="none"&&(this.emit
11("warning",this.compression+" compression is not supported. No compression will be used."),this.compression="none"),this.throttle_rate<0&&(this.emit("warning",this.throttle_rate+" is not allowed. Set to 0"),this.throttle_rate=0);var s=this;this.reconnect_on_close?this.callForSubscribeAndAdvertise=function(m){s.ros.callOnConnection(m),s.waitForReconnect=!1,s.reconnectFunc=function(){s.waitForReconnect||(s.waitForReconnect=!0,s.ros.callOnConnection(m),s.ros.once("connection",function(){s.waitForReconnect=!1}))},s.ros.on("close",s.reconnectFunc)}:this.callForSubscribeAndAdvertise=this.ros.callOnConnection,this._messageCallback=function(m){s.emit("message",new b(m))}}v.prototype.__proto__=a.prototype,v.prototype.subscribe=function(h){typeof h=="function"&&this.on("message",h),!this.subscribeId&&(this.ros.on(this.name,this._messageCallback),this.subscribeId="subscribe:"+this.name+":"+ ++this.ros.idCounter,this.callForSubscribeAndAdvertise({op:"subscribe",id:this.subscribeId,type:this.messageType,topic:this.name,compression:this.compression,throttle_rate:this.throttle_rate,queue_length:this.queue_length}))},v.prototype.unsubscribe=function(h){h&&(this.off("message",h),this.listeners("message").length)||this.subscribeId&&(this.ros.off(this.name,this._messageCallback),this.reconnect_on_close&&this.ros.off("close",this.reconnectFunc),this.emit("unsubscribe"),this.ros.callOnConnection({op:"unsubscribe",id:this.subscribeId,topic:this.name}),this.subscribeId=null)},v.prototype.advertise=function(){if(!this.isAdvertised&&(this.advertiseId="advertise:"+this.name+":"+ ++this.ros.idCounter,this.callForSubscribeAndAdvertise({op:"advertise",id:this.advertiseId,type:this.messageType,topic:this.name,latch:this.latch,queue_size:this.queue_size}),this.isAdvertised=!0,!this.reconnect_on_close)){var h=this;this.ros.on("close",function(){h.isAdvertised=!1})}},v.prototype.unadvertise=function(){this.isAdvertised&&(this.reconnect_on_close&&this.ros.off("close",this.reconnectFunc),this.emit("unadvertise"),this.ros.callOnConnection({op:"unadvertise",id:this.advertiseId,topic:this.name}),this.isAdvertised=!1)},v.prototype.publish=function(h){this.isAdvertised||this.advertise(),this.ros.idCounter++;var s={op:"publish",id:"publish:"+this.name+":"+this.ros.idCounter,topic:this.name,msg:h,latch:this.latch};this.ros.callOnConnection(s)},d.exports=v},{"./Message":14,eventemitter2:2}],22:[function(_,d,g){var a=_("../mixin"),b=d.exports={Ros:_("./Ros"),Topic:_("./Topic"),Message:_("./Message"),Param:_("./Param"),Service:_("./Service"),ServiceRequest:_("./ServiceRequest"),ServiceResponse:_("./ServiceResponse")};a(b.Ros,["Param","Service","Topic"],b)},{"../mixin":23,"./Message":14,"./Param":15,"./Ros":16,"./Service":17,"./ServiceRequest":18,"./ServiceResponse":19,"./Topic":21}],23:[function(_,d,g){d.exports=function(a,b,v){b.forEach(function(h){var s=v[h];a.prototype[h]=function(m){return m.ros=this,new s(m)}})}},{}],24:[function(_,d,g){"use strict";var a=Math.pow(2,32),b=!1;function v(){b||(b=!0,console.warn("CBOR 64-bit integer array values may lose precision. No further warnings."))}function h(n){v();for(var f=n.byteLength,u=n.byteOffset,c=f/8,w=n.buffer.slice(u,u+f),F=new Uint32Array(w),R=new Array(c),I=0;I<c;I++){var k=I*2,W=F[k],$=F[k+1];R[I]=W+a*$}return R}function s(n){v();for(var f=n.byteLength,u=n.byteOffset,c=f/8,w=n.buffer.slice(u,u+f),F=new Uint32Array(w),R=new Int32Array(w),I=new Array(c),k=0;k<c;k++){var W=k*2,$=F[W],ee=R[W+1];I[k]=$+a*ee}return I}function m(n,f){var u=n.byteLength,c=n.byteOffset,w=n.buffer.slice(c,c+u);return new f(w)}var L={64:Uint8Array,69:Uint16Array,70:Uint32Array,72:Int8Array,77:Int16Array,78:Int32Array,85:Float32Array,86:Float64Array},y={71:h,79:s};function r(n,f){if(f in L){var u=L[f];return m(n,u)}return f in y?y[f](n):n}typeof d<"u"&&d.exports&&(d.exports=r)},{}],25:[function(_,d,g){d.exports=typeof window<"u"?window.WebSocket:WebSocket},{}],26:[function(_,d,g){var a=_("webworkify"),b=_("./workerSocketImpl");function v(h){this.socket_=a(b),this.socket_.addEventListener("message",this.handleWorkerMessage_.bind(this)),this.socket_.postMessage({uri:h})}v.prototype.handleWorkerMessage_=function(h){var s=h.data;if(s instanceof ArrayBuffer||typeof s=="string")this.onmessage(h);else{var m=s.type;if(m==="close")this.onclose(null);else if(m==="open")this.onopen(null);
11else if(m==="error")this.onerror(null);else throw"Unknown message from workersocket"}},v.prototype.send=function(h){this.socket_.postMessage(h)},v.prototype.close=function(){this.socket_.terminate()},d.exports=v},{"./workerSocketImpl":27,webworkify:6}],27:[function(_,d,g){var a=a||_("ws");d.exports=function(b){var v=null;function h(m){var L=m.data;L instanceof ArrayBuffer?b.postMessage(L,[L]):b.postMessage(L)}function s(m){b.postMessage({type:m.type})}b.addEventListener("message",function(m){var L=m.data;if(typeof L=="string")v.send(L);else if(L.hasOwnProperty("uri")){var y=L.uri;v=new a(y),v.binaryType="arraybuffer",v.onmessage=h,v.onclose=s,v.onopen=s,v.onerror=s}else throw"Unknown message to WorkerSocket"})}},{ws:25}]},{},[8])(8)})},56414(ne,D,j){"use strict";j.d(D,{A:()=>_});function z(d){var g=d==null?0:d.length;return g?d[g-1]:void 0}const _=z},57606(ne,D,j){"use strict";j.d(D,{A:()=>f});var z=j(77184),_=j(93983),d=j(70674),g=j(73269),a=j(73171),b=j(23591);function v(u){return(0,b.A)(u)?void 0:u}const h=v;var s=j(84604),m=j(79089),L=1,y=2,r=4,n=(0,s.A)(function(u,c){var w={};if(u==null)return w;var F=!1;c=(0,z.A)(c,function(I){return I=(0,g.A)(I,u),F||(F=I.length>1),I}),(0,a.A)(u,(0,m.A)(u),w),F&&(w=(0,_.A)(w,L|y|r,h));for(var R=c.length;R--;)(0,d.A)(w,c[R]);return w});const f=n},61568(ne,D,j){"use strict";var z=this&&this.__createBinding||(Object.create?(function(d,g,a,b){b===void 0&&(b=a);var v=Object.getOwnPropertyDescriptor(g,a);(!v||("get"in v?!g.__esModule:v.writable||v.configurable))&&(v={enumerable:!0,get:function(){return g[a]}}),Object.defineProperty(d,b,v)}):(function(d,g,a,b){b===void 0&&(b=a),d[b]=g[a]})),_=this&&this.__exportStar||function(d,g){for(var a in d)a!=="default"&&!Object.prototype.hasOwnProperty.call(g,a)&&z(g,d,a)};Object.defineProperty(D,"__esModule",{value:!0}),_(j(30981),D),_(j(6859),D)},65092(ne,D,j){"use strict";j.d(D,{A:()=>g});var z=j(78036),_=j(41578);function d(a,b){var v=-1,h=(0,_.A)(a)?Array(a.length):[];return(0,z.A)(a,function(s,m,L){h[++v]=b(s,m,L)}),h}const g=d},70674(ne,D,j){"use strict";j.d(D,{A:()=>L});var z=j(73269),_=j(56414),d=j(62186),g=j(3644);function a(y,r){return r.length<2?y:(0,d.A)(y,(0,g.A)(r,0,-1))}const b=a;var v=j(40089),h=Object.prototype,s=h.hasOwnProperty;function m(y,r){r=(0,z.A)(r,y);var n=-1,f=r.length;if(!f)return!0;for(;++n<f;){var u=(0,v.A)(r[n]);if(u==="__proto__"&&!s.call(y,"__proto__")||(u==="constructor"||u==="prototype")&&n<f-1)return!1}var c=b(y,r);return c==null||delete c[(0,v.A)((0,_.A)(r))]}const L=m},93983(ne,D,j){"use strict";j.d(D,{A:()=>gt});var z=j(98300),_=j(12533),d=j(71199),g=j(73171),a=j(23674);function b(O,X){return O&&(0,g.A)(X,(0,a.A)(X),O)}const v=b;var h=j(71731);function s(O,X){return O&&(0,g.A)(X,(0,h.A)(X),O)}const m=s;var L=j(61318),y=j(47827),r=j(64572);function n(O,X){return(0,g.A)(O,(0,r.A)(O),X)}const f=n;var u=j(45827);function c(O,X){return(0,g.A)(O,(0,u.A)(O),X)}const w=c;var F=j(52070),R=j(79089),I=j(83471),k=Object.prototype,W=k.hasOwnProperty;function $(O){var X=O.length,ie=new O.constructor(X);return X&&typeof O[0]=="string"&&W.call(O,"index")&&(ie.index=O.index,ie.input=O.input),ie}const ee=$;var q=j(91401);function H(O,X){var ie=X?(0,q.A)(O.buffer):O.buffer;return new O.constructor(ie,O.byteOffset,O.byteLength)}const ae=H;var ce=/\w*$/;function K(O){var X=new O.constructor(O.source,ce.exec(O));return X.lastIndex=O.lastIndex,X}const C=K;var N=j(39229),M=N.A?N.A.prototype:void 0,U=M?M.valueOf:void 0;function Y(O){return U?Object(U.call(O)):{}}const x=Y;var B=j(85997),se="[object Boolean]",pe="[object Date]",e="[object Map]",t="[object Number]",i="[object RegExp]",o="[object Set]",l="[object String]",p="[object Symbol]",T="[object ArrayBuffer]",E="[object DataView]",A="[object Float32Array]",S="[object Float64Array]",P="[object Int8Array]",Z="[object Int16Array]",V="[object Int32Array]",G="[object Uint8Array]",Q="[object Uint8ClampedArray]",te="[object Uint16Array]",ye="[object Uint32Array]";function _e(O,X,ie){var me=O.constructor;switch(X){case T:return(0,q.A)(O);case se:case pe:return new me(+O);case E:return ae(O,ie);case A:case S:case P:case Z:case V:case G:case Q:case te:case ye:return(0,B.A)(O,ie);case e:return new me;case t:case l:return new me(O);case i:return C(O);case o:return new me;case p:return x(O)}}const he=_e;var ge=j(22205),ue=j(74637),re=j(73060),Ee=j(43046),Fe="[object Map]";function Ne(O){return(0,Ee.A)(O)&&(0,I.A)(O)==Fe}const De=Ne;var xe=j(16105),be=j(7605),Le=be.A&&be.A.isMap,Be=Le?(0,xe.A)(Le):De;const ke=Be;var Ge=j(40345),We="[object Set]";function Ke(O){return(0,Ee.A)(O)&&(0,I.A)(O)==We}const Ve=Ke;var Oe=be.A&&be.A.isSet,Je=Oe?(0,xe.A)(Oe):Ve;const Xe=Je;var Ye=1,Qe=2,ze=4,je="[object Arguments]",$e="[object Array]",He="[object Boolean]",Ze="[object Date]",qe="[object Error]",Ce="[object Function]",et="[object GeneratorFunction]",tt="[object Map]",rt="[object Number]",Me="[object Object]",nt="[object RegExp]",it="[object Set]",st="[object String]",ot="[object Symbol]",at="[object WeakMap]",ct="[object ArrayBuffer]",ut="[object DataView]",ft="[object Float32Array]",lt="[object Float64Array
11]",ht="[object Int8Array]",vt="[object Int16Array]",pt="[object Int32Array]",mt="[object Uint8Array]",dt="[object Uint8ClampedArray]",yt="[object Uint16Array]",_t="[object Uint32Array]",J={};J[je]=J[$e]=J[ct]=J[ut]=J[He]=J[Ze]=J[ft]=J[lt]=J[ht]=J[vt]=J[pt]=J[tt]=J[rt]=J[Me]=J[nt]=J[it]=J[st]=J[ot]=J[mt]=J[dt]=J[yt]=J[_t]=!0,J[qe]=J[Ce]=J[at]=!1;function we(O,X,ie,me,Te,fe){var oe,Ae=X&Ye,Se=X&Qe,bt=X&ze;if(ie&&(oe=Te?ie(O,me,Te,fe):ie(O)),oe!==void 0)return oe;if(!(0,Ge.A)(O))return O;var Pe=(0,ue.A)(O);if(Pe){if(oe=ee(O),!Ae)return(0,y.A)(O,oe)}else{var de=(0,I.A)(O),Re=de==Ce||de==et;if((0,re.A)(O))return(0,L.A)(O,Ae);if(de==Me||de==je||Re&&!Te){if(oe=Se||Re?{}:(0,ge.A)(O),!Ae)return Se?w(O,m(oe,O)):f(O,v(oe,O))}else{if(!J[de])return Te?O:{};oe=he(O,de,Ae)}}fe||(fe=new z.A);var Ie=fe.get(O);if(Ie)return Ie;fe.set(O,oe),Xe(O)?O.forEach(function(le){oe.add(we(le,X,ie,le,O,fe))}):ke(O)&&O.forEach(function(le,ve){oe.set(ve,we(le,X,ie,ve,O,fe))});var wt=bt?Se?R.A:F.A:Se?h.A:a.A,Ue=Pe?void 0:wt(O);return(0,_.A)(Ue||O,function(le,ve){Ue&&(ve=le,le=O[ve]),(0,d.A)(oe,ve,we(le,X,ie,ve,O,fe))}),oe}const gt=we}}]);})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.